UNPKG

@graphql-hive/laboratory

Version:

[Hive](https://the-guild.dev/graphql/hive) is a fully open-source schema registry, analytics, metrics and gateway for [GraphQL federation](https://the-guild.dev/graphql/hive/federation) and other GraphQL APIs.

38,233 lines • 1.71 MB
import { $ as e, $t as t, A as n, An as r, At as i, B as a, Bt as o, C as s, Cn as c, Ct as l, D as u, Dn as d, Dt as f, E as p, En as m, Et as h, F as g, Fn as _, Ft as v, G as y, Gt as b, Ht as x, I as S, It as C, J as w, Jt as T, K as E, Kt as D, L as O, Lt as k, M as A, Mn as ee, Mt as j, N as M, Nn as N, Nt as te, O as P, On as ne, Ot as re, P as ie, Pn as ae, Pt as oe, Q as se, R as ce, Rt as le, S as ue, Sn as de, St as fe, T as pe, Tn as me, Tt as he, V as ge, Vt as _e, Wt as ve, X as ye, Xt as be, Y as xe, Yt as Se, Z as Ce, Zt as we, _ as Te, _n as Ee, _t as De, a as Oe, an as ke, at as Ae, b as je, bn as Me, bt as Ne, c as Pe, cn as Fe, ct as Ie, d as Le, dn as Re, dt as ze, et as Be, f as Ve, fn as He, ft as Ue, g as We, gn as Ge, gt as Ke, h as qe, hn as Je, ht as Ye, i as Xe, in as Ze, it as Qe, j as $e, jn as et, jt as tt, k as nt, kn as rt, kt as it, l as at, ln as ot, lt as st, m as ct, mn as lt, mt as ut, n as dt, nn as F, nt as ft, o as pt, on as mt, ot as ht, p as gt, pn as _t, pt as vt, q as yt, qt as bt, rn as xt, rt as St, s as Ct, sn as wt, st as Tt, t as I, tn as Et, tt as Dt, u as Ot, un as kt, ut as At, v as jt, vn as Mt, vt as Nt, w as Pt, wn as Ft, wt as It, x as Lt, xn as Rt, xt as zt, y as Bt, yn as Vt, yt as Ht, z as Ut, zt as Wt } from "./monaco-editor-BzSKoqsB.js";
import { Gu as Gt, Ku as Kt, Uu as qt, Wu as Jt, a as Yt, c as Xt, d as Zt, f as Qt, h as $t, i as en, l as tn, m as nn, n as rn, o as an, p as on, r as sn, s as cn, t as ln, u as un } from "./editor.api-DX-lPANk.js";
import "./monaco.contribution-Bw1EXBxx.js";
import "./monaco.contribution-DBdSHkPx.js";
import dn from "react-dom/client";
import * as L from "react";
import R, { Fragment as fn, cloneElement as pn, createContext as mn, forwardRef as hn, isValidElement as gn, memo as _n, useCallback as z, useContext as vn, useDeferredValue as yn, useEffect as B, useId as bn, useImperativeHandle as xn, useInsertionEffect as Sn, useLayoutEffect as Cn, useMemo as V, useReducer as wn, useRef as H, useState as U, useSyncExternalStore as Tn } from "react";
import * as En from "react-dom";
import Dn, { createPortal as On, unstable_batchedUpdates as kn } from "react-dom";
import { AlignLeftIcon as An, BookOpenIcon as jn, BookmarkIcon as Mn, Box as Nn, BoxIcon as Pn, Boxes as Fn, CheckIcon as In, ChevronDownIcon as Ln, ChevronLeftIcon as Rn, ChevronUpIcon as zn, CircleCheckIcon as Bn, CirclePlus as Vn, CircleXIcon as Hn, ClockIcon as Un, CopyMinusIcon as Wn, CuboidIcon as Gn, FileIcon as Kn, FilePlus2Icon as qn, FileTextIcon as Jn, FlaskConicalIcon as Yn, FolderClockIcon as Xn, FolderIcon as Zn, FolderOpenIcon as Qn, FolderPlusIcon as $n, FoldersIcon as er, GitForkIcon as tr, GlobeIcon as nr, GripVerticalIcon as rr, HistoryIcon as ir, InfoIcon as ar, Layers2Icon as or, ListOrderedIcon as sr, ListTreeIcon as cr, Loader2Icon as lr, LockIcon as ur, MaximizeIcon as dr, MinimizeIcon as fr, MoreHorizontalIcon as pr, NetworkIcon as mr, OctagonXIcon as W, PanelLeftCloseIcon as hr, PanelLeftOpenIcon as gr, PencilIcon as _r, PlayIcon as vr, PowerIcon as yr, PowerOffIcon as br, RefreshCcwIcon as xr, RefreshCwIcon as Sr, ScrollTextIcon as Cr, SearchIcon as wr, ServerIcon as Tr, SettingsIcon as Er, SquareIcon as Dr, SquarePenIcon as Or, SquareTerminal as kr, TextAlignStartIcon as Ar, Trash2Icon as jr, TrashIcon as Mr, TriangleAlertIcon as Nr, UnlinkIcon as Pr, XIcon as Fr, ZoomInIcon as Ir, ZoomOutIcon as Lr } from "lucide-react";
import * as Rr from "zod";
import { z as G } from "zod";
import { useForm as zr } from "@tanstack/react-form";
import { createClient as Br } from "graphql-ws";
import { format as Vr } from "date-fns";
import { compressToEncodedURIComponent as Hr, decompressFromEncodedURIComponent as Ur } from "lz-string";
import { Fragment as Wr, jsx as K, jsxs as q } from "react/jsx-runtime";
import { __assign as Gr, __rest as Kr, __spreadArray as qr } from "tslib";
// src/index.css?inline
var Jr = "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-content:\"\";--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-orange-400:oklch(75% .183 55.934);--color-amber-400:oklch(82.8% .189 84.429);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-lime-400:oklch(84.1% .238 128.85);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-teal-400:oklch(77.7% .152 181.912);--color-blue-400:oklch(70.7% .165 254.624);--color-indigo-400:oklch(67.3% .182 276.935);--color-pink-500:oklch(65.6% .241 354.308);--color-rose-400:oklch(71.2% .194 13.428);--color-gray-400:oklch(70.7% .022 261.325);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-lg:32rem;--container-2xl:42rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--tracking-tight:-.025em;--tracking-wide:.025em;--tracking-widest:.1em;--leading-snug:1.375;--leading-normal:1.5;--leading-relaxed:1.625;--radius-xs:.125rem;--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-accent:hsl(var(--accent));--color-destructive:hsl(var(--destructive));--color-ring:hsl(var(--ring))}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components{*{--tw-border-style:solid;--tw-translate-x:0;--tw-translate-y:0;outline-color:hsl(var(--ring))}@supports (color:color-mix(in lab, red, red)){*{outline-color:color-mix(in oklab, hsl(var(--ring)) 50%, transparent)}}*,:after,:before,::backdrop{border:0 solid hsl(var(--border))}}@layer utilities{.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.top-0{top:0}.top-1\\/2{top:50%}.top-4{top:calc(var(--spacing) * 4)}.top-\\[50\\%\\]{top:50%}.right-2{right:calc(var(--spacing) * 2)}.right-4{right:calc(var(--spacing) * 4)}.right-5{right:calc(var(--spacing) * 5)}.bottom-0{bottom:0}.left-0{left:0}.left-2{left:calc(var(--spacing) * 2)}.left-4{left:calc(var(--spacing) * 4)}.left-5{left:calc(var(--spacing) * 5)}.left-\\[50\\%\\]{left:50%}.left-full{left:100%}.-z-10{z-index:calc(10 * -1)}.-z-20{z-index:calc(20 * -1)}.z-0{z-index:0}.z-10{z-index:10}.z-50{z-index:50}.z-100{z-index:100}.z-150{z-index:150}.z-200{z-index:200}.order-first{order:-9999}.order-last{order:9999}.col-start-2{grid-column-start:2}.row-span-2{grid-row:span 2/span 2}.row-start-1{grid-row-start:1}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0\\!{margin:0!important}.-mx-0\\.5{margin-inline:calc(var(--spacing) * -.5)}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.mx-auto{margin-inline:auto}.-my-2{margin-block:calc(var(--spacing) * -2)}.my-1{margin-block:var(--spacing)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\\.5{margin-top:calc(var(--spacing) * .5)}.mt-auto{margin-top:auto}.mr-1\\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-2{margin-right:calc(var(--spacing) * 2)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-px{margin-bottom:1px}.ml-1{margin-left:var(--spacing)}.ml-2{margin-left:calc(var(--spacing) * 2)}.ml-3{margin-left:calc(var(--spacing) * 3)}.ml-4{margin-left:calc(var(--spacing) * 4)}.ml-auto{margin-left:auto}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.aspect-square{aspect-ratio:1}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-10{width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.size-full{width:100%;height:100%}.h-2\\.5{height:calc(var(--spacing) * 2.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-6\\!{height:calc(var(--spacing) * 6)!important}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-64{height:calc(var(--spacing) * 64)}.h-96{height:calc(var(--spacing) * 96)}.h-\\[1\\.15rem\\]{height:1.15rem}.h-\\[49\\.5px\\]{height:49.5px}.h-\\[50px\\]{height:50px}.h-\\[calc\\(100\\%-1px\\)\\]{height:calc(100% - 1px)}.h-\\[var\\(--radix-select-trigger-height\\)\\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.max-h-\\(--radix-context-menu-content-available-height\\){max-height:var(--radix-context-menu-content-available-height)}.max-h-150{max-height:calc(var(--spacing) * 150)}.max-h-\\[300px\\]{max-height:300px}.max-h-\\[var\\(--radix-select-content-available-height\\)\\]{max-height:var(--radix-select-content-available-height)}.min-h-16{min-height:calc(var(--spacing) * 16)}.\\!w-8{width:calc(var(--spacing) * 8)!important}.w-2\\.5{width:calc(var(--spacing) * 2.5)}.w-3{width:calc(var(--spacing) * 3)}.w-6{width:calc(var(--spacing) * 6)}.w-8{width:calc(var(--spacing) * 8)}.w-12{width:calc(var(--spacing) * 12)}.w-56{width:calc(var(--spacing) * 56)}.w-72{width:calc(var(--spacing) * 72)}.w-96{width:calc(var(--spacing) * 96)}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.max-w-2xl{max-width:var(--container-2xl)}.max-w-2xl\\!{max-width:var(--container-2xl)!important}.max-w-\\[calc\\(100\\%-2rem\\)\\]{max-width:calc(100% - 2rem)}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:0}.min-w-6{min-width:calc(var(--spacing) * 6)}.min-w-8{min-width:calc(var(--spacing) * 8)}.min-w-9{min-width:calc(var(--spacing) * 9)}.min-w-10{min-width:calc(var(--spacing) * 10)}.min-w-72{min-width:calc(var(--spacing) * 72)}.min-w-\\[8rem\\]{min-width:8rem}.min-w-\\[var\\(--radix-select-trigger-width\\)\\]{min-width:var(--radix-select-trigger-width)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.grow-0{flex-grow:0}.origin-\\(--radix-context-menu-content-transform-origin\\){transform-origin:var(--radix-context-menu-content-transform-origin)}.origin-\\[var\\(--radix-dropdown-menu-content-transform-origin\\)\\]{transform-origin:var(--radix-dropdown-menu-content-transform-origin)}.origin-\\[var\\(--radix-select-content-transform-origin\\)\\]{transform-origin:var(--radix-select-content-transform-origin)}.origin-\\[var\\(--radix-tooltip-content-transform-origin\\)\\]{transform-origin:var(--radix-tooltip-content-transform-origin)}.-translate-x-1\\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\\[-50\\%\\]{--tw-translate-x:-50%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-\\[-50\\%\\]{--tw-translate-y:-50%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-\\[calc\\(-50\\%_-_2px\\)\\]{--tw-translate-y:calc(-50% - 2px);translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-45{rotate:45deg}.rotate-90{rotate:90deg}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-\\[dash_500ms_linear_infinite\\]{animation:.5s linear infinite dash}.animate-in{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.animate-spin{animation:var(--animate-spin)}.cursor-auto{cursor:auto}.cursor-default{cursor:default}.cursor-grab{cursor:grab}.cursor-grabbing{cursor:grabbing}.cursor-pointer{cursor:pointer}.cursor-text{cursor:text}.touch-none{touch-action:none}.resize-none{resize:none}.scroll-my-1{scroll-margin-block:var(--spacing)}.scroll-py-1{scroll-padding-block:var(--spacing)}.list-disc{list-style-type:disc}.auto-rows-min{grid-auto-rows:min-content}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-\\[1fr_auto\\]{grid-template-columns:1fr auto}.grid-cols-\\[1fr_auto_auto\\]{grid-template-columns:1fr auto auto}.grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.grid-rows-\\[auto_1fr\\]{grid-template-rows:auto 1fr}.grid-rows-\\[auto_auto\\]{grid-template-rows:auto auto}.grid-rows-\\[auto_auto_1fr\\]{grid-template-rows:auto auto 1fr}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.place-content-center{place-content:center}.items-center{align-items:center}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-start{justify-content:flex-start}.gap-0{gap:0}.gap-0\\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-7{gap:calc(var(--spacing) * 7)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\\[--spacing\\(var\\(--gap\\)\\)\\]{gap:calc(var(--spacing) * var(--gap))}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.justify-self-end{justify-self:flex-end}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-\\[2px\\]{border-radius:2px}.rounded-\\[4px\\]{border-radius:4px}.rounded-\\[calc\\(var\\(--radius\\)-5px\\)\\]{border-radius:calc(var(--radius) - 5px)}.rounded-\\[inherit\\]{border-radius:inherit}.rounded-full{border-radius:2147483647px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-none{border-radius:0}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:calc(var(--radius) + 4px)}.rounded-xs{border-radius:var(--radius-xs)}.\\!rounded-l-none{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.\\!rounded-l-sm{border-top-left-radius:calc(var(--radius) - 4px)!important;border-bottom-left-radius:calc(var(--radius) - 4px)!important}.\\!rounded-r-none{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.\\!rounded-r-sm{border-top-right-radius:calc(var(--radius) - 4px)!important;border-bottom-right-radius:calc(var(--radius) - 4px)!important}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-t-2{border-top-style:var(--tw-border-style);border-top-width:2px}.border-r-0{border-right-style:var(--tw-border-style);border-right-width:0}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none{--tw-border-style:none;border-style:none}.border-border{border-color:hsl(var(--border))}.border-input{border-color:hsl(var(--input))}.border-primary{border-color:hsl(var(--primary))}.border-transparent{border-color:#0000}.border-t-transparent{border-top-color:#0000}.border-l-transparent{border-left-color:#0000}.\\!bg-accent\\/50{background-color:hsl(var(--accent))!important}@supports (color:color-mix(in lab, red, red)){.\\!bg-accent\\/50{background-color:color-mix(in oklab, hsl(var(--accent)) 50%, transparent)!important}}.\\!bg-destructive\\/60{background-color:hsl(var(--destructive))!important}@supports (color:color-mix(in lab, red, red)){.\\!bg-destructive\\/60{background-color:color-mix(in oklab, hsl(var(--destructive)) 60%, transparent)!important}}.bg-accent\\/50{background-color:hsl(var(--accent))}@supports (color:color-mix(in lab, red, red)){.bg-accent\\/50{background-color:color-mix(in oklab, hsl(var(--accent)) 50%, transparent)}}.bg-background{background-color:hsl(var(--background))}.bg-black\\/50{background-color:#00000080}@supports (color:color-mix(in lab, red, red)){.bg-black\\/50{background-color:color-mix(in oklab, var(--color-black) 50%, transparent)}}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-destructive\\/60{background-color:hsl(var(--destructive))}@supports (color:color-mix(in lab, red, red)){.bg-destructive\\/60{background-color:color-mix(in oklab, hsl(var(--destructive)) 60%, transparent)}}.bg-foreground{background-color:hsl(var(--foreground))}.bg-green-400\\/10{background-color:#05df721a}@supports (color:color-mix(in lab, red, red)){.bg-green-400\\/10{background-color:color-mix(in oklab, var(--color-green-400) 10%, transparent)}}.bg-input,.bg-input\\/30{background-color:hsl(var(--input))}@supports (color:color-mix(in lab, red, red)){.bg-input\\/30{background-color:color-mix(in oklab, hsl(var(--input)) 30%, transparent)}}.bg-muted{background-color:hsl(var(--muted))}.bg-popover{background-color:hsl(var(--popover))}.bg-primary,.bg-primary\\/10{background-color:hsl(var(--primary))}@supports (color:color-mix(in lab, red, red)){.bg-primary\\/10{background-color:color-mix(in oklab, hsl(var(--primary)) 10%, transparent)}}.bg-red-400\\/10{background-color:#ff65681a}@supports (color:color-mix(in lab, red, red)){.bg-red-400\\/10{background-color:color-mix(in oklab, var(--color-red-400) 10%, transparent)}}.bg-secondary{background-color:hsl(var(--secondary))}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-\\[radial-gradient\\(hsl\\(var\\(--border\\)\\)_1px\\,transparent_1px\\)\\]{background-image:radial-gradient(hsl(var(--border)) 1px,transparent 1px)}.bg-size-\\[16px_16px\\]{background-size:16px 16px}.fill-current{fill:currentColor}.fill-foreground{fill:hsl(var(--foreground))}.fill-none{fill:none}.stroke-border{stroke:hsl(var(--border))}.stroke-2{stroke-width:2px}.p-0{padding:0}.p-0\\.5{padding:calc(var(--spacing) * .5)}.p-1{padding:var(--spacing)}.p-1\\!{padding:var(--spacing)!important}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.p-6{padding:calc(var(--spacing) * 6)}.p-\\[3px\\]{padding:3px}.p-px{padding:1px}.\\!px-1\\.5{padding-inline:calc(var(--spacing) * 1.5)!important}.px-0\\!{padding-inline:0!important}.px-0\\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-7{padding-inline:calc(var(--spacing) * 7)}.py-0{padding-block:0}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-6{padding-block:calc(var(--spacing) * 6)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pr-0{padding-right:0}.pr-0\\!{padding-right:0!important}.pr-1\\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pr-8{padding-right:calc(var(--spacing) * 8)}.pb-0{padding-bottom:0}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.\\!pl-1\\.5{padding-left:calc(var(--spacing) * 1.5)!important}.pl-1{padding-left:var(--spacing)}.pl-2{padding-left:calc(var(--spacing) * 2)}.pl-2\\.5{padding-left:calc(var(--spacing) * 2.5)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-8{padding-left:calc(var(--spacing) * 8)}.text-center{text-align:center}.text-left{text-align:left}.align-\\[-2px\\]{vertical-align:-2px}.font-mono{font-family:var(--font-mono)}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-sm\\/relaxed{font-size:var(--text-sm);line-height:var(--leading-relaxed)}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[11px\\]{font-size:11px}.leading-none{--tw-leading:1;line-height:1}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.text-balance{text-wrap:balance}.break-all{word-break:break-all}.text-ellipsis{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.\\!text-white{color:var(--color-white)!important}.text-amber-400{color:var(--color-amber-400)}.text-background{color:hsl(var(--background))}.text-blue-400{color:var(--color-blue-400)}.text-card-foreground{color:hsl(var(--card-foreground))}.text-current{color:currentColor}.text-destructive{color:hsl(var(--destructive))}.text-foreground{color:hsl(var(--foreground))}.text-gray-400{color:var(--color-gray-400)}.text-green-400{color:var(--color-green-400)}.text-green-500{color:var(--color-green-500)}.text-indigo-400{color:var(--color-indigo-400)}.text-lime-400{color:var(--color-lime-400)}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-muted-foreground\\!{color:hsl(var(--muted-foreground))!important}.text-orange-400{color:var(--color-orange-400)}.text-pink-500{color:var(--color-pink-500)}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-red-400{color:var(--color-red-400)}.text-red-500{color:var(--color-red-500)}.text-rose-400{color:var(--color-rose-400)}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-teal-400{color:var(--color-teal-400)}.text-white{color:var(--color-white)}.text-yellow-400{color:var(--color-yellow-400)}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.italic{font-style:italic}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-4{text-underline-offset:4px}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-0{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-ring\\/50{--tw-ring-color:hsl(var(--ring))}@supports (color:color-mix(in lab, red, red)){.ring-ring\\/50{--tw-ring-color:color-mix(in oklab, hsl(var(--ring)) 50%, transparent)}}.ring-offset-background{--tw-ring-offset-color:hsl(var(--background))}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition-\\[color\\,box-shadow\\]{transition-property:color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-none{transition-property:none}.duration-200{--tw-duration:.2s;transition-duration:.2s}.fade-in-0{--tw-enter-opacity:0}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.zoom-in-95{--tw-enter-scale:.95}.\\[stroke-dasharray\\:12_8\\]{stroke-dasharray:12 8}.paused{animation-play-state:paused}.running{animation-play-state:running}:is(.\\*\\:border-b>*){border-bottom-style:var(--tw-border-style);border-bottom-width:1px}:is(.\\*\\:border-dashed>*){--tw-border-style:dashed;border-style:dashed}:is(.\\*\\:border-border>*){border-color:hsl(var(--border))}:is(.\\*\\:pb-2>*){padding-bottom:calc(var(--spacing) * 2)}@media (hover:hover){.group-hover\\:bg-accent\\/50:is(:where(.group):hover *){background-color:hsl(var(--accent))}@supports (color:color-mix(in lab, red, red)){.group-hover\\:bg-accent\\/50:is(:where(.group):hover *){background-color:color-mix(in oklab, hsl(var(--accent)) 50%, transparent)}}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-has-\\[\\[data-orientation\\=horizontal\\]\\]\\/field\\:text-balance:is(:where(.group\\/field):has([data-orientation=horizontal]) *){text-wrap:balance}.group-has-\\[\\>input\\]\\/input-group\\:pt-2\\.5:is(:where(.group\\/input-group):has(>input) *){padding-top:calc(var(--spacing) * 2.5)}.group-has-\\[\\>input\\]\\/input-group\\:pb-2\\.5:is(:where(.group\\/input-group):has(>input) *){padding-bottom:calc(var(--spacing) * 2.5)}.group-data-\\[disabled\\=true\\]\\:pointer-events-none:is(:where(.group)[data-disabled=true] *){pointer-events:none}.group-data-\\[disabled\\=true\\]\\:opacity-50:is(:where(.group)[data-disabled=true] *),.group-data-\\[disabled\\=true\\]\\/field\\:opacity-50:is(:where(.group\\/field)[data-disabled=true] *),.group-data-\\[disabled\\=true\\]\\/input-group\\:opacity-50:is(:where(.group\\/input-group)[data-disabled=true] *){opacity:.5}.group-data-\\[variant\\=outline\\]\\/field-group\\:-mb-2:is(:where(.group\\/field-group)[data-variant=outline] *){margin-bottom:calc(var(--spacing) * -2)}.peer-disabled\\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\\:opacity-50:is(:where(.peer):disabled~*){opacity:.5}.selection\\:bg-primary ::selection{background-color:hsl(var(--primary))}.selection\\:bg-primary::selection{background-color:hsl(var(--primary))}.selection\\:text-primary-foreground ::selection{color:hsl(var(--primary-foreground))}.selection\\:text-primary-foreground::selection{color:hsl(var(--primary-foreground))}.file\\:inline-flex::file-selector-button{display:inline-flex}.file\\:h-7::file-selector-button{height:calc(var(--spacing) * 7)}.file\\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\\:bg-transparent::file-selector-button{background-color:#0000}.file\\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.file\\:text-foreground::file-selector-button{color:hsl(var(--foreground))}.placeholder\\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\\:left-1\\/2:after{content:var(--tw-content);left:50%}.after\\:w-1:after{content:var(--tw-content);width:var(--spacing)}.after\\:-translate-x-1\\/2:after{content:var(--tw-content);--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.last\\:mt-0:last-child{margin-top:0}:is(.\\*\\:last\\:border-b-0>*):last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}:is(.\\*\\:last\\:pb-0>*):last-child{padding-bottom:0}.empty\\:hidden:empty{display:none}.focus-within\\:border-ring:focus-within{border-color:hsl(var(--ring))}.focus-within\\:ring-\\[3px\\]:focus-within{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-within\\:ring-ring\\/50:focus-within{--tw-ring-color:hsl(var(--ring))}@supports (color:color-mix(in lab, red, red)){.focus-within\\:ring-ring\\/50:focus-within{--tw-ring-color:color-mix(in oklab, hsl(var(--ring)) 50%, transparent)}}@media (hover:hover){.hover\\:bg-accent:hover,.hover\\:bg-accent\\/50:hover{background-color:hsl(var(--accent))}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-accent\\/50:hover{background-color:color-mix(in oklab, hsl(var(--accent)) 50%, transparent)}}.hover\\:bg-input\\/50:hover{background-color:hsl(var(--input))}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-input\\/50:hover{background-color:color-mix(in oklab, hsl(var(--input)) 50%, transparent)}}.hover\\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\\:bg-primary\\/90:hover{background-color:hsl(var(--primary))}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-primary\\/90:hover{background-color:color-mix(in oklab, hsl(var(--primary)) 90%, transparent)}}.hover\\:bg-secondary\\/80:hover{background-color:hsl(var(--secondary))}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-secondary\\/80:hover{background-color:color-mix(in oklab, hsl(var(--secondary)) 80%, transparent)}}.hover\\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\\:text-destructive:hover{color:hsl(var(--destructive))}.hover\\:text-foreground:hover{color:hsl(var(--foreground))}.hover\\:text-muted-foreground:hover{color:hsl(var(--muted-foreground))}.hover\\:text-primary:hover{color:hsl(var(--primary))}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-80:hover{opacity:.8}.hover\\:opacity-100:hover{opacity:1}.hover\\:ring-4:hover{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}}.focus\\:z-10:focus{z-index:10}.focus\\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus\\:ring-ring:focus{--tw-ring-color:hsl(var(--ring))}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus\\:outline-hidden:focus{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.focus\\:outline-hidden:focus{outline-offset:2px;outline:2px solid #0000}}.focus-visible\\:z-10:focus-visible{z-index:10}.focus-visible\\:border-ring:focus-visible{border-color:hsl(var(--ring))}.focus-visible\\:ring-0:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-1:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-\\[3px\\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-destructive\\/40:focus-visible{--tw-ring-color:hsl(var(--destructive))}@supports (color:color-mix(in lab, red, red)){.focus-visible\\:ring-destructive\\/40:focus-visible{--tw-ring-color:color-mix(in oklab, hsl(var(--destructive)) 40%, transparent)}}.focus-visible\\:ring-ring:focus-visible,.focus-visible\\:ring-ring\\/50:focus-visible{--tw-ring-color:hsl(var(--ring))}@supports (color:color-mix(in lab, red, red)){.focus-visible\\:ring-ring\\/50:focus-visible{--tw-ring-color:color-mix(in oklab, hsl(var(--ring)) 50%, transparent)}}.focus-visible\\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\\:outline-hidden:focus-visible{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.focus-visible\\:outline-hidden:focus-visible{outline-offset:2px;outline:2px solid #0000}}.focus-visible\\:outline-1:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.focus-visible\\:outline-ring:focus-visible{outline-color:hsl(var(--ring))}:is(.\\*\\:focus-visible\\:relative>*):focus-visible{position:relative}:is(.\\*\\:focus-visible\\:z-10>*):focus-visible{z-index:10}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}.has-\\[\\[data-slot\\=input-group-control\\]\\:focus-visible\\]\\:border-ring:has([data-slot=input-group-control]:focus-visible){border-color:hsl(var(--ring))}.has-\\[\\[data-slot\\=input-group-control\\]\\:focus-visible\\]\\:ring-\\[3px\\]:has([data-slot=input-group-control]:focus-visible){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.has-\\[\\[data-slot\\=input-group-control\\]\\:focus-visible\\]\\:ring-ring\\/50:has([data-slot=input-group-control]:focus-visible){--tw-ring-color:hsl(var(--ring))}@supports (color:color-mix(in lab, red, red)){.has-\\[\\[data-slot\\=input-group-control\\]\\:focus-visible\\]\\:ring-ring\\/50:has([data-slot=input-group-control]:focus-visible){--tw-ring-color:color-mix(in oklab, hsl(var(--ring)) 50%, transparent)}}.has-\\[\\[data-slot\\]\\[aria-invalid\\=true\\]\\]\\:border-destructive:has([data-slot][aria-invalid=true]){border-color:hsl(var(--destructive))}.has-\\[\\[data-slot\\]\\[aria-invalid\\=true\\]\\]\\:ring-destructive\\/20:has([data-slot][aria-invalid=true]){--tw-ring-color:hsl(var(--destructive))}@supports (color:color-mix(in lab, red, red)){.has-\\[\\[data-slot\\]\\[aria-invalid\\=true\\]\\]\\:ring-destructive\\/20:has([data-slot][aria-invalid=true]){--tw-ring-color:color-mix(in oklab, hsl(var(--destructive)) 20%, transparent)}}.has-\\[\\>\\[data-align\\=block-end\\]\\]\\:h-auto:has(>[data-align=block-end]){height:auto}.has-\\[\\>\\[data-align\\=block-end\\]\\]\\:flex-col:has(>[data-align=block-end]){flex-direction:column}.has-\\[\\>\\[data-align\\=block-start\\]\\]\\:h-auto:has(>[data-align=block-start]){height:auto}.has-\\[\\>\\[data-align\\=block-start\\]\\]\\:flex-col:has(>[data-align=block-start]){flex-direction:column}.has-\\[\\>\\[data-slot\\=button-group\\]\\]\\:gap-2:has(>[data-slot=button-group]){gap:calc(var(--spacing) * 2)}.has-\\[\\>\\[data-slot\\=card-action\\]\\]\\:grid-cols-\\[1fr_auto\\]:has(>[data-slot=card-action]){grid-template-columns:1fr auto}.has-\\[\\>\\[data-slot\\=checkbox-group\\]\\]\\:gap-3:has(>[data-slot=checkbox-group]){gap:calc(var(--spacing) * 3)}.has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:items-start:has(>[data-slot=field-content]){align-items:flex-start}.has-\\[\\>\\[data-slot\\=field\\]\\]\\:w-full:has(>[data-slot=field]){width:100%}.has-\\[\\>\\[data-slot\\=field\\]\\]\\:flex-col:has(>[data-slot=field]){flex-direction:column}.has-\\[\\>\\[data-slot\\=field\\]\\]\\:rounded-md:has(>[data-slot=field]){border-radius:calc(var(--radius) - 2px)}.has-\\[\\>\\[data-slot\\=field\\]\\]\\:border:has(>[data-slot=field]){border-style:var(--tw-border-style);border-width:1px}.has-\\[\\>\\[data-slot\\=radio-group\\]\\]\\:gap-3:has(>[data-slot=radio-group]){gap:calc(var(--spacing) * 3)}.has-\\[\\>\\[data-state\\=checked\\]\\]\\:border-primary:has(>[data-state=checked]){border-color:hsl(var(--primary))}.has-\\[\\>\\[data-state\\=checked\\]\\]\\:bg-primary\\/10:has(>[data-state=checked]){background-color:hsl(var(--primary))}@supports (color:color-mix(in lab, red, red)){.has-\\[\\>\\[data-state\\=checked\\]\\]\\:bg-primary\\/10:has(>[data-state=checked]){background-color:color-mix(in oklab, hsl(var(--primary)) 10%, transparent)}}.has-\\[\\>button\\]\\:mr-\\[-0\\.45rem\\]:has(>button){margin-right:-.45rem}.has-\\[\\>button\\]\\:ml-\\[-0\\.45rem\\]:has(>button){margin-left:-.45rem}.has-\\[\\>kbd\\]\\:mr-\\[-0\\.35rem\\]:has(>kbd){margin-right:-.35rem}.has-\\[\\>kbd\\]\\:ml-\\[-0\\.35rem\\]:has(>kbd){margin-left:-.35rem}.has-\\[\\>svg\\]\\:p-0:has(>svg){padding:0}.has-\\[\\>svg\\]\\:px-2:has(>svg){padding-inline:calc(var(--spacing) * 2)}.has-\\[\\>svg\\]\\:px-2\\.5:has(>svg){padding-inline:calc(var(--spacing) * 2.5)}.has-\\[\\>svg\\]\\:px-3:has(>svg){padding-inline:calc(var(--spacing) * 3)}.has-\\[\\>svg\\]\\:px-4:has(>svg){padding-inline:calc(var(--spacing) * 4)}.has-\\[\\>textarea\\]\\:h-auto:has(>textarea){height:auto}.aria-invalid\\:border-destructive[aria-invalid=true]{border-color:hsl(var(--destructive))}.aria-invalid\\:ring-destructive\\/20[aria-invalid=true]{--tw-ring-color:hsl(var(--destructive))}@supports (color:color-mix(in lab, red, red)){.aria-invalid\\:ring-destructive\\/20[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, hsl(var(--destructive)) 20%, transparent)}}.aria-invalid\\:ring-destructive\\/40[aria-invalid=true]{--tw-ring-color:hsl(var(--destructive))}@supports (color:color-mix(in lab, red, red)){.aria-invalid\\:ring-destructive\\/40[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, hsl(var(--destructive)) 40%, transparent)}}.data-disabled\\:pointer-events-none[data-disabled]{pointer-events:none}.data-disabled\\:opacity-50[data-disabled]{opacity:.5}.data-dragging\\:cursor-grabbing[data-dragging]{cursor:grabbing}.data-dragging\\:opacity-0[data-dragging]{opacity:0}.data-inset\\:pl-8[data-inset]{padding-left:calc(var(--spacing) * 8)}.data-placeholder\\:text-muted-foreground[data-placeholder]{color:hsl(var(--muted-foreground))}.data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}.data-\\[disabled\\=true\\]\\:pointer-events-none[data-disabled=true]{pointer-events:none}.data-\\[disabled\\=true\\]\\:opacity-50[data-disabled=true]{opacity:.5}.data-\\[invalid\\=true\\]\\:text-destructive[data-invalid=true]{color:hsl(var(--destructive))}.data-\\[orientation\\=horizontal\\]\\:h-1\\.5[data-orientation=horizontal]{height:calc(var(--spacing) * 1.5)}.data-\\[orientation\\=horizontal\\]\\:h-full[data-orientation=horizontal]{height:100%}.data-\\[orientation\\=horizontal\\]\\:h-px[data-orientation=horizontal]{height:1px}.data-\\[orientation\\=horizontal\\]\\:w-full[data-orientation=horizontal]{width:100%}.data-\\[orientation\\=vertical\\]\\:h-auto[data-orientation=vertical]{height:auto}.data-\\[orientation\\=vertical\\]\\:h-full[data-orientation=vertical]{height:100%}.data-\\[orientation\\=vertical\\]\\:h-px[data-orientation=vertical]{height:1px}.data-\\[orientation\\=vertical\\]\\:min-h-44[data-orientation=vertical]{min-height:calc(var(--spacing) * 44)}.data-\\[orientation\\=vertical\\]\\:w-1\\.5[data-orientation=vertical]{width:calc(var(--spacing) * 1.5)}.data-\\[orientation\\=vertical\\]\\:w-auto[data-orientation=vertical]{width:auto}.data-\\[orientation\\=vertical\\]\\:w-full[data-orientation=vertical]{width:100%}.data-\\[orientation\\=vertical\\]\\:w-px[data-orientation=vertical]{width:1px}.data-\\[orientation\\=vertical\\]\\:flex-col[data-orientation=vertical]{flex-direction:column}.data-\\[orientation\\=vertical\\]\\:after\\:left-0[data-orientation=vertical]:after{content:var(--tw-content);left:0}.data-\\[orientation\\=vertical\\]\\:after\\:h-1[data-orientation=vertical]:after{content:var(--tw-content);height:var(--spacing)}.data-\\[orientation\\=vertical\\]\\:after\\:w-full[data-orientation=vertical]:after{content:var(--tw-content);width:100%}.data-\\[orientation\\=vertical\\]\\:after\\:translate-x-0[data-orientation=vertical]:after{content:var(--tw-content);--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[orientation\\=vertical\\]\\:after\\:-translate-y-1\\/2[data-orientation=vertical]:after{content:var(--tw-content);--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[selected\\=true\\]\\:bg-accent[data-selected=true]{background-color:hsl(var(--accent))}.data-\\[selected\\=true\\]\\:text-accent-foreground[data-selected=true]{color:hsl(var(--accent-foreground))}.data-\\[side\\=bottom\\]\\:translate-y-1[data-side=bottom]{--tw-translate-y:var(--spacing);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:calc(2*var(--spacing)*-1)}.data-\\[side\\=left\\]\\:-translate-x-1[data-side=left]{--tw-translate-x:calc(var(--spacing) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:calc(2*var(--spacing))}.data-\\[side\\=right\\]\\:translate-x-1[data-side=right]{--tw-translate-x:var(--spacing);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.data-\\[side\\=top\\]\\:-translate-y-1[data-side=top]{--tw-translate-y:calc(var(--spacing) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:calc(2*var(--spacing))}.data-\\[size\\=default\\]\\:h-9[data-size=default]{height:calc(var(--spacing) * 9)}.data-\\[size\\=sm\\]\\:h-8[data-size=sm]{height:calc(var(--spacing) * 8)}.data-\\[slot\\=checkbox-group\\]\\:gap-3[data-slot=checkbox-group]{gap:calc(var(--spacing) * 3)}:is(.\\*\\*\\:data-\\[slot\\=command-input-wrapper\\]\\:h-12 *)[data-slot=command-input-wrapper]{height:calc(var(--spacing) * 12)}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:line-clamp-1>*)[data-slot=select-value]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:flex>*)[data-slot=select-value]{display:flex}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:items-center>*)[data-slot=select-value]{align-items:center}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:gap-2>*)[data-slot=select-value]{gap:calc(var(--spacing) * 2)}.data-\\[spacing\\=0\\]\\:rounded-none[data-spacing=\"0\"]{border-radius:0}.data-\\[spacing\\=0\\]\\:shadow-none[data-spacing=\"0\"]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-\\[spacing\\=0\\]\\:first\\:rounded-l-md[data-spacing=\"0\"]:first-child{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.data-\\[spacing\\=0\\]\\:last\\:rounded-r-md[data-spacing=\"0\"]:last-child{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.data-\\[state\\=active\\]\\:border-input[data-state=active]{border-color:hsl(var(--input))}.data-\\[state\\=active\\]\\:bg-input\\/30[data-state=active]{background-color:hsl(var(--input))}@supports (color:color-mix(in lab, red, red)){.data-\\[state\\=active\\]\\:bg-input\\/30[data-state=active]{background-color:color-mix(in oklab, hsl(var(--input)) 30%, transparent)}}.data-\\[state\\=active\\]\\:text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\\[state\\=active\\]\\:shadow-sm[data-state=active]{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-\\[state\\=checked\\]\\:translate-x-\\[calc\\(100\\%-2px\\)\\][data-state=checked]{--tw-translate-x:calc(100% - 2px);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[state\\=checked\\]\\:border-primary[data-state=checked]{border-color:hsl(var(--primary))}.data-\\[state\\=checked\\]\\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\\[state\\=checked\\]\\:bg-primary-foreground[data-state=checked]{background-color:hsl(var(--primary-foreground))}.data-\\[state\\=checked\\]\\:text-primary-foreground[data-state=checked]{color:hsl(var(--primary-foreground))}.data-\\[state\\=closed\\]\\:animate-out[data-state=closed]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[state\\=closed\\]\\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.data-\\[state\\=on\\]\\:bg-accent[data-state=on]{background-color:hsl(var(--accent))}.data-\\[state\\=on\\]\\:bg-transparent[data-state=on]{background-color:#0000}.data-\\[state\\=on\\]\\:text-accent-foreground[data-state=on]{color:hsl(var(--accent-foreground))}.data-\\[state\\=open\\]\\:animate-in[data-state=open]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[state\\=open\\]\\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\\[state\\=open\\]\\:text-accent-foreground[data-state=open]{color:hsl(var(--accent-foreground))}.data-\\[state\\=open\\]\\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\\[state\\=open\\]\\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\\[state\\=open\\]\\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.data-\\[state\\=unchecked\\]\\:translate-x-0[data-state=unchecked]{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[state\\=unchecked\\]\\:bg-foreground[data-state=unchecked]{background-color:hsl(var(--foreground))}.data-\\[state\\=unchecked\\]\\:bg-input\\/80[data-state=unchecked]{background-color:hsl(var(--input))}@supports (color:color-mix(in lab, red, red)){.data-\\[state\\=unchecked\\]\\:bg-input\\/80[data-state=unchecked]{background-color:color-mix(in oklab, hsl(var(--input)) 80%, transparent)}}.data-\\[variant\\=destructive\\]\\:text-destructive[data-variant=destructive]{color:hsl(var(--destructive))}.data-\\[variant\\=destructive\\]\\:focus\\:bg-destructive\\/20[data-variant=destructive]:focus{background-color:hsl(var(--destructive))}@supports (color:color-mix(in lab, red, red)){.data-\\[variant\\=destructive\\]\\:focus\\:bg-destructive\\/20[data-variant=destructive]:focus{background-color:color-mix(in oklab, hsl(var(--destructive)) 20%, transparent)}}.data-\\[variant\\=destructive\\]\\:focus\\:text-destructive[data-variant=destructive]:focus{color:hsl(var(--destructive))}.data-\\[variant\\=label\\]\\:text-sm[data-variant=label]{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.data-\\[variant\\=legend\\]\\:text-base[data-variant=legend]{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.data-\\[spacing\\=0\\]\\:data-\\[variant\\=outline\\]\\:border-l-0[data-spacing=\"0\"][data-variant=outline]{border-left-style:var(--tw-border-style);border-left-width:0}.data-\\[spacing\\=0\\]\\:data-\\[variant\\=outline\\]\\:first\\:border-l[data-spacing=\"0\"][data-variant=outline]:first-child{border-left-style:var(--tw-border-style);border-left-width:1px}.data-\\[spacing\\=default\\]\\:data-\\[variant\\=outline\\]\\:shadow-xs[data-spacing=default][data-variant=outline]{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.nth-last-2\\:-mt-1:nth-last-child(2){margin-top:calc(var(--spacing) * -1)}@media (width>=40rem){.sm\\:max-w-\\[425px\\]{max-width:425px}.sm\\:max-w-lg{max-width:var(--container-lg)}.sm\\:flex-row{flex-direction:row}.sm\\:justify-end{justify-content:flex-end}.sm\\:text-left{text-align:left}}@media (width>=48rem){.md\\:p-12{padding:calc(var(--spacing) * 12)}.md\\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}@container field-group (width>=28rem){.\\@md\\/field-group\\:flex-row{flex-direction:row}.\\@md\\/field-group\\:items-center{align-items:center}.\\@md\\/field-group\\:has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:items-start:has(>[data-slot=field-content]){align-items:flex-start}}@media (prefers-color-scheme:dark){.dark\\:bg-input\\/30{background-color:hsl(var(--input))}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-input\\/30{background-color:color-mix(in oklab, hsl(var(--input)) 30%, transparent)}}.dark\\:bg-transparent{background-color:#0000}.dark\\:has-\\[\\[data-slot\\]\\[aria-invalid\\=true\\]\\]\\:ring-destructive\\/40:has([data-slot][aria-invalid=true]){--tw-ring-color:hsl(var(--destructive))}@supports (color:color-mix(in lab, red, red)){.dark\\:has-\\[\\[data-slot\\]\\[aria-invalid\\=true\\]\\]\\:ring-destructive\\/40:has([data-slot][aria-invalid=true]){--tw-ring-color:color-mix(in oklab, hsl(var(--destructive)) 40%, transparent)}}.dark\\:aria-invalid\\:ring-destructive\\/40[aria-invalid=true]{--tw-ring-color:hsl(var(--destructive))}@supports (color:color-mix(in lab, red, red)){.dark\\:aria-invalid\\:ring-destructive\\/40[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, hsl(var(--destructive)) 40%, transparent)}}}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:px-2 [cmdk-group-heading]{padding-inline:calc(var(--spacing) * 2)}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:py-1\\.5 [cmdk-group-heading]{padding-block:calc(var(--spacing) * 1.5)}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:text-xs [cmdk-group-heading]{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:font-medium [cmdk-group-heading]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:text-muted-foreground [cmdk-group-heading]{color:hsl(var(--muted-foreground))}.\\[\\&_\\[cmdk-group\\]\\]\\:px-2 [cmdk-group]{padding-inline:calc(var(--spacing) * 2)}.\\[\\&_\\[cmdk-group\\]\\:not\\(\\[hidden\\]\\)_\\~\\[cmdk-group\\]\\]\\:pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:0}.\\[\\&_\\[cmdk-input-wrapper\\]_svg\\]\\:size-5 [cmdk-input-wrapper] svg{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.\\[\\&_\\[cmdk-input\\]\\]\\:h-12 [cmdk-input]{height:calc(var(--spacing) * 12)}.\\[\\&_\\[cmdk-item\\]\\]\\:px-2 [cmdk-item]{padding-inline:calc(var(--spacing) * 2)}.\\[\\&_\\[cmdk-item\\]\\]\\:py-3 [cmdk-item]{padding-block:calc(var(--spacing) * 3)}.\\[\\&_\\[cmdk-item\\]_svg\\]\\:size-5 [cmdk-item] svg{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.\\[\\&_a\\]\\:text-primary a{color:hsl(var(--primary))}.\\[\\&_a\\]\\:underline a{text-decoration-line:underline}.\\[\\&_code\\]\\:rounded code{border-radius:.25rem}.\\[\\&_code\\]\\:bg-black\\/20 code{background-color:#0003}@supports (color:color-mix(in lab, red, red)){.\\[\\&_code\\]\\:bg-black\\/20 code{background-color:color-mix(in oklab, var(--color-black) 20%, transparent)}}.\\[\\&_code\\]\\:px-1 code{padding-inline:var(--spacing)}.\\[\\&_code\\]\\:py-0\\.5 code{padding-block:calc(var(--spacing) * .5)}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-4 svg:not([class*=size-]){width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-6 svg:not([class*=size-]){width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'text-\\'\\]\\)\\]\\:text-muted-foreground svg:not([class*=text-]){color:hsl(var(--muted-foreground))}.\\[\\.border-b\\]\\:pb-3.border-b{padding-bottom:calc(var(--spacing) * 3)}.\\[\\.border-b\\]\\:pb-6.border-b{padding-bottom:calc(var(--spacing) * 6)}.\\[\\.border-t\\]\\:pt-3.border-t{padding-top:calc(var(--spacing) * 3)}.\\[\\.border-t\\]\\:pt-6.border-t{padding-top:calc(var(--spacing) * 6)}:is(.\\*\\:\\[span\\]\\:last\\:flex>*):is(span):last-child{display:flex}:is(.\\*\\:\\[span\\]\\:last\\:items-center>*):is(span):last-child{align-items:center}:is(.\\*\\:\\[span\\]\\:last\\:gap-2>*):is(span):last-child{gap:calc(var(--spacing) * 2)}:is(.data-\\[state\\=on\\]\\:\\*\\:\\[svg\\]\\:fill-yellow-500[data-state=on]>*):is(svg){fill:var(--color-yellow-500)}:is(.data-\\[state\\=on\\]\\:\\*\\:\\[svg\\]\\:stroke-yellow-500[data-state=on]>*):is(svg){stroke:var(--color-yellow-500)}:is(.data-\\[variant\\=destructive\\]\\:\\*\\:\\[svg\\]\\:text-destructive\\![data-variant=destructive]>*):is(svg){color:hsl(var(--destructive))!important}.\\[\\&\\>\\*\\]\\:w-full>*{width:100%}.\\[\\&\\>\\*\\]\\:data-\\[slot\\=field\\]\\:p-4>[data-slot=field]{padding:calc(var(--spacing) * 4)}@container field-group (width>=28rem){.\\@md\\/field-group\\:\\[\\&\\>\\*\\]\\:w-auto>*{width:auto}}.\\[\\&\\>\\*\\:not\\(\\:first-child\\)\\]\\:rounded-t-none>:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.\\[\\&\\>\\*\\:not\\(\\:first-child\\)\\]\\:rounded-l-none>:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.\\[\\&\\>\\*\\:not\\(\\:first-child\\)\\]\\:border-t-0>:not(:first-child){border-top-style:var(--tw-border-style);border-top-width:0}.\\[\\&\\>\\*\\:not\\(\\:first-child\\)\\]\\:border-l-0>:not(:first-child){border-left-style:var(--tw-border-style);border-left-width:0}.\\[\\&\\>\\*\\:not\\(\\:last-child\\)\\]\\:rounded-r-none>:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.\\[\\&\\>\\*\\:not\\(\\:last-child\\)\\]\\:rounded-b-none>:not(:last-child){border-bottom-right-radius:0;border-bottom-left-radius:0}.\\[\\&\\>\\.sr-only\\]\\:w-auto>.sr-only{width:auto}.\\[\\&\\>\\[data-slot\\=field-group\\]\\]\\:gap-4>[data-slot=field-group]{gap:calc(var(--spacing) * 4)}.\\[\\&\\>\\[data-slot\\=field-label\\]\\]\\:flex-auto>[data-slot=field-label]{flex:auto}@container field-group (width>=28rem){.\\@md\\/field-group\\:\\[\\&\\>\\[data-slot\\=field-label\\]\\]\\:flex-auto>[data-slot=field-label]{flex:auto}}.has-\\[select\\[aria-hidden\\=true\\]\\:last-child\\]\\:\\[\\&\\>\\[data-slot\\=select-trigger\\]\\:last-of-type\\]\\:rounded-r-md:has(:is(select[aria-hidden=true]:last-child))>[data-slot=select-trigger]:last-of-type{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.\\[\\&\\>\\[data-slot\\=select-trigger\\]\\:not\\(\\[class\\*\\=\\'w-\\'\\]\\)\\]\\:w-fit>[data-slot=select-trigger]:not([class*=w-]){width:fit-content}:is(.has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:\\[\\&\\>\\[role\\=checkbox\\]\\,\\[role\\=radio\\]\\]\\:mt-px:has(>[data-slot=field-content])>[role=checkbox],.has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:\\[\\&\\>\\[role\\=checkbox\\]\\,\\[role\\=radio\\]\\]\\:mt-px:has(>[data-slot=field-content]) [role=radio]){margin-top:1px}@container field-group (width>=28rem){:is(.\\@md\\/field-group\\:has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:\\[\\&\\>\\[role\\=checkbox\\]\\,\\[role\\=radio\\]\\]\\:mt-px:has(>[data-slot=field-content])>[role=checkbox],.\\@md\\/field-group\\:has-\\[\\>\\[data-slot\\=field-content\\]\\]\\:\\[\\&\\>\\[role\\=checkbox\\]\\,\\[role\\=radio\\]\\]\\:mt-px:has(>[data-slot=field-content]) [role=radio]){margin-top:1px}}.\\[\\&\\>a\\]\\:underline>a{text-decoration-line:underline}.\\[\\&\\>a\\]\\:underline-offset-4>a{text-underline-offset:4px}.\\[\\&\\>a\\:hover\\]\\:text-primary>a:hover{color:hsl(var(--primary))}.\\[\\&\\>input\\]\\:flex-1>input{flex:1}.has-\\[\\>\\[data-align\\=block-end\\]\\]\\:\\[\\&\\>input\\]\\:pt-3:has(>[data-align=block-end])>input{padding-top:calc(var(--spacing) * 3)}.has-\\[\\>\\[data-align\\=block-start\\]\\]\\:\\[\\&\\>input\\]\\:pb-3:has(>[data-align=block-start])>input{padding-bottom:calc(var(--spacing) * 3)}.has-\\[\\>\\[data-align\\=inline-end\\]\\]\\:\\[\\&\\>input\\]\\:pr-2:has(>[data-align=inline-end])>input{padding-right:calc(var(--spacing) * 2)}.has-\\[\\>\\[data-align\\=inline-start\\]\\]\\:\\[\\&\\>input\\]\\:pl-2:has(>[data-align=inline-start])>input{padding-left:calc(var(--spacing) * 2)}.\\[\\&\\>kbd\\]\\:rounded-\\[calc\\(var\\(--radius\\)-5px\\)\\]>kbd{border-radius:calc(var(--radius) - 5px)}.\\[\\&\\>svg\\]\\:pointer-events-none>svg{pointer-events:none}.\\[\\&\\>svg\\]\\:size-3>svg{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.\\[\\&\\>svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-3\\.5>svg:not([class*=size-]){width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.\\[\\&\\>svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-4>svg:not([class*=size-]){width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\\[\\&\\[data-orientation\\=vertical\\]\\>div\\]\\:rotate-90[data-orientation=vertical]>div{rotate:90deg}[data-variant=legend]+.\\[\\[data-variant\\=legend\\]\\+\\&\\]\\:-mt-1\\.5{margin-top:calc(var(--spacing) * -1.5)}@media (hover:hover){a.\\[a\\&\\]\\:hover\\:bg-accent:hover{background-color:hsl(var(--accent))}a.\\[a\\&\\]\\:hover\\:bg-destructive\\/90:hover{background-color:hsl(var(--destructive))}@supports (color:color-mix(in lab, red, red)){a.\\[a\\&\\]\\:hover\\:bg-destructive\\/90:hover{background-color:color-mix(in oklab, hsl(var(--destructive)) 90%, transparent)}}a.\\[a\\&\\]\\:hover\\:bg-primary\\/90:hover{background-color:hsl(var(--primary))}@supports (color:color-mix(in lab, red, red)){a.\\[a\\&\\]\\:hover\\:bg-primary\\/90:hover{background-color:color-mix(in oklab, hsl(var(--primary)) 90%, transparent)}}a.\\[a\\&\\]\\:hover\\:bg-secondary\\/90:hover{background-color:hsl(var(--secondary))}@supports (color:color-mix(in lab, red, red)){a.\\[a\\&\\]\\:hover\\:bg-secondary\\/90:hover{background-color:color-mix(in oklab, hsl(var(--secondary)) 90%, transparent)}}a.\\[a\\&\\]\\:hover\\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}}}@property --tw-animation-delay{syntax:\"*\";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:\"*\";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:\"*\";inherits:false}@property --tw-animation-fill-mode{syntax:\"*\";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:\"*\";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:\"*\";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:\"*\";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:\"*\";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:\"*\";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:\"*\";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:\"*\";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:\"*\";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:\"*\";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:\"*\";inherits:false;initial-value:0}:host,.hive-laboratory{width:100%;height:100%;display:block}.hive-laboratory .inactive-line{opacity:.5}.hive-laboratory{--color-neutral-1:0 0% 99%;--color-neutral-2:180 9% 97%;--color-neutral-3:210 7% 95%;--color-neutral-4:200 6% 92%;--color-neutral-5:210 6% 89%;--color-neutral-6:204 5% 79%;--color-neutral-7:197 4% 67%;--color-neutral-8:196 4% 51%;--color-neutral-9:193 9% 32%;--color-neutral-10:188 15% 21%;--color-neutral-11:188 19% 15%;--color-neutral-12:175 23% 10%;--color-accent:206 96% 35%;--color-ring:216 58% 49%;--color-destructive:357 96% 58%;--radius:var(--hive-laboratory-radius,.5rem);--background:var(--hive-laboratory-background,var(--color-neutral-2));--foreground:var(--hive-laboratory-foreground,var(--color-neutral-11));--muted:var(--hive-laboratory-muted,var(--color-neutral-3));--muted-foreground:var(--hive-laboratory-muted-foreground,var(--color-neutral-11));--popover:var(--hive-laboratory-popover,var(--color-neutral-3));--popover-foreground:var(--hive-laboratory-popover-foreground,var(--color-neutral-11));--card:var(--hive-laboratory-card,var(--color-neutral-1));--card-foreground:var(--hive-laboratory-card-foreground,var(--color-neutral-11));--border:var(--hive-laboratory-border,var(--color-neutral-5));--input:var(--hive-laboratory-input,var(--color-neutral-5));--primary:var(--hive-laboratory-primary,var(--color-accent));--primary-foreground:var(--hive-laboratory-primary-foreground,var(--color-neutral-1));--secondary:var(--hive-laboratory-secondary,var(--color-neutral-3));--secondary-foreground:var(--hive-laboratory-secondary-foreground,var(--color-neutral-8));--accent:var(--hive-laboratory-accent,var(--color-neutral-4));--accent-foreground:var(--hive-laboratory-accent-foreground,var(--color-neutral-11));--destructive:var(--hive-laboratory-destructive,var(--color-destructive));--destructive-foreground:var(--hive-laboratory-destructive-foreground,var(--color-neutral-1));--ring:var(--hive-laboratory-ring,var(--color-ring))}.hive-laboratory .monaco-editor{--vscode-focusBorder:transparent!important}.hive-laboratory.dark{--color-neutral-1:210 21% 5%;--color-neutral-2:210 16% 7%;--color-neutral-3:214 14% 10%;--color-neutral-4:210 13% 13%;--color-neutral-5:210 12% 16%;--color-neutral-6:210 11% 21%;--color-neutral-7:210 12% 27%;--color-neutral-8:210 11% 34%;--color-neutral-9:210 10% 43%;--color-neutral-10:213 9% 58%;--color-neutral-11:210 11% 75%;--color-neutral-12:204 14% 93%;--color-accent:48 100% 83%;--color-destructive:358.75 100% 70%;--radius:var(--hive-laboratory-radius,.5rem);--background:var(--hive-laboratory-background,var(--color-neutral-1));--foreground:var(--hive-laboratory-foreground,var(--color-neutral-11));--muted:var(--hive-laboratory-muted,var(--color-neutral-3));--muted-foreground:var(--hive-laboratory-muted-foreground,var(--color-neutral-11));--popover:var(--hive-laboratory-popover,var(--color-neutral-3));--popover-foreground:var(--hive-laboratory-popover-foreground,var(--color-neutral-11));--card:var(--hive-laboratory-card,var(--color-neutral-2));--card-foreground:var(--hive-laboratory-card-foreground,var(--color-neutral-11));--border:var(--hive-laboratory-border,var(--color-neutral-5));--input:var(--hive-laboratory-input,var(--color-neutral-5));--primary:var(--hive-laboratory-primary,var(--color-accent));--primary-foreground:var(--hive-laboratory-primary-foreground,var(--color-neutral-1));--secondary:var(--hive-laboratory-secondary,var(--color-neutral-3));--secondary-foreground:var(--hive-laboratory-secondary-foreground,var(--color-neutral-11));--accent:var(--hive-laboratory-accent,var(--color-neutral-6));--accent-foreground:var(--hive-laboratory-accent-foreground,var(--color-neutral-11));--destructive:var(--hive-laboratory-destructive,var(--color-destructive));--destructive-foreground:var(--hive-laboratory-destructive-foreground,var(--color-neutral-1));--ring:var(--hive-laboratory-ring,var(--color-ring))}@layer color{.hive-laboratory{background-color:hsl(var(--background));color:hsl(var(--foreground))}}@keyframes dash{to{stroke-dashoffset:-20px}}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:\"*\";inherits:false}@property --tw-rotate-y{syntax:\"*\";inherits:false}@property --tw-rotate-z{syntax:\"*\";inherits:false}@property --tw-skew-x{syntax:\"*\";inherits:false}@property --tw-skew-y{syntax:\"*\";inherits:false}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-tracking{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-blur{syntax:\"*\";inherits:false}@property --tw-brightness{syntax:\"*\";inherits:false}@property --tw-contrast{syntax:\"*\";inherits:false}@property --tw-grayscale{syntax:\"*\";inherits:false}@property --tw-hue-rotate{syntax:\"*\";inherits:false}@property --tw-invert{syntax:\"*\";inherits:false}@property --tw-opacity{syntax:\"*\";inherits:false}@property --tw-saturate{syntax:\"*\";inherits:false}@property --tw-sepia{syntax:\"*\";inherits:false}@property --tw-drop-shadow{syntax:\"*\";inherits:false}@property --tw-drop-shadow-color{syntax:\"*\";inherits:false}@property --tw-drop-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:\"*\";inherits:false}@property --tw-duration{syntax:\"*\";inherits:false}@property --tw-content{syntax:\"*\";inherits:false;initial-value:\"\"}@keyframes spin{to{transform:rotate(360deg)}}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0));filter:blur(var(--tw-enter-blur,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0));filter:blur(var(--tw-exit-blur,0))}}", Yr = "/*!-----------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)\n * Released under the MIT license\n * https://github.com/microsoft/vscode/blob/main/LICENSE.txt\n *-----------------------------------------------------------*/\n.monaco-action-bar{white-space:nowrap;height:100%}.monaco-action-bar .actions-container{align-items:center;width:100%;height:100%;margin:0 auto;padding:0;display:flex}.monaco-action-bar.vertical .actions-container{display:inline-block}.monaco-action-bar .action-item{cursor:pointer;justify-content:center;align-items:center;display:block;position:relative}.monaco-action-bar .action-item.disabled{cursor:default}.monaco-action-bar .action-item .codicon,.monaco-action-bar .action-item .icon{display:block}.monaco-action-bar .action-item .codicon{align-items:center;width:16px;height:16px;display:flex}.monaco-action-bar .action-label{border-radius:5px;padding:3px;font-size:11px;display:flex}.monaco-action-bar .action-item.disabled .action-label,.monaco-action-bar .action-item.disabled .action-label:before,.monaco-action-bar .action-item.disabled .action-label:hover{color:var(--vscode-disabledForeground)}.monaco-action-bar.vertical{text-align:left}.monaco-action-bar.vertical .action-item{display:block}.monaco-action-bar.vertical .action-label.separator{border-bottom:1px solid #bbb;margin-left:.8em;margin-right:.8em;padding-top:1px;display:block}.monaco-action-bar .action-item .action-label.separator{cursor:default;background-color:#bbb;width:1px;min-width:1px;height:16px;padding:0;margin:5px 4px!important}.secondary-actions .monaco-action-bar .action-label{margin-left:6px}.monaco-action-bar .action-item.select-container{flex:1;justify-content:center;align-items:center;min-width:60px;max-width:170px;margin-right:10px;display:flex;overflow:hidden}.monaco-action-bar .action-item.action-dropdown-item{display:flex}.monaco-action-bar .action-item.action-dropdown-item>.action-dropdown-item-separator{cursor:default;align-items:center;display:flex}.monaco-action-bar .action-item.action-dropdown-item>.action-dropdown-item-separator>div{width:1px}.monaco-aria-container{position:absolute;left:-999em}.monaco-text-button{border:1px solid var(--vscode-button-border,transparent);box-sizing:border-box;cursor:pointer;text-align:center;border-radius:2px;justify-content:center;align-items:center;width:100%;padding:4px;line-height:18px;display:flex}.monaco-text-button:focus{outline-offset:2px!important}.monaco-text-button:hover{text-decoration:none!important}.monaco-button.disabled,.monaco-button.disabled:focus{cursor:default;opacity:.4!important}.monaco-text-button .codicon{margin:0 .2em;color:inherit!important}.monaco-text-button.monaco-text-button-with-short-label{flex-flow:wrap;height:28px;padding:0 4px;overflow:hidden}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label{flex-basis:100%}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label-short{flex-grow:1;width:0;overflow:hidden}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label,.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label-short{font-style:inherit;justify-content:center;align-items:center;padding:4px 0;font-weight:400;display:flex}.monaco-button-dropdown{cursor:pointer;display:flex}.monaco-button-dropdown.disabled{cursor:default}.monaco-button-dropdown>.monaco-button:focus{outline-offset:-1px!important}.monaco-button-dropdown.disabled>.monaco-button-dropdown-separator,.monaco-button-dropdown.disabled>.monaco-button.disabled,.monaco-button-dropdown.disabled>.monaco-button.disabled:focus{opacity:.4!important}.monaco-button-dropdown>.monaco-button.monaco-text-button{border-right-width:0!important}.monaco-button-dropdown .monaco-button-dropdown-separator{cursor:default;padding:4px 0}.monaco-button-dropdown .monaco-button-dropdown-separator>div{width:1px;height:100%}.monaco-button-dropdown>.monaco-button.monaco-dropdown-button{border:1px solid var(--vscode-button-border,transparent);border-radius:0 2px 2px 0;align-items:center;display:flex;border-left-width:0!important}.monaco-button-dropdown>.monaco-button.monaco-text-button{border-radius:2px 0 0 2px}.monaco-description-button{flex-direction:column;align-items:center;margin:4px 5px;display:flex}.monaco-description-button .monaco-button-description{padding:4px 20px;font-size:11px;font-style:italic}.monaco-description-button .monaco-button-description,.monaco-description-button .monaco-button-label{justify-content:center;align-items:center;display:flex}.monaco-description-button .monaco-button-description>.codicon,.monaco-description-button .monaco-button-label>.codicon{margin:0 .2em;color:inherit!important}.monaco-button-dropdown.default-colors>.monaco-button,.monaco-button.default-colors{background-color:var(--vscode-button-background);color:var(--vscode-button-foreground)}.monaco-button-dropdown.default-colors>.monaco-button:hover,.monaco-button.default-colors:hover{background-color:var(--vscode-button-hoverBackground)}.monaco-button-dropdown.default-colors>.monaco-button.secondary,.monaco-button.default-colors.secondary{background-color:var(--vscode-button-secondaryBackground);color:var(--vscode-button-secondaryForeground)}.monaco-button-dropdown.default-colors>.monaco-button.secondary:hover,.monaco-button.default-colors.secondary:hover{background-color:var(--vscode-button-secondaryHoverBackground)}.monaco-button-dropdown.default-colors .monaco-button-dropdown-separator{background-color:var(--vscode-button-background);border-bottom:1px solid var(--vscode-button-border);border-top:1px solid var(--vscode-button-border)}.monaco-button-dropdown.default-colors .monaco-button.secondary+.monaco-button-dropdown-separator{background-color:var(--vscode-button-secondaryBackground)}.monaco-button-dropdown.default-colors .monaco-button-dropdown-separator>div{background-color:var(--vscode-button-separator)}@font-face{font-display:block;font-family:codicon;src:url(data:font/ttf;base64,AAEAAAALAIAAAwAwR1NVQiCLJXoAAAE4AAAAVE9TLzI3T0tHAAABjAAAAGBjbWFwQ5s/ewAACSQAABreZ2x5ZvJtKHkAACekAAD3FGhlYWRYl6BTAAAA4AAAADZoaGVhAlsC+QAAALwAAAAkaG10eBxB//oAAAHsAAAHOGxvY2EFi8dWAAAkBAAAA55tYXhwAu8BgQAAARgAAAAgbmFtZZP3uUsAAR64AAAB+HBvc3RjGEbCAAEgsAAAGSQAAQAAASwAAAAAASz////+AS4AAQAAAAAAAAAAAAAAAAAAAc4AAQAAAAEAAFT7+XFfDzz1AAsBLAAAAAB8JbCAAAAAAHwlsID////9AS4BLQAAAAgAAgAAAAAAAAABAAABzgF1ABcAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKADAAPgACREZMVAAObGF0bgAaAAQAAAAAAAAAAQAAAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAQBKwGQAAUAAADLANIAAAAqAMsA0gAAAJAADgBNAAACAAUDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBmRWQAwOpg8QEBLAAAABsBRwADAAAAAQAAAAAAAAAAAAAAAAACAAAAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEs//8BLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLP//ASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEs//8BLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASz//wEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASz//wEsAAABLAAAASwAAAEs//8BLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAAAAABQAAAAMAAAAsAAAABAAABSYAAQAAAAAEIAADAAEAAAAsAAMACgAABSYABAP0AAAAEgAQAAMAAuqI6ozqx+rJ6wnrTuw08QH//wAA6mDqiuqP6snqzOsL61DxAf//AAAAAAAAAAAAAAAAAAAAAAABABIAYgBmANYA1gFQAdYDngAAAAMA8QFKAUcAtAE3AZUBJQFuAQ4BdABOAcMBYAFqAWkAkQA2ATAAhgDPAP4AQQGTA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AAAYMAAOtiAADrYgAAAYUAAOtjAADrYwAAAYcAAOtkAADrZAAAAYoAAOtlAADrZQAAAYwAAOtmAADrZgAAAY4AAOtnAADrZwAAAZcAAOtoAADraAAAAZgAAOtpAADraQAAAaEAAOtqAADragAAAaIAAOtrAADrawAAAaQAAOtsAADrbAAAAaYAAOttAADrbQAAAacAAOtuAADrbgAAAakAAOtvAADrbwAAAaoAAOtwAADrcAAAAasAAOtxAADrcQAAAawAAOtyAADrcgAAAa0AAOtzAADrcwAAAbEAAOt0AADrdAAAAbMAAOt1AADrdQAAAbQAAOt2AADrdgAAAbUAAOt3AADrdwAAAbgAAOt4AADreAAAAbkAAOt5AADreQAAAboAAOt6AADregAAAbwAAOt7AADrewAAAb0AAOt8AADrfAAAAcQAAOt9AADrfQAAAcUAAOt+AADrfgAAAcYAAOt/AADrfwAAAccAAOuAAADrgAAAAcgAAOuBAADrgQAAAcwAAOuCAADrggAAAc0AAOuDAADrgwAAAPQAAOuEAADrhAAAAPUAAOuFAADrhQAAAPcAAOuGAADrhgAAAPgAAOuHAADrhwAAAGAAAOuIAADriAAAAGEAAOuJAADriQAAAHAAAOuKAADrigAAADoAAOuLAADriwAAAHEAAOuMAADrjAAAAGQAAOuNAADrjQAAAY8AAOuOAADrjgAAAG8AAOuPAADrjwAAAHMAAOuQAADrkAAAAG0AAOuRAADrkQAAAFsAAOuSAADrkgAAACcAAOuTAADrkwAAACgAAOuUAADrlAAAAQkAAOuVAADrlQAAAI0AAOuWAADrlgAAAJIAAOuXAADrlwAAAMYAAOuYAADrmAAAAbIAAOuZAADrmQAAAAEAAOuaAADrmgAAABgAAOubAADrmwAAAGUAAOucAADrnAAAAO4AAOudAADrnQAAAR4AAOueAADrngAAAVUAAOufAADrnwAAAZIAAOugAADroAAAASoAAOuhAADroQAAALoAAOuiAADrogAAAWMAAOujAADrowAAAWIAAOukAADrpAAAASIAAOulAADrpQAAAXcAAOumAADrpgAAASsAAOunAADrpwAAATkAAOuoAADrqAAAAFoAAOupAADrqQAAAbsAAOuqAADrqgAAAEQAAOurAADrqwAAAQoAAOusAADrrAAAAI4AAOutAADrrQAAAMEAAOuuAADrrgAAAP8AAOuvAADrrwAAARoAAOuwAADrsAAAAToAAOuxAADrsQAAACoAAOuyAADrsgAAASkAAOuzAADrswAAASEAAOu0AADrtAAAADcAAOu1AADrtQAAADgAAOu2AADrtgAAAEoAAOu3AADrtwAAAZQAAOu4AADruAAAAbYAAOu5AADruQAAAbAAAOu6AADrugAAAa4AAOu7AADruwAAAa8AAOu8AADrvAAAALAAAOu9AADrvQAAAVMAAOu+AADrvgAAAVYAAOu/AADrvwAAARkAAOvAAADrwAAAAGwAAOvBAADrwQAAAckAAOvCAADrwgAAAcsAAOvDAADrwwAAAcoAAOvEAADrxAAAAZoAAOvFAADrxQAAAZsAAOvGAADrxgAAAZwAAOvHAADrxwAAAZ0AAOvIAADryAAAAZ4AAOvJAADryQAAAZ8AAOvKAADrygAAAZkAAOvLAADrywAAABEAAOvMAADrzAAAAFMAAOvNAADrzQAAASQAAOvOAADrzgAAAJ0AAOvPAADrzwAAAcIAAOvQAADr0AAAAGoAAOvRAADr0QAAANEAAOvSAADr0gAAAN0AAOvTAADr0wAAANwAAOvUAADr1AAAANsAAOvVAADr1QAAAFEAAOvWAADr1gAAAFAAAOvXAADr1wAAAE8AAOvYAADr2AAAABUAAOvZAADr2QAAANIAAOvaAADr2gAAAK8AAOvbAADr2wAAALEAAOvcAADr3AAAAFkAAOvdAADr3QAAAGgAAOveAADr3gAAAVgAAOvfAADr3wAAAKQAAOvgAADr4AAAAGYAAOvhAADr4QAAABYAAOviAADr4gAAAMIAAOvjAADr4wAAAMMAAOvkAADr5AAAAScAAOvlAADr5QAAACAAAOvmAADr5gAAACEAAOvnAADr5wAAAP0AAOvoAADr6AAAABQAAOvpAADr6QAAAbcAAOvqAADr6gAAARYAAOvrAADr6wAAAO0AAOvsAADr7AAAAN4AAOvtAADr7QAAAN8AAOvuAADr7gAAAOQAAOvvAADr7w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FyY2h5BnVuZm9sZBN1bmdyb3VwLWJ5LXJlZi10eXBlBnVubG9jawZ1bm11dGUKdW52ZXJpZmllZA52YXJpYWJsZS1ncm91cA92ZXJpZmllZC1maWxsZWQIdmVyaWZpZWQIdmVyc2lvbnMJdm0tYWN0aXZlCnZtLWNvbm5lY3QKdm0tb3V0bGluZQp2bS1ydW5uaW5nAnZtAnZyD3ZzY29kZS1pbnNpZGVycwZ2c2NvZGUEd2FuZAd3YXJuaW5nBXdhdGNoCndoaXRlc3BhY2UKd2hvbGUtd29yZAZ3aW5kb3cJd29yZC13cmFwEXdvcmtzcGFjZS10cnVzdGVkEXdvcmtzcGFjZS11bmtub3duE3dvcmtzcGFjZS11bnRydXN0ZWQHem9vbS1pbgh6b29tLW91dAAA)format(\"truetype\")}.codicon[class*=codicon-]{text-align:center;text-rendering:auto;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-user-select:none;user-select:none;font:16px/1 codicon;text-decoration:none;display:inline-block}.codicon-wrench-subaction{opacity:.5}@keyframes codicon-spin{to{transform:rotate(1turn)}}.codicon-gear.codicon-modifier-spin,.codicon-loading.codicon-modifier-spin,.codicon-notebook-state-executing.codicon-modifier-spin,.codicon-sync.codicon-modifier-spin{animation:1.5s steps(30,end) infinite codicon-spin}.codicon-modifier-disabled{opacity:.4}.codicon-loading,.codicon-tree-item-loading:before{animation-duration:1s!important;animation-timing-function:cubic-bezier(.53,.21,.29,.67)!important}.context-view{position:absolute}.context-view.fixed{all:initial;color:inherit;font-family:inherit;font-size:13px;position:fixed}.monaco-count-badge{box-sizing:border-box;text-align:center;border-radius:11px;min-width:18px;min-height:18px;padding:3px 6px;font-size:11px;font-weight:400;line-height:11px;display:inline-block}.monaco-count-badge.long{border-radius:2px;min-height:auto;padding:2px 3px;line-height:normal}.monaco-dropdown{height:100%;padding:0}.monaco-dropdown>.dropdown-label{cursor:pointer;justify-content:center;align-items:center;height:100%;display:flex}.monaco-dropdown>.dropdown-label>.action-label.disabled{cursor:default}.monaco-dropdown-with-primary{border-radius:5px;flex-direction:row;display:flex!important}.monaco-dropdown-with-primary>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{margin-left:-3px;padding-left:0;padding-right:0;font-size:12px;line-height:16px}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{background-position:50%;background-repeat:no-repeat;background-size:16px;display:block}.monaco-findInput{position:relative}.monaco-findInput .monaco-inputbox{width:100%;font-size:13px}.monaco-findInput>.controls{position:absolute;top:3px;right:2px}.vs .monaco-findInput.disabled{background-color:#e1e1e1}.vs-dark .monaco-findInput.disabled{background-color:#333}.hc-light .monaco-findInput.highlight-0 .controls,.monaco-findInput.highlight-0 .controls{animation:.1s linear monaco-findInput-highlight-0}.hc-light .monaco-findInput.highlight-1 .controls,.monaco-findInput.highlight-1 .controls{animation:.1s linear monaco-findInput-highlight-1}.hc-black .monaco-findInput.highlight-0 .controls,.vs-dark .monaco-findInput.highlight-0 .controls{animation:.1s linear monaco-findInput-highlight-dark-0}.hc-black .monaco-findInput.highlight-1 .controls,.vs-dark .monaco-findInput.highlight-1 .controls{animation:.1s linear monaco-findInput-highlight-dark-1}@keyframes monaco-findInput-highlight-0{0%{background:#fdff00cc}to{background:0 0}}@keyframes monaco-findInput-highlight-1{0%{background:#fdff00cc}99%{background:0 0}}@keyframes monaco-findInput-highlight-dark-0{0%{background:#ffffff70}to{background:0 0}}@keyframes monaco-findInput-highlight-dark-1{0%{background:#ffffff70}99%{background:0 0}}.monaco-hover{box-sizing:border-box;cursor:default;-webkit-user-select:text;user-select:text;white-space:var(--vscode-hover-whiteSpace,normal);line-height:1.5em;animation:.1s linear fadein;position:absolute;overflow:hidden}.monaco-hover.hidden{display:none}.monaco-hover a:hover:not(.disabled){cursor:pointer}.monaco-hover .hover-contents:not(.html-hover-contents){padding:4px 8px}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents){max-width:var(--vscode-hover-maxWidth,500px);word-wrap:break-word}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents) hr{min-width:100%}.monaco-hover .code,.monaco-hover h1,.monaco-hover h2,.monaco-hover h3,.monaco-hover h4,.monaco-hover h5,.monaco-hover h6,.monaco-hover p,.monaco-hover ul{margin:8px 0}.monaco-hover h1,.monaco-hover h2,.monaco-hover h3,.monaco-hover h4,.monaco-hover h5,.monaco-hover h6{line-height:1.1}.monaco-hover code{font-family:var(--monaco-monospace-font)}.monaco-hover hr{box-sizing:border-box;border-left:0;border-right:0;height:1px;margin:4px -8px -4px}.monaco-hover .code:first-child,.monaco-hover p:first-child,.monaco-hover ul:first-child{margin-top:0}.monaco-hover .code:last-child,.monaco-hover p:last-child,.monaco-hover ul:last-child{margin-bottom:0}.monaco-hover ol,.monaco-hover ul{padding-left:20px}.monaco-hover li>p{margin-bottom:0}.monaco-hover li>ul{margin-top:0}.monaco-hover code{border-radius:3px;padding:0 .4em}.monaco-hover .monaco-tokenized-source{white-space:var(--vscode-hover-sourceWhiteSpace,pre-wrap)}.monaco-hover .hover-row.status-bar{font-size:12px;line-height:22px}.monaco-hover .hover-row.status-bar .info{padding:0 8px;font-style:italic}.monaco-hover .hover-row.status-bar .actions{width:100%;padding:0 8px;display:flex}.monaco-hover .hover-row.status-bar .actions .action-container{cursor:pointer;margin-right:16px}.monaco-hover .hover-row.status-bar .actions .action-container .action .icon{padding-right:4px}.monaco-hover .hover-row.status-bar .actions .action-container a{color:var(--vscode-textLink-foreground);-webkit-text-decoration:var(--text-link-decoration);text-decoration:var(--text-link-decoration)}.monaco-hover .markdown-hover .hover-contents .codicon{color:inherit;font-size:inherit;vertical-align:middle}.monaco-hover .hover-contents a.code-link,.monaco-hover .hover-contents a.code-link:hover{color:inherit}.monaco-hover .hover-contents a.code-link:before{content:\"(\"}.monaco-hover .hover-contents a.code-link:after{content:\")\"}.monaco-hover .hover-contents a.code-link>span{color:var(--vscode-textLink-foreground);text-underline-position:under;border-bottom:1px solid #0000;text-decoration:underline}.monaco-hover .hover-contents a.code-link>span:hover{color:var(--vscode-textLink-activeForeground)}.monaco-hover .markdown-hover .hover-contents:not(.code-hover-contents):not(.html-hover-contents) span{margin-bottom:4px;display:inline-block}.monaco-hover .markdown-hover .hover-contents:not(.code-hover-contents):not(.html-hover-contents) span.codicon{margin-bottom:2px}.monaco-hover-content .action-container a{-webkit-user-select:none;user-select:none}.monaco-hover-content .action-container.disabled{cursor:default;opacity:.4;pointer-events:none}.monaco-icon-label{text-overflow:ellipsis;display:flex;overflow:hidden}.monaco-icon-label:before{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top;background-position:0;background-repeat:no-repeat;background-size:16px;flex-shrink:0;width:16px;height:22px;padding-right:6px;display:inline-block;line-height:inherit!important}.monaco-icon-label-iconpath{width:16px;height:16px;margin-top:2px;padding-left:2px;display:flex}.monaco-icon-label-container.disabled{color:var(--vscode-disabledForeground)}.monaco-icon-label>.monaco-icon-label-container{text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{color:inherit;white-space:pre}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name>.label-separator{opacity:.5;margin:0 2px}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-suffix-container>.label-suffix{opacity:.7;white-space:pre}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.7;white-space:pre;margin-left:.5em;font-size:.9em}.monaco-icon-label.nowrap>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{white-space:nowrap}.vs .monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.95}.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-description-container>.label-description,.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{font-style:italic}.monaco-icon-label.deprecated{opacity:.66;text-decoration:line-through}.monaco-icon-label.italic:after{font-style:italic}.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-description-container>.label-description,.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{text-decoration:line-through}.monaco-icon-label:after{opacity:.75;text-align:center;margin:auto 16px 0 5px;font-size:90%;font-weight:600}.monaco-list:focus .selected .monaco-icon-label,.monaco-list:focus .selected .monaco-icon-label:after{color:inherit!important}.monaco-list-row.focused.selected .label-description,.monaco-list-row.selected .label-description{opacity:.8}.monaco-inputbox{box-sizing:border-box;font-size:inherit;border-radius:2px;padding:0;display:block;position:relative}.monaco-inputbox>.ibwrapper>.input,.monaco-inputbox>.ibwrapper>.mirror{padding:4px 6px}.monaco-inputbox>.ibwrapper{width:100%;height:100%;position:relative}.monaco-inputbox>.ibwrapper>.input{box-sizing:border-box;color:inherit;font-family:inherit;font-size:inherit;height:100%;line-height:inherit;resize:none;border:none;width:100%;display:inline-block}.monaco-inputbox>.ibwrapper>input{text-overflow:ellipsis}.monaco-inputbox>.ibwrapper>textarea.input{scrollbar-width:none;outline:none;display:block}.monaco-inputbox>.ibwrapper>textarea.input::-webkit-scrollbar{display:none}.monaco-inputbox>.ibwrapper>textarea.input.empty{white-space:nowrap}.monaco-inputbox>.ibwrapper>.mirror{box-sizing:border-box;visibility:hidden;white-space:pre-wrap;word-wrap:break-word;width:100%;display:inline-block;position:absolute;top:0;left:0}.monaco-inputbox-container{text-align:right}.monaco-inputbox-container .monaco-inputbox-message{box-sizing:border-box;text-align:left;word-wrap:break-word;width:100%;margin-top:-1px;padding:.4em;font-size:12px;line-height:17px;display:inline-block;overflow:hidden}.monaco-inputbox .monaco-action-bar{position:absolute;top:4px;right:2px}.monaco-inputbox .monaco-action-bar .action-item{margin-left:2px}.monaco-inputbox .monaco-action-bar .action-item .codicon{background-repeat:no-repeat;width:16px;height:16px}.monaco-keybinding{align-items:center;line-height:10px;display:flex}.monaco-keybinding>.monaco-keybinding-key{vertical-align:middle;border-style:solid;border-width:1px;border-radius:3px;margin:0 2px;padding:3px 5px;font-size:11px;display:inline-block}.monaco-keybinding>.monaco-keybinding-key:first-child{margin-left:0}.monaco-keybinding>.monaco-keybinding-key:last-child{margin-right:0}.monaco-keybinding>.monaco-keybinding-key-separator{display:inline-block}.monaco-keybinding>.monaco-keybinding-key-chord-separator{width:6px}.monaco-list{white-space:nowrap;width:100%;height:100%;position:relative}.monaco-list.mouse-support{-webkit-user-select:none;user-select:none}.monaco-list>.monaco-scrollable-element{height:100%}.monaco-list-rows{width:100%;height:100%;position:relative}.monaco-list.horizontal-scrolling .monaco-list-rows{width:auto;min-width:100%}.monaco-list-row{box-sizing:border-box;width:100%;position:absolute;overflow:hidden}.monaco-list.mouse-support .monaco-list-row{cursor:pointer;touch-action:none}.monaco-list .monaco-scrollable-element>.scrollbar.vertical,.monaco-pane-view>.monaco-split-view2.vertical>.monaco-scrollable-element>.scrollbar.vertical{z-index:14}.monaco-list-row.scrolling{display:none!important}.monaco-list.element-focused,.monaco-list.selection-multiple,.monaco-list.selection-single{outline:0!important}.monaco-drag-image{z-index:1000;border-radius:10px;padding:1px 7px;font-size:12px;display:inline-block;position:absolute}.monaco-list-type-filter-message{box-sizing:border-box;opacity:.7;pointer-events:none;text-align:center;white-space:normal;width:100%;height:100%;padding:40px 1em 1em;position:absolute;top:0;left:0}.monaco-list-type-filter-message:empty{display:none}.monaco-mouse-cursor-text{cursor:text}.monaco-progress-container{width:100%;height:2px;overflow:hidden}.monaco-progress-container .progress-bit{width:2%;height:2px;display:none;position:absolute;left:0}.monaco-progress-container.active .progress-bit{display:inherit}.monaco-progress-container.discrete .progress-bit{transition:width .1s linear;left:0}.monaco-progress-container.discrete.done .progress-bit{width:100%}.monaco-progress-container.infinite .progress-bit{animation-name:progress;animation-duration:4s;animation-timing-function:linear;animation-iteration-count:infinite;transform:translateZ(0)}.monaco-progress-container.infinite.infinite-long-running .progress-bit{animation-timing-function:steps(100,end)}@keyframes progress{0%{transform:translate(0)scaleX(1)}50%{transform:translate(2500%)scaleX(3)}to{transform:translate(4900%)scaleX(1)}}:root{--vscode-sash-size:4px;--vscode-sash-hover-size:4px}.monaco-sash{touch-action:none;z-index:35;position:absolute}.monaco-sash.disabled{pointer-events:none}.monaco-sash.mac.vertical{cursor:col-resize}.monaco-sash.vertical.minimum{cursor:e-resize}.monaco-sash.vertical.maximum{cursor:w-resize}.monaco-sash.mac.horizontal{cursor:row-resize}.monaco-sash.horizontal.minimum{cursor:s-resize}.monaco-sash.horizontal.maximum{cursor:n-resize}.monaco-sash.disabled{cursor:default!important;pointer-events:none!important}.monaco-sash.vertical{cursor:ew-resize;height:100%;width:var(--vscode-sash-size);top:0}.monaco-sash.horizontal{cursor:ns-resize;height:var(--vscode-sash-size);width:100%;left:0}.monaco-sash:not(.disabled)>.orthogonal-drag-handle{content:\" \";cursor:all-scroll;height:calc(var(--vscode-sash-size)*2);width:calc(var(--vscode-sash-size)*2);z-index:100;display:block;position:absolute}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.start,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.end{cursor:nwse-resize}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.end,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.start{cursor:nesw-resize}.monaco-sash.vertical>.orthogonal-drag-handle.start{left:calc(var(--vscode-sash-size)*-.5);top:calc(var(--vscode-sash-size)*-1)}.monaco-sash.vertical>.orthogonal-drag-handle.end{bottom:calc(var(--vscode-sash-size)*-1);left:calc(var(--vscode-sash-size)*-.5)}.monaco-sash.horizontal>.orthogonal-drag-handle.start{left:calc(var(--vscode-sash-size)*-1);top:calc(var(--vscode-sash-size)*-.5)}.monaco-sash.horizontal>.orthogonal-drag-handle.end{right:calc(var(--vscode-sash-size)*-1);top:calc(var(--vscode-sash-size)*-.5)}.monaco-sash:before{content:\"\";pointer-events:none;background:0 0;width:100%;height:100%;position:absolute}.monaco-workbench:not(.reduce-motion) .monaco-sash:before{transition:background-color .1s ease-out}.monaco-sash.active:before,.monaco-sash.hover:before{background:var(--vscode-sash-hoverBorder)}.monaco-sash.vertical:before{left:calc(50% - var(--vscode-sash-hover-size)/2);width:var(--vscode-sash-hover-size)}.monaco-sash.horizontal:before{height:var(--vscode-sash-hover-size);top:calc(50% - var(--vscode-sash-hover-size)/2)}.pointer-events-disabled{pointer-events:none!important}.monaco-sash.debug{background:#0ff}.monaco-sash.debug.disabled{background:#0ff3}.monaco-sash.debug:not(.disabled)>.orthogonal-drag-handle{background:red}.monaco-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.monaco-scrollable-element>.visible{opacity:1;z-index:11;background:0 0;transition:opacity .1s linear}.monaco-scrollable-element>.invisible{opacity:0;pointer-events:none}.monaco-scrollable-element>.invisible.fade{transition:opacity .8s linear}.monaco-scrollable-element>.shadow{display:none;position:absolute}.monaco-scrollable-element>.shadow.top{box-shadow:var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset;width:100%;height:3px;display:block;top:0;left:3px}.monaco-scrollable-element>.shadow.left{box-shadow:var(--vscode-scrollbar-shadow) 6px 0 6px -6px inset;width:3px;height:100%;display:block;top:3px;left:0}.monaco-scrollable-element>.shadow.top-left-corner{width:3px;height:3px;display:block;top:0;left:0}.monaco-scrollable-element>.shadow.top.left{box-shadow:var(--vscode-scrollbar-shadow) 6px 0 6px -6px inset}.monaco-scrollable-element>.scrollbar>.slider{background:var(--vscode-scrollbarSlider-background)}.monaco-scrollable-element>.scrollbar>.slider:hover{background:var(--vscode-scrollbarSlider-hoverBackground)}.monaco-scrollable-element>.scrollbar>.slider.active{background:var(--vscode-scrollbarSlider-activeBackground)}.monaco-select-box{cursor:pointer;border-radius:2px;width:100%}.monaco-select-box-dropdown-container{text-transform:none;font-size:13px;font-weight:400}.monaco-action-bar .action-item.select-container{cursor:default}.monaco-action-bar .action-item .monaco-select-box{cursor:pointer;min-width:100px;min-height:18px;padding:2px 23px 2px 8px}.mac .monaco-action-bar .action-item .monaco-select-box{border-radius:5px;font-size:11px}.monaco-select-box-dropdown-padding{--dropdown-padding-top:1px;--dropdown-padding-bottom:1px}.hc-black .monaco-select-box-dropdown-padding,.hc-light .monaco-select-box-dropdown-padding{--dropdown-padding-top:3px;--dropdown-padding-bottom:4px}.monaco-select-box-dropdown-container{box-sizing:border-box;display:none}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown *{margin:0}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown a:focus{outline:1px solid -webkit-focus-ring-color;outline-offset:-1px}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown code{font-family:var(--monaco-monospace-font);line-height:15px}.monaco-select-box-dropdown-container.visible{text-align:left;border-bottom-right-radius:3px;border-bottom-left-radius:3px;flex-direction:column;width:1px;display:flex;overflow:hidden}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container{box-sizing:border-box;padding-bottom:var(--dropdown-padding-bottom);padding-left:1px;padding-right:1px;padding-top:var(--dropdown-padding-top);flex:none;align-self:flex-start;width:100%;overflow:hidden}.monaco-select-box-dropdown-container>.select-box-details-pane{padding:5px}.hc-black .monaco-select-box-dropdown-container>.select-box-dropdown-list-container{padding-bottom:var(--dropdown-padding-bottom);padding-top:var(--dropdown-padding-top)}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row{cursor:pointer}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-text{float:left;text-overflow:ellipsis;white-space:nowrap;padding-left:3.5px;overflow:hidden}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-detail{float:left;opacity:.7;text-overflow:ellipsis;white-space:nowrap;padding-left:3.5px;overflow:hidden}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-decorator-right{float:right;text-overflow:ellipsis;white-space:nowrap;padding-right:10px;overflow:hidden}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.visually-hidden{width:1px;height:1px;position:absolute;top:auto;left:-10000px;overflow:hidden}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control{opacity:0;flex:auto;align-self:flex-start}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control>.width-control-div{max-height:0;overflow:hidden}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control>.width-control-div>.option-text-width-control{white-space:nowrap;padding-left:4px;padding-right:8px}.monaco-split-view2{width:100%;height:100%;position:relative}.monaco-split-view2>.sash-container{pointer-events:none;width:100%;height:100%;position:absolute}.monaco-split-view2>.sash-container>.monaco-sash{pointer-events:auto}.monaco-split-view2>.monaco-scrollable-element{width:100%;height:100%}.monaco-split-view2>.monaco-scrollable-element>.split-view-container{white-space:nowrap;width:100%;height:100%;position:relative}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view{white-space:normal;position:absolute}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view:not(.visible){display:none}.monaco-split-view2.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view{width:100%}.monaco-split-view2.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view{height:100%}.monaco-split-view2.separator-border>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{background-color:var(--separator-border);content:\" \";pointer-events:none;z-index:5;position:absolute;top:0;left:0}.monaco-split-view2.separator-border.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{width:1px;height:100%}.monaco-split-view2.separator-border.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{width:100%;height:1px}.monaco-table{white-space:nowrap;flex-direction:column;width:100%;height:100%;display:flex;position:relative;overflow:hidden}.monaco-table>.monaco-split-view2{border-bottom:1px solid #0000}.monaco-table>.monaco-list{flex:1}.monaco-table-tr{height:100%;display:flex}.monaco-table-th{text-overflow:ellipsis;width:100%;height:100%;font-weight:700;overflow:hidden}.monaco-table-td,.monaco-table-th{box-sizing:border-box;text-overflow:ellipsis;white-space:nowrap;flex-shrink:0;overflow:hidden}.monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{content:\"\";left:calc(var(--vscode-sash-size)/2);border-left:1px solid #0000;width:0;position:absolute}.monaco-workbench:not(.reduce-motion) .monaco-table>.monaco-split-view2,.monaco-workbench:not(.reduce-motion) .monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{transition:border-color .2s ease-out}.monaco-custom-toggle{box-sizing:border-box;cursor:pointer;float:left;-webkit-user-select:none;user-select:none;border:1px solid #0000;border-radius:3px;width:20px;height:20px;margin-left:2px;padding:1px;overflow:hidden}.monaco-custom-toggle:hover{background-color:var(--vscode-inputOption-hoverBackground)}.hc-black .monaco-custom-toggle:hover,.hc-light .monaco-custom-toggle:hover{border:1px dashed var(--vscode-focusBorder)}.hc-black .monaco-custom-toggle,.hc-black .monaco-custom-toggle:hover,.hc-light .monaco-custom-toggle,.hc-light .monaco-custom-toggle:hover{background:0 0}.monaco-custom-toggle.monaco-checkbox{opacity:1;border:1px solid #0000;border-radius:3px;width:18px;height:18px;margin-left:0;margin-right:9px;padding:0;background-size:16px!important}.monaco-action-bar .checkbox-action-item{border-radius:2px;align-items:center;padding-right:2px;display:flex}.monaco-action-bar .checkbox-action-item:hover{background-color:var(--vscode-toolbar-hoverBackground)}.monaco-action-bar .checkbox-action-item>.monaco-custom-toggle.monaco-checkbox{margin-right:4px}.monaco-action-bar .checkbox-action-item>.checkbox-label{font-size:12px}.monaco-custom-toggle.monaco-checkbox:not(.checked):before{visibility:hidden}.monaco-toolbar{height:100%}.monaco-toolbar .toolbar-toggle-more{padding:0;display:inline-block}.monaco-tl-row{align-items:center;height:100%;display:flex;position:relative}.monaco-tl-row.disabled{cursor:default}.monaco-tl-indent{pointer-events:none;height:100%;position:absolute;top:0;left:16px}.hide-arrows .monaco-tl-indent{left:12px}.monaco-tl-indent>.indent-guide{box-sizing:border-box;border-left:1px solid #0000;height:100%;display:inline-block}.monaco-workbench:not(.reduce-motion) .monaco-tl-indent>.indent-guide{transition:border-color .1s linear}.monaco-tl-contents,.monaco-tl-twistie{height:100%}.monaco-tl-twistie{text-align:right;flex-shrink:0;justify-content:center;align-items:center;width:16px;padding-right:6px;font-size:10px;transform:translate(3px);display:flex!important}.monaco-tl-contents{flex:1;overflow:hidden}.monaco-tl-twistie:before{border-radius:20px}.monaco-tl-twistie.collapsed:before{transform:rotate(-90deg)}.monaco-tl-twistie.codicon-tree-item-loading:before{animation:1.25s steps(30,end) infinite codicon-spin}.monaco-tree-type-filter{border:1px solid var(--vscode-widget-border);z-index:100;border-bottom-right-radius:4px;border-bottom-left-radius:4px;max-width:200px;margin:0 6px;padding:3px;display:flex;position:absolute;top:0}.monaco-workbench:not(.reduce-motion) .monaco-tree-type-filter{transition:top .3s}.monaco-tree-type-filter.disabled{top:-40px!important}.monaco-tree-type-filter-grab{cursor:grab;justify-content:center;align-items:center;margin-right:2px;display:flex!important}.monaco-tree-type-filter-grab.grabbing{cursor:grabbing}.monaco-tree-type-filter-input{flex:1}.monaco-tree-type-filter-input .monaco-inputbox{height:23px}.monaco-tree-type-filter-input .monaco-inputbox>.ibwrapper>.input,.monaco-tree-type-filter-input .monaco-inputbox>.ibwrapper>.mirror{padding:2px 4px}.monaco-tree-type-filter-input .monaco-findInput>.controls{top:2px}.monaco-tree-type-filter-actionbar{margin-left:4px}.monaco-tree-type-filter-actionbar .monaco-action-bar .action-label{padding:2px}.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container{background-color:var(--vscode-sideBar-background);z-index:13;width:100%;height:0;position:absolute;top:0;left:0}.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container .monaco-tree-sticky-row.monaco-list-row{background-color:var(--vscode-sideBar-background);width:100%;position:absolute;overflow:hidden;opacity:1!important}.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container .monaco-tree-sticky-row:hover{cursor:pointer;background-color:var(--vscode-list-hoverBackground)!important}.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container.empty,.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container.empty .monaco-tree-sticky-container-shadow{display:none}.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container .monaco-tree-sticky-container-shadow{width:100%;height:0;position:absolute;bottom:-3px;left:0}.monaco-list .monaco-scrollable-element .monaco-tree-sticky-container[tabindex=\"0\"]:focus{outline:none}.monaco-editor .inputarea{color:#0000;resize:none;z-index:-10;background-color:#0000;border:none;min-width:0;min-height:0;margin:0;padding:0;position:absolute;overflow:hidden;outline:none!important}.monaco-editor .inputarea.ime-input{caret-color:var(--vscode-editorCursor-foreground);color:var(--vscode-editor-foreground);z-index:10}.monaco-workbench .workbench-hover{background:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border);box-shadow:0 2px 8px var(--vscode-widget-shadow);color:var(--vscode-editorHoverWidget-foreground);z-index:40;border-radius:3px;max-width:700px;font-size:13px;line-height:19px;position:relative;overflow:hidden}.monaco-workbench .workbench-hover hr{border-bottom:none}.monaco-workbench .workbench-hover:not(.skip-fade-in){animation:.1s linear fadein}.monaco-workbench .workbench-hover.compact{font-size:12px}.monaco-workbench .workbench-hover.compact .hover-contents{padding:2px 8px}.monaco-workbench .workbench-hover-container.locked .workbench-hover{outline:1px solid var(--vscode-editorHoverWidget-border)}.monaco-workbench .workbench-hover-container.locked .workbench-hover:focus,.monaco-workbench .workbench-hover-lock:focus{outline:1px solid var(--vscode-focusBorder)}.monaco-workbench .workbench-hover-container.locked .workbench-hover-lock:hover{background:var(--vscode-toolbar-hoverBackground)}.monaco-workbench .workbench-hover-pointer{pointer-events:none;z-index:41;position:absolute}.monaco-workbench .workbench-hover-pointer:after{background-color:var(--vscode-editorHoverWidget-background);border-bottom:1px solid var(--vscode-editorHoverWidget-border);border-right:1px solid var(--vscode-editorHoverWidget-border);content:\"\";width:5px;height:5px;position:absolute}.monaco-workbench .locked .workbench-hover-pointer:after{border-bottom-width:2px;border-right-width:2px;width:4px;height:4px}.monaco-workbench .workbench-hover-pointer.left{left:-3px}.monaco-workbench .workbench-hover-pointer.right{right:3px}.monaco-workbench .workbench-hover-pointer.top{top:-3px}.monaco-workbench .workbench-hover-pointer.bottom{bottom:3px}.monaco-workbench .workbench-hover-pointer.left:after{transform:rotate(135deg)}.monaco-workbench .workbench-hover-pointer.right:after{transform:rotate(315deg)}.monaco-workbench .workbench-hover-pointer.top:after{transform:rotate(225deg)}.monaco-workbench .workbench-hover-pointer.bottom:after{transform:rotate(45deg)}.monaco-workbench .workbench-hover a{color:var(--vscode-textLink-foreground)}.monaco-workbench .workbench-hover a:focus{outline:1px solid;outline-color:var(--vscode-focusBorder);outline-offset:-1px;text-decoration:underline}.monaco-workbench .workbench-hover a:active,.monaco-workbench .workbench-hover a:hover{color:var(--vscode-textLink-activeForeground)}.monaco-workbench .workbench-hover code{background:var(--vscode-textCodeBlock-background)}.monaco-workbench .workbench-hover .hover-row .actions{background:var(--vscode-editorHoverWidget-statusBarBackground)}.monaco-workbench .workbench-hover.right-aligned{left:1px}.monaco-workbench .workbench-hover.right-aligned .hover-row.status-bar .actions{flex-direction:row-reverse}.monaco-workbench .workbench-hover.right-aligned .hover-row.status-bar .actions .action-container{margin-left:16px;margin-right:0}.monaco-editor .blockDecorations-container{pointer-events:none;position:absolute;top:0}.monaco-editor .blockDecorations-block{box-sizing:border-box;position:absolute}.monaco-editor .margin-view-overlays .current-line,.monaco-editor .view-overlays .current-line{box-sizing:border-box;height:100%;display:block;position:absolute;top:0;left:0}.monaco-editor .margin-view-overlays .current-line.current-line-margin.current-line-margin-both{border-right:0}.monaco-editor .lines-content .cdr{height:100%;position:absolute}.monaco-editor .glyph-margin{position:absolute;top:0}.monaco-editor .glyph-margin-widgets .cgmr{justify-content:center;align-items:center;display:flex;position:absolute}.monaco-editor .glyph-margin-widgets .cgmr.codicon-modifier-spin:before{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.monaco-editor .lines-content .core-guide{box-sizing:border-box;height:100%;position:absolute}.monaco-editor .margin-view-overlays .line-numbers{box-sizing:border-box;cursor:default;font-variant-numeric:tabular-nums;text-align:right;vertical-align:middle;display:inline-block;position:absolute;bottom:0}.monaco-editor .relative-current-line-number{text-align:left;width:100%;display:inline-block}.monaco-editor .margin-view-overlays .line-numbers.lh-odd{margin-top:1px}.monaco-editor .line-numbers{color:var(--vscode-editorLineNumber-foreground)}.monaco-editor .line-numbers.active-line-number{color:var(--vscode-editorLineNumber-activeForeground)}.mtkcontrol{color:#fff!important;background:#960000!important}.mtkoverflow{background-color:var(--vscode-button-background,var(--vscode-editor-background));border-color:var(--vscode-contrastBorder);color:var(--vscode-button-foreground,var(--vscode-editor-foreground));cursor:pointer;border-style:solid;border-width:1px;border-radius:2px;padding:4px}.mtkoverflow:hover{background-color:var(--vscode-button-hoverBackground)}.monaco-editor.no-user-select .lines-content,.monaco-editor.no-user-select .view-line,.monaco-editor.no-user-select .view-lines{-webkit-user-select:none;user-select:none}.monaco-editor.mac .lines-content:hover,.monaco-editor.mac .view-line:hover,.monaco-editor.mac .view-lines:hover{-webkit-user-select:text;user-select:text}.monaco-editor.enable-user-select{-webkit-user-select:auto;user-select:auto;-webkit-user-select:initial}.monaco-editor .view-lines{white-space:nowrap}.monaco-editor .view-line{width:100%;position:absolute}.monaco-editor .lines-content>.view-lines>.view-line>span{position:absolute;top:0;bottom:0}.monaco-editor .mtkw,.monaco-editor .mtkz{color:var(--vscode-editorWhitespace-foreground)!important}.monaco-editor .mtkz{display:inline-block}.monaco-editor .lines-decorations{background:#fff;position:absolute;top:0}.monaco-editor .margin-view-overlays .cldr{height:100%;position:absolute}.monaco-editor .margin{background-color:var(--vscode-editorGutter-background)}.monaco-editor .margin-view-overlays .cmdr{width:100%;height:100%;position:absolute;left:0}.monaco-editor .minimap.slider-mouseover .minimap-slider{opacity:0;transition:opacity .1s linear}.monaco-editor .minimap.slider-mouseover .minimap-slider.active,.monaco-editor .minimap.slider-mouseover:hover .minimap-slider{opacity:1}.monaco-editor .minimap-slider .minimap-slider-horizontal{background:var(--vscode-minimapSlider-background)}.monaco-editor .minimap-slider:hover .minimap-slider-horizontal{background:var(--vscode-minimapSlider-hoverBackground)}.monaco-editor .minimap-slider.active .minimap-slider-horizontal{background:var(--vscode-minimapSlider-activeBackground)}.monaco-editor .minimap-shadow-visible{box-shadow:var(--vscode-scrollbar-shadow) -6px 0 6px -6px inset}.monaco-editor .minimap-shadow-hidden{width:0;position:absolute}.monaco-editor .minimap-shadow-visible{width:6px;position:absolute;left:-6px}.monaco-editor.no-minimap-shadow .minimap-shadow-visible{width:1px;position:absolute;left:-1px}.minimap.autohide{opacity:0;transition:opacity .5s}.minimap.autohide:hover{opacity:1}.monaco-editor .minimap{z-index:5}.monaco-editor .overlayWidgets{position:absolute;top:0;left:0}.monaco-editor .view-ruler{box-shadow:1px 0 0 0 var(--vscode-editorRuler-foreground) inset;position:absolute;top:0}.monaco-editor .scroll-decoration{box-shadow:var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset;height:6px;position:absolute;top:0;left:0}.monaco-editor .lines-content .cslr{position:absolute}.monaco-editor .focused .selected-text{background-color:var(--vscode-editor-selectionBackground)}.monaco-editor .selected-text{background-color:var(--vscode-editor-inactiveSelectionBackground)}.monaco-editor .top-left-radius{border-top-left-radius:3px}.monaco-editor .bottom-left-radius{border-bottom-left-radius:3px}.monaco-editor .top-right-radius{border-top-right-radius:3px}.monaco-editor .bottom-right-radius{border-bottom-right-radius:3px}.monaco-editor.hc-black .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-black .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-black .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-black .bottom-right-radius{border-bottom-right-radius:0}.monaco-editor.hc-light .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-light .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-light .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-light .bottom-right-radius{border-bottom-right-radius:0}.monaco-editor .cursors-layer{position:absolute;top:0}.monaco-editor .cursors-layer>.cursor{box-sizing:border-box;position:absolute;overflow:hidden}.monaco-editor .cursors-layer.cursor-smooth-caret-animation>.cursor{transition:all 80ms}.monaco-editor .cursors-layer.cursor-block-outline-style>.cursor{border-style:solid;border-width:1px;background:0 0!important}.monaco-editor .cursors-layer.cursor-underline-style>.cursor{border-bottom-style:solid;border-bottom-width:2px;background:0 0!important}.monaco-editor .cursors-layer.cursor-underline-thin-style>.cursor{border-bottom-style:solid;border-bottom-width:1px;background:0 0!important}@keyframes monaco-cursor-smooth{0%,20%{opacity:1}60%,to{opacity:0}}@keyframes monaco-cursor-phase{0%,20%{opacity:1}90%,to{opacity:0}}@keyframes monaco-cursor-expand{0%,20%{transform:scaleY(1)}80%,to{transform:scaleY(0)}}.cursor-smooth{animation:.5s ease-in-out 20 alternate monaco-cursor-smooth}.cursor-phase{animation:.5s ease-in-out 20 alternate monaco-cursor-phase}.cursor-expand>.cursor{animation:.5s ease-in-out 20 alternate monaco-cursor-expand}.monaco-editor .mwh{position:absolute;color:var(--vscode-editorWhitespace-foreground)!important}::-ms-clear{display:none}.monaco-editor .editor-widget input{color:inherit}.monaco-editor{-webkit-text-size-adjust:100%;color:var(--vscode-editor-foreground);overflow-wrap:normal;position:relative;overflow:visible}.monaco-editor,.monaco-editor-background{background-color:var(--vscode-editor-background)}.monaco-editor .rangeHighlight{background-color:var(--vscode-editor-rangeHighlightBackground);border:1px solid var(--vscode-editor-rangeHighlightBorder);box-sizing:border-box}.monaco-editor.hc-black .rangeHighlight,.monaco-editor.hc-light .rangeHighlight{border-style:dotted}.monaco-editor .symbolHighlight{background-color:var(--vscode-editor-symbolHighlightBackground);border:1px solid var(--vscode-editor-symbolHighlightBorder);box-sizing:border-box}.monaco-editor.hc-black .symbolHighlight,.monaco-editor.hc-light .symbolHighlight{border-style:dotted}.monaco-editor .overflow-guard{position:relative;overflow:hidden}.monaco-editor .view-overlays{position:absolute;top:0}.monaco-editor .margin-view-overlays>div,.monaco-editor .view-overlays>div{width:100%;position:absolute}.monaco-editor .squiggly-error{border-bottom:4px double var(--vscode-editorError-border)}.monaco-editor .squiggly-error:before{background:var(--vscode-editorError-background);content:\"\";width:100%;height:100%;display:block}.monaco-editor .squiggly-warning{border-bottom:4px double var(--vscode-editorWarning-border)}.monaco-editor .squiggly-warning:before{background:var(--vscode-editorWarning-background);content:\"\";width:100%;height:100%;display:block}.monaco-editor .squiggly-info{border-bottom:4px double var(--vscode-editorInfo-border)}.monaco-editor .squiggly-info:before{background:var(--vscode-editorInfo-background);content:\"\";width:100%;height:100%;display:block}.monaco-editor .squiggly-hint{border-bottom:2px dotted var(--vscode-editorHint-border)}.monaco-editor.showUnused .squiggly-unnecessary{border-bottom:2px dashed var(--vscode-editorUnnecessaryCode-border)}.monaco-editor.showDeprecated .squiggly-inline-deprecated{text-decoration:line-through;-webkit-text-decoration-color:var(--vscode-editor-foreground,inherit);text-decoration-color:var(--vscode-editor-foreground,inherit)}.monaco-component.diff-review{-webkit-user-select:none;user-select:none;z-index:99}.monaco-diff-editor .diff-review{position:absolute}.monaco-component.diff-review .diff-review-line-number{color:var(--vscode-editorLineNumber-foreground);text-align:right;display:inline-block}.monaco-component.diff-review .diff-review-summary{padding-left:10px}.monaco-component.diff-review .diff-review-shadow{box-shadow:var(--vscode-scrollbar-shadow) 0 -6px 6px -6px inset;position:absolute}.monaco-component.diff-review .diff-review-row{white-space:pre}.monaco-component.diff-review .diff-review-table{min-width:100%;display:table}.monaco-component.diff-review .diff-review-row{width:100%;display:table-row}.monaco-component.diff-review .diff-review-spacer{vertical-align:middle;width:10px;display:inline-block}.monaco-component.diff-review .diff-review-spacer>.codicon{font-size:9px!important}.monaco-component.diff-review .diff-review-actions{z-index:100;display:inline-block;position:absolute;top:2px;right:10px}.monaco-component.diff-review .diff-review-actions .action-label{width:16px;height:16px;margin:2px 0}.monaco-component.diff-review .revertButton{cursor:pointer}.monaco-editor .diff-hidden-lines-widget{width:100%}.monaco-editor .diff-hidden-lines{height:0;font-size:13px;line-height:14px;transform:translateY(-10px)}.monaco-editor .diff-hidden-lines .bottom.dragging,.monaco-editor .diff-hidden-lines .top.dragging,.monaco-editor .diff-hidden-lines:not(.dragging) .bottom:hover,.monaco-editor .diff-hidden-lines:not(.dragging) .top:hover{background-color:var(--vscode-focusBorder)}.monaco-editor .diff-hidden-lines .bottom,.monaco-editor .diff-hidden-lines .top{background-color:#0000;background-clip:padding-box;border-top:4px solid #0000;border-bottom:2px solid #0000;height:4px;transition:background-color .1s ease-out}.monaco-editor .diff-hidden-lines .bottom.canMoveTop:not(.canMoveBottom),.monaco-editor .diff-hidden-lines .top.canMoveTop:not(.canMoveBottom),.monaco-editor.draggingUnchangedRegion.canMoveTop:not(.canMoveBottom) *{cursor:n-resize!important}.monaco-editor .diff-hidden-lines .bottom:not(.canMoveTop).canMoveBottom,.monaco-editor .diff-hidden-lines .top:not(.canMoveTop).canMoveBottom,.monaco-editor.draggingUnchangedRegion:not(.canMoveTop).canMoveBottom *{cursor:s-resize!important}.monaco-editor .diff-hidden-lines .bottom.canMoveTop.canMoveBottom,.monaco-editor .diff-hidden-lines .top.canMoveTop.canMoveBottom,.monaco-editor.draggingUnchangedRegion.canMoveTop.canMoveBottom *{cursor:ns-resize!important}.monaco-editor .diff-hidden-lines .top{transform:translateY(4px)}.monaco-editor .diff-hidden-lines .bottom{transform:translateY(-6px)}.monaco-editor .diff-unchanged-lines{background:var(--vscode-diffEditor-unchangedCodeBackground)}.monaco-editor .noModificationsOverlay{background:var(--vscode-editor-background);z-index:1;justify-content:center;align-items:center;display:flex}.monaco-editor .diff-hidden-lines .center{background:var(--vscode-diffEditor-unchangedRegionBackground);box-shadow:inset 0 -5px 5px -7px var(--vscode-diffEditor-unchangedRegionShadow),inset 0 5px 5px -7px var(--vscode-diffEditor-unchangedRegionShadow);color:var(--vscode-diffEditor-unchangedRegionForeground);text-overflow:ellipsis;white-space:nowrap;height:24px;display:block;overflow:hidden}.monaco-editor .diff-hidden-lines .center span.codicon{vertical-align:middle}.monaco-editor .diff-hidden-lines .center a:hover .codicon{cursor:pointer;color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .diff-hidden-lines div.breadcrumb-item{cursor:pointer}.monaco-editor .diff-hidden-lines div.breadcrumb-item:hover{color:var(--vscode-editorLink-activeForeground)}.monaco-editor .movedModified,.monaco-editor .movedOriginal{border:2px solid var(--vscode-diffEditor-move-border)}.monaco-editor .movedModified.currentMove,.monaco-editor .movedOriginal.currentMove{border:2px solid var(--vscode-diffEditor-moveActive-border)}.monaco-diff-editor .moved-blocks-lines path.currentMove{stroke:var(--vscode-diffEditor-moveActive-border)}.monaco-diff-editor .moved-blocks-lines path{pointer-events:visiblestroke}.monaco-diff-editor .moved-blocks-lines .arrow{fill:var(--vscode-diffEditor-move-border)}.monaco-diff-editor .moved-blocks-lines .arrow.currentMove{fill:var(--vscode-diffEditor-moveActive-border)}.monaco-diff-editor .moved-blocks-lines .arrow-rectangle{fill:var(--vscode-editor-background)}.monaco-diff-editor .moved-blocks-lines{pointer-events:none;position:absolute}.monaco-diff-editor .moved-blocks-lines path{fill:none;stroke:var(--vscode-diffEditor-move-border);stroke-width:2px}.monaco-editor .char-delete.diff-range-empty{border-left:3px solid var(--vscode-diffEditor-removedTextBackground);margin-left:-1px}.monaco-editor .char-insert.diff-range-empty{border-left:3px solid var(--vscode-diffEditor-insertedTextBackground)}.monaco-editor .fold-unchanged{cursor:pointer}.monaco-diff-editor .diff-moved-code-block{justify-content:flex-end;margin-top:-4px;display:flex}.monaco-diff-editor .diff-moved-code-block .action-bar .action-label.codicon{width:12px;height:12px;font-size:12px}.monaco-diff-editor .diffOverview{z-index:9}.monaco-diff-editor .diffOverview .diffViewport{z-index:10}.monaco-diff-editor.vs .diffOverview{background:#00000008}.monaco-diff-editor.vs-dark .diffOverview{background:#ffffff03}.monaco-scrollable-element.modified-in-monaco-diff-editor.vs .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-light .scrollbar{background:0 0}.monaco-scrollable-element.modified-in-monaco-diff-editor .slider{z-index:10}.modified-in-monaco-diff-editor .slider.active{background:#ababab66}.modified-in-monaco-diff-editor.hc-black .slider.active,.modified-in-monaco-diff-editor.hc-light .slider.active{background:0 0}.monaco-diff-editor .delete-sign,.monaco-diff-editor .insert-sign,.monaco-editor .delete-sign,.monaco-editor .insert-sign{align-items:center;opacity:.7!important;font-size:11px!important;display:flex!important}.monaco-diff-editor.hc-black .delete-sign,.monaco-diff-editor.hc-black .insert-sign,.monaco-diff-editor.hc-light .delete-sign,.monaco-diff-editor.hc-light .insert-sign,.monaco-editor.hc-black .delete-sign,.monaco-editor.hc-black .insert-sign,.monaco-editor.hc-light .delete-sign,.monaco-editor.hc-light .insert-sign{opacity:1}.monaco-editor .inline-added-margin-view-zone,.monaco-editor .inline-deleted-margin-view-zone{text-align:right}.monaco-editor .arrow-revert-change{z-index:10;position:absolute}.monaco-editor .arrow-revert-change:hover{cursor:pointer}.monaco-editor .view-zones .view-lines .view-line span{display:inline-block}.monaco-editor .margin-view-zones .lightbulb-glyph:hover{cursor:pointer}.monaco-diff-editor .char-insert,.monaco-editor .char-insert{background-color:var(--vscode-diffEditor-insertedTextBackground)}.monaco-diff-editor .line-insert,.monaco-editor .line-insert{background-color:var(--vscode-diffEditor-insertedLineBackground,var(--vscode-diffEditor-insertedTextBackground))}.monaco-editor .char-insert,.monaco-editor .line-insert{border:1px solid var(--vscode-diffEditor-insertedTextBorder);box-sizing:border-box}.monaco-editor.hc-black .char-insert,.monaco-editor.hc-black .line-insert,.monaco-editor.hc-light .char-insert,.monaco-editor.hc-light .line-insert{border-style:dashed}.monaco-editor .char-delete,.monaco-editor .line-delete{border:1px solid var(--vscode-diffEditor-removedTextBorder);box-sizing:border-box}.monaco-editor.hc-black .char-delete,.monaco-editor.hc-black .line-delete,.monaco-editor.hc-light .char-delete,.monaco-editor.hc-light .line-delete{border-style:dashed}.monaco-diff-editor .gutter-insert,.monaco-editor .gutter-insert,.monaco-editor .inline-added-margin-view-zone{background-color:var(--vscode-diffEditorGutter-insertedLineBackground,var(--vscode-diffEditor-insertedLineBackground),var(--vscode-diffEditor-insertedTextBackground))}.monaco-diff-editor .char-delete,.monaco-editor .char-delete,.monaco-editor .inline-deleted-text{background-color:var(--vscode-diffEditor-removedTextBackground)}.monaco-editor .inline-deleted-text{text-decoration:line-through}.monaco-diff-editor .line-delete,.monaco-editor .line-delete{background-color:var(--vscode-diffEditor-removedLineBackground,var(--vscode-diffEditor-removedTextBackground))}.monaco-diff-editor .gutter-delete,.monaco-editor .gutter-delete,.monaco-editor .inline-deleted-margin-view-zone{background-color:var(--vscode-diffEditorGutter-removedLineBackground,var(--vscode-diffEditor-removedLineBackground),var(--vscode-diffEditor-removedTextBackground))}.monaco-diff-editor.side-by-side .editor.modified{border-left:1px solid var(--vscode-diffEditor-border);box-shadow:-6px 0 5px -5px var(--vscode-scrollbar-shadow)}.monaco-diff-editor.side-by-side .editor.original{border-right:1px solid var(--vscode-diffEditor-border);box-shadow:6px 0 5px -5px var(--vscode-scrollbar-shadow)}.monaco-diff-editor .diffViewport{background:var(--vscode-scrollbarSlider-background)}.monaco-diff-editor .diffViewport:hover{background:var(--vscode-scrollbarSlider-hoverBackground)}.monaco-diff-editor .diffViewport:active{background:var(--vscode-scrollbarSlider-activeBackground)}.monaco-editor .diagonal-fill{background-image:linear-gradient(-45deg,var(--vscode-diffEditor-diagonalFill) 12.5%,#0000 12.5%,#0000 50%,var(--vscode-diffEditor-diagonalFill) 50%,var(--vscode-diffEditor-diagonalFill) 62.5%,#0000 62.5%,#0000 100%);background-size:8px 8px}.monaco-diff-editor .gutter{flex-grow:0;flex-shrink:0;position:relative;overflow:hidden}.monaco-diff-editor .gutter>div{position:absolute}.monaco-diff-editor .gutter .gutterItem{opacity:0;transition:opacity .7s}.monaco-diff-editor .gutter .gutterItem.showAlways{opacity:1;transition:none}.monaco-diff-editor .gutter .gutterItem.noTransition{transition:none}.monaco-diff-editor .gutter:hover .gutterItem{opacity:1;transition:opacity .1s ease-in-out}.monaco-diff-editor .gutter .gutterItem .background{border-left:2px solid var(--vscode-menu-border);width:1px;height:100%;position:absolute;left:50%}.monaco-diff-editor .gutter .gutterItem .buttons{justify-content:center;align-items:center;width:100%;display:flex;position:absolute}.monaco-diff-editor .gutter .gutterItem .buttons .monaco-toolbar{height:fit-content}.monaco-diff-editor .gutter .gutterItem .buttons .monaco-toolbar .monaco-action-bar{line-height:1}.monaco-diff-editor .gutter .gutterItem .buttons .monaco-toolbar .monaco-action-bar .actions-container{background:var(--vscode-editorGutter-commentRangeForeground);border-radius:4px;width:fit-content}.monaco-diff-editor .gutter .gutterItem .buttons .monaco-toolbar .monaco-action-bar .actions-container .action-item:hover{background:var(--vscode-toolbar-hoverBackground)}.monaco-diff-editor .gutter .gutterItem .buttons .monaco-toolbar .monaco-action-bar .actions-container .action-item .action-label{padding:1px 2px}.monaco-diff-editor .diff-hidden-lines-compact{height:11px;display:flex}.monaco-diff-editor .diff-hidden-lines-compact .line-left,.monaco-diff-editor .diff-hidden-lines-compact .line-right{border-top:1px solid;border-color:var(--vscode-editorCodeLens-foreground);opacity:.5;width:100%;height:1px;margin:auto}.monaco-diff-editor .diff-hidden-lines-compact .line-left{width:20px}.monaco-diff-editor .diff-hidden-lines-compact .text{color:var(--vscode-editorCodeLens-foreground);text-wrap:nowrap;margin:0 4px;font-size:11px;line-height:11px}.monaco-editor .rendered-markdown kbd{background-color:var(--vscode-keybindingLabel-background);border-color:var(--vscode-keybindingLabel-border);border-bottom-color:var(--vscode-keybindingLabel-bottomBorder);box-shadow:inset 0 -1px 0 var(--vscode-widget-shadow);color:var(--vscode-keybindingLabel-foreground);vertical-align:middle;border-style:solid;border-width:1px;border-radius:3px;padding:1px 3px}.rendered-markdown li:has(input[type=checkbox]){list-style-type:none}.monaco-component.multiDiffEditor{background:var(--vscode-multiDiffEditor-background);width:100%;height:100%;position:relative;overflow-y:hidden}.monaco-component.multiDiffEditor>div{width:100%;height:100%;position:absolute;top:0;left:0}.monaco-component.multiDiffEditor>div.placeholder{visibility:hidden;place-content:center;place-items:center;display:grid}.monaco-component.multiDiffEditor>div.placeholder.visible{visibility:visible}.monaco-component.multiDiffEditor .active{--vscode-multiDiffEditor-border:var(--vscode-focusBorder)}.monaco-component.multiDiffEditor .multiDiffEntry{flex-direction:column;flex:1;display:flex;overflow:hidden}.monaco-component.multiDiffEditor .multiDiffEntry .collapse-button{cursor:pointer;margin:0 5px}.monaco-component.multiDiffEditor .multiDiffEntry .collapse-button a{display:block}.monaco-component.multiDiffEditor .multiDiffEntry .header{background:var(--vscode-editor-background);z-index:1000}.monaco-component.multiDiffEditor .multiDiffEntry .header:not(.collapsed) .header-content{border-bottom:1px solid var(--vscode-sideBarSectionHeader-border)}.monaco-component.multiDiffEditor .multiDiffEntry .header .header-content{background:var(--vscode-multiDiffEditor-headerBackground);border-top:1px solid var(--vscode-multiDiffEditor-border);color:var(--vscode-foreground);align-items:center;margin:8px 0 0;padding:4px 5px;display:flex}.monaco-component.multiDiffEditor .multiDiffEntry .header .header-content.shadow{box-shadow:var(--vscode-scrollbar-shadow) 0 6px 6px -6px}.monaco-component.multiDiffEditor .multiDiffEntry .header .header-content .file-path{flex:1;min-width:0;display:flex}.monaco-component.multiDiffEditor .multiDiffEntry .header .header-content .file-path .title{font-size:14px;line-height:22px}.monaco-component.multiDiffEditor .multiDiffEntry .header .header-content .file-path .title.original{text-overflow:ellipsis;flex:1;min-width:0}.monaco-component.multiDiffEditor .multiDiffEntry .header .header-content .file-path .status{opacity:.75;margin:0 10px;font-weight:600;line-height:22px}.monaco-component.multiDiffEditor .multiDiffEntry .header .header-content .actions{padding:0 8px}.monaco-component.multiDiffEditor .multiDiffEntry .editorParent{border-bottom:1px solid var(--vscode-multiDiffEditor-border);flex-direction:column;flex:1;display:flex;overflow:hidden}.monaco-component.multiDiffEditor .multiDiffEntry .editorContainer{flex:1}.monaco-editor .selection-anchor{background-color:#007acc;width:2px!important}.monaco-editor .bracket-match{background-color:var(--vscode-editorBracketMatch-background);border:1px solid var(--vscode-editorBracketMatch-border);box-sizing:border-box}.monaco-editor .lightBulbWidget{justify-content:center;align-items:center;display:flex}.monaco-editor .lightBulbWidget:hover{cursor:pointer}.monaco-editor .lightBulbWidget.codicon-light-bulb,.monaco-editor .lightBulbWidget.codicon-lightbulb-sparkle{color:var(--vscode-editorLightBulb-foreground)}.monaco-editor .lightBulbWidget.codicon-lightbulb-autofix,.monaco-editor .lightBulbWidget.codicon-lightbulb-sparkle-autofix{color:var(--vscode-editorLightBulbAutoFix-foreground,var(--vscode-editorLightBulb-foreground))}.monaco-editor .lightBulbWidget.codicon-sparkle-filled{color:var(--vscode-editorLightBulbAi-foreground,var(--vscode-icon-foreground))}.monaco-editor .lightBulbWidget:before{z-index:2;position:relative}.monaco-editor .lightBulbWidget:after{content:\"\";opacity:.3;z-index:1;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.monaco-editor .glyph-margin-widgets .cgmr[class*=codicon-gutter-lightbulb]{cursor:pointer;display:block}.monaco-editor .glyph-margin-widgets .cgmr.codicon-gutter-lightbulb,.monaco-editor .glyph-margin-widgets .cgmr.codicon-gutter-lightbulb-sparkle{color:var(--vscode-editorLightBulb-foreground)}.monaco-editor .glyph-margin-widgets .cgmr.codicon-gutter-lightbulb-aifix-auto-fix,.monaco-editor .glyph-margin-widgets .cgmr.codicon-gutter-lightbulb-auto-fix{color:var(--vscode-editorLightBulbAutoFix-foreground,var(--vscode-editorLightBulb-foreground))}.monaco-editor .glyph-margin-widgets .cgmr.codicon-gutter-lightbulb-sparkle-filled{color:var(--vscode-editorLightBulbAi-foreground,var(--vscode-icon-foreground))}.monaco-editor .codelens-decoration{color:var(--vscode-editorCodeLens-foreground);font-family:var(--vscode-editorCodeLens-fontFamily),var(--vscode-editorCodeLens-fontFamilyDefault);font-feature-settings:var(--vscode-editorCodeLens-fontFeatureSettings);font-size:var(--vscode-editorCodeLens-fontSize);line-height:var(--vscode-editorCodeLens-lineHeight);padding-right:calc(var(--vscode-editorCodeLens-fontSize)*.5);text-overflow:ellipsis;white-space:nowrap;display:inline-block;overflow:hidden}.monaco-editor .codelens-decoration>a,.monaco-editor .codelens-decoration>span{-webkit-user-select:none;user-select:none;vertical-align:sub;white-space:nowrap}.monaco-editor .codelens-decoration>a{text-decoration:none}.monaco-editor .codelens-decoration>a:hover{cursor:pointer}.monaco-editor .codelens-decoration>a:hover,.monaco-editor .codelens-decoration>a:hover .codicon{color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .codelens-decoration .codicon{color:var(--vscode-editorCodeLens-foreground);font-size:var(--vscode-editorCodeLens-fontSize);line-height:var(--vscode-editorCodeLens-lineHeight);vertical-align:middle;color:currentColor!important}.monaco-editor .codelens-decoration>a:hover .codicon:before{cursor:pointer}@keyframes fadein{0%{opacity:0;visibility:visible}to{opacity:1}}.monaco-editor .codelens-decoration.fadein{animation:.1s linear fadein}.colorpicker-widget{-webkit-user-select:none;user-select:none;height:190px}.colorpicker-color-decoration,.hc-light .colorpicker-color-decoration{box-sizing:border-box;cursor:pointer;border:.1em solid #000;width:.8em;height:.8em;margin:.1em .2em 0;line-height:.8em;display:inline-block}.hc-black .colorpicker-color-decoration,.vs-dark .colorpicker-color-decoration{border:.1em solid #eee}.colorpicker-header{height:24px;image-rendering:pixelated;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=) 0 0/9px 9px;display:flex;position:relative}.colorpicker-header .picked-color{color:#fff;cursor:pointer;white-space:nowrap;flex:1;justify-content:center;align-items:center;width:240px;line-height:24px;display:flex;overflow:hidden}.colorpicker-header .picked-color .picked-color-presentation{white-space:nowrap;margin-left:5px;margin-right:5px}.colorpicker-header .picked-color .codicon{color:inherit;font-size:14px}.colorpicker-header .picked-color.light{color:#000}.colorpicker-header .original-color{cursor:pointer;width:74px;z-index:inherit}.standalone-colorpicker{background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border);color:var(--vscode-editorHoverWidget-foreground)}.colorpicker-header.standalone-colorpicker{border-bottom:none}.colorpicker-header .close-button{background-color:var(--vscode-editorHoverWidget-background);border-left:1px solid var(--vscode-editorHoverWidget-border);cursor:pointer}.colorpicker-header .close-button-inner-div{text-align:center;width:100%;height:100%}.colorpicker-header .close-button-inner-div:hover{background-color:var(--vscode-toolbar-hoverBackground)}.colorpicker-header .close-icon{padding:3px}.colorpicker-body{padding:8px;display:flex;position:relative}.colorpicker-body .saturation-wrap{flex:1;min-width:220px;height:150px;position:relative;overflow:hidden}.colorpicker-body .saturation-box{height:150px;position:absolute}.colorpicker-body .saturation-selection{border:1px solid #fff;border-radius:100%;width:9px;height:9px;margin:-5px 0 0 -5px;position:absolute;box-shadow:0 0 2px #000c}.colorpicker-body .strip{width:25px;height:150px}.colorpicker-body .standalone-strip{width:25px;height:122px}.colorpicker-body .hue-strip{cursor:grab;background:linear-gradient(red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);margin-left:8px;position:relative}.colorpicker-body .opacity-strip{cursor:grab;image-rendering:pixelated;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=) 0 0/9px 9px;margin-left:8px;position:relative}.colorpicker-body .strip.grabbing{cursor:grabbing}.colorpicker-body .slider{box-sizing:border-box;border:1px solid #ffffffb5;width:calc(100% + 4px);height:4px;position:absolute;top:0;left:-2px;box-shadow:0 0 1px #000000d9}.colorpicker-body .strip .overlay{pointer-events:none;height:150px}.colorpicker-body .standalone-strip .standalone-overlay{pointer-events:none;height:122px}.standalone-colorpicker-body{border:1px solid #0000;border-bottom:1px solid var(--vscode-editorHoverWidget-border);display:block;overflow:hidden}.colorpicker-body .insert-button{background:var(--vscode-button-background);color:var(--vscode-button-foreground);cursor:pointer;border:none;border-radius:2px;width:58px;height:20px;padding:0;position:absolute;bottom:8px;right:8px}.colorpicker-body .insert-button:hover{background:var(--vscode-button-hoverBackground)}.monaco-editor.hc-light .dnd-target,.monaco-editor.vs .dnd-target{color:#fff;border-right:2px dotted #000}.monaco-editor.vs-dark .dnd-target{color:#51504f;border-right:2px dotted #aeafad}.monaco-editor.hc-black .dnd-target{color:#000;border-right:2px dotted #fff}.monaco-editor.hc-black.mac.mouse-default .view-lines,.monaco-editor.hc-light.mac.mouse-default .view-lines,.monaco-editor.mouse-default .view-lines,.monaco-editor.vs-dark.mac.mouse-default .view-lines{cursor:default}.monaco-editor.hc-black.mac.mouse-copy .view-lines,.monaco-editor.hc-light.mac.mouse-copy .view-lines,.monaco-editor.mouse-copy .view-lines,.monaco-editor.vs-dark.mac.mouse-copy .view-lines{cursor:copy}.post-edit-widget{background-color:var(--vscode-editorWidget-background);border:1px solid var(--vscode-widget-border,transparent);box-shadow:0 0 8px 2px var(--vscode-widget-shadow);border-radius:4px;overflow:hidden}.post-edit-widget .monaco-button{border:none;border-radius:0;padding:2px}.post-edit-widget .monaco-button:hover{background-color:var(--vscode-button-secondaryHoverBackground)!important}.post-edit-widget .monaco-button .codicon{margin:0}.monaco-editor .findOptionsWidget{border:2px solid var(--vscode-contrastBorder)}.monaco-editor .find-widget,.monaco-editor .findOptionsWidget{background-color:var(--vscode-editorWidget-background);box-shadow:0 0 8px 2px var(--vscode-widget-shadow);color:var(--vscode-editorWidget-foreground)}.monaco-editor .find-widget{border-bottom:1px solid var(--vscode-widget-border);border-left:1px solid var(--vscode-widget-border);border-right:1px solid var(--vscode-widget-border);box-sizing:border-box;z-index:35;border-bottom-right-radius:4px;border-bottom-left-radius:4px;height:33px;padding:0 4px;line-height:19px;transition:transform .2s linear;position:absolute;overflow:hidden;transform:translateY(calc(-100% - 10px))}.monaco-workbench.reduce-motion .monaco-editor .find-widget{transition:transform linear}.monaco-editor .find-widget textarea{margin:0}.monaco-editor .find-widget.hiddenEditor{display:none}.monaco-editor .find-widget.replaceToggled>.replace-part{display:flex}.monaco-editor .find-widget.visible{transform:translateY(0)}.monaco-editor .find-widget .monaco-inputbox.synthetic-focus{outline:1px solid -webkit-focus-ring-color;outline-color:var(--vscode-focusBorder);outline-offset:-1px}.monaco-editor .find-widget .monaco-inputbox .input{background-color:#0000;min-height:0}.monaco-editor .find-widget .monaco-findInput .input{font-size:13px}.monaco-editor .find-widget>.find-part,.monaco-editor .find-widget>.replace-part{margin:3px 25px 0 17px;font-size:12px;display:flex}.monaco-editor .find-widget>.find-part .monaco-inputbox,.monaco-editor .find-widget>.replace-part .monaco-inputbox{min-height:25px}.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-right:22px}.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.mirror,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-top:2px;padding-bottom:2px}.monaco-editor .find-widget>.find-part .find-actions,.monaco-editor .find-widget>.replace-part .replace-actions{align-items:center;height:25px;display:flex}.monaco-editor .find-widget .monaco-findInput{vertical-align:middle;flex:1;display:flex}.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element{width:100%}.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element .scrollbar.vertical{opacity:0}.monaco-editor .find-widget .matchesCount{box-sizing:border-box;flex:initial;text-align:center;vertical-align:middle;height:25px;margin:0 0 0 3px;padding:2px 0 0 2px;line-height:23px;display:flex}.monaco-editor .find-widget .button{cursor:pointer;flex:initial;background-position:50%;background-repeat:no-repeat;border-radius:5px;justify-content:center;align-items:center;width:16px;height:16px;margin-left:3px;padding:3px;display:flex}.monaco-editor .find-widget .codicon-find-selection{border-radius:5px;width:22px;height:22px;padding:3px}.monaco-editor .find-widget .button.left{margin-left:0;margin-right:3px}.monaco-editor .find-widget .button.wide{width:auto;padding:1px 6px;top:-1px}.monaco-editor .find-widget .button.toggle{box-sizing:border-box;border-radius:0;width:18px;height:100%;position:absolute;top:0;left:3px}.monaco-editor .find-widget .button.toggle.disabled{display:none}.monaco-editor .find-widget .disabled{color:var(--vscode-disabledForeground);cursor:default}.monaco-editor .find-widget>.replace-part{display:none}.monaco-editor .find-widget>.replace-part>.monaco-findInput{vertical-align:middle;flex:none;display:flex;position:relative}.monaco-editor .find-widget>.replace-part>.monaco-findInput>.controls{position:absolute;top:3px;right:2px}.monaco-editor .find-widget.reduced-find-widget .matchesCount{display:none}.monaco-editor .find-widget.narrow-find-widget{max-width:257px!important}.monaco-editor .find-widget.collapsed-find-widget{max-width:170px!important}.monaco-editor .find-widget.collapsed-find-widget .button.next,.monaco-editor .find-widget.collapsed-find-widget .button.previous,.monaco-editor .find-widget.collapsed-find-widget .button.replace,.monaco-editor .find-widget.collapsed-find-widget .button.replace-all,.monaco-editor .find-widget.collapsed-find-widget>.find-part .monaco-findInput .controls{display:none}.monaco-editor .find-widget.no-results .matchesCount{color:var(--vscode-errorForeground)}.monaco-editor .findMatch{animation-duration:0;background-color:var(--vscode-editor-findMatchHighlightBackground);animation-name:inherit!important}.monaco-editor .currentFindMatch{background-color:var(--vscode-editor-findMatchBackground);border:2px solid var(--vscode-editor-findMatchBorder);box-sizing:border-box;padding:1px}.monaco-editor .findScope{background-color:var(--vscode-editor-findRangeHighlightBackground)}.monaco-editor .find-widget .monaco-sash{background-color:var(--vscode-editorWidget-resizeBorder,var(--vscode-editorWidget-border));left:0!important}.monaco-editor.hc-black .find-widget .button:before{position:relative;top:1px;left:2px}.monaco-editor .find-widget .button:not(.disabled):hover,.monaco-editor .find-widget .codicon-find-selection:hover{background-color:var(--vscode-toolbar-hoverBackground)!important}.monaco-editor.currentFindMatch{background-color:var(--vscode-editor-findMatchBackground)}.monaco-editor.findScope{background-color:var(--vscode-editor-findRangeHighlightBackground)}.monaco-editor.findMatch{background-color:var(--vscode-editorWidget-background)}.monaco-editor .find-widget>.button.codicon-widget-close{position:absolute;top:5px;right:4px}.monaco-editor .margin-view-overlays .codicon-folding-collapsed,.monaco-editor .margin-view-overlays .codicon-folding-expanded,.monaco-editor .margin-view-overlays .codicon-folding-manual-collapsed,.monaco-editor .margin-view-overlays .codicon-folding-manual-expanded{cursor:pointer;opacity:0;justify-content:center;align-items:center;margin-left:2px;font-size:140%;transition:opacity .5s;display:flex}.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-collapsed,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-expanded,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-manual-collapsed,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-manual-expanded{transition:initial}.monaco-editor .margin-view-overlays .codicon.alwaysShowFoldIcons,.monaco-editor .margin-view-overlays .codicon.codicon-folding-collapsed,.monaco-editor .margin-view-overlays .codicon.codicon-folding-manual-collapsed,.monaco-editor .margin-view-overlays:hover .codicon{opacity:1}.monaco-editor .inline-folded:after{color:var(--vscode-editor-foldPlaceholderForeground);content:\"⋯\";cursor:pointer;margin:.1em .2em 0;line-height:1em;display:inline}.monaco-editor .folded-background{background-color:var(--vscode-editor-foldBackground)}.monaco-editor .cldr.codicon.codicon-folding-collapsed,.monaco-editor .cldr.codicon.codicon-folding-expanded,.monaco-editor .cldr.codicon.codicon-folding-manual-collapsed,.monaco-editor .cldr.codicon.codicon-folding-manual-expanded{color:var(--vscode-editorGutter-foldingControlForeground)!important}.monaco-editor .peekview-widget .head .peekview-title .severity-icon{vertical-align:text-top;margin-right:4px;display:inline-block}.monaco-editor .marker-widget{text-overflow:ellipsis;white-space:nowrap}.monaco-editor .marker-widget>.stale{opacity:.6;font-style:italic}.monaco-editor .marker-widget .title{padding-right:5px;display:inline-block}.monaco-editor .marker-widget .descriptioncontainer{-webkit-user-select:text;user-select:text;white-space:pre;padding:8px 12px 0 20px;position:absolute}.monaco-editor .marker-widget .descriptioncontainer .message{flex-direction:column;display:flex}.monaco-editor .marker-widget .descriptioncontainer .message .details{padding-left:6px}.monaco-editor .marker-widget .descriptioncontainer .message .source,.monaco-editor .marker-widget .descriptioncontainer .message span.code{opacity:.6}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link{color:inherit;opacity:.6}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:before{content:\"(\"}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:after{content:\")\"}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link>span{color:var(--vscode-textLink-activeForeground);text-underline-position:under;border-bottom:1px solid #0000;text-decoration:underline}.monaco-editor .marker-widget .descriptioncontainer .filename{color:var(--vscode-textLink-activeForeground);cursor:pointer}.monaco-editor .goto-definition-link{cursor:pointer;text-decoration:underline;color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .zone-widget .zone-widget-container.reference-zone-widget{border-top-width:1px;border-bottom-width:1px}.monaco-editor .reference-zone-widget .inline{vertical-align:top;display:inline-block}.monaco-editor .reference-zone-widget .messages{text-align:center;width:100%;height:100%;padding:3em 0}.monaco-editor .reference-zone-widget .ref-tree{background-color:var(--vscode-peekViewResult-background);color:var(--vscode-peekViewResult-lineForeground);line-height:23px}.monaco-editor .reference-zone-widget .ref-tree .reference{text-overflow:ellipsis;overflow:hidden}.monaco-editor .reference-zone-widget .ref-tree .reference-file{color:var(--vscode-peekViewResult-fileForeground);width:100%;height:100%;display:inline-flex}.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .selected .reference-file{color:inherit!important}.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows>.monaco-list-row.selected:not(.highlighted){background-color:var(--vscode-peekViewResult-selectionBackground);color:var(--vscode-peekViewResult-selectionForeground)!important}.monaco-editor .reference-zone-widget .ref-tree .reference-file .count{margin-left:auto;margin-right:12px}.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight{background-color:var(--vscode-peekViewResult-matchHighlightBackground)}.monaco-editor .reference-zone-widget .preview .reference-decoration{background-color:var(--vscode-peekViewEditor-matchHighlightBackground);border:2px solid var(--vscode-peekViewEditor-matchHighlightBorder);box-sizing:border-box}.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input,.monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background{background-color:var(--vscode-peekViewEditor-background)}.monaco-editor .reference-zone-widget .preview .monaco-editor .margin{background-color:var(--vscode-peekViewEditorGutter-background)}.monaco-editor.hc-black .reference-zone-widget .ref-tree .reference-file,.monaco-editor.hc-light .reference-zone-widget .ref-tree .reference-file{font-weight:700}.monaco-editor.hc-black .reference-zone-widget .ref-tree .referenceMatch .highlight,.monaco-editor.hc-light .reference-zone-widget .ref-tree .referenceMatch .highlight{border:1px dotted var(--vscode-contrastActiveBorder,transparent);box-sizing:border-box}.monaco-editor .hoverHighlight{background-color:var(--vscode-editor-hoverHighlightBackground)}.monaco-editor .monaco-hover-content{box-sizing:border-box;padding-bottom:2px;padding-right:2px}.monaco-editor .monaco-hover{background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border);color:var(--vscode-editorHoverWidget-foreground);border-radius:3px}.monaco-editor .monaco-hover a{color:var(--vscode-textLink-foreground)}.monaco-editor .monaco-hover a:hover{color:var(--vscode-textLink-activeForeground)}.monaco-editor .monaco-hover .hover-row{display:flex}.monaco-editor .monaco-hover .hover-row .hover-row-contents{flex-direction:column;min-width:0;display:flex}.monaco-editor .monaco-hover .hover-row .verbosity-actions{border-right:1px solid var(--vscode-editorHoverWidget-border);flex-direction:column;justify-content:end;padding-left:5px;padding-right:5px;display:flex}.monaco-editor .monaco-hover .hover-row .verbosity-actions .codicon{cursor:pointer;font-size:11px}.monaco-editor .monaco-hover .hover-row .verbosity-actions .codicon.enabled{color:var(--vscode-textLink-foreground)}.monaco-editor .monaco-hover .hover-row .verbosity-actions .codicon.disabled{opacity:.6}.monaco-editor .monaco-hover .hover-row .actions{background-color:var(--vscode-editorHoverWidget-statusBarBackground)}.monaco-editor .monaco-hover code{background-color:var(--vscode-textCodeBlock-background)}.monaco-editor.vs .valueSetReplacement{outline:solid 2px var(--vscode-editorBracketMatch-border)}.monaco-editor .inlineSuggestionsHints.withBorder{background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border);color:var(--vscode-editorHoverWidget-foreground);z-index:39}.monaco-editor .inlineSuggestionsHints a,.monaco-editor .inlineSuggestionsHints a:hover{color:var(--vscode-foreground)}.monaco-editor .inlineSuggestionsHints .keybinding{opacity:.6;margin-left:4px;display:flex}.monaco-editor .inlineSuggestionsHints .keybinding .monaco-keybinding-key{padding:2px 3px;font-size:8px}.monaco-editor .inlineSuggestionsHints .availableSuggestionCount a{justify-content:center;min-width:19px;display:flex}.monaco-editor .inlineSuggestionStatusBarItemLabel{margin-right:2px}.monaco-editor .suggest-preview-additional-widget{white-space:nowrap}.monaco-editor .suggest-preview-additional-widget .content-spacer{color:#0000;white-space:pre}.monaco-editor .suggest-preview-additional-widget .button{cursor:pointer;text-underline-position:under;text-decoration:underline;display:inline-block}.monaco-editor .ghost-text-hidden{opacity:0;font-size:0}.monaco-editor .ghost-text-decoration,.monaco-editor .suggest-preview-text .ghost-text{font-style:italic}.monaco-editor .ghost-text-decoration,.monaco-editor .ghost-text-decoration-preview,.monaco-editor .suggest-preview-text .ghost-text{background-color:var(--vscode-editorGhostText-background);border:1px solid var(--vscode-editorGhostText-border);color:var(--vscode-editorGhostText-foreground)!important}.monaco-editor .inline-edit-remove{background-color:var(--vscode-editorGhostText-background);font-style:italic}.monaco-editor .inline-edit-hidden{opacity:0;font-size:0}.monaco-editor .inline-edit-decoration,.monaco-editor .suggest-preview-text .inline-edit{font-style:italic}.monaco-editor .inline-completion-text-to-replace{text-underline-position:under;text-decoration:underline}.monaco-editor .inline-edit-decoration,.monaco-editor .inline-edit-decoration-preview,.monaco-editor .suggest-preview-text .inline-edit{background-color:var(--vscode-editorGhostText-background);border:1px solid var(--vscode-editorGhostText-border);color:var(--vscode-editorGhostText-foreground)!important}.monaco-editor .inlineEditHints.withBorder{background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border);color:var(--vscode-editorHoverWidget-foreground);z-index:39}.monaco-editor .inlineEditHints a,.monaco-editor .inlineEditHints a:hover{color:var(--vscode-foreground)}.monaco-editor .inlineEditHints .keybinding{opacity:.6;margin-left:4px;display:flex}.monaco-editor .inlineEditHints .keybinding .monaco-keybinding-key{padding:2px 3px;font-size:8px}.monaco-editor .inlineEditStatusBarItemLabel{margin-right:2px}.monaco-editor .inlineEditSideBySide{background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border);color:var(--vscode-editorHoverWidget-foreground);white-space:pre;z-index:39}.monaco-editor div.inline-edits-widget{--widget-color:var(--vscode-notifications-background)}.monaco-editor div.inline-edits-widget .promptEditor .monaco-editor{--vscode-editor-placeholder-foreground:var(--vscode-editorGhostText-foreground)}.monaco-editor div.inline-edits-widget .promptEditor,.monaco-editor div.inline-edits-widget .toolbar{opacity:0;transition:opacity .2s ease-in-out}.monaco-editor div.inline-edits-widget.focused .promptEditor,.monaco-editor div.inline-edits-widget.focused .toolbar,.monaco-editor div.inline-edits-widget:hover .promptEditor,.monaco-editor div.inline-edits-widget:hover .toolbar{opacity:1}.monaco-editor div.inline-edits-widget .preview .monaco-editor{--vscode-editor-background:var(--widget-color)}.monaco-editor div.inline-edits-widget .preview .monaco-editor .mtk1{color:var(--vscode-editorGhostText-foreground)}.monaco-editor div.inline-edits-widget .preview .monaco-editor .current-line-margin,.monaco-editor div.inline-edits-widget .preview .monaco-editor .view-overlays .current-line-exact{border:none}.monaco-editor div.inline-edits-widget svg .gradient-start{stop-color:var(--vscode-editor-background)}.monaco-editor div.inline-edits-widget svg .gradient-stop{stop-color:var(--widget-color)}.inline-editor-progress-decoration{width:1em;height:1em;display:inline-block}.inline-progress-widget{justify-content:center;align-items:center;display:flex!important}.inline-progress-widget .icon{font-size:80%!important}.inline-progress-widget:hover .icon{animation:none;font-size:90%!important}.inline-progress-widget:hover .icon:before{content:var(--vscode-icon-x-content);font-family:var(--vscode-icon-x-font-family)}.monaco-editor .linked-editing-decoration{background-color:var(--vscode-editor-linkedEditingBackground);min-width:1px}.monaco-editor .detected-link,.monaco-editor .detected-link-active{text-underline-position:under;text-decoration:underline}.monaco-editor .detected-link-active{cursor:pointer;color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .monaco-editor-overlaymessage{z-index:10000;padding-bottom:8px}.monaco-editor .monaco-editor-overlaymessage.below{z-index:10000;padding-top:8px;padding-bottom:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.monaco-editor .monaco-editor-overlaymessage.fadeIn{animation:.15s ease-out fadeIn}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.monaco-editor .monaco-editor-overlaymessage.fadeOut{animation:.1s ease-out fadeOut}.monaco-editor .monaco-editor-overlaymessage .message{background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-inputValidation-infoBorder);color:var(--vscode-editorHoverWidget-foreground);border-radius:3px;padding:2px 4px}.monaco-editor .monaco-editor-overlaymessage .message p{margin-block:0}.monaco-editor .monaco-editor-overlaymessage .message a{color:var(--vscode-textLink-foreground)}.monaco-editor .monaco-editor-overlaymessage .message a:hover{color:var(--vscode-textLink-activeForeground)}.monaco-editor.hc-black .monaco-editor-overlaymessage .message,.monaco-editor.hc-light .monaco-editor-overlaymessage .message{border-width:2px}.monaco-editor .monaco-editor-overlaymessage .anchor{z-index:1000;border:8px solid #0000;position:absolute;left:2px;width:0!important;height:0!important}.monaco-editor .monaco-editor-overlaymessage .anchor.top{border-bottom-color:var(--vscode-inputValidation-infoBorder)}.monaco-editor .monaco-editor-overlaymessage .anchor.below{border-top-color:var(--vscode-inputValidation-infoBorder)}.monaco-editor .monaco-editor-overlaymessage.below .anchor.below,.monaco-editor .monaco-editor-overlaymessage:not(.below) .anchor.top{display:none}.monaco-editor .monaco-editor-overlaymessage.below .anchor.top{display:inherit;top:-8px}.monaco-editor .parameter-hints-widget{background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border);color:var(--vscode-editorHoverWidget-foreground);cursor:default;z-index:39;flex-direction:column;line-height:1.5em;display:flex}.hc-black .monaco-editor .parameter-hints-widget,.hc-light .monaco-editor .parameter-hints-widget{border-width:2px}.monaco-editor .parameter-hints-widget>.phwrapper{flex-direction:row;max-width:440px;display:flex}.monaco-editor .parameter-hints-widget.multiple{min-height:3.3em;padding:0}.monaco-editor .parameter-hints-widget.multiple .body:before{border-left:1px solid var(--vscode-editorHoverWidget-border);content:\"\";opacity:.5;height:100%;display:block;position:absolute}.monaco-editor .parameter-hints-widget p,.monaco-editor .parameter-hints-widget ul{margin:8px 0}.monaco-editor .parameter-hints-widget .body,.monaco-editor .parameter-hints-widget .monaco-scrollable-element{flex-direction:column;flex:1;min-height:100%;display:flex}.monaco-editor .parameter-hints-widget .signature{padding:4px 5px;position:relative}.monaco-editor .parameter-hints-widget .signature.has-docs:after{border-bottom:1px solid var(--vscode-editorHoverWidget-border);content:\"\";opacity:.5;width:100%;padding-top:4px;display:block;position:absolute;left:0}.monaco-editor .parameter-hints-widget .code{font-family:var(--vscode-parameterHintsWidget-editorFontFamily),var(--vscode-parameterHintsWidget-editorFontFamilyDefault)}.monaco-editor .parameter-hints-widget .docs{white-space:pre-wrap;padding:0 10px 0 5px}.monaco-editor .parameter-hints-widget .docs.empty{display:none}.monaco-editor .parameter-hints-widget .docs a{color:var(--vscode-textLink-foreground)}.monaco-editor .parameter-hints-widget .docs a:hover{color:var(--vscode-textLink-activeForeground);cursor:pointer}.monaco-editor .parameter-hints-widget .docs .markdown-docs{white-space:normal}.monaco-editor .parameter-hints-widget .docs code{background-color:var(--vscode-textCodeBlock-background);font-family:var(--monaco-monospace-font);border-radius:3px;padding:0 .4em}.monaco-editor .parameter-hints-widget .docs .code,.monaco-editor .parameter-hints-widget .docs .monaco-tokenized-source{white-space:pre-wrap}.monaco-editor .parameter-hints-widget .controls{flex-direction:column;justify-content:flex-end;align-items:center;min-width:22px;display:none}.monaco-editor .parameter-hints-widget.multiple .controls{padding:0 2px;display:flex}.monaco-editor .parameter-hints-widget.multiple .button{cursor:pointer;background-repeat:no-repeat;width:16px;height:16px}.monaco-editor .parameter-hints-widget .button.previous{bottom:24px}.monaco-editor .parameter-hints-widget .overloads{font-family:var(--monaco-monospace-font);text-align:center;height:12px;line-height:12px}.monaco-editor .parameter-hints-widget .signature .parameter.active{color:var(--vscode-editorHoverWidget-highlightForeground);font-weight:700}.monaco-editor .parameter-hints-widget .documentation-parameter>.parameter{margin-right:.5em;font-weight:700}.monaco-editor .peekview-widget .head{box-sizing:border-box;flex-wrap:nowrap;justify-content:space-between;display:flex}.monaco-editor .peekview-widget .head .peekview-title{text-overflow:ellipsis;align-items:baseline;min-width:0;margin-left:20px;font-size:13px;display:flex;overflow:hidden}.monaco-editor .peekview-widget .head .peekview-title.clickable{cursor:pointer}.monaco-editor .peekview-widget .head .peekview-title .dirname:not(:empty){margin-left:.5em;font-size:.9em}.monaco-editor .peekview-widget .head .peekview-title .dirname,.monaco-editor .peekview-widget .head .peekview-title .filename,.monaco-editor .peekview-widget .head .peekview-title .meta{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.monaco-editor .peekview-widget .head .peekview-title .meta:not(:empty):before{content:\"-\";padding:0 .3em}.monaco-editor .peekview-widget .head .peekview-actions{text-align:right;flex:1;padding-right:2px}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar{display:inline-block}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar,.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar>.actions-container{height:100%}.monaco-editor .peekview-widget>.body{border-top:1px solid;position:relative}.monaco-editor .peekview-widget .head .peekview-title .codicon{align-self:center;margin-right:4px}.monaco-editor .peekview-widget .monaco-list .monaco-list-row.focused .codicon{color:inherit!important}.monaco-editor{--vscode-editor-placeholder-foreground:var(--vscode-editorGhostText-foreground)}.monaco-editor .editorPlaceholder{text-overflow:ellipsis;text-wrap:nowrap;color:var(--vscode-editor-placeholder-foreground);pointer-events:none;position:absolute;top:0;overflow:hidden}.monaco-editor .rename-box{color:inherit;z-index:100;border-radius:4px}.monaco-editor .rename-box.preview{padding:4px 4px 0}.monaco-editor .rename-box .rename-input-with-button{border-radius:2px;width:calc(100% - 8px);padding:3px}.monaco-editor .rename-box .rename-input{width:calc(100% - 8px);padding:0}.monaco-editor .rename-box .rename-input:focus{outline:none}.monaco-editor .rename-box .rename-suggestions-button{cursor:pointer;background-color:#0000;border:none;border-radius:5px;align-items:center;padding:3px;display:flex}.monaco-editor .rename-box .rename-suggestions-button:hover{background-color:var(--vscode-toolbar-hoverBackground)}.monaco-editor .rename-box .rename-candidate-list-container .monaco-list-row{border-radius:2px}.monaco-editor .rename-box .rename-label{opacity:.8;display:none}.monaco-editor .rename-box.preview .rename-label{display:inherit}.monaco-editor .snippet-placeholder{background-color:var(--vscode-editor-snippetTabstopHighlightBackground,transparent);outline-color:var(--vscode-editor-snippetTabstopHighlightBorder,transparent);outline-width:1px;outline-style:solid;min-width:2px}.monaco-editor .finish-snippet-placeholder{background-color:var(--vscode-editor-snippetFinalTabstopHighlightBackground,transparent);outline-color:var(--vscode-editor-snippetFinalTabstopHighlightBorder,transparent);outline-width:1px;outline-style:solid}.monaco-editor .sticky-widget{overflow:hidden}.monaco-editor .sticky-widget-line-numbers{background-color:inherit;float:left}.monaco-editor .sticky-widget-lines-scrollable{background-color:inherit;width:var(--vscode-editorStickyScroll-scrollableWidth);display:inline-block;position:absolute;overflow:hidden}.monaco-editor .sticky-widget-lines{background-color:inherit;position:absolute}.monaco-editor .sticky-line-content,.monaco-editor .sticky-line-number{background-color:inherit;color:var(--vscode-editorLineNumber-foreground);white-space:nowrap;display:inline-block;position:absolute}.monaco-editor .sticky-line-number .codicon-folding-collapsed,.monaco-editor .sticky-line-number .codicon-folding-expanded{float:right;transition:var(--vscode-editorStickyScroll-foldingOpacityTransition)}.monaco-editor .sticky-line-content{background-color:inherit;white-space:nowrap;width:var(--vscode-editorStickyScroll-scrollableWidth)}.monaco-editor .sticky-line-number-inner{text-align:right;display:inline-block}.monaco-editor .sticky-widget{border-bottom:1px solid var(--vscode-editorStickyScroll-border)}.monaco-editor .sticky-line-content:hover{background-color:var(--vscode-editorStickyScrollHover-background);cursor:pointer}.monaco-editor .sticky-widget{background-color:var(--vscode-editorStickyScroll-background);box-shadow:var(--vscode-editorStickyScroll-shadow) 0 4px 2px -2px;z-index:4;width:100%;right:auto!important}.monaco-editor .sticky-widget.peek{background-color:var(--vscode-peekViewEditorStickyScroll-background)}.monaco-editor .suggest-widget{z-index:40;border-radius:3px;flex-direction:column;width:430px;display:flex}.monaco-editor .suggest-widget.message{flex-direction:row;align-items:center}.monaco-editor .suggest-details,.monaco-editor .suggest-widget{background-color:var(--vscode-editorSuggestWidget-background);border-color:var(--vscode-editorSuggestWidget-border);border-style:solid;border-width:1px;flex:0 auto;width:100%}.monaco-editor.hc-black .suggest-details,.monaco-editor.hc-black .suggest-widget,.monaco-editor.hc-light .suggest-details,.monaco-editor.hc-light .suggest-widget{border-width:2px}.monaco-editor .suggest-widget .suggest-status-bar{border-top:1px solid var(--vscode-editorSuggestWidget-border);box-sizing:border-box;flex-flow:row;justify-content:space-between;width:100%;padding:0 4px;font-size:80%;display:none;overflow:hidden}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar{display:flex}.monaco-editor .suggest-widget .suggest-status-bar .left{padding-right:8px}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-label{color:var(--vscode-editorSuggestWidgetStatus-foreground)}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label{margin-right:0}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label:after{content:\", \";margin-right:.3em}.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore,.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget.with-status-bar:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label{width:100%}.monaco-editor .suggest-widget>.message{padding-left:22px}.monaco-editor .suggest-widget>.tree{width:100%;height:100%}.monaco-editor .suggest-widget .monaco-list{-webkit-user-select:none;user-select:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row{-mox-box-sizing:border-box;box-sizing:border-box;cursor:pointer;touch-action:none;white-space:nowrap;background-position:2px 2px;background-repeat:no-repeat;padding-right:10px;display:flex}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused{color:var(--vscode-editorSuggestWidget-selectedForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused .codicon{color:var(--vscode-editorSuggestWidget-selectedIconForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents{flex:1;height:100%;padding-left:2px;overflow:hidden}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main{text-overflow:ellipsis;white-space:pre;justify-content:space-between;display:flex;overflow:hidden}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right{display:flex}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.focused)>.contents>.main .monaco-icon-label{color:var(--vscode-editorSuggestWidget-foreground)}.monaco-editor .suggest-widget:not(.frozen) .monaco-highlighted-label .highlight{font-weight:700}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main .monaco-highlighted-label .highlight{color:var(--vscode-editorSuggestWidget-highlightForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused>.contents>.main .monaco-highlighted-label .highlight{color:var(--vscode-editorSuggestWidget-focusHighlightForeground)}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:before{color:inherit;cursor:pointer;opacity:1;font-size:14px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close{position:absolute;top:6px;right:2px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close:hover,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:hover{opacity:1}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{opacity:.7}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.signature-label{opacity:.6;text-overflow:ellipsis;overflow:hidden}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.qualifier-label{opacity:.4;text-overflow:ellipsis;align-self:center;margin-left:12px;font-size:85%;line-height:normal;overflow:hidden}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{text-overflow:ellipsis;white-space:nowrap;margin-left:1.1em;font-size:85%;overflow:hidden}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label>.monaco-tokenized-source{display:inline}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.right>.details-label,.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused:not(.string-label)>.contents>.main>.right>.details-label,.monaco-editor .suggest-widget:not(.shows-details) .monaco-list .monaco-list-row.focused>.contents>.main>.right>.details-label{display:inline}.monaco-editor .suggest-widget:not(.docs-side) .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right.can-expand-details>.details-label{width:calc(100% - 26px)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left{flex-grow:1;flex-shrink:1;overflow:hidden}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.monaco-icon-label{flex-shrink:0}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.left>.monaco-icon-label{max-width:100%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.left>.monaco-icon-label{flex-shrink:1}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right{flex-shrink:4;max-width:70%;overflow:hidden}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{visibility:hidden;width:18px;height:18px;display:inline-block;position:absolute;right:10px}.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:none!important}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore{display:inline-block}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right>.readMore{visibility:visible}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated{opacity:.66;-webkit-text-decoration:unset;text-decoration:unset}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated>.monaco-icon-label-container>.monaco-icon-name-container{text-decoration:line-through}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label:before{height:100%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon{background-position:50%;background-repeat:no-repeat;background-size:80%;width:16px;height:16px;margin-left:2px;display:block}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.hide{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon{align-items:center;margin-right:4px;display:flex}.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .icon,.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .suggest-icon:before{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.customcolor .colorspan{border:.1em solid #000;width:.7em;height:.7em;margin:0 0 0 .3em;display:inline-block}.monaco-editor .suggest-details-container{z-index:41}.monaco-editor .suggest-details{color:var(--vscode-editorSuggestWidget-foreground);cursor:default;flex-direction:column;display:flex}.monaco-editor .suggest-details.focused{border-color:var(--vscode-focusBorder)}.monaco-editor .suggest-details a{color:var(--vscode-textLink-foreground)}.monaco-editor .suggest-details a:hover{color:var(--vscode-textLink-activeForeground)}.monaco-editor .suggest-details code{background-color:var(--vscode-textCodeBlock-background)}.monaco-editor .suggest-details.no-docs{display:none}.monaco-editor .suggest-details>.monaco-scrollable-element{flex:1}.monaco-editor .suggest-details>.monaco-scrollable-element>.body{box-sizing:border-box;width:100%;height:100%}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type{opacity:.7;text-overflow:ellipsis;white-space:pre;flex:2;margin:0 24px 0 0;padding:4px 0 12px 5px;overflow:hidden}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type.auto-wrap{white-space:normal;word-break:break-all}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs{white-space:pre-wrap;margin:0;padding:4px 5px}.monaco-editor .suggest-details.no-type>.monaco-scrollable-element>.body>.docs{margin-right:24px;overflow:hidden}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs{white-space:normal;min-height:calc(1rem + 8px);padding:0}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div,.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>span:not(:empty){padding:4px 5px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:first-child{margin-top:0}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:last-child{margin-bottom:0}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .monaco-tokenized-source{white-space:pre}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs .code{white-space:pre-wrap;word-wrap:break-word}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .codicon{vertical-align:sub}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>p:empty{display:none}.monaco-editor .suggest-details code{border-radius:3px;padding:0 .4em}.monaco-editor .suggest-details ol,.monaco-editor .suggest-details ul{padding-left:20px}.monaco-editor .suggest-details p code{font-family:var(--monaco-monospace-font)}.monaco-editor .codicon.codicon-symbol-array,.monaco-workbench .codicon.codicon-symbol-array{color:var(--vscode-symbolIcon-arrayForeground)}.monaco-editor .codicon.codicon-symbol-boolean,.monaco-workbench .codicon.codicon-symbol-boolean{color:var(--vscode-symbolIcon-booleanForeground)}.monaco-editor .codicon.codicon-symbol-class,.monaco-workbench .codicon.codicon-symbol-class{color:var(--vscode-symbolIcon-classForeground)}.monaco-editor .codicon.codicon-symbol-method,.monaco-workbench .codicon.codicon-symbol-method{color:var(--vscode-symbolIcon-methodForeground)}.monaco-editor .codicon.codicon-symbol-color,.monaco-workbench .codicon.codicon-symbol-color{color:var(--vscode-symbolIcon-colorForeground)}.monaco-editor .codicon.codicon-symbol-constant,.monaco-workbench .codicon.codicon-symbol-constant{color:var(--vscode-symbolIcon-constantForeground)}.monaco-editor .codicon.codicon-symbol-constructor,.monaco-workbench .codicon.codicon-symbol-constructor{color:var(--vscode-symbolIcon-constructorForeground)}.monaco-editor .codicon.codicon-symbol-enum,.monaco-editor .codicon.codicon-symbol-value,.monaco-workbench .codicon.codicon-symbol-enum,.monaco-workbench .codicon.codicon-symbol-value{color:var(--vscode-symbolIcon-enumeratorForeground)}.monaco-editor .codicon.codicon-symbol-enum-member,.monaco-workbench .codicon.codicon-symbol-enum-member{color:var(--vscode-symbolIcon-enumeratorMemberForeground)}.monaco-editor .codicon.codicon-symbol-event,.monaco-workbench .codicon.codicon-symbol-event{color:var(--vscode-symbolIcon-eventForeground)}.monaco-editor .codicon.codicon-symbol-field,.monaco-workbench .codicon.codicon-symbol-field{color:var(--vscode-symbolIcon-fieldForeground)}.monaco-editor .codicon.codicon-symbol-file,.monaco-workbench .codicon.codicon-symbol-file{color:var(--vscode-symbolIcon-fileForeground)}.monaco-editor .codicon.codicon-symbol-folder,.monaco-workbench .codicon.codicon-symbol-folder{color:var(--vscode-symbolIcon-folderForeground)}.monaco-editor .codicon.codicon-symbol-function,.monaco-workbench .codicon.codicon-symbol-function{color:var(--vscode-symbolIcon-functionForeground)}.monaco-editor .codicon.codicon-symbol-interface,.monaco-workbench .codicon.codicon-symbol-interface{color:var(--vscode-symbolIcon-interfaceForeground)}.monaco-editor .codicon.codicon-symbol-key,.monaco-workbench .codicon.codicon-symbol-key{color:var(--vscode-symbolIcon-keyForeground)}.monaco-editor .codicon.codicon-symbol-keyword,.monaco-workbench .codicon.codicon-symbol-keyword{color:var(--vscode-symbolIcon-keywordForeground)}.monaco-editor .codicon.codicon-symbol-module,.monaco-workbench .codicon.codicon-symbol-module{color:var(--vscode-symbolIcon-moduleForeground)}.monaco-editor .codicon.codicon-symbol-namespace,.monaco-workbench .codicon.codicon-symbol-namespace{color:var(--vscode-symbolIcon-namespaceForeground)}.monaco-editor .codicon.codicon-symbol-null,.monaco-workbench .codicon.codicon-symbol-null{color:var(--vscode-symbolIcon-nullForeground)}.monaco-editor .codicon.codicon-symbol-number,.monaco-workbench .codicon.codicon-symbol-number{color:var(--vscode-symbolIcon-numberForeground)}.monaco-editor .codicon.codicon-symbol-object,.monaco-workbench .codicon.codicon-symbol-object{color:var(--vscode-symbolIcon-objectForeground)}.monaco-editor .codicon.codicon-symbol-operator,.monaco-workbench .codicon.codicon-symbol-operator{color:var(--vscode-symbolIcon-operatorForeground)}.monaco-editor .codicon.codicon-symbol-package,.monaco-workbench .codicon.codicon-symbol-package{color:var(--vscode-symbolIcon-packageForeground)}.monaco-editor .codicon.codicon-symbol-property,.monaco-workbench .codicon.codicon-symbol-property{color:var(--vscode-symbolIcon-propertyForeground)}.monaco-editor .codicon.codicon-symbol-reference,.monaco-workbench .codicon.codicon-symbol-reference{color:var(--vscode-symbolIcon-referenceForeground)}.monaco-editor .codicon.codicon-symbol-snippet,.monaco-workbench .codicon.codicon-symbol-snippet{color:var(--vscode-symbolIcon-snippetForeground)}.monaco-editor .codicon.codicon-symbol-string,.monaco-workbench .codicon.codicon-symbol-string{color:var(--vscode-symbolIcon-stringForeground)}.monaco-editor .codicon.codicon-symbol-struct,.monaco-workbench .codicon.codicon-symbol-struct{color:var(--vscode-symbolIcon-structForeground)}.monaco-editor .codicon.codicon-symbol-text,.monaco-workbench .codicon.codicon-symbol-text{color:var(--vscode-symbolIcon-textForeground)}.monaco-editor .codicon.codicon-symbol-type-parameter,.monaco-workbench .codicon.codicon-symbol-type-parameter{color:var(--vscode-symbolIcon-typeParameterForeground)}.monaco-editor .codicon.codicon-symbol-unit,.monaco-workbench .codicon.codicon-symbol-unit{color:var(--vscode-symbolIcon-unitForeground)}.monaco-editor .codicon.codicon-symbol-variable,.monaco-workbench .codicon.codicon-symbol-variable{color:var(--vscode-symbolIcon-variableForeground)}.editor-banner{background:var(--vscode-banner-background);box-sizing:border-box;cursor:default;width:100%;height:26px;font-size:12px;display:flex;overflow:visible}.editor-banner .icon-container{flex-shrink:0;align-items:center;padding:0 6px 0 10px;display:flex}.editor-banner .icon-container.custom-icon{background-position:50%;background-repeat:no-repeat;background-size:16px;width:16px;margin:0 6px 0 10px;padding:0}.editor-banner .message-container{text-overflow:ellipsis;white-space:nowrap;align-items:center;line-height:26px;display:flex;overflow:hidden}.editor-banner .message-container p{margin-block:0}.editor-banner .message-actions-container{flex-grow:1;flex-shrink:0;margin:0 4px;line-height:26px}.editor-banner .message-actions-container a.monaco-button{width:inherit;margin:2px 8px;padding:0 12px}.editor-banner .message-actions-container a{margin-left:12px;padding:3px;text-decoration:underline}.editor-banner .action-container{padding:0 10px 0 6px}.editor-banner{background-color:var(--vscode-banner-background)}.editor-banner,.editor-banner .action-container .codicon,.editor-banner .message-actions-container .monaco-link{color:var(--vscode-banner-foreground)}.editor-banner .icon-container .codicon{color:var(--vscode-banner-iconForeground)}.monaco-editor .unicode-highlight{background-color:var(--vscode-editorUnicodeHighlight-background);border:1px solid var(--vscode-editorUnicodeHighlight-border);box-sizing:border-box}.monaco-editor .focused .selectionHighlight{background-color:var(--vscode-editor-selectionHighlightBackground);border:1px solid var(--vscode-editor-selectionHighlightBorder);box-sizing:border-box}.monaco-editor.hc-black .focused .selectionHighlight,.monaco-editor.hc-light .focused .selectionHighlight{border-style:dotted}.monaco-editor .wordHighlight{background-color:var(--vscode-editor-wordHighlightBackground);border:1px solid var(--vscode-editor-wordHighlightBorder);box-sizing:border-box}.monaco-editor.hc-black .wordHighlight,.monaco-editor.hc-light .wordHighlight{border-style:dotted}.monaco-editor .wordHighlightStrong{background-color:var(--vscode-editor-wordHighlightStrongBackground);border:1px solid var(--vscode-editor-wordHighlightStrongBorder);box-sizing:border-box}.monaco-editor.hc-black .wordHighlightStrong,.monaco-editor.hc-light .wordHighlightStrong{border-style:dotted}.monaco-editor .wordHighlightText{background-color:var(--vscode-editor-wordHighlightTextBackground);border:1px solid var(--vscode-editor-wordHighlightTextBorder);box-sizing:border-box}.monaco-editor.hc-black .wordHighlightText,.monaco-editor.hc-light .wordHighlightText{border-style:dotted}.monaco-editor .zone-widget{z-index:10;position:absolute}.monaco-editor .zone-widget .zone-widget-container{border-top-style:solid;border-top-width:0;border-bottom-style:solid;border-bottom-width:0;position:relative}.monaco-editor .iPadShowKeyboard{resize:none;background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MyIgaGVpZ2h0PSIzNiIgZmlsbD0ibm9uZSI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBmaWxsPSIjNDI0MjQyIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00OC4wMzYgNC4wMUg0LjAwOFYzMi4wM2g0NC4wMjh6TTQuMDA4LjAwOEE0LjAwMyA0LjAwMyAwIDAgMCAuMDA1IDQuMDFWMzIuMDNhNC4wMDMgNC4wMDMgMCAwIDAgNC4wMDMgNC4wMDJoNDQuMDI4YTQuMDAzIDQuMDAzIDAgMCAwIDQuMDAzLTQuMDAyVjQuMDFBNC4wMDMgNC4wMDMgMCAwIDAgNDguMDM2LjAwOHpNOC4wMSA4LjAxM2g0LjAwM3Y0LjAwM0g4LjAxem0xMi4wMDggMGgtNC4wMDJ2NC4wMDNoNC4wMDJ6bTQuMDAzIDBoNC4wMDJ2NC4wMDNoLTQuMDAyem0xMi4wMDggMGgtNC4wMDN2NC4wMDNoNC4wMDN6bTQuMDAyIDBoNC4wMDN2NC4wMDNINDAuMDN6bS0yNC4wMTUgOC4wMDVIOC4wMXY0LjAwM2g4LjAwNnptNC4wMDIgMGg0LjAwM3Y0LjAwM2gtNC4wMDN6bTEyLjAwOCAwaC00LjAwM3Y0LjAwM2g0LjAwM3ptMTIuMDA4IDB2NC4wMDNoLTguMDA1di00LjAwM3ptLTMyLjAyMSA4LjAwNUg4LjAxdjQuMDAzaDQuMDAzem00LjAwMyAwaDIwLjAxM3Y0LjAwM0gxNi4wMTZ6bTI4LjAxOCAwSDQwLjAzdjQuMDAzaDQuMDAzeiIgY2xpcC1ydWxlPSJldmVub2RkIi8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgMGg1M3YzNkgweiIvPjwvY2xpcFBhdGg+PC9kZWZzPjwvc3ZnPg==) 50% no-repeat;border:4px solid #f6f6f6;border-radius:4px;width:58px;min-width:0;height:36px;min-height:0;margin:0;padding:0;position:absolute;overflow:hidden}.monaco-editor.vs-dark .iPadShowKeyboard{background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MyIgaGVpZ2h0PSIzNiIgZmlsbD0ibm9uZSI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBmaWxsPSIjQzVDNUM1IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00OC4wMzYgNC4wMUg0LjAwOFYzMi4wM2g0NC4wMjh6TTQuMDA4LjAwOEE0LjAwMyA0LjAwMyAwIDAgMCAuMDA1IDQuMDFWMzIuMDNhNC4wMDMgNC4wMDMgMCAwIDAgNC4wMDMgNC4wMDJoNDQuMDI4YTQuMDAzIDQuMDAzIDAgMCAwIDQuMDAzLTQuMDAyVjQuMDFBNC4wMDMgNC4wMDMgMCAwIDAgNDguMDM2LjAwOHpNOC4wMSA4LjAxM2g0LjAwM3Y0LjAwM0g4LjAxem0xMi4wMDggMGgtNC4wMDJ2NC4wMDNoNC4wMDJ6bTQuMDAzIDBoNC4wMDJ2NC4wMDNoLTQuMDAyem0xMi4wMDggMGgtNC4wMDN2NC4wMDNoNC4wMDN6bTQuMDAyIDBoNC4wMDN2NC4wMDNINDAuMDN6bS0yNC4wMTUgOC4wMDVIOC4wMXY0LjAwM2g4LjAwNnptNC4wMDIgMGg0LjAwM3Y0LjAwM2gtNC4wMDN6bTEyLjAwOCAwaC00LjAwM3Y0LjAwM2g0LjAwM3ptMTIuMDA4IDB2NC4wMDNoLTguMDA1di00LjAwM3ptLTMyLjAyMSA4LjAwNUg4LjAxdjQuMDAzaDQuMDAzem00LjAwMyAwaDIwLjAxM3Y0LjAwM0gxNi4wMTZ6bTI4LjAxOCAwSDQwLjAzdjQuMDAzaDQuMDAzeiIgY2xpcC1ydWxlPSJldmVub2RkIi8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgMGg1M3YzNkgweiIvPjwvY2xpcFBhdGg+PC9kZWZzPjwvc3ZnPg==) 50% no-repeat;border:4px solid #252526}.monaco-editor .tokens-inspect-widget{background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border);color:var(--vscode-editorHoverWidget-foreground);-webkit-user-select:text;user-select:text;z-index:50;padding:10px}.monaco-editor.hc-black .tokens-inspect-widget,.monaco-editor.hc-light .tokens-inspect-widget{border-width:2px}.monaco-editor .tokens-inspect-widget .tokens-inspect-separator{background-color:var(--vscode-editorHoverWidget-border);border:0;height:1px}.monaco-editor .tokens-inspect-widget .tm-token{font-family:var(--monaco-monospace-font)}.monaco-editor .tokens-inspect-widget .tm-token-length{float:right;font-size:60%;font-weight:400}.monaco-editor .tokens-inspect-widget .tm-metadata-table{width:100%}.monaco-editor .tokens-inspect-widget .tm-metadata-value{font-family:var(--monaco-monospace-font);text-align:right}.monaco-editor .tokens-inspect-widget .tm-token-type{font-family:var(--monaco-monospace-font)}.quick-input-widget{font-size:13px}.quick-input-widget .monaco-highlighted-label .highlight{color:#0066bf}.vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight{color:#9dddff}.vs-dark .quick-input-widget .monaco-highlighted-label .highlight{color:#0097fb}.hc-black .quick-input-widget .monaco-highlighted-label .highlight{color:#f38518}.hc-light .quick-input-widget .monaco-highlighted-label .highlight{color:#0f4a85}.monaco-keybinding>.monaco-keybinding-key{color:#555;background-color:#dedede66;border:1px solid #ccc6;border-bottom-color:#bababa66;box-shadow:inset 0 -1px #bababa66}.hc-black .monaco-keybinding>.monaco-keybinding-key{box-shadow:none;color:#fff;background-color:#0000;border:1px solid #6fc3df}.hc-light .monaco-keybinding>.monaco-keybinding-key{box-shadow:none;color:#292929;background-color:#0000;border:1px solid #0f4a85}.vs-dark .monaco-keybinding>.monaco-keybinding-key{color:#ccc;background-color:#8080802b;border:1px solid #3339;border-bottom-color:#4449;box-shadow:inset 0 -1px #4449}.monaco-editor{--monaco-monospace-font:\"SF Mono\",Monaco,Menlo,Consolas,\"Ubuntu Mono\",\"Liberation Mono\",\"DejaVu Sans Mono\",\"Courier New\",monospace;font-family:-apple-system,BlinkMacSystemFont,Segoe WPC,Segoe UI,HelveticaNeue-Light,system-ui,Ubuntu,Droid Sans,sans-serif}.monaco-editor.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.hc-light .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-hover p{margin:0}.monaco-aria-container{clip:rect(1px,1px,1px,1px);clip-path:inset(50%);width:1px;height:1px;margin:-1px;padding:0;top:0;overflow:hidden;position:absolute!important}.monaco-diff-editor .synthetic-focus,.monaco-diff-editor [tabindex=\"-1\"]:focus,.monaco-diff-editor [tabindex=\"0\"]:focus,.monaco-diff-editor button:focus,.monaco-diff-editor input[type=button]:focus,.monaco-diff-editor input[type=checkbox]:focus,.monaco-diff-editor input[type=search]:focus,.monaco-diff-editor input[type=text]:focus,.monaco-diff-editor select:focus,.monaco-diff-editor textarea:focus,.monaco-editor{opacity:1;outline-color:var(--vscode-focusBorder);outline-offset:-1px;outline-width:1px;outline-style:solid}.action-widget{background-color:var(--vscode-editorActionList-background);box-shadow:0 2px 8px var(--vscode-widget-shadow);color:var(--vscode-editorActionList-foreground);z-index:40;border-radius:5px;width:100%;min-width:160px;max-width:80vw;padding:4px;font-size:13px;display:block;border:1px solid var(--vscode-editorWidget-border)!important}.context-view-block{z-index:-1}.context-view-block,.context-view-pointerBlock{cursor:auto;width:100%;height:100%;position:fixed;top:0;left:0}.context-view-pointerBlock{z-index:2}.action-widget .monaco-list{-webkit-user-select:none;user-select:none;border:0!important}.action-widget .monaco-list:focus:before{outline:0!important}.action-widget .monaco-list .monaco-scrollable-element{overflow:visible}.action-widget .monaco-list .monaco-list-row{cursor:pointer;touch-action:none;white-space:nowrap;border-radius:4px;width:100%;padding:0 10px}.action-widget .monaco-list .monaco-list-row.action.focused:not(.option-disabled){color:var(--vscode-editorActionList-focusForeground);outline:1px solid var(--vscode-menu-selectionBorder,transparent);outline-offset:-1px;background-color:var(--vscode-editorActionList-focusBackground)!important}.action-widget .monaco-list-row.group-header{font-size:12px;font-weight:600;color:var(--vscode-descriptionForeground)!important}.action-widget .monaco-list-row.group-header:not(:first-of-type){margin-top:2px}.action-widget .monaco-list .group-header,.action-widget .monaco-list .option-disabled,.action-widget .monaco-list .option-disabled .focused,.action-widget .monaco-list .option-disabled .focused:before,.action-widget .monaco-list .option-disabled:before{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;cursor:default!important;background-color:#0000!important;outline:0 solid!important}.action-widget .monaco-list-row.action{align-items:center;gap:8px;display:flex}.action-widget .monaco-list-row.action.option-disabled,.action-widget .monaco-list-row.action.option-disabled .codicon,.action-widget .monaco-list:focus .monaco-list-row.focused.action.option-disabled,.action-widget .monaco-list:not(.drop-target):not(.dragging) .monaco-list-row:hover:not(.selected):not(.focused).option-disabled{color:var(--vscode-disabledForeground)}.action-widget .monaco-list-row.action:not(.option-disabled) .codicon{color:inherit}.action-widget .monaco-list-row.action .title{text-overflow:ellipsis;flex:1;overflow:hidden}.action-widget .monaco-list-row.action .monaco-keybinding>.monaco-keybinding-key{background-color:var(--vscode-keybindingLabel-background);border-color:var(--vscode-keybindingLabel-border);border-bottom-color:var(--vscode-keybindingLabel-bottomBorder);box-shadow:inset 0 -1px 0 var(--vscode-widget-shadow);color:var(--vscode-keybindingLabel-foreground);border-style:solid;border-width:1px;border-radius:3px}.action-widget .action-widget-action-bar{background-color:var(--vscode-editorActionList-background);border-top:1px solid var(--vscode-editorHoverWidget-border);margin-top:2px}.action-widget .action-widget-action-bar:before{content:\"\";width:100%;display:block}.action-widget .action-widget-action-bar .actions-container{padding:3px 8px 0}.action-widget-action-bar .action-label{color:var(--vscode-textLink-activeForeground);pointer-events:all;padding:0;font-size:12px;line-height:22px}.action-widget-action-bar .action-item{pointer-events:none;margin-right:16px}.action-widget-action-bar .action-label:hover{background-color:#0000!important}.monaco-action-bar .actions-container.highlight-toggled .action-label.checked{background:var(--vscode-actionBar-toggledBackground)!important}.monaco-action-bar .action-item.menu-entry .action-label.icon{background-position:50%;background-repeat:no-repeat;background-size:16px;width:16px;height:16px}.monaco-action-bar .action-item.menu-entry.text-only .action-label{color:var(--vscode-descriptionForeground);border-radius:2px;overflow:hidden}.monaco-action-bar .action-item.menu-entry.text-only.use-comma:not(:last-of-type) .action-label:after{content:\", \"}.monaco-action-bar .action-item.menu-entry.text-only+.action-item:not(.text-only)>.monaco-dropdown .action-label{color:var(--vscode-descriptionForeground)}.monaco-dropdown-with-default{border-radius:5px;flex-direction:row;display:flex!important}.monaco-dropdown-with-default>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-default>.action-container.menu-entry>.action-label.icon{background-position:50%;background-repeat:no-repeat;background-size:16px;width:16px;height:16px}.monaco-dropdown-with-default:hover{background-color:var(--vscode-toolbar-hoverBackground)}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{margin-left:-3px;padding-left:0;padding-right:0;font-size:12px;line-height:16px}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{background-position:50%;background-repeat:no-repeat;background-size:16px;display:block}.monaco-link{color:var(--vscode-textLink-foreground)}.monaco-link:hover{color:var(--vscode-textLink-activeForeground)}.quick-input-widget{z-index:2550;-webkit-app-region:no-drag;border-radius:6px;width:600px;margin-left:-300px;position:absolute;left:50%}.quick-input-titlebar{border-top-left-radius:5px;border-top-right-radius:5px;align-items:center;display:flex}.quick-input-left-action-bar{flex:1;margin-left:4px;display:flex}.quick-input-inline-action-bar{margin:2px 0 0 5px}.quick-input-title{text-align:center;text-overflow:ellipsis;padding:3px 0;overflow:hidden}.quick-input-right-action-bar{flex:1;margin-right:4px;display:flex}.quick-input-right-action-bar>.actions-container{justify-content:flex-end}.quick-input-titlebar .monaco-action-bar .action-label.codicon{background-position:50%;background-repeat:no-repeat;padding:2px}.quick-input-description{margin:6px 6px 6px 11px}.quick-input-header .quick-input-description{flex:1;margin:4px 2px}.quick-input-header{padding:8px 6px 2px;display:flex}.quick-input-widget.hidden-input .quick-input-header{margin-bottom:0;padding:0}.quick-input-and-message{flex-direction:column;flex-grow:1;min-width:0;display:flex;position:relative}.quick-input-check-all{align-self:center;margin:0}.quick-input-filter{flex-grow:1;display:flex;position:relative}.quick-input-box{flex-grow:1}.quick-input-widget.show-checkboxes .quick-input-box,.quick-input-widget.show-checkboxes .quick-input-message{margin-left:5px}.quick-input-visible-count{position:absolute;left:-10000px}.quick-input-count{align-self:center;align-items:center;display:flex;position:absolute;right:4px}.quick-input-count .monaco-count-badge{vertical-align:middle;border-radius:2px;min-height:auto;padding:2px 4px;line-height:normal}.quick-input-action{margin-left:6px}.quick-input-action .monaco-text-button{align-items:center;height:25px;padding:0 6px;font-size:11px;display:flex}.quick-input-message{overflow-wrap:break-word;margin-top:-1px;padding:5px}.quick-input-message>.codicon{vertical-align:text-bottom;margin:0 .2em}.quick-input-message a{color:inherit}.quick-input-progress.monaco-progress-container{position:relative}.quick-input-list{line-height:22px}.quick-input-widget.hidden-input .quick-input-list{margin-top:4px;padding-bottom:4px}.quick-input-list .monaco-list{max-height:440px;padding-bottom:5px;overflow:hidden}.quick-input-list .monaco-scrollable-element{padding:0 5px}.quick-input-list .quick-input-list-entry{box-sizing:border-box;padding:0 6px;display:flex;overflow:hidden}.quick-input-list .quick-input-list-entry.quick-input-list-separator-border{border-top-style:solid;border-top-width:1px}.quick-input-list .monaco-list-row{border-radius:3px}.quick-input-list .monaco-list-row[data-index=\"0\"] .quick-input-list-entry.quick-input-list-separator-border{border-top-style:none}.quick-input-list .quick-input-list-label{flex:1;height:100%;display:flex;overflow:hidden}.quick-input-list .quick-input-list-checkbox{align-self:center;margin:0}.quick-input-list .quick-input-list-icon{background-position:0;background-repeat:no-repeat;background-size:16px;justify-content:center;align-items:center;width:16px;height:22px;padding-right:6px;display:flex}.quick-input-list .quick-input-list-rows{text-overflow:ellipsis;flex-direction:column;flex:1;height:100%;margin-left:5px;display:flex;overflow:hidden}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows{margin-left:10px}.quick-input-widget .quick-input-list .quick-input-list-checkbox{display:none}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox{display:inline}.quick-input-list .quick-input-list-rows>.quick-input-list-row{align-items:center;display:flex}.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label,.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label .monaco-icon-label-container>.monaco-icon-name-container{flex:1}.quick-input-list .quick-input-list-rows>.quick-input-list-row .codicon[class*=codicon-]{vertical-align:text-bottom}.quick-input-list .quick-input-list-rows .monaco-highlighted-label>span{opacity:1}.quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding{margin-right:8px}.quick-input-list .quick-input-list-label-meta{opacity:.7;text-overflow:ellipsis;line-height:normal;overflow:hidden}.quick-input-list .monaco-list .monaco-list-row .monaco-highlighted-label .highlight{background-color:unset;font-weight:700;color:var(--vscode-list-highlightForeground)!important}.quick-input-list .monaco-list .monaco-list-row.focused .monaco-highlighted-label .highlight{color:var(--vscode-list-focusHighlightForeground)!important}.quick-input-list .quick-input-list-entry .quick-input-list-separator{margin-right:4px}.quick-input-list .quick-input-list-entry-action-bar{flex:0;display:flex;overflow:visible}.quick-input-list .quick-input-list-entry-action-bar .action-label{display:none}.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon{margin-right:4px;padding:2px}.quick-input-list .quick-input-list-entry-action-bar{margin-top:1px;margin-right:4px}.quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label,.quick-input-list .monaco-list-row.passive-focused .quick-input-list-entry-action-bar .action-label,.quick-input-list .quick-input-list-entry .quick-input-list-entry-action-bar .action-label.always-visible,.quick-input-list .quick-input-list-entry.focus-inside .quick-input-list-entry-action-bar .action-label,.quick-input-list .quick-input-list-entry:hover .quick-input-list-entry-action-bar .action-label{display:flex}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key,.quick-input-list .monaco-list-row.focused .quick-input-list-entry .quick-input-list-separator{color:inherit}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key{background:0 0}.quick-input-list .quick-input-list-separator-as-item{padding:4px 6px;font-size:12px}.quick-input-list .quick-input-list-separator-as-item .label-name{font-weight:600}.quick-input-list .quick-input-list-separator-as-item .label-description{opacity:1!important}.quick-input-list .monaco-tree-sticky-row .quick-input-list-entry.quick-input-list-separator-as-item.quick-input-list-separator-border{border-top-style:none}.quick-input-list .monaco-tree-sticky-row{padding:0 5px}.quick-input-list .monaco-tl-twistie{display:none!important}.extension-editor .codicon.codicon-error,.extensions-viewlet>.extensions .codicon.codicon-error,.markers-panel .marker-icon .codicon.codicon-error,.markers-panel .marker-icon.error,.monaco-editor .zone-widget .codicon.codicon-error,.preferences-editor .codicon.codicon-error,.text-search-provider-messages .providerMessage .codicon.codicon-error{color:var(--vscode-problemsErrorIcon-foreground)}.extension-editor .codicon.codicon-warning,.extensions-viewlet>.extensions .codicon.codicon-warning,.markers-panel .marker-icon .codicon.codicon-warning,.markers-panel .marker-icon.warning,.monaco-editor .zone-widget .codicon.codicon-warning,.preferences-editor .codicon.codicon-warning,.text-search-provider-messages .providerMessage .codicon.codicon-warning{color:var(--vscode-problemsWarningIcon-foreground)}.extension-editor .codicon.codicon-info,.extensions-viewlet>.extensions .codicon.codicon-info,.markers-panel .marker-icon .codicon.codicon-info,.markers-panel .marker-icon.info,.monaco-editor .zone-widget .codicon.codicon-info,.preferences-editor .codicon.codicon-info,.text-search-provider-messages .providerMessage .codicon.codicon-info{color:var(--vscode-problemsInfoIcon-foreground)}", Xr = [];
for (let e = 0; e < 256; ++e) Xr.push((e + 256).toString(16).slice(1));
function Zr(e, t = 0) {
	return (Xr[e[t + 0]] + Xr[e[t + 1]] + Xr[e[t + 2]] + Xr[e[t + 3]] + "-" + Xr[e[t + 4]] + Xr[e[t + 5]] + "-" + Xr[e[t + 6]] + Xr[e[t + 7]] + "-" + Xr[e[t + 8]] + Xr[e[t + 9]] + "-" + Xr[e[t + 10]] + Xr[e[t + 11]] + Xr[e[t + 12]] + Xr[e[t + 13]] + Xr[e[t + 14]] + Xr[e[t + 15]]).toLowerCase();
}
// ../../../node_modules/.pnpm/uuid@14.0.0/node_modules/uuid/dist/rng.js
var Qr = /* @__PURE__ */ new Uint8Array(16);
function $r() {
	return crypto.getRandomValues(Qr);
}
// ../../../node_modules/.pnpm/uuid@14.0.0/node_modules/uuid/dist/v4.js
function ei(e, t, n) {
	return !t && !e && crypto.randomUUID ? crypto.randomUUID() : ti(e, t, n);
}
function ti(e, t, n) {
	e ||= {};
	let r = e.random ?? e.rng?.() ?? $r();
	if (r.length < 16) throw Error("Random bytes length must be >= 16");
	if (r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, t) {
		if (n ||= 0, n < 0 || n + 16 > t.length) throw RangeError(`UUID byte range ${n}:${n + 15} is out of buffer bounds`);
		for (let e = 0; e < 16; ++e) t[n + e] = r[e];
		return t;
	}
	return Zr(r);
}
// src/lib/collections.ts
var ni = (e, t) => {
	Promise.resolve(e).then((e) => {
		e?.id && t(e.id);
	});
}, ri = (e) => {
	let [t, n] = U(e.defaultCollections ?? []), r = H(t), i = z((t) => {
		r.current = t, n(t), e.onCollectionsChange?.(t);
	}, [e]), a = z((e, t) => {
		i(r.current.map((n) => n.id === e ? {
			...n,
			id: t
		} : n));
	}, [i]), o = z((t, n, a) => {
		i(r.current.map((e) => e.id === t ? {
			...e,
			operations: e.operations.map((e) => e.id === n ? {
				...e,
				id: a
			} : e)
		} : e)), e.onOperationIdChange?.(n, a);
	}, [i, e]);
	return {
		collections: t,
		addCollection: z((n) => {
			let r = {
				...n,
				id: ei(),
				createdAt: (/* @__PURE__ */ new Date()).toISOString(),
				operations: n.operations?.map((e) => ({
					...e,
					createdAt: (/* @__PURE__ */ new Date()).toISOString()
				})) ?? []
			};
			return i([...t, r]), Promise.resolve(e.onCollectionCreate?.(r)).then((t) => {
				let n = t?.id ?? r.id;
				t?.id && a(r.id, t.id);
				let i = {
					...r,
					id: n
				};
				for (let t of r.operations) ni(e.onCollectionOperationCreate?.(i, t), (e) => o(n, t.id, e));
			}), r;
		}, [
			t,
			e,
			i,
			a,
			o
		]),
		addOperationToCollection: z((n, r) => {
			let a = {
				...r,
				createdAt: (/* @__PURE__ */ new Date()).toISOString()
			}, s = t.map((e) => e.id === n ? {
				...e,
				operations: [...e.operations, a]
			} : e);
			i(s);
			let c = s.find((e) => e.id === n);
			c && (e.onCollectionUpdate?.(c), ni(e.onCollectionOperationCreate?.(c, a), (e) => o(n, a.id, e)));
		}, [
			t,
			e,
			i,
			o
		]),
		deleteCollection: z((n) => {
			let r = t.find((e) => e.id === n), a = t.filter((e) => e.id !== n);
			i(a), r && e.onCollectionDelete?.(r);
		}, [
			t,
			e,
			i
		]),
		deleteOperationFromCollection: z((n, r) => {
			let a, o = t.map((e) => e.id === n ? {
				...e,
				operations: e.operations.filter((e) => e.id !== r || (a = e, !1))
			} : e);
			i(o);
			let s = o.find((e) => e.id === n);
			s && (e.onCollectionUpdate?.(s), a && e.onCollectionOperationDelete?.(s, a));
		}, [
			t,
			e,
			i
		]),
		updateCollection: z((n, r) => {
			let a = t.map((e) => e.id === n ? {
				...e,
				...r
			} : e);
			i(a);
			let o = a.find((e) => e.id === n);
			o && e.onCollectionUpdate?.(o);
		}, [
			t,
			e,
			i
		]),
		updateOperationInCollection: z((n, r, a) => {
			let o, s = t.map((e) => e.id === n ? {
				...e,
				operations: e.operations.map((e) => e.id === r ? (o = {
					...e,
					...a
				}, o) : e)
			} : e);
			i(s);
			let c = s.find((e) => e.id === n);
			c && (e.onCollectionUpdate?.(c), o && e.onCollectionOperationUpdate?.(c, o));
		}, [
			t,
			e,
			i
		])
	};
}, ii = Object.freeze({
	major: 17,
	minor: 1,
	patch: 0,
	preReleaseTag: null
});
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/jsutils/isAsyncIterable.mjs
function ai(e) {
	return typeof e?.[Symbol.asyncIterator] == "function";
}
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/error/locatedError.mjs
function oi(e, t, n) {
	let i = ee(e);
	return si(i) ? i : new r(i.message, {
		nodes: i.nodes ?? t,
		source: i.source,
		positions: i.positions,
		path: n,
		originalError: i
	});
}
function si(e) {
	return Array.isArray(e.path);
}
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/utilities/getOperationAST.mjs
function ci(e, t) {
	let n = null;
	for (let r of e.definitions) if (r.kind === "OperationDefinition") {
		if (t == null) {
			if (n) return null;
			n = r;
		} else if (r.name?.value === t) return r;
	}
	return n;
}
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/execution/buildResolveInfo.mjs
function li(e, t, n, r, i, a, o) {
	let { schema: s, fragmentDefinitions: c, rootValue: l, operation: u, variableValues: d } = e;
	return {
		fieldName: t.name,
		fieldNodes: n,
		returnType: t.type,
		parentType: r,
		path: i,
		schema: s,
		fragments: c,
		rootValue: l,
		operation: u,
		variableValues: d,
		getAbortSignal: a,
		getAsyncHelpers: o
	};
}
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/jsutils/promiseWithResolvers.mjs
function ui() {
	let e, t;
	return {
		promise: new Promise((n, r) => {
			e = n, t = r;
		}),
		resolve: e,
		reject: t
	};
}
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/execution/cancellablePromise.mjs
function di(e) {
	let { promise: t, resolve: n, reject: r } = ui(), i = !1, a = (e) => {
		i || (i = !0, n(e));
	}, o = (e) => {
		i || (i = !0, r(e));
	};
	return e.then(a, o), {
		promise: t,
		abort(e) {
			o(e);
		}
	};
}
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/execution/AsyncWorkTracker.mjs
var fi = class {
	constructor() {
		this.pendingAsyncWork = /* @__PURE__ */ new Set();
	}
	add(e) {
		let t = this.pendingAsyncWork, n = e.then(() => {
			t.delete(n);
		}, () => {
			t.delete(n);
		});
		t.add(n);
	}
	addValues(e) {
		for (let t of e) ae(t) && this.add(t);
	}
	wait() {
		if (this.pendingAsyncWork.size !== 0) return this.waitForPendingAsyncWork();
	}
	promiseAllTrackOnReject(e) {
		let t = Promise.all(e);
		return t.then(void 0, () => {
			this.addValues(e);
		}), t;
	}
	async waitForPendingAsyncWork() {
		for (; this.pendingAsyncWork.size > 0;) await Promise.allSettled(Array.from(this.pendingAsyncWork));
	}
};
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/execution/createSharedExecutionContext.mjs
function pi(e) {
	let t = new fi(), n, r = (e) => t.promiseAllTrackOnReject(e);
	return {
		asyncWorkTracker: t,
		getAbortSignal: () => e,
		getAsyncHelpers: () => n ??= {
			promiseAll: r,
			track: (e) => t.addValues(e)
		},
		promiseAll: r
	};
}
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/jsutils/memoize2.mjs
function mi(e) {
	let t;
	return function(n, r) {
		t ??= /* @__PURE__ */ new WeakMap();
		let i = t.get(n);
		i === void 0 && (i = /* @__PURE__ */ new WeakMap(), t.set(n, i));
		let a = i.get(r);
		return a === void 0 && (a = e(n, r), i.set(r, a)), a;
	};
}
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/jsutils/memoize3.mjs
function hi(e) {
	let t;
	return function(n, r, i) {
		t ??= /* @__PURE__ */ new WeakMap();
		let a = t.get(n);
		a === void 0 && (a = /* @__PURE__ */ new WeakMap(), t.set(n, a));
		let o = a.get(r);
		o === void 0 && (o = /* @__PURE__ */ new WeakMap(), a.set(r, o));
		let s = o.get(i);
		return s === void 0 && (s = e(n, r, i), o.set(i, s)), s;
	};
}
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/jsutils/promiseForObject.mjs
function gi(e, t) {
	let n = Object.keys(e);
	return t(Object.values(e)).then((e) => {
		let t = Object.create(null);
		for (let r = 0; r < n.length; ++r) t[n[r]] = e[r];
		return t;
	});
}
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/jsutils/promiseReduce.mjs
function _i(e, t, n) {
	let r = n;
	for (let n of e) r = N(r) ? r.then((e) => t(e, n)) : t(r, n);
	return r;
}
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/execution/AbortedGraphQLExecutionError.mjs
var vi = class extends Error {
	constructor(e, t) {
		super(yi(e), { cause: e }), this.name = "AbortedGraphQLExecutionError", this.abortedResult = t;
	}
	get [Symbol.toStringTag]() {
		return "AbortedGraphQLExecutionError";
	}
};
function yi(e) {
	return e instanceof Error || typeof e == "object" && e && "message" in e && typeof e.message == "string" ? e.message : String(e);
}
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/execution/collectIteratorPromises.mjs
function bi(e) {
	let t = [];
	try {
		for (;;) {
			let n = e.next();
			if (n.done) return t;
			ae(n.value) && t.push(n.value);
		}
	} catch {
		return t;
	}
}
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/execution/getStreamUsage.mjs
function xi(e, t) {
	let { operation: n, variableValues: r } = e, i = Ve(ye, t[0].node, r, t[0].fragmentVariableValues);
	if (!i || i.if === !1) return;
	typeof i.initialCount != "number" && ne(!1, "initialCount must be a number"), i.initialCount >= 0 || ne(!1, "initialCount must be a positive integer"), n.operation === m.SUBSCRIPTION && ne(!1, "`@stream` directive not supported on subscription operations. Disable `@stream` by setting the `if` argument to `false`.");
	let a = t.map((e) => ({
		node: e.node,
		deferUsage: void 0,
		fragmentVariableValues: e.fragmentVariableValues
	}));
	return {
		initialCount: i.initialCount,
		label: typeof i.label == "string" ? i.label : void 0,
		fieldDetailsList: a
	};
}
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/execution/hooks.mjs
function Si(e, t) {
	try {
		e?.(t);
	} catch {}
}
function Ci(e, t, n) {
	let r = t.asyncWorkTracker.wait();
	r === void 0 ? Si(n, { validatedExecutionArgs: e }) : r.then(() => {
		Si(n, { validatedExecutionArgs: e });
	}).catch(() => void 0);
}
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/execution/returnIteratorCatchingErrors.mjs
async function wi(e) {
	try {
		await e.return?.();
	} catch {}
}
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/execution/Executor.mjs
var Ti = hi((e, t, n) => {
	let { schema: r, fragments: i, variableValues: a, hideSuggestions: o } = e;
	return Ot(r, i, a, t, n, o);
}), Ei = mi((e, t) => xi(e, t)), Di = class {
	constructor() {
		this._errorPositions = /* @__PURE__ */ new Set(), this._errors = [];
	}
	get errors() {
		return this._errors;
	}
	add(e, t) {
		this.hasNulledPosition(t) || (this._errorPositions.add(t), this._errors.push(e));
	}
	hasNulledPosition(e) {
		let t = e;
		for (; t !== void 0;) {
			if (this._errorPositions.has(t)) return !0;
			t = t.prev;
		}
		return this._errorPositions.has(void 0);
	}
}, Oi = /* @__PURE__ */ Error("This operation was aborted"), ki = class {
	constructor(e, t) {
		this.validatedExecutionArgs = e, this.aborted = !1, this.abortReason = Oi, this.collectedErrors = new Di(), t === void 0 ? (this.resolverAbortController = new AbortController(), this.sharedExecutionContext = pi(this.resolverAbortController.signal)) : this.sharedExecutionContext = t;
		let { getAbortSignal: n, getAsyncHelpers: r, promiseAll: i } = this.sharedExecutionContext;
		this.getAbortSignal = n, this.getAsyncHelpers = r, this.promiseAll = i;
	}
	executeRootSelectionSet(e) {
		return A(nt) ? M(nt, this.buildExecuteContextFromValidatedArgs(this.validatedExecutionArgs), () => this.executeRootSelectionSetImpl(e)) : this.executeRootSelectionSetImpl(e);
	}
	buildExecuteContextFromValidatedArgs(e) {
		return {
			schema: e.schema,
			document: e.document,
			operation: e.operation,
			rawVariableValues: e.rawVariableValues,
			operationName: e.operation.name?.value,
			operationType: e.operation.operation
		};
	}
	executeRootSelectionSetImpl(e) {
		let t = this.validatedExecutionArgs.externalAbortSignal, n;
		if (t) {
			t.throwIfAborted();
			let e = () => {
				this.abort(t.reason);
			};
			n = () => t.removeEventListener("abort", e), t.addEventListener("abort", e);
		}
		let i = () => {
			n?.();
		}, a;
		try {
			let { schema: t, fragments: n, rootValue: o, operation: s, variableValues: c, hideSuggestions: l } = this.validatedExecutionArgs, { operation: u, selectionSet: d } = s, f = t.getRootType(u);
			if (f == null) throw new r(`Schema is not configured to execute ${u} operation.`, { nodes: s });
			let { groupedFieldSet: p, newDeferUsages: h } = at(t, n, c, f, d, l);
			if (a = this.executeCollectedRootFields(f, o, p, e ?? u === m.MUTATION, h), N(a)) {
				let e = a.then((e) => (i(), this.buildResponse(e)), (e) => (i(), this.collectedErrors.add(rt(e), void 0), this.buildResponse(null)));
				this.sharedExecutionContext.asyncWorkTracker.add(e);
				let { promise: t, abort: n } = di(e.then((e) => this.finish(e)));
				return this.abortResultPromise = () => {
					n(this.createAbortedExecutionError(e));
				}, this.aborted && this.abortResultPromise(), t;
			}
			i();
		} catch (e) {
			return i(), this.collectedErrors.add(rt(e), void 0), this.finish(this.buildResponse(null));
		}
		return this.finish(this.buildResponse(a));
	}
	abort(e) {
		this.aborted || (this.aborted = !0, e !== void 0 && (this.abortReason = e), this.abortResultPromise?.(), this.resolverAbortController?.abort(this.abortReason));
	}
	finish(e) {
		if (this.aborted) throw this.createAbortedExecutionError(e);
		return this.aborted = !0, e;
	}
	createAbortedExecutionError(e) {
		return new vi(this.abortReason, e);
	}
	getFinishSharedExecution() {
		let e = this.resolverAbortController, t = this.validatedExecutionArgs.hooks?.asyncWorkFinished;
		if (t === void 0) return () => e?.abort();
		let n = this.validatedExecutionArgs, r = this.sharedExecutionContext;
		return () => {
			e?.abort(), Ci(n, r, t);
		};
	}
	buildResponse(e) {
		this.getFinishSharedExecution()();
		let t = this.collectedErrors.errors;
		return t.length ? {
			errors: t,
			data: e
		} : { data: e };
	}
	executeCollectedRootFields(e, t, n, r, i) {
		return this.executeRootGroupedFieldSet(e, t, n, r, void 0);
	}
	executeRootGroupedFieldSet(e, t, n, r, i) {
		return r ? this.executeFieldsSerially(e, t, void 0, n, i) : this.executeFields(e, t, void 0, n, i);
	}
	executeFieldsSerially(e, t, n, r, i) {
		let a = A($e) ? $e : void 0;
		return _i(r, (r, [o, s]) => {
			if (this.aborted) throw Error("Aborted!");
			let c = Tt(n, o, e.name), l = this.executeField(e, t, s, c, i, a);
			return l === void 0 ? r : N(l) ? l.then((e) => (r[o] = e, a = A($e) ? $e : void 0, r)) : (r[o] = l, r);
		}, Object.create(null));
	}
	executeFields(e, t, n, r, i) {
		let a = Object.create(null), o = !1, s = A($e) ? $e : void 0;
		try {
			for (let [c, l] of r) {
				let r = Tt(n, c, e.name), u = this.executeField(e, t, l, r, i, s);
				u !== void 0 && (a[c] = u, N(u) && (o = !0));
			}
		} catch (e) {
			throw o && this.sharedExecutionContext.asyncWorkTracker.addValues(Object.values(a)), e;
		}
		return o ? gi(a, this.promiseAll) : a;
	}
	executeField(e, t, n, r, i, a) {
		let o = this.validatedExecutionArgs, { schema: s, contextValue: c, variableValues: l, hideSuggestions: u } = o, d = n[0], f = d.node, p = f.name.value, m = s.getField(e, p);
		if (!m) return;
		let h = m.type, g = m.resolve ?? o.fieldResolver;
		if (a !== void 0) {
			let e = g;
			g = (t, n, r, i) => M(a, this.buildResolveContext(n, i, m.resolve === void 0), () => e(t, n, r, i));
		}
		let _ = li(o, m, Ai(n), e, r, this.getAbortSignal, this.getAsyncHelpers);
		try {
			let e = Le(m, f, l, d.fragmentVariableValues, u), a = g(t, e, c, _);
			if (ae(a)) return this.completePromisedValue(h, n, _, r, a, i);
			let o = this.completeValue(h, n, _, r, a, i);
			return N(o) ? o.then(void 0, (e) => (this.handleFieldError(e, h, n, r), null)) : o;
		} catch (e) {
			return this.handleFieldError(e, h, n, r), null;
		}
	}
	buildResolveContext(e, t, n) {
		let r;
		return {
			fieldName: t.fieldName,
			alias: String(t.path.key),
			parentType: t.parentType.name,
			fieldType: String(t.returnType),
			args: e,
			isDefaultResolver: n,
			get fieldPath() {
				return r ??= Ie(t.path).join("."), r;
			}
		};
	}
	handleFieldError(e, t, n, r) {
		let i = oi(e, Ai(n), Ie(r));
		if (this.validatedExecutionArgs.errorPropagation && oe(t)) throw i;
		this.collectedErrors.add(i, r);
	}
	completeValue(e, t, n, r, i, a) {
		if (i instanceof Error) throw i;
		if (oe(e)) {
			let o = this.completeValue(e.ofType, t, n, r, i, a);
			if (o === null) throw Error(`Cannot return null for non-nullable field ${n.parentType}.${n.fieldName}.`);
			return o;
		}
		if (i == null) return null;
		if (j(e)) return this.completeListValue(e, t, n, r, i, a);
		if (tt(e)) return this.completeLeafValue(e, i);
		if (he(e)) return this.completeAbstractValue(e, t, n, r, i, a);
		if (C(e)) return this.completeObjectValue(e, t, n, r, i, a);
		ne(!1, "Cannot complete value of unexpected output type: " + _(e));
	}
	async completePromisedValue(e, t, n, r, i, a) {
		try {
			let o = await i;
			if (this.aborted) throw Error("Aborted!");
			let s = this.completeValue(e, t, n, r, o, a);
			return N(s) && (s = await s), s;
		} catch (n) {
			return this.handleFieldError(n, e, t, r), null;
		}
	}
	async completeAsyncIterableValue(e, t, n, r, i, a) {
		let o = typeof r.key == "number" ? void 0 : Ei(this.validatedExecutionArgs, t), s = !1, c = [], l = i[Symbol.asyncIterator](), u = 0, d;
		try {
			for (; !(o?.initialCount === u && this.handleStream(u, r, {
				handle: l,
				isAsync: !0
			}, o, n, e));) {
				let i = Tt(r, u, void 0);
				try {
					d = await l.next();
				} catch (e) {
					throw oi(e, Ai(t), Ie(r));
				}
				if (this.aborted || d.done) break;
				let o = d.value;
				this.completeMaybePromisedListItemValue(o, c, e, t, n, i, a) && (s = !0), u++;
			}
		} catch (e) {
			throw this.sharedExecutionContext.asyncWorkTracker.add(wi(l)), s && this.sharedExecutionContext.asyncWorkTracker.addValues(c), e;
		}
		if (this.aborted) throw d?.done || this.sharedExecutionContext.asyncWorkTracker.add(wi(l)), Error("Aborted!");
		return s ? this.promiseAll(c) : c;
	}
	handleStream(e, t, n, r, i, a) {
		return !1;
	}
	completeListValue(e, t, n, i, a, o) {
		let s = e.ofType;
		if (ai(a)) return this.completeAsyncIterableValue(s, t, n, i, a, o);
		if (!d(a)) throw new r(`Expected Iterable, but did not find one for field "${n.parentType}.${n.fieldName}".`);
		return this.completeIterableValue(s, t, n, i, a, o);
	}
	completeIterableValue(e, t, n, r, i, a) {
		let o = typeof r.key == "number" ? void 0 : Ei(this.validatedExecutionArgs, t), s = !1, c = [], l = 0, u = i[Symbol.iterator]();
		try {
			for (; !(o?.initialCount === l && this.handleStream(l, r, { handle: u }, o, n, e));) {
				let i = u.next();
				if (i.done) break;
				let o = i.value, d = Tt(r, l, void 0);
				this.completeMaybePromisedListItemValue(o, c, e, t, n, d, a) && (s = !0), l++;
			}
		} catch (e) {
			let t = this.sharedExecutionContext.asyncWorkTracker;
			throw s && t.addValues(c), t.addValues(bi(u)), e;
		}
		return s ? this.promiseAll(c) : c;
	}
	completeMaybePromisedListItemValue(e, t, n, r, i, a, o) {
		return ae(e) ? (t.push(this.completePromisedListItemValue(e, n, r, i, a, o)), !0) : !!this.completeListItemValue(e, t, n, r, i, a, o);
	}
	completeListItemValue(e, t, n, r, i, a, o) {
		try {
			let s = this.completeValue(n, r, i, a, e, o);
			if (N(s)) return t.push(s.then(void 0, (e) => (this.handleFieldError(e, n, r, a), null))), !0;
			t.push(s);
		} catch (e) {
			this.handleFieldError(e, n, r, a), t.push(null);
		}
		return !1;
	}
	async completePromisedListItemValue(e, t, n, r, i, a) {
		try {
			let o = await e;
			if (this.aborted) throw Error("Aborted!");
			let s = this.completeValue(t, n, r, i, o, a);
			return N(s) && (s = await s), s;
		} catch (e) {
			return this.handleFieldError(e, t, n, i), null;
		}
	}
	completeLeafValue(e, t) {
		let n = e.coerceOutputValue(t);
		if (n == null) throw Error(`Expected \`${_(e)}.coerceOutputValue(${_(t)})\` to return non-nullable value, returned: ${_(n)}`);
		return n;
	}
	completeAbstractValue(e, t, n, r, i, a) {
		let o = this.validatedExecutionArgs, { schema: s, contextValue: c } = o, l = (e.resolveType ?? o.typeResolver)(i, c, n, e);
		return ae(l) ? l.then((o) => {
			if (this.aborted) throw Error("Aborted!");
			return this.completeObjectValue(this.ensureValidRuntimeType(o, s, e, t, n, i), t, n, r, i, a);
		}) : this.completeObjectValue(this.ensureValidRuntimeType(l, s, e, t, n, i), t, n, r, i, a);
	}
	ensureValidRuntimeType(e, t, n, i, a, o) {
		if (e == null) throw new r(`Abstract type "${n}" must resolve to an Object type at runtime for field "${a.parentType}.${a.fieldName}". Either the "${n}" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.`, { nodes: Ai(i) });
		if (typeof e != "string") throw new r(`Abstract type "${n}" must resolve to an Object type at runtime for field "${a.parentType}.${a.fieldName}" with value ${_(o)}, received "${_(e)}", which is not a valid Object type name.`);
		let s = t.getType(e);
		if (s == null) throw new r(`Abstract type "${n}" was resolved to a type "${e}" that does not exist inside the schema.`, { nodes: Ai(i) });
		if (!C(s)) throw new r(`Abstract type "${n}" was resolved to a non-object type "${e}".`, { nodes: Ai(i) });
		if (!t.isSubType(n, s)) throw new r(`Runtime Object type "${s}" is not a possible type for "${n}".`, { nodes: Ai(i) });
		return s;
	}
	completeObjectValue(e, t, n, r, i, a) {
		if (e.isTypeOf) {
			let o = e.isTypeOf(i, this.validatedExecutionArgs.contextValue, n);
			if (ae(o)) return o.then((n) => {
				if (this.aborted) throw Error("Aborted!");
				if (!n) throw this.invalidReturnTypeError(e, i, t);
				return this.collectAndExecuteSubfields(e, t, r, i, a);
			});
			if (!o) throw this.invalidReturnTypeError(e, i, t);
		}
		return this.collectAndExecuteSubfields(e, t, r, i, a);
	}
	invalidReturnTypeError(e, t, n) {
		return new r(`Expected value of type "${e}" but got: ${_(t)}.`, { nodes: Ai(n) });
	}
	collectAndExecuteSubfields(e, t, n, r, i) {
		let { groupedFieldSet: a, newDeferUsages: o } = Ti(this.validatedExecutionArgs, e, t);
		return this.executeCollectedSubfields(e, r, n, a, o, i);
	}
	executeCollectedSubfields(e, t, n, r, i, a) {
		return this.executeFields(e, t, n, r, void 0);
	}
};
function Ai(e) {
	return e.map((e) => e.node);
}
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/jsutils/memoize1.mjs
function ji(e) {
	let t;
	return function(n) {
		t ??= /* @__PURE__ */ new WeakMap();
		let r = t.get(n);
		return r === void 0 && (r = e(n), t.set(n, r)), r;
	};
}
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/jsutils/isSameSet.mjs
function Mi(e, t) {
	if (e.size !== t.size) return !1;
	for (let n of e) if (!t.has(n)) return !1;
	return !0;
}
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/execution/incremental/buildExecutionPlan.mjs
function Ni(e, t = /* @__PURE__ */ new Set()) {
	let n = /* @__PURE__ */ new Map(), r = new Pe();
	for (let [i, a] of e) {
		let e = Pi(a);
		Mi(e, t) ? n.set(i, a) : r.getOrInsertComputed(e, () => /* @__PURE__ */ new Map()).set(i, a);
	}
	return {
		groupedFieldSet: n,
		newGroupedFieldSets: r
	};
}
function Pi(e) {
	let t = /* @__PURE__ */ new Set();
	for (let n of e) {
		let e = n.deferUsage;
		if (e === void 0) return t.clear(), t;
		t.add(e);
	}
	for (let e of t) {
		let n = e.parentDeferUsage;
		for (; n !== void 0;) {
			if (t.has(n)) {
				t.delete(e);
				break;
			}
			n = n.parentDeferUsage;
		}
	}
	return t;
}
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/execution/incremental/Computation.mjs
var Fi = class {
	constructor(e, t) {
		this._fn = e, this._onAbort = t;
	}
	prime() {
		if (this._maybePromise) return this._maybePromise;
		try {
			let e = this._fn();
			N(e) ? (this._maybePromise = {
				status: "pending",
				promise: e
			}, e.then((e) => {
				this._maybePromise = {
					status: "fulfilled",
					value: e
				};
			}, (e) => {
				this._maybePromise = {
					status: "rejected",
					reason: e
				};
			})) : this._maybePromise = {
				status: "fulfilled",
				value: e
			};
		} catch (e) {
			this._maybePromise = {
				status: "rejected",
				reason: e
			};
		}
		return this._maybePromise;
	}
	result() {
		let e = this.prime();
		switch (e.status) {
			case "fulfilled": return e.value;
			case "rejected": throw e.reason;
			case "pending": return e.promise;
		}
	}
	abort(e) {
		let t = this._maybePromise;
		if (!t) this._maybePromise = {
			status: "rejected",
			reason: e
		};
		else if (t.status === "pending" && (this._maybePromise = {
			status: "rejected",
			reason: e
		}, this._onAbort)) return this._onAbort(e);
	}
}, Ii = Symbol.asyncDispose ?? Symbol.for("Symbol.asyncDispose");
function Li(e, t, n = t) {
	let r = !1, i = !1, a = (e) => {
		if (!(r || i)) return i = !0, Ri(e);
	};
	return {
		[Symbol.asyncIterator]() {
			return this;
		},
		next() {
			let t = e.next();
			return t.then((e) => {
				e.done && (r = !0);
			}).catch(() => void 0), t;
		},
		async return() {
			return await a(t), e.return();
		},
		async throw(t) {
			return await a(() => n(t)), e.throw(t);
		},
		async [Ii]() {
			await a(t), typeof e[Ii] == "function" && await e[Ii]();
		}
	};
}
function Ri(e) {
	try {
		let t = e();
		if (N(t)) return t.catch(() => {});
	} catch {}
}
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/execution/mapAsyncIterable.mjs
function zi(e, t) {
	let n = e[Symbol.asyncIterator](), r = n.return?.bind(n), i = n.throw?.bind(n), a = r ? () => Bi(r) : () => Promise.resolve(), o = i ? (e) => Bi(() => i(e)) : a;
	return Li(Vi(e, t), a, o);
}
async function Bi(e) {
	try {
		await e();
	} catch {}
}
async function* Vi(e, t) {
	for await (let n of e) {
		let e = t(n);
		N(e) ? yield await e : yield e;
	}
}
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/execution/incremental/Queue.mjs
var Hi = class {
	constructor(e, t = 1) {
		this._backlog = 0, this._waiters = [], this._entries = [], this._isStopped = !1, this._stopRequested = !1, this._stopCleanupCallbacks = [], this._batchRequests = /* @__PURE__ */ new Set(), this._capacity = this._normalizeCapacity(t);
		let { promise: n, resolve: r } = ui();
		this._resolveStarted = r;
		try {
			let t = e({
				push: this._push.bind(this),
				stop: this._stop.bind(this),
				onStop: this._onStop.bind(this),
				started: n
			});
			N(t) && t.catch(this._stop.bind(this));
		} catch (e) {
			let t = this._stop(e);
			N(t) && t.catch(() => void 0);
		}
	}
	subscribe(e = (e) => Array.from(e)) {
		return Li(this._iteratorLoop(e), () => this.cancel(), this.abort.bind(this));
	}
	cancel() {
		return this._stopRequested ? this._stopCompletion : this._terminate(void 0, () => {
			this._isStopped = !0, this._batchRequests.forEach((e) => e.resolve(void 0)), this._batchRequests.clear();
		});
	}
	abort(e) {
		return this._stopRequested ? this._stopCompletion : this._terminate(e, () => {
			this._isStopped = !0, this._batchRequests.size ? (this._batchRequests.forEach((t) => t.reject(e)), this._batchRequests.clear()) : this._entries.push({
				kind: "item",
				settled: {
					status: "rejected",
					reason: e
				}
			});
		});
	}
	async forEachBatch(e) {
		let t = this.subscribe(async (t) => {
			let { promise: n, resolve: r } = ui(), i = (function* () {
				yield* t, r();
			})();
			await Promise.all([e(i), n]);
		});
		for await (let e of t);
	}
	setCapacity(e) {
		this._capacity = this._normalizeCapacity(e), this._flush();
	}
	getCapacity() {
		return this._capacity;
	}
	isStopped() {
		return this._isStopped;
	}
	_normalizeCapacity(e) {
		return Math.max(1, Math.floor(e));
	}
	_flush() {
		for (; this._waiters.length > 0 && this._backlog < this._capacity;) this._waiters.shift()?.();
	}
	_reserve() {
		if (this._backlog += 1, this._backlog < this._capacity) return;
		let { promise: e, resolve: t } = ui();
		return this._waiters.push(t), e;
	}
	_release() {
		this._backlog > 0 && --this._backlog, this._flush();
	}
	_onStop(e) {
		if (this._stopRequested) throw Error("Cannot register onStop cleanup after stop has been requested.");
		this._stopCleanupCallbacks.push(e);
	}
	_runStopCleanup(e, t) {
		this._stopRequested = !0;
		let n = this._stopCleanupCallbacks.flatMap((t) => {
			try {
				let n = t(e);
				return N(n) ? [n] : [];
			} catch {
				return [];
			}
		}), r = n.length > 0 ? Promise.allSettled(n).then(() => void 0) : void 0;
		if (N(r)) return this._stopCompletion = r.then(t, t).then(() => void 0), this._stopCompletion;
		t();
	}
	async *_iteratorLoop(e) {
		this._resolveStarted();
		let t;
		for (; t = await this._waitForNextBatch();) {
			let n = e(t);
			N(n) && (n = await n), n !== void 0 && (yield n);
		}
	}
	_waitForNextBatch() {
		let { promise: e, resolve: t, reject: n } = ui();
		return this._batchRequests.add({
			resolve: t,
			reject: n
		}), this._deliverBatchIfReady(), e;
	}
	_push(e) {
		if (this._stopRequested) return;
		let t = this._reserve();
		if (N(e)) {
			let t = { kind: "item" };
			this._entries.push(t), e.then((e) => {
				t.settled = {
					status: "fulfilled",
					value: e
				}, this._deliverBatchIfReady();
			}, (e) => {
				t.settled = {
					status: "rejected",
					reason: e
				}, this._deliverBatchIfReady();
			});
		} else this._entries.push({
			kind: "item",
			settled: {
				status: "fulfilled",
				value: e
			}
		}), this._deliverBatchIfReady();
		return t;
	}
	_terminate(e, t) {
		for (let e of this._entries) e.kind === "item" && this._release();
		return this._entries.length = 0, this._runStopCleanup(e, t);
	}
	_stop(e) {
		if (this._stopRequested) return this._stopCompletion;
		let t = this._runStopCleanup(e, () => {
			if (e === void 0) {
				if (this._entries.length === 0) {
					this._isStopped = !0, this._deliverBatchIfReady();
					return;
				}
				this._entries.push({ kind: "stop" }), this._deliverBatchIfReady();
			} else this._entries.push({
				kind: "item",
				settled: {
					status: "rejected",
					reason: e
				}
			}), this._entries.push({ kind: "stop" }), this._deliverBatchIfReady();
		});
		return N(t) && t.catch(() => void 0), t;
	}
	_deliverBatchIfReady() {
		if (!this._batchRequests.size) return;
		let e = this._entries[0], t = this._batchRequests;
		if (e !== void 0) {
			e.kind === "stop" && ne(!1);
			let n = e.settled;
			if (n !== void 0) {
				if (n.status === "fulfilled") {
					this._batchRequests = /* @__PURE__ */ new Set(), t.forEach((e) => e.resolve(this._drainBatch()));
					return;
				}
				this._entries.shift(), this._release(), this._isStopped = !0, this._batchRequests = /* @__PURE__ */ new Set(), t.forEach((e) => e.reject(n.reason));
			}
		} else this._isStopped && (this._batchRequests = /* @__PURE__ */ new Set(), t.forEach((e) => e.resolve(void 0)));
	}
	*_drainBatch() {
		for (;;) {
			let e = this._entries[0];
			if (e === void 0) return;
			if (e.kind === "stop") {
				this._isStopped = !0, this._entries.shift();
				return;
			}
			let t = e.settled;
			if (t === void 0 || t.status === "rejected") return;
			this._entries.shift(), this._release(), yield t.value;
		}
	}
};
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/execution/incremental/WorkQueue.mjs
function Ui(e) {
	let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), a, o, { newGroups: s, newStreams: c } = m(e), l = y(s);
	for (let e of l) t.add(e);
	for (let e of c) n.add(e);
	return {
		initialGroups: l,
		initialStreams: c,
		events: new Hi(({ push: e, stop: r, onStop: i, started: s }) => {
			a = e, o = r, s.then(() => {
				for (let e of t) x(e);
				for (let e of n) C(e);
			}), i((e) => u(e));
		}, 1).subscribe((e) => w(e))
	};
	function u(e) {
		let r = [];
		for (let n of t) d(n, e, r);
		for (let t of n) p(t, e, r);
		if (r.length > 0) return Promise.allSettled(r).then(() => void 0);
	}
	function d(e, t, n) {
		let i = r.get(e);
		if (i) {
			for (let e of i.tasks) f(e, t, n);
			for (let e of i.childGroups) d(e, t, n);
		}
	}
	function f(e, t, n) {
		let r = e.computation.abort(t);
		N(r) && n.push(r);
		let a = i.get(e);
		if (a) for (let e of a.childStreams) p(e, t, n);
	}
	function p(e, t, n) {
		let r = e.queue.abort(t);
		N(r) && n.push(r);
	}
	function m(e, t) {
		if (!e) return {
			newGroups: [],
			newStreams: []
		};
		let { groups: n, tasks: r, streams: i } = e, a = n ? h(n, t) : [];
		if (r) for (let e of r) _(e);
		return {
			newGroups: a,
			newStreams: i ? v(i, t) : []
		};
	}
	function h(e, t) {
		let n = new Set(e), r = /* @__PURE__ */ new Set(), i = [];
		for (let a of e) g(a, n, i, r, t);
		return i;
	}
	function g(e, t, n, i, a) {
		if (i.has(e)) return;
		i.add(e);
		let o = e.parent;
		if (o !== void 0 && (t.has(o) && g(o, t, n, i, a), !r.has(o))) return;
		let s = {
			childGroups: [],
			tasks: /* @__PURE__ */ new Set(),
			pending: 0
		};
		r.set(e, s), a === void 0 && !o ? n.push(e) : o && r.get(o)?.childGroups.push(e);
	}
	function _(e) {
		for (let n of e.groups) {
			let i = r.get(n);
			i && (i.tasks.add(e), i.pending++, t.has(n) && S(e));
		}
	}
	function v(e, t) {
		if (!t) return e;
		let n = i.get(t);
		return n && n.childStreams.push(...e), [];
	}
	function y(e, t = []) {
		for (let n of e) {
			let e = r.get(n);
			e && (e.tasks.size === 0 ? (r.delete(n), y(e.childGroups, t)) : t.push(n));
		}
		return t;
	}
	function b(e, i) {
		let a = [], o = [...e], s = [...i];
		for (let e of o) {
			t.add(e), x(e);
			let n = r.get(e);
			n && E(e, n, a, o, s);
		}
		for (let e of s) n.add(e), C(e);
		return a;
	}
	function x(e) {
		let t = r.get(e);
		if (t) for (let e of t.tasks) S(e);
	}
	function S(e) {
		let t = i.has(e);
		t || i.set(e, {
			value: void 0,
			childStreams: []
		});
		try {
			let n = e.computation.result();
			if (t) return;
			N(n) ? n.then((t) => {
				a({
					kind: "TASK_SUCCESS",
					task: e,
					result: t
				});
			}, (t) => {
				a({
					kind: "TASK_FAILURE",
					task: e,
					error: t
				});
			}) : a({
				kind: "TASK_SUCCESS",
				task: e,
				result: n
			});
		} catch (t) {
			a({
				kind: "TASK_FAILURE",
				task: e,
				error: t
			});
		}
	}
	async function C(e) {
		try {
			await e.queue.forEachBatch(async (t) => {
				let n = a({
					kind: "STREAM_ITEMS",
					stream: e,
					items: t
				});
				N(n) && await n;
			}), a({
				kind: "STREAM_SUCCESS",
				stream: e
			});
		} catch (t) {
			a({
				kind: "STREAM_FAILURE",
				stream: e,
				error: t
			});
		}
	}
	function w(e) {
		let r = [];
		for (let t of e) switch (t.kind) {
			case "TASK_SUCCESS":
				r.push(...T(t));
				break;
			case "TASK_FAILURE":
				r.push(...D(t));
				break;
			case "STREAM_ITEMS":
				r.push(...O(t));
				break;
			case "STREAM_SUCCESS":
				n.has(t.stream) && (n.delete(t.stream), r.push(t));
				break;
			case "STREAM_FAILURE": n.delete(t.stream), r.push(t);
		}
		return t.size === 0 && n.size === 0 && (o(), r.push({ kind: "WORK_QUEUE_TERMINATION" })), r.length > 0 ? r : void 0;
	}
	function T(e) {
		let { task: t, result: n } = e, { value: a, work: o } = n, s = i.get(t);
		if (!s) return [];
		s.value = a, m(o, t);
		let c = [], l = [], u = [];
		for (let e of t.groups) {
			let t = r.get(e);
			t && (t.pending--, E(e, t, c, l, u));
		}
		return [...c, ...b(l, u)];
	}
	function E(e, n, r, i, a) {
		if (t.has(e) && n.pending === 0) {
			let { groupValuesEvent: t, groupSuccessEvent: o, newGroups: s, newStreams: c } = k(e, n);
			t && r.push(t), r.push(o), i.push(...s), a.push(...c);
		}
	}
	function D(e) {
		let { task: n, error: a } = e;
		if (!i.has(n)) return [];
		let o = [];
		for (let e of n.groups) {
			let n = r.get(e);
			n && t.has(e) && o.push(A(e, n, a));
		}
		return o;
	}
	function O(e) {
		let { stream: t, items: r } = e, i = [], a = [], o = [];
		for (let { value: e, work: t } of r) {
			let { newGroups: n, newStreams: r } = m(t), s = y(n);
			b(s, r).length !== 0 && ne(!1), i.push(e), a.push(...s), o.push(...r);
		}
		let s = {
			kind: "STREAM_VALUES",
			stream: t,
			values: i,
			newGroups: a,
			newStreams: o
		};
		return t.queue.isStopped() ? (n.delete(t), [s, {
			kind: "STREAM_SUCCESS",
			stream: t
		}]) : [s];
	}
	function k(e, n) {
		r.delete(e);
		let a = [], o = [];
		for (let e of n.tasks) {
			let t = i.get(e);
			if (t) {
				let { value: n, childStreams: r } = t;
				n !== void 0 && a.push(n);
				for (let e of r) o.push(e);
				j(e);
			}
		}
		let s = y(n.childGroups);
		return t.delete(e), {
			groupValuesEvent: a.length ? {
				kind: "GROUP_VALUES",
				group: e,
				values: a
			} : void 0,
			groupSuccessEvent: {
				kind: "GROUP_SUCCESS",
				group: e,
				newGroups: s,
				newStreams: o
			},
			newGroups: s,
			newStreams: o
		};
	}
	function A(e, t, n) {
		return ee(e, t), {
			kind: "GROUP_FAILURE",
			group: e,
			error: n
		};
	}
	function ee(e, n) {
		t.delete(e), r.delete(e);
		for (let e of n.tasks) e.groups.every((e) => !r.has(e)) && j(e);
		for (let e of n.childGroups) {
			let t = r.get(e);
			t && ee(e, t);
		}
	}
	function j(e) {
		for (let t of e.groups) r.get(t)?.tasks.delete(e);
		i.delete(e);
	}
}
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/execution/incremental/IncrementalPublisher.mjs
var Wi = class {
	constructor() {
		this._ids = /* @__PURE__ */ new Map(), this._nextId = 0, this._cachedPathToArray = ji((e) => Ie(e));
	}
	buildResponse(e, t, n, r, i) {
		let { initialGroups: a, initialStreams: o, events: s } = Ui(n);
		function c() {
			f.throw(r?.reason).catch(() => {});
		}
		r && r.addEventListener("abort", c);
		let l = () => {
			i(), r?.removeEventListener("abort", c);
		}, u = this._toPendingResults(a, o), d = t.length ? {
			errors: t,
			data: e,
			pending: u,
			hasNext: !0
		} : {
			data: e,
			pending: u,
			hasNext: !0
		}, f = Li(zi(s, (e) => this._handleBatch(e, l)), () => l());
		return {
			initialResult: d,
			subsequentResults: f
		};
	}
	_pathToArray(e) {
		return e == null ? [] : this._cachedPathToArray(e);
	}
	_ensureId(e) {
		let t = this._ids.get(e);
		return t === void 0 && (t = String(this._nextId++), this._ids.set(e, t)), t;
	}
	_toPendingResults(e, t) {
		let n = [];
		for (let r of [e, t]) for (let e of r) {
			let t = {
				id: this._ensureId(e),
				path: this._pathToArray(e.path)
			};
			e.label !== void 0 && (t.label = e.label), n.push(t);
		}
		return n;
	}
	_handleBatch(e, t) {
		let n = {
			pending: [],
			incremental: [],
			completed: [],
			hasNext: !0
		};
		for (let r of e) this._handleWorkQueueEvent(r, n, t);
		let { incremental: r, completed: i, pending: a, hasNext: o } = n, s = { hasNext: o };
		return a.length > 0 && (s.pending = a), r.length > 0 && (s.incremental = r), i.length > 0 && (s.completed = i), s;
	}
	_handleWorkQueueEvent(e, t, n) {
		switch (e.kind) {
			case "GROUP_VALUES": {
				let n = e.group, r = this._ensureId(n);
				for (let i of e.values) {
					let { bestId: e, subPath: a } = this._getBestIdAndSubPath(r, n, i), o = {
						id: e,
						data: i.data
					};
					i.errors !== void 0 && (o.errors = i.errors), a !== void 0 && (o.subPath = a), t.incremental.push(o);
				}
				break;
			}
			case "GROUP_SUCCESS": {
				let n = e.group, r = this._ensureId(n);
				t.completed.push({ id: r }), this._ids.delete(n), (e.newGroups.length > 0 || e.newStreams.length > 0) && t.pending.push(...this._toPendingResults(e.newGroups, e.newStreams));
				break;
			}
			case "GROUP_FAILURE": {
				let { group: n, error: r } = e, i = this._ensureId(n);
				t.completed.push({
					id: i,
					errors: [rt(r)]
				}), this._ids.delete(n);
				break;
			}
			case "STREAM_VALUES": {
				let n = e.stream, r = this._ensureId(n), { values: i, newGroups: a, newStreams: o } = e, s = [], c = [];
				for (let e of i) s.push(e.item), e.errors !== void 0 && c.push(...e.errors);
				t.incremental.push(c.length > 0 ? {
					id: r,
					items: s,
					errors: c
				} : {
					id: r,
					items: s
				}), (a.length > 0 || o.length > 0) && t.pending.push(...this._toPendingResults(a, o));
				break;
			}
			case "STREAM_SUCCESS": {
				let n = e.stream;
				t.completed.push({ id: this._ensureId(n) }), this._ids.delete(n);
				break;
			}
			case "STREAM_FAILURE": {
				let n = e.stream;
				t.completed.push({
					id: this._ensureId(n),
					errors: [rt(e.error)]
				}), this._ids.delete(n);
				break;
			}
			case "WORK_QUEUE_TERMINATION": n?.(), t.hasNext = !1;
		}
	}
	_getBestIdAndSubPath(e, t, n) {
		let r = this._pathToArray(t.path).length, i = e;
		for (let e of n.deliveryGroups) {
			if (e === t) continue;
			let n = this._ids.get(e);
			if (n === void 0) continue;
			let a = this._pathToArray(e.path).length;
			a > r && (r = a, i = n);
		}
		let a = n.path.slice(r);
		return {
			bestId: i,
			subPath: a.length > 0 ? a : void 0
		};
	}
}, Gi = ji((e) => Ni(e)), Ki = mi((e, t) => Ni(e, t)), qi = class e extends ki {
	constructor(e, t, n) {
		super(e, t), this.deferUsageSet = n, this.groups = [], this.tasks = [], this.streams = [];
	}
	getCreateSubExecutor() {
		let t = this.validatedExecutionArgs, n = this.sharedExecutionContext;
		return (r) => new e(t, n, r);
	}
	abort(e) {
		super.abort(e);
		for (let t of this.tasks) {
			let n = t.computation.abort(e);
			N(n) && ne(!1);
		}
		for (let t of this.streams) {
			let n = t.queue.abort(e);
			N(n) && ne(!1);
		}
	}
	buildResponse(e) {
		let t = this.getIncrementalWork(), { tasks: n, streams: r } = t;
		if (n?.length === 0 && r?.length === 0) return super.buildResponse(e);
		let i = this.collectedErrors.errors;
		return e === null && ne(!1), new Wi().buildResponse(e, i, t, this.validatedExecutionArgs.externalAbortSignal, this.getFinishSharedExecution());
	}
	executeCollectedRootFields(e, t, n, r, i) {
		if (i.length === 0) return this.executeRootGroupedFieldSet(e, t, n, r, void 0);
		this.validatedExecutionArgs.operation.operation === m.SUBSCRIPTION && ne(!1, "`@defer` directive not supported on subscription operations. Disable `@defer` by setting the `if` argument to `false`.");
		let { newDeliveryGroups: a, newDeliveryGroupMap: o } = this.getNewDeliveryGroupMap(i, void 0, void 0), { groupedFieldSet: s, newGroupedFieldSets: c } = this.buildRootExecutionPlan(n), l = this.executeRootGroupedFieldSet(e, t, s, r, o);
		return this.groups.push(...a), c.size > 0 && this.collectExecutionGroups(e, t, void 0, c, o), l;
	}
	buildRootExecutionPlan(e) {
		return Gi(e);
	}
	executeCollectedSubfields(e, t, n, r, i, a) {
		if (i.length > 0 && this.validatedExecutionArgs.operation.operation === m.SUBSCRIPTION && ne(!1, "`@defer` directive not supported on subscription operations. Disable `@defer` by setting the `if` argument to `false`."), a === void 0 && i.length === 0) return this.executeFields(e, t, n, r, a);
		let { newDeliveryGroups: o, newDeliveryGroupMap: s } = this.getNewDeliveryGroupMap(i, a, n), { groupedFieldSet: c, newGroupedFieldSets: l } = this.buildSubExecutionPlan(r), u = this.executeFields(e, t, n, c, s);
		return this.groups.push(...o), l.size > 0 && this.collectExecutionGroups(e, t, n, l, s), u;
	}
	buildSubExecutionPlan(e) {
		return this.deferUsageSet === void 0 ? Gi(e) : Ki(e, this.deferUsageSet);
	}
	collectExecutionGroups(e, t, n, r, i) {
		let a = this.getCreateSubExecutor();
		for (let [o, s] of r) {
			let r = Yi(o, i), c = a(o), l = {
				groups: r,
				path: n,
				computation: new Fi(() => c.executeExecutionGroup(r, e, t, n, s, i), (e) => c.abort(e))
			}, u = this.deferUsageSet;
			this.validatedExecutionArgs.enableEarlyExecution && (this.shouldDefer(u, o) ? Promise.resolve().then(() => l.computation.prime()) : l.computation.prime()), this.tasks.push(l);
		}
	}
	executeExecutionGroup(e, t, n, r, i, a) {
		let o;
		try {
			o = this.executeFields(t, n, r, i, a);
		} catch (e) {
			throw this.abort(), e;
		}
		return N(o) ? o.then((t) => this.buildExecutionGroupResult(e, r, t), (e) => {
			throw this.abort(), e;
		}) : this.buildExecutionGroupResult(e, r, o);
	}
	buildExecutionGroupResult(e, t, n) {
		let r = n, i = this.collectedErrors.errors;
		return this.finish({
			value: i.length ? {
				deliveryGroups: e,
				path: Ie(t),
				errors: i,
				data: r
			} : {
				deliveryGroups: e,
				path: Ie(t),
				data: r
			},
			work: this.getIncrementalWork()
		});
	}
	getIncrementalWork() {
		let { groups: e, tasks: t, streams: n, collectedErrors: r } = this;
		if (r.errors.length === 0) return {
			groups: e,
			tasks: t,
			streams: n
		};
		let i = /* @__PURE__ */ Error("Cancelled secondary to null within original result"), a = [];
		for (let e of t) if (r.hasNulledPosition(e.path)) {
			let t = e.computation.abort(i);
			N(t) && ne(!1);
		} else a.push(e);
		let o = [];
		for (let e of n) if (r.hasNulledPosition(e.path)) {
			let t = e.queue.abort(i);
			N(t) && ne(!1);
		} else o.push(e);
		return {
			groups: e,
			tasks: a,
			streams: o
		};
	}
	getNewDeliveryGroupMap(e, t, n) {
		let r = [], i = new Map(t);
		for (let t of e) {
			let e = t.parentDeferUsage, a = e === void 0 ? void 0 : Xi(e, i), o = {
				path: n,
				label: t.label,
				parent: a
			};
			r.push(o), i.set(t, o);
		}
		return {
			newDeliveryGroups: r,
			newDeliveryGroupMap: i
		};
	}
	shouldDefer(e, t) {
		return e === void 0 || !Array.from(t).every((t) => e.has(t));
	}
	handleStream(e, t, n, r, i, a) {
		let { handle: o, isAsync: s } = n, c = this.buildStreamItemQueue(e, t, o, r.fieldDetailsList, i, a, s), l = {
			label: r.label,
			path: t,
			queue: c,
			initialCount: e
		};
		return this.streams.push(l), !0;
	}
	buildStreamItemQueue(e, t, n, r, i, a, o) {
		let s = this.getCreateSubExecutor(), { enableEarlyExecution: c } = this.validatedExecutionArgs, l = this.sharedExecutionContext;
		return new Hi(async ({ push: u, stop: d, onStop: f, started: p }) => {
			let m = /* @__PURE__ */ new Set(), h = !1, g = !1;
			if (f((e) => {
				if (g = !0, !h) {
					for (let t of m) t(e);
					o ? l.asyncWorkTracker.add(wi(n)) : l.asyncWorkTracker.addValues(bi(n));
				}
			}), await (c ? Promise.resolve() : p), g) return;
			let _ = e;
			for (;;) {
				let e;
				try {
					if (o) {
						if (e = await n.next(), g) return;
					} else e = n.next();
				} catch (e) {
					throw oi(e, Ji(r), Ie(t));
				}
				if (e.done) {
					h = !0;
					let e = d();
					N(e) && e.catch(() => void 0);
					return;
				}
				let l = Tt(t, _, void 0), f = s(), p = f.completeStreamItem(l, e.value, r, i, a);
				if (N(p)) {
					if (c) {
						let e = (e) => f.abort(e);
						m.add(e), p = p.finally(() => {
							m.delete(e);
						});
					} else if (p = await p, g) return;
				}
				let v = u(p);
				if (N(v) && (await v, g)) return;
				_ += 1;
			}
		}, 100);
	}
	completeStreamItem(e, t, n, r, i) {
		if (ae(t)) return this.completePromisedValue(i, n, r, e, t, void 0).then((e) => this.buildStreamItemResult(e), (t) => (this.handleFieldError(t, i, n, e), this.buildStreamItemResult(null))).then(void 0, (e) => {
			throw this.abort(), e;
		});
		let a;
		try {
			try {
				a = this.completeValue(i, n, r, e, t, void 0);
			} catch (t) {
				return this.handleFieldError(t, i, n, e), this.buildStreamItemResult(null);
			}
		} catch (e) {
			throw this.abort(), e;
		}
		return N(a) ? a.then((e) => this.buildStreamItemResult(e), (t) => (this.handleFieldError(t, i, n, e), this.buildStreamItemResult(null))).then(void 0, (e) => {
			throw this.abort(), e;
		}) : this.buildStreamItemResult(a);
	}
	buildStreamItemResult(e) {
		let t = e, n = this.collectedErrors.errors, r = this.getIncrementalWork();
		return this.finish(n.length > 0 ? {
			value: {
				item: t,
				errors: n
			},
			work: r
		} : {
			value: { item: t },
			work: r
		});
	}
};
function Ji(e) {
	return e.map((e) => e.node);
}
function Yi(e, t) {
	return Array.from(e).map((e) => Xi(e, t));
}
function Xi(e, t) {
	return t.get(e);
}
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/execution/execute.mjs
function Zi(e) {
	let t, n = () => (t === void 0 && (t = ci(e.document, e.operationName)), t);
	return {
		schema: e.schema,
		document: e.document,
		rawVariableValues: e.variableValues,
		get operationName() {
			return e.operationName ?? n()?.name?.value;
		},
		get operationType() {
			return n()?.operation;
		}
	};
}
function Qi(e) {
	return A(P) ? M(P, Zi(e), () => $i(e)) : $i(e);
}
function $i(e) {
	let t = na(e);
	return "schema" in t ? ea(t) : { errors: t };
}
function ea(e) {
	return new qi(e).executeRootSelectionSet();
}
function ta(e) {
	let t = Qi(e);
	if (N(t) || "initialResult" in t) throw Error("GraphQL execution failed to complete synchronously.");
	return t;
}
function na(e) {
	let { schema: t, document: i, rootValue: a, contextValue: o, variableValues: s, operationName: c, fieldResolver: l, typeResolver: u, subscribeFieldResolver: d, abortSignal: f, enableEarlyExecution: p, hooks: m, options: h } = e;
	ie(t);
	let g, _ = Object.create(null), v = Object.create(null), y = [];
	for (let e of i.definitions) switch (e.kind) {
		case Rt:
			if (c == null) {
				if (g !== void 0) return [new r("Must provide operation name if query contains multiple operations.")];
				g = e;
			} else e.name?.value === c && (g = e);
			break;
		case F: {
			_[e.name.value] = e;
			let n;
			if (e.variableDefinitions) {
				let i = Object.create(null);
				for (let n of e.variableDefinitions) {
					let e = ct(t, n);
					e instanceof r ? y.push(e) : i[e.name] = e;
				}
				n = i;
			}
			v[e.name.value] = {
				definition: e,
				variableSignatures: n
			};
			break;
		}
	}
	if (!g) return c == null ? [new r("Must provide an operation.")] : [new r(`Unknown operation named "${c}".`)];
	if (y.length > 0) return y;
	let b = g.variableDefinitions ?? [], x = e.hideSuggestions ?? !1, S = s ?? {}, C = {
		maxErrors: h?.maxCoercionErrors ?? 50,
		hideSuggestions: x
	}, w = n, T = A(w) ? M(w, {
		schema: t,
		document: i,
		operation: g,
		rawVariableValues: s,
		operationName: g.name?.value,
		operationType: g.operation
	}, () => gt(t, b, S, C)) : gt(t, b, S, C);
	if (T.errors) return T.errors;
	let E = !g.directives?.find((e) => e.name.value === yt.name);
	return {
		schema: t,
		document: i,
		fragmentDefinitions: _,
		fragments: v,
		rootValue: a,
		contextValue: o,
		operation: g,
		variableValues: T.variableValues,
		fieldResolver: l ?? ia,
		typeResolver: u ?? ra,
		subscribeFieldResolver: d ?? ia,
		hideSuggestions: x,
		errorPropagation: E,
		externalAbortSignal: f ?? void 0,
		enableEarlyExecution: p === !0,
		hooks: m ?? void 0,
		rawVariableValues: s
	};
}
var ra = function(e, t, n, r) {
	if (et(e) && typeof e.__typename == "string") return e.__typename;
	let i = n.schema.getPossibleTypes(r), a = [];
	try {
		for (let r = 0; r < i.length; r++) {
			let o = i[r];
			if (o.isTypeOf) {
				let i = o.isTypeOf(e, t, n);
				if (ae(i)) a[r] = i;
				else if (i) return a.length && n.getAsyncHelpers().track(a), o.name;
			}
		}
	} catch (e) {
		throw a.length && n.getAsyncHelpers().track(a), e;
	}
	if (a.length) return n.getAsyncHelpers().promiseAll(a).then((e) => {
		for (let t = 0; t < e.length; t++) if (e[t]) return i[t].name;
	});
}, ia = function(e, t, n, r) {
	if (et(e) || typeof e == "function") {
		let i = e[r.fieldName];
		return typeof i == "function" ? e[r.fieldName](t, n, r) : i;
	}
};
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/utilities/getIntrospectionQuery.mjs
function aa(e) {
	let t = {
		descriptions: !0,
		specifiedByUrl: !1,
		directiveIsRepeatable: !1,
		schemaDescription: !1,
		inputValueDeprecation: !1,
		experimentalDirectiveDeprecation: !1,
		oneOf: !1,
		typeDepth: 9,
		...e
	}, n = t.descriptions ? "description" : "", r = t.specifiedByUrl ? "specifiedByURL" : "", i = t.directiveIsRepeatable ? "isRepeatable" : "", a = t.schemaDescription ? n : "";
	function o(e) {
		return t.inputValueDeprecation ? e : "";
	}
	function s(e) {
		return t.experimentalDirectiveDeprecation ? e : "";
	}
	let c = t.oneOf ? "isOneOf" : "";
	function l(e, t) {
		if (e <= 0) return "";
		if (e > 100) throw Error("Please set typeDepth to a reasonable value between 0 and 100; the default is 9.");
		return `
${t}ofType {
${t}  name
${t}  kind${l(e - 1, t + "  ")}
${t}}`;
	}
	return `
    query IntrospectionQuery {
      __schema {
        ${a}
        queryType { name kind }
        mutationType { name kind }
        subscriptionType { name kind }
        types {
          ...FullType
        }
        directives${s("(includeDeprecated: true)")} {
          name
          ${n}
          ${i}
          ${s("isDeprecated")}
          ${s("deprecationReason")}
          locations
          args${o("(includeDeprecated: true)")} {
            ...InputValue
          }
        }
      }
    }

    fragment FullType on __Type {
      kind
      name
      ${n}
      ${r}
      ${c}
      fields(includeDeprecated: true) {
        name
        ${n}
        args${o("(includeDeprecated: true)")} {
          ...InputValue
        }
        type {
          ...TypeRef
        }
        isDeprecated
        deprecationReason
      }
      inputFields${o("(includeDeprecated: true)")} {
        ...InputValue
      }
      interfaces {
        ...TypeRef
      }
      enumValues(includeDeprecated: true) {
        name
        ${n}
        isDeprecated
        deprecationReason
      }
      possibleTypes {
        ...TypeRef
      }
    }

    fragment InputValue on __InputValue {
      name
      ${n}
      type { ...TypeRef }
      defaultValue
      ${o("isDeprecated")}
      ${o("deprecationReason")}
    }

    fragment TypeRef on __Type {
      kind
      name${l(t.typeDepth, "      ")}
    }
  `;
}
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/utilities/introspectionFromSchema.mjs
function oa(e, t) {
	let n = {
		specifiedByUrl: !0,
		directiveIsRepeatable: !0,
		schemaDescription: !0,
		inputValueDeprecation: !0,
		experimentalDirectiveDeprecation: !0,
		oneOf: !0,
		...t
	}, r = ta({
		schema: e,
		document: Lt(aa(n))
	});
	return (r.errors != null || r.data == null) && ne(!1), r.data;
}
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/utilities/buildClientSchema.mjs
function sa(e, t) {
	et(e) && et(e.__schema) || D(!1, `Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${_(e)}.`);
	let n = e.__schema, r = new Map(n.types.map((e) => [e.name, f(e)]));
	for (let e of [...Ae, ...ge]) r.has(e.name) && r.set(e.name, e);
	let i = n.queryType == null ? null : u(n.queryType), a = n.mutationType == null ? null : u(n.mutationType), o = n.subscriptionType == null ? null : u(n.subscriptionType), s = n.directives == null ? [] : n.directives.map(A);
	return new g({
		description: n.description,
		query: i,
		mutation: a,
		subscription: o,
		types: [...r.values()],
		directives: s,
		assumeValid: t?.assumeValid
	});
	function c(e) {
		if (e.kind === ce.LIST) {
			let t = e.ofType;
			if (t == null) throw Error("Decorated type deeper than introspection query.");
			return new ut(c(t));
		}
		if (e.kind === ce.NON_NULL) {
			let t = e.ofType;
			if (t == null) throw Error("Decorated type deeper than introspection query.");
			let n = c(t);
			return new Ye(zt(n));
		}
		return l(e);
	}
	function l(e) {
		let t = e.name;
		if (!t) throw Error(`Unknown type reference: ${_(e)}.`);
		let n = r.get(t);
		if (n == null) throw Error(`Invalid or incomplete schema, unknown type: ${t}. Ensure that a full introspection query is used in order to build a client schema.`);
		return n;
	}
	function u(e) {
		return fe(l(e));
	}
	function d(e) {
		return Ht(l(e));
	}
	function f(e) {
		switch (e.kind) {
			case ce.SCALAR: return p(e);
			case ce.OBJECT: return h(e);
			case ce.INTERFACE: return v(e);
			case ce.UNION: return y(e);
			case ce.ENUM: return x(e);
			case ce.INPUT_OBJECT: return S(e);
			default: throw Error(`Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ${_(e)}.`);
		}
	}
	function p(e) {
		return new De({
			name: e.name,
			description: e.description,
			specifiedByURL: e.specifiedByURL
		});
	}
	function m(e) {
		if (e.interfaces === null && e.kind === ce.INTERFACE) return [];
		if (e.interfaces == null) {
			let t = _(e);
			throw Error(`Introspection result missing interfaces: ${t}.`);
		}
		return e.interfaces.map(d);
	}
	function h(e) {
		return new Ke({
			name: e.name,
			description: e.description,
			interfaces: () => m(e),
			fields: () => C(e)
		});
	}
	function v(e) {
		return new vt({
			name: e.name,
			description: e.description,
			interfaces: () => m(e),
			fields: () => C(e)
		});
	}
	function y(e) {
		if (e.possibleTypes == null) {
			let t = _(e);
			throw Error(`Introspection result missing possibleTypes: ${t}.`);
		}
		return new Nt({
			name: e.name,
			description: e.description,
			types: () => e.possibleTypes.map(u)
		});
	}
	function x(e) {
		if (e.enumValues == null) {
			let t = _(e);
			throw Error(`Introspection result missing enumValues: ${t}.`);
		}
		return new ze({
			name: e.name,
			description: e.description,
			values: b(e.enumValues, (e) => e.name, (e) => ({
				description: e.description,
				deprecationReason: e.deprecationReason
			}))
		});
	}
	function S(e) {
		if (e.inputFields == null) {
			let t = _(e);
			throw Error(`Introspection result missing inputFields: ${t}.`);
		}
		return new Ue({
			name: e.name,
			description: e.description,
			fields: () => T(e.inputFields),
			isOneOf: e.isOneOf
		});
	}
	function C(e) {
		if (e.fields == null) throw Error(`Introspection result missing fields: ${_(e)}.`);
		return b(e.fields, (e) => e.name, w);
	}
	function w(e) {
		let t = c(e.type);
		if (!k(t)) {
			let e = _(t);
			throw Error(`Introspection must provide output type for fields, but received: ${e}.`);
		}
		if (e.args == null) {
			let t = _(e);
			throw Error(`Introspection result missing field args: ${t}.`);
		}
		return {
			description: e.description,
			deprecationReason: e.deprecationReason,
			type: t,
			args: T(e.args)
		};
	}
	function T(e) {
		return b(e, (e) => e.name, O);
	}
	function O(e) {
		let t = c(e.type);
		if (!it(t)) {
			let e = _(t);
			throw Error(`Introspection must provide input type for arguments, but received: ${e}.`);
		}
		return {
			description: e.description,
			type: t,
			default: e.defaultValue == null ? void 0 : { literal: ue(e.defaultValue) },
			deprecationReason: e.deprecationReason
		};
	}
	function A(e) {
		if (e.args == null) {
			let t = _(e);
			throw Error(`Introspection result missing directive args: ${t}.`);
		}
		if (e.locations == null) {
			let t = _(e);
			throw Error(`Introspection result missing directive locations: ${t}.`);
		}
		return new E({
			name: e.name,
			description: e.description,
			isRepeatable: e.isRepeatable,
			deprecationReason: e.deprecationReason,
			locations: e.locations.slice(),
			args: T(e.args)
		});
	}
}
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/utilities/valueFromAST.mjs
function ca(e, t, n) {
	if (e) {
		if (e.kind === "Variable") {
			let r = e.name.value;
			if (n == null || !Object.hasOwn(n, r)) return;
			let i = n[r];
			return i === void 0 || i === null && oe(t) ? void 0 : i;
		}
		if (oe(t)) return e.kind === "NullValue" ? void 0 : ca(e, t.ofType, n);
		if (e.kind === "NullValue") return null;
		if (j(t)) {
			let r = t.ofType;
			if (e.kind === "ListValue") {
				let t = [];
				for (let i of e.values) if (la(i, n)) {
					if (oe(r)) return;
					t.push(null);
				} else {
					let e = ca(i, r, n);
					if (e === void 0) return;
					t.push(e);
				}
				return t;
			}
			let i = ca(e, r, n);
			return i === void 0 ? void 0 : [i];
		}
		if (re(t)) {
			if (e.kind !== "ObjectValue") return;
			let r = Object.create(null), i = t.getFields();
			if (e.fields.some((e) => !Object.hasOwn(i, e.name.value))) return;
			let a = new Map(e.fields.map((e) => [e.name.value, e]));
			for (let e of Object.values(i)) {
				let t = a.get(e.name);
				if (t == null || la(t.value, n)) {
					if (e.defaultValue !== void 0) r[e.name] = e.defaultValue;
					else if (oe(e.type)) return;
					continue;
				}
				let i = ca(t.value, e.type, n);
				if (i === void 0) return;
				r[e.name] = i;
			}
			if (t.isOneOf) {
				let e = Object.keys(r);
				if (a.size !== 1 || e.length !== 1) return;
				for (let [e, t] of a) if (t.value.kind === "NullValue" || r[e] === null) return;
			}
			return r;
		}
		if (tt(t)) {
			let r;
			try {
				r = t.parseLiteral(e, n);
			} catch {
				return;
			}
			return r === void 0 ? void 0 : r;
		}
		ne(!1, "Unexpected input type: " + _(t));
	}
}
function la(e, t) {
	return e.kind === "Variable" && (t == null || !Object.hasOwn(t, e.name.value) || t[e.name.value] === void 0);
}
// ../../../node_modules/.pnpm/graphql@17.1.0/node_modules/graphql/utilities/stripIgnoredCharacters.mjs
function ua(e) {
	let t = Pt(e) ? e : new s(e), n = t.body, r = new pe(t), i = "", a = !1;
	for (; r.advance().kind !== u.EOF;) {
		let e = r.token, t = e.kind, o = !p(e.kind);
		a && (o || e.kind === u.SPREAD) && (i += " ");
		let s = n.slice(e.start, e.end);
		t === u.BLOCK_STRING ? i += ve(e.value, { minimize: !0 }) : i += s, a = o;
	}
	return i;
}
// src/lib/schema-path.ts
var da = "on:";
function fa(e) {
	return `${da}${e}`;
}
function pa(e) {
	return e.startsWith(da) && e.slice(3) || null;
}
var ma = (e) => {
	let t = pa(e);
	return t === null ? {
		kind: "field",
		name: e
	} : {
		kind: "typeCondition",
		typeName: t
	};
}, ha = (e) => {
	switch (e) {
		case "query": return m.QUERY;
		case "mutation": return m.MUTATION;
		case "subscription": return m.SUBSCRIPTION;
		default: return null;
	}
};
function ga(e) {
	let [t, ...n] = e.split(".");
	return {
		operation: ha(t),
		segments: n.map(ma)
	};
}
var _a = (e, t) => {
	switch (e) {
		case m.QUERY: return t.getQueryType();
		case m.MUTATION: return t.getMutationType();
		case m.SUBSCRIPTION: return t.getSubscriptionType();
	}
};
function va(e, t) {
	let { operation: n, segments: r } = ga(e);
	if (!n || r.length === 0) return null;
	let a = _a(n, t), s = [];
	for (let e of r) {
		if (!a) return null;
		if (e.kind === "typeCondition") {
			let n = t.getType(e.typeName);
			if (!n || !C(n)) return null;
			if (C(a)) {
				if (a.name !== n.name) return null;
			} else if (o(a) || i(a)) {
				if (!t.isSubType(a, n)) return null;
			} else return null;
			s.push({
				segment: e,
				parentType: a,
				field: null,
				type: n
			}), a = n;
			continue;
		}
		if (!C(a) && !i(a)) return null;
		let n = a.getFields()[e.name];
		if (!n) return null;
		let r = l(n.type);
		s.push({
			segment: e,
			parentType: a,
			field: n,
			type: r
		}), a = r;
	}
	return s;
}
// src/lib/docs.ts
var ya = (e, t) => {
	if (!t) return null;
	let n = va(e.join("."), t)?.at(-1);
	return n ? n.field ? {
		kind: "field",
		typeName: n.parentType.name,
		fieldName: n.field.name
	} : {
		kind: "type",
		name: n.type.name
	} : null;
}, ba = (e) => {
	let [t, n] = U(e.defaultActivePanel ?? null), [r, i] = U([]), a = z((e) => {
		i((t) => [...t, e]);
	}, []), o = z(() => {
		i((e) => e.slice(0, -1));
	}, []), s = z(() => {
		i([]);
	}, []);
	return {
		activePanel: t,
		docsNavStack: r,
		setActivePanel: n,
		openDocs: z((e) => {
			n("docs"), e && i((t) => [...t, e]);
		}, []),
		pushDocs: a,
		popDocs: o,
		resetDocs: s
	};
}, xa = class {
	constructor(e, t) {
		this.lessThanOrEqualTo = (e) => this.line < e.line || this.line === e.line && this.character <= e.character, this.line = e, this.character = t;
	}
	setLine(e) {
		this.line = e;
	}
	setCharacter(e) {
		this.character = e;
	}
};
// ../../../node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/basic-languages/yaml/yaml.contribution.js
I({
	id: "abap",
	extensions: [".abap"],
	aliases: ["abap", "ABAP"],
	loader: () => import("./abap-DJfVjCTn.js")
}), I({
	id: "apex",
	extensions: [".cls"],
	aliases: ["Apex", "apex"],
	mimetypes: ["text/x-apex-source", "text/x-apex"],
	loader: () => import("./apex-C-wizs8H.js")
}), I({
	id: "azcli",
	extensions: [".azcli"],
	aliases: ["Azure CLI", "azcli"],
	loader: () => import("./azcli-JLo_QJ6Q.js")
}), I({
	id: "bat",
	extensions: [".bat", ".cmd"],
	aliases: ["Batch", "bat"],
	loader: () => import("./bat-D4Oxqg4W.js")
}), I({
	id: "bicep",
	extensions: [".bicep"],
	aliases: ["Bicep"],
	loader: () => import("./bicep-CLGstFal.js")
}), I({
	id: "cameligo",
	extensions: [".mligo"],
	aliases: ["Cameligo"],
	loader: () => import("./cameligo-BzyIOZ6x.js")
}), I({
	id: "clojure",
	extensions: [
		".clj",
		".cljs",
		".cljc",
		".edn"
	],
	aliases: ["clojure", "Clojure"],
	loader: () => import("./clojure-Bc7-6ogM.js")
}), I({
	id: "coffeescript",
	extensions: [".coffee"],
	aliases: [
		"CoffeeScript",
		"coffeescript",
		"coffee"
	],
	mimetypes: ["text/x-coffeescript", "text/coffeescript"],
	loader: () => import("./coffee-DiMY_LXM.js")
}), I({
	id: "c",
	extensions: [".c", ".h"],
	aliases: ["C", "c"],
	loader: () => import("./cpp-C5tCL4fN.js")
}), I({
	id: "cpp",
	extensions: [
		".cpp",
		".cc",
		".cxx",
		".hpp",
		".hh",
		".hxx"
	],
	aliases: [
		"C++",
		"Cpp",
		"cpp"
	],
	loader: () => import("./cpp-C5tCL4fN.js")
}), I({
	id: "csharp",
	extensions: [
		".cs",
		".csx",
		".cake"
	],
	aliases: ["C#", "csharp"],
	loader: () => import("./csharp-M47Gfx0S.js")
}), I({
	id: "csp",
	extensions: [".csp"],
	aliases: ["CSP", "csp"],
	loader: () => import("./csp-D-VNNbm2.js")
}), I({
	id: "css",
	extensions: [".css"],
	aliases: ["CSS", "css"],
	mimetypes: ["text/css"],
	loader: () => import("./css-4vQ207et.js")
}), I({
	id: "cypher",
	extensions: [".cypher", ".cyp"],
	aliases: ["Cypher", "OpenCypher"],
	loader: () => import("./cypher-CG2Fo8Ab.js")
}), I({
	id: "dart",
	extensions: [".dart"],
	aliases: ["Dart", "dart"],
	mimetypes: ["text/x-dart-source", "text/x-dart"],
	loader: () => import("./dart-Dh1KcolM.js")
}), I({
	id: "dockerfile",
	extensions: [".dockerfile"],
	filenames: ["Dockerfile"],
	aliases: ["Dockerfile"],
	loader: () => import("./dockerfile-BPon5q1x.js")
}), I({
	id: "ecl",
	extensions: [".ecl"],
	aliases: [
		"ECL",
		"Ecl",
		"ecl"
	],
	loader: () => import("./ecl-D-nKmbfj.js")
}), I({
	id: "elixir",
	extensions: [".ex", ".exs"],
	aliases: [
		"Elixir",
		"elixir",
		"ex"
	],
	loader: () => import("./elixir-CxwOyso8.js")
}), I({
	id: "flow9",
	extensions: [".flow"],
	aliases: [
		"Flow9",
		"Flow",
		"flow9",
		"flow"
	],
	loader: () => import("./flow9-DlxxldFa.js")
}), I({
	id: "fsharp",
	extensions: [
		".fs",
		".fsi",
		".ml",
		".mli",
		".fsx",
		".fsscript"
	],
	aliases: [
		"F#",
		"FSharp",
		"fsharp"
	],
	loader: () => import("./fsharp-xsFpyPjh.js")
}), I({
	id: "freemarker2",
	extensions: [
		".ftl",
		".ftlh",
		".ftlx"
	],
	aliases: ["FreeMarker2", "Apache FreeMarker2"],
	loader: () => import("./freemarker2-y8ufgtkW.js").then((e) => e.TagAutoInterpolationDollar)
}), I({
	id: "freemarker2.tag-angle.interpolation-dollar",
	aliases: ["FreeMarker2 (Angle/Dollar)", "Apache FreeMarker2 (Angle/Dollar)"],
	loader: () => import("./freemarker2-y8ufgtkW.js").then((e) => e.TagAngleInterpolationDollar)
}), I({
	id: "freemarker2.tag-bracket.interpolation-dollar",
	aliases: ["FreeMarker2 (Bracket/Dollar)", "Apache FreeMarker2 (Bracket/Dollar)"],
	loader: () => import("./freemarker2-y8ufgtkW.js").then((e) => e.TagBracketInterpolationDollar)
}), I({
	id: "freemarker2.tag-angle.interpolation-bracket",
	aliases: ["FreeMarker2 (Angle/Bracket)", "Apache FreeMarker2 (Angle/Bracket)"],
	loader: () => import("./freemarker2-y8ufgtkW.js").then((e) => e.TagAngleInterpolationBracket)
}), I({
	id: "freemarker2.tag-bracket.interpolation-bracket",
	aliases: ["FreeMarker2 (Bracket/Bracket)", "Apache FreeMarker2 (Bracket/Bracket)"],
	loader: () => import("./freemarker2-y8ufgtkW.js").then((e) => e.TagBracketInterpolationBracket)
}), I({
	id: "freemarker2.tag-auto.interpolation-dollar",
	aliases: ["FreeMarker2 (Auto/Dollar)", "Apache FreeMarker2 (Auto/Dollar)"],
	loader: () => import("./freemarker2-y8ufgtkW.js").then((e) => e.TagAutoInterpolationDollar)
}), I({
	id: "freemarker2.tag-auto.interpolation-bracket",
	aliases: ["FreeMarker2 (Auto/Bracket)", "Apache FreeMarker2 (Auto/Bracket)"],
	loader: () => import("./freemarker2-y8ufgtkW.js").then((e) => e.TagAutoInterpolationBracket)
}), I({
	id: "go",
	extensions: [".go"],
	aliases: ["Go"],
	loader: () => import("./go-D9iGli1e.js")
}), I({
	id: "handlebars",
	extensions: [".handlebars", ".hbs"],
	aliases: [
		"Handlebars",
		"handlebars",
		"hbs"
	],
	mimetypes: ["text/x-handlebars-template"],
	loader: () => import("./handlebars-HjDbVRH1.js")
}), I({
	id: "hcl",
	extensions: [
		".tf",
		".tfvars",
		".hcl"
	],
	aliases: [
		"Terraform",
		"tf",
		"HCL",
		"hcl"
	],
	loader: () => import("./hcl-BiW11Dn4.js")
}), I({
	id: "html",
	extensions: [
		".html",
		".htm",
		".shtml",
		".xhtml",
		".mdoc",
		".jsp",
		".asp",
		".aspx",
		".jshtm"
	],
	aliases: [
		"HTML",
		"htm",
		"html",
		"xhtml"
	],
	mimetypes: [
		"text/html",
		"text/x-jshtm",
		"text/template",
		"text/ng-template"
	],
	loader: () => import("./html-uyIDVwfF.js")
}), I({
	id: "ini",
	extensions: [
		".ini",
		".properties",
		".gitconfig"
	],
	filenames: [
		"config",
		".gitattributes",
		".gitconfig",
		".editorconfig"
	],
	aliases: ["Ini", "ini"],
	loader: () => import("./ini-BIL1DCs9.js")
}), I({
	id: "java",
	extensions: [".java", ".jav"],
	aliases: ["Java", "java"],
	mimetypes: ["text/x-java-source", "text/x-java"],
	loader: () => import("./java-Cp3YjMJt.js")
}), I({
	id: "javascript",
	extensions: [
		".js",
		".es6",
		".jsx",
		".mjs",
		".cjs"
	],
	firstLine: "^#!.*\\bnode",
	filenames: ["jakefile"],
	aliases: [
		"JavaScript",
		"javascript",
		"js"
	],
	mimetypes: ["text/javascript"],
	loader: () => import("./javascript-yYhnPOiP.js")
}), I({
	id: "julia",
	extensions: [".jl"],
	aliases: ["julia", "Julia"],
	loader: () => import("./julia-BrSinb_r.js")
}), I({
	id: "kotlin",
	extensions: [".kt", ".kts"],
	aliases: ["Kotlin", "kotlin"],
	mimetypes: ["text/x-kotlin-source", "text/x-kotlin"],
	loader: () => import("./kotlin-E7wpLXOv.js")
}), I({
	id: "less",
	extensions: [".less"],
	aliases: ["Less", "less"],
	mimetypes: ["text/x-less", "text/less"],
	loader: () => import("./less-JSVfu2uE.js")
}), I({
	id: "lexon",
	extensions: [".lex"],
	aliases: ["Lexon"],
	loader: () => import("./lexon-BCjf-OlJ.js")
}), I({
	id: "lua",
	extensions: [".lua"],
	aliases: ["Lua", "lua"],
	loader: () => import("./lua-C_QjWI8D.js")
}), I({
	id: "liquid",
	extensions: [".liquid", ".html.liquid"],
	aliases: ["Liquid", "liquid"],
	mimetypes: ["application/liquid"],
	loader: () => import("./liquid-BH9DqTRo.js")
}), I({
	id: "m3",
	extensions: [
		".m3",
		".i3",
		".mg",
		".ig"
	],
	aliases: [
		"Modula-3",
		"Modula3",
		"modula3",
		"m3"
	],
	loader: () => import("./m3-CYFZg2F9.js")
}), I({
	id: "markdown",
	extensions: [
		".md",
		".markdown",
		".mdown",
		".mkdn",
		".mkd",
		".mdwn",
		".mdtxt",
		".mdtext"
	],
	aliases: ["Markdown", "markdown"],
	loader: () => import("./markdown-DZRg9xdi.js")
}), I({
	id: "mdx",
	extensions: [".mdx"],
	aliases: ["MDX", "mdx"],
	loader: () => import("./mdx-BDpN4ykY.js")
}), I({
	id: "mips",
	extensions: [".s"],
	aliases: ["MIPS", "MIPS-V"],
	mimetypes: [
		"text/x-mips",
		"text/mips",
		"text/plaintext"
	],
	loader: () => import("./mips-BefGfqJ8.js")
}), I({
	id: "msdax",
	extensions: [".dax", ".msdax"],
	aliases: ["DAX", "MSDAX"],
	loader: () => import("./msdax-BUmzJZpL.js")
}), I({
	id: "mysql",
	extensions: [],
	aliases: ["MySQL", "mysql"],
	loader: () => import("./mysql-DY0HKDZF.js")
}), I({
	id: "objective-c",
	extensions: [".m"],
	aliases: ["Objective-C"],
	loader: () => import("./objective-c-CdVs4RRa.js")
}), I({
	id: "pascal",
	extensions: [
		".pas",
		".p",
		".pp"
	],
	aliases: ["Pascal", "pas"],
	mimetypes: ["text/x-pascal-source", "text/x-pascal"],
	loader: () => import("./pascal-CP9BQd9R.js")
}), I({
	id: "pascaligo",
	extensions: [".ligo"],
	aliases: ["Pascaligo", "ligo"],
	loader: () => import("./pascaligo-pOPo8Vin.js")
}), I({
	id: "perl",
	extensions: [".pl", ".pm"],
	aliases: ["Perl", "pl"],
	loader: () => import("./perl-C52DvlcU.js")
}), I({
	id: "pgsql",
	extensions: [],
	aliases: [
		"PostgreSQL",
		"postgres",
		"pg",
		"postgre"
	],
	loader: () => import("./pgsql-BOA0D5zF.js")
}), I({
	id: "php",
	extensions: [
		".php",
		".php4",
		".php5",
		".phtml",
		".ctp"
	],
	aliases: ["PHP", "php"],
	mimetypes: ["application/x-php"],
	loader: () => import("./php-JQJW7hNl.js")
}), I({
	id: "pla",
	extensions: [".pla"],
	loader: () => import("./pla-CAviQYLC.js")
}), I({
	id: "postiats",
	extensions: [
		".dats",
		".sats",
		".hats"
	],
	aliases: ["ATS", "ATS/Postiats"],
	loader: () => import("./postiats-BADVPZtc.js")
}), I({
	id: "powerquery",
	extensions: [".pq", ".pqm"],
	aliases: [
		"PQ",
		"M",
		"Power Query",
		"Power Query M"
	],
	loader: () => import("./powerquery-CWIAT5r_.js")
}), I({
	id: "powershell",
	extensions: [
		".ps1",
		".psm1",
		".psd1"
	],
	aliases: [
		"PowerShell",
		"powershell",
		"ps",
		"ps1"
	],
	loader: () => import("./powershell-C3yaJ_JE.js")
}), I({
	id: "proto",
	extensions: [".proto"],
	aliases: ["protobuf", "Protocol Buffers"],
	loader: () => import("./protobuf-CZdStSFi.js")
}), I({
	id: "pug",
	extensions: [".jade", ".pug"],
	aliases: [
		"Pug",
		"Jade",
		"jade"
	],
	loader: () => import("./pug-BGwtpptB.js")
}), I({
	id: "python",
	extensions: [
		".py",
		".rpy",
		".pyw",
		".cpy",
		".gyp",
		".gypi"
	],
	aliases: ["Python", "py"],
	firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
	loader: () => import("./python-Cwv1krk1.js")
}), I({
	id: "qsharp",
	extensions: [".qs"],
	aliases: ["Q#", "qsharp"],
	loader: () => import("./qsharp-Pl2G9hBi.js")
}), I({
	id: "r",
	extensions: [
		".r",
		".rhistory",
		".rmd",
		".rprofile",
		".rt"
	],
	aliases: ["R", "r"],
	loader: () => import("./r-DK9Om0Yu.js")
}), I({
	id: "razor",
	extensions: [".cshtml"],
	aliases: ["Razor", "razor"],
	mimetypes: ["text/x-cshtml"],
	loader: () => import("./razor-dwsRCg_i.js")
}), I({
	id: "redis",
	extensions: [".redis"],
	aliases: ["redis"],
	loader: () => import("./redis-CWNAamdd.js")
}), I({
	id: "redshift",
	extensions: [],
	aliases: ["Redshift", "redshift"],
	loader: () => import("./redshift-D1YU59wy.js")
}), I({
	id: "restructuredtext",
	extensions: [".rst"],
	aliases: ["reStructuredText", "restructuredtext"],
	loader: () => import("./restructuredtext-BD_WI4Pb.js")
}), I({
	id: "ruby",
	extensions: [
		".rb",
		".rbx",
		".rjs",
		".gemspec",
		".pp"
	],
	filenames: ["rakefile", "Gemfile"],
	aliases: ["Ruby", "rb"],
	loader: () => import("./ruby-BGJ2whxA.js")
}), I({
	id: "rust",
	extensions: [".rs", ".rlib"],
	aliases: ["Rust", "rust"],
	loader: () => import("./rust-BmJtAoEt.js")
}), I({
	id: "sb",
	extensions: [".sb"],
	aliases: ["Small Basic", "sb"],
	loader: () => import("./sb-7HHCLl-B.js")
}), I({
	id: "scala",
	extensions: [
		".scala",
		".sc",
		".sbt"
	],
	aliases: [
		"Scala",
		"scala",
		"SBT",
		"Sbt",
		"sbt",
		"Dotty",
		"dotty"
	],
	mimetypes: [
		"text/x-scala-source",
		"text/x-scala",
		"text/x-sbt",
		"text/x-dotty"
	],
	loader: () => import("./scala-BqVt48RY.js")
}), I({
	id: "scheme",
	extensions: [
		".scm",
		".ss",
		".sch",
		".rkt"
	],
	aliases: ["scheme", "Scheme"],
	loader: () => import("./scheme-fRru7VA9.js")
}), I({
	id: "scss",
	extensions: [".scss"],
	aliases: [
		"Sass",
		"sass",
		"scss"
	],
	mimetypes: ["text/x-scss", "text/scss"],
	loader: () => import("./scss-hYSduByp.js")
}), I({
	id: "shell",
	extensions: [".sh", ".bash"],
	aliases: ["Shell", "sh"],
	loader: () => import("./shell-wdpWN_OX.js")
}), I({
	id: "sol",
	extensions: [".sol"],
	aliases: [
		"sol",
		"solidity",
		"Solidity"
	],
	loader: () => import("./solidity-DSfUs86b.js")
}), I({
	id: "aes",
	extensions: [".aes"],
	aliases: [
		"aes",
		"sophia",
		"Sophia"
	],
	loader: () => import("./sophia-BT7C9vQj.js")
}), I({
	id: "sparql",
	extensions: [".rq"],
	aliases: ["sparql", "SPARQL"],
	loader: () => import("./sparql-B97_WiX_.js")
}), I({
	id: "sql",
	extensions: [".sql"],
	aliases: ["SQL"],
	loader: () => import("./sql-DffsI-sh.js")
}), I({
	id: "st",
	extensions: [
		".st",
		".iecst",
		".iecplc",
		".lc3lib",
		".TcPOU",
		".TcDUT",
		".TcGVL",
		".TcIO"
	],
	aliases: [
		"StructuredText",
		"scl",
		"stl"
	],
	loader: () => import("./st-B6mixH59.js")
}), I({
	id: "swift",
	aliases: ["Swift", "swift"],
	extensions: [".swift"],
	mimetypes: ["text/swift"],
	loader: () => import("./swift-Cmh0PLyA.js")
}), I({
	id: "systemverilog",
	extensions: [".sv", ".svh"],
	aliases: [
		"SV",
		"sv",
		"SystemVerilog",
		"systemverilog"
	],
	loader: () => import("./systemverilog-B559cS0l.js")
}), I({
	id: "verilog",
	extensions: [".v", ".vh"],
	aliases: [
		"V",
		"v",
		"Verilog",
		"verilog"
	],
	loader: () => import("./systemverilog-B559cS0l.js")
}), I({
	id: "tcl",
	extensions: [".tcl"],
	aliases: [
		"tcl",
		"Tcl",
		"tcltk",
		"TclTk",
		"tcl/tk",
		"Tcl/Tk"
	],
	loader: () => import("./tcl-CZ8xc4U0.js")
}), I({
	id: "twig",
	extensions: [".twig"],
	aliases: ["Twig", "twig"],
	mimetypes: ["text/x-twig"],
	loader: () => import("./twig-f5T3Rmt6.js")
}), I({
	id: "typescript",
	extensions: [
		".ts",
		".tsx",
		".cts",
		".mts"
	],
	aliases: [
		"TypeScript",
		"ts",
		"typescript"
	],
	mimetypes: ["text/typescript"],
	loader: () => import("./typescript-CX5OeLyd.js")
}), I({
	id: "typespec",
	extensions: [".tsp"],
	aliases: ["TypeSpec"],
	loader: () => import("./typespec-C3kqPTVN.js")
}), I({
	id: "vb",
	extensions: [".vb"],
	aliases: ["Visual Basic", "vb"],
	loader: () => import("./vb-NoM0CyQk.js")
}), I({
	id: "wgsl",
	extensions: [".wgsl"],
	aliases: [
		"WebGPU Shading Language",
		"WGSL",
		"wgsl"
	],
	loader: () => import("./wgsl-BozHp15f.js")
}), I({
	id: "xml",
	extensions: [
		".xml",
		".xsd",
		".dtd",
		".ascx",
		".csproj",
		".config",
		".props",
		".targets",
		".wxi",
		".wxl",
		".wxs",
		".xaml",
		".svg",
		".svgz",
		".opf",
		".xslt",
		".xsl"
	],
	firstLine: "(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",
	aliases: ["XML", "xml"],
	mimetypes: [
		"text/xml",
		"application/xml",
		"application/xaml+xml",
		"application/xml-dtd"
	],
	loader: () => import("./xml-y45JvZu_.js")
}), I({
	id: "yaml",
	extensions: [".yaml", ".yml"],
	aliases: [
		"YAML",
		"yaml",
		"YML",
		"yml"
	],
	mimetypes: ["application/x-yaml", "text/x-yaml"],
	loader: () => import("./yaml-D1B9FGwj.js")
});
// ../../../node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/language/css/monaco.contribution.js
var Sa = Object.defineProperty, Ca = Object.getOwnPropertyDescriptor, wa = Object.getOwnPropertyNames, Ta = Object.prototype.hasOwnProperty, Ea = (e, t, n, r) => {
	if (t && typeof t == "object" || typeof t == "function") for (let i of wa(t)) !Ta.call(e, i) && i !== n && Sa(e, i, {
		get: () => t[i],
		enumerable: !(r = Ca(t, i)) || r.enumerable
	});
	return e;
}, Da = (e, t, n) => (Ea(e, t, "default"), n && Ea(n, t, "default")), Oa = {};
Da(Oa, nn);
var ka = class {
	constructor(e, t, n) {
		this._onDidChange = new Oa.Emitter(), this._languageId = e, this.setOptions(t), this.setModeConfiguration(n);
	}
	get onDidChange() {
		return this._onDidChange.event;
	}
	get languageId() {
		return this._languageId;
	}
	get modeConfiguration() {
		return this._modeConfiguration;
	}
	get diagnosticsOptions() {
		return this.options;
	}
	get options() {
		return this._options;
	}
	setOptions(e) {
		this._options = e || /* @__PURE__ */ Object.create(null), this._onDidChange.fire(this);
	}
	setDiagnosticsOptions(e) {
		this.setOptions(e);
	}
	setModeConfiguration(e) {
		this._modeConfiguration = e || /* @__PURE__ */ Object.create(null), this._onDidChange.fire(this);
	}
}, Aa = {
	validate: !0,
	lint: {
		compatibleVendorPrefixes: "ignore",
		vendorPrefix: "warning",
		duplicateProperties: "warning",
		emptyRules: "warning",
		importStatement: "ignore",
		boxModel: "ignore",
		universalSelector: "ignore",
		zeroUnits: "ignore",
		fontFaceProperties: "warning",
		hexColorLength: "error",
		argumentsInColorFunction: "error",
		unknownProperties: "warning",
		ieHack: "ignore",
		unknownVendorSpecificProperties: "ignore",
		propertyIgnoredDueToDisplay: "warning",
		important: "ignore",
		float: "ignore",
		idSelector: "ignore"
	},
	data: { useDefaultDataProvider: !0 },
	format: {
		newlineBetweenSelectors: !0,
		newlineBetweenRules: !0,
		spaceAroundSelectorSeparator: !1,
		braceStyle: "collapse",
		maxPreserveNewLines: void 0,
		preserveNewLines: !0
	}
}, ja = {
	completionItems: !0,
	hovers: !0,
	documentSymbols: !0,
	definitions: !0,
	references: !0,
	documentHighlights: !0,
	rename: !0,
	colors: !0,
	foldingRanges: !0,
	diagnostics: !0,
	selectionRanges: !0,
	documentFormattingEdits: !0,
	documentRangeFormattingEdits: !0
}, Ma = new ka("css", Aa, ja), Na = new ka("scss", Aa, ja), Pa = new ka("less", Aa, ja);
Oa.languages.css = {
	cssDefaults: Ma,
	lessDefaults: Pa,
	scssDefaults: Na
};
function Fa() {
	return import("./cssMode-DI4knJrA.js");
}
Oa.languages.onLanguage("less", () => {
	Fa().then((e) => e.setupMode(Pa));
}), Oa.languages.onLanguage("scss", () => {
	Fa().then((e) => e.setupMode(Na));
}), Oa.languages.onLanguage("css", () => {
	Fa().then((e) => e.setupMode(Ma));
});
// ../../../node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/language/html/monaco.contribution.js
var Ia = Object.defineProperty, La = Object.getOwnPropertyDescriptor, Ra = Object.getOwnPropertyNames, za = Object.prototype.hasOwnProperty, Ba = (e, t, n, r) => {
	if (t && typeof t == "object" || typeof t == "function") for (let i of Ra(t)) !za.call(e, i) && i !== n && Ia(e, i, {
		get: () => t[i],
		enumerable: !(r = La(t, i)) || r.enumerable
	});
	return e;
}, Va = (e, t, n) => (Ba(e, t, "default"), n && Ba(n, t, "default")), Ha = {};
Va(Ha, nn);
var Ua = class {
	constructor(e, t, n) {
		this._onDidChange = new Ha.Emitter(), this._languageId = e, this.setOptions(t), this.setModeConfiguration(n);
	}
	get onDidChange() {
		return this._onDidChange.event;
	}
	get languageId() {
		return this._languageId;
	}
	get options() {
		return this._options;
	}
	get modeConfiguration() {
		return this._modeConfiguration;
	}
	setOptions(e) {
		this._options = e || /* @__PURE__ */ Object.create(null), this._onDidChange.fire(this);
	}
	setModeConfiguration(e) {
		this._modeConfiguration = e || /* @__PURE__ */ Object.create(null), this._onDidChange.fire(this);
	}
}, Wa = {
	format: {
		tabSize: 4,
		insertSpaces: !1,
		wrapLineLength: 120,
		unformatted: "default\": \"a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var",
		contentUnformatted: "pre",
		indentInnerHtml: !1,
		preserveNewLines: !0,
		maxPreserveNewLines: void 0,
		indentHandlebars: !1,
		endWithNewline: !1,
		extraLiners: "head, body, /html",
		wrapAttributes: "auto"
	},
	suggest: {},
	data: { useDefaultDataProvider: !0 }
};
function Ga(e) {
	return {
		completionItems: !0,
		hovers: !0,
		documentSymbols: !0,
		links: !0,
		documentHighlights: !0,
		rename: !0,
		colors: !0,
		foldingRanges: !0,
		selectionRanges: !0,
		diagnostics: e === Ka,
		documentFormattingEdits: e === Ka,
		documentRangeFormattingEdits: e === Ka
	};
}
var Ka = "html", qa = "handlebars", Ja = "razor", Ya = no(Ka, Wa, Ga(Ka)), Xa = Ya.defaults, Za = no(qa, Wa, Ga(qa)), Qa = Za.defaults, $a = no(Ja, Wa, Ga(Ja)), eo = $a.defaults;
Ha.languages.html = {
	htmlDefaults: Xa,
	razorDefaults: eo,
	handlebarDefaults: Qa,
	htmlLanguageService: Ya,
	handlebarLanguageService: Za,
	razorLanguageService: $a,
	registerHTMLLanguageService: no
};
function to() {
	return import("./htmlMode-DzAGauTE.js");
}
function no(e, t = Wa, n = Ga(e)) {
	let r = new Ua(e, t, n), i, a = Ha.languages.onLanguage(e, async () => {
		i = (await to()).setupMode(r);
	});
	return {
		defaults: r,
		dispose() {
			a.dispose(), i?.dispose(), i = void 0;
		}
	};
}
// ../../../node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/editor.main.js
var ro = /* @__PURE__ */ Jt({
	CancellationTokenSource: () => ln,
	Emitter: () => rn,
	KeyCode: () => sn,
	KeyMod: () => en,
	MarkerSeverity: () => Yt,
	MarkerTag: () => an,
	Position: () => cn,
	Range: () => Xt,
	Selection: () => tn,
	SelectionDirection: () => un,
	Token: () => Zt,
	Uri: () => Qt,
	editor: () => on,
	languages: () => $t
}), io = "hive-laboratory.openDocs", ao = (e) => new xa(e.lineNumber - 1, e.column - 1), oo = (e, t, n) => {
	let r = Xe(t, ao(n), e);
	if (!r) return null;
	let { typeInfo: i } = r;
	if (i.fieldDef && i.parentType) return {
		kind: "field",
		typeName: l(i.parentType).name,
		fieldName: i.fieldDef.name
	};
	let a = i.type ?? i.inputType;
	return a ? {
		kind: "type",
		name: l(a).name
	} : null;
}, so = (e) => {
	let t = on.registerCommand(io, (t, ...n) => {
		e.openDocs(n[0]);
	}), n = $t.registerHoverProvider("graphql", { provideHover(t, n) {
		let r = e.getSchema();
		if (!r) return null;
		let i = t.getValue(), a = dt(r, i, ao(n), void 0, { useMarkdown: !0 });
		if (!a || typeof a != "string") return null;
		let o = [{ value: a }], s = oo(r, i, n);
		return s && o.push({
			isTrusted: !0,
			value: `[Open in Docs](command:${io}?${encodeURIComponent(JSON.stringify([s]))})`
		}), { contents: o };
	} });
	return () => {
		n.dispose(), t.dispose();
	};
}, co = /@font-face\s*\{[^}]*\}/g, lo = "data-hive-laboratory-fonts", uo = !1;
function fo(e) {
	if (uo || typeof document > "u" || (uo = !0, document.head.querySelector(`[${lo}]`))) return;
	let t = e.match(co);
	if (!t?.length) return;
	let n = document.createElement("style");
	n.setAttribute(lo, ""), n.textContent = t.join("\n"), document.head.append(n);
}
// ../../../node_modules/.pnpm/sonner@2.0.7_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.mjs
var po = (/* @__PURE__ */ qt(((e, t, n) => {
	(function() {
		var n, r = "Expected a function", i = "__lodash_hash_undefined__", a = "__lodash_placeholder__", o = 1, s = 2, c = 8, l = 16, u = 32, d = 64, f = 128, p = 256, m = 512, h = 1 / 0, g = 9007199254740991, _ = 17976931348623157e292, v = NaN, y = 4294967295, b = y - 1, x = y >>> 1, S = [
			["ary", f],
			["bind", o],
			["bindKey", s],
			["curry", c],
			["curryRight", l],
			["flip", m],
			["partial", u],
			["partialRight", d],
			["rearg", p]
		], C = "[object Arguments]", w = "[object Array]", T = "[object AsyncFunction]", E = "[object Boolean]", D = "[object Date]", O = "[object DOMException]", k = "[object Error]", A = "[object Function]", ee = "[object GeneratorFunction]", j = "[object Map]", M = "[object Number]", N = "[object Null]", te = "[object Object]", P = "[object Promise]", ne = "[object Proxy]", re = "[object RegExp]", ie = "[object Set]", ae = "[object String]", oe = "[object Symbol]", se = "[object Undefined]", ce = "[object WeakMap]", le = "[object WeakSet]", ue = "[object ArrayBuffer]", de = "[object DataView]", fe = "[object Float32Array]", pe = "[object Float64Array]", me = "[object Int8Array]", he = "[object Int16Array]", ge = "[object Int32Array]", _e = "[object Uint8Array]", ve = "[object Uint8ClampedArray]", ye = "[object Uint16Array]", be = "[object Uint32Array]", xe = /\b__p \+= '';/g, Se = /\b(__p \+=) '' \+/g, Ce = /(__e\(.*?\)|\b__t\)) \+\n'';/g, we = /&(?:amp|lt|gt|quot|#39);/g, Te = /[&<>"']/g, Ee = RegExp(we.source), De = RegExp(Te.source), Oe = /<%-([\s\S]+?)%>/g, ke = /<%([\s\S]+?)%>/g, Ae = /<%=([\s\S]+?)%>/g, je = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Me = /^\w*$/, Ne = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Pe = /[\\^$.*+?()[\]{}|]/g, Fe = RegExp(Pe.source), Ie = /^\s+/, Le = /\s/, Re = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, ze = /\{\n\/\* \[wrapped with (.+)\] \*/, Be = /,? & /, Ve = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, He = /[()=,{}\[\]\/\s]/, Ue = /\\(\\)?/g, We = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Ge = /\w*$/, Ke = /^[-+]0x[0-9a-f]+$/i, qe = /^0b[01]+$/i, Je = /^\[object .+?Constructor\]$/, Ye = /^0o[0-7]+$/i, Xe = /^(?:0|[1-9]\d*)$/, Ze = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Qe = /($^)/, $e = /['\n\r\u2028\u2029\\]/g, et = "\\ud800-\\udfff", tt = "\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff", nt = "\\u2700-\\u27bf", rt = "a-z\\xdf-\\xf6\\xf8-\\xff", it = "\\xac\\xb1\\xd7\\xf7", at = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", ot = "\\u2000-\\u206f", st = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", ct = "A-Z\\xc0-\\xd6\\xd8-\\xde", lt = "\\ufe0e\\ufe0f", ut = it + at + ot + st, dt = "['’]", F = "[" + et + "]", ft = "[" + ut + "]", pt = "[" + tt + "]", mt = "\\d+", ht = "[" + nt + "]", gt = "[" + rt + "]", _t = "[^" + et + ut + mt + nt + rt + ct + "]", vt = "\\ud83c[\\udffb-\\udfff]", yt = "(?:" + pt + "|" + vt + ")", bt = "[^" + et + "]", xt = "(?:\\ud83c[\\udde6-\\uddff]){2}", St = "[\\ud800-\\udbff][\\udc00-\\udfff]", Ct = "[" + ct + "]", wt = "\\u200d", Tt = "(?:" + gt + "|" + _t + ")", I = "(?:" + Ct + "|" + _t + ")", Et = "(?:" + dt + "(?:d|ll|m|re|s|t|ve))?", Dt = "(?:" + dt + "(?:D|LL|M|RE|S|T|VE))?", Ot = yt + "?", kt = "[" + lt + "]?", At = "(?:" + wt + "(?:" + [
			bt,
			xt,
			St
		].join("|") + ")" + kt + Ot + ")*", jt = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Mt = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Nt = kt + Ot + At, Pt = "(?:" + [
			ht,
			xt,
			St
		].join("|") + ")" + Nt, Ft = "(?:" + [
			bt + pt + "?",
			pt,
			xt,
			St,
			F
		].join("|") + ")", It = RegExp(dt, "g"), Lt = RegExp(pt, "g"), Rt = RegExp(vt + "(?=" + vt + ")|" + Ft + Nt, "g"), zt = RegExp([
			Ct + "?" + gt + "+" + Et + "(?=" + [
				ft,
				Ct,
				"$"
			].join("|") + ")",
			I + "+" + Dt + "(?=" + [
				ft,
				Ct + Tt,
				"$"
			].join("|") + ")",
			Ct + "?" + Tt + "+" + Et,
			Ct + "+" + Dt,
			Mt,
			jt,
			mt,
			Pt
		].join("|"), "g"), Bt = RegExp("[" + wt + et + tt + lt + "]"), Vt = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/, Ht = /* @__PURE__ */ "Array.Buffer.DataView.Date.Error.Float32Array.Float64Array.Function.Int8Array.Int16Array.Int32Array.Map.Math.Object.Promise.RegExp.Set.String.Symbol.TypeError.Uint8Array.Uint8ClampedArray.Uint16Array.Uint32Array.WeakMap._.clearTimeout.isFinite.parseInt.setTimeout".split("."), Ut = -1, Wt = {};
		Wt[fe] = Wt[pe] = Wt[me] = Wt[he] = Wt[ge] = Wt[_e] = Wt[ve] = Wt[ye] = Wt[be] = !0, Wt[C] = Wt[w] = Wt[ue] = Wt[E] = Wt[de] = Wt[D] = Wt[k] = Wt[A] = Wt[j] = Wt[M] = Wt[te] = Wt[re] = Wt[ie] = Wt[ae] = Wt[ce] = !1;
		var Gt = {};
		Gt[C] = Gt[w] = Gt[ue] = Gt[de] = Gt[E] = Gt[D] = Gt[fe] = Gt[pe] = Gt[me] = Gt[he] = Gt[ge] = Gt[j] = Gt[M] = Gt[te] = Gt[re] = Gt[ie] = Gt[ae] = Gt[oe] = Gt[_e] = Gt[ve] = Gt[ye] = Gt[be] = !0, Gt[k] = Gt[A] = Gt[ce] = !1;
		var Kt = {
			À: "A",
			Á: "A",
			Â: "A",
			Ã: "A",
			Ä: "A",
			Å: "A",
			à: "a",
			á: "a",
			â: "a",
			ã: "a",
			ä: "a",
			å: "a",
			Ç: "C",
			ç: "c",
			Ð: "D",
			ð: "d",
			È: "E",
			É: "E",
			Ê: "E",
			Ë: "E",
			è: "e",
			é: "e",
			ê: "e",
			ë: "e",
			Ì: "I",
			Í: "I",
			Î: "I",
			Ï: "I",
			ì: "i",
			í: "i",
			î: "i",
			ï: "i",
			Ñ: "N",
			ñ: "n",
			Ò: "O",
			Ó: "O",
			Ô: "O",
			Õ: "O",
			Ö: "O",
			Ø: "O",
			ò: "o",
			ó: "o",
			ô: "o",
			õ: "o",
			ö: "o",
			ø: "o",
			Ù: "U",
			Ú: "U",
			Û: "U",
			Ü: "U",
			ù: "u",
			ú: "u",
			û: "u",
			ü: "u",
			Ý: "Y",
			ý: "y",
			ÿ: "y",
			Æ: "Ae",
			æ: "ae",
			Þ: "Th",
			þ: "th",
			ß: "ss",
			Ā: "A",
			Ă: "A",
			Ą: "A",
			ā: "a",
			ă: "a",
			ą: "a",
			Ć: "C",
			Ĉ: "C",
			Ċ: "C",
			Č: "C",
			ć: "c",
			ĉ: "c",
			ċ: "c",
			č: "c",
			Ď: "D",
			Đ: "D",
			ď: "d",
			đ: "d",
			Ē: "E",
			Ĕ: "E",
			Ė: "E",
			Ę: "E",
			Ě: "E",
			ē: "e",
			ĕ: "e",
			ė: "e",
			ę: "e",
			ě: "e",
			Ĝ: "G",
			Ğ: "G",
			Ġ: "G",
			Ģ: "G",
			ĝ: "g",
			ğ: "g",
			ġ: "g",
			ģ: "g",
			Ĥ: "H",
			Ħ: "H",
			ĥ: "h",
			ħ: "h",
			Ĩ: "I",
			Ī: "I",
			Ĭ: "I",
			Į: "I",
			İ: "I",
			ĩ: "i",
			ī: "i",
			ĭ: "i",
			į: "i",
			ı: "i",
			Ĵ: "J",
			ĵ: "j",
			Ķ: "K",
			ķ: "k",
			ĸ: "k",
			Ĺ: "L",
			Ļ: "L",
			Ľ: "L",
			Ŀ: "L",
			Ł: "L",
			ĺ: "l",
			ļ: "l",
			ľ: "l",
			ŀ: "l",
			ł: "l",
			Ń: "N",
			Ņ: "N",
			Ň: "N",
			Ŋ: "N",
			ń: "n",
			ņ: "n",
			ň: "n",
			ŋ: "n",
			Ō: "O",
			Ŏ: "O",
			Ő: "O",
			ō: "o",
			ŏ: "o",
			ő: "o",
			Ŕ: "R",
			Ŗ: "R",
			Ř: "R",
			ŕ: "r",
			ŗ: "r",
			ř: "r",
			Ś: "S",
			Ŝ: "S",
			Ş: "S",
			Š: "S",
			ś: "s",
			ŝ: "s",
			ş: "s",
			š: "s",
			Ţ: "T",
			Ť: "T",
			Ŧ: "T",
			ţ: "t",
			ť: "t",
			ŧ: "t",
			Ũ: "U",
			Ū: "U",
			Ŭ: "U",
			Ů: "U",
			Ű: "U",
			Ų: "U",
			ũ: "u",
			ū: "u",
			ŭ: "u",
			ů: "u",
			ű: "u",
			ų: "u",
			Ŵ: "W",
			ŵ: "w",
			Ŷ: "Y",
			ŷ: "y",
			Ÿ: "Y",
			Ź: "Z",
			Ż: "Z",
			Ž: "Z",
			ź: "z",
			ż: "z",
			ž: "z",
			IJ: "IJ",
			ij: "ij",
			Œ: "Oe",
			œ: "oe",
			ʼn: "'n",
			ſ: "s"
		}, qt = {
			"&": "&amp;",
			"<": "&lt;",
			">": "&gt;",
			"\"": "&quot;",
			"'": "&#39;"
		}, Jt = {
			"&amp;": "&",
			"&lt;": "<",
			"&gt;": ">",
			"&quot;": "\"",
			"&#39;": "'"
		}, Yt = {
			"\\": "\\",
			"'": "'",
			"\n": "n",
			"\r": "r",
			"\u2028": "u2028",
			"\u2029": "u2029"
		}, Xt = parseFloat, Zt = parseInt, Qt = typeof global == "object" && global && global.Object === Object && global, $t = typeof self == "object" && self && self.Object === Object && self, en = Qt || $t || Function("return this")(), tn = typeof e == "object" && e && !e.nodeType && e, nn = tn && typeof t == "object" && t && !t.nodeType && t, rn = nn && nn.exports === tn, an = rn && Qt.process, on = function() {
			try {
				return nn && nn.require && nn.require("util").types || an && an.binding && an.binding("util");
			} catch {}
		}(), sn = on && on.isArrayBuffer, cn = on && on.isDate, ln = on && on.isMap, un = on && on.isRegExp, dn = on && on.isSet, L = on && on.isTypedArray;
		function R(e, t, n) {
			switch (n.length) {
				case 0: return e.call(t);
				case 1: return e.call(t, n[0]);
				case 2: return e.call(t, n[0], n[1]);
				case 3: return e.call(t, n[0], n[1], n[2]);
			}
			return e.apply(t, n);
		}
		function fn(e, t, n, r) {
			for (var i = -1, a = e == null ? 0 : e.length; ++i < a;) {
				var o = e[i];
				t(r, o, n(o), e);
			}
			return r;
		}
		function pn(e, t) {
			for (var n = -1, r = e == null ? 0 : e.length; ++n < r && t(e[n], n, e) !== !1;);
			return e;
		}
		function mn(e, t) {
			for (var n = e == null ? 0 : e.length; n-- && t(e[n], n, e) !== !1;);
			return e;
		}
		function hn(e, t) {
			for (var n = -1, r = e == null ? 0 : e.length; ++n < r;) if (!t(e[n], n, e)) return !1;
			return !0;
		}
		function gn(e, t) {
			for (var n = -1, r = e == null ? 0 : e.length, i = 0, a = []; ++n < r;) {
				var o = e[n];
				t(o, n, e) && (a[i++] = o);
			}
			return a;
		}
		function _n(e, t) {
			return !!(e != null && e.length) && U(e, t, 0) > -1;
		}
		function z(e, t, n) {
			for (var r = -1, i = e == null ? 0 : e.length; ++r < i;) if (n(t, e[r])) return !0;
			return !1;
		}
		function vn(e, t) {
			for (var n = -1, r = e == null ? 0 : e.length, i = Array(r); ++n < r;) i[n] = t(e[n], n, e);
			return i;
		}
		function yn(e, t) {
			for (var n = -1, r = t.length, i = e.length; ++n < r;) e[i + n] = t[n];
			return e;
		}
		function B(e, t, n, r) {
			var i = -1, a = e == null ? 0 : e.length;
			for (r && a && (n = e[++i]); ++i < a;) n = t(n, e[i], i, e);
			return n;
		}
		function bn(e, t, n, r) {
			var i = e == null ? 0 : e.length;
			for (r && i && (n = e[--i]); i--;) n = t(n, e[i], i, e);
			return n;
		}
		function xn(e, t) {
			for (var n = -1, r = e == null ? 0 : e.length; ++n < r;) if (t(e[n], n, e)) return !0;
			return !1;
		}
		var Sn = On("length");
		function Cn(e) {
			return e.split("");
		}
		function V(e) {
			return e.match(Ve) || [];
		}
		function wn(e, t, n) {
			var r;
			return n(e, function(e, n, i) {
				if (t(e, n, i)) return r = n, !1;
			}), r;
		}
		function H(e, t, n, r) {
			for (var i = e.length, a = n + (r ? 1 : -1); r ? a-- : ++a < i;) if (t(e[a], a, e)) return a;
			return -1;
		}
		function U(e, t, n) {
			return t === t ? er(e, t, n) : H(e, En, n);
		}
		function Tn(e, t, n, r) {
			for (var i = n - 1, a = e.length; ++i < a;) if (r(e[i], t)) return i;
			return -1;
		}
		function En(e) {
			return e !== e;
		}
		function Dn(e, t) {
			var n = e == null ? 0 : e.length;
			return n ? Mn(e, t) / n : v;
		}
		function On(e) {
			return function(t) {
				return t == null ? n : t[e];
			};
		}
		function kn(e) {
			return function(t) {
				return e == null ? n : e[t];
			};
		}
		function An(e, t, n, r, i) {
			return i(e, function(e, i, a) {
				n = r ? (r = !1, e) : t(n, e, i, a);
			}), n;
		}
		function jn(e, t) {
			var n = e.length;
			for (e.sort(t); n--;) e[n] = e[n].value;
			return e;
		}
		function Mn(e, t) {
			for (var r, i = -1, a = e.length; ++i < a;) {
				var o = t(e[i]);
				o !== n && (r = r === n ? o : r + o);
			}
			return r;
		}
		function Nn(e, t) {
			for (var n = -1, r = Array(e); ++n < e;) r[n] = t(n);
			return r;
		}
		function Pn(e, t) {
			return vn(t, function(t) {
				return [t, e[t]];
			});
		}
		function Fn(e) {
			return e && e.slice(0, ir(e) + 1).replace(Ie, "");
		}
		function In(e) {
			return function(t) {
				return e(t);
			};
		}
		function Ln(e, t) {
			return vn(t, function(t) {
				return e[t];
			});
		}
		function Rn(e, t) {
			return e.has(t);
		}
		function zn(e, t) {
			for (var n = -1, r = e.length; ++n < r && U(t, e[n], 0) > -1;);
			return n;
		}
		function Bn(e, t) {
			for (var n = e.length; n-- && U(t, e[n], 0) > -1;);
			return n;
		}
		function Vn(e, t) {
			for (var n = e.length, r = 0; n--;) e[n] === t && ++r;
			return r;
		}
		var Hn = kn(Kt), Un = kn(qt);
		function Wn(e) {
			return "\\" + Yt[e];
		}
		function Gn(e, t) {
			return e == null ? n : e[t];
		}
		function Kn(e) {
			return Bt.test(e);
		}
		function qn(e) {
			return Vt.test(e);
		}
		function Jn(e) {
			for (var t, n = []; !(t = e.next()).done;) n.push(t.value);
			return n;
		}
		function Yn(e) {
			var t = -1, n = Array(e.size);
			return e.forEach(function(e, r) {
				n[++t] = [r, e];
			}), n;
		}
		function Xn(e, t) {
			return function(n) {
				return e(t(n));
			};
		}
		function Zn(e, t) {
			for (var n = -1, r = e.length, i = 0, o = []; ++n < r;) {
				var s = e[n];
				(s === t || s === a) && (e[n] = a, o[i++] = n);
			}
			return o;
		}
		function Qn(e) {
			var t = -1, n = Array(e.size);
			return e.forEach(function(e) {
				n[++t] = e;
			}), n;
		}
		function $n(e) {
			var t = -1, n = Array(e.size);
			return e.forEach(function(e) {
				n[++t] = [e, e];
			}), n;
		}
		function er(e, t, n) {
			for (var r = n - 1, i = e.length; ++r < i;) if (e[r] === t) return r;
			return -1;
		}
		function tr(e, t, n) {
			for (var r = n + 1; r--;) if (e[r] === t) return r;
			return r;
		}
		function nr(e) {
			return Kn(e) ? or(e) : Sn(e);
		}
		function rr(e) {
			return Kn(e) ? sr(e) : Cn(e);
		}
		function ir(e) {
			for (var t = e.length; t-- && Le.test(e.charAt(t)););
			return t;
		}
		var ar = kn(Jt);
		function or(e) {
			for (var t = Rt.lastIndex = 0; Rt.test(e);) ++t;
			return t;
		}
		function sr(e) {
			return e.match(Rt) || [];
		}
		function cr(e) {
			return e.match(zt) || [];
		}
		var lr = (function e(t) {
			t = t == null ? en : lr.defaults(en.Object(), t, lr.pick(en, Ht));
			var Le = t.Array, Ve = t.Date, et = t.Error, tt = t.Function, nt = t.Math, rt = t.Object, it = t.RegExp, at = t.String, ot = t.TypeError, st = Le.prototype, ct = tt.prototype, lt = rt.prototype, ut = t["__core-js_shared__"], dt = ct.toString, F = lt.hasOwnProperty, ft = 0, pt = function() {
				var e = /[^.]+$/.exec(ut && ut.keys && ut.keys.IE_PROTO || "");
				return e ? "Symbol(src)_1." + e : "";
			}(), mt = lt.toString, ht = dt.call(rt), gt = en._, _t = it("^" + dt.call(F).replace(Pe, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), vt = rn ? t.Buffer : n, yt = t.Symbol, bt = t.Uint8Array, xt = vt ? vt.allocUnsafe : n, St = Xn(rt.getPrototypeOf, rt), Ct = rt.create, wt = lt.propertyIsEnumerable, Tt = st.splice, I = yt ? yt.isConcatSpreadable : n, Et = yt ? yt.iterator : n, Dt = yt ? yt.toStringTag : n, Ot = function() {
				try {
					var e = Fo(rt, "defineProperty");
					return e({}, "", {}), e;
				} catch {}
			}(), kt = t.clearTimeout !== en.clearTimeout && t.clearTimeout, At = Ve && Ve.now !== en.Date.now && Ve.now, jt = t.setTimeout !== en.setTimeout && t.setTimeout, Mt = nt.ceil, Nt = nt.floor, Pt = rt.getOwnPropertySymbols, Ft = vt ? vt.isBuffer : n, Rt = t.isFinite, zt = st.join, Bt = Xn(rt.keys, rt), Vt = nt.max, Kt = nt.min, qt = Ve.now, Jt = t.parseInt, Yt = nt.random, Qt = st.reverse, $t = Fo(t, "DataView"), tn = Fo(t, "Map"), nn = Fo(t, "Promise"), an = Fo(t, "Set"), on = Fo(t, "WeakMap"), Sn = Fo(rt, "create"), Cn = on && new on(), kn = {}, er = bs($t), or = bs(tn), sr = bs(nn), ur = bs(an), dr = bs(on), fr = yt ? yt.prototype : n, pr = fr ? fr.valueOf : n, mr = fr ? fr.toString : n;
			function W(e) {
				if (uu(e) && !ql(e) && !(e instanceof vr)) {
					if (e instanceof _r) return e;
					if (F.call(e, "__wrapped__")) return Ss(e);
				}
				return new _r(e);
			}
			var hr = function() {
				function e() {}
				return function(t) {
					if (!lu(t)) return {};
					if (Ct) return Ct(t);
					e.prototype = t;
					var r = new e();
					return e.prototype = n, r;
				};
			}();
			function gr() {}
			function _r(e, t) {
				this.__wrapped__ = e, this.__actions__ = [], this.__chain__ = !!t, this.__index__ = 0, this.__values__ = n;
			}
			W.templateSettings = {
				escape: Oe,
				evaluate: ke,
				interpolate: Ae,
				variable: "",
				imports: { _: W }
			}, W.prototype = gr.prototype, W.prototype.constructor = W, _r.prototype = hr(gr.prototype), _r.prototype.constructor = _r;
			function vr(e) {
				this.__wrapped__ = e, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = y, this.__views__ = [];
			}
			function yr() {
				var e = new vr(this.__wrapped__);
				return e.__actions__ = Ga(this.__actions__), e.__dir__ = this.__dir__, e.__filtered__ = this.__filtered__, e.__iteratees__ = Ga(this.__iteratees__), e.__takeCount__ = this.__takeCount__, e.__views__ = Ga(this.__views__), e;
			}
			function br() {
				if (this.__filtered__) {
					var e = new vr(this);
					e.__dir__ = -1, e.__filtered__ = !0;
				} else e = this.clone(), e.__dir__ *= -1;
				return e;
			}
			function xr() {
				var e = this.__wrapped__.value(), t = this.__dir__, n = ql(e), r = t < 0, i = n ? e.length : 0, a = Bo(0, i, this.__views__), o = a.start, s = a.end, c = s - o, l = r ? s : o - 1, u = this.__iteratees__, d = u.length, f = 0, p = Kt(c, this.__takeCount__);
				if (!n || !r && i == c && p == c) return Ea(e, this.__actions__);
				var m = [];
				outer: for (; c-- && f < p;) {
					l += t;
					for (var h = -1, g = e[l]; ++h < d;) {
						var _ = u[h], v = _.iteratee, y = _.type, b = v(g);
						if (y == 2) g = b;
						else if (!b) {
							if (y == 1) continue outer;
							break outer;
						}
					}
					m[f++] = g;
				}
				return m;
			}
			vr.prototype = hr(gr.prototype), vr.prototype.constructor = vr;
			function Sr(e) {
				var t = -1, n = e == null ? 0 : e.length;
				for (this.clear(); ++t < n;) {
					var r = e[t];
					this.set(r[0], r[1]);
				}
			}
			function Cr() {
				this.__data__ = Sn ? Sn(null) : {}, this.size = 0;
			}
			function wr(e) {
				var t = this.has(e) && delete this.__data__[e];
				return this.size -= +!!t, t;
			}
			function Tr(e) {
				var t = this.__data__;
				if (Sn) {
					var r = t[e];
					return r === i ? n : r;
				}
				return F.call(t, e) ? t[e] : n;
			}
			function Er(e) {
				var t = this.__data__;
				return Sn ? t[e] !== n : F.call(t, e);
			}
			function Dr(e, t) {
				var r = this.__data__;
				return this.size += +!this.has(e), r[e] = Sn && t === n ? i : t, this;
			}
			Sr.prototype.clear = Cr, Sr.prototype.delete = wr, Sr.prototype.get = Tr, Sr.prototype.has = Er, Sr.prototype.set = Dr;
			function Or(e) {
				var t = -1, n = e == null ? 0 : e.length;
				for (this.clear(); ++t < n;) {
					var r = e[t];
					this.set(r[0], r[1]);
				}
			}
			function kr() {
				this.__data__ = [], this.size = 0;
			}
			function Ar(e) {
				var t = this.__data__, n = Qr(t, e);
				return n < 0 ? !1 : (n == t.length - 1 ? t.pop() : Tt.call(t, n, 1), --this.size, !0);
			}
			function jr(e) {
				var t = this.__data__, r = Qr(t, e);
				return r < 0 ? n : t[r][1];
			}
			function Mr(e) {
				return Qr(this.__data__, e) > -1;
			}
			function Nr(e, t) {
				var n = this.__data__, r = Qr(n, e);
				return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
			}
			Or.prototype.clear = kr, Or.prototype.delete = Ar, Or.prototype.get = jr, Or.prototype.has = Mr, Or.prototype.set = Nr;
			function Pr(e) {
				var t = -1, n = e == null ? 0 : e.length;
				for (this.clear(); ++t < n;) {
					var r = e[t];
					this.set(r[0], r[1]);
				}
			}
			function Fr() {
				this.size = 0, this.__data__ = {
					hash: new Sr(),
					map: new (tn || Or)(),
					string: new Sr()
				};
			}
			function Ir(e) {
				var t = No(this, e).delete(e);
				return this.size -= +!!t, t;
			}
			function Lr(e) {
				return No(this, e).get(e);
			}
			function Rr(e) {
				return No(this, e).has(e);
			}
			function G(e, t) {
				var n = No(this, e), r = n.size;
				return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
			}
			Pr.prototype.clear = Fr, Pr.prototype.delete = Ir, Pr.prototype.get = Lr, Pr.prototype.has = Rr, Pr.prototype.set = G;
			function zr(e) {
				var t = -1, n = e == null ? 0 : e.length;
				for (this.__data__ = new Pr(); ++t < n;) this.add(e[t]);
			}
			function Br(e) {
				return this.__data__.set(e, i), this;
			}
			function Vr(e) {
				return this.__data__.has(e);
			}
			zr.prototype.add = zr.prototype.push = Br, zr.prototype.has = Vr;
			function Hr(e) {
				var t = this.__data__ = new Or(e);
				this.size = t.size;
			}
			function Ur() {
				this.__data__ = new Or(), this.size = 0;
			}
			function Wr(e) {
				var t = this.__data__, n = t.delete(e);
				return this.size = t.size, n;
			}
			function K(e) {
				return this.__data__.get(e);
			}
			function q(e) {
				return this.__data__.has(e);
			}
			function Gr(e, t) {
				var n = this.__data__;
				if (n instanceof Or) {
					var r = n.__data__;
					if (!tn || r.length < 199) return r.push([e, t]), this.size = ++n.size, this;
					n = this.__data__ = new Pr(r);
				}
				return n.set(e, t), this.size = n.size, this;
			}
			Hr.prototype.clear = Ur, Hr.prototype.delete = Wr, Hr.prototype.get = K, Hr.prototype.has = q, Hr.prototype.set = Gr;
			function Kr(e, t) {
				var n = ql(e), r = !n && Kl(e), i = !n && !r && Ql(e), a = !n && !r && !i && Tu(e), o = n || r || i || a, s = o ? Nn(e.length, at) : [], c = s.length;
				for (var l in e) (t || F.call(e, l)) && !(o && (l == "length" || i && (l == "offset" || l == "parent") || a && (l == "buffer" || l == "byteLength" || l == "byteOffset") || Jo(l, c))) && s.push(l);
				return s;
			}
			function qr(e) {
				var t = e.length;
				return t ? e[aa(0, t - 1)] : n;
			}
			function Jr(e, t) {
				return _s(Ga(e), ii(t, 0, e.length));
			}
			function Yr(e) {
				return _s(Ga(e));
			}
			function Xr(e, t, r) {
				(r !== n && !Ul(e[t], r) || r === n && !(t in e)) && ni(e, t, r);
			}
			function Zr(e, t, r) {
				var i = e[t];
				(!(F.call(e, t) && Ul(i, r)) || r === n && !(t in e)) && ni(e, t, r);
			}
			function Qr(e, t) {
				for (var n = e.length; n--;) if (Ul(e[n][0], t)) return n;
				return -1;
			}
			function $r(e, t, n, r) {
				return ui(e, function(e, i, a) {
					t(r, e, n(e), a);
				}), r;
			}
			function ei(e, t) {
				return e && Ka(t, sd(t), e);
			}
			function ti(e, t) {
				return e && Ka(t, cd(t), e);
			}
			function ni(e, t, n) {
				t == "__proto__" && Ot ? Ot(e, t, {
					configurable: !0,
					enumerable: !0,
					value: n,
					writable: !0
				}) : e[t] = n;
			}
			function ri(e, t) {
				for (var r = -1, i = t.length, a = Le(i), o = e == null; ++r < i;) a[r] = o ? n : td(e, t[r]);
				return a;
			}
			function ii(e, t, r) {
				return e === e && (r !== n && (e = e <= r ? e : r), t !== n && (e = e >= t ? e : t)), e;
			}
			function ai(e, t, r, i, a, o) {
				var s, c = t & 1, l = t & 2, u = t & 4;
				if (r && (s = a ? r(e, i, a, o) : r(e)), s !== n) return s;
				if (!lu(e)) return e;
				var d = ql(e);
				if (d) {
					if (s = Uo(e), !c) return Ga(e, s);
				} else {
					var f = zo(e), p = f == A || f == ee;
					if (Ql(e)) return Fa(e, c);
					if (f == te || f == C || p && !a) {
						if (s = l || p ? {} : Wo(e), !c) return l ? Ja(e, ti(s, e)) : qa(e, ei(s, e));
					} else {
						if (!Gt[f]) return a ? e : {};
						s = Go(e, f, c);
					}
				}
				o ||= new Hr();
				var m = o.get(e);
				if (m) return m;
				o.set(e, s), Su(e) ? e.forEach(function(n) {
					s.add(ai(n, t, r, n, e, o));
				}) : du(e) && e.forEach(function(n, i) {
					s.set(i, ai(n, t, r, i, e, o));
				});
				var h = d ? n : (u ? l ? Oo : Do : l ? cd : sd)(e);
				return pn(h || e, function(n, i) {
					h && (i = n, n = e[i]), Zr(s, i, ai(n, t, r, i, e, o));
				}), s;
			}
			function oi(e) {
				var t = sd(e);
				return function(n) {
					return si(n, e, t);
				};
			}
			function si(e, t, r) {
				var i = r.length;
				if (e == null) return !i;
				for (e = rt(e); i--;) {
					var a = r[i], o = t[a], s = e[a];
					if (s === n && !(a in e) || !o(s)) return !1;
				}
				return !0;
			}
			function ci(e, t, i) {
				if (typeof e != "function") throw new ot(r);
				return ps(function() {
					e.apply(n, i);
				}, t);
			}
			function li(e, t, n, r) {
				var i = -1, a = _n, o = !0, s = e.length, c = [], l = t.length;
				if (!s) return c;
				n && (t = vn(t, In(n))), r ? (a = z, o = !1) : t.length >= 200 && (a = Rn, o = !1, t = new zr(t));
				outer: for (; ++i < s;) {
					var u = e[i], d = n == null ? u : n(u);
					if (u = r || u !== 0 ? u : 0, o && d === d) {
						for (var f = l; f--;) if (t[f] === d) continue outer;
						c.push(u);
					} else a(t, d, r) || c.push(u);
				}
				return c;
			}
			var ui = Za(yi), di = Za(bi, !0);
			function fi(e, t) {
				var n = !0;
				return ui(e, function(e, r, i) {
					return n = !!t(e, r, i), n;
				}), n;
			}
			function pi(e, t, r) {
				for (var i = -1, a = e.length; ++i < a;) {
					var o = e[i], s = t(o);
					if (s != null && (c === n ? s === s && !wu(s) : r(s, c))) var c = s, l = o;
				}
				return l;
			}
			function mi(e, t, r, i) {
				var a = e.length;
				for (r = Nu(r), r < 0 && (r = -r > a ? 0 : a + r), i = i === n || i > a ? a : Nu(i), i < 0 && (i += a), i = r > i ? 0 : Pu(i); r < i;) e[r++] = t;
				return e;
			}
			function hi(e, t) {
				var n = [];
				return ui(e, function(e, r, i) {
					t(e, r, i) && n.push(e);
				}), n;
			}
			function gi(e, t, n, r, i) {
				var a = -1, o = e.length;
				for (n ||= qo, i ||= []; ++a < o;) {
					var s = e[a];
					t > 0 && n(s) ? t > 1 ? gi(s, t - 1, n, r, i) : yn(i, s) : r || (i[i.length] = s);
				}
				return i;
			}
			var _i = Qa(), vi = Qa(!0);
			function yi(e, t) {
				return e && _i(e, t, sd);
			}
			function bi(e, t) {
				return e && vi(e, t, sd);
			}
			function xi(e, t) {
				return gn(t, function(t) {
					return ou(e[t]);
				});
			}
			function Si(e, t) {
				t = ja(t, e);
				for (var r = 0, i = t.length; e != null && r < i;) e = e[ys(t[r++])];
				return r && r == i ? e : n;
			}
			function Ci(e, t, n) {
				var r = t(e);
				return ql(e) ? r : yn(r, n(e));
			}
			function wi(e) {
				return e == null ? e === n ? se : N : Dt && Dt in rt(e) ? Io(e) : ss(e);
			}
			function Ti(e, t) {
				return e > t;
			}
			function Ei(e, t) {
				return e != null && F.call(e, t);
			}
			function Di(e, t) {
				return e != null && t in rt(e);
			}
			function Oi(e, t, n) {
				return e >= Kt(t, n) && e < Vt(t, n);
			}
			function ki(e, t, r) {
				for (var i = r ? z : _n, a = e[0].length, o = e.length, s = o, c = Le(o), l = Infinity, u = []; s--;) {
					var d = e[s];
					s && t && (d = vn(d, In(t))), l = Kt(d.length, l), c[s] = !r && (t || a >= 120 && d.length >= 120) ? new zr(s && d) : n;
				}
				d = e[0];
				var f = -1, p = c[0];
				outer: for (; ++f < a && u.length < l;) {
					var m = d[f], h = t ? t(m) : m;
					if (m = r || m !== 0 ? m : 0, !(p ? Rn(p, h) : i(u, h, r))) {
						for (s = o; --s;) {
							var g = c[s];
							if (!(g ? Rn(g, h) : i(e[s], h, r))) continue outer;
						}
						p && p.push(h), u.push(m);
					}
				}
				return u;
			}
			function Ai(e, t, n, r) {
				return yi(e, function(e, i, a) {
					t(r, n(e), i, a);
				}), r;
			}
			function ji(e, t, r) {
				t = ja(t, e), e = ls(e, t);
				var i = e == null ? e : e[ys(qs(t))];
				return i == null ? n : R(i, e, r);
			}
			function Mi(e) {
				return uu(e) && wi(e) == C;
			}
			function Ni(e) {
				return uu(e) && wi(e) == ue;
			}
			function Pi(e) {
				return uu(e) && wi(e) == D;
			}
			function Fi(e, t, n, r, i) {
				return e === t ? !0 : e == null || t == null || !uu(e) && !uu(t) ? e !== e && t !== t : Ii(e, t, n, r, Fi, i);
			}
			function Ii(e, t, n, r, i, a) {
				var o = ql(e), s = ql(t), c = o ? w : zo(e), l = s ? w : zo(t);
				c = c == C ? te : c, l = l == C ? te : l;
				var u = c == te, d = l == te, f = c == l;
				if (f && Ql(e)) {
					if (!Ql(t)) return !1;
					o = !0, u = !1;
				}
				if (f && !u) return a ||= new Hr(), o || Tu(e) ? Co(e, t, n, r, i, a) : wo(e, t, c, n, r, i, a);
				if (!(n & 1)) {
					var p = u && F.call(e, "__wrapped__"), m = d && F.call(t, "__wrapped__");
					if (p || m) {
						var h = p ? e.value() : e, g = m ? t.value() : t;
						return a ||= new Hr(), i(h, g, n, r, a);
					}
				}
				return f ? (a ||= new Hr(), To(e, t, n, r, i, a)) : !1;
			}
			function Li(e) {
				return uu(e) && zo(e) == j;
			}
			function Ri(e, t, r, i) {
				var a = r.length, o = a, s = !i;
				if (e == null) return !o;
				for (e = rt(e); a--;) {
					var c = r[a];
					if (s && c[2] ? c[1] !== e[c[0]] : !(c[0] in e)) return !1;
				}
				for (; ++a < o;) {
					c = r[a];
					var l = c[0], u = e[l], d = c[1];
					if (s && c[2]) {
						if (u === n && !(l in e)) return !1;
					} else {
						var f = new Hr();
						if (i) var p = i(u, d, l, e, t, f);
						if (!(p === n ? Fi(d, u, 3, i, f) : p)) return !1;
					}
				}
				return !0;
			}
			function zi(e) {
				return !lu(e) || $o(e) ? !1 : (ou(e) ? _t : Je).test(bs(e));
			}
			function Bi(e) {
				return uu(e) && wi(e) == re;
			}
			function Vi(e) {
				return uu(e) && zo(e) == ie;
			}
			function Hi(e) {
				return uu(e) && cu(e.length) && !!Wt[wi(e)];
			}
			function Ui(e) {
				return typeof e == "function" ? e : e == null ? gf : typeof e == "object" ? ql(e) ? Yi(e[0], e[1]) : Ji(e) : kf(e);
			}
			function Wi(e) {
				if (!ts(e)) return Bt(e);
				var t = [];
				for (var n in rt(e)) F.call(e, n) && n != "constructor" && t.push(n);
				return t;
			}
			function Gi(e) {
				if (!lu(e)) return os(e);
				var t = ts(e), n = [];
				for (var r in e) (r != "constructor" || !t && F.call(e, r)) && n.push(r);
				return n;
			}
			function Ki(e, t) {
				return e < t;
			}
			function qi(e, t) {
				var n = -1, r = Yl(e) ? Le(e.length) : [];
				return ui(e, function(e, i, a) {
					r[++n] = t(e, i, a);
				}), r;
			}
			function Ji(e) {
				var t = Po(e);
				return t.length == 1 && t[0][2] ? rs(t[0][0], t[0][1]) : function(n) {
					return n === e || Ri(n, e, t);
				};
			}
			function Yi(e, t) {
				return Xo(e) && ns(t) ? rs(ys(e), t) : function(r) {
					var i = td(r, e);
					return i === n && i === t ? rd(r, e) : Fi(t, i, 3);
				};
			}
			function Xi(e, t, r, i, a) {
				e !== t && _i(t, function(o, s) {
					if (a ||= new Hr(), lu(o)) Zi(e, t, s, r, Xi, i, a);
					else {
						var c = i ? i(ds(e, s), o, s + "", e, t, a) : n;
						c === n && (c = o), Xr(e, s, c);
					}
				}, cd);
			}
			function Zi(e, t, r, i, a, o, s) {
				var c = ds(e, r), l = ds(t, r), u = s.get(l);
				if (u) Xr(e, r, u);
				else {
					var d = o ? o(c, l, r + "", e, t, s) : n, f = d === n;
					if (f) {
						var p = ql(l), m = !p && Ql(l), h = !p && !m && Tu(l);
						d = l, p || m || h ? ql(c) ? d = c : Xl(c) ? d = Ga(c) : m ? (f = !1, d = Fa(l, !0)) : h ? (f = !1, d = Ba(l, !0)) : d = [] : yu(l) || Kl(l) ? (d = c, Kl(c) ? d = Iu(c) : (!lu(c) || ou(c)) && (d = Wo(l))) : f = !1;
					}
					f && (s.set(l, d), a(d, l, i, o, s), s.delete(l)), Xr(e, r, d);
				}
			}
			function Qi(e, t) {
				var r = e.length;
				if (r) return t += t < 0 ? r : 0, Jo(t, r) ? e[t] : n;
			}
			function $i(e, t, n) {
				t = t.length ? vn(t, function(e) {
					return ql(e) ? function(t) {
						return Si(t, e.length === 1 ? e[0] : e);
					} : e;
				}) : [gf];
				var r = -1;
				return t = vn(t, In(Mo())), jn(qi(e, function(e, n, i) {
					return {
						criteria: vn(t, function(t) {
							return t(e);
						}),
						index: ++r,
						value: e
					};
				}), function(e, t) {
					return Ha(e, t, n);
				});
			}
			function ea(e, t) {
				return ta(e, t, function(t, n) {
					return rd(e, n);
				});
			}
			function ta(e, t, n) {
				for (var r = -1, i = t.length, a = {}; ++r < i;) {
					var o = t[r], s = Si(e, o);
					n(s, o) && da(a, ja(o, e), s);
				}
				return a;
			}
			function na(e) {
				return function(t) {
					return Si(t, e);
				};
			}
			function ra(e, t, n, r) {
				var i = r ? Tn : U, a = -1, o = t.length, s = e;
				for (e === t && (t = Ga(t)), n && (s = vn(e, In(n))); ++a < o;) for (var c = 0, l = t[a], u = n ? n(l) : l; (c = i(s, u, c, r)) > -1;) s !== e && Tt.call(s, c, 1), Tt.call(e, c, 1);
				return e;
			}
			function ia(e, t) {
				for (var n = e ? t.length : 0, r = n - 1; n--;) {
					var i = t[n];
					if (n == r || i !== a) {
						var a = i;
						Jo(i) ? Tt.call(e, i, 1) : Ca(e, i);
					}
				}
				return e;
			}
			function aa(e, t) {
				return e + Nt(Yt() * (t - e + 1));
			}
			function oa(e, t, n, r) {
				for (var i = -1, a = Vt(Mt((t - e) / (n || 1)), 0), o = Le(a); a--;) o[r ? a : ++i] = e, e += n;
				return o;
			}
			function sa(e, t) {
				var n = "";
				if (!e || t < 1 || t > g) return n;
				do
					t % 2 && (n += e), t = Nt(t / 2), t && (e += e);
				while (t);
				return n;
			}
			function ca(e, t) {
				return ms(cs(e, t, gf), e + "");
			}
			function la(e) {
				return qr(Ed(e));
			}
			function ua(e, t) {
				var n = Ed(e);
				return _s(n, ii(t, 0, n.length));
			}
			function da(e, t, r, i) {
				if (!lu(e)) return e;
				t = ja(t, e);
				for (var a = -1, o = t.length, s = o - 1, c = e; c != null && ++a < o;) {
					var l = ys(t[a]), u = r;
					if (l === "__proto__" || l === "constructor" || l === "prototype") return e;
					if (a != s) {
						var d = c[l];
						u = i ? i(d, l, c) : n, u === n && (u = lu(d) ? d : Jo(t[a + 1]) ? [] : {});
					}
					Zr(c, l, u), c = c[l];
				}
				return e;
			}
			var fa = Cn ? function(e, t) {
				return Cn.set(e, t), e;
			} : gf, pa = Ot ? function(e, t) {
				return Ot(e, "toString", {
					configurable: !0,
					enumerable: !1,
					value: ff(t),
					writable: !0
				});
			} : gf;
			function ma(e) {
				return _s(Ed(e));
			}
			function ha(e, t, n) {
				var r = -1, i = e.length;
				t < 0 && (t = -t > i ? 0 : i + t), n = n > i ? i : n, n < 0 && (n += i), i = t > n ? 0 : n - t >>> 0, t >>>= 0;
				for (var a = Le(i); ++r < i;) a[r] = e[r + t];
				return a;
			}
			function ga(e, t) {
				var n;
				return ui(e, function(e, r, i) {
					return n = t(e, r, i), !n;
				}), !!n;
			}
			function _a(e, t, n) {
				var r = 0, i = e == null ? r : e.length;
				if (typeof t == "number" && t === t && i <= x) {
					for (; r < i;) {
						var a = r + i >>> 1, o = e[a];
						o !== null && !wu(o) && (n ? o <= t : o < t) ? r = a + 1 : i = a;
					}
					return i;
				}
				return va(e, t, gf, n);
			}
			function va(e, t, r, i) {
				var a = 0, o = e == null ? 0 : e.length;
				if (o === 0) return 0;
				t = r(t);
				for (var s = t !== t, c = t === null, l = wu(t), u = t === n; a < o;) {
					var d = Nt((a + o) / 2), f = r(e[d]), p = f !== n, m = f === null, h = f === f, g = wu(f);
					if (s) var _ = i || h;
					else _ = u ? h && (i || p) : c ? h && p && (i || !m) : l ? h && p && !m && (i || !g) : m || g ? !1 : i ? f <= t : f < t;
					_ ? a = d + 1 : o = d;
				}
				return Kt(o, b);
			}
			function ya(e, t) {
				for (var n = -1, r = e.length, i = 0, a = []; ++n < r;) {
					var o = e[n], s = t ? t(o) : o;
					if (!n || !Ul(s, c)) {
						var c = s;
						a[i++] = o === 0 ? 0 : o;
					}
				}
				return a;
			}
			function ba(e) {
				return typeof e == "number" ? e : wu(e) ? v : +e;
			}
			function xa(e) {
				if (typeof e == "string") return e;
				if (ql(e)) return vn(e, xa) + "";
				if (wu(e)) return mr ? mr.call(e) : "";
				var t = e + "";
				return t == "0" && 1 / e == -Infinity ? "-0" : t;
			}
			function Sa(e, t, n) {
				var r = -1, i = _n, a = e.length, o = !0, s = [], c = s;
				if (n) o = !1, i = z;
				else if (a >= 200) {
					var l = t ? null : _o(e);
					if (l) return Qn(l);
					o = !1, i = Rn, c = new zr();
				} else c = t ? [] : s;
				outer: for (; ++r < a;) {
					var u = e[r], d = t ? t(u) : u;
					if (u = n || u !== 0 ? u : 0, o && d === d) {
						for (var f = c.length; f--;) if (c[f] === d) continue outer;
						t && c.push(d), s.push(u);
					} else i(c, d, n) || (c !== s && c.push(d), s.push(u));
				}
				return s;
			}
			function Ca(e, t) {
				t = ja(t, e);
				var n = -1, r = t.length;
				if (!r) return !0;
				for (; ++n < r;) {
					var i = ys(t[n]);
					if (i === "__proto__" && !F.call(e, "__proto__") || (i === "constructor" || i === "prototype") && n < r - 1) return !1;
				}
				var a = ls(e, t);
				return a == null || delete a[ys(qs(t))];
			}
			function wa(e, t, n, r) {
				return da(e, t, n(Si(e, t)), r);
			}
			function Ta(e, t, n, r) {
				for (var i = e.length, a = r ? i : -1; (r ? a-- : ++a < i) && t(e[a], a, e););
				return n ? ha(e, r ? 0 : a, r ? a + 1 : i) : ha(e, r ? a + 1 : 0, r ? i : a);
			}
			function Ea(e, t) {
				var n = e;
				return n instanceof vr && (n = n.value()), B(t, function(e, t) {
					return t.func.apply(t.thisArg, yn([e], t.args));
				}, n);
			}
			function Da(e, t, n) {
				var r = e.length;
				if (r < 2) return r ? Sa(e[0]) : [];
				for (var i = -1, a = Le(r); ++i < r;) for (var o = e[i], s = -1; ++s < r;) s != i && (a[i] = li(a[i] || o, e[s], t, n));
				return Sa(gi(a, 1), t, n);
			}
			function Oa(e, t, r) {
				for (var i = -1, a = e.length, o = t.length, s = {}; ++i < a;) {
					var c = i < o ? t[i] : n;
					r(s, e[i], c);
				}
				return s;
			}
			function ka(e) {
				return Xl(e) ? e : [];
			}
			function Aa(e) {
				return typeof e == "function" ? e : gf;
			}
			function ja(e, t) {
				return ql(e) ? e : Xo(e, t) ? [e] : vs(Ru(e));
			}
			var Ma = ca;
			function Na(e, t, r) {
				var i = e.length;
				return r = r === n ? i : r, !t && r >= i ? e : ha(e, t, r);
			}
			var Pa = kt || function(e) {
				return en.clearTimeout(e);
			};
			function Fa(e, t) {
				if (t) return e.slice();
				var n = e.length, r = xt ? xt(n) : new e.constructor(n);
				return e.copy(r), r;
			}
			function Ia(e) {
				var t = new e.constructor(e.byteLength);
				return new bt(t).set(new bt(e)), t;
			}
			function La(e, t) {
				var n = t ? Ia(e.buffer) : e.buffer;
				return new e.constructor(n, e.byteOffset, e.byteLength);
			}
			function Ra(e) {
				var t = new e.constructor(e.source, Ge.exec(e));
				return t.lastIndex = e.lastIndex, t;
			}
			function za(e) {
				return pr ? rt(pr.call(e)) : {};
			}
			function Ba(e, t) {
				var n = t ? Ia(e.buffer) : e.buffer;
				return new e.constructor(n, e.byteOffset, e.length);
			}
			function Va(e, t) {
				if (e !== t) {
					var r = e !== n, i = e === null, a = e === e, o = wu(e), s = t !== n, c = t === null, l = t === t, u = wu(t);
					if (!c && !u && !o && e > t || o && s && l && !c && !u || i && s && l || !r && l || !a) return 1;
					if (!i && !o && !u && e < t || u && r && a && !i && !o || c && r && a || !s && a || !l) return -1;
				}
				return 0;
			}
			function Ha(e, t, n) {
				for (var r = -1, i = e.criteria, a = t.criteria, o = i.length, s = n.length; ++r < o;) {
					var c = Va(i[r], a[r]);
					if (c) return r >= s ? c : c * (n[r] == "desc" ? -1 : 1);
				}
				return e.index - t.index;
			}
			function Ua(e, t, n, r) {
				for (var i = -1, a = e.length, o = n.length, s = -1, c = t.length, l = Vt(a - o, 0), u = Le(c + l), d = !r; ++s < c;) u[s] = t[s];
				for (; ++i < o;) (d || i < a) && (u[n[i]] = e[i]);
				for (; l--;) u[s++] = e[i++];
				return u;
			}
			function Wa(e, t, n, r) {
				for (var i = -1, a = e.length, o = -1, s = n.length, c = -1, l = t.length, u = Vt(a - s, 0), d = Le(u + l), f = !r; ++i < u;) d[i] = e[i];
				for (var p = i; ++c < l;) d[p + c] = t[c];
				for (; ++o < s;) (f || i < a) && (d[p + n[o]] = e[i++]);
				return d;
			}
			function Ga(e, t) {
				var n = -1, r = e.length;
				for (t ||= Le(r); ++n < r;) t[n] = e[n];
				return t;
			}
			function Ka(e, t, r, i) {
				var a = !r;
				r ||= {};
				for (var o = -1, s = t.length; ++o < s;) {
					var c = t[o], l = i ? i(r[c], e[c], c, r, e) : n;
					l === n && (l = e[c]), a ? ni(r, c, l) : Zr(r, c, l);
				}
				return r;
			}
			function qa(e, t) {
				return Ka(e, Lo(e), t);
			}
			function Ja(e, t) {
				return Ka(e, Ro(e), t);
			}
			function Ya(e, t) {
				return function(n, r) {
					var i = ql(n) ? fn : $r, a = t ? t() : {};
					return i(n, e, Mo(r, 2), a);
				};
			}
			function Xa(e) {
				return ca(function(t, r) {
					var i = -1, a = r.length, o = a > 1 ? r[a - 1] : n, s = a > 2 ? r[2] : n;
					for (o = e.length > 3 && typeof o == "function" ? (a--, o) : n, s && Yo(r[0], r[1], s) && (o = a < 3 ? n : o, a = 1), t = rt(t); ++i < a;) {
						var c = r[i];
						c && e(t, c, i, o);
					}
					return t;
				});
			}
			function Za(e, t) {
				return function(n, r) {
					if (n == null) return n;
					if (!Yl(n)) return e(n, r);
					for (var i = n.length, a = t ? i : -1, o = rt(n); (t ? a-- : ++a < i) && r(o[a], a, o) !== !1;);
					return n;
				};
			}
			function Qa(e) {
				return function(t, n, r) {
					for (var i = -1, a = rt(t), o = r(t), s = o.length; s--;) {
						var c = o[e ? s : ++i];
						if (n(a[c], c, a) === !1) break;
					}
					return t;
				};
			}
			function $a(e, t, n) {
				var r = t & o, i = no(e);
				function a() {
					return (this && this !== en && this instanceof a ? i : e).apply(r ? n : this, arguments);
				}
				return a;
			}
			function eo(e) {
				return function(t) {
					t = Ru(t);
					var r = Kn(t) ? rr(t) : n, i = r ? r[0] : t.charAt(0), a = r ? Na(r, 1).join("") : t.slice(1);
					return i[e]() + a;
				};
			}
			function to(e) {
				return function(t) {
					return B(sf(Nd(t).replace(It, "")), e, "");
				};
			}
			function no(e) {
				return function() {
					var t = arguments;
					switch (t.length) {
						case 0: return new e();
						case 1: return new e(t[0]);
						case 2: return new e(t[0], t[1]);
						case 3: return new e(t[0], t[1], t[2]);
						case 4: return new e(t[0], t[1], t[2], t[3]);
						case 5: return new e(t[0], t[1], t[2], t[3], t[4]);
						case 6: return new e(t[0], t[1], t[2], t[3], t[4], t[5]);
						case 7: return new e(t[0], t[1], t[2], t[3], t[4], t[5], t[6]);
					}
					var n = hr(e.prototype), r = e.apply(n, t);
					return lu(r) ? r : n;
				};
			}
			function ro(e, t, r) {
				var i = no(e);
				function a() {
					for (var o = arguments.length, s = Le(o), c = o, l = jo(a); c--;) s[c] = arguments[c];
					var u = o < 3 && s[0] !== l && s[o - 1] !== l ? [] : Zn(s, l);
					return o -= u.length, o < r ? ho(e, t, oo, a.placeholder, n, s, u, n, n, r - o) : R(this && this !== en && this instanceof a ? i : e, this, s);
				}
				return a;
			}
			function io(e) {
				return function(t, r, i) {
					var a = rt(t);
					if (!Yl(t)) {
						var o = Mo(r, 3);
						t = sd(t), r = function(e) {
							return o(a[e], e, a);
						};
					}
					var s = e(t, r, i);
					return s > -1 ? a[o ? t[s] : s] : n;
				};
			}
			function ao(e) {
				return Eo(function(t) {
					var i = t.length, a = i, o = _r.prototype.thru;
					for (e && t.reverse(); a--;) {
						var s = t[a];
						if (typeof s != "function") throw new ot(r);
						if (o && !l && Ao(s) == "wrapper") var l = new _r([], !0);
					}
					for (a = l ? a : i; ++a < i;) {
						s = t[a];
						var d = Ao(s), m = d == "wrapper" ? ko(s) : n;
						l = m && Qo(m[0]) && m[1] == (f | c | u | p) && !m[4].length && m[9] == 1 ? l[Ao(m[0])].apply(l, m[3]) : s.length == 1 && Qo(s) ? l[d]() : l.thru(s);
					}
					return function() {
						var e = arguments, n = e[0];
						if (l && e.length == 1 && ql(n)) return l.plant(n).value();
						for (var r = 0, a = i ? t[r].apply(this, e) : n; ++r < i;) a = t[r].call(this, a);
						return a;
					};
				});
			}
			function oo(e, t, r, i, a, u, d, p, h, g) {
				var _ = t & f, v = t & o, y = t & s, b = t & (c | l), x = t & m, S = y ? n : no(e);
				function C() {
					for (var n = arguments.length, o = Le(n), s = n; s--;) o[s] = arguments[s];
					if (b) var c = jo(C), l = Vn(o, c);
					if (i && (o = Ua(o, i, a, b)), u && (o = Wa(o, u, d, b)), n -= l, b && n < g) {
						var f = Zn(o, c);
						return ho(e, t, oo, C.placeholder, r, o, f, p, h, g - n);
					}
					var m = v ? r : this, w = y ? m[e] : e;
					return n = o.length, p ? o = us(o, p) : x && n > 1 && o.reverse(), _ && h < n && (o.length = h), this && this !== en && this instanceof C && (w = S || no(w)), w.apply(m, o);
				}
				return C;
			}
			function so(e, t) {
				return function(n, r) {
					return Ai(n, e, t(r), {});
				};
			}
			function co(e, t) {
				return function(r, i) {
					var a;
					if (r === n && i === n) return t;
					if (r !== n && (a = r), i !== n) {
						if (a === n) return i;
						typeof r == "string" || typeof i == "string" ? (r = xa(r), i = xa(i)) : (r = ba(r), i = ba(i)), a = e(r, i);
					}
					return a;
				};
			}
			function lo(e) {
				return Eo(function(t) {
					return t = vn(t, In(Mo())), ca(function(n) {
						var r = this;
						return e(t, function(e) {
							return R(e, r, n);
						});
					});
				});
			}
			function uo(e, t) {
				t = t === n ? " " : xa(t);
				var r = t.length;
				if (r < 2) return r ? sa(t, e) : t;
				var i = sa(t, Mt(e / nr(t)));
				return Kn(t) ? Na(rr(i), 0, e).join("") : i.slice(0, e);
			}
			function fo(e, t, n, r) {
				var i = t & o, a = no(e);
				function s() {
					for (var t = -1, o = arguments.length, c = -1, l = r.length, u = Le(l + o), d = this && this !== en && this instanceof s ? a : e; ++c < l;) u[c] = r[c];
					for (; o--;) u[c++] = arguments[++t];
					return R(d, i ? n : this, u);
				}
				return s;
			}
			function po(e) {
				return function(t, r, i) {
					return i && typeof i != "number" && Yo(t, r, i) && (r = i = n), t = Mu(t), r === n ? (r = t, t = 0) : r = Mu(r), i = i === n ? t < r ? 1 : -1 : Mu(i), oa(t, r, i, e);
				};
			}
			function mo(e) {
				return function(t, n) {
					return (typeof t != "string" || typeof n != "string") && (t = Fu(t), n = Fu(n)), e(t, n);
				};
			}
			function ho(e, t, r, i, a, l, f, p, m, h) {
				var g = t & c, _ = g ? f : n, v = g ? n : f, y = g ? l : n, b = g ? n : l;
				t |= g ? u : d, t &= ~(g ? d : u), t & 4 || (t &= ~(o | s));
				var x = [
					e,
					t,
					a,
					y,
					_,
					b,
					v,
					p,
					m,
					h
				], S = r.apply(n, x);
				return Qo(e) && fs(S, x), S.placeholder = i, hs(S, e, t);
			}
			function go(e) {
				var t = nt[e];
				return function(e, n) {
					if (e = Fu(e), n = n == null ? 0 : Kt(Nu(n), 292), n && Rt(e)) {
						var r = (Ru(e) + "e").split("e");
						return r = (Ru(t(r[0] + "e" + (+r[1] + n))) + "e").split("e"), +(r[0] + "e" + (+r[1] - n));
					}
					return t(e);
				};
			}
			var _o = an && 1 / Qn(new an([, -0]))[1] == h ? function(e) {
				return new an(e);
			} : wf;
			function vo(e) {
				return function(t) {
					var n = zo(t);
					return n == j ? Yn(t) : n == ie ? $n(t) : Pn(t, e(t));
				};
			}
			function yo(e, t, i, a, f, p, m, h) {
				var g = t & s;
				if (!g && typeof e != "function") throw new ot(r);
				var _ = a ? a.length : 0;
				if (_ || (t &= ~(u | d), a = f = n), m = m === n ? m : Vt(Nu(m), 0), h = h === n ? h : Nu(h), _ -= f ? f.length : 0, t & d) {
					var v = a, y = f;
					a = f = n;
				}
				var b = g ? n : ko(e), x = [
					e,
					t,
					i,
					a,
					f,
					v,
					y,
					p,
					m,
					h
				];
				if (b && as(x, b), e = x[0], t = x[1], i = x[2], a = x[3], f = x[4], h = x[9] = x[9] === n ? g ? 0 : e.length : Vt(x[9] - _, 0), !h && t & (c | l) && (t &= ~(c | l)), !t || t == o) var S = $a(e, t, i);
				else S = t == c || t == l ? ro(e, t, h) : (t == u || t == (o | u)) && !f.length ? fo(e, t, i, a) : oo.apply(n, x);
				return hs((b ? fa : fs)(S, x), e, t);
			}
			function bo(e, t, r, i) {
				return e === n || Ul(e, lt[r]) && !F.call(i, r) ? t : e;
			}
			function xo(e, t, r, i, a, o) {
				return lu(e) && lu(t) && (o.set(t, e), Xi(e, t, n, xo, o), o.delete(t)), e;
			}
			function So(e) {
				return yu(e) ? n : e;
			}
			function Co(e, t, r, i, a, o) {
				var s = r & 1, c = e.length, l = t.length;
				if (c != l && !(s && l > c)) return !1;
				var u = o.get(e), d = o.get(t);
				if (u && d) return u == t && d == e;
				var f = -1, p = !0, m = r & 2 ? new zr() : n;
				for (o.set(e, t), o.set(t, e); ++f < c;) {
					var h = e[f], g = t[f];
					if (i) var _ = s ? i(g, h, f, t, e, o) : i(h, g, f, e, t, o);
					if (_ !== n) {
						if (_) continue;
						p = !1;
						break;
					}
					if (m) {
						if (!xn(t, function(e, t) {
							if (!Rn(m, t) && (h === e || a(h, e, r, i, o))) return m.push(t);
						})) {
							p = !1;
							break;
						}
					} else if (!(h === g || a(h, g, r, i, o))) {
						p = !1;
						break;
					}
				}
				return o.delete(e), o.delete(t), p;
			}
			function wo(e, t, n, r, i, a, o) {
				switch (n) {
					case de:
						if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset) return !1;
						e = e.buffer, t = t.buffer;
					case ue: return !(e.byteLength != t.byteLength || !a(new bt(e), new bt(t)));
					case E:
					case D:
					case M: return Ul(+e, +t);
					case k: return e.name == t.name && e.message == t.message;
					case re:
					case ae: return e == t + "";
					case j: var s = Yn;
					case ie:
						var c = r & 1;
						if (s ||= Qn, e.size != t.size && !c) return !1;
						var l = o.get(e);
						if (l) return l == t;
						r |= 2, o.set(e, t);
						var u = Co(s(e), s(t), r, i, a, o);
						return o.delete(e), u;
					case oe: if (pr) return pr.call(e) == pr.call(t);
				}
				return !1;
			}
			function To(e, t, r, i, a, o) {
				var s = r & 1, c = Do(e), l = c.length;
				if (l != Do(t).length && !s) return !1;
				for (var u = l; u--;) {
					var d = c[u];
					if (!(s ? d in t : F.call(t, d))) return !1;
				}
				var f = o.get(e), p = o.get(t);
				if (f && p) return f == t && p == e;
				var m = !0;
				o.set(e, t), o.set(t, e);
				for (var h = s; ++u < l;) {
					d = c[u];
					var g = e[d], _ = t[d];
					if (i) var v = s ? i(_, g, d, t, e, o) : i(g, _, d, e, t, o);
					if (!(v === n ? g === _ || a(g, _, r, i, o) : v)) {
						m = !1;
						break;
					}
					h ||= d == "constructor";
				}
				if (m && !h) {
					var y = e.constructor, b = t.constructor;
					y != b && "constructor" in e && "constructor" in t && !(typeof y == "function" && y instanceof y && typeof b == "function" && b instanceof b) && (m = !1);
				}
				return o.delete(e), o.delete(t), m;
			}
			function Eo(e) {
				return ms(cs(e, n, Is), e + "");
			}
			function Do(e) {
				return Ci(e, sd, Lo);
			}
			function Oo(e) {
				return Ci(e, cd, Ro);
			}
			var ko = Cn ? function(e) {
				return Cn.get(e);
			} : wf;
			function Ao(e) {
				for (var t = e.name + "", n = kn[t], r = F.call(kn, t) ? n.length : 0; r--;) {
					var i = n[r], a = i.func;
					if (a == null || a == e) return i.name;
				}
				return t;
			}
			function jo(e) {
				return (F.call(W, "placeholder") ? W : e).placeholder;
			}
			function Mo() {
				var e = W.iteratee || _f;
				return e = e === _f ? Ui : e, arguments.length ? e(arguments[0], arguments[1]) : e;
			}
			function No(e, t) {
				var n = e.__data__;
				return Zo(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
			}
			function Po(e) {
				for (var t = sd(e), n = t.length; n--;) {
					var r = t[n], i = e[r];
					t[n] = [
						r,
						i,
						ns(i)
					];
				}
				return t;
			}
			function Fo(e, t) {
				var r = Gn(e, t);
				return zi(r) ? r : n;
			}
			function Io(e) {
				var t = F.call(e, Dt), r = e[Dt];
				try {
					e[Dt] = n;
					var i = !0;
				} catch {}
				var a = mt.call(e);
				return i && (t ? e[Dt] = r : delete e[Dt]), a;
			}
			var Lo = Pt ? function(e) {
				return e == null ? [] : (e = rt(e), gn(Pt(e), function(t) {
					return wt.call(e, t);
				}));
			} : Nf, Ro = Pt ? function(e) {
				for (var t = []; e;) yn(t, Lo(e)), e = St(e);
				return t;
			} : Nf, zo = wi;
			($t && zo(new $t(/* @__PURE__ */ new ArrayBuffer(1))) != de || tn && zo(new tn()) != j || nn && zo(nn.resolve()) != P || an && zo(new an()) != ie || on && zo(new on()) != ce) && (zo = function(e) {
				var t = wi(e), r = t == te ? e.constructor : n, i = r ? bs(r) : "";
				if (i) switch (i) {
					case er: return de;
					case or: return j;
					case sr: return P;
					case ur: return ie;
					case dr: return ce;
				}
				return t;
			});
			function Bo(e, t, n) {
				for (var r = -1, i = n.length; ++r < i;) {
					var a = n[r], o = a.size;
					switch (a.type) {
						case "drop":
							e += o;
							break;
						case "dropRight":
							t -= o;
							break;
						case "take":
							t = Kt(t, e + o);
							break;
						case "takeRight": e = Vt(e, t - o);
					}
				}
				return {
					start: e,
					end: t
				};
			}
			function Vo(e) {
				var t = e.match(ze);
				return t ? t[1].split(Be) : [];
			}
			function Ho(e, t, n) {
				t = ja(t, e);
				for (var r = -1, i = t.length, a = !1; ++r < i;) {
					var o = ys(t[r]);
					if (!(a = e != null && n(e, o))) break;
					e = e[o];
				}
				return a || ++r != i ? a : (i = e == null ? 0 : e.length, !!i && cu(i) && Jo(o, i) && (ql(e) || Kl(e)));
			}
			function Uo(e) {
				var t = e.length, n = new e.constructor(t);
				return t && typeof e[0] == "string" && F.call(e, "index") && (n.index = e.index, n.input = e.input), n;
			}
			function Wo(e) {
				return typeof e.constructor == "function" && !ts(e) ? hr(St(e)) : {};
			}
			function Go(e, t, n) {
				var r = e.constructor;
				switch (t) {
					case ue: return Ia(e);
					case E:
					case D: return new r(+e);
					case de: return La(e, n);
					case fe:
					case pe:
					case me:
					case he:
					case ge:
					case _e:
					case ve:
					case ye:
					case be: return Ba(e, n);
					case j: return new r();
					case M:
					case ae: return new r(e);
					case re: return Ra(e);
					case ie: return new r();
					case oe: return za(e);
				}
			}
			function Ko(e, t) {
				var n = t.length;
				if (!n) return e;
				var r = n - 1;
				return t[r] = (n > 1 ? "& " : "") + t[r], t = t.join(n > 2 ? ", " : " "), e.replace(Re, "{\n/* [wrapped with " + t + "] */\n");
			}
			function qo(e) {
				return ql(e) || Kl(e) || !!(I && e && e[I]);
			}
			function Jo(e, t) {
				var n = typeof e;
				return t ??= g, !!t && (n == "number" || n != "symbol" && Xe.test(e)) && e > -1 && e % 1 == 0 && e < t;
			}
			function Yo(e, t, n) {
				if (!lu(n)) return !1;
				var r = typeof t;
				return (r == "number" ? Yl(n) && Jo(t, n.length) : r == "string" && t in n) ? Ul(n[t], e) : !1;
			}
			function Xo(e, t) {
				if (ql(e)) return !1;
				var n = typeof e;
				return n == "number" || n == "symbol" || n == "boolean" || e == null || wu(e) ? !0 : Me.test(e) || !je.test(e) || t != null && e in rt(t);
			}
			function Zo(e) {
				var t = typeof e;
				return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
			}
			function Qo(e) {
				var t = Ao(e), n = W[t];
				if (typeof n != "function" || !(t in vr.prototype)) return !1;
				if (e === n) return !0;
				var r = ko(n);
				return !!r && e === r[0];
			}
			function $o(e) {
				return !!pt && pt in e;
			}
			var es = ut ? ou : Pf;
			function ts(e) {
				var t = e && e.constructor;
				return e === (typeof t == "function" && t.prototype || lt);
			}
			function ns(e) {
				return e === e && !lu(e);
			}
			function rs(e, t) {
				return function(r) {
					return r != null && r[e] === t && (t !== n || e in rt(r));
				};
			}
			function is(e) {
				var t = Tl(e, function(e) {
					return n.size === 500 && n.clear(), e;
				}), n = t.cache;
				return t;
			}
			function as(e, t) {
				var n = e[1], r = t[1], i = n | r, l = i < (o | s | f), u = r == f && n == c || r == f && n == p && e[7].length <= t[8] || r == (f | p) && t[7].length <= t[8] && n == c;
				if (!(l || u)) return e;
				r & o && (e[2] = t[2], i |= n & o ? 0 : 4);
				var d = t[3];
				if (d) {
					var m = e[3];
					e[3] = m ? Ua(m, d, t[4]) : d, e[4] = m ? Zn(e[3], a) : t[4];
				}
				return d = t[5], d && (m = e[5], e[5] = m ? Wa(m, d, t[6]) : d, e[6] = m ? Zn(e[5], a) : t[6]), d = t[7], d && (e[7] = d), r & f && (e[8] = e[8] == null ? t[8] : Kt(e[8], t[8])), e[9] ??= t[9], e[0] = t[0], e[1] = i, e;
			}
			function os(e) {
				var t = [];
				if (e != null) for (var n in rt(e)) t.push(n);
				return t;
			}
			function ss(e) {
				return mt.call(e);
			}
			function cs(e, t, r) {
				return t = Vt(t === n ? e.length - 1 : t, 0), function() {
					for (var n = arguments, i = -1, a = Vt(n.length - t, 0), o = Le(a); ++i < a;) o[i] = n[t + i];
					i = -1;
					for (var s = Le(t + 1); ++i < t;) s[i] = n[i];
					return s[t] = r(o), R(e, this, s);
				};
			}
			function ls(e, t) {
				return t.length < 2 ? e : Si(e, ha(t, 0, -1));
			}
			function us(e, t) {
				for (var r = e.length, i = Kt(t.length, r), a = Ga(e); i--;) {
					var o = t[i];
					e[i] = Jo(o, r) ? a[o] : n;
				}
				return e;
			}
			function ds(e, t) {
				if ((t !== "constructor" || typeof e[t] != "function") && t != "__proto__") return e[t];
			}
			var fs = gs(fa), ps = jt || function(e, t) {
				return en.setTimeout(e, t);
			}, ms = gs(pa);
			function hs(e, t, n) {
				var r = t + "";
				return ms(e, Ko(r, xs(Vo(r), n)));
			}
			function gs(e) {
				var t = 0, r = 0;
				return function() {
					var i = qt(), a = 16 - (i - r);
					if (r = i, a > 0) {
						if (++t >= 800) return arguments[0];
					} else t = 0;
					return e.apply(n, arguments);
				};
			}
			function _s(e, t) {
				var r = -1, i = e.length, a = i - 1;
				for (t = t === n ? i : t; ++r < t;) {
					var o = aa(r, a), s = e[o];
					e[o] = e[r], e[r] = s;
				}
				return e.length = t, e;
			}
			var vs = is(function(e) {
				var t = [];
				return e.charCodeAt(0) === 46 && t.push(""), e.replace(Ne, function(e, n, r, i) {
					t.push(r ? i.replace(Ue, "$1") : n || e);
				}), t;
			});
			function ys(e) {
				if (typeof e == "string" || wu(e)) return e;
				var t = e + "";
				return t == "0" && 1 / e == -Infinity ? "-0" : t;
			}
			function bs(e) {
				if (e != null) {
					try {
						return dt.call(e);
					} catch {}
					try {
						return e + "";
					} catch {}
				}
				return "";
			}
			function xs(e, t) {
				return pn(S, function(n) {
					var r = "_." + n[0];
					t & n[1] && !_n(e, r) && e.push(r);
				}), e.sort();
			}
			function Ss(e) {
				if (e instanceof vr) return e.clone();
				var t = new _r(e.__wrapped__, e.__chain__);
				return t.__actions__ = Ga(e.__actions__), t.__index__ = e.__index__, t.__values__ = e.__values__, t;
			}
			function Cs(e, t, r) {
				t = (r ? Yo(e, t, r) : t === n) ? 1 : Vt(Nu(t), 0);
				var i = e == null ? 0 : e.length;
				if (!i || t < 1) return [];
				for (var a = 0, o = 0, s = Le(Mt(i / t)); a < i;) s[o++] = ha(e, a, a += t);
				return s;
			}
			function ws(e) {
				for (var t = -1, n = e == null ? 0 : e.length, r = 0, i = []; ++t < n;) {
					var a = e[t];
					a && (i[r++] = a);
				}
				return i;
			}
			function Ts() {
				var e = arguments.length;
				if (!e) return [];
				for (var t = Le(e - 1), n = arguments[0], r = e; r--;) t[r - 1] = arguments[r];
				return yn(ql(n) ? Ga(n) : [n], gi(t, 1));
			}
			var Es = ca(function(e, t) {
				return Xl(e) ? li(e, gi(t, 1, Xl, !0)) : [];
			}), Ds = ca(function(e, t) {
				var r = qs(t);
				return Xl(r) && (r = n), Xl(e) ? li(e, gi(t, 1, Xl, !0), Mo(r, 2)) : [];
			}), Os = ca(function(e, t) {
				var r = qs(t);
				return Xl(r) && (r = n), Xl(e) ? li(e, gi(t, 1, Xl, !0), n, r) : [];
			});
			function ks(e, t, r) {
				var i = e == null ? 0 : e.length;
				return i ? (t = r || t === n ? 1 : Nu(t), ha(e, t < 0 ? 0 : t, i)) : [];
			}
			function As(e, t, r) {
				var i = e == null ? 0 : e.length;
				return i ? (t = r || t === n ? 1 : Nu(t), t = i - t, ha(e, 0, t < 0 ? 0 : t)) : [];
			}
			function js(e, t) {
				return e && e.length ? Ta(e, Mo(t, 3), !0, !0) : [];
			}
			function Ms(e, t) {
				return e && e.length ? Ta(e, Mo(t, 3), !0) : [];
			}
			function Ns(e, t, n, r) {
				var i = e == null ? 0 : e.length;
				return i ? (n && typeof n != "number" && Yo(e, t, n) && (n = 0, r = i), mi(e, t, n, r)) : [];
			}
			function Ps(e, t, n) {
				var r = e == null ? 0 : e.length;
				if (!r) return -1;
				var i = n == null ? 0 : Nu(n);
				return i < 0 && (i = Vt(r + i, 0)), H(e, Mo(t, 3), i);
			}
			function Fs(e, t, r) {
				var i = e == null ? 0 : e.length;
				if (!i) return -1;
				var a = i - 1;
				return r !== n && (a = Nu(r), a = r < 0 ? Vt(i + a, 0) : Kt(a, i - 1)), H(e, Mo(t, 3), a, !0);
			}
			function Is(e) {
				return e != null && e.length ? gi(e, 1) : [];
			}
			function Ls(e) {
				return e != null && e.length ? gi(e, h) : [];
			}
			function Rs(e, t) {
				return e != null && e.length ? (t = t === n ? 1 : Nu(t), gi(e, t)) : [];
			}
			function zs(e) {
				for (var t = -1, n = e == null ? 0 : e.length, r = {}; ++t < n;) {
					var i = e[t];
					ni(r, i[0], i[1]);
				}
				return r;
			}
			function Bs(e) {
				return e && e.length ? e[0] : n;
			}
			function Vs(e, t, n) {
				var r = e == null ? 0 : e.length;
				if (!r) return -1;
				var i = n == null ? 0 : Nu(n);
				return i < 0 && (i = Vt(r + i, 0)), U(e, t, i);
			}
			function Hs(e) {
				return e != null && e.length ? ha(e, 0, -1) : [];
			}
			var Us = ca(function(e) {
				var t = vn(e, ka);
				return t.length && t[0] === e[0] ? ki(t) : [];
			}), Ws = ca(function(e) {
				var t = qs(e), r = vn(e, ka);
				return t === qs(r) ? t = n : r.pop(), r.length && r[0] === e[0] ? ki(r, Mo(t, 2)) : [];
			}), Gs = ca(function(e) {
				var t = qs(e), r = vn(e, ka);
				return t = typeof t == "function" ? t : n, t && r.pop(), r.length && r[0] === e[0] ? ki(r, n, t) : [];
			});
			function Ks(e, t) {
				return e == null ? "" : zt.call(e, t);
			}
			function qs(e) {
				var t = e == null ? 0 : e.length;
				return t ? e[t - 1] : n;
			}
			function Js(e, t, r) {
				var i = e == null ? 0 : e.length;
				if (!i) return -1;
				var a = i;
				return r !== n && (a = Nu(r), a = a < 0 ? Vt(i + a, 0) : Kt(a, i - 1)), t === t ? tr(e, t, a) : H(e, En, a, !0);
			}
			function Ys(e, t) {
				return e && e.length ? Qi(e, Nu(t)) : n;
			}
			var Xs = ca(Zs);
			function Zs(e, t) {
				return e && e.length && t && t.length ? ra(e, t) : e;
			}
			function Qs(e, t, n) {
				return e && e.length && t && t.length ? ra(e, t, Mo(n, 2)) : e;
			}
			function $s(e, t, r) {
				return e && e.length && t && t.length ? ra(e, t, n, r) : e;
			}
			var ec = Eo(function(e, t) {
				var n = e == null ? 0 : e.length, r = ri(e, t);
				return ia(e, vn(t, function(e) {
					return Jo(e, n) ? +e : e;
				}).sort(Va)), r;
			});
			function tc(e, t) {
				var n = [];
				if (!(e && e.length)) return n;
				var r = -1, i = [], a = e.length;
				for (t = Mo(t, 3); ++r < a;) {
					var o = e[r];
					t(o, r, e) && (n.push(o), i.push(r));
				}
				return ia(e, i), n;
			}
			function nc(e) {
				return e == null ? e : Qt.call(e);
			}
			function rc(e, t, r) {
				var i = e == null ? 0 : e.length;
				return i ? (r && typeof r != "number" && Yo(e, t, r) ? (t = 0, r = i) : (t = t == null ? 0 : Nu(t), r = r === n ? i : Nu(r)), ha(e, t, r)) : [];
			}
			function ic(e, t) {
				return _a(e, t);
			}
			function ac(e, t, n) {
				return va(e, t, Mo(n, 2));
			}
			function oc(e, t) {
				var n = e == null ? 0 : e.length;
				if (n) {
					var r = _a(e, t);
					if (r < n && Ul(e[r], t)) return r;
				}
				return -1;
			}
			function sc(e, t) {
				return _a(e, t, !0);
			}
			function cc(e, t, n) {
				return va(e, t, Mo(n, 2), !0);
			}
			function lc(e, t) {
				if (e != null && e.length) {
					var n = _a(e, t, !0) - 1;
					if (Ul(e[n], t)) return n;
				}
				return -1;
			}
			function uc(e) {
				return e && e.length ? ya(e) : [];
			}
			function dc(e, t) {
				return e && e.length ? ya(e, Mo(t, 2)) : [];
			}
			function fc(e) {
				var t = e == null ? 0 : e.length;
				return t ? ha(e, 1, t) : [];
			}
			function pc(e, t, r) {
				return e && e.length ? (t = r || t === n ? 1 : Nu(t), ha(e, 0, t < 0 ? 0 : t)) : [];
			}
			function mc(e, t, r) {
				var i = e == null ? 0 : e.length;
				return i ? (t = r || t === n ? 1 : Nu(t), t = i - t, ha(e, t < 0 ? 0 : t, i)) : [];
			}
			function hc(e, t) {
				return e && e.length ? Ta(e, Mo(t, 3), !1, !0) : [];
			}
			function gc(e, t) {
				return e && e.length ? Ta(e, Mo(t, 3)) : [];
			}
			var J = ca(function(e) {
				return Sa(gi(e, 1, Xl, !0));
			}), _c = ca(function(e) {
				var t = qs(e);
				return Xl(t) && (t = n), Sa(gi(e, 1, Xl, !0), Mo(t, 2));
			}), vc = ca(function(e) {
				var t = qs(e);
				return t = typeof t == "function" ? t : n, Sa(gi(e, 1, Xl, !0), n, t);
			});
			function yc(e) {
				return e && e.length ? Sa(e) : [];
			}
			function bc(e, t) {
				return e && e.length ? Sa(e, Mo(t, 2)) : [];
			}
			function xc(e, t) {
				return t = typeof t == "function" ? t : n, e && e.length ? Sa(e, n, t) : [];
			}
			function Sc(e) {
				if (!(e && e.length)) return [];
				var t = 0;
				return e = gn(e, function(e) {
					if (Xl(e)) return t = Vt(e.length, t), !0;
				}), Nn(t, function(t) {
					return vn(e, On(t));
				});
			}
			function Cc(e, t) {
				if (!(e && e.length)) return [];
				var r = Sc(e);
				return t == null ? r : vn(r, function(e) {
					return R(t, n, e);
				});
			}
			var Y = ca(function(e, t) {
				return Xl(e) ? li(e, t) : [];
			}), wc = ca(function(e) {
				return Da(gn(e, Xl));
			}), Tc = ca(function(e) {
				var t = qs(e);
				return Xl(t) && (t = n), Da(gn(e, Xl), Mo(t, 2));
			}), Ec = ca(function(e) {
				var t = qs(e);
				return t = typeof t == "function" ? t : n, Da(gn(e, Xl), n, t);
			}), Dc = ca(Sc);
			function Oc(e, t) {
				return Oa(e || [], t || [], Zr);
			}
			function kc(e, t) {
				return Oa(e || [], t || [], da);
			}
			var Ac = ca(function(e) {
				var t = e.length, r = t > 1 ? e[t - 1] : n;
				return r = typeof r == "function" ? (e.pop(), r) : n, Cc(e, r);
			});
			function jc(e) {
				var t = W(e);
				return t.__chain__ = !0, t;
			}
			function Mc(e, t) {
				return t(e), e;
			}
			function Nc(e, t) {
				return t(e);
			}
			var Pc = Eo(function(e) {
				var t = e.length, r = t ? e[0] : 0, i = this.__wrapped__, a = function(t) {
					return ri(t, e);
				};
				return t > 1 || this.__actions__.length || !(i instanceof vr) || !Jo(r) ? this.thru(a) : (i = i.slice(r, +r + +!!t), i.__actions__.push({
					func: Nc,
					args: [a],
					thisArg: n
				}), new _r(i, this.__chain__).thru(function(e) {
					return t && !e.length && e.push(n), e;
				}));
			});
			function Fc() {
				return jc(this);
			}
			function Ic() {
				return new _r(this.value(), this.__chain__);
			}
			function Lc() {
				this.__values__ === n && (this.__values__ = ju(this.value()));
				var e = this.__index__ >= this.__values__.length;
				return {
					done: e,
					value: e ? n : this.__values__[this.__index__++]
				};
			}
			function Rc() {
				return this;
			}
			function zc(e) {
				for (var t, r = this; r instanceof gr;) {
					var i = Ss(r);
					i.__index__ = 0, i.__values__ = n, t ? a.__wrapped__ = i : t = i;
					var a = i;
					r = r.__wrapped__;
				}
				return a.__wrapped__ = e, t;
			}
			function Bc() {
				var e = this.__wrapped__;
				if (e instanceof vr) {
					var t = e;
					return this.__actions__.length && (t = new vr(this)), t = t.reverse(), t.__actions__.push({
						func: Nc,
						args: [nc],
						thisArg: n
					}), new _r(t, this.__chain__);
				}
				return this.thru(nc);
			}
			function Vc() {
				return Ea(this.__wrapped__, this.__actions__);
			}
			var X = Ya(function(e, t, n) {
				F.call(e, n) ? ++e[n] : ni(e, n, 1);
			});
			function Hc(e, t, r) {
				var i = ql(e) ? hn : fi;
				return r && Yo(e, t, r) && (t = n), i(e, Mo(t, 3));
			}
			function Uc(e, t) {
				return (ql(e) ? gn : hi)(e, Mo(t, 3));
			}
			var Wc = io(Ps), Gc = io(Fs);
			function Kc(e, t) {
				return gi(tl(e, t), 1);
			}
			function qc(e, t) {
				return gi(tl(e, t), h);
			}
			function Jc(e, t, r) {
				return r = r === n ? 1 : Nu(r), gi(tl(e, t), r);
			}
			function Yc(e, t) {
				return (ql(e) ? pn : ui)(e, Mo(t, 3));
			}
			function Xc(e, t) {
				return (ql(e) ? mn : di)(e, Mo(t, 3));
			}
			var Zc = Ya(function(e, t, n) {
				F.call(e, n) ? e[n].push(t) : ni(e, n, [t]);
			});
			function Qc(e, t, n, r) {
				e = Yl(e) ? e : Ed(e), n = n && !r ? Nu(n) : 0;
				var i = e.length;
				return n < 0 && (n = Vt(i + n, 0)), Cu(e) ? n <= i && e.indexOf(t, n) > -1 : !!i && U(e, t, n) > -1;
			}
			var $c = ca(function(e, t, n) {
				var r = -1, i = typeof t == "function", a = Yl(e) ? Le(e.length) : [];
				return ui(e, function(e) {
					a[++r] = i ? R(t, e, n) : ji(e, t, n);
				}), a;
			}), el = Ya(function(e, t, n) {
				ni(e, n, t);
			});
			function tl(e, t) {
				return (ql(e) ? vn : qi)(e, Mo(t, 3));
			}
			function nl(e, t, r, i) {
				return e == null ? [] : (ql(t) || (t = t == null ? [] : [t]), r = i ? n : r, ql(r) || (r = r == null ? [] : [r]), $i(e, t, r));
			}
			var rl = Ya(function(e, t, n) {
				e[+!n].push(t);
			}, function() {
				return [[], []];
			});
			function il(e, t, n) {
				var r = ql(e) ? B : An, i = arguments.length < 3;
				return r(e, Mo(t, 4), n, i, ui);
			}
			function al(e, t, n) {
				var r = ql(e) ? bn : An, i = arguments.length < 3;
				return r(e, Mo(t, 4), n, i, di);
			}
			function ol(e, t) {
				return (ql(e) ? gn : hi)(e, El(Mo(t, 3)));
			}
			function sl(e) {
				return (ql(e) ? qr : la)(e);
			}
			function cl(e, t, r) {
				return t = (r ? Yo(e, t, r) : t === n) ? 1 : Nu(t), (ql(e) ? Jr : ua)(e, t);
			}
			function ll(e) {
				return (ql(e) ? Yr : ma)(e);
			}
			function ul(e) {
				if (e == null) return 0;
				if (Yl(e)) return Cu(e) ? nr(e) : e.length;
				var t = zo(e);
				return t == j || t == ie ? e.size : Wi(e).length;
			}
			function dl(e, t, r) {
				var i = ql(e) ? xn : ga;
				return r && Yo(e, t, r) && (t = n), i(e, Mo(t, 3));
			}
			var fl = ca(function(e, t) {
				if (e == null) return [];
				var n = t.length;
				return n > 1 && Yo(e, t[0], t[1]) ? t = [] : n > 2 && Yo(t[0], t[1], t[2]) && (t = [t[0]]), $i(e, gi(t, 1), []);
			}), pl = At || function() {
				return en.Date.now();
			};
			function ml(e, t) {
				if (typeof t != "function") throw new ot(r);
				return e = Nu(e), function() {
					if (--e < 1) return t.apply(this, arguments);
				};
			}
			function hl(e, t, r) {
				return t = r ? n : t, t = e && t == null ? e.length : t, yo(e, f, n, n, n, n, t);
			}
			function gl(e, t) {
				var i;
				if (typeof t != "function") throw new ot(r);
				return e = Nu(e), function() {
					return --e > 0 && (i = t.apply(this, arguments)), e <= 1 && (t = n), i;
				};
			}
			var _l = ca(function(e, t, n) {
				var r = o;
				if (n.length) {
					var i = Zn(n, jo(_l));
					r |= u;
				}
				return yo(e, r, t, n, i);
			}), vl = ca(function(e, t, n) {
				var r = o | s;
				if (n.length) {
					var i = Zn(n, jo(vl));
					r |= u;
				}
				return yo(t, r, e, n, i);
			});
			function yl(e, t, r) {
				t = r ? n : t;
				var i = yo(e, c, n, n, n, n, n, t);
				return i.placeholder = yl.placeholder, i;
			}
			function bl(e, t, r) {
				t = r ? n : t;
				var i = yo(e, l, n, n, n, n, n, t);
				return i.placeholder = bl.placeholder, i;
			}
			function xl(e, t, i) {
				var a, o, s, c, l, u, d = 0, f = !1, p = !1, m = !0;
				if (typeof e != "function") throw new ot(r);
				t = Fu(t) || 0, lu(i) && (f = !!i.leading, p = "maxWait" in i, s = p ? Vt(Fu(i.maxWait) || 0, t) : s, m = "trailing" in i ? !!i.trailing : m);
				function h(t) {
					var r = a, i = o;
					return a = o = n, d = t, c = e.apply(i, r), c;
				}
				function g(e) {
					return d = e, l = ps(y, t), f ? h(e) : c;
				}
				function _(e) {
					var n = e - u, r = e - d, i = t - n;
					return p ? Kt(i, s - r) : i;
				}
				function v(e) {
					var r = e - u, i = e - d;
					return u === n || r >= t || r < 0 || p && i >= s;
				}
				function y() {
					var e = pl();
					if (v(e)) return b(e);
					l = ps(y, _(e));
				}
				function b(e) {
					return l = n, m && a ? h(e) : (a = o = n, c);
				}
				function x() {
					l !== n && Pa(l), d = 0, a = u = o = l = n;
				}
				function S() {
					return l === n ? c : b(pl());
				}
				function C() {
					var e = pl(), r = v(e);
					if (a = arguments, o = this, u = e, r) {
						if (l === n) return g(u);
						if (p) return Pa(l), l = ps(y, t), h(u);
					}
					return l === n && (l = ps(y, t)), c;
				}
				return C.cancel = x, C.flush = S, C;
			}
			var Sl = ca(function(e, t) {
				return ci(e, 1, t);
			}), Cl = ca(function(e, t, n) {
				return ci(e, Fu(t) || 0, n);
			});
			function wl(e) {
				return yo(e, m);
			}
			function Tl(e, t) {
				if (typeof e != "function" || t != null && typeof t != "function") throw new ot(r);
				var n = function() {
					var r = arguments, i = t ? t.apply(this, r) : r[0], a = n.cache;
					if (a.has(i)) return a.get(i);
					var o = e.apply(this, r);
					return n.cache = a.set(i, o) || a, o;
				};
				return n.cache = new (Tl.Cache || Pr)(), n;
			}
			Tl.Cache = Pr;
			function El(e) {
				if (typeof e != "function") throw new ot(r);
				return function() {
					var t = arguments;
					switch (t.length) {
						case 0: return !e.call(this);
						case 1: return !e.call(this, t[0]);
						case 2: return !e.call(this, t[0], t[1]);
						case 3: return !e.call(this, t[0], t[1], t[2]);
					}
					return !e.apply(this, t);
				};
			}
			function Dl(e) {
				return gl(2, e);
			}
			var Ol = Ma(function(e, t) {
				t = t.length == 1 && ql(t[0]) ? vn(t[0], In(Mo())) : vn(gi(t, 1), In(Mo()));
				var n = t.length;
				return ca(function(r) {
					for (var i = -1, a = Kt(r.length, n); ++i < a;) r[i] = t[i].call(this, r[i]);
					return R(e, this, r);
				});
			}), kl = ca(function(e, t) {
				return yo(e, u, n, t, Zn(t, jo(kl)));
			}), Al = ca(function(e, t) {
				return yo(e, d, n, t, Zn(t, jo(Al)));
			}), jl = Eo(function(e, t) {
				return yo(e, p, n, n, n, t);
			});
			function Ml(e, t) {
				if (typeof e != "function") throw new ot(r);
				return t = t === n ? t : Nu(t), ca(e, t);
			}
			function Nl(e, t) {
				if (typeof e != "function") throw new ot(r);
				return t = t == null ? 0 : Vt(Nu(t), 0), ca(function(n) {
					var r = n[t], i = Na(n, 0, t);
					return r && yn(i, r), R(e, this, i);
				});
			}
			function Pl(e, t, n) {
				var i = !0, a = !0;
				if (typeof e != "function") throw new ot(r);
				return lu(n) && (i = "leading" in n ? !!n.leading : i, a = "trailing" in n ? !!n.trailing : a), xl(e, t, {
					leading: i,
					maxWait: t,
					trailing: a
				});
			}
			function Fl(e) {
				return hl(e, 1);
			}
			function Il(e, t) {
				return kl(Aa(t), e);
			}
			function Ll() {
				if (!arguments.length) return [];
				var e = arguments[0];
				return ql(e) ? e : [e];
			}
			function Rl(e) {
				return ai(e, 4);
			}
			function zl(e, t) {
				return t = typeof t == "function" ? t : n, ai(e, 4, t);
			}
			function Bl(e) {
				return ai(e, 5);
			}
			function Vl(e, t) {
				return t = typeof t == "function" ? t : n, ai(e, 5, t);
			}
			function Hl(e, t) {
				return t == null || si(e, t, sd(t));
			}
			function Ul(e, t) {
				return e === t || e !== e && t !== t;
			}
			var Wl = mo(Ti), Gl = mo(function(e, t) {
				return e >= t;
			}), Kl = Mi(function() {
				return arguments;
			}()) ? Mi : function(e) {
				return uu(e) && F.call(e, "callee") && !wt.call(e, "callee");
			}, ql = Le.isArray, Jl = sn ? In(sn) : Ni;
			function Yl(e) {
				return e != null && cu(e.length) && !ou(e);
			}
			function Xl(e) {
				return uu(e) && Yl(e);
			}
			function Zl(e) {
				return e === !0 || e === !1 || uu(e) && wi(e) == E;
			}
			var Ql = Ft || Pf, $l = cn ? In(cn) : Pi;
			function eu(e) {
				return uu(e) && e.nodeType === 1 && !yu(e);
			}
			function tu(e) {
				if (e == null) return !0;
				if (Yl(e) && (ql(e) || typeof e == "string" || typeof e.splice == "function" || Ql(e) || Tu(e) || Kl(e))) return !e.length;
				var t = zo(e);
				if (t == j || t == ie) return !e.size;
				if (ts(e)) return !Wi(e).length;
				for (var n in e) if (F.call(e, n)) return !1;
				return !0;
			}
			function nu(e, t) {
				return Fi(e, t);
			}
			function ru(e, t, r) {
				r = typeof r == "function" ? r : n;
				var i = r ? r(e, t) : n;
				return i === n ? Fi(e, t, n, r) : !!i;
			}
			function iu(e) {
				if (!uu(e)) return !1;
				var t = wi(e);
				return t == k || t == O || typeof e.message == "string" && typeof e.name == "string" && !yu(e);
			}
			function au(e) {
				return typeof e == "number" && Rt(e);
			}
			function ou(e) {
				if (!lu(e)) return !1;
				var t = wi(e);
				return t == A || t == ee || t == T || t == ne;
			}
			function su(e) {
				return typeof e == "number" && e == Nu(e);
			}
			function cu(e) {
				return typeof e == "number" && e > -1 && e % 1 == 0 && e <= g;
			}
			function lu(e) {
				var t = typeof e;
				return e != null && (t == "object" || t == "function");
			}
			function uu(e) {
				return typeof e == "object" && !!e;
			}
			var du = ln ? In(ln) : Li;
			function fu(e, t) {
				return e === t || Ri(e, t, Po(t));
			}
			function pu(e, t, r) {
				return r = typeof r == "function" ? r : n, Ri(e, t, Po(t), r);
			}
			function mu(e) {
				return vu(e) && e != +e;
			}
			function hu(e) {
				if (es(e)) throw new et("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");
				return zi(e);
			}
			function gu(e) {
				return e === null;
			}
			function _u(e) {
				return e == null;
			}
			function vu(e) {
				return typeof e == "number" || uu(e) && wi(e) == M;
			}
			function yu(e) {
				if (!uu(e) || wi(e) != te) return !1;
				var t = St(e);
				if (t === null) return !0;
				var n = F.call(t, "constructor") && t.constructor;
				return typeof n == "function" && n instanceof n && dt.call(n) == ht;
			}
			var bu = un ? In(un) : Bi;
			function xu(e) {
				return su(e) && e >= -g && e <= g;
			}
			var Su = dn ? In(dn) : Vi;
			function Cu(e) {
				return typeof e == "string" || !ql(e) && uu(e) && wi(e) == ae;
			}
			function wu(e) {
				return typeof e == "symbol" || uu(e) && wi(e) == oe;
			}
			var Tu = L ? In(L) : Hi;
			function Eu(e) {
				return e === n;
			}
			function Du(e) {
				return uu(e) && zo(e) == ce;
			}
			function Ou(e) {
				return uu(e) && wi(e) == le;
			}
			var ku = mo(Ki), Au = mo(function(e, t) {
				return e <= t;
			});
			function ju(e) {
				if (!e) return [];
				if (Yl(e)) return Cu(e) ? rr(e) : Ga(e);
				if (Et && e[Et]) return Jn(e[Et]());
				var t = zo(e);
				return (t == j ? Yn : t == ie ? Qn : Ed)(e);
			}
			function Mu(e) {
				return e ? (e = Fu(e), e === h || e === -Infinity ? (e < 0 ? -1 : 1) * _ : e === e ? e : 0) : e === 0 ? e : 0;
			}
			function Nu(e) {
				var t = Mu(e), n = t % 1;
				return t === t ? n ? t - n : t : 0;
			}
			function Pu(e) {
				return e ? ii(Nu(e), 0, y) : 0;
			}
			function Fu(e) {
				if (typeof e == "number") return e;
				if (wu(e)) return v;
				if (lu(e)) {
					var t = typeof e.valueOf == "function" ? e.valueOf() : e;
					e = lu(t) ? t + "" : t;
				}
				if (typeof e != "string") return e === 0 ? e : +e;
				e = Fn(e);
				var n = qe.test(e);
				return n || Ye.test(e) ? Zt(e.slice(2), n ? 2 : 8) : Ke.test(e) ? v : +e;
			}
			function Iu(e) {
				return Ka(e, cd(e));
			}
			function Lu(e) {
				return e ? ii(Nu(e), -g, g) : e === 0 ? e : 0;
			}
			function Ru(e) {
				return e == null ? "" : xa(e);
			}
			var zu = Xa(function(e, t) {
				if (ts(t) || Yl(t)) Ka(t, sd(t), e);
				else for (var n in t) F.call(t, n) && Zr(e, n, t[n]);
			}), Bu = Xa(function(e, t) {
				Ka(t, cd(t), e);
			}), Vu = Xa(function(e, t, n, r) {
				Ka(t, cd(t), e, r);
			}), Hu = Xa(function(e, t, n, r) {
				Ka(t, sd(t), e, r);
			}), Uu = Eo(ri);
			function Wu(e, t) {
				var n = hr(e);
				return t == null ? n : ei(n, t);
			}
			var Gu = ca(function(e, t) {
				e = rt(e);
				var r = -1, i = t.length, a = i > 2 ? t[2] : n;
				for (a && Yo(t[0], t[1], a) && (i = 1); ++r < i;) for (var o = t[r], s = cd(o), c = -1, l = s.length; ++c < l;) {
					var u = s[c], d = e[u];
					(d === n || Ul(d, lt[u]) && !F.call(e, u)) && (e[u] = o[u]);
				}
				return e;
			}), Ku = ca(function(e) {
				return e.push(n, xo), R(fd, n, e);
			});
			function qu(e, t) {
				return wn(e, Mo(t, 3), yi);
			}
			function Ju(e, t) {
				return wn(e, Mo(t, 3), bi);
			}
			function Yu(e, t) {
				return e == null ? e : _i(e, Mo(t, 3), cd);
			}
			function Xu(e, t) {
				return e == null ? e : vi(e, Mo(t, 3), cd);
			}
			function Zu(e, t) {
				return e && yi(e, Mo(t, 3));
			}
			function Qu(e, t) {
				return e && bi(e, Mo(t, 3));
			}
			function $u(e) {
				return e == null ? [] : xi(e, sd(e));
			}
			function ed(e) {
				return e == null ? [] : xi(e, cd(e));
			}
			function td(e, t, r) {
				var i = e == null ? n : Si(e, t);
				return i === n ? r : i;
			}
			function nd(e, t) {
				return e != null && Ho(e, t, Ei);
			}
			function rd(e, t) {
				return e != null && Ho(e, t, Di);
			}
			var id = so(function(e, t, n) {
				t != null && typeof t.toString != "function" && (t = mt.call(t)), e[t] = n;
			}, ff(gf)), ad = so(function(e, t, n) {
				t != null && typeof t.toString != "function" && (t = mt.call(t)), F.call(e, t) ? e[t].push(n) : e[t] = [n];
			}, Mo), od = ca(ji);
			function sd(e) {
				return Yl(e) ? Kr(e) : Wi(e);
			}
			function cd(e) {
				return Yl(e) ? Kr(e, !0) : Gi(e);
			}
			function ld(e, t) {
				var n = {};
				return t = Mo(t, 3), yi(e, function(e, r, i) {
					ni(n, t(e, r, i), e);
				}), n;
			}
			function ud(e, t) {
				var n = {};
				return t = Mo(t, 3), yi(e, function(e, r, i) {
					ni(n, r, t(e, r, i));
				}), n;
			}
			var dd = Xa(function(e, t, n) {
				Xi(e, t, n);
			}), fd = Xa(function(e, t, n, r) {
				Xi(e, t, n, r);
			}), pd = Eo(function(e, t) {
				var n = {};
				if (e == null) return n;
				var r = !1;
				t = vn(t, function(t) {
					return t = ja(t, e), r ||= t.length > 1, t;
				}), Ka(e, Oo(e), n), r && (n = ai(n, 7, So));
				for (var i = t.length; i--;) Ca(n, t[i]);
				return n;
			});
			function md(e, t) {
				return gd(e, El(Mo(t)));
			}
			var hd = Eo(function(e, t) {
				return e == null ? {} : ea(e, t);
			});
			function gd(e, t) {
				if (e == null) return {};
				var n = vn(Oo(e), function(e) {
					return [e];
				});
				return t = Mo(t), ta(e, n, function(e, n) {
					return t(e, n[0]);
				});
			}
			function _d(e, t, r) {
				t = ja(t, e);
				var i = -1, a = t.length;
				for (a || (a = 1, e = n); ++i < a;) {
					var o = e == null ? n : e[ys(t[i])];
					o === n && (i = a, o = r), e = ou(o) ? o.call(e) : o;
				}
				return e;
			}
			function vd(e, t, n) {
				return e == null ? e : da(e, t, n);
			}
			function yd(e, t, r, i) {
				return i = typeof i == "function" ? i : n, e == null ? e : da(e, t, r, i);
			}
			var bd = vo(sd), xd = vo(cd);
			function Sd(e, t, n) {
				var r = ql(e), i = r || Ql(e) || Tu(e);
				if (t = Mo(t, 4), n == null) {
					var a = e && e.constructor;
					n = i ? r ? new a() : [] : lu(e) && ou(a) ? hr(St(e)) : {};
				}
				return (i ? pn : yi)(e, function(e, r, i) {
					return t(n, e, r, i);
				}), n;
			}
			function Cd(e, t) {
				return e == null || Ca(e, t);
			}
			function wd(e, t, n) {
				return e == null ? e : wa(e, t, Aa(n));
			}
			function Td(e, t, r, i) {
				return i = typeof i == "function" ? i : n, e == null ? e : wa(e, t, Aa(r), i);
			}
			function Ed(e) {
				return e == null ? [] : Ln(e, sd(e));
			}
			function Dd(e) {
				return e == null ? [] : Ln(e, cd(e));
			}
			function Od(e, t, r) {
				return r === n && (r = t, t = n), r !== n && (r = Fu(r), r = r === r ? r : 0), t !== n && (t = Fu(t), t = t === t ? t : 0), ii(Fu(e), t, r);
			}
			function kd(e, t, r) {
				return t = Mu(t), r === n ? (r = t, t = 0) : r = Mu(r), e = Fu(e), Oi(e, t, r);
			}
			function Ad(e, t, r) {
				if (r && typeof r != "boolean" && Yo(e, t, r) && (t = r = n), r === n && (typeof t == "boolean" ? (r = t, t = n) : typeof e == "boolean" && (r = e, e = n)), e === n && t === n ? (e = 0, t = 1) : (e = Mu(e), t === n ? (t = e, e = 0) : t = Mu(t)), e > t) {
					var i = e;
					e = t, t = i;
				}
				if (r || e % 1 || t % 1) {
					var a = Yt();
					return Kt(e + a * (t - e + Xt("1e-" + ((a + "").length - 1))), t);
				}
				return aa(e, t);
			}
			var jd = to(function(e, t, n) {
				return t = t.toLowerCase(), e + (n ? Md(t) : t);
			});
			function Md(e) {
				return of(Ru(e).toLowerCase());
			}
			function Nd(e) {
				return e = Ru(e), e && e.replace(Ze, Hn).replace(Lt, "");
			}
			function Pd(e, t, r) {
				e = Ru(e), t = xa(t);
				var i = e.length;
				r = r === n ? i : ii(Nu(r), 0, i);
				var a = r;
				return r -= t.length, r >= 0 && e.slice(r, a) == t;
			}
			function Fd(e) {
				return e = Ru(e), e && De.test(e) ? e.replace(Te, Un) : e;
			}
			function Id(e) {
				return e = Ru(e), e && Fe.test(e) ? e.replace(Pe, "\\$&") : e;
			}
			var Ld = to(function(e, t, n) {
				return e + (n ? "-" : "") + t.toLowerCase();
			}), Rd = to(function(e, t, n) {
				return e + (n ? " " : "") + t.toLowerCase();
			}), zd = eo("toLowerCase");
			function Bd(e, t, n) {
				e = Ru(e), t = Nu(t);
				var r = t ? nr(e) : 0;
				if (!t || r >= t) return e;
				var i = (t - r) / 2;
				return uo(Nt(i), n) + e + uo(Mt(i), n);
			}
			function Vd(e, t, n) {
				e = Ru(e), t = Nu(t);
				var r = t ? nr(e) : 0;
				return t && r < t ? e + uo(t - r, n) : e;
			}
			function Hd(e, t, n) {
				e = Ru(e), t = Nu(t);
				var r = t ? nr(e) : 0;
				return t && r < t ? uo(t - r, n) + e : e;
			}
			function Ud(e, t, n) {
				return n || t == null ? t = 0 : t &&= +t, Jt(Ru(e).replace(Ie, ""), t || 0);
			}
			function Wd(e, t, r) {
				return t = (r ? Yo(e, t, r) : t === n) ? 1 : Nu(t), sa(Ru(e), t);
			}
			function Gd() {
				var e = arguments, t = Ru(e[0]);
				return e.length < 3 ? t : t.replace(e[1], e[2]);
			}
			var Kd = to(function(e, t, n) {
				return e + (n ? "_" : "") + t.toLowerCase();
			});
			function qd(e, t, r) {
				return r && typeof r != "number" && Yo(e, t, r) && (t = r = n), r = r === n ? y : r >>> 0, r ? (e = Ru(e), e && (typeof t == "string" || t != null && !bu(t)) && (t = xa(t), !t && Kn(e)) ? Na(rr(e), 0, r) : e.split(t, r)) : [];
			}
			var Jd = to(function(e, t, n) {
				return e + (n ? " " : "") + of(t);
			});
			function Yd(e, t, n) {
				return e = Ru(e), n = n == null ? 0 : ii(Nu(n), 0, e.length), t = xa(t), e.slice(n, n + t.length) == t;
			}
			function Xd(e, t, r) {
				var i = W.templateSettings;
				r && Yo(e, t, r) && (t = n), e = Ru(e), t = Hu({}, t, i, bo);
				var a = Hu({}, t.imports, i.imports, bo), o = sd(a), s = Ln(a, o);
				pn(o, function(e) {
					if (He.test(e)) throw new et("Invalid `imports` option passed into `_.template`");
				});
				var c, l, u = 0, d = t.interpolate || Qe, f = "__p += '", p = it((t.escape || Qe).source + "|" + d.source + "|" + (d === Ae ? We : Qe).source + "|" + (t.evaluate || Qe).source + "|$", "g"), m = "//# sourceURL=" + (F.call(t, "sourceURL") ? (t.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++Ut + "]") + "\n";
				e.replace(p, function(t, n, r, i, a, o) {
					return r ||= i, f += e.slice(u, o).replace($e, Wn), n && (c = !0, f += "' +\n__e(" + n + ") +\n'"), a && (l = !0, f += "';\n" + a + ";\n__p += '"), r && (f += "' +\n((__t = (" + r + ")) == null ? '' : __t) +\n'"), u = o + t.length, t;
				}), f += "';\n";
				var h = F.call(t, "variable") && t.variable;
				if (!h) f = "with (obj) {\n" + f + "\n}\n";
				else if (He.test(h)) throw new et("Invalid `variable` option passed into `_.template`");
				f = (l ? f.replace(xe, "") : f).replace(Se, "$1").replace(Ce, "$1;"), f = "function(" + (h || "obj") + ") {\n" + (h ? "" : "obj || (obj = {});\n") + "var __t, __p = ''" + (c ? ", __e = _.escape" : "") + (l ? ", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n" : ";\n") + f + "return __p\n}";
				var g = cf(function() {
					return tt(o, m + "return " + f).apply(n, s);
				});
				if (g.source = f, iu(g)) throw g;
				return g;
			}
			function Zd(e) {
				return Ru(e).toLowerCase();
			}
			function Qd(e) {
				return Ru(e).toUpperCase();
			}
			function $d(e, t, r) {
				if (e = Ru(e), e && (r || t === n)) return Fn(e);
				if (!e || !(t = xa(t))) return e;
				var i = rr(e), a = rr(t);
				return Na(i, zn(i, a), Bn(i, a) + 1).join("");
			}
			function ef(e, t, r) {
				if (e = Ru(e), e && (r || t === n)) return e.slice(0, ir(e) + 1);
				if (!e || !(t = xa(t))) return e;
				var i = rr(e);
				return Na(i, 0, Bn(i, rr(t)) + 1).join("");
			}
			function tf(e, t, r) {
				if (e = Ru(e), e && (r || t === n)) return e.replace(Ie, "");
				if (!e || !(t = xa(t))) return e;
				var i = rr(e);
				return Na(i, zn(i, rr(t))).join("");
			}
			function nf(e, t) {
				var r = 30, i = "...";
				if (lu(t)) {
					var a = "separator" in t ? t.separator : a;
					r = "length" in t ? Nu(t.length) : r, i = "omission" in t ? xa(t.omission) : i;
				}
				e = Ru(e);
				var o = e.length;
				if (Kn(e)) {
					var s = rr(e);
					o = s.length;
				}
				if (r >= o) return e;
				var c = r - nr(i);
				if (c < 1) return i;
				var l = s ? Na(s, 0, c).join("") : e.slice(0, c);
				if (a === n) return l + i;
				if (s && (c += l.length - c), bu(a)) {
					if (e.slice(c).search(a)) {
						var u, d = l;
						for (a.global || (a = it(a.source, Ru(Ge.exec(a)) + "g")), a.lastIndex = 0; u = a.exec(d);) var f = u.index;
						l = l.slice(0, f === n ? c : f);
					}
				} else if (e.indexOf(xa(a), c) != c) {
					var p = l.lastIndexOf(a);
					p > -1 && (l = l.slice(0, p));
				}
				return l + i;
			}
			function rf(e) {
				return e = Ru(e), e && Ee.test(e) ? e.replace(we, ar) : e;
			}
			var af = to(function(e, t, n) {
				return e + (n ? " " : "") + t.toUpperCase();
			}), of = eo("toUpperCase");
			function sf(e, t, r) {
				return e = Ru(e), t = r ? n : t, t === n ? qn(e) ? cr(e) : V(e) : e.match(t) || [];
			}
			var cf = ca(function(e, t) {
				try {
					return R(e, n, t);
				} catch (e) {
					return iu(e) ? e : new et(e);
				}
			}), lf = Eo(function(e, t) {
				return pn(t, function(t) {
					t = ys(t), ni(e, t, _l(e[t], e));
				}), e;
			});
			function uf(e) {
				var t = e == null ? 0 : e.length, n = Mo();
				return e = t ? vn(e, function(e) {
					if (typeof e[1] != "function") throw new ot(r);
					return [n(e[0]), e[1]];
				}) : [], ca(function(n) {
					for (var r = -1; ++r < t;) {
						var i = e[r];
						if (R(i[0], this, n)) return R(i[1], this, n);
					}
				});
			}
			function df(e) {
				return oi(ai(e, 1));
			}
			function ff(e) {
				return function() {
					return e;
				};
			}
			function pf(e, t) {
				return e == null || e !== e ? t : e;
			}
			var mf = ao(), hf = ao(!0);
			function gf(e) {
				return e;
			}
			function _f(e) {
				return Ui(typeof e == "function" ? e : ai(e, 1));
			}
			function vf(e) {
				return Ji(ai(e, 1));
			}
			function yf(e, t) {
				return Yi(e, ai(t, 1));
			}
			var bf = ca(function(e, t) {
				return function(n) {
					return ji(n, e, t);
				};
			}), xf = ca(function(e, t) {
				return function(n) {
					return ji(e, n, t);
				};
			});
			function Sf(e, t, n) {
				var r = sd(t), i = xi(t, r);
				n == null && (!lu(t) || !i.length && r.length) && (n = t, t = e, e = this, i = xi(t, sd(t)));
				var a = !(lu(n) && "chain" in n) || !!n.chain, o = ou(e);
				return pn(i, function(n) {
					var r = t[n];
					e[n] = r, o && (e.prototype[n] = function() {
						var t = this.__chain__;
						if (a || t) {
							var n = e(this.__wrapped__);
							return (n.__actions__ = Ga(this.__actions__)).push({
								func: r,
								args: arguments,
								thisArg: e
							}), n.__chain__ = t, n;
						}
						return r.apply(e, yn([this.value()], arguments));
					});
				}), e;
			}
			function Cf() {
				return en._ === this && (en._ = gt), this;
			}
			function wf() {}
			function Tf(e) {
				return e = Nu(e), ca(function(t) {
					return Qi(t, e);
				});
			}
			var Ef = lo(vn), Df = lo(hn), Of = lo(xn);
			function kf(e) {
				return Xo(e) ? On(ys(e)) : na(e);
			}
			function Af(e) {
				return function(t) {
					return e == null ? n : Si(e, t);
				};
			}
			var jf = po(), Mf = po(!0);
			function Nf() {
				return [];
			}
			function Pf() {
				return !1;
			}
			function Ff() {
				return {};
			}
			function If() {
				return "";
			}
			function Lf() {
				return !0;
			}
			function Rf(e, t) {
				if (e = Nu(e), e < 1 || e > g) return [];
				var n = y, r = Kt(e, y);
				t = Mo(t), e -= y;
				for (var i = Nn(r, t); ++n < e;) t(n);
				return i;
			}
			function zf(e) {
				return ql(e) ? vn(e, ys) : wu(e) ? [e] : Ga(vs(Ru(e)));
			}
			function Bf(e) {
				var t = ++ft;
				return Ru(e) + t;
			}
			var Vf = co(function(e, t) {
				return e + t;
			}, 0), Hf = go("ceil"), Uf = co(function(e, t) {
				return e / t;
			}, 1), Wf = go("floor");
			function Gf(e) {
				return e && e.length ? pi(e, gf, Ti) : n;
			}
			function Kf(e, t) {
				return e && e.length ? pi(e, Mo(t, 2), Ti) : n;
			}
			function qf(e) {
				return Dn(e, gf);
			}
			function Jf(e, t) {
				return Dn(e, Mo(t, 2));
			}
			function Yf(e) {
				return e && e.length ? pi(e, gf, Ki) : n;
			}
			function Xf(e, t) {
				return e && e.length ? pi(e, Mo(t, 2), Ki) : n;
			}
			var Zf = co(function(e, t) {
				return e * t;
			}, 1), Qf = go("round"), $f = co(function(e, t) {
				return e - t;
			}, 0);
			function ep(e) {
				return e && e.length ? Mn(e, gf) : 0;
			}
			function tp(e, t) {
				return e && e.length ? Mn(e, Mo(t, 2)) : 0;
			}
			return W.after = ml, W.ary = hl, W.assign = zu, W.assignIn = Bu, W.assignInWith = Vu, W.assignWith = Hu, W.at = Uu, W.before = gl, W.bind = _l, W.bindAll = lf, W.bindKey = vl, W.castArray = Ll, W.chain = jc, W.chunk = Cs, W.compact = ws, W.concat = Ts, W.cond = uf, W.conforms = df, W.constant = ff, W.countBy = X, W.create = Wu, W.curry = yl, W.curryRight = bl, W.debounce = xl, W.defaults = Gu, W.defaultsDeep = Ku, W.defer = Sl, W.delay = Cl, W.difference = Es, W.differenceBy = Ds, W.differenceWith = Os, W.drop = ks, W.dropRight = As, W.dropRightWhile = js, W.dropWhile = Ms, W.fill = Ns, W.filter = Uc, W.flatMap = Kc, W.flatMapDeep = qc, W.flatMapDepth = Jc, W.flatten = Is, W.flattenDeep = Ls, W.flattenDepth = Rs, W.flip = wl, W.flow = mf, W.flowRight = hf, W.fromPairs = zs, W.functions = $u, W.functionsIn = ed, W.groupBy = Zc, W.initial = Hs, W.intersection = Us, W.intersectionBy = Ws, W.intersectionWith = Gs, W.invert = id, W.invertBy = ad, W.invokeMap = $c, W.iteratee = _f, W.keyBy = el, W.keys = sd, W.keysIn = cd, W.map = tl, W.mapKeys = ld, W.mapValues = ud, W.matches = vf, W.matchesProperty = yf, W.memoize = Tl, W.merge = dd, W.mergeWith = fd, W.method = bf, W.methodOf = xf, W.mixin = Sf, W.negate = El, W.nthArg = Tf, W.omit = pd, W.omitBy = md, W.once = Dl, W.orderBy = nl, W.over = Ef, W.overArgs = Ol, W.overEvery = Df, W.overSome = Of, W.partial = kl, W.partialRight = Al, W.partition = rl, W.pick = hd, W.pickBy = gd, W.property = kf, W.propertyOf = Af, W.pull = Xs, W.pullAll = Zs, W.pullAllBy = Qs, W.pullAllWith = $s, W.pullAt = ec, W.range = jf, W.rangeRight = Mf, W.rearg = jl, W.reject = ol, W.remove = tc, W.rest = Ml, W.reverse = nc, W.sampleSize = cl, W.set = vd, W.setWith = yd, W.shuffle = ll, W.slice = rc, W.sortBy = fl, W.sortedUniq = uc, W.sortedUniqBy = dc, W.split = qd, W.spread = Nl, W.tail = fc, W.take = pc, W.takeRight = mc, W.takeRightWhile = hc, W.takeWhile = gc, W.tap = Mc, W.throttle = Pl, W.thru = Nc, W.toArray = ju, W.toPairs = bd, W.toPairsIn = xd, W.toPath = zf, W.toPlainObject = Iu, W.transform = Sd, W.unary = Fl, W.union = J, W.unionBy = _c, W.unionWith = vc, W.uniq = yc, W.uniqBy = bc, W.uniqWith = xc, W.unset = Cd, W.unzip = Sc, W.unzipWith = Cc, W.update = wd, W.updateWith = Td, W.values = Ed, W.valuesIn = Dd, W.without = Y, W.words = sf, W.wrap = Il, W.xor = wc, W.xorBy = Tc, W.xorWith = Ec, W.zip = Dc, W.zipObject = Oc, W.zipObjectDeep = kc, W.zipWith = Ac, W.entries = bd, W.entriesIn = xd, W.extend = Bu, W.extendWith = Vu, Sf(W, W), W.add = Vf, W.attempt = cf, W.camelCase = jd, W.capitalize = Md, W.ceil = Hf, W.clamp = Od, W.clone = Rl, W.cloneDeep = Bl, W.cloneDeepWith = Vl, W.cloneWith = zl, W.conformsTo = Hl, W.deburr = Nd, W.defaultTo = pf, W.divide = Uf, W.endsWith = Pd, W.eq = Ul, W.escape = Fd, W.escapeRegExp = Id, W.every = Hc, W.find = Wc, W.findIndex = Ps, W.findKey = qu, W.findLast = Gc, W.findLastIndex = Fs, W.findLastKey = Ju, W.floor = Wf, W.forEach = Yc, W.forEachRight = Xc, W.forIn = Yu, W.forInRight = Xu, W.forOwn = Zu, W.forOwnRight = Qu, W.get = td, W.gt = Wl, W.gte = Gl, W.has = nd, W.hasIn = rd, W.head = Bs, W.identity = gf, W.includes = Qc, W.indexOf = Vs, W.inRange = kd, W.invoke = od, W.isArguments = Kl, W.isArray = ql, W.isArrayBuffer = Jl, W.isArrayLike = Yl, W.isArrayLikeObject = Xl, W.isBoolean = Zl, W.isBuffer = Ql, W.isDate = $l, W.isElement = eu, W.isEmpty = tu, W.isEqual = nu, W.isEqualWith = ru, W.isError = iu, W.isFinite = au, W.isFunction = ou, W.isInteger = su, W.isLength = cu, W.isMap = du, W.isMatch = fu, W.isMatchWith = pu, W.isNaN = mu, W.isNative = hu, W.isNil = _u, W.isNull = gu, W.isNumber = vu, W.isObject = lu, W.isObjectLike = uu, W.isPlainObject = yu, W.isRegExp = bu, W.isSafeInteger = xu, W.isSet = Su, W.isString = Cu, W.isSymbol = wu, W.isTypedArray = Tu, W.isUndefined = Eu, W.isWeakMap = Du, W.isWeakSet = Ou, W.join = Ks, W.kebabCase = Ld, W.last = qs, W.lastIndexOf = Js, W.lowerCase = Rd, W.lowerFirst = zd, W.lt = ku, W.lte = Au, W.max = Gf, W.maxBy = Kf, W.mean = qf, W.meanBy = Jf, W.min = Yf, W.minBy = Xf, W.stubArray = Nf, W.stubFalse = Pf, W.stubObject = Ff, W.stubString = If, W.stubTrue = Lf, W.multiply = Zf, W.nth = Ys, W.noConflict = Cf, W.noop = wf, W.now = pl, W.pad = Bd, W.padEnd = Vd, W.padStart = Hd, W.parseInt = Ud, W.random = Ad, W.reduce = il, W.reduceRight = al, W.repeat = Wd, W.replace = Gd, W.result = _d, W.round = Qf, W.runInContext = e, W.sample = sl, W.size = ul, W.snakeCase = Kd, W.some = dl, W.sortedIndex = ic, W.sortedIndexBy = ac, W.sortedIndexOf = oc, W.sortedLastIndex = sc, W.sortedLastIndexBy = cc, W.sortedLastIndexOf = lc, W.startCase = Jd, W.startsWith = Yd, W.subtract = $f, W.sum = ep, W.sumBy = tp, W.template = Xd, W.times = Rf, W.toFinite = Mu, W.toInteger = Nu, W.toLength = Pu, W.toLower = Zd, W.toNumber = Fu, W.toSafeInteger = Lu, W.toString = Ru, W.toUpper = Qd, W.trim = $d, W.trimEnd = ef, W.trimStart = tf, W.truncate = nf, W.unescape = rf, W.uniqueId = Bf, W.upperCase = af, W.upperFirst = of, W.each = Yc, W.eachRight = Xc, W.first = Bs, Sf(W, function() {
				var e = {};
				return yi(W, function(t, n) {
					F.call(W.prototype, n) || (e[n] = t);
				}), e;
			}(), { chain: !1 }), W.VERSION = "4.18.1", pn([
				"bind",
				"bindKey",
				"curry",
				"curryRight",
				"partial",
				"partialRight"
			], function(e) {
				W[e].placeholder = W;
			}), pn(["drop", "take"], function(e, t) {
				vr.prototype[e] = function(r) {
					r = r === n ? 1 : Vt(Nu(r), 0);
					var i = this.__filtered__ && !t ? new vr(this) : this.clone();
					return i.__filtered__ ? i.__takeCount__ = Kt(r, i.__takeCount__) : i.__views__.push({
						size: Kt(r, y),
						type: e + (i.__dir__ < 0 ? "Right" : "")
					}), i;
				}, vr.prototype[e + "Right"] = function(t) {
					return this.reverse()[e](t).reverse();
				};
			}), pn([
				"filter",
				"map",
				"takeWhile"
			], function(e, t) {
				var n = t + 1, r = n == 1 || n == 3;
				vr.prototype[e] = function(e) {
					var t = this.clone();
					return t.__iteratees__.push({
						iteratee: Mo(e, 3),
						type: n
					}), t.__filtered__ = t.__filtered__ || r, t;
				};
			}), pn(["head", "last"], function(e, t) {
				var n = "take" + (t ? "Right" : "");
				vr.prototype[e] = function() {
					return this[n](1).value()[0];
				};
			}), pn(["initial", "tail"], function(e, t) {
				var n = "drop" + (t ? "" : "Right");
				vr.prototype[e] = function() {
					return this.__filtered__ ? new vr(this) : this[n](1);
				};
			}), vr.prototype.compact = function() {
				return this.filter(gf);
			}, vr.prototype.find = function(e) {
				return this.filter(e).head();
			}, vr.prototype.findLast = function(e) {
				return this.reverse().find(e);
			}, vr.prototype.invokeMap = ca(function(e, t) {
				return typeof e == "function" ? new vr(this) : this.map(function(n) {
					return ji(n, e, t);
				});
			}), vr.prototype.reject = function(e) {
				return this.filter(El(Mo(e)));
			}, vr.prototype.slice = function(e, t) {
				e = Nu(e);
				var r = this;
				return r.__filtered__ && (e > 0 || t < 0) ? new vr(r) : (e < 0 ? r = r.takeRight(-e) : e && (r = r.drop(e)), t !== n && (t = Nu(t), r = t < 0 ? r.dropRight(-t) : r.take(t - e)), r);
			}, vr.prototype.takeRightWhile = function(e) {
				return this.reverse().takeWhile(e).reverse();
			}, vr.prototype.toArray = function() {
				return this.take(y);
			}, yi(vr.prototype, function(e, t) {
				var r = /^(?:filter|find|map|reject)|While$/.test(t), i = /^(?:head|last)$/.test(t), a = W[i ? "take" + (t == "last" ? "Right" : "") : t], o = i || /^find/.test(t);
				a && (W.prototype[t] = function() {
					var t = this.__wrapped__, s = i ? [1] : arguments, c = t instanceof vr, l = s[0], u = c || ql(t), d = function(e) {
						var t = a.apply(W, yn([e], s));
						return i && f ? t[0] : t;
					};
					u && r && typeof l == "function" && l.length != 1 && (c = u = !1);
					var f = this.__chain__, p = !!this.__actions__.length, m = o && !f, h = c && !p;
					if (!o && u) {
						t = h ? t : new vr(this);
						var g = e.apply(t, s);
						return g.__actions__.push({
							func: Nc,
							args: [d],
							thisArg: n
						}), new _r(g, f);
					}
					return m && h ? e.apply(this, s) : (g = this.thru(d), m ? i ? g.value()[0] : g.value() : g);
				});
			}), pn([
				"pop",
				"push",
				"shift",
				"sort",
				"splice",
				"unshift"
			], function(e) {
				var t = st[e], n = /^(?:push|sort|unshift)$/.test(e) ? "tap" : "thru", r = /^(?:pop|shift)$/.test(e);
				W.prototype[e] = function() {
					var e = arguments;
					if (r && !this.__chain__) {
						var i = this.value();
						return t.apply(ql(i) ? i : [], e);
					}
					return this[n](function(n) {
						return t.apply(ql(n) ? n : [], e);
					});
				};
			}), yi(vr.prototype, function(e, t) {
				var n = W[t];
				if (n) {
					var r = n.name + "";
					F.call(kn, r) || (kn[r] = []), kn[r].push({
						name: t,
						func: n
					});
				}
			}), kn[oo(n, s).name] = [{
				name: "wrapper",
				func: n
			}], vr.prototype.clone = yr, vr.prototype.reverse = br, vr.prototype.value = xr, W.prototype.at = Pc, W.prototype.chain = Fc, W.prototype.commit = Ic, W.prototype.next = Lc, W.prototype.plant = zc, W.prototype.reverse = Bc, W.prototype.toJSON = W.prototype.valueOf = W.prototype.value = Vc, W.prototype.first = W.prototype.head, Et && (W.prototype[Et] = Rc), W;
		})();
		typeof define == "function" && typeof define.amd == "object" && define.amd ? (en._ = lr, define(function() {
			return lr;
		})) : nn ? ((nn.exports = lr)._ = lr, tn._ = lr) : en._ = lr;
	}).call(n);
})))();
function mo(e) {
	if (!e || typeof document > "u") return;
	let t = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style");
	n.type = "text/css", t.appendChild(n), n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e));
}
var ho = (e) => {
	switch (e) {
		case "success": return vo;
		case "info": return bo;
		case "warning": return yo;
		case "error": return xo;
		default: return null;
	}
}, go = Array(12).fill(0), _o = ({ visible: e, className: t }) => /*#__PURE__*/ R.createElement("div", {
	className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
	"data-visible": e
}, /*#__PURE__*/ R.createElement("div", { className: "sonner-spinner" }, go.map((e, t) => /*#__PURE__*/ R.createElement("div", {
	className: "sonner-loading-bar",
	key: `spinner-bar-${t}`
})))), vo = /*#__PURE__*/ R.createElement("svg", {
	xmlns: "http://www.w3.org/2000/svg",
	viewBox: "0 0 20 20",
	fill: "currentColor",
	height: "20",
	width: "20"
}, /*#__PURE__*/ R.createElement("path", {
	fillRule: "evenodd",
	d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",
	clipRule: "evenodd"
})), yo = /*#__PURE__*/ R.createElement("svg", {
	xmlns: "http://www.w3.org/2000/svg",
	viewBox: "0 0 24 24",
	fill: "currentColor",
	height: "20",
	width: "20"
}, /*#__PURE__*/ R.createElement("path", {
	fillRule: "evenodd",
	d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",
	clipRule: "evenodd"
})), bo = /*#__PURE__*/ R.createElement("svg", {
	xmlns: "http://www.w3.org/2000/svg",
	viewBox: "0 0 20 20",
	fill: "currentColor",
	height: "20",
	width: "20"
}, /*#__PURE__*/ R.createElement("path", {
	fillRule: "evenodd",
	d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",
	clipRule: "evenodd"
})), xo = /*#__PURE__*/ R.createElement("svg", {
	xmlns: "http://www.w3.org/2000/svg",
	viewBox: "0 0 20 20",
	fill: "currentColor",
	height: "20",
	width: "20"
}, /*#__PURE__*/ R.createElement("path", {
	fillRule: "evenodd",
	d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",
	clipRule: "evenodd"
})), So = /*#__PURE__*/ R.createElement("svg", {
	xmlns: "http://www.w3.org/2000/svg",
	width: "12",
	height: "12",
	viewBox: "0 0 24 24",
	fill: "none",
	stroke: "currentColor",
	strokeWidth: "1.5",
	strokeLinecap: "round",
	strokeLinejoin: "round"
}, /*#__PURE__*/ R.createElement("line", {
	x1: "18",
	y1: "6",
	x2: "6",
	y2: "18"
}), /*#__PURE__*/ R.createElement("line", {
	x1: "6",
	y1: "6",
	x2: "18",
	y2: "18"
})), Co = () => {
	let [e, t] = R.useState(document.hidden);
	return R.useEffect(() => {
		let e = () => {
			t(document.hidden);
		};
		return document.addEventListener("visibilitychange", e), () => window.removeEventListener("visibilitychange", e);
	}, []), e;
}, wo = 1, To = new class {
	constructor() {
		this.subscribe = (e) => (this.subscribers.push(e), () => {
			let t = this.subscribers.indexOf(e);
			this.subscribers.splice(t, 1);
		}), this.publish = (e) => {
			this.subscribers.forEach((t) => t(e));
		}, this.addToast = (e) => {
			this.publish(e), this.toasts = [...this.toasts, e];
		}, this.create = (e) => {
			let { message: t, ...n } = e, r = typeof e?.id == "number" || e.id?.length > 0 ? e.id : wo++, i = this.toasts.find((e) => e.id === r), a = e.dismissible === void 0 || e.dismissible;
			return this.dismissedToasts.has(r) && this.dismissedToasts.delete(r), i ? this.toasts = this.toasts.map((n) => n.id === r ? (this.publish({
				...n,
				...e,
				id: r,
				title: t
			}), {
				...n,
				...e,
				id: r,
				dismissible: a,
				title: t
			}) : n) : this.addToast({
				title: t,
				...n,
				dismissible: a,
				id: r
			}), r;
		}, this.dismiss = (e) => (e ? (this.dismissedToasts.add(e), requestAnimationFrame(() => this.subscribers.forEach((t) => t({
			id: e,
			dismiss: !0
		})))) : this.toasts.forEach((e) => {
			this.subscribers.forEach((t) => t({
				id: e.id,
				dismiss: !0
			}));
		}), e), this.message = (e, t) => this.create({
			...t,
			message: e
		}), this.error = (e, t) => this.create({
			...t,
			message: e,
			type: "error"
		}), this.success = (e, t) => this.create({
			...t,
			type: "success",
			message: e
		}), this.info = (e, t) => this.create({
			...t,
			type: "info",
			message: e
		}), this.warning = (e, t) => this.create({
			...t,
			type: "warning",
			message: e
		}), this.loading = (e, t) => this.create({
			...t,
			type: "loading",
			message: e
		}), this.promise = (e, t) => {
			if (!t) return;
			let n;
			t.loading !== void 0 && (n = this.create({
				...t,
				promise: e,
				type: "loading",
				message: t.loading,
				description: typeof t.description == "function" ? void 0 : t.description
			}));
			let r = Promise.resolve(e instanceof Function ? e() : e), i = n !== void 0, a, o = r.then(async (e) => {
				if (a = ["resolve", e], R.isValidElement(e)) i = !1, this.create({
					id: n,
					type: "default",
					message: e
				});
				else if (Do(e) && !e.ok) {
					i = !1;
					let r = typeof t.error == "function" ? await t.error(`HTTP error! status: ${e.status}`) : t.error, a = typeof t.description == "function" ? await t.description(`HTTP error! status: ${e.status}`) : t.description, o = typeof r == "object" && !R.isValidElement(r) ? r : { message: r };
					this.create({
						id: n,
						type: "error",
						description: a,
						...o
					});
				} else if (e instanceof Error) {
					i = !1;
					let r = typeof t.error == "function" ? await t.error(e) : t.error, a = typeof t.description == "function" ? await t.description(e) : t.description, o = typeof r == "object" && !R.isValidElement(r) ? r : { message: r };
					this.create({
						id: n,
						type: "error",
						description: a,
						...o
					});
				} else if (t.success !== void 0) {
					i = !1;
					let r = typeof t.success == "function" ? await t.success(e) : t.success, a = typeof t.description == "function" ? await t.description(e) : t.description, o = typeof r == "object" && !R.isValidElement(r) ? r : { message: r };
					this.create({
						id: n,
						type: "success",
						description: a,
						...o
					});
				}
			}).catch(async (e) => {
				if (a = ["reject", e], t.error !== void 0) {
					i = !1;
					let r = typeof t.error == "function" ? await t.error(e) : t.error, a = typeof t.description == "function" ? await t.description(e) : t.description, o = typeof r == "object" && !R.isValidElement(r) ? r : { message: r };
					this.create({
						id: n,
						type: "error",
						description: a,
						...o
					});
				}
			}).finally(() => {
				i && (this.dismiss(n), n = void 0), t.finally == null || t.finally.call(t);
			}), s = () => new Promise((e, t) => o.then(() => a[0] === "reject" ? t(a[1]) : e(a[1])).catch(t));
			return typeof n != "string" && typeof n != "number" ? { unwrap: s } : Object.assign(n, { unwrap: s });
		}, this.custom = (e, t) => {
			let n = t?.id || wo++;
			return this.create({
				jsx: e(n),
				id: n,
				...t
			}), n;
		}, this.getActiveToasts = () => this.toasts.filter((e) => !this.dismissedToasts.has(e.id)), this.subscribers = [], this.toasts = [], this.dismissedToasts = /* @__PURE__ */ new Set();
	}
}(), Eo = (e, t) => {
	let n = t?.id || wo++;
	return To.addToast({
		title: e,
		...t,
		id: n
	}), n;
}, Do = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", Oo = Object.assign(Eo, {
	success: To.success,
	info: To.info,
	warning: To.warning,
	error: To.error,
	custom: To.custom,
	message: To.message,
	promise: To.promise,
	dismiss: To.dismiss,
	loading: To.loading
}, {
	getHistory: () => To.toasts,
	getToasts: () => To.getActiveToasts()
});
mo("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
function ko(e) {
	return e.label !== void 0;
}
var Ao = 3, jo = "24px", Mo = "16px", No = 4e3, Po = 356, Fo = 14, Io = 45, Lo = 200;
function Ro(...e) {
	return e.filter(Boolean).join(" ");
}
function zo(e) {
	let [t, n] = e.split("-"), r = [];
	return t && r.push(t), n && r.push(n), r;
}
var Bo = (e) => {
	let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = R.useState(null), [O, k] = R.useState(null), [A, ee] = R.useState(!1), [j, M] = R.useState(!1), [N, te] = R.useState(!1), [P, ne] = R.useState(!1), [re, ie] = R.useState(!1), [ae, oe] = R.useState(0), [se, ce] = R.useState(0), le = R.useRef(n.duration || y || No), ue = R.useRef(null), de = R.useRef(null), fe = c === 0, pe = c + 1 <= o, me = n.type, he = n.dismissible !== !1, ge = n.className || "", _e = n.descriptionClassName || "", ve = R.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = R.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = R.useMemo(() => n.duration || y || No, [n.duration, y]), xe = R.useRef(0), Se = R.useRef(0), Ce = R.useRef(0), we = R.useRef(null), [Te, Ee] = b.split("-"), De = R.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = Co(), ke = n.invert || t, Ae = me === "loading";
	Se.current = R.useMemo(() => ve * x + De, [ve, De]), R.useEffect(() => {
		le.current = be;
	}, [be]), R.useEffect(() => {
		ee(!0);
	}, []), R.useEffect(() => {
		let e = de.current;
		if (e) {
			let t = e.getBoundingClientRect().height;
			return ce(t), a((e) => [{
				toastId: n.id,
				height: t,
				position: n.position
			}, ...e]), () => a((e) => e.filter((e) => e.toastId !== n.id));
		}
	}, [a, n.id]), R.useLayoutEffect(() => {
		if (!A) return;
		let e = de.current, t = e.style.height;
		e.style.height = "auto";
		let r = e.getBoundingClientRect().height;
		e.style.height = t, ce(r), a((e) => e.find((e) => e.toastId === n.id) ? e.map((e) => e.toastId === n.id ? {
			...e,
			height: r
		} : e) : [{
			toastId: n.id,
			height: r,
			position: n.position
		}, ...e]);
	}, [
		A,
		n.title,
		n.description,
		a,
		n.id,
		n.jsx,
		n.action,
		n.cancel
	]);
	let je = R.useCallback(() => {
		M(!0), oe(Se.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
			d(n);
		}, Lo);
	}, [
		n,
		d,
		a,
		Se
	]);
	R.useEffect(() => {
		if (n.promise && me === "loading" || n.duration === Infinity || n.type === "loading") return;
		let e;
		return u || i || Oe ? (() => {
			if (Ce.current < xe.current) {
				let e = (/* @__PURE__ */ new Date()).getTime() - xe.current;
				le.current -= e;
			}
			Ce.current = (/* @__PURE__ */ new Date()).getTime();
		})() : le.current !== Infinity && (xe.current = (/* @__PURE__ */ new Date()).getTime(), e = setTimeout(() => {
			n.onAutoClose == null || n.onAutoClose.call(n, n), je();
		}, le.current)), () => clearTimeout(e);
	}, [
		u,
		i,
		n,
		me,
		Oe,
		je
	]), R.useEffect(() => {
		n.delete && (je(), n.onDismiss == null || n.onDismiss.call(n, n));
	}, [je, n.delete]);
	function Me() {
		return w?.loading ? /*#__PURE__*/ R.createElement("div", {
			className: Ro(C?.loader, n?.classNames?.loader, "sonner-loader"),
			"data-visible": me === "loading"
		}, w.loading) : /*#__PURE__*/ R.createElement(_o, {
			className: Ro(C?.loader, n?.classNames?.loader),
			visible: me === "loading"
		});
	}
	let Ne = n.icon || w?.[me] || ho(me);
	return /*#__PURE__*/ R.createElement("li", {
		tabIndex: 0,
		ref: de,
		className: Ro(_, ge, C?.toast, n?.classNames?.toast, C?.default, C?.[me], n?.classNames?.[me]),
		"data-sonner-toast": "",
		"data-rich-colors": n.richColors ?? f,
		"data-styled": !(n.jsx || n.unstyled || r),
		"data-mounted": A,
		"data-promise": !!n.promise,
		"data-swiped": re,
		"data-removed": j,
		"data-visible": pe,
		"data-y-position": Te,
		"data-x-position": Ee,
		"data-index": c,
		"data-front": fe,
		"data-swiping": N,
		"data-dismissible": he,
		"data-type": me,
		"data-invert": ke,
		"data-swipe-out": P,
		"data-swipe-direction": O,
		"data-expanded": !!(u || S && A),
		"data-testid": n.testId,
		style: {
			"--index": c,
			"--toasts-before": c,
			"--z-index": l.length - c,
			"--offset": `${j ? ae : Se.current}px`,
			"--initial-height": S ? "auto" : `${se}px`,
			...m,
			...n.style
		},
		onDragEnd: () => {
			te(!1), D(null), we.current = null;
		},
		onPointerDown: (e) => {
			e.button !== 2 && !Ae && he && (ue.current = /* @__PURE__ */ new Date(), oe(Se.current), e.target.setPointerCapture(e.pointerId), e.target.tagName !== "BUTTON" && (te(!0), we.current = {
				x: e.clientX,
				y: e.clientY
			}));
		},
		onPointerUp: () => {
			if (P || !he) return;
			we.current = null;
			let e = Number(de.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(de.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - ue.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;
			if (Math.abs(i) >= Io || a > .11) oe(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), je(), ne(!0);
			else {
				var o, s;
				(o = de.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = de.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), ie(!1), te(!1), D(null);
			}
		},
		onPointerMove: (t) => {
			var n, r;
			if (!we.current || !he || window.getSelection()?.toString().length > 0) return;
			let i = t.clientY - we.current.y, a = t.clientX - we.current.x, o = e.swipeDirections ?? zo(b);
			!E && (Math.abs(a) > 1 || Math.abs(i) > 1) && D(Math.abs(a) > Math.abs(i) ? "x" : "y");
			let s = {
				x: 0,
				y: 0
			}, c = (e) => 1 / (1.5 + Math.abs(e) / 20);
			if (E === "y") {
				if (o.includes("top") || o.includes("bottom")) {
					if (o.includes("top") && i < 0 || o.includes("bottom") && i > 0) s.y = i;
					else {
						let e = i * c(i);
						s.y = Math.abs(e) < Math.abs(i) ? e : i;
					}
				}
			} else if (E === "x" && (o.includes("left") || o.includes("right"))) {
				if (o.includes("left") && a < 0 || o.includes("right") && a > 0) s.x = a;
				else {
					let e = a * c(a);
					s.x = Math.abs(e) < Math.abs(a) ? e : a;
				}
			}
			(Math.abs(s.x) > 0 || Math.abs(s.y) > 0) && ie(!0), (n = de.current) == null || n.style.setProperty("--swipe-amount-x", `${s.x}px`), (r = de.current) == null || r.style.setProperty("--swipe-amount-y", `${s.y}px`);
		}
	}, ye && !n.jsx && me !== "loading" ? /*#__PURE__*/ R.createElement("button", {
		"aria-label": T,
		"data-disabled": Ae,
		"data-close-button": !0,
		onClick: Ae || !he ? () => {} : () => {
			je(), n.onDismiss == null || n.onDismiss.call(n, n);
		},
		className: Ro(C?.closeButton, n?.classNames?.closeButton)
	}, w?.close ?? So) : null, (me || n.icon || n.promise) && n.icon !== null && (w?.[me] !== null || n.icon) ? /*#__PURE__*/ R.createElement("div", {
		"data-icon": "",
		className: Ro(C?.icon, n?.classNames?.icon)
	}, n.promise || n.type === "loading" && !n.icon ? n.icon || Me() : null, n.type === "loading" ? null : Ne) : null, /*#__PURE__*/ R.createElement("div", {
		"data-content": "",
		className: Ro(C?.content, n?.classNames?.content)
	}, /*#__PURE__*/ R.createElement("div", {
		"data-title": "",
		className: Ro(C?.title, n?.classNames?.title)
	}, n.jsx ? n.jsx : typeof n.title == "function" ? n.title() : n.title), n.description ? /*#__PURE__*/ R.createElement("div", {
		"data-description": "",
		className: Ro(v, _e, C?.description, n?.classNames?.description)
	}, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ R.isValidElement(n.cancel) ? n.cancel : n.cancel && ko(n.cancel) ? /*#__PURE__*/ R.createElement("button", {
		"data-button": !0,
		"data-cancel": !0,
		style: n.cancelButtonStyle || h,
		onClick: (e) => {
			ko(n.cancel) && he && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), je());
		},
		className: Ro(C?.cancelButton, n?.classNames?.cancelButton)
	}, n.cancel.label) : null, /*#__PURE__*/ R.isValidElement(n.action) ? n.action : n.action && ko(n.action) ? /*#__PURE__*/ R.createElement("button", {
		"data-button": !0,
		"data-action": !0,
		style: n.actionButtonStyle || g,
		onClick: (e) => {
			ko(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), e.defaultPrevented || je());
		},
		className: Ro(C?.actionButton, n?.classNames?.actionButton)
	}, n.action.label) : null);
};
function Vo() {
	if (typeof window > "u" || typeof document > "u") return "ltr";
	let e = document.documentElement.getAttribute("dir");
	return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
}
function Ho(e, t) {
	let n = {};
	return [e, t].forEach((e, t) => {
		let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Mo : jo;
		function o(e) {
			[
				"top",
				"right",
				"bottom",
				"left"
			].forEach((t) => {
				n[`${i}-${t}`] = typeof e == "number" ? `${e}px` : e;
			});
		}
		typeof e == "number" || typeof e == "string" ? o(e) : typeof e == "object" ? [
			"top",
			"right",
			"bottom",
			"left"
		].forEach((t) => {
			e[t] === void 0 ? n[`${i}-${t}`] = a : n[`${i}-${t}`] = typeof e[t] == "number" ? `${e[t]}px` : e[t];
		}) : o(a);
	}), n;
}
var Uo = /*#__PURE__*/ R.forwardRef(function(e, t) {
	let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = Ao, toastOptions: g, dir: _ = Vo(), gap: v = Fo, icons: y, containerAriaLabel: b = "Notifications" } = e, [x, S] = R.useState([]), C = R.useMemo(() => n ? x.filter((e) => e.toasterId === n) : x.filter((e) => !e.toasterId), [x, n]), w = R.useMemo(() => Array.from(new Set([i].concat(C.filter((e) => e.position).map((e) => e.position)))), [C, i]), [T, E] = R.useState([]), [D, O] = R.useState(!1), [k, A] = R.useState(!1), [ee, j] = R.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), M = R.useRef(null), N = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), te = R.useRef(null), P = R.useRef(!1), ne = R.useCallback((e) => {
		S((t) => (t.find((t) => t.id === e.id)?.delete || To.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
	}, []);
	return R.useEffect(() => To.subscribe((e) => {
		e.dismiss ? requestAnimationFrame(() => {
			S((t) => t.map((t) => t.id === e.id ? {
				...t,
				delete: !0
			} : t));
		}) : setTimeout(() => {
			Dn.flushSync(() => {
				S((t) => {
					let n = t.findIndex((t) => t.id === e.id);
					return n === -1 ? [e, ...t] : [
						...t.slice(0, n),
						{
							...t[n],
							...e
						},
						...t.slice(n + 1)
					];
				});
			});
		});
	}), [x]), R.useEffect(() => {
		if (d !== "system") {
			j(d);
			return;
		}
		if (d === "system" && (window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? j("dark") : j("light")), typeof window > "u") return;
		let e = window.matchMedia("(prefers-color-scheme: dark)");
		try {
			e.addEventListener("change", ({ matches: e }) => {
				j(e ? "dark" : "light");
			});
		} catch {
			e.addListener(({ matches: e }) => {
				try {
					j(e ? "dark" : "light");
				} catch (e) {
					console.error(e);
				}
			});
		}
	}, [d]), R.useEffect(() => {
		x.length <= 1 && O(!1);
	}, [x]), R.useEffect(() => {
		let e = (e) => {
			if (a.every((t) => e[t] || e.code === t)) {
				var t;
				O(!0), (t = M.current) == null || t.focus();
			}
			e.code === "Escape" && (document.activeElement === M.current || M.current?.contains(document.activeElement)) && O(!1);
		};
		return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
	}, [a]), R.useEffect(() => {
		if (M.current) return () => {
			te.current && (te.current.focus({ preventScroll: !0 }), te.current = null, P.current = !1);
		};
	}, [M.current]), /*#__PURE__*/ R.createElement("section", {
		ref: t,
		"aria-label": `${b} ${N}`,
		tabIndex: -1,
		"aria-live": "polite",
		"aria-relevant": "additions text",
		"aria-atomic": "false",
		suppressHydrationWarning: !0
	}, w.map((t, n) => {
		let [i, a] = t.split("-");
		return C.length ? /*#__PURE__*/ R.createElement("ol", {
			key: t,
			dir: _ === "auto" ? Vo() : _,
			tabIndex: -1,
			ref: M,
			className: c,
			"data-sonner-toaster": !0,
			"data-sonner-theme": ee,
			"data-y-position": i,
			"data-x-position": a,
			style: {
				"--front-toast-height": `${T[0]?.height || 0}px`,
				"--width": `${Po}px`,
				"--gap": `${v}px`,
				...m,
				...Ho(l, u)
			},
			onBlur: (e) => {
				P.current && !e.currentTarget.contains(e.relatedTarget) && (P.current = !1, te.current &&= (te.current.focus({ preventScroll: !0 }), null));
			},
			onFocus: (e) => {
				e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || P.current || (P.current = !0, te.current = e.relatedTarget);
			},
			onMouseEnter: () => O(!0),
			onMouseMove: () => O(!0),
			onMouseLeave: () => {
				k || O(!1);
			},
			onDragEnd: () => O(!1),
			onPointerDown: (e) => {
				e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || A(!0);
			},
			onPointerUp: () => A(!1)
		}, C.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ R.createElement(Bo, {
			key: n.id,
			icons: y,
			index: i,
			toast: n,
			defaultRichColors: f,
			duration: g?.duration ?? p,
			className: g?.className,
			descriptionClassName: g?.descriptionClassName,
			invert: r,
			visibleToasts: h,
			closeButton: g?.closeButton ?? s,
			interacting: k,
			position: t,
			style: g?.style,
			unstyled: g?.unstyled,
			classNames: g?.classNames,
			cancelButtonStyle: g?.cancelButtonStyle,
			actionButtonStyle: g?.actionButtonStyle,
			closeButtonAriaLabel: g?.closeButtonAriaLabel,
			removeToast: ne,
			toasts: C.filter((e) => e.position == n.position),
			heights: T.filter((e) => e.position == n.position),
			setHeights: E,
			expandByDefault: o,
			gap: v,
			expanded: D,
			swipeDirections: e.swipeDirections
		}))) : null;
	}));
});
// src/lib/operations.utils.ts
function Wo(e) {
	return e.replace(/\{(\s+)?\}/g, "");
}
var Go = (e) => {
	let n = pa(e);
	return n === null ? {
		kind: t,
		name: {
			kind: _t,
			value: e
		}
	} : {
		kind: Ze,
		typeCondition: {
			kind: lt,
			name: {
				kind: _t,
				value: n
			}
		},
		selectionSet: {
			kind: de,
			selections: []
		}
	};
}, Ko = (e, t) => {
	let n = pa(t);
	for (let r of e.selections) if (n === null) {
		if (r.kind === "Field" && r.name.value === t) return {
			parent: e,
			node: r
		};
	} else if (r.kind === "InlineFragment" && r.typeCondition?.name.value === n) return {
		parent: e,
		node: r
	};
	for (let n of e.selections) if (n.kind === "InlineFragment" && !n.typeCondition) {
		let e = Ko(n.selectionSet, t);
		if (e) return e;
	}
}, qo = (e) => e.selections;
function Jo(e, t, n = !1) {
	if (t.length === 0) return null;
	if (!e.selectionSet) {
		if (!n) return null;
		e.selectionSet = {
			kind: de,
			selections: []
		};
	}
	let r = e.selectionSet, i = [];
	for (let e = 0; e < t.length; ++e) {
		let a = Ko(r, t[e]);
		if (!a) {
			if (!n) return null;
			let i = Go(t[e]);
			qo(r).push(i), a = {
				parent: r,
				node: i
			};
		}
		let { node: o } = a;
		if (i.push(a), e === t.length - 1) break;
		if (!o.selectionSet) {
			if (!n) return null;
			o.selectionSet = {
				kind: de,
				selections: []
			};
		}
		r = o.selectionSet;
	}
	return i;
}
var Yo = (e) => {
	e.selectionSet ||= {
		kind: de,
		selections: []
	};
	let n = e.selectionSet;
	n.selections.some((e) => e.kind === "Field" && e.name.value === "__typename") || qo(n).unshift({
		kind: t,
		name: {
			kind: _t,
			value: "__typename"
		}
	});
}, Xo = (e, t) => {
	e.selections = e.selections.filter((e) => e !== t);
};
function Zo(e, t, n) {
	if (!e || !t) return !1;
	e = Wo(e);
	let [r, ...i] = t.split("."), a;
	try {
		a = Lt(e);
	} catch {}
	if (!a) return !1;
	let o = a.definitions.find((e) => e.kind === "OperationDefinition" && e.operation === r ? !n || e.name?.value === n : !1);
	return o ? i.length === 0 || Jo(o, i) !== null : !1;
}
function Qo(e, t, n, r) {
	e = Wo(e);
	let [i, ...a] = t.split("."), o;
	try {
		o = Lt(e);
	} catch {}
	o ??= {
		kind: be,
		definitions: [{
			kind: Rt,
			operation: i,
			name: {
				kind: _t,
				value: "Untitled"
			},
			selectionSet: {
				kind: de,
				selections: []
			}
		}]
	};
	let s = o.definitions.find((e) => e.kind === "OperationDefinition" && e.operation === i ? !n || e.name?.value === n : !1);
	if (s || (s = {
		kind: Rt,
		operation: i,
		name: {
			kind: _t,
			value: "Untitled"
		},
		selectionSet: {
			kind: de,
			selections: []
		}
	}, o.definitions.push(s)), a.length === 0) return x(o).split("\n").map((e) => e.includes(`${i} Untitled`) ? e + " {}" : e).join("\n");
	let c = Jo(s, a, !0), l = r ? va(t, r) : null;
	return c && l && c.forEach((e, t) => {
		l[t] && he(l[t].type) && Yo(e.node);
	}), x(o);
}
function $o(e, t, n) {
	e = Wo(e);
	let [r, ...i] = t.split("."), a;
	try {
		a = Lt(e);
	} catch {}
	if (!a) return e;
	let o = a.definitions.find((e) => e.kind === "OperationDefinition" && e.operation === r ? !n || e.name?.value === n : !1);
	if (!o) return e;
	let s = Jo(o, i);
	if (s) {
		let e = s[s.length - 1];
		Xo(e.parent, e.node);
		for (let e = s.length - 2; e >= 0; --e) {
			let { parent: t, node: n } = s[e];
			if (n.kind !== "InlineFragment" || n.selectionSet.selections.length > 0) break;
			Xo(t, n);
		}
	}
	return o.selectionSet?.selections.length === 0 ? a.definitions.length > 1 ? `${x({
		...a,
		definitions: a.definitions.filter((e) => e !== o)
	})}
${r} ${o.name?.value} {}` : `${r} ${o.name?.value} {}` : (o = a.definitions.find((e) => e.kind === "OperationDefinition" && e.operation === r ? !n || e.name?.value === n : !1), x(a));
}
function es(e) {
	try {
		return Lt(e).definitions.find((e) => e.kind === Rt)?.name?.value;
	} catch {
		let t = e.match(/(query|mutation|subscription)\s+([a-zA-Z0-9_]+)/);
		return t ? t[2] : null;
	}
}
function ts(e) {
	try {
		return Lt(e).definitions.find((e) => e.kind === Rt)?.operation;
	} catch {
		return null;
	}
}
function ns(e, t, n, r) {
	if (!e || !t) return !1;
	e = Wo(e);
	let [i, ...a] = t.split("."), o;
	try {
		o = Lt(e);
	} catch {}
	if (!o) return !1;
	let s = o.definitions.find((e) => e.kind === "OperationDefinition" && e.operation === i ? !r || e.name?.value === r : !1);
	if (!s) return !1;
	let c = Jo(s, a)?.at(-1)?.node;
	return c?.kind === "Field" ? c.arguments?.some((e) => e.name.value === n) ?? !1 : !1;
}
function rs(e, t, n, r, i) {
	e = Wo(e);
	let [a, ...o] = t.split("."), s;
	try {
		s = Lt(e);
	} catch {}
	s ||= {
		kind: be,
		definitions: [{
			kind: Rt,
			operation: a,
			name: {
				kind: _t,
				value: "NewOperation"
			},
			selectionSet: {
				kind: de,
				selections: []
			}
		}]
	};
	let c = s.definitions.find((e) => e.kind === "OperationDefinition" && e.operation === a ? !i || e.name?.value === i : !1);
	c || (c = {
		kind: Rt,
		operation: a,
		name: {
			kind: _t,
			value: "NewOperation"
		},
		selectionSet: {
			kind: de,
			selections: []
		}
	}, s.definitions.push(c)), e = x(s), Zo(e, t, i) || (s = Lt(Qo(e, t, i, r)), c = s.definitions.find((e) => e.kind === "OperationDefinition" && e.operation === a ? !i || e.name?.value === i : !1));
	let l = Jo(c, o)?.at(-1)?.node, u = ps(t, r)?.args.find((e) => e.name === n);
	if (l?.kind !== "Field" || !u) return x(s);
	let d = c.variableDefinitions ||= [], f = u.name, p = 2;
	for (; d.find((e) => e.variable.name.value === f);) f = u.name + p, ++p;
	return d.push({
		kind: me,
		variable: {
			kind: Ft,
			name: {
				kind: _t,
				value: f
			}
		},
		type: {
			kind: lt,
			name: {
				kind: _t,
				value: u.type.toString()
			}
		}
	}), (l.arguments ||= []).push({
		kind: bt,
		name: {
			kind: _t,
			value: n
		},
		value: {
			kind: Ft,
			name: {
				kind: _t,
				value: f
			}
		}
	}), x(s);
}
function is(e, t, n, r) {
	e = Wo(e);
	let [i, ...a] = t.split("."), o;
	try {
		o = Lt(e);
	} catch {}
	if (!o) return e;
	let s = o.definitions.find((e) => e.kind === "OperationDefinition" && e.operation === i ? !r || e.name?.value === r : !1);
	if (!s) return e;
	let c = Jo(s, a)?.at(-1)?.node;
	return c?.kind === "Field" && c.arguments && (c.arguments = c.arguments.filter((e) => e.name.value !== n)), x(o);
}
function as(e) {
	try {
		let t = Lt(e), n = [[t.definitions[0].kind === "OperationDefinition" ? t.definitions[0].operation : "query"]], r = (e, t = []) => {
			for (let i of e) if (i.kind === "Field") {
				let e = [...t, i.name.value];
				n.push(e), i.selectionSet && r(i.selectionSet.selections, e);
			} else if (i.kind === "InlineFragment") {
				let e = i.typeCondition ? [...t, fa(i.typeCondition.name.value)] : t;
				i.typeCondition && n.push(e), r(i.selectionSet.selections, e);
			}
		};
		for (let e of t.definitions) e.kind === "OperationDefinition" && e.selectionSet && r(e.selectionSet.selections, n[0]);
		return n;
	} catch {
		return [];
	}
}
function os(e) {
	return as(e).map((e) => e.join("."));
}
function ss(e, t, n) {
	let r = new Set(e);
	for (let e of t) n.includes(e) || r.delete(e);
	for (let e of n) r.add(e);
	return r.size === e.length && e.every((e) => r.has(e)) ? e : [...r];
}
function cs(e) {
	return e instanceof Ye || e instanceof ut ? cs(e.ofType) : e;
}
function ls(e, t, n) {
	if (n.length > 1) {
		let t = e.length - n.length;
		if (t < 0) return !1;
		for (let r = 0; r <= t; ++r) {
			let t = !0;
			for (let i = 0; i < n.length; ++i) if (!e[r + i].includes(n[i])) {
				t = !1;
				break;
			}
			if (t) return !0;
		}
		return !1;
	}
	for (let n of e) if (n.includes(t)) return !0;
	return !1;
}
function us(e, t, n) {
	let r = t.trim().toLowerCase();
	if (!r) return {
		matchedPaths: [],
		visiblePaths: /* @__PURE__ */ new Set(),
		forcedOpenPaths: /* @__PURE__ */ new Set(),
		hasMore: !1,
		nodesVisited: 0
	};
	let a = n?.maxDepth ?? 8, s = n?.maxMatches ?? 500, c = n?.maxNodes ?? 4e4, l = r.split(".").filter(Boolean), u = [], d = /* @__PURE__ */ new Set(), f = /* @__PURE__ */ new Set(), p = [], h = 0, g = [
		[m.QUERY, e.getQueryType() ?? null],
		[m.MUTATION, e.getMutationType() ?? null],
		[m.SUBSCRIPTION, e.getSubscriptionType() ?? null]
	], _ = n?.operationTypes && n.operationTypes.length > 0 ? g.filter(([e]) => n.operationTypes.includes(e)) : g;
	for (let [e, t] of _) if (t) for (let n of Object.values(t.getFields())) p.push({
		operation: e,
		field: n,
		pathSegments: [n.name],
		fieldSegments: [n.name],
		typeTrail: [t.name],
		depth: 1
	});
	let v = 0, y = !1;
	for (; h < p.length;) {
		if (v >= c || u.length >= s) {
			y = !0;
			break;
		}
		let t = p[h++];
		++v;
		let n = `${t.operation}.${t.pathSegments.join(".")}`;
		if (ls(t.fieldSegments.map((e) => e.toLowerCase()), r, l)) {
			u.push(n), d.add(n);
			let e = n.indexOf(".");
			for (; e !== -1;) {
				let t = n.slice(0, e);
				d.add(t), f.add(t), e = n.indexOf(".", e + 1);
			}
		}
		if (t.depth >= a) continue;
		let m = cs(t.field.type);
		if (t.typeTrail.includes(m.name)) continue;
		let g = [...t.typeTrail, m.name], _ = (e, n, r) => {
			p.push({
				operation: t.operation,
				field: e,
				pathSegments: n ? [
					...t.pathSegments,
					fa(n.name),
					e.name
				] : [...t.pathSegments, e.name],
				fieldSegments: [...t.fieldSegments, e.name],
				typeTrail: r,
				depth: t.depth + 1
			});
		};
		if (C(m) || i(m)) for (let e of Object.values(m.getFields())) _(e, null, g);
		let b = o(m) ? m.getTypes() : i(m) ? e.getPossibleTypes(m) : [], x = i(m) ? new Set(Object.keys(m.getFields())) : null;
		for (let e of b) {
			if (t.typeTrail.includes(e.name)) continue;
			let n = [...g, e.name];
			for (let t of Object.values(e.getFields())) x?.has(t.name) || _(t, e, n);
		}
	}
	return {
		matchedPaths: u,
		visiblePaths: d,
		forcedOpenPaths: f,
		hasMore: y,
		nodesVisited: v
	};
}
function ds(e, t) {
	let n = new Set(Object.keys(t).map((e) => e.toLowerCase()));
	return {
		...Object.fromEntries(Object.entries(e).filter(([e]) => !n.has(e.toLowerCase()))),
		...t
	};
}
function fs(e, t) {
	return e.replace(/\{\{(.*?)\}\}/g, (e, n) => (0, po.get)(t, n) ?? e);
}
function ps(e, t) {
	let n = va(e, t);
	if (!n) return null;
	for (let e = n.length - 1; e >= 0; --e) {
		let { field: t } = n[e];
		if (t) return t;
	}
	return null;
}
// ../../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
function ms(e) {
	var t, n, r = "";
	if (typeof e == "string" || typeof e == "number") r += e;
	else if (typeof e == "object") {
		if (Array.isArray(e)) {
			var i = e.length;
			for (t = 0; t < i; t++) e[t] && (n = ms(e[t])) && (r && (r += " "), r += n);
		} else for (n in e) e[n] && (r && (r += " "), r += n);
	}
	return r;
}
function hs() {
	for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = ms(e)) && (r && (r += " "), r += t);
	return r;
}
// ../../../node_modules/.pnpm/tailwind-merge@3.7.0/node_modules/tailwind-merge/dist/bundle-mjs.mjs
var gs = (e, t) => {
	let n = Array(e.length + t.length);
	for (let t = 0; t < e.length; t++) n[t] = e[t];
	for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
	return n;
}, _s = (e, t) => ({
	classGroupId: e,
	validator: t
}), vs = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
	nextPart: e,
	validators: t,
	classGroupId: n
}), ys = "-", bs = [], xs = "arbitrary..", Ss = (e) => {
	let t = Ts(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
	return {
		getClassGroupId: (e) => {
			if (e.startsWith("[") && e.endsWith("]")) return ws(e);
			let n = e.split(ys);
			return Cs(n, +(n[0] === "" && n.length > 1), t);
		},
		getConflictingClassGroupIds: (e, t) => {
			if (t) {
				let t = r[e], i = n[e];
				return t ? i ? gs(i, t) : t : i || bs;
			}
			return n[e] || bs;
		}
	};
}, Cs = (e, t, n) => {
	if (e.length - t === 0) return n.classGroupId;
	let r = e[t], i = n.nextPart.get(r);
	if (i) {
		let n = Cs(e, t + 1, i);
		if (n) return n;
	}
	let a = n.validators;
	if (a === null) return;
	let o = t === 0 ? e.join(ys) : e.slice(t).join(ys), s = a.length;
	for (let e = 0; e < s; e++) {
		let t = a[e];
		if (t.validator(o)) return t.classGroupId;
	}
}, ws = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
	let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
	return r ? xs + r : void 0;
})(), Ts = (e) => {
	let { theme: t, classGroups: n } = e;
	return Es(n, t);
}, Es = (e, t) => {
	let n = vs();
	for (let r in e) {
		let i = e[r];
		Ds(i, n, r, t);
	}
	return n;
}, Ds = (e, t, n, r) => {
	let i = e.length;
	for (let a = 0; a < i; a++) {
		let i = e[a];
		Os(i, t, n, r);
	}
}, Os = (e, t, n, r) => {
	typeof e == "string" ? ks(e, t, n) : typeof e == "function" ? As(e, t, n, r) : js(e, t, n, r);
}, ks = (e, t, n) => {
	let r = e === "" ? t : Ms(t, e);
	r.classGroupId = n;
}, As = (e, t, n, r) => {
	Ns(e) ? Ds(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(_s(n, e)));
}, js = (e, t, n, r) => {
	let i = Object.entries(e), a = i.length;
	for (let e = 0; e < a; e++) {
		let [a, o] = i[e];
		Ds(o, Ms(t, a), n, r);
	}
}, Ms = (e, t) => {
	let n = e, r = t.split(ys), i = r.length;
	for (let e = 0; e < i; e++) {
		let t = r[e], i = n.nextPart.get(t);
		i || (i = vs(), n.nextPart.set(t, i)), n = i;
	}
	return n;
}, Ns = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Ps = (e) => {
	if (e < 1) return {
		get: () => void 0,
		set: () => {}
	};
	let t = 0, n = Object.create(null), r = Object.create(null), i = (i, a) => {
		n[i] = a, t++, t > e && (t = 0, r = n, n = Object.create(null));
	};
	return {
		get(e) {
			let t = n[e];
			if (t !== void 0) return t;
			if ((t = r[e]) !== void 0) return i(e, t), t;
		},
		set(e, t) {
			e in n ? n[e] = t : i(e, t);
		}
	};
}, Fs = "!", Is = ":", Ls = [], Rs = (e, t, n, r, i) => ({
	modifiers: e,
	hasImportantModifier: t,
	baseClassName: n,
	maybePostfixModifierPosition: r,
	isExternal: i
}), zs = (e) => {
	let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
		let t = [], n = 0, r = 0, i = 0, a, o = e.length;
		for (let s = 0; s < o; s++) {
			let o = e[s];
			if (n === 0 && r === 0) {
				if (o === Is) {
					t.push(e.slice(i, s)), i = s + 1;
					continue;
				}
				if (o === "/") {
					a = s;
					continue;
				}
			}
			o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
		}
		let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
		s.endsWith(Fs) ? (c = s.slice(0, -1), l = !0) : s.startsWith(Fs) && (c = s.slice(1), l = !0);
		let u = a && a > i ? a - i : void 0;
		return Rs(t, l, c, u);
	};
	if (t) {
		let e = t + Is, n = r;
		r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : Rs(Ls, !1, t, void 0, !0);
	}
	if (n) {
		let e = r;
		r = (t) => n({
			className: t,
			parseClassName: e
		});
	}
	return r;
}, Bs = (e) => {
	let t = /* @__PURE__ */ new Map();
	return e.orderSensitiveModifiers.forEach((e, n) => {
		t.set(e, 1e6 + n);
	}), (e) => {
		let n = [], r = [];
		for (let i = 0; i < e.length; i++) {
			let a = e[i], o = a[0] === "[", s = t.has(a);
			o || s ? (r.length > 0 && (r.sort(), n.push(...r), r = []), n.push(a)) : r.push(a);
		}
		return r.length > 0 && (r.sort(), n.push(...r)), n;
	};
}, Vs = (e) => ({
	cache: Ps(e.cacheSize),
	parseClassName: zs(e),
	sortModifiers: Bs(e),
	postfixLookupClassGroupIds: Hs(e),
	...Ss(e)
}), Hs = (e) => {
	let t = Object.create(null), n = e.postfixLookupClassGroups;
	if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;
	return t;
}, Us = /\s+/, Ws = (e, t) => {
	let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Us), l = "";
	for (let e = c.length - 1; e >= 0; --e) {
		let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);
		if (u) {
			l = t + (l.length > 0 ? " " + l : l);
			continue;
		}
		let h = !!m, g;
		if (h) {
			g = r(p.substring(0, m));
			let e = g && o[g] ? r(p) : void 0;
			e && e !== g && (g = e, h = !1);
		} else g = r(p);
		if (!g) {
			if (!h || (g = r(p), !g)) {
				l = t + (l.length > 0 ? " " + l : l);
				continue;
			}
			h = !1;
		}
		let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + Fs : _, y = v + g;
		if (s.indexOf(y) > -1) continue;
		s.push(y);
		let b = i(g, h);
		for (let e = 0; e < b.length; ++e) {
			let t = b[e];
			s.push(v + t);
		}
		l = t + (l.length > 0 ? " " + l : l);
	}
	return l;
}, Gs = (...e) => {
	let t = 0, n, r, i = "";
	for (; t < e.length;) (n = e[t++]) && (r = Ks(n)) && (i && (i += " "), i += r);
	return i;
}, Ks = (e) => {
	if (typeof e == "string") return e;
	let t, n = "";
	for (let r = 0; r < e.length; r++) e[r] && (t = Ks(e[r])) && (n && (n += " "), n += t);
	return n;
}, qs = (e, ...t) => {
	let n, r, i, a, o = (o) => (n = Vs(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
		let t = r(e);
		if (t) return t;
		let a = Ws(e, n);
		return i(e, a), a;
	};
	return a = o, (...e) => a(Gs(...e));
}, Js = [], Ys = (e) => {
	let t = (t) => t[e] || Js;
	return t.isThemeGetter = !0, t.themeKey = e, t;
}, Xs = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Zs = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Qs = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, $s = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ec = /\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$/, tc = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, nc = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, rc = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ic = (e) => Qs.test(e), ac = (e) => !!e && !Number.isNaN(Number(e)), oc = (e) => !!e && Number.isInteger(Number(e)), sc = (e) => e.endsWith("%") && ac(e.slice(0, -1)), cc = (e) => $s.test(e), lc = () => !0, uc = (e) => ec.test(e) && !tc.test(e), dc = () => !1, fc = (e) => nc.test(e), pc = (e) => rc.test(e), mc = (e) => !J(e) && !Y(e), hc = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), gc = (e) => jc(e, Fc, dc), J = (e) => Xs.test(e), _c = (e) => jc(e, Ic, uc), vc = (e) => jc(e, Lc, ac), yc = (e) => jc(e, zc, lc), bc = (e) => jc(e, Rc, dc), xc = (e) => jc(e, Nc, dc), Sc = (e) => jc(e, Pc, pc), Cc = (e) => jc(e, Bc, fc), Y = (e) => Zs.test(e), wc = (e) => Mc(e, Ic), Tc = (e) => Mc(e, Rc), Ec = (e) => Mc(e, Nc), Dc = (e) => Mc(e, Fc), Oc = (e) => Mc(e, Pc), kc = (e) => Mc(e, Bc, !0), Ac = (e) => Mc(e, zc, !0), jc = (e, t, n) => {
	let r = Xs.exec(e);
	return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
}, Mc = (e, t, n = !1) => {
	let r = Zs.exec(e);
	return r ? r[1] ? t(r[1]) : n : !1;
}, Nc = (e) => e === "position" || e === "percentage", Pc = (e) => e === "image" || e === "url", Fc = (e) => e === "length" || e === "size" || e === "bg-size", Ic = (e) => e === "length", Lc = (e) => e === "number", Rc = (e) => e === "family-name", zc = (e) => e === "number" || e === "weight", Bc = (e) => e === "shadow", Vc = /*#__PURE__*/ qs(() => {
	let e = Ys("color"), t = Ys("font"), n = Ys("text"), r = Ys("font-weight"), i = Ys("tracking"), a = Ys("leading"), o = Ys("breakpoint"), s = Ys("container"), c = Ys("spacing"), l = Ys("radius"), u = Ys("shadow"), d = Ys("inset-shadow"), f = Ys("text-shadow"), p = Ys("drop-shadow"), m = Ys("blur"), h = Ys("perspective"), g = Ys("aspect"), _ = Ys("ease"), v = Ys("animate"), y = () => [
		"auto",
		"avoid",
		"all",
		"avoid-page",
		"page",
		"left",
		"right",
		"column"
	], b = () => [
		"center",
		"top",
		"bottom",
		"left",
		"right",
		"top-left",
		"left-top",
		"top-right",
		"right-top",
		"bottom-right",
		"right-bottom",
		"bottom-left",
		"left-bottom"
	], x = () => [
		...b(),
		Y,
		J
	], S = () => [
		"auto",
		"hidden",
		"clip",
		"visible",
		"scroll"
	], C = () => [
		"auto",
		"contain",
		"none"
	], w = () => [
		Y,
		J,
		c
	], T = () => [
		ic,
		"full",
		"auto",
		...w()
	], E = () => [
		oc,
		"none",
		"subgrid",
		Y,
		J
	], D = () => [
		"auto",
		{ span: [
			"full",
			oc,
			Y,
			J
		] },
		oc,
		Y,
		J
	], O = () => [
		oc,
		"auto",
		Y,
		J
	], k = () => [
		"auto",
		"min",
		"max",
		"fr",
		Y,
		J
	], A = () => [
		"start",
		"end",
		"center",
		"between",
		"around",
		"evenly",
		"stretch",
		"baseline",
		"center-safe",
		"end-safe"
	], ee = () => [
		"start",
		"end",
		"center",
		"stretch",
		"center-safe",
		"end-safe"
	], j = () => ["auto", ...w()], M = () => [
		ic,
		"auto",
		"full",
		"dvw",
		"dvh",
		"lvw",
		"lvh",
		"svw",
		"svh",
		"min",
		"max",
		"fit",
		...w()
	], N = () => [
		s,
		ic,
		"screen",
		"full",
		"dvw",
		"lvw",
		"svw",
		"min",
		"max",
		"fit",
		...w()
	], te = () => [
		ic,
		"screen",
		"full",
		"lh",
		"dvh",
		"lvh",
		"svh",
		"min",
		"max",
		"fit",
		...w()
	], P = () => [
		e,
		Y,
		J
	], ne = () => [
		...b(),
		Ec,
		xc,
		{ position: [Y, J] }
	], re = () => ["no-repeat", { repeat: [
		"",
		"x",
		"y",
		"space",
		"round"
	] }], ie = () => [
		"auto",
		"cover",
		"contain",
		Dc,
		gc,
		{ size: [Y, J] }
	], ae = () => [
		sc,
		wc,
		_c
	], oe = () => [
		"",
		"none",
		"full",
		l,
		Y,
		J
	], se = () => [
		"",
		ac,
		wc,
		_c
	], ce = () => [
		"solid",
		"dashed",
		"dotted",
		"double"
	], le = () => [
		"normal",
		"multiply",
		"screen",
		"overlay",
		"darken",
		"lighten",
		"color-dodge",
		"color-burn",
		"hard-light",
		"soft-light",
		"difference",
		"exclusion",
		"hue",
		"saturation",
		"color",
		"luminosity"
	], ue = () => [
		ac,
		sc,
		Ec,
		xc
	], de = () => [
		"",
		"none",
		m,
		Y,
		J
	], fe = () => [
		"none",
		ac,
		Y,
		J
	], pe = () => [
		"none",
		ac,
		Y,
		J
	], me = () => [
		ac,
		Y,
		J
	], he = () => [
		ic,
		"full",
		...w()
	];
	return {
		cacheSize: 500,
		theme: {
			animate: [
				"spin",
				"ping",
				"pulse",
				"bounce"
			],
			aspect: ["video"],
			blur: [cc],
			breakpoint: [cc],
			color: [lc],
			container: [cc],
			"drop-shadow": [cc],
			ease: [
				"in",
				"out",
				"in-out"
			],
			font: [mc],
			"font-weight": [
				"thin",
				"extralight",
				"light",
				"normal",
				"medium",
				"semibold",
				"bold",
				"extrabold",
				"black"
			],
			"inset-shadow": [cc],
			leading: [
				"none",
				"tight",
				"snug",
				"normal",
				"relaxed",
				"loose"
			],
			perspective: [
				"dramatic",
				"near",
				"normal",
				"midrange",
				"distant",
				"none"
			],
			radius: [cc],
			shadow: [cc],
			spacing: ["px", ac],
			text: [cc],
			"text-shadow": [cc],
			tracking: [
				"tighter",
				"tight",
				"normal",
				"wide",
				"wider",
				"widest"
			]
		},
		classGroups: {
			aspect: [{ aspect: [
				"auto",
				"square",
				ic,
				J,
				Y,
				g
			] }],
			container: ["container"],
			"container-type": [{ "@container": [
				"",
				"normal",
				"size",
				Y,
				J
			] }],
			"container-named": [hc],
			columns: [{ columns: [
				ac,
				"auto",
				J,
				Y,
				s
			] }],
			"break-after": [{ "break-after": y() }],
			"break-before": [{ "break-before": y() }],
			"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: x() }],
			overflow: [{ overflow: S() }],
			"overflow-x": [{ "overflow-x": S() }],
			"overflow-y": [{ "overflow-y": S() }],
			overscroll: [{ overscroll: C() }],
			"overscroll-x": [{ "overscroll-x": C() }],
			"overscroll-y": [{ "overscroll-y": C() }],
			position: [
				"static",
				"fixed",
				"absolute",
				"relative",
				"sticky"
			],
			inset: [{ inset: T() }],
			"inset-x": [{ "inset-x": T() }],
			"inset-y": [{ "inset-y": T() }],
			start: [{
				"inset-s": T(),
				start: T()
			}],
			end: [{
				"inset-e": T(),
				end: T()
			}],
			"inset-bs": [{ "inset-bs": T() }],
			"inset-be": [{ "inset-be": T() }],
			top: [{ top: T() }],
			right: [{ right: T() }],
			bottom: [{ bottom: T() }],
			left: [{ left: T() }],
			visibility: [
				"visible",
				"invisible",
				"collapse"
			],
			z: [{ z: [
				oc,
				"auto",
				Y,
				J
			] }],
			basis: [{ basis: [
				ic,
				"full",
				"auto",
				s,
				...w()
			] }],
			"flex-direction": [{ flex: [
				"row",
				"row-reverse",
				"col",
				"col-reverse"
			] }],
			"flex-wrap": [{ flex: [
				"nowrap",
				"wrap",
				"wrap-reverse"
			] }],
			flex: [{ flex: [
				ac,
				ic,
				"auto",
				"initial",
				"none",
				J
			] }],
			grow: [{ grow: [
				"",
				ac,
				Y,
				J
			] }],
			shrink: [{ shrink: [
				"",
				ac,
				Y,
				J
			] }],
			order: [{ order: [
				oc,
				"first",
				"last",
				"none",
				Y,
				J
			] }],
			"grid-cols": [{ "grid-cols": E() }],
			"col-start-end": [{ col: D() }],
			"col-start": [{ "col-start": O() }],
			"col-end": [{ "col-end": O() }],
			"grid-rows": [{ "grid-rows": E() }],
			"row-start-end": [{ row: D() }],
			"row-start": [{ "row-start": O() }],
			"row-end": [{ "row-end": O() }],
			"grid-flow": [{ "grid-flow": [
				"row",
				"col",
				"dense",
				"row-dense",
				"col-dense"
			] }],
			"auto-cols": [{ "auto-cols": k() }],
			"auto-rows": [{ "auto-rows": k() }],
			gap: [{ gap: w() }],
			"gap-x": [{ "gap-x": w() }],
			"gap-y": [{ "gap-y": w() }],
			"justify-content": [{ justify: [...A(), "normal"] }],
			"justify-items": [{ "justify-items": [...ee(), "normal"] }],
			"justify-self": [{ "justify-self": ["auto", ...ee()] }],
			"align-content": [{ content: ["normal", ...A()] }],
			"align-items": [{ items: [...ee(), { baseline: ["", "last"] }] }],
			"align-self": [{ self: [
				"auto",
				...ee(),
				{ baseline: ["", "last"] }
			] }],
			"place-content": [{ "place-content": A() }],
			"place-items": [{ "place-items": [...ee(), "baseline"] }],
			"place-self": [{ "place-self": ["auto", ...ee()] }],
			p: [{ p: w() }],
			px: [{ px: w() }],
			py: [{ py: w() }],
			ps: [{ ps: w() }],
			pe: [{ pe: w() }],
			pbs: [{ pbs: w() }],
			pbe: [{ pbe: w() }],
			pt: [{ pt: w() }],
			pr: [{ pr: w() }],
			pb: [{ pb: w() }],
			pl: [{ pl: w() }],
			m: [{ m: j() }],
			mx: [{ mx: j() }],
			my: [{ my: j() }],
			ms: [{ ms: j() }],
			me: [{ me: j() }],
			mbs: [{ mbs: j() }],
			mbe: [{ mbe: j() }],
			mt: [{ mt: j() }],
			mr: [{ mr: j() }],
			mb: [{ mb: j() }],
			ml: [{ ml: j() }],
			"space-x": [{ "space-x": w() }],
			"space-x-reverse": ["space-x-reverse"],
			"space-y": [{ "space-y": w() }],
			"space-y-reverse": ["space-y-reverse"],
			size: [{ size: M() }],
			"inline-size": [{ inline: ["auto", ...N()] }],
			"min-inline-size": [{ "min-inline": ["auto", ...N()] }],
			"max-inline-size": [{ "max-inline": ["none", ...N()] }],
			"block-size": [{ block: ["auto", ...te()] }],
			"min-block-size": [{ "min-block": ["auto", ...te()] }],
			"max-block-size": [{ "max-block": ["none", ...te()] }],
			w: [{ w: [
				s,
				"screen",
				...M()
			] }],
			"min-w": [{ "min-w": [
				s,
				"screen",
				"none",
				...M()
			] }],
			"max-w": [{ "max-w": [
				s,
				"screen",
				"none",
				"prose",
				{ screen: [o] },
				...M()
			] }],
			h: [{ h: [
				"screen",
				"lh",
				...M()
			] }],
			"min-h": [{ "min-h": [
				"screen",
				"lh",
				"none",
				...M()
			] }],
			"max-h": [{ "max-h": [
				"screen",
				"lh",
				"none",
				...M()
			] }],
			"font-size": [{ text: [
				"base",
				n,
				wc,
				_c
			] }],
			"font-smoothing": ["antialiased", "subpixel-antialiased"],
			"font-style": ["italic", "not-italic"],
			"font-weight": [{ font: [
				r,
				Ac,
				yc
			] }],
			"font-stretch": [{ "font-stretch": [
				"ultra-condensed",
				"extra-condensed",
				"condensed",
				"semi-condensed",
				"normal",
				"semi-expanded",
				"expanded",
				"extra-expanded",
				"ultra-expanded",
				sc,
				J
			] }],
			"font-family": [{ font: [
				Tc,
				bc,
				t
			] }],
			"font-features": [{ "font-features": [J] }],
			"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: [
				i,
				Y,
				J
			] }],
			"line-clamp": [{ "line-clamp": [
				ac,
				"none",
				Y,
				vc
			] }],
			leading: [{ leading: [
				"none",
				a,
				...w()
			] }],
			"list-image": [{ "list-image": [
				"none",
				Y,
				J
			] }],
			"list-style-position": [{ list: ["inside", "outside"] }],
			"list-style-type": [{ list: [
				"disc",
				"decimal",
				"none",
				Y,
				J
			] }],
			"text-alignment": [{ text: [
				"left",
				"center",
				"right",
				"justify",
				"start",
				"end"
			] }],
			"placeholder-color": [{ placeholder: P() }],
			"text-color": [{ text: P() }],
			"text-decoration": [
				"underline",
				"overline",
				"line-through",
				"no-underline"
			],
			"text-decoration-style": [{ decoration: [...ce(), "wavy"] }],
			"text-decoration-thickness": [{ decoration: [
				ac,
				"from-font",
				"auto",
				Y,
				_c
			] }],
			"text-decoration-color": [{ decoration: P() }],
			"underline-offset": [{ "underline-offset": [
				ac,
				"auto",
				Y,
				J
			] }],
			"text-transform": [
				"uppercase",
				"lowercase",
				"capitalize",
				"normal-case"
			],
			"text-overflow": [
				"truncate",
				"text-ellipsis",
				"text-clip"
			],
			"text-wrap": [{ text: [
				"wrap",
				"nowrap",
				"balance",
				"pretty"
			] }],
			indent: [{ indent: w() }],
			"tab-size": [{ tab: [
				oc,
				Y,
				J
			] }],
			"vertical-align": [{ align: [
				"baseline",
				"top",
				"middle",
				"bottom",
				"text-top",
				"text-bottom",
				"sub",
				"super",
				Y,
				J
			] }],
			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",
				Y,
				J
			] }],
			"bg-attachment": [{ bg: [
				"fixed",
				"local",
				"scroll"
			] }],
			"bg-clip": [{ "bg-clip": [
				"border",
				"padding",
				"content",
				"text"
			] }],
			"bg-origin": [{ "bg-origin": [
				"border",
				"padding",
				"content"
			] }],
			"bg-position": [{ bg: ne() }],
			"bg-repeat": [{ bg: re() }],
			"bg-size": [{ bg: ie() }],
			"bg-image": [{ bg: [
				"none",
				{
					linear: [
						{ to: [
							"t",
							"tr",
							"r",
							"br",
							"b",
							"bl",
							"l",
							"tl"
						] },
						oc,
						Y,
						J
					],
					radial: [
						"",
						Y,
						J
					],
					conic: [
						"",
						oc,
						Y,
						J
					]
				},
				Oc,
				Sc
			] }],
			"bg-color": [{ bg: P() }],
			"gradient-from-pos": [{ from: ae() }],
			"gradient-via-pos": [{ via: ae() }],
			"gradient-to-pos": [{ to: ae() }],
			"gradient-from": [{ from: P() }],
			"gradient-via": [{ via: P() }],
			"gradient-to": [{ to: P() }],
			rounded: [{ rounded: oe() }],
			"rounded-s": [{ "rounded-s": oe() }],
			"rounded-e": [{ "rounded-e": oe() }],
			"rounded-t": [{ "rounded-t": oe() }],
			"rounded-r": [{ "rounded-r": oe() }],
			"rounded-b": [{ "rounded-b": oe() }],
			"rounded-l": [{ "rounded-l": oe() }],
			"rounded-ss": [{ "rounded-ss": oe() }],
			"rounded-se": [{ "rounded-se": oe() }],
			"rounded-ee": [{ "rounded-ee": oe() }],
			"rounded-es": [{ "rounded-es": oe() }],
			"rounded-tl": [{ "rounded-tl": oe() }],
			"rounded-tr": [{ "rounded-tr": oe() }],
			"rounded-br": [{ "rounded-br": oe() }],
			"rounded-bl": [{ "rounded-bl": oe() }],
			"border-w": [{ border: se() }],
			"border-w-x": [{ "border-x": se() }],
			"border-w-y": [{ "border-y": se() }],
			"border-w-s": [{ "border-s": se() }],
			"border-w-e": [{ "border-e": se() }],
			"border-w-bs": [{ "border-bs": se() }],
			"border-w-be": [{ "border-be": se() }],
			"border-w-t": [{ "border-t": se() }],
			"border-w-r": [{ "border-r": se() }],
			"border-w-b": [{ "border-b": se() }],
			"border-w-l": [{ "border-l": se() }],
			"divide-x": [{ "divide-x": se() }],
			"divide-x-reverse": ["divide-x-reverse"],
			"divide-y": [{ "divide-y": se() }],
			"divide-y-reverse": ["divide-y-reverse"],
			"border-style": [{ border: [
				...ce(),
				"hidden",
				"none"
			] }],
			"divide-style": [{ divide: [
				...ce(),
				"hidden",
				"none"
			] }],
			"border-color": [{ border: P() }],
			"border-color-x": [{ "border-x": P() }],
			"border-color-y": [{ "border-y": P() }],
			"border-color-s": [{ "border-s": P() }],
			"border-color-e": [{ "border-e": P() }],
			"border-color-bs": [{ "border-bs": P() }],
			"border-color-be": [{ "border-be": P() }],
			"border-color-t": [{ "border-t": P() }],
			"border-color-r": [{ "border-r": P() }],
			"border-color-b": [{ "border-b": P() }],
			"border-color-l": [{ "border-l": P() }],
			"divide-color": [{ divide: P() }],
			"outline-style": [{ outline: [
				...ce(),
				"none",
				"hidden"
			] }],
			"outline-offset": [{ "outline-offset": [
				ac,
				Y,
				J
			] }],
			"outline-w": [{ outline: [
				"",
				ac,
				wc,
				_c
			] }],
			"outline-color": [{ outline: P() }],
			shadow: [{ shadow: [
				"",
				"inner",
				"none",
				u,
				kc,
				Cc
			] }],
			"shadow-color": [{ shadow: P() }],
			"inset-shadow": [{ "inset-shadow": [
				"none",
				d,
				kc,
				Cc
			] }],
			"inset-shadow-color": [{ "inset-shadow": P() }],
			"ring-w": [{ ring: se() }],
			"ring-w-inset": ["ring-inset"],
			"ring-color": [{ ring: P() }],
			"ring-offset-w": [{ "ring-offset": [ac, _c] }],
			"ring-offset-color": [{ "ring-offset": P() }],
			"inset-ring-w": [{ "inset-ring": se() }],
			"inset-ring-color": [{ "inset-ring": P() }],
			"text-shadow": [{ "text-shadow": [
				"none",
				f,
				kc,
				Cc
			] }],
			"text-shadow-color": [{ "text-shadow": P() }],
			opacity: [{ opacity: [
				ac,
				Y,
				J
			] }],
			"mix-blend": [{ "mix-blend": [
				...le(),
				"plus-darker",
				"plus-lighter"
			] }],
			"bg-blend": [{ "bg-blend": le() }],
			"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": [ac] }],
			"mask-image-linear-from-pos": [{ "mask-linear-from": ue() }],
			"mask-image-linear-to-pos": [{ "mask-linear-to": ue() }],
			"mask-image-linear-from-color": [{ "mask-linear-from": P() }],
			"mask-image-linear-to-color": [{ "mask-linear-to": P() }],
			"mask-image-t-from-pos": [{ "mask-t-from": ue() }],
			"mask-image-t-to-pos": [{ "mask-t-to": ue() }],
			"mask-image-t-from-color": [{ "mask-t-from": P() }],
			"mask-image-t-to-color": [{ "mask-t-to": P() }],
			"mask-image-r-from-pos": [{ "mask-r-from": ue() }],
			"mask-image-r-to-pos": [{ "mask-r-to": ue() }],
			"mask-image-r-from-color": [{ "mask-r-from": P() }],
			"mask-image-r-to-color": [{ "mask-r-to": P() }],
			"mask-image-b-from-pos": [{ "mask-b-from": ue() }],
			"mask-image-b-to-pos": [{ "mask-b-to": ue() }],
			"mask-image-b-from-color": [{ "mask-b-from": P() }],
			"mask-image-b-to-color": [{ "mask-b-to": P() }],
			"mask-image-l-from-pos": [{ "mask-l-from": ue() }],
			"mask-image-l-to-pos": [{ "mask-l-to": ue() }],
			"mask-image-l-from-color": [{ "mask-l-from": P() }],
			"mask-image-l-to-color": [{ "mask-l-to": P() }],
			"mask-image-x-from-pos": [{ "mask-x-from": ue() }],
			"mask-image-x-to-pos": [{ "mask-x-to": ue() }],
			"mask-image-x-from-color": [{ "mask-x-from": P() }],
			"mask-image-x-to-color": [{ "mask-x-to": P() }],
			"mask-image-y-from-pos": [{ "mask-y-from": ue() }],
			"mask-image-y-to-pos": [{ "mask-y-to": ue() }],
			"mask-image-y-from-color": [{ "mask-y-from": P() }],
			"mask-image-y-to-color": [{ "mask-y-to": P() }],
			"mask-image-radial": [{ "mask-radial": [Y, J] }],
			"mask-image-radial-from-pos": [{ "mask-radial-from": ue() }],
			"mask-image-radial-to-pos": [{ "mask-radial-to": ue() }],
			"mask-image-radial-from-color": [{ "mask-radial-from": P() }],
			"mask-image-radial-to-color": [{ "mask-radial-to": P() }],
			"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": b() }],
			"mask-image-conic-pos": [{ "mask-conic": [ac] }],
			"mask-image-conic-from-pos": [{ "mask-conic-from": ue() }],
			"mask-image-conic-to-pos": [{ "mask-conic-to": ue() }],
			"mask-image-conic-from-color": [{ "mask-conic-from": P() }],
			"mask-image-conic-to-color": [{ "mask-conic-to": P() }],
			"mask-mode": [{ mask: [
				"alpha",
				"luminance",
				"match"
			] }],
			"mask-origin": [{ "mask-origin": [
				"border",
				"padding",
				"content",
				"fill",
				"stroke",
				"view"
			] }],
			"mask-position": [{ mask: ne() }],
			"mask-repeat": [{ mask: re() }],
			"mask-size": [{ mask: ie() }],
			"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
			"mask-image": [{ mask: [
				"none",
				Y,
				J
			] }],
			filter: [{ filter: [
				"",
				"none",
				Y,
				J
			] }],
			blur: [{ blur: de() }],
			brightness: [{ brightness: [
				ac,
				Y,
				J
			] }],
			contrast: [{ contrast: [
				ac,
				Y,
				J
			] }],
			"drop-shadow": [{ "drop-shadow": [
				"",
				"none",
				p,
				kc,
				Cc
			] }],
			"drop-shadow-color": [{ "drop-shadow": P() }],
			grayscale: [{ grayscale: [
				"",
				ac,
				Y,
				J
			] }],
			"hue-rotate": [{ "hue-rotate": [
				ac,
				Y,
				J
			] }],
			invert: [{ invert: [
				"",
				ac,
				Y,
				J
			] }],
			saturate: [{ saturate: [
				ac,
				Y,
				J
			] }],
			sepia: [{ sepia: [
				"",
				ac,
				Y,
				J
			] }],
			"backdrop-filter": [{ "backdrop-filter": [
				"",
				"none",
				Y,
				J
			] }],
			"backdrop-blur": [{ "backdrop-blur": de() }],
			"backdrop-brightness": [{ "backdrop-brightness": [
				ac,
				Y,
				J
			] }],
			"backdrop-contrast": [{ "backdrop-contrast": [
				ac,
				Y,
				J
			] }],
			"backdrop-grayscale": [{ "backdrop-grayscale": [
				"",
				ac,
				Y,
				J
			] }],
			"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
				ac,
				Y,
				J
			] }],
			"backdrop-invert": [{ "backdrop-invert": [
				"",
				ac,
				Y,
				J
			] }],
			"backdrop-opacity": [{ "backdrop-opacity": [
				ac,
				Y,
				J
			] }],
			"backdrop-saturate": [{ "backdrop-saturate": [
				ac,
				Y,
				J
			] }],
			"backdrop-sepia": [{ "backdrop-sepia": [
				"",
				ac,
				Y,
				J
			] }],
			"border-collapse": [{ border: ["collapse", "separate"] }],
			"border-spacing": [{ "border-spacing": w() }],
			"border-spacing-x": [{ "border-spacing-x": w() }],
			"border-spacing-y": [{ "border-spacing-y": w() }],
			"table-layout": [{ table: ["auto", "fixed"] }],
			caption: [{ caption: ["top", "bottom"] }],
			transition: [{ transition: [
				"",
				"all",
				"colors",
				"opacity",
				"shadow",
				"transform",
				"none",
				Y,
				J
			] }],
			"transition-behavior": [{ transition: ["normal", "discrete"] }],
			duration: [{ duration: [
				ac,
				"initial",
				Y,
				J
			] }],
			ease: [{ ease: [
				"linear",
				"initial",
				_,
				Y,
				J
			] }],
			delay: [{ delay: [
				ac,
				Y,
				J
			] }],
			animate: [{ animate: [
				"none",
				v,
				Y,
				J
			] }],
			backface: [{ backface: ["hidden", "visible"] }],
			perspective: [{ perspective: [
				h,
				Y,
				J
			] }],
			"perspective-origin": [{ "perspective-origin": x() }],
			rotate: [{ rotate: fe() }],
			"rotate-x": [{ "rotate-x": fe() }],
			"rotate-y": [{ "rotate-y": fe() }],
			"rotate-z": [{ "rotate-z": fe() }],
			scale: [{ scale: pe() }],
			"scale-x": [{ "scale-x": pe() }],
			"scale-y": [{ "scale-y": pe() }],
			"scale-z": [{ "scale-z": pe() }],
			"scale-3d": ["scale-3d"],
			skew: [{ skew: me() }],
			"skew-x": [{ "skew-x": me() }],
			"skew-y": [{ "skew-y": me() }],
			transform: [{ transform: [
				Y,
				J,
				"",
				"none",
				"gpu",
				"cpu"
			] }],
			"transform-origin": [{ origin: x() }],
			"transform-style": [{ transform: ["3d", "flat"] }],
			translate: [{ translate: he() }],
			"translate-x": [{ "translate-x": he() }],
			"translate-y": [{ "translate-y": he() }],
			"translate-z": [{ "translate-z": he() }],
			"translate-none": ["translate-none"],
			zoom: [{ zoom: [
				oc,
				Y,
				J
			] }],
			accent: [{ accent: P() }],
			appearance: [{ appearance: ["none", "auto"] }],
			"caret-color": [{ caret: P() }],
			"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",
				Y,
				J
			] }],
			"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
			"pointer-events": [{ "pointer-events": ["auto", "none"] }],
			resize: [{ resize: [
				"none",
				"",
				"y",
				"x"
			] }],
			"scroll-behavior": [{ scroll: ["auto", "smooth"] }],
			"scrollbar-thumb-color": [{ "scrollbar-thumb": P() }],
			"scrollbar-track-color": [{ "scrollbar-track": P() }],
			"scrollbar-gutter": [{ "scrollbar-gutter": [
				"auto",
				"stable",
				"both"
			] }],
			"scrollbar-w": [{ scrollbar: [
				"auto",
				"thin",
				"none"
			] }],
			"scroll-m": [{ "scroll-m": w() }],
			"scroll-mx": [{ "scroll-mx": w() }],
			"scroll-my": [{ "scroll-my": w() }],
			"scroll-ms": [{ "scroll-ms": w() }],
			"scroll-me": [{ "scroll-me": w() }],
			"scroll-mbs": [{ "scroll-mbs": w() }],
			"scroll-mbe": [{ "scroll-mbe": w() }],
			"scroll-mt": [{ "scroll-mt": w() }],
			"scroll-mr": [{ "scroll-mr": w() }],
			"scroll-mb": [{ "scroll-mb": w() }],
			"scroll-ml": [{ "scroll-ml": w() }],
			"scroll-p": [{ "scroll-p": w() }],
			"scroll-px": [{ "scroll-px": w() }],
			"scroll-py": [{ "scroll-py": w() }],
			"scroll-ps": [{ "scroll-ps": w() }],
			"scroll-pe": [{ "scroll-pe": w() }],
			"scroll-pbs": [{ "scroll-pbs": w() }],
			"scroll-pbe": [{ "scroll-pbe": w() }],
			"scroll-pt": [{ "scroll-pt": w() }],
			"scroll-pr": [{ "scroll-pr": w() }],
			"scroll-pb": [{ "scroll-pb": w() }],
			"scroll-pl": [{ "scroll-pl": w() }],
			"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",
				Y,
				J
			] }],
			fill: [{ fill: ["none", ...P()] }],
			"stroke-w": [{ stroke: [
				ac,
				wc,
				_c,
				vc
			] }],
			stroke: [{ stroke: ["none", ...P()] }],
			"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
		},
		conflictingClassGroups: {
			"container-named": ["container-type"],
			overflow: ["overflow-x", "overflow-y"],
			overscroll: ["overscroll-x", "overscroll-y"],
			inset: [
				"inset-x",
				"inset-y",
				"inset-bs",
				"inset-be",
				"start",
				"end",
				"top",
				"right",
				"bottom",
				"left"
			],
			"inset-x": [
				"start",
				"end",
				"right",
				"left"
			],
			"inset-y": [
				"inset-bs",
				"inset-be",
				"top",
				"bottom"
			],
			flex: [
				"basis",
				"grow",
				"shrink"
			],
			gap: ["gap-x", "gap-y"],
			p: [
				"px",
				"py",
				"ps",
				"pe",
				"pbs",
				"pbe",
				"pt",
				"pr",
				"pb",
				"pl"
			],
			px: [
				"ps",
				"pe",
				"pr",
				"pl"
			],
			py: [
				"pbs",
				"pbe",
				"pt",
				"pb"
			],
			m: [
				"mx",
				"my",
				"ms",
				"me",
				"mbs",
				"mbe",
				"mt",
				"mr",
				"mb",
				"ml"
			],
			mx: [
				"ms",
				"me",
				"mr",
				"ml"
			],
			my: [
				"mbs",
				"mbe",
				"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-bs",
				"border-w-be",
				"border-w-t",
				"border-w-r",
				"border-w-b",
				"border-w-l"
			],
			"border-w-x": [
				"border-w-s",
				"border-w-e",
				"border-w-r",
				"border-w-l"
			],
			"border-w-y": [
				"border-w-bs",
				"border-w-be",
				"border-w-t",
				"border-w-b"
			],
			"border-color": [
				"border-color-x",
				"border-color-y",
				"border-color-s",
				"border-color-e",
				"border-color-bs",
				"border-color-be",
				"border-color-t",
				"border-color-r",
				"border-color-b",
				"border-color-l"
			],
			"border-color-x": [
				"border-color-s",
				"border-color-e",
				"border-color-r",
				"border-color-l"
			],
			"border-color-y": [
				"border-color-bs",
				"border-color-be",
				"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-mbs",
				"scroll-mbe",
				"scroll-mt",
				"scroll-mr",
				"scroll-mb",
				"scroll-ml"
			],
			"scroll-mx": [
				"scroll-ms",
				"scroll-me",
				"scroll-mr",
				"scroll-ml"
			],
			"scroll-my": [
				"scroll-mbs",
				"scroll-mbe",
				"scroll-mt",
				"scroll-mb"
			],
			"scroll-p": [
				"scroll-px",
				"scroll-py",
				"scroll-ps",
				"scroll-pe",
				"scroll-pbs",
				"scroll-pbe",
				"scroll-pt",
				"scroll-pr",
				"scroll-pb",
				"scroll-pl"
			],
			"scroll-px": [
				"scroll-ps",
				"scroll-pe",
				"scroll-pr",
				"scroll-pl"
			],
			"scroll-py": [
				"scroll-pbs",
				"scroll-pbe",
				"scroll-pt",
				"scroll-pb"
			],
			touch: [
				"touch-x",
				"touch-y",
				"touch-pz"
			],
			"touch-x": ["touch"],
			"touch-y": ["touch"],
			"touch-pz": ["touch"]
		},
		conflictingClassGroupModifiers: { "font-size": ["leading"] },
		postfixLookupClassGroups: ["container-type"],
		orderSensitiveModifiers: [
			"*",
			"**",
			"after",
			"backdrop",
			"before",
			"details-content",
			"file",
			"first-letter",
			"first-line",
			"marker",
			"placeholder",
			"selection"
		]
	};
});
// src/lib/utils.ts
function X(...e) {
	return Vc(hs(e));
}
var Hc = [
	"B",
	"KB",
	"MB",
	"GB"
];
function Uc(e) {
	if (!Number.isFinite(e) || e <= 0) return "0 B";
	let t = Math.min(Math.floor(Math.log(e) / Math.log(1024)), Hc.length - 1), n = e / 1024 ** t;
	return `${t === 0 ? n : Number(n.toFixed(1))} ${Hc[t]}`;
}
function Wc(e) {
	return e.replace(/_/g, " ").replace(/([a-z0-9])([A-Z])/g, "$1 $2").trim().split(/\s+/).map((e) => e.toLowerCase());
}
async function Gc(e, t, n) {
	for (; !n?.aborted;) await e(), await new Promise((e) => {
		let r = setTimeout(e, t);
		n?.addEventListener("abort", () => {
			clearTimeout(r), e();
		}, { once: !0 });
	});
}
function Kc(e) {
	return typeof Object(e)[Symbol.asyncIterator] == "function";
}
async function* qc(e, t) {
	let n = e[Symbol.asyncIterator](), r = new Promise((e) => {
		t.aborted ? e({ done: !0 }) : t.addEventListener("abort", () => e({ done: !0 }), { once: !0 });
	});
	try {
		for (; !t.aborted;) {
			let e = await Promise.race([n.next(), r]);
			if (e.done) return;
			yield e.value;
		}
	} finally {
		await n.return?.(void 0);
	}
}
var Jc = /https?:\/\/[^\s<>"'`]+/g;
function Yc(e) {
	let t = [], n = 0;
	for (let r of e.matchAll(Jc)) {
		let i = r.index ?? 0, a = r[0], o = a.match(/[.,;:!?]+$/)?.[0] ?? "";
		o && (a = a.slice(0, -o.length)), a.endsWith(")") && !a.includes("(") && (a = a.slice(0, -1), o = ")" + o), i > n && t.push({
			type: "text",
			value: e.slice(n, i)
		}), t.push({
			type: "url",
			value: a
		}), o && t.push({
			type: "text",
			value: o
		}), n = i + r[0].length;
	}
	return n < e.length && t.push({
		type: "text",
		value: e.slice(n)
	}), t;
}
// ../../../node_modules/.pnpm/isomorphic-ws@5.0.0_ws@8.22.0/node_modules/isomorphic-ws/browser.js
var Xc = null;
typeof WebSocket < "u" ? Xc = WebSocket : typeof MozWebSocket < "u" ? Xc = MozWebSocket : typeof global < "u" ? Xc = global.WebSocket || global.MozWebSocket : typeof window < "u" ? Xc = window.WebSocket || window.MozWebSocket : typeof self < "u" && (Xc = self.WebSocket || self.MozWebSocket);
var Zc = Xc, Qc = Symbol.for("@whatwg-node/promise-helpers/FakePromise");
function $c(e) {
	return e?.then != null;
}
function el(e) {
	let t = e;
	return t && t.then && t.catch && t.finally;
}
function tl(e, t, n, r) {
	let i = nl().then(e).then(t, n);
	return r && (i = i.finally(r)), ul(i);
}
function nl(e) {
	return e && el(e) ? e : $c(e) ? {
		then: (t, n) => nl(e.then(t, n)),
		catch: (t) => nl(e.then((e) => e, t)),
		finally: (t) => nl(t ? ll(e, t) : e),
		[Symbol.toStringTag]: "Promise"
	} : {
		then(t) {
			if (t) try {
				return nl(t(e));
			} catch (e) {
				return il(e);
			}
			return this;
		},
		catch() {
			return this;
		},
		finally(t) {
			if (t) try {
				return nl(t()).then(() => e, () => e);
			} catch (e) {
				return il(e);
			}
			return this;
		},
		[Symbol.toStringTag]: "Promise",
		__fakePromiseValue: e,
		[Qc]: "resolved"
	};
}
function rl() {
	if (Promise.withResolvers) return Promise.withResolvers();
	let e, t;
	return {
		promise: new Promise(function(n, r) {
			e = n, t = r;
		}),
		get resolve() {
			return e;
		},
		get reject() {
			return t;
		}
	};
}
function il(e) {
	return {
		then(t, n) {
			if (n) try {
				return nl(n(e));
			} catch (e) {
				return il(e);
			}
			return this;
		},
		catch(t) {
			if (t) try {
				return nl(t(e));
			} catch (e) {
				return il(e);
			}
			return this;
		},
		finally(e) {
			if (e) try {
				e();
			} catch (e) {
				return il(e);
			}
			return this;
		},
		__fakeRejectError: e,
		[Symbol.toStringTag]: "Promise",
		[Qc]: "rejected"
	};
}
function al(e, t, n, r) {
	Symbol.asyncIterator in e && (e = e[Symbol.asyncIterator]());
	let i, a, o;
	if (r) {
		let e;
		o = (t) => (e ||= tl(r, () => t, () => t), e);
	}
	typeof e.return == "function" && (i = e.return, a = (t) => {
		let n = () => {
			throw t;
		};
		return i.call(e).then(n, n);
	});
	function s(e) {
		return e.done ? o ? o(e) : e : tl(() => e.value, (e) => tl(() => t(e), ol, a));
	}
	let c;
	if (n) {
		let e, t = n;
		c = (n) => (e ||= tl(() => n, (e) => tl(() => t(e), ol, a)), e);
	}
	return {
		next() {
			return e.next().then(s, c);
		},
		return() {
			let t = i ? i.call(e).then(s, c) : nl({
				value: void 0,
				done: !0
			});
			return o ? t.then(o) : t;
		},
		throw(t) {
			return typeof e.throw == "function" ? e.throw(t).then(s, c) : a ? a(t) : il(t);
		},
		[Symbol.asyncIterator]() {
			return this;
		}
	};
}
function ol(e) {
	return {
		value: e,
		done: !1
	};
}
function sl(e) {
	return e?.[Qc] === "resolved";
}
function cl(e) {
	return e?.[Qc] === "rejected";
}
function ll(e, t) {
	return "finally" in e ? e.finally(t) : e.then((e) => {
		let n = t();
		return $c(n) ? n.then(() => e) : e;
	}, (e) => {
		let n = t();
		if ($c(n)) return n.then(() => {
			throw e;
		});
		throw e;
	});
}
function ul(e) {
	if (sl(e)) return e.__fakePromiseValue;
	if (cl(e)) throw e.__fakeRejectError;
	return e;
}
// ../../../node_modules/.pnpm/@envelop+core@5.6.1/node_modules/@envelop/core/esm/document-string-map.js
var dl = /* @__PURE__ */ new WeakMap();
function fl(e, t) {
	let n = dl.get(e);
	return !n && t && (n = t(e), dl.set(e, n)), n;
}
// ../../../node_modules/.pnpm/@graphql-tools+executor-common@1.1.1_graphql@17.1.0/node_modules/@graphql-tools/executor-common/dist/index.js
function pl(e) {
	return ua(x(e));
}
var ml = function(e) {
	return fl(e, pl);
};
function hl({ executionRequest: e, excludeQuery: t, printFn: n = ml }) {
	return {
		query: t ? void 0 : n(e.document),
		variables: (e.variables && Object.keys(e.variables).length) > 0 ? e.variables : void 0,
		operationName: e.operationName ? e.operationName : void 0,
		extensions: e.extensions && Object.keys(e.extensions).length > 0 ? e.extensions : void 0
	};
}
// ../../../node_modules/.pnpm/@graphql-tools+utils@12.1.0_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/helpers.js
var gl = (e) => Array.isArray(e) ? e : e ? [e] : [];
function _l(e) {
	return e != null;
}
// ../../../node_modules/.pnpm/cross-inspect@1.0.1/node_modules/cross-inspect/esm/index.js
var vl = 3;
function yl(e) {
	return bl(e, []);
}
function bl(e, t) {
	switch (typeof e) {
		case "string": return JSON.stringify(e);
		case "function": return e.name ? `[function ${e.name}]` : "[function]";
		case "object": return Sl(e, t);
		default: return String(e);
	}
}
function xl(e) {
	return (e.name = "GraphQLError") ? e.toString() : `${e.name}: ${e.message};\n ${e.stack}`;
}
function Sl(e, t) {
	if (e === null) return "null";
	if (e instanceof Error) return e.name === "AggregateError" ? xl(e) + "\n" + Tl(e.errors, t) : xl(e);
	if (t.includes(e)) return "[Circular]";
	let n = [...t, e];
	if (Cl(e)) {
		let t = e.toJSON();
		if (t !== e) return typeof t == "string" ? t : bl(t, n);
	} else if (Array.isArray(e)) return Tl(e, n);
	return wl(e, n);
}
function Cl(e) {
	return typeof e.toJSON == "function";
}
function wl(e, t) {
	let n = Object.entries(e);
	return n.length === 0 ? "{}" : t.length > vl ? "[" + El(e) + "]" : "{ " + n.map(([e, n]) => e + ": " + bl(n, t)).join(", ") + " }";
}
function Tl(e, t) {
	if (e.length === 0) return "[]";
	if (t.length > vl) return "[Array]";
	let n = e.length, r = [];
	for (let i = 0; i < n; ++i) r.push(bl(e[i], t));
	return "[" + r.join(", ") + "]";
}
function El(e) {
	let t = Object.prototype.toString.call(e).replace(/^\[object /, "").replace(/]$/, "");
	if (t === "Object" && typeof e.constructor == "function") {
		let t = e.constructor.name;
		if (typeof t == "string" && t !== "") return t;
	}
	return t;
}
// ../../../node_modules/.pnpm/@graphql-tools+utils@12.1.0_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/errors.js
var Dl = [
	"message",
	"locations",
	"path",
	"nodes",
	"source",
	"positions",
	"originalError",
	"name",
	"stack",
	"extensions",
	"coordinate"
];
function Ol(e) {
	return typeof e == "object" && !!e && Object.keys(e).every((e) => Dl.includes(e));
}
function kl(e, t) {
	t?.originalError && !(t.originalError instanceof Error) && Ol(t.originalError) && (t.originalError = kl(t.originalError.message, t.originalError));
	let n = r, i = ii.major >= 16 ? new n(e, t) : new n(e, t?.nodes, t?.source, t?.positions, t?.path, t?.originalError, t?.extensions);
	return t?.coordinate && i.coordinate == null && Object.defineProperties(i, { coordinate: {
		value: t.coordinate,
		enumerable: !0,
		configurable: !0
	} }), i;
}
function Al(e, t, n, r) {
	let i = oi(e, t, n);
	if (!i.coordinate && r && i.coordinate == null) {
		let e = `${r.parentType.name}.${r.fieldName}`;
		Object.defineProperties(i, { coordinate: {
			value: e,
			enumerable: !0,
			configurable: !0
		} });
	}
	return i;
}
function jl(e, t, n) {
	return kl(e.message, {
		nodes: e.nodes,
		source: e.source,
		positions: e.positions,
		path: t ?? e.path,
		originalError: e,
		extensions: e.extensions,
		coordinate: n ? `${n.parentType.name}.${n.fieldName}` : void 0
	});
}
// ../../../node_modules/.pnpm/@whatwg-node+promise-helpers@2.0.2/node_modules/@whatwg-node/promise-helpers/esm/index.js
var Ml = Symbol.for("@whatwg-node/promise-helpers/FakePromise");
function Nl(e) {
	return typeof e?.then == "function";
}
function Pl(e) {
	let t = e;
	return t && t.then && t.catch && t.finally;
}
function Fl(e, t, n, r) {
	if (r) {
		let i = zl().then(e).then(t, n);
		return i = i.finally(r), ql(i);
	}
	let i, a;
	try {
		i = e(void 0), a = Nl(i);
	} catch (e) {
		if (!n) throw e;
		let t = n(e);
		return Nl(t) ? ql(zl(t)) : t;
	}
	if (!a) {
		let e = t(i);
		return Nl(e) ? ql(zl(e)) : e;
	}
	return ql(zl(i).then(t, n));
}
var Il = class {
	__fakePromiseValue;
	[Ml];
	constructor(e) {
		this.__fakePromiseValue = e, this[Ml] = "resolved";
	}
	then(e, t) {
		if (e) try {
			return zl(e(this.__fakePromiseValue));
		} catch (e) {
			return Vl(e);
		}
		return this;
	}
	catch(e) {
		return this;
	}
	finally(e) {
		if (e) try {
			let t = this.__fakePromiseValue;
			return zl(e()).then(() => t, () => t);
		} catch (e) {
			return Vl(e);
		}
		return this;
	}
	get [Symbol.toStringTag]() {
		return "Promise";
	}
}, Ll = class {
	__fakeRejectError;
	[Ml];
	constructor(e) {
		this.__fakeRejectError = e, this[Ml] = "rejected";
	}
	then(e, t) {
		if (t) try {
			return zl(t(this.__fakeRejectError));
		} catch (e) {
			return Vl(e);
		}
		return this;
	}
	catch(e) {
		if (e) try {
			return zl(e(this.__fakeRejectError));
		} catch (e) {
			return Vl(e);
		}
		return this;
	}
	finally(e) {
		if (e) try {
			e();
		} catch (e) {
			return Vl(e);
		}
		return this;
	}
	get [Symbol.toStringTag]() {
		return "Promise";
	}
}, Rl = class {
	_thenable;
	constructor(e) {
		this._thenable = e;
	}
	then(e, t) {
		return zl(this._thenable.then(e, t));
	}
	catch(e) {
		return zl(this._thenable.then((e) => e, e));
	}
	finally(e) {
		return zl(e ? Kl(this._thenable, e) : this._thenable);
	}
	get [Symbol.toStringTag]() {
		return "Promise";
	}
};
function zl(e) {
	return e && Pl(e) ? e : Nl(e) ? new Rl(e) : new Il(e);
}
function Bl() {
	if (Promise.withResolvers) return Promise.withResolvers();
	let e, t;
	return {
		promise: new Promise(function(n, r) {
			e = n, t = r;
		}),
		get resolve() {
			return e;
		},
		get reject() {
			return t;
		}
	};
}
function Vl(e) {
	return new Ll(e);
}
function Hl(e, t, n, r) {
	Symbol.asyncIterator in e && (e = e[Symbol.asyncIterator]());
	let i, a, o;
	if (r) {
		let e;
		o = (t) => (e ||= Fl(r, () => t, () => t), e);
	}
	typeof e.return == "function" && (i = e.return, a = (t) => {
		let n = () => {
			throw t;
		};
		return i.call(e).then(n, n);
	});
	function s(e) {
		return e.done ? o ? o(e) : e : Fl(() => e.value, (e) => Fl(() => t(e), Ul, a));
	}
	let c;
	if (n) {
		let e, t = n;
		c = (n) => (e ||= Fl(() => n, (e) => Fl(() => t(e), Ul, a)), e);
	}
	return {
		next() {
			return e.next().then(s, c);
		},
		return() {
			let t = i ? i.call(e).then(s, c) : zl({
				value: void 0,
				done: !0
			});
			return o ? t.then(o) : t;
		},
		throw(t) {
			return typeof e.throw == "function" ? e.throw(t).then(s, c) : a ? a(t) : Vl(t);
		},
		[Symbol.asyncIterator]() {
			return this;
		}
	};
}
function Ul(e) {
	return {
		value: e,
		done: !1
	};
}
function Wl(e) {
	return e?.[Ml] === "resolved";
}
function Gl(e) {
	return e?.[Ml] === "rejected";
}
function Kl(e, t) {
	return "finally" in e ? e.finally(t) : e.then((e) => {
		let n = t();
		return Nl(n) ? n.then(() => e) : e;
	}, (e) => {
		let n = t();
		if (Nl(n)) return n.then(() => {
			throw e;
		});
		throw e;
	});
}
function ql(e) {
	if (Wl(e)) return e.__fakePromiseValue;
	if (Gl(e)) throw e.__fakeRejectError;
	return e;
}
// ../../../node_modules/.pnpm/@graphql-tools+utils@12.1.0_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/jsutils.js
function Jl(e) {
	return typeof e == "object" && !!e && typeof e[Symbol.iterator] == "function";
}
function Yl(e) {
	return typeof e == "object" && !!e;
}
function Xl(e, t, n) {
	let r = n;
	for (let n of e) r = Fl(() => r, (e) => t(e, n));
	return r;
}
function Zl(e, t) {
	return Object.prototype.hasOwnProperty.call(e, t);
}
function Ql(e) {
	return e === "__proto__" || e === "constructor" || e === "prototype";
}
function $l(e) {
	return typeof e != "string" && typeof e != "number" ? !1 : !Ql(e);
}
// ../../../node_modules/.pnpm/@graphql-tools+utils@12.1.0_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/coerceInputs.js
function eu(e, t) {
	if (oe(t)) return e == null ? void 0 : eu(e, t.ofType);
	if (e == null) return null;
	if (j(t)) {
		if (!Jl(e)) {
			let n = eu(e, t.ofType);
			return n === void 0 ? void 0 : [n];
		}
		let n = [];
		for (let r of e) {
			let e = eu(r, t.ofType);
			if (e === void 0) return;
			n.push(e);
		}
		return n;
	}
	if (re(t)) {
		if (!Yl(e) || Array.isArray(e)) return;
		let n = Object.create(null), r = t.getFields(), i = 0;
		for (let t of Object.keys(e)) if (e[t] !== void 0 && (i++, !Zl(r, t))) return;
		for (let t of Object.values(r)) {
			let r = e[t.name];
			if (r === void 0) {
				if (le(t)) return;
				let e = iu(t);
				e !== void 0 && (n[t.name] = e);
			} else {
				let e = eu(r, t.type);
				if (e === void 0) return;
				n[t.name] = e;
			}
		}
		if (t.isOneOf) {
			let e = Object.keys(n);
			if (i !== 1 || e.length !== 1 || n[e[0]] === null) return;
		}
		return n;
	}
	let n = Ne(t);
	try {
		return typeof n.coerceInputValue == "function" ? n.coerceInputValue(e) : n.parseValue(e);
	} catch {}
}
function tu(e, t, n, r) {
	if (e.kind === "Variable") {
		let i = nu(e, n, r);
		return i == null && oe(t) ? void 0 : i;
	}
	if (oe(t)) return e.kind === "NullValue" ? void 0 : tu(e, t.ofType, n, r);
	if (e.kind === "NullValue") return null;
	if (j(t)) {
		if (e.kind !== "ListValue") {
			let i = tu(e, t.ofType, n, r);
			return i === void 0 ? void 0 : [i];
		}
		let i = [];
		for (let a of e.values) {
			let e = tu(a, t.ofType, n, r);
			if (e === void 0) {
				if (a.kind === "Variable" && nu(a, n, r) == null && !oe(t.ofType)) e = null;
				else return;
			}
			i.push(e);
		}
		return i;
	}
	if (re(t)) {
		if (e.kind !== "ObjectValue") return;
		let i = Object.create(null), a = t.getFields();
		if (e.fields.some((e) => !Zl(a, e.name.value))) return;
		let o = new Map(e.fields.map((e) => [e.name.value, e]));
		for (let e of Object.values(a)) {
			let t = o.get(e.name);
			if (!t || t.value.kind === "Variable" && ru(t.value, n, r)) {
				if (le(e)) return;
				let t = iu(e);
				t !== void 0 && (i[e.name] = t);
			} else {
				let a = tu(t.value, e.type, n, r);
				if (a === void 0) return;
				i[e.name] = a;
			}
		}
		if (t.isOneOf) {
			let e = Object.keys(i);
			if (o.size !== 1 || e.length !== 1) return;
			for (let [e, t] of o) if (t.value.kind === "NullValue" || i[e] === null) return;
		}
		return i;
	}
	let i = Ne(t);
	try {
		if (typeof i.coerceInputLiteral == "function") {
			let t = au(e, n, r);
			return t == null ? void 0 : i.coerceInputLiteral(t);
		}
		return i.parseLiteral(e, n?.coerced);
	} catch {}
}
function nu(e, t, n) {
	let r = e.name.value;
	return n?.sources[r] === void 0 ? t?.coerced[r] : n.coerced[r];
}
function ru(e, t, n) {
	let r = e.name.value;
	return (n?.sources[r] === void 0 ? t?.coerced : n.coerced)?.[r] === void 0;
}
function iu(e) {
	let t = e._memoizedCoercedDefaultValue;
	if (t !== void 0) return t;
	let n = e.default;
	if (n !== void 0) {
		if (t = n.literal ? tu(n.literal, e.type) : eu(n.value, e.type), t === void 0) throw kl(`Expected value of type "${yl(e.type)}" to be valid, found: ${yl(n.literal ?? n.value)}.`, n.literal ? { nodes: [n.literal] } : void 0);
		return e._memoizedCoercedDefaultValue = t, t;
	}
	let r = e.defaultValue;
	return r !== void 0 && (e._memoizedCoercedDefaultValue = r), r;
}
function au(e, t, n) {
	switch (e.kind) {
		case Ft: {
			let r = e.name.value, i = n?.sources[r];
			if (i) {
				let e = i.value;
				if (e === void 0) {
					let e = i.signature?.default;
					return e === void 0 ? { kind: Ge } : e.literal;
				}
				return au(e, t, i.fragmentVariableValues);
			}
			let a = t?.sources[r];
			if (a == null) return { kind: Ge };
			if (a.value === void 0) {
				let e = a.signature?.default;
				if (e !== void 0) return e.literal;
			}
			return ou(a.value, a.signature.type);
		}
		case Ee: {
			let r = [];
			for (let i of e.fields) {
				if (i.value.kind === "Variable") {
					let e = n?.sources[i.value.name.value] ?? t?.sources[i.value.name.value];
					if (e?.value === void 0 && e?.signature?.default === void 0) continue;
				}
				let e = au(i.value, t, n);
				if (e == null) return;
				r.push({
					kind: Mt,
					name: i.name,
					value: e,
					loc: i.loc
				});
			}
			return {
				kind: Ee,
				fields: r,
				loc: e.loc
			};
		}
		case Re: {
			let r = [];
			for (let i of e.values) {
				let e = au(i, t, n);
				if (e == null) return;
				r.push(e);
			}
			return {
				kind: Re,
				values: r,
				loc: e.loc
			};
		}
		default: return e;
	}
}
function ou(e, t) {
	if (oe(t)) return e == null ? void 0 : ou(e, t.ofType);
	if (e == null) return { kind: Ge };
	if (j(t)) {
		if (!Jl(e)) return ou(e, t.ofType);
		let n = [];
		for (let r of e) {
			let e = ou(r, t.ofType);
			if (e == null) return;
			n.push(e);
		}
		return {
			kind: Re,
			values: n
		};
	}
	if (re(t)) {
		if (!Yl(e)) return;
		let n = [];
		for (let r of Object.values(t.getFields())) {
			let t = e[r.name];
			if (t === void 0) continue;
			let i = ou(t, r.type);
			if (i == null) return;
			n.push({
				kind: Mt,
				name: {
					kind: _t,
					value: r.name
				},
				value: i
			});
		}
		return {
			kind: Ee,
			fields: n
		};
	}
	let n = Ne(t);
	if (typeof n.valueToLiteral == "function") try {
		return n.valueToLiteral(e) ?? void 0;
	} catch {
		return;
	}
	return su(e);
}
function su(e) {
	if (e == null) return { kind: Ge };
	if (typeof e == "boolean") return {
		kind: T,
		value: e
	};
	if (typeof e == "string") return {
		kind: c,
		value: e,
		block: !1
	};
	if (typeof e == "bigint") return {
		kind: Fe,
		value: e.toString()
	};
	if (typeof e == "number") {
		if (!Number.isFinite(e)) return { kind: Ge };
		let t = String(e);
		return cu.test(t) ? {
			kind: Fe,
			value: t
		} : {
			kind: Et,
			value: t
		};
	}
	if (typeof e == "object") {
		if (typeof e.toJSON == "function") return su(e.toJSON());
		if (Jl(e)) return {
			kind: Re,
			values: Array.from(e, su)
		};
		let t = [];
		for (let [n, r] of Object.entries(e)) r !== void 0 && t.push({
			kind: Mt,
			name: {
				kind: _t,
				value: n
			},
			value: su(r)
		});
		return {
			kind: Ee,
			fields: t
		};
	}
	return { kind: Ge };
}
var cu = /^-?(?:0|[1-9][0-9]*)$/, lu = ii.major >= 17;
function uu(e) {
	if (e == null) return { kind: Ge };
	if (typeof e == "boolean") return {
		kind: T,
		value: e
	};
	if (typeof e == "string") return {
		kind: c,
		value: e,
		block: !1
	};
	if (typeof e == "bigint") return {
		kind: Fe,
		value: e.toString()
	};
	if (typeof e == "number") {
		if (!Number.isFinite(e)) return { kind: Ge };
		let t = String(e);
		return mu.test(t) ? {
			kind: Fe,
			value: t
		} : {
			kind: Et,
			value: t
		};
	}
	if (typeof e == "object") {
		if (typeof e.toJSON == "function") return uu(e.toJSON());
		if (Jl(e)) return {
			kind: Re,
			values: Array.from(e, uu)
		};
		let t = [];
		for (let [n, r] of Object.entries(e)) r !== void 0 && t.push({
			kind: Mt,
			name: {
				kind: _t,
				value: n
			},
			value: uu(r)
		});
		return {
			kind: Ee,
			fields: t
		};
	}
	return { kind: Ge };
}
var du = new De({
	name: "_GraphQLToolsAnyValue",
	serialize: (e) => e,
	valueToLiteral: uu
});
function fu(e) {
	let t = Object.create(null);
	for (let n of Object.keys(e)) t[n] = {
		signature: { type: du },
		value: e[n]
	};
	return t;
}
function pu(e, t) {
	return e == null || !lu ? e : t ? {
		coerced: e,
		sources: t
	} : {
		coerced: e,
		sources: fu(e)
	};
}
var mu = /^-?(?:0|[1-9][0-9]*)$/;
// ../../../node_modules/.pnpm/@graphql-tools+utils@12.1.0_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/getArgumentValues.js
function hu(e, t, n = {}, r) {
	return ii.major >= 17 ? gu(e, t, n, r) : _u(e, t, n);
}
function gu(e, t, n, r) {
	let i = {}, a = t.arguments ?? [], o = new Map(a.map((e) => [e.name.value, e])), s = pu(n, r);
	for (let r of e.args) {
		let e = o.get(r.name);
		if (!e) {
			let e = iu(r);
			if (e !== void 0) i[r.name] = e;
			else if (oe(r.type)) throw kl(`Argument "${r.name}" of required type "${yl(r.type)}" was not provided.`, { nodes: [t] });
			continue;
		}
		let a = e.value, c = a.kind === Ge;
		if (a.kind === "Variable") {
			let e = a.name.value;
			if (n == null || !Zl(n, e)) {
				let t = iu(r);
				if (t !== void 0) i[r.name] = t;
				else if (oe(r.type)) throw kl(`Argument "${r.name}" of required type "${yl(r.type)}" was provided the variable "$${e}" which was not provided a runtime value.`, { nodes: [a] });
				continue;
			}
			c = n[e] == null;
		}
		if (c && oe(r.type)) throw kl(`Argument "${r.name}" of non-null type "${yl(r.type)}" must not be null.`, { nodes: [a] });
		let l = tu(a, r.type, s);
		if (l === void 0) throw kl(`Argument "${r.name}" has invalid value ${x(a)}.`, { nodes: [a] });
		i[r.name] = l;
	}
	return i;
}
function _u(e, t, n) {
	let r = {}, i = t.arguments ?? [], a = new Map(i.map((e) => [e.name.value, e]));
	for (let i of e.args) {
		let e = a.get(i.name);
		if (!e) {
			if (i.defaultValue !== void 0) r[i.name] = i.defaultValue;
			else if (oe(i.type)) throw kl(`Argument "${i.name}" of required type "${yl(i.type)}" was not provided.`, { nodes: [t] });
			continue;
		}
		let o = e.value, s = o.kind === Ge;
		if (o.kind === "Variable") {
			let e = o.name.value;
			if (n == null || !Zl(n, e)) {
				if (i.defaultValue !== void 0) r[i.name] = i.defaultValue;
				else if (oe(i.type)) throw kl(`Argument "${i.name}" of required type "${yl(i.type)}" was provided the variable "$${e}" which was not provided a runtime value.`, { nodes: [o] });
				continue;
			}
			s = n[e] == null;
		}
		if (s && oe(i.type)) throw kl(`Argument "${i.name}" of non-null type "${yl(i.type)}" must not be null.`, { nodes: [o] });
		let c = ca(o, i.type, n);
		if (c === void 0) throw kl(`Argument "${i.name}" has invalid value ${x(o)}.`, { nodes: [o] });
		r[i.name] = c;
	}
	return r;
}
// ../../../node_modules/.pnpm/@graphql-tools+utils@12.1.0_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/memoize.js
function vu(e) {
	let t = /* @__PURE__ */ new WeakMap();
	return function(n) {
		let r = t.get(n);
		if (r === void 0) {
			let r = e(n);
			return t.set(n, r), r;
		}
		return r;
	};
}
function yu(e) {
	let t = /* @__PURE__ */ new WeakMap();
	return function(n, r) {
		let i = t.get(n);
		if (!i) {
			i = /* @__PURE__ */ new WeakMap(), t.set(n, i);
			let a = e(n, r);
			return i.set(r, a), a;
		}
		let a = i.get(r);
		if (a === void 0) {
			let t = e(n, r);
			return i.set(r, t), t;
		}
		return a;
	};
}
function bu(e) {
	let t = /* @__PURE__ */ new WeakMap();
	return function(n, r, i) {
		let a = t.get(n);
		if (!a) {
			a = /* @__PURE__ */ new WeakMap(), t.set(n, a);
			let o = /* @__PURE__ */ new WeakMap();
			a.set(r, o);
			let s = e(n, r, i);
			return o.set(i, s), s;
		}
		let o = a.get(r);
		if (!o) {
			o = /* @__PURE__ */ new WeakMap(), a.set(r, o);
			let t = e(n, r, i);
			return o.set(i, t), t;
		}
		let s = o.get(i);
		if (s === void 0) {
			let t = e(n, r, i);
			return o.set(i, t), t;
		}
		return s;
	};
}
function xu(e) {
	let t = /* @__PURE__ */ new WeakMap();
	return function(n, r, i, a, o) {
		let s = t.get(n);
		if (!s) {
			s = /* @__PURE__ */ new WeakMap(), t.set(n, s);
			let c = /* @__PURE__ */ new WeakMap();
			s.set(r, c);
			let l = /* @__PURE__ */ new WeakMap();
			c.set(i, l);
			let u = /* @__PURE__ */ new WeakMap();
			l.set(a, u);
			let d = e(n, r, i, a, o);
			return u.set(o, d), d;
		}
		let c = s.get(r);
		if (!c) {
			c = /* @__PURE__ */ new WeakMap(), s.set(r, c);
			let t = /* @__PURE__ */ new WeakMap();
			c.set(i, t);
			let l = /* @__PURE__ */ new WeakMap();
			t.set(a, l);
			let u = e(n, r, i, a, o);
			return l.set(o, u), u;
		}
		let l = c.get(i);
		if (!l) {
			l = /* @__PURE__ */ new WeakMap(), c.set(i, l);
			let t = /* @__PURE__ */ new WeakMap();
			l.set(a, t);
			let s = e(n, r, i, a, o);
			return t.set(o, s), s;
		}
		let u = l.get(a);
		if (!u) {
			u = /* @__PURE__ */ new WeakMap(), l.set(a, u);
			let t = e(n, r, i, a, o);
			return u.set(o, t), t;
		}
		let d = u.get(o);
		if (d === void 0) {
			let t = e(n, r, i, a, o);
			return u.set(o, t), t;
		}
		return d;
	};
}
function Su(e) {
	let t = /* @__PURE__ */ new WeakMap();
	return function(n, r, i, a) {
		let o = t.get(n);
		if (!o) {
			o = /* @__PURE__ */ new WeakMap(), t.set(n, o);
			let s = e(n, r, i, a);
			return o.set(r, s), s;
		}
		let s = o.get(r);
		if (s === void 0) {
			let t = e(n, r, i, a);
			return o.set(r, t), t;
		}
		return s;
	};
}
// ../../../node_modules/.pnpm/@graphql-tools+utils@12.1.0_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/getDirectiveExtensions.js
function Cu(e, t, n = ["directives"]) {
	let r = {};
	if (e.extensions) {
		let t = e.extensions;
		for (let e of n) t = t?.[e];
		if (t != null) for (let e in t) {
			let n = t[e], i = e;
			if (Array.isArray(n)) for (let e of n) {
				let t = r[i];
				t || (t = [], r[i] = t), t.push(e);
			}
			else {
				let e = r[i];
				e || (e = [], r[i] = e), e.push(n);
			}
		}
	}
	let i = vu((e) => JSON.stringify(e)), a = [];
	e.astNode && a.push(e.astNode), e.extensionASTNodes && a.push(...e.extensionASTNodes);
	for (let e of a) if (e.directives?.length) for (let n of e.directives) {
		let e = n.name.value, o = r[e];
		o || (o = [], r[e] = o);
		let s = t?.getDirective(e), c = {};
		if (s && (c = hu(s, n)), n.arguments) for (let e of n.arguments) {
			let t = e.name.value;
			if (c[t] == null) {
				let n = s?.args.find((e) => e.name === t);
				n && (c[t] = ca(e.value, n.type));
			}
			c[t] ?? (c[t] = _e(e.value));
		}
		if (a.length > 0 && o.length > 0) {
			let e = i(c);
			if (o.some((t) => i(t) === e)) continue;
		}
		o.push(c);
	}
	return r;
}
// ../../../node_modules/.pnpm/@graphql-tools+utils@12.1.0_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/get-directives.js
function wu(e, t = ["directives"]) {
	let n = Cu(e, void 0, t);
	return Object.entries(n).map(([e, t]) => t?.map((t) => ({
		name: e,
		args: t
	}))).flat(Infinity).filter(Boolean);
}
// ../../../node_modules/.pnpm/@graphql-tools+utils@12.1.0_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/astFromType.js
function Tu(e) {
	if (oe(e)) {
		let t = Tu(e.ofType);
		if (t.kind === "NonNullType") throw Error(`Invalid type node ${yl(e)}. Inner type of non-null type cannot be a non-null type.`);
		return {
			kind: Je,
			type: t
		};
	}
	return j(e) ? {
		kind: He,
		type: Tu(e.ofType)
	} : {
		kind: lt,
		name: {
			kind: _t,
			value: e.name
		}
	};
}
// ../../../node_modules/.pnpm/@graphql-tools+utils@12.1.0_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/astFromValueUntyped.js
function Eu(e) {
	if (e === null) return { kind: Ge };
	if (e === void 0) return null;
	if (Array.isArray(e)) {
		let t = [];
		for (let n of e) {
			let e = Eu(n);
			e != null && t.push(e);
		}
		return {
			kind: Re,
			values: t
		};
	}
	if (typeof e == "object") {
		if (e?.toJSON) return Eu(e.toJSON());
		let t = [];
		for (let n in e) {
			let r = e[n], i = Eu(r);
			i && t.push({
				kind: Mt,
				name: {
					kind: _t,
					value: n
				},
				value: i
			});
		}
		return {
			kind: Ee,
			fields: t
		};
	}
	if (typeof e == "boolean") return {
		kind: T,
		value: e
	};
	if (typeof e == "bigint") return {
		kind: Fe,
		value: String(e)
	};
	if (typeof e == "number" && isFinite(e)) {
		let t = String(e);
		return Du.test(t) ? {
			kind: Fe,
			value: t
		} : {
			kind: Et,
			value: t
		};
	}
	if (typeof e == "string") return {
		kind: c,
		value: e
	};
	throw TypeError(`Cannot convert value to AST: ${e}.`);
}
var Du = /^-?(?:0|[1-9][0-9]*)$/;
// ../../../node_modules/.pnpm/@graphql-tools+utils@12.1.0_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/astFromValue.js
function Ou(e, t) {
	if (oe(t)) {
		let n = Ou(e, t.ofType);
		return n?.kind === "NullValue" ? null : n;
	}
	if (e === null) return { kind: Ge };
	if (e === void 0) return null;
	if (j(t)) {
		let n = t.ofType;
		if (Jl(e)) {
			let t = [];
			for (let r of e) {
				let e = Ou(r, n);
				e != null && t.push(e);
			}
			return {
				kind: Re,
				values: t
			};
		}
		return Ou(e, n);
	}
	if (re(t)) {
		if (!Yl(e)) return null;
		let n = [];
		for (let r of Object.values(t.getFields())) {
			let t = Ou(e[r.name], r.type);
			t && n.push({
				kind: Mt,
				name: {
					kind: _t,
					value: r.name
				},
				value: t
			});
		}
		return {
			kind: Ee,
			fields: n
		};
	}
	if (tt(t)) {
		if (f(t)) {
			let n = t.getValues();
			for (let t of n) if (t.value === e || t.name === e) {
				e = t.name;
				break;
			}
			return {
				kind: we,
				value: e
			};
		}
		if (e = t.serialize(e), e == null) return null;
		if (t.name === "ID" && typeof e == "string" && ku.test(e)) return {
			kind: Fe,
			value: e
		};
	}
	return Eu(e);
}
var ku = /^-?(?:0|[1-9][0-9]*)$/, Au = (e) => "default" in e ? e.default ? "value" in e.default ? Eu(e.default.value) ?? void 0 : Ou(_e(e.default.literal), e.type) ?? void 0 : void 0 : e.defaultValue === void 0 ? void 0 : Ou(e.defaultValue, e.type) ?? void 0;
// ../../../node_modules/.pnpm/@graphql-tools+utils@12.1.0_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/descriptionFromObject.js
function ju(e) {
	return e.trim().length > 0;
}
function Mu(e) {
	if (typeof e.description == "string") return ju(e.description) ? {
		kind: c,
		value: e.description,
		block: !0
	} : void 0;
	if (e.astNode?.description && ju(e.astNode.description.value)) return {
		...e.astNode.description,
		block: !0
	};
}
// ../../../node_modules/.pnpm/@graphql-tools+utils@12.1.0_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/rootTypes.js
function Nu(e, t, n) {
	let r = Iu(e).get(t);
	if (r == null) throw kl(`Schema is not configured to execute ${t} operation.`, { nodes: n });
	return r;
}
var Pu = vu(function(e) {
	let t = Fu(e);
	return new Set([...t].map((e) => e.name));
}), Fu = vu(function(e) {
	let t = Iu(e);
	return new Set(t.values());
}), Iu = vu(function(e) {
	let t = /* @__PURE__ */ new Map(), n = e.getQueryType();
	n && t.set("query", n);
	let r = e.getMutationType();
	r && t.set("mutation", r);
	let i = e.getSubscriptionType();
	return i && t.set("subscription", i), t;
});
// ../../../node_modules/.pnpm/@graphql-tools+utils@12.1.0_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/print-schema-with-directives.js
function Lu(e, t, n) {
	let r = [], i = wu(e, n), a;
	i != null && (a = Vu(t, i));
	let o = null, s = null, c = null;
	return a != null && (r = a.filter((e) => se.every((t) => t.name !== e.name.value)), o = a.find((e) => e.name.value === "deprecated"), s = a.find((e) => e.name.value === "specifiedBy"), c = a.find((e) => e.name.value === "oneOf")), e.deprecationReason != null && o == null && (o = zu(e.deprecationReason)), (e.specifiedByUrl != null || e.specifiedByURL != null && s == null) && (s = Bu("specifiedBy", { url: e.specifiedByUrl || e.specifiedByURL })), e.isOneOf && c == null && (c = Bu("oneOf")), o != null && r.push(o), s != null && r.push(s), c != null && r.push(c), r;
}
function Ru(e, t, n) {
	return {
		kind: wt,
		description: Mu(e),
		name: {
			kind: _t,
			value: e.name
		},
		type: Tu(e.type),
		defaultValue: Au(e),
		directives: Lu(e, t, n)
	};
}
function zu(e) {
	return Bu("deprecated", { reason: e }, y);
}
function Bu(e, t, n) {
	let r = [];
	for (let e in t) {
		let i = t[e], a;
		if (n != null) {
			let t = n.args.find((t) => t.name === e);
			t && (a = Ou(i, t.type));
		}
		a ??= Eu(i), a != null && r.push({
			kind: bt,
			name: {
				kind: _t,
				value: e
			},
			value: a
		});
	}
	return {
		kind: Se,
		name: {
			kind: _t,
			value: e
		},
		arguments: r
	};
}
function Vu(e, t) {
	let n = [];
	for (let { name: r, args: i } of t) {
		let t = e?.getDirective(r);
		n.push(Bu(r, i, t));
	}
	return n;
}
// ../../../node_modules/.pnpm/@graphql-tools+utils@12.1.0_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/Interfaces.js
var Hu;
(function(e) {
	e.TYPE = "MapperKind.TYPE", e.SCALAR_TYPE = "MapperKind.SCALAR_TYPE", e.ENUM_TYPE = "MapperKind.ENUM_TYPE", e.COMPOSITE_TYPE = "MapperKind.COMPOSITE_TYPE", e.OBJECT_TYPE = "MapperKind.OBJECT_TYPE", e.INPUT_OBJECT_TYPE = "MapperKind.INPUT_OBJECT_TYPE", e.ABSTRACT_TYPE = "MapperKind.ABSTRACT_TYPE", e.UNION_TYPE = "MapperKind.UNION_TYPE", e.INTERFACE_TYPE = "MapperKind.INTERFACE_TYPE", e.ROOT_OBJECT = "MapperKind.ROOT_OBJECT", e.QUERY = "MapperKind.QUERY", e.MUTATION = "MapperKind.MUTATION", e.SUBSCRIPTION = "MapperKind.SUBSCRIPTION", e.DIRECTIVE = "MapperKind.DIRECTIVE", e.FIELD = "MapperKind.FIELD", e.COMPOSITE_FIELD = "MapperKind.COMPOSITE_FIELD", e.OBJECT_FIELD = "MapperKind.OBJECT_FIELD", e.ROOT_FIELD = "MapperKind.ROOT_FIELD", e.QUERY_ROOT_FIELD = "MapperKind.QUERY_ROOT_FIELD", e.MUTATION_ROOT_FIELD = "MapperKind.MUTATION_ROOT_FIELD", e.SUBSCRIPTION_ROOT_FIELD = "MapperKind.SUBSCRIPTION_ROOT_FIELD", e.INTERFACE_FIELD = "MapperKind.INTERFACE_FIELD", e.INPUT_OBJECT_FIELD = "MapperKind.INPUT_OBJECT_FIELD", e.ARGUMENT = "MapperKind.ARGUMENT", e.ENUM_VALUE = "MapperKind.ENUM_VALUE";
})(Hu ||= {});
// ../../../node_modules/.pnpm/@graphql-tools+utils@12.1.0_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/getObjectTypeFromTypeMap.js
function Uu(e, t) {
	if (t) {
		let n = e[t.name];
		if (C(n)) return n;
	}
}
// ../../../node_modules/.pnpm/@graphql-tools+utils@12.1.0_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/stub.js
function Wu(e) {
	if ("getFields" in e) {
		let t = e.getFields();
		for (let e in t) return t[e].name === "_fake";
	}
	return !1;
}
function Gu(t) {
	switch (t.name) {
		case ft.name: return ft;
		case Be.name: return Be;
		case St.name: return St;
		case e.name: return e;
		case Dt.name: return Dt;
		default: return t;
	}
}
// ../../../node_modules/.pnpm/@graphql-tools+utils@12.1.0_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/rewire.js
function Ku(e, t) {
	let n = Object.create(null);
	for (let t in e) n[t] = e[t];
	let r = Object.create(null);
	for (let e in n) {
		let t = n[e];
		if (t == null || e.startsWith("__")) continue;
		let i = t.name;
		i.startsWith("__") || (r[i] == null ? r[i] = t : console.warn(`Duplicate schema type name ${i} found; keeping the existing one found in the schema`));
	}
	for (let e in r) r[e] = c(r[e]);
	return {
		typeMap: r,
		directives: t.map((e) => a(e))
	};
	function a(e) {
		if (Ce(e)) return e;
		let t = e.toConfig();
		return t.args = s(t.args), new E(t);
	}
	function s(e) {
		let t = {};
		for (let n in e) {
			let r = e[n], i = p(r.type);
			i != null && (r.type = i, t[n] = r);
		}
		return t;
	}
	function c(e) {
		if (C(e)) {
			let t = e.toConfig(), n = {
				...t,
				fields: () => l(t.fields),
				interfaces: () => d(t.interfaces)
			};
			return new Ke(n);
		}
		if (i(e)) {
			let t = e.toConfig(), n = {
				...t,
				fields: () => l(t.fields)
			};
			return "interfaces" in n && (n.interfaces = () => d(t.interfaces)), new vt(n);
		}
		if (o(e)) {
			let t = e.toConfig(), n = {
				...t,
				types: () => d(t.types)
			};
			return new Nt(n);
		}
		if (re(e)) {
			let t = e.toConfig(), n = {
				...t,
				fields: () => u(t.fields)
			};
			return new Ue(n);
		}
		if (f(e)) {
			let t = e.toConfig();
			return new ze(t);
		}
		if (Wt(e)) {
			if (Qe(e)) return e;
			let t = e.toConfig();
			return new De(t);
		}
		throw Error(`Unexpected schema type: ${e}`);
	}
	function l(e) {
		let t = {};
		for (let n in e) {
			let r = e[n], i = p(r.type);
			i != null && r.args && (r.type = i, r.args = s(r.args), t[n] = r);
		}
		return t;
	}
	function u(e) {
		let t = {};
		for (let n in e) {
			let r = e[n], i = p(r.type);
			i != null && (r.type = i, t[n] = r);
		}
		return t;
	}
	function d(e) {
		let t = [];
		for (let n of e) {
			let e = p(n);
			e != null && t.push(e);
		}
		return t;
	}
	function p(e) {
		if (j(e)) {
			let t = p(e.ofType);
			return t == null ? null : new ut(t);
		}
		if (oe(e)) {
			let t = p(e.ofType);
			return t == null ? null : new Ye(t);
		}
		if (te(e)) {
			let t = n[e.name];
			return t === void 0 && (t = Wu(e) ? Gu(e) : c(e), r[t.name] = n[e.name] = t), t == null ? null : r[t.name];
		}
		return null;
	}
}
// ../../../node_modules/.pnpm/@graphql-tools+utils@12.1.0_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/transformInputValue.js
function qu(e, t, n = null, r = null) {
	if (t == null) return t;
	let i = It(e);
	if (tt(i)) return n == null ? t : n(i, t);
	if (j(i)) return gl(t).map((e) => qu(i.ofType, e, n, r));
	if (re(i)) {
		let e = i.getFields(), a = {};
		for (let i in t) {
			let o = e[i];
			o != null && (a[i] = qu(o.type, t[i], n, r));
		}
		return r == null ? a : r(i, a);
	}
}
function Ju(e, t) {
	return qu(e, t, (e, t) => {
		try {
			return e.serialize(t);
		} catch {
			return t;
		}
	});
}
function Yu(e, t) {
	return qu(e, t, (e, t) => {
		try {
			return e.parseValue(t);
		} catch {
			return t;
		}
	});
}
// ../../../node_modules/.pnpm/@graphql-tools+utils@12.1.0_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/mapSchema.js
function Xu(e, t = {}) {
	let n = rd(nd(Qu(ed($u(Qu(ed(e.getTypeMap(), e, Ju), e, t, (e) => tt(e)), e, t), e, Yu), e, t, (e) => !tt(e)), e, t), e, t), { typeMap: r, directives: i } = Ku(n, id(e.getDirectives(), e, t));
	return new g({
		...e.toConfig(),
		query: Uu(r, Uu(n, e.getQueryType())),
		mutation: Uu(r, Uu(n, e.getMutationType())),
		subscription: Uu(r, Uu(n, e.getSubscriptionType())),
		types: Object.values(r),
		directives: i
	});
}
var Zu = [
	"String",
	"ID",
	"Int",
	"Float",
	"Boolean"
];
function Qu(e, t, n, r = () => !0) {
	let i = {};
	for (let a in e) if (!a.startsWith("__") && !Zu.includes(a)) {
		let o = e[a];
		if (o == null || !r(o)) {
			i[a] = o;
			continue;
		}
		let s = od(t, n, a);
		if (s == null) {
			i[a] = o;
			continue;
		}
		let c = s(o, t);
		if (c === void 0) {
			i[a] = o;
			continue;
		}
		i[a] = c;
	}
	return i;
}
function $u(e, t, n) {
	let r = dd(n);
	return r ? Qu(e, t, { [Hu.ENUM_TYPE]: (e) => {
		let n = e.toConfig(), i = n.values, a = {};
		for (let n in i) {
			let o = i[n], s = r(o, e.name, t, n);
			if (s === void 0) a[n] = o;
			else if (Array.isArray(s)) {
				let [e, t] = s;
				a[e] = t === void 0 ? o : t;
			} else s !== null && (a[n] = s);
		}
		return fd(new ze({
			...n,
			values: a
		}));
	} }, (e) => f(e)) : e;
}
function ed(e, t, n) {
	let r = rd(e, t, { [Hu.ARGUMENT]: (t) => {
		if (t.defaultValue === void 0) return t;
		let r = td(e, t.type);
		if (r != null) return {
			...t,
			defaultValue: n(r, t.defaultValue)
		};
	} });
	return nd(r, t, { [Hu.INPUT_OBJECT_FIELD]: (e) => {
		if (e.defaultValue === void 0) return e;
		let t = td(r, e.type);
		if (t != null) return {
			...e,
			defaultValue: n(t, e.defaultValue)
		};
	} });
}
function td(e, t) {
	if (j(t)) {
		let n = td(e, t.ofType);
		return n == null ? null : new ut(n);
	}
	if (oe(t)) {
		let n = td(e, t.ofType);
		return n == null ? null : new Ye(n);
	}
	return te(t) ? e[t.name] ?? null : null;
}
function nd(e, t, n) {
	let r = {};
	for (let a in e) if (!a.startsWith("__")) {
		let o = e[a];
		if (!C(o) && !i(o) && !re(o)) {
			r[a] = o;
			continue;
		}
		let s = cd(t, n, a);
		if (s == null) {
			r[a] = o;
			continue;
		}
		let c = o.toConfig(), l = c.fields, u = {};
		for (let e in l) {
			let n = l[e], r = s(n, e, a, t);
			if (r === void 0) u[e] = n;
			else if (Array.isArray(r)) {
				let [e, t] = r;
				t.astNode != null && (t.astNode = {
					...t.astNode,
					name: {
						...t.astNode.name,
						value: e
					}
				}), u[e] = t === void 0 ? n : t;
			} else r !== null && (u[e] = r);
		}
		r[a] = C(o) ? fd(new Ke({
			...c,
			fields: u
		})) : i(o) ? fd(new vt({
			...c,
			fields: u
		})) : fd(new Ue({
			...c,
			fields: u
		}));
	}
	return r;
}
function rd(e, t, n) {
	let r = {};
	for (let a in e) if (!a.startsWith("__")) {
		let o = e[a];
		if (!C(o) && !i(o)) {
			r[a] = o;
			continue;
		}
		let s = ld(n);
		if (s == null) {
			r[a] = o;
			continue;
		}
		let c = o.toConfig(), l = c.fields, u = {};
		for (let e in l) {
			let n = l[e], r = n.args;
			if (r == null) {
				u[e] = n;
				continue;
			}
			let i = Object.keys(r);
			if (!i.length) {
				u[e] = n;
				continue;
			}
			let o = {};
			for (let n of i) {
				let i = r[n], c = s(i, e, a, t);
				if (c === void 0) o[n] = i;
				else if (Array.isArray(c)) {
					let [e, t] = c;
					o[e] = t;
				} else c !== null && (o[n] = c);
			}
			u[e] = {
				...n,
				args: o
			};
		}
		r[a] = C(o) ? new Ke({
			...c,
			fields: u
		}) : i(o) ? new vt({
			...c,
			fields: u
		}) : new Ue({
			...c,
			fields: u
		});
	}
	return r;
}
function id(e, t, n) {
	let r = ud(n);
	if (r == null) return e.slice();
	let i = [];
	for (let n of e) {
		let e = r(n, t);
		e === void 0 ? i.push(n) : e !== null && i.push(e);
	}
	return i;
}
function ad(e, t) {
	let n = e.getType(t), r = [Hu.TYPE];
	return C(n) ? (r.push(Hu.COMPOSITE_TYPE, Hu.OBJECT_TYPE), t === e.getQueryType()?.name ? r.push(Hu.ROOT_OBJECT, Hu.QUERY) : t === e.getMutationType()?.name ? r.push(Hu.ROOT_OBJECT, Hu.MUTATION) : t === e.getSubscriptionType()?.name && r.push(Hu.ROOT_OBJECT, Hu.SUBSCRIPTION)) : re(n) ? r.push(Hu.INPUT_OBJECT_TYPE) : i(n) ? r.push(Hu.COMPOSITE_TYPE, Hu.ABSTRACT_TYPE, Hu.INTERFACE_TYPE) : o(n) ? r.push(Hu.COMPOSITE_TYPE, Hu.ABSTRACT_TYPE, Hu.UNION_TYPE) : f(n) ? r.push(Hu.ENUM_TYPE) : Wt(n) && r.push(Hu.SCALAR_TYPE), r;
}
function od(e, t, n) {
	let r = ad(e, n), i, a = [...r];
	for (; !i && a.length > 0;) i = t[a.pop()];
	return i ?? null;
}
function sd(e, t) {
	let n = e.getType(t), r = [Hu.FIELD];
	return C(n) ? (r.push(Hu.COMPOSITE_FIELD, Hu.OBJECT_FIELD), t === e.getQueryType()?.name ? r.push(Hu.ROOT_FIELD, Hu.QUERY_ROOT_FIELD) : t === e.getMutationType()?.name ? r.push(Hu.ROOT_FIELD, Hu.MUTATION_ROOT_FIELD) : t === e.getSubscriptionType()?.name && r.push(Hu.ROOT_FIELD, Hu.SUBSCRIPTION_ROOT_FIELD)) : i(n) ? r.push(Hu.COMPOSITE_FIELD, Hu.INTERFACE_FIELD) : re(n) && r.push(Hu.INPUT_OBJECT_FIELD), r;
}
function cd(e, t, n) {
	let r = sd(e, n), i, a = [...r];
	for (; !i && a.length > 0;) i = t[a.pop()];
	return i ?? null;
}
function ld(e) {
	return e[Hu.ARGUMENT] ?? null;
}
function ud(e) {
	return e[Hu.DIRECTIVE] ?? null;
}
function dd(e) {
	return e[Hu.ENUM_VALUE] ?? null;
}
function fd(e) {
	if (C(e)) {
		let t = e.toConfig();
		if (t.astNode != null) {
			let e = [];
			for (let n in t.fields) {
				let r = t.fields[n];
				r.astNode != null && e.push(r.astNode);
			}
			t.astNode = {
				...t.astNode,
				kind: Vt,
				fields: e
			};
		}
		return t.extensionASTNodes != null && (t.extensionASTNodes = t.extensionASTNodes.map((e) => ({
			...e,
			kind: Me,
			fields: void 0
		}))), new Ke(t);
	}
	if (i(e)) {
		let t = e.toConfig();
		if (t.astNode != null) {
			let e = [];
			for (let n in t.fields) {
				let r = t.fields[n];
				r.astNode != null && e.push(r.astNode);
			}
			t.astNode = {
				...t.astNode,
				kind: ot,
				fields: e
			};
		}
		return t.extensionASTNodes != null && (t.extensionASTNodes = t.extensionASTNodes.map((e) => ({
			...e,
			kind: kt,
			fields: void 0
		}))), new vt(t);
	}
	if (re(e)) {
		let t = e.toConfig();
		if (t.astNode != null) {
			let e = [];
			for (let n in t.fields) {
				let r = t.fields[n];
				r.astNode != null && e.push(r.astNode);
			}
			t.astNode = {
				...t.astNode,
				kind: ke,
				fields: e
			};
		}
		return t.extensionASTNodes != null && (t.extensionASTNodes = t.extensionASTNodes.map((e) => ({
			...e,
			kind: mt,
			fields: void 0
		}))), new Ue(t);
	}
	if (f(e)) {
		let t = e.toConfig();
		if (t.astNode != null) {
			let e = [];
			for (let n in t.values) {
				let r = t.values[n];
				r.astNode != null && e.push(r.astNode);
			}
			t.astNode = {
				...t.astNode,
				values: e
			};
		}
		return t.extensionASTNodes != null && (t.extensionASTNodes = t.extensionASTNodes.map((e) => ({
			...e,
			values: void 0
		}))), new ze(t);
	}
	return e;
}
// ../../../node_modules/.pnpm/@graphql-tools+utils@12.1.0_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/mergeDeep.js
function pd(e) {
	return typeof e == "object" && !!e && !Array.isArray(e);
}
function md(e) {
	return {
		enumerable: e?.enumerable ?? !1,
		nonEnumerable: e?.nonEnumerable ?? !1
	};
}
function hd(e, t = !1, n = !1, r = !1) {
	return pd(e) ? {
		respectPrototype: e.respectPrototype ?? !1,
		respectArrays: e.respectArrays ?? !1,
		respectArrayLength: e.respectArrayLength ?? !1,
		respectSymbols: md(e.respectSymbols)
	} : {
		respectPrototype: e ?? !1,
		respectArrays: t,
		respectArrayLength: n,
		respectSymbols: {
			enumerable: !1,
			nonEnumerable: r
		}
	};
}
function gd(e, t = !1, n = !1, r = !1, i = !1) {
	return _d(e, hd(t, n, r, i));
}
function _d(e, t) {
	let { respectPrototype: n, respectArrayLength: r, respectSymbols: i } = t, a = i.enumerable, o = i.nonEnumerable;
	if (e.length === 0) return;
	if (e.length === 1) return e[0];
	let s, c = !0, l = e.every((e) => {
		if (Array.isArray(e)) {
			if (s === void 0) return s = e.length, !0;
			if (s === e.length) return !0;
		} else c = !1;
		return !1;
	});
	if (r && l) return Array(s).fill(null).map((n, r) => _d(e.map((e) => e[r]), t));
	if (c) return e.flat(1);
	let u, d;
	n && (d = e.find((e) => vd(e)), d && (u ??= {}, Object.setPrototypeOf(u, Object.create(Object.getPrototypeOf(d)))));
	for (let n of e) if (n !== void 0) {
		if (vd(n)) {
			if (u ??= {}, d) {
				let e = Object.getPrototypeOf(u), t = Object.getPrototypeOf(n);
				if (t) for (let n of Object.getOwnPropertyNames(t)) {
					let r = Object.getOwnPropertyDescriptor(t, n);
					_l(r) && Object.defineProperty(e, n, r);
				}
			}
			for (let e in n) Ql(e) || (Object.prototype.hasOwnProperty.call(u, e) && n[e] !== void 0 ? u[e] = _d([u[e], n[e]], t) : u[e] = n[e]);
			if (u != null && (a || o)) for (let e of Object.getOwnPropertySymbols(n)) {
				if (!Object.getOwnPropertyDescriptor(n, e).enumerable) {
					if (o) {
						if (Object.prototype.hasOwnProperty.call(u, e)) {
							let t = Object.getOwnPropertyDescriptor(u, e);
							t.configurable ? Object.defineProperty(u, e, {
								value: n[e],
								writable: !0,
								enumerable: !1,
								configurable: !0
							}) : (t.writable || t.set) && (u[e] = n[e]);
						} else Object.defineProperty(u, e, {
							value: n[e],
							writable: !0,
							enumerable: !1,
							configurable: !0
						});
					}
					continue;
				}
				if (!a) continue;
				let r = Object.prototype.hasOwnProperty.call(u, e);
				if (r && n[e] !== void 0) {
					let r = Object.getOwnPropertyDescriptor(u, e), i = _d([u[e], n[e]], t);
					r.writable || r.set ? u[e] = i : r.configurable && Object.defineProperty(u, e, {
						value: i,
						writable: !0,
						enumerable: !0,
						configurable: !0
					});
				} else if (!r) u[e] = n[e];
				else {
					let t = Object.getOwnPropertyDescriptor(u, e);
					t.writable || t.set ? u[e] = n[e] : t.configurable && Object.defineProperty(u, e, {
						value: n[e],
						writable: !0,
						enumerable: !0,
						configurable: !0
					});
				}
			}
		} else u = Array.isArray(n) && Array.isArray(u) ? _d([u, n], t) : n;
	}
	return u;
}
function vd(e) {
	return e && typeof e == "object" && !Array.isArray(e);
}
// ../../../node_modules/.pnpm/@graphql-tools+utils@12.1.0_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/implementsAbstractType.js
function yd(e, t, n) {
	return n == null || t == null ? !1 : t === n ? !0 : h(t) && h(n) ? st(e, t, n) : !1;
}
// ../../../node_modules/.pnpm/@graphql-tools+utils@12.1.0_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/AccumulatorMap.js
var bd = class extends Map {
	get [Symbol.toStringTag]() {
		return "AccumulatorMap";
	}
	add(e, t) {
		let n = this.get(e);
		n === void 0 ? this.set(e, [t]) : n.push(t);
	}
}, xd = new E({
	name: "defer",
	description: "Directs the executor to defer this fragment when the `if` argument is true or undefined.",
	locations: [ht.FRAGMENT_SPREAD, ht.INLINE_FRAGMENT],
	args: {
		if: {
			type: new Ye(e),
			description: "Deferred when true or undefined.",
			defaultValue: !0
		},
		label: {
			type: St,
			description: "Unique name"
		}
	}
}), Sd = new E({
	name: "stream",
	description: "Directs the executor to stream plural fields when the `if` argument is true or undefined.",
	locations: [ht.FIELD],
	args: {
		if: {
			type: new Ye(e),
			description: "Stream when true or undefined.",
			defaultValue: !0
		},
		label: {
			type: St,
			description: "Unique name"
		},
		initialCount: {
			defaultValue: 0,
			type: ft,
			description: "Number of items to return immediately"
		}
	}
});
// ../../../node_modules/.pnpm/@graphql-tools+utils@12.1.0_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/getDirectiveValues.js
function Cd(e, t, n) {
	return ii.major >= 17 ? Ve(e, t, n) : Ve(e, t, n?.coerced);
}
// ../../../node_modules/.pnpm/@graphql-tools+utils@12.1.0_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/collectFields.js
function wd(e, n, r, i, a, o, s, c) {
	for (let l of a.selections) switch (l.kind) {
		case t:
			if (!Ed(r, l)) continue;
			o.add(Od(l), l);
			break;
		case Ze: {
			if (!Ed(r, l) || !Dd(e, l, i)) continue;
			let t = kd(r, l);
			if (t) {
				let a = new bd();
				wd(e, n, r, i, l.selectionSet, a, s, c), s.push({
					label: t.label,
					fields: a
				});
			} else wd(e, n, r, i, l.selectionSet, o, s, c);
			break;
		}
		case xt: {
			let t = l.name.value;
			if (!Ed(r, l)) continue;
			let a = kd(r, l);
			if (c.has(t) && !a) continue;
			let u = n[t];
			if (!u || !Dd(e, u, i)) continue;
			if (a || c.add(t), a) {
				let t = new bd();
				wd(e, n, r, i, u.selectionSet, t, s, c), s.push({
					label: a.label,
					fields: t
				});
			} else wd(e, n, r, i, u.selectionSet, o, s, c);
			break;
		}
	}
}
function Td(e, t, n, r, i) {
	let a = new bd(), o = [];
	return wd(e, t, n, r, i, a, o, /* @__PURE__ */ new Set()), {
		fields: a,
		patches: o
	};
}
function Ed(e, t) {
	return Cd(xe, t, e)?.if !== !0 && Cd(w, t, e)?.if !== !1;
}
function Dd(e, t, n) {
	let r = t.typeCondition;
	if (!r) return !0;
	let i = Bt(e, r);
	return i === n ? !0 : he(i) ? e.getPossibleTypes(i).includes(n) : !1;
}
function Od(e) {
	return e.alias ? e.alias.value : e.name.value;
}
function kd(e, t) {
	let n = Cd(xd, t, e);
	if (n && n.if !== !1) return { label: typeof n.label == "string" ? n.label : void 0 };
}
var Ad = xu(function(e, t, n, r, i) {
	let a = new bd(), o = /* @__PURE__ */ new Set(), s = [], c = {
		fields: a,
		patches: s
	};
	for (let c of i) c.selectionSet && wd(e, t, n, r, c.selectionSet, a, s, o);
	return c;
});
// ../../../node_modules/.pnpm/@graphql-tools+utils@12.1.0_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/getOperationASTFromRequest.js
function jd(e, t) {
	let n = ci(e, t);
	if (!n) throw Error(`Cannot infer operation ${t || ""}`);
	return n;
}
var Md = vu(function(e) {
	return jd(e.document, e.operationName);
});
// ../../../node_modules/.pnpm/@graphql-tools+utils@12.1.0_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/isAsyncIterable.js
function Nd(e) {
	return e?.[Symbol.asyncIterator] != null;
}
// ../../../node_modules/.pnpm/@graphql-tools+utils@12.1.0_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/Path.js
function Pd(e, t, n) {
	return {
		prev: e,
		key: t,
		typename: n
	};
}
function Fd(e) {
	let t = [], n = e;
	for (; n;) t.push(n.key), n = n.prev;
	return t.reverse();
}
function Id(e) {
	return e.map((e) => typeof e == "number" ? "[" + e.toString() + "]" : "." + e).join("");
}
// ../../../node_modules/.pnpm/@graphql-tools+utils@12.1.0_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/mergeIncrementalResult.js
function Ld({ incrementalResult: e, executionResult: t }) {
	let n = ["data", ...e.path ?? []];
	if (e.items && Rd(n)) for (let r of e.items) zd(t, n, r), n[n.length - 1]++;
	e.data && zd(t, n, e.data), e.errors && (t.errors = t.errors || [], t.errors.push(...e.errors)), e.extensions && zd(t, ["extensions"], e.extensions), e.incremental && e.incremental.forEach((e) => {
		Ld({
			incrementalResult: e,
			executionResult: t
		});
	});
}
function Rd(e) {
	return e.every($l);
}
function zd(e, t, n) {
	if (!Rd(t)) return;
	let r = e, i = 0;
	for (; i < t.length - 1; i++) {
		let e = t[i];
		if (e === "__proto__" || !$l(e)) return;
		Zl(r, e) && r[e] != null || (r[e] = typeof t[i + 1] == "number" ? [] : {}), r = r[e];
	}
	let a = t[i];
	if (a === "__proto__" || !$l(a)) return;
	let o = Zl(r, a) ? r[a] : void 0;
	r[a] = o == null ? n : gd([o, n]);
}
// ../../../node_modules/.pnpm/@whatwg-node+disposablestack@0.0.6/node_modules/@whatwg-node/disposablestack/esm/symbols.js
var Bd = {
	get dispose() {
		return Symbol.dispose || Symbol.for("dispose");
	},
	get asyncDispose() {
		return Symbol.asyncDispose || Symbol.for("asyncDispose");
	}
};
// ../../../node_modules/.pnpm/isows@1.0.8_ws@8.22.0/node_modules/isows/_esm/utils.js
function Vd() {
	if (typeof WebSocket < "u") return WebSocket;
	if (global.WebSocket !== void 0) return global.WebSocket;
	if (window.WebSocket !== void 0) return window.WebSocket;
	if (self.WebSocket !== void 0) return self.WebSocket;
	throw Error("`WebSocket` is not supported in this environment");
}
// ../../../node_modules/.pnpm/isows@1.0.8_ws@8.22.0/node_modules/isows/_esm/native.js
var Hd = Vd();
// ../../../node_modules/.pnpm/@graphql-tools+executor-graphql-ws@3.2.0_graphql@17.1.0/node_modules/@graphql-tools/executor-graphql-ws/dist/index.js
function Ud() {
	return typeof process < "u" && process.versions && process.versions.node && typeof Bun > "u";
}
function Wd() {
	return typeof window < "u";
}
function Gd() {
	if (!Ud()) return {
		major: NaN,
		minor: NaN,
		patch: NaN
	};
	let [e, t, n] = process.versions.node.split(".").map(Number);
	return {
		major: e || NaN,
		minor: t || NaN,
		patch: n || NaN
	};
}
function Kd(e) {
	return "subscribe" in e;
}
function qd(e) {
	let t, n = {}, r = ml;
	if (Kd(e)) t = e;
	else {
		e.print && (r = e.print);
		let i = e.headers, a = i ? class extends Hd {
			constructor(e, t) {
				Wd() ? super(e, t) : Gd().major < 22 ? super(e, t, { headers: i }) : super(e, {
					protocols: [t],
					protocol: t,
					headers: i
				});
			}
		} : Hd;
		t = Br({
			url: e.url,
			webSocketImpl: a,
			lazy: e.lazy !== !1,
			lazyCloseTimeout: e.lazyCloseTimeout || 0,
			connectionParams: () => {
				let t = (typeof e.connectionParams == "function" ? e.connectionParams() : e.connectionParams) || {};
				return Object.assign(t, n);
			},
			on: e.on
		}), e.onClient && e.onClient(t);
	}
	let i = function(e) {
		let { extensions: i, operationType: a = Md(e).operation, info: o, signal: s = o?.signal } = e;
		i?.connectionParams && typeof i?.connectionParams == "object" && (n = Object.assign(n, i.connectionParams));
		let c = t.iterate(hl({
			executionRequest: e,
			printFn: r
		}));
		return c.return && s && s.addEventListener("abort", () => {
			c.return?.();
		}, { once: !0 }), a === "subscription" ? c : c.next().then(({ value: e }) => e);
	};
	return Object.defineProperty(i, Bd.asyncDispose, { value: function() {
		return t.dispose();
	} }), i;
}
// ../../../node_modules/.pnpm/@graphql-hive+signal@2.1.0/node_modules/@graphql-hive/signal/dist/index.js
var Jd = !globalThis.Bun && globalThis.process?.release?.name === "node", Yd = Symbol("CONTROLLER_IN_SIGNAL"), Xd = typeof FinalizationRegistry == "function" ? new FinalizationRegistry((e) => e()) : null;
function Zd(e) {
	if (e.length === 0) return;
	if (e.length === 1) return e[0];
	if (!Jd) return AbortSignal.any(e);
	for (let t of e) if (t.aborted) return t;
	let t = new AbortController(), n = new WeakRef(t), r = [], i = e.length;
	for (let t of e) {
		let e = function() {
			n.deref()?.abort(o.deref()?.reason);
		}, o = new WeakRef(t);
		t.addEventListener("abort", e), r.push([o, e]), Xd.register(t, () => !--i && a(), t);
	}
	function a() {
		for (let [e, t] of r) {
			let r = e.deref();
			r && (r.removeEventListener("abort", t), Xd.unregister(r));
			let i = n.deref();
			i && (Xd.unregister(i.signal), delete i.signal[Yd]);
		}
	}
	return t.signal.addEventListener("abort", a), Xd.register(t.signal, a, t.signal), t.signal[Yd] = t, t.signal;
}
// ../../../node_modules/.pnpm/@repeaterjs+repeater@3.1.0/node_modules/@repeaterjs/repeater/src/core.js
var Qd = (/* @__PURE__ */ qt(((e, t) => {
	t.exports.fetch = globalThis.fetch, t.exports.Headers = globalThis.Headers, t.exports.Request = globalThis.Request, t.exports.Response = globalThis.Response, t.exports.FormData = globalThis.FormData, t.exports.ReadableStream = globalThis.ReadableStream, t.exports.WritableStream = globalThis.WritableStream, t.exports.TransformStream = globalThis.TransformStream, t.exports.CompressionStream = globalThis.CompressionStream, t.exports.DecompressionStream = globalThis.DecompressionStream, t.exports.TextDecoderStream = globalThis.TextDecoderStream, t.exports.TextEncoderStream = globalThis.TextEncoderStream, t.exports.Blob = globalThis.Blob, t.exports.File = globalThis.File, t.exports.crypto = globalThis.crypto, t.exports.btoa = globalThis.btoa, t.exports.TextEncoder = globalThis.TextEncoder, t.exports.TextDecoder = globalThis.TextDecoder, t.exports.URLPattern = globalThis.URLPattern, t.exports.URL = globalThis.URL, t.exports.URLSearchParams = globalThis.URLSearchParams, t.exports.createFetch = () => ({
		fetch: globalThis.fetch,
		Headers: globalThis.Headers,
		Request: globalThis.Request,
		Response: globalThis.Response,
		FormData: globalThis.FormData,
		ReadableStream: globalThis.ReadableStream,
		WritableStream: globalThis.WritableStream,
		TransformStream: globalThis.TransformStream,
		CompressionStream: globalThis.CompressionStream,
		DecompressionStream: globalThis.DecompressionStream,
		TextDecoderStream: globalThis.TextDecoderStream,
		TextEncoderStream: globalThis.TextEncoderStream,
		Blob: globalThis.Blob,
		File: globalThis.File,
		crypto: globalThis.crypto,
		btoa: globalThis.btoa,
		TextEncoder: globalThis.TextEncoder,
		TextDecoder: globalThis.TextDecoder,
		URLPattern: globalThis.URLPattern,
		URL: globalThis.URL,
		URLSearchParams: globalThis.URLSearchParams
	});
})))(), $d = class extends Error {
	constructor(e) {
		super(e), Object.defineProperty(this, "name", {
			value: "RepeaterOverflowError",
			enumerable: !1
		}), typeof Object.setPrototypeOf == "function" ? Object.setPrototypeOf(this, this.constructor.prototype) : this.__proto__ = this.constructor.prototype, typeof Error.captureStackTrace == "function" && Error.captureStackTrace(this, this.constructor);
	}
};
function ef(e) {
	e != null && typeof e.then == "function" && e.then(cf, cf);
}
var tf = 0, nf = 1, rf = 2, af = 3, of = 4, sf = 1024, cf = () => {};
function lf(e) {
	let t = e.err, n = Promise.resolve(e.execution).then((e) => {
		if (t != null) throw t;
		return e;
	});
	return e.err = void 0, e.execution = n.then(() => void 0, () => void 0), e.pending === void 0 ? n : e.pending.then(() => n);
}
function uf(e, t) {
	let n = e.state >= af;
	return Promise.resolve(t).then((t) => !n && e.state >= of ? lf(e).then((e) => ({
		value: e,
		done: !0
	})) : {
		value: t,
		done: n
	});
}
function df(e, t) {
	if (!(e.state >= rf)) {
		if (e.state = rf, e.onnext(), e.onstop(), e.err ??= t, e.pushes.length === 0 && (e.buffer === void 0 || e.buffer.empty)) ff(e);
		else for (let t of e.pushes) t.resolve();
	}
}
function ff(e) {
	if (!(e.state >= af)) {
		e.state < rf && df(e), e.state = af, e.buffer = void 0;
		for (let t of e.nexts) {
			let n = e.pending === void 0 ? lf(e) : e.pending.then(() => lf(e));
			t.resolve(uf(e, n));
		}
		e.pushes = [], e.nexts = [];
	}
}
function pf(e) {
	e.state >= of || (e.state < af && ff(e), e.state = of);
}
function mf(e, t) {
	if (ef(t), e.pushes.length >= 1024) throw new $d(`No more than ${sf} pending calls to push are allowed on a single repeater.`);
	if (e.state >= rf) return Promise.resolve(void 0);
	let n = e.pending === void 0 ? Promise.resolve(t) : e.pending.then(() => t);
	n = n.catch((t) => {
		e.state < rf && (e.err = t), pf(e);
	});
	let r;
	e.nexts.length ? (e.nexts.shift().resolve(uf(e, n)), r = e.nexts.length ? Promise.resolve(e.nexts[0].value) : e.buffer !== void 0 && !e.buffer.full ? Promise.resolve(void 0) : new Promise((t) => e.onnext = t)) : e.buffer !== void 0 && !e.buffer.full ? (e.buffer.add(n), r = Promise.resolve(void 0)) : r = new Promise((t) => e.pushes.push({
		resolve: t,
		value: n
	}));
	let i = !0, a = Object.create(r), o = r.catch((e) => {
		if (i) throw e;
	});
	return a.then = (e, t) => (i = !1, Promise.prototype.then.call(r, e, t)), a.catch = (e) => (i = !1, Promise.prototype.catch.call(r, e)), a.finally = r.finally.bind(r), e.pending = n.then(() => o).catch((t) => {
		e.err = t, pf(e);
	}), a;
}
function hf(e) {
	let t = new Promise((t) => e.onstop = () => t(void 0));
	return Object.assign(df.bind(null, e), {
		then: t.then.bind(t),
		catch: t.catch.bind(t),
		finally: t.finally.bind(t)
	});
}
function gf(e) {
	if (e.state >= nf) return;
	e.state = nf;
	let t = mf.bind(null, e), n = hf(e);
	e.execution = new Promise((r) => r(e.executor(t, n))), e.execution.catch(() => df(e));
}
var _f = /* @__PURE__ */ new WeakMap(), vf = class {
	constructor(e, t) {
		_f.set(this, {
			executor: e,
			buffer: t,
			err: void 0,
			state: tf,
			pushes: [],
			nexts: [],
			pending: void 0,
			execution: void 0,
			onnext: cf,
			onstop: cf
		});
	}
	next(e) {
		ef(e);
		let t = _f.get(this);
		if (t === void 0) throw Error("WeakMap error");
		if (t.nexts.length >= 1024) throw new $d(`No more than ${sf} pending calls to next are allowed on a single repeater.`);
		if (t.state <= tf && gf(t), t.onnext(e), t.buffer !== void 0 && !t.buffer.empty) {
			let e = uf(t, t.buffer.remove());
			if (t.pushes.length) {
				let e = t.pushes.shift();
				t.buffer.add(e.value), t.onnext = e.resolve;
			}
			return e;
		}
		if (t.pushes.length) {
			let e = t.pushes.shift();
			return t.onnext = e.resolve, uf(t, e.value);
		}
		return t.state >= rf ? (ff(t), uf(t, lf(t))) : new Promise((n) => t.nexts.push({
			resolve: n,
			value: e
		}));
	}
	return(e) {
		ef(e);
		let t = _f.get(this);
		if (t === void 0) throw Error("WeakMap error");
		return ff(t), t.execution = Promise.resolve(t.execution).then(() => e), uf(t, lf(t));
	}
	throw(e) {
		let t = _f.get(this);
		if (t === void 0) throw Error("WeakMap error");
		return t.state <= tf || t.state >= rf || t.buffer !== void 0 && !t.buffer.empty ? (ff(t), t.err ??= e, uf(t, lf(t))) : this.next(Promise.reject(e));
	}
	[Symbol.asyncIterator]() {
		return this;
	}
};
typeof Symbol.asyncDispose == "symbol" && (vf.prototype[Symbol.asyncDispose] = function() {
	return this.return();
}), typeof Symbol.dispose == "symbol" && (vf.prototype[Symbol.dispose] = function() {
	this.return();
});
// ../../../node_modules/.pnpm/@repeaterjs+repeater@3.1.0/node_modules/@repeaterjs/repeater/src/_chunks/chunk-RTTLBQUC.js
function yf(e) {
	return e != null && typeof e.then == "function";
}
function bf(e) {
	let t = /* @__PURE__ */ new Set(), n = {
		deferreds: t,
		settled: !1
	};
	return Promise.resolve(e).then((e) => {
		for (let { resolve: n } of t) n(e);
		t.clear(), n.settled = !0;
	}, (e) => {
		for (let { reject: n } of t) n(e);
		t.clear(), n.settled = !0;
	}), n;
}
var xf = /* @__PURE__ */ new WeakMap();
function Sf(e) {
	let t;
	return new Promise((n, r) => {
		t = {
			resolve: n,
			reject: r
		};
		for (let i of e) {
			if (!yf(i)) {
				Promise.resolve(i).then(n, r);
				continue;
			}
			let e = xf.get(i);
			e === void 0 ? (e = bf(i), e.deferreds.add(t), xf.set(i, e)) : e.settled ? Promise.resolve(i).then(n, r) : e.deferreds.add(t);
		}
	}).finally(() => {
		for (let n of e) if (yf(n)) {
			let e = xf.get(n);
			e && e.deferreds.delete(t);
		}
	});
}
// ../../../node_modules/.pnpm/@repeaterjs+repeater@3.1.0/node_modules/@repeaterjs/repeater/src/combinators.js
function Cf(e, t) {
	let n = [];
	for (let r of e) r != null && typeof r[Symbol.asyncIterator] == "function" ? n.push(r[Symbol.asyncIterator]()) : r != null && typeof r[Symbol.iterator] == "function" ? n.push(r[Symbol.iterator]()) : n.push(async function* () {
		if (t.yieldValues && (yield r), t.returnValues) return r;
	}());
	return n;
}
function wf(e) {
	let t = Cf(e, { returnValues: !0 });
	return new vf(async (e, n) => {
		if (!t.length) {
			n();
			return;
		}
		let r;
		try {
			for (;;) {
				let i = await Sf([...t.map((e) => Promise.resolve(e.next()).then((e) => (e.done && (n(), r === void 0 && (r = e)), e), (e) => {
					n(e);
				})), n]);
				if (i === void 0 || i.done) break;
				await e(i.value);
			}
			return r && r.value;
		} finally {
			n(), await Sf(t.map((e) => e.return && e.return()));
		}
	});
}
function Tf(e) {
	let t = Cf(e, { yieldValues: !0 });
	return new vf(async (e, n) => {
		if (!t.length) {
			n();
			return;
		}
		let r;
		try {
			return await Promise.all(t.map(async (t) => {
				try {
					for (;;) {
						let i;
						try {
							i = await Sf([Promise.resolve(t.next()), n]);
						} catch (e) {
							n(e);
							return;
						}
						if (i === void 0) return;
						if (i.done) {
							r = i;
							return;
						}
						await e(i.value);
					}
				} finally {
					t.return && await t.return();
				}
			})), r && r.value;
		} finally {
			n();
		}
	});
}
function Ef(e) {
	let t = Cf(e, { returnValues: !0 });
	return new vf(async (e, n) => {
		if (!t.length) return n(), [];
		try {
			for (;;) {
				let r;
				try {
					r = await Sf([Promise.all(t.map((e) => e.next())), n]);
				} catch (e) {
					n(e);
					return;
				}
				if (r === void 0) return;
				let i = r.map((e) => e.value);
				if (r.some((e) => e.done)) return i;
				await e(i);
			}
		} finally {
			n(), await Promise.all(t.map((e) => e.return && e.return()));
		}
	});
}
function Df(e) {
	let t = Cf(e, {
		yieldValues: !0,
		returnValues: !0
	});
	return new vf(async (e, n) => {
		if (!t.length) return n(), [];
		try {
			let r;
			try {
				r = await Sf([Promise.all(t.map((e) => e.next())), n]);
			} catch (e) {
				n(e);
				return;
			}
			if (r === void 0) return;
			let i = r.map((e) => e.value);
			return r.every((e) => e.done) ? i : (await e(i.slice()), await Promise.all(t.map(async (t, a) => {
				if (r[a].done) return r[a].value;
				for (;;) {
					let o;
					try {
						o = await Sf([Promise.resolve(t.next()), n]);
					} catch (e) {
						return n(e), r[a].value;
					}
					if (o === void 0) return r[a].value;
					if (o.done) return o.value;
					i[a] = o.value, await e(i.slice());
				}
			})));
		} finally {
			n(), await Promise.all(t.map((e) => e.return && e.return()));
		}
	});
}
// ../../../node_modules/.pnpm/@repeaterjs+repeater@3.1.0/node_modules/@repeaterjs/repeater/src/index.js
var Of = class extends vf {
	static race = wf;
	static merge = Tf;
	static zip = Ef;
	static latest = Df;
};
// ../../../node_modules/.pnpm/meros@1.3.2_@types+node@26.6.6/node_modules/meros/browser/index.mjs
async function kf(e, t) {
	if (!e.ok || !e.body || e.bodyUsed) return e;
	let n = e.headers.get("content-type");
	if (!n || !~n.indexOf("multipart/")) return e;
	let r = n.indexOf("boundary="), i = "-";
	if (~r) {
		let e = r + 9, t = n.indexOf(";", e);
		i = n.slice(e, t > -1 ? t : void 0).trim().replace(/"/g, "");
	}
	return async function* (e, t, n) {
		let r, i, a, o = new TextDecoder("utf8"), s = e.getReader(), c = !n || !n.multiple, l = t.length, u = "", d = [];
		try {
			let e;
			e: for (; !(e = await s.read()).done;) {
				let n = o.decode(e.value, { stream: !0 });
				r = u.length, u += n;
				let s = n.indexOf(t);
				for (~s ? r += s : r = u.indexOf(t), d = []; ~r;) {
					let e = u.slice(0, r), n = u.slice(r + l);
					if (i) {
						let t = e.indexOf("\r\n\r\n") + 4, r = e.lastIndexOf("\r\n", t), i = !1, o = e.slice(t, r > -1 ? void 0 : r), s = String(e.slice(0, t)).trim().split("\r\n"), l = {}, u = s.length;
						for (; a = s[--u]; a = a.split(": "), l[a.shift().toLowerCase()] = a.join(": "));
						if (a = l["content-type"], a && ~a.indexOf("application/json")) try {
							o = JSON.parse(o), i = !0;
						} catch {}
						if (a = {
							headers: l,
							body: o,
							json: i
						}, c ? yield a : d.push(a), n.slice(0, 2) === "--") break e;
					} else t = "\r\n" + t, i = l += 2;
					u = n, r = u.indexOf(t);
				}
				d.length && (yield d);
			}
		} finally {
			d.length && (yield d), await s.cancel();
		}
	}(e.body, `--${i}`, t);
}
// ../../../node_modules/.pnpm/meros@1.3.2_@types+node@26.6.6/node_modules/meros/node/index.mjs
async function Af(e, t) {
	let n = e.headers["content-type"];
	if (!n || !~n.indexOf("multipart/")) return e;
	let r = n.indexOf("boundary="), i = "-";
	if (~r) {
		let e = r + 9, t = n.indexOf(";", e);
		i = n.slice(e, t > -1 ? t : void 0).trim().replace(/"/g, "");
	}
	return async function* (e, t, n) {
		let r, i, a, o = !n || !n.multiple, s = Buffer.byteLength(t), c = Buffer.alloc(0), l = [];
		e: for await (let n of e) {
			r = c.byteLength, c = Buffer.concat([c, n]);
			let e = n.indexOf(t);
			for (~e ? r += e : r = c.indexOf(t), l = []; ~r;) {
				let e = c.subarray(0, r), n = c.subarray(r + s);
				if (i) {
					let t = e.indexOf("\r\n\r\n") + 4, r = e.lastIndexOf("\r\n", t), i = !1, s = e.subarray(t, r > -1 ? void 0 : r), c = String(e.subarray(0, t)).trim().split("\r\n"), u = {}, d = c.length;
					for (; a = c[--d]; a = a.split(": "), u[a.shift().toLowerCase()] = a.join(": "));
					if (a = u["content-type"], a && ~a.indexOf("application/json")) try {
						s = JSON.parse(String(s)), i = !0;
					} catch {}
					if (a = {
						headers: u,
						body: s,
						json: i
					}, o ? yield a : l.push(a), n[0] === 45 && n[1] === 45) break e;
				} else t = "\r\n" + t, i = s += 2;
				c = n, r = c.indexOf(t);
			}
			l.length && (yield l);
		}
		l.length && (yield l);
	}(e, `--${i}`, t);
}
// ../../../node_modules/.pnpm/@graphql-tools+executor-http@3.6.2_@types+node@26.6.6_graphql@17.1.0/node_modules/@graphql-tools/executor-http/dist/index.js
function jf(e) {
	if (typeof e != "object" || !e) return !1;
	let t = Object.getPrototypeOf(e);
	return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
}
function Mf(e, t, n = "") {
	if (!arguments.length) throw TypeError("Argument 1 `value` is required.");
	if (typeof t != "function") throw TypeError("Argument 2 `isExtractable` must be a function.");
	if (typeof n != "string") throw TypeError("Argument 3 `path` must be a string.");
	let r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
	function a(e, n, o) {
		if (t(e)) {
			let t = i.get(e);
			return t ? t.push(n) : i.set(e, [n]), null;
		}
		let s = Array.isArray(e) || typeof FileList < "u" && e instanceof FileList, c = jf(e);
		if (s || c) {
			let t = r.get(e), i = !t;
			if (i && (t = s ? [] : e instanceof Object ? {} : Object.create(null), r.set(e, t)), !o.has(e)) {
				let r = n ? `${n}.` : "", c = new Set(o).add(e);
				if (s) {
					let n = 0;
					for (let o of e) {
						let e = a(o, r + n++, c);
						i && t.push(e);
					}
				} else for (let n in e) {
					let o = a(e[n], r + n, c);
					i && (t[n] = o);
				}
			}
			return t;
		}
		return e;
	}
	return {
		clone: a(e, n, /* @__PURE__ */ new Set()),
		files: i
	};
}
function Nf(e) {
	return typeof File < "u" && e instanceof File || typeof Blob < "u" && e instanceof Blob;
}
function Pf(e) {
	return typeof e.createReadStream == "function";
}
function Ff(e) {
	let t = [], n = e[Symbol.asyncIterator]();
	function r() {
		return tl(() => n.next(), ({ value: e, done: n }) => (e != null && t.push(e), n ? t : r()));
	}
	return r();
}
function If(e, { File: t = Qd.File, FormData: n = Qd.FormData }) {
	if (!e.variables) return JSON.stringify(e);
	let { clone: r, files: i } = Mf(Object.assign({}, e.variables), ((e) => Nf(e) || e?.promise || Nd(e) || e?.then || typeof e?.arrayBuffer == "function"), "variables");
	if (i.size === 0) return JSON.stringify(e);
	let a = {}, o = [], s = 0;
	for (let [e, t] of i) a[s] = t, o[s] = e, s++;
	let c = new n();
	c.append("operations", JSON.stringify({
		...e,
		variables: r
	})), c.append("map", JSON.stringify(a));
	function l(e, n) {
		let r = n.toString();
		if (e != null) return tl(() => e?.promise || e, (e) => {
			let n = e.filename || e.name || e.path || `blob-${r}`;
			if (Lf(e)) c.append(r, e, n);
			else if (Nd(e)) return tl(() => Ff(e), (e) => {
				let i = new Uint8Array(e);
				c.append(r, new t([i], n), n);
			});
			else if (Pf(e)) return tl(() => Ff(e.createReadStream()), (i) => {
				let a = new Uint8Array(i);
				c.append(r, new t([a], n, { type: e.mimetype }), n);
			});
			else c.append(r, new t([e], n), n);
		});
	}
	let u = [];
	for (let e in o) {
		let t = o[e], n = l(t, Number(e));
		$c(n) && u.push(n);
	}
	return u.length > 0 ? Promise.all(u).then(() => c) : c;
}
function Lf(e) {
	return typeof e.arrayBuffer == "function";
}
function Rf(e, t) {
	return e instanceof r ? e : e?.name === "TimeoutError" ? kl(e.message, {
		extensions: {
			http: {
				status: 504,
				...t?.http || {}
			},
			code: "TIMEOUT_ERROR",
			...t || {}
		},
		originalError: e
	}) : kl(e.message, {
		extensions: t,
		originalError: e
	});
}
function zf(e, t) {
	return { errors: [Rf(e, t)] };
}
function Bf(e) {
	let t = new Qd.TextEncoder().encode(e);
	return tl(() => Qd.crypto.subtle.digest("SHA-256", t), (e) => {
		let t = "";
		for (let n of new Uint8Array(e)) t += n.toString(16).padStart(2, "0");
		return t;
	});
}
var Vf = "\n\n";
function Hf(e) {
	return e && typeof e.getReader == "function";
}
function Uf(e, t, n) {
	let r = e.body;
	if (!Hf(r)) throw Error("Response body is expected to be a readable stream but got; " + yl(r));
	return new Of((e, i) => {
		let a = new Qd.TextDecoder(), o = r.getReader(), s = !1;
		o.closed.then(() => s = !0).catch((e) => s = e), i.then(() => {
			t?.abort(), r.locked && o.cancel().catch(() => {});
		}).catch((e) => {
			o.cancel(e);
		});
		let c = "";
		async function l() {
			if (n?.aborted) return await e(zf(n.reason)), i();
			if (!r?.locked) return i();
			let t, u;
			try {
				let e = await o.read();
				t = e.done, u = e.value;
			} catch (t) {
				if (n?.aborted) return await e(zf(n.reason)), i();
				let r = t instanceof Error ? t : Error(String(t));
				return await e({ errors: [kl(r.message, { originalError: r })] }), i();
			}
			if (t) return i();
			for (c += typeof u == "string" ? u : a.decode(u);;) {
				let t = c.indexOf(Vf);
				if (t === -1) break;
				let n = c.slice(0, t);
				c = c.slice(t + 2);
				let r = n.split("\n").filter((e) => e.startsWith("data:")).map((e) => e.slice(5).trim()).join("\n");
				if (r) {
					let t = JSON.parse(r);
					await e(t.payload || t);
				}
				if (n.split("event:")[1]?.trim().split("\n")[0]?.trim() === "complete") return i();
			}
			return s ? i() : l();
		}
		return l();
	});
}
function Wf(e) {
	return typeof e == "object" && !!e && "pipe" in e;
}
async function Gf(e, t) {
	let n = t?.mergeIncremental !== !1, r = e.body, i = e.headers.get("content-type") || "", a;
	if (Wf(r)) {
		r.headers = { "content-type": i };
		let e = await Af(r);
		"next" in e && (a = e);
	} else {
		let t = await kf(e);
		"next" in t && (a = t);
	}
	if (a == null) return {};
	if (!n) return Hl(a, (e) => e.json ? e.body : {});
	let o = {};
	return Hl(a, (e) => {
		if (e.json) {
			let t = e.body;
			Ld({
				incrementalResult: t,
				executionResult: o
			}), t.hasNext != null && (o.hasNext = t.hasNext);
		}
		return o;
	});
}
var Kf = vu(function(e) {
	return e.operation === "query" && e.directives?.some((e) => e.name.value === "live");
});
function qf({ baseUrl: e = "", body: t }) {
	let n = "https://dummyhostname.com", r = e.startsWith("http") ? e : e?.startsWith("/") ? `${n}${e}` : `${n}/${e}`, i = new URL(r);
	return t.query && i.searchParams.set("query", t.query), t.variables && Object.keys(t.variables).length > 0 && i.searchParams.set("variables", JSON.stringify(t.variables)), t.operationName && i.searchParams.set("operationName", t.operationName), t.extensions && i.searchParams.set("extensions", JSON.stringify(t.extensions)), i.toString().replace(n, "");
}
function Jf(e) {
	let t = e?.print ?? ml, n = /* @__PURE__ */ new WeakSet(), r = /* @__PURE__ */ new WeakMap(), i = /* @__PURE__ */ new Map(), a, o = (o, s) => {
		if (o.context?.request?.cf || (a ||= new AbortController()), a?.signal.aborted) return zf(a.signal.reason);
		let c = o.extensions?.fetch ?? e?.fetch ?? Qd.fetch, l = o.extensions?.method || e?.method, u = Md(o), d = u.operation;
		d === "query" && (e?.useGETForQueries || o.extensions?.useGETForQueries || (e?.useGETForHashedQueries || o.extensions?.useGETForHashedQueries) && s) && (l = "GET");
		let f = "application/graphql-response+json, application/json, multipart/mixed", p;
		d === "subscription" || Kf(u) ? (l ||= "GET", f = "text/event-stream", p = new AbortController()) : l ||= "POST";
		let m;
		o.extensions?.endpoint && (typeof o.extensions.endpoint == "string" && (m = o.extensions.endpoint), typeof o.extensions.endpoint == "function" && (m = o.extensions.endpoint(o))), m || (typeof e?.endpoint == "string" && (m = e.endpoint), typeof e?.endpoint == "function" && (m = e.endpoint(o))), m ||= "/graphql";
		let h = !1, g = { accept: f };
		if (e?.headers && (h = !0, Object.assign(g, typeof e?.headers == "function" ? e.headers(o) : e?.headers)), o.extensions?.headers) {
			h = !0;
			let { headers: e, ...t } = o.extensions;
			Object.assign(g, e), o.extensions = t;
		}
		let _ = [];
		a?.signal && _.push(a.signal);
		let v = o.signal || o.info?.signal;
		if (v) {
			if (v.aborted) return zf(v.reason);
			_.push(v);
		}
		if (e?.timeout) {
			let t = typeof e.timeout == "number" ? e.timeout : e.timeout(o);
			t && _.push(AbortSignal.timeout(t));
		}
		p && _.push(p.signal);
		let y = _.length ? Zd(_) : void 0, b = { request: { method: l } }, x = t(o.document), S = function() {
			return hl({
				executionRequest: o,
				excludeQuery: s,
				printFn: t
			});
		};
		e?.apq && (S = function() {
			return tl(() => Bf(x), (e) => {
				let n = o.extensions || {};
				return n.persistedQuery = {
					version: 1,
					sha256Hash: e
				}, hl({
					executionRequest: {
						...o,
						extensions: n
					},
					excludeQuery: s,
					printFn: t
				});
			});
		});
		function C(e) {
			return b.code = "SUBREQUEST_HTTP_ERROR", e.name === "AggregateError" ? { errors: e.errors.map((e) => Yf(e, {
				signal: y,
				endpoint: m,
				upstreamErrorExtensions: b
			})) } : { errors: [Yf(e, {
				signal: y,
				endpoint: m,
				upstreamErrorExtensions: b
			})] };
		}
		function w(t, a, o) {
			if (e?.deduplicateInflightRequests === !1 || d !== "query") return s();
			function s() {
				let n = tl(() => c(t.url, {
					method: t.method,
					headers: t.headers,
					body: t.body,
					credentials: t.credentials,
					signal: t.signal
				}, a, o), (t) => tl(() => {
					if (b.response ||= {}, b.response.status = t.status, b.response.statusText = t.statusText, e?.exposeHTTPDetailsInExtensions ? b.response.headers = Object.fromEntries(t.headers.entries()) : Object.defineProperty(b.response, "headers", { get() {
						return Object.fromEntries(t.headers.entries());
					} }), e?.retry != null && !t.status.toString().startsWith("2")) throw Error(t.statusText || `Upstream HTTP Error: ${t.status}`);
					let n = t.headers.get("content-type");
					return n?.includes("text/event-stream") ? Uf(t, p, y) : n?.includes("multipart/mixed") ? Gf(t, { mergeIncremental: e?.mergeIncremental }) : t.text();
				}, (e) => {
					if (typeof e == "string") {
						if (b.response ||= {}, b.response.body = e, e) try {
							let t = JSON.parse(e);
							if (b.response.body = t, t.data == null && (t.errors == null || t.errors.length === 0)) {
								let t = `Unexpected empty "data" and "errors" fields in result: ${e}`;
								return b.code = "RESPONSE_VALIDATION_FAILED", { errors: [kl(t, {
									originalError: Error(t),
									extensions: b
								})] };
							}
							return Array.isArray(t.errors) ? {
								...t,
								errors: t.errors.map(({ message: e, ...t }) => kl(e, t))
							} : t;
						} catch (t) {
							return b.code = "RESPONSE_VALIDATION_FAILED", { errors: [kl(`Unexpected response: ${JSON.stringify(e)}`, {
								extensions: b,
								originalError: t
							})] };
						}
						{
							let e = "No response returned";
							return b.code = "RESPONSE_VALIDATION_FAILED", { errors: [kl(e, {
								extensions: b,
								originalError: /* @__PURE__ */ Error(e)
							})] };
						}
					}
					return e;
				}, C), C);
				return e?.exposeHTTPDetailsInExtensions ? tl(() => n, (e) => (b.response?.body && (b.response.body = structuredClone(b.response.body)), e.extensions ||= {}, e.extensions = Object.assign(e.extensions, b), e)) : n;
			}
			if (typeof t.body == "object") return s();
			let l = i;
			if (a != null && e?.deduplicateInflightRequestsPerContext !== !1) {
				if (Object(a) !== a) return s();
				let e = r.get(a);
				e || (e = /* @__PURE__ */ new Map(), r.set(a, e)), l = e;
			}
			let u = `${t.url}|${t.method}`;
			t.body && (u += `|${t.body}`), h && (u += `|${JSON.stringify(t.headers)}`);
			let f = l.get(u);
			return f && n.add(f), f || (f = s(), $c(f) && (l.set(u, f), f.finally(() => {
				l.delete(u);
			}))), tl(() => f, (e) => {
				if (e == null || !e.data || !n.has(f)) return e;
				let t = { ...e };
				return e.data && (t.data = structuredClone(e.data)), t;
			});
		}
		return tl(() => S(), (t) => {
			switch (l) {
				case "GET": {
					(e?.useContentTypeForGETRequests || o.extensions?.useContentTypeForGETRequests) && !g["content-type"] && (g["content-type"] = "application/json");
					let n = qf({
						baseUrl: m,
						body: t
					}), r = {
						url: n,
						method: "GET",
						headers: g,
						signal: y,
						credentials: e?.credentials
					};
					return b.request.url = n, w(r, o.context, o.info);
				}
				case "POST": return b.request.body = t, tl(() => If(t, {
					File: e?.File,
					FormData: e?.FormData
				}), (t) => (typeof t == "string" && !g["content-type"] && (b.request.body = t, g["content-type"] = "application/json"), w({
					url: m,
					method: "POST",
					body: t,
					headers: g,
					credentials: e?.credentials,
					signal: y
				}, o.context, o.info)), C);
			}
		}, C);
	}, s = o;
	if (e?.apq != null && (s = function(e) {
		return tl(() => o(e, !0), (t) => t.errors?.some((e) => e.extensions.code === "PERSISTED_QUERY_NOT_FOUND" || e.message === "PersistedQueryNotFound") ? o(e, !1) : t);
	}), e?.retry != null) {
		let t = s;
		s = function(n) {
			let r, i = 0;
			function o() {
				return a?.signal.aborted ? zf(a.signal.reason) : (i++, i > e.retry ? r ?? { errors: [kl("No response returned from fetch")] } : tl(() => t(n), (e) => (r = e, r?.errors?.length ? o() : r)));
			}
			return o();
		};
	}
	return Object.defineProperties(s, {
		[Bd.dispose]: { get() {
			return function() {
				a?.abort(e?.getDisposeReason?.()), a = void 0;
			};
		} },
		[Bd.asyncDispose]: { get() {
			return function() {
				a?.abort(e?.getDisposeReason?.()), a = void 0;
			};
		} }
	}), s;
}
function Yf(e, { signal: t, endpoint: n, upstreamErrorExtensions: r }) {
	return typeof e == "string" ? kl(e, { extensions: r }) : e.name === "GraphQLError" ? e : e.name === "TypeError" && e.message === "fetch failed" ? kl(`fetch failed to ${n}`, {
		extensions: r,
		originalError: e
	}) : e.name === "AbortError" ? Rf(t?.reason || e, r) : e.message ? kl(e.message, {
		extensions: r,
		originalError: e
	}) : kl("Unknown error", {
		extensions: r,
		originalError: e
	});
}
// ../../../node_modules/.pnpm/@graphql-tools+utils@13.2.2_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/helpers.js
var Xf = /^(https?|wss?|file):\/\//;
function Zf(e) {
	return typeof e != "string" || !Xf.test(e) ? !1 : URL.canParse(e);
}
// ../../../node_modules/.pnpm/@graphql-tools+utils@13.2.2_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/memoize.js
function Qf(e) {
	let t = /* @__PURE__ */ new WeakMap();
	return function(n) {
		let r = t.get(n);
		if (r === void 0) {
			let r = e(n);
			return t.set(n, r), r;
		}
		return r;
	};
}
// ../../../node_modules/.pnpm/@graphql-tools+utils@13.2.2_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/comments.js
var $f = 80, ep = {};
function tp(e) {
	return "\n# " + e.replace(/\n/g, "\n# ");
}
function Z(e, t) {
	return e ? e.filter((e) => e).join(t || "") : "";
}
function np(e) {
	return e?.some((e) => e.includes("\n")) ?? !1;
}
function rp(e) {
	return (t, n, r, i, a) => {
		let o = [], s = i.reduce((e, t) => ([
			"fields",
			"arguments",
			"values"
		].includes(t) && e.name && o.push(e.name.value), e[t]), a[0]), c = [...o, s?.name?.value].filter(Boolean).join("."), l = [];
		return t.kind.includes("Definition") && ep[c] && l.push(...ep[c]), Z([
			...l.map(tp),
			t.description,
			e(t, n, r, i, a)
		], "\n");
	};
}
function ip(e) {
	return e && `  ${e.replace(/\n/g, "\n  ")}`;
}
function ap(e) {
	return e && e.length !== 0 ? `{\n${ip(Z(e, "\n"))}\n}` : "";
}
function op(e, t, n) {
	return t ? e + t + (n || "") : "";
}
function sp(e, t = !1) {
	let n = e.replace(/\\/g, "\\\\").replace(/"""/g, "\\\"\"\"");
	return (e[0] === " " || e[0] === "	") && e.indexOf("\n") === -1 ? `"""${n.replace(/"$/, "\"\n")}"""` : `"""\n${t ? n : ip(n)}\n"""`;
}
var cp = {
	Name: { leave: (e) => e.value },
	Variable: { leave: (e) => "$" + e.name },
	Document: { leave: (e) => Z(e.definitions, "\n\n") },
	OperationDefinition: { leave: (e) => {
		let t = op("(", Z(e.variableDefinitions, ", "), ")");
		return Z([
			e.operation,
			Z([e.name, t]),
			Z(e.directives, " ")
		], " ") + " " + e.selectionSet;
	} },
	VariableDefinition: { leave: ({ variable: e, type: t, defaultValue: n, directives: r }) => e + ": " + t + op(" = ", n) + op(" ", Z(r, " ")) },
	SelectionSet: { leave: ({ selections: e }) => ap(e) },
	Field: { leave({ alias: e, name: t, arguments: n, directives: r, selectionSet: i }) {
		let a = op("", e, ": ") + t, o = a + op("(", Z(n, ", "), ")");
		return o.length > $f && (o = a + op("(\n", ip(Z(n, "\n")), "\n)")), Z([
			o,
			Z(r, " "),
			i
		], " ");
	} },
	Argument: { leave: ({ name: e, value: t }) => e + ": " + t },
	FragmentSpread: { leave: ({ name: e, directives: t }) => "..." + e + op(" ", Z(t, " ")) },
	InlineFragment: { leave: ({ typeCondition: e, directives: t, selectionSet: n }) => Z([
		"...",
		op("on ", e),
		Z(t, " "),
		n
	], " ") },
	FragmentDefinition: { leave: ({ name: e, typeCondition: t, variableDefinitions: n, directives: r, selectionSet: i }) => `fragment ${e}${op("(", Z(n, ", "), ")")} on ${t} ${op("", Z(r, " "), " ")}` + i },
	IntValue: { leave: ({ value: e }) => e },
	FloatValue: { leave: ({ value: e }) => e },
	StringValue: { leave: ({ value: e, block: t }) => t ? sp(e) : JSON.stringify(e) },
	BooleanValue: { leave: ({ value: e }) => e ? "true" : "false" },
	NullValue: { leave: () => "null" },
	EnumValue: { leave: ({ value: e }) => e },
	ListValue: { leave: ({ values: e }) => "[" + Z(e, ", ") + "]" },
	ObjectValue: { leave: ({ fields: e }) => "{" + Z(e, ", ") + "}" },
	ObjectField: { leave: ({ name: e, value: t }) => e + ": " + t },
	Directive: { leave: ({ name: e, arguments: t }) => "@" + e + op("(", Z(t, ", "), ")") },
	NamedType: { leave: ({ name: e }) => e },
	ListType: { leave: ({ type: e }) => "[" + e + "]" },
	NonNullType: { leave: ({ type: e }) => e + "!" },
	SchemaDefinition: { leave: ({ directives: e, operationTypes: t }) => Z([
		"schema",
		Z(e, " "),
		ap(t)
	], " ") },
	OperationTypeDefinition: { leave: ({ operation: e, type: t }) => e + ": " + t },
	ScalarTypeDefinition: { leave: ({ name: e, directives: t }) => Z([
		"scalar",
		e,
		Z(t, " ")
	], " ") },
	ObjectTypeDefinition: { leave: ({ name: e, interfaces: t, directives: n, fields: r }) => Z([
		"type",
		e,
		op("implements ", Z(t, " & ")),
		Z(n, " "),
		ap(r)
	], " ") },
	FieldDefinition: { leave: ({ name: e, arguments: t, type: n, directives: r }) => e + (np(t) ? op("(\n", ip(Z(t, "\n")), "\n)") : op("(", Z(t, ", "), ")")) + ": " + n + op(" ", Z(r, " ")) },
	InputValueDefinition: { leave: ({ name: e, type: t, defaultValue: n, directives: r }) => Z([
		e + ": " + t,
		op("= ", n),
		Z(r, " ")
	], " ") },
	InterfaceTypeDefinition: { leave: ({ name: e, interfaces: t, directives: n, fields: r }) => Z([
		"interface",
		e,
		op("implements ", Z(t, " & ")),
		Z(n, " "),
		ap(r)
	], " ") },
	UnionTypeDefinition: { leave: ({ name: e, directives: t, types: n }) => Z([
		"union",
		e,
		Z(t, " "),
		op("= ", Z(n, " | "))
	], " ") },
	EnumTypeDefinition: { leave: ({ name: e, directives: t, values: n }) => Z([
		"enum",
		e,
		Z(t, " "),
		ap(n)
	], " ") },
	EnumValueDefinition: { leave: ({ name: e, directives: t }) => Z([e, Z(t, " ")], " ") },
	InputObjectTypeDefinition: { leave: ({ name: e, directives: t, fields: n }) => Z([
		"input",
		e,
		Z(t, " "),
		ap(n)
	], " ") },
	DirectiveDefinition: { leave: ({ name: e, arguments: t, repeatable: n, locations: r }) => "directive @" + e + (np(t) ? op("(\n", ip(Z(t, "\n")), "\n)") : op("(", Z(t, ", "), ")")) + (n ? " repeatable" : "") + " on " + Z(r, " | ") },
	SchemaExtension: { leave: ({ directives: e, operationTypes: t }) => Z([
		"extend schema",
		Z(e, " "),
		ap(t)
	], " ") },
	ScalarTypeExtension: { leave: ({ name: e, directives: t }) => Z([
		"extend scalar",
		e,
		Z(t, " ")
	], " ") },
	ObjectTypeExtension: { leave: ({ name: e, interfaces: t, directives: n, fields: r }) => Z([
		"extend type",
		e,
		op("implements ", Z(t, " & ")),
		Z(n, " "),
		ap(r)
	], " ") },
	InterfaceTypeExtension: { leave: ({ name: e, interfaces: t, directives: n, fields: r }) => Z([
		"extend interface",
		e,
		op("implements ", Z(t, " & ")),
		Z(n, " "),
		ap(r)
	], " ") },
	UnionTypeExtension: { leave: ({ name: e, directives: t, types: n }) => Z([
		"extend union",
		e,
		Z(t, " "),
		op("= ", Z(n, " | "))
	], " ") },
	EnumTypeExtension: { leave: ({ name: e, directives: t, values: n }) => Z([
		"extend enum",
		e,
		Z(t, " "),
		ap(n)
	], " ") },
	InputObjectTypeExtension: { leave: ({ name: e, directives: t, fields: n }) => Z([
		"extend input",
		e,
		Z(t, " "),
		ap(n)
	], " ") }
};
Object.keys(cp).reduce((e, t) => ({
	...e,
	[t]: { leave: rp(cp[t].leave) }
}), {});
function lp(e) {
	let t = e.loc;
	if (!t) return;
	let n = [], r = t.startToken.prev;
	for (; r != null && r.kind === u.COMMENT && r.next != null && r.prev != null && r.line + 1 === r.next.line && r.line !== r.prev.line;) {
		let e = String(r.value);
		n.push(e), r = r.prev;
	}
	return n.length > 0 ? n.reverse().join("\n") : void 0;
}
function up(e) {
	let t = e.split(/\r\n|[\n\r]/g), n = dp(t);
	if (n !== 0) for (let e = 1; e < t.length; e++) t[e] = t[e].slice(n);
	for (; t.length > 0 && pp(t[0]);) t.shift();
	for (; t.length > 0 && pp(t[t.length - 1]);) t.pop();
	return t.join("\n");
}
function dp(e) {
	let t = null;
	for (let n = 1; n < e.length; n++) {
		let r = e[n], i = fp(r);
		if (i !== r.length && (t === null || i < t) && (t = i, t === 0)) break;
	}
	return t === null ? 0 : t;
}
function fp(e) {
	let t = 0;
	for (; t < e.length && (e[t] === " " || e[t] === "	");) t++;
	return t;
}
function pp(e) {
	return fp(e) === e.length;
}
// ../../../node_modules/.pnpm/@graphql-tools+utils@13.2.2_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/parse-graphql-sdl.js
function mp(e, t, n = {}) {
	let r;
	try {
		n.commentDescriptions && t.includes("#") ? (r = hp(t, n), n.noLocation && (r = Lt(x(r), n))) : r = Lt(new s(t, e), n);
	} catch (e) {
		if (e.message.includes("EOF") && t.replace(/(\#[^*]*)/g, "").trim() === "") r = {
			kind: be,
			definitions: []
		};
		else throw e;
	}
	return {
		location: e,
		document: r
	};
}
function hp(e, t = {}) {
	let n = Lt(e, {
		...t,
		noLocation: !1
	});
	return je(n, { leave: (e) => {
		if (gp(e)) {
			let t = lp(e);
			if (t !== void 0) {
				let n = up("\n" + t), r = n.includes("\n");
				return e.description ? {
					...e,
					description: {
						...e.description,
						value: e.description.value + "\n" + n,
						block: !0
					}
				} : {
					...e,
					description: {
						kind: c,
						value: n,
						block: r
					}
				};
			}
		}
	} });
}
function gp(e) {
	return We(e) || e.kind === "FieldDefinition" || e.kind === "InputValueDefinition" || e.kind === "EnumValueDefinition";
}
// ../../../node_modules/.pnpm/@graphql-tools+utils@13.2.2_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/observableToAsyncIterable.js
function _p(e) {
	let t = [], n = [], r = !0, i = {}, a = () => {
		if (r) {
			r = !1, i.current?.unsubscribe();
			for (let e of t) e({
				value: void 0,
				done: !0
			});
			t.length = 0, n.length = 0;
		}
	}, o = (e) => {
		t.length === 0 ? n.push({
			value: e,
			done: !1
		}) : t.shift()({
			value: e,
			done: !1
		});
	}, s = (e) => {
		t.length === 0 ? n.push({
			value: { errors: [e] },
			done: !1
		}) : t.shift()({
			value: { errors: [e] },
			done: !1
		});
	}, c = () => {
		t.length === 0 ? n.push({
			value: void 0,
			done: !0
		}) : (t.shift()({
			value: void 0,
			done: !0
		}), a());
	}, l = () => new Promise((e) => {
		if (n.length !== 0) {
			let t = n.shift();
			t.done && a(), e(t);
		} else t.push(e);
	});
	return i.current = e.subscribe({
		next(e) {
			return o(e);
		},
		error(e) {
			return s(e);
		},
		complete() {
			return c();
		}
	}), r || i.current.unsubscribe(), {
		next() {
			return r ? l() : this.return();
		},
		return() {
			return a(), zl({
				value: void 0,
				done: !0
			});
		},
		throw(e) {
			return a(), Vl(e);
		},
		[Symbol.asyncIterator]() {
			return this;
		}
	};
}
// ../../../node_modules/.pnpm/@graphql-tools+utils@13.2.2_graphql@17.1.0/node_modules/@graphql-tools/utils/esm/getOperationASTFromRequest.js
function vp(e, t) {
	let n = ci(e, t);
	if (!n) throw Error(`Cannot infer operation ${t || ""}`);
	return n;
}
var yp = Qf(function(e) {
	return vp(e.document, e.operationName);
}), bp;
(function(e) {
	e.CONNECTION_INIT = "connection_init", e.CONNECTION_ACK = "connection_ack", e.CONNECTION_ERROR = "connection_error", e.CONNECTION_KEEP_ALIVE = "ka", e.START = "start", e.STOP = "stop", e.CONNECTION_TERMINATE = "connection_terminate", e.DATA = "data", e.ERROR = "error", e.COMPLETE = "complete";
})(bp ||= {});
function xp(e) {
	return typeof e == "object" && !!e && !Array.isArray(e);
}
function Sp(e, t, n) {
	let r = /* @__PURE__ */ new Set(), i = 0;
	function a() {
		let e = n?.connectionParams;
		if (typeof e == "function") {
			let t = e();
			return xp(t) ? { ...t } : {};
		}
		return xp(e) ? { ...e } : {};
	}
	function o(e) {
		let t = e.extensions?.connectionParams;
		return xp(t) ? { ...t } : {};
	}
	let s = function(s) {
		let c = {
			...a(),
			...o(s)
		};
		i += 1;
		let l = `${i.toString(36)}-${Math.random().toString(36).slice(2)}`;
		return _p({ subscribe(i) {
			let a = !1, o = new t(e, "graphql-ws", {
				followRedirects: !0,
				headers: n?.headers,
				rejectUnauthorized: n?.rejectUnauthorized ?? !0,
				skipUTF8Validation: !0
			});
			function u(e) {
				a || (a = !0, r.delete(f), o.readyState === Zc.OPEN && (e && o.send(JSON.stringify({
					type: bp.STOP,
					id: l
				})), o.send(JSON.stringify({ type: bp.CONNECTION_TERMINATE }))), o.terminate());
			}
			function d(e) {
				a || (u(!1), i.error(e), i.complete());
			}
			function f() {
				a || (u(!1), i.complete());
			}
			return r.add(f), o.onopen = () => {
				a || o.send(JSON.stringify({
					type: bp.CONNECTION_INIT,
					payload: c
				}), (e) => {
					e && d(e);
				});
			}, o.onerror = (e) => {
				d(e.error);
			}, o.onclose = () => {
				a || (a = !0, r.delete(f), i.complete());
			}, o.onmessage = (e) => {
				if (a) return;
				let t;
				try {
					t = JSON.parse(e.data.toString("utf-8"));
				} catch (e) {
					d(e);
					return;
				}
				switch (t.type) {
					case bp.CONNECTION_ACK:
						o.send(JSON.stringify({
							type: bp.START,
							id: l,
							payload: {
								query: x(s.document),
								variables: s.variables,
								operationName: s.operationName
							}
						}), (e) => {
							e && d(e);
						});
						break;
					case bp.CONNECTION_ERROR:
						d(t.payload);
						break;
					case bp.CONNECTION_KEEP_ALIVE: break;
					case bp.DATA:
						if (t.id !== l) break;
						i.next(t.payload);
						break;
					case bp.ERROR:
						if (t.id !== l) break;
						d(t.payload);
						break;
					case bp.COMPLETE:
						if (t.id !== l) break;
						u(!1), i.complete();
				}
			}, { unsubscribe: () => {
				u(!0);
			} };
		} });
	};
	return s[Symbol.dispose] = () => {
		for (let e of [...r]) e();
	}, s;
}
// ../../../node_modules/.pnpm/@whatwg-node+disposablestack@0.1.0/node_modules/@whatwg-node/disposablestack/esm/symbols.js
var Cp = {
	get dispose() {
		return Symbol.dispose || Symbol.for("dispose");
	},
	get asyncDispose() {
		return Symbol.asyncDispose || Symbol.for("asyncDispose");
	}
};
// ../../../node_modules/.pnpm/@graphql-tools+executor@2.0.3_graphql@17.1.0/node_modules/@graphql-tools/executor/esm/execution/coerceError.js
function wp(e) {
	if (e instanceof Error) return e;
	if (typeof e == "object" && e && "message" in e && typeof e.message == "string") {
		let t;
		"cause" in e && (t = { cause: e.cause });
		let n = Error(e.message, t);
		return "stack" in e && typeof e.stack == "string" && (n.stack = e.stack), "name" in e && typeof e.name == "string" && (n.name = e.name), n;
	}
	return Error(String(e));
}
// ../../../node_modules/.pnpm/@graphql-tools+executor@2.0.3_graphql@17.1.0/node_modules/@graphql-tools/executor/esm/execution/flattenAsyncIterable.js
function Tp(e) {
	let t = e[Symbol.asyncIterator](), n, r, i = !1;
	async function a() {
		if (i) return {
			value: void 0,
			done: !0
		};
		try {
			if (!n) {
				if (r) return await r, await a();
				let e;
				r = new Promise((t) => {
					e = t;
				});
				let o = await t.next();
				return o.done ? (i = !0, await a()) : (n = o.value[Symbol.asyncIterator](), r = void 0, e(), await a());
			}
			let e = n, o = await n.next();
			return o.done ? (n === e && (n = void 0), await a()) : o;
		} catch (e) {
			throw i = !0, e;
		}
	}
	return {
		next: a,
		async return() {
			return i = !0, await Promise.all([n?.return?.(), t.return?.()]), {
				value: void 0,
				done: !0
			};
		},
		async throw(e) {
			/* c8 ignore next */
			throw i = !0, await Promise.all([n?.throw?.(e), t.throw?.(e)]), e;
		},
		[Symbol.asyncIterator]() {
			return this;
		},
		async [Cp.asyncDispose]() {
			i = !0, await Promise.all([n?.[Cp.asyncDispose]?.(), t?.[Cp.asyncDispose]?.()]);
		}
	};
}
// ../../../node_modules/.pnpm/@graphql-tools+executor@2.0.3_graphql@17.1.0/node_modules/@graphql-tools/executor/esm/execution/invariant.js
function Ep(e, t) {
	if (!e) throw Error(t ?? "Unexpected invariant triggered.");
}
// ../../../node_modules/.pnpm/@graphql-tools+executor@2.0.3_graphql@17.1.0/node_modules/@graphql-tools/executor/esm/execution/promiseForObject.js
function Dp(e, t, n) {
	t?.throwIfAborted();
	let r = Object.create(null), i = [];
	for (let t in e) {
		let n = Fl(() => e[t], (e) => {
			r[t] = e;
		});
		Nl(n) && i.push(n);
	}
	if (!i.length) return r;
	let a = i.length === 1 ? i[0] : Promise.all(i);
	return n ? Promise.race([n, a]).then(() => r) : a.then(() => r);
}
// ../../../node_modules/.pnpm/@graphql-tools+executor@2.0.3_graphql@17.1.0/node_modules/@graphql-tools/executor/esm/execution/formatList.js
function Op(e) {
	return kp("or", e);
}
function kp(e, t) {
	switch (t.length) {
		case 1: return t[0];
		case 2: return t[0] + " " + e + " " + t[1];
	}
	let n = t.slice(0, -1), r = t.at(-1);
	return n.join(", ") + ", " + e + " " + r;
}
// ../../../node_modules/.pnpm/@graphql-tools+executor@2.0.3_graphql@17.1.0/node_modules/@graphql-tools/executor/esm/execution/didYouMean.js
var Ap = 5;
function jp(e, t) {
	let [n, r] = t ? [e, t] : [void 0, e];
	if (r.length === 0) return "";
	let i = " Did you mean ";
	n != null && (i += n + " ");
	let a = Op(r.slice(0, Ap).map((e) => `"${e}"`));
	return i + a + "?";
}
// ../../../node_modules/.pnpm/@graphql-tools+executor@2.0.3_graphql@17.1.0/node_modules/@graphql-tools/executor/esm/execution/naturalCompare.js
function Mp(e, t) {
	let n = 0, r = 0;
	for (; n < e.length && r < t.length;) {
		let i = e.charCodeAt(n), a = t.charCodeAt(r);
		if (Fp(i) && Fp(a)) {
			let o = 0;
			do
				++n, o = o * 10 + i - Np, i = e.charCodeAt(n);
			while (Fp(i) && o > 0);
			let s = 0;
			do
				++r, s = s * 10 + a - Np, a = t.charCodeAt(r);
			while (Fp(a) && s > 0);
			if (o < s) return -1;
			if (o > s) return 1;
		} else {
			if (i < a) return -1;
			if (i > a) return 1;
			++n, ++r;
		}
	}
	return e.length - t.length;
}
var Np = 48, Pp = 57;
function Fp(e) {
	return !isNaN(e) && Np <= e && e <= Pp;
}
// ../../../node_modules/.pnpm/@graphql-tools+executor@2.0.3_graphql@17.1.0/node_modules/@graphql-tools/executor/esm/execution/suggestionList.js
function Ip(e, t) {
	let n = Object.create(null), r = new Lp(e), i = Math.floor(e.length * .4) + 1;
	for (let e of t) {
		let t = r.measure(e, i);
		t !== void 0 && (n[e] = t);
	}
	return Object.keys(n).sort((e, t) => {
		let r = n[e] - n[t];
		return r === 0 ? Mp(e, t) : r;
	});
}
var Lp = class {
	_input;
	_inputLowerCase;
	_inputArray;
	_rows;
	constructor(e) {
		this._input = e, this._inputLowerCase = e.toLowerCase(), this._inputArray = Rp(this._inputLowerCase), this._rows = [
			Array(e.length + 1).fill(0),
			Array(e.length + 1).fill(0),
			Array(e.length + 1).fill(0)
		];
	}
	measure(e, t) {
		if (this._input === e) return 0;
		let n = e.toLowerCase();
		if (this._inputLowerCase === n) return 1;
		let r = Rp(n), i = this._inputArray;
		if (r.length < i.length) {
			let e = r;
			r = i, i = e;
		}
		let a = r.length, o = i.length;
		if (a - o > t) return;
		let s = this._rows;
		for (let e = 0; e <= o; e++) s[0][e] = e;
		for (let e = 1; e <= a; e++) {
			let n = s[(e - 1) % 3], a = s[e % 3], c = a[0] = e;
			for (let t = 1; t <= o; t++) {
				let o = r[e - 1] === i[t - 1] ? 0 : 1, l = Math.min(n[t] + 1, a[t - 1] + 1, n[t - 1] + o);
				if (e > 1 && t > 1 && r[e - 1] === i[t - 2] && r[e - 2] === i[t - 1]) {
					let n = s[(e - 2) % 3][t - 2];
					l = Math.min(l, n + 1);
				}
				l < c && (c = l), a[t] = l;
			}
			if (c > t) return;
		}
		let c = s[a % 3][o];
		return c <= t ? c : void 0;
	}
};
function Rp(e) {
	let t = e.length, n = Array(t);
	for (let r = 0; r < t; ++r) n[r] = e.charCodeAt(r);
	return n;
}
// ../../../node_modules/.pnpm/@graphql-tools+executor@2.0.3_graphql@17.1.0/node_modules/@graphql-tools/executor/esm/execution/validateInputValue.js
function zp(e, t, n, r) {
	return Bp(e, t, n, r, void 0);
}
function Bp(e, t, n, i, a) {
	if (oe(t)) {
		if (e === void 0) {
			Vp(n, `Expected a value of non-null type "${t}" to be provided.`, a, e);
			return;
		}
		if (e === null) {
			Vp(n, `Expected value of non-null type "${t}" not to be null.`, a, e);
			return;
		}
		return Bp(e, t.ofType, n, i, a);
	}
	if (e != null) {
		if (j(t)) {
			if (!Jl(e)) Bp(e, t.ofType, n, i, a);
			else {
				let r = 0;
				for (let o of e) Bp(o, t.ofType, n, i, Pd(a, r++, void 0));
			}
		} else if (re(t)) {
			if (!Yl(e) || Array.isArray(e)) {
				Vp(n, `Expected value of type "${t}" to be an object, found: ${yl(e)}.`, a, e);
				return;
			}
			let r = t.getFields();
			for (let o of Object.values(r)) {
				let r = e[o.name];
				r === void 0 ? le(o) && Vp(n, `Expected value of type "${t}" to include required field "${o.name}", found: ${yl(e)}.`, a, e) : Bp(r, o.type, n, i, Pd(a, o.name, t.name));
			}
			let o = [];
			for (let s of Object.keys(e)) if (e[s] !== void 0) {
				if (Object.hasOwn(r, s)) o.push(s);
				else {
					let o = i ? "" : jp(Ip(s, Object.keys(r)));
					Vp(n, `Expected value of type "${t}" not to include unknown field "${s}"${o ? `.${o} Found` : ", found"}: ${yl(e)}.`, a, e);
				}
			}
			if (t.isOneOf) {
				if (o.length !== 1) {
					Vp(n, Up(t), a, e);
					return;
				}
				let r = o[0];
				e[r] === null && Vp(n, Up(t), Pd(a, r, t.name), e);
			}
		} else {
			Ne(t);
			let i, o;
			try {
				i = t[ii.major >= 17 ? "coerceInputValue" : "parseValue"](e);
			} catch (t) {
				if (t instanceof r) {
					n(Fd(a), e, t);
					return;
				}
				o = t;
			}
			i === void 0 && Vp(n, `Expected value of type "${t}"${o == null ? ", found" : `, but encountered error "${Hp(o)}"; found`}: ${yl(e)}.`, a, e, o);
		}
	}
}
function Vp(e, t, n, r, i) {
	e(Fd(n), r, kl(t, { originalError: i }));
}
function Hp(e) {
	if (Yl(e)) {
		let t = e.message;
		if (typeof t == "string" && t !== "") return t;
	}
	return String(e);
}
function Up(e) {
	return `Within OneOf Input Object type "${e}", exactly one field must be specified, and the value for that field must be non-null.`;
}
// ../../../node_modules/.pnpm/@graphql-tools+executor@2.0.3_graphql@17.1.0/node_modules/@graphql-tools/executor/esm/execution/values.js
function Wp(e, t, n, r) {
	let i = [], a = r?.maxErrors;
	try {
		let r = Gp(e, t, n, (e) => {
			if (a != null && i.length >= a) throw kl("Too many errors processing variables, error limit reached. Execution aborted.");
			i.push(e);
		});
		if (i.length === 0) return { variableValues: r };
	} catch (e) {
		i.push(e);
	}
	return { errors: i };
}
function Gp(e, t, n, r) {
	let i = {}, a = {};
	for (let o of t) {
		let t = o.variable.name.value, s = Bt(e, o.type);
		if (!it(s)) {
			r(kl(`Variable "$${t}" expected value of type "${x(o.type)}" which cannot be used as an input type.`, { nodes: o.type }));
			continue;
		}
		let c = {
			name: t,
			type: s,
			default: o.defaultValue == null ? void 0 : { literal: o.defaultValue }
		};
		if (!Zl(n, t)) {
			a[t] = { signature: c }, o.defaultValue ? i[t] = ca(o.defaultValue, s) : oe(s) && r(kl(`Variable "$${t}" of required type "${yl(s)}" was not provided.`, { nodes: o }));
			continue;
		}
		let l = n[t];
		if (a[t] = {
			signature: c,
			value: l
		}, l === null && oe(s)) {
			r(kl(`Variable "$${t}" of non-null type "${yl(s)}" must not be null.`, { nodes: o }));
			continue;
		}
		let u = !1, d = (e, n, i) => {
			u = !0;
			let a = `Variable "$${t}" got invalid value ` + yl(n);
			e.length > 0 && (a += ` at "${t}${Id(e)}"`), r(kl(a + "; " + i.message, {
				nodes: o,
				originalError: i
			}));
		};
		i[t] = qe(l, s, d), i[t] === void 0 && !u && zp(l, s, d);
	}
	return {
		coerced: i,
		sources: a
	};
}
// ../../../node_modules/.pnpm/@graphql-tools+executor@2.0.3_graphql@17.1.0/node_modules/@graphql-tools/executor/esm/execution/execute.js
var Kp = bu((e, t, n) => Ad(e.schema, e.fragments, e.variableValues, t, n));
function qp(e) {
	let t = Zp(e);
	return "schema" in t ? Jp(t) : { errors: t.map((e) => (Object.defineProperty(e, "extensions", { value: {
		...e.extensions,
		http: {
			...e.extensions?.http || {},
			status: 400
		}
	} }), e)) };
}
function Jp(e) {
	return e.signal?.throwIfAborted(), Fl(() => $p(e), (t) => {
		let n = Yp(t, e.errors);
		return e.subsequentPayloads.size > 0 ? {
			initialResult: {
				...n,
				hasNext: !0
			},
			subsequentResults: Pm(e)
		} : n;
	}, (t) => (e.signal?.throwIfAborted(), t.errors ? e.errors.push(...t.errors) : e.errors.push(t), Yp(null, e.errors)));
}
function Yp(e, t) {
	return t.length === 0 ? { data: e } : {
		errors: t,
		data: e
	};
}
var Xp = vu(function(e) {
	let t = Object.create(null);
	for (let n of e.definitions) n.kind === "FragmentDefinition" && (t[n.name.value] = n);
	return t;
});
function Zp(e) {
	let { schema: t, document: n, rootValue: r, contextValue: i, variableValues: a, operationName: o, fieldResolver: s, typeResolver: c, subscribeFieldResolver: l, signal: u, schemaCoordinateInErrors: d } = e;
	u?.throwIfAborted(), ie(t);
	let f = Xp(n), p;
	for (let e of n.definitions) switch (e.kind) {
		case Rt: if (o == null) {
			if (p !== void 0) return [kl("Must provide operation name if query contains multiple operations.", { extensions: { code: "OPERATION_RESOLUTION_FAILURE" } })];
			p = e;
		} else e.name?.value === o && (p = e);
	}
	if (p == null) return o == null ? [kl("Must provide an operation.", { extensions: { code: "OPERATION_RESOLUTION_FAILURE" } })] : [kl(`Unknown operation named "${o}".`, { extensions: { code: "OPERATION_RESOLUTION_FAILURE" } })];
	let m = Wp(t, p.variableDefinitions ?? [], a ?? {}, { maxErrors: 50 });
	if (m.errors) return m.errors;
	u?.throwIfAborted();
	let h, g;
	if (u) {
		let e = /* @__PURE__ */ new Set(), t = Bl();
		g = t.promise;
		let n = () => {
			t.reject(u.reason), u.removeEventListener("abort", n);
		};
		u.addEventListener("abort", n, { once: !0 }), g.catch(() => {
			for (let t of e) t();
			e.clear();
		}), h = (t) => {
			e.add(t);
		};
	}
	return {
		schema: t,
		fragments: f,
		rootValue: r,
		contextValue: i,
		operation: p,
		variableValues: m.variableValues,
		fieldResolver: s ?? vm,
		typeResolver: c ?? _m,
		subscribeFieldResolver: l ?? vm,
		subsequentPayloads: /* @__PURE__ */ new Set(),
		errors: [],
		signal: u,
		onSignalAbort: h,
		signalPromise: g,
		schemaCoordinateInErrors: d
	};
}
function Qp(e, t) {
	return {
		...e,
		rootValue: t,
		subsequentPayloads: /* @__PURE__ */ new Set(),
		errors: []
	};
}
function $p(e) {
	let { operation: t, schema: n, fragments: r, variableValues: i, rootValue: a } = e, o = Nu(n, t.operation, [t]);
	o ?? kl(`Schema is not configured to execute ${t.operation} operation.`, { nodes: t });
	let { fields: s, patches: c } = Td(n, r, i, o, t.selectionSet), l;
	l = t.operation === "mutation" ? em(e, o, a, void 0, s) : tm(e, o, a, void 0, s);
	for (let t of c) {
		let { label: n, fields: r } = t;
		Om(e, o, a, r, n, void 0);
	}
	return l;
}
function em(e, t, n, r, i) {
	return Xl(i, (i, [a, o]) => {
		let s = Pd(r, a, t.name);
		return e.signal?.throwIfAborted(), Fl(() => nm(e, t, n, o, s), (e) => (e === void 0 || (i[a] = e), i));
	}, Object.create(null));
}
function tm(e, t, n, r, i, a) {
	let o = Object.create(null), s = !1;
	try {
		for (let [c, l] of i) {
			e.signal?.throwIfAborted();
			let i = nm(e, t, n, l, Pd(r, c, t.name), a);
			i !== void 0 && (o[c] = i, Nl(i) && (s = !0));
		}
	} catch (t) {
		if (t !== e.signal?.reason && s) return Fl(() => Dp(o, e.signal), () => {
			throw t;
		}, () => {
			throw t;
		});
		throw t;
	}
	return s ? Dp(o, e.signal, e.signalPromise) : o;
}
function nm(e, t, n, r, i, a) {
	let o = a?.errors ?? e.errors, s = Rm(e.schema, t, r[0]);
	if (!s) return;
	let c = s.type, l = s.resolve ?? e.fieldResolver, u = rm(e, s, r, t, i);
	try {
		e.signal?.throwIfAborted();
		let t = hu(s, r[0], e.variableValues.coerced), d = e.contextValue, f = l(n, t, d, u), p;
		return p = Nl(f) ? f.then((t) => om(e, c, r, u, i, t, a)) : om(e, c, r, u, i, f, a), Nl(p) ? p.then(void 0, (t) => {
			if (t instanceof AggregateError) {
				let n;
				for (let s of t.errors) s = wp(s), n = am(Al(s, r, Fd(i), e.schemaCoordinateInErrors && u), c, o), Mm(e, i, a);
				return n;
			}
			t = wp(t);
			let n = am(Al(t, r, Fd(i), e.schemaCoordinateInErrors && u), c, o);
			return Mm(e, i, a), n;
		}) : p;
	} catch (t) {
		if (t instanceof AggregateError) {
			let n;
			for (let s of t.errors) s = wp(s), n = am(Al(s, r, Fd(i), e.schemaCoordinateInErrors && u), c, o), Mm(e, i, a);
			return n;
		}
		let n = am(Al(wp(t), r, Fd(i), e.schemaCoordinateInErrors && u), c, o);
		return Mm(e, i, a), n;
	}
}
function rm(e, t, n, r, i) {
	let a, o = ii.major >= 17 ? e.variableValues : e.variableValues.coerced;
	return {
		fieldName: t.name,
		fieldNodes: n,
		returnType: t.type,
		parentType: r,
		path: i,
		schema: e.schema,
		fragments: e.fragments,
		rootValue: e.rootValue,
		operation: e.operation,
		variableValues: o,
		signal: e.signal,
		getAbortSignal: () => e.signal,
		getAsyncHelpers: () => a ??= {
			promiseAll: Promise.all.bind(Promise),
			track: (t) => {
				let n = e.contextValue?.waitUntil;
				if (typeof n == "function") for (let e of t) Nl(e) && n(e);
			}
		}
	};
}
var im = "CRITICAL_ERROR";
function am(e, t, n) {
	if (oe(t) || e.extensions?.CRITICAL_ERROR) throw e;
	return n.push(e), null;
}
function om(e, t, n, r, i, a, o) {
	if (a instanceof Error) throw a;
	if (oe(t)) {
		let s = om(e, t.ofType, n, r, i, a, o);
		if (s === null) throw Error(`Cannot return null for non-nullable field ${r.parentType.name}.${r.fieldName}.`);
		return s;
	}
	if (a == null) return null;
	if (j(t)) return lm(e, t, n, r, i, a, o);
	if (tt(t)) return dm(t, a);
	if (he(t)) return fm(e, t, n, r, i, a, o);
	if (C(t)) return mm(e, t, n, r, i, a, o);
	/* c8 ignore next 6 */
	console.assert(!1, "Cannot complete value of unexpected output type: " + yl(t));
}
function sm(e, t, n) {
	if (typeof n.key == "number") return;
	let r = Cd(Sd, t[0], e.variableValues);
	if (r && r.if !== !1) return Ep(typeof r.initialCount == "number", "initialCount must be a number"), Ep(r.initialCount >= 0, "initialCount must be a positive integer"), {
		initialCount: r.initialCount,
		label: typeof r.label == "string" ? r.label : void 0
	};
}
async function cm(e, t, n, r, i, a, o) {
	e.signal?.throwIfAborted(), a.return && e.onSignalAbort?.(() => {
		a.return?.();
	});
	let s = o?.errors ?? e.errors, c = sm(e, n, i), l = !1, u = [], d = 0;
	for (;;) {
		if (c && typeof c.initialCount == "number" && d >= c.initialCount) {
			jm(d, a, e, n, r, t, i, c.label, o);
			break;
		}
		let f = Pd(i, d, void 0), p;
		try {
			if (p = await a.next(), p.done) break;
		} catch (i) {
			let a = Al(wp(i), n, Fd(f), e.schemaCoordinateInErrors && r);
			u.push(am(a, t, s));
			break;
		}
		um(p.value, u, s, e, t, n, r, f, o) && (l = !0), d += 1;
	}
	return l ? Promise.all(u) : u;
}
function lm(e, t, n, r, i, a, o) {
	let s = t.ofType, c = o?.errors ?? e.errors;
	if (Nd(a)) return cm(e, s, n, r, i, a[Symbol.asyncIterator](), o);
	if (!Jl(a)) throw kl(`Expected Iterable, but did not find one for field "${r.parentType.name}.${r.fieldName}".`);
	let l = sm(e, n, i), u = !1, d = o, f = [], p = 0;
	for (let t of a) {
		let a = Pd(i, p, void 0);
		l && typeof l.initialCount == "number" && p >= l.initialCount ? (d = km(i, a, t, e, n, r, s, l.label, d), p++) : (um(t, f, c, e, s, n, r, a, o) && (u = !0), p++);
	}
	return u ? Promise.all(f) : f;
}
function um(e, t, n, r, i, a, o, s, c) {
	try {
		let l;
		if (l = Nl(e) ? e.then((e) => om(r, i, a, o, s, e, c)) : om(r, i, a, o, s, e, c), Nl(l)) return t.push(l.then(void 0, (e) => {
			e = wp(e);
			let t = am(Al(e, a, Fd(s), r.schemaCoordinateInErrors && o), i, n);
			return Mm(r, s, c), t;
		})), !0;
		t.push(l);
	} catch (e) {
		let l = am(Al(wp(e), a, Fd(s), r.schemaCoordinateInErrors && o), i, n);
		Mm(r, s, c), t.push(l);
	}
	return !1;
}
function dm(e, t) {
	let n;
	try {
		n = e.serialize(t);
	} catch (e) {
		throw e instanceof r ? Error(e.message) : e;
	}
	if (n == null) throw Error(`Expected \`${yl(e)}.serialize(${yl(t)})\` to return non-nullable value, returned: ${yl(n)}`);
	return n;
}
function fm(e, t, n, r, i, a, o) {
	let s = t.resolveType ?? e.typeResolver, c = e.contextValue, l = s(a, c, r, t);
	return Nl(l) ? l.then((s) => mm(e, pm(s, e, t, n, r, a), n, r, i, a, o)) : mm(e, pm(l, e, t, n, r, a), n, r, i, a, o);
}
function pm(e, t, n, r, i, a) {
	if (e == null) throw kl(`Abstract type "${n.name}" must resolve to an Object type at runtime for field "${i.parentType.name}.${i.fieldName}". Either the "${n.name}" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.`, { nodes: r });
	if (C(e)) {
		if (ii.major >= 16) throw kl("Support for returning GraphQLObjectType from resolveType was removed in graphql-js@16.0.0 please return type name instead.");
		e = e.name;
	}
	if (typeof e != "string") throw kl(`Abstract type "${n.name}" must resolve to an Object type at runtime for field "${i.parentType.name}.${i.fieldName}" with value ${yl(a)}, received "${yl(e)}".`);
	let o = t.schema.getType(e);
	if (o == null) throw kl(`Abstract type "${n.name}" was resolved to a type "${e}" that does not exist inside the schema.`, { nodes: r });
	if (!C(o)) throw kl(`Abstract type "${n.name}" was resolved to a non-object type "${e}".`, { nodes: r });
	if (!t.schema.isSubType(n, o)) throw kl(`Runtime Object type "${o.name}" is not a possible type for "${n.name}".`, { nodes: r });
	return o;
}
function mm(e, t, n, r, i, a, o) {
	if (t.isTypeOf) {
		let s = t.isTypeOf(a, e.contextValue, r);
		if (Nl(s)) return s.then((r) => {
			if (!r) throw hm(t, a, n);
			return gm(e, t, n, i, a, o);
		});
		if (!s) throw hm(t, a, n);
	}
	return gm(e, t, n, i, a, o);
}
function hm(e, t, n) {
	return kl(`Expected value of type "${e.name}" but got: ${yl(t)}.`, { nodes: n });
}
function gm(e, t, n, r, i, a) {
	let { fields: o, patches: s } = Kp(e, t, n), c = tm(e, t, i, r, o, a);
	for (let n of s) {
		let { label: o, fields: s } = n;
		Om(e, t, i, s, o, r, a);
	}
	return c;
}
var _m = function(e, t, n, r) {
	if (Yl(e) && typeof e.__typename == "string") return e.__typename;
	let i = n.schema.getPossibleTypes(r), a = [];
	for (let r = 0; r < i.length; r++) {
		let o = i[r];
		if (o.isTypeOf) {
			let i = o.isTypeOf(e, t, n);
			if (Nl(i)) a[r] = i;
			else if (i) return o.name;
		}
	}
	if (a.length) return Promise.all(a).then((e) => {
		for (let t = 0; t < e.length; t++) if (e[t]) return i[t].name;
	});
}, vm = function(e, t, n, r) {
	if (Yl(e) || typeof e == "function") {
		let i = e[r.fieldName];
		return typeof i == "function" ? e[r.fieldName](t, n, r) : i;
	}
};
function ym(e) {
	let t = Zp(e);
	if (!("schema" in t)) {
		for (let e of t) {
			let t = e.extensions ||= {}, n = t.http ||= {};
			n.status = 400, e.extensions.code = "BAD_USER_INPUT";
		}
		return { errors: t };
	}
	let n = Tm(t);
	return Nl(n) ? n.then((e) => Cm(t, e)) : Cm(t, n);
}
function bm(e) {
	return e?.initialResult;
}
function xm(e) {
	let t = e.subsequentResults, n = !1, r = !1;
	return {
		[Symbol.asyncIterator]() {
			return this;
		},
		next() {
			return r ? zl({
				value: void 0,
				done: r
			}) : n ? t.next() : (n = !0, zl({
				value: e.initialResult,
				done: r
			}));
		},
		return() {
			return r = !0, t.return();
		},
		throw(e) {
			return r = !0, t.throw(e);
		},
		[Cp.asyncDispose]() {
			return r = !0, t?.[Cp.asyncDispose]?.();
		}
	};
}
async function* Sm(e) {
	"initialResult" in e ? yield* xm(e) : yield e;
}
function Cm(e, t) {
	return Nd(t) ? Tp(Hl(t, (t) => Fl(() => Jp(Qp(e, t)), Sm), (t) => {
		throw t instanceof AggregateError ? AggregateError(t.errors.map((t) => wm(t, e.operation)), t.message) : wm(t, e.operation);
	})) : t;
}
function wm(e, t) {
	return kl(e.message, {
		originalError: e,
		nodes: [t]
	});
}
function Tm(e) {
	try {
		let t = Em(e);
		return Nl(t) ? t.then(void 0, (e) => ({ errors: [e] })) : t;
	} catch (e) {
		return { errors: [e] };
	}
}
function Em(e) {
	let { schema: t, fragments: n, operation: r, variableValues: i, rootValue: a } = e, o = t.getSubscriptionType();
	if (o == null) throw kl("Schema is not configured to execute subscription operation.", { nodes: r });
	let { fields: s } = Td(t, n, i, o, r.selectionSet), [c, l] = [...s.entries()][0], u = l[0].name.value, d = Rm(t, o, l[0]);
	if (!d) throw kl(`The subscription field "${u}" is not defined.`, { nodes: l });
	let f = Pd(void 0, c, o.name), p = rm(e, d, l, o, f);
	try {
		let t = hu(d, l[0], i.coerced), n = e.contextValue, r = (d.subscribe ?? e.subscribeFieldResolver)(a, t, n, p);
		return Nl(r) ? r.then((t) => Dm(t, e.signal, e.onSignalAbort)).then(void 0, (t) => {
			throw Al(t, l, Fd(f), e.schemaCoordinateInErrors && p);
		}) : Dm(r, e.signal, e.onSignalAbort);
	} catch (t) {
		throw Al(t, l, Fd(f), e.schemaCoordinateInErrors && p);
	}
}
function Dm(e, t, n) {
	if (t?.throwIfAborted(), e instanceof Error) throw e;
	if (!Nd(e)) throw kl(`Subscription field must return Async Iterable. Received: ${yl(e)}.`);
	return n ? { [Symbol.asyncIterator]() {
		let t = e[Symbol.asyncIterator]();
		return t.return && n?.(() => {
			t.return?.();
		}), t;
	} } : e;
}
function Om(e, t, n, r, i, a, o) {
	let s = new Fm({
		label: i,
		path: a,
		parentContext: o,
		exeContext: e
	}), c;
	try {
		c = tm(e, t, n, a, r, s), Nl(c) && (c = c.then(null, (e) => (s.errors.push(e), null)));
	} catch (e) {
		s.errors.push(e), c = null;
	}
	s.addData(c);
}
function km(e, t, n, r, i, a, o, s, c) {
	let l = new Im({
		label: s,
		path: t,
		parentContext: c,
		exeContext: r
	}), u;
	try {
		try {
			u = Nl(n) ? n.then((e) => om(r, o, i, a, t, e, l)) : om(r, o, i, a, t, n, l), Nl(u) && (u = u.then(void 0, (e) => {
				e = wp(e);
				let n = am(Al(e, i, Fd(t), r.schemaCoordinateInErrors && a), o, l.errors);
				return Mm(r, t, l), n;
			}));
		} catch (e) {
			u = am(Al(wp(e), i, Fd(t), r.schemaCoordinateInErrors && a), o, l.errors), Mm(r, t, l);
		}
	} catch (t) {
		return l.errors.push(t), Mm(r, e, l), l.addItems(null), l;
	}
	let d;
	return d = Nl(u) ? u.then((e) => [e], (t) => (l.errors.push(t), Mm(r, e, l), null)) : [u], l.addItems(d), l;
}
async function Am(e, t, n, r, i, a, o) {
	let s;
	try {
		let { value: t, done: n } = await e.next();
		if (n) return a.setIsCompletedIterator(), {
			done: n,
			value: void 0
		};
		s = t;
	} catch (e) {
		return {
			done: !0,
			value: am(Al(wp(e), n, Fd(o), t.schemaCoordinateInErrors && r), i, a.errors)
		};
	}
	let c;
	try {
		return c = om(t, i, n, r, o, s, a), Nl(c) && (c = c.then(void 0, (e) => {
			let s = am(Al(e, n, Fd(o), t.schemaCoordinateInErrors && r), i, a.errors);
			return Mm(t, o, a), s;
		})), {
			done: !1,
			value: c
		};
	} catch (e) {
		let s = am(Al(e, n, Fd(o), t.schemaCoordinateInErrors && r), i, a.errors);
		return Mm(t, o, a), {
			done: !1,
			value: s
		};
	}
}
async function jm(e, t, n, r, i, a, o, s, c) {
	let l = e, u = c ?? void 0;
	for (;;) {
		let e = Pd(o, l, void 0), c = new Im({
			label: s,
			path: e,
			parentContext: u,
			iterator: t,
			exeContext: n
		}), d;
		try {
			d = await Am(t, n, r, i, a, c, e);
		} catch (e) {
			c.errors.push(e), Mm(n, o, c), c.addItems(null), t?.return && t.return().catch(() => {});
			return;
		}
		let { done: f, value: p } = d, m;
		if (m = Nl(p) ? p.then((e) => [e], (e) => (c.errors.push(e), Mm(n, o, c), null)) : [p], c.addItems(m), f) break;
		u = c, l++;
	}
}
function Mm(e, t, n) {
	let r = Fd(t);
	e.subsequentPayloads.forEach((t) => {
		if (t !== n) {
			for (let e = 0; e < r.length; e++) if (t.path[e] !== r[e]) return;
			Lm(t) && t.iterator?.return && t.iterator.return().catch(() => {}), e.subsequentPayloads.delete(t);
		}
	});
}
function Nm(e) {
	let t = [];
	for (let n of e.subsequentPayloads) {
		let r = {};
		if (n.isCompleted) {
			if (e.subsequentPayloads.delete(n), Lm(n)) {
				let e = n.items;
				if (n.isCompletedIterator) continue;
				r.items = e;
			} else r.data = n.data ?? null;
			r.path = n.path, n.label && (r.label = n.label), n.errors.length > 0 && (r.errors = n.errors), t.push(r);
		}
	}
	return t;
}
function Pm(e) {
	let t = !1;
	async function n() {
		if (t) return {
			value: void 0,
			done: !0
		};
		let r = Array.from(e.subsequentPayloads).map((e) => e.promise);
		if (e.signalPromise ? await Promise.race([e.signalPromise, ...r]) : await Promise.race(r), t) return {
			value: void 0,
			done: !0
		};
		let i = Nm(e), a = e.subsequentPayloads.size > 0;
		return !i.length && a ? n() : (a || (t = !0), {
			value: i.length ? {
				incremental: i,
				hasNext: a
			} : { hasNext: a },
			done: !1
		});
	}
	function r() {
		let t = [];
		return e.subsequentPayloads.forEach((e) => {
			Lm(e) && e.iterator?.return && t.push(e.iterator.return());
		}), Promise.all(t);
	}
	return {
		[Symbol.asyncIterator]() {
			return this;
		},
		next: n,
		async return() {
			return await r(), t = !0, {
				value: void 0,
				done: !0
			};
		},
		async throw(e) {
			throw await r(), t = !0, e;
		},
		async [Cp.asyncDispose]() {
			await r(), t = !0;
		}
	};
}
var Fm = class {
	type;
	errors;
	label;
	path;
	promise;
	data;
	parentContext;
	isCompleted;
	_exeContext;
	_resolve;
	constructor(e) {
		this.type = "defer", this.label = e.label, this.path = Fd(e.path), this.parentContext = e.parentContext, this.errors = [], this._exeContext = e.exeContext, this._exeContext.subsequentPayloads.add(this), this.isCompleted = !1, this.data = null, this.promise = new Promise((e) => {
			this._resolve = (t) => {
				e(t);
			};
		}).then((e) => {
			this.data = e, this.isCompleted = !0;
		});
	}
	addData(e) {
		let t = this.parentContext?.promise;
		t ? this._resolve?.(t.then(() => e)) : this._resolve?.(e);
	}
}, Im = class {
	type;
	errors;
	label;
	path;
	items;
	promise;
	parentContext;
	iterator;
	isCompletedIterator;
	isCompleted;
	_exeContext;
	_resolve;
	constructor(e) {
		this.type = "stream", this.items = null, this.label = e.label, this.path = Fd(e.path), this.parentContext = e.parentContext, this.iterator = e.iterator, this.errors = [], this._exeContext = e.exeContext, this._exeContext.subsequentPayloads.add(this), this.isCompleted = !1, this.items = null, this.promise = new Promise((e) => {
			this._resolve = (t) => {
				e(t);
			};
		}).then((e) => {
			this.items = e, this.isCompleted = !0;
		});
	}
	addItems(e) {
		let t = this.parentContext?.promise;
		t ? this._resolve?.(t.then(() => e)) : this._resolve?.(e);
	}
	setIsCompletedIterator() {
		this.isCompletedIterator = !0;
	}
};
function Lm(e) {
	return e.type === "stream";
}
function Rm(e, t, n) {
	let r = n.name.value;
	return r === O.name && e.getQueryType() === t ? O : r === Ut.name && e.getQueryType() === t ? Ut : r === a.name ? a : t.getFields()[r];
}
// ../../../node_modules/.pnpm/@graphql-tools+executor@2.0.3_graphql@17.1.0/node_modules/@graphql-tools/executor/esm/execution/normalizedExecutor.js
function zm(e) {
	let t = ci(e.document, e.operationName);
	if (t == null) throw Error("Must provide an operation.");
	return t.operation === "subscription" ? ym(e) : Fl(() => qp(e), (e) => bm(e) ? xm(e) : e);
}
var Bm = vu(function(e) {
	return function(t) {
		return zm({
			schema: e,
			document: t.document,
			variableValues: t.variables,
			operationName: t.operationName,
			rootValue: t.rootValue,
			contextValue: t.context,
			signal: t.signal || t.info?.signal,
			schemaCoordinateInErrors: t.schemaCoordinateInErrors
		});
	};
}), Vm = /* @__PURE__ */ Kt((/* @__PURE__ */ qt(((e, t) => {
	var n = /*#__PURE__*/ function() {
		function e(e, t) {
			if (typeof e != "function") throw TypeError("DataLoader must be constructed with a function which accepts " + ("Array<key> and returns Promise<Array<value>>, but got: " + e + "."));
			this._batchLoadFn = e, this._maxBatchSize = l(t), this._batchScheduleFn = u(t), this._cacheKeyFn = d(t), this._cacheMap = f(t), this._batch = null, this.name = p(t);
		}
		var t = e.prototype;
		return t.load = function(e) {
			if (e == null) throw TypeError("The loader.load() function must be called with a value, " + ("but got: " + String(e) + "."));
			var t = a(this), n = this._cacheMap, r;
			if (n) {
				r = this._cacheKeyFn(e);
				var i = n.get(r);
				if (i) {
					var o = t.cacheHits ||= [];
					return new Promise(function(e) {
						o.push(function() {
							e(i);
						});
					});
				}
			}
			t.keys.push(e);
			var s = new Promise(function(e, n) {
				t.callbacks.push({
					resolve: e,
					reject: n
				});
			});
			return n && n.set(r, s), s;
		}, t.loadMany = function(e) {
			if (!m(e)) throw TypeError("The loader.loadMany() function must be called with Array<key> " + ("but got: " + e + "."));
			for (var t = [], n = 0; n < e.length; n++) t.push(this.load(e[n]).catch(function(e) {
				return e;
			}));
			return Promise.all(t);
		}, t.clear = function(e) {
			var t = this._cacheMap;
			if (t) {
				var n = this._cacheKeyFn(e);
				t.delete(n);
			}
			return this;
		}, t.clearAll = function() {
			var e = this._cacheMap;
			return e && e.clear(), this;
		}, t.prime = function(e, t) {
			var n = this._cacheMap;
			if (n) {
				var r = this._cacheKeyFn(e);
				if (n.get(r) === void 0) {
					var i;
					t instanceof Error ? (i = Promise.reject(t), i.catch(function() {})) : i = Promise.resolve(t), n.set(r, i);
				}
			}
			return this;
		}, e;
	}(), r = typeof process == "object" && typeof process.nextTick == "function" ? function(e) {
		i ||= Promise.resolve(), i.then(function() {
			process.nextTick(e);
		});
	} : typeof setImmediate == "function" ? function(e) {
		setImmediate(e);
	} : function(e) {
		setTimeout(e);
	}, i;
	function a(e) {
		var t = e._batch;
		if (t !== null && !t.hasDispatched && t.keys.length < e._maxBatchSize) return t;
		var n = {
			hasDispatched: !1,
			keys: [],
			callbacks: []
		};
		return e._batch = n, e._batchScheduleFn(function() {
			o(e, n);
		}), n;
	}
	function o(e, t) {
		if (t.hasDispatched = !0, t.keys.length === 0) c(t);
		else {
			var n;
			try {
				n = e._batchLoadFn(t.keys);
			} catch (n) {
				return s(e, t, /* @__PURE__ */ TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function " + ("errored synchronously: " + String(n) + ".")));
			}
			if (!n || typeof n.then != "function") return s(e, t, /* @__PURE__ */ TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did " + ("not return a Promise: " + String(n) + ".")));
			n.then(function(e) {
				if (!m(e)) throw TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did " + ("not return a Promise of an Array: " + String(e) + "."));
				if (e.length !== t.keys.length) throw TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did not return a Promise of an Array of the same length as the Array of keys." + ("\n\nKeys:\n" + String(t.keys)) + ("\n\nValues:\n" + String(e)));
				c(t);
				for (var n = 0; n < t.callbacks.length; n++) {
					var r = e[n];
					r instanceof Error ? t.callbacks[n].reject(r) : t.callbacks[n].resolve(r);
				}
			}).catch(function(n) {
				s(e, t, n);
			});
		}
	}
	function s(e, t, n) {
		c(t);
		for (var r = 0; r < t.keys.length; r++) e.clear(t.keys[r]), t.callbacks[r].reject(n);
	}
	function c(e) {
		if (e.cacheHits) for (var t = 0; t < e.cacheHits.length; t++) e.cacheHits[t]();
	}
	function l(e) {
		if (e && e.batch === !1) return 1;
		var t = e && e.maxBatchSize;
		if (t === void 0) return Infinity;
		if (typeof t != "number" || t < 1) throw TypeError("maxBatchSize must be a positive number: " + t);
		return t;
	}
	function u(e) {
		var t = e && e.batchScheduleFn;
		if (t === void 0) return r;
		if (typeof t != "function") throw TypeError("batchScheduleFn must be a function: " + t);
		return t;
	}
	function d(e) {
		var t = e && e.cacheKeyFn;
		if (t === void 0) return function(e) {
			return e;
		};
		if (typeof t != "function") throw TypeError("cacheKeyFn must be a function: " + t);
		return t;
	}
	function f(e) {
		if (e && e.cache === !1) return null;
		var t = e && e.cacheMap;
		if (t === void 0) return /* @__PURE__ */ new Map();
		if (t !== null) {
			var n = [
				"get",
				"set",
				"delete",
				"clear"
			].filter(function(e) {
				return t && typeof t[e] != "function";
			});
			if (n.length !== 0) throw TypeError("Custom cacheMap missing methods: " + n.join(", "));
		}
		return t;
	}
	function p(e) {
		return e && e.name ? e.name : null;
	}
	function m(e) {
		return typeof e == "object" && !!e && typeof e.length == "number" && (e.length === 0 || e.length > 0 && Object.prototype.hasOwnProperty.call(e, e.length - 1));
	}
	t.exports = n;
})))(), 1);
function Hm(e) {
	return `_v${e}_`;
}
function Um(e) {
	let t = /^_v(\d+)_(.*)$/.exec(e);
	return t && t.length === 3 && !isNaN(Number(t[1])) && t[2] ? {
		index: Number(t[1]),
		originalKey: t[2]
	} : null;
}
function Wm(e) {
	let t = Um(e);
	if (!t) throw Error(`Key ${e} is not correctly prefixed`);
	return t;
}
function Gm(e) {
	let t = 0, n = null;
	for (; !n && t < e.length; t++) {
		let r = e[t];
		typeof r == "string" && (n = Um(r));
	}
	if (!n) throw Error(`Path ${e.join(".")} does not contain correctly prefixed key`);
	return {
		...n,
		keyOffset: t
	};
}
function Km(e, t) {
	let n = e[0];
	if (!n) throw Error("At least one request is required");
	let r = e.length;
	if (r === 1) return n;
	let i = /* @__PURE__ */ Object.create(null), a = [], o = [], s = [], c = /* @__PURE__ */ Object.create(null), l, u, d, f, p, m;
	for (let n = 0; n < r; n++) {
		let r = e[n];
		if (r) {
			l ??= r.subgraphName, u ??= r.operationName, d ??= r.operationType, f ??= r.context, p ??= r.info, m ??= r.rootValue;
			let e = qm(Hm(n), r);
			for (let t of e.document.definitions) eh(t) && (o.push(...t.selectionSet.selections), d ??= t.operation, u ??= t.name?.value, t.variableDefinitions && a.push(...t.variableDefinitions)), th(t) && s.push(t);
			Object.assign(i, e.variables), c = t(c, r);
		}
	}
	return u ??= p?.operation?.name?.value, d ||= "query", {
		subgraphName: l,
		document: {
			kind: be,
			definitions: [{
				kind: Rt,
				operation: d,
				variableDefinitions: a,
				selectionSet: {
					kind: de,
					selections: o
				},
				name: u ? {
					kind: _t,
					value: u
				} : void 0
			}, ...s]
		},
		variables: i,
		extensions: c,
		context: f,
		info: p,
		operationType: d,
		rootValue: m,
		operationName: u
	};
}
function qm(e, t) {
	function n(t) {
		return Qm(t, e);
	}
	let r = Jm(e, t.document), i = !1;
	for (let e of r.definitions) if (th(e) || eh(e) && e.variableDefinitions?.length) {
		i = !0;
		break;
	}
	let a = {}, o = !1;
	i && (r = je(r, {
		[Ft]: n,
		[F](e) {
			return o = !0, n(e);
		},
		[xt]: (t) => (t = Qm(t, e), a[t.name.value] = !0, t)
	}));
	let s, c = t.variables;
	if (c) {
		s = /* @__PURE__ */ Object.create(null);
		for (let t in c) s[e + t] = c[t];
	}
	return o && (r = {
		...r,
		definitions: r.definitions.filter((e) => !th(e) || a[e.name.value])
	}), {
		document: r,
		variables: s
	};
}
function Jm(e, t) {
	return je(t, { [Rt]: (n) => {
		let { selections: r } = n.selectionSet;
		return {
			...n,
			selectionSet: {
				...n.selectionSet,
				selections: Ym(e, r, t)
			}
		};
	} }, { [be]: ["definitions"] });
}
function Ym(e, n, r) {
	return n.map((n) => {
		switch (n.kind) {
			case Ze: return Xm(e, n, r);
			case xt: return Xm(e, Zm(n, r), r);
			case t:
			default: return $m(n, e);
		}
	});
}
function Xm(e, t, n) {
	let { selections: r } = t.selectionSet;
	return {
		...t,
		selectionSet: {
			...t.selectionSet,
			selections: Ym(e, r, n)
		}
	};
}
function Zm(e, t) {
	let n = t.definitions.find((t) => th(t) && t.name.value === e.name.value);
	if (!n) throw Error(`Fragment ${e.name.value} does not exist`);
	let { typeCondition: r, selectionSet: i } = n;
	return {
		kind: Ze,
		typeCondition: r,
		selectionSet: i,
		directives: e.directives
	};
}
function Qm(e, t) {
	return {
		...e,
		name: {
			...e.name,
			value: t + e.name.value
		}
	};
}
function $m(e, t) {
	let n = e.alias ? e.alias : e.name;
	return {
		...e,
		alias: {
			...n,
			value: t + n.value
		}
	};
}
function eh(e) {
	return e.kind === Rt;
}
function th(e) {
	return e.kind === F;
}
function nh({ data: e, errors: t }, n) {
	let r = Array(n);
	if (e) for (let t in e) {
		if (t === "__proto__" || t === "constructor" || t === "prototype") continue;
		let { index: n, originalKey: i } = Wm(t), a = r[n];
		a == null ? r[n] = { data: { [i]: e[t] } } : a.data == null ? a.data = { [i]: e[t] } : a.data[i] = e[t];
	}
	if (t) for (let e of t) if (e.path) {
		let { index: t, originalKey: n, keyOffset: i } = Gm(e.path), a = jl(e, [n, ...e.path.slice(i)]), o = r[t];
		if (o == null) {
			r[t] = { errors: [a] };
			continue;
		}
		if (o.errors == null) {
			o.errors = [a];
			continue;
		}
		o.errors.push(a);
	} else for (let t = 0; t < n; t++) {
		let n = r[t];
		n == null ? r[t] = { errors: [e] } : n.errors == null ? n.errors = [e] : n.errors.push(e);
	}
	let i = e === null;
	for (let e = 0; e < n; e++) {
		let t = r[e];
		t == null ? r[e] = { data: i ? null : {} } : i && t.data === void 0 && (t.data = null);
	}
	return r;
}
function rh(e, t, n = ah) {
	let r = ih(e, n), i = new Vm.default(r, t), a = new Vm.default(r, t);
	return function(t) {
		let n = t.operationType ?? Md(t)?.operation;
		switch (n) {
			case "query": return i.load(t);
			case "mutation": return a.load(t);
			case "subscription": return e(t);
			default: throw Error(`Invalid operation type "${n}"`);
		}
	};
}
function ih(e, t) {
	return function(n) {
		if (n.length === 1 && n[0]) {
			let t = n[0];
			return nl().then(() => e(t)).catch((e) => e).then((e) => [e]);
		}
		let r = Km(n, t);
		return nl().then(() => e(r)).then((e) => nh(e, n.length)).catch((e) => n.map(() => e));
	};
}
function ah(e, t) {
	let n = t.extensions;
	return n != null && Object.assign(e, n), e;
}
var oh = Su(function(e, t, n, r) {
	return rh(t, n, r);
}), sh = yu(function(e, t) {
	let n = t.transforms;
	return n == null ? e : n.reduce((e, n) => n.transformSchema?.(e, t) || e, e);
});
function ch(e) {
	return !!e.transformedSchema;
}
function lh(e) {
	if (e != null) return Object.hasOwn(e, "coerced") && Object.hasOwn(e, "sources") ? e.coerced : e;
}
function uh(e) {
	return e != null && Object.hasOwn(e, "coerced") && Object.hasOwn(e, "sources") ? e : {
		coerced: e ?? {},
		sources: {}
	};
}
var dh = [
	"__proto__",
	"constructor",
	"prototype"
];
function fh(e) {
	return dh.includes(e);
}
var ph = /* @__PURE__ */ new WeakMap(), mh = Symbol("PLAN_LEFT_OVER");
function hh(e) {
	if (typeof e == "object" && e) return e[mh];
}
var gh = Symbol.for("subschemaErrors"), _h = Symbol.for("initialSubschema"), vh = Symbol.for("subschemaMap");
function yh(e) {
	return e[gh] !== void 0;
}
function bh(e, t, n, r) {
	return Object.defineProperties(e, {
		[_h]: {
			value: n,
			writable: !0
		},
		[vh]: {
			value: r,
			writable: !0
		},
		[gh]: {
			value: t,
			writable: !0
		}
	}), e;
}
function xh(e, t) {
	return e[vh]?.[t] ?? e[_h];
}
function Sh(e) {
	return e[gh];
}
var Ch = /* @__PURE__ */ Object.create(null), wh = vu(function(e) {
	return [e];
});
function Th(e, t, n, r, i, a = i.fieldNodes) {
	let o = lh(i.variableValues), s = e.delegationPlanBuilder(i.schema, n, o != null && Object.keys(o).length > 0 ? o : Ch, i.fragments != null && Object.keys(i.fragments).length > 0 ? i.fragments : Ch, a.length === 1 && a[0] ? wh(a[0]) : a, r, i), c = ph.get(s);
	return c && (t[mh] = c), tl(() => Xl(s, (n, a) => Dh(e, a, t, r, i), void 0), () => t);
}
function Eh(e, t, n, i, a, o, s, c) {
	if (e instanceof Error || e == null) {
		let a = t.transformedSchema || o.schema, c = a.getType(i.__typename), { fields: l } = Td(a, o.fragments, uh(o.variableValues), c, n), u = {};
		for (let [t, n] of l) {
			let i = [...s, t];
			u[t] = e instanceof r ? e.message.includes("Cannot return null for non-nullable field") ? null : jl(e, i) : e instanceof Error ? oi(e, n, i) : null;
		}
		e = u;
	} else e[gh] && c.push(...e[gh]);
	let l = e[_h], u = e[vh];
	for (let n in e) {
		if (fh(n)) continue;
		let r = i[n], o = e[n];
		n === "__typename" && r !== o && he(t.transformedSchema.getType(o)) || ((o != null || r == null) && (typeof r == "object" && r && !(r instanceof Error) && Object.keys(r).length > 0 ? Array.isArray(r) && Array.isArray(o) && r.length === o.length ? i[n] = r.map((e, t) => o instanceof Error ? e : gd([e, o[t]], void 0, !0, !0)) : o instanceof Error || (i[n] = gd([r, o], void 0, !0, !0)) : i[n] = o), a[n] = u?.[n] ?? l ?? t);
	}
}
function Dh(e, t, n, r, i) {
	let a = n[gh], o = Fd(i.path), s = n[vh], c = [];
	for (let [l, u] of t) {
		let t = (l.transformedSchema || i.schema).getType(n.__typename), d = e.resolvers.get(l);
		if (d) try {
			let e = d(n, r, i, l, u, void 0, t);
			$c(e) ? c.push(e.then((e) => Eh(e, l, u, n, s, i, o, a), (e) => Eh(e, l, u, n, s, i, o, a))) : Eh(e, l, u, n, s, i, o, a);
		} catch (e) {
			Eh(e, l, u, n, s, i, o, a);
		}
	}
	if (c.length) return c.length === 1 ? c[0] : Promise.all(c);
}
function Oh(e, t, n, r, i, a = Nh(i), o) {
	let s = It(a);
	if (e instanceof Error) return e;
	if (e == null) return Mh(t);
	if (tt(s)) try {
		return s.parseValue(e);
	} catch {
		return null;
	}
	if (h(s)) return tl(() => kh(s, e, t, n, r, i, o), (e) => i && he(s) && e.__typename != null && !i.schema.getType(e.__typename) ? null : e);
	if (j(s)) return Array.isArray(e) ? Ah(s, e, t, n, r, i, o) : Oh(e, t, n, r, i, s.ofType, o);
}
function kh(e, t, n, r, i, a, o) {
	if (yh(t) || bh(t, n, r, /* @__PURE__ */ Object.create(null)), o || a == null) return t;
	let s = a.schema.extensions?.stitchingInfo;
	if (s == null) return t;
	let c, l = [t.__typename, e.name];
	for (let e of l) if (e != null && s.mergedTypes[e]?.targetSubschemas?.get(r)?.length) {
		c = s.mergedTypes[e];
		break;
	}
	if (!c) for (let e of l) {
		let t = s.mergedTypes[e];
		if (t != null) {
			for (let [e, n] of t.targetSubschemas) n.length && e.name != null && e.name === r.name && (r = e, c = t);
			break;
		}
	}
	return c ? Th(c, t, r, i, a) : t;
}
function Ah(e, t, n, r, i, a, o) {
	return t.map((t) => Oh(t, n, r, i, a, e.ofType, o));
}
var jh = /* @__PURE__ */ new WeakSet();
function Mh(e) {
	if (e.length) {
		let t = [];
		for (let n of e) jh.has(n) || (t.push(n), jh.add(n));
		if (t.length) {
			let e = t[0];
			return t.length === 1 && e ? oi(e, void 0, e.path) : AggregateError(t.map((t) => oi(t, void 0, e?.path)), t.map((e) => e.message).join(", \n"));
		}
	}
	return null;
}
function Nh(e) {
	if (e == null) throw Error("Return type cannot be inferred without a source schema.");
	return e.returnType;
}
function Ph(e = {
	data: null,
	errors: []
}, t) {
	let { context: n, info: r, fieldName: i = Ih(r), subschema: a, returnType: o = Lh(r), skipTypeMerging: s, onLocatedError: c } = t, { data: l, unpathedErrors: u } = Fh(e.data == null ? void 0 : e.data[i], e.errors == null ? [] : e.errors, r != null && r.path ? Ie(r.path) : void 0, c);
	return Oh(l, u, a, n, r, o, s);
}
function Fh(e, t, n, r, i = 1) {
	if (e == null) {
		if (!t.length) return {
			data: null,
			unpathedErrors: []
		};
		if (t.length === 1 && t[0]) {
			let e = r ? r(t[0]) : t[0], i = n === void 0 ? e.path : e.path ? n.concat(e.path.slice(1)) : n;
			return {
				data: jl(t[0], i),
				unpathedErrors: []
			};
		}
		return {
			data: AggregateError(t.map((e) => {
				let t = r ? r(e) : e;
				return jl(t, n === void 0 ? t.path : t.path ? n.concat(t.path.slice(1)) : n);
			}), t.map((e) => e.message).join(",\n")),
			unpathedErrors: []
		};
	}
	if (!t.length) return {
		data: e,
		unpathedErrors: []
	};
	let a = [], o = /* @__PURE__ */ new Map();
	for (let e of t) {
		let t = e.path?.[i];
		if (t != null) {
			let n = o.get(t);
			n === void 0 ? (n = [e], o.set(t, n)) : n.push(e);
		} else a.push(e);
	}
	for (let [t, s] of o) if (e[t] !== void 0) {
		let { data: o, unpathedErrors: c } = Fh(e[t], s, n, r, i + 1);
		e[t] = o, a.push(...c);
	} else a.push(...s);
	return {
		data: e,
		unpathedErrors: a
	};
}
function Ih(e) {
	if (e == null) throw Error("Data cannot be extracted from result without an explicit key or source schema.");
	return e.fieldNodes[0].alias?.value ?? e.fieldName;
}
function Lh(e) {
	if (e == null) throw Error("Return type cannot be inferred without a source schema.");
	return e.returnType;
}
function Rh(e) {
	let t = [], n = [], r = /* @__PURE__ */ new Set();
	for (let i = 0; i < e.definitions.length; i++) {
		let a = e.definitions[i];
		a?.kind === "FragmentDefinition" ? (n.push(a), r.add(a.name.value)) : a?.kind === "OperationDefinition" && t.push(a);
	}
	return {
		operations: t,
		fragments: n,
		fragmentNames: r
	};
}
var zh = vu(function(e) {
	return new Te(e);
}), Bh = yu(function(e, t) {
	return ii.major < 16 ? new Te(e, void 0, t) : new Te(e, t);
}), Vh = bu(function(e, t, n) {
	return n(t, e);
});
function Hh(e, n, r, i, a, o) {
	let s = [], c = [], l = [], u = [], d = [], f = /* @__PURE__ */ Object.create(null);
	for (let t of r) {
		if (t.selectionSet.selections.length === 0) continue;
		let n = t.typeCondition.name.value, r = e.getType(n);
		r != null && (d.push(t), f[t.name.value] = r);
	}
	let p = /* @__PURE__ */ Object.create(null), m = 0;
	for (let t of i) {
		let { selectionSet: n, usedFragments: r, usedVariables: i } = ig(e, Nu(e, t.operation), f, t.selectionSet, a, o);
		c = og(c, r);
		let { usedVariables: h, newFragments: g, fragmentSet: _ } = tg(e, p, d, f, c, a, o), v = og(i, h);
		s = og(s, v), u = g, p = _;
		let y = [];
		for (let e of v) {
			let n = t.variableDefinitions?.find((t) => t.variable.name.value === e);
			n != null && y.push(n);
		}
		t.operation === "subscription" && (n.selections = n.selections.filter((e) => e.kind !== "Field" || e.name.value !== "__typename")), n.selections.length === 1 && n.selections[0] && n.selections[0].kind === "Field" && n.selections[0].name.value === "__typename" || (m += n.selections.length, l.push({
			kind: Rt,
			operation: t.operation,
			name: t.name,
			directives: t.directives,
			variableDefinitions: y,
			selectionSet: n
		}));
	}
	if (!l.length || m === 0) throw kl("Failed to create a gateway request. The request must contain at least one operation.", { extensions: { [im]: !0 } });
	let h = new Set(u.map((e) => e.name.value)), g = h.size < c.length, _ = {
		kind: be,
		definitions: [...l, ...u]
	}, v = o.info?.schema?.extensions?.stitchingInfo;
	if (v != null && Xh(v, o.subschema)) {
		let { selectionSetsByPath: r, fragments: i } = qh(n), a = zh(e), s = [], c = [];
		_ = je(_, jt(a, {
			[de]: {
				enter() {
					c.push(/* @__PURE__ */ new Map());
				},
				leave() {
					c.pop();
				}
			},
			[Rt]: {
				enter(e) {
					s.push(`op:${e.operation}:${e.name?.value ?? ""}`);
				},
				leave() {
					s.pop();
				}
			},
			[F]: {
				enter(e) {
					s.push(`frag:${e.name.value}`);
				},
				leave() {
					s.pop();
				}
			},
			[Ze]: {
				enter(e) {
					s.push(Jh(e, c[c.length - 1]));
				},
				leave() {
					s.pop();
				}
			},
			[t]: {
				enter(e) {
					s.push(e.alias?.value ?? e.name.value);
				},
				leave(e) {
					try {
						let t = a.getParentType();
						if (!t) return;
						let n = (v?.mergedTypes?.[t.name])?.providedSelectionsByField?.get(o.subschema)?.[e.name.value];
						if (!n) return;
						let c = Zh(s, e, r), l = Qh(n.selections, c, i);
						return l.length ? {
							...e,
							selectionSet: {
								kind: de,
								selections: [...l, ...e.selectionSet?.selections ?? []]
							}
						} : void 0;
					} finally {
						s.pop();
					}
				}
			}
		}));
	}
	if (g) {
		let e = _.definitions.filter((e) => e.kind === Rt), t = _.definitions.filter((e) => e.kind === F);
		_ = {
			kind: be,
			definitions: [...Wh(e, h), ...t]
		};
	}
	return {
		usedVariables: s,
		newDocument: _
	};
}
function Uh(e, t, n) {
	let { operations: r, fragments: i } = Rh(e.document), { targetSchema: a } = t, { usedVariables: o, newDocument: s } = Hh(a, e.document, i, r, n, t), c = {}, l = lh(t.info?.variableValues);
	for (let t of o) {
		let n = e.variables?.[t], r = l?.[t];
		n == null ? r != null && (c[t] = r) : c[t] = n, (n === null || r === null) && (c[t] = null);
	}
	return {
		...e,
		document: s,
		variables: c
	};
}
function Wh(e, t) {
	function n(e) {
		let r = [];
		for (let i of e) if (i.kind === "FragmentSpread") t.has(i.name.value) && r.push(i);
		else if ((i.kind === "Field" || i.kind === "InlineFragment") && i.selectionSet) {
			let e = n(i.selectionSet.selections);
			if (e.length === 0 && i.kind === "InlineFragment" || e.length === 0 && i.kind === "Field") continue;
			r.push(e === i.selectionSet.selections ? i : {
				...i,
				selectionSet: {
					kind: de,
					selections: e
				}
			});
		} else r.push(i);
		return r;
	}
	return e.map((e) => ({
		...e,
		selectionSet: {
			...e.selectionSet,
			selections: n(e.selectionSet.selections)
		}
	}));
}
function Gh(e) {
	return e.kind === "Field" && !e.alias && e.name.value === "__typename";
}
function Kh(e) {
	let n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map();
	for (let t of e.definitions) t.kind === "FragmentDefinition" && r.set(t.name.value, t);
	let i = [], a = [];
	return je(e, {
		[de]: {
			enter() {
				a.push(/* @__PURE__ */ new Map());
			},
			leave() {
				a.pop();
			}
		},
		[Rt]: {
			enter(e) {
				i.push(`op:${e.operation}:${e.name?.value ?? ""}`);
			},
			leave() {
				i.pop();
			}
		},
		[F]: {
			enter(e) {
				i.push(`frag:${e.name.value}`);
			},
			leave() {
				i.pop();
			}
		},
		[Ze]: {
			enter(e) {
				i.push(Jh(e, a[a.length - 1]));
			},
			leave() {
				i.pop();
			}
		},
		[t]: {
			enter(e) {
				if (i.push(e.alias?.value ?? e.name.value), e.selectionSet && (n.set(i.join(">"), e.selectionSet), e.alias)) {
					let t = [...i.slice(0, -1), e.name.value].join(">");
					n.has(t) || n.set(t, e.selectionSet);
				}
			},
			leave() {
				i.pop();
			}
		}
	}), {
		selectionSetsByPath: n,
		fragments: r
	};
}
var qh = vu(Kh);
function Jh(e, t) {
	let n = e.typeCondition?.name.value ?? "";
	if (!t) return `inline:${n}:0`;
	let r = t.get(n) ?? 0;
	return t.set(n, r + 1), `inline:${n}:${r}`;
}
function Yh(e, t) {
	let n = e.mergedTypes;
	if (!n) return !1;
	for (let e of Object.values(n)) if (e?.providedSelectionsByField?.has(t)) return !0;
	return !1;
}
var Xh = yu(Yh);
function Zh(e, t, n) {
	let r = n.get(e.join(">"));
	if (r || !t.alias) return r;
	let i = [...e.slice(0, -1), t.name.value].join(">");
	return n.get(i);
}
function Qh(e, t, n) {
	if (!t) return [];
	let r = /* @__PURE__ */ new Map(), i = [];
	for (let t of e) t.kind === "Field" ? r.set(t.name.value, t) : i.push(t);
	let a = [];
	return $h(t, r, n, /* @__PURE__ */ new Set(), /* @__PURE__ */ new Set(), a), [...a, ...i];
}
function $h(e, t, n, r, i, a) {
	for (let o of e.selections) if (o.kind === "Field") {
		let e = t.get(o.name.value);
		if (!e) continue;
		let i = o.alias?.value ?? o.name.value;
		if (r.has(i)) continue;
		if (r.add(i), e.selectionSet && o.selectionSet) {
			let t = Qh(e.selectionSet.selections, o.selectionSet, n);
			if (!t.length) continue;
			a.push({
				...o,
				selectionSet: {
					kind: de,
					selections: t
				}
			});
		} else a.push(o);
	} else if (o.kind === "InlineFragment" && o.selectionSet) {
		let e = (o.directives?.length ?? 0) > 0, s = o.typeCondition != null;
		if (e || s) {
			let e = [];
			if ($h(o.selectionSet, t, n, /* @__PURE__ */ new Set(), /* @__PURE__ */ new Set(), e), e.length === 0) continue;
			a.push({
				kind: Ze,
				typeCondition: o.typeCondition,
				directives: o.directives,
				selectionSet: {
					kind: de,
					selections: e
				}
			});
		} else $h(o.selectionSet, t, n, r, i, a);
	} else if (o.kind === "FragmentSpread") {
		let e = n.get(o.name.value);
		if (!e) continue;
		let s = (o.directives?.length ?? 0) > 0, c = (e.directives?.length ?? 0) > 0;
		if (s || c) {
			let r = [];
			if ($h(e.selectionSet, t, n, /* @__PURE__ */ new Set(), /* @__PURE__ */ new Set(), r), r.length === 0) continue;
			let i = [...o.directives ?? [], ...e.directives ?? []];
			a.push({
				kind: Ze,
				typeCondition: e.typeCondition,
				directives: i.length > 0 ? i : void 0,
				selectionSet: {
					kind: de,
					selections: r
				}
			});
		} else {
			if (i.has(o.name.value)) continue;
			i.add(o.name.value), $h(e.selectionSet, t, n, r, i, a);
		}
	}
}
function eg(e) {
	let t = !1, n = e.filter((e) => !Gh(e) || (t = !0, !1));
	return {
		hasTypeNameField: t,
		selections: n
	};
}
function tg(e, t, n, r, i, a, o) {
	let s = i.slice(), c = [], l = [];
	for (; s.length !== 0;) {
		let i = s.pop(), u = n.find((e) => e.name.value === i);
		if (u != null) {
			let n = i, d = u.typeCondition.name.value, f = e.getType(d);
			if (f == null) throw Error(`Fragment reference type "${d}", but the type is not contained within the target schema.`);
			let { selectionSet: p, usedFragments: m, usedVariables: h } = ig(e, f, r, u.selectionSet, a, o);
			s = og(s, m), c = og(c, h), n && !(n in t) && (t[n] = !0, p.selections.length > 0 && l.push({
				kind: F,
				name: {
					kind: _t,
					value: n
				},
				typeCondition: u.typeCondition,
				selectionSet: p
			}));
		}
	}
	return {
		usedVariables: c,
		newFragments: l,
		fragmentSet: t
	};
}
var ng = {
	SelectionSet: ["selections"],
	Field: ["selectionSet"],
	InlineFragment: ["selectionSet"],
	FragmentDefinition: ["selectionSet"]
}, rg = {
	SelectionSet: ["selections"],
	Field: [
		"arguments",
		"directives",
		"selectionSet"
	],
	Argument: ["value"],
	InlineFragment: ["directives", "selectionSet"],
	FragmentSpread: ["directives"],
	FragmentDefinition: ["selectionSet"],
	ObjectValue: ["fields"],
	ObjectField: ["name", "value"],
	Directive: ["arguments"],
	ListValue: ["values"]
};
function ig(e, t, n, r, i, a) {
	let o = [], s = [], c = ag(e, Bh(e, t), n, r, i, o, /* @__PURE__ */ new WeakMap(), /* @__PURE__ */ new WeakMap(), a);
	return je(c, { [Ft]: (e) => {
		s.push(e.name.value);
	} }, rg), {
		selectionSet: c,
		usedFragments: o,
		usedVariables: s
	};
}
function ag(e, n, r, a, s, c, u, d, f) {
	return je(a, jt(n, {
		[t]: {
			enter: (t) => {
				let a = n.getParentType(), p = n.getFieldDef();
				if (f.context != null && f.info != null && a != null && p != null) {
					let e = a.name, t = f.subschemaConfig?.merge?.[e]?.fields?.[p.name]?.override;
					if (t != null && !Vh(f.info, f.context, t)) return null;
				}
				if (C(a) || i(a)) {
					if (!p) return null;
					let e = p.args == null ? [] : p.args, n = /* @__PURE__ */ Object.create(null);
					for (let t of e) n[t.name] = t;
					if (t.arguments != null) {
						let e = [];
						for (let r of t.arguments) r.name.value in n && e.push(r);
						if (e.length !== t.arguments.length) return {
							...t,
							arguments: e
						};
					}
				}
				if (o(a) && n.getType() == null) {
					let n = [], i = t.name.value;
					for (let e of a.getTypes()) {
						let r = e.getFields()[i];
						if (r != null) {
							let i = l(r.type);
							if (t.selectionSet?.selections?.length && tt(i) || !t.selectionSet?.selections?.length && h(i)) continue;
							n.push(e.name);
						}
					}
					if (n.length > 0) {
						let i = n.map((n) => {
							if (!t.selectionSet?.selections) return {
								kind: Ze,
								typeCondition: {
									kind: lt,
									name: {
										kind: _t,
										value: n
									}
								},
								selectionSet: {
									kind: de,
									selections: [t]
								}
							};
							let i = e.getType(n).getFields()[t.name.value];
							if (!i) return;
							let a = ag(e, Bh(e, i.type), r, t.selectionSet, s, c, u, d, f);
							if (a.selections.length) return {
								kind: Ze,
								typeCondition: {
									kind: lt,
									name: {
										kind: _t,
										value: n
									}
								},
								selectionSet: {
									kind: de,
									selections: [{
										...t,
										selectionSet: a
									}]
								}
							};
						}).filter(Boolean);
						return i.length ? i : void 0;
					}
				}
			},
			leave: (t) => {
				let r = n.getType();
				if (r == null) return null;
				let a = l(r);
				if (e.getType(a.name) == null) return null;
				if (C(a) || i(a)) {
					let e = t.selectionSet == null ? null : t.selectionSet.selections;
					if (e == null || e.length === 0) return null;
				}
			}
		},
		[xt]: { enter: (t) => {
			if (!(t.name.value in r)) return null;
			let i = n.getParentType(), a = r[t.name.value];
			if (!yd(e, i, a)) return null;
			c.push(t.name.value);
		} },
		[de]: { enter: (e, r, i, a) => {
			let o = n.getParentType(), { hasTypeNameField: s, selections: c } = eg(e.selections);
			return (s || o != null && he(o)) && c.unshift({
				kind: t,
				name: {
					kind: _t,
					value: "__typename"
				}
			}), {
				...e,
				selections: c
			};
		} },
		[Ze]: {
			enter: (t) => {
				if (t.typeCondition != null) {
					let r = n.getParentType(), i = e.getType(t.typeCondition.name.value);
					if (o(r) && r.getTypes().some((e) => e.name === i?.name)) return t;
					if (!yd(e, r, i)) return null;
				}
			},
			leave: (t, n, r) => {
				if (!t.selectionSet?.selections?.length) return null;
				if (Array.isArray(r)) {
					let n = t.typeCondition?.name.value;
					if (n) {
						let i = e.getType(n);
						if (i && "getFields" in i) {
							let e = i.getFields(), n = u.get(r);
							n || (n = /* @__PURE__ */ new Set(), u.set(r, n));
							let a = d.get(r);
							a || (a = /* @__PURE__ */ new Set(), d.set(r, a)), t = {
								...t,
								selectionSet: {
									...t.selectionSet,
									selections: t.selectionSet.selections.map((t) => {
										if (t.kind === "Field") {
											let r = t.name.value;
											if (!t.alias) {
												let i = e[r];
												if (i) {
													let e;
													if (v(i.type) ? (a.add(r), e = !0) : (n.add(r), e = !1), a.has(r) && n.has(r)) return s(), {
														...t,
														alias: {
															kind: _t,
															value: e ? `_nullable_${r}` : `_nonNullable_${r}`
														}
													};
												}
											}
										}
										return t;
									})
								}
							};
						}
					}
				}
				let { selections: i } = eg(t.selectionSet.selections);
				return i.length === 0 ? null : {
					...t,
					selectionSet: {
						...t.selectionSet,
						selections: i
					},
					directives: t.directives?.filter?.((e) => e.name.value !== "defer")
				};
			}
		}
	}), ng);
}
function og(...e) {
	let t = /* @__PURE__ */ Object.create(null), n = [];
	for (let r of e) for (let e of r) e in t || (t[e] = !0, n.push(e));
	return n;
}
function sg(e, t) {
	let n = t.transformedSchema, r = t.returnType, i = t.info?.schema, a = yg(r, n, e);
	if (i == null) return a;
	let o = /* @__PURE__ */ new WeakSet(), { possibleTypesMap: s, reversePossibleTypesMap: c, interfaceExtensionsMap: l, fieldNodesByType: u, fieldNodesByField: d, dynamicSelectionSetsByField: f } = gg(i, n), { operations: p, fragments: m, fragmentNames: h } = Rh(a), { expandedFragments: g, fragmentReplacements: _ } = vg(m, h, s), v = zh(n), y = {
		kind: be,
		definitions: [
			...p,
			...m,
			...g
		]
	}, b = /* @__PURE__ */ Object.create(null);
	for (let e of y.definitions) e.kind === "FragmentDefinition" && (b[e.name.value] = e);
	let x = {
		Document: ["definitions"],
		OperationDefinition: ["selectionSet"],
		SelectionSet: ["selections"],
		Field: ["selectionSet"],
		InlineFragment: ["selectionSet"],
		FragmentDefinition: ["selectionSet"]
	};
	return je(y, jt(v, { [de]: (e) => lg(e, _, n, v, s, c, l, u, d, f, i, o, b, t) }), x);
}
var cg = yu(function(e, t) {
	let n = /* @__PURE__ */ new Map();
	return function(r) {
		let i = n.get(r);
		if (!i) {
			i = /* @__PURE__ */ new Set();
			let a = t.getType(r), o = e.getType(r);
			if (he(a) && he(o)) {
				let n = t.getPossibleTypes(a), r = e.getPossibleTypes(o);
				for (let t of n) {
					let n = e.getType(t.name);
					n && (n && r.some((e) => e.name === t.name) || i.add(t.name));
				}
			}
			n.set(r, i);
		}
		return i;
	};
});
function lg(e, n, r, a, o, s, c, u, d, f, p, m, h, g) {
	let _ = /* @__PURE__ */ new Set(), v = a.getParentType();
	if (v != null) {
		let a = l(v);
		if (dg(r, a, e, h, p, g)) {
			he(g.returnType) && pg(_, {
				kind: t,
				name: {
					kind: _t,
					value: "__typename"
				}
			});
			for (let t of e.selections) pg(_, t);
			return {
				...e,
				selections: Array.from(_)
			};
		}
		let y = a.name, b = u[y];
		if (b) for (let e of b) pg(_, e);
		let x = c[a.name], S = [];
		for (let t of e.selections) if (t.kind === "InlineFragment") {
			if (t.typeCondition != null) {
				if (!m.has(t)) {
					m.add(t);
					let e = t.typeCondition.name.value, n = cg(r, p)(e);
					for (let e of n) pg(_, {
						...t,
						typeCondition: {
							kind: lt,
							name: {
								kind: _t,
								value: e
							}
						}
					});
					let a = r.getType(e);
					if (C(a) || i(a)) {
						let e = a.getFields();
						for (let n of t.selectionSet.selections) n.kind === "Field" && (e[n.name.value] || pg(_, n));
					} else if (!a) for (let e of t.selectionSet.selections) pg(_, e);
				}
				let e = o[t.typeCondition.name.value];
				if (e == null) {
					let e = d[y]?.__typename;
					if (e) for (let t of e) pg(_, t);
					pg(_, t);
					continue;
				}
				for (let n of e) {
					let e = r.getType(n);
					e != null && yd(r, a, e) && pg(_, hg(n, t.selectionSet));
				}
				e.length === 0 && pg(_, t);
			} else pg(_, t);
		} else if (t.kind === "FragmentSpread") {
			let e = t.name.value;
			if (!n[e]) {
				pg(_, t);
				continue;
			}
			for (let t of n[e]) {
				let e = t.typeName;
				r.getType(e) != null && yd(r, a, v) && pg(_, {
					kind: xt,
					name: {
						kind: _t,
						value: t.fragmentName
					}
				});
			}
		} else {
			let e = t.name.value;
			if (x?.[e] ? S.push(t) : pg(_, t), he(a)) {
				let e = d[y]?.__typename;
				if (e) for (let t of e) pg(_, t);
			}
			let n = d[y];
			n && mg(t, /* @__PURE__ */ new Set(), n, _);
			let r = f[y]?.[e];
			if (r != null) for (let e of r) {
				let n = e(t);
				if (n != null) for (let e of n.selections) pg(_, e);
			}
		}
		if (s[a.name] && pg(_, {
			kind: t,
			name: {
				kind: _t,
				value: "__typename"
			}
		}), S.length) {
			let e = o[a.name];
			if (e != null) for (let t of e) pg(_, hg(t, {
				kind: de,
				selections: S
			}));
		}
		return {
			...e,
			selections: Array.from(_)
		};
	}
	return e;
}
function ug(e, t) {
	for (let n of t) if (n.kind === "Field" && n.name.value === e.name.value && n.alias?.value === e.alias?.value) return !(e.selectionSet && !n.selectionSet || e.selectionSet && n.selectionSet && !fg({
		incoming: e.selectionSet,
		existing: n.selectionSet.selections
	}));
	return !1;
}
function dg(e, t, n, r, a, o) {
	let s = l(t);
	if (tt(s)) return !0;
	let c = C(s) || i(s) ? s.getFields() : null;
	for (let i of n.selections) if (i.kind === "Field") {
		if (he(s)) return !1;
		let t = i.name.value;
		if (t === "__typename") continue;
		if (c) {
			let n = c[t];
			if (!n) return !1;
			let u = a.getType(s.name)?.getFields?.()?.[t]?.resolve;
			if (u != null && u.name !== "defaultMergedResolver" && u.name !== "defaultFieldResolver") return !1;
			if (o.info) {
				let e = o.subschemaConfig?.merge?.[s.name]?.fields?.[n.name]?.override;
				if (e != null && !Vh(o.info, o.context, e)) return !1;
			}
			if (i.selectionSet && !dg(e, l(n.type), i.selectionSet, r, a, o)) return !1;
		} else return !1;
	} else if (i.kind === "InlineFragment") {
		if (i.typeCondition) {
			let t = i.typeCondition.name.value, n = e.getType(t);
			if (!n || !dg(e, n, i.selectionSet, r, a, o)) return !1;
		} else if (!dg(e, t, i.selectionSet, r, a, o)) return !1;
	} else if (i.kind === "FragmentSpread") {
		let t = r[i.name.value];
		if (!t) return !1;
		let n = t.typeCondition.name.value, s = e.getType(n);
		if (!s || !dg(e, s, t.selectionSet, r, a, o)) return !1;
	}
	return !0;
}
function fg({ incoming: e, existing: t }) {
	for (let n of e.selections) if (n.kind === "Field") {
		let e = t.find((e) => e.kind === "Field" && e.name.value === n.name.value && e.alias?.value === n.alias?.value);
		if (!e || n.selectionSet && !e.selectionSet || n.selectionSet && e.selectionSet && !fg({
			incoming: n.selectionSet,
			existing: e.selectionSet.selections
		})) return !1;
	} else return !1;
	return !0;
}
function pg(e, t) {
	t.kind === "Field" && ug(t, e) || e.add(t);
}
function mg(e, t, n, r) {
	if (t.has(e.name.value)) return;
	t.add(e.name.value);
	let i = n[e.name.value];
	if (i != null) for (let e of i) pg(r, e), mg(e, t, n, r);
}
function hg(e, t) {
	return {
		kind: Ze,
		typeCondition: {
			kind: lt,
			name: {
				kind: _t,
				value: e
			}
		},
		selectionSet: t
	};
}
var gg = yu((e, t) => {
	let n = e.getTypeMap(), r = t.getTypeMap(), a = /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null);
	for (let t in n) {
		let s = n[t];
		if (he(s)) {
			let n = r[t];
			if (i(s) && i(n)) {
				let e = n.getFields(), r = s.getFields(), i = /* @__PURE__ */ Object.create(null), a = !0;
				for (let t in r) e[t] || (i[t] = !0, a = !1);
				a || (o[t] = i);
			}
			if (o[t] || !he(n)) {
				let n = e.getPossibleTypes(s);
				a[t] = [];
				for (let e of n) r[e.name] && a[t].push(e.name);
			}
		}
	}
	let s = e.extensions?.stitchingInfo;
	return {
		possibleTypesMap: a,
		reversePossibleTypesMap: _g(a),
		interfaceExtensionsMap: o,
		fieldNodesByType: s?.fieldNodesByType ?? {},
		fieldNodesByField: s?.fieldNodesByField ?? {},
		dynamicSelectionSetsByField: s?.dynamicSelectionSetsByField ?? {}
	};
});
function _g(e) {
	let t = /* @__PURE__ */ Object.create(null);
	for (let n in e) {
		let r = e[n];
		if (r) for (let e of r) t[e] || (t[e] = []), t[e].push(n);
	}
	return t;
}
function vg(e, t, n) {
	let r = 0;
	function i(e) {
		let n;
		do
			n = `_${e}_Fragment${r.toString()}`, r++;
		while (t.has(n));
		return n;
	}
	let a = [], o = /* @__PURE__ */ Object.create(null);
	for (let r of e) {
		let e = n[r.typeCondition.name.value];
		if (e != null) {
			let n = r.name.value;
			o[n] = [];
			for (let s of e) {
				let e = i(s);
				t.add(e), a.push({
					kind: F,
					name: {
						kind: _t,
						value: e
					},
					typeCondition: {
						kind: lt,
						name: {
							kind: _t,
							value: s
						}
					},
					selectionSet: r.selectionSet
				}), o[n].push({
					fragmentName: e,
					typeName: s
				});
			}
		}
	}
	return {
		expandedFragments: a,
		fragmentReplacements: o
	};
}
function yg(e, n, r) {
	let i = l(e);
	if (tt(i)) return r;
	let a = he(i) ? n.getPossibleTypes(i) : [i];
	a.length === 0 && (a = [i]);
	let o = Pu(n), s = zh(n), c = {
		Document: ["definitions"],
		OperationDefinition: ["selectionSet"],
		SelectionSet: ["selections"],
		InlineFragment: ["selectionSet"],
		FragmentDefinition: ["selectionSet"]
	};
	return je(r, jt(s, {
		[F]: (e) => {
			let t = e.typeCondition.name.value;
			if (!o.has(t)) return !1;
		},
		[t]: (e) => {
			let t = s.getType();
			if (t) {
				let n = l(t);
				if (he(n) && n.name !== i.name && a.length > 0) return {
					...e,
					selectionSet: {
						kind: de,
						selections: a.map((t) => ({
							kind: Ze,
							typeCondition: {
								kind: lt,
								name: {
									kind: _t,
									value: t.name
								}
							},
							selectionSet: e.selectionSet
						}))
					}
				};
			}
		}
	}), c);
}
var bg = class {
	transformations = [];
	delegationContext;
	hasOverlappingAliases = !1;
	constructor(e) {
		this.delegationContext = e;
		let t = e.transforms.slice().reverse();
		for (let e of t) this.addTransform(e);
	}
	addTransform(e, t = {}) {
		this.transformations.push({
			transform: e,
			context: t
		});
	}
	transformRequest(e) {
		let t = {
			...e,
			document: sg(e.document, this.delegationContext)
		};
		for (let e of this.transformations) e.transform.transformRequest && (t = e.transform.transformRequest(t, this.delegationContext, e.context));
		return Uh(t, this.delegationContext, () => {
			this.hasOverlappingAliases = !0;
		});
	}
	transformResult(e) {
		let t = e;
		for (let e = this.transformations.length - 1; e >= 0; e--) {
			let n = this.transformations[e];
			n?.transform.transformResult && (t = n.transform.transformResult(t, this.delegationContext, n.context));
		}
		return this.hasOverlappingAliases && (t = xg(t)), Ph(t, this.delegationContext);
	}
};
function xg(e) {
	if (e != null) {
		if (Array.isArray(e)) return e.map(xg);
		if (typeof e == "object") {
			let t = {};
			for (let n in e) if (n.startsWith("_nullable_") || n.startsWith("_nonNullable_")) {
				let r = n.replace(/^_nullable_/, "").replace(/^_nonNullable_/, "");
				t[r] = xg(e[n]);
			} else t[n] = xg(e[n]);
			return t;
		}
	}
	return e;
}
var Sg = {
	promiseAll: Promise.all.bind(Promise),
	track: () => void 0
};
function Cg(e) {
	return e == null || "getAbortSignal" in e && "getAsyncHelpers" in e ? e : Object.assign(e, {
		getAbortSignal: () => void 0,
		getAsyncHelpers: () => Sg
	});
}
function wg(e, t) {
	return e === t.getMutationType() ? "mutation" : e === t.getSubscriptionType() ? "subscription" : "query";
}
function Tg({ subgraphName: e, fragments: n, rootValue: r, targetOperationName: i, targetOperation: a, targetSchema: o, targetFieldName: s, selectionSet: c, fieldNodes: l, context: u, info: d, args: f }) {
	let p;
	if (c != null) p = c;
	else {
		let e = [];
		for (let t of l || []) if (t.selectionSet) for (let n of t.selectionSet.selections) e.push(n);
		p = e.length ? {
			kind: de,
			selections: e
		} : void 0;
	}
	let m = l?.[0], h = s ?? m?.name.value;
	if (h === void 0) throw Error("Either \"targetFieldName\" or a non empty \"fieldNodes\" array must be provided.");
	let g = lh(d?.variableValues), _ = g ? { ...g } : {}, v = d?.operation.variableDefinitions ? [...d.operation.variableDefinitions] : [], y = [], b = /* @__PURE__ */ new Set();
	if (f != null) {
		let e = (o == null ? void 0 : Nu(o, a))?.getFields()[h]?.args;
		for (let t in f) {
			let n = f[t], r = e?.find((e) => e.name === t), i = m?.arguments?.find((e) => e.name.value === t);
			if (i && !r) y.push(i);
			else {
				if (i?.value.kind === "Variable") {
					let e = i.value.name.value, t = _[e], a = v.find((t) => t.variable.name.value === e), s = a && o ? Bt(d?.schema ?? o, a.type) : void 0;
					if (t === n && s && r && At(d?.schema ?? o, s, r.type)) {
						y.push(i);
						continue;
					}
				}
				if (r) {
					let e = Ru(r, o), a = (e) => v.some((t) => t.variable.name.value === e) || g?.[e] != null, s = t;
					if (a(s)) {
						s = `_${h}_${t}`;
						let e = 0;
						for (; a(s);) s = `_${e++}_${h}_${t}`;
					}
					i?.value.kind === "Variable" && b.add(i.value.name.value), v.push({
						kind: me,
						variable: {
							kind: Ft,
							name: {
								kind: _t,
								value: s
							}
						},
						type: e.type
					});
					let c = Eg(n, r.type);
					c !== void 0 && (_[s] = c), y.push({
						kind: bt,
						name: {
							kind: _t,
							value: t
						},
						value: {
							kind: Ft,
							name: {
								kind: _t,
								value: s
							}
						}
					});
				} else {
					let e = Eu(n);
					e != null && y.push({
						kind: bt,
						name: {
							kind: _t,
							value: t
						},
						value: e
					});
				}
			}
		}
	}
	let x = {
		kind: t,
		arguments: y,
		name: {
			kind: _t,
			value: h
		},
		selectionSet: p,
		directives: m?.directives
	}, S = [{
		kind: Rt,
		name: i ? {
			kind: _t,
			value: i
		} : void 0,
		operation: a,
		variableDefinitions: v,
		selectionSet: {
			kind: de,
			selections: [x]
		}
	}];
	n != null && S.push(...n);
	let C = {
		kind: be,
		definitions: S
	};
	if (b.size > 0) {
		let e = /* @__PURE__ */ new Set();
		je(C, {
			VariableDefinition: () => !1,
			Variable: (t) => {
				e.add(t.name.value);
			}
		});
		for (let t of b) if (!e.has(t)) {
			let e = v.findIndex((e) => e.variable.name.value === t);
			e !== -1 && (v.splice(e, 1), delete _[t]);
		}
	}
	return {
		subgraphName: e,
		document: C,
		variables: _,
		rootValue: r,
		operationName: i,
		context: u,
		info: Cg(d),
		operationType: a
	};
}
function Eg(e, t) {
	if (e == null) return e;
	if (oe(t)) return Eg(e, t.ofType);
	if (j(t)) return gl(e).map((e) => Eg(e, t.ofType));
	if (re(t) && typeof e == "object") {
		let n = {}, r = t.getFields();
		for (let t in e) {
			let i = r[t];
			if (i) {
				let r = Eg(e[t], i.type);
				r !== void 0 && (n[t] = r);
			}
		}
		return n;
	}
	return t.name === "Boolean" ? !!e : t.name === "Int" || t.name === "Float" ? Number(e) : t.name === "String" ? String(e) : e;
}
function Dg(e, n, r, i) {
	if (!e) return null;
	let a = i.fieldNodes[0].alias?.value ?? i.fieldName;
	if (!yh(e)) return ia(e, n, r, i);
	if (Object.prototype.hasOwnProperty.call(e, a)) return Og(e, a, r, i);
	{
		let o = hh(e);
		if (o) {
			let t = o.missingFieldsParentMap.get(e);
			t || (t = [], o.missingFieldsParentMap.set(e, t)), t.push(...i.fieldNodes.filter((e) => o.unproxiableFieldNodes.some((t) => t === e)));
			let n = o.missingFieldsParentDeferredMap.get(e);
			n || (n = /* @__PURE__ */ new Map(), o.missingFieldsParentDeferredMap.set(e, n));
			let s = rl();
			n.set(a, s);
			let c = i.schema.extensions?.stitchingInfo, l = e?.__typename || i.parentType.name;
			return (c?.fieldNodesByField?.[l]?.[i.fieldName])?.every((t) => {
				let n = t.alias?.value ?? t.name.value;
				return Object.prototype.hasOwnProperty.call(e, n);
			}) ? Og(e, a, r, i) : kg(e, r, i, o), s.promise;
		}
		if (Object.prototype.hasOwnProperty.call(e, i.fieldName)) return ia(e, n, r, i);
		let s = i.schema?.extensions?.stitchingInfo, c = e.__typename || i.parentType?.name, l = c ? s?.mergedTypes[c] : void 0, u = e[_h];
		if (l && u) {
			let n = {
				kind: t,
				name: i.fieldNodes[0]?.name ?? {
					kind: "Name",
					value: i.fieldName
				},
				selectionSet: {
					kind: de,
					selections: i.fieldNodes
				}
			};
			return tl(() => Th(l, e, u, r, i, [n]), () => Object.prototype.hasOwnProperty.call(e, a) ? Og(e, a, r, i) : void 0);
		}
	}
}
function Og(e, t, n, r) {
	let i = xh(e, t), a = e[t], o = Oh(a, Sh(e), i, n, r), s = hh(e);
	return s ? tl(() => o, (i) => (e[t] = i, kg(e, n, r, s), i)) : o;
}
function kg(e, t, n, r) {
	let i = n.schema.extensions?.stitchingInfo;
	if (i) for (let a of r.nonProxiableSubschemas) {
		let o = n.parentType.name, s = /* @__PURE__ */ new Set(), c = i.mergedTypes[o]?.selectionSets.get(a);
		c && s.add(c);
		for (let e of r.unproxiableFieldNodes) {
			let t = e.name.value, n = i.mergedTypes[o]?.fieldSelectionSets.get(a)?.[t];
			n && s.add(n);
		}
		if (s.size) {
			let c = {
				kind: de,
				selections: Array.from(s).flatMap((e) => e.selections)
			};
			tl(() => Pg(e), (s) => {
				Ag(s, e, a, c, r, i, o, t, n);
			});
		}
	}
}
function Ag(e, t, n, r, i, a, o, s, c) {
	if (Ng(e, r)) {
		let r = i.missingFieldsParentMap.get(t);
		if (r) {
			let l = a.mergedTypes[o]?.resolvers.get(n);
			if (l) {
				Object.assign(t, e);
				let a = {
					kind: de,
					selections: r
				};
				tl(() => l(t, s, c, n, a, c.parentType, c.parentType), (e) => {
					jg(e, n, a, t, i, s, c);
				}, (e) => Mg(i, t, e));
			}
		}
	} else for (let l of r.selections) if (l.kind === "Field" && l.selectionSet?.selections?.length) {
		let u = l.alias?.value ?? l.name.value, d = e[u], f = l.selectionSet;
		if (d != null && !Ng(d, f)) {
			async function p(l, p) {
				let m = l.__typename, h = xh(e, u);
				if (h && m) {
					let u = lh(c.variableValues), g = a.mergedTypes[m]?.delegationPlanBuilder(c.schema, h, u != null && Object.keys(u).length > 0 ? u : Ch, c.fragments != null && Object.keys(c.fragments).length > 0 ? c.fragments : Ch, wh(p), s, c);
					if (g?.length) for (let e of g) for (let [t, n] of e) {
						let e = a.mergedTypes[m]?.resolvers.get(t);
						if (e) {
							let r = a.mergedTypes[m].typeMaps.get(t)[m], i = await e(l, s, c, t, n, r, c.parentType);
							i && Eh(i, t, n, l, l[vh] ||= /* @__PURE__ */ new Map(), c, Ie(c.path), l[gh] ||= []);
						}
					}
					Ng(d, f) && Ag(e, t, n, r, i, a, o, s, c);
				}
			}
			Array.isArray(d) ? d.forEach((e) => p(e, l)) : p(d, l);
		}
	}
}
function jg(e, t, n, r, i, a, o) {
	Eh(e, t, n, r, r[vh], o, Ie(o.path), r[gh]);
	let s = i.missingFieldsParentDeferredMap.get(r);
	if (s) {
		let e = o.schema.extensions?.stitchingInfo, t = r?.__typename || o.parentType.name, n = /* @__PURE__ */ new Set();
		for (let [c, l] of s) if (Object.prototype.hasOwnProperty.call(r, c)) l.resolve(Og(r, c, a, o)), n.add(c);
		else {
			let n = e?.fieldNodesByField?.[t]?.[c];
			n && n.every((e) => {
				let t = e.alias?.value ?? e.name.value;
				return Object.prototype.hasOwnProperty.call(r, t);
			}) && setTimeout(() => {
				kg(r, a, o, i);
			}, 0);
		}
		for (let e of n) s.delete(e);
		s.size === 0 && i.missingFieldsParentDeferredMap.delete(r);
	}
}
function Mg(e, t, n) {
	let r = e.missingFieldsParentDeferredMap.get(t);
	if (r) {
		for (let [e, t] of r) t.reject(n);
		e.missingFieldsParentDeferredMap.delete(t);
	}
}
function Ng(e, t) {
	if (Array.isArray(e)) {
		let n = /* @__PURE__ */ new Set();
		for (let r of e) {
			let e = Ng(r, t);
			if (e === void 0) return;
			for (let t of e) n.add(t);
		}
		return n;
	}
	if (e === null) return /* @__PURE__ */ new Set();
	if (e === void 0) return;
	let n = /* @__PURE__ */ new Set();
	for (let r of t.selections) if (r.kind === "Field") {
		let t = r.alias?.value ?? r.name.value;
		if (e[t] === void 0) return;
		if (yh(e)) {
			let r = xh(e, t);
			r && n.add(r);
		}
		if (e[t] === null) continue;
		if (r.selectionSet != null) {
			let i = Ng(e[t], r.selectionSet);
			if (i === void 0) return;
			for (let e of i) n.add(e);
		}
	} else if (r.kind === "InlineFragment") {
		let t = Ng(e, r.selectionSet);
		if (t === void 0) return;
		for (let e of t) n.add(e);
	}
	return n;
}
function Pg(e) {
	if ($c(e)) return e.then(Pg);
	if (Array.isArray(e)) return Promise.all(e.map(Pg));
	if (typeof e == "object" && e) {
		let t = [], n = {};
		for (let r in e) {
			let i = Pg(e[r]);
			$c(i) ? t.push(i.then((e) => {
				n[r] = e;
			})) : n[r] = i;
		}
		return _h in e && (n[_h] = e[_h]), vh in e && (n[vh] = e[vh]), gh in e && (n[gh] = e[gh]), t.length ? Promise.all(t).then(() => n) : n;
	}
	return e;
}
function Fg(e) {
	return !!e?.schema;
}
var Ig = vu((e) => {
	let t = e.fragments;
	return Object.values(t);
});
function Lg(e) {
	let { info: t, schema: n, rootValue: r = n.rootValue ?? t.rootValue, operationName: i = t.operation.name?.value, operation: a = wg(t.parentType, t.schema), fieldName: o = t.fieldName, selectionSet: s, fieldNodes: c = t.fieldNodes, context: l, args: u } = e, d;
	if (ch(n)) d = n.transformedSchema;
	else if (S(n)) d = n;
	else {
		let e = (t.schema.extensions?.stitchingInfo)?.subschemaMap.get(n);
		d = e == null ? sh(n.schema, n) : e.transformedSchema;
	}
	let f = t ? Ig(t) : void 0, p = a === "mutation" ? d.getMutationType() : a === "subscription" ? d.getSubscriptionType() : d.getQueryType(), m = Tg({
		subgraphName: n.name,
		fragments: f,
		targetSchema: p?.getFields()[o] == null && Fg(n) ? n.schema : d,
		rootValue: r,
		targetOperationName: i,
		targetOperation: a,
		targetFieldName: o,
		selectionSet: s,
		fieldNodes: c,
		context: l,
		info: t,
		args: u
	});
	return zg({
		...e,
		targetSchema: d,
		request: m
	});
}
function Rg(e, t, n) {
	let r = Nu(e, t), i = r.getFields()[n];
	if (!i) throw Error(`Unable to find field '${n}' in type '${r}'.`);
	return i.type;
}
function zg(e) {
	let t = Bg(e), n = new bg(t), r = n.transformRequest(e.request);
	return e.validateRequest && Vg(t, r.document), tl(() => Ug(t)(r), function(e) {
		return Nd(e) ? t.operation === "query" && j(It(t.returnType)) ? new Of(async (t, r) => {
			let i = 0, a = !1;
			r.finally(() => {
				a = !0;
			});
			try {
				for await (let r of e) {
					if (a) break;
					if (r.incremental) {
						let e = {};
						for (let i of r.incremental) if (i.items?.length) {
							for (let t of i.items) Wg(e, (i.path || []).slice(0, -1), t);
							await t(await n.transformResult({ data: e }));
						}
						if (r.hasNext === !1) break;
						continue;
					}
					let e = await n.transformResult(r);
					if (Array.isArray(e)) for (let n = i; n < e.length && !a; n++) await t(await e[n]), i = n + 1;
					else await t(await e);
				}
				r();
			} catch (e) {
				r(e);
			}
		}) : al(e, (e) => n.transformResult(e)) : n.transformResult(e);
	});
}
function Bg({ request: e, schema: t, fieldName: n, returnType: r, info: i, args: a, transforms: o = [], targetSchema: s, skipTypeMerging: c = !1, onLocatedError: l }) {
	let u = Md(e), d;
	d = n ?? u.selectionSet.selections[0].name.value;
	let f = (i?.schema.extensions?.stitchingInfo)?.subschemaMap.get(t) ?? t, p = u.operation;
	if (Fg(f)) {
		let n = f.schema;
		return {
			subschema: t,
			subschemaConfig: f,
			targetSchema: n,
			operation: p,
			fieldName: d,
			context: e.context,
			info: i,
			returnType: r ?? i?.returnType ?? Rg(n, p, d),
			transforms: f.transforms == null ? o : f.transforms.concat(o),
			transformedSchema: s,
			skipTypeMerging: c,
			onLocatedError: l,
			args: a
		};
	}
	return {
		subschema: t,
		subschemaConfig: void 0,
		targetSchema: f,
		operation: p,
		fieldName: d,
		context: e.context,
		info: i,
		returnType: r ?? i?.returnType ?? Rg(f, p, d),
		transforms: o,
		transformedSchema: s ?? f,
		skipTypeMerging: c,
		onLocatedError: l,
		args: a
	};
}
function Vg(e, t) {
	let n = Ct(e.targetSchema, t);
	if (n.length > 0) {
		if (n.length > 1) throw AggregateError(n, n.map((e) => e.message).join(", \n"));
		let e = n[0];
		if (e) throw e.originalError || e;
	}
}
var Hg = {};
function Ug(e) {
	let { subschemaConfig: t, targetSchema: n, context: r } = e, i = t?.executor || Bm(n);
	if (t?.batch) {
		let e = t?.batchingOptions;
		i = oh(r ?? Hg, i, e?.dataLoaderOptions, e?.extensionsReducer);
	}
	return i;
}
function Wg(e, t, n) {
	let r = e;
	for (let e = 0; e < t.length - 1; e++) {
		let n = t[e];
		if (n == null || n === "__proto__" || n === "constructor" || n === "prototype") return;
		r[n] ?? (r[n] = typeof t[e + 1] == "number" ? [] : {}), r = r[n];
	}
	let i = t[t.length - 1];
	if (i == null || i === "__proto__" || i === "constructor" || i === "prototype") return;
	let a = r[i];
	r[i] = a ? gd([a, n]) : n;
}
// ../../../node_modules/.pnpm/@graphql-tools+wrap@11.2.1_graphql@17.1.0/node_modules/@graphql-tools/wrap/dist/index.js
function Gg(e) {
	let t = e.schema, n = e.createProxyingResolver ?? Jg, r = Iu(t), i = {};
	for (let [t, a] of r.entries()) {
		let r = a.name, o = a.getFields();
		i[r] = {};
		for (let a in o) {
			let o = qg(e, n({
				subschemaConfig: e,
				operation: t,
				fieldName: a
			}));
			t === "subscription" ? i[r][a] = {
				subscribe: o,
				resolve: Kg
			} : i[r][a] = { resolve: o };
		}
	}
	return i;
}
function Kg(e) {
	return e;
}
function qg(e, t) {
	return function(n, r, i, a) {
		if (n != null) {
			let t = a.fieldNodes[0].alias?.value ?? a.fieldName;
			if (yh(n)) {
				let r = Sh(n), o = xh(n, t);
				if (e === o && n[t] !== void 0) return Oh(n[t], r, o, i, a);
			}
		}
		return t(n, r, i, a);
	};
}
function Jg({ subschemaConfig: e, operation: t }) {
	return function(n, r, i, a) {
		return Lg({
			schema: e,
			operation: t,
			rootValue: n,
			args: r,
			context: i,
			info: a
		});
	};
}
var Yg = vu(function(e) {
	let t = e.schema;
	return sh(Xg(t, Gg(e)), e);
});
function Xg(e, t) {
	return Xu(e, {
		[Hu.ROOT_FIELD]: (e, n, r) => ({
			...e,
			...t[r]?.[n]
		}),
		[Hu.OBJECT_FIELD]: (e) => ({
			...e,
			resolve: Dg,
			subscribe: void 0
		}),
		[Hu.OBJECT_TYPE]: (e) => {
			let t = e.toConfig();
			return new Ke({
				...t,
				isTypeOf: void 0
			});
		},
		[Hu.INTERFACE_TYPE]: (e) => {
			let t = e.toConfig();
			return new vt({
				...t,
				resolveType: void 0
			});
		},
		[Hu.UNION_TYPE]: (e) => {
			let t = e.toConfig();
			return new Nt({
				...t,
				resolveType: void 0
			});
		},
		[Hu.ENUM_VALUE]: (e) => ({
			...e,
			value: void 0
		}),
		[Hu.SCALAR_TYPE]: (e) => Qe(e) ? e : new De({
			...e.toConfig(),
			serialize: void 0,
			parseValue: void 0,
			parseLiteral: void 0
		})
	});
}
function Zg(e, t) {
	if (e?.data?.__schema) return sa(e.data, t);
	if (e?.errors) {
		let t = e.errors.map((e) => kl(e.message, e));
		throw e.errors.length === 1 ? t[0] : AggregateError(t, "Could not obtain introspection result");
	}
	throw kl(`Could not obtain introspection result, received the following as response; 
 ${yl(e)}`);
}
function Qg(e, t, n) {
	let r = Lt(aa(n), n);
	return tl(() => tl(() => e({
		document: r,
		context: t
	}), (e) => Nd(e) ? e[Symbol.asyncIterator]().next().then(({ value: e }) => e) : e), (e) => Zg(e, n));
}
// ../../../node_modules/.pnpm/@graphql-tools+url-loader@10.0.9_@types+node@26.6.6_graphql@17.1.0/node_modules/@graphql-tools/url-loader/esm/defaultAsyncFetch.js
var $g = Qd.fetch, e_ = /* @__PURE__ */ Kt((/* @__PURE__ */ qt(((e, t) => {
	var n = new TextEncoder(), r = new TextDecoder();
	function i(...e) {
		let t = new i.Request(...e), n = new XMLHttpRequest();
		n.withCredentials = t.credentials === "include", n.timeout = t[a].timeout, n.open(t.method, t.url, !1);
		let r = !1;
		try {
			n.responseType = "arraybuffer";
		} catch {
			n.overrideMimeType("text/plain; charset=x-user-defined"), r = !0;
		}
		for (let e of t.headers) n.setRequestHeader(...e);
		n.send(t[a].body || null);
		let o = n.getAllResponseHeaders();
		o &&= o.split("\r\n").filter(Boolean).map((e) => e.split(": ", 2));
		let s = n.response;
		if (r) {
			let e = new Uint8Array(s.length);
			for (let t = 0; t < s.length; t++) e[t] = s.charCodeAt(t) & 255;
			s = e;
		}
		let c = new i.Response(s, {
			headers: o,
			status: n.status,
			statusText: n.statusText
		});
		return c[a].url = n.responseURL, c[a].redirected = n.responseURL !== t.url, c;
	}
	var a = Symbol("SyncFetch Internals"), o = [
		"mode",
		"cache",
		"redirect",
		"referrer",
		"integrity"
	], s = {
		100: "Continue",
		101: "Switching Protocols",
		200: "OK",
		201: "Created",
		202: "Accepted",
		203: "Non-Authoritative Information",
		204: "No Content",
		205: "Reset Content",
		206: "Partial Content",
		300: "Multiple Choices",
		301: "Moved Permanently",
		302: "Found",
		303: "See Other",
		304: "Not Modified",
		305: "Use Proxy",
		307: "Temporary Redirect",
		400: "Bad Request",
		401: "Unauthorized",
		402: "Payment Required",
		403: "Forbidden",
		404: "Not Found",
		405: "Method Not Allowed",
		406: "Not Acceptable",
		407: "Proxy Authentication Required",
		408: "Request Timeout",
		409: "Conflict",
		410: "Gone",
		411: "Length Required",
		412: "Precondition Failed",
		413: "Payload Too Large",
		414: "URI Too Long",
		415: "Unsupported Media Type",
		416: "Range Not Satisfiable",
		417: "Expectation Failed",
		426: "Upgrade Required",
		500: "Internal Server Error",
		501: "Not Implemented",
		502: "Bad Gateway",
		503: "Service Unavailable",
		504: "Gateway Timeout",
		505: "HTTP Version Not Supported"
	}, c = class e {
		constructor(t, n = {}) {
			for (let e of o) if (e in n) throw TypeError(`option ${e} not supported`);
			if (n.credentials === "same-origin") throw TypeError("option credentials with value 'same-origin' not supported");
			if (this[a] = {
				method: n.method || "GET",
				headers: new i.Headers(n.headers),
				body: p(n.body),
				credentials: n.credentials || "omit",
				timeout: n.timeout || 0
			}, typeof t == "string") this[a].url = t;
			else if (t instanceof e) this[a].url = t.url, n.method || (this[a].method = t.method), n.headers || (this[a].headers = t.headers), n.body || (this[a].body = t[a].body), n.credentials || (this[a].credentials = t.credentials);
			else throw TypeError("Request input should be a URL string or a Request object");
		}
		get cache() {
			return "default";
		}
		get credentials() {
			return this[a].credentials;
		}
		get destination() {
			return "";
		}
		get headers() {
			return this[a].headers;
		}
		get integrity() {
			return "";
		}
		get method() {
			return this[a].method;
		}
		get mode() {
			return "cors";
		}
		get priority() {
			return "auto";
		}
		get redirect() {
			return "follow";
		}
		get referrer() {
			return "about:client";
		}
		get referrerPolicy() {
			return "";
		}
		get url() {
			return this[a].url;
		}
		clone() {
			return d(this), new e(this.url, this[a]);
		}
	}, l = class e {
		constructor(e, t = {}) {
			this[a] = {
				body: p(e),
				bodyUsed: !1,
				headers: new i.Headers(t.headers),
				status: t.status,
				statusText: t.statusText
			};
		}
		get headers() {
			return this[a].headers;
		}
		get ok() {
			let e = this[a].status;
			return e >= 200 && e < 300;
		}
		get redirected() {
			return this[a].redirected;
		}
		get status() {
			return this[a].status;
		}
		get statusText() {
			return this[a].statusText;
		}
		get url() {
			return this[a].url;
		}
		clone() {
			return this.redirect(this[a].url, this[a].status);
		}
		redirect(t, n) {
			d(this);
			let r = new e(this[a].body, {
				headers: this[a].headers,
				status: n || this[a].status,
				statusText: s[n] || this[a].statusText
			});
			return r[a].url = t || this[a].url, r[a].redirected = this[a].redirected, r;
		}
	}, u = class e {
		constructor(e) {
			this[a] = {
				body: p(e),
				bodyUsed: !1
			};
		}
		get bodyUsed() {
			return this[a].bodyUsed;
		}
		static mixin(t) {
			for (let n of Object.getOwnPropertyNames(e.prototype)) {
				if (n === "constructor") continue;
				let r = Object.getOwnPropertyDescriptor(e.prototype, n);
				Object.defineProperty(t, n, {
					...r,
					enumerable: !0
				});
			}
		}
		arrayBuffer() {
			let e = f(this);
			return e.buffer.slice(e.byteOffset, e.byteOffset + e.byteLength);
		}
		blob() {
			let e = this.headers && this.headers.get("content-type");
			return new Blob([f(this)], e && { type: e });
		}
		text() {
			return r.decode(f(this));
		}
		json() {
			try {
				return JSON.parse(this.text());
			} catch (e) {
				throw TypeError(`invalid json response body at ${this.url} reason: ${e.message}`, "invalid-json");
			}
		}
	};
	function d(e) {
		if (e.bodyUsed) throw TypeError(`body used already for: ${e.url}`);
	}
	function f(e) {
		return d(e), e[a].bodyUsed = !0, e[a].body || /* @__PURE__ */ new Uint8Array();
	}
	function p(e) {
		return typeof e == "string" ? n.encode(e) : e || null;
	}
	u.mixin(c.prototype), u.mixin(l.prototype), i.Headers = class {
		constructor(e) {
			if (e instanceof i.Headers) this[a] = { ...e[a] };
			else if (this[a] = {}, Array.isArray(e)) for (let [t, n] of e) this.append(t, n);
			else if (typeof e == "object") for (let t in e) this.set(t, e[t]);
		}
		append(e, t) {
			e = e.toLowerCase(), this[a][e] || (this[a][e] = []), this[a][e].push(t);
		}
		delete(e) {
			delete this[a][e.toLowerCase()];
		}
		set(e, t) {
			this[a][e.toLowerCase()] = [t];
		}
		entries() {
			let e = [];
			for (let t in this[a]) for (let n of this[a][t]) e.push([t, n]);
			return e;
		}
		get(e) {
			return e = e.toLowerCase(), e in this[a] ? this[a][e].join(", ") : null;
		}
		keys() {
			return Object.keys(this[a]);
		}
		has(e) {
			return e.toLowerCase() in this[a];
		}
		values() {
			let e = [];
			for (let t in this[a]) for (let n of this[a][t]) e.push(n);
			return e;
		}
		*[Symbol.iterator]() {
			for (let e in this[a]) for (let t of this[a][e]) yield [e, t];
		}
	}, i.Request = c, i.Response = l, t.exports = i;
})))(), 1), t_ = (e, t) => (typeof e == "string" ? delete t?.signal : delete e.signal, (0, e_.default)(e, t)), n_ = (e) => import(`${e}`), r_ = (e) => Gt(`${e}`), i_;
(function(e) {
	e.WS = "WS", e.LEGACY_WS = "LEGACY_WS", e.SSE = "SSE", e.GRAPHQL_SSE = "GRAPHQL_SSE";
})(i_ ||= {});
var a_ = [
	"http:",
	"https:",
	"ws:",
	"wss:"
];
function o_(e) {
	return a_.some((t) => e.startsWith(t)) ? Zf(e) : !1;
}
var s_ = class {
	buildHTTPExecutor(e, t, n) {
		return Jf({
			endpoint: c_(e, {
				wss: "https",
				ws: "http"
			}),
			fetch: t,
			...n
		});
	}
	buildWSExecutor(e, t, n) {
		return qd({
			url: c_(e, {
				https: "wss",
				http: "ws"
			}),
			webSocketImpl: t,
			connectionParams: n
		});
	}
	buildWSLegacyExecutor(e, t, n) {
		return Sp(c_(e, {
			https: "wss",
			http: "ws"
		}), t, n);
	}
	getFetch(e, t) {
		if (e) {
			if (typeof e == "string") {
				let [n, r] = e.split("#");
				return Fl(() => t(n), (e) => r ? e[r] : e);
			}
			if (typeof e == "function") return e;
		}
		return t === n_ ? $g : t_;
	}
	getDefaultMethodFromOptions(e, t) {
		return e && (t = e), t;
	}
	getWebSocketImpl(e, t) {
		if (typeof t?.webSocketImpl == "string") {
			let [n, r] = t.webSocketImpl.split("#");
			return Fl(() => e(n), (e) => r ? e[r] : e);
		}
		return t?.webSocketImpl || Zc;
	}
	buildSubscriptionExecutor(e, t, n, r) {
		return r?.subscriptionsProtocol === i_.SSE ? this.buildHTTPExecutor(e, t, r) : r?.subscriptionsProtocol === i_.GRAPHQL_SSE ? (r?.subscriptionsEndpoint || (e += "/stream"), this.buildHTTPExecutor(e, t, r)) : (t) => Fl(() => Fl(() => this.getWebSocketImpl(n, r), (t) => r?.subscriptionsProtocol === i_.LEGACY_WS ? this.buildWSLegacyExecutor(e, t, r) : this.buildWSExecutor(e, t, r?.connectionParams)), (e) => e(t));
	}
	getExecutor(e, t, n) {
		let r, i = () => Fl(() => r ||= this.getFetch(n?.customFetch, t), (t) => this.buildHTTPExecutor(e, t, n)), a = () => o ||= i(), o;
		if (n?.subscriptionsEndpoint != null || n?.subscriptionsProtocol !== i_.SSE) {
			let i = Fl(() => r ||= this.getFetch(n?.customFetch, t), (r) => {
				let i = n?.subscriptionsEndpoint || e;
				return this.buildSubscriptionExecutor(i, r, t, n);
			});
			function o(e) {
				return e.operationType = e.operationType || yp(e)?.operation, e.operationType === "subscription" && Kf(yp(e)) && (e.operationType = "subscription"), e.operationType === "subscription" ? i : a();
			}
			return (e) => Fl(() => o(e), (t) => t(e));
		}
		return (e) => Fl(a, (t) => t(e));
	}
	getExecutorAsync(e, t) {
		return this.getExecutor(e, n_, t);
	}
	getExecutorSync(e, t) {
		return this.getExecutor(e, r_, t);
	}
	handleSDL(e, t, n) {
		let r = this.getDefaultMethodFromOptions(n?.method, "GET");
		return Fl(() => t(e, {
			method: r,
			headers: typeof n?.headers == "function" ? n.headers() : n?.headers
		}), (t) => Fl(() => t.text(), (t) => mp(e, t, n)));
	}
	async load(e, t) {
		if (!o_(e)) return [];
		let n = { location: e }, r;
		if (t?.handleAsSDL || e.endsWith(".graphql") || e.endsWith(".graphqls")) {
			let r = await this.getFetch(t?.customFetch, n_);
			if (n = await this.handleSDL(e, r, t), !n.schema && !n.document && !n.rawSDL) throw Error("Invalid SDL response");
			n.schema = n.schema || (n.document ? Oe(n.document, t) : n.rawSDL ? pt(n.rawSDL, t) : void 0);
		} else r = this.getExecutorAsync(e, t), n.schema = await Qg(r, {}, t);
		if (!n.schema) throw Error("Invalid introspected schema");
		return t?.endpoint && (r = this.getExecutorAsync(t.endpoint, t)), r && (n.schema = Yg({
			schema: n.schema,
			executor: r,
			batch: t?.batch
		})), [n];
	}
	loadSync(e, t) {
		if (!o_(e)) return [];
		let n = { location: e }, r;
		if (t?.handleAsSDL || e.endsWith(".graphql") || e.endsWith(".graphqls")) {
			let r = this.getFetch(t?.customFetch, r_);
			if (n = this.handleSDL(e, r, t), !n.schema && !n.document && !n.rawSDL) throw Error("Invalid SDL response");
			n.schema = n.schema || (n.document ? Oe(n.document, t) : n.rawSDL ? pt(n.rawSDL, t) : void 0);
		} else r = this.getExecutorSync(e, t), n.schema = Qg(r, {}, t);
		if (!n.schema) throw Error("Invalid introspected schema");
		return t?.endpoint && (r = this.getExecutorSync(t.endpoint, t)), r && (n.schema = Yg({
			schema: n.schema,
			executor: r
		})), [n];
	}
};
function c_(e, t) {
	return Object.entries(t).reduce((e, [t, n]) => e.replace(`${t}://`, `${n}://`).replace(`${t}:\\`, `${n}:\\`), e);
}
// src/lib/endpoint.ts
var l_ = "Expected error reason", u_ = (e) => {
	let [t, n] = U(e.defaultEndpoint ?? null), [r, i] = U(null), [a, o] = U(!1), s = H(null), c = H(!1), l = z((e) => {
		let t = e ? JSON.stringify(e) : null;
		t !== s.current && (s.current = t, i(e));
	}, []), u = z((t) => {
		n(t), e.onEndpointChange?.(t);
	}, [e]), d = V(() => r ? sa(r) : null, [r]), f = V(() => new s_(), []), p = H(e.operationsApi?.activeOperation?.headers), m = H(e.envApi?.env?.variables), h = H(e.pluginsApi?.pluginsState);
	p.current = e.operationsApi?.activeOperation?.headers, m.current = e.envApi?.env?.variables, h.current = e.pluginsApi?.pluginsState;
	let g = V(() => (0, po.debounce)(async (n, r) => {
		o(!0);
		try {
			if (t === e.defaultEndpoint && e.defaultSchemaIntrospection && !r?.force && !c.current) {
				l(e.defaultSchemaIntrospection ?? null);
				return;
			}
			if (!t) {
				l(null);
				return;
			}
			let i = r?.env?.variables ?? m.current ?? {}, a = r?.pluginsState ?? h.current ?? {}, o = {};
			if (e.settingsApi?.settings.introspection.headers) try {
				o = JSON.parse(e.settingsApi?.settings.introspection.headers);
			} catch {}
			if (e.settingsApi?.settings.introspection.includeActiveOperationHeaders && p.current) try {
				o = {
					...o,
					...JSON.parse(p.current)
				};
			} catch {}
			let s = JSON.stringify(o), u = {};
			if (s.includes("{{")) try {
				let t = await e.preflightApi?.runPreflight?.(e.pluginsApi?.plugins ?? [], e.pluginsApi?.pluginsState ?? {});
				t && (e.envApi?.setEnv(t.env), e.pluginsApi?.setPluginsState(t.pluginsState), i = t.env.variables, a = t.pluginsState, u = t.headers);
			} catch {
				Oo.error("Failed to run preflight");
			}
			let d = {};
			try {
				d = JSON.parse(fs(s, {
					...i,
					plugins: a
				}));
			} catch {
				Oo.error("Failed to parse headers"), d = {};
			}
			d = ds(d, u);
			let g = await f.load(t, {
				subscriptionsEndpoint: t,
				subscriptionsProtocol: e.settingsApi?.settings.subscriptions.protocol ?? i_.GRAPHQL_SSE,
				headers: d,
				credentials: e.settingsApi?.settings.fetch.credentials,
				specifiedByUrl: !0,
				directiveIsRepeatable: !0,
				inputValueDeprecation: !0,
				timeout: e.settingsApi?.settings.fetch.timeout,
				useGETForQueries: e.settingsApi?.settings.fetch.useGETForQueries,
				exposeHTTPDetailsInExtensions: !0,
				descriptions: e.enableDocs === !0,
				method: e.settingsApi?.settings.introspection.method ?? "POST",
				fetch: (e, t) => fetch(e, {
					...t,
					signal: n
				})
			});
			if (g.length === 0 || !g[0].schema) throw Error("Failed to fetch schema");
			l(oa(g[0].schema));
		} catch (e) {
			if (e && typeof e == "object" && "message" in e && typeof e.message == "string") {
				if (e.message === "Expected error reason") return;
				Oo.error(e.message);
			} else Oo.error("Failed to fetch schema");
			throw l(null), e;
		} finally {
			o(!1);
		}
	}, 500), [
		l,
		t,
		e.defaultEndpoint,
		e.defaultSchemaIntrospection,
		e.enableDocs,
		e.settingsApi?.settings.fetch.timeout,
		e.settingsApi?.settings.introspection.method,
		e.settingsApi?.settings.introspection.headers,
		e.settingsApi?.settings.introspection.includeActiveOperationHeaders
	]);
	B(() => () => {
		g.cancel(), o(!1);
	}, [g]), B(() => {
		c.current = !1;
	}, [t, e.defaultSchemaIntrospection]);
	let _ = z(() => {
		c.current = !0, o(!0), g(void 0, { force: !0 });
	}, [g]), v = V(() => t !== e.defaultEndpoint || !e.defaultSchemaIntrospection, [
		t,
		e.defaultEndpoint,
		e.defaultSchemaIntrospection
	]), y = V(() => v && e.settingsApi?.settings.introspection.pollSchema !== !1, [v, e.settingsApi?.settings.introspection.pollSchema]);
	B(() => {
		if (!y || !t) return;
		let e = new AbortController();
		return Gc(async () => {
			try {
				await g(e.signal);
			} catch {
				e.abort(/* @__PURE__ */ Error("Aborted because of schema polling error"));
			}
		}, 5e3, e.signal), () => {
			e.abort(/* @__PURE__ */ Error(l_));
		};
	}, [y, g]);
	let b = z(() => {
		e.defaultEndpoint && u(e.defaultEndpoint);
	}, [e.defaultEndpoint]);
	return B(() => {
		if (t && !y) {
			let e = new AbortController();
			return g(e.signal), () => {
				e.abort(/* @__PURE__ */ Error(l_));
			};
		}
	}, [
		t,
		g,
		y
	]), B(() => {
		if (!t || !y) return;
		let n = new AbortController();
		return g(n.signal, {
			env: e.envApi?.env ?? void 0,
			pluginsState: e.pluginsApi?.pluginsState
		}), () => {
			n.abort(/* @__PURE__ */ Error(l_));
		};
	}, [
		t,
		y,
		g,
		e.settingsApi?.settings.introspection.headers,
		e.settingsApi?.settings.introspection.includeActiveOperationHeaders
	]), {
		endpoint: t,
		setEndpoint: u,
		schema: d,
		introspection: r,
		fetchSchema: g,
		reloadSchema: _,
		restoreDefaultEndpoint: b,
		defaultEndpoint: e.defaultEndpoint ?? null,
		canIntrospect: v,
		shouldPollSchema: y,
		isFetchingSchema: a
	};
}, d_ = (e) => {
	let [t, n] = U(e.defaultEnv ?? { variables: {} });
	return {
		env: t,
		setEnv: z((t) => {
			n(t), e.onEnvChange?.(t);
		}, [e])
	};
}, f_ = (e) => {
	let [t, n] = U(e.defaultHistory ?? []), r = H(t);
	return B(() => {
		r.current = t;
	}, [t]), {
		history: t,
		addHistory: z((r) => {
			let i = {
				...r,
				id: ei()
			}, a = [...t, i];
			return n(a), e.onHistoryChange?.(a), e.onHistoryCreate?.(i), i;
		}, [t, e]),
		addResponseToHistory: z((t, i) => {
			let a = r.current.find((e) => e.id === t);
			if (a && "responses" in a) {
				let o = [...a.responses, {
					createdAt: (/* @__PURE__ */ new Date()).toISOString(),
					data: i
				}], s = {
					...a,
					responses: o
				}, c = r.current.map((e) => e.id === t ? s : e);
				n(c), e.onHistoryChange?.(c), e.onHistoryUpdate?.(s);
			}
		}, [e]),
		deleteHistory: z((t) => {
			let i = r.current.find((e) => e.id === t), a = r.current.filter((e) => e.id !== t);
			n(a), e.onHistoryChange?.(a), i && e.onHistoryDelete?.(i);
		}, [e]),
		deleteAllHistory: z(() => {
			let t = [...r.current];
			if (n([]), e.onHistoryChange?.([]), e.onHistoryDelete) for (let n of t) e.onHistoryDelete(n);
		}, [e]),
		deleteHistoryByDay: z((t) => {
			let i = r.current.filter((e) => Vr(new Date(e.createdAt), "dd MMM yyyy") === t), a = r.current.filter((e) => Vr(new Date(e.createdAt), "dd MMM yyyy") !== t);
			if (n(a), e.onHistoryChange?.(a), e.onHistoryDelete) for (let t of i) e.onHistoryDelete(t);
		}, [e])
	};
};
// src/lib/monaco-shadow-dom.ts
function p_(e) {
	let t = (e) => {
		let t = e.target;
		typeof t?.closest == "function" && t.closest(".monaco-editor") && e.stopPropagation();
	};
	return e.addEventListener("mousemove", t), () => e.removeEventListener("mousemove", t);
}
// src/lib/operations.ts
function m_(e) {
	try {
		return ci(Lt(e))?.operation ?? null;
	} catch {
		return null;
	}
}
var h_ = (e, t) => {
	let n = e.definitions.filter((e) => !(e.kind === "OperationDefinition" && t && e.name?.value !== t));
	return {
		kind: be,
		definitions: n
	};
}, g_ = (e) => {
	let [t, n] = U(e.defaultOperations ?? []), i = V(() => {
		let n = e.tabsApi?.activeTab;
		return n && n.type === "operation" ? t.find((e) => e.id === n.data.id) ?? null : null;
	}, [e.tabsApi, t]), a = z((t) => {
		let n = e.tabsApi?.tabs.find((e) => e.type === "operation" && e.data.id === t) ?? null;
		n && e.tabsApi?.setActiveTab(n);
	}, [e.tabsApi]), o = z((t) => {
		n(t), e.onOperationsChange?.(t);
	}, [e]), s = H(t);
	s.current = t;
	let c = z((t, r) => {
		let i = s.current.map((e) => e.id === t ? {
			...e,
			id: r
		} : e);
		n(i), e.onOperationsChange?.(i);
	}, [e]), l = z((r) => {
		let i = {
			id: ei(),
			...r
		}, a = [...t, i];
		return n(a), e.onOperationsChange?.(a), e.onOperationCreate?.(i), i;
	}, [t, e]);
	B(() => {
		let t = new URLSearchParams(window.location.search).get("share");
		if (t) {
			let n = Ur(t);
			if (n) {
				let { n: t, q: r, v: i, h: a, e: o } = JSON.parse(n), s = l({
					name: t,
					query: r,
					variables: i,
					headers: a,
					extensions: o
				}), c = e.tabsApi?.addTab({
					type: "operation",
					data: s
				});
				c && e.tabsApi?.setActiveTab(c);
				let u = new URLSearchParams(window.location.search);
				u.delete("share"), window.history.replaceState(null, "", window.location.pathname + "?" + u.toString());
			}
		}
	}, []);
	let u = z((r) => {
		let a = {
			...i,
			...r
		};
		if (a.query) {
			let e = es(a.query);
			e && (a.name = e);
		}
		let o = t.map((e) => e.id === i?.id ? a : e);
		if (n(o), e.onOperationsChange?.(o), a.id && e.onOperationUpdate?.(a), e.collectionsApi && e.checkPermissions?.("collectionsOperations:update") && i?.id) {
			let t = e.collectionsApi.collections.find((e) => e.operations.some((e) => e.id === i.id))?.id ?? "";
			e.collectionsApi.updateOperationInCollection(t, i.id, a);
		}
	}, [
		i,
		t,
		e.checkPermissions,
		e.collectionsApi
	]), d = z((r) => {
		let o = t.find((e) => e.id === r), s = t.filter((e) => e.id !== r);
		n(s), e.onOperationsChange?.(s), o && e.onOperationDelete?.(o), i?.id === r && a(s[0]?.id ?? "");
	}, [
		i,
		t,
		e,
		a
	]), f = z((e, t, n) => {
		if (!i) return;
		let r = {
			...i,
			query: Qo(i.query, e, t, n)
		};
		u(r);
	}, [i, u]), p = z((e, t) => {
		if (!i?.query) return;
		let n = {
			...i,
			query: $o(i.query, e, t)
		};
		u(n);
	}, [i, u]), m = z((e, t, n, r) => {
		if (!i?.query) return;
		let a = {
			...i,
			query: rs(i.query, e, t, n, r)
		};
		u(a);
	}, [i, u]), h = z((e, t, n) => {
		if (!i?.query) return;
		let r = {
			...i,
			query: is(i.query, e, t, n)
		};
		u(r);
	}, [i, u]), [g, _] = U({}), v = z((e) => Object.keys(g).includes(e), [g]), y = V(() => i ? v(i.id) : !1, [i, v]), b = V(() => new s_(), []), x = z(async (t, n, a = e.pluginsApi?.plugins ?? [], o = e.pluginsApi?.pluginsState ?? {}) => {
		if (!i?.query) return null;
		let s, c;
		if (n?.env) s = n.env, c = n.headers ?? {};
		else {
			let t = await e.preflightApi?.runPreflight?.(a, o);
			s = t?.env ?? { variables: {} }, c = t?.headers ?? {}, t && (o = t.pluginsState, e.pluginsApi?.setPluginsState(o));
		}
		s && Object.keys(s?.variables ?? {}).length > 0 ? e.envApi?.setEnv(s) : s = e.envApi?.env ?? { variables: {} };
		let l = ds(i.headers ? JSON.parse(fs(i.headers, {
			...s.variables,
			plugins: o
		})) : {}, c), u = i.variables ? JSON.parse(fs(i.variables, {
			...s.variables,
			plugins: o
		})) : {}, d = i.extensions ? JSON.parse(fs(i.extensions, {
			...s.variables,
			plugins: o
		})) : {}, f = b.getExecutorAsync(t, {
			subscriptionsEndpoint: t,
			subscriptionsProtocol: e.settingsApi?.settings.subscriptions.protocol ?? i_.GRAPHQL_SSE,
			credentials: e.settingsApi?.settings.fetch.credentials,
			specifiedByUrl: !0,
			directiveIsRepeatable: !0,
			inputValueDeprecation: !0,
			timeout: e.settingsApi?.settings.fetch.timeout,
			useGETForQueries: e.settingsApi?.settings.fetch.useGETForQueries,
			exposeHTTPDetailsInExtensions: !0,
			fetch
		}), p = h_(Lt(i.query)), m = new AbortController();
		_((e) => ({
			...e,
			[i.id]: () => {
				m.abort("Operation aborted by user");
			}
		}));
		try {
			let e = await f({
				document: p,
				operationName: n?.operationName,
				variables: u,
				extensions: {
					...d,
					headers: l
				},
				signal: m.signal
			});
			if (Kc(e)) {
				try {
					for await (let t of qc(e, m.signal)) n?.onResponse?.(JSON.stringify(t ?? {}));
				} finally {
					_((e) => {
						let t = { ...e };
						return delete t[i.id], t;
					});
				}
				return null;
			}
			return e.extensions?.response?.body && delete e.extensions.response.body, _((e) => {
				let t = { ...e };
				return delete t[i.id], t;
			}), e;
		} catch (e) {
			return _((e) => {
				let t = { ...e };
				return delete t[i.id], t;
			}), m.signal.aborted ? null : e instanceof Error ? { errors: [new r(e.message)] } : { errors: [new r("An unknown error occurred")] };
		}
	}, [
		i,
		e.preflightApi,
		e.envApi,
		e.pluginsApi,
		e.settingsApi
	]), S = z((e) => m_(e.query) === "subscription", []), C = V(() => i ? S(i) : !1, [i, S]);
	return {
		operations: t,
		setOperations: o,
		replaceOperationId: c,
		runActiveOperation: x,
		setActiveOperation: a,
		activeOperation: i,
		addOperation: l,
		updateActiveOperation: u,
		deleteOperation: d,
		addPathToActiveOperation: f,
		deletePathFromActiveOperation: p,
		addArgToActiveOperation: m,
		deleteArgFromActiveOperation: h,
		isActiveOperationLoading: y,
		stopActiveOperation: g[i?.id ?? ""],
		isActiveOperationSubscription: C,
		isOperationSubscription: S,
		isOperationLoading: v
	};
}, __ = (e) => {
	let [t, n] = U({
		...e.plugins?.reduce((e, t) => (e[t.id] = t.defaultState ?? {}, e), {}),
		...e.defaultPluginsState
	}), r = z((t) => {
		n(t), e.onPluginsStateChange?.(t);
	}, [e]);
	return {
		plugins: e.plugins ?? [],
		pluginsState: t,
		setPluginsState: r
	};
}, v_ = ";(function (root, factory) {\n	if (typeof exports === \"object\") {\n		// CommonJS\n		module.exports = exports = factory();\n	}\n	else if (typeof define === \"function\" && define.amd) {\n		// AMD\n		define([], factory);\n	}\n	else {\n		// Global (browser)\n		root.CryptoJS = factory();\n	}\n}(this, function () {\n\n	/*globals window, global, require*/\n\n	/**\n	 * CryptoJS core components.\n	 */\n	var CryptoJS = CryptoJS || (function (Math, undefined) {\n\n	    var crypto;\n\n	    // Native crypto from window (Browser)\n	    if (typeof window !== 'undefined' && window.crypto) {\n	        crypto = window.crypto;\n	    }\n\n	    // Native crypto in web worker (Browser)\n	    if (typeof self !== 'undefined' && self.crypto) {\n	        crypto = self.crypto;\n	    }\n\n	    // Native crypto from worker\n	    if (typeof globalThis !== 'undefined' && globalThis.crypto) {\n	        crypto = globalThis.crypto;\n	    }\n\n	    // Native (experimental IE 11) crypto from window (Browser)\n	    if (!crypto && typeof window !== 'undefined' && window.msCrypto) {\n	        crypto = window.msCrypto;\n	    }\n\n	    // Native crypto from global (NodeJS)\n	    if (!crypto && typeof global !== 'undefined' && global.crypto) {\n	        crypto = global.crypto;\n	    }\n\n	    // Native crypto import via require (NodeJS)\n	    if (!crypto && typeof require === 'function') {\n	        try {\n	            crypto = require('crypto');\n	        } catch (err) {}\n	    }\n\n	    /*\n	     * Cryptographically secure pseudorandom number generator\n	     *\n	     * As Math.random() is cryptographically not safe to use\n	     */\n	    var cryptoSecureRandomInt = function () {\n	        if (crypto) {\n	            // Use getRandomValues method (Browser)\n	            if (typeof crypto.getRandomValues === 'function') {\n	                try {\n	                    return crypto.getRandomValues(new Uint32Array(1))[0];\n	                } catch (err) {}\n	            }\n\n	            // Use randomBytes method (NodeJS)\n	            if (typeof crypto.randomBytes === 'function') {\n	                try {\n	                    return crypto.randomBytes(4).readInt32LE();\n	                } catch (err) {}\n	            }\n	        }\n\n	        throw new Error('Native crypto module could not be used to get secure random number.');\n	    };\n\n	    /*\n	     * Local polyfill of Object.create\n\n	     */\n	    var create = Object.create || (function () {\n	        function F() {}\n\n	        return function (obj) {\n	            var subtype;\n\n	            F.prototype = obj;\n\n	            subtype = new F();\n\n	            F.prototype = null;\n\n	            return subtype;\n	        };\n	    }());\n\n	    /**\n	     * CryptoJS namespace.\n	     */\n	    var C = {};\n\n	    /**\n	     * Library namespace.\n	     */\n	    var C_lib = C.lib = {};\n\n	    /**\n	     * Base object for prototypal inheritance.\n	     */\n	    var Base = C_lib.Base = (function () {\n\n\n	        return {\n	            /**\n	             * Creates a new object that inherits from this object.\n	             *\n	             * @param {Object} overrides Properties to copy into the new object.\n	             *\n	             * @return {Object} The new object.\n	             *\n	             * @static\n	             *\n	             * @example\n	             *\n	             *     var MyType = CryptoJS.lib.Base.extend({\n	             *         field: 'value',\n	             *\n	             *         method: function () {\n	             *         }\n	             *     });\n	             */\n	            extend: function (overrides) {\n	                // Spawn\n	                var subtype = create(this);\n\n	                // Augment\n	                if (overrides) {\n	                    subtype.mixIn(overrides);\n	                }\n\n	                // Create default initializer\n	                if (!subtype.hasOwnProperty('init') || this.init === subtype.init) {\n	                    subtype.init = function () {\n	                        subtype.$super.init.apply(this, arguments);\n	                    };\n	                }\n\n	                // Initializer's prototype is the subtype object\n	                subtype.init.prototype = subtype;\n\n	                // Reference supertype\n	                subtype.$super = this;\n\n	                return subtype;\n	            },\n\n	            /**\n	             * Extends this object and runs the init method.\n	             * Arguments to create() will be passed to init().\n	             *\n	             * @return {Object} The new object.\n	             *\n	             * @static\n	             *\n	             * @example\n	             *\n	             *     var instance = MyType.create();\n	             */\n	            create: function () {\n	                var instance = this.extend();\n	                instance.init.apply(instance, arguments);\n\n	                return instance;\n	            },\n\n	            /**\n	             * Initializes a newly created object.\n	             * Override this method to add some logic when your objects are created.\n	             *\n	             * @example\n	             *\n	             *     var MyType = CryptoJS.lib.Base.extend({\n	             *         init: function () {\n	             *             // ...\n	             *         }\n	             *     });\n	             */\n	            init: function () {\n	            },\n\n	            /**\n	             * Copies properties into this object.\n	             *\n	             * @param {Object} properties The properties to mix in.\n	             *\n	             * @example\n	             *\n	             *     MyType.mixIn({\n	             *         field: 'value'\n	             *     });\n	             */\n	            mixIn: function (properties) {\n	                for (var propertyName in properties) {\n	                    if (properties.hasOwnProperty(propertyName)) {\n	                        this[propertyName] = properties[propertyName];\n	                    }\n	                }\n\n	                // IE won't copy toString using the loop above\n	                if (properties.hasOwnProperty('toString')) {\n	                    this.toString = properties.toString;\n	                }\n	            },\n\n	            /**\n	             * Creates a copy of this object.\n	             *\n	             * @return {Object} The clone.\n	             *\n	             * @example\n	             *\n	             *     var clone = instance.clone();\n	             */\n	            clone: function () {\n	                return this.init.prototype.extend(this);\n	            }\n	        };\n	    }());\n\n	    /**\n	     * An array of 32-bit words.\n	     *\n	     * @property {Array} words The array of 32-bit words.\n	     * @property {number} sigBytes The number of significant bytes in this word array.\n	     */\n	    var WordArray = C_lib.WordArray = Base.extend({\n	        /**\n	         * Initializes a newly created word array.\n	         *\n	         * @param {Array} words (Optional) An array of 32-bit words.\n	         * @param {number} sigBytes (Optional) The number of significant bytes in the words.\n	         *\n	         * @example\n	         *\n	         *     var wordArray = CryptoJS.lib.WordArray.create();\n	         *     var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);\n	         *     var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);\n	         */\n	        init: function (words, sigBytes) {\n	            words = this.words = words || [];\n\n	            if (sigBytes != undefined) {\n	                this.sigBytes = sigBytes;\n	            } else {\n	                this.sigBytes = words.length * 4;\n	            }\n	        },\n\n	        /**\n	         * Converts this word array to a string.\n	         *\n	         * @param {Encoder} encoder (Optional) The encoding strategy to use. Default: CryptoJS.enc.Hex\n	         *\n	         * @return {string} The stringified word array.\n	         *\n	         * @example\n	         *\n	         *     var string = wordArray + '';\n	         *     var string = wordArray.toString();\n	         *     var string = wordArray.toString(CryptoJS.enc.Utf8);\n	         */\n	        toString: function (encoder) {\n	            return (encoder || Hex).stringify(this);\n	        },\n\n	        /**\n	         * Concatenates a word array to this word array.\n	         *\n	         * @param {WordArray} wordArray The word array to append.\n	         *\n	         * @return {WordArray} This word array.\n	         *\n	         * @example\n	         *\n	         *     wordArray1.concat(wordArray2);\n	         */\n	        concat: function (wordArray) {\n	            // Shortcuts\n	            var thisWords = this.words;\n	            var thatWords = wordArray.words;\n	            var thisSigBytes = this.sigBytes;\n	            var thatSigBytes = wordArray.sigBytes;\n\n	            // Clamp excess bits\n	            this.clamp();\n\n	            // Concat\n	            if (thisSigBytes % 4) {\n	                // Copy one byte at a time\n	                for (var i = 0; i < thatSigBytes; i++) {\n	                    var thatByte = (thatWords[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n	                    thisWords[(thisSigBytes + i) >>> 2] |= thatByte << (24 - ((thisSigBytes + i) % 4) * 8);\n	                }\n	            } else {\n	                // Copy one word at a time\n	                for (var j = 0; j < thatSigBytes; j += 4) {\n	                    thisWords[(thisSigBytes + j) >>> 2] = thatWords[j >>> 2];\n	                }\n	            }\n	            this.sigBytes += thatSigBytes;\n\n	            // Chainable\n	            return this;\n	        },\n\n	        /**\n	         * Removes insignificant bits.\n	         *\n	         * @example\n	         *\n	         *     wordArray.clamp();\n	         */\n	        clamp: function () {\n	            // Shortcuts\n	            var words = this.words;\n	            var sigBytes = this.sigBytes;\n\n	            // Clamp\n	            words[sigBytes >>> 2] &= 0xffffffff << (32 - (sigBytes % 4) * 8);\n	            words.length = Math.ceil(sigBytes / 4);\n	        },\n\n	        /**\n	         * Creates a copy of this word array.\n	         *\n	         * @return {WordArray} The clone.\n	         *\n	         * @example\n	         *\n	         *     var clone = wordArray.clone();\n	         */\n	        clone: function () {\n	            var clone = Base.clone.call(this);\n	            clone.words = this.words.slice(0);\n\n	            return clone;\n	        },\n\n	        /**\n	         * Creates a word array filled with random bytes.\n	         *\n	         * @param {number} nBytes The number of random bytes to generate.\n	         *\n	         * @return {WordArray} The random word array.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var wordArray = CryptoJS.lib.WordArray.random(16);\n	         */\n	        random: function (nBytes) {\n	            var words = [];\n\n	            for (var i = 0; i < nBytes; i += 4) {\n	                words.push(cryptoSecureRandomInt());\n	            }\n\n	            return new WordArray.init(words, nBytes);\n	        }\n	    });\n\n	    /**\n	     * Encoder namespace.\n	     */\n	    var C_enc = C.enc = {};\n\n	    /**\n	     * Hex encoding strategy.\n	     */\n	    var Hex = C_enc.Hex = {\n	        /**\n	         * Converts a word array to a hex string.\n	         *\n	         * @param {WordArray} wordArray The word array.\n	         *\n	         * @return {string} The hex string.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var hexString = CryptoJS.enc.Hex.stringify(wordArray);\n	         */\n	        stringify: function (wordArray) {\n	            // Shortcuts\n	            var words = wordArray.words;\n	            var sigBytes = wordArray.sigBytes;\n\n	            // Convert\n	            var hexChars = [];\n	            for (var i = 0; i < sigBytes; i++) {\n	                var bite = (words[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n	                hexChars.push((bite >>> 4).toString(16));\n	                hexChars.push((bite & 0x0f).toString(16));\n	            }\n\n	            return hexChars.join('');\n	        },\n\n	        /**\n	         * Converts a hex string to a word array.\n	         *\n	         * @param {string} hexStr The hex string.\n	         *\n	         * @return {WordArray} The word array.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var wordArray = CryptoJS.enc.Hex.parse(hexString);\n	         */\n	        parse: function (hexStr) {\n	            // Shortcut\n	            var hexStrLength = hexStr.length;\n\n	            // Convert\n	            var words = [];\n	            for (var i = 0; i < hexStrLength; i += 2) {\n	                words[i >>> 3] |= parseInt(hexStr.substr(i, 2), 16) << (24 - (i % 8) * 4);\n	            }\n\n	            return new WordArray.init(words, hexStrLength / 2);\n	        }\n	    };\n\n	    /**\n	     * Latin1 encoding strategy.\n	     */\n	    var Latin1 = C_enc.Latin1 = {\n	        /**\n	         * Converts a word array to a Latin1 string.\n	         *\n	         * @param {WordArray} wordArray The word array.\n	         *\n	         * @return {string} The Latin1 string.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);\n	         */\n	        stringify: function (wordArray) {\n	            // Shortcuts\n	            var words = wordArray.words;\n	            var sigBytes = wordArray.sigBytes;\n\n	            // Convert\n	            var latin1Chars = [];\n	            for (var i = 0; i < sigBytes; i++) {\n	                var bite = (words[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n	                latin1Chars.push(String.fromCharCode(bite));\n	            }\n\n	            return latin1Chars.join('');\n	        },\n\n	        /**\n	         * Converts a Latin1 string to a word array.\n	         *\n	         * @param {string} latin1Str The Latin1 string.\n	         *\n	         * @return {WordArray} The word array.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var wordArray = CryptoJS.enc.Latin1.parse(latin1String);\n	         */\n	        parse: function (latin1Str) {\n	            // Shortcut\n	            var latin1StrLength = latin1Str.length;\n\n	            // Convert\n	            var words = [];\n	            for (var i = 0; i < latin1StrLength; i++) {\n	                words[i >>> 2] |= (latin1Str.charCodeAt(i) & 0xff) << (24 - (i % 4) * 8);\n	            }\n\n	            return new WordArray.init(words, latin1StrLength);\n	        }\n	    };\n\n	    /**\n	     * UTF-8 encoding strategy.\n	     */\n	    var Utf8 = C_enc.Utf8 = {\n	        /**\n	         * Converts a word array to a UTF-8 string.\n	         *\n	         * @param {WordArray} wordArray The word array.\n	         *\n	         * @return {string} The UTF-8 string.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);\n	         */\n	        stringify: function (wordArray) {\n	            try {\n	                return decodeURIComponent(escape(Latin1.stringify(wordArray)));\n	            } catch (e) {\n	                throw new Error('Malformed UTF-8 data');\n	            }\n	        },\n\n	        /**\n	         * Converts a UTF-8 string to a word array.\n	         *\n	         * @param {string} utf8Str The UTF-8 string.\n	         *\n	         * @return {WordArray} The word array.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var wordArray = CryptoJS.enc.Utf8.parse(utf8String);\n	         */\n	        parse: function (utf8Str) {\n	            return Latin1.parse(unescape(encodeURIComponent(utf8Str)));\n	        }\n	    };\n\n	    /**\n	     * Abstract buffered block algorithm template.\n	     *\n	     * The property blockSize must be implemented in a concrete subtype.\n	     *\n	     * @property {number} _minBufferSize The number of blocks that should be kept unprocessed in the buffer. Default: 0\n	     */\n	    var BufferedBlockAlgorithm = C_lib.BufferedBlockAlgorithm = Base.extend({\n	        /**\n	         * Resets this block algorithm's data buffer to its initial state.\n	         *\n	         * @example\n	         *\n	         *     bufferedBlockAlgorithm.reset();\n	         */\n	        reset: function () {\n	            // Initial values\n	            this._data = new WordArray.init();\n	            this._nDataBytes = 0;\n	        },\n\n	        /**\n	         * Adds new data to this block algorithm's buffer.\n	         *\n	         * @param {WordArray|string} data The data to append. Strings are converted to a WordArray using UTF-8.\n	         *\n	         * @example\n	         *\n	         *     bufferedBlockAlgorithm._append('data');\n	         *     bufferedBlockAlgorithm._append(wordArray);\n	         */\n	        _append: function (data) {\n	            // Convert string to WordArray, else assume WordArray already\n	            if (typeof data == 'string') {\n	                data = Utf8.parse(data);\n	            }\n\n	            // Append\n	            this._data.concat(data);\n	            this._nDataBytes += data.sigBytes;\n	        },\n\n	        /**\n	         * Processes available data blocks.\n	         *\n	         * This method invokes _doProcessBlock(offset), which must be implemented by a concrete subtype.\n	         *\n	         * @param {boolean} doFlush Whether all blocks and partial blocks should be processed.\n	         *\n	         * @return {WordArray} The processed data.\n	         *\n	         * @example\n	         *\n	         *     var processedData = bufferedBlockAlgorithm._process();\n	         *     var processedData = bufferedBlockAlgorithm._process(!!'flush');\n	         */\n	        _process: function (doFlush) {\n	            var processedWords;\n\n	            // Shortcuts\n	            var data = this._data;\n	            var dataWords = data.words;\n	            var dataSigBytes = data.sigBytes;\n	            var blockSize = this.blockSize;\n	            var blockSizeBytes = blockSize * 4;\n\n	            // Count blocks ready\n	            var nBlocksReady = dataSigBytes / blockSizeBytes;\n	            if (doFlush) {\n	                // Round up to include partial blocks\n	                nBlocksReady = Math.ceil(nBlocksReady);\n	            } else {\n	                // Round down to include only full blocks,\n	                // less the number of blocks that must remain in the buffer\n	                nBlocksReady = Math.max((nBlocksReady | 0) - this._minBufferSize, 0);\n	            }\n\n	            // Count words ready\n	            var nWordsReady = nBlocksReady * blockSize;\n\n	            // Count bytes ready\n	            var nBytesReady = Math.min(nWordsReady * 4, dataSigBytes);\n\n	            // Process blocks\n	            if (nWordsReady) {\n	                for (var offset = 0; offset < nWordsReady; offset += blockSize) {\n	                    // Perform concrete-algorithm logic\n	                    this._doProcessBlock(dataWords, offset);\n	                }\n\n	                // Remove processed words\n	                processedWords = dataWords.splice(0, nWordsReady);\n	                data.sigBytes -= nBytesReady;\n	            }\n\n	            // Return processed words\n	            return new WordArray.init(processedWords, nBytesReady);\n	        },\n\n	        /**\n	         * Creates a copy of this object.\n	         *\n	         * @return {Object} The clone.\n	         *\n	         * @example\n	         *\n	         *     var clone = bufferedBlockAlgorithm.clone();\n	         */\n	        clone: function () {\n	            var clone = Base.clone.call(this);\n	            clone._data = this._data.clone();\n\n	            return clone;\n	        },\n\n	        _minBufferSize: 0\n	    });\n\n	    /**\n	     * Abstract hasher template.\n	     *\n	     * @property {number} blockSize The number of 32-bit words this hasher operates on. Default: 16 (512 bits)\n	     */\n	    var Hasher = C_lib.Hasher = BufferedBlockAlgorithm.extend({\n	        /**\n	         * Configuration options.\n	         */\n	        cfg: Base.extend(),\n\n	        /**\n	         * Initializes a newly created hasher.\n	         *\n	         * @param {Object} cfg (Optional) The configuration options to use for this hash computation.\n	         *\n	         * @example\n	         *\n	         *     var hasher = CryptoJS.algo.SHA256.create();\n	         */\n	        init: function (cfg) {\n	            // Apply config defaults\n	            this.cfg = this.cfg.extend(cfg);\n\n	            // Set initial values\n	            this.reset();\n	        },\n\n	        /**\n	         * Resets this hasher to its initial state.\n	         *\n	         * @example\n	         *\n	         *     hasher.reset();\n	         */\n	        reset: function () {\n	            // Reset data buffer\n	            BufferedBlockAlgorithm.reset.call(this);\n\n	            // Perform concrete-hasher logic\n	            this._doReset();\n	        },\n\n	        /**\n	         * Updates this hasher with a message.\n	         *\n	         * @param {WordArray|string} messageUpdate The message to append.\n	         *\n	         * @return {Hasher} This hasher.\n	         *\n	         * @example\n	         *\n	         *     hasher.update('message');\n	         *     hasher.update(wordArray);\n	         */\n	        update: function (messageUpdate) {\n	            // Append\n	            this._append(messageUpdate);\n\n	            // Update the hash\n	            this._process();\n\n	            // Chainable\n	            return this;\n	        },\n\n	        /**\n	         * Finalizes the hash computation.\n	         * Note that the finalize operation is effectively a destructive, read-once operation.\n	         *\n	         * @param {WordArray|string} messageUpdate (Optional) A final message update.\n	         *\n	         * @return {WordArray} The hash.\n	         *\n	         * @example\n	         *\n	         *     var hash = hasher.finalize();\n	         *     var hash = hasher.finalize('message');\n	         *     var hash = hasher.finalize(wordArray);\n	         */\n	        finalize: function (messageUpdate) {\n	            // Final message update\n	            if (messageUpdate) {\n	                this._append(messageUpdate);\n	            }\n\n	            // Perform concrete-hasher logic\n	            var hash = this._doFinalize();\n\n	            return hash;\n	        },\n\n	        blockSize: 512/32,\n\n	        /**\n	         * Creates a shortcut function to a hasher's object interface.\n	         *\n	         * @param {Hasher} hasher The hasher to create a helper for.\n	         *\n	         * @return {Function} The shortcut function.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);\n	         */\n	        _createHelper: function (hasher) {\n	            return function (message, cfg) {\n	                return new hasher.init(cfg).finalize(message);\n	            };\n	        },\n\n	        /**\n	         * Creates a shortcut function to the HMAC's object interface.\n	         *\n	         * @param {Hasher} hasher The hasher to use in this HMAC helper.\n	         *\n	         * @return {Function} The shortcut function.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);\n	         */\n	        _createHmacHelper: function (hasher) {\n	            return function (message, key) {\n	                return new C_algo.HMAC.init(hasher, key).finalize(message);\n	            };\n	        }\n	    });\n\n	    /**\n	     * Algorithm namespace.\n	     */\n	    var C_algo = C.algo = {};\n\n	    return C;\n	}(Math));\n\n\n	(function (undefined) {\n	    // Shortcuts\n	    var C = CryptoJS;\n	    var C_lib = C.lib;\n	    var Base = C_lib.Base;\n	    var X32WordArray = C_lib.WordArray;\n\n	    /**\n	     * x64 namespace.\n	     */\n	    var C_x64 = C.x64 = {};\n\n	    /**\n	     * A 64-bit word.\n	     */\n	    var X64Word = C_x64.Word = Base.extend({\n	        /**\n	         * Initializes a newly created 64-bit word.\n	         *\n	         * @param {number} high The high 32 bits.\n	         * @param {number} low The low 32 bits.\n	         *\n	         * @example\n	         *\n	         *     var x64Word = CryptoJS.x64.Word.create(0x00010203, 0x04050607);\n	         */\n	        init: function (high, low) {\n	            this.high = high;\n	            this.low = low;\n	        }\n\n	        /**\n	         * Bitwise NOTs this word.\n	         *\n	         * @return {X64Word} A new x64-Word object after negating.\n	         *\n	         * @example\n	         *\n	         *     var negated = x64Word.not();\n	         */\n	        // not: function () {\n	            // var high = ~this.high;\n	            // var low = ~this.low;\n\n	            // return X64Word.create(high, low);\n	        // },\n\n	        /**\n	         * Bitwise ANDs this word with the passed word.\n	         *\n	         * @param {X64Word} word The x64-Word to AND with this word.\n	         *\n	         * @return {X64Word} A new x64-Word object after ANDing.\n	         *\n	         * @example\n	         *\n	         *     var anded = x64Word.and(anotherX64Word);\n	         */\n	        // and: function (word) {\n	            // var high = this.high & word.high;\n	            // var low = this.low & word.low;\n\n	            // return X64Word.create(high, low);\n	        // },\n\n	        /**\n	         * Bitwise ORs this word with the passed word.\n	         *\n	         * @param {X64Word} word The x64-Word to OR with this word.\n	         *\n	         * @return {X64Word} A new x64-Word object after ORing.\n	         *\n	         * @example\n	         *\n	         *     var ored = x64Word.or(anotherX64Word);\n	         */\n	        // or: function (word) {\n	            // var high = this.high | word.high;\n	            // var low = this.low | word.low;\n\n	            // return X64Word.create(high, low);\n	        // },\n\n	        /**\n	         * Bitwise XORs this word with the passed word.\n	         *\n	         * @param {X64Word} word The x64-Word to XOR with this word.\n	         *\n	         * @return {X64Word} A new x64-Word object after XORing.\n	         *\n	         * @example\n	         *\n	         *     var xored = x64Word.xor(anotherX64Word);\n	         */\n	        // xor: function (word) {\n	            // var high = this.high ^ word.high;\n	            // var low = this.low ^ word.low;\n\n	            // return X64Word.create(high, low);\n	        // },\n\n	        /**\n	         * Shifts this word n bits to the left.\n	         *\n	         * @param {number} n The number of bits to shift.\n	         *\n	         * @return {X64Word} A new x64-Word object after shifting.\n	         *\n	         * @example\n	         *\n	         *     var shifted = x64Word.shiftL(25);\n	         */\n	        // shiftL: function (n) {\n	            // if (n < 32) {\n	                // var high = (this.high << n) | (this.low >>> (32 - n));\n	                // var low = this.low << n;\n	            // } else {\n	                // var high = this.low << (n - 32);\n	                // var low = 0;\n	            // }\n\n	            // return X64Word.create(high, low);\n	        // },\n\n	        /**\n	         * Shifts this word n bits to the right.\n	         *\n	         * @param {number} n The number of bits to shift.\n	         *\n	         * @return {X64Word} A new x64-Word object after shifting.\n	         *\n	         * @example\n	         *\n	         *     var shifted = x64Word.shiftR(7);\n	         */\n	        // shiftR: function (n) {\n	            // if (n < 32) {\n	                // var low = (this.low >>> n) | (this.high << (32 - n));\n	                // var high = this.high >>> n;\n	            // } else {\n	                // var low = this.high >>> (n - 32);\n	                // var high = 0;\n	            // }\n\n	            // return X64Word.create(high, low);\n	        // },\n\n	        /**\n	         * Rotates this word n bits to the left.\n	         *\n	         * @param {number} n The number of bits to rotate.\n	         *\n	         * @return {X64Word} A new x64-Word object after rotating.\n	         *\n	         * @example\n	         *\n	         *     var rotated = x64Word.rotL(25);\n	         */\n	        // rotL: function (n) {\n	            // return this.shiftL(n).or(this.shiftR(64 - n));\n	        // },\n\n	        /**\n	         * Rotates this word n bits to the right.\n	         *\n	         * @param {number} n The number of bits to rotate.\n	         *\n	         * @return {X64Word} A new x64-Word object after rotating.\n	         *\n	         * @example\n	         *\n	         *     var rotated = x64Word.rotR(7);\n	         */\n	        // rotR: function (n) {\n	            // return this.shiftR(n).or(this.shiftL(64 - n));\n	        // },\n\n	        /**\n	         * Adds this word with the passed word.\n	         *\n	         * @param {X64Word} word The x64-Word to add with this word.\n	         *\n	         * @return {X64Word} A new x64-Word object after adding.\n	         *\n	         * @example\n	         *\n	         *     var added = x64Word.add(anotherX64Word);\n	         */\n	        // add: function (word) {\n	            // var low = (this.low + word.low) | 0;\n	            // var carry = (low >>> 0) < (this.low >>> 0) ? 1 : 0;\n	            // var high = (this.high + word.high + carry) | 0;\n\n	            // return X64Word.create(high, low);\n	        // }\n	    });\n\n	    /**\n	     * An array of 64-bit words.\n	     *\n	     * @property {Array} words The array of CryptoJS.x64.Word objects.\n	     * @property {number} sigBytes The number of significant bytes in this word array.\n	     */\n	    var X64WordArray = C_x64.WordArray = Base.extend({\n	        /**\n	         * Initializes a newly created word array.\n	         *\n	         * @param {Array} words (Optional) An array of CryptoJS.x64.Word objects.\n	         * @param {number} sigBytes (Optional) The number of significant bytes in the words.\n	         *\n	         * @example\n	         *\n	         *     var wordArray = CryptoJS.x64.WordArray.create();\n	         *\n	         *     var wordArray = CryptoJS.x64.WordArray.create([\n	         *         CryptoJS.x64.Word.create(0x00010203, 0x04050607),\n	         *         CryptoJS.x64.Word.create(0x18191a1b, 0x1c1d1e1f)\n	         *     ]);\n	         *\n	         *     var wordArray = CryptoJS.x64.WordArray.create([\n	         *         CryptoJS.x64.Word.create(0x00010203, 0x04050607),\n	         *         CryptoJS.x64.Word.create(0x18191a1b, 0x1c1d1e1f)\n	         *     ], 10);\n	         */\n	        init: function (words, sigBytes) {\n	            words = this.words = words || [];\n\n	            if (sigBytes != undefined) {\n	                this.sigBytes = sigBytes;\n	            } else {\n	                this.sigBytes = words.length * 8;\n	            }\n	        },\n\n	        /**\n	         * Converts this 64-bit word array to a 32-bit word array.\n	         *\n	         * @return {CryptoJS.lib.WordArray} This word array's data as a 32-bit word array.\n	         *\n	         * @example\n	         *\n	         *     var x32WordArray = x64WordArray.toX32();\n	         */\n	        toX32: function () {\n	            // Shortcuts\n	            var x64Words = this.words;\n	            var x64WordsLength = x64Words.length;\n\n	            // Convert\n	            var x32Words = [];\n	            for (var i = 0; i < x64WordsLength; i++) {\n	                var x64Word = x64Words[i];\n	                x32Words.push(x64Word.high);\n	                x32Words.push(x64Word.low);\n	            }\n\n	            return X32WordArray.create(x32Words, this.sigBytes);\n	        },\n\n	        /**\n	         * Creates a copy of this word array.\n	         *\n	         * @return {X64WordArray} The clone.\n	         *\n	         * @example\n	         *\n	         *     var clone = x64WordArray.clone();\n	         */\n	        clone: function () {\n	            var clone = Base.clone.call(this);\n\n	            // Clone \"words\" array\n	            var words = clone.words = this.words.slice(0);\n\n	            // Clone each X64Word object\n	            var wordsLength = words.length;\n	            for (var i = 0; i < wordsLength; i++) {\n	                words[i] = words[i].clone();\n	            }\n\n	            return clone;\n	        }\n	    });\n	}());\n\n\n	(function () {\n	    // Check if typed arrays are supported\n	    if (typeof ArrayBuffer != 'function') {\n	        return;\n	    }\n\n	    // Shortcuts\n	    var C = CryptoJS;\n	    var C_lib = C.lib;\n	    var WordArray = C_lib.WordArray;\n\n	    // Reference original init\n	    var superInit = WordArray.init;\n\n	    // Augment WordArray.init to handle typed arrays\n	    var subInit = WordArray.init = function (typedArray) {\n	        // Convert buffers to uint8\n	        if (typedArray instanceof ArrayBuffer) {\n	            typedArray = new Uint8Array(typedArray);\n	        }\n\n	        // Convert other array views to uint8\n	        if (\n	            typedArray instanceof Int8Array ||\n	            (typeof Uint8ClampedArray !== \"undefined\" && typedArray instanceof Uint8ClampedArray) ||\n	            typedArray instanceof Int16Array ||\n	            typedArray instanceof Uint16Array ||\n	            typedArray instanceof Int32Array ||\n	            typedArray instanceof Uint32Array ||\n	            typedArray instanceof Float32Array ||\n	            typedArray instanceof Float64Array\n	        ) {\n	            typedArray = new Uint8Array(typedArray.buffer, typedArray.byteOffset, typedArray.byteLength);\n	        }\n\n	        // Handle Uint8Array\n	        if (typedArray instanceof Uint8Array) {\n	            // Shortcut\n	            var typedArrayByteLength = typedArray.byteLength;\n\n	            // Extract bytes\n	            var words = [];\n	            for (var i = 0; i < typedArrayByteLength; i++) {\n	                words[i >>> 2] |= typedArray[i] << (24 - (i % 4) * 8);\n	            }\n\n	            // Initialize this word array\n	            superInit.call(this, words, typedArrayByteLength);\n	        } else {\n	            // Else call normal init\n	            superInit.apply(this, arguments);\n	        }\n	    };\n\n	    subInit.prototype = WordArray;\n	}());\n\n\n	(function () {\n	    // Shortcuts\n	    var C = CryptoJS;\n	    var C_lib = C.lib;\n	    var WordArray = C_lib.WordArray;\n	    var C_enc = C.enc;\n\n	    /**\n	     * UTF-16 BE encoding strategy.\n	     */\n	    var Utf16BE = C_enc.Utf16 = C_enc.Utf16BE = {\n	        /**\n	         * Converts a word array to a UTF-16 BE string.\n	         *\n	         * @param {WordArray} wordArray The word array.\n	         *\n	         * @return {string} The UTF-16 BE string.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var utf16String = CryptoJS.enc.Utf16.stringify(wordArray);\n	         */\n	        stringify: function (wordArray) {\n	            // Shortcuts\n	            var words = wordArray.words;\n	            var sigBytes = wordArray.sigBytes;\n\n	            // Convert\n	            var utf16Chars = [];\n	            for (var i = 0; i < sigBytes; i += 2) {\n	                var codePoint = (words[i >>> 2] >>> (16 - (i % 4) * 8)) & 0xffff;\n	                utf16Chars.push(String.fromCharCode(codePoint));\n	            }\n\n	            return utf16Chars.join('');\n	        },\n\n	        /**\n	         * Converts a UTF-16 BE string to a word array.\n	         *\n	         * @param {string} utf16Str The UTF-16 BE string.\n	         *\n	         * @return {WordArray} The word array.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var wordArray = CryptoJS.enc.Utf16.parse(utf16String);\n	         */\n	        parse: function (utf16Str) {\n	            // Shortcut\n	            var utf16StrLength = utf16Str.length;\n\n	            // Convert\n	            var words = [];\n	            for (var i = 0; i < utf16StrLength; i++) {\n	                words[i >>> 1] |= utf16Str.charCodeAt(i) << (16 - (i % 2) * 16);\n	            }\n\n	            return WordArray.create(words, utf16StrLength * 2);\n	        }\n	    };\n\n	    /**\n	     * UTF-16 LE encoding strategy.\n	     */\n	    C_enc.Utf16LE = {\n	        /**\n	         * Converts a word array to a UTF-16 LE string.\n	         *\n	         * @param {WordArray} wordArray The word array.\n	         *\n	         * @return {string} The UTF-16 LE string.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var utf16Str = CryptoJS.enc.Utf16LE.stringify(wordArray);\n	         */\n	        stringify: function (wordArray) {\n	            // Shortcuts\n	            var words = wordArray.words;\n	            var sigBytes = wordArray.sigBytes;\n\n	            // Convert\n	            var utf16Chars = [];\n	            for (var i = 0; i < sigBytes; i += 2) {\n	                var codePoint = swapEndian((words[i >>> 2] >>> (16 - (i % 4) * 8)) & 0xffff);\n	                utf16Chars.push(String.fromCharCode(codePoint));\n	            }\n\n	            return utf16Chars.join('');\n	        },\n\n	        /**\n	         * Converts a UTF-16 LE string to a word array.\n	         *\n	         * @param {string} utf16Str The UTF-16 LE string.\n	         *\n	         * @return {WordArray} The word array.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var wordArray = CryptoJS.enc.Utf16LE.parse(utf16Str);\n	         */\n	        parse: function (utf16Str) {\n	            // Shortcut\n	            var utf16StrLength = utf16Str.length;\n\n	            // Convert\n	            var words = [];\n	            for (var i = 0; i < utf16StrLength; i++) {\n	                words[i >>> 1] |= swapEndian(utf16Str.charCodeAt(i) << (16 - (i % 2) * 16));\n	            }\n\n	            return WordArray.create(words, utf16StrLength * 2);\n	        }\n	    };\n\n	    function swapEndian(word) {\n	        return ((word << 8) & 0xff00ff00) | ((word >>> 8) & 0x00ff00ff);\n	    }\n	}());\n\n\n	(function () {\n	    // Shortcuts\n	    var C = CryptoJS;\n	    var C_lib = C.lib;\n	    var WordArray = C_lib.WordArray;\n	    var C_enc = C.enc;\n\n	    /**\n	     * Base64 encoding strategy.\n	     */\n	    var Base64 = C_enc.Base64 = {\n	        /**\n	         * Converts a word array to a Base64 string.\n	         *\n	         * @param {WordArray} wordArray The word array.\n	         *\n	         * @return {string} The Base64 string.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var base64String = CryptoJS.enc.Base64.stringify(wordArray);\n	         */\n	        stringify: function (wordArray) {\n	            // Shortcuts\n	            var words = wordArray.words;\n	            var sigBytes = wordArray.sigBytes;\n	            var map = this._map;\n\n	            // Clamp excess bits\n	            wordArray.clamp();\n\n	            // Convert\n	            var base64Chars = [];\n	            for (var i = 0; i < sigBytes; i += 3) {\n	                var byte1 = (words[i >>> 2]       >>> (24 - (i % 4) * 8))       & 0xff;\n	                var byte2 = (words[(i + 1) >>> 2] >>> (24 - ((i + 1) % 4) * 8)) & 0xff;\n	                var byte3 = (words[(i + 2) >>> 2] >>> (24 - ((i + 2) % 4) * 8)) & 0xff;\n\n	                var triplet = (byte1 << 16) | (byte2 << 8) | byte3;\n\n	                for (var j = 0; (j < 4) && (i + j * 0.75 < sigBytes); j++) {\n	                    base64Chars.push(map.charAt((triplet >>> (6 * (3 - j))) & 0x3f));\n	                }\n	            }\n\n	            // Add padding\n	            var paddingChar = map.charAt(64);\n	            if (paddingChar) {\n	                while (base64Chars.length % 4) {\n	                    base64Chars.push(paddingChar);\n	                }\n	            }\n\n	            return base64Chars.join('');\n	        },\n\n	        /**\n	         * Converts a Base64 string to a word array.\n	         *\n	         * @param {string} base64Str The Base64 string.\n	         *\n	         * @return {WordArray} The word array.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var wordArray = CryptoJS.enc.Base64.parse(base64String);\n	         */\n	        parse: function (base64Str) {\n	            // Shortcuts\n	            var base64StrLength = base64Str.length;\n	            var map = this._map;\n	            var reverseMap = this._reverseMap;\n\n	            if (!reverseMap) {\n	                    reverseMap = this._reverseMap = [];\n	                    for (var j = 0; j < map.length; j++) {\n	                        reverseMap[map.charCodeAt(j)] = j;\n	                    }\n	            }\n\n	            // Ignore padding\n	            var paddingChar = map.charAt(64);\n	            if (paddingChar) {\n	                var paddingIndex = base64Str.indexOf(paddingChar);\n	                if (paddingIndex !== -1) {\n	                    base64StrLength = paddingIndex;\n	                }\n	            }\n\n	            // Convert\n	            return parseLoop(base64Str, base64StrLength, reverseMap);\n\n	        },\n\n	        _map: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='\n	    };\n\n	    function parseLoop(base64Str, base64StrLength, reverseMap) {\n	      var words = [];\n	      var nBytes = 0;\n	      for (var i = 0; i < base64StrLength; i++) {\n	          if (i % 4) {\n	              var bits1 = reverseMap[base64Str.charCodeAt(i - 1)] << ((i % 4) * 2);\n	              var bits2 = reverseMap[base64Str.charCodeAt(i)] >>> (6 - (i % 4) * 2);\n	              var bitsCombined = bits1 | bits2;\n	              words[nBytes >>> 2] |= bitsCombined << (24 - (nBytes % 4) * 8);\n	              nBytes++;\n	          }\n	      }\n	      return WordArray.create(words, nBytes);\n	    }\n	}());\n\n\n	(function () {\n	    // Shortcuts\n	    var C = CryptoJS;\n	    var C_lib = C.lib;\n	    var WordArray = C_lib.WordArray;\n	    var C_enc = C.enc;\n\n	    /**\n	     * Base64url encoding strategy.\n	     */\n	    var Base64url = C_enc.Base64url = {\n	        /**\n	         * Converts a word array to a Base64url string.\n	         *\n	         * @param {WordArray} wordArray The word array.\n	         *\n	         * @param {boolean} urlSafe Whether to use url safe\n	         *\n	         * @return {string} The Base64url string.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var base64String = CryptoJS.enc.Base64url.stringify(wordArray);\n	         */\n	        stringify: function (wordArray, urlSafe) {\n	            if (urlSafe === undefined) {\n	                urlSafe = true\n	            }\n	            // Shortcuts\n	            var words = wordArray.words;\n	            var sigBytes = wordArray.sigBytes;\n	            var map = urlSafe ? this._safe_map : this._map;\n\n	            // Clamp excess bits\n	            wordArray.clamp();\n\n	            // Convert\n	            var base64Chars = [];\n	            for (var i = 0; i < sigBytes; i += 3) {\n	                var byte1 = (words[i >>> 2]       >>> (24 - (i % 4) * 8))       & 0xff;\n	                var byte2 = (words[(i + 1) >>> 2] >>> (24 - ((i + 1) % 4) * 8)) & 0xff;\n	                var byte3 = (words[(i + 2) >>> 2] >>> (24 - ((i + 2) % 4) * 8)) & 0xff;\n\n	                var triplet = (byte1 << 16) | (byte2 << 8) | byte3;\n\n	                for (var j = 0; (j < 4) && (i + j * 0.75 < sigBytes); j++) {\n	                    base64Chars.push(map.charAt((triplet >>> (6 * (3 - j))) & 0x3f));\n	                }\n	            }\n\n	            // Add padding\n	            var paddingChar = map.charAt(64);\n	            if (paddingChar) {\n	                while (base64Chars.length % 4) {\n	                    base64Chars.push(paddingChar);\n	                }\n	            }\n\n	            return base64Chars.join('');\n	        },\n\n	        /**\n	         * Converts a Base64url string to a word array.\n	         *\n	         * @param {string} base64Str The Base64url string.\n	         *\n	         * @param {boolean} urlSafe Whether to use url safe\n	         *\n	         * @return {WordArray} The word array.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var wordArray = CryptoJS.enc.Base64url.parse(base64String);\n	         */\n	        parse: function (base64Str, urlSafe) {\n	            if (urlSafe === undefined) {\n	                urlSafe = true\n	            }\n\n	            // Shortcuts\n	            var base64StrLength = base64Str.length;\n	            var map = urlSafe ? this._safe_map : this._map;\n	            var reverseMap = this._reverseMap;\n\n	            if (!reverseMap) {\n	                reverseMap = this._reverseMap = [];\n	                for (var j = 0; j < map.length; j++) {\n	                    reverseMap[map.charCodeAt(j)] = j;\n	                }\n	            }\n\n	            // Ignore padding\n	            var paddingChar = map.charAt(64);\n	            if (paddingChar) {\n	                var paddingIndex = base64Str.indexOf(paddingChar);\n	                if (paddingIndex !== -1) {\n	                    base64StrLength = paddingIndex;\n	                }\n	            }\n\n	            // Convert\n	            return parseLoop(base64Str, base64StrLength, reverseMap);\n\n	        },\n\n	        _map: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=',\n	        _safe_map: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_',\n	    };\n\n	    function parseLoop(base64Str, base64StrLength, reverseMap) {\n	        var words = [];\n	        var nBytes = 0;\n	        for (var i = 0; i < base64StrLength; i++) {\n	            if (i % 4) {\n	                var bits1 = reverseMap[base64Str.charCodeAt(i - 1)] << ((i % 4) * 2);\n	                var bits2 = reverseMap[base64Str.charCodeAt(i)] >>> (6 - (i % 4) * 2);\n	                var bitsCombined = bits1 | bits2;\n	                words[nBytes >>> 2] |= bitsCombined << (24 - (nBytes % 4) * 8);\n	                nBytes++;\n	            }\n	        }\n	        return WordArray.create(words, nBytes);\n	    }\n	}());\n\n\n	(function (Math) {\n	    // Shortcuts\n	    var C = CryptoJS;\n	    var C_lib = C.lib;\n	    var WordArray = C_lib.WordArray;\n	    var Hasher = C_lib.Hasher;\n	    var C_algo = C.algo;\n\n	    // Constants table\n	    var T = [];\n\n	    // Compute constants\n	    (function () {\n	        for (var i = 0; i < 64; i++) {\n	            T[i] = (Math.abs(Math.sin(i + 1)) * 0x100000000) | 0;\n	        }\n	    }());\n\n	    /**\n	     * MD5 hash algorithm.\n	     */\n	    var MD5 = C_algo.MD5 = Hasher.extend({\n	        _doReset: function () {\n	            this._hash = new WordArray.init([\n	                0x67452301, 0xefcdab89,\n	                0x98badcfe, 0x10325476\n	            ]);\n	        },\n\n	        _doProcessBlock: function (M, offset) {\n	            // Swap endian\n	            for (var i = 0; i < 16; i++) {\n	                // Shortcuts\n	                var offset_i = offset + i;\n	                var M_offset_i = M[offset_i];\n\n	                M[offset_i] = (\n	                    (((M_offset_i << 8)  | (M_offset_i >>> 24)) & 0x00ff00ff) |\n	                    (((M_offset_i << 24) | (M_offset_i >>> 8))  & 0xff00ff00)\n	                );\n	            }\n\n	            // Shortcuts\n	            var H = this._hash.words;\n\n	            var M_offset_0  = M[offset + 0];\n	            var M_offset_1  = M[offset + 1];\n	            var M_offset_2  = M[offset + 2];\n	            var M_offset_3  = M[offset + 3];\n	            var M_offset_4  = M[offset + 4];\n	            var M_offset_5  = M[offset + 5];\n	            var M_offset_6  = M[offset + 6];\n	            var M_offset_7  = M[offset + 7];\n	            var M_offset_8  = M[offset + 8];\n	            var M_offset_9  = M[offset + 9];\n	            var M_offset_10 = M[offset + 10];\n	            var M_offset_11 = M[offset + 11];\n	            var M_offset_12 = M[offset + 12];\n	            var M_offset_13 = M[offset + 13];\n	            var M_offset_14 = M[offset + 14];\n	            var M_offset_15 = M[offset + 15];\n\n	            // Working variables\n	            var a = H[0];\n	            var b = H[1];\n	            var c = H[2];\n	            var d = H[3];\n\n	            // Computation\n	            a = FF(a, b, c, d, M_offset_0,  7,  T[0]);\n	            d = FF(d, a, b, c, M_offset_1,  12, T[1]);\n	            c = FF(c, d, a, b, M_offset_2,  17, T[2]);\n	            b = FF(b, c, d, a, M_offset_3,  22, T[3]);\n	            a = FF(a, b, c, d, M_offset_4,  7,  T[4]);\n	            d = FF(d, a, b, c, M_offset_5,  12, T[5]);\n	            c = FF(c, d, a, b, M_offset_6,  17, T[6]);\n	            b = FF(b, c, d, a, M_offset_7,  22, T[7]);\n	            a = FF(a, b, c, d, M_offset_8,  7,  T[8]);\n	            d = FF(d, a, b, c, M_offset_9,  12, T[9]);\n	            c = FF(c, d, a, b, M_offset_10, 17, T[10]);\n	            b = FF(b, c, d, a, M_offset_11, 22, T[11]);\n	            a = FF(a, b, c, d, M_offset_12, 7,  T[12]);\n	            d = FF(d, a, b, c, M_offset_13, 12, T[13]);\n	            c = FF(c, d, a, b, M_offset_14, 17, T[14]);\n	            b = FF(b, c, d, a, M_offset_15, 22, T[15]);\n\n	            a = GG(a, b, c, d, M_offset_1,  5,  T[16]);\n	            d = GG(d, a, b, c, M_offset_6,  9,  T[17]);\n	            c = GG(c, d, a, b, M_offset_11, 14, T[18]);\n	            b = GG(b, c, d, a, M_offset_0,  20, T[19]);\n	            a = GG(a, b, c, d, M_offset_5,  5,  T[20]);\n	            d = GG(d, a, b, c, M_offset_10, 9,  T[21]);\n	            c = GG(c, d, a, b, M_offset_15, 14, T[22]);\n	            b = GG(b, c, d, a, M_offset_4,  20, T[23]);\n	            a = GG(a, b, c, d, M_offset_9,  5,  T[24]);\n	            d = GG(d, a, b, c, M_offset_14, 9,  T[25]);\n	            c = GG(c, d, a, b, M_offset_3,  14, T[26]);\n	            b = GG(b, c, d, a, M_offset_8,  20, T[27]);\n	            a = GG(a, b, c, d, M_offset_13, 5,  T[28]);\n	            d = GG(d, a, b, c, M_offset_2,  9,  T[29]);\n	            c = GG(c, d, a, b, M_offset_7,  14, T[30]);\n	            b = GG(b, c, d, a, M_offset_12, 20, T[31]);\n\n	            a = HH(a, b, c, d, M_offset_5,  4,  T[32]);\n	            d = HH(d, a, b, c, M_offset_8,  11, T[33]);\n	            c = HH(c, d, a, b, M_offset_11, 16, T[34]);\n	            b = HH(b, c, d, a, M_offset_14, 23, T[35]);\n	            a = HH(a, b, c, d, M_offset_1,  4,  T[36]);\n	            d = HH(d, a, b, c, M_offset_4,  11, T[37]);\n	            c = HH(c, d, a, b, M_offset_7,  16, T[38]);\n	            b = HH(b, c, d, a, M_offset_10, 23, T[39]);\n	            a = HH(a, b, c, d, M_offset_13, 4,  T[40]);\n	            d = HH(d, a, b, c, M_offset_0,  11, T[41]);\n	            c = HH(c, d, a, b, M_offset_3,  16, T[42]);\n	            b = HH(b, c, d, a, M_offset_6,  23, T[43]);\n	            a = HH(a, b, c, d, M_offset_9,  4,  T[44]);\n	            d = HH(d, a, b, c, M_offset_12, 11, T[45]);\n	            c = HH(c, d, a, b, M_offset_15, 16, T[46]);\n	            b = HH(b, c, d, a, M_offset_2,  23, T[47]);\n\n	            a = II(a, b, c, d, M_offset_0,  6,  T[48]);\n	            d = II(d, a, b, c, M_offset_7,  10, T[49]);\n	            c = II(c, d, a, b, M_offset_14, 15, T[50]);\n	            b = II(b, c, d, a, M_offset_5,  21, T[51]);\n	            a = II(a, b, c, d, M_offset_12, 6,  T[52]);\n	            d = II(d, a, b, c, M_offset_3,  10, T[53]);\n	            c = II(c, d, a, b, M_offset_10, 15, T[54]);\n	            b = II(b, c, d, a, M_offset_1,  21, T[55]);\n	            a = II(a, b, c, d, M_offset_8,  6,  T[56]);\n	            d = II(d, a, b, c, M_offset_15, 10, T[57]);\n	            c = II(c, d, a, b, M_offset_6,  15, T[58]);\n	            b = II(b, c, d, a, M_offset_13, 21, T[59]);\n	            a = II(a, b, c, d, M_offset_4,  6,  T[60]);\n	            d = II(d, a, b, c, M_offset_11, 10, T[61]);\n	            c = II(c, d, a, b, M_offset_2,  15, T[62]);\n	            b = II(b, c, d, a, M_offset_9,  21, T[63]);\n\n	            // Intermediate hash value\n	            H[0] = (H[0] + a) | 0;\n	            H[1] = (H[1] + b) | 0;\n	            H[2] = (H[2] + c) | 0;\n	            H[3] = (H[3] + d) | 0;\n	        },\n\n	        _doFinalize: function () {\n	            // Shortcuts\n	            var data = this._data;\n	            var dataWords = data.words;\n\n	            var nBitsTotal = this._nDataBytes * 8;\n	            var nBitsLeft = data.sigBytes * 8;\n\n	            // Add padding\n	            dataWords[nBitsLeft >>> 5] |= 0x80 << (24 - nBitsLeft % 32);\n\n	            var nBitsTotalH = Math.floor(nBitsTotal / 0x100000000);\n	            var nBitsTotalL = nBitsTotal;\n	            dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 15] = (\n	                (((nBitsTotalH << 8)  | (nBitsTotalH >>> 24)) & 0x00ff00ff) |\n	                (((nBitsTotalH << 24) | (nBitsTotalH >>> 8))  & 0xff00ff00)\n	            );\n	            dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 14] = (\n	                (((nBitsTotalL << 8)  | (nBitsTotalL >>> 24)) & 0x00ff00ff) |\n	                (((nBitsTotalL << 24) | (nBitsTotalL >>> 8))  & 0xff00ff00)\n	            );\n\n	            data.sigBytes = (dataWords.length + 1) * 4;\n\n	            // Hash final blocks\n	            this._process();\n\n	            // Shortcuts\n	            var hash = this._hash;\n	            var H = hash.words;\n\n	            // Swap endian\n	            for (var i = 0; i < 4; i++) {\n	                // Shortcut\n	                var H_i = H[i];\n\n	                H[i] = (((H_i << 8)  | (H_i >>> 24)) & 0x00ff00ff) |\n	                       (((H_i << 24) | (H_i >>> 8))  & 0xff00ff00);\n	            }\n\n	            // Return final computed hash\n	            return hash;\n	        },\n\n	        clone: function () {\n	            var clone = Hasher.clone.call(this);\n	            clone._hash = this._hash.clone();\n\n	            return clone;\n	        }\n	    });\n\n	    function FF(a, b, c, d, x, s, t) {\n	        var n = a + ((b & c) | (~b & d)) + x + t;\n	        return ((n << s) | (n >>> (32 - s))) + b;\n	    }\n\n	    function GG(a, b, c, d, x, s, t) {\n	        var n = a + ((b & d) | (c & ~d)) + x + t;\n	        return ((n << s) | (n >>> (32 - s))) + b;\n	    }\n\n	    function HH(a, b, c, d, x, s, t) {\n	        var n = a + (b ^ c ^ d) + x + t;\n	        return ((n << s) | (n >>> (32 - s))) + b;\n	    }\n\n	    function II(a, b, c, d, x, s, t) {\n	        var n = a + (c ^ (b | ~d)) + x + t;\n	        return ((n << s) | (n >>> (32 - s))) + b;\n	    }\n\n	    /**\n	     * Shortcut function to the hasher's object interface.\n	     *\n	     * @param {WordArray|string} message The message to hash.\n	     *\n	     * @return {WordArray} The hash.\n	     *\n	     * @static\n	     *\n	     * @example\n	     *\n	     *     var hash = CryptoJS.MD5('message');\n	     *     var hash = CryptoJS.MD5(wordArray);\n	     */\n	    C.MD5 = Hasher._createHelper(MD5);\n\n	    /**\n	     * Shortcut function to the HMAC's object interface.\n	     *\n	     * @param {WordArray|string} message The message to hash.\n	     * @param {WordArray|string} key The secret key.\n	     *\n	     * @return {WordArray} The HMAC.\n	     *\n	     * @static\n	     *\n	     * @example\n	     *\n	     *     var hmac = CryptoJS.HmacMD5(message, key);\n	     */\n	    C.HmacMD5 = Hasher._createHmacHelper(MD5);\n	}(Math));\n\n\n	(function () {\n	    // Shortcuts\n	    var C = CryptoJS;\n	    var C_lib = C.lib;\n	    var WordArray = C_lib.WordArray;\n	    var Hasher = C_lib.Hasher;\n	    var C_algo = C.algo;\n\n	    // Reusable object\n	    var W = [];\n\n	    /**\n	     * SHA-1 hash algorithm.\n	     */\n	    var SHA1 = C_algo.SHA1 = Hasher.extend({\n	        _doReset: function () {\n	            this._hash = new WordArray.init([\n	                0x67452301, 0xefcdab89,\n	                0x98badcfe, 0x10325476,\n	                0xc3d2e1f0\n	            ]);\n	        },\n\n	        _doProcessBlock: function (M, offset) {\n	            // Shortcut\n	            var H = this._hash.words;\n\n	            // Working variables\n	            var a = H[0];\n	            var b = H[1];\n	            var c = H[2];\n	            var d = H[3];\n	            var e = H[4];\n\n	            // Computation\n	            for (var i = 0; i < 80; i++) {\n	                if (i < 16) {\n	                    W[i] = M[offset + i] | 0;\n	                } else {\n	                    var n = W[i - 3] ^ W[i - 8] ^ W[i - 14] ^ W[i - 16];\n	                    W[i] = (n << 1) | (n >>> 31);\n	                }\n\n	                var t = ((a << 5) | (a >>> 27)) + e + W[i];\n	                if (i < 20) {\n	                    t += ((b & c) | (~b & d)) + 0x5a827999;\n	                } else if (i < 40) {\n	                    t += (b ^ c ^ d) + 0x6ed9eba1;\n	                } else if (i < 60) {\n	                    t += ((b & c) | (b & d) | (c & d)) - 0x70e44324;\n	                } else /* if (i < 80) */ {\n	                    t += (b ^ c ^ d) - 0x359d3e2a;\n	                }\n\n	                e = d;\n	                d = c;\n	                c = (b << 30) | (b >>> 2);\n	                b = a;\n	                a = t;\n	            }\n\n	            // Intermediate hash value\n	            H[0] = (H[0] + a) | 0;\n	            H[1] = (H[1] + b) | 0;\n	            H[2] = (H[2] + c) | 0;\n	            H[3] = (H[3] + d) | 0;\n	            H[4] = (H[4] + e) | 0;\n	        },\n\n	        _doFinalize: function () {\n	            // Shortcuts\n	            var data = this._data;\n	            var dataWords = data.words;\n\n	            var nBitsTotal = this._nDataBytes * 8;\n	            var nBitsLeft = data.sigBytes * 8;\n\n	            // Add padding\n	            dataWords[nBitsLeft >>> 5] |= 0x80 << (24 - nBitsLeft % 32);\n	            dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 14] = Math.floor(nBitsTotal / 0x100000000);\n	            dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 15] = nBitsTotal;\n	            data.sigBytes = dataWords.length * 4;\n\n	            // Hash final blocks\n	            this._process();\n\n	            // Return final computed hash\n	            return this._hash;\n	        },\n\n	        clone: function () {\n	            var clone = Hasher.clone.call(this);\n	            clone._hash = this._hash.clone();\n\n	            return clone;\n	        }\n	    });\n\n	    /**\n	     * Shortcut function to the hasher's object interface.\n	     *\n	     * @param {WordArray|string} message The message to hash.\n	     *\n	     * @return {WordArray} The hash.\n	     *\n	     * @static\n	     *\n	     * @example\n	     *\n	     *     var hash = CryptoJS.SHA1('message');\n	     *     var hash = CryptoJS.SHA1(wordArray);\n	     */\n	    C.SHA1 = Hasher._createHelper(SHA1);\n\n	    /**\n	     * Shortcut function to the HMAC's object interface.\n	     *\n	     * @param {WordArray|string} message The message to hash.\n	     * @param {WordArray|string} key The secret key.\n	     *\n	     * @return {WordArray} The HMAC.\n	     *\n	     * @static\n	     *\n	     * @example\n	     *\n	     *     var hmac = CryptoJS.HmacSHA1(message, key);\n	     */\n	    C.HmacSHA1 = Hasher._createHmacHelper(SHA1);\n	}());\n\n\n	(function (Math) {\n	    // Shortcuts\n	    var C = CryptoJS;\n	    var C_lib = C.lib;\n	    var WordArray = C_lib.WordArray;\n	    var Hasher = C_lib.Hasher;\n	    var C_algo = C.algo;\n\n	    // Initialization and round constants tables\n	    var H = [];\n	    var K = [];\n\n	    // Compute constants\n	    (function () {\n	        function isPrime(n) {\n	            var sqrtN = Math.sqrt(n);\n	            for (var factor = 2; factor <= sqrtN; factor++) {\n	                if (!(n % factor)) {\n	                    return false;\n	                }\n	            }\n\n	            return true;\n	        }\n\n	        function getFractionalBits(n) {\n	            return ((n - (n | 0)) * 0x100000000) | 0;\n	        }\n\n	        var n = 2;\n	        var nPrime = 0;\n	        while (nPrime < 64) {\n	            if (isPrime(n)) {\n	                if (nPrime < 8) {\n	                    H[nPrime] = getFractionalBits(Math.pow(n, 1 / 2));\n	                }\n	                K[nPrime] = getFractionalBits(Math.pow(n, 1 / 3));\n\n	                nPrime++;\n	            }\n\n	            n++;\n	        }\n	    }());\n\n	    // Reusable object\n	    var W = [];\n\n	    /**\n	     * SHA-256 hash algorithm.\n	     */\n	    var SHA256 = C_algo.SHA256 = Hasher.extend({\n	        _doReset: function () {\n	            this._hash = new WordArray.init(H.slice(0));\n	        },\n\n	        _doProcessBlock: function (M, offset) {\n	            // Shortcut\n	            var H = this._hash.words;\n\n	            // Working variables\n	            var a = H[0];\n	            var b = H[1];\n	            var c = H[2];\n	            var d = H[3];\n	            var e = H[4];\n	            var f = H[5];\n	            var g = H[6];\n	            var h = H[7];\n\n	            // Computation\n	            for (var i = 0; i < 64; i++) {\n	                if (i < 16) {\n	                    W[i] = M[offset + i] | 0;\n	                } else {\n	                    var gamma0x = W[i - 15];\n	                    var gamma0  = ((gamma0x << 25) | (gamma0x >>> 7))  ^\n	                                  ((gamma0x << 14) | (gamma0x >>> 18)) ^\n	                                   (gamma0x >>> 3);\n\n	                    var gamma1x = W[i - 2];\n	                    var gamma1  = ((gamma1x << 15) | (gamma1x >>> 17)) ^\n	                                  ((gamma1x << 13) | (gamma1x >>> 19)) ^\n	                                   (gamma1x >>> 10);\n\n	                    W[i] = gamma0 + W[i - 7] + gamma1 + W[i - 16];\n	                }\n\n	                var ch  = (e & f) ^ (~e & g);\n	                var maj = (a & b) ^ (a & c) ^ (b & c);\n\n	                var sigma0 = ((a << 30) | (a >>> 2)) ^ ((a << 19) | (a >>> 13)) ^ ((a << 10) | (a >>> 22));\n	                var sigma1 = ((e << 26) | (e >>> 6)) ^ ((e << 21) | (e >>> 11)) ^ ((e << 7)  | (e >>> 25));\n\n	                var t1 = h + sigma1 + ch + K[i] + W[i];\n	                var t2 = sigma0 + maj;\n\n	                h = g;\n	                g = f;\n	                f = e;\n	                e = (d + t1) | 0;\n	                d = c;\n	                c = b;\n	                b = a;\n	                a = (t1 + t2) | 0;\n	            }\n\n	            // Intermediate hash value\n	            H[0] = (H[0] + a) | 0;\n	            H[1] = (H[1] + b) | 0;\n	            H[2] = (H[2] + c) | 0;\n	            H[3] = (H[3] + d) | 0;\n	            H[4] = (H[4] + e) | 0;\n	            H[5] = (H[5] + f) | 0;\n	            H[6] = (H[6] + g) | 0;\n	            H[7] = (H[7] + h) | 0;\n	        },\n\n	        _doFinalize: function () {\n	            // Shortcuts\n	            var data = this._data;\n	            var dataWords = data.words;\n\n	            var nBitsTotal = this._nDataBytes * 8;\n	            var nBitsLeft = data.sigBytes * 8;\n\n	            // Add padding\n	            dataWords[nBitsLeft >>> 5] |= 0x80 << (24 - nBitsLeft % 32);\n	            dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 14] = Math.floor(nBitsTotal / 0x100000000);\n	            dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 15] = nBitsTotal;\n	            data.sigBytes = dataWords.length * 4;\n\n	            // Hash final blocks\n	            this._process();\n\n	            // Return final computed hash\n	            return this._hash;\n	        },\n\n	        clone: function () {\n	            var clone = Hasher.clone.call(this);\n	            clone._hash = this._hash.clone();\n\n	            return clone;\n	        }\n	    });\n\n	    /**\n	     * Shortcut function to the hasher's object interface.\n	     *\n	     * @param {WordArray|string} message The message to hash.\n	     *\n	     * @return {WordArray} The hash.\n	     *\n	     * @static\n	     *\n	     * @example\n	     *\n	     *     var hash = CryptoJS.SHA256('message');\n	     *     var hash = CryptoJS.SHA256(wordArray);\n	     */\n	    C.SHA256 = Hasher._createHelper(SHA256);\n\n	    /**\n	     * Shortcut function to the HMAC's object interface.\n	     *\n	     * @param {WordArray|string} message The message to hash.\n	     * @param {WordArray|string} key The secret key.\n	     *\n	     * @return {WordArray} The HMAC.\n	     *\n	     * @static\n	     *\n	     * @example\n	     *\n	     *     var hmac = CryptoJS.HmacSHA256(message, key);\n	     */\n	    C.HmacSHA256 = Hasher._createHmacHelper(SHA256);\n	}(Math));\n\n\n	(function () {\n	    // Shortcuts\n	    var C = CryptoJS;\n	    var C_lib = C.lib;\n	    var WordArray = C_lib.WordArray;\n	    var C_algo = C.algo;\n	    var SHA256 = C_algo.SHA256;\n\n	    /**\n	     * SHA-224 hash algorithm.\n	     */\n	    var SHA224 = C_algo.SHA224 = SHA256.extend({\n	        _doReset: function () {\n	            this._hash = new WordArray.init([\n	                0xc1059ed8, 0x367cd507, 0x3070dd17, 0xf70e5939,\n	                0xffc00b31, 0x68581511, 0x64f98fa7, 0xbefa4fa4\n	            ]);\n	        },\n\n	        _doFinalize: function () {\n	            var hash = SHA256._doFinalize.call(this);\n\n	            hash.sigBytes -= 4;\n\n	            return hash;\n	        }\n	    });\n\n	    /**\n	     * Shortcut function to the hasher's object interface.\n	     *\n	     * @param {WordArray|string} message The message to hash.\n	     *\n	     * @return {WordArray} The hash.\n	     *\n	     * @static\n	     *\n	     * @example\n	     *\n	     *     var hash = CryptoJS.SHA224('message');\n	     *     var hash = CryptoJS.SHA224(wordArray);\n	     */\n	    C.SHA224 = SHA256._createHelper(SHA224);\n\n	    /**\n	     * Shortcut function to the HMAC's object interface.\n	     *\n	     * @param {WordArray|string} message The message to hash.\n	     * @param {WordArray|string} key The secret key.\n	     *\n	     * @return {WordArray} The HMAC.\n	     *\n	     * @static\n	     *\n	     * @example\n	     *\n	     *     var hmac = CryptoJS.HmacSHA224(message, key);\n	     */\n	    C.HmacSHA224 = SHA256._createHmacHelper(SHA224);\n	}());\n\n\n	(function () {\n	    // Shortcuts\n	    var C = CryptoJS;\n	    var C_lib = C.lib;\n	    var Hasher = C_lib.Hasher;\n	    var C_x64 = C.x64;\n	    var X64Word = C_x64.Word;\n	    var X64WordArray = C_x64.WordArray;\n	    var C_algo = C.algo;\n\n	    function X64Word_create() {\n	        return X64Word.create.apply(X64Word, arguments);\n	    }\n\n	    // Constants\n	    var K = [\n	        X64Word_create(0x428a2f98, 0xd728ae22), X64Word_create(0x71374491, 0x23ef65cd),\n	        X64Word_create(0xb5c0fbcf, 0xec4d3b2f), X64Word_create(0xe9b5dba5, 0x8189dbbc),\n	        X64Word_create(0x3956c25b, 0xf348b538), X64Word_create(0x59f111f1, 0xb605d019),\n	        X64Word_create(0x923f82a4, 0xaf194f9b), X64Word_create(0xab1c5ed5, 0xda6d8118),\n	        X64Word_create(0xd807aa98, 0xa3030242), X64Word_create(0x12835b01, 0x45706fbe),\n	        X64Word_create(0x243185be, 0x4ee4b28c), X64Word_create(0x550c7dc3, 0xd5ffb4e2),\n	        X64Word_create(0x72be5d74, 0xf27b896f), X64Word_create(0x80deb1fe, 0x3b1696b1),\n	        X64Word_create(0x9bdc06a7, 0x25c71235), X64Word_create(0xc19bf174, 0xcf692694),\n	        X64Word_create(0xe49b69c1, 0x9ef14ad2), X64Word_create(0xefbe4786, 0x384f25e3),\n	        X64Word_create(0x0fc19dc6, 0x8b8cd5b5), X64Word_create(0x240ca1cc, 0x77ac9c65),\n	        X64Word_create(0x2de92c6f, 0x592b0275), X64Word_create(0x4a7484aa, 0x6ea6e483),\n	        X64Word_create(0x5cb0a9dc, 0xbd41fbd4), X64Word_create(0x76f988da, 0x831153b5),\n	        X64Word_create(0x983e5152, 0xee66dfab), X64Word_create(0xa831c66d, 0x2db43210),\n	        X64Word_create(0xb00327c8, 0x98fb213f), X64Word_create(0xbf597fc7, 0xbeef0ee4),\n	        X64Word_create(0xc6e00bf3, 0x3da88fc2), X64Word_create(0xd5a79147, 0x930aa725),\n	        X64Word_create(0x06ca6351, 0xe003826f), X64Word_create(0x14292967, 0x0a0e6e70),\n	        X64Word_create(0x27b70a85, 0x46d22ffc), X64Word_create(0x2e1b2138, 0x5c26c926),\n	        X64Word_create(0x4d2c6dfc, 0x5ac42aed), X64Word_create(0x53380d13, 0x9d95b3df),\n	        X64Word_create(0x650a7354, 0x8baf63de), X64Word_create(0x766a0abb, 0x3c77b2a8),\n	        X64Word_create(0x81c2c92e, 0x47edaee6), X64Word_create(0x92722c85, 0x1482353b),\n	        X64Word_create(0xa2bfe8a1, 0x4cf10364), X64Word_create(0xa81a664b, 0xbc423001),\n	        X64Word_create(0xc24b8b70, 0xd0f89791), X64Word_create(0xc76c51a3, 0x0654be30),\n	        X64Word_create(0xd192e819, 0xd6ef5218), X64Word_create(0xd6990624, 0x5565a910),\n	        X64Word_create(0xf40e3585, 0x5771202a), X64Word_create(0x106aa070, 0x32bbd1b8),\n	        X64Word_create(0x19a4c116, 0xb8d2d0c8), X64Word_create(0x1e376c08, 0x5141ab53),\n	        X64Word_create(0x2748774c, 0xdf8eeb99), X64Word_create(0x34b0bcb5, 0xe19b48a8),\n	        X64Word_create(0x391c0cb3, 0xc5c95a63), X64Word_create(0x4ed8aa4a, 0xe3418acb),\n	        X64Word_create(0x5b9cca4f, 0x7763e373), X64Word_create(0x682e6ff3, 0xd6b2b8a3),\n	        X64Word_create(0x748f82ee, 0x5defb2fc), X64Word_create(0x78a5636f, 0x43172f60),\n	        X64Word_create(0x84c87814, 0xa1f0ab72), X64Word_create(0x8cc70208, 0x1a6439ec),\n	        X64Word_create(0x90befffa, 0x23631e28), X64Word_create(0xa4506ceb, 0xde82bde9),\n	        X64Word_create(0xbef9a3f7, 0xb2c67915), X64Word_create(0xc67178f2, 0xe372532b),\n	        X64Word_create(0xca273ece, 0xea26619c), X64Word_create(0xd186b8c7, 0x21c0c207),\n	        X64Word_create(0xeada7dd6, 0xcde0eb1e), X64Word_create(0xf57d4f7f, 0xee6ed178),\n	        X64Word_create(0x06f067aa, 0x72176fba), X64Word_create(0x0a637dc5, 0xa2c898a6),\n	        X64Word_create(0x113f9804, 0xbef90dae), X64Word_create(0x1b710b35, 0x131c471b),\n	        X64Word_create(0x28db77f5, 0x23047d84), X64Word_create(0x32caab7b, 0x40c72493),\n	        X64Word_create(0x3c9ebe0a, 0x15c9bebc), X64Word_create(0x431d67c4, 0x9c100d4c),\n	        X64Word_create(0x4cc5d4be, 0xcb3e42b6), X64Word_create(0x597f299c, 0xfc657e2a),\n	        X64Word_create(0x5fcb6fab, 0x3ad6faec), X64Word_create(0x6c44198c, 0x4a475817)\n	    ];\n\n	    // Reusable objects\n	    var W = [];\n	    (function () {\n	        for (var i = 0; i < 80; i++) {\n	            W[i] = X64Word_create();\n	        }\n	    }());\n\n	    /**\n	     * SHA-512 hash algorithm.\n	     */\n	    var SHA512 = C_algo.SHA512 = Hasher.extend({\n	        _doReset: function () {\n	            this._hash = new X64WordArray.init([\n	                new X64Word.init(0x6a09e667, 0xf3bcc908), new X64Word.init(0xbb67ae85, 0x84caa73b),\n	                new X64Word.init(0x3c6ef372, 0xfe94f82b), new X64Word.init(0xa54ff53a, 0x5f1d36f1),\n	                new X64Word.init(0x510e527f, 0xade682d1), new X64Word.init(0x9b05688c, 0x2b3e6c1f),\n	                new X64Word.init(0x1f83d9ab, 0xfb41bd6b), new X64Word.init(0x5be0cd19, 0x137e2179)\n	            ]);\n	        },\n\n	        _doProcessBlock: function (M, offset) {\n	            // Shortcuts\n	            var H = this._hash.words;\n\n	            var H0 = H[0];\n	            var H1 = H[1];\n	            var H2 = H[2];\n	            var H3 = H[3];\n	            var H4 = H[4];\n	            var H5 = H[5];\n	            var H6 = H[6];\n	            var H7 = H[7];\n\n	            var H0h = H0.high;\n	            var H0l = H0.low;\n	            var H1h = H1.high;\n	            var H1l = H1.low;\n	            var H2h = H2.high;\n	            var H2l = H2.low;\n	            var H3h = H3.high;\n	            var H3l = H3.low;\n	            var H4h = H4.high;\n	            var H4l = H4.low;\n	            var H5h = H5.high;\n	            var H5l = H5.low;\n	            var H6h = H6.high;\n	            var H6l = H6.low;\n	            var H7h = H7.high;\n	            var H7l = H7.low;\n\n	            // Working variables\n	            var ah = H0h;\n	            var al = H0l;\n	            var bh = H1h;\n	            var bl = H1l;\n	            var ch = H2h;\n	            var cl = H2l;\n	            var dh = H3h;\n	            var dl = H3l;\n	            var eh = H4h;\n	            var el = H4l;\n	            var fh = H5h;\n	            var fl = H5l;\n	            var gh = H6h;\n	            var gl = H6l;\n	            var hh = H7h;\n	            var hl = H7l;\n\n	            // Rounds\n	            for (var i = 0; i < 80; i++) {\n	                var Wil;\n	                var Wih;\n\n	                // Shortcut\n	                var Wi = W[i];\n\n	                // Extend message\n	                if (i < 16) {\n	                    Wih = Wi.high = M[offset + i * 2]     | 0;\n	                    Wil = Wi.low  = M[offset + i * 2 + 1] | 0;\n	                } else {\n	                    // Gamma0\n	                    var gamma0x  = W[i - 15];\n	                    var gamma0xh = gamma0x.high;\n	                    var gamma0xl = gamma0x.low;\n	                    var gamma0h  = ((gamma0xh >>> 1) | (gamma0xl << 31)) ^ ((gamma0xh >>> 8) | (gamma0xl << 24)) ^ (gamma0xh >>> 7);\n	                    var gamma0l  = ((gamma0xl >>> 1) | (gamma0xh << 31)) ^ ((gamma0xl >>> 8) | (gamma0xh << 24)) ^ ((gamma0xl >>> 7) | (gamma0xh << 25));\n\n	                    // Gamma1\n	                    var gamma1x  = W[i - 2];\n	                    var gamma1xh = gamma1x.high;\n	                    var gamma1xl = gamma1x.low;\n	                    var gamma1h  = ((gamma1xh >>> 19) | (gamma1xl << 13)) ^ ((gamma1xh << 3) | (gamma1xl >>> 29)) ^ (gamma1xh >>> 6);\n	                    var gamma1l  = ((gamma1xl >>> 19) | (gamma1xh << 13)) ^ ((gamma1xl << 3) | (gamma1xh >>> 29)) ^ ((gamma1xl >>> 6) | (gamma1xh << 26));\n\n	                    // W[i] = gamma0 + W[i - 7] + gamma1 + W[i - 16]\n	                    var Wi7  = W[i - 7];\n	                    var Wi7h = Wi7.high;\n	                    var Wi7l = Wi7.low;\n\n	                    var Wi16  = W[i - 16];\n	                    var Wi16h = Wi16.high;\n	                    var Wi16l = Wi16.low;\n\n	                    Wil = gamma0l + Wi7l;\n	                    Wih = gamma0h + Wi7h + ((Wil >>> 0) < (gamma0l >>> 0) ? 1 : 0);\n	                    Wil = Wil + gamma1l;\n	                    Wih = Wih + gamma1h + ((Wil >>> 0) < (gamma1l >>> 0) ? 1 : 0);\n	                    Wil = Wil + Wi16l;\n	                    Wih = Wih + Wi16h + ((Wil >>> 0) < (Wi16l >>> 0) ? 1 : 0);\n\n	                    Wi.high = Wih;\n	                    Wi.low  = Wil;\n	                }\n\n	                var chh  = (eh & fh) ^ (~eh & gh);\n	                var chl  = (el & fl) ^ (~el & gl);\n	                var majh = (ah & bh) ^ (ah & ch) ^ (bh & ch);\n	                var majl = (al & bl) ^ (al & cl) ^ (bl & cl);\n\n	                var sigma0h = ((ah >>> 28) | (al << 4))  ^ ((ah << 30)  | (al >>> 2)) ^ ((ah << 25) | (al >>> 7));\n	                var sigma0l = ((al >>> 28) | (ah << 4))  ^ ((al << 30)  | (ah >>> 2)) ^ ((al << 25) | (ah >>> 7));\n	                var sigma1h = ((eh >>> 14) | (el << 18)) ^ ((eh >>> 18) | (el << 14)) ^ ((eh << 23) | (el >>> 9));\n	                var sigma1l = ((el >>> 14) | (eh << 18)) ^ ((el >>> 18) | (eh << 14)) ^ ((el << 23) | (eh >>> 9));\n\n	                // t1 = h + sigma1 + ch + K[i] + W[i]\n	                var Ki  = K[i];\n	                var Kih = Ki.high;\n	                var Kil = Ki.low;\n\n	                var t1l = hl + sigma1l;\n	                var t1h = hh + sigma1h + ((t1l >>> 0) < (hl >>> 0) ? 1 : 0);\n	                var t1l = t1l + chl;\n	                var t1h = t1h + chh + ((t1l >>> 0) < (chl >>> 0) ? 1 : 0);\n	                var t1l = t1l + Kil;\n	                var t1h = t1h + Kih + ((t1l >>> 0) < (Kil >>> 0) ? 1 : 0);\n	                var t1l = t1l + Wil;\n	                var t1h = t1h + Wih + ((t1l >>> 0) < (Wil >>> 0) ? 1 : 0);\n\n	                // t2 = sigma0 + maj\n	                var t2l = sigma0l + majl;\n	                var t2h = sigma0h + majh + ((t2l >>> 0) < (sigma0l >>> 0) ? 1 : 0);\n\n	                // Update working variables\n	                hh = gh;\n	                hl = gl;\n	                gh = fh;\n	                gl = fl;\n	                fh = eh;\n	                fl = el;\n	                el = (dl + t1l) | 0;\n	                eh = (dh + t1h + ((el >>> 0) < (dl >>> 0) ? 1 : 0)) | 0;\n	                dh = ch;\n	                dl = cl;\n	                ch = bh;\n	                cl = bl;\n	                bh = ah;\n	                bl = al;\n	                al = (t1l + t2l) | 0;\n	                ah = (t1h + t2h + ((al >>> 0) < (t1l >>> 0) ? 1 : 0)) | 0;\n	            }\n\n	            // Intermediate hash value\n	            H0l = H0.low  = (H0l + al);\n	            H0.high = (H0h + ah + ((H0l >>> 0) < (al >>> 0) ? 1 : 0));\n	            H1l = H1.low  = (H1l + bl);\n	            H1.high = (H1h + bh + ((H1l >>> 0) < (bl >>> 0) ? 1 : 0));\n	            H2l = H2.low  = (H2l + cl);\n	            H2.high = (H2h + ch + ((H2l >>> 0) < (cl >>> 0) ? 1 : 0));\n	            H3l = H3.low  = (H3l + dl);\n	            H3.high = (H3h + dh + ((H3l >>> 0) < (dl >>> 0) ? 1 : 0));\n	            H4l = H4.low  = (H4l + el);\n	            H4.high = (H4h + eh + ((H4l >>> 0) < (el >>> 0) ? 1 : 0));\n	            H5l = H5.low  = (H5l + fl);\n	            H5.high = (H5h + fh + ((H5l >>> 0) < (fl >>> 0) ? 1 : 0));\n	            H6l = H6.low  = (H6l + gl);\n	            H6.high = (H6h + gh + ((H6l >>> 0) < (gl >>> 0) ? 1 : 0));\n	            H7l = H7.low  = (H7l + hl);\n	            H7.high = (H7h + hh + ((H7l >>> 0) < (hl >>> 0) ? 1 : 0));\n	        },\n\n	        _doFinalize: function () {\n	            // Shortcuts\n	            var data = this._data;\n	            var dataWords = data.words;\n\n	            var nBitsTotal = this._nDataBytes * 8;\n	            var nBitsLeft = data.sigBytes * 8;\n\n	            // Add padding\n	            dataWords[nBitsLeft >>> 5] |= 0x80 << (24 - nBitsLeft % 32);\n	            dataWords[(((nBitsLeft + 128) >>> 10) << 5) + 30] = Math.floor(nBitsTotal / 0x100000000);\n	            dataWords[(((nBitsLeft + 128) >>> 10) << 5) + 31] = nBitsTotal;\n	            data.sigBytes = dataWords.length * 4;\n\n	            // Hash final blocks\n	            this._process();\n\n	            // Convert hash to 32-bit word array before returning\n	            var hash = this._hash.toX32();\n\n	            // Return final computed hash\n	            return hash;\n	        },\n\n	        clone: function () {\n	            var clone = Hasher.clone.call(this);\n	            clone._hash = this._hash.clone();\n\n	            return clone;\n	        },\n\n	        blockSize: 1024/32\n	    });\n\n	    /**\n	     * Shortcut function to the hasher's object interface.\n	     *\n	     * @param {WordArray|string} message The message to hash.\n	     *\n	     * @return {WordArray} The hash.\n	     *\n	     * @static\n	     *\n	     * @example\n	     *\n	     *     var hash = CryptoJS.SHA512('message');\n	     *     var hash = CryptoJS.SHA512(wordArray);\n	     */\n	    C.SHA512 = Hasher._createHelper(SHA512);\n\n	    /**\n	     * Shortcut function to the HMAC's object interface.\n	     *\n	     * @param {WordArray|string} message The message to hash.\n	     * @param {WordArray|string} key The secret key.\n	     *\n	     * @return {WordArray} The HMAC.\n	     *\n	     * @static\n	     *\n	     * @example\n	     *\n	     *     var hmac = CryptoJS.HmacSHA512(message, key);\n	     */\n	    C.HmacSHA512 = Hasher._createHmacHelper(SHA512);\n	}());\n\n\n	(function () {\n	    // Shortcuts\n	    var C = CryptoJS;\n	    var C_x64 = C.x64;\n	    var X64Word = C_x64.Word;\n	    var X64WordArray = C_x64.WordArray;\n	    var C_algo = C.algo;\n	    var SHA512 = C_algo.SHA512;\n\n	    /**\n	     * SHA-384 hash algorithm.\n	     */\n	    var SHA384 = C_algo.SHA384 = SHA512.extend({\n	        _doReset: function () {\n	            this._hash = new X64WordArray.init([\n	                new X64Word.init(0xcbbb9d5d, 0xc1059ed8), new X64Word.init(0x629a292a, 0x367cd507),\n	                new X64Word.init(0x9159015a, 0x3070dd17), new X64Word.init(0x152fecd8, 0xf70e5939),\n	                new X64Word.init(0x67332667, 0xffc00b31), new X64Word.init(0x8eb44a87, 0x68581511),\n	                new X64Word.init(0xdb0c2e0d, 0x64f98fa7), new X64Word.init(0x47b5481d, 0xbefa4fa4)\n	            ]);\n	        },\n\n	        _doFinalize: function () {\n	            var hash = SHA512._doFinalize.call(this);\n\n	            hash.sigBytes -= 16;\n\n	            return hash;\n	        }\n	    });\n\n	    /**\n	     * Shortcut function to the hasher's object interface.\n	     *\n	     * @param {WordArray|string} message The message to hash.\n	     *\n	     * @return {WordArray} The hash.\n	     *\n	     * @static\n	     *\n	     * @example\n	     *\n	     *     var hash = CryptoJS.SHA384('message');\n	     *     var hash = CryptoJS.SHA384(wordArray);\n	     */\n	    C.SHA384 = SHA512._createHelper(SHA384);\n\n	    /**\n	     * Shortcut function to the HMAC's object interface.\n	     *\n	     * @param {WordArray|string} message The message to hash.\n	     * @param {WordArray|string} key The secret key.\n	     *\n	     * @return {WordArray} The HMAC.\n	     *\n	     * @static\n	     *\n	     * @example\n	     *\n	     *     var hmac = CryptoJS.HmacSHA384(message, key);\n	     */\n	    C.HmacSHA384 = SHA512._createHmacHelper(SHA384);\n	}());\n\n\n	(function (Math) {\n	    // Shortcuts\n	    var C = CryptoJS;\n	    var C_lib = C.lib;\n	    var WordArray = C_lib.WordArray;\n	    var Hasher = C_lib.Hasher;\n	    var C_x64 = C.x64;\n	    var X64Word = C_x64.Word;\n	    var C_algo = C.algo;\n\n	    // Constants tables\n	    var RHO_OFFSETS = [];\n	    var PI_INDEXES  = [];\n	    var ROUND_CONSTANTS = [];\n\n	    // Compute Constants\n	    (function () {\n	        // Compute rho offset constants\n	        var x = 1, y = 0;\n	        for (var t = 0; t < 24; t++) {\n	            RHO_OFFSETS[x + 5 * y] = ((t + 1) * (t + 2) / 2) % 64;\n\n	            var newX = y % 5;\n	            var newY = (2 * x + 3 * y) % 5;\n	            x = newX;\n	            y = newY;\n	        }\n\n	        // Compute pi index constants\n	        for (var x = 0; x < 5; x++) {\n	            for (var y = 0; y < 5; y++) {\n	                PI_INDEXES[x + 5 * y] = y + ((2 * x + 3 * y) % 5) * 5;\n	            }\n	        }\n\n	        // Compute round constants\n	        var LFSR = 0x01;\n	        for (var i = 0; i < 24; i++) {\n	            var roundConstantMsw = 0;\n	            var roundConstantLsw = 0;\n\n	            for (var j = 0; j < 7; j++) {\n	                if (LFSR & 0x01) {\n	                    var bitPosition = (1 << j) - 1;\n	                    if (bitPosition < 32) {\n	                        roundConstantLsw ^= 1 << bitPosition;\n	                    } else /* if (bitPosition >= 32) */ {\n	                        roundConstantMsw ^= 1 << (bitPosition - 32);\n	                    }\n	                }\n\n	                // Compute next LFSR\n	                if (LFSR & 0x80) {\n	                    // Primitive polynomial over GF(2): x^8 + x^6 + x^5 + x^4 + 1\n	                    LFSR = (LFSR << 1) ^ 0x71;\n	                } else {\n	                    LFSR <<= 1;\n	                }\n	            }\n\n	            ROUND_CONSTANTS[i] = X64Word.create(roundConstantMsw, roundConstantLsw);\n	        }\n	    }());\n\n	    // Reusable objects for temporary values\n	    var T = [];\n	    (function () {\n	        for (var i = 0; i < 25; i++) {\n	            T[i] = X64Word.create();\n	        }\n	    }());\n\n	    /**\n	     * SHA-3 hash algorithm.\n	     */\n	    var SHA3 = C_algo.SHA3 = Hasher.extend({\n	        /**\n	         * Configuration options.\n	         *\n	         * @property {number} outputLength\n	         *   The desired number of bits in the output hash.\n	         *   Only values permitted are: 224, 256, 384, 512.\n	         *   Default: 512\n	         */\n	        cfg: Hasher.cfg.extend({\n	            outputLength: 512\n	        }),\n\n	        _doReset: function () {\n	            var state = this._state = []\n	            for (var i = 0; i < 25; i++) {\n	                state[i] = new X64Word.init();\n	            }\n\n	            this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32;\n	        },\n\n	        _doProcessBlock: function (M, offset) {\n	            // Shortcuts\n	            var state = this._state;\n	            var nBlockSizeLanes = this.blockSize / 2;\n\n	            // Absorb\n	            for (var i = 0; i < nBlockSizeLanes; i++) {\n	                // Shortcuts\n	                var M2i  = M[offset + 2 * i];\n	                var M2i1 = M[offset + 2 * i + 1];\n\n	                // Swap endian\n	                M2i = (\n	                    (((M2i << 8)  | (M2i >>> 24)) & 0x00ff00ff) |\n	                    (((M2i << 24) | (M2i >>> 8))  & 0xff00ff00)\n	                );\n	                M2i1 = (\n	                    (((M2i1 << 8)  | (M2i1 >>> 24)) & 0x00ff00ff) |\n	                    (((M2i1 << 24) | (M2i1 >>> 8))  & 0xff00ff00)\n	                );\n\n	                // Absorb message into state\n	                var lane = state[i];\n	                lane.high ^= M2i1;\n	                lane.low  ^= M2i;\n	            }\n\n	            // Rounds\n	            for (var round = 0; round < 24; round++) {\n	                // Theta\n	                for (var x = 0; x < 5; x++) {\n	                    // Mix column lanes\n	                    var tMsw = 0, tLsw = 0;\n	                    for (var y = 0; y < 5; y++) {\n	                        var lane = state[x + 5 * y];\n	                        tMsw ^= lane.high;\n	                        tLsw ^= lane.low;\n	                    }\n\n	                    // Temporary values\n	                    var Tx = T[x];\n	                    Tx.high = tMsw;\n	                    Tx.low  = tLsw;\n	                }\n	                for (var x = 0; x < 5; x++) {\n	                    // Shortcuts\n	                    var Tx4 = T[(x + 4) % 5];\n	                    var Tx1 = T[(x + 1) % 5];\n	                    var Tx1Msw = Tx1.high;\n	                    var Tx1Lsw = Tx1.low;\n\n	                    // Mix surrounding columns\n	                    var tMsw = Tx4.high ^ ((Tx1Msw << 1) | (Tx1Lsw >>> 31));\n	                    var tLsw = Tx4.low  ^ ((Tx1Lsw << 1) | (Tx1Msw >>> 31));\n	                    for (var y = 0; y < 5; y++) {\n	                        var lane = state[x + 5 * y];\n	                        lane.high ^= tMsw;\n	                        lane.low  ^= tLsw;\n	                    }\n	                }\n\n	                // Rho Pi\n	                for (var laneIndex = 1; laneIndex < 25; laneIndex++) {\n	                    var tMsw;\n	                    var tLsw;\n\n	                    // Shortcuts\n	                    var lane = state[laneIndex];\n	                    var laneMsw = lane.high;\n	                    var laneLsw = lane.low;\n	                    var rhoOffset = RHO_OFFSETS[laneIndex];\n\n	                    // Rotate lanes\n	                    if (rhoOffset < 32) {\n	                        tMsw = (laneMsw << rhoOffset) | (laneLsw >>> (32 - rhoOffset));\n	                        tLsw = (laneLsw << rhoOffset) | (laneMsw >>> (32 - rhoOffset));\n	                    } else /* if (rhoOffset >= 32) */ {\n	                        tMsw = (laneLsw << (rhoOffset - 32)) | (laneMsw >>> (64 - rhoOffset));\n	                        tLsw = (laneMsw << (rhoOffset - 32)) | (laneLsw >>> (64 - rhoOffset));\n	                    }\n\n	                    // Transpose lanes\n	                    var TPiLane = T[PI_INDEXES[laneIndex]];\n	                    TPiLane.high = tMsw;\n	                    TPiLane.low  = tLsw;\n	                }\n\n	                // Rho pi at x = y = 0\n	                var T0 = T[0];\n	                var state0 = state[0];\n	                T0.high = state0.high;\n	                T0.low  = state0.low;\n\n	                // Chi\n	                for (var x = 0; x < 5; x++) {\n	                    for (var y = 0; y < 5; y++) {\n	                        // Shortcuts\n	                        var laneIndex = x + 5 * y;\n	                        var lane = state[laneIndex];\n	                        var TLane = T[laneIndex];\n	                        var Tx1Lane = T[((x + 1) % 5) + 5 * y];\n	                        var Tx2Lane = T[((x + 2) % 5) + 5 * y];\n\n	                        // Mix rows\n	                        lane.high = TLane.high ^ (~Tx1Lane.high & Tx2Lane.high);\n	                        lane.low  = TLane.low  ^ (~Tx1Lane.low  & Tx2Lane.low);\n	                    }\n	                }\n\n	                // Iota\n	                var lane = state[0];\n	                var roundConstant = ROUND_CONSTANTS[round];\n	                lane.high ^= roundConstant.high;\n	                lane.low  ^= roundConstant.low;\n	            }\n	        },\n\n	        _doFinalize: function () {\n	            // Shortcuts\n	            var data = this._data;\n	            var dataWords = data.words;\n	            var nBitsTotal = this._nDataBytes * 8;\n	            var nBitsLeft = data.sigBytes * 8;\n	            var blockSizeBits = this.blockSize * 32;\n\n	            // Add padding\n	            dataWords[nBitsLeft >>> 5] |= 0x1 << (24 - nBitsLeft % 32);\n	            dataWords[((Math.ceil((nBitsLeft + 1) / blockSizeBits) * blockSizeBits) >>> 5) - 1] |= 0x80;\n	            data.sigBytes = dataWords.length * 4;\n\n	            // Hash final blocks\n	            this._process();\n\n	            // Shortcuts\n	            var state = this._state;\n	            var outputLengthBytes = this.cfg.outputLength / 8;\n	            var outputLengthLanes = outputLengthBytes / 8;\n\n	            // Squeeze\n	            var hashWords = [];\n	            for (var i = 0; i < outputLengthLanes; i++) {\n	                // Shortcuts\n	                var lane = state[i];\n	                var laneMsw = lane.high;\n	                var laneLsw = lane.low;\n\n	                // Swap endian\n	                laneMsw = (\n	                    (((laneMsw << 8)  | (laneMsw >>> 24)) & 0x00ff00ff) |\n	                    (((laneMsw << 24) | (laneMsw >>> 8))  & 0xff00ff00)\n	                );\n	                laneLsw = (\n	                    (((laneLsw << 8)  | (laneLsw >>> 24)) & 0x00ff00ff) |\n	                    (((laneLsw << 24) | (laneLsw >>> 8))  & 0xff00ff00)\n	                );\n\n	                // Squeeze state to retrieve hash\n	                hashWords.push(laneLsw);\n	                hashWords.push(laneMsw);\n	            }\n\n	            // Return final computed hash\n	            return new WordArray.init(hashWords, outputLengthBytes);\n	        },\n\n	        clone: function () {\n	            var clone = Hasher.clone.call(this);\n\n	            var state = clone._state = this._state.slice(0);\n	            for (var i = 0; i < 25; i++) {\n	                state[i] = state[i].clone();\n	            }\n\n	            return clone;\n	        }\n	    });\n\n	    /**\n	     * Shortcut function to the hasher's object interface.\n	     *\n	     * @param {WordArray|string} message The message to hash.\n	     *\n	     * @return {WordArray} The hash.\n	     *\n	     * @static\n	     *\n	     * @example\n	     *\n	     *     var hash = CryptoJS.SHA3('message');\n	     *     var hash = CryptoJS.SHA3(wordArray);\n	     */\n	    C.SHA3 = Hasher._createHelper(SHA3);\n\n	    /**\n	     * Shortcut function to the HMAC's object interface.\n	     *\n	     * @param {WordArray|string} message The message to hash.\n	     * @param {WordArray|string} key The secret key.\n	     *\n	     * @return {WordArray} The HMAC.\n	     *\n	     * @static\n	     *\n	     * @example\n	     *\n	     *     var hmac = CryptoJS.HmacSHA3(message, key);\n	     */\n	    C.HmacSHA3 = Hasher._createHmacHelper(SHA3);\n	}(Math));\n\n\n	/** @preserve\n	(c) 2012 by Cédric Mesnil. All rights reserved.\n\n	Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\n\n	    - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\n	    - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\n\n	THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n	*/\n\n	(function (Math) {\n	    // Shortcuts\n	    var C = CryptoJS;\n	    var C_lib = C.lib;\n	    var WordArray = C_lib.WordArray;\n	    var Hasher = C_lib.Hasher;\n	    var C_algo = C.algo;\n\n	    // Constants table\n	    var _zl = WordArray.create([\n	        0,  1,  2,  3,  4,  5,  6,  7,  8,  9, 10, 11, 12, 13, 14, 15,\n	        7,  4, 13,  1, 10,  6, 15,  3, 12,  0,  9,  5,  2, 14, 11,  8,\n	        3, 10, 14,  4,  9, 15,  8,  1,  2,  7,  0,  6, 13, 11,  5, 12,\n	        1,  9, 11, 10,  0,  8, 12,  4, 13,  3,  7, 15, 14,  5,  6,  2,\n	        4,  0,  5,  9,  7, 12,  2, 10, 14,  1,  3,  8, 11,  6, 15, 13]);\n	    var _zr = WordArray.create([\n	        5, 14,  7,  0,  9,  2, 11,  4, 13,  6, 15,  8,  1, 10,  3, 12,\n	        6, 11,  3,  7,  0, 13,  5, 10, 14, 15,  8, 12,  4,  9,  1,  2,\n	        15,  5,  1,  3,  7, 14,  6,  9, 11,  8, 12,  2, 10,  0,  4, 13,\n	        8,  6,  4,  1,  3, 11, 15,  0,  5, 12,  2, 13,  9,  7, 10, 14,\n	        12, 15, 10,  4,  1,  5,  8,  7,  6,  2, 13, 14,  0,  3,  9, 11]);\n	    var _sl = WordArray.create([\n	         11, 14, 15, 12,  5,  8,  7,  9, 11, 13, 14, 15,  6,  7,  9,  8,\n	        7, 6,   8, 13, 11,  9,  7, 15,  7, 12, 15,  9, 11,  7, 13, 12,\n	        11, 13,  6,  7, 14,  9, 13, 15, 14,  8, 13,  6,  5, 12,  7,  5,\n	          11, 12, 14, 15, 14, 15,  9,  8,  9, 14,  5,  6,  8,  6,  5, 12,\n	        9, 15,  5, 11,  6,  8, 13, 12,  5, 12, 13, 14, 11,  8,  5,  6 ]);\n	    var _sr = WordArray.create([\n	        8,  9,  9, 11, 13, 15, 15,  5,  7,  7,  8, 11, 14, 14, 12,  6,\n	        9, 13, 15,  7, 12,  8,  9, 11,  7,  7, 12,  7,  6, 15, 13, 11,\n	        9,  7, 15, 11,  8,  6,  6, 14, 12, 13,  5, 14, 13, 13,  7,  5,\n	        15,  5,  8, 11, 14, 14,  6, 14,  6,  9, 12,  9, 12,  5, 15,  8,\n	        8,  5, 12,  9, 12,  5, 14,  6,  8, 13,  6,  5, 15, 13, 11, 11 ]);\n\n	    var _hl =  WordArray.create([ 0x00000000, 0x5A827999, 0x6ED9EBA1, 0x8F1BBCDC, 0xA953FD4E]);\n	    var _hr =  WordArray.create([ 0x50A28BE6, 0x5C4DD124, 0x6D703EF3, 0x7A6D76E9, 0x00000000]);\n\n	    /**\n	     * RIPEMD160 hash algorithm.\n	     */\n	    var RIPEMD160 = C_algo.RIPEMD160 = Hasher.extend({\n	        _doReset: function () {\n	            this._hash  = WordArray.create([0x67452301, 0xEFCDAB89, 0x98BADCFE, 0x10325476, 0xC3D2E1F0]);\n	        },\n\n	        _doProcessBlock: function (M, offset) {\n\n	            // Swap endian\n	            for (var i = 0; i < 16; i++) {\n	                // Shortcuts\n	                var offset_i = offset + i;\n	                var M_offset_i = M[offset_i];\n\n	                // Swap\n	                M[offset_i] = (\n	                    (((M_offset_i << 8)  | (M_offset_i >>> 24)) & 0x00ff00ff) |\n	                    (((M_offset_i << 24) | (M_offset_i >>> 8))  & 0xff00ff00)\n	                );\n	            }\n	            // Shortcut\n	            var H  = this._hash.words;\n	            var hl = _hl.words;\n	            var hr = _hr.words;\n	            var zl = _zl.words;\n	            var zr = _zr.words;\n	            var sl = _sl.words;\n	            var sr = _sr.words;\n\n	            // Working variables\n	            var al, bl, cl, dl, el;\n	            var ar, br, cr, dr, er;\n\n	            ar = al = H[0];\n	            br = bl = H[1];\n	            cr = cl = H[2];\n	            dr = dl = H[3];\n	            er = el = H[4];\n	            // Computation\n	            var t;\n	            for (var i = 0; i < 80; i += 1) {\n	                t = (al +  M[offset+zl[i]])|0;\n	                if (i<16){\n		            t +=  f1(bl,cl,dl) + hl[0];\n	                } else if (i<32) {\n		            t +=  f2(bl,cl,dl) + hl[1];\n	                } else if (i<48) {\n		            t +=  f3(bl,cl,dl) + hl[2];\n	                } else if (i<64) {\n		            t +=  f4(bl,cl,dl) + hl[3];\n	                } else {// if (i<80) {\n		            t +=  f5(bl,cl,dl) + hl[4];\n	                }\n	                t = t|0;\n	                t =  rotl(t,sl[i]);\n	                t = (t+el)|0;\n	                al = el;\n	                el = dl;\n	                dl = rotl(cl, 10);\n	                cl = bl;\n	                bl = t;\n\n	                t = (ar + M[offset+zr[i]])|0;\n	                if (i<16){\n		            t +=  f5(br,cr,dr) + hr[0];\n	                } else if (i<32) {\n		            t +=  f4(br,cr,dr) + hr[1];\n	                } else if (i<48) {\n		            t +=  f3(br,cr,dr) + hr[2];\n	                } else if (i<64) {\n		            t +=  f2(br,cr,dr) + hr[3];\n	                } else {// if (i<80) {\n		            t +=  f1(br,cr,dr) + hr[4];\n	                }\n	                t = t|0;\n	                t =  rotl(t,sr[i]) ;\n	                t = (t+er)|0;\n	                ar = er;\n	                er = dr;\n	                dr = rotl(cr, 10);\n	                cr = br;\n	                br = t;\n	            }\n	            // Intermediate hash value\n	            t    = (H[1] + cl + dr)|0;\n	            H[1] = (H[2] + dl + er)|0;\n	            H[2] = (H[3] + el + ar)|0;\n	            H[3] = (H[4] + al + br)|0;\n	            H[4] = (H[0] + bl + cr)|0;\n	            H[0] =  t;\n	        },\n\n	        _doFinalize: function () {\n	            // Shortcuts\n	            var data = this._data;\n	            var dataWords = data.words;\n\n	            var nBitsTotal = this._nDataBytes * 8;\n	            var nBitsLeft = data.sigBytes * 8;\n\n	            // Add padding\n	            dataWords[nBitsLeft >>> 5] |= 0x80 << (24 - nBitsLeft % 32);\n	            dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 14] = (\n	                (((nBitsTotal << 8)  | (nBitsTotal >>> 24)) & 0x00ff00ff) |\n	                (((nBitsTotal << 24) | (nBitsTotal >>> 8))  & 0xff00ff00)\n	            );\n	            data.sigBytes = (dataWords.length + 1) * 4;\n\n	            // Hash final blocks\n	            this._process();\n\n	            // Shortcuts\n	            var hash = this._hash;\n	            var H = hash.words;\n\n	            // Swap endian\n	            for (var i = 0; i < 5; i++) {\n	                // Shortcut\n	                var H_i = H[i];\n\n	                // Swap\n	                H[i] = (((H_i << 8)  | (H_i >>> 24)) & 0x00ff00ff) |\n	                       (((H_i << 24) | (H_i >>> 8))  & 0xff00ff00);\n	            }\n\n	            // Return final computed hash\n	            return hash;\n	        },\n\n	        clone: function () {\n	            var clone = Hasher.clone.call(this);\n	            clone._hash = this._hash.clone();\n\n	            return clone;\n	        }\n	    });\n\n\n	    function f1(x, y, z) {\n	        return ((x) ^ (y) ^ (z));\n\n	    }\n\n	    function f2(x, y, z) {\n	        return (((x)&(y)) | ((~x)&(z)));\n	    }\n\n	    function f3(x, y, z) {\n	        return (((x) | (~(y))) ^ (z));\n	    }\n\n	    function f4(x, y, z) {\n	        return (((x) & (z)) | ((y)&(~(z))));\n	    }\n\n	    function f5(x, y, z) {\n	        return ((x) ^ ((y) |(~(z))));\n\n	    }\n\n	    function rotl(x,n) {\n	        return (x<<n) | (x>>>(32-n));\n	    }\n\n\n	    /**\n	     * Shortcut function to the hasher's object interface.\n	     *\n	     * @param {WordArray|string} message The message to hash.\n	     *\n	     * @return {WordArray} The hash.\n	     *\n	     * @static\n	     *\n	     * @example\n	     *\n	     *     var hash = CryptoJS.RIPEMD160('message');\n	     *     var hash = CryptoJS.RIPEMD160(wordArray);\n	     */\n	    C.RIPEMD160 = Hasher._createHelper(RIPEMD160);\n\n	    /**\n	     * Shortcut function to the HMAC's object interface.\n	     *\n	     * @param {WordArray|string} message The message to hash.\n	     * @param {WordArray|string} key The secret key.\n	     *\n	     * @return {WordArray} The HMAC.\n	     *\n	     * @static\n	     *\n	     * @example\n	     *\n	     *     var hmac = CryptoJS.HmacRIPEMD160(message, key);\n	     */\n	    C.HmacRIPEMD160 = Hasher._createHmacHelper(RIPEMD160);\n	}(Math));\n\n\n	(function () {\n	    // Shortcuts\n	    var C = CryptoJS;\n	    var C_lib = C.lib;\n	    var Base = C_lib.Base;\n	    var C_enc = C.enc;\n	    var Utf8 = C_enc.Utf8;\n	    var C_algo = C.algo;\n\n	    /**\n	     * HMAC algorithm.\n	     */\n	    var HMAC = C_algo.HMAC = Base.extend({\n	        /**\n	         * Initializes a newly created HMAC.\n	         *\n	         * @param {Hasher} hasher The hash algorithm to use.\n	         * @param {WordArray|string} key The secret key.\n	         *\n	         * @example\n	         *\n	         *     var hmacHasher = CryptoJS.algo.HMAC.create(CryptoJS.algo.SHA256, key);\n	         */\n	        init: function (hasher, key) {\n	            // Init hasher\n	            hasher = this._hasher = new hasher.init();\n\n	            // Convert string to WordArray, else assume WordArray already\n	            if (typeof key == 'string') {\n	                key = Utf8.parse(key);\n	            }\n\n	            // Shortcuts\n	            var hasherBlockSize = hasher.blockSize;\n	            var hasherBlockSizeBytes = hasherBlockSize * 4;\n\n	            // Allow arbitrary length keys\n	            if (key.sigBytes > hasherBlockSizeBytes) {\n	                key = hasher.finalize(key);\n	            }\n\n	            // Clamp excess bits\n	            key.clamp();\n\n	            // Clone key for inner and outer pads\n	            var oKey = this._oKey = key.clone();\n	            var iKey = this._iKey = key.clone();\n\n	            // Shortcuts\n	            var oKeyWords = oKey.words;\n	            var iKeyWords = iKey.words;\n\n	            // XOR keys with pad constants\n	            for (var i = 0; i < hasherBlockSize; i++) {\n	                oKeyWords[i] ^= 0x5c5c5c5c;\n	                iKeyWords[i] ^= 0x36363636;\n	            }\n	            oKey.sigBytes = iKey.sigBytes = hasherBlockSizeBytes;\n\n	            // Set initial values\n	            this.reset();\n	        },\n\n	        /**\n	         * Resets this HMAC to its initial state.\n	         *\n	         * @example\n	         *\n	         *     hmacHasher.reset();\n	         */\n	        reset: function () {\n	            // Shortcut\n	            var hasher = this._hasher;\n\n	            // Reset\n	            hasher.reset();\n	            hasher.update(this._iKey);\n	        },\n\n	        /**\n	         * Updates this HMAC with a message.\n	         *\n	         * @param {WordArray|string} messageUpdate The message to append.\n	         *\n	         * @return {HMAC} This HMAC instance.\n	         *\n	         * @example\n	         *\n	         *     hmacHasher.update('message');\n	         *     hmacHasher.update(wordArray);\n	         */\n	        update: function (messageUpdate) {\n	            this._hasher.update(messageUpdate);\n\n	            // Chainable\n	            return this;\n	        },\n\n	        /**\n	         * Finalizes the HMAC computation.\n	         * Note that the finalize operation is effectively a destructive, read-once operation.\n	         *\n	         * @param {WordArray|string} messageUpdate (Optional) A final message update.\n	         *\n	         * @return {WordArray} The HMAC.\n	         *\n	         * @example\n	         *\n	         *     var hmac = hmacHasher.finalize();\n	         *     var hmac = hmacHasher.finalize('message');\n	         *     var hmac = hmacHasher.finalize(wordArray);\n	         */\n	        finalize: function (messageUpdate) {\n	            // Shortcut\n	            var hasher = this._hasher;\n\n	            // Compute HMAC\n	            var innerHash = hasher.finalize(messageUpdate);\n	            hasher.reset();\n	            var hmac = hasher.finalize(this._oKey.clone().concat(innerHash));\n\n	            return hmac;\n	        }\n	    });\n	}());\n\n\n	(function () {\n	    // Shortcuts\n	    var C = CryptoJS;\n	    var C_lib = C.lib;\n	    var Base = C_lib.Base;\n	    var WordArray = C_lib.WordArray;\n	    var C_algo = C.algo;\n	    var SHA256 = C_algo.SHA256;\n	    var HMAC = C_algo.HMAC;\n\n	    /**\n	     * Password-Based Key Derivation Function 2 algorithm.\n	     */\n	    var PBKDF2 = C_algo.PBKDF2 = Base.extend({\n	        /**\n	         * Configuration options.\n	         *\n	         * @property {number} keySize The key size in words to generate. Default: 4 (128 bits)\n	         * @property {Hasher} hasher The hasher to use. Default: SHA256\n	         * @property {number} iterations The number of iterations to perform. Default: 250000\n	         */\n	        cfg: Base.extend({\n	            keySize: 128/32,\n	            hasher: SHA256,\n	            iterations: 250000\n	        }),\n\n	        /**\n	         * Initializes a newly created key derivation function.\n	         *\n	         * @param {Object} cfg (Optional) The configuration options to use for the derivation.\n	         *\n	         * @example\n	         *\n	         *     var kdf = CryptoJS.algo.PBKDF2.create();\n	         *     var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8 });\n	         *     var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8, iterations: 1000 });\n	         */\n	        init: function (cfg) {\n	            this.cfg = this.cfg.extend(cfg);\n	        },\n\n	        /**\n	         * Computes the Password-Based Key Derivation Function 2.\n	         *\n	         * @param {WordArray|string} password The password.\n	         * @param {WordArray|string} salt A salt.\n	         *\n	         * @return {WordArray} The derived key.\n	         *\n	         * @example\n	         *\n	         *     var key = kdf.compute(password, salt);\n	         */\n	        compute: function (password, salt) {\n	            // Shortcut\n	            var cfg = this.cfg;\n\n	            // Init HMAC\n	            var hmac = HMAC.create(cfg.hasher, password);\n\n	            // Initial values\n	            var derivedKey = WordArray.create();\n	            var blockIndex = WordArray.create([0x00000001]);\n\n	            // Shortcuts\n	            var derivedKeyWords = derivedKey.words;\n	            var blockIndexWords = blockIndex.words;\n	            var keySize = cfg.keySize;\n	            var iterations = cfg.iterations;\n\n	            // Generate key\n	            while (derivedKeyWords.length < keySize) {\n	                var block = hmac.update(salt).finalize(blockIndex);\n	                hmac.reset();\n\n	                // Shortcuts\n	                var blockWords = block.words;\n	                var blockWordsLength = blockWords.length;\n\n	                // Iterations\n	                var intermediate = block;\n	                for (var i = 1; i < iterations; i++) {\n	                    intermediate = hmac.finalize(intermediate);\n	                    hmac.reset();\n\n	                    // Shortcut\n	                    var intermediateWords = intermediate.words;\n\n	                    // XOR intermediate with block\n	                    for (var j = 0; j < blockWordsLength; j++) {\n	                        blockWords[j] ^= intermediateWords[j];\n	                    }\n	                }\n\n	                derivedKey.concat(block);\n	                blockIndexWords[0]++;\n	            }\n	            derivedKey.sigBytes = keySize * 4;\n\n	            return derivedKey;\n	        }\n	    });\n\n	    /**\n	     * Computes the Password-Based Key Derivation Function 2.\n	     *\n	     * @param {WordArray|string} password The password.\n	     * @param {WordArray|string} salt A salt.\n	     * @param {Object} cfg (Optional) The configuration options to use for this computation.\n	     *\n	     * @return {WordArray} The derived key.\n	     *\n	     * @static\n	     *\n	     * @example\n	     *\n	     *     var key = CryptoJS.PBKDF2(password, salt);\n	     *     var key = CryptoJS.PBKDF2(password, salt, { keySize: 8 });\n	     *     var key = CryptoJS.PBKDF2(password, salt, { keySize: 8, iterations: 1000 });\n	     */\n	    C.PBKDF2 = function (password, salt, cfg) {\n	        return PBKDF2.create(cfg).compute(password, salt);\n	    };\n	}());\n\n\n	(function () {\n	    // Shortcuts\n	    var C = CryptoJS;\n	    var C_lib = C.lib;\n	    var Base = C_lib.Base;\n	    var WordArray = C_lib.WordArray;\n	    var C_algo = C.algo;\n	    var MD5 = C_algo.MD5;\n\n	    /**\n	     * This key derivation function is meant to conform with EVP_BytesToKey.\n	     * www.openssl.org/docs/crypto/EVP_BytesToKey.html\n	     */\n	    var EvpKDF = C_algo.EvpKDF = Base.extend({\n	        /**\n	         * Configuration options.\n	         *\n	         * @property {number} keySize The key size in words to generate. Default: 4 (128 bits)\n	         * @property {Hasher} hasher The hash algorithm to use. Default: MD5\n	         * @property {number} iterations The number of iterations to perform. Default: 1\n	         */\n	        cfg: Base.extend({\n	            keySize: 128/32,\n	            hasher: MD5,\n	            iterations: 1\n	        }),\n\n	        /**\n	         * Initializes a newly created key derivation function.\n	         *\n	         * @param {Object} cfg (Optional) The configuration options to use for the derivation.\n	         *\n	         * @example\n	         *\n	         *     var kdf = CryptoJS.algo.EvpKDF.create();\n	         *     var kdf = CryptoJS.algo.EvpKDF.create({ keySize: 8 });\n	         *     var kdf = CryptoJS.algo.EvpKDF.create({ keySize: 8, iterations: 1000 });\n	         */\n	        init: function (cfg) {\n	            this.cfg = this.cfg.extend(cfg);\n	        },\n\n	        /**\n	         * Derives a key from a password.\n	         *\n	         * @param {WordArray|string} password The password.\n	         * @param {WordArray|string} salt A salt.\n	         *\n	         * @return {WordArray} The derived key.\n	         *\n	         * @example\n	         *\n	         *     var key = kdf.compute(password, salt);\n	         */\n	        compute: function (password, salt) {\n	            var block;\n\n	            // Shortcut\n	            var cfg = this.cfg;\n\n	            // Init hasher\n	            var hasher = cfg.hasher.create();\n\n	            // Initial values\n	            var derivedKey = WordArray.create();\n\n	            // Shortcuts\n	            var derivedKeyWords = derivedKey.words;\n	            var keySize = cfg.keySize;\n	            var iterations = cfg.iterations;\n\n	            // Generate key\n	            while (derivedKeyWords.length < keySize) {\n	                if (block) {\n	                    hasher.update(block);\n	                }\n	                block = hasher.update(password).finalize(salt);\n	                hasher.reset();\n\n	                // Iterations\n	                for (var i = 1; i < iterations; i++) {\n	                    block = hasher.finalize(block);\n	                    hasher.reset();\n	                }\n\n	                derivedKey.concat(block);\n	            }\n	            derivedKey.sigBytes = keySize * 4;\n\n	            return derivedKey;\n	        }\n	    });\n\n	    /**\n	     * Derives a key from a password.\n	     *\n	     * @param {WordArray|string} password The password.\n	     * @param {WordArray|string} salt A salt.\n	     * @param {Object} cfg (Optional) The configuration options to use for this computation.\n	     *\n	     * @return {WordArray} The derived key.\n	     *\n	     * @static\n	     *\n	     * @example\n	     *\n	     *     var key = CryptoJS.EvpKDF(password, salt);\n	     *     var key = CryptoJS.EvpKDF(password, salt, { keySize: 8 });\n	     *     var key = CryptoJS.EvpKDF(password, salt, { keySize: 8, iterations: 1000 });\n	     */\n	    C.EvpKDF = function (password, salt, cfg) {\n	        return EvpKDF.create(cfg).compute(password, salt);\n	    };\n	}());\n\n\n	/**\n	 * Cipher core components.\n	 */\n	CryptoJS.lib.Cipher || (function (undefined) {\n	    // Shortcuts\n	    var C = CryptoJS;\n	    var C_lib = C.lib;\n	    var Base = C_lib.Base;\n	    var WordArray = C_lib.WordArray;\n	    var BufferedBlockAlgorithm = C_lib.BufferedBlockAlgorithm;\n	    var C_enc = C.enc;\n	    var Utf8 = C_enc.Utf8;\n	    var Base64 = C_enc.Base64;\n	    var C_algo = C.algo;\n	    var EvpKDF = C_algo.EvpKDF;\n\n	    /**\n	     * Abstract base cipher template.\n	     *\n	     * @property {number} keySize This cipher's key size. Default: 4 (128 bits)\n	     * @property {number} ivSize This cipher's IV size. Default: 4 (128 bits)\n	     * @property {number} _ENC_XFORM_MODE A constant representing encryption mode.\n	     * @property {number} _DEC_XFORM_MODE A constant representing decryption mode.\n	     */\n	    var Cipher = C_lib.Cipher = BufferedBlockAlgorithm.extend({\n	        /**\n	         * Configuration options.\n	         *\n	         * @property {WordArray} iv The IV to use for this operation.\n	         */\n	        cfg: Base.extend(),\n\n	        /**\n	         * Creates this cipher in encryption mode.\n	         *\n	         * @param {WordArray} key The key.\n	         * @param {Object} cfg (Optional) The configuration options to use for this operation.\n	         *\n	         * @return {Cipher} A cipher instance.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var cipher = CryptoJS.algo.AES.createEncryptor(keyWordArray, { iv: ivWordArray });\n	         */\n	        createEncryptor: function (key, cfg) {\n	            return this.create(this._ENC_XFORM_MODE, key, cfg);\n	        },\n\n	        /**\n	         * Creates this cipher in decryption mode.\n	         *\n	         * @param {WordArray} key The key.\n	         * @param {Object} cfg (Optional) The configuration options to use for this operation.\n	         *\n	         * @return {Cipher} A cipher instance.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var cipher = CryptoJS.algo.AES.createDecryptor(keyWordArray, { iv: ivWordArray });\n	         */\n	        createDecryptor: function (key, cfg) {\n	            return this.create(this._DEC_XFORM_MODE, key, cfg);\n	        },\n\n	        /**\n	         * Initializes a newly created cipher.\n	         *\n	         * @param {number} xformMode Either the encryption or decryption transormation mode constant.\n	         * @param {WordArray} key The key.\n	         * @param {Object} cfg (Optional) The configuration options to use for this operation.\n	         *\n	         * @example\n	         *\n	         *     var cipher = CryptoJS.algo.AES.create(CryptoJS.algo.AES._ENC_XFORM_MODE, keyWordArray, { iv: ivWordArray });\n	         */\n	        init: function (xformMode, key, cfg) {\n	            // Apply config defaults\n	            this.cfg = this.cfg.extend(cfg);\n\n	            // Store transform mode and key\n	            this._xformMode = xformMode;\n	            this._key = key;\n\n	            // Set initial values\n	            this.reset();\n	        },\n\n	        /**\n	         * Resets this cipher to its initial state.\n	         *\n	         * @example\n	         *\n	         *     cipher.reset();\n	         */\n	        reset: function () {\n	            // Reset data buffer\n	            BufferedBlockAlgorithm.reset.call(this);\n\n	            // Perform concrete-cipher logic\n	            this._doReset();\n	        },\n\n	        /**\n	         * Adds data to be encrypted or decrypted.\n	         *\n	         * @param {WordArray|string} dataUpdate The data to encrypt or decrypt.\n	         *\n	         * @return {WordArray} The data after processing.\n	         *\n	         * @example\n	         *\n	         *     var encrypted = cipher.process('data');\n	         *     var encrypted = cipher.process(wordArray);\n	         */\n	        process: function (dataUpdate) {\n	            // Append\n	            this._append(dataUpdate);\n\n	            // Process available blocks\n	            return this._process();\n	        },\n\n	        /**\n	         * Finalizes the encryption or decryption process.\n	         * Note that the finalize operation is effectively a destructive, read-once operation.\n	         *\n	         * @param {WordArray|string} dataUpdate The final data to encrypt or decrypt.\n	         *\n	         * @return {WordArray} The data after final processing.\n	         *\n	         * @example\n	         *\n	         *     var encrypted = cipher.finalize();\n	         *     var encrypted = cipher.finalize('data');\n	         *     var encrypted = cipher.finalize(wordArray);\n	         */\n	        finalize: function (dataUpdate) {\n	            // Final data update\n	            if (dataUpdate) {\n	                this._append(dataUpdate);\n	            }\n\n	            // Perform concrete-cipher logic\n	            var finalProcessedData = this._doFinalize();\n\n	            return finalProcessedData;\n	        },\n\n	        keySize: 128/32,\n\n	        ivSize: 128/32,\n\n	        _ENC_XFORM_MODE: 1,\n\n	        _DEC_XFORM_MODE: 2,\n\n	        /**\n	         * Creates shortcut functions to a cipher's object interface.\n	         *\n	         * @param {Cipher} cipher The cipher to create a helper for.\n	         *\n	         * @return {Object} An object with encrypt and decrypt shortcut functions.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var AES = CryptoJS.lib.Cipher._createHelper(CryptoJS.algo.AES);\n	         */\n	        _createHelper: (function () {\n	            function selectCipherStrategy(key) {\n	                if (typeof key == 'string') {\n	                    return PasswordBasedCipher;\n	                } else {\n	                    return SerializableCipher;\n	                }\n	            }\n\n	            return function (cipher) {\n	                return {\n	                    encrypt: function (message, key, cfg) {\n	                        return selectCipherStrategy(key).encrypt(cipher, message, key, cfg);\n	                    },\n\n	                    decrypt: function (ciphertext, key, cfg) {\n	                        return selectCipherStrategy(key).decrypt(cipher, ciphertext, key, cfg);\n	                    }\n	                };\n	            };\n	        }())\n	    });\n\n	    /**\n	     * Abstract base stream cipher template.\n	     *\n	     * @property {number} blockSize The number of 32-bit words this cipher operates on. Default: 1 (32 bits)\n	     */\n	    var StreamCipher = C_lib.StreamCipher = Cipher.extend({\n	        _doFinalize: function () {\n	            // Process partial blocks\n	            var finalProcessedBlocks = this._process(!!'flush');\n\n	            return finalProcessedBlocks;\n	        },\n\n	        blockSize: 1\n	    });\n\n	    /**\n	     * Mode namespace.\n	     */\n	    var C_mode = C.mode = {};\n\n	    /**\n	     * Abstract base block cipher mode template.\n	     */\n	    var BlockCipherMode = C_lib.BlockCipherMode = Base.extend({\n	        /**\n	         * Creates this mode for encryption.\n	         *\n	         * @param {Cipher} cipher A block cipher instance.\n	         * @param {Array} iv The IV words.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var mode = CryptoJS.mode.CBC.createEncryptor(cipher, iv.words);\n	         */\n	        createEncryptor: function (cipher, iv) {\n	            return this.Encryptor.create(cipher, iv);\n	        },\n\n	        /**\n	         * Creates this mode for decryption.\n	         *\n	         * @param {Cipher} cipher A block cipher instance.\n	         * @param {Array} iv The IV words.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var mode = CryptoJS.mode.CBC.createDecryptor(cipher, iv.words);\n	         */\n	        createDecryptor: function (cipher, iv) {\n	            return this.Decryptor.create(cipher, iv);\n	        },\n\n	        /**\n	         * Initializes a newly created mode.\n	         *\n	         * @param {Cipher} cipher A block cipher instance.\n	         * @param {Array} iv The IV words.\n	         *\n	         * @example\n	         *\n	         *     var mode = CryptoJS.mode.CBC.Encryptor.create(cipher, iv.words);\n	         */\n	        init: function (cipher, iv) {\n	            this._cipher = cipher;\n	            this._iv = iv;\n	        }\n	    });\n\n	    /**\n	     * Cipher Block Chaining mode.\n	     */\n	    var CBC = C_mode.CBC = (function () {\n	        /**\n	         * Abstract base CBC mode.\n	         */\n	        var CBC = BlockCipherMode.extend();\n\n	        /**\n	         * CBC encryptor.\n	         */\n	        CBC.Encryptor = CBC.extend({\n	            /**\n	             * Processes the data block at offset.\n	             *\n	             * @param {Array} words The data words to operate on.\n	             * @param {number} offset The offset where the block starts.\n	             *\n	             * @example\n	             *\n	             *     mode.processBlock(data.words, offset);\n	             */\n	            processBlock: function (words, offset) {\n	                // Shortcuts\n	                var cipher = this._cipher;\n	                var blockSize = cipher.blockSize;\n\n	                // XOR and encrypt\n	                xorBlock.call(this, words, offset, blockSize);\n	                cipher.encryptBlock(words, offset);\n\n	                // Remember this block to use with next block\n	                this._prevBlock = words.slice(offset, offset + blockSize);\n	            }\n	        });\n\n	        /**\n	         * CBC decryptor.\n	         */\n	        CBC.Decryptor = CBC.extend({\n	            /**\n	             * Processes the data block at offset.\n	             *\n	             * @param {Array} words The data words to operate on.\n	             * @param {number} offset The offset where the block starts.\n	             *\n	             * @example\n	             *\n	             *     mode.processBlock(data.words, offset);\n	             */\n	            processBlock: function (words, offset) {\n	                // Shortcuts\n	                var cipher = this._cipher;\n	                var blockSize = cipher.blockSize;\n\n	                // Remember this block to use with next block\n	                var thisBlock = words.slice(offset, offset + blockSize);\n\n	                // Decrypt and XOR\n	                cipher.decryptBlock(words, offset);\n	                xorBlock.call(this, words, offset, blockSize);\n\n	                // This block becomes the previous block\n	                this._prevBlock = thisBlock;\n	            }\n	        });\n\n	        function xorBlock(words, offset, blockSize) {\n	            var block;\n\n	            // Shortcut\n	            var iv = this._iv;\n\n	            // Choose mixing block\n	            if (iv) {\n	                block = iv;\n\n	                // Remove IV for subsequent blocks\n	                this._iv = undefined;\n	            } else {\n	                block = this._prevBlock;\n	            }\n\n	            // XOR blocks\n	            for (var i = 0; i < blockSize; i++) {\n	                words[offset + i] ^= block[i];\n	            }\n	        }\n\n	        return CBC;\n	    }());\n\n	    /**\n	     * Padding namespace.\n	     */\n	    var C_pad = C.pad = {};\n\n	    /**\n	     * PKCS #5/7 padding strategy.\n	     */\n	    var Pkcs7 = C_pad.Pkcs7 = {\n	        /**\n	         * Pads data using the algorithm defined in PKCS #5/7.\n	         *\n	         * @param {WordArray} data The data to pad.\n	         * @param {number} blockSize The multiple that the data should be padded to.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     CryptoJS.pad.Pkcs7.pad(wordArray, 4);\n	         */\n	        pad: function (data, blockSize) {\n	            // Shortcut\n	            var blockSizeBytes = blockSize * 4;\n\n	            // Count padding bytes\n	            var nPaddingBytes = blockSizeBytes - data.sigBytes % blockSizeBytes;\n\n	            // Create padding word\n	            var paddingWord = (nPaddingBytes << 24) | (nPaddingBytes << 16) | (nPaddingBytes << 8) | nPaddingBytes;\n\n	            // Create padding\n	            var paddingWords = [];\n	            for (var i = 0; i < nPaddingBytes; i += 4) {\n	                paddingWords.push(paddingWord);\n	            }\n	            var padding = WordArray.create(paddingWords, nPaddingBytes);\n\n	            // Add padding\n	            data.concat(padding);\n	        },\n\n	        /**\n	         * Unpads data that had been padded using the algorithm defined in PKCS #5/7.\n	         *\n	         * @param {WordArray} data The data to unpad.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     CryptoJS.pad.Pkcs7.unpad(wordArray);\n	         */\n	        unpad: function (data) {\n	            // Get number of padding bytes from last byte\n	            var nPaddingBytes = data.words[(data.sigBytes - 1) >>> 2] & 0xff;\n\n	            // Remove padding\n	            data.sigBytes -= nPaddingBytes;\n	        }\n	    };\n\n	    /**\n	     * Abstract base block cipher template.\n	     *\n	     * @property {number} blockSize The number of 32-bit words this cipher operates on. Default: 4 (128 bits)\n	     */\n	    var BlockCipher = C_lib.BlockCipher = Cipher.extend({\n	        /**\n	         * Configuration options.\n	         *\n	         * @property {Mode} mode The block mode to use. Default: CBC\n	         * @property {Padding} padding The padding strategy to use. Default: Pkcs7\n	         */\n	        cfg: Cipher.cfg.extend({\n	            mode: CBC,\n	            padding: Pkcs7\n	        }),\n\n	        reset: function () {\n	            var modeCreator;\n\n	            // Reset cipher\n	            Cipher.reset.call(this);\n\n	            // Shortcuts\n	            var cfg = this.cfg;\n	            var iv = cfg.iv;\n	            var mode = cfg.mode;\n\n	            // Reset block mode\n	            if (this._xformMode == this._ENC_XFORM_MODE) {\n	                modeCreator = mode.createEncryptor;\n	            } else /* if (this._xformMode == this._DEC_XFORM_MODE) */ {\n	                modeCreator = mode.createDecryptor;\n	                // Keep at least one block in the buffer for unpadding\n	                this._minBufferSize = 1;\n	            }\n\n	            if (this._mode && this._mode.__creator == modeCreator) {\n	                this._mode.init(this, iv && iv.words);\n	            } else {\n	                this._mode = modeCreator.call(mode, this, iv && iv.words);\n	                this._mode.__creator = modeCreator;\n	            }\n	        },\n\n	        _doProcessBlock: function (words, offset) {\n	            this._mode.processBlock(words, offset);\n	        },\n\n	        _doFinalize: function () {\n	            var finalProcessedBlocks;\n\n	            // Shortcut\n	            var padding = this.cfg.padding;\n\n	            // Finalize\n	            if (this._xformMode == this._ENC_XFORM_MODE) {\n	                // Pad data\n	                padding.pad(this._data, this.blockSize);\n\n	                // Process final blocks\n	                finalProcessedBlocks = this._process(!!'flush');\n	            } else /* if (this._xformMode == this._DEC_XFORM_MODE) */ {\n	                // Process final blocks\n	                finalProcessedBlocks = this._process(!!'flush');\n\n	                // Unpad data\n	                padding.unpad(finalProcessedBlocks);\n	            }\n\n	            return finalProcessedBlocks;\n	        },\n\n	        blockSize: 128/32\n	    });\n\n	    /**\n	     * A collection of cipher parameters.\n	     *\n	     * @property {WordArray} ciphertext The raw ciphertext.\n	     * @property {WordArray} key The key to this ciphertext.\n	     * @property {WordArray} iv The IV used in the ciphering operation.\n	     * @property {WordArray} salt The salt used with a key derivation function.\n	     * @property {Cipher} algorithm The cipher algorithm.\n	     * @property {Mode} mode The block mode used in the ciphering operation.\n	     * @property {Padding} padding The padding scheme used in the ciphering operation.\n	     * @property {number} blockSize The block size of the cipher.\n	     * @property {Format} formatter The default formatting strategy to convert this cipher params object to a string.\n	     */\n	    var CipherParams = C_lib.CipherParams = Base.extend({\n	        /**\n	         * Initializes a newly created cipher params object.\n	         *\n	         * @param {Object} cipherParams An object with any of the possible cipher parameters.\n	         *\n	         * @example\n	         *\n	         *     var cipherParams = CryptoJS.lib.CipherParams.create({\n	         *         ciphertext: ciphertextWordArray,\n	         *         key: keyWordArray,\n	         *         iv: ivWordArray,\n	         *         salt: saltWordArray,\n	         *         algorithm: CryptoJS.algo.AES,\n	         *         mode: CryptoJS.mode.CBC,\n	         *         padding: CryptoJS.pad.PKCS7,\n	         *         blockSize: 4,\n	         *         formatter: CryptoJS.format.OpenSSL\n	         *     });\n	         */\n	        init: function (cipherParams) {\n	            this.mixIn(cipherParams);\n	        },\n\n	        /**\n	         * Converts this cipher params object to a string.\n	         *\n	         * @param {Format} formatter (Optional) The formatting strategy to use.\n	         *\n	         * @return {string} The stringified cipher params.\n	         *\n	         * @throws Error If neither the formatter nor the default formatter is set.\n	         *\n	         * @example\n	         *\n	         *     var string = cipherParams + '';\n	         *     var string = cipherParams.toString();\n	         *     var string = cipherParams.toString(CryptoJS.format.OpenSSL);\n	         */\n	        toString: function (formatter) {\n	            return (formatter || this.formatter).stringify(this);\n	        }\n	    });\n\n	    /**\n	     * Format namespace.\n	     */\n	    var C_format = C.format = {};\n\n	    /**\n	     * OpenSSL formatting strategy.\n	     */\n	    var OpenSSLFormatter = C_format.OpenSSL = {\n	        /**\n	         * Converts a cipher params object to an OpenSSL-compatible string.\n	         *\n	         * @param {CipherParams} cipherParams The cipher params object.\n	         *\n	         * @return {string} The OpenSSL-compatible string.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var openSSLString = CryptoJS.format.OpenSSL.stringify(cipherParams);\n	         */\n	        stringify: function (cipherParams) {\n	            var wordArray;\n\n	            // Shortcuts\n	            var ciphertext = cipherParams.ciphertext;\n	            var salt = cipherParams.salt;\n\n	            // Format\n	            if (salt) {\n	                wordArray = WordArray.create([0x53616c74, 0x65645f5f]).concat(salt).concat(ciphertext);\n	            } else {\n	                wordArray = ciphertext;\n	            }\n\n	            return wordArray.toString(Base64);\n	        },\n\n	        /**\n	         * Converts an OpenSSL-compatible string to a cipher params object.\n	         *\n	         * @param {string} openSSLStr The OpenSSL-compatible string.\n	         *\n	         * @return {CipherParams} The cipher params object.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var cipherParams = CryptoJS.format.OpenSSL.parse(openSSLString);\n	         */\n	        parse: function (openSSLStr) {\n	            var salt;\n\n	            // Parse base64\n	            var ciphertext = Base64.parse(openSSLStr);\n\n	            // Shortcut\n	            var ciphertextWords = ciphertext.words;\n\n	            // Test for salt\n	            if (ciphertextWords[0] == 0x53616c74 && ciphertextWords[1] == 0x65645f5f) {\n	                // Extract salt\n	                salt = WordArray.create(ciphertextWords.slice(2, 4));\n\n	                // Remove salt from ciphertext\n	                ciphertextWords.splice(0, 4);\n	                ciphertext.sigBytes -= 16;\n	            }\n\n	            return CipherParams.create({ ciphertext: ciphertext, salt: salt });\n	        }\n	    };\n\n	    /**\n	     * A cipher wrapper that returns ciphertext as a serializable cipher params object.\n	     */\n	    var SerializableCipher = C_lib.SerializableCipher = Base.extend({\n	        /**\n	         * Configuration options.\n	         *\n	         * @property {Formatter} format The formatting strategy to convert cipher param objects to and from a string. Default: OpenSSL\n	         */\n	        cfg: Base.extend({\n	            format: OpenSSLFormatter\n	        }),\n\n	        /**\n	         * Encrypts a message.\n	         *\n	         * @param {Cipher} cipher The cipher algorithm to use.\n	         * @param {WordArray|string} message The message to encrypt.\n	         * @param {WordArray} key The key.\n	         * @param {Object} cfg (Optional) The configuration options to use for this operation.\n	         *\n	         * @return {CipherParams} A cipher params object.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key);\n	         *     var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv });\n	         *     var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv, format: CryptoJS.format.OpenSSL });\n	         */\n	        encrypt: function (cipher, message, key, cfg) {\n	            // Apply config defaults\n	            cfg = this.cfg.extend(cfg);\n\n	            // Encrypt\n	            var encryptor = cipher.createEncryptor(key, cfg);\n	            var ciphertext = encryptor.finalize(message);\n\n	            // Shortcut\n	            var cipherCfg = encryptor.cfg;\n\n	            // Create and return serializable cipher params\n	            return CipherParams.create({\n	                ciphertext: ciphertext,\n	                key: key,\n	                iv: cipherCfg.iv,\n	                algorithm: cipher,\n	                mode: cipherCfg.mode,\n	                padding: cipherCfg.padding,\n	                blockSize: cipher.blockSize,\n	                formatter: cfg.format\n	            });\n	        },\n\n	        /**\n	         * Decrypts serialized ciphertext.\n	         *\n	         * @param {Cipher} cipher The cipher algorithm to use.\n	         * @param {CipherParams|string} ciphertext The ciphertext to decrypt.\n	         * @param {WordArray} key The key.\n	         * @param {Object} cfg (Optional) The configuration options to use for this operation.\n	         *\n	         * @return {WordArray} The plaintext.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, key, { iv: iv, format: CryptoJS.format.OpenSSL });\n	         *     var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, key, { iv: iv, format: CryptoJS.format.OpenSSL });\n	         */\n	        decrypt: function (cipher, ciphertext, key, cfg) {\n	            // Apply config defaults\n	            cfg = this.cfg.extend(cfg);\n\n	            // Convert string to CipherParams\n	            ciphertext = this._parse(ciphertext, cfg.format);\n\n	            // Decrypt\n	            var plaintext = cipher.createDecryptor(key, cfg).finalize(ciphertext.ciphertext);\n\n	            return plaintext;\n	        },\n\n	        /**\n	         * Converts serialized ciphertext to CipherParams,\n	         * else assumed CipherParams already and returns ciphertext unchanged.\n	         *\n	         * @param {CipherParams|string} ciphertext The ciphertext.\n	         * @param {Formatter} format The formatting strategy to use to parse serialized ciphertext.\n	         *\n	         * @return {CipherParams} The unserialized ciphertext.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var ciphertextParams = CryptoJS.lib.SerializableCipher._parse(ciphertextStringOrParams, format);\n	         */\n	        _parse: function (ciphertext, format) {\n	            if (typeof ciphertext == 'string') {\n	                return format.parse(ciphertext, this);\n	            } else {\n	                return ciphertext;\n	            }\n	        }\n	    });\n\n	    /**\n	     * Key derivation function namespace.\n	     */\n	    var C_kdf = C.kdf = {};\n\n	    /**\n	     * OpenSSL key derivation function.\n	     */\n	    var OpenSSLKdf = C_kdf.OpenSSL = {\n	        /**\n	         * Derives a key and IV from a password.\n	         *\n	         * @param {string} password The password to derive from.\n	         * @param {number} keySize The size in words of the key to generate.\n	         * @param {number} ivSize The size in words of the IV to generate.\n	         * @param {WordArray|string} salt (Optional) A 64-bit salt to use. If omitted, a salt will be generated randomly.\n	         *\n	         * @return {CipherParams} A cipher params object with the key, IV, and salt.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32);\n	         *     var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32, 'saltsalt');\n	         */\n	        execute: function (password, keySize, ivSize, salt, hasher) {\n	            // Generate random salt\n	            if (!salt) {\n	                salt = WordArray.random(64/8);\n	            }\n\n	            // Derive key and IV\n	            if (!hasher) {\n	                var key = EvpKDF.create({ keySize: keySize + ivSize }).compute(password, salt);\n	            } else {\n	                var key = EvpKDF.create({ keySize: keySize + ivSize, hasher: hasher }).compute(password, salt);\n	            }\n\n\n	            // Separate key and IV\n	            var iv = WordArray.create(key.words.slice(keySize), ivSize * 4);\n	            key.sigBytes = keySize * 4;\n\n	            // Return params\n	            return CipherParams.create({ key: key, iv: iv, salt: salt });\n	        }\n	    };\n\n	    /**\n	     * A serializable cipher wrapper that derives the key from a password,\n	     * and returns ciphertext as a serializable cipher params object.\n	     */\n	    var PasswordBasedCipher = C_lib.PasswordBasedCipher = SerializableCipher.extend({\n	        /**\n	         * Configuration options.\n	         *\n	         * @property {KDF} kdf The key derivation function to use to generate a key and IV from a password. Default: OpenSSL\n	         */\n	        cfg: SerializableCipher.cfg.extend({\n	            kdf: OpenSSLKdf\n	        }),\n\n	        /**\n	         * Encrypts a message using a password.\n	         *\n	         * @param {Cipher} cipher The cipher algorithm to use.\n	         * @param {WordArray|string} message The message to encrypt.\n	         * @param {string} password The password.\n	         * @param {Object} cfg (Optional) The configuration options to use for this operation.\n	         *\n	         * @return {CipherParams} A cipher params object.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password');\n	         *     var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password', { format: CryptoJS.format.OpenSSL });\n	         */\n	        encrypt: function (cipher, message, password, cfg) {\n	            // Apply config defaults\n	            cfg = this.cfg.extend(cfg);\n\n	            // Derive key and other params\n	            var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize, cfg.salt, cfg.hasher);\n\n	            // Add IV to config\n	            cfg.iv = derivedParams.iv;\n\n	            // Encrypt\n	            var ciphertext = SerializableCipher.encrypt.call(this, cipher, message, derivedParams.key, cfg);\n\n	            // Mix in derived params\n	            ciphertext.mixIn(derivedParams);\n\n	            return ciphertext;\n	        },\n\n	        /**\n	         * Decrypts serialized ciphertext using a password.\n	         *\n	         * @param {Cipher} cipher The cipher algorithm to use.\n	         * @param {CipherParams|string} ciphertext The ciphertext to decrypt.\n	         * @param {string} password The password.\n	         * @param {Object} cfg (Optional) The configuration options to use for this operation.\n	         *\n	         * @return {WordArray} The plaintext.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, 'password', { format: CryptoJS.format.OpenSSL });\n	         *     var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, 'password', { format: CryptoJS.format.OpenSSL });\n	         */\n	        decrypt: function (cipher, ciphertext, password, cfg) {\n	            // Apply config defaults\n	            cfg = this.cfg.extend(cfg);\n\n	            // Convert string to CipherParams\n	            ciphertext = this._parse(ciphertext, cfg.format);\n\n	            // Derive key and other params\n	            var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize, ciphertext.salt, cfg.hasher);\n\n	            // Add IV to config\n	            cfg.iv = derivedParams.iv;\n\n	            // Decrypt\n	            var plaintext = SerializableCipher.decrypt.call(this, cipher, ciphertext, derivedParams.key, cfg);\n\n	            return plaintext;\n	        }\n	    });\n	}());\n\n\n	/**\n	 * Cipher Feedback block mode.\n	 */\n	CryptoJS.mode.CFB = (function () {\n	    var CFB = CryptoJS.lib.BlockCipherMode.extend();\n\n	    CFB.Encryptor = CFB.extend({\n	        processBlock: function (words, offset) {\n	            // Shortcuts\n	            var cipher = this._cipher;\n	            var blockSize = cipher.blockSize;\n\n	            generateKeystreamAndEncrypt.call(this, words, offset, blockSize, cipher);\n\n	            // Remember this block to use with next block\n	            this._prevBlock = words.slice(offset, offset + blockSize);\n	        }\n	    });\n\n	    CFB.Decryptor = CFB.extend({\n	        processBlock: function (words, offset) {\n	            // Shortcuts\n	            var cipher = this._cipher;\n	            var blockSize = cipher.blockSize;\n\n	            // Remember this block to use with next block\n	            var thisBlock = words.slice(offset, offset + blockSize);\n\n	            generateKeystreamAndEncrypt.call(this, words, offset, blockSize, cipher);\n\n	            // This block becomes the previous block\n	            this._prevBlock = thisBlock;\n	        }\n	    });\n\n	    function generateKeystreamAndEncrypt(words, offset, blockSize, cipher) {\n	        var keystream;\n\n	        // Shortcut\n	        var iv = this._iv;\n\n	        // Generate keystream\n	        if (iv) {\n	            keystream = iv.slice(0);\n\n	            // Remove IV for subsequent blocks\n	            this._iv = undefined;\n	        } else {\n	            keystream = this._prevBlock;\n	        }\n	        cipher.encryptBlock(keystream, 0);\n\n	        // Encrypt\n	        for (var i = 0; i < blockSize; i++) {\n	            words[offset + i] ^= keystream[i];\n	        }\n	    }\n\n	    return CFB;\n	}());\n\n\n	/**\n	 * Counter block mode.\n	 */\n	CryptoJS.mode.CTR = (function () {\n	    var CTR = CryptoJS.lib.BlockCipherMode.extend();\n\n	    var Encryptor = CTR.Encryptor = CTR.extend({\n	        processBlock: function (words, offset) {\n	            // Shortcuts\n	            var cipher = this._cipher\n	            var blockSize = cipher.blockSize;\n	            var iv = this._iv;\n	            var counter = this._counter;\n\n	            // Generate keystream\n	            if (iv) {\n	                counter = this._counter = iv.slice(0);\n\n	                // Remove IV for subsequent blocks\n	                this._iv = undefined;\n	            }\n	            var keystream = counter.slice(0);\n	            cipher.encryptBlock(keystream, 0);\n\n	            // Increment counter\n	            counter[blockSize - 1] = (counter[blockSize - 1] + 1) | 0\n\n	            // Encrypt\n	            for (var i = 0; i < blockSize; i++) {\n	                words[offset + i] ^= keystream[i];\n	            }\n	        }\n	    });\n\n	    CTR.Decryptor = Encryptor;\n\n	    return CTR;\n	}());\n\n\n	/** @preserve\n	 * Counter block mode compatible with  Dr Brian Gladman fileenc.c\n	 * derived from CryptoJS.mode.CTR\n	 * Jan Hruby jhruby.web@gmail.com\n	 */\n	CryptoJS.mode.CTRGladman = (function () {\n	    var CTRGladman = CryptoJS.lib.BlockCipherMode.extend();\n\n		function incWord(word)\n		{\n			if (((word >> 24) & 0xff) === 0xff) { //overflow\n			var b1 = (word >> 16)&0xff;\n			var b2 = (word >> 8)&0xff;\n			var b3 = word & 0xff;\n\n			if (b1 === 0xff) // overflow b1\n			{\n			b1 = 0;\n			if (b2 === 0xff)\n			{\n				b2 = 0;\n				if (b3 === 0xff)\n				{\n					b3 = 0;\n				}\n				else\n				{\n					++b3;\n				}\n			}\n			else\n			{\n				++b2;\n			}\n			}\n			else\n			{\n			++b1;\n			}\n\n			word = 0;\n			word += (b1 << 16);\n			word += (b2 << 8);\n			word += b3;\n			}\n			else\n			{\n			word += (0x01 << 24);\n			}\n			return word;\n		}\n\n		function incCounter(counter)\n		{\n			if ((counter[0] = incWord(counter[0])) === 0)\n			{\n				// encr_data in fileenc.c from  Dr Brian Gladman's counts only with DWORD j < 8\n				counter[1] = incWord(counter[1]);\n			}\n			return counter;\n		}\n\n	    var Encryptor = CTRGladman.Encryptor = CTRGladman.extend({\n	        processBlock: function (words, offset) {\n	            // Shortcuts\n	            var cipher = this._cipher\n	            var blockSize = cipher.blockSize;\n	            var iv = this._iv;\n	            var counter = this._counter;\n\n	            // Generate keystream\n	            if (iv) {\n	                counter = this._counter = iv.slice(0);\n\n	                // Remove IV for subsequent blocks\n	                this._iv = undefined;\n	            }\n\n				incCounter(counter);\n\n				var keystream = counter.slice(0);\n	            cipher.encryptBlock(keystream, 0);\n\n	            // Encrypt\n	            for (var i = 0; i < blockSize; i++) {\n	                words[offset + i] ^= keystream[i];\n	            }\n	        }\n	    });\n\n	    CTRGladman.Decryptor = Encryptor;\n\n	    return CTRGladman;\n	}());\n\n\n\n\n	/**\n	 * Output Feedback block mode.\n	 */\n	CryptoJS.mode.OFB = (function () {\n	    var OFB = CryptoJS.lib.BlockCipherMode.extend();\n\n	    var Encryptor = OFB.Encryptor = OFB.extend({\n	        processBlock: function (words, offset) {\n	            // Shortcuts\n	            var cipher = this._cipher\n	            var blockSize = cipher.blockSize;\n	            var iv = this._iv;\n	            var keystream = this._keystream;\n\n	            // Generate keystream\n	            if (iv) {\n	                keystream = this._keystream = iv.slice(0);\n\n	                // Remove IV for subsequent blocks\n	                this._iv = undefined;\n	            }\n	            cipher.encryptBlock(keystream, 0);\n\n	            // Encrypt\n	            for (var i = 0; i < blockSize; i++) {\n	                words[offset + i] ^= keystream[i];\n	            }\n	        }\n	    });\n\n	    OFB.Decryptor = Encryptor;\n\n	    return OFB;\n	}());\n\n\n	/**\n	 * Electronic Codebook block mode.\n	 */\n	CryptoJS.mode.ECB = (function () {\n	    var ECB = CryptoJS.lib.BlockCipherMode.extend();\n\n	    ECB.Encryptor = ECB.extend({\n	        processBlock: function (words, offset) {\n	            this._cipher.encryptBlock(words, offset);\n	        }\n	    });\n\n	    ECB.Decryptor = ECB.extend({\n	        processBlock: function (words, offset) {\n	            this._cipher.decryptBlock(words, offset);\n	        }\n	    });\n\n	    return ECB;\n	}());\n\n\n	/**\n	 * ANSI X.923 padding strategy.\n	 */\n	CryptoJS.pad.AnsiX923 = {\n	    pad: function (data, blockSize) {\n	        // Shortcuts\n	        var dataSigBytes = data.sigBytes;\n	        var blockSizeBytes = blockSize * 4;\n\n	        // Count padding bytes\n	        var nPaddingBytes = blockSizeBytes - dataSigBytes % blockSizeBytes;\n\n	        // Compute last byte position\n	        var lastBytePos = dataSigBytes + nPaddingBytes - 1;\n\n	        // Pad\n	        data.clamp();\n	        data.words[lastBytePos >>> 2] |= nPaddingBytes << (24 - (lastBytePos % 4) * 8);\n	        data.sigBytes += nPaddingBytes;\n	    },\n\n	    unpad: function (data) {\n	        // Get number of padding bytes from last byte\n	        var nPaddingBytes = data.words[(data.sigBytes - 1) >>> 2] & 0xff;\n\n	        // Remove padding\n	        data.sigBytes -= nPaddingBytes;\n	    }\n	};\n\n\n	/**\n	 * ISO 10126 padding strategy.\n	 */\n	CryptoJS.pad.Iso10126 = {\n	    pad: function (data, blockSize) {\n	        // Shortcut\n	        var blockSizeBytes = blockSize * 4;\n\n	        // Count padding bytes\n	        var nPaddingBytes = blockSizeBytes - data.sigBytes % blockSizeBytes;\n\n	        // Pad\n	        data.concat(CryptoJS.lib.WordArray.random(nPaddingBytes - 1)).\n	             concat(CryptoJS.lib.WordArray.create([nPaddingBytes << 24], 1));\n	    },\n\n	    unpad: function (data) {\n	        // Get number of padding bytes from last byte\n	        var nPaddingBytes = data.words[(data.sigBytes - 1) >>> 2] & 0xff;\n\n	        // Remove padding\n	        data.sigBytes -= nPaddingBytes;\n	    }\n	};\n\n\n	/**\n	 * ISO/IEC 9797-1 Padding Method 2.\n	 */\n	CryptoJS.pad.Iso97971 = {\n	    pad: function (data, blockSize) {\n	        // Add 0x80 byte\n	        data.concat(CryptoJS.lib.WordArray.create([0x80000000], 1));\n\n	        // Zero pad the rest\n	        CryptoJS.pad.ZeroPadding.pad(data, blockSize);\n	    },\n\n	    unpad: function (data) {\n	        // Remove zero padding\n	        CryptoJS.pad.ZeroPadding.unpad(data);\n\n	        // Remove one more byte -- the 0x80 byte\n	        data.sigBytes--;\n	    }\n	};\n\n\n	/**\n	 * Zero padding strategy.\n	 */\n	CryptoJS.pad.ZeroPadding = {\n	    pad: function (data, blockSize) {\n	        // Shortcut\n	        var blockSizeBytes = blockSize * 4;\n\n	        // Pad\n	        data.clamp();\n	        data.sigBytes += blockSizeBytes - ((data.sigBytes % blockSizeBytes) || blockSizeBytes);\n	    },\n\n	    unpad: function (data) {\n	        // Shortcut\n	        var dataWords = data.words;\n\n	        // Unpad\n	        var i = data.sigBytes - 1;\n	        for (var i = data.sigBytes - 1; i >= 0; i--) {\n	            if (((dataWords[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff)) {\n	                data.sigBytes = i + 1;\n	                break;\n	            }\n	        }\n	    }\n	};\n\n\n	/**\n	 * A noop padding strategy.\n	 */\n	CryptoJS.pad.NoPadding = {\n	    pad: function () {\n	    },\n\n	    unpad: function () {\n	    }\n	};\n\n\n	(function (undefined) {\n	    // Shortcuts\n	    var C = CryptoJS;\n	    var C_lib = C.lib;\n	    var CipherParams = C_lib.CipherParams;\n	    var C_enc = C.enc;\n	    var Hex = C_enc.Hex;\n	    var C_format = C.format;\n\n	    var HexFormatter = C_format.Hex = {\n	        /**\n	         * Converts the ciphertext of a cipher params object to a hexadecimally encoded string.\n	         *\n	         * @param {CipherParams} cipherParams The cipher params object.\n	         *\n	         * @return {string} The hexadecimally encoded string.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var hexString = CryptoJS.format.Hex.stringify(cipherParams);\n	         */\n	        stringify: function (cipherParams) {\n	            return cipherParams.ciphertext.toString(Hex);\n	        },\n\n	        /**\n	         * Converts a hexadecimally encoded ciphertext string to a cipher params object.\n	         *\n	         * @param {string} input The hexadecimally encoded string.\n	         *\n	         * @return {CipherParams} The cipher params object.\n	         *\n	         * @static\n	         *\n	         * @example\n	         *\n	         *     var cipherParams = CryptoJS.format.Hex.parse(hexString);\n	         */\n	        parse: function (input) {\n	            var ciphertext = Hex.parse(input);\n	            return CipherParams.create({ ciphertext: ciphertext });\n	        }\n	    };\n	}());\n\n\n	(function () {\n	    // Shortcuts\n	    var C = CryptoJS;\n	    var C_lib = C.lib;\n	    var BlockCipher = C_lib.BlockCipher;\n	    var C_algo = C.algo;\n\n	    // Lookup tables\n	    var SBOX = [];\n	    var INV_SBOX = [];\n	    var SUB_MIX_0 = [];\n	    var SUB_MIX_1 = [];\n	    var SUB_MIX_2 = [];\n	    var SUB_MIX_3 = [];\n	    var INV_SUB_MIX_0 = [];\n	    var INV_SUB_MIX_1 = [];\n	    var INV_SUB_MIX_2 = [];\n	    var INV_SUB_MIX_3 = [];\n\n	    // Compute lookup tables\n	    (function () {\n	        // Compute double table\n	        var d = [];\n	        for (var i = 0; i < 256; i++) {\n	            if (i < 128) {\n	                d[i] = i << 1;\n	            } else {\n	                d[i] = (i << 1) ^ 0x11b;\n	            }\n	        }\n\n	        // Walk GF(2^8)\n	        var x = 0;\n	        var xi = 0;\n	        for (var i = 0; i < 256; i++) {\n	            // Compute sbox\n	            var sx = xi ^ (xi << 1) ^ (xi << 2) ^ (xi << 3) ^ (xi << 4);\n	            sx = (sx >>> 8) ^ (sx & 0xff) ^ 0x63;\n	            SBOX[x] = sx;\n	            INV_SBOX[sx] = x;\n\n	            // Compute multiplication\n	            var x2 = d[x];\n	            var x4 = d[x2];\n	            var x8 = d[x4];\n\n	            // Compute sub bytes, mix columns tables\n	            var t = (d[sx] * 0x101) ^ (sx * 0x1010100);\n	            SUB_MIX_0[x] = (t << 24) | (t >>> 8);\n	            SUB_MIX_1[x] = (t << 16) | (t >>> 16);\n	            SUB_MIX_2[x] = (t << 8)  | (t >>> 24);\n	            SUB_MIX_3[x] = t;\n\n	            // Compute inv sub bytes, inv mix columns tables\n	            var t = (x8 * 0x1010101) ^ (x4 * 0x10001) ^ (x2 * 0x101) ^ (x * 0x1010100);\n	            INV_SUB_MIX_0[sx] = (t << 24) | (t >>> 8);\n	            INV_SUB_MIX_1[sx] = (t << 16) | (t >>> 16);\n	            INV_SUB_MIX_2[sx] = (t << 8)  | (t >>> 24);\n	            INV_SUB_MIX_3[sx] = t;\n\n	            // Compute next counter\n	            if (!x) {\n	                x = xi = 1;\n	            } else {\n	                x = x2 ^ d[d[d[x8 ^ x2]]];\n	                xi ^= d[d[xi]];\n	            }\n	        }\n	    }());\n\n	    // Precomputed Rcon lookup\n	    var RCON = [0x00, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x1b, 0x36];\n\n	    /**\n	     * AES block cipher algorithm.\n	     */\n	    var AES = C_algo.AES = BlockCipher.extend({\n	        _doReset: function () {\n	            var t;\n\n	            // Skip reset of nRounds has been set before and key did not change\n	            if (this._nRounds && this._keyPriorReset === this._key) {\n	                return;\n	            }\n\n	            // Shortcuts\n	            var key = this._keyPriorReset = this._key;\n	            var keyWords = key.words;\n	            var keySize = key.sigBytes / 4;\n\n	            // Compute number of rounds\n	            var nRounds = this._nRounds = keySize + 6;\n\n	            // Compute number of key schedule rows\n	            var ksRows = (nRounds + 1) * 4;\n\n	            // Compute key schedule\n	            var keySchedule = this._keySchedule = [];\n	            for (var ksRow = 0; ksRow < ksRows; ksRow++) {\n	                if (ksRow < keySize) {\n	                    keySchedule[ksRow] = keyWords[ksRow];\n	                } else {\n	                    t = keySchedule[ksRow - 1];\n\n	                    if (!(ksRow % keySize)) {\n	                        // Rot word\n	                        t = (t << 8) | (t >>> 24);\n\n	                        // Sub word\n	                        t = (SBOX[t >>> 24] << 24) | (SBOX[(t >>> 16) & 0xff] << 16) | (SBOX[(t >>> 8) & 0xff] << 8) | SBOX[t & 0xff];\n\n	                        // Mix Rcon\n	                        t ^= RCON[(ksRow / keySize) | 0] << 24;\n	                    } else if (keySize > 6 && ksRow % keySize == 4) {\n	                        // Sub word\n	                        t = (SBOX[t >>> 24] << 24) | (SBOX[(t >>> 16) & 0xff] << 16) | (SBOX[(t >>> 8) & 0xff] << 8) | SBOX[t & 0xff];\n	                    }\n\n	                    keySchedule[ksRow] = keySchedule[ksRow - keySize] ^ t;\n	                }\n	            }\n\n	            // Compute inv key schedule\n	            var invKeySchedule = this._invKeySchedule = [];\n	            for (var invKsRow = 0; invKsRow < ksRows; invKsRow++) {\n	                var ksRow = ksRows - invKsRow;\n\n	                if (invKsRow % 4) {\n	                    var t = keySchedule[ksRow];\n	                } else {\n	                    var t = keySchedule[ksRow - 4];\n	                }\n\n	                if (invKsRow < 4 || ksRow <= 4) {\n	                    invKeySchedule[invKsRow] = t;\n	                } else {\n	                    invKeySchedule[invKsRow] = INV_SUB_MIX_0[SBOX[t >>> 24]] ^ INV_SUB_MIX_1[SBOX[(t >>> 16) & 0xff]] ^\n	                                               INV_SUB_MIX_2[SBOX[(t >>> 8) & 0xff]] ^ INV_SUB_MIX_3[SBOX[t & 0xff]];\n	                }\n	            }\n	        },\n\n	        encryptBlock: function (M, offset) {\n	            this._doCryptBlock(M, offset, this._keySchedule, SUB_MIX_0, SUB_MIX_1, SUB_MIX_2, SUB_MIX_3, SBOX);\n	        },\n\n	        decryptBlock: function (M, offset) {\n	            // Swap 2nd and 4th rows\n	            var t = M[offset + 1];\n	            M[offset + 1] = M[offset + 3];\n	            M[offset + 3] = t;\n\n	            this._doCryptBlock(M, offset, this._invKeySchedule, INV_SUB_MIX_0, INV_SUB_MIX_1, INV_SUB_MIX_2, INV_SUB_MIX_3, INV_SBOX);\n\n	            // Inv swap 2nd and 4th rows\n	            var t = M[offset + 1];\n	            M[offset + 1] = M[offset + 3];\n	            M[offset + 3] = t;\n	        },\n\n	        _doCryptBlock: function (M, offset, keySchedule, SUB_MIX_0, SUB_MIX_1, SUB_MIX_2, SUB_MIX_3, SBOX) {\n	            // Shortcut\n	            var nRounds = this._nRounds;\n\n	            // Get input, add round key\n	            var s0 = M[offset]     ^ keySchedule[0];\n	            var s1 = M[offset + 1] ^ keySchedule[1];\n	            var s2 = M[offset + 2] ^ keySchedule[2];\n	            var s3 = M[offset + 3] ^ keySchedule[3];\n\n	            // Key schedule row counter\n	            var ksRow = 4;\n\n	            // Rounds\n	            for (var round = 1; round < nRounds; round++) {\n	                // Shift rows, sub bytes, mix columns, add round key\n	                var t0 = SUB_MIX_0[s0 >>> 24] ^ SUB_MIX_1[(s1 >>> 16) & 0xff] ^ SUB_MIX_2[(s2 >>> 8) & 0xff] ^ SUB_MIX_3[s3 & 0xff] ^ keySchedule[ksRow++];\n	                var t1 = SUB_MIX_0[s1 >>> 24] ^ SUB_MIX_1[(s2 >>> 16) & 0xff] ^ SUB_MIX_2[(s3 >>> 8) & 0xff] ^ SUB_MIX_3[s0 & 0xff] ^ keySchedule[ksRow++];\n	                var t2 = SUB_MIX_0[s2 >>> 24] ^ SUB_MIX_1[(s3 >>> 16) & 0xff] ^ SUB_MIX_2[(s0 >>> 8) & 0xff] ^ SUB_MIX_3[s1 & 0xff] ^ keySchedule[ksRow++];\n	                var t3 = SUB_MIX_0[s3 >>> 24] ^ SUB_MIX_1[(s0 >>> 16) & 0xff] ^ SUB_MIX_2[(s1 >>> 8) & 0xff] ^ SUB_MIX_3[s2 & 0xff] ^ keySchedule[ksRow++];\n\n	                // Update state\n	                s0 = t0;\n	                s1 = t1;\n	                s2 = t2;\n	                s3 = t3;\n	            }\n\n	            // Shift rows, sub bytes, add round key\n	            var t0 = ((SBOX[s0 >>> 24] << 24) | (SBOX[(s1 >>> 16) & 0xff] << 16) | (SBOX[(s2 >>> 8) & 0xff] << 8) | SBOX[s3 & 0xff]) ^ keySchedule[ksRow++];\n	            var t1 = ((SBOX[s1 >>> 24] << 24) | (SBOX[(s2 >>> 16) & 0xff] << 16) | (SBOX[(s3 >>> 8) & 0xff] << 8) | SBOX[s0 & 0xff]) ^ keySchedule[ksRow++];\n	            var t2 = ((SBOX[s2 >>> 24] << 24) | (SBOX[(s3 >>> 16) & 0xff] << 16) | (SBOX[(s0 >>> 8) & 0xff] << 8) | SBOX[s1 & 0xff]) ^ keySchedule[ksRow++];\n	            var t3 = ((SBOX[s3 >>> 24] << 24) | (SBOX[(s0 >>> 16) & 0xff] << 16) | (SBOX[(s1 >>> 8) & 0xff] << 8) | SBOX[s2 & 0xff]) ^ keySchedule[ksRow++];\n\n	            // Set output\n	            M[offset]     = t0;\n	            M[offset + 1] = t1;\n	            M[offset + 2] = t2;\n	            M[offset + 3] = t3;\n	        },\n\n	        keySize: 256/32\n	    });\n\n	    /**\n	     * Shortcut functions to the cipher's object interface.\n	     *\n	     * @example\n	     *\n	     *     var ciphertext = CryptoJS.AES.encrypt(message, key, cfg);\n	     *     var plaintext  = CryptoJS.AES.decrypt(ciphertext, key, cfg);\n	     */\n	    C.AES = BlockCipher._createHelper(AES);\n	}());\n\n\n	(function () {\n	    // Shortcuts\n	    var C = CryptoJS;\n	    var C_lib = C.lib;\n	    var WordArray = C_lib.WordArray;\n	    var BlockCipher = C_lib.BlockCipher;\n	    var C_algo = C.algo;\n\n	    // Permuted Choice 1 constants\n	    var PC1 = [\n	        57, 49, 41, 33, 25, 17, 9,  1,\n	        58, 50, 42, 34, 26, 18, 10, 2,\n	        59, 51, 43, 35, 27, 19, 11, 3,\n	        60, 52, 44, 36, 63, 55, 47, 39,\n	        31, 23, 15, 7,  62, 54, 46, 38,\n	        30, 22, 14, 6,  61, 53, 45, 37,\n	        29, 21, 13, 5,  28, 20, 12, 4\n	    ];\n\n	    // Permuted Choice 2 constants\n	    var PC2 = [\n	        14, 17, 11, 24, 1,  5,\n	        3,  28, 15, 6,  21, 10,\n	        23, 19, 12, 4,  26, 8,\n	        16, 7,  27, 20, 13, 2,\n	        41, 52, 31, 37, 47, 55,\n	        30, 40, 51, 45, 33, 48,\n	        44, 49, 39, 56, 34, 53,\n	        46, 42, 50, 36, 29, 32\n	    ];\n\n	    // Cumulative bit shift constants\n	    var BIT_SHIFTS = [1,  2,  4,  6,  8,  10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28];\n\n	    // SBOXes and round permutation constants\n	    var SBOX_P = [\n	        {\n	            0x0: 0x808200,\n	            0x10000000: 0x8000,\n	            0x20000000: 0x808002,\n	            0x30000000: 0x2,\n	            0x40000000: 0x200,\n	            0x50000000: 0x808202,\n	            0x60000000: 0x800202,\n	            0x70000000: 0x800000,\n	            0x80000000: 0x202,\n	            0x90000000: 0x800200,\n	            0xa0000000: 0x8200,\n	            0xb0000000: 0x808000,\n	            0xc0000000: 0x8002,\n	            0xd0000000: 0x800002,\n	            0xe0000000: 0x0,\n	            0xf0000000: 0x8202,\n	            0x8000000: 0x0,\n	            0x18000000: 0x808202,\n	            0x28000000: 0x8202,\n	            0x38000000: 0x8000,\n	            0x48000000: 0x808200,\n	            0x58000000: 0x200,\n	            0x68000000: 0x808002,\n	            0x78000000: 0x2,\n	            0x88000000: 0x800200,\n	            0x98000000: 0x8200,\n	            0xa8000000: 0x808000,\n	            0xb8000000: 0x800202,\n	            0xc8000000: 0x800002,\n	            0xd8000000: 0x8002,\n	            0xe8000000: 0x202,\n	            0xf8000000: 0x800000,\n	            0x1: 0x8000,\n	            0x10000001: 0x2,\n	            0x20000001: 0x808200,\n	            0x30000001: 0x800000,\n	            0x40000001: 0x808002,\n	            0x50000001: 0x8200,\n	            0x60000001: 0x200,\n	            0x70000001: 0x800202,\n	            0x80000001: 0x808202,\n	            0x90000001: 0x808000,\n	            0xa0000001: 0x800002,\n	            0xb0000001: 0x8202,\n	            0xc0000001: 0x202,\n	            0xd0000001: 0x800200,\n	            0xe0000001: 0x8002,\n	            0xf0000001: 0x0,\n	            0x8000001: 0x808202,\n	            0x18000001: 0x808000,\n	            0x28000001: 0x800000,\n	            0x38000001: 0x200,\n	            0x48000001: 0x8000,\n	            0x58000001: 0x800002,\n	            0x68000001: 0x2,\n	            0x78000001: 0x8202,\n	            0x88000001: 0x8002,\n	            0x98000001: 0x800202,\n	            0xa8000001: 0x202,\n	            0xb8000001: 0x808200,\n	            0xc8000001: 0x800200,\n	            0xd8000001: 0x0,\n	            0xe8000001: 0x8200,\n	            0xf8000001: 0x808002\n	        },\n	        {\n	            0x0: 0x40084010,\n	            0x1000000: 0x4000,\n	            0x2000000: 0x80000,\n	            0x3000000: 0x40080010,\n	            0x4000000: 0x40000010,\n	            0x5000000: 0x40084000,\n	            0x6000000: 0x40004000,\n	            0x7000000: 0x10,\n	            0x8000000: 0x84000,\n	            0x9000000: 0x40004010,\n	            0xa000000: 0x40000000,\n	            0xb000000: 0x84010,\n	            0xc000000: 0x80010,\n	            0xd000000: 0x0,\n	            0xe000000: 0x4010,\n	            0xf000000: 0x40080000,\n	            0x800000: 0x40004000,\n	            0x1800000: 0x84010,\n	            0x2800000: 0x10,\n	            0x3800000: 0x40004010,\n	            0x4800000: 0x40084010,\n	            0x5800000: 0x40000000,\n	            0x6800000: 0x80000,\n	            0x7800000: 0x40080010,\n	            0x8800000: 0x80010,\n	            0x9800000: 0x0,\n	            0xa800000: 0x4000,\n	            0xb800000: 0x40080000,\n	            0xc800000: 0x40000010,\n	            0xd800000: 0x84000,\n	            0xe800000: 0x40084000,\n	            0xf800000: 0x4010,\n	            0x10000000: 0x0,\n	            0x11000000: 0x40080010,\n	            0x12000000: 0x40004010,\n	            0x13000000: 0x40084000,\n	            0x14000000: 0x40080000,\n	            0x15000000: 0x10,\n	            0x16000000: 0x84010,\n	            0x17000000: 0x4000,\n	            0x18000000: 0x4010,\n	            0x19000000: 0x80000,\n	            0x1a000000: 0x80010,\n	            0x1b000000: 0x40000010,\n	            0x1c000000: 0x84000,\n	            0x1d000000: 0x40004000,\n	            0x1e000000: 0x40000000,\n	            0x1f000000: 0x40084010,\n	            0x10800000: 0x84010,\n	            0x11800000: 0x80000,\n	            0x12800000: 0x40080000,\n	            0x13800000: 0x4000,\n	            0x14800000: 0x40004000,\n	            0x15800000: 0x40084010,\n	            0x16800000: 0x10,\n	            0x17800000: 0x40000000,\n	            0x18800000: 0x40084000,\n	            0x19800000: 0x40000010,\n	            0x1a800000: 0x40004010,\n	            0x1b800000: 0x80010,\n	            0x1c800000: 0x0,\n	            0x1d800000: 0x4010,\n	            0x1e800000: 0x40080010,\n	            0x1f800000: 0x84000\n	        },\n	        {\n	            0x0: 0x104,\n	            0x100000: 0x0,\n	            0x200000: 0x4000100,\n	            0x300000: 0x10104,\n	            0x400000: 0x10004,\n	            0x500000: 0x4000004,\n	            0x600000: 0x4010104,\n	            0x700000: 0x4010000,\n	            0x800000: 0x4000000,\n	            0x900000: 0x4010100,\n	            0xa00000: 0x10100,\n	            0xb00000: 0x4010004,\n	            0xc00000: 0x4000104,\n	            0xd00000: 0x10000,\n	            0xe00000: 0x4,\n	            0xf00000: 0x100,\n	            0x80000: 0x4010100,\n	            0x180000: 0x4010004,\n	            0x280000: 0x0,\n	            0x380000: 0x4000100,\n	            0x480000: 0x4000004,\n	            0x580000: 0x10000,\n	            0x680000: 0x10004,\n	            0x780000: 0x104,\n	            0x880000: 0x4,\n	            0x980000: 0x100,\n	            0xa80000: 0x4010000,\n	            0xb80000: 0x10104,\n	            0xc80000: 0x10100,\n	            0xd80000: 0x4000104,\n	            0xe80000: 0x4010104,\n	            0xf80000: 0x4000000,\n	            0x1000000: 0x4010100,\n	            0x1100000: 0x10004,\n	            0x1200000: 0x10000,\n	            0x1300000: 0x4000100,\n	            0x1400000: 0x100,\n	            0x1500000: 0x4010104,\n	            0x1600000: 0x4000004,\n	            0x1700000: 0x0,\n	            0x1800000: 0x4000104,\n	            0x1900000: 0x4000000,\n	            0x1a00000: 0x4,\n	            0x1b00000: 0x10100,\n	            0x1c00000: 0x4010000,\n	            0x1d00000: 0x104,\n	            0x1e00000: 0x10104,\n	            0x1f00000: 0x4010004,\n	            0x1080000: 0x4000000,\n	            0x1180000: 0x104,\n	            0x1280000: 0x4010100,\n	            0x1380000: 0x0,\n	            0x1480000: 0x10004,\n	            0x1580000: 0x4000100,\n	            0x1680000: 0x100,\n	            0x1780000: 0x4010004,\n	            0x1880000: 0x10000,\n	            0x1980000: 0x4010104,\n	            0x1a80000: 0x10104,\n	            0x1b80000: 0x4000004,\n	            0x1c80000: 0x4000104,\n	            0x1d80000: 0x4010000,\n	            0x1e80000: 0x4,\n	            0x1f80000: 0x10100\n	        },\n	        {\n	            0x0: 0x80401000,\n	            0x10000: 0x80001040,\n	            0x20000: 0x401040,\n	            0x30000: 0x80400000,\n	            0x40000: 0x0,\n	            0x50000: 0x401000,\n	            0x60000: 0x80000040,\n	            0x70000: 0x400040,\n	            0x80000: 0x80000000,\n	            0x90000: 0x400000,\n	            0xa0000: 0x40,\n	            0xb0000: 0x80001000,\n	            0xc0000: 0x80400040,\n	            0xd0000: 0x1040,\n	            0xe0000: 0x1000,\n	            0xf0000: 0x80401040,\n	            0x8000: 0x80001040,\n	            0x18000: 0x40,\n	            0x28000: 0x80400040,\n	            0x38000: 0x80001000,\n	            0x48000: 0x401000,\n	            0x58000: 0x80401040,\n	            0x68000: 0x0,\n	            0x78000: 0x80400000,\n	            0x88000: 0x1000,\n	            0x98000: 0x80401000,\n	            0xa8000: 0x400000,\n	            0xb8000: 0x1040,\n	            0xc8000: 0x80000000,\n	            0xd8000: 0x400040,\n	            0xe8000: 0x401040,\n	            0xf8000: 0x80000040,\n	            0x100000: 0x400040,\n	            0x110000: 0x401000,\n	            0x120000: 0x80000040,\n	            0x130000: 0x0,\n	            0x140000: 0x1040,\n	            0x150000: 0x80400040,\n	            0x160000: 0x80401000,\n	            0x170000: 0x80001040,\n	            0x180000: 0x80401040,\n	            0x190000: 0x80000000,\n	            0x1a0000: 0x80400000,\n	            0x1b0000: 0x401040,\n	            0x1c0000: 0x80001000,\n	            0x1d0000: 0x400000,\n	            0x1e0000: 0x40,\n	            0x1f0000: 0x1000,\n	            0x108000: 0x80400000,\n	            0x118000: 0x80401040,\n	            0x128000: 0x0,\n	            0x138000: 0x401000,\n	            0x148000: 0x400040,\n	            0x158000: 0x80000000,\n	            0x168000: 0x80001040,\n	            0x178000: 0x40,\n	            0x188000: 0x80000040,\n	            0x198000: 0x1000,\n	            0x1a8000: 0x80001000,\n	            0x1b8000: 0x80400040,\n	            0x1c8000: 0x1040,\n	            0x1d8000: 0x80401000,\n	            0x1e8000: 0x400000,\n	            0x1f8000: 0x401040\n	        },\n	        {\n	            0x0: 0x80,\n	            0x1000: 0x1040000,\n	            0x2000: 0x40000,\n	            0x3000: 0x20000000,\n	            0x4000: 0x20040080,\n	            0x5000: 0x1000080,\n	            0x6000: 0x21000080,\n	            0x7000: 0x40080,\n	            0x8000: 0x1000000,\n	            0x9000: 0x20040000,\n	            0xa000: 0x20000080,\n	            0xb000: 0x21040080,\n	            0xc000: 0x21040000,\n	            0xd000: 0x0,\n	            0xe000: 0x1040080,\n	            0xf000: 0x21000000,\n	            0x800: 0x1040080,\n	            0x1800: 0x21000080,\n	            0x2800: 0x80,\n	            0x3800: 0x1040000,\n	            0x4800: 0x40000,\n	            0x5800: 0x20040080,\n	            0x6800: 0x21040000,\n	            0x7800: 0x20000000,\n	            0x8800: 0x20040000,\n	            0x9800: 0x0,\n	            0xa800: 0x21040080,\n	            0xb800: 0x1000080,\n	            0xc800: 0x20000080,\n	            0xd800: 0x21000000,\n	            0xe800: 0x1000000,\n	            0xf800: 0x40080,\n	            0x10000: 0x40000,\n	            0x11000: 0x80,\n	            0x12000: 0x20000000,\n	            0x13000: 0x21000080,\n	            0x14000: 0x1000080,\n	            0x15000: 0x21040000,\n	            0x16000: 0x20040080,\n	            0x17000: 0x1000000,\n	            0x18000: 0x21040080,\n	            0x19000: 0x21000000,\n	            0x1a000: 0x1040000,\n	            0x1b000: 0x20040000,\n	            0x1c000: 0x40080,\n	            0x1d000: 0x20000080,\n	            0x1e000: 0x0,\n	            0x1f000: 0x1040080,\n	            0x10800: 0x21000080,\n	            0x11800: 0x1000000,\n	            0x12800: 0x1040000,\n	            0x13800: 0x20040080,\n	            0x14800: 0x20000000,\n	            0x15800: 0x1040080,\n	            0x16800: 0x80,\n	            0x17800: 0x21040000,\n	            0x18800: 0x40080,\n	            0x19800: 0x21040080,\n	            0x1a800: 0x0,\n	            0x1b800: 0x21000000,\n	            0x1c800: 0x1000080,\n	            0x1d800: 0x40000,\n	            0x1e800: 0x20040000,\n	            0x1f800: 0x20000080\n	        },\n	        {\n	            0x0: 0x10000008,\n	            0x100: 0x2000,\n	            0x200: 0x10200000,\n	            0x300: 0x10202008,\n	            0x400: 0x10002000,\n	            0x500: 0x200000,\n	            0x600: 0x200008,\n	            0x700: 0x10000000,\n	            0x800: 0x0,\n	            0x900: 0x10002008,\n	            0xa00: 0x202000,\n	            0xb00: 0x8,\n	            0xc00: 0x10200008,\n	            0xd00: 0x202008,\n	            0xe00: 0x2008,\n	            0xf00: 0x10202000,\n	            0x80: 0x10200000,\n	            0x180: 0x10202008,\n	            0x280: 0x8,\n	            0x380: 0x200000,\n	            0x480: 0x202008,\n	            0x580: 0x10000008,\n	            0x680: 0x10002000,\n	            0x780: 0x2008,\n	            0x880: 0x200008,\n	            0x980: 0x2000,\n	            0xa80: 0x10002008,\n	            0xb80: 0x10200008,\n	            0xc80: 0x0,\n	            0xd80: 0x10202000,\n	            0xe80: 0x202000,\n	            0xf80: 0x10000000,\n	            0x1000: 0x10002000,\n	            0x1100: 0x10200008,\n	            0x1200: 0x10202008,\n	            0x1300: 0x2008,\n	            0x1400: 0x200000,\n	            0x1500: 0x10000000,\n	            0x1600: 0x10000008,\n	            0x1700: 0x202000,\n	            0x1800: 0x202008,\n	            0x1900: 0x0,\n	            0x1a00: 0x8,\n	            0x1b00: 0x10200000,\n	            0x1c00: 0x2000,\n	            0x1d00: 0x10002008,\n	            0x1e00: 0x10202000,\n	            0x1f00: 0x200008,\n	            0x1080: 0x8,\n	            0x1180: 0x202000,\n	            0x1280: 0x200000,\n	            0x1380: 0x10000008,\n	            0x1480: 0x10002000,\n	            0x1580: 0x2008,\n	            0x1680: 0x10202008,\n	            0x1780: 0x10200000,\n	            0x1880: 0x10202000,\n	            0x1980: 0x10200008,\n	            0x1a80: 0x2000,\n	            0x1b80: 0x202008,\n	            0x1c80: 0x200008,\n	            0x1d80: 0x0,\n	            0x1e80: 0x10000000,\n	            0x1f80: 0x10002008\n	        },\n	        {\n	            0x0: 0x100000,\n	            0x10: 0x2000401,\n	            0x20: 0x400,\n	            0x30: 0x100401,\n	            0x40: 0x2100401,\n	            0x50: 0x0,\n	            0x60: 0x1,\n	            0x70: 0x2100001,\n	            0x80: 0x2000400,\n	            0x90: 0x100001,\n	            0xa0: 0x2000001,\n	            0xb0: 0x2100400,\n	            0xc0: 0x2100000,\n	            0xd0: 0x401,\n	            0xe0: 0x100400,\n	            0xf0: 0x2000000,\n	            0x8: 0x2100001,\n	            0x18: 0x0,\n	            0x28: 0x2000401,\n	            0x38: 0x2100400,\n	            0x48: 0x100000,\n	            0x58: 0x2000001,\n	            0x68: 0x2000000,\n	            0x78: 0x401,\n	            0x88: 0x100401,\n	            0x98: 0x2000400,\n	            0xa8: 0x2100000,\n	            0xb8: 0x100001,\n	            0xc8: 0x400,\n	            0xd8: 0x2100401,\n	            0xe8: 0x1,\n	            0xf8: 0x100400,\n	            0x100: 0x2000000,\n	            0x110: 0x100000,\n	            0x120: 0x2000401,\n	            0x130: 0x2100001,\n	            0x140: 0x100001,\n	            0x150: 0x2000400,\n	            0x160: 0x2100400,\n	            0x170: 0x100401,\n	            0x180: 0x401,\n	            0x190: 0x2100401,\n	            0x1a0: 0x100400,\n	            0x1b0: 0x1,\n	            0x1c0: 0x0,\n	            0x1d0: 0x2100000,\n	            0x1e0: 0x2000001,\n	            0x1f0: 0x400,\n	            0x108: 0x100400,\n	            0x118: 0x2000401,\n	            0x128: 0x2100001,\n	            0x138: 0x1,\n	            0x148: 0x2000000,\n	            0x158: 0x100000,\n	            0x168: 0x401,\n	            0x178: 0x2100400,\n	            0x188: 0x2000001,\n	            0x198: 0x2100000,\n	            0x1a8: 0x0,\n	            0x1b8: 0x2100401,\n	            0x1c8: 0x100401,\n	            0x1d8: 0x400,\n	            0x1e8: 0x2000400,\n	            0x1f8: 0x100001\n	        },\n	        {\n	            0x0: 0x8000820,\n	            0x1: 0x20000,\n	            0x2: 0x8000000,\n	            0x3: 0x20,\n	            0x4: 0x20020,\n	            0x5: 0x8020820,\n	            0x6: 0x8020800,\n	            0x7: 0x800,\n	            0x8: 0x8020000,\n	            0x9: 0x8000800,\n	            0xa: 0x20800,\n	            0xb: 0x8020020,\n	            0xc: 0x820,\n	            0xd: 0x0,\n	            0xe: 0x8000020,\n	            0xf: 0x20820,\n	            0x80000000: 0x800,\n	            0x80000001: 0x8020820,\n	            0x80000002: 0x8000820,\n	            0x80000003: 0x8000000,\n	            0x80000004: 0x8020000,\n	            0x80000005: 0x20800,\n	            0x80000006: 0x20820,\n	            0x80000007: 0x20,\n	            0x80000008: 0x8000020,\n	            0x80000009: 0x820,\n	            0x8000000a: 0x20020,\n	            0x8000000b: 0x8020800,\n	            0x8000000c: 0x0,\n	            0x8000000d: 0x8020020,\n	            0x8000000e: 0x8000800,\n	            0x8000000f: 0x20000,\n	            0x10: 0x20820,\n	            0x11: 0x8020800,\n	            0x12: 0x20,\n	            0x13: 0x800,\n	            0x14: 0x8000800,\n	            0x15: 0x8000020,\n	            0x16: 0x8020020,\n	            0x17: 0x20000,\n	            0x18: 0x0,\n	            0x19: 0x20020,\n	            0x1a: 0x8020000,\n	            0x1b: 0x8000820,\n	            0x1c: 0x8020820,\n	            0x1d: 0x20800,\n	            0x1e: 0x820,\n	            0x1f: 0x8000000,\n	            0x80000010: 0x20000,\n	            0x80000011: 0x800,\n	            0x80000012: 0x8020020,\n	            0x80000013: 0x20820,\n	            0x80000014: 0x20,\n	            0x80000015: 0x8020000,\n	            0x80000016: 0x8000000,\n	            0x80000017: 0x8000820,\n	            0x80000018: 0x8020820,\n	            0x80000019: 0x8000020,\n	            0x8000001a: 0x8000800,\n	            0x8000001b: 0x0,\n	            0x8000001c: 0x20800,\n	            0x8000001d: 0x820,\n	            0x8000001e: 0x20020,\n	            0x8000001f: 0x8020800\n	        }\n	    ];\n\n	    // Masks that select the SBOX input\n	    var SBOX_MASK = [\n	        0xf8000001, 0x1f800000, 0x01f80000, 0x001f8000,\n	        0x0001f800, 0x00001f80, 0x000001f8, 0x8000001f\n	    ];\n\n	    /**\n	     * DES block cipher algorithm.\n	     */\n	    var DES = C_algo.DES = BlockCipher.extend({\n	        _doReset: function () {\n	            // Shortcuts\n	            var key = this._key;\n	            var keyWords = key.words;\n\n	            // Select 56 bits according to PC1\n	            var keyBits = [];\n	            for (var i = 0; i < 56; i++) {\n	                var keyBitPos = PC1[i] - 1;\n	                keyBits[i] = (keyWords[keyBitPos >>> 5] >>> (31 - keyBitPos % 32)) & 1;\n	            }\n\n	            // Assemble 16 subkeys\n	            var subKeys = this._subKeys = [];\n	            for (var nSubKey = 0; nSubKey < 16; nSubKey++) {\n	                // Create subkey\n	                var subKey = subKeys[nSubKey] = [];\n\n	                // Shortcut\n	                var bitShift = BIT_SHIFTS[nSubKey];\n\n	                // Select 48 bits according to PC2\n	                for (var i = 0; i < 24; i++) {\n	                    // Select from the left 28 key bits\n	                    subKey[(i / 6) | 0] |= keyBits[((PC2[i] - 1) + bitShift) % 28] << (31 - i % 6);\n\n	                    // Select from the right 28 key bits\n	                    subKey[4 + ((i / 6) | 0)] |= keyBits[28 + (((PC2[i + 24] - 1) + bitShift) % 28)] << (31 - i % 6);\n	                }\n\n	                // Since each subkey is applied to an expanded 32-bit input,\n	                // the subkey can be broken into 8 values scaled to 32-bits,\n	                // which allows the key to be used without expansion\n	                subKey[0] = (subKey[0] << 1) | (subKey[0] >>> 31);\n	                for (var i = 1; i < 7; i++) {\n	                    subKey[i] = subKey[i] >>> ((i - 1) * 4 + 3);\n	                }\n	                subKey[7] = (subKey[7] << 5) | (subKey[7] >>> 27);\n	            }\n\n	            // Compute inverse subkeys\n	            var invSubKeys = this._invSubKeys = [];\n	            for (var i = 0; i < 16; i++) {\n	                invSubKeys[i] = subKeys[15 - i];\n	            }\n	        },\n\n	        encryptBlock: function (M, offset) {\n	            this._doCryptBlock(M, offset, this._subKeys);\n	        },\n\n	        decryptBlock: function (M, offset) {\n	            this._doCryptBlock(M, offset, this._invSubKeys);\n	        },\n\n	        _doCryptBlock: function (M, offset, subKeys) {\n	            // Get input\n	            this._lBlock = M[offset];\n	            this._rBlock = M[offset + 1];\n\n	            // Initial permutation\n	            exchangeLR.call(this, 4,  0x0f0f0f0f);\n	            exchangeLR.call(this, 16, 0x0000ffff);\n	            exchangeRL.call(this, 2,  0x33333333);\n	            exchangeRL.call(this, 8,  0x00ff00ff);\n	            exchangeLR.call(this, 1,  0x55555555);\n\n	            // Rounds\n	            for (var round = 0; round < 16; round++) {\n	                // Shortcuts\n	                var subKey = subKeys[round];\n	                var lBlock = this._lBlock;\n	                var rBlock = this._rBlock;\n\n	                // Feistel function\n	                var f = 0;\n	                for (var i = 0; i < 8; i++) {\n	                    f |= SBOX_P[i][((rBlock ^ subKey[i]) & SBOX_MASK[i]) >>> 0];\n	                }\n	                this._lBlock = rBlock;\n	                this._rBlock = lBlock ^ f;\n	            }\n\n	            // Undo swap from last round\n	            var t = this._lBlock;\n	            this._lBlock = this._rBlock;\n	            this._rBlock = t;\n\n	            // Final permutation\n	            exchangeLR.call(this, 1,  0x55555555);\n	            exchangeRL.call(this, 8,  0x00ff00ff);\n	            exchangeRL.call(this, 2,  0x33333333);\n	            exchangeLR.call(this, 16, 0x0000ffff);\n	            exchangeLR.call(this, 4,  0x0f0f0f0f);\n\n	            // Set output\n	            M[offset] = this._lBlock;\n	            M[offset + 1] = this._rBlock;\n	        },\n\n	        keySize: 64/32,\n\n	        ivSize: 64/32,\n\n	        blockSize: 64/32\n	    });\n\n	    // Swap bits across the left and right words\n	    function exchangeLR(offset, mask) {\n	        var t = ((this._lBlock >>> offset) ^ this._rBlock) & mask;\n	        this._rBlock ^= t;\n	        this._lBlock ^= t << offset;\n	    }\n\n	    function exchangeRL(offset, mask) {\n	        var t = ((this._rBlock >>> offset) ^ this._lBlock) & mask;\n	        this._lBlock ^= t;\n	        this._rBlock ^= t << offset;\n	    }\n\n	    /**\n	     * Shortcut functions to the cipher's object interface.\n	     *\n	     * @example\n	     *\n	     *     var ciphertext = CryptoJS.DES.encrypt(message, key, cfg);\n	     *     var plaintext  = CryptoJS.DES.decrypt(ciphertext, key, cfg);\n	     */\n	    C.DES = BlockCipher._createHelper(DES);\n\n	    /**\n	     * Triple-DES block cipher algorithm.\n	     */\n	    var TripleDES = C_algo.TripleDES = BlockCipher.extend({\n	        _doReset: function () {\n	            // Shortcuts\n	            var key = this._key;\n	            var keyWords = key.words;\n	            // Make sure the key length is valid (64, 128 or >= 192 bit)\n	            if (keyWords.length !== 2 && keyWords.length !== 4 && keyWords.length < 6) {\n	                throw new Error('Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.');\n	            }\n\n	            // Extend the key according to the keying options defined in 3DES standard\n	            var key1 = keyWords.slice(0, 2);\n	            var key2 = keyWords.length < 4 ? keyWords.slice(0, 2) : keyWords.slice(2, 4);\n	            var key3 = keyWords.length < 6 ? keyWords.slice(0, 2) : keyWords.slice(4, 6);\n\n	            // Create DES instances\n	            this._des1 = DES.createEncryptor(WordArray.create(key1));\n	            this._des2 = DES.createEncryptor(WordArray.create(key2));\n	            this._des3 = DES.createEncryptor(WordArray.create(key3));\n	        },\n\n	        encryptBlock: function (M, offset) {\n	            this._des1.encryptBlock(M, offset);\n	            this._des2.decryptBlock(M, offset);\n	            this._des3.encryptBlock(M, offset);\n	        },\n\n	        decryptBlock: function (M, offset) {\n	            this._des3.decryptBlock(M, offset);\n	            this._des2.encryptBlock(M, offset);\n	            this._des1.decryptBlock(M, offset);\n	        },\n\n	        keySize: 192/32,\n\n	        ivSize: 64/32,\n\n	        blockSize: 64/32\n	    });\n\n	    /**\n	     * Shortcut functions to the cipher's object interface.\n	     *\n	     * @example\n	     *\n	     *     var ciphertext = CryptoJS.TripleDES.encrypt(message, key, cfg);\n	     *     var plaintext  = CryptoJS.TripleDES.decrypt(ciphertext, key, cfg);\n	     */\n	    C.TripleDES = BlockCipher._createHelper(TripleDES);\n	}());\n\n\n	(function () {\n	    // Shortcuts\n	    var C = CryptoJS;\n	    var C_lib = C.lib;\n	    var StreamCipher = C_lib.StreamCipher;\n	    var C_algo = C.algo;\n\n	    /**\n	     * RC4 stream cipher algorithm.\n	     */\n	    var RC4 = C_algo.RC4 = StreamCipher.extend({\n	        _doReset: function () {\n	            // Shortcuts\n	            var key = this._key;\n	            var keyWords = key.words;\n	            var keySigBytes = key.sigBytes;\n\n	            // Init sbox\n	            var S = this._S = [];\n	            for (var i = 0; i < 256; i++) {\n	                S[i] = i;\n	            }\n\n	            // Key setup\n	            for (var i = 0, j = 0; i < 256; i++) {\n	                var keyByteIndex = i % keySigBytes;\n	                var keyByte = (keyWords[keyByteIndex >>> 2] >>> (24 - (keyByteIndex % 4) * 8)) & 0xff;\n\n	                j = (j + S[i] + keyByte) % 256;\n\n	                // Swap\n	                var t = S[i];\n	                S[i] = S[j];\n	                S[j] = t;\n	            }\n\n	            // Counters\n	            this._i = this._j = 0;\n	        },\n\n	        _doProcessBlock: function (M, offset) {\n	            M[offset] ^= generateKeystreamWord.call(this);\n	        },\n\n	        keySize: 256/32,\n\n	        ivSize: 0\n	    });\n\n	    function generateKeystreamWord() {\n	        // Shortcuts\n	        var S = this._S;\n	        var i = this._i;\n	        var j = this._j;\n\n	        // Generate keystream word\n	        var keystreamWord = 0;\n	        for (var n = 0; n < 4; n++) {\n	            i = (i + 1) % 256;\n	            j = (j + S[i]) % 256;\n\n	            // Swap\n	            var t = S[i];\n	            S[i] = S[j];\n	            S[j] = t;\n\n	            keystreamWord |= S[(S[i] + S[j]) % 256] << (24 - n * 8);\n	        }\n\n	        // Update counters\n	        this._i = i;\n	        this._j = j;\n\n	        return keystreamWord;\n	    }\n\n	    /**\n	     * Shortcut functions to the cipher's object interface.\n	     *\n	     * @example\n	     *\n	     *     var ciphertext = CryptoJS.RC4.encrypt(message, key, cfg);\n	     *     var plaintext  = CryptoJS.RC4.decrypt(ciphertext, key, cfg);\n	     */\n	    C.RC4 = StreamCipher._createHelper(RC4);\n\n	    /**\n	     * Modified RC4 stream cipher algorithm.\n	     */\n	    var RC4Drop = C_algo.RC4Drop = RC4.extend({\n	        /**\n	         * Configuration options.\n	         *\n	         * @property {number} drop The number of keystream words to drop. Default 192\n	         */\n	        cfg: RC4.cfg.extend({\n	            drop: 192\n	        }),\n\n	        _doReset: function () {\n	            RC4._doReset.call(this);\n\n	            // Drop\n	            for (var i = this.cfg.drop; i > 0; i--) {\n	                generateKeystreamWord.call(this);\n	            }\n	        }\n	    });\n\n	    /**\n	     * Shortcut functions to the cipher's object interface.\n	     *\n	     * @example\n	     *\n	     *     var ciphertext = CryptoJS.RC4Drop.encrypt(message, key, cfg);\n	     *     var plaintext  = CryptoJS.RC4Drop.decrypt(ciphertext, key, cfg);\n	     */\n	    C.RC4Drop = StreamCipher._createHelper(RC4Drop);\n	}());\n\n\n	(function () {\n	    // Shortcuts\n	    var C = CryptoJS;\n	    var C_lib = C.lib;\n	    var StreamCipher = C_lib.StreamCipher;\n	    var C_algo = C.algo;\n\n	    // Reusable objects\n	    var S  = [];\n	    var C_ = [];\n	    var G  = [];\n\n	    /**\n	     * Rabbit stream cipher algorithm\n	     */\n	    var Rabbit = C_algo.Rabbit = StreamCipher.extend({\n	        _doReset: function () {\n	            // Shortcuts\n	            var K = this._key.words;\n	            var iv = this.cfg.iv;\n\n	            // Swap endian\n	            for (var i = 0; i < 4; i++) {\n	                K[i] = (((K[i] << 8)  | (K[i] >>> 24)) & 0x00ff00ff) |\n	                       (((K[i] << 24) | (K[i] >>> 8))  & 0xff00ff00);\n	            }\n\n	            // Generate initial state values\n	            var X = this._X = [\n	                K[0], (K[3] << 16) | (K[2] >>> 16),\n	                K[1], (K[0] << 16) | (K[3] >>> 16),\n	                K[2], (K[1] << 16) | (K[0] >>> 16),\n	                K[3], (K[2] << 16) | (K[1] >>> 16)\n	            ];\n\n	            // Generate initial counter values\n	            var C = this._C = [\n	                (K[2] << 16) | (K[2] >>> 16), (K[0] & 0xffff0000) | (K[1] & 0x0000ffff),\n	                (K[3] << 16) | (K[3] >>> 16), (K[1] & 0xffff0000) | (K[2] & 0x0000ffff),\n	                (K[0] << 16) | (K[0] >>> 16), (K[2] & 0xffff0000) | (K[3] & 0x0000ffff),\n	                (K[1] << 16) | (K[1] >>> 16), (K[3] & 0xffff0000) | (K[0] & 0x0000ffff)\n	            ];\n\n	            // Carry bit\n	            this._b = 0;\n\n	            // Iterate the system four times\n	            for (var i = 0; i < 4; i++) {\n	                nextState.call(this);\n	            }\n\n	            // Modify the counters\n	            for (var i = 0; i < 8; i++) {\n	                C[i] ^= X[(i + 4) & 7];\n	            }\n\n	            // IV setup\n	            if (iv) {\n	                // Shortcuts\n	                var IV = iv.words;\n	                var IV_0 = IV[0];\n	                var IV_1 = IV[1];\n\n	                // Generate four subvectors\n	                var i0 = (((IV_0 << 8) | (IV_0 >>> 24)) & 0x00ff00ff) | (((IV_0 << 24) | (IV_0 >>> 8)) & 0xff00ff00);\n	                var i2 = (((IV_1 << 8) | (IV_1 >>> 24)) & 0x00ff00ff) | (((IV_1 << 24) | (IV_1 >>> 8)) & 0xff00ff00);\n	                var i1 = (i0 >>> 16) | (i2 & 0xffff0000);\n	                var i3 = (i2 << 16)  | (i0 & 0x0000ffff);\n\n	                // Modify counter values\n	                C[0] ^= i0;\n	                C[1] ^= i1;\n	                C[2] ^= i2;\n	                C[3] ^= i3;\n	                C[4] ^= i0;\n	                C[5] ^= i1;\n	                C[6] ^= i2;\n	                C[7] ^= i3;\n\n	                // Iterate the system four times\n	                for (var i = 0; i < 4; i++) {\n	                    nextState.call(this);\n	                }\n	            }\n	        },\n\n	        _doProcessBlock: function (M, offset) {\n	            // Shortcut\n	            var X = this._X;\n\n	            // Iterate the system\n	            nextState.call(this);\n\n	            // Generate four keystream words\n	            S[0] = X[0] ^ (X[5] >>> 16) ^ (X[3] << 16);\n	            S[1] = X[2] ^ (X[7] >>> 16) ^ (X[5] << 16);\n	            S[2] = X[4] ^ (X[1] >>> 16) ^ (X[7] << 16);\n	            S[3] = X[6] ^ (X[3] >>> 16) ^ (X[1] << 16);\n\n	            for (var i = 0; i < 4; i++) {\n	                // Swap endian\n	                S[i] = (((S[i] << 8)  | (S[i] >>> 24)) & 0x00ff00ff) |\n	                       (((S[i] << 24) | (S[i] >>> 8))  & 0xff00ff00);\n\n	                // Encrypt\n	                M[offset + i] ^= S[i];\n	            }\n	        },\n\n	        blockSize: 128/32,\n\n	        ivSize: 64/32\n	    });\n\n	    function nextState() {\n	        // Shortcuts\n	        var X = this._X;\n	        var C = this._C;\n\n	        // Save old counter values\n	        for (var i = 0; i < 8; i++) {\n	            C_[i] = C[i];\n	        }\n\n	        // Calculate new counter values\n	        C[0] = (C[0] + 0x4d34d34d + this._b) | 0;\n	        C[1] = (C[1] + 0xd34d34d3 + ((C[0] >>> 0) < (C_[0] >>> 0) ? 1 : 0)) | 0;\n	        C[2] = (C[2] + 0x34d34d34 + ((C[1] >>> 0) < (C_[1] >>> 0) ? 1 : 0)) | 0;\n	        C[3] = (C[3] + 0x4d34d34d + ((C[2] >>> 0) < (C_[2] >>> 0) ? 1 : 0)) | 0;\n	        C[4] = (C[4] + 0xd34d34d3 + ((C[3] >>> 0) < (C_[3] >>> 0) ? 1 : 0)) | 0;\n	        C[5] = (C[5] + 0x34d34d34 + ((C[4] >>> 0) < (C_[4] >>> 0) ? 1 : 0)) | 0;\n	        C[6] = (C[6] + 0x4d34d34d + ((C[5] >>> 0) < (C_[5] >>> 0) ? 1 : 0)) | 0;\n	        C[7] = (C[7] + 0xd34d34d3 + ((C[6] >>> 0) < (C_[6] >>> 0) ? 1 : 0)) | 0;\n	        this._b = (C[7] >>> 0) < (C_[7] >>> 0) ? 1 : 0;\n\n	        // Calculate the g-values\n	        for (var i = 0; i < 8; i++) {\n	            var gx = X[i] + C[i];\n\n	            // Construct high and low argument for squaring\n	            var ga = gx & 0xffff;\n	            var gb = gx >>> 16;\n\n	            // Calculate high and low result of squaring\n	            var gh = ((((ga * ga) >>> 17) + ga * gb) >>> 15) + gb * gb;\n	            var gl = (((gx & 0xffff0000) * gx) | 0) + (((gx & 0x0000ffff) * gx) | 0);\n\n	            // High XOR low\n	            G[i] = gh ^ gl;\n	        }\n\n	        // Calculate new state values\n	        X[0] = (G[0] + ((G[7] << 16) | (G[7] >>> 16)) + ((G[6] << 16) | (G[6] >>> 16))) | 0;\n	        X[1] = (G[1] + ((G[0] << 8)  | (G[0] >>> 24)) + G[7]) | 0;\n	        X[2] = (G[2] + ((G[1] << 16) | (G[1] >>> 16)) + ((G[0] << 16) | (G[0] >>> 16))) | 0;\n	        X[3] = (G[3] + ((G[2] << 8)  | (G[2] >>> 24)) + G[1]) | 0;\n	        X[4] = (G[4] + ((G[3] << 16) | (G[3] >>> 16)) + ((G[2] << 16) | (G[2] >>> 16))) | 0;\n	        X[5] = (G[5] + ((G[4] << 8)  | (G[4] >>> 24)) + G[3]) | 0;\n	        X[6] = (G[6] + ((G[5] << 16) | (G[5] >>> 16)) + ((G[4] << 16) | (G[4] >>> 16))) | 0;\n	        X[7] = (G[7] + ((G[6] << 8)  | (G[6] >>> 24)) + G[5]) | 0;\n	    }\n\n	    /**\n	     * Shortcut functions to the cipher's object interface.\n	     *\n	     * @example\n	     *\n	     *     var ciphertext = CryptoJS.Rabbit.encrypt(message, key, cfg);\n	     *     var plaintext  = CryptoJS.Rabbit.decrypt(ciphertext, key, cfg);\n	     */\n	    C.Rabbit = StreamCipher._createHelper(Rabbit);\n	}());\n\n\n	(function () {\n	    // Shortcuts\n	    var C = CryptoJS;\n	    var C_lib = C.lib;\n	    var StreamCipher = C_lib.StreamCipher;\n	    var C_algo = C.algo;\n\n	    // Reusable objects\n	    var S  = [];\n	    var C_ = [];\n	    var G  = [];\n\n	    /**\n	     * Rabbit stream cipher algorithm.\n	     *\n	     * This is a legacy version that neglected to convert the key to little-endian.\n	     * This error doesn't affect the cipher's security,\n	     * but it does affect its compatibility with other implementations.\n	     */\n	    var RabbitLegacy = C_algo.RabbitLegacy = StreamCipher.extend({\n	        _doReset: function () {\n	            // Shortcuts\n	            var K = this._key.words;\n	            var iv = this.cfg.iv;\n\n	            // Generate initial state values\n	            var X = this._X = [\n	                K[0], (K[3] << 16) | (K[2] >>> 16),\n	                K[1], (K[0] << 16) | (K[3] >>> 16),\n	                K[2], (K[1] << 16) | (K[0] >>> 16),\n	                K[3], (K[2] << 16) | (K[1] >>> 16)\n	            ];\n\n	            // Generate initial counter values\n	            var C = this._C = [\n	                (K[2] << 16) | (K[2] >>> 16), (K[0] & 0xffff0000) | (K[1] & 0x0000ffff),\n	                (K[3] << 16) | (K[3] >>> 16), (K[1] & 0xffff0000) | (K[2] & 0x0000ffff),\n	                (K[0] << 16) | (K[0] >>> 16), (K[2] & 0xffff0000) | (K[3] & 0x0000ffff),\n	                (K[1] << 16) | (K[1] >>> 16), (K[3] & 0xffff0000) | (K[0] & 0x0000ffff)\n	            ];\n\n	            // Carry bit\n	            this._b = 0;\n\n	            // Iterate the system four times\n	            for (var i = 0; i < 4; i++) {\n	                nextState.call(this);\n	            }\n\n	            // Modify the counters\n	            for (var i = 0; i < 8; i++) {\n	                C[i] ^= X[(i + 4) & 7];\n	            }\n\n	            // IV setup\n	            if (iv) {\n	                // Shortcuts\n	                var IV = iv.words;\n	                var IV_0 = IV[0];\n	                var IV_1 = IV[1];\n\n	                // Generate four subvectors\n	                var i0 = (((IV_0 << 8) | (IV_0 >>> 24)) & 0x00ff00ff) | (((IV_0 << 24) | (IV_0 >>> 8)) & 0xff00ff00);\n	                var i2 = (((IV_1 << 8) | (IV_1 >>> 24)) & 0x00ff00ff) | (((IV_1 << 24) | (IV_1 >>> 8)) & 0xff00ff00);\n	                var i1 = (i0 >>> 16) | (i2 & 0xffff0000);\n	                var i3 = (i2 << 16)  | (i0 & 0x0000ffff);\n\n	                // Modify counter values\n	                C[0] ^= i0;\n	                C[1] ^= i1;\n	                C[2] ^= i2;\n	                C[3] ^= i3;\n	                C[4] ^= i0;\n	                C[5] ^= i1;\n	                C[6] ^= i2;\n	                C[7] ^= i3;\n\n	                // Iterate the system four times\n	                for (var i = 0; i < 4; i++) {\n	                    nextState.call(this);\n	                }\n	            }\n	        },\n\n	        _doProcessBlock: function (M, offset) {\n	            // Shortcut\n	            var X = this._X;\n\n	            // Iterate the system\n	            nextState.call(this);\n\n	            // Generate four keystream words\n	            S[0] = X[0] ^ (X[5] >>> 16) ^ (X[3] << 16);\n	            S[1] = X[2] ^ (X[7] >>> 16) ^ (X[5] << 16);\n	            S[2] = X[4] ^ (X[1] >>> 16) ^ (X[7] << 16);\n	            S[3] = X[6] ^ (X[3] >>> 16) ^ (X[1] << 16);\n\n	            for (var i = 0; i < 4; i++) {\n	                // Swap endian\n	                S[i] = (((S[i] << 8)  | (S[i] >>> 24)) & 0x00ff00ff) |\n	                       (((S[i] << 24) | (S[i] >>> 8))  & 0xff00ff00);\n\n	                // Encrypt\n	                M[offset + i] ^= S[i];\n	            }\n	        },\n\n	        blockSize: 128/32,\n\n	        ivSize: 64/32\n	    });\n\n	    function nextState() {\n	        // Shortcuts\n	        var X = this._X;\n	        var C = this._C;\n\n	        // Save old counter values\n	        for (var i = 0; i < 8; i++) {\n	            C_[i] = C[i];\n	        }\n\n	        // Calculate new counter values\n	        C[0] = (C[0] + 0x4d34d34d + this._b) | 0;\n	        C[1] = (C[1] + 0xd34d34d3 + ((C[0] >>> 0) < (C_[0] >>> 0) ? 1 : 0)) | 0;\n	        C[2] = (C[2] + 0x34d34d34 + ((C[1] >>> 0) < (C_[1] >>> 0) ? 1 : 0)) | 0;\n	        C[3] = (C[3] + 0x4d34d34d + ((C[2] >>> 0) < (C_[2] >>> 0) ? 1 : 0)) | 0;\n	        C[4] = (C[4] + 0xd34d34d3 + ((C[3] >>> 0) < (C_[3] >>> 0) ? 1 : 0)) | 0;\n	        C[5] = (C[5] + 0x34d34d34 + ((C[4] >>> 0) < (C_[4] >>> 0) ? 1 : 0)) | 0;\n	        C[6] = (C[6] + 0x4d34d34d + ((C[5] >>> 0) < (C_[5] >>> 0) ? 1 : 0)) | 0;\n	        C[7] = (C[7] + 0xd34d34d3 + ((C[6] >>> 0) < (C_[6] >>> 0) ? 1 : 0)) | 0;\n	        this._b = (C[7] >>> 0) < (C_[7] >>> 0) ? 1 : 0;\n\n	        // Calculate the g-values\n	        for (var i = 0; i < 8; i++) {\n	            var gx = X[i] + C[i];\n\n	            // Construct high and low argument for squaring\n	            var ga = gx & 0xffff;\n	            var gb = gx >>> 16;\n\n	            // Calculate high and low result of squaring\n	            var gh = ((((ga * ga) >>> 17) + ga * gb) >>> 15) + gb * gb;\n	            var gl = (((gx & 0xffff0000) * gx) | 0) + (((gx & 0x0000ffff) * gx) | 0);\n\n	            // High XOR low\n	            G[i] = gh ^ gl;\n	        }\n\n	        // Calculate new state values\n	        X[0] = (G[0] + ((G[7] << 16) | (G[7] >>> 16)) + ((G[6] << 16) | (G[6] >>> 16))) | 0;\n	        X[1] = (G[1] + ((G[0] << 8)  | (G[0] >>> 24)) + G[7]) | 0;\n	        X[2] = (G[2] + ((G[1] << 16) | (G[1] >>> 16)) + ((G[0] << 16) | (G[0] >>> 16))) | 0;\n	        X[3] = (G[3] + ((G[2] << 8)  | (G[2] >>> 24)) + G[1]) | 0;\n	        X[4] = (G[4] + ((G[3] << 16) | (G[3] >>> 16)) + ((G[2] << 16) | (G[2] >>> 16))) | 0;\n	        X[5] = (G[5] + ((G[4] << 8)  | (G[4] >>> 24)) + G[3]) | 0;\n	        X[6] = (G[6] + ((G[5] << 16) | (G[5] >>> 16)) + ((G[4] << 16) | (G[4] >>> 16))) | 0;\n	        X[7] = (G[7] + ((G[6] << 8)  | (G[6] >>> 24)) + G[5]) | 0;\n	    }\n\n	    /**\n	     * Shortcut functions to the cipher's object interface.\n	     *\n	     * @example\n	     *\n	     *     var ciphertext = CryptoJS.RabbitLegacy.encrypt(message, key, cfg);\n	     *     var plaintext  = CryptoJS.RabbitLegacy.decrypt(ciphertext, key, cfg);\n	     */\n	    C.RabbitLegacy = StreamCipher._createHelper(RabbitLegacy);\n	}());\n\n\n	(function () {\n	    // Shortcuts\n	    var C = CryptoJS;\n	    var C_lib = C.lib;\n	    var BlockCipher = C_lib.BlockCipher;\n	    var C_algo = C.algo;\n\n	    const N = 16;\n\n	    //Origin pbox and sbox, derived from PI\n	    const ORIG_P = [\n	        0x243F6A88, 0x85A308D3, 0x13198A2E, 0x03707344,\n	        0xA4093822, 0x299F31D0, 0x082EFA98, 0xEC4E6C89,\n	        0x452821E6, 0x38D01377, 0xBE5466CF, 0x34E90C6C,\n	        0xC0AC29B7, 0xC97C50DD, 0x3F84D5B5, 0xB5470917,\n	        0x9216D5D9, 0x8979FB1B\n	    ];\n\n	    const ORIG_S = [\n	        [   0xD1310BA6, 0x98DFB5AC, 0x2FFD72DB, 0xD01ADFB7,\n	            0xB8E1AFED, 0x6A267E96, 0xBA7C9045, 0xF12C7F99,\n	            0x24A19947, 0xB3916CF7, 0x0801F2E2, 0x858EFC16,\n	            0x636920D8, 0x71574E69, 0xA458FEA3, 0xF4933D7E,\n	            0x0D95748F, 0x728EB658, 0x718BCD58, 0x82154AEE,\n	            0x7B54A41D, 0xC25A59B5, 0x9C30D539, 0x2AF26013,\n	            0xC5D1B023, 0x286085F0, 0xCA417918, 0xB8DB38EF,\n	            0x8E79DCB0, 0x603A180E, 0x6C9E0E8B, 0xB01E8A3E,\n	            0xD71577C1, 0xBD314B27, 0x78AF2FDA, 0x55605C60,\n	            0xE65525F3, 0xAA55AB94, 0x57489862, 0x63E81440,\n	            0x55CA396A, 0x2AAB10B6, 0xB4CC5C34, 0x1141E8CE,\n	            0xA15486AF, 0x7C72E993, 0xB3EE1411, 0x636FBC2A,\n	            0x2BA9C55D, 0x741831F6, 0xCE5C3E16, 0x9B87931E,\n	            0xAFD6BA33, 0x6C24CF5C, 0x7A325381, 0x28958677,\n	            0x3B8F4898, 0x6B4BB9AF, 0xC4BFE81B, 0x66282193,\n	            0x61D809CC, 0xFB21A991, 0x487CAC60, 0x5DEC8032,\n	            0xEF845D5D, 0xE98575B1, 0xDC262302, 0xEB651B88,\n	            0x23893E81, 0xD396ACC5, 0x0F6D6FF3, 0x83F44239,\n	            0x2E0B4482, 0xA4842004, 0x69C8F04A, 0x9E1F9B5E,\n	            0x21C66842, 0xF6E96C9A, 0x670C9C61, 0xABD388F0,\n	            0x6A51A0D2, 0xD8542F68, 0x960FA728, 0xAB5133A3,\n	            0x6EEF0B6C, 0x137A3BE4, 0xBA3BF050, 0x7EFB2A98,\n	            0xA1F1651D, 0x39AF0176, 0x66CA593E, 0x82430E88,\n	            0x8CEE8619, 0x456F9FB4, 0x7D84A5C3, 0x3B8B5EBE,\n	            0xE06F75D8, 0x85C12073, 0x401A449F, 0x56C16AA6,\n	            0x4ED3AA62, 0x363F7706, 0x1BFEDF72, 0x429B023D,\n	            0x37D0D724, 0xD00A1248, 0xDB0FEAD3, 0x49F1C09B,\n	            0x075372C9, 0x80991B7B, 0x25D479D8, 0xF6E8DEF7,\n	            0xE3FE501A, 0xB6794C3B, 0x976CE0BD, 0x04C006BA,\n	            0xC1A94FB6, 0x409F60C4, 0x5E5C9EC2, 0x196A2463,\n	            0x68FB6FAF, 0x3E6C53B5, 0x1339B2EB, 0x3B52EC6F,\n	            0x6DFC511F, 0x9B30952C, 0xCC814544, 0xAF5EBD09,\n	            0xBEE3D004, 0xDE334AFD, 0x660F2807, 0x192E4BB3,\n	            0xC0CBA857, 0x45C8740F, 0xD20B5F39, 0xB9D3FBDB,\n	            0x5579C0BD, 0x1A60320A, 0xD6A100C6, 0x402C7279,\n	            0x679F25FE, 0xFB1FA3CC, 0x8EA5E9F8, 0xDB3222F8,\n	            0x3C7516DF, 0xFD616B15, 0x2F501EC8, 0xAD0552AB,\n	            0x323DB5FA, 0xFD238760, 0x53317B48, 0x3E00DF82,\n	            0x9E5C57BB, 0xCA6F8CA0, 0x1A87562E, 0xDF1769DB,\n	            0xD542A8F6, 0x287EFFC3, 0xAC6732C6, 0x8C4F5573,\n	            0x695B27B0, 0xBBCA58C8, 0xE1FFA35D, 0xB8F011A0,\n	            0x10FA3D98, 0xFD2183B8, 0x4AFCB56C, 0x2DD1D35B,\n	            0x9A53E479, 0xB6F84565, 0xD28E49BC, 0x4BFB9790,\n	            0xE1DDF2DA, 0xA4CB7E33, 0x62FB1341, 0xCEE4C6E8,\n	            0xEF20CADA, 0x36774C01, 0xD07E9EFE, 0x2BF11FB4,\n	            0x95DBDA4D, 0xAE909198, 0xEAAD8E71, 0x6B93D5A0,\n	            0xD08ED1D0, 0xAFC725E0, 0x8E3C5B2F, 0x8E7594B7,\n	            0x8FF6E2FB, 0xF2122B64, 0x8888B812, 0x900DF01C,\n	            0x4FAD5EA0, 0x688FC31C, 0xD1CFF191, 0xB3A8C1AD,\n	            0x2F2F2218, 0xBE0E1777, 0xEA752DFE, 0x8B021FA1,\n	            0xE5A0CC0F, 0xB56F74E8, 0x18ACF3D6, 0xCE89E299,\n	            0xB4A84FE0, 0xFD13E0B7, 0x7CC43B81, 0xD2ADA8D9,\n	            0x165FA266, 0x80957705, 0x93CC7314, 0x211A1477,\n	            0xE6AD2065, 0x77B5FA86, 0xC75442F5, 0xFB9D35CF,\n	            0xEBCDAF0C, 0x7B3E89A0, 0xD6411BD3, 0xAE1E7E49,\n	            0x00250E2D, 0x2071B35E, 0x226800BB, 0x57B8E0AF,\n	            0x2464369B, 0xF009B91E, 0x5563911D, 0x59DFA6AA,\n	            0x78C14389, 0xD95A537F, 0x207D5BA2, 0x02E5B9C5,\n	            0x83260376, 0x6295CFA9, 0x11C81968, 0x4E734A41,\n	            0xB3472DCA, 0x7B14A94A, 0x1B510052, 0x9A532915,\n	            0xD60F573F, 0xBC9BC6E4, 0x2B60A476, 0x81E67400,\n	            0x08BA6FB5, 0x571BE91F, 0xF296EC6B, 0x2A0DD915,\n	            0xB6636521, 0xE7B9F9B6, 0xFF34052E, 0xC5855664,\n	            0x53B02D5D, 0xA99F8FA1, 0x08BA4799, 0x6E85076A   ],\n	        [   0x4B7A70E9, 0xB5B32944, 0xDB75092E, 0xC4192623,\n	            0xAD6EA6B0, 0x49A7DF7D, 0x9CEE60B8, 0x8FEDB266,\n	            0xECAA8C71, 0x699A17FF, 0x5664526C, 0xC2B19EE1,\n	            0x193602A5, 0x75094C29, 0xA0591340, 0xE4183A3E,\n	            0x3F54989A, 0x5B429D65, 0x6B8FE4D6, 0x99F73FD6,\n	            0xA1D29C07, 0xEFE830F5, 0x4D2D38E6, 0xF0255DC1,\n	            0x4CDD2086, 0x8470EB26, 0x6382E9C6, 0x021ECC5E,\n	            0x09686B3F, 0x3EBAEFC9, 0x3C971814, 0x6B6A70A1,\n	            0x687F3584, 0x52A0E286, 0xB79C5305, 0xAA500737,\n	            0x3E07841C, 0x7FDEAE5C, 0x8E7D44EC, 0x5716F2B8,\n	            0xB03ADA37, 0xF0500C0D, 0xF01C1F04, 0x0200B3FF,\n	            0xAE0CF51A, 0x3CB574B2, 0x25837A58, 0xDC0921BD,\n	            0xD19113F9, 0x7CA92FF6, 0x94324773, 0x22F54701,\n	            0x3AE5E581, 0x37C2DADC, 0xC8B57634, 0x9AF3DDA7,\n	            0xA9446146, 0x0FD0030E, 0xECC8C73E, 0xA4751E41,\n	            0xE238CD99, 0x3BEA0E2F, 0x3280BBA1, 0x183EB331,\n	            0x4E548B38, 0x4F6DB908, 0x6F420D03, 0xF60A04BF,\n	            0x2CB81290, 0x24977C79, 0x5679B072, 0xBCAF89AF,\n	            0xDE9A771F, 0xD9930810, 0xB38BAE12, 0xDCCF3F2E,\n	            0x5512721F, 0x2E6B7124, 0x501ADDE6, 0x9F84CD87,\n	            0x7A584718, 0x7408DA17, 0xBC9F9ABC, 0xE94B7D8C,\n	            0xEC7AEC3A, 0xDB851DFA, 0x63094366, 0xC464C3D2,\n	            0xEF1C1847, 0x3215D908, 0xDD433B37, 0x24C2BA16,\n	            0x12A14D43, 0x2A65C451, 0x50940002, 0x133AE4DD,\n	            0x71DFF89E, 0x10314E55, 0x81AC77D6, 0x5F11199B,\n	            0x043556F1, 0xD7A3C76B, 0x3C11183B, 0x5924A509,\n	            0xF28FE6ED, 0x97F1FBFA, 0x9EBABF2C, 0x1E153C6E,\n	            0x86E34570, 0xEAE96FB1, 0x860E5E0A, 0x5A3E2AB3,\n	            0x771FE71C, 0x4E3D06FA, 0x2965DCB9, 0x99E71D0F,\n	            0x803E89D6, 0x5266C825, 0x2E4CC978, 0x9C10B36A,\n	            0xC6150EBA, 0x94E2EA78, 0xA5FC3C53, 0x1E0A2DF4,\n	            0xF2F74EA7, 0x361D2B3D, 0x1939260F, 0x19C27960,\n	            0x5223A708, 0xF71312B6, 0xEBADFE6E, 0xEAC31F66,\n	            0xE3BC4595, 0xA67BC883, 0xB17F37D1, 0x018CFF28,\n	            0xC332DDEF, 0xBE6C5AA5, 0x65582185, 0x68AB9802,\n	            0xEECEA50F, 0xDB2F953B, 0x2AEF7DAD, 0x5B6E2F84,\n	            0x1521B628, 0x29076170, 0xECDD4775, 0x619F1510,\n	            0x13CCA830, 0xEB61BD96, 0x0334FE1E, 0xAA0363CF,\n	            0xB5735C90, 0x4C70A239, 0xD59E9E0B, 0xCBAADE14,\n	            0xEECC86BC, 0x60622CA7, 0x9CAB5CAB, 0xB2F3846E,\n	            0x648B1EAF, 0x19BDF0CA, 0xA02369B9, 0x655ABB50,\n	            0x40685A32, 0x3C2AB4B3, 0x319EE9D5, 0xC021B8F7,\n	            0x9B540B19, 0x875FA099, 0x95F7997E, 0x623D7DA8,\n	            0xF837889A, 0x97E32D77, 0x11ED935F, 0x16681281,\n	            0x0E358829, 0xC7E61FD6, 0x96DEDFA1, 0x7858BA99,\n	            0x57F584A5, 0x1B227263, 0x9B83C3FF, 0x1AC24696,\n	            0xCDB30AEB, 0x532E3054, 0x8FD948E4, 0x6DBC3128,\n	            0x58EBF2EF, 0x34C6FFEA, 0xFE28ED61, 0xEE7C3C73,\n	            0x5D4A14D9, 0xE864B7E3, 0x42105D14, 0x203E13E0,\n	            0x45EEE2B6, 0xA3AAABEA, 0xDB6C4F15, 0xFACB4FD0,\n	            0xC742F442, 0xEF6ABBB5, 0x654F3B1D, 0x41CD2105,\n	            0xD81E799E, 0x86854DC7, 0xE44B476A, 0x3D816250,\n	            0xCF62A1F2, 0x5B8D2646, 0xFC8883A0, 0xC1C7B6A3,\n	            0x7F1524C3, 0x69CB7492, 0x47848A0B, 0x5692B285,\n	            0x095BBF00, 0xAD19489D, 0x1462B174, 0x23820E00,\n	            0x58428D2A, 0x0C55F5EA, 0x1DADF43E, 0x233F7061,\n	            0x3372F092, 0x8D937E41, 0xD65FECF1, 0x6C223BDB,\n	            0x7CDE3759, 0xCBEE7460, 0x4085F2A7, 0xCE77326E,\n	            0xA6078084, 0x19F8509E, 0xE8EFD855, 0x61D99735,\n	            0xA969A7AA, 0xC50C06C2, 0x5A04ABFC, 0x800BCADC,\n	            0x9E447A2E, 0xC3453484, 0xFDD56705, 0x0E1E9EC9,\n	            0xDB73DBD3, 0x105588CD, 0x675FDA79, 0xE3674340,\n	            0xC5C43465, 0x713E38D8, 0x3D28F89E, 0xF16DFF20,\n	            0x153E21E7, 0x8FB03D4A, 0xE6E39F2B, 0xDB83ADF7   ],\n	        [   0xE93D5A68, 0x948140F7, 0xF64C261C, 0x94692934,\n	            0x411520F7, 0x7602D4F7, 0xBCF46B2E, 0xD4A20068,\n	            0xD4082471, 0x3320F46A, 0x43B7D4B7, 0x500061AF,\n	            0x1E39F62E, 0x97244546, 0x14214F74, 0xBF8B8840,\n	            0x4D95FC1D, 0x96B591AF, 0x70F4DDD3, 0x66A02F45,\n	            0xBFBC09EC, 0x03BD9785, 0x7FAC6DD0, 0x31CB8504,\n	            0x96EB27B3, 0x55FD3941, 0xDA2547E6, 0xABCA0A9A,\n	            0x28507825, 0x530429F4, 0x0A2C86DA, 0xE9B66DFB,\n	            0x68DC1462, 0xD7486900, 0x680EC0A4, 0x27A18DEE,\n	            0x4F3FFEA2, 0xE887AD8C, 0xB58CE006, 0x7AF4D6B6,\n	            0xAACE1E7C, 0xD3375FEC, 0xCE78A399, 0x406B2A42,\n	            0x20FE9E35, 0xD9F385B9, 0xEE39D7AB, 0x3B124E8B,\n	            0x1DC9FAF7, 0x4B6D1856, 0x26A36631, 0xEAE397B2,\n	            0x3A6EFA74, 0xDD5B4332, 0x6841E7F7, 0xCA7820FB,\n	            0xFB0AF54E, 0xD8FEB397, 0x454056AC, 0xBA489527,\n	            0x55533A3A, 0x20838D87, 0xFE6BA9B7, 0xD096954B,\n	            0x55A867BC, 0xA1159A58, 0xCCA92963, 0x99E1DB33,\n	            0xA62A4A56, 0x3F3125F9, 0x5EF47E1C, 0x9029317C,\n	            0xFDF8E802, 0x04272F70, 0x80BB155C, 0x05282CE3,\n	            0x95C11548, 0xE4C66D22, 0x48C1133F, 0xC70F86DC,\n	            0x07F9C9EE, 0x41041F0F, 0x404779A4, 0x5D886E17,\n	            0x325F51EB, 0xD59BC0D1, 0xF2BCC18F, 0x41113564,\n	            0x257B7834, 0x602A9C60, 0xDFF8E8A3, 0x1F636C1B,\n	            0x0E12B4C2, 0x02E1329E, 0xAF664FD1, 0xCAD18115,\n	            0x6B2395E0, 0x333E92E1, 0x3B240B62, 0xEEBEB922,\n	            0x85B2A20E, 0xE6BA0D99, 0xDE720C8C, 0x2DA2F728,\n	            0xD0127845, 0x95B794FD, 0x647D0862, 0xE7CCF5F0,\n	            0x5449A36F, 0x877D48FA, 0xC39DFD27, 0xF33E8D1E,\n	            0x0A476341, 0x992EFF74, 0x3A6F6EAB, 0xF4F8FD37,\n	            0xA812DC60, 0xA1EBDDF8, 0x991BE14C, 0xDB6E6B0D,\n	            0xC67B5510, 0x6D672C37, 0x2765D43B, 0xDCD0E804,\n	            0xF1290DC7, 0xCC00FFA3, 0xB5390F92, 0x690FED0B,\n	            0x667B9FFB, 0xCEDB7D9C, 0xA091CF0B, 0xD9155EA3,\n	            0xBB132F88, 0x515BAD24, 0x7B9479BF, 0x763BD6EB,\n	            0x37392EB3, 0xCC115979, 0x8026E297, 0xF42E312D,\n	            0x6842ADA7, 0xC66A2B3B, 0x12754CCC, 0x782EF11C,\n	            0x6A124237, 0xB79251E7, 0x06A1BBE6, 0x4BFB6350,\n	            0x1A6B1018, 0x11CAEDFA, 0x3D25BDD8, 0xE2E1C3C9,\n	            0x44421659, 0x0A121386, 0xD90CEC6E, 0xD5ABEA2A,\n	            0x64AF674E, 0xDA86A85F, 0xBEBFE988, 0x64E4C3FE,\n	            0x9DBC8057, 0xF0F7C086, 0x60787BF8, 0x6003604D,\n	            0xD1FD8346, 0xF6381FB0, 0x7745AE04, 0xD736FCCC,\n	            0x83426B33, 0xF01EAB71, 0xB0804187, 0x3C005E5F,\n	            0x77A057BE, 0xBDE8AE24, 0x55464299, 0xBF582E61,\n	            0x4E58F48F, 0xF2DDFDA2, 0xF474EF38, 0x8789BDC2,\n	            0x5366F9C3, 0xC8B38E74, 0xB475F255, 0x46FCD9B9,\n	            0x7AEB2661, 0x8B1DDF84, 0x846A0E79, 0x915F95E2,\n	            0x466E598E, 0x20B45770, 0x8CD55591, 0xC902DE4C,\n	            0xB90BACE1, 0xBB8205D0, 0x11A86248, 0x7574A99E,\n	            0xB77F19B6, 0xE0A9DC09, 0x662D09A1, 0xC4324633,\n	            0xE85A1F02, 0x09F0BE8C, 0x4A99A025, 0x1D6EFE10,\n	            0x1AB93D1D, 0x0BA5A4DF, 0xA186F20F, 0x2868F169,\n	            0xDCB7DA83, 0x573906FE, 0xA1E2CE9B, 0x4FCD7F52,\n	            0x50115E01, 0xA70683FA, 0xA002B5C4, 0x0DE6D027,\n	            0x9AF88C27, 0x773F8641, 0xC3604C06, 0x61A806B5,\n	            0xF0177A28, 0xC0F586E0, 0x006058AA, 0x30DC7D62,\n	            0x11E69ED7, 0x2338EA63, 0x53C2DD94, 0xC2C21634,\n	            0xBBCBEE56, 0x90BCB6DE, 0xEBFC7DA1, 0xCE591D76,\n	            0x6F05E409, 0x4B7C0188, 0x39720A3D, 0x7C927C24,\n	            0x86E3725F, 0x724D9DB9, 0x1AC15BB4, 0xD39EB8FC,\n	            0xED545578, 0x08FCA5B5, 0xD83D7CD3, 0x4DAD0FC4,\n	            0x1E50EF5E, 0xB161E6F8, 0xA28514D9, 0x6C51133C,\n	            0x6FD5C7E7, 0x56E14EC4, 0x362ABFCE, 0xDDC6C837,\n	            0xD79A3234, 0x92638212, 0x670EFA8E, 0x406000E0  ],\n	        [   0x3A39CE37, 0xD3FAF5CF, 0xABC27737, 0x5AC52D1B,\n	            0x5CB0679E, 0x4FA33742, 0xD3822740, 0x99BC9BBE,\n	            0xD5118E9D, 0xBF0F7315, 0xD62D1C7E, 0xC700C47B,\n	            0xB78C1B6B, 0x21A19045, 0xB26EB1BE, 0x6A366EB4,\n	            0x5748AB2F, 0xBC946E79, 0xC6A376D2, 0x6549C2C8,\n	            0x530FF8EE, 0x468DDE7D, 0xD5730A1D, 0x4CD04DC6,\n	            0x2939BBDB, 0xA9BA4650, 0xAC9526E8, 0xBE5EE304,\n	            0xA1FAD5F0, 0x6A2D519A, 0x63EF8CE2, 0x9A86EE22,\n	            0xC089C2B8, 0x43242EF6, 0xA51E03AA, 0x9CF2D0A4,\n	            0x83C061BA, 0x9BE96A4D, 0x8FE51550, 0xBA645BD6,\n	            0x2826A2F9, 0xA73A3AE1, 0x4BA99586, 0xEF5562E9,\n	            0xC72FEFD3, 0xF752F7DA, 0x3F046F69, 0x77FA0A59,\n	            0x80E4A915, 0x87B08601, 0x9B09E6AD, 0x3B3EE593,\n	            0xE990FD5A, 0x9E34D797, 0x2CF0B7D9, 0x022B8B51,\n	            0x96D5AC3A, 0x017DA67D, 0xD1CF3ED6, 0x7C7D2D28,\n	            0x1F9F25CF, 0xADF2B89B, 0x5AD6B472, 0x5A88F54C,\n	            0xE029AC71, 0xE019A5E6, 0x47B0ACFD, 0xED93FA9B,\n	            0xE8D3C48D, 0x283B57CC, 0xF8D56629, 0x79132E28,\n	            0x785F0191, 0xED756055, 0xF7960E44, 0xE3D35E8C,\n	            0x15056DD4, 0x88F46DBA, 0x03A16125, 0x0564F0BD,\n	            0xC3EB9E15, 0x3C9057A2, 0x97271AEC, 0xA93A072A,\n	            0x1B3F6D9B, 0x1E6321F5, 0xF59C66FB, 0x26DCF319,\n	            0x7533D928, 0xB155FDF5, 0x03563482, 0x8ABA3CBB,\n	            0x28517711, 0xC20AD9F8, 0xABCC5167, 0xCCAD925F,\n	            0x4DE81751, 0x3830DC8E, 0x379D5862, 0x9320F991,\n	            0xEA7A90C2, 0xFB3E7BCE, 0x5121CE64, 0x774FBE32,\n	            0xA8B6E37E, 0xC3293D46, 0x48DE5369, 0x6413E680,\n	            0xA2AE0810, 0xDD6DB224, 0x69852DFD, 0x09072166,\n	            0xB39A460A, 0x6445C0DD, 0x586CDECF, 0x1C20C8AE,\n	            0x5BBEF7DD, 0x1B588D40, 0xCCD2017F, 0x6BB4E3BB,\n	            0xDDA26A7E, 0x3A59FF45, 0x3E350A44, 0xBCB4CDD5,\n	            0x72EACEA8, 0xFA6484BB, 0x8D6612AE, 0xBF3C6F47,\n	            0xD29BE463, 0x542F5D9E, 0xAEC2771B, 0xF64E6370,\n	            0x740E0D8D, 0xE75B1357, 0xF8721671, 0xAF537D5D,\n	            0x4040CB08, 0x4EB4E2CC, 0x34D2466A, 0x0115AF84,\n	            0xE1B00428, 0x95983A1D, 0x06B89FB4, 0xCE6EA048,\n	            0x6F3F3B82, 0x3520AB82, 0x011A1D4B, 0x277227F8,\n	            0x611560B1, 0xE7933FDC, 0xBB3A792B, 0x344525BD,\n	            0xA08839E1, 0x51CE794B, 0x2F32C9B7, 0xA01FBAC9,\n	            0xE01CC87E, 0xBCC7D1F6, 0xCF0111C3, 0xA1E8AAC7,\n	            0x1A908749, 0xD44FBD9A, 0xD0DADECB, 0xD50ADA38,\n	            0x0339C32A, 0xC6913667, 0x8DF9317C, 0xE0B12B4F,\n	            0xF79E59B7, 0x43F5BB3A, 0xF2D519FF, 0x27D9459C,\n	            0xBF97222C, 0x15E6FC2A, 0x0F91FC71, 0x9B941525,\n	            0xFAE59361, 0xCEB69CEB, 0xC2A86459, 0x12BAA8D1,\n	            0xB6C1075E, 0xE3056A0C, 0x10D25065, 0xCB03A442,\n	            0xE0EC6E0E, 0x1698DB3B, 0x4C98A0BE, 0x3278E964,\n	            0x9F1F9532, 0xE0D392DF, 0xD3A0342B, 0x8971F21E,\n	            0x1B0A7441, 0x4BA3348C, 0xC5BE7120, 0xC37632D8,\n	            0xDF359F8D, 0x9B992F2E, 0xE60B6F47, 0x0FE3F11D,\n	            0xE54CDA54, 0x1EDAD891, 0xCE6279CF, 0xCD3E7E6F,\n	            0x1618B166, 0xFD2C1D05, 0x848FD2C5, 0xF6FB2299,\n	            0xF523F357, 0xA6327623, 0x93A83531, 0x56CCCD02,\n	            0xACF08162, 0x5A75EBB5, 0x6E163697, 0x88D273CC,\n	            0xDE966292, 0x81B949D0, 0x4C50901B, 0x71C65614,\n	            0xE6C6C7BD, 0x327A140A, 0x45E1D006, 0xC3F27B9A,\n	            0xC9AA53FD, 0x62A80F00, 0xBB25BFE2, 0x35BDD2F6,\n	            0x71126905, 0xB2040222, 0xB6CBCF7C, 0xCD769C2B,\n	            0x53113EC0, 0x1640E3D3, 0x38ABBD60, 0x2547ADF0,\n	            0xBA38209C, 0xF746CE76, 0x77AFA1C5, 0x20756060,\n	            0x85CBFE4E, 0x8AE88DD8, 0x7AAAF9B0, 0x4CF9AA7E,\n	            0x1948C25C, 0x02FB8A8C, 0x01C36AE4, 0xD6EBE1F9,\n	            0x90D4F869, 0xA65CDEA0, 0x3F09252D, 0xC208E69F,\n	            0xB74E6132, 0xCE77E25B, 0x578FDFE3, 0x3AC372E6  ]\n	    ];\n\n	    var BLOWFISH_CTX = {\n	        pbox: [],\n	        sbox: []\n	    }\n\n	    function F(ctx, x){\n	        let a = (x >> 24) & 0xFF;\n	        let b = (x >> 16) & 0xFF;\n	        let c = (x >> 8) & 0xFF;\n	        let d = x & 0xFF;\n\n	        let y = ctx.sbox[0][a] + ctx.sbox[1][b];\n	        y = y ^ ctx.sbox[2][c];\n	        y = y + ctx.sbox[3][d];\n\n	        return y;\n	    }\n\n	    function BlowFish_Encrypt(ctx, left, right){\n	        let Xl = left;\n	        let Xr = right;\n	        let temp;\n\n	        for(let i = 0; i < N; ++i){\n	            Xl = Xl ^ ctx.pbox[i];\n	            Xr = F(ctx, Xl) ^ Xr;\n\n	            temp = Xl;\n	            Xl = Xr;\n	            Xr = temp;\n	        }\n\n	        temp = Xl;\n	        Xl = Xr;\n	        Xr = temp;\n\n	        Xr = Xr ^ ctx.pbox[N];\n	        Xl = Xl ^ ctx.pbox[N + 1];\n\n	        return {left: Xl, right: Xr};\n	    }\n\n	    function BlowFish_Decrypt(ctx, left, right){\n	        let Xl = left;\n	        let Xr = right;\n	        let temp;\n\n	        for(let i = N + 1; i > 1; --i){\n	            Xl = Xl ^ ctx.pbox[i];\n	            Xr = F(ctx, Xl) ^ Xr;\n\n	            temp = Xl;\n	            Xl = Xr;\n	            Xr = temp;\n	        }\n\n	        temp = Xl;\n	        Xl = Xr;\n	        Xr = temp;\n\n	        Xr = Xr ^ ctx.pbox[1];\n	        Xl = Xl ^ ctx.pbox[0];\n\n	        return {left: Xl, right: Xr};\n	    }\n\n	    /**\n	     * Initialization ctx's pbox and sbox.\n	     *\n	     * @param {Object} ctx The object has pbox and sbox.\n	     * @param {Array} key An array of 32-bit words.\n	     * @param {int} keysize The length of the key.\n	     *\n	     * @example\n	     *\n	     *     BlowFishInit(BLOWFISH_CTX, key, 128/32);\n	     */\n	    function BlowFishInit(ctx, key, keysize)\n	    {\n	        for(let Row = 0; Row < 4; Row++)\n	        {\n	            ctx.sbox[Row] = [];\n	            for(let Col = 0; Col < 256; Col++)\n	            {\n	                ctx.sbox[Row][Col] = ORIG_S[Row][Col];\n	            }\n	        }\n\n	        let keyIndex = 0;\n	        for(let index = 0; index < N + 2; index++)\n	        {\n	            ctx.pbox[index] = ORIG_P[index] ^ key[keyIndex];\n	            keyIndex++;\n	            if(keyIndex >= keysize)\n	            {\n	                keyIndex = 0;\n	            }\n	        }\n\n	        let Data1 = 0;\n	        let Data2 = 0;\n	        let res = 0;\n	        for(let i = 0; i < N + 2; i += 2)\n	        {\n	            res = BlowFish_Encrypt(ctx, Data1, Data2);\n	            Data1 = res.left;\n	            Data2 = res.right;\n	            ctx.pbox[i] = Data1;\n	            ctx.pbox[i + 1] = Data2;\n	        }\n\n	        for(let i = 0; i < 4; i++)\n	        {\n	            for(let j = 0; j < 256; j += 2)\n	            {\n	                res = BlowFish_Encrypt(ctx, Data1, Data2);\n	                Data1 = res.left;\n	                Data2 = res.right;\n	                ctx.sbox[i][j] = Data1;\n	                ctx.sbox[i][j + 1] = Data2;\n	            }\n	        }\n\n	        return true;\n	    }\n\n	    /**\n	     * Blowfish block cipher algorithm.\n	     */\n	    var Blowfish = C_algo.Blowfish = BlockCipher.extend({\n	        _doReset: function () {\n	            // Skip reset of nRounds has been set before and key did not change\n	            if (this._keyPriorReset === this._key) {\n	                return;\n	            }\n\n	            // Shortcuts\n	            var key = this._keyPriorReset = this._key;\n	            var keyWords = key.words;\n	            var keySize = key.sigBytes / 4;\n\n	            //Initialization pbox and sbox\n	            BlowFishInit(BLOWFISH_CTX, keyWords, keySize);\n	        },\n\n	        encryptBlock: function (M, offset) {\n	            var res = BlowFish_Encrypt(BLOWFISH_CTX, M[offset], M[offset + 1]);\n	            M[offset] = res.left;\n	            M[offset + 1] = res.right;\n	        },\n\n	        decryptBlock: function (M, offset) {\n	            var res = BlowFish_Decrypt(BLOWFISH_CTX, M[offset], M[offset + 1]);\n	            M[offset] = res.left;\n	            M[offset + 1] = res.right;\n	        },\n\n	        blockSize: 64/32,\n\n	        keySize: 128/32,\n\n	        ivSize: 64/32\n	    });\n\n	    /**\n	     * Shortcut functions to the cipher's object interface.\n	     *\n	     * @example\n	     *\n	     *     var ciphertext = CryptoJS.Blowfish.encrypt(message, key, cfg);\n	     *     var plaintext  = CryptoJS.Blowfish.decrypt(ciphertext, key, cfg);\n	     */\n	    C.Blowfish = BlockCipher._createHelper(Blowfish);\n	}());\n\n\n	return CryptoJS;\n\n}));", y_ = /* @__PURE__ */ new Set(/* @__PURE__ */ "Array.Atomics.BigInt.Boolean.DataView.Date.Error.EvalError.Infinity.JSON.Map.Math.NaN.Number.Object.Promise.Proxy.RangeError.ReferenceError.Reflect.RegExp.Set.String.Symbol.SyntaxError.TypeError.URIError.WeakMap.WeakSet.decodeURI.decodeURIComponent.encodeURI.encodeURIComponent.escape.isFinite.isNaN.parseFloat.parseInt.undefined.unescape.btoa.atob.fetch.setTimeout.console.CryptoJS.AggregateError.ArrayBuffer.Int8Array.Uint8Array.Uint8ClampedArray.Int16Array.Uint16Array.Int32Array.Uint32Array.Float32Array.Float64Array.BigInt64Array.BigUint64Array.Intl.URL.URLSearchParams.TextEncoder.TextDecoder.crypto.Headers.Request.Response.AbortController.AbortSignal.FormData.Blob.clearTimeout.setInterval.clearInterval.queueMicrotask.structuredClone.performance".split(".")), b_ = (e, t = 0) => {
	let n = e?.match(/<anonymous>:(\d+):(\d+)/);
	return n ? {
		line: Number(n[1]) - 3,
		column: Number(n[2]) - t
	} : {};
}, x_ = 3e4, S_ = (e) => e === null || [
	"string",
	"number",
	"boolean"
].includes(typeof e), C_ = (e) => {
	if (typeof e == "string") return e;
	try {
		return String(e);
	} catch {
		return Object.prototype.toString.call(e);
	}
}, w_ = (e, t) => {
	let n = /* @__PURE__ */ new Set();
	for (let r of e) /^[A-Za-z_$][\w$]*$/.test(r) && !t.has(r) && n.add(r);
	return n.add("window"), Array.from(n);
}, T_ = () => {
	let [e, t] = U(!1), [n, r] = U({}), i = H(void 0), a = z((e) => {
		let t = i.current;
		i.current = void 0, t?.(e);
	}, []);
	return {
		isPreflightPromptModalOpen: e,
		setIsPreflightPromptModalOpen: t,
		preflightPromptModalProps: n,
		openPreflightPromptModal: z((e) => {
			a(null), i.current = e.onSubmit, r({
				title: e.title,
				description: e.description,
				placeholder: e.placeholder,
				defaultValue: e.defaultValue,
				onSubmit: a
			}), setTimeout(() => {
				t(!0);
			}, 200);
		}, [a]),
		closePreflightPromptModal: z(() => {
			a(null), t(!1);
		}, [a])
	};
}, E_ = (e) => {
	let [t, n] = U(e.defaultPreflight ?? null), [r, i] = U(() => e.defaultPreflight?.lastTestResult?.logs ?? []), [a, o] = U(0), s = H(/* @__PURE__ */ new Set()), c = z((t) => {
		n(t), e.onPreflightChange?.(t);
	}, [e]), { openPreflightPromptModal: l, closePreflightPromptModal: u } = e, d = z(async (t, n, r) => {
		let a = new AbortController();
		s.current.add(a), o(s.current.size);
		try {
			return await D_(t, e.envApi?.env ?? { variables: {} }, l ? (e, t, n) => new Promise((r) => l({
				title: e,
				defaultValue: t,
				placeholder: n?.placeholder,
				description: n?.description,
				onSubmit: r
			})) : void 0, n, r, {
				signal: a.signal,
				onLog: (e) => i((t) => [...t, e])
			});
		} finally {
			s.current.delete(a), o(s.current.size);
		}
	}, [e.envApi.env, l]), f = z(async (e, n) => t?.enabled ? d(t.script, e, n) : null, [t, d]), p = z(async (e, n) => d(t?.script ?? "", e, n), [t?.script, d]), m = z(() => {
		for (let e of s.current) e.abort();
		s.current.clear(), o(0), u?.();
	}, [u]), h = z(() => {
		i([]);
	}, []), g = z((r) => {
		n({
			...t ?? {
				script: "",
				enabled: !0
			},
			lastTestResult: r
		}), e.onPreflightChange?.({
			...t ?? {
				script: "",
				enabled: !0
			},
			lastTestResult: r
		});
	}, [t, e]);
	return {
		preflight: t,
		preflightLogs: r,
		isPreflightRunning: a > 0,
		setPreflight: c,
		runPreflight: f,
		testPreflight: p,
		abortPreflight: m,
		clearPreflightLogs: h,
		setLastTestResult: g
	};
};
async function D_(e, t, n, r = [], i = {}, a) {
	let o = r.filter((e) => e.preflight?.lab?.object).map((e) => e.preflight?.lab?.object);
	return new Promise((s) => {
		let c = new Blob([v_.replace("}(this, function () {", "}(self, function () {"), `
        const env =  {
          variables: ${JSON.stringify(t?.variables)} || {},
        };

        let promptResolve = null;

        // Declared out here because the catch below needs it too, and a const inside the try
        // would be out of scope exactly when a script has just failed.
        const readLineAndColumn = ${b_.toString()};
        const toLogText = ${C_.toString()};
        const blockedGlobalNames = ${w_.toString()};
        const allowedGlobals = new Set(${JSON.stringify(Array.from(y_))});

        self.onmessage = async (event) => {
          if (event.data.type === 'prompt:result') {
            promptResolve?.(event.data.value || null);
          }

          if (event.data.type === 'init') {
            try {
              // 'console.'.length: the reported column points at the member, not the statement.
              const postLog = (level) => (...args) => {
                self.postMessage({
                  type: 'log',
                  level,
                  message: args.map(toLogText),
                  ...readLineAndColumn(new Error().stack, 8),
                });
              };

              self.console = {
                log: postLog('log'),
                warn: postLog('warn'),
                error: postLog('error'),
                info: postLog('info'),
              };

              let state = ${JSON.stringify(i)};

              const setState = (id, newState) => {
                Object.assign(state[id] ?? {}, newState);
              };
              
              const isValidEnvValue = ${S_.toString()};

              const lab = Object.freeze({
                CryptoJS,
                environment: {
                  get: (key) => env.variables[key],
                  set: (key, value) => {
                    if (!isValidEnvValue(value)) {
                      console.warn(
                        'lab.environment stores strings, numbers, booleans and null. The value for "' + key + '" was dropped.'
                      );
                      // Dropping the key too, so an older value can't survive under a name the
                      // script believes it just overwrote.
                      delete env.variables[key];
                      return;
                    }

                    env.variables[key] = value;
                  },
                  delete: (key) => {
                    delete env.variables[key];
                  }
                },
                request: {
                  headers: new Headers()
                },
                prompt: (title, defaultValue, options) => {
                  return new Promise((resolve) => {
                    promptResolve = resolve;
                    self.postMessage({ type: 'prompt', title, defaultValue, options: options ?? {} });
                  });
                },
                plugins: {
                  ${o.map((e) => e?.toString()).map((e) => e?.startsWith("object") ? `function${e.slice(6)}` : e).map((e, t) => `
                   ...(${e})(${JSON.stringify(r[t].preflight?.lab?.props ?? {})}, state['${r[t].id}'] ?? {}, (newState) => setState('${r[t].id}', newState))  
                  `).join(",")}
                }
              });
  
              // for...in adds the enumerable worker members on the prototype chain.
              const globalNames = Object.getOwnPropertyNames(globalThis);
              for (const name in globalThis) {
                globalNames.push(name);
              }
              const blockedGlobals = blockedGlobalNames(globalNames, allowedGlobals);

              // call('undefined'): sloppy mode would otherwise make this the worker scope.
              // The script sits on its own line so reported lines map back by a fixed offset.
              const AsyncFunction = async function () {}.constructor;
              await new AsyncFunction('lab', 'CryptoJS', ...blockedGlobals, 'with(lab){\\n' + event.data.script + '\\n}').call('undefined', lab, CryptoJS);

              self.postMessage({ type: 'result', env: env, headers: Object.fromEntries(lab.request.headers.entries()), pluginsState: state });
            } catch (err) {
              const message = err && err.message ? err.message : toLogText(err);

              self.postMessage({
                type: 'log',
                level: 'error',
                message: [message],
                ...readLineAndColumn(err && err.stack),
              });
              self.postMessage({ type: 'result', error: message });
            }
          }
        };
      `], { type: "application/javascript" }), l = [], u = {}, d = URL.createObjectURL(c), f = new Worker(d, { type: "module" }), p = !1, m = (e) => {
			l.push(e), a?.onLog?.(e);
		}, h, g = () => {
			clearTimeout(h), h = void 0;
		}, _ = () => {
			g(), h = setTimeout(() => {
				m({
					level: "system",
					message: [`Run timed out after ${x_ / 1e3} seconds.`],
					createdAt: (/* @__PURE__ */ new Date()).toISOString()
				}), y({
					status: "error",
					error: `Preflight execution timed out after ${x_ / 1e3} seconds`,
					logs: l,
					env: t,
					headers: {},
					pluginsState: i
				});
			}, x_);
		}, v = () => {
			m({
				level: "system",
				message: ["Run stopped."],
				createdAt: (/* @__PURE__ */ new Date()).toISOString()
			}), y({
				status: "error",
				error: "Preflight aborted",
				logs: l,
				env: t,
				headers: {},
				pluginsState: i
			});
		}, y = (e) => {
			p || (p = !0, g(), a?.signal?.removeEventListener("abort", v), f.terminate(), URL.revokeObjectURL(d), s(e));
		};
		f.onmessage = ({ data: e }) => {
			e.type === "result" ? e.error ? y({
				status: "error",
				error: e.error,
				logs: l,
				env: t,
				headers: {},
				pluginsState: e.pluginsState ?? i
			}) : (Object.keys(e.headers).length > 0 && m({
				level: "system",
				message: [`Headers:\n${JSON.stringify(e.headers, null, 2)}`],
				createdAt: (/* @__PURE__ */ new Date()).toISOString()
			}), y({
				status: "success",
				logs: l,
				env: e.env,
				headers: e.headers,
				pluginsState: e.pluginsState
			})) : e.type === "log" ? [
				"log",
				"warn",
				"error",
				"info"
			].includes(e.level) && m({
				level: e.level,
				message: e.message,
				createdAt: (/* @__PURE__ */ new Date()).toISOString(),
				line: e.line,
				column: e.column
			}) : e.type === "header" ? (u[e.name] = e.value, m({
				level: "system",
				message: [`Header ${e.name} set to ${e.value}`],
				createdAt: (/* @__PURE__ */ new Date()).toISOString()
			})) : e.type === "prompt" && (g(), (n?.(e.title, e.defaultValue, e.options) ?? Promise.resolve(null)).catch(() => null).then((e) => {
				p || (_(), f.postMessage({
					type: "prompt:result",
					value: e
				}));
			}));
		}, f.onerror = (e) => {
			y({
				status: "error",
				error: e.message,
				logs: l,
				env: t,
				headers: {},
				pluginsState: i
			});
		}, a?.signal?.aborted ? v() : (a?.signal?.addEventListener("abort", v), _(), f.postMessage({
			type: "init",
			script: e
		}));
	});
}
// src/lib/settings.ts
var O_ = {
	fetch: {
		credentials: "same-origin",
		timeout: 1e4,
		useGETForQueries: !1
	},
	subscriptions: { protocol: "WS" },
	introspection: {
		method: "POST",
		headers: "",
		includeActiveOperationHeaders: !1,
		pollSchema: !0
	}
}, k_ = (e) => ({
	fetch: {
		credentials: e?.fetch?.credentials ?? O_.fetch.credentials,
		timeout: e?.fetch?.timeout ?? O_.fetch.timeout,
		useGETForQueries: e?.fetch?.useGETForQueries ?? O_.fetch.useGETForQueries
	},
	subscriptions: { protocol: e?.subscriptions?.protocol ?? O_.subscriptions.protocol },
	introspection: {
		method: e?.introspection?.method ?? O_.introspection.method,
		headers: e?.introspection?.headers ?? O_.introspection.headers,
		includeActiveOperationHeaders: e?.introspection?.includeActiveOperationHeaders ?? O_.introspection.includeActiveOperationHeaders,
		pollSchema: e?.introspection?.pollSchema ?? O_.introspection.pollSchema
	}
}), A_ = (e) => {
	let [t, n] = U(k_(e.defaultSettings));
	return {
		settings: t,
		setSettings: z((t) => {
			let r = k_(t);
			n(r), e.onSettingsChange?.(r);
		}, [e])
	};
};
// src/lib/shadow-root.ts
function j_(e) {
	return e.shadowRoot ?? e.attachShadow({ mode: "open" });
}
// src/lib/tabs.ts
var M_ = (e) => {
	let [t, n] = U(e.defaultTabs ?? []), [r, i] = U(e.defaultTabs?.find((t) => t.id === e.defaultActiveTabId) ?? e.defaultTabs?.[0] ?? null), a = H(t);
	a.current = t;
	let o = H(r);
	return o.current = r, {
		activeTab: r,
		setActiveTab: z((t) => {
			i(t), e.onActiveTabIdChange?.(t?.id ?? null);
		}, [e]),
		tabs: t,
		setTabs: z((t) => {
			n(t), e.onTabsChange?.(t);
		}, [e]),
		addTab: z((r) => {
			let i = {
				...r,
				id: ei()
			}, a = [...t ?? [], i];
			return n(a), e.onTabsChange?.(a), i;
		}, [t, e]),
		deleteTab: z((r) => {
			let i = t.filter((e) => e.id !== r);
			n(i), e.onTabsChange?.(i);
		}, [t, e]),
		updateTab: z((r, i) => {
			let a = t.map((e) => e.id === r ? {
				...e,
				data: i
			} : e);
			n(a), e.onTabsChange?.(a);
		}, [t, e]),
		replaceOperationId: z((t, r) => {
			let s = (e) => e.type === "operation", c = (e) => s(e) && e.data.id === t ? {
				...e,
				data: {
					...e.data,
					id: r
				}
			} : e, l = a.current.map(c);
			n(l), e.onTabsChange?.(l), o.current && i(c(o.current));
		}, [e])
	};
}, N_ = (e) => {
	let [t, n] = U(e.defaultTests ?? []), r = H(t);
	return B(() => {
		r.current = t;
	}, [t]), {
		tests: t,
		addTest: z((r) => {
			let i = {
				...r,
				id: ei(),
				createdAt: (/* @__PURE__ */ new Date()).toISOString(),
				tasks: []
			}, a = [...t, i];
			return n(a), e.onTestsChange?.(a), i;
		}, [t, e]),
		deleteTest: z((t) => {
			let i = r.current.filter((e) => e.id !== t);
			n(i), e.onTestsChange?.(i);
		}, [e]),
		addTaskToTest: z((t, i) => {
			let a = {
				...i,
				id: ei(),
				next: null
			}, o = r.current.map((e) => e.id === t ? {
				...e,
				tasks: [...e.tasks, a]
			} : e);
			n(o), e.onTestsChange?.(o);
		}, [e]),
		deleteTaskFromTest: z((t, i) => {
			let a = r.current.map((e) => e.id === t ? {
				...e,
				tasks: e.tasks.filter((e) => e.id !== i)
			} : e);
			n(a), e.onTestsChange?.(a);
		}, [e])
	};
}, P_ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, F_ = hs, I_ = (e, t) => (n) => {
	if (t?.variants == null) return F_(e, n?.class, n?.className);
	let { variants: r, defaultVariants: i } = t, a = Object.keys(r).map((e) => {
		let t = n?.[e], a = i?.[e];
		if (t === null) return null;
		let o = P_(t) || P_(a);
		return r[e][o];
	}), o = n && Object.entries(n).reduce((e, t) => {
		let [n, r] = t;
		return r === void 0 || (e[n] = r), e;
	}, {});
	return F_(e, a, t?.compoundVariants?.reduce((e, t) => {
		let { class: n, className: r, ...a } = t;
		return Object.entries(a).every((e) => {
			let [t, n] = e;
			return Array.isArray(n) ? n.includes({
				...i,
				...o
			}[t]) : {
				...i,
				...o
			}[t] === n;
		}) ? [
			...e,
			n,
			r
		] : e;
	}, []), n?.class, n?.className);
};
// ../../../node_modules/.pnpm/@radix-ui+react-compose-refs@1.1.2_@types+react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.mjs
function L_(e, t) {
	if (typeof e == "function") return e(t);
	e != null && (e.current = t);
}
function R_(...e) {
	return (t) => {
		let n = !1, r = e.map((e) => {
			let r = L_(e, t);
			return !n && typeof r == "function" && (n = !0), r;
		});
		if (n) return () => {
			for (let t = 0; t < r.length; t++) {
				let n = r[t];
				typeof n == "function" ? n() : L_(e[t], null);
			}
		};
	};
}
function z_(...e) {
	return L.useCallback(R_(...e), e);
}
// ../../../node_modules/.pnpm/@radix-ui+react-slot@1.2.4_@types+react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-slot/dist/index.mjs
var B_ = Symbol.for("react.lazy"), V_ = L.use;
function H_(e) {
	return typeof e == "object" && !!e && "then" in e;
}
function U_(e) {
	return typeof e == "object" && !!e && "$$typeof" in e && e.$$typeof === B_ && "_payload" in e && H_(e._payload);
}
// @__NO_SIDE_EFFECTS__
function W_(e) {
	let t = /* @__PURE__ */ K_(e), n = L.forwardRef((e, n) => {
		let { children: r, ...i } = e;
		U_(r) && typeof V_ == "function" && (r = V_(r._payload));
		let a = L.Children.toArray(r), o = a.find(J_);
		if (o) {
			let e = o.props.children, r = a.map((t) => t === o ? L.Children.count(e) > 1 ? L.Children.only(null) : L.isValidElement(e) ? e.props.children : null : t);
			return /* @__PURE__ */ K(t, {
				...i,
				ref: n,
				children: L.isValidElement(e) ? L.cloneElement(e, void 0, r) : null
			});
		}
		return /* @__PURE__ */ K(t, {
			...i,
			ref: n,
			children: r
		});
	});
	return n.displayName = `${e}.Slot`, n;
}
var G_ = /* @__PURE__ */ W_("Slot");
// @__NO_SIDE_EFFECTS__
function K_(e) {
	let t = L.forwardRef((e, t) => {
		let { children: n, ...r } = e;
		if (U_(n) && typeof V_ == "function" && (n = V_(n._payload)), L.isValidElement(n)) {
			let e = X_(n), i = Y_(r, n.props);
			return n.type !== L.Fragment && (i.ref = t ? R_(t, e) : e), L.cloneElement(n, i);
		}
		return L.Children.count(n) > 1 ? L.Children.only(null) : null;
	});
	return t.displayName = `${e}.SlotClone`, t;
}
var q_ = Symbol("radix.slottable");
function J_(e) {
	return L.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === q_;
}
function Y_(e, t) {
	let n = { ...t };
	for (let r in t) {
		let i = e[r], a = t[r];
		/^on[A-Z]/.test(r) ? i && a ? n[r] = (...e) => {
			let t = a(...e);
			return i(...e), t;
		} : i && (n[r] = i) : r === "style" ? n[r] = {
			...i,
			...a
		} : r === "className" && (n[r] = [i, a].filter(Boolean).join(" "));
	}
	return {
		...e,
		...n
	};
}
function X_(e) {
	let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
	return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
}
// src/components/ui/button.tsx
var Z_ = I_("cursor-pointer inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/40 aria-invalid:border-destructive", {
	variants: {
		variant: {
			default: "bg-primary text-primary-foreground hover:bg-primary/90",
			destructive: "!text-white !hover:bg-destructive/90 !focus-visible:ring-destructive/40 !bg-destructive/60",
			outline: "border shadow-sm hover:text-accent-foreground bg-input/30 border-input hover:bg-input/50",
			secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
			ghost: "hover:text-accent-foreground hover:bg-accent/50",
			link: "text-primary underline-offset-4 hover:underline"
		},
		size: {
			default: "h-9 px-4 py-2 has-[>svg]:px-3",
			sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
			lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
			icon: "size-9",
			"icon-sm": "size-8",
			"icon-lg": "size-10"
		}
	},
	defaultVariants: {
		variant: "default",
		size: "default"
	}
}), Q = hn(({ className: e, variant: t, size: n, asChild: r = !1, ...i }, a) => /* @__PURE__ */ K(r ? G_ : "button", {
	ref: a,
	"data-slot": "button",
	className: X(Z_({
		variant: t,
		size: n,
		className: e
	})),
	...i
}));
Q.displayName = "Button";
// src/components/laboratory/context.tsx
var Q_ = mn({}), $_ = () => vn(Q_), ev = (e) => /* @__PURE__ */ K(Q_.Provider, {
	value: { ...e },
	children: e.children
});
typeof window < "u" && window.document && window.document.createElement;
function $(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
	return function(r) {
		if (e?.(r), n === !1 || !r.defaultPrevented) return t?.(r);
	};
}
// ../../../node_modules/.pnpm/@radix-ui+react-context@1.1.2_@types+react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-context/dist/index.mjs
function tv(e, t) {
	let n = L.createContext(t), r = (e) => {
		let { children: t, ...r } = e, i = L.useMemo(() => r, Object.values(r));
		return /* @__PURE__ */ K(n.Provider, {
			value: i,
			children: t
		});
	};
	r.displayName = e + "Provider";
	function i(r) {
		let i = L.useContext(n);
		if (i) return i;
		if (t !== void 0) return t;
		throw Error(`\`${r}\` must be used within \`${e}\``);
	}
	return [r, i];
}
function nv(e, t = []) {
	let n = [];
	function r(t, r) {
		let i = L.createContext(r), a = n.length;
		n = [...n, r];
		let o = (t) => {
			let { scope: n, children: r, ...o } = t, s = n?.[e]?.[a] || i, c = L.useMemo(() => o, Object.values(o));
			return /* @__PURE__ */ K(s.Provider, {
				value: c,
				children: r
			});
		};
		o.displayName = t + "Provider";
		function s(n, o) {
			let s = o?.[e]?.[a] || i, c = L.useContext(s);
			if (c) return c;
			if (r !== void 0) return r;
			throw Error(`\`${n}\` must be used within \`${t}\``);
		}
		return [o, s];
	}
	let i = () => {
		let t = n.map((e) => L.createContext(e));
		return function(n) {
			let r = n?.[e] || t;
			return L.useMemo(() => ({ [`__scope${e}`]: {
				...n,
				[e]: r
			} }), [n, r]);
		};
	};
	return i.scopeName = e, [r, rv(i, ...t)];
}
function rv(...e) {
	let t = e[0];
	if (e.length === 1) return t;
	let n = () => {
		let n = e.map((e) => ({
			useScope: e(),
			scopeName: e.scopeName
		}));
		return function(e) {
			let r = n.reduce((t, { useScope: n, scopeName: r }) => {
				let i = n(e)[`__scope${r}`];
				return {
					...t,
					...i
				};
			}, {});
			return L.useMemo(() => ({ [`__scope${t.scopeName}`]: r }), [r]);
		};
	};
	return n.scopeName = t.scopeName, n;
}
// ../../../node_modules/.pnpm/@radix-ui+react-use-layout-effect@1.1.1_@types+react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
var iv = globalThis?.document ? L.useLayoutEffect : () => {}, av = L.useId || (() => void 0), ov = 0;
function sv(e) {
	let [t, n] = L.useState(av());
	return iv(() => {
		e || n((e) => e ?? String(ov++));
	}, [e]), e || (t ? `radix-${t}` : "");
}
// ../../../node_modules/.pnpm/@radix-ui+react-use-controllable-state@1.2.2_@types+react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
var cv = L.useInsertionEffect || iv;
function lv({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
	let [i, a, o] = uv({
		defaultProp: t,
		onChange: n
	}), s = e !== void 0, c = s ? e : i;
	{
		let t = L.useRef(e !== void 0);
		L.useEffect(() => {
			let e = t.current;
			e !== s && console.warn(`${r} is changing from ${e ? "controlled" : "uncontrolled"} to ${s ? "controlled" : "uncontrolled"}. 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 = s;
		}, [s, r]);
	}
	return [c, L.useCallback((t) => {
		if (s) {
			let n = dv(t) ? t(e) : t;
			n !== e && o.current?.(n);
		} else a(t);
	}, [
		s,
		e,
		a,
		o
	])];
}
function uv({ defaultProp: e, onChange: t }) {
	let [n, r] = L.useState(e), i = L.useRef(n), a = L.useRef(t);
	return cv(() => {
		a.current = t;
	}, [t]), L.useEffect(() => {
		i.current !== n && (a.current?.(n), i.current = n);
	}, [n, i]), [
		n,
		r,
		a
	];
}
function dv(e) {
	return typeof e == "function";
}
// ../../../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-slot/dist/index.mjs
// @__NO_SIDE_EFFECTS__
function fv(e) {
	let t = /* @__PURE__ */ pv(e), n = L.forwardRef((e, n) => {
		let { children: r, ...i } = e, a = L.Children.toArray(r), o = a.find(gv);
		if (o) {
			let e = o.props.children, r = a.map((t) => t === o ? L.Children.count(e) > 1 ? L.Children.only(null) : L.isValidElement(e) ? e.props.children : null : t);
			return /* @__PURE__ */ K(t, {
				...i,
				ref: n,
				children: L.isValidElement(e) ? L.cloneElement(e, void 0, r) : null
			});
		}
		return /* @__PURE__ */ K(t, {
			...i,
			ref: n,
			children: r
		});
	});
	return n.displayName = `${e}.Slot`, n;
}
// @__NO_SIDE_EFFECTS__
function pv(e) {
	let t = L.forwardRef((e, t) => {
		let { children: n, ...r } = e;
		if (L.isValidElement(n)) {
			let e = vv(n), i = _v(r, n.props);
			return n.type !== L.Fragment && (i.ref = t ? R_(t, e) : e), L.cloneElement(n, i);
		}
		return L.Children.count(n) > 1 ? L.Children.only(null) : null;
	});
	return t.displayName = `${e}.SlotClone`, t;
}
var mv = Symbol("radix.slottable");
// @__NO_SIDE_EFFECTS__
function hv(e) {
	let t = ({ children: e }) => /* @__PURE__ */ K(Wr, { children: e });
	return t.displayName = `${e}.Slottable`, t.__radixId = mv, t;
}
function gv(e) {
	return L.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === mv;
}
function _v(e, t) {
	let n = { ...t };
	for (let r in t) {
		let i = e[r], a = t[r];
		/^on[A-Z]/.test(r) ? i && a ? n[r] = (...e) => {
			let t = a(...e);
			return i(...e), t;
		} : i && (n[r] = i) : r === "style" ? n[r] = {
			...i,
			...a
		} : r === "className" && (n[r] = [i, a].filter(Boolean).join(" "));
	}
	return {
		...e,
		...n
	};
}
function vv(e) {
	let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
	return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
}
// ../../../node_modules/.pnpm/@radix-ui+react-primitive@2.1.3_@types+react-dom@18.3.5_@types+react@18.3.18__@types+re_05c723466ecf3b16af602a3b7d24e522/node_modules/@radix-ui/react-primitive/dist/index.mjs
var yv = [
	"a",
	"button",
	"div",
	"form",
	"h2",
	"h3",
	"img",
	"input",
	"label",
	"li",
	"nav",
	"ol",
	"p",
	"select",
	"span",
	"svg",
	"ul"
].reduce((e, t) => {
	let n = /* @__PURE__ */ fv(`Primitive.${t}`), r = L.forwardRef((e, r) => {
		let { asChild: i, ...a } = e, o = i ? n : t;
		return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ K(o, {
			...a,
			ref: r
		});
	});
	return r.displayName = `Primitive.${t}`, {
		...e,
		[t]: r
	};
}, {});
function bv(e, t) {
	e && En.flushSync(() => e.dispatchEvent(t));
}
// ../../../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.1_@types+react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
function xv(e) {
	let t = L.useRef(e);
	return L.useEffect(() => {
		t.current = e;
	}), L.useMemo(() => (...e) => t.current?.(...e), []);
}
// ../../../node_modules/.pnpm/@radix-ui+react-use-escape-keydown@1.1.1_@types+react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
function Sv(e, t = globalThis?.document) {
	let n = xv(e);
	L.useEffect(() => {
		let e = (e) => {
			e.key === "Escape" && n(e);
		};
		return t.addEventListener("keydown", e, { capture: !0 }), () => t.removeEventListener("keydown", e, { capture: !0 });
	}, [n, t]);
}
// ../../../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.11_@types+react-dom@18.3.5_@types+react@18.3.18___4890fd987701c82b7735e59de1c983a3/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
var Cv = "DismissableLayer", wv = "dismissableLayer.update", Tv = "dismissableLayer.pointerDownOutside", Ev = "dismissableLayer.focusOutside", Dv, Ov = L.createContext({
	layers: /* @__PURE__ */ new Set(),
	layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
	branches: /* @__PURE__ */ new Set()
}), kv = L.forwardRef((e, t) => {
	let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: s, ...c } = e, l = L.useContext(Ov), [u, d] = L.useState(null), f = u?.ownerDocument ?? globalThis?.document, [, p] = L.useState({}), m = z_(t, (e) => d(e)), h = Array.from(l.layers), [g] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), _ = h.indexOf(g), v = u ? h.indexOf(u) : -1, y = l.layersWithOutsidePointerEventsDisabled.size > 0, b = v >= _, x = Mv((e) => {
		let t = e.target, n = [...l.branches].some((e) => e.contains(t));
		b && !n && (i?.(e), o?.(e), e.defaultPrevented || s?.());
	}, f), S = Nv((e) => {
		let t = e.target;
		[...l.branches].some((e) => e.contains(t)) || (a?.(e), o?.(e), e.defaultPrevented || s?.());
	}, f);
	return Sv((e) => {
		v === l.layers.size - 1 && (r?.(e), !e.defaultPrevented && s && (e.preventDefault(), s()));
	}, f), L.useEffect(() => {
		if (u) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (Dv = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(u)), l.layers.add(u), Pv(), () => {
			n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = Dv);
		};
	}, [
		u,
		f,
		n,
		l
	]), L.useEffect(() => () => {
		u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), Pv());
	}, [u, l]), L.useEffect(() => {
		let e = () => p({});
		return document.addEventListener(wv, e), () => document.removeEventListener(wv, e);
	}, []), /* @__PURE__ */ K(yv.div, {
		...c,
		ref: m,
		style: {
			pointerEvents: y ? b ? "auto" : "none" : void 0,
			...e.style
		},
		onFocusCapture: $(e.onFocusCapture, S.onFocusCapture),
		onBlurCapture: $(e.onBlurCapture, S.onBlurCapture),
		onPointerDownCapture: $(e.onPointerDownCapture, x.onPointerDownCapture)
	});
});
kv.displayName = Cv;
var Av = "DismissableLayerBranch", jv = L.forwardRef((e, t) => {
	let n = L.useContext(Ov), r = L.useRef(null), i = z_(t, r);
	return L.useEffect(() => {
		let e = r.current;
		if (e) return n.branches.add(e), () => {
			n.branches.delete(e);
		};
	}, [n.branches]), /* @__PURE__ */ K(yv.div, {
		...e,
		ref: i
	});
});
jv.displayName = Av;
function Mv(e, t = globalThis?.document) {
	let n = xv(e), r = L.useRef(!1), i = L.useRef(() => {});
	return L.useEffect(() => {
		let e = (e) => {
			if (e.target && !r.current) {
				let r = function() {
					Fv(Tv, n, a, { discrete: !0 });
				}, a = { originalEvent: e };
				e.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = r, t.addEventListener("click", i.current, { once: !0 })) : r();
			} else t.removeEventListener("click", i.current);
			r.current = !1;
		}, a = window.setTimeout(() => {
			t.addEventListener("pointerdown", e);
		}, 0);
		return () => {
			window.clearTimeout(a), t.removeEventListener("pointerdown", e), t.removeEventListener("click", i.current);
		};
	}, [t, n]), { onPointerDownCapture: () => r.current = !0 };
}
function Nv(e, t = globalThis?.document) {
	let n = xv(e), r = L.useRef(!1);
	return L.useEffect(() => {
		let e = (e) => {
			e.target && !r.current && Fv(Ev, n, { originalEvent: e }, { discrete: !1 });
		};
		return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e);
	}, [t, n]), {
		onFocusCapture: () => r.current = !0,
		onBlurCapture: () => r.current = !1
	};
}
function Pv() {
	let e = new CustomEvent(wv);
	document.dispatchEvent(e);
}
function Fv(e, t, n, { discrete: r }) {
	let i = n.originalEvent.target, a = new CustomEvent(e, {
		bubbles: !1,
		cancelable: !0,
		detail: n
	});
	t && i.addEventListener(e, t, { once: !0 }), r ? bv(i, a) : i.dispatchEvent(a);
}
// ../../../node_modules/.pnpm/@radix-ui+react-focus-scope@1.1.7_@types+react-dom@18.3.5_@types+react@18.3.18__@types+_8ddb7f967c6fca9863e2396664512c79/node_modules/@radix-ui/react-focus-scope/dist/index.mjs
var Iv = "focusScope.autoFocusOnMount", Lv = "focusScope.autoFocusOnUnmount", Rv = {
	bubbles: !1,
	cancelable: !0
}, zv = "FocusScope", Bv = L.forwardRef((e, t) => {
	let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [s, c] = L.useState(null), l = xv(i), u = xv(a), d = L.useRef(null), f = z_(t, (e) => c(e)), p = L.useRef({
		paused: !1,
		pause() {
			this.paused = !0;
		},
		resume() {
			this.paused = !1;
		}
	}).current;
	L.useEffect(() => {
		if (r) {
			let e = function(e) {
				if (p.paused || !s) return;
				let t = e.target;
				s.contains(t) ? d.current = t : qv(d.current, { select: !0 });
			}, t = function(e) {
				if (p.paused || !s) return;
				let t = e.relatedTarget;
				t !== null && (s.contains(t) || qv(d.current, { select: !0 }));
			}, n = function(e) {
				if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && qv(s);
			};
			document.addEventListener("focusin", e), document.addEventListener("focusout", t);
			let r = new MutationObserver(n);
			return s && r.observe(s, {
				childList: !0,
				subtree: !0
			}), () => {
				document.removeEventListener("focusin", e), document.removeEventListener("focusout", t), r.disconnect();
			};
		}
	}, [
		r,
		s,
		p.paused
	]), L.useEffect(() => {
		if (s) {
			Jv.add(p);
			let e = document.activeElement;
			if (!s.contains(e)) {
				let t = new CustomEvent(Iv, Rv);
				s.addEventListener(Iv, l), s.dispatchEvent(t), t.defaultPrevented || (Vv(Zv(Uv(s)), { select: !0 }), document.activeElement === e && qv(s));
			}
			return () => {
				s.removeEventListener(Iv, l), setTimeout(() => {
					let t = new CustomEvent(Lv, Rv);
					s.addEventListener(Lv, u), s.dispatchEvent(t), t.defaultPrevented || qv(e ?? document.body, { select: !0 }), s.removeEventListener(Lv, u), Jv.remove(p);
				}, 0);
			};
		}
	}, [
		s,
		l,
		u,
		p
	]);
	let m = L.useCallback((e) => {
		if (!n && !r || p.paused) return;
		let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
		if (t && i) {
			let t = e.currentTarget, [r, a] = Hv(t);
			r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && qv(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && qv(a, { select: !0 })) : i === t && e.preventDefault();
		}
	}, [
		n,
		r,
		p.paused
	]);
	return /* @__PURE__ */ K(yv.div, {
		tabIndex: -1,
		...o,
		ref: f,
		onKeyDown: m
	});
});
Bv.displayName = zv;
function Vv(e, { select: t = !1 } = {}) {
	let n = document.activeElement;
	for (let r of e) if (qv(r, { select: t }), document.activeElement !== n) return;
}
function Hv(e) {
	let t = Uv(e);
	return [Wv(t, e), Wv(t.reverse(), e)];
}
function Uv(e) {
	let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
		let t = e.tagName === "INPUT" && e.type === "hidden";
		return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
	} });
	for (; n.nextNode();) t.push(n.currentNode);
	return t;
}
function Wv(e, t) {
	for (let n of e) if (!Gv(n, { upTo: t })) return n;
}
function Gv(e, { upTo: t }) {
	if (getComputedStyle(e).visibility === "hidden") return !0;
	for (; e;) {
		if (t !== void 0 && e === t) return !1;
		if (getComputedStyle(e).display === "none") return !0;
		e = e.parentElement;
	}
	return !1;
}
function Kv(e) {
	return e instanceof HTMLInputElement && "select" in e;
}
function qv(e, { select: t = !1 } = {}) {
	if (e && e.focus) {
		let n = document.activeElement;
		e.focus({ preventScroll: !0 }), e !== n && Kv(e) && t && e.select();
	}
}
var Jv = Yv();
function Yv() {
	let e = [];
	return {
		add(t) {
			let n = e[0];
			t !== n && n?.pause(), e = Xv(e, t), e.unshift(t);
		},
		remove(t) {
			e = Xv(e, t), e[0]?.resume();
		}
	};
}
function Xv(e, t) {
	let n = [...e], r = n.indexOf(t);
	return r !== -1 && n.splice(r, 1), n;
}
function Zv(e) {
	return e.filter((e) => e.tagName !== "A");
}
// ../../../node_modules/.pnpm/@radix-ui+react-portal@1.1.9_@types+react-dom@18.3.5_@types+react@18.3.18__@types+react_b1193311eef72a38fbee911bc6654697/node_modules/@radix-ui/react-portal/dist/index.mjs
var Qv = "Portal", $v = L.forwardRef((e, t) => {
	let { container: n, ...r } = e, [i, a] = L.useState(!1);
	iv(() => a(!0), []);
	let o = n || i && globalThis?.document?.body;
	return o ? Dn.createPortal(/* @__PURE__ */ K(yv.div, {
		...r,
		ref: t
	}), o) : null;
});
$v.displayName = Qv;
// ../../../node_modules/.pnpm/@radix-ui+react-presence@1.1.5_@types+react-dom@18.3.5_@types+react@18.3.18__@types+rea_8e9833e895c2a9c58c097a3d3806aa20/node_modules/@radix-ui/react-presence/dist/index.mjs
function ey(e, t) {
	return L.useReducer((e, n) => t[e][n] ?? e, e);
}
var ty = (e) => {
	let { present: t, children: n } = e, r = ny(t), i = typeof n == "function" ? n({ present: r.isPresent }) : L.Children.only(n), a = z_(r.ref, iy(i));
	return typeof n == "function" || r.isPresent ? L.cloneElement(i, { ref: a }) : null;
};
ty.displayName = "Presence";
function ny(e) {
	let [t, n] = L.useState(), r = L.useRef(null), i = L.useRef(e), a = L.useRef("none"), [o, s] = ey(e ? "mounted" : "unmounted", {
		mounted: {
			UNMOUNT: "unmounted",
			ANIMATION_OUT: "unmountSuspended"
		},
		unmountSuspended: {
			MOUNT: "mounted",
			ANIMATION_END: "unmounted"
		},
		unmounted: { MOUNT: "mounted" }
	});
	return L.useEffect(() => {
		let e = ry(r.current);
		a.current = o === "mounted" ? e : "none";
	}, [o]), iv(() => {
		let t = r.current, n = i.current;
		if (n !== e) {
			let r = a.current, o = ry(t);
			e ? s("MOUNT") : o === "none" || t?.display === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
		}
	}, [e, s]), iv(() => {
		if (t) {
			let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
				let o = ry(r.current).includes(CSS.escape(a.animationName));
				if (a.target === t && o && (s("ANIMATION_END"), !i.current)) {
					let r = t.style.animationFillMode;
					t.style.animationFillMode = "forwards", e = n.setTimeout(() => {
						t.style.animationFillMode === "forwards" && (t.style.animationFillMode = r);
					});
				}
			}, c = (e) => {
				e.target === t && (a.current = ry(r.current));
			};
			return t.addEventListener("animationstart", c), t.addEventListener("animationcancel", o), t.addEventListener("animationend", o), () => {
				n.clearTimeout(e), t.removeEventListener("animationstart", c), t.removeEventListener("animationcancel", o), t.removeEventListener("animationend", o);
			};
		}
		s("ANIMATION_END");
	}, [t, s]), {
		isPresent: ["mounted", "unmountSuspended"].includes(o),
		ref: L.useCallback((e) => {
			r.current = e ? getComputedStyle(e) : null, n(e);
		}, [])
	};
}
function ry(e) {
	return e?.animationName || "none";
}
function iy(e) {
	let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
	return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
}
// ../../../node_modules/.pnpm/@radix-ui+react-focus-guards@1.1.3_@types+react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.mjs
var ay = 0;
function oy() {
	L.useEffect(() => {
		let e = document.querySelectorAll("[data-radix-focus-guard]");
		return document.body.insertAdjacentElement("afterbegin", e[0] ?? sy()), document.body.insertAdjacentElement("beforeend", e[1] ?? sy()), ay++, () => {
			ay === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), ay--;
		};
	}, []);
}
function sy() {
	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;
}
// ../../../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@18.3.18_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.js
var cy = "right-scroll-bar-position", ly = "width-before-scroll-bar", uy = "with-scroll-bars-hidden", dy = "--removed-body-scroll-bar-size";
// ../../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@18.3.18_react@18.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.js
function fy(e, t) {
	return typeof e == "function" ? e(t) : e && (e.current = t), e;
}
// ../../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@18.3.18_react@18.3.1/node_modules/use-callback-ref/dist/es2015/useRef.js
function py(e, t) {
	var n = U(function() {
		return {
			value: e,
			callback: t,
			facade: {
				get current() {
					return n.value;
				},
				set current(e) {
					var t = n.value;
					t !== e && (n.value = e, n.callback(e, t));
				}
			}
		};
	})[0];
	return n.callback = t, n.facade;
}
// ../../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@18.3.18_react@18.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js
var my = typeof window < "u" ? L.useLayoutEffect : L.useEffect, hy = /* @__PURE__ */ new WeakMap();
function gy(e, t) {
	var n = py(t || null, function(t) {
		return e.forEach(function(e) {
			return fy(e, t);
		});
	});
	return my(function() {
		var t = hy.get(n);
		if (t) {
			var r = new Set(t), i = new Set(e), a = n.current;
			r.forEach(function(e) {
				i.has(e) || fy(e, null);
			}), i.forEach(function(e) {
				r.has(e) || fy(e, a);
			});
		}
		hy.set(n, e);
	}, [e]), n;
}
// ../../../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@18.3.18_react@18.3.1/node_modules/use-sidecar/dist/es2015/medium.js
function _y(e) {
	return e;
}
function vy(e, t) {
	t === void 0 && (t = _y);
	var n = [], r = !1;
	return {
		read: function() {
			if (r) throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");
			return n.length ? n[n.length - 1] : e;
		},
		useMedium: function(e) {
			var i = t(e, r);
			return n.push(i), function() {
				n = n.filter(function(e) {
					return e !== i;
				});
			};
		},
		assignSyncMedium: function(e) {
			for (r = !0; n.length;) {
				var t = n;
				n = [], t.forEach(e);
			}
			n = {
				push: function(t) {
					return e(t);
				},
				filter: function() {
					return n;
				}
			};
		},
		assignMedium: function(e) {
			r = !0;
			var t = [];
			if (n.length) {
				var i = n;
				n = [], i.forEach(e), t = n;
			}
			var a = function() {
				var n = t;
				t = [], n.forEach(e);
			}, o = function() {
				return Promise.resolve().then(a);
			};
			o(), n = {
				push: function(e) {
					t.push(e), o();
				},
				filter: function(e) {
					return t = t.filter(e), n;
				}
			};
		}
	};
}
function yy(e) {
	e === void 0 && (e = {});
	var t = vy(null);
	return t.options = Gr({
		async: !0,
		ssr: !1
	}, e), t;
}
// ../../../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@18.3.18_react@18.3.1/node_modules/use-sidecar/dist/es2015/exports.js
var by = function(e) {
	var t = e.sideCar, n = Kr(e, ["sideCar"]);
	if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
	var r = t.read();
	if (!r) throw Error("Sidecar medium not found");
	return L.createElement(r, Gr({}, n));
};
by.isSideCarExport = !0;
function xy(e, t) {
	return e.useMedium(t), by;
}
// ../../../node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/medium.js
var Sy = yy(), Cy = function() {}, wy = L.forwardRef(function(e, t) {
	var n = L.useRef(null), r = L.useState({
		onScrollCapture: Cy,
		onWheelCapture: Cy,
		onTouchMoveCapture: Cy
	}), i = r[0], a = r[1], o = e.forwardProps, s = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, d = e.shards, f = e.sideCar, p = e.noRelative, m = e.noIsolation, h = e.inert, g = e.allowPinchZoom, _ = e.as, v = _ === void 0 ? "div" : _, y = e.gapMode, b = Kr(e, [
		"forwardProps",
		"children",
		"className",
		"removeScrollBar",
		"enabled",
		"shards",
		"sideCar",
		"noRelative",
		"noIsolation",
		"inert",
		"allowPinchZoom",
		"as",
		"gapMode"
	]), x = f, S = gy([n, t]), C = Gr(Gr({}, b), i);
	return L.createElement(L.Fragment, null, u && L.createElement(x, {
		sideCar: Sy,
		removeScrollBar: l,
		shards: d,
		noRelative: p,
		noIsolation: m,
		inert: h,
		setCallbacks: a,
		allowPinchZoom: !!g,
		lockRef: n,
		gapMode: y
	}), o ? L.cloneElement(L.Children.only(s), Gr(Gr({}, C), { ref: S })) : L.createElement(v, Gr({}, C, {
		className: c,
		ref: S
	}), s));
});
wy.defaultProps = {
	enabled: !0,
	removeScrollBar: !0,
	inert: !1
}, wy.classNames = {
	fullWidth: ly,
	zeroRight: cy
};
// ../../../node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js
var Ty = function() {
	if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
};
// ../../../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@18.3.18_react@18.3.1/node_modules/react-style-singleton/dist/es2015/singleton.js
function Ey() {
	if (!document) return null;
	var e = document.createElement("style");
	e.type = "text/css";
	var t = Ty();
	return t && e.setAttribute("nonce", t), e;
}
function Dy(e, t) {
	e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
}
function Oy(e) {
	(document.head || document.getElementsByTagName("head")[0]).appendChild(e);
}
var ky = function() {
	var e = 0, t = null;
	return {
		add: function(n) {
			e == 0 && (t = Ey()) && (Dy(t, n), Oy(t)), e++;
		},
		remove: function() {
			e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
		}
	};
}, Ay = function() {
	var e = ky();
	return function(t, n) {
		L.useEffect(function() {
			return e.add(t), function() {
				e.remove();
			};
		}, [t && n]);
	};
}, jy = function() {
	var e = Ay();
	return function(t) {
		var n = t.styles, r = t.dynamic;
		return e(n, r), null;
	};
}, My = {
	left: 0,
	top: 0,
	right: 0,
	gap: 0
}, Ny = function(e) {
	return parseInt(e || "", 10) || 0;
}, Py = function(e) {
	var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
	return [
		Ny(n),
		Ny(r),
		Ny(i)
	];
}, Fy = function(e) {
	if (e === void 0 && (e = "margin"), typeof window > "u") return My;
	var t = Py(e), n = document.documentElement.clientWidth, r = window.innerWidth;
	return {
		left: t[0],
		top: t[1],
		right: t[2],
		gap: Math.max(0, r - n + t[2] - t[0])
	};
}, Iy = jy(), Ly = "data-scroll-locked", Ry = function(e, t, n, r) {
	var i = e.left, a = e.top, o = e.right, s = e.gap;
	return n === void 0 && (n = "margin"), `
  .${uy} {
   overflow: hidden ${r};
   padding-right: ${s}px ${r};
  }
  body[${Ly}] {
    overflow: hidden ${r};
    overscroll-behavior: contain;
    ${[
		t && `position: relative ${r};`,
		n === "margin" && `
    padding-left: ${i}px;
    padding-top: ${a}px;
    padding-right: ${o}px;
    margin-left:0;
    margin-top:0;
    margin-right: ${s}px ${r};
    `,
		n === "padding" && `padding-right: ${s}px ${r};`
	].filter(Boolean).join("")}
  }
  
  .${cy} {
    right: ${s}px ${r};
  }
  
  .${ly} {
    margin-right: ${s}px ${r};
  }
  
  .${cy} .${cy} {
    right: 0 ${r};
  }
  
  .${ly} .${ly} {
    margin-right: 0 ${r};
  }
  
  body[${Ly}] {
    ${dy}: ${s}px;
  }
`;
}, zy = function() {
	var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
	return isFinite(e) ? e : 0;
}, By = function() {
	L.useEffect(function() {
		return document.body.setAttribute(Ly, (zy() + 1).toString()), function() {
			var e = zy() - 1;
			e <= 0 ? document.body.removeAttribute(Ly) : document.body.setAttribute(Ly, e.toString());
		};
	}, []);
}, Vy = function(e) {
	var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
	By();
	var a = L.useMemo(function() {
		return Fy(i);
	}, [i]);
	return L.createElement(Iy, { styles: Ry(a, !t, i, n ? "" : "!important") });
}, Hy = !1;
if (typeof window < "u") try {
	var Uy = Object.defineProperty({}, "passive", { get: function() {
		return Hy = !0, !0;
	} });
	window.addEventListener("test", Uy, Uy), window.removeEventListener("test", Uy, Uy);
} catch {
	Hy = !1;
}
var Wy = Hy ? { passive: !1 } : !1, Gy = function(e) {
	return e.tagName === "TEXTAREA";
}, Ky = function(e, t) {
	if (!(e instanceof Element)) return !1;
	var n = window.getComputedStyle(e);
	return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !Gy(e) && n[t] === "visible");
}, qy = function(e) {
	return Ky(e, "overflowY");
}, Jy = function(e) {
	return Ky(e, "overflowX");
}, Yy = function(e, t) {
	var n = t.ownerDocument, r = t;
	do {
		if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), Qy(e, r)) {
			var i = $y(e, r);
			if (i[1] > i[2]) return !0;
		}
		r = r.parentNode;
	} while (r && r !== n.body);
	return !1;
}, Xy = function(e) {
	return [
		e.scrollTop,
		e.scrollHeight,
		e.clientHeight
	];
}, Zy = function(e) {
	return [
		e.scrollLeft,
		e.scrollWidth,
		e.clientWidth
	];
}, Qy = function(e, t) {
	return e === "v" ? qy(t) : Jy(t);
}, $y = function(e, t) {
	return e === "v" ? Xy(t) : Zy(t);
}, eb = function(e, t) {
	return e === "h" && t === "rtl" ? -1 : 1;
}, tb = function(e, t, n, r, i) {
	var a = eb(e, window.getComputedStyle(t).direction), o = a * r, s = n.target, c = t.contains(s), l = !1, u = o > 0, d = 0, f = 0;
	do {
		if (!s) break;
		var p = $y(e, s), m = p[0], h = p[1] - p[2] - a * m;
		(m || h) && Qy(e, s) && (d += h, f += m);
		var g = s.parentNode;
		s = g && g.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? g.host : g;
	} while (!c && s !== document.body || c && (t.contains(s) || t === s));
	return (u && (i && Math.abs(d) < 1 || !i && o > d) || !u && (i && Math.abs(f) < 1 || !i && -o > f)) && (l = !0), l;
}, nb = function(e) {
	return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
}, rb = function(e) {
	return [e.deltaX, e.deltaY];
}, ib = function(e) {
	return e && "current" in e ? e.current : e;
}, ab = function(e, t) {
	return e[0] === t[0] && e[1] === t[1];
}, ob = function(e) {
	return `
  .block-interactivity-${e} {pointer-events: none;}
  .allow-interactivity-${e} {pointer-events: all;}
`;
}, sb = 0, cb = [];
function lb(e) {
	var t = L.useRef([]), n = L.useRef([0, 0]), r = L.useRef(), i = L.useState(sb++)[0], a = L.useState(jy)[0], o = L.useRef(e);
	L.useEffect(function() {
		o.current = e;
	}, [e]), L.useEffect(function() {
		if (e.inert) {
			document.body.classList.add(`block-interactivity-${i}`);
			var t = qr([e.lockRef.current], (e.shards || []).map(ib), !0).filter(Boolean);
			return t.forEach(function(e) {
				return e.classList.add(`allow-interactivity-${i}`);
			}), function() {
				document.body.classList.remove(`block-interactivity-${i}`), t.forEach(function(e) {
					return e.classList.remove(`allow-interactivity-${i}`);
				});
			};
		}
	}, [
		e.inert,
		e.lockRef.current,
		e.shards
	]);
	var s = L.useCallback(function(e, t) {
		if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
		var i = nb(e), a = n.current, s = "deltaX" in e ? e.deltaX : a[0] - i[0], c = "deltaY" in e ? e.deltaY : a[1] - i[1], l, u = e.target, d = Math.abs(s) > Math.abs(c) ? "h" : "v";
		if ("touches" in e && d === "h" && u.type === "range") return !1;
		var f = window.getSelection(), p = f && f.anchorNode;
		if (p && (p === u || p.contains(u))) return !1;
		var m = Yy(d, u);
		if (!m) return !0;
		if (m ? l = d : (l = d === "v" ? "h" : "v", m = Yy(d, u)), !m) return !1;
		if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
		var h = r.current || l;
		return tb(h, t, e, h === "h" ? s : c, !0);
	}, []), c = L.useCallback(function(e) {
		var n = e;
		if (cb.length && cb[cb.length - 1] === a) {
			var r = "deltaY" in n ? rb(n) : nb(n), i = t.current.filter(function(e) {
				return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) && ab(e.delta, r);
			})[0];
			if (i && i.should) n.cancelable && n.preventDefault();
			else if (!i) {
				var c = (o.current.shards || []).map(ib).filter(Boolean).filter(function(e) {
					return e.contains(n.target);
				});
				(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
			}
		}
	}, []), l = L.useCallback(function(e, n, r, i) {
		var a = {
			name: e,
			delta: n,
			target: r,
			should: i,
			shadowParent: ub(r)
		};
		t.current.push(a), setTimeout(function() {
			t.current = t.current.filter(function(e) {
				return e !== a;
			});
		}, 1);
	}, []), u = L.useCallback(function(e) {
		n.current = nb(e), r.current = void 0;
	}, []), d = L.useCallback(function(t) {
		l(t.type, rb(t), t.target, s(t, e.lockRef.current));
	}, []), f = L.useCallback(function(t) {
		l(t.type, nb(t), t.target, s(t, e.lockRef.current));
	}, []);
	L.useEffect(function() {
		return cb.push(a), e.setCallbacks({
			onScrollCapture: d,
			onWheelCapture: d,
			onTouchMoveCapture: f
		}), document.addEventListener("wheel", c, Wy), document.addEventListener("touchmove", c, Wy), document.addEventListener("touchstart", u, Wy), function() {
			cb = cb.filter(function(e) {
				return e !== a;
			}), document.removeEventListener("wheel", c, Wy), document.removeEventListener("touchmove", c, Wy), document.removeEventListener("touchstart", u, Wy);
		};
	}, []);
	var p = e.removeScrollBar, m = e.inert;
	return L.createElement(L.Fragment, null, m ? L.createElement(a, { styles: ob(i) }) : null, p ? L.createElement(Vy, {
		noRelative: e.noRelative,
		gapMode: e.gapMode
	}) : null);
}
function ub(e) {
	for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
	return t;
}
// ../../../node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.js
var db = xy(Sy, lb), fb = L.forwardRef(function(e, t) {
	return L.createElement(wy, Gr({}, e, {
		ref: t,
		sideCar: db
	}));
});
fb.classNames = wy.classNames;
// ../../../node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js
var pb = function(e) {
	return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
}, mb = /* @__PURE__ */ new WeakMap(), hb = /* @__PURE__ */ new WeakMap(), gb = {}, _b = 0, vb = function(e) {
	return e && (e.host || vb(e.parentNode));
}, yb = function(e, t) {
	return t.map(function(t) {
		if (e.contains(t)) return t;
		var n = vb(t);
		return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
	}).filter(function(e) {
		return !!e;
	});
}, bb = function(e, t, n, r) {
	var i = yb(t, Array.isArray(e) ? e : [e]);
	gb[n] || (gb[n] = /* @__PURE__ */ new WeakMap());
	var a = gb[n], o = [], s = /* @__PURE__ */ new Set(), c = new Set(i), l = function(e) {
		e && !s.has(e) && (s.add(e), l(e.parentNode));
	};
	i.forEach(l);
	var u = function(e) {
		e && !c.has(e) && Array.prototype.forEach.call(e.children, function(e) {
			if (s.has(e)) u(e);
			else try {
				var t = e.getAttribute(r), i = t !== null && t !== "false", c = (mb.get(e) || 0) + 1, l = (a.get(e) || 0) + 1;
				mb.set(e, c), a.set(e, l), o.push(e), c === 1 && i && hb.set(e, !0), l === 1 && e.setAttribute(n, "true"), i || e.setAttribute(r, "true");
			} catch (t) {
				console.error("aria-hidden: cannot operate on ", e, t);
			}
		});
	};
	return u(t), s.clear(), _b++, function() {
		o.forEach(function(e) {
			var t = mb.get(e) - 1, i = a.get(e) - 1;
			mb.set(e, t), a.set(e, i), t || (hb.has(e) || e.removeAttribute(r), hb.delete(e)), i || e.removeAttribute(n);
		}), _b--, _b || (mb = /* @__PURE__ */ new WeakMap(), mb = /* @__PURE__ */ new WeakMap(), hb = /* @__PURE__ */ new WeakMap(), gb = {});
	};
}, xb = function(e, t, n) {
	n === void 0 && (n = "data-aria-hidden");
	var r = Array.from(Array.isArray(e) ? e : [e]), i = t || pb(e);
	return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), bb(r, i, n, "aria-hidden")) : function() {
		return null;
	};
}, Sb = "Dialog", [Cb, wb] = nv(Sb), [Tb, Eb] = Cb(Sb), Db = (e) => {
	let { __scopeDialog: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !0 } = e, s = L.useRef(null), c = L.useRef(null), [l, u] = lv({
		prop: r,
		defaultProp: i ?? !1,
		onChange: a,
		caller: Sb
	});
	return /* @__PURE__ */ K(Tb, {
		scope: t,
		triggerRef: s,
		contentRef: c,
		contentId: sv(),
		titleId: sv(),
		descriptionId: sv(),
		open: l,
		onOpenChange: u,
		onOpenToggle: L.useCallback(() => u((e) => !e), [u]),
		modal: o,
		children: n
	});
};
Db.displayName = Sb;
var Ob = "DialogTrigger", kb = L.forwardRef((e, t) => {
	let { __scopeDialog: n, ...r } = e, i = Eb(Ob, n), a = z_(t, i.triggerRef);
	return /* @__PURE__ */ K(yv.button, {
		type: "button",
		"aria-haspopup": "dialog",
		"aria-expanded": i.open,
		"aria-controls": i.contentId,
		"data-state": Yb(i.open),
		...r,
		ref: a,
		onClick: $(e.onClick, i.onOpenToggle)
	});
});
kb.displayName = Ob;
var Ab = "DialogPortal", [jb, Mb] = Cb(Ab, { forceMount: void 0 }), Nb = (e) => {
	let { __scopeDialog: t, forceMount: n, children: r, container: i } = e, a = Eb(Ab, t);
	return /* @__PURE__ */ K(jb, {
		scope: t,
		forceMount: n,
		children: L.Children.map(r, (e) => /* @__PURE__ */ K(ty, {
			present: n || a.open,
			children: /* @__PURE__ */ K($v, {
				asChild: !0,
				container: i,
				children: e
			})
		}))
	});
};
Nb.displayName = Ab;
var Pb = "DialogOverlay", Fb = L.forwardRef((e, t) => {
	let n = Mb(Pb, e.__scopeDialog), { forceMount: r = n.forceMount, ...i } = e, a = Eb(Pb, e.__scopeDialog);
	return a.modal ? /* @__PURE__ */ K(ty, {
		present: r || a.open,
		children: /* @__PURE__ */ K(Lb, {
			...i,
			ref: t
		})
	}) : null;
});
Fb.displayName = Pb;
var Ib = /* @__PURE__ */ fv("DialogOverlay.RemoveScroll"), Lb = L.forwardRef((e, t) => {
	let { __scopeDialog: n, ...r } = e, i = Eb(Pb, n);
	return /* @__PURE__ */ K(fb, {
		as: Ib,
		allowPinchZoom: !0,
		shards: [i.contentRef],
		children: /* @__PURE__ */ K(yv.div, {
			"data-state": Yb(i.open),
			...r,
			ref: t,
			style: {
				pointerEvents: "auto",
				...r.style
			}
		})
	});
}), Rb = "DialogContent", zb = L.forwardRef((e, t) => {
	let n = Mb(Rb, e.__scopeDialog), { forceMount: r = n.forceMount, ...i } = e, a = Eb(Rb, e.__scopeDialog);
	return /* @__PURE__ */ K(ty, {
		present: r || a.open,
		children: a.modal ? /* @__PURE__ */ K(Bb, {
			...i,
			ref: t
		}) : /* @__PURE__ */ K(Vb, {
			...i,
			ref: t
		})
	});
});
zb.displayName = Rb;
var Bb = L.forwardRef((e, t) => {
	let n = Eb(Rb, e.__scopeDialog), r = L.useRef(null), i = z_(t, n.contentRef, r);
	return L.useEffect(() => {
		let e = r.current;
		if (e) return xb(e);
	}, []), /* @__PURE__ */ K(Hb, {
		...e,
		ref: i,
		trapFocus: n.open,
		disableOutsidePointerEvents: !0,
		onCloseAutoFocus: $(e.onCloseAutoFocus, (e) => {
			e.preventDefault(), n.triggerRef.current?.focus();
		}),
		onPointerDownOutside: $(e.onPointerDownOutside, (e) => {
			let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0;
			(t.button === 2 || n) && e.preventDefault();
		}),
		onFocusOutside: $(e.onFocusOutside, (e) => e.preventDefault())
	});
}), Vb = L.forwardRef((e, t) => {
	let n = Eb(Rb, e.__scopeDialog), r = L.useRef(!1), i = L.useRef(!1);
	return /* @__PURE__ */ K(Hb, {
		...e,
		ref: t,
		trapFocus: !1,
		disableOutsidePointerEvents: !1,
		onCloseAutoFocus: (t) => {
			e.onCloseAutoFocus?.(t), t.defaultPrevented || (r.current || n.triggerRef.current?.focus(), t.preventDefault()), r.current = !1, i.current = !1;
		},
		onInteractOutside: (t) => {
			e.onInteractOutside?.(t), t.defaultPrevented || (r.current = !0, t.detail.originalEvent.type === "pointerdown" && (i.current = !0));
			let a = t.target;
			n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
		}
	});
}), Hb = L.forwardRef((e, t) => {
	let { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, ...o } = e, s = Eb(Rb, n), c = L.useRef(null), l = z_(t, c);
	return oy(), /* @__PURE__ */ q(Wr, { children: [/* @__PURE__ */ K(Bv, {
		asChild: !0,
		loop: !0,
		trapped: r,
		onMountAutoFocus: i,
		onUnmountAutoFocus: a,
		children: /* @__PURE__ */ K(kv, {
			role: "dialog",
			id: s.contentId,
			"aria-describedby": s.descriptionId,
			"aria-labelledby": s.titleId,
			"data-state": Yb(s.open),
			...o,
			ref: l,
			onDismiss: () => s.onOpenChange(!1)
		})
	}), /* @__PURE__ */ q(Wr, { children: [/* @__PURE__ */ K($b, { titleId: s.titleId }), /* @__PURE__ */ K(tx, {
		contentRef: c,
		descriptionId: s.descriptionId
	})] })] });
}), Ub = "DialogTitle", Wb = L.forwardRef((e, t) => {
	let { __scopeDialog: n, ...r } = e, i = Eb(Ub, n);
	return /* @__PURE__ */ K(yv.h2, {
		id: i.titleId,
		...r,
		ref: t
	});
});
Wb.displayName = Ub;
var Gb = "DialogDescription", Kb = L.forwardRef((e, t) => {
	let { __scopeDialog: n, ...r } = e, i = Eb(Gb, n);
	return /* @__PURE__ */ K(yv.p, {
		id: i.descriptionId,
		...r,
		ref: t
	});
});
Kb.displayName = Gb;
var qb = "DialogClose", Jb = L.forwardRef((e, t) => {
	let { __scopeDialog: n, ...r } = e, i = Eb(qb, n);
	return /* @__PURE__ */ K(yv.button, {
		type: "button",
		...r,
		ref: t,
		onClick: $(e.onClick, () => i.onOpenChange(!1))
	});
});
Jb.displayName = qb;
function Yb(e) {
	return e ? "open" : "closed";
}
var Xb = "DialogTitleWarning", [Zb, Qb] = tv(Xb, {
	contentName: Rb,
	titleName: Ub,
	docsSlug: "dialog"
}), $b = ({ titleId: e }) => {
	let t = Qb(Xb), n = `\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.

If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.

For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;
	return L.useEffect(() => {
		e && (document.getElementById(e) || console.error(n));
	}, [n, e]), null;
}, ex = "DialogDescriptionWarning", tx = ({ contentRef: e, descriptionId: t }) => {
	let n = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Qb(ex).contentName}}.`;
	return L.useEffect(() => {
		let r = e.current?.getAttribute("aria-describedby");
		t && r && (document.getElementById(t) || console.warn(n));
	}, [
		n,
		e,
		t
	]), null;
}, nx = Db, rx = kb, ix = Nb, ax = Fb, ox = zb, sx = Wb, cx = Kb, lx = Jb;
// src/components/ui/dialog.tsx
function ux({ ...e }) {
	return /* @__PURE__ */ K(nx, {
		"data-slot": "dialog",
		...e
	});
}
function dx({ ...e }) {
	return /* @__PURE__ */ K(rx, {
		"data-slot": "dialog-trigger",
		...e
	});
}
function fx({ ...e }) {
	let { container: t } = $_();
	return /* @__PURE__ */ K(ix, {
		"data-slot": "dialog-portal",
		...e,
		container: t
	});
}
function px({ ...e }) {
	return /* @__PURE__ */ K(lx, {
		"data-slot": "dialog-close",
		...e
	});
}
function mx({ className: e, ...t }) {
	return /* @__PURE__ */ K(ax, {
		"data-slot": "dialog-overlay",
		className: X("fixed inset-0 z-150 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0", e),
		...t
	});
}
function hx({ className: e, children: t, showCloseButton: n = !0, ...r }) {
	return /* @__PURE__ */ q(fx, {
		"data-slot": "dialog-portal",
		children: [/* @__PURE__ */ K(mx, {}), /* @__PURE__ */ q(ox, {
			"data-slot": "dialog-content",
			className: X("fixed top-[50%] left-[50%] z-150 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border bg-background p-6 shadow-lg duration-200 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 sm:max-w-lg", e),
			...r,
			children: [t, n && /* @__PURE__ */ q(lx, {
				"data-slot": "dialog-close",
				className: "absolute top-4 right-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
				children: [/* @__PURE__ */ K(Fr, {}), /* @__PURE__ */ K("span", {
					className: "sr-only",
					children: "Close"
				})]
			})]
		})]
	});
}
function gx({ className: e, ...t }) {
	return /* @__PURE__ */ K("div", {
		"data-slot": "dialog-header",
		className: X("flex flex-col gap-2 text-center sm:text-left", e),
		...t
	});
}
function _x({ className: e, ...t }) {
	return /* @__PURE__ */ K("div", {
		"data-slot": "dialog-footer",
		className: X("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
		...t
	});
}
function vx({ className: e, ...t }) {
	return /* @__PURE__ */ K(sx, {
		"data-slot": "dialog-title",
		className: X("text-lg leading-none font-semibold", e),
		...t
	});
}
function yx({ className: e, ...t }) {
	return /* @__PURE__ */ K(cx, {
		"data-slot": "dialog-description",
		className: X("text-sm text-muted-foreground", e),
		...t
	});
}
// ../../../node_modules/.pnpm/@radix-ui+react-collection@1.1.7_@types+react-dom@18.3.5_@types+react@18.3.18__@types+r_17649c5ead956195d564632e84fcc4bb/node_modules/@radix-ui/react-collection/dist/index.mjs
function bx(e) {
	let t = e + "CollectionProvider", [n, r] = nv(t), [i, a] = n(t, {
		collectionRef: { current: null },
		itemMap: /* @__PURE__ */ new Map()
	}), o = (e) => {
		let { scope: t, children: n } = e, r = R.useRef(null), a = R.useRef(/* @__PURE__ */ new Map()).current;
		return /* @__PURE__ */ K(i, {
			scope: t,
			itemMap: a,
			collectionRef: r,
			children: n
		});
	};
	o.displayName = t;
	let s = e + "CollectionSlot", c = /* @__PURE__ */ fv(s), l = R.forwardRef((e, t) => {
		let { scope: n, children: r } = e, i = z_(t, a(s, n).collectionRef);
		return /* @__PURE__ */ K(c, {
			ref: i,
			children: r
		});
	});
	l.displayName = s;
	let u = e + "CollectionItemSlot", d = "data-radix-collection-item", f = /* @__PURE__ */ fv(u), p = R.forwardRef((e, t) => {
		let { scope: n, children: r, ...i } = e, o = R.useRef(null), s = z_(t, o), c = a(u, n);
		return R.useEffect(() => (c.itemMap.set(o, {
			ref: o,
			...i
		}), () => void c.itemMap.delete(o))), /* @__PURE__ */ K(f, {
			[d]: "",
			ref: s,
			children: r
		});
	});
	p.displayName = u;
	function m(t) {
		let n = a(e + "CollectionConsumer", t);
		return R.useCallback(() => {
			let e = n.collectionRef.current;
			if (!e) return [];
			let t = Array.from(e.querySelectorAll(`[${d}]`));
			return Array.from(n.itemMap.values()).sort((e, n) => t.indexOf(e.ref.current) - t.indexOf(n.ref.current));
		}, [n.collectionRef, n.itemMap]);
	}
	return [
		{
			Provider: o,
			Slot: l,
			ItemSlot: p
		},
		m,
		r
	];
}
// ../../../node_modules/.pnpm/@radix-ui+react-direction@1.1.1_@types+react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-direction/dist/index.mjs
var xx = L.createContext(void 0);
function Sx(e) {
	let t = L.useContext(xx);
	return e || t || "ltr";
}
// ../../../node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
var Cx = [
	"top",
	"right",
	"bottom",
	"left"
], wx = Math.min, Tx = Math.max, Ex = Math.round, Dx = Math.floor, Ox = (e) => ({
	x: e,
	y: e
}), kx = {
	left: "right",
	right: "left",
	bottom: "top",
	top: "bottom"
};
function Ax(e, t, n) {
	return Tx(e, wx(t, n));
}
function jx(e, t) {
	return typeof e == "function" ? e(t) : e;
}
function Mx(e) {
	return e.split("-")[0];
}
function Nx(e) {
	return e.split("-")[1];
}
function Px(e) {
	return e === "x" ? "y" : "x";
}
function Fx(e) {
	return e === "y" ? "height" : "width";
}
function Ix(e) {
	let t = e[0];
	return t === "t" || t === "b" ? "y" : "x";
}
function Lx(e) {
	return Px(Ix(e));
}
function Rx(e, t, n) {
	n === void 0 && (n = !1);
	let r = Nx(e), i = Lx(e), a = Fx(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
	return t.reference[a] > t.floating[a] && (o = qx(o)), [o, qx(o)];
}
function zx(e) {
	let t = qx(e);
	return [
		Bx(e),
		t,
		Bx(t)
	];
}
function Bx(e) {
	return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
}
var Vx = ["left", "right"], Hx = ["right", "left"], Ux = ["top", "bottom"], Wx = ["bottom", "top"];
function Gx(e, t, n) {
	switch (e) {
		case "top":
		case "bottom": return n ? t ? Hx : Vx : t ? Vx : Hx;
		case "left":
		case "right": return t ? Ux : Wx;
		default: return [];
	}
}
function Kx(e, t, n, r) {
	let i = Nx(e), a = Gx(Mx(e), n === "start", r);
	return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(Bx)))), a;
}
function qx(e) {
	let t = Mx(e);
	return kx[t] + e.slice(t.length);
}
function Jx(e) {
	return {
		top: e.top ?? 0,
		right: e.right ?? 0,
		bottom: e.bottom ?? 0,
		left: e.left ?? 0
	};
}
function Yx(e) {
	return typeof e == "number" ? {
		top: e,
		right: e,
		bottom: e,
		left: e
	} : Jx(e);
}
function Xx(e) {
	let { x: t, y: n, width: r, height: i } = e;
	return {
		width: r,
		height: i,
		top: n,
		left: t,
		right: t + r,
		bottom: n + i,
		x: t,
		y: n
	};
}
// ../../../node_modules/.pnpm/@floating-ui+core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.mjs
function Zx(e, t, n) {
	let { reference: r, floating: i } = e, a = Ix(t), o = Lx(t), s = Fx(o), c = Mx(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
	switch (c) {
		case "top":
			p = {
				x: u,
				y: r.y - i.height
			};
			break;
		case "bottom":
			p = {
				x: u,
				y: r.y + r.height
			};
			break;
		case "right":
			p = {
				x: r.x + r.width,
				y: d
			};
			break;
		case "left":
			p = {
				x: r.x - i.width,
				y: d
			};
			break;
		default: p = {
			x: r.x,
			y: r.y
		};
	}
	let m = Nx(t);
	return m && (p[o] += f * (m === "end" ? 1 : -1) * (n && l ? -1 : 1)), p;
}
async function Qx(e, t) {
	t === void 0 && (t = {});
	let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = jx(t, e), p = Yx(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = Xx(await i.getClippingRect({
		element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
		boundary: c,
		rootBoundary: l,
		strategy: s
	})), g = u === "floating" ? {
		x: n,
		y: r,
		width: a.floating.width,
		height: a.floating.height
	} : a.reference, _ = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(o.floating)), v = await (i.isElement == null ? void 0 : i.isElement(_)) && await (i.getScale == null ? void 0 : i.getScale(_)) || {
		x: 1,
		y: 1
	}, y = Xx(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
		elements: o,
		rect: g,
		offsetParent: _,
		strategy: s
	}) : g);
	return {
		top: (h.top - y.top + p.top) / v.y,
		bottom: (y.bottom - h.bottom + p.bottom) / v.y,
		left: (h.left - y.left + p.left) / v.x,
		right: (y.right - h.right + p.right) / v.x
	};
}
var $x = 50, eS = async (e, t, n) => {
	let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
		...o,
		detectOverflow: Qx
	}, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
		reference: e,
		floating: t,
		strategy: i
	}), { x: u, y: d } = Zx(l, r, c), f = r, p = 0, m = {};
	for (let n = 0; n < a.length; n++) {
		let h = a[n];
		if (!h) continue;
		let { name: g, fn: _ } = h, { x: v, y, data: b, reset: x } = await _({
			x: u,
			y: d,
			initialPlacement: r,
			placement: f,
			strategy: i,
			middlewareData: m,
			rects: l,
			platform: s,
			elements: {
				reference: e,
				floating: t
			}
		});
		u = v ?? u, d = y ?? d, m[g] = {
			...m[g],
			...b
		}, x && p < $x && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
			reference: e,
			floating: t,
			strategy: i
		}) : x.rects), {x: u, y: d} = Zx(l, f, c)), n = -1);
	}
	return {
		x: u,
		y: d,
		placement: f,
		strategy: i,
		middlewareData: m
	};
}, tS = (e) => ({
	name: "arrow",
	options: e,
	async fn(t) {
		let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = jx(e, t) || {};
		if (l == null) return {};
		let d = Yx(u), f = {
			x: n,
			y: r
		}, p = Lx(i), m = Fx(p), h = await o.getDimensions(l), g = p === "y", _ = g ? "top" : "left", v = g ? "bottom" : "right", y = g ? "clientHeight" : "clientWidth", b = a.reference[m] + a.reference[p] - f[p] - a.floating[m], x = f[p] - a.reference[p], S = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l)), C = S ? S[y] : 0;
		C && await (o.isElement == null ? void 0 : o.isElement(S)) || (C = s.floating[y] || a.floating[m]);
		let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, E = wx(d[_], T), D = wx(d[v], T), O = C - h[m] - D, k = C / 2 - h[m] / 2 + w, A = Ax(E, k, O), ee = !c.arrow && Nx(i) != null && k !== A && a.reference[m] / 2 - (k < E ? E : D) - h[m] / 2 < 0, j = ee ? k < E ? k - E : k - O : 0;
		return {
			[p]: f[p] + j,
			data: {
				[p]: A,
				centerOffset: k - A - j,
				...ee && { alignmentOffset: j }
			},
			reset: ee
		};
	}
}), nS = function(e) {
	return e === void 0 && (e = {}), {
		name: "flip",
		options: e,
		async fn(t) {
			var n;
			let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = jx(e, t);
			if ((n = i.arrow) != null && n.alignmentOffset) return {};
			let g = Mx(r), _ = Ix(o), v = Mx(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [qx(o)] : zx(o)), x = p !== "none";
			!d && x && b.push(...Kx(o, m, p, y));
			let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
			if (l && w.push(C[g]), u) {
				let e = Rx(r, a, y);
				w.push(C[e[0]], C[e[1]]);
			}
			if (T = [...T, {
				placement: r,
				overflows: w
			}], !w.every((e) => e <= 0)) {
				let e = (i.flip?.index || 0) + 1, t = S[e];
				if (t && (u !== "alignment" || _ === Ix(t) || T.every((e) => Ix(e.placement) !== _ || e.overflows[0] > 0))) return {
					data: {
						index: e,
						overflows: T
					},
					reset: { placement: t }
				};
				let n = T.filter((e) => e.overflows[0] <= 0).sort((e, t) => e.overflows[1] - t.overflows[1])[0]?.placement;
				if (!n) switch (f) {
					case "bestFit": {
						let e = T.filter((e) => {
							if (x) {
								let t = Ix(e.placement);
								return t === _ || t === "y";
							}
							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]?.[0];
						e && (n = e);
						break;
					}
					case "initialPlacement": n = o;
				}
				if (r !== n) return { reset: { placement: n } };
			}
			return {};
		}
	};
};
function rS(e, t) {
	return {
		top: e.top - t.height,
		right: e.right - t.width,
		bottom: e.bottom - t.height,
		left: e.left - t.width
	};
}
function iS(e) {
	return Cx.some((t) => e[t] >= 0);
}
var aS = function(e) {
	return e === void 0 && (e = {}), {
		name: "hide",
		options: e,
		async fn(t) {
			let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = jx(e, t);
			switch (i) {
				case "referenceHidden": {
					let e = rS(await r.detectOverflow(t, {
						...a,
						elementContext: "reference"
					}), n.reference);
					return { data: {
						referenceHiddenOffsets: e,
						referenceHidden: iS(e)
					} };
				}
				case "escaped": {
					let e = rS(await r.detectOverflow(t, {
						...a,
						altBoundary: !0
					}), n.floating);
					return { data: {
						escapedOffsets: e,
						escaped: iS(e)
					} };
				}
				default: return {};
			}
		}
	};
}, oS = /*#__PURE__*/ new Set(["left", "top"]);
async function sS(e, t) {
	let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = Mx(n), s = Nx(n), c = Ix(n) === "y", l = oS.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = jx(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
		mainAxis: d,
		crossAxis: 0,
		alignmentAxis: null
	} : {
		mainAxis: d.mainAxis || 0,
		crossAxis: d.crossAxis || 0,
		alignmentAxis: d.alignmentAxis
	};
	return s && typeof m == "number" && (p = s === "end" ? m * -1 : m), c ? {
		x: p * u,
		y: f * l
	} : {
		x: f * l,
		y: p * u
	};
}
var cS = function(e) {
	return e === void 0 && (e = 0), {
		name: "offset",
		options: e,
		async fn(t) {
			var n;
			let { x: r, y: i, placement: a, middlewareData: o } = t, s = await sS(t, e);
			return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
				x: r + s.x,
				y: i + s.y,
				data: {
					...s,
					placement: a
				}
			};
		}
	};
}, lS = function(e) {
	return e === void 0 && (e = {}), {
		name: "shift",
		options: e,
		async fn(t) {
			let { x: n, y: r, placement: i, platform: a } = t, { mainAxis: o = !0, crossAxis: s = !1, limiter: c = { fn: (e) => {
				let { x: t, y: n } = e;
				return {
					x: t,
					y: n
				};
			} }, ...l } = jx(e, t), u = {
				x: n,
				y: r
			}, d = await a.detectOverflow(t, l), f = Ix(i), p = Px(f), m = u[p], h = u[f], g = (e, t) => Ax(t + d[e === "y" ? "top" : "left"], t, t - d[e === "y" ? "bottom" : "right"]);
			o && (m = g(p, m)), s && (h = g(f, h));
			let _ = c.fn({
				...t,
				[p]: m,
				[f]: h
			});
			return {
				..._,
				data: {
					x: _.x - n,
					y: _.y - r,
					enabled: {
						[p]: o,
						[f]: s
					}
				}
			};
		}
	};
}, uS = function(e) {
	return e === void 0 && (e = {}), {
		options: e,
		fn(t) {
			let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } = jx(e, t), u = {
				x: n,
				y: r
			}, d = Ix(i), f = Px(d), p = u[f], m = u[d], h = jx(s, t), g = typeof h == "number" ? {
				mainAxis: h,
				crossAxis: 0
			} : {
				mainAxis: h.mainAxis ?? 0,
				crossAxis: h.crossAxis ?? 0
			};
			if (c) {
				let e = f === "y" ? "height" : "width", t = a.reference[f] - a.floating[e] + g.mainAxis, n = a.reference[f] + a.reference[e] - g.mainAxis;
				p < t ? p = t : p > n && (p = n);
			}
			if (l) {
				let e = f === "y" ? "width" : "height", t = oS.has(Mx(i)), n = a.reference[d] - a.floating[e] + (t && o.offset?.[d] || 0) + (t ? 0 : g.crossAxis), r = a.reference[d] + a.reference[e] + (t ? 0 : o.offset?.[d] || 0) - (t ? g.crossAxis : 0);
				m < n ? m = n : m > r && (m = r);
			}
			return {
				[f]: p,
				[d]: m
			};
		}
	};
}, dS = function(e) {
	return e === void 0 && (e = {}), {
		name: "size",
		options: e,
		async fn(t) {
			let { placement: n, rects: r, platform: i, elements: a } = t, { apply: o = () => {}, ...s } = jx(e, t), c = await i.detectOverflow(t, s), l = Mx(n), u = Nx(n), d = Ix(n) === "y", { width: f, height: p } = r.floating, m, h;
			l === "top" || l === "bottom" ? (m = l, h = u === (await (i.isRTL == null ? void 0 : i.isRTL(a.floating)) ? "start" : "end") ? "left" : "right") : (h = l, m = u === "end" ? "top" : "bottom");
			let g = p - c.top - c.bottom, _ = f - c.left - c.right, v = wx(p - c[m], g), y = wx(f - c[h], _), b = t.middlewareData.shift, x = !b, S = v, C = y;
			b != null && b.enabled.x && (C = _), b != null && b.enabled.y && (S = g), x && !u && (d ? C = f - 2 * Tx(c.left, c.right) : S = p - 2 * Tx(c.top, c.bottom)), await o({
				...t,
				availableWidth: C,
				availableHeight: S
			});
			let w = await i.getDimensions(a.floating);
			return f !== w.width || p !== w.height ? { reset: { rects: !0 } } : {};
		}
	};
};
// ../../../node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
function fS() {
	return typeof window < "u";
}
function pS(e) {
	return gS(e) ? (e.nodeName || "").toLowerCase() : "#document";
}
function mS(e) {
	var t;
	return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
}
function hS(e) {
	return ((gS(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
}
function gS(e) {
	return fS() ? e instanceof Node || e instanceof mS(e).Node : !1;
}
function _S(e) {
	return fS() ? e instanceof Element || e instanceof mS(e).Element : !1;
}
function vS(e) {
	return fS() ? e instanceof HTMLElement || e instanceof mS(e).HTMLElement : !1;
}
function yS(e) {
	return !fS() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof mS(e).ShadowRoot;
}
function bS(e) {
	let { overflow: t, overflowX: n, overflowY: r, display: i } = jS(e);
	return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
}
function xS(e) {
	return /^(table|td|th)$/.test(pS(e));
}
function SS(e) {
	try {
		if (e.matches(":popover-open")) return !0;
	} catch {}
	try {
		return e.matches(":modal");
	} catch {
		return !1;
	}
}
var CS = /transform|translate|scale|rotate|perspective|filter/, wS = /paint|layout|strict|content/, TS = (e) => !!e && e !== "none", ES;
function DS(e) {
	let t = _S(e) ? jS(e) : e;
	return TS(t.transform) || TS(t.translate) || TS(t.scale) || TS(t.rotate) || TS(t.perspective) || !kS() && (TS(t.backdropFilter) || TS(t.filter)) || CS.test(t.willChange || "") || wS.test(t.contain || "");
}
function OS(e) {
	let t = NS(e);
	for (; vS(t) && !AS(t);) {
		if (DS(t)) return t;
		if (SS(t)) return null;
		t = NS(t);
	}
	return null;
}
function kS() {
	return ES ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), ES;
}
function AS(e) {
	return /^(html|body|#document)$/.test(pS(e));
}
function jS(e) {
	return mS(e).getComputedStyle(e);
}
function MS(e) {
	return _S(e) ? {
		scrollLeft: e.scrollLeft,
		scrollTop: e.scrollTop
	} : {
		scrollLeft: e.scrollX,
		scrollTop: e.scrollY
	};
}
function NS(e) {
	if (pS(e) === "html") return e;
	let t = e.assignedSlot || e.parentNode || yS(e) && e.host || hS(e);
	return yS(t) ? t.host : t;
}
function PS(e) {
	let t = NS(e);
	return AS(t) ? (e.ownerDocument || e).body : vS(t) && bS(t) ? t : PS(t);
}
function FS(e, t, n) {
	t === void 0 && (t = []), n === void 0 && (n = !0);
	let r = PS(e), i = r === e.ownerDocument?.body, a = mS(r);
	if (i) {
		let e = IS(a);
		return t.concat(a, a.visualViewport || [], bS(r) ? r : [], e && n ? FS(e) : []);
	}
	return t.concat(r, FS(r, [], n));
}
function IS(e) {
	return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
}
// ../../../node_modules/.pnpm/@floating-ui+dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
function LS(e) {
	let t = jS(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = vS(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = Ex(n) !== a || Ex(r) !== o;
	return s && (n = a, r = o), {
		width: n,
		height: r,
		$: s
	};
}
function RS(e) {
	return _S(e) ? e : e.contextElement;
}
function zS(e) {
	let t = RS(e);
	if (!vS(t)) return Ox(1);
	let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = LS(t), o = (a ? Ex(n.width) : n.width) / r, s = (a ? Ex(n.height) : n.height) / i;
	return o && Number.isFinite(o) || (o = 1), s && Number.isFinite(s) || (s = 1), {
		x: o,
		y: s
	};
}
var BS = /*#__PURE__*/ Ox(0);
function VS(e) {
	let t = mS(e);
	return !kS() || !t.visualViewport ? BS : {
		x: t.visualViewport.offsetLeft,
		y: t.visualViewport.offsetTop
	};
}
function HS(e, t, n) {
	return t === void 0 && (t = !1), !!n && t && n === mS(e);
}
function US(e, t, n, r) {
	t === void 0 && (t = !1), n === void 0 && (n = !1);
	let i = e.getBoundingClientRect(), a = RS(e), o = Ox(1);
	t && (r ? _S(r) && (o = zS(r)) : o = zS(e));
	let s = HS(a, n, r) ? VS(a) : Ox(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
	if (a && r) {
		let e = mS(a), t = _S(r) ? mS(r) : r, n = e, i = IS(n);
		for (; i && t !== n;) {
			let e = zS(i), t = i.getBoundingClientRect(), r = jS(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
			c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = mS(i), i = IS(n);
		}
	}
	return Xx({
		width: u,
		height: d,
		x: c,
		y: l
	});
}
function WS(e, t) {
	let n = MS(e).scrollLeft;
	return t ? t.left + n : US(hS(e)).left + n;
}
function GS(e, t) {
	let n = e.getBoundingClientRect();
	return {
		x: n.left + t.scrollLeft - WS(e, n),
		y: n.top + t.scrollTop
	};
}
function KS(e) {
	let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = hS(r), s = t ? SS(t.floating) : !1;
	if (r === o || s && a) return n;
	let c = {
		scrollLeft: 0,
		scrollTop: 0
	}, l = Ox(1), u = Ox(0), d = vS(r);
	if ((d || !a) && ((pS(r) !== "body" || bS(o)) && (c = MS(r)), d)) {
		let e = US(r);
		l = zS(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
	}
	let f = o && !d && !a ? GS(o, c) : Ox(0);
	return {
		width: n.width * l.x,
		height: n.height * l.y,
		x: n.x * l.x - c.scrollLeft * l.x + u.x + f.x,
		y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
	};
}
function qS(e) {
	return e.getClientRects ? Array.from(e.getClientRects()) : [];
}
function JS(e) {
	let t = MS(e), n = e.ownerDocument.body, r = Tx(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), i = Tx(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight), a = -t.scrollLeft + WS(e), o = -t.scrollTop;
	return jS(n).direction === "rtl" && (a += Tx(e.clientWidth, n.clientWidth) - r), {
		width: r,
		height: i,
		x: a,
		y: o
	};
}
var YS = 25;
function XS(e, t, n) {
	n === void 0 && (n = "viewport");
	let r = n === "layoutViewport", i = mS(e), a = hS(e), o = i.visualViewport, s = a.clientWidth, c = a.clientHeight, l = 0, u = 0;
	if (o) {
		let e = !kS() || t === "fixed";
		r ? e || (l = -o.offsetLeft, u = -o.offsetTop) : (s = o.width, c = o.height, e && (l = o.offsetLeft, u = o.offsetTop));
	}
	if (WS(a) <= 0) {
		let e = a.ownerDocument, t = e.body, n = getComputedStyle(t), r = e.compatMode === "CSS1Compat" && parseFloat(n.marginLeft) + parseFloat(n.marginRight) || 0, i = Math.abs(a.clientWidth - t.clientWidth - r), o = getComputedStyle(a).scrollbarGutter === "stable both-edges" ? i / 2 : i;
		o <= YS && (s -= o);
	}
	return {
		width: s,
		height: c,
		x: l,
		y: u
	};
}
function ZS(e, t) {
	let n = US(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = zS(e);
	return {
		width: e.clientWidth * a.x,
		height: e.clientHeight * a.y,
		x: i * a.x,
		y: r * a.y
	};
}
function QS(e, t, n) {
	let r;
	if (t === "viewport" || t === "layoutViewport") r = XS(e, n, t);
	else if (t === "document") r = JS(hS(e));
	else if (_S(t)) r = ZS(t, n);
	else {
		let n = VS(e);
		r = {
			x: t.x - n.x,
			y: t.y - n.y,
			width: t.width,
			height: t.height
		};
	}
	return Xx(r);
}
function $S(e, t) {
	let n = t.get(e);
	if (n) return n;
	let r = FS(e, [], !1).filter((e) => _S(e) && pS(e) !== "body"), i = null, a = jS(e).position === "fixed", o = a ? NS(e) : e;
	for (; _S(o) && !AS(o);) {
		let e = jS(o), t = DS(o), n = i ? i.position : a ? "fixed" : "";
		!t && (n === "fixed" || n === "absolute" && e.position === "static") ? r = r.filter((e) => e !== o) : i = e, o = NS(o);
	}
	return t.set(e, r), r;
}
function eC(e) {
	let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? SS(t) ? [] : $S(t, this._c) : [].concat(n), r], o = QS(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
	for (let e = 1; e < a.length; e++) {
		let n = QS(t, a[e], i);
		s = Tx(n.top, s), c = wx(n.right, c), l = wx(n.bottom, l), u = Tx(n.left, u);
	}
	return {
		width: c - u,
		height: l - s,
		x: u,
		y: s
	};
}
function tC(e) {
	let { width: t, height: n } = LS(e);
	return {
		width: t,
		height: n
	};
}
function nC(e, t, n) {
	let r = vS(t), i = hS(t), a = n === "fixed", o = US(e, !0, a, t), s = {
		scrollLeft: 0,
		scrollTop: 0
	}, c = Ox(0);
	if ((r || !a) && ((pS(t) !== "body" || bS(i)) && (s = MS(t)), r)) {
		let e = US(t, !0, a, t);
		c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
	}
	!r && i && (c.x = WS(i));
	let l = i && !r && !a ? GS(i, s) : Ox(0);
	return {
		x: o.left + s.scrollLeft - c.x - l.x,
		y: o.top + s.scrollTop - c.y - l.y,
		width: o.width,
		height: o.height
	};
}
function rC(e) {
	return jS(e).position === "static";
}
function iC(e, t) {
	if (!vS(e) || jS(e).position === "fixed") return null;
	if (t) return t(e);
	let n = e.offsetParent;
	return hS(e) === n && (n = n.ownerDocument.body), n;
}
function aC(e, t) {
	let n = mS(e);
	if (SS(e)) return n;
	if (!vS(e)) {
		let t = NS(e);
		for (; t && !AS(t);) {
			if (_S(t) && !rC(t)) return t;
			t = NS(t);
		}
		return n;
	}
	let r = iC(e, t);
	for (; r && xS(r) && rC(r);) r = iC(r, t);
	return r && AS(r) && rC(r) && !DS(r) ? n : r || OS(e) || n;
}
var oC = async function(e) {
	let t = this.getOffsetParent || aC, n = this.getDimensions, r = await n(e.floating);
	return {
		reference: nC(e.reference, await t(e.floating), e.strategy),
		floating: {
			x: 0,
			y: 0,
			width: r.width,
			height: r.height
		}
	};
};
function sC(e) {
	return jS(e).direction === "rtl";
}
var cC = {
	convertOffsetParentRelativeRectToViewportRelativeRect: KS,
	getDocumentElement: hS,
	getClippingRect: eC,
	getOffsetParent: aC,
	getElementRects: oC,
	getClientRects: qS,
	getDimensions: tC,
	getScale: zS,
	isElement: _S,
	isRTL: sC
};
function lC(e, t) {
	return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
}
function uC(e, t, n) {
	let r = null, i, a = hS(e);
	function o() {
		var e;
		clearTimeout(i), (e = r) == null || e.disconnect(), r = null;
	}
	function s(n, c) {
		n === void 0 && (n = !1), c === void 0 && (c = 1), o();
		let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
		if (n || t(), !f || !p) return;
		let m = Dx(d), h = Dx(a.clientWidth - (u + f)), g = Dx(a.clientHeight - (d + p)), _ = Dx(u), v = {
			rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
			threshold: Tx(0, wx(1, c)) || 1
		}, y = !0;
		function b(t) {
			let n = t[0].intersectionRatio;
			if (!lC(l, e.getBoundingClientRect())) return s();
			if (n !== c) {
				if (!y) return s();
				n ? s(!1, n) : i = setTimeout(() => {
					s(!1, 1e-7);
				}, 1e3);
			}
			y = !1;
		}
		try {
			r = new IntersectionObserver(b, {
				...v,
				root: a.ownerDocument
			});
		} catch {
			r = new IntersectionObserver(b, v);
		}
		r.observe(e);
	}
	let c = mS(e), l = () => s(n);
	return c.addEventListener("resize", l), s(!0), () => {
		c.removeEventListener("resize", l), o();
	};
}
function dC(e, t, n, r) {
	r === void 0 && (r = {});
	let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = RS(e), u = i || a ? [...l ? FS(l) : [], ...t ? FS(t) : []] : [];
	u.forEach((e) => {
		i && e.addEventListener("scroll", n), a && e.addEventListener("resize", n);
	});
	let d = l && s ? uC(l, n, a) : null, f = -1, p = null;
	o && (p = new ResizeObserver((e) => {
		let [r] = e;
		r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
			var e;
			(e = p) == null || e.observe(t);
		})), n();
	}), l && !c && p.observe(l), t && p.observe(t));
	let m, h = c ? US(e) : null;
	c && g();
	function g() {
		let t = US(e);
		h && !lC(h, t) && n(), h = t, m = requestAnimationFrame(g);
	}
	return n(), () => {
		var e;
		u.forEach((e) => {
			i && e.removeEventListener("scroll", n), a && e.removeEventListener("resize", n);
		}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
	};
}
var fC = cS, pC = lS, mC = nS, hC = dS, gC = aS, _C = tS, vC = uS, yC = (e, t, n) => {
	let r = /* @__PURE__ */ new Map(), i = n ?? {}, a = {
		...cC,
		...i.platform,
		_c: r
	};
	return eS(e, t, {
		...i,
		platform: a
	});
}, bC = typeof document < "u" ? Cn : function() {};
function xC(e, t) {
	if (e === t) return !0;
	if (typeof e != typeof t) return !1;
	if (typeof e == "function" && e.toString() === t.toString()) return !0;
	let n, r, i;
	if (e && t && typeof e == "object") {
		if (Array.isArray(e)) {
			if (n = e.length, n !== t.length) return !1;
			for (r = n; r-- !== 0;) if (!xC(e[r], t[r])) return !1;
			return !0;
		}
		if (i = Object.keys(e), n = i.length, n !== Object.keys(t).length) return !1;
		for (r = n; r-- !== 0;) if (!{}.hasOwnProperty.call(t, i[r])) return !1;
		for (r = n; r-- !== 0;) {
			let n = i[r];
			if (!(n === "_owner" && e.$$typeof) && !xC(e[n], t[n])) return !1;
		}
		return !0;
	}
	return e !== e && t !== t;
}
function SC(e) {
	return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
}
function CC(e, t) {
	let n = SC(e);
	return Math.round(t * n) / n;
}
function wC(e) {
	let t = L.useRef(e);
	return bC(() => {
		t.current = e;
	}), t;
}
function TC(e) {
	e === void 0 && (e = {});
	let { placement: t = "bottom", strategy: n = "absolute", middleware: r = [], platform: i, elements: { reference: a, floating: o } = {}, transform: s = !0, whileElementsMounted: c, open: l } = e, [u, d] = L.useState({
		x: 0,
		y: 0,
		strategy: n,
		placement: t,
		middlewareData: {},
		isPositioned: !1
	}), [f, p] = L.useState(r);
	xC(f, r) || p(r);
	let [m, h] = L.useState(null), [g, _] = L.useState(null), v = L.useCallback((e) => {
		e !== S.current && (S.current = e, h(e));
	}, []), y = L.useCallback((e) => {
		e !== C.current && (C.current = e, _(e));
	}, []), b = a || m, x = o || g, S = L.useRef(null), C = L.useRef(null), w = L.useRef(u), T = c != null, E = wC(c), D = wC(i), O = wC(l), k = L.useCallback(() => {
		if (!S.current || !C.current) return;
		let e = {
			placement: t,
			strategy: n,
			middleware: f
		};
		D.current && (e.platform = D.current), yC(S.current, C.current, e).then((e) => {
			let t = {
				...e,
				isPositioned: O.current !== !1
			};
			A.current && !xC(w.current, t) && (w.current = t, En.flushSync(() => {
				d(t);
			}));
		});
	}, [
		f,
		t,
		n,
		D,
		O
	]);
	bC(() => {
		l === !1 && w.current.isPositioned && (w.current.isPositioned = !1, d((e) => ({
			...e,
			isPositioned: !1
		})));
	}, [l]);
	let A = L.useRef(!1);
	bC(() => (A.current = !0, () => {
		A.current = !1;
	}), []), bC(() => {
		if (b && (S.current = b), x && (C.current = x), b && x) {
			if (E.current) return E.current(b, x, k);
			k();
		}
	}, [
		b,
		x,
		k,
		E,
		T
	]);
	let ee = L.useMemo(() => ({
		reference: S,
		floating: C,
		setReference: v,
		setFloating: y
	}), [v, y]), j = L.useMemo(() => ({
		reference: b,
		floating: x
	}), [b, x]), M = L.useMemo(() => {
		let e = {
			position: n,
			left: 0,
			top: 0
		};
		if (!j.floating) return e;
		let t = CC(j.floating, u.x), r = CC(j.floating, u.y);
		return s ? {
			...e,
			transform: "translate(" + t + "px, " + r + "px)",
			...SC(j.floating) >= 1.5 && { willChange: "transform" }
		} : {
			position: n,
			left: t,
			top: r
		};
	}, [
		n,
		s,
		j.floating,
		u.x,
		u.y
	]);
	return L.useMemo(() => ({
		...u,
		update: k,
		refs: ee,
		elements: j,
		floatingStyles: M
	}), [
		u,
		k,
		ee,
		j,
		M
	]);
}
var EC = (e) => {
	function t(e) {
		return {}.hasOwnProperty.call(e, "current");
	}
	return {
		name: "arrow",
		options: e,
		fn(n) {
			let { element: r, padding: i } = typeof e == "function" ? e(n) : e;
			return r && t(r) ? r.current == null ? {} : _C({
				element: r.current,
				padding: i
			}).fn(n) : r ? _C({
				element: r,
				padding: i
			}).fn(n) : {};
		}
	};
}, DC = (e, t) => {
	let n = fC(e);
	return {
		name: n.name,
		fn: n.fn,
		options: [e, t]
	};
}, OC = (e, t) => {
	let n = pC(e);
	return {
		name: n.name,
		fn: n.fn,
		options: [e, t]
	};
}, kC = (e, t) => ({
	fn: vC(e).fn,
	options: [e, t]
}), AC = (e, t) => {
	let n = mC(e);
	return {
		name: n.name,
		fn: n.fn,
		options: [e, t]
	};
}, jC = (e, t) => {
	let n = hC(e);
	return {
		name: n.name,
		fn: n.fn,
		options: [e, t]
	};
}, MC = (e, t) => {
	let n = gC(e);
	return {
		name: n.name,
		fn: n.fn,
		options: [e, t]
	};
}, NC = (e, t) => {
	let n = EC(e);
	return {
		name: n.name,
		fn: n.fn,
		options: [e, t]
	};
}, PC = "Arrow", FC = L.forwardRef((e, t) => {
	let { children: n, width: r = 10, height: i = 5, ...a } = e;
	return /* @__PURE__ */ K(yv.svg, {
		...a,
		ref: t,
		width: r,
		height: i,
		viewBox: "0 0 30 10",
		preserveAspectRatio: "none",
		children: e.asChild ? n : /* @__PURE__ */ K("polygon", { points: "0,0 30,0 15,10" })
	});
});
FC.displayName = PC;
var IC = FC;
// ../../../node_modules/.pnpm/@radix-ui+react-use-size@1.1.1_@types+react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-size/dist/index.mjs
function LC(e) {
	let [t, n] = L.useState(void 0);
	return iv(() => {
		if (e) {
			n({
				width: e.offsetWidth,
				height: e.offsetHeight
			});
			let t = new ResizeObserver((t) => {
				if (!Array.isArray(t) || !t.length) return;
				let r = t[0], i, a;
				if ("borderBoxSize" in r) {
					let e = r.borderBoxSize, t = Array.isArray(e) ? e[0] : e;
					i = t.inlineSize, a = t.blockSize;
				} else i = e.offsetWidth, a = e.offsetHeight;
				n({
					width: i,
					height: a
				});
			});
			return t.observe(e, { box: "border-box" }), () => t.unobserve(e);
		}
		n(void 0);
	}, [e]), t;
}
// ../../../node_modules/.pnpm/@radix-ui+react-popper@1.2.8_@types+react-dom@18.3.5_@types+react@18.3.18__@types+react_87ff82ad4f9a742363eb2dcb8ef5fb4d/node_modules/@radix-ui/react-popper/dist/index.mjs
var RC = "Popper", [zC, BC] = nv(RC), [VC, HC] = zC(RC), UC = (e) => {
	let { __scopePopper: t, children: n } = e, [r, i] = L.useState(null);
	return /* @__PURE__ */ K(VC, {
		scope: t,
		anchor: r,
		onAnchorChange: i,
		children: n
	});
};
UC.displayName = RC;
var WC = "PopperAnchor", GC = L.forwardRef((e, t) => {
	let { __scopePopper: n, virtualRef: r, ...i } = e, a = HC(WC, n), o = L.useRef(null), s = z_(t, o), c = L.useRef(null);
	return L.useEffect(() => {
		let e = c.current;
		c.current = r?.current || o.current, e !== c.current && a.onAnchorChange(c.current);
	}), r ? null : /* @__PURE__ */ K(yv.div, {
		...i,
		ref: s
	});
});
GC.displayName = WC;
var KC = "PopperContent", [qC, JC] = zC(KC), YC = L.forwardRef((e, t) => {
	let { __scopePopper: n, side: r = "bottom", sideOffset: i = 0, align: a = "center", alignOffset: o = 0, arrowPadding: s = 0, avoidCollisions: c = !0, collisionBoundary: l = [], collisionPadding: u = 0, sticky: d = "partial", hideWhenDetached: f = !1, updatePositionStrategy: p = "optimized", onPlaced: m, ...h } = e, g = HC(KC, n), [_, v] = L.useState(null), y = z_(t, (e) => v(e)), [b, x] = L.useState(null), S = LC(b), C = S?.width ?? 0, w = S?.height ?? 0, T = r + (a === "center" ? "" : "-" + a), E = typeof u == "number" ? u : {
		top: 0,
		right: 0,
		bottom: 0,
		left: 0,
		...u
	}, D = Array.isArray(l) ? l : [l], O = D.length > 0, k = {
		padding: E,
		boundary: D.filter($C),
		altBoundary: O
	}, { refs: A, floatingStyles: ee, placement: j, isPositioned: M, middlewareData: N } = TC({
		strategy: "fixed",
		placement: T,
		whileElementsMounted: (...e) => dC(...e, { animationFrame: p === "always" }),
		elements: { reference: g.anchor },
		middleware: [
			DC({
				mainAxis: i + w,
				alignmentAxis: o
			}),
			c && OC({
				mainAxis: !0,
				crossAxis: !1,
				limiter: d === "partial" ? kC() : void 0,
				...k
			}),
			c && AC({ ...k }),
			jC({
				...k,
				apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
					let { width: i, height: a } = t.reference, o = e.floating.style;
					o.setProperty("--radix-popper-available-width", `${n}px`), o.setProperty("--radix-popper-available-height", `${r}px`), o.setProperty("--radix-popper-anchor-width", `${i}px`), o.setProperty("--radix-popper-anchor-height", `${a}px`);
				}
			}),
			b && NC({
				element: b,
				padding: s
			}),
			ew({
				arrowWidth: C,
				arrowHeight: w
			}),
			f && MC({
				strategy: "referenceHidden",
				...k
			})
		]
	}), [te, P] = tw(j), ne = xv(m);
	iv(() => {
		M && ne?.();
	}, [M, ne]);
	let re = N.arrow?.x, ie = N.arrow?.y, ae = N.arrow?.centerOffset !== 0, [oe, se] = L.useState();
	return iv(() => {
		_ && se(window.getComputedStyle(_).zIndex);
	}, [_]), /* @__PURE__ */ K("div", {
		ref: A.setFloating,
		"data-radix-popper-content-wrapper": "",
		style: {
			...ee,
			transform: M ? ee.transform : "translate(0, -200%)",
			minWidth: "max-content",
			zIndex: oe,
			"--radix-popper-transform-origin": [N.transformOrigin?.x, N.transformOrigin?.y].join(" "),
			...N.hide?.referenceHidden && {
				visibility: "hidden",
				pointerEvents: "none"
			}
		},
		dir: e.dir,
		children: /* @__PURE__ */ K(qC, {
			scope: n,
			placedSide: te,
			onArrowChange: x,
			arrowX: re,
			arrowY: ie,
			shouldHideArrow: ae,
			children: /* @__PURE__ */ K(yv.div, {
				"data-side": te,
				"data-align": P,
				...h,
				ref: y,
				style: {
					...h.style,
					animation: M ? void 0 : "none"
				}
			})
		})
	});
});
YC.displayName = KC;
var XC = "PopperArrow", ZC = {
	top: "bottom",
	right: "left",
	bottom: "top",
	left: "right"
}, QC = L.forwardRef(function(e, t) {
	let { __scopePopper: n, ...r } = e, i = JC(XC, n), a = ZC[i.placedSide];
	return /* @__PURE__ */ K("span", {
		ref: i.onArrowChange,
		style: {
			position: "absolute",
			left: i.arrowX,
			top: i.arrowY,
			[a]: 0,
			transformOrigin: {
				top: "",
				right: "0 0",
				bottom: "center 0",
				left: "100% 0"
			}[i.placedSide],
			transform: {
				top: "translateY(100%)",
				right: "translateY(50%) rotate(90deg) translateX(-50%)",
				bottom: "rotate(180deg)",
				left: "translateY(50%) rotate(-90deg) translateX(50%)"
			}[i.placedSide],
			visibility: i.shouldHideArrow ? "hidden" : void 0
		},
		children: /* @__PURE__ */ K(IC, {
			...r,
			ref: t,
			style: {
				...r.style,
				display: "block"
			}
		})
	});
});
QC.displayName = XC;
function $C(e) {
	return e !== null;
}
var ew = (e) => ({
	name: "transformOrigin",
	options: e,
	fn(t) {
		let { placement: n, rects: r, middlewareData: i } = t, a = i.arrow?.centerOffset !== 0, o = a ? 0 : e.arrowWidth, s = a ? 0 : e.arrowHeight, [c, l] = tw(n), u = {
			start: "0%",
			center: "50%",
			end: "100%"
		}[l], d = (i.arrow?.x ?? 0) + o / 2, f = (i.arrow?.y ?? 0) + s / 2, p = "", m = "";
		return c === "bottom" ? (p = a ? u : `${d}px`, m = `${-s}px`) : c === "top" ? (p = a ? u : `${d}px`, m = `${r.floating.height + s}px`) : c === "right" ? (p = `${-s}px`, m = a ? u : `${f}px`) : c === "left" && (p = `${r.floating.width + s}px`, m = a ? u : `${f}px`), { data: {
			x: p,
			y: m
		} };
	}
});
function tw(e) {
	let [t, n = "center"] = e.split("-");
	return [t, n];
}
var nw = UC, rw = GC, iw = YC, aw = QC, ow = "rovingFocusGroup.onEntryFocus", sw = {
	bubbles: !1,
	cancelable: !0
}, cw = "RovingFocusGroup", [lw, uw, dw] = bx(cw), [fw, pw] = nv(cw, [dw]), [mw, hw] = fw(cw), gw = L.forwardRef((e, t) => /* @__PURE__ */ K(lw.Provider, {
	scope: e.__scopeRovingFocusGroup,
	children: /* @__PURE__ */ K(lw.Slot, {
		scope: e.__scopeRovingFocusGroup,
		children: /* @__PURE__ */ K(_w, {
			...e,
			ref: t
		})
	})
}));
gw.displayName = cw;
var _w = L.forwardRef((e, t) => {
	let { __scopeRovingFocusGroup: n, orientation: r, loop: i = !1, dir: a, currentTabStopId: o, defaultCurrentTabStopId: s, onCurrentTabStopIdChange: c, onEntryFocus: l, preventScrollOnEntryFocus: u = !1, ...d } = e, f = L.useRef(null), p = z_(t, f), m = Sx(a), [h, g] = lv({
		prop: o,
		defaultProp: s ?? null,
		onChange: c,
		caller: cw
	}), [_, v] = L.useState(!1), y = xv(l), b = uw(n), x = L.useRef(!1), [S, C] = L.useState(0);
	return L.useEffect(() => {
		let e = f.current;
		if (e) return e.addEventListener(ow, y), () => e.removeEventListener(ow, y);
	}, [y]), /* @__PURE__ */ K(mw, {
		scope: n,
		orientation: r,
		dir: m,
		loop: i,
		currentTabStopId: h,
		onItemFocus: L.useCallback((e) => g(e), [g]),
		onItemShiftTab: L.useCallback(() => v(!0), []),
		onFocusableItemAdd: L.useCallback(() => C((e) => e + 1), []),
		onFocusableItemRemove: L.useCallback(() => C((e) => e - 1), []),
		children: /* @__PURE__ */ K(yv.div, {
			tabIndex: _ || S === 0 ? -1 : 0,
			"data-orientation": r,
			...d,
			ref: p,
			style: {
				outline: "none",
				...e.style
			},
			onMouseDown: $(e.onMouseDown, () => {
				x.current = !0;
			}),
			onFocus: $(e.onFocus, (e) => {
				let t = !x.current;
				if (e.target === e.currentTarget && t && !_) {
					let t = new CustomEvent(ow, sw);
					if (e.currentTarget.dispatchEvent(t), !t.defaultPrevented) {
						let e = b().filter((e) => e.focusable);
						Cw([
							e.find((e) => e.active),
							e.find((e) => e.id === h),
							...e
						].filter(Boolean).map((e) => e.ref.current), u);
					}
				}
				x.current = !1;
			}),
			onBlur: $(e.onBlur, () => v(!1))
		})
	});
}), vw = "RovingFocusGroupItem", yw = L.forwardRef((e, t) => {
	let { __scopeRovingFocusGroup: n, focusable: r = !0, active: i = !1, tabStopId: a, children: o, ...s } = e, c = sv(), l = a || c, u = hw(vw, n), d = u.currentTabStopId === l, f = uw(n), { onFocusableItemAdd: p, onFocusableItemRemove: m, currentTabStopId: h } = u;
	return L.useEffect(() => {
		if (r) return p(), () => m();
	}, [
		r,
		p,
		m
	]), /* @__PURE__ */ K(lw.ItemSlot, {
		scope: n,
		id: l,
		focusable: r,
		active: i,
		children: /* @__PURE__ */ K(yv.span, {
			tabIndex: d ? 0 : -1,
			"data-orientation": u.orientation,
			...s,
			ref: t,
			onMouseDown: $(e.onMouseDown, (e) => {
				r ? u.onItemFocus(l) : e.preventDefault();
			}),
			onFocus: $(e.onFocus, () => u.onItemFocus(l)),
			onKeyDown: $(e.onKeyDown, (e) => {
				if (e.key === "Tab" && e.shiftKey) {
					u.onItemShiftTab();
					return;
				}
				if (e.target !== e.currentTarget) return;
				let t = Sw(e, u.orientation, u.dir);
				if (t !== void 0) {
					if (e.metaKey || e.ctrlKey || e.altKey || e.shiftKey) return;
					e.preventDefault();
					let n = f().filter((e) => e.focusable).map((e) => e.ref.current);
					if (t === "last") n.reverse();
					else if (t === "prev" || t === "next") {
						t === "prev" && n.reverse();
						let r = n.indexOf(e.currentTarget);
						n = u.loop ? ww(n, r + 1) : n.slice(r + 1);
					}
					setTimeout(() => Cw(n));
				}
			}),
			children: typeof o == "function" ? o({
				isCurrentTabStop: d,
				hasTabStop: h != null
			}) : o
		})
	});
});
yw.displayName = vw;
var bw = {
	ArrowLeft: "prev",
	ArrowUp: "prev",
	ArrowRight: "next",
	ArrowDown: "next",
	PageUp: "first",
	Home: "first",
	PageDown: "last",
	End: "last"
};
function xw(e, t) {
	return t === "rtl" ? e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e : e;
}
function Sw(e, t, n) {
	let r = xw(e.key, n);
	if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(r)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(r))) return bw[r];
}
function Cw(e, t = !1) {
	let n = document.activeElement;
	for (let r of e) if (r === n || (r.focus({ preventScroll: t }), document.activeElement !== n)) return;
}
function ww(e, t) {
	return e.map((n, r) => e[(t + r) % e.length]);
}
var Tw = gw, Ew = yw, Dw = ["Enter", " "], Ow = [
	"ArrowDown",
	"PageUp",
	"Home"
], kw = [
	"ArrowUp",
	"PageDown",
	"End"
], Aw = [...Ow, ...kw], jw = {
	ltr: [...Dw, "ArrowRight"],
	rtl: [...Dw, "ArrowLeft"]
}, Mw = {
	ltr: ["ArrowLeft"],
	rtl: ["ArrowRight"]
}, Nw = "Menu", [Pw, Fw, Iw] = bx(Nw), [Lw, Rw] = nv(Nw, [
	Iw,
	BC,
	pw
]), zw = BC(), Bw = pw(), [Vw, Hw] = Lw(Nw), [Uw, Ww] = Lw(Nw), Gw = (e) => {
	let { __scopeMenu: t, open: n = !1, children: r, dir: i, onOpenChange: a, modal: o = !0 } = e, s = zw(t), [c, l] = L.useState(null), u = L.useRef(!1), d = xv(a), f = Sx(i);
	return L.useEffect(() => {
		let e = () => {
			u.current = !0, document.addEventListener("pointerdown", t, {
				capture: !0,
				once: !0
			}), document.addEventListener("pointermove", t, {
				capture: !0,
				once: !0
			});
		}, t = () => u.current = !1;
		return document.addEventListener("keydown", e, { capture: !0 }), () => {
			document.removeEventListener("keydown", e, { capture: !0 }), document.removeEventListener("pointerdown", t, { capture: !0 }), document.removeEventListener("pointermove", t, { capture: !0 });
		};
	}, []), /* @__PURE__ */ K(nw, {
		...s,
		children: /* @__PURE__ */ K(Vw, {
			scope: t,
			open: n,
			onOpenChange: d,
			content: c,
			onContentChange: l,
			children: /* @__PURE__ */ K(Uw, {
				scope: t,
				onClose: L.useCallback(() => d(!1), [d]),
				isUsingKeyboardRef: u,
				dir: f,
				modal: o,
				children: r
			})
		})
	});
};
Gw.displayName = Nw;
var Kw = "MenuAnchor", qw = L.forwardRef((e, t) => {
	let { __scopeMenu: n, ...r } = e, i = zw(n);
	return /* @__PURE__ */ K(rw, {
		...i,
		...r,
		ref: t
	});
});
qw.displayName = Kw;
var Jw = "MenuPortal", [Yw, Xw] = Lw(Jw, { forceMount: void 0 }), Zw = (e) => {
	let { __scopeMenu: t, forceMount: n, children: r, container: i } = e, a = Hw(Jw, t);
	return /* @__PURE__ */ K(Yw, {
		scope: t,
		forceMount: n,
		children: /* @__PURE__ */ K(ty, {
			present: n || a.open,
			children: /* @__PURE__ */ K($v, {
				asChild: !0,
				container: i,
				children: r
			})
		})
	});
};
Zw.displayName = Jw;
var Qw = "MenuContent", [$w, eT] = Lw(Qw), tT = L.forwardRef((e, t) => {
	let n = Xw(Qw, e.__scopeMenu), { forceMount: r = n.forceMount, ...i } = e, a = Hw(Qw, e.__scopeMenu), o = Ww(Qw, e.__scopeMenu);
	return /* @__PURE__ */ K(Pw.Provider, {
		scope: e.__scopeMenu,
		children: /* @__PURE__ */ K(ty, {
			present: r || a.open,
			children: /* @__PURE__ */ K(Pw.Slot, {
				scope: e.__scopeMenu,
				children: o.modal ? /* @__PURE__ */ K(nT, {
					...i,
					ref: t
				}) : /* @__PURE__ */ K(rT, {
					...i,
					ref: t
				})
			})
		})
	});
}), nT = L.forwardRef((e, t) => {
	let n = Hw(Qw, e.__scopeMenu), r = L.useRef(null), i = z_(t, r);
	return L.useEffect(() => {
		let e = r.current;
		if (e) return xb(e);
	}, []), /* @__PURE__ */ K(aT, {
		...e,
		ref: i,
		trapFocus: n.open,
		disableOutsidePointerEvents: n.open,
		disableOutsideScroll: !0,
		onFocusOutside: $(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 }),
		onDismiss: () => n.onOpenChange(!1)
	});
}), rT = L.forwardRef((e, t) => {
	let n = Hw(Qw, e.__scopeMenu);
	return /* @__PURE__ */ K(aT, {
		...e,
		ref: t,
		trapFocus: !1,
		disableOutsidePointerEvents: !1,
		disableOutsideScroll: !1,
		onDismiss: () => n.onOpenChange(!1)
	});
}), iT = /* @__PURE__ */ fv("MenuContent.ScrollLock"), aT = L.forwardRef((e, t) => {
	let { __scopeMenu: n, loop: r = !1, trapFocus: i, onOpenAutoFocus: a, onCloseAutoFocus: o, disableOutsidePointerEvents: s, onEntryFocus: c, onEscapeKeyDown: l, onPointerDownOutside: u, onFocusOutside: d, onInteractOutside: f, onDismiss: p, disableOutsideScroll: m, ...h } = e, g = Hw(Qw, n), _ = Ww(Qw, n), v = zw(n), y = Bw(n), b = Fw(n), [x, S] = L.useState(null), C = L.useRef(null), w = z_(t, C, g.onContentChange), T = L.useRef(0), E = L.useRef(""), D = L.useRef(0), O = L.useRef(null), k = L.useRef("right"), A = L.useRef(0), ee = m ? fb : L.Fragment, j = m ? {
		as: iT,
		allowPinchZoom: !0
	} : void 0, M = (e) => {
		let t = E.current + e, n = b().filter((e) => !e.disabled), r = document.activeElement, i = n.find((e) => e.ref.current === r)?.textValue, a = VT(n.map((e) => e.textValue), t, i), o = n.find((e) => e.textValue === a)?.ref.current;
		(function e(t) {
			E.current = t, window.clearTimeout(T.current), t !== "" && (T.current = window.setTimeout(() => e(""), 1e3));
		})(t), o && setTimeout(() => o.focus());
	};
	L.useEffect(() => () => window.clearTimeout(T.current), []), oy();
	let N = L.useCallback((e) => k.current === O.current?.side && UT(e, O.current?.area), []);
	return /* @__PURE__ */ K($w, {
		scope: n,
		searchRef: E,
		onItemEnter: L.useCallback((e) => {
			N(e) && e.preventDefault();
		}, [N]),
		onItemLeave: L.useCallback((e) => {
			N(e) || (C.current?.focus(), S(null));
		}, [N]),
		onTriggerLeave: L.useCallback((e) => {
			N(e) && e.preventDefault();
		}, [N]),
		pointerGraceTimerRef: D,
		onPointerGraceIntentChange: L.useCallback((e) => {
			O.current = e;
		}, []),
		children: /* @__PURE__ */ K(ee, {
			...j,
			children: /* @__PURE__ */ K(Bv, {
				asChild: !0,
				trapped: i,
				onMountAutoFocus: $(a, (e) => {
					e.preventDefault(), C.current?.focus({ preventScroll: !0 });
				}),
				onUnmountAutoFocus: o,
				children: /* @__PURE__ */ K(kv, {
					asChild: !0,
					disableOutsidePointerEvents: s,
					onEscapeKeyDown: l,
					onPointerDownOutside: u,
					onFocusOutside: d,
					onInteractOutside: f,
					onDismiss: p,
					children: /* @__PURE__ */ K(Tw, {
						asChild: !0,
						...y,
						dir: _.dir,
						orientation: "vertical",
						loop: r,
						currentTabStopId: x,
						onCurrentTabStopIdChange: S,
						onEntryFocus: $(c, (e) => {
							_.isUsingKeyboardRef.current || e.preventDefault();
						}),
						preventScrollOnEntryFocus: !0,
						children: /* @__PURE__ */ K(iw, {
							role: "menu",
							"aria-orientation": "vertical",
							"data-state": IT(g.open),
							"data-radix-menu-content": "",
							dir: _.dir,
							...v,
							...h,
							ref: w,
							style: {
								outline: "none",
								...h.style
							},
							onKeyDown: $(h.onKeyDown, (e) => {
								let t = e.target.closest("[data-radix-menu-content]") === e.currentTarget, n = e.ctrlKey || e.altKey || e.metaKey, r = e.key.length === 1;
								t && (e.key === "Tab" && e.preventDefault(), !n && r && M(e.key));
								let i = C.current;
								if (e.target !== i || !Aw.includes(e.key)) return;
								e.preventDefault();
								let a = b().filter((e) => !e.disabled).map((e) => e.ref.current);
								kw.includes(e.key) && a.reverse(), zT(a);
							}),
							onBlur: $(e.onBlur, (e) => {
								e.currentTarget.contains(e.target) || (window.clearTimeout(T.current), E.current = "");
							}),
							onPointerMove: $(e.onPointerMove, WT((e) => {
								let t = e.target, n = A.current !== e.clientX;
								if (e.currentTarget.contains(t) && n) {
									let t = e.clientX > A.current ? "right" : "left";
									k.current = t, A.current = e.clientX;
								}
							}))
						})
					})
				})
			})
		})
	});
});
tT.displayName = Qw;
var oT = "MenuGroup", sT = L.forwardRef((e, t) => {
	let { __scopeMenu: n, ...r } = e;
	return /* @__PURE__ */ K(yv.div, {
		role: "group",
		...r,
		ref: t
	});
});
sT.displayName = oT;
var cT = "MenuLabel", lT = L.forwardRef((e, t) => {
	let { __scopeMenu: n, ...r } = e;
	return /* @__PURE__ */ K(yv.div, {
		...r,
		ref: t
	});
});
lT.displayName = cT;
var uT = "MenuItem", dT = "menu.itemSelect", fT = L.forwardRef((e, t) => {
	let { disabled: n = !1, onSelect: r, ...i } = e, a = L.useRef(null), o = Ww(uT, e.__scopeMenu), s = eT(uT, e.__scopeMenu), c = z_(t, a), l = L.useRef(!1), u = () => {
		let e = a.current;
		if (!n && e) {
			let t = new CustomEvent(dT, {
				bubbles: !0,
				cancelable: !0
			});
			e.addEventListener(dT, (e) => r?.(e), { once: !0 }), bv(e, t), t.defaultPrevented ? l.current = !1 : o.onClose();
		}
	};
	return /* @__PURE__ */ K(pT, {
		...i,
		ref: c,
		disabled: n,
		onClick: $(e.onClick, u),
		onPointerDown: (t) => {
			e.onPointerDown?.(t), l.current = !0;
		},
		onPointerUp: $(e.onPointerUp, (e) => {
			l.current || e.currentTarget?.click();
		}),
		onKeyDown: $(e.onKeyDown, (e) => {
			let t = s.searchRef.current !== "";
			n || t && e.key === " " || Dw.includes(e.key) && (e.currentTarget.click(), e.preventDefault());
		})
	});
});
fT.displayName = uT;
var pT = L.forwardRef((e, t) => {
	let { __scopeMenu: n, disabled: r = !1, textValue: i, ...a } = e, o = eT(uT, n), s = Bw(n), c = L.useRef(null), l = z_(t, c), [u, d] = L.useState(!1), [f, p] = L.useState("");
	return L.useEffect(() => {
		let e = c.current;
		e && p((e.textContent ?? "").trim());
	}, [a.children]), /* @__PURE__ */ K(Pw.ItemSlot, {
		scope: n,
		disabled: r,
		textValue: i ?? f,
		children: /* @__PURE__ */ K(Ew, {
			asChild: !0,
			...s,
			focusable: !r,
			children: /* @__PURE__ */ K(yv.div, {
				role: "menuitem",
				"data-highlighted": u ? "" : void 0,
				"aria-disabled": r || void 0,
				"data-disabled": r ? "" : void 0,
				...a,
				ref: l,
				onPointerMove: $(e.onPointerMove, WT((e) => {
					r ? o.onItemLeave(e) : (o.onItemEnter(e), e.defaultPrevented || e.currentTarget.focus({ preventScroll: !0 }));
				})),
				onPointerLeave: $(e.onPointerLeave, WT((e) => o.onItemLeave(e))),
				onFocus: $(e.onFocus, () => d(!0)),
				onBlur: $(e.onBlur, () => d(!1))
			})
		})
	});
}), mT = "MenuCheckboxItem", hT = L.forwardRef((e, t) => {
	let { checked: n = !1, onCheckedChange: r, ...i } = e;
	return /* @__PURE__ */ K(CT, {
		scope: e.__scopeMenu,
		checked: n,
		children: /* @__PURE__ */ K(fT, {
			role: "menuitemcheckbox",
			"aria-checked": LT(n) ? "mixed" : n,
			...i,
			ref: t,
			"data-state": RT(n),
			onSelect: $(i.onSelect, () => r?.(LT(n) ? !0 : !n), { checkForDefaultPrevented: !1 })
		})
	});
});
hT.displayName = mT;
var gT = "MenuRadioGroup", [_T, vT] = Lw(gT, {
	value: void 0,
	onValueChange: () => {}
}), yT = L.forwardRef((e, t) => {
	let { value: n, onValueChange: r, ...i } = e, a = xv(r);
	return /* @__PURE__ */ K(_T, {
		scope: e.__scopeMenu,
		value: n,
		onValueChange: a,
		children: /* @__PURE__ */ K(sT, {
			...i,
			ref: t
		})
	});
});
yT.displayName = gT;
var bT = "MenuRadioItem", xT = L.forwardRef((e, t) => {
	let { value: n, ...r } = e, i = vT(bT, e.__scopeMenu), a = n === i.value;
	return /* @__PURE__ */ K(CT, {
		scope: e.__scopeMenu,
		checked: a,
		children: /* @__PURE__ */ K(fT, {
			role: "menuitemradio",
			"aria-checked": a,
			...r,
			ref: t,
			"data-state": RT(a),
			onSelect: $(r.onSelect, () => i.onValueChange?.(n), { checkForDefaultPrevented: !1 })
		})
	});
});
xT.displayName = bT;
var ST = "MenuItemIndicator", [CT, wT] = Lw(ST, { checked: !1 }), TT = L.forwardRef((e, t) => {
	let { __scopeMenu: n, forceMount: r, ...i } = e, a = wT(ST, n);
	return /* @__PURE__ */ K(ty, {
		present: r || LT(a.checked) || a.checked === !0,
		children: /* @__PURE__ */ K(yv.span, {
			...i,
			ref: t,
			"data-state": RT(a.checked)
		})
	});
});
TT.displayName = ST;
var ET = "MenuSeparator", DT = L.forwardRef((e, t) => {
	let { __scopeMenu: n, ...r } = e;
	return /* @__PURE__ */ K(yv.div, {
		role: "separator",
		"aria-orientation": "horizontal",
		...r,
		ref: t
	});
});
DT.displayName = ET;
var OT = "MenuArrow", kT = L.forwardRef((e, t) => {
	let { __scopeMenu: n, ...r } = e, i = zw(n);
	return /* @__PURE__ */ K(aw, {
		...i,
		...r,
		ref: t
	});
});
kT.displayName = OT;
var [AT, jT] = Lw("MenuSub"), MT = "MenuSubTrigger", NT = L.forwardRef((e, t) => {
	let n = Hw(MT, e.__scopeMenu), r = Ww(MT, e.__scopeMenu), i = jT(MT, e.__scopeMenu), a = eT(MT, e.__scopeMenu), o = L.useRef(null), { pointerGraceTimerRef: s, onPointerGraceIntentChange: c } = a, l = { __scopeMenu: e.__scopeMenu }, u = L.useCallback(() => {
		o.current && window.clearTimeout(o.current), o.current = null;
	}, []);
	return L.useEffect(() => u, [u]), L.useEffect(() => {
		let e = s.current;
		return () => {
			window.clearTimeout(e), c(null);
		};
	}, [s, c]), /* @__PURE__ */ K(qw, {
		asChild: !0,
		...l,
		children: /* @__PURE__ */ K(pT, {
			id: i.triggerId,
			"aria-haspopup": "menu",
			"aria-expanded": n.open,
			"aria-controls": i.contentId,
			"data-state": IT(n.open),
			...e,
			ref: R_(t, i.onTriggerChange),
			onClick: (t) => {
				e.onClick?.(t), e.disabled || t.defaultPrevented || (t.currentTarget.focus(), n.open || n.onOpenChange(!0));
			},
			onPointerMove: $(e.onPointerMove, WT((t) => {
				a.onItemEnter(t), t.defaultPrevented || e.disabled || n.open || o.current || (a.onPointerGraceIntentChange(null), o.current = window.setTimeout(() => {
					n.onOpenChange(!0), u();
				}, 100));
			})),
			onPointerLeave: $(e.onPointerLeave, WT((e) => {
				u();
				let t = n.content?.getBoundingClientRect();
				if (t) {
					let r = n.content?.dataset.side, i = r === "right", o = i ? -5 : 5, c = t[i ? "left" : "right"], l = t[i ? "right" : "left"];
					a.onPointerGraceIntentChange({
						area: [
							{
								x: e.clientX + o,
								y: e.clientY
							},
							{
								x: c,
								y: t.top
							},
							{
								x: l,
								y: t.top
							},
							{
								x: l,
								y: t.bottom
							},
							{
								x: c,
								y: t.bottom
							}
						],
						side: r
					}), window.clearTimeout(s.current), s.current = window.setTimeout(() => a.onPointerGraceIntentChange(null), 300);
				} else {
					if (a.onTriggerLeave(e), e.defaultPrevented) return;
					a.onPointerGraceIntentChange(null);
				}
			})),
			onKeyDown: $(e.onKeyDown, (t) => {
				let i = a.searchRef.current !== "";
				e.disabled || i && t.key === " " || jw[r.dir].includes(t.key) && (n.onOpenChange(!0), n.content?.focus(), t.preventDefault());
			})
		})
	});
});
NT.displayName = MT;
var PT = "MenuSubContent", FT = L.forwardRef((e, t) => {
	let n = Xw(Qw, e.__scopeMenu), { forceMount: r = n.forceMount, ...i } = e, a = Hw(Qw, e.__scopeMenu), o = Ww(Qw, e.__scopeMenu), s = jT(PT, e.__scopeMenu), c = L.useRef(null), l = z_(t, c);
	return /* @__PURE__ */ K(Pw.Provider, {
		scope: e.__scopeMenu,
		children: /* @__PURE__ */ K(ty, {
			present: r || a.open,
			children: /* @__PURE__ */ K(Pw.Slot, {
				scope: e.__scopeMenu,
				children: /* @__PURE__ */ K(aT, {
					id: s.contentId,
					"aria-labelledby": s.triggerId,
					...i,
					ref: l,
					align: "start",
					side: o.dir === "rtl" ? "left" : "right",
					disableOutsidePointerEvents: !1,
					disableOutsideScroll: !1,
					trapFocus: !1,
					onOpenAutoFocus: (e) => {
						o.isUsingKeyboardRef.current && c.current?.focus(), e.preventDefault();
					},
					onCloseAutoFocus: (e) => e.preventDefault(),
					onFocusOutside: $(e.onFocusOutside, (e) => {
						e.target !== s.trigger && a.onOpenChange(!1);
					}),
					onEscapeKeyDown: $(e.onEscapeKeyDown, (e) => {
						o.onClose(), e.preventDefault();
					}),
					onKeyDown: $(e.onKeyDown, (e) => {
						let t = e.currentTarget.contains(e.target), n = Mw[o.dir].includes(e.key);
						t && n && (a.onOpenChange(!1), s.trigger?.focus(), e.preventDefault());
					})
				})
			})
		})
	});
});
FT.displayName = PT;
function IT(e) {
	return e ? "open" : "closed";
}
function LT(e) {
	return e === "indeterminate";
}
function RT(e) {
	return LT(e) ? "indeterminate" : e ? "checked" : "unchecked";
}
function zT(e) {
	let t = document.activeElement;
	for (let n of e) if (n === t || (n.focus(), document.activeElement !== t)) return;
}
function BT(e, t) {
	return e.map((n, r) => e[(t + r) % e.length]);
}
function VT(e, t, n) {
	let r = t.length > 1 && Array.from(t).every((e) => e === t[0]) ? t[0] : t, i = n ? e.indexOf(n) : -1, a = BT(e, Math.max(i, 0));
	r.length === 1 && (a = a.filter((e) => e !== n));
	let o = a.find((e) => e.toLowerCase().startsWith(r.toLowerCase()));
	return o === n ? void 0 : o;
}
function HT(e, t) {
	let { x: n, y: r } = e, i = !1;
	for (let e = 0, a = t.length - 1; e < t.length; a = e++) {
		let o = t[e], s = t[a], c = o.x, l = o.y, u = s.x, d = s.y;
		l > r != d > r && n < (u - c) * (r - l) / (d - l) + c && (i = !i);
	}
	return i;
}
function UT(e, t) {
	return t ? HT({
		x: e.clientX,
		y: e.clientY
	}, t) : !1;
}
function WT(e) {
	return (t) => t.pointerType === "mouse" ? e(t) : void 0;
}
var GT = Gw, KT = qw, qT = Zw, JT = tT, YT = sT, XT = lT, ZT = fT, QT = hT, $T = yT, eE = xT, tE = TT, nE = DT, rE = kT, iE = NT, aE = FT, oE = "DropdownMenu", [sE, cE] = nv(oE, [Rw]), lE = Rw(), [uE, dE] = sE(oE), fE = (e) => {
	let { __scopeDropdownMenu: t, children: n, dir: r, open: i, defaultOpen: a, onOpenChange: o, modal: s = !0 } = e, c = lE(t), l = L.useRef(null), [u, d] = lv({
		prop: i,
		defaultProp: a ?? !1,
		onChange: o,
		caller: oE
	});
	return /* @__PURE__ */ K(uE, {
		scope: t,
		triggerId: sv(),
		triggerRef: l,
		contentId: sv(),
		open: u,
		onOpenChange: d,
		onOpenToggle: L.useCallback(() => d((e) => !e), [d]),
		modal: s,
		children: /* @__PURE__ */ K(GT, {
			...c,
			open: u,
			onOpenChange: d,
			dir: r,
			modal: s,
			children: n
		})
	});
};
fE.displayName = oE;
var pE = "DropdownMenuTrigger", mE = L.forwardRef((e, t) => {
	let { __scopeDropdownMenu: n, disabled: r = !1, ...i } = e, a = dE(pE, n), o = lE(n);
	return /* @__PURE__ */ K(KT, {
		asChild: !0,
		...o,
		children: /* @__PURE__ */ K(yv.button, {
			type: "button",
			id: a.triggerId,
			"aria-haspopup": "menu",
			"aria-expanded": a.open,
			"aria-controls": a.open ? a.contentId : void 0,
			"data-state": a.open ? "open" : "closed",
			"data-disabled": r ? "" : void 0,
			disabled: r,
			...i,
			ref: R_(t, a.triggerRef),
			onPointerDown: $(e.onPointerDown, (e) => {
				!r && e.button === 0 && e.ctrlKey === !1 && (a.onOpenToggle(), a.open || e.preventDefault());
			}),
			onKeyDown: $(e.onKeyDown, (e) => {
				r || (["Enter", " "].includes(e.key) && a.onOpenToggle(), e.key === "ArrowDown" && a.onOpenChange(!0), [
					"Enter",
					" ",
					"ArrowDown"
				].includes(e.key) && e.preventDefault());
			})
		})
	});
});
mE.displayName = pE;
var hE = "DropdownMenuPortal", gE = (e) => {
	let { __scopeDropdownMenu: t, ...n } = e, r = lE(t);
	return /* @__PURE__ */ K(qT, {
		...r,
		...n
	});
};
gE.displayName = hE;
var _E = "DropdownMenuContent", vE = L.forwardRef((e, t) => {
	let { __scopeDropdownMenu: n, ...r } = e, i = dE(_E, n), a = lE(n), o = L.useRef(!1);
	return /* @__PURE__ */ K(JT, {
		id: i.contentId,
		"aria-labelledby": i.triggerId,
		...a,
		...r,
		ref: t,
		onCloseAutoFocus: $(e.onCloseAutoFocus, (e) => {
			o.current || i.triggerRef.current?.focus(), o.current = !1, e.preventDefault();
		}),
		onInteractOutside: $(e.onInteractOutside, (e) => {
			let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0, r = t.button === 2 || n;
			(!i.modal || r) && (o.current = !0);
		}),
		style: {
			...e.style,
			"--radix-dropdown-menu-content-transform-origin": "var(--radix-popper-transform-origin)",
			"--radix-dropdown-menu-content-available-width": "var(--radix-popper-available-width)",
			"--radix-dropdown-menu-content-available-height": "var(--radix-popper-available-height)",
			"--radix-dropdown-menu-trigger-width": "var(--radix-popper-anchor-width)",
			"--radix-dropdown-menu-trigger-height": "var(--radix-popper-anchor-height)"
		}
	});
});
vE.displayName = _E;
var yE = "DropdownMenuGroup", bE = L.forwardRef((e, t) => {
	let { __scopeDropdownMenu: n, ...r } = e, i = lE(n);
	return /* @__PURE__ */ K(YT, {
		...i,
		...r,
		ref: t
	});
});
bE.displayName = yE;
var xE = "DropdownMenuLabel", SE = L.forwardRef((e, t) => {
	let { __scopeDropdownMenu: n, ...r } = e, i = lE(n);
	return /* @__PURE__ */ K(XT, {
		...i,
		...r,
		ref: t
	});
});
SE.displayName = xE;
var CE = "DropdownMenuItem", wE = L.forwardRef((e, t) => {
	let { __scopeDropdownMenu: n, ...r } = e, i = lE(n);
	return /* @__PURE__ */ K(ZT, {
		...i,
		...r,
		ref: t
	});
});
wE.displayName = CE;
var TE = "DropdownMenuCheckboxItem", EE = L.forwardRef((e, t) => {
	let { __scopeDropdownMenu: n, ...r } = e, i = lE(n);
	return /* @__PURE__ */ K(QT, {
		...i,
		...r,
		ref: t
	});
});
EE.displayName = TE;
var DE = "DropdownMenuRadioGroup", OE = L.forwardRef((e, t) => {
	let { __scopeDropdownMenu: n, ...r } = e, i = lE(n);
	return /* @__PURE__ */ K($T, {
		...i,
		...r,
		ref: t
	});
});
OE.displayName = DE;
var kE = "DropdownMenuRadioItem", AE = L.forwardRef((e, t) => {
	let { __scopeDropdownMenu: n, ...r } = e, i = lE(n);
	return /* @__PURE__ */ K(eE, {
		...i,
		...r,
		ref: t
	});
});
AE.displayName = kE;
var jE = "DropdownMenuItemIndicator", ME = L.forwardRef((e, t) => {
	let { __scopeDropdownMenu: n, ...r } = e, i = lE(n);
	return /* @__PURE__ */ K(tE, {
		...i,
		...r,
		ref: t
	});
});
ME.displayName = jE;
var NE = "DropdownMenuSeparator", PE = L.forwardRef((e, t) => {
	let { __scopeDropdownMenu: n, ...r } = e, i = lE(n);
	return /* @__PURE__ */ K(nE, {
		...i,
		...r,
		ref: t
	});
});
PE.displayName = NE;
var FE = "DropdownMenuArrow", IE = L.forwardRef((e, t) => {
	let { __scopeDropdownMenu: n, ...r } = e, i = lE(n);
	return /* @__PURE__ */ K(rE, {
		...i,
		...r,
		ref: t
	});
});
IE.displayName = FE;
var LE = "DropdownMenuSubTrigger", RE = L.forwardRef((e, t) => {
	let { __scopeDropdownMenu: n, ...r } = e, i = lE(n);
	return /* @__PURE__ */ K(iE, {
		...i,
		...r,
		ref: t
	});
});
RE.displayName = LE;
var zE = "DropdownMenuSubContent", BE = L.forwardRef((e, t) => {
	let { __scopeDropdownMenu: n, ...r } = e, i = lE(n);
	return /* @__PURE__ */ K(aE, {
		...i,
		...r,
		ref: t,
		style: {
			...e.style,
			"--radix-dropdown-menu-content-transform-origin": "var(--radix-popper-transform-origin)",
			"--radix-dropdown-menu-content-available-width": "var(--radix-popper-available-width)",
			"--radix-dropdown-menu-content-available-height": "var(--radix-popper-available-height)",
			"--radix-dropdown-menu-trigger-width": "var(--radix-popper-anchor-width)",
			"--radix-dropdown-menu-trigger-height": "var(--radix-popper-anchor-height)"
		}
	});
});
BE.displayName = zE;
var VE = fE, HE = mE, UE = gE, WE = vE, GE = bE, KE = wE, qE = PE;
// src/components/ui/dropdown-menu.tsx
function JE({ ...e }) {
	return /* @__PURE__ */ K(VE, {
		"data-slot": "dropdown-menu",
		...e
	});
}
function YE({ ...e }) {
	return /* @__PURE__ */ K(HE, {
		"data-slot": "dropdown-menu-trigger",
		...e
	});
}
function XE({ className: e, sideOffset: t = 4, ...n }) {
	let [r, i] = U(null);
	return /* @__PURE__ */ q(Wr, { children: [/* @__PURE__ */ K(UE, {
		container: r,
		children: /* @__PURE__ */ K(WE, {
			"data-slot": "dropdown-menu-content",
			sideOffset: t,
			className: X("z-50 min-w-[8rem] origin-[var(--radix-dropdown-menu-content-transform-origin)] overflow-x-hidden overflow-y-auto rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95", e),
			...n
		})
	}), /* @__PURE__ */ K("div", {
		ref: i,
		style: { display: "contents" }
	})] });
}
function ZE({ ...e }) {
	return /* @__PURE__ */ K(GE, {
		"data-slot": "dropdown-menu-group",
		...e
	});
}
function QE({ className: e, inset: t, variant: n = "default", ...r }) {
	return /* @__PURE__ */ K(KE, {
		"data-slot": "dropdown-menu-item",
		"data-inset": t,
		"data-variant": n,
		className: X("relative flex cursor-pointer items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 data-inset:pl-8 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground data-[variant=destructive]:*:[svg]:text-destructive!", e),
		...r
	});
}
function $E({ className: e, ...t }) {
	return /* @__PURE__ */ K(qE, {
		"data-slot": "dropdown-menu-separator",
		className: X("-mx-1 my-1 h-px bg-border", e),
		...t
	});
}
function eD({ className: e, ...t }) {
	return /* @__PURE__ */ K("span", {
		"data-slot": "dropdown-menu-shortcut",
		className: X("ml-auto text-xs tracking-widest text-muted-foreground", e),
		...t
	});
}
// src/components/ui/empty.tsx
function tD({ className: e, ...t }) {
	return /* @__PURE__ */ K("div", {
		"data-slot": "empty",
		className: X("flex min-w-0 flex-1 flex-col items-center justify-center gap-6 rounded-lg border-dashed p-6 text-center text-balance md:p-12", e),
		...t
	});
}
function nD({ className: e, ...t }) {
	return /* @__PURE__ */ K("div", {
		"data-slot": "empty-header",
		className: X("flex max-w-sm flex-col items-center gap-2 text-center", e),
		...t
	});
}
var rD = I_("flex shrink-0 items-center justify-center mb-2 [&_svg]:pointer-events-none [&_svg]:shrink-0", {
	variants: { variant: {
		default: "bg-transparent",
		icon: "bg-muted text-foreground flex size-10 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-6"
	} },
	defaultVariants: { variant: "default" }
});
function iD({ className: e, variant: t = "default", ...n }) {
	return /* @__PURE__ */ K("div", {
		"data-slot": "empty-icon",
		"data-variant": t,
		className: X(rD({
			variant: t,
			className: e
		})),
		...n
	});
}
function aD({ className: e, ...t }) {
	return /* @__PURE__ */ K("div", {
		"data-slot": "empty-title",
		className: X("text-lg font-medium tracking-tight", e),
		...t
	});
}
function oD({ className: e, ...t }) {
	return /* @__PURE__ */ K("div", {
		"data-slot": "empty-description",
		className: X("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary", e),
		...t
	});
}
function sD({ className: e, ...t }) {
	return /* @__PURE__ */ K("div", {
		"data-slot": "empty-content",
		className: X("flex w-full max-w-sm min-w-0 flex-col items-center gap-4 text-sm text-balance", e),
		...t
	});
}
// ../../../node_modules/.pnpm/@radix-ui+react-primitive@2.1.4_@types+react-dom@18.3.5_@types+react@18.3.18__@types+re_5d8a5db982744bb10c2f702de3b7d901/node_modules/@radix-ui/react-primitive/dist/index.mjs
var cD = [
	"a",
	"button",
	"div",
	"form",
	"h2",
	"h3",
	"img",
	"input",
	"label",
	"li",
	"nav",
	"ol",
	"p",
	"select",
	"span",
	"svg",
	"ul"
].reduce((e, t) => {
	let n = /* @__PURE__ */ W_(`Primitive.${t}`), r = L.forwardRef((e, r) => {
		let { asChild: i, ...a } = e, o = i ? n : t;
		return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ K(o, {
			...a,
			ref: r
		});
	});
	return r.displayName = `Primitive.${t}`, {
		...e,
		[t]: r
	};
}, {}), lD = "Label", uD = L.forwardRef((e, t) => /* @__PURE__ */ K(cD.label, {
	...e,
	ref: t,
	onMouseDown: (t) => {
		t.target.closest("button, input, select, textarea") || (e.onMouseDown?.(t), !t.defaultPrevented && t.detail > 1 && t.preventDefault());
	}
}));
uD.displayName = lD;
var dD = uD;
// src/components/ui/label.tsx
function fD({ className: e, ...t }) {
	return /* @__PURE__ */ K(dD, {
		"data-slot": "label",
		className: X("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", e),
		...t
	});
}
// ../../../node_modules/.pnpm/@radix-ui+react-separator@1.1.8_@types+react-dom@18.3.5_@types+react@18.3.18__@types+re_7629998996c1af6798c1fd22ba56a8ce/node_modules/@radix-ui/react-separator/dist/index.mjs
var pD = "Separator", mD = "horizontal", hD = ["horizontal", "vertical"], gD = L.forwardRef((e, t) => {
	let { decorative: n, orientation: r = mD, ...i } = e, a = _D(r) ? r : mD, o = n ? { role: "none" } : {
		"aria-orientation": a === "vertical" ? a : void 0,
		role: "separator"
	};
	return /* @__PURE__ */ K(cD.div, {
		"data-orientation": a,
		...o,
		...i,
		ref: t
	});
});
gD.displayName = pD;
function _D(e) {
	return hD.includes(e);
}
var vD = gD;
// src/components/ui/separator.tsx
function yD({ className: e, orientation: t = "horizontal", decorative: n = !0, ...r }) {
	return /* @__PURE__ */ K(vD, {
		"data-slot": "separator",
		decorative: n,
		orientation: t,
		className: X("shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px", e),
		...r
	});
}
// src/components/ui/field.tsx
function bD({ className: e, ...t }) {
	return /* @__PURE__ */ K("div", {
		"data-slot": "field-group",
		className: X("group/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 [&>[data-slot=field-group]]:gap-4", e),
		...t
	});
}
var xD = I_("group/field flex w-full gap-3 data-[invalid=true]:text-destructive", {
	variants: { orientation: {
		vertical: ["flex-col [&>*]:w-full [&>.sr-only]:w-auto"],
		horizontal: [
			"flex-row items-center",
			"[&>[data-slot=field-label]]:flex-auto",
			"has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"
		],
		responsive: [
			"flex-col [&>*]:w-full [&>.sr-only]:w-auto @md/field-group:flex-row @md/field-group:items-center @md/field-group:[&>*]:w-auto",
			"@md/field-group:[&>[data-slot=field-label]]:flex-auto",
			"@md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"
		]
	} },
	defaultVariants: { orientation: "vertical" }
});
function SD({ className: e, orientation: t = "vertical", ...n }) {
	return /* @__PURE__ */ K("div", {
		role: "group",
		"data-slot": "field",
		"data-orientation": t,
		className: X(xD({ orientation: t }), e),
		...n
	});
}
function CD({ className: e, ...t }) {
	return /* @__PURE__ */ K(fD, {
		"data-slot": "field-label",
		className: X("group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50", "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border [&>*]:data-[slot=field]:p-4", "has-[>[data-state=checked]]:border-primary has-[>[data-state=checked]]:bg-primary/10", e),
		...t
	});
}
function wD({ className: e, ...t }) {
	return /* @__PURE__ */ K("p", {
		"data-slot": "field-description",
		className: X("text-sm leading-normal font-normal text-muted-foreground group-has-[[data-orientation=horizontal]]/field:text-balance", "last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5", "[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary", e),
		...t
	});
}
function TD({ className: e, children: t, errors: n, ...r }) {
	let i = V(() => {
		if (t) return t;
		if (!n?.length) return null;
		let e = [...new Map(n.map((e) => [e?.message, e])).values()];
		return e?.length === 1 ? e[0]?.message : /* @__PURE__ */ K("ul", {
			className: "ml-4 flex list-disc flex-col gap-1",
			children: e.map((e, t) => e?.message && /* @__PURE__ */ K("li", { children: e.message }, t))
		});
	}, [t, n]);
	return i ? /* @__PURE__ */ K("div", {
		role: "alert",
		"data-slot": "field-error",
		className: X("text-sm font-normal text-destructive", e),
		...r,
		children: i
	}) : null;
}
// src/components/ui/input.tsx
function ED({ className: e, type: t, ...n }) {
	return /* @__PURE__ */ K("input", {
		type: t,
		"data-slot": "input",
		className: X("h-9 w-full min-w-0 rounded-md border border-input bg-input/30 px-3 py-1 text-base shadow-sm transition-[color,box-shadow] outline-none selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", "focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50", "aria-invalid:border-destructive aria-invalid:ring-destructive/40", e),
		...n
	});
}
// ../../../node_modules/.pnpm/react-resizable-panels@4.14.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.js
function DD(e) {
	let t = bn();
	return `${e ?? t}`;
}
var OD = typeof window < "u" ? Cn : B;
function kD(e) {
	let t = H(e);
	return OD(() => {
		t.current = e;
	}, [e]), z((...e) => t.current?.(...e), [t]);
}
function AD(...e) {
	return kD((t) => {
		e.forEach((e) => {
			if (e) switch (typeof e) {
				case "function":
					e(t);
					break;
				case "object": e.current = t;
			}
		});
	});
}
function jD(e, t = "Assertion error") {
	if (!e) throw Error(t);
}
mn(null);
var MD;
function ND() {
	return MD === void 0 && (MD = typeof matchMedia == "function" && !!matchMedia("(pointer:coarse)").matches), MD;
}
function PD({ expandHitTargets: e, axis: t, rect: n }) {
	let r = e ? ND() ? t.resizeTargetMinimumSize.coarse : t.resizeTargetMinimumSize.fine : 0;
	if (n.width < r) {
		let e = r - n.width;
		n = new DOMRect(n.x - e / 2, n.y, n.width + e, n.height);
	}
	if (n.height < r) {
		let e = r - n.height;
		n = new DOMRect(n.x, n.y - e / 2, n.width, n.height + e);
	}
	return n;
}
function FD(e) {
	switch (typeof e) {
		case "number": return [e, "px"];
		case "string": {
			let t = parseFloat(e);
			return e.endsWith("%") ? [t, "%"] : e.endsWith("px") ? [t, "px"] : e.endsWith("rem") ? [t, "rem"] : e.endsWith("em") ? [t, "em"] : e.endsWith("vh") ? [t, "vh"] : e.endsWith("vw") ? [t, "vw"] : [t, "%"];
		}
	}
}
var ID = class {
	#e = {};
	addListener(e, t) {
		let n = this.#e[e];
		return n === void 0 ? this.#e[e] = [t] : n.includes(t) || n.push(t), () => {
			this.removeListener(e, t);
		};
	}
	emit(e, t) {
		let n = this.#e[e];
		if (n !== void 0) {
			if (n.length === 1) n[0].call(null, t);
			else {
				let e = !1, r = null, i = Array.from(n);
				for (let n = 0; n < i.length; n++) {
					let a = i[n];
					try {
						a.call(null, t);
					} catch (t) {
						r === null && (e = !0, r = t);
					}
				}
				if (e) throw r;
			}
		}
	}
	removeAllListeners() {
		this.#e = {};
	}
	removeListener(e, t) {
		let n = this.#e[e];
		if (n !== void 0) {
			let e = n.indexOf(t);
			e >= 0 && n.splice(e, 1);
		}
	}
}, LD = {
	cursorFlags: 0,
	state: "inactive"
}, RD = new ID();
function zD() {
	return LD;
}
function BD(e) {
	return RD.addListener("change", e);
}
function VD(e, t = [], n, r = !1) {
	let i = LD, a = { ...LD };
	a.cursorFlags = e, a.state === "active" && (a.didPointerMove ||= r, a.previews = t, n && (a.previewLayoutMap = n)), LD = a, RD.emit("change", {
		prev: i,
		next: a
	});
}
function HD(e) {
	let t = LD;
	LD = e, t.state === "active" && e.state !== "active" && t.didPointerMove && t.hitRegions.forEach(({ separator: e }) => {
		e && e.element.ownerDocument.activeElement === e.element && e.element.blur();
	}), RD.emit("change", {
		prev: t,
		next: e
	});
}
function UD(e) {
	LD.state !== "active" || !LD.previews.some((t) => t.separator === e) || HD({
		...LD,
		previews: LD.previews.map((t) => t.separator === e ? { ...t } : t)
	});
}
function WD(e) {
	if (LD.state === "inactive") return !1;
	let t = LD.hitRegions.filter((t) => t.axis !== e), n = LD.state === "active" && LD.previews.some((t) => t.axis === e);
	if (t.length === LD.hitRegions.length && !n) return !1;
	if (t.length === 0) HD({
		cursorFlags: 0,
		state: "inactive"
	});
	else if (LD.state === "active") {
		let n = new Map(LD.initialLayoutMap), r = new Map(LD.previewLayoutMap);
		n.delete(e), r.delete(e), HD({
			...LD,
			cursorFlags: 0,
			hitRegions: t,
			initialLayoutMap: n,
			previewLayoutMap: r,
			previews: LD.previews.filter((t) => t.axis !== e)
		});
	} else HD({
		...LD,
		hitRegions: t
	});
	return !0;
}
var GD = (e) => e, KD = () => {}, qD = 1, JD = 2, YD = 4, XD = 8, ZD = 3, QD = 12, $D;
function eO() {
	return $D === void 0 && ($D = !1, typeof window < "u" && (window.navigator.userAgent.includes("Chrome") || window.navigator.userAgent.includes("Firefox")) && ($D = !0)), $D;
}
function tO({ cursorFlags: e, axes: t, state: n }) {
	let r = 0, i = 0;
	switch (n) {
		case "active":
		case "hover": t.forEach((e) => {
			if (!e.mutableState.disableCursor) switch (e.orientation) {
				case "horizontal":
					r++;
					break;
				case "vertical": i++;
			}
		});
	}
	if (r !== 0 || i !== 0) {
		if (n === "active" && e && eO()) {
			let t = (e & qD) !== 0, n = (e & JD) !== 0, r = (e & YD) !== 0, i = (e & XD) !== 0;
			if (t) return r ? "se-resize" : i ? "ne-resize" : "e-resize";
			if (n) return r ? "sw-resize" : i ? "nw-resize" : "w-resize";
			if (r) return "s-resize";
			if (i) return "n-resize";
		}
		return eO() ? r > 0 && i > 0 ? "move" : r > 0 ? "ew-resize" : "ns-resize" : r > 0 && i > 0 ? "grab" : r > 0 ? "col-resize" : "row-resize";
	}
}
var nO = /* @__PURE__ */ new WeakMap();
function rO(e) {
	if (!e.defaultView || !e.adoptedStyleSheets) return;
	let { prevStyle: t, styleSheet: n } = nO.get(e) ?? {};
	n === void 0 && (n = new e.defaultView.CSSStyleSheet(), e.adoptedStyleSheets && (Object.isExtensible(e.adoptedStyleSheets) ? e.adoptedStyleSheets.push(n) : e.adoptedStyleSheets = [...e.adoptedStyleSheets, n]));
	let r = zD();
	switch (r.state) {
		case "active":
		case "hover": {
			let e = tO({
				cursorFlags: r.cursorFlags,
				axes: r.hitRegions.map((e) => e.axis),
				state: r.state
			}), i = `*, *:hover {cursor: ${e} !important; }`;
			if (t === i) return;
			t = i, e ? n.cssRules.length === 0 ? n.insertRule(i) : n.replaceSync(i) : n.cssRules.length === 1 && n.deleteRule(0);
			break;
		}
		case "inactive": t = void 0, n.cssRules.length === 1 && n.deleteRule(0);
	}
	nO.set(e, {
		prevStyle: t,
		styleSheet: n
	});
}
function iO({ axis: e }) {
	let { layoutStrategy: t, orientation: n, items: r } = e;
	return t ? t.calculateAvailableSize() : r.reduce((e, t) => (e += n === "horizontal" ? t.element.offsetWidth : t.element.offsetHeight, e), 0);
}
function aO(e, t) {
	let n = e.compareDocumentPosition(t);
	return n & Node.DOCUMENT_POSITION_DISCONNECTED ? 0 : n & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : n & Node.DOCUMENT_POSITION_PRECEDING ? 1 : 0;
}
function oO(e, t) {
	return Array.from(t).sort((t, n) => {
		let r = e === "horizontal" ? sO(t, n) : cO(t, n);
		return r === 0 ? aO(t.element, n.element) : r;
	});
}
function sO(e, t) {
	let n = e.element.offsetLeft - t.element.offsetLeft;
	return n === 0 ? e.element.offsetWidth - t.element.offsetWidth : n;
}
function cO(e, t) {
	let n = e.element.offsetTop - t.element.offsetTop;
	return n === 0 ? e.element.offsetHeight - t.element.offsetHeight : n;
}
function lO(e) {
	return typeof e == "object" && !!e && "nodeType" in e && e.nodeType === Node.ELEMENT_NODE;
}
function uO(e, t) {
	return {
		x: e.x >= t.left && e.x <= t.right ? 0 : Math.min(Math.abs(e.x - t.left), Math.abs(e.x - t.right)),
		y: e.y >= t.top && e.y <= t.bottom ? 0 : Math.min(Math.abs(e.y - t.top), Math.abs(e.y - t.bottom))
	};
}
function dO({ orientation: e, rects: t, targetRect: n }) {
	let r = {
		x: n.x + n.width / 2,
		y: n.y + n.height / 2
	}, i, a = Number.MAX_VALUE;
	for (let n of t) {
		let { x: t, y: o } = uO(r, n), s = e === "horizontal" ? t : o;
		s < a && (a = s, i = n);
	}
	return jD(i, "No rect found"), i;
}
function fO({ expandHitTargets: e = !0, axis: t, includeDisabled: n = !1 }) {
	if (t.layoutStrategy) return t.layoutStrategy.calculateHitRegions({
		expandHitTargets: e,
		axis: t,
		includeDisabled: n
	});
	let { element: r, orientation: i, items: a, separators: o } = t, s = oO(i, Array.from(r.children).filter(lO).filter((e) => !e.hasAttribute("data-resize-preview")).map((e) => ({ element: e }))).map(({ element: e }) => e), c = [], l = !1, u = !1, d = -1, f, p = -1, m = 0, h, g = [];
	{
		let e = -1;
		for (let t of s) t.hasAttribute("data-panel") && (e++, t.hasAttribute("data-disabled") || (m++, d === -1 && (d = e), p = e));
	}
	if (n || m > 1) {
		let r = -1;
		for (let m of s) if (m.hasAttribute("data-panel")) {
			r++;
			let o = a.find((e) => e.element === m);
			if (o) {
				if (h) {
					let a = h.element.getBoundingClientRect(), s = m.getBoundingClientRect(), _;
					if (u) {
						let e = i === "horizontal" ? new DOMRect(a.right, a.top, 0, a.height) : new DOMRect(a.left, a.bottom, a.width, 0), t = i === "horizontal" ? new DOMRect(s.left, s.top, 0, s.height) : new DOMRect(s.left, s.top, s.width, 0);
						switch (g.length) {
							case 0:
								_ = [e, t];
								break;
							case 1: {
								let n = g[0];
								_ = [n, dO({
									orientation: i,
									rects: [a, s],
									targetRect: n.element.getBoundingClientRect()
								}) === a ? t : e];
								break;
							}
							default: _ = g;
						}
					} else _ = g.length ? g : [i === "horizontal" ? new DOMRect(a.right, s.top, s.left - a.right, s.height) : new DOMRect(s.left, a.bottom, s.width, s.top - a.bottom)];
					for (let i of _) {
						let a = PD({
							expandHitTargets: e,
							axis: t,
							rect: "width" in i ? i : i.element.getBoundingClientRect()
						});
						(n || !l && !(r <= d || r > p)) && (f ??= iO({ axis: t }), c.push({
							axis: t,
							axisSize: f,
							items: [h, o],
							separator: "width" in i ? void 0 : i,
							rect: a
						})), l = !1;
					}
				}
				u = !1, h = o, g = [];
			}
		} else if (m.hasAttribute("data-separator")) {
			m.ariaDisabled !== null && (l = !0);
			let e = o.find((e) => e.element === m);
			e ? g.push(e) : (h = void 0, g = []);
		} else u = !0;
	}
	return c;
}
function pO(e, t) {
	let n = getComputedStyle(e);
	return t * parseFloat(n.fontSize);
}
function mO(e, t) {
	let n = getComputedStyle(e.ownerDocument.documentElement);
	return t * parseFloat(n.fontSize);
}
function hO(e) {
	return e / 100 * window.innerHeight;
}
function gO(e) {
	return e / 100 * window.innerWidth;
}
function _O({ axisSize: e, itemElement: t, styleProp: n }) {
	let r, [i, a] = FD(n);
	switch (a) {
		case "%":
			r = i / 100 * e;
			break;
		case "px":
			r = i;
			break;
		case "rem":
			r = mO(t, i);
			break;
		case "em":
			r = pO(t, i);
			break;
		case "vh":
			r = hO(i);
			break;
		case "vw": r = gO(i);
	}
	return r;
}
function vO(e) {
	return parseFloat(e.toFixed(3));
}
function yO(e) {
	let { items: t } = e, n = iO({ axis: e });
	return n === 0 ? t.map((e) => ({
		groupResizeBehavior: e.constraintProps.groupResizeBehavior,
		collapsedSize: 0,
		collapsible: e.constraintProps.collapsible === !0,
		defaultSize: void 0,
		disabled: e.constraintProps.disabled,
		minSize: 0,
		maxSize: 100,
		itemId: e.id
	})) : t.map((e) => {
		let { element: t, constraintProps: r } = e, i = 0;
		r.collapsedSize !== void 0 && (i = vO(_O({
			axisSize: n,
			itemElement: t,
			styleProp: r.collapsedSize
		}) / n * 100));
		let a;
		r.collapsedThreshold !== void 0 && (a = vO(_O({
			axisSize: n,
			itemElement: t,
			styleProp: r.collapsedThreshold
		}) / n * 100));
		let o;
		r.defaultSize !== void 0 && (o = vO(_O({
			axisSize: n,
			itemElement: t,
			styleProp: r.defaultSize
		}) / n * 100));
		let s = 0;
		r.minSize !== void 0 && (s = vO(_O({
			axisSize: n,
			itemElement: t,
			styleProp: r.minSize
		}) / n * 100));
		let c = 100;
		return r.maxSize !== void 0 && (c = vO(_O({
			axisSize: n,
			itemElement: t,
			styleProp: r.maxSize
		}) / n * 100)), {
			groupResizeBehavior: r.groupResizeBehavior,
			collapsedSize: i,
			collapsedThreshold: a,
			collapsible: r.collapsible === !0,
			defaultSize: o,
			disabled: r.disabled,
			minSize: s,
			maxSize: c,
			itemId: e.id
		};
	});
}
var bO = /* @__PURE__ */ new Map(), xO = new ID();
function SO(e) {
	bO = new Map(bO), bO.delete(e);
}
function CO(e, t) {
	for (let [t] of bO) if (t.id === e) return t;
}
function wO(e, t) {
	for (let [t, n] of bO) if (t.id === e) return n;
	if (t) throw Error(`Could not find data for Group with id ${e}`);
}
function TO() {
	return bO;
}
function EO(e, t) {
	return xO.addListener("axisChange", (n) => {
		n.axis.id === e && t(n);
	});
}
function DO(e, t, n) {
	let r = bO.get(e);
	bO = new Map(bO), bO.set(e, t), xO.emit("axisChange", {
		axis: e,
		isUserInteraction: n?.isUserInteraction === !0,
		prev: r,
		next: t
	});
}
function OO(e, t) {
	if (e.length !== t.length) return !1;
	for (let n = 0; n < e.length; n++) if (e[n] != t[n]) return !1;
	return !0;
}
function kO(e, t, n = 0) {
	return Math.abs(vO(e) - vO(t)) <= n;
}
function AO(e, t) {
	return kO(e, t) ? 0 : e > t ? 1 : -1;
}
function jO({ overrideDisabledItems: e, itemConstraints: t, prevSize: n, size: r }) {
	let { collapsedSize: i = 0, collapsedThreshold: a, collapsible: o, disabled: s, maxSize: c = 100, minSize: l = 0 } = t;
	if (s && !e) return n;
	if (AO(r, l) < 0) {
		if (o) {
			let e = a ?? (l - i) / 2, t = AO(n, i) <= 0, o = t ? i + e : l - e, s = AO(r, o);
			r = AO(r, i) <= 0 || s < 0 || a !== void 0 && t && s === 0 ? i : l;
		} else r = l;
	}
	return r = Math.min(c, r), r = vO(r), r;
}
function MO({ delta: e, initialLayout: t, itemConstraints: n, pivotIndices: r, prevLayout: i, trigger: a }) {
	if (kO(e, 0)) return t;
	let o = a === "imperative-api", s = n.map(({ itemId: e }) => t[e]), c = n.map(({ itemId: e }) => i[e]), l = [...s], [u, d] = r;
	jD(u != null, "Invalid first pivot index"), jD(d != null, "Invalid second pivot index");
	let f = 0;
	switch (a) {
		case "keyboard":
			{
				let t = e < 0 ? d : u, r = n[t];
				jD(r, `Panel constraints not found for index ${t}`);
				let { collapsedSize: i = 0, collapsible: a, minSize: o = 0 } = r;
				if (a) {
					let n = s[t];
					if (jD(n != null, `Previous layout not found for panel index ${t}`), kO(n, i)) {
						let t = o - n;
						AO(t, Math.abs(e)) > 0 && (e = e < 0 ? 0 - t : t);
					}
				}
			}
			{
				let t = e < 0 ? u : d, r = n[t];
				jD(r, `No panel constraints found for index ${t}`);
				let { collapsedSize: i = 0, collapsible: a, minSize: o = 0 } = r;
				if (a) {
					let n = s[t];
					if (jD(n != null, `Previous layout not found for panel index ${t}`), kO(n, o)) {
						let t = n - i;
						AO(t, Math.abs(e)) > 0 && (e = e < 0 ? 0 - t : t);
					}
				}
			}
			break;
		default: {
			let t = e < 0 ? d : u, r = n[t];
			jD(r, `Panel constraints not found for index ${t}`);
			let i = s[t], { collapsedSize: a, collapsedThreshold: o, collapsible: c, minSize: l } = r;
			if (c && AO(i, l) < 0) {
				let t = l - a, n = o ?? t / 2;
				if (AO(i + Math.abs(e), l) < 0) {
					let r = AO(Math.abs(e), n);
					e = r > 0 || r === 0 && o === void 0 && e < 0 ? e < 0 ? -t : t : 0;
				}
			}
			break;
		}
	}
	{
		let t = e < 0 ? 1 : -1, r = e < 0 ? d : u, i = 0;
		for (;;) {
			let e = s[r];
			jD(e != null, `Previous layout not found for panel index ${r}`);
			let a = jO({
				overrideDisabledItems: o,
				itemConstraints: n[r],
				prevSize: e,
				size: 100
			}) - e;
			if (i += a, r += t, r < 0 || r >= n.length) break;
		}
		let a = Math.min(Math.abs(e), Math.abs(i));
		e = e < 0 ? 0 - a : a;
	}
	{
		let t = e < 0 ? u : d;
		for (; t >= 0 && t < n.length;) {
			let r = Math.abs(e) - Math.abs(f), i = s[t];
			jD(i != null, `Previous layout not found for panel index ${t}`);
			let a = i - r, c = jO({
				overrideDisabledItems: o,
				itemConstraints: n[t],
				prevSize: i,
				size: a
			});
			if (!kO(i, c) && (f += i - c, l[t] = c, f.toFixed(3).localeCompare(Math.abs(e).toFixed(3), void 0, { numeric: !0 }) >= 0)) break;
			e < 0 ? t-- : t++;
		}
	}
	if (OO(c, l)) return i;
	{
		let t = e < 0 ? d : u, r = s[t];
		jD(r != null, `Previous layout not found for panel index ${t}`);
		let i = r + f, a = jO({
			overrideDisabledItems: o,
			itemConstraints: n[t],
			prevSize: r,
			size: i
		});
		if (l[t] = a, !kO(a, i)) {
			let t = i - a, r = e < 0 ? d : u;
			for (; r >= 0 && r < n.length;) {
				let i = l[r];
				jD(i != null, `Previous layout not found for panel index ${r}`);
				let a = i + t, s = jO({
					overrideDisabledItems: o,
					itemConstraints: n[r],
					prevSize: i,
					size: a
				});
				if (kO(i, s) || (t -= s - i, l[r] = s), kO(t, 0)) break;
				e > 0 ? r-- : r++;
			}
		}
	}
	return kO(Object.values(l).reduce((e, t) => t + e, 0), 100, .1) ? l.reduce((e, t, r) => (e[n[r].itemId] = t, e), {}) : i;
}
function NO(e, t) {
	if (Object.keys(e).length !== Object.keys(t).length) return !1;
	for (let n in e) if (t[n] === void 0 || AO(e[n], t[n]) !== 0) return !1;
	return !0;
}
function PO({ commit: e, document: t, event: n, hitRegions: r, initialLayoutMap: i, mountedAxes: a, pointerDownAtPoint: o, prevCursorFlags: s }) {
	let c = 0, l = zD(), u = l.state === "active" ? l.previews : [], d = new Map(l.state === "active" ? l.previewLayoutMap : void 0);
	r.forEach((t) => {
		let { axis: r, axisSize: s } = t, { orientation: l, items: f } = r;
		if (e && r.resizePreviewMode !== "separator") return;
		let { disableCursor: p } = r.mutableState, m = 0;
		m = o ? l === "horizontal" ? (n.clientX - o.x) / s * 100 : (n.clientY - o.y) / s * 100 : l === "horizontal" ? n.clientX < 0 ? -100 : 100 : n.clientY < 0 ? -100 : 100;
		let h = i.get(r), g = a.get(r);
		if (!h || !g) return;
		let { defaultLayoutDeferred: _, derivedItemConstraints: v, axisSize: y, layout: b, separatorToItems: x } = g;
		if (v && b && x) {
			let n = r.resizePreviewMode === "separator" ? d.get(r) ?? b : b, i = MO({
				delta: m,
				initialLayout: h,
				itemConstraints: v,
				pivotIndices: t.items.map((e) => f.indexOf(e)),
				prevLayout: n,
				trigger: "mouse-or-touch"
			});
			if (r.resizePreviewMode === "separator" && !e && !NO(i, n)) {
				d.set(r, i);
				let e = 0, t = f.map((t) => (e += i[t.id] - h[t.id], s / 100 * e));
				u = u.map((e) => {
					if (e.axis !== r) return e;
					let n = t[e.itemIndex];
					return n === e.offset ? e : {
						...e,
						offset: n
					};
				});
			}
			if (NO(i, n) && m !== 0 && !p) switch (l) {
				case "horizontal":
					c |= m < 0 ? qD : JD;
					break;
				case "vertical": c |= m < 0 ? YD : XD;
			}
			(r.resizePreviewMode !== "separator" || e) && !NO(i, b) && DO(t.axis, {
				defaultLayoutDeferred: _,
				derivedItemConstraints: v,
				axisSize: y,
				layout: i,
				requestedAxisSize: y,
				requestedLayout: i,
				separatorToItems: x
			});
		}
	});
	let f = 0;
	n.movementX === 0 ? f |= s & ZD : f |= c & ZD, n.movementY === 0 ? f |= s & QD : f |= c & QD;
	let p = l.state === "active" && (n.clientX !== l.pointerDownAtPoint.x || n.clientY !== l.pointerDownAtPoint.y);
	VD(f, u, d, p), rO(t);
}
function FO(e, t) {
	let n = zD(), r = TO(), i = !1;
	return n.state === "active" && (PO({
		commit: !0,
		document: e,
		event: t,
		hitRegions: n.hitRegions,
		initialLayoutMap: n.initialLayoutMap,
		mountedAxes: r,
		pointerDownAtPoint: n.pointerDownAtPoint,
		prevCursorFlags: n.cursorFlags
	}), HD({
		cursorFlags: 0,
		state: "inactive"
	}), n.hitRegions.length > 0 && (rO(e), i = !0, n.hitRegions.forEach((e) => {
		if (!r.has(e.axis)) return;
		let t = wO(e.axis.id, !0);
		DO(e.axis, t, { isUserInteraction: !0 });
	}))), i;
}
function IO(e) {
	e.defaultPrevented || FO(e.currentTarget, e);
}
function LO(e, t, n) {
	let r, i = {
		x: 1 / 0,
		y: 1 / 0
	};
	for (let a of t) {
		let t = uO(n, a.rect);
		switch (e) {
			case "horizontal":
				(t.x < i.x || t.x === i.x && t.y <= i.y) && (r = a, i = t);
				break;
			case "vertical": (t.y < i.y || t.y === i.y && t.x <= i.x) && (r = a, i = t);
		}
	}
	return r ? {
		distance: i,
		hitRegion: r
	} : void 0;
}
function RO(e) {
	return typeof e == "object" && !!e && "nodeType" in e && e.nodeType === Node.DOCUMENT_FRAGMENT_NODE;
}
function zO(e, t) {
	if (e === t) throw Error("Cannot compare node with itself");
	let n = {
		a: GO(e),
		b: GO(t)
	}, r;
	for (; n.a.at(-1) === n.b.at(-1);) r = n.a.pop(), n.b.pop();
	jD(r, "Stacking order can only be calculated for elements with a common ancestor");
	let i = {
		a: WO(UO(n.a)),
		b: WO(UO(n.b))
	};
	if (i.a === i.b) {
		let e = r.childNodes, t = {
			a: n.a.at(-1),
			b: n.b.at(-1)
		}, i = e.length;
		for (; i--;) {
			let n = e[i];
			if (n === t.a) return 1;
			if (n === t.b) return -1;
		}
	}
	return Math.sign(i.a - i.b);
}
var BO = /\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;
function VO(e) {
	let t = getComputedStyle(KO(e) ?? e).display;
	return t === "flex" || t === "inline-flex";
}
function HO(e) {
	let t = getComputedStyle(e);
	return !!(t.position === "fixed" || t.zIndex !== "auto" && (t.position !== "static" || VO(e)) || +t.opacity < 1 || "transform" in t && t.transform !== "none" || "webkitTransform" in t && t.webkitTransform !== "none" || "mixBlendMode" in t && t.mixBlendMode !== "normal" || "filter" in t && t.filter !== "none" || "webkitFilter" in t && t.webkitFilter !== "none" || "isolation" in t && t.isolation === "isolate" || BO.test(t.willChange) || t.webkitOverflowScrolling === "touch");
}
function UO(e) {
	let t = e.length;
	for (; t--;) {
		let n = e[t];
		if (jD(n, "Missing node"), HO(n)) return n;
	}
	return null;
}
function WO(e) {
	return e && Number(getComputedStyle(e).zIndex) || 0;
}
function GO(e) {
	let t = [];
	for (; e;) t.push(e), e = KO(e);
	return t;
}
function KO(e) {
	let { parentNode: t } = e;
	return RO(t) ? t.host : t;
}
function qO(e, t) {
	return e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;
}
function JO(e) {
	try {
		return e.matches(":modal");
	} catch {
		return !1;
	}
}
function YO({ axisElement: e, hitRegion: t, pointerEventTarget: n }) {
	if (lO(n)) {
		let t = n.closest("dialog");
		if (t && !t.contains(e) && JO(t)) return !1;
	}
	if (!lO(n) || n.contains(e) || e.contains(n)) return !0;
	if (zO(n, e) > 0) {
		let r = n;
		for (; r;) {
			if (r.contains(e)) return !0;
			if (qO(r.getBoundingClientRect(), t)) return !1;
			r = r.parentElement;
		}
	}
	return !0;
}
function XO(e, t) {
	let n = [];
	return t.forEach((t, r) => {
		if (r.disabled) return;
		let i = fO({ axis: r }), a = LO(r.orientation, i, {
			x: e.clientX,
			y: e.clientY
		});
		a && a.distance.x <= 0 && a.distance.y <= 0 && YO({
			axisElement: r.element,
			hitRegion: a.hitRegion.rect,
			pointerEventTarget: e.target
		}) && n.push(a.hitRegion);
	}), n;
}
function ZO({ layout: e, itemConstraints: t }) {
	let n = t.map(({ itemId: t }) => e[t]), r = [...n], i = r.reduce((e, t) => e + t, 0);
	if (Object.keys(e).length !== t.length) throw Error(`Invalid ${t.length} panel layout: ${Object.values(e).map((e) => `${e}%`).join(", ")}`);
	if (!kO(i, 100) && r.length > 0) for (let e = 0; e < t.length; e++) {
		let t = r[e];
		jD(t != null, `No layout data found for index ${e}`);
		let n = 100 / i * t;
		r[e] = n;
	}
	let a = 0;
	for (let e = 0; e < t.length; e++) {
		let i = n[e];
		jD(i != null, `No layout data found for index ${e}`);
		let o = r[e];
		jD(o != null, `No layout data found for index ${e}`);
		let s = jO({
			overrideDisabledItems: !0,
			itemConstraints: t[e],
			prevSize: i,
			size: o
		});
		o != s && (a += o - s, r[e] = s);
	}
	if (!kO(a, 0)) for (let e = 0; e < t.length; e++) {
		let n = r[e];
		jD(n != null, `No layout data found for index ${e}`);
		let i = n + a, o = jO({
			overrideDisabledItems: !0,
			itemConstraints: t[e],
			prevSize: n,
			size: i
		});
		if (n !== o && (a -= o - n, r[e] = o, kO(a, 0))) break;
	}
	return r.reduce((e, n, r) => (e[t[r].itemId] = n, e), {});
}
function QO({ axisId: e, itemId: t }) {
	let n = () => {
		let t = TO();
		for (let [n, { defaultLayoutDeferred: r, derivedItemConstraints: i, layout: a, axisSize: o, separatorToItems: s }] of t) if (n.id === e) return {
			defaultLayoutDeferred: r,
			derivedItemConstraints: i,
			axis: n,
			axisSize: o,
			layout: a,
			separatorToItems: s
		};
		throw Error(`Group ${e} not found`);
	}, r = () => {
		let e = n().derivedItemConstraints.find((e) => e.itemId === t);
		if (e !== void 0) return e;
		throw Error(`Panel constraints not found for Panel ${t}`);
	}, i = () => {
		let e = n().axis.items.find((e) => e.id === t);
		if (e !== void 0) return e;
		throw Error(`Layout not found for Panel ${t}`);
	}, a = () => {
		let e = n().layout[t];
		if (e !== void 0) return e;
		throw Error(`Layout not found for Panel ${t}`);
	}, o = ({ nextSize: e, items: n, prevLayout: r, derivedItemConstraints: i }) => {
		let o = a(), s = n.findIndex((e) => e.id === t), c = s === 0, l = s === n.length - 1;
		if (l && e < o && (c || n.slice(0, s).every((e, t) => {
			let n = i[t];
			return n?.collapsible && kO(n.collapsedSize, r[n.itemId]);
		}))) {
			let e = n.slice(0, s).reduce((e, t) => e + r[t.id], 0);
			return {
				...r,
				[t]: vO(100 - e)
			};
		}
		return MO({
			delta: l ? o - e : e - o,
			initialLayout: r,
			itemConstraints: i,
			pivotIndices: l ? [s - 1, s] : [s, s + 1],
			prevLayout: r,
			trigger: "imperative-api"
		});
	}, s = (e) => {
		if (e === a()) return;
		let { defaultLayoutDeferred: t, derivedItemConstraints: r, axis: i, axisSize: s, layout: c, separatorToItems: l } = n(), u = ZO({
			layout: o({
				nextSize: e,
				items: i.items,
				prevLayout: c,
				derivedItemConstraints: r
			}),
			itemConstraints: r
		});
		NO(c, u) || DO(i, {
			defaultLayoutDeferred: t,
			derivedItemConstraints: r,
			axisSize: s,
			layout: u,
			requestedAxisSize: s,
			requestedLayout: u,
			separatorToItems: l
		});
	};
	return {
		collapse: () => {
			let { collapsible: e, collapsedSize: t } = r(), { mutableValues: n } = i(), o = a();
			e && o !== t && (n.expandToSize = o, s(t));
		},
		expand: () => {
			let { collapsible: e, collapsedSize: t, minSize: n } = r(), { mutableValues: o } = i(), c = a();
			if (e && c === t) {
				let e = o.expandToSize ?? n;
				e === 0 && (e = 1), s(e);
			}
		},
		getSize: () => {
			let { axis: e } = n(), r = a(), { element: o } = i();
			return {
				asPercentage: r,
				inPixels: e.layoutStrategy ? e.layoutStrategy.getItemSizeInPixels(t) : e.orientation === "horizontal" ? o.offsetWidth : o.offsetHeight
			};
		},
		isCollapsed: () => {
			let { collapsible: e, collapsedSize: t } = r(), n = a();
			return e && kO(t, n);
		},
		resize: (e) => {
			let { axis: t } = n(), { element: r } = i(), a = iO({ axis: t }), o = vO(_O({
				axisSize: a,
				itemElement: r,
				styleProp: e
			}) / a * 100);
			s(o);
		}
	};
}
function $O(e) {
	e.defaultPrevented || XO(e, TO()).forEach((t) => {
		if (t.separator && !t.separator.disableDoubleClick) {
			let n = t.items.find((e) => e.constraintProps.defaultSize !== void 0);
			if (n) {
				let r = n.constraintProps.defaultSize, i = QO({
					axisId: t.axis.id,
					itemId: n.id
				});
				i && r !== void 0 && (i.resize(r), e.preventDefault());
			}
		}
	});
}
function ek(e) {
	let t = TO();
	for (let [n] of t) if (n.separators.some((t) => t.element === e)) return n;
	throw Error("Could not find parent Group for separator element");
}
function tk({ axisId: e }) {
	let t = () => {
		let t = TO();
		for (let [n, r] of t) if (n.id === e) return {
			axis: n,
			...r
		};
		throw Error(`Could not find Group with id "${e}"`);
	};
	return {
		getLayout() {
			let { defaultLayoutDeferred: e, layout: n } = t();
			return e ? {} : n;
		},
		setLayout(e) {
			let { defaultLayoutDeferred: n, derivedItemConstraints: r, axis: i, axisSize: a, layout: o, separatorToItems: s } = t(), c = ZO({
				layout: e,
				itemConstraints: r
			});
			return n ? o : (NO(o, c) || DO(i, {
				defaultLayoutDeferred: n,
				derivedItemConstraints: r,
				axisSize: a,
				layout: c,
				requestedAxisSize: a,
				requestedLayout: c,
				separatorToItems: s
			}), c);
		}
	};
}
function nk(e, t) {
	let n = ek(e), r = wO(n.id, !0), i = n.separators.find((t) => t.element === e);
	jD(i, "Matching separator not found");
	let a = r.separatorToItems.get(i);
	jD(a, "Matching panels not found");
	let o = a.map((e) => n.items.indexOf(e)), s = tk({ axisId: n.id }).getLayout(), c = ZO({
		layout: MO({
			delta: t,
			initialLayout: s,
			itemConstraints: r.derivedItemConstraints,
			pivotIndices: o,
			prevLayout: s,
			trigger: "keyboard"
		}),
		itemConstraints: r.derivedItemConstraints
	});
	NO(s, c) || DO(n, {
		defaultLayoutDeferred: r.defaultLayoutDeferred,
		derivedItemConstraints: r.derivedItemConstraints,
		axisSize: r.axisSize,
		layout: c,
		requestedAxisSize: r.axisSize,
		requestedLayout: c,
		separatorToItems: r.separatorToItems
	}, { isUserInteraction: !0 });
}
function rk(e) {
	if (e.defaultPrevented) return;
	let t = e.currentTarget, n = ek(t);
	if (!(n.disabled || n.separators.find((e) => e.element === t)?.disabled)) switch (e.key) {
		case "ArrowDown":
			e.preventDefault(), n.orientation === "vertical" && nk(t, 5);
			break;
		case "ArrowLeft":
			e.preventDefault(), n.orientation === "horizontal" && nk(t, -5);
			break;
		case "ArrowRight":
			e.preventDefault(), n.orientation === "horizontal" && nk(t, 5);
			break;
		case "ArrowUp":
			e.preventDefault(), n.orientation === "vertical" && nk(t, -5);
			break;
		case "End":
			e.preventDefault(), nk(t, 100);
			break;
		case "Enter": {
			e.preventDefault();
			let { derivedItemConstraints: r, layout: i, separatorToItems: a } = wO(n.id, !0), o = n.separators.find((e) => e.element === t);
			jD(o, "Matching separator not found");
			let s = a.get(o);
			jD(s, "Matching panels not found");
			let c = s[0], l = r.find((e) => e.itemId === c.id);
			if (jD(l, "Panel metadata not found"), l.collapsible) {
				let e = i[c.id];
				nk(t, (l.collapsedSize === e ? n.mutableState.expandedItemSizes[c.id] ?? l.minSize : l.collapsedSize) - e);
			}
			break;
		}
		case "F6": {
			e.preventDefault();
			let t = n.separators.map((e) => e.element), r = Array.from(t).findIndex((t) => t === e.currentTarget);
			jD(r !== null, "Index not found"), t[e.shiftKey ? r > 0 ? r - 1 : t.length - 1 : r + 1 < t.length ? r + 1 : 0].focus({ preventScroll: !0 });
			break;
		}
		case "Home": e.preventDefault(), nk(t, -100);
	}
}
function ik(e, t) {
	let { element: n, orientation: r, items: i } = e, a = n.getBoundingClientRect(), o = r === "horizontal";
	return fO({
		expandHitTargets: !1,
		axis: e,
		includeDisabled: !0
	}).map(({ items: r, rect: s, separator: c }, l) => {
		let u = i.indexOf(r[0]), d = o ? s.left + s.width / 2 : s.top + s.height / 2;
		return {
			active: t.some((t) => {
				if (t.axis !== e || t.items[0] !== r[0]) return !1;
				if (c || t.separator) return t.separator === c;
				let n = o ? t.rect.left + t.rect.width / 2 : t.rect.top + t.rect.height / 2;
				return kO(d, n);
			}),
			axis: e,
			key: c ? `separator-${c.id}` : `panel-${r[0].id}-${l}`,
			offset: 0,
			itemIndex: u,
			rect: new DOMRect((o && !c ? d : s.left) - a.left - n.clientLeft + n.scrollLeft, (!o && !c ? d : s.top) - a.top - n.clientTop + n.scrollTop, o && !c ? 0 : s.width, !o && !c ? 0 : s.height),
			separator: c
		};
	});
}
function ak(e) {
	if (e.defaultPrevented || e.pointerType === "mouse" && e.button > 0) return;
	let t = TO(), n = XO(e, t);
	if (n.length === 0) return;
	let r = /* @__PURE__ */ new Map(), i = !1;
	n.forEach((e) => {
		e.separator && (i || (i = !0, e.separator.element.focus({
			focusVisible: !1,
			preventScroll: !0
		})));
		let n = t.get(e.axis);
		n && r.set(e.axis, n.layout);
	});
	let a = Array.from(r.keys()).flatMap((e) => e.resizePreviewMode === "separator" ? ik(e, n) : []);
	HD({
		cursorFlags: 0,
		didPointerMove: !1,
		hitRegions: n,
		initialLayoutMap: r,
		pointerDownAtPoint: {
			x: e.clientX,
			y: e.clientY
		},
		previewLayoutMap: new Map(r),
		previews: a,
		state: "active"
	}), e.preventDefault();
}
function ok(e) {
	let t = TO(), n = zD();
	n.state === "active" && PO({
		commit: !1,
		document: e.currentTarget,
		event: e,
		hitRegions: n.hitRegions,
		initialLayoutMap: n.initialLayoutMap,
		mountedAxes: t,
		prevCursorFlags: n.cursorFlags
	});
}
function sk(e) {
	if (e.defaultPrevented) return;
	let t = zD(), n = TO();
	switch (t.state) {
		case "active":
			if (e.buttons === 0) {
				t.previewLayoutMap.forEach((e, t) => {
					let r = n.get(t);
					t.resizePreviewMode === "separator" && r && !NO(e, r.layout) && DO(t, {
						...r,
						layout: e,
						requestedAxisSize: r.axisSize,
						requestedLayout: e
					});
				}), HD({
					cursorFlags: 0,
					state: "inactive"
				}), t.hitRegions.forEach((e) => {
					if (!n.has(e.axis)) return;
					let t = wO(e.axis.id, !0);
					DO(e.axis, t, { isUserInteraction: !0 });
				}), rO(e.currentTarget);
				return;
			}
			for (let n of t.hitRegions) if (n.separator) {
				let { element: t } = n.separator;
				t.isConnected && !t.hasPointerCapture?.(e.pointerId) && t.setPointerCapture?.(e.pointerId);
			}
			PO({
				commit: !1,
				document: e.currentTarget,
				event: e,
				hitRegions: t.hitRegions,
				initialLayoutMap: t.initialLayoutMap,
				mountedAxes: n,
				pointerDownAtPoint: t.pointerDownAtPoint,
				prevCursorFlags: t.cursorFlags
			});
			break;
		default: {
			let r = XO(e, n);
			r.length === 0 ? t.state !== "inactive" && HD({
				cursorFlags: 0,
				state: "inactive"
			}) : HD({
				cursorFlags: 0,
				hitRegions: r,
				state: "hover"
			}), rO(e.currentTarget);
			break;
		}
	}
}
function ck(e) {
	if (e.relatedTarget instanceof HTMLIFrameElement) switch (zD().state) {
		case "hover": HD({
			cursorFlags: 0,
			state: "inactive"
		});
	}
}
function lk(e) {
	e.defaultPrevented || e.pointerType === "mouse" && e.button > 0 || FO(e.currentTarget, e) && e.preventDefault();
}
function uk(e) {
	let t = 0, n = 0, r = {};
	for (let i of e) if (i.defaultSize !== void 0) {
		t++;
		let e = vO(i.defaultSize);
		n += e, r[i.itemId] = e;
	} else r[i.itemId] = void 0;
	let i = e.length - t;
	if (i !== 0) {
		let t = vO((100 - n) / i);
		for (let n of e) n.defaultSize === void 0 && (r[n.itemId] = t);
	}
	return r;
}
function dk(e, t) {
	let n = e.map((e) => e.id), r = Object.keys(t);
	if (n.length !== r.length) return !1;
	for (let e of n) if (!r.includes(e)) return !1;
	return !0;
}
function fk({ axis: e, itemConstraints: t }) {
	let n = e.items.map(({ id: e }) => e).join(","), r = e.mutableState.defaultLayout;
	return e.mutableState.layouts[n] ?? (r && dk(e.items, r) ? r : uk(t));
}
function pk({ itemIds: e, layout: t }) {
	return ZO({
		layout: t,
		itemConstraints: e.map((e) => ({
			collapsedSize: 0,
			collapsible: !1,
			defaultSize: void 0,
			disabled: void 0,
			itemId: e,
			maxSize: 100,
			minSize: 0
		}))
	});
}
function mk(e, t, n) {
	if (!n[0]) return;
	let r = e.items.find((e) => e.element === t);
	if (!r || !r.onResize) return;
	let i = iO({ axis: e }), a = e.orientation === "horizontal" ? r.element.offsetWidth : r.element.offsetHeight, o = r.mutableValues.prevSize, s = {
		asPercentage: vO(a / i * 100),
		inPixels: a
	};
	r.mutableValues.prevSize = s, r.onResize(s, r.id, o);
}
function hk(e, t) {
	if (Object.keys(e).length !== Object.keys(t).length) return !1;
	for (let n in e) if (e[n] !== t[n]) return !1;
	return !0;
}
function gk(e, t) {
	return e.length === t.length && e.every((e, n) => hk(e, t[n]));
}
function _k({ axis: e, nextAxisSize: t, prevAxisSize: n, prevLayout: r }) {
	if (n <= 0 || t <= 0 || n === t) return r;
	let i = 0, a = 0, o = !1, s = /* @__PURE__ */ new Map(), c = [];
	for (let l of e.items) {
		let e = r[l.id] ?? 0;
		switch (l.constraintProps.groupResizeBehavior) {
			case "preserve-pixel-size": {
				o = !0;
				let r = vO(e / 100 * n / t * 100);
				s.set(l.id, r), i += r;
				break;
			}
			default: c.push(l.id), a += e;
		}
	}
	if (!o || c.length === 0) return r;
	let l = 100 - i, u = { ...r };
	if (s.forEach((e, t) => {
		u[t] = e;
	}), a > 0) for (let e of c) u[e] = vO((r[e] ?? 0) / a * l);
	else {
		let e = vO(l / c.length);
		for (let t of c) u[t] = e;
	}
	return u;
}
var vk = /* @__PURE__ */ new Map();
function yk(e) {
	let t = !0;
	jD(e.element.ownerDocument.defaultView, "Cannot register an unmounted Group");
	let n = e.element.ownerDocument.defaultView.ResizeObserver, r = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Set(), a = new n((n) => {
		for (let r of n) {
			let { borderBoxSize: n, target: i } = r;
			if (i === e.element) {
				if (t) {
					let t = iO({ axis: e });
					if (t === 0) return;
					let n = wO(e.id);
					if (!n) return;
					let r = yO(e), i = n.requestedAxisSize, a = n.requestedLayout;
					n.defaultLayoutDeferred && (i = t, a = pk({
						itemIds: e.items.map(({ id: e }) => e),
						layout: fk({
							axis: e,
							itemConstraints: r
						})
					}));
					let o = ZO({
						layout: _k({
							axis: e,
							nextAxisSize: t,
							prevAxisSize: i,
							prevLayout: a
						}),
						itemConstraints: r
					});
					if (!n.defaultLayoutDeferred && NO(n.layout, o) && gk(n.derivedItemConstraints, r) && n.axisSize === t) continue;
					DO(e, {
						defaultLayoutDeferred: !1,
						derivedItemConstraints: r,
						axisSize: t,
						layout: o,
						requestedAxisSize: i,
						requestedLayout: a,
						separatorToItems: n.separatorToItems
					});
				}
			} else mk(e, i, n);
		}
	});
	a.observe(e.element), e.items.forEach((e) => {
		jD(!r.has(e.id), `Panel ids must be unique; id "${e.id}" was used more than once`), r.add(e.id), e.onResize && a.observe(e.element);
	});
	let o = iO({ axis: e }), s = yO(e), c = fk({
		axis: e,
		itemConstraints: s
	}), l = ZO({
		layout: c,
		itemConstraints: s
	}), u = e.element.ownerDocument;
	vk.set(u, (vk.get(u) ?? 0) + 1);
	let d = /* @__PURE__ */ new Map();
	return fO({
		axis: e,
		includeDisabled: !0
	}).forEach((e) => {
		e.separator && d.set(e.separator, e.items);
	}), DO(e, {
		defaultLayoutDeferred: o === 0,
		derivedItemConstraints: s,
		axisSize: o,
		layout: l,
		requestedAxisSize: o,
		requestedLayout: pk({
			itemIds: e.items.map(({ id: e }) => e),
			layout: c
		}),
		separatorToItems: d
	}), e.separators.forEach((e) => {
		jD(!i.has(e.id), `Separator ids must be unique; id "${e.id}" was used more than once`), i.add(e.id), e.element.addEventListener("keydown", rk);
	}), vk.get(u) === 1 && (u.addEventListener("contextmenu", IO, !0), u.addEventListener("dblclick", $O, !0), u.addEventListener("pointerdown", ak, !0), u.addEventListener("pointerleave", ok), u.addEventListener("pointermove", sk), u.addEventListener("pointerout", ck), u.addEventListener("pointerup", lk, !0)), function() {
		t = !1, vk.set(u, Math.max(0, (vk.get(u) ?? 0) - 1)), SO(e), WD(e) && rO(u), e.separators.forEach((e) => {
			e.element.removeEventListener("keydown", rk);
		}), vk.get(u) || (u.removeEventListener("contextmenu", IO, !0), u.removeEventListener("dblclick", $O, !0), u.removeEventListener("pointerdown", ak, !0), u.removeEventListener("pointerleave", ok), u.removeEventListener("pointermove", sk), u.removeEventListener("pointerout", ck), u.removeEventListener("pointerup", lk, !0)), a.disconnect();
	};
}
function bk({ derivedItemConstraints: e, axis: t, layout: n, prevLayout: r, requestedLayout: i }) {
	let a = t.items.map(({ id: e }) => e).join(",");
	t.mutableState.layouts[a] = i, r && e.forEach((e) => {
		if (e.collapsible) {
			let i = kO(e.collapsedSize, n[e.itemId]), a = kO(e.collapsedSize, r[e.itemId]);
			i && !a && (t.mutableState.expandedItemSizes[e.itemId] = r[e.itemId]);
		}
	});
}
function xk() {
	let [e, t] = U({});
	return [e, z(() => t({}), [])];
}
function Sk(e) {
	let t = H({ ...e });
	return OD(() => {
		for (let n in e) t.current[n] = e[n];
	}, [e]), t.current;
}
var Ck = mn(null);
function wk({ layout: e, itemConstraints: t, itemId: n, itemIndex: r }) {
	let i, a, o = e[n], s = t.find((e) => e.itemId === n);
	if (s) {
		let c = s.maxSize, l = s.collapsible ? s.collapsedSize : s.minSize, u = [r, r + 1];
		a = ZO({
			layout: MO({
				delta: l - o,
				initialLayout: e,
				itemConstraints: t,
				pivotIndices: u,
				prevLayout: e
			}),
			itemConstraints: t
		})[n], i = ZO({
			layout: MO({
				delta: c - o,
				initialLayout: e,
				itemConstraints: t,
				pivotIndices: u,
				prevLayout: e
			}),
			itemConstraints: t
		})[n];
	}
	return {
		valueControls: n,
		valueMax: i,
		valueMin: a,
		valueNow: o
	};
}
function Tk({ attributes: e, axisId: t, axisOrientation: n, children: r, className: i, disableCursor: a, disabled: o, disableDoubleClick: s, elementRef: c, id: l, isSharedHitRegion: u, preview: d, registerSeparator: f, requiredStyle: p, style: m, styleDefaults: h, tabIndex: g = 0, updateSeparatorProps: _ }) {
	let v = Sk({
		disabled: o,
		disableDoubleClick: s,
		children: r,
		className: i,
		preview: d,
		style: m
	}), [y, b] = U({}), [x, S] = U("inactive"), [C, w] = U(!1), T = H(null), E = H(null), D = AD(T, c), O = n === "horizontal" ? "vertical" : "horizontal";
	OD(() => {
		let e = T.current;
		if (e !== null) {
			let n = {
				disabled: v.disabled,
				disableDoubleClick: v.disableDoubleClick,
				element: e,
				id: l,
				get children() {
					return v.children;
				},
				get className() {
					return v.className;
				},
				get preview() {
					return v.preview;
				},
				get style() {
					return v.style;
				}
			};
			E.current = n;
			let r = f(n), i = BD((e) => {
				S(e.next.state !== "inactive" && e.next.hitRegions.some((e) => e.separator === n || (u?.(e) ?? !1)) ? e.next.state : "inactive");
			}), a = EO(t, (e) => {
				let { derivedItemConstraints: t, layout: r, separatorToItems: i } = e.next, a = i.get(n);
				if (a) {
					let n = a[0], i = t.findIndex((e) => e.itemId === n.id), { layoutStrategy: o } = e.axis;
					b({
						...wk({
							layout: r,
							itemConstraints: t,
							itemId: n.id,
							itemIndex: i
						}),
						...o?.getItemAriaControls && { valueControls: o.getItemAriaControls(n.id) }
					});
				}
			});
			return () => {
				E.current = null, i(), a(), r();
			};
		}
	}, [
		t,
		l,
		u,
		f,
		v
	]), OD(() => {
		let e = E.current;
		e && UD(e);
	}, [d]), B(() => {
		_(l, {
			disabled: o,
			disableDoubleClick: s
		});
	}, [
		o,
		s,
		l,
		_
	]);
	let k;
	o && !a && (k = "not-allowed");
	let A;
	if (o) A = "disabled";
	else switch (x) {
		case "active":
			A = "active";
			break;
		default: A = C ? "focus" : x;
	}
	return /* @__PURE__ */ K("div", {
		...e,
		"aria-controls": y.valueControls,
		"aria-disabled": o || void 0,
		"aria-orientation": O,
		"aria-valuemax": y.valueMax,
		"aria-valuemin": y.valueMin,
		"aria-valuenow": y.valueNow,
		children: r,
		className: i,
		"data-separator": A,
		"data-testid": l,
		id: l,
		onBlur: () => w(!1),
		onFocus: () => w(!0),
		ref: D,
		role: "separator",
		style: {
			...h,
			cursor: k,
			...m,
			...p,
			touchAction: "none"
		},
		tabIndex: o ? void 0 : g
	});
}
function Ek(e) {
	for (let t = 1; t < e.length; t++) if (aO(e[t - 1], e[t]) > 0) return !1;
	return !0;
}
function Dk({ separator: e }) {
	let { element: t } = e, n = H(null);
	return OD(() => {
		let e = t.cloneNode(!0), r = [t, ...t.querySelectorAll("*")], i = [e, ...e.querySelectorAll("*")], a = t.ownerDocument.defaultView;
		return r.forEach((e, t) => {
			let n = i[t];
			if (n instanceof a.HTMLElement || n instanceof a.SVGElement) {
				let t = a.getComputedStyle(e);
				for (let e = 0; e < t.length; e++) {
					let r = t.item(e);
					n.style.setProperty(r, t.getPropertyValue(r));
				}
			}
			n.removeAttribute("data-testid"), n.removeAttribute("id");
		}), Object.assign(e.style, {
			boxSizing: "border-box",
			height: "100%",
			margin: "0",
			position: "static",
			transform: "none",
			width: "100%"
		}), n.current.appendChild(e), () => e.remove();
	}, [t]), /* @__PURE__ */ K("div", {
		ref: n,
		style: {
			height: "100%",
			opacity: .65,
			pointerEvents: "none",
			width: "100%"
		}
	});
}
function Ok() {
	let e = vn(Ck);
	return jD(e, "Group Context not found; did you render a Panel or Separator outside of a Group?"), e;
}
function kk(e) {
	let { registerOverlay: t } = Ok(), n = H(e);
	hk(n.current, e) || (n.current = e);
	let r = n.current;
	return OD(() => t(r), [t, r]), null;
}
kk.displayName = "SeparatorOverlay";
function Ak({ active: e, orientation: t, style: n, ...r }) {
	let i;
	switch (t) {
		case "horizontal":
			i = {
				height: "100%",
				minWidth: "1px"
			};
			break;
		case "vertical": i = {
			minHeight: "1px",
			width: "100%"
		};
	}
	return /* @__PURE__ */ K("div", {
		...r,
		"data-separator-overlay": e ? "active" : "inactive",
		style: {
			...i,
			...n,
			flexShrink: 0,
			pointerEvents: "none"
		}
	});
}
function jk({ overlay: e, preview: t }) {
	let { axis: n, offset: r, rect: i, separator: a } = t, o = n.orientation === "horizontal", s = a?.preview, c = e;
	return gn(s) && s.type === kk && (c = s.props, s = void 0), s ?? (c ? s = /* @__PURE__ */ K(Ak, {
		...c,
		active: t.active,
		orientation: n.orientation
	}) : a && (s = /* @__PURE__ */ K(Dk, { separator: a }))), /* @__PURE__ */ K("div", {
		"aria-hidden": "true",
		"data-resize-preview": !0,
		inert: !0,
		style: {
			height: i.height,
			left: i.left,
			pointerEvents: "none",
			position: "absolute",
			top: i.top,
			transform: o ? `translateX(${r}px)` : `translateY(${r}px)`,
			width: i.width
		},
		children: s
	});
}
function Mk(e) {
	return Array.from(e).sort(aO);
}
function Nk(e, t) {
	let n = H({
		getLayout: () => ({}),
		setLayout: GD
	});
	xn(t, () => n.current, []), OD(() => {
		Object.assign(n.current, tk({ axisId: e }));
	});
}
function Pk({ groupId: e, resizePreviewMode: t }) {
	let [n, r] = U([]), i = H(n);
	return OD(() => {
		let n = (n) => {
			let a = CO(e), o = t === "separator" && n.state === "active" ? n.previews.filter((e) => e.axis === a && (e.active || !kO(e.offset, 0))) : [], s = i.current;
			s.length === o.length && o.every((e, t) => e === s[t]) || (i.current = o, r(o));
		};
		if (t !== "separator") {
			n(zD());
			return;
		}
		let a = BD(({ next: e }) => n(e));
		return n(zD()), a;
	}, [e, t]), n;
}
function Fk({ children: e, className: t, defaultLayout: n, disableCursor: r, disabled: i, elementRef: a, groupRef: o, id: s, onLayoutChange: c, onLayoutChanged: l, orientation: u = "horizontal", resizePreviewMode: d = "panel", resizeTargetMinimumSize: f = {
	coarse: 20,
	fine: 10
}, style: p, ...m }) {
	let h = H({
		onLayoutChange: {},
		onLayoutChanged: {}
	}), g = kD((e) => {
		NO(h.current.onLayoutChange, e) || (h.current.onLayoutChange = e, c?.(e));
	}), _ = kD((e, t, n) => {
		NO(h.current.onLayoutChanged, e) || (h.current.onLayoutChanged = e, l?.(e, {
			isUserInteraction: t,
			requestedLayout: n
		}));
	}), v = DD(s), [y, b] = U(), x = Pk({
		groupId: v,
		resizePreviewMode: d
	}), S = H(null), [C, w] = xk(), T = H([]), E = H({
		lastExpandedPanelSizes: {},
		layouts: {},
		panels: [],
		separators: []
	}), D = AD(S, a);
	Nk(v, o);
	let O = kD((e, t) => {
		let r = wO(e);
		if (r) return { flexGrow: r.layout[t] ?? 1 };
		if (n?.[t]) return { flexGrow: n?.[t] };
	}), k = Sk({
		defaultLayout: n,
		disableCursor: r,
		resizeTargetMinimumSize: f
	}), A = V(() => ({
		get disableCursor() {
			return !!k.disableCursor;
		},
		getPanelStyles: O,
		id: v,
		orientation: u,
		registerPanel: (e) => {
			let t = E.current;
			return t.panels = oO(u, [...t.panels, e]), w(), () => {
				t.panels = t.panels.filter((t) => t !== e), w();
			};
		},
		registerOverlay: (e) => (b(e), () => {
			b(void 0);
		}),
		registerSeparator: (e) => {
			let t = E.current;
			return t.separators = oO(u, [...t.separators, e]), w(), () => {
				t.separators = t.separators.filter((t) => t !== e), w();
			};
		},
		updatePanelProps: (e, { disabled: t }) => {
			let n = E.current.panels.find((t) => t.id === e);
			n && (n.constraintProps.disabled = t);
			let r = CO(v), i = wO(v);
			r && i && DO(r, {
				...i,
				derivedItemConstraints: yO(r)
			});
		},
		updateSeparatorProps: (e, { disabled: t, disableDoubleClick: n }) => {
			let r = E.current.separators.find((t) => t.id === e);
			r && (r.disabled = t, r.disableDoubleClick = n);
		}
	}), [
		O,
		v,
		w,
		u,
		k
	]), ee = H(null);
	return OD(() => {
		let e = S.current;
		if (e === null) return;
		let t = E.current;
		t.panels = oO(u, t.panels), t.separators = oO(u, t.separators), T.current = Mk([...t.panels.map(({ element: e }) => e), ...t.separators.map(({ element: e }) => e)]);
		let n;
		if (k.defaultLayout !== void 0 && Object.keys(k.defaultLayout).length === t.panels.length) {
			n = {};
			for (let e of t.panels) {
				let t = k.defaultLayout[e.id];
				t !== void 0 && (n[e.id] = t);
			}
		}
		let r = {
			disabled: !!i,
			element: e,
			id: v,
			mutableState: {
				defaultLayout: n,
				disableCursor: !!k.disableCursor,
				expandedItemSizes: E.current.lastExpandedPanelSizes,
				layouts: E.current.layouts
			},
			orientation: u,
			items: t.panels,
			resizePreviewMode: d,
			get resizeTargetMinimumSize() {
				return k.resizeTargetMinimumSize;
			},
			separators: t.separators
		};
		ee.current = r;
		let a = yk(r), { defaultLayoutDeferred: o, derivedItemConstraints: s, layout: c, requestedLayout: l } = wO(r.id, !0);
		!o && s.length > 0 && (g(c), _(c, !1, l));
		let f = EO(v, (e) => {
			let { defaultLayoutDeferred: t, derivedItemConstraints: n, layout: i, requestedLayout: a } = e.next;
			if (t || n.length === 0) return;
			bk({
				derivedItemConstraints: n,
				axis: r,
				layout: i,
				prevLayout: e.prev?.layout,
				requestedLayout: a
			});
			let o = zD(), s = o.state !== "active" || !o.hitRegions.some((e) => e.axis === r);
			g(i), s && _(i, e.isUserInteraction, a);
		});
		return () => {
			ee.current = null, a(), f();
		};
	}, [
		i,
		v,
		_,
		g,
		u,
		C,
		d,
		k
	]), OD(() => {
		Ek(T.current) || w();
	}), B(() => {
		let e = ee.current;
		e && (e.mutableState.defaultLayout = n, e.mutableState.disableCursor = !!r);
	}), /* @__PURE__ */ K(Ck.Provider, {
		value: A,
		children: /* @__PURE__ */ q("div", {
			...m,
			className: t,
			"data-group": !0,
			"data-testid": v,
			id: v,
			ref: D,
			style: {
				height: "100%",
				width: "100%",
				overflow: "hidden",
				position: d === "separator" ? "relative" : void 0,
				...p,
				display: "flex",
				flexDirection: u === "horizontal" ? "row" : "column",
				flexWrap: "nowrap",
				touchAction: u === "horizontal" ? "pan-y" : "pan-x"
			},
			children: [e, x.map((e) => /* @__PURE__ */ K(jk, {
				overlay: y,
				preview: e
			}, e.key))]
		})
	});
}
Fk.displayName = "Group";
function Ik(e, t) {
	let { id: n } = Ok(), r = H({
		collapse: KD,
		expand: KD,
		getSize: () => ({
			asPercentage: 0,
			inPixels: 0
		}),
		isCollapsed: () => !1,
		resize: KD
	});
	xn(t, () => r.current, []), OD(() => {
		Object.assign(r.current, QO({
			axisId: n,
			itemId: e
		}));
	});
}
function Lk({ children: e, className: t, collapsedSize: n = "0%", collapsedThreshold: r, collapsible: i = !1, defaultSize: a, disabled: o, elementRef: s, groupResizeBehavior: c = "preserve-relative-size", id: l, maxSize: u = "100%", minSize: d = "0%", onResize: f, panelRef: p, style: m, ...h }) {
	let g = !!l, _ = DD(l), v = Sk({ disabled: o }), y = H(null), b = AD(y, s), { getPanelStyles: x, id: S, orientation: C, registerPanel: w, updatePanelProps: T } = Ok(), E = f !== null, D = kD((e, t, n) => {
		f?.(e, l, n);
	});
	OD(() => {
		let e = y.current;
		if (e !== null) {
			let t = {
				element: e,
				id: _,
				idIsStable: g,
				mutableValues: {
					expandToSize: void 0,
					prevSize: void 0
				},
				onResize: E ? D : void 0,
				constraintProps: {
					groupResizeBehavior: c,
					collapsedSize: n,
					collapsedThreshold: r,
					collapsible: i,
					defaultSize: a,
					disabled: v.disabled,
					maxSize: u,
					minSize: d
				}
			};
			return w(t);
		}
	}, [
		c,
		n,
		r,
		i,
		a,
		E,
		_,
		g,
		u,
		d,
		D,
		w,
		v
	]), B(() => {
		T(_, { disabled: o });
	}, [
		o,
		_,
		T
	]), Ik(_, p);
	let O = () => {
		let e = x(S, _);
		if (e) return JSON.stringify(e);
	}, k = Tn((e) => EO(S, e), O, O), A;
	return A = k ? JSON.parse(k) : a === void 0 ? { flexGrow: 1 } : {
		flexGrow: void 0,
		flexShrink: void 0,
		flexBasis: a
	}, /* @__PURE__ */ K("div", {
		...h,
		"data-disabled": o || void 0,
		"data-panel": !0,
		"data-testid": _,
		id: _,
		ref: b,
		style: {
			...Rk,
			display: "flex",
			flexBasis: 0,
			flexShrink: 1,
			overflow: "visible",
			...A
		},
		children: /* @__PURE__ */ K("div", {
			className: t,
			style: {
				maxHeight: "100%",
				maxWidth: "100%",
				flexGrow: 1,
				overflow: "auto",
				...m,
				touchAction: C === "horizontal" ? "pan-y" : "pan-x"
			},
			children: e
		})
	});
}
Lk.displayName = "Panel";
var Rk = {
	minHeight: 0,
	maxHeight: "100%",
	height: "auto",
	minWidth: 0,
	maxWidth: "100%",
	width: "auto",
	border: "none",
	borderWidth: 0,
	padding: 0,
	margin: 0
}, zk = { flexBasis: "auto" }, Bk = {
	flexGrow: 0,
	flexShrink: 0
};
function Vk({ children: e, className: t, disabled: n, disableDoubleClick: r, elementRef: i, id: a, preview: o, style: s, ...c }) {
	let l = DD(a), { disableCursor: u, id: d, orientation: f, registerSeparator: p, updateSeparatorProps: m } = Ok();
	return /* @__PURE__ */ K(Tk, {
		attributes: c,
		axisId: d,
		axisOrientation: f,
		className: t,
		disableCursor: u,
		disabled: n,
		disableDoubleClick: r,
		elementRef: i,
		id: l,
		preview: o,
		registerSeparator: p,
		requiredStyle: Bk,
		style: s,
		styleDefaults: zk,
		updateSeparatorProps: m,
		children: e
	});
}
Vk.displayName = "Separator";
// src/components/ui/resizable.tsx
var Hk = mn("horizontal");
function Uk({ className: e, orientation: t = "horizontal", ...n }) {
	return /* @__PURE__ */ K(Hk.Provider, {
		value: t,
		children: /* @__PURE__ */ K(Fk, {
			"data-slot": "resizable-panel-group",
			orientation: t,
			"data-orientation": t,
			className: X("size-full", e),
			...n
		})
	});
}
function Wk({ ...e }) {
	return /* @__PURE__ */ K(Lk, {
		"data-slot": "resizable-panel",
		...e
	});
}
function Gk({ withHandle: e, className: t, ...n }) {
	let r = vn(Hk);
	return /* @__PURE__ */ K(Vk, {
		"data-slot": "resizable-handle",
		"data-orientation": r,
		className: X("relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:outline-hidden data-[orientation=vertical]:h-px data-[orientation=vertical]:w-full data-[orientation=vertical]:after:left-0 data-[orientation=vertical]:after:h-1 data-[orientation=vertical]:after:w-full data-[orientation=vertical]:after:translate-x-0 data-[orientation=vertical]:after:-translate-y-1/2 [&[data-orientation=vertical]>div]:rotate-90", t),
		...n,
		children: e && /* @__PURE__ */ K("div", {
			className: "z-10 flex h-4 w-3 items-center justify-center rounded-xs border bg-border",
			children: /* @__PURE__ */ K(rr, { className: "size-2.5" })
		})
	});
}
// src/components/ui/sonner.tsx
var Kk = ({ ...e }) => /* @__PURE__ */ K(Uo, {
	theme: e.theme,
	className: "group",
	icons: {
		success: /* @__PURE__ */ K(Bn, { className: "size-4" }),
		info: /* @__PURE__ */ K(ar, { className: "size-4" }),
		warning: /* @__PURE__ */ K(Nr, { className: "size-4" }),
		error: /* @__PURE__ */ K(W, { className: "size-4" }),
		loading: /* @__PURE__ */ K(lr, { className: "size-4 animate-spin" })
	},
	style: {
		"--normal-bg": "var(--popover)",
		"--normal-text": "var(--popover-foreground)",
		"--normal-border": "var(--border)",
		"--border-radius": "var(--radius)"
	},
	...e
}), qk = Object.freeze({
	position: "absolute",
	border: 0,
	width: 1,
	height: 1,
	padding: 0,
	margin: -1,
	overflow: "hidden",
	clip: "rect(0, 0, 0, 0)",
	whiteSpace: "nowrap",
	wordWrap: "normal"
}), Jk = "VisuallyHidden", Yk = L.forwardRef((e, t) => /* @__PURE__ */ K(yv.span, {
	...e,
	ref: t,
	style: {
		...qk,
		...e.style
	}
}));
Yk.displayName = Jk;
var Xk = Yk, [Zk, Qk] = nv("Tooltip", [BC]), $k = BC(), eA = "TooltipProvider", tA = 700, nA = "tooltip.open", [rA, iA] = Zk(eA), aA = (e) => {
	let { __scopeTooltip: t, delayDuration: n = tA, skipDelayDuration: r = 300, disableHoverableContent: i = !1, children: a } = e, o = L.useRef(!0), s = L.useRef(!1), c = L.useRef(0);
	return L.useEffect(() => {
		let e = c.current;
		return () => window.clearTimeout(e);
	}, []), /* @__PURE__ */ K(rA, {
		scope: t,
		isOpenDelayedRef: o,
		delayDuration: n,
		onOpen: L.useCallback(() => {
			window.clearTimeout(c.current), o.current = !1;
		}, []),
		onClose: L.useCallback(() => {
			window.clearTimeout(c.current), c.current = window.setTimeout(() => o.current = !0, r);
		}, [r]),
		isPointerInTransitRef: s,
		onPointerInTransitChange: L.useCallback((e) => {
			s.current = e;
		}, []),
		disableHoverableContent: i,
		children: a
	});
};
aA.displayName = eA;
var oA = "Tooltip", [sA, cA] = Zk(oA), lA = (e) => {
	let { __scopeTooltip: t, children: n, open: r, defaultOpen: i, onOpenChange: a, disableHoverableContent: o, delayDuration: s } = e, c = iA(oA, e.__scopeTooltip), l = $k(t), [u, d] = L.useState(null), f = sv(), p = L.useRef(0), m = o ?? c.disableHoverableContent, h = s ?? c.delayDuration, g = L.useRef(!1), [_, v] = lv({
		prop: r,
		defaultProp: i ?? !1,
		onChange: (e) => {
			e ? (c.onOpen(), document.dispatchEvent(new CustomEvent(nA))) : c.onClose(), a?.(e);
		},
		caller: oA
	}), y = L.useMemo(() => _ ? g.current ? "delayed-open" : "instant-open" : "closed", [_]), b = L.useCallback(() => {
		window.clearTimeout(p.current), p.current = 0, g.current = !1, v(!0);
	}, [v]), x = L.useCallback(() => {
		window.clearTimeout(p.current), p.current = 0, v(!1);
	}, [v]), S = L.useCallback(() => {
		window.clearTimeout(p.current), p.current = window.setTimeout(() => {
			g.current = !0, v(!0), p.current = 0;
		}, h);
	}, [h, v]);
	return L.useEffect(() => () => {
		p.current &&= (window.clearTimeout(p.current), 0);
	}, []), /* @__PURE__ */ K(nw, {
		...l,
		children: /* @__PURE__ */ K(sA, {
			scope: t,
			contentId: f,
			open: _,
			stateAttribute: y,
			trigger: u,
			onTriggerChange: d,
			onTriggerEnter: L.useCallback(() => {
				c.isOpenDelayedRef.current ? S() : b();
			}, [
				c.isOpenDelayedRef,
				S,
				b
			]),
			onTriggerLeave: L.useCallback(() => {
				m ? x() : (window.clearTimeout(p.current), p.current = 0);
			}, [x, m]),
			onOpen: b,
			onClose: x,
			disableHoverableContent: m,
			children: n
		})
	});
};
lA.displayName = oA;
var uA = "TooltipTrigger", dA = L.forwardRef((e, t) => {
	let { __scopeTooltip: n, ...r } = e, i = cA(uA, n), a = iA(uA, n), o = $k(n), s = z_(t, L.useRef(null), i.onTriggerChange), c = L.useRef(!1), l = L.useRef(!1), u = L.useCallback(() => c.current = !1, []);
	return L.useEffect(() => () => document.removeEventListener("pointerup", u), [u]), /* @__PURE__ */ K(rw, {
		asChild: !0,
		...o,
		children: /* @__PURE__ */ K(yv.button, {
			"aria-describedby": i.open ? i.contentId : void 0,
			"data-state": i.stateAttribute,
			...r,
			ref: s,
			onPointerMove: $(e.onPointerMove, (e) => {
				e.pointerType !== "touch" && !l.current && !a.isPointerInTransitRef.current && (i.onTriggerEnter(), l.current = !0);
			}),
			onPointerLeave: $(e.onPointerLeave, () => {
				i.onTriggerLeave(), l.current = !1;
			}),
			onPointerDown: $(e.onPointerDown, () => {
				i.open && i.onClose(), c.current = !0, document.addEventListener("pointerup", u, { once: !0 });
			}),
			onFocus: $(e.onFocus, () => {
				c.current || i.onOpen();
			}),
			onBlur: $(e.onBlur, i.onClose),
			onClick: $(e.onClick, i.onClose)
		})
	});
});
dA.displayName = uA;
var fA = "TooltipPortal", [pA, mA] = Zk(fA, { forceMount: void 0 }), hA = (e) => {
	let { __scopeTooltip: t, forceMount: n, children: r, container: i } = e, a = cA(fA, t);
	return /* @__PURE__ */ K(pA, {
		scope: t,
		forceMount: n,
		children: /* @__PURE__ */ K(ty, {
			present: n || a.open,
			children: /* @__PURE__ */ K($v, {
				asChild: !0,
				container: i,
				children: r
			})
		})
	});
};
hA.displayName = fA;
var gA = "TooltipContent", _A = L.forwardRef((e, t) => {
	let n = mA(gA, e.__scopeTooltip), { forceMount: r = n.forceMount, side: i = "top", ...a } = e, o = cA(gA, e.__scopeTooltip);
	return /* @__PURE__ */ K(ty, {
		present: r || o.open,
		children: o.disableHoverableContent ? /* @__PURE__ */ K(SA, {
			side: i,
			...a,
			ref: t
		}) : /* @__PURE__ */ K(vA, {
			side: i,
			...a,
			ref: t
		})
	});
}), vA = L.forwardRef((e, t) => {
	let n = cA(gA, e.__scopeTooltip), r = iA(gA, e.__scopeTooltip), i = L.useRef(null), a = z_(t, i), [o, s] = L.useState(null), { trigger: c, onClose: l } = n, u = i.current, { onPointerInTransitChange: d } = r, f = L.useCallback(() => {
		s(null), d(!1);
	}, [d]), p = L.useCallback((e, t) => {
		let n = e.currentTarget, r = {
			x: e.clientX,
			y: e.clientY
		}, i = EA(r, TA(r, n.getBoundingClientRect())), a = DA(t.getBoundingClientRect()), o = kA([...i, ...a]);
		s(o), d(!0);
	}, [d]);
	return L.useEffect(() => () => f(), [f]), L.useEffect(() => {
		if (c && u) {
			let e = (e) => p(e, u), t = (e) => p(e, c);
			return c.addEventListener("pointerleave", e), u.addEventListener("pointerleave", t), () => {
				c.removeEventListener("pointerleave", e), u.removeEventListener("pointerleave", t);
			};
		}
	}, [
		c,
		u,
		p,
		f
	]), L.useEffect(() => {
		if (o) {
			let e = (e) => {
				let t = e.target, n = {
					x: e.clientX,
					y: e.clientY
				}, r = c?.contains(t) || u?.contains(t), i = !OA(n, o);
				r ? f() : i && (f(), l());
			};
			return document.addEventListener("pointermove", e), () => document.removeEventListener("pointermove", e);
		}
	}, [
		c,
		u,
		o,
		l,
		f
	]), /* @__PURE__ */ K(SA, {
		...e,
		ref: a
	});
}), [yA, bA] = Zk(oA, { isInside: !1 }), xA = /* @__PURE__ */ hv("TooltipContent"), SA = L.forwardRef((e, t) => {
	let { __scopeTooltip: n, children: r, "aria-label": i, onEscapeKeyDown: a, onPointerDownOutside: o, ...s } = e, c = cA(gA, n), l = $k(n), { onClose: u } = c;
	return L.useEffect(() => (document.addEventListener(nA, u), () => document.removeEventListener(nA, u)), [u]), L.useEffect(() => {
		if (c.trigger) {
			let e = (e) => {
				e.target?.contains(c.trigger) && u();
			};
			return window.addEventListener("scroll", e, { capture: !0 }), () => window.removeEventListener("scroll", e, { capture: !0 });
		}
	}, [c.trigger, u]), /* @__PURE__ */ K(kv, {
		asChild: !0,
		disableOutsidePointerEvents: !1,
		onEscapeKeyDown: a,
		onPointerDownOutside: o,
		onFocusOutside: (e) => e.preventDefault(),
		onDismiss: u,
		children: /* @__PURE__ */ q(iw, {
			"data-state": c.stateAttribute,
			...l,
			...s,
			ref: t,
			style: {
				...s.style,
				"--radix-tooltip-content-transform-origin": "var(--radix-popper-transform-origin)",
				"--radix-tooltip-content-available-width": "var(--radix-popper-available-width)",
				"--radix-tooltip-content-available-height": "var(--radix-popper-available-height)",
				"--radix-tooltip-trigger-width": "var(--radix-popper-anchor-width)",
				"--radix-tooltip-trigger-height": "var(--radix-popper-anchor-height)"
			},
			children: [/* @__PURE__ */ K(xA, { children: r }), /* @__PURE__ */ K(yA, {
				scope: n,
				isInside: !0,
				children: /* @__PURE__ */ K(Xk, {
					id: c.contentId,
					role: "tooltip",
					children: i || r
				})
			})]
		})
	});
});
_A.displayName = gA;
var CA = "TooltipArrow", wA = L.forwardRef((e, t) => {
	let { __scopeTooltip: n, ...r } = e, i = $k(n);
	return bA(CA, n).isInside ? null : /* @__PURE__ */ K(aw, {
		...i,
		...r,
		ref: t
	});
});
wA.displayName = CA;
function TA(e, t) {
	let n = Math.abs(t.top - e.y), r = Math.abs(t.bottom - e.y), i = Math.abs(t.right - e.x), a = Math.abs(t.left - e.x);
	switch (Math.min(n, r, i, a)) {
		case a: return "left";
		case i: return "right";
		case n: return "top";
		case r: return "bottom";
		default: throw Error("unreachable");
	}
}
function EA(e, t, n = 5) {
	let r = [];
	switch (t) {
		case "top":
			r.push({
				x: e.x - n,
				y: e.y + n
			}, {
				x: e.x + n,
				y: e.y + n
			});
			break;
		case "bottom":
			r.push({
				x: e.x - n,
				y: e.y - n
			}, {
				x: e.x + n,
				y: e.y - n
			});
			break;
		case "left":
			r.push({
				x: e.x + n,
				y: e.y - n
			}, {
				x: e.x + n,
				y: e.y + n
			});
			break;
		case "right": r.push({
			x: e.x - n,
			y: e.y - n
		}, {
			x: e.x - n,
			y: e.y + n
		});
	}
	return r;
}
function DA(e) {
	let { top: t, right: n, bottom: r, left: i } = e;
	return [
		{
			x: i,
			y: t
		},
		{
			x: n,
			y: t
		},
		{
			x: n,
			y: r
		},
		{
			x: i,
			y: r
		}
	];
}
function OA(e, t) {
	let { x: n, y: r } = e, i = !1;
	for (let e = 0, a = t.length - 1; e < t.length; a = e++) {
		let o = t[e], s = t[a], c = o.x, l = o.y, u = s.x, d = s.y;
		l > r != d > r && n < (u - c) * (r - l) / (d - l) + c && (i = !i);
	}
	return i;
}
function kA(e) {
	let t = e.slice();
	return t.sort((e, t) => e.x < t.x ? -1 : e.x > t.x ? 1 : e.y < t.y ? -1 : +(e.y > t.y)), AA(t);
}
function AA(e) {
	if (e.length <= 1) return e.slice();
	let t = [];
	for (let n = 0; n < e.length; n++) {
		let r = e[n];
		for (; t.length >= 2;) {
			let e = t[t.length - 1], n = t[t.length - 2];
			if ((e.x - n.x) * (r.y - n.y) >= (e.y - n.y) * (r.x - n.x)) t.pop();
			else break;
		}
		t.push(r);
	}
	t.pop();
	let n = [];
	for (let t = e.length - 1; t >= 0; t--) {
		let r = e[t];
		for (; n.length >= 2;) {
			let e = n[n.length - 1], t = n[n.length - 2];
			if ((e.x - t.x) * (r.y - t.y) >= (e.y - t.y) * (r.x - t.x)) n.pop();
			else break;
		}
		n.push(r);
	}
	return n.pop(), t.length === 1 && n.length === 1 && t[0].x === n[0].x && t[0].y === n[0].y ? t : t.concat(n);
}
var jA = aA, MA = lA, NA = dA, PA = hA, FA = _A, IA = wA;
// src/components/ui/tooltip.tsx
function LA({ delayDuration: e = 0, ...t }) {
	return /* @__PURE__ */ K(jA, {
		"data-slot": "tooltip-provider",
		delayDuration: e,
		...t
	});
}
function RA({ ...e }) {
	return /* @__PURE__ */ K(LA, { children: /* @__PURE__ */ K(MA, {
		"data-slot": "tooltip",
		...e
	}) });
}
var zA = hn((e, t) => /* @__PURE__ */ K(NA, {
	ref: t,
	"data-slot": "tooltip-trigger",
	...e
}));
zA.displayName = "TooltipTrigger";
function BA({ className: e, sideOffset: t = 0, children: n, ...r }) {
	let { container: i } = $_();
	return /* @__PURE__ */ K(Wr, { children: /* @__PURE__ */ K(PA, {
		container: i,
		children: /* @__PURE__ */ q(FA, {
			"data-slot": "tooltip-content",
			sideOffset: t,
			className: X("z-150 w-fit origin-[var(--radix-tooltip-content-transform-origin)] animate-in rounded-md bg-foreground px-3 py-1.5 text-xs text-balance text-background fade-in-0 zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95", e),
			...r,
			children: [n, /* @__PURE__ */ K(IA, { className: "z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground" })]
		})
	}) });
}
// src/components/ui/input-group.tsx
function VA({ className: e, ...t }) {
	return /* @__PURE__ */ K("div", {
		"data-slot": "input-group",
		role: "group",
		className: X("group/input-group relative flex w-full items-center rounded-md border border-input shadow-sm transition-[color,box-shadow] outline-none dark:bg-input/30", "h-9 min-w-0 has-[>textarea]:h-auto", "has-[>[data-align=inline-start]]:[&>input]:pl-2", "has-[>[data-align=inline-end]]:[&>input]:pr-2", "has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-start]]:[&>input]:pb-3", "has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3", "has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-[3px] has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50", "has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-destructive/20 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40", e),
		...t
	});
}
var HA = I_("text-muted-foreground flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium select-none [&>svg:not([class*='size-'])]:size-4 [&>kbd]:rounded-[calc(var(--radius)-5px)] group-data-[disabled=true]/input-group:opacity-50", {
	variants: { align: {
		"inline-start": "order-first pl-3 has-[>button]:ml-[-0.45rem] has-[>kbd]:ml-[-0.35rem]",
		"inline-end": "order-last pr-3 has-[>button]:mr-[-0.45rem] has-[>kbd]:mr-[-0.35rem]",
		"block-start": "order-first w-full justify-start px-3 pt-3 [.border-b]:pb-3 group-has-[>input]/input-group:pt-2.5",
		"block-end": "order-last w-full justify-start px-3 pb-3 [.border-t]:pt-3 group-has-[>input]/input-group:pb-2.5"
	} },
	defaultVariants: { align: "inline-start" }
});
function UA({ className: e, align: t = "inline-start", ...n }) {
	return /* @__PURE__ */ K("div", {
		role: "group",
		"data-slot": "input-group-addon",
		"data-align": t,
		className: X(HA({ align: t }), e),
		onClick: (e) => {
			e.target.closest("button") || e.currentTarget.parentElement?.querySelector("input")?.focus();
		},
		...n
	});
}
var WA = I_("text-sm shadow-none flex gap-2 items-center", {
	variants: { size: {
		xs: "h-6 gap-1 px-2 rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-3.5 has-[>svg]:px-2",
		sm: "h-8 px-2.5 gap-1.5 rounded-md has-[>svg]:px-2.5",
		"icon-xs": "size-6 rounded-[calc(var(--radius)-5px)] p-0 has-[>svg]:p-0",
		"icon-sm": "size-8 p-0 has-[>svg]:p-0"
	} },
	defaultVariants: { size: "xs" }
});
function GA({ className: e, type: t = "button", variant: n = "ghost", size: r = "xs", ...i }) {
	return /* @__PURE__ */ K(Q, {
		type: t,
		"data-size": r,
		variant: n,
		className: X(WA({ size: r }), e),
		...i
	});
}
function KA({ className: e, ...t }) {
	return /* @__PURE__ */ K(ED, {
		"data-slot": "input-group-control",
		className: X("flex-1 rounded-none border-0 bg-transparent shadow-none focus-visible:ring-0 dark:bg-transparent", e),
		...t
	});
}
// src/components/icons.tsx
var qA = (e) => /* @__PURE__ */ q("svg", {
	width: "100",
	height: "100",
	viewBox: "0 0 100 100",
	fill: "none",
	xmlns: "http://www.w3.org/2000/svg",
	...e,
	children: [
		/* @__PURE__ */ K("path", {
			fillRule: "evenodd",
			clipRule: "evenodd",
			d: "M49.9994 6.90218L87.3224 28.4506V71.5475L49.9994 93.0959L12.6764 71.5475V28.4506L49.9994 6.90218ZM16.8641 30.8684V62.5242L44.2789 15.0405L16.8641 30.8684ZM49.9994 13.5077L18.3969 68.2448H81.6019L49.9994 13.5077ZM77.4142 72.4325H22.5846L49.9994 88.2604L77.4142 72.4325ZM83.1347 62.5242L55.7199 15.0405L83.1347 30.8684V62.5242Z",
			fill: "currentColor"
		}),
		/* @__PURE__ */ K("path", {
			d: "M49.9994 18.14C54.8706 18.14 58.8194 14.1912 58.8194 9.32C58.8194 4.44885 54.8706 0.5 49.9994 0.5C45.1283 0.5 41.1794 4.44885 41.1794 9.32C41.1794 14.1912 45.1283 18.14 49.9994 18.14Z",
			fill: "currentColor"
		}),
		/* @__PURE__ */ K("path", {
			d: "M85.2286 38.4796C90.0998 38.4796 94.0486 34.5308 94.0486 29.6596C94.0486 24.7884 90.0998 20.8396 85.2286 20.8396C80.3575 20.8396 76.4086 24.7884 76.4086 29.6596C76.4086 34.5308 80.3575 38.4796 85.2286 38.4796Z",
			fill: "currentColor"
		}),
		/* @__PURE__ */ K("path", {
			d: "M85.2286 79.1587C90.0998 79.1587 94.0486 75.2099 94.0486 70.3387C94.0486 65.4675 90.0998 61.5187 85.2286 61.5187C80.3575 61.5187 76.4086 65.4675 76.4086 70.3387C76.4086 75.2099 80.3575 79.1587 85.2286 79.1587Z",
			fill: "currentColor"
		}),
		/* @__PURE__ */ K("path", {
			d: "M49.9994 99.4982C54.8706 99.4982 58.8194 95.5494 58.8194 90.6782C58.8194 85.807 54.8706 81.8582 49.9994 81.8582C45.1283 81.8582 41.1794 85.807 41.1794 90.6782C41.1794 95.5494 45.1283 99.4982 49.9994 99.4982Z",
			fill: "currentColor"
		}),
		/* @__PURE__ */ K("path", {
			d: "M14.7653 79.1587C19.6365 79.1587 23.5853 75.2099 23.5853 70.3387C23.5853 65.4675 19.6365 61.5187 14.7653 61.5187C9.89416 61.5187 5.94531 65.4675 5.94531 70.3387C5.94531 75.2099 9.89416 79.1587 14.7653 79.1587Z",
			fill: "currentColor"
		}),
		/* @__PURE__ */ K("path", {
			d: "M14.7653 38.4796C19.6365 38.4796 23.5853 34.5308 23.5853 29.6596C23.5853 24.7884 19.6365 20.8396 14.7653 20.8396C9.89416 20.8396 5.94531 24.7884 5.94531 29.6596C5.94531 34.5308 9.89416 38.4796 14.7653 38.4796Z",
			fill: "currentColor"
		})
	]
}), JA = "AlertDialog", [YA, XA] = nv(JA, [wb]), ZA = wb(), QA = (e) => {
	let { __scopeAlertDialog: t, ...n } = e, r = ZA(t);
	return /* @__PURE__ */ K(nx, {
		...r,
		...n,
		modal: !0
	});
};
QA.displayName = JA;
var $A = "AlertDialogTrigger", ej = L.forwardRef((e, t) => {
	let { __scopeAlertDialog: n, ...r } = e, i = ZA(n);
	return /* @__PURE__ */ K(rx, {
		...i,
		...r,
		ref: t
	});
});
ej.displayName = $A;
var tj = "AlertDialogPortal", nj = (e) => {
	let { __scopeAlertDialog: t, ...n } = e, r = ZA(t);
	return /* @__PURE__ */ K(ix, {
		...r,
		...n
	});
};
nj.displayName = tj;
var rj = "AlertDialogOverlay", ij = L.forwardRef((e, t) => {
	let { __scopeAlertDialog: n, ...r } = e, i = ZA(n);
	return /* @__PURE__ */ K(ax, {
		...i,
		...r,
		ref: t
	});
});
ij.displayName = rj;
var aj = "AlertDialogContent", [oj, sj] = YA(aj), cj = /* @__PURE__ */ hv("AlertDialogContent"), lj = L.forwardRef((e, t) => {
	let { __scopeAlertDialog: n, children: r, ...i } = e, a = ZA(n), o = L.useRef(null), s = z_(t, o), c = L.useRef(null);
	return /* @__PURE__ */ K(Zb, {
		contentName: aj,
		titleName: uj,
		docsSlug: "alert-dialog",
		children: /* @__PURE__ */ K(oj, {
			scope: n,
			cancelRef: c,
			children: /* @__PURE__ */ q(ox, {
				role: "alertdialog",
				...a,
				...i,
				ref: s,
				onOpenAutoFocus: $(i.onOpenAutoFocus, (e) => {
					e.preventDefault(), c.current?.focus({ preventScroll: !0 });
				}),
				onPointerDownOutside: (e) => e.preventDefault(),
				onInteractOutside: (e) => e.preventDefault(),
				children: [/* @__PURE__ */ K(cj, { children: r }), /* @__PURE__ */ K(vj, { contentRef: o })]
			})
		})
	});
});
lj.displayName = aj;
var uj = "AlertDialogTitle", dj = L.forwardRef((e, t) => {
	let { __scopeAlertDialog: n, ...r } = e, i = ZA(n);
	return /* @__PURE__ */ K(sx, {
		...i,
		...r,
		ref: t
	});
});
dj.displayName = uj;
var fj = "AlertDialogDescription", pj = L.forwardRef((e, t) => {
	let { __scopeAlertDialog: n, ...r } = e, i = ZA(n);
	return /* @__PURE__ */ K(cx, {
		...i,
		...r,
		ref: t
	});
});
pj.displayName = fj;
var mj = "AlertDialogAction", hj = L.forwardRef((e, t) => {
	let { __scopeAlertDialog: n, ...r } = e, i = ZA(n);
	return /* @__PURE__ */ K(lx, {
		...i,
		...r,
		ref: t
	});
});
hj.displayName = mj;
var gj = "AlertDialogCancel", _j = L.forwardRef((e, t) => {
	let { __scopeAlertDialog: n, ...r } = e, { cancelRef: i } = sj(gj, n), a = ZA(n), o = z_(t, i);
	return /* @__PURE__ */ K(lx, {
		...a,
		...r,
		ref: o
	});
});
_j.displayName = gj;
var vj = ({ contentRef: e }) => {
	let t = `\`${aj}\` requires a description for the component to be accessible for screen reader users.

You can add a description to the \`${aj}\` by passing a \`${fj}\` component as a child, which also benefits sighted users by adding visible context to the dialog.

Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${aj}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.

For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;
	return L.useEffect(() => {
		document.getElementById(e.current?.getAttribute("aria-describedby")) || console.warn(t);
	}, [t, e]), null;
}, yj = QA, bj = ej, xj = nj, Sj = ij, Cj = lj, wj = hj, Tj = _j, Ej = dj, Dj = pj;
// src/components/ui/alert-dialog.tsx
function Oj({ ...e }) {
	return /* @__PURE__ */ K(yj, {
		"data-slot": "alert-dialog",
		...e
	});
}
var kj = hn((e, t) => /* @__PURE__ */ K(bj, {
	ref: t,
	"data-slot": "alert-dialog-trigger",
	...e
}));
kj.displayName = "AlertDialogTrigger";
function Aj({ ...e }) {
	let { container: t } = $_();
	return /* @__PURE__ */ K(xj, {
		"data-slot": "alert-dialog-portal",
		...e,
		container: t
	});
}
function jj({ className: e, ...t }) {
	return /* @__PURE__ */ K(Sj, {
		"data-slot": "alert-dialog-overlay",
		className: X("fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0", e),
		...t
	});
}
function Mj({ className: e, ...t }) {
	return /* @__PURE__ */ q(Aj, { children: [/* @__PURE__ */ K(jj, {}), /* @__PURE__ */ K(Cj, {
		"data-slot": "alert-dialog-content",
		className: X("fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border bg-background p-6 shadow-lg duration-200 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 sm:max-w-lg", e),
		...t
	})] });
}
function Nj({ className: e, ...t }) {
	return /* @__PURE__ */ K("div", {
		"data-slot": "alert-dialog-header",
		className: X("flex flex-col gap-2 text-center sm:text-left", e),
		...t
	});
}
function Pj({ className: e, ...t }) {
	return /* @__PURE__ */ K("div", {
		"data-slot": "alert-dialog-footer",
		className: X("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
		...t
	});
}
function Fj({ className: e, ...t }) {
	return /* @__PURE__ */ K(Ej, {
		"data-slot": "alert-dialog-title",
		className: X("text-lg font-semibold", e),
		...t
	});
}
function Ij({ className: e, ...t }) {
	return /* @__PURE__ */ K(Dj, {
		"data-slot": "alert-dialog-description",
		className: X("text-sm text-muted-foreground", e),
		...t
	});
}
function Lj({ className: e, ...t }) {
	return /* @__PURE__ */ K(wj, {
		className: X(Z_(), e),
		...t
	});
}
function Rj({ className: e, ...t }) {
	return /* @__PURE__ */ K(Tj, {
		className: X(Z_({ variant: "outline" }), e),
		...t
	});
}
// ../../../node_modules/.pnpm/@radix-ui+react-collapsible@1.1.12_@types+react-dom@18.3.5_@types+react@18.3.18__@types_6a2c1a5f8090d5d61c33ec29a8775d96/node_modules/@radix-ui/react-collapsible/dist/index.mjs
var zj = "Collapsible", [Bj, Vj] = nv(zj), [Hj, Uj] = Bj(zj), Wj = L.forwardRef((e, t) => {
	let { __scopeCollapsible: n, open: r, defaultOpen: i, disabled: a, onOpenChange: o, ...s } = e, [c, l] = lv({
		prop: r,
		defaultProp: i ?? !1,
		onChange: o,
		caller: zj
	});
	return /* @__PURE__ */ K(Hj, {
		scope: n,
		disabled: a,
		contentId: sv(),
		open: c,
		onOpenToggle: L.useCallback(() => l((e) => !e), [l]),
		children: /* @__PURE__ */ K(yv.div, {
			"data-state": Xj(c),
			"data-disabled": a ? "" : void 0,
			...s,
			ref: t
		})
	});
});
Wj.displayName = zj;
var Gj = "CollapsibleTrigger", Kj = L.forwardRef((e, t) => {
	let { __scopeCollapsible: n, ...r } = e, i = Uj(Gj, n);
	return /* @__PURE__ */ K(yv.button, {
		type: "button",
		"aria-controls": i.contentId,
		"aria-expanded": i.open || !1,
		"data-state": Xj(i.open),
		"data-disabled": i.disabled ? "" : void 0,
		disabled: i.disabled,
		...r,
		ref: t,
		onClick: $(e.onClick, i.onOpenToggle)
	});
});
Kj.displayName = Gj;
var qj = "CollapsibleContent", Jj = L.forwardRef((e, t) => {
	let { forceMount: n, ...r } = e, i = Uj(qj, e.__scopeCollapsible);
	return /* @__PURE__ */ K(ty, {
		present: n || i.open,
		children: ({ present: e }) => /* @__PURE__ */ K(Yj, {
			...r,
			ref: t,
			present: e
		})
	});
});
Jj.displayName = qj;
var Yj = L.forwardRef((e, t) => {
	let { __scopeCollapsible: n, present: r, children: i, ...a } = e, o = Uj(qj, n), [s, c] = L.useState(r), l = L.useRef(null), u = z_(t, l), d = L.useRef(0), f = d.current, p = L.useRef(0), m = p.current, h = o.open || s, g = L.useRef(h), _ = L.useRef(void 0);
	return L.useEffect(() => {
		let e = requestAnimationFrame(() => g.current = !1);
		return () => cancelAnimationFrame(e);
	}, []), iv(() => {
		let e = l.current;
		if (e) {
			_.current = _.current || {
				transitionDuration: e.style.transitionDuration,
				animationName: e.style.animationName
			}, e.style.transitionDuration = "0s", e.style.animationName = "none";
			let t = e.getBoundingClientRect();
			d.current = t.height, p.current = t.width, g.current || (e.style.transitionDuration = _.current.transitionDuration, e.style.animationName = _.current.animationName), c(r);
		}
	}, [o.open, r]), /* @__PURE__ */ K(yv.div, {
		"data-state": Xj(o.open),
		"data-disabled": o.disabled ? "" : void 0,
		id: o.contentId,
		hidden: !h,
		...a,
		ref: u,
		style: {
			"--radix-collapsible-content-height": f ? `${f}px` : void 0,
			"--radix-collapsible-content-width": m ? `${m}px` : void 0,
			...e.style
		},
		children: h && i
	});
});
function Xj(e) {
	return e ? "open" : "closed";
}
var Zj = Wj;
// src/components/ui/collapsible.tsx
function Qj({ ...e }) {
	return /* @__PURE__ */ K(Zj, {
		"data-slot": "collapsible",
		...e
	});
}
function $j({ ...e }) {
	return /* @__PURE__ */ K(Kj, {
		"data-slot": "collapsible-trigger",
		...e
	});
}
function eM({ ...e }) {
	return /* @__PURE__ */ K(Jj, {
		"data-slot": "collapsible-content",
		...e
	});
}
// ../../../node_modules/.pnpm/@radix-ui+number@1.1.1/node_modules/@radix-ui/number/dist/index.mjs
function tM(e, [t, n]) {
	return Math.min(n, Math.max(t, e));
}
// ../../../node_modules/.pnpm/@radix-ui+react-scroll-area@1.2.10_@types+react-dom@18.3.5_@types+react@18.3.18__@types_2c4dd8d6f68bafeeea4fce4601e0803c/node_modules/@radix-ui/react-scroll-area/dist/index.mjs
function nM(e, t) {
	return L.useReducer((e, n) => t[e][n] ?? e, e);
}
var rM = "ScrollArea", [iM, aM] = nv(rM), [oM, sM] = iM(rM), cM = L.forwardRef((e, t) => {
	let { __scopeScrollArea: n, type: r = "hover", dir: i, scrollHideDelay: a = 600, ...o } = e, [s, c] = L.useState(null), [l, u] = L.useState(null), [d, f] = L.useState(null), [p, m] = L.useState(null), [h, g] = L.useState(null), [_, v] = L.useState(0), [y, b] = L.useState(0), [x, S] = L.useState(!1), [C, w] = L.useState(!1), T = z_(t, (e) => c(e)), E = Sx(i);
	return /* @__PURE__ */ K(oM, {
		scope: n,
		type: r,
		dir: E,
		scrollHideDelay: a,
		scrollArea: s,
		viewport: l,
		onViewportChange: u,
		content: d,
		onContentChange: f,
		scrollbarX: p,
		onScrollbarXChange: m,
		scrollbarXEnabled: x,
		onScrollbarXEnabledChange: S,
		scrollbarY: h,
		onScrollbarYChange: g,
		scrollbarYEnabled: C,
		onScrollbarYEnabledChange: w,
		onCornerWidthChange: v,
		onCornerHeightChange: b,
		children: /* @__PURE__ */ K(yv.div, {
			dir: E,
			...o,
			ref: T,
			style: {
				position: "relative",
				"--radix-scroll-area-corner-width": _ + "px",
				"--radix-scroll-area-corner-height": y + "px",
				...e.style
			}
		})
	});
});
cM.displayName = rM;
var lM = "ScrollAreaViewport", uM = L.forwardRef((e, t) => {
	let { __scopeScrollArea: n, children: r, nonce: i, ...a } = e, o = sM(lM, n), s = z_(t, L.useRef(null), o.onViewportChange);
	return /* @__PURE__ */ q(Wr, { children: [/* @__PURE__ */ K("style", {
		dangerouslySetInnerHTML: { __html: "[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}" },
		nonce: i
	}), /* @__PURE__ */ K(yv.div, {
		"data-radix-scroll-area-viewport": "",
		...a,
		ref: s,
		style: {
			overflowX: o.scrollbarXEnabled ? "scroll" : "hidden",
			overflowY: o.scrollbarYEnabled ? "scroll" : "hidden",
			...e.style
		},
		children: /* @__PURE__ */ K("div", {
			ref: o.onContentChange,
			style: {
				minWidth: "100%",
				display: "table"
			},
			children: r
		})
	})] });
});
uM.displayName = lM;
var dM = "ScrollAreaScrollbar", fM = L.forwardRef((e, t) => {
	let { forceMount: n, ...r } = e, i = sM(dM, e.__scopeScrollArea), { onScrollbarXEnabledChange: a, onScrollbarYEnabledChange: o } = i, s = e.orientation === "horizontal";
	return L.useEffect(() => (s ? a(!0) : o(!0), () => {
		s ? a(!1) : o(!1);
	}), [
		s,
		a,
		o
	]), i.type === "hover" ? /* @__PURE__ */ K(pM, {
		...r,
		ref: t,
		forceMount: n
	}) : i.type === "scroll" ? /* @__PURE__ */ K(mM, {
		...r,
		ref: t,
		forceMount: n
	}) : i.type === "auto" ? /* @__PURE__ */ K(hM, {
		...r,
		ref: t,
		forceMount: n
	}) : i.type === "always" ? /* @__PURE__ */ K(gM, {
		...r,
		ref: t
	}) : null;
});
fM.displayName = dM;
var pM = L.forwardRef((e, t) => {
	let { forceMount: n, ...r } = e, i = sM(dM, e.__scopeScrollArea), [a, o] = L.useState(!1);
	return L.useEffect(() => {
		let e = i.scrollArea, t = 0;
		if (e) {
			let n = () => {
				window.clearTimeout(t), o(!0);
			}, r = () => {
				t = window.setTimeout(() => o(!1), i.scrollHideDelay);
			};
			return e.addEventListener("pointerenter", n), e.addEventListener("pointerleave", r), () => {
				window.clearTimeout(t), e.removeEventListener("pointerenter", n), e.removeEventListener("pointerleave", r);
			};
		}
	}, [i.scrollArea, i.scrollHideDelay]), /* @__PURE__ */ K(ty, {
		present: n || a,
		children: /* @__PURE__ */ K(hM, {
			"data-state": a ? "visible" : "hidden",
			...r,
			ref: t
		})
	});
}), mM = L.forwardRef((e, t) => {
	let { forceMount: n, ...r } = e, i = sM(dM, e.__scopeScrollArea), a = e.orientation === "horizontal", o = IM(() => c("SCROLL_END"), 100), [s, c] = nM("hidden", {
		hidden: { SCROLL: "scrolling" },
		scrolling: {
			SCROLL_END: "idle",
			POINTER_ENTER: "interacting"
		},
		interacting: {
			SCROLL: "interacting",
			POINTER_LEAVE: "idle"
		},
		idle: {
			HIDE: "hidden",
			SCROLL: "scrolling",
			POINTER_ENTER: "interacting"
		}
	});
	return L.useEffect(() => {
		if (s === "idle") {
			let e = window.setTimeout(() => c("HIDE"), i.scrollHideDelay);
			return () => window.clearTimeout(e);
		}
	}, [
		s,
		i.scrollHideDelay,
		c
	]), L.useEffect(() => {
		let e = i.viewport, t = a ? "scrollLeft" : "scrollTop";
		if (e) {
			let n = e[t], r = () => {
				let r = e[t];
				n !== r && (c("SCROLL"), o()), n = r;
			};
			return e.addEventListener("scroll", r), () => e.removeEventListener("scroll", r);
		}
	}, [
		i.viewport,
		a,
		c,
		o
	]), /* @__PURE__ */ K(ty, {
		present: n || s !== "hidden",
		children: /* @__PURE__ */ K(gM, {
			"data-state": s === "hidden" ? "hidden" : "visible",
			...r,
			ref: t,
			onPointerEnter: $(e.onPointerEnter, () => c("POINTER_ENTER")),
			onPointerLeave: $(e.onPointerLeave, () => c("POINTER_LEAVE"))
		})
	});
}), hM = L.forwardRef((e, t) => {
	let n = sM(dM, e.__scopeScrollArea), { forceMount: r, ...i } = e, [a, o] = L.useState(!1), s = e.orientation === "horizontal", c = IM(() => {
		if (n.viewport) {
			let e = n.viewport.offsetWidth < n.viewport.scrollWidth, t = n.viewport.offsetHeight < n.viewport.scrollHeight;
			o(s ? e : t);
		}
	}, 10);
	return LM(n.viewport, c), LM(n.content, c), /* @__PURE__ */ K(ty, {
		present: r || a,
		children: /* @__PURE__ */ K(gM, {
			"data-state": a ? "visible" : "hidden",
			...i,
			ref: t
		})
	});
}), gM = L.forwardRef((e, t) => {
	let { orientation: n = "vertical", ...r } = e, i = sM(dM, e.__scopeScrollArea), a = L.useRef(null), o = L.useRef(0), [s, c] = L.useState({
		content: 0,
		viewport: 0,
		scrollbar: {
			size: 0,
			paddingStart: 0,
			paddingEnd: 0
		}
	}), l = kM(s.viewport, s.content), u = {
		...r,
		sizes: s,
		onSizesChange: c,
		hasThumb: l > 0 && l < 1,
		onThumbChange: (e) => a.current = e,
		onThumbPointerUp: () => o.current = 0,
		onThumbPointerDown: (e) => o.current = e
	};
	function d(e, t) {
		return jM(e, o.current, s, t);
	}
	return n === "horizontal" ? /* @__PURE__ */ K(_M, {
		...u,
		ref: t,
		onThumbPositionChange: () => {
			if (i.viewport && a.current) {
				let e = i.viewport.scrollLeft, t = MM(e, s, i.dir);
				a.current.style.transform = `translate3d(${t}px, 0, 0)`;
			}
		},
		onWheelScroll: (e) => {
			i.viewport && (i.viewport.scrollLeft = e);
		},
		onDragScroll: (e) => {
			i.viewport && (i.viewport.scrollLeft = d(e, i.dir));
		}
	}) : n === "vertical" ? /* @__PURE__ */ K(vM, {
		...u,
		ref: t,
		onThumbPositionChange: () => {
			if (i.viewport && a.current) {
				let e = i.viewport.scrollTop, t = MM(e, s);
				a.current.style.transform = `translate3d(0, ${t}px, 0)`;
			}
		},
		onWheelScroll: (e) => {
			i.viewport && (i.viewport.scrollTop = e);
		},
		onDragScroll: (e) => {
			i.viewport && (i.viewport.scrollTop = d(e));
		}
	}) : null;
}), _M = L.forwardRef((e, t) => {
	let { sizes: n, onSizesChange: r, ...i } = e, a = sM(dM, e.__scopeScrollArea), [o, s] = L.useState(), c = L.useRef(null), l = z_(t, c, a.onScrollbarXChange);
	return L.useEffect(() => {
		c.current && s(getComputedStyle(c.current));
	}, [c]), /* @__PURE__ */ K(xM, {
		"data-orientation": "horizontal",
		...i,
		ref: l,
		sizes: n,
		style: {
			bottom: 0,
			left: a.dir === "rtl" ? "var(--radix-scroll-area-corner-width)" : 0,
			right: a.dir === "ltr" ? "var(--radix-scroll-area-corner-width)" : 0,
			"--radix-scroll-area-thumb-width": AM(n) + "px",
			...e.style
		},
		onThumbPointerDown: (t) => e.onThumbPointerDown(t.x),
		onDragScroll: (t) => e.onDragScroll(t.x),
		onWheelScroll: (t, n) => {
			if (a.viewport) {
				let r = a.viewport.scrollLeft + t.deltaX;
				e.onWheelScroll(r), PM(r, n) && t.preventDefault();
			}
		},
		onResize: () => {
			c.current && a.viewport && o && r({
				content: a.viewport.scrollWidth,
				viewport: a.viewport.offsetWidth,
				scrollbar: {
					size: c.current.clientWidth,
					paddingStart: OM(o.paddingLeft),
					paddingEnd: OM(o.paddingRight)
				}
			});
		}
	});
}), vM = L.forwardRef((e, t) => {
	let { sizes: n, onSizesChange: r, ...i } = e, a = sM(dM, e.__scopeScrollArea), [o, s] = L.useState(), c = L.useRef(null), l = z_(t, c, a.onScrollbarYChange);
	return L.useEffect(() => {
		c.current && s(getComputedStyle(c.current));
	}, [c]), /* @__PURE__ */ K(xM, {
		"data-orientation": "vertical",
		...i,
		ref: l,
		sizes: n,
		style: {
			top: 0,
			right: a.dir === "ltr" ? 0 : void 0,
			left: a.dir === "rtl" ? 0 : void 0,
			bottom: "var(--radix-scroll-area-corner-height)",
			"--radix-scroll-area-thumb-height": AM(n) + "px",
			...e.style
		},
		onThumbPointerDown: (t) => e.onThumbPointerDown(t.y),
		onDragScroll: (t) => e.onDragScroll(t.y),
		onWheelScroll: (t, n) => {
			if (a.viewport) {
				let r = a.viewport.scrollTop + t.deltaY;
				e.onWheelScroll(r), PM(r, n) && t.preventDefault();
			}
		},
		onResize: () => {
			c.current && a.viewport && o && r({
				content: a.viewport.scrollHeight,
				viewport: a.viewport.offsetHeight,
				scrollbar: {
					size: c.current.clientHeight,
					paddingStart: OM(o.paddingTop),
					paddingEnd: OM(o.paddingBottom)
				}
			});
		}
	});
}), [yM, bM] = iM(dM), xM = L.forwardRef((e, t) => {
	let { __scopeScrollArea: n, sizes: r, hasThumb: i, onThumbChange: a, onThumbPointerUp: o, onThumbPointerDown: s, onThumbPositionChange: c, onDragScroll: l, onWheelScroll: u, onResize: d, ...f } = e, p = sM(dM, n), [m, h] = L.useState(null), g = z_(t, (e) => h(e)), _ = L.useRef(null), v = L.useRef(""), y = p.viewport, b = r.content - r.viewport, x = xv(u), S = xv(c), C = IM(d, 10);
	function w(e) {
		if (_.current) {
			let t = e.clientX - _.current.left, n = e.clientY - _.current.top;
			l({
				x: t,
				y: n
			});
		}
	}
	return L.useEffect(() => {
		let e = (e) => {
			let t = e.target;
			m?.contains(t) && x(e, b);
		};
		return document.addEventListener("wheel", e, { passive: !1 }), () => document.removeEventListener("wheel", e, { passive: !1 });
	}, [
		y,
		m,
		b,
		x
	]), L.useEffect(S, [r, S]), LM(m, C), LM(p.content, C), /* @__PURE__ */ K(yM, {
		scope: n,
		scrollbar: m,
		hasThumb: i,
		onThumbChange: xv(a),
		onThumbPointerUp: xv(o),
		onThumbPositionChange: S,
		onThumbPointerDown: xv(s),
		children: /* @__PURE__ */ K(yv.div, {
			...f,
			ref: g,
			style: {
				position: "absolute",
				...f.style
			},
			onPointerDown: $(e.onPointerDown, (e) => {
				e.button === 0 && (e.target.setPointerCapture(e.pointerId), _.current = m.getBoundingClientRect(), v.current = document.body.style.webkitUserSelect, document.body.style.webkitUserSelect = "none", p.viewport && (p.viewport.style.scrollBehavior = "auto"), w(e));
			}),
			onPointerMove: $(e.onPointerMove, w),
			onPointerUp: $(e.onPointerUp, (e) => {
				let t = e.target;
				t.hasPointerCapture(e.pointerId) && t.releasePointerCapture(e.pointerId), document.body.style.webkitUserSelect = v.current, p.viewport && (p.viewport.style.scrollBehavior = ""), _.current = null;
			})
		})
	});
}), SM = "ScrollAreaThumb", CM = L.forwardRef((e, t) => {
	let { forceMount: n, ...r } = e, i = bM(SM, e.__scopeScrollArea);
	return /* @__PURE__ */ K(ty, {
		present: n || i.hasThumb,
		children: /* @__PURE__ */ K(wM, {
			ref: t,
			...r
		})
	});
}), wM = L.forwardRef((e, t) => {
	let { __scopeScrollArea: n, style: r, ...i } = e, a = sM(SM, n), o = bM(SM, n), { onThumbPositionChange: s } = o, c = z_(t, (e) => o.onThumbChange(e)), l = L.useRef(void 0), u = IM(() => {
		l.current &&= (l.current(), void 0);
	}, 100);
	return L.useEffect(() => {
		let e = a.viewport;
		if (e) {
			let t = () => {
				if (u(), !l.current) {
					let t = FM(e, s);
					l.current = t, s();
				}
			};
			return s(), e.addEventListener("scroll", t), () => e.removeEventListener("scroll", t);
		}
	}, [
		a.viewport,
		u,
		s
	]), /* @__PURE__ */ K(yv.div, {
		"data-state": o.hasThumb ? "visible" : "hidden",
		...i,
		ref: c,
		style: {
			width: "var(--radix-scroll-area-thumb-width)",
			height: "var(--radix-scroll-area-thumb-height)",
			...r
		},
		onPointerDownCapture: $(e.onPointerDownCapture, (e) => {
			let t = e.target.getBoundingClientRect(), n = e.clientX - t.left, r = e.clientY - t.top;
			o.onThumbPointerDown({
				x: n,
				y: r
			});
		}),
		onPointerUp: $(e.onPointerUp, o.onThumbPointerUp)
	});
});
CM.displayName = SM;
var TM = "ScrollAreaCorner", EM = L.forwardRef((e, t) => {
	let n = sM(TM, e.__scopeScrollArea), r = !!(n.scrollbarX && n.scrollbarY);
	return n.type !== "scroll" && r ? /* @__PURE__ */ K(DM, {
		...e,
		ref: t
	}) : null;
});
EM.displayName = TM;
var DM = L.forwardRef((e, t) => {
	let { __scopeScrollArea: n, ...r } = e, i = sM(TM, n), [a, o] = L.useState(0), [s, c] = L.useState(0), l = !!(a && s);
	return LM(i.scrollbarX, () => {
		let e = i.scrollbarX?.offsetHeight || 0;
		i.onCornerHeightChange(e), c(e);
	}), LM(i.scrollbarY, () => {
		let e = i.scrollbarY?.offsetWidth || 0;
		i.onCornerWidthChange(e), o(e);
	}), l ? /* @__PURE__ */ K(yv.div, {
		...r,
		ref: t,
		style: {
			width: a,
			height: s,
			position: "absolute",
			right: i.dir === "ltr" ? 0 : void 0,
			left: i.dir === "rtl" ? 0 : void 0,
			bottom: 0,
			...e.style
		}
	}) : null;
});
function OM(e) {
	return e ? parseInt(e, 10) : 0;
}
function kM(e, t) {
	let n = e / t;
	return isNaN(n) ? 0 : n;
}
function AM(e) {
	let t = kM(e.viewport, e.content), n = e.scrollbar.paddingStart + e.scrollbar.paddingEnd, r = (e.scrollbar.size - n) * t;
	return Math.max(r, 18);
}
function jM(e, t, n, r = "ltr") {
	let i = AM(n), a = i / 2, o = t || a, s = i - o, c = n.scrollbar.paddingStart + o, l = n.scrollbar.size - n.scrollbar.paddingEnd - s, u = n.content - n.viewport, d = r === "ltr" ? [0, u] : [u * -1, 0];
	return NM([c, l], d)(e);
}
function MM(e, t, n = "ltr") {
	let r = AM(t), i = t.scrollbar.paddingStart + t.scrollbar.paddingEnd, a = t.scrollbar.size - i, o = t.content - t.viewport, s = a - r, c = tM(e, n === "ltr" ? [0, o] : [o * -1, 0]);
	return NM([0, o], [0, s])(c);
}
function NM(e, t) {
	return (n) => {
		if (e[0] === e[1] || t[0] === t[1]) return t[0];
		let r = (t[1] - t[0]) / (e[1] - e[0]);
		return t[0] + r * (n - e[0]);
	};
}
function PM(e, t) {
	return e > 0 && e < t;
}
var FM = (e, t = () => {}) => {
	let n = {
		left: e.scrollLeft,
		top: e.scrollTop
	}, r = 0;
	return (function i() {
		let a = {
			left: e.scrollLeft,
			top: e.scrollTop
		}, o = n.left !== a.left, s = n.top !== a.top;
		(o || s) && t(), n = a, r = window.requestAnimationFrame(i);
	})(), () => window.cancelAnimationFrame(r);
};
function IM(e, t) {
	let n = xv(e), r = L.useRef(0);
	return L.useEffect(() => () => window.clearTimeout(r.current), []), L.useCallback(() => {
		window.clearTimeout(r.current), r.current = window.setTimeout(n, t);
	}, [n, t]);
}
function LM(e, t) {
	let n = xv(t);
	iv(() => {
		let t = 0;
		if (e) {
			let r = new ResizeObserver(() => {
				cancelAnimationFrame(t), t = window.requestAnimationFrame(n);
			});
			return r.observe(e), () => {
				window.cancelAnimationFrame(t), r.unobserve(e);
			};
		}
	}, [e, n]);
}
var RM = cM, zM = uM, BM = EM;
// src/components/ui/scroll-area.tsx
function VM({ className: e, children: t, ...n }) {
	return /* @__PURE__ */ q(RM, {
		"data-slot": "scroll-area",
		className: X("relative", e),
		...n,
		children: [
			/* @__PURE__ */ K(zM, {
				"data-slot": "scroll-area-viewport",
				className: "size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1",
				children: t
			}),
			/* @__PURE__ */ K(HM, {}),
			/* @__PURE__ */ K(BM, {})
		]
	});
}
function HM({ className: e, orientation: t = "vertical", ...n }) {
	return /* @__PURE__ */ K(fM, {
		"data-slot": "scroll-area-scrollbar",
		orientation: t,
		className: X("flex touch-none p-px transition-colors select-none", t === "vertical" && "h-full w-2.5 border-l border-l-transparent", t === "horizontal" && "h-2.5 flex-col border-t border-t-transparent", e),
		...n,
		children: /* @__PURE__ */ K(CM, {
			"data-slot": "scroll-area-thumb",
			className: "relative flex-1 rounded-full bg-border"
		})
	});
}
// src/components/laboratory/collections.tsx
var UM = (e) => {
	let { activeOperation: t, operations: n, addOperation: r, setActiveOperation: i, deleteCollection: a, updateCollection: o, deleteOperationFromCollection: s, addTab: c, setActiveTab: l, checkPermissions: u } = $_(), [d, f] = U(!1), [p, m] = U(!1), [h, g] = U(e.collection.name), _ = V(() => e.collection.operations.some((e) => e.id === t?.id), [e.collection.operations, t]);
	return B(() => {
		_ && f(!0);
	}, [_]), /* @__PURE__ */ q(Qj, {
		open: d,
		onOpenChange: f,
		children: [/* @__PURE__ */ q("div", {
			className: "group sticky top-0 z-10 flex items-center bg-background pr-2",
			children: [/* @__PURE__ */ K($j, {
				asChild: !0,
				children: p ? /* @__PURE__ */ q(VA, {
					className: "h-8 border-none !bg-accent/50",
					children: [
						/* @__PURE__ */ K(UA, {
							className: "pl-2.5",
							children: K(d ? Qn : Zn, { className: "size-4 text-muted-foreground" })
						}),
						/* @__PURE__ */ K(KA, {
							autoFocus: !0,
							defaultValue: h,
							className: "!pl-1.5 font-medium",
							onChange: (e) => g(e.target.value),
							onKeyDown: (t) => {
								t.key === "Enter" && (o(e.collection.id, { name: h }), m(!1)), t.key === "Escape" && (g(e.collection.name), m(!1));
							}
						}),
						/* @__PURE__ */ q(UA, {
							align: "inline-end",
							children: [/* @__PURE__ */ K(GA, {
								className: "p-1!",
								"aria-label": "Save collection name",
								onClick: (t) => {
									t.stopPropagation(), o(e.collection.id, { name: h }), m(!1);
								},
								children: /* @__PURE__ */ K(In, {})
							}), /* @__PURE__ */ K(GA, {
								className: "p-1!",
								"aria-label": "Cancel renaming",
								onClick: (t) => {
									t.stopPropagation(), m(!1), g(e.collection.name);
								},
								children: /* @__PURE__ */ K(Fr, {})
							})]
						})
					]
				}) : /* @__PURE__ */ q(Q, {
					variant: "ghost",
					className: "!hover:bg-accent/50 min-w-0 flex-1 justify-start px-2",
					size: "sm",
					children: [K(d ? Qn : Zn, { className: "size-4 text-muted-foreground" }), e.collection.name]
				})
			}), !p && /* @__PURE__ */ q("div", {
				className: "ml-auto flex items-center gap-2",
				children: [u?.("collections:update") && /* @__PURE__ */ q(RA, { children: [/* @__PURE__ */ K(dA, {
					asChild: !0,
					children: /* @__PURE__ */ K(Q, {
						variant: "link",
						"aria-label": "Edit collection",
						className: "p-1! pr-0! text-muted-foreground opacity-0 transition-opacity group-hover:opacity-100",
						onClick: (e) => {
							e.stopPropagation(), m(!0);
						},
						children: /* @__PURE__ */ K(_r, {})
					})
				}), /* @__PURE__ */ K(BA, { children: "Edit collection" })] }), u?.("collections:delete") && /* @__PURE__ */ q(Oj, { children: [/* @__PURE__ */ q(RA, { children: [/* @__PURE__ */ K(dA, {
					asChild: !0,
					children: /* @__PURE__ */ K(kj, {
						asChild: !0,
						children: /* @__PURE__ */ K(Q, {
							variant: "link",
							"aria-label": "Delete collection",
							className: "p-1! pr-0! text-muted-foreground opacity-0 transition-opacity group-hover:opacity-100 hover:text-destructive",
							onClick: (e) => {
								e.stopPropagation();
							},
							children: /* @__PURE__ */ K(Mr, {})
						})
					})
				}), /* @__PURE__ */ K(BA, { children: "Delete collection" })] }), /* @__PURE__ */ q(Mj, { children: [/* @__PURE__ */ q(Nj, { children: [/* @__PURE__ */ K(Fj, { children: "Are you sure you want to delete collection?" }), /* @__PURE__ */ q(Ij, { children: [e.collection.name, " will be permanently deleted. All operations in this collection will be deleted as well."] })] }), /* @__PURE__ */ q(Pj, { children: [/* @__PURE__ */ K(Rj, { children: "Cancel" }), /* @__PURE__ */ K(Lj, {
					asChild: !0,
					children: /* @__PURE__ */ K(Q, {
						variant: "destructive",
						onClick: (t) => {
							t.stopPropagation(), a(e.collection.id);
						},
						children: "Delete"
					})
				})] })] })] })]
			})]
		}), /* @__PURE__ */ K(eM, {
			className: X("ml-4 flex flex-col gap-1 border-l border-border pl-2"),
			children: d && e.collection.operations.map((a) => {
				let o = t?.id === a.id;
				return /* @__PURE__ */ q("div", {
					className: X("group flex w-full items-center rounded-md pr-2", { "bg-accent/50": o }),
					children: [/* @__PURE__ */ q(Q, {
						variant: "ghost",
						className: "min-w-0 flex-1 justify-start gap-2 px-2",
						size: "sm",
						onClick: () => {
							if (n.some((e) => e.id === a.id)) i(a.id);
							else {
								let e = r(a), t = c({
									type: "operation",
									data: e
								});
								l(t);
							}
						},
						children: [/* @__PURE__ */ K(qA, { className: "size-4 text-pink-500" }), a.name]
					}), u?.("collectionsOperations:delete") && /* @__PURE__ */ q(Oj, { children: [/* @__PURE__ */ q(RA, { children: [/* @__PURE__ */ K(dA, {
						asChild: !0,
						children: /* @__PURE__ */ K(kj, {
							asChild: !0,
							children: /* @__PURE__ */ K(Q, {
								variant: "link",
								"aria-label": "Delete operation",
								className: "ml-auto p-1! pr-0! text-muted-foreground opacity-0 transition-opacity group-hover:opacity-100 hover:text-destructive",
								onClick: (e) => {
									e.stopPropagation();
								},
								children: /* @__PURE__ */ K(Mr, {})
							})
						})
					}), /* @__PURE__ */ K(BA, { children: "Delete operation" })] }), /* @__PURE__ */ q(Mj, { children: [/* @__PURE__ */ q(Nj, { children: [/* @__PURE__ */ q(Fj, { children: [
						"Are you sure you want to delete operation ",
						a.name,
						"?"
					] }), /* @__PURE__ */ q(Ij, { children: [a.name, " will be permanently deleted."] })] }), /* @__PURE__ */ q(Pj, { children: [/* @__PURE__ */ K(Rj, { children: "Cancel" }), /* @__PURE__ */ K(Lj, {
						asChild: !0,
						children: /* @__PURE__ */ K(Q, {
							variant: "destructive",
							onClick: (t) => {
								t.stopPropagation(), s(e.collection.id, a.id);
							},
							children: "Delete"
						})
					})] })] })] })]
				}, a.name);
			})
		})]
	});
}, WM = (e) => {
	let { activeOperation: t, operations: n, addOperation: r, setActiveOperation: i, addTab: a, setActiveTab: o } = $_();
	return /* @__PURE__ */ K("div", {
		className: "flex flex-col gap-1",
		children: e.items.map((e) => {
			let s = t?.id === e.id;
			return /* @__PURE__ */ q(Q, {
				variant: "ghost",
				className: X("group w-full justify-start gap-2 px-2", { "bg-accent/50": s }),
				size: "sm",
				onClick: () => {
					if (n.some((t) => t.id === e.id)) i(e.id);
					else {
						let t = r(e), n = a({
							type: "operation",
							data: t
						});
						o(n);
					}
				},
				children: [
					/* @__PURE__ */ K(qA, { className: "size-4 text-pink-500" }),
					/* @__PURE__ */ K("span", {
						className: "truncate text-muted-foreground",
						children: e.parent.name
					}),
					/* @__PURE__ */ K("span", {
						className: "text-muted-foreground",
						children: " / "
					}),
					e.name
				]
			}, e.name);
		})
	});
}, GM = () => {
	let [e, t] = U(""), { collections: n, openAddCollectionDialog: r, checkPermissions: i } = $_(), a = V(() => n.reduce((e, t) => [...e, ...t.operations.map((e) => ({
		...e,
		parent: t
	}))], []).filter((t) => t.name.toLowerCase().includes(e.toLowerCase())), [n, e]);
	return /* @__PURE__ */ q("div", {
		className: "grid size-full grid-rows-[auto_1fr] pb-0",
		children: [/* @__PURE__ */ q("div", {
			className: "flex flex-col",
			children: [/* @__PURE__ */ q("div", {
				className: "flex items-center gap-2 p-3 pb-0",
				children: [/* @__PURE__ */ K("span", {
					className: "text-base font-medium",
					children: "Collections"
				}), /* @__PURE__ */ K("div", {
					className: "ml-auto flex items-center gap-2",
					children: i?.("collections:create") && /* @__PURE__ */ q(RA, { children: [/* @__PURE__ */ K(dA, {
						asChild: !0,
						children: /* @__PURE__ */ K(Q, {
							variant: "ghost",
							size: "icon-sm",
							"aria-label": "Add collection",
							className: "size-6 rounded-sm p-1!",
							onClick: r,
							children: /* @__PURE__ */ K($n, { className: "size-4 text-primary" })
						})
					}), /* @__PURE__ */ K(BA, { children: "Add collection" })] })
				})]
			}), /* @__PURE__ */ q("div", {
				className: "relative border-b border-border p-3",
				children: [
					/* @__PURE__ */ K(wr, { className: "absolute top-1/2 left-5 size-4 -translate-y-1/2 text-muted-foreground" }),
					/* @__PURE__ */ K(ED, {
						type: "text",
						placeholder: "Search...",
						className: X("px-7"),
						value: e,
						onChange: (e) => t(e.target.value)
					}),
					e.length > 0 && /* @__PURE__ */ K(Q, {
						variant: "ghost",
						size: "icon-sm",
						"aria-label": "Clear search",
						className: "absolute top-1/2 right-5 size-6 -translate-y-1/2 rounded-sm p-1!",
						onClick: () => t(""),
						children: /* @__PURE__ */ K(Fr, { className: "size-4 text-muted-foreground" })
					})
				]
			})]
		}), /* @__PURE__ */ K("div", {
			className: "size-full overflow-hidden",
			children: /* @__PURE__ */ q(VM, {
				className: "size-full",
				children: [/* @__PURE__ */ K("div", {
					className: "flex flex-col gap-1 p-3",
					children: e.length > 0 ? a.length > 0 ? /* @__PURE__ */ K(WM, { items: a }) : /* @__PURE__ */ K(tD, {
						className: "w-full px-0!",
						children: /* @__PURE__ */ q(nD, { children: [
							/* @__PURE__ */ K(iD, {
								variant: "icon",
								children: /* @__PURE__ */ K(wr, { className: "size-6 text-muted-foreground" })
							}),
							/* @__PURE__ */ K(aD, {
								className: "text-base",
								children: "No results found"
							}),
							/* @__PURE__ */ K(oD, {
								className: "text-xs",
								children: "No collections found matching your search."
							})
						] })
					}) : n.length > 0 ? n.map((e) => /* @__PURE__ */ K(UM, { collection: e }, e.id)) : /* @__PURE__ */ q(tD, {
						className: "w-full px-0!",
						children: [/* @__PURE__ */ q(nD, { children: [
							/* @__PURE__ */ K(iD, {
								variant: "icon",
								children: /* @__PURE__ */ K(Zn, { className: "size-6 text-muted-foreground" })
							}),
							/* @__PURE__ */ K(aD, {
								className: "text-base",
								children: "No collections yet"
							}),
							/* @__PURE__ */ K(oD, {
								className: "text-xs",
								children: "You haven't created any collections yet. Get started by adding your first collection."
							})
						] }), /* @__PURE__ */ K(sD, { children: /* @__PURE__ */ K(Q, {
							variant: "secondary",
							size: "sm",
							onClick: r,
							children: "Add collection"
						}) })]
					})
				}), /* @__PURE__ */ K(HM, {})]
			})
		})]
	});
}, KM = 1, qM = .9, JM = .8, YM = .17, XM = .1, ZM = .999, QM = .9999, $M = .99, eN = /[\\\/_+.#"@\[\(\{&]/, tN = /[\\\/_+.#"@\[\(\{&]/g, nN = /[\s-]/, rN = /[\s-]/g;
function iN(e, t, n, r, i, a, o) {
	if (a === t.length) return i === e.length ? KM : $M;
	var s = `${i},${a}`;
	if (o[s] !== void 0) return o[s];
	for (var c = r.charAt(a), l = n.indexOf(c, i), u = 0, d, f, p, m; l >= 0;) d = iN(e, t, n, r, l + 1, a + 1, o), d > u && (l === i ? d *= KM : eN.test(e.charAt(l - 1)) ? (d *= JM, p = e.slice(i, l - 1).match(tN), p && i > 0 && (d *= ZM ** +p.length)) : nN.test(e.charAt(l - 1)) ? (d *= qM, m = e.slice(i, l - 1).match(rN), m && i > 0 && (d *= ZM ** +m.length)) : (d *= YM, i > 0 && (d *= ZM ** +(l - i))), e.charAt(l) !== t.charAt(a) && (d *= QM)), (d < XM && n.charAt(l - 1) === r.charAt(a + 1) || r.charAt(a + 1) === r.charAt(a) && n.charAt(l - 1) !== r.charAt(a)) && (f = iN(e, t, n, r, l + 1, a + 2, o), f * XM > d && (d = f * XM)), d > u && (u = d), l = n.indexOf(c, l + 1);
	return o[s] = u, u;
}
function aN(e) {
	return e.toLowerCase().replace(rN, " ");
}
function oN(e, t, n) {
	return e = n && n.length > 0 ? `${e + " " + n.join(" ")}` : e, iN(e, t, aN(e), aN(t), 0, 0, {});
}
// ../../../node_modules/.pnpm/cmdk@1.1.1_@types+react-dom@18.3.5_@types+react@18.3.18__@types+react@18.3.18_react-dom_1611aece7428a85dce5541d1143903f7/node_modules/cmdk/dist/index.mjs
var sN = "[cmdk-group=\"\"]", cN = "[cmdk-group-items=\"\"]", lN = "[cmdk-group-heading=\"\"]", uN = "[cmdk-item=\"\"]", dN = `${uN}:not([aria-disabled="true"])`, fN = "cmdk-item-select", pN = "data-value", mN = (e, t, n) => oN(e, t, n), hN = L.createContext(void 0), gN = () => L.useContext(hN), _N = L.createContext(void 0), vN = () => L.useContext(_N), yN = L.createContext(void 0), bN = L.forwardRef((e, t) => {
	let n = PN(() => ({
		search: "",
		value: e.value ?? e.defaultValue ?? "",
		selectedItemId: void 0,
		filtered: {
			count: 0,
			items: /* @__PURE__ */ new Map(),
			groups: /* @__PURE__ */ new Set()
		}
	})), r = PN(() => /* @__PURE__ */ new Set()), i = PN(() => /* @__PURE__ */ new Map()), a = PN(() => /* @__PURE__ */ new Map()), o = PN(() => /* @__PURE__ */ new Set()), s = MN(e), { label: c, children: l, value: u, onValueChange: d, filter: f, shouldFilter: p, loop: m, disablePointerSelection: h = !1, vimBindings: g = !0, ..._ } = e, v = sv(), y = sv(), b = sv(), x = L.useRef(null), S = LN();
	NN(() => {
		if (u !== void 0) {
			let e = u.trim();
			n.current.value = e, C.emit();
		}
	}, [u]), NN(() => {
		S(6, k);
	}, []);
	let C = L.useMemo(() => ({
		subscribe: (e) => (o.current.add(e), () => o.current.delete(e)),
		snapshot: () => n.current,
		setState: (e, t, r) => {
			var i, a, o;
			if (!Object.is(n.current[e], t)) {
				if (n.current[e] = t, e === "search") O(), E(), S(1, D);
				else if (e === "value") {
					if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
						let e = document.getElementById(b);
						e ? e.focus() : (i = document.getElementById(v)) == null || i.focus();
					}
					if (S(7, () => {
						n.current.selectedItemId = A()?.id, C.emit();
					}), r || S(5, k), s.current?.value !== void 0) {
						let e = t ?? "";
						(o = (a = s.current).onValueChange) == null || o.call(a, e);
						return;
					}
				}
				C.emit();
			}
		},
		emit: () => {
			o.current.forEach((e) => e());
		}
	}), []), w = L.useMemo(() => ({
		value: (e, t, r) => {
			t !== a.current.get(e)?.value && (a.current.set(e, {
				value: t,
				keywords: r
			}), n.current.filtered.items.set(e, T(t, r)), S(2, () => {
				E(), C.emit();
			}));
		},
		item: (e, t) => (r.current.add(e), t && (i.current.has(t) ? i.current.get(t).add(e) : i.current.set(t, /* @__PURE__ */ new Set([e]))), S(3, () => {
			O(), E(), n.current.value || D(), C.emit();
		}), () => {
			a.current.delete(e), r.current.delete(e), n.current.filtered.items.delete(e);
			let t = A();
			S(4, () => {
				O(), t?.getAttribute("id") === e && D(), C.emit();
			});
		}),
		group: (e) => (i.current.has(e) || i.current.set(e, /* @__PURE__ */ new Set()), () => {
			a.current.delete(e), i.current.delete(e);
		}),
		filter: () => s.current.shouldFilter,
		label: c || e["aria-label"],
		getDisablePointerSelection: () => s.current.disablePointerSelection,
		listId: v,
		inputId: b,
		labelId: y,
		listInnerRef: x
	}), []);
	function T(e, t) {
		let r = s.current?.filter ?? mN;
		return e ? r(e, n.current.search, t) : 0;
	}
	function E() {
		if (!n.current.search || s.current.shouldFilter === !1) return;
		let e = n.current.filtered.items, t = [];
		n.current.filtered.groups.forEach((n) => {
			let r = i.current.get(n), a = 0;
			r.forEach((t) => {
				let n = e.get(t);
				a = Math.max(n, a);
			}), t.push([n, a]);
		});
		let r = x.current;
		ee().sort((t, n) => {
			let r = t.getAttribute("id"), i = n.getAttribute("id");
			return (e.get(i) ?? 0) - (e.get(r) ?? 0);
		}).forEach((e) => {
			let t = e.closest(cN);
			t ? t.appendChild(e.parentElement === t ? e : e.closest(`${cN} > *`)) : r.appendChild(e.parentElement === r ? e : e.closest(`${cN} > *`));
		}), t.sort((e, t) => t[1] - e[1]).forEach((e) => {
			let t = x.current?.querySelector(`${sN}[${pN}="${encodeURIComponent(e[0])}"]`);
			t?.parentElement.appendChild(t);
		});
	}
	function D() {
		let e = ee().find((e) => e.getAttribute("aria-disabled") !== "true")?.getAttribute(pN);
		C.setState("value", e || void 0);
	}
	function O() {
		if (!n.current.search || s.current.shouldFilter === !1) {
			n.current.filtered.count = r.current.size;
			return;
		}
		n.current.filtered.groups = /* @__PURE__ */ new Set();
		let e = 0;
		for (let t of r.current) {
			let r = T(a.current.get(t)?.value ?? "", a.current.get(t)?.keywords ?? []);
			n.current.filtered.items.set(t, r), r > 0 && e++;
		}
		for (let [e, t] of i.current) for (let r of t) if (n.current.filtered.items.get(r) > 0) {
			n.current.filtered.groups.add(e);
			break;
		}
		n.current.filtered.count = e;
	}
	function k() {
		var e;
		let t = A();
		t && (t.parentElement?.firstChild === t && ((e = t.closest(sN)?.querySelector(lN)) == null || e.scrollIntoView({ block: "nearest" })), t.scrollIntoView({ block: "nearest" }));
	}
	function A() {
		return x.current?.querySelector(`${uN}[aria-selected="true"]`);
	}
	function ee() {
		return Array.from(x.current?.querySelectorAll(dN) || []);
	}
	function j(e) {
		let t = ee()[e];
		t && C.setState("value", t.getAttribute(pN));
	}
	function M(e) {
		var t;
		let n = A(), r = ee(), i = r.findIndex((e) => e === n), a = r[i + e];
		(t = s.current) != null && t.loop && (a = i + e < 0 ? r[r.length - 1] : i + e === r.length ? r[0] : r[i + e]), a && C.setState("value", a.getAttribute(pN));
	}
	function N(e) {
		let t = A()?.closest(sN), n;
		for (; t && !n;) t = e > 0 ? AN(t, sN) : jN(t, sN), n = t?.querySelector(dN);
		n ? C.setState("value", n.getAttribute(pN)) : M(e);
	}
	let te = () => j(ee().length - 1), P = (e) => {
		e.preventDefault(), e.metaKey ? te() : e.altKey ? N(1) : M(1);
	}, ne = (e) => {
		e.preventDefault(), e.metaKey ? j(0) : e.altKey ? N(-1) : M(-1);
	};
	return L.createElement(cD.div, {
		ref: t,
		tabIndex: -1,
		..._,
		"cmdk-root": "",
		onKeyDown: (e) => {
			var t;
			(t = _.onKeyDown) == null || t.call(_, e);
			let n = e.nativeEvent.isComposing || e.keyCode === 229;
			if (!(e.defaultPrevented || n)) switch (e.key) {
				case "n":
				case "j":
					g && e.ctrlKey && P(e);
					break;
				case "ArrowDown":
					P(e);
					break;
				case "p":
				case "k":
					g && e.ctrlKey && ne(e);
					break;
				case "ArrowUp":
					ne(e);
					break;
				case "Home":
					e.preventDefault(), j(0);
					break;
				case "End":
					e.preventDefault(), te();
					break;
				case "Enter": {
					e.preventDefault();
					let t = A();
					if (t) {
						let e = new Event(fN);
						t.dispatchEvent(e);
					}
				}
			}
		}
	}, L.createElement("label", {
		"cmdk-label": "",
		htmlFor: w.inputId,
		id: w.labelId,
		style: BN
	}, c), zN(e, (e) => L.createElement(_N.Provider, { value: C }, L.createElement(hN.Provider, { value: w }, e))));
}), xN = L.forwardRef((e, t) => {
	let n = sv(), r = L.useRef(null), i = L.useContext(yN), a = gN(), o = MN(e), s = o.current?.forceMount ?? i?.forceMount;
	NN(() => {
		if (!s) return a.item(n, i?.id);
	}, [s]);
	let c = IN(n, r, [
		e.value,
		e.children,
		r
	], e.keywords), l = vN(), u = FN((e) => e.value && e.value === c.current), d = FN((e) => s || a.filter() === !1 ? !0 : !e.search || e.filtered.items.get(n) > 0);
	L.useEffect(() => {
		let t = r.current;
		if (t && !e.disabled) return t.addEventListener(fN, f), () => t.removeEventListener(fN, f);
	}, [
		d,
		e.onSelect,
		e.disabled
	]);
	function f() {
		var e, t;
		p(), (t = (e = o.current).onSelect) == null || t.call(e, c.current);
	}
	function p() {
		l.setState("value", c.current, !0);
	}
	if (!d) return null;
	let { disabled: m, value: h, onSelect: g, forceMount: _, keywords: v, ...y } = e;
	return L.createElement(cD.div, {
		ref: R_(r, t),
		...y,
		id: n,
		"cmdk-item": "",
		role: "option",
		"aria-disabled": !!m,
		"aria-selected": !!u,
		"data-disabled": !!m,
		"data-selected": !!u,
		onPointerMove: m || a.getDisablePointerSelection() ? void 0 : p,
		onClick: m ? void 0 : f
	}, e.children);
}), SN = L.forwardRef((e, t) => {
	let { heading: n, children: r, forceMount: i, ...a } = e, o = sv(), s = L.useRef(null), c = L.useRef(null), l = sv(), u = gN(), d = FN((e) => i || u.filter() === !1 ? !0 : !e.search || e.filtered.groups.has(o));
	NN(() => u.group(o), []), IN(o, s, [
		e.value,
		e.heading,
		c
	]);
	let f = L.useMemo(() => ({
		id: o,
		forceMount: i
	}), [i]);
	return L.createElement(cD.div, {
		ref: R_(s, t),
		...a,
		"cmdk-group": "",
		role: "presentation",
		hidden: !d || void 0
	}, n && L.createElement("div", {
		ref: c,
		"cmdk-group-heading": "",
		"aria-hidden": !0,
		id: l
	}, n), zN(e, (e) => L.createElement("div", {
		"cmdk-group-items": "",
		role: "group",
		"aria-labelledby": n ? l : void 0
	}, L.createElement(yN.Provider, { value: f }, e))));
}), CN = L.forwardRef((e, t) => {
	let { alwaysRender: n, ...r } = e, i = L.useRef(null), a = FN((e) => !e.search);
	return !n && !a ? null : L.createElement(cD.div, {
		ref: R_(i, t),
		...r,
		"cmdk-separator": "",
		role: "separator"
	});
}), wN = L.forwardRef((e, t) => {
	let { onValueChange: n, ...r } = e, i = e.value != null, a = vN(), o = FN((e) => e.search), s = FN((e) => e.selectedItemId), c = gN();
	return L.useEffect(() => {
		e.value != null && a.setState("search", e.value);
	}, [e.value]), L.createElement(cD.input, {
		ref: t,
		...r,
		"cmdk-input": "",
		autoComplete: "off",
		autoCorrect: "off",
		spellCheck: !1,
		"aria-autocomplete": "list",
		role: "combobox",
		"aria-expanded": !0,
		"aria-controls": c.listId,
		"aria-labelledby": c.labelId,
		"aria-activedescendant": s,
		id: c.inputId,
		type: "text",
		value: i ? e.value : o,
		onChange: (e) => {
			i || a.setState("search", e.target.value), n?.(e.target.value);
		}
	});
}), TN = L.forwardRef((e, t) => {
	let { children: n, label: r = "Suggestions", ...i } = e, a = L.useRef(null), o = L.useRef(null), s = FN((e) => e.selectedItemId), c = gN();
	return L.useEffect(() => {
		if (o.current && a.current) {
			let e = o.current, t = a.current, n, r = new ResizeObserver(() => {
				n = requestAnimationFrame(() => {
					let n = e.offsetHeight;
					t.style.setProperty("--cmdk-list-height", n.toFixed(1) + "px");
				});
			});
			return r.observe(e), () => {
				cancelAnimationFrame(n), r.unobserve(e);
			};
		}
	}, []), L.createElement(cD.div, {
		ref: R_(a, t),
		...i,
		"cmdk-list": "",
		role: "listbox",
		tabIndex: -1,
		"aria-activedescendant": s,
		"aria-label": r,
		id: c.listId
	}, zN(e, (e) => L.createElement("div", {
		ref: R_(o, c.listInnerRef),
		"cmdk-list-sizer": ""
	}, e)));
}), EN = L.forwardRef((e, t) => {
	let { open: n, onOpenChange: r, overlayClassName: i, contentClassName: a, container: o, ...s } = e;
	return L.createElement(nx, {
		open: n,
		onOpenChange: r
	}, L.createElement(ix, { container: o }, L.createElement(ax, {
		"cmdk-overlay": "",
		className: i
	}), L.createElement(ox, {
		"aria-label": e.label,
		"cmdk-dialog": "",
		className: a
	}, L.createElement(bN, {
		ref: t,
		...s
	}))));
}), DN = L.forwardRef((e, t) => FN((e) => e.filtered.count === 0) ? L.createElement(cD.div, {
	ref: t,
	...e,
	"cmdk-empty": "",
	role: "presentation"
}) : null), ON = L.forwardRef((e, t) => {
	let { progress: n, children: r, label: i = "Loading...", ...a } = e;
	return L.createElement(cD.div, {
		ref: t,
		...a,
		"cmdk-loading": "",
		role: "progressbar",
		"aria-valuenow": n,
		"aria-valuemin": 0,
		"aria-valuemax": 100,
		"aria-label": i
	}, zN(e, (e) => L.createElement("div", { "aria-hidden": !0 }, e)));
}), kN = Object.assign(bN, {
	List: TN,
	Item: xN,
	Input: wN,
	Group: SN,
	Separator: CN,
	Dialog: EN,
	Empty: DN,
	Loading: ON
});
function AN(e, t) {
	let n = e.nextElementSibling;
	for (; n;) {
		if (n.matches(t)) return n;
		n = n.nextElementSibling;
	}
}
function jN(e, t) {
	let n = e.previousElementSibling;
	for (; n;) {
		if (n.matches(t)) return n;
		n = n.previousElementSibling;
	}
}
function MN(e) {
	let t = L.useRef(e);
	return NN(() => {
		t.current = e;
	}), t;
}
var NN = typeof window > "u" ? L.useEffect : L.useLayoutEffect;
function PN(e) {
	let t = L.useRef();
	return t.current === void 0 && (t.current = e()), t;
}
function FN(e) {
	let t = vN(), n = () => e(t.snapshot());
	return L.useSyncExternalStore(t.subscribe, n, n);
}
function IN(e, t, n, r = []) {
	let i = L.useRef(), a = gN();
	return NN(() => {
		var o;
		let s = (() => {
			for (let e of n) {
				if (typeof e == "string") return e.trim();
				if (typeof e == "object" && "current" in e) return e.current ? e.current.textContent?.trim() : i.current;
			}
		})(), c = r.map((e) => e.trim());
		a.value(e, s, c), (o = t.current) == null || o.setAttribute(pN, s), i.current = s;
	}), i;
}
var LN = () => {
	let [e, t] = L.useState(), n = PN(() => /* @__PURE__ */ new Map());
	return NN(() => {
		n.current.forEach((e) => e()), n.current = /* @__PURE__ */ new Map();
	}, [e]), (e, r) => {
		n.current.set(e, r), t({});
	};
};
function RN(e) {
	let t = e.type;
	return typeof t == "function" ? t(e.props) : "render" in t ? t.render(e.props) : e;
}
function zN({ asChild: e, children: t }, n) {
	return e && L.isValidElement(t) ? L.cloneElement(RN(t), { ref: t.ref }, n(t.props.children)) : n(t);
}
var BN = {
	position: "absolute",
	width: "1px",
	height: "1px",
	padding: "0",
	margin: "-1px",
	overflow: "hidden",
	clip: "rect(0, 0, 0, 0)",
	whiteSpace: "nowrap",
	borderWidth: "0"
};
// src/components/ui/command.tsx
function VN({ className: e, ...t }) {
	return /* @__PURE__ */ K(kN, {
		"data-slot": "command",
		className: X("flex size-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground", e),
		...t
	});
}
function HN({ title: e = "Command Palette", description: t = "Search for a command to run...", children: n, className: r, showCloseButton: i = !0, ...a }) {
	return /* @__PURE__ */ q(ux, {
		...a,
		children: [/* @__PURE__ */ q(gx, {
			className: "sr-only",
			children: [/* @__PURE__ */ K(vx, { children: e }), /* @__PURE__ */ K(yx, { children: t })]
		}), /* @__PURE__ */ K(hx, {
			className: X("overflow-hidden p-0", r),
			showCloseButton: i,
			children: /* @__PURE__ */ K(VN, {
				className: "**:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:size-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:size-5",
				children: n
			})
		})]
	});
}
function UN({ className: e, ...t }) {
	return /* @__PURE__ */ q("div", {
		"data-slot": "command-input-wrapper",
		className: "flex h-9 items-center gap-2 border-b px-3",
		children: [/* @__PURE__ */ K(wr, { className: "size-4 shrink-0 opacity-50" }), /* @__PURE__ */ K(kN.Input, {
			"data-slot": "command-input",
			className: X("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50", e),
			...t
		})]
	});
}
function WN({ className: e, ...t }) {
	return /* @__PURE__ */ K(kN.List, {
		"data-slot": "command-list",
		className: X("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto", e),
		...t
	});
}
function GN({ ...e }) {
	return /* @__PURE__ */ K(kN.Empty, {
		"data-slot": "command-empty",
		className: "py-6 text-center text-sm",
		...e
	});
}
function KN({ className: e, ...t }) {
	return /* @__PURE__ */ K(kN.Group, {
		"data-slot": "command-group",
		className: X("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground", e),
		...t
	});
}
function qN({ className: e, ...t }) {
	return /* @__PURE__ */ K(kN.Separator, {
		"data-slot": "command-separator",
		className: X("-mx-1 h-px bg-border", e),
		...t
	});
}
function JN({ className: e, ...t }) {
	return /* @__PURE__ */ K(kN.Item, {
		"data-slot": "command-item",
		className: X("relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground", e),
		...t
	});
}
function YN({ className: e, ...t }) {
	return /* @__PURE__ */ K("span", {
		"data-slot": "command-shortcut",
		className: X("ml-auto text-xs tracking-widest text-muted-foreground", e),
		...t
	});
}
// src/components/laboratory/command.tsx
function XN(e) {
	let { endpoint: t, openAddCollectionDialog: n, addOperation: r, runActiveOperation: i, addTab: a, setActiveTab: o, tabs: s, preflight: c, env: l, plugins: u } = $_(), d = $_(), [f, p] = U(e.open ?? !1);
	return B(() => {
		p(e.open ?? !1);
	}, [e.open]), B(() => {
		let t = (t) => {
			if (t.key === "j" && (t.metaKey || t.ctrlKey)) {
				t.preventDefault();
				let n = !f;
				p(n), e.onOpenChange?.(n);
			}
		};
		return document.addEventListener("keydown", t), () => document.removeEventListener("keydown", t);
	}, [f, e]), /* @__PURE__ */ K(Wr, { children: /* @__PURE__ */ q(HN, {
		open: f,
		onOpenChange: (t) => {
			p(t), e.onOpenChange?.(t);
		},
		children: [/* @__PURE__ */ K(UN, { placeholder: "Type a command or search..." }), /* @__PURE__ */ q(WN, { children: [
			/* @__PURE__ */ K(GN, { children: "No results found." }),
			/* @__PURE__ */ q(KN, {
				heading: "Operations",
				children: [/* @__PURE__ */ q(JN, {
					disabled: !t,
					onSelect: () => {
						i(t), p(!1);
					},
					children: [
						/* @__PURE__ */ K(vr, {}),
						/* @__PURE__ */ K("span", { children: "Run operation" }),
						/* @__PURE__ */ K(YN, { children: "⌘↵" })
					]
				}), /* @__PURE__ */ q(JN, {
					onSelect: () => {
						let e = r({
							name: "",
							query: "",
							variables: "",
							headers: "",
							extensions: ""
						}), t = a({
							type: "operation",
							data: e
						});
						o(t), p(!1);
					},
					children: [/* @__PURE__ */ K(qn, {}), /* @__PURE__ */ K("span", { children: "Add operation" })]
				})]
			}),
			/* @__PURE__ */ K(qN, {}),
			/* @__PURE__ */ K(KN, {
				heading: "Collections",
				children: /* @__PURE__ */ q(JN, {
					onSelect: () => {
						n?.(), p(!1);
					},
					children: [/* @__PURE__ */ K($n, {}), /* @__PURE__ */ K("span", { children: "Add collection" })]
				})
			}),
			/* @__PURE__ */ K(qN, {}),
			/* @__PURE__ */ q(KN, {
				heading: "Settings",
				children: [/* @__PURE__ */ q(JN, {
					onSelect: () => {
						let e = s.find((e) => e.type === "env") ?? a({
							type: "env",
							data: l ?? { variables: {} }
						});
						o(e), p(!1);
					},
					children: [/* @__PURE__ */ K(Tr, {}), /* @__PURE__ */ K("span", { children: "Open Environment Variables" })]
				}), /* @__PURE__ */ q(JN, {
					onSelect: () => {
						let e = s.find((e) => e.type === "preflight") ?? a({
							type: "preflight",
							data: c ?? { script: "" }
						});
						o(e), p(!1);
					},
					children: [/* @__PURE__ */ K(xr, {}), /* @__PURE__ */ K("span", { children: "Open Preflight Script" })]
				})]
			}),
			u.filter((e) => !!e.commands?.length).map((e) => /* @__PURE__ */ q(fn, { children: [/* @__PURE__ */ K(qN, {}), /* @__PURE__ */ K(KN, {
				heading: e.name,
				children: e.commands?.map((e, t) => /* @__PURE__ */ q(JN, {
					onSelect: () => {
						e.onClick(d, {}), p(!1);
					},
					children: [typeof e.icon == "function" ? e.icon(d, {}) : e.icon, /* @__PURE__ */ K("span", { children: typeof e.name == "function" ? e.name(d, {}) : e.name })]
				}, t))
			})] }, e.name))
		] })]
	}) });
}
// src/lib/docs-search.ts
var ZN = {
	types: [],
	fields: [],
	enumValues: [],
	hasMore: !1
}, QN = (e, t, n) => {
	let r = t.trim().toLowerCase();
	if (!e || !r) return ZN;
	let a = n?.maxResults ?? 100, o = {
		types: [],
		fields: [],
		enumValues: [],
		hasMore: !1
	}, s = 0, c = () => s >= a ? (o.hasMore = !0, !1) : (s++, !0);
	for (let t of Object.values(e.getTypeMap())) if (!t.name.startsWith("__")) {
		if (t.name.toLowerCase().includes(r)) {
			if (!c()) return o;
			o.types.push(t);
		}
		if (C(t) || i(t) || re(t)) {
			for (let e of Object.values(t.getFields())) if (e.name.toLowerCase().includes(r)) {
				if (!c()) return o;
				o.fields.push({
					typeName: t.name,
					fieldName: e.name
				});
			}
		} else if (f(t)) {
			for (let e of t.getValues()) if (e.name.toLowerCase().includes(r)) {
				if (!c()) return o;
				o.enumValues.push({
					typeName: t.name,
					valueName: e.name
				});
			}
		}
	}
	return o;
}, $N = (e) => e.type instanceof Ye ? /* @__PURE__ */ q("span", { children: [/* @__PURE__ */ K($N, { type: e.type.ofType }), /* @__PURE__ */ K("span", {
	className: "text-muted-foreground!",
	children: "!"
})] }) : e.type instanceof ut ? /* @__PURE__ */ q("span", { children: [
	/* @__PURE__ */ K("span", {
		className: "text-muted-foreground!",
		children: "["
	}),
	/* @__PURE__ */ K($N, { type: e.type.ofType }),
	/* @__PURE__ */ K("span", {
		className: "text-muted-foreground!",
		children: "]"
	})
] }) : e.type instanceof De || e.type instanceof ze ? /* @__PURE__ */ K("span", {
	className: "text-teal-400",
	children: e.type.name
}) : /* @__PURE__ */ K("span", {
	className: "text-amber-400",
	children: e.type.name
});
// ../../../node_modules/.pnpm/dompurify@3.4.17/node_modules/dompurify/dist/purify.es.mjs
function eP(e, t) {
	this.v = e, this.k = t;
}
function tP(e, t) {
	(t == null || t > e.length) && (t = e.length);
	for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
	return r;
}
function nP(e) {
	if (Array.isArray(e)) return e;
}
function rP(e, t) {
	var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
	if (n != null) {
		var r, i, a, o, s = [], c = !0, l = !1;
		try {
			if (a = (n = n.call(e)).next, t === 0) {
				if (Object(n) !== n) return;
				c = !1;
			} else for (; !(c = (r = a.call(n)).done) && (s.push(r.value), s.length !== t); c = !0);
		} catch (e) {
			l = !0, i = e;
		} finally {
			try {
				if (!c && n.return != null && (o = n.return(), Object(o) !== o)) return;
			} finally {
				if (l) throw i;
			}
		}
		return s;
	}
}
function iP() {
	throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
function aP(e, t) {
	return nP(e) || rP(e, t) || oP(e, t) || iP();
}
function oP(e, t) {
	if (e) {
		if (typeof e == "string") return tP(e, t);
		var n = {}.toString.call(e).slice(8, -1);
		return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? tP(e, t) : void 0;
	}
}
function sP(e) {
	var t, n;
	function r(t, n) {
		try {
			var a = e[t](n), o = a.value, s = o instanceof eP;
			Promise.resolve(s ? o.v : o).then(function(n) {
				if (s) {
					var c = t === "return" && o.k ? t : "next";
					if (!o.k || n.done) return r(c, n);
					n = e[c](n).value;
				}
				i(!!a.done, n);
			}, function(e) {
				r("throw", e);
			});
		} catch (e) {
			i(2, e);
		}
	}
	function i(e, i) {
		e === 2 ? t.reject(i) : t.resolve({
			value: i,
			done: e
		}), (t = t.next) ? r(t.key, t.arg) : n = null;
	}
	this._invoke = function(e, i) {
		return new Promise(function(a, o) {
			var s = {
				key: e,
				arg: i,
				resolve: a,
				reject: o,
				next: null
			};
			n ? n = n.next = s : (t = n = s, r(e, i));
		});
	}, typeof e.return != "function" && (this.return = void 0);
}
sP.prototype[typeof Symbol == "function" && Symbol.asyncIterator || "@@asyncIterator"] = function() {
	return this;
}, sP.prototype.next = function(e) {
	return this._invoke("next", e);
}, sP.prototype.throw = function(e) {
	return this._invoke("throw", e);
}, sP.prototype.return = function(e) {
	return this._invoke("return", e);
};
var cP = Object.entries, lP = Object.setPrototypeOf, uP = Object.isFrozen, dP = Object.getPrototypeOf, fP = Object.getOwnPropertyDescriptor, pP = Object.freeze, mP = Object.seal, hP = Object.create, gP = typeof Reflect < "u" && Reflect, _P = gP.apply, vP = gP.construct;
pP ||= function(e) {
	return e;
}, mP ||= function(e) {
	return e;
}, _P ||= function(e, t) {
	var n = [...arguments].slice(2);
	return e.apply(t, n);
}, vP ||= function(e) {
	return new e(...[...arguments].slice(1));
};
var yP = UP(Array.prototype.forEach);
Array.prototype.indexOf;
var bP = UP(Array.prototype.lastIndexOf), xP = UP(Array.prototype.pop), SP = UP(Array.prototype.push), CP = UP(Array.prototype.slice), wP = UP(Array.prototype.splice), TP = Array.isArray, EP = WP(Set), DP = UP(Set.prototype.add), OP = UP(Set.prototype.has), kP = UP(String.prototype.toLowerCase), AP = UP(String.prototype.toString), jP = UP(String.prototype.match), MP = UP(String.prototype.replace), NP = UP(String.prototype.indexOf), PP = UP(String.prototype.trim), FP = UP(Number.prototype.toString), IP = UP(Boolean.prototype.toString), LP = typeof BigInt > "u" ? null : UP(BigInt.prototype.toString), RP = typeof Symbol > "u" ? null : UP(Symbol.prototype.toString), zP = UP(Object.prototype.hasOwnProperty), BP = UP(Object.prototype.toString), VP = UP(RegExp.prototype.test), HP = WP(TypeError);
function UP(e) {
	return function(t) {
		t instanceof RegExp && (t.lastIndex = 0);
		var n = [...arguments].slice(1);
		return _P(e, t, n);
	};
}
function WP(e) {
	return function() {
		return vP(e, [...arguments]);
	};
}
function GP(e, t) {
	let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : kP;
	if (lP && lP(e, null), !TP(t)) return e;
	let r = t.length;
	for (; r--;) {
		let i = t[r];
		if (typeof i == "string") {
			let e = n(i);
			e !== i && (uP(t) || (t[r] = e), i = e);
		}
		e[i] = !0;
	}
	return e;
}
function KP(e) {
	for (let t = 0; t < e.length; t++) zP(e, t) || (e[t] = null);
	return e;
}
function qP(e) {
	let t = hP(null);
	for (let r of cP(e)) {
		var n = aP(r, 2);
		let i = n[0], a = n[1];
		zP(e, i) && (t[i] = TP(a) ? KP(a) : a && typeof a == "object" && a.constructor === Object ? qP(a) : a);
	}
	return t;
}
function JP(e) {
	switch (typeof e) {
		case "string": return e;
		case "number": return FP(e);
		case "boolean": return IP(e);
		case "bigint": return LP ? LP(e) : "0";
		case "symbol": return RP ? RP(e) : "Symbol()";
		case "undefined": return BP(e);
		case "function":
		case "object": {
			if (e === null) return BP(e);
			let t = e, n = YP(t, "toString");
			if (typeof n == "function") {
				let e = n(t);
				return typeof e == "string" ? e : BP(e);
			}
			return BP(e);
		}
		default: return BP(e);
	}
}
function YP(e, t) {
	for (; e !== null;) {
		let n = fP(e, t);
		if (n) {
			if (n.get) return UP(n.get);
			if (typeof n.value == "function") return UP(n.value);
		}
		e = dP(e);
	}
	function n() {
		return null;
	}
	return n;
}
function XP(e, t) {
	for (; e !== null;) {
		let n = fP(e, t);
		if (n) return n.get ? UP(n.get) : null;
		e = dP(e);
	}
	return null;
}
function ZP(e) {
	try {
		return VP(e, ""), !0;
	} catch {
		return !1;
	}
}
var QP = pP(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr".split(".")), $P = pP(/* @__PURE__ */ "svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern".split(".")), eF = pP([
	"feBlend",
	"feColorMatrix",
	"feComponentTransfer",
	"feComposite",
	"feConvolveMatrix",
	"feDiffuseLighting",
	"feDisplacementMap",
	"feDistantLight",
	"feDropShadow",
	"feFlood",
	"feFuncA",
	"feFuncB",
	"feFuncG",
	"feFuncR",
	"feGaussianBlur",
	"feImage",
	"feMerge",
	"feMergeNode",
	"feMorphology",
	"feOffset",
	"fePointLight",
	"feSpecularLighting",
	"feSpotLight",
	"feTile",
	"feTurbulence"
]), tF = pP([
	"animate",
	"color-profile",
	"cursor",
	"discard",
	"font-face",
	"font-face-format",
	"font-face-name",
	"font-face-src",
	"font-face-uri",
	"foreignobject",
	"hatch",
	"hatchpath",
	"mesh",
	"meshgradient",
	"meshpatch",
	"meshrow",
	"missing-glyph",
	"script",
	"set",
	"solidcolor",
	"unknown",
	"use"
]), nF = pP(/* @__PURE__ */ "math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts".split(".")), rF = pP([
	"maction",
	"maligngroup",
	"malignmark",
	"mlongdiv",
	"mscarries",
	"mscarry",
	"msgroup",
	"mstack",
	"msline",
	"msrow",
	"semantics",
	"annotation",
	"annotation-xml",
	"mprescripts",
	"none"
]), iF = pP(["#text"]), aF = pP(/* @__PURE__ */ "accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns".split(".")), oF = pP(/* @__PURE__ */ "accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dominant-baseline.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.pointer-events.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-orientation.text-rendering.textlength.type.u1.u2.unicode.values.vector-effect.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan".split(".")), sF = pP(/* @__PURE__ */ "accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns".split(".")), cF = pP([
	"xlink:href",
	"xml:id",
	"xlink:title",
	"xml:space",
	"xmlns:xlink"
]), lF = mP(/{{[\w\W]*|^[\w\W]*}}/g), uF = mP(/<%[\w\W]*|^[\w\W]*%>/g), dF = mP(/\${[\w\W]*/g), fF = mP(/^data-[\-\w.\u00B7-\uFFFF]+$/), pF = mP(/^aria-[\-\w]+$/), mF = mP(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), hF = mP(/^(?:\w+script|data):/i), gF = mP(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), _F = mP(/^html$/i), vF = mP(/^[a-z][.\w]*(-[.\w]+)+$/i), yF = mP(/<[/\w!]/g), bF = mP(/<[/\w]/g), xF = mP(/<\/no(script|embed|frames)/i), SF = mP(/\/>/i), CF = {
	element: 1,
	attribute: 2,
	text: 3,
	cdataSection: 4,
	entityReference: 5,
	entityNode: 6,
	processingInstruction: 7,
	comment: 8,
	document: 9,
	documentType: 10,
	documentFragment: 11,
	notation: 12
}, wF = pP(GP({}, [
	"style",
	"script",
	"xmp",
	"iframe",
	"noembed",
	"noframes",
	"plaintext",
	"noscript"
])), TF = function() {
	return typeof window > "u" ? null : window;
}, EF = function(e, t) {
	if (typeof e != "object" || typeof e.createPolicy != "function") return null;
	let n = null, r = "data-tt-policy-suffix";
	t && t.hasAttribute(r) && (n = t.getAttribute(r));
	let i = "dompurify" + (n ? "#" + n : "");
	try {
		return e.createPolicy(i, {
			createHTML(e) {
				return e;
			},
			createScriptURL(e) {
				return e;
			}
		});
	} catch {
		return console.warn("TrustedTypes policy " + i + " could not be created."), null;
	}
}, DF = function() {
	return {
		afterSanitizeAttributes: [],
		afterSanitizeElements: [],
		afterSanitizeShadowDOM: [],
		beforeSanitizeAttributes: [],
		beforeSanitizeElements: [],
		beforeSanitizeShadowDOM: [],
		uponSanitizeAttribute: [],
		uponSanitizeElement: [],
		uponSanitizeShadowNode: []
	};
}, OF = function(e, t, n, r) {
	return zP(e, t) && TP(e[t]) ? GP(r.base ? qP(r.base) : {}, e[t], r.transform) : n;
}, kF = function(e, t, n) {
	let r = zP(e, t) ? e[t] : void 0;
	return r && typeof r == "object" ? qP(r) : n();
};
function AF() {
	let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : TF(), t = (e) => AF(e);
	if (t.version = "3.4.17", t.removed = [], !e || !e.document || e.document.nodeType !== CF.document || !e.Element) return t.isSupported = !1, t;
	let n = e.document, r = n, i = r.currentScript;
	e.DocumentFragment;
	let a = e.HTMLTemplateElement, o = e.Node, s = e.Element, c = e.NodeFilter;
	e.NamedNodeMap === void 0 && (e.NamedNodeMap || e.MozNamedAttrMap), e.HTMLFormElement;
	let l = e.DOMParser, u = e.trustedTypes, d = s.prototype, f = YP(d, "cloneNode"), p = YP(d, "remove"), m = YP(d, "removeAttributeNode"), h = YP(d, "nextSibling"), g = YP(d, "childNodes"), _ = YP(d, "parentNode"), v = YP(d, "shadowRoot"), y = YP(d, "attributes"), b = o && o.prototype ? YP(o.prototype, "nodeType") : null, x = o && o.prototype ? YP(o.prototype, "nodeName") : null, S = o && o.prototype ? YP(o.prototype, "ownerDocument") : null, C = function(e) {
		return b ? b(e) : e.nodeType;
	}, w = function(e) {
		return x ? x(e) : e.nodeName;
	}, T = XP(d, "namespaceURI"), E = function(e) {
		return T ? T(e) : e.namespaceURI;
	};
	if (typeof a == "function") {
		let e = n.createElement("template");
		e.content && e.content.ownerDocument && (n = e.content.ownerDocument);
	}
	let D, O = "", k, A = !1, ee = 0, j = function() {
		if (ee > 0) throw HP("A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the \"DOMPurify and Trusted Types\" section of the README.");
	}, M = function(e) {
		j(), ee++;
		try {
			return D.createHTML(e);
		} finally {
			ee--;
		}
	}, N = function(e) {
		j(), ee++;
		try {
			return D.createScriptURL(e);
		} finally {
			ee--;
		}
	}, te = function() {
		return A ||= (k = EF(u, i), !0), k;
	}, P = n, ne = P.implementation, re = P.createNodeIterator, ie = P.createDocumentFragment, ae = P.getElementsByTagName, oe = r.importNode, se = DF();
	t.isSupported = typeof cP == "function" && typeof _ == "function" && ne && ne.createHTMLDocument !== void 0;
	let ce = lF, le = uF, ue = dF, de = fF, fe = pF, pe = hF, me = gF, he = vF, ge = mF, _e = null, ve = GP({}, [
		...QP,
		...$P,
		...eF,
		...nF,
		...iF
	]), ye = null, be = GP({}, [
		...aF,
		...oF,
		...sF,
		...cF
	]), xe = Object.seal(hP(null, {
		tagNameCheck: {
			writable: !0,
			configurable: !1,
			enumerable: !0,
			value: null
		},
		attributeNameCheck: {
			writable: !0,
			configurable: !1,
			enumerable: !0,
			value: null
		},
		allowCustomizedBuiltInElements: {
			writable: !0,
			configurable: !1,
			enumerable: !0,
			value: !1
		}
	})), Se = null, Ce = null, we = Object.seal(hP(null, {
		tagCheck: {
			writable: !0,
			configurable: !1,
			enumerable: !0,
			value: null
		},
		attributeCheck: {
			writable: !0,
			configurable: !1,
			enumerable: !0,
			value: null
		}
	})), Te = !0, Ee = !0, De = !1, Oe = !0, ke = !1, Ae = !0, je = !1, Me = !1, Ne = null, Pe = null, Fe = !1, Ie = !1, Le = !1, Re = !1, ze = !0, Be = !1, Ve = "user-content-", He = !0, Ue = !1, We = null, Ge = {}, Ke = null, qe = GP({}, /* @__PURE__ */ "annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp".split(".")), Je = null, Ye = GP({}, [
		"audio",
		"video",
		"img",
		"source",
		"image",
		"track"
	]), Xe = null, Ze = GP({}, [
		"alt",
		"class",
		"for",
		"id",
		"label",
		"name",
		"pattern",
		"placeholder",
		"role",
		"summary",
		"title",
		"value",
		"style",
		"xmlns"
	]), Qe = "http://www.w3.org/1998/Math/MathML", $e = "http://www.w3.org/2000/svg", et = "http://www.w3.org/1999/xhtml", tt = et, nt = !1, rt = null, it = GP({}, [
		Qe,
		$e,
		et
	], AP), at = pP([
		"mi",
		"mo",
		"mn",
		"ms",
		"mtext"
	]), ot = GP({}, at), st = pP(["annotation-xml"]), ct = GP({}, st), lt = GP({}, [
		"title",
		"style",
		"font",
		"a",
		"script"
	]), ut = null, dt = ["application/xhtml+xml", "text/html"], F = null, ft = null, pt = n.createElement("form"), mt = function(e) {
		return e instanceof RegExp || e instanceof Function;
	}, ht = function() {
		let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
		if (ft && ft === e) return;
		e && typeof e == "object" || (e = {}), e = qP(e), ut = dt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, F = ut === "application/xhtml+xml" ? AP : kP, _e = OF(e, "ALLOWED_TAGS", ve, { transform: F }), ye = OF(e, "ALLOWED_ATTR", be, { transform: F }), rt = OF(e, "ALLOWED_NAMESPACES", it, { transform: AP }), Xe = OF(e, "ADD_URI_SAFE_ATTR", Ze, {
			transform: F,
			base: Ze
		}), Je = OF(e, "ADD_DATA_URI_TAGS", Ye, {
			transform: F,
			base: Ye
		}), Ke = OF(e, "FORBID_CONTENTS", qe, { transform: F }), Se = OF(e, "FORBID_TAGS", qP({}), { transform: F }), Ce = OF(e, "FORBID_ATTR", qP({}), { transform: F }), Ge = zP(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? qP(e.USE_PROFILES) : e.USE_PROFILES : !1, Te = e.ALLOW_ARIA_ATTR !== !1, Ee = e.ALLOW_DATA_ATTR !== !1, De = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Oe = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ke = e.SAFE_FOR_TEMPLATES || !1, Ae = e.SAFE_FOR_XML !== !1, je = e.WHOLE_DOCUMENT || !1, Ie = e.RETURN_DOM || !1, Le = e.RETURN_DOM_FRAGMENT || !1, Re = e.RETURN_TRUSTED_TYPE || !1, Fe = e.FORCE_BODY || !1, ze = e.SANITIZE_DOM !== !1, Be = e.SANITIZE_NAMED_PROPS || !1, He = e.KEEP_CONTENT !== !1, Ue = e.IN_PLACE || !1, ge = ZP(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : mF, tt = typeof e.NAMESPACE == "string" ? e.NAMESPACE : et, ot = kF(e, "MATHML_TEXT_INTEGRATION_POINTS", () => GP({}, at)), ct = kF(e, "HTML_INTEGRATION_POINTS", () => GP({}, st));
		let t = kF(e, "CUSTOM_ELEMENT_HANDLING", () => hP(null));
		if (xe = hP(null), zP(t, "tagNameCheck") && mt(t.tagNameCheck) && (xe.tagNameCheck = t.tagNameCheck), zP(t, "attributeNameCheck") && mt(t.attributeNameCheck) && (xe.attributeNameCheck = t.attributeNameCheck), zP(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (xe.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), mP(xe), ke && (Ee = !1), Le && (Ie = !0), Ge && (_e = GP({}, iF), ye = hP(null), Ge.html === !0 && (GP(_e, QP), GP(ye, aF)), Ge.svg === !0 && (GP(_e, $P), GP(ye, oF), GP(ye, cF)), Ge.svgFilters === !0 && (GP(_e, eF), GP(ye, oF), GP(ye, cF)), Ge.mathMl === !0 && (GP(_e, nF), GP(ye, sF), GP(ye, cF))), we.tagCheck = null, we.attributeCheck = null, zP(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? we.tagCheck = e.ADD_TAGS : TP(e.ADD_TAGS) && (_e === ve && (_e = qP(_e)), GP(_e, e.ADD_TAGS, F))), zP(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? we.attributeCheck = e.ADD_ATTR : TP(e.ADD_ATTR) && (ye === be && (ye = qP(ye)), GP(ye, e.ADD_ATTR, F))), zP(e, "ADD_FORBID_CONTENTS") && TP(e.ADD_FORBID_CONTENTS) && (Ke === qe && (Ke = qP(Ke)), GP(Ke, e.ADD_FORBID_CONTENTS, F)), He && (_e["#text"] = !0), je && GP(_e, [
			"html",
			"head",
			"body"
		]), _e.table && (GP(_e, ["tbody"]), delete Se.tbody), e.TRUSTED_TYPES_POLICY) {
			if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw HP("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
			if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw HP("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
			let t = D;
			D = e.TRUSTED_TYPES_POLICY;
			try {
				O = M("");
			} catch (e) {
				throw D = t, e;
			}
		} else e.TRUSTED_TYPES_POLICY === null ? (D = void 0, O = "") : (D === void 0 && (D = te()), D && typeof O == "string" && (O = M("")));
		pP && pP(e), ft = e;
	}, gt = GP({}, [
		...$P,
		...eF,
		...tF
	]), _t = GP({}, [...nF, ...rF]), vt = function(e, t, n) {
		return t.namespaceURI === et ? e === "svg" : t.namespaceURI === Qe ? e === "svg" && (n === "annotation-xml" || ot[n]) : !!gt[e];
	}, yt = function(e, t, n) {
		return t.namespaceURI === et ? e === "math" : t.namespaceURI === $e ? e === "math" && ct[n] : !!_t[e];
	}, bt = function(e, t, n) {
		return t.namespaceURI === $e && !ct[n] || t.namespaceURI === Qe && !ot[n] ? !1 : !_t[e] && (lt[e] || !gt[e]);
	}, xt = function(e) {
		let t = E(e), n = kP(w(e)), r = _(e), i, a;
		return r && C(r) === CF.element ? (i = { namespaceURI: E(r) }, a = kP(w(r))) : (i = { namespaceURI: tt }, a = "template"), rt[t] ? t === $e ? vt(n, i, a) : t === Qe ? yt(n, i, a) : t === et ? bt(n, i, a) : !!(ut === "application/xhtml+xml" && rt[t]) : !1;
	}, St = function(e) {
		SP(t.removed, { element: e });
		try {
			_(e).removeChild(e);
		} catch {
			if (p(e), !_(e)) throw HP("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
		}
	}, Ct = function(e, t, n) {
		try {
			m(e, t);
		} catch {
			try {
				e.removeAttribute(n);
			} catch {}
		}
	}, wt = function(e) {
		Dt(e);
		let t = g(e);
		t && yP(CP(t), (e) => {
			try {
				p(e);
			} catch {}
		});
		let n = C(e) === CF.element ? y(e) : null;
		if (n) for (let t = n.length - 1; t >= 0; --t) {
			let r = n[t], i = r && r.name;
			typeof i == "string" && Ct(e, r, i);
		}
	}, Tt = function(e, n, r) {
		if (!r) try {
			r = n.getAttributeNode(e);
		} catch {
			r = null;
		}
		SP(t.removed, {
			attribute: r || null,
			from: n
		});
		try {
			r ? m(n, r) : n.removeAttribute(e);
		} catch {
			try {
				n.removeAttribute(e);
			} catch {}
		}
		if (e === "is") {
			if (Ie || Le) try {
				St(n);
			} catch {}
			else try {
				n.setAttribute(e, "");
			} catch {}
		}
	}, I = function(e) {
		let t = y(e);
		if (t) for (let n = t.length - 1; n >= 0; --n) {
			let r = t[n], i = r && r.name;
			typeof i != "string" || ye[F(i)] || Ct(e, r, i);
		}
	}, Et = function(e, t) {
		let n = arguments.length > 2 && arguments[2] !== void 0 && arguments[2], r = [e];
		for (; r.length > 0;) {
			let e = r.pop();
			if (t(e) === !1) continue;
			if (n && C(e) === CF.element) {
				let t = v(e);
				Ht(t) && r.push(t);
			}
			let i = g(e);
			if (i) for (let e = i.length - 1; e >= 0; --e) r.push(i[e]);
		}
	}, Dt = function(e) {
		Et(e, (e) => {
			C(e) === CF.element && I(e);
		});
	}, Ot = function(e) {
		let t = [];
		return Et(e, (e) => {
			t.push(e);
		}, !0), t;
	}, kt = function(e, t) {
		let n = EP();
		yP(Ot(e), (e) => {
			C(e) === CF.element && DP(n, e);
		}), yP(t, (e) => {
			C(e) === CF.element && !OP(n, e) && I(e);
		});
	}, At = function(e, n) {
		let r = !1;
		return yP(t.removed, (t) => {
			t.element && (r ||= t.element === e, Dt(t.element));
		}), kt(e, n), r;
	}, jt = function(e, t) {
		let n = We, r = null, i = () => (r || (r = EP(), yP(t, (e) => {
			DP(r, e);
		})), r);
		for (let t = 0;; t++) {
			let r = Ot(e), a = [e], o = !1;
			if (yP(r, (e) => {
				C(e) === CF.documentFragment ? SP(a, e) : !o && !OP(n, e) && (o = OP(i(), e));
			}), !o) return;
			if (t >= 8) throw HP("the tree kept changing during in-place sanitization; refusing to return it");
			yP(a, (t, n) => {
				Mt(t, n > 0, e, i());
			});
		}
	}, Mt = function(e, t, n, r) {
		let i = Lt(e), a;
		for (; a = i.nextNode();) OP(r, a) && !OP(We, a) && (t && Wt(se.uponSanitizeShadowNode, a, null), Xt(a, n), rn(a, n), Ht(a.content) && an(a.content));
	}, Nt = function(e) {
		We && DP(We, e);
	}, Pt = function(e, t) {
		return Ae ? e === "patchsrc" || e === "for" && t !== "label" && t !== "output" : !1;
	}, Ft = function(e) {
		Ae && Et(e, (e) => {
			let t = C(e);
			if (t === CF.processingInstruction || t === CF.comment && VP(bF, e.data)) {
				try {
					p(e);
				} catch {}
				return !1;
			}
			if (t === CF.element) {
				let t = e, n = F(w(e));
				try {
					t.hasAttribute && t.hasAttribute("patchsrc") && t.removeAttribute("patchsrc"), t.hasAttribute && t.hasAttribute("for") && Pt("for", n) && t.removeAttribute("for");
				} catch {}
			}
			return !0;
		});
	}, It = function(e) {
		let t = null, r = null;
		if (Fe) e = "<remove></remove>" + e;
		else {
			let t = jP(e, /^[\r\n\t ]+/);
			r = t && t[0];
		}
		ut === "application/xhtml+xml" && tt === et && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
		let i = D ? M(e) : e;
		if (tt === et) try {
			t = new l().parseFromString(i, ut);
		} catch {}
		if (!t || !t.documentElement) {
			t = ne.createDocument(tt, "template", null);
			try {
				t.documentElement.innerHTML = nt ? O : i;
			} catch {}
		}
		let a = t.body || t.documentElement;
		return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), tt === et ? ae.call(t, je ? "html" : "body")[0] : je ? t.documentElement : a;
	}, Lt = function(e) {
		let t = S ? S(e) : e.ownerDocument;
		return re.call(t || e, e, c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION, null);
	}, Rt = function(e) {
		return e = MP(e, ce, " "), e = MP(e, le, " "), e = MP(e, ue, " "), e;
	}, zt = function(e) {
		Bt(e);
		let t = e.querySelectorAll?.call(e, "template");
		t && yP(t, (e) => {
			Ht(e.content) && zt(e.content);
		});
	}, Bt = function(e) {
		e.normalize();
		let t = S ? S(e) : e.ownerDocument, n = re.call(t || e, e, c.SHOW_TEXT | c.SHOW_COMMENT | c.SHOW_CDATA_SECTION | c.SHOW_PROCESSING_INSTRUCTION, null), r = n.nextNode();
		for (; r;) r.data = Rt(r.data), r = n.nextNode();
	}, Vt = function(e) {
		let t = x ? x(e) : null;
		return typeof t != "string" || F(t) !== "form" ? !1 : typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || e.attributes !== y(e) || typeof e.removeAttribute != "function" || typeof e.removeAttributeNode != "function" || typeof e.getAttributeNode != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function" || e.nodeType !== b(e) || e.childNodes !== g(e);
	}, Ht = function(e) {
		if (!b || typeof e != "object" || !e) return !1;
		try {
			return b(e) === CF.documentFragment;
		} catch {
			return !1;
		}
	}, Ut = function(e) {
		if (!b || typeof e != "object" || !e) return !1;
		try {
			return typeof b(e) == "number";
		} catch {
			return !1;
		}
	};
	function Wt(e, n, r) {
		e.length !== 0 && yP(e, (e) => {
			e.call(t, n, r, ft);
		});
	}
	let Gt = function(e, t) {
		return !!(Ae && e.hasChildNodes() && !Ut(e.firstElementChild) && VP(yF, e.textContent) && VP(yF, e.innerHTML) || Ae && wF[t] && C(e) === CF.element && E(e) === et && (Ut(e.firstElementChild) || typeof e.textContent == "string" && VP(yF, e.textContent)) || e.nodeType === CF.processingInstruction || Ae && e.nodeType === CF.comment && VP(bF, e.data));
	}, Kt = function(e, t) {
		return e instanceof RegExp ? VP(e, t) : e instanceof Function && !!e(t, ...[...arguments].slice(2));
	}, qt = function(e, t, n) {
		if (!Se[t] && $t(t) && Kt(xe.tagNameCheck, t)) return !1;
		if (He && !Ke[t] && !Ke[kP(t)]) {
			let t = _(e), r = g(e);
			if (r && t) {
				let i = r.length;
				for (let a = i - 1; a >= 0; --a) {
					let i = e === n ? f(r[a], !0) : r[a];
					t.insertBefore(i, h(e));
				}
			}
		}
		return St(e), !0;
	}, Jt = function(e, t, n, r) {
		return e.length === 0 ? t : t === n || t === r ? qP(t) : t;
	}, Yt = function(e, t) {
		return e === t || _(e) !== null ? !1 : (Ue && Dt(e), !0);
	}, Xt = function(e, n) {
		if (Nt(e), Wt(se.beforeSanitizeElements, e, null), Yt(e, n)) return !0;
		if (Vt(e)) return St(e), !0;
		let r = F(w(e));
		if (_e = Jt(se.uponSanitizeElement, _e, ve, Ne), Wt(se.uponSanitizeElement, e, {
			tagName: r,
			allowedTags: _e
		}), Yt(e, n)) return !0;
		if (Gt(e, r)) return St(e), !0;
		if (Se[r] || !(we.tagCheck instanceof Function && we.tagCheck(r)) && !_e[r]) {
			let t = qt(e, r, n);
			return t === !1 && (Wt(se.afterSanitizeElements, e, null), Yt(e, n)) ? !0 : t;
		}
		if (C(e) === CF.element && !xt(e) || (r === "noscript" || r === "noembed" || r === "noframes") && VP(xF, e.innerHTML)) return St(e), !0;
		if (ke && e.nodeType === CF.text) {
			let n = Rt(e.textContent);
			e.textContent !== n && (SP(t.removed, { element: e.cloneNode() }), e.textContent = n);
		}
		return Wt(se.afterSanitizeElements, e, null), Yt(e, n);
	}, Zt = function(e, t, r) {
		if (Ce[t] || Pt(t, e) || ze && (t === "id" || t === "name") && (r in n || r in pt)) return !1;
		let i = ye[t] || we.attributeCheck instanceof Function && we.attributeCheck(t, e);
		return Ee && VP(de, t) || Te && VP(fe, t) ? !0 : i ? Xe[t] || VP(ge, MP(r, me, "")) || (t === "src" || t === "xlink:href" || t === "href") && e !== "script" && NP(r, "data:") === 0 && Je[e] || De && !VP(pe, MP(r, me, "")) ? !0 : !r : $t(e) && Kt(xe.tagNameCheck, e) && Kt(xe.attributeNameCheck, t, e) || t === "is" && xe.allowCustomizedBuiltInElements && Kt(xe.tagNameCheck, r);
	}, Qt = GP({}, [
		"annotation-xml",
		"color-profile",
		"font-face",
		"font-face-format",
		"font-face-name",
		"font-face-src",
		"font-face-uri",
		"missing-glyph"
	]), $t = function(e) {
		return !Qt[kP(e)] && VP(he, e);
	}, en = function(e, t, n, r) {
		if (D && typeof u == "object" && typeof u.getAttributeType == "function" && !n) switch (u.getAttributeType(e, t)) {
			case "TrustedHTML": return M(r);
			case "TrustedScriptURL": return N(r);
		}
		return r;
	}, tn = function(e, t, n, r) {
		try {
			return n ? e.setAttributeNS(n, t, r) : e.setAttribute(t, r), !Vt(e) || (St(e), !1);
		} catch {
			return Tt(t, e), !1;
		}
	}, nn = function(e, t) {
		return Ae && VP(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, t) ? !0 : kP(e) === "attributename" && jP(t, "href") !== null;
	}, rn = function(e, n) {
		if (Wt(se.beforeSanitizeAttributes, e, null), Yt(e, n)) return;
		let r = e.attributes;
		if (!r || Vt(e)) return;
		ye = Jt(se.uponSanitizeAttribute, ye, be, Pe);
		let i = {
			attrName: "",
			attrValue: "",
			keepAttr: !0,
			allowedAttributes: ye,
			forceKeepAttr: void 0
		}, a = r.length, o = F(e.nodeName);
		for (; a--;) {
			let n = r[a], s = n.name, c = n.namespaceURI, l = n.value, u = F(s), d = l, f = s === "value" ? d : PP(d), p = !1;
			i.attrName = u, i.attrValue = f, i.keepAttr = !0, i.forceKeepAttr = void 0, Wt(se.uponSanitizeAttribute, e, i), f = i.attrValue, Be && (u === "id" || u === "name") && NP(f, Ve) !== 0 && (Tt(s, e, n), f = Ve + f, p = !0), nn(s, f) ? Tt(s, e, n) : i.forceKeepAttr || (i.keepAttr ? !Oe && VP(SF, f) ? Tt(s, e, n) : (ke && (f = Rt(f)), Zt(o, u, f) ? (f = en(o, u, c, f), f !== d && tn(e, s, c, f) && p && xP(t.removed)) : Tt(s, e, n)) : Tt(s, e, n));
		}
		Wt(se.afterSanitizeAttributes, e, null), Yt(e, n);
	}, an = function(e) {
		let t = null, n = Lt(e);
		for (Wt(se.beforeSanitizeShadowDOM, e, null); t = n.nextNode();) if (Wt(se.uponSanitizeShadowNode, t, null), Xt(t, e), rn(t, e), Ht(t.content) && an(t.content), C(t) === CF.element) {
			let e = v(t);
			Ht(e) && (on(e), an(e));
		}
		ke && Bt(e), Wt(se.afterSanitizeShadowDOM, e, null);
	}, on = function(e) {
		let t = [{
			node: e,
			shadow: null
		}];
		for (; t.length > 0;) {
			let e = t.pop();
			if (e.shadow) {
				an(e.shadow);
				continue;
			}
			let n = e.node, r = C(n) === CF.element, i = g(n);
			if (i) for (let e = i.length - 1; e >= 0; --e) t.push({
				node: i[e],
				shadow: null
			});
			if (r) {
				let e = x ? x(n) : null;
				if (typeof e == "string" && F(e) === "template") {
					let e = n.content;
					Ht(e) && t.push({
						node: e,
						shadow: null
					});
				}
			}
			if (r) {
				let e = v(n);
				Ht(e) && t.push({
					node: null,
					shadow: e
				}, {
					node: e,
					shadow: null
				});
			}
		}
	};
	return t.sanitize = function(e) {
		let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, a = null, o = null, s = null;
		if (nt = !e, nt && (e = "<!-->"), typeof e != "string" && !Ut(e) && (e = JP(e), typeof e != "string")) throw HP("dirty is not a string, aborting");
		if (!t.isSupported) return e;
		Me ? (_e = Ne, ye = Pe) : ht(n), (se.uponSanitizeElement.length > 0 || se.uponSanitizeAttribute.length > 0) && (_e = qP(_e)), se.uponSanitizeAttribute.length > 0 && (ye = qP(ye)), t.removed = [];
		let c = Ue && typeof e != "string" && Ut(e), l = [], u = We;
		if (c) {
			Ft(e);
			let t = w(e);
			if (typeof t == "string") {
				let n = F(t);
				if (!_e[n] || Se[n]) throw wt(e), HP("root node is forbidden and cannot be sanitized in-place");
			}
			if (Vt(e)) throw wt(e), HP("root node is clobbered and cannot be sanitized in-place");
			l = Ot(e), We = EP();
		} else if (Ut(e)) i = It("<!---->"), a = i.ownerDocument.importNode(e, !0), a.nodeType === CF.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? i = a : i.appendChild(a), on(i);
		else {
			if (!Ie && !ke && !je && e.indexOf("<") === -1) return D && Re ? M(e) : e;
			if (i = It(e), !i) return Ie ? null : Re ? O : "";
		}
		i && Fe && St(i.firstChild);
		let d = c ? e : i;
		try {
			c && on(e);
			let t = Lt(d);
			for (; o = t.nextNode();) Xt(o, d), rn(o, d), Ht(o.content) && an(o.content);
			c && jt(e, l);
		} catch (t) {
			throw c && (wt(e), At(e, l)), t;
		} finally {
			We = u;
		}
		if (c) {
			if (At(e, l)) throw HP("a node selected for removal could not be safely returned; refusing to sanitize in place");
			return ke && zt(e), e;
		}
		if (Ie) {
			if (ke && zt(i), Le) for (s = ie.call(i.ownerDocument); i.firstChild;) s.appendChild(i.firstChild);
			else s = i;
			return (ye.shadowroot || ye.shadowrootmode) && (s = oe.call(r, s, !0)), s;
		}
		let f = je ? i.outerHTML : i.innerHTML;
		return je && _e["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && VP(_F, i.ownerDocument.doctype.name) && (f = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + f), ke && (f = Rt(f)), D && Re ? M(f) : f;
	}, t.setConfig = function() {
		let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
		ht(e), Me = !0, Ne = _e, Pe = ye;
	}, t.clearConfig = function() {
		ft = null, Me = !1, Ne = null, Pe = null, D = k, O = "";
	}, t.isValidAttribute = function(e, t, n) {
		ft || ht({});
		let r = F(e), i = F(t);
		return typeof n == "string" && (nn(t, n) || !Oe && VP(SF, n)) ? !1 : Zt(r, i, n);
	}, t.addHook = function(e, t) {
		typeof t == "function" && zP(se, e) && SP(se[e], t);
	}, t.removeHook = function(e, t) {
		if (zP(se, e)) {
			if (t !== void 0) {
				let n = bP(se[e], t);
				return n === -1 ? void 0 : wP(se[e], n, 1)[0];
			}
			return xP(se[e]);
		}
	}, t.removeHooks = function(e) {
		zP(se, e) && (se[e] = []);
	}, t.removeAllHooks = function() {
		se = DF();
	}, t;
}
var jF = AF(), MF = {
	"": ["<em>", "</em>"],
	_: ["<strong>", "</strong>"],
	"*": ["<strong>", "</strong>"],
	"~": ["<s>", "</s>"],
	"\n": ["<br />"],
	" ": ["<br />"],
	"-": ["<hr />"]
};
function NF(e) {
	return e.replace(RegExp("^" + (e.match(/^(\t| )+/) || "")[0], "gm"), "");
}
function PF(e) {
	return (e + "").replace(/"/g, "&quot;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
}
function FF(e, t) {
	var n, r, i, a, o, s = /((?:^|\n+)(?:\n---+|\* \*(?: \*)+)\n)|(?:^``` *(\w*)\n([\s\S]*?)\n```$)|((?:(?:^|\n+)(?:\t|  {2,}).+)+\n*)|((?:(?:^|\n)([>*+-]|\d+\.)\s+.*)+)|(?:!\[([^\]]*?)\]\(([^)]+?)\))|(\[)|(\](?:\(([^)]+?)\))?)|(?:(?:^|\n+)([^\s].*)\n(-{3,}|={3,})(?:\n+|$))|(?:(?:^|\n+)(#{1,6})\s*(.+)(?:\n+|$))|(?:`([^`].*?)`)|(  \n\n*|\n{2,}|__|\*\*|[_*]|~~)/gm, c = [], l = "", u = t || {}, d = 0;
	function f(e) {
		var t = MF[e[1] || ""], n = c[c.length - 1] == e;
		return t ? t[1] ? (n ? c.pop() : c.push(e), t[0 | n]) : t[0] : e;
	}
	function p() {
		for (var e = ""; c.length;) e += f(c[c.length - 1]);
		return e;
	}
	for (e = e.replace(/^\[(.+?)\]:\s*(.+)$/gm, function(e, t, n) {
		return u[t.toLowerCase()] = n, "";
	}).replace(/^\n+|\n+$/g, ""); i = s.exec(e);) r = e.substring(d, i.index), d = s.lastIndex, n = i[0], r.match(/[^\\](\\\\)*\\$/) || ((o = i[3] || i[4]) ? n = "<pre class=\"code " + (i[4] ? "poetry" : i[2].toLowerCase()) + "\"><code" + (i[2] ? " class=\"language-" + i[2].toLowerCase() + "\"" : "") + ">" + NF(PF(o).replace(/^\n+|\n+$/g, "")) + "</code></pre>" : (o = i[6]) ? (o.match(/\./) && (i[5] = i[5].replace(/^\d+/gm, "")), a = FF(NF(i[5].replace(/^\s*[>*+.-]/gm, ""))), o == ">" ? o = "blockquote" : (o = o.match(/\./) ? "ol" : "ul", a = a.replace(/^(.*)(\n|$)/gm, "<li>$1</li>")), n = "<" + o + ">" + a + "</" + o + ">") : i[8] ? n = "<img src=\"" + PF(i[8]) + "\" alt=\"" + PF(i[7]) + "\">" : i[10] ? (l = l.replace("<a>", "<a href=\"" + PF(i[11] || u[r.toLowerCase()]) + "\">"), n = p() + "</a>") : i[9] ? n = "<a>" : i[12] || i[14] ? n = "<" + (o = "h" + (i[14] ? i[14].length : i[13] > "=" ? 1 : 2)) + ">" + FF(i[12] || i[15], u) + "</" + o + ">" : i[16] ? n = "<code>" + PF(i[16]) + "</code>" : (i[17] || i[1]) && (n = f(i[17] || "--"))), l += r, l += n;
	return (l + e.substring(d) + p()).replace(/^\n+|\n+$/g, "");
}
// src/components/markdown.tsx
var IF = [
	"p",
	"a",
	"code",
	"pre",
	"strong",
	"em",
	"ul",
	"ol",
	"li",
	"blockquote",
	"br"
], LF = !1, RF = () => {
	LF || (LF = !0, jF.addHook("afterSanitizeAttributes", (e) => {
		e.tagName === "A" && (e.setAttribute("rel", "noopener noreferrer"), e.setAttribute("target", "_blank"));
	}));
}, zF = (e) => {
	let t = V(() => (RF(), jF.sanitize(FF(e.content), {
		ALLOWED_TAGS: IF,
		ALLOWED_ATTR: ["href", "title"]
	})), [e.content]);
	return /* @__PURE__ */ K("div", {
		"data-slot": "markdown",
		className: X("text-xs leading-relaxed text-muted-foreground [&_a]:text-primary [&_a]:underline [&_code]:rounded [&_code]:bg-black/20 [&_code]:px-1 [&_code]:py-0.5", e.className),
		dangerouslySetInnerHTML: { __html: t }
	});
}, BF = I_("inline-flex items-center justify-center rounded-full border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]  aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden", {
	variants: { variant: {
		default: "border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
		secondary: "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
		destructive: "border-transparent  text-white [a&]:hover:bg-destructive/90  focus-visible:ring-destructive/40 bg-destructive/60",
		outline: "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"
	} },
	defaultVariants: { variant: "default" }
});
function VF({ className: e, variant: t, asChild: n = !1, ...r }) {
	return /* @__PURE__ */ K(n ? G_ : "span", {
		"data-slot": "badge",
		className: X(BF({ variant: t }), e),
		...r
	});
}
// src/components/laboratory/docs.tsx
var HF = (e) => {
	let t = e;
	for (; t && "ofType" in t && t.ofType;) t = t.ofType;
	return t ?? null;
}, UF = (e) => /* @__PURE__ */ q("div", {
	className: "flex flex-col gap-1",
	children: [/* @__PURE__ */ K("div", {
		className: "px-2 pt-2 text-[11px] font-medium tracking-wide text-muted-foreground uppercase",
		children: e.title
	}), e.children]
}), WF = (e) => e.description ? /* @__PURE__ */ K(zF, {
	className: "px-2 py-1",
	content: e.description
}) : null, GF = (e) => /* @__PURE__ */ q("div", {
	className: "flex flex-col gap-1 px-2 py-1",
	children: [/* @__PURE__ */ K(VF, {
		variant: "outline",
		className: "w-fit text-muted-foreground",
		children: "Deprecated"
	}), e.reason ? /* @__PURE__ */ K(zF, { content: e.reason }) : null]
}), KF = (e) => /* @__PURE__ */ K(Q, {
	variant: "ghost",
	size: "sm",
	onClick: e.onClick,
	className: X("w-full justify-start px-2 text-xs font-normal", e.className),
	children: e.children
}), qF = (e) => /* @__PURE__ */ q(Q, {
	variant: "ghost",
	size: "sm",
	onClick: e.onClick,
	className: "h-auto w-full flex-col items-start gap-0.5 px-2 py-1.5 text-xs font-normal",
	children: [/* @__PURE__ */ q("div", {
		className: "flex w-full items-center gap-1",
		children: [
			/* @__PURE__ */ K("span", {
				className: "text-rose-400",
				children: e.name
			}),
			/* @__PURE__ */ K("span", {
				className: "text-muted-foreground",
				children: ":"
			}),
			/* @__PURE__ */ K($N, { type: e.type }),
			e.isDeprecated ? /* @__PURE__ */ K(VF, {
				variant: "outline",
				className: "ml-auto text-muted-foreground",
				children: "Deprecated"
			}) : null
		]
	}), e.description ? /* @__PURE__ */ K("span", {
		className: "line-clamp-2 text-left whitespace-normal text-muted-foreground",
		children: e.description
	}) : null]
}), JF = (e) => {
	let t = HF(e.type);
	return /* @__PURE__ */ K("button", {
		type: "button",
		className: "cursor-pointer",
		onClick: () => t && e.onNavigate(t.name),
		children: /* @__PURE__ */ K($N, { type: e.type })
	});
}, YF = (e) => /* @__PURE__ */ q("div", {
	className: "flex flex-col gap-0.5 px-2 py-1 text-xs",
	children: [
		/* @__PURE__ */ q("div", {
			className: "flex flex-wrap items-center gap-1",
			children: [
				/* @__PURE__ */ K("span", {
					className: "text-rose-400",
					children: e.arg.name
				}),
				/* @__PURE__ */ K("span", {
					className: "text-muted-foreground",
					children: ":"
				}),
				/* @__PURE__ */ K(JF, {
					type: e.arg.type,
					onNavigate: e.onNavigate
				}),
				e.arg.defaultValue === void 0 ? null : /* @__PURE__ */ q("span", {
					className: "text-muted-foreground",
					children: ["= ", JSON.stringify(e.arg.defaultValue)]
				})
			]
		}),
		/* @__PURE__ */ K(WF, { description: e.arg.description }),
		e.arg.deprecationReason ? /* @__PURE__ */ K(GF, { reason: e.arg.deprecationReason }) : null
	]
}), XF = (e) => /* @__PURE__ */ q("div", {
	className: "flex flex-col gap-0.5 px-2 py-1 text-xs",
	children: [
		/* @__PURE__ */ K("span", {
			className: "text-teal-400",
			children: e.value.name
		}),
		/* @__PURE__ */ K(WF, { description: e.value.description }),
		e.value.deprecationReason ? /* @__PURE__ */ K(GF, { reason: e.value.deprecationReason }) : null
	]
}), ZF = () => {
	let { schema: e, docsNavStack: t, pushDocs: n, popDocs: r, resetDocs: a } = $_(), [s, c] = U(""), l = yn(s), u = l.trim().length > 0, d = V(() => QN(e ?? null, l), [e, l]), p = (e) => n({
		kind: "type",
		name: e
	}), m = (e, t) => n({
		kind: "field",
		typeName: e,
		fieldName: t
	}), h = t.at(-1) ?? null, g = V(() => {
		if (!e || !h) return null;
		let t = e.getType(h.kind === "type" ? h.name : h.typeName);
		if (!t) return null;
		if (h.kind === "type") return {
			kind: "type",
			type: t
		};
		if (!C(t) && !i(t) && !re(t)) return null;
		let n = t.getFields()[h.fieldName];
		return n ? {
			kind: "field",
			type: t,
			field: n
		} : null;
	}, [e, h]), _ = V(() => g ? g.kind === "type" ? g.type.name : g.field.name : "Documentation", [g]);
	return /* @__PURE__ */ q("div", {
		className: "grid size-full grid-rows-[auto_auto_1fr] pb-0",
		children: [
			/* @__PURE__ */ q("div", {
				className: "flex h-12 items-center gap-2 border-b border-border p-3",
				children: [
					t.length > 0 && !u ? /* @__PURE__ */ K(Q, {
						variant: "ghost",
						size: "icon-sm",
						className: "size-6 rounded-sm p-1! text-muted-foreground hover:text-foreground",
						onClick: r,
						children: /* @__PURE__ */ K(Rn, { className: "size-4" })
					}) : null,
					/* @__PURE__ */ K("span", {
						className: "truncate text-base font-medium",
						children: _
					}),
					t.length > 0 && !u ? /* @__PURE__ */ K(Q, {
						variant: "ghost",
						size: "sm",
						className: "ml-auto h-6 px-2 text-xs text-muted-foreground hover:text-foreground",
						onClick: a,
						children: "Root"
					}) : null
				]
			}),
			/* @__PURE__ */ K("div", {
				className: "border-b border-border p-3",
				children: /* @__PURE__ */ q(VA, { children: [/* @__PURE__ */ K(KA, {
					placeholder: "Search the schema",
					value: s,
					onChange: (e) => c(e.currentTarget.value)
				}), /* @__PURE__ */ K(UA, { children: /* @__PURE__ */ K(wr, { className: "size-4 text-muted-foreground" }) })] })
			}),
			/* @__PURE__ */ K("div", {
				className: "size-full overflow-hidden",
				children: /* @__PURE__ */ q(VM, {
					className: "size-full",
					children: [/* @__PURE__ */ K("div", {
						className: "flex flex-col gap-1 p-3",
						children: e ? u ? d.types.length === 0 && d.fields.length === 0 && d.enumValues.length === 0 ? /* @__PURE__ */ K(tD, {
							className: "w-full px-0!",
							children: /* @__PURE__ */ q(nD, { children: [/* @__PURE__ */ K(aD, {
								className: "text-base",
								children: "No matches"
							}), /* @__PURE__ */ q(oD, {
								className: "text-xs",
								children: [
									"Nothing in this schema matches \"",
									l,
									"\"."
								]
							})] })
						}) : /* @__PURE__ */ q(Wr, { children: [
							d.types.length > 0 ? /* @__PURE__ */ K(UF, {
								title: "Types",
								children: d.types.map((e) => /* @__PURE__ */ K(KF, {
									onClick: () => p(e.name),
									children: /* @__PURE__ */ K("span", {
										className: "text-amber-400",
										children: e.name
									})
								}, e.name))
							}) : null,
							d.fields.length > 0 ? /* @__PURE__ */ K(UF, {
								title: "Fields",
								children: d.fields.map((e) => /* @__PURE__ */ q(KF, {
									onClick: () => m(e.typeName, e.fieldName),
									children: [/* @__PURE__ */ q("span", {
										className: "text-muted-foreground",
										children: [e.typeName, "."]
									}), /* @__PURE__ */ K("span", {
										className: "text-rose-400",
										children: e.fieldName
									})]
								}, `${e.typeName}.${e.fieldName}`))
							}) : null,
							d.enumValues.length > 0 ? /* @__PURE__ */ K(UF, {
								title: "Enum values",
								children: d.enumValues.map((e) => /* @__PURE__ */ q(KF, {
									onClick: () => p(e.typeName),
									children: [/* @__PURE__ */ q("span", {
										className: "text-muted-foreground",
										children: [e.typeName, "."]
									}), /* @__PURE__ */ K("span", {
										className: "text-teal-400",
										children: e.valueName
									})]
								}, `${e.typeName}.${e.valueName}`))
							}) : null
						] }) : g ? g.kind === "type" ? ((t) => {
							let n = [];
							if (C(t) || i(t) || re(t)) {
								let e = Object.values(t.getFields());
								e.length > 0 && n.push(/* @__PURE__ */ K(UF, {
									title: "Fields",
									children: e.map((e) => /* @__PURE__ */ K(qF, {
										name: e.name,
										type: e.type,
										description: e.description,
										isDeprecated: !!e.deprecationReason,
										onClick: () => m(t.name, e.name)
									}, e.name))
								}, "fields"));
							}
							if (C(t) || i(t)) {
								let e = t.getInterfaces();
								e.length > 0 && n.push(/* @__PURE__ */ K(UF, {
									title: "Implements",
									children: e.map((e) => /* @__PURE__ */ K(KF, {
										onClick: () => p(e.name),
										children: /* @__PURE__ */ K("span", {
											className: "text-amber-400",
											children: e.name
										})
									}, e.name))
								}, "implements"));
							}
							if (o(t) || i(t)) {
								let r = o(t) ? t.getTypes() : e?.getPossibleTypes(t) ?? [];
								r.length > 0 && n.push(/* @__PURE__ */ K(UF, {
									title: o(t) ? "Possible types" : "Implementations",
									children: r.map((e) => /* @__PURE__ */ K(KF, {
										onClick: () => p(e.name),
										children: /* @__PURE__ */ K("span", {
											className: "text-amber-400",
											children: e.name
										})
									}, e.name))
								}, "possible"));
							}
							return f(t) && n.push(/* @__PURE__ */ K(UF, {
								title: "Enum values",
								children: t.getValues().map((e) => /* @__PURE__ */ K(XF, { value: e }, e.name))
							}, "values")), /* @__PURE__ */ q(Wr, { children: [/* @__PURE__ */ K(WF, { description: t.description }), n] });
						})(g.type) : ((e, t) => {
							let n = "args" in t ? t.args : [];
							return /* @__PURE__ */ q(Wr, { children: [
								/* @__PURE__ */ q("div", {
									className: "px-2 pt-2 text-xs text-muted-foreground",
									children: ["on ", /* @__PURE__ */ K("span", {
										className: "text-amber-400",
										children: e.name
									})]
								}),
								/* @__PURE__ */ K(WF, { description: t.description }),
								t.deprecationReason ? /* @__PURE__ */ K(GF, { reason: t.deprecationReason }) : null,
								/* @__PURE__ */ K(UF, {
									title: "Type",
									children: /* @__PURE__ */ K("div", {
										className: "px-2 py-1 text-xs",
										children: /* @__PURE__ */ K(JF, {
											type: t.type,
											onNavigate: p
										})
									})
								}),
								n.length > 0 ? /* @__PURE__ */ K(UF, {
									title: "Arguments",
									children: n.map((e) => /* @__PURE__ */ K(YF, {
										arg: e,
										onNavigate: p
									}, e.name))
								}) : null
							] });
						})(g.type, g.field) : (() => {
							if (!e) return null;
							let t = [
								{
									label: "query",
									type: e.getQueryType()
								},
								{
									label: "mutation",
									type: e.getMutationType()
								},
								{
									label: "subscription",
									type: e.getSubscriptionType()
								}
							].filter((e) => e.type);
							return /* @__PURE__ */ K(UF, {
								title: "Root types",
								children: t.map((e) => /* @__PURE__ */ K(qF, {
									name: e.label,
									type: e.type,
									description: e.type.description,
									onClick: () => p(e.type.name)
								}, e.label))
							});
						})() : /* @__PURE__ */ K(tD, {
							className: "w-full px-0!",
							children: /* @__PURE__ */ q(nD, { children: [
								/* @__PURE__ */ K(iD, {
									variant: "icon",
									children: /* @__PURE__ */ K(jn, { className: "size-6 text-muted-foreground" })
								}),
								/* @__PURE__ */ K(aD, {
									className: "text-base",
									children: "No schema yet"
								}),
								/* @__PURE__ */ K(oD, {
									className: "text-xs",
									children: "Documentation appears once the Laboratory has introspected your endpoint."
								})
							] })
						})
					}), /* @__PURE__ */ K(HM, {})]
				})
			})
		]
	});
}, QF = "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace";
function $F(e) {
	return {
		...e,
		lineNumbers: "on",
		cursorStyle: "line",
		cursorBlinking: "smooth",
		padding: { top: 16 },
		fontFamily: QF,
		minimap: { enabled: !1 },
		automaticLayout: !0,
		stickyScroll: { enabled: !1 },
		tabSize: 2,
		formatOnPaste: !0,
		fixedOverflowWidgets: !0
	};
}
// ../../../node_modules/.pnpm/monaco-graphql@1.9.0_graphql@17.1.0_monaco-editor@0.52.2_prettier@3.4.2/node_modules/monaco-graphql/esm/api.js
var eI = class {
	_onDidChange = new rn();
	_formattingOptions;
	_modeConfiguration;
	_diagnosticSettings;
	_completionSettings;
	_experimentalFragmentArguments;
	_schemas = null;
	_schemasById = Object.create(null);
	_languageId;
	_externalFragmentDefinitions;
	constructor({ languageId: e, schemas: t, modeConfiguration: n, formattingOptions: r, diagnosticSettings: i, completionSettings: a, experimentalFragmentArguments: o }) {
		this._languageId = e, t && this.setSchemaConfig(t), this._modeConfiguration = n, this._completionSettings = a, this._diagnosticSettings = i, this._formattingOptions = r, this._experimentalFragmentArguments = o;
	}
	get onDidChange() {
		return this._onDidChange.event;
	}
	get languageId() {
		return this._languageId;
	}
	get modeConfiguration() {
		return this._modeConfiguration;
	}
	get schemas() {
		return this._schemas;
	}
	schemasById() {
		return this._schemasById;
	}
	get formattingOptions() {
		return this._formattingOptions;
	}
	get diagnosticSettings() {
		return this._diagnosticSettings;
	}
	get completionSettings() {
		return {
			...this._completionSettings,
			fillLeafsOnComplete: this._completionSettings.__experimental__fillLeafsOnComplete ?? this._completionSettings.fillLeafsOnComplete
		};
	}
	get experimentalFragmentArguments() {
		return this._experimentalFragmentArguments;
	}
	get externalFragmentDefinitions() {
		return this._externalFragmentDefinitions;
	}
	setSchemaConfig(e) {
		this._schemas = e, this._schemasById = e.reduce((e, t) => (e[t.uri] = t, e), Object.create(null)), this._onDidChange.fire(this);
	}
	setExternalFragmentDefinitions(e) {
		this._externalFragmentDefinitions = e;
	}
	setModeConfiguration(e) {
		this._modeConfiguration = e, this._onDidChange.fire(this);
	}
	setFormattingOptions(e) {
		this._formattingOptions = e, this._onDidChange.fire(this);
	}
	setDiagnosticSettings(e) {
		this._diagnosticSettings = e, this._onDidChange.fire(this);
	}
	setCompletionSettings(e) {
		this._completionSettings = e, this._onDidChange.fire(this);
	}
};
function tI(e, t) {
	if (!t) return new eI({
		languageId: e,
		schemas: [],
		formattingOptions: rI,
		modeConfiguration: nI,
		diagnosticSettings: iI,
		completionSettings: aI,
		experimentalFragmentArguments: !1
	});
	let { schemas: n, formattingOptions: r, modeConfiguration: i, diagnosticSettings: a, completionSettings: o, experimentalFragmentArguments: s } = t;
	return new eI({
		languageId: e,
		schemas: n,
		formattingOptions: {
			...rI,
			...r,
			prettierConfig: {
				...rI.prettierConfig,
				...r?.prettierConfig
			}
		},
		modeConfiguration: {
			...nI,
			...i
		},
		diagnosticSettings: {
			...iI,
			...a
		},
		completionSettings: {
			...aI,
			...o
		},
		experimentalFragmentArguments: s ?? !1
	});
}
var nI = {
	documentFormattingEdits: !0,
	documentRangeFormattingEdits: !1,
	completionItems: !0,
	hovers: !0,
	documentSymbols: !1,
	tokens: !1,
	colors: !1,
	foldingRanges: !1,
	diagnostics: !0,
	selectionRanges: !1
}, rI = { prettierConfig: { tabWidth: 2 } }, iI = { jsonDiagnosticSettings: { schemaValidation: "error" } }, aI = { __experimental__fillLeafsOnComplete: !1 }, oI = "graphql", sI;
function cI(e) {
	return sI || (sI = tI(oI, e), $t.graphql = { api: sI }, lI().then((e) => e.setupMode(sI))), sI;
}
function lI() {
	return import("./graphqlMode-D-3DjgJJ.js");
}
// src/lib/monaco-graphql.ts
var uI = null, dI = /* @__PURE__ */ new Map();
function fI(e) {
	e.operationUri && e.variablesUri && dI.set(e.operationUri, e.variablesUri);
	let t = [{
		introspectionJSON: e.introspection,
		uri: e.schemaUri
	}], n = {
		validateVariablesJSON: Object.fromEntries([...dI].map(([e, t]) => [e, [t]])),
		jsonDiagnosticSettings: { allowComments: !0 }
	}, r = !e.enableDocs;
	return uI ? (uI.setSchemaConfig(t), uI.setDiagnosticSettings(n), uI.setModeConfiguration({
		...uI.modeConfiguration,
		hovers: r
	}), uI) : (uI = cI({
		schemas: t,
		diagnosticSettings: n,
		modeConfiguration: { hovers: r }
	}), uI.setCompletionSettings({ __experimental__fillLeafsOnComplete: !0 }), uI);
}
// ../../../node_modules/.pnpm/@monaco-editor+loader@1.7.0/node_modules/@monaco-editor/loader/lib/es/_virtual/_rollupPluginBabelHelpers.js
function pI(e, t) {
	(t == null || t > e.length) && (t = e.length);
	for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
	return r;
}
function mI(e) {
	if (Array.isArray(e)) return e;
}
function hI(e, t, n) {
	return (t = wI(t)) in e ? Object.defineProperty(e, t, {
		value: n,
		enumerable: !0,
		configurable: !0,
		writable: !0
	}) : e[t] = n, e;
}
function gI(e, t) {
	var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
	if (n != null) {
		var r, i, a, o, s = [], c = !0, l = !1;
		try {
			if (a = (n = n.call(e)).next, t !== 0) for (; !(c = (r = a.call(n)).done) && (s.push(r.value), s.length !== t); c = !0);
		} catch (e) {
			l = !0, i = e;
		} finally {
			try {
				if (!c && n.return != null && (o = n.return(), Object(o) !== o)) return;
			} finally {
				if (l) throw i;
			}
		}
		return s;
	}
}
function _I() {
	throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
function vI(e, t) {
	var n = Object.keys(e);
	if (Object.getOwnPropertySymbols) {
		var r = Object.getOwnPropertySymbols(e);
		t && (r = r.filter(function(t) {
			return Object.getOwnPropertyDescriptor(e, t).enumerable;
		})), n.push.apply(n, r);
	}
	return n;
}
function yI(e) {
	for (var t = 1; t < arguments.length; t++) {
		var n = arguments[t] == null ? {} : arguments[t];
		t % 2 ? vI(Object(n), !0).forEach(function(t) {
			hI(e, t, n[t]);
		}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : vI(Object(n)).forEach(function(t) {
			Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
		});
	}
	return e;
}
function bI(e, t) {
	if (e == null) return {};
	var n, r, i = xI(e, t);
	if (Object.getOwnPropertySymbols) {
		var a = Object.getOwnPropertySymbols(e);
		for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
	}
	return i;
}
function xI(e, t) {
	if (e == null) return {};
	var n = {};
	for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
		if (t.indexOf(r) !== -1) continue;
		n[r] = e[r];
	}
	return n;
}
function SI(e, t) {
	return mI(e) || gI(e, t) || TI(e, t) || _I();
}
function CI(e, t) {
	if (typeof e != "object" || !e) return e;
	var n = e[Symbol.toPrimitive];
	if (n !== void 0) {
		var r = n.call(e, t);
		if (typeof r != "object") return r;
		throw TypeError("@@toPrimitive must return a primitive value.");
	}
	return (t === "string" ? String : Number)(e);
}
function wI(e) {
	var t = CI(e, "string");
	return typeof t == "symbol" ? t : t + "";
}
function TI(e, t) {
	if (e) {
		if (typeof e == "string") return pI(e, t);
		var n = {}.toString.call(e).slice(8, -1);
		return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? pI(e, t) : void 0;
	}
}
// ../../../node_modules/.pnpm/state-local@1.0.7/node_modules/state-local/lib/es/state-local.js
function EI(e, t, n) {
	return t in e ? Object.defineProperty(e, t, {
		value: n,
		enumerable: !0,
		configurable: !0,
		writable: !0
	}) : e[t] = n, e;
}
function DI(e, t) {
	var n = Object.keys(e);
	if (Object.getOwnPropertySymbols) {
		var r = Object.getOwnPropertySymbols(e);
		t && (r = r.filter(function(t) {
			return Object.getOwnPropertyDescriptor(e, t).enumerable;
		})), n.push.apply(n, r);
	}
	return n;
}
function OI(e) {
	for (var t = 1; t < arguments.length; t++) {
		var n = arguments[t] == null ? {} : arguments[t];
		t % 2 ? DI(Object(n), !0).forEach(function(t) {
			EI(e, t, n[t]);
		}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : DI(Object(n)).forEach(function(t) {
			Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
		});
	}
	return e;
}
function kI() {
	var e = [...arguments];
	return function(t) {
		return e.reduceRight(function(e, t) {
			return t(e);
		}, t);
	};
}
function AI(e) {
	return function t() {
		var n = this, r = [...arguments];
		return r.length >= e.length ? e.apply(this, r) : function() {
			var e = [...arguments];
			return t.apply(n, [].concat(r, e));
		};
	};
}
function jI(e) {
	return {}.toString.call(e).includes("Object");
}
function MI(e) {
	return !Object.keys(e).length;
}
function NI(e) {
	return typeof e == "function";
}
function PI(e, t) {
	return Object.prototype.hasOwnProperty.call(e, t);
}
function FI(e, t) {
	return jI(t) || BI("changeType"), Object.keys(t).some(function(t) {
		return !PI(e, t);
	}) && BI("changeField"), t;
}
function II(e) {
	NI(e) || BI("selectorType");
}
function LI(e) {
	NI(e) || jI(e) || BI("handlerType"), jI(e) && Object.values(e).some(function(e) {
		return !NI(e);
	}) && BI("handlersType");
}
function RI(e) {
	e || BI("initialIsRequired"), jI(e) || BI("initialType"), MI(e) && BI("initialContent");
}
function zI(e, t) {
	throw Error(e[t] || e.default);
}
var BI = AI(zI)({
	initialIsRequired: "initial state is required",
	initialType: "initial state should be an object",
	initialContent: "initial state shouldn't be an empty object",
	handlerType: "handler should be an object or a function",
	handlersType: "all handlers should be a functions",
	selectorType: "selector should be a function",
	changeType: "provided value of changes should be an object",
	changeField: "it seams you want to change a field in the state which is not specified in the \"initial\" state",
	default: "an unknown error accured in `state-local` package"
}), VI = {
	changes: FI,
	selector: II,
	handler: LI,
	initial: RI
};
function HI(e) {
	var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
	VI.initial(e), VI.handler(t);
	var n = { current: e }, r = AI(GI)(n, t), i = AI(WI)(n), a = AI(VI.changes)(e), o = AI(UI)(n);
	function s() {
		var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function(e) {
			return e;
		};
		return VI.selector(e), e(n.current);
	}
	function c(e) {
		kI(r, i, a, o)(e);
	}
	return [s, c];
}
function UI(e, t) {
	return NI(t) ? t(e.current) : t;
}
function WI(e, t) {
	return e.current = OI(OI({}, e.current), t), t;
}
function GI(e, t, n) {
	return NI(t) ? t(e.current) : Object.keys(n).forEach(function(n) {
		return t[n]?.call(t, e.current[n]);
	}), n;
}
var KI = { create: HI }, qI = { paths: { vs: "https://cdn.jsdelivr.net/npm/monaco-editor@0.55.1/min/vs" } };
// ../../../node_modules/.pnpm/@monaco-editor+loader@1.7.0/node_modules/@monaco-editor/loader/lib/es/utils/curry.js
function JI(e) {
	return function t() {
		var n = this, r = [...arguments];
		return r.length >= e.length ? e.apply(this, r) : function() {
			var e = [...arguments];
			return t.apply(n, [].concat(r, e));
		};
	};
}
// ../../../node_modules/.pnpm/@monaco-editor+loader@1.7.0/node_modules/@monaco-editor/loader/lib/es/utils/isObject.js
function YI(e) {
	return {}.toString.call(e).includes("Object");
}
// ../../../node_modules/.pnpm/@monaco-editor+loader@1.7.0/node_modules/@monaco-editor/loader/lib/es/validators/index.js
function XI(e) {
	return e || eL("configIsRequired"), YI(e) || eL("configType"), e.urls ? (ZI(), { paths: { vs: e.urls.monacoBase } }) : e;
}
function ZI() {
	console.warn($I.deprecation);
}
function QI(e, t) {
	throw Error(e[t] || e.default);
}
var $I = {
	configIsRequired: "the configuration object is required",
	configType: "the configuration object should be an object",
	default: "an unknown error accured in `@monaco-editor/loader` package",
	deprecation: "Deprecation warning!\n    You are using deprecated way of configuration.\n\n    Instead of using\n      monaco.config({ urls: { monacoBase: '...' } })\n    use\n      monaco.config({ paths: { vs: '...' } })\n\n    For more please check the link https://github.com/suren-atoyan/monaco-loader#config\n  "
}, eL = JI(QI)($I), tL = { config: XI }, nL = function() {
	var e = [...arguments];
	return function(t) {
		return e.reduceRight(function(e, t) {
			return t(e);
		}, t);
	};
};
// ../../../node_modules/.pnpm/@monaco-editor+loader@1.7.0/node_modules/@monaco-editor/loader/lib/es/utils/deepMerge.js
function rL(e, t) {
	return Object.keys(t).forEach(function(n) {
		t[n] instanceof Object && e[n] && Object.assign(t[n], rL(e[n], t[n]));
	}), yI(yI({}, e), t);
}
// ../../../node_modules/.pnpm/@monaco-editor+loader@1.7.0/node_modules/@monaco-editor/loader/lib/es/utils/makeCancelable.js
var iL = {
	type: "cancelation",
	msg: "operation is manually canceled"
};
function aL(e) {
	var t = !1, n = new Promise(function(n, r) {
		e.then(function(e) {
			return t ? r(iL) : n(e);
		}), e.catch(r);
	});
	return n.cancel = function() {
		return t = !0;
	}, n;
}
// ../../../node_modules/.pnpm/@monaco-editor+loader@1.7.0/node_modules/@monaco-editor/loader/lib/es/loader/index.js
var oL = ["monaco"], sL = SI(KI.create({
	config: qI,
	isInitialized: !1,
	resolve: null,
	reject: null,
	monaco: null
}), 2), cL = sL[0], lL = sL[1];
function uL(e) {
	var t = tL.config(e), n = t.monaco, r = bI(t, oL);
	lL(function(e) {
		return {
			config: rL(e.config, r),
			monaco: n
		};
	});
}
function dL() {
	var e = cL(function(e) {
		return {
			monaco: e.monaco,
			isInitialized: e.isInitialized,
			resolve: e.resolve
		};
	});
	if (!e.isInitialized) {
		if (lL({ isInitialized: !0 }), e.monaco) return e.resolve(e.monaco), aL(vL);
		if (window.monaco && window.monaco.editor) return gL(window.monaco), e.resolve(window.monaco), aL(vL);
		nL(fL, mL)(hL);
	}
	return aL(vL);
}
function fL(e) {
	return document.body.appendChild(e);
}
function pL(e) {
	var t = document.createElement("script");
	return e && (t.src = e), t;
}
function mL(e) {
	var t = cL(function(e) {
		return {
			config: e.config,
			reject: e.reject
		};
	}), n = pL(`${t.config.paths.vs}/loader.js`);
	return n.onload = function() {
		return e();
	}, n.onerror = t.reject, n;
}
function hL() {
	var e = cL(function(e) {
		return {
			config: e.config,
			resolve: e.resolve,
			reject: e.reject
		};
	}), t = window.require;
	t.config(e.config), t(["vs/editor/editor.main"], function(t) {
		var n = t.m || t;
		gL(n), e.resolve(n);
	}, function(t) {
		e.reject(t);
	});
}
function gL(e) {
	cL().monaco || lL({ monaco: e });
}
function _L() {
	return cL(function(e) {
		return e.monaco;
	});
}
var vL = new Promise(function(e, t) {
	return lL({
		resolve: e,
		reject: t
	});
}), yL = {
	config: uL,
	init: dL,
	__getMonacoInstance: _L
}, bL = {
	wrapper: {
		display: "flex",
		position: "relative",
		textAlign: "initial"
	},
	fullWidth: { width: "100%" },
	hide: { display: "none" }
}, xL = { container: {
	display: "flex",
	height: "100%",
	width: "100%",
	justifyContent: "center",
	alignItems: "center"
} };
function SL({ children: e }) {
	return R.createElement("div", { style: xL.container }, e);
}
var CL = SL;
function wL({ width: e, height: t, isEditorReady: n, loading: r, _ref: i, className: a, wrapperProps: o }) {
	return R.createElement("section", {
		style: {
			...bL.wrapper,
			width: e,
			height: t
		},
		...o
	}, !n && R.createElement(CL, null, r), R.createElement("div", {
		ref: i,
		style: {
			...bL.fullWidth,
			...!n && bL.hide
		},
		className: a
	}));
}
var TL = _n(wL);
function EL(e) {
	B(e, []);
}
var DL = EL;
function OL(e, t, n = !0) {
	let r = H(!0);
	B(r.current || !n ? () => {
		r.current = !1;
	} : e, t);
}
var kL = OL;
function AL() {}
function jL(e, t, n, r) {
	return ML(e, r) || NL(e, t, n, r);
}
function ML(e, t) {
	return e.editor.getModel(PL(e, t));
}
function NL(e, t, n, r) {
	return e.editor.createModel(t, n, r ? PL(e, r) : void 0);
}
function PL(e, t) {
	return e.Uri.parse(t);
}
function FL({ original: e, modified: t, language: n, originalLanguage: r, modifiedLanguage: i, originalModelPath: a, modifiedModelPath: o, keepCurrentOriginalModel: s = !1, keepCurrentModifiedModel: c = !1, theme: l = "light", loading: u = "Loading...", options: d = {}, height: f = "100%", width: p = "100%", className: m, wrapperProps: h = {}, beforeMount: g = AL, onMount: _ = AL }) {
	let [v, y] = U(!1), [b, x] = U(!0), S = H(null), C = H(null), w = H(null), T = H(_), E = H(g), D = H(!1);
	DL(() => {
		let e = yL.init();
		return e.then((e) => (C.current = e) && x(!1)).catch((e) => e?.type !== "cancelation" && console.error("Monaco initialization: error:", e)), () => S.current ? A() : e.cancel();
	}), kL(() => {
		if (S.current && C.current) {
			let t = S.current.getOriginalEditor(), i = jL(C.current, e || "", r || n || "text", a || "");
			i !== t.getModel() && t.setModel(i);
		}
	}, [a], v), kL(() => {
		if (S.current && C.current) {
			let e = S.current.getModifiedEditor(), r = jL(C.current, t || "", i || n || "text", o || "");
			r !== e.getModel() && e.setModel(r);
		}
	}, [o], v), kL(() => {
		let e = S.current.getModifiedEditor();
		e.getOption(C.current.editor.EditorOption.readOnly) ? e.setValue(t || "") : t !== e.getValue() && (e.executeEdits("", [{
			range: e.getModel().getFullModelRange(),
			text: t || "",
			forceMoveMarkers: !0
		}]), e.pushUndoStop());
	}, [t], v), kL(() => {
		S.current?.getModel()?.original.setValue(e || "");
	}, [e], v), kL(() => {
		let { original: e, modified: t } = S.current.getModel();
		C.current.editor.setModelLanguage(e, r || n || "text"), C.current.editor.setModelLanguage(t, i || n || "text");
	}, [
		n,
		r,
		i
	], v), kL(() => {
		C.current?.editor.setTheme(l);
	}, [l], v), kL(() => {
		S.current?.updateOptions(d);
	}, [d], v);
	let O = z(() => {
		if (!C.current) return;
		E.current(C.current);
		let s = jL(C.current, e || "", r || n || "text", a || ""), c = jL(C.current, t || "", i || n || "text", o || "");
		S.current?.setModel({
			original: s,
			modified: c
		});
	}, [
		n,
		t,
		i,
		e,
		r,
		a,
		o
	]), k = z(() => {
		!D.current && w.current && (S.current = C.current.editor.createDiffEditor(w.current, {
			automaticLayout: !0,
			...d
		}), O(), C.current?.editor.setTheme(l), y(!0), D.current = !0);
	}, [
		d,
		l,
		O
	]);
	B(() => {
		v && T.current(S.current, C.current);
	}, [v]), B(() => {
		!b && !v && k();
	}, [
		b,
		v,
		k
	]);
	function A() {
		let e = S.current?.getModel();
		s || e?.original?.dispose(), c || e?.modified?.dispose(), S.current?.dispose();
	}
	return R.createElement(TL, {
		width: p,
		height: f,
		isEditorReady: v,
		loading: u,
		_ref: w,
		className: m,
		wrapperProps: h
	});
}
_n(FL);
function IL(e) {
	let t = H();
	return B(() => {
		t.current = e;
	}, [e]), t.current;
}
var LL = IL, RL = /* @__PURE__ */ new Map();
function zL({ defaultValue: e, defaultLanguage: t, defaultPath: n, value: r, language: i, path: a, theme: o = "light", line: s, loading: c = "Loading...", options: l = {}, overrideServices: u = {}, saveViewState: d = !0, keepCurrentModel: f = !1, width: p = "100%", height: m = "100%", className: h, wrapperProps: g = {}, beforeMount: _ = AL, onMount: v = AL, onChange: y, onValidate: b = AL }) {
	let [x, S] = U(!1), [C, w] = U(!0), T = H(null), E = H(null), D = H(null), O = H(v), k = H(_), A = H(void 0), ee = H(r), j = LL(a), M = H(!1), N = H(!1);
	DL(() => {
		let e = yL.init();
		return e.then((e) => (T.current = e) && w(!1)).catch((e) => e?.type !== "cancelation" && console.error("Monaco initialization: error:", e)), () => E.current ? P() : e.cancel();
	}), kL(() => {
		let o = jL(T.current, e || r || "", t || i || "", a || n || "");
		o !== E.current?.getModel() && (d && RL.set(j, E.current?.saveViewState()), E.current?.setModel(o), d && E.current?.restoreViewState(RL.get(a)));
	}, [a], x), kL(() => {
		E.current?.updateOptions(l);
	}, [l], x), kL(() => {
		!E.current || r === void 0 || (E.current.getOption(T.current.editor.EditorOption.readOnly) ? E.current.setValue(r) : r !== E.current.getValue() && (N.current = !0, E.current.executeEdits("", [{
			range: E.current.getModel().getFullModelRange(),
			text: r,
			forceMoveMarkers: !0
		}]), E.current.pushUndoStop(), N.current = !1));
	}, [r], x), kL(() => {
		let e = E.current?.getModel();
		x && e && i && T.current?.editor.setModelLanguage(e, i);
	}, [i, x], x), kL(() => {
		s !== void 0 && E.current?.revealLine(s);
	}, [s], x), kL(() => {
		T.current?.editor.setTheme(o);
	}, [o], x);
	let te = z(() => {
		if (D.current && T.current && !M.current) {
			k.current(T.current);
			let c = a || n, f = jL(T.current, r || e || "", t || i || "", c || "");
			E.current = T.current?.editor.create(D.current, {
				model: f,
				automaticLayout: !0,
				...l
			}, u), d && E.current.restoreViewState(RL.get(c)), T.current.editor.setTheme(o), s !== void 0 && E.current.revealLine(s), S(!0), M.current = !0;
		}
	}, [
		e,
		t,
		n,
		r,
		i,
		a,
		l,
		u,
		d,
		o,
		s
	]);
	B(() => {
		x && O.current(E.current, T.current);
	}, [x]), B(() => {
		!C && !x && te();
	}, [
		C,
		x,
		te
	]), ee.current = r, B(() => {
		x && y && (A.current?.dispose(), A.current = E.current?.onDidChangeModelContent((e) => {
			N.current || y(E.current.getValue(), e);
		}));
	}, [x, y]), B(() => {
		if (x) {
			let e = T.current.editor.onDidChangeMarkers((e) => {
				let t = E.current.getModel()?.uri;
				if (t && e.find((e) => e.path === t.path)) {
					let e = T.current.editor.getModelMarkers({ resource: t });
					b?.(e);
				}
			});
			return () => {
				e?.dispose();
			};
		}
		return () => {};
	}, [x, b]);
	function P() {
		A.current?.dispose(), f ? d && RL.set(a, E.current.saveViewState()) : E.current.getModel()?.dispose(), E.current.dispose(), E.current = null, M.current = !1, S(!1);
	}
	return R.createElement(TL, {
		width: p,
		height: m,
		isEditorReady: x,
		loading: c,
		_ref: D,
		className: h,
		wrapperProps: g
	});
}
var BL = _n(zL);
typeof window < "u" && (window.monaco = ro), yL.config({ monaco: ro }), $t.register({ id: "dotenv" }), on.defineTheme("hive-laboratory-dark", {
	base: "vs-dark",
	inherit: !0,
	rules: [
		{
			token: "",
			foreground: "F8F9FA",
			background: "fffffe"
		},
		{
			token: "invalid",
			foreground: "cd3131"
		},
		{
			token: "emphasis",
			fontStyle: "italic"
		},
		{
			token: "strong",
			fontStyle: "bold"
		},
		{
			token: "variable",
			foreground: "001188"
		},
		{
			token: "variable.predefined",
			foreground: "4864AA"
		},
		{
			token: "constant",
			foreground: "dd0000"
		},
		{
			token: "comment",
			foreground: "15803d"
		},
		{
			token: "number",
			foreground: "fde68a"
		},
		{
			token: "number.hex",
			foreground: "3030c0"
		},
		{
			token: "regexp",
			foreground: "800000"
		},
		{
			token: "annotation",
			foreground: "808080"
		},
		{
			token: "type",
			foreground: "fde68a"
		},
		{
			token: "delimiter",
			foreground: "6E757C"
		},
		{
			token: "delimiter.html",
			foreground: "383838"
		},
		{
			token: "delimiter.xml",
			foreground: "facc15"
		},
		{
			token: "tag",
			foreground: "800000"
		},
		{
			token: "tag.id.jade",
			foreground: "4F76AC"
		},
		{
			token: "tag.class.jade",
			foreground: "4F76AC"
		},
		{
			token: "meta.scss",
			foreground: "800000"
		},
		{
			token: "metatag",
			foreground: "e00000"
		},
		{
			token: "metatag.content.html",
			foreground: "FF0000"
		},
		{
			token: "metatag.html",
			foreground: "808080"
		},
		{
			token: "metatag.xml",
			foreground: "808080"
		},
		{
			token: "metatag.php",
			fontStyle: "bold"
		},
		{
			token: "key",
			foreground: "93c5fd"
		},
		{
			token: "string.key.json",
			foreground: "93c5fd"
		},
		{
			token: "string.value.json",
			foreground: "fdba74"
		},
		{
			token: "attribute.name",
			foreground: "FF0000"
		},
		{
			token: "attribute.value",
			foreground: "34d399"
		},
		{
			token: "attribute.value.number",
			foreground: "fdba74"
		},
		{
			token: "attribute.value.unit",
			foreground: "fdba74"
		},
		{
			token: "attribute.value.html",
			foreground: "facc15"
		},
		{
			token: "attribute.value.xml",
			foreground: "facc15"
		},
		{
			token: "string",
			foreground: "2dd4bf"
		},
		{
			token: "string.html",
			foreground: "facc15"
		},
		{
			token: "string.sql",
			foreground: "FF0000"
		},
		{
			token: "string.yaml",
			foreground: "34d399"
		},
		{
			token: "keyword",
			foreground: "60a5fa"
		},
		{
			token: "keyword.json",
			foreground: "34d399"
		},
		{
			token: "keyword.flow",
			foreground: "AF00DB"
		},
		{
			token: "keyword.flow.scss",
			foreground: "facc15"
		},
		{
			token: "operator.scss",
			foreground: "666666"
		},
		{
			token: "operator.sql",
			foreground: "778899"
		},
		{
			token: "operator.swift",
			foreground: "666666"
		},
		{
			token: "predefined.sql",
			foreground: "FF00FF"
		}
	],
	colors: {
		"editor.foreground": "#f6f8fa",
		"editor.background": "#0f121400",
		"editor.selectionBackground": "#2A2F34",
		"editor.inactiveSelectionBackground": "#2A2F34",
		"editor.lineHighlightBackground": "#2A2F34",
		"editorCursor.foreground": "#ffffff",
		"editorWhitespace.foreground": "#6a737d",
		"editorIndentGuide.background": "#6E757C",
		"editorIndentGuide.activeBackground": "#CFD4D9",
		"editor.selectionHighlightBorder": "#2A2F34"
	}
}), on.defineTheme("hive-laboratory-light", {
	base: "vs",
	inherit: !0,
	rules: [],
	colors: {}
}), $t.setMonarchTokensProvider("dotenv", { tokenizer: {
	root: [[/^\s*#.*$/, "comment"], [
		/^\s*([A-Za-z_][A-Za-z0-9_]*)\s*=/,
		"key",
		"@value"
	]],
	value: [
		[
			/"([^"\\]|\\.)*$/,
			"string",
			"@pop"
		],
		[
			/"([^"\\]|\\.)*"/,
			"string",
			"@pop"
		],
		[
			/'([^'\\]|\\.)*$/,
			"string",
			"@pop"
		],
		[
			/'([^'\\]|\\.)*'/,
			"string",
			"@pop"
		],
		[
			/[^#\n]+/,
			"string",
			"@pop"
		]
	]
} });
var VL = hn((e, t) => {
	let n = bn(), r = H(null), { introspection: i, endpoint: a, theme: o, enableDocs: s } = $_(), c = e.language === "json" || e.defaultLanguage === "json", [l, u] = U(!!$t.typescript), [d, f] = U($t.getLanguages().some((e) => e.id === "json"));
	B(() => {
		i && fI({
			introspection: i,
			schemaUri: `schema_${a}.graphql`,
			operationUri: e.uri?.toString(),
			variablesUri: e.variablesUri?.toString(),
			enableDocs: s
		});
	}, [
		a,
		i,
		s,
		e.uri?.toString(),
		e.variablesUri?.toString()
	]), B(() => {
		(async function() {
			if (c && !d && (await import("./monaco.contribution-Bw1EXBxx.js").then((e) => e.t), f(!0)), $t.typescript || (await import("./monaco.contribution-DBdSHkPx.js").then((e) => e.t), u(!0)), !e.extraLibs?.length) return;
			let t = $t.typescript;
			if (!t) return;
			let r = Object.values(t.typescriptDefaults.getExtraLibs()).map((e) => e.content);
			if (e.extraLibs.every((e) => r.includes(e))) return;
			let i = n.replace(/[^a-zA-Z0-9_-]/g, "_");
			t.typescriptDefaults.setCompilerOptions({
				target: t.ScriptTarget.ESNext,
				module: t.ModuleKind.ESNext,
				allowNonTsExtensions: !0,
				allowJs: !0,
				lib: ["esnext", "webworker"]
			}), t.typescriptDefaults.setExtraLibs(e.extraLibs.map((e, t) => ({
				content: e,
				filePath: `file:///hive-lab-globals-${i}-${t}.d.ts`
			})));
		})();
	}, [
		n,
		d,
		e.extraLibs,
		c
	]), xn(t, () => ({ setValue: (e) => {
		r.current && r.current.setValue(e);
	} }), []);
	let p = z((t) => {
		let n = null, r = () => {
			n?.clear();
			try {
				let r = t.getValue(), i = Lt(r).definitions.find((e) => {
					if (e.kind !== "OperationDefinition" || !e.loc) return !1;
					let n = t.getPosition();
					if (n) return e.loc.startToken.line <= n.lineNumber && e.loc.endToken.line >= n.lineNumber;
				});
				if (i?.loc) {
					let r = [];
					i.loc.startToken.line > 1 && r.push({
						range: new Xt(0, 0, i.loc.startToken.line - 1, i.loc.startToken.column),
						options: {
							isWholeLine: !0,
							inlineClassName: "inactive-line"
						}
					});
					let a = t.getModel()?.getLineCount() ?? 0, o = t.getModel()?.getLineMaxColumn(a) ?? 0;
					i.loc.endToken.line < a && r.push({
						range: new Xt(i.loc.endToken.line + 1, i.loc.endToken.column, a, o),
						options: {
							isWholeLine: !0,
							inlineClassName: "inactive-line"
						}
					}), n = t.createDecorationsCollection(r), e.onOperationNameChange?.(i.name?.value ?? null);
				}
			} catch {}
		};
		t.onDidChangeCursorPosition(r), r();
	}, [e.onOperationNameChange]), m = z((e) => {
		r.current = e, p(e);
	}, [p]), h = H(null);
	return Cn(() => {
		h.current = r.current?.getPosition() ?? null;
	}, [e.value]), B(() => {
		r.current && h.current && (r.current.setPosition(h.current), h.current = null);
	}, [e.value]), !l && e.language === "typescript" || !d && c ? null : /* @__PURE__ */ K("div", {
		className: X("size-full overflow-hidden", e.className),
		children: /* @__PURE__ */ K(BL, {
			...e,
			className: "size-full",
			theme: o === "dark" ? "hive-laboratory-dark" : "hive-laboratory-light",
			onMount: m,
			loading: null,
			options: $F(e.options),
			defaultPath: e.uri?.toString()
		})
	});
}), HL = () => {
	let { env: e, setEnv: t } = $_();
	return /* @__PURE__ */ K("div", {
		className: "size-full bg-card",
		children: /* @__PURE__ */ K(VL, {
			defaultValue: Object.entries(e?.variables ?? {}).map(([e, t]) => `${e}=${t}`).join("\n"),
			onChange: (e) => {
				t({ variables: Object.fromEntries(e?.split("\n").filter((e) => e.trim() && !e.trim().startsWith("#")).map((e) => {
					let t = e.split(/=(.*)/s);
					return [t[0].trim(), (t[1] ?? "").trim()];
				}) ?? []) });
			},
			language: "dotenv",
			options: { scrollbar: { horizontal: "hidden" } }
		})
	});
}, UL = (e) => {
	let { activeTab: t, addTab: n, setActiveTab: r, deleteHistory: i } = $_(), a = V(() => t?.type === "history" && t.data.id === e.historyItem.id, [t, e.historyItem]), o = V(() => !e.historyItem.status || e.historyItem.status < 200 || e.historyItem.status >= 300 || "response" in e.historyItem && JSON.parse(e.historyItem.response).errors, [e.historyItem]);
	return /* @__PURE__ */ q(Q, {
		variant: "ghost",
		size: "sm",
		className: X("group sticky top-0 w-full justify-start bg-background px-2", { "bg-accent/50": a }),
		onClick: () => {
			r(n({
				type: "history",
				data: e.historyItem,
				readOnly: !0
			}));
		},
		children: [
			/* @__PURE__ */ K(ir, { className: X("size-4 text-indigo-400", {
				"text-green-500": !e.historyItem.status || e.historyItem.status >= 200 && e.historyItem.status < 300,
				"text-red-500": o
			}) }),
			/* @__PURE__ */ K("span", {
				className: "text-muted-foreground",
				children: Vr(new Date(e.historyItem.createdAt), "HH:mm")
			}),
			/* @__PURE__ */ K("div", {
				className: "truncate",
				children: e.historyItem.operation.name || "Untitled"
			}),
			/* @__PURE__ */ K("div", {
				className: "ml-auto flex items-center gap-2",
				children: /* @__PURE__ */ q(Oj, { children: [/* @__PURE__ */ q(RA, { children: [/* @__PURE__ */ K(zA, {
					asChild: !0,
					children: /* @__PURE__ */ K(kj, {
						asChild: !0,
						children: /* @__PURE__ */ K(Q, {
							variant: "link",
							className: "ml-auto p-1! pr-0! text-muted-foreground opacity-0 transition-opacity group-hover:opacity-100 hover:text-destructive",
							onClick: (e) => {
								e.stopPropagation();
							},
							children: /* @__PURE__ */ K(Mr, {})
						})
					})
				}), /* @__PURE__ */ K(BA, { children: "Delete history" })] }), /* @__PURE__ */ q(Mj, { children: [/* @__PURE__ */ q(Nj, { children: [/* @__PURE__ */ K(Fj, { children: "Are you sure you want to delete history?" }), /* @__PURE__ */ K(Ij, { children: "This history operation will be permanently deleted." })] }), /* @__PURE__ */ q(Pj, { children: [/* @__PURE__ */ K(Rj, { children: "Cancel" }), /* @__PURE__ */ K(Lj, {
					asChild: !0,
					children: /* @__PURE__ */ K(Q, {
						variant: "destructive",
						onClick: (t) => {
							t.stopPropagation(), i(e.historyItem.id);
						},
						children: "Delete"
					})
				})] })] })] })
			})
		]
	});
}, WL = (e) => {
	let { deleteHistoryByDay: t } = $_(), [n, r] = U(!1);
	return /* @__PURE__ */ q(Qj, {
		open: n,
		onOpenChange: r,
		children: [/* @__PURE__ */ K($j, {
			asChild: !0,
			children: /* @__PURE__ */ q(Q, {
				variant: "ghost",
				className: "group sticky top-0 w-full justify-start bg-background px-2",
				size: "sm",
				children: [
					K(n ? Qn : Xn, { className: "size-4 text-muted-foreground" }),
					e.group.date,
					/* @__PURE__ */ q(Oj, { children: [/* @__PURE__ */ q(RA, { children: [/* @__PURE__ */ K(zA, {
						asChild: !0,
						children: /* @__PURE__ */ K(kj, {
							asChild: !0,
							children: /* @__PURE__ */ K(Q, {
								variant: "link",
								className: "ml-auto p-1! pr-0! text-muted-foreground opacity-0 transition-opacity group-hover:opacity-100 hover:text-destructive",
								onClick: (e) => {
									e.stopPropagation();
								},
								children: /* @__PURE__ */ K(Mr, {})
							})
						})
					}), /* @__PURE__ */ K(BA, { children: "Delete history" })] }), /* @__PURE__ */ q(Mj, { children: [/* @__PURE__ */ q(Nj, { children: [/* @__PURE__ */ K(Fj, { children: "Are you sure you want to delete history?" }), /* @__PURE__ */ q(Ij, { children: [
						"All history for ",
						e.group.date,
						" will be permanently deleted."
					] })] }), /* @__PURE__ */ q(Pj, { children: [/* @__PURE__ */ K(Rj, { children: "Cancel" }), /* @__PURE__ */ K(Lj, {
						asChild: !0,
						children: /* @__PURE__ */ K(Q, {
							variant: "destructive",
							onClick: (n) => {
								n.stopPropagation(), t(e.group.date);
							},
							children: "Delete"
						})
					})] })] })] })
				]
			})
		}), /* @__PURE__ */ K(eM, {
			className: X("ml-4 flex flex-col gap-1 border-l border-border pl-2"),
			children: e.group.items.map((e) => /* @__PURE__ */ K(UL, { historyItem: e }, e.id))
		})]
	});
}, GL = () => {
	let { history: e, deleteAllHistory: t, tabs: n, setTabs: r, setActiveTab: i } = $_(), a = V(() => e.sort((e, t) => new Date(t.createdAt).getTime() - new Date(e.createdAt).getTime()), [e]), o = V(() => a.reduce((e, t) => {
		let n = Vr(new Date(t.createdAt), "dd MMM yyyy"), r = e.find((e) => e.date === n);
		return r || (r = {
			date: n,
			items: []
		}, e.push(r)), r.items.push(t), e;
	}, []), [a]), s = z(() => {
		t(), r(n.filter((e) => e.type !== "history"));
		let e = n.find((e) => e.type !== "history");
		e && i(e);
	}, [
		t,
		r,
		n,
		i
	]);
	return /* @__PURE__ */ q("div", {
		className: "grid size-full grid-rows-[auto_1fr] pb-0",
		children: [/* @__PURE__ */ q("div", {
			className: "flex h-12 items-center gap-2 border-b border-border p-3",
			children: [/* @__PURE__ */ K("span", {
				className: "text-base font-medium",
				children: "History"
			}), /* @__PURE__ */ K("div", {
				className: "ml-auto flex items-center",
				children: /* @__PURE__ */ q(Oj, { children: [/* @__PURE__ */ q(RA, { children: [/* @__PURE__ */ K(zA, {
					asChild: !0,
					children: /* @__PURE__ */ K(kj, {
						asChild: !0,
						children: /* @__PURE__ */ K(Q, {
							variant: "ghost",
							size: "icon-sm",
							className: "size-6 rounded-sm p-1! text-muted-foreground hover:text-destructive",
							disabled: e.length === 0,
							children: /* @__PURE__ */ K(Mr, { className: "size-4" })
						})
					})
				}), /* @__PURE__ */ K(BA, { children: "Delete all" })] }), /* @__PURE__ */ q(Mj, { children: [/* @__PURE__ */ q(Nj, { children: [/* @__PURE__ */ K(Fj, { children: "Are you sure you want to delete all history?" }), /* @__PURE__ */ K(Ij, { children: "All history will be permanently deleted." })] }), /* @__PURE__ */ q(Pj, { children: [/* @__PURE__ */ K(Rj, { children: "Cancel" }), /* @__PURE__ */ K(Lj, {
					asChild: !0,
					children: /* @__PURE__ */ K(Q, {
						variant: "destructive",
						onClick: (e) => {
							e.stopPropagation(), s();
						},
						children: "Delete"
					})
				})] })] })] })
			})]
		}), /* @__PURE__ */ K("div", {
			className: "size-full overflow-hidden",
			children: /* @__PURE__ */ q(VM, {
				className: "size-full",
				children: [/* @__PURE__ */ K("div", {
					className: "flex flex-col gap-1 p-3",
					children: o.length > 0 ? o.map((e) => /* @__PURE__ */ K(WL, { group: e }, e.date)) : /* @__PURE__ */ K(tD, {
						className: "w-full px-0!",
						children: /* @__PURE__ */ q(nD, { children: [
							/* @__PURE__ */ K(iD, {
								variant: "icon",
								children: /* @__PURE__ */ K(Un, { className: "size-6 text-muted-foreground" })
							}),
							/* @__PURE__ */ K(aD, {
								className: "text-base",
								children: "No history yet"
							}),
							/* @__PURE__ */ K(oD, {
								className: "text-xs",
								children: "You haven't run any operations yet. Get started by running your first operation."
							})
						] })
					})
				}), /* @__PURE__ */ K(HM, {})]
			})
		})]
	});
}, KL = (e) => `'${e.replaceAll("'", "'\\''")}'`, qL = (e, t) => {
	if (!e) return {};
	try {
		return JSON.parse(fs(e, t)) ?? {};
	} catch {
		return {};
	}
}, JL = (e, t) => {
	let n;
	try {
		n = Lt(e);
	} catch {
		return e;
	}
	let r = n.definitions.filter((e) => !(e.kind === "OperationDefinition" && t && e.name?.value !== t));
	return x({
		kind: be,
		definitions: r
	});
};
function YL(e) {
	let t = {
		...e.env,
		plugins: e.pluginsState ?? {}
	}, n = ds({
		"content-type": "application/json",
		...qL(e.headers, t)
	}, e.preflightHeaders ?? {}), r = { query: JL(e.query, e.operationName) };
	e.operationName && (r.operationName = e.operationName);
	let i = qL(e.variables, t);
	Object.keys(i).length > 0 && (r.variables = i);
	let a = qL(e.extensions, t);
	Object.keys(a).length > 0 && (r.extensions = a);
	let o = e.settings?.fetch?.useGETForQueries === !0, s = ["curl"], c = e.endpoint;
	if (o) {
		let t = new URLSearchParams({ query: r.query });
		e.operationName && t.set("operationName", e.operationName), r.variables && t.set("variables", JSON.stringify(r.variables)), r.extensions && t.set("extensions", JSON.stringify(r.extensions)), c = `${e.endpoint}?${t.toString()}`, delete n["content-type"];
	} else s.push("-X POST");
	s.push(KL(c)), e.settings?.fetch?.credentials === "include" && s.push("--cookie-jar /dev/null");
	for (let [e, t] of Object.entries(n)) s.push(`-H ${KL(`${e}: ${t}`)}`);
	return o || s.push(`-d ${KL(JSON.stringify(r))}`), s.join(" \\\n  ");
}
// src/lib/query-plan/schema.ts
var XL = G.union([
	G.object({ Field: G.string() }),
	G.object({ TypeCondition: G.array(G.string()) }),
	G.literal("@")
]), ZL = G.array(XL), QL = G.array(ZL), $L = G.union([G.object({ Key: G.string() }), G.object({ TypenameEquals: G.array(G.string()) })]), eR = G.object({
	path: G.array($L),
	setValueTo: G.string()
}), tR = G.object({
	path: G.array($L),
	renameKeyTo: G.string()
}), nR = G.union([eR, tR]), rR = G.object({
	kind: G.literal("Field"),
	name: G.string()
}), iR = G.object({
	kind: G.literal("InlineFragment"),
	typeCondition: G.string().nullish(),
	selections: G.array(rR).nullish()
}), aR = G.object({
	kind: G.literal("FragmentSpread"),
	name: G.string()
}), oR = G.union([
	iR,
	aR,
	rR
]), sR = G.array(oR), cR = G.lazy(() => G.discriminatedUnion("kind", [
	lR,
	fR,
	pR,
	mR,
	hR,
	gR,
	_R,
	xR
])), lR = G.object({
	kind: G.literal("Fetch"),
	serviceName: G.string(),
	operationKind: G.string().nullish(),
	operationName: G.string().nullish(),
	operation: G.string(),
	variableUsages: G.array(G.string()).nullish(),
	requires: sR.nullish(),
	inputRewrites: G.array(nR).nullish(),
	outputRewrites: G.array(nR).nullish()
}), uR = G.object({
	alias: G.string(),
	representationsVariableName: G.string(),
	paths: QL,
	requires: sR,
	inputRewrites: G.array(nR).nullish(),
	outputRewrites: G.array(nR).nullish()
}), dR = G.object({ aliases: G.array(uR) }), fR = G.object({
	kind: G.literal("BatchFetch"),
	serviceName: G.string(),
	operationKind: G.string().nullish(),
	operationName: G.string().nullish(),
	operation: G.string(),
	variableUsages: G.array(G.string()).nullish(),
	entityBatch: dR
}), pR = G.object({
	kind: G.literal("Sequence"),
	nodes: G.array(cR)
}), mR = G.object({
	kind: G.literal("Parallel"),
	nodes: G.array(cR)
}), hR = G.object({
	kind: G.literal("Flatten"),
	path: ZL,
	node: cR
}), gR = G.object({
	kind: G.literal("Condition"),
	condition: G.string(),
	ifClause: cR.nullish(),
	elseClause: cR.nullish()
}), _R = G.object({
	kind: G.literal("Subscription"),
	primary: cR
}), vR = G.object({
	id: G.string(),
	deferLabel: G.string().nullish()
}), yR = G.object({
	subselection: G.string().nullish(),
	node: cR.nullish()
}), bR = G.object({
	depends: G.array(vR),
	label: G.string().nullish(),
	queryPath: G.array(G.string()),
	subselection: G.string().nullish(),
	node: cR.nullish()
}), xR = G.object({
	kind: G.literal("Defer"),
	primary: yR,
	deferred: G.array(bR)
}), SR = G.object({
	kind: G.literal("QueryPlan"),
	node: cR.nullish()
});
// src/lib/query-plan/parse.ts
function CR(e) {
	if (!e) return null;
	let t;
	try {
		t = JSON.parse(e)?.extensions?.queryPlan;
	} catch {
		return null;
	}
	if (!t) return null;
	let n = SR.safeParse(t);
	return n.success ? n.data : null;
}
// ../../../node_modules/.pnpm/@radix-ui+react-use-previous@1.1.1_@types+react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-previous/dist/index.mjs
function wR(e) {
	let t = L.useRef({
		value: e,
		previous: e
	});
	return L.useMemo(() => (t.current.value !== e && (t.current.previous = t.current.value, t.current.value = e), t.current.previous), [e]);
}
// ../../../node_modules/.pnpm/@radix-ui+react-checkbox@1.3.3_@types+react-dom@18.3.5_@types+react@18.3.18__@types+rea_5507ae6713dbd813419a417a86abc2d1/node_modules/@radix-ui/react-checkbox/dist/index.mjs
var TR = "Checkbox", [ER, DR] = nv(TR), [OR, kR] = ER(TR);
function AR(e) {
	let { __scopeCheckbox: t, checked: n, children: r, defaultChecked: i, disabled: a, form: o, name: s, onCheckedChange: c, required: l, value: u = "on", internal_do_not_use_render: d } = e, [f, p] = lv({
		prop: n,
		defaultProp: i ?? !1,
		onChange: c,
		caller: TR
	}), [m, h] = L.useState(null), [g, _] = L.useState(null), v = L.useRef(!1), y = !m || !!o || !!m.closest("form"), b = {
		checked: f,
		disabled: a,
		setChecked: p,
		control: m,
		setControl: h,
		name: s,
		form: o,
		value: u,
		hasConsumerStoppedPropagationRef: v,
		required: l,
		defaultChecked: !zR(i) && i,
		isFormControl: y,
		bubbleInput: g,
		setBubbleInput: _
	};
	return /* @__PURE__ */ K(OR, {
		scope: t,
		...b,
		children: RR(d) ? d(b) : r
	});
}
var jR = "CheckboxTrigger", MR = L.forwardRef(({ __scopeCheckbox: e, onKeyDown: t, onClick: n, ...r }, i) => {
	let { control: a, value: o, disabled: s, checked: c, required: l, setControl: u, setChecked: d, hasConsumerStoppedPropagationRef: f, isFormControl: p, bubbleInput: m } = kR(jR, e), h = z_(i, u), g = L.useRef(c);
	return L.useEffect(() => {
		let e = a?.form;
		if (e) {
			let t = () => d(g.current);
			return e.addEventListener("reset", t), () => e.removeEventListener("reset", t);
		}
	}, [a, d]), /* @__PURE__ */ K(yv.button, {
		type: "button",
		role: "checkbox",
		"aria-checked": zR(c) ? "mixed" : c,
		"aria-required": l,
		"data-state": BR(c),
		"data-disabled": s ? "" : void 0,
		disabled: s,
		value: o,
		...r,
		ref: h,
		onKeyDown: $(t, (e) => {
			e.key === "Enter" && e.preventDefault();
		}),
		onClick: $(n, (e) => {
			d((e) => zR(e) ? !0 : !e), m && p && (f.current = e.isPropagationStopped(), f.current || e.stopPropagation());
		})
	});
});
MR.displayName = jR;
var NR = L.forwardRef((e, t) => {
	let { __scopeCheckbox: n, name: r, checked: i, defaultChecked: a, required: o, disabled: s, value: c, onCheckedChange: l, form: u, ...d } = e;
	return /* @__PURE__ */ K(AR, {
		__scopeCheckbox: n,
		checked: i,
		defaultChecked: a,
		disabled: s,
		required: o,
		onCheckedChange: l,
		name: r,
		form: u,
		value: c,
		internal_do_not_use_render: ({ isFormControl: e }) => /* @__PURE__ */ q(Wr, { children: [/* @__PURE__ */ K(MR, {
			...d,
			ref: t,
			__scopeCheckbox: n
		}), e && /* @__PURE__ */ K(LR, { __scopeCheckbox: n })] })
	});
});
NR.displayName = TR;
var PR = "CheckboxIndicator", FR = L.forwardRef((e, t) => {
	let { __scopeCheckbox: n, forceMount: r, ...i } = e, a = kR(PR, n);
	return /* @__PURE__ */ K(ty, {
		present: r || zR(a.checked) || a.checked === !0,
		children: /* @__PURE__ */ K(yv.span, {
			"data-state": BR(a.checked),
			"data-disabled": a.disabled ? "" : void 0,
			...i,
			ref: t,
			style: {
				pointerEvents: "none",
				...e.style
			}
		})
	});
});
FR.displayName = PR;
var IR = "CheckboxBubbleInput", LR = L.forwardRef(({ __scopeCheckbox: e, ...t }, n) => {
	let { control: r, hasConsumerStoppedPropagationRef: i, checked: a, defaultChecked: o, required: s, disabled: c, name: l, value: u, form: d, bubbleInput: f, setBubbleInput: p } = kR(IR, e), m = z_(n, p), h = wR(a), g = LC(r);
	L.useEffect(() => {
		let e = f;
		if (!e) return;
		let t = window.HTMLInputElement.prototype, n = Object.getOwnPropertyDescriptor(t, "checked").set, r = !i.current;
		if (h !== a && n) {
			let t = new Event("click", { bubbles: r });
			e.indeterminate = zR(a), n.call(e, !zR(a) && a), e.dispatchEvent(t);
		}
	}, [
		f,
		h,
		a,
		i
	]);
	let _ = L.useRef(!zR(a) && a);
	return /* @__PURE__ */ K(yv.input, {
		type: "checkbox",
		"aria-hidden": !0,
		defaultChecked: o ?? _.current,
		required: s,
		disabled: c,
		name: l,
		value: u,
		form: d,
		...t,
		tabIndex: -1,
		ref: m,
		style: {
			...t.style,
			...g,
			position: "absolute",
			pointerEvents: "none",
			opacity: 0,
			margin: 0,
			transform: "translateX(-100%)"
		}
	});
});
LR.displayName = IR;
function RR(e) {
	return typeof e == "function";
}
function zR(e) {
	return e === "indeterminate";
}
function BR(e) {
	return zR(e) ? "indeterminate" : e ? "checked" : "unchecked";
}
// ../../../node_modules/.pnpm/@radix-ui+react-context-menu@2.2.16_@types+react-dom@18.3.5_@types+react@18.3.18__@type_70956bc92d7b9e0947b5cd03a2c3867c/node_modules/@radix-ui/react-context-menu/dist/index.mjs
var VR = "ContextMenu", [HR, UR] = nv(VR, [Rw]), WR = Rw(), [GR, KR] = HR(VR), qR = (e) => {
	let { __scopeContextMenu: t, children: n, onOpenChange: r, dir: i, modal: a = !0 } = e, [o, s] = L.useState(!1), c = WR(t), l = xv(r), u = L.useCallback((e) => {
		s(e), l(e);
	}, [l]);
	return /* @__PURE__ */ K(GR, {
		scope: t,
		open: o,
		onOpenChange: u,
		modal: a,
		children: /* @__PURE__ */ K(GT, {
			...c,
			dir: i,
			open: o,
			onOpenChange: u,
			modal: a,
			children: n
		})
	});
};
qR.displayName = VR;
var JR = "ContextMenuTrigger", YR = L.forwardRef((e, t) => {
	let { __scopeContextMenu: n, disabled: r = !1, ...i } = e, a = KR(JR, n), o = WR(n), s = L.useRef({
		x: 0,
		y: 0
	}), c = L.useRef({ getBoundingClientRect: () => DOMRect.fromRect({
		width: 0,
		height: 0,
		...s.current
	}) }), l = L.useRef(0), u = L.useCallback(() => window.clearTimeout(l.current), []), d = (e) => {
		s.current = {
			x: e.clientX,
			y: e.clientY
		}, a.onOpenChange(!0);
	};
	return L.useEffect(() => u, [u]), L.useEffect(() => void (r && u()), [r, u]), /* @__PURE__ */ q(Wr, { children: [/* @__PURE__ */ K(KT, {
		...o,
		virtualRef: c
	}), /* @__PURE__ */ K(yv.span, {
		"data-state": a.open ? "open" : "closed",
		"data-disabled": r ? "" : void 0,
		...i,
		ref: t,
		style: {
			WebkitTouchCallout: "none",
			...e.style
		},
		onContextMenu: r ? e.onContextMenu : $(e.onContextMenu, (e) => {
			u(), d(e), e.preventDefault();
		}),
		onPointerDown: r ? e.onPointerDown : $(e.onPointerDown, Sz((e) => {
			u(), l.current = window.setTimeout(() => d(e), 700);
		})),
		onPointerMove: r ? e.onPointerMove : $(e.onPointerMove, Sz(u)),
		onPointerCancel: r ? e.onPointerCancel : $(e.onPointerCancel, Sz(u)),
		onPointerUp: r ? e.onPointerUp : $(e.onPointerUp, Sz(u))
	})] });
});
YR.displayName = JR;
var XR = "ContextMenuPortal", ZR = (e) => {
	let { __scopeContextMenu: t, ...n } = e, r = WR(t);
	return /* @__PURE__ */ K(qT, {
		...r,
		...n
	});
};
ZR.displayName = XR;
var QR = "ContextMenuContent", $R = L.forwardRef((e, t) => {
	let { __scopeContextMenu: n, ...r } = e, i = KR(QR, n), a = WR(n), o = L.useRef(!1);
	return /* @__PURE__ */ K(JT, {
		...a,
		...r,
		ref: t,
		side: "right",
		sideOffset: 2,
		align: "start",
		onCloseAutoFocus: (t) => {
			e.onCloseAutoFocus?.(t), !t.defaultPrevented && o.current && t.preventDefault(), o.current = !1;
		},
		onInteractOutside: (t) => {
			e.onInteractOutside?.(t), !t.defaultPrevented && !i.modal && (o.current = !0);
		},
		style: {
			...e.style,
			"--radix-context-menu-content-transform-origin": "var(--radix-popper-transform-origin)",
			"--radix-context-menu-content-available-width": "var(--radix-popper-available-width)",
			"--radix-context-menu-content-available-height": "var(--radix-popper-available-height)",
			"--radix-context-menu-trigger-width": "var(--radix-popper-anchor-width)",
			"--radix-context-menu-trigger-height": "var(--radix-popper-anchor-height)"
		}
	});
});
$R.displayName = QR;
var ez = "ContextMenuGroup", tz = L.forwardRef((e, t) => {
	let { __scopeContextMenu: n, ...r } = e, i = WR(n);
	return /* @__PURE__ */ K(YT, {
		...i,
		...r,
		ref: t
	});
});
tz.displayName = ez;
var nz = "ContextMenuLabel", rz = L.forwardRef((e, t) => {
	let { __scopeContextMenu: n, ...r } = e, i = WR(n);
	return /* @__PURE__ */ K(XT, {
		...i,
		...r,
		ref: t
	});
});
rz.displayName = nz;
var iz = "ContextMenuItem", az = L.forwardRef((e, t) => {
	let { __scopeContextMenu: n, ...r } = e, i = WR(n);
	return /* @__PURE__ */ K(ZT, {
		...i,
		...r,
		ref: t
	});
});
az.displayName = iz;
var oz = "ContextMenuCheckboxItem", sz = L.forwardRef((e, t) => {
	let { __scopeContextMenu: n, ...r } = e, i = WR(n);
	return /* @__PURE__ */ K(QT, {
		...i,
		...r,
		ref: t
	});
});
sz.displayName = oz;
var cz = "ContextMenuRadioGroup", lz = L.forwardRef((e, t) => {
	let { __scopeContextMenu: n, ...r } = e, i = WR(n);
	return /* @__PURE__ */ K($T, {
		...i,
		...r,
		ref: t
	});
});
lz.displayName = cz;
var uz = "ContextMenuRadioItem", dz = L.forwardRef((e, t) => {
	let { __scopeContextMenu: n, ...r } = e, i = WR(n);
	return /* @__PURE__ */ K(eE, {
		...i,
		...r,
		ref: t
	});
});
dz.displayName = uz;
var fz = "ContextMenuItemIndicator", pz = L.forwardRef((e, t) => {
	let { __scopeContextMenu: n, ...r } = e, i = WR(n);
	return /* @__PURE__ */ K(tE, {
		...i,
		...r,
		ref: t
	});
});
pz.displayName = fz;
var mz = "ContextMenuSeparator", hz = L.forwardRef((e, t) => {
	let { __scopeContextMenu: n, ...r } = e, i = WR(n);
	return /* @__PURE__ */ K(nE, {
		...i,
		...r,
		ref: t
	});
});
hz.displayName = mz;
var gz = "ContextMenuArrow", _z = L.forwardRef((e, t) => {
	let { __scopeContextMenu: n, ...r } = e, i = WR(n);
	return /* @__PURE__ */ K(rE, {
		...i,
		...r,
		ref: t
	});
});
_z.displayName = gz;
var vz = "ContextMenuSubTrigger", yz = L.forwardRef((e, t) => {
	let { __scopeContextMenu: n, ...r } = e, i = WR(n);
	return /* @__PURE__ */ K(iE, {
		...i,
		...r,
		ref: t
	});
});
yz.displayName = vz;
var bz = "ContextMenuSubContent", xz = L.forwardRef((e, t) => {
	let { __scopeContextMenu: n, ...r } = e, i = WR(n);
	return /* @__PURE__ */ K(aE, {
		...i,
		...r,
		ref: t,
		style: {
			...e.style,
			"--radix-context-menu-content-transform-origin": "var(--radix-popper-transform-origin)",
			"--radix-context-menu-content-available-width": "var(--radix-popper-available-width)",
			"--radix-context-menu-content-available-height": "var(--radix-popper-available-height)",
			"--radix-context-menu-trigger-width": "var(--radix-popper-anchor-width)",
			"--radix-context-menu-trigger-height": "var(--radix-popper-anchor-height)"
		}
	});
});
xz.displayName = bz;
function Sz(e) {
	return (t) => t.pointerType === "mouse" ? void 0 : e(t);
}
var Cz = qR, wz = YR, Tz = ZR, Ez = $R, Dz = az, Oz = [
	" ",
	"Enter",
	"ArrowUp",
	"ArrowDown"
], kz = [" ", "Enter"], Az = "Select", [jz, Mz, Nz] = bx(Az), [Pz, Fz] = nv(Az, [Nz, BC]), Iz = BC(), [Lz, Rz] = Pz(Az), [zz, Bz] = Pz(Az), Vz = (e) => {
	let { __scopeSelect: t, children: n, open: r, defaultOpen: i, onOpenChange: a, value: o, defaultValue: s, onValueChange: c, dir: l, name: u, autoComplete: d, disabled: f, required: p, form: m } = e, h = Iz(t), [g, _] = L.useState(null), [v, y] = L.useState(null), [b, x] = L.useState(!1), S = Sx(l), [C, w] = lv({
		prop: r,
		defaultProp: i ?? !1,
		onChange: a,
		caller: Az
	}), [T, E] = lv({
		prop: o,
		defaultProp: s,
		onChange: c,
		caller: Az
	}), D = L.useRef(null), O = !g || m || !!g.closest("form"), [k, A] = L.useState(/* @__PURE__ */ new Set()), ee = Array.from(k).map((e) => e.props.value).join(";");
	return /* @__PURE__ */ K(nw, {
		...h,
		children: /* @__PURE__ */ q(Lz, {
			required: p,
			scope: t,
			trigger: g,
			onTriggerChange: _,
			valueNode: v,
			onValueNodeChange: y,
			valueNodeHasChildren: b,
			onValueNodeHasChildrenChange: x,
			contentId: sv(),
			value: T,
			onValueChange: E,
			open: C,
			onOpenChange: w,
			dir: S,
			triggerPointerDownPosRef: D,
			disabled: f,
			children: [/* @__PURE__ */ K(jz.Provider, {
				scope: t,
				children: /* @__PURE__ */ K(zz, {
					scope: e.__scopeSelect,
					onNativeOptionAdd: L.useCallback((e) => {
						A((t) => new Set(t).add(e));
					}, []),
					onNativeOptionRemove: L.useCallback((e) => {
						A((t) => {
							let n = new Set(t);
							return n.delete(e), n;
						});
					}, []),
					children: n
				})
			}), O ? /* @__PURE__ */ q(IB, {
				"aria-hidden": !0,
				required: p,
				tabIndex: -1,
				name: u,
				autoComplete: d,
				value: T,
				onChange: (e) => E(e.target.value),
				disabled: f,
				form: m,
				children: [T === void 0 ? /* @__PURE__ */ K("option", { value: "" }) : null, Array.from(k)]
			}, ee) : null]
		})
	});
};
Vz.displayName = Az;
var Hz = "SelectTrigger", Uz = L.forwardRef((e, t) => {
	let { __scopeSelect: n, disabled: r = !1, ...i } = e, a = Iz(n), o = Rz(Hz, n), s = o.disabled || r, c = z_(t, o.onTriggerChange), l = Mz(n), u = L.useRef("touch"), [d, f, p] = RB((e) => {
		let t = l().filter((e) => !e.disabled), n = zB(t, e, t.find((e) => e.value === o.value));
		n !== void 0 && o.onValueChange(n.value);
	}), m = (e) => {
		s || (o.onOpenChange(!0), p()), e && (o.triggerPointerDownPosRef.current = {
			x: Math.round(e.pageX),
			y: Math.round(e.pageY)
		});
	};
	return /* @__PURE__ */ K(rw, {
		asChild: !0,
		...a,
		children: /* @__PURE__ */ K(yv.button, {
			type: "button",
			role: "combobox",
			"aria-controls": o.contentId,
			"aria-expanded": o.open,
			"aria-required": o.required,
			"aria-autocomplete": "none",
			dir: o.dir,
			"data-state": o.open ? "open" : "closed",
			disabled: s,
			"data-disabled": s ? "" : void 0,
			"data-placeholder": LB(o.value) ? "" : void 0,
			...i,
			ref: c,
			onClick: $(i.onClick, (e) => {
				e.currentTarget.focus(), u.current !== "mouse" && m(e);
			}),
			onPointerDown: $(i.onPointerDown, (e) => {
				u.current = e.pointerType;
				let t = e.target;
				t.hasPointerCapture(e.pointerId) && t.releasePointerCapture(e.pointerId), e.button === 0 && e.ctrlKey === !1 && e.pointerType === "mouse" && (m(e), e.preventDefault());
			}),
			onKeyDown: $(i.onKeyDown, (e) => {
				let t = d.current !== "";
				!(e.ctrlKey || e.altKey || e.metaKey) && e.key.length === 1 && f(e.key), t && e.key === " " || Oz.includes(e.key) && (m(), e.preventDefault());
			})
		})
	});
});
Uz.displayName = Hz;
var Wz = "SelectValue", Gz = L.forwardRef((e, t) => {
	let { __scopeSelect: n, className: r, style: i, children: a, placeholder: o = "", ...s } = e, c = Rz(Wz, n), { onValueNodeHasChildrenChange: l } = c, u = a !== void 0, d = z_(t, c.onValueNodeChange);
	return iv(() => {
		l(u);
	}, [l, u]), /* @__PURE__ */ K(yv.span, {
		...s,
		ref: d,
		style: { pointerEvents: "none" },
		children: LB(c.value) ? /* @__PURE__ */ K(Wr, { children: o }) : a
	});
});
Gz.displayName = Wz;
var Kz = "SelectIcon", qz = L.forwardRef((e, t) => {
	let { __scopeSelect: n, children: r, ...i } = e;
	return /* @__PURE__ */ K(yv.span, {
		"aria-hidden": !0,
		...i,
		ref: t,
		children: r || "▼"
	});
});
qz.displayName = Kz;
var Jz = "SelectPortal", Yz = (e) => /* @__PURE__ */ K($v, {
	asChild: !0,
	...e
});
Yz.displayName = Jz;
var Xz = "SelectContent", Zz = L.forwardRef((e, t) => {
	let n = Rz(Xz, e.__scopeSelect), [r, i] = L.useState();
	if (iv(() => {
		i(new DocumentFragment());
	}, []), !n.open) {
		let t = r;
		return t ? En.createPortal(/* @__PURE__ */ K($z, {
			scope: e.__scopeSelect,
			children: /* @__PURE__ */ K(jz.Slot, {
				scope: e.__scopeSelect,
				children: /* @__PURE__ */ K("div", { children: e.children })
			})
		}), t) : null;
	}
	return /* @__PURE__ */ K(rB, {
		...e,
		ref: t
	});
});
Zz.displayName = Xz;
var Qz = 10, [$z, eB] = Pz(Xz), tB = "SelectContentImpl", nB = /* @__PURE__ */ fv("SelectContent.RemoveScroll"), rB = L.forwardRef((e, t) => {
	let { __scopeSelect: n, position: r = "item-aligned", onCloseAutoFocus: i, onEscapeKeyDown: a, onPointerDownOutside: o, side: s, sideOffset: c, align: l, alignOffset: u, arrowPadding: d, collisionBoundary: f, collisionPadding: p, sticky: m, hideWhenDetached: h, avoidCollisions: g, ..._ } = e, v = Rz(Xz, n), [y, b] = L.useState(null), [x, S] = L.useState(null), C = z_(t, (e) => b(e)), [w, T] = L.useState(null), [E, D] = L.useState(null), O = Mz(n), [k, A] = L.useState(!1), ee = L.useRef(!1);
	L.useEffect(() => {
		if (y) return xb(y);
	}, [y]), oy();
	let j = L.useCallback((e) => {
		let [t, ...n] = O().map((e) => e.ref.current), [r] = n.slice(-1), i = document.activeElement;
		for (let n of e) if (n === i || (n?.scrollIntoView({ block: "nearest" }), n === t && x && (x.scrollTop = 0), n === r && x && (x.scrollTop = x.scrollHeight), n?.focus(), document.activeElement !== i)) return;
	}, [O, x]), M = L.useCallback(() => j([w, y]), [
		j,
		w,
		y
	]);
	L.useEffect(() => {
		k && M();
	}, [k, M]);
	let { onOpenChange: N, triggerPointerDownPosRef: te } = v;
	L.useEffect(() => {
		if (y) {
			let e = {
				x: 0,
				y: 0
			}, t = (t) => {
				e = {
					x: Math.abs(Math.round(t.pageX) - (te.current?.x ?? 0)),
					y: Math.abs(Math.round(t.pageY) - (te.current?.y ?? 0))
				};
			}, n = (n) => {
				e.x <= 10 && e.y <= 10 ? n.preventDefault() : y.contains(n.target) || N(!1), document.removeEventListener("pointermove", t), te.current = null;
			};
			return te.current !== null && (document.addEventListener("pointermove", t), document.addEventListener("pointerup", n, {
				capture: !0,
				once: !0
			})), () => {
				document.removeEventListener("pointermove", t), document.removeEventListener("pointerup", n, { capture: !0 });
			};
		}
	}, [
		y,
		N,
		te
	]), L.useEffect(() => {
		let e = () => N(!1);
		return window.addEventListener("blur", e), window.addEventListener("resize", e), () => {
			window.removeEventListener("blur", e), window.removeEventListener("resize", e);
		};
	}, [N]);
	let [P, ne] = RB((e) => {
		let t = O().filter((e) => !e.disabled), n = zB(t, e, t.find((e) => e.ref.current === document.activeElement));
		n && setTimeout(() => n.ref.current.focus());
	}), re = L.useCallback((e, t, n) => {
		let r = !ee.current && !n;
		(v.value !== void 0 && v.value === t || r) && (T(e), r && (ee.current = !0));
	}, [v.value]), ie = L.useCallback(() => y?.focus(), [y]), ae = L.useCallback((e, t, n) => {
		let r = !ee.current && !n;
		(v.value !== void 0 && v.value === t || r) && D(e);
	}, [v.value]), oe = r === "popper" ? sB : aB, se = oe === sB ? {
		side: s,
		sideOffset: c,
		align: l,
		alignOffset: u,
		arrowPadding: d,
		collisionBoundary: f,
		collisionPadding: p,
		sticky: m,
		hideWhenDetached: h,
		avoidCollisions: g
	} : {};
	return /* @__PURE__ */ K($z, {
		scope: n,
		content: y,
		viewport: x,
		onViewportChange: S,
		itemRefCallback: re,
		selectedItem: w,
		onItemLeave: ie,
		itemTextRefCallback: ae,
		focusSelectedItem: M,
		selectedItemText: E,
		position: r,
		isPositioned: k,
		searchRef: P,
		children: /* @__PURE__ */ K(fb, {
			as: nB,
			allowPinchZoom: !0,
			children: /* @__PURE__ */ K(Bv, {
				asChild: !0,
				trapped: v.open,
				onMountAutoFocus: (e) => {
					e.preventDefault();
				},
				onUnmountAutoFocus: $(i, (e) => {
					v.trigger?.focus({ preventScroll: !0 }), e.preventDefault();
				}),
				children: /* @__PURE__ */ K(kv, {
					asChild: !0,
					disableOutsidePointerEvents: !0,
					onEscapeKeyDown: a,
					onPointerDownOutside: o,
					onFocusOutside: (e) => e.preventDefault(),
					onDismiss: () => v.onOpenChange(!1),
					children: /* @__PURE__ */ K(oe, {
						role: "listbox",
						id: v.contentId,
						"data-state": v.open ? "open" : "closed",
						dir: v.dir,
						onContextMenu: (e) => e.preventDefault(),
						..._,
						...se,
						onPlaced: () => A(!0),
						ref: C,
						style: {
							display: "flex",
							flexDirection: "column",
							outline: "none",
							..._.style
						},
						onKeyDown: $(_.onKeyDown, (e) => {
							let t = e.ctrlKey || e.altKey || e.metaKey;
							if (e.key === "Tab" && e.preventDefault(), !t && e.key.length === 1 && ne(e.key), [
								"ArrowUp",
								"ArrowDown",
								"Home",
								"End"
							].includes(e.key)) {
								let t = O().filter((e) => !e.disabled).map((e) => e.ref.current);
								if (["ArrowUp", "End"].includes(e.key) && (t = t.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(e.key)) {
									let n = e.target, r = t.indexOf(n);
									t = t.slice(r + 1);
								}
								setTimeout(() => j(t)), e.preventDefault();
							}
						})
					})
				})
			})
		})
	});
});
rB.displayName = tB;
var iB = "SelectItemAlignedPosition", aB = L.forwardRef((e, t) => {
	let { __scopeSelect: n, onPlaced: r, ...i } = e, a = Rz(Xz, n), o = eB(Xz, n), [s, c] = L.useState(null), [l, u] = L.useState(null), d = z_(t, (e) => u(e)), f = Mz(n), p = L.useRef(!1), m = L.useRef(!0), { viewport: h, selectedItem: g, selectedItemText: _, focusSelectedItem: v } = o, y = L.useCallback(() => {
		if (a.trigger && a.valueNode && s && l && h && g && _) {
			let e = a.trigger.getBoundingClientRect(), t = l.getBoundingClientRect(), n = a.valueNode.getBoundingClientRect(), i = _.getBoundingClientRect();
			if (a.dir !== "rtl") {
				let r = i.left - t.left, a = n.left - r, o = e.left - a, c = e.width + o, l = Math.max(c, t.width), u = window.innerWidth - Qz, d = tM(a, [Qz, Math.max(Qz, u - l)]);
				s.style.minWidth = c + "px", s.style.left = d + "px";
			} else {
				let r = t.right - i.right, a = window.innerWidth - n.right - r, o = window.innerWidth - e.right - a, c = e.width + o, l = Math.max(c, t.width), u = window.innerWidth - Qz, d = tM(a, [Qz, Math.max(Qz, u - l)]);
				s.style.minWidth = c + "px", s.style.right = d + "px";
			}
			let o = f(), c = window.innerHeight - Qz * 2, u = h.scrollHeight, d = window.getComputedStyle(l), m = parseInt(d.borderTopWidth, 10), v = parseInt(d.paddingTop, 10), y = parseInt(d.borderBottomWidth, 10), b = parseInt(d.paddingBottom, 10), x = m + v + u + b + y, S = Math.min(g.offsetHeight * 5, x), C = window.getComputedStyle(h), w = parseInt(C.paddingTop, 10), T = parseInt(C.paddingBottom, 10), E = e.top + e.height / 2 - Qz, D = c - E, O = g.offsetHeight / 2, k = g.offsetTop + O, A = m + v + k, ee = x - A;
			if (A <= E) {
				let e = o.length > 0 && g === o[o.length - 1].ref.current;
				s.style.bottom = "0px";
				let t = l.clientHeight - h.offsetTop - h.offsetHeight, n = A + Math.max(D, O + (e ? T : 0) + t + y);
				s.style.height = n + "px";
			} else {
				let e = o.length > 0 && g === o[0].ref.current;
				s.style.top = "0px";
				let t = Math.max(E, m + h.offsetTop + (e ? w : 0) + O) + ee;
				s.style.height = t + "px", h.scrollTop = A - E + h.offsetTop;
			}
			s.style.margin = `${Qz}px 0`, s.style.minHeight = S + "px", s.style.maxHeight = c + "px", r?.(), requestAnimationFrame(() => p.current = !0);
		}
	}, [
		f,
		a.trigger,
		a.valueNode,
		s,
		l,
		h,
		g,
		_,
		a.dir,
		r
	]);
	iv(() => y(), [y]);
	let [b, x] = L.useState();
	iv(() => {
		l && x(window.getComputedStyle(l).zIndex);
	}, [l]);
	let S = L.useCallback((e) => {
		e && m.current === !0 && (y(), v?.(), m.current = !1);
	}, [y, v]);
	return /* @__PURE__ */ K(cB, {
		scope: n,
		contentWrapper: s,
		shouldExpandOnScrollRef: p,
		onScrollButtonChange: S,
		children: /* @__PURE__ */ K("div", {
			ref: c,
			style: {
				display: "flex",
				flexDirection: "column",
				position: "fixed",
				zIndex: b
			},
			children: /* @__PURE__ */ K(yv.div, {
				...i,
				ref: d,
				style: {
					boxSizing: "border-box",
					maxHeight: "100%",
					...i.style
				}
			})
		})
	});
});
aB.displayName = iB;
var oB = "SelectPopperPosition", sB = L.forwardRef((e, t) => {
	let { __scopeSelect: n, align: r = "start", collisionPadding: i = Qz, ...a } = e, o = Iz(n);
	return /* @__PURE__ */ K(iw, {
		...o,
		...a,
		ref: t,
		align: r,
		collisionPadding: i,
		style: {
			boxSizing: "border-box",
			...a.style,
			"--radix-select-content-transform-origin": "var(--radix-popper-transform-origin)",
			"--radix-select-content-available-width": "var(--radix-popper-available-width)",
			"--radix-select-content-available-height": "var(--radix-popper-available-height)",
			"--radix-select-trigger-width": "var(--radix-popper-anchor-width)",
			"--radix-select-trigger-height": "var(--radix-popper-anchor-height)"
		}
	});
});
sB.displayName = oB;
var [cB, lB] = Pz(Xz, {}), uB = "SelectViewport", dB = L.forwardRef((e, t) => {
	let { __scopeSelect: n, nonce: r, ...i } = e, a = eB(uB, n), o = lB(uB, n), s = z_(t, a.onViewportChange), c = L.useRef(0);
	return /* @__PURE__ */ q(Wr, { children: [/* @__PURE__ */ K("style", {
		dangerouslySetInnerHTML: { __html: "[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}" },
		nonce: r
	}), /* @__PURE__ */ K(jz.Slot, {
		scope: n,
		children: /* @__PURE__ */ K(yv.div, {
			"data-radix-select-viewport": "",
			role: "presentation",
			...i,
			ref: s,
			style: {
				position: "relative",
				flex: 1,
				overflow: "hidden auto",
				...i.style
			},
			onScroll: $(i.onScroll, (e) => {
				let t = e.currentTarget, { contentWrapper: n, shouldExpandOnScrollRef: r } = o;
				if (r?.current && n) {
					let e = Math.abs(c.current - t.scrollTop);
					if (e > 0) {
						let r = window.innerHeight - Qz * 2, i = parseFloat(n.style.minHeight), a = parseFloat(n.style.height), o = Math.max(i, a);
						if (o < r) {
							let i = o + e, a = Math.min(r, i), s = i - a;
							n.style.height = a + "px", n.style.bottom === "0px" && (t.scrollTop = s > 0 ? s : 0, n.style.justifyContent = "flex-end");
						}
					}
				}
				c.current = t.scrollTop;
			})
		})
	})] });
});
dB.displayName = uB;
var fB = "SelectGroup", [pB, mB] = Pz(fB), hB = L.forwardRef((e, t) => {
	let { __scopeSelect: n, ...r } = e, i = sv();
	return /* @__PURE__ */ K(pB, {
		scope: n,
		id: i,
		children: /* @__PURE__ */ K(yv.div, {
			role: "group",
			"aria-labelledby": i,
			...r,
			ref: t
		})
	});
});
hB.displayName = fB;
var gB = "SelectLabel", _B = L.forwardRef((e, t) => {
	let { __scopeSelect: n, ...r } = e, i = mB(gB, n);
	return /* @__PURE__ */ K(yv.div, {
		id: i.id,
		...r,
		ref: t
	});
});
_B.displayName = gB;
var vB = "SelectItem", [yB, bB] = Pz(vB), xB = L.forwardRef((e, t) => {
	let { __scopeSelect: n, value: r, disabled: i = !1, textValue: a, ...o } = e, s = Rz(vB, n), c = eB(vB, n), l = s.value === r, [u, d] = L.useState(a ?? ""), [f, p] = L.useState(!1), m = z_(t, (e) => c.itemRefCallback?.(e, r, i)), h = sv(), g = L.useRef("touch"), _ = () => {
		i || (s.onValueChange(r), s.onOpenChange(!1));
	};
	if (r === "") throw Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");
	return /* @__PURE__ */ K(yB, {
		scope: n,
		value: r,
		disabled: i,
		textId: h,
		isSelected: l,
		onItemTextChange: L.useCallback((e) => {
			d((t) => t || (e?.textContent ?? "").trim());
		}, []),
		children: /* @__PURE__ */ K(jz.ItemSlot, {
			scope: n,
			value: r,
			disabled: i,
			textValue: u,
			children: /* @__PURE__ */ K(yv.div, {
				role: "option",
				"aria-labelledby": h,
				"data-highlighted": f ? "" : void 0,
				"aria-selected": l && f,
				"data-state": l ? "checked" : "unchecked",
				"aria-disabled": i || void 0,
				"data-disabled": i ? "" : void 0,
				tabIndex: i ? void 0 : -1,
				...o,
				ref: m,
				onFocus: $(o.onFocus, () => p(!0)),
				onBlur: $(o.onBlur, () => p(!1)),
				onClick: $(o.onClick, () => {
					g.current !== "mouse" && _();
				}),
				onPointerUp: $(o.onPointerUp, () => {
					g.current === "mouse" && _();
				}),
				onPointerDown: $(o.onPointerDown, (e) => {
					g.current = e.pointerType;
				}),
				onPointerMove: $(o.onPointerMove, (e) => {
					g.current = e.pointerType, i ? c.onItemLeave?.() : g.current === "mouse" && e.currentTarget.focus({ preventScroll: !0 });
				}),
				onPointerLeave: $(o.onPointerLeave, (e) => {
					e.currentTarget === document.activeElement && c.onItemLeave?.();
				}),
				onKeyDown: $(o.onKeyDown, (e) => {
					(c.searchRef?.current === "" || e.key !== " ") && (kz.includes(e.key) && _(), e.key === " " && e.preventDefault());
				})
			})
		})
	});
});
xB.displayName = vB;
var SB = "SelectItemText", CB = L.forwardRef((e, t) => {
	let { __scopeSelect: n, className: r, style: i, ...a } = e, o = Rz(SB, n), s = eB(SB, n), c = bB(SB, n), l = Bz(SB, n), [u, d] = L.useState(null), f = z_(t, (e) => d(e), c.onItemTextChange, (e) => s.itemTextRefCallback?.(e, c.value, c.disabled)), p = u?.textContent, m = L.useMemo(() => /* @__PURE__ */ K("option", {
		value: c.value,
		disabled: c.disabled,
		children: p
	}, c.value), [
		c.disabled,
		c.value,
		p
	]), { onNativeOptionAdd: h, onNativeOptionRemove: g } = l;
	return iv(() => (h(m), () => g(m)), [
		h,
		g,
		m
	]), /* @__PURE__ */ q(Wr, { children: [/* @__PURE__ */ K(yv.span, {
		id: c.textId,
		...a,
		ref: f
	}), c.isSelected && o.valueNode && !o.valueNodeHasChildren ? En.createPortal(a.children, o.valueNode) : null] });
});
CB.displayName = SB;
var wB = "SelectItemIndicator", TB = L.forwardRef((e, t) => {
	let { __scopeSelect: n, ...r } = e;
	return bB(wB, n).isSelected ? /* @__PURE__ */ K(yv.span, {
		"aria-hidden": !0,
		...r,
		ref: t
	}) : null;
});
TB.displayName = wB;
var EB = "SelectScrollUpButton", DB = L.forwardRef((e, t) => {
	let n = eB(EB, e.__scopeSelect), r = lB(EB, e.__scopeSelect), [i, a] = L.useState(!1), o = z_(t, r.onScrollButtonChange);
	return iv(() => {
		if (n.viewport && n.isPositioned) {
			let e = function() {
				let e = t.scrollTop > 0;
				a(e);
			}, t = n.viewport;
			return e(), t.addEventListener("scroll", e), () => t.removeEventListener("scroll", e);
		}
	}, [n.viewport, n.isPositioned]), i ? /* @__PURE__ */ K(AB, {
		...e,
		ref: o,
		onAutoScroll: () => {
			let { viewport: e, selectedItem: t } = n;
			e && t && (e.scrollTop -= t.offsetHeight);
		}
	}) : null;
});
DB.displayName = EB;
var OB = "SelectScrollDownButton", kB = L.forwardRef((e, t) => {
	let n = eB(OB, e.__scopeSelect), r = lB(OB, e.__scopeSelect), [i, a] = L.useState(!1), o = z_(t, r.onScrollButtonChange);
	return iv(() => {
		if (n.viewport && n.isPositioned) {
			let e = function() {
				let e = t.scrollHeight - t.clientHeight, n = Math.ceil(t.scrollTop) < e;
				a(n);
			}, t = n.viewport;
			return e(), t.addEventListener("scroll", e), () => t.removeEventListener("scroll", e);
		}
	}, [n.viewport, n.isPositioned]), i ? /* @__PURE__ */ K(AB, {
		...e,
		ref: o,
		onAutoScroll: () => {
			let { viewport: e, selectedItem: t } = n;
			e && t && (e.scrollTop += t.offsetHeight);
		}
	}) : null;
});
kB.displayName = OB;
var AB = L.forwardRef((e, t) => {
	let { __scopeSelect: n, onAutoScroll: r, ...i } = e, a = eB("SelectScrollButton", n), o = L.useRef(null), s = Mz(n), c = L.useCallback(() => {
		o.current !== null && (window.clearInterval(o.current), o.current = null);
	}, []);
	return L.useEffect(() => () => c(), [c]), iv(() => {
		s().find((e) => e.ref.current === document.activeElement)?.ref.current?.scrollIntoView({ block: "nearest" });
	}, [s]), /* @__PURE__ */ K(yv.div, {
		"aria-hidden": !0,
		...i,
		ref: t,
		style: {
			flexShrink: 0,
			...i.style
		},
		onPointerDown: $(i.onPointerDown, () => {
			o.current === null && (o.current = window.setInterval(r, 50));
		}),
		onPointerMove: $(i.onPointerMove, () => {
			a.onItemLeave?.(), o.current === null && (o.current = window.setInterval(r, 50));
		}),
		onPointerLeave: $(i.onPointerLeave, () => {
			c();
		})
	});
}), jB = "SelectSeparator", MB = L.forwardRef((e, t) => {
	let { __scopeSelect: n, ...r } = e;
	return /* @__PURE__ */ K(yv.div, {
		"aria-hidden": !0,
		...r,
		ref: t
	});
});
MB.displayName = jB;
var NB = "SelectArrow", PB = L.forwardRef((e, t) => {
	let { __scopeSelect: n, ...r } = e, i = Iz(n), a = Rz(NB, n), o = eB(NB, n);
	return a.open && o.position === "popper" ? /* @__PURE__ */ K(aw, {
		...i,
		...r,
		ref: t
	}) : null;
});
PB.displayName = NB;
var FB = "SelectBubbleInput", IB = L.forwardRef(({ __scopeSelect: e, value: t, ...n }, r) => {
	let i = L.useRef(null), a = z_(r, i), o = wR(t);
	return L.useEffect(() => {
		let e = i.current;
		if (!e) return;
		let n = window.HTMLSelectElement.prototype, r = Object.getOwnPropertyDescriptor(n, "value").set;
		if (o !== t && r) {
			let n = new Event("change", { bubbles: !0 });
			r.call(e, t), e.dispatchEvent(n);
		}
	}, [o, t]), /* @__PURE__ */ K(yv.select, {
		...n,
		style: {
			...qk,
			...n.style
		},
		ref: a,
		defaultValue: t
	});
});
IB.displayName = FB;
function LB(e) {
	return e === "" || e === void 0;
}
function RB(e) {
	let t = xv(e), n = L.useRef(""), r = L.useRef(0), i = L.useCallback((e) => {
		let i = n.current + e;
		t(i), (function e(t) {
			n.current = t, window.clearTimeout(r.current), t !== "" && (r.current = window.setTimeout(() => e(""), 1e3));
		})(i);
	}, [t]), a = L.useCallback(() => {
		n.current = "", window.clearTimeout(r.current);
	}, []);
	return L.useEffect(() => () => window.clearTimeout(r.current), []), [
		n,
		i,
		a
	];
}
function zB(e, t, n) {
	let r = t.length > 1 && Array.from(t).every((e) => e === t[0]) ? t[0] : t, i = n ? e.indexOf(n) : -1, a = BB(e, Math.max(i, 0));
	r.length === 1 && (a = a.filter((e) => e !== n));
	let o = a.find((e) => e.textValue.toLowerCase().startsWith(r.toLowerCase()));
	return o === n ? void 0 : o;
}
function BB(e, t) {
	return e.map((n, r) => e[(t + r) % e.length]);
}
var VB = Vz, HB = Uz, UB = Gz, WB = qz, GB = Yz, KB = Zz, qB = dB, JB = xB, YB = CB, XB = TB, ZB = DB, QB = kB, $B = ["PageUp", "PageDown"], eV = [
	"ArrowUp",
	"ArrowDown",
	"ArrowLeft",
	"ArrowRight"
], tV = {
	"from-left": [
		"Home",
		"PageDown",
		"ArrowDown",
		"ArrowLeft"
	],
	"from-right": [
		"Home",
		"PageDown",
		"ArrowDown",
		"ArrowRight"
	],
	"from-bottom": [
		"Home",
		"PageDown",
		"ArrowDown",
		"ArrowLeft"
	],
	"from-top": [
		"Home",
		"PageDown",
		"ArrowUp",
		"ArrowLeft"
	]
}, nV = "Slider", [rV, iV, aV] = bx(nV), [oV, sV] = nv(nV, [aV]), [cV, lV] = oV(nV), uV = L.forwardRef((e, t) => {
	let { name: n, min: r = 0, max: i = 100, step: a = 1, orientation: o = "horizontal", disabled: s = !1, minStepsBetweenThumbs: c = 0, defaultValue: l = [r], value: u, onValueChange: d = () => {}, onValueCommit: f = () => {}, inverted: p = !1, form: m, ...h } = e, g = L.useRef(/* @__PURE__ */ new Set()), _ = L.useRef(0), v = o === "horizontal" ? pV : mV, [y = [], b] = lv({
		prop: u,
		defaultProp: l,
		onChange: (e) => {
			[...g.current][_.current]?.focus(), d(e);
		}
	}), x = L.useRef(y);
	function S(e) {
		T(e, OV(y, e));
	}
	function C(e) {
		T(e, _.current);
	}
	function w() {
		let e = x.current[_.current];
		y[_.current] !== e && f(y);
	}
	function T(e, t, { commit: n } = { commit: !1 }) {
		let o = NV(a), s = tM(PV(Math.round((e - r) / a) * a + r, o), [r, i]);
		b((e = []) => {
			let r = TV(e, s, t);
			if (jV(r, c * a)) {
				_.current = r.indexOf(s);
				let t = String(r) !== String(e);
				return t && n && f(r), t ? r : e;
			}
			return e;
		});
	}
	return /* @__PURE__ */ K(cV, {
		scope: e.__scopeSlider,
		name: n,
		disabled: s,
		min: r,
		max: i,
		valueIndexToChangeRef: _,
		thumbs: g.current,
		values: y,
		orientation: o,
		form: m,
		children: /* @__PURE__ */ K(rV.Provider, {
			scope: e.__scopeSlider,
			children: /* @__PURE__ */ K(rV.Slot, {
				scope: e.__scopeSlider,
				children: /* @__PURE__ */ K(v, {
					"aria-disabled": s,
					"data-disabled": s ? "" : void 0,
					...h,
					ref: t,
					onPointerDown: $(h.onPointerDown, () => {
						s || (x.current = y);
					}),
					min: r,
					max: i,
					inverted: p,
					onSlideStart: s ? void 0 : S,
					onSlideMove: s ? void 0 : C,
					onSlideEnd: s ? void 0 : w,
					onHomeKeyDown: () => !s && T(r, 0, { commit: !0 }),
					onEndKeyDown: () => !s && T(i, y.length - 1, { commit: !0 }),
					onStepKeyDown: ({ event: e, direction: t }) => {
						if (!s) {
							let n = $B.includes(e.key) || e.shiftKey && eV.includes(e.key) ? 10 : 1, r = _.current, i = y[r];
							T(i + a * n * t, r, { commit: !0 });
						}
					}
				})
			})
		})
	});
});
uV.displayName = nV;
var [dV, fV] = oV(nV, {
	startEdge: "left",
	endEdge: "right",
	size: "width",
	direction: 1
}), pV = L.forwardRef((e, t) => {
	let { min: n, max: r, dir: i, inverted: a, onSlideStart: o, onSlideMove: s, onSlideEnd: c, onStepKeyDown: l, ...u } = e, [d, f] = L.useState(null), p = z_(t, (e) => f(e)), m = L.useRef(void 0), h = Sx(i), g = h === "ltr", _ = g && !a || !g && a;
	function v(e) {
		let t = m.current || d.getBoundingClientRect(), i = MV([0, t.width], _ ? [n, r] : [r, n]);
		return m.current = t, i(e - t.left);
	}
	return /* @__PURE__ */ K(dV, {
		scope: e.__scopeSlider,
		startEdge: _ ? "left" : "right",
		endEdge: _ ? "right" : "left",
		direction: _ ? 1 : -1,
		size: "width",
		children: /* @__PURE__ */ K(hV, {
			dir: h,
			"data-orientation": "horizontal",
			...u,
			ref: p,
			style: {
				...u.style,
				"--radix-slider-thumb-transform": "translateX(-50%)"
			},
			onSlideStart: (e) => {
				let t = v(e.clientX);
				o?.(t);
			},
			onSlideMove: (e) => {
				let t = v(e.clientX);
				s?.(t);
			},
			onSlideEnd: () => {
				m.current = void 0, c?.();
			},
			onStepKeyDown: (e) => {
				let t = tV[_ ? "from-left" : "from-right"].includes(e.key);
				l?.({
					event: e,
					direction: t ? -1 : 1
				});
			}
		})
	});
}), mV = L.forwardRef((e, t) => {
	let { min: n, max: r, inverted: i, onSlideStart: a, onSlideMove: o, onSlideEnd: s, onStepKeyDown: c, ...l } = e, u = L.useRef(null), d = z_(t, u), f = L.useRef(void 0), p = !i;
	function m(e) {
		let t = f.current || u.current.getBoundingClientRect(), i = MV([0, t.height], p ? [r, n] : [n, r]);
		return f.current = t, i(e - t.top);
	}
	return /* @__PURE__ */ K(dV, {
		scope: e.__scopeSlider,
		startEdge: p ? "bottom" : "top",
		endEdge: p ? "top" : "bottom",
		size: "height",
		direction: p ? 1 : -1,
		children: /* @__PURE__ */ K(hV, {
			"data-orientation": "vertical",
			...l,
			ref: d,
			style: {
				...l.style,
				"--radix-slider-thumb-transform": "translateY(50%)"
			},
			onSlideStart: (e) => {
				let t = m(e.clientY);
				a?.(t);
			},
			onSlideMove: (e) => {
				let t = m(e.clientY);
				o?.(t);
			},
			onSlideEnd: () => {
				f.current = void 0, s?.();
			},
			onStepKeyDown: (e) => {
				let t = tV[p ? "from-bottom" : "from-top"].includes(e.key);
				c?.({
					event: e,
					direction: t ? -1 : 1
				});
			}
		})
	});
}), hV = L.forwardRef((e, t) => {
	let { __scopeSlider: n, onSlideStart: r, onSlideMove: i, onSlideEnd: a, onHomeKeyDown: o, onEndKeyDown: s, onStepKeyDown: c, ...l } = e, u = lV(nV, n);
	return /* @__PURE__ */ K(yv.span, {
		...l,
		ref: t,
		onKeyDown: $(e.onKeyDown, (e) => {
			e.key === "Home" ? (o(e), e.preventDefault()) : e.key === "End" ? (s(e), e.preventDefault()) : $B.concat(eV).includes(e.key) && (c(e), e.preventDefault());
		}),
		onPointerDown: $(e.onPointerDown, (e) => {
			let t = e.target;
			t.setPointerCapture(e.pointerId), e.preventDefault(), u.thumbs.has(t) ? t.focus() : r(e);
		}),
		onPointerMove: $(e.onPointerMove, (e) => {
			e.target.hasPointerCapture(e.pointerId) && i(e);
		}),
		onPointerUp: $(e.onPointerUp, (e) => {
			let t = e.target;
			t.hasPointerCapture(e.pointerId) && (t.releasePointerCapture(e.pointerId), a(e));
		})
	});
}), gV = "SliderTrack", _V = L.forwardRef((e, t) => {
	let { __scopeSlider: n, ...r } = e, i = lV(gV, n);
	return /* @__PURE__ */ K(yv.span, {
		"data-disabled": i.disabled ? "" : void 0,
		"data-orientation": i.orientation,
		...r,
		ref: t
	});
});
_V.displayName = gV;
var vV = "SliderRange", yV = L.forwardRef((e, t) => {
	let { __scopeSlider: n, ...r } = e, i = lV(vV, n), a = fV(vV, n), o = z_(t, L.useRef(null)), s = i.values.length, c = i.values.map((e) => EV(e, i.min, i.max)), l = s > 1 ? Math.min(...c) : 0, u = 100 - Math.max(...c);
	return /* @__PURE__ */ K(yv.span, {
		"data-orientation": i.orientation,
		"data-disabled": i.disabled ? "" : void 0,
		...r,
		ref: o,
		style: {
			...e.style,
			[a.startEdge]: l + "%",
			[a.endEdge]: u + "%"
		}
	});
});
yV.displayName = vV;
var bV = "SliderThumb", xV = L.forwardRef((e, t) => {
	let n = iV(e.__scopeSlider), [r, i] = L.useState(null), a = z_(t, (e) => i(e)), o = L.useMemo(() => r ? n().findIndex((e) => e.ref.current === r) : -1, [n, r]);
	return /* @__PURE__ */ K(SV, {
		...e,
		ref: a,
		index: o
	});
}), SV = L.forwardRef((e, t) => {
	let { __scopeSlider: n, index: r, name: i, ...a } = e, o = lV(bV, n), s = fV(bV, n), [c, l] = L.useState(null), u = z_(t, (e) => l(e)), d = !c || o.form || !!c.closest("form"), f = LC(c), p = o.values[r], m = p === void 0 ? 0 : EV(p, o.min, o.max), h = DV(r, o.values.length), g = f?.[s.size], _ = g ? kV(g, m, s.direction) : 0;
	return L.useEffect(() => {
		if (c) return o.thumbs.add(c), () => {
			o.thumbs.delete(c);
		};
	}, [c, o.thumbs]), /* @__PURE__ */ q("span", {
		style: {
			transform: "var(--radix-slider-thumb-transform)",
			position: "absolute",
			[s.startEdge]: `calc(${m}% + ${_}px)`
		},
		children: [/* @__PURE__ */ K(rV.ItemSlot, {
			scope: e.__scopeSlider,
			children: /* @__PURE__ */ K(yv.span, {
				role: "slider",
				"aria-label": e["aria-label"] || h,
				"aria-valuemin": o.min,
				"aria-valuenow": p,
				"aria-valuemax": o.max,
				"aria-orientation": o.orientation,
				"data-orientation": o.orientation,
				"data-disabled": o.disabled ? "" : void 0,
				tabIndex: o.disabled ? void 0 : 0,
				...a,
				ref: u,
				style: p === void 0 ? { display: "none" } : e.style,
				onFocus: $(e.onFocus, () => {
					o.valueIndexToChangeRef.current = r;
				})
			})
		}), d && /* @__PURE__ */ K(wV, {
			name: i ?? (o.name ? o.name + (o.values.length > 1 ? "[]" : "") : void 0),
			form: o.form,
			value: p
		}, r)]
	});
});
xV.displayName = bV;
var CV = "RadioBubbleInput", wV = L.forwardRef(({ __scopeSlider: e, value: t, ...n }, r) => {
	let i = L.useRef(null), a = z_(i, r), o = wR(t);
	return L.useEffect(() => {
		let e = i.current;
		if (!e) return;
		let n = window.HTMLInputElement.prototype, r = Object.getOwnPropertyDescriptor(n, "value").set;
		if (o !== t && r) {
			let n = new Event("input", { bubbles: !0 });
			r.call(e, t), e.dispatchEvent(n);
		}
	}, [o, t]), /* @__PURE__ */ K(yv.input, {
		style: { display: "none" },
		...n,
		ref: a,
		defaultValue: t
	});
});
wV.displayName = CV;
function TV(e = [], t, n) {
	let r = [...e];
	return r[n] = t, r.sort((e, t) => e - t);
}
function EV(e, t, n) {
	return tM(100 / (n - t) * (e - t), [0, 100]);
}
function DV(e, t) {
	if (t > 2) return `Value ${e + 1} of ${t}`;
	if (t === 2) return ["Minimum", "Maximum"][e];
}
function OV(e, t) {
	if (e.length === 1) return 0;
	let n = e.map((e) => Math.abs(e - t)), r = Math.min(...n);
	return n.indexOf(r);
}
function kV(e, t, n) {
	let r = e / 2;
	return (r - MV([0, 50], [0, r])(t) * n) * n;
}
function AV(e) {
	return e.slice(0, -1).map((t, n) => e[n + 1] - t);
}
function jV(e, t) {
	if (t > 0) {
		let n = AV(e);
		return Math.min(...n) >= t;
	}
	return !0;
}
function MV(e, t) {
	return (n) => {
		if (e[0] === e[1] || t[0] === t[1]) return t[0];
		let r = (t[1] - t[0]) / (e[1] - e[0]);
		return t[0] + r * (n - e[0]);
	};
}
function NV(e) {
	return (String(e).split(".")[1] || "").length;
}
function PV(e, t) {
	let n = 10 ** t;
	return Math.round(e * n) / n;
}
var FV = uV, IV = _V, LV = yV, RV = xV, zV = "Switch", [BV, VV] = nv(zV), [HV, UV] = BV(zV), WV = L.forwardRef((e, t) => {
	let { __scopeSwitch: n, name: r, checked: i, defaultChecked: a, required: o, disabled: s, value: c = "on", onCheckedChange: l, form: u, ...d } = e, [f, p] = L.useState(null), m = z_(t, (e) => p(e)), h = L.useRef(!1), g = !f || u || !!f.closest("form"), [_, v] = lv({
		prop: i,
		defaultProp: a ?? !1,
		onChange: l,
		caller: zV
	});
	return /* @__PURE__ */ q(HV, {
		scope: n,
		checked: _,
		disabled: s,
		children: [/* @__PURE__ */ K(yv.button, {
			type: "button",
			role: "switch",
			"aria-checked": _,
			"aria-required": o,
			"data-state": YV(_),
			"data-disabled": s ? "" : void 0,
			disabled: s,
			value: c,
			...d,
			ref: m,
			onClick: $(e.onClick, (e) => {
				v((e) => !e), g && (h.current = e.isPropagationStopped(), h.current || e.stopPropagation());
			})
		}), g && /* @__PURE__ */ K(JV, {
			control: f,
			bubbles: !h.current,
			name: r,
			value: c,
			checked: _,
			required: o,
			disabled: s,
			form: u,
			style: { transform: "translateX(-100%)" }
		})]
	});
});
WV.displayName = zV;
var GV = "SwitchThumb", KV = L.forwardRef((e, t) => {
	let { __scopeSwitch: n, ...r } = e, i = UV(GV, n);
	return /* @__PURE__ */ K(yv.span, {
		"data-state": YV(i.checked),
		"data-disabled": i.disabled ? "" : void 0,
		...r,
		ref: t
	});
});
KV.displayName = GV;
var qV = "SwitchBubbleInput", JV = L.forwardRef(({ __scopeSwitch: e, control: t, checked: n, bubbles: r = !0, ...i }, a) => {
	let o = L.useRef(null), s = z_(o, a), c = wR(n), l = LC(t);
	return L.useEffect(() => {
		let e = o.current;
		if (!e) return;
		let t = window.HTMLInputElement.prototype, i = Object.getOwnPropertyDescriptor(t, "checked").set;
		if (c !== n && i) {
			let t = new Event("click", { bubbles: r });
			i.call(e, n), e.dispatchEvent(t);
		}
	}, [
		c,
		n,
		r
	]), /* @__PURE__ */ K("input", {
		type: "checkbox",
		"aria-hidden": !0,
		defaultChecked: n,
		...i,
		tabIndex: -1,
		ref: s,
		style: {
			...i.style,
			...l,
			position: "absolute",
			pointerEvents: "none",
			opacity: 0,
			margin: 0
		}
	});
});
JV.displayName = qV;
function YV(e) {
	return e ? "checked" : "unchecked";
}
var XV = WV, ZV = KV, QV = "Tabs", [$V, eH] = nv(QV, [pw]), tH = pw(), [nH, rH] = $V(QV), iH = L.forwardRef((e, t) => {
	let { __scopeTabs: n, value: r, onValueChange: i, defaultValue: a, orientation: o = "horizontal", dir: s, activationMode: c = "automatic", ...l } = e, u = Sx(s), [d, f] = lv({
		prop: r,
		onChange: i,
		defaultProp: a ?? "",
		caller: QV
	});
	return /* @__PURE__ */ K(nH, {
		scope: n,
		baseId: sv(),
		value: d,
		onValueChange: f,
		orientation: o,
		dir: u,
		activationMode: c,
		children: /* @__PURE__ */ K(yv.div, {
			dir: u,
			"data-orientation": o,
			...l,
			ref: t
		})
	});
});
iH.displayName = QV;
var aH = "TabsList", oH = L.forwardRef((e, t) => {
	let { __scopeTabs: n, loop: r = !0, ...i } = e, a = rH(aH, n), o = tH(n);
	return /* @__PURE__ */ K(Tw, {
		asChild: !0,
		...o,
		orientation: a.orientation,
		dir: a.dir,
		loop: r,
		children: /* @__PURE__ */ K(yv.div, {
			role: "tablist",
			"aria-orientation": a.orientation,
			...i,
			ref: t
		})
	});
});
oH.displayName = aH;
var sH = "TabsTrigger", cH = L.forwardRef((e, t) => {
	let { __scopeTabs: n, value: r, disabled: i = !1, ...a } = e, o = rH(sH, n), s = tH(n), c = dH(o.baseId, r), l = fH(o.baseId, r), u = r === o.value;
	return /* @__PURE__ */ K(Ew, {
		asChild: !0,
		...s,
		focusable: !i,
		active: u,
		children: /* @__PURE__ */ K(yv.button, {
			type: "button",
			role: "tab",
			"aria-selected": u,
			"aria-controls": l,
			"data-state": u ? "active" : "inactive",
			"data-disabled": i ? "" : void 0,
			disabled: i,
			id: c,
			...a,
			ref: t,
			onMouseDown: $(e.onMouseDown, (e) => {
				!i && e.button === 0 && e.ctrlKey === !1 ? o.onValueChange(r) : e.preventDefault();
			}),
			onKeyDown: $(e.onKeyDown, (e) => {
				[" ", "Enter"].includes(e.key) && o.onValueChange(r);
			}),
			onFocus: $(e.onFocus, () => {
				let e = o.activationMode !== "manual";
				!u && !i && e && o.onValueChange(r);
			})
		})
	});
});
cH.displayName = sH;
var lH = "TabsContent", uH = L.forwardRef((e, t) => {
	let { __scopeTabs: n, value: r, forceMount: i, children: a, ...o } = e, s = rH(lH, n), c = dH(s.baseId, r), l = fH(s.baseId, r), u = r === s.value, d = L.useRef(u);
	return L.useEffect(() => {
		let e = requestAnimationFrame(() => d.current = !1);
		return () => cancelAnimationFrame(e);
	}, []), /* @__PURE__ */ K(ty, {
		present: i || u,
		children: ({ present: n }) => /* @__PURE__ */ K(yv.div, {
			"data-state": u ? "active" : "inactive",
			"data-orientation": s.orientation,
			role: "tabpanel",
			"aria-labelledby": c,
			hidden: !n,
			id: l,
			tabIndex: 0,
			...o,
			ref: t,
			style: {
				...e.style,
				animationDuration: d.current ? "0s" : void 0
			},
			children: n && a
		})
	});
});
uH.displayName = lH;
function dH(e, t) {
	return `${e}-trigger-${t}`;
}
function fH(e, t) {
	return `${e}-content-${t}`;
}
var pH = iH, mH = oH, hH = cH, gH = uH, _H = "Toggle", vH = L.forwardRef((e, t) => {
	let { pressed: n, defaultPressed: r, onPressedChange: i, ...a } = e, [o, s] = lv({
		prop: n,
		onChange: i,
		defaultProp: r ?? !1,
		caller: _H
	});
	return /* @__PURE__ */ K(yv.button, {
		type: "button",
		"aria-pressed": o,
		"data-state": o ? "on" : "off",
		"data-disabled": e.disabled ? "" : void 0,
		...a,
		ref: t,
		onClick: $(e.onClick, () => {
			e.disabled || s(!o);
		})
	});
});
vH.displayName = _H;
var yH = vH, bH = "ToggleGroup", [xH, SH] = nv(bH, [pw]), CH = pw(), wH = R.forwardRef((e, t) => {
	let { type: n, ...r } = e;
	if (n === "single") return /* @__PURE__ */ K(DH, {
		...r,
		ref: t
	});
	if (n === "multiple") return /* @__PURE__ */ K(OH, {
		...r,
		ref: t
	});
	throw Error(`Missing prop \`type\` expected on \`${bH}\``);
});
wH.displayName = bH;
var [TH, EH] = xH(bH), DH = R.forwardRef((e, t) => {
	let { value: n, defaultValue: r, onValueChange: i = () => {}, ...a } = e, [o, s] = lv({
		prop: n,
		defaultProp: r ?? "",
		onChange: i,
		caller: bH
	});
	return /* @__PURE__ */ K(TH, {
		scope: e.__scopeToggleGroup,
		type: "single",
		value: R.useMemo(() => o ? [o] : [], [o]),
		onItemActivate: s,
		onItemDeactivate: R.useCallback(() => s(""), [s]),
		children: /* @__PURE__ */ K(jH, {
			...a,
			ref: t
		})
	});
}), OH = R.forwardRef((e, t) => {
	let { value: n, defaultValue: r, onValueChange: i = () => {}, ...a } = e, [o, s] = lv({
		prop: n,
		defaultProp: r ?? [],
		onChange: i,
		caller: bH
	}), c = R.useCallback((e) => s((t = []) => [...t, e]), [s]), l = R.useCallback((e) => s((t = []) => t.filter((t) => t !== e)), [s]);
	return /* @__PURE__ */ K(TH, {
		scope: e.__scopeToggleGroup,
		type: "multiple",
		value: o,
		onItemActivate: c,
		onItemDeactivate: l,
		children: /* @__PURE__ */ K(jH, {
			...a,
			ref: t
		})
	});
});
wH.displayName = bH;
var [kH, AH] = xH(bH), jH = R.forwardRef((e, t) => {
	let { __scopeToggleGroup: n, disabled: r = !1, rovingFocus: i = !0, orientation: a, dir: o, loop: s = !0, ...c } = e, l = CH(n), u = Sx(o), d = {
		role: "group",
		dir: u,
		...c
	};
	return /* @__PURE__ */ K(kH, {
		scope: n,
		rovingFocus: i,
		disabled: r,
		children: i ? /* @__PURE__ */ K(Tw, {
			asChild: !0,
			...l,
			orientation: a,
			dir: u,
			loop: s,
			children: /* @__PURE__ */ K(yv.div, {
				...d,
				ref: t
			})
		}) : /* @__PURE__ */ K(yv.div, {
			...d,
			ref: t
		})
	});
}), MH = "ToggleGroupItem", NH = R.forwardRef((e, t) => {
	let n = EH(MH, e.__scopeToggleGroup), r = AH(MH, e.__scopeToggleGroup), i = CH(e.__scopeToggleGroup), a = n.value.includes(e.value), o = r.disabled || e.disabled, s = {
		...e,
		pressed: a,
		disabled: o
	}, c = R.useRef(null);
	return r.rovingFocus ? /* @__PURE__ */ K(Ew, {
		asChild: !0,
		...i,
		focusable: !o,
		active: a,
		ref: c,
		children: /* @__PURE__ */ K(PH, {
			...s,
			ref: t
		})
	}) : /* @__PURE__ */ K(PH, {
		...s,
		ref: t
	});
});
NH.displayName = MH;
var PH = R.forwardRef((e, t) => {
	let { __scopeToggleGroup: n, value: r, ...i } = e, a = EH(MH, n), o = {
		role: "radio",
		"aria-checked": e.pressed,
		"aria-pressed": void 0
	}, s = a.type === "single" ? o : void 0;
	return /* @__PURE__ */ K(vH, {
		...s,
		...i,
		ref: t,
		onPressedChange: (e) => {
			e ? a.onItemActivate(r) : a.onItemDeactivate(r);
		}
	});
}), FH = wH, IH = NH;
// src/components/ui/slider.tsx
function LH({ className: e, defaultValue: t, value: n, min: r = 0, max: i = 100, ...a }) {
	let o = L.useMemo(() => Array.isArray(n) ? n : Array.isArray(t) ? t : [r, i], [
		n,
		t,
		r,
		i
	]);
	return /* @__PURE__ */ q(FV, {
		"data-slot": "slider",
		defaultValue: t,
		value: n,
		min: r,
		max: i,
		className: X("relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col", e),
		...a,
		children: [/* @__PURE__ */ K(IV, {
			"data-slot": "slider-track",
			className: X("relative grow overflow-hidden rounded-full bg-muted data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"),
			children: /* @__PURE__ */ K(LV, {
				"data-slot": "slider-range",
				className: X("absolute bg-primary data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full")
			})
		}), Array.from({ length: o.length }, (e, t) => /* @__PURE__ */ K(RV, {
			"data-slot": "slider-thumb",
			className: "block size-4 shrink-0 rounded-full border border-primary bg-white shadow-sm ring-ring/50 transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50"
		}, t))]
	});
}
// ../../../node_modules/.pnpm/@dagrejs+dagre@2.0.4/node_modules/@dagrejs/dagre/dist/dagre.esm.js
var RH = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), zH = RH((e, t) => {
	var n = Object.defineProperty, r = (e, t, r) => t in e ? n(e, t, {
		enumerable: !0,
		configurable: !0,
		writable: !0,
		value: r
	}) : e[t] = r, i = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), a = (e, t, n) => r(e, typeof t == "symbol" ? t : t + "", n), o = i((e, t) => {
		var n = class {
			constructor(e) {
				a(this, "_isDirected", !0), a(this, "_isMultigraph", !1), a(this, "_isCompound", !1), a(this, "_label"), a(this, "_defaultNodeLabelFn", () => {}), a(this, "_defaultEdgeLabelFn", () => {}), a(this, "_nodes", {}), a(this, "_in", {}), a(this, "_preds", {}), a(this, "_out", {}), a(this, "_sucs", {}), a(this, "_edgeObjs", {}), a(this, "_edgeLabels", {}), a(this, "_nodeCount", 0), a(this, "_edgeCount", 0), a(this, "_parent"), a(this, "_children"), e && (this._isDirected = !Object.hasOwn(e, "directed") || e.directed, this._isMultigraph = Object.hasOwn(e, "multigraph") ? e.multigraph : !1, this._isCompound = Object.hasOwn(e, "compound") ? e.compound : !1), this._isCompound && (this._parent = {}, this._children = {}, this._children["\0"] = {});
			}
			isDirected() {
				return this._isDirected;
			}
			isMultigraph() {
				return this._isMultigraph;
			}
			isCompound() {
				return this._isCompound;
			}
			setGraph(e) {
				return this._label = e, this;
			}
			graph() {
				return this._label;
			}
			setDefaultNodeLabel(e) {
				return this._defaultNodeLabelFn = e, typeof e != "function" && (this._defaultNodeLabelFn = () => e), this;
			}
			nodeCount() {
				return this._nodeCount;
			}
			nodes() {
				return Object.keys(this._nodes);
			}
			sources() {
				var e = this;
				return this.nodes().filter((t) => Object.keys(e._in[t]).length === 0);
			}
			sinks() {
				var e = this;
				return this.nodes().filter((t) => Object.keys(e._out[t]).length === 0);
			}
			setNodes(e, t) {
				var n = arguments, r = this;
				return e.forEach(function(e) {
					n.length > 1 ? r.setNode(e, t) : r.setNode(e);
				}), this;
			}
			setNode(e, t) {
				return Object.hasOwn(this._nodes, e) ? (arguments.length > 1 && (this._nodes[e] = t), this) : (this._nodes[e] = arguments.length > 1 ? t : this._defaultNodeLabelFn(e), this._isCompound && (this._parent[e] = "\0", this._children[e] = {}, this._children["\0"][e] = !0), this._in[e] = {}, this._preds[e] = {}, this._out[e] = {}, this._sucs[e] = {}, ++this._nodeCount, this);
			}
			node(e) {
				return this._nodes[e];
			}
			hasNode(e) {
				return Object.hasOwn(this._nodes, e);
			}
			removeNode(e) {
				var t = this;
				if (Object.hasOwn(this._nodes, e)) {
					var n = (e) => t.removeEdge(t._edgeObjs[e]);
					delete this._nodes[e], this._isCompound && (this._removeFromParentsChildList(e), delete this._parent[e], this.children(e).forEach(function(e) {
						t.setParent(e);
					}), delete this._children[e]), Object.keys(this._in[e]).forEach(n), delete this._in[e], delete this._preds[e], Object.keys(this._out[e]).forEach(n), delete this._out[e], delete this._sucs[e], --this._nodeCount;
				}
				return this;
			}
			setParent(e, t) {
				if (!this._isCompound) throw Error("Cannot set parent in a non-compound graph");
				if (t === void 0) t = "\0";
				else {
					t += "";
					for (var n = t; n !== void 0; n = this.parent(n)) if (n === e) throw Error("Setting " + t + " as parent of " + e + " would create a cycle");
					this.setNode(t);
				}
				return this.setNode(e), this._removeFromParentsChildList(e), this._parent[e] = t, this._children[t][e] = !0, this;
			}
			_removeFromParentsChildList(e) {
				delete this._children[this._parent[e]][e];
			}
			parent(e) {
				if (this._isCompound) {
					var t = this._parent[e];
					if (t !== "\0") return t;
				}
			}
			children(e = "\0") {
				if (this._isCompound) {
					var t = this._children[e];
					if (t) return Object.keys(t);
				} else {
					if (e === "\0") return this.nodes();
					if (this.hasNode(e)) return [];
				}
			}
			predecessors(e) {
				var t = this._preds[e];
				if (t) return Object.keys(t);
			}
			successors(e) {
				var t = this._sucs[e];
				if (t) return Object.keys(t);
			}
			neighbors(e) {
				var t = this.predecessors(e);
				if (t) {
					let r = new Set(t);
					for (var n of this.successors(e)) r.add(n);
					return Array.from(r.values());
				}
			}
			isLeaf(e) {
				return (this.isDirected() ? this.successors(e) : this.neighbors(e)).length === 0;
			}
			filterNodes(e) {
				var t = new this.constructor({
					directed: this._isDirected,
					multigraph: this._isMultigraph,
					compound: this._isCompound
				});
				t.setGraph(this.graph());
				var n = this;
				Object.entries(this._nodes).forEach(function([n, r]) {
					e(n) && t.setNode(n, r);
				}), Object.values(this._edgeObjs).forEach(function(e) {
					t.hasNode(e.v) && t.hasNode(e.w) && t.setEdge(e, n.edge(e));
				});
				var r = {};
				function i(e) {
					var a = n.parent(e);
					return a === void 0 || t.hasNode(a) ? (r[e] = a, a) : a in r ? r[a] : i(a);
				}
				return this._isCompound && t.nodes().forEach((e) => t.setParent(e, i(e))), t;
			}
			setDefaultEdgeLabel(e) {
				return this._defaultEdgeLabelFn = e, typeof e != "function" && (this._defaultEdgeLabelFn = () => e), this;
			}
			edgeCount() {
				return this._edgeCount;
			}
			edges() {
				return Object.values(this._edgeObjs);
			}
			setPath(e, t) {
				var n = this, r = arguments;
				return e.reduce(function(e, i) {
					return r.length > 1 ? n.setEdge(e, i, t) : n.setEdge(e, i), i;
				}), this;
			}
			setEdge() {
				var e, t, n, i, a = !1, c = arguments[0];
				typeof c == "object" && c && "v" in c ? (e = c.v, t = c.w, n = c.name, arguments.length === 2 && (i = arguments[1], a = !0)) : (e = c, t = arguments[1], n = arguments[3], arguments.length > 2 && (i = arguments[2], a = !0)), e = "" + e, t = "" + t, n !== void 0 && (n = "" + n);
				var l = o(this._isDirected, e, t, n);
				if (Object.hasOwn(this._edgeLabels, l)) return a && (this._edgeLabels[l] = i), this;
				if (n !== void 0 && !this._isMultigraph) throw Error("Cannot set a named edge when isMultigraph = false");
				this.setNode(e), this.setNode(t), this._edgeLabels[l] = a ? i : this._defaultEdgeLabelFn(e, t, n);
				var u = s(this._isDirected, e, t, n);
				return e = u.v, t = u.w, Object.freeze(u), this._edgeObjs[l] = u, r(this._preds[t], e), r(this._sucs[e], t), this._in[t][l] = u, this._out[e][l] = u, this._edgeCount++, this;
			}
			edge(e, t, n) {
				var r = arguments.length === 1 ? c(this._isDirected, arguments[0]) : o(this._isDirected, e, t, n);
				return this._edgeLabels[r];
			}
			edgeAsObj() {
				let e = this.edge(...arguments);
				return typeof e == "object" ? e : { label: e };
			}
			hasEdge(e, t, n) {
				var r = arguments.length === 1 ? c(this._isDirected, arguments[0]) : o(this._isDirected, e, t, n);
				return Object.hasOwn(this._edgeLabels, r);
			}
			removeEdge(e, t, n) {
				var r = arguments.length === 1 ? c(this._isDirected, arguments[0]) : o(this._isDirected, e, t, n), a = this._edgeObjs[r];
				return a && (e = a.v, t = a.w, delete this._edgeLabels[r], delete this._edgeObjs[r], i(this._preds[t], e), i(this._sucs[e], t), delete this._in[t][r], delete this._out[e][r], this._edgeCount--), this;
			}
			inEdges(e, t) {
				return this.isDirected() ? this.filterEdges(this._in[e], e, t) : this.nodeEdges(e, t);
			}
			outEdges(e, t) {
				return this.isDirected() ? this.filterEdges(this._out[e], e, t) : this.nodeEdges(e, t);
			}
			nodeEdges(e, t) {
				if (e in this._nodes) return this.filterEdges({
					...this._in[e],
					...this._out[e]
				}, e, t);
			}
			filterEdges(e, t, n) {
				if (e) {
					var r = Object.values(e);
					return n ? r.filter(function(e) {
						return e.v === t && e.w === n || e.v === n && e.w === t;
					}) : r;
				}
			}
		};
		function r(e, t) {
			e[t] ? e[t]++ : e[t] = 1;
		}
		function i(e, t) {
			--e[t] || delete e[t];
		}
		function o(e, t, n, r) {
			var i = "" + t, a = "" + n;
			if (!e && i > a) {
				var o = i;
				i = a, a = o;
			}
			return i + "" + a + "" + (r === void 0 ? "\0" : r);
		}
		function s(e, t, n, r) {
			var i = "" + t, a = "" + n;
			if (!e && i > a) {
				var o = i;
				i = a, a = o;
			}
			var s = {
				v: i,
				w: a
			};
			return r && (s.name = r), s;
		}
		function c(e, t) {
			return o(e, t.v, t.w, t.name);
		}
		t.exports = n;
	}), s = i((e, t) => {
		t.exports = "3.0.2";
	}), c = i((e, t) => {
		t.exports = {
			Graph: o(),
			version: s()
		};
	}), l = i((e, t) => {
		var n = o();
		t.exports = {
			write: r,
			read: s
		};
		function r(e) {
			var t = {
				options: {
					directed: e.isDirected(),
					multigraph: e.isMultigraph(),
					compound: e.isCompound()
				},
				nodes: i(e),
				edges: a(e)
			};
			return e.graph() !== void 0 && (t.value = structuredClone(e.graph())), t;
		}
		function i(e) {
			return e.nodes().map(function(t) {
				var n = e.node(t), r = e.parent(t), i = { v: t };
				return n !== void 0 && (i.value = n), r !== void 0 && (i.parent = r), i;
			});
		}
		function a(e) {
			return e.edges().map(function(t) {
				var n = e.edge(t), r = {
					v: t.v,
					w: t.w
				};
				return t.name !== void 0 && (r.name = t.name), n !== void 0 && (r.value = n), r;
			});
		}
		function s(e) {
			var t = new n(e.options).setGraph(e.value);
			return e.nodes.forEach(function(e) {
				t.setNode(e.v, e.value), e.parent && t.setParent(e.v, e.parent);
			}), e.edges.forEach(function(e) {
				t.setEdge({
					v: e.v,
					w: e.w,
					name: e.name
				}, e.value);
			}), t;
		}
	}), u = i((e, t) => {
		t.exports = r;
		var n = () => 1;
		function r(e, t, r, a) {
			return i(e, String(t), r || n, a || function(t) {
				return e.outEdges(t);
			});
		}
		function i(e, t, n, r) {
			var i = {}, a = !0, o = 0, s = e.nodes(), c = function(e) {
				var t = n(e);
				i[e.v].distance + t < i[e.w].distance && (i[e.w] = {
					distance: i[e.v].distance + t,
					predecessor: e.v
				}, a = !0);
			}, l = function() {
				s.forEach(function(e) {
					r(e).forEach(function(t) {
						var n = t.v === e ? t.v : t.w;
						c({
							v: n,
							w: n === t.v ? t.w : t.v
						});
					});
				});
			};
			s.forEach(function(e) {
				i[e] = { distance: e === t ? 0 : Infinity };
			});
			for (var u = s.length, d = 1; d < u && (a = !1, o++, l(), a); d++);
			if (o === u - 1 && (a = !1, l(), a)) throw Error("The graph contains a negative weight cycle");
			return i;
		}
	}), d = i((e, t) => {
		t.exports = n;
		function n(e) {
			var t = {}, n = [], r;
			function i(n) {
				Object.hasOwn(t, n) || (t[n] = !0, r.push(n), e.successors(n).forEach(i), e.predecessors(n).forEach(i));
			}
			return e.nodes().forEach(function(e) {
				r = [], i(e), r.length && n.push(r);
			}), n;
		}
	}), f = i((e, t) => {
		t.exports = class {
			constructor() {
				a(this, "_arr", []), a(this, "_keyIndices", {});
			}
			size() {
				return this._arr.length;
			}
			keys() {
				return this._arr.map(function(e) {
					return e.key;
				});
			}
			has(e) {
				return Object.hasOwn(this._keyIndices, e);
			}
			priority(e) {
				var t = this._keyIndices[e];
				if (t !== void 0) return this._arr[t].priority;
			}
			min() {
				if (this.size() === 0) throw Error("Queue underflow");
				return this._arr[0].key;
			}
			add(e, t) {
				var n = this._keyIndices;
				if (e = String(e), !Object.hasOwn(n, e)) {
					var r = this._arr, i = r.length;
					return n[e] = i, r.push({
						key: e,
						priority: t
					}), this._decrease(i), !0;
				}
				return !1;
			}
			removeMin() {
				this._swap(0, this._arr.length - 1);
				var e = this._arr.pop();
				return delete this._keyIndices[e.key], this._heapify(0), e.key;
			}
			decrease(e, t) {
				var n = this._keyIndices[e];
				if (t > this._arr[n].priority) throw Error("New priority is greater than current priority. Key: " + e + " Old: " + this._arr[n].priority + " New: " + t);
				this._arr[n].priority = t, this._decrease(n);
			}
			_heapify(e) {
				var t = this._arr, n = 2 * e, r = n + 1, i = e;
				n < t.length && (i = t[n].priority < t[i].priority ? n : i, r < t.length && (i = t[r].priority < t[i].priority ? r : i), i !== e && (this._swap(e, i), this._heapify(i)));
			}
			_decrease(e) {
				for (var t = this._arr, n = t[e].priority, r; e !== 0 && (r = e >> 1, !(t[r].priority < n));) this._swap(e, r), e = r;
			}
			_swap(e, t) {
				var n = this._arr, r = this._keyIndices, i = n[e], a = n[t];
				n[e] = a, n[t] = i, r[a.key] = e, r[i.key] = t;
			}
		};
	}), p = i((e, t) => {
		var n = f();
		t.exports = i;
		var r = () => 1;
		function i(e, t, n, i) {
			return a(e, String(t), n || r, i || function(t) {
				return e.outEdges(t);
			});
		}
		function a(e, t, r, i) {
			var a = {}, o = new n(), s, c, l = function(e) {
				var t = e.v === s ? e.w : e.v, n = a[t], i = r(e), l = c.distance + i;
				if (i < 0) throw Error("dijkstra does not allow negative edge weights. Bad edge: " + e + " Weight: " + i);
				l < n.distance && (n.distance = l, n.predecessor = s, o.decrease(t, l));
			};
			for (e.nodes().forEach(function(e) {
				var n = e === t ? 0 : Infinity;
				a[e] = { distance: n }, o.add(e, n);
			}); o.size() > 0 && (s = o.removeMin(), c = a[s], c.distance !== Infinity);) i(s).forEach(l);
			return a;
		}
	}), m = i((e, t) => {
		var n = p();
		t.exports = r;
		function r(e, t, r) {
			return e.nodes().reduce(function(i, a) {
				return i[a] = n(e, a, t, r), i;
			}, {});
		}
	}), h = i((e, t) => {
		t.exports = n;
		function n(e, t, n) {
			if (e[t].predecessor !== void 0) throw Error("Invalid source vertex");
			if (e[n].predecessor === void 0 && n !== t) throw Error("Invalid destination vertex");
			return {
				weight: e[n].distance,
				path: r(e, t, n)
			};
		}
		function r(e, t, n) {
			for (var r = [], i = n; i !== t;) r.push(i), i = e[i].predecessor;
			return r.push(t), r.reverse();
		}
	}), g = i((e, t) => {
		t.exports = n;
		function n(e) {
			var t = 0, n = [], r = {}, i = [];
			function a(o) {
				var s = r[o] = {
					onStack: !0,
					lowlink: t,
					index: t++
				};
				if (n.push(o), e.successors(o).forEach(function(e) {
					Object.hasOwn(r, e) ? r[e].onStack && (s.lowlink = Math.min(s.lowlink, r[e].index)) : (a(e), s.lowlink = Math.min(s.lowlink, r[e].lowlink));
				}), s.lowlink === s.index) {
					var c = [], l;
					do
						l = n.pop(), r[l].onStack = !1, c.push(l);
					while (o !== l);
					i.push(c);
				}
			}
			return e.nodes().forEach(function(e) {
				Object.hasOwn(r, e) || a(e);
			}), i;
		}
	}), _ = i((e, t) => {
		var n = g();
		t.exports = r;
		function r(e) {
			return n(e).filter(function(t) {
				return t.length > 1 || t.length === 1 && e.hasEdge(t[0], t[0]);
			});
		}
	}), v = i((e, t) => {
		t.exports = r;
		var n = () => 1;
		function r(e, t, r) {
			return i(e, t || n, r || function(t) {
				return e.outEdges(t);
			});
		}
		function i(e, t, n) {
			var r = {}, i = e.nodes();
			return i.forEach(function(e) {
				r[e] = {}, r[e][e] = { distance: 0 }, i.forEach(function(t) {
					e !== t && (r[e][t] = { distance: Infinity });
				}), n(e).forEach(function(n) {
					var i = n.v === e ? n.w : n.v, a = t(n);
					r[e][i] = {
						distance: a,
						predecessor: e
					};
				});
			}), i.forEach(function(e) {
				var t = r[e];
				i.forEach(function(n) {
					var a = r[n];
					i.forEach(function(n) {
						var r = a[e], i = t[n], o = a[n], s = r.distance + i.distance;
						s < o.distance && (o.distance = s, o.predecessor = i.predecessor);
					});
				});
			}), r;
		}
	}), y = i((e, t) => {
		function n(e) {
			var t = {}, n = {}, i = [];
			function a(o) {
				if (Object.hasOwn(n, o)) throw new r();
				Object.hasOwn(t, o) || (n[o] = !0, t[o] = !0, e.predecessors(o).forEach(a), delete n[o], i.push(o));
			}
			if (e.sinks().forEach(a), Object.keys(t).length !== e.nodeCount()) throw new r();
			return i;
		}
		var r = class extends Error {
			constructor() {
				super(...arguments);
			}
		};
		t.exports = n, n.CycleException = r;
	}), b = i((e, t) => {
		var n = y();
		t.exports = r;
		function r(e) {
			try {
				n(e);
			} catch (e) {
				if (e instanceof n.CycleException) return !1;
				throw e;
			}
			return !0;
		}
	}), x = i((e, t) => {
		t.exports = n;
		function n(e, t, n, i, a) {
			Array.isArray(t) || (t = [t]);
			var o = (e.isDirected() ? e.successors : e.neighbors).bind(e), s = {};
			return t.forEach(function(t) {
				if (!e.hasNode(t)) throw Error("Graph does not have node: " + t);
				a = r(e, t, n === "post", s, o, i, a);
			}), a;
		}
		function r(e, t, n, i, a, o, s) {
			return Object.hasOwn(i, t) || (i[t] = !0, n || (s = o(s, t)), a(t).forEach(function(t) {
				s = r(e, t, n, i, a, o, s);
			}), n && (s = o(s, t))), s;
		}
	}), S = i((e, t) => {
		var n = x();
		t.exports = r;
		function r(e, t, r) {
			return n(e, t, r, function(e, t) {
				return e.push(t), e;
			}, []);
		}
	}), C = i((e, t) => {
		var n = S();
		t.exports = r;
		function r(e, t) {
			return n(e, t, "post");
		}
	}), w = i((e, t) => {
		var n = S();
		t.exports = r;
		function r(e, t) {
			return n(e, t, "pre");
		}
	}), T = i((e, t) => {
		var n = o(), r = f();
		t.exports = i;
		function i(e, t) {
			var i = new n(), a = {}, o = new r(), s;
			function c(e) {
				var n = e.v === s ? e.w : e.v, r = o.priority(n);
				if (r !== void 0) {
					var i = t(e);
					i < r && (a[n] = s, o.decrease(n, i));
				}
			}
			if (e.nodeCount() === 0) return i;
			e.nodes().forEach(function(e) {
				o.add(e, Infinity), i.setNode(e);
			}), o.decrease(e.nodes()[0], 0);
			for (var l = !1; o.size() > 0;) {
				if (s = o.removeMin(), Object.hasOwn(a, s)) i.setEdge(s, a[s]);
				else {
					if (l) throw Error("Input graph is not connected: " + e);
					l = !0;
				}
				e.nodeEdges(s).forEach(c);
			}
			return i;
		}
	}), E = i((e, t) => {
		var n = p(), r = u();
		t.exports = i;
		function i(e, t, n, r) {
			return a(e, t, n, r || function(t) {
				return e.outEdges(t);
			});
		}
		function a(e, t, i, a) {
			if (i === void 0) return n(e, t, i, a);
			for (var o = !1, s = e.nodes(), c = 0; c < s.length; c++) {
				for (var l = a(s[c]), u = 0; u < l.length; u++) {
					var d = l[u], f = d.v === s[c] ? d.v : d.w;
					i({
						v: f,
						w: f === d.v ? d.w : d.v
					}) < 0 && (o = !0);
				}
				if (o) return r(e, t, i, a);
			}
			return n(e, t, i, a);
		}
	}), D = i((e, t) => {
		t.exports = {
			bellmanFord: u(),
			components: d(),
			dijkstra: p(),
			dijkstraAll: m(),
			extractPath: h(),
			findCycles: _(),
			floydWarshall: v(),
			isAcyclic: b(),
			postorder: C(),
			preorder: w(),
			prim: T(),
			shortestPaths: E(),
			reduce: x(),
			tarjan: g(),
			topsort: y()
		};
	}), O = c();
	t.exports = {
		Graph: O.Graph,
		json: l(),
		alg: D(),
		version: O.version
	};
}), BH = RH((e, t) => {
	var n = class {
		constructor() {
			let e = {};
			e._next = e._prev = e, this._sentinel = e;
		}
		dequeue() {
			let e = this._sentinel, t = e._prev;
			if (t !== e) return r(t), t;
		}
		enqueue(e) {
			let t = this._sentinel;
			e._prev && e._next && r(e), e._next = t._next, t._next._prev = e, t._next = e, e._prev = t;
		}
		toString() {
			let e = [], t = this._sentinel, n = t._prev;
			for (; n !== t;) e.push(JSON.stringify(n, i)), n = n._prev;
			return "[" + e.join(", ") + "]";
		}
	};
	function r(e) {
		e._prev._next = e._next, e._next._prev = e._prev, delete e._next, delete e._prev;
	}
	function i(e, t) {
		if (e !== "_next" && e !== "_prev") return t;
	}
	t.exports = n;
}), VH = RH((e, t) => {
	var n = zH().Graph, r = BH();
	t.exports = a;
	var i = () => 1;
	function a(e, t) {
		if (e.nodeCount() <= 1) return [];
		let n = c(e, t || i);
		return o(n.graph, n.buckets, n.zeroIdx).flatMap((t) => e.outEdges(t.v, t.w));
	}
	function o(e, t, n) {
		let r = [], i = t[t.length - 1], a = t[0], o;
		for (; e.nodeCount();) {
			for (; o = a.dequeue();) s(e, t, n, o);
			for (; o = i.dequeue();) s(e, t, n, o);
			if (e.nodeCount()) {
				for (let i = t.length - 2; i > 0; --i) if (o = t[i].dequeue(), o) {
					r = r.concat(s(e, t, n, o, !0));
					break;
				}
			}
		}
		return r;
	}
	function s(e, t, n, r, i) {
		let a = i ? [] : void 0;
		return e.inEdges(r.v).forEach((r) => {
			let o = e.edge(r), s = e.node(r.v);
			i && a.push({
				v: r.v,
				w: r.w
			}), s.out -= o, l(t, n, s);
		}), e.outEdges(r.v).forEach((r) => {
			let i = e.edge(r), a = r.w, o = e.node(a);
			o.in -= i, l(t, n, o);
		}), e.removeNode(r.v), a;
	}
	function c(e, t) {
		let i = new n(), a = 0, o = 0;
		e.nodes().forEach((e) => {
			i.setNode(e, {
				v: e,
				in: 0,
				out: 0
			});
		}), e.edges().forEach((e) => {
			let n = i.edge(e.v, e.w) || 0, r = t(e), s = n + r;
			i.setEdge(e.v, e.w, s), o = Math.max(o, i.node(e.v).out += r), a = Math.max(a, i.node(e.w).in += r);
		});
		let s = u(o + a + 3).map(() => new r()), c = a + 1;
		return i.nodes().forEach((e) => {
			l(s, c, i.node(e));
		}), {
			graph: i,
			buckets: s,
			zeroIdx: c
		};
	}
	function l(e, t, n) {
		n.out ? n.in ? e[n.out - n.in + t].enqueue(n) : e[e.length - 1].enqueue(n) : e[0].enqueue(n);
	}
	function u(e) {
		let t = [];
		for (let n = 0; n < e; n++) t.push(n);
		return t;
	}
}), HH = RH((e, t) => {
	var n = zH().Graph;
	t.exports = {
		addBorderNode: f,
		addDummyNode: r,
		applyWithChunking: h,
		asNonCompoundGraph: a,
		buildLayerMatrix: l,
		intersectRect: c,
		mapValues: w,
		maxRank: g,
		normalizeRanks: u,
		notime: y,
		partition: _,
		pick: C,
		predecessorWeights: s,
		range: S,
		removeEmptyRanks: d,
		simplify: i,
		successorWeights: o,
		time: v,
		uniqueId: x,
		zipObject: T
	};
	function r(e, t, n, r) {
		for (var i = r; e.hasNode(i);) i = x(r);
		return n.dummy = t, e.setNode(i, n), i;
	}
	function i(e) {
		let t = new n().setGraph(e.graph());
		return e.nodes().forEach((n) => t.setNode(n, e.node(n))), e.edges().forEach((n) => {
			let r = t.edge(n.v, n.w) || {
				weight: 0,
				minlen: 1
			}, i = e.edge(n);
			t.setEdge(n.v, n.w, {
				weight: r.weight + i.weight,
				minlen: Math.max(r.minlen, i.minlen)
			});
		}), t;
	}
	function a(e) {
		let t = new n({ multigraph: e.isMultigraph() }).setGraph(e.graph());
		return e.nodes().forEach((n) => {
			e.children(n).length || t.setNode(n, e.node(n));
		}), e.edges().forEach((n) => {
			t.setEdge(n, e.edge(n));
		}), t;
	}
	function o(e) {
		let t = e.nodes().map((t) => {
			let n = {};
			return e.outEdges(t).forEach((t) => {
				n[t.w] = (n[t.w] || 0) + e.edge(t).weight;
			}), n;
		});
		return T(e.nodes(), t);
	}
	function s(e) {
		let t = e.nodes().map((t) => {
			let n = {};
			return e.inEdges(t).forEach((t) => {
				n[t.v] = (n[t.v] || 0) + e.edge(t).weight;
			}), n;
		});
		return T(e.nodes(), t);
	}
	function c(e, t) {
		let n = e.x, r = e.y, i = t.x - n, a = t.y - r, o = e.width / 2, s = e.height / 2;
		if (!i && !a) throw Error("Not possible to find intersection inside of the rectangle");
		let c, l;
		return Math.abs(a) * o > Math.abs(i) * s ? (a < 0 && (s = -s), c = s * i / a, l = s) : (i < 0 && (o = -o), c = o, l = o * a / i), {
			x: n + c,
			y: r + l
		};
	}
	function l(e) {
		let t = S(g(e) + 1).map(() => []);
		return e.nodes().forEach((n) => {
			let r = e.node(n), i = r.rank;
			i !== void 0 && (t[i][r.order] = n);
		}), t;
	}
	function u(e) {
		let t = e.nodes().map((t) => {
			let n = e.node(t).rank;
			return n === void 0 ? Number.MAX_VALUE : n;
		}), n = h(Math.min, t);
		e.nodes().forEach((t) => {
			let r = e.node(t);
			Object.hasOwn(r, "rank") && (r.rank -= n);
		});
	}
	function d(e) {
		let t = e.nodes().map((t) => e.node(t).rank).filter((e) => e !== void 0), n = h(Math.min, t), r = [];
		e.nodes().forEach((t) => {
			let i = e.node(t).rank - n;
			r[i] || (r[i] = []), r[i].push(t);
		});
		let i = 0, a = e.graph().nodeRankFactor;
		Array.from(r).forEach((t, n) => {
			t === void 0 && n % a !== 0 ? --i : t !== void 0 && i && t.forEach((t) => e.node(t).rank += i);
		});
	}
	function f(e, t, n, i) {
		let a = {
			width: 0,
			height: 0
		};
		return arguments.length >= 4 && (a.rank = n, a.order = i), r(e, "border", a, t);
	}
	function p(e, t = m) {
		let n = [];
		for (let r = 0; r < e.length; r += t) {
			let i = e.slice(r, r + t);
			n.push(i);
		}
		return n;
	}
	var m = 65535;
	function h(e, t) {
		if (t.length > m) {
			let n = p(t);
			return e.apply(null, n.map((t) => e.apply(null, t)));
		}
		return e.apply(null, t);
	}
	function g(e) {
		let t = e.nodes().map((t) => {
			let n = e.node(t).rank;
			return n === void 0 ? Number.MIN_VALUE : n;
		});
		return h(Math.max, t);
	}
	function _(e, t) {
		let n = {
			lhs: [],
			rhs: []
		};
		return e.forEach((e) => {
			t(e) ? n.lhs.push(e) : n.rhs.push(e);
		}), n;
	}
	function v(e, t) {
		let n = Date.now();
		try {
			return t();
		} finally {
			console.log(e + " time: " + (Date.now() - n) + "ms");
		}
	}
	function y(e, t) {
		return t();
	}
	var b = 0;
	function x(e) {
		return e + ("" + ++b);
	}
	function S(e, t, n = 1) {
		t ?? (t = e, e = 0);
		let r = (e) => e < t;
		n < 0 && (r = (e) => t < e);
		let i = [];
		for (let t = e; r(t); t += n) i.push(t);
		return i;
	}
	function C(e, t) {
		let n = {};
		for (let r of t) e[r] !== void 0 && (n[r] = e[r]);
		return n;
	}
	function w(e, t) {
		let n = t;
		return typeof t == "string" && (n = (e) => e[t]), Object.entries(e).reduce((e, [t, r]) => (e[t] = n(r, t), e), {});
	}
	function T(e, t) {
		return e.reduce((e, n, r) => (e[n] = t[r], e), {});
	}
}), UH = RH((e, t) => {
	var n = VH(), r = HH().uniqueId;
	t.exports = {
		run: i,
		undo: o
	};
	function i(e) {
		(e.graph().acyclicer === "greedy" ? n(e, t(e)) : a(e)).forEach((t) => {
			let n = e.edge(t);
			e.removeEdge(t), n.forwardName = t.name, n.reversed = !0, e.setEdge(t.w, t.v, n, r("rev"));
		});
		function t(e) {
			return (t) => e.edge(t).weight;
		}
	}
	function a(e) {
		let t = [], n = {}, r = {};
		function i(a) {
			Object.hasOwn(r, a) || (r[a] = !0, n[a] = !0, e.outEdges(a).forEach((e) => {
				Object.hasOwn(n, e.w) ? t.push(e) : i(e.w);
			}), delete n[a]);
		}
		return e.nodes().forEach(i), t;
	}
	function o(e) {
		e.edges().forEach((t) => {
			let n = e.edge(t);
			if (n.reversed) {
				e.removeEdge(t);
				let r = n.forwardName;
				delete n.reversed, delete n.forwardName, e.setEdge(t.w, t.v, n, r);
			}
		});
	}
}), WH = RH((e, t) => {
	var n = HH();
	t.exports = {
		run: r,
		undo: a
	};
	function r(e) {
		e.graph().dummyChains = [], e.edges().forEach((t) => i(e, t));
	}
	function i(e, t) {
		let r = t.v, i = e.node(r).rank, a = t.w, o = e.node(a).rank, s = t.name, c = e.edge(t), l = c.labelRank;
		if (o === i + 1) return;
		e.removeEdge(t);
		let u, d, f = 0;
		for (++i; i < o; ++f, ++i) c.points = [], d = {
			width: 0,
			height: 0,
			edgeLabel: c,
			edgeObj: t,
			rank: i
		}, u = n.addDummyNode(e, "edge", d, "_d"), i === l && (d.width = c.width, d.height = c.height, d.dummy = "edge-label", d.labelpos = c.labelpos), e.setEdge(r, u, { weight: c.weight }, s), f === 0 && e.graph().dummyChains.push(u), r = u;
		e.setEdge(r, a, { weight: c.weight }, s);
	}
	function a(e) {
		e.graph().dummyChains.forEach((t) => {
			let n = e.node(t), r = n.edgeLabel, i;
			for (e.setEdge(n.edgeObj, r); n.dummy;) i = e.successors(t)[0], e.removeNode(t), r.points.push({
				x: n.x,
				y: n.y
			}), n.dummy === "edge-label" && (r.x = n.x, r.y = n.y, r.width = n.width, r.height = n.height), t = i, n = e.node(t);
		});
	}
}), GH = RH((e, t) => {
	var { applyWithChunking: n } = HH();
	t.exports = {
		longestPath: r,
		slack: i
	};
	function r(e) {
		var t = {};
		function r(i) {
			var a = e.node(i);
			if (Object.hasOwn(t, i)) return a.rank;
			t[i] = !0;
			let o = e.outEdges(i).map((t) => t == null ? Infinity : r(t.w) - e.edge(t).minlen);
			var s = n(Math.min, o);
			return s === Infinity && (s = 0), a.rank = s;
		}
		e.sources().forEach(r);
	}
	function i(e, t) {
		return e.node(t.w).rank - e.node(t.v).rank - e.edge(t).minlen;
	}
}), KH = RH((e, t) => {
	var n = zH().Graph, r = GH().slack;
	t.exports = i;
	function i(e) {
		var t = new n({ directed: !1 }), i = e.nodes()[0], c = e.nodeCount();
		t.setNode(i, {});
		for (var l, u; a(t, e) < c;) l = o(t, e), u = t.hasNode(l.v) ? r(e, l) : -r(e, l), s(t, e, u);
		return t;
	}
	function a(e, t) {
		function n(i) {
			t.nodeEdges(i).forEach((a) => {
				var o = a.v, s = i === o ? a.w : o;
				!e.hasNode(s) && !r(t, a) && (e.setNode(s, {}), e.setEdge(i, s, {}), n(s));
			});
		}
		return e.nodes().forEach(n), e.nodeCount();
	}
	function o(e, t) {
		return t.edges().reduce((n, i) => {
			let a = Infinity;
			return e.hasNode(i.v) !== e.hasNode(i.w) && (a = r(t, i)), a < n[0] ? [a, i] : n;
		}, [Infinity, null])[1];
	}
	function s(e, t, n) {
		e.nodes().forEach((e) => t.node(e).rank += n);
	}
}), qH = RH((e, t) => {
	var n = KH(), r = GH().slack, i = GH().longestPath, a = zH().alg.preorder, o = zH().alg.postorder, s = HH().simplify;
	t.exports = c, c.initLowLimValues = f, c.initCutValues = l, c.calcCutValue = d, c.leaveEdge = m, c.enterEdge = h, c.exchangeEdges = g;
	function c(e) {
		e = s(e), i(e);
		var t = n(e);
		f(t), l(t, e);
		for (var r, a; r = m(t);) a = h(t, e, r), g(t, e, r, a);
	}
	function l(e, t) {
		var n = o(e, e.nodes());
		n = n.slice(0, n.length - 1), n.forEach((n) => u(e, t, n));
	}
	function u(e, t, n) {
		var r = e.node(n).parent;
		e.edge(n, r).cutvalue = d(e, t, n);
	}
	function d(e, t, n) {
		var r = e.node(n).parent, i = !0, a = t.edge(n, r), o = 0;
		return a ||= (i = !1, t.edge(r, n)), o = a.weight, t.nodeEdges(n).forEach((a) => {
			var s = a.v === n, c = s ? a.w : a.v;
			if (c !== r) {
				var l = s === i, u = t.edge(a).weight;
				if (o += l ? u : -u, v(e, n, c)) {
					var d = e.edge(n, c).cutvalue;
					o += l ? -d : d;
				}
			}
		}), o;
	}
	function f(e, t) {
		arguments.length < 2 && (t = e.nodes()[0]), p(e, {}, 1, t);
	}
	function p(e, t, n, r, i) {
		var a = n, o = e.node(r);
		return t[r] = !0, e.neighbors(r).forEach((i) => {
			Object.hasOwn(t, i) || (n = p(e, t, n, i, r));
		}), o.low = a, o.lim = n++, i ? o.parent = i : delete o.parent, n;
	}
	function m(e) {
		return e.edges().find((t) => e.edge(t).cutvalue < 0);
	}
	function h(e, t, n) {
		var i = n.v, a = n.w;
		t.hasEdge(i, a) || (i = n.w, a = n.v);
		var o = e.node(i), s = e.node(a), c = o, l = !1;
		return o.lim > s.lim && (c = s, l = !0), t.edges().filter((t) => l === y(e, e.node(t.v), c) && l !== y(e, e.node(t.w), c)).reduce((e, n) => r(t, n) < r(t, e) ? n : e);
	}
	function g(e, t, n, r) {
		var i = n.v, a = n.w;
		e.removeEdge(i, a), e.setEdge(r.v, r.w, {}), f(e), l(e, t), _(e, t);
	}
	function _(e, t) {
		var n = a(e, e.nodes().find((e) => !t.node(e).parent));
		n = n.slice(1), n.forEach((n) => {
			var r = e.node(n).parent, i = t.edge(n, r), a = !1;
			i || (i = t.edge(r, n), a = !0), t.node(n).rank = t.node(r).rank + (a ? i.minlen : -i.minlen);
		});
	}
	function v(e, t, n) {
		return e.hasEdge(t, n);
	}
	function y(e, t, n) {
		return n.low <= t.lim && t.lim <= n.lim;
	}
}), JH = RH((e, t) => {
	var n = GH().longestPath, r = KH(), i = qH();
	t.exports = a;
	function a(e) {
		var t = e.graph().ranker;
		if (t instanceof Function) return t(e);
		switch (e.graph().ranker) {
			case "network-simplex":
				c(e);
				break;
			case "tight-tree":
				s(e);
				break;
			case "longest-path":
				o(e);
				break;
			case "none": break;
			default: c(e);
		}
	}
	var o = n;
	function s(e) {
		n(e), r(e);
	}
	function c(e) {
		i(e);
	}
}), YH = RH((e, t) => {
	t.exports = n;
	function n(e) {
		let t = i(e);
		e.graph().dummyChains.forEach((n) => {
			let i = e.node(n), a = i.edgeObj, o = r(e, t, a.v, a.w), s = o.path, c = o.lca, l = 0, u = s[l], d = !0;
			for (; n !== a.w;) {
				if (i = e.node(n), d) {
					for (; (u = s[l]) !== c && e.node(u).maxRank < i.rank;) l++;
					u === c && (d = !1);
				}
				if (!d) {
					for (; l < s.length - 1 && e.node(u = s[l + 1]).minRank <= i.rank;) l++;
					u = s[l];
				}
				e.setParent(n, u), n = e.successors(n)[0];
			}
		});
	}
	function r(e, t, n, r) {
		let i = [], a = [], o = Math.min(t[n].low, t[r].low), s = Math.max(t[n].lim, t[r].lim), c, l;
		c = n;
		do
			c = e.parent(c), i.push(c);
		while (c && (t[c].low > o || s > t[c].lim));
		for (l = c, c = r; (c = e.parent(c)) !== l;) a.push(c);
		return {
			path: i.concat(a.reverse()),
			lca: l
		};
	}
	function i(e) {
		let t = {}, n = 0;
		function r(i) {
			let a = n;
			e.children(i).forEach(r), t[i] = {
				low: a,
				lim: n++
			};
		}
		return e.children().forEach(r), t;
	}
}), XH = RH((e, t) => {
	var n = HH();
	t.exports = {
		run: r,
		cleanup: s
	};
	function r(e) {
		let t = n.addDummyNode(e, "root", {}, "_root"), r = a(e), s = Object.values(r), c = n.applyWithChunking(Math.max, s) - 1, l = 2 * c + 1;
		e.graph().nestingRoot = t, e.edges().forEach((t) => e.edge(t).minlen *= l);
		let u = o(e) + 1;
		e.children().forEach((n) => i(e, t, l, u, c, r, n)), e.graph().nodeRankFactor = l;
	}
	function i(e, t, r, a, o, s, c) {
		let l = e.children(c);
		if (!l.length) {
			c !== t && e.setEdge(t, c, {
				weight: 0,
				minlen: r
			});
			return;
		}
		let u = n.addBorderNode(e, "_bt"), d = n.addBorderNode(e, "_bb"), f = e.node(c);
		e.setParent(u, c), f.borderTop = u, e.setParent(d, c), f.borderBottom = d, l.forEach((n) => {
			i(e, t, r, a, o, s, n);
			let l = e.node(n), f = l.borderTop ? l.borderTop : n, p = l.borderBottom ? l.borderBottom : n, m = l.borderTop ? a : 2 * a, h = f === p ? o - s[c] + 1 : 1;
			e.setEdge(u, f, {
				weight: m,
				minlen: h,
				nestingEdge: !0
			}), e.setEdge(p, d, {
				weight: m,
				minlen: h,
				nestingEdge: !0
			});
		}), e.parent(c) || e.setEdge(t, u, {
			weight: 0,
			minlen: o + s[c]
		});
	}
	function a(e) {
		var t = {};
		function n(r, i) {
			var a = e.children(r);
			a && a.length && a.forEach((e) => n(e, i + 1)), t[r] = i;
		}
		return e.children().forEach((e) => n(e, 1)), t;
	}
	function o(e) {
		return e.edges().reduce((t, n) => t + e.edge(n).weight, 0);
	}
	function s(e) {
		var t = e.graph();
		e.removeNode(t.nestingRoot), delete t.nestingRoot, e.edges().forEach((t) => {
			e.edge(t).nestingEdge && e.removeEdge(t);
		});
	}
}), ZH = RH((e, t) => {
	var n = HH();
	t.exports = r;
	function r(e) {
		function t(n) {
			let r = e.children(n), a = e.node(n);
			if (r.length && r.forEach(t), Object.hasOwn(a, "minRank")) {
				a.borderLeft = [], a.borderRight = [];
				for (let t = a.minRank, r = a.maxRank + 1; t < r; ++t) i(e, "borderLeft", "_bl", n, a, t), i(e, "borderRight", "_br", n, a, t);
			}
		}
		e.children().forEach(t);
	}
	function i(e, t, r, i, a, o) {
		let s = {
			width: 0,
			height: 0,
			rank: o,
			borderType: t
		}, c = a[t][o - 1], l = n.addDummyNode(e, "border", s, r);
		a[t][o] = l, e.setParent(l, i), c && e.setEdge(c, l, { weight: 1 });
	}
}), QH = RH((e, t) => {
	t.exports = {
		adjust: n,
		undo: r
	};
	function n(e) {
		let t = e.graph().rankdir.toLowerCase();
		(t === "lr" || t === "rl") && i(e);
	}
	function r(e) {
		let t = e.graph().rankdir.toLowerCase();
		(t === "bt" || t === "rl") && o(e), (t === "lr" || t === "rl") && (c(e), i(e));
	}
	function i(e) {
		e.nodes().forEach((t) => a(e.node(t))), e.edges().forEach((t) => a(e.edge(t)));
	}
	function a(e) {
		let t = e.width;
		e.width = e.height, e.height = t;
	}
	function o(e) {
		e.nodes().forEach((t) => s(e.node(t))), e.edges().forEach((t) => {
			let n = e.edge(t);
			n.points.forEach(s), Object.hasOwn(n, "y") && s(n);
		});
	}
	function s(e) {
		e.y = -e.y;
	}
	function c(e) {
		e.nodes().forEach((t) => l(e.node(t))), e.edges().forEach((t) => {
			let n = e.edge(t);
			n.points.forEach(l), Object.hasOwn(n, "x") && l(n);
		});
	}
	function l(e) {
		let t = e.x;
		e.x = e.y, e.y = t;
	}
}), $H = RH((e, t) => {
	var n = HH();
	t.exports = r;
	function r(e) {
		let t = {}, r = e.nodes().filter((t) => !e.children(t).length), i = r.map((t) => e.node(t).rank), a = n.applyWithChunking(Math.max, i), o = n.range(a + 1).map(() => []);
		function s(n) {
			if (t[n]) return;
			t[n] = !0;
			let r = e.node(n);
			o[r.rank].push(n), e.successors(n).forEach(s);
		}
		return r.sort((t, n) => e.node(t).rank - e.node(n).rank).forEach(s), o;
	}
}), eU = RH((e, t) => {
	var n = HH().zipObject;
	t.exports = r;
	function r(e, t) {
		let n = 0;
		for (let r = 1; r < t.length; ++r) n += i(e, t[r - 1], t[r]);
		return n;
	}
	function i(e, t, r) {
		let i = n(r, r.map((e, t) => t)), a = t.flatMap((t) => e.outEdges(t).map((t) => ({
			pos: i[t.w],
			weight: e.edge(t).weight
		})).sort((e, t) => e.pos - t.pos)), o = 1;
		for (; o < r.length;) o <<= 1;
		let s = 2 * o - 1;
		--o;
		let c = Array(s).fill(0), l = 0;
		return a.forEach((e) => {
			let t = e.pos + o;
			c[t] += e.weight;
			let n = 0;
			for (; t > 0;) t % 2 && (n += c[t + 1]), t = t - 1 >> 1, c[t] += e.weight;
			l += e.weight * n;
		}), l;
	}
}), tU = RH((e, t) => {
	t.exports = n;
	function n(e, t = []) {
		return t.map((t) => {
			let n = e.inEdges(t);
			if (n.length) {
				let r = n.reduce((t, n) => {
					let r = e.edge(n), i = e.node(n.v);
					return {
						sum: t.sum + r.weight * i.order,
						weight: t.weight + r.weight
					};
				}, {
					sum: 0,
					weight: 0
				});
				return {
					v: t,
					barycenter: r.sum / r.weight,
					weight: r.weight
				};
			}
			return { v: t };
		});
	}
}), nU = RH((e, t) => {
	var n = HH();
	t.exports = r;
	function r(e, t) {
		let n = {};
		return e.forEach((e, t) => {
			let r = n[e.v] = {
				indegree: 0,
				in: [],
				out: [],
				vs: [e.v],
				i: t
			};
			e.barycenter !== void 0 && (r.barycenter = e.barycenter, r.weight = e.weight);
		}), t.edges().forEach((e) => {
			let t = n[e.v], r = n[e.w];
			t !== void 0 && r !== void 0 && (r.indegree++, t.out.push(n[e.w]));
		}), i(Object.values(n).filter((e) => !e.indegree));
	}
	function i(e) {
		let t = [];
		function r(e) {
			return (t) => {
				t.merged || (t.barycenter === void 0 || e.barycenter === void 0 || t.barycenter >= e.barycenter) && a(e, t);
			};
		}
		function i(t) {
			return (n) => {
				n.in.push(t), --n.indegree === 0 && e.push(n);
			};
		}
		for (; e.length;) {
			let n = e.pop();
			t.push(n), n.in.reverse().forEach(r(n)), n.out.forEach(i(n));
		}
		return t.filter((e) => !e.merged).map((e) => n.pick(e, [
			"vs",
			"i",
			"barycenter",
			"weight"
		]));
	}
	function a(e, t) {
		let n = 0, r = 0;
		e.weight && (n += e.barycenter * e.weight, r += e.weight), t.weight && (n += t.barycenter * t.weight, r += t.weight), e.vs = t.vs.concat(e.vs), e.barycenter = n / r, e.weight = r, e.i = Math.min(t.i, e.i), t.merged = !0;
	}
}), rU = RH((e, t) => {
	var n = HH();
	t.exports = r;
	function r(e, t) {
		let r = n.partition(e, (e) => Object.hasOwn(e, "barycenter")), o = r.lhs, s = r.rhs.sort((e, t) => t.i - e.i), c = [], l = 0, u = 0, d = 0;
		o.sort(a(!!t)), d = i(c, s, d), o.forEach((e) => {
			d += e.vs.length, c.push(e.vs), l += e.barycenter * e.weight, u += e.weight, d = i(c, s, d);
		});
		let f = { vs: c.flat(!0) };
		return u && (f.barycenter = l / u, f.weight = u), f;
	}
	function i(e, t, n) {
		let r;
		for (; t.length && (r = t[t.length - 1]).i <= n;) t.pop(), e.push(r.vs), n++;
		return n;
	}
	function a(e) {
		return (t, n) => t.barycenter < n.barycenter ? -1 : t.barycenter > n.barycenter ? 1 : e ? n.i - t.i : t.i - n.i;
	}
}), iU = RH((e, t) => {
	var n = tU(), r = nU(), i = rU();
	t.exports = a;
	function a(e, t, c, l) {
		let u = e.children(t), d = e.node(t), f = d ? d.borderLeft : void 0, p = d ? d.borderRight : void 0, m = {};
		f && (u = u.filter((e) => e !== f && e !== p));
		let h = n(e, u);
		h.forEach((t) => {
			if (e.children(t.v).length) {
				let n = a(e, t.v, c, l);
				m[t.v] = n, Object.hasOwn(n, "barycenter") && s(t, n);
			}
		});
		let g = r(h, c);
		o(g, m);
		let _ = i(g, l);
		if (f && (_.vs = [
			f,
			_.vs,
			p
		].flat(!0), e.predecessors(f).length)) {
			let t = e.node(e.predecessors(f)[0]), n = e.node(e.predecessors(p)[0]);
			Object.hasOwn(_, "barycenter") || (_.barycenter = 0, _.weight = 0), _.barycenter = (_.barycenter * _.weight + t.order + n.order) / (_.weight + 2), _.weight += 2;
		}
		return _;
	}
	function o(e, t) {
		e.forEach((e) => {
			e.vs = e.vs.flatMap((e) => t[e] ? t[e].vs : e);
		});
	}
	function s(e, t) {
		e.barycenter === void 0 ? (e.barycenter = t.barycenter, e.weight = t.weight) : (e.barycenter = (e.barycenter * e.weight + t.barycenter * t.weight) / (e.weight + t.weight), e.weight += t.weight);
	}
}), aU = RH((e, t) => {
	var n = zH().Graph, r = HH();
	t.exports = i;
	function i(e, t, r, i) {
		i ||= e.nodes();
		let o = a(e), s = new n({ compound: !0 }).setGraph({ root: o }).setDefaultNodeLabel((t) => e.node(t));
		return i.forEach((n) => {
			let i = e.node(n), a = e.parent(n);
			(i.rank === t || i.minRank <= t && t <= i.maxRank) && (s.setNode(n), s.setParent(n, a || o), e[r](n).forEach((t) => {
				let r = t.v === n ? t.w : t.v, i = s.edge(r, n), a = i === void 0 ? 0 : i.weight;
				s.setEdge(r, n, { weight: e.edge(t).weight + a });
			}), Object.hasOwn(i, "minRank") && s.setNode(n, {
				borderLeft: i.borderLeft[t],
				borderRight: i.borderRight[t]
			}));
		}), s;
	}
	function a(e) {
		for (var t; e.hasNode(t = r.uniqueId("_root")););
		return t;
	}
}), oU = RH((e, t) => {
	t.exports = n;
	function n(e, t, n) {
		let r = {}, i;
		n.forEach((n) => {
			let a = e.parent(n), o, s;
			for (; a;) {
				if (o = e.parent(a), o ? (s = r[o], r[o] = a) : (s = i, i = a), s && s !== a) {
					t.setEdge(s, a);
					return;
				}
				a = o;
			}
		});
	}
}), sU = RH((e, t) => {
	var n = $H(), r = eU(), i = iU(), a = aU(), o = oU(), s = zH().Graph, c = HH();
	t.exports = l;
	function l(e, t = {}) {
		if (typeof t.customOrder == "function") {
			t.customOrder(e, l);
			return;
		}
		let i = c.maxRank(e), a = u(e, c.range(1, i + 1), "inEdges"), o = u(e, c.range(i - 1, -1, -1), "outEdges"), s = n(e);
		if (f(e, s), t.disableOptimalOrderHeuristic) return;
		let p = Infinity, m, h = t.constraints || [];
		for (let t = 0, n = 0; n < 4; ++t, ++n) {
			d(t % 2 ? a : o, t % 4 >= 2, h), s = c.buildLayerMatrix(e);
			let i = r(e, s);
			i < p ? (n = 0, m = Object.assign({}, s), p = i) : i === p && (m = structuredClone(s));
		}
		f(e, m);
	}
	function u(e, t, n) {
		let r = /* @__PURE__ */ new Map(), i = (e, t) => {
			r.has(e) || r.set(e, []), r.get(e).push(t);
		};
		for (let t of e.nodes()) {
			let n = e.node(t);
			if (typeof n.rank == "number" && i(n.rank, t), typeof n.minRank == "number" && typeof n.maxRank == "number") for (let e = n.minRank; e <= n.maxRank; e++) e !== n.rank && i(e, t);
		}
		return t.map(function(t) {
			return a(e, t, n, r.get(t) || []);
		});
	}
	function d(e, t, n) {
		let r = new s();
		e.forEach(function(e) {
			n.forEach((e) => r.setEdge(e.left, e.right));
			let a = e.graph().root, s = i(e, a, r, t);
			s.vs.forEach((t, n) => e.node(t).order = n), o(e, r, s.vs);
		});
	}
	function f(e, t) {
		Object.values(t).forEach((t) => t.forEach((t, n) => e.node(t).order = n));
	}
}), cU = RH((e, t) => {
	var n = zH().Graph, r = HH();
	t.exports = {
		positionX: h,
		findType1Conflicts: i,
		findType2Conflicts: a,
		addConflict: s,
		hasConflict: c,
		verticalAlignment: l,
		horizontalCompaction: u,
		alignCoordinates: p,
		findSmallestWidthAlignment: f,
		balance: m
	};
	function i(e, t) {
		let n = {};
		function r(t, r) {
			let i = 0, a = 0, c = t.length, l = r[r.length - 1];
			return r.forEach((t, u) => {
				let d = o(e, t), f = d ? e.node(d).order : c;
				(d || t === l) && (r.slice(a, u + 1).forEach((t) => {
					e.predecessors(t).forEach((r) => {
						let a = e.node(r), o = a.order;
						(o < i || f < o) && !(a.dummy && e.node(t).dummy) && s(n, r, t);
					});
				}), a = u + 1, i = f);
			}), r;
		}
		return t.length && t.reduce(r), n;
	}
	function a(e, t) {
		let n = {};
		function i(t, i, a, o, c) {
			let l;
			r.range(i, a).forEach((r) => {
				l = t[r], e.node(l).dummy && e.predecessors(l).forEach((t) => {
					let r = e.node(t);
					r.dummy && (r.order < o || r.order > c) && s(n, t, l);
				});
			});
		}
		function a(t, n) {
			let r = -1, a, o = 0;
			return n.forEach((s, c) => {
				if (e.node(s).dummy === "border") {
					let t = e.predecessors(s);
					t.length && (a = e.node(t[0]).order, i(n, o, c, r, a), o = c, r = a);
				}
				i(n, o, n.length, a, t.length);
			}), n;
		}
		return t.length && t.reduce(a), n;
	}
	function o(e, t) {
		if (e.node(t).dummy) return e.predecessors(t).find((t) => e.node(t).dummy);
	}
	function s(e, t, n) {
		if (t > n) {
			let e = t;
			t = n, n = e;
		}
		let r = e[t];
		r || (e[t] = r = {}), r[n] = !0;
	}
	function c(e, t, n) {
		if (t > n) {
			let e = t;
			t = n, n = e;
		}
		return !!e[t] && Object.hasOwn(e[t], n);
	}
	function l(e, t, n, r) {
		let i = {}, a = {}, o = {};
		return t.forEach((e) => {
			e.forEach((e, t) => {
				i[e] = e, a[e] = e, o[e] = t;
			});
		}), t.forEach((e) => {
			let t = -1;
			e.forEach((e) => {
				let s = r(e);
				if (s.length) {
					s = s.sort((e, t) => o[e] - o[t]);
					let r = (s.length - 1) / 2;
					for (let l = Math.floor(r), u = Math.ceil(r); l <= u; ++l) {
						let r = s[l];
						a[e] === e && t < o[r] && !c(n, e, r) && (a[r] = e, a[e] = i[e] = i[r], t = o[r]);
					}
				}
			});
		}), {
			root: i,
			align: a
		};
	}
	function u(e, t, n, r, i) {
		let a = {}, o = d(e, t, n, i), s = i ? "borderLeft" : "borderRight";
		function c(e, t) {
			let n = o.nodes().slice(), r = {}, i = n.pop();
			for (; i;) {
				if (r[i]) e(i);
				else {
					r[i] = !0, n.push(i);
					for (let e of t(i)) n.push(e);
				}
				i = n.pop();
			}
		}
		function l(e) {
			a[e] = o.inEdges(e).reduce((e, t) => Math.max(e, a[t.v] + o.edge(t)), 0);
		}
		function u(t) {
			let n = o.outEdges(t).reduce((e, t) => Math.min(e, a[t.w] - o.edge(t)), Infinity), r = e.node(t);
			n !== Infinity && r.borderType !== s && (a[t] = Math.max(a[t], n));
		}
		return c(l, o.predecessors.bind(o)), c(u, o.successors.bind(o)), Object.keys(r).forEach((e) => a[e] = a[n[e]]), a;
	}
	function d(e, t, r, i) {
		let a = new n(), o = e.graph(), s = g(o.nodesep, o.edgesep, i);
		return t.forEach((t) => {
			let n;
			t.forEach((t) => {
				let i = r[t];
				if (a.setNode(i), n) {
					var o = r[n], c = a.edge(o, i);
					a.setEdge(o, i, Math.max(s(e, t, n), c || 0));
				}
				n = t;
			});
		}), a;
	}
	function f(e, t) {
		return Object.values(t).reduce((t, n) => {
			let r = -Infinity, i = Infinity;
			Object.entries(n).forEach(([t, n]) => {
				let a = _(e, t) / 2;
				r = Math.max(n + a, r), i = Math.min(n - a, i);
			});
			let a = r - i;
			return a < t[0] && (t = [a, n]), t;
		}, [Infinity, null])[1];
	}
	function p(e, t) {
		let n = Object.values(t), i = r.applyWithChunking(Math.min, n), a = r.applyWithChunking(Math.max, n);
		["u", "d"].forEach((n) => {
			["l", "r"].forEach((o) => {
				let s = n + o, c = e[s];
				if (c === t) return;
				let l = Object.values(c), u = i - r.applyWithChunking(Math.min, l);
				o !== "l" && (u = a - r.applyWithChunking(Math.max, l)), u && (e[s] = r.mapValues(c, (e) => e + u));
			});
		});
	}
	function m(e, t) {
		return r.mapValues(e.ul, (n, r) => {
			if (t) return e[t.toLowerCase()][r];
			{
				let t = Object.values(e).map((e) => e[r]).sort((e, t) => e - t);
				return (t[1] + t[2]) / 2;
			}
		});
	}
	function h(e) {
		let t = r.buildLayerMatrix(e), n = Object.assign(i(e, t), a(e, t)), o = {}, s;
		return ["u", "d"].forEach((i) => {
			s = i === "u" ? t : Object.values(t).reverse(), ["l", "r"].forEach((t) => {
				t === "r" && (s = s.map((e) => Object.values(e).reverse()));
				let a = (i === "u" ? e.predecessors : e.successors).bind(e), c = l(e, s, n, a), d = u(e, s, c.root, c.align, t === "r");
				t === "r" && (d = r.mapValues(d, (e) => -e)), o[i + t] = d;
			});
		}), p(o, f(e, o)), m(o, e.graph().align);
	}
	function g(e, t, n) {
		return (r, i, a) => {
			let o = r.node(i), s = r.node(a), c = 0, l;
			if (c += o.width / 2, Object.hasOwn(o, "labelpos")) switch (o.labelpos.toLowerCase()) {
				case "l":
					l = -o.width / 2;
					break;
				case "r": l = o.width / 2;
			}
			if (l && (c += n ? l : -l), l = 0, c += (o.dummy ? t : e) / 2, c += (s.dummy ? t : e) / 2, c += s.width / 2, Object.hasOwn(s, "labelpos")) switch (s.labelpos.toLowerCase()) {
				case "l":
					l = s.width / 2;
					break;
				case "r": l = -s.width / 2;
			}
			return l && (c += n ? l : -l), l = 0, c;
		};
	}
	function _(e, t) {
		return e.node(t).width;
	}
}), lU = RH((e, t) => {
	var n = HH(), r = cU().positionX;
	t.exports = i;
	function i(e) {
		e = n.asNonCompoundGraph(e), a(e), Object.entries(r(e)).forEach(([t, n]) => e.node(t).x = n);
	}
	function a(e) {
		let t = n.buildLayerMatrix(e), r = e.graph().ranksep, i = e.graph().rankalign, a = 0;
		t.forEach((t) => {
			let n = t.reduce((t, n) => {
				let r = e.node(n).height;
				return t > r ? t : r;
			}, 0);
			t.forEach((t) => {
				let r = e.node(t);
				r.y = i === "top" ? a + r.height / 2 : i === "bottom" ? a + n - r.height / 2 : a + n / 2;
			}), a += n + r;
		});
	}
}), uU = RH((e, t) => {
	var n = UH(), r = WH(), i = JH(), a = HH().normalizeRanks, o = YH(), s = HH().removeEmptyRanks, c = XH(), l = ZH(), u = QH(), d = sU(), f = lU(), p = HH(), m = zH().Graph;
	t.exports = h;
	function h(e, t = {}) {
		let n = t.debugTiming ? p.time : p.notime;
		return n("layout", () => {
			let r = n("  buildLayoutGraph", () => E(e));
			return n("  runLayout", () => g(r, n, t)), n("  updateInputGraph", () => _(e, r)), r;
		});
	}
	function g(e, t, m) {
		t("    makeSpaceForEdgeLabels", () => D(e)), t("    removeSelfEdges", () => P(e)), t("    acyclic", () => n.run(e)), t("    nestingGraph.run", () => c.run(e)), t("    rank", () => i(p.asNonCompoundGraph(e))), t("    injectEdgeLabelProxies", () => O(e)), t("    removeEmptyRanks", () => s(e)), t("    nestingGraph.cleanup", () => c.cleanup(e)), t("    normalizeRanks", () => a(e)), t("    assignRankMinMax", () => k(e)), t("    removeEdgeLabelProxies", () => A(e)), t("    normalize.run", () => r.run(e)), t("    parentDummyChains", () => o(e)), t("    addBorderSegments", () => l(e)), t("    order", () => d(e, m)), t("    insertSelfEdges", () => ne(e)), t("    adjustCoordinateSystem", () => u.adjust(e)), t("    position", () => f(e)), t("    positionSelfEdges", () => re(e)), t("    removeBorderNodes", () => te(e)), t("    normalize.undo", () => r.undo(e)), t("    fixupEdgeLabelCoords", () => M(e)), t("    undoCoordinateSystem", () => u.undo(e)), t("    translateGraph", () => ee(e)), t("    assignNodeIntersects", () => j(e)), t("    reversePoints", () => N(e)), t("    acyclic.undo", () => n.undo(e));
	}
	function _(e, t) {
		e.nodes().forEach((n) => {
			let r = e.node(n), i = t.node(n);
			r && (r.x = i.x, r.y = i.y, r.order = i.order, r.rank = i.rank, t.children(n).length && (r.width = i.width, r.height = i.height));
		}), e.edges().forEach((n) => {
			let r = e.edge(n), i = t.edge(n);
			r.points = i.points, Object.hasOwn(i, "x") && (r.x = i.x, r.y = i.y);
		}), e.graph().width = t.graph().width, e.graph().height = t.graph().height;
	}
	var v = [
		"nodesep",
		"edgesep",
		"ranksep",
		"marginx",
		"marginy"
	], y = {
		ranksep: 50,
		edgesep: 20,
		nodesep: 50,
		rankdir: "tb",
		rankalign: "center"
	}, b = [
		"acyclicer",
		"ranker",
		"rankdir",
		"align",
		"rankalign"
	], x = [
		"width",
		"height",
		"rank"
	], S = {
		width: 0,
		height: 0
	}, C = [
		"minlen",
		"weight",
		"width",
		"height",
		"labeloffset"
	], w = {
		minlen: 1,
		weight: 1,
		width: 0,
		height: 0,
		labeloffset: 10,
		labelpos: "r"
	}, T = ["labelpos"];
	function E(e) {
		let t = new m({
			multigraph: !0,
			compound: !0
		}), n = ae(e.graph());
		return t.setGraph(Object.assign({}, y, ie(n, v), p.pick(n, b))), e.nodes().forEach((n) => {
			let r = ie(ae(e.node(n)), x);
			Object.keys(S).forEach((e) => {
				r[e] === void 0 && (r[e] = S[e]);
			}), t.setNode(n, r), t.setParent(n, e.parent(n));
		}), e.edges().forEach((n) => {
			let r = ae(e.edge(n));
			t.setEdge(n, Object.assign({}, w, ie(r, C), p.pick(r, T)));
		}), t;
	}
	function D(e) {
		let t = e.graph();
		t.ranksep /= 2, e.edges().forEach((n) => {
			let r = e.edge(n);
			r.minlen *= 2, r.labelpos.toLowerCase() !== "c" && (t.rankdir === "TB" || t.rankdir === "BT" ? r.width += r.labeloffset : r.height += r.labeloffset);
		});
	}
	function O(e) {
		e.edges().forEach((t) => {
			let n = e.edge(t);
			if (n.width && n.height) {
				let n = e.node(t.v), r = {
					rank: (e.node(t.w).rank - n.rank) / 2 + n.rank,
					e: t
				};
				p.addDummyNode(e, "edge-proxy", r, "_ep");
			}
		});
	}
	function k(e) {
		let t = 0;
		e.nodes().forEach((n) => {
			let r = e.node(n);
			r.borderTop && (r.minRank = e.node(r.borderTop).rank, r.maxRank = e.node(r.borderBottom).rank, t = Math.max(t, r.maxRank));
		}), e.graph().maxRank = t;
	}
	function A(e) {
		e.nodes().forEach((t) => {
			let n = e.node(t);
			n.dummy === "edge-proxy" && (e.edge(n.e).labelRank = n.rank, e.removeNode(t));
		});
	}
	function ee(e) {
		let t = Infinity, n = 0, r = Infinity, i = 0, a = e.graph(), o = a.marginx || 0, s = a.marginy || 0;
		function c(e) {
			let a = e.x, o = e.y, s = e.width, c = e.height;
			t = Math.min(t, a - s / 2), n = Math.max(n, a + s / 2), r = Math.min(r, o - c / 2), i = Math.max(i, o + c / 2);
		}
		e.nodes().forEach((t) => c(e.node(t))), e.edges().forEach((t) => {
			let n = e.edge(t);
			Object.hasOwn(n, "x") && c(n);
		}), t -= o, r -= s, e.nodes().forEach((n) => {
			let i = e.node(n);
			i.x -= t, i.y -= r;
		}), e.edges().forEach((n) => {
			let i = e.edge(n);
			i.points.forEach((e) => {
				e.x -= t, e.y -= r;
			}), Object.hasOwn(i, "x") && (i.x -= t), Object.hasOwn(i, "y") && (i.y -= r);
		}), a.width = n - t + o, a.height = i - r + s;
	}
	function j(e) {
		e.edges().forEach((t) => {
			let n = e.edge(t), r = e.node(t.v), i = e.node(t.w), a, o;
			n.points ? (a = n.points[0], o = n.points[n.points.length - 1]) : (n.points = [], a = i, o = r), n.points.unshift(p.intersectRect(r, a)), n.points.push(p.intersectRect(i, o));
		});
	}
	function M(e) {
		e.edges().forEach((t) => {
			let n = e.edge(t);
			if (Object.hasOwn(n, "x")) switch ((n.labelpos === "l" || n.labelpos === "r") && (n.width -= n.labeloffset), n.labelpos) {
				case "l":
					n.x -= n.width / 2 + n.labeloffset;
					break;
				case "r": n.x += n.width / 2 + n.labeloffset;
			}
		});
	}
	function N(e) {
		e.edges().forEach((t) => {
			let n = e.edge(t);
			n.reversed && n.points.reverse();
		});
	}
	function te(e) {
		e.nodes().forEach((t) => {
			if (e.children(t).length) {
				let n = e.node(t), r = e.node(n.borderTop), i = e.node(n.borderBottom), a = e.node(n.borderLeft[n.borderLeft.length - 1]), o = e.node(n.borderRight[n.borderRight.length - 1]);
				n.width = Math.abs(o.x - a.x), n.height = Math.abs(i.y - r.y), n.x = a.x + n.width / 2, n.y = r.y + n.height / 2;
			}
		}), e.nodes().forEach((t) => {
			e.node(t).dummy === "border" && e.removeNode(t);
		});
	}
	function P(e) {
		e.edges().forEach((t) => {
			if (t.v === t.w) {
				var n = e.node(t.v);
				n.selfEdges ||= [], n.selfEdges.push({
					e: t,
					label: e.edge(t)
				}), e.removeEdge(t);
			}
		});
	}
	function ne(e) {
		p.buildLayerMatrix(e).forEach((t) => {
			var n = 0;
			t.forEach((t, r) => {
				var i = e.node(t);
				i.order = r + n, (i.selfEdges || []).forEach((t) => {
					p.addDummyNode(e, "selfedge", {
						width: t.label.width,
						height: t.label.height,
						rank: i.rank,
						order: r + ++n,
						e: t.e,
						label: t.label
					}, "_se");
				}), delete i.selfEdges;
			});
		});
	}
	function re(e) {
		e.nodes().forEach((t) => {
			var n = e.node(t);
			if (n.dummy === "selfedge") {
				var r = e.node(n.e.v), i = r.x + r.width / 2, a = r.y, o = n.x - i, s = r.height / 2;
				e.setEdge(n.e, n.label), e.removeNode(t), n.label.points = [
					{
						x: i + 2 * o / 3,
						y: a - s
					},
					{
						x: i + 5 * o / 6,
						y: a - s
					},
					{
						x: i + o,
						y: a
					},
					{
						x: i + 5 * o / 6,
						y: a + s
					},
					{
						x: i + 2 * o / 3,
						y: a + s
					}
				], n.label.x = n.x, n.label.y = n.y;
			}
		});
	}
	function ie(e, t) {
		return p.mapValues(p.pick(e, t), Number);
	}
	function ae(e) {
		var t = {};
		return e && Object.entries(e).forEach(([e, n]) => {
			typeof e == "string" && (e = e.toLowerCase()), t[e] = n;
		}), t;
	}
}), dU = RH((e, t) => {
	var n = HH(), r = zH().Graph;
	t.exports = { debugOrdering: i };
	function i(e) {
		let t = n.buildLayerMatrix(e), i = new r({
			compound: !0,
			multigraph: !0
		}).setGraph({});
		return e.nodes().forEach((t) => {
			i.setNode(t, { label: t }), i.setParent(t, "layer" + e.node(t).rank);
		}), e.edges().forEach((e) => i.setEdge(e.v, e.w, {}, e.name)), t.forEach((e, t) => {
			let n = "layer" + t;
			i.setNode(n, { rank: "same" }), e.reduce((e, t) => (i.setEdge(e, t, { style: "invis" }), t));
		}), i;
	}
}), fU = RH((e, t) => {
	t.exports = "2.0.4";
}), pU = RH((e, t) => {
	t.exports = {
		graphlib: zH(),
		layout: uU(),
		debug: dU(),
		util: {
			time: HH().time,
			notime: HH().notime
		},
		version: fU()
	};
})();
// src/components/flow.tsx
function mU(e, t, n = .5) {
	let r = e.x + (t.x - e.x) * n;
	return [
		e,
		{
			x: r,
			y: e.y
		},
		{
			x: r,
			y: t.y
		},
		t
	];
}
function hU([e, t, n, r], i = 12) {
	let a = Math.min(i, Math.abs(t.x - e.x), Math.abs(n.y - t.y)), o = Math.min(i, Math.abs(n.y - t.y), Math.abs(r.x - n.x)), s = {
		x: t.x - Math.sign(t.x - e.x) * a,
		y: t.y
	}, c = {
		x: t.x,
		y: t.y + Math.sign(n.y - t.y) * a
	}, l = {
		x: n.x,
		y: n.y - Math.sign(n.y - t.y) * o
	}, u = {
		x: n.x + Math.sign(r.x - n.x) * o,
		y: n.y
	};
	return [
		`M ${e.x} ${e.y}`,
		`L ${s.x} ${s.y}`,
		`Q ${t.x} ${t.y} ${c.x} ${c.y}`,
		`L ${l.x} ${l.y}`,
		`Q ${n.x} ${n.y} ${u.x} ${u.y}`,
		`L ${r.x} ${r.y}`
	].join(" ");
}
var gU = .2, _U = 3, vU = .02, yU = (e) => {
	let [t, n] = U(!1), [r, i] = U(!1), a = H(null), o = H(null), [s, c] = U({
		x: 0,
		y: 0,
		scale: 1
	}), [l, u] = U({}), [d, f, p, m] = V(() => {
		if (Object.keys(l).length === 0) return [
			e.nodes.map((e) => ({
				...e,
				x: 0,
				y: 0,
				width: 0,
				height: 0,
				isCluster: !1
			})),
			[],
			{
				width: 0,
				height: 0
			},
			null
		];
		let t = new pU.graphlib.Graph({ compound: !0 }).setGraph({
			rankdir: "LR",
			align: "UL",
			ranksep: e.gapX ?? 48,
			nodesep: e.gapY ?? 48,
			marginx: e.margin ?? 32,
			marginy: e.margin ?? 64,
			graph: "tight-tree"
		}).setDefaultEdgeLabel(() => ({}));
		for (let n of e.nodes) t.setNode(n.id, {
			width: l[n.id]?.width,
			height: l[n.id]?.height
		});
		for (let n of e.nodes) if (n.next) for (let e of n.next) t.setEdge(n.id, e);
		pU.layout(t);
		let n = t.graph();
		return [
			e.nodes.map((e) => {
				let n = t.node(e.id);
				return {
					...e,
					x: n?.x ?? 0,
					y: n?.y ?? 0,
					width: n?.width ?? 0,
					height: n?.height ?? 0
				};
			}),
			t.edges().map((e) => ({
				from: e.v,
				to: e.w
			})),
			{
				width: n.width,
				height: n.height
			},
			t
		];
	}, [
		l,
		e.nodes,
		e.margin,
		e.gapX
	]), h = H(e.onGraphLayout);
	h.current = e.onGraphLayout, B(() => {
		m && h.current?.(m);
	}, [m]);
	let g = z((t) => {
		if (!e.disableGestures && (t.ctrlKey || t.metaKey)) {
			let e = t.currentTarget.getBoundingClientRect(), n = t.clientX - e.left, r = t.clientY - e.top;
			c((e) => {
				let i = Math.exp(-t.deltaY * vU), a = Math.max(gU, Math.min(_U, e.scale * i)), o = a / e.scale;
				return {
					x: n - (n - e.x) * o,
					y: r - (r - e.y) * o,
					scale: a
				};
			});
		}
	}, [e.disableGestures]), _ = z(() => {
		i(!1), o.current = null;
	}, []), v = z((t) => {
		if (!a.current || !t.nativeEvent.composedPath().includes(a.current) || e.disableGestures) return;
		t.preventDefault(), i(!0), o.current = {
			x: t.clientX,
			y: t.clientY
		};
		function r() {
			_(), n(!1);
		}
		return document.addEventListener("mouseup", r), () => {
			document.removeEventListener("mouseup", r);
		};
	}, [e.disableGestures]), y = z((t) => {
		if (e.disableGestures || !r || !o.current) return;
		let n = t.clientX - o.current.x, i = t.clientY - o.current.y;
		o.current = {
			x: t.clientX,
			y: t.clientY
		}, c((e) => ({
			...e,
			x: e.x + n,
			y: e.y + i
		}));
	}, [r, e.disableGestures]), b = z(() => {
		let { width: e, height: t } = p, n = a.current;
		if (!n) return;
		let { width: r, height: i } = n.getBoundingClientRect();
		console.log({
			container: n,
			containerWidth: r,
			containerHeight: i,
			width: e,
			height: t
		});
		let o = Math.min(_U, Math.max(gU, Math.min(r / e, i / t)));
		c((n) => ({
			...n,
			scale: o,
			x: r / 2 - e * o / 2,
			y: i / 2 - t * o / 2
		}));
	}, [p]);
	return B(() => {
		if (e.disableGestures || !a.current) return;
		let t = a.current, n = (e) => {
			e.preventDefault();
		};
		return t.addEventListener("gesturestart", n, { passive: !1 }), t.addEventListener("gesturechange", n, { passive: !1 }), t.addEventListener("gestureend", n, { passive: !1 }), t.addEventListener("wheel", n, { passive: !1 }), () => {
			t.removeEventListener("gesturestart", n), t.removeEventListener("gesturechange", n), t.removeEventListener("gestureend", n), t.removeEventListener("wheel", n);
		};
	}, [e.disableGestures]), B(() => {
		if (e.disableGestures) return;
		let n = (e) => {
			t && (e.metaKey || e.ctrlKey) && [
				"+",
				"-",
				"=",
				"0"
			].includes(e.key) && e.preventDefault();
		};
		return window.addEventListener("keydown", n), () => {
			window.removeEventListener("keydown", n);
		};
	}, [t, e.disableGestures]), /* @__PURE__ */ q("div", {
		ref: a,
		className: X("relative h-full w-full touch-none bg-background", {
			"cursor-grab": !e.disableGestures && !r,
			"cursor-grabbing": !e.disableGestures && r
		}, e.containerClassName),
		onWheel: g,
		onMouseDown: v,
		onMouseMove: y,
		onMouseLeave: () => {
			_(), n(!1);
		},
		onMouseEnter: () => n(!0),
		children: [
			!e.disableBackground && /* @__PURE__ */ K("div", { className: "absolute inset-0 h-full w-full bg-[radial-gradient(hsl(var(--border))_1px,transparent_1px)] bg-size-[16px_16px] opacity-50" }),
			/* @__PURE__ */ q("div", {
				className: X("relative", e.className),
				style: {
					width: p.width,
					height: p.height,
					transform: `translate(${s.x}px, ${s.y}px) scale(${s.scale})`,
					transformOrigin: "0 0"
				},
				children: [d.map((e) => {
					let t = !!e.next?.length, n = d.some((t) => t.next?.includes(e.id)), r = !!(e.content && e.content({ node: e })), i = !!e.children?.length;
					return /* @__PURE__ */ q("div", {
						ref: (t) => {
							t && !l[e.id] && u((n) => ({
								...n,
								[e.id]: {
									width: t.clientWidth,
									height: t.clientHeight
								}
							}));
						},
						className: X("transition-color absolute flex grid min-w-72 grid-cols-1 grid-rows-1 justify-start gap-2 rounded-lg border bg-card p-2 text-sm shadow-sm", {
							"w-72": !i,
							"grid-rows-[auto_1fr]": r || i,
							"grid-rows-[auto_auto_1fr]": r && i,
							"rounded-xl border-dashed bg-transparent shadow-none": i
						}),
						style: {
							left: e.x - e.width / 2,
							top: e.y - e.height / 2,
							minWidth: Math.min(Math.max(e.width, 256), e.maxWidth ?? Infinity),
							minHeight: e.height,
							maxWidth: e.maxWidth
						},
						children: [
							/* @__PURE__ */ q("div", {
								className: "flex w-full items-center gap-2",
								children: [
									e.icon ? e.icon({ className: "size-4 text-secondary-foreground" }) : null,
									/* @__PURE__ */ K("span", {
										className: "font-medium",
										children: e.title
									}),
									/* @__PURE__ */ K("div", {
										className: "ml-auto",
										children: e.headerSuffix ? e.headerSuffix({ node: e }) : null
									})
								]
							}),
							/* @__PURE__ */ K("div", {
								className: "w-full rounded-sm bg-secondary p-2 empty:hidden",
								children: e.content ? e.content({ node: e }) : null
							}),
							!!e.children?.length && /* @__PURE__ */ K("div", {
								className: "size-full rounded-sm",
								children: /* @__PURE__ */ K(yU, {
									nodes: e.children,
									margin: 0,
									gapX: 24,
									gapY: 16,
									onGraphLayout: (t) => {
										let { width: n, height: r } = t.graph(), i = {
											width: n + 20,
											height: e.height + r + 4
										};
										u((t) => {
											let n = t[e.id];
											return n?.width === i.width && n?.height === i.height ? t : {
												...t,
												[e.id]: i
											};
										});
									},
									disableBackground: !0,
									disableGestures: !0,
									className: "bg-transparent",
									isChild: !0
								})
							}),
							t && /* @__PURE__ */ K("div", { className: "absolute top-1/2 left-full size-2 -translate-x-1/2 -translate-y-1/2 rounded-full border-2 border-border bg-background transition-all" }),
							n && /* @__PURE__ */ K("div", { className: "absolute top-1/2 left-0 size-2 -translate-x-1/2 -translate-y-1/2 rounded-full border-2 border-border bg-background transition-all" })
						]
					}, e.id);
				}), /* @__PURE__ */ K("svg", {
					className: "pointer-events-none absolute top-0 left-0 -z-10",
					style: {
						width: p.width,
						height: p.height
					},
					children: f.filter(Boolean).map((e) => {
						let t = d.find((t) => t.id === e.from), n = d.find((t) => t.id === e.to);
						return !t || !n ? null : /* @__PURE__ */ K("path", {
							className: "animate-dash transition-color animate-[dash_500ms_linear_infinite] fill-none stroke-border stroke-2 [stroke-dasharray:12_8]",
							d: hU(mU({
								x: t.x + t.width / 2,
								y: t.y
							}, {
								x: n.x - n.width / 2,
								y: n.y
							}), 4)
						}, e.from + e.to);
					})
				})]
			}),
			!e.isChild && /* @__PURE__ */ K("div", {
				className: "absolute top-4 left-4 z-10 flex items-center gap-2",
				children: /* @__PURE__ */ q("div", {
					className: "grid w-96 grid-cols-[1fr_auto_auto] items-center gap-2 rounded-lg border bg-card p-2 shadow-sm",
					children: [
						/* @__PURE__ */ q("div", {
							className: "flex flex-1 items-center gap-2",
							children: [
								/* @__PURE__ */ q(RA, { children: [/* @__PURE__ */ K(zA, {
									asChild: !0,
									children: /* @__PURE__ */ K(Q, {
										variant: "ghost",
										size: "icon-sm",
										onClick: () => c((e) => ({
											...e,
											scale: e.scale - vU
										})),
										children: /* @__PURE__ */ K(Lr, { className: "size-4" })
									})
								}), /* @__PURE__ */ K(BA, { children: "Zoom out" })] }),
								/* @__PURE__ */ K(LH, {
									value: [s.scale],
									onValueChange: (e) => c((t) => ({
										...t,
										scale: e[0]
									})),
									min: gU,
									max: _U,
									step: vU
								}),
								/* @__PURE__ */ q(RA, { children: [/* @__PURE__ */ K(zA, {
									asChild: !0,
									children: /* @__PURE__ */ K(Q, {
										variant: "ghost",
										size: "icon-sm",
										onClick: () => c((e) => ({
											...e,
											scale: e.scale + vU
										})),
										children: /* @__PURE__ */ K(Ir, { className: "size-4" })
									})
								}), /* @__PURE__ */ K(BA, { children: "Zoom in" })] })
							]
						}),
						/* @__PURE__ */ K(yD, {
							orientation: "vertical",
							className: "h-6!"
						}),
						/* @__PURE__ */ q(Q, {
							variant: "ghost",
							size: "sm",
							onClick: b,
							children: [/* @__PURE__ */ K(dr, { className: "size-4" }), "Fit in view"]
						})
					]
				})
			})
		]
	});
};
// src/lib/query-plan/utils.tsx
function bU(e) {
	return "  ".repeat(e);
}
function xU(e) {
	return e ? Array.isArray(e) ? e : Array.from(e) : [];
}
function SU(e) {
	return !!e && typeof e == "object" && !Array.isArray(e);
}
function CU(e) {
	return e === "@" ? "@" : SU(e) && "Field" in e ? String(e.Field) : SU(e) && "TypeCondition" in e ? `|[${xU(e.TypeCondition).join("|")}]` : (0, po.isArray)(e) ? wU(e) : String(e);
}
function wU(e) {
	let t = "";
	for (let n = 0; n < e.length; n++) {
		let r = e[n], i = e[n + 1];
		t += CU(r), i !== void 0 && (SU(i) && "TypeCondition" in i || (t += "."));
	}
	return t;
}
function TU(e, t = 0) {
	if (!e?.length) return "";
	let n = [];
	for (let r of e) if (r.kind === "InlineFragment") {
		n.push(`${bU(t)}... on ${r.typeCondition} {`);
		for (let e of r.selections ?? []) n.push(`${bU(t + 1)}${e.name}`);
		n.push(`${bU(t)}}`);
	}
	return n.join("\n");
}
function EU(e) {
	let t = [];
	return t.push("QueryPlan {"), e.node ? t.push(DU(e.node, 1)) : t.push(`${bU(1)}None`), t.push("}"), t.join("\n");
}
function DU(e, t = 0) {
	switch (e.kind) {
		case "Fetch": return OU(e, t);
		case "BatchFetch": return kU(e, t);
		case "Flatten": return AU(e, t);
		case "Sequence": return jU(e, t);
		case "Parallel": return MU(e, t);
		case "Condition": return NU(e, t);
		case "Subscription": return PU(e, t);
		case "Defer": return FU(e, t);
		default: return `${bU(t)}<UnknownNode kind="${e.kind ?? "unknown"}">`;
	}
}
function OU(e, t = 0) {
	let n = [];
	if (n.push(`${bU(t)}Fetch(service: "${e.serviceName}") {`), e.requires) {
		n.push(`${bU(t + 1)}{`);
		let r = TU(e.requires, t + 2);
		r && n.push(r), n.push(`${bU(t + 1)}} =>`);
	}
	let r = e.operation.includes("_entities") ? 2 : 1;
	try {
		n.push(`${bU(t + 1)}{`, IU(x(Lt(e.operation)).split("\n").slice(r, r * -1).join("\n"), t + 2 - r), `${bU(t + 1)}}`);
	} catch {
		n.push(`${bU(t + 1)}${e.operation}`);
	}
	return n.push(`${bU(t)}}`), n.join("\n");
}
function kU(e, t = 0) {
	let n = [];
	n.push(`${bU(t)}BatchFetch(service: "${e.serviceName}") {`);
	for (let r = 0; r < e.entityBatch.aliases.length; r++) {
		let i = e.entityBatch.aliases[r];
		n.push(`${bU(t + 1)}${i.alias} {`, `${bU(t + 2)}paths: [`, ...i.paths.map((e) => `${bU(t + 3)}"${wU(e)}"`), `${bU(t + 2)}]`);
		let a = TU(i.requires, t + 3);
		a && n.push(`${bU(t + 2)}{`, a, `${bU(t + 2)}}`), r < e.entityBatch.aliases.length - 1 && n.push(`${bU(t + 1)}}`);
	}
	try {
		n.push(`${bU(t + 1)}}`, `${bU(t + 1)}{`, IU(x(Lt(e.operation)).split("\n").slice(1, -1).join("\n"), t + 1), `${bU(t + 1)}}`, `${bU(t)}}`);
	} catch {
		n.push(`${bU(t + 1)}${e.operation}`);
	}
	return n.join("\n");
}
function AU(e, t = 0) {
	let n = [];
	return n.push(`${bU(t)}Flatten(path: "${wU(e.path)}") {`, DU(e.node, t + 1), `${bU(t)}}`), n.join("\n");
}
function jU(e, t = 0) {
	let n = [];
	n.push(`${bU(t)}Sequence {`);
	for (let r of e.nodes) n.push(DU(r, t + 1));
	return n.push(`${bU(t)}}`), n.join("\n");
}
function MU(e, t = 0) {
	let n = [];
	n.push(`${bU(t)}Parallel {`);
	for (let r of e.nodes) n.push(DU(r, t + 1));
	return n.push(`${bU(t)}}`), n.join("\n");
}
function NU(e, t = 0) {
	let n = [];
	return e.ifClause && !e.elseClause ? (n.push(`${bU(t)}Include(if: $${e.condition}) {`, DU(e.ifClause, t + 1), `${bU(t)}}`), n.join("\n")) : !e.ifClause && e.elseClause ? (n.push(`${bU(t)}Skip(if: $${e.condition}) {`, DU(e.elseClause, t + 1), `${bU(t)}}`), n.join("\n")) : e.ifClause && e.elseClause ? (n.push(`${bU(t)}Condition(if: $${e.condition}) {`, `${bU(t + 1)}if {`, DU(e.ifClause, t + 2), `${bU(t + 1)}}`, `${bU(t + 1)}else {`, DU(e.elseClause, t + 2), `${bU(t + 1)}}`, `${bU(t)}}`), n.join("\n")) : `${bU(t)}Condition(if: $${e.condition}) {}`;
}
function PU(e, t = 0) {
	let n = [];
	return n.push(`${bU(t)}Subscription {`, `${bU(t + 1)}primary {`, DU(e.primary, t + 2), `${bU(t + 1)}}`, `${bU(t)}}`), n.join("\n");
}
function FU(e, t = 0) {
	let n = [];
	if (n.push(`${bU(t)}Defer {`, `${bU(t + 1)}primary {`), e.primary.subselection && n.push(`${bU(t + 2)}subselection: ${JSON.stringify(e.primary.subselection)}`), e.primary.node && n.push(DU(e.primary.node, t + 2)), n.push(`${bU(t + 1)}}`), e.deferred.length > 0) {
		n.push(`${bU(t + 1)}deferred {`);
		for (let r of e.deferred) n.push(`${bU(t + 2)}item {`), r.label && n.push(`${bU(t + 3)}label: ${JSON.stringify(r.label)}`), n.push(`${bU(t + 3)}queryPath: [${r.queryPath.join(", ")}]`), r.subselection && n.push(`${bU(t + 3)}subselection: ${JSON.stringify(r.subselection)}`), r.depends.length && n.push(`${bU(t + 3)}depends: [${r.depends.map((e) => e.deferLabel ? `${e.id}:${e.deferLabel}` : e.id).join(", ")}]`), r.node && n.push(DU(r.node, t + 3)), n.push(`${bU(t + 2)}}`);
		n.push(`${bU(t + 1)}}`);
	}
	return n.push(`${bU(t)}}`), n.join("\n");
}
function IU(e, t = 0) {
	return e.split("\n").map((e) => `${bU(t)}${e}`).join("\n");
}
function LU(e, t, n, r, i) {
	let a = {
		id: ei(),
		title: e.kind,
		kind: e.kind
	};
	switch (e.kind) {
		case "Fetch":
			a.content = () => {
				let t = e.requires?.[0]?.typeCondition;
				return /* @__PURE__ */ q("div", {
					className: "flex flex-col gap-2",
					children: [
						r,
						/* @__PURE__ */ q("div", {
							className: "grid grid-cols-[1fr_auto] items-center gap-8 overflow-hidden font-mono text-xs",
							children: [/* @__PURE__ */ K("span", {
								className: "font-medium",
								children: "Service"
							}), /* @__PURE__ */ K("span", {
								className: "overflow-hidden text-ellipsis whitespace-nowrap text-secondary-foreground",
								children: e.serviceName
							})]
						}),
						t && /* @__PURE__ */ q("div", {
							className: "grid grid-cols-[1fr_auto] items-center gap-8 overflow-hidden font-mono text-xs",
							children: [/* @__PURE__ */ K("span", {
								className: "font-medium",
								children: "Entity"
							}), /* @__PURE__ */ K("span", {
								className: "overflow-hidden text-ellipsis whitespace-nowrap text-secondary-foreground",
								children: t
							})]
						}),
						/* @__PURE__ */ K("div", {
							className: "border-t border-dashed",
							children: /* @__PURE__ */ q(ux, { children: [/* @__PURE__ */ K(dx, {
								asChild: !0,
								children: /* @__PURE__ */ K(Q, {
									size: "sm",
									variant: "link",
									className: "h-auto w-full pt-2 text-xs",
									children: "Show details"
								})
							}), /* @__PURE__ */ q(hx, {
								className: "h-full max-h-150 w-full max-w-2xl!",
								children: [/* @__PURE__ */ K(gx, { children: /* @__PURE__ */ K(vx, { children: "Fetch" }) }), /* @__PURE__ */ K("div", {
									className: "h-full overflow-hidden rounded-sm border",
									children: /* @__PURE__ */ K(VL, {
										value: i ?? OU(e),
										language: "graphql"
									})
								})]
							})] })
						})
					]
				});
			};
			break;
		case "BatchFetch":
			a.headerSuffix = () => {
				let t = e.entityBatch.aliases.reduce((e, t) => e + t.paths.length, 0);
				return /* @__PURE__ */ q("div", {
					className: "flex items-center gap-1 rounded-md bg-muted p-0.5 pl-1 font-mono text-xs leading-none",
					children: ["Total paths:", /* @__PURE__ */ K("div", {
						className: "rounded-sm border border-primary bg-primary/10 px-1 text-xs leading-none font-medium text-primary",
						children: t
					})]
				});
			}, a.content = () => /* @__PURE__ */ q("div", {
				className: "flex flex-col gap-2 *:border-b *:border-dashed *:border-border *:pb-2 *:last:border-b-0 *:last:pb-0",
				children: [
					/* @__PURE__ */ q("div", {
						className: "grid grid-cols-[1fr_auto] items-center gap-8 overflow-hidden font-mono text-xs",
						children: [/* @__PURE__ */ K("span", {
							className: "font-medium",
							children: "Service"
						}), /* @__PURE__ */ K("span", {
							className: "overflow-hidden text-ellipsis whitespace-nowrap text-secondary-foreground",
							children: e.serviceName
						})]
					}),
					e.entityBatch.aliases.map((e) => /* @__PURE__ */ q("div", {
						className: "grid gap-2",
						children: [/* @__PURE__ */ q("div", {
							className: "grid grid-cols-[1fr_auto] items-center gap-8 overflow-hidden font-mono text-xs",
							children: [/* @__PURE__ */ K("span", {
								className: "font-medium",
								children: "Path"
							}), e.paths.length > 1 ? /* @__PURE__ */ q(RA, { children: [/* @__PURE__ */ K(zA, {
								asChild: !0,
								children: /* @__PURE__ */ K("span", {
									className: "cursor-auto overflow-hidden text-ellipsis whitespace-nowrap text-secondary-foreground",
									children: /* @__PURE__ */ K("div", {
										className: "rounded-sm border bg-card px-1 text-xs font-medium",
										children: e.paths.length
									})
								})
							}), /* @__PURE__ */ K(BA, {
								className: "font-mono whitespace-pre-wrap",
								children: e.paths.map((e) => wU(e)).join(",\n")
							})] }) : /* @__PURE__ */ q(RA, { children: [/* @__PURE__ */ K(zA, {
								asChild: !0,
								children: /* @__PURE__ */ K("span", {
									className: "cursor-auto overflow-hidden text-ellipsis whitespace-nowrap text-secondary-foreground",
									children: wU(e.paths[0])
								})
							}), /* @__PURE__ */ K(BA, { children: wU(e.paths[0]) })] })]
						}), /* @__PURE__ */ q("div", {
							className: "grid grid-cols-[1fr_auto] items-center gap-8 overflow-hidden font-mono text-xs",
							children: [/* @__PURE__ */ K("span", {
								className: "font-medium",
								children: "Enitity"
							}), /* @__PURE__ */ K("span", {
								className: "overflow-hidden text-ellipsis whitespace-nowrap text-secondary-foreground",
								children: e.requires[0].typeCondition
							})]
						})]
					}, e.alias)),
					/* @__PURE__ */ K("div", {
						className: "-mt-2",
						children: /* @__PURE__ */ q(ux, { children: [/* @__PURE__ */ K(dx, {
							asChild: !0,
							children: /* @__PURE__ */ K(Q, {
								size: "sm",
								variant: "link",
								className: "h-auto w-full pt-2 text-xs",
								children: "Show details"
							})
						}), /* @__PURE__ */ q(hx, {
							className: "h-full max-h-150 w-full max-w-2xl!",
							onMouseDown: (e) => {
								e.preventDefault(), e.stopPropagation();
							},
							children: [/* @__PURE__ */ K(gx, { children: /* @__PURE__ */ K(vx, { children: "BatchFetch" }) }), /* @__PURE__ */ K("div", {
								className: "h-full overflow-hidden rounded-sm border",
								children: /* @__PURE__ */ K(VL, {
									value: kU(e),
									language: "graphql"
								})
							})]
						})] })
					})
				]
			});
			break;
		case "Flatten":
			a = LU(e.node, a, n, /* @__PURE__ */ q(Wr, { children: [r, /* @__PURE__ */ q("div", {
				className: "grid grid-cols-[1fr_auto] items-center gap-8 overflow-hidden font-mono text-xs",
				children: [/* @__PURE__ */ K("span", {
					className: "font-medium",
					children: "Path"
				}), /* @__PURE__ */ q(RA, { children: [/* @__PURE__ */ K(zA, {
					asChild: !0,
					children: /* @__PURE__ */ K("span", {
						className: "cursor-auto overflow-hidden text-ellipsis whitespace-nowrap text-secondary-foreground",
						children: wU(e.path)
					})
				}), /* @__PURE__ */ K(BA, { children: wU(e.path) })] })]
			})] }), i ?? AU(e));
			break;
		case "Sequence": {
			a = null;
			let t = null;
			for (let o = 0; o < e.nodes.length; o++) {
				let s = e.nodes[o], c = LU(s, t, o === 0 ? [] : n, r, i);
				o === 0 && (a = c), t && (t.next = [c.id]), t = c;
			}
			break;
		}
		case "Parallel":
			a.children = [];
			for (let t of e.nodes) LU(t, a, a.children, r, i);
			break;
		case "Condition":
			e.ifClause ? a = LU(e.ifClause, a, n, /* @__PURE__ */ q("div", {
				className: "grid grid-cols-[1fr_auto] items-center gap-8 overflow-hidden font-mono text-xs",
				children: [/* @__PURE__ */ K("span", {
					className: "font-medium",
					children: "Include"
				}), /* @__PURE__ */ q("span", {
					className: "overflow-hidden text-ellipsis whitespace-nowrap text-secondary-foreground",
					children: ["if: $", e.condition]
				})]
			}), NU(e)) : e.elseClause && (a = LU(e.elseClause, a, n, /* @__PURE__ */ q("div", {
				className: "grid grid-cols-[1fr_auto] items-center gap-8 overflow-hidden font-mono text-xs",
				children: [/* @__PURE__ */ K("span", {
					className: "font-medium",
					children: "Skip"
				}), /* @__PURE__ */ q("span", {
					className: "overflow-hidden text-ellipsis whitespace-nowrap text-secondary-foreground",
					children: ["if: $", e.condition]
				})]
			}), NU(e)));
			break;
		case "Subscription":
			LU(e.primary, a, n, r, i);
			break;
		case "Defer":
			e.primary.node && LU(e.primary.node, a, n, r, i);
			for (let t of e.deferred) t.node && LU(t.node, a, n, r, i);
	}
	return t && a && (t.next = [...t.next ?? [], a.id]), a && (a.icon = RU(a.kind), n.push(a)), a;
}
var RU = (e) => (t) => {
	switch (e) {
		case "Root": return /* @__PURE__ */ K(qA, {
			...t,
			className: X(t.className, "size-6 min-w-6 text-pink-500")
		});
		case "Fetch": return /* @__PURE__ */ K(Nn, { ...t });
		case "BatchFetch": return /* @__PURE__ */ K(Fn, { ...t });
		case "Flatten": return /* @__PURE__ */ K(or, { ...t });
		case "Sequence": return /* @__PURE__ */ K(sr, { ...t });
		case "Parallel": return /* @__PURE__ */ K(mr, { ...t });
		case "Condition": return /* @__PURE__ */ K(tr, {
			...t,
			className: X("rotate-90", t.className)
		});
		case "Subscription": return /* @__PURE__ */ K(Pr, { ...t });
		case "Defer": return /* @__PURE__ */ K(Un, { ...t });
	}
};
function zU(e) {
	let t = V(() => {
		let t = [], n = {
			id: ei(),
			title: "",
			kind: "Root",
			maxWidth: 42
		};
		return t.push(n), e.plan.node && LU(e.plan.node, n, t), t.map((e) => ({
			...e,
			icon: RU(e.kind)
		}));
	}, [e.plan]);
	return /* @__PURE__ */ K(yU, { nodes: t });
}
// src/components/ui/select.tsx
function BU({ ...e }) {
	return /* @__PURE__ */ K(VB, {
		"data-slot": "select",
		...e
	});
}
function VU({ ...e }) {
	return /* @__PURE__ */ K(UB, {
		"data-slot": "select-value",
		...e
	});
}
function HU({ className: e, size: t = "default", children: n, ...r }) {
	return /* @__PURE__ */ q(HB, {
		"data-slot": "select-trigger",
		"data-size": t,
		className: X("flex w-fit items-center justify-between gap-2 rounded-md border border-input bg-input/30 px-3 py-2 text-sm whitespace-nowrap shadow-sm transition-[color,box-shadow] outline-none hover:bg-input/50 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/40 data-placeholder:text-muted-foreground data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground", e),
		...r,
		children: [n, /* @__PURE__ */ K(WB, {
			asChild: !0,
			children: /* @__PURE__ */ K(Ln, { className: "size-4 opacity-50" })
		})]
	});
}
function UU({ className: e, children: t, position: n = "popper", align: r = "center", ...i }) {
	let { container: a } = $_();
	return /* @__PURE__ */ K(GB, {
		container: a,
		children: /* @__PURE__ */ q(KB, {
			"data-slot": "select-content",
			className: X("relative z-200 max-h-[var(--radix-select-content-available-height)] min-w-[8rem] origin-[var(--radix-select-content-transform-origin)] overflow-x-hidden overflow-y-auto rounded-md border bg-popover text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95", n === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", e),
			position: n,
			align: r,
			...i,
			children: [
				/* @__PURE__ */ K(GU, {}),
				/* @__PURE__ */ K(qB, {
					className: X("p-1", n === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),
					children: t
				}),
				/* @__PURE__ */ K(KU, {})
			]
		})
	});
}
function WU({ className: e, children: t, ...n }) {
	return /* @__PURE__ */ q(JB, {
		"data-slot": "select-item",
		className: X("relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2", e),
		...n,
		children: [/* @__PURE__ */ K("span", {
			className: "absolute right-2 flex size-3.5 items-center justify-center",
			children: /* @__PURE__ */ K(XB, { children: /* @__PURE__ */ K(In, { className: "size-4" }) })
		}), /* @__PURE__ */ K(YB, { children: t })]
	});
}
function GU({ className: e, ...t }) {
	return /* @__PURE__ */ K(ZB, {
		"data-slot": "select-scroll-up-button",
		className: X("flex cursor-default items-center justify-center py-1", e),
		...t,
		children: /* @__PURE__ */ K(zn, { className: "size-4" })
	});
}
function KU({ className: e, ...t }) {
	return /* @__PURE__ */ K(QB, {
		"data-slot": "select-scroll-down-button",
		className: X("flex cursor-default items-center justify-center py-1", e),
		...t,
		children: /* @__PURE__ */ K(Ln, { className: "size-4" })
	});
}
// src/components/ui/spinner.tsx
function qU({ className: e, ...t }) {
	return /* @__PURE__ */ K(lr, {
		role: "status",
		"aria-label": "Loading",
		className: X("size-4 animate-spin", e),
		...t
	});
}
// src/components/ui/tabs.tsx
function JU({ className: e, ...t }) {
	return /* @__PURE__ */ K(pH, {
		"data-slot": "tabs",
		className: X("flex flex-col", e),
		...t
	});
}
function YU({ className: e, ...t }) {
	return /* @__PURE__ */ K(mH, {
		"data-slot": "tabs-list",
		className: X("inline-flex h-9 w-fit items-center justify-center rounded-lg bg-muted p-[3px] text-muted-foreground", e),
		...t
	});
}
function XU({ className: e, ...t }) {
	return /* @__PURE__ */ K(hH, {
		"data-slot": "tabs-trigger",
		className: X("inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap text-muted-foreground transition-[color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 data-[state=active]:border-input data-[state=active]:bg-input/30 data-[state=active]:text-foreground data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
		...t
	});
}
function ZU({ className: e, ...t }) {
	return /* @__PURE__ */ K(gH, {
		"data-slot": "tabs-content",
		className: X("flex-1 outline-none", e),
		...t
	});
}
// src/components/ui/toggle.tsx
var QU = I_("cursor-pointer inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] outline-none transition-[color,box-shadow] aria-invalid:ring-destructive/40 aria-invalid:border-destructive whitespace-nowrap", {
	variants: {
		variant: {
			default: "bg-transparent",
			outline: "border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"
		},
		size: {
			default: "h-9 px-2 min-w-9",
			sm: "h-8 px-1.5 min-w-8",
			lg: "h-10 px-2.5 min-w-10"
		}
	},
	defaultVariants: {
		variant: "default",
		size: "default"
	}
});
function $U({ className: e, variant: t, size: n, ...r }) {
	return /* @__PURE__ */ K(yH, {
		"data-slot": "toggle",
		className: X(QU({
			variant: t,
			size: n,
			className: e
		})),
		...r
	});
}
// src/components/ui/toggle-group.tsx
var eW = L.createContext({
	size: "default",
	variant: "default",
	spacing: 0
});
function tW({ className: e, variant: t, size: n, spacing: r = 0, children: i, ...a }) {
	return /* @__PURE__ */ K(FH, {
		"data-slot": "toggle-group",
		"data-variant": t,
		"data-size": n,
		"data-spacing": r,
		style: { "--gap": r },
		className: X("group/toggle-group flex w-fit items-center gap-[--spacing(var(--gap))] rounded-md data-[spacing=default]:data-[variant=outline]:shadow-xs", e),
		...a,
		children: /* @__PURE__ */ K(eW.Provider, {
			value: {
				variant: t,
				size: n,
				spacing: r
			},
			children: i
		})
	});
}
function nW({ className: e, children: t, variant: n, size: r, ...i }) {
	let a = L.useContext(eW);
	return /* @__PURE__ */ K(IH, {
		"data-slot": "toggle-group-item",
		"data-variant": a.variant || n,
		"data-size": a.size || r,
		"data-spacing": a.spacing,
		className: X(QU({
			variant: a.variant || n,
			size: a.size || r
		}), "w-auto min-w-0 shrink-0 px-3 focus:z-10 focus-visible:z-10", "data-[spacing=0]:rounded-none data-[spacing=0]:shadow-none data-[spacing=0]:first:rounded-l-md data-[spacing=0]:last:rounded-r-md data-[spacing=0]:data-[variant=outline]:border-l-0 data-[spacing=0]:data-[variant=outline]:first:border-l", e),
		...i,
		children: t
	});
}
// src/components/ui/checkbox.tsx
function rW({ className: e, asSpan: t, ...n }) {
	let r = /* @__PURE__ */ K(FR, {
		"data-slot": "checkbox-indicator",
		className: "grid place-content-center text-current transition-none",
		children: /* @__PURE__ */ K(In, { className: "size-3.5" })
	});
	return /* @__PURE__ */ K(NR, {
		"data-slot": "checkbox",
		asChild: t,
		className: X("peer size-4 shrink-0 rounded-[4px] border border-input bg-input/30 shadow-sm transition-shadow outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/40 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground", e),
		...n,
		children: t ? /* @__PURE__ */ K("span", { children: r }) : r
	});
}
// src/components/ui/context-menu.tsx
function iW({ ...e }) {
	return /* @__PURE__ */ K(Cz, {
		"data-slot": "context-menu",
		...e
	});
}
function aW({ ...e }) {
	return /* @__PURE__ */ K(wz, {
		"data-slot": "context-menu-trigger",
		...e
	});
}
function oW({ className: e, ...t }) {
	let [n, r] = U(null);
	return /* @__PURE__ */ q(Wr, { children: [/* @__PURE__ */ K(Tz, {
		container: n,
		children: /* @__PURE__ */ K(Ez, {
			"data-slot": "context-menu-content",
			className: X("z-50 max-h-(--radix-context-menu-content-available-height) min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95", e),
			...t
		})
	}), /* @__PURE__ */ K("div", {
		ref: r,
		style: { display: "contents" }
	})] });
}
function sW({ className: e, inset: t, variant: n = "default", ...r }) {
	return /* @__PURE__ */ K(Dz, {
		"data-slot": "context-menu-item",
		"data-inset": t,
		"data-variant": n,
		className: X("relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 data-inset:pl-8 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground data-[variant=destructive]:*:[svg]:text-destructive!", e),
		...r
	});
}
// src/components/laboratory/builder.tsx
var cW = (e) => {
	let { schema: t, enableDocs: n, openDocs: r } = $_(), i = V(() => ya(e.path, t ?? null), [e.path, t]);
	return !n || !i ? /* @__PURE__ */ K(Wr, { children: e.children }) : /* @__PURE__ */ q(iW, { children: [/* @__PURE__ */ K(aW, {
		asChild: !0,
		children: e.children
	}), /* @__PURE__ */ K(oW, { children: /* @__PURE__ */ K(sW, {
		onClick: () => r(i),
		children: "Open in Docs"
	}) })] });
}, lW = (e) => {
	let { schema: t, activeOperation: n, addArgToActiveOperation: r, deleteArgFromActiveOperation: i, activeTab: a } = $_(), o = V(() => e.operation ?? n ?? null, [e.operation, n]), s = V(() => e.path.join("."), [e.path]), c = V(() => ns(o?.query ?? "", s, e.field.name), [
		o?.query,
		s,
		e.field.name
	]);
	return /* @__PURE__ */ q("div", {
		className: X(Z_({
			variant: "ghost",
			size: "sm"
		}), "w-full justify-start p-1! text-xs text-muted-foreground", { "text-foreground-primary": c }),
		children: [
			/* @__PURE__ */ K("div", { className: "size-4" }),
			/* @__PURE__ */ K(rW, {
				onClick: (e) => e.stopPropagation(),
				checked: c,
				disabled: a?.type !== "operation" || e.isReadOnly,
				onCheckedChange: (n) => {
					t && (n ? r(e.path.join("."), e.field.name, t, e.operationName) : i(e.path.join("."), e.field.name, e.operationName));
				}
			}),
			/* @__PURE__ */ K(Pn, { className: "size-4 text-rose-400" }),
			e.field.name,
			": ",
			/* @__PURE__ */ K($N, { type: e.field.type })
		]
	}, e.field.name);
}, uW = (e) => {
	let { schema: t, activeOperation: n, addPathToActiveOperation: r, deletePathFromActiveOperation: i, activeTab: a } = $_(), o = V(() => e.operation ?? n ?? null, [e.operation, n]), s = V(() => e.path.join("."), [e.path]), c = V(() => e.openPaths.includes(s) || !!e.forcedOpenPaths?.has(s), [
		e.openPaths,
		e.forcedOpenPaths,
		s
	]), l = z((t) => {
		e.setOpenPaths(t ? [...e.openPaths, s] : e.openPaths.filter((e) => e !== s));
	}, [s, e]), u = V(() => Zo(o?.query ?? "", s, e.operationName), [
		o?.query,
		s,
		e.operationName
	]), d = V(() => e.field.args ?? [], [e.field]), f = V(() => d.some((t) => ns(o?.query ?? "", s, t.name, e.operationName)), [
		o?.query,
		d,
		s,
		e.operationName
	]), p = V(() => Wc(e.field.name).some((t) => e.searchValue?.toLowerCase().includes(t.toLowerCase())), [e.searchValue, e.field.name]);
	return e.isSearchActive && e.visiblePaths && !e.visiblePaths.has(s) ? null : e.disableChildren ? /* @__PURE__ */ K(cW, {
		path: e.path,
		children: /* @__PURE__ */ q("div", {
			className: X(Z_({
				variant: "ghost",
				size: "sm"
			}), "group sticky top-0 z-10 w-full justify-start overflow-hidden bg-card p-1! text-xs text-muted-foreground", { "text-foreground-primary": u }),
			style: { top: `${(e.path.length - 2) * 32}px` },
			children: [
				/* @__PURE__ */ K("div", { className: "absolute top-0 left-0 -z-20 size-full bg-card" }),
				/* @__PURE__ */ K("div", { className: "absolute top-0 left-0 -z-10 size-full transition-colors group-hover:bg-accent/50" }),
				/* @__PURE__ */ K(rW, {
					onClick: (e) => e.stopPropagation(),
					checked: u,
					disabled: a?.type !== "operation" || e.isReadOnly,
					onCheckedChange: (n) => {
						n ? (l(!0), r(s, e.operationName, t ?? void 0)) : i(s, e.operationName);
					}
				}),
				/* @__PURE__ */ K(Pn, { className: "size-4 text-rose-400" }),
				e.label ?? /* @__PURE__ */ K("span", {
					className: X({ "-mx-0.5 rounded-sm bg-primary px-0.5 text-primary-foreground": p }),
					children: e.field.name
				}),
				": ",
				/* @__PURE__ */ K($N, { type: e.field.type })
			]
		})
	}) : d.length > 0 ? /* @__PURE__ */ q(Qj, {
		open: c,
		onOpenChange: l,
		children: [/* @__PURE__ */ K(cW, {
			path: e.path,
			children: /* @__PURE__ */ K($j, {
				asChild: !0,
				children: /* @__PURE__ */ q(Q, {
					variant: "ghost",
					className: X("group sticky top-0 z-10 w-full justify-start overflow-hidden bg-card p-1! text-xs text-muted-foreground", { "text-foreground-primary": u }),
					style: { top: `${(e.path.length - 2) * 32}px` },
					size: "sm",
					children: [
						/* @__PURE__ */ K("div", { className: "absolute top-0 left-0 -z-20 size-full bg-card" }),
						/* @__PURE__ */ K("div", { className: "absolute top-0 left-0 -z-10 size-full transition-colors group-hover:bg-accent/50" }),
						/* @__PURE__ */ K(Ln, { className: X("size-4 text-muted-foreground transition-all", { "-rotate-90": !c }) }),
						/* @__PURE__ */ K(rW, {
							asSpan: !0,
							onClick: (e) => e.stopPropagation(),
							checked: u,
							disabled: a?.type !== "operation" || e.isReadOnly,
							onCheckedChange: (n) => {
								n ? (l(!0), r(s, e.operationName, t ?? void 0)) : i(s, e.operationName);
							}
						}),
						/* @__PURE__ */ K(Pn, { className: "size-4 text-rose-400" }),
						e.label ?? /* @__PURE__ */ K("span", {
							className: X({ "-mx-0.5 rounded-sm bg-primary px-0.5 text-primary-foreground": p }),
							children: e.field.name
						}),
						": ",
						/* @__PURE__ */ K($N, { type: e.field.type })
					]
				})
			})
		}), /* @__PURE__ */ K(eM, {
			className: "relative z-0 ml-3 flex flex-col border-l border-border pl-2",
			children: c && /* @__PURE__ */ K("div", { children: d.length > 0 && /* @__PURE__ */ q(Qj, { children: [/* @__PURE__ */ K($j, {
				asChild: !0,
				children: /* @__PURE__ */ q(Q, {
					variant: "ghost",
					className: X("group sticky top-0 z-10 w-full justify-start overflow-hidden bg-card p-1! text-xs text-muted-foreground", { "text-foreground-primary": f }),
					style: { top: `${(e.path.length - 1) * 32}px` },
					size: "sm",
					children: [
						/* @__PURE__ */ K(Ln, { className: X("size-4 text-muted-foreground transition-all", { "-rotate-90": !c }) }),
						/* @__PURE__ */ K(rW, {
							asSpan: !0,
							onClick: (e) => e.stopPropagation(),
							checked: f,
							disabled: !0
						}),
						/* @__PURE__ */ K(Gn, { className: "size-4 text-rose-400" }),
						"[arguments]"
					]
				})
			}), /* @__PURE__ */ K(eM, {
				className: "ml-3 flex flex-col border-l border-border pl-2",
				children: d.map((t) => /* @__PURE__ */ K(lW, {
					field: t,
					path: [...e.path],
					isReadOnly: e.isReadOnly,
					operation: o
				}, t.name))
			})] }) })
		})]
	}, e.field.name) : /* @__PURE__ */ K(cW, {
		path: e.path,
		children: /* @__PURE__ */ q("div", {
			className: X(Z_({
				variant: "ghost",
				size: "sm"
			}), "w-full justify-start p-1! text-xs text-muted-foreground", { "text-foreground-primary": u }),
			children: [
				/* @__PURE__ */ K("div", { className: "size-4" }),
				/* @__PURE__ */ K(rW, {
					onClick: (e) => e.stopPropagation(),
					checked: u,
					disabled: a?.type !== "operation",
					onCheckedChange: (n) => {
						n ? r(e.path.join("."), e.operationName, t ?? void 0) : i(e.path.join("."), e.operationName);
					}
				}),
				/* @__PURE__ */ K(Pn, { className: "size-4 text-rose-400" }),
				e.label ?? /* @__PURE__ */ K("span", {
					className: X({ "-mx-0.5 rounded-sm bg-primary px-0.5 text-primary-foreground": p }),
					children: e.field.name
				}),
				": ",
				/* @__PURE__ */ K($N, { type: e.field.type })
			]
		}, e.field.name)
	});
}, dW = (e) => {
	let { schema: t, activeOperation: n, addPathToActiveOperation: r, deletePathFromActiveOperation: a, activeTab: s } = $_(), c = V(() => e.operation ?? n ?? null, [e.operation, n]), u = V(() => e.path.join("."), [e.path]), d = V(() => e.openPaths.includes(u) || !!e.forcedOpenPaths?.has(u), [
		e.openPaths,
		e.forcedOpenPaths,
		u
	]), f = z((t) => {
		e.setOpenPaths(t ? [...e.openPaths, u] : e.openPaths.filter((e) => e !== u));
	}, [u, e]), p = V(() => l(e.field.type), [e.field.type]), m = V(() => C(p) || i(p) ? Object.values(p.getFields()) : [], [p]), h = V(() => o(p) ? p.getTypes() : i(p) ? t?.getPossibleTypes(p) ?? [] : [], [p, t]), g = V(() => e.field.args ?? [], [e.field]), _ = V(() => g.some((t) => ns(c?.query ?? "", e.path.join("."), t.name)), [
		c?.query,
		g,
		e.path
	]), v = V(() => Zo(c?.query ?? "", u), [c?.query, u]), y = V(() => Wc(e.field.name).some((t) => e.searchValue?.toLowerCase().includes(t.toLowerCase())), [e.searchValue, e.field.name]);
	return e.isSearchActive && e.visiblePaths && !e.visiblePaths.has(u) ? null : e.disableChildren ? /* @__PURE__ */ K(cW, {
		path: e.path,
		children: /* @__PURE__ */ q("div", {
			className: X(Z_({
				variant: "ghost",
				size: "sm"
			}), "group sticky top-0 z-10 w-full justify-start overflow-hidden bg-card p-1! text-xs text-muted-foreground", { "text-foreground-primary": v }),
			style: { top: `${(e.path.length - 2) * 32}px` },
			children: [
				/* @__PURE__ */ K("div", { className: "absolute top-0 left-0 -z-20 size-full bg-card" }),
				/* @__PURE__ */ K("div", { className: "absolute top-0 left-0 -z-10 size-full transition-colors group-hover:bg-accent/50" }),
				/* @__PURE__ */ K(rW, {
					onClick: (e) => e.stopPropagation(),
					checked: v,
					disabled: s?.type !== "operation" || e.isReadOnly,
					onCheckedChange: (n) => {
						n ? (f(!0), r(u, e.operationName, t ?? void 0)) : a(u, e.operationName);
					}
				}),
				/* @__PURE__ */ K(Pn, { className: "size-4 text-rose-400" }),
				e.label ?? /* @__PURE__ */ K("span", {
					className: X({ "-mx-0.5 rounded-sm bg-primary px-0.5 text-primary-foreground": y }),
					children: e.field.name
				}),
				": ",
				/* @__PURE__ */ K($N, { type: e.field.type })
			]
		})
	}) : /* @__PURE__ */ q(Qj, {
		open: d,
		onOpenChange: f,
		children: [/* @__PURE__ */ K(cW, {
			path: e.path,
			children: /* @__PURE__ */ K($j, {
				asChild: !0,
				children: /* @__PURE__ */ q(Q, {
					variant: "ghost",
					className: X("group sticky top-0 z-10 w-full justify-start overflow-hidden bg-card p-1! text-xs text-muted-foreground", { "text-foreground-primary": v }),
					style: { top: `${(e.path.length - 2) * 32}px` },
					size: "sm",
					children: [
						/* @__PURE__ */ K("div", { className: "absolute top-0 left-0 -z-20 size-full bg-card" }),
						/* @__PURE__ */ K("div", { className: "absolute top-0 left-0 -z-10 size-full transition-colors group-hover:bg-accent/50" }),
						/* @__PURE__ */ K(Ln, { className: X("size-4 text-muted-foreground transition-all", { "-rotate-90": !d }) }),
						/* @__PURE__ */ K(rW, {
							asSpan: !0,
							onClick: (e) => e.stopPropagation(),
							checked: v,
							disabled: s?.type !== "operation" || e.isReadOnly,
							onCheckedChange: (n) => {
								n ? (f(!0), r(u, e.operationName, t ?? void 0)) : a(u, e.operationName);
							}
						}),
						/* @__PURE__ */ K(Pn, { className: "size-4 text-rose-400" }),
						e.label ?? /* @__PURE__ */ K("span", {
							className: X({ "-mx-0.5 rounded-sm bg-primary px-0.5 text-primary-foreground": y }),
							children: e.field.name
						}),
						": ",
						/* @__PURE__ */ K($N, { type: e.field.type })
					]
				})
			})
		}), /* @__PURE__ */ K(eM, {
			className: "relative z-0 ml-4 flex flex-col border-l border-border pl-1",
			children: d && /* @__PURE__ */ q("div", { children: [
				g.length > 0 && /* @__PURE__ */ q(Qj, { children: [/* @__PURE__ */ K($j, {
					asChild: !0,
					children: /* @__PURE__ */ q(Q, {
						variant: "ghost",
						className: X("group sticky top-0 z-10 w-full justify-start overflow-hidden bg-card p-1! text-xs text-muted-foreground", { "text-foreground-primary": _ }),
						style: { top: `${(e.path.length - 1) * 32}px` },
						size: "sm",
						children: [
							/* @__PURE__ */ K(Ln, { className: X("size-4 text-muted-foreground transition-all", { "-rotate-90": !d }) }),
							/* @__PURE__ */ K(rW, {
								asSpan: !0,
								onClick: (e) => e.stopPropagation(),
								checked: _,
								disabled: !0
							}),
							/* @__PURE__ */ K(Gn, { className: "size-4 text-rose-400" }),
							"[arguments]"
						]
					})
				}), /* @__PURE__ */ K(eM, {
					className: "ml-4 flex flex-col border-l border-border pl-1",
					children: g.map((t) => /* @__PURE__ */ K(lW, {
						field: t,
						path: [...e.path],
						operation: c
					}, t.name))
				})] }),
				m?.map((t) => /* @__PURE__ */ K(pW, {
					field: t,
					path: [...e.path, t.name],
					openPaths: e.openPaths,
					setOpenPaths: e.setOpenPaths,
					visiblePaths: e.visiblePaths,
					forcedOpenPaths: e.forcedOpenPaths,
					isSearchActive: e.isSearchActive,
					isReadOnly: e.isReadOnly,
					operation: c,
					operationName: e.operationName,
					searchValue: e.searchValue
				}, t.name)),
				h.map((t) => /* @__PURE__ */ K(fW, {
					type: t,
					parentType: p,
					path: [...e.path, fa(t.name)],
					openPaths: e.openPaths,
					setOpenPaths: e.setOpenPaths,
					visiblePaths: e.visiblePaths,
					forcedOpenPaths: e.forcedOpenPaths,
					isSearchActive: e.isSearchActive,
					isReadOnly: e.isReadOnly,
					operation: c,
					operationName: e.operationName,
					searchValue: e.searchValue
				}, t.name))
			] })
		})]
	}, e.field.name);
}, fW = (e) => {
	let { activeOperation: t } = $_(), n = V(() => e.operation ?? t ?? null, [e.operation, t]), r = V(() => e.path.join("."), [e.path]), a = V(() => e.openPaths.includes(r) || !!e.forcedOpenPaths?.has(r), [
		e.openPaths,
		e.forcedOpenPaths,
		r
	]), o = z((t) => {
		e.setOpenPaths(t ? [...e.openPaths, r] : e.openPaths.filter((e) => e !== r));
	}, [r, e]), s = V(() => {
		let t = Object.values(e.type.getFields());
		if (!i(e.parentType)) return t;
		let n = new Set(Object.keys(e.parentType.getFields()));
		return t.filter((e) => !n.has(e.name));
	}, [e.type, e.parentType]), c = V(() => Zo(n?.query ?? "", r, e.operationName), [
		n?.query,
		r,
		e.operationName
	]);
	return e.isSearchActive && e.visiblePaths && !e.visiblePaths.has(r) || s.length === 0 ? null : /* @__PURE__ */ q(Qj, {
		open: a,
		onOpenChange: o,
		children: [/* @__PURE__ */ K(cW, {
			path: e.path,
			children: /* @__PURE__ */ K($j, {
				asChild: !0,
				children: /* @__PURE__ */ q(Q, {
					variant: "ghost",
					className: X("group sticky top-0 z-10 w-full justify-start overflow-hidden bg-card p-1! text-xs text-muted-foreground", { "text-foreground-primary": c }),
					style: { top: `${(e.path.length - 2) * 32}px` },
					size: "sm",
					children: [
						/* @__PURE__ */ K("div", { className: "absolute top-0 left-0 -z-20 size-full bg-card" }),
						/* @__PURE__ */ K("div", { className: "absolute top-0 left-0 -z-10 size-full transition-colors group-hover:bg-accent/50" }),
						/* @__PURE__ */ K(Ln, { className: X("size-4 text-muted-foreground transition-all", { "-rotate-90": !a }) }),
						/* @__PURE__ */ K("div", { className: "size-4" }),
						/* @__PURE__ */ K(Gn, { className: "size-4 text-amber-400" }),
						"... on ",
						/* @__PURE__ */ K($N, { type: e.type })
					]
				})
			})
		}), /* @__PURE__ */ K(eM, {
			className: "relative z-0 ml-4 flex flex-col border-l border-border pl-1",
			children: a && /* @__PURE__ */ K("div", { children: s.map((t) => /* @__PURE__ */ K(pW, {
				field: t,
				path: [...e.path, t.name],
				openPaths: e.openPaths,
				setOpenPaths: e.setOpenPaths,
				visiblePaths: e.visiblePaths,
				forcedOpenPaths: e.forcedOpenPaths,
				isSearchActive: e.isSearchActive,
				isReadOnly: e.isReadOnly,
				operation: n,
				operationName: e.operationName,
				searchValue: e.searchValue
			}, t.name)) })
		})]
	});
}, pW = (e) => {
	let t = l(e.field.type);
	return !t || Wt(t) || f(t) ? /* @__PURE__ */ K(uW, {
		field: e.field,
		path: e.path,
		openPaths: e.openPaths,
		setOpenPaths: e.setOpenPaths,
		visiblePaths: e.visiblePaths,
		forcedOpenPaths: e.forcedOpenPaths,
		isSearchActive: e.isSearchActive,
		isReadOnly: e.isReadOnly,
		operation: e.operation,
		operationName: e.operationName,
		searchValue: e.searchValue,
		label: e.label,
		disableChildren: e.disableChildren
	}) : /* @__PURE__ */ K(dW, {
		field: e.field,
		path: e.path,
		openPaths: e.openPaths,
		setOpenPaths: e.setOpenPaths,
		visiblePaths: e.visiblePaths,
		forcedOpenPaths: e.forcedOpenPaths,
		isSearchActive: e.isSearchActive,
		isReadOnly: e.isReadOnly,
		operation: e.operation,
		operationName: e.operationName,
		searchValue: e.searchValue,
		label: e.label,
		disableChildren: e.disableChildren
	});
}, mW = (e) => {
	let t = e.isSearchActive ? null : "Search fields to switch between tree and list";
	return /* @__PURE__ */ q(tW, {
		type: "single",
		variant: "outline",
		value: e.mode,
		disabled: !e.isSearchActive,
		onValueChange: (t) => {
			t && e.onModeChange(t);
		},
		children: [/* @__PURE__ */ q(RA, { children: [/* @__PURE__ */ K(zA, {
			asChild: !0,
			children: /* @__PURE__ */ K("span", {
				className: "flex",
				children: /* @__PURE__ */ K(nW, {
					value: "tree",
					"aria-label": "Tree",
					className: "h-6 !rounded-l-sm !rounded-r-none border-r-0 p-2",
					children: /* @__PURE__ */ K(cr, { className: "size-4" })
				})
			})
		}), /* @__PURE__ */ K(BA, { children: t ?? "Tree" })] }), /* @__PURE__ */ q(RA, { children: [/* @__PURE__ */ K(zA, {
			asChild: !0,
			children: /* @__PURE__ */ K("span", {
				className: "flex",
				children: /* @__PURE__ */ K(nW, {
					value: "list",
					"aria-label": "List",
					className: "h-6 !rounded-l-none !rounded-r-sm p-2",
					children: /* @__PURE__ */ K(Ar, { className: "size-4" })
				})
			})
		}), /* @__PURE__ */ K(BA, { children: t ?? "List" })] })]
	});
}, hW = (e) => e.mode === "list" ? e.matchedPaths.map((t) => {
	let n = ps(t, e.schema);
	return n ? /* @__PURE__ */ K(pW, {
		field: n,
		path: [t],
		openPaths: e.openPaths,
		setOpenPaths: e.setOpenPaths,
		visiblePaths: e.visiblePaths,
		forcedOpenPaths: e.forcedOpenPaths,
		isSearchActive: e.isSearchActive,
		isReadOnly: e.isReadOnly,
		operation: e.operation,
		operationName: e.operationName,
		searchValue: e.searchValue,
		disableChildren: !0,
		label: /* @__PURE__ */ K("span", { children: t.split(".").map((n, r) => {
			let i = pa(n);
			return i === null ? Wc(n).some((t) => e.searchValue.toLowerCase().includes(t.toLowerCase())) ? /* @__PURE__ */ q(fn, { children: [/* @__PURE__ */ K("span", {
				className: "-mx-0.5 rounded-sm bg-primary px-0.5 text-primary-foreground",
				children: n
			}), r < t.split(".").length - 1 && "."] }, r) : /* @__PURE__ */ q("span", { children: [n, r < t.split(".").length - 1 && "."] }, r) : /* @__PURE__ */ q(fn, { children: [/* @__PURE__ */ q("span", {
				className: "text-amber-400",
				children: ["on ", i]
			}), r < t.split(".").length - 1 && "."] }, r);
		}) })
	}, t) : null;
}) : e.fields.filter((t) => e.visiblePaths?.has(`${e.tab}.${t.name}`)).map((t) => /* @__PURE__ */ K(pW, {
	field: t,
	path: [e.tab, t.name],
	openPaths: e.openPaths,
	setOpenPaths: e.setOpenPaths,
	visiblePaths: e.visiblePaths,
	forcedOpenPaths: e.forcedOpenPaths,
	isSearchActive: e.isSearchActive,
	isReadOnly: e.isReadOnly,
	operation: e.operation,
	operationName: e.operationName,
	searchValue: e.searchValue
}, t.name)), gW = (e) => {
	let { schema: t, activeOperation: n, endpoint: r, setEndpoint: i, reloadSchema: a, isFetchingSchema: o, tabs: s, addTab: c, setActiveTab: l, canIntrospect: u } = $_(), [d, f] = U(r ?? ""), [p, h] = U(""), g = yn(p[p.length - 1] === "." ? p.slice(0, -1) : p), [_, v] = U([]), [y, b] = U(m.QUERY), x = V(() => e.operation ?? n ?? null, [e.operation, n]), S = H([]), C = H(x?.id ?? null);
	B(() => {
		if (!t) return;
		let e = os(x?.query ?? "");
		if (e.length === 0) return;
		let n = C.current !== (x?.id ?? null), r = S.current;
		C.current = x?.id ?? null, S.current = e, v((t) => n ? e : ss(t, r, e)), b(e[0]);
	}, [
		t,
		x?.id,
		x?.query
	]);
	let w = V(() => Object.values(t?.getQueryType()?.getFields?.() ?? {}), [t]), T = V(() => Object.values(t?.getMutationType()?.getFields?.() ?? {}), [t]), E = V(() => Object.values(t?.getSubscriptionType()?.getFields?.() ?? {}), [t]), D = g.trim().length > 0, O = V(() => !t || !D ? null : us(t, g, {
		maxDepth: 8,
		maxMatches: 100,
		maxNodes: 1e4,
		operationTypes: [y]
	}), [
		t,
		g,
		D,
		y
	]), k = D ? O?.visiblePaths ?? null : null, A = D && g.includes(".") ? O?.forcedOpenPaths ?? null : null, [ee, j] = U("tree"), M = V(() => (0, po.throttle)((e) => {
		i(e);
	}, 1e3), [i]);
	return B(() => {
		M(d);
	}, [d, M]), /* @__PURE__ */ q("div", {
		className: "flex size-full flex-col overflow-hidden bg-card",
		children: [
			/* @__PURE__ */ q("div", {
				className: "flex items-center gap-3 px-3 pt-3",
				children: [/* @__PURE__ */ K("span", {
					className: "text-base font-medium",
					children: "Builder"
				}), /* @__PURE__ */ q("div", {
					className: "ml-auto flex items-center gap-3",
					children: [u && /* @__PURE__ */ q(Q, {
						onClick: () => {
							let e = s.find((e) => e.type === "settings") ?? c({
								type: "settings",
								data: {}
							});
							l(e);
						},
						variant: "ghost",
						size: "sm",
						className: "h-6 rounded-sm p-1! !px-1.5",
						children: [/* @__PURE__ */ K(Er, { className: "size-4" }), "Introspection settings"]
					}), /* @__PURE__ */ K("div", {
						className: "flex items-center",
						children: /* @__PURE__ */ q(RA, { children: [/* @__PURE__ */ K(zA, {
							asChild: !0,
							children: /* @__PURE__ */ K(Q, {
								onClick: () => v([]),
								variant: "ghost",
								size: "icon-sm",
								className: "size-6 rounded-sm p-1!",
								disabled: _.length === 0,
								children: /* @__PURE__ */ K(Wn, { className: "size-4 text-muted-foreground" })
							})
						}), /* @__PURE__ */ K(BA, { children: "Collapse all" })] })
					})]
				})]
			}),
			/* @__PURE__ */ K("div", {
				className: "px-3 pt-3",
				children: /* @__PURE__ */ q(VA, { children: [
					/* @__PURE__ */ K(KA, {
						placeholder: "Enter endpoint",
						value: d,
						onChange: (e) => f(e.currentTarget.value)
					}),
					/* @__PURE__ */ K(UA, { children: /* @__PURE__ */ K(qA, {}) }),
					/* @__PURE__ */ K(UA, {
						align: "inline-end",
						children: /* @__PURE__ */ q(RA, { children: [/* @__PURE__ */ K(zA, {
							asChild: !0,
							children: /* @__PURE__ */ K("span", {
								className: "flex",
								children: /* @__PURE__ */ K(GA, {
									className: "rounded-full",
									size: "icon-xs",
									onClick: a,
									disabled: o || !d,
									"aria-label": "Reload schema",
									children: /* @__PURE__ */ K(Sr, { className: X("size-4", o && "animate-spin") })
								})
							})
						}), /* @__PURE__ */ K(BA, { children: o ? "Introspecting…" : "Reload schema" })] })
					})
				] })
			}),
			/* @__PURE__ */ K("div", {
				className: "flex-1 overflow-hidden",
				children: t ? /* @__PURE__ */ q(JU, {
					value: y,
					onValueChange: (e) => b(e),
					className: "flex size-full flex-col gap-0",
					children: [
						/* @__PURE__ */ K("div", {
							className: "flex items-center border-b border-border p-3",
							children: /* @__PURE__ */ q(YU, {
								className: "w-full",
								children: [
									/* @__PURE__ */ K(XU, {
										value: "query",
										disabled: w.length === 0,
										className: "text-xs",
										children: "Query"
									}),
									/* @__PURE__ */ K(XU, {
										value: "mutation",
										disabled: T.length === 0,
										className: "text-xs",
										children: "Mutation"
									}),
									/* @__PURE__ */ K(XU, {
										value: "subscription",
										disabled: E.length === 0,
										className: "text-xs",
										children: "Subscription"
									})
								]
							})
						}),
						t && /* @__PURE__ */ K("div", {
							className: "sticky top-0 z-10 border-b border-border p-3",
							children: /* @__PURE__ */ q(VA, {
								className: "pr-0",
								children: [
									/* @__PURE__ */ K(KA, {
										placeholder: "Search fields",
										value: p,
										onChange: (e) => h(e.currentTarget.value)
									}),
									/* @__PURE__ */ K(UA, { children: /* @__PURE__ */ K(wr, { className: "size-4 text-muted-foreground" }) }),
									/* @__PURE__ */ K(UA, {
										align: "inline-end",
										className: "py-0 pr-1.5",
										children: /* @__PURE__ */ K(mW, {
											mode: ee,
											onModeChange: j,
											isSearchActive: D
										})
									})
								]
							})
						}),
						/* @__PURE__ */ K("div", {
							className: "flex-1 overflow-hidden",
							children: /* @__PURE__ */ q(VM, {
								className: "h-full font-mono",
								children: [
									/* @__PURE__ */ q("div", {
										className: "p-3",
										children: [
											/* @__PURE__ */ K(ZU, {
												value: "query",
												children: D ? /* @__PURE__ */ K(hW, {
													type: "query",
													fields: w,
													openPaths: _,
													setOpenPaths: v,
													visiblePaths: k,
													matchedPaths: O?.matchedPaths ?? [],
													forcedOpenPaths: O?.forcedOpenPaths ?? null,
													isSearchActive: D,
													mode: ee,
													isReadOnly: e.isReadOnly ?? !1,
													operation: x,
													searchValue: g,
													schema: t,
													tab: y
												}) : w.map((t) => /* @__PURE__ */ K(pW, {
													field: t,
													path: ["query", t.name],
													openPaths: _,
													setOpenPaths: v,
													visiblePaths: k,
													forcedOpenPaths: A,
													isSearchActive: D,
													isReadOnly: e.isReadOnly,
													operation: x,
													operationName: e.operationName,
													searchValue: g
												}, t.name))
											}),
											/* @__PURE__ */ K(ZU, {
												value: "mutation",
												children: D ? /* @__PURE__ */ K(hW, {
													type: "mutation",
													fields: T,
													openPaths: _,
													setOpenPaths: v,
													visiblePaths: k,
													matchedPaths: O?.matchedPaths ?? [],
													forcedOpenPaths: O?.forcedOpenPaths ?? null,
													isSearchActive: D,
													mode: ee,
													isReadOnly: e.isReadOnly ?? !1,
													operation: x,
													searchValue: g,
													schema: t,
													tab: y
												}) : T.map((t) => /* @__PURE__ */ K(pW, {
													field: t,
													path: ["mutation", t.name],
													openPaths: _,
													setOpenPaths: v,
													visiblePaths: k,
													forcedOpenPaths: A,
													isSearchActive: D,
													isReadOnly: e.isReadOnly,
													operation: x,
													operationName: e.operationName,
													searchValue: g
												}, t.name))
											}),
											/* @__PURE__ */ K(ZU, {
												value: "subscription",
												children: D ? /* @__PURE__ */ K(hW, {
													type: "subscription",
													fields: E,
													openPaths: _,
													setOpenPaths: v,
													visiblePaths: k,
													matchedPaths: O?.matchedPaths ?? [],
													forcedOpenPaths: O?.forcedOpenPaths ?? null,
													isSearchActive: D,
													mode: ee,
													isReadOnly: e.isReadOnly ?? !1,
													operation: x,
													searchValue: g,
													schema: t,
													tab: y
												}) : E.map((t) => /* @__PURE__ */ K(pW, {
													field: t,
													path: ["subscription", t.name],
													openPaths: _,
													setOpenPaths: v,
													visiblePaths: k,
													forcedOpenPaths: A,
													isSearchActive: D,
													isReadOnly: e.isReadOnly,
													operation: x,
													operationName: e.operationName,
													searchValue: g
												}, t.name))
											})
										]
									}),
									/* @__PURE__ */ K(HM, { className: "relative z-50" }),
									/* @__PURE__ */ K(HM, {
										orientation: "horizontal",
										className: "relative z-50"
									})
								]
							})
						})
					]
				}, x?.id) : /* @__PURE__ */ K(tD, {
					className: "h-96 w-full px-0!",
					children: /* @__PURE__ */ q(nD, { children: [
						/* @__PURE__ */ K(iD, {
							variant: "icon",
							children: /* @__PURE__ */ K(Zn, { className: "size-6 text-muted-foreground" })
						}),
						/* @__PURE__ */ K(aD, {
							className: "text-base",
							children: "No endpoint selected"
						}),
						/* @__PURE__ */ K(oD, {
							className: "text-xs",
							children: "You haven't selected any endpoint yet. Get started by selecting an endpoint."
						})
					] })
				})
			})
		]
	});
}, _W = Qt.file("variables.json"), vW = (e) => {
	let { activeOperation: t, updateActiveOperation: n } = $_(), r = V(() => e.operation ?? t ?? null, [e.operation, t]);
	return /* @__PURE__ */ K(VL, {
		uri: _W,
		value: r?.variables ?? "",
		language: "json",
		onChange: (e) => {
			n({ variables: e ?? "" });
		},
		options: { readOnly: e.isReadOnly }
	});
}, yW = (e) => {
	let { activeOperation: t, updateActiveOperation: n } = $_(), r = V(() => e.operation ?? t ?? null, [e.operation, t]);
	return /* @__PURE__ */ K(VL, {
		uri: Qt.file("headers.json"),
		value: r?.headers ?? "",
		language: "json",
		onChange: (e) => {
			n({ headers: e ?? "" });
		},
		options: { readOnly: e.isReadOnly }
	});
}, bW = (e) => {
	let { activeOperation: t, updateActiveOperation: n } = $_(), r = V(() => e.operation ?? t ?? null, [e.operation, t]);
	return /* @__PURE__ */ K(VL, {
		uri: Qt.file("extensions.json"),
		value: r?.extensions ?? "",
		language: "json",
		onChange: (e) => {
			n({ extensions: e ?? "" });
		},
		options: { readOnly: e.isReadOnly }
	});
}, xW = ({ historyItem: e }) => /* @__PURE__ */ K(VL, {
	value: JSON.stringify(JSON.parse(e?.response ?? "{}"), null, 2),
	defaultLanguage: "json",
	theme: "hive-laboratory",
	options: { readOnly: !0 }
}), SW = ({ historyItem: e }) => /* @__PURE__ */ K(VL, {
	value: JSON.stringify(JSON.parse(e?.headers ?? "{}"), null, 2),
	defaultLanguage: "json",
	theme: "hive-laboratory"
}), CW = ({ historyItem: e }) => /* @__PURE__ */ q(VM, {
	className: "h-full",
	children: [/* @__PURE__ */ K("div", {
		className: "flex flex-col gap-1.5 p-3 whitespace-pre-wrap",
		children: e?.preflightLogs?.map((e, t) => /* @__PURE__ */ q("div", {
			className: "gap-2 font-mono",
			children: [
				/* @__PURE__ */ K("span", {
					className: "text-xs text-muted-foreground",
					children: e.createdAt
				}),
				" ",
				/* @__PURE__ */ K("span", {
					className: X("text-xs font-medium", {
						"text-blue-400": e.level === "info",
						"text-green-400": e.level === "log",
						"text-yellow-400": e.level === "warn",
						"text-red-400": e.level === "error",
						"text-gray-400": e.level === "system"
					}),
					children: e.level.toUpperCase()
				}),
				" ",
				/* @__PURE__ */ K("span", {
					className: "text-xs",
					children: e.message.join(" ")
				})
			]
		}, t))
	}), /* @__PURE__ */ K(HM, {})]
}), wW = ({ historyItem: e }) => {
	let [t, n] = U("text"), r = V(() => CR(e?.response), [e]);
	return r ? /* @__PURE__ */ q("div", {
		className: "relative size-full",
		children: [/* @__PURE__ */ q(tW, {
			className: "absolute top-4 right-4 z-10 bg-card shadow-sm",
			type: "single",
			variant: "outline",
			value: t,
			onValueChange: (e) => n(e),
			children: [/* @__PURE__ */ q(nW, {
				value: "text",
				children: [/* @__PURE__ */ K(An, { className: "size-4" }), "Text"]
			}), /* @__PURE__ */ q(nW, {
				value: "visual",
				children: [/* @__PURE__ */ K(mr, { className: "size-4" }), "Visual"]
			})]
		}), t === "visual" ? /* @__PURE__ */ K(zU, { plan: r }, e?.id) : /* @__PURE__ */ K(VL, {
			value: EU(r),
			defaultLanguage: "graphql",
			theme: "hive-laboratory",
			options: { readOnly: !0 }
		})]
	}) : /* @__PURE__ */ K(tD, {
		className: "size-full",
		children: /* @__PURE__ */ q(nD, { children: [
			/* @__PURE__ */ K(iD, {
				variant: "icon",
				children: /* @__PURE__ */ K(mr, { className: "size-6 text-muted-foreground" })
			}),
			/* @__PURE__ */ K(aD, { children: e ? "No query plan" : "No query plan yet" }),
			/* @__PURE__ */ K(oD, { children: e ? "This response did not include one. Query plans show up here when your gateway returns extensions.queryPlan." : "Run this operation against a gateway that returns extensions.queryPlan to see how it resolves across subgraphs." })
		] })
	});
}, TW = ({ historyItem: e }) => {
	let { isActiveOperationLoading: t } = $_();
	return /* @__PURE__ */ q("div", {
		className: "flex h-full flex-col",
		children: [/* @__PURE__ */ q("div", {
			className: "flex h-12 border-b border-border p-3 text-base font-medium",
			children: ["Subscription", /* @__PURE__ */ K("div", {
				className: "ml-auto flex items-center gap-2",
				children: t ? /* @__PURE__ */ K(VF, {
					variant: "default",
					className: "bg-green-400/10 text-green-500",
					children: "Listening"
				}) : /* @__PURE__ */ K(VF, {
					variant: "default",
					className: "bg-red-400/10 text-red-500",
					children: "Not listening"
				})
			})]
		}), /* @__PURE__ */ K("div", {
			className: "flex-1 overflow-hidden",
			children: /* @__PURE__ */ q(VM, {
				className: "h-full",
				children: [/* @__PURE__ */ K("div", {
					className: "flex flex-col overflow-hidden",
					children: e?.responses.sort((e, t) => new Date(t.createdAt).getTime() - new Date(e.createdAt).getTime()).map((e, t) => {
						let n = [
							`// ${e.createdAt}`,
							"",
							JSON.stringify(JSON.parse(e.data), null, 2)
						].join("\n"), r = 20.5 * n.split("\n").length;
						return /* @__PURE__ */ K("div", {
							className: "border-b border-border",
							style: { height: `${r}px` },
							children: /* @__PURE__ */ K(VL, {
								value: n,
								defaultLanguage: "json",
								theme: "hive-laboratory",
								options: {
									readOnly: !0,
									scrollBeyondLastLine: !1,
									scrollbar: {
										vertical: "hidden",
										handleMouseWheel: !1,
										alwaysConsumeMouseWheel: !1
									}
								}
							}, e.createdAt)
						}, t);
					})
				}), /* @__PURE__ */ K(HM, {})]
			})
		})]
	});
}, EW = ({ historyItem: e }) => {
	let [t, n] = U(!1), r = V(() => e ? !e.status || e.status < 200 || e.status >= 300 || "response" in e && JSON.parse(e.response).errors : !1, [e]);
	return /* @__PURE__ */ q(JU, {
		defaultValue: "response",
		className: X("grid size-full grid-rows-[auto_1fr] bg-card", { "absolute inset-0 z-100 size-full": t }),
		children: [
			/* @__PURE__ */ q(YU, {
				className: "h-[50px] w-full items-center justify-start rounded-none border-b bg-transparent p-3",
				children: [
					t ? /* @__PURE__ */ q(RA, { children: [/* @__PURE__ */ K(zA, {
						asChild: !0,
						children: /* @__PURE__ */ K(Q, {
							variant: "ghost",
							size: "sm",
							className: "mt-0.5 mr-2 h-6 w-6",
							onClick: () => n(!1),
							children: /* @__PURE__ */ K(gr, { className: "size-4" })
						})
					}), /* @__PURE__ */ K(BA, {
						side: "bottom",
						children: "Minimize panel"
					})] }) : /* @__PURE__ */ q(RA, { children: [/* @__PURE__ */ K(zA, {
						asChild: !0,
						children: /* @__PURE__ */ K(Q, {
							variant: "ghost",
							size: "sm",
							className: "mt-0.5 mr-2 h-6 w-6",
							onClick: () => n(!0),
							children: /* @__PURE__ */ K(hr, { className: "size-4" })
						})
					}), /* @__PURE__ */ K(BA, {
						side: "bottom",
						children: "Maximize panel"
					})] }),
					/* @__PURE__ */ K(XU, {
						value: "response",
						className: "grow-0 rounded-sm",
						children: "Response"
					}),
					/* @__PURE__ */ K(XU, {
						value: "headers",
						className: "grow-0 rounded-sm",
						children: "Headers"
					}),
					e?.preflightLogs && e?.preflightLogs.length > 0 && /* @__PURE__ */ K(XU, {
						value: "preflight",
						className: "grow-0 rounded-sm",
						children: "Preflight"
					}),
					/* @__PURE__ */ K(XU, {
						value: "query-plan",
						className: "grow-0 rounded-sm",
						children: "Query Plan"
					}),
					e ? /* @__PURE__ */ q("div", {
						className: "ml-auto flex items-center gap-2",
						children: [
							!!e?.status && /* @__PURE__ */ q(VF, {
								className: X("bg-green-400/10 text-green-500", { "bg-red-400/10 text-red-500": r }),
								children: [K(r ? Hn : Bn, { className: "size-3" }), /* @__PURE__ */ K("span", { children: e.status })]
							}),
							e?.duration && /* @__PURE__ */ q(VF, {
								variant: "outline",
								className: "bg-card",
								children: [/* @__PURE__ */ K(Un, { className: "size-3" }), /* @__PURE__ */ q("span", { children: [Math.round(e.duration), "ms"] })]
							}),
							e.size != null && /* @__PURE__ */ q(VF, {
								variant: "outline",
								className: "bg-card",
								children: [/* @__PURE__ */ K(Jn, { className: "size-3" }), /* @__PURE__ */ K("span", { children: Uc(e.size) })]
							})
						]
					}) : null
				]
			}),
			/* @__PURE__ */ K(ZU, {
				value: "response",
				className: "overflow-hidden",
				children: /* @__PURE__ */ K(xW, { historyItem: e })
			}),
			/* @__PURE__ */ K(ZU, {
				value: "query-plan",
				className: "overflow-hidden",
				children: /* @__PURE__ */ K(wW, { historyItem: e })
			}),
			/* @__PURE__ */ K(ZU, {
				value: "headers",
				className: "overflow-hidden",
				children: /* @__PURE__ */ K(SW, { historyItem: e })
			}),
			/* @__PURE__ */ K(ZU, {
				value: "preflight",
				className: "overflow-hidden",
				children: /* @__PURE__ */ K(CW, { historyItem: e })
			})
		]
	});
}, DW = G.object({ collectionId: G.string().min(1, "Collection is required") }), OW = (e) => {
	let { endpoint: t, runActiveOperation: n, activeOperation: r, isActiveOperationLoading: i, updateActiveOperation: a, collections: o, addOperationToCollection: s, addCollection: c, addHistory: l, stopActiveOperation: u, addResponseToHistory: d, isActiveOperationSubscription: f, runPreflight: p, addTab: m, setActiveTab: h, addOperation: g, checkPermissions: _, preflight: v, setPreflight: y, plugins: b, pluginsState: x, setPluginsState: S, env: C, settings: w } = $_(), [T, E] = U(null), D = V(() => e.operation ?? r ?? null, [e.operation, r]), O = z(async () => {
		if (!D || !t) return;
		let r = await p?.(b, x);
		if (S(r?.pluginsState ?? {}), r?.status === "error") {
			let t = l({
				headers: "{}",
				operation: D,
				preflightLogs: r?.logs ?? [],
				response: "{\n          \"errors\": [\n            {\n              \"message\": \"Preflight failed check logs for more details\"\n            }\n          ]\n        }",
				createdAt: (/* @__PURE__ */ new Date()).toISOString()
			});
			e.onAfterOperationRun?.(t);
		} else if (f) {
			let i = l({
				responses: [],
				operation: D,
				preflightLogs: r?.logs ?? [],
				createdAt: (/* @__PURE__ */ new Date()).toISOString()
			});
			n(t, {
				env: r?.env,
				headers: r?.headers,
				operationName: T ?? void 0,
				onResponse: (e) => {
					d(i.id, e);
				}
			}), e.onAfterOperationRun?.(i);
		} else {
			let i = performance.now(), a = await n(t, {
				env: r?.env,
				headers: r?.headers,
				operationName: T ?? void 0
			});
			if (!a) return;
			let o = a.extensions?.response ?? {
				status: 0,
				headers: {}
			};
			delete a.extensions?.request, delete a.extensions?.response, Object.keys(a.extensions ?? {}).length === 0 && delete a.extensions;
			let s = o.status;
			s === 0 && a.errors?.length && Oo.error("Could not reach endpoint", { description: a.errors[0].message });
			let c = performance.now() - i, u = JSON.stringify(a, null, 2), d = new TextEncoder().encode(u).length, f = l({
				status: s,
				duration: c,
				size: d,
				headers: JSON.stringify(o.headers, null, 2),
				operation: D,
				preflightLogs: r?.logs ?? [],
				response: u,
				createdAt: (/* @__PURE__ */ new Date()).toISOString()
			});
			e.onAfterOperationRun?.(f);
		}
	}, [
		D,
		T,
		t,
		f,
		l,
		n,
		e,
		d,
		p,
		x
	]);
	B(() => {
		let e = (e) => {
			e.key === "Enter" && (e.metaKey || e.ctrlKey) && (e.preventDefault(), e.stopPropagation(), O());
		};
		return document.addEventListener("keydown", e, { capture: !0 }), () => document.removeEventListener("keydown", e, { capture: !0 });
	}, [O]);
	let [k, A] = U(!1), ee = zr({
		defaultValues: { collectionId: "" },
		validators: { onSubmit: DW },
		onSubmit: ({ value: e }) => {
			D && (o.find((t) => t.id === e.collectionId) ? s(e.collectionId, {
				id: D.id ?? "",
				name: D.name ?? "",
				query: D.query ?? "",
				variables: D.variables ?? "",
				headers: D.headers ?? "",
				extensions: D.extensions ?? "",
				description: ""
			}) : c({
				name: e.collectionId,
				operations: [{
					id: D.id ?? "",
					name: D.name ?? "",
					query: D.query ?? "",
					variables: D.variables ?? "",
					headers: D.headers ?? "",
					extensions: D.extensions ?? "",
					description: ""
				}]
			}), A(!1));
		}
	}), j = z(() => {
		ee.reset({ collectionId: o[0]?.id ?? "" }), A(!0);
	}, [ee, o]), M = V(() => o.some((e) => e.operations.some((e) => e.id === D?.id)), [D?.id, o]), N = z((e) => {
		let t = Hr(JSON.stringify({
			n: D?.name,
			q: D?.query,
			v: e.variables ? D?.variables : void 0,
			h: e.headers ? D?.headers : void 0,
			e: e.extensions ? D?.extensions : void 0
		}));
		navigator.clipboard.writeText(`${window.location.origin}${window.location.pathname}?share=${t}`), Oo.success("Operation copied to clipboard");
	}, [D]), te = z(() => {
		D && t && (navigator.clipboard.writeText(YL({
			endpoint: t,
			query: D.query,
			variables: D.variables,
			headers: D.headers,
			extensions: D.extensions,
			operationName: T,
			env: C?.variables,
			pluginsState: x,
			settings: w
		})), Oo.success("cURL command copied to clipboard"));
	}, [
		D,
		t,
		T,
		C,
		x,
		w
	]);
	return /* @__PURE__ */ q("div", {
		className: "grid size-full grid-rows-[auto_1fr] overflow-hidden pb-0",
		children: [
			/* @__PURE__ */ K(ux, {
				open: k,
				onOpenChange: A,
				children: /* @__PURE__ */ q(hx, {
					className: "sm:max-w-[425px]",
					children: [
						/* @__PURE__ */ q(gx, { children: [/* @__PURE__ */ K(vx, { children: "Save operation to collection" }), /* @__PURE__ */ K(yx, { children: "Save the current operation to a collection." })] }),
						/* @__PURE__ */ K("div", {
							className: "grid gap-4",
							children: /* @__PURE__ */ K("form", {
								id: "save-to-collection",
								onSubmit: (e) => {
									e.preventDefault(), ee.handleSubmit();
								},
								children: /* @__PURE__ */ K(bD, { children: o.length > 0 ? /* @__PURE__ */ K(ee.Field, {
									name: "collectionId",
									children: (e) => {
										let t = e.state.meta.isTouched && !e.state.meta.isValid;
										return /* @__PURE__ */ q(SD, {
											"data-invalid": t,
											children: [/* @__PURE__ */ K(CD, {
												htmlFor: e.name,
												children: "Collection"
											}), /* @__PURE__ */ q(BU, {
												name: e.name,
												value: e.state.value,
												onValueChange: e.handleChange,
												children: [/* @__PURE__ */ K(HU, {
													id: e.name,
													"aria-invalid": t,
													children: /* @__PURE__ */ K(VU, { placeholder: "Select collection" })
												}), /* @__PURE__ */ K(UU, { children: o.map((e) => /* @__PURE__ */ K(WU, {
													value: e.id,
													children: e.name
												}, e.id)) })]
											})]
										});
									}
								}) : /* @__PURE__ */ K(ee.Field, {
									name: "collectionId",
									children: (e) => {
										let t = e.state.meta.isTouched && !e.state.meta.isValid;
										return /* @__PURE__ */ q(SD, {
											"data-invalid": t,
											children: [
												/* @__PURE__ */ K(CD, {
													htmlFor: e.name,
													children: "New collection name"
												}),
												/* @__PURE__ */ K(ED, {
													id: e.name,
													name: e.name,
													value: e.state.value,
													onBlur: e.handleBlur,
													onChange: (t) => e.handleChange(t.target.value),
													"aria-invalid": t,
													placeholder: "Enter name of the collection",
													autoComplete: "off"
												}),
												t && /* @__PURE__ */ K(TD, { errors: e.state.meta.errors })
											]
										});
									}
								}) })
							})
						}),
						/* @__PURE__ */ q(_x, { children: [/* @__PURE__ */ K(px, {
							asChild: !0,
							children: /* @__PURE__ */ K(Q, {
								variant: "outline",
								children: "Cancel"
							})
						}), /* @__PURE__ */ K(Q, {
							type: "submit",
							form: "save-to-collection",
							children: "Save to collection"
						})] })
					]
				})
			}),
			/* @__PURE__ */ q("div", {
				className: "flex w-full items-center gap-2 overflow-hidden border-b border-border p-3",
				children: [
					/* @__PURE__ */ K("span", {
						className: "text-base font-medium",
						children: "Operation"
					}),
					_?.("collectionsOperations:create") && /* @__PURE__ */ q($U, {
						"aria-label": "Save operation",
						size: "sm",
						variant: "default",
						pressed: M,
						disabled: M,
						className: "h-6 data-[state=on]:bg-transparent data-[state=on]:*:[svg]:fill-yellow-500 data-[state=on]:*:[svg]:stroke-yellow-500",
						onClick: j,
						children: [/* @__PURE__ */ K(Mn, { className: "size-4" }), M ? "Saved" : "Save"]
					}),
					/* @__PURE__ */ q("div", {
						className: "ml-auto flex items-center gap-2",
						children: [
							/* @__PURE__ */ q(RA, { children: [/* @__PURE__ */ K(zA, {
								asChild: !0,
								children: /* @__PURE__ */ K(Q, {
									onClick: te,
									variant: "ghost",
									size: "icon-sm",
									className: "size-6 rounded-sm p-1!",
									"aria-label": "Copy as cURL",
									children: /* @__PURE__ */ K(kr, { className: "size-4 text-muted-foreground" })
								})
							}), /* @__PURE__ */ K(BA, { children: "Copy as cURL" })] }),
							/* @__PURE__ */ q(JE, { children: [/* @__PURE__ */ K(mE, {
								asChild: !0,
								children: /* @__PURE__ */ q(Q, {
									variant: "outline",
									size: "sm",
									className: "h-6 rounded-sm",
									children: ["Share", /* @__PURE__ */ K(pr, { className: "size-4" })]
								})
							}), /* @__PURE__ */ q(XE, {
								align: "end",
								children: [
									/* @__PURE__ */ K(QE, {
										onClick: () => N({ variables: !0 }),
										children: "Share with variables"
									}),
									/* @__PURE__ */ K(QE, {
										onClick: () => N({
											variables: !0,
											extensions: !0
										}),
										children: "Share with variables and extensions"
									}),
									/* @__PURE__ */ K(QE, {
										onClick: () => N({
											variables: !0,
											headers: !0,
											extensions: !0
										}),
										children: "Share with variables, extensions, headers"
									})
								]
							})] }),
							/* @__PURE__ */ q($U, {
								"aria-label": v?.enabled ? "Disable preflight" : "Enable preflight",
								size: "sm",
								variant: "default",
								pressed: v?.enabled,
								className: "h-6 rounded-sm border border-input bg-input/30 shadow-sm hover:bg-input/50 hover:text-accent-foreground data-[state=on]:bg-transparent",
								onClick: () => {
									y({
										...v ?? {
											script: "",
											enabled: !0
										},
										enabled: !v?.enabled
									});
								},
								children: [v?.enabled ? /* @__PURE__ */ K(yr, { className: "size-4 text-green-500" }) : /* @__PURE__ */ K(br, { className: "size-4 text-red-500" }), "Preflight"]
							}),
							e.isReadOnly ? /* @__PURE__ */ q(Q, {
								variant: "default",
								size: "sm",
								className: "h-6 rounded-sm",
								onClick: () => {
									D && h(m({
										type: "operation",
										data: g(D)
									}));
								},
								children: [/* @__PURE__ */ K(Or, { className: "size-4" }), "Edit"]
							}) : /* @__PURE__ */ K(Q, {
								variant: "default",
								size: "sm",
								className: "h-6 rounded-sm",
								onClick: () => {
									i ? u?.() : O();
								},
								disabled: !D || !t,
								children: i ? /* @__PURE__ */ q(Wr, { children: [/* @__PURE__ */ K(qU, { className: "size-4" }), /* @__PURE__ */ K("span", { children: "Stop" })] }) : /* @__PURE__ */ q(Wr, { children: [/* @__PURE__ */ K(vr, { className: "size-4" }), /* @__PURE__ */ K("span", { children: "Run" })] })
							})
						]
					})
				]
			}),
			/* @__PURE__ */ K(VL, {
				uri: Qt.file(`operation_${t}.graphql`),
				variablesUri: _W,
				value: D?.query ?? "",
				onChange: (e) => {
					a({ query: e ?? "" });
				},
				onOperationNameChange: (t) => {
					E(t), e.onOperationNameChange?.(t);
				},
				language: "graphql",
				theme: "hive-laboratory",
				options: { readOnly: e.isReadOnly }
			})
		]
	});
}, kW = (e) => {
	let { activeOperation: t, history: n } = $_(), [r, i] = U(null), a = V(() => e.operation ?? t ?? null, [e.operation, t]), o = V(() => e.historyItem ?? n.filter((e) => e.operation.id === a?.id).sort((e, t) => new Date(t.createdAt).getTime() - new Date(e.createdAt).getTime())[0] ?? null, [
		n,
		e.historyItem,
		a?.id
	]), s = V(() => !!e.historyItem, [e.historyItem]);
	return /* @__PURE__ */ K("div", {
		className: "relative size-full bg-card",
		children: /* @__PURE__ */ q(Uk, {
			orientation: "horizontal",
			className: "size-full",
			children: [
				/* @__PURE__ */ K(Wk, {
					defaultSize: "25%",
					children: /* @__PURE__ */ K(gW, {
						operation: a,
						operationName: r,
						isReadOnly: s
					})
				}),
				/* @__PURE__ */ K(Gk, {}),
				/* @__PURE__ */ K(Wk, {
					minSize: "10%",
					defaultSize: "40%",
					children: /* @__PURE__ */ q(Uk, {
						orientation: "vertical",
						children: [
							/* @__PURE__ */ K(Wk, {
								defaultSize: "70%",
								children: /* @__PURE__ */ K(OW, {
									operation: a,
									isReadOnly: s,
									onOperationNameChange: i
								})
							}),
							/* @__PURE__ */ K(Gk, {}),
							/* @__PURE__ */ K(Wk, {
								minSize: "10%",
								defaultSize: "30%",
								children: /* @__PURE__ */ q(JU, {
									className: "grid size-full grid-rows-[auto_1fr]",
									defaultValue: "variables",
									children: [
										/* @__PURE__ */ q(YU, {
											className: "h-[49.5px] w-full justify-start rounded-none border-b bg-transparent p-3",
											children: [
												/* @__PURE__ */ K(XU, {
													value: "variables",
													className: "grow-0 rounded-sm",
													children: "Variables"
												}),
												/* @__PURE__ */ K(XU, {
													value: "headers",
													className: "grow-0 rounded-sm",
													children: "Headers"
												}),
												/* @__PURE__ */ K(XU, {
													value: "extensions",
													className: "grow-0 rounded-sm",
													children: "Extensions"
												})
											]
										}),
										/* @__PURE__ */ K(ZU, {
											value: "variables",
											className: "overflow-hidden",
											children: /* @__PURE__ */ K(vW, {
												operation: a,
												isReadOnly: s
											})
										}),
										/* @__PURE__ */ K(ZU, {
											value: "headers",
											className: "overflow-hidden",
											children: /* @__PURE__ */ K(yW, {
												operation: a,
												isReadOnly: s
											})
										}),
										/* @__PURE__ */ K(ZU, {
											value: "extensions",
											className: "overflow-hidden",
											children: /* @__PURE__ */ K(bW, {
												operation: a,
												isReadOnly: s
											})
										})
									]
								})
							})
						]
					})
				}),
				/* @__PURE__ */ K(Gk, {}),
				/* @__PURE__ */ K(Wk, {
					minSize: "10%",
					defaultSize: "35%",
					children: o ? /* @__PURE__ */ K(Wr, { children: "responses" in o ? /* @__PURE__ */ K(TW, { historyItem: o }) : /* @__PURE__ */ K(EW, { historyItem: o }) }) : /* @__PURE__ */ K(tD, {
						className: "size-full",
						children: /* @__PURE__ */ q(nD, { children: [
							/* @__PURE__ */ K(iD, {
								variant: "icon",
								children: /* @__PURE__ */ K(ir, { className: "size-6 text-muted-foreground" })
							}),
							/* @__PURE__ */ K(aD, { children: "No history yet" }),
							/* @__PURE__ */ K(oD, { children: "No response available yet. Run your operation to see the response here." })
						] })
					})
				})
			]
		})
	});
}, AW = () => {
	let { activeTab: e, history: t } = $_(), n = V(() => e?.type === "history" ? t.find((t) => t.id === e.data.id) ?? null : null, [t, e]);
	return n ? /* @__PURE__ */ K(kW, {
		operation: n.operation,
		historyItem: n
	}) : null;
}, jW = () => {
	let { preflight: e, preflightLogs: t, isPreflightRunning: n, testPreflight: r, abortPreflight: i, clearPreflightLogs: a, setLastTestResult: o, setPreflight: s, setEnv: c, checkPermissions: l, preflightNotice: u, plugins: d, pluginsState: f, setPluginsState: p } = $_(), m = z(async () => {
		if (!e?.script) return;
		let t = await r?.(d, f);
		c(t?.env ?? { variables: {} }), p(t?.pluginsState ?? {}), o(t ?? null);
	}, [
		e?.script,
		r,
		d,
		f,
		c,
		p
	]), h = t ?? [];
	return /* @__PURE__ */ q(Uk, {
		orientation: "horizontal",
		className: "size-full",
		children: [
			/* @__PURE__ */ K(Wk, {
				defaultSize: "50%",
				className: "bg-card",
				children: /* @__PURE__ */ q("div", {
					className: "grid size-full grid-rows-[auto_auto_1fr] pb-0",
					children: [
						/* @__PURE__ */ q("div", {
							className: "flex w-full items-center gap-2 border-b border-border p-3",
							children: [/* @__PURE__ */ K("span", {
								className: "text-base font-medium",
								children: "Preflight"
							}), /* @__PURE__ */ K("div", {
								className: "ml-auto flex items-center gap-2",
								children: n ? /* @__PURE__ */ q(Q, {
									variant: "destructive",
									size: "sm",
									className: "h-6 rounded-sm",
									onClick: i,
									children: [/* @__PURE__ */ K(Dr, { className: "size-4" }), /* @__PURE__ */ K("span", { children: "Stop" })]
								}) : /* @__PURE__ */ q(Q, {
									variant: "default",
									size: "sm",
									className: "h-6 rounded-sm",
									onClick: m,
									children: [/* @__PURE__ */ K(vr, { className: "size-4" }), /* @__PURE__ */ K("span", { children: "Test" })]
								})
							})]
						}),
						/* @__PURE__ */ q("div", {
							className: "border-b border-border px-3 py-2 text-xs text-muted-foreground",
							children: [
								/* @__PURE__ */ K(Nr, { className: "mr-1.5 inline size-3.5 align-[-2px]" }),
								"Preflight scripts run in this browser as part of your requests. Prefer",
								" ",
								/* @__PURE__ */ K("code", {
									className: "font-mono",
									children: "lab.prompt()"
								}),
								" over writing secrets into the script.",
								u ? /* @__PURE__ */ K("span", {
									className: "ml-1",
									children: u
								}) : null
							]
						}),
						/* @__PURE__ */ K("div", {
							className: "size-full",
							children: /* @__PURE__ */ K(VL, {
								value: e?.script ?? "",
								onChange: (t) => {
									s({
										...e ?? {
											script: "",
											enabled: !0
										},
										script: t ?? ""
									});
								},
								language: "typescript",
								extraLibs: [`
                  interface Lab {
                    environment: {
                      /** Stored as text. Anything else is dropped with a warning. */
                      set: (key: string, value: string | number | boolean | null) => void;
                      get: (key: string) => string;
                      delete: (key: string) => void;
                    };
                    request: {
                      /** Sent as-is and win over the operation's own headers. */
                      headers: Headers;
                    };
                    /**
                     * Asks the user for a value before the request runs. The title labels the
                     * input; placeholder and description are optional hints. Resolves null when
                     * the prompt is dismissed; an empty field cannot be submitted.
                     */
                    prompt: (
                      title: string,
                      defaultValue?: string,
                      options?: { placeholder?: string; description?: string },
                    ) => Promise<string | null>;
                    CryptoJS: typeof CryptoJS;
                    plugins: {
                      ${d.filter((e) => e.preflight?.lab?.definition).map((e) => e.preflight?.lab?.definition).join("\n")}
                    }
                  }

                  declare namespace CryptoJS {
                    namespace lib {
                      interface WordArray {
                        words: number[];
                        sigBytes: number;
                        toString(encoder?: Encoder): string;
                        concat(wordArray: WordArray): WordArray;
                        clone(): WordArray;
                      }
                      interface CipherParams {
                        ciphertext: WordArray;
                        key: WordArray;
                        iv: WordArray;
                        salt: WordArray;
                        toString(formatter?: Format): string;
                      }
                    }
                    namespace enc {
                      interface Encoder {
                        stringify(wordArray: lib.WordArray): string;
                        parse(str: string): lib.WordArray;
                      }
                      const Hex: Encoder;
                      const Latin1: Encoder;
                      const Utf8: Encoder;
                      const Base64: Encoder;
                    }
                    namespace algo {
                      interface HasherStatic {
                        create(cfg?: object): Hasher;
                      }
                      interface Hasher {
                        update(messageUpdate: lib.WordArray | string): Hasher;
                        finalize(messageUpdate?: lib.WordArray | string): lib.WordArray;
                      }
                      const MD5: HasherStatic;
                      const SHA1: HasherStatic;
                      const SHA256: HasherStatic;
                      const SHA224: HasherStatic;
                      const SHA512: HasherStatic;
                      const SHA384: HasherStatic;
                      const SHA3: HasherStatic;
                      const RIPEMD160: HasherStatic;
                      interface CipherStatic {
                        createEncryptor(key: lib.WordArray, cfg?: CipherOption): Cipher;
                        createDecryptor(key: lib.WordArray, cfg?: CipherOption): Cipher;
                      }
                      interface Cipher {
                        process(dataUpdate: lib.WordArray | string): lib.WordArray;
                        finalize(dataUpdate?: lib.WordArray | string): lib.WordArray;
                      }
                      interface CipherHelper {
                        encrypt(message: lib.WordArray | string, key: lib.WordArray | string, cfg?: CipherOption): lib.CipherParams;
                        decrypt(ciphertext: lib.CipherParams | string, key: lib.WordArray | string, cfg?: CipherOption): lib.WordArray;
                      }
                      const AES: CipherStatic;
                      const DES: CipherStatic;
                      const TripleDES: CipherStatic;
                      const RC4: CipherStatic;
                    }
                    namespace mode {
                      interface BlockCipherMode {
                        createEncryptor(cipher: algo.Cipher, iv: number[]): Mode;
                        createDecryptor(cipher: algo.Cipher, iv: number[]): Mode;
                      }
                      const CBC: BlockCipherMode;
                      const CFB: BlockCipherMode;
                      const CTR: BlockCipherMode;
                      const OFB: BlockCipherMode;
                      const ECB: BlockCipherMode;
                    }
                    namespace pad {
                      interface Padding {
                        pad(data: lib.WordArray, blockSize: number): void;
                        unpad(data: lib.WordArray): void;
                      }
                      const Pkcs7: Padding;
                      const AnsiX923: Padding;
                      const Iso10126: Padding;
                      const Iso97971: Padding;
                      const ZeroPadding: Padding;
                      const NoPadding: Padding;
                    }
                    namespace format {
                      interface Format {
                        stringify(cipherParams: lib.CipherParams): string;
                        parse(str: string): lib.CipherParams;
                      }
                      const OpenSSL: Format;
                      const Hex: Format;
                    }
                    interface CipherOption {
                      iv?: lib.WordArray;
                      mode?: mode.BlockCipherMode;
                      padding?: pad.Padding;
                      format?: format.Format;
                      [key: string]: any;
                    }
                    interface Mode {
                      processBlock(words: number[], offset: number): void;
                    }
                    type HasherHelper = (message: lib.WordArray | string, cfg?: object) => lib.WordArray;
                    type HmacHasherHelper = (message: lib.WordArray | string, key: lib.WordArray | string) => lib.WordArray;
                    type CipherHelper = {
                      encrypt(message: lib.WordArray | string, key: lib.WordArray | string, cfg?: CipherOption): lib.CipherParams;
                      decrypt(ciphertext: lib.CipherParams | string, key: lib.WordArray | string, cfg?: CipherOption): lib.WordArray;
                    };
                    const MD5: HasherHelper;
                    const SHA1: HasherHelper;
                    const SHA256: HasherHelper;
                    const SHA224: HasherHelper;
                    const SHA512: HasherHelper;
                    const SHA384: HasherHelper;
                    const SHA3: HasherHelper;
                    const RIPEMD160: HasherHelper;
                    const HmacMD5: HmacHasherHelper;
                    const HmacSHA1: HmacHasherHelper;
                    const HmacSHA256: HmacHasherHelper;
                    const HmacSHA224: HmacHasherHelper;
                    const HmacSHA512: HmacHasherHelper;
                    const HmacSHA384: HmacHasherHelper;
                    const HmacSHA3: HmacHasherHelper;
                    const HmacRIPEMD160: HmacHasherHelper;
                    const AES: CipherHelper;
                    const DES: CipherHelper;
                    const TripleDES: CipherHelper;
                    const RC4: CipherHelper;
                    const RC4Drop: CipherHelper;
                    const Rabbit: CipherHelper;
                    const RabbitLegacy: CipherHelper;
                    function PBKDF2(password: lib.WordArray | string, salt: lib.WordArray | string, cfg?: { keySize?: number; hasher?: algo.HasherStatic; iterations?: number }): lib.WordArray;
                    function EvpKDF(password: lib.WordArray | string, salt: lib.WordArray | string, cfg?: { keySize: number; hasher?: algo.HasherStatic; iterations: number }): lib.WordArray;
                  }

                  declare var lab: Lab;
                  declare var CryptoJS: typeof CryptoJS;
                  `],
								options: { readOnly: !l?.("preflight:update") }
							})
						})
					]
				})
			}),
			/* @__PURE__ */ K(Gk, {}),
			/* @__PURE__ */ K(Wk, {
				minSize: "10%",
				defaultSize: "50%",
				className: "bg-card",
				children: h.length > 0 ? /* @__PURE__ */ q("div", {
					className: "grid size-full grid-rows-[auto_1fr] pb-0",
					children: [/* @__PURE__ */ q("div", {
						className: "flex h-12 w-full items-center gap-2 border-b border-border p-3",
						children: [/* @__PURE__ */ K("span", {
							className: "text-base font-medium",
							children: "Logs"
						}), /* @__PURE__ */ K("div", {
							className: "ml-auto flex items-center gap-2",
							children: /* @__PURE__ */ q(Q, {
								variant: "ghost",
								size: "sm",
								className: "h-6 rounded-sm",
								onClick: a,
								children: [/* @__PURE__ */ K(jr, { className: "size-4" }), /* @__PURE__ */ K("span", { children: "Clear" })]
							})
						})]
					}), /* @__PURE__ */ q(VM, {
						className: "h-full",
						children: [/* @__PURE__ */ K("div", {
							role: "log",
							"aria-label": "Preflight logs",
							className: "flex flex-col gap-1.5 p-3 whitespace-pre-wrap",
							children: h.map((e, t) => /* @__PURE__ */ q("div", {
								className: "gap-2 font-mono",
								"data-level": e.level,
								children: [
									/* @__PURE__ */ K("span", {
										className: "text-xs text-muted-foreground",
										children: e.createdAt
									}),
									" ",
									/* @__PURE__ */ K("span", {
										className: X("text-xs font-medium", {
											"text-blue-400": e.level === "info",
											"text-green-400": e.level === "log",
											"text-yellow-400": e.level === "warn",
											"text-red-400": e.level === "error",
											"text-gray-400": e.level === "system"
										}),
										children: e.level.toUpperCase()
									}),
									" ",
									e.line ? /* @__PURE__ */ q("span", {
										className: "text-xs text-muted-foreground",
										children: [
											"(",
											e.line,
											":",
											e.column,
											")",
											" "
										]
									}) : null,
									/* @__PURE__ */ K("span", {
										className: "text-xs",
										children: Yc(e.message.join(" ")).map((e, t) => e.type === "url" ? /* @__PURE__ */ K("a", {
											href: e.value,
											target: "_blank",
											rel: "noopener noreferrer",
											className: "break-all text-blue-400 underline underline-offset-2 hover:opacity-80",
											children: e.value
										}, t) : e.value)
									})
								]
							}, t))
						}), /* @__PURE__ */ K(HM, {})]
					})]
				}) : /* @__PURE__ */ K(tD, {
					className: "size-full",
					children: /* @__PURE__ */ q(nD, { children: [
						/* @__PURE__ */ K(iD, {
							variant: "icon",
							children: /* @__PURE__ */ K(ir, { className: "size-6 text-muted-foreground" })
						}),
						/* @__PURE__ */ K(aD, { children: "No logs yet" }),
						/* @__PURE__ */ K(oD, { children: "No logs available yet. Run your preflight to see the logs here." })
					] })
				})
			})
		]
	});
}, MW = (e) => {
	let t = H(!1), n = (n) => {
		t.current || (t.current = !0, e.onSubmit?.(n));
	};
	B(() => {
		e.open && (t.current = !1);
	}, [e.open, e.onSubmit]);
	let r = zr({
		defaultValues: { value: e.defaultValue || null },
		validators: { onSubmit: Rr.object({ value: Rr.string().min(1, "Value is required").nullable() }) },
		onSubmit: ({ value: t }) => {
			n(t.value || null), e.onOpenChange(!1), r.reset();
		}
	});
	return /* @__PURE__ */ K(ux, {
		open: e.open,
		onOpenChange: (t) => {
			(r.state.isSubmitted ? Promise.resolve() : r.handleSubmit()).catch(() => {}).then(() => {
				t || n(null);
			}), e.onOpenChange(t);
		},
		children: /* @__PURE__ */ q(hx, { children: [
			/* @__PURE__ */ K(gx, { children: /* @__PURE__ */ K(vx, { children: "Preflight script request" }) }),
			/* @__PURE__ */ K(yx, { children: "Your preflight script is asking for a value before this request runs." }),
			/* @__PURE__ */ K("form", {
				id: "preflight-prompt-form",
				onSubmit: (e) => {
					e.preventDefault(), r.handleSubmit();
				},
				children: /* @__PURE__ */ K(bD, { children: /* @__PURE__ */ K(r.Field, {
					name: "value",
					children: (t) => {
						let n = t.state.meta.isTouched && !t.state.meta.isValid;
						return /* @__PURE__ */ q(SD, {
							"data-invalid": n,
							children: [
								e.title && /* @__PURE__ */ K(CD, {
									htmlFor: t.name,
									children: e.title
								}),
								e.description && /* @__PURE__ */ K(wD, { children: e.description }),
								/* @__PURE__ */ K(ED, {
									id: t.name,
									name: t.name,
									value: t.state.value || "",
									onBlur: t.handleBlur,
									onChange: (e) => t.handleChange(e.target.value),
									"aria-invalid": n,
									placeholder: e.placeholder,
									autoComplete: "off"
								}),
								n && /* @__PURE__ */ K(TD, { errors: t.state.meta.errors })
							]
						});
					}
				}) })
			}),
			/* @__PURE__ */ q(_x, { children: [/* @__PURE__ */ K(Q, {
				type: "button",
				variant: "outline",
				onClick: () => {
					n(null), e.onOpenChange(!1), r.reset();
				},
				children: "Cancel"
			}), /* @__PURE__ */ K(Q, {
				type: "submit",
				form: "preflight-prompt-form",
				onClick: () => {
					r.handleSubmit();
				},
				children: "Submit"
			})] })
		] })
	});
};
// src/components/ui/switch.tsx
function NW({ className: e, ...t }) {
	return /* @__PURE__ */ K(XV, {
		"data-slot": "switch",
		className: X("peer inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-sm transition-all outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input/80", e),
		...t,
		children: /* @__PURE__ */ K(ZV, {
			"data-slot": "switch-thumb",
			className: X("pointer-events-none block size-4 rounded-full bg-background ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=checked]:bg-primary-foreground data-[state=unchecked]:translate-x-0 data-[state=unchecked]:bg-foreground")
		})
	});
}
// src/components/ui/card.tsx
function PW({ className: e, ...t }) {
	return /* @__PURE__ */ K("div", {
		"data-slot": "card",
		className: X("flex flex-col gap-6 rounded-xl border bg-card py-6 text-card-foreground shadow-sm", e),
		...t
	});
}
function FW({ className: e, ...t }) {
	return /* @__PURE__ */ K("div", {
		"data-slot": "card-header",
		className: X("grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-[>[data-slot=card-action]]:grid-cols-[1fr_auto] [.border-b]:pb-6", e),
		...t
	});
}
function IW({ className: e, ...t }) {
	return /* @__PURE__ */ K("div", {
		"data-slot": "card-title",
		className: X("leading-none font-semibold", e),
		...t
	});
}
function LW({ className: e, ...t }) {
	return /* @__PURE__ */ K("div", {
		"data-slot": "card-description",
		className: X("text-sm text-muted-foreground", e),
		...t
	});
}
function RW({ className: e, ...t }) {
	return /* @__PURE__ */ K("div", {
		"data-slot": "card-content",
		className: X("px-6", e),
		...t
	});
}
// src/components/laboratory/settings.tsx
var zW = G.object({
	fetch: G.object({
		credentials: G.enum([
			"include",
			"omit",
			"same-origin"
		]),
		timeout: G.number().optional(),
		useGETForQueries: G.boolean().optional()
	}),
	subscriptions: G.object({ protocol: G.enum([
		"SSE",
		"GRAPHQL_SSE",
		"WS",
		"LEGACY_WS"
	]) }),
	introspection: G.object({
		method: G.enum(["GET", "POST"]).optional(),
		headers: G.string().optional(),
		includeActiveOperationHeaders: G.boolean().optional()
	})
}), BW = () => {
	let { settings: e, setSettings: t } = $_(), n = zr({
		defaultValues: e,
		validators: { onSubmit: zW }
	});
	return B(() => {
		n.store.subscribe((e) => {
			t(e.currentVal.values);
		});
	}, [t]), /* @__PURE__ */ K("div", {
		className: "size-full overflow-y-auto bg-card p-3",
		children: /* @__PURE__ */ q("form", {
			id: "settings-form",
			className: "mx-auto flex max-w-2xl flex-col gap-4",
			children: [
				/* @__PURE__ */ q(PW, { children: [/* @__PURE__ */ q(FW, { children: [/* @__PURE__ */ K(IW, { children: "Fetch" }), /* @__PURE__ */ K(LW, { children: "Configure the fetch options for the laboratory." })] }), /* @__PURE__ */ K(RW, { children: /* @__PURE__ */ q(bD, { children: [
					/* @__PURE__ */ K(n.Field, {
						name: "fetch.credentials",
						children: (e) => {
							let t = e.state.meta.isTouched && !e.state.meta.isValid;
							return /* @__PURE__ */ q(SD, {
								"data-invalid": t,
								children: [/* @__PURE__ */ K(CD, {
									htmlFor: e.name,
									children: "Credentials"
								}), /* @__PURE__ */ q(BU, {
									name: e.name,
									value: e.state.value,
									onValueChange: (t) => e.handleChange(t),
									children: [/* @__PURE__ */ K(HU, {
										id: e.name,
										"aria-invalid": t,
										children: /* @__PURE__ */ K(VU, { placeholder: "Select credentials" })
									}), /* @__PURE__ */ q(UU, { children: [
										/* @__PURE__ */ K(WU, {
											value: "include",
											children: "Include"
										}),
										/* @__PURE__ */ K(WU, {
											value: "omit",
											children: "Omit"
										}),
										/* @__PURE__ */ K(WU, {
											value: "same-origin",
											children: "Same-origin"
										})
									] })]
								})]
							});
						}
					}),
					/* @__PURE__ */ K(n.Field, {
						name: "fetch.timeout",
						children: (e) => /* @__PURE__ */ q(SD, { children: [/* @__PURE__ */ K(CD, {
							htmlFor: e.name,
							children: "Timeout"
						}), /* @__PURE__ */ K(ED, {
							type: "number",
							name: e.name,
							value: e.state.value ?? "",
							onChange: (t) => e.handleChange(t.target.value === "" ? void 0 : Number(t.target.value))
						})] })
					}),
					/* @__PURE__ */ K(n.Field, {
						name: "fetch.useGETForQueries",
						children: (e) => /* @__PURE__ */ q(SD, {
							className: "flex-row items-center",
							children: [/* @__PURE__ */ K(NW, {
								className: "!w-8",
								checked: e.state.value ?? !1,
								onCheckedChange: e.handleChange
							}), /* @__PURE__ */ K(CD, {
								htmlFor: e.name,
								children: "Use GET for queries"
							})]
						})
					})
				] }) })] }),
				/* @__PURE__ */ q(PW, { children: [/* @__PURE__ */ q(FW, { children: [/* @__PURE__ */ K(IW, { children: "Subscriptions" }), /* @__PURE__ */ K(LW, { children: "Configure the subscriptions options for the laboratory." })] }), /* @__PURE__ */ K(RW, { children: /* @__PURE__ */ K(bD, { children: /* @__PURE__ */ K(n.Field, {
					name: "subscriptions.protocol",
					children: (e) => {
						let t = e.state.meta.isTouched && !e.state.meta.isValid;
						return /* @__PURE__ */ q(SD, {
							"data-invalid": t,
							children: [/* @__PURE__ */ K(CD, {
								htmlFor: e.name,
								children: "Protocol"
							}), /* @__PURE__ */ q(BU, {
								name: e.name,
								value: e.state.value,
								onValueChange: (t) => e.handleChange(t),
								children: [/* @__PURE__ */ K(HU, {
									id: e.name,
									"aria-invalid": t,
									children: /* @__PURE__ */ K(VU, { placeholder: "Select protocol" })
								}), /* @__PURE__ */ q(UU, { children: [
									/* @__PURE__ */ K(WU, {
										value: "SSE",
										children: "SSE"
									}),
									/* @__PURE__ */ K(WU, {
										value: "GRAPHQL_SSE",
										children: "GRAPHQL_SSE"
									}),
									/* @__PURE__ */ K(WU, {
										value: "WS",
										children: "WS"
									}),
									/* @__PURE__ */ K(WU, {
										value: "LEGACY_WS",
										children: "LEGACY_WS"
									})
								] })]
							})]
						});
					}
				}) }) })] }),
				/* @__PURE__ */ q(PW, { children: [/* @__PURE__ */ q(FW, { children: [/* @__PURE__ */ K(IW, { children: "Introspection" }), /* @__PURE__ */ K(LW, { children: "Configure the introspection options for the laboratory." })] }), /* @__PURE__ */ K(RW, { children: /* @__PURE__ */ q(bD, { children: [
					/* @__PURE__ */ K(n.Field, {
						name: "introspection.method",
						children: (e) => {
							let t = e.state.meta.isTouched && !e.state.meta.isValid;
							return /* @__PURE__ */ q(SD, { children: [/* @__PURE__ */ K(CD, {
								htmlFor: e.name,
								children: "Method"
							}), /* @__PURE__ */ q(BU, {
								name: e.name,
								value: e.state.value,
								onValueChange: (t) => e.handleChange(t),
								children: [/* @__PURE__ */ K(HU, {
									id: e.name,
									"aria-invalid": t,
									children: /* @__PURE__ */ K(VU, { placeholder: "Select method" })
								}), /* @__PURE__ */ q(UU, { children: [/* @__PURE__ */ K(WU, {
									value: "GET",
									children: "GET"
								}), /* @__PURE__ */ K(WU, {
									value: "POST",
									children: "POST"
								})] })]
							})] });
						}
					}),
					/* @__PURE__ */ K(n.Field, {
						name: "introspection.headers",
						children: (e) => /* @__PURE__ */ q(SD, { children: [/* @__PURE__ */ K(CD, {
							htmlFor: e.name,
							children: "Headers"
						}), /* @__PURE__ */ K(VL, {
							value: e.state.value ?? "{}",
							onChange: e.handleChange,
							defaultLanguage: "json",
							theme: "hive-laboratory",
							className: "h-64 rounded rounded-md border border-input bg-input/30 focus-within:border-ring focus-within:ring-[3px] focus-within:ring-ring/50"
						})] })
					}),
					/* @__PURE__ */ K(n.Field, {
						name: "introspection.pollSchema",
						children: (e) => /* @__PURE__ */ q(SD, {
							className: "flex-row items-start",
							children: [/* @__PURE__ */ K(NW, {
								className: "mt-0.5 !w-8",
								checked: e.state.value ?? !0,
								onCheckedChange: e.handleChange
							}), /* @__PURE__ */ q("div", { children: [/* @__PURE__ */ K(CD, {
								htmlFor: e.name,
								children: "Poll for schema changes"
							}), /* @__PURE__ */ K(wD, { children: "Re-runs the introspection query every 5 seconds. Turn off to reload the schema only when you ask for it." })] })]
						})
					}),
					/* @__PURE__ */ K(n.Field, {
						name: "introspection.includeActiveOperationHeaders",
						children: (e) => /* @__PURE__ */ q(SD, {
							className: "flex-row items-start",
							children: [/* @__PURE__ */ K(NW, {
								className: "mt-0.5 !w-8",
								checked: e.state.value ?? !1,
								onCheckedChange: e.handleChange
							}), /* @__PURE__ */ q("div", { children: [/* @__PURE__ */ K(CD, {
								htmlFor: e.name,
								children: "Include active operation headers"
							}), /* @__PURE__ */ K(wD, { children: "Active operation (tab) headers will be included in the introspection query" })] })]
						})
					})
				] }) })] })
			]
		})
	});
};
// ../../../node_modules/.pnpm/@dnd-kit+utilities@3.2.2_react@18.3.1/node_modules/@dnd-kit/utilities/dist/utilities.esm.js
function VW() {
	var e = [...arguments];
	return V(() => (t) => {
		e.forEach((e) => e(t));
	}, e);
}
var HW = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;
function UW(e) {
	let t = Object.prototype.toString.call(e);
	return t === "[object Window]" || t === "[object global]";
}
function WW(e) {
	return "nodeType" in e;
}
function GW(e) {
	return e ? UW(e) ? e : WW(e) ? e.ownerDocument?.defaultView ?? window : window : window;
}
function KW(e) {
	let { Document: t } = GW(e);
	return e instanceof t;
}
function qW(e) {
	return !UW(e) && e instanceof GW(e).HTMLElement;
}
function JW(e) {
	return e instanceof GW(e).SVGElement;
}
function YW(e) {
	return e ? UW(e) ? e.document : WW(e) ? KW(e) ? e : qW(e) || JW(e) ? e.ownerDocument : document : document : document;
}
var XW = HW ? Cn : B;
function ZW(e) {
	let t = H(e);
	return XW(() => {
		t.current = e;
	}), z(function() {
		var e = [...arguments];
		return t.current == null ? void 0 : t.current(...e);
	}, []);
}
function QW() {
	let e = H(null);
	return [z((t, n) => {
		e.current = setInterval(t, n);
	}, []), z(() => {
		e.current !== null && (clearInterval(e.current), e.current = null);
	}, [])];
}
function $W(e, t) {
	t === void 0 && (t = [e]);
	let n = H(e);
	return XW(() => {
		n.current !== e && (n.current = e);
	}, t), n;
}
function eG(e, t) {
	let n = H();
	return V(() => {
		let t = e(n.current);
		return n.current = t, t;
	}, [...t]);
}
function tG(e) {
	let t = ZW(e), n = H(null);
	return [n, z((e) => {
		e !== n.current && t?.(e, n.current), n.current = e;
	}, [])];
}
function nG(e) {
	let t = H();
	return B(() => {
		t.current = e;
	}, [e]), t.current;
}
var rG = {};
function iG(e, t) {
	return V(() => {
		if (t) return t;
		let n = rG[e] == null ? 0 : rG[e] + 1;
		return rG[e] = n, e + "-" + n;
	}, [e, t]);
}
function aG(e) {
	return function(t) {
		return [...arguments].slice(1).reduce((t, n) => {
			let r = Object.entries(n);
			for (let [n, i] of r) {
				let r = t[n];
				r != null && (t[n] = r + e * i);
			}
			return t;
		}, { ...t });
	};
}
var oG = /*#__PURE__*/ aG(1), sG = /*#__PURE__*/ aG(-1);
function cG(e) {
	return "clientX" in e && "clientY" in e;
}
function lG(e) {
	if (!e) return !1;
	let { KeyboardEvent: t } = GW(e.target);
	return t && e instanceof t;
}
function uG(e) {
	if (!e) return !1;
	let { TouchEvent: t } = GW(e.target);
	return t && e instanceof t;
}
function dG(e) {
	if (uG(e)) {
		if (e.touches && e.touches.length) {
			let { clientX: t, clientY: n } = e.touches[0];
			return {
				x: t,
				y: n
			};
		}
		if (e.changedTouches && e.changedTouches.length) {
			let { clientX: t, clientY: n } = e.changedTouches[0];
			return {
				x: t,
				y: n
			};
		}
	}
	return cG(e) ? {
		x: e.clientX,
		y: e.clientY
	} : null;
}
var fG = /*#__PURE__*/ Object.freeze({
	Translate: { toString(e) {
		if (!e) return;
		let { x: t, y: n } = e;
		return "translate3d(" + (t ? Math.round(t) : 0) + "px, " + (n ? Math.round(n) : 0) + "px, 0)";
	} },
	Scale: { toString(e) {
		if (!e) return;
		let { scaleX: t, scaleY: n } = e;
		return "scaleX(" + t + ") scaleY(" + n + ")";
	} },
	Transform: { toString(e) {
		if (e) return [fG.Translate.toString(e), fG.Scale.toString(e)].join(" ");
	} },
	Transition: { toString(e) {
		let { property: t, duration: n, easing: r } = e;
		return t + " " + n + "ms " + r;
	} }
}), pG = "a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";
function mG(e) {
	return e.matches(pG) ? e : e.querySelector(pG);
}
// ../../../node_modules/.pnpm/@dnd-kit+accessibility@3.1.1_react@18.3.1/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.js
var hG = { display: "none" };
function gG(e) {
	let { id: t, value: n } = e;
	return R.createElement("div", {
		id: t,
		style: hG
	}, n);
}
function _G(e) {
	let { id: t, announcement: n, ariaLiveType: r = "assertive" } = e;
	return R.createElement("div", {
		id: t,
		style: {
			position: "fixed",
			top: 0,
			left: 0,
			width: 1,
			height: 1,
			margin: -1,
			border: 0,
			padding: 0,
			overflow: "hidden",
			clip: "rect(0 0 0 0)",
			clipPath: "inset(100%)",
			whiteSpace: "nowrap"
		},
		role: "status",
		"aria-live": r,
		"aria-atomic": !0
	}, n);
}
function vG() {
	let [e, t] = U("");
	return {
		announce: z((e) => {
			e != null && t(e);
		}, []),
		announcement: e
	};
}
// ../../../node_modules/.pnpm/@dnd-kit+core@6.3.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@dnd-kit/core/dist/core.esm.js
var yG = /*#__PURE__*/ mn(null);
function bG(e) {
	let t = vn(yG);
	B(() => {
		if (!t) throw Error("useDndMonitor must be used within a children of <DndContext>");
		return t(e);
	}, [e, t]);
}
function xG() {
	let [e] = U(() => /* @__PURE__ */ new Set()), t = z((t) => (e.add(t), () => e.delete(t)), [e]);
	return [z((t) => {
		let { type: n, event: r } = t;
		e.forEach((e) => e[n]?.call(e, r));
	}, [e]), t];
}
var SG = { draggable: "\n    To pick up a draggable item, press the space bar.\n    While dragging, use the arrow keys to move the item.\n    Press space again to drop the item in its new position, or press escape to cancel.\n  " }, CG = {
	onDragStart(e) {
		let { active: t } = e;
		return "Picked up draggable item " + t.id + ".";
	},
	onDragOver(e) {
		let { active: t, over: n } = e;
		return n ? "Draggable item " + t.id + " was moved over droppable area " + n.id + "." : "Draggable item " + t.id + " is no longer over a droppable area.";
	},
	onDragEnd(e) {
		let { active: t, over: n } = e;
		return n ? "Draggable item " + t.id + " was dropped over droppable area " + n.id : "Draggable item " + t.id + " was dropped.";
	},
	onDragCancel(e) {
		let { active: t } = e;
		return "Dragging was cancelled. Draggable item " + t.id + " was dropped.";
	}
};
function wG(e) {
	let { announcements: t = CG, container: n, hiddenTextDescribedById: r, screenReaderInstructions: i = SG } = e, { announce: a, announcement: o } = vG(), s = iG("DndLiveRegion"), [c, l] = U(!1);
	if (B(() => {
		l(!0);
	}, []), bG(V(() => ({
		onDragStart(e) {
			let { active: n } = e;
			a(t.onDragStart({ active: n }));
		},
		onDragMove(e) {
			let { active: n, over: r } = e;
			t.onDragMove && a(t.onDragMove({
				active: n,
				over: r
			}));
		},
		onDragOver(e) {
			let { active: n, over: r } = e;
			a(t.onDragOver({
				active: n,
				over: r
			}));
		},
		onDragEnd(e) {
			let { active: n, over: r } = e;
			a(t.onDragEnd({
				active: n,
				over: r
			}));
		},
		onDragCancel(e) {
			let { active: n, over: r } = e;
			a(t.onDragCancel({
				active: n,
				over: r
			}));
		}
	}), [a, t])), !c) return null;
	let u = R.createElement(R.Fragment, null, R.createElement(gG, {
		id: r,
		value: i.draggable
	}), R.createElement(_G, {
		id: s,
		announcement: o
	}));
	return n ? On(u, n) : u;
}
var TG;
(function(e) {
	e.DragStart = "dragStart", e.DragMove = "dragMove", e.DragEnd = "dragEnd", e.DragCancel = "dragCancel", e.DragOver = "dragOver", e.RegisterDroppable = "registerDroppable", e.SetDroppableDisabled = "setDroppableDisabled", e.UnregisterDroppable = "unregisterDroppable";
})(TG ||= {});
function EG() {}
function DG(e, t) {
	return V(() => ({
		sensor: e,
		options: t ?? {}
	}), [e, t]);
}
function OG() {
	var e = [...arguments];
	return V(() => [...e].filter((e) => e != null), [...e]);
}
var kG = /*#__PURE__*/ Object.freeze({
	x: 0,
	y: 0
});
function AG(e, t) {
	return Math.sqrt((e.x - t.x) ** 2 + (e.y - t.y) ** 2);
}
function jG(e, t) {
	let n = dG(e);
	if (!n) return "0 0";
	let r = {
		x: (n.x - t.left) / t.width * 100,
		y: (n.y - t.top) / t.height * 100
	};
	return r.x + "% " + r.y + "%";
}
function MG(e, t) {
	let { data: { value: n } } = e, { data: { value: r } } = t;
	return n - r;
}
function NG(e, t) {
	let { data: { value: n } } = e, { data: { value: r } } = t;
	return r - n;
}
function PG(e) {
	let { left: t, top: n, height: r, width: i } = e;
	return [
		{
			x: t,
			y: n
		},
		{
			x: t + i,
			y: n
		},
		{
			x: t,
			y: n + r
		},
		{
			x: t + i,
			y: n + r
		}
	];
}
function FG(e, t) {
	if (!e || e.length === 0) return null;
	let [n] = e;
	return t ? n[t] : n;
}
function IG(e, t, n) {
	return t === void 0 && (t = e.left), n === void 0 && (n = e.top), {
		x: t + e.width * .5,
		y: n + e.height * .5
	};
}
var LG = (e) => {
	let { collisionRect: t, droppableRects: n, droppableContainers: r } = e, i = IG(t, t.left, t.top), a = [];
	for (let e of r) {
		let { id: t } = e, r = n.get(t);
		if (r) {
			let n = AG(IG(r), i);
			a.push({
				id: t,
				data: {
					droppableContainer: e,
					value: n
				}
			});
		}
	}
	return a.sort(MG);
}, RG = (e) => {
	let { collisionRect: t, droppableRects: n, droppableContainers: r } = e, i = PG(t), a = [];
	for (let e of r) {
		let { id: t } = e, r = n.get(t);
		if (r) {
			let n = PG(r), o = i.reduce((e, t, r) => e + AG(n[r], t), 0), s = Number((o / 4).toFixed(4));
			a.push({
				id: t,
				data: {
					droppableContainer: e,
					value: s
				}
			});
		}
	}
	return a.sort(MG);
};
function zG(e, t) {
	let n = Math.max(t.top, e.top), r = Math.max(t.left, e.left), i = Math.min(t.left + t.width, e.left + e.width), a = Math.min(t.top + t.height, e.top + e.height), o = i - r, s = a - n;
	if (r < i && n < a) {
		let n = t.width * t.height, r = e.width * e.height, i = o * s, a = i / (n + r - i);
		return Number(a.toFixed(4));
	}
	return 0;
}
var BG = (e) => {
	let { collisionRect: t, droppableRects: n, droppableContainers: r } = e, i = [];
	for (let e of r) {
		let { id: r } = e, a = n.get(r);
		if (a) {
			let n = zG(a, t);
			n > 0 && i.push({
				id: r,
				data: {
					droppableContainer: e,
					value: n
				}
			});
		}
	}
	return i.sort(NG);
};
function VG(e, t, n) {
	return {
		...e,
		scaleX: t && n ? t.width / n.width : 1,
		scaleY: t && n ? t.height / n.height : 1
	};
}
function HG(e, t) {
	return e && t ? {
		x: e.left - t.left,
		y: e.top - t.top
	} : kG;
}
function UG(e) {
	return function(t) {
		return [...arguments].slice(1).reduce((t, n) => ({
			...t,
			top: t.top + e * n.y,
			bottom: t.bottom + e * n.y,
			left: t.left + e * n.x,
			right: t.right + e * n.x
		}), { ...t });
	};
}
var WG = /*#__PURE__*/ UG(1);
function GG(e) {
	if (e.startsWith("matrix3d(")) {
		let t = e.slice(9, -1).split(/, /);
		return {
			x: +t[12],
			y: +t[13],
			scaleX: +t[0],
			scaleY: +t[5]
		};
	}
	if (e.startsWith("matrix(")) {
		let t = e.slice(7, -1).split(/, /);
		return {
			x: +t[4],
			y: +t[5],
			scaleX: +t[0],
			scaleY: +t[3]
		};
	}
	return null;
}
function KG(e, t, n) {
	let r = GG(t);
	if (!r) return e;
	let { scaleX: i, scaleY: a, x: o, y: s } = r, c = e.left - o - (1 - i) * parseFloat(n), l = e.top - s - (1 - a) * parseFloat(n.slice(n.indexOf(" ") + 1)), u = i ? e.width / i : e.width, d = a ? e.height / a : e.height;
	return {
		width: u,
		height: d,
		top: l,
		right: c + u,
		bottom: l + d,
		left: c
	};
}
var qG = { ignoreTransform: !1 };
function JG(e, t) {
	t === void 0 && (t = qG);
	let n = e.getBoundingClientRect();
	if (t.ignoreTransform) {
		let { transform: t, transformOrigin: r } = GW(e).getComputedStyle(e);
		t && (n = KG(n, t, r));
	}
	let { top: r, left: i, width: a, height: o, bottom: s, right: c } = n;
	return {
		top: r,
		left: i,
		width: a,
		height: o,
		bottom: s,
		right: c
	};
}
function YG(e) {
	return JG(e, { ignoreTransform: !0 });
}
function XG(e) {
	let t = e.innerWidth, n = e.innerHeight;
	return {
		top: 0,
		left: 0,
		right: t,
		bottom: n,
		width: t,
		height: n
	};
}
function ZG(e, t) {
	return t === void 0 && (t = GW(e).getComputedStyle(e)), t.position === "fixed";
}
function QG(e, t) {
	t === void 0 && (t = GW(e).getComputedStyle(e));
	let n = /(auto|scroll|overlay)/;
	return [
		"overflow",
		"overflowX",
		"overflowY"
	].some((e) => {
		let r = t[e];
		return typeof r == "string" && n.test(r);
	});
}
function $G(e, t) {
	let n = [];
	function r(i) {
		if (t != null && n.length >= t || !i) return n;
		if (KW(i) && i.scrollingElement != null && !n.includes(i.scrollingElement)) return n.push(i.scrollingElement), n;
		if (!qW(i) || JW(i) || n.includes(i)) return n;
		let a = GW(e).getComputedStyle(i);
		return i !== e && QG(i, a) && n.push(i), ZG(i, a) ? n : r(i.parentNode);
	}
	return e ? r(e) : n;
}
function eK(e) {
	let [t] = $G(e, 1);
	return t ?? null;
}
function tK(e) {
	return !HW || !e ? null : UW(e) ? e : WW(e) ? KW(e) || e === YW(e).scrollingElement ? window : qW(e) ? e : null : null;
}
function nK(e) {
	return UW(e) ? e.scrollX : e.scrollLeft;
}
function rK(e) {
	return UW(e) ? e.scrollY : e.scrollTop;
}
function iK(e) {
	return {
		x: nK(e),
		y: rK(e)
	};
}
var aK;
(function(e) {
	e[e.Forward = 1] = "Forward", e[e.Backward = -1] = "Backward";
})(aK ||= {});
function oK(e) {
	return !HW || !e ? !1 : e === document.scrollingElement;
}
function sK(e) {
	let t = {
		x: 0,
		y: 0
	}, n = oK(e) ? {
		height: window.innerHeight,
		width: window.innerWidth
	} : {
		height: e.clientHeight,
		width: e.clientWidth
	}, r = {
		x: e.scrollWidth - n.width,
		y: e.scrollHeight - n.height
	};
	return {
		isTop: e.scrollTop <= t.y,
		isLeft: e.scrollLeft <= t.x,
		isBottom: e.scrollTop >= r.y,
		isRight: e.scrollLeft >= r.x,
		maxScroll: r,
		minScroll: t
	};
}
var cK = {
	x: .2,
	y: .2
};
function lK(e, t, n, r, i) {
	let { top: a, left: o, right: s, bottom: c } = n;
	r === void 0 && (r = 10), i === void 0 && (i = cK);
	let { isTop: l, isBottom: u, isLeft: d, isRight: f } = sK(e), p = {
		x: 0,
		y: 0
	}, m = {
		x: 0,
		y: 0
	}, h = {
		height: t.height * i.y,
		width: t.width * i.x
	};
	return !l && a <= t.top + h.height ? (p.y = aK.Backward, m.y = r * Math.abs((t.top + h.height - a) / h.height)) : !u && c >= t.bottom - h.height && (p.y = aK.Forward, m.y = r * Math.abs((t.bottom - h.height - c) / h.height)), !f && s >= t.right - h.width ? (p.x = aK.Forward, m.x = r * Math.abs((t.right - h.width - s) / h.width)) : !d && o <= t.left + h.width && (p.x = aK.Backward, m.x = r * Math.abs((t.left + h.width - o) / h.width)), {
		direction: p,
		speed: m
	};
}
function uK(e) {
	if (e === document.scrollingElement) {
		let { innerWidth: e, innerHeight: t } = window;
		return {
			top: 0,
			left: 0,
			right: e,
			bottom: t,
			width: e,
			height: t
		};
	}
	let { top: t, left: n, right: r, bottom: i } = e.getBoundingClientRect();
	return {
		top: t,
		left: n,
		right: r,
		bottom: i,
		width: e.clientWidth,
		height: e.clientHeight
	};
}
function dK(e) {
	return e.reduce((e, t) => oG(e, iK(t)), kG);
}
function fK(e) {
	return e.reduce((e, t) => e + nK(t), 0);
}
function pK(e) {
	return e.reduce((e, t) => e + rK(t), 0);
}
function mK(e, t) {
	if (t === void 0 && (t = JG), !e) return;
	let { top: n, left: r, bottom: i, right: a } = t(e);
	eK(e) && (i <= 0 || a <= 0 || n >= window.innerHeight || r >= window.innerWidth) && e.scrollIntoView({
		block: "center",
		inline: "center"
	});
}
var hK = [[
	"x",
	["left", "right"],
	fK
], [
	"y",
	["top", "bottom"],
	pK
]], gK = class {
	constructor(e, t) {
		this.rect = void 0, this.width = void 0, this.height = void 0, this.top = void 0, this.bottom = void 0, this.right = void 0, this.left = void 0;
		let n = $G(t), r = dK(n);
		this.rect = { ...e }, this.width = e.width, this.height = e.height;
		for (let [e, t, i] of hK) for (let a of t) Object.defineProperty(this, a, {
			get: () => {
				let t = i(n), o = r[e] - t;
				return this.rect[a] + o;
			},
			enumerable: !0
		});
		Object.defineProperty(this, "rect", { enumerable: !1 });
	}
}, _K = class {
	constructor(e) {
		this.target = void 0, this.listeners = [], this.removeAll = () => {
			this.listeners.forEach((e) => this.target?.removeEventListener(...e));
		}, this.target = e;
	}
	add(e, t, n) {
		var r;
		(r = this.target) == null || r.addEventListener(e, t, n), this.listeners.push([
			e,
			t,
			n
		]);
	}
};
function vK(e) {
	let { EventTarget: t } = GW(e);
	return e instanceof t ? e : YW(e);
}
function yK(e, t) {
	let n = Math.abs(e.x), r = Math.abs(e.y);
	return typeof t == "number" ? Math.sqrt(n ** 2 + r ** 2) > t : "x" in t && "y" in t ? n > t.x && r > t.y : "x" in t ? n > t.x : "y" in t && r > t.y;
}
var bK;
(function(e) {
	e.Click = "click", e.DragStart = "dragstart", e.Keydown = "keydown", e.ContextMenu = "contextmenu", e.Resize = "resize", e.SelectionChange = "selectionchange", e.VisibilityChange = "visibilitychange";
})(bK ||= {});
function xK(e) {
	e.preventDefault();
}
function SK(e) {
	e.stopPropagation();
}
var CK;
(function(e) {
	e.Space = "Space", e.Down = "ArrowDown", e.Right = "ArrowRight", e.Left = "ArrowLeft", e.Up = "ArrowUp", e.Esc = "Escape", e.Enter = "Enter", e.Tab = "Tab";
})(CK ||= {});
var wK = {
	start: [CK.Space, CK.Enter],
	cancel: [CK.Esc],
	end: [
		CK.Space,
		CK.Enter,
		CK.Tab
	]
}, TK = (e, t) => {
	let { currentCoordinates: n } = t;
	switch (e.code) {
		case CK.Right: return {
			...n,
			x: n.x + 25
		};
		case CK.Left: return {
			...n,
			x: n.x - 25
		};
		case CK.Down: return {
			...n,
			y: n.y + 25
		};
		case CK.Up: return {
			...n,
			y: n.y - 25
		};
	}
}, EK = class {
	constructor(e) {
		this.props = void 0, this.autoScrollEnabled = !1, this.referenceCoordinates = void 0, this.listeners = void 0, this.windowListeners = void 0, this.props = e;
		let { event: { target: t } } = e;
		this.props = e, this.listeners = new _K(YW(t)), this.windowListeners = new _K(GW(t)), this.handleKeyDown = this.handleKeyDown.bind(this), this.handleCancel = this.handleCancel.bind(this), this.attach();
	}
	attach() {
		this.handleStart(), this.windowListeners.add(bK.Resize, this.handleCancel), this.windowListeners.add(bK.VisibilityChange, this.handleCancel), setTimeout(() => this.listeners.add(bK.Keydown, this.handleKeyDown));
	}
	handleStart() {
		let { activeNode: e, onStart: t } = this.props, n = e.node.current;
		n && mK(n), t(kG);
	}
	handleKeyDown(e) {
		if (lG(e)) {
			let { active: t, context: n, options: r } = this.props, { keyboardCodes: i = wK, coordinateGetter: a = TK, scrollBehavior: o = "smooth" } = r, { code: s } = e;
			if (i.end.includes(s)) {
				this.handleEnd(e);
				return;
			}
			if (i.cancel.includes(s)) {
				this.handleCancel(e);
				return;
			}
			let { collisionRect: c } = n.current, l = c ? {
				x: c.left,
				y: c.top
			} : kG;
			this.referenceCoordinates ||= l;
			let u = a(e, {
				active: t,
				context: n.current,
				currentCoordinates: l
			});
			if (u) {
				let t = sG(u, l), r = {
					x: 0,
					y: 0
				}, { scrollableAncestors: i } = n.current;
				for (let n of i) {
					let i = e.code, { isTop: a, isRight: s, isLeft: c, isBottom: l, maxScroll: d, minScroll: f } = sK(n), p = uK(n), m = {
						x: Math.min(i === CK.Right ? p.right - p.width / 2 : p.right, Math.max(i === CK.Right ? p.left : p.left + p.width / 2, u.x)),
						y: Math.min(i === CK.Down ? p.bottom - p.height / 2 : p.bottom, Math.max(i === CK.Down ? p.top : p.top + p.height / 2, u.y))
					}, h = i === CK.Right && !s || i === CK.Left && !c, g = i === CK.Down && !l || i === CK.Up && !a;
					if (h && m.x !== u.x) {
						let e = n.scrollLeft + t.x, a = i === CK.Right && e <= d.x || i === CK.Left && e >= f.x;
						if (a && !t.y) {
							n.scrollTo({
								left: e,
								behavior: o
							});
							return;
						}
						r.x = a ? n.scrollLeft - e : i === CK.Right ? n.scrollLeft - d.x : n.scrollLeft - f.x, r.x && n.scrollBy({
							left: -r.x,
							behavior: o
						});
						break;
					}
					if (g && m.y !== u.y) {
						let e = n.scrollTop + t.y, a = i === CK.Down && e <= d.y || i === CK.Up && e >= f.y;
						if (a && !t.x) {
							n.scrollTo({
								top: e,
								behavior: o
							});
							return;
						}
						r.y = a ? n.scrollTop - e : i === CK.Down ? n.scrollTop - d.y : n.scrollTop - f.y, r.y && n.scrollBy({
							top: -r.y,
							behavior: o
						});
						break;
					}
				}
				this.handleMove(e, oG(sG(u, this.referenceCoordinates), r));
			}
		}
	}
	handleMove(e, t) {
		let { onMove: n } = this.props;
		e.preventDefault(), n(t);
	}
	handleEnd(e) {
		let { onEnd: t } = this.props;
		e.preventDefault(), this.detach(), t();
	}
	handleCancel(e) {
		let { onCancel: t } = this.props;
		e.preventDefault(), this.detach(), t();
	}
	detach() {
		this.listeners.removeAll(), this.windowListeners.removeAll();
	}
};
EK.activators = [{
	eventName: "onKeyDown",
	handler: (e, t, n) => {
		let { keyboardCodes: r = wK, onActivation: i } = t, { active: a } = n, { code: o } = e.nativeEvent;
		if (r.start.includes(o)) {
			let t = a.activatorNode.current;
			return t && e.target !== t ? !1 : (e.preventDefault(), i?.({ event: e.nativeEvent }), !0);
		}
		return !1;
	}
}];
function DK(e) {
	return !!(e && "distance" in e);
}
function OK(e) {
	return !!(e && "delay" in e);
}
var kK = class {
	constructor(e, t, n) {
		n === void 0 && (n = vK(e.event.target)), this.props = void 0, this.events = void 0, this.autoScrollEnabled = !0, this.document = void 0, this.activated = !1, this.initialCoordinates = void 0, this.timeoutId = null, this.listeners = void 0, this.documentListeners = void 0, this.windowListeners = void 0, this.props = e, this.events = t;
		let { event: r } = e, { target: i } = r;
		this.props = e, this.events = t, this.document = YW(i), this.documentListeners = new _K(this.document), this.listeners = new _K(n), this.windowListeners = new _K(GW(i)), this.initialCoordinates = dG(r) ?? kG, this.handleStart = this.handleStart.bind(this), this.handleMove = this.handleMove.bind(this), this.handleEnd = this.handleEnd.bind(this), this.handleCancel = this.handleCancel.bind(this), this.handleKeydown = this.handleKeydown.bind(this), this.removeTextSelection = this.removeTextSelection.bind(this), this.attach();
	}
	attach() {
		let { events: e, props: { options: { activationConstraint: t, bypassActivationConstraint: n } } } = this;
		if (this.listeners.add(e.move.name, this.handleMove, { passive: !1 }), this.listeners.add(e.end.name, this.handleEnd), e.cancel && this.listeners.add(e.cancel.name, this.handleCancel), this.windowListeners.add(bK.Resize, this.handleCancel), this.windowListeners.add(bK.DragStart, xK), this.windowListeners.add(bK.VisibilityChange, this.handleCancel), this.windowListeners.add(bK.ContextMenu, xK), this.documentListeners.add(bK.Keydown, this.handleKeydown), t) {
			if (n != null && n({
				event: this.props.event,
				activeNode: this.props.activeNode,
				options: this.props.options
			})) return this.handleStart();
			if (OK(t)) {
				this.timeoutId = setTimeout(this.handleStart, t.delay), this.handlePending(t);
				return;
			}
			if (DK(t)) {
				this.handlePending(t);
				return;
			}
		}
		this.handleStart();
	}
	detach() {
		this.listeners.removeAll(), this.windowListeners.removeAll(), setTimeout(this.documentListeners.removeAll, 50), this.timeoutId !== null && (clearTimeout(this.timeoutId), this.timeoutId = null);
	}
	handlePending(e, t) {
		let { active: n, onPending: r } = this.props;
		r(n, e, this.initialCoordinates, t);
	}
	handleStart() {
		let { initialCoordinates: e } = this, { onStart: t } = this.props;
		e && (this.activated = !0, this.documentListeners.add(bK.Click, SK, { capture: !0 }), this.removeTextSelection(), this.documentListeners.add(bK.SelectionChange, this.removeTextSelection), t(e));
	}
	handleMove(e) {
		let { activated: t, initialCoordinates: n, props: r } = this, { onMove: i, options: { activationConstraint: a } } = r;
		if (!n) return;
		let o = dG(e) ?? kG, s = sG(n, o);
		if (!t && a) {
			if (DK(a)) {
				if (a.tolerance != null && yK(s, a.tolerance)) return this.handleCancel();
				if (yK(s, a.distance)) return this.handleStart();
			}
			if (OK(a) && yK(s, a.tolerance)) return this.handleCancel();
			this.handlePending(a, s);
		} else e.cancelable && e.preventDefault(), i(o);
	}
	handleEnd() {
		let { onAbort: e, onEnd: t } = this.props;
		this.detach(), this.activated || e(this.props.active), t();
	}
	handleCancel() {
		let { onAbort: e, onCancel: t } = this.props;
		this.detach(), this.activated || e(this.props.active), t();
	}
	handleKeydown(e) {
		e.code === CK.Esc && this.handleCancel();
	}
	removeTextSelection() {
		var e;
		(e = this.document.getSelection()) == null || e.removeAllRanges();
	}
}, AK = {
	cancel: { name: "pointercancel" },
	move: { name: "pointermove" },
	end: { name: "pointerup" }
}, jK = class extends kK {
	constructor(e) {
		let { event: t } = e, n = YW(t.target);
		super(e, AK, n);
	}
};
jK.activators = [{
	eventName: "onPointerDown",
	handler: (e, t) => {
		let { nativeEvent: n } = e, { onActivation: r } = t;
		return !n.isPrimary || n.button !== 0 ? !1 : (r?.({ event: n }), !0);
	}
}];
var MK = {
	move: { name: "mousemove" },
	end: { name: "mouseup" }
}, NK;
(function(e) {
	e[e.RightClick = 2] = "RightClick";
})(NK ||= {});
var PK = class extends kK {
	constructor(e) {
		super(e, MK, YW(e.event.target));
	}
};
PK.activators = [{
	eventName: "onMouseDown",
	handler: (e, t) => {
		let { nativeEvent: n } = e, { onActivation: r } = t;
		return n.button !== NK.RightClick && (r?.({ event: n }), !0);
	}
}];
var FK = {
	cancel: { name: "touchcancel" },
	move: { name: "touchmove" },
	end: { name: "touchend" }
}, IK = class extends kK {
	constructor(e) {
		super(e, FK);
	}
	static setup() {
		return window.addEventListener(FK.move.name, e, {
			capture: !1,
			passive: !1
		}), function() {
			window.removeEventListener(FK.move.name, e);
		};
		function e() {}
	}
};
IK.activators = [{
	eventName: "onTouchStart",
	handler: (e, t) => {
		let { nativeEvent: n } = e, { onActivation: r } = t, { touches: i } = n;
		return i.length > 1 ? !1 : (r?.({ event: n }), !0);
	}
}];
var LK;
(function(e) {
	e[e.Pointer = 0] = "Pointer", e[e.DraggableRect = 1] = "DraggableRect";
})(LK ||= {});
var RK;
(function(e) {
	e[e.TreeOrder = 0] = "TreeOrder", e[e.ReversedTreeOrder = 1] = "ReversedTreeOrder";
})(RK ||= {});
function zK(e) {
	let { acceleration: t, activator: n = LK.Pointer, canScroll: r, draggingRect: i, enabled: a, interval: o = 5, order: s = RK.TreeOrder, pointerCoordinates: c, scrollableAncestors: l, scrollableAncestorRects: u, delta: d, threshold: f } = e, p = VK({
		delta: d,
		disabled: !a
	}), [m, h] = QW(), g = H({
		x: 0,
		y: 0
	}), _ = H({
		x: 0,
		y: 0
	}), v = V(() => {
		switch (n) {
			case LK.Pointer: return c ? {
				top: c.y,
				bottom: c.y,
				left: c.x,
				right: c.x
			} : null;
			case LK.DraggableRect: return i;
		}
	}, [
		n,
		i,
		c
	]), y = H(null), b = z(() => {
		let e = y.current;
		if (!e) return;
		let t = g.current.x * _.current.x, n = g.current.y * _.current.y;
		e.scrollBy(t, n);
	}, []), x = V(() => s === RK.TreeOrder ? [...l].reverse() : l, [s, l]);
	B(() => {
		if (!a || !l.length || !v) h();
		else {
			for (let e of x) {
				if (r?.(e) === !1) continue;
				let n = l.indexOf(e), i = u[n];
				if (!i) continue;
				let { direction: a, speed: s } = lK(e, i, v, t, f);
				for (let e of ["x", "y"]) p[e][a[e]] || (s[e] = 0, a[e] = 0);
				if (s.x > 0 || s.y > 0) {
					h(), y.current = e, m(b, o), g.current = s, _.current = a;
					return;
				}
			}
			g.current = {
				x: 0,
				y: 0
			}, _.current = {
				x: 0,
				y: 0
			}, h();
		}
	}, [
		t,
		b,
		r,
		h,
		a,
		o,
		JSON.stringify(v),
		JSON.stringify(p),
		m,
		l,
		x,
		u,
		JSON.stringify(f)
	]);
}
var BK = {
	x: {
		[aK.Backward]: !1,
		[aK.Forward]: !1
	},
	y: {
		[aK.Backward]: !1,
		[aK.Forward]: !1
	}
};
function VK(e) {
	let { delta: t, disabled: n } = e, r = nG(t);
	return eG((e) => {
		if (n || !r || !e) return BK;
		let i = {
			x: Math.sign(t.x - r.x),
			y: Math.sign(t.y - r.y)
		};
		return {
			x: {
				[aK.Backward]: e.x[aK.Backward] || i.x === -1,
				[aK.Forward]: e.x[aK.Forward] || i.x === 1
			},
			y: {
				[aK.Backward]: e.y[aK.Backward] || i.y === -1,
				[aK.Forward]: e.y[aK.Forward] || i.y === 1
			}
		};
	}, [
		n,
		t,
		r
	]);
}
function HK(e, t) {
	let n = t == null ? void 0 : e.get(t), r = n ? n.node.current : null;
	return eG((e) => t == null ? null : r ?? e ?? null, [r, t]);
}
function UK(e, t) {
	return V(() => e.reduce((e, n) => {
		let { sensor: r } = n, i = r.activators.map((e) => ({
			eventName: e.eventName,
			handler: t(e.handler, n)
		}));
		return [...e, ...i];
	}, []), [e, t]);
}
var WK;
(function(e) {
	e[e.Always = 0] = "Always", e[e.BeforeDragging = 1] = "BeforeDragging", e[e.WhileDragging = 2] = "WhileDragging";
})(WK ||= {});
var GK;
(function(e) {
	e.Optimized = "optimized";
})(GK ||= {});
var KK = /*#__PURE__*/ new Map();
function qK(e, t) {
	let { dragging: n, dependencies: r, config: i } = t, [a, o] = U(null), { frequency: s, measure: c, strategy: l } = i, u = H(e), d = g(), f = $W(d), p = z(function(e) {
		e === void 0 && (e = []), f.current || o((t) => t === null ? e : t.concat(e.filter((e) => !t.includes(e))));
	}, [f]), m = H(null), h = eG((t) => {
		if (d && !n) return KK;
		if (!t || t === KK || u.current !== e || a != null) {
			let t = /* @__PURE__ */ new Map();
			for (let n of e) {
				if (!n) continue;
				if (a && a.length > 0 && !a.includes(n.id) && n.rect.current) {
					t.set(n.id, n.rect.current);
					continue;
				}
				let e = n.node.current, r = e ? new gK(c(e), e) : null;
				n.rect.current = r, r && t.set(n.id, r);
			}
			return t;
		}
		return t;
	}, [
		e,
		a,
		n,
		d,
		c
	]);
	return B(() => {
		u.current = e;
	}, [e]), B(() => {
		d || p();
	}, [n, d]), B(() => {
		a && a.length > 0 && o(null);
	}, [JSON.stringify(a)]), B(() => {
		d || typeof s != "number" || m.current !== null || (m.current = setTimeout(() => {
			p(), m.current = null;
		}, s));
	}, [
		s,
		d,
		p,
		...r
	]), {
		droppableRects: h,
		measureDroppableContainers: p,
		measuringScheduled: a != null
	};
	function g() {
		switch (l) {
			case WK.Always: return !1;
			case WK.BeforeDragging: return n;
			default: return !n;
		}
	}
}
function JK(e, t) {
	return eG((n) => e ? n || (typeof t == "function" ? t(e) : e) : null, [t, e]);
}
function YK(e, t) {
	return JK(e, t);
}
function XK(e) {
	let { callback: t, disabled: n } = e, r = ZW(t), i = V(() => {
		if (n || typeof window > "u" || window.MutationObserver === void 0) return;
		let { MutationObserver: e } = window;
		return new e(r);
	}, [r, n]);
	return B(() => () => i?.disconnect(), [i]), i;
}
function ZK(e) {
	let { callback: t, disabled: n } = e, r = ZW(t), i = V(() => {
		if (n || typeof window > "u" || window.ResizeObserver === void 0) return;
		let { ResizeObserver: e } = window;
		return new e(r);
	}, [n]);
	return B(() => () => i?.disconnect(), [i]), i;
}
function QK(e) {
	return new gK(JG(e), e);
}
function $K(e, t, n) {
	t === void 0 && (t = QK);
	let [r, i] = U(null);
	function a() {
		i((r) => {
			if (!e) return null;
			if (e.isConnected === !1) return r ?? n ?? null;
			let i = t(e);
			return JSON.stringify(r) === JSON.stringify(i) ? r : i;
		});
	}
	let o = XK({ callback(t) {
		if (e) for (let n of t) {
			let { type: t, target: r } = n;
			if (t === "childList" && r instanceof HTMLElement && r.contains(e)) {
				a();
				break;
			}
		}
	} }), s = ZK({ callback: a });
	return XW(() => {
		a(), e ? (s?.observe(e), o?.observe(document.body, {
			childList: !0,
			subtree: !0
		})) : (s?.disconnect(), o?.disconnect());
	}, [e]), r;
}
function eq(e) {
	return HG(e, JK(e));
}
var tq = [];
function nq(e) {
	let t = H(e), n = eG((n) => e ? n && n !== tq && e && t.current && e.parentNode === t.current.parentNode ? n : $G(e) : tq, [e]);
	return B(() => {
		t.current = e;
	}, [e]), n;
}
function rq(e) {
	let [t, n] = U(null), r = H(e), i = z((e) => {
		let t = tK(e.target);
		t && n((e) => e ? (e.set(t, iK(t)), new Map(e)) : null);
	}, []);
	return B(() => {
		let t = r.current;
		if (e !== t) {
			a(t);
			let o = e.map((e) => {
				let t = tK(e);
				return t ? (t.addEventListener("scroll", i, { passive: !0 }), [t, iK(t)]) : null;
			}).filter((e) => e != null);
			n(o.length ? new Map(o) : null), r.current = e;
		}
		return () => {
			a(e), a(t);
		};
		function a(e) {
			e.forEach((e) => {
				tK(e)?.removeEventListener("scroll", i);
			});
		}
	}, [i, e]), V(() => e.length ? t ? Array.from(t.values()).reduce((e, t) => oG(e, t), kG) : dK(e) : kG, [e, t]);
}
function iq(e, t) {
	t === void 0 && (t = []);
	let n = H(null);
	return B(() => {
		n.current = null;
	}, t), B(() => {
		let t = e !== kG;
		t && !n.current && (n.current = e), !t && n.current && (n.current = null);
	}, [e]), n.current ? sG(e, n.current) : kG;
}
function aq(e) {
	B(() => {
		if (!HW) return;
		let t = e.map((e) => {
			let { sensor: t } = e;
			return t.setup == null ? void 0 : t.setup();
		});
		return () => {
			for (let e of t) e?.();
		};
	}, e.map((e) => {
		let { sensor: t } = e;
		return t;
	}));
}
function oq(e, t) {
	return V(() => e.reduce((e, n) => {
		let { eventName: r, handler: i } = n;
		return e[r] = (e) => {
			i(e, t);
		}, e;
	}, {}), [e, t]);
}
function sq(e) {
	return V(() => e ? XG(e) : null, [e]);
}
var cq = [];
function lq(e, t) {
	t === void 0 && (t = JG);
	let [n] = e, r = sq(n ? GW(n) : null), [i, a] = U(cq);
	function o() {
		a(() => e.length ? e.map((e) => oK(e) ? r : new gK(t(e), e)) : cq);
	}
	let s = ZK({ callback: o });
	return XW(() => {
		s?.disconnect(), o(), e.forEach((e) => s?.observe(e));
	}, [e]), i;
}
function uq(e) {
	if (!e) return null;
	if (e.children.length > 1) return e;
	let t = e.children[0];
	return qW(t) ? t : e;
}
function dq(e) {
	let { measure: t } = e, [n, r] = U(null), i = ZK({ callback: z((e) => {
		for (let { target: n } of e) if (qW(n)) {
			r((e) => {
				let r = t(n);
				return e ? {
					...e,
					width: r.width,
					height: r.height
				} : r;
			});
			break;
		}
	}, [t]) }), [a, o] = tG(z((e) => {
		let n = uq(e);
		i?.disconnect(), n && i?.observe(n), r(n ? t(n) : null);
	}, [t, i]));
	return V(() => ({
		nodeRef: a,
		rect: n,
		setRef: o
	}), [
		n,
		a,
		o
	]);
}
var fq = [{
	sensor: jK,
	options: {}
}, {
	sensor: EK,
	options: {}
}], pq = { current: {} }, mq = {
	draggable: { measure: YG },
	droppable: {
		measure: YG,
		strategy: WK.WhileDragging,
		frequency: GK.Optimized
	},
	dragOverlay: { measure: JG }
}, hq = class extends Map {
	get(e) {
		return e == null ? void 0 : super.get(e) ?? void 0;
	}
	toArray() {
		return Array.from(this.values());
	}
	getEnabled() {
		return this.toArray().filter((e) => {
			let { disabled: t } = e;
			return !t;
		});
	}
	getNodeFor(e) {
		return this.get(e)?.node.current ?? void 0;
	}
}, gq = {
	activatorEvent: null,
	active: null,
	activeNode: null,
	activeNodeRect: null,
	collisions: null,
	containerNodeRect: null,
	draggableNodes: /*#__PURE__*/ new Map(),
	droppableRects: /*#__PURE__*/ new Map(),
	droppableContainers: /*#__PURE__*/ new hq(),
	over: null,
	dragOverlay: {
		nodeRef: { current: null },
		rect: null,
		setRef: EG
	},
	scrollableAncestors: [],
	scrollableAncestorRects: [],
	measuringConfiguration: mq,
	measureDroppableContainers: EG,
	windowRect: null,
	measuringScheduled: !1
}, _q = {
	activatorEvent: null,
	activators: [],
	active: null,
	activeNodeRect: null,
	ariaDescribedById: { draggable: "" },
	dispatch: EG,
	draggableNodes: /*#__PURE__*/ new Map(),
	over: null,
	measureDroppableContainers: EG
}, vq = /*#__PURE__*/ mn(_q), yq = /*#__PURE__*/ mn(gq);
function bq() {
	return {
		draggable: {
			active: null,
			initialCoordinates: {
				x: 0,
				y: 0
			},
			nodes: /* @__PURE__ */ new Map(),
			translate: {
				x: 0,
				y: 0
			}
		},
		droppable: { containers: new hq() }
	};
}
function xq(e, t) {
	switch (t.type) {
		case TG.DragStart: return {
			...e,
			draggable: {
				...e.draggable,
				initialCoordinates: t.initialCoordinates,
				active: t.active
			}
		};
		case TG.DragMove: return e.draggable.active == null ? e : {
			...e,
			draggable: {
				...e.draggable,
				translate: {
					x: t.coordinates.x - e.draggable.initialCoordinates.x,
					y: t.coordinates.y - e.draggable.initialCoordinates.y
				}
			}
		};
		case TG.DragEnd:
		case TG.DragCancel: return {
			...e,
			draggable: {
				...e.draggable,
				active: null,
				initialCoordinates: {
					x: 0,
					y: 0
				},
				translate: {
					x: 0,
					y: 0
				}
			}
		};
		case TG.RegisterDroppable: {
			let { element: n } = t, { id: r } = n, i = new hq(e.droppable.containers);
			return i.set(r, n), {
				...e,
				droppable: {
					...e.droppable,
					containers: i
				}
			};
		}
		case TG.SetDroppableDisabled: {
			let { id: n, key: r, disabled: i } = t, a = e.droppable.containers.get(n);
			if (!a || r !== a.key) return e;
			let o = new hq(e.droppable.containers);
			return o.set(n, {
				...a,
				disabled: i
			}), {
				...e,
				droppable: {
					...e.droppable,
					containers: o
				}
			};
		}
		case TG.UnregisterDroppable: {
			let { id: n, key: r } = t, i = e.droppable.containers.get(n);
			if (!i || r !== i.key) return e;
			let a = new hq(e.droppable.containers);
			return a.delete(n), {
				...e,
				droppable: {
					...e.droppable,
					containers: a
				}
			};
		}
		default: return e;
	}
}
function Sq(e) {
	let { disabled: t } = e, { active: n, activatorEvent: r, draggableNodes: i } = vn(vq), a = nG(r), o = nG(n?.id);
	return B(() => {
		if (!t && !r && a && o != null) {
			if (!lG(a) || document.activeElement === a.target) return;
			let e = i.get(o);
			if (!e) return;
			let { activatorNode: t, node: n } = e;
			if (!t.current && !n.current) return;
			requestAnimationFrame(() => {
				for (let e of [t.current, n.current]) {
					if (!e) continue;
					let t = mG(e);
					if (t) {
						t.focus();
						break;
					}
				}
			});
		}
	}, [
		r,
		t,
		i,
		o,
		a
	]), null;
}
function Cq(e, t) {
	let { transform: n, ...r } = t;
	return e != null && e.length ? e.reduce((e, t) => t({
		transform: e,
		...r
	}), n) : n;
}
function wq(e) {
	return V(() => ({
		draggable: {
			...mq.draggable,
			...e?.draggable
		},
		droppable: {
			...mq.droppable,
			...e?.droppable
		},
		dragOverlay: {
			...mq.dragOverlay,
			...e?.dragOverlay
		}
	}), [
		e?.draggable,
		e?.droppable,
		e?.dragOverlay
	]);
}
function Tq(e) {
	let { activeNode: t, measure: n, initialRect: r, config: i = !0 } = e, a = H(!1), { x: o, y: s } = typeof i == "boolean" ? {
		x: i,
		y: i
	} : i;
	XW(() => {
		if (!o && !s || !t) {
			a.current = !1;
			return;
		}
		if (a.current || !r) return;
		let e = t?.node.current;
		if (!e || e.isConnected === !1) return;
		let i = HG(n(e), r);
		if (o || (i.x = 0), s || (i.y = 0), a.current = !0, Math.abs(i.x) > 0 || Math.abs(i.y) > 0) {
			let t = eK(e);
			t && t.scrollBy({
				top: i.y,
				left: i.x
			});
		}
	}, [
		t,
		o,
		s,
		r,
		n
	]);
}
var Eq = /*#__PURE__*/ mn({
	...kG,
	scaleX: 1,
	scaleY: 1
}), Dq;
(function(e) {
	e[e.Uninitialized = 0] = "Uninitialized", e[e.Initializing = 1] = "Initializing", e[e.Initialized = 2] = "Initialized";
})(Dq ||= {});
var Oq = /*#__PURE__*/ _n(function(e) {
	let { id: t, accessibility: n, autoScroll: r = !0, children: i, sensors: a = fq, collisionDetection: o = BG, measuring: s, modifiers: c, ...l } = e, [u, d] = wn(xq, void 0, bq), [f, p] = xG(), [m, h] = U(Dq.Uninitialized), g = m === Dq.Initialized, { draggable: { active: _, nodes: v, translate: y }, droppable: { containers: b } } = u, x = _ == null ? null : v.get(_), S = H({
		initial: null,
		translated: null
	}), C = V(() => _ == null ? null : {
		id: _,
		data: x?.data ?? pq,
		rect: S
	}, [_, x]), w = H(null), [T, E] = U(null), [D, O] = U(null), k = $W(l, Object.values(l)), A = iG("DndDescribedBy", t), ee = V(() => b.getEnabled(), [b]), j = wq(s), { droppableRects: M, measureDroppableContainers: N, measuringScheduled: te } = qK(ee, {
		dragging: g,
		dependencies: [y.x, y.y],
		config: j.droppable
	}), P = HK(v, _), ne = V(() => D ? dG(D) : null, [D]), re = Pe(), ie = YK(P, j.draggable.measure);
	Tq({
		activeNode: _ == null ? null : v.get(_),
		config: re.layoutShiftCompensation,
		initialRect: ie,
		measure: j.draggable.measure
	});
	let ae = $K(P, j.draggable.measure, ie), oe = $K(P ? P.parentElement : null), se = H({
		activatorEvent: null,
		active: null,
		activeNode: P,
		collisionRect: null,
		collisions: null,
		droppableRects: M,
		draggableNodes: v,
		draggingNode: null,
		draggingNodeRect: null,
		droppableContainers: b,
		over: null,
		scrollableAncestors: [],
		scrollAdjustedTranslate: null
	}), ce = b.getNodeFor(se.current.over?.id), le = dq({ measure: j.dragOverlay.measure }), ue = le.nodeRef.current ?? P, de = g ? le.rect ?? ae : null, fe = !!(le.nodeRef.current && le.rect), pe = eq(fe ? null : ae), me = sq(ue ? GW(ue) : null), he = nq(g ? ce ?? P : null), ge = lq(he), _e = Cq(c, {
		transform: {
			x: y.x - pe.x,
			y: y.y - pe.y,
			scaleX: 1,
			scaleY: 1
		},
		activatorEvent: D,
		active: C,
		activeNodeRect: ae,
		containerNodeRect: oe,
		draggingNodeRect: de,
		over: se.current.over,
		overlayNodeRect: le.rect,
		scrollableAncestors: he,
		scrollableAncestorRects: ge,
		windowRect: me
	}), ve = ne ? oG(ne, y) : null, ye = rq(he), be = iq(ye), xe = iq(ye, [ae]), Se = oG(_e, be), Ce = de ? WG(de, _e) : null, we = C && Ce ? o({
		active: C,
		collisionRect: Ce,
		droppableRects: M,
		droppableContainers: ee,
		pointerCoordinates: ve
	}) : null, Te = FG(we, "id"), [Ee, De] = U(null), Oe = VG(fe ? _e : oG(_e, xe), Ee?.rect ?? null, ae), ke = H(null), Ae = z((e, t) => {
		let { sensor: n, options: r } = t;
		if (w.current == null) return;
		let i = v.get(w.current);
		if (!i) return;
		let a = e.nativeEvent, o = new n({
			active: w.current,
			activeNode: i,
			event: a,
			options: r,
			context: se,
			onAbort(e) {
				if (!v.get(e)) return;
				let { onDragAbort: t } = k.current, n = { id: e };
				t?.(n), f({
					type: "onDragAbort",
					event: n
				});
			},
			onPending(e, t, n, r) {
				if (!v.get(e)) return;
				let { onDragPending: i } = k.current, a = {
					id: e,
					constraint: t,
					initialCoordinates: n,
					offset: r
				};
				i?.(a), f({
					type: "onDragPending",
					event: a
				});
			},
			onStart(e) {
				let t = w.current;
				if (t == null) return;
				let n = v.get(t);
				if (!n) return;
				let { onDragStart: r } = k.current, i = {
					activatorEvent: a,
					active: {
						id: t,
						data: n.data,
						rect: S
					}
				};
				kn(() => {
					r?.(i), h(Dq.Initializing), d({
						type: TG.DragStart,
						initialCoordinates: e,
						active: t
					}), f({
						type: "onDragStart",
						event: i
					}), E(ke.current), O(a);
				});
			},
			onMove(e) {
				d({
					type: TG.DragMove,
					coordinates: e
				});
			},
			onEnd: s(TG.DragEnd),
			onCancel: s(TG.DragCancel)
		});
		ke.current = o;
		function s(e) {
			return async function() {
				let { active: t, collisions: n, over: r, scrollAdjustedTranslate: i } = se.current, o = null;
				if (t && i) {
					let { cancelDrop: s } = k.current;
					o = {
						activatorEvent: a,
						active: t,
						collisions: n,
						delta: i,
						over: r
					}, e === TG.DragEnd && typeof s == "function" && await Promise.resolve(s(o)) && (e = TG.DragCancel);
				}
				w.current = null, kn(() => {
					d({ type: e }), h(Dq.Uninitialized), De(null), E(null), O(null), ke.current = null;
					let t = e === TG.DragEnd ? "onDragEnd" : "onDragCancel";
					if (o) {
						let e = k.current[t];
						e?.(o), f({
							type: t,
							event: o
						});
					}
				});
			};
		}
	}, [v]), je = UK(a, z((e, t) => (n, r) => {
		let i = n.nativeEvent, a = v.get(r);
		if (w.current !== null || !a || i.dndKit || i.defaultPrevented) return;
		let o = { active: a };
		e(n, t.options, o) === !0 && (i.dndKit = { capturedBy: t.sensor }, w.current = r, Ae(n, t));
	}, [v, Ae]));
	aq(a), XW(() => {
		ae && m === Dq.Initializing && h(Dq.Initialized);
	}, [ae, m]), B(() => {
		let { onDragMove: e } = k.current, { active: t, activatorEvent: n, collisions: r, over: i } = se.current;
		if (!t || !n) return;
		let a = {
			active: t,
			activatorEvent: n,
			collisions: r,
			delta: {
				x: Se.x,
				y: Se.y
			},
			over: i
		};
		kn(() => {
			e?.(a), f({
				type: "onDragMove",
				event: a
			});
		});
	}, [Se.x, Se.y]), B(() => {
		let { active: e, activatorEvent: t, collisions: n, droppableContainers: r, scrollAdjustedTranslate: i } = se.current;
		if (!e || w.current == null || !t || !i) return;
		let { onDragOver: a } = k.current, o = r.get(Te), s = o && o.rect.current ? {
			id: o.id,
			rect: o.rect.current,
			data: o.data,
			disabled: o.disabled
		} : null, c = {
			active: e,
			activatorEvent: t,
			collisions: n,
			delta: {
				x: i.x,
				y: i.y
			},
			over: s
		};
		kn(() => {
			De(s), a?.(c), f({
				type: "onDragOver",
				event: c
			});
		});
	}, [Te]), XW(() => {
		se.current = {
			activatorEvent: D,
			active: C,
			activeNode: P,
			collisionRect: Ce,
			collisions: we,
			droppableRects: M,
			draggableNodes: v,
			draggingNode: ue,
			draggingNodeRect: de,
			droppableContainers: b,
			over: Ee,
			scrollableAncestors: he,
			scrollAdjustedTranslate: Se
		}, S.current = {
			initial: de,
			translated: Ce
		};
	}, [
		C,
		P,
		we,
		Ce,
		v,
		ue,
		de,
		M,
		b,
		Ee,
		he,
		Se
	]), zK({
		...re,
		delta: y,
		draggingRect: Ce,
		pointerCoordinates: ve,
		scrollableAncestors: he,
		scrollableAncestorRects: ge
	});
	let Me = V(() => ({
		active: C,
		activeNode: P,
		activeNodeRect: ae,
		activatorEvent: D,
		collisions: we,
		containerNodeRect: oe,
		dragOverlay: le,
		draggableNodes: v,
		droppableContainers: b,
		droppableRects: M,
		over: Ee,
		measureDroppableContainers: N,
		scrollableAncestors: he,
		scrollableAncestorRects: ge,
		measuringConfiguration: j,
		measuringScheduled: te,
		windowRect: me
	}), [
		C,
		P,
		ae,
		D,
		we,
		oe,
		le,
		v,
		b,
		M,
		Ee,
		N,
		he,
		ge,
		j,
		te,
		me
	]), Ne = V(() => ({
		activatorEvent: D,
		activators: je,
		active: C,
		activeNodeRect: ae,
		ariaDescribedById: { draggable: A },
		dispatch: d,
		draggableNodes: v,
		over: Ee,
		measureDroppableContainers: N
	}), [
		D,
		je,
		C,
		ae,
		d,
		A,
		v,
		Ee,
		N
	]);
	return R.createElement(yG.Provider, { value: p }, R.createElement(vq.Provider, { value: Ne }, R.createElement(yq.Provider, { value: Me }, R.createElement(Eq.Provider, { value: Oe }, i)), R.createElement(Sq, { disabled: n?.restoreFocus === !1 })), R.createElement(wG, {
		...n,
		hiddenTextDescribedById: A
	}));
	function Pe() {
		let e = T?.autoScrollEnabled === !1, t = typeof r == "object" ? r.enabled === !1 : r === !1, n = g && !e && !t;
		return typeof r == "object" ? {
			...r,
			enabled: n
		} : { enabled: n };
	}
}), kq = /*#__PURE__*/ mn(null), Aq = "button", jq = "Draggable";
function Mq(e) {
	let { id: t, data: n, disabled: r = !1, attributes: i } = e, a = iG(jq), { activators: o, activatorEvent: s, active: c, activeNodeRect: l, ariaDescribedById: u, draggableNodes: d, over: f } = vn(vq), { role: p = Aq, roleDescription: m = "draggable", tabIndex: h = 0 } = i ?? {}, g = c?.id === t, _ = vn(g ? Eq : kq), [v, y] = tG(), [b, x] = tG(), S = oq(o, t), C = $W(n);
	return XW(() => (d.set(t, {
		id: t,
		key: a,
		node: v,
		activatorNode: b,
		data: C
	}), () => {
		let e = d.get(t);
		e && e.key === a && d.delete(t);
	}), [d, t]), {
		active: c,
		activatorEvent: s,
		activeNodeRect: l,
		attributes: V(() => ({
			role: p,
			tabIndex: h,
			"aria-disabled": r,
			"aria-pressed": g && p === Aq ? !0 : void 0,
			"aria-roledescription": m,
			"aria-describedby": u.draggable
		}), [
			r,
			p,
			h,
			g,
			m,
			u.draggable
		]),
		isDragging: g,
		listeners: r ? void 0 : S,
		node: v,
		over: f,
		setNodeRef: y,
		setActivatorNodeRef: x,
		transform: _
	};
}
function Nq() {
	return vn(yq);
}
var Pq = "Droppable", Fq = { timeout: 25 };
function Iq(e) {
	let { data: t, disabled: n = !1, id: r, resizeObserverConfig: i } = e, a = iG(Pq), { active: o, dispatch: s, over: c, measureDroppableContainers: l } = vn(vq), u = H({ disabled: n }), d = H(!1), f = H(null), p = H(null), { disabled: m, updateMeasurementsFor: h, timeout: g } = {
		...Fq,
		...i
	}, _ = $W(h ?? r), v = ZK({
		callback: z(() => {
			d.current ? (p.current != null && clearTimeout(p.current), p.current = setTimeout(() => {
				l(Array.isArray(_.current) ? _.current : [_.current]), p.current = null;
			}, g)) : d.current = !0;
		}, [g]),
		disabled: m || !o
	}), [y, b] = tG(z((e, t) => {
		v && (t && (v.unobserve(t), d.current = !1), e && v.observe(e));
	}, [v])), x = $W(t);
	return B(() => {
		v && y.current && (v.disconnect(), d.current = !1, v.observe(y.current));
	}, [y, v]), B(() => (s({
		type: TG.RegisterDroppable,
		element: {
			id: r,
			key: a,
			disabled: n,
			node: y,
			rect: f,
			data: x
		}
	}), () => s({
		type: TG.UnregisterDroppable,
		key: a,
		id: r
	})), [r]), B(() => {
		n !== u.current.disabled && (s({
			type: TG.SetDroppableDisabled,
			id: r,
			key: a,
			disabled: n
		}), u.current.disabled = n);
	}, [
		r,
		a,
		n,
		s
	]), {
		active: o,
		rect: f,
		isOver: c?.id === r,
		node: y,
		over: c,
		setNodeRef: b
	};
}
function Lq(e) {
	let { animation: t, children: n } = e, [r, i] = U(null), [a, o] = U(null), s = nG(n);
	return !n && !r && s && i(s), XW(() => {
		if (!a) return;
		let e = r?.key, n = r?.props.id;
		e == null || n == null ? i(null) : Promise.resolve(t(n, a)).then(() => {
			i(null);
		});
	}, [
		t,
		r,
		a
	]), R.createElement(R.Fragment, null, n, r ? pn(r, { ref: o }) : null);
}
var Rq = {
	x: 0,
	y: 0,
	scaleX: 1,
	scaleY: 1
};
function zq(e) {
	let { children: t } = e;
	return R.createElement(vq.Provider, { value: _q }, R.createElement(Eq.Provider, { value: Rq }, t));
}
var Bq = {
	position: "fixed",
	touchAction: "none"
}, Vq = (e) => lG(e) ? "transform 250ms ease" : void 0, Hq = /*#__PURE__*/ hn((e, t) => {
	let { as: n, activatorEvent: r, adjustScale: i, children: a, className: o, rect: s, style: c, transform: l, transition: u = Vq } = e;
	if (!s) return null;
	let d = i ? l : {
		...l,
		scaleX: 1,
		scaleY: 1
	}, f = {
		...Bq,
		width: s.width,
		height: s.height,
		top: s.top,
		left: s.left,
		transform: fG.Transform.toString(d),
		transformOrigin: i && r ? jG(r, s) : void 0,
		transition: typeof u == "function" ? u(r) : u,
		...c
	};
	return R.createElement(n, {
		className: o,
		style: f,
		ref: t
	}, a);
}), Uq = (e) => (t) => {
	let { active: n, dragOverlay: r } = t, i = {}, { styles: a, className: o } = e;
	if (a != null && a.active) for (let [e, t] of Object.entries(a.active)) t !== void 0 && (i[e] = n.node.style.getPropertyValue(e), n.node.style.setProperty(e, t));
	if (a != null && a.dragOverlay) for (let [e, t] of Object.entries(a.dragOverlay)) t !== void 0 && r.node.style.setProperty(e, t);
	return o != null && o.active && n.node.classList.add(o.active), o != null && o.dragOverlay && r.node.classList.add(o.dragOverlay), function() {
		for (let [e, t] of Object.entries(i)) n.node.style.setProperty(e, t);
		o != null && o.active && n.node.classList.remove(o.active);
	};
}, Wq = {
	duration: 250,
	easing: "ease",
	keyframes: (e) => {
		let { transform: { initial: t, final: n } } = e;
		return [{ transform: fG.Transform.toString(t) }, { transform: fG.Transform.toString(n) }];
	},
	sideEffects: /*#__PURE__*/ Uq({ styles: { active: { opacity: "0" } } })
};
function Gq(e) {
	let { config: t, draggableNodes: n, droppableContainers: r, measuringConfiguration: i } = e;
	return ZW((e, a) => {
		if (t === null) return;
		let o = n.get(e);
		if (!o) return;
		let s = o.node.current;
		if (!s) return;
		let c = uq(a);
		if (!c) return;
		let { transform: l } = GW(a).getComputedStyle(a), u = GG(l);
		if (!u) return;
		let d = typeof t == "function" ? t : Kq(t);
		return mK(s, i.draggable.measure), d({
			active: {
				id: e,
				data: o.data,
				node: s,
				rect: i.draggable.measure(s)
			},
			draggableNodes: n,
			dragOverlay: {
				node: a,
				rect: i.dragOverlay.measure(c)
			},
			droppableContainers: r,
			measuringConfiguration: i,
			transform: u
		});
	});
}
function Kq(e) {
	let { duration: t, easing: n, sideEffects: r, keyframes: i } = {
		...Wq,
		...e
	};
	return (e) => {
		let { active: a, dragOverlay: o, transform: s, ...c } = e;
		if (!t) return;
		let l = {
			x: o.rect.left - a.rect.left,
			y: o.rect.top - a.rect.top
		}, u = {
			scaleX: s.scaleX === 1 ? 1 : a.rect.width * s.scaleX / o.rect.width,
			scaleY: s.scaleY === 1 ? 1 : a.rect.height * s.scaleY / o.rect.height
		}, d = {
			x: s.x - l.x,
			y: s.y - l.y,
			...u
		}, f = i({
			...c,
			active: a,
			dragOverlay: o,
			transform: {
				initial: s,
				final: d
			}
		}), [p] = f, m = f[f.length - 1];
		if (JSON.stringify(p) === JSON.stringify(m)) return;
		let h = r?.({
			active: a,
			dragOverlay: o,
			...c
		}), g = o.node.animate(f, {
			duration: t,
			easing: n,
			fill: "forwards"
		});
		return new Promise((e) => {
			g.onfinish = () => {
				h?.(), e();
			};
		});
	};
}
var qq = 0;
function Jq(e) {
	return V(() => {
		if (e != null) return qq++, qq;
	}, [e]);
}
var Yq = /*#__PURE__*/ R.memo((e) => {
	let { adjustScale: t = !1, children: n, dropAnimation: r, style: i, transition: a, modifiers: o, wrapperElement: s = "div", className: c, zIndex: l = 999 } = e, { activatorEvent: u, active: d, activeNodeRect: f, containerNodeRect: p, draggableNodes: m, droppableContainers: h, dragOverlay: g, over: _, measuringConfiguration: v, scrollableAncestors: y, scrollableAncestorRects: b, windowRect: x } = Nq(), S = vn(Eq), C = Jq(d?.id), w = Cq(o, {
		activatorEvent: u,
		active: d,
		activeNodeRect: f,
		containerNodeRect: p,
		draggingNodeRect: g.rect,
		over: _,
		overlayNodeRect: g.rect,
		scrollableAncestors: y,
		scrollableAncestorRects: b,
		transform: S,
		windowRect: x
	}), T = JK(f), E = Gq({
		config: r,
		draggableNodes: m,
		droppableContainers: h,
		measuringConfiguration: v
	}), D = T ? g.setRef : void 0;
	return R.createElement(zq, null, R.createElement(Lq, { animation: E }, d && C ? R.createElement(Hq, {
		key: C,
		id: d.id,
		ref: D,
		as: s,
		activatorEvent: u,
		adjustScale: t,
		className: c,
		transition: a,
		rect: T,
		style: {
			zIndex: l,
			...i
		},
		transform: w
	}, n) : null));
}), Xq = (e) => {
	let { transform: t } = e;
	return {
		...t,
		y: 0
	};
};
function Zq(e, t, n) {
	let r = { ...e };
	return t.top + e.y <= n.top ? r.y = n.top - t.top : t.bottom + e.y >= n.top + n.height && (r.y = n.top + n.height - t.bottom), t.left + e.x <= n.left ? r.x = n.left - t.left : t.right + e.x >= n.left + n.width && (r.x = n.left + n.width - t.right), r;
}
var Qq = (e) => {
	let { containerNodeRect: t, draggingNodeRect: n, transform: r } = e;
	return !n || !t ? r : Zq(r, n, t);
}, $q = (e) => {
	let { transform: t } = e;
	return {
		...t,
		x: 0
	};
};
// ../../../node_modules/.pnpm/@dnd-kit+sortable@10.0.0_@dnd-kit+core@6.3.1_react-dom@18.3.1_react@18.3.1__react@18.3.1__react@18.3.1/node_modules/@dnd-kit/sortable/dist/sortable.esm.js
function eJ(e, t, n) {
	let r = e.slice();
	return r.splice(n < 0 ? r.length + n : n, 0, r.splice(t, 1)[0]), r;
}
function tJ(e, t) {
	return e.reduce((e, n, r) => {
		let i = t.get(n);
		return i && (e[r] = i), e;
	}, Array(e.length));
}
function nJ(e) {
	return e !== null && e >= 0;
}
function rJ(e, t) {
	if (e === t) return !0;
	if (e.length !== t.length) return !1;
	for (let n = 0; n < e.length; n++) if (e[n] !== t[n]) return !1;
	return !0;
}
function iJ(e) {
	return typeof e == "boolean" ? {
		draggable: e,
		droppable: e
	} : e;
}
var aJ = {
	scaleX: 1,
	scaleY: 1
}, oJ = (e) => {
	let { rects: t, activeNodeRect: n, activeIndex: r, overIndex: i, index: a } = e, o = t[r] ?? n;
	if (!o) return null;
	let s = sJ(t, a, r);
	if (a === r) {
		let e = t[i];
		return e ? {
			x: r < i ? e.left + e.width - (o.left + o.width) : e.left - o.left,
			y: 0,
			...aJ
		} : null;
	}
	return a > r && a <= i ? {
		x: -o.width - s,
		y: 0,
		...aJ
	} : a < r && a >= i ? {
		x: o.width + s,
		y: 0,
		...aJ
	} : {
		x: 0,
		y: 0,
		...aJ
	};
};
function sJ(e, t, n) {
	let r = e[t], i = e[t - 1], a = e[t + 1];
	return !r || !i && !a ? 0 : n < t ? i ? r.left - (i.left + i.width) : a.left - (r.left + r.width) : a ? a.left - (r.left + r.width) : r.left - (i.left + i.width);
}
var cJ = (e) => {
	let { rects: t, activeIndex: n, overIndex: r, index: i } = e, a = eJ(t, r, n), o = t[i], s = a[i];
	return !s || !o ? null : {
		x: s.left - o.left,
		y: s.top - o.top,
		scaleX: s.width / o.width,
		scaleY: s.height / o.height
	};
}, lJ = {
	scaleX: 1,
	scaleY: 1
}, uJ = (e) => {
	let { activeIndex: t, activeNodeRect: n, index: r, rects: i, overIndex: a } = e, o = i[t] ?? n;
	if (!o) return null;
	if (r === t) {
		let e = i[a];
		return e ? {
			x: 0,
			y: t < a ? e.top + e.height - (o.top + o.height) : e.top - o.top,
			...lJ
		} : null;
	}
	let s = dJ(i, r, t);
	return r > t && r <= a ? {
		x: 0,
		y: -o.height - s,
		...lJ
	} : r < t && r >= a ? {
		x: 0,
		y: o.height + s,
		...lJ
	} : {
		x: 0,
		y: 0,
		...lJ
	};
};
function dJ(e, t, n) {
	let r = e[t], i = e[t - 1], a = e[t + 1];
	return r ? n < t ? i ? r.top - (i.top + i.height) : a ? a.top - (r.top + r.height) : 0 : a ? a.top - (r.top + r.height) : i ? r.top - (i.top + i.height) : 0 : 0;
}
var fJ = "Sortable", pJ = /*#__PURE__*/ R.createContext({
	activeIndex: -1,
	containerId: fJ,
	disableTransforms: !1,
	items: [],
	overIndex: -1,
	useDragOverlay: !1,
	sortedRects: [],
	strategy: cJ,
	disabled: {
		draggable: !1,
		droppable: !1
	}
});
function mJ(e) {
	let { children: t, id: n, items: r, strategy: i = cJ, disabled: a = !1 } = e, { active: o, dragOverlay: s, droppableRects: c, over: l, measureDroppableContainers: u } = Nq(), d = iG(fJ, n), f = s.rect !== null, p = V(() => r.map((e) => typeof e == "object" && "id" in e ? e.id : e), [r]), m = o != null, h = o ? p.indexOf(o.id) : -1, g = l ? p.indexOf(l.id) : -1, _ = H(p), v = !rJ(p, _.current), y = g !== -1 && h === -1 || v, b = iJ(a);
	XW(() => {
		v && m && u(p);
	}, [
		v,
		p,
		m,
		u
	]), B(() => {
		_.current = p;
	}, [p]);
	let x = V(() => ({
		activeIndex: h,
		containerId: d,
		disabled: b,
		disableTransforms: y,
		items: p,
		overIndex: g,
		useDragOverlay: f,
		sortedRects: tJ(p, c),
		strategy: i
	}), [
		h,
		d,
		b.draggable,
		b.droppable,
		y,
		p,
		g,
		c,
		f,
		i
	]);
	return R.createElement(pJ.Provider, { value: x }, t);
}
var hJ = (e) => {
	let { id: t, items: n, activeIndex: r, overIndex: i } = e;
	return eJ(n, r, i).indexOf(t);
}, gJ = (e) => {
	let { containerId: t, isSorting: n, wasDragging: r, index: i, items: a, newIndex: o, previousItems: s, previousContainerId: c, transition: l } = e;
	return !l || !r || s !== a && i === o ? !1 : n ? !0 : o !== i && t === c;
}, _J = {
	duration: 200,
	easing: "ease"
}, vJ = "transform", yJ = /*#__PURE__*/ fG.Transition.toString({
	property: vJ,
	duration: 0,
	easing: "linear"
}), bJ = { roleDescription: "sortable" };
function xJ(e) {
	let { disabled: t, index: n, node: r, rect: i } = e, [a, o] = U(null), s = H(n);
	return XW(() => {
		if (!t && n !== s.current && r.current) {
			let e = i.current;
			if (e) {
				let t = JG(r.current, { ignoreTransform: !0 }), n = {
					x: e.left - t.left,
					y: e.top - t.top,
					scaleX: e.width / t.width,
					scaleY: e.height / t.height
				};
				(n.x || n.y) && o(n);
			}
		}
		n !== s.current && (s.current = n);
	}, [
		t,
		n,
		r,
		i
	]), B(() => {
		a && o(null);
	}, [a]), a;
}
function SJ(e) {
	let { animateLayoutChanges: t = gJ, attributes: n, disabled: r, data: i, getNewIndex: a = hJ, id: o, strategy: s, resizeObserverConfig: c, transition: l = _J } = e, { items: u, containerId: d, activeIndex: f, disabled: p, disableTransforms: m, sortedRects: h, overIndex: g, useDragOverlay: _, strategy: v } = vn(pJ), y = CJ(r, p), b = u.indexOf(o), x = V(() => ({
		sortable: {
			containerId: d,
			index: b,
			items: u
		},
		...i
	}), [
		d,
		i,
		b,
		u
	]), S = V(() => u.slice(u.indexOf(o)), [u, o]), { rect: C, node: w, isOver: T, setNodeRef: E } = Iq({
		id: o,
		data: x,
		disabled: y.droppable,
		resizeObserverConfig: {
			updateMeasurementsFor: S,
			...c
		}
	}), { active: D, activatorEvent: O, activeNodeRect: k, attributes: A, setNodeRef: ee, listeners: j, isDragging: M, over: N, setActivatorNodeRef: te, transform: P } = Mq({
		id: o,
		data: x,
		attributes: {
			...bJ,
			...n
		},
		disabled: y.draggable
	}), ne = VW(E, ee), re = !!D, ie = re && !m && nJ(f) && nJ(g), ae = !_ && M, oe = ie ? (ae && ie ? P : null) ?? (s ?? v)({
		rects: h,
		activeNodeRect: k,
		activeIndex: f,
		overIndex: g,
		index: b
	}) : null, se = nJ(f) && nJ(g) ? a({
		id: o,
		items: u,
		activeIndex: f,
		overIndex: g
	}) : b, ce = D?.id, le = H({
		activeId: ce,
		items: u,
		newIndex: se,
		containerId: d
	}), ue = u !== le.current.items, de = t({
		active: D,
		containerId: d,
		isDragging: M,
		isSorting: re,
		id: o,
		index: b,
		items: u,
		newIndex: le.current.newIndex,
		previousItems: le.current.items,
		previousContainerId: le.current.containerId,
		transition: l,
		wasDragging: le.current.activeId != null
	}), fe = xJ({
		disabled: !de,
		index: b,
		node: w,
		rect: C
	});
	return B(() => {
		re && le.current.newIndex !== se && (le.current.newIndex = se), d !== le.current.containerId && (le.current.containerId = d), u !== le.current.items && (le.current.items = u);
	}, [
		re,
		se,
		d,
		u
	]), B(() => {
		if (ce === le.current.activeId) return;
		if (ce != null && le.current.activeId == null) {
			le.current.activeId = ce;
			return;
		}
		let e = setTimeout(() => {
			le.current.activeId = ce;
		}, 50);
		return () => clearTimeout(e);
	}, [ce]), {
		active: D,
		activeIndex: f,
		attributes: A,
		data: x,
		rect: C,
		index: b,
		newIndex: se,
		items: u,
		isOver: T,
		isSorting: re,
		isDragging: M,
		listeners: j,
		node: w,
		overIndex: g,
		over: N,
		setNodeRef: ne,
		setActivatorNodeRef: te,
		setDroppableNodeRef: E,
		setDraggableNodeRef: ee,
		transform: fe ?? oe,
		transition: pe()
	};
	function pe() {
		if (fe || ue && le.current.newIndex === b) return yJ;
		if (!(ae && !lG(O) || !l) && (re || de)) return fG.Transition.toString({
			...l,
			property: vJ
		});
	}
}
function CJ(e, t) {
	return typeof e == "boolean" ? {
		draggable: e,
		droppable: !1
	} : {
		draggable: e?.draggable ?? t.draggable,
		droppable: e?.droppable ?? t.droppable
	};
}
function wJ(e) {
	if (!e) return !1;
	let t = e.data.current;
	return !!(t && "sortable" in t && typeof t.sortable == "object" && "containerId" in t.sortable && "items" in t.sortable && "index" in t.sortable);
}
var TJ = [
	CK.Down,
	CK.Right,
	CK.Up,
	CK.Left
], EJ = (e, t) => {
	let { context: { active: n, collisionRect: r, droppableRects: i, droppableContainers: a, over: o, scrollableAncestors: s } } = t;
	if (TJ.includes(e.code)) {
		if (e.preventDefault(), !n || !r) return;
		let t = [];
		a.getEnabled().forEach((n) => {
			if (!n || n != null && n.disabled) return;
			let a = i.get(n.id);
			if (a) switch (e.code) {
				case CK.Down:
					r.top < a.top && t.push(n);
					break;
				case CK.Up:
					r.top > a.top && t.push(n);
					break;
				case CK.Left:
					r.left > a.left && t.push(n);
					break;
				case CK.Right: r.left < a.left && t.push(n);
			}
		});
		let c = RG({
			active: n,
			collisionRect: r,
			droppableRects: i,
			droppableContainers: t,
			pointerCoordinates: null
		}), l = FG(c, "id");
		if (l === o?.id && c.length > 1 && (l = c[1].id), l != null) {
			let e = a.get(n.id), t = a.get(l), o = t ? i.get(t.id) : null, c = t?.node.current;
			if (c && o && e && t) {
				let n = $G(c).some((e, t) => s[t] !== e), i = DJ(e, t), a = OJ(e, t), l = n || !i ? {
					x: 0,
					y: 0
				} : {
					x: a ? r.width - o.width : 0,
					y: a ? r.height - o.height : 0
				}, u = {
					x: o.left,
					y: o.top
				};
				return l.x && l.y ? u : sG(u, l);
			}
		}
	}
};
function DJ(e, t) {
	return !wJ(e) || !wJ(t) ? !1 : e.data.current.sortable.containerId === t.data.current.sortable.containerId;
}
function OJ(e, t) {
	return !wJ(e) || !wJ(t) || !DJ(e, t) ? !1 : e.data.current.sortable.index < t.data.current.sortable.index;
}
// src/lib/compose-refs.ts
function kJ(e, t) {
	if (typeof e == "function") return e(t);
	e != null && (e.current = t);
}
function AJ(...e) {
	return (t) => {
		let n = !1, r = e.map((e) => {
			let r = kJ(e, t);
			return !n && typeof r == "function" && (n = !0), r;
		});
		if (n) return () => {
			for (let t = 0; t < r.length; t++) {
				let n = r[t];
				typeof n == "function" ? n() : kJ(e[t], null);
			}
		};
	};
}
function jJ(...e) {
	return z(AJ(...e), e);
}
// src/components/ui/sortable.tsx
var MJ = {
	vertical: {
		modifiers: [$q, Qq],
		strategy: uJ,
		collisionDetection: LG
	},
	horizontal: {
		modifiers: [Xq, Qq],
		strategy: oJ,
		collisionDetection: LG
	},
	mixed: {
		modifiers: [Qq],
		strategy: void 0,
		collisionDetection: RG
	}
}, NJ = "Sortable", PJ = "SortableContent", FJ = "SortableItem", IJ = "SortableOverlay", LJ = mn(null);
function RJ(e) {
	let t = vn(LJ);
	if (!t) throw Error(`\`${e}\` must be used within \`${NJ}\``);
	return t;
}
function zJ(e) {
	let { value: t, onValueChange: n, collisionDetection: r, modifiers: i, strategy: a, onMove: o, orientation: s = "vertical", flatCursor: c = !1, getItemValue: l, accessibility: u, ...d } = e, f = bn(), [p, m] = U(null), h = OG(DG(PK), DG(IK), DG(EK, { coordinateGetter: EJ })), g = V(() => MJ[s], [s]), _ = z((e) => {
		if (typeof e == "object" && !l) throw Error("getItemValue is required when using array of objects");
		return l ? l(e) : e;
	}, [l]), v = V(() => t.map((e) => _(e)), [t, _]), y = z((e) => {
		d.onDragStart?.(e), e.activatorEvent.defaultPrevented || m(e.active.id);
	}, [d.onDragStart]), b = z((e) => {
		if (d.onDragEnd?.(e), e.activatorEvent.defaultPrevented) return;
		let { active: r, over: i } = e;
		if (i && r.id !== i?.id) {
			let a = t.findIndex((e) => _(e) === r.id), s = t.findIndex((e) => _(e) === i.id);
			o ? o({
				...e,
				activeIndex: a,
				overIndex: s
			}) : n?.(eJ(t, a, s));
		}
		m(null);
	}, [
		t,
		n,
		o,
		_,
		d.onDragEnd
	]), x = z((e) => {
		d.onDragCancel?.(e), e.activatorEvent.defaultPrevented || m(null);
	}, [d.onDragCancel]), S = V(() => ({
		onDragStart({ active: e }) {
			return `Grabbed sortable item "${e.id.toString()}". Current position is ${e.data.current?.sortable.index + 1} of ${t.length}. Use arrow keys to move, space to drop.`;
		},
		onDragOver({ active: e, over: n }) {
			if (n) {
				let r = n.data.current?.sortable.index ?? 0, i = r > (e.data.current?.sortable.index ?? 0) ? "down" : "up";
				return `Sortable item "${e.id.toString()}" moved ${i} to position ${r + 1} of ${t.length}.`;
			}
			return "Sortable item is no longer over a droppable area. Press escape to cancel.";
		},
		onDragEnd({ active: e, over: n }) {
			let r = e.id.toString();
			return n ? `Sortable item "${r}" dropped at position ${(n.data.current?.sortable.index ?? 0) + 1} of ${t.length}.` : `Sortable item "${r}" dropped. No changes were made.`;
		},
		onDragCancel({ active: e }) {
			let n = e.data.current?.sortable.index ?? 0;
			return `Sorting cancelled. Sortable item "${e.id.toString()}" returned to position ${n + 1} of ${t.length}.`;
		},
		onDragMove({ active: e, over: n }) {
			if (n) {
				let r = n.data.current?.sortable.index ?? 0, i = r > (e.data.current?.sortable.index ?? 0) ? "down" : "up";
				return `Sortable item "${e.id.toString()}" is moving ${i} to position ${r + 1} of ${t.length}.`;
			}
			return "Sortable item is no longer over a droppable area. Press escape to cancel.";
		}
	}), [t]), C = V(() => ({ draggable: `
        To pick up a sortable item, press space or enter.
        While dragging, use the ${s === "vertical" ? "up and down" : s === "horizontal" ? "left and right" : "arrow"} keys to move the item.
        Press space or enter again to drop the item in its new position, or press escape to cancel.
      ` }), [s]), w = V(() => ({
		id: f,
		items: v,
		modifiers: i ?? g.modifiers,
		strategy: a ?? g.strategy,
		activeId: p,
		setActiveId: m,
		getItemValue: _,
		flatCursor: c
	}), [
		f,
		v,
		i,
		a,
		g.modifiers,
		g.strategy,
		p,
		_,
		c
	]);
	return /* @__PURE__ */ K(LJ.Provider, {
		value: w,
		children: /* @__PURE__ */ K(Oq, {
			collisionDetection: r ?? g.collisionDetection,
			modifiers: i ?? g.modifiers,
			sensors: h,
			...d,
			id: f,
			onDragStart: y,
			onDragEnd: b,
			onDragCancel: x,
			accessibility: {
				announcements: S,
				screenReaderInstructions: C,
				...u
			}
		})
	});
}
var BJ = mn(!1);
function VJ(e) {
	let { strategy: t, asChild: n, withoutSlot: r, children: i, ref: a, ...o } = e, s = RJ(PJ), c = n ? G_ : "div";
	return /* @__PURE__ */ K(BJ.Provider, {
		value: !0,
		children: /* @__PURE__ */ K(mJ, {
			items: s.items,
			strategy: t ?? s.strategy,
			children: r ? i : /* @__PURE__ */ K(c, {
				"data-slot": "sortable-content",
				...o,
				ref: a,
				children: i
			})
		})
	});
}
var HJ = mn(null);
function UJ(e) {
	let { value: t, style: n, asHandle: r, asChild: i, disabled: a, className: o, ref: s, ...c } = e, l = vn(BJ), u = vn(WJ);
	if (!l && !u) throw Error(`\`${FJ}\` must be used within \`${PJ}\` or \`${IJ}\``);
	if (t === "") throw Error(`\`${FJ}\` value cannot be an empty string`);
	let d = RJ(FJ), f = bn(), { attributes: p, listeners: m, setNodeRef: h, setActivatorNodeRef: g, transform: _, transition: v, isDragging: y } = SJ({
		id: t,
		disabled: a
	}), b = jJ(s, (e) => {
		a || (h(e), r && g(e));
	}), x = V(() => ({
		transform: fG.Translate.toString(_),
		transition: v,
		...n
	}), [
		_,
		v,
		n
	]), S = V(() => ({
		id: f,
		attributes: p,
		listeners: m,
		setActivatorNodeRef: g,
		isDragging: y,
		disabled: a
	}), [
		f,
		p,
		m,
		g,
		y,
		a
	]), C = i ? G_ : "div";
	return /* @__PURE__ */ K(HJ.Provider, {
		value: S,
		children: /* @__PURE__ */ K(C, {
			id: f,
			"data-disabled": a,
			"data-dragging": y ? "" : void 0,
			"data-slot": "sortable-item",
			...c,
			...r && !a ? p : {},
			...r && !a ? m : {},
			ref: b,
			style: x,
			className: X("focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:outline-hidden", {
				"touch-none select-none": r,
				"cursor-default": d.flatCursor,
				"data-dragging:cursor-grabbing": !d.flatCursor,
				"cursor-grab": !y && r && !d.flatCursor,
				"opacity-50": y,
				"pointer-events-none opacity-50": a
			}, o)
		})
	});
}
var WJ = mn(!1), GJ = { sideEffects: Uq({ styles: { active: { opacity: "0.4" } } }) };
function KJ(e) {
	let { container: t, children: n, ...r } = e, i = RJ(IJ), [a, o] = U(!1);
	Cn(() => o(!0), []);
	let s = t ?? (a ? globalThis.document?.body : null);
	return s ? En.createPortal(/* @__PURE__ */ K(Yq, {
		dropAnimation: GJ,
		modifiers: i.modifiers,
		className: X(!i.flatCursor && "cursor-grabbing"),
		...r,
		children: /* @__PURE__ */ K(WJ.Provider, {
			value: !0,
			children: i.activeId ? typeof n == "function" ? n({ value: i.activeId }) : n : null
		})
	}), s) : null;
}
// src/components/laboratory/tabs.tsx
var qJ = (e) => {
	let { history: t, operations: n, tests: r, plugins: i } = $_(), a = $_(), o = H(!1), s = H(null);
	B(() => {
		function e() {
			s.current &&= (clearTimeout(s.current), null), o.current = !1;
		}
		return document.addEventListener("mouseup", e), () => {
			document.removeEventListener("mouseup", e);
		};
	}, []);
	let c = V(() => e.activeTab?.id === e.item.id, [e.activeTab, e.item]), l = V(() => e.item.type === "history" ? t.find((t) => e.item.type === "history" && t.id === e.item.data.id) : null, [t, e.item]), u = V(() => e.item.type === "operation" ? n.find((t) => t.id === e.item.data.id) : null, [e.item, n]), d = V(() => e.item.type === "test" ? r.find((t) => t.id === e.item.data.id) : null, [e.item, r]), f = V(() => l ? "status" in l && l.status < 200 || "status" in l && l.status >= 300 || "response" in l && JSON.parse(l.response).errors : !1, [l]), p = z(() => {
		e.handleDeleteTab(e.item.id);
	}, [e]), m = z(() => {
		e.handleDeleteAllTabs();
	}, [e]), h = z(() => {
		e.handleDeleteOtherTabs(e.item.id);
	}, [e]), g = V(() => {
		if (e.item.type === "operation") {
			let e = u?.name || es(u?.query || "") || "Untitled";
			return e === "Untitled" ? e + (0, po.capitalize)(ts(u?.query || "") || "query") : e;
		}
		if (e.item.type === "history") {
			let e = l?.operation.name || es(l?.operation.query || "") || "Untitled";
			return e === "Untitled" ? e + (0, po.capitalize)(ts(l?.operation.query || "") || "query") : e;
		}
		if (e.item.type === "preflight") return "Preflight";
		if (e.item.type === "env") return "Environment Variables";
		if (e.item.type === "settings") return "Settings";
		if (e.item.type === "test") return d?.name || "Untitled";
		let t = null;
		for (let n of i) for (let r of n.tabs ?? []) if (r.type === e.item.type) {
			t = r;
			break;
		}
		return t ? typeof t.name == "function" ? t.name(a, {}) : t.name : "Untitled";
	}, [
		e.item,
		l,
		u,
		d
	]), _ = V(() => {
		if (e.item.type === "operation") return /* @__PURE__ */ K(qA, { className: "size-4 text-pink-500" });
		if (e.item.type === "preflight") return /* @__PURE__ */ K(Cr, { className: "size-4 text-teal-400" });
		if (e.item.type === "env") return /* @__PURE__ */ K(nr, { className: "size-4 text-blue-400" });
		if (e.item.type === "history") return /* @__PURE__ */ K(ir, { className: X("size-4 text-indigo-400", {
			"text-green-500": !f,
			"text-red-500": f
		}) });
		if (e.item.type === "settings") return /* @__PURE__ */ K(Er, { className: "size-4 text-gray-400" });
		if (e.item.type === "test") return /* @__PURE__ */ K(Yn, { className: "size-4 text-lime-400" });
		let t = null;
		for (let n of i) for (let r of n.tabs ?? []) if (r.type === e.item.type) {
			t = r;
			break;
		}
		return t ? typeof t.icon == "function" ? t.icon(a, {}) : t.icon : /* @__PURE__ */ K(Kn, { className: "size-4 text-muted-foreground" });
	}, [e.item, f]);
	return /* @__PURE__ */ q(iW, { children: [/* @__PURE__ */ K(aW, {
		asChild: !0,
		children: /* @__PURE__ */ q(UJ, {
			value: e.item.id,
			asHandle: !0,
			className: X("flex h-12 w-max items-stretch data-dragging:opacity-0", e.isOverlay && "bg-background", e.isOverlay && !c && "h-12"),
			children: [/* @__PURE__ */ K("div", {
				onMouseDown: (e) => {
					if (o.current) return;
					e.preventDefault();
					let t = { ...e };
					s.current = setTimeout(() => {
						o.current = !0, t.currentTarget.dispatchEvent(new MouseEvent("mousedown", { ...t }));
					}, 200);
				},
				children: /* @__PURE__ */ q("div", {
					className: X("group relative flex h-full cursor-pointer items-center gap-2 border-t-2 border-transparent px-3 pb-1 text-sm text-muted-foreground transition-all hover:text-foreground", e.activeTab?.id === e.item.id && "border-primary bg-card text-foreground"),
					"data-state": e.activeTab?.id === e.item.id ? "active" : "inactive",
					onClick: () => {
						e.setActiveTab(e.item);
					},
					onMouseUp: () => {
						s.current &&= (clearTimeout(s.current), null), o.current = !1;
					},
					children: [
						_,
						g,
						e.isOperationLoading(e.item.id) && /* @__PURE__ */ K(qU, { className: "size-3" }),
						e.item.readOnly && /* @__PURE__ */ K(ur, { className: "size-3 text-gray-400" }),
						/* @__PURE__ */ K("button", {
							type: "button",
							"aria-label": "Close tab",
							className: "flex",
							onMouseDown: (e) => {
								e.stopPropagation();
							},
							onClick: (t) => {
								t.stopPropagation(), e.handleDeleteTab(e.item.id);
							},
							children: /* @__PURE__ */ K(Fr, { className: "size-3 text-muted-foreground" })
						})
					]
				})
			}), /* @__PURE__ */ K("div", { className: "mb-px w-px bg-border" })]
		})
	}), /* @__PURE__ */ q(oW, { children: [
		/* @__PURE__ */ K(sW, {
			onClick: p,
			children: "Close"
		}),
		/* @__PURE__ */ K(sW, {
			onClick: h,
			children: "Close other"
		}),
		/* @__PURE__ */ K(sW, {
			onClick: m,
			children: "Close all"
		})
	] })] });
}, JJ = ({ className: e }) => {
	let { tabs: t, setTabs: n, activeTab: r, addTab: i, deleteTab: a, operations: o, setActiveTab: s, addOperation: c, setOperations: l, deleteOperation: u, isOperationLoading: d, goToFullScreen: f, exitFullScreen: p, isFullScreen: m, enableFullScreen: h } = $_(), g = z(() => {
		let e = c({
			name: "",
			query: "",
			variables: "",
			headers: "",
			extensions: ""
		}), t = i({
			type: "operation",
			data: e
		});
		s(t);
	}, [
		c,
		i,
		s
	]), _ = z((e) => {
		let n = t.findIndex((t) => t.id === e);
		if (n === -1) return;
		let r = t[n];
		r.type === "operation" && u(r.data.id), a(r.id), s(n === 0 ? t[1] ?? null : n > 0 ? t[n - 1] ?? null : t[0] ?? null);
	}, [
		t,
		a,
		u,
		s
	]), v = z(() => {
		l([]), n([]);
	}, [l, n]), y = z((e) => {
		let r = t.find((t) => t.id === e);
		if (r) {
			let i = t.filter((t) => t.id !== e).filter((e) => e.type === "operation").map((e) => e.data.id);
			l(o.filter((e) => !i.includes(e.id))), n([r]), s(r);
		}
	}, [
		t,
		l,
		o,
		n,
		s
	]);
	return /* @__PURE__ */ q("div", {
		className: X("relative z-10 grid size-full grid-cols-[1fr_auto] overflow-hidden", e),
		children: [
			/* @__PURE__ */ K("div", { className: "absolute bottom-0 left-0 -z-10 h-px w-full bg-border" }),
			/* @__PURE__ */ K("div", {
				className: "overflow-hidden",
				children: /* @__PURE__ */ q(VM, {
					className: "size-full whitespace-nowrap",
					children: [/* @__PURE__ */ q("div", {
						className: "flex items-stretch",
						children: [/* @__PURE__ */ q(zJ, {
							value: t,
							onValueChange: n,
							getItemValue: (e) => e.id,
							orientation: "horizontal",
							children: [/* @__PURE__ */ K(VJ, {
								className: "flex w-max items-stretch",
								children: t.map((e) => /* @__PURE__ */ K(qJ, {
									item: e,
									activeTab: r,
									setActiveTab: s,
									isOperationLoading: d,
									handleDeleteTab: _,
									handleDeleteAllTabs: v,
									handleDeleteOtherTabs: y
								}, e.id))
							}), /* @__PURE__ */ K(KJ, { children: (e) => {
								let n = t.find((t) => t.id === e.value);
								return n ? /* @__PURE__ */ K(qJ, {
									item: n,
									activeTab: r,
									setActiveTab: s,
									isOperationLoading: d,
									handleDeleteTab: _,
									isOverlay: !0,
									handleDeleteAllTabs: v,
									handleDeleteOtherTabs: y
								}) : null;
							} })]
						}), /* @__PURE__ */ K("div", {
							className: "group ml-2 flex h-12 items-center border-b-2 border-transparent",
							children: /* @__PURE__ */ q(Q, {
								variant: "ghost",
								size: "sm",
								className: "text-primary hover:text-primary",
								onClick: g,
								children: [/* @__PURE__ */ K(Vn, { className: "size-4" }), "Add operation"]
							})
						})]
					}), /* @__PURE__ */ K(HM, { orientation: "horizontal" })]
				})
			}),
			/* @__PURE__ */ K(YJ, {
				enabled: h !== !1,
				isFullScreen: m === !0,
				onEnter: f,
				onExit: p
			})
		]
	});
}, YJ = (e) => {
	if (!e.enabled) return null;
	let t = e.isFullScreen ? "Exit full screen" : "Go to full screen";
	return /* @__PURE__ */ K("div", {
		className: "group flex h-12 items-center border-l px-2",
		children: /* @__PURE__ */ q(RA, { children: [/* @__PURE__ */ K(zA, {
			asChild: !0,
			children: /* @__PURE__ */ K(Q, {
				variant: "ghost",
				size: "sm",
				"aria-label": t,
				onClick: e.isFullScreen ? e.onExit : e.onEnter,
				children: e.isFullScreen ? /* @__PURE__ */ K(fr, { className: "size-4" }) : /* @__PURE__ */ K(dr, { className: "size-4" })
			})
		}), /* @__PURE__ */ K(BA, {
			side: "bottom",
			children: t
		})] })
	});
}, XJ = (e) => {
	let t = H(null), [n, r] = U(null);
	return Cn(() => {
		t.current && !n && r(j_(t.current));
	}, [n]), Cn(() => {
		if (n) return p_(n);
	}, [n]), Cn(() => {
		n && document.head.querySelectorAll("style").forEach((e) => {
			e.textContent?.includes("[data-sonner-toaster]") && n.append(e.cloneNode(!0));
		});
	}, [n]), /* @__PURE__ */ K("div", {
		ref: t,
		className: "hive-laboratory-host size-full",
		children: n ? On(e.children, n) : null
	});
}, ZJ = Rr.object({ name: Rr.string().min(1, "Name is required") }), QJ = Rr.object({ endpoint: Rr.string().min(1, "Endpoint is required") }), $J = Rr.object({ name: Rr.string().min(1, "Name is required") }), eY = () => {
	let { activeTab: e, addOperation: t, addTab: n, setActiveTab: r, preflight: i, tabs: a, env: o, plugins: s, pluginsState: c, setPluginsState: l, activePanel: u, setActivePanel: d, enableDocs: f, openDocs: p, schema: m } = $_(), h = $_(), [g, _] = U(!1), v = H(m);
	v.current = m, B(() => {
		if (f) return so({
			getSchema: () => v.current ?? null,
			openDocs: p
		});
	}, [f, p]);
	let y = V(() => {
		switch (e?.type) {
			case "operation": return /* @__PURE__ */ K(kW, {});
			case "preflight": return /* @__PURE__ */ K(jW, {});
			case "env": return /* @__PURE__ */ K(HL, {});
			case "history": return /* @__PURE__ */ K(AW, {});
			case "settings": return /* @__PURE__ */ K(BW, {});
			default: {
				let i = null, a = null;
				for (let t of s) for (let n of t.tabs ?? []) if (n.type === e?.type) {
					a = n, i = t.id;
					break;
				}
				return a && i ? a.component(e, h, c[i] ?? {}, (e) => l({
					...c,
					[i]: e
				})) : /* @__PURE__ */ q(tD, {
					className: "w-full px-0!",
					children: [/* @__PURE__ */ q(nD, { children: [
						/* @__PURE__ */ K(iD, {
							variant: "icon",
							children: /* @__PURE__ */ K(Kn, { className: "size-6 text-muted-foreground" })
						}),
						/* @__PURE__ */ K(aD, { children: "No operation selected" }),
						/* @__PURE__ */ K(oD, { children: "You haven't selected any operation yet. Get started by selecting an operation or add a new one." })
					] }), /* @__PURE__ */ K(sD, { children: /* @__PURE__ */ K(Q, {
						size: "sm",
						onClick: () => {
							let e = t({
								name: "",
								query: "",
								variables: "",
								headers: "",
								extensions: ""
							}), i = n({
								type: "operation",
								data: e
							});
							r(i);
						},
						children: "Add operation"
					}) })]
				});
			}
		}
	}, [
		e?.type,
		t,
		n,
		r
	]);
	return /* @__PURE__ */ q("div", {
		className: "flex size-full",
		children: [
			/* @__PURE__ */ K(XN, {
				open: g,
				onOpenChange: _
			}),
			/* @__PURE__ */ q("div", {
				className: "flex h-full w-12 flex-col",
				children: [
					/* @__PURE__ */ q(RA, { children: [/* @__PURE__ */ K(zA, {
						asChild: !0,
						children: /* @__PURE__ */ K("div", {
							className: X("relative z-10 flex aspect-square h-12 w-full items-center justify-center border-l-2 border-transparent", { "border-primary": u === "collections" }),
							children: /* @__PURE__ */ K(Q, {
								variant: "ghost",
								size: "icon",
								"aria-label": "Collections",
								onClick: () => d(u === "collections" ? null : "collections"),
								className: X("text-muted-foreground hover:text-foreground", { "text-foreground": u === "collections" }),
								children: /* @__PURE__ */ K(er, { className: "size-5" })
							})
						})
					}), /* @__PURE__ */ K(BA, {
						side: "right",
						children: "Collections"
					})] }),
					/* @__PURE__ */ q(RA, { children: [/* @__PURE__ */ K(zA, {
						asChild: !0,
						children: /* @__PURE__ */ K("div", {
							className: X("relative z-10 flex aspect-square h-12 w-full items-center justify-center border-l-2 border-transparent", { "border-primary": u === "history" }),
							children: /* @__PURE__ */ K(Q, {
								variant: "ghost",
								size: "icon",
								"aria-label": "History",
								onClick: () => d(u === "history" ? null : "history"),
								className: X("text-muted-foreground hover:text-foreground", { "text-foreground": u === "history" }),
								children: /* @__PURE__ */ K(ir, { className: "size-5" })
							})
						})
					}), /* @__PURE__ */ K(BA, {
						side: "right",
						children: "History"
					})] }),
					f ? /* @__PURE__ */ q(RA, { children: [/* @__PURE__ */ K(zA, {
						asChild: !0,
						children: /* @__PURE__ */ K("div", {
							className: X("relative z-10 flex aspect-square h-12 w-full items-center justify-center border-l-2 border-transparent", { "border-primary": u === "docs" }),
							children: /* @__PURE__ */ K(Q, {
								variant: "ghost",
								size: "icon",
								"aria-label": "Documentation",
								onClick: () => d(u === "docs" ? null : "docs"),
								className: X("text-muted-foreground hover:text-foreground", { "text-foreground": u === "docs" }),
								children: /* @__PURE__ */ K(jn, { className: "size-5" })
							})
						})
					}), /* @__PURE__ */ K(BA, {
						side: "right",
						children: "Documentation"
					})] }) : null,
					/* @__PURE__ */ K("div", {
						className: X("relative z-100 mt-auto flex aspect-square h-12 w-full items-center justify-center border-l-2 border-transparent", { "border-primary": u === "settings" }),
						children: /* @__PURE__ */ q(RA, { children: [/* @__PURE__ */ q(JE, { children: [/* @__PURE__ */ K(YE, {
							asChild: !0,
							children: /* @__PURE__ */ K(zA, {
								asChild: !0,
								children: /* @__PURE__ */ K(Q, {
									variant: "ghost",
									size: "icon",
									"aria-label": "Settings",
									className: X("text-muted-foreground hover:text-foreground", { "text-foreground": u === "settings" }),
									children: /* @__PURE__ */ K(Er, { className: "size-5" })
								})
							})
						}), /* @__PURE__ */ q(XE, {
							className: "mb-2 w-56",
							align: "start",
							side: "right",
							children: [
								/* @__PURE__ */ K(ZE, { children: /* @__PURE__ */ q(QE, {
									onSelect: () => _(!0),
									children: ["Command Palette...", /* @__PURE__ */ K(eD, { children: "⌘J" })]
								}) }),
								/* @__PURE__ */ K($E, {}),
								/* @__PURE__ */ K(QE, {
									onSelect: () => {
										let e = a.find((e) => e.type === "env") ?? n({
											type: "env",
											data: o ?? { variables: {} }
										});
										r(e);
									},
									children: "Environment Variables"
								}),
								/* @__PURE__ */ K(QE, {
									onSelect: () => {
										let e = a.find((e) => e.type === "preflight") ?? n({
											type: "preflight",
											data: i ?? { script: "" }
										});
										r(e);
									},
									children: "Preflight Script"
								}),
								/* @__PURE__ */ K($E, {}),
								/* @__PURE__ */ K(QE, {
									onSelect: () => {
										let e = a.find((e) => e.type === "settings") ?? n({
											type: "settings",
											data: {}
										});
										r(e);
									},
									children: "Settings"
								})
							]
						})] }), /* @__PURE__ */ K(BA, {
							side: "right",
							children: "Settings"
						})] })
					})
				]
			}),
			/* @__PURE__ */ q(Uk, {
				orientation: "horizontal",
				className: "h-full flex-1",
				children: [
					/* @__PURE__ */ q(Wk, {
						minSize: "10%",
						defaultSize: "17%",
						hidden: !u,
						className: "border-l",
						children: [
							u === "collections" && /* @__PURE__ */ K(GM, {}),
							u === "history" && /* @__PURE__ */ K(GL, {}),
							u === "docs" && /* @__PURE__ */ K(ZF, {})
						]
					}),
					/* @__PURE__ */ K(Gk, {}),
					/* @__PURE__ */ q(Wk, {
						minSize: "10%",
						defaultSize: "83%",
						className: "flex flex-col",
						children: [/* @__PURE__ */ K("div", {
							className: "w-full",
							children: /* @__PURE__ */ K(JJ, {})
						}), /* @__PURE__ */ K("div", {
							className: "relative flex-1 overflow-hidden bg-card",
							children: y
						})]
					})
				]
			})
		]
	});
}, tY = (e) => {
	let t = z((t) => {
		let [n, r] = t.split(":");
		return e.permissions?.[n]?.[r] ?? !0;
	}, [e.permissions]), { isPreflightPromptModalOpen: n, setIsPreflightPromptModalOpen: r, preflightPromptModalProps: i, openPreflightPromptModal: a, closePreflightPromptModal: o } = T_(), s = A_(e), c = d_(e), l = E_({
		...e,
		envApi: c,
		openPreflightPromptModal: a,
		closePreflightPromptModal: o
	}), { abortPreflight: u } = l;
	B(() => u, [u]);
	let d = __(e), f = N_(e), p = M_(e), m = H(null), h = ri({
		...e,
		tabsApi: p,
		onOperationIdChange: (e, t) => {
			m.current?.replaceOperationId(e, t), p.replaceOperationId(e, t);
		}
	}), g = ba({ defaultActivePanel: h.collections.length > 0 ? "collections" : null }), _ = g_({
		...e,
		collectionsApi: h,
		tabsApi: p,
		envApi: c,
		preflightApi: l,
		settingsApi: s,
		pluginsApi: d,
		checkPermissions: t
	});
	m.current = _;
	let v = u_({
		...e,
		settingsApi: s,
		operationsApi: _,
		envApi: c,
		pluginsApi: d,
		preflightApi: l
	}), y = f_(e), [b, x] = U(!1), [S, C] = U(!1), [w, T] = U(!1), E = z(() => {
		x(!0);
	}, []), D = z(() => {
		C(!0);
	}, []), O = z(() => {
		T(!0);
	}, []), k = zr({
		defaultValues: { name: "" },
		validators: { onSubmit: ZJ },
		onSubmit: ({ value: e }) => {
			h.addCollection({ name: e.name }), x(!1);
		}
	}), A = zr({
		defaultValues: { endpoint: v.endpoint ?? "" },
		validators: { onSubmit: QJ },
		onSubmit: ({ value: e }) => {
			v.setEndpoint(e.endpoint), C(!1);
		}
	}), ee = zr({
		defaultValues: { name: "" },
		validators: { onSubmit: $J },
		onSubmit: ({ value: e }) => {
			f.addTest({ name: e.name }), T(!1);
		}
	}), [j, M] = U(null), [N, te] = U(!1), P = z(() => {
		te(!0);
	}, []), ne = z(() => {
		te(!1);
	}, []);
	return Sn(() => {
		fo(Yr);
	}, []), /* @__PURE__ */ q(XJ, { children: [/* @__PURE__ */ K("style", { children: `${Jr}\n${Yr}` }), /* @__PURE__ */ q("div", {
		className: X("hive-laboratory size-full bg-background", e.theme, { "fixed inset-0 z-50": N }),
		ref: M,
		children: [/* @__PURE__ */ K(Kk, {
			richColors: !0,
			closeButton: !0,
			position: "top-right",
			theme: e.theme
		}), /* @__PURE__ */ q(ev, {
			...e,
			...f,
			...s,
			...d,
			...c,
			...l,
			...p,
			...v,
			...h,
			..._,
			...y,
			...g,
			container: j,
			openAddCollectionDialog: E,
			openUpdateEndpointDialog: D,
			openAddTestDialog: O,
			openPreflightPromptModal: a,
			goToFullScreen: P,
			exitFullScreen: ne,
			isFullScreen: N,
			enableFullScreen: e.enableFullScreen !== !1,
			enableDocs: e.enableDocs === !0,
			checkPermissions: t,
			children: [
				/* @__PURE__ */ K(ux, {
					open: S,
					onOpenChange: C,
					children: /* @__PURE__ */ q(hx, {
						className: "sm:max-w-[425px]",
						children: [
							/* @__PURE__ */ q(gx, { children: [/* @__PURE__ */ K(vx, { children: "Update endpoint" }), /* @__PURE__ */ K(yx, { children: "Update the endpoint of your laboratory." })] }),
							/* @__PURE__ */ K("div", {
								className: "grid gap-4",
								children: /* @__PURE__ */ K("form", {
									id: "update-endpoint-form",
									onSubmit: (e) => {
										e.preventDefault(), A.handleSubmit();
									},
									children: /* @__PURE__ */ K(bD, { children: /* @__PURE__ */ K(A.Field, {
										name: "endpoint",
										children: (e) => {
											let t = e.state.meta.isTouched && !e.state.meta.isValid;
											return /* @__PURE__ */ K(ED, {
												id: e.name,
												name: e.name,
												value: e.state.value,
												onBlur: e.handleBlur,
												onChange: (t) => e.handleChange(t.target.value),
												"aria-invalid": t,
												placeholder: "Enter endpoint",
												autoComplete: "off"
											});
										}
									}) })
								})
							}),
							/* @__PURE__ */ q(_x, { children: [/* @__PURE__ */ K(px, {
								asChild: !0,
								children: /* @__PURE__ */ K(Q, {
									variant: "outline",
									children: "Cancel"
								})
							}), /* @__PURE__ */ K(Q, {
								type: "submit",
								form: "update-endpoint-form",
								children: "Update endpoint"
							})] })
						]
					})
				}),
				/* @__PURE__ */ K(MW, {
					open: n,
					onOpenChange: r,
					...i
				}),
				/* @__PURE__ */ K(ux, {
					open: b,
					onOpenChange: x,
					children: /* @__PURE__ */ q(hx, {
						className: "sm:max-w-[425px]",
						children: [
							/* @__PURE__ */ q(gx, { children: [/* @__PURE__ */ K(vx, { children: "Add collection" }), /* @__PURE__ */ K(yx, { children: "Add a new collection of operations to your laboratory." })] }),
							/* @__PURE__ */ K("div", {
								className: "grid gap-4",
								children: /* @__PURE__ */ K("form", {
									id: "add-collection-form",
									onSubmit: (e) => {
										e.preventDefault(), k.handleSubmit();
									},
									children: /* @__PURE__ */ K(bD, { children: /* @__PURE__ */ K(k.Field, {
										name: "name",
										children: (e) => {
											let t = e.state.meta.isTouched && !e.state.meta.isValid;
											return /* @__PURE__ */ q(SD, {
												"data-invalid": t,
												children: [
													/* @__PURE__ */ K(CD, {
														htmlFor: e.name,
														children: "Name"
													}),
													/* @__PURE__ */ K(ED, {
														id: e.name,
														name: e.name,
														value: e.state.value,
														onBlur: e.handleBlur,
														onChange: (t) => e.handleChange(t.target.value),
														"aria-invalid": t,
														placeholder: "Enter name of the collection",
														autoComplete: "off"
													}),
													t && /* @__PURE__ */ K(TD, { errors: e.state.meta.errors })
												]
											});
										}
									}) })
								})
							}),
							/* @__PURE__ */ q(_x, { children: [/* @__PURE__ */ K(px, {
								asChild: !0,
								children: /* @__PURE__ */ K(Q, {
									variant: "outline",
									children: "Cancel"
								})
							}), /* @__PURE__ */ K(Q, {
								type: "submit",
								form: "add-collection-form",
								children: "Add collection"
							})] })
						]
					})
				}),
				/* @__PURE__ */ K(ux, {
					open: w,
					onOpenChange: T,
					children: /* @__PURE__ */ q(hx, {
						className: "sm:max-w-[425px]",
						children: [
							/* @__PURE__ */ q(gx, { children: [/* @__PURE__ */ K(vx, { children: "Add test" }), /* @__PURE__ */ K(yx, { children: "Add a new test to your laboratory." })] }),
							/* @__PURE__ */ K("div", {
								className: "grid gap-4",
								children: /* @__PURE__ */ K("form", {
									id: "add-test-form",
									onSubmit: (e) => {
										e.preventDefault(), ee.handleSubmit();
									},
									children: /* @__PURE__ */ K(bD, { children: /* @__PURE__ */ K(ee.Field, {
										name: "name",
										children: (e) => {
											let t = e.state.meta.isTouched && !e.state.meta.isValid;
											return /* @__PURE__ */ q(SD, {
												"data-invalid": t,
												children: [
													/* @__PURE__ */ K(CD, {
														htmlFor: e.name,
														children: "Name"
													}),
													/* @__PURE__ */ K(ED, {
														id: e.name,
														name: e.name,
														value: e.state.value,
														onBlur: e.handleBlur,
														onChange: (t) => e.handleChange(t.target.value),
														"aria-invalid": t,
														placeholder: "Enter name of the test",
														autoComplete: "off"
													}),
													t && /* @__PURE__ */ K(TD, { errors: e.state.meta.errors })
												]
											});
										}
									}) })
								})
							}),
							/* @__PURE__ */ q(_x, { children: [/* @__PURE__ */ K(px, {
								asChild: !0,
								children: /* @__PURE__ */ K(Q, {
									variant: "outline",
									children: "Cancel"
								})
							}), /* @__PURE__ */ K(Q, {
								type: "submit",
								form: "add-test-form",
								children: "Add test"
							})] })
						]
					})
				}),
				/* @__PURE__ */ K(eY, {})
			]
		})]
	})] });
}, nY = (e, t) => {
	let n = "hive-laboratory", r = (e) => {
		let t = localStorage.getItem(`${n}:${e}`);
		return t ? JSON.parse(t) : null;
	}, i = (e, t) => {
		localStorage.setItem(`${n}:${e}`, JSON.stringify(t));
	};
	if (!e) throw Error("Laboratory element not found");
	return dn.createRoot(e).render(/* @__PURE__ */ K(tY, {
		theme: "dark",
		enableDocs: !0,
		defaultEndpoint: r("endpoint") ?? window.location.origin + window.location.pathname,
		onEndpointChange: (e) => {
			i("endpoint", e ?? "");
		},
		defaultCollections: r("collections") ?? [],
		onCollectionsChange: (e) => {
			i("collections", e);
		},
		defaultTabs: r("tabs") ?? [],
		onTabsChange: (e) => {
			i("tabs", e);
		},
		defaultOperations: r("operations") ?? [],
		onOperationsChange: (e) => {
			i("operations", e);
		},
		defaultActiveTabId: r("activeTabId") ?? null,
		onActiveTabIdChange: (e) => {
			i("activeTabId", e ?? "");
		},
		defaultPreflight: r("preflight") ?? null,
		onPreflightChange: (e) => {
			i("preflight", e ?? "");
		},
		defaultEnv: r("env") ?? null,
		onEnvChange: (e) => {
			i("env", e ?? "");
		},
		defaultSettings: r("settings") ?? null,
		onSettingsChange: (e) => {
			i("settings", e ?? "");
		},
		defaultHistory: r("history") ?? [],
		onHistoryChange: (e) => {
			i("history", e);
		},
		...t
	}));
};
export { ux as Dialog, px as DialogClose, hx as DialogContent, yx as DialogDescription, _x as DialogFooter, gx as DialogHeader, mx as DialogOverlay, fx as DialogPortal, vx as DialogTitle, dx as DialogTrigger, l_ as EXPECTED_ERROR_REASON, VL as Editor, tY as Laboratory, ev as LaboratoryProvider, x_ as PREFLIGHT_TIMEOUT, JU as Tabs, ZU as TabsContent, YU as TabsList, XU as TabsTrigger, w_ as blockedGlobalNames, O_ as defaultLaboratorySettings, ya as docsTargetFromPath, S_ as isValidEnvValue, k_ as normalizeLaboratorySettings, b_ as readLineAndColumn, nY as renderLaboratory, D_ as runIsolatedLabScript, C_ as toLogText, ri as useCollections, ba as useDocs, u_ as useEndpoint, d_ as useEnv, f_ as useHistory, $_ as useLaboratory, g_ as useOperations, __ as usePlugins, E_ as usePreflight, T_ as usePreflightPrompt, A_ as useSettings, M_ as useTabs, N_ as useTests };