@marimo-team/islands 0.23.6-dev9 → 0.23.6

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.
Files changed (51) hide show
  1. package/dist/{ConnectedDataExplorerComponent-CWU3Az6F.js → ConnectedDataExplorerComponent-PmilQqXR.js} +4 -4
  2. package/dist/assets/__vite-browser-external-rrUYDKRl.js +1 -0
  3. package/dist/assets/{worker-D-EdLKct.js → worker-Bfy15ViQ.js} +2 -2
  4. package/dist/{chat-ui-Cyca6aKX.js → chat-ui-B-gbqk_F.js} +6 -6
  5. package/dist/{code-visibility-B0kwrVA6.js → code-visibility-DNiCvIcQ.js} +678 -564
  6. package/dist/{formats-Dh5M1ZRs.js → formats-CgaK7Gmx.js} +1 -1
  7. package/dist/{glide-data-editor-DXti2axL.js → glide-data-editor-CvlvtPWJ.js} +2 -2
  8. package/dist/{html-to-image-6VI69paz.js → html-to-image-hMMPiNe_.js} +2120 -2103
  9. package/dist/{input-Drx1pguW.js → input-BAOe64zx.js} +1 -1
  10. package/dist/main.js +19 -19
  11. package/dist/{mermaid-BagLPXm9.js → mermaid-DJ1NyBGw.js} +2 -2
  12. package/dist/{process-output-SkNR_Omd.js → process-output-Bza_GK7Q.js} +1 -1
  13. package/dist/{reveal-component-DlCLweHo.js → reveal-component-BSwl7P64.js} +13 -13
  14. package/dist/{spec-BKWq0wn2.js → spec-DSIuqd3f.js} +1 -1
  15. package/dist/toDate-CHtl9vts.js +662 -0
  16. package/dist/{useAsyncData-CKYzhCis.js → useAsyncData-B6hCGywC.js} +1 -1
  17. package/dist/{useDeepCompareMemoize-je76AJS_.js → useDeepCompareMemoize-CmwDuYUH.js} +1 -1
  18. package/dist/{useLifecycle-smVfjLNI.js → useLifecycle-CjMjllqy.js} +1 -1
  19. package/dist/{useTheme-CX9pPLUH.js → useTheme-CByZUW0p.js} +1 -0
  20. package/dist/{vega-component-BnCQmtxw.js → vega-component-CC8TqWWV.js} +5 -5
  21. package/package.json +5 -5
  22. package/src/components/ai/ai-provider-icon.tsx +1 -0
  23. package/src/components/ai/ai-utils.ts +1 -0
  24. package/src/components/app-config/ai-config.tsx +30 -0
  25. package/src/components/editor/chrome/wrapper/footer-items/pyodide-status.tsx +47 -0
  26. package/src/components/editor/chrome/wrapper/footer.tsx +2 -0
  27. package/src/components/editor/renderers/cell-array.tsx +14 -7
  28. package/src/components/slides/slide-form.tsx +43 -0
  29. package/src/components/terminal/terminal.tsx +16 -0
  30. package/src/components/ui/links.tsx +2 -1
  31. package/src/core/ai/ids/ids.ts +1 -0
  32. package/src/core/codemirror/markdown/__tests__/commands.test.ts +36 -0
  33. package/src/core/codemirror/markdown/commands.ts +4 -1
  34. package/src/core/config/config-schema.ts +1 -0
  35. package/src/core/edit-app.tsx +1 -0
  36. package/src/core/run-app.tsx +9 -2
  37. package/src/core/runtime/runtime.ts +3 -2
  38. package/src/core/static/static-state.ts +5 -1
  39. package/src/core/wasm/PyodideLoader.tsx +54 -16
  40. package/src/core/wasm/__tests__/PyodideLoader.test.ts +72 -0
  41. package/src/core/wasm/__tests__/bridge.test.ts +26 -1
  42. package/src/core/wasm/bridge.ts +24 -6
  43. package/src/core/wasm/state.ts +3 -0
  44. package/src/core/wasm/worker/getController.ts +7 -0
  45. package/src/core/wasm/worker/save-worker.ts +2 -1
  46. package/src/core/wasm/worker/worker.ts +2 -1
  47. package/src/plugins/core/RenderHTML.tsx +49 -3
  48. package/src/plugins/core/__test__/RenderHTML.test.ts +54 -0
  49. package/src/plugins/impl/common/labeled.tsx +1 -1
  50. package/dist/assets/__vite-browser-external-C4JkHbyY.js +0 -1
  51. package/dist/toDate-yqOcZ_tY.js +0 -638
