diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index 3b24b7ffe07cb79f6e943dedfd2de7c9b93121bb..0000000000000000000000000000000000000000 --- a/.dockerignore +++ /dev/null @@ -1,4 +0,0 @@ -demo_data/ -__pycache__/ -*.pyc -.DS_Store diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000000000000000000000000000000000..6a290c161e34f1055d1316f697b4466d04aceb86 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,4 @@ +bundle/restore/spaces/embed-anything__openai_clip-vit-base-patch32__4771034973d8/vectors.npz filter=lfs diff=lfs merge=lfs -text +bundle/restore/spaces/embed-anything__openai_clip-vit-base-patch32__8da42c3ae90c/vectors.npz filter=lfs diff=lfs merge=lfs -text +bundle/restore/spaces/hyper-models__hyper3-clip-v0_5__33d32a431c15/vectors.npz filter=lfs diff=lfs merge=lfs -text +bundle/restore/spaces/hyper-models__hyper3-clip-v0_5__42052c955756/vectors.npz filter=lfs diff=lfs merge=lfs -text diff --git a/.hyperview/extensions/fashion-search-readout/panel.jsx b/.hyperview/extensions/fashion-search-readout/panel.jsx deleted file mode 100644 index 133f0804fde2cf5c923afd1486ee4535f38f5e53..0000000000000000000000000000000000000000 --- a/.hyperview/extensions/fashion-search-readout/panel.jsx +++ /dev/null @@ -1,128 +0,0 @@ -const sdk = globalThis.HyperViewPanelSDK; -if (!sdk || sdk.version !== "2") { - throw new Error("HyperViewPanelSDK v2 is not available on window."); -} - -const { React, hooks } = sdk; -const { usePanelActions, usePanelState, useSampleResults, useSamples, useSelection } = hooks; - -function mediaUrl(sample) { - const raw = sample?.media_url || sample?.thumbnail_url || sample?.thumbnail; - return typeof raw === "string" && raw ? raw : null; -} - -function percentage(value) { - return Number.isFinite(Number(value)) ? `${(Number(value) * 100).toFixed(1)}%` : "—"; -} - -function ModelCard({ name, checkpoint, color, rank, readout }) { - return ( -
- {name}#{rank} - {checkpoint} · first matching product

{readout}

-
- ); -} - -export default function FashionSearchPanel() { - const { props = {}, state = {}, patchState } = usePanelState(); - const { updateProps } = usePanelActions(); - const { showResults } = useSampleResults(); - const { setSelection } = useSelection(); - const photoCases = Array.isArray(props.photoCases) ? props.photoCases : []; - const textCases = Array.isArray(props.cases) ? props.cases : []; - const mode = state.activeMode === "text" ? "text" : "photo"; - const activePhoto = photoCases.find((item) => item.id === state.activePhotoCaseId) || photoCases[0] || null; - const activeText = textCases.find((item) => item.id === state.activeTextCaseId) || textCases[0] || null; - const active = mode === "photo" ? activePhoto : activeText; - const samplePage = useSamples(props.collectionId, { pageSize: 800 }); - const sampleById = React.useMemo(() => new Map(samplePage.samples.map((sample) => [sample.id, sample])), [samplePage.samples]); - const [busy, setBusy] = React.useState(false); - const [error, setError] = React.useState(null); - - React.useEffect(() => { - if (samplePage.hasMore && !samplePage.loading) samplePage.loadMore(); - }, [samplePage.hasMore, samplePage.loading, samplePage.loadMore]); - - const present = (item, nextMode) => { - if (!item || busy) return; - setBusy(true); - setError(null); - void (async () => { - try { - const hyper3Results = await showResults( - item.results.hyper3.map((result) => result.sampleId), - { focus: false, source: `${item.label} · Hyper3-CLIP` }, - ); - const anchorSampleId = nextMode === "photo" ? item.anchorSampleId : null; - const hyper3CollectionId = hyper3Results?.result?.collection_id || item.collectionIds.hyper3; - await updateProps("samples", { mode: "results", collectionId: hyper3CollectionId, anchorSampleId }); - await updateProps(props.clipSamplesPanelId || "fashion-clip-results", { mode: "results", collectionId: item.collectionIds.clip, anchorSampleId }); - await patchState(nextMode === "photo" ? { activeMode: "photo", activePhotoCaseId: item.id } : { activeMode: "text", activeTextCaseId: item.id }); - await setSelection([nextMode === "photo" ? item.anchorSampleId : item.target.sampleId]); - } catch (reason) { - setError(reason instanceof Error ? reason.message : String(reason)); - } finally { - setBusy(false); - } - })(); - }; - - if (!active) return
No Fashion cases are available.
; - - const visualSampleId = mode === "photo" ? active.anchorSampleId : active.target.sampleId; - const visual = sampleById.get(visualSampleId); - const visualUrl = mediaUrl(visual); - const photoBenchmark = props.photoBenchmark || {}; - const typed = props.aggregate || {}; - const models = props.models || {}; - - return ( -
- - -
- Catalog search -

{mode === "photo" ? "Same product, another photo. Can search find it?" : `Does search find ${active.label.toLowerCase()}?`}

-

{mode === "photo" ? "Use one product photo to find its other catalog views." : "Compare the same detailed request across both models."}

-
- - - - {mode === "text" ?
“{active.query}”
: null} - - - -
- - -
- - {mode === "photo" ? : textCases.length > 1 ? : null} - -
- How the models compare - {mode === "photo" ? <> -

{photoBenchmark.queryCount} queries · {photoBenchmark.candidateCount} catalog photos

Correct means another view of the same product.

-
Correct productHyper3CLIP
Ranked first{percentage(photoBenchmark.hyper3R1)}{percentage(photoBenchmark.clipR1)}
Within top ten{percentage(photoBenchmark.hyper3R10)}{percentage(photoBenchmark.clipR10)}
Mean average precision{Number(photoBenchmark.hyper3Map).toFixed(3)}{Number(photoBenchmark.clipMap).toFixed(3)}
-

Cases use the largest first-match rank gap in each direction, so the CLIP win is shown too. Photo matching and typed retrieval are separate evaluations; their scores are not interchangeable.

- : <> -

{typed.queryCount} written requests · {typed.candidateCount} photos

Correct means any view of the described product.

-
Correct productHyper3CLIP
Ranked first{percentage(typed.hyper3Hit1)}{percentage(typed.clipHit1)}
Within top ten{percentage(typed.hyper3Hit10)}{percentage(typed.clipHit10)}
Within top fifty{percentage(typed.hyper3Hit50)}{percentage(typed.clipHit50)}
-

This is one illustrative Hyper3 win. Across the full 1,120-photo benchmark, the models are close and OpenAI CLIP is ahead at fifty results. The visible workspace map contains {props.workspaceSampleCount || 741} catalog photos.

- } -
- - {samplePage.error ?

{samplePage.error}

: null} - {error ?

{error}

: null} -
- ); -} diff --git a/Dockerfile b/Dockerfile index 25c0b7ff322203fff4d9194c07858326ace75aea..00dd6ef30284c9796f173b2b903d8b0085ef98c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,7 @@ FROM python:3.11-slim RUN apt-get update && apt-get install -y --no-install-recommends \ - build-essential \ curl \ - libssl-dev \ - pkg-config \ && rm -rf /var/lib/apt/lists/* RUN useradd -m -u 1000 user @@ -16,47 +13,40 @@ ENV HOME=/home/user \ PYTHONUNBUFFERED=1 \ PIP_NO_CACHE_DIR=1 -WORKDIR $HOME/app +WORKDIR /home/user/app RUN pip install --upgrade pip - -ARG HYPERVIEW_VERSION=1.0.0 -ARG HYPER_MODELS_VERSION=0.3.1 - -# Install CPU-only PyTorch first so the Space does not pull the default CUDA bundle. RUN pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu -RUN echo "Installing hyperview==${HYPERVIEW_VERSION}" \ - && pip install "hyperview==${HYPERVIEW_VERSION}" \ - && python - <<'PY' -import inspect -import hyperview as hv - -print("hyperview", hv.__version__, inspect.signature(hv.launch)) -PY RUN pip install \ - "hyper-models[ml]==${HYPER_MODELS_VERSION}" \ + "hyperview==1.1.0" \ + "hyper-models[ml]==0.3.1" \ "datasets>=4.5.0" \ "Pillow>=12.0.0" -COPY --chown=user . . +# The bundle is the unit of delivery: `hyperview serve --from` restores the +# exported workspace, dataset, and layouts from it at startup. +COPY --chown=user bundle /home/user/app/bundle +RUN mkdir -p /home/user/app/data/datasets /home/user/app/data/media -# HyperView 1.0 mints a session token and rejects unauthenticated runtime +# HyperView mints a session token and rejects unauthenticated runtime # commands. A public Space has no way to hand visitors that token, so panel # creation and case switching 401 without this. It marks the server public: # visitors get the viewer commands and nothing else, so provider registration, # extension install, tool execution and compute stay closed. ENV HYPERVIEW_NO_AUTH=1 -ENV HYPERVIEW_HOST=0.0.0.0 \ - HYPERVIEW_PORT=7860 \ - HYPERVIEW_WORKSPACE_ID=fashion-typed-search-business-evidence-v3 \ - HYPERVIEW_DATASETS_DIR=/home/user/app/demo_data/datasets \ - HYPERVIEW_MEDIA_DIR=/home/user/app/demo_data/media \ - HF_HUB_ETAG_TIMEOUT=30 \ - HF_HUB_DOWNLOAD_TIMEOUT=120 +ENV HYPERVIEW_DATASETS_DIR=/home/user/app/data/datasets \ + HYPERVIEW_MEDIA_DIR=/home/user/app/data/media EXPOSE 7860 -HEALTHCHECK --interval=30s --timeout=10s --start-period=2700s --retries=3 \ - CMD curl -f http://localhost:7860/__hyperview__/health || exit 1 - -CMD ["python", "demo.py"] +HEALTHCHECK --interval=30s --timeout=10s --start-period=300s --retries=3 \ + CMD curl -f http://localhost:7860/api/runtime || exit 1 + +# The image carries the bundle and never moves it, so the restored dataset +# points at the bundle's own media instead of copying it a second time. +CMD ["hyperview", "serve", \ + "--from", "/home/user/app/bundle", \ + "--link-media", \ + "--host", "0.0.0.0", \ + "--port", "7860", \ + "--public"] diff --git a/PHOTO_EVIDENCE.md b/PHOTO_EVIDENCE.md deleted file mode 100644 index 2cfdd34e489cd097eb0f43b5e451cc6148c1c368..0000000000000000000000000000000000000000 --- a/PHOTO_EVIDENCE.md +++ /dev/null @@ -1,20 +0,0 @@ -# Fashion photo-matching evidence - -This readout documents `deepfashion-same-product-persisted-spaces-2026-08-12`, -the photo-to-photo evidence shown by the Fashion Products Space. - -- Dataset: the persisted 741-image DeepFashion catalog used by this workspace. -- Gallery: all 741 catalog photos. -- Queries: 710 photos whose DeepFashion product key has at least one other view. -- Positive: another photo with the same DeepFashion product key. -- Self-match: excluded. -- Metrics: first matching-product rank, recall at 1 and 10, and average precision. -- Case selection: the largest first-match rank gap in each direction, so the - walkthrough includes both a Hyper3-CLIP win and an OpenAI CLIP win. - -The canonical JSON projection `{photoBenchmark, photoCases}` has SHA-256 -`958017f729f73990b392530b37cbdbe8812c923141573077dbdc0c3f65213c4b`. -`demo.py` recomputes and validates this hash before launching. - -This 741-image catalog probe is separate from the 1,120-image typed-search -benchmark in the same Space. Their numbers are not interchangeable. diff --git a/README.md b/README.md index afe8f7b001ca876f809a5d9dfe22272cb38e22c4..2a43bc9dc2990e5e4ea0735ebf7d73ac63f2b86d 100644 --- a/README.md +++ b/README.md @@ -2,74 +2,24 @@ title: HyperView DeepFashion Text Search emoji: 👖 colorFrom: blue -colorTo: indigo +colorTo: green sdk: docker app_port: 7860 pinned: false +short_description: HyperView Live Space for deepfashion_text_search_clip_hyper3 --- -# HyperView — DeepFashion typed-search audit +# HyperView DeepFashion Text Search -This demo is designed for an ecommerce search or merchandising lead asking two -questions: **does an attribute-heavy shopper request put the exact SKU on the -first results screen, and does the model organize the broader catalog into -coherent product categories?** +A HyperView **Live Space**: the container runs the HyperView server over an +exported workspace bundle, so visitors can browse the prepared view and also +run new text queries, layouts, and model jobs. -It presents three prepared shopper requests from a bounded DeepFashion -text-to-image probe. The compact query panel controls a native ranked Samples -panel, while a native Hyper3-CLIP scatter shows the full 741-product catalog -topology with standard pan, zoom, lasso, and shared selection. +## Contents -The aggregate result is intentionally framed as modest: across 180 -metadata-generated queries and 1,120 candidate images, Hit@1 is 24.4% vs 23.3% -and Hit@10 is 57.2% vs 55.0%. Hyper3 has 13 strong wins under the documented -cutoff and CLIP has 9. The selected case illustrates a real failure mode; it is -not evidence of a universal text-search advantage. +- Workspace: `fashion-typed-search-business-evidence-v3` +- Dataset: `deepfashion_text_search_clip_hyper3clip` +- Exported with HyperView `1.1.0` +- Capabilities: browse_samples, lasso_2d, layouts, selection -## Static behavior - -The static export keeps the full HyperView shell and allows visitors to switch -among three prepared requests, compare the stored Hyper3-CLIP and CLIP Top 6, -browse the catalog, inspect exact targets, and explore the catalog topology. It -does not show an arbitrary text box because running a new query requires model -inference in a hosted HyperView Space. - -The workspace uses the persisted 741-row demo catalog. The custom panel uses -normal JSX and public `HyperViewPanelSDK` hooks to orchestrate native panels; -it does not reimplement result grids or scatter controls. - -## Run locally - -From the HyperView repository: - -```bash -uv run python hyperview-spaces/demos/fashion-deepfashion-text-search-clip-hyper3clip/demo.py -``` - -Use `HYPERVIEW_PORT=` to choose another local port. - -To run the full Live Space with arbitrary shopper text instead of the prepared -model-comparison walkthrough: - -```bash -uv run python hyperview-spaces/demos/fashion-deepfashion-text-search-clip-hyper3clip/live_demo.py -``` - -The native Samples panel discovers text-capable indexes from the runtime and -routes new queries only to providers that can actually encode text. - -## Claim boundary - -- Dataset: `Marqo/deepfashion-inshop`, split `data`. -- Corpus: 1,120 images from 260 products. -- Query set: 180 queries generated from dataset metadata and visual attributes, - not real shopper logs. -- Positive: any image view with the same DeepFashion product key. -- This comparison does not include newer SigLIP, OpenCLIP, Jina-CLIP, NV-CLIP, - or Gemini baselines. - -## Deploy source - -This folder is intended to deploy to -`hyper3labs/HyperView-DeepFashion-Text-Search` from the `hyperview-spaces` -deployment repository. +Built with [HyperView](https://github.com/Hyper3Labs/HyperView). diff --git a/bundle/.assetsignore b/bundle/.assetsignore new file mode 100644 index 0000000000000000000000000000000000000000..fddccbcbd4518b8bde5c714de93ac1c83c263b59 --- /dev/null +++ b/bundle/.assetsignore @@ -0,0 +1,2 @@ +wrangler.jsonc +.assetsignore diff --git a/bundle/404.html b/bundle/404.html new file mode 100644 index 0000000000000000000000000000000000000000..b39779d61ea898f5e883640f53282b1e13fe0d42 --- /dev/null +++ b/bundle/404.html @@ -0,0 +1 @@ +404: This page could not be found.HyperView

404

This page could not be found.

\ No newline at end of file diff --git a/bundle/404/index.html b/bundle/404/index.html new file mode 100644 index 0000000000000000000000000000000000000000..b39779d61ea898f5e883640f53282b1e13fe0d42 --- /dev/null +++ b/bundle/404/index.html @@ -0,0 +1 @@ +404: This page could not be found.HyperView

404

This page could not be found.

\ No newline at end of file diff --git a/bundle/__next.__PAGE__.txt b/bundle/__next.__PAGE__.txt new file mode 100644 index 0000000000000000000000000000000000000000..3f7fdb7e5301c618b8082a1dd4aad0e5ba8a5e25 --- /dev/null +++ b/bundle/__next.__PAGE__.txt @@ -0,0 +1,23 @@ +1:"$Sreact.fragment" +2:I[73440,["./_next/static/chunks/3xaos2q7f0t1a.js"],"ClientPageRoot"] +3:I[50912,["./_next/static/chunks/3xaos2q7f0t1a.js","./_next/static/chunks/2zbk7fyb76ii0.js","./_next/static/chunks/3r7eo8mlsuv-8.js"],"default"] +6:I[64381,["./_next/static/chunks/3xaos2q7f0t1a.js"],"OutletBoundary"] +7:"$Sreact.suspense" +b:I[64381,["./_next/static/chunks/3xaos2q7f0t1a.js"],"ViewportBoundary"] +c:I[64381,["./_next/static/chunks/3xaos2q7f0t1a.js"],"MetadataBoundary"] +d:I[12843,["./_next/static/chunks/3xaos2q7f0t1a.js"],"IconMark"] +f:I[32035,["./_next/static/chunks/3xaos2q7f0t1a.js"],"default"] +10:I[91168,["./_next/static/chunks/3xaos2q7f0t1a.js"],"default"] +:HL["./_next/static/chunks/2iw0scz5_gelo.css","style"] +a:X +0:{"buildId":"wRrUqChpZ2Wpbn4xYoEcQ","data":[{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"./_next/static/chunks/2zbk7fyb76ii0.js","async":true}],["$","script","script-1",{"src":"./_next/static/chunks/3r7eo8mlsuv-8.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"isPartial":"$@9","staleTime":"$a","varyParams":null},{"rsc":["$","$1","h",{"children":[null,["$","$Lb",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$Lc",null,{"children":["$","$7",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"HyperView"}],["$","meta","1",{"name":"description","content":"Dataset visualization with hyperbolic embeddings"}],["$","link","2",{"rel":"icon","href":"/icon.png?icon.0nasg43ry7r55.png","sizes":"192x192","type":"image/png"}],["$","$Ld","3",{}]]}]}]}],null]}],"isPartial":"$@e","staleTime":"$a","varyParams":null},{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"./_next/static/chunks/2iw0scz5_gelo.css","precedence":"next"}],["$","script","script-0",{"src":"./_next/static/chunks/3xaos2q7f0t1a.js","async":true}]],["$","html",null,{"lang":"en","className":"h-full","children":["$","body",null,{"className":"antialiased h-full","children":["$","$Lf",null,{"parallelRouterKey":"children","template":["$","$L10",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]}]]}],"isPartial":"$@11","staleTime":"$a","varyParams":null}],"isUpgradeableISRFallback":false,"a":"$@12","rootVaryParams":null,"needsRuntimeRequest":"$@13"} +4:{} +5:"$0:data:0:rsc:props:children:0:props:serverProvidedParams:params" +8:null +a:300 +13:true +a:C +12:0 +e:"$undefined" +11:"$undefined" +9:"$undefined" diff --git a/bundle/__next._full.txt b/bundle/__next._full.txt new file mode 100644 index 0000000000000000000000000000000000000000..712f57039db9084fb87fbb96a7c0c8adf1d157cd --- /dev/null +++ b/bundle/__next._full.txt @@ -0,0 +1,18 @@ +1:"$Sreact.fragment" +2:I[32035,["./_next/static/chunks/3xaos2q7f0t1a.js"],"default"] +3:I[91168,["./_next/static/chunks/3xaos2q7f0t1a.js"],"default"] +4:I[73440,["./_next/static/chunks/3xaos2q7f0t1a.js"],"ClientPageRoot"] +5:I[50912,["./_next/static/chunks/3xaos2q7f0t1a.js","./_next/static/chunks/2zbk7fyb76ii0.js","./_next/static/chunks/3r7eo8mlsuv-8.js"],"default"] +8:I[64381,["./_next/static/chunks/3xaos2q7f0t1a.js"],"OutletBoundary"] +9:"$Sreact.suspense" +b:I[64381,["./_next/static/chunks/3xaos2q7f0t1a.js"],"ViewportBoundary"] +d:I[64381,["./_next/static/chunks/3xaos2q7f0t1a.js"],"MetadataBoundary"] +f:I[75115,["./_next/static/chunks/3xaos2q7f0t1a.js"],"default",1] +:HL["./_next/static/chunks/2iw0scz5_gelo.css","style"] +0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"./_next/static/chunks/2iw0scz5_gelo.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"./_next/static/chunks/3xaos2q7f0t1a.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"h-full","children":["$","body",null,{"className":"antialiased h-full","children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":[["$","$1","c",{"children":[["$","$L4",null,{"Component":"$5","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@6","$@7"]}}],[["$","script","script-0",{"src":"./_next/static/chunks/2zbk7fyb76ii0.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"./_next/static/chunks/3r7eo8mlsuv-8.js","async":true,"nonce":"$undefined"}]],["$","$L8",null,{"children":["$","$9",null,{"name":"Next.MetadataOutlet","children":"$@a"}]}]]}],{},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Lb",null,{"children":"$Lc"}],["$","div",null,{"hidden":true,"children":["$","$Ld",null,{"children":["$","$9",null,{"name":"Next.Metadata","children":"$Le"}]}]}],null]}],false]],"m":"$undefined","G":["$f",[["$","link","0",{"rel":"stylesheet","href":"./_next/static/chunks/2iw0scz5_gelo.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"wRrUqChpZ2Wpbn4xYoEcQ"} +6:{} +7:"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params" +c:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] +10:I[12843,["./_next/static/chunks/3xaos2q7f0t1a.js"],"IconMark"] +a:null +e:[["$","title","0",{"children":"HyperView"}],["$","meta","1",{"name":"description","content":"Dataset visualization with hyperbolic embeddings"}],["$","link","2",{"rel":"icon","href":"/icon.png?icon.0nasg43ry7r55.png","sizes":"192x192","type":"image/png"}],["$","$L10","3",{}]] diff --git a/bundle/__next._tree.txt b/bundle/__next._tree.txt new file mode 100644 index 0000000000000000000000000000000000000000..d3e13906b1f600483b84ece20e2a86161416252f --- /dev/null +++ b/bundle/__next._tree.txt @@ -0,0 +1,2 @@ +:HL["./_next/static/chunks/2iw0scz5_gelo.css","style"] +0:{"tree":{"name":"","param":null,"prefetchHints":4176,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":4256,"slots":null}}},"staleTime":300,"buildId":"wRrUqChpZ2Wpbn4xYoEcQ"} diff --git a/bundle/_next/static/IzJ9LAl3EpvX0g1Pb8kHO/_buildManifest.js b/bundle/_next/static/IzJ9LAl3EpvX0g1Pb8kHO/_buildManifest.js new file mode 100644 index 0000000000000000000000000000000000000000..5e53ad47781d99769b6e2bf0a35465a8a60c0474 --- /dev/null +++ b/bundle/_next/static/IzJ9LAl3EpvX0g1Pb8kHO/_buildManifest.js @@ -0,0 +1,16 @@ +self.__BUILD_MANIFEST = { + "__rewrites": { + "afterFiles": [], + "beforeFiles": [ + { + "source": "/.//_next/:path+", + "destination": "/_next/:path+" + } + ], + "fallback": [] + }, + "sortedPages": [ + "/_app", + "/_error" + ] +};self.__BUILD_MANIFEST_CB && self.__BUILD_MANIFEST_CB() \ No newline at end of file diff --git a/bundle/_next/static/IzJ9LAl3EpvX0g1Pb8kHO/_clientMiddlewareManifest.js b/bundle/_next/static/IzJ9LAl3EpvX0g1Pb8kHO/_clientMiddlewareManifest.js new file mode 100644 index 0000000000000000000000000000000000000000..a8acaffa33a1fe475700d809ebf9b700e2a5b36f --- /dev/null +++ b/bundle/_next/static/IzJ9LAl3EpvX0g1Pb8kHO/_clientMiddlewareManifest.js @@ -0,0 +1 @@ +self.__MIDDLEWARE_MATCHERS = [];self.__MIDDLEWARE_MATCHERS_CB && self.__MIDDLEWARE_MATCHERS_CB() \ No newline at end of file diff --git a/bundle/_next/static/IzJ9LAl3EpvX0g1Pb8kHO/_ssgManifest.js b/bundle/_next/static/IzJ9LAl3EpvX0g1Pb8kHO/_ssgManifest.js new file mode 100644 index 0000000000000000000000000000000000000000..5b3ff592fd46c8736892a12864fdf3fed8775202 --- /dev/null +++ b/bundle/_next/static/IzJ9LAl3EpvX0g1Pb8kHO/_ssgManifest.js @@ -0,0 +1 @@ +self.__SSG_MANIFEST=new Set([]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB() \ No newline at end of file diff --git a/bundle/_next/static/M1gpDQR9Zhk32AtuD5qZP/_buildManifest.js b/bundle/_next/static/M1gpDQR9Zhk32AtuD5qZP/_buildManifest.js new file mode 100644 index 0000000000000000000000000000000000000000..5e53ad47781d99769b6e2bf0a35465a8a60c0474 --- /dev/null +++ b/bundle/_next/static/M1gpDQR9Zhk32AtuD5qZP/_buildManifest.js @@ -0,0 +1,16 @@ +self.__BUILD_MANIFEST = { + "__rewrites": { + "afterFiles": [], + "beforeFiles": [ + { + "source": "/.//_next/:path+", + "destination": "/_next/:path+" + } + ], + "fallback": [] + }, + "sortedPages": [ + "/_app", + "/_error" + ] +};self.__BUILD_MANIFEST_CB && self.__BUILD_MANIFEST_CB() \ No newline at end of file diff --git a/bundle/_next/static/M1gpDQR9Zhk32AtuD5qZP/_clientMiddlewareManifest.js b/bundle/_next/static/M1gpDQR9Zhk32AtuD5qZP/_clientMiddlewareManifest.js new file mode 100644 index 0000000000000000000000000000000000000000..a8acaffa33a1fe475700d809ebf9b700e2a5b36f --- /dev/null +++ b/bundle/_next/static/M1gpDQR9Zhk32AtuD5qZP/_clientMiddlewareManifest.js @@ -0,0 +1 @@ +self.__MIDDLEWARE_MATCHERS = [];self.__MIDDLEWARE_MATCHERS_CB && self.__MIDDLEWARE_MATCHERS_CB() \ No newline at end of file diff --git a/bundle/_next/static/M1gpDQR9Zhk32AtuD5qZP/_ssgManifest.js b/bundle/_next/static/M1gpDQR9Zhk32AtuD5qZP/_ssgManifest.js new file mode 100644 index 0000000000000000000000000000000000000000..5b3ff592fd46c8736892a12864fdf3fed8775202 --- /dev/null +++ b/bundle/_next/static/M1gpDQR9Zhk32AtuD5qZP/_ssgManifest.js @@ -0,0 +1 @@ +self.__SSG_MANIFEST=new Set([]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB() \ No newline at end of file diff --git a/bundle/_next/static/chunks/0cz1d0mv5g_q7.js b/bundle/_next/static/chunks/0cz1d0mv5g_q7.js new file mode 100644 index 0000000000000000000000000000000000000000..ab422b94a4fbe76275d31c0bf7ef334768b39cae --- /dev/null +++ b/bundle/_next/static/chunks/0cz1d0mv5g_q7.js @@ -0,0 +1 @@ +!function(){var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t){var e={exports:{}};return t(e,e.exports),e.exports}var r,n,o=function(t){return t&&t.Math===Math&&t},i=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof t&&t)||o("object"==typeof t&&t)||function(){return this}()||Function("return this")(),a=function(t){try{return!!t()}catch(t){return!0}},u=!a(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}),s=!a(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}),c=Function.prototype.call,f=s?c.bind(c):function(){return c.apply(c,arguments)},l={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,p=h&&!l.call({1:2},1)?function(t){var e=h(this,t);return!!e&&e.enumerable}:l,v={f:p},d=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},g=Function.prototype,y=g.call,m=s&&g.bind.bind(y,y),b=s?m:function(t){return function(){return y.apply(t,arguments)}},w=b({}.toString),S=b("".slice),E=function(t){return S(w(t),8,-1)},O=Object,x=b("".split),R=a(function(){return!O("z").propertyIsEnumerable(0)})?function(t){return"String"===E(t)?x(t,""):O(t)}:O,P=function(t){return null==t},A=TypeError,j=function(t){if(P(t))throw new A("Can't call method on "+t);return t},k=function(t){return R(j(t))},I="object"==typeof document&&document.all,T=void 0===I&&void 0!==I?function(t){return"function"==typeof t||t===I}:function(t){return"function"==typeof t},M=function(t){return"object"==typeof t?null!==t:T(t)},L=function(t,e){return arguments.length<2?T(r=i[t])?r:void 0:i[t]&&i[t][e];var r},U=b({}.isPrototypeOf),N=i.navigator,C=N&&N.userAgent,_=C?String(C):"",F=i.process,B=i.Deno,D=F&&F.versions||B&&B.version,z=D&&D.v8;z&&(n=(r=z.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!n&&_&&(!(r=_.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=_.match(/Chrome\/(\d+)/))&&(n=+r[1]);var W=n,q=i.String,H=!!Object.getOwnPropertySymbols&&!a(function(){var t=Symbol("symbol detection");return!q(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&W&&W<41}),$=H&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,K=Object,G=$?function(t){return"symbol"==typeof t}:function(t){var e=L("Symbol");return T(e)&&U(e.prototype,K(t))},V=String,Y=function(t){try{return V(t)}catch(t){return"Object"}},X=TypeError,J=function(t){if(T(t))return t;throw new X(Y(t)+" is not a function")},Q=function(t,e){var r=t[e];return P(r)?void 0:J(r)},Z=TypeError,tt=Object.defineProperty,et=function(t,e){try{tt(i,t,{value:e,configurable:!0,writable:!0})}catch(r){i[t]=e}return e},rt=e(function(t){var e="__core-js_shared__",r=t.exports=i[e]||et(e,{});(r.versions||(r.versions=[])).push({version:"3.38.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),nt=function(t,e){return rt[t]||(rt[t]=e||{})},ot=Object,it=function(t){return ot(j(t))},at=b({}.hasOwnProperty),ut=Object.hasOwn||function(t,e){return at(it(t),e)},st=0,ct=Math.random(),ft=b(1..toString),lt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+ft(++st+ct,36)},ht=i.Symbol,pt=nt("wks"),vt=$?ht.for||ht:ht&&ht.withoutSetter||lt,dt=function(t){return ut(pt,t)||(pt[t]=H&&ut(ht,t)?ht[t]:vt("Symbol."+t)),pt[t]},gt=TypeError,yt=dt("toPrimitive"),mt=function(t,e){if(!M(t)||G(t))return t;var r,n=Q(t,yt);if(n){if(void 0===e&&(e="default"),r=f(n,t,e),!M(r)||G(r))return r;throw new gt("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var r,n;if("string"===e&&T(r=t.toString)&&!M(n=f(r,t)))return n;if(T(r=t.valueOf)&&!M(n=f(r,t)))return n;if("string"!==e&&T(r=t.toString)&&!M(n=f(r,t)))return n;throw new Z("Can't convert object to primitive value")}(t,e)},bt=function(t){var e=mt(t,"string");return G(e)?e:e+""},wt=i.document,St=M(wt)&&M(wt.createElement),Et=function(t){return St?wt.createElement(t):{}},Ot=!u&&!a(function(){return 7!==Object.defineProperty(Et("div"),"a",{get:function(){return 7}}).a}),xt=Object.getOwnPropertyDescriptor,Rt={f:u?xt:function(t,e){if(t=k(t),e=bt(e),Ot)try{return xt(t,e)}catch(t){}if(ut(t,e))return d(!f(v.f,t,e),t[e])}},Pt=u&&a(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),At=String,jt=TypeError,kt=function(t){if(M(t))return t;throw new jt(At(t)+" is not an object")},It=TypeError,Tt=Object.defineProperty,Mt=Object.getOwnPropertyDescriptor,Lt="enumerable",Ut="configurable",Nt="writable",Ct={f:u?Pt?function(t,e,r){if(kt(t),e=bt(e),kt(r),"function"==typeof t&&"prototype"===e&&"value"in r&&Nt in r&&!r[Nt]){var n=Mt(t,e);n&&n[Nt]&&(t[e]=r.value,r={configurable:Ut in r?r[Ut]:n[Ut],enumerable:Lt in r?r[Lt]:n[Lt],writable:!1})}return Tt(t,e,r)}:Tt:function(t,e,r){if(kt(t),e=bt(e),kt(r),Ot)try{return Tt(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new It("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},_t=u?function(t,e,r){return Ct.f(t,e,d(1,r))}:function(t,e,r){return t[e]=r,t},Ft=Function.prototype,Bt=u&&Object.getOwnPropertyDescriptor,Dt=ut(Ft,"name"),zt={EXISTS:Dt,PROPER:Dt&&"something"===function(){}.name,CONFIGURABLE:Dt&&(!u||u&&Bt(Ft,"name").configurable)},Wt=b(Function.toString);T(rt.inspectSource)||(rt.inspectSource=function(t){return Wt(t)});var qt,Ht,$t,Kt=rt.inspectSource,Gt=i.WeakMap,Vt=T(Gt)&&/native code/.test(String(Gt)),Yt=nt("keys"),Xt=function(t){return Yt[t]||(Yt[t]=lt(t))},Jt={},Qt="Object already initialized",Zt=i.TypeError;if(Vt||rt.state){var te=rt.state||(rt.state=new(0,i.WeakMap));te.get=te.get,te.has=te.has,te.set=te.set,qt=function(t,e){if(te.has(t))throw new Zt(Qt);return e.facade=t,te.set(t,e),e},Ht=function(t){return te.get(t)||{}},$t=function(t){return te.has(t)}}else{var ee=Xt("state");Jt[ee]=!0,qt=function(t,e){if(ut(t,ee))throw new Zt(Qt);return e.facade=t,_t(t,ee,e),e},Ht=function(t){return ut(t,ee)?t[ee]:{}},$t=function(t){return ut(t,ee)}}var re,ne={set:qt,get:Ht,has:$t,enforce:function(t){return $t(t)?Ht(t):qt(t,{})},getterFor:function(t){return function(e){var r;if(!M(e)||(r=Ht(e)).type!==t)throw new Zt("Incompatible receiver, "+t+" required");return r}}},oe=e(function(t){var e=zt.CONFIGURABLE,r=ne.enforce,n=ne.get,o=String,i=Object.defineProperty,s=b("".slice),c=b("".replace),f=b([].join),l=u&&!a(function(){return 8!==i(function(){},"length",{value:8}).length}),h=String(String).split("String"),p=t.exports=function(t,n,a){"Symbol("===s(o(n),0,7)&&(n="["+c(o(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),a&&a.getter&&(n="get "+n),a&&a.setter&&(n="set "+n),(!ut(t,"name")||e&&t.name!==n)&&(u?i(t,"name",{value:n,configurable:!0}):t.name=n),l&&a&&ut(a,"arity")&&t.length!==a.arity&&i(t,"length",{value:a.arity});try{a&&ut(a,"constructor")&&a.constructor?u&&i(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var p=r(t);return ut(p,"source")||(p.source=f(h,"string"==typeof n?n:"")),t};Function.prototype.toString=p(function(){return T(this)&&n(this).source||Kt(this)},"toString")}),ie=function(t,e,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:e;if(T(r)&&oe(r,i,n),n.global)o?t[e]=r:et(e,r);else{try{n.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=r:Ct.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},ae=Math.ceil,ue=Math.floor,se=Math.trunc||function(t){var e=+t;return(e>0?ue:ae)(e)},ce=function(t){var e=+t;return e!=e||0===e?0:se(e)},fe=Math.max,le=Math.min,he=function(t,e){var r=ce(t);return r<0?fe(r+e,0):le(r,e)},pe=Math.min,ve=function(t){var e=ce(t);return e>0?pe(e,9007199254740991):0},de=function(t){return ve(t.length)},ge=function(t){return function(e,r,n){var o=k(e),i=de(o);if(0===i)return!t&&-1;var a,u=he(n,i);if(t&&r!=r){for(;i>u;)if((a=o[u++])!=a)return!0}else for(;i>u;u++)if((t||u in o)&&o[u]===r)return t||u||0;return!t&&-1}},ye={includes:ge(!0),indexOf:ge(!1)},me=ye.indexOf,be=b([].push),we=function(t,e){var r,n=k(t),o=0,i=[];for(r in n)!ut(Jt,r)&&ut(n,r)&&be(i,r);for(;e.length>o;)ut(n,r=e[o++])&&(~me(i,r)||be(i,r));return i},Se=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ee=Se.concat("length","prototype"),Oe={f:Object.getOwnPropertyNames||function(t){return we(t,Ee)}},xe={f:Object.getOwnPropertySymbols},Re=b([].concat),Pe=L("Reflect","ownKeys")||function(t){var e=Oe.f(kt(t)),r=xe.f;return r?Re(e,r(t)):e},Ae=function(t,e,r){for(var n=Pe(e),o=Ct.f,i=Rt.f,a=0;aa;)Ct.f(t,r=o[a++],n[r]);return t},Be={f:Fe},De=L("document","documentElement"),ze="prototype",We="script",qe=Xt("IE_PROTO"),He=function(){},$e=function(t){return"<"+We+">"+t+""},Ke=function(t){t.write($e("")),t.close();var e=t.parentWindow.Object;return t=null,e},Ge=function(){try{re=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;Ge="undefined"!=typeof document?document.domain&&re?Ke(re):(e=Et("iframe"),r="java"+We+":",e.style.display="none",De.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write($e("document.F=Object")),t.close(),t.F):Ke(re);for(var n=Se.length;n--;)delete Ge[ze][Se[n]];return Ge()};Jt[qe]=!0;var Ve=Object.create||function(t,e){var r;return null!==t?(He[ze]=kt(t),r=new He,He[ze]=null,r[qe]=t):r=Ge(),void 0===e?r:Be.f(r,e)},Ye=Ct.f,Xe=dt("unscopables"),Je=Array.prototype;void 0===Je[Xe]&&Ye(Je,Xe,{configurable:!0,value:Ve(null)});var Qe=function(t){Je[Xe][t]=!0};Ce({target:"Array",proto:!0},{at:function(t){var e=it(this),r=de(e),n=ce(t),o=n>=0?n:r+n;return o<0||o>=r?void 0:e[o]}}),Qe("at");var Ze=function(t,e){return b(i[t].prototype[e])},tr=(Ze("Array","at"),TypeError),er=function(t,e){if(!delete t[e])throw new tr("Cannot delete property "+Y(e)+" of "+Y(t))},rr=Math.min,nr=[].copyWithin||function(t,e){var r=it(this),n=de(r),o=he(t,n),i=he(e,n),a=arguments.length>2?arguments[2]:void 0,u=rr((void 0===a?n:he(a,n))-i,n-o),s=1;for(i0;)i in r?r[o]=r[i]:er(r,o),o+=s,i+=s;return r};Ce({target:"Array",proto:!0},{copyWithin:nr}),Qe("copyWithin"),Ze("Array","copyWithin"),Ce({target:"Array",proto:!0},{fill:function(t){for(var e=it(this),r=de(e),n=arguments.length,o=he(n>1?arguments[1]:void 0,r),i=n>2?arguments[2]:void 0,a=void 0===i?r:he(i,r);a>o;)e[o++]=t;return e}}),Qe("fill"),Ze("Array","fill");var or=function(t){if("Function"===E(t))return b(t)},ir=or(or.bind),ar=function(t,e){return J(t),void 0===e?t:s?ir(t,e):function(){return t.apply(e,arguments)}},ur=Array.isArray||function(t){return"Array"===E(t)},sr={};sr[dt("toStringTag")]="z";var cr="[object z]"===String(sr),fr=dt("toStringTag"),lr=Object,hr="Arguments"===E(function(){return arguments}()),pr=cr?E:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=lr(t),fr))?r:hr?E(e):"Object"===(n=E(e))&&T(e.callee)?"Arguments":n},vr=function(){},dr=L("Reflect","construct"),gr=/^\s*(?:class|function)\b/,yr=b(gr.exec),mr=!gr.test(vr),br=function(t){if(!T(t))return!1;try{return dr(vr,[],t),!0}catch(t){return!1}},wr=function(t){if(!T(t))return!1;switch(pr(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return mr||!!yr(gr,Kt(t))}catch(t){return!0}};wr.sham=!0;var Sr=!dr||a(function(){var t;return br(br.call)||!br(Object)||!br(function(){t=!0})||t})?wr:br,Er=dt("species"),Or=Array,xr=function(t,e){return new(function(t){var e;return ur(t)&&(Sr(e=t.constructor)&&(e===Or||ur(e.prototype))||M(e)&&null===(e=e[Er]))&&(e=void 0),void 0===e?Or:e}(t))(0===e?0:e)},Rr=b([].push),Pr=function(t){var e=1===t,r=2===t,n=3===t,o=4===t,i=6===t,a=7===t,u=5===t||i;return function(s,c,f,l){for(var h,p,v=it(s),d=R(v),g=de(d),y=ar(c,f),m=0,b=l||xr,w=e?b(s,g):r||a?b(s,0):void 0;g>m;m++)if((u||m in d)&&(p=y(h=d[m],m,v),t))if(e)w[m]=p;else if(p)switch(t){case 3:return!0;case 5:return h;case 6:return m;case 2:Rr(w,h)}else switch(t){case 4:return!1;case 7:Rr(w,h)}return i?-1:n||o?o:w}},Ar={forEach:Pr(0),map:Pr(1),filter:Pr(2),some:Pr(3),every:Pr(4),find:Pr(5),findIndex:Pr(6),filterReject:Pr(7)},jr=Ar.find,kr="find",Ir=!0;kr in[]&&Array(1)[kr](function(){Ir=!1}),Ce({target:"Array",proto:!0,forced:Ir},{find:function(t){return jr(this,t,arguments.length>1?arguments[1]:void 0)}}),Qe(kr),Ze("Array","find");var Tr=Ar.findIndex,Mr="findIndex",Lr=!0;Mr in[]&&Array(1)[Mr](function(){Lr=!1}),Ce({target:"Array",proto:!0,forced:Lr},{findIndex:function(t){return Tr(this,t,arguments.length>1?arguments[1]:void 0)}}),Qe(Mr),Ze("Array","findIndex");var Ur=TypeError,Nr=function(t){if(t>9007199254740991)throw Ur("Maximum allowed index exceeded");return t},Cr=function(t,e,r,n,o,i,a,u){for(var s,c,f=o,l=0,h=!!a&&ar(a,u);l0&&ur(s)?(c=de(s),f=Cr(t,e,s,c,f,i-1)-1):(Nr(f+1),t[f]=s),f++),l++;return f},_r=Cr;Ce({target:"Array",proto:!0},{flatMap:function(t){var e,r=it(this),n=de(r);return J(t),(e=xr(r,0)).length=_r(e,r,r,n,0,1,t,arguments.length>1?arguments[1]:void 0),e}}),Qe("flatMap"),Ze("Array","flatMap"),Ce({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=it(this),r=de(e),n=xr(e,0);return n.length=_r(n,e,e,r,0,void 0===t?1:ce(t)),n}}),Qe("flat"),Ze("Array","flat");var Fr,Br,Dr,zr=String,Wr=function(t){if("Symbol"===pr(t))throw new TypeError("Cannot convert a Symbol value to a string");return zr(t)},qr=b("".charAt),Hr=b("".charCodeAt),$r=b("".slice),Kr=function(t){return function(e,r){var n,o,i=Wr(j(e)),a=ce(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=Hr(i,a))<55296||n>56319||a+1===u||(o=Hr(i,a+1))<56320||o>57343?t?qr(i,a):n:t?$r(i,a,a+2):o-56320+(n-55296<<10)+65536}},Gr={codeAt:Kr(!1),charAt:Kr(!0)},Vr=!a(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),Yr=Xt("IE_PROTO"),Xr=Object,Jr=Xr.prototype,Qr=Vr?Xr.getPrototypeOf:function(t){var e=it(t);if(ut(e,Yr))return e[Yr];var r=e.constructor;return T(r)&&e instanceof r?r.prototype:e instanceof Xr?Jr:null},Zr=dt("iterator"),tn=!1;[].keys&&("next"in(Dr=[].keys())?(Br=Qr(Qr(Dr)))!==Object.prototype&&(Fr=Br):tn=!0);var en=!M(Fr)||a(function(){var t={};return Fr[Zr].call(t)!==t});en&&(Fr={}),T(Fr[Zr])||ie(Fr,Zr,function(){return this});var rn={IteratorPrototype:Fr,BUGGY_SAFARI_ITERATORS:tn},nn=Ct.f,on=dt("toStringTag"),an=function(t,e,r){t&&!r&&(t=t.prototype),t&&!ut(t,on)&&nn(t,on,{configurable:!0,value:e})},un={},sn=rn.IteratorPrototype,cn=function(){return this},fn=function(t,e,r,n){var o=e+" Iterator";return t.prototype=Ve(sn,{next:d(+!n,r)}),an(t,o,!1),un[o]=cn,t},ln=function(t,e,r){try{return b(J(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}},hn=String,pn=TypeError,vn=function(t){if(function(t){return M(t)||null===t}(t))return t;throw new pn("Can't set "+hn(t)+" as a prototype")},dn=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=ln(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return j(r),vn(n),M(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0),gn=zt.PROPER,yn=zt.CONFIGURABLE,mn=rn.IteratorPrototype,bn=rn.BUGGY_SAFARI_ITERATORS,wn=dt("iterator"),Sn="keys",En="values",On="entries",xn=function(){return this},Rn=function(t,e,r,n,o,i,a){fn(r,e,n);var u,s,c,l=function(t){if(t===o&&g)return g;if(!bn&&t&&t in v)return v[t];switch(t){case Sn:case En:case On:return function(){return new r(this,t)}}return function(){return new r(this)}},h=e+" Iterator",p=!1,v=t.prototype,d=v[wn]||v["@@iterator"]||o&&v[o],g=!bn&&d||l(o),y="Array"===e&&v.entries||d;if(y&&(u=Qr(y.call(new t)))!==Object.prototype&&u.next&&(Qr(u)!==mn&&(dn?dn(u,mn):T(u[wn])||ie(u,wn,xn)),an(u,h,!0)),gn&&o===En&&d&&d.name!==En&&(yn?_t(v,"name",En):(p=!0,g=function(){return f(d,this)})),o)if(s={values:l(En),keys:i?g:l(Sn),entries:l(On)},a)for(c in s)(bn||p||!(c in v))&&ie(v,c,s[c]);else Ce({target:e,proto:!0,forced:bn||p},s);return v[wn]!==g&&ie(v,wn,g,{name:o}),un[e]=g,s},Pn=function(t,e){return{value:t,done:e}},An=Gr.charAt,jn="String Iterator",kn=ne.set,In=ne.getterFor(jn);Rn(String,"String",function(t){kn(this,{type:jn,string:Wr(t),index:0})},function(){var t,e=In(this),r=e.string,n=e.index;return n>=r.length?Pn(void 0,!0):(t=An(r,n),e.index+=t.length,Pn(t,!1))});var Tn=function(t,e,r){var n,o;kt(t);try{if(!(n=Q(t,"return"))){if("throw"===e)throw r;return r}n=f(n,t)}catch(t){o=!0,n=t}if("throw"===e)throw r;if(o)throw n;return kt(n),r},Mn=function(t,e,r,n){try{return n?e(kt(r)[0],r[1]):e(r)}catch(e){Tn(t,"throw",e)}},Ln=dt("iterator"),Un=Array.prototype,Nn=function(t){return void 0!==t&&(un.Array===t||Un[Ln]===t)},Cn=function(t,e,r){u?Ct.f(t,e,d(0,r)):t[e]=r},_n=dt("iterator"),Fn=function(t){if(!P(t))return Q(t,_n)||Q(t,"@@iterator")||un[pr(t)]},Bn=TypeError,Dn=function(t,e){var r=arguments.length<2?Fn(t):e;if(J(r))return kt(f(r,t));throw new Bn(Y(t)+" is not iterable")},zn=Array,Wn=function(t){var e=it(t),r=Sr(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=ar(o,n>2?arguments[2]:void 0));var a,u,s,c,l,h,p=Fn(e),v=0;if(!p||this===zn&&Nn(p))for(a=de(e),u=r?new this(a):zn(a);a>v;v++)h=i?o(e[v],v):e[v],Cn(u,v,h);else for(u=r?new this:[],l=(c=Dn(e,p)).next;!(s=f(l,c)).done;v++)h=i?Mn(c,o,[s.value,v],!0):s.value,Cn(u,v,h);return u.length=v,u},qn=dt("iterator"),Hn=!1;try{var $n=0,Kn={next:function(){return{done:!!$n++}},return:function(){Hn=!0}};Kn[qn]=function(){return this},Array.from(Kn,function(){throw 2})}catch(t){}var Gn=function(t,e){try{if(!e&&!Hn)return!1}catch(t){return!1}var r=!1;try{var n={};n[qn]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(t){}return r},Vn=!Gn(function(t){Array.from(t)});Ce({target:"Array",stat:!0,forced:Vn},{from:Wn});var Yn=i,Xn=ye.includes,Jn=a(function(){return!Array(1).includes()});Ce({target:"Array",proto:!0,forced:Jn},{includes:function(t){return Xn(this,t,arguments.length>1?arguments[1]:void 0)}}),Qe("includes"),Ze("Array","includes");var Qn=Ct.f,Zn="Array Iterator",to=ne.set,eo=ne.getterFor(Zn),ro=Rn(Array,"Array",function(t,e){to(this,{type:Zn,target:k(t),index:0,kind:e})},function(){var t=eo(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,Pn(void 0,!0);switch(t.kind){case"keys":return Pn(r,!1);case"values":return Pn(e[r],!1)}return Pn([r,e[r]],!1)},"values"),no=un.Arguments=un.Array;if(Qe("keys"),Qe("values"),Qe("entries"),u&&"values"!==no.name)try{Qn(no,"name",{value:"values"})}catch(t){}cr||ie(Object.prototype,"toString",cr?{}.toString:function(){return"[object "+pr(this)+"]"},{unsafe:!0}),Ze("Array","values");var oo=Array,io=a(function(){function t(){}return!(oo.of.call(t)instanceof t)});Ce({target:"Array",stat:!0,forced:io},{of:function(){for(var t=0,e=arguments.length,r=new(Sr(this)?this:oo)(e);e>t;)Cn(r,t,arguments[t++]);return r.length=e,r}});var ao=dt("hasInstance"),uo=Function.prototype;ao in uo||Ct.f(uo,ao,{value:oe(function(t){if(!T(this)||!M(t))return!1;var e=this.prototype;return M(e)?U(e,t):t instanceof this},ao)}),dt("hasInstance");var so=function(t,e,r){return r.get&&oe(r.get,e,{getter:!0}),r.set&&oe(r.set,e,{setter:!0}),Ct.f(t,e,r)},co=zt.EXISTS,fo=Function.prototype,lo=b(fo.toString),ho=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,po=b(ho.exec);u&&!co&&so(fo,"name",{configurable:!0,get:function(){try{return po(ho,lo(this))[1]}catch(t){return""}}});var vo=b([].slice),go=Oe.f,yo="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],mo={f:function(t){return yo&&"Window"===E(t)?function(t){try{return go(t)}catch(t){return vo(yo)}}(t):go(k(t))}},bo=a(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),wo=Object.isExtensible,So=a(function(){wo(1)})||bo?function(t){return!!M(t)&&(!bo||"ArrayBuffer"!==E(t))&&(!wo||wo(t))}:wo,Eo=!a(function(){return Object.isExtensible(Object.preventExtensions({}))}),Oo=e(function(t){var e=Ct.f,r=!1,n=lt("meta"),o=0,i=function(t){e(t,n,{value:{objectID:"O"+o++,weakData:{}}})},a=t.exports={enable:function(){a.enable=function(){},r=!0;var t=Oe.f,e=b([].splice),o={};o[n]=1,t(o).length&&(Oe.f=function(r){for(var o=t(r),i=0,a=o.length;ii;i++)if((u=y(t[i]))&&U(Po,u))return u;return new Ro(!1)}n=Dn(t,o)}for(s=h?t.next:n.next;!(c=f(s,n)).done;){try{u=y(c.value)}catch(t){Tn(n,"throw",t)}if("object"==typeof u&&u&&U(Po,u))return u}return new Ro(!1)},jo=TypeError,ko=function(t,e){if(U(e,t))return t;throw new jo("Incorrect invocation")},Io=function(t,e,r){var n,o;return dn&&T(n=e.constructor)&&n!==r&&M(o=n.prototype)&&o!==r.prototype&&dn(t,o),t},To=function(t,e,r){var n=-1!==t.indexOf("Map"),o=-1!==t.indexOf("Weak"),u=n?"set":"add",s=i[t],c=s&&s.prototype,f=s,l={},h=function(t){var e=b(c[t]);ie(c,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(o&&!M(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return o&&!M(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(o&&!M(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(Ue(t,!T(s)||!(o||c.forEach&&!a(function(){(new s).entries().next()}))))f=r.getConstructor(e,t,n,u),Oo.enable();else if(Ue(t,!0)){var p=new f,v=p[u](o?{}:-0,1)!==p,d=a(function(){p.has(1)}),g=Gn(function(t){new s(t)}),y=!o&&a(function(){for(var t=new s,e=5;e--;)t[u](e,e);return!t.has(-0)});g||((f=e(function(t,e){ko(t,c);var r=Io(new s,t,f);return P(e)||Ao(e,r[u],{that:r,AS_ENTRIES:n}),r})).prototype=c,c.constructor=f),(d||y)&&(h("delete"),h("has"),n&&h("get")),(y||v)&&h(u),o&&c.clear&&delete c.clear}return l[t]=f,Ce({global:!0,constructor:!0,forced:f!==s},l),an(f,t),o||r.setStrong(f,t,n),f},Mo=function(t,e,r){for(var n in e)ie(t,n,e[n],r);return t},Lo=dt("species"),Uo=function(t){var e=L(t);u&&e&&!e[Lo]&&so(e,Lo,{configurable:!0,get:function(){return this}})},No=Oo.fastKey,Co=ne.set,_o=ne.getterFor,Fo={getConstructor:function(t,e,r,n){var o=t(function(t,o){ko(t,i),Co(t,{type:e,index:Ve(null),first:null,last:null,size:0}),u||(t.size=0),P(o)||Ao(o,t[n],{that:t,AS_ENTRIES:r})}),i=o.prototype,a=_o(e),s=function(t,e,r){var n,o,i=a(t),s=c(t,e);return s?s.value=r:(i.last=s={index:o=No(e,!0),key:e,value:r,previous:n=i.last,next:null,removed:!1},i.first||(i.first=s),n&&(n.next=s),u?i.size++:t.size++,"F"!==o&&(i.index[o]=s)),t},c=function(t,e){var r,n=a(t),o=No(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key===e)return r};return Mo(i,{clear:function(){for(var t=a(this),e=t.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=null),e=e.next;t.first=t.last=null,t.index=Ve(null),u?t.size=0:this.size=0},delete:function(t){var e=this,r=a(e),n=c(e,t);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first===n&&(r.first=o),r.last===n&&(r.last=i),u?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=a(this),n=ar(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!c(this,t)}}),Mo(i,r?{get:function(t){var e=c(this,t);return e&&e.value},set:function(t,e){return s(this,0===t?0:t,e)}}:{add:function(t){return s(this,t=0===t?0:t,t)}}),u&&so(i,"size",{configurable:!0,get:function(){return a(this).size}}),o},setStrong:function(t,e,r){var n=e+" Iterator",o=_o(e),i=_o(n);Rn(t,e,function(t,e){Co(this,{type:n,target:t,state:o(t),kind:e,last:null})},function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?Pn("keys"===e?r.key:"values"===e?r.value:[r.key,r.value],!1):(t.target=null,Pn(void 0,!0))},r?"entries":"values",!r,!0),Uo(e)}};To("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Fo);var Bo=Map.prototype,Do={Map:Map,set:b(Bo.set),get:b(Bo.get),has:b(Bo.has),remove:b(Bo.delete),proto:Bo},zo=Do.Map,Wo=Do.has,qo=Do.get,Ho=Do.set,$o=b([].push),Ko=a(function(){return 1!==zo.groupBy("ab",function(t){return t}).get("a").length});Ce({target:"Map",stat:!0,forced:Ko},{groupBy:function(t,e){j(t),J(e);var r=new zo,n=0;return Ao(t,function(t){var o=e(t,n++);Wo(r,o)?$o(qo(r,o),t):Ho(r,o,[t])}),r}});var Go={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Vo=Et("span").classList,Yo=Vo&&Vo.constructor&&Vo.constructor.prototype,Xo=Yo===Object.prototype?void 0:Yo,Jo=dt("iterator"),Qo=ro.values,Zo=function(t,e){if(t){if(t[Jo]!==Qo)try{_t(t,Jo,Qo)}catch(e){t[Jo]=Qo}if(an(t,e,!0),Go[e])for(var r in ro)if(t[r]!==ro[r])try{_t(t,r,ro[r])}catch(e){t[r]=ro[r]}}};for(var ti in Go)Zo(i[ti]&&i[ti].prototype,ti);Zo(Xo,"DOMTokenList");var ei=function(t,e,r){return function(n){var o=it(n),i=arguments.length,a=i>1?arguments[1]:void 0,u=void 0!==a,s=u?ar(a,i>2?arguments[2]:void 0):void 0,c=new t,f=0;return Ao(o,function(t){var n=u?s(t,f++):t;r?e(c,kt(n)[0],n[1]):e(c,n)}),c}};Ce({target:"Map",stat:!0,forced:!0},{from:ei(Do.Map,Do.set,!0)});var ri=function(t,e,r){return function(){for(var n=new t,o=arguments.length,i=0;i1?arguments[1]:void 0);return!1!==di(e,function(t,n){if(!r(t,n,e))return!1},!0)}});var gi=Do.Map,yi=Do.set;Ce({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(t){var e=oi(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=new gi;return di(e,function(t,o){r(t,o,e)&&yi(n,o,t)}),n}}),Ce({target:"Map",proto:!0,real:!0,forced:!0},{find:function(t){var e=oi(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=di(e,function(t,n){if(r(t,n,e))return{value:t}},!0);return n&&n.value}}),Ce({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(t){var e=oi(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=di(e,function(t,n){if(r(t,n,e))return{key:n}},!0);return n&&n.key}}),Ce({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(t){return!0===di(oi(this),function(e){if((r=e)===(n=t)||r!=r&&n!=n)return!0;var r,n},!0)}});var mi=Do.Map;Ce({target:"Map",stat:!0,forced:!0},{keyBy:function(t,e){var r=new(T(this)?this:mi);J(e);var n=J(r.set);return Ao(t,function(t){f(n,r,e(t),t)}),r}}),Ce({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(t){var e=di(oi(this),function(e,r){if(e===t)return{key:r}},!0);return e&&e.key}});var bi=Do.Map,wi=Do.set;Ce({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(t){var e=oi(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=new bi;return di(e,function(t,o){wi(n,r(t,o,e),t)}),n}});var Si=Do.Map,Ei=Do.set;Ce({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(t){var e=oi(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=new Si;return di(e,function(t,o){Ei(n,o,r(t,o,e))}),n}});var Oi=Do.set;Ce({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(t){for(var e=oi(this),r=arguments.length,n=0;n1?arguments[1]:void 0);return!0===di(e,function(t,n){if(r(t,n,e))return!0},!0)}});var Ri=TypeError,Pi=Do.get,Ai=Do.has,ji=Do.set;Ce({target:"Map",proto:!0,real:!0,forced:!0},{update:function(t,e){var r=oi(this),n=arguments.length;J(e);var o=Ai(r,t);if(!o&&n<3)throw new Ri("Updating absent value");var i=o?Pi(r,t):J(n>2?arguments[2]:void 0)(t,r);return ji(r,t,e(i,t,r)),r}});var ki=TypeError,Ii=function(t,e){var r,n=kt(this),o=J(n.get),i=J(n.has),a=J(n.set),u=arguments.length>2?arguments[2]:void 0;if(!T(e)&&!T(u))throw new ki("At least one callback required");return f(i,n,t)?(r=f(o,n,t),T(e)&&(r=e(r),f(a,n,t,r))):T(u)&&(r=u(),f(a,n,t,r)),r};Ce({target:"Map",proto:!0,real:!0,forced:!0},{upsert:Ii}),Ce({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:Ii});var Ti=b(1..valueOf),Mi="\t\n\v\f\r                 \u2028\u2029\ufeff",Li=b("".replace),Ui=RegExp("^["+Mi+"]+"),Ni=RegExp("(^|[^"+Mi+"])["+Mi+"]+$"),Ci=function(t){return function(e){var r=Wr(j(e));return 1&t&&(r=Li(r,Ui,"")),2&t&&(r=Li(r,Ni,"$1")),r}},_i={start:Ci(1),end:Ci(2),trim:Ci(3)},Fi=Oe.f,Bi=Rt.f,Di=Ct.f,zi=_i.trim,Wi="Number",qi=i[Wi],Hi=qi.prototype,$i=i.TypeError,Ki=b("".slice),Gi=b("".charCodeAt),Vi=Ue(Wi,!qi(" 0o1")||!qi("0b1")||qi("+0x1")),Yi=function(t){var e,r=arguments.length<1?0:qi(function(t){var e=mt(t,"number");return"bigint"==typeof e?e:function(t){var e,r,n,o,i,a,u,s,c=mt(t,"number");if(G(c))throw new $i("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=zi(c),43===(e=Gi(c,0))||45===e){if(88===(r=Gi(c,2))||120===r)return NaN}else if(48===e){switch(Gi(c,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(a=(i=Ki(c,2)).length,u=0;uo)return NaN;return parseInt(i,n)}return+c}(e)}(t));return U(Hi,e=this)&&a(function(){Ti(e)})?Io(Object(r),this,Yi):r};Yi.prototype=Hi,Vi&&(Hi.constructor=Yi),Ce({global:!0,constructor:!0,wrap:!0,forced:Vi},{Number:Yi}),Vi&&function(t,e){for(var r,n=u?Fi(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;n.length>o;o++)ut(e,r=n[o])&&!ut(t,r)&&Di(t,r,Bi(e,r))}(Yn[Wi],qi),Ce({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)});var Xi=i.isFinite;Ce({target:"Number",stat:!0},{isFinite:Number.isFinite||function(t){return"number"==typeof t&&Xi(t)}});var Ji=Math.floor,Qi=Number.isInteger||function(t){return!M(t)&&isFinite(t)&&Ji(t)===t};Ce({target:"Number",stat:!0},{isInteger:Qi}),Ce({target:"Number",stat:!0},{isNaN:function(t){return t!=t}});var Zi=Math.abs;Ce({target:"Number",stat:!0},{isSafeInteger:function(t){return Qi(t)&&Zi(t)<=9007199254740991}}),Ce({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991}),Ce({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991});var ta=_i.trim,ea=b("".charAt),ra=i.parseFloat,na=i.Symbol,oa=na&&na.iterator,ia=1/ra(Mi+"-0")!=-Infinity||oa&&!a(function(){ra(Object(oa))})?function(t){var e=ta(Wr(t)),r=ra(e);return 0===r&&"-"===ea(e,0)?-0:r}:ra;Ce({target:"Number",stat:!0,forced:Number.parseFloat!==ia},{parseFloat:ia});var aa=_i.trim,ua=i.parseInt,sa=i.Symbol,ca=sa&&sa.iterator,fa=/^[+-]?0x/i,la=b(fa.exec),ha=8!==ua(Mi+"08")||22!==ua(Mi+"0x16")||ca&&!a(function(){ua(Object(ca))})?function(t,e){var r=aa(Wr(t));return ua(r,e>>>0||(la(fa,r)?16:10))}:ua;Ce({target:"Number",stat:!0,forced:Number.parseInt!==ha},{parseInt:ha});var pa=b(v.f),va=b([].push),da=u&&a(function(){var t=Object.create(null);return t[2]=2,!pa(t,2)}),ga=function(t){return function(e){for(var r,n=k(e),o=_e(n),i=da&&null===Qr(n),a=o.length,s=0,c=[];a>s;)r=o[s++],u&&!(i?r in n:pa(n,r))||va(c,t?[r,n[r]]:n[r]);return c}},ya={entries:ga(!0),values:ga(!1)},ma=ya.entries;Ce({target:"Object",stat:!0},{entries:function(t){return ma(t)}}),Ce({target:"Object",stat:!0,sham:!u},{getOwnPropertyDescriptors:function(t){for(var e,r,n=k(t),o=Rt.f,i=Pe(n),a={},u=0;i.length>u;)void 0!==(r=o(n,e=i[u++]))&&Cn(a,e,r);return a}});var ba=a(function(){_e(1)});Ce({target:"Object",stat:!0,forced:ba},{keys:function(t){return _e(it(t))}});var wa=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};Ce({target:"Object",stat:!0},{is:wa});var Sa=ya.values;Ce({target:"Object",stat:!0},{values:function(t){return Sa(t)}}),Ce({target:"Object",stat:!0},{hasOwn:ut});var Ea=Function.prototype,Oa=Ea.apply,xa=Ea.call,Ra="object"==typeof Reflect&&Reflect.apply||(s?xa.bind(Oa):function(){return xa.apply(Oa,arguments)}),Pa=!a(function(){Reflect.apply(function(){})});Ce({target:"Reflect",stat:!0,forced:Pa},{apply:function(t,e,r){return Ra(J(t),e,kt(r))}});var Aa=Function,ja=b([].concat),ka=b([].join),Ia={},Ta=s?Aa.bind:function(t){var e=J(this),r=e.prototype,n=vo(arguments,1),o=function(){var r=ja(n,vo(arguments));return this instanceof o?function(t,e,r){if(!ut(Ia,e)){for(var n=[],o=0;ob)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")}),gs=Oe.f,ys=ne.enforce,ms=dt("match"),bs=i.RegExp,ws=bs.prototype,Ss=i.SyntaxError,Es=b(ws.exec),Os=b("".charAt),xs=b("".replace),Rs=b("".indexOf),Ps=b("".slice),As=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,js=/a/g,ks=/a/g,Is=new bs(js)!==js,Ts=cs.MISSED_STICKY,Ms=cs.UNSUPPORTED_Y,Ls=u&&(!Is||Ts||ps||ds||a(function(){return ks[ms]=!1,bs(js)!==js||bs(ks)===ks||"/a/i"!==String(bs(js,"i"))}));if(Ue("RegExp",Ls)){for(var Us=function(t,e){var r,n,o,i,a,u,s=U(ws,this),c=es(t),f=void 0===e,l=[],h=t;if(!s&&c&&f&&t.constructor===Us)return t;if((c||U(ws,t))&&(t=t.source,f&&(e=os(h))),t=void 0===t?"":Wr(t),e=void 0===e?"":Wr(e),h=t,ps&&"dotAll"in js&&(n=!!e&&Rs(e,"s")>-1)&&(e=xs(e,/s/g,"")),r=e,Ts&&"sticky"in js&&(o=!!e&&Rs(e,"y")>-1)&&Ms&&(e=xs(e,/y/g,"")),ds&&(i=function(t){for(var e,r=t.length,n=0,o="",i=[],a=Ve(null),u=!1,s=!1,c=0,f="";n<=r;n++){if("\\"===(e=Os(t,n)))e+=Os(t,++n);else if("]"===e)u=!1;else if(!u)switch(!0){case"["===e:u=!0;break;case"("===e:if(o+=e,"?:"===Ps(t,n+1,n+3))continue;Es(As,Ps(t,n+1))&&(n+=2,s=!0),c++;continue;case">"===e&&s:if(""===f||ut(a,f))throw new Ss("Invalid capture group name");a[f]=!0,i[i.length]=[f,c],s=!1,f="";continue}s?f+=e:o+=e}return[o,i]}(t),t=i[0],l=i[1]),a=Io(bs(t,e),s?this:ws,Us),(n||o||l.length)&&(u=ys(a),n&&(u.dotAll=!0,u.raw=Us(function(t){for(var e,r=t.length,n=0,o="",i=!1;n<=r;n++)"\\"!==(e=Os(t,n))?i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),o+=e):o+="[\\s\\S]":o+=e+Os(t,++n);return o}(t),r)),o&&(u.sticky=!0),l.length&&(u.groups=l)),t!==h)try{_t(a,"source",""===h?"(?:)":h)}catch(t){}return a},Ns=gs(bs),Cs=0;Ns.length>Cs;)ls(Us,bs,Ns[Cs++]);ws.constructor=Us,Us.prototype=ws,ie(i,"RegExp",Us,{constructor:!0})}Uo("RegExp");var _s=zt.PROPER,Fs="toString",Bs=RegExp.prototype,Ds=Bs[Fs];(a(function(){return"/a/b"!==Ds.call({source:"a",flags:"b"})})||_s&&Ds.name!==Fs)&&ie(Bs,Fs,function(){var t=kt(this);return"/"+Wr(t.source)+"/"+Wr(os(t))},{unsafe:!0});var zs=ne.get,Ws=RegExp.prototype,qs=TypeError;u&&ps&&so(Ws,"dotAll",{configurable:!0,get:function(){if(this!==Ws){if("RegExp"===E(this))return!!zs(this).dotAll;throw new qs("Incompatible receiver, RegExp required")}}});var Hs=ne.get,$s=nt("native-string-replace",String.prototype.replace),Ks=RegExp.prototype.exec,Gs=Ks,Vs=b("".charAt),Ys=b("".indexOf),Xs=b("".replace),Js=b("".slice),Qs=function(){var t=/a/,e=/b*/g;return f(Ks,t,"a"),f(Ks,e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),Zs=cs.BROKEN_CARET,tc=void 0!==/()??/.exec("")[1];(Qs||tc||Zs||ps||ds)&&(Gs=function(t){var e,r,n,o,i,a,u,s=this,c=Hs(s),l=Wr(t),h=c.raw;if(h)return h.lastIndex=s.lastIndex,e=f(Gs,h,l),s.lastIndex=h.lastIndex,e;var p=c.groups,v=Zs&&s.sticky,d=f(rs,s),g=s.source,y=0,m=l;if(v&&(d=Xs(d,"y",""),-1===Ys(d,"g")&&(d+="g"),m=Js(l,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==Vs(l,s.lastIndex-1))&&(g="(?: "+g+")",m=" "+m,y++),r=new RegExp("^(?:"+g+")",d)),tc&&(r=new RegExp("^"+g+"$(?!\\s)",d)),Qs&&(n=s.lastIndex),o=f(Ks,v?r:s,m),v?o?(o.input=Js(o.input,y),o[0]=Js(o[0],y),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:Qs&&o&&(s.lastIndex=s.global?o.index+o[0].length:n),tc&&o&&o.length>1&&f($s,o[0],r,function(){for(i=1;i]*>)/g,Oc=/\$([$&'`]|\d{1,2})/g,xc=function(t,e,r,n,o,i){var a=r+t.length,u=n.length,s=Oc;return void 0!==o&&(o=it(o),s=Ec),wc(i,s,function(i,s){var c;switch(bc(s,0)){case"$":return"$";case"&":return t;case"`":return Sc(e,0,r);case"'":return Sc(e,a);case"<":c=o[Sc(s,1,-1)];break;default:var f=+s;if(0===f)return i;if(f>u){var l=mc(f/10);return 0===l?i:l<=u?void 0===n[l-1]?bc(s,1):n[l-1]+bc(s,1):i}c=n[f-1]}return void 0===c?"":c})},Rc=dt("replace"),Pc=Math.max,Ac=Math.min,jc=b([].concat),kc=b([].push),Ic=b("".indexOf),Tc=b("".slice),Mc="$0"==="a".replace(/./,"$0"),Lc=!!/./[Rc]&&""===/./[Rc]("a","$0"),Uc=!a(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")});pc("replace",function(t,e,r){var n=Lc?"$":"$0";return[function(t,r){var n=j(this),o=P(t)?void 0:Q(t,Rc);return o?f(o,t,n,r):f(e,Wr(n),t,r)},function(t,o){var i=kt(this),a=Wr(t);if("string"==typeof o&&-1===Ic(o,n)&&-1===Ic(o,"$<")){var u=r(e,i,a,o);if(u.done)return u.value}var s=T(o);s||(o=Wr(o));var c,f=i.global;f&&(c=i.unicode,i.lastIndex=0);for(var l,h=[];null!==(l=yc(i,a))&&(kc(h,l),f);)""===Wr(l[0])&&(i.lastIndex=dc(a,ve(i.lastIndex),c));for(var p,v="",d=0,g=0;g=d&&(v+=Tc(a,d,b)+y,d=b+m.length)}return v+Tc(a,d)}]},!Uc||!Mc||Lc),pc("search",function(t,e,r){return[function(e){var r=j(this),n=P(e)?void 0:Q(e,t);return n?f(n,e,r):new RegExp(e)[t](Wr(r))},function(t){var n=kt(this),o=Wr(t),i=r(e,n,o);if(i.done)return i.value;var a=n.lastIndex;wa(a,0)||(n.lastIndex=0);var u=yc(n,o);return wa(n.lastIndex,a)||(n.lastIndex=a),null===u?-1:u.index}]});var Nc=dt("species"),Cc=function(t,e){var r,n=kt(t).constructor;return void 0===n||P(r=kt(n)[Nc])?e:La(r)},_c=cs.UNSUPPORTED_Y,Fc=Math.min,Bc=b([].push),Dc=b("".slice),zc=!a(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}),Wc="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;pc("split",function(t,e,r){var n="0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:f(e,this,t,r)}:e;return[function(e,r){var o=j(this),i=P(e)?void 0:Q(e,t);return i?f(i,e,o,r):f(n,Wr(o),e,r)},function(t,o){var i=kt(this),a=Wr(t);if(!Wc){var u=r(n,i,a,o,n!==e);if(u.done)return u.value}var s=Cc(i,RegExp),c=i.unicode,f=new s(_c?"^(?:"+i.source+")":i,(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(_c?"g":"y")),l=void 0===o?4294967295:o>>>0;if(0===l)return[];if(0===a.length)return null===yc(f,a)?[a]:[];for(var h=0,p=0,v=[];p0;(n>>>=1)&&(e+=e))1&n&&(r+=e);return r},Kc=b($c),Gc=b("".slice),Vc=Math.ceil,Yc=function(t){return function(e,r,n){var o,i,a=Wr(j(e)),u=ve(r),s=a.length,c=void 0===n?" ":Wr(n);return u<=s||""===c?a:((i=Kc(c,Vc((o=u-s)/c.length))).length>o&&(i=Gc(i,0,o)),t?a+i:i+a)}},Xc={start:Yc(!1),end:Yc(!0)},Jc=Xc.start,Qc=Array,Zc=RegExp.escape,tf=b("".charAt),ef=b("".charCodeAt),rf=b(1.1.toString),nf=b([].join),of=/^[0-9a-z]/i,af=/^[$()*+./?[\\\]^{|}]/,uf=RegExp("^[!\"#%&',\\-:;<=>@`~"+Mi+"]"),sf=b(of.exec),cf={"\t":"t","\n":"n","\v":"v","\f":"f","\r":"r"},ff=function(t){var e=rf(ef(t,0),16);return e.length<3?"\\x"+Jc(e,2,"0"):"\\u"+Jc(e,4,"0")},lf=!Zc||"\\x61b"!==Zc("ab");Ce({target:"RegExp",stat:!0,forced:lf},{escape:function(t){!function(t){if("string"==typeof t)return t;throw new qc("Argument is not a string")}(t);for(var e=t.length,r=Qc(e),n=0;n=56320||n+1>=e||56320!=(64512&ef(t,n+1))?r[n]=ff(o):(r[n]=o,r[++n]=tf(t,n))}}return nf(r,"")}}),To("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Fo);var hf=Set.prototype,pf={Set:Set,add:b(hf.add),has:b(hf.has),remove:b(hf.delete),proto:hf},vf=pf.has,df=function(t){return vf(t),t},gf=pf.Set,yf=pf.proto,mf=b(yf.forEach),bf=b(yf.keys),wf=bf(new gf).next,Sf=function(t,e,r){return r?ci({iterator:bf(t),next:wf},e):mf(t,e)},Ef=pf.Set,Of=pf.add,xf=function(t){var e=new Ef;return Sf(t,function(t){Of(e,t)}),e},Rf=ln(pf.proto,"size","get")||function(t){return t.size},Pf="Invalid size",Af=RangeError,jf=TypeError,kf=Math.max,If=function(t,e){this.set=t,this.size=kf(e,0),this.has=J(t.has),this.keys=J(t.keys)};If.prototype={getIterator:function(){return{iterator:t=kt(f(this.keys,this.set)),next:t.next,done:!1};var t},includes:function(t){return f(this.has,this.set,t)}};var Tf=function(t){kt(t);var e=+t.size;if(e!=e)throw new jf(Pf);var r=ce(e);if(r<0)throw new Af(Pf);return new If(t,r)},Mf=pf.has,Lf=pf.remove,Uf=function(t){var e=df(this),r=Tf(t),n=xf(e);return Rf(e)<=r.size?Sf(e,function(t){r.includes(t)&&Lf(n,t)}):ci(r.getIterator(),function(t){Mf(e,t)&&Lf(n,t)}),n},Nf=function(t){return{size:t,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},Cf=function(t){var e=L("Set");try{(new e)[t](Nf(0));try{return(new e)[t](Nf(-1)),!1}catch(t){return!0}}catch(t){return!1}};Ce({target:"Set",proto:!0,real:!0,forced:!Cf("difference")},{difference:Uf});var _f=pf.Set,Ff=pf.add,Bf=pf.has,Df=function(t){var e=df(this),r=Tf(t),n=new _f;return Rf(e)>r.size?ci(r.getIterator(),function(t){Bf(e,t)&&Ff(n,t)}):Sf(e,function(t){r.includes(t)&&Ff(n,t)}),n},zf=!Cf("intersection")||a(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))});Ce({target:"Set",proto:!0,real:!0,forced:zf},{intersection:Df});var Wf=pf.has,qf=function(t){var e=df(this),r=Tf(t);if(Rf(e)<=r.size)return!1!==Sf(e,function(t){if(r.includes(t))return!1},!0);var n=r.getIterator();return!1!==ci(n,function(t){if(Wf(e,t))return Tn(n,"normal",!1)})};Ce({target:"Set",proto:!0,real:!0,forced:!Cf("isDisjointFrom")},{isDisjointFrom:qf});var Hf=function(t){var e=df(this),r=Tf(t);return!(Rf(e)>r.size)&&!1!==Sf(e,function(t){if(!r.includes(t))return!1},!0)};Ce({target:"Set",proto:!0,real:!0,forced:!Cf("isSubsetOf")},{isSubsetOf:Hf});var $f=pf.has,Kf=function(t){var e=df(this),r=Tf(t);if(Rf(e)1?arguments[1]:void 0);return!1!==Sf(e,function(t){if(!r(t,t,e))return!1},!0)}});var el=dt("iterator"),rl=Object,nl=L("Set"),ol=function(t){return function(t){return M(t)&&"number"==typeof t.size&&T(t.has)&&T(t.keys)}(t)?t:function(t){if(P(t))return!1;var e=rl(t);return void 0!==e[el]||"@@iterator"in e||ut(un,pr(e))}(t)?new nl(t):t};Ce({target:"Set",proto:!0,real:!0,forced:!0},{difference:function(t){return f(Uf,this,ol(t))}});var il=pf.Set,al=pf.add;Ce({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(t){var e=df(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=new il;return Sf(e,function(t){r(t,t,e)&&al(n,t)}),n}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{find:function(t){var e=df(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=Sf(e,function(t){if(r(t,t,e))return{value:t}},!0);return n&&n.value}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(t){return f(Df,this,ol(t))}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(t){return f(qf,this,ol(t))}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(t){return f(Hf,this,ol(t))}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(t){return f(Kf,this,ol(t))}});var ul=b([].join),sl=b([].push);Ce({target:"Set",proto:!0,real:!0,forced:!0},{join:function(t){var e=df(this),r=void 0===t?",":Wr(t),n=[];return Sf(e,function(t){sl(n,t)}),ul(n,r)}});var cl=pf.Set,fl=pf.add;Ce({target:"Set",proto:!0,real:!0,forced:!0},{map:function(t){var e=df(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=new cl;return Sf(e,function(t){fl(n,r(t,t,e))}),n}});var ll=TypeError;Ce({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(t){var e=df(this),r=arguments.length<2,n=r?void 0:arguments[1];if(J(t),Sf(e,function(o){r?(r=!1,n=o):n=t(n,o,o,e)}),r)throw new ll("Reduce of empty set with no initial value");return n}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{some:function(t){var e=df(this),r=ar(t,arguments.length>1?arguments[1]:void 0);return!0===Sf(e,function(t){if(r(t,t,e))return!0},!0)}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(t){return f(Xf,this,ol(t))}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{union:function(t){return f(Qf,this,ol(t))}});var hl=dt("species"),pl=dt("isConcatSpreadable"),vl=W>=51||!a(function(){var t=[];return t[pl]=!1,t.concat()[0]!==t}),dl=function(t){if(!M(t))return!1;var e=t[pl];return void 0!==e?!!e:ur(t)},gl=!(vl&&(W>=51||!a(function(){var t=[];return(t.constructor={})[hl]=function(){return{foo:1}},1!==t.concat(Boolean).foo})));Ce({target:"Array",proto:!0,arity:1,forced:gl},{concat:function(t){var e,r,n,o,i,a=it(this),u=xr(a,0),s=0;for(e=-1,n=arguments.length;e1?arguments[1]:void 0,n=e.length,o=void 0===r?n:ip(ve(r),n),i=Wr(t);return op(e,o-i.length,o)===i}}),Ze("String","endsWith");var sp=RangeError,cp=String.fromCharCode,fp=String.fromCodePoint,lp=b([].join);Ce({target:"String",stat:!0,arity:1,forced:!!fp&&1!==fp.length},{fromCodePoint:function(t){for(var e,r=[],n=arguments.length,o=0;n>o;){if(e=+arguments[o++],he(e,1114111)!==e)throw new sp(e+" is not a valid code point");r[o]=e<65536?cp(e):cp(55296+((e-=65536)>>10),e%1024+56320)}return lp(r,"")}});var hp=b("".indexOf);Ce({target:"String",proto:!0,forced:!rp("includes")},{includes:function(t){return!!~hp(Wr(j(this)),Wr(tp(t)),arguments.length>1?arguments[1]:void 0)}}),Ze("String","includes"),b(un.String);var pp=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(_),vp=Xc.start;Ce({target:"String",proto:!0,forced:pp},{padStart:function(t){return vp(this,t,arguments.length>1?arguments[1]:void 0)}}),Ze("String","padStart");var dp=Xc.end;Ce({target:"String",proto:!0,forced:pp},{padEnd:function(t){return dp(this,t,arguments.length>1?arguments[1]:void 0)}}),Ze("String","padEnd");var gp=b([].push),yp=b([].join);Ce({target:"String",stat:!0},{raw:function(t){var e=k(it(t).raw),r=de(e);if(!r)return"";for(var n=arguments.length,o=[],i=0;;){if(gp(o,Wr(e[i++])),i===r)return yp(o,"");i1?arguments[1]:void 0,e.length)),n=Wr(t);return bp(e,r,r+n.length)===n}}),Ze("String","startsWith");var Op=zt.PROPER,xp=function(t){return a(function(){return!!Mi[t]()||"​…᠎"!=="​…᠎"[t]()||Op&&Mi[t].name!==t})},Rp=_i.start,Pp=xp("trimStart")?function(){return Rp(this)}:"".trimStart;Ce({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==Pp},{trimLeft:Pp}),Ce({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==Pp},{trimStart:Pp}),Ze("String","trimLeft");var Ap=_i.end,jp=xp("trimEnd")?function(){return Ap(this)}:"".trimEnd;Ce({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==jp},{trimRight:jp}),Ce({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==jp},{trimEnd:jp}),Ze("String","trimRight");var kp=Object.getOwnPropertyDescriptor,Ip=function(t){if(!u)return i[t];var e=kp(i,t);return e&&e.value},Tp=dt("iterator"),Mp=!a(function(){var t=new URL("b?a=1&b=2&c=3","https://a"),e=t.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return t.pathname="c%20d",e.forEach(function(t,r){e.delete("b"),n+=r+t}),r.delete("a",2),r.delete("b",void 0),!e.size&&!u||!e.sort||"https://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[Tp]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host}),Lp=TypeError,Up=function(t,e){if(t0;)t[o]=t[--o];o!==i++&&(t[o]=n)}else for(var a=Np(r/2),u=Cp(vo(t,0,a),e),s=Cp(vo(t,a),e),c=u.length,f=s.length,l=0,h=0;l0&&0!=(t&r);r>>=1)e++;return e},pv=function(t){var e=null;switch(t.length){case 1:e=t[0];break;case 2:e=(31&t[0])<<6|63&t[1];break;case 3:e=(15&t[0])<<12|(63&t[1])<<6|63&t[2];break;case 4:e=(7&t[0])<<18|(63&t[1])<<12|(63&t[2])<<6|63&t[3]}return e>1114111?null:e},vv=function(t){for(var e=(t=nv(t,cv," ")).length,r="",n=0;ne){r+="%",n++;continue}var i=lv(t,n+1);if(i!=i){r+=o,n++;continue}n+=2;var a=hv(i);if(0===a)o=Jp(i);else{if(1===a||a>4){r+="�",n++;continue}for(var u=[i],s=1;se||"%"!==tv(t,n));){var c=lv(t,n+1);if(c!=c){n+=3;break}if(c>191||c<128)break;rv(u,c),n+=2,s++}if(u.length!==a){r+="�";continue}var f=pv(u);null===f?r+="�":o=Qp(f)}}r+=o,n++}return r},dv=/[!'()~]|%20/g,gv={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},yv=function(t){return gv[t]},mv=function(t){return nv(Xp(t),dv,yv)},bv=fn(function(t,e){zp(this,{type:Dp,target:Wp(t).entries,index:0,kind:e})},Bp,function(){var t=qp(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,Pn(void 0,!0);var n=e[r];switch(t.kind){case"keys":return Pn(n.key,!1);case"values":return Pn(n.value,!1)}return Pn([n.key,n.value],!1)},!0),wv=function(t){this.entries=[],this.url=null,void 0!==t&&(M(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===tv(t,0)?uv(t,1):t:Wr(t)))};wv.prototype={type:Bp,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,o,i,a,u,s=this.entries,c=Fn(t);if(c)for(r=(e=Dn(t,c)).next;!(n=f(r,e)).done;){if(o=Dn(kt(n.value)),(a=f(i=o.next,o)).done||(u=f(i,o)).done||!f(i,o).done)throw new Yp("Expected sequence with length 2");rv(s,{key:Wr(a.value),value:Wr(u.value)})}else for(var l in t)ut(t,l)&&rv(s,{key:l,value:Wr(t[l])})},parseQuery:function(t){if(t)for(var e,r,n=this.entries,o=av(t,"&"),i=0;i0?arguments[0]:void 0));u||(this.size=t.entries.length)},Ev=Sv.prototype;if(Mo(Ev,{append:function(t,e){var r=Wp(this);Up(arguments.length,2),rv(r.entries,{key:Wr(t),value:Wr(e)}),u||this.length++,r.updateURL()},delete:function(t){for(var e=Wp(this),r=Up(arguments.length,1),n=e.entries,o=Wr(t),i=r<2?void 0:arguments[1],a=void 0===i?i:Wr(i),s=0;se.key?1:-1}),t.updateURL()},forEach:function(t){for(var e,r=Wp(this).entries,n=ar(t,arguments.length>1?arguments[1]:void 0),o=0;o1?Rv(arguments[1]):{})}}),T($p)){var Pv=function(t){return ko(this,Gp),new $p(t,arguments.length>1?Rv(arguments[1]):{})};Gp.constructor=Pv,Pv.prototype=Gp,Ce({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Pv})}}var Av={URLSearchParams:Sv,getState:Wp},jv=URLSearchParams,kv=jv.prototype,Iv=b(kv.append),Tv=b(kv.delete),Mv=b(kv.forEach),Lv=b([].push),Uv=new jv("a=1&a=2&b=3");Uv.delete("a",1),Uv.delete("b",void 0),Uv+""!="a=2"&&ie(kv,"delete",function(t){var e=arguments.length,r=e<2?void 0:arguments[1];if(e&&void 0===r)return Tv(this,t);var n=[];Mv(this,function(t,e){Lv(n,{key:e,value:t})}),Up(e,1);for(var o,i=Wr(t),a=Wr(r),u=0,s=0,c=!1,f=n.length;uo;)for(var s,c=R(arguments[o++]),l=i?$v(_e(c),i(c)):_e(c),h=l.length,p=0;h>p;)s=l[p++],u&&!f(a,c,s)||(r[s]=c[s]);return r}:qv,Gv=2147483647,Vv=/[^\0-\u007E]/,Yv=/[.\u3002\uFF0E\uFF61]/g,Xv="Overflow: input needs wider integers to process",Jv=RangeError,Qv=b(Yv.exec),Zv=Math.floor,td=String.fromCharCode,ed=b("".charCodeAt),rd=b([].join),nd=b([].push),od=b("".replace),id=b("".split),ad=b("".toLowerCase),ud=function(t){return t+22+75*(t<26)},sd=function(t,e,r){var n=0;for(t=r?Zv(t/700):t>>1,t+=Zv(t/e);t>455;)t=Zv(t/35),n+=36;return Zv(n+36*t/(t+38))},cd=function(t){var e=[];t=function(t){for(var e=[],r=0,n=t.length;r=55296&&o<=56319&&r=i&&nZv((Gv-a)/l))throw new Jv(Xv);for(a+=(f-i)*l,i=f,r=0;rGv)throw new Jv(Xv);if(n===i){for(var h=a,p=36;;){var v=p<=u?1:p>=u+26?26:p-u;if(h?@[\\\]^|]/,qd=/[\0\t\n\r #/:<>?@[\\\]^|]/,Hd=/^[\u0000-\u0020]+/,$d=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Kd=/[\t\n\r]/g,Gd=function(t){var e,r,n,o;if("number"==typeof t){for(e=[],r=0;r<4;r++)Td(e,t%256),t=md(t/256);return Ed(e,".")}if("object"==typeof t){for(e="",n=function(t){for(var e=null,r=1,n=null,o=0,i=0;i<8;i++)0!==t[i]?(o>r&&(e=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r?n:e}(t),r=0;r<8;r++)o&&0===t[r]||(o&&(o=!1),n===r?(e+=r?":":"::",o=!0):(e+=Od(t[r],16),r<7&&(e+=":")));return"["+e+"]"}return t},Vd={},Yd=Kv({},Vd,{" ":1,'"':1,"<":1,">":1,"`":1}),Xd=Kv({},Yd,{"#":1,"?":1,"{":1,"}":1}),Jd=Kv({},Xd,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Qd=function(t,e){var r=fd(t,0);return r>32&&r<127&&!ut(e,t)?t:encodeURIComponent(t)},Zd={ftp:21,file:null,http:80,https:443,ws:80,wss:443},tg=function(t,e){var r;return 2===t.length&&Sd(Nd,wd(t,0))&&(":"===(r=wd(t,1))||!e&&"|"===r)},eg=function(t){var e;return t.length>1&&tg(kd(t,0,2))&&(2===t.length||"/"===(e=wd(t,2))||"\\"===e||"?"===e||"#"===e)},rg=function(t){return"."===t||"%2e"===Id(t)},ng={},og={},ig={},ag={},ug={},sg={},cg={},fg={},lg={},hg={},pg={},vg={},dg={},gg={},yg={},mg={},bg={},wg={},Sg={},Eg={},Og={},xg=function(t,e,r){var n,o,i,a=Wr(t);if(e){if(o=this.parse(a))throw new gd(o);this.searchParams=null}else{if(void 0!==r&&(n=new xg(r,!0)),o=this.parse(a,null,n))throw new gd(o);(i=vd(new pd)).bindURL(this),this.searchParams=i}};xg.prototype={type:"URL",parse:function(t,e,r){var n,o,i,a,u,s=this,c=e||ng,f=0,l="",h=!1,p=!1,v=!1;for(t=Wr(t),e||(s.scheme="",s.username="",s.password="",s.host=null,s.port=null,s.path=[],s.query=null,s.fragment=null,s.cannotBeABaseURL=!1,t=Pd(t,Hd,""),t=Pd(t,$d,"$1")),t=Pd(t,Kd,""),n=Wn(t);f<=n.length;){switch(o=n[f],c){case ng:if(!o||!Sd(Nd,o)){if(e)return Md;c=ig;continue}l+=Id(o),c=og;break;case og:if(o&&(Sd(Cd,o)||"+"===o||"-"===o||"."===o))l+=Id(o);else{if(":"!==o){if(e)return Md;l="",c=ig,f=0;continue}if(e&&(s.isSpecial()!==ut(Zd,l)||"file"===l&&(s.includesCredentials()||null!==s.port)||"file"===s.scheme&&!s.host))return;if(s.scheme=l,e)return void(s.isSpecial()&&Zd[s.scheme]===s.port&&(s.port=null));l="","file"===s.scheme?c=gg:s.isSpecial()&&r&&r.scheme===s.scheme?c=ag:s.isSpecial()?c=fg:"/"===n[f+1]?(c=ug,f++):(s.cannotBeABaseURL=!0,Rd(s.path,""),c=Sg)}break;case ig:if(!r||r.cannotBeABaseURL&&"#"!==o)return Md;if(r.cannotBeABaseURL&&"#"===o){s.scheme=r.scheme,s.path=vo(r.path),s.query=r.query,s.fragment="",s.cannotBeABaseURL=!0,c=Og;break}c="file"===r.scheme?gg:sg;continue;case ag:if("/"!==o||"/"!==n[f+1]){c=sg;continue}c=lg,f++;break;case ug:if("/"===o){c=hg;break}c=wg;continue;case sg:if(s.scheme=r.scheme,o===Wv)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=vo(r.path),s.query=r.query;else if("/"===o||"\\"===o&&s.isSpecial())c=cg;else if("?"===o)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=vo(r.path),s.query="",c=Eg;else{if("#"!==o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=vo(r.path),s.path.length--,c=wg;continue}s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=vo(r.path),s.query=r.query,s.fragment="",c=Og}break;case cg:if(!s.isSpecial()||"/"!==o&&"\\"!==o){if("/"!==o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,c=wg;continue}c=hg}else c=lg;break;case fg:if(c=lg,"/"!==o||"/"!==wd(l,f+1))continue;f++;break;case lg:if("/"!==o&&"\\"!==o){c=hg;continue}break;case hg:if("@"===o){h&&(l="%40"+l),h=!0,i=Wn(l);for(var d=0;d65535)return Ud;s.port=s.isSpecial()&&m===Zd[s.scheme]?null:m,l=""}if(e)return;c=bg;continue}return Ud}l+=o;break;case gg:if(s.scheme="file","/"===o||"\\"===o)c=yg;else{if(!r||"file"!==r.scheme){c=wg;continue}switch(o){case Wv:s.host=r.host,s.path=vo(r.path),s.query=r.query;break;case"?":s.host=r.host,s.path=vo(r.path),s.query="",c=Eg;break;case"#":s.host=r.host,s.path=vo(r.path),s.query=r.query,s.fragment="",c=Og;break;default:eg(Ed(vo(n,f),""))||(s.host=r.host,s.path=vo(r.path),s.shortenPath()),c=wg;continue}}break;case yg:if("/"===o||"\\"===o){c=mg;break}r&&"file"===r.scheme&&!eg(Ed(vo(n,f),""))&&(tg(r.path[0],!0)?Rd(s.path,r.path[0]):s.host=r.host),c=wg;continue;case mg:if(o===Wv||"/"===o||"\\"===o||"?"===o||"#"===o){if(!e&&tg(l))c=wg;else if(""===l){if(s.host="",e)return;c=bg}else{if(a=s.parseHost(l))return a;if("localhost"===s.host&&(s.host=""),e)return;l="",c=bg}continue}l+=o;break;case bg:if(s.isSpecial()){if(c=wg,"/"!==o&&"\\"!==o)continue}else if(e||"?"!==o)if(e||"#"!==o){if(o!==Wv&&(c=wg,"/"!==o))continue}else s.fragment="",c=Og;else s.query="",c=Eg;break;case wg:if(o===Wv||"/"===o||"\\"===o&&s.isSpecial()||!e&&("?"===o||"#"===o)){if(".."===(u=Id(u=l))||"%2e."===u||".%2e"===u||"%2e%2e"===u?(s.shortenPath(),"/"===o||"\\"===o&&s.isSpecial()||Rd(s.path,"")):rg(l)?"/"===o||"\\"===o&&s.isSpecial()||Rd(s.path,""):("file"===s.scheme&&!s.path.length&&tg(l)&&(s.host&&(s.host=""),l=wd(l,0)+":"),Rd(s.path,l)),l="","file"===s.scheme&&(o===Wv||"?"===o||"#"===o))for(;s.path.length>1&&""===s.path[0];)Ad(s.path);"?"===o?(s.query="",c=Eg):"#"===o&&(s.fragment="",c=Og)}else l+=Qd(o,Xd);break;case Sg:"?"===o?(s.query="",c=Eg):"#"===o?(s.fragment="",c=Og):o!==Wv&&(s.path[0]+=Qd(o,Vd));break;case Eg:e||"#"!==o?o!==Wv&&("'"===o&&s.isSpecial()?s.query+="%27":s.query+="#"===o?"%23":Qd(o,Vd)):(s.fragment="",c=Og);break;case Og:o!==Wv&&(s.fragment+=Qd(o,Yd))}f++}},parseHost:function(t){var e,r,n;if("["===wd(t,0)){if("]"!==wd(t,t.length-1))return Ld;if(e=function(t){var e,r,n,o,i,a,u,s=[0,0,0,0,0,0,0,0],c=0,f=null,l=0,h=function(){return wd(t,l)};if(":"===h()){if(":"!==wd(t,1))return;l+=2,f=++c}for(;h();){if(8===c)return;if(":"!==h()){for(e=r=0;r<4&&Sd(zd,h());)e=16*e+yd(h(),16),l++,r++;if("."===h()){if(0===r)return;if(l-=r,c>6)return;for(n=0;h();){if(o=null,n>0){if(!("."===h()&&n<4))return;l++}if(!Sd(_d,h()))return;for(;Sd(_d,h());){if(i=yd(h(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;l++}s[c]=256*s[c]+o,2!=++n&&4!==n||c++}if(4!==n)return;break}if(":"===h()){if(l++,!h())return}else if(h())return;s[c++]=e}else{if(null!==f)return;l++,f=++c}}if(null!==f)for(a=c-f,c=7;0!==c&&a>0;)u=s[c],s[c--]=s[f+a-1],s[f+--a]=u;else if(8!==c)return;return s}(kd(t,1,-1)),!e)return Ld;this.host=e}else if(this.isSpecial()){if(t=function(t){var e,r,n=[],o=id(od(ad(t),Yv,"."),".");for(e=0;e4)return t;for(r=[],n=0;n1&&"0"===wd(o,0)&&(i=Sd(Fd,o)?16:8,o=kd(o,8===i?1:2)),""===o)a=0;else{if(!Sd(10===i?Dd:8===i?Bd:zd,o))return t;a=yd(o,i)}Rd(r,a)}for(n=0;n=bd(256,5-e))return null}else if(a>255)return null;for(u=xd(r),n=0;n1?arguments[1]:void 0,n=ld(e,new xg(t,!1,r));u||(e.href=n.serialize(),e.origin=n.getOrigin(),e.protocol=n.getProtocol(),e.username=n.getUsername(),e.password=n.getPassword(),e.host=n.getHost(),e.hostname=n.getHostname(),e.port=n.getPort(),e.pathname=n.getPathname(),e.search=n.getSearch(),e.searchParams=n.getSearchParams(),e.hash=n.getHash())},Pg=Rg.prototype,Ag=function(t,e){return{get:function(){return hd(this)[t]()},set:e&&function(t){return hd(this)[e](t)},configurable:!0,enumerable:!0}};if(u&&(so(Pg,"href",Ag("serialize","setHref")),so(Pg,"origin",Ag("getOrigin")),so(Pg,"protocol",Ag("getProtocol","setProtocol")),so(Pg,"username",Ag("getUsername","setUsername")),so(Pg,"password",Ag("getPassword","setPassword")),so(Pg,"host",Ag("getHost","setHost")),so(Pg,"hostname",Ag("getHostname","setHostname")),so(Pg,"port",Ag("getPort","setPort")),so(Pg,"pathname",Ag("getPathname","setPathname")),so(Pg,"search",Ag("getSearch","setSearch")),so(Pg,"searchParams",Ag("getSearchParams")),so(Pg,"hash",Ag("getHash","setHash"))),ie(Pg,"toJSON",function(){return hd(this).serialize()},{enumerable:!0}),ie(Pg,"toString",function(){return hd(this).serialize()},{enumerable:!0}),dd){var jg=dd.createObjectURL,kg=dd.revokeObjectURL;jg&&ie(Rg,"createObjectURL",ar(jg,dd)),kg&&ie(Rg,"revokeObjectURL",ar(kg,dd))}an(Rg,"URL"),Ce({global:!0,constructor:!0,forced:!Mp,sham:!u},{URL:Rg});var Ig=L("URL"),Tg=Mp&&a(function(){Ig.canParse()}),Mg=a(function(){return 1!==Ig.canParse.length});Ce({target:"URL",stat:!0,forced:!Tg||Mg},{canParse:function(t){var e=Up(arguments.length,1),r=Wr(t),n=e<2||void 0===arguments[1]?void 0:Wr(arguments[1]);try{return!!new Ig(r,n)}catch(t){return!1}}});var Lg=L("URL");Ce({target:"URL",stat:!0,forced:!Mp},{parse:function(t){var e=Up(arguments.length,1),r=Wr(t),n=e<2||void 0===arguments[1]?void 0:Wr(arguments[1]);try{return new Lg(r,n)}catch(t){return null}}}),Ce({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return f(URL.prototype.toString,this)}});var Ug=WeakMap.prototype,Ng={WeakMap:WeakMap,set:b(Ug.set),get:b(Ug.get),has:b(Ug.has),remove:b(Ug.delete)},Cg=Ng.has,_g=function(t){return Cg(t),t},Fg=Ng.get,Bg=Ng.has,Dg=Ng.set;Ce({target:"WeakMap",proto:!0,real:!0,forced:!0},{emplace:function(t,e){var r,n,o=_g(this);return Bg(o,t)?(r=Fg(o,t),"update"in e&&(r=e.update(r,t,o),Dg(o,t,r)),r):(n=e.insert(t,o),Dg(o,t,n),n)}}),Ce({target:"WeakMap",stat:!0,forced:!0},{from:ei(Ng.WeakMap,Ng.set,!0)}),Ce({target:"WeakMap",stat:!0,forced:!0},{of:ri(Ng.WeakMap,Ng.set,!0)});var zg=Ng.remove;Ce({target:"WeakMap",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var t,e=_g(this),r=!0,n=0,o=arguments.length;n2&&(n=r,M(o=arguments[2])&&"cause"in o&&_t(n,"cause",o.cause));var s=[];return Ao(t,ny,{that:s}),_t(r,"errors",s),r};dn?dn(oy,ry):Ae(oy,ry,{name:!0});var iy=oy.prototype=Ve(ry.prototype,{constructor:d(1,oy),message:d(1,""),name:d(1,"AggregateError")});Ce({global:!0,constructor:!0,arity:2},{AggregateError:oy});var ay,uy,sy,cy,fy=function(t){return _.slice(0,t.length)===t},ly=fy("Bun/")?"BUN":fy("Cloudflare-Workers")?"CLOUDFLARE":fy("Deno/")?"DENO":fy("Node.js/")?"NODE":i.Bun&&"string"==typeof Bun.version?"BUN":i.Deno&&"object"==typeof Deno.version?"DENO":"process"===E(i.process)?"NODE":i.window&&i.document?"BROWSER":"REST",hy="NODE"===ly,py=/(?:ipad|iphone|ipod).*applewebkit/i.test(_),vy=i.setImmediate,dy=i.clearImmediate,gy=i.process,yy=i.Dispatch,my=i.Function,by=i.MessageChannel,wy=i.String,Sy=0,Ey={},Oy="onreadystatechange";a(function(){ay=i.location});var xy=function(t){if(ut(Ey,t)){var e=Ey[t];delete Ey[t],e()}},Ry=function(t){return function(){xy(t)}},Py=function(t){xy(t.data)},Ay=function(t){i.postMessage(wy(t),ay.protocol+"//"+ay.host)};vy&&dy||(vy=function(t){Up(arguments.length,1);var e=T(t)?t:my(t),r=vo(arguments,1);return Ey[++Sy]=function(){Ra(e,void 0,r)},uy(Sy),Sy},dy=function(t){delete Ey[t]},hy?uy=function(t){gy.nextTick(Ry(t))}:yy&&yy.now?uy=function(t){yy.now(Ry(t))}:by&&!py?(cy=(sy=new by).port2,sy.port1.onmessage=Py,uy=ar(cy.postMessage,cy)):i.addEventListener&&T(i.postMessage)&&!i.importScripts&&ay&&"file:"!==ay.protocol&&!a(Ay)?(uy=Ay,i.addEventListener("message",Py,!1)):uy=Oy in Et("script")?function(t){De.appendChild(Et("script"))[Oy]=function(){De.removeChild(this),xy(t)}}:function(t){setTimeout(Ry(t),0)});var jy={set:vy,clear:dy},ky=function(){this.head=null,this.tail=null};ky.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var Iy,Ty,My,Ly,Uy,Ny=ky,Cy=/ipad|iphone|ipod/i.test(_)&&"undefined"!=typeof Pebble,_y=/web0s(?!.*chrome)/i.test(_),Fy=jy.set,By=i.MutationObserver||i.WebKitMutationObserver,Dy=i.document,zy=i.process,Wy=i.Promise,qy=Ip("queueMicrotask");if(!qy){var Hy=new Ny,$y=function(){var t,e;for(hy&&(t=zy.domain)&&t.exit();e=Hy.get();)try{e()}catch(t){throw Hy.head&&Iy(),t}t&&t.enter()};py||hy||_y||!By||!Dy?!Cy&&Wy&&Wy.resolve?((Ly=Wy.resolve(void 0)).constructor=Wy,Uy=ar(Ly.then,Ly),Iy=function(){Uy($y)}):hy?Iy=function(){zy.nextTick($y)}:(Fy=ar(Fy,i),Iy=function(){Fy($y)}):(Ty=!0,My=Dy.createTextNode(""),new By($y).observe(My,{characterData:!0}),Iy=function(){My.data=Ty=!Ty}),qy=function(t){Hy.head||Iy(),Hy.add(t)}}var Ky,Gy,Vy,Yy=qy,Xy=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Jy=i.Promise,Qy=dt("species"),Zy=!1,tm=T(i.PromiseRejectionEvent),em=Ue("Promise",function(){var t=Kt(Jy),e=t!==String(Jy);if(!e&&66===W)return!0;if(!W||W<51||!/native code/.test(t)){var r=new Jy(function(t){t(1)}),n=function(t){t(function(){},function(){})};if((r.constructor={})[Qy]=n,!(Zy=r.then(function(){})instanceof n))return!0}return!(e||"BROWSER"!==ly&&"DENO"!==ly||tm)}),rm={CONSTRUCTOR:em,REJECTION_EVENT:tm,SUBCLASSING:Zy},nm=TypeError,om=function(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw new nm("Bad Promise constructor");e=t,r=n}),this.resolve=J(e),this.reject=J(r)},im={f:function(t){return new om(t)}},am=jy.set,um="Promise",sm=rm.CONSTRUCTOR,cm=rm.REJECTION_EVENT,fm=rm.SUBCLASSING,lm=ne.getterFor(um),hm=ne.set,pm=Jy&&Jy.prototype,vm=Jy,dm=pm,gm=i.TypeError,ym=i.document,mm=i.process,bm=im.f,wm=bm,Sm=!!(ym&&ym.createEvent&&i.dispatchEvent),Em="unhandledrejection",Om=function(t){var e;return!(!M(t)||!T(e=t.then))&&e},xm=function(t,e){var r,n,o,i=e.value,a=1===e.state,u=a?t.ok:t.fail,s=t.resolve,c=t.reject,l=t.domain;try{u?(a||(2===e.rejection&&km(e),e.rejection=1),!0===u?r=i:(l&&l.enter(),r=u(i),l&&(l.exit(),o=!0)),r===t.promise?c(new gm("Promise-chain cycle")):(n=Om(r))?f(n,r,s,c):s(r)):c(i)}catch(t){l&&!o&&l.exit(),c(t)}},Rm=function(t,e){t.notified||(t.notified=!0,Yy(function(){for(var r,n=t.reactions;r=n.get();)xm(r,t);t.notified=!1,e&&!t.rejection&&Am(t)}))},Pm=function(t,e,r){var n,o;Sm?((n=ym.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),i.dispatchEvent(n)):n={promise:e,reason:r},!cm&&(o=i["on"+t])?o(n):t===Em&&function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}("Unhandled promise rejection",r)},Am=function(t){f(am,i,function(){var e,r=t.facade,n=t.value;if(jm(t)&&(e=Xy(function(){hy?mm.emit("unhandledRejection",n,r):Pm(Em,r,n)}),t.rejection=hy||jm(t)?2:1,e.error))throw e.value})},jm=function(t){return 1!==t.rejection&&!t.parent},km=function(t){f(am,i,function(){var e=t.facade;hy?mm.emit("rejectionHandled",e):Pm("rejectionhandled",e,t.value)})},Im=function(t,e,r){return function(n){t(e,n,r)}},Tm=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,Rm(t,!0))},Mm=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new gm("Promise can't be resolved itself");var n=Om(e);n?Yy(function(){var r={done:!1};try{f(n,e,Im(Mm,r,t),Im(Tm,r,t))}catch(e){Tm(r,e,t)}}):(t.value=e,t.state=1,Rm(t,!1))}catch(e){Tm({done:!1},e,t)}}};if(sm&&(vm=function(t){ko(this,dm),J(t),f(Ky,this);var e=lm(this);try{t(Im(Mm,e),Im(Tm,e))}catch(t){Tm(e,t)}},(Ky=function(t){hm(this,{type:um,done:!1,notified:!1,parent:!1,reactions:new Ny,rejection:!1,state:0,value:null})}).prototype=ie(dm=vm.prototype,"then",function(t,e){var r=lm(this),n=bm(Cc(this,vm));return r.parent=!0,n.ok=!T(t)||t,n.fail=T(e)&&e,n.domain=hy?mm.domain:void 0,0===r.state?r.reactions.add(n):Yy(function(){xm(n,r)}),n.promise}),Gy=function(){var t=new Ky,e=lm(t);this.promise=t,this.resolve=Im(Mm,e),this.reject=Im(Tm,e)},im.f=bm=function(t){return t===vm||void 0===t?new Gy(t):wm(t)},T(Jy)&&pm!==Object.prototype)){Vy=pm.then,fm||ie(pm,"then",function(t,e){var r=this;return new vm(function(t,e){f(Vy,r,t,e)}).then(t,e)},{unsafe:!0});try{delete pm.constructor}catch(t){}dn&&dn(pm,dm)}Ce({global:!0,constructor:!0,wrap:!0,forced:sm},{Promise:vm}),an(vm,um,!1),Uo(um);var Lm=rm.CONSTRUCTOR||!Gn(function(t){Jy.all(t).then(void 0,function(){})});Ce({target:"Promise",stat:!0,forced:Lm},{all:function(t){var e=this,r=im.f(e),n=r.resolve,o=r.reject,i=Xy(function(){var r=J(e.resolve),i=[],a=0,u=1;Ao(t,function(t){var s=a++,c=!1;u++,f(r,e,t).then(function(t){c||(c=!0,i[s]=t,--u||n(i))},o)}),--u||n(i)});return i.error&&o(i.value),r.promise}});var Um=Jy&&Jy.prototype;if(Ce({target:"Promise",proto:!0,forced:rm.CONSTRUCTOR,real:!0},{catch:function(t){return this.then(void 0,t)}}),T(Jy)){var Nm=L("Promise").prototype.catch;Um.catch!==Nm&&ie(Um,"catch",Nm,{unsafe:!0})}Ce({target:"Promise",stat:!0,forced:Lm},{race:function(t){var e=this,r=im.f(e),n=r.reject,o=Xy(function(){var o=J(e.resolve);Ao(t,function(t){f(o,e,t).then(r.resolve,n)})});return o.error&&n(o.value),r.promise}}),Ce({target:"Promise",stat:!0,forced:rm.CONSTRUCTOR},{reject:function(t){var e=im.f(this);return(0,e.reject)(t),e.promise}});var Cm=function(t,e){if(kt(t),M(e)&&e.constructor===t)return e;var r=im.f(t);return(0,r.resolve)(e),r.promise};Ce({target:"Promise",stat:!0,forced:rm.CONSTRUCTOR},{resolve:function(t){return Cm(this,t)}}),Ce({target:"Promise",stat:!0,forced:Lm},{allSettled:function(t){var e=this,r=im.f(e),n=r.resolve,o=r.reject,i=Xy(function(){var r=J(e.resolve),o=[],i=0,a=1;Ao(t,function(t){var u=i++,s=!1;a++,f(r,e,t).then(function(t){s||(s=!0,o[u]={status:"fulfilled",value:t},--a||n(o))},function(t){s||(s=!0,o[u]={status:"rejected",reason:t},--a||n(o))})}),--a||n(o)});return i.error&&o(i.value),r.promise}});var _m="No one promise resolved";Ce({target:"Promise",stat:!0,forced:Lm},{any:function(t){var e=this,r=L("AggregateError"),n=im.f(e),o=n.resolve,i=n.reject,a=Xy(function(){var n=J(e.resolve),a=[],u=0,s=1,c=!1;Ao(t,function(t){var l=u++,h=!1;s++,f(n,e,t).then(function(t){h||c||(c=!0,o(t))},function(t){h||c||(h=!0,a[l]=t,--s||i(new r(a,_m)))})}),--s||i(new r(a,_m))});return a.error&&i(a.value),n.promise}}),Ce({target:"Promise",stat:!0},{withResolvers:function(){var t=im.f(this);return{promise:t.promise,resolve:t.resolve,reject:t.reject}}});var Fm=Jy&&Jy.prototype,Bm=!!Jy&&a(function(){Fm.finally.call({then:function(){}},function(){})});if(Ce({target:"Promise",proto:!0,real:!0,forced:Bm},{finally:function(t){var e=Cc(this,L("Promise")),r=T(t);return this.then(r?function(r){return Cm(e,t()).then(function(){return r})}:t,r?function(r){return Cm(e,t()).then(function(){throw r})}:t)}}),T(Jy)){var Dm=L("Promise").prototype.finally;Fm.finally!==Dm&&ie(Fm,"finally",Dm,{unsafe:!0})}var zm=i.Promise,Wm=!1,qm=!zm||!zm.try||Xy(function(){zm.try(function(t){Wm=8===t},8)}).error||!Wm;Ce({target:"Promise",stat:!0,forced:qm},{try:function(t){var e=arguments.length>1?vo(arguments,1):[],r=im.f(this),n=Xy(function(){return Ra(J(t),void 0,e)});return(n.error?r.reject:r.resolve)(n.value),r.promise}}),Ze("Promise","finally");var Hm="URLSearchParams"in self,$m="Symbol"in self&&"iterator"in Symbol,Km="FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(t){return!1}}(),Gm="FormData"in self,Vm="ArrayBuffer"in self;if(Vm)var Ym=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Xm=ArrayBuffer.isView||function(t){return t&&Ym.indexOf(Object.prototype.toString.call(t))>-1};function Jm(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function Qm(t){return"string"!=typeof t&&(t=String(t)),t}function Zm(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return $m&&(e[Symbol.iterator]=function(){return e}),e}function tb(t){this.map={},t instanceof tb?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function eb(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function rb(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function nb(t){var e=new FileReader,r=rb(e);return e.readAsArrayBuffer(t),r}function ob(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function ib(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:Km&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:Gm&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:Hm&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():Vm&&Km&&(e=t)&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=ob(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Vm&&(ArrayBuffer.prototype.isPrototypeOf(t)||Xm(t))?this._bodyArrayBuffer=ob(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Hm&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Km&&(this.blob=function(){var t=eb(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?eb(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(nb)}),this.text=function(){var t=eb(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,r=rb(e);return e.readAsText(t),r}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n-1?e:t}(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function sb(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}}),e}function cb(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new tb(e.headers),this.url=e.url||"",this._initBody(t)}ub.prototype.clone=function(){return new ub(this,{body:this._bodyInit})},ib.call(ub.prototype),ib.call(cb.prototype),cb.prototype.clone=function(){return new cb(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new tb(this.headers),url:this.url})},cb.error=function(){var t=new cb(null,{status:0,statusText:""});return t.type="error",t};var fb=[301,302,303,307,308];cb.redirect=function(t,e){if(-1===fb.indexOf(e))throw new RangeError("Invalid status code");return new cb(null,{status:e,headers:{location:t}})};var lb=self.DOMException;try{new lb}catch(t){(lb=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),lb.prototype.constructor=lb}function hb(t,e){return new Promise(function(r,n){var o=new ub(t,e);if(o.signal&&o.signal.aborted)return n(new lb("Aborted","AbortError"));var i=new XMLHttpRequest;function a(){i.abort()}i.onload=function(){var t,e,n={status:i.status,statusText:i.statusText,headers:(t=i.getAllResponseHeaders()||"",e=new tb,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(t){var r=t.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();e.append(n,o)}}),e)};n.url="responseURL"in i?i.responseURL:n.headers.get("X-Request-URL"),r(new cb("response"in i?i.response:i.responseText,n))},i.onerror=function(){n(new TypeError("Network request failed"))},i.ontimeout=function(){n(new TypeError("Network request failed"))},i.onabort=function(){n(new lb("Aborted","AbortError"))},i.open(o.method,o.url,!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&Km&&(i.responseType="blob"),o.headers.forEach(function(t,e){i.setRequestHeader(e,t)}),o.signal&&(o.signal.addEventListener("abort",a),i.onreadystatechange=function(){4===i.readyState&&o.signal.removeEventListener("abort",a)}),i.send(void 0===o._bodyInit?null:o._bodyInit)})}hb.polyfill=!0,self.fetch||(self.fetch=hb,self.Headers=tb,self.Request=ub,self.Response=cb);var pb=Object.getOwnPropertySymbols,vb=Object.prototype.hasOwnProperty,db=Object.prototype.propertyIsEnumerable,gb=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(t){n[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var r,n,o=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),i=1;i{(t.exports=function(e){this.top=e.top,this.left=e.left,this.width=e.width,this.spacing=e.spacing,this.targetRowHeight=e.targetRowHeight,this.targetRowHeightTolerance=e.targetRowHeightTolerance,this.minAspectRatio=this.width/e.targetRowHeight*(1-e.targetRowHeightTolerance),this.maxAspectRatio=this.width/e.targetRowHeight*(1+e.targetRowHeightTolerance),this.edgeCaseMinRowHeight=e.edgeCaseMinRowHeight,this.edgeCaseMaxRowHeight=e.edgeCaseMaxRowHeight,this.widowLayoutStyle=e.widowLayoutStyle,this.isBreakoutRow=e.isBreakoutRow,this.items=[],this.height=0}).prototype={addItem:function(e){var t,i,n=this.items.concat(e),o=this.width-(n.length-1)*this.spacing,r=n.reduce(function(e,t){return e+t.aspectRatio},0),s=o/this.targetRowHeight;return this.isBreakoutRow&&0===this.items.length&&e.aspectRatio>=1?(this.items.push(e),this.completeLayout(o/e.aspectRatio,"justify"),!0):rthis.maxAspectRatio?0===this.items.length?(this.items.push(Object.assign({},e)),this.completeLayout(o/r,"justify"),!0):(t=this.width-(this.items.length-1)*this.spacing,Math.abs(r-s)>Math.abs((i=this.items.reduce(function(e,t){return e+t.aspectRatio},0))-t/this.targetRowHeight))?(this.completeLayout(t/i,"justify"),!1):(this.items.push(Object.assign({},e)),this.completeLayout(o/r,"justify"),!0):(this.items.push(Object.assign({},e)),this.completeLayout(o/r,"justify"),!0)},isLayoutComplete:function(){return this.height>0},completeLayout:function(e,t){var i,n,o,r,s,a,l=this.left,d=this.width-(this.items.length-1)*this.spacing;(void 0===t||0>["justify","center","left"].indexOf(t))&&(t="left"),n=Math.max(this.edgeCaseMinRowHeight,Math.min(e,this.edgeCaseMaxRowHeight)),e!==n?(this.height=n,i=d/n/(d/e)):(this.height=e,i=1),this.items.forEach(function(e){e.top=this.top,e.width=e.aspectRatio*this.height*i,e.height=this.height,e.left=l,l+=e.width+this.spacing},this),"justify"===t?(l-=this.spacing+this.left,o=(l-this.width)/this.items.length,r=this.items.map(function(e,t){return Math.round((t+1)*o)}),1===this.items.length?(s=this.items[0],s.width-=Math.round(o)):this.items.forEach(function(e,t){t>0?(e.left-=r[t-1],e.width-=r[t]-r[t-1]):e.width-=r[t]})):"center"===t&&(a=(this.width-l)/2,this.items.forEach(function(e){e.left+=a+this.spacing},this))},forceComplete:function(e,t){"number"==typeof t?this.completeLayout(t,this.widowLayoutStyle):this.completeLayout(this.targetRowHeight,this.widowLayoutStyle)},getItems:function(){return this.items}}},49279,(e,t,i)=>{"use strict";var n=e.r(9556);function o(e,t){var i;return!1!==e.fullWidthBreakoutRowCadence&&(t._rows.length+1)%e.fullWidthBreakoutRowCadence==0&&(i=!0),new n({top:t._containerHeight,left:e.containerPadding.left,width:e.containerWidth-e.containerPadding.left-e.containerPadding.right,spacing:e.boxSpacing.horizontal,targetRowHeight:e.targetRowHeight,targetRowHeightTolerance:e.targetRowHeightTolerance,edgeCaseMinRowHeight:.5*e.targetRowHeight,edgeCaseMaxRowHeight:2*e.targetRowHeight,rightToLeft:!1,isBreakoutRow:i,widowLayoutStyle:e.widowLayoutStyle})}function r(e,t,i){return t._rows.push(i),t._layoutItems=t._layoutItems.concat(i.getItems()),t._containerHeight+=i.height+e.boxSpacing.vertical,i.items}t.exports=function(e,t){var i,n,s,a,l,d,h={},u={},c={},p={};return c.top=isNaN(parseFloat((h=Object.assign({containerWidth:1060,containerPadding:10,boxSpacing:10,targetRowHeight:320,targetRowHeightTolerance:.25,maxNumRows:1/0,forceAspectRatio:!1,showWidows:!0,fullWidthBreakoutRowCadence:!1,widowLayoutStyle:"left"},t=t||{})).containerPadding.top))?h.containerPadding:h.containerPadding.top,c.right=isNaN(parseFloat(h.containerPadding.right))?h.containerPadding:h.containerPadding.right,c.bottom=isNaN(parseFloat(h.containerPadding.bottom))?h.containerPadding:h.containerPadding.bottom,c.left=isNaN(parseFloat(h.containerPadding.left))?h.containerPadding:h.containerPadding.left,p.horizontal=isNaN(parseFloat(h.boxSpacing.horizontal))?h.boxSpacing:h.boxSpacing.horizontal,p.vertical=isNaN(parseFloat(h.boxSpacing.vertical))?h.boxSpacing:h.boxSpacing.vertical,h.containerPadding=c,h.boxSpacing=p,u._layoutItems=[],u._awakeItems=[],u._inViewportItems=[],u._leadingOrphans=[],u._trailingOrphans=[],u._containerHeight=h.containerPadding.top,u._rows=[],u._orphans=[],h._widowCount=0,i=h,n=e.map(function(e){return e.width&&e.height?{aspectRatio:e.width/e.height}:{aspectRatio:e}}),d=[],i.forceAspectRatio&&n.forEach(function(e){e.forcedAspectRatio=!0,e.aspectRatio=i.forceAspectRatio}),n.some(function(e,t){if(isNaN(e.aspectRatio))throw Error("Item "+t+" has an invalid aspect ratio");if(a||(a=o(i,u)),s=a.addItem(e),a.isLayoutComplete()){if(d=d.concat(r(i,u,a)),u._rows.length>=i.maxNumRows)return a=null,!0;if(a=o(i,u),!s&&(s=a.addItem(e),a.isLayoutComplete())){if(d=d.concat(r(i,u,a)),u._rows.length>=i.maxNumRows)return a=null,!0;a=o(i,u)}}}),a&&a.getItems().length&&i.showWidows&&(u._rows.length?(l=u._rows[u._rows.length-1].isBreakoutRow?u._rows[u._rows.length-1].targetRowHeight:u._rows[u._rows.length-1].height,a.forceComplete(!1,l)):a.forceComplete(!1),d=d.concat(r(i,u,a)),i._widowCount=a.getItems().length),u._containerHeight=u._containerHeight-i.boxSpacing.vertical,u._containerHeight=u._containerHeight+i.containerPadding.bottom,{containerHeight:u._containerHeight,widowCount:i._widowCount,boxes:u._layoutItems}}},50912,e=>{"use strict";let t,i,n,o,r,s,a,l,d,h,u,c,p,m,g,f,v,b,_,w,y,x,C,D,S,k;var E,P,A,I,T,z,M,G,R,N,O,L,j,V,W,H,F,$,B,U,K,q=e.i(48277),X=e.i(39057),Z=e.i(30668);let J=e=>{let t,i=new Set,n=(e,n)=>{let o="function"==typeof e?e(t):e;if(!Object.is(o,t)){let e=t;t=(null!=n?n:"object"!=typeof o||null===o)?o:Object.assign({},t,o),i.forEach(i=>i(t,e))}},o=()=>t,r={setState:n,getState:o,getInitialState:()=>s,subscribe:e=>(i.add(e),()=>i.delete(e))},s=t=e(n,o,r);return r},Y=e=>{let t=e?J(e):J,i=e=>(function(e,t=e=>e){let i=Z.default.useSyncExternalStore(e.subscribe,Z.default.useCallback(()=>t(e.getState()),[e,t]),Z.default.useCallback(()=>t(e.getInitialState()),[e,t]));return Z.default.useDebugValue(i),i})(t,e);return Object.assign(i,t),i},Q=e=>e?Y(e):Y,ee="undefined",et="#39d3cc",ei="#8b949e",en=["auto","classic20","tab10","tab20","wong"],eo=["#e6194b","#3cb44b","#ffe119","#4363d8","#f58231","#911eb4","#46f0f0","#f032e6","#bcf60c","#fabebe","#008080","#e6beff","#9a6324","#fffac8","#800000","#aaffc3","#808000","#ffd8b1","#000075","#808080"],er=["#4e79a7","#f28e2b","#e15759","#76b7b2","#59a14f","#edc948","#b07aa1","#ff9da7","#9c755f","#bab0ab"],es=["#1f77b4","#aec7e8","#ff7f0e","#ffbb78","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5","#8c564b","#c49c94","#e377c2","#f7b6d2","#7f7f7f","#c7c7c7","#bcbd22","#dbdb8d","#17becf","#9edae5"],ea=["#e69f00","#56b4e9","#009e73","#f0e442","#0072b2","#d55e00","#cc79a7"];function el(e){return e<0?0:e>1?1:e}function ed(e,t){let i=[.72,.64,.78],n=[.46,.54,.38,.62];return function(e,t,i){let n=(e%360+360)%360/360%1,o=el(t),r=el(i),s=r,a=r,l=r;if(o>0){let e=r<.5?r*(1+o):r+o-r*o,t=2*r-e,i=i=>{let n=i;return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?t+(e-t)*6*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t};s=i(n+1/3),a=i(n),l=i(n-1/3)}let d=e=>Math.round(255*el(e)).toString(16).padStart(2,"0");return`#${d(s)}${d(a)}${d(l)}`}((("tab10"===t?17:"tab20"===t?43:"wong"===t?71:"classic20"===t?101:131)+137.508*e)%360,i[e%i.length],n[Math.floor(e/i.length)%n.length])}function eh(e,t){return e===ee&&t!==ee?1:t===ee&&e!==ee?-1:e.localeCompare(t)}function eu(e,t,i){let n={},o=new Set,r=0,s=0;for(let a of e){if(a===ee){n[a]=et,o.add(et.toLowerCase());continue}let e=r=t.length&&(s+=1),o.has(e.toLowerCase())&&(e=ei),n[a]=e,o.add(e.toLowerCase()),r+=1}return n}function ec(e){return e&&e.length>0?e:ee}function ep(){return{isLassoSelection:!1,lassoQuery:null,lassoSamples:[],lassoTotal:0,lassoIsLoading:!1}}function em(){return{neighborsResults:[],neighborsMetric:null,neighborsLoading:!1,neighborsError:null}}function eg(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}let ef=Q(e=>({datasetInfo:null,setDatasetInfo:t=>e({datasetInfo:t}),activeWorkspaceId:null,workspaces:[],runtimeDatasetName:null,customPanels:[],panelDefinitions:[],runtimeCollections:[],panelStates:{},workspaceLayout:null,workspaceLayoutRevision:0,setWorkspaceLayoutLocal:t=>e({workspaceLayout:t}),hasExplicitView:!1,activePanelId:null,viewRevision:0,requestedLayoutKey:null,layoutViews:{},setLayoutViewCamera:(t,i)=>e(e=>({layoutViews:{...e.layoutViews,[t]:{...e.layoutViews[t]??{},camera_3d:i}}})),applyRuntimeSnapshot:t=>e(e=>{let i=t.active_workspace_id,n=t.workspace.dataset_name,o=e.activeWorkspaceId!==i||e.runtimeDatasetName!==n,r=t.workspace.ui.panels?.samples?.state??{},s=function(e){if(!eg(e))return null;let t="string"==typeof e.anchor_sample_id&&e.anchor_sample_id.length>0?e.anchor_sample_id:null,i="string"==typeof e.query_text&&e.query_text.length>0?e.query_text:null;if(!t&&!i)return null;let n="number"==typeof e.k?e.k:Number(e.k??18);return{anchor_sample_id:t,query_text:i,layout_key:"string"==typeof e.layout_key?e.layout_key:null,space_key:"string"==typeof e.space_key?e.space_key:null,k:Number.isFinite(n)?Math.max(1,Math.min(n,100)):18,source:"string"==typeof e.source?e.source:null}}(r.retrieval),a=s?[]:t.workspace.ui.selected_ids,l=function(e){if("collection"!==e.mode||!eg(e.collection))return null;let t=e.collection;if("filter"!==t.kind||!eg(t.query))return null;let{field:i,op:n,value:o}=t.query;return"label"!==i||"eq"!==n?null:ec("string"==typeof o?o:null)}(r);return{...o?{datasetInfo:null,samples:[],totalSamples:0,samplesLoaded:0,embeddingsByLayoutKey:{},runtimeCollections:[],panelStates:{},activeLayoutKey:null,activeSimilarityQuery:null,selectionLayoutKey:null,labelFilter:null,hoveredId:null,isLoading:!1,error:null}:{},activeWorkspaceId:i,workspaces:t.workspaces,runtimeDatasetName:n,customPanels:t.workspace.ui.custom_panels,panelDefinitions:t.panel_definitions??[],runtimeCollections:t.workspace.collections??[],panelStates:t.workspace.ui.panels??{},workspaceLayout:t.workspace.ui.layout??null,workspaceLayoutRevision:t.workspace.ui.layout_revision??0,hasExplicitView:t.workspace.ui.has_explicit_view,activePanelId:t.workspace.ui.active_panel_id,viewRevision:t.workspace.ui.view_revision??0,requestedLayoutKey:t.workspace.ui.active_layout_key,layoutViews:t.workspace.ui.layout_views??{},selectedIds:new Set(a),selectionSource:a.length>0?"scatter":null,selectionLayoutKey:null,activeSimilarityQuery:s,labelFilter:l,...ep(),...em()}}),samples:[],totalSamples:0,samplesLoaded:0,setSamples:(t,i)=>e({samples:t,totalSamples:i,samplesLoaded:t.length}),appendSamples:t=>e(e=>{let i=new Set(e.samples.map(e=>e.id)),n=t.filter(e=>!i.has(e.id)),o=e.samplesLoaded+t.length;return 0===n.length?{samplesLoaded:o}:{samples:[...e.samples,...n],samplesLoaded:o}}),addSamplesIfMissing:t=>e(e=>{let i=new Set(e.samples.map(e=>e.id)),n=t.filter(e=>!i.has(e.id));return 0===n.length?e:{samples:[...e.samples,...n]}}),embeddingsByLayoutKey:{},setEmbeddingsForLayout:(t,i)=>e(e=>({embeddingsByLayoutKey:{...e.embeddingsByLayoutKey,[t]:i}})),activeLayoutKey:null,setActiveLayoutKey:t=>e({activeLayoutKey:t}),activeSimilarityQuery:null,labelFilter:null,setLabelFilter:t=>{e({labelFilter:t?ec(t):null,selectedIds:new Set,selectionSource:null,selectionLayoutKey:null,activeSimilarityQuery:null,...ep(),...em()})},selectedIds:new Set,isLassoSelection:!1,selectionSource:null,selectionLayoutKey:null,setSelectedIds:(t,i="grid",n=null)=>e(e=>{let o=t.size>0?i:null,r="scatter"===o?n:null;return!e.isLassoSelection&&function(e,t){if(e.size!==t.size)return!1;for(let i of e)if(!t.has(i))return!1;return!0}(e.selectedIds,t)?e.selectionSource===o&&e.selectionLayoutKey===r?e:{selectionSource:o,selectionLayoutKey:r}:{selectedIds:t,selectionSource:o,selectionLayoutKey:r,activeSimilarityQuery:e.activeSimilarityQuery?.anchor_sample_id&&t.has(e.activeSimilarityQuery.anchor_sample_id)?e.activeSimilarityQuery:null,...ep(),...em()}}),toggleSelection:t=>e(e=>{let i=new Set(e.selectedIds);return i.has(t)?i.delete(t):i.add(t),{selectedIds:i,selectionSource:i.size>0?"grid":null,selectionLayoutKey:null,activeSimilarityQuery:e.activeSimilarityQuery?.anchor_sample_id&&i.has(e.activeSimilarityQuery.anchor_sample_id)?e.activeSimilarityQuery:null,...ep(),...em()}}),addToSelection:t=>e(e=>{let i=new Set(e.selectedIds);return t.forEach(e=>i.add(e)),{selectedIds:i,selectionSource:i.size>0?"grid":null,selectionLayoutKey:null,activeSimilarityQuery:e.activeSimilarityQuery?.anchor_sample_id&&i.has(e.activeSimilarityQuery.anchor_sample_id)?e.activeSimilarityQuery:null,...ep(),...em()}}),clearSelection:()=>e({selectedIds:new Set,selectionSource:null,selectionLayoutKey:null,activeSimilarityQuery:null,...ep(),...em()}),lassoQuery:null,lassoSamples:[],lassoTotal:0,lassoIsLoading:!1,beginLassoSelection:t=>e({selectedIds:new Set,selectionSource:"lasso",selectionLayoutKey:null,activeSimilarityQuery:null,isLassoSelection:!0,lassoQuery:t,lassoSamples:[],lassoTotal:0,lassoIsLoading:!0,...em()}),setLassoResults:(t,i,n=!1)=>e(e=>({lassoSamples:n?[...e.lassoSamples,...t]:t,lassoTotal:i,lassoIsLoading:!1})),clearLassoSelection:()=>e({selectionSource:null,...ep()}),...em(),beginNeighborsQuery:(t=!0)=>e(e=>({neighborsResults:t?[]:e.neighborsResults,neighborsMetric:t?null:e.neighborsMetric,neighborsLoading:!0,neighborsError:null})),setNeighborsResults:(t,i)=>e({neighborsResults:t,neighborsMetric:i,neighborsLoading:!1,neighborsError:null}),setNeighborsError:t=>e({neighborsLoading:!1,neighborsError:t}),clearNeighbors:()=>e(em()),hoveredId:null,setHoveredId:t=>e({hoveredId:t}),isLoading:!1,setIsLoading:t=>e({isLoading:t}),error:null,setError:t=>e({error:t}),sampleGridSize:"medium",setSampleGridSize:t=>e({sampleGridSize:t}),scatterLabelOverlayMode:"off",setScatterLabelOverlayMode:t=>e({scatterLabelOverlayMode:t})}));function ev(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function eb(...e){return t=>{let i=!1,n=e.map(e=>{let n=ev(e,t);return i||"function"!=typeof n||(i=!0),n});if(i)return()=>{for(let t=0;t{let{children:i,...n}=e;if(ex(i)&&"function"==typeof ey&&(i=ey(i._payload)),Z.isValidElement(i)){var o;let e,r,s=(o=i,(r=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(r=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),a=function(e,t){let i={...t};for(let n in t){let o=e[n],r=t[n];/^on[A-Z]/.test(n)?o&&r?i[n]=(...e)=>{let t=r(...e);return o(...e),t}:o&&(i[n]=o):"style"===n?i[n]={...o,...r}:"className"===n&&(i[n]=[o,r].filter(Boolean).join(" "))}return{...e,...i}}(n,i.props);return i.type!==Z.Fragment&&(a.ref=t?eb(t,s):s),Z.cloneElement(i,a)}return Z.Children.count(i)>1?Z.Children.only(null):null})).displayName="Slot.SlotClone",i=x,(n=Z.forwardRef((e,t)=>{let{children:n,...o}=e;ex(n)&&"function"==typeof ey&&(n=ey(n._payload));let r=Z.Children.toArray(n),s=r.find(eS);if(s){let e=s.props.children,n=r.map(t=>t!==s?t:Z.Children.count(e)>1?Z.Children.only(null):Z.isValidElement(e)?e.props.children:null);return(0,q.jsx)(i,{...o,ref:t,children:Z.isValidElement(e)?Z.cloneElement(e,void 0,n):null})}return(0,q.jsx)(i,{...o,ref:t,children:n})})).displayName="Slot.Slot",n),eD=Symbol("radix.slottable");function eS(e){return Z.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===eD}function ek(){for(var e,t,i=0,n="",o=arguments.length;i"boolean"==typeof e?`${e}`:0===e?"0":e,eP=(e=new Map,t=null,i)=>({nextPart:e,validators:t,classGroupId:i}),eA=[],eI=(e,t,i)=>{if(0==e.length-t)return i.classGroupId;let n=e[t],o=i.nextPart.get(n);if(o){let i=eI(e,t+1,o);if(i)return i}let r=i.validators;if(null===r)return;let s=0===t?e.join("-"):e.slice(t).join("-"),a=r.length;for(let e=0;e{let i=eP();for(let n in e)ez(e[n],i,n,t);return i},ez=(e,t,i,n)=>{let o=e.length;for(let r=0;r{"string"==typeof e?eG(e,t,i):"function"==typeof e?eR(e,t,i,n):eN(e,t,i,n)},eG=(e,t,i)=>{(""===e?t:eO(t,e)).classGroupId=i},eR=(e,t,i,n)=>{eL(e)?ez(e(n),t,i,n):(null===t.validators&&(t.validators=[]),t.validators.push({classGroupId:i,validator:e}))},eN=(e,t,i,n)=>{let o=Object.entries(e),r=o.length;for(let e=0;e{let i=e,n=t.split("-"),o=n.length;for(let e=0;e"isThemeGetter"in e&&!0===e.isThemeGetter,ej=[],eV=(e,t,i,n,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:i,maybePostfixModifierPosition:n,isExternal:o}),eW=/\s+/,eH=e=>{let t;if("string"==typeof e)return e;let i="";for(let n=0;n{let t=t=>t[e]||eF;return t.isThemeGetter=!0,t},eB=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,eU=/^\((?:(\w[\w-]*):)?(.+)\)$/i,eK=/^\d+\/\d+$/,eq=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,eX=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,eZ=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,eJ=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,eY=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,eQ=e=>eK.test(e),e0=e=>!!e&&!Number.isNaN(Number(e)),e1=e=>!!e&&Number.isInteger(Number(e)),e2=e=>e.endsWith("%")&&e0(e.slice(0,-1)),e5=e=>eq.test(e),e3=()=>!0,e4=e=>eX.test(e)&&!eZ.test(e),e6=()=>!1,e8=e=>eJ.test(e),e9=e=>eY.test(e),e7=e=>!tt(e)&&!ta(e),te=e=>tm(e,tb,e6),tt=e=>eB.test(e),ti=e=>tm(e,t_,e4),tn=e=>tm(e,tw,e0),to=e=>tm(e,tf,e6),tr=e=>tm(e,tv,e9),ts=e=>tm(e,tx,e8),ta=e=>eU.test(e),tl=e=>tg(e,t_),td=e=>tg(e,ty),th=e=>tg(e,tf),tu=e=>tg(e,tb),tc=e=>tg(e,tv),tp=e=>tg(e,tx,!0),tm=(e,t,i)=>{let n=eB.exec(e);return!!n&&(n[1]?t(n[1]):i(n[2]))},tg=(e,t,i=!1)=>{let n=eU.exec(e);return!!n&&(n[1]?t(n[1]):i)},tf=e=>"position"===e||"percentage"===e,tv=e=>"image"===e||"url"===e,tb=e=>"length"===e||"size"===e||"bg-size"===e,t_=e=>"length"===e,tw=e=>"number"===e,ty=e=>"family-name"===e,tx=e=>"shadow"===e,tC=(E=()=>{let e=e$("color"),t=e$("font"),i=e$("text"),n=e$("font-weight"),o=e$("tracking"),r=e$("leading"),s=e$("breakpoint"),a=e$("container"),l=e$("spacing"),d=e$("radius"),h=e$("shadow"),u=e$("inset-shadow"),c=e$("text-shadow"),p=e$("drop-shadow"),m=e$("blur"),g=e$("perspective"),f=e$("aspect"),v=e$("ease"),b=e$("animate"),_=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],y=()=>[...w(),ta,tt],x=()=>["auto","hidden","clip","visible","scroll"],C=()=>["auto","contain","none"],D=()=>[ta,tt,l],S=()=>[eQ,"full","auto",...D()],k=()=>[e1,"none","subgrid",ta,tt],E=()=>["auto",{span:["full",e1,ta,tt]},e1,ta,tt],P=()=>[e1,"auto",ta,tt],A=()=>["auto","min","max","fr",ta,tt],I=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],T=()=>["start","end","center","stretch","center-safe","end-safe"],z=()=>["auto",...D()],M=()=>[eQ,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...D()],G=()=>[e,ta,tt],R=()=>[...w(),th,to,{position:[ta,tt]}],N=()=>["no-repeat",{repeat:["","x","y","space","round"]}],O=()=>["auto","cover","contain",tu,te,{size:[ta,tt]}],L=()=>[e2,tl,ti],j=()=>["","none","full",d,ta,tt],V=()=>["",e0,tl,ti],W=()=>["solid","dashed","dotted","double"],H=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],F=()=>[e0,e2,th,to],$=()=>["","none",m,ta,tt],B=()=>["none",e0,ta,tt],U=()=>["none",e0,ta,tt],K=()=>[e0,ta,tt],q=()=>[eQ,"full",...D()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[e5],breakpoint:[e5],color:[e3],container:[e5],"drop-shadow":[e5],ease:["in","out","in-out"],font:[e7],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[e5],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[e5],shadow:[e5],spacing:["px",e0],text:[e5],"text-shadow":[e5],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",eQ,tt,ta,f]}],container:["container"],columns:[{columns:[e0,tt,ta,a]}],"break-after":[{"break-after":_()}],"break-before":[{"break-before":_()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:y()}],overflow:[{overflow:x()}],"overflow-x":[{"overflow-x":x()}],"overflow-y":[{"overflow-y":x()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:S()}],"inset-x":[{"inset-x":S()}],"inset-y":[{"inset-y":S()}],start:[{start:S()}],end:[{end:S()}],top:[{top:S()}],right:[{right:S()}],bottom:[{bottom:S()}],left:[{left:S()}],visibility:["visible","invisible","collapse"],z:[{z:[e1,"auto",ta,tt]}],basis:[{basis:[eQ,"full","auto",a,...D()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[e0,eQ,"auto","initial","none",tt]}],grow:[{grow:["",e0,ta,tt]}],shrink:[{shrink:["",e0,ta,tt]}],order:[{order:[e1,"first","last","none",ta,tt]}],"grid-cols":[{"grid-cols":k()}],"col-start-end":[{col:E()}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":k()}],"row-start-end":[{row:E()}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":A()}],"auto-rows":[{"auto-rows":A()}],gap:[{gap:D()}],"gap-x":[{"gap-x":D()}],"gap-y":[{"gap-y":D()}],"justify-content":[{justify:[...I(),"normal"]}],"justify-items":[{"justify-items":[...T(),"normal"]}],"justify-self":[{"justify-self":["auto",...T()]}],"align-content":[{content:["normal",...I()]}],"align-items":[{items:[...T(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...T(),{baseline:["","last"]}]}],"place-content":[{"place-content":I()}],"place-items":[{"place-items":[...T(),"baseline"]}],"place-self":[{"place-self":["auto",...T()]}],p:[{p:D()}],px:[{px:D()}],py:[{py:D()}],ps:[{ps:D()}],pe:[{pe:D()}],pt:[{pt:D()}],pr:[{pr:D()}],pb:[{pb:D()}],pl:[{pl:D()}],m:[{m:z()}],mx:[{mx:z()}],my:[{my:z()}],ms:[{ms:z()}],me:[{me:z()}],mt:[{mt:z()}],mr:[{mr:z()}],mb:[{mb:z()}],ml:[{ml:z()}],"space-x":[{"space-x":D()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":D()}],"space-y-reverse":["space-y-reverse"],size:[{size:M()}],w:[{w:[a,"screen",...M()]}],"min-w":[{"min-w":[a,"screen","none",...M()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...M()]}],h:[{h:["screen","lh",...M()]}],"min-h":[{"min-h":["screen","lh","none",...M()]}],"max-h":[{"max-h":["screen","lh",...M()]}],"font-size":[{text:["base",i,tl,ti]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,ta,tn]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",e2,tt]}],"font-family":[{font:[td,tt,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,ta,tt]}],"line-clamp":[{"line-clamp":[e0,"none",ta,tn]}],leading:[{leading:[r,...D()]}],"list-image":[{"list-image":["none",ta,tt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ta,tt]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:G()}],"text-color":[{text:G()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:[e0,"from-font","auto",ta,ti]}],"text-decoration-color":[{decoration:G()}],"underline-offset":[{"underline-offset":[e0,"auto",ta,tt]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ta,tt]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ta,tt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:R()}],"bg-repeat":[{bg:N()}],"bg-size":[{bg:O()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},e1,ta,tt],radial:["",ta,tt],conic:[e1,ta,tt]},tc,tr]}],"bg-color":[{bg:G()}],"gradient-from-pos":[{from:L()}],"gradient-via-pos":[{via:L()}],"gradient-to-pos":[{to:L()}],"gradient-from":[{from:G()}],"gradient-via":[{via:G()}],"gradient-to":[{to:G()}],rounded:[{rounded:j()}],"rounded-s":[{"rounded-s":j()}],"rounded-e":[{"rounded-e":j()}],"rounded-t":[{"rounded-t":j()}],"rounded-r":[{"rounded-r":j()}],"rounded-b":[{"rounded-b":j()}],"rounded-l":[{"rounded-l":j()}],"rounded-ss":[{"rounded-ss":j()}],"rounded-se":[{"rounded-se":j()}],"rounded-ee":[{"rounded-ee":j()}],"rounded-es":[{"rounded-es":j()}],"rounded-tl":[{"rounded-tl":j()}],"rounded-tr":[{"rounded-tr":j()}],"rounded-br":[{"rounded-br":j()}],"rounded-bl":[{"rounded-bl":j()}],"border-w":[{border:V()}],"border-w-x":[{"border-x":V()}],"border-w-y":[{"border-y":V()}],"border-w-s":[{"border-s":V()}],"border-w-e":[{"border-e":V()}],"border-w-t":[{"border-t":V()}],"border-w-r":[{"border-r":V()}],"border-w-b":[{"border-b":V()}],"border-w-l":[{"border-l":V()}],"divide-x":[{"divide-x":V()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":V()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...W(),"hidden","none"]}],"divide-style":[{divide:[...W(),"hidden","none"]}],"border-color":[{border:G()}],"border-color-x":[{"border-x":G()}],"border-color-y":[{"border-y":G()}],"border-color-s":[{"border-s":G()}],"border-color-e":[{"border-e":G()}],"border-color-t":[{"border-t":G()}],"border-color-r":[{"border-r":G()}],"border-color-b":[{"border-b":G()}],"border-color-l":[{"border-l":G()}],"divide-color":[{divide:G()}],"outline-style":[{outline:[...W(),"none","hidden"]}],"outline-offset":[{"outline-offset":[e0,ta,tt]}],"outline-w":[{outline:["",e0,tl,ti]}],"outline-color":[{outline:G()}],shadow:[{shadow:["","none",h,tp,ts]}],"shadow-color":[{shadow:G()}],"inset-shadow":[{"inset-shadow":["none",u,tp,ts]}],"inset-shadow-color":[{"inset-shadow":G()}],"ring-w":[{ring:V()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:G()}],"ring-offset-w":[{"ring-offset":[e0,ti]}],"ring-offset-color":[{"ring-offset":G()}],"inset-ring-w":[{"inset-ring":V()}],"inset-ring-color":[{"inset-ring":G()}],"text-shadow":[{"text-shadow":["none",c,tp,ts]}],"text-shadow-color":[{"text-shadow":G()}],opacity:[{opacity:[e0,ta,tt]}],"mix-blend":[{"mix-blend":[...H(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":H()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[e0]}],"mask-image-linear-from-pos":[{"mask-linear-from":F()}],"mask-image-linear-to-pos":[{"mask-linear-to":F()}],"mask-image-linear-from-color":[{"mask-linear-from":G()}],"mask-image-linear-to-color":[{"mask-linear-to":G()}],"mask-image-t-from-pos":[{"mask-t-from":F()}],"mask-image-t-to-pos":[{"mask-t-to":F()}],"mask-image-t-from-color":[{"mask-t-from":G()}],"mask-image-t-to-color":[{"mask-t-to":G()}],"mask-image-r-from-pos":[{"mask-r-from":F()}],"mask-image-r-to-pos":[{"mask-r-to":F()}],"mask-image-r-from-color":[{"mask-r-from":G()}],"mask-image-r-to-color":[{"mask-r-to":G()}],"mask-image-b-from-pos":[{"mask-b-from":F()}],"mask-image-b-to-pos":[{"mask-b-to":F()}],"mask-image-b-from-color":[{"mask-b-from":G()}],"mask-image-b-to-color":[{"mask-b-to":G()}],"mask-image-l-from-pos":[{"mask-l-from":F()}],"mask-image-l-to-pos":[{"mask-l-to":F()}],"mask-image-l-from-color":[{"mask-l-from":G()}],"mask-image-l-to-color":[{"mask-l-to":G()}],"mask-image-x-from-pos":[{"mask-x-from":F()}],"mask-image-x-to-pos":[{"mask-x-to":F()}],"mask-image-x-from-color":[{"mask-x-from":G()}],"mask-image-x-to-color":[{"mask-x-to":G()}],"mask-image-y-from-pos":[{"mask-y-from":F()}],"mask-image-y-to-pos":[{"mask-y-to":F()}],"mask-image-y-from-color":[{"mask-y-from":G()}],"mask-image-y-to-color":[{"mask-y-to":G()}],"mask-image-radial":[{"mask-radial":[ta,tt]}],"mask-image-radial-from-pos":[{"mask-radial-from":F()}],"mask-image-radial-to-pos":[{"mask-radial-to":F()}],"mask-image-radial-from-color":[{"mask-radial-from":G()}],"mask-image-radial-to-color":[{"mask-radial-to":G()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":w()}],"mask-image-conic-pos":[{"mask-conic":[e0]}],"mask-image-conic-from-pos":[{"mask-conic-from":F()}],"mask-image-conic-to-pos":[{"mask-conic-to":F()}],"mask-image-conic-from-color":[{"mask-conic-from":G()}],"mask-image-conic-to-color":[{"mask-conic-to":G()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:R()}],"mask-repeat":[{mask:N()}],"mask-size":[{mask:O()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ta,tt]}],filter:[{filter:["","none",ta,tt]}],blur:[{blur:$()}],brightness:[{brightness:[e0,ta,tt]}],contrast:[{contrast:[e0,ta,tt]}],"drop-shadow":[{"drop-shadow":["","none",p,tp,ts]}],"drop-shadow-color":[{"drop-shadow":G()}],grayscale:[{grayscale:["",e0,ta,tt]}],"hue-rotate":[{"hue-rotate":[e0,ta,tt]}],invert:[{invert:["",e0,ta,tt]}],saturate:[{saturate:[e0,ta,tt]}],sepia:[{sepia:["",e0,ta,tt]}],"backdrop-filter":[{"backdrop-filter":["","none",ta,tt]}],"backdrop-blur":[{"backdrop-blur":$()}],"backdrop-brightness":[{"backdrop-brightness":[e0,ta,tt]}],"backdrop-contrast":[{"backdrop-contrast":[e0,ta,tt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",e0,ta,tt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[e0,ta,tt]}],"backdrop-invert":[{"backdrop-invert":["",e0,ta,tt]}],"backdrop-opacity":[{"backdrop-opacity":[e0,ta,tt]}],"backdrop-saturate":[{"backdrop-saturate":[e0,ta,tt]}],"backdrop-sepia":[{"backdrop-sepia":["",e0,ta,tt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":D()}],"border-spacing-x":[{"border-spacing-x":D()}],"border-spacing-y":[{"border-spacing-y":D()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ta,tt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[e0,"initial",ta,tt]}],ease:[{ease:["linear","initial",v,ta,tt]}],delay:[{delay:[e0,ta,tt]}],animate:[{animate:["none",b,ta,tt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,ta,tt]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:B()}],"rotate-x":[{"rotate-x":B()}],"rotate-y":[{"rotate-y":B()}],"rotate-z":[{"rotate-z":B()}],scale:[{scale:U()}],"scale-x":[{"scale-x":U()}],"scale-y":[{"scale-y":U()}],"scale-z":[{"scale-z":U()}],"scale-3d":["scale-3d"],skew:[{skew:K()}],"skew-x":[{"skew-x":K()}],"skew-y":[{"skew-y":K()}],transform:[{transform:[ta,tt,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:q()}],"translate-x":[{"translate-x":q()}],"translate-y":[{"translate-y":q()}],"translate-z":[{"translate-z":q()}],"translate-none":["translate-none"],accent:[{accent:G()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:G()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ta,tt]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ta,tt]}],fill:[{fill:["none",...G()]}],"stroke-w":[{stroke:[e0,tl,ti,tn]}],stroke:[{stroke:["none",...G()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},l=e=>{let t=r(e);if(t)return t;let i=((e,t)=>{let{parseClassName:i,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:r}=t,s=[],a=e.trim().split(eW),l="";for(let e=a.length-1;e>=0;e-=1){let t=a[e],{isExternal:d,modifiers:h,hasImportantModifier:u,baseClassName:c,maybePostfixModifierPosition:p}=i(t);if(d){l=t+(l.length>0?" "+l:l);continue}let m=!!p,g=n(m?c.substring(0,p):c);if(!g){if(!m||!(g=n(c))){l=t+(l.length>0?" "+l:l);continue}m=!1}let f=0===h.length?"":1===h.length?h[0]:r(h).join(":"),v=u?f+"!":f,b=v+g;if(s.indexOf(b)>-1)continue;s.push(b);let _=o(g,m);for(let e=0;e<_.length;++e){let t=_[e];s.push(v+t)}l=t+(l.length>0?" "+l:l)}return l})(e,o);return s(e,i),i},a=e=>{var t;let i;return r=(o={cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,i=Object.create(null),n=Object.create(null),o=(o,r)=>{i[o]=r,++t>e&&(t=0,n=i,i=Object.create(null))};return{get(e){let t=i[e];return void 0!==t?t:void 0!==(t=n[e])?(o(e,t),t):void 0},set(e,t){e in i?i[e]=t:o(e,t)}}})((t=[].reduce((e,t)=>t(e),E())).cacheSize),parseClassName:(e=>{let{prefix:t,experimentalParseClassName:i}=e,n=e=>{let t,i=[],n=0,o=0,r=0,s=e.length;for(let a=0;ar?t-r:void 0)};if(t){let e=t+":",i=n;n=t=>t.startsWith(e)?i(t.slice(e.length)):eV(ej,!1,t,void 0,!0)}if(i){let e=n;n=t=>i({className:t,parseClassName:e})}return n})(t),sortModifiers:(i=new Map,t.orderSensitiveModifiers.forEach((e,t)=>{i.set(e,1e6+t)}),e=>{let t=[],n=[];for(let o=0;o0&&(n.sort(),t.push(...n),n=[]),t.push(r)):n.push(r)}return n.length>0&&(n.sort(),t.push(...n)),t}),...(e=>{let t=(e=>{let{theme:t,classGroups:i}=e;return eT(i,t)})(e),{conflictingClassGroups:i,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]")){var i;let t,n,o;return -1===(i=e).slice(1,-1).indexOf(":")?void 0:(n=(t=i.slice(1,-1)).indexOf(":"),(o=t.slice(0,n))?"arbitrary.."+o:void 0)}let n=e.split("-"),o=+(""===n[0]&&n.length>1);return eI(n,o,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=n[e],o=i[e];if(t){if(o){let e=Array(o.length+t.length);for(let t=0;ta(((...e)=>{let t,i,n=0,o="";for(;n{var t;if((null==h?void 0:h.variants)==null)return ek(d,null==e?void 0:e.class,null==e?void 0:e.className);let{variants:i,defaultVariants:n}=h,o=Object.keys(i).map(t=>{let o=null==e?void 0:e[t],r=null==n?void 0:n[t];if(null===o)return null;let s=eE(o)||eE(r);return i[t][s]}),r=e&&Object.entries(e).reduce((e,t)=>{let[i,n]=t;return void 0===n||(e[i]=n),e},{});return ek(d,o,null==h||null==(t=h.compoundVariants)?void 0:t.reduce((e,t)=>{let{class:i,className:o,...s}=t;return Object.entries(s).every(e=>{let[t,i]=e;return Array.isArray(i)?i.includes({...n,...r}[t]):({...n,...r})[t]===i})?[...e,i,o]:e},[]),null==e?void 0:e.class,null==e?void 0:e.className)}),tk=Z.forwardRef(({className:e,variant:t,size:i,asChild:n=!1,...o},r)=>(0,q.jsx)(n?eC:"button",{className:tD(tS({variant:t,size:i,className:e})),ref:r,...o}));tk.displayName="Button";let tE=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,i)=>i?i.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},tP=(...e)=>e.filter((e,t,i)=>!!e&&""!==e.trim()&&i.indexOf(e)===t).join(" ").trim();var tA={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let tI=(0,Z.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:i=2,absoluteStrokeWidth:n,className:o="",children:r,iconNode:s,...a},l)=>(0,Z.createElement)("svg",{ref:l,...tA,width:t,height:t,stroke:e,strokeWidth:n?24*Number(i)/Number(t):i,className:tP("lucide",o),...!r&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(a)&&{"aria-hidden":"true"},...a},[...s.map(([e,t])=>(0,Z.createElement)(e,t)),...Array.isArray(r)?r:[r]])),tT=(e,t)=>{let i=(0,Z.forwardRef)(({className:i,...n},o)=>(0,Z.createElement)(tI,{ref:o,iconNode:t,className:tP(`lucide-${tE(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,i),...n}));return i.displayName=tE(e),i},tz=tT("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]),tM=tT("grid-3x3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]]),tG=tT("puzzle",[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]]),tR=tT("tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);function tN({children:e,className:t}){return(0,q.jsx)("div",{className:tD("flex flex-col h-full bg-card overflow-hidden",t),children:e})}function tO({title:e,icon:t,className:i,titleClassName:n,iconClassName:o,fullHeight:r=!1}){return(0,q.jsxs)("div",{className:tD("min-w-0 flex items-center gap-1 text-[12px] leading-[16px] font-medium tracking-[-0.15px]",r&&"h-full",i),children:[t&&(0,q.jsx)("span",{className:tD("flex-shrink-0 w-3.5 h-3.5 text-muted-foreground",o),children:t}),(0,q.jsx)("span",{className:tD("truncate text-foreground",n),children:e??""})]})}function tL({icon:e,title:t,subtitle:i,children:n,className:o}){return(0,q.jsxs)("div",{className:tD("h-6 min-h-[24px] flex items-center justify-between px-2 border-b border-border bg-secondary select-none",o),children:[(0,q.jsxs)("div",{className:"flex items-center min-w-0",children:[(0,q.jsx)(tO,{title:t,icon:e}),i&&(0,q.jsx)("span",{className:"ml-1 text-[11px] leading-4 text-muted-foreground truncate",children:i})]}),n&&(0,q.jsx)("div",{className:"flex items-center gap-1",children:n})]})}let tj=tT("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);function tV(e){var t,i;let n,o,{labels:r,paletteId:s}=e,a=(t=r,i={paletteId:s},n=Array.from(new Set(t.map(e=>ec(e)))).sort(eh),"classic20"===(o=i?.paletteId??"auto")?eu(n,eo,"classic20"):"tab10"===o?eu(n,er,"tab10"):"tab20"===o?eu(n,es,"tab20"):"wong"===o?eu(n,ea,"wong"):eu(n,es,"tab20"));return{kind:"categorical",paletteId:s,colorFor:e=>a[ec(e)]??ei}}function tW(e,t){if(!e.startsWith("#"))return e;let i=Math.round(255*(t<0?0:t>1?1:t)).toString(16).padStart(2,"0");return 7===e.length?`${e}${i}`:9===e.length?`${e.slice(0,7)}${i}`:e}function tH(e,t){let i=[],n=new Set,o=!1;for(let t of e.map(e=>ec(e))){if("undefined"===t){o=!0;continue}n.has(t)||(n.add(t),i.push(t))}if(t){let e=new Set;for(let i of t){let t=ec(i);if("undefined"===t){o=!0;continue}n.has(t)||e.add(t)}if(e.size>0)for(let t of Array.from(e).sort((e,t)=>e.localeCompare(t)))n.add(t),i.push(t)}return o&&i.push("undefined"),i}function tF(e){let{datasetLabels:t,embeddings:i,labelColorMapId:n}=e;if(!i)return null;let o=tH(t,i.labels);if(o.length>65535)return console.warn(`Too many labels (${o.length}) for uint16 categories; collapsing to a single color.`),{uniqueLabels:["undefined"],categories:new Uint16Array(i.labels.length),palette:[ei]};let r={};for(let e=0;el.colorFor(e));return{uniqueLabels:o,categories:a,palette:d}}function t$(e,t){let i;try{i=e()}catch(e){return}return{getItem:e=>{var n;let o=e=>null===e?null:JSON.parse(e,null==t?void 0:t.reviver),r=null!=(n=i.getItem(e))?n:null;return r instanceof Promise?r.then(o):o(r)},setItem:(e,n)=>i.setItem(e,JSON.stringify(n,null==t?void 0:t.replacer)),removeItem:e=>i.removeItem(e)}}let tB=e=>t=>{try{let i=e(t);if(i instanceof Promise)return i;return{then:e=>tB(e)(i),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>tB(t)(e)}}},tU=[{value:"auto",label:"Auto"},{value:"tab20",label:"Tab 20"},{value:"tab10",label:"Tab 10"},{value:"wong",label:"Wong"},{value:"classic20",label:"Classic 20"}],tK=Q()((u=e=>({labelColorMapId:"auto",setLabelColorMapId:t=>e({labelColorMapId:t})}),c={name:"hyperview-color-settings",version:1,storage:t$(()=>localStorage)},(e,t,i)=>{let n,o={storage:t$(()=>localStorage),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...c},r=!1,s=0,a=new Set,l=new Set,d=o.storage;if(!d)return u((...t)=>{console.warn(`[zustand persist middleware] Unable to update item '${o.name}', the given storage is currently unavailable.`),e(...t)});let h=()=>{let e=o.partialize({...t()});return d.setItem(o.name,{state:e,version:o.version})},p=i.setState;i.setState=(e,t)=>(p(e,t),h());let m=u((...t)=>(e(...t),h()));i.getInitialState=()=>m;let g=()=>{var i,u;if(!d)return;let c=++s;r=!1,a.forEach(e=>{var i;return e(null!=(i=t())?i:m)});let p=(null==(u=o.onRehydrateStorage)?void 0:u.call(o,null!=(i=t())?i:m))||void 0;return tB(d.getItem.bind(d))(o.name).then(e=>{if(e)if("number"!=typeof e.version||e.version===o.version)return[!1,e.state];else{if(o.migrate){let t=o.migrate(e.state,e.version);return t instanceof Promise?t.then(e=>[!0,e]):[!0,t]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]}).then(i=>{var r;if(c!==s)return;let[a,l]=i;if(e(n=o.merge(l,null!=(r=t())?r:m),!0),a)return h()}).then(()=>{c===s&&(null==p||p(n,void 0),n=t(),r=!0,l.forEach(e=>e(n)))}).catch(e=>{c===s&&(null==p||p(void 0,e))})};return i.persist={setOptions:e=>{o={...o,...e},e.storage&&(d=e.storage)},clearStorage:()=>{null==d||d.removeItem(o.name)},getOptions:()=>o,rehydrate:()=>g(),hasHydrated:()=>r,onHydrate:e=>(a.add(e),()=>{a.delete(e)}),onFinishHydration:e=>(l.add(e),()=>{l.delete(e)})},o.skipHydration||g(),n||m})),tq=(0,Z.createContext)(null);function tX(){let e=(0,Z.useContext)(tq);if(!e)throw Error("useDockviewContext must be used within DockviewProvider");return e}let tZ=Z.default.createContext(null);function tJ({value:e,children:t}){return(0,q.jsx)(tZ.Provider,{value:e,children:t})}let tY=tT("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),tQ=tT("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);function t0(e,t,{checkForDefaultPrevented:i=!0}={}){return function(n){if(e?.(n),!1===i||!n.defaultPrevented)return t?.(n)}}function t1(e,t=[]){let i=[],n=()=>{let t=i.map(e=>Z.createContext(e));return function(i){let n=i?.[e]||t;return Z.useMemo(()=>({[`__scope${e}`]:{...i,[e]:n}}),[i,n])}};return n.scopeName=e,[function(t,n){let o=Z.createContext(n),r=i.length;i=[...i,n];let s=t=>{let{scope:i,children:n,...s}=t,a=i?.[e]?.[r]||o,l=Z.useMemo(()=>s,Object.values(s));return(0,q.jsx)(a.Provider,{value:l,children:n})};return s.displayName=t+"Provider",[s,function(i,s){let a=s?.[e]?.[r]||o,l=Z.useContext(a);if(l)return l;if(void 0!==n)return n;throw Error(`\`${i}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let i=()=>{let i=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=i.reduce((t,{useScope:i,scopeName:n})=>{let o=i(e)[`__scope${n}`];return{...t,...o}},{});return Z.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return i.scopeName=t.scopeName,i}(n,...t)]}"u">typeof window&&window.document&&window.document.createElement;var t2=globalThis?.document?Z.useLayoutEffect:()=>{};Z[" useEffectEvent ".trim().toString()],Z[" useInsertionEffect ".trim().toString()];var t5=Z[" useInsertionEffect ".trim().toString()]||t2;function t3({prop:e,defaultProp:t,onChange:i=()=>{},caller:n}){let[o,r,s]=function({defaultProp:e,onChange:t}){let[i,n]=Z.useState(e),o=Z.useRef(i),r=Z.useRef(t);return t5(()=>{r.current=t},[t]),Z.useEffect(()=>{o.current!==i&&(r.current?.(i),o.current=i)},[i,o]),[i,n,r]}({defaultProp:t,onChange:i}),a=void 0!==e,l=a?e:o;{let t=Z.useRef(void 0!==e);Z.useEffect(()=>{let e=t.current;if(e!==a){let t=a?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=a},[a,n])}return[l,Z.useCallback(t=>{if(a){let i="function"==typeof t?t(e):t;i!==e&&s.current?.(i)}else r(t)},[a,e,r,s])]}Symbol("RADIX:SYNC_STATE");var t4=e.i(69941),t6=Symbol("radix.slottable");function t8(e){return Z.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===t6}var t9=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{var i,n;let o,r,s,a=(n=i=`Primitive.${t}`,(o=Z.forwardRef((e,t)=>{let{children:i,...n}=e;if(Z.isValidElement(i)){var o;let e,r,s=(o=i,(r=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(r=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),a=function(e,t){let i={...t};for(let n in t){let o=e[n],r=t[n];/^on[A-Z]/.test(n)?o&&r?i[n]=(...e)=>{let t=r(...e);return o(...e),t}:o&&(i[n]=o):"style"===n?i[n]={...o,...r}:"className"===n&&(i[n]=[o,r].filter(Boolean).join(" "))}return{...e,...i}}(n,i.props);return i.type!==Z.Fragment&&(a.ref=t?eb(t,s):s),Z.cloneElement(i,a)}return Z.Children.count(i)>1?Z.Children.only(null):null})).displayName=`${n}.SlotClone`,r=o,(s=Z.forwardRef((e,t)=>{let{children:i,...n}=e,o=Z.Children.toArray(i),s=o.find(t8);if(s){let e=s.props.children,i=o.map(t=>t!==s?t:Z.Children.count(e)>1?Z.Children.only(null):Z.isValidElement(e)?e.props.children:null);return(0,q.jsx)(r,{...n,ref:t,children:Z.isValidElement(e)?Z.cloneElement(e,void 0,i):null})}return(0,q.jsx)(r,{...n,ref:t,children:i})})).displayName=`${i}.Slot`,s),l=Z.forwardRef((e,i)=>{let{asChild:n,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,q.jsx)(n?a:t,{...o,ref:i})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{});function t7(e,t){e&&t4.flushSync(()=>e.dispatchEvent(t))}function ie(e){var t;let i,n=(t=e,(i=Z.forwardRef((e,t)=>{let{children:i,...n}=e;if(Z.isValidElement(i)){var o;let e,r,s=(o=i,(r=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(r=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),a=function(e,t){let i={...t};for(let n in t){let o=e[n],r=t[n];/^on[A-Z]/.test(n)?o&&r?i[n]=(...e)=>{let t=r(...e);return o(...e),t}:o&&(i[n]=o):"style"===n?i[n]={...o,...r}:"className"===n&&(i[n]=[o,r].filter(Boolean).join(" "))}return{...e,...i}}(n,i.props);return i.type!==Z.Fragment&&(a.ref=t?eb(t,s):s),Z.cloneElement(i,a)}return Z.Children.count(i)>1?Z.Children.only(null):null})).displayName=`${t}.SlotClone`,i),o=Z.forwardRef((e,t)=>{let{children:i,...o}=e,r=Z.Children.toArray(i),s=r.find(ii);if(s){let e=s.props.children,i=r.map(t=>t!==s?t:Z.Children.count(e)>1?Z.Children.only(null):Z.isValidElement(e)?e.props.children:null);return(0,q.jsx)(n,{...o,ref:t,children:Z.isValidElement(e)?Z.cloneElement(e,void 0,i):null})}return(0,q.jsx)(n,{...o,ref:t,children:i})});return o.displayName=`${e}.Slot`,o}var it=Symbol("radix.slottable");function ii(e){return Z.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===it}function io(e){let t=e+"CollectionProvider",[i,n]=t1(t),[o,r]=i(t,{collectionRef:{current:null},itemMap:new Map}),s=e=>{let{scope:t,children:i}=e,n=Z.default.useRef(null),r=Z.default.useRef(new Map).current;return(0,q.jsx)(o,{scope:t,itemMap:r,collectionRef:n,children:i})};s.displayName=t;let a=e+"CollectionSlot",l=ie(a),d=Z.default.forwardRef((e,t)=>{let{scope:i,children:n}=e,o=e_(t,r(a,i).collectionRef);return(0,q.jsx)(l,{ref:o,children:n})});d.displayName=a;let h=e+"CollectionItemSlot",u="data-radix-collection-item",c=ie(h),p=Z.default.forwardRef((e,t)=>{let{scope:i,children:n,...o}=e,s=Z.default.useRef(null),a=e_(t,s),l=r(h,i);return Z.default.useEffect(()=>(l.itemMap.set(s,{ref:s,...o}),()=>void l.itemMap.delete(s))),(0,q.jsx)(c,{...{[u]:""},ref:a,children:n})});return p.displayName=h,[{Provider:s,Slot:d,ItemSlot:p},function(t){let i=r(e+"CollectionConsumer",t);return Z.default.useCallback(()=>{let e=i.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${u}]`));return Array.from(i.itemMap.values()).sort((e,i)=>t.indexOf(e.ref.current)-t.indexOf(i.ref.current))},[i.collectionRef,i.itemMap])},n]}var ir=Z.createContext(void 0);function is(e){let t=Z.useContext(ir);return e||t||"ltr"}function ia(e){let t=Z.useRef(e);return Z.useEffect(()=>{t.current=e}),Z.useMemo(()=>(...e)=>t.current?.(...e),[])}var il="dismissableLayer.update",id=Z.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ih=Z.forwardRef((e,t)=>{let{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:r,onInteractOutside:s,onDismiss:a,...l}=e,d=Z.useContext(id),[h,u]=Z.useState(null),c=h?.ownerDocument??globalThis?.document,[,p]=Z.useState({}),m=e_(t,e=>u(e)),g=Array.from(d.layers),[f]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),v=g.indexOf(f),b=h?g.indexOf(h):-1,_=d.layersWithOutsidePointerEventsDisabled.size>0,w=b>=v,y=function(e,t=globalThis?.document){let i=ia(e),n=Z.useRef(!1),o=Z.useRef(()=>{});return Z.useEffect(()=>{let e=e=>{if(e.target&&!n.current){let n=function(){ic("dismissableLayer.pointerDownOutside",i,r,{discrete:!0})},r={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=n,t.addEventListener("click",o.current,{once:!0})):n()}else t.removeEventListener("click",o.current);n.current=!1},r=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(r),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,i]),{onPointerDownCapture:()=>n.current=!0}}(e=>{let t=e.target,i=[...d.branches].some(e=>e.contains(t));w&&!i&&(o?.(e),s?.(e),e.defaultPrevented||a?.())},c),x=function(e,t=globalThis?.document){let i=ia(e),n=Z.useRef(!1);return Z.useEffect(()=>{let e=e=>{e.target&&!n.current&&ic("dismissableLayer.focusOutside",i,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,i]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{let t=e.target;![...d.branches].some(e=>e.contains(t))&&(r?.(e),s?.(e),e.defaultPrevented||a?.())},c);return!function(e,t=globalThis?.document){let i=ia(e);Z.useEffect(()=>{let e=e=>{"Escape"===e.key&&i(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[i,t])}(e=>{b===d.layers.size-1&&(n?.(e),!e.defaultPrevented&&a&&(e.preventDefault(),a()))},c),Z.useEffect(()=>{if(h)return i&&(0===d.layersWithOutsidePointerEventsDisabled.size&&(V=c.body.style.pointerEvents,c.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(h)),d.layers.add(h),iu(),()=>{i&&1===d.layersWithOutsidePointerEventsDisabled.size&&(c.body.style.pointerEvents=V)}},[h,c,i,d]),Z.useEffect(()=>()=>{h&&(d.layers.delete(h),d.layersWithOutsidePointerEventsDisabled.delete(h),iu())},[h,d]),Z.useEffect(()=>{let e=()=>p({});return document.addEventListener(il,e),()=>document.removeEventListener(il,e)},[]),(0,q.jsx)(t9.div,{...l,ref:m,style:{pointerEvents:_?w?"auto":"none":void 0,...e.style},onFocusCapture:t0(e.onFocusCapture,x.onFocusCapture),onBlurCapture:t0(e.onBlurCapture,x.onBlurCapture),onPointerDownCapture:t0(e.onPointerDownCapture,y.onPointerDownCapture)})});function iu(){let e=new CustomEvent(il);document.dispatchEvent(e)}function ic(e,t,i,{discrete:n}){let o=i.originalEvent.target,r=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:i});t&&o.addEventListener(e,t,{once:!0}),n?t7(o,r):o.dispatchEvent(r)}ih.displayName="DismissableLayer",Z.forwardRef((e,t)=>{let i=Z.useContext(id),n=Z.useRef(null),o=e_(t,n);return Z.useEffect(()=>{let e=n.current;if(e)return i.branches.add(e),()=>{i.branches.delete(e)}},[i.branches]),(0,q.jsx)(t9.div,{...e,ref:o})}).displayName="DismissableLayerBranch";var ip=0;function im(){Z.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??ig()),document.body.insertAdjacentElement("beforeend",e[1]??ig()),ip++,()=>{1===ip&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),ip--}},[])}function ig(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var iv="focusScope.autoFocusOnMount",ib="focusScope.autoFocusOnUnmount",i_={bubbles:!1,cancelable:!0},iw=Z.forwardRef((e,t)=>{let{loop:i=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:r,...s}=e,[a,l]=Z.useState(null),d=ia(o),h=ia(r),u=Z.useRef(null),c=e_(t,e=>l(e)),p=Z.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;Z.useEffect(()=>{if(n){let e=function(e){if(p.paused||!a)return;let t=e.target;a.contains(t)?u.current=t:iC(u.current,{select:!0})},t=function(e){if(p.paused||!a)return;let t=e.relatedTarget;null!==t&&(a.contains(t)||iC(u.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let i=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&iC(a)});return a&&i.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),i.disconnect()}}},[n,a,p.paused]),Z.useEffect(()=>{if(a){iD.add(p);let e=document.activeElement;if(!a.contains(e)){let t=new CustomEvent(iv,i_);a.addEventListener(iv,d),a.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let i=document.activeElement;for(let n of e)if(iC(n,{select:t}),document.activeElement!==i)return}(iy(a).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&iC(a))}return()=>{a.removeEventListener(iv,d),setTimeout(()=>{let t=new CustomEvent(ib,i_);a.addEventListener(ib,h),a.dispatchEvent(t),t.defaultPrevented||iC(e??document.body,{select:!0}),a.removeEventListener(ib,h),iD.remove(p)},0)}}},[a,d,h,p]);let m=Z.useCallback(e=>{if(!i&&!n||p.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){var r;let t,n=e.currentTarget,[s,a]=[ix(t=iy(r=n),r),ix(t.reverse(),r)];s&&a?e.shiftKey||o!==a?e.shiftKey&&o===s&&(e.preventDefault(),i&&iC(a,{select:!0})):(e.preventDefault(),i&&iC(s,{select:!0})):o===n&&e.preventDefault()}},[i,n,p.paused]);return(0,q.jsx)(t9.div,{tabIndex:-1,...s,ref:c,onKeyDown:m})});function iy(e){let t=[],i=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;i.nextNode();)t.push(i.currentNode);return t}function ix(e,t){for(let i of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(i,{upTo:t}))return i}function iC(e,{select:t=!1}={}){if(e&&e.focus){var i;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(i=e)instanceof HTMLInputElement&&"select"in i&&t&&e.select()}}iw.displayName="FocusScope";var iD=(C=[],{add(e){let t=C[0];e!==t&&t?.pause(),(C=iS(C,e)).unshift(e)},remove(e){C=iS(C,e),C[0]?.resume()}});function iS(e,t){let i=[...e],n=i.indexOf(t);return -1!==n&&i.splice(n,1),i}var ik=Z[" useId ".trim().toString()]||(()=>void 0),iE=0;function iP(e){let[t,i]=Z.useState(ik());return t2(()=>{e||i(e=>e??String(iE++))},[e]),e||(t?`radix-${t}`:"")}let iA=["top","right","bottom","left"],iI=Math.min,iT=Math.max,iz=Math.round,iM=Math.floor,iG=e=>({x:e,y:e}),iR={left:"right",right:"left",bottom:"top",top:"bottom"},iN={start:"end",end:"start"};function iO(e,t){return"function"==typeof e?e(t):e}function iL(e){return e.split("-")[0]}function ij(e){return e.split("-")[1]}function iV(e){return"x"===e?"y":"x"}function iW(e){return"y"===e?"height":"width"}let iH=new Set(["top","bottom"]);function iF(e){return iH.has(iL(e))?"y":"x"}function i$(e){return e.replace(/start|end/g,e=>iN[e])}let iB=["left","right"],iU=["right","left"],iK=["top","bottom"],iq=["bottom","top"];function iX(e){return e.replace(/left|right|bottom|top/g,e=>iR[e])}function iZ(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function iJ(e){let{x:t,y:i,width:n,height:o}=e;return{width:n,height:o,top:i,left:t,right:t+n,bottom:i+o,x:t,y:i}}function iY(e,t,i){let n,{reference:o,floating:r}=e,s=iF(t),a=iV(iF(t)),l=iW(a),d=iL(t),h="y"===s,u=o.x+o.width/2-r.width/2,c=o.y+o.height/2-r.height/2,p=o[l]/2-r[l]/2;switch(d){case"top":n={x:u,y:o.y-r.height};break;case"bottom":n={x:u,y:o.y+o.height};break;case"right":n={x:o.x+o.width,y:c};break;case"left":n={x:o.x-r.width,y:c};break;default:n={x:o.x,y:o.y}}switch(ij(t)){case"start":n[a]-=p*(i&&h?-1:1);break;case"end":n[a]+=p*(i&&h?-1:1)}return n}async function iQ(e,t){var i;void 0===t&&(t={});let{x:n,y:o,platform:r,rects:s,elements:a,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:c=!1,padding:p=0}=iO(t,e),m=iZ(p),g=a[c?"floating"===u?"reference":"floating":u],f=iJ(await r.getClippingRect({element:null==(i=await (null==r.isElement?void 0:r.isElement(g)))||i?g:g.contextElement||await (null==r.getDocumentElement?void 0:r.getDocumentElement(a.floating)),boundary:d,rootBoundary:h,strategy:l})),v="floating"===u?{x:n,y:o,width:s.floating.width,height:s.floating.height}:s.reference,b=await (null==r.getOffsetParent?void 0:r.getOffsetParent(a.floating)),_=await (null==r.isElement?void 0:r.isElement(b))&&await (null==r.getScale?void 0:r.getScale(b))||{x:1,y:1},w=iJ(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:b,strategy:l}):v);return{top:(f.top-w.top+m.top)/_.y,bottom:(w.bottom-f.bottom+m.bottom)/_.y,left:(f.left-w.left+m.left)/_.x,right:(w.right-f.right+m.right)/_.x}}let i0=async(e,t,i)=>{let{placement:n="bottom",strategy:o="absolute",middleware:r=[],platform:s}=i,a=r.filter(Boolean),l=await (null==s.isRTL?void 0:s.isRTL(t)),d=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:h,y:u}=iY(d,n,l),c=n,p={},m=0;for(let i=0;ie[t]>=0)}let i5=new Set(["left","top"]);async function i3(e,t){let{placement:i,platform:n,elements:o}=e,r=await (null==n.isRTL?void 0:n.isRTL(o.floating)),s=iL(i),a=ij(i),l="y"===iF(i),d=i5.has(s)?-1:1,h=r&&l?-1:1,u=iO(t,e),{mainAxis:c,crossAxis:p,alignmentAxis:m}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return a&&"number"==typeof m&&(p="end"===a?-1*m:m),l?{x:p*h,y:c*d}:{x:c*d,y:p*h}}function i4(){return"u">typeof window}function i6(e){return i7(e)?(e.nodeName||"").toLowerCase():"#document"}function i8(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function i9(e){var t;return null==(t=(i7(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function i7(e){return!!i4()&&(e instanceof Node||e instanceof i8(e).Node)}function ne(e){return!!i4()&&(e instanceof Element||e instanceof i8(e).Element)}function nt(e){return!!i4()&&(e instanceof HTMLElement||e instanceof i8(e).HTMLElement)}function ni(e){return!(!i4()||"u"{try{return e.matches(t)}catch(e){return!1}})}let nl=["transform","translate","scale","rotate","perspective"],nd=["transform","translate","scale","rotate","perspective","filter"],nh=["paint","layout","strict","content"];function nu(e){let t=nc(),i=ne(e)?ng(e):e;return nl.some(e=>!!i[e]&&"none"!==i[e])||!!i.containerType&&"normal"!==i.containerType||!t&&!!i.backdropFilter&&"none"!==i.backdropFilter||!t&&!!i.filter&&"none"!==i.filter||nd.some(e=>(i.willChange||"").includes(e))||nh.some(e=>(i.contain||"").includes(e))}function nc(){return!("u"ne(e)&&"body"!==i6(e)),o=null,r="fixed"===ng(e).position,s=r?nv(e):e;for(;ne(s)&&!nm(s);){let t=ng(s),i=nu(s);i||"fixed"!==t.position||(o=null),(r?!i&&!o:!i&&"static"===t.position&&!!o&&nP.has(o.position)||no(s)&&!i&&function e(t,i){let n=nv(t);return!(n===i||!ne(n)||nm(n))&&("fixed"===ng(n).position||e(n,i))}(e,s))?n=n.filter(e=>e!==s):o=t,s=nv(s)}return t.set(e,n),n}(t,this._c):[].concat(i),n],s=r[0],a=r.reduce((e,i)=>{let n=nA(t,i,o);return e.top=iT(n.top,e.top),e.right=iI(n.right,e.right),e.bottom=iI(n.bottom,e.bottom),e.left=iT(n.left,e.left),e},nA(t,s,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:nz,getElementRects:nM,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:i}=nw(e);return{width:t,height:i}},getScale:nx,isElement:ne,isRTL:function(e){return"rtl"===ng(e).direction}};function nR(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let nN=e=>({name:"arrow",options:e,async fn(t){let{x:i,y:n,placement:o,rects:r,platform:s,elements:a,middlewareData:l}=t,{element:d,padding:h=0}=iO(e,t)||{};if(null==d)return{};let u=iZ(h),c={x:i,y:n},p=iV(iF(o)),m=iW(p),g=await s.getDimensions(d),f="y"===p,v=f?"clientHeight":"clientWidth",b=r.reference[m]+r.reference[p]-c[p]-r.floating[m],_=c[p]-r.reference[p],w=await (null==s.getOffsetParent?void 0:s.getOffsetParent(d)),y=w?w[v]:0;y&&await (null==s.isElement?void 0:s.isElement(w))||(y=a.floating[v]||r.floating[m]);let x=y/2-g[m]/2-1,C=iI(u[f?"top":"left"],x),D=iI(u[f?"bottom":"right"],x),S=y-g[m]-D,k=y/2-g[m]/2+(b/2-_/2),E=iT(C,iI(k,S)),P=!l.arrow&&null!=ij(o)&&k!==E&&r.reference[m]/2-(ktypeof document?Z.useLayoutEffect:function(){};function nL(e,t){let i,n,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((i=e.length)!==t.length)return!1;for(n=i;0!=n--;)if(!nL(e[n],t[n]))return!1;return!0}if((i=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=i;0!=n--;)if(!({}).hasOwnProperty.call(t,o[n]))return!1;for(n=i;0!=n--;){let i=o[n];if(("_owner"!==i||!e.$$typeof)&&!nL(e[i],t[i]))return!1}return!0}return e!=e&&t!=t}function nj(e){return"u"{t.current=e}),t}var nH=Z.forwardRef((e,t)=>{let{children:i,width:n=10,height:o=5,...r}=e;return(0,q.jsx)(t9.svg,{...r,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?i:(0,q.jsx)("polygon",{points:"0,0 30,0 15,10"})})});nH.displayName="Arrow";var nF="Popper",[n$,nB]=t1(nF),[nU,nK]=n$(nF),nq=e=>{let{__scopePopper:t,children:i}=e,[n,o]=Z.useState(null);return(0,q.jsx)(nU,{scope:t,anchor:n,onAnchorChange:o,children:i})};nq.displayName=nF;var nX="PopperAnchor",nZ=Z.forwardRef((e,t)=>{let{__scopePopper:i,virtualRef:n,...o}=e,r=nK(nX,i),s=Z.useRef(null),a=e_(t,s),l=Z.useRef(null);return Z.useEffect(()=>{let e=l.current;l.current=n?.current||s.current,e!==l.current&&r.onAnchorChange(l.current)}),n?null:(0,q.jsx)(t9.div,{...o,ref:a})});nZ.displayName=nX;var nJ="PopperContent",[nY,nQ]=n$(nJ),n0=Z.forwardRef((e,t)=>{var i,n,o,r,s,a,l,d,h,u,c,p,m;let{__scopePopper:g,side:f="bottom",sideOffset:v=0,align:b="center",alignOffset:_=0,arrowPadding:w=0,avoidCollisions:y=!0,collisionBoundary:x=[],collisionPadding:C=0,sticky:D="partial",hideWhenDetached:S=!1,updatePositionStrategy:k="optimized",onPlaced:E,...P}=e,A=nK(nJ,g),[I,T]=Z.useState(null),z=e_(t,e=>T(e)),[M,G]=Z.useState(null),R=function(e){let[t,i]=Z.useState(void 0);return t2(()=>{if(e){i({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,o;if(!Array.isArray(t)||!t.length)return;let r=t[0];if("borderBoxSize"in r){let e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,o=t.blockSize}else n=e.offsetWidth,o=e.offsetHeight;i({width:n,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}i(void 0)},[e]),t}(M),N=R?.width??0,O=R?.height??0,L="number"==typeof C?C:{top:0,right:0,bottom:0,left:0,...C},j=Array.isArray(x)?x:[x],V=j.length>0,W={padding:L,boundary:j.filter(n3),altBoundary:V},{refs:H,floatingStyles:F,placement:$,isPositioned:B,middlewareData:U}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:i="absolute",middleware:n=[],platform:o,elements:{reference:r,floating:s}={},transform:a=!0,whileElementsMounted:l,open:d}=e,[h,u]=Z.useState({x:0,y:0,strategy:i,placement:t,middlewareData:{},isPositioned:!1}),[c,p]=Z.useState(n);nL(c,n)||p(n);let[m,g]=Z.useState(null),[f,v]=Z.useState(null),b=Z.useCallback(e=>{e!==x.current&&(x.current=e,g(e))},[]),_=Z.useCallback(e=>{e!==C.current&&(C.current=e,v(e))},[]),w=r||m,y=s||f,x=Z.useRef(null),C=Z.useRef(null),D=Z.useRef(h),S=null!=l,k=nW(l),E=nW(o),P=nW(d),A=Z.useCallback(()=>{var e,n;let o,r,s;if(!x.current||!C.current)return;let a={placement:t,strategy:i,middleware:c};E.current&&(a.platform=E.current),(e=x.current,n=C.current,o=new Map,s={...(r={platform:nG,...a}).platform,_c:o},i0(e,n,{...r,platform:s})).then(e=>{let t={...e,isPositioned:!1!==P.current};I.current&&!nL(D.current,t)&&(D.current=t,t4.flushSync(()=>{u(t)}))})},[c,t,i,E,P]);nO(()=>{!1===d&&D.current.isPositioned&&(D.current.isPositioned=!1,u(e=>({...e,isPositioned:!1})))},[d]);let I=Z.useRef(!1);nO(()=>(I.current=!0,()=>{I.current=!1}),[]),nO(()=>{if(w&&(x.current=w),y&&(C.current=y),w&&y){if(k.current)return k.current(w,y,A);A()}},[w,y,A,k,S]);let T=Z.useMemo(()=>({reference:x,floating:C,setReference:b,setFloating:_}),[b,_]),z=Z.useMemo(()=>({reference:w,floating:y}),[w,y]),M=Z.useMemo(()=>{let e={position:i,left:0,top:0};if(!z.floating)return e;let t=nV(z.floating,h.x),n=nV(z.floating,h.y);return a?{...e,transform:"translate("+t+"px, "+n+"px)",...nj(z.floating)>=1.5&&{willChange:"transform"}}:{position:i,left:t,top:n}},[i,a,z.floating,h.x,h.y]);return Z.useMemo(()=>({...h,update:A,refs:T,elements:z,floatingStyles:M}),[h,A,T,z,M])}({strategy:"fixed",placement:f+("center"!==b?"-"+b:""),whileElementsMounted:(...e)=>(function(e,t,i,n){let o;void 0===n&&(n={});let{ancestorScroll:r=!0,ancestorResize:s=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:d=!1}=n,h=ny(e),u=r||s?[...h?nb(h):[],...nb(t)]:[];u.forEach(e=>{r&&e.addEventListener("scroll",i,{passive:!0}),s&&e.addEventListener("resize",i)});let c=h&&l?function(e,t){let i,n=null,o=i9(e);function r(){var e;clearTimeout(i),null==(e=n)||e.disconnect(),n=null}return!function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),r();let d=e.getBoundingClientRect(),{left:h,top:u,width:c,height:p}=d;if(a||t(),!c||!p)return;let m={rootMargin:-iM(u)+"px "+-iM(o.clientWidth-(h+c))+"px "+-iM(o.clientHeight-(u+p))+"px "+-iM(h)+"px",threshold:iT(0,iI(1,l))||1},g=!0;function f(t){let n=t[0].intersectionRatio;if(n!==l){if(!g)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==n||nR(d,e.getBoundingClientRect())||s(),g=!1}try{n=new IntersectionObserver(f,{...m,root:o.ownerDocument})}catch(e){n=new IntersectionObserver(f,m)}n.observe(e)}(!0),r}(h,i):null,p=-1,m=null;a&&(m=new ResizeObserver(e=>{let[n]=e;n&&n.target===h&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),i()}),h&&!d&&m.observe(h),m.observe(t));let g=d?nS(e):null;return d&&function t(){let n=nS(e);g&&!nR(g,n)&&i(),g=n,o=requestAnimationFrame(t)}(),i(),()=>{var e;u.forEach(e=>{r&&e.removeEventListener("scroll",i),s&&e.removeEventListener("resize",i)}),null==c||c(),null==(e=m)||e.disconnect(),m=null,d&&cancelAnimationFrame(o)}})(...e,{animationFrame:"always"===k}),elements:{reference:A.anchor},middleware:[{...{name:"offset",options:n=i={mainAxis:v+O,alignmentAxis:_},async fn(e){var t,i;let{x:o,y:r,placement:s,middlewareData:a}=e,l=await i3(e,n);return s===(null==(t=a.offset)?void 0:t.placement)&&null!=(i=a.arrow)&&i.alignmentOffset?{}:{x:o+l.x,y:r+l.y,data:{...l,placement:s}}}},options:[i,void 0]},y&&{...{name:"shift",options:s=r={mainAxis:!0,crossAxis:!1,limiter:"partial"===D?{...(o=void 0,{options:o={},fn(e){let{x:t,y:i,placement:n,rects:r,middlewareData:s}=e,{offset:a=0,mainAxis:l=!0,crossAxis:d=!0}=iO(o,e),h={x:t,y:i},u=iF(n),c=iV(u),p=h[c],m=h[u],g=iO(a,e),f="number"==typeof g?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){let e="y"===c?"height":"width",t=r.reference[c]-r.floating[e]+f.mainAxis,i=r.reference[c]+r.reference[e]-f.mainAxis;pi&&(p=i)}if(d){var v,b;let e="y"===c?"width":"height",t=i5.has(iL(n)),i=r.reference[u]-r.floating[e]+(t&&(null==(v=s.offset)?void 0:v[u])||0)+(t?0:f.crossAxis),o=r.reference[u]+r.reference[e]+(t?0:(null==(b=s.offset)?void 0:b[u])||0)-(t?f.crossAxis:0);mo&&(m=o)}return{[c]:p,[u]:m}}}),options:[void 0,void 0]}:void 0,...W},async fn(e){let{x:t,y:i,placement:n,platform:o}=e,{mainAxis:r=!0,crossAxis:a=!1,limiter:l={fn:e=>{let{x:t,y:i}=e;return{x:t,y:i}}},...d}=iO(s,e),h={x:t,y:i},u=await o.detectOverflow(e,d),c=iF(iL(n)),p=iV(c),m=h[p],g=h[c];if(r){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",i=m+u[e],n=m-u[t];m=iT(i,iI(m,n))}if(a){let e="y"===c?"top":"left",t="y"===c?"bottom":"right",i=g+u[e],n=g-u[t];g=iT(i,iI(g,n))}let f=l.fn({...e,[p]:m,[c]:g});return{...f,data:{x:f.x-t,y:f.y-i,enabled:{[p]:r,[c]:a}}}}},options:[r,void 0]},y&&{...{name:"flip",options:l=a={...W},async fn(e){var t,i,n,o,r,s,a,d;let h,u,c,{placement:p,middlewareData:m,rects:g,initialPlacement:f,platform:v,elements:b}=e,{mainAxis:_=!0,crossAxis:w=!0,fallbackPlacements:y,fallbackStrategy:x="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:D=!0,...S}=iO(l,e);if(null!=(t=m.arrow)&&t.alignmentOffset)return{};let k=iL(p),E=iF(f),P=iL(f)===f,A=await (null==v.isRTL?void 0:v.isRTL(b.floating)),I=y||(P||!D?[iX(f)]:(h=iX(f),[i$(f),h,i$(h)])),T="none"!==C;!y&&T&&I.push(...(u=ij(f),c=function(e,t,i){switch(e){case"top":case"bottom":if(i)return t?iU:iB;return t?iB:iU;case"left":case"right":return t?iK:iq;default:return[]}}(iL(f),"start"===C,A),u&&(c=c.map(e=>e+"-"+u),D&&(c=c.concat(c.map(i$)))),c));let z=[f,...I],M=await v.detectOverflow(e,S),G=[],R=(null==(i=m.flip)?void 0:i.overflows)||[];if(_&&G.push(M[k]),w){let e,t,i,n,o=(s=p,a=g,void 0===(d=A)&&(d=!1),e=ij(s),i=iW(t=iV(iF(s))),n="x"===t?e===(d?"end":"start")?"right":"left":"start"===e?"bottom":"top",a.reference[i]>a.floating[i]&&(n=iX(n)),[n,iX(n)]);G.push(M[o[0]],M[o[1]])}if(R=[...R,{placement:p,overflows:G}],!G.every(e=>e<=0)){let e=((null==(n=m.flip)?void 0:n.index)||0)+1,t=z[e];if(t&&("alignment"!==w||E===iF(t)||R.every(e=>iF(e.placement)!==E||e.overflows[0]>0)))return{data:{index:e,overflows:R},reset:{placement:t}};let i=null==(o=R.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!i)switch(x){case"bestFit":{let e=null==(r=R.filter(e=>{if(T){let t=iF(e.placement);return t===E||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:r[0];e&&(i=e);break}case"initialPlacement":i=f}if(p!==i)return{reset:{placement:i}}}return{}}},options:[a,void 0]},{...{name:"size",options:h=d={...W,apply:({elements:e,rects:t,availableWidth:i,availableHeight:n})=>{let{width:o,height:r}=t.reference,s=e.floating.style;s.setProperty("--radix-popper-available-width",`${i}px`),s.setProperty("--radix-popper-available-height",`${n}px`),s.setProperty("--radix-popper-anchor-width",`${o}px`),s.setProperty("--radix-popper-anchor-height",`${r}px`)}},async fn(e){var t,i;let n,o,{placement:r,rects:s,platform:a,elements:l}=e,{apply:d=()=>{},...u}=iO(h,e),c=await a.detectOverflow(e,u),p=iL(r),m=ij(r),g="y"===iF(r),{width:f,height:v}=s.floating;"top"===p||"bottom"===p?(n=p,o=m===(await (null==a.isRTL?void 0:a.isRTL(l.floating))?"start":"end")?"left":"right"):(o=p,n="end"===m?"top":"bottom");let b=v-c.top-c.bottom,_=f-c.left-c.right,w=iI(v-c[n],b),y=iI(f-c[o],_),x=!e.middlewareData.shift,C=w,D=y;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(D=_),null!=(i=e.middlewareData.shift)&&i.enabled.y&&(C=b),x&&!m){let e=iT(c.left,0),t=iT(c.right,0),i=iT(c.top,0),n=iT(c.bottom,0);g?D=f-2*(0!==e||0!==t?e+t:iT(c.left,c.right)):C=v-2*(0!==i||0!==n?i+n:iT(c.top,c.bottom))}await d({...e,availableWidth:D,availableHeight:C});let S=await a.getDimensions(l.floating);return f!==S.width||v!==S.height?{reset:{rects:!0}}:{}}},options:[d,void 0]},M&&{...{name:"arrow",options:c=u={element:M,padding:w},fn(e){let{element:t,padding:i}="function"==typeof c?c(e):c;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?nN({element:t.current,padding:i}).fn(e):{}:t?nN({element:t,padding:i}).fn(e):{}}},options:[u,void 0]},n4({arrowWidth:N,arrowHeight:O}),S&&{...{name:"hide",options:m=p={strategy:"referenceHidden",...W},async fn(e){let{rects:t,platform:i}=e,{strategy:n="referenceHidden",...o}=iO(m,e);switch(n){case"referenceHidden":{let n=i1(await i.detectOverflow(e,{...o,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:i2(n)}}}case"escaped":{let n=i1(await i.detectOverflow(e,{...o,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:i2(n)}}}default:return{}}}},options:[p,void 0]}]}),[K,X]=n6($),J=ia(E);t2(()=>{B&&J?.()},[B,J]);let Y=U.arrow?.x,Q=U.arrow?.y,ee=U.arrow?.centerOffset!==0,[et,ei]=Z.useState();return t2(()=>{I&&ei(window.getComputedStyle(I).zIndex)},[I]),(0,q.jsx)("div",{ref:H.setFloating,"data-radix-popper-content-wrapper":"",style:{...F,transform:B?F.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:et,"--radix-popper-transform-origin":[U.transformOrigin?.x,U.transformOrigin?.y].join(" "),...U.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,q.jsx)(nY,{scope:g,placedSide:K,onArrowChange:G,arrowX:Y,arrowY:Q,shouldHideArrow:ee,children:(0,q.jsx)(t9.div,{"data-side":K,"data-align":X,...P,ref:z,style:{...P.style,animation:B?void 0:"none"}})})})});n0.displayName=nJ;var n1="PopperArrow",n2={top:"bottom",right:"left",bottom:"top",left:"right"},n5=Z.forwardRef(function(e,t){let{__scopePopper:i,...n}=e,o=nQ(n1,i),r=n2[o.placedSide];return(0,q.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[r]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,q.jsx)(nH,{...n,ref:t,style:{...n.style,display:"block"}})})});function n3(e){return null!==e}n5.displayName=n1;var n4=e=>({name:"transformOrigin",options:e,fn(t){let{placement:i,rects:n,middlewareData:o}=t,r=o.arrow?.centerOffset!==0,s=r?0:e.arrowWidth,a=r?0:e.arrowHeight,[l,d]=n6(i),h={start:"0%",center:"50%",end:"100%"}[d],u=(o.arrow?.x??0)+s/2,c=(o.arrow?.y??0)+a/2,p="",m="";return"bottom"===l?(p=r?h:`${u}px`,m=`${-a}px`):"top"===l?(p=r?h:`${u}px`,m=`${n.floating.height+a}px`):"right"===l?(p=`${-a}px`,m=r?h:`${c}px`):"left"===l&&(p=`${n.floating.width+a}px`,m=r?h:`${c}px`),{data:{x:p,y:m}}}});function n6(e){let[t,i="center"]=e.split("-");return[t,i]}var n8=Z.forwardRef((e,t)=>{let{container:i,...n}=e,[o,r]=Z.useState(!1);t2(()=>r(!0),[]);let s=i||o&&globalThis?.document?.body;return s?t4.default.createPortal((0,q.jsx)(t9.div,{...n,ref:t}),s):null});n8.displayName="Portal";var n9=e=>{var t;let i,n,{present:o,children:r}=e,s=function(e){var t,i;let[n,o]=Z.useState(),r=Z.useRef(null),s=Z.useRef(e),a=Z.useRef("none"),[l,d]=(t=e?"mounted":"unmounted",i={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},Z.useReducer((e,t)=>i[e][t]??e,t));return Z.useEffect(()=>{let e=n7(r.current);a.current="mounted"===l?e:"none"},[l]),t2(()=>{let t=r.current,i=s.current;if(i!==e){let n=a.current,o=n7(t);e?d("MOUNT"):"none"===o||t?.display==="none"?d("UNMOUNT"):i&&n!==o?d("ANIMATION_OUT"):d("UNMOUNT"),s.current=e}},[e,d]),t2(()=>{if(n){let e,t=n.ownerDocument.defaultView??window,i=i=>{let o=n7(r.current).includes(CSS.escape(i.animationName));if(i.target===n&&o&&(d("ANIMATION_END"),!s.current)){let i=n.style.animationFillMode;n.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=i)})}},o=e=>{e.target===n&&(a.current=n7(r.current))};return n.addEventListener("animationstart",o),n.addEventListener("animationcancel",i),n.addEventListener("animationend",i),()=>{t.clearTimeout(e),n.removeEventListener("animationstart",o),n.removeEventListener("animationcancel",i),n.removeEventListener("animationend",i)}}d("ANIMATION_END")},[n,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:Z.useCallback(e=>{r.current=e?getComputedStyle(e):null,o(e)},[])}}(o),a="function"==typeof r?r({present:s.isPresent}):Z.Children.only(r),l=e_(s.ref,(t=a,(n=(i=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in i&&i.isReactWarning)?t.ref:(n=(i=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in i&&i.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof r||s.isPresent?Z.cloneElement(a,{ref:l}):null};function n7(e){return e?.animationName||"none"}n9.displayName="Presence";var oe="rovingFocusGroup.onEntryFocus",ot={bubbles:!1,cancelable:!0},oi="RovingFocusGroup",[on,oo,or]=io(oi),[os,oa]=t1(oi,[or]),[ol,od]=os(oi),oh=Z.forwardRef((e,t)=>(0,q.jsx)(on.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,q.jsx)(on.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,q.jsx)(ou,{...e,ref:t})})}));oh.displayName=oi;var ou=Z.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:i,orientation:n,loop:o=!1,dir:r,currentTabStopId:s,defaultCurrentTabStopId:a,onCurrentTabStopIdChange:l,onEntryFocus:d,preventScrollOnEntryFocus:h=!1,...u}=e,c=Z.useRef(null),p=e_(t,c),m=is(r),[g,f]=t3({prop:s,defaultProp:a??null,onChange:l,caller:oi}),[v,b]=Z.useState(!1),_=ia(d),w=oo(i),y=Z.useRef(!1),[x,C]=Z.useState(0);return Z.useEffect(()=>{let e=c.current;if(e)return e.addEventListener(oe,_),()=>e.removeEventListener(oe,_)},[_]),(0,q.jsx)(ol,{scope:i,orientation:n,dir:m,loop:o,currentTabStopId:g,onItemFocus:Z.useCallback(e=>f(e),[f]),onItemShiftTab:Z.useCallback(()=>b(!0),[]),onFocusableItemAdd:Z.useCallback(()=>C(e=>e+1),[]),onFocusableItemRemove:Z.useCallback(()=>C(e=>e-1),[]),children:(0,q.jsx)(t9.div,{tabIndex:v||0===x?-1:0,"data-orientation":n,...u,ref:p,style:{outline:"none",...e.style},onMouseDown:t0(e.onMouseDown,()=>{y.current=!0}),onFocus:t0(e.onFocus,e=>{let t=!y.current;if(e.target===e.currentTarget&&t&&!v){let t=new CustomEvent(oe,ot);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=w().filter(e=>e.focusable);og([e.find(e=>e.active),e.find(e=>e.id===g),...e].filter(Boolean).map(e=>e.ref.current),h)}}y.current=!1}),onBlur:t0(e.onBlur,()=>b(!1))})})}),oc="RovingFocusGroupItem",op=Z.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:i,focusable:n=!0,active:o=!1,tabStopId:r,children:s,...a}=e,l=iP(),d=r||l,h=od(oc,i),u=h.currentTabStopId===d,c=oo(i),{onFocusableItemAdd:p,onFocusableItemRemove:m,currentTabStopId:g}=h;return Z.useEffect(()=>{if(n)return p(),()=>m()},[n,p,m]),(0,q.jsx)(on.ItemSlot,{scope:i,id:d,focusable:n,active:o,children:(0,q.jsx)(t9.span,{tabIndex:u?0:-1,"data-orientation":h.orientation,...a,ref:t,onMouseDown:t0(e.onMouseDown,e=>{n?h.onItemFocus(d):e.preventDefault()}),onFocus:t0(e.onFocus,()=>h.onItemFocus(d)),onKeyDown:t0(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void h.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,i){var n;let o=(n=e.key,"rtl"!==i?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return om[o]}(e,h.orientation,h.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let o=c().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)o.reverse();else if("prev"===t||"next"===t){var i,n;"prev"===t&&o.reverse();let r=o.indexOf(e.currentTarget);o=h.loop?(i=o,n=r+1,i.map((e,t)=>i[(n+t)%i.length])):o.slice(r+1)}setTimeout(()=>og(o))}}),children:"function"==typeof s?s({isCurrentTabStop:u,hasTabStop:null!=g}):s})})});op.displayName=oc;var om={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function og(e,t=!1){let i=document.activeElement;for(let n of e)if(n===i||(n.focus({preventScroll:t}),document.activeElement!==i))return}var of=Symbol("radix.slottable");function ov(e){return Z.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===of}var ob=new WeakMap,o_=new WeakMap,ow={},oy=0,ox=function(e){return e&&(e.host||ox(e.parentNode))},oC=function(e,t,i,n){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var i=ox(e);return i&&t.contains(i)?i:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});ow[i]||(ow[i]=new WeakMap);var r=ow[i],s=[],a=new Set,l=new Set(o),d=function(e){!e||a.has(e)||(a.add(e),d(e.parentNode))};o.forEach(d);var h=function(e){!e||l.has(e)||Array.prototype.forEach.call(e.children,function(e){if(a.has(e))h(e);else try{var t=e.getAttribute(n),o=null!==t&&"false"!==t,l=(ob.get(e)||0)+1,d=(r.get(e)||0)+1;ob.set(e,l),r.set(e,d),s.push(e),1===l&&o&&o_.set(e,!0),1===d&&e.setAttribute(i,"true"),o||e.setAttribute(n,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return h(t),a.clear(),oy++,function(){s.forEach(function(e){var t=ob.get(e)-1,o=r.get(e)-1;ob.set(e,t),r.set(e,o),t||(o_.has(e)||e.removeAttribute(n),o_.delete(e)),o||e.removeAttribute(i)}),--oy||(ob=new WeakMap,ob=new WeakMap,o_=new WeakMap,ow={})}},oD=function(e,t,i){void 0===i&&(i="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||("u"t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(i[n[o]]=e[n[o]]);return i}var oE=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),oP="width-before-scroll-bar";function oA(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var oI="u">typeof window?Z.useLayoutEffect:Z.useEffect,oT=new WeakMap,oz=(void 0===P&&(P={}),(void 0===A&&(A=function(e){return e}),I=[],T=!1,z={read:function(){if(T)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return I.length?I[I.length-1]:null},useMedium:function(e){var t=A(e,T);return I.push(t),function(){I=I.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(T=!0;I.length;){var t=I;I=[],t.forEach(e)}I={push:function(t){return e(t)},filter:function(){return I}}},assignMedium:function(e){T=!0;var t=[];if(I.length){var i=I;I=[],i.forEach(e),t=I}var n=function(){var i=t;t=[],i.forEach(e)},o=function(){return Promise.resolve().then(n)};o(),I={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),I}}}}).options=oS({async:!0,ssr:!1},P),z),oM=function(){},oG=Z.forwardRef(function(e,t){var i,n,o,r,s=Z.useRef(null),a=Z.useState({onScrollCapture:oM,onWheelCapture:oM,onTouchMoveCapture:oM}),l=a[0],d=a[1],h=e.forwardProps,u=e.children,c=e.className,p=e.removeScrollBar,m=e.enabled,g=e.shards,f=e.sideCar,v=e.noRelative,b=e.noIsolation,_=e.inert,w=e.allowPinchZoom,y=e.as,x=e.gapMode,C=ok(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),D=(i=[s,t],n=function(e){return i.forEach(function(t){return oA(t,e)})},(o=(0,Z.useState)(function(){return{value:null,callback:n,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=n,r=o.facade,oI(function(){var e=oT.get(r);if(e){var t=new Set(e),n=new Set(i),o=r.current;t.forEach(function(e){n.has(e)||oA(e,null)}),n.forEach(function(e){t.has(e)||oA(e,o)})}oT.set(r,i)},[i]),r),S=oS(oS({},C),l);return Z.createElement(Z.Fragment,null,m&&Z.createElement(f,{sideCar:oz,removeScrollBar:p,shards:g,noRelative:v,noIsolation:b,inert:_,setCallbacks:d,allowPinchZoom:!!w,lockRef:s,gapMode:x}),h?Z.cloneElement(Z.Children.only(u),oS(oS({},S),{ref:D})):Z.createElement(void 0===y?"div":y,oS({},S,{className:c,ref:D}),u))});oG.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},oG.classNames={fullWidth:oP,zeroRight:oE};var oR=function(e){var t=e.sideCar,i=ok(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return Z.createElement(n,oS({},i))};oR.isSideCarExport=!0;var oN=function(){var e=0,t=null;return{add:function(i){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=W||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var n,o;(n=t).styleSheet?n.styleSheet.cssText=i:n.appendChild(document.createTextNode(i)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},oO=function(){var e=oN();return function(t,i){Z.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&i])}},oL=function(){var e=oO();return function(t){return e(t.styles,t.dynamic),null}},oj={left:0,top:0,right:0,gap:0},oV=function(e){return parseInt(e||"",10)||0},oW=function(e){var t=window.getComputedStyle(document.body),i=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[oV(i),oV(n),oV(o)]},oH=function(e){if(void 0===e&&(e="margin"),"u"
Loading dataset...