@instantdb/components 0.22.91-experimental.btnfix.20320360874.1 → 0.22.91-experimental.btnfix.20321339485.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +5 -5
- package/dist/components/DialogContentPrimitive.d.ts +1 -0
- package/dist/components/DialogContentPrimitive.d.ts.map +1 -0
- package/dist/components/ui.d.ts +2 -1
- package/dist/components/ui.d.ts.map +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.js +714 -711
- package/package.json +7 -7
- package/src/components/DialogContentPrimitive.tsx +0 -0
- package/src/components/explorer/inner-explorer.tsx +1 -1
- package/src/components/explorer/table-components.tsx +2 -2
- package/src/components/ui.tsx +51 -22
- package/vite.config.ts +3 -2
package/dist/index.js
CHANGED
|
@@ -1,52 +1,51 @@
|
|
|
1
1
|
import { jsxs as h, jsx as r, Fragment as M } from "react/jsx-runtime";
|
|
2
|
-
import { toast as
|
|
3
|
-
import { Toaster as
|
|
4
|
-
import { VisuallyHidden as
|
|
5
|
-
import { Editor as
|
|
2
|
+
import { toast as Nt, Toaster as ca } from "sonner";
|
|
3
|
+
import { Toaster as Xi, toast as Zi } from "sonner";
|
|
4
|
+
import { VisuallyHidden as ua } from "@radix-ui/react-visually-hidden";
|
|
5
|
+
import { Editor as pa } from "@monaco-editor/react";
|
|
6
6
|
import _e from "clsx";
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { createPortal as
|
|
7
|
+
import We from "copy-to-clipboard";
|
|
8
|
+
import He, { useMemo as le, useState as C, useEffect as H, useRef as X, useCallback as ot, useSyncExternalStore as ga, useLayoutEffect as yt, Component as lr, createContext as sr, useContext as dt, useId as dr, createElement as ha, Fragment as fa } from "react";
|
|
9
|
+
import { twMerge as ma } from "tailwind-merge";
|
|
10
|
+
import * as se from "@radix-ui/react-select";
|
|
11
|
+
import { ChevronDownIcon as Et, ChevronRightIcon as ba, ArrowUturnLeftIcon as wa, ArrowPathIcon as va, ClockIcon as cr, ArrowUpIcon as ya, ArrowDownIcon as ka, ArrowsUpDownIcon as xa, Cog6ToothIcon as Sa, XMarkIcon as ur, PencilSquareIcon as Na, ArrowUpOnSquareIcon as Ea, TrashIcon as Ca, ExclamationTriangleIcon as Ia, CheckIcon as Aa, ChevronUpIcon as Ra, InformationCircleIcon as Ta } from "@heroicons/react/24/outline";
|
|
12
|
+
import { createPortal as Oa } from "react-dom";
|
|
13
|
+
import _a, { useSWRConfig as pr } from "swr";
|
|
14
|
+
import { InstantAPIError as Da, id as Me, coerceToDate as La, tx as Fa } from "@instantdb/core";
|
|
15
|
+
import { add as gr, formatDistanceToNow as hr, format as $a } from "date-fns";
|
|
16
|
+
import { ArrowLeftIcon as ct, PencilSquareIcon as za, TrashIcon as it, PlusIcon as fr, ArrowUturnLeftIcon as Ve, ArrowPathIcon as ja, InformationCircleIcon as Ma, Cog8ToothIcon as Ba, ChevronLeftIcon as Ua, Bars3Icon as Pa, XMarkIcon as qa, EyeSlashIcon as mr, EyeIcon as br, ClipboardDocumentIcon as Ct, CheckCircleIcon as Ga } from "@heroicons/react/24/solid";
|
|
17
|
+
import { id as qe, tx as Ha, init as Wa } from "@instantdb/react";
|
|
18
|
+
import { useSensors as Va, useSensor as wt, MouseSensor as Ya, TouchSensor as Ka, KeyboardSensor as Xa, DndContext as Za, closestCenter as Qa } from "@dnd-kit/core";
|
|
19
|
+
import { markdownTable as Ja } from "markdown-table";
|
|
20
|
+
import { mkConfig as en, generateCsv as tn, download as rn } from "export-to-csv";
|
|
21
|
+
import { restrictToHorizontalAxis as an } from "@dnd-kit/modifiers";
|
|
22
|
+
import { useSortable as wr, SortableContext as qt, horizontalListSortingStrategy as Gt, arrayMove as nn } from "@dnd-kit/sortable";
|
|
23
|
+
import { flexRender as lt, useReactTable as on, getCoreRowModel as ln } from "@tanstack/react-table";
|
|
24
|
+
import { ArrowLeftIcon as Ht, PlusIcon as sn, ArrowRightIcon as dn, Table as cn, FileDown as un, CurlyBraces as pn, ArrowRightFromLine as gn, XIcon as hn } from "lucide-react";
|
|
25
|
+
import { Combobox as vr, ComboboxInput as yr, ComboboxOptions as kr, ComboboxOption as xr, useClose as Ye, Popover as fn, PopoverButton as mn, PopoverPanel as bn } from "@headlessui/react";
|
|
26
|
+
import { debounce as wn, last as vn, isObject as Ne } from "lodash";
|
|
27
|
+
import { CSS as Sr } from "@dnd-kit/utilities";
|
|
28
|
+
import "swr/subscription";
|
|
29
|
+
import * as ne from "@radix-ui/react-tooltip";
|
|
30
|
+
import { validate as yn } from "uuid";
|
|
13
31
|
import * as Te from "@radix-ui/react-dialog";
|
|
14
|
-
import
|
|
15
|
-
import { ArrowLeftIcon as Pt, PlusIcon as Da, ArrowRightIcon as La, Table as Fa, FileDown as $a, CurlyBraces as za, ArrowRightFromLine as ja, XIcon as Ma } from "lucide-react";
|
|
16
|
-
import Ba from "json5";
|
|
17
|
-
import { Combobox as hr, ComboboxInput as fr, ComboboxOptions as mr, ComboboxOption as br, useClose as We, Popover as Ua, PopoverButton as Pa, PopoverPanel as qa } from "@headlessui/react";
|
|
32
|
+
import kn from "json5";
|
|
18
33
|
import * as Oe from "@radix-ui/react-dropdown-menu";
|
|
19
|
-
import * as
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import * as ne from "@radix-ui/react-tooltip";
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
import { InstantAPIError as Ja, id as Me, coerceToDate as en, tx as tn } from "@instantdb/core";
|
|
26
|
-
import { add as Sr, formatDistanceToNow as Nr, format as rn } from "date-fns";
|
|
27
|
-
import { id as qe, tx as an, init as nn } from "@instantdb/react";
|
|
28
|
-
import { useSensors as on, useSensor as bt, MouseSensor as ln, TouchSensor as sn, KeyboardSensor as dn, DndContext as cn, closestCenter as un } from "@dnd-kit/core";
|
|
29
|
-
import { markdownTable as pn } from "markdown-table";
|
|
30
|
-
import { mkConfig as gn, generateCsv as hn, download as fn } from "export-to-csv";
|
|
31
|
-
import { restrictToHorizontalAxis as mn } from "@dnd-kit/modifiers";
|
|
32
|
-
import { useSortable as Er, SortableContext as Ht, horizontalListSortingStrategy as Wt, arrayMove as bn } from "@dnd-kit/sortable";
|
|
33
|
-
import { flexRender as ot, useReactTable as wn, getCoreRowModel as vn } from "@tanstack/react-table";
|
|
34
|
-
import { debounce as yn, last as kn, isObject as Ne } from "lodash";
|
|
35
|
-
import { CSS as Cr } from "@dnd-kit/utilities";
|
|
36
|
-
import "swr/subscription";
|
|
37
|
-
import { validate as xn } from "uuid";
|
|
38
|
-
const Sn = `/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@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-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-font-weight: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-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-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:""}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,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-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-800:oklch(44.4% .177 26.899);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-orange-500:oklch(70.5% .213 47.604);--color-orange-600:oklch(64.6% .222 41.116);--color-amber-500:oklch(76.9% .188 70.08);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-slate-100:oklch(96.8% .007 247.896);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-neutral-50:oklch(98.5% 0 0);--color-neutral-100:oklch(97% 0 0);--color-neutral-200:oklch(92.2% 0 0);--color-neutral-300:oklch(87% 0 0);--color-neutral-400:oklch(70.8% 0 0);--color-neutral-500:oklch(55.6% 0 0);--color-neutral-600:oklch(43.9% 0 0);--color-neutral-700:oklch(37.1% 0 0);--color-neutral-800:oklch(26.9% 0 0);--color-neutral-900:oklch(20.5% 0 0);--color-neutral-950:oklch(14.5% 0 0);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--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: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--blur-xs:4px;--blur-sm:8px;--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)}}@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,ui-sans-serif,system-ui,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;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{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{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}[type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{appearance:none;--tw-shadow:0 0 #0000;background-color:#fff;border-width:1px;border-color:#6a7282;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem}:is([type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select):focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:oklch(54.6% .245 262.881);--tw-ring-offset-shadow:var(--tw-ring-inset)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#155dfc;outline:2px solid #0000}input::placeholder,textarea::placeholder{color:#6a7282;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-date-and-time-value{text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-year-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-month-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-day-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-hour-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-minute-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-second-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-millisecond-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{print-color-adjust:exact;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='oklch(55.1%25 0.027 264.364)' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem}[multiple],[size]:where(select:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;print-color-adjust:unset;padding-right:.75rem}[type=checkbox],[type=radio]{appearance:none;print-color-adjust:exact;vertical-align:middle;-webkit-user-select:none;user-select:none;color:#155dfc;--tw-shadow:0 0 #0000;background-color:#fff;background-origin:border-box;border-width:1px;border-color:#6a7282;flex-shrink:0;width:1rem;height:1rem;padding:0;display:inline-block}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:oklch(54.6% .245 262.881);--tw-ring-offset-shadow:var(--tw-ring-inset)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{background-color:currentColor;border-color:#0000}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{background-color:currentColor;border-color:#0000}[type=file]{background:unset;border-color:inherit;font-size:unset;line-height:inherit;border-width:0;border-radius:0;padding:0}[type=file]:focus{outline:1px solid buttontext;outline:1px auto -webkit-focus-ring-color}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.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:calc(var(--spacing)*0)}.inset-y-0{inset-block:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-4{top:calc(var(--spacing)*4)}.top-\\[18px\\]{top:18px}.top-\\[50\\%\\]{top:50%}.right-0{right:calc(var(--spacing)*0)}.right-2{right:calc(var(--spacing)*2)}.right-3{right:calc(var(--spacing)*3)}.right-4{right:calc(var(--spacing)*4)}.bottom-0{bottom:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.left-\\[50\\%\\]{left:50%}.z-0{z-index:0}.z-10{z-index:10}.z-40{z-index:40}.z-50{z-index:50}.z-100{z-index:100}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.-mx-1{margin-inline:calc(var(--spacing)*-1)}.mx-2{margin-inline:calc(var(--spacing)*2)}.my-1{margin-block:calc(var(--spacing)*1)}.my-2{margin-block:calc(var(--spacing)*2)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-8{margin-top:calc(var(--spacing)*8)}.mr-0\\.5{margin-right:calc(var(--spacing)*.5)}.mr-4{margin-right:calc(var(--spacing)*4)}.mr-8{margin-right:calc(var(--spacing)*8)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.-ml-0\\.5{margin-left:calc(var(--spacing)*-.5)}.ml-4{margin-left:calc(var(--spacing)*4)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.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)}.h-\\(--radix-select-trigger-height\\){height:var(--radix-select-trigger-height)}.h-1{height:calc(var(--spacing)*1)}.h-3\\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-12{height:calc(var(--spacing)*12)}.h-32{height:calc(var(--spacing)*32)}.h-64{height:calc(var(--spacing)*64)}.h-\\[1\\.15rem\\]{height:1.15rem}.h-full{height:100%}.h-px{height:1px}.max-h-\\(--radix-select-content-available-height\\){max-height:var(--radix-select-content-available-height)}.max-h-\\[25vh\\]{max-height:25vh}.max-h-\\[calc\\(100\\%-2rem\\)\\]{max-height:calc(100% - 2rem)}.max-h-full{max-height:100%}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-\\[30vh\\]{min-height:30vh}.min-h-\\[34px\\]{min-height:34px}.min-h-full{min-height:100%}.w-\\(--input-width\\){width:var(--input-width)}.w-0\\.5{width:calc(var(--spacing)*.5)}.w-3\\.5{width:calc(var(--spacing)*3.5)}.w-4{width:calc(var(--spacing)*4)}.w-6{width:calc(var(--spacing)*6)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-12{width:calc(var(--spacing)*12)}.w-24{width:calc(var(--spacing)*24)}.w-48{width:calc(var(--spacing)*48)}.w-\\[30px\\]{width:30px}.w-\\[62px\\]{width:62px}.w-fit{width:fit-content}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-\\[67vw\\]{max-width:67vw}.max-w-\\[calc\\(100\\%-2rem\\)\\]{max-width:calc(100% - 2rem)}.max-w-fit{max-width:fit-content}.max-w-lg{max-width:var(--container-lg)}.max-w-md{max-width:var(--container-md)}.max-w-xl{max-width:var(--container-xl)}.min-w-\\(--radix-select-trigger-width\\){min-width:var(--radix-select-trigger-width)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-32{min-width:calc(var(--spacing)*32)}.min-w-48{min-width:calc(var(--spacing)*48)}.min-w-\\[200px\\]{min-width:200px}.flex-1{flex:1}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.origin-\\(--radix-select-content-transform-origin\\){transform-origin:var(--radix-select-content-transform-origin)}.origin-\\(--radix-tooltip-content-transform-origin\\){transform-origin:var(--radix-tooltip-content-transform-origin)}.translate-x-\\[-50\\%\\]{--tw-translate-x:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-0{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-0\\.5{--tw-translate-y:calc(var(--spacing)*.5);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)}.-rotate-45{rotate:-45deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-wait{cursor:wait}.resize{resize:both}.resize-none{resize:none}.scroll-my-1{scroll-margin-block:calc(var(--spacing)*1)}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.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)}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}.gap-x-1{column-gap:calc(var(--spacing)*1)}:where(.space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*1)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.overflow-visible{overflow:visible}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.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-none{--tw-border-style:none;border-style:none}.border-solid{--tw-border-style:solid;border-style:solid}.border-\\[\\#606AF4\\]{border-color:#606af4}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-gray-300\\/80{border-color:#d1d5dccc}@supports (color:color-mix(in lab,red,red)){.border-gray-300\\/80{border-color:color-mix(in oklab,var(--color-gray-300)80%,transparent)}}.border-gray-500{border-color:var(--color-gray-500)}.border-neutral-200{border-color:var(--color-neutral-200)}.border-neutral-300{border-color:var(--color-neutral-300)}.border-red-200{border-color:var(--color-red-200)}.border-red-500{border-color:var(--color-red-500)}.border-transparent{border-color:#0000}.border-r-gray-200{border-right-color:var(--color-gray-200)}.border-b-gray-200{border-bottom-color:var(--color-gray-200)}.border-l-red-500{border-left-color:var(--color-red-500)}.bg-\\[\\#606AF4\\]{background-color:#606af4}.bg-\\[\\#616AF4\\]{background-color:#616af4}.bg-\\[\\#4543e9\\]{background-color:#4543e9}.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-blue-100{background-color:var(--color-blue-100)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-300{background-color:var(--color-gray-300)}.bg-gray-500{background-color:var(--color-gray-500)}.bg-neutral-100{background-color:var(--color-neutral-100)}.bg-neutral-200{background-color:var(--color-neutral-200)}.bg-neutral-300{background-color:var(--color-neutral-300)}.bg-orange-500{background-color:var(--color-orange-500)}.bg-orange-600{background-color:var(--color-orange-600)}.bg-red-100{background-color:var(--color-red-100)}.bg-red-200{background-color:var(--color-red-200)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-linear-to-l{--tw-gradient-position:to left}@supports (background-image:linear-gradient(in lab,red,red)){.bg-linear-to-l{--tw-gradient-position:to left in oklab}}.bg-linear-to-l{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-r{--tw-gradient-position:to right}@supports (background-image:linear-gradient(in lab,red,red)){.bg-linear-to-r{--tw-gradient-position:to right in oklab}}.bg-linear-to-r{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-none{background-image:none}.from-black\\/10{--tw-gradient-from:#0000001a}@supports (color:color-mix(in lab,red,red)){.from-black\\/10{--tw-gradient-from:color-mix(in oklab,var(--color-black)10%,transparent)}}.from-black\\/10{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-black\\/20{--tw-gradient-from:#0003}@supports (color:color-mix(in lab,red,red)){.from-black\\/20{--tw-gradient-from:color-mix(in oklab,var(--color-black)20%,transparent)}}.from-black\\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.via-black\\/0{--tw-gradient-via:#0000}@supports (color:color-mix(in lab,red,red)){.via-black\\/0{--tw-gradient-via:color-mix(in oklab,var(--color-black)0%,transparent)}}.via-black\\/0{--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.via-black\\/5{--tw-gradient-via:#0000000d}@supports (color:color-mix(in lab,red,red)){.via-black\\/5{--tw-gradient-via:color-mix(in oklab,var(--color-black)5%,transparent)}}.via-black\\/5{--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-transparent{--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.p-0{padding:calc(var(--spacing)*0)}.p-0\\.5{padding:calc(var(--spacing)*.5)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-0{padding-block:calc(var(--spacing)*0)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.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-4{padding-block:calc(var(--spacing)*4)}.pt-1\\.5{padding-top:calc(var(--spacing)*1.5)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-4{padding-right:calc(var(--spacing)*4)}.pr-5{padding-right:calc(var(--spacing)*5)}.pr-8{padding-right:calc(var(--spacing)*8)}.pb-1{padding-bottom:calc(var(--spacing)*1)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-3{padding-bottom:calc(var(--spacing)*3)}.pl-1{padding-left:calc(var(--spacing)*1)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-4{padding-left:calc(var(--spacing)*4)}.pl-6{padding-left:calc(var(--spacing)*6)}.pl-24{padding-left:calc(var(--spacing)*24)}.text-center{text-align:center}.text-left{text-align:left}.align-middle{vertical-align:middle}.align-top{vertical-align:top}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.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-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.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)}.text-balance{text-wrap:balance}.wrap-break-word{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-wrap{white-space:pre-wrap}.text-\\[\\#606AF4\\]{color:#606af4}.text-\\[\\#2563EB\\]{color:#2563eb}.text-blue-800{color:var(--color-blue-800)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-neutral-500{color:var(--color-neutral-500)}.text-neutral-600{color:var(--color-neutral-600)}.text-neutral-700{color:var(--color-neutral-700)}.text-neutral-950{color:var(--color-neutral-950)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-white{color:var(--color-white)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.line-through{text-decoration-line:line-through}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.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-2xs{--tw-shadow:0 1px 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)}.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-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)}.shadow-xs{--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)}.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-1{--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)}.ring-\\[\\#606AF4\\]{--tw-ring-color:#606af4}.ring-gray-300{--tw-ring-color:var(--color-gray-300)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.blur{--tw-blur:blur(8px);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,)}.blur-sm{--tw-blur:blur(var(--blur-sm));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,)}.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,)}.backdrop-blur-xs{--tw-backdrop-blur:blur(var(--blur-xs));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.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-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))}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.content-\\[hi\\]{--tw-content:hi;content:var(--tw-content)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.select-text{-webkit-user-select:text;user-select:text}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\\:text-amber-500:is(:where(.group):hover *){color:var(--color-amber-500)}.group-hover\\:opacity-70:is(:where(.group):hover *){opacity:.7}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.file\\:rounded-xs::file-selector-button{border-radius:var(--radius-xs)}.file\\:border-none::file-selector-button{--tw-border-style:none;border-style:none}.file\\:border-neutral-200::file-selector-button{border-color:var(--color-neutral-200)}.file\\:bg-transparent::file-selector-button{background-color:#0000}.file\\:p-2::file-selector-button{padding:calc(var(--spacing)*2)}.file\\:pt-1::file-selector-button{padding-top:calc(var(--spacing)*1)}.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\\:shadow-none::file-selector-button{--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)}.placeholder\\:text-gray-400::placeholder{color:var(--color-gray-400)}.placeholder\\:text-neutral-500::placeholder{color:var(--color-neutral-500)}.last\\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.empty\\:invisible:empty{visibility:hidden}.focus-within\\:ring-2:focus-within{--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-within\\:ring-blue-700:focus-within{--tw-ring-color:var(--color-blue-700)}@media (hover:hover){.hover\\:cursor-col-resize:hover{cursor:col-resize}.hover\\:cursor-grab:hover{cursor:grab}.hover\\:border-red-300:hover{border-color:var(--color-red-300)}.hover\\:bg-\\[\\#4543E9\\]:hover,.hover\\:bg-\\[\\#4543e9\\]:hover{background-color:#4543e9}.hover\\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\\:bg-gray-50\\/30:hover{background-color:#f9fafb4d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-gray-50\\/30:hover{background-color:color-mix(in oklab,var(--color-gray-50)30%,transparent)}}.hover\\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\\:bg-gray-200:hover{background-color:var(--color-gray-200)}.hover\\:bg-gray-200\\/30:hover{background-color:#e5e7eb4d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-gray-200\\/30:hover{background-color:color-mix(in oklab,var(--color-gray-200)30%,transparent)}}.hover\\:bg-gray-200\\/50:hover{background-color:#e5e7eb80}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-gray-200\\/50:hover{background-color:color-mix(in oklab,var(--color-gray-200)50%,transparent)}}.hover\\:bg-neutral-100:hover{background-color:var(--color-neutral-100)}.hover\\:bg-neutral-300:hover{background-color:var(--color-neutral-300)}.hover\\:bg-orange-500:hover{background-color:var(--color-orange-500)}.hover\\:text-black:hover{color:var(--color-black)}.hover\\:text-gray-600:hover{color:var(--color-gray-600)}.hover\\:text-gray-700:hover{color:var(--color-gray-700)}.hover\\:text-red-600:hover{color:var(--color-red-600)}.hover\\:text-slate-100:hover{color:var(--color-slate-100)}.hover\\:opacity-100:hover{opacity:1}}.focus\\:bg-neutral-100:focus{background-color:var(--color-neutral-100)}.focus\\:text-neutral-900:focus{color:var(--color-neutral-900)}.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-\\[\\#606AF4\\]:focus{--tw-ring-color:#606af4}.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\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.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-\\[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-neutral-950:focus-visible{--tw-ring-color:var(--color-neutral-950)}.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}}.active\\:cursor-grabbing:active{cursor:grabbing}@media (hover:hover){.hover\\:enabled\\:border-red-300:hover:enabled{border-color:var(--color-red-300)}.hover\\:enabled\\:bg-\\[\\#4543e9\\]:hover:enabled{background-color:#4543e9}.hover\\:enabled\\:bg-gray-50\\/30:hover:enabled{background-color:#f9fafb4d}@supports (color:color-mix(in lab,red,red)){.hover\\:enabled\\:bg-gray-50\\/30:hover:enabled{background-color:color-mix(in oklab,var(--color-gray-50)30%,transparent)}}.hover\\:enabled\\:bg-gray-200\\/30:hover:enabled{background-color:#e5e7eb4d}@supports (color:color-mix(in lab,red,red)){.hover\\:enabled\\:bg-gray-200\\/30:hover:enabled{background-color:color-mix(in oklab,var(--color-gray-200)30%,transparent)}}.hover\\:enabled\\:bg-orange-500:hover:enabled{background-color:var(--color-orange-500)}.hover\\:enabled\\:text-gray-600:hover:enabled{color:var(--color-gray-600)}.hover\\:enabled\\:text-red-600:hover:enabled{color:var(--color-red-600)}.hover\\:enabled\\:text-slate-100:hover:enabled{color:var(--color-slate-100)}}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-default:disabled{cursor:default}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:border-gray-300:disabled{border-color:var(--color-gray-300)}.disabled\\:border-red-50:disabled{border-color:var(--color-red-50)}.disabled\\:bg-\\[\\#9197f3\\]:disabled{background-color:#9197f3}.disabled\\:bg-gray-200:disabled{background-color:var(--color-gray-200)}.disabled\\:text-gray-400:disabled{color:var(--color-gray-400)}.disabled\\:text-red-300:disabled{color:var(--color-red-300)}.disabled\\:opacity-20:disabled{opacity:.2}.disabled\\:opacity-50:disabled{opacity:.5}.data-disabled\\:pointer-events-none[data-disabled]{pointer-events:none}.data-disabled\\:opacity-50[data-disabled]{opacity:.5}.data-focus\\:bg-blue-100[data-focus]{background-color:var(--color-blue-100)}.data-\\[side\\=bottom\\]\\:translate-y-1[data-side=bottom]{--tw-translate-y:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.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\\=right\\]\\:translate-x-1[data-side=right]{--tw-translate-x:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.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-\\[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)}: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-\\[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\\]\\:bg-neutral-800[data-state=checked]{background-color:var(--color-neutral-800)}.data-\\[state\\=checked\\]\\:bg-white[data-state=checked]{background-color:var(--color-white)}.data-\\[state\\=unchecked\\]\\:translate-x-0[data-state=unchecked]{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[state\\=unchecked\\]\\:bg-neutral-300[data-state=unchecked]{background-color:var(--color-neutral-300)}@media (min-width:40rem){.sm\\:max-w-lg{max-width:var(--container-lg)}}@media (min-width:48rem){.md\\:static{position:static}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:flex-row{flex-direction:row}.md\\:items-center{align-items:center}.md\\:justify-start{justify-content:flex-start}.md\\:gap-2{gap:calc(var(--spacing)*2)}.md\\:border-b-0{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.md\\: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)}}:where(.dark\\:divide-neutral-700:where(.dark,.dark *)>:not(:last-child)){border-color:var(--color-neutral-700)}.dark\\:border:where(.dark,.dark *){border-style:var(--tw-border-style);border-width:1px}.dark\\:border-neutral-500:where(.dark,.dark *){border-color:var(--color-neutral-500)}.dark\\:border-neutral-600:where(.dark,.dark *){border-color:var(--color-neutral-600)}.dark\\:border-neutral-700:where(.dark,.dark *){border-color:var(--color-neutral-700)}.dark\\:border-neutral-800:where(.dark,.dark *){border-color:var(--color-neutral-800)}.dark\\:border-red-900\\/60:where(.dark,.dark *){border-color:#82181a99}@supports (color:color-mix(in lab,red,red)){.dark\\:border-red-900\\/60:where(.dark,.dark *){border-color:color-mix(in oklab,var(--color-red-900)60%,transparent)}}.dark\\:border-y-neutral-700:where(.dark,.dark *){border-block-color:var(--color-neutral-700)}.dark\\:border-y-neutral-800:where(.dark,.dark *){border-block-color:var(--color-neutral-800)}.dark\\:border-t-neutral-700:where(.dark,.dark *){border-top-color:var(--color-neutral-700)}.dark\\:border-r-neutral-700:where(.dark,.dark *){border-right-color:var(--color-neutral-700)}.dark\\:border-b-neutral-600:where(.dark,.dark *){border-bottom-color:var(--color-neutral-600)}.dark\\:border-b-neutral-700:where(.dark,.dark *){border-bottom-color:var(--color-neutral-700)}.dark\\:border-l-neutral-700:where(.dark,.dark *){border-left-color:var(--color-neutral-700)}.dark\\:bg-\\[\\#606AF4\\]:where(.dark,.dark *){background-color:#606af4}.dark\\:bg-\\[\\#252525\\]:where(.dark,.dark *){background-color:#252525}.dark\\:bg-\\[\\#303030\\]:where(.dark,.dark *){background-color:#303030}.dark\\:bg-blue-700\\/30:where(.dark,.dark *){background-color:#1447e64d}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-blue-700\\/30:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-blue-700)30%,transparent)}}.dark\\:bg-neutral-200:where(.dark,.dark *){background-color:var(--color-neutral-200)}.dark\\:bg-neutral-600\\/20:where(.dark,.dark *){background-color:#52525233}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-neutral-600\\/20:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-neutral-600)20%,transparent)}}.dark\\:bg-neutral-600\\/40:where(.dark,.dark *){background-color:#52525266}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-neutral-600\\/40:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-neutral-600)40%,transparent)}}.dark\\:bg-neutral-600\\/50:where(.dark,.dark *){background-color:#52525280}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-neutral-600\\/50:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-neutral-600)50%,transparent)}}.dark\\:bg-neutral-700:where(.dark,.dark *){background-color:var(--color-neutral-700)}.dark\\:bg-neutral-700\\/50:where(.dark,.dark *){background-color:#40404080}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-neutral-700\\/50:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-neutral-700)50%,transparent)}}.dark\\:bg-neutral-800:where(.dark,.dark *){background-color:var(--color-neutral-800)}.dark\\:bg-neutral-900:where(.dark,.dark *){background-color:var(--color-neutral-900)}.dark\\:bg-neutral-900\\/50:where(.dark,.dark *){background-color:#17171780}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-neutral-900\\/50:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-neutral-900)50%,transparent)}}.dark\\:bg-orange-600:where(.dark,.dark *){background-color:var(--color-orange-600)}.dark\\:bg-red-500\\/10:where(.dark,.dark *){background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-red-500\\/10:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.dark\\:bg-red-900\\/30:where(.dark,.dark *){background-color:#82181a4d}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-red-900\\/30:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-red-900)30%,transparent)}}.dark\\:bg-transparent:where(.dark,.dark *){background-color:#0000}.dark\\:text-blue-100:where(.dark,.dark *){color:var(--color-blue-100)}.dark\\:text-neutral-50:where(.dark,.dark *){color:var(--color-neutral-50)}.dark\\:text-neutral-200:where(.dark,.dark *){color:var(--color-neutral-200)}.dark\\:text-neutral-300:where(.dark,.dark *){color:var(--color-neutral-300)}.dark\\:text-neutral-400:where(.dark,.dark *){color:var(--color-neutral-400)}.dark\\:text-neutral-500:where(.dark,.dark *){color:var(--color-neutral-500)}.dark\\:text-neutral-600:where(.dark,.dark *){color:var(--color-neutral-600)}.dark\\:text-red-400:where(.dark,.dark *){color:var(--color-red-400)}.dark\\:text-white:where(.dark,.dark *){color:var(--color-white)}.dark\\:ring-neutral-500:where(.dark,.dark *){--tw-ring-color:var(--color-neutral-500)}.dark\\:ring-neutral-600:where(.dark,.dark *){--tw-ring-color:var(--color-neutral-600)}.dark\\:ring-neutral-700:where(.dark,.dark *){--tw-ring-color:var(--color-neutral-700)}.dark\\:file\\:border-neutral-700:where(.dark,.dark *)::file-selector-button{border-color:var(--color-neutral-700)}.dark\\:file\\:text-white:where(.dark,.dark *)::file-selector-button{color:var(--color-white)}.dark\\:placeholder\\:text-neutral-400:where(.dark,.dark *)::placeholder{color:var(--color-neutral-400)}.dark\\:placeholder\\:text-neutral-500:where(.dark,.dark *)::placeholder{color:var(--color-neutral-500)}.dark\\:checked\\:border-\\[\\#2563EB\\]:where(.dark,.dark *):checked{border-color:#2563eb}.dark\\:checked\\:bg-\\[\\#2563EB\\]:where(.dark,.dark *):checked{background-color:#2563eb}.dark\\:focus-within\\:ring-blue-500:where(.dark,.dark *):focus-within{--tw-ring-color:var(--color-blue-500)}@media (hover:hover){.dark\\:hover\\:border-red-800:where(.dark,.dark *):hover{border-color:var(--color-red-800)}.dark\\:hover\\:bg-\\[\\#4543e9\\]:where(.dark,.dark *):hover{background-color:#4543e9}.dark\\:hover\\:bg-neutral-700:where(.dark,.dark *):hover{background-color:var(--color-neutral-700)}.dark\\:hover\\:bg-neutral-700\\/30:where(.dark,.dark *):hover{background-color:#4040404d}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-neutral-700\\/30:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-neutral-700)30%,transparent)}}.dark\\:hover\\:bg-neutral-700\\/50:where(.dark,.dark *):hover{background-color:#40404080}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-neutral-700\\/50:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-neutral-700)50%,transparent)}}.dark\\:hover\\:bg-neutral-700\\/80:where(.dark,.dark *):hover{background-color:#404040cc}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-neutral-700\\/80:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-neutral-700)80%,transparent)}}.dark\\:hover\\:bg-neutral-800:where(.dark,.dark *):hover{background-color:var(--color-neutral-800)}.dark\\:hover\\:bg-orange-500:where(.dark,.dark *):hover{background-color:var(--color-orange-500)}.dark\\:hover\\:text-neutral-100:where(.dark,.dark *):hover{color:var(--color-neutral-100)}.dark\\:hover\\:text-neutral-300:where(.dark,.dark *):hover{color:var(--color-neutral-300)}.dark\\:hover\\:text-white:where(.dark,.dark *):hover{color:var(--color-white)}}.dark\\:focus\\:bg-neutral-700:where(.dark,.dark *):focus{background-color:var(--color-neutral-700)}.dark\\:focus\\:text-neutral-50:where(.dark,.dark *):focus{color:var(--color-neutral-50)}.dark\\:focus-visible\\:ring-neutral-400:where(.dark,.dark *):focus-visible{--tw-ring-color:var(--color-neutral-400)}@media (hover:hover){.dark\\:hover\\:enabled\\:border-red-800:where(.dark,.dark *):hover:enabled{border-color:var(--color-red-800)}.dark\\:hover\\:enabled\\:bg-\\[\\#4543e9\\]:where(.dark,.dark *):hover:enabled{background-color:#4543e9}.dark\\:hover\\:enabled\\:bg-neutral-700\\/30:where(.dark,.dark *):hover:enabled{background-color:#4040404d}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:enabled\\:bg-neutral-700\\/30:where(.dark,.dark *):hover:enabled{background-color:color-mix(in oklab,var(--color-neutral-700)30%,transparent)}}.dark\\:hover\\:enabled\\:bg-orange-500:where(.dark,.dark *):hover:enabled{background-color:var(--color-orange-500)}.dark\\:hover\\:enabled\\:text-neutral-100:where(.dark,.dark *):hover:enabled{color:var(--color-neutral-100)}.dark\\:hover\\:enabled\\:text-neutral-300:where(.dark,.dark *):hover:enabled{color:var(--color-neutral-300)}.dark\\:hover\\:enabled\\:text-red-500:where(.dark,.dark *):hover:enabled{color:var(--color-red-500)}}.dark\\:disabled\\:border-neutral-400:where(.dark,.dark *):disabled{border-color:var(--color-neutral-400)}.dark\\:disabled\\:border-red-950:where(.dark,.dark *):disabled{border-color:var(--color-red-950)}.dark\\:disabled\\:bg-\\[\\#9197f3\\]:where(.dark,.dark *):disabled{background-color:#9197f3}.dark\\:disabled\\:text-neutral-600:where(.dark,.dark *):disabled{color:var(--color-neutral-600)}.dark\\:disabled\\:text-neutral-700:where(.dark,.dark *):disabled{color:var(--color-neutral-700)}.dark\\:disabled\\:text-red-800:where(.dark,.dark *):disabled{color:var(--color-red-800)}.dark\\:disabled\\:opacity-40:where(.dark,.dark *):disabled{opacity:.4}.dark\\:disabled\\:opacity-50:where(.dark,.dark *):disabled{opacity:.5}.dark\\:data-focus\\:bg-neutral-700:where(.dark,.dark *)[data-focus]{background-color:var(--color-neutral-700)}.dark\\:data-\\[state\\=checked\\]\\:border-transparent:where(.dark,.dark *)[data-state=checked]{border-color:#0000}.dark\\:data-\\[state\\=checked\\]\\:bg-neutral-600:where(.dark,.dark *)[data-state=checked]{background-color:var(--color-neutral-600)}.dark\\:data-\\[state\\=checked\\]\\:bg-white:where(.dark,.dark *)[data-state=checked]{background-color:var(--color-white)}.dark\\:data-\\[state\\=unchecked\\]\\:bg-neutral-200:where(.dark,.dark *)[data-state=unchecked]{background-color:var(--color-neutral-200)}.dark\\:data-\\[state\\=unchecked\\]\\:bg-neutral-700:where(.dark,.dark *)[data-state=unchecked]{background-color:var(--color-neutral-700)}.\\[\\&_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)}: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)}}@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-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-font-weight{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-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-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}`, Ir = typeof window < "u", Nn = kt("devBackend");
|
|
39
|
-
let yt = "8888";
|
|
40
|
-
if (Nn && Ir) {
|
|
34
|
+
import * as Wt from "@radix-ui/react-toggle-group";
|
|
35
|
+
import Nr from "react-copy-to-clipboard";
|
|
36
|
+
import * as Vt from "@radix-ui/react-switch";
|
|
37
|
+
const xn = `/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@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-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-font-weight: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-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-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:""}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,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-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-800:oklch(44.4% .177 26.899);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-orange-500:oklch(70.5% .213 47.604);--color-orange-600:oklch(64.6% .222 41.116);--color-amber-500:oklch(76.9% .188 70.08);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-slate-100:oklch(96.8% .007 247.896);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-neutral-50:oklch(98.5% 0 0);--color-neutral-100:oklch(97% 0 0);--color-neutral-200:oklch(92.2% 0 0);--color-neutral-300:oklch(87% 0 0);--color-neutral-400:oklch(70.8% 0 0);--color-neutral-500:oklch(55.6% 0 0);--color-neutral-600:oklch(43.9% 0 0);--color-neutral-700:oklch(37.1% 0 0);--color-neutral-800:oklch(26.9% 0 0);--color-neutral-900:oklch(20.5% 0 0);--color-neutral-950:oklch(14.5% 0 0);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--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: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--blur-xs:4px;--blur-sm:8px;--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)}}@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,ui-sans-serif,system-ui,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;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{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{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}[type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{appearance:none;--tw-shadow:0 0 #0000;background-color:#fff;border-width:1px;border-color:#6a7282;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem}:is([type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select):focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:oklch(54.6% .245 262.881);--tw-ring-offset-shadow:var(--tw-ring-inset)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#155dfc;outline:2px solid #0000}input::placeholder,textarea::placeholder{color:#6a7282;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-date-and-time-value{text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-year-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-month-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-day-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-hour-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-minute-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-second-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-millisecond-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{print-color-adjust:exact;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='oklch(55.1%25 0.027 264.364)' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem}[multiple],[size]:where(select:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;print-color-adjust:unset;padding-right:.75rem}[type=checkbox],[type=radio]{appearance:none;print-color-adjust:exact;vertical-align:middle;-webkit-user-select:none;user-select:none;color:#155dfc;--tw-shadow:0 0 #0000;background-color:#fff;background-origin:border-box;border-width:1px;border-color:#6a7282;flex-shrink:0;width:1rem;height:1rem;padding:0;display:inline-block}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:oklch(54.6% .245 262.881);--tw-ring-offset-shadow:var(--tw-ring-inset)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{background-color:currentColor;border-color:#0000}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{background-color:currentColor;border-color:#0000}[type=file]{background:unset;border-color:inherit;font-size:unset;line-height:inherit;border-width:0;border-radius:0;padding:0}[type=file]:focus{outline:1px solid buttontext;outline:1px auto -webkit-focus-ring-color}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.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:calc(var(--spacing)*0)}.inset-y-0{inset-block:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-4{top:calc(var(--spacing)*4)}.top-\\[18px\\]{top:18px}.top-\\[50\\%\\]{top:50%}.right-0{right:calc(var(--spacing)*0)}.right-2{right:calc(var(--spacing)*2)}.right-3{right:calc(var(--spacing)*3)}.right-4{right:calc(var(--spacing)*4)}.bottom-0{bottom:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.left-\\[50\\%\\]{left:50%}.z-0{z-index:0}.z-10{z-index:10}.z-40{z-index:40}.z-50{z-index:50}.z-100{z-index:100}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.-mx-1{margin-inline:calc(var(--spacing)*-1)}.mx-2{margin-inline:calc(var(--spacing)*2)}.my-1{margin-block:calc(var(--spacing)*1)}.my-2{margin-block:calc(var(--spacing)*2)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-8{margin-top:calc(var(--spacing)*8)}.mr-0\\.5{margin-right:calc(var(--spacing)*.5)}.mr-4{margin-right:calc(var(--spacing)*4)}.mr-8{margin-right:calc(var(--spacing)*8)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.-ml-0\\.5{margin-left:calc(var(--spacing)*-.5)}.ml-4{margin-left:calc(var(--spacing)*4)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.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)}.h-\\(--radix-select-trigger-height\\){height:var(--radix-select-trigger-height)}.h-1{height:calc(var(--spacing)*1)}.h-3\\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-12{height:calc(var(--spacing)*12)}.h-32{height:calc(var(--spacing)*32)}.h-64{height:calc(var(--spacing)*64)}.h-\\[1\\.15rem\\]{height:1.15rem}.h-full{height:100%}.h-px{height:1px}.max-h-\\(--radix-select-content-available-height\\){max-height:var(--radix-select-content-available-height)}.max-h-\\[25vh\\]{max-height:25vh}.max-h-\\[calc\\(100\\%-2rem\\)\\]{max-height:calc(100% - 2rem)}.max-h-full{max-height:100%}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-\\[30vh\\]{min-height:30vh}.min-h-\\[34px\\]{min-height:34px}.min-h-full{min-height:100%}.w-\\(--input-width\\){width:var(--input-width)}.w-0\\.5{width:calc(var(--spacing)*.5)}.w-3\\.5{width:calc(var(--spacing)*3.5)}.w-4{width:calc(var(--spacing)*4)}.w-6{width:calc(var(--spacing)*6)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-12{width:calc(var(--spacing)*12)}.w-24{width:calc(var(--spacing)*24)}.w-48{width:calc(var(--spacing)*48)}.w-\\[30px\\]{width:30px}.w-\\[62px\\]{width:62px}.w-fit{width:fit-content}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-\\[67vw\\]{max-width:67vw}.max-w-\\[calc\\(100\\%-2rem\\)\\]{max-width:calc(100% - 2rem)}.max-w-fit{max-width:fit-content}.max-w-lg{max-width:var(--container-lg)}.max-w-md{max-width:var(--container-md)}.max-w-xl{max-width:var(--container-xl)}.min-w-\\(--radix-select-trigger-width\\){min-width:var(--radix-select-trigger-width)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-32{min-width:calc(var(--spacing)*32)}.min-w-48{min-width:calc(var(--spacing)*48)}.min-w-\\[200px\\]{min-width:200px}.flex-1{flex:1}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.origin-\\(--radix-select-content-transform-origin\\){transform-origin:var(--radix-select-content-transform-origin)}.origin-\\(--radix-tooltip-content-transform-origin\\){transform-origin:var(--radix-tooltip-content-transform-origin)}.translate-x-\\[-50\\%\\]{--tw-translate-x:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-0{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-0\\.5{--tw-translate-y:calc(var(--spacing)*.5);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)}.-rotate-45{rotate:-45deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-wait{cursor:wait}.resize{resize:both}.resize-none{resize:none}.scroll-my-1{scroll-margin-block:calc(var(--spacing)*1)}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.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)}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}.gap-x-1{column-gap:calc(var(--spacing)*1)}:where(.space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*1)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.overflow-visible{overflow:visible}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.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-none{--tw-border-style:none;border-style:none}.border-solid{--tw-border-style:solid;border-style:solid}.border-\\[\\#606AF4\\]{border-color:#606af4}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-gray-300\\/80{border-color:#d1d5dccc}@supports (color:color-mix(in lab,red,red)){.border-gray-300\\/80{border-color:color-mix(in oklab,var(--color-gray-300)80%,transparent)}}.border-gray-500{border-color:var(--color-gray-500)}.border-neutral-200{border-color:var(--color-neutral-200)}.border-neutral-300{border-color:var(--color-neutral-300)}.border-red-200{border-color:var(--color-red-200)}.border-red-500{border-color:var(--color-red-500)}.border-transparent{border-color:#0000}.border-r-gray-200{border-right-color:var(--color-gray-200)}.border-b-gray-200{border-bottom-color:var(--color-gray-200)}.border-l-red-500{border-left-color:var(--color-red-500)}.bg-\\[\\#606AF4\\]{background-color:#606af4}.bg-\\[\\#616AF4\\]{background-color:#616af4}.bg-\\[\\#4543e9\\]{background-color:#4543e9}.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-blue-100{background-color:var(--color-blue-100)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-300{background-color:var(--color-gray-300)}.bg-gray-500{background-color:var(--color-gray-500)}.bg-neutral-100{background-color:var(--color-neutral-100)}.bg-neutral-200{background-color:var(--color-neutral-200)}.bg-neutral-300{background-color:var(--color-neutral-300)}.bg-orange-500{background-color:var(--color-orange-500)}.bg-orange-600{background-color:var(--color-orange-600)}.bg-red-100{background-color:var(--color-red-100)}.bg-red-200{background-color:var(--color-red-200)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-linear-to-l{--tw-gradient-position:to left}@supports (background-image:linear-gradient(in lab,red,red)){.bg-linear-to-l{--tw-gradient-position:to left in oklab}}.bg-linear-to-l{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-r{--tw-gradient-position:to right}@supports (background-image:linear-gradient(in lab,red,red)){.bg-linear-to-r{--tw-gradient-position:to right in oklab}}.bg-linear-to-r{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-none{background-image:none}.from-black\\/10{--tw-gradient-from:#0000001a}@supports (color:color-mix(in lab,red,red)){.from-black\\/10{--tw-gradient-from:color-mix(in oklab,var(--color-black)10%,transparent)}}.from-black\\/10{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-black\\/20{--tw-gradient-from:#0003}@supports (color:color-mix(in lab,red,red)){.from-black\\/20{--tw-gradient-from:color-mix(in oklab,var(--color-black)20%,transparent)}}.from-black\\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.via-black\\/0{--tw-gradient-via:#0000}@supports (color:color-mix(in lab,red,red)){.via-black\\/0{--tw-gradient-via:color-mix(in oklab,var(--color-black)0%,transparent)}}.via-black\\/0{--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.via-black\\/5{--tw-gradient-via:#0000000d}@supports (color:color-mix(in lab,red,red)){.via-black\\/5{--tw-gradient-via:color-mix(in oklab,var(--color-black)5%,transparent)}}.via-black\\/5{--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-transparent{--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.p-0{padding:calc(var(--spacing)*0)}.p-0\\.5{padding:calc(var(--spacing)*.5)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-0{padding-block:calc(var(--spacing)*0)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.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-4{padding-block:calc(var(--spacing)*4)}.pt-1\\.5{padding-top:calc(var(--spacing)*1.5)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-4{padding-right:calc(var(--spacing)*4)}.pr-5{padding-right:calc(var(--spacing)*5)}.pr-8{padding-right:calc(var(--spacing)*8)}.pb-1{padding-bottom:calc(var(--spacing)*1)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-3{padding-bottom:calc(var(--spacing)*3)}.pl-1{padding-left:calc(var(--spacing)*1)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-4{padding-left:calc(var(--spacing)*4)}.pl-6{padding-left:calc(var(--spacing)*6)}.pl-24{padding-left:calc(var(--spacing)*24)}.text-center{text-align:center}.text-left{text-align:left}.align-middle{vertical-align:middle}.align-top{vertical-align:top}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.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-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.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)}.text-balance{text-wrap:balance}.wrap-break-word{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-wrap{white-space:pre-wrap}.text-\\[\\#606AF4\\]{color:#606af4}.text-\\[\\#2563EB\\]{color:#2563eb}.text-blue-800{color:var(--color-blue-800)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-neutral-500{color:var(--color-neutral-500)}.text-neutral-600{color:var(--color-neutral-600)}.text-neutral-700{color:var(--color-neutral-700)}.text-neutral-950{color:var(--color-neutral-950)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-white{color:var(--color-white)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.line-through{text-decoration-line:line-through}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.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-2xs{--tw-shadow:0 1px 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)}.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-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)}.shadow-xs{--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)}.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-1{--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)}.ring-\\[\\#606AF4\\]{--tw-ring-color:#606af4}.ring-gray-300{--tw-ring-color:var(--color-gray-300)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.blur{--tw-blur:blur(8px);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,)}.blur-sm{--tw-blur:blur(var(--blur-sm));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,)}.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,)}.backdrop-blur-xs{--tw-backdrop-blur:blur(var(--blur-xs));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.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-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))}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.content-\\[hi\\]{--tw-content:hi;content:var(--tw-content)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.select-text{-webkit-user-select:text;user-select:text}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\\:text-amber-500:is(:where(.group):hover *){color:var(--color-amber-500)}.group-hover\\:opacity-70:is(:where(.group):hover *){opacity:.7}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.file\\:rounded-xs::file-selector-button{border-radius:var(--radius-xs)}.file\\:border-none::file-selector-button{--tw-border-style:none;border-style:none}.file\\:border-neutral-200::file-selector-button{border-color:var(--color-neutral-200)}.file\\:bg-transparent::file-selector-button{background-color:#0000}.file\\:p-2::file-selector-button{padding:calc(var(--spacing)*2)}.file\\:pt-1::file-selector-button{padding-top:calc(var(--spacing)*1)}.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\\:shadow-none::file-selector-button{--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)}.placeholder\\:text-gray-400::placeholder{color:var(--color-gray-400)}.placeholder\\:text-neutral-500::placeholder{color:var(--color-neutral-500)}.last\\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.empty\\:invisible:empty{visibility:hidden}.focus-within\\:ring-2:focus-within{--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-within\\:ring-blue-700:focus-within{--tw-ring-color:var(--color-blue-700)}@media (hover:hover){.hover\\:cursor-col-resize:hover{cursor:col-resize}.hover\\:cursor-grab:hover{cursor:grab}.hover\\:border-red-300:hover{border-color:var(--color-red-300)}.hover\\:bg-\\[\\#4543E9\\]:hover,.hover\\:bg-\\[\\#4543e9\\]:hover{background-color:#4543e9}.hover\\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\\:bg-gray-50\\/30:hover{background-color:#f9fafb4d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-gray-50\\/30:hover{background-color:color-mix(in oklab,var(--color-gray-50)30%,transparent)}}.hover\\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\\:bg-gray-200:hover{background-color:var(--color-gray-200)}.hover\\:bg-gray-200\\/30:hover{background-color:#e5e7eb4d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-gray-200\\/30:hover{background-color:color-mix(in oklab,var(--color-gray-200)30%,transparent)}}.hover\\:bg-gray-200\\/50:hover{background-color:#e5e7eb80}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-gray-200\\/50:hover{background-color:color-mix(in oklab,var(--color-gray-200)50%,transparent)}}.hover\\:bg-neutral-100:hover{background-color:var(--color-neutral-100)}.hover\\:bg-neutral-300:hover{background-color:var(--color-neutral-300)}.hover\\:bg-orange-500:hover{background-color:var(--color-orange-500)}.hover\\:text-black:hover{color:var(--color-black)}.hover\\:text-gray-600:hover{color:var(--color-gray-600)}.hover\\:text-gray-700:hover{color:var(--color-gray-700)}.hover\\:text-red-600:hover{color:var(--color-red-600)}.hover\\:text-slate-100:hover{color:var(--color-slate-100)}.hover\\:opacity-100:hover{opacity:1}}.focus\\:bg-neutral-100:focus{background-color:var(--color-neutral-100)}.focus\\:text-neutral-900:focus{color:var(--color-neutral-900)}.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-\\[\\#606AF4\\]:focus{--tw-ring-color:#606af4}.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\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.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-\\[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-neutral-950:focus-visible{--tw-ring-color:var(--color-neutral-950)}.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}}.active\\:cursor-grabbing:active{cursor:grabbing}@media (hover:hover){.hover\\:enabled\\:border-red-300:hover:enabled{border-color:var(--color-red-300)}.hover\\:enabled\\:bg-\\[\\#4543e9\\]:hover:enabled{background-color:#4543e9}.hover\\:enabled\\:bg-gray-50\\/30:hover:enabled{background-color:#f9fafb4d}@supports (color:color-mix(in lab,red,red)){.hover\\:enabled\\:bg-gray-50\\/30:hover:enabled{background-color:color-mix(in oklab,var(--color-gray-50)30%,transparent)}}.hover\\:enabled\\:bg-gray-200\\/30:hover:enabled{background-color:#e5e7eb4d}@supports (color:color-mix(in lab,red,red)){.hover\\:enabled\\:bg-gray-200\\/30:hover:enabled{background-color:color-mix(in oklab,var(--color-gray-200)30%,transparent)}}.hover\\:enabled\\:bg-orange-500:hover:enabled{background-color:var(--color-orange-500)}.hover\\:enabled\\:text-gray-600:hover:enabled{color:var(--color-gray-600)}.hover\\:enabled\\:text-red-600:hover:enabled{color:var(--color-red-600)}.hover\\:enabled\\:text-slate-100:hover:enabled{color:var(--color-slate-100)}}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-default:disabled{cursor:default}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:border-gray-300:disabled{border-color:var(--color-gray-300)}.disabled\\:border-red-50:disabled{border-color:var(--color-red-50)}.disabled\\:bg-\\[\\#9197f3\\]:disabled{background-color:#9197f3}.disabled\\:bg-gray-200:disabled{background-color:var(--color-gray-200)}.disabled\\:text-gray-400:disabled{color:var(--color-gray-400)}.disabled\\:text-red-300:disabled{color:var(--color-red-300)}.disabled\\:opacity-20:disabled{opacity:.2}.disabled\\:opacity-50:disabled{opacity:.5}.data-disabled\\:pointer-events-none[data-disabled]{pointer-events:none}.data-disabled\\:opacity-50[data-disabled]{opacity:.5}.data-focus\\:bg-blue-100[data-focus]{background-color:var(--color-blue-100)}.data-\\[side\\=bottom\\]\\:translate-y-1[data-side=bottom]{--tw-translate-y:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.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\\=right\\]\\:translate-x-1[data-side=right]{--tw-translate-x:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.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-\\[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)}: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-\\[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\\]\\:bg-neutral-800[data-state=checked]{background-color:var(--color-neutral-800)}.data-\\[state\\=checked\\]\\:bg-white[data-state=checked]{background-color:var(--color-white)}.data-\\[state\\=unchecked\\]\\:translate-x-0[data-state=unchecked]{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[state\\=unchecked\\]\\:bg-neutral-300[data-state=unchecked]{background-color:var(--color-neutral-300)}@media (min-width:40rem){.sm\\:max-w-lg{max-width:var(--container-lg)}}@media (min-width:48rem){.md\\:static{position:static}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:flex-row{flex-direction:row}.md\\:items-center{align-items:center}.md\\:justify-start{justify-content:flex-start}.md\\:gap-2{gap:calc(var(--spacing)*2)}.md\\:border-b-0{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.md\\: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)}}:where(.dark\\:divide-neutral-700:where(.dark,.dark *)>:not(:last-child)){border-color:var(--color-neutral-700)}.dark\\:border:where(.dark,.dark *){border-style:var(--tw-border-style);border-width:1px}.dark\\:border-neutral-500:where(.dark,.dark *){border-color:var(--color-neutral-500)}.dark\\:border-neutral-600:where(.dark,.dark *){border-color:var(--color-neutral-600)}.dark\\:border-neutral-700:where(.dark,.dark *){border-color:var(--color-neutral-700)}.dark\\:border-neutral-800:where(.dark,.dark *){border-color:var(--color-neutral-800)}.dark\\:border-red-900\\/60:where(.dark,.dark *){border-color:#82181a99}@supports (color:color-mix(in lab,red,red)){.dark\\:border-red-900\\/60:where(.dark,.dark *){border-color:color-mix(in oklab,var(--color-red-900)60%,transparent)}}.dark\\:border-y-neutral-700:where(.dark,.dark *){border-block-color:var(--color-neutral-700)}.dark\\:border-y-neutral-800:where(.dark,.dark *){border-block-color:var(--color-neutral-800)}.dark\\:border-t-neutral-700:where(.dark,.dark *){border-top-color:var(--color-neutral-700)}.dark\\:border-r-neutral-700:where(.dark,.dark *){border-right-color:var(--color-neutral-700)}.dark\\:border-b-neutral-600:where(.dark,.dark *){border-bottom-color:var(--color-neutral-600)}.dark\\:border-b-neutral-700:where(.dark,.dark *){border-bottom-color:var(--color-neutral-700)}.dark\\:border-l-neutral-700:where(.dark,.dark *){border-left-color:var(--color-neutral-700)}.dark\\:bg-\\[\\#606AF4\\]:where(.dark,.dark *){background-color:#606af4}.dark\\:bg-\\[\\#252525\\]:where(.dark,.dark *){background-color:#252525}.dark\\:bg-\\[\\#303030\\]:where(.dark,.dark *){background-color:#303030}.dark\\:bg-blue-700\\/30:where(.dark,.dark *){background-color:#1447e64d}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-blue-700\\/30:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-blue-700)30%,transparent)}}.dark\\:bg-neutral-200:where(.dark,.dark *){background-color:var(--color-neutral-200)}.dark\\:bg-neutral-600\\/20:where(.dark,.dark *){background-color:#52525233}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-neutral-600\\/20:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-neutral-600)20%,transparent)}}.dark\\:bg-neutral-600\\/40:where(.dark,.dark *){background-color:#52525266}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-neutral-600\\/40:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-neutral-600)40%,transparent)}}.dark\\:bg-neutral-600\\/50:where(.dark,.dark *){background-color:#52525280}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-neutral-600\\/50:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-neutral-600)50%,transparent)}}.dark\\:bg-neutral-700:where(.dark,.dark *){background-color:var(--color-neutral-700)}.dark\\:bg-neutral-700\\/50:where(.dark,.dark *){background-color:#40404080}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-neutral-700\\/50:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-neutral-700)50%,transparent)}}.dark\\:bg-neutral-800:where(.dark,.dark *){background-color:var(--color-neutral-800)}.dark\\:bg-neutral-900:where(.dark,.dark *){background-color:var(--color-neutral-900)}.dark\\:bg-neutral-900\\/50:where(.dark,.dark *){background-color:#17171780}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-neutral-900\\/50:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-neutral-900)50%,transparent)}}.dark\\:bg-orange-600:where(.dark,.dark *){background-color:var(--color-orange-600)}.dark\\:bg-red-500\\/10:where(.dark,.dark *){background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-red-500\\/10:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.dark\\:bg-red-900\\/30:where(.dark,.dark *){background-color:#82181a4d}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-red-900\\/30:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-red-900)30%,transparent)}}.dark\\:bg-transparent:where(.dark,.dark *){background-color:#0000}.dark\\:text-blue-100:where(.dark,.dark *){color:var(--color-blue-100)}.dark\\:text-neutral-50:where(.dark,.dark *){color:var(--color-neutral-50)}.dark\\:text-neutral-200:where(.dark,.dark *){color:var(--color-neutral-200)}.dark\\:text-neutral-300:where(.dark,.dark *){color:var(--color-neutral-300)}.dark\\:text-neutral-400:where(.dark,.dark *){color:var(--color-neutral-400)}.dark\\:text-neutral-500:where(.dark,.dark *){color:var(--color-neutral-500)}.dark\\:text-neutral-600:where(.dark,.dark *){color:var(--color-neutral-600)}.dark\\:text-red-400:where(.dark,.dark *){color:var(--color-red-400)}.dark\\:text-white:where(.dark,.dark *){color:var(--color-white)}.dark\\:ring-neutral-500:where(.dark,.dark *){--tw-ring-color:var(--color-neutral-500)}.dark\\:ring-neutral-600:where(.dark,.dark *){--tw-ring-color:var(--color-neutral-600)}.dark\\:ring-neutral-700:where(.dark,.dark *){--tw-ring-color:var(--color-neutral-700)}.dark\\:file\\:border-neutral-700:where(.dark,.dark *)::file-selector-button{border-color:var(--color-neutral-700)}.dark\\:file\\:text-white:where(.dark,.dark *)::file-selector-button{color:var(--color-white)}.dark\\:placeholder\\:text-neutral-400:where(.dark,.dark *)::placeholder{color:var(--color-neutral-400)}.dark\\:placeholder\\:text-neutral-500:where(.dark,.dark *)::placeholder{color:var(--color-neutral-500)}.dark\\:checked\\:border-\\[\\#2563EB\\]:where(.dark,.dark *):checked{border-color:#2563eb}.dark\\:checked\\:bg-\\[\\#2563EB\\]:where(.dark,.dark *):checked{background-color:#2563eb}.dark\\:focus-within\\:ring-blue-500:where(.dark,.dark *):focus-within{--tw-ring-color:var(--color-blue-500)}@media (hover:hover){.dark\\:hover\\:border-red-800:where(.dark,.dark *):hover{border-color:var(--color-red-800)}.dark\\:hover\\:bg-\\[\\#4543e9\\]:where(.dark,.dark *):hover{background-color:#4543e9}.dark\\:hover\\:bg-neutral-700:where(.dark,.dark *):hover{background-color:var(--color-neutral-700)}.dark\\:hover\\:bg-neutral-700\\/30:where(.dark,.dark *):hover{background-color:#4040404d}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-neutral-700\\/30:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-neutral-700)30%,transparent)}}.dark\\:hover\\:bg-neutral-700\\/50:where(.dark,.dark *):hover{background-color:#40404080}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-neutral-700\\/50:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-neutral-700)50%,transparent)}}.dark\\:hover\\:bg-neutral-700\\/80:where(.dark,.dark *):hover{background-color:#404040cc}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-neutral-700\\/80:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-neutral-700)80%,transparent)}}.dark\\:hover\\:bg-neutral-800:where(.dark,.dark *):hover{background-color:var(--color-neutral-800)}.dark\\:hover\\:bg-orange-500:where(.dark,.dark *):hover{background-color:var(--color-orange-500)}.dark\\:hover\\:text-neutral-100:where(.dark,.dark *):hover{color:var(--color-neutral-100)}.dark\\:hover\\:text-neutral-300:where(.dark,.dark *):hover{color:var(--color-neutral-300)}.dark\\:hover\\:text-white:where(.dark,.dark *):hover{color:var(--color-white)}}.dark\\:focus\\:bg-neutral-700:where(.dark,.dark *):focus{background-color:var(--color-neutral-700)}.dark\\:focus\\:text-neutral-50:where(.dark,.dark *):focus{color:var(--color-neutral-50)}.dark\\:focus-visible\\:ring-neutral-400:where(.dark,.dark *):focus-visible{--tw-ring-color:var(--color-neutral-400)}@media (hover:hover){.dark\\:hover\\:enabled\\:border-red-800:where(.dark,.dark *):hover:enabled{border-color:var(--color-red-800)}.dark\\:hover\\:enabled\\:bg-\\[\\#4543e9\\]:where(.dark,.dark *):hover:enabled{background-color:#4543e9}.dark\\:hover\\:enabled\\:bg-neutral-700\\/30:where(.dark,.dark *):hover:enabled{background-color:#4040404d}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:enabled\\:bg-neutral-700\\/30:where(.dark,.dark *):hover:enabled{background-color:color-mix(in oklab,var(--color-neutral-700)30%,transparent)}}.dark\\:hover\\:enabled\\:bg-orange-500:where(.dark,.dark *):hover:enabled{background-color:var(--color-orange-500)}.dark\\:hover\\:enabled\\:text-neutral-100:where(.dark,.dark *):hover:enabled{color:var(--color-neutral-100)}.dark\\:hover\\:enabled\\:text-neutral-300:where(.dark,.dark *):hover:enabled{color:var(--color-neutral-300)}.dark\\:hover\\:enabled\\:text-red-500:where(.dark,.dark *):hover:enabled{color:var(--color-red-500)}}.dark\\:disabled\\:border-neutral-400:where(.dark,.dark *):disabled{border-color:var(--color-neutral-400)}.dark\\:disabled\\:border-red-950:where(.dark,.dark *):disabled{border-color:var(--color-red-950)}.dark\\:disabled\\:bg-\\[\\#9197f3\\]:where(.dark,.dark *):disabled{background-color:#9197f3}.dark\\:disabled\\:text-neutral-600:where(.dark,.dark *):disabled{color:var(--color-neutral-600)}.dark\\:disabled\\:text-neutral-700:where(.dark,.dark *):disabled{color:var(--color-neutral-700)}.dark\\:disabled\\:text-red-800:where(.dark,.dark *):disabled{color:var(--color-red-800)}.dark\\:disabled\\:opacity-40:where(.dark,.dark *):disabled{opacity:.4}.dark\\:disabled\\:opacity-50:where(.dark,.dark *):disabled{opacity:.5}.dark\\:data-focus\\:bg-neutral-700:where(.dark,.dark *)[data-focus]{background-color:var(--color-neutral-700)}.dark\\:data-\\[state\\=checked\\]\\:border-transparent:where(.dark,.dark *)[data-state=checked]{border-color:#0000}.dark\\:data-\\[state\\=checked\\]\\:bg-neutral-600:where(.dark,.dark *)[data-state=checked]{background-color:var(--color-neutral-600)}.dark\\:data-\\[state\\=checked\\]\\:bg-white:where(.dark,.dark *)[data-state=checked]{background-color:var(--color-white)}.dark\\:data-\\[state\\=unchecked\\]\\:bg-neutral-200:where(.dark,.dark *)[data-state=unchecked]{background-color:var(--color-neutral-200)}.dark\\:data-\\[state\\=unchecked\\]\\:bg-neutral-700:where(.dark,.dark *)[data-state=unchecked]{background-color:var(--color-neutral-700)}.\\[\\&_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)}: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)}}@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-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-font-weight{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-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-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}`, Er = typeof window < "u", Sn = xt("devBackend");
|
|
38
|
+
let kt = "8888";
|
|
39
|
+
if (Sn && Er) {
|
|
41
40
|
const e = new URL(location.href).searchParams.get("port");
|
|
42
|
-
e && (
|
|
41
|
+
e && (kt = e);
|
|
43
42
|
}
|
|
44
|
-
const
|
|
45
|
-
apiURI:
|
|
46
|
-
websocketURI:
|
|
43
|
+
const Yt = {
|
|
44
|
+
apiURI: xt("devBackend") ? `http://localhost:${kt}` : "https://api.instantdb.com",
|
|
45
|
+
websocketURI: xt("devBackend") ? `ws://localhost:${kt}/runtime/session` : "wss://api.instantdb.com/runtime/session"
|
|
47
46
|
};
|
|
48
|
-
function
|
|
49
|
-
if (!
|
|
47
|
+
function xt(e) {
|
|
48
|
+
if (!Er)
|
|
50
49
|
return null;
|
|
51
50
|
try {
|
|
52
51
|
const t = localStorage.getItem(e);
|
|
@@ -56,17 +55,17 @@ function kt(e) {
|
|
|
56
55
|
}
|
|
57
56
|
}
|
|
58
57
|
function oe(e) {
|
|
59
|
-
|
|
58
|
+
Nt.success(e, {
|
|
60
59
|
richColors: !0
|
|
61
60
|
});
|
|
62
61
|
}
|
|
63
62
|
function ie(e, t) {
|
|
64
|
-
|
|
63
|
+
Nt.error(e, {
|
|
65
64
|
duration: t?.autoClose,
|
|
66
65
|
richColors: !0
|
|
67
66
|
});
|
|
68
67
|
}
|
|
69
|
-
const
|
|
68
|
+
const It = {
|
|
70
69
|
/**
|
|
71
70
|
* users has_many tags
|
|
72
71
|
* tags has_many users
|
|
@@ -103,26 +102,26 @@ const Ct = {
|
|
|
103
102
|
cardinality: "one",
|
|
104
103
|
"unique?": !1
|
|
105
104
|
}
|
|
106
|
-
},
|
|
107
|
-
Object.entries(
|
|
105
|
+
}, Cr = Object.fromEntries(
|
|
106
|
+
Object.entries(It).map(([e, t]) => [
|
|
108
107
|
`${t.cardinality}-${t["unique?"]}`,
|
|
109
108
|
e
|
|
110
109
|
])
|
|
111
|
-
),
|
|
110
|
+
), Nn = ({
|
|
112
111
|
attr: e,
|
|
113
112
|
gracePeriodDays: t,
|
|
114
113
|
isExpanded: a,
|
|
115
114
|
setIsExpanded: n,
|
|
116
115
|
onRestore: o
|
|
117
116
|
}) => {
|
|
118
|
-
const l =
|
|
117
|
+
const l = gr(new Date(e["deletion-marked-at"]), {
|
|
119
118
|
days: t
|
|
120
119
|
}), i = () => e["forward-identity"][2], g = () => e["reverse-identity"]?.[2], c = () => {
|
|
121
120
|
const s = e["forward-identity"][1], m = e["reverse-identity"]?.[1];
|
|
122
121
|
return { forwardEtype: s, reverseEtype: m };
|
|
123
122
|
}, p = () => {
|
|
124
123
|
const s = `${e.cardinality}-${e["unique?"]}`;
|
|
125
|
-
return
|
|
124
|
+
return Cr[s];
|
|
126
125
|
}, f = () => {
|
|
127
126
|
n(!a);
|
|
128
127
|
}, d = (() => {
|
|
@@ -163,11 +162,11 @@ const Ct = {
|
|
|
163
162
|
onClick: f,
|
|
164
163
|
children: [
|
|
165
164
|
/* @__PURE__ */ h("div", { className: "flex items-center gap-3", children: [
|
|
166
|
-
a ? /* @__PURE__ */ r(
|
|
165
|
+
a ? /* @__PURE__ */ r(Et, { width: 14, className: "text-gray-400" }) : /* @__PURE__ */ r(ba, { width: 14, className: "text-gray-400" }),
|
|
167
166
|
/* @__PURE__ */ r("span", { className: "font-mono text-sm font-medium", children: e["forward-identity"][2] }),
|
|
168
167
|
/* @__PURE__ */ h("span", { className: "font-mono text-xs text-gray-400", children: [
|
|
169
168
|
"expires ",
|
|
170
|
-
|
|
169
|
+
hr(l, { includeSeconds: !1 })
|
|
171
170
|
] })
|
|
172
171
|
] }),
|
|
173
172
|
/* @__PURE__ */ h(
|
|
@@ -180,7 +179,7 @@ const Ct = {
|
|
|
180
179
|
s.stopPropagation(), o(e.id);
|
|
181
180
|
},
|
|
182
181
|
children: [
|
|
183
|
-
/* @__PURE__ */ r(
|
|
182
|
+
/* @__PURE__ */ r(wa, { width: 14 }),
|
|
184
183
|
"Restore"
|
|
185
184
|
]
|
|
186
185
|
}
|
|
@@ -200,9 +199,9 @@ const Ct = {
|
|
|
200
199
|
s.label
|
|
201
200
|
)) }) }) })
|
|
202
201
|
] });
|
|
203
|
-
},
|
|
202
|
+
}, At = (e) => {
|
|
204
203
|
const t = de(), a = t.adminToken;
|
|
205
|
-
return
|
|
204
|
+
return _a(["recently-deleted", e], async () => {
|
|
206
205
|
const o = await fetch(
|
|
207
206
|
`${t.apiURI}/dash/apps/${e}/soft_deleted_attrs`,
|
|
208
207
|
{
|
|
@@ -218,12 +217,12 @@ const Ct = {
|
|
|
218
217
|
);
|
|
219
218
|
return {
|
|
220
219
|
...l,
|
|
221
|
-
attrs: l.attrs.map(
|
|
220
|
+
attrs: l.attrs.map(In)
|
|
222
221
|
};
|
|
223
222
|
});
|
|
224
|
-
},
|
|
225
|
-
const { data: t } =
|
|
226
|
-
return
|
|
223
|
+
}, Ir = (e) => {
|
|
224
|
+
const { data: t } = At(e);
|
|
225
|
+
return le(() => {
|
|
227
226
|
const n = t?.attrs || [];
|
|
228
227
|
return n.filter((i) => i["forward-identity"][2] === "id").map((i) => {
|
|
229
228
|
const g = n.filter(
|
|
@@ -233,11 +232,11 @@ const Ct = {
|
|
|
233
232
|
});
|
|
234
233
|
}, [t?.attrs]);
|
|
235
234
|
};
|
|
236
|
-
function
|
|
235
|
+
function En({
|
|
237
236
|
appId: e,
|
|
238
237
|
db: t
|
|
239
238
|
}) {
|
|
240
|
-
const { data: a, mutate: n } =
|
|
239
|
+
const { data: a, mutate: n } = At(e), o = Ir(e), l = a?.["grace-period-days"] || 2, i = async ({ idAttr: g, remainingCols: c }) => {
|
|
241
240
|
if (!t || !a) return;
|
|
242
241
|
const p = [g, ...c].map((d) => d.id);
|
|
243
242
|
await t.core._reactor.pushOps(
|
|
@@ -254,7 +253,7 @@ function Cn({
|
|
|
254
253
|
o.length ? /* @__PURE__ */ r("div", { className: "flex flex-col gap-2", children: o.toSorted((g, c) => +new Date(c.idAttr["deletion-marked-at"]) - +new Date(g.idAttr["deletion-marked-at"])).map((g) => {
|
|
255
254
|
const c = new Date(
|
|
256
255
|
g.idAttr["deletion-marked-at"]
|
|
257
|
-
), p =
|
|
256
|
+
), p = gr(c, {
|
|
258
257
|
days: l
|
|
259
258
|
});
|
|
260
259
|
return /* @__PURE__ */ h(
|
|
@@ -266,12 +265,12 @@ function Cn({
|
|
|
266
265
|
/* @__PURE__ */ r("div", { className: "font-semibold dark:text-white", children: g.idAttr["forward-identity"][1] }),
|
|
267
266
|
/* @__PURE__ */ h("div", { className: "mt-1 text-xs text-neutral-500 dark:text-neutral-400", children: [
|
|
268
267
|
"Deleted ",
|
|
269
|
-
|
|
268
|
+
$a(c, "MMM d, h:mm a"),
|
|
270
269
|
" ·",
|
|
271
270
|
" ",
|
|
272
271
|
"expires",
|
|
273
272
|
" ",
|
|
274
|
-
|
|
273
|
+
hr(p, {
|
|
275
274
|
includeSeconds: !1
|
|
276
275
|
})
|
|
277
276
|
] }),
|
|
@@ -288,7 +287,7 @@ function Cn({
|
|
|
288
287
|
variant: "secondary",
|
|
289
288
|
onClick: () => i(g),
|
|
290
289
|
children: [
|
|
291
|
-
/* @__PURE__ */ r(
|
|
290
|
+
/* @__PURE__ */ r(va, { className: "h-3.5 w-3.5" }),
|
|
292
291
|
"Restore"
|
|
293
292
|
]
|
|
294
293
|
}
|
|
@@ -300,8 +299,8 @@ function Cn({
|
|
|
300
299
|
}) }) : /* @__PURE__ */ r("p", { className: "text-sm text-neutral-500 dark:text-neutral-400", children: "No recently deleted namespaces." })
|
|
301
300
|
] });
|
|
302
301
|
}
|
|
303
|
-
const
|
|
304
|
-
const { data: o, mutate: l, error: i } =
|
|
302
|
+
const Cn = ({ namespace: e, appId: t, db: a, notes: n }) => {
|
|
303
|
+
const { data: o, mutate: l, error: i } = At(t), [g, c] = C(null), p = st(), f = async (s) => {
|
|
305
304
|
if (a && o)
|
|
306
305
|
try {
|
|
307
306
|
await a.core._reactor.pushOps([["restore-attr", s]]), l({
|
|
@@ -310,11 +309,11 @@ const In = ({ namespace: e, appId: t, db: a, notes: n }) => {
|
|
|
310
309
|
});
|
|
311
310
|
const m = o.attrs.find((b) => b.id === s);
|
|
312
311
|
if (m) {
|
|
313
|
-
const b =
|
|
312
|
+
const b = An(m);
|
|
314
313
|
b && n.setNote(s, b);
|
|
315
314
|
}
|
|
316
315
|
} catch (m) {
|
|
317
|
-
console.error(m), m instanceof
|
|
316
|
+
console.error(m), m instanceof Da ? m.body?.type === "record-not-unique" ? ie(
|
|
318
317
|
"Attribute already exists. Rename existing attribute first and then try again to restore."
|
|
319
318
|
) : ie(m.message) : ie("Failed to restore attr");
|
|
320
319
|
}
|
|
@@ -324,12 +323,12 @@ const In = ({ namespace: e, appId: t, db: a, notes: n }) => {
|
|
|
324
323
|
return H(() => {
|
|
325
324
|
u?.length === 0 && p.onClose();
|
|
326
325
|
}, [u]), i || !u || u.length === 0 ? null : /* @__PURE__ */ h("div", { className: "pb-2", children: [
|
|
327
|
-
/* @__PURE__ */ r(
|
|
328
|
-
/* @__PURE__ */ r(
|
|
326
|
+
/* @__PURE__ */ r(ft, { className: "pb-2", children: /* @__PURE__ */ h("div", { className: "flex w-full grow items-center justify-center gap-2 text-center opacity-60", children: [
|
|
327
|
+
/* @__PURE__ */ r(cr, { width: 16 }),
|
|
329
328
|
"Recently Deleted"
|
|
330
329
|
] }) }),
|
|
331
330
|
/* @__PURE__ */ r("div", { className: "flex flex-col gap-2", children: u?.map((s) => /* @__PURE__ */ r(
|
|
332
|
-
|
|
331
|
+
Nn,
|
|
333
332
|
{
|
|
334
333
|
isExpanded: g === s.id,
|
|
335
334
|
setIsExpanded: (m) => {
|
|
@@ -342,26 +341,26 @@ const In = ({ namespace: e, appId: t, db: a, notes: n }) => {
|
|
|
342
341
|
s.id
|
|
343
342
|
)) })
|
|
344
343
|
] });
|
|
345
|
-
},
|
|
344
|
+
}, Kt = "_deleted$", In = (e) => {
|
|
346
345
|
const t = { ...e }, [a, n, o] = e["forward-identity"];
|
|
347
346
|
if (t["forward-identity"] = [
|
|
348
347
|
a,
|
|
349
|
-
|
|
350
|
-
|
|
348
|
+
at(n),
|
|
349
|
+
at(o)
|
|
351
350
|
], e["reverse-identity"]) {
|
|
352
351
|
const [l, i, g] = e["reverse-identity"];
|
|
353
352
|
t["reverse-identity"] = [
|
|
354
353
|
l,
|
|
355
|
-
|
|
356
|
-
|
|
354
|
+
at(i),
|
|
355
|
+
at(g)
|
|
357
356
|
];
|
|
358
357
|
}
|
|
359
358
|
return t;
|
|
360
|
-
},
|
|
361
|
-
const t = e.indexOf(
|
|
362
|
-
return t === -1 ? e : e.slice(t +
|
|
363
|
-
},
|
|
364
|
-
function
|
|
359
|
+
}, at = (e) => {
|
|
360
|
+
const t = e.indexOf(Kt);
|
|
361
|
+
return t === -1 ? e : e.slice(t + Kt.length);
|
|
362
|
+
}, An = (e) => e && e?.metadata?.soft_delete_snapshot ? e.metadata.soft_delete_snapshot.is_indexed && e.metadata.soft_delete_snapshot.is_required ? "Index and required constraints were dropped after restoring" : e.metadata.soft_delete_snapshot.is_indexed ? "Indexed constraint was dropped after restoring" : e.metadata.soft_delete_snapshot.is_required ? "Required constraint was dropped after restoring" : null : null;
|
|
363
|
+
function Rn({
|
|
365
364
|
db: e,
|
|
366
365
|
onClose: t
|
|
367
366
|
}) {
|
|
@@ -401,20 +400,20 @@ function Tn({
|
|
|
401
400
|
)
|
|
402
401
|
] });
|
|
403
402
|
}
|
|
404
|
-
const
|
|
403
|
+
const Tn = [
|
|
405
404
|
// Exclude computed fields
|
|
406
405
|
["$files", "url"]
|
|
407
|
-
],
|
|
408
|
-
function
|
|
406
|
+
], Xt = [":", ">", "<"];
|
|
407
|
+
function On(e) {
|
|
409
408
|
let t = 0, a, n;
|
|
410
409
|
const o = [];
|
|
411
410
|
let l = -1;
|
|
412
411
|
for (const i of e) {
|
|
413
|
-
if (l++, i === " " && !
|
|
412
|
+
if (l++, i === " " && !Xt.includes(e[l + 1])) {
|
|
414
413
|
t = l + 1;
|
|
415
414
|
continue;
|
|
416
415
|
}
|
|
417
|
-
if (
|
|
416
|
+
if (Xt.includes(i)) {
|
|
418
417
|
a && n != null && (a.value = e.substring(n, t).trim(), o.push(a)), a = {
|
|
419
418
|
field: e.substring(t, l).trim(),
|
|
420
419
|
operator: i,
|
|
@@ -437,14 +436,14 @@ function Be(e) {
|
|
|
437
436
|
throw new Error("what kind of op is this? " + e);
|
|
438
437
|
}
|
|
439
438
|
}
|
|
440
|
-
function
|
|
439
|
+
function _n({
|
|
441
440
|
query: e,
|
|
442
441
|
attrsByName: t,
|
|
443
442
|
stringIndexed: a
|
|
444
443
|
}) {
|
|
445
444
|
if (!e.trim())
|
|
446
445
|
return [];
|
|
447
|
-
const n =
|
|
446
|
+
const n = On(e), o = n.flatMap(
|
|
448
447
|
(l) => {
|
|
449
448
|
const i = t[l.field];
|
|
450
449
|
if (!i || !l.value)
|
|
@@ -518,7 +517,7 @@ function Dn({
|
|
|
518
517
|
]);
|
|
519
518
|
return o;
|
|
520
519
|
}
|
|
521
|
-
function
|
|
520
|
+
function Dn(e, t) {
|
|
522
521
|
if (t.length === e.length) {
|
|
523
522
|
for (let a = 0; a < t.length; a++)
|
|
524
523
|
for (let n = 0; n < 3; n++)
|
|
@@ -528,24 +527,24 @@ function Ln(e, t) {
|
|
|
528
527
|
}
|
|
529
528
|
return !1;
|
|
530
529
|
}
|
|
531
|
-
function
|
|
530
|
+
function Ln({
|
|
532
531
|
onSearchChange: e,
|
|
533
532
|
attrs: t,
|
|
534
533
|
initialFilters: a = []
|
|
535
534
|
}) {
|
|
536
|
-
const [n, o] = C(""), l = X(a), { attrsByName: i, stringIndexed: g } =
|
|
535
|
+
const [n, o] = C(""), l = X(a), { attrsByName: i, stringIndexed: g } = le(() => {
|
|
537
536
|
const s = {}, m = [];
|
|
538
537
|
for (const b of t || [])
|
|
539
538
|
s[b.name] = b, b.isIndex && b.checkedDataType === "string" && m.push(b);
|
|
540
539
|
return { attrsByName: s, stringIndexed: m };
|
|
541
|
-
}, [t]), c =
|
|
542
|
-
|
|
543
|
-
const m =
|
|
544
|
-
|
|
540
|
+
}, [t]), c = ot(
|
|
541
|
+
wn((s) => {
|
|
542
|
+
const m = _n({ query: s, attrsByName: i, stringIndexed: g });
|
|
543
|
+
Dn(l.current, m) || (l.current = m, e(m));
|
|
545
544
|
}, 80),
|
|
546
545
|
[i, g, l]
|
|
547
|
-
), p = n.indexOf(":") !== -1 ?
|
|
548
|
-
const m =
|
|
546
|
+
), p = n.indexOf(":") !== -1 ? vn(n.split(" ")) : n, f = (t || []).flatMap((s) => {
|
|
547
|
+
const m = Tn.some(
|
|
549
548
|
([v, k]) => v === s.namespace && k === s.name
|
|
550
549
|
);
|
|
551
550
|
if (s.type === "ref" || m)
|
|
@@ -573,7 +572,7 @@ function Fn({
|
|
|
573
572
|
return H(() => {
|
|
574
573
|
a.length > 0 && !n && o(a.map((s) => `${s[0]}:${s[2]}`).join(" "));
|
|
575
574
|
}, [a]), /* @__PURE__ */ h(
|
|
576
|
-
|
|
575
|
+
vr,
|
|
577
576
|
{
|
|
578
577
|
value: n,
|
|
579
578
|
onChange: (s) => {
|
|
@@ -582,7 +581,7 @@ function Fn({
|
|
|
582
581
|
immediate: !0,
|
|
583
582
|
children: [
|
|
584
583
|
/* @__PURE__ */ r(
|
|
585
|
-
|
|
584
|
+
yr,
|
|
586
585
|
{
|
|
587
586
|
size: 32,
|
|
588
587
|
className: "rounded-md border border-neutral-300 px-3 py-2 text-sm dark:border-neutral-700 dark:bg-neutral-800 dark:text-white dark:placeholder:text-neutral-500",
|
|
@@ -601,13 +600,13 @@ function Fn({
|
|
|
601
600
|
}
|
|
602
601
|
),
|
|
603
602
|
/* @__PURE__ */ r(
|
|
604
|
-
|
|
603
|
+
kr,
|
|
605
604
|
{
|
|
606
605
|
anchor: "bottom start",
|
|
607
606
|
modal: !1,
|
|
608
607
|
className: "z-10 mt-1 w-(--input-width) divide-y overflow-auto rounded-md border border-neutral-300 bg-white shadow-lg dark:divide-neutral-700 dark:border-neutral-700 dark:bg-neutral-800",
|
|
609
608
|
children: f.map((s, m) => /* @__PURE__ */ r(
|
|
610
|
-
|
|
609
|
+
xr,
|
|
611
610
|
{
|
|
612
611
|
value: s.display,
|
|
613
612
|
className: O(
|
|
@@ -624,14 +623,14 @@ function Fn({
|
|
|
624
623
|
}
|
|
625
624
|
);
|
|
626
625
|
}
|
|
627
|
-
function
|
|
626
|
+
function Fn(e) {
|
|
628
627
|
const [, t, a] = e["forward-identity"];
|
|
629
628
|
return e.catalog !== "system" || t === "$users" || t === "$files";
|
|
630
629
|
}
|
|
631
|
-
function
|
|
630
|
+
function $n(e) {
|
|
632
631
|
const t = {}, a = {};
|
|
633
632
|
for (const [o, l] of Object.entries(e))
|
|
634
|
-
|
|
633
|
+
Fn(l) && (a[o] = l);
|
|
635
634
|
for (const o of Object.values(a)) {
|
|
636
635
|
const [, l] = o["forward-identity"];
|
|
637
636
|
t[l] || (t[l] = { id: l, name: l, attrs: {} });
|
|
@@ -699,13 +698,13 @@ function zn(e) {
|
|
|
699
698
|
}
|
|
700
699
|
return Object.values(t).map((o) => ({
|
|
701
700
|
...o,
|
|
702
|
-
attrs: Object.values(o.attrs).sort(
|
|
703
|
-
})).sort(
|
|
701
|
+
attrs: Object.values(o.attrs).sort(Zt)
|
|
702
|
+
})).sort(Zt);
|
|
704
703
|
}
|
|
705
|
-
function
|
|
704
|
+
function Zt(e, t) {
|
|
706
705
|
return e.name === "id" ? -1 : t.name === "id" ? 1 : e.name < t.name ? -1 : e.name > t.name ? 1 : 0;
|
|
707
706
|
}
|
|
708
|
-
function
|
|
707
|
+
function zn(e, t) {
|
|
709
708
|
const a = {};
|
|
710
709
|
return e && (a[e[0]] = e[1]), t?.length && (a.or = t.map(([n, o, l]) => {
|
|
711
710
|
switch (o) {
|
|
@@ -718,8 +717,8 @@ function jn(e, t) {
|
|
|
718
717
|
}
|
|
719
718
|
})), a;
|
|
720
719
|
}
|
|
721
|
-
function
|
|
722
|
-
const c = g ? "asc" : "desc", p =
|
|
720
|
+
function jn(e, t, a, n, o, l, i, g) {
|
|
721
|
+
const c = g ? "asc" : "desc", p = zn(a, n), f = t ? {
|
|
723
722
|
[t.name]: {
|
|
724
723
|
...Object.fromEntries(
|
|
725
724
|
t.attrs.filter((m) => m.type === "ref").map((m) => [m.name, { $: { fields: ["id"] } }])
|
|
@@ -746,19 +745,19 @@ function Mn(e, t, a, n, o, l, i, g) {
|
|
|
746
745
|
allCount: s
|
|
747
746
|
};
|
|
748
747
|
}
|
|
749
|
-
function
|
|
748
|
+
function Mn(e) {
|
|
750
749
|
const [t, a] = C({ namespaces: null, attrs: null });
|
|
751
750
|
return e.useQuery({ ____explorer___: {} }), H(() => {
|
|
752
751
|
function n(o) {
|
|
753
752
|
a({
|
|
754
753
|
attrs: o,
|
|
755
|
-
namespaces:
|
|
754
|
+
namespaces: $n(o)
|
|
756
755
|
});
|
|
757
756
|
}
|
|
758
757
|
return e._core._reactor.subscribeAttrs(n);
|
|
759
758
|
}, [e]), t;
|
|
760
759
|
}
|
|
761
|
-
const
|
|
760
|
+
const Qt = (e) => {
|
|
762
761
|
const t = localStorage.getItem(`columnVisibility_${e}`);
|
|
763
762
|
if (!t)
|
|
764
763
|
return {};
|
|
@@ -767,9 +766,9 @@ const Zt = (e) => {
|
|
|
767
766
|
} catch (a) {
|
|
768
767
|
return console.error("Failed to parse column visibility", a), {};
|
|
769
768
|
}
|
|
770
|
-
},
|
|
769
|
+
}, Bn = (e) => {
|
|
771
770
|
const [t, a] = C(
|
|
772
|
-
|
|
771
|
+
Qt(e.appId)
|
|
773
772
|
);
|
|
774
773
|
return H(() => {
|
|
775
774
|
localStorage.setItem(
|
|
@@ -777,10 +776,10 @@ const Zt = (e) => {
|
|
|
777
776
|
JSON.stringify(t)
|
|
778
777
|
);
|
|
779
778
|
}, [e.appId, t]), H(() => {
|
|
780
|
-
a(
|
|
779
|
+
a(Qt(e.appId));
|
|
781
780
|
}, [e.appId]), { visibility: t, setVisibility: a, attrs: e.attrs };
|
|
782
781
|
};
|
|
783
|
-
function
|
|
782
|
+
function Jt(e) {
|
|
784
783
|
if (typeof window > "u") return;
|
|
785
784
|
let t = window.localStorage.getItem(e);
|
|
786
785
|
if (t)
|
|
@@ -789,7 +788,7 @@ function Qt(e) {
|
|
|
789
788
|
} catch {
|
|
790
789
|
}
|
|
791
790
|
}
|
|
792
|
-
function
|
|
791
|
+
function Un(e, t) {
|
|
793
792
|
if (typeof window > "u")
|
|
794
793
|
throw new Error("useLocalStorage/setState needs to run on the client");
|
|
795
794
|
const a = JSON.stringify(t);
|
|
@@ -803,22 +802,22 @@ function Pn(e, t) {
|
|
|
803
802
|
new StorageEvent("storage", { key: e, newValue: a })
|
|
804
803
|
);
|
|
805
804
|
}
|
|
806
|
-
function
|
|
807
|
-
const a = X(
|
|
805
|
+
function Pn(e, t) {
|
|
806
|
+
const a = X(Jt(e) || t), n = ot((l) => {
|
|
808
807
|
const i = () => {
|
|
809
|
-
a.current =
|
|
808
|
+
a.current = Jt(e) || t, l();
|
|
810
809
|
};
|
|
811
810
|
return window.addEventListener("storage", i), () => {
|
|
812
811
|
window.removeEventListener("storage", i);
|
|
813
812
|
};
|
|
814
813
|
}, []);
|
|
815
|
-
return [
|
|
814
|
+
return [ga(
|
|
816
815
|
n,
|
|
817
816
|
() => a.current,
|
|
818
817
|
() => t
|
|
819
|
-
), (l) =>
|
|
818
|
+
), (l) => Un(e, l)];
|
|
820
819
|
}
|
|
821
|
-
function
|
|
820
|
+
function qn(e) {
|
|
822
821
|
const t = ["bytes", "kb", "mb", "gb", "tb", "pb", "eb", "zb", "yb"];
|
|
823
822
|
let a = 0;
|
|
824
823
|
if (!e) return "0 bytes";
|
|
@@ -826,7 +825,7 @@ function Gn(e) {
|
|
|
826
825
|
e /= 1024, a++;
|
|
827
826
|
return e.toFixed(2) + " " + t[a];
|
|
828
827
|
}
|
|
829
|
-
const
|
|
828
|
+
const Gn = (e, t) => {
|
|
830
829
|
const a = document.querySelector(`.th-${e}`);
|
|
831
830
|
if (!a)
|
|
832
831
|
throw new Error(`Element with class th-${e} not found`);
|
|
@@ -846,9 +845,9 @@ const Hn = (e, t) => {
|
|
|
846
845
|
document.body.removeChild(o);
|
|
847
846
|
}
|
|
848
847
|
};
|
|
849
|
-
function
|
|
848
|
+
function Hn() {
|
|
850
849
|
const e = X(null), [t, a] = C(!1);
|
|
851
|
-
return
|
|
850
|
+
return yt(() => {
|
|
852
851
|
const { current: n } = e;
|
|
853
852
|
n && (() => {
|
|
854
853
|
const l = n.scrollWidth > n.clientWidth || n.scrollHeight > n.clientHeight;
|
|
@@ -856,7 +855,7 @@ function Wn() {
|
|
|
856
855
|
})();
|
|
857
856
|
}, [e]), { ref: e, isOverflow: t, setIsOverflow: a };
|
|
858
857
|
}
|
|
859
|
-
const
|
|
858
|
+
const Wn = ({
|
|
860
859
|
header: e,
|
|
861
860
|
table: t,
|
|
862
861
|
headerGroup: a,
|
|
@@ -873,13 +872,13 @@ const Vn = ({
|
|
|
873
872
|
listeners: d,
|
|
874
873
|
setNodeRef: u,
|
|
875
874
|
transform: s
|
|
876
|
-
} =
|
|
875
|
+
} = wr({
|
|
877
876
|
id: e.column.id,
|
|
878
877
|
disabled: e.id === "select-col"
|
|
879
878
|
}), m = {
|
|
880
879
|
opacity: f ? 0.8 : 1,
|
|
881
880
|
position: "relative",
|
|
882
|
-
transform: e.id === "select-col" ? void 0 :
|
|
881
|
+
transform: e.id === "select-col" ? void 0 : Sr.Translate.toString(s),
|
|
883
882
|
// translate instead of transform to avoid squishing
|
|
884
883
|
transition: "width transform 0.2s ease-in-out",
|
|
885
884
|
whiteSpace: "nowrap",
|
|
@@ -921,7 +920,7 @@ const Vn = ({
|
|
|
921
920
|
l && l(v === "id" ? "serverCreatedAt" : v, i, g);
|
|
922
921
|
},
|
|
923
922
|
children: [
|
|
924
|
-
/* @__PURE__ */ r("span", { className: O(k && "underline"), children: e.isPlaceholder ? null :
|
|
923
|
+
/* @__PURE__ */ r("span", { className: O(k && "underline"), children: e.isPlaceholder ? null : lt(
|
|
925
924
|
e.column.columnDef.header,
|
|
926
925
|
e.getContext()
|
|
927
926
|
) }),
|
|
@@ -933,12 +932,12 @@ const Vn = ({
|
|
|
933
932
|
opacity: k ? 1 : void 0,
|
|
934
933
|
fontWeight: k ? "bold" : "normal"
|
|
935
934
|
},
|
|
936
|
-
children: k ? g ? /* @__PURE__ */ r(
|
|
935
|
+
children: k ? g ? /* @__PURE__ */ r(ya, { strokeWidth: 3, width: 10 }) : /* @__PURE__ */ r(ka, { strokeWidth: 3, width: 10 }) : /* @__PURE__ */ r(xa, { strokeWidth: 3, width: 10 })
|
|
937
936
|
}
|
|
938
937
|
)
|
|
939
938
|
]
|
|
940
939
|
}
|
|
941
|
-
) : /* @__PURE__ */ r(M, { children: e.isPlaceholder ? null :
|
|
940
|
+
) : /* @__PURE__ */ r(M, { children: e.isPlaceholder ? null : lt(
|
|
942
941
|
e.column.columnDef.header,
|
|
943
942
|
e.getContext()
|
|
944
943
|
) })
|
|
@@ -967,11 +966,11 @@ const Vn = ({
|
|
|
967
966
|
},
|
|
968
967
|
e.id
|
|
969
968
|
);
|
|
970
|
-
},
|
|
971
|
-
const t = e.column.getIsResizing(), { history: a } =
|
|
969
|
+
}, Vn = ({ cell: e }) => {
|
|
970
|
+
const t = e.column.getIsResizing(), { history: a } = ut(), n = e.column.columnDef.meta, { isDragging: o, setNodeRef: l, transform: i } = wr({
|
|
972
971
|
id: e.column.id,
|
|
973
972
|
disabled: e.column.id === "select-col"
|
|
974
|
-
}), [g, c] = C(!1), { ref: p, isOverflow: f, setIsOverflow: d } =
|
|
973
|
+
}), [g, c] = C(!1), { ref: p, isOverflow: f, setIsOverflow: d } = Hn(), u = (f || Ne(e.getValue())) && !n?.isLink;
|
|
975
974
|
H(() => {
|
|
976
975
|
const w = new ResizeObserver(() => {
|
|
977
976
|
const v = p.current.scrollWidth > p.current.clientWidth || p.current.scrollHeight > p.current.clientHeight;
|
|
@@ -984,15 +983,15 @@ const Vn = ({
|
|
|
984
983
|
const s = {
|
|
985
984
|
opacity: o ? 0.8 : 1,
|
|
986
985
|
position: "relative",
|
|
987
|
-
transform: e.column.id === "select-col" ? void 0 :
|
|
986
|
+
transform: e.column.id === "select-col" ? void 0 : Sr.Translate.toString(i),
|
|
988
987
|
// translate instead of transform to avoid squishing
|
|
989
988
|
transition: "width transform 0.2s ease-in-out",
|
|
990
989
|
width: e.column.getSize(),
|
|
991
990
|
zIndex: o ? 1 : 0
|
|
992
991
|
}, m = n?.disablePadding ?? !1, b = e.getValue();
|
|
993
|
-
return /* @__PURE__ */ h(
|
|
992
|
+
return /* @__PURE__ */ h(Ze, { children: [
|
|
994
993
|
" ",
|
|
995
|
-
/* @__PURE__ */ r(
|
|
994
|
+
/* @__PURE__ */ r(Qe, { className: "text-left", asChild: !0, children: /* @__PURE__ */ r(
|
|
996
995
|
"div",
|
|
997
996
|
{
|
|
998
997
|
ref: (w) => {
|
|
@@ -1002,7 +1001,7 @@ const Vn = ({
|
|
|
1002
1001
|
...s,
|
|
1003
1002
|
padding: m ? 0 : "0.5rem"
|
|
1004
1003
|
},
|
|
1005
|
-
className: O("cursor-default truncate whitespace-nowrap
|
|
1004
|
+
className: O("cursor-default truncate whitespace-nowrap"),
|
|
1006
1005
|
children: /* @__PURE__ */ r(
|
|
1007
1006
|
"span",
|
|
1008
1007
|
{
|
|
@@ -1021,31 +1020,31 @@ const Vn = ({
|
|
|
1021
1020
|
return;
|
|
1022
1021
|
}
|
|
1023
1022
|
}
|
|
1024
|
-
n?.copyable &&
|
|
1023
|
+
n?.copyable && We(Ar(b)) && (c(!0), setTimeout(() => c(!1), 1e3));
|
|
1025
1024
|
},
|
|
1026
|
-
children: g ? /* @__PURE__ */ r("div", { className: "h-1", children: "Copied!" }) :
|
|
1025
|
+
children: g ? /* @__PURE__ */ r("div", { className: "h-1", children: "Copied!" }) : lt(e.column.columnDef.cell, e.getContext())
|
|
1027
1026
|
}
|
|
1028
1027
|
)
|
|
1029
1028
|
},
|
|
1030
1029
|
e.id
|
|
1031
1030
|
) }),
|
|
1032
1031
|
u && !t && /* @__PURE__ */ r(
|
|
1033
|
-
|
|
1032
|
+
Je,
|
|
1034
1033
|
{
|
|
1035
1034
|
className: O(Ne(b) && "p-0"),
|
|
1036
1035
|
side: "bottom",
|
|
1037
|
-
children: typeof b == "string" ?
|
|
1036
|
+
children: typeof b == "string" ? lt(e.column.columnDef.cell, e.getContext()) : /* @__PURE__ */ r(Yn, { pretty: !0, data: b })
|
|
1038
1037
|
}
|
|
1039
1038
|
)
|
|
1040
1039
|
] });
|
|
1041
1040
|
};
|
|
1042
|
-
function
|
|
1041
|
+
function Ar(e, t) {
|
|
1043
1042
|
return Ne(e) ? JSON.stringify(e, null, t ? 2 : void 0) : String(e);
|
|
1044
1043
|
}
|
|
1045
|
-
function
|
|
1046
|
-
const a =
|
|
1044
|
+
function Yn({ data: e, pretty: t }) {
|
|
1045
|
+
const a = Ar(e, t), n = de();
|
|
1047
1046
|
return t && Ne(e) ? /* @__PURE__ */ r(
|
|
1048
|
-
|
|
1047
|
+
Lt,
|
|
1049
1048
|
{
|
|
1050
1049
|
darkMode: n.darkMode,
|
|
1051
1050
|
code: a,
|
|
@@ -1053,7 +1052,7 @@ function Kn({ data: e, pretty: t }) {
|
|
|
1053
1052
|
}
|
|
1054
1053
|
) : /* @__PURE__ */ r(M, { children: a });
|
|
1055
1054
|
}
|
|
1056
|
-
const
|
|
1055
|
+
const Kn = ({
|
|
1057
1056
|
visiblity: e,
|
|
1058
1057
|
localDates: t,
|
|
1059
1058
|
setLocalDates: a
|
|
@@ -1061,9 +1060,9 @@ const Xn = ({
|
|
|
1061
1060
|
const [n, o] = C(!1);
|
|
1062
1061
|
return /* @__PURE__ */ h(M, { children: [
|
|
1063
1062
|
/* @__PURE__ */ r(
|
|
1064
|
-
|
|
1063
|
+
ht,
|
|
1065
1064
|
{
|
|
1066
|
-
icon: /* @__PURE__ */ r(
|
|
1065
|
+
icon: /* @__PURE__ */ r(Sa, { width: 16 }),
|
|
1067
1066
|
label: "View Settings",
|
|
1068
1067
|
onClick: () => o(!0)
|
|
1069
1068
|
}
|
|
@@ -1078,7 +1077,7 @@ const Xn = ({
|
|
|
1078
1077
|
children: [
|
|
1079
1078
|
/* @__PURE__ */ h("div", { className: "flex items-center justify-between", children: [
|
|
1080
1079
|
/* @__PURE__ */ r("div", { className: "text-lg", children: "Explorer View Settings" }),
|
|
1081
|
-
/* @__PURE__ */ r("button", { onClick: () => o(!1), children: /* @__PURE__ */ r(
|
|
1080
|
+
/* @__PURE__ */ r("button", { onClick: () => o(!1), children: /* @__PURE__ */ r(ur, { className: "h-4 w-4 cursor-pointer" }) })
|
|
1082
1081
|
] }),
|
|
1083
1082
|
/* @__PURE__ */ h("div", { className: "py-2", children: [
|
|
1084
1083
|
/* @__PURE__ */ r("div", { children: "Visible Columns" }),
|
|
@@ -1094,11 +1093,11 @@ const Xn = ({
|
|
|
1094
1093
|
}
|
|
1095
1094
|
) }, l.id + l.name)) })
|
|
1096
1095
|
] }),
|
|
1097
|
-
/* @__PURE__ */ r(
|
|
1096
|
+
/* @__PURE__ */ r(ft, { className: "py-2" }),
|
|
1098
1097
|
/* @__PURE__ */ h("div", { className: "flex items-center gap-2", children: [
|
|
1099
1098
|
/* @__PURE__ */ r("div", { children: "Show Dates in Local Time" }),
|
|
1100
1099
|
/* @__PURE__ */ r(
|
|
1101
|
-
|
|
1100
|
+
Yr,
|
|
1102
1101
|
{
|
|
1103
1102
|
onClick: (l) => {
|
|
1104
1103
|
a(!t);
|
|
@@ -1113,7 +1112,7 @@ const Xn = ({
|
|
|
1113
1112
|
)
|
|
1114
1113
|
] });
|
|
1115
1114
|
};
|
|
1116
|
-
async function
|
|
1115
|
+
async function Xn({
|
|
1117
1116
|
appId: e,
|
|
1118
1117
|
attrId: t,
|
|
1119
1118
|
jobType: a,
|
|
@@ -1134,7 +1133,7 @@ async function Zn({
|
|
|
1134
1133
|
})
|
|
1135
1134
|
})).json()).job;
|
|
1136
1135
|
}
|
|
1137
|
-
function
|
|
1136
|
+
function Rr(e, t, a, n) {
|
|
1138
1137
|
let o = !1, l = !1, i = 20, g = null;
|
|
1139
1138
|
const c = (f) => {
|
|
1140
1139
|
if (f !== g)
|
|
@@ -1168,7 +1167,7 @@ function me(e) {
|
|
|
1168
1167
|
function be(e) {
|
|
1169
1168
|
return e.job_status === "completed" || e.job_status === "errored";
|
|
1170
1169
|
}
|
|
1171
|
-
const
|
|
1170
|
+
const Zn = ({
|
|
1172
1171
|
attr: e,
|
|
1173
1172
|
appId: t,
|
|
1174
1173
|
isRequired: a,
|
|
@@ -1218,7 +1217,7 @@ const Qn = ({
|
|
|
1218
1217
|
}
|
|
1219
1218
|
)).json();
|
|
1220
1219
|
f((L) => ({ ...L, [k]: P.job })), c((L) => ({ ...L, [k]: void 0 })), b(!1);
|
|
1221
|
-
const B =
|
|
1220
|
+
const B = Rr(
|
|
1222
1221
|
t,
|
|
1223
1222
|
P.job.id,
|
|
1224
1223
|
i,
|
|
@@ -1236,7 +1235,7 @@ const Qn = ({
|
|
|
1236
1235
|
}
|
|
1237
1236
|
}), B.stop();
|
|
1238
1237
|
}));
|
|
1239
|
-
}, v =
|
|
1238
|
+
}, v = le(() => Object.values(d).filter((k) => k > 0 && k < 100).reduce((k, x) => k + x, 0) / Object.values(d).filter((k) => k > 0 && k < 100).length, [d]);
|
|
1240
1239
|
return {
|
|
1241
1240
|
isPending: Object.values(g).filter(Boolean).length > 0,
|
|
1242
1241
|
progress: v,
|
|
@@ -1247,7 +1246,7 @@ const Qn = ({
|
|
|
1247
1246
|
running: p,
|
|
1248
1247
|
apply: w
|
|
1249
1248
|
};
|
|
1250
|
-
},
|
|
1249
|
+
}, Qn = () => {
|
|
1251
1250
|
const [e, t] = C({});
|
|
1252
1251
|
return {
|
|
1253
1252
|
notes: e,
|
|
@@ -1261,7 +1260,7 @@ const Qn = ({
|
|
|
1261
1260
|
});
|
|
1262
1261
|
}
|
|
1263
1262
|
};
|
|
1264
|
-
},
|
|
1263
|
+
}, Jn = (e, t, a) => {
|
|
1265
1264
|
const n = t.name, o = [];
|
|
1266
1265
|
return t.attrs.forEach((l) => {
|
|
1267
1266
|
o.push([
|
|
@@ -1291,14 +1290,14 @@ const Qn = ({
|
|
|
1291
1290
|
});
|
|
1292
1291
|
}), o;
|
|
1293
1292
|
};
|
|
1294
|
-
function
|
|
1293
|
+
function eo({
|
|
1295
1294
|
db: e,
|
|
1296
1295
|
namespace: t,
|
|
1297
1296
|
namespaces: a,
|
|
1298
1297
|
onClose: n,
|
|
1299
1298
|
isSystemCatalogNs: o
|
|
1300
1299
|
}) {
|
|
1301
|
-
const i = de().appId, { history: g } =
|
|
1300
|
+
const i = de().appId, { history: g } = ut(), { mutate: c } = pr(), [p, f] = C({ type: "main" }), [d, u] = C(t.name), [s, m] = C(
|
|
1302
1301
|
null
|
|
1303
1302
|
);
|
|
1304
1303
|
async function b() {
|
|
@@ -1312,7 +1311,7 @@ function to({
|
|
|
1312
1311
|
m("Namespace name cannot start with $");
|
|
1313
1312
|
return;
|
|
1314
1313
|
}
|
|
1315
|
-
const _ =
|
|
1314
|
+
const _ = Jn(x, t, a);
|
|
1316
1315
|
await e.core._reactor.pushOps(_), g.push(
|
|
1317
1316
|
{
|
|
1318
1317
|
namespace: x
|
|
@@ -1320,7 +1319,7 @@ function to({
|
|
|
1320
1319
|
!0
|
|
1321
1320
|
), oe("Renamed namespace to " + x), u(""), f({ type: "main" });
|
|
1322
1321
|
}
|
|
1323
|
-
const v =
|
|
1322
|
+
const v = Qn(), k = le(() => p.type === "edit" && t.attrs.find(
|
|
1324
1323
|
(x) => x.id === p.attrId && x.isForward === p.isForward
|
|
1325
1324
|
), [
|
|
1326
1325
|
p.type === "edit" ? p.attrId : null,
|
|
@@ -1338,7 +1337,7 @@ function to({
|
|
|
1338
1337
|
});
|
|
1339
1338
|
},
|
|
1340
1339
|
className: "mb-3",
|
|
1341
|
-
children: /* @__PURE__ */ r(
|
|
1340
|
+
children: /* @__PURE__ */ r(ct, { className: "h-4 w-4 cursor-pointer" })
|
|
1342
1341
|
}
|
|
1343
1342
|
),
|
|
1344
1343
|
/* @__PURE__ */ h("h6", { className: "text-md pb-2 font-bold", children: [
|
|
@@ -1352,7 +1351,7 @@ function to({
|
|
|
1352
1351
|
x.preventDefault(), w(d);
|
|
1353
1352
|
},
|
|
1354
1353
|
children: [
|
|
1355
|
-
/* @__PURE__ */ h(
|
|
1354
|
+
/* @__PURE__ */ h(gt, { className: "pb-2 text-sm", children: [
|
|
1356
1355
|
"This will immediately rename the namespace. You'll need to",
|
|
1357
1356
|
" ",
|
|
1358
1357
|
/* @__PURE__ */ r("strong", { className: "dark:text-white", children: "update your code" }),
|
|
@@ -1388,13 +1387,13 @@ function to({
|
|
|
1388
1387
|
/* @__PURE__ */ h("div", { className: "mr-8 flex gap-1", children: [
|
|
1389
1388
|
/* @__PURE__ */ r("h5", { className: "flex items-center text-lg font-bold", children: t.name }),
|
|
1390
1389
|
/* @__PURE__ */ r(
|
|
1391
|
-
|
|
1390
|
+
ht,
|
|
1392
1391
|
{
|
|
1393
1392
|
variant: "subtle",
|
|
1394
1393
|
onClick: () => {
|
|
1395
1394
|
f({ type: "rename" });
|
|
1396
1395
|
},
|
|
1397
|
-
icon: /* @__PURE__ */ r(
|
|
1396
|
+
icon: /* @__PURE__ */ r(za, { className: "h-4 w-4 opacity-50" }),
|
|
1398
1397
|
label: "Rename"
|
|
1399
1398
|
}
|
|
1400
1399
|
),
|
|
@@ -1408,7 +1407,7 @@ function to({
|
|
|
1408
1407
|
variant: "secondary",
|
|
1409
1408
|
onClick: () => f({ type: "delete" }),
|
|
1410
1409
|
children: [
|
|
1411
|
-
/* @__PURE__ */ r(
|
|
1410
|
+
/* @__PURE__ */ r(it, { className: "inline", height: "1rem" }),
|
|
1412
1411
|
"Delete"
|
|
1413
1412
|
]
|
|
1414
1413
|
}
|
|
@@ -1421,7 +1420,7 @@ function to({
|
|
|
1421
1420
|
children: [
|
|
1422
1421
|
/* @__PURE__ */ h("div", { className: "flex items-center gap-3", children: [
|
|
1423
1422
|
/* @__PURE__ */ r("span", { className: "py-0.5 font-bold", children: x.name }),
|
|
1424
|
-
v.notes[x.id]?.message && /* @__PURE__ */ r(
|
|
1423
|
+
v.notes[x.id]?.message && /* @__PURE__ */ r(_t, { children: /* @__PURE__ */ r("div", { className: "px-2 text-xs text-gray-500 dark:text-neutral-400", children: v.notes[x.id].message }) })
|
|
1425
1424
|
] }),
|
|
1426
1425
|
x.name !== "id" ? /* @__PURE__ */ r(
|
|
1427
1426
|
V,
|
|
@@ -1450,13 +1449,13 @@ function to({
|
|
|
1450
1449
|
variant: "secondary",
|
|
1451
1450
|
onClick: () => f({ type: "add" }),
|
|
1452
1451
|
children: [
|
|
1453
|
-
/* @__PURE__ */ r(
|
|
1452
|
+
/* @__PURE__ */ r(fr, { className: "inline", height: "12px" }),
|
|
1454
1453
|
"New attribute"
|
|
1455
1454
|
]
|
|
1456
1455
|
}
|
|
1457
1456
|
) }),
|
|
1458
1457
|
/* @__PURE__ */ r(
|
|
1459
|
-
|
|
1458
|
+
Cn,
|
|
1460
1459
|
{
|
|
1461
1460
|
notes: v,
|
|
1462
1461
|
db: e,
|
|
@@ -1465,19 +1464,19 @@ function to({
|
|
|
1465
1464
|
}
|
|
1466
1465
|
)
|
|
1467
1466
|
] }) : p.type === "add" ? /* @__PURE__ */ r(
|
|
1468
|
-
|
|
1467
|
+
to,
|
|
1469
1468
|
{
|
|
1470
1469
|
db: e,
|
|
1471
1470
|
namespace: t,
|
|
1472
1471
|
namespaces: a,
|
|
1473
1472
|
onClose: () => f({ type: "main" }),
|
|
1474
|
-
constraints:
|
|
1473
|
+
constraints: er({
|
|
1475
1474
|
namespaceName: t.name,
|
|
1476
1475
|
isSystemCatalogNs: o
|
|
1477
1476
|
})
|
|
1478
1477
|
}
|
|
1479
1478
|
) : p.type === "delete" ? /* @__PURE__ */ r(
|
|
1480
|
-
|
|
1479
|
+
Tr,
|
|
1481
1480
|
{
|
|
1482
1481
|
name: t.name,
|
|
1483
1482
|
type: "namespace",
|
|
@@ -1485,12 +1484,12 @@ function to({
|
|
|
1485
1484
|
onConfirm: b
|
|
1486
1485
|
}
|
|
1487
1486
|
) : p.type === "edit" && k ? /* @__PURE__ */ r(
|
|
1488
|
-
|
|
1487
|
+
uo,
|
|
1489
1488
|
{
|
|
1490
1489
|
db: e,
|
|
1491
1490
|
attr: k,
|
|
1492
1491
|
onClose: () => f({ type: "main" }),
|
|
1493
|
-
constraints:
|
|
1492
|
+
constraints: er({
|
|
1494
1493
|
namespaceName: t.name,
|
|
1495
1494
|
isSystemCatalogNs: o,
|
|
1496
1495
|
attr: k
|
|
@@ -1499,7 +1498,7 @@ function to({
|
|
|
1499
1498
|
) : null
|
|
1500
1499
|
] });
|
|
1501
1500
|
}
|
|
1502
|
-
function
|
|
1501
|
+
function Tr({
|
|
1503
1502
|
name: e,
|
|
1504
1503
|
type: t,
|
|
1505
1504
|
onClose: a,
|
|
@@ -1508,7 +1507,7 @@ function _r({
|
|
|
1508
1507
|
return /* @__PURE__ */ h(ge, { className: "min flex flex-col gap-4", children: [
|
|
1509
1508
|
/* @__PURE__ */ h("h5", { className: "flex items-center gap-2 text-lg font-bold", children: [
|
|
1510
1509
|
/* @__PURE__ */ r(
|
|
1511
|
-
|
|
1510
|
+
ct,
|
|
1512
1511
|
{
|
|
1513
1512
|
height: "1rem",
|
|
1514
1513
|
className: "cursor-pointer",
|
|
@@ -1539,14 +1538,14 @@ function _r({
|
|
|
1539
1538
|
] })
|
|
1540
1539
|
] });
|
|
1541
1540
|
}
|
|
1542
|
-
function
|
|
1541
|
+
function to({
|
|
1543
1542
|
db: e,
|
|
1544
1543
|
namespace: t,
|
|
1545
1544
|
namespaces: a,
|
|
1546
1545
|
onClose: n,
|
|
1547
1546
|
constraints: o
|
|
1548
1547
|
}) {
|
|
1549
|
-
const [l, i] = C(!1), [g, c] = C(!1), [p, f] = C(!1), [d, u] = C(!1), [s, m] = C(!1), [b, w] = C(null), [v, k] = C("blob"), [x, _] = C("many-many"), [P, B] = C(() => a.find((A) => A.name !== t.name) ?? a[0]), [L, q] = C(""), [G, Y] = C(t.name), z = x === "one-one" || x === "one-many", j = x === "one-one" || x === "many-one", S =
|
|
1548
|
+
const [l, i] = C(!1), [g, c] = C(!1), [p, f] = C(!1), [d, u] = C(!1), [s, m] = C(!1), [b, w] = C(null), [v, k] = C("blob"), [x, _] = C("many-many"), [P, B] = C(() => a.find((A) => A.name !== t.name) ?? a[0]), [L, q] = C(""), [G, Y] = C(t.name), z = x === "one-one" || x === "one-many", j = x === "one-one" || x === "many-one", S = _r({
|
|
1550
1549
|
attrName: L,
|
|
1551
1550
|
reverseAttrName: G,
|
|
1552
1551
|
namespaceName: t.name,
|
|
@@ -1574,7 +1573,7 @@ function ro({
|
|
|
1574
1573
|
if (!P) throw new Error("No reverse namespace");
|
|
1575
1574
|
const D = [["add-attr", {
|
|
1576
1575
|
id: Me(),
|
|
1577
|
-
...
|
|
1576
|
+
...It[x],
|
|
1578
1577
|
"forward-identity": [Me(), t.name, L],
|
|
1579
1578
|
"reverse-identity": [Me(), P.name, G],
|
|
1580
1579
|
"value-type": "ref",
|
|
@@ -1588,13 +1587,13 @@ function ro({
|
|
|
1588
1587
|
}
|
|
1589
1588
|
return /* @__PURE__ */ h(ge, { className: "min flex flex-col gap-4", children: [
|
|
1590
1589
|
/* @__PURE__ */ h("h5", { className: "flex items-center gap-2 text-lg font-bold", children: [
|
|
1591
|
-
/* @__PURE__ */ r(
|
|
1590
|
+
/* @__PURE__ */ r(ct, { className: "h-4 w-4 cursor-pointer", onClick: n }),
|
|
1592
1591
|
"Add an attribute"
|
|
1593
1592
|
] }),
|
|
1594
1593
|
/* @__PURE__ */ h("div", { className: "flex flex-col gap-1", children: [
|
|
1595
1594
|
/* @__PURE__ */ r("h6", { className: "text-md font-bold", children: "Type" }),
|
|
1596
1595
|
/* @__PURE__ */ r(
|
|
1597
|
-
|
|
1596
|
+
zr,
|
|
1598
1597
|
{
|
|
1599
1598
|
ariaLabel: "Text alignment",
|
|
1600
1599
|
selectedId: v,
|
|
@@ -1706,7 +1705,7 @@ function ro({
|
|
|
1706
1705
|
)
|
|
1707
1706
|
] }),
|
|
1708
1707
|
/* @__PURE__ */ r(
|
|
1709
|
-
|
|
1708
|
+
Or,
|
|
1710
1709
|
{
|
|
1711
1710
|
relationship: x,
|
|
1712
1711
|
attrName: L,
|
|
@@ -1745,7 +1744,7 @@ function ro({
|
|
|
1745
1744
|
] })
|
|
1746
1745
|
] });
|
|
1747
1746
|
}
|
|
1748
|
-
function
|
|
1747
|
+
function nt({
|
|
1749
1748
|
indexingJob: e,
|
|
1750
1749
|
attr: t,
|
|
1751
1750
|
onClickSample: a
|
|
@@ -1775,12 +1774,12 @@ function rt({
|
|
|
1775
1774
|
] })
|
|
1776
1775
|
] });
|
|
1777
1776
|
}
|
|
1778
|
-
function
|
|
1777
|
+
function Ke({
|
|
1779
1778
|
indexingJob: e,
|
|
1780
1779
|
attr: t,
|
|
1781
1780
|
onClose: a
|
|
1782
1781
|
}) {
|
|
1783
|
-
const { history: n } =
|
|
1782
|
+
const { history: n } = ut();
|
|
1784
1783
|
if (e) {
|
|
1785
1784
|
if (e.error === "missing-required-error")
|
|
1786
1785
|
return /* @__PURE__ */ h("div", { className: "mt-2 mb-2 border-l-2 border-l-red-500 pl-2", children: [
|
|
@@ -1796,7 +1795,7 @@ function Ye({
|
|
|
1796
1795
|
" set."
|
|
1797
1796
|
] }),
|
|
1798
1797
|
/* @__PURE__ */ r(
|
|
1799
|
-
|
|
1798
|
+
nt,
|
|
1800
1799
|
{
|
|
1801
1800
|
indexingJob: {
|
|
1802
1801
|
...e,
|
|
@@ -1820,7 +1819,7 @@ function Ye({
|
|
|
1820
1819
|
return /* @__PURE__ */ h("div", { className: "mt-2 mb-2 border-l-2 border-l-red-500 pl-2", children: [
|
|
1821
1820
|
/* @__PURE__ */ r("div", { children: "Some of the existing data is too large to index. " }),
|
|
1822
1821
|
/* @__PURE__ */ r(
|
|
1823
|
-
|
|
1822
|
+
nt,
|
|
1824
1823
|
{
|
|
1825
1824
|
indexingJob: e,
|
|
1826
1825
|
attr: t,
|
|
@@ -1841,7 +1840,7 @@ function Ye({
|
|
|
1841
1840
|
" because some data is the wrong type."
|
|
1842
1841
|
] }),
|
|
1843
1842
|
/* @__PURE__ */ r(
|
|
1844
|
-
|
|
1843
|
+
nt,
|
|
1845
1844
|
{
|
|
1846
1845
|
indexingJob: e,
|
|
1847
1846
|
attr: t,
|
|
@@ -1880,7 +1879,7 @@ function Ye({
|
|
|
1880
1879
|
"."
|
|
1881
1880
|
] }) : null,
|
|
1882
1881
|
/* @__PURE__ */ r(
|
|
1883
|
-
|
|
1882
|
+
nt,
|
|
1884
1883
|
{
|
|
1885
1884
|
indexingJob: e,
|
|
1886
1885
|
attr: t,
|
|
@@ -1904,7 +1903,7 @@ function Ye({
|
|
|
1904
1903
|
] });
|
|
1905
1904
|
}
|
|
1906
1905
|
}
|
|
1907
|
-
function
|
|
1906
|
+
function Or({
|
|
1908
1907
|
attrName: e,
|
|
1909
1908
|
reverseAttrName: t,
|
|
1910
1909
|
namespaceName: a,
|
|
@@ -1974,7 +1973,7 @@ function Dr({
|
|
|
1974
1973
|
/* @__PURE__ */ h("div", { className: "flex flex-col gap-1", children: [
|
|
1975
1974
|
/* @__PURE__ */ r("h6", { className: "text-md font-bold", children: "Relationship" }),
|
|
1976
1975
|
/* @__PURE__ */ r(
|
|
1977
|
-
|
|
1976
|
+
ro,
|
|
1978
1977
|
{
|
|
1979
1978
|
disabled: !v || w.attr.disabled,
|
|
1980
1979
|
value: o,
|
|
@@ -1992,7 +1991,7 @@ function Dr({
|
|
|
1992
1991
|
"div",
|
|
1993
1992
|
{
|
|
1994
1993
|
className: "text-xs wrap-break-word text-gray-500 dark:text-neutral-400",
|
|
1995
|
-
children: v ?
|
|
1994
|
+
children: v ? ao[o](
|
|
1996
1995
|
a,
|
|
1997
1996
|
n,
|
|
1998
1997
|
e,
|
|
@@ -2063,7 +2062,7 @@ function Dr({
|
|
|
2063
2062
|
] })
|
|
2064
2063
|
] });
|
|
2065
2064
|
}
|
|
2066
|
-
function
|
|
2065
|
+
function ro({
|
|
2067
2066
|
value: e,
|
|
2068
2067
|
disabled: t,
|
|
2069
2068
|
onChange: a,
|
|
@@ -2103,7 +2102,7 @@ function ao({
|
|
|
2103
2102
|
}
|
|
2104
2103
|
);
|
|
2105
2104
|
}
|
|
2106
|
-
const
|
|
2105
|
+
const ao = {
|
|
2107
2106
|
"many-many": (e, t, a, n) => /* @__PURE__ */ h(M, { children: [
|
|
2108
2107
|
/* @__PURE__ */ r("strong", { children: e }),
|
|
2109
2108
|
" can have many ",
|
|
@@ -2147,7 +2146,7 @@ const no = {
|
|
|
2147
2146
|
/* @__PURE__ */ r("strong", { children: n })
|
|
2148
2147
|
] })
|
|
2149
2148
|
};
|
|
2150
|
-
async function
|
|
2149
|
+
async function no({
|
|
2151
2150
|
appId: e,
|
|
2152
2151
|
attr: t,
|
|
2153
2152
|
isRequired: a,
|
|
@@ -2161,7 +2160,7 @@ async function oo({
|
|
|
2161
2160
|
l.current?.();
|
|
2162
2161
|
const g = `${t.namespace}.${t.name}`;
|
|
2163
2162
|
try {
|
|
2164
|
-
const c = await
|
|
2163
|
+
const c = await Xn(
|
|
2165
2164
|
{
|
|
2166
2165
|
appId: e,
|
|
2167
2166
|
attrId: t.id,
|
|
@@ -2171,7 +2170,7 @@ async function oo({
|
|
|
2171
2170
|
n
|
|
2172
2171
|
);
|
|
2173
2172
|
o(c);
|
|
2174
|
-
const p =
|
|
2173
|
+
const p = Rr(e, c.id, n, i);
|
|
2175
2174
|
l.current = p.stop;
|
|
2176
2175
|
const f = await p.start((d, u) => {
|
|
2177
2176
|
u && ie(`Error while marking ${g} as required.`), d && o(d);
|
|
@@ -2190,7 +2189,7 @@ async function oo({
|
|
|
2190
2189
|
return console.error(c), ie(`Unexpected error while updating ${g}`), "errored";
|
|
2191
2190
|
}
|
|
2192
2191
|
}
|
|
2193
|
-
const
|
|
2192
|
+
const oo = ({
|
|
2194
2193
|
pendingJob: e,
|
|
2195
2194
|
runningJob: t,
|
|
2196
2195
|
value: a,
|
|
@@ -2199,14 +2198,14 @@ const io = ({
|
|
|
2199
2198
|
disabledReason: l,
|
|
2200
2199
|
attr: i
|
|
2201
2200
|
}) => {
|
|
2202
|
-
const g = !t || be(t), c =
|
|
2201
|
+
const g = !t || be(t), c = Ye();
|
|
2203
2202
|
return H(() => {
|
|
2204
2203
|
t && me(t) && n(i.checkedDataType || "any");
|
|
2205
2204
|
}, [t]), /* @__PURE__ */ h(M, { children: [
|
|
2206
2205
|
/* @__PURE__ */ r("div", { className: "flex flex-col gap-2", children: /* @__PURE__ */ h("h6", { className: "text-md font-bold", children: [
|
|
2207
2206
|
"Enforce type",
|
|
2208
2207
|
" ",
|
|
2209
|
-
/* @__PURE__ */ r(
|
|
2208
|
+
/* @__PURE__ */ r(_t, { children: /* @__PURE__ */ r("div", { className: "w-48 text-sm", children: "Checks the type on all existing entities and enforces the type when entities are created or updated." }) })
|
|
2210
2209
|
] }) }),
|
|
2211
2210
|
/* @__PURE__ */ h("div", { className: "flex items-center gap-2", children: [
|
|
2212
2211
|
/* @__PURE__ */ r(
|
|
@@ -2257,7 +2256,7 @@ const io = ({
|
|
|
2257
2256
|
)
|
|
2258
2257
|
] }),
|
|
2259
2258
|
t && me(t) && /* @__PURE__ */ r(
|
|
2260
|
-
|
|
2259
|
+
Ke,
|
|
2261
2260
|
{
|
|
2262
2261
|
indexingJob: t,
|
|
2263
2262
|
attr: i,
|
|
@@ -2265,7 +2264,7 @@ const io = ({
|
|
|
2265
2264
|
}
|
|
2266
2265
|
)
|
|
2267
2266
|
] });
|
|
2268
|
-
},
|
|
2267
|
+
}, io = ({
|
|
2269
2268
|
pendingJob: e,
|
|
2270
2269
|
runningJob: t,
|
|
2271
2270
|
value: a,
|
|
@@ -2274,7 +2273,7 @@ const io = ({
|
|
|
2274
2273
|
disabledReason: l,
|
|
2275
2274
|
attr: i
|
|
2276
2275
|
}) => {
|
|
2277
|
-
const g =
|
|
2276
|
+
const g = Ye();
|
|
2278
2277
|
return H(() => {
|
|
2279
2278
|
t && me(t) && n(i.isRequired || !1);
|
|
2280
2279
|
}, [t]), /* @__PURE__ */ h(M, { children: [
|
|
@@ -2313,7 +2312,7 @@ const io = ({
|
|
|
2313
2312
|
)
|
|
2314
2313
|
] }),
|
|
2315
2314
|
t && me(t) && /* @__PURE__ */ r(
|
|
2316
|
-
|
|
2315
|
+
Ke,
|
|
2317
2316
|
{
|
|
2318
2317
|
indexingJob: t,
|
|
2319
2318
|
attr: i,
|
|
@@ -2321,7 +2320,7 @@ const io = ({
|
|
|
2321
2320
|
}
|
|
2322
2321
|
)
|
|
2323
2322
|
] });
|
|
2324
|
-
},
|
|
2323
|
+
}, lo = ({
|
|
2325
2324
|
pendingJob: e,
|
|
2326
2325
|
runningJob: t,
|
|
2327
2326
|
value: a,
|
|
@@ -2330,7 +2329,7 @@ const io = ({
|
|
|
2330
2329
|
disabledReason: l,
|
|
2331
2330
|
attr: i
|
|
2332
2331
|
}) => {
|
|
2333
|
-
const g =
|
|
2332
|
+
const g = Ye();
|
|
2334
2333
|
return H(() => {
|
|
2335
2334
|
t && me(t) && n(i.isIndex);
|
|
2336
2335
|
}, [t]), /* @__PURE__ */ h(M, { children: [
|
|
@@ -2369,7 +2368,7 @@ const io = ({
|
|
|
2369
2368
|
)
|
|
2370
2369
|
] }),
|
|
2371
2370
|
t && me(t) && /* @__PURE__ */ r(
|
|
2372
|
-
|
|
2371
|
+
Ke,
|
|
2373
2372
|
{
|
|
2374
2373
|
indexingJob: t,
|
|
2375
2374
|
attr: i,
|
|
@@ -2377,7 +2376,7 @@ const io = ({
|
|
|
2377
2376
|
}
|
|
2378
2377
|
)
|
|
2379
2378
|
] });
|
|
2380
|
-
},
|
|
2379
|
+
}, so = ({
|
|
2381
2380
|
pendingJob: e,
|
|
2382
2381
|
runningJob: t,
|
|
2383
2382
|
value: a,
|
|
@@ -2386,7 +2385,7 @@ const io = ({
|
|
|
2386
2385
|
disabledReason: l,
|
|
2387
2386
|
attr: i
|
|
2388
2387
|
}) => {
|
|
2389
|
-
const g =
|
|
2388
|
+
const g = Ye();
|
|
2390
2389
|
return H(() => {
|
|
2391
2390
|
t && me(t) && n(i.isUniq);
|
|
2392
2391
|
}, [t]), /* @__PURE__ */ h(M, { children: [
|
|
@@ -2425,7 +2424,7 @@ const io = ({
|
|
|
2425
2424
|
)
|
|
2426
2425
|
] }),
|
|
2427
2426
|
t && me(t) && /* @__PURE__ */ r(
|
|
2428
|
-
|
|
2427
|
+
Ke,
|
|
2429
2428
|
{
|
|
2430
2429
|
indexingJob: t,
|
|
2431
2430
|
attr: i,
|
|
@@ -2433,14 +2432,14 @@ const io = ({
|
|
|
2433
2432
|
}
|
|
2434
2433
|
)
|
|
2435
2434
|
] });
|
|
2436
|
-
},
|
|
2435
|
+
}, co = ({
|
|
2437
2436
|
appId: e,
|
|
2438
2437
|
attr: t,
|
|
2439
2438
|
constraints: a
|
|
2440
2439
|
}) => {
|
|
2441
2440
|
const [n, o] = C(
|
|
2442
2441
|
t.isRequired || !1
|
|
2443
|
-
), [l, i] = C(t.isIndex), [g, c] = C(t.isUniq), [p, f] = C(t.checkedDataType || "any"), d = de(), { isPending: u, pending: s, apply: m, isRunning: b, running: w, progress: v } =
|
|
2442
|
+
), [l, i] = C(t.isIndex), [g, c] = C(t.isUniq), [p, f] = C(t.checkedDataType || "any"), d = de(), { isPending: u, pending: s, apply: m, isRunning: b, running: w, progress: v } = Zn({
|
|
2444
2443
|
attr: t,
|
|
2445
2444
|
appId: e,
|
|
2446
2445
|
token: d.adminToken,
|
|
@@ -2452,7 +2451,7 @@ const io = ({
|
|
|
2452
2451
|
return /* @__PURE__ */ r("div", { children: /* @__PURE__ */ h("div", { className: "flex flex-col gap-2", children: [
|
|
2453
2452
|
/* @__PURE__ */ r("h6", { className: "text-md font-bold", children: "Constraints" }),
|
|
2454
2453
|
/* @__PURE__ */ r(
|
|
2455
|
-
|
|
2454
|
+
io,
|
|
2456
2455
|
{
|
|
2457
2456
|
pendingJob: s.require,
|
|
2458
2457
|
runningJob: w.require,
|
|
@@ -2464,7 +2463,7 @@ const io = ({
|
|
|
2464
2463
|
}
|
|
2465
2464
|
),
|
|
2466
2465
|
/* @__PURE__ */ r(
|
|
2467
|
-
|
|
2466
|
+
lo,
|
|
2468
2467
|
{
|
|
2469
2468
|
pendingJob: s.index,
|
|
2470
2469
|
runningJob: w.index,
|
|
@@ -2476,7 +2475,7 @@ const io = ({
|
|
|
2476
2475
|
}
|
|
2477
2476
|
),
|
|
2478
2477
|
/* @__PURE__ */ r(
|
|
2479
|
-
|
|
2478
|
+
so,
|
|
2480
2479
|
{
|
|
2481
2480
|
pendingJob: s.unique,
|
|
2482
2481
|
runningJob: w.unique,
|
|
@@ -2488,7 +2487,7 @@ const io = ({
|
|
|
2488
2487
|
}
|
|
2489
2488
|
),
|
|
2490
2489
|
/* @__PURE__ */ r(
|
|
2491
|
-
|
|
2490
|
+
oo,
|
|
2492
2491
|
{
|
|
2493
2492
|
pendingJob: s.type,
|
|
2494
2493
|
runningJob: w.type,
|
|
@@ -2500,7 +2499,7 @@ const io = ({
|
|
|
2500
2499
|
}
|
|
2501
2500
|
),
|
|
2502
2501
|
/* @__PURE__ */ r(
|
|
2503
|
-
|
|
2502
|
+
Ur,
|
|
2504
2503
|
{
|
|
2505
2504
|
loading: !!v,
|
|
2506
2505
|
percentage: v || 0,
|
|
@@ -2513,26 +2512,26 @@ const io = ({
|
|
|
2513
2512
|
)
|
|
2514
2513
|
] }) });
|
|
2515
2514
|
};
|
|
2516
|
-
function
|
|
2515
|
+
function uo({
|
|
2517
2516
|
db: e,
|
|
2518
2517
|
attr: t,
|
|
2519
2518
|
onClose: a,
|
|
2520
2519
|
constraints: n
|
|
2521
2520
|
}) {
|
|
2522
|
-
const l = de().appId, { mutate: i } =
|
|
2521
|
+
const l = de().appId, { mutate: i } = pr(), [g, c] = C({
|
|
2523
2522
|
type: "main"
|
|
2524
2523
|
}), [p, f] = C(t.linkConfig.forward.attr), [d, u] = C(
|
|
2525
2524
|
t.linkConfig.reverse?.attr
|
|
2526
2525
|
), [s, m] = C(() => {
|
|
2527
2526
|
const F = `${t.cardinality}-${t.isUniq}`;
|
|
2528
|
-
return
|
|
2527
|
+
return Cr[F];
|
|
2529
2528
|
}), b = de(), [w, v] = C(() => t.onDelete === "cascade"), [k, x] = C(
|
|
2530
2529
|
() => t.onDeleteReverse === "cascade"
|
|
2531
2530
|
), [_, P] = C(t.isRequired || !1), [B, L] = C(_), [q, G] = C(
|
|
2532
2531
|
null
|
|
2533
|
-
), Y = X(null), z =
|
|
2532
|
+
), Y = X(null), z = Ye();
|
|
2534
2533
|
H(() => () => Y.current?.(), [Y]);
|
|
2535
|
-
const j = s === "one-one" || s === "one-many", S = s === "one-one" || s === "many-one", T =
|
|
2534
|
+
const j = s === "one-one" || s === "one-many", S = s === "one-one" || s === "many-one", T = _r({
|
|
2536
2535
|
attrName: p,
|
|
2537
2536
|
reverseAttrName: d,
|
|
2538
2537
|
namespaceName: t.linkConfig.forward.namespace,
|
|
@@ -2541,7 +2540,7 @@ function po({
|
|
|
2541
2540
|
async function I() {
|
|
2542
2541
|
if (!t.linkConfig.reverse)
|
|
2543
2542
|
throw new Error("No reverse link config");
|
|
2544
|
-
if (_ !== B && await
|
|
2543
|
+
if (_ !== B && await no({
|
|
2545
2544
|
appId: l,
|
|
2546
2545
|
attr: t,
|
|
2547
2546
|
isRequired: _,
|
|
@@ -2556,7 +2555,7 @@ function po({
|
|
|
2556
2555
|
"update-attr",
|
|
2557
2556
|
{
|
|
2558
2557
|
id: t.id,
|
|
2559
|
-
...
|
|
2558
|
+
...It[s],
|
|
2560
2559
|
"forward-identity": [
|
|
2561
2560
|
t.linkConfig.forward.id,
|
|
2562
2561
|
t.linkConfig.forward.namespace,
|
|
@@ -2596,7 +2595,7 @@ function po({
|
|
|
2596
2595
|
}, 500), a();
|
|
2597
2596
|
}
|
|
2598
2597
|
return g.type === "delete" ? /* @__PURE__ */ r(
|
|
2599
|
-
|
|
2598
|
+
Tr,
|
|
2600
2599
|
{
|
|
2601
2600
|
onConfirm: D,
|
|
2602
2601
|
onClose: a,
|
|
@@ -2606,7 +2605,7 @@ function po({
|
|
|
2606
2605
|
) : /* @__PURE__ */ h("div", { className: "flex flex-col gap-4", children: [
|
|
2607
2606
|
/* @__PURE__ */ h("div", { className: "mr-8 flex gap-4", children: [
|
|
2608
2607
|
/* @__PURE__ */ h("div", { className: "flex items-center gap-2", children: [
|
|
2609
|
-
/* @__PURE__ */ r(
|
|
2608
|
+
/* @__PURE__ */ r(ct, { className: "h-4 w-4 cursor-pointer", onClick: a }),
|
|
2610
2609
|
/* @__PURE__ */ h("h5", { className: "flex items-center text-lg font-bold", children: [
|
|
2611
2610
|
"Edit ",
|
|
2612
2611
|
t.namespace,
|
|
@@ -2623,7 +2622,7 @@ function po({
|
|
|
2623
2622
|
size: "mini",
|
|
2624
2623
|
onClick: () => c({ type: "delete" }),
|
|
2625
2624
|
children: [
|
|
2626
|
-
/* @__PURE__ */ r(
|
|
2625
|
+
/* @__PURE__ */ r(it, { className: "inline", height: "1rem" }),
|
|
2627
2626
|
"Delete"
|
|
2628
2627
|
]
|
|
2629
2628
|
}
|
|
@@ -2631,17 +2630,17 @@ function po({
|
|
|
2631
2630
|
] }),
|
|
2632
2631
|
t.type === "blob" ? /* @__PURE__ */ h(M, { children: [
|
|
2633
2632
|
/* @__PURE__ */ r(
|
|
2634
|
-
|
|
2633
|
+
co,
|
|
2635
2634
|
{
|
|
2636
2635
|
appId: l,
|
|
2637
2636
|
attr: t,
|
|
2638
2637
|
constraints: n
|
|
2639
2638
|
}
|
|
2640
2639
|
),
|
|
2641
|
-
/* @__PURE__ */ r(
|
|
2640
|
+
/* @__PURE__ */ r(ft, {}),
|
|
2642
2641
|
/* @__PURE__ */ h(ge, { className: "flex flex-col gap-1", children: [
|
|
2643
2642
|
/* @__PURE__ */ r("h6", { className: "text-md font-bold", children: "Rename" }),
|
|
2644
|
-
/* @__PURE__ */ h(
|
|
2643
|
+
/* @__PURE__ */ h(gt, { className: "text-sm", children: [
|
|
2645
2644
|
"This will immediately rename the attribute. You'll need to",
|
|
2646
2645
|
" ",
|
|
2647
2646
|
/* @__PURE__ */ r("strong", { className: "dark:text-white", children: "update your code" }),
|
|
@@ -2671,7 +2670,7 @@ function po({
|
|
|
2671
2670
|
] })
|
|
2672
2671
|
] }) : /* @__PURE__ */ h(ge, { className: "flex flex-col gap-6", children: [
|
|
2673
2672
|
/* @__PURE__ */ r(
|
|
2674
|
-
|
|
2673
|
+
Or,
|
|
2675
2674
|
{
|
|
2676
2675
|
relationship: s,
|
|
2677
2676
|
attrName: p,
|
|
@@ -2693,7 +2692,7 @@ function po({
|
|
|
2693
2692
|
}
|
|
2694
2693
|
),
|
|
2695
2694
|
/* @__PURE__ */ r(
|
|
2696
|
-
|
|
2695
|
+
Ke,
|
|
2697
2696
|
{
|
|
2698
2697
|
indexingJob: q,
|
|
2699
2698
|
attr: t,
|
|
@@ -2720,7 +2719,7 @@ function po({
|
|
|
2720
2719
|
] })
|
|
2721
2720
|
] });
|
|
2722
2721
|
}
|
|
2723
|
-
function
|
|
2722
|
+
function _r({
|
|
2724
2723
|
reverseNamespaceName: e,
|
|
2725
2724
|
namespaceName: t,
|
|
2726
2725
|
attrName: a,
|
|
@@ -2734,7 +2733,7 @@ function Lr({
|
|
|
2734
2733
|
shouldShowSelfLinkNameError: l && o && !i
|
|
2735
2734
|
};
|
|
2736
2735
|
}
|
|
2737
|
-
function
|
|
2736
|
+
function er({
|
|
2738
2737
|
namespaceName: e,
|
|
2739
2738
|
isSystemCatalogNs: t,
|
|
2740
2739
|
attr: a
|
|
@@ -2757,7 +2756,7 @@ const Ge = [
|
|
|
2757
2756
|
{ value: "boolean", label: "boolean" },
|
|
2758
2757
|
{ value: "json", label: "json" }
|
|
2759
2758
|
];
|
|
2760
|
-
function
|
|
2759
|
+
function po({
|
|
2761
2760
|
onSave: e,
|
|
2762
2761
|
onChange: t,
|
|
2763
2762
|
onKeyDown: a,
|
|
@@ -2786,43 +2785,43 @@ function go({
|
|
|
2786
2785
|
}
|
|
2787
2786
|
);
|
|
2788
2787
|
}
|
|
2789
|
-
const
|
|
2788
|
+
const vt = {
|
|
2790
2789
|
string: "",
|
|
2791
2790
|
number: 0,
|
|
2792
2791
|
boolean: !1,
|
|
2793
2792
|
json: {}
|
|
2794
2793
|
};
|
|
2795
|
-
function
|
|
2794
|
+
function go(e) {
|
|
2796
2795
|
return e ? e === "date" ? Ge.filter(
|
|
2797
2796
|
(t) => t.value === "string" || t.value === "number"
|
|
2798
2797
|
) : Ge.filter((t) => t.value === e) : Ge;
|
|
2799
2798
|
}
|
|
2800
|
-
const
|
|
2801
|
-
function
|
|
2799
|
+
const Dr = (e) => !!e && typeof e == "object";
|
|
2800
|
+
function ho(e) {
|
|
2802
2801
|
try {
|
|
2803
2802
|
return JSON.parse(e), !0;
|
|
2804
2803
|
} catch {
|
|
2805
2804
|
return !1;
|
|
2806
2805
|
}
|
|
2807
2806
|
}
|
|
2808
|
-
function
|
|
2807
|
+
function fo(e) {
|
|
2809
2808
|
try {
|
|
2810
2809
|
return JSON.parse(e);
|
|
2811
2810
|
} catch {
|
|
2812
2811
|
return e;
|
|
2813
2812
|
}
|
|
2814
2813
|
}
|
|
2815
|
-
function
|
|
2814
|
+
function mo(e, t) {
|
|
2816
2815
|
if (e.checkedDataType)
|
|
2817
2816
|
return e.checkedDataType === "date" ? "string" : e.checkedDataType;
|
|
2818
2817
|
if (t != null) {
|
|
2819
|
-
const a =
|
|
2818
|
+
const a = Dr(t) ? "json" : typeof t, n = Ge.find((o) => o.value === a);
|
|
2820
2819
|
if (n)
|
|
2821
2820
|
return n.value;
|
|
2822
2821
|
}
|
|
2823
2822
|
return e.inferredTypes?.length ? e.inferredTypes[0] : Ge[0].value;
|
|
2824
2823
|
}
|
|
2825
|
-
function
|
|
2824
|
+
function tr(e, t) {
|
|
2826
2825
|
if (e === null)
|
|
2827
2826
|
return null;
|
|
2828
2827
|
if (t === "number") {
|
|
@@ -2835,16 +2834,16 @@ function er(e, t) {
|
|
|
2835
2834
|
if (t === "boolean")
|
|
2836
2835
|
return e === "true";
|
|
2837
2836
|
if (t === "string")
|
|
2838
|
-
return
|
|
2837
|
+
return Dr(e) ? JSON.stringify(e) : String(e);
|
|
2839
2838
|
if (t === "json")
|
|
2840
|
-
return
|
|
2839
|
+
return fo(e);
|
|
2841
2840
|
}
|
|
2842
2841
|
return e;
|
|
2843
2842
|
}
|
|
2844
|
-
function
|
|
2845
|
-
return
|
|
2843
|
+
function bo(e) {
|
|
2844
|
+
return yn(e) ? null : "Invalid UUID.";
|
|
2846
2845
|
}
|
|
2847
|
-
function
|
|
2846
|
+
function rr({
|
|
2848
2847
|
db: e,
|
|
2849
2848
|
namespace: t,
|
|
2850
2849
|
item: a
|
|
@@ -2865,7 +2864,7 @@ function tr({
|
|
|
2865
2864
|
size: "mini",
|
|
2866
2865
|
variant: "subtle",
|
|
2867
2866
|
onClick: () => o((p) => !p),
|
|
2868
|
-
children: /* @__PURE__ */ r(
|
|
2867
|
+
children: /* @__PURE__ */ r(Ma, { height: 14 })
|
|
2869
2868
|
}
|
|
2870
2869
|
) })
|
|
2871
2870
|
}
|
|
@@ -2881,11 +2880,11 @@ function tr({
|
|
|
2881
2880
|
children: JSON.stringify(g?.[t.name]?.[0] || a, null, 2)
|
|
2882
2881
|
}
|
|
2883
2882
|
),
|
|
2884
|
-
c ? /* @__PURE__ */ r("div", { className: "absolute top-0 right-0 animate-spin p-2 opacity-50", children: /* @__PURE__ */ r(
|
|
2883
|
+
c ? /* @__PURE__ */ r("div", { className: "absolute top-0 right-0 animate-spin p-2 opacity-50", children: /* @__PURE__ */ r(Ba, { width: 12 }) }) : null
|
|
2885
2884
|
] }) })
|
|
2886
2885
|
] }) });
|
|
2887
2886
|
}
|
|
2888
|
-
function
|
|
2887
|
+
function wo({
|
|
2889
2888
|
q: e,
|
|
2890
2889
|
option: t,
|
|
2891
2890
|
uniqueAttrs: a,
|
|
@@ -2893,7 +2892,7 @@ function vo({
|
|
|
2893
2892
|
}) {
|
|
2894
2893
|
const [o, l] = C(!1);
|
|
2895
2894
|
return /* @__PURE__ */ r(
|
|
2896
|
-
|
|
2895
|
+
xr,
|
|
2897
2896
|
{
|
|
2898
2897
|
value: t,
|
|
2899
2898
|
className: _e(
|
|
@@ -2943,19 +2942,19 @@ function vo({
|
|
|
2943
2942
|
t.id
|
|
2944
2943
|
);
|
|
2945
2944
|
}
|
|
2946
|
-
function
|
|
2945
|
+
function vo({
|
|
2947
2946
|
db: e,
|
|
2948
2947
|
namespace: t,
|
|
2949
2948
|
onLinkRef: a,
|
|
2950
2949
|
ignoreIds: n,
|
|
2951
2950
|
onClose: o
|
|
2952
2951
|
}) {
|
|
2953
|
-
const [l, i] = C(""), g = X(null), { uniqueAttrs: c, filterableAttrs: p } =
|
|
2952
|
+
const [l, i] = C(""), g = X(null), { uniqueAttrs: c, filterableAttrs: p } = le(() => {
|
|
2954
2953
|
const m = [], b = [];
|
|
2955
2954
|
for (const [w, v] of Object.entries(t.attrs))
|
|
2956
2955
|
v.isUniq && v.name !== "id" && v.type === "blob" && m.push(v), v.isIndex && (v.checkedDataType === "string" || v.checkedDataType === "number") && b.push(v);
|
|
2957
2956
|
return { uniqueAttrs: m, filterableAttrs: b };
|
|
2958
|
-
}, [t.attrs]), f =
|
|
2957
|
+
}, [t.attrs]), f = le(() => {
|
|
2959
2958
|
const m = [{ $entityIdStartsWith: l }];
|
|
2960
2959
|
let b;
|
|
2961
2960
|
try {
|
|
@@ -2979,7 +2978,7 @@ function yo({
|
|
|
2979
2978
|
};
|
|
2980
2979
|
}, [t.name, p, l]), { data: d, isLoading: u } = e.useQuery(f), s = d?.[t.name]?.filter((m) => !n.has(m.id));
|
|
2981
2980
|
return /* @__PURE__ */ r("div", { className: "relative mt-1 w-full", children: /* @__PURE__ */ h(
|
|
2982
|
-
|
|
2981
|
+
vr,
|
|
2983
2982
|
{
|
|
2984
2983
|
onChange: (m) => {
|
|
2985
2984
|
m && (a(m), i(""), o());
|
|
@@ -2988,7 +2987,7 @@ function yo({
|
|
|
2988
2987
|
immediate: !0,
|
|
2989
2988
|
children: [
|
|
2990
2989
|
/* @__PURE__ */ r(
|
|
2991
|
-
|
|
2990
|
+
yr,
|
|
2992
2991
|
{
|
|
2993
2992
|
ref: g,
|
|
2994
2993
|
autoFocus: !0,
|
|
@@ -3002,14 +3001,14 @@ function yo({
|
|
|
3002
3001
|
}
|
|
3003
3002
|
),
|
|
3004
3003
|
/* @__PURE__ */ r(
|
|
3005
|
-
|
|
3004
|
+
kr,
|
|
3006
3005
|
{
|
|
3007
3006
|
portal: !1,
|
|
3008
3007
|
unmount: !1,
|
|
3009
3008
|
static: !0,
|
|
3010
3009
|
className: "absolute left-0 z-10 mt-1 max-h-[25vh] w-full divide-y overflow-scroll rounded-md border border-gray-300 bg-white shadow-lg empty:invisible dark:border-neutral-700 dark:bg-neutral-800",
|
|
3011
3010
|
children: (s || []).map((m) => /* @__PURE__ */ r(
|
|
3012
|
-
|
|
3011
|
+
wo,
|
|
3013
3012
|
{
|
|
3014
3013
|
q: l,
|
|
3015
3014
|
option: m,
|
|
@@ -3029,7 +3028,7 @@ function yo({
|
|
|
3029
3028
|
u ? "query-loading" : "query-loaded"
|
|
3030
3029
|
) });
|
|
3031
3030
|
}
|
|
3032
|
-
function
|
|
3031
|
+
function yo({
|
|
3033
3032
|
db: e,
|
|
3034
3033
|
item: t,
|
|
3035
3034
|
attr: a,
|
|
@@ -3038,7 +3037,7 @@ function ko({
|
|
|
3038
3037
|
handleLinkRef: l,
|
|
3039
3038
|
handleUnlinkRef: i
|
|
3040
3039
|
}) {
|
|
3041
|
-
const [g, c] = C(!1), p =
|
|
3040
|
+
const [g, c] = C(!1), p = le(() => {
|
|
3042
3041
|
const u = /* @__PURE__ */ new Set();
|
|
3043
3042
|
for (const [s] of Object.entries(o || {}))
|
|
3044
3043
|
u.add(s);
|
|
@@ -3051,7 +3050,7 @@ function ko({
|
|
|
3051
3050
|
const s = o?.[u.id]?.action === "unlink";
|
|
3052
3051
|
return /* @__PURE__ */ h("div", { children: [
|
|
3053
3052
|
/* @__PURE__ */ r("code", { className: s ? "line-through" : "", children: u.id }),
|
|
3054
|
-
/* @__PURE__ */ r(
|
|
3053
|
+
/* @__PURE__ */ r(rr, { db: e, namespace: n, item: u }),
|
|
3055
3054
|
/* @__PURE__ */ r(
|
|
3056
3055
|
V,
|
|
3057
3056
|
{
|
|
@@ -3061,7 +3060,7 @@ function ko({
|
|
|
3061
3060
|
variant: s ? "subtle" : "destructive",
|
|
3062
3061
|
className: "border-none",
|
|
3063
3062
|
onClick: () => s ? l(a, u) : i(a, u.id),
|
|
3064
|
-
children: s ? /* @__PURE__ */ r(Ve, { height: 14 }) : /* @__PURE__ */ r(
|
|
3063
|
+
children: s ? /* @__PURE__ */ r(Ve, { height: 14 }) : /* @__PURE__ */ r(it, { height: 14 })
|
|
3065
3064
|
}
|
|
3066
3065
|
)
|
|
3067
3066
|
] }, u.id);
|
|
@@ -3070,7 +3069,7 @@ function ko({
|
|
|
3070
3069
|
if (s === "link")
|
|
3071
3070
|
return /* @__PURE__ */ h("div", { children: [
|
|
3072
3071
|
/* @__PURE__ */ r("code", { children: u }),
|
|
3073
|
-
/* @__PURE__ */ r(
|
|
3072
|
+
/* @__PURE__ */ r(rr, { db: e, namespace: n, item: m }),
|
|
3074
3073
|
/* @__PURE__ */ r(
|
|
3075
3074
|
V,
|
|
3076
3075
|
{
|
|
@@ -3080,13 +3079,13 @@ function ko({
|
|
|
3080
3079
|
variant: "destructive",
|
|
3081
3080
|
className: "border-none",
|
|
3082
3081
|
onClick: () => i(a, u),
|
|
3083
|
-
children: /* @__PURE__ */ r(
|
|
3082
|
+
children: /* @__PURE__ */ r(it, { height: 14 })
|
|
3084
3083
|
}
|
|
3085
3084
|
)
|
|
3086
3085
|
] }, u);
|
|
3087
3086
|
}),
|
|
3088
3087
|
g ? /* @__PURE__ */ r(
|
|
3089
|
-
|
|
3088
|
+
vo,
|
|
3090
3089
|
{
|
|
3091
3090
|
namespace: n,
|
|
3092
3091
|
onLinkRef: (u) => l(a, u),
|
|
@@ -3097,8 +3096,8 @@ function ko({
|
|
|
3097
3096
|
) : /* @__PURE__ */ r(V, { variant: "secondary", onClick: () => c(!0), children: f === "many" || !d ? "Add link" : "Replace link" })
|
|
3098
3097
|
] });
|
|
3099
3098
|
}
|
|
3100
|
-
const
|
|
3101
|
-
function
|
|
3099
|
+
const ko = (e, t) => t.type === "blob" && e.name !== "$files" || e.name === "$files" && t.type === "blob" && t.name === "path";
|
|
3100
|
+
function ar({
|
|
3102
3101
|
db: e,
|
|
3103
3102
|
namespace: t,
|
|
3104
3103
|
item: a,
|
|
@@ -3106,10 +3105,10 @@ function rr({
|
|
|
3106
3105
|
}) {
|
|
3107
3106
|
const o = a.id ? "edit" : "add", l = de(), i = [], g = [];
|
|
3108
3107
|
for (const S of t.attrs)
|
|
3109
|
-
S.name !== "id" && (
|
|
3108
|
+
S.name !== "id" && (ko(t, S) && i.push(S), S.type === "ref" && g.push(S));
|
|
3110
3109
|
const c = i.reduce(
|
|
3111
3110
|
(S, T) => {
|
|
3112
|
-
const I = a[T.name], A =
|
|
3111
|
+
const I = a[T.name], A = mo(T, I), D = o === "add" ? T.isRequired ? vt[A] : null : I;
|
|
3113
3112
|
return {
|
|
3114
3113
|
...S,
|
|
3115
3114
|
[T.name]: {
|
|
@@ -3144,7 +3143,7 @@ function rr({
|
|
|
3144
3143
|
const A = I[S]?.value;
|
|
3145
3144
|
return {
|
|
3146
3145
|
...I,
|
|
3147
|
-
[S]: { type: T, value:
|
|
3146
|
+
[S]: { type: T, value: tr(A, T) }
|
|
3148
3147
|
};
|
|
3149
3148
|
});
|
|
3150
3149
|
}, B = (S, T, I) => {
|
|
@@ -3155,7 +3154,7 @@ function rr({
|
|
|
3155
3154
|
...D,
|
|
3156
3155
|
[S]: {
|
|
3157
3156
|
type: F,
|
|
3158
|
-
value:
|
|
3157
|
+
value: tr(T, F),
|
|
3159
3158
|
error: A
|
|
3160
3159
|
}
|
|
3161
3160
|
};
|
|
@@ -3168,7 +3167,7 @@ function rr({
|
|
|
3168
3167
|
[S]: { type: "json", value: void 0, error: "Invalid JSON" }
|
|
3169
3168
|
} : {
|
|
3170
3169
|
...I,
|
|
3171
|
-
[S]:
|
|
3170
|
+
[S]: ho(T) ? { type: "json", value: JSON.parse(T), error: null } : { ...A, type: "json", error: "Invalid JSON" }
|
|
3172
3171
|
};
|
|
3173
3172
|
});
|
|
3174
3173
|
}, q = (S, T) => {
|
|
@@ -3186,7 +3185,7 @@ function rr({
|
|
|
3186
3185
|
...A,
|
|
3187
3186
|
[S]: {
|
|
3188
3187
|
type: I,
|
|
3189
|
-
value:
|
|
3188
|
+
value: vt[I],
|
|
3190
3189
|
// set to default
|
|
3191
3190
|
error: null
|
|
3192
3191
|
}
|
|
@@ -3254,7 +3253,7 @@ function rr({
|
|
|
3254
3253
|
), T = a.id || S.id || qe();
|
|
3255
3254
|
delete S.id;
|
|
3256
3255
|
try {
|
|
3257
|
-
let I =
|
|
3256
|
+
let I = Ha[t.name][T];
|
|
3258
3257
|
const A = [], D = [];
|
|
3259
3258
|
for (const [F, Q] of Object.entries(d))
|
|
3260
3259
|
for (const [te, { action: W }] of Object.entries(Q))
|
|
@@ -3293,7 +3292,7 @@ function rr({
|
|
|
3293
3292
|
size: "mini",
|
|
3294
3293
|
variant: "subtle",
|
|
3295
3294
|
onClick: () => B("id", qe()),
|
|
3296
|
-
children: /* @__PURE__ */ r(
|
|
3295
|
+
children: /* @__PURE__ */ r(ja, { height: 14 })
|
|
3297
3296
|
}
|
|
3298
3297
|
)
|
|
3299
3298
|
] }) }) }),
|
|
@@ -3302,7 +3301,7 @@ function rr({
|
|
|
3302
3301
|
{
|
|
3303
3302
|
className: "flex w-full flex-1 rounded-xs border-gray-200 bg-white px-3 py-1 placeholder:text-gray-400 dark:border-neutral-700 dark:bg-neutral-800",
|
|
3304
3303
|
value: p.id?.value ?? "",
|
|
3305
|
-
onChange: (S) => B("id", S.target.value,
|
|
3304
|
+
onChange: (S) => B("id", S.target.value, bo)
|
|
3306
3305
|
}
|
|
3307
3306
|
) }),
|
|
3308
3307
|
" ",
|
|
@@ -3311,7 +3310,7 @@ function rr({
|
|
|
3311
3310
|
i.map((S, T) => {
|
|
3312
3311
|
const I = T + 1, { type: A, value: D, error: F } = p[S.name] || {
|
|
3313
3312
|
type: "string",
|
|
3314
|
-
value:
|
|
3313
|
+
value: vt.string
|
|
3315
3314
|
}, Q = s[S.name] || (D !== null ? JSON.stringify(D, null, 2) : "null"), te = b[S.name];
|
|
3316
3315
|
return /* @__PURE__ */ h("div", { className: "flex flex-col gap-1", children: [
|
|
3317
3316
|
/* @__PURE__ */ h("div", { className: "flex items-center justify-between", children: [
|
|
@@ -3330,7 +3329,7 @@ function rr({
|
|
|
3330
3329
|
{
|
|
3331
3330
|
className: "w-24 rounded-sm px-2 py-0.5 text-sm",
|
|
3332
3331
|
value: A,
|
|
3333
|
-
options:
|
|
3332
|
+
options: go(S.checkedDataType),
|
|
3334
3333
|
onChange: (W) => P(
|
|
3335
3334
|
S.name,
|
|
3336
3335
|
W.value
|
|
@@ -3351,7 +3350,7 @@ function rr({
|
|
|
3351
3350
|
}
|
|
3352
3351
|
) : /* @__PURE__ */ h("div", { className: "flex space-x-1", children: [
|
|
3353
3352
|
/* @__PURE__ */ r("div", { className: "flex-1", children: A === "json" ? /* @__PURE__ */ r("div", { className: "h-32 w-full rounded-sm border", children: /* @__PURE__ */ r(
|
|
3354
|
-
|
|
3353
|
+
Dt,
|
|
3355
3354
|
{
|
|
3356
3355
|
darkMode: l.darkMode,
|
|
3357
3356
|
tabIndex: I,
|
|
@@ -3380,7 +3379,7 @@ function rr({
|
|
|
3380
3379
|
onChange: (W) => B(S.name, W.target.value)
|
|
3381
3380
|
}
|
|
3382
3381
|
) : /* @__PURE__ */ r(
|
|
3383
|
-
|
|
3382
|
+
po,
|
|
3384
3383
|
{
|
|
3385
3384
|
tabIndex: I,
|
|
3386
3385
|
value: D ?? "",
|
|
@@ -3400,7 +3399,7 @@ function rr({
|
|
|
3400
3399
|
);
|
|
3401
3400
|
},
|
|
3402
3401
|
children: [
|
|
3403
|
-
/* @__PURE__ */ r(
|
|
3402
|
+
/* @__PURE__ */ r(cr, { height: 14 }),
|
|
3404
3403
|
"now"
|
|
3405
3404
|
]
|
|
3406
3405
|
}
|
|
@@ -3421,7 +3420,7 @@ function rr({
|
|
|
3421
3420
|
] })
|
|
3422
3421
|
] }),
|
|
3423
3422
|
/* @__PURE__ */ r("div", { className: "flex flex-col gap-1", children: /* @__PURE__ */ r(
|
|
3424
|
-
|
|
3423
|
+
yo,
|
|
3425
3424
|
{
|
|
3426
3425
|
db: e,
|
|
3427
3426
|
item: a,
|
|
@@ -3455,8 +3454,8 @@ function rr({
|
|
|
3455
3454
|
] })
|
|
3456
3455
|
] });
|
|
3457
3456
|
}
|
|
3458
|
-
const
|
|
3459
|
-
function
|
|
3457
|
+
const xo = [];
|
|
3458
|
+
function So(e, t, a, n = !1) {
|
|
3460
3459
|
if (e.length === 0) return;
|
|
3461
3460
|
const o = t.filter(
|
|
3462
3461
|
(c) => c.id !== "select-col" && c.header !== void 0 && !c.meta?.isLink
|
|
@@ -3466,29 +3465,29 @@ function No(e, t, a, n = !1) {
|
|
|
3466
3465
|
const d = c[f.header];
|
|
3467
3466
|
d == null ? p[f.header] = "" : typeof d == "object" ? p[f.header] = JSON.stringify(d) : p[f.header] = d;
|
|
3468
3467
|
}), p;
|
|
3469
|
-
}), i =
|
|
3468
|
+
}), i = en({
|
|
3470
3469
|
fieldSeparator: ",",
|
|
3471
3470
|
filename: `${a}_export`,
|
|
3472
3471
|
decimalSeparator: ".",
|
|
3473
3472
|
useKeysAsHeaders: !0
|
|
3474
|
-
}), g =
|
|
3475
|
-
n ? (
|
|
3473
|
+
}), g = tn(i)(l);
|
|
3474
|
+
n ? (rn(i)(g), oe("CSV file downloaded")) : (We(g.toString()), oe("CSV copied to clipboard"));
|
|
3476
3475
|
}
|
|
3477
|
-
function
|
|
3476
|
+
function No(e, t, a, n = !1) {
|
|
3478
3477
|
if (e.length === 0) return;
|
|
3479
3478
|
const o = t.filter(
|
|
3480
3479
|
(c) => c.id !== "select-col" && c.header !== void 0 && !c.meta?.isLink
|
|
3481
3480
|
), l = o.map((c) => c.header), i = e.map((c) => o.map((p) => {
|
|
3482
3481
|
const f = c[p.header];
|
|
3483
3482
|
return f == null ? " " : typeof f == "object" ? JSON.stringify(f) : String(f);
|
|
3484
|
-
})), g =
|
|
3483
|
+
})), g = Ja([l, ...i]);
|
|
3485
3484
|
if (n) {
|
|
3486
3485
|
const c = new Blob([g], { type: "text/markdown" }), p = URL.createObjectURL(c), f = document.createElement("a");
|
|
3487
3486
|
f.href = p, f.download = `${a}_export.md`, document.body.appendChild(f), f.click(), document.body.removeChild(f), URL.revokeObjectURL(p), oe("Markdown file downloaded");
|
|
3488
3487
|
} else
|
|
3489
|
-
|
|
3488
|
+
We(g), oe("Markdown copied to clipboard");
|
|
3490
3489
|
}
|
|
3491
|
-
function
|
|
3490
|
+
function Eo(e, t, a, n = !1) {
|
|
3492
3491
|
if (e.length === 0) return;
|
|
3493
3492
|
const o = t.filter(
|
|
3494
3493
|
(g) => g.id !== "select-col" && g.header !== void 0 && !g.meta?.isLink
|
|
@@ -3503,10 +3502,10 @@ function Co(e, t, a, n = !1) {
|
|
|
3503
3502
|
const g = new Blob([i], { type: "application/json" }), c = URL.createObjectURL(g), p = document.createElement("a");
|
|
3504
3503
|
p.href = c, p.download = `${a}_export.json`, document.body.appendChild(p), p.click(), document.body.removeChild(p), URL.revokeObjectURL(c), oe("JSON file downloaded");
|
|
3505
3504
|
} else
|
|
3506
|
-
|
|
3505
|
+
We(i), oe("JSON copied to clipboard");
|
|
3507
3506
|
}
|
|
3508
|
-
const
|
|
3509
|
-
const { explorerState: a, history: n } =
|
|
3507
|
+
const Co = ({ db: e, namespaces: t }) => {
|
|
3508
|
+
const { explorerState: a, history: n } = ut(), o = de(), l = a, i = t.find(
|
|
3510
3509
|
(E) => E.id === l.namespace
|
|
3511
3510
|
), [g, c] = C(50), [p, f] = C([]), [d, u] = C(!1), [s, m] = C(""), [b, w] = C(!1), [v, k] = C(null), [x, _] = C(null), [P, B] = C(!1);
|
|
3512
3511
|
X(null);
|
|
@@ -3518,12 +3517,12 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
3518
3517
|
Ce((pe) => {
|
|
3519
3518
|
const je = { ...pe };
|
|
3520
3519
|
for (let Ae = K; Ae <= J; Ae++) {
|
|
3521
|
-
const
|
|
3522
|
-
N ? je[
|
|
3520
|
+
const rt = R[Ae];
|
|
3521
|
+
N ? je[rt] = !0 : delete je[rt];
|
|
3523
3522
|
}
|
|
3524
3523
|
return je;
|
|
3525
3524
|
});
|
|
3526
|
-
}, [F, Q] = C([]), { itemsRes: te, allCount: W } =
|
|
3525
|
+
}, [F, Q] = C([]), { itemsRes: te, allCount: W } = jn(
|
|
3527
3526
|
e,
|
|
3528
3527
|
i,
|
|
3529
3528
|
l?.where,
|
|
@@ -3532,16 +3531,16 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
3532
3531
|
T,
|
|
3533
3532
|
I,
|
|
3534
3533
|
A
|
|
3535
|
-
), re = te.data?.[i?.name ?? ""] ??
|
|
3534
|
+
), re = te.data?.[i?.name ?? ""] ?? xo;
|
|
3536
3535
|
function ye(E, N) {
|
|
3537
3536
|
return E.filter((R) => N[R.id]);
|
|
3538
3537
|
}
|
|
3539
|
-
const ce = W ? Math.ceil(W / g) : 1, Z = T / g + 1, [ke,
|
|
3538
|
+
const ce = W ? Math.ceil(W / g) : 1, Z = T / g + 1, [ke, Kr] = Pn("localDates", !1), Xr = async () => {
|
|
3540
3539
|
try {
|
|
3541
3540
|
if (u(!0), p.length === 0)
|
|
3542
3541
|
return;
|
|
3543
3542
|
const [E] = p;
|
|
3544
|
-
await
|
|
3543
|
+
await Ro(
|
|
3545
3544
|
o.adminToken,
|
|
3546
3545
|
o.appId,
|
|
3547
3546
|
E,
|
|
@@ -3553,14 +3552,14 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
3553
3552
|
} finally {
|
|
3554
3553
|
u(!1);
|
|
3555
3554
|
}
|
|
3556
|
-
},
|
|
3555
|
+
}, Ft = le(() => re, [re]), De = X(null), [$t, zt] = C(0), [jt, Mt] = C(1), [Bt, Ut] = C(!1), Zr = (E) => {
|
|
3557
3556
|
if (ae?.getColumn(E)?.columnDef.header === "id") {
|
|
3558
|
-
|
|
3557
|
+
Pt(E, 285);
|
|
3559
3558
|
return;
|
|
3560
3559
|
}
|
|
3561
|
-
const N =
|
|
3562
|
-
|
|
3563
|
-
},
|
|
3560
|
+
const N = Gn(E, 800);
|
|
3561
|
+
Pt(E, N);
|
|
3562
|
+
}, Pt = (E, N = 200) => {
|
|
3564
3563
|
if (!i)
|
|
3565
3564
|
return;
|
|
3566
3565
|
const R = {};
|
|
@@ -3570,7 +3569,7 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
3570
3569
|
...R,
|
|
3571
3570
|
[E]: N
|
|
3572
3571
|
});
|
|
3573
|
-
}, Le =
|
|
3572
|
+
}, Le = le(() => {
|
|
3574
3573
|
const E = [];
|
|
3575
3574
|
return E.push({
|
|
3576
3575
|
id: "select-col",
|
|
@@ -3611,7 +3610,7 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
3611
3610
|
{
|
|
3612
3611
|
className: "translate-y-0.5 opacity-0 transition-opacity group-hover:opacity-100",
|
|
3613
3612
|
onClick: () => _(N.id),
|
|
3614
|
-
children: /* @__PURE__ */ r(
|
|
3613
|
+
children: /* @__PURE__ */ r(Na, { className: "h-4 w-4 text-neutral-500 dark:text-neutral-400" })
|
|
3615
3614
|
}
|
|
3616
3615
|
)
|
|
3617
3616
|
] })
|
|
@@ -3661,21 +3660,21 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
3661
3660
|
}
|
|
3662
3661
|
);
|
|
3663
3662
|
if (N.name === "size")
|
|
3664
|
-
return
|
|
3663
|
+
return qn(R.row.original[N.name]);
|
|
3665
3664
|
}
|
|
3666
3665
|
if (N.checkedDataType === "boolean")
|
|
3667
3666
|
return R.row.original[N.name] ? "true" : "false";
|
|
3668
3667
|
if (N.checkedDataType === "date") {
|
|
3669
|
-
const $ =
|
|
3668
|
+
const $ = La(R.row.original[N.name]);
|
|
3670
3669
|
return ke && $?.toLocaleString() || R.row.original[N.name];
|
|
3671
3670
|
}
|
|
3672
|
-
return Ne(R.row.original[N.name]) ? /* @__PURE__ */ r(
|
|
3671
|
+
return Ne(R.row.original[N.name]) ? /* @__PURE__ */ r(Ao, { data: R.row.original[N.name] }) : R.row.original[N.name];
|
|
3673
3672
|
}
|
|
3674
3673
|
});
|
|
3675
3674
|
}), E;
|
|
3676
|
-
}, [i?.attrs, ke]), [
|
|
3675
|
+
}, [i?.attrs, ke]), [Qr, Jr] = C({}), ea = () => {
|
|
3677
3676
|
const E = Object.entries(ae.getState().columnSizing).reduce(
|
|
3678
|
-
(U, [K, J]) =>
|
|
3677
|
+
(U, [K, J]) => et.visibility[K] !== !1 ? {
|
|
3679
3678
|
...U,
|
|
3680
3679
|
[K]: J
|
|
3681
3680
|
} : U,
|
|
@@ -3690,26 +3689,26 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
3690
3689
|
E[J] += K;
|
|
3691
3690
|
});
|
|
3692
3691
|
}
|
|
3693
|
-
|
|
3694
|
-
},
|
|
3692
|
+
Ut(!1), ae.setColumnSizing(() => ({ ...E }));
|
|
3693
|
+
}, ta = "onChange", ra = "ltr", et = Bn({
|
|
3695
3694
|
appId: o.appId,
|
|
3696
3695
|
attrs: i?.attrs,
|
|
3697
3696
|
namespaceId: i?.id
|
|
3698
|
-
}), [Fe,
|
|
3697
|
+
}), [Fe, tt] = C(
|
|
3699
3698
|
() => Le.map((E) => E.id)
|
|
3700
3699
|
);
|
|
3701
|
-
|
|
3700
|
+
yt(() => {
|
|
3702
3701
|
if (i?.attrs) {
|
|
3703
3702
|
const E = localStorage.getItem(
|
|
3704
3703
|
`order-${i.id}-${o.appId}`
|
|
3705
3704
|
);
|
|
3706
3705
|
if (E)
|
|
3707
|
-
|
|
3706
|
+
tt(JSON.parse(E));
|
|
3708
3707
|
else {
|
|
3709
3708
|
const N = i.attrs.map(
|
|
3710
3709
|
(R) => R.id + R.name
|
|
3711
3710
|
);
|
|
3712
|
-
|
|
3711
|
+
tt(["select-col", ...N]);
|
|
3713
3712
|
}
|
|
3714
3713
|
}
|
|
3715
3714
|
}, [i?.attrs]), H(() => {
|
|
@@ -3724,47 +3723,47 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
3724
3723
|
H(() => {
|
|
3725
3724
|
Ce({}), L.current = null;
|
|
3726
3725
|
}, [i?.id]);
|
|
3727
|
-
const $e = Object.keys(xe).length, Ie = j === "$files" ? $e === 1 ? "file" : "files" : $e === 1 ? "row" : "rows", ae =
|
|
3728
|
-
columnResizeDirection:
|
|
3729
|
-
columnResizeMode:
|
|
3730
|
-
onColumnVisibilityChange:
|
|
3726
|
+
const $e = Object.keys(xe).length, Ie = j === "$files" ? $e === 1 ? "file" : "files" : $e === 1 ? "row" : "rows", ae = on({
|
|
3727
|
+
columnResizeDirection: ra,
|
|
3728
|
+
columnResizeMode: ta,
|
|
3729
|
+
onColumnVisibilityChange: et.setVisibility,
|
|
3731
3730
|
columns: Le,
|
|
3732
|
-
data:
|
|
3731
|
+
data: Ft,
|
|
3733
3732
|
enableColumnResizing: !0,
|
|
3734
3733
|
enableRowSelection: !0,
|
|
3735
|
-
getCoreRowModel:
|
|
3734
|
+
getCoreRowModel: ln(),
|
|
3736
3735
|
getRowId: (E) => E.id,
|
|
3737
|
-
onColumnOrderChange:
|
|
3736
|
+
onColumnOrderChange: tt,
|
|
3738
3737
|
onRowSelectionChange: Ce,
|
|
3739
|
-
onColumnSizingChange:
|
|
3738
|
+
onColumnSizingChange: Jr,
|
|
3740
3739
|
state: {
|
|
3741
|
-
columnSizing:
|
|
3740
|
+
columnSizing: Qr,
|
|
3742
3741
|
columnOrder: Fe,
|
|
3743
|
-
columnVisibility:
|
|
3742
|
+
columnVisibility: et.visibility,
|
|
3744
3743
|
rowSelection: xe
|
|
3745
3744
|
}
|
|
3746
|
-
}), [Se,
|
|
3745
|
+
}), [Se, mt] = C(!1);
|
|
3747
3746
|
H(() => {
|
|
3748
3747
|
const E = ($) => {
|
|
3749
|
-
$.key === "Shift" &&
|
|
3748
|
+
$.key === "Shift" && mt(!0);
|
|
3750
3749
|
}, N = ($) => {
|
|
3751
|
-
$.key === "Shift" &&
|
|
3750
|
+
$.key === "Shift" && mt(!1);
|
|
3752
3751
|
}, R = () => {
|
|
3753
|
-
|
|
3752
|
+
mt(!1);
|
|
3754
3753
|
};
|
|
3755
3754
|
return window.addEventListener("keydown", E), window.addEventListener("keyup", N), window.addEventListener("blur", R), () => {
|
|
3756
3755
|
window.removeEventListener("keydown", E), window.removeEventListener("keyup", N), window.removeEventListener("blur-sm", R);
|
|
3757
3756
|
};
|
|
3758
3757
|
}, []);
|
|
3759
|
-
const [
|
|
3760
|
-
function
|
|
3758
|
+
const [aa, ze] = C(!1);
|
|
3759
|
+
function na(E) {
|
|
3761
3760
|
const { active: N, over: R } = E;
|
|
3762
|
-
N && R && N.id !== R.id && N.id !== "select-col" && R.id !== "select-col" &&
|
|
3761
|
+
N && R && N.id !== R.id && N.id !== "select-col" && R.id !== "select-col" && tt(($) => {
|
|
3763
3762
|
const U = $.indexOf(N.id), K = $.indexOf(R.id);
|
|
3764
|
-
return
|
|
3763
|
+
return nn($, U, K);
|
|
3765
3764
|
});
|
|
3766
3765
|
}
|
|
3767
|
-
const
|
|
3766
|
+
const bt = le(
|
|
3768
3767
|
() => re.find((E) => E.id === x),
|
|
3769
3768
|
[re.length, x]
|
|
3770
3769
|
);
|
|
@@ -3773,16 +3772,16 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
3773
3772
|
if (!E) return;
|
|
3774
3773
|
const N = () => {
|
|
3775
3774
|
const U = ae.getCenterTotalSize(), K = E.clientWidth;
|
|
3776
|
-
|
|
3775
|
+
Ut(U < K - 5);
|
|
3777
3776
|
const { scrollLeft: J, scrollWidth: pe, clientWidth: je } = E, Ae = pe - je;
|
|
3778
3777
|
if (Ae <= 0) {
|
|
3779
|
-
|
|
3778
|
+
zt(0), Mt(0);
|
|
3780
3779
|
return;
|
|
3781
3780
|
}
|
|
3782
|
-
const
|
|
3783
|
-
|
|
3784
|
-
const
|
|
3785
|
-
|
|
3781
|
+
const rt = Math.min(J / 30, 1);
|
|
3782
|
+
zt(rt);
|
|
3783
|
+
const da = Math.min((Ae - J) / 30, 1);
|
|
3784
|
+
Mt(da);
|
|
3786
3785
|
};
|
|
3787
3786
|
N(), E.addEventListener("scroll", N);
|
|
3788
3787
|
const R = new ResizeObserver(N);
|
|
@@ -3791,13 +3790,13 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
3791
3790
|
return $ && R.observe($), window.addEventListener("resize", N), () => {
|
|
3792
3791
|
E.removeEventListener("scroll", N), R.disconnect(), window.removeEventListener("resize", N);
|
|
3793
3792
|
};
|
|
3794
|
-
}, [i,
|
|
3795
|
-
const
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
),
|
|
3800
|
-
if (
|
|
3793
|
+
}, [i, Ft]);
|
|
3794
|
+
const oa = Va(
|
|
3795
|
+
wt(Ya, {}),
|
|
3796
|
+
wt(Ka, {}),
|
|
3797
|
+
wt(Xa, {})
|
|
3798
|
+
), ia = n.items.length >= 1, la = (E) => E === "id" ? 140 : E === "url" ? 120 : E.length * 7.2 + 50;
|
|
3799
|
+
if (yt(() => {
|
|
3801
3800
|
if (i?.id) {
|
|
3802
3801
|
if (localStorage.getItem(
|
|
3803
3802
|
`$sizing-${i.id}-${o.appId}`
|
|
@@ -3812,7 +3811,7 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
3812
3811
|
}
|
|
3813
3812
|
const E = De.current?.clientWidth || -1, N = {};
|
|
3814
3813
|
i?.attrs.forEach((U) => {
|
|
3815
|
-
N[U.id + U.name] =
|
|
3814
|
+
N[U.id + U.name] = la(U.name);
|
|
3816
3815
|
});
|
|
3817
3816
|
const R = Object.values(N).reduce(
|
|
3818
3817
|
(U, K) => U + K,
|
|
@@ -3828,7 +3827,7 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
3828
3827
|
}
|
|
3829
3828
|
}, [De.current, i]), !i)
|
|
3830
3829
|
return null;
|
|
3831
|
-
const
|
|
3830
|
+
const sa = i.id;
|
|
3832
3831
|
return /* @__PURE__ */ h(M, { children: [
|
|
3833
3832
|
/* @__PURE__ */ r(
|
|
3834
3833
|
fe,
|
|
@@ -3841,7 +3840,7 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
3841
3840
|
"Delete ",
|
|
3842
3841
|
Ie
|
|
3843
3842
|
] }),
|
|
3844
|
-
/* @__PURE__ */ h(
|
|
3843
|
+
/* @__PURE__ */ h(gt, { children: [
|
|
3845
3844
|
"Deleting is an",
|
|
3846
3845
|
" ",
|
|
3847
3846
|
/* @__PURE__ */ r("strong", { className: "dark:text-white", children: "irreversible operation" }),
|
|
@@ -3874,7 +3873,7 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
3874
3873
|
try {
|
|
3875
3874
|
if (i.name === "$files") {
|
|
3876
3875
|
const E = re.filter((N) => N.id in xe).map((N) => N.path);
|
|
3877
|
-
await
|
|
3876
|
+
await To(
|
|
3878
3877
|
o.adminToken,
|
|
3879
3878
|
o.appId,
|
|
3880
3879
|
E,
|
|
@@ -3883,7 +3882,7 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
3883
3882
|
} else
|
|
3884
3883
|
await e.transact(
|
|
3885
3884
|
Object.keys(xe).map(
|
|
3886
|
-
(E) =>
|
|
3885
|
+
(E) => Fa[i.name][E].delete()
|
|
3887
3886
|
)
|
|
3888
3887
|
);
|
|
3889
3888
|
} catch (E) {
|
|
@@ -3907,7 +3906,7 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
3907
3906
|
open: P,
|
|
3908
3907
|
onClose: () => B(!1),
|
|
3909
3908
|
children: i ? /* @__PURE__ */ r(
|
|
3910
|
-
|
|
3909
|
+
ar,
|
|
3911
3910
|
{
|
|
3912
3911
|
db: e,
|
|
3913
3912
|
item: {},
|
|
@@ -3921,14 +3920,14 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
3921
3920
|
fe,
|
|
3922
3921
|
{
|
|
3923
3922
|
title: "Edit Row",
|
|
3924
|
-
open: !!
|
|
3923
|
+
open: !!bt,
|
|
3925
3924
|
onClose: () => _(null),
|
|
3926
|
-
children: i &&
|
|
3927
|
-
|
|
3925
|
+
children: i && bt ? /* @__PURE__ */ r(
|
|
3926
|
+
ar,
|
|
3928
3927
|
{
|
|
3929
3928
|
db: e,
|
|
3930
3929
|
namespace: i,
|
|
3931
|
-
item:
|
|
3930
|
+
item: bt,
|
|
3932
3931
|
onClose: () => _(null)
|
|
3933
3932
|
}
|
|
3934
3933
|
) : null
|
|
@@ -3942,7 +3941,7 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
3942
3941
|
open: !!v,
|
|
3943
3942
|
onClose: () => k(null),
|
|
3944
3943
|
children: i ? /* @__PURE__ */ r(
|
|
3945
|
-
|
|
3944
|
+
eo,
|
|
3946
3945
|
{
|
|
3947
3946
|
readOnly: S,
|
|
3948
3947
|
isSystemCatalogNs: z,
|
|
@@ -3959,8 +3958,8 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
3959
3958
|
/* @__PURE__ */ h("div", { className: "flex flex-1 grow flex-col overflow-hidden bg-white dark:bg-neutral-800", children: [
|
|
3960
3959
|
/* @__PURE__ */ r("div", { className: "flex items-center overflow-hidden border-b border-b-gray-200 dark:border-neutral-700", children: /* @__PURE__ */ h("div", { className: "flex flex-1 flex-col justify-between py-2 md:flex-row md:items-center", children: [
|
|
3961
3960
|
/* @__PURE__ */ h("div", { className: "flex items-center overflow-hidden border-b px-2 py-1 pl-4 md:border-b-0 dark:border-neutral-700", children: [
|
|
3962
|
-
|
|
3963
|
-
|
|
3961
|
+
ia ? /* @__PURE__ */ r(
|
|
3962
|
+
Ht,
|
|
3964
3963
|
{
|
|
3965
3964
|
className: "mr-4 inline cursor-pointer",
|
|
3966
3965
|
height: "1rem",
|
|
@@ -3968,7 +3967,7 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
3968
3967
|
}
|
|
3969
3968
|
) : null,
|
|
3970
3969
|
l.where ? /* @__PURE__ */ r(
|
|
3971
|
-
|
|
3970
|
+
ur,
|
|
3972
3971
|
{
|
|
3973
3972
|
className: "mr-4 inline cursor-pointer",
|
|
3974
3973
|
height: "1rem",
|
|
@@ -4025,13 +4024,13 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
4025
4024
|
}
|
|
4026
4025
|
),
|
|
4027
4026
|
/* @__PURE__ */ r(
|
|
4028
|
-
|
|
4027
|
+
Ln,
|
|
4029
4028
|
{
|
|
4030
4029
|
onSearchChange: (E) => Q(E),
|
|
4031
4030
|
attrs: i?.attrs,
|
|
4032
4031
|
initialFilters: l?.filters || []
|
|
4033
4032
|
},
|
|
4034
|
-
|
|
4033
|
+
sa
|
|
4035
4034
|
)
|
|
4036
4035
|
] })
|
|
4037
4036
|
] }) }),
|
|
@@ -4056,7 +4055,7 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
4056
4055
|
disabled: p.length === 0,
|
|
4057
4056
|
size: "mini",
|
|
4058
4057
|
loading: d,
|
|
4059
|
-
onClick:
|
|
4058
|
+
onClick: Xr,
|
|
4060
4059
|
className: "rounded-sm",
|
|
4061
4060
|
children: d ? "Uploading..." : "Upload file"
|
|
4062
4061
|
}
|
|
@@ -4088,7 +4087,7 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
4088
4087
|
B(!0);
|
|
4089
4088
|
},
|
|
4090
4089
|
children: [
|
|
4091
|
-
/* @__PURE__ */ r(
|
|
4090
|
+
/* @__PURE__ */ r(sn, { width: 12 }),
|
|
4092
4091
|
"Add row"
|
|
4093
4092
|
]
|
|
4094
4093
|
}
|
|
@@ -4145,7 +4144,7 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
4145
4144
|
}));
|
|
4146
4145
|
},
|
|
4147
4146
|
children: /* @__PURE__ */ r(
|
|
4148
|
-
|
|
4147
|
+
Ht,
|
|
4149
4148
|
{
|
|
4150
4149
|
className: O("inline", {
|
|
4151
4150
|
"opacity-40": Z <= 1
|
|
@@ -4194,7 +4193,7 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
4194
4193
|
}));
|
|
4195
4194
|
},
|
|
4196
4195
|
children: /* @__PURE__ */ r(
|
|
4197
|
-
|
|
4196
|
+
dn,
|
|
4198
4197
|
{
|
|
4199
4198
|
className: O("inline", {
|
|
4200
4199
|
"opacity-40": Z >= ce
|
|
@@ -4205,8 +4204,8 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
4205
4204
|
}
|
|
4206
4205
|
),
|
|
4207
4206
|
$e > 0 && /* @__PURE__ */ h("div", { className: "flex items-center gap-2 pl-4", children: [
|
|
4208
|
-
/* @__PURE__ */ h(
|
|
4209
|
-
/* @__PURE__ */ r(
|
|
4207
|
+
/* @__PURE__ */ h(qr, { open: aa, onOpenChange: ze, children: [
|
|
4208
|
+
/* @__PURE__ */ r(Gr, { children: /* @__PURE__ */ h(
|
|
4210
4209
|
V,
|
|
4211
4210
|
{
|
|
4212
4211
|
onClick: () => {
|
|
@@ -4214,7 +4213,7 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
4214
4213
|
},
|
|
4215
4214
|
variant: "secondary",
|
|
4216
4215
|
children: [
|
|
4217
|
-
/* @__PURE__ */ r(
|
|
4216
|
+
/* @__PURE__ */ r(Ea, { width: 14 }),
|
|
4218
4217
|
"Export (",
|
|
4219
4218
|
$e,
|
|
4220
4219
|
")"
|
|
@@ -4222,7 +4221,7 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
4222
4221
|
}
|
|
4223
4222
|
) }),
|
|
4224
4223
|
/* @__PURE__ */ h(
|
|
4225
|
-
|
|
4224
|
+
Hr,
|
|
4226
4225
|
{
|
|
4227
4226
|
className: "z-100",
|
|
4228
4227
|
align: "end",
|
|
@@ -4238,7 +4237,7 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
4238
4237
|
re,
|
|
4239
4238
|
xe
|
|
4240
4239
|
);
|
|
4241
|
-
|
|
4240
|
+
So(
|
|
4242
4241
|
N,
|
|
4243
4242
|
Le,
|
|
4244
4243
|
i.name,
|
|
@@ -4247,7 +4246,7 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
4247
4246
|
},
|
|
4248
4247
|
className: "flex items-center gap-2",
|
|
4249
4248
|
children: [
|
|
4250
|
-
/* @__PURE__ */ r(
|
|
4249
|
+
/* @__PURE__ */ r(cn, { width: 12 }),
|
|
4251
4250
|
Se ? "Download as CSV" : "Copy as CSV"
|
|
4252
4251
|
]
|
|
4253
4252
|
}
|
|
@@ -4261,7 +4260,7 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
4261
4260
|
re,
|
|
4262
4261
|
xe
|
|
4263
4262
|
);
|
|
4264
|
-
|
|
4263
|
+
No(
|
|
4265
4264
|
N,
|
|
4266
4265
|
Le,
|
|
4267
4266
|
i.name,
|
|
@@ -4270,7 +4269,7 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
4270
4269
|
},
|
|
4271
4270
|
className: "flex items-center gap-2",
|
|
4272
4271
|
children: [
|
|
4273
|
-
/* @__PURE__ */ r(
|
|
4272
|
+
/* @__PURE__ */ r(un, { width: 12 }),
|
|
4274
4273
|
Se ? "Download as Markdown" : "Copy as Markdown"
|
|
4275
4274
|
]
|
|
4276
4275
|
}
|
|
@@ -4284,7 +4283,7 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
4284
4283
|
re,
|
|
4285
4284
|
xe
|
|
4286
4285
|
);
|
|
4287
|
-
|
|
4286
|
+
Eo(
|
|
4288
4287
|
N,
|
|
4289
4288
|
Le,
|
|
4290
4289
|
i.name,
|
|
@@ -4293,13 +4292,13 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
4293
4292
|
},
|
|
4294
4293
|
className: "flex items-center gap-2",
|
|
4295
4294
|
children: [
|
|
4296
|
-
/* @__PURE__ */ r(
|
|
4295
|
+
/* @__PURE__ */ r(pn, { width: 12 }),
|
|
4297
4296
|
Se ? "Download as JSON" : "Copy as JSON"
|
|
4298
4297
|
]
|
|
4299
4298
|
}
|
|
4300
4299
|
),
|
|
4301
4300
|
!Se && /* @__PURE__ */ h(M, { children: [
|
|
4302
|
-
/* @__PURE__ */ r(
|
|
4301
|
+
/* @__PURE__ */ r(Wr, {}),
|
|
4303
4302
|
/* @__PURE__ */ r(
|
|
4304
4303
|
Pe,
|
|
4305
4304
|
{
|
|
@@ -4322,7 +4321,7 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
4322
4321
|
className: "px-2",
|
|
4323
4322
|
variant: "destructive",
|
|
4324
4323
|
children: [
|
|
4325
|
-
/* @__PURE__ */ r(
|
|
4324
|
+
/* @__PURE__ */ r(Ca, { width: 14 }),
|
|
4326
4325
|
"Delete Selected Rows"
|
|
4327
4326
|
]
|
|
4328
4327
|
}
|
|
@@ -4330,30 +4329,30 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
4330
4329
|
] }),
|
|
4331
4330
|
/* @__PURE__ */ r("div", { className: "grow" }),
|
|
4332
4331
|
/* @__PURE__ */ r("div", { className: "px-2", children: /* @__PURE__ */ r(
|
|
4333
|
-
|
|
4332
|
+
Kn,
|
|
4334
4333
|
{
|
|
4335
4334
|
localDates: ke,
|
|
4336
|
-
setLocalDates:
|
|
4337
|
-
visiblity:
|
|
4335
|
+
setLocalDates: Kr,
|
|
4336
|
+
visiblity: et
|
|
4338
4337
|
}
|
|
4339
4338
|
) })
|
|
4340
4339
|
] }),
|
|
4341
4340
|
/* @__PURE__ */ r(
|
|
4342
|
-
|
|
4341
|
+
Za,
|
|
4343
4342
|
{
|
|
4344
|
-
collisionDetection:
|
|
4345
|
-
modifiers: [
|
|
4346
|
-
onDragEnd:
|
|
4347
|
-
sensors:
|
|
4343
|
+
collisionDetection: Qa,
|
|
4344
|
+
modifiers: [an],
|
|
4345
|
+
onDragEnd: na,
|
|
4346
|
+
sensors: oa,
|
|
4348
4347
|
children: /* @__PURE__ */ h("div", { className: "relative flex-1 overflow-hidden bg-neutral-100 dark:bg-neutral-900/50", children: [
|
|
4349
|
-
!
|
|
4348
|
+
!Bt && /* @__PURE__ */ r(
|
|
4350
4349
|
"div",
|
|
4351
4350
|
{
|
|
4352
4351
|
className: "absolute top-0 right-0 bottom-0 z-50 w-[30px] bg-linear-to-l from-black/20 via-black/5 to-transparent transition-opacity duration-150",
|
|
4353
4352
|
style: {
|
|
4354
4353
|
pointerEvents: "none",
|
|
4355
|
-
opacity:
|
|
4356
|
-
display:
|
|
4354
|
+
opacity: jt,
|
|
4355
|
+
display: jt == 0 ? "none" : void 0
|
|
4357
4356
|
}
|
|
4358
4357
|
}
|
|
4359
4358
|
),
|
|
@@ -4363,8 +4362,8 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
4363
4362
|
className: "absolute top-0 bottom-0 left-0 z-50 w-[30px] bg-linear-to-r from-black/10 via-black/0 to-transparent transition-opacity duration-150",
|
|
4364
4363
|
style: {
|
|
4365
4364
|
pointerEvents: "none",
|
|
4366
|
-
opacity:
|
|
4367
|
-
display:
|
|
4365
|
+
opacity: $t,
|
|
4366
|
+
display: $t == 0 ? "none" : void 0
|
|
4368
4367
|
}
|
|
4369
4368
|
}
|
|
4370
4369
|
),
|
|
@@ -4378,18 +4377,18 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
4378
4377
|
className: "z-0 inline-block text-left align-top font-mono text-xs text-neutral-500 dark:text-neutral-400",
|
|
4379
4378
|
children: [
|
|
4380
4379
|
/* @__PURE__ */ r("div", { className: "sticky top-0 z-10 border-r border-b border-gray-200 border-r-gray-200 bg-white text-neutral-700 shadow-sm dark:border-r-neutral-700 dark:border-b-neutral-600 dark:bg-[#303030] dark:text-neutral-300", children: ae.getHeaderGroups().map((E) => /* @__PURE__ */ r("div", { className: "flex w-full", children: /* @__PURE__ */ r(
|
|
4381
|
-
|
|
4380
|
+
qt,
|
|
4382
4381
|
{
|
|
4383
4382
|
items: Fe,
|
|
4384
|
-
strategy:
|
|
4383
|
+
strategy: Gt,
|
|
4385
4384
|
children: E.headers.map((N, R) => /* @__PURE__ */ r(
|
|
4386
|
-
|
|
4385
|
+
Wn,
|
|
4387
4386
|
{
|
|
4388
4387
|
header: N,
|
|
4389
4388
|
table: ae,
|
|
4390
4389
|
headerGroup: E,
|
|
4391
4390
|
index: R,
|
|
4392
|
-
setMinViableColWidth:
|
|
4391
|
+
setMinViableColWidth: Zr,
|
|
4393
4392
|
onSort: ($, U, K) => {
|
|
4394
4393
|
n.push((J) => ({
|
|
4395
4394
|
...J,
|
|
@@ -4409,11 +4408,11 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
4409
4408
|
{
|
|
4410
4409
|
className: "group flex border-r border-b border-r-gray-200 border-b-gray-200 bg-white dark:border-neutral-700 dark:border-r-neutral-700 dark:bg-neutral-800",
|
|
4411
4410
|
children: E.getVisibleCells().map((N) => /* @__PURE__ */ r(
|
|
4412
|
-
|
|
4411
|
+
qt,
|
|
4413
4412
|
{
|
|
4414
4413
|
items: Fe,
|
|
4415
|
-
strategy:
|
|
4416
|
-
children: /* @__PURE__ */ r(
|
|
4414
|
+
strategy: Gt,
|
|
4415
|
+
children: /* @__PURE__ */ r(Vn, { cell: N }, N.id)
|
|
4417
4416
|
},
|
|
4418
4417
|
N.id
|
|
4419
4418
|
))
|
|
@@ -4423,14 +4422,14 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
4423
4422
|
]
|
|
4424
4423
|
}
|
|
4425
4424
|
),
|
|
4426
|
-
|
|
4427
|
-
|
|
4425
|
+
Bt && /* @__PURE__ */ r("div", { className: "sticky top-0 inline-block align-top", children: /* @__PURE__ */ r(
|
|
4426
|
+
ht,
|
|
4428
4427
|
{
|
|
4429
4428
|
className: "opacity-60",
|
|
4430
4429
|
labelDirection: "bottom",
|
|
4431
4430
|
label: "Fill Width",
|
|
4432
|
-
icon: /* @__PURE__ */ r(
|
|
4433
|
-
onClick:
|
|
4431
|
+
icon: /* @__PURE__ */ r(gn, {}),
|
|
4432
|
+
onClick: ea
|
|
4434
4433
|
}
|
|
4435
4434
|
) })
|
|
4436
4435
|
] })
|
|
@@ -4440,32 +4439,32 @@ const Io = ({ db: e, namespaces: t }) => {
|
|
|
4440
4439
|
] })
|
|
4441
4440
|
] });
|
|
4442
4441
|
};
|
|
4443
|
-
function
|
|
4442
|
+
function Io(e, t) {
|
|
4444
4443
|
return Ne(e) ? JSON.stringify(e, null, t ? 2 : void 0) : String(e);
|
|
4445
4444
|
}
|
|
4446
|
-
function
|
|
4447
|
-
const a = de(), n =
|
|
4448
|
-
return t && Ne(e) ? /* @__PURE__ */ r(
|
|
4445
|
+
function Ao({ data: e, pretty: t }) {
|
|
4446
|
+
const a = de(), n = Io(e, t);
|
|
4447
|
+
return t && Ne(e) ? /* @__PURE__ */ r(Lt, { darkMode: a.darkMode, code: n, language: "json" }) : /* @__PURE__ */ r(M, { children: n });
|
|
4449
4448
|
}
|
|
4450
|
-
async function
|
|
4449
|
+
async function Lr(e, t) {
|
|
4451
4450
|
const a = await fetch(e, t), n = await a.json();
|
|
4452
4451
|
return a.status === 200 ? Promise.resolve(n) : Promise.reject({ status: a.status, body: n });
|
|
4453
4452
|
}
|
|
4454
|
-
async function
|
|
4453
|
+
async function Ro(e, t, a, n, o) {
|
|
4455
4454
|
const l = {
|
|
4456
4455
|
app_id: t,
|
|
4457
4456
|
path: n || a.name,
|
|
4458
4457
|
authorization: `Bearer ${e}`,
|
|
4459
4458
|
"content-type": a.type
|
|
4460
4459
|
};
|
|
4461
|
-
return await
|
|
4460
|
+
return await Lr(`${o}/dash/apps/${t}/storage/upload`, {
|
|
4462
4461
|
method: "PUT",
|
|
4463
4462
|
headers: l,
|
|
4464
4463
|
body: a
|
|
4465
4464
|
});
|
|
4466
4465
|
}
|
|
4467
|
-
async function
|
|
4468
|
-
const { data: o } = await
|
|
4466
|
+
async function To(e, t, a, n) {
|
|
4467
|
+
const { data: o } = await Lr(
|
|
4469
4468
|
`${n}/dash/apps/${t}/storage/files/delete`,
|
|
4470
4469
|
{
|
|
4471
4470
|
method: "POST",
|
|
@@ -4478,7 +4477,7 @@ async function Oo(e, t, a, n) {
|
|
|
4478
4477
|
);
|
|
4479
4478
|
return o;
|
|
4480
4479
|
}
|
|
4481
|
-
function
|
|
4480
|
+
function Oo(e, t) {
|
|
4482
4481
|
const a = (n) => {
|
|
4483
4482
|
e.current && n.target instanceof HTMLElement && !e.current.contains(n.target) && t();
|
|
4484
4483
|
};
|
|
@@ -4486,19 +4485,19 @@ function _o(e, t) {
|
|
|
4486
4485
|
document.removeEventListener("click", a);
|
|
4487
4486
|
}));
|
|
4488
4487
|
}
|
|
4489
|
-
const
|
|
4488
|
+
const _o = ({
|
|
4490
4489
|
namespaces: e,
|
|
4491
4490
|
db: t
|
|
4492
4491
|
}) => {
|
|
4493
|
-
const a = de(), n =
|
|
4492
|
+
const a = de(), n = st(), o = st(), l = e.find(
|
|
4494
4493
|
(f) => f.id === a.explorerState?.namespace
|
|
4495
4494
|
), [i, g] = C(!1), c = X(null);
|
|
4496
|
-
|
|
4495
|
+
Oo(c, () => {
|
|
4497
4496
|
g(!1);
|
|
4498
4497
|
}), H(() => {
|
|
4499
4498
|
!l && e.length > 0 && a.setExplorerState({ namespace: e[0].id });
|
|
4500
4499
|
}, [l, e, a]);
|
|
4501
|
-
const p =
|
|
4500
|
+
const p = Ir(a.appId);
|
|
4502
4501
|
return /* @__PURE__ */ h(
|
|
4503
4502
|
"div",
|
|
4504
4503
|
{
|
|
@@ -4507,9 +4506,9 @@ const Do = ({
|
|
|
4507
4506
|
a.className
|
|
4508
4507
|
),
|
|
4509
4508
|
children: [
|
|
4510
|
-
/* @__PURE__ */ r(fe, { title: "Recently Deleted Namespaces", ...n, children: /* @__PURE__ */ r(
|
|
4509
|
+
/* @__PURE__ */ r(fe, { title: "Recently Deleted Namespaces", ...n, children: /* @__PURE__ */ r(En, { appId: a.appId, db: t }) }),
|
|
4511
4510
|
/* @__PURE__ */ r(fe, { title: "New Namespace", ...o, children: /* @__PURE__ */ r(
|
|
4512
|
-
|
|
4511
|
+
Rn,
|
|
4513
4512
|
{
|
|
4514
4513
|
db: t,
|
|
4515
4514
|
onClose: (f) => {
|
|
@@ -4530,7 +4529,7 @@ const Do = ({
|
|
|
4530
4529
|
children: [
|
|
4531
4530
|
/* @__PURE__ */ h("div", { className: "flex items-center gap-1 text-sm font-semibold dark:text-white", children: [
|
|
4532
4531
|
/* @__PURE__ */ r(
|
|
4533
|
-
|
|
4532
|
+
Ua,
|
|
4534
4533
|
{
|
|
4535
4534
|
height: "1rem",
|
|
4536
4535
|
className: "cursor-pointer md:hidden dark:text-white",
|
|
@@ -4541,7 +4540,7 @@ const Do = ({
|
|
|
4541
4540
|
] }),
|
|
4542
4541
|
e ? /* @__PURE__ */ h(M, { children: [
|
|
4543
4542
|
/* @__PURE__ */ r("div", { className: "overflow-x-hidden overflow-y-auto", children: e.length ? /* @__PURE__ */ r(
|
|
4544
|
-
|
|
4543
|
+
$r,
|
|
4545
4544
|
{
|
|
4546
4545
|
className: "text-sm",
|
|
4547
4546
|
selectedId: a.explorerState?.namespace,
|
|
@@ -4562,7 +4561,7 @@ const Do = ({
|
|
|
4562
4561
|
className: "justify-center",
|
|
4563
4562
|
onClick: o.onOpen,
|
|
4564
4563
|
children: [
|
|
4565
|
-
/* @__PURE__ */ r(
|
|
4564
|
+
/* @__PURE__ */ r(fr, { height: "1rem" }),
|
|
4566
4565
|
" Create"
|
|
4567
4566
|
]
|
|
4568
4567
|
}
|
|
@@ -4597,20 +4596,20 @@ const Do = ({
|
|
|
4597
4596
|
onClick: (f) => {
|
|
4598
4597
|
f.stopPropagation(), g(!0);
|
|
4599
4598
|
},
|
|
4600
|
-
children: /* @__PURE__ */ r(
|
|
4599
|
+
children: /* @__PURE__ */ r(Pa, { height: "1rem", className: "dark:text-white" })
|
|
4601
4600
|
}
|
|
4602
4601
|
) }),
|
|
4603
|
-
a.explorerState && /* @__PURE__ */ r(
|
|
4602
|
+
a.explorerState && /* @__PURE__ */ r(Co, { namespaces: e, db: t })
|
|
4604
4603
|
]
|
|
4605
4604
|
}
|
|
4606
4605
|
);
|
|
4607
|
-
},
|
|
4606
|
+
}, Do = ({
|
|
4608
4607
|
appId: e,
|
|
4609
4608
|
apiURI: t,
|
|
4610
4609
|
websocketURI: a,
|
|
4611
4610
|
adminToken: n
|
|
4612
|
-
}) =>
|
|
4613
|
-
() =>
|
|
4611
|
+
}) => le(
|
|
4612
|
+
() => Wa({
|
|
4614
4613
|
appId: e,
|
|
4615
4614
|
apiURI: t,
|
|
4616
4615
|
websocketURI: a,
|
|
@@ -4620,7 +4619,7 @@ const Do = ({
|
|
|
4620
4619
|
}),
|
|
4621
4620
|
[e, t, a, n]
|
|
4622
4621
|
);
|
|
4623
|
-
class
|
|
4622
|
+
class Lo extends lr {
|
|
4624
4623
|
state = {
|
|
4625
4624
|
hasError: !1,
|
|
4626
4625
|
error: null
|
|
@@ -4637,7 +4636,7 @@ class Fo extends cr {
|
|
|
4637
4636
|
render() {
|
|
4638
4637
|
return this.state.hasError ? /* @__PURE__ */ h("div", { className: "flex h-full w-full flex-1 flex-col items-center justify-center gap-4 bg-white p-6 dark:bg-neutral-800", children: [
|
|
4639
4638
|
/* @__PURE__ */ h("div", { className: "flex flex-col items-center gap-3 text-center", children: [
|
|
4640
|
-
/* @__PURE__ */ r("div", { className: "flex h-12 w-12 items-center justify-center rounded-full bg-red-100 dark:bg-red-900/30", children: /* @__PURE__ */ r(
|
|
4639
|
+
/* @__PURE__ */ r("div", { className: "flex h-12 w-12 items-center justify-center rounded-full bg-red-100 dark:bg-red-900/30", children: /* @__PURE__ */ r(Ia, { className: "h-6 w-6 text-red-600 dark:text-red-400" }) }),
|
|
4641
4640
|
/* @__PURE__ */ h("div", { className: "flex flex-col gap-1", children: [
|
|
4642
4641
|
/* @__PURE__ */ r("h2", { className: "text-lg font-semibold text-gray-900 dark:text-white", children: "Something went wrong" }),
|
|
4643
4642
|
/* @__PURE__ */ r("p", { className: "max-w-md text-sm text-gray-500 dark:text-neutral-400", children: "An unexpected error occurred. Please try again or contact support if the problem persists." })
|
|
@@ -4658,28 +4657,28 @@ class Fo extends cr {
|
|
|
4658
4657
|
] }) : this.props.children;
|
|
4659
4658
|
}
|
|
4660
4659
|
}
|
|
4661
|
-
const
|
|
4660
|
+
const Rt = sr({ props: null, history: { push: () => {
|
|
4662
4661
|
}, pop: () => {
|
|
4663
4662
|
}, items: [] } }), de = () => {
|
|
4664
|
-
const e =
|
|
4663
|
+
const e = dt(Rt);
|
|
4665
4664
|
if (!e.props)
|
|
4666
4665
|
throw new Error(
|
|
4667
4666
|
"useExplorerProps must be used within an Explorer component"
|
|
4668
4667
|
);
|
|
4669
4668
|
return e.props;
|
|
4670
|
-
},
|
|
4671
|
-
const e =
|
|
4669
|
+
}, ut = () => {
|
|
4670
|
+
const e = dt(Rt);
|
|
4672
4671
|
if (!e.props || !e.props.explorerState)
|
|
4673
4672
|
throw new Error(
|
|
4674
4673
|
"useExplorerProps must be used within an Explorer component"
|
|
4675
4674
|
);
|
|
4676
4675
|
return { explorerState: e.props.explorerState, history: e.history };
|
|
4677
|
-
},
|
|
4678
|
-
const n =
|
|
4676
|
+
}, Fr = (e) => e.explorerState !== void 0 || e.setExplorerState !== void 0, Fo = (e, t, a) => {
|
|
4677
|
+
const n = Fr(e);
|
|
4679
4678
|
return {
|
|
4680
4679
|
...e,
|
|
4681
|
-
apiURI: e.apiURI ||
|
|
4682
|
-
websocketURI: e.websocketURI ||
|
|
4680
|
+
apiURI: e.apiURI || Yt.apiURI,
|
|
4681
|
+
websocketURI: e.websocketURI || Yt.websocketURI,
|
|
4683
4682
|
darkMode: e.darkMode === void 0 ? !1 : e.darkMode,
|
|
4684
4683
|
// In controlled mode, use the provided state (even if null)
|
|
4685
4684
|
// In uncontrolled mode, use the internal state
|
|
@@ -4687,10 +4686,10 @@ const At = ur({ props: null, history: { push: () => {
|
|
|
4687
4686
|
setExplorerState: e.setExplorerState || a,
|
|
4688
4687
|
useShadowDOM: e.useShadowDOM === void 0 ? !0 : e.useShadowDOM
|
|
4689
4688
|
};
|
|
4690
|
-
},
|
|
4689
|
+
}, Wi = (e) => {
|
|
4691
4690
|
const [t, a] = C(
|
|
4692
4691
|
null
|
|
4693
|
-
), n =
|
|
4692
|
+
), n = Fo(
|
|
4694
4693
|
e,
|
|
4695
4694
|
t,
|
|
4696
4695
|
a
|
|
@@ -4699,12 +4698,12 @@ const At = ur({ props: null, history: { push: () => {
|
|
|
4699
4698
|
throw new Error("adminToken is required for explorer");
|
|
4700
4699
|
if (!n.appId)
|
|
4701
4700
|
throw new Error("appId is required for explorer");
|
|
4702
|
-
const { explorerState: o, setExplorerState: l } = n, [i, g] = C([]), c =
|
|
4701
|
+
const { explorerState: o, setExplorerState: l } = n, [i, g] = C([]), c = ot(
|
|
4703
4702
|
(w, v = !1) => {
|
|
4704
4703
|
g((k) => !v && o ? [...k, o] : k), l(w);
|
|
4705
4704
|
},
|
|
4706
4705
|
[o, l]
|
|
4707
|
-
), p =
|
|
4706
|
+
), p = ot(() => {
|
|
4708
4707
|
g((w) => {
|
|
4709
4708
|
if (w.length > 0) {
|
|
4710
4709
|
const [v, ...k] = w;
|
|
@@ -4712,7 +4711,7 @@ const At = ur({ props: null, history: { push: () => {
|
|
|
4712
4711
|
}
|
|
4713
4712
|
return w;
|
|
4714
4713
|
});
|
|
4715
|
-
}, [l]), f =
|
|
4714
|
+
}, [l]), f = Do({
|
|
4716
4715
|
appId: n.appId,
|
|
4717
4716
|
apiURI: n.apiURI,
|
|
4718
4717
|
websocketURI: n.websocketURI,
|
|
@@ -4723,9 +4722,9 @@ const At = ur({ props: null, history: { push: () => {
|
|
|
4723
4722
|
d.current = !1;
|
|
4724
4723
|
return;
|
|
4725
4724
|
}
|
|
4726
|
-
u.current !== n.appId && (u.current = n.appId, g([]),
|
|
4725
|
+
u.current !== n.appId && (u.current = n.appId, g([]), Fr(e) || a(null));
|
|
4727
4726
|
}, [n.appId, e]);
|
|
4728
|
-
const s =
|
|
4727
|
+
const s = Mn(f), m = le(
|
|
4729
4728
|
() => ({
|
|
4730
4729
|
props: n,
|
|
4731
4730
|
history: {
|
|
@@ -4735,20 +4734,20 @@ const At = ur({ props: null, history: { push: () => {
|
|
|
4735
4734
|
}
|
|
4736
4735
|
}),
|
|
4737
4736
|
[n, c, p, i]
|
|
4738
|
-
), b = n.useShadowDOM ?
|
|
4739
|
-
return /* @__PURE__ */ r(
|
|
4740
|
-
},
|
|
4737
|
+
), b = n.useShadowDOM ? $o : He.Fragment;
|
|
4738
|
+
return /* @__PURE__ */ r(Rt.Provider, { value: m, children: /* @__PURE__ */ r(b, { children: /* @__PURE__ */ r(Lo, { children: /* @__PURE__ */ r(_o, { db: f, namespaces: s.namespaces || [] }) }) }) });
|
|
4739
|
+
}, Tt = sr({
|
|
4741
4740
|
shadowRoot: null,
|
|
4742
4741
|
container: null,
|
|
4743
4742
|
darkMode: !1
|
|
4744
4743
|
});
|
|
4745
|
-
function
|
|
4746
|
-
return
|
|
4744
|
+
function Xe() {
|
|
4745
|
+
return dt(Tt).container;
|
|
4747
4746
|
}
|
|
4748
|
-
function
|
|
4749
|
-
return
|
|
4747
|
+
function pt() {
|
|
4748
|
+
return dt(Tt).darkMode;
|
|
4750
4749
|
}
|
|
4751
|
-
const
|
|
4750
|
+
const $o = ({ children: e }) => {
|
|
4752
4751
|
const t = X(null), a = X(null), [n, o] = C(null), i = de().darkMode;
|
|
4753
4752
|
H(() => {
|
|
4754
4753
|
if (t.current && !n)
|
|
@@ -4756,7 +4755,7 @@ const zo = ({ children: e }) => {
|
|
|
4756
4755
|
const c = t.current.attachShadow({ mode: "open" });
|
|
4757
4756
|
a.current = c;
|
|
4758
4757
|
const p = document.createElement("style");
|
|
4759
|
-
p.textContent =
|
|
4758
|
+
p.textContent = xn;
|
|
4760
4759
|
const f = document.createElement("div");
|
|
4761
4760
|
f.setAttribute("class", i ? "h-full dark" : "h-full"), c.appendChild(p), c.appendChild(f), o(f);
|
|
4762
4761
|
} catch {
|
|
@@ -4764,7 +4763,7 @@ const zo = ({ children: e }) => {
|
|
|
4764
4763
|
}, [n]), H(() => {
|
|
4765
4764
|
n && n.setAttribute("class", i ? "h-full dark" : "h-full");
|
|
4766
4765
|
}, [i, n]);
|
|
4767
|
-
const g =
|
|
4766
|
+
const g = He.useMemo(
|
|
4768
4767
|
() => ({
|
|
4769
4768
|
shadowRoot: a.current,
|
|
4770
4769
|
container: n,
|
|
@@ -4772,18 +4771,18 @@ const zo = ({ children: e }) => {
|
|
|
4772
4771
|
}),
|
|
4773
4772
|
[n, i]
|
|
4774
4773
|
);
|
|
4775
|
-
return /* @__PURE__ */ r("div", { ref: t, style: { height: "100%" }, className: O("h-full"), children: /* @__PURE__ */ r(
|
|
4774
|
+
return /* @__PURE__ */ r("div", { ref: t, style: { height: "100%" }, className: O("h-full"), children: /* @__PURE__ */ r(Tt.Provider, { value: g, children: n ? Oa(e, n) : null }) });
|
|
4776
4775
|
};
|
|
4777
|
-
function
|
|
4776
|
+
function zo({
|
|
4778
4777
|
...e
|
|
4779
4778
|
}) {
|
|
4780
|
-
return /* @__PURE__ */ r(
|
|
4779
|
+
return /* @__PURE__ */ r(se.Root, { "data-slot": "select", ...e });
|
|
4781
4780
|
}
|
|
4782
|
-
function
|
|
4781
|
+
function jo({
|
|
4783
4782
|
...e
|
|
4784
4783
|
}) {
|
|
4785
4784
|
return /* @__PURE__ */ r(
|
|
4786
|
-
|
|
4785
|
+
se.Value,
|
|
4787
4786
|
{
|
|
4788
4787
|
className: "content-[hi]",
|
|
4789
4788
|
"data-slot": "select-value",
|
|
@@ -4791,14 +4790,14 @@ function Mo({
|
|
|
4791
4790
|
}
|
|
4792
4791
|
);
|
|
4793
4792
|
}
|
|
4794
|
-
function
|
|
4793
|
+
function Mo({
|
|
4795
4794
|
className: e,
|
|
4796
4795
|
size: t = "default",
|
|
4797
4796
|
children: a,
|
|
4798
4797
|
...n
|
|
4799
4798
|
}) {
|
|
4800
4799
|
return /* @__PURE__ */ h(
|
|
4801
|
-
|
|
4800
|
+
se.Trigger,
|
|
4802
4801
|
{
|
|
4803
4802
|
"data-slot": "select-trigger",
|
|
4804
4803
|
"data-size": t,
|
|
@@ -4809,20 +4808,20 @@ function Bo({
|
|
|
4809
4808
|
...n,
|
|
4810
4809
|
children: [
|
|
4811
4810
|
a,
|
|
4812
|
-
/* @__PURE__ */ r(
|
|
4811
|
+
/* @__PURE__ */ r(se.Icon, { asChild: !0, children: /* @__PURE__ */ r(Et, { width: 14 }) })
|
|
4813
4812
|
]
|
|
4814
4813
|
}
|
|
4815
4814
|
);
|
|
4816
4815
|
}
|
|
4817
|
-
function
|
|
4816
|
+
function Bo({
|
|
4818
4817
|
className: e,
|
|
4819
4818
|
children: t,
|
|
4820
4819
|
position: a = "popper",
|
|
4821
4820
|
...n
|
|
4822
4821
|
}) {
|
|
4823
|
-
const o =
|
|
4824
|
-
return /* @__PURE__ */ r(
|
|
4825
|
-
|
|
4822
|
+
const o = Xe(), l = pt();
|
|
4823
|
+
return /* @__PURE__ */ r(se.Portal, { container: o, children: /* @__PURE__ */ h(
|
|
4824
|
+
se.Content,
|
|
4826
4825
|
{
|
|
4827
4826
|
"data-slot": "select-content",
|
|
4828
4827
|
className: O(
|
|
@@ -4834,9 +4833,9 @@ function Uo({
|
|
|
4834
4833
|
position: a,
|
|
4835
4834
|
...n,
|
|
4836
4835
|
children: [
|
|
4837
|
-
/* @__PURE__ */ r(
|
|
4836
|
+
/* @__PURE__ */ r(Po, {}),
|
|
4838
4837
|
/* @__PURE__ */ r(
|
|
4839
|
-
|
|
4838
|
+
se.Viewport,
|
|
4840
4839
|
{
|
|
4841
4840
|
className: O(
|
|
4842
4841
|
"p-1",
|
|
@@ -4845,18 +4844,18 @@ function Uo({
|
|
|
4845
4844
|
children: t
|
|
4846
4845
|
}
|
|
4847
4846
|
),
|
|
4848
|
-
/* @__PURE__ */ r(
|
|
4847
|
+
/* @__PURE__ */ r(qo, {})
|
|
4849
4848
|
]
|
|
4850
4849
|
}
|
|
4851
4850
|
) });
|
|
4852
4851
|
}
|
|
4853
|
-
function
|
|
4852
|
+
function Uo({
|
|
4854
4853
|
className: e,
|
|
4855
4854
|
children: t,
|
|
4856
4855
|
...a
|
|
4857
4856
|
}) {
|
|
4858
4857
|
return /* @__PURE__ */ h(
|
|
4859
|
-
|
|
4858
|
+
se.Item,
|
|
4860
4859
|
{
|
|
4861
4860
|
"data-slot": "select-item",
|
|
4862
4861
|
className: O(
|
|
@@ -4865,18 +4864,18 @@ function Po({
|
|
|
4865
4864
|
),
|
|
4866
4865
|
...a,
|
|
4867
4866
|
children: [
|
|
4868
|
-
/* @__PURE__ */ r("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ r(
|
|
4869
|
-
/* @__PURE__ */ r(
|
|
4867
|
+
/* @__PURE__ */ r("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ r(se.ItemIndicator, { children: /* @__PURE__ */ r(Aa, { width: 12, className: "size-4" }) }) }),
|
|
4868
|
+
/* @__PURE__ */ r(se.ItemText, { children: t })
|
|
4870
4869
|
]
|
|
4871
4870
|
}
|
|
4872
4871
|
);
|
|
4873
4872
|
}
|
|
4874
|
-
function
|
|
4873
|
+
function Po({
|
|
4875
4874
|
className: e,
|
|
4876
4875
|
...t
|
|
4877
4876
|
}) {
|
|
4878
4877
|
return /* @__PURE__ */ r(
|
|
4879
|
-
|
|
4878
|
+
se.ScrollUpButton,
|
|
4880
4879
|
{
|
|
4881
4880
|
"data-slot": "select-scroll-up-button",
|
|
4882
4881
|
className: O(
|
|
@@ -4884,16 +4883,16 @@ function qo({
|
|
|
4884
4883
|
e
|
|
4885
4884
|
),
|
|
4886
4885
|
...t,
|
|
4887
|
-
children: /* @__PURE__ */ r(
|
|
4886
|
+
children: /* @__PURE__ */ r(Ra, { className: "size-4" })
|
|
4888
4887
|
}
|
|
4889
4888
|
);
|
|
4890
4889
|
}
|
|
4891
|
-
function
|
|
4890
|
+
function qo({
|
|
4892
4891
|
className: e,
|
|
4893
4892
|
...t
|
|
4894
4893
|
}) {
|
|
4895
4894
|
return /* @__PURE__ */ r(
|
|
4896
|
-
|
|
4895
|
+
se.ScrollDownButton,
|
|
4897
4896
|
{
|
|
4898
4897
|
"data-slot": "select-scroll-down-button",
|
|
4899
4898
|
className: O(
|
|
@@ -4901,7 +4900,7 @@ function Go({
|
|
|
4901
4900
|
e
|
|
4902
4901
|
),
|
|
4903
4902
|
...t,
|
|
4904
|
-
children: /* @__PURE__ */ r(
|
|
4903
|
+
children: /* @__PURE__ */ r(Et, { className: "size-4" })
|
|
4905
4904
|
}
|
|
4906
4905
|
);
|
|
4907
4906
|
}
|
|
@@ -4913,7 +4912,7 @@ function Go({
|
|
|
4913
4912
|
* @namespace
|
|
4914
4913
|
* @public
|
|
4915
4914
|
*/
|
|
4916
|
-
var
|
|
4915
|
+
var St = function() {
|
|
4917
4916
|
var e = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, t = 0, a = {}, n = {
|
|
4918
4917
|
/**
|
|
4919
4918
|
* A namespace for utility methods.
|
|
@@ -5409,8 +5408,8 @@ var xt = function() {
|
|
|
5409
5408
|
return u;
|
|
5410
5409
|
}
|
|
5411
5410
|
return n;
|
|
5412
|
-
}(), y =
|
|
5413
|
-
|
|
5411
|
+
}(), y = St;
|
|
5412
|
+
St.default = St;
|
|
5414
5413
|
y.languages.markup = {
|
|
5415
5414
|
comment: {
|
|
5416
5415
|
pattern: /<!--(?:(?!<!--)[\s\S])*?-->/,
|
|
@@ -7877,7 +7876,7 @@ y.languages.wasm = {
|
|
|
7877
7876
|
number: /[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,
|
|
7878
7877
|
punctuation: /[()]/
|
|
7879
7878
|
};
|
|
7880
|
-
var
|
|
7879
|
+
var Go = {
|
|
7881
7880
|
plain: {
|
|
7882
7881
|
backgroundColor: "#2a2734",
|
|
7883
7882
|
color: "#9a86fd"
|
|
@@ -7943,10 +7942,10 @@ var Ho = {
|
|
|
7943
7942
|
color: "#c4b9fe"
|
|
7944
7943
|
}
|
|
7945
7944
|
}]
|
|
7946
|
-
},
|
|
7945
|
+
}, Ho = {
|
|
7947
7946
|
// $FlowFixMe
|
|
7948
7947
|
Prism: y,
|
|
7949
|
-
theme:
|
|
7948
|
+
theme: Go
|
|
7950
7949
|
};
|
|
7951
7950
|
function Ue(e, t, a) {
|
|
7952
7951
|
return t in e ? Object.defineProperty(e, t, {
|
|
@@ -7966,7 +7965,7 @@ function he() {
|
|
|
7966
7965
|
return e;
|
|
7967
7966
|
}, he.apply(this, arguments);
|
|
7968
7967
|
}
|
|
7969
|
-
var
|
|
7968
|
+
var Wo = /\r\n|\r|\n/, nr = function(e) {
|
|
7970
7969
|
e.length === 0 ? e.push({
|
|
7971
7970
|
types: ["plain"],
|
|
7972
7971
|
content: `
|
|
@@ -7974,32 +7973,32 @@ var Vo = /\r\n|\r|\n/, ar = function(e) {
|
|
|
7974
7973
|
empty: !0
|
|
7975
7974
|
}) : e.length === 1 && e[0].content === "" && (e[0].content = `
|
|
7976
7975
|
`, e[0].empty = !0);
|
|
7977
|
-
},
|
|
7976
|
+
}, or = function(e, t) {
|
|
7978
7977
|
var a = e.length;
|
|
7979
7978
|
return a > 0 && e[a - 1] === t ? e : e.concat(t);
|
|
7980
|
-
},
|
|
7979
|
+
}, Vo = function(e) {
|
|
7981
7980
|
for (var t = [[]], a = [e], n = [0], o = [e.length], l = 0, i = 0, g = [], c = [g]; i > -1; ) {
|
|
7982
7981
|
for (; (l = n[i]++) < o[i]; ) {
|
|
7983
7982
|
var p = void 0, f = t[i], d = a[i], u = d[l];
|
|
7984
|
-
if (typeof u == "string" ? (f = i > 0 ? f : ["plain"], p = u) : (f =
|
|
7983
|
+
if (typeof u == "string" ? (f = i > 0 ? f : ["plain"], p = u) : (f = or(f, u.type), u.alias && (f = or(f, u.alias)), p = u.content), typeof p != "string") {
|
|
7985
7984
|
i++, t.push(f), a.push(p), n.push(0), o.push(p.length);
|
|
7986
7985
|
continue;
|
|
7987
7986
|
}
|
|
7988
|
-
var s = p.split(
|
|
7987
|
+
var s = p.split(Wo), m = s.length;
|
|
7989
7988
|
g.push({
|
|
7990
7989
|
types: f,
|
|
7991
7990
|
content: s[0]
|
|
7992
7991
|
});
|
|
7993
7992
|
for (var b = 1; b < m; b++)
|
|
7994
|
-
|
|
7993
|
+
nr(g), c.push(g = []), g.push({
|
|
7995
7994
|
types: f,
|
|
7996
7995
|
content: s[b]
|
|
7997
7996
|
});
|
|
7998
7997
|
}
|
|
7999
7998
|
i--, t.pop(), a.pop(), n.pop(), o.pop();
|
|
8000
7999
|
}
|
|
8001
|
-
return
|
|
8002
|
-
},
|
|
8000
|
+
return nr(g), c;
|
|
8001
|
+
}, Yo = function(e, t) {
|
|
8003
8002
|
var a = e.plain, n = /* @__PURE__ */ Object.create(null), o = e.styles.reduce(function(l, i) {
|
|
8004
8003
|
var g = i.languages, c = i.style;
|
|
8005
8004
|
return g && !g.includes(t) || i.types.forEach(function(p) {
|
|
@@ -8011,22 +8010,22 @@ var Vo = /\r\n|\r|\n/, ar = function(e) {
|
|
|
8011
8010
|
backgroundColor: null
|
|
8012
8011
|
}), o;
|
|
8013
8012
|
};
|
|
8014
|
-
function
|
|
8013
|
+
function ir(e, t) {
|
|
8015
8014
|
var a = {};
|
|
8016
8015
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) === -1 && (a[n] = e[n]);
|
|
8017
8016
|
return a;
|
|
8018
8017
|
}
|
|
8019
|
-
var
|
|
8018
|
+
var Ko = /* @__PURE__ */ function(e) {
|
|
8020
8019
|
function t() {
|
|
8021
8020
|
for (var a = this, n = [], o = arguments.length; o--; ) n[o] = arguments[o];
|
|
8022
8021
|
e.apply(this, n), Ue(this, "getThemeDict", function(l) {
|
|
8023
8022
|
if (a.themeDict !== void 0 && l.theme === a.prevTheme && l.language === a.prevLanguage)
|
|
8024
8023
|
return a.themeDict;
|
|
8025
8024
|
a.prevTheme = l.theme, a.prevLanguage = l.language;
|
|
8026
|
-
var i = l.theme ?
|
|
8025
|
+
var i = l.theme ? Yo(l.theme, l.language) : void 0;
|
|
8027
8026
|
return a.themeDict = i;
|
|
8028
8027
|
}), Ue(this, "getLineProps", function(l) {
|
|
8029
|
-
var i = l.key, g = l.className, c = l.style, p =
|
|
8028
|
+
var i = l.key, g = l.className, c = l.style, p = ir(l, ["key", "className", "style", "line"]), f = p, d = he({}, f, {
|
|
8030
8029
|
className: "token-line",
|
|
8031
8030
|
style: void 0,
|
|
8032
8031
|
key: void 0
|
|
@@ -8051,7 +8050,7 @@ var Xo = /* @__PURE__ */ function(e) {
|
|
|
8051
8050
|
return Object.assign.apply(Object, [f].concat(d));
|
|
8052
8051
|
}
|
|
8053
8052
|
}), Ue(this, "getTokenProps", function(l) {
|
|
8054
|
-
var i = l.key, g = l.className, c = l.style, p = l.token, f =
|
|
8053
|
+
var i = l.key, g = l.className, c = l.style, p = l.token, f = ir(l, ["key", "className", "style", "token"]), d = f, u = he({}, d, {
|
|
8055
8054
|
className: "token " + p.types.join(" "),
|
|
8056
8055
|
children: p.content,
|
|
8057
8056
|
style: a.getStyleForToken(p),
|
|
@@ -8071,7 +8070,7 @@ var Xo = /* @__PURE__ */ function(e) {
|
|
|
8071
8070
|
});
|
|
8072
8071
|
}
|
|
8073
8072
|
return e && (t.__proto__ = e), t.prototype = Object.create(e && e.prototype), t.prototype.constructor = t, t.prototype.render = function() {
|
|
8074
|
-
var n = this.props, o = n.Prism, l = n.language, i = n.code, g = n.children, c = this.getThemeDict(this.props), p = o.languages[l], f = p !== void 0 ? this.tokenize(o, i, p, l) : [i], d =
|
|
8073
|
+
var n = this.props, o = n.Prism, l = n.language, i = n.code, g = n.children, c = this.getThemeDict(this.props), p = o.languages[l], f = p !== void 0 ? this.tokenize(o, i, p, l) : [i], d = Vo(f);
|
|
8075
8074
|
return g({
|
|
8076
8075
|
tokens: d,
|
|
8077
8076
|
className: "prism-code language-" + l,
|
|
@@ -8080,18 +8079,18 @@ var Xo = /* @__PURE__ */ function(e) {
|
|
|
8080
8079
|
getTokenProps: this.getTokenProps
|
|
8081
8080
|
});
|
|
8082
8081
|
}, t;
|
|
8083
|
-
}(
|
|
8084
|
-
const
|
|
8085
|
-
() =>
|
|
8086
|
-
),
|
|
8082
|
+
}(lr);
|
|
8083
|
+
const Xo = (e) => Zo(
|
|
8084
|
+
() => kn.parse(e, (a, n) => n === !0 ? "true" : n === !1 ? "false" : n)
|
|
8085
|
+
), Zo = (e) => {
|
|
8087
8086
|
try {
|
|
8088
8087
|
return { status: "ok", value: e() };
|
|
8089
8088
|
} catch (t) {
|
|
8090
8089
|
return { status: "error", error: t };
|
|
8091
8090
|
}
|
|
8092
8091
|
};
|
|
8093
|
-
function
|
|
8094
|
-
const n =
|
|
8092
|
+
function Qo(e, t, a) {
|
|
8093
|
+
const n = dr();
|
|
8095
8094
|
H(() => {
|
|
8096
8095
|
if (!t || !a) return;
|
|
8097
8096
|
const o = `http://myserver/myJsonTypeSchema-${n}`, l = t.languages.json.jsonDefaults.diagnosticsOptions, i = l.schemas || [];
|
|
@@ -8114,7 +8113,7 @@ function Jo(e, t, a) {
|
|
|
8114
8113
|
};
|
|
8115
8114
|
}, [t, e, a, n]);
|
|
8116
8115
|
}
|
|
8117
|
-
const
|
|
8116
|
+
const Jo = {
|
|
8118
8117
|
plain: {
|
|
8119
8118
|
backgroundColor: "#fff",
|
|
8120
8119
|
color: "#575279"
|
|
@@ -8157,14 +8156,14 @@ const ei = {
|
|
|
8157
8156
|
style: { color: "#b4637a" }
|
|
8158
8157
|
}
|
|
8159
8158
|
]
|
|
8160
|
-
},
|
|
8159
|
+
}, ei = ue("div", "flex flex-col gap-2"), ti = ue("div", "flex flex-col gap-2 md:flex-row"), gt = ue("div", "prose dark:text-neutral-400"), ri = ue("div", "text-2xl font-bold"), ai = ue("div", "text-xl font-bold"), ni = ue("div", "text-lg"), oi = ue("div", "text-md font-bold"), ii = ue("div", "text-sm text-gray-400"), Re = ue(
|
|
8161
8160
|
"div",
|
|
8162
8161
|
"text-sm font-bold dark:text-neutral-400 text-gray-700"
|
|
8163
|
-
),
|
|
8162
|
+
), li = ({ size: e = "mini" }) => /* @__PURE__ */ r("img", { src: "/img/icon/logo-512.svg", className: {
|
|
8164
8163
|
mini: "h-4 w-4",
|
|
8165
8164
|
normal: "h-6 w-6"
|
|
8166
8165
|
}[e] });
|
|
8167
|
-
function
|
|
8166
|
+
function $r({
|
|
8168
8167
|
className: e,
|
|
8169
8168
|
buttonClassName: t,
|
|
8170
8169
|
items: a,
|
|
@@ -8191,14 +8190,14 @@ function jr({
|
|
|
8191
8190
|
i.id
|
|
8192
8191
|
)) });
|
|
8193
8192
|
}
|
|
8194
|
-
function
|
|
8193
|
+
function zr({
|
|
8195
8194
|
items: e,
|
|
8196
8195
|
onChange: t,
|
|
8197
8196
|
selectedId: a,
|
|
8198
8197
|
ariaLabel: n
|
|
8199
8198
|
}) {
|
|
8200
8199
|
return /* @__PURE__ */ r(
|
|
8201
|
-
|
|
8200
|
+
Wt.Root,
|
|
8202
8201
|
{
|
|
8203
8202
|
value: a,
|
|
8204
8203
|
onValueChange: (o) => {
|
|
@@ -8211,7 +8210,7 @@ function Mr({
|
|
|
8211
8210
|
defaultValue: "center",
|
|
8212
8211
|
"aria-label": n,
|
|
8213
8212
|
children: e.map((o) => /* @__PURE__ */ r(
|
|
8214
|
-
|
|
8213
|
+
Wt.Item,
|
|
8215
8214
|
{
|
|
8216
8215
|
className: O(
|
|
8217
8216
|
"flex-1 rounded-sm p-0.5",
|
|
@@ -8279,7 +8278,7 @@ function Ee({
|
|
|
8279
8278
|
g ? /* @__PURE__ */ r("div", { className: "text-sm text-red-600", children: g }) : null
|
|
8280
8279
|
] });
|
|
8281
8280
|
}
|
|
8282
|
-
function
|
|
8281
|
+
function si({
|
|
8283
8282
|
value: e,
|
|
8284
8283
|
autoFocus: t,
|
|
8285
8284
|
className: a,
|
|
@@ -8387,7 +8386,7 @@ function we({
|
|
|
8387
8386
|
visibleValue: f
|
|
8388
8387
|
}) {
|
|
8389
8388
|
return /* @__PURE__ */ h(
|
|
8390
|
-
|
|
8389
|
+
zo,
|
|
8391
8390
|
{
|
|
8392
8391
|
disabled: o,
|
|
8393
8392
|
onValueChange: (d) => {
|
|
@@ -8396,10 +8395,10 @@ function we({
|
|
|
8396
8395
|
},
|
|
8397
8396
|
value: e?.toString(),
|
|
8398
8397
|
children: [
|
|
8399
|
-
/* @__PURE__ */ r(
|
|
8400
|
-
/* @__PURE__ */ h(
|
|
8398
|
+
/* @__PURE__ */ r(Mo, { className: a, title: g, tabIndex: i, children: /* @__PURE__ */ r(jo, { placeholder: l, children: f }) }),
|
|
8399
|
+
/* @__PURE__ */ h(Bo, { className: p, children: [
|
|
8401
8400
|
t.map((d) => /* @__PURE__ */ r(
|
|
8402
|
-
|
|
8401
|
+
Uo,
|
|
8403
8402
|
{
|
|
8404
8403
|
value: d.value?.toString(),
|
|
8405
8404
|
children: d.label
|
|
@@ -8489,7 +8488,7 @@ function V({
|
|
|
8489
8488
|
}
|
|
8490
8489
|
);
|
|
8491
8490
|
}
|
|
8492
|
-
const
|
|
8491
|
+
const ht = ({
|
|
8493
8492
|
icon: e,
|
|
8494
8493
|
label: t,
|
|
8495
8494
|
onClick: a,
|
|
@@ -8497,8 +8496,8 @@ const gt = ({
|
|
|
8497
8496
|
labelDirection: o,
|
|
8498
8497
|
variant: l,
|
|
8499
8498
|
className: i
|
|
8500
|
-
}) => /* @__PURE__ */ h(
|
|
8501
|
-
/* @__PURE__ */ r(
|
|
8499
|
+
}) => /* @__PURE__ */ h(Ze, { children: [
|
|
8500
|
+
/* @__PURE__ */ r(Qe, { asChild: !0, children: /* @__PURE__ */ r(
|
|
8502
8501
|
"button",
|
|
8503
8502
|
{
|
|
8504
8503
|
title: t,
|
|
@@ -8515,9 +8514,9 @@ const gt = ({
|
|
|
8515
8514
|
children: e
|
|
8516
8515
|
}
|
|
8517
8516
|
) }),
|
|
8518
|
-
/* @__PURE__ */ r(
|
|
8517
|
+
/* @__PURE__ */ r(Je, { side: o, children: t })
|
|
8519
8518
|
] });
|
|
8520
|
-
function
|
|
8519
|
+
function st() {
|
|
8521
8520
|
const [e, t] = C(!1);
|
|
8522
8521
|
return {
|
|
8523
8522
|
open: e,
|
|
@@ -8532,43 +8531,53 @@ function it() {
|
|
|
8532
8531
|
}
|
|
8533
8532
|
};
|
|
8534
8533
|
}
|
|
8535
|
-
function
|
|
8534
|
+
function di({
|
|
8536
8535
|
...e
|
|
8537
8536
|
}) {
|
|
8538
8537
|
return /* @__PURE__ */ r(Te.Root, { "data-slot": "dialog", ...e });
|
|
8539
8538
|
}
|
|
8540
|
-
function
|
|
8539
|
+
function jr({
|
|
8541
8540
|
...e
|
|
8542
8541
|
}) {
|
|
8543
8542
|
return /* @__PURE__ */ r(Te.Portal, { "data-slot": "dialog-portal", ...e });
|
|
8544
8543
|
}
|
|
8545
|
-
|
|
8546
|
-
|
|
8547
|
-
|
|
8548
|
-
|
|
8549
|
-
|
|
8550
|
-
|
|
8551
|
-
|
|
8552
|
-
|
|
8553
|
-
|
|
8554
|
-
|
|
8555
|
-
|
|
8556
|
-
|
|
8557
|
-
|
|
8558
|
-
|
|
8559
|
-
)
|
|
8544
|
+
const Mr = He.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r(
|
|
8545
|
+
Te.Overlay,
|
|
8546
|
+
{
|
|
8547
|
+
ref: a,
|
|
8548
|
+
"data-slot": "dialog-overlay",
|
|
8549
|
+
className: O(
|
|
8550
|
+
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
|
|
8551
|
+
e
|
|
8552
|
+
),
|
|
8553
|
+
...t
|
|
8554
|
+
}
|
|
8555
|
+
));
|
|
8556
|
+
function ci({ title: e }) {
|
|
8557
|
+
const t = Xe(), a = He.useRef(null);
|
|
8558
|
+
return He.useEffect(() => {
|
|
8559
|
+
if (!t || process.env.NODE_ENV === "production")
|
|
8560
|
+
return;
|
|
8561
|
+
const n = a.current?.id;
|
|
8562
|
+
if (!n) return;
|
|
8563
|
+
const o = document.createElement("span");
|
|
8564
|
+
return o.id = n, o.style.display = "none", document.body.appendChild(o), () => {
|
|
8565
|
+
o.remove();
|
|
8566
|
+
};
|
|
8567
|
+
}, [t]), /* @__PURE__ */ r(ua, { children: /* @__PURE__ */ r(Te.Title, { ref: a, children: e }) });
|
|
8560
8568
|
}
|
|
8561
|
-
function
|
|
8569
|
+
function Br({
|
|
8562
8570
|
className: e,
|
|
8563
8571
|
children: t,
|
|
8564
8572
|
showCloseButton: a = !1,
|
|
8565
8573
|
title: n,
|
|
8566
8574
|
...o
|
|
8567
8575
|
}) {
|
|
8568
|
-
const l =
|
|
8569
|
-
return /* @__PURE__ */ r(
|
|
8576
|
+
const l = Xe(), i = pt();
|
|
8577
|
+
return /* @__PURE__ */ r(jr, { container: l, "data-slot": "dialog-portal", children: /* @__PURE__ */ r(Mr, { className: O(i ? "dark" : "", "overflow-y-auto"), children: /* @__PURE__ */ h(
|
|
8570
8578
|
Te.Content,
|
|
8571
8579
|
{
|
|
8580
|
+
"aria-label": n,
|
|
8572
8581
|
"data-slot": "dialog-content",
|
|
8573
8582
|
className: O(
|
|
8574
8583
|
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 relative top-[50%] left-[50%] z-50 grid max-h-[calc(100%-2rem)] w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 overflow-y-auto rounded-lg border border-gray-200 bg-white p-6 shadow-lg duration-200 sm:max-w-lg dark:border-neutral-700 dark:bg-neutral-800 dark:text-white",
|
|
@@ -8577,7 +8586,7 @@ function Pr({
|
|
|
8577
8586
|
),
|
|
8578
8587
|
...o,
|
|
8579
8588
|
children: [
|
|
8580
|
-
/* @__PURE__ */ r(
|
|
8589
|
+
/* @__PURE__ */ r(ci, { title: n }),
|
|
8581
8590
|
t,
|
|
8582
8591
|
a && /* @__PURE__ */ h(
|
|
8583
8592
|
Te.Close,
|
|
@@ -8585,7 +8594,7 @@ function Pr({
|
|
|
8585
8594
|
"data-slot": "dialog-close",
|
|
8586
8595
|
className: "absolute top-4 right-4 rounded-xs opacity-70 transition-opacity duration-100 hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
8587
8596
|
children: [
|
|
8588
|
-
/* @__PURE__ */ r(
|
|
8597
|
+
/* @__PURE__ */ r(hn, {}),
|
|
8589
8598
|
/* @__PURE__ */ r("span", { className: "sr-only", children: "Close" })
|
|
8590
8599
|
]
|
|
8591
8600
|
}
|
|
@@ -8603,41 +8612,35 @@ function fe({
|
|
|
8603
8612
|
stopFocusPropagation: l = !1,
|
|
8604
8613
|
hideCloseButton: i = !1
|
|
8605
8614
|
}) {
|
|
8606
|
-
return /* @__PURE__ */
|
|
8607
|
-
|
|
8615
|
+
return /* @__PURE__ */ r(
|
|
8616
|
+
di,
|
|
8608
8617
|
{
|
|
8609
8618
|
onOpenChange: (g) => {
|
|
8610
8619
|
g || a();
|
|
8611
8620
|
},
|
|
8612
8621
|
open: e,
|
|
8613
|
-
children:
|
|
8614
|
-
|
|
8615
|
-
|
|
8616
|
-
|
|
8617
|
-
|
|
8618
|
-
|
|
8619
|
-
|
|
8620
|
-
|
|
8621
|
-
|
|
8622
|
-
|
|
8623
|
-
|
|
8624
|
-
|
|
8625
|
-
|
|
8626
|
-
|
|
8627
|
-
|
|
8628
|
-
|
|
8629
|
-
|
|
8630
|
-
|
|
8631
|
-
|
|
8632
|
-
|
|
8633
|
-
|
|
8634
|
-
|
|
8635
|
-
),
|
|
8636
|
-
t
|
|
8637
|
-
]
|
|
8638
|
-
}
|
|
8639
|
-
)
|
|
8640
|
-
]
|
|
8622
|
+
children: /* @__PURE__ */ h(
|
|
8623
|
+
Br,
|
|
8624
|
+
{
|
|
8625
|
+
title: o,
|
|
8626
|
+
onFocusCapture: (g) => {
|
|
8627
|
+
l && g.stopPropagation();
|
|
8628
|
+
},
|
|
8629
|
+
autoFocus: !1,
|
|
8630
|
+
tabIndex: void 0,
|
|
8631
|
+
className: `w-full max-w-xl overflow-y-auto rounded border-solid bg-white p-3 text-sm shadow dark:bg-neutral-800 dark:text-white ${n}`,
|
|
8632
|
+
children: [
|
|
8633
|
+
!i && /* @__PURE__ */ r(
|
|
8634
|
+
qa,
|
|
8635
|
+
{
|
|
8636
|
+
className: "absolute top-[18px] right-3 h-4 w-4 cursor-pointer",
|
|
8637
|
+
onClick: a
|
|
8638
|
+
}
|
|
8639
|
+
),
|
|
8640
|
+
t
|
|
8641
|
+
]
|
|
8642
|
+
}
|
|
8643
|
+
)
|
|
8641
8644
|
}
|
|
8642
8645
|
);
|
|
8643
8646
|
}
|
|
@@ -8694,7 +8697,7 @@ function ve({
|
|
|
8694
8697
|
}
|
|
8695
8698
|
);
|
|
8696
8699
|
}
|
|
8697
|
-
function
|
|
8700
|
+
function Ot(e) {
|
|
8698
8701
|
return e.length === 36 && e.indexOf("-") === 8 ? e.replaceAll(/[^-]/g, "*") : e.replaceAll(/./g, "*");
|
|
8699
8702
|
}
|
|
8700
8703
|
function pi({
|
|
@@ -8729,8 +8732,8 @@ function pi({
|
|
|
8729
8732
|
]
|
|
8730
8733
|
}
|
|
8731
8734
|
) : null,
|
|
8732
|
-
/* @__PURE__ */ h(
|
|
8733
|
-
/* @__PURE__ */ r(
|
|
8735
|
+
/* @__PURE__ */ h(Ze, { open: f, children: [
|
|
8736
|
+
/* @__PURE__ */ r(Qe, { asChild: !0, children: /* @__PURE__ */ r(
|
|
8734
8737
|
"pre",
|
|
8735
8738
|
{
|
|
8736
8739
|
className: _e("flex-1 cursor-pointer px-2 py-1.5 select-text", {
|
|
@@ -8742,10 +8745,10 @@ function pi({
|
|
|
8742
8745
|
const s = window.getSelection();
|
|
8743
8746
|
(!s || s.toString().length === 0) && (window.navigator.clipboard.writeText(e), d(!0), setTimeout(() => d(!1), 1e3));
|
|
8744
8747
|
},
|
|
8745
|
-
children: o || g ?
|
|
8748
|
+
children: o || g ? Ot(e) : e
|
|
8746
8749
|
}
|
|
8747
8750
|
) }),
|
|
8748
|
-
/* @__PURE__ */ r(
|
|
8751
|
+
/* @__PURE__ */ r(Je, { side: "bottom", children: "Copied!" })
|
|
8749
8752
|
] }),
|
|
8750
8753
|
/* @__PURE__ */ r("div", { className: "", children: !!p && /* @__PURE__ */ r(
|
|
8751
8754
|
"button",
|
|
@@ -8755,7 +8758,7 @@ function pi({
|
|
|
8755
8758
|
"flex items-center gap-x-1 rounded-sm px-2 py-1 opacity-50 transition-colors hover:bg-gray-50 dark:hover:bg-neutral-700",
|
|
8756
8759
|
{ "text-xs": a === "normal", "text-sm": a === "large" }
|
|
8757
8760
|
),
|
|
8758
|
-
children: o || g ? /* @__PURE__ */ r(
|
|
8761
|
+
children: o || g ? /* @__PURE__ */ r(mr, { className: "h-4 w-4", "aria-hidden": "true" }) : /* @__PURE__ */ r(br, { className: "h-4 w-4", "aria-hidden": "true" })
|
|
8759
8762
|
}
|
|
8760
8763
|
) })
|
|
8761
8764
|
]
|
|
@@ -8795,8 +8798,8 @@ function gi({
|
|
|
8795
8798
|
children: t
|
|
8796
8799
|
}
|
|
8797
8800
|
) : null,
|
|
8798
|
-
/* @__PURE__ */ h(
|
|
8799
|
-
/* @__PURE__ */ r(
|
|
8801
|
+
/* @__PURE__ */ h(Ze, { open: f, children: [
|
|
8802
|
+
/* @__PURE__ */ r(Qe, { asChild: !0, children: /* @__PURE__ */ r(
|
|
8800
8803
|
"pre",
|
|
8801
8804
|
{
|
|
8802
8805
|
className: _e("flex-1 cursor-pointer px-2 py-1.5 select-text", {
|
|
@@ -8808,10 +8811,10 @@ function gi({
|
|
|
8808
8811
|
const w = window.getSelection();
|
|
8809
8812
|
(!w || w.toString().length === 0) && (window.navigator.clipboard.writeText(e), d(!0), setTimeout(() => d(!1), 1e3), g?.());
|
|
8810
8813
|
},
|
|
8811
|
-
children: o || c ?
|
|
8814
|
+
children: o || c ? Ot(e) : e
|
|
8812
8815
|
}
|
|
8813
8816
|
) }),
|
|
8814
|
-
/* @__PURE__ */ r(
|
|
8817
|
+
/* @__PURE__ */ r(Je, { side: "bottom", children: "Copied!" })
|
|
8815
8818
|
] }),
|
|
8816
8819
|
/* @__PURE__ */ h("div", { className: "flex gap-1 px-1", children: [
|
|
8817
8820
|
!!m && /* @__PURE__ */ r(
|
|
@@ -8822,10 +8825,10 @@ function gi({
|
|
|
8822
8825
|
"flex items-center gap-x-1 rounded-sm bg-white px-2 py-1 ring-1 ring-gray-300 ring-inset hover:bg-gray-50 dark:bg-neutral-600/20 dark:ring-neutral-600",
|
|
8823
8826
|
{ "text-xs": a === "normal", "text-sm": a === "large" }
|
|
8824
8827
|
),
|
|
8825
|
-
children: o || c ? /* @__PURE__ */ r(
|
|
8828
|
+
children: o || c ? /* @__PURE__ */ r(mr, { className: "h-4 w-4", "aria-hidden": "true" }) : /* @__PURE__ */ r(br, { className: "h-4 w-4", "aria-hidden": "true" })
|
|
8826
8829
|
}
|
|
8827
8830
|
),
|
|
8828
|
-
/* @__PURE__ */ r(
|
|
8831
|
+
/* @__PURE__ */ r(Nr, { text: e, children: /* @__PURE__ */ h(
|
|
8829
8832
|
"button",
|
|
8830
8833
|
{
|
|
8831
8834
|
onClick: () => {
|
|
@@ -8839,7 +8842,7 @@ function gi({
|
|
|
8839
8842
|
),
|
|
8840
8843
|
children: [
|
|
8841
8844
|
/* @__PURE__ */ r(
|
|
8842
|
-
|
|
8845
|
+
Ct,
|
|
8843
8846
|
{
|
|
8844
8847
|
className: "-ml-0.5 h-4 w-4",
|
|
8845
8848
|
"aria-hidden": "true"
|
|
@@ -8869,7 +8872,7 @@ function hi({ value: e }) {
|
|
|
8869
8872
|
}
|
|
8870
8873
|
),
|
|
8871
8874
|
/* @__PURE__ */ r(
|
|
8872
|
-
|
|
8875
|
+
Nr,
|
|
8873
8876
|
{
|
|
8874
8877
|
text: e,
|
|
8875
8878
|
onCopy: (n, o) => {
|
|
@@ -8877,8 +8880,8 @@ function hi({ value: e }) {
|
|
|
8877
8880
|
a(!1);
|
|
8878
8881
|
}, 2500));
|
|
8879
8882
|
},
|
|
8880
|
-
children: t ? /* @__PURE__ */ r(
|
|
8881
|
-
|
|
8883
|
+
children: t ? /* @__PURE__ */ r(Ga, { className: "pl-1", height: "1em" }) : /* @__PURE__ */ r(
|
|
8884
|
+
Ct,
|
|
8882
8885
|
{
|
|
8883
8886
|
className: "cursor-pointer pl-1",
|
|
8884
8887
|
height: "1em"
|
|
@@ -8888,7 +8891,7 @@ function hi({ value: e }) {
|
|
|
8888
8891
|
)
|
|
8889
8892
|
] });
|
|
8890
8893
|
}
|
|
8891
|
-
const
|
|
8894
|
+
const ft = ({
|
|
8892
8895
|
children: e,
|
|
8893
8896
|
className: t
|
|
8894
8897
|
}) => /* @__PURE__ */ h("div", { className: O("flex items-center justify-center", t), children: [
|
|
@@ -8911,15 +8914,15 @@ const ht = ({
|
|
|
8911
8914
|
role: "separator"
|
|
8912
8915
|
}
|
|
8913
8916
|
)
|
|
8914
|
-
] }),
|
|
8915
|
-
|
|
8917
|
+
] }), _t = ({ children: e }) => /* @__PURE__ */ h(
|
|
8918
|
+
fn,
|
|
8916
8919
|
{
|
|
8917
8920
|
as: "span",
|
|
8918
8921
|
className: "relative inline-flex align-middle",
|
|
8919
8922
|
"data-open": "true",
|
|
8920
8923
|
children: [
|
|
8921
|
-
/* @__PURE__ */ r(
|
|
8922
|
-
|
|
8924
|
+
/* @__PURE__ */ r(mn, { className: "inline", children: /* @__PURE__ */ r(
|
|
8925
|
+
Ta,
|
|
8923
8926
|
{
|
|
8924
8927
|
height: "1em",
|
|
8925
8928
|
width: "1em",
|
|
@@ -8927,7 +8930,7 @@ const ht = ({
|
|
|
8927
8930
|
}
|
|
8928
8931
|
) }),
|
|
8929
8932
|
/* @__PURE__ */ r(
|
|
8930
|
-
|
|
8933
|
+
bn,
|
|
8931
8934
|
{
|
|
8932
8935
|
anchor: "bottom start",
|
|
8933
8936
|
className: "z-50 rounded-lg bg-white p-2 shadow-lg dark:bg-neutral-800",
|
|
@@ -8949,7 +8952,7 @@ const ht = ({
|
|
|
8949
8952
|
children: e
|
|
8950
8953
|
}
|
|
8951
8954
|
);
|
|
8952
|
-
function
|
|
8955
|
+
function Ur({
|
|
8953
8956
|
percentage: e = 0,
|
|
8954
8957
|
loading: t,
|
|
8955
8958
|
className: a,
|
|
@@ -8982,7 +8985,7 @@ function qr({
|
|
|
8982
8985
|
}
|
|
8983
8986
|
);
|
|
8984
8987
|
}
|
|
8985
|
-
function
|
|
8988
|
+
function Pr({
|
|
8986
8989
|
delayDuration: e = 100,
|
|
8987
8990
|
...t
|
|
8988
8991
|
}) {
|
|
@@ -8995,23 +8998,23 @@ function Gr({
|
|
|
8995
8998
|
}
|
|
8996
8999
|
);
|
|
8997
9000
|
}
|
|
8998
|
-
function
|
|
9001
|
+
function Ze({
|
|
8999
9002
|
...e
|
|
9000
9003
|
}) {
|
|
9001
|
-
return /* @__PURE__ */ r(
|
|
9004
|
+
return /* @__PURE__ */ r(Pr, { children: /* @__PURE__ */ r(ne.Root, { "data-slot": "tooltip", ...e }) });
|
|
9002
9005
|
}
|
|
9003
|
-
function
|
|
9006
|
+
function Qe({
|
|
9004
9007
|
...e
|
|
9005
9008
|
}) {
|
|
9006
9009
|
return /* @__PURE__ */ r(ne.Trigger, { "data-slot": "tooltip-trigger", ...e });
|
|
9007
9010
|
}
|
|
9008
|
-
function
|
|
9011
|
+
function Je({
|
|
9009
9012
|
className: e,
|
|
9010
9013
|
sideOffset: t = 0,
|
|
9011
9014
|
children: a,
|
|
9012
9015
|
...n
|
|
9013
9016
|
}) {
|
|
9014
|
-
const o =
|
|
9017
|
+
const o = Xe(), l = pt();
|
|
9015
9018
|
return /* @__PURE__ */ r(ne.Portal, { container: o, children: /* @__PURE__ */ r(
|
|
9016
9019
|
ne.Content,
|
|
9017
9020
|
{
|
|
@@ -9027,22 +9030,22 @@ function Ze({
|
|
|
9027
9030
|
}
|
|
9028
9031
|
) });
|
|
9029
9032
|
}
|
|
9030
|
-
function
|
|
9033
|
+
function qr({
|
|
9031
9034
|
...e
|
|
9032
9035
|
}) {
|
|
9033
9036
|
return /* @__PURE__ */ r(Oe.Root, { ...e });
|
|
9034
9037
|
}
|
|
9035
|
-
function
|
|
9038
|
+
function Gr({
|
|
9036
9039
|
...e
|
|
9037
9040
|
}) {
|
|
9038
9041
|
return /* @__PURE__ */ r(Oe.Trigger, { ...e });
|
|
9039
9042
|
}
|
|
9040
|
-
function
|
|
9043
|
+
function Hr({
|
|
9041
9044
|
className: e,
|
|
9042
9045
|
sideOffset: t = 4,
|
|
9043
9046
|
...a
|
|
9044
9047
|
}) {
|
|
9045
|
-
const n =
|
|
9048
|
+
const n = Xe(), o = pt();
|
|
9046
9049
|
return /* @__PURE__ */ r(Oe.Portal, { container: n, children: /* @__PURE__ */ r(
|
|
9047
9050
|
Oe.Content,
|
|
9048
9051
|
{
|
|
@@ -9071,7 +9074,7 @@ function Pe({
|
|
|
9071
9074
|
}
|
|
9072
9075
|
);
|
|
9073
9076
|
}
|
|
9074
|
-
function
|
|
9077
|
+
function Wr({
|
|
9075
9078
|
className: e,
|
|
9076
9079
|
...t
|
|
9077
9080
|
}) {
|
|
@@ -9088,21 +9091,21 @@ function Yr({
|
|
|
9088
9091
|
}
|
|
9089
9092
|
function ue(e, t) {
|
|
9090
9093
|
return function(a) {
|
|
9091
|
-
return
|
|
9094
|
+
return ha(e, {
|
|
9092
9095
|
...a,
|
|
9093
9096
|
className: O(t, a.className)
|
|
9094
9097
|
});
|
|
9095
9098
|
};
|
|
9096
9099
|
}
|
|
9097
9100
|
function O(...e) {
|
|
9098
|
-
return
|
|
9101
|
+
return ma(_e(e));
|
|
9099
9102
|
}
|
|
9100
|
-
function
|
|
9103
|
+
function Vr() {
|
|
9101
9104
|
return /* @__PURE__ */ r("div", { className: "animate-slow-pulse flex w-full flex-1 flex-col bg-gray-300" });
|
|
9102
9105
|
}
|
|
9103
|
-
function
|
|
9106
|
+
function Dt(e) {
|
|
9104
9107
|
return /* @__PURE__ */ r(
|
|
9105
|
-
|
|
9108
|
+
pa,
|
|
9106
9109
|
{
|
|
9107
9110
|
theme: e.darkMode ? "vs-dark" : "vs-light",
|
|
9108
9111
|
className: O(
|
|
@@ -9128,13 +9131,13 @@ function _t(e) {
|
|
|
9128
9131
|
onMount: e.onMount,
|
|
9129
9132
|
beforeMount: (t) => {
|
|
9130
9133
|
},
|
|
9131
|
-
loading: /* @__PURE__ */ r(
|
|
9134
|
+
loading: /* @__PURE__ */ r(Vr, {})
|
|
9132
9135
|
}
|
|
9133
9136
|
);
|
|
9134
9137
|
}
|
|
9135
9138
|
function mi(e) {
|
|
9136
|
-
const [t, a] = C(e.value), o = `json-editor-${
|
|
9137
|
-
return
|
|
9139
|
+
const [t, a] = C(e.value), o = `json-editor-${dr()}.json`, [l, i] = C(void 0);
|
|
9140
|
+
return Qo(o, l, e.schema), H(() => {
|
|
9138
9141
|
a(e.value);
|
|
9139
9142
|
}, [e.value]), /* @__PURE__ */ h("div", { className: "flex h-full min-h-0 flex-col bg-gray-50 dark:bg-[#252525]", children: [
|
|
9140
9143
|
/* @__PURE__ */ h("div", { className: "flex items-center justify-between gap-4 border-b px-4 py-2 dark:border-b-neutral-700", children: [
|
|
@@ -9142,7 +9145,7 @@ function mi(e) {
|
|
|
9142
9145
|
/* @__PURE__ */ r(V, { size: "mini", onClick: () => e.onSave(t), children: "Save" })
|
|
9143
9146
|
] }),
|
|
9144
9147
|
/* @__PURE__ */ r("div", { className: "min-h-0 grow", children: /* @__PURE__ */ r(
|
|
9145
|
-
|
|
9148
|
+
Dt,
|
|
9146
9149
|
{
|
|
9147
9150
|
darkMode: e.darkMode,
|
|
9148
9151
|
language: "json",
|
|
@@ -9158,7 +9161,7 @@ function mi(e) {
|
|
|
9158
9161
|
f && setTimeout(async () => {
|
|
9159
9162
|
const d = f.getValue();
|
|
9160
9163
|
if (!d.trim()) return;
|
|
9161
|
-
const u =
|
|
9164
|
+
const u = Xo(d);
|
|
9162
9165
|
u.status === "ok" && f.setValue(JSON.stringify(u.value, null, 2));
|
|
9163
9166
|
}, 20);
|
|
9164
9167
|
});
|
|
@@ -9167,7 +9170,7 @@ function mi(e) {
|
|
|
9167
9170
|
) })
|
|
9168
9171
|
] });
|
|
9169
9172
|
}
|
|
9170
|
-
function
|
|
9173
|
+
function Lt({
|
|
9171
9174
|
code: e,
|
|
9172
9175
|
language: t,
|
|
9173
9176
|
style: a,
|
|
@@ -9177,9 +9180,9 @@ function Dt({
|
|
|
9177
9180
|
}) {
|
|
9178
9181
|
const [i, g] = C("Copy");
|
|
9179
9182
|
return /* @__PURE__ */ r(
|
|
9180
|
-
|
|
9183
|
+
Ko,
|
|
9181
9184
|
{
|
|
9182
|
-
...
|
|
9185
|
+
...Ho,
|
|
9183
9186
|
code: e.trimEnd(),
|
|
9184
9187
|
language: t,
|
|
9185
9188
|
theme: n ? {
|
|
@@ -9188,7 +9191,7 @@ function Dt({
|
|
|
9188
9191
|
color: "white"
|
|
9189
9192
|
},
|
|
9190
9193
|
styles: []
|
|
9191
|
-
} :
|
|
9194
|
+
} : Jo,
|
|
9192
9195
|
children: ({ className: c, style: p, tokens: f, getTokenProps: d }) => /* @__PURE__ */ h(
|
|
9193
9196
|
"pre",
|
|
9194
9197
|
{
|
|
@@ -9203,14 +9206,14 @@ function Dt({
|
|
|
9203
9206
|
"button",
|
|
9204
9207
|
{
|
|
9205
9208
|
onClick: (u) => {
|
|
9206
|
-
|
|
9209
|
+
We(e), g("Copied!"), setTimeout(() => {
|
|
9207
9210
|
g("Copy");
|
|
9208
9211
|
}, 2500), u.preventDefault(), u.stopPropagation();
|
|
9209
9212
|
},
|
|
9210
9213
|
className: "flex items-center gap-x-1 rounded-sm bg-white px-2 py-1 text-xs ring-1 ring-gray-300 ring-inset hover:bg-gray-50 dark:bg-neutral-800 dark:ring-neutral-700",
|
|
9211
9214
|
children: [
|
|
9212
9215
|
/* @__PURE__ */ r(
|
|
9213
|
-
|
|
9216
|
+
Ct,
|
|
9214
9217
|
{
|
|
9215
9218
|
className: "-ml-0.5 h-4 w-4",
|
|
9216
9219
|
"aria-hidden": "true"
|
|
@@ -9220,7 +9223,7 @@ function Dt({
|
|
|
9220
9223
|
]
|
|
9221
9224
|
}
|
|
9222
9225
|
) }) : null,
|
|
9223
|
-
/* @__PURE__ */ r("code", { children: f.map((u, s) => /* @__PURE__ */ h(
|
|
9226
|
+
/* @__PURE__ */ r("code", { children: f.map((u, s) => /* @__PURE__ */ h(fa, { children: [
|
|
9224
9227
|
u.filter((m) => !m.empty).map((m, b) => {
|
|
9225
9228
|
const { key: w, ...v } = d({ token: m });
|
|
9226
9229
|
return /* @__PURE__ */ r("span", { ...v }, w || b);
|
|
@@ -9234,12 +9237,12 @@ function Dt({
|
|
|
9234
9237
|
}
|
|
9235
9238
|
);
|
|
9236
9239
|
}
|
|
9237
|
-
function
|
|
9240
|
+
function Yr({
|
|
9238
9241
|
className: e,
|
|
9239
9242
|
...t
|
|
9240
9243
|
}) {
|
|
9241
9244
|
return /* @__PURE__ */ r(
|
|
9242
|
-
|
|
9245
|
+
Vt.Root,
|
|
9243
9246
|
{
|
|
9244
9247
|
"data-slot": "switch",
|
|
9245
9248
|
className: O(
|
|
@@ -9248,7 +9251,7 @@ function Xr({
|
|
|
9248
9251
|
),
|
|
9249
9252
|
...t,
|
|
9250
9253
|
children: /* @__PURE__ */ r(
|
|
9251
|
-
|
|
9254
|
+
Vt.Thumb,
|
|
9252
9255
|
{
|
|
9253
9256
|
"data-slot": "switch-thumb",
|
|
9254
9257
|
className: O(
|
|
@@ -9259,113 +9262,113 @@ function Xr({
|
|
|
9259
9262
|
}
|
|
9260
9263
|
);
|
|
9261
9264
|
}
|
|
9262
|
-
const
|
|
9265
|
+
const Vi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9263
9266
|
__proto__: null,
|
|
9264
9267
|
ActionButton: ve,
|
|
9265
9268
|
ActionForm: ge,
|
|
9266
9269
|
Badge: fi,
|
|
9267
|
-
BlockHeading:
|
|
9270
|
+
BlockHeading: oi,
|
|
9268
9271
|
Button: V,
|
|
9269
9272
|
Checkbox: ee,
|
|
9270
|
-
CodeEditor:
|
|
9271
|
-
Content:
|
|
9273
|
+
CodeEditor: Dt,
|
|
9274
|
+
Content: gt,
|
|
9272
9275
|
Copyable: gi,
|
|
9273
9276
|
Copytext: hi,
|
|
9274
9277
|
Dialog: fe,
|
|
9275
|
-
DialogContent:
|
|
9276
|
-
DialogOverlay:
|
|
9277
|
-
DialogPortal:
|
|
9278
|
-
Divider:
|
|
9279
|
-
DropdownMenu:
|
|
9280
|
-
DropdownMenuContent:
|
|
9278
|
+
DialogContent: Br,
|
|
9279
|
+
DialogOverlay: Mr,
|
|
9280
|
+
DialogPortal: jr,
|
|
9281
|
+
Divider: ft,
|
|
9282
|
+
DropdownMenu: qr,
|
|
9283
|
+
DropdownMenuContent: Hr,
|
|
9281
9284
|
DropdownMenuItem: Pe,
|
|
9282
|
-
DropdownMenuSeparator:
|
|
9283
|
-
DropdownMenuTrigger:
|
|
9284
|
-
Fence:
|
|
9285
|
-
FullscreenLoading:
|
|
9286
|
-
Group:
|
|
9287
|
-
Hint:
|
|
9288
|
-
IconButton:
|
|
9289
|
-
InfoTip:
|
|
9285
|
+
DropdownMenuSeparator: Wr,
|
|
9286
|
+
DropdownMenuTrigger: Gr,
|
|
9287
|
+
Fence: Lt,
|
|
9288
|
+
FullscreenLoading: Vr,
|
|
9289
|
+
Group: ti,
|
|
9290
|
+
Hint: ii,
|
|
9291
|
+
IconButton: ht,
|
|
9292
|
+
InfoTip: _t,
|
|
9290
9293
|
JSONEditor: mi,
|
|
9291
9294
|
Label: Re,
|
|
9292
|
-
LogoIcon:
|
|
9293
|
-
ProgressButton:
|
|
9294
|
-
ScreenHeading:
|
|
9295
|
-
SectionHeading:
|
|
9295
|
+
LogoIcon: li,
|
|
9296
|
+
ProgressButton: Ur,
|
|
9297
|
+
ScreenHeading: ri,
|
|
9298
|
+
SectionHeading: ai,
|
|
9296
9299
|
Select: we,
|
|
9297
9300
|
SmallCopyable: pi,
|
|
9298
|
-
Stack:
|
|
9299
|
-
SubsectionHeading:
|
|
9300
|
-
Switch:
|
|
9301
|
-
TextArea:
|
|
9301
|
+
Stack: ei,
|
|
9302
|
+
SubsectionHeading: ni,
|
|
9303
|
+
Switch: Yr,
|
|
9304
|
+
TextArea: si,
|
|
9302
9305
|
TextInput: Ee,
|
|
9303
|
-
Toaster:
|
|
9304
|
-
ToggleCollection:
|
|
9305
|
-
ToggleGroup:
|
|
9306
|
-
Tooltip:
|
|
9307
|
-
TooltipContent:
|
|
9308
|
-
TooltipProvider:
|
|
9309
|
-
TooltipTrigger:
|
|
9306
|
+
Toaster: ca,
|
|
9307
|
+
ToggleCollection: $r,
|
|
9308
|
+
ToggleGroup: zr,
|
|
9309
|
+
Tooltip: Ze,
|
|
9310
|
+
TooltipContent: Je,
|
|
9311
|
+
TooltipProvider: Pr,
|
|
9312
|
+
TooltipTrigger: Qe,
|
|
9310
9313
|
cn: O,
|
|
9311
|
-
redactedValue:
|
|
9312
|
-
toast:
|
|
9314
|
+
redactedValue: Ot,
|
|
9315
|
+
toast: Nt,
|
|
9313
9316
|
twel: ue,
|
|
9314
|
-
useDialog:
|
|
9317
|
+
useDialog: st
|
|
9315
9318
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9316
9319
|
export {
|
|
9317
9320
|
ve as ActionButton,
|
|
9318
9321
|
ge as ActionForm,
|
|
9319
9322
|
fi as Badge,
|
|
9320
|
-
|
|
9323
|
+
oi as BlockHeading,
|
|
9321
9324
|
V as Button,
|
|
9322
9325
|
ee as Checkbox,
|
|
9323
|
-
|
|
9324
|
-
|
|
9326
|
+
Dt as CodeEditor,
|
|
9327
|
+
gt as Content,
|
|
9325
9328
|
gi as Copyable,
|
|
9326
9329
|
hi as Copytext,
|
|
9327
9330
|
fe as Dialog,
|
|
9328
|
-
|
|
9329
|
-
|
|
9330
|
-
|
|
9331
|
-
|
|
9332
|
-
|
|
9333
|
-
|
|
9331
|
+
Br as DialogContent,
|
|
9332
|
+
Mr as DialogOverlay,
|
|
9333
|
+
jr as DialogPortal,
|
|
9334
|
+
ft as Divider,
|
|
9335
|
+
qr as DropdownMenu,
|
|
9336
|
+
Hr as DropdownMenuContent,
|
|
9334
9337
|
Pe as DropdownMenuItem,
|
|
9335
|
-
|
|
9336
|
-
|
|
9337
|
-
|
|
9338
|
-
|
|
9339
|
-
|
|
9340
|
-
|
|
9341
|
-
|
|
9342
|
-
|
|
9343
|
-
|
|
9338
|
+
Wr as DropdownMenuSeparator,
|
|
9339
|
+
Gr as DropdownMenuTrigger,
|
|
9340
|
+
Wi as Explorer,
|
|
9341
|
+
Lt as Fence,
|
|
9342
|
+
Vr as FullscreenLoading,
|
|
9343
|
+
ti as Group,
|
|
9344
|
+
ii as Hint,
|
|
9345
|
+
ht as IconButton,
|
|
9346
|
+
_t as InfoTip,
|
|
9344
9347
|
mi as JSONEditor,
|
|
9345
9348
|
Re as Label,
|
|
9346
|
-
|
|
9347
|
-
|
|
9348
|
-
|
|
9349
|
-
|
|
9349
|
+
li as LogoIcon,
|
|
9350
|
+
Ur as ProgressButton,
|
|
9351
|
+
ri as ScreenHeading,
|
|
9352
|
+
ai as SectionHeading,
|
|
9350
9353
|
we as Select,
|
|
9351
9354
|
pi as SmallCopyable,
|
|
9352
|
-
|
|
9353
|
-
|
|
9354
|
-
|
|
9355
|
-
|
|
9356
|
-
|
|
9355
|
+
ei as Stack,
|
|
9356
|
+
$o as StyleMe,
|
|
9357
|
+
ni as SubsectionHeading,
|
|
9358
|
+
Yr as Switch,
|
|
9359
|
+
si as TextArea,
|
|
9357
9360
|
Ee as TextInput,
|
|
9358
|
-
|
|
9359
|
-
|
|
9360
|
-
|
|
9361
|
-
|
|
9362
|
-
|
|
9363
|
-
|
|
9364
|
-
|
|
9361
|
+
Xi as Toaster,
|
|
9362
|
+
$r as ToggleCollection,
|
|
9363
|
+
zr as ToggleGroup,
|
|
9364
|
+
Ze as Tooltip,
|
|
9365
|
+
Je as TooltipContent,
|
|
9366
|
+
Pr as TooltipProvider,
|
|
9367
|
+
Qe as TooltipTrigger,
|
|
9365
9368
|
O as cn,
|
|
9366
|
-
|
|
9367
|
-
|
|
9369
|
+
Ot as redactedValue,
|
|
9370
|
+
Zi as toast,
|
|
9368
9371
|
ue as twel,
|
|
9369
|
-
|
|
9370
|
-
|
|
9372
|
+
Vi as ui,
|
|
9373
|
+
st as useDialog
|
|
9371
9374
|
};
|