@@ -6,14 +6,14 @@ import { _ as Logger, c as Objects, g as cn, h as Events, m as useComposedRefs,
6
6
  import { t as require_react } from "./react-DA-nE2FX.js";
7
7
  import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
8
8
  import { n as Copy, r as toast, t as copyToClipboard } from "./copy-TGGAUEWp.js";
9
- import { $ as useCellActions, $t as getTracebackInfo, A as ChevronRightIcon, An as Minus, Bn as Braces, C as AccordionContent, En as Trash2, Ft as jotaiJsonStorage, Hn as import_lib, I as base64ToUint8Array, Jt as useRequestClient, Kt as getRequestClient, Lt as PluralWord, M as PinLeftIcon, Mt as useChromeActions, N as PinRightIcon, O as CheckIcon, Pn as FileText, Pt as adaptForLocalStorage, Qt as extractAllTracebackInfo, R as extractBase64FromDataURL, Rn as CircleX, S as Accordion, St as Checkbox, T as AccordionTrigger, Tn as Wrench, V as renderHTML, Vn as esm_default, Y as notebookAtom, Zt as elementContainsMarimoCellFile, _n as atomWithStorage, _t as getCellDomProps, at as AnsiUp, bn as Close$1, c as Popover, cn as SCRATCH_CELL_ID, ct as kioskModeAtom, d as PopoverTrigger, dt as outputIsLoading, et as useCellIds, g as getDatasourceContext, gt as DATA_CELL_ID, hn as jsonToTSV, ht as sanitizeHtml, j as DotFilledIcon, jn as LoaderCircle, kn as NotebookPen, kt as goToCellLine, l as PopoverClose$1, lt as useInstallAllowed, m as useExpandedOutput, mn as jsonToMarkdown, n as MarkdownRenderer, nn as filenameAtom, on as CellOutputId, pn as jsonParseWithSpecialChar, q as getCellEditorView, s as Spinner, sn as HTMLCellId, t as toPng, tt as useCellNames, u as PopoverContent, ut as viewStateAtom, vt as displayCellName, w as AccordionItem, z as isDataURLString, zt as DATA_TYPE_ICON, __tla as __tla_0 } from "./html-to-image-6VI69paz.js";
9
+ import { $ as useCellActions, $t as getTracebackInfo, A as ChevronRightIcon, An as Minus, Bn as Braces, C as AccordionContent, En as Trash2, Ft as jotaiJsonStorage, Hn as import_lib, I as base64ToUint8Array, Jt as useRequestClient, Kt as getRequestClient, Lt as PluralWord, M as PinLeftIcon, Mt as useChromeActions, N as PinRightIcon, O as CheckIcon, Pn as FileText, Pt as adaptForLocalStorage, Qt as extractAllTracebackInfo, R as extractBase64FromDataURL, Rn as CircleX, S as Accordion, St as Checkbox, T as AccordionTrigger, Tn as Wrench, V as renderHTML, Vn as esm_default, Y as notebookAtom, Zt as elementContainsMarimoCellFile, _n as atomWithStorage, _t as getCellDomProps, at as AnsiUp, bn as Close$1, c as Popover, cn as SCRATCH_CELL_ID, ct as kioskModeAtom, d as PopoverTrigger, dt as outputIsLoading, et as useCellIds, g as getDatasourceContext, gt as DATA_CELL_ID, hn as jsonToTSV, ht as sanitizeHtml, j as DotFilledIcon, jn as LoaderCircle, kn as NotebookPen, kt as goToCellLine, l as PopoverClose$1, lt as useInstallAllowed, m as useExpandedOutput, mn as jsonToMarkdown, n as MarkdownRenderer, nn as filenameAtom, on as CellOutputId, pn as jsonParseWithSpecialChar, q as getCellEditorView, s as Spinner, sn as HTMLCellId, t as toPng, tt as useCellNames, u as PopoverContent, ut as viewStateAtom, vt as displayCellName, w as AccordionItem, z as isDataURLString, zt as DATA_TYPE_ICON, __tla as __tla_0 } from "./html-to-image-hMMPiNe_.js";
10
10
  import { o as useSize, u as createLucideIcon } from "./dist-ESg7xyoD.js";
11
- import { i as createReducerAndAtoms, r as Badge } from "./useLifecycle-smVfjLNI.js";
11
+ import { i as createReducerAndAtoms, r as Badge } from "./useLifecycle-CjMjllqy.js";
12
12
  import { a as ListFilter, i as Table$1, o as ChartPie, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-B3mCQMP3.js";
13
13
  import { t as Check } from "./check-CFM2mVDr.js";
14
14
  import { C as $a916eb452884faea$export$b7a616150fdb9f44, F as X, L as ChevronDown, M as usePrevious$1, N as useDirection, S as logNever, T as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, _ as menuItemVariants, b as menuSubTriggerVariants, c as SelectSeparator, g as menuControlVariants, h as menuControlCheckVariants, i as SelectContent, l as SelectTrigger, m as menuContentCommon, n as capitalize, o as SelectItem, p as MENU_ITEM_DISABLED, r as Select, t as Strings, u as SelectValue, v as menuLabelVariants, x as assertNever, y as menuSeparatorVariants } from "./strings-B_FOH6eV.js";
15
- import { $t as Portal, G as marked, Gt as Anchor2, Jt as Content2$1, Kt as Arrow2, Qt as Label, Xt as Item2$2, Yt as Group, Zt as ItemIndicator, _ as DropdownMenuSub, a as NumberField, an as SubContent, b as DropdownMenuTrigger, c as prettyNumber, cn as Item, d as DropdownMenuContent, dn as Search, en as RadioGroup$2, fn as Circle, g as DropdownMenuSeparator, h as DropdownMenuPortal, in as Sub, l as prettyScientificNumber, ln as Root$1, m as DropdownMenuLabel, nn as Root3, o as maxFractionalDigits, on as SubTrigger, p as DropdownMenuItem, pn as ChevronRight, qt as CheckboxItem, r as Input, rn as Separator$1, s as prettyEngineeringNumber, sn as createMenuScope, tn as RadioItem, u as DropdownMenu, un as createRovingFocusGroupScope, v as DropdownMenuSubContent, y as DropdownMenuSubTrigger } from "./input-Drx1pguW.js";
16
- import { a as millisecondsInMinute, c as asRemoteURL, d as isUrl, h as isWasm, i as millisecondsInHour, n as constructFrom, o as millisecondsInSecond, r as millisecondsInDay, s as millisecondsInWeek, t as toDate } from "./toDate-yqOcZ_tY.js";
15
+ import { $t as Portal, G as marked, Gt as Anchor2, Jt as Content2$1, Kt as Arrow2, Qt as Label, Xt as Item2$2, Yt as Group, Zt as ItemIndicator, _ as DropdownMenuSub, a as NumberField, an as SubContent, b as DropdownMenuTrigger, c as prettyNumber, cn as Item, d as DropdownMenuContent, dn as Search, en as RadioGroup$2, fn as Circle, g as DropdownMenuSeparator, h as DropdownMenuPortal, in as Sub, l as prettyScientificNumber, ln as Root$1, m as DropdownMenuLabel, nn as Root3, o as maxFractionalDigits, on as SubTrigger, p as DropdownMenuItem, pn as ChevronRight, qt as CheckboxItem, r as Input, rn as Separator$1, s as prettyEngineeringNumber, sn as createMenuScope, tn as RadioItem, u as DropdownMenu, un as createRovingFocusGroupScope, v as DropdownMenuSubContent, y as DropdownMenuSubTrigger } from "./input-BAOe64zx.js";
16
+ import { _ as isWasm, a as millisecondsInMinute, c as asRemoteURL, d as isStaticNotebook, i as millisecondsInHour, n as constructFrom, o as millisecondsInSecond, p as isUrl, r as millisecondsInDay, s as millisecondsInWeek, t as toDate } from "./toDate-CHtl9vts.js";
17
17
  import { n as clsx_default } from "./clsx-CyyyQ8Ue.js";
18
18
  import { t as require_react_dom } from "./react-dom-BWRJ_g_k.js";
19
19
  import { t as require_jsx_runtime } from "./jsx-runtime-COBk7ree.js";
@@ -22,20 +22,20 @@ import { a as Content$1, c as Root$2, i as prettyError, n as ErrorBanner, o as O
22
22
  import { t as Tooltip } from "./tooltip-B0mtKTXm.js";
23
23
  import { f as CopyClipboardIcon, t as _extends } from "./extends-CzJgxo2J.js";
24
24
  import { r as KnownQueryParams } from "./constants-D0gkYoE2.js";
25
- import { C as dequal, S as getBuildingBlocks, _ as useSetAtom, d as useJotaiEffect, g as useAtomValue, h as useAtom, m as Provider, n as useTheme, r as aiEnabledAtom, v as useStore, w as useEvent_default, x as buildStore, y as atom } from "./useTheme-CX9pPLUH.js";
25
+ import { C as dequal, S as getBuildingBlocks, _ as useSetAtom, d as useJotaiEffect, g as useAtomValue, h as useAtom, m as Provider, n as useTheme, r as aiEnabledAtom, v as useStore, w as useEvent_default, x as buildStore, y as atom } from "./useTheme-CByZUW0p.js";
26
26
  import { Z as EditorView } from "./dist-CCADb07R.js";
27
27
  import { t as invariant } from "./invariant-UcGKQEhF.js";
28
28
  import { c as uniqueBy, t as Arrays } from "./arrays-CldYf7p7.js";
29
29
  import { n as once, t as memoizeLastValue } from "./once-rJImu7SE.js";
30
30
  import { a as parser } from "./dist-nuW5EDYT.js";
31
- import { a as isValid, i as AlertTitle, n as Alert, t as arrow } from "./formats-Dh5M1ZRs.js";
31
+ import { a as isValid, i as AlertTitle, n as Alert, t as arrow } from "./formats-CgaK7Gmx.js";
32
32
  import { n as memoize$1, t as isPropValid } from "./emotion-is-prop-valid.esm-DtW2o230.js";
33
33
  import { t as ErrorBoundary } from "./ErrorBoundary-Da4UeYxT.js";
34
34
  import { n as formats } from "./vega-loader.browser-3_z8GoFC.js";
35
35
  import { a as getContainerWidth, n as vegaLoadData, r as createBatchedLoader, s as tooltipHandler, t as parseCsvData } from "./loader-BvW0-YWZ.js";
36
36
  import { t as useIframeCapabilities } from "./useIframeCapabilities-DbdLoEDm.js";
37
- import { t as useAsyncData } from "./useAsyncData-CKYzhCis.js";
38
- let getPageIndexForRow, contextAwarePanelType, GripHorizontal, TableHead, ChevronsDownUp, useInternalStateWithSync, RenderTextWithLinks, PANEL_TYPES, getStaticVirtualFiles, ContextAwarePanelItem, EmotionCacheProvider, Fill, Download, inferFieldTypes, TableRow, ArrowDownWideNarrow, Provider$1, Code, ColumnChartSpecModel, renderCellValue, Table, ChevronsUpDown, SlotNames, EyeOff, slotsController, Expand, contextAwarePanelOpen, isStaticNotebook, Toggle, Ellipsis, filtersToFilterGroup, TableBody, ChevronsRight, prettifyRowCount, useOverflowDetection, ComboboxItem, HtmlOutput, NAMELESS_COLUMN_PREFIX, TableHeader, ChevronLeft, generateColumns, useIntersectionObserver, DelayMount, usePrevious, downloadBlob, TabsTrigger, DEFAULT_SLIDE_TYPE, toFieldTypes, Filenames, ChartLoadingState, Slide, CommandEmpty, JsonOutput, CommandList, loadTableAndRawData, OutputArea, CommandSeparator, ADD_PRINTING_CLASS, TabsList, InstallPackageButton, TabsContent, DEFAULT_DECK_TRANSITION, TOO_MANY_ROWS, isCellAwareAtom, Funnel, contextAwarePanelOwner, TextWrap, RadioGroup, CommandInput, DataTable, Tabs, marimoVersionAtom, INDEX_COLUMN_NAME, SLIDE_TYPE_OPTIONS_BY_VALUE, getMimeValues, OutputRenderer, Maps, ColumnChartContext, showCodeInRunModeAtom, SELECT_COLUMN_ID, SlideSidebar, Command, useNotebookCodeAvailable, loadTableData, RadioGroupItem, CommandItem, downloadByURL, ChartErrorState, Combobox, Kbd, prettifyRowColumnCount, LazyVegaEmbed, downloadHTMLAsImage, ChartInfoState, TableCell, ChevronsLeft;
37
+ import { t as useAsyncData } from "./useAsyncData-B6hCGywC.js";
38
+ let getPageIndexForRow, contextAwarePanelType, EyeOff, TableHead, ArrowDownWideNarrow, useInternalStateWithSync, RenderTextWithLinks, PANEL_TYPES, TextWrap, ContextAwarePanelItem, EmotionCacheProvider, Fill, ChevronsUpDown, inferFieldTypes, TableRow, Provider$1, ChevronsRight, ColumnChartSpecModel, renderCellValue, Table, ChevronsLeft, SlotNames, Ellipsis, slotsController, Download, contextAwarePanelOpen, GripHorizontal, Toggle, Code, filtersToFilterGroup, TableBody, ChevronsDownUp, prettifyRowCount, useOverflowDetection, ComboboxItem, HtmlOutput, NAMELESS_COLUMN_PREFIX, TableHeader, generateColumns, useIntersectionObserver, DelayMount, usePrevious, downloadBlob, TabsTrigger, DEFAULT_SLIDE_TYPE, toFieldTypes, Filenames, ChartLoadingState, Slide, CommandEmpty, JsonOutput, CommandList, loadTableAndRawData, OutputArea, CommandSeparator, ADD_PRINTING_CLASS, TabsList, InstallPackageButton, TabsContent, DEFAULT_DECK_TRANSITION, TOO_MANY_ROWS, isCellAwareAtom, Expand, contextAwarePanelOwner, Funnel, RadioGroup, CommandInput, DataTable, Tabs, marimoVersionAtom, INDEX_COLUMN_NAME, SLIDE_TYPE_OPTIONS_BY_VALUE, getMimeValues, OutputRenderer, Maps, ColumnChartContext, showCodeInRunModeAtom, SELECT_COLUMN_ID, SlideSidebar, Command, useNotebookCodeAvailable, loadTableData, RadioGroupItem, CommandItem, downloadByURL, ChartErrorState, Combobox, Kbd, prettifyRowColumnCount, LazyVegaEmbed, downloadHTMLAsImage, ChartInfoState, TableCell, ChevronLeft;
39
39
  let __tla = Promise.all([
40
40
  (() => {
41
41
  try {
@@ -45,7 +45,7 @@ let __tla = Promise.all([
45
45
  })()
46
46
  ]).then(async () => {
47
47
  var _a;
48
- let ArrowUpNarrowWide, BrickWall, BugPlay, ChartSpline, Cookie, ExternalLink, FunnelPlus, FunnelX, LayoutTemplate, ListFilterPlus, MessageCircle, Package, PanelRightClose, PanelRightOpen, PanelRight, PinOff, Rows2, Sparkles, SquareArrowOutUpRight, SquareStack, Terminal, TextAlignJustify, TextAlignStart, require_use_sync_external_store_shim_production, require_shim, import_react, import_jsx_runtime, CONTEXT_MENU_NAME, createContextMenuContext, createContextMenuScope, useMenuScope, ContextMenuProvider, useContextMenuContext, ContextMenu$1;
48
+ let ArrowUpNarrowWide, BrickWall, BugPlay, ChartSpline, Cookie, ExternalLink, FunnelPlus, FunnelX, Keyboard, LayoutTemplate, ListFilterPlus, MessageCircle, Package, PanelRightClose, PanelRightOpen, PanelRight, PinOff, Rows2, Sparkles, SquareArrowOutUpRight, SquareStack, Terminal, TextAlignJustify, TextAlignStart, require_use_sync_external_store_shim_production, require_shim, import_react, import_jsx_runtime, CONTEXT_MENU_NAME, createContextMenuContext, createContextMenuScope, useMenuScope, ContextMenuProvider, useContextMenuContext, ContextMenu$1;
49
49
  ArrowDownWideNarrow = createLucideIcon("arrow-down-wide-narrow", [
50
50
  [
51
51
  "path",
@@ -670,6 +670,75 @@ let __tla = Promise.all([
670
670
  }
671
671
  ]
672
672
  ]);
673
+ Keyboard = createLucideIcon("keyboard", [
674
+ [
675
+ "path",
676
+ {
677
+ d: "M10 8h.01",
678
+ key: "1r9ogq"
679
+ }
680
+ ],
681
+ [
682
+ "path",
683
+ {
684
+ d: "M12 12h.01",
685
+ key: "1mp3jc"
686
+ }
687
+ ],
688
+ [
689
+ "path",
690
+ {
691
+ d: "M14 8h.01",
692
+ key: "1primd"
693
+ }
694
+ ],
695
+ [
696
+ "path",
697
+ {
698
+ d: "M16 12h.01",
699
+ key: "1l6xoz"
700
+ }
701
+ ],
702
+ [
703
+ "path",
704
+ {
705
+ d: "M18 8h.01",
706
+ key: "emo2bl"
707
+ }
708
+ ],
709
+ [
710
+ "path",
711
+ {
712
+ d: "M6 8h.01",
713
+ key: "x9i8wu"
714
+ }
715
+ ],
716
+ [
717
+ "path",
718
+ {
719
+ d: "M7 16h10",
720
+ key: "wp8him"
721
+ }
722
+ ],
723
+ [
724
+ "path",
725
+ {
726
+ d: "M8 12h.01",
727
+ key: "czm47f"
728
+ }
729
+ ],
730
+ [
731
+ "rect",
732
+ {
733
+ width: "20",
734
+ height: "16",
735
+ x: "2",
736
+ y: "4",
737
+ rx: "2",
738
+ key: "18n3k1"
739
+ }
740
+ ]
741
+ ]);
673
742
  LayoutTemplate = createLucideIcon("layout-template", [
674
743
  [
675
744
  "rect",
@@ -4601,27 +4670,6 @@ let __tla = Promise.all([
4601
4670
  function isMatch(e, t, n) {
4602
4671
  return isValid(parse$1(e, t, /* @__PURE__ */ new Date(), n));
4603
4672
  }
4604
- function isStringToStringRecord(e) {
4605
- if (typeof e != "object" || !e || Array.isArray(e)) return false;
4606
- for (let t of Object.values(e)) if (typeof t != "string") return false;
4607
- return true;
4608
- }
4609
- function isMarimoStaticState(e) {
4610
- if (typeof e != "object" || !e || Array.isArray(e)) return false;
4611
- let t = e;
4612
- return !(!isStringToStringRecord(t.files) || t.modelNotifications !== void 0 && !Array.isArray(t.modelNotifications));
4613
- }
4614
- function getMarimoStaticState() {
4615
- let e = window == null ? void 0 : window.__MARIMO_STATIC__;
4616
- return isMarimoStaticState(e) ? e : void 0;
4617
- }
4618
- isStaticNotebook = function() {
4619
- return getMarimoStaticState() !== void 0;
4620
- };
4621
- getStaticVirtualFiles = function() {
4622
- let e = getMarimoStaticState();
4623
- return invariant(e !== void 0, "Not a static notebook"), e.files;
4624
- };
4625
4673
  var isDevelopment$3 = false;
4626
4674
  function sheetForTag(e) {
4627
4675
  if (e.sheet) return e.sheet;
@@ -7481,33 +7529,33 @@ try {
7481
7529
  }, f = import_react.createContext(void 0), h = () => import_react.useContext(f) || d, _ = {}, v = {};
7482
7530
  function y(e2) {
7483
7531
  var _a2, _b, _c, _d;
7484
- let { children: d2, theme: h2, modeStorageKey: y2 = i, colorSchemeStorageKey: S2 = a, disableTransitionOnChange: w2 = o, storageManager: E, storageWindow: O = typeof window > "u" ? void 0 : window, documentNode: A = typeof document > "u" ? void 0 : document, colorSchemeNode: M = typeof document > "u" ? void 0 : document.documentElement, disableNestedContext: I = false, disableStyleSheetGeneration: z = false, defaultMode: U = "system", noSsr: K } = e2, q = import_react.useRef(false), J = useTheme$2(), Q = import_react.useContext(f), ZM = !!Q && !I, $ = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
7532
+ let { children: d2, theme: h2, modeStorageKey: y2 = i, colorSchemeStorageKey: S2 = a, disableTransitionOnChange: w2 = o, storageManager: E, storageWindow: O = typeof window > "u" ? void 0 : window, documentNode: A = typeof document > "u" ? void 0 : document, colorSchemeNode: M = typeof document > "u" ? void 0 : document.documentElement, disableNestedContext: I = false, disableStyleSheetGeneration: z = false, defaultMode: U = "system", noSsr: K } = e2, q = import_react.useRef(false), J = useTheme$2(), Q = import_react.useContext(f), $M = !!Q && !I, $ = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
7485
7533
  h2
7486
- ]), QM = $[t], $M = QM || $, { colorSchemes: eN = _, components: tN = v, cssVarPrefix: nN } = $M, rN = Object.keys(eN).filter((e3) => !!eN[e3]).join(","), iN = import_react.useMemo(() => rN.split(","), [
7487
- rN
7488
- ]), aN = typeof s == "string" ? s : s.light, oN = typeof s == "string" ? s : s.dark, { mode: sN, setMode: cN, systemMode: lN, lightColorScheme: uN, darkColorScheme: dN, colorScheme: fN, setColorScheme: pN } = useCurrentColorScheme({
7489
- supportedColorSchemes: iN,
7490
- defaultLightColorScheme: aN,
7491
- defaultDarkColorScheme: oN,
7534
+ ]), eN = $[t], tN = eN || $, { colorSchemes: nN = _, components: rN = v, cssVarPrefix: iN } = tN, aN = Object.keys(nN).filter((e3) => !!nN[e3]).join(","), oN = import_react.useMemo(() => aN.split(","), [
7535
+ aN
7536
+ ]), sN = typeof s == "string" ? s : s.light, cN = typeof s == "string" ? s : s.dark, { mode: lN, setMode: uN, systemMode: dN, lightColorScheme: fN, darkColorScheme: pN, colorScheme: mN, setColorScheme: hN } = useCurrentColorScheme({
7537
+ supportedColorSchemes: oN,
7538
+ defaultLightColorScheme: sN,
7539
+ defaultDarkColorScheme: cN,
7492
7540
  modeStorageKey: y2,
7493
7541
  colorSchemeStorageKey: S2,
7494
- defaultMode: eN[aN] && eN[oN] ? U : ((_b = (_a2 = eN[$M.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = $M.palette) == null ? void 0 : _c.mode),
7542
+ defaultMode: nN[sN] && nN[cN] ? U : ((_b = (_a2 = nN[tN.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = tN.palette) == null ? void 0 : _c.mode),
7495
7543
  storageManager: E,
7496
7544
  storageWindow: O,
7497
7545
  noSsr: K
7498
- }), mN = sN, hN = fN;
7499
- ZM && (mN = Q.mode, hN = Q.colorScheme);
7500
- let gN = import_react.useMemo(() => {
7546
+ }), gN = lN, _N = mN;
7547
+ $M && (gN = Q.mode, _N = Q.colorScheme);
7548
+ let vN = import_react.useMemo(() => {
7501
7549
  var _a3;
7502
- let e3 = hN || $M.defaultColorScheme, t2 = ((_a3 = $M.generateThemeVars) == null ? void 0 : _a3.call($M)) || $M.vars, n2 = {
7503
- ...$M,
7504
- components: tN,
7505
- colorSchemes: eN,
7506
- cssVarPrefix: nN,
7550
+ let e3 = _N || tN.defaultColorScheme, t2 = ((_a3 = tN.generateThemeVars) == null ? void 0 : _a3.call(tN)) || tN.vars, n2 = {
7551
+ ...tN,
7552
+ components: rN,
7553
+ colorSchemes: nN,
7554
+ cssVarPrefix: iN,
7507
7555
  vars: t2
7508
7556
  };
7509
7557
  if (typeof n2.generateSpacing == "function" && (n2.spacing = n2.generateSpacing()), e3) {
7510
- let t3 = eN[e3];
7558
+ let t3 = nN[e3];
7511
7559
  t3 && typeof t3 == "object" && Object.keys(t3).forEach((e4) => {
7512
7560
  t3[e4] && typeof t3[e4] == "object" ? n2[e4] = {
7513
7561
  ...n2[e4],
@@ -7517,31 +7565,31 @@ try {
7517
7565
  }
7518
7566
  return c ? c(n2) : n2;
7519
7567
  }, [
7520
- $M,
7521
- hN,
7522
7568
  tN,
7523
- eN,
7524
- nN
7525
- ]), _N = $M.colorSchemeSelector;
7569
+ _N,
7570
+ rN,
7571
+ nN,
7572
+ iN
7573
+ ]), yN = tN.colorSchemeSelector;
7526
7574
  useEnhancedEffect_default(() => {
7527
- if (hN && M && _N && _N !== "media") {
7528
- let e3 = _N, t2 = _N;
7529
- if (e3 === "class" && (t2 = ".%s"), e3 === "data" && (t2 = "[data-%s]"), (e3 == null ? void 0 : e3.startsWith("data-")) && !e3.includes("%s") && (t2 = `[${e3}="%s"]`), t2.startsWith(".")) M.classList.remove(...iN.map((e4) => t2.substring(1).replace("%s", e4))), M.classList.add(t2.substring(1).replace("%s", hN));
7575
+ if (_N && M && yN && yN !== "media") {
7576
+ let e3 = yN, t2 = yN;
7577
+ if (e3 === "class" && (t2 = ".%s"), e3 === "data" && (t2 = "[data-%s]"), (e3 == null ? void 0 : e3.startsWith("data-")) && !e3.includes("%s") && (t2 = `[${e3}="%s"]`), t2.startsWith(".")) M.classList.remove(...oN.map((e4) => t2.substring(1).replace("%s", e4))), M.classList.add(t2.substring(1).replace("%s", _N));
7530
7578
  else {
7531
- let e4 = t2.replace("%s", hN).match(/\[([^\]]+)\]/);
7579
+ let e4 = t2.replace("%s", _N).match(/\[([^\]]+)\]/);
7532
7580
  if (e4) {
7533
7581
  let [t3, n2] = e4[1].split("=");
7534
- n2 || iN.forEach((e5) => {
7535
- M.removeAttribute(t3.replace(hN, e5));
7582
+ n2 || oN.forEach((e5) => {
7583
+ M.removeAttribute(t3.replace(_N, e5));
7536
7584
  }), M.setAttribute(t3, n2 ? n2.replace(/"|'/g, "") : "");
7537
- } else M.setAttribute(t2, hN);
7585
+ } else M.setAttribute(t2, _N);
7538
7586
  }
7539
7587
  }
7540
7588
  }, [
7541
- hN,
7542
7589
  _N,
7590
+ yN,
7543
7591
  M,
7544
- iN
7592
+ oN
7545
7593
  ]), import_react.useEffect(() => {
7546
7594
  let e3;
7547
7595
  if (w2 && q.current && A) {
@@ -7554,48 +7602,48 @@ try {
7554
7602
  clearTimeout(e3);
7555
7603
  };
7556
7604
  }, [
7557
- hN,
7605
+ _N,
7558
7606
  w2,
7559
7607
  A
7560
7608
  ]), import_react.useEffect(() => (q.current = true, () => {
7561
7609
  q.current = false;
7562
7610
  }), []);
7563
- let vN = import_react.useMemo(() => ({
7564
- allColorSchemes: iN,
7565
- colorScheme: hN,
7566
- darkColorScheme: dN,
7567
- lightColorScheme: uN,
7568
- mode: mN,
7569
- setColorScheme: pN,
7570
- setMode: cN,
7571
- systemMode: lN
7611
+ let bN = import_react.useMemo(() => ({
7612
+ allColorSchemes: oN,
7613
+ colorScheme: _N,
7614
+ darkColorScheme: pN,
7615
+ lightColorScheme: fN,
7616
+ mode: gN,
7617
+ setColorScheme: hN,
7618
+ setMode: uN,
7619
+ systemMode: dN
7572
7620
  }), [
7573
- iN,
7621
+ oN,
7622
+ _N,
7623
+ pN,
7624
+ fN,
7625
+ gN,
7574
7626
  hN,
7575
- dN,
7576
7627
  uN,
7577
- mN,
7578
- pN,
7579
- cN,
7580
- lN,
7581
- gN.colorSchemeSelector
7582
- ]), yN = true;
7583
- (z || $M.cssVariables === false || ZM && (J == null ? void 0 : J.cssVarPrefix) === nN) && (yN = false);
7584
- let bN = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
7628
+ dN,
7629
+ vN.colorSchemeSelector
7630
+ ]), xN = true;
7631
+ (z || tN.cssVariables === false || $M && (J == null ? void 0 : J.cssVarPrefix) === iN) && (xN = false);
7632
+ let SN = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
7585
7633
  children: [
7586
7634
  (0, import_jsx_runtime.jsx)(ThemeProvider_default, {
7587
- themeId: QM ? t : void 0,
7588
- theme: gN,
7635
+ themeId: eN ? t : void 0,
7636
+ theme: vN,
7589
7637
  children: d2
7590
7638
  }),
7591
- yN && (0, import_jsx_runtime.jsx)(GlobalStyles$1, {
7592
- styles: ((_d = gN.generateStyleSheets) == null ? void 0 : _d.call(gN)) || []
7639
+ xN && (0, import_jsx_runtime.jsx)(GlobalStyles$1, {
7640
+ styles: ((_d = vN.generateStyleSheets) == null ? void 0 : _d.call(vN)) || []
7593
7641
  })
7594
7642
  ]
7595
7643
  });
7596
- return ZM ? bN : (0, import_jsx_runtime.jsx)(f.Provider, {
7597
- value: vN,
7598
- children: bN
7644
+ return $M ? SN : (0, import_jsx_runtime.jsx)(f.Provider, {
7645
+ value: bN,
7646
+ children: SN
7599
7647
  });
7600
7648
  }
7601
7649
  let S = typeof s == "string" ? s : s.light, w = typeof s == "string" ? s : s.dark;
@@ -9095,10 +9143,10 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
9095
9143
  let n = useDefaultProps({
9096
9144
  props: e,
9097
9145
  name: "MuiInputBase"
9098
- }), { "aria-describedby": i, autoComplete: a, autoFocus: o, className: s, color: c, components: d = {}, componentsProps: f = {}, defaultValue: h, disabled: _, disableInjectingGlobalStyles: v, endAdornment: y, error: S, fullWidth: w = false, id: E, inputComponent: O = "input", inputProps: A = {}, inputRef: M, margin: I, maxRows: z, minRows: U, multiline: K = false, name: q, onBlur: J, onChange: Q, onClick: ZM, onFocus: $, onKeyDown: QM, onKeyUp: $M, placeholder: eN, readOnly: tN, renderSuffix: nN, rows: rN, size: iN, slotProps: aN = {}, slots: oN = {}, startAdornment: sN, type: cN = "text", value: lN, ...uN } = n, dN = A.value == null ? lN : A.value, { current: fN } = import_react.useRef(dN != null), pN = import_react.useRef(), mN = import_react.useCallback((e2) => {
9099
- }, []), hN = useForkRef_default(pN, M, A.ref, mN), [gN, _N] = import_react.useState(false), vN = useFormControl(), yN = formControlState({
9146
+ }), { "aria-describedby": i, autoComplete: a, autoFocus: o, className: s, color: c, components: d = {}, componentsProps: f = {}, defaultValue: h, disabled: _, disableInjectingGlobalStyles: v, endAdornment: y, error: S, fullWidth: w = false, id: E, inputComponent: O = "input", inputProps: A = {}, inputRef: M, margin: I, maxRows: z, minRows: U, multiline: K = false, name: q, onBlur: J, onChange: Q, onClick: $M, onFocus: $, onKeyDown: eN, onKeyUp: tN, placeholder: nN, readOnly: rN, renderSuffix: iN, rows: aN, size: oN, slotProps: sN = {}, slots: cN = {}, startAdornment: lN, type: uN = "text", value: dN, ...fN } = n, pN = A.value == null ? dN : A.value, { current: mN } = import_react.useRef(pN != null), hN = import_react.useRef(), gN = import_react.useCallback((e2) => {
9147
+ }, []), _N = useForkRef_default(hN, M, A.ref, gN), [vN, yN] = import_react.useState(false), bN = useFormControl(), xN = formControlState({
9100
9148
  props: n,
9101
- muiFormControl: vN,
9149
+ muiFormControl: bN,
9102
9150
  states: [
9103
9151
  "color",
9104
9152
  "disabled",
@@ -9109,145 +9157,145 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
9109
9157
  "filled"
9110
9158
  ]
9111
9159
  });
9112
- yN.focused = vN ? vN.focused : gN, import_react.useEffect(() => {
9113
- !vN && _ && gN && (_N(false), J && J());
9160
+ xN.focused = bN ? bN.focused : vN, import_react.useEffect(() => {
9161
+ !bN && _ && vN && (yN(false), J && J());
9114
9162
  }, [
9115
- vN,
9163
+ bN,
9116
9164
  _,
9117
- gN,
9165
+ vN,
9118
9166
  J
9119
9167
  ]);
9120
- let bN = vN && vN.onFilled, xN = vN && vN.onEmpty, SN = import_react.useCallback((e2) => {
9121
- isFilled(e2) ? bN && bN() : xN && xN();
9168
+ let SN = bN && bN.onFilled, CN = bN && bN.onEmpty, wN = import_react.useCallback((e2) => {
9169
+ isFilled(e2) ? SN && SN() : CN && CN();
9122
9170
  }, [
9123
- bN,
9124
- xN
9171
+ SN,
9172
+ CN
9125
9173
  ]);
9126
9174
  useEnhancedEffect_default$1(() => {
9127
- fN && SN({
9128
- value: dN
9175
+ mN && wN({
9176
+ value: pN
9129
9177
  });
9130
9178
  }, [
9131
- dN,
9132
- SN,
9133
- fN
9179
+ pN,
9180
+ wN,
9181
+ mN
9134
9182
  ]);
9135
- let CN = (e2) => {
9136
- $ && $(e2), A.onFocus && A.onFocus(e2), vN && vN.onFocus ? vN.onFocus(e2) : _N(true);
9137
- }, wN = (e2) => {
9138
- J && J(e2), A.onBlur && A.onBlur(e2), vN && vN.onBlur ? vN.onBlur(e2) : _N(false);
9139
- }, TN = (e2, ...t2) => {
9140
- if (!fN) {
9141
- let t3 = e2.target || pN.current;
9183
+ let TN = (e2) => {
9184
+ $ && $(e2), A.onFocus && A.onFocus(e2), bN && bN.onFocus ? bN.onFocus(e2) : yN(true);
9185
+ }, EN = (e2) => {
9186
+ J && J(e2), A.onBlur && A.onBlur(e2), bN && bN.onBlur ? bN.onBlur(e2) : yN(false);
9187
+ }, DN = (e2, ...t2) => {
9188
+ if (!mN) {
9189
+ let t3 = e2.target || hN.current;
9142
9190
  if (t3 == null) throw Error(formatMuiErrorMessage(1));
9143
- SN({
9191
+ wN({
9144
9192
  value: t3.value
9145
9193
  });
9146
9194
  }
9147
9195
  A.onChange && A.onChange(e2, ...t2), Q && Q(e2, ...t2);
9148
9196
  };
9149
9197
  import_react.useEffect(() => {
9150
- SN(pN.current);
9198
+ wN(hN.current);
9151
9199
  }, []);
9152
- let EN = (e2) => {
9153
- pN.current && e2.currentTarget === e2.target && pN.current.focus(), ZM && ZM(e2);
9154
- }, DN = O, ON = A;
9155
- K && DN === "input" && (ON = rN ? {
9200
+ let ON = (e2) => {
9201
+ hN.current && e2.currentTarget === e2.target && hN.current.focus(), $M && $M(e2);
9202
+ }, kN = O, AN = A;
9203
+ K && kN === "input" && (AN = aN ? {
9156
9204
  type: void 0,
9157
- minRows: rN,
9158
- maxRows: rN,
9159
- ...ON
9205
+ minRows: aN,
9206
+ maxRows: aN,
9207
+ ...AN
9160
9208
  } : {
9161
9209
  type: void 0,
9162
9210
  maxRows: z,
9163
9211
  minRows: U,
9164
- ...ON
9165
- }, DN = TextareaAutosize_default);
9166
- let kN = (e2) => {
9167
- SN(e2.animationName === "mui-auto-fill-cancel" ? pN.current : {
9212
+ ...AN
9213
+ }, kN = TextareaAutosize_default);
9214
+ let jN = (e2) => {
9215
+ wN(e2.animationName === "mui-auto-fill-cancel" ? hN.current : {
9168
9216
  value: "x"
9169
9217
  });
9170
9218
  };
9171
9219
  import_react.useEffect(() => {
9172
- vN && vN.setAdornedStart(!!sN);
9220
+ bN && bN.setAdornedStart(!!lN);
9173
9221
  }, [
9174
- vN,
9175
- sN
9222
+ bN,
9223
+ lN
9176
9224
  ]);
9177
- let AN = {
9225
+ let MN = {
9178
9226
  ...n,
9179
- color: yN.color || "primary",
9180
- disabled: yN.disabled,
9227
+ color: xN.color || "primary",
9228
+ disabled: xN.disabled,
9181
9229
  endAdornment: y,
9182
- error: yN.error,
9183
- focused: yN.focused,
9184
- formControl: vN,
9230
+ error: xN.error,
9231
+ focused: xN.focused,
9232
+ formControl: bN,
9185
9233
  fullWidth: w,
9186
- hiddenLabel: yN.hiddenLabel,
9234
+ hiddenLabel: xN.hiddenLabel,
9187
9235
  multiline: K,
9188
- size: yN.size,
9189
- startAdornment: sN,
9190
- type: cN
9191
- }, jN = useUtilityClasses(AN), MN = oN.root || d.Root || InputBaseRoot, NN = aN.root || f.root || {}, PN = oN.input || d.Input || InputBaseInput;
9192
- return ON = {
9193
- ...ON,
9194
- ...aN.input ?? f.input
9236
+ size: xN.size,
9237
+ startAdornment: lN,
9238
+ type: uN
9239
+ }, NN = useUtilityClasses(MN), PN = cN.root || d.Root || InputBaseRoot, FN = sN.root || f.root || {}, IN = cN.input || d.Input || InputBaseInput;
9240
+ return AN = {
9241
+ ...AN,
9242
+ ...sN.input ?? f.input
9195
9243
  }, (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
9196
9244
  children: [
9197
9245
  !v && typeof InputGlobalStyles == "function" && (_InputGlobalStyles || (_InputGlobalStyles = (0, import_jsx_runtime.jsx)(InputGlobalStyles, {}))),
9198
- (0, import_jsx_runtime.jsxs)(MN, {
9199
- ...NN,
9246
+ (0, import_jsx_runtime.jsxs)(PN, {
9247
+ ...FN,
9200
9248
  ref: t,
9201
- onClick: EN,
9202
- ...uN,
9203
- ...!isHostComponent_default(MN) && {
9249
+ onClick: ON,
9250
+ ...fN,
9251
+ ...!isHostComponent_default(PN) && {
9204
9252
  ownerState: {
9205
- ...AN,
9206
- ...NN.ownerState
9253
+ ...MN,
9254
+ ...FN.ownerState
9207
9255
  }
9208
9256
  },
9209
- className: clsx_default(jN.root, NN.className, s, tN && "MuiInputBase-readOnly"),
9257
+ className: clsx_default(NN.root, FN.className, s, rN && "MuiInputBase-readOnly"),
9210
9258
  children: [
9211
- sN,
9259
+ lN,
9212
9260
  (0, import_jsx_runtime.jsx)(FormControlContext_default.Provider, {
9213
9261
  value: null,
9214
- children: (0, import_jsx_runtime.jsx)(PN, {
9215
- "aria-invalid": yN.error,
9262
+ children: (0, import_jsx_runtime.jsx)(IN, {
9263
+ "aria-invalid": xN.error,
9216
9264
  "aria-describedby": i,
9217
9265
  autoComplete: a,
9218
9266
  autoFocus: o,
9219
9267
  defaultValue: h,
9220
- disabled: yN.disabled,
9268
+ disabled: xN.disabled,
9221
9269
  id: E,
9222
- onAnimationStart: kN,
9270
+ onAnimationStart: jN,
9223
9271
  name: q,
9224
- placeholder: eN,
9225
- readOnly: tN,
9226
- required: yN.required,
9227
- rows: rN,
9228
- value: dN,
9229
- onKeyDown: QM,
9230
- onKeyUp: $M,
9231
- type: cN,
9232
- ...ON,
9233
- ...!isHostComponent_default(PN) && {
9234
- as: DN,
9272
+ placeholder: nN,
9273
+ readOnly: rN,
9274
+ required: xN.required,
9275
+ rows: aN,
9276
+ value: pN,
9277
+ onKeyDown: eN,
9278
+ onKeyUp: tN,
9279
+ type: uN,
9280
+ ...AN,
9281
+ ...!isHostComponent_default(IN) && {
9282
+ as: kN,
9235
9283
  ownerState: {
9236
- ...AN,
9237
- ...ON.ownerState
9284
+ ...MN,
9285
+ ...AN.ownerState
9238
9286
  }
9239
9287
  },
9240
- ref: hN,
9241
- className: clsx_default(jN.input, ON.className, tN && "MuiInputBase-readOnly"),
9242
- onBlur: wN,
9243
- onChange: TN,
9244
- onFocus: CN
9288
+ ref: _N,
9289
+ className: clsx_default(NN.input, AN.className, rN && "MuiInputBase-readOnly"),
9290
+ onBlur: EN,
9291
+ onChange: DN,
9292
+ onFocus: TN
9245
9293
  })
9246
9294
  }),
9247
9295
  y,
9248
- nN ? nN({
9249
- ...yN,
9250
- startAdornment: sN
9296
+ iN ? iN({
9297
+ ...xN,
9298
+ startAdornment: lN
9251
9299
  }) : null
9252
9300
  ]
9253
9301
  })
@@ -10323,30 +10371,30 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
10323
10371
  M,
10324
10372
  i,
10325
10373
  a
10326
- ]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), ZM = useJsonViewerStore((e2) => e2.onChange), $ = useTextColor(), QM = useJsonViewerStore((e2) => e2.colorspace.base0C), $M = useJsonViewerStore((e2) => e2.colorspace.base0A), eN = useJsonViewerStore((e2) => e2.displayComma), tN = useJsonViewerStore((e2) => e2.quotesOnKeys), nN = useJsonViewerStore((e2) => e2.rootName), rN = U === t, iN = Number.isInteger(Number(A)), aN = useJsonViewerStore((e2) => e2.enableAdd), oN = useJsonViewerStore((e2) => e2.onAdd), sN = (0, import_react.useMemo)(() => !oN || a !== void 0 || aN === false || v === false ? false : typeof aN == "function" ? !!aN(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
10327
- oN,
10374
+ ]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), $M = useJsonViewerStore((e2) => e2.onChange), $ = useTextColor(), eN = useJsonViewerStore((e2) => e2.colorspace.base0C), tN = useJsonViewerStore((e2) => e2.colorspace.base0A), nN = useJsonViewerStore((e2) => e2.displayComma), rN = useJsonViewerStore((e2) => e2.quotesOnKeys), iN = useJsonViewerStore((e2) => e2.rootName), aN = U === t, oN = Number.isInteger(Number(A)), sN = useJsonViewerStore((e2) => e2.enableAdd), cN = useJsonViewerStore((e2) => e2.onAdd), lN = (0, import_react.useMemo)(() => !cN || a !== void 0 || sN === false || v === false ? false : typeof sN == "function" ? !!sN(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
10375
+ cN,
10328
10376
  a,
10329
10377
  i,
10330
- aN,
10378
+ sN,
10331
10379
  v,
10332
10380
  t
10333
- ]), cN = useJsonViewerStore((e2) => e2.enableDelete), lN = useJsonViewerStore((e2) => e2.onDelete), uN = (0, import_react.useMemo)(() => !lN || a !== void 0 || rN || cN === false || v === false ? false : typeof cN == "function" ? !!cN(i, t) : cN, [
10334
- lN,
10381
+ ]), uN = useJsonViewerStore((e2) => e2.enableDelete), dN = useJsonViewerStore((e2) => e2.onDelete), fN = (0, import_react.useMemo)(() => !dN || a !== void 0 || aN || uN === false || v === false ? false : typeof uN == "function" ? !!uN(i, t) : uN, [
10382
+ dN,
10335
10383
  a,
10336
- rN,
10384
+ aN,
10337
10385
  i,
10338
- cN,
10386
+ uN,
10339
10387
  v,
10340
10388
  t
10341
- ]), dN = useJsonViewerStore((e2) => e2.enableClipboard), { copy: fN, copied: pN } = useClipboard(), mN = useJsonViewerStore((e2) => e2.highlightUpdates), hN = (0, import_react.useMemo)(() => !mN || n === void 0 ? false : typeof t == typeof n ? typeof t == "number" ? isNaN(t) && isNaN(n) ? false : t !== n : Array.isArray(t) === Array.isArray(n) ? typeof t == "object" || typeof t == "function" ? false : t !== n : true : true, [
10342
- mN,
10389
+ ]), pN = useJsonViewerStore((e2) => e2.enableClipboard), { copy: mN, copied: hN } = useClipboard(), gN = useJsonViewerStore((e2) => e2.highlightUpdates), _N = (0, import_react.useMemo)(() => !gN || n === void 0 ? false : typeof t == typeof n ? typeof t == "number" ? isNaN(t) && isNaN(n) ? false : t !== n : Array.isArray(t) === Array.isArray(n) ? typeof t == "object" || typeof t == "function" ? false : t !== n : true : true, [
10390
+ gN,
10343
10391
  n,
10344
10392
  t
10345
- ]), gN = (0, import_react.useRef)();
10393
+ ]), vN = (0, import_react.useRef)();
10346
10394
  (0, import_react.useEffect)(() => {
10347
- gN.current && hN && "animate" in gN.current && gN.current.animate([
10395
+ vN.current && _N && "animate" in vN.current && vN.current.animate([
10348
10396
  {
10349
- backgroundColor: $M
10397
+ backgroundColor: tN
10350
10398
  },
10351
10399
  {
10352
10400
  backgroundColor: ""
@@ -10356,40 +10404,40 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
10356
10404
  easing: "ease-in"
10357
10405
  });
10358
10406
  }, [
10359
- $M,
10360
- hN,
10407
+ tN,
10408
+ _N,
10361
10409
  n,
10362
10410
  t
10363
10411
  ]);
10364
- let _N = (0, import_react.useCallback)((e2) => {
10412
+ let yN = (0, import_react.useCallback)((e2) => {
10365
10413
  e2.preventDefault(), h && E(h(t)), Q(true);
10366
10414
  }, [
10367
10415
  h,
10368
10416
  t
10369
- ]), vN = (0, import_react.useCallback)(() => {
10417
+ ]), bN = (0, import_react.useCallback)(() => {
10370
10418
  Q(false), E("");
10371
10419
  }, [
10372
10420
  Q,
10373
10421
  E
10374
- ]), yN = (0, import_react.useCallback)((e2) => {
10422
+ ]), xN = (0, import_react.useCallback)((e2) => {
10375
10423
  if (Q(false), _) try {
10376
- ZM(i, t, _(e2));
10424
+ $M(i, t, _(e2));
10377
10425
  } catch {
10378
10426
  }
10379
10427
  }, [
10380
10428
  Q,
10381
10429
  _,
10382
- ZM,
10430
+ $M,
10383
10431
  i,
10384
10432
  t
10385
- ]), bN = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
10433
+ ]), SN = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
10386
10434
  children: [
10387
10435
  (0, import_jsx_runtime.jsx)(IconBox, {
10388
10436
  children: (0, import_jsx_runtime.jsx)(CloseIcon, {
10389
10437
  sx: {
10390
10438
  fontSize: ".8rem"
10391
10439
  },
10392
- onClick: vN
10440
+ onClick: bN
10393
10441
  })
10394
10442
  }),
10395
10443
  (0, import_jsx_runtime.jsx)(IconBox, {
@@ -10397,22 +10445,22 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
10397
10445
  sx: {
10398
10446
  fontSize: ".8rem"
10399
10447
  },
10400
- onClick: () => yN(w)
10448
+ onClick: () => xN(w)
10401
10449
  })
10402
10450
  })
10403
10451
  ]
10404
10452
  }) : (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
10405
10453
  children: [
10406
- dN && (0, import_jsx_runtime.jsx)(IconBox, {
10454
+ pN && (0, import_jsx_runtime.jsx)(IconBox, {
10407
10455
  onClick: (e2) => {
10408
10456
  e2.preventDefault();
10409
10457
  try {
10410
- fN(i, t, copyString);
10458
+ mN(i, t, copyString);
10411
10459
  } catch (e3) {
10412
10460
  console.error(e3);
10413
10461
  }
10414
10462
  },
10415
- children: pN ? (0, import_jsx_runtime.jsx)(CheckIcon$1, {
10463
+ children: hN ? (0, import_jsx_runtime.jsx)(CheckIcon$1, {
10416
10464
  sx: {
10417
10465
  fontSize: ".8rem"
10418
10466
  }
@@ -10423,16 +10471,16 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
10423
10471
  })
10424
10472
  }),
10425
10473
  f && S && h && _ && (0, import_jsx_runtime.jsx)(IconBox, {
10426
- onClick: _N,
10474
+ onClick: yN,
10427
10475
  children: (0, import_jsx_runtime.jsx)(EditIcon, {
10428
10476
  sx: {
10429
10477
  fontSize: ".8rem"
10430
10478
  }
10431
10479
  })
10432
10480
  }),
10433
- sN && (0, import_jsx_runtime.jsx)(IconBox, {
10481
+ lN && (0, import_jsx_runtime.jsx)(IconBox, {
10434
10482
  onClick: (e2) => {
10435
- e2.preventDefault(), oN == null ? void 0 : oN(i);
10483
+ e2.preventDefault(), cN == null ? void 0 : cN(i);
10436
10484
  },
10437
10485
  children: (0, import_jsx_runtime.jsx)(AddBoxIcon, {
10438
10486
  sx: {
@@ -10440,9 +10488,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
10440
10488
  }
10441
10489
  })
10442
10490
  }),
10443
- uN && (0, import_jsx_runtime.jsx)(IconBox, {
10491
+ fN && (0, import_jsx_runtime.jsx)(IconBox, {
10444
10492
  onClick: (e2) => {
10445
- e2.preventDefault(), lN == null ? void 0 : lN(i, t);
10493
+ e2.preventDefault(), dN == null ? void 0 : dN(i, t);
10446
10494
  },
10447
10495
  children: (0, import_jsx_runtime.jsx)(DeleteIcon, {
10448
10496
  sx: {
@@ -10455,24 +10503,24 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
10455
10503
  f,
10456
10504
  h,
10457
10505
  _,
10458
- pN,
10459
- fN,
10506
+ hN,
10507
+ mN,
10460
10508
  S,
10461
10509
  J,
10462
- dN,
10463
- sN,
10464
- uN,
10510
+ pN,
10511
+ lN,
10512
+ fN,
10465
10513
  w,
10466
10514
  i,
10467
10515
  t,
10468
- oN,
10469
- lN,
10470
- _N,
10471
- vN,
10472
- yN
10473
- ]), xN = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
10516
+ cN,
10517
+ dN,
10518
+ yN,
10519
+ bN,
10520
+ xN
10521
+ ]), CN = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
10474
10522
  t
10475
- ]), SN = !xN && !!(c && d), CN = useJsonViewerStore((e2) => e2.keyRenderer), wN = (0, import_react.useMemo)(() => ({
10523
+ ]), wN = !CN && !!(c && d), TN = useJsonViewerStore((e2) => e2.keyRenderer), EN = (0, import_react.useMemo)(() => ({
10476
10524
  path: i,
10477
10525
  inspect: K,
10478
10526
  setInspect: q,
@@ -10509,13 +10557,13 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
10509
10557
  opacity: 0.8
10510
10558
  },
10511
10559
  onClick: (0, import_react.useCallback)((e2) => {
10512
- e2.isDefaultPrevented() || xN || q((e3) => !e3);
10560
+ e2.isDefaultPrevented() || CN || q((e3) => !e3);
10513
10561
  }, [
10514
- xN,
10562
+ CN,
10515
10563
  q
10516
10564
  ]),
10517
10565
  children: [
10518
- SN ? K ? (0, import_jsx_runtime.jsx)(ExpandMoreIcon, {
10566
+ wN ? K ? (0, import_jsx_runtime.jsx)(ExpandMoreIcon, {
10519
10567
  className: "data-key-toggle-expanded",
10520
10568
  sx: {
10521
10569
  fontSize: ".8rem",
@@ -10533,27 +10581,27 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
10533
10581
  }
10534
10582
  }) : null,
10535
10583
  (0, import_jsx_runtime.jsx)(Box_default, {
10536
- ref: gN,
10584
+ ref: vN,
10537
10585
  className: "data-key-key",
10538
10586
  component: "span",
10539
- children: rN && O === 0 ? nN === false ? null : tN ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
10587
+ children: aN && O === 0 ? iN === false ? null : rN ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
10540
10588
  children: [
10541
10589
  '"',
10542
- nN,
10590
+ iN,
10543
10591
  '"'
10544
10592
  ]
10545
10593
  }) : (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
10546
- children: nN
10547
- }) : CN.when(wN) ? (0, import_jsx_runtime.jsx)(CN, {
10548
- ...wN
10549
- }) : a === void 0 && (iN ? (0, import_jsx_runtime.jsx)(Box_default, {
10594
+ children: iN
10595
+ }) : TN.when(EN) ? (0, import_jsx_runtime.jsx)(TN, {
10596
+ ...EN
10597
+ }) : a === void 0 && (oN ? (0, import_jsx_runtime.jsx)(Box_default, {
10550
10598
  component: "span",
10551
10599
  style: {
10552
- color: QM,
10553
- userSelect: iN ? "none" : "auto"
10600
+ color: eN,
10601
+ userSelect: oN ? "none" : "auto"
10554
10602
  },
10555
10603
  children: A
10556
- }) : tN ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
10604
+ }) : rN ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
10557
10605
  children: [
10558
10606
  '"',
10559
10607
  A,
@@ -10563,7 +10611,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
10563
10611
  children: A
10564
10612
  }))
10565
10613
  }),
10566
- rN ? nN !== false && (0, import_jsx_runtime.jsx)(DataBox, {
10614
+ aN ? iN !== false && (0, import_jsx_runtime.jsx)(DataBox, {
10567
10615
  className: "data-key-colon",
10568
10616
  sx: {
10569
10617
  mr: 0.5
@@ -10576,38 +10624,38 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
10576
10624
  ".data-key-key:empty + &": {
10577
10625
  display: "none"
10578
10626
  },
10579
- userSelect: iN ? "none" : "auto"
10627
+ userSelect: oN ? "none" : "auto"
10580
10628
  },
10581
10629
  children: ":"
10582
10630
  }),
10583
10631
  c && (0, import_jsx_runtime.jsx)(c, {
10584
- ...wN
10632
+ ...EN
10585
10633
  }),
10586
- I && SN && K && bN
10634
+ I && wN && K && SN
10587
10635
  ]
10588
10636
  }),
10589
10637
  J && S ? f && (0, import_jsx_runtime.jsx)(f, {
10590
10638
  path: i,
10591
10639
  value: w,
10592
10640
  setValue: E,
10593
- abortEditing: vN,
10594
- commitEditing: yN
10641
+ abortEditing: bN,
10642
+ commitEditing: xN
10595
10643
  }) : s ? (0, import_jsx_runtime.jsx)(s, {
10596
- ...wN
10644
+ ...EN
10597
10645
  }) : (0, import_jsx_runtime.jsx)(Box_default, {
10598
10646
  component: "span",
10599
10647
  className: "data-value-fallback",
10600
10648
  children: `fallback: ${t}`
10601
10649
  }),
10602
10650
  d && (0, import_jsx_runtime.jsx)(d, {
10603
- ...wN
10651
+ ...EN
10604
10652
  }),
10605
- !o && eN && (0, import_jsx_runtime.jsx)(DataBox, {
10653
+ !o && nN && (0, import_jsx_runtime.jsx)(DataBox, {
10606
10654
  children: ","
10607
10655
  }),
10608
- I && SN && !K && bN,
10609
- I && !SN && bN,
10610
- !I && J && bN
10656
+ I && wN && !K && SN,
10657
+ I && !wN && SN,
10658
+ !I && J && SN
10611
10659
  ]
10612
10660
  });
10613
10661
  }, query = "(prefers-color-scheme: dark)";
@@ -11437,8 +11485,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
11437
11485
  let t = (0, import_compiler_runtime$39.c)(31), { errors: n, cellId: i, className: o } = e, s = useChromeActions(), c = "This cell wasn't run because it has errors", d = "destructive", h = "text-error";
11438
11486
  if (n.some(_temp$5)) c = "Interrupted";
11439
11487
  else if (n.some(_temp2$3)) c = "An internal error occurred";
11440
- else if (n.some(_temp3$1)) c = "Ancestor prevented from running", d = "default", h = "text-secondary-foreground";
11441
- else if (n.some(_temp4)) c = "Ancestor stopped", d = "default", h = "text-secondary-foreground";
11488
+ else if (n.some(_temp3$2)) c = "Ancestor prevented from running", d = "default", h = "text-secondary-foreground";
11489
+ else if (n.some(_temp4$1)) c = "Ancestor stopped", d = "default", h = "text-secondary-foreground";
11442
11490
  else if (n.some(_temp5)) c = "SQL error";
11443
11491
  else {
11444
11492
  let e2;
@@ -11448,18 +11496,18 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
11448
11496
  }
11449
11497
  let _, v, y, S, w, E;
11450
11498
  if (t[2] !== d || t[3] !== i || t[4] !== s || t[5] !== o || t[6] !== n || t[7] !== h || t[8] !== c) {
11451
- let e2 = n.filter(_temp7), O2 = n.filter(_temp8), A2 = n.filter(_temp9), M = n.filter(_temp0), I = n.filter(_temp1), z = n.filter(_temp10), U = n.filter(_temp11), K = n.filter(_temp12), q = n.filter(_temp13), J = n.filter(_temp14), Q = n.filter(_temp15), ZM = n.filter(_temp16), $ = n.filter(_temp17), QM;
11452
- t[15] === s ? QM = t[16] : (QM = () => {
11499
+ let e2 = n.filter(_temp7), O2 = n.filter(_temp8), A2 = n.filter(_temp9), M = n.filter(_temp0), I = n.filter(_temp1), z = n.filter(_temp10), U = n.filter(_temp11), K = n.filter(_temp12), q = n.filter(_temp13), J = n.filter(_temp14), Q = n.filter(_temp15), $M = n.filter(_temp16), $ = n.filter(_temp17), eN;
11500
+ t[15] === s ? eN = t[16] : (eN = () => {
11453
11501
  s.openApplication("scratchpad");
11454
- }, t[15] = s, t[16] = QM);
11455
- let $M = QM, eN = () => {
11502
+ }, t[15] = s, t[16] = eN);
11503
+ let tN = eN, nN = () => {
11456
11504
  let t2 = [];
11457
- if (Q.length > 0 || ZM.length > 0) {
11505
+ if (Q.length > 0 || $M.length > 0) {
11458
11506
  let e3 = Q.some(_temp18), n2 = !e3 && Q.some(_temp19);
11459
11507
  t2.push((0, import_jsx_runtime.jsxs)("div", {
11460
11508
  children: [
11461
11509
  Q.map(_temp20),
11462
- ZM.map(_temp21),
11510
+ $M.map(_temp21),
11463
11511
  e3 && (0, import_jsx_runtime.jsxs)(Button, {
11464
11512
  size: "xs",
11465
11513
  variant: "outline",
@@ -11491,7 +11539,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
11491
11539
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
11492
11540
  errors: [
11493
11541
  ...Q,
11494
- ...ZM
11542
+ ...$M
11495
11543
  ],
11496
11544
  cellId: i
11497
11545
  })
@@ -11652,7 +11700,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
11652
11700
  size: "xs",
11653
11701
  variant: "link",
11654
11702
  className: "my-2 font-normal mx-0 px-0",
11655
- onClick: $M,
11703
+ onClick: tN,
11656
11704
  children: [
11657
11705
  (0, import_jsx_runtime.jsx)(NotebookPen, {
11658
11706
  className: "h-3"
@@ -11777,13 +11825,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
11777
11825
  })
11778
11826
  ]
11779
11827
  }, "sql-errors")), t2;
11780
- }, tN = `font-code font-medium tracking-wide ${h}`, nN;
11781
- t[17] !== tN || t[18] !== c ? (nN = (0, import_jsx_runtime.jsx)(AlertTitle, {
11782
- className: tN,
11828
+ }, rN = `font-code font-medium tracking-wide ${h}`, iN;
11829
+ t[17] !== rN || t[18] !== c ? (iN = (0, import_jsx_runtime.jsx)(AlertTitle, {
11830
+ className: rN,
11783
11831
  children: c
11784
- }), t[17] = tN, t[18] = c, t[19] = nN) : nN = t[19];
11785
- let rN = nN;
11786
- _ = Alert, S = d, t[20] === o ? w = t[21] : (w = cn("border-none font-code text-sm text-[0.84375rem] px-0 text-muted-foreground normal [&:has(svg)]:pl-0 space-y-4", o), t[20] = o, t[21] = w), E = rN, v = "flex flex-col gap-8", y = eN(), t[2] = d, t[3] = i, t[4] = s, t[5] = o, t[6] = n, t[7] = h, t[8] = c, t[9] = _, t[10] = v, t[11] = y, t[12] = S, t[13] = w, t[14] = E;
11832
+ }), t[17] = rN, t[18] = c, t[19] = iN) : iN = t[19];
11833
+ let aN = iN;
11834
+ _ = Alert, S = d, t[20] === o ? w = t[21] : (w = cn("border-none font-code text-sm text-[0.84375rem] px-0 text-muted-foreground normal [&:has(svg)]:pl-0 space-y-4", o), t[20] = o, t[21] = w), E = aN, v = "flex flex-col gap-8", y = nN(), t[2] = d, t[3] = i, t[4] = s, t[5] = o, t[6] = n, t[7] = h, t[8] = c, t[9] = _, t[10] = v, t[11] = y, t[12] = S, t[13] = w, t[14] = E;
11787
11835
  } else _ = t[9], v = t[10], y = t[11], S = t[12], w = t[13], E = t[14];
11788
11836
  let O;
11789
11837
  t[22] !== v || t[23] !== y ? (O = (0, import_jsx_runtime.jsx)("div", {
@@ -11808,10 +11856,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
11808
11856
  function _temp2$3(e) {
11809
11857
  return e.type === "internal";
11810
11858
  }
11811
- function _temp3$1(e) {
11859
+ function _temp3$2(e) {
11812
11860
  return e.type === "ancestor-prevented";
11813
11861
  }
11814
- function _temp4(e) {
11862
+ function _temp4$1(e) {
11815
11863
  return e.type === "ancestor-stopped";
11816
11864
  }
11817
11865
  function _temp5(e) {
@@ -12770,7 +12818,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
12770
12818
  }, [
12771
12819
  h
12772
12820
  ]), k(() => {
12773
- U(6, QM);
12821
+ U(6, eN);
12774
12822
  }, []);
12775
12823
  let K = import_react.useMemo(() => ({
12776
12824
  subscribe: (e2) => (s.current.add(e2), () => s.current.delete(e2)),
@@ -12779,7 +12827,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
12779
12827
  var _a2;
12780
12828
  var a2, o2, s2;
12781
12829
  if (!Object.is(n.current[e2], t2)) {
12782
- if (n.current[e2] = t2, e2 === "search") $(), Q(), U(1, ZM);
12830
+ if (n.current[e2] = t2, e2 === "search") $(), Q(), U(1, $M);
12783
12831
  else if (e2 === "value") {
12784
12832
  if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
12785
12833
  let e3 = document.getElementById(I);
@@ -12787,8 +12835,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
12787
12835
  }
12788
12836
  if (U(7, () => {
12789
12837
  var _a3;
12790
- n.current.selectedItemId = (_a3 = $M()) == null ? void 0 : _a3.id, K.emit();
12791
- }), i2 || U(5, QM), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
12838
+ n.current.selectedItemId = (_a3 = tN()) == null ? void 0 : _a3.id, K.emit();
12839
+ }), i2 || U(5, eN), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
12792
12840
  let e3 = t2 ?? "";
12793
12841
  (s2 = (o2 = c.current).onValueChange) == null || s2.call(o2, e3);
12794
12842
  return;
@@ -12813,12 +12861,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
12813
12861
  item: (e2, t2) => (i.current.add(e2), t2 && (a.current.has(t2) ? a.current.get(t2).add(e2) : a.current.set(t2, /* @__PURE__ */ new Set([
12814
12862
  e2
12815
12863
  ]))), U(3, () => {
12816
- $(), Q(), n.current.value || ZM(), K.emit();
12864
+ $(), Q(), n.current.value || $M(), K.emit();
12817
12865
  }), () => {
12818
12866
  o.current.delete(e2), i.current.delete(e2), n.current.filtered.items.delete(e2);
12819
- let t3 = $M();
12867
+ let t3 = tN();
12820
12868
  U(4, () => {
12821
- $(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && ZM(), K.emit();
12869
+ $(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && $M(), K.emit();
12822
12870
  });
12823
12871
  }),
12824
12872
  group: (e2) => (a.current.has(e2) || a.current.set(e2, /* @__PURE__ */ new Set()), () => {
@@ -12851,7 +12899,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
12851
12899
  ]);
12852
12900
  });
12853
12901
  let i2 = z.current;
12854
- eN().sort((t3, n2) => {
12902
+ nN().sort((t3, n2) => {
12855
12903
  let i3 = t3.getAttribute("id"), a2 = n2.getAttribute("id");
12856
12904
  return (e2.get(a2) ?? 0) - (e2.get(i3) ?? 0);
12857
12905
  }).forEach((e3) => {
@@ -12863,9 +12911,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
12863
12911
  t3 == null ? void 0 : t3.parentElement.appendChild(t3);
12864
12912
  });
12865
12913
  }
12866
- function ZM() {
12914
+ function $M() {
12867
12915
  var _a2;
12868
- let e2 = (_a2 = eN().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
12916
+ let e2 = (_a2 = nN().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
12869
12917
  K.setState("value", e2 || void 0);
12870
12918
  }
12871
12919
  function $() {
@@ -12886,43 +12934,43 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
12886
12934
  }
12887
12935
  n.current.filtered.count = e2;
12888
12936
  }
12889
- function QM() {
12937
+ function eN() {
12890
12938
  var _a2, _b;
12891
12939
  var e2;
12892
- let t2 = $M();
12940
+ let t2 = tN();
12893
12941
  t2 && (((_a2 = t2.parentElement) == null ? void 0 : _a2.firstChild) === t2 && ((e2 = (_b = t2.closest(N$1)) == null ? void 0 : _b.querySelector(be)) == null || e2.scrollIntoView({
12894
12942
  block: "nearest"
12895
12943
  })), t2.scrollIntoView({
12896
12944
  block: "nearest"
12897
12945
  }));
12898
12946
  }
12899
- function $M() {
12947
+ function tN() {
12900
12948
  var _a2;
12901
12949
  return (_a2 = z.current) == null ? void 0 : _a2.querySelector(`${le}[aria-selected="true"]`);
12902
12950
  }
12903
- function eN() {
12951
+ function nN() {
12904
12952
  var _a2;
12905
12953
  return Array.from(((_a2 = z.current) == null ? void 0 : _a2.querySelectorAll(ce$1)) || []);
12906
12954
  }
12907
- function tN(e2) {
12908
- let t2 = eN()[e2];
12955
+ function rN(e2) {
12956
+ let t2 = nN()[e2];
12909
12957
  t2 && K.setState("value", t2.getAttribute(T));
12910
12958
  }
12911
- function nN(e2) {
12959
+ function iN(e2) {
12912
12960
  var t2;
12913
- let n2 = $M(), i2 = eN(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
12961
+ let n2 = tN(), i2 = nN(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
12914
12962
  (t2 = c.current) != null && t2.loop && (o2 = a2 + e2 < 0 ? i2[i2.length - 1] : a2 + e2 === i2.length ? i2[0] : i2[a2 + e2]), o2 && K.setState("value", o2.getAttribute(T));
12915
12963
  }
12916
- function rN(e2) {
12964
+ function aN(e2) {
12917
12965
  var _a2;
12918
- let t2 = (_a2 = $M()) == null ? void 0 : _a2.closest(N$1), n2;
12966
+ let t2 = (_a2 = tN()) == null ? void 0 : _a2.closest(N$1), n2;
12919
12967
  for (; t2 && !n2; ) t2 = e2 > 0 ? we(t2, N$1) : De(t2, N$1), n2 = t2 == null ? void 0 : t2.querySelector(ce$1);
12920
- n2 ? K.setState("value", n2.getAttribute(T)) : nN(e2);
12968
+ n2 ? K.setState("value", n2.getAttribute(T)) : iN(e2);
12921
12969
  }
12922
- let iN = () => tN(eN().length - 1), aN = (e2) => {
12923
- e2.preventDefault(), e2.metaKey ? iN() : e2.altKey ? rN(1) : nN(1);
12924
- }, oN = (e2) => {
12925
- e2.preventDefault(), e2.metaKey ? tN(0) : e2.altKey ? rN(-1) : nN(-1);
12970
+ let oN = () => rN(nN().length - 1), sN = (e2) => {
12971
+ e2.preventDefault(), e2.metaKey ? oN() : e2.altKey ? aN(1) : iN(1);
12972
+ }, cN = (e2) => {
12973
+ e2.preventDefault(), e2.metaKey ? rN(0) : e2.altKey ? aN(-1) : iN(-1);
12926
12974
  };
12927
12975
  return import_react.createElement(Primitive.div, {
12928
12976
  ref: t,
@@ -12936,27 +12984,27 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
12936
12984
  if (!(e2.defaultPrevented || n2)) switch (e2.key) {
12937
12985
  case "n":
12938
12986
  case "j":
12939
- E && e2.ctrlKey && aN(e2);
12987
+ E && e2.ctrlKey && sN(e2);
12940
12988
  break;
12941
12989
  case "ArrowDown":
12942
- aN(e2);
12990
+ sN(e2);
12943
12991
  break;
12944
12992
  case "p":
12945
12993
  case "k":
12946
- E && e2.ctrlKey && oN(e2);
12994
+ E && e2.ctrlKey && cN(e2);
12947
12995
  break;
12948
12996
  case "ArrowUp":
12949
- oN(e2);
12997
+ cN(e2);
12950
12998
  break;
12951
12999
  case "Home":
12952
- e2.preventDefault(), tN(0);
13000
+ e2.preventDefault(), rN(0);
12953
13001
  break;
12954
13002
  case "End":
12955
- e2.preventDefault(), iN();
13003
+ e2.preventDefault(), oN();
12956
13004
  break;
12957
13005
  case "Enter": {
12958
13006
  e2.preventDefault();
12959
- let t3 = $M();
13007
+ let t3 = tN();
12960
13008
  if (t3) {
12961
13009
  let e3 = new Event(Z);
12962
13010
  t3.dispatchEvent(e3);
@@ -18946,7 +18994,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
18946
18994
  function PanelWithForwardedRef({ children: e, className: t = "", collapsedSize: n, collapsible: i, defaultSize: a, forwardedRef: o, id: s, maxSize: c, minSize: d, onCollapse: f, onExpand: h, onResize: _, order: v, style: y, tagName: S = "div", ...w }) {
18947
18995
  let E = (0, import_react.useContext)(PanelGroupContext);
18948
18996
  if (E === null) throw Error("Panel components must be rendered within a PanelGroup container");
18949
- let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, ZM = useUniqueId(s), $ = (0, import_react.useRef)({
18997
+ let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, $M = useUniqueId(s), $ = (0, import_react.useRef)({
18950
18998
  callbacks: {
18951
18999
  onCollapse: f,
18952
19000
  onExpand: h,
@@ -18959,7 +19007,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
18959
19007
  maxSize: c,
18960
19008
  minSize: d
18961
19009
  },
18962
- id: ZM,
19010
+ id: $M,
18963
19011
  idIsFromProps: s !== void 0,
18964
19012
  order: v
18965
19013
  });
@@ -18969,7 +19017,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
18969
19017
  let { callbacks: e2, constraints: t2 } = $.current, o2 = {
18970
19018
  ...t2
18971
19019
  };
18972
- $.current.id = ZM, $.current.idIsFromProps = s !== void 0, $.current.order = v, e2.onCollapse = f, e2.onExpand = h, e2.onResize = _, t2.collapsedSize = n, t2.collapsible = i, t2.defaultSize = a, t2.maxSize = c, t2.minSize = d, (o2.collapsedSize !== t2.collapsedSize || o2.collapsible !== t2.collapsible || o2.maxSize !== t2.maxSize || o2.minSize !== t2.minSize) && K($.current, o2);
19020
+ $.current.id = $M, $.current.idIsFromProps = s !== void 0, $.current.order = v, e2.onCollapse = f, e2.onExpand = h, e2.onResize = _, t2.collapsedSize = n, t2.collapsible = i, t2.defaultSize = a, t2.maxSize = c, t2.minSize = d, (o2.collapsedSize !== t2.collapsedSize || o2.collapsible !== t2.collapsible || o2.maxSize !== t2.maxSize || o2.minSize !== t2.minSize) && K($.current, o2);
18973
19021
  }), useIsomorphicLayoutEffect$1(() => {
18974
19022
  let e2 = $.current;
18975
19023
  return q(e2), () => {
@@ -18977,7 +19025,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
18977
19025
  };
18978
19026
  }, [
18979
19027
  v,
18980
- ZM,
19028
+ $M,
18981
19029
  q,
18982
19030
  Q
18983
19031
  ]), (0, import_react.useImperativeHandle)(o, () => ({
@@ -18988,7 +19036,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
18988
19036
  A($.current, e2);
18989
19037
  },
18990
19038
  getId() {
18991
- return ZM;
19039
+ return $M;
18992
19040
  },
18993
19041
  getSize() {
18994
19042
  return M($.current);
@@ -19007,24 +19055,24 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19007
19055
  A,
19008
19056
  M,
19009
19057
  U,
19010
- ZM,
19058
+ $M,
19011
19059
  J
19012
19060
  ]);
19013
- let QM = I($.current, a);
19061
+ let eN = I($.current, a);
19014
19062
  return (0, import_react.createElement)(S, {
19015
19063
  ...w,
19016
19064
  children: e,
19017
19065
  className: t,
19018
- id: ZM,
19066
+ id: $M,
19019
19067
  style: {
19020
- ...QM,
19068
+ ...eN,
19021
19069
  ...y
19022
19070
  },
19023
19071
  [DATA_ATTRIBUTES.groupId]: z,
19024
19072
  [DATA_ATTRIBUTES.panel]: "",
19025
19073
  [DATA_ATTRIBUTES.panelCollapsible]: i || void 0,
19026
- [DATA_ATTRIBUTES.panelId]: ZM,
19027
- [DATA_ATTRIBUTES.panelSize]: parseFloat("" + QM.flexGrow).toFixed(1)
19074
+ [DATA_ATTRIBUTES.panelId]: $M,
19075
+ [DATA_ATTRIBUTES.panelSize]: parseFloat("" + eN.flexGrow).toFixed(1)
19028
19076
  });
19029
19077
  }
19030
19078
  var Panel = (0, import_react.forwardRef)((e, t) => (0, import_react.createElement)(PanelWithForwardedRef, {
@@ -19797,7 +19845,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19797
19845
  }, []), Q = (0, import_react.useCallback)((e2) => {
19798
19846
  let { layout: t2, panelDataArray: n2 } = K.current, { panelSize: i2 } = panelDataHelper(n2, e2, t2);
19799
19847
  return assert(i2 != null, `Panel size not found for panel "${e2.id}"`), i2;
19800
- }, []), ZM = (0, import_react.useCallback)((e2, t2) => {
19848
+ }, []), $M = (0, import_react.useCallback)((e2, t2) => {
19801
19849
  let { panelDataArray: n2 } = K.current;
19802
19850
  return computePanelFlexBoxStyle({
19803
19851
  defaultSize: t2,
@@ -19812,10 +19860,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19812
19860
  ]), $ = (0, import_react.useCallback)((e2) => {
19813
19861
  let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
19814
19862
  return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), a2 === true && fuzzyNumbersEqual$1(o2, i2);
19815
- }, []), QM = (0, import_react.useCallback)((e2) => {
19863
+ }, []), eN = (0, import_react.useCallback)((e2) => {
19816
19864
  let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
19817
19865
  return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), !a2 || fuzzyCompareNumbers(o2, i2) > 0;
19818
- }, []), $M = (0, import_react.useCallback)((e2) => {
19866
+ }, []), tN = (0, import_react.useCallback)((e2) => {
19819
19867
  let { panelDataArray: t2 } = K.current;
19820
19868
  t2.push(e2), t2.sort((e3, t3) => {
19821
19869
  let n2 = e3.order, i2 = t3.order;
@@ -19847,7 +19895,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19847
19895
  e2.layout = [];
19848
19896
  };
19849
19897
  }, []);
19850
- let eN = (0, import_react.useCallback)((e2) => {
19898
+ let nN = (0, import_react.useCallback)((e2) => {
19851
19899
  let t2 = false, n2 = y.current;
19852
19900
  return n2 && window.getComputedStyle(n2, null).getPropertyValue("direction") === "rtl" && (t2 = true), function(n3) {
19853
19901
  n3.preventDefault();
@@ -19865,7 +19913,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19865
19913
  }), I2 = !compareLayouts(f2, A2);
19866
19914
  (isPointerEvent(n3) || isMouseEvent(n3)) && z.current != S2 && (z.current = S2, !I2 && S2 !== 0 ? w2 ? reportConstraintsViolation(e2, S2 < 0 ? EXCEEDED_HORIZONTAL_MIN : EXCEEDED_HORIZONTAL_MAX) : reportConstraintsViolation(e2, S2 < 0 ? EXCEEDED_VERTICAL_MIN : EXCEEDED_VERTICAL_MAX) : reportConstraintsViolation(e2, 0)), I2 && (O(A2), K.current.layout = A2, d2 && d2(A2), callPanelCallbacks(h2, A2, M.current));
19867
19915
  };
19868
- }, []), tN = (0, import_react.useCallback)((e2, t2) => {
19916
+ }, []), rN = (0, import_react.useCallback)((e2, t2) => {
19869
19917
  let { onLayout: n2 } = U.current, { layout: i2, panelDataArray: a2 } = K.current, o2 = a2.map((e3) => e3.constraints), { panelSize: s2, pivotIndices: c2 } = panelDataHelper(a2, e2, i2);
19870
19918
  assert(s2 != null, `Panel size not found for panel "${e2.id}"`);
19871
19919
  let d2 = adjustLayoutByDelta({
@@ -19877,12 +19925,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19877
19925
  trigger: "imperative-api"
19878
19926
  });
19879
19927
  compareLayouts(i2, d2) || (O(d2), K.current.layout = d2, n2 && n2(d2), callPanelCallbacks(a2, d2, M.current));
19880
- }, []), nN = (0, import_react.useCallback)((e2, t2) => {
19928
+ }, []), iN = (0, import_react.useCallback)((e2, t2) => {
19881
19929
  let { layout: n2, panelDataArray: i2 } = K.current, { collapsedSize: a2 = 0, collapsible: o2 } = t2, { collapsedSize: s2 = 0, collapsible: c2, maxSize: d2 = 100, minSize: f2 = 0 } = e2.constraints, { panelSize: h2 } = panelDataHelper(i2, e2, n2);
19882
- h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) || tN(e2, s2) : h2 < f2 ? tN(e2, f2) : h2 > d2 && tN(e2, d2));
19930
+ h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) || rN(e2, s2) : h2 < f2 ? rN(e2, f2) : h2 > d2 && rN(e2, d2));
19883
19931
  }, [
19884
- tN
19885
- ]), rN = (0, import_react.useCallback)((e2, t2) => {
19932
+ rN
19933
+ ]), aN = (0, import_react.useCallback)((e2, t2) => {
19886
19934
  let { direction: n2 } = U.current, { layout: i2 } = K.current;
19887
19935
  if (!y.current) return;
19888
19936
  let a2 = getResizeHandleElement(e2, y.current);
@@ -19894,30 +19942,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19894
19942
  initialCursorPosition: o2,
19895
19943
  initialLayout: i2
19896
19944
  });
19897
- }, []), iN = (0, import_react.useCallback)(() => {
19945
+ }, []), oN = (0, import_react.useCallback)(() => {
19898
19946
  w(null);
19899
- }, []), aN = (0, import_react.useCallback)((e2) => {
19947
+ }, []), sN = (0, import_react.useCallback)((e2) => {
19900
19948
  let { panelDataArray: t2 } = K.current, n2 = findPanelDataIndex(t2, e2);
19901
19949
  n2 >= 0 && (t2.splice(n2, 1), delete M.current[e2.id], K.current.panelDataArrayChanged = true, A());
19902
19950
  }, [
19903
19951
  A
19904
- ]), oN = (0, import_react.useMemo)(() => ({
19952
+ ]), cN = (0, import_react.useMemo)(() => ({
19905
19953
  collapsePanel: q,
19906
19954
  direction: i,
19907
19955
  dragState: S,
19908
19956
  expandPanel: J,
19909
19957
  getPanelSize: Q,
19910
- getPanelStyle: ZM,
19958
+ getPanelStyle: $M,
19911
19959
  groupId: v,
19912
19960
  isPanelCollapsed: $,
19913
- isPanelExpanded: QM,
19914
- reevaluatePanelConstraints: nN,
19915
- registerPanel: $M,
19916
- registerResizeHandle: eN,
19917
- resizePanel: tN,
19918
- startDragging: rN,
19919
- stopDragging: iN,
19920
- unregisterPanel: aN,
19961
+ isPanelExpanded: eN,
19962
+ reevaluatePanelConstraints: iN,
19963
+ registerPanel: tN,
19964
+ registerResizeHandle: nN,
19965
+ resizePanel: rN,
19966
+ startDragging: aN,
19967
+ stopDragging: oN,
19968
+ unregisterPanel: sN,
19921
19969
  panelGroupElement: y.current
19922
19970
  }), [
19923
19971
  q,
@@ -19925,18 +19973,18 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19925
19973
  i,
19926
19974
  J,
19927
19975
  Q,
19928
- ZM,
19976
+ $M,
19929
19977
  v,
19930
19978
  $,
19931
- QM,
19932
- nN,
19933
- $M,
19934
19979
  eN,
19980
+ iN,
19935
19981
  tN,
19982
+ nN,
19936
19983
  rN,
19937
- iN,
19938
- aN
19939
- ]), sN = {
19984
+ aN,
19985
+ oN,
19986
+ sN
19987
+ ]), lN = {
19940
19988
  display: "flex",
19941
19989
  flexDirection: i === "horizontal" ? "row" : "column",
19942
19990
  height: "100%",
@@ -19944,7 +19992,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19944
19992
  width: "100%"
19945
19993
  };
19946
19994
  return (0, import_react.createElement)(PanelGroupContext.Provider, {
19947
- value: oN
19995
+ value: cN
19948
19996
  }, (0, import_react.createElement)(h, {
19949
19997
  ..._,
19950
19998
  children: t,
@@ -19952,7 +20000,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19952
20000
  id: o,
19953
20001
  ref: y,
19954
20002
  style: {
19955
- ...sN,
20003
+ ...lN,
19956
20004
  ...f
19957
20005
  },
19958
20006
  [DATA_ATTRIBUTES.group]: "",
@@ -20029,31 +20077,31 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20029
20077
  });
20030
20078
  let O = (0, import_react.useContext)(PanelGroupContext);
20031
20079
  if (O === null) throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");
20032
- let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [ZM, $] = (0, import_react.useState)(false), [QM, $M] = (0, import_react.useState)(null), eN = (0, import_react.useRef)({
20080
+ let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [$M, $] = (0, import_react.useState)(false), [eN, tN] = (0, import_react.useState)(null), nN = (0, import_react.useRef)({
20033
20081
  state: J
20034
20082
  });
20035
20083
  useIsomorphicLayoutEffect$1(() => {
20036
- eN.current.state = J;
20084
+ nN.current.state = J;
20037
20085
  }), (0, import_react.useEffect)(() => {
20038
- if (n) $M(null);
20086
+ if (n) tN(null);
20039
20087
  else {
20040
20088
  let e2 = I(q);
20041
- $M(() => e2);
20089
+ tN(() => e2);
20042
20090
  }
20043
20091
  }, [
20044
20092
  n,
20045
20093
  q,
20046
20094
  I
20047
20095
  ]);
20048
- let tN = (i == null ? void 0 : i.coarse) ?? 15, nN = (i == null ? void 0 : i.fine) ?? 5;
20096
+ let rN = (i == null ? void 0 : i.coarse) ?? 15, iN = (i == null ? void 0 : i.fine) ?? 5;
20049
20097
  (0, import_react.useEffect)(() => {
20050
- if (n || QM == null) return;
20098
+ if (n || eN == null) return;
20051
20099
  let e2 = w.current;
20052
20100
  assert(e2, "Element ref not attached");
20053
20101
  let t2 = false;
20054
20102
  return registerResizeHandle(q, e2, A, {
20055
- coarse: tN,
20056
- fine: nN
20103
+ coarse: rN,
20104
+ fine: iN
20057
20105
  }, (e3, n2, i2) => {
20058
20106
  if (!n2) {
20059
20107
  Q("inactive");
@@ -20067,8 +20115,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20067
20115
  break;
20068
20116
  }
20069
20117
  case "move": {
20070
- let { state: e4 } = eN.current;
20071
- t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), QM(i2);
20118
+ let { state: e4 } = nN.current;
20119
+ t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), eN(i2);
20072
20120
  break;
20073
20121
  }
20074
20122
  case "up": {
@@ -20080,22 +20128,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20080
20128
  }
20081
20129
  });
20082
20130
  }, [
20083
- tN,
20131
+ rN,
20084
20132
  A,
20085
20133
  n,
20086
- nN,
20134
+ iN,
20087
20135
  I,
20088
20136
  q,
20089
- QM,
20137
+ eN,
20090
20138
  z,
20091
20139
  U
20092
20140
  ]), useWindowSplitterResizeHandlerBehavior({
20093
20141
  disabled: n,
20094
20142
  handleId: q,
20095
- resizeHandler: QM,
20143
+ resizeHandler: eN,
20096
20144
  panelGroupElement: K
20097
20145
  });
20098
- let rN = {
20146
+ let aN = {
20099
20147
  touchAction: "none",
20100
20148
  userSelect: "none"
20101
20149
  };
@@ -20113,14 +20161,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20113
20161
  ref: w,
20114
20162
  role: "separator",
20115
20163
  style: {
20116
- ...rN,
20164
+ ...aN,
20117
20165
  ..._
20118
20166
  },
20119
20167
  tabIndex: v,
20120
20168
  [DATA_ATTRIBUTES.groupDirection]: A,
20121
20169
  [DATA_ATTRIBUTES.groupId]: M,
20122
20170
  [DATA_ATTRIBUTES.resizeHandle]: "",
20123
- [DATA_ATTRIBUTES.resizeHandleActive]: J === "drag" ? "pointer" : ZM ? "keyboard" : void 0,
20171
+ [DATA_ATTRIBUTES.resizeHandleActive]: J === "drag" ? "pointer" : $M ? "keyboard" : void 0,
20124
20172
  [DATA_ATTRIBUTES.resizeHandleEnabled]: !n,
20125
20173
  [DATA_ATTRIBUTES.resizeHandleId]: q,
20126
20174
  [DATA_ATTRIBUTES.resizeHandleState]: J
@@ -20287,147 +20335,147 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20287
20335
  Combobox = (e) => {
20288
20336
  let t = (0, import_compiler_runtime$19.c)(96), n, i, o, s, c, d, f, h, _, v, y, S, w, E, O, A, M, I, z, U, K, q;
20289
20337
  t[0] === e ? (n = t[1], i = t[2], o = t[3], s = t[4], c = t[5], d = t[6], f = t[7], h = t[8], _ = t[9], v = t[10], y = t[11], S = t[12], w = t[13], E = t[14], O = t[15], A = t[16], M = t[17], I = t[18], z = t[19], U = t[20], K = t[21], q = t[22]) : ({ children: n, displayValue: d, className: o, placeholder: E, value: q, defaultValue: c, onValueChange: S, multiple: M, shouldFilter: I, filterFn: f, open: w, defaultOpen: s, onOpenChange: v, inputPlaceholder: z, search: A, onSearchChange: y, emptyState: U, chips: K, chipsClassName: i, keepPopoverOpenOnSelect: _, id: h, ...O } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o, t[4] = s, t[5] = c, t[6] = d, t[7] = f, t[8] = h, t[9] = _, t[10] = v, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = O, t[16] = A, t[17] = M, t[18] = I, t[19] = z, t[20] = U, t[21] = K, t[22] = q);
20290
- let J = M === void 0 ? false : M, Q = I === void 0 ? true : I, ZM = z === void 0 ? "Search..." : z, $ = U === void 0 ? "Nothing found." : U, QM = K === void 0 ? false : K, $M = s ?? false, eN;
20291
- t[23] !== v || t[24] !== w || t[25] !== $M ? (eN = {
20338
+ let J = M === void 0 ? false : M, Q = I === void 0 ? true : I, $M = z === void 0 ? "Search..." : z, $ = U === void 0 ? "Nothing found." : U, eN = K === void 0 ? false : K, tN = s ?? false, nN;
20339
+ t[23] !== v || t[24] !== w || t[25] !== tN ? (nN = {
20292
20340
  prop: w,
20293
- defaultProp: $M,
20341
+ defaultProp: tN,
20294
20342
  onChange: v
20295
- }, t[23] = v, t[24] = w, t[25] = $M, t[26] = eN) : eN = t[26];
20296
- let [tN, nN] = useControllableState(eN), rN = tN === void 0 ? false : tN, iN;
20297
- t[27] === S ? iN = t[28] : (iN = (e2) => {
20343
+ }, t[23] = v, t[24] = w, t[25] = tN, t[26] = nN) : nN = t[26];
20344
+ let [rN, iN] = useControllableState(nN), aN = rN === void 0 ? false : rN, oN;
20345
+ t[27] === S ? oN = t[28] : (oN = (e2) => {
20298
20346
  S == null ? void 0 : S(e2);
20299
- }, t[27] = S, t[28] = iN);
20300
- let aN;
20301
- t[29] !== c || t[30] !== iN || t[31] !== q ? (aN = {
20347
+ }, t[27] = S, t[28] = oN);
20348
+ let sN;
20349
+ t[29] !== c || t[30] !== oN || t[31] !== q ? (sN = {
20302
20350
  prop: q,
20303
20351
  defaultProp: c,
20304
- onChange: iN
20305
- }, t[29] = c, t[30] = iN, t[31] = q, t[32] = aN) : aN = t[32];
20306
- let [sN, cN] = useControllableState(aN), lN;
20307
- t[33] === sN ? lN = t[34] : (lN = (e2) => Array.isArray(sN) ? sN.includes(e2) : sN === e2, t[33] = sN, t[34] = lN);
20308
- let uN = lN, dN;
20309
- t[35] !== _ || t[36] !== J || t[37] !== nN || t[38] !== cN || t[39] !== sN ? (dN = (e2) => {
20352
+ onChange: oN
20353
+ }, t[29] = c, t[30] = oN, t[31] = q, t[32] = sN) : sN = t[32];
20354
+ let [lN, uN] = useControllableState(sN), dN;
20355
+ t[33] === lN ? dN = t[34] : (dN = (e2) => Array.isArray(lN) ? lN.includes(e2) : lN === e2, t[33] = lN, t[34] = dN);
20356
+ let fN = dN, pN;
20357
+ t[35] !== _ || t[36] !== J || t[37] !== iN || t[38] !== uN || t[39] !== lN ? (pN = (e2) => {
20310
20358
  let t2 = e2;
20311
- if (J) if (Array.isArray(sN)) if (sN.includes(t2)) {
20312
- let n2 = sN.filter((t3) => t3 !== e2);
20359
+ if (J) if (Array.isArray(lN)) if (lN.includes(t2)) {
20360
+ let n2 = lN.filter((t3) => t3 !== e2);
20313
20361
  t2 = n2.length > 0 ? n2 : [];
20314
20362
  } else t2 = [
20315
- ...sN,
20363
+ ...lN,
20316
20364
  t2
20317
20365
  ];
20318
20366
  else t2 = [
20319
20367
  t2
20320
20368
  ];
20321
- else sN === e2 && (t2 = null);
20322
- cN(t2), (_ ?? J) || nN(false);
20323
- }, t[35] = _, t[36] = J, t[37] = nN, t[38] = cN, t[39] = sN, t[40] = dN) : dN = t[40];
20324
- let fN = dN, pN;
20325
- t[41] !== QM || t[42] !== d || t[43] !== J || t[44] !== E || t[45] !== sN ? (pN = () => J && QM && E ? E : sN == null ? E ?? "--" : Array.isArray(sN) ? sN.length === 0 ? E ?? "--" : sN.length === 1 && d !== void 0 ? d(sN[0]) : `${sN.length} selected` : d === void 0 ? E ?? "--" : d(sN), t[41] = QM, t[42] = d, t[43] = J, t[44] = E, t[45] = sN, t[46] = pN) : pN = t[46];
20369
+ else lN === e2 && (t2 = null);
20370
+ uN(t2), (_ ?? J) || iN(false);
20371
+ }, t[35] = _, t[36] = J, t[37] = iN, t[38] = uN, t[39] = lN, t[40] = pN) : pN = t[40];
20326
20372
  let mN = pN, hN;
20327
- t[47] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (hN = cn("relative"), t[47] = hN) : hN = t[47];
20328
- let gN;
20329
- t[48] === o ? gN = t[49] : (gN = cn("flex h-6 w-fit mb-1 shadow-xs-solid items-center justify-between rounded-sm border border-input bg-transparent px-2 text-sm font-prose ring-offset-background placeholder:text-muted-foreground hover:shadow-sm-solid focus:outline-hidden focus:ring-1 focus:ring-ring focus:border-primary focus:shadow-md-solid disabled:cursor-not-allowed disabled:opacity-50", o), t[48] = o, t[49] = gN);
20330
- let _N;
20331
- t[50] === mN ? _N = t[51] : (_N = mN(), t[50] = mN, t[51] = _N);
20373
+ t[41] !== eN || t[42] !== d || t[43] !== J || t[44] !== E || t[45] !== lN ? (hN = () => J && eN && E ? E : lN == null ? E ?? "--" : Array.isArray(lN) ? lN.length === 0 ? E ?? "--" : lN.length === 1 && d !== void 0 ? d(lN[0]) : `${lN.length} selected` : d === void 0 ? E ?? "--" : d(lN), t[41] = eN, t[42] = d, t[43] = J, t[44] = E, t[45] = lN, t[46] = hN) : hN = t[46];
20374
+ let gN = hN, _N;
20375
+ t[47] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_N = cn("relative"), t[47] = _N) : _N = t[47];
20332
20376
  let vN;
20333
- t[52] === _N ? vN = t[53] : (vN = (0, import_jsx_runtime.jsx)("span", {
20334
- className: "truncate flex-1 min-w-0",
20335
- children: _N
20336
- }), t[52] = _N, t[53] = vN);
20377
+ t[48] === o ? vN = t[49] : (vN = cn("flex h-6 w-fit mb-1 shadow-xs-solid items-center justify-between rounded-sm border border-input bg-transparent px-2 text-sm font-prose ring-offset-background placeholder:text-muted-foreground hover:shadow-sm-solid focus:outline-hidden focus:ring-1 focus:ring-ring focus:border-primary focus:shadow-md-solid disabled:cursor-not-allowed disabled:opacity-50", o), t[48] = o, t[49] = vN);
20378
+ let yN;
20379
+ t[50] === gN ? yN = t[51] : (yN = gN(), t[50] = gN, t[51] = yN);
20337
20380
  let bN;
20338
- t[54] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (bN = (0, import_jsx_runtime.jsx)(ChevronDown, {
20381
+ t[52] === yN ? bN = t[53] : (bN = (0, import_jsx_runtime.jsx)("span", {
20382
+ className: "truncate flex-1 min-w-0",
20383
+ children: yN
20384
+ }), t[52] = yN, t[53] = bN);
20385
+ let SN;
20386
+ t[54] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (SN = (0, import_jsx_runtime.jsx)(ChevronDown, {
20339
20387
  className: "ml-3 w-4 h-4 opacity-50 shrink-0"
20340
- }), t[54] = bN) : bN = t[54];
20341
- let xN;
20342
- t[55] !== h || t[56] !== rN || t[57] !== gN || t[58] !== vN ? (xN = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
20388
+ }), t[54] = SN) : SN = t[54];
20389
+ let CN;
20390
+ t[55] !== h || t[56] !== aN || t[57] !== vN || t[58] !== bN ? (CN = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
20343
20391
  asChild: true,
20344
20392
  children: (0, import_jsx_runtime.jsxs)("div", {
20345
20393
  id: h,
20346
- className: gN,
20347
- "aria-expanded": rN,
20394
+ className: vN,
20395
+ "aria-expanded": aN,
20348
20396
  children: [
20349
- vN,
20350
- bN
20397
+ bN,
20398
+ SN
20351
20399
  ]
20352
20400
  })
20353
- }), t[55] = h, t[56] = rN, t[57] = gN, t[58] = vN, t[59] = xN) : xN = t[59];
20354
- let CN;
20355
- t[60] !== ZM || t[61] !== y || t[62] !== A ? (CN = (0, import_jsx_runtime.jsx)(CommandInput, {
20356
- placeholder: ZM,
20401
+ }), t[55] = h, t[56] = aN, t[57] = vN, t[58] = bN, t[59] = CN) : CN = t[59];
20402
+ let TN;
20403
+ t[60] !== $M || t[61] !== y || t[62] !== A ? (TN = (0, import_jsx_runtime.jsx)(CommandInput, {
20404
+ placeholder: $M,
20357
20405
  rootClassName: "px-1 h-8",
20358
20406
  autoFocus: true,
20359
20407
  value: A,
20360
20408
  onValueChange: y
20361
- }), t[60] = ZM, t[61] = y, t[62] = A, t[63] = CN) : CN = t[63];
20362
- let wN;
20363
- t[64] === $ ? wN = t[65] : (wN = (0, import_jsx_runtime.jsx)(CommandEmpty, {
20364
- children: $
20365
- }), t[64] = $, t[65] = wN);
20366
- let TN;
20367
- t[66] !== fN || t[67] !== uN ? (TN = {
20368
- isSelected: uN,
20369
- onSelect: fN
20370
- }, t[66] = fN, t[67] = uN, t[68] = TN) : TN = t[68];
20409
+ }), t[60] = $M, t[61] = y, t[62] = A, t[63] = TN) : TN = t[63];
20371
20410
  let EN;
20372
- t[69] !== n || t[70] !== TN ? (EN = (0, import_jsx_runtime.jsx)(ComboboxContext, {
20373
- value: TN,
20374
- children: n
20375
- }), t[69] = n, t[70] = TN, t[71] = EN) : EN = t[71];
20411
+ t[64] === $ ? EN = t[65] : (EN = (0, import_jsx_runtime.jsx)(CommandEmpty, {
20412
+ children: $
20413
+ }), t[64] = $, t[65] = EN);
20376
20414
  let DN;
20377
- t[72] !== wN || t[73] !== EN ? (DN = (0, import_jsx_runtime.jsxs)(CommandList, {
20415
+ t[66] !== mN || t[67] !== fN ? (DN = {
20416
+ isSelected: fN,
20417
+ onSelect: mN
20418
+ }, t[66] = mN, t[67] = fN, t[68] = DN) : DN = t[68];
20419
+ let ON;
20420
+ t[69] !== n || t[70] !== DN ? (ON = (0, import_jsx_runtime.jsx)(ComboboxContext, {
20421
+ value: DN,
20422
+ children: n
20423
+ }), t[69] = n, t[70] = DN, t[71] = ON) : ON = t[71];
20424
+ let kN;
20425
+ t[72] !== EN || t[73] !== ON ? (kN = (0, import_jsx_runtime.jsxs)(CommandList, {
20378
20426
  className: "max-h-60 py-.5",
20379
20427
  children: [
20380
- wN,
20381
- EN
20428
+ EN,
20429
+ ON
20382
20430
  ]
20383
- }), t[72] = wN, t[73] = EN, t[74] = DN) : DN = t[74];
20384
- let ON;
20385
- t[75] !== f || t[76] !== Q || t[77] !== CN || t[78] !== DN ? (ON = (0, import_jsx_runtime.jsx)(PopoverContent, {
20431
+ }), t[72] = EN, t[73] = ON, t[74] = kN) : kN = t[74];
20432
+ let AN;
20433
+ t[75] !== f || t[76] !== Q || t[77] !== TN || t[78] !== kN ? (AN = (0, import_jsx_runtime.jsx)(PopoverContent, {
20386
20434
  className: "w-full min-w-(--radix-popover-trigger-width) p-0",
20387
20435
  align: "start",
20388
20436
  children: (0, import_jsx_runtime.jsxs)(Command, {
20389
20437
  filter: f,
20390
20438
  shouldFilter: Q,
20391
20439
  children: [
20392
- CN,
20393
- DN
20440
+ TN,
20441
+ kN
20394
20442
  ]
20395
20443
  })
20396
- }), t[75] = f, t[76] = Q, t[77] = CN, t[78] = DN, t[79] = ON) : ON = t[79];
20397
- let kN;
20398
- t[80] !== rN || t[81] !== nN || t[82] !== xN || t[83] !== ON ? (kN = (0, import_jsx_runtime.jsxs)(Popover, {
20399
- open: rN,
20400
- onOpenChange: nN,
20444
+ }), t[75] = f, t[76] = Q, t[77] = TN, t[78] = kN, t[79] = AN) : AN = t[79];
20445
+ let jN;
20446
+ t[80] !== aN || t[81] !== iN || t[82] !== CN || t[83] !== AN ? (jN = (0, import_jsx_runtime.jsxs)(Popover, {
20447
+ open: aN,
20448
+ onOpenChange: iN,
20401
20449
  children: [
20402
- xN,
20403
- ON
20450
+ CN,
20451
+ AN
20404
20452
  ]
20405
- }), t[80] = rN, t[81] = nN, t[82] = xN, t[83] = ON, t[84] = kN) : kN = t[84];
20406
- let AN;
20407
- t[85] !== QM || t[86] !== i || t[87] !== d || t[88] !== fN || t[89] !== J || t[90] !== sN ? (AN = J && QM && (0, import_jsx_runtime.jsx)("div", {
20453
+ }), t[80] = aN, t[81] = iN, t[82] = CN, t[83] = AN, t[84] = jN) : jN = t[84];
20454
+ let MN;
20455
+ t[85] !== eN || t[86] !== i || t[87] !== d || t[88] !== mN || t[89] !== J || t[90] !== lN ? (MN = J && eN && (0, import_jsx_runtime.jsx)("div", {
20408
20456
  className: cn("flex flex-col gap-1 items-start", i),
20409
- children: Array.isArray(sN) && sN.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
20457
+ children: Array.isArray(lN) && lN.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
20410
20458
  variant: "secondary",
20411
20459
  children: [
20412
20460
  (d == null ? void 0 : d(e2)) ?? String(e2),
20413
20461
  (0, import_jsx_runtime.jsx)(CircleX, {
20414
20462
  onClick: () => {
20415
- fN(e2);
20463
+ mN(e2);
20416
20464
  },
20417
20465
  className: "w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer"
20418
20466
  })
20419
20467
  ]
20420
20468
  }, String(e2)))
20421
- }), t[85] = QM, t[86] = i, t[87] = d, t[88] = fN, t[89] = J, t[90] = sN, t[91] = AN) : AN = t[91];
20422
- let jN;
20423
- return t[92] !== O || t[93] !== kN || t[94] !== AN ? (jN = (0, import_jsx_runtime.jsxs)("div", {
20424
- className: hN,
20469
+ }), t[85] = eN, t[86] = i, t[87] = d, t[88] = mN, t[89] = J, t[90] = lN, t[91] = MN) : MN = t[91];
20470
+ let NN;
20471
+ return t[92] !== O || t[93] !== jN || t[94] !== MN ? (NN = (0, import_jsx_runtime.jsxs)("div", {
20472
+ className: _N,
20425
20473
  ...O,
20426
20474
  children: [
20427
- kN,
20428
- AN
20475
+ jN,
20476
+ MN
20429
20477
  ]
20430
- }), t[92] = O, t[93] = kN, t[94] = AN, t[95] = jN) : jN = t[95], jN;
20478
+ }), t[92] = O, t[93] = jN, t[94] = MN, t[95] = NN) : NN = t[95], NN;
20431
20479
  };
20432
20480
  ComboboxItem = import_react.forwardRef((e, t) => {
20433
20481
  let n = (0, import_compiler_runtime$19.c)(17), { children: i, className: o, value: s, onSelect: c, disabled: d } = e, f = typeof s == "object" && "value" in s ? s.value : String(s), h = import_react.use(ComboboxContext), _;
@@ -23454,7 +23502,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23454
23502
  filename: i2.filename
23455
23503
  };
23456
23504
  }, t[5] = e, t[6] = v);
23457
- let y = v, E, O, A, M, I, z, U, K, q, J, Q, ZM, $;
23505
+ let y = v, E, O, A, M, I, z, U, K, q, J, Q, $M, $;
23458
23506
  if (t[7] !== _ || t[8] !== n || t[9] !== i || t[10] !== y) {
23459
23507
  let e2 = async (t2) => {
23460
23508
  let n2 = await y(t2, () => {
@@ -23511,7 +23559,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23511
23559
  }), t[26] = s2, t[27] = c2, t[28] = K) : K = t[28], E = DropdownMenuContent, q = "bottom", J = "print:hidden", t[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Q = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
23512
23560
  className: "text-xs text-muted-foreground",
23513
23561
  children: "Download"
23514
- }), t[29] = Q) : Q = t[29], ZM = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
23562
+ }), t[29] = Q) : Q = t[29], $M = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
23515
23563
  onSelect: () => {
23516
23564
  e2(t2.format);
23517
23565
  },
@@ -23564,30 +23612,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23564
23612
  ]
23565
23613
  })
23566
23614
  ]
23567
- }, e3.label)), t[7] = _, t[8] = n, t[9] = i, t[10] = y, t[11] = E, t[12] = O, t[13] = A, t[14] = M, t[15] = I, t[16] = z, t[17] = U, t[18] = K, t[19] = q, t[20] = J, t[21] = Q, t[22] = ZM, t[23] = $;
23568
- } else E = t[11], O = t[12], A = t[13], M = t[14], I = t[15], z = t[16], U = t[17], K = t[18], q = t[19], J = t[20], Q = t[21], ZM = t[22], $ = t[23];
23569
- let QM;
23570
- t[32] !== E || t[33] !== A || t[34] !== M || t[35] !== q || t[36] !== J || t[37] !== Q || t[38] !== ZM || t[39] !== $ ? (QM = (0, import_jsx_runtime.jsxs)(E, {
23615
+ }, e3.label)), t[7] = _, t[8] = n, t[9] = i, t[10] = y, t[11] = E, t[12] = O, t[13] = A, t[14] = M, t[15] = I, t[16] = z, t[17] = U, t[18] = K, t[19] = q, t[20] = J, t[21] = Q, t[22] = $M, t[23] = $;
23616
+ } else E = t[11], O = t[12], A = t[13], M = t[14], I = t[15], z = t[16], U = t[17], K = t[18], q = t[19], J = t[20], Q = t[21], $M = t[22], $ = t[23];
23617
+ let eN;
23618
+ t[32] !== E || t[33] !== A || t[34] !== M || t[35] !== q || t[36] !== J || t[37] !== Q || t[38] !== $M || t[39] !== $ ? (eN = (0, import_jsx_runtime.jsxs)(E, {
23571
23619
  side: q,
23572
23620
  className: J,
23573
23621
  children: [
23574
23622
  Q,
23575
- ZM,
23623
+ $M,
23576
23624
  $,
23577
23625
  A,
23578
23626
  M
23579
23627
  ]
23580
- }), t[32] = E, t[33] = A, t[34] = M, t[35] = q, t[36] = J, t[37] = Q, t[38] = ZM, t[39] = $, t[40] = QM) : QM = t[40];
23581
- let $M;
23582
- return t[41] !== O || t[42] !== I || t[43] !== z || t[44] !== U || t[45] !== K || t[46] !== QM ? ($M = (0, import_jsx_runtime.jsxs)(O, {
23628
+ }), t[32] = E, t[33] = A, t[34] = M, t[35] = q, t[36] = J, t[37] = Q, t[38] = $M, t[39] = $, t[40] = eN) : eN = t[40];
23629
+ let tN;
23630
+ return t[41] !== O || t[42] !== I || t[43] !== z || t[44] !== U || t[45] !== K || t[46] !== eN ? (tN = (0, import_jsx_runtime.jsxs)(O, {
23583
23631
  modal: I,
23584
23632
  open: z,
23585
23633
  onOpenChange: U,
23586
23634
  children: [
23587
23635
  K,
23588
- QM
23636
+ eN
23589
23637
  ]
23590
- }), t[41] = O, t[42] = I, t[43] = z, t[44] = U, t[45] = K, t[46] = QM, t[47] = $M) : $M = t[47], $M;
23638
+ }), t[41] = O, t[42] = I, t[43] = z, t[44] = U, t[45] = K, t[46] = eN, t[47] = tN) : tN = t[47], tN;
23591
23639
  };
23592
23640
  function fetchJson(e) {
23593
23641
  return fetchText(e).then(jsonParseWithSpecialChar);
@@ -23678,22 +23726,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23678
23726
  ]
23679
23727
  }) : null;
23680
23728
  };
23681
- DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: o, rawData: s, selection: c, totalColumns: d, totalRows: f, manualSorting: h = false, sorting: _, setSorting: v, rowSelection: y, cellSelection: S, cellStyling: w, hoverTemplate: E, cellHoverTexts: O, paginationState: A, setPaginationState: M, downloadAs: I, manualPagination: z = false, pagination: U = false, onRowSelectionChange: K, onCellSelectionChange: q, getRowIds: J, enableSearch: Q = false, searchQuery: ZM, onSearchQueryChange: $, showFilters: QM = false, filters: $M, onFiltersChange: eN, calculateTopKRows: tN, reloading: nN, freezeColumnsLeft: rN, freezeColumnsRight: iN, toggleDisplayHeader: aN, showChartBuilder: oN, isChartBuilderOpen: sN, showPageSizeSelector: cN, showTableExplorer: lN, togglePanel: uN, isPanelOpen: dN, isAnyPanelOpen: fN, viewedRowIdx: pN, onViewedRowChange: mN }) => {
23682
- let [hN, gN] = import_react.useState(false), { locale: _N } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: vN, setColumnPinning: yN } = useColumnPinning(rN, iN);
23729
+ DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: o, rawData: s, selection: c, totalColumns: d, totalRows: f, manualSorting: h = false, sorting: _, setSorting: v, rowSelection: y, cellSelection: S, cellStyling: w, hoverTemplate: E, cellHoverTexts: O, paginationState: A, setPaginationState: M, downloadAs: I, manualPagination: z = false, pagination: U = false, onRowSelectionChange: K, onCellSelectionChange: q, getRowIds: J, enableSearch: Q = false, searchQuery: $M, onSearchQueryChange: $, showFilters: eN = false, filters: tN, onFiltersChange: nN, calculateTopKRows: rN, reloading: iN, freezeColumnsLeft: aN, freezeColumnsRight: oN, toggleDisplayHeader: sN, showChartBuilder: cN, isChartBuilderOpen: lN, showPageSizeSelector: uN, showTableExplorer: dN, togglePanel: fN, isPanelOpen: pN, isAnyPanelOpen: mN, viewedRowIdx: hN, onViewedRowChange: gN }) => {
23730
+ let [_N, vN] = import_react.useState(false), { locale: yN } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: bN, setColumnPinning: xN } = useColumnPinning(aN, oN);
23683
23731
  import_react.useEffect(() => {
23684
23732
  let e2;
23685
- return nN ? e2 = setTimeout(() => {
23686
- gN(true);
23687
- }, 300) : gN(false), () => {
23733
+ return iN ? e2 = setTimeout(() => {
23734
+ vN(true);
23735
+ }, 300) : vN(false), () => {
23688
23736
  e2 && clearTimeout(e2);
23689
23737
  };
23690
23738
  }, [
23691
- nN
23739
+ iN
23692
23740
  ]);
23693
- function bN(e2, t2) {
23741
+ function SN(e2, t2) {
23694
23742
  return A ? t2 + (z ? A.pageIndex * A.pageSize : 0) : t2;
23695
23743
  }
23696
- let xN = useReactTable({
23744
+ let CN = useReactTable({
23697
23745
  _features: [
23698
23746
  ColumnPinning,
23699
23747
  ColumnWrappingFeature,
@@ -23717,11 +23765,11 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23717
23765
  getRowId: (e2, t2) => {
23718
23766
  let n2 = getStableRowId(e2);
23719
23767
  if (n2) return n2;
23720
- let i2 = bN(e2, t2);
23768
+ let i2 = SN(e2, t2);
23721
23769
  return String(i2);
23722
23770
  }
23723
23771
  } : {},
23724
- locale: _N,
23772
+ locale: yN,
23725
23773
  manualPagination: z,
23726
23774
  getPaginationRowModel: getPaginationRowModel(),
23727
23775
  ...v ? {
@@ -23731,21 +23779,21 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23731
23779
  enableMultiSort: true,
23732
23780
  getSortedRowModel: getSortedRowModel(),
23733
23781
  manualFiltering: true,
23734
- enableColumnFilters: QM,
23782
+ enableColumnFilters: eN,
23735
23783
  getFilteredRowModel: getFilteredRowModel(),
23736
- onColumnFiltersChange: eN,
23784
+ onColumnFiltersChange: nN,
23737
23785
  onRowSelectionChange: K,
23738
23786
  onCellSelectionChange: q,
23739
23787
  enableCellSelection: c === "single-cell" || c === "multi-cell",
23740
23788
  enableMultiCellSelection: c === "multi-cell",
23741
- onColumnPinningChange: yN,
23789
+ onColumnPinningChange: xN,
23742
23790
  enableFocusRow: true,
23743
- onFocusRowChange: mN,
23791
+ onFocusRowChange: gN,
23744
23792
  state: {
23745
23793
  ..._ ? {
23746
23794
  sorting: _
23747
23795
  } : {},
23748
- columnFilters: $M,
23796
+ columnFilters: tN,
23749
23797
  ...A ? {
23750
23798
  pagination: A
23751
23799
  } : U && !A ? {} : {
@@ -23757,21 +23805,21 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23757
23805
  rowSelection: y ?? {},
23758
23806
  cellSelection: S ?? [],
23759
23807
  cellStyling: w,
23760
- columnPinning: vN,
23808
+ columnPinning: bN,
23761
23809
  cellHoverTemplate: E,
23762
23810
  cellHoverTexts: O ?? {}
23763
23811
  }
23764
- }), SN = (dN == null ? void 0 : dN(PANEL_TYPES.ROW_VIEWER)) ?? false, CN = !U && o.length > 100, wN = useScrollContainerHeight({
23812
+ }), wN = (pN == null ? void 0 : pN(PANEL_TYPES.ROW_VIEWER)) ?? false, TN = !U && o.length > 100, EN = useScrollContainerHeight({
23765
23813
  maxHeight: n,
23766
- virtualize: CN
23814
+ virtualize: TN
23767
23815
  });
23768
23816
  return (0, import_jsx_runtime.jsxs)("div", {
23769
23817
  className: cn(e, "flex flex-col space-y-1"),
23770
23818
  children: [
23771
23819
  (0, import_jsx_runtime.jsx)(FilterPills, {
23772
- filters: $M,
23773
- table: xN,
23774
- calculateTopKRows: tN
23820
+ filters: tN,
23821
+ table: CN,
23822
+ calculateTopKRows: rN
23775
23823
  }),
23776
23824
  (0, import_jsx_runtime.jsx)(CellSelectionProvider, {
23777
23825
  children: (0, import_jsx_runtime.jsxs)("div", {
@@ -23780,32 +23828,32 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23780
23828
  children: [
23781
23829
  (0, import_jsx_runtime.jsx)(TableTopBar, {
23782
23830
  enableSearch: Q,
23783
- searchQuery: ZM,
23831
+ searchQuery: $M,
23784
23832
  onSearchQueryChange: $,
23785
- reloading: nN,
23786
- showChartBuilder: oN,
23787
- isChartBuilderOpen: sN,
23788
- toggleDisplayHeader: aN,
23789
- showTableExplorer: lN,
23790
- togglePanel: uN,
23791
- isAnyPanelOpen: fN,
23833
+ reloading: iN,
23834
+ showChartBuilder: cN,
23835
+ isChartBuilderOpen: lN,
23836
+ toggleDisplayHeader: sN,
23837
+ showTableExplorer: dN,
23838
+ togglePanel: fN,
23839
+ isAnyPanelOpen: mN,
23792
23840
  downloadAs: I
23793
23841
  }),
23794
23842
  (0, import_jsx_runtime.jsxs)(Table, {
23795
23843
  className: cn("relative", i.length <= 4 ? "w-auto" : "w-full"),
23796
- ref: wN,
23844
+ ref: EN,
23797
23845
  children: [
23798
- hN && (0, import_jsx_runtime.jsx)("thead", {
23846
+ _N && (0, import_jsx_runtime.jsx)("thead", {
23799
23847
  className: "absolute top-0 left-0 h-[3px] w-1/2 bg-primary animate-slide"
23800
23848
  }),
23801
- renderTableHeader(xN, CN || !!n),
23849
+ renderTableHeader(CN, TN || !!n),
23802
23850
  (0, import_jsx_runtime.jsx)(DataTableBody, {
23803
- table: xN,
23851
+ table: CN,
23804
23852
  columns: i,
23805
- rowViewerPanelOpen: SN,
23806
- getRowIndex: bN,
23807
- viewedRowIdx: pN,
23808
- virtualize: CN
23853
+ rowViewerPanelOpen: wN,
23854
+ getRowIndex: SN,
23855
+ viewedRowIdx: hN,
23856
+ virtualize: TN
23809
23857
  })
23810
23858
  ]
23811
23859
  }),
@@ -23816,10 +23864,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23816
23864
  pagination: U,
23817
23865
  selection: c,
23818
23866
  onRowSelectionChange: K,
23819
- table: xN,
23867
+ table: CN,
23820
23868
  getRowIds: J,
23821
- showPageSizeSelector: cN,
23822
- tableLoading: nN
23869
+ showPageSizeSelector: uN,
23870
+ tableLoading: iN
23823
23871
  })
23824
23872
  ]
23825
23873
  })
@@ -23909,67 +23957,67 @@ ${_}`,
23909
23957
  });
23910
23958
  }, [q, J] = _.split(":", 2), Q = d ? KEY : "", $;
23911
23959
  t[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($ = () => h(_temp$3), t[10] = $) : $ = t[10];
23912
- let QM = d ? "rotate-180" : "rotate-0", $M;
23913
- t[11] === QM ? $M = t[12] : ($M = cn("h-4 w-4 text-muted-foreground transition-transform duration-200 shrink-0", QM), t[11] = QM, t[12] = $M);
23914
- let eN;
23915
- t[13] === $M ? eN = t[14] : (eN = (0, import_jsx_runtime.jsx)(ChevronDown, {
23916
- className: $M
23917
- }), t[13] = $M, t[14] = eN);
23918
- let tN = q || "Error", nN;
23919
- t[15] === tN ? nN = t[16] : (nN = (0, import_jsx_runtime.jsxs)("span", {
23960
+ let eN = d ? "rotate-180" : "rotate-0", tN;
23961
+ t[11] === eN ? tN = t[12] : (tN = cn("h-4 w-4 text-muted-foreground transition-transform duration-200 shrink-0", eN), t[11] = eN, t[12] = tN);
23962
+ let nN;
23963
+ t[13] === tN ? nN = t[14] : (nN = (0, import_jsx_runtime.jsx)(ChevronDown, {
23964
+ className: tN
23965
+ }), t[13] = tN, t[14] = nN);
23966
+ let rN = q || "Error", iN;
23967
+ t[15] === rN ? iN = t[16] : (iN = (0, import_jsx_runtime.jsxs)("span", {
23920
23968
  className: "text-destructive",
23921
23969
  children: [
23922
- tN,
23970
+ rN,
23923
23971
  ":"
23924
23972
  ]
23925
- }), t[15] = tN, t[16] = nN);
23926
- let rN;
23927
- t[17] !== J || t[18] !== nN ? (rN = (0, import_jsx_runtime.jsxs)("div", {
23973
+ }), t[15] = rN, t[16] = iN);
23974
+ let aN;
23975
+ t[17] !== J || t[18] !== iN ? (aN = (0, import_jsx_runtime.jsxs)("div", {
23928
23976
  className: "text-sm inline font-mono",
23929
23977
  children: [
23930
- nN,
23978
+ iN,
23931
23979
  " ",
23932
23980
  J
23933
23981
  ]
23934
- }), t[17] = J, t[18] = nN, t[19] = rN) : rN = t[19];
23935
- let aN;
23936
- t[20] !== rN || t[21] !== eN ? (aN = (0, import_jsx_runtime.jsxs)("div", {
23982
+ }), t[17] = J, t[18] = iN, t[19] = aN) : aN = t[19];
23983
+ let sN;
23984
+ t[20] !== aN || t[21] !== nN ? (sN = (0, import_jsx_runtime.jsxs)("div", {
23937
23985
  className: "flex gap-2 h-10 px-2 hover:bg-muted rounded-sm select-none items-center cursor-pointer transition-all",
23938
23986
  onClick: $,
23939
23987
  children: [
23940
- eN,
23941
- rN
23988
+ nN,
23989
+ aN
23942
23990
  ]
23943
- }), t[20] = rN, t[21] = eN, t[22] = aN) : aN = t[22];
23944
- let oN;
23945
- t[23] === c ? oN = t[24] : (oN = (0, import_jsx_runtime.jsx)(AccordionContent, {
23991
+ }), t[20] = aN, t[21] = nN, t[22] = sN) : sN = t[22];
23992
+ let cN;
23993
+ t[23] === c ? cN = t[24] : (cN = (0, import_jsx_runtime.jsx)(AccordionContent, {
23946
23994
  className: "text-muted-foreground px-4 pt-2 text-xs overflow-auto",
23947
23995
  children: c
23948
- }), t[23] = c, t[24] = oN);
23949
- let cN;
23950
- t[25] !== aN || t[26] !== oN ? (cN = (0, import_jsx_runtime.jsxs)(AccordionItem, {
23996
+ }), t[23] = c, t[24] = cN);
23997
+ let uN;
23998
+ t[25] !== sN || t[26] !== cN ? (uN = (0, import_jsx_runtime.jsxs)(AccordionItem, {
23951
23999
  value: KEY,
23952
24000
  className: "border-none",
23953
24001
  children: [
23954
- aN,
23955
- oN
24002
+ sN,
24003
+ cN
23956
24004
  ]
23957
- }), t[25] = aN, t[26] = oN, t[27] = cN) : cN = t[27];
23958
- let lN;
23959
- t[28] !== cN || t[29] !== Q ? (lN = (0, import_jsx_runtime.jsx)(Accordion, {
24005
+ }), t[25] = sN, t[26] = cN, t[27] = uN) : uN = t[27];
24006
+ let dN;
24007
+ t[28] !== uN || t[29] !== Q ? (dN = (0, import_jsx_runtime.jsx)(Accordion, {
23960
24008
  type: "single",
23961
24009
  collapsible: true,
23962
24010
  value: Q,
23963
- children: cN
23964
- }), t[28] = cN, t[29] = Q, t[30] = lN) : lN = t[30];
23965
- let uN;
23966
- t[31] !== K || t[32] !== I ? (uN = I && (0, import_jsx_runtime.jsx)(AIFixButton, {
24011
+ children: uN
24012
+ }), t[28] = uN, t[29] = Q, t[30] = dN) : dN = t[30];
24013
+ let fN;
24014
+ t[31] !== K || t[32] !== I ? (fN = I && (0, import_jsx_runtime.jsx)(AIFixButton, {
23967
24015
  tooltip: "Fix with AI",
23968
24016
  openPrompt: () => K(false),
23969
24017
  applyAutofix: () => K(true)
23970
- }), t[31] = K, t[32] = I, t[33] = uN) : uN = t[33];
23971
- let fN;
23972
- t[34] !== A || t[35] !== E ? (fN = A && (0, import_jsx_runtime.jsx)(Tooltip, {
24018
+ }), t[31] = K, t[32] = I, t[33] = fN) : fN = t[33];
24019
+ let mN;
24020
+ t[34] !== A || t[35] !== E ? (mN = A && (0, import_jsx_runtime.jsx)(Tooltip, {
23973
24021
  content: "Attach pdb to the exception point.",
23974
24022
  children: (0, import_jsx_runtime.jsxs)(Button, {
23975
24023
  size: "xs",
@@ -23986,9 +24034,9 @@ ${_}`,
23986
24034
  "Launch debugger"
23987
24035
  ]
23988
24036
  })
23989
- }), t[34] = A, t[35] = E, t[36] = fN) : fN = t[36];
23990
- let pN;
23991
- t[37] !== _ || t[38] !== i ? (pN = U && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
24037
+ }), t[34] = A, t[35] = E, t[36] = mN) : mN = t[36];
24038
+ let hN;
24039
+ t[37] !== _ || t[38] !== i ? (hN = U && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
23992
24040
  children: [
23993
24041
  (0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
23994
24042
  asChild: true,
@@ -24056,24 +24104,24 @@ ${_}`,
24056
24104
  ]
24057
24105
  })
24058
24106
  ]
24059
- }), t[37] = _, t[38] = i, t[39] = pN) : pN = t[39];
24060
- let mN;
24061
- t[40] !== uN || t[41] !== fN || t[42] !== pN ? (mN = (0, import_jsx_runtime.jsxs)("div", {
24107
+ }), t[37] = _, t[38] = i, t[39] = hN) : hN = t[39];
24108
+ let gN;
24109
+ t[40] !== fN || t[41] !== mN || t[42] !== hN ? (gN = (0, import_jsx_runtime.jsxs)("div", {
24062
24110
  className: "flex gap-2",
24063
24111
  children: [
24064
- uN,
24065
24112
  fN,
24066
- pN
24113
+ mN,
24114
+ hN
24067
24115
  ]
24068
- }), t[40] = uN, t[41] = fN, t[42] = pN, t[43] = mN) : mN = t[43];
24069
- let hN;
24070
- return t[44] !== lN || t[45] !== mN ? (hN = (0, import_jsx_runtime.jsxs)("div", {
24116
+ }), t[40] = fN, t[41] = mN, t[42] = hN, t[43] = gN) : gN = t[43];
24117
+ let _N;
24118
+ return t[44] !== dN || t[45] !== gN ? (_N = (0, import_jsx_runtime.jsxs)("div", {
24071
24119
  className: "flex flex-col gap-2 min-w-full w-fit",
24072
24120
  children: [
24073
- lN,
24074
- mN
24121
+ dN,
24122
+ gN
24075
24123
  ]
24076
- }), t[44] = lN, t[45] = mN, t[46] = hN) : hN = t[46], hN;
24124
+ }), t[44] = dN, t[45] = gN, t[46] = _N) : _N = t[46], _N;
24077
24125
  };
24078
24126
  function lastLine(e) {
24079
24127
  var _a2, _b;
@@ -24408,7 +24456,7 @@ ${_}`,
24408
24456
  let d2 = f && "mt-4", M2;
24409
24457
  t[13] === d2 ? M2 = t[14] : (M2 = cn("self-start max-h-none flex flex-col gap-2 mr-3 shrink-0", d2), t[13] = d2, t[14] = M2), w = (0, import_jsx_runtime.jsx)(TabsList, {
24410
24458
  className: M2,
24411
- children: e2.map(_temp3)
24459
+ children: e2.map(_temp3$1)
24412
24460
  }), v = "flex-1 w-full";
24413
24461
  let I2;
24414
24462
  t[15] !== s || t[16] !== o || t[17] !== h ? (I2 = (e3) => {
@@ -24583,7 +24631,7 @@ ${_}`,
24583
24631
  n
24584
24632
  ];
24585
24633
  }
24586
- function _temp3(e) {
24634
+ function _temp3$1(e) {
24587
24635
  let [t] = e;
24588
24636
  return (0, import_jsx_runtime.jsx)(TabsTrigger, {
24589
24637
  value: t,
@@ -25131,7 +25179,7 @@ ${_}`,
25131
25179
  description: "Zoom into the next slide."
25132
25180
  }
25133
25181
  ], SlidesForm = (e) => {
25134
- let t = (0, import_compiler_runtime$1.c)(11), { layout: n, setLayout: i, cellId: a } = e, o;
25182
+ let t = (0, import_compiler_runtime$1.c)(13), { layout: n, setLayout: i, cellId: a } = e, o;
25135
25183
  t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (o = (0, import_jsx_runtime.jsxs)(TabsList, {
25136
25184
  className: "grid grid-cols-2",
25137
25185
  children: [
@@ -25164,16 +25212,64 @@ ${_}`,
25164
25212
  setLayout: i
25165
25213
  })
25166
25214
  }), t[5] = n, t[6] = i, t[7] = c) : c = t[7];
25167
- let d;
25168
- return t[8] !== s || t[9] !== c ? (d = (0, import_jsx_runtime.jsxs)(Tabs, {
25215
+ let d, f;
25216
+ t[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = (0, import_jsx_runtime.jsx)("hr", {}), f = (0, import_jsx_runtime.jsx)(KeyboardTips, {}), t[8] = d, t[9] = f) : (d = t[8], f = t[9]);
25217
+ let h;
25218
+ return t[10] !== s || t[11] !== c ? (h = (0, import_jsx_runtime.jsxs)(Tabs, {
25169
25219
  defaultValue: "slide",
25170
25220
  className: "flex flex-col flex-1 p-3 gap-3",
25171
25221
  children: [
25172
25222
  o,
25173
25223
  s,
25174
- c
25224
+ c,
25225
+ d,
25226
+ f
25175
25227
  ]
25176
- }), t[8] = s, t[9] = c, t[10] = d) : d = t[10], d;
25228
+ }), t[10] = s, t[11] = c, t[12] = h) : h = t[12], h;
25229
+ }, KEYBOARD_TIPS = [
25230
+ {
25231
+ keys: [
25232
+ "F"
25233
+ ],
25234
+ description: "Enter fullscreen"
25235
+ },
25236
+ {
25237
+ keys: [
25238
+ "C"
25239
+ ],
25240
+ description: "Toggle code editor"
25241
+ }
25242
+ ], KEYBOARD_SHORTCUTS_URL = "https://vlaaad.github.io/reveal/keyboard-shortcuts", KeyboardTips = () => {
25243
+ let e = (0, import_compiler_runtime$1.c)(2), t;
25244
+ e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t = (0, import_jsx_runtime.jsxs)("div", {
25245
+ className: "flex items-center gap-1.5 font-medium text-foreground/80",
25246
+ children: [
25247
+ (0, import_jsx_runtime.jsx)(Keyboard, {
25248
+ className: "h-3.5 w-3.5"
25249
+ }),
25250
+ (0, import_jsx_runtime.jsx)("span", {
25251
+ children: "Shortcuts"
25252
+ })
25253
+ ]
25254
+ }), e[0] = t) : t = e[0];
25255
+ let n;
25256
+ return e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (n = (0, import_jsx_runtime.jsxs)("div", {
25257
+ className: "flex flex-col gap-2 text-xs text-muted-foreground",
25258
+ children: [
25259
+ t,
25260
+ (0, import_jsx_runtime.jsx)("ul", {
25261
+ className: "flex flex-col gap-1.5",
25262
+ children: KEYBOARD_TIPS.map(_temp2)
25263
+ }),
25264
+ (0, import_jsx_runtime.jsx)("a", {
25265
+ href: KEYBOARD_SHORTCUTS_URL,
25266
+ target: "_blank",
25267
+ rel: "noopener noreferrer",
25268
+ className: "text-link hover:underline",
25269
+ children: "See all shortcuts"
25270
+ })
25271
+ ]
25272
+ }), e[1] = n) : n = e[1], n;
25177
25273
  }, SlideConfigForm = (e) => {
25178
25274
  var _a2;
25179
25275
  let t = (0, import_compiler_runtime$1.c)(13), { layout: n, setLayout: i, cellId: o } = e, s = ((_a2 = n.cells.get(o)) == null ? void 0 : _a2.type) ?? "slide", c;
@@ -25269,7 +25365,7 @@ ${_}`,
25269
25365
  }), t[8] = _) : _ = t[8];
25270
25366
  let v;
25271
25367
  t[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = (0, import_jsx_runtime.jsx)(SelectContent, {
25272
- children: DECK_TRANSITION_OPTIONS.map(_temp$1)
25368
+ children: DECK_TRANSITION_OPTIONS.map(_temp3)
25273
25369
  }), t[9] = v) : v = t[9];
25274
25370
  let y;
25275
25371
  t[10] !== a || t[11] !== h ? (y = (0, import_jsx_runtime.jsxs)(Select, {
@@ -25367,7 +25463,7 @@ ${_}`,
25367
25463
  className: "h-full flex flex-col border-l border-border/60 bg-muted/20 transition-[width] duration-200 ease-out overflow-hidden",
25368
25464
  style: _,
25369
25465
  "aria-label": "Slide configuration",
25370
- onKeyDown: _temp2,
25466
+ onKeyDown: _temp4,
25371
25467
  children: [
25372
25468
  I,
25373
25469
  z
@@ -25375,13 +25471,33 @@ ${_}`,
25375
25471
  }), t[26] = I, t[27] = z, t[28] = _, t[29] = U) : U = t[29], U;
25376
25472
  };
25377
25473
  function _temp$1(e) {
25474
+ return (0, import_jsx_runtime.jsx)(Kbd, {
25475
+ children: e
25476
+ }, e);
25477
+ }
25478
+ function _temp2(e) {
25479
+ let { keys: t, description: n } = e;
25480
+ return (0, import_jsx_runtime.jsxs)("li", {
25481
+ className: "flex items-center justify-between",
25482
+ children: [
25483
+ (0, import_jsx_runtime.jsx)("span", {
25484
+ children: n
25485
+ }),
25486
+ (0, import_jsx_runtime.jsx)("span", {
25487
+ className: "flex gap-1",
25488
+ children: t.map(_temp$1)
25489
+ })
25490
+ ]
25491
+ }, n);
25492
+ }
25493
+ function _temp3(e) {
25378
25494
  let { value: t, label: n } = e;
25379
25495
  return (0, import_jsx_runtime.jsx)(SelectItem, {
25380
25496
  value: t,
25381
25497
  children: n
25382
25498
  }, t);
25383
25499
  }
25384
- function _temp2(e) {
25500
+ function _temp4(e) {
25385
25501
  return e.stopPropagation();
25386
25502
  }
25387
25503
  function getVersionFromMountConfig() {
@@ -25391,7 +25507,7 @@ ${_}`,
25391
25507
  return Logger.warn("Failed to get version from mount config"), null;
25392
25508
  }
25393
25509
  }
25394
- marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.6-dev9");
25510
+ marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.6");
25395
25511
  showCodeInRunModeAtom = atom(true);
25396
25512
  atom(null);
25397
25513
  var import_compiler_runtime = require_compiler_runtime();
@@ -25421,44 +25537,42 @@ ${_}`,
25421
25537
  export {
25422
25538
  getPageIndexForRow as $,
25423
25539
  contextAwarePanelType as A,
25424
- GripHorizontal as At,
25540
+ EyeOff as At,
25425
25541
  TableHead as B,
25426
- ChevronsDownUp as Bt,
25542
+ ArrowDownWideNarrow as Bt,
25427
25543
  useInternalStateWithSync as C,
25428
25544
  RenderTextWithLinks as Ct,
25429
25545
  PANEL_TYPES as D,
25430
- getStaticVirtualFiles as Dt,
25546
+ TextWrap as Dt,
25431
25547
  ContextAwarePanelItem as E,
25432
25548
  EmotionCacheProvider as Et,
25433
25549
  Fill as F,
25434
- Download as Ft,
25550
+ ChevronsUpDown as Ft,
25435
25551
  inferFieldTypes as G,
25436
25552
  TableRow as H,
25437
- ArrowDownWideNarrow as Ht,
25438
25553
  Provider$1 as I,
25439
- Code as It,
25554
+ ChevronsRight as It,
25440
25555
  ColumnChartSpecModel as J,
25441
25556
  renderCellValue as K,
25442
25557
  Table as L,
25443
- ChevronsUpDown as Lt,
25558
+ ChevronsLeft as Lt,
25444
25559
  SlotNames as M,
25445
- EyeOff as Mt,
25560
+ Ellipsis as Mt,
25446
25561
  slotsController as N,
25447
- Expand as Nt,
25562
+ Download as Nt,
25448
25563
  contextAwarePanelOpen as O,
25449
- isStaticNotebook as Ot,
25564
+ GripHorizontal as Ot,
25450
25565
  Toggle as P,
25451
- Ellipsis as Pt,
25566
+ Code as Pt,
25452
25567
  filtersToFilterGroup as Q,
25453
25568
  TableBody as R,
25454
- ChevronsRight as Rt,
25569
+ ChevronsDownUp as Rt,
25455
25570
  prettifyRowCount as S,
25456
25571
  useOverflowDetection as St,
25457
25572
  ComboboxItem as T,
25458
25573
  HtmlOutput as Tt,
25459
25574
  NAMELESS_COLUMN_PREFIX as U,
25460
25575
  TableHeader as V,
25461
- ChevronLeft as Vt,
25462
25576
  generateColumns as W,
25463
25577
  useIntersectionObserver as X,
25464
25578
  DelayMount as Y,
@@ -25484,9 +25598,9 @@ export {
25484
25598
  DEFAULT_DECK_TRANSITION as i,
25485
25599
  TOO_MANY_ROWS as it,
25486
25600
  isCellAwareAtom as j,
25487
- Funnel as jt,
25601
+ Expand as jt,
25488
25602
  contextAwarePanelOwner as k,
25489
- TextWrap as kt,
25603
+ Funnel as kt,
25490
25604
  RadioGroup as l,
25491
25605
  CommandInput as lt,
25492
25606
  DataTable as m,
@@ -25515,5 +25629,5 @@ export {
25515
25629
  downloadHTMLAsImage as y,
25516
25630
  ChartInfoState as yt,
25517
25631
  TableCell as z,
25518
- ChevronsLeft as zt
25632
+ ChevronLeft as zt
25519
25633
  };