@marimo-team/islands 0.23.16-dev76 → 0.23.16-dev9

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 (64) hide show
  1. package/dist/{ConnectedDataExplorerComponent-CJaUI-S-.js → ConnectedDataExplorerComponent-f9vLjQiF.js} +13 -13
  2. package/dist/{ErrorBoundary-DXlxsrTF.js → ErrorBoundary-DhLqwSWA.js} +3 -3
  3. package/dist/{any-language-editor-P9tjkj4n.js → any-language-editor-DifE-fl7.js} +5 -5
  4. package/dist/{button-BcSml68y.js → button-BSm8IXRU.js} +2 -4
  5. package/dist/{capabilities-BYLFYTYv.js → capabilities-C6OQ5YBO.js} +1 -1
  6. package/dist/{chat-ui-BdSDiVjk.js → chat-ui-JeekqoMH.js} +16 -16
  7. package/dist/{check-Cs-KV5XY.js → check-DP7U0H0G.js} +1 -1
  8. package/dist/{code-visibility-BQmXTtK5.js → code-visibility-DveLKNtj.js} +734 -711
  9. package/dist/{copy-Cs3yt6Vt.js → copy-DNq8q3zw.js} +2 -2
  10. package/dist/{dist-B96tMAst.js → dist-DIlxLFXG.js} +2 -2
  11. package/dist/{error-banner-DR7o3CbX.js → error-banner-B_GQfxxD.js} +2 -2
  12. package/dist/{esm-k8PIvuZW.js → esm-DzZVaNH4.js} +1 -1
  13. package/dist/{extends-Cq2JYHKy.js → extends-w2_S44bV.js} +4 -4
  14. package/dist/{formats-BFhkZJwd.js → formats-CO8cn5_K.js} +3 -3
  15. package/dist/{glide-data-editor--CaN-f27.js → glide-data-editor-B9K6-MJe.js} +9 -9
  16. package/dist/{html-to-image-DDENewl2.js → html-to-image-Bif4utQZ.js} +15 -15
  17. package/dist/{input-DStQIuqD.js → input-C5K4VBvB.js} +7 -7
  18. package/dist/{label-DIk0QoFe.js → label-DjoYwqmj.js} +2 -2
  19. package/dist/{loader-CTHCI-qe.js → loader-DX-IDS7n.js} +1 -1
  20. package/dist/main.js +1000 -1010
  21. package/dist/{mermaid-CdSvixW2.js → mermaid-hv6IckVw.js} +5 -5
  22. package/dist/{process-output-2QPcgBQg.js → process-output-TAzy-GUk.js} +3 -3
  23. package/dist/{reveal-component-B-AxUPCM.js → reveal-component-DxV4Ppa2.js} +692 -618
  24. package/dist/{spec-CnaxwDqy.js → spec-CQKL_D3i.js} +4 -4
  25. package/dist/{strings-BYAhZnQi.js → strings-DIy9NAmg.js} +4 -4
  26. package/dist/style.css +1 -1
  27. package/dist/{swiper-component-DE94711u.js → swiper-component-CEdAYjb7.js} +2 -2
  28. package/dist/{toDate-B3IRfHhw.js → toDate-CmR_xR3P.js} +3 -3
  29. package/dist/{tooltip-B-qh7UPB.js → tooltip-f-qR0iUx.js} +3 -3
  30. package/dist/{types-DQl7jVYK.js → types-DicH9Oi0.js} +1 -1
  31. package/dist/{useAsyncData-CvO8WUy3.js → useAsyncData-CYOQb1EW.js} +1 -1
  32. package/dist/{useDateFormatter-BSoGim-G.js → useDateFormatter-Bt2qr_XS.js} +2 -2
  33. package/dist/{useDeepCompareMemoize-J3MKRdA4.js → useDeepCompareMemoize-CSHQeQEI.js} +1 -1
  34. package/dist/{useIframeCapabilities-POcFXHbw.js → useIframeCapabilities-kA09ykNq.js} +1 -1
  35. package/dist/{useLifecycle-DqPxHgAN.js → useLifecycle-CMJGqBaY.js} +3 -3
  36. package/dist/{useTheme-XMq9mNf_.js → useTheme-DYfby65G.js} +2 -2
  37. package/dist/{vega-component-CrFoZT1S.js → vega-component-DphdxaJ_.js} +10 -10
  38. package/dist/{zod-D0yOqoGe.js → zod-BUcyXSdR.js} +1 -1
  39. package/package.json +1 -1
  40. package/src/components/data-table/column-formatting/feature.ts +2 -1
  41. package/src/components/editor/file-tree/__tests__/file-render-mode.test.ts +27 -0
  42. package/src/components/editor/file-tree/__tests__/file-viewer.test.tsx +150 -0
  43. package/src/components/editor/file-tree/file-preview-metadata.tsx +51 -0
  44. package/src/components/editor/file-tree/file-render-mode.ts +32 -0
  45. package/src/components/editor/file-tree/file-viewer.tsx +76 -50
  46. package/src/components/editor/output/CalloutOutput.tsx +17 -3
  47. package/src/components/slides/__tests__/slide-scroll-hint.test.tsx +198 -0
  48. package/src/components/slides/reveal-component.tsx +3 -2
  49. package/src/components/slides/slide-scroll-hint.tsx +161 -0
  50. package/src/components/ui/input.tsx +1 -1
  51. package/src/core/codemirror/keymaps/__tests__/keymaps.test.ts +31 -2
  52. package/src/core/codemirror/keymaps/keymaps.ts +12 -0
  53. package/src/core/hotkeys/hotkeys.ts +0 -2
  54. package/src/core/i18n/__tests__/locale-provider.test.tsx +54 -118
  55. package/src/core/i18n/__tests__/locale.test.ts +113 -0
  56. package/src/core/i18n/locale-provider.tsx +1 -19
  57. package/src/core/i18n/locale.ts +71 -0
  58. package/src/core/network/types.ts +3 -1
  59. package/src/css/admonition.css +52 -71
  60. package/src/plugins/impl/FormPlugin.tsx +1 -1
  61. package/src/plugins/impl/__tests__/FormPlugin.test.tsx +162 -0
  62. package/src/plugins/layout/CalloutPlugin.tsx +8 -1
  63. package/src/stories/callout.stories.tsx +12 -0
  64. package/src/components/editor/output/CalloutOutput.styles.ts +0 -22
@@ -2,40 +2,40 @@ var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
4
  import { s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
5
- import { _ as Functions, f as composeRefs, g as Logger, h as cn, m as Events, n as buttonVariants, p as useComposedRefs, r as cva, t as Button } from "./button-BcSml68y.js";
5
+ import { _ as Functions, f as composeRefs, g as Logger, h as cn, m as Events, n as buttonVariants, p as useComposedRefs, r as cva, t as Button } from "./button-BSm8IXRU.js";
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
- import { n as Copy, r as toast, t as copyToClipboard } from "./copy-Cs3yt6Vt.js";
9
- import { $n as import_lib, An as Close$1, At as toggleBreakpoint, B as isDataURLString, Bn as Minus, C as Accordion, Dn as atomWithStorage, E as AccordionTrigger, Fn as Wrench, Ft as useChromeActions, Gn as Eye, Gt as DATA_TYPE_ICON, H as renderHTML, In as Trash2, It as adaptForLocalStorage, J as getCellEditorView, Kn as ExternalLink, Kt as getDataTypeColor, L as base64ToUint8Array, Lt as jotaiJsonStorage, M as DotFilledIcon, Mt as goToCellLine, N as PinLeftIcon, P as PinRightIcon, Q as notebookAtom, Qn as esm_default, Qt as getRequestClient, T as AccordionItem, Tn as jsonToMarkdown, Un as Info, Ut as PluralWord, Vn as LoaderCircle, Wn as FileText, Yn as CircleX, Zn as Braces, _ as getDatasourceContext, _n as CellOutputId, _t as sanitizeHtml, bt as displayCellName, c as Popover, cn as elementContainsMarimoCellFile, ct as AnsiUp, d as PopoverTrigger, dt as kioskModeAtom, en as useRequestClient, ft as useInstallAllowed, it as useCellNames, j as ChevronRightIcon, k as CheckIcon, l as PopoverClose, ln as extractAllTracebackInfo, m as useExpandedOutput, mt as outputIsLoading, n as Spinner, nt as useCellActions, pn as filenameAtom, pt as viewStateAtom, r as MarkdownRenderer, rt as useCellIds, t as toPng, u as PopoverContent, un as getTracebackInfo, vn as HTMLCellId, vt as DATA_CELL_ID, w as AccordionContent, wn as jsonParseWithSpecialChar, wt as Checkbox, yn as SCRATCH_CELL_ID, yt as getCellDomProps, z as extractBase64FromDataURL, zn as NotebookPen, zt as getFeatureFlag, __tla as __tla_0 } from "./html-to-image-DDENewl2.js";
10
- import { o as useSize, u as createLucideIcon } from "./dist-B96tMAst.js";
11
- import { c as Calendar, i as createReducerAndAtoms, r as Badge } from "./useLifecycle-DqPxHgAN.js";
12
- import { a as ListFilter, i as Table$1, n as $fb18d541ea1ad717$export$ad991b66133851cf, o as ChartPie, r as $5a387cc49350e6db$export$722debc0e56fea39, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-BSoGim-G.js";
13
- import { t as Check } from "./check-Cs-KV5XY.js";
14
- import { C as logNever, E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, I as X, N as usePrevious$1, O as $b5e257d569688ac6$export$535bd6ca7f90a273, P as useDirection, R as ChevronDown, S as assertNever, T as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, _ as menuControlVariants, b as menuSeparatorVariants, f as selectStyles, g as menuControlCheckVariants, h as menuContentCommon, i as SelectContent, l as SelectTrigger, o as SelectItem, p as MENU_ITEM_DISABLED, r as Select, t as Strings, u as SelectValue, v as menuItemVariants, w as $a916eb452884faea$export$b7a616150fdb9f44, x as menuSubTriggerVariants, y as menuLabelVariants } from "./strings-BYAhZnQi.js";
15
- import { $ as $e93e671b31057976$export$b8473d3665f3a75a, $t as Item2$2, A as $ee014567cb39d3f0$export$ff05c3ac10437e03, At as $c87311424ea30a05$export$78551043582a6a98, B as $64fa3d84918910a7$export$4d86445c2cf5e3, Bt as $d4ee10de306f2510$export$e58f029f0fbfdb29, C as DropdownMenuTrigger, Ct as $b4b717babfbb907b$export$bebd5a1431fec25d, D as $a049562f99e7db0e$export$f9c6924e160136d1, Dt as $df56164dff5785e2$export$4338b53315abf666, E as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, Et as $8ae05eaa5c114e9c$export$7f54fc3180508a52, F as $01b77f81d0f07f68$export$75b6ee27786ba447, Ft as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, G as $64fa3d84918910a7$export$ef03459518577ad4, Gt as $bdb11010cef70236$export$b4cc09c592e8fdb8, H as $64fa3d84918910a7$export$c245e6201fed2f75, Ht as $431fbd86ca7dc216$export$b204af158042fbac, I as $01b77f81d0f07f68$export$b04be29aa201d4f5, It as $3ef42575df84b30b$export$9d1611c77c2fe928, J as marked, Jt as Anchor2, K as $64fa3d84918910a7$export$fabf2dc03a41866e, Kt as $bdb11010cef70236$export$f680877a34711e37, L as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Lt as $d4ee10de306f2510$export$4282f70798064fe0, M as $514c0188e459b4c0$export$9afb8bc826b033ea, Mt as $c87311424ea30a05$export$a11b0059900ceec8, N as $d2b4bc8c273e7be6$export$24d547caef80ccd1, Nt as $c87311424ea30a05$export$fedb369cb70207f1, O as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Ot as $313b98861ee5dd6c$export$d6875122194c7b44, P as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, Pt as $7215afc6de606d6b$export$de79e2c695e052f3, Q as $2baaea4c71418dea$export$294aa081a6c6f55d, Qt as Group, R as $64fa3d84918910a7$export$2881499e37b75b9a, Rt as $d4ee10de306f2510$export$b4f377a2b6254582, S as DropdownMenuSubTrigger, St as $b4b717babfbb907b$export$4c063cf1350e6fed, T as $3985021b0ad6602f$export$f5b8910cec6cf069, Tt as $e9faafb641e167db$export$90fc3a17d93f704c, U as $64fa3d84918910a7$export$c62b8e45d58ddad9, Ut as $431fbd86ca7dc216$export$f21a1ffae260145a, V as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, Vt as $f4e2df6bd15f8569$export$98658e8c59125e6a, W as $64fa3d84918910a7$export$df3a06d6289f983e, Wt as $ff5963eb1fccf552$export$e08e3b67e392101e, Xt as CheckboxItem, Yt as Arrow2, Z as $d2e8511e6f209edf$export$e908e06f4b8e3402, Zt as Content2$1, _ as DropdownMenuPortal, _t as $f6c31cce2adf654f$export$45712eceda6fad21, a as NumberField, an as Root3, at as $319e236875307eab$export$a9b970dcc4ae71a9, b as DropdownMenuSub, bt as $9446cca9a3875146$export$7d15b64cf5a3a4c4, c as prettyEngineeringNumber, cn as SubContent, ct as $6c7bd7858deea686$export$cd11ab140839f11d, dn as Item, dt as $6db58dc88e78b024$export$2f817fcdc4b89ae0, en as ItemIndicator, et as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, f as DropdownMenu, fn as Root$3, ft as $5b160d28a433310d$export$c17fa47878dc55b6, g as DropdownMenuLabel, gn as ChevronRight, gt as $507fabe10e71c6fb$export$630ff653c5ada6a9, h as DropdownMenuItem, hn as Circle, ht as $3ad3f6e1647bc98d$export$80f3e147d781571c, in as RadioItem, it as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, j as $514c0188e459b4c0$export$5f1af8db9871e1d6, jt as $c87311424ea30a05$export$9ac100e40613ea10, k as $ee014567cb39d3f0$export$f551688fc98f2e09, kt as $c87311424ea30a05$export$6446a186d09e379e, l as prettyNumber, ln as SubTrigger, lt as $fca6afa0e843324b$export$87b761675e8eaa10, mn as Search, mt as $9ab94262bd0047c7$export$420e68273165f4ec, nn as Portal, nt as $e5be200c675c3b3a$export$aca958c65c314e6c, on as Separator$1, ot as $f7dceffc5ad7768b$export$4e328f61c538687f, p as DropdownMenuContent, pn as createRovingFocusGroupScope, pt as $6179b936705e76d3$export$ae780daf29e6d456, qt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, r as Input, rn as RadioGroup$2, rt as $e5be200c675c3b3a$export$dad6ae84456c676a, s as maxFractionalDigits, sn as Sub, tn as Label$1, tt as $e5be200c675c3b3a$export$a763b9476acd3eb, u as prettyScientificNumber, un as createMenuScope, ut as $fca6afa0e843324b$export$f12b703ca79dfbb1, v as DropdownMenuSeparator, vt as _class_private_field_init, w as $3985021b0ad6602f$export$37fb8590cf2c088c, wt as $99facab73266f662$export$5add1d006293d136, x as DropdownMenuSubContent, xt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, yt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, z as $64fa3d84918910a7$export$29f1550f4b0d4415, zt as $d4ee10de306f2510$export$cd4e5573fbe2b576 } from "./input-DStQIuqD.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-B3IRfHhw.js";
17
- import { r as Plus, t as ErrorBoundary } from "./ErrorBoundary-DXlxsrTF.js";
8
+ import { n as Copy, r as toast, t as copyToClipboard } from "./copy-DNq8q3zw.js";
9
+ import { $n as import_lib, An as Close$1, At as toggleBreakpoint, B as isDataURLString, Bn as Minus, C as Accordion, Dn as atomWithStorage, E as AccordionTrigger, Fn as Wrench, Ft as useChromeActions, Gn as Eye, Gt as DATA_TYPE_ICON, H as renderHTML, In as Trash2, It as adaptForLocalStorage, J as getCellEditorView, Kn as ExternalLink, Kt as getDataTypeColor, L as base64ToUint8Array, Lt as jotaiJsonStorage, M as DotFilledIcon, Mt as goToCellLine, N as PinLeftIcon, P as PinRightIcon, Q as notebookAtom, Qn as esm_default, Qt as getRequestClient, T as AccordionItem, Tn as jsonToMarkdown, Un as Info, Ut as PluralWord, Vn as LoaderCircle, Wn as FileText, Yn as CircleX, Zn as Braces, _ as getDatasourceContext, _n as CellOutputId, _t as sanitizeHtml, bt as displayCellName, c as Popover, cn as elementContainsMarimoCellFile, ct as AnsiUp, d as PopoverTrigger, dt as kioskModeAtom, en as useRequestClient, ft as useInstallAllowed, it as useCellNames, j as ChevronRightIcon, k as CheckIcon, l as PopoverClose, ln as extractAllTracebackInfo, m as useExpandedOutput, mt as outputIsLoading, n as Spinner, nt as useCellActions, pn as filenameAtom, pt as viewStateAtom, r as MarkdownRenderer, rt as useCellIds, t as toPng, u as PopoverContent, un as getTracebackInfo, vn as HTMLCellId, vt as DATA_CELL_ID, w as AccordionContent, wn as jsonParseWithSpecialChar, wt as Checkbox, yn as SCRATCH_CELL_ID, yt as getCellDomProps, z as extractBase64FromDataURL, zn as NotebookPen, zt as getFeatureFlag, __tla as __tla_0 } from "./html-to-image-Bif4utQZ.js";
10
+ import { o as useSize, u as createLucideIcon } from "./dist-DIlxLFXG.js";
11
+ import { c as Calendar, i as createReducerAndAtoms, r as Badge } from "./useLifecycle-CMJGqBaY.js";
12
+ import { a as ListFilter, i as Table$1, n as $fb18d541ea1ad717$export$ad991b66133851cf, o as ChartPie, r as $5a387cc49350e6db$export$722debc0e56fea39, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-Bt2qr_XS.js";
13
+ import { t as Check } from "./check-DP7U0H0G.js";
14
+ import { C as logNever, E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, I as X, N as usePrevious$1, O as $b5e257d569688ac6$export$535bd6ca7f90a273, P as useDirection, R as ChevronDown, S as assertNever, T as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, _ as menuControlVariants, b as menuSeparatorVariants, f as selectStyles, g as menuControlCheckVariants, h as menuContentCommon, i as SelectContent, l as SelectTrigger, o as SelectItem, p as MENU_ITEM_DISABLED, r as Select, t as Strings, u as SelectValue, v as menuItemVariants, w as $a916eb452884faea$export$b7a616150fdb9f44, x as menuSubTriggerVariants, y as menuLabelVariants } from "./strings-DIy9NAmg.js";
15
+ import { $ as $e93e671b31057976$export$b8473d3665f3a75a, $t as Item2$2, A as $ee014567cb39d3f0$export$ff05c3ac10437e03, At as $c87311424ea30a05$export$78551043582a6a98, B as $64fa3d84918910a7$export$4d86445c2cf5e3, Bt as $d4ee10de306f2510$export$e58f029f0fbfdb29, C as DropdownMenuTrigger, Ct as $b4b717babfbb907b$export$bebd5a1431fec25d, D as $a049562f99e7db0e$export$f9c6924e160136d1, Dt as $df56164dff5785e2$export$4338b53315abf666, E as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, Et as $8ae05eaa5c114e9c$export$7f54fc3180508a52, F as $01b77f81d0f07f68$export$75b6ee27786ba447, Ft as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, G as $64fa3d84918910a7$export$ef03459518577ad4, Gt as $bdb11010cef70236$export$b4cc09c592e8fdb8, H as $64fa3d84918910a7$export$c245e6201fed2f75, Ht as $431fbd86ca7dc216$export$b204af158042fbac, I as $01b77f81d0f07f68$export$b04be29aa201d4f5, It as $3ef42575df84b30b$export$9d1611c77c2fe928, J as marked, Jt as Anchor2, K as $64fa3d84918910a7$export$fabf2dc03a41866e, Kt as $bdb11010cef70236$export$f680877a34711e37, L as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Lt as $d4ee10de306f2510$export$4282f70798064fe0, M as $514c0188e459b4c0$export$9afb8bc826b033ea, Mt as $c87311424ea30a05$export$a11b0059900ceec8, N as $d2b4bc8c273e7be6$export$24d547caef80ccd1, Nt as $c87311424ea30a05$export$fedb369cb70207f1, O as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Ot as $313b98861ee5dd6c$export$d6875122194c7b44, P as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, Pt as $7215afc6de606d6b$export$de79e2c695e052f3, Q as $2baaea4c71418dea$export$294aa081a6c6f55d, Qt as Group, R as $64fa3d84918910a7$export$2881499e37b75b9a, Rt as $d4ee10de306f2510$export$b4f377a2b6254582, S as DropdownMenuSubTrigger, St as $b4b717babfbb907b$export$4c063cf1350e6fed, T as $3985021b0ad6602f$export$f5b8910cec6cf069, Tt as $e9faafb641e167db$export$90fc3a17d93f704c, U as $64fa3d84918910a7$export$c62b8e45d58ddad9, Ut as $431fbd86ca7dc216$export$f21a1ffae260145a, V as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, Vt as $f4e2df6bd15f8569$export$98658e8c59125e6a, W as $64fa3d84918910a7$export$df3a06d6289f983e, Wt as $ff5963eb1fccf552$export$e08e3b67e392101e, Xt as CheckboxItem, Yt as Arrow2, Z as $d2e8511e6f209edf$export$e908e06f4b8e3402, Zt as Content2$1, _ as DropdownMenuPortal, _t as $f6c31cce2adf654f$export$45712eceda6fad21, a as NumberField, an as Root3, at as $319e236875307eab$export$a9b970dcc4ae71a9, b as DropdownMenuSub, bt as $9446cca9a3875146$export$7d15b64cf5a3a4c4, c as prettyEngineeringNumber, cn as SubContent, ct as $6c7bd7858deea686$export$cd11ab140839f11d, dn as Item, dt as $6db58dc88e78b024$export$2f817fcdc4b89ae0, en as ItemIndicator, et as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, f as DropdownMenu, fn as Root$3, ft as $5b160d28a433310d$export$c17fa47878dc55b6, g as DropdownMenuLabel, gn as ChevronRight, gt as $507fabe10e71c6fb$export$630ff653c5ada6a9, h as DropdownMenuItem, hn as Circle, ht as $3ad3f6e1647bc98d$export$80f3e147d781571c, in as RadioItem, it as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, j as $514c0188e459b4c0$export$5f1af8db9871e1d6, jt as $c87311424ea30a05$export$9ac100e40613ea10, k as $ee014567cb39d3f0$export$f551688fc98f2e09, kt as $c87311424ea30a05$export$6446a186d09e379e, l as prettyNumber, ln as SubTrigger, lt as $fca6afa0e843324b$export$87b761675e8eaa10, mn as Search, mt as $9ab94262bd0047c7$export$420e68273165f4ec, nn as Portal, nt as $e5be200c675c3b3a$export$aca958c65c314e6c, on as Separator$1, ot as $f7dceffc5ad7768b$export$4e328f61c538687f, p as DropdownMenuContent, pn as createRovingFocusGroupScope, pt as $6179b936705e76d3$export$ae780daf29e6d456, qt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, r as Input, rn as RadioGroup$2, rt as $e5be200c675c3b3a$export$dad6ae84456c676a, s as maxFractionalDigits, sn as Sub, tn as Label$1, tt as $e5be200c675c3b3a$export$a763b9476acd3eb, u as prettyScientificNumber, un as createMenuScope, ut as $fca6afa0e843324b$export$f12b703ca79dfbb1, v as DropdownMenuSeparator, vt as _class_private_field_init, w as $3985021b0ad6602f$export$37fb8590cf2c088c, wt as $99facab73266f662$export$5add1d006293d136, x as DropdownMenuSubContent, xt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, yt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, z as $64fa3d84918910a7$export$29f1550f4b0d4415, zt as $d4ee10de306f2510$export$cd4e5573fbe2b576 } from "./input-C5K4VBvB.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-CmR_xR3P.js";
17
+ import { r as Plus, t as ErrorBoundary } from "./ErrorBoundary-DhLqwSWA.js";
18
18
  import { n as clsx_default } from "./clsx-CIWA5tNO.js";
19
19
  import { t as require_react_dom } from "./react-dom-BTJzcVJ9.js";
20
20
  import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
21
- import { Q as withSmartCollisionBoundary, Y as MAX_HEIGHT_OFFSET, Z as withFullScreenAsRoot, _t as createContextScope, dt as useId$2, et as StyleNamespace, ft as Presence, ht as composeEventHandlers, pt as useControllableState, ut as useCallbackRef, vt as Primitive$1 } from "./zod-D0yOqoGe.js";
22
- import { a as prettyError, c as Portal$1, l as Root$4, n as ErrorBanner, o as Content$1, s as Overlay, t as Banner } from "./error-banner-DR7o3CbX.js";
23
- import { a as TooltipRoot, n as TooltipContent, o as TooltipTrigger, r as TooltipPortal, t as Tooltip } from "./tooltip-B-qh7UPB.js";
24
- import { f as CopyClipboardIcon, t as _extends } from "./extends-Cq2JYHKy.js";
25
- import { A as useEvent_default, C as useSetAtom, D as buildStore, O as getBuildingBlocks, S as useAtomValue, T as atom, _ as useJotaiEffect, a as KnownQueryParams, b as Provider, d as resolvedMarimoConfigAtom, g as store, k as dequal, n as useTheme, o as aiFeaturesEnabledAtom, p as userConfigAtom, s as aiModelConfiguredAtom, w as useStore, x as useAtom } from "./useTheme-XMq9mNf_.js";
21
+ import { Q as withSmartCollisionBoundary, Y as MAX_HEIGHT_OFFSET, Z as withFullScreenAsRoot, _t as createContextScope, dt as useId$2, et as StyleNamespace, ft as Presence, ht as composeEventHandlers, pt as useControllableState, ut as useCallbackRef, vt as Primitive$1 } from "./zod-BUcyXSdR.js";
22
+ import { a as prettyError, c as Portal$1, l as Root$4, n as ErrorBanner, o as Content$1, s as Overlay, t as Banner } from "./error-banner-B_GQfxxD.js";
23
+ import { a as TooltipRoot, n as TooltipContent, o as TooltipTrigger, r as TooltipPortal, t as Tooltip } from "./tooltip-f-qR0iUx.js";
24
+ import { f as CopyClipboardIcon, t as _extends } from "./extends-w2_S44bV.js";
25
+ import { A as useEvent_default, C as useSetAtom, D as buildStore, O as getBuildingBlocks, S as useAtomValue, T as atom, _ as useJotaiEffect, a as KnownQueryParams, b as Provider, d as resolvedMarimoConfigAtom, g as store, k as dequal, n as useTheme, o as aiFeaturesEnabledAtom, p as userConfigAtom, s as aiModelConfiguredAtom, w as useStore, x as useAtom } from "./useTheme-DYfby65G.js";
26
26
  import { $ as EditorView } from "./dist-De-GlSAs.js";
27
27
  import { t as invariant } from "./invariant-wRzNXIsJ.js";
28
28
  import { c as uniqueBy, t as Arrays } from "./arrays-sEtDRoG4.js";
29
29
  import { t as Objects } from "./objects-De59twF-.js";
30
30
  import { n as once, t as memoizeLastValue } from "./once-B60G2fuJ.js";
31
31
  import { a as parser } from "./dist-CRmSjkLP.js";
32
- import { a as isValid, i as AlertTitle, n as Alert, t as arrow } from "./formats-BFhkZJwd.js";
32
+ import { a as isValid, i as AlertTitle, n as Alert, t as arrow } from "./formats-CO8cn5_K.js";
33
33
  import { n as memoize$1, t as isPropValid } from "./emotion-is-prop-valid.esm-DdVSF4FD.js";
34
34
  import { V as getContainerWidth, n as formats } from "./vega-loader.browser-DmpxCJqx.js";
35
- import { a as tooltipHandler, n as vegaLoadData, r as createBatchedLoader, t as parseCsvData } from "./loader-CTHCI-qe.js";
36
- import { t as useIframeCapabilities } from "./useIframeCapabilities-POcFXHbw.js";
37
- import { t as useAsyncData } from "./useAsyncData-CvO8WUy3.js";
38
- let ContextAwarePanelItem, EmotionCacheProvider, prettifyRowColumnCount, loadTableData, useSelectList, dateToLocalISOTime, Filenames, ColumnChartContext, EmptyState, usePrevious, ColumnPreviewContainer, useIntersectionObserver, ContextMenuContent, getMimeValues, ComboboxItem, ChartErrorState, DatePicker, TabsContent, ContextMenuItem, isNullishFilter, CommandInput, LazyVegaEmbed, Command, ChartInfoState, ContextMenuSeparator, Maps, getColumnCountForDisplay, SELECT_COLUMN_ID, getUserColumnVisibilityCounts, TOO_MANY_ROWS, ErrorState, getPageIndexForRow, ContextMenu, toFieldTypes, smartMatch, HtmlOutput, ContextMenuTrigger, dateToLocalISODate, Progress, renderCellValue, ColumnName, DelayMount, DateRangePicker, TabsList, CompactChipRow, Tabs, Combobox, TabsTrigger, CommandList, RenderTextWithLinks, CommandItem, useOverflowDetection, CommandSeparator, Kbd, InstallPackageButton, ArrowDownWideNarrow, TableHeader, DEFAULT_DECK_VERTICAL_ALIGN, GripHorizontal, SlotNames, downloadByURL, generateColumns, SlideSidebar, Expand, Panel, RadioGroup, Code, Fill, hasFunctionProperty, PANEL_TYPES, RadioGroupItem, ChevronsUpDown, Provider$1, DataTable, ChevronLeft, TableHead, OutputRenderer, ChevronsDownUp, TableCell, DEFAULT_DECK_TRANSITION, TextWrap, isCellAwareAtom, prettifyRowCount, INDEX_COLUMN_NAME, LoadingState, loadTableAndRawData, Slide, Ellipsis, PanelGroup, OutputArea, ChevronsLeft, TableBody, marimoVersionAtom, $fae977aafc393c5c$export$588937bcd60ade55, contextAwarePanelOwner, DEFAULT_SLIDE_TYPE, Funnel, slotsController, JsonOutput, ChevronsRight, Table, CommandEmpty, ChartLoadingState, showCodeInRunModeAtom, $fae977aafc393c5c$export$6b862160d295c8e, contextAwarePanelType, SLIDE_TYPE_OPTIONS_BY_VALUE, EyeOff, Toggle, useNotebookCodeAvailable, isRecord, contextAwarePanelOpen, Switch, Download, PanelResizeHandle, ADD_PRINTING_CLASS, TableRow, downloadSizeLimitAtom, ColumnChartSpecModel, downloadHTMLAsImage, inferFieldTypes, downloadBlob, NAMELESS_COLUMN_PREFIX, useInternalStateWithSync, dateToLocalISODateTime;
35
+ import { a as tooltipHandler, n as vegaLoadData, r as createBatchedLoader, t as parseCsvData } from "./loader-DX-IDS7n.js";
36
+ import { t as useIframeCapabilities } from "./useIframeCapabilities-kA09ykNq.js";
37
+ import { t as useAsyncData } from "./useAsyncData-CYOQb1EW.js";
38
+ let ContextAwarePanelItem, EmotionCacheProvider, prettifyRowColumnCount, loadTableData, useSelectList, dateToLocalISOTime, Filenames, ColumnChartContext, EmptyState, usePrevious, ColumnPreviewContainer, useIntersectionObserver, ContextMenuContent, getMimeValues, ComboboxItem, ChartErrorState, DatePicker, TabsContent, ContextMenuItem, isNullishFilter, CommandInput, LazyVegaEmbed, Command, ChartInfoState, ContextMenuSeparator, Maps, getColumnCountForDisplay, SELECT_COLUMN_ID, getUserColumnVisibilityCounts, TOO_MANY_ROWS, ErrorState, getPageIndexForRow, ContextMenu, toFieldTypes, smartMatch, HtmlOutput, ContextMenuTrigger, dateToLocalISODate, Progress, renderCellValue, ColumnName, DelayMount, DateRangePicker, TabsList, CompactChipRow, Tabs, Combobox, TabsTrigger, CommandList, RenderTextWithLinks, CommandItem, useOverflowDetection, CommandSeparator, Kbd, InstallPackageButton, ChevronLeft, TableHeader, DEFAULT_DECK_VERTICAL_ALIGN, TextWrap, SlotNames, downloadByURL, generateColumns, SlideSidebar, EyeOff, Panel, RadioGroup, Download, Fill, safeLocale, PANEL_TYPES, RadioGroupItem, Code, Provider$1, DataTable, ChevronsDownUp, TableHead, OutputRenderer, ChevronsLeft, TableCell, DEFAULT_DECK_TRANSITION, $fae977aafc393c5c$export$6b862160d295c8e, isCellAwareAtom, prettifyRowCount, INDEX_COLUMN_NAME, LoadingState, loadTableAndRawData, Slide, Expand, PanelGroup, OutputArea, ChevronsRight, TableBody, marimoVersionAtom, isRecord, contextAwarePanelOwner, DEFAULT_SLIDE_TYPE, GripHorizontal, slotsController, JsonOutput, ChevronsUpDown, Table, CommandEmpty, ChartLoadingState, showCodeInRunModeAtom, $fae977aafc393c5c$export$588937bcd60ade55, contextAwarePanelType, SLIDE_TYPE_OPTIONS_BY_VALUE, Funnel, Toggle, useNotebookCodeAvailable, hasFunctionProperty, contextAwarePanelOpen, Switch, Ellipsis, PanelResizeHandle, ADD_PRINTING_CLASS, ArrowDownWideNarrow, TableRow, downloadSizeLimitAtom, ColumnChartSpecModel, downloadHTMLAsImage, inferFieldTypes, downloadBlob, NAMELESS_COLUMN_PREFIX, useInternalStateWithSync, dateToLocalISODateTime;
39
39
  let __tla = Promise.all([
40
40
  (() => {
41
41
  try {
@@ -2061,21 +2061,21 @@ Defaulting to \`null\`.`;
2061
2061
  function $2f04cbc44ee30ce0$export$53a0910f038337bd(e, t, n = {}) {
2062
2062
  let { block: i = "nearest", inline: a = "nearest" } = n;
2063
2063
  if (e === t) return;
2064
- let o = e.scrollTop, s = e.scrollLeft, c = t.getBoundingClientRect(), d = e.getBoundingClientRect(), f = window.getComputedStyle(t), h = window.getComputedStyle(e), _ = document.scrollingElement || document.documentElement, v = e === _ ? 0 : d.top, y = e === _ ? e.clientHeight : d.bottom, S = e === _ ? 0 : d.left, w = e === _ ? e.clientWidth : d.right, E = parseInt(f.scrollMarginTop, 10) || 0, O = parseInt(f.scrollMarginBottom, 10) || 0, A = parseInt(f.scrollMarginLeft, 10) || 0, M = parseInt(f.scrollMarginRight, 10) || 0, I = parseInt(h.scrollPaddingTop, 10) || 0, z = parseInt(h.scrollPaddingBottom, 10) || 0, U = parseInt(h.scrollPaddingLeft, 10) || 0, K = parseInt(h.scrollPaddingRight, 10) || 0, q = parseInt(h.borderTopWidth, 10) || 0, J = parseInt(h.borderBottomWidth, 10) || 0, Q = parseInt(h.borderLeftWidth, 10) || 0, $ = parseInt(h.borderRightWidth, 10) || 0, rJ = c.top - E, iJ = c.bottom + O, aJ = c.left - A, oJ = c.right + M, sJ = e === _ ? 0 : Q + $, cJ = e === _ ? 0 : q + J, lJ = e.offsetWidth - e.clientWidth - sJ, uJ = e.offsetHeight - e.clientHeight - cJ, dJ = v + q + I, fJ = y - J - z - uJ, pJ = S + Q + U, mJ = w - $ - K;
2065
- h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ? pJ += lJ : mJ -= lJ;
2066
- let hJ = rJ < dJ || iJ > fJ, gJ = aJ < pJ || oJ > mJ;
2067
- if (hJ && i === "start") o += rJ - dJ;
2068
- else if (hJ && i === "center") o += (rJ + iJ) / 2 - (dJ + fJ) / 2;
2069
- else if (hJ && i === "end") o += iJ - fJ;
2070
- else if (hJ && i === "nearest") {
2071
- let e2 = rJ - dJ, t2 = iJ - fJ;
2064
+ let o = e.scrollTop, s = e.scrollLeft, c = t.getBoundingClientRect(), d = e.getBoundingClientRect(), f = window.getComputedStyle(t), h = window.getComputedStyle(e), _ = document.scrollingElement || document.documentElement, v = e === _ ? 0 : d.top, y = e === _ ? e.clientHeight : d.bottom, S = e === _ ? 0 : d.left, w = e === _ ? e.clientWidth : d.right, E = parseInt(f.scrollMarginTop, 10) || 0, O = parseInt(f.scrollMarginBottom, 10) || 0, A = parseInt(f.scrollMarginLeft, 10) || 0, M = parseInt(f.scrollMarginRight, 10) || 0, I = parseInt(h.scrollPaddingTop, 10) || 0, z = parseInt(h.scrollPaddingBottom, 10) || 0, U = parseInt(h.scrollPaddingLeft, 10) || 0, K = parseInt(h.scrollPaddingRight, 10) || 0, q = parseInt(h.borderTopWidth, 10) || 0, J = parseInt(h.borderBottomWidth, 10) || 0, Q = parseInt(h.borderLeftWidth, 10) || 0, $ = parseInt(h.borderRightWidth, 10) || 0, sJ = c.top - E, cJ = c.bottom + O, lJ = c.left - A, uJ = c.right + M, dJ = e === _ ? 0 : Q + $, fJ = e === _ ? 0 : q + J, pJ = e.offsetWidth - e.clientWidth - dJ, mJ = e.offsetHeight - e.clientHeight - fJ, hJ = v + q + I, gJ = y - J - z - mJ, _J = S + Q + U, vJ = w - $ - K;
2065
+ h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ? _J += pJ : vJ -= pJ;
2066
+ let yJ = sJ < hJ || cJ > gJ, bJ = lJ < _J || uJ > vJ;
2067
+ if (yJ && i === "start") o += sJ - hJ;
2068
+ else if (yJ && i === "center") o += (sJ + cJ) / 2 - (hJ + gJ) / 2;
2069
+ else if (yJ && i === "end") o += cJ - gJ;
2070
+ else if (yJ && i === "nearest") {
2071
+ let e2 = sJ - hJ, t2 = cJ - gJ;
2072
2072
  o += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
2073
2073
  }
2074
- if (gJ && a === "start") s += aJ - pJ;
2075
- else if (gJ && a === "center") s += (aJ + oJ) / 2 - (pJ + mJ) / 2;
2076
- else if (gJ && a === "end") s += oJ - mJ;
2077
- else if (gJ && a === "nearest") {
2078
- let e2 = aJ - pJ, t2 = oJ - mJ;
2074
+ if (bJ && a === "start") s += lJ - _J;
2075
+ else if (bJ && a === "center") s += (lJ + uJ) / 2 - (_J + vJ) / 2;
2076
+ else if (bJ && a === "end") s += uJ - vJ;
2077
+ else if (bJ && a === "nearest") {
2078
+ let e2 = lJ - _J, t2 = uJ - vJ;
2079
2079
  s += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
2080
2080
  }
2081
2081
  e.scrollTo({
@@ -5185,23 +5185,23 @@ Defaulting to \`null\`.`;
5185
5185
  }
5186
5186
  let $ = "bottom";
5187
5187
  A.axis === "top" ? A.placement === "top" ? $ = "top" : A.placement === "bottom" && ($ = "bottom") : A.crossAxis === "top" && (A.crossPlacement === "top" ? $ = "bottom" : A.crossPlacement === "bottom" && ($ = "top"));
5188
- let rJ = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f);
5189
- q[I] += rJ;
5190
- let iJ = $edcf132a9284368a$var$getMaxHeight(q, c, f, v, a, o, n.height, $, d, E, O);
5191
- y && y < iJ && (iJ = y), n.height = Math.min(n.height, iJ), q = $edcf132a9284368a$var$computePosition(t, c, n, A, J, _, f, v, S, w, d), rJ = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f), q[I] += rJ;
5192
- let aJ = {}, oJ = t[I] - q[I] - a[$edcf132a9284368a$var$AXIS[I]], sJ = oJ + 0.5 * t[z], cJ = S / 2 + w, lJ = $edcf132a9284368a$var$AXIS[I] === "left" ? (a.left ?? 0) + (a.right ?? 0) : (a.top ?? 0) + (a.bottom ?? 0), uJ = n[z] - lJ - S / 2 - w;
5193
- aJ[I] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(sJ, t[I] + S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]]), t[I] + t[z] - S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]])), cJ, uJ), { placement: U, crossPlacement: K } = A, S ? oJ = aJ[I] : K === "right" ? oJ += t[z] : K === "center" && (oJ += t[z] / 2);
5194
- let dJ = U === "left" || U === "top" ? n[M] : 0, fJ = {
5195
- x: U === "top" || U === "bottom" ? oJ : dJ,
5196
- y: U === "left" || U === "right" ? oJ : dJ
5188
+ let sJ = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f);
5189
+ q[I] += sJ;
5190
+ let cJ = $edcf132a9284368a$var$getMaxHeight(q, c, f, v, a, o, n.height, $, d, E, O);
5191
+ y && y < cJ && (cJ = y), n.height = Math.min(n.height, cJ), q = $edcf132a9284368a$var$computePosition(t, c, n, A, J, _, f, v, S, w, d), sJ = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f), q[I] += sJ;
5192
+ let lJ = {}, uJ = t[I] - q[I] - a[$edcf132a9284368a$var$AXIS[I]], dJ = uJ + 0.5 * t[z], fJ = S / 2 + w, pJ = $edcf132a9284368a$var$AXIS[I] === "left" ? (a.left ?? 0) + (a.right ?? 0) : (a.top ?? 0) + (a.bottom ?? 0), mJ = n[z] - pJ - S / 2 - w;
5193
+ lJ[I] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(dJ, t[I] + S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]]), t[I] + t[z] - S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]])), fJ, mJ), { placement: U, crossPlacement: K } = A, S ? uJ = lJ[I] : K === "right" ? uJ += t[z] : K === "center" && (uJ += t[z] / 2);
5194
+ let hJ = U === "left" || U === "top" ? n[M] : 0, gJ = {
5195
+ x: U === "top" || U === "bottom" ? uJ : hJ,
5196
+ y: U === "left" || U === "right" ? uJ : hJ
5197
5197
  };
5198
5198
  return {
5199
5199
  position: q,
5200
- maxHeight: iJ,
5201
- arrowOffsetLeft: aJ.left,
5202
- arrowOffsetTop: aJ.top,
5200
+ maxHeight: cJ,
5201
+ arrowOffsetLeft: lJ.left,
5202
+ arrowOffsetTop: lJ.top,
5203
5203
  placement: U,
5204
- triggerAnchorPoint: fJ
5204
+ triggerAnchorPoint: gJ
5205
5205
  };
5206
5206
  }
5207
5207
  function $edcf132a9284368a$export$b3ceb0cbf1056d98(e) {
@@ -7056,7 +7056,7 @@ Defaulting to \`null\`.`;
7056
7056
  n,
7057
7057
  h
7058
7058
  ]);
7059
- let rJ = $c87311424ea30a05$export$fedb369cb70207f1() || e.type === "timeZoneName" ? {
7059
+ let sJ = $c87311424ea30a05$export$fedb369cb70207f1() || e.type === "timeZoneName" ? {
7060
7060
  role: "textbox",
7061
7061
  "aria-valuemax": null,
7062
7062
  "aria-valuemin": null,
@@ -7066,8 +7066,8 @@ Defaulting to \`null\`.`;
7066
7066
  e !== (0, import_react.useMemo)(() => t.segments.find((e2) => e2.isEditable), [
7067
7067
  t.segments
7068
7068
  ]) && !t.isInvalid && (f = void 0);
7069
- let iJ = $bdb11010cef70236$export$f680877a34711e37(), aJ = !t.isDisabled && !t.isReadOnly && e.isEditable, oJ = e.type === "literal" ? "" : s.of(e.type), sJ = $313b98861ee5dd6c$export$d6875122194c7b44({
7070
- "aria-label": `${oJ}${c ? `, ${c}` : ""}${d ? ", " : ""}`,
7069
+ let cJ = $bdb11010cef70236$export$f680877a34711e37(), lJ = !t.isDisabled && !t.isReadOnly && e.isEditable, uJ = e.type === "literal" ? "" : s.of(e.type), dJ = $313b98861ee5dd6c$export$d6875122194c7b44({
7070
+ "aria-label": `${uJ}${c ? `, ${c}` : ""}${d ? ", " : ""}`,
7071
7071
  "aria-labelledby": d
7072
7072
  });
7073
7073
  if (e.type === "literal") return {
@@ -7075,32 +7075,32 @@ Defaulting to \`null\`.`;
7075
7075
  "aria-hidden": true
7076
7076
  }
7077
7077
  };
7078
- let cJ = {
7078
+ let fJ = {
7079
7079
  caretColor: "transparent"
7080
7080
  };
7081
7081
  if (o === "rtl") {
7082
- cJ.unicodeBidi = "embed";
7082
+ fJ.unicodeBidi = "embed";
7083
7083
  let t2 = v[e.type];
7084
- (t2 === "numeric" || t2 === "2-digit") && (cJ.direction = "ltr");
7084
+ (t2 === "numeric" || t2 === "2-digit") && (fJ.direction = "ltr");
7085
7085
  }
7086
7086
  return {
7087
- segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w, sJ, {
7088
- id: iJ,
7089
- ...rJ,
7087
+ segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w, dJ, {
7088
+ id: cJ,
7089
+ ...sJ,
7090
7090
  "aria-invalid": t.isInvalid ? "true" : void 0,
7091
7091
  "aria-describedby": f,
7092
7092
  "aria-readonly": t.isReadOnly || !e.isEditable ? "true" : void 0,
7093
7093
  "data-placeholder": e.isPlaceholder || void 0,
7094
- contentEditable: aJ,
7095
- suppressContentEditableWarning: aJ,
7096
- spellCheck: aJ ? "false" : void 0,
7097
- autoCorrect: aJ ? "off" : void 0,
7098
- enterKeyHint: aJ ? "next" : void 0,
7099
- inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !aJ ? void 0 : "numeric",
7094
+ contentEditable: lJ,
7095
+ suppressContentEditableWarning: lJ,
7096
+ spellCheck: lJ ? "false" : void 0,
7097
+ autoCorrect: lJ ? "off" : void 0,
7098
+ enterKeyHint: lJ ? "next" : void 0,
7099
+ inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !lJ ? void 0 : "numeric",
7100
7100
  tabIndex: t.isDisabled ? void 0 : 0,
7101
7101
  onKeyDown: A,
7102
7102
  onFocus: Q,
7103
- style: cJ,
7103
+ style: fJ,
7104
7104
  onPointerDown(e2) {
7105
7105
  e2.stopPropagation();
7106
7106
  },
@@ -10349,12 +10349,12 @@ Defaulting to \`null\`.`;
10349
10349
  e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(e2, (y == null ? void 0 : y.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec()), y && "hour" in y ? S(y.set(e2)) : S(e2);
10350
10350
  }
10351
10351
  }
10352
- let rJ = (0, import_react.useMemo)(() => w ? f && f(w) ? true : $f62d864046160412$export$eac50920cf2fd59a(w, s, c) : false, [
10352
+ let sJ = (0, import_react.useMemo)(() => w ? f && f(w) ? true : $f62d864046160412$export$eac50920cf2fd59a(w, s, c) : false, [
10353
10353
  w,
10354
10354
  f,
10355
10355
  s,
10356
10356
  c
10357
- ]), iJ = e.isInvalid || e.validationState === "invalid" || rJ, aJ = iJ ? "invalid" : null, oJ = (0, import_react.useMemo)(() => h === "visible" ? o : $131cf43a05231e1e$var$unitDuration(o), [
10357
+ ]), cJ = e.isInvalid || e.validationState === "invalid" || sJ, lJ = cJ ? "invalid" : null, uJ = (0, import_react.useMemo)(() => h === "visible" ? o : $131cf43a05231e1e$var$unitDuration(o), [
10358
10358
  h,
10359
10359
  o
10360
10360
  ]);
@@ -10371,8 +10371,8 @@ Defaulting to \`null\`.`;
10371
10371
  maxValue: c,
10372
10372
  focusedDate: O,
10373
10373
  timeZone: E,
10374
- validationState: aJ,
10375
- isValueInvalid: iJ,
10374
+ validationState: lJ,
10375
+ isValueInvalid: cJ,
10376
10376
  setFocusedDate(e2) {
10377
10377
  Q(e2);
10378
10378
  },
@@ -10397,12 +10397,12 @@ Defaulting to \`null\`.`;
10397
10397
  }));
10398
10398
  },
10399
10399
  focusNextPage() {
10400
- let e2 = M.add(oJ);
10401
- A($f62d864046160412$export$4f5203c0d889109e(O.add(oJ), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, oJ, i, s, c), oJ, i));
10400
+ let e2 = M.add(uJ);
10401
+ A($f62d864046160412$export$4f5203c0d889109e(O.add(uJ), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, uJ, i, s, c), uJ, i));
10402
10402
  },
10403
10403
  focusPreviousPage() {
10404
- let e2 = M.subtract(oJ);
10405
- A($f62d864046160412$export$4f5203c0d889109e(O.subtract(oJ), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, oJ, i, s, c), oJ, i));
10404
+ let e2 = M.subtract(uJ);
10405
+ A($f62d864046160412$export$4f5203c0d889109e(O.subtract(uJ), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, uJ, i, s, c), uJ, i));
10406
10406
  },
10407
10407
  focusSectionStart() {
10408
10408
  o.days ? Q(M) : o.weeks ? Q($14e0f24ef4ac5c92$export$42c81a444fbfb5d4(O, i)) : (o.months || o.years) && Q($14e0f24ef4ac5c92$export$a5a3b454ada2268e(O));
@@ -10539,13 +10539,13 @@ Defaulting to \`null\`.`;
10539
10539
  end: $9a36b6ba2fb1a7c5$var$convertValue(e2.end, h == null ? void 0 : h.end)
10540
10540
  }), q(null);
10541
10541
  }
10542
- }, [$, rJ] = (0, import_react.useState)(false), { isDateUnavailable: iJ } = e, aJ = (0, import_react.useMemo)(() => !h || v ? false : iJ && (iJ(h.start) || iJ(h.end)) ? true : $f62d864046160412$export$eac50920cf2fd59a(h.start, c, d) || $f62d864046160412$export$eac50920cf2fd59a(h.end, c, d), [
10543
- iJ,
10542
+ }, [$, sJ] = (0, import_react.useState)(false), { isDateUnavailable: cJ } = e, lJ = (0, import_react.useMemo)(() => !h || v ? false : cJ && (cJ(h.start) || cJ(h.end)) ? true : $f62d864046160412$export$eac50920cf2fd59a(h.start, c, d) || $f62d864046160412$export$eac50920cf2fd59a(h.end, c, d), [
10543
+ cJ,
10544
10544
  h,
10545
10545
  v,
10546
10546
  c,
10547
10547
  d
10548
- ]), oJ = e.isInvalid || e.validationState === "invalid" || aJ, sJ = oJ ? "invalid" : null;
10548
+ ]), uJ = e.isInvalid || e.validationState === "invalid" || lJ, dJ = uJ ? "invalid" : null;
10549
10549
  return {
10550
10550
  ...I,
10551
10551
  value: h,
@@ -10553,8 +10553,8 @@ Defaulting to \`null\`.`;
10553
10553
  anchorDate: v,
10554
10554
  setAnchorDate: q,
10555
10555
  highlightedRange: J,
10556
- validationState: sJ,
10557
- isValueInvalid: oJ,
10556
+ validationState: dJ,
10557
+ isValueInvalid: uJ,
10558
10558
  selectFocusedDate() {
10559
10559
  Q(I.focusedDate);
10560
10560
  },
@@ -10570,7 +10570,7 @@ Defaulting to \`null\`.`;
10570
10570
  return I.isInvalid(e2) || $f62d864046160412$export$eac50920cf2fd59a(e2, (_a2 = w.current) == null ? void 0 : _a2.start, (_b = w.current) == null ? void 0 : _b.end);
10571
10571
  },
10572
10572
  isDragging: $,
10573
- setDragging: rJ
10573
+ setDragging: sJ
10574
10574
  };
10575
10575
  }
10576
10576
  function $9a36b6ba2fb1a7c5$var$makeRange(e, t) {
@@ -11757,7 +11757,7 @@ Defaulting to \`null\`.`;
11757
11757
  _,
11758
11758
  S,
11759
11759
  v
11760
- ]), rJ = (0, import_react.useMemo)(() => {
11760
+ ]), sJ = (0, import_react.useMemo)(() => {
11761
11761
  let t2 = w === "h11" || w === "h12", n2 = [
11762
11762
  "era",
11763
11763
  "year",
@@ -11775,15 +11775,15 @@ Defaulting to \`null\`.`;
11775
11775
  e.maxGranularity,
11776
11776
  _,
11777
11777
  w
11778
- ]), [iJ, aJ] = (0, import_react.useState)(M), [oJ, sJ] = (0, import_react.useState)(S), [cJ, lJ] = (0, import_react.useState)(w);
11779
- (M !== iJ || w !== cJ || !$14e0f24ef4ac5c92$export$dbc69fd56b53d5e(S, oJ)) && (I = new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M), aJ(M), sJ(S), lJ(w), z(I));
11780
- let uJ = (t2) => {
11781
- if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(rJ)) z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(null);
11778
+ ]), [cJ, lJ] = (0, import_react.useState)(M), [uJ, dJ] = (0, import_react.useState)(S), [fJ, pJ] = (0, import_react.useState)(w);
11779
+ (M !== cJ || w !== fJ || !$14e0f24ef4ac5c92$export$dbc69fd56b53d5e(S, uJ)) && (I = new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M), lJ(M), dJ(S), pJ(w), z(I));
11780
+ let mJ = (t2) => {
11781
+ if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(sJ)) z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(null);
11782
11782
  else if (!(t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef)) t2 = $11d87f3f76e88657$export$b4a036af3fc0b032(t2, (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec()), z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(t2);
11783
11783
  else {
11784
- if (t2.isComplete(rJ)) {
11784
+ if (t2.isComplete(sJ)) {
11785
11785
  let e2 = t2.toValue(M ?? $);
11786
- if (t2.validate(e2, rJ)) {
11786
+ if (t2.validate(e2, sJ)) {
11787
11787
  let t3 = $11d87f3f76e88657$export$b4a036af3fc0b032(e2, (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
11788
11788
  if (!E || t3.compare(E) !== 0) {
11789
11789
  z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(t3);
@@ -11793,83 +11793,83 @@ Defaulting to \`null\`.`;
11793
11793
  }
11794
11794
  z(t2);
11795
11795
  }
11796
- }, dJ = (0, import_react.useMemo)(() => I.toValue(M ?? $).toDate(y), [
11796
+ }, hJ = (0, import_react.useMemo)(() => I.toValue(M ?? $).toDate(y), [
11797
11797
  I,
11798
11798
  y,
11799
11799
  M,
11800
11800
  $
11801
- ]), fJ = (0, import_react.useMemo)(() => $3c0fc76039f1c516$var$processSegments(dJ, I, J, Q, S, t, _), [
11802
- dJ,
11801
+ ]), gJ = (0, import_react.useMemo)(() => $3c0fc76039f1c516$var$processSegments(hJ, I, J, Q, S, t, _), [
11802
+ hJ,
11803
11803
  J,
11804
11804
  Q,
11805
11805
  I,
11806
11806
  S,
11807
11807
  t,
11808
11808
  _
11809
- ]), pJ = (e2, t2) => {
11810
- uJ(I.cycle(e2, t2, $, rJ));
11811
- }, mJ = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$f18627323ab57ac0(E, c, d, f, K), [
11809
+ ]), _J = (e2, t2) => {
11810
+ mJ(I.cycle(e2, t2, $, sJ));
11811
+ }, vJ = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$f18627323ab57ac0(E, c, d, f, K), [
11812
11812
  E,
11813
11813
  c,
11814
11814
  d,
11815
11815
  f,
11816
11816
  K
11817
- ]), hJ = $e5be200c675c3b3a$export$fc1a364ae1f3ff10({
11817
+ ]), yJ = $e5be200c675c3b3a$export$fc1a364ae1f3ff10({
11818
11818
  ...e,
11819
11819
  value: E,
11820
- builtinValidation: mJ
11821
- }), gJ = hJ.displayValidation.isInvalid, _J = e.validationState || (gJ ? "invalid" : null);
11820
+ builtinValidation: vJ
11821
+ }), bJ = yJ.displayValidation.isInvalid, xJ = e.validationState || (bJ ? "invalid" : null);
11822
11822
  return {
11823
- ...hJ,
11823
+ ...yJ,
11824
11824
  value: M,
11825
11825
  defaultValue: e.defaultValue ?? A,
11826
- dateValue: dJ,
11826
+ dateValue: hJ,
11827
11827
  calendar: S,
11828
- setValue: uJ,
11829
- segments: fJ,
11828
+ setValue: mJ,
11829
+ segments: gJ,
11830
11830
  dateFormatter: J,
11831
- validationState: _J,
11832
- isInvalid: gJ,
11831
+ validationState: xJ,
11832
+ isInvalid: bJ,
11833
11833
  granularity: _,
11834
11834
  maxGranularity: e.maxGranularity ?? "year",
11835
11835
  isDisabled: a,
11836
11836
  isReadOnly: o,
11837
11837
  isRequired: s,
11838
11838
  increment(e2) {
11839
- pJ(e2, 1);
11839
+ _J(e2, 1);
11840
11840
  },
11841
11841
  decrement(e2) {
11842
- pJ(e2, -1);
11842
+ _J(e2, -1);
11843
11843
  },
11844
11844
  incrementPage(e2) {
11845
- pJ(e2, $3c0fc76039f1c516$var$PAGE_STEP[e2] || 1);
11845
+ _J(e2, $3c0fc76039f1c516$var$PAGE_STEP[e2] || 1);
11846
11846
  },
11847
11847
  decrementPage(e2) {
11848
- pJ(e2, -($3c0fc76039f1c516$var$PAGE_STEP[e2] || 1));
11848
+ _J(e2, -($3c0fc76039f1c516$var$PAGE_STEP[e2] || 1));
11849
11849
  },
11850
11850
  incrementToMax(e2) {
11851
11851
  let t2 = e2 === "hour" && w === "h12" ? 11 : I.getSegmentLimits(e2).maxValue;
11852
- uJ(I.set(e2, t2, $));
11852
+ mJ(I.set(e2, t2, $));
11853
11853
  },
11854
11854
  decrementToMin(e2) {
11855
11855
  let t2 = e2 === "hour" && w === "h12" ? 12 : I.getSegmentLimits(e2).minValue;
11856
- uJ(I.set(e2, t2, $));
11856
+ mJ(I.set(e2, t2, $));
11857
11857
  },
11858
11858
  setSegment(e2, t2) {
11859
- uJ(I.set(e2, t2, $));
11859
+ mJ(I.set(e2, t2, $));
11860
11860
  },
11861
11861
  confirmPlaceholder() {
11862
- if (!(e.isDisabled || e.isReadOnly) && I.isComplete(rJ)) {
11862
+ if (!(e.isDisabled || e.isReadOnly) && I.isComplete(sJ)) {
11863
11863
  let e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(I.toValue(M ?? $), (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
11864
11864
  (!E || e2.compare(E) !== 0) && O(e2), z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M));
11865
11865
  }
11866
11866
  },
11867
11867
  clearSegment(e2) {
11868
11868
  let t2 = I;
11869
- e2 !== "timeZoneName" && e2 !== "literal" && (t2 = I.clear(e2)), uJ(t2);
11869
+ e2 !== "timeZoneName" && e2 !== "literal" && (t2 = I.clear(e2)), mJ(t2);
11870
11870
  },
11871
11871
  formatValue(e2) {
11872
- return M ? new $fb18d541ea1ad717$export$ad991b66133851cf(t, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, K)).format(dJ) : "";
11872
+ return M ? new $fb18d541ea1ad717$export$ad991b66133851cf(t, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, K)).format(hJ) : "";
11873
11873
  },
11874
11874
  getDateFormatter(e2, t2) {
11875
11875
  return new $fb18d541ea1ad717$export$ad991b66133851cf(e2, $35a22f14a1f04b11$export$7e319ea407e63bc0({}, {
@@ -11989,7 +11989,7 @@ Defaulting to \`null\`.`;
11989
11989
  e.endName
11990
11990
  ]),
11991
11991
  builtinValidation: J
11992
- }), $ = Q.displayValidation.isInvalid, rJ = e.validationState || ($ ? "invalid" : null);
11992
+ }), $ = Q.displayValidation.isInvalid, sJ = e.validationState || ($ ? "invalid" : null);
11993
11993
  return {
11994
11994
  ...Q,
11995
11995
  value: c,
@@ -12035,7 +12035,7 @@ Defaulting to \`null\`.`;
12035
12035
  end: (w == null ? void 0 : w.end) || $35a22f14a1f04b11$export$c5221a78ef73c5e9(e.placeholderValue)
12036
12036
  }), t.setOpen(n2);
12037
12037
  },
12038
- validationState: rJ,
12038
+ validationState: sJ,
12039
12039
  isInvalid: $,
12040
12040
  formatValue(t2, n2) {
12041
12041
  if (!c || !c.start || !c.end) return null;
@@ -13048,7 +13048,29 @@ Defaulting to \`null\`.`;
13048
13048
  ref: t,
13049
13049
  className: a ?? "react-aria-Heading"
13050
13050
  }, n);
13051
- }), isDevelopment$3 = false;
13051
+ });
13052
+ function isValidLocale(e) {
13053
+ if (!e) return false;
13054
+ try {
13055
+ return new Intl.Locale(e), true;
13056
+ } catch {
13057
+ return false;
13058
+ }
13059
+ }
13060
+ function normalizeLocale(e) {
13061
+ if (!e) return null;
13062
+ let t = e.split("@")[0].split(".")[0].trim().replaceAll("_", "-");
13063
+ if (isValidLocale(t)) return t;
13064
+ let n = t.split("-")[0];
13065
+ return isValidLocale(n) ? n : null;
13066
+ }
13067
+ function browserLocale() {
13068
+ return normalizeLocale(typeof navigator > "u" ? void 0 : navigator.language) ?? "en-US";
13069
+ }
13070
+ safeLocale = function(e) {
13071
+ return normalizeLocale(e) ?? browserLocale();
13072
+ };
13073
+ var isDevelopment$3 = false;
13052
13074
  function sheetForTag(e) {
13053
13075
  if (e.sheet) return e.sheet;
13054
13076
  for (var t = 0; t < document.styleSheets.length; t++) if (document.styleSheets[t].ownerNode === e) return document.styleSheets[t];
@@ -15907,33 +15929,33 @@ try {
15907
15929
  }, f = import_react.createContext(void 0), h = () => import_react.useContext(f) || d, _ = {}, v = {};
15908
15930
  function y(e2) {
15909
15931
  var _a2, _b, _c, _d;
15910
- 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), $ = !!Q && !I, rJ = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
15932
+ 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), $ = !!Q && !I, sJ = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
15911
15933
  h2
15912
- ]), iJ = rJ[t], aJ = iJ || rJ, { colorSchemes: oJ = _, components: sJ = v, cssVarPrefix: cJ } = aJ, lJ = Object.keys(oJ).filter((e3) => !!oJ[e3]).join(","), uJ = import_react.useMemo(() => lJ.split(","), [
15913
- lJ
15914
- ]), dJ = typeof s == "string" ? s : s.light, fJ = typeof s == "string" ? s : s.dark, { mode: pJ, setMode: mJ, systemMode: hJ, lightColorScheme: gJ, darkColorScheme: _J, colorScheme: vJ, setColorScheme: yJ } = useCurrentColorScheme({
15915
- supportedColorSchemes: uJ,
15916
- defaultLightColorScheme: dJ,
15917
- defaultDarkColorScheme: fJ,
15934
+ ]), cJ = sJ[t], lJ = cJ || sJ, { colorSchemes: uJ = _, components: dJ = v, cssVarPrefix: fJ } = lJ, pJ = Object.keys(uJ).filter((e3) => !!uJ[e3]).join(","), mJ = import_react.useMemo(() => pJ.split(","), [
15935
+ pJ
15936
+ ]), hJ = typeof s == "string" ? s : s.light, gJ = typeof s == "string" ? s : s.dark, { mode: _J, setMode: vJ, systemMode: yJ, lightColorScheme: bJ, darkColorScheme: xJ, colorScheme: SJ, setColorScheme: CJ } = useCurrentColorScheme({
15937
+ supportedColorSchemes: mJ,
15938
+ defaultLightColorScheme: hJ,
15939
+ defaultDarkColorScheme: gJ,
15918
15940
  modeStorageKey: y2,
15919
15941
  colorSchemeStorageKey: S2,
15920
- defaultMode: oJ[dJ] && oJ[fJ] ? U : ((_b = (_a2 = oJ[aJ.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = aJ.palette) == null ? void 0 : _c.mode),
15942
+ defaultMode: uJ[hJ] && uJ[gJ] ? U : ((_b = (_a2 = uJ[lJ.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = lJ.palette) == null ? void 0 : _c.mode),
15921
15943
  storageManager: E,
15922
15944
  storageWindow: O,
15923
15945
  noSsr: K
15924
- }), bJ = pJ, xJ = vJ;
15925
- $ && (bJ = Q.mode, xJ = Q.colorScheme);
15926
- let SJ = import_react.useMemo(() => {
15946
+ }), wJ = _J, TJ = SJ;
15947
+ $ && (wJ = Q.mode, TJ = Q.colorScheme);
15948
+ let EJ = import_react.useMemo(() => {
15927
15949
  var _a3;
15928
- let e3 = xJ || aJ.defaultColorScheme, t2 = ((_a3 = aJ.generateThemeVars) == null ? void 0 : _a3.call(aJ)) || aJ.vars, n2 = {
15929
- ...aJ,
15930
- components: sJ,
15931
- colorSchemes: oJ,
15932
- cssVarPrefix: cJ,
15950
+ let e3 = TJ || lJ.defaultColorScheme, t2 = ((_a3 = lJ.generateThemeVars) == null ? void 0 : _a3.call(lJ)) || lJ.vars, n2 = {
15951
+ ...lJ,
15952
+ components: dJ,
15953
+ colorSchemes: uJ,
15954
+ cssVarPrefix: fJ,
15933
15955
  vars: t2
15934
15956
  };
15935
15957
  if (typeof n2.generateSpacing == "function" && (n2.spacing = n2.generateSpacing()), e3) {
15936
- let t3 = oJ[e3];
15958
+ let t3 = uJ[e3];
15937
15959
  t3 && typeof t3 == "object" && Object.keys(t3).forEach((e4) => {
15938
15960
  t3[e4] && typeof t3[e4] == "object" ? n2[e4] = {
15939
15961
  ...n2[e4],
@@ -15943,31 +15965,31 @@ try {
15943
15965
  }
15944
15966
  return c ? c(n2) : n2;
15945
15967
  }, [
15946
- aJ,
15947
- xJ,
15948
- sJ,
15949
- oJ,
15950
- cJ
15951
- ]), CJ = aJ.colorSchemeSelector;
15968
+ lJ,
15969
+ TJ,
15970
+ dJ,
15971
+ uJ,
15972
+ fJ
15973
+ ]), DJ = lJ.colorSchemeSelector;
15952
15974
  useEnhancedEffect_default(() => {
15953
- if (xJ && M && CJ && CJ !== "media") {
15954
- let e3 = CJ, t2 = CJ;
15955
- 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(...uJ.map((e4) => t2.substring(1).replace("%s", e4))), M.classList.add(t2.substring(1).replace("%s", xJ));
15975
+ if (TJ && M && DJ && DJ !== "media") {
15976
+ let e3 = DJ, t2 = DJ;
15977
+ 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(...mJ.map((e4) => t2.substring(1).replace("%s", e4))), M.classList.add(t2.substring(1).replace("%s", TJ));
15956
15978
  else {
15957
- let e4 = t2.replace("%s", xJ).match(/\[([^\]]+)\]/);
15979
+ let e4 = t2.replace("%s", TJ).match(/\[([^\]]+)\]/);
15958
15980
  if (e4) {
15959
15981
  let [t3, n2] = e4[1].split("=");
15960
- n2 || uJ.forEach((e5) => {
15961
- M.removeAttribute(t3.replace(xJ, e5));
15982
+ n2 || mJ.forEach((e5) => {
15983
+ M.removeAttribute(t3.replace(TJ, e5));
15962
15984
  }), M.setAttribute(t3, n2 ? n2.replace(/"|'/g, "") : "");
15963
- } else M.setAttribute(t2, xJ);
15985
+ } else M.setAttribute(t2, TJ);
15964
15986
  }
15965
15987
  }
15966
15988
  }, [
15967
- xJ,
15968
- CJ,
15989
+ TJ,
15990
+ DJ,
15969
15991
  M,
15970
- uJ
15992
+ mJ
15971
15993
  ]), import_react.useEffect(() => {
15972
15994
  let e3;
15973
15995
  if (w2 && q.current && A) {
@@ -15980,48 +16002,48 @@ try {
15980
16002
  clearTimeout(e3);
15981
16003
  };
15982
16004
  }, [
15983
- xJ,
16005
+ TJ,
15984
16006
  w2,
15985
16007
  A
15986
16008
  ]), import_react.useEffect(() => (q.current = true, () => {
15987
16009
  q.current = false;
15988
16010
  }), []);
15989
- let wJ = import_react.useMemo(() => ({
15990
- allColorSchemes: uJ,
15991
- colorScheme: xJ,
15992
- darkColorScheme: _J,
15993
- lightColorScheme: gJ,
15994
- mode: bJ,
15995
- setColorScheme: yJ,
15996
- setMode: mJ,
15997
- systemMode: hJ
16011
+ let OJ = import_react.useMemo(() => ({
16012
+ allColorSchemes: mJ,
16013
+ colorScheme: TJ,
16014
+ darkColorScheme: xJ,
16015
+ lightColorScheme: bJ,
16016
+ mode: wJ,
16017
+ setColorScheme: CJ,
16018
+ setMode: vJ,
16019
+ systemMode: yJ
15998
16020
  }), [
15999
- uJ,
16021
+ mJ,
16022
+ TJ,
16000
16023
  xJ,
16001
- _J,
16002
- gJ,
16003
16024
  bJ,
16025
+ wJ,
16026
+ CJ,
16027
+ vJ,
16004
16028
  yJ,
16005
- mJ,
16006
- hJ,
16007
- SJ.colorSchemeSelector
16008
- ]), TJ = true;
16009
- (z || aJ.cssVariables === false || $ && (J == null ? void 0 : J.cssVarPrefix) === cJ) && (TJ = false);
16010
- let EJ = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
16029
+ EJ.colorSchemeSelector
16030
+ ]), kJ = true;
16031
+ (z || lJ.cssVariables === false || $ && (J == null ? void 0 : J.cssVarPrefix) === fJ) && (kJ = false);
16032
+ let AJ = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
16011
16033
  children: [
16012
16034
  (0, import_jsx_runtime.jsx)(ThemeProvider_default, {
16013
- themeId: iJ ? t : void 0,
16014
- theme: SJ,
16035
+ themeId: cJ ? t : void 0,
16036
+ theme: EJ,
16015
16037
  children: d2
16016
16038
  }),
16017
- TJ && (0, import_jsx_runtime.jsx)(GlobalStyles$1, {
16018
- styles: ((_d = SJ.generateStyleSheets) == null ? void 0 : _d.call(SJ)) || []
16039
+ kJ && (0, import_jsx_runtime.jsx)(GlobalStyles$1, {
16040
+ styles: ((_d = EJ.generateStyleSheets) == null ? void 0 : _d.call(EJ)) || []
16019
16041
  })
16020
16042
  ]
16021
16043
  });
16022
- return $ ? EJ : (0, import_jsx_runtime.jsx)(f.Provider, {
16023
- value: wJ,
16024
- children: EJ
16044
+ return $ ? AJ : (0, import_jsx_runtime.jsx)(f.Provider, {
16045
+ value: OJ,
16046
+ children: AJ
16025
16047
  });
16026
16048
  }
16027
16049
  let S = typeof s == "string" ? s : s.light, w = typeof s == "string" ? s : s.dark;
@@ -17521,10 +17543,10 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
17521
17543
  let n = useDefaultProps({
17522
17544
  props: e,
17523
17545
  name: "MuiInputBase"
17524
- }), { "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: $, onFocus: rJ, onKeyDown: iJ, onKeyUp: aJ, placeholder: oJ, readOnly: sJ, renderSuffix: cJ, rows: lJ, size: uJ, slotProps: dJ = {}, slots: fJ = {}, startAdornment: pJ, type: mJ = "text", value: hJ, ...gJ } = n, _J = A.value == null ? hJ : A.value, { current: vJ } = import_react.useRef(_J != null), yJ = import_react.useRef(), bJ = import_react.useCallback((e2) => {
17525
- }, []), xJ = useForkRef_default(yJ, M, A.ref, bJ), [SJ, CJ] = import_react.useState(false), wJ = useFormControl(), TJ = formControlState({
17546
+ }), { "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: $, onFocus: sJ, onKeyDown: cJ, onKeyUp: lJ, placeholder: uJ, readOnly: dJ, renderSuffix: fJ, rows: pJ, size: mJ, slotProps: hJ = {}, slots: gJ = {}, startAdornment: _J, type: vJ = "text", value: yJ, ...bJ } = n, xJ = A.value == null ? yJ : A.value, { current: SJ } = import_react.useRef(xJ != null), CJ = import_react.useRef(), wJ = import_react.useCallback((e2) => {
17547
+ }, []), TJ = useForkRef_default(CJ, M, A.ref, wJ), [EJ, DJ] = import_react.useState(false), OJ = useFormControl(), kJ = formControlState({
17526
17548
  props: n,
17527
- muiFormControl: wJ,
17549
+ muiFormControl: OJ,
17528
17550
  states: [
17529
17551
  "color",
17530
17552
  "disabled",
@@ -17535,145 +17557,145 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
17535
17557
  "filled"
17536
17558
  ]
17537
17559
  });
17538
- TJ.focused = wJ ? wJ.focused : SJ, import_react.useEffect(() => {
17539
- !wJ && _ && SJ && (CJ(false), J && J());
17560
+ kJ.focused = OJ ? OJ.focused : EJ, import_react.useEffect(() => {
17561
+ !OJ && _ && EJ && (DJ(false), J && J());
17540
17562
  }, [
17541
- wJ,
17563
+ OJ,
17542
17564
  _,
17543
- SJ,
17565
+ EJ,
17544
17566
  J
17545
17567
  ]);
17546
- let EJ = wJ && wJ.onFilled, DJ = wJ && wJ.onEmpty, OJ = import_react.useCallback((e2) => {
17547
- isFilled(e2) ? EJ && EJ() : DJ && DJ();
17568
+ let AJ = OJ && OJ.onFilled, jJ = OJ && OJ.onEmpty, MJ = import_react.useCallback((e2) => {
17569
+ isFilled(e2) ? AJ && AJ() : jJ && jJ();
17548
17570
  }, [
17549
- EJ,
17550
- DJ
17571
+ AJ,
17572
+ jJ
17551
17573
  ]);
17552
17574
  useEnhancedEffect_default$1(() => {
17553
- vJ && OJ({
17554
- value: _J
17575
+ SJ && MJ({
17576
+ value: xJ
17555
17577
  });
17556
17578
  }, [
17557
- _J,
17558
- OJ,
17559
- vJ
17579
+ xJ,
17580
+ MJ,
17581
+ SJ
17560
17582
  ]);
17561
- let kJ = (e2) => {
17562
- rJ && rJ(e2), A.onFocus && A.onFocus(e2), wJ && wJ.onFocus ? wJ.onFocus(e2) : CJ(true);
17563
- }, AJ = (e2) => {
17564
- J && J(e2), A.onBlur && A.onBlur(e2), wJ && wJ.onBlur ? wJ.onBlur(e2) : CJ(false);
17565
- }, jJ = (e2, ...t2) => {
17566
- if (!vJ) {
17567
- let t3 = e2.target || yJ.current;
17583
+ let NJ = (e2) => {
17584
+ sJ && sJ(e2), A.onFocus && A.onFocus(e2), OJ && OJ.onFocus ? OJ.onFocus(e2) : DJ(true);
17585
+ }, PJ = (e2) => {
17586
+ J && J(e2), A.onBlur && A.onBlur(e2), OJ && OJ.onBlur ? OJ.onBlur(e2) : DJ(false);
17587
+ }, FJ = (e2, ...t2) => {
17588
+ if (!SJ) {
17589
+ let t3 = e2.target || CJ.current;
17568
17590
  if (t3 == null) throw Error(formatMuiErrorMessage(1));
17569
- OJ({
17591
+ MJ({
17570
17592
  value: t3.value
17571
17593
  });
17572
17594
  }
17573
17595
  A.onChange && A.onChange(e2, ...t2), Q && Q(e2, ...t2);
17574
17596
  };
17575
17597
  import_react.useEffect(() => {
17576
- OJ(yJ.current);
17598
+ MJ(CJ.current);
17577
17599
  }, []);
17578
- let MJ = (e2) => {
17579
- yJ.current && e2.currentTarget === e2.target && yJ.current.focus(), $ && $(e2);
17580
- }, NJ = O, PJ = A;
17581
- K && NJ === "input" && (PJ = lJ ? {
17600
+ let IJ = (e2) => {
17601
+ CJ.current && e2.currentTarget === e2.target && CJ.current.focus(), $ && $(e2);
17602
+ }, LJ = O, RJ = A;
17603
+ K && LJ === "input" && (RJ = pJ ? {
17582
17604
  type: void 0,
17583
- minRows: lJ,
17584
- maxRows: lJ,
17585
- ...PJ
17605
+ minRows: pJ,
17606
+ maxRows: pJ,
17607
+ ...RJ
17586
17608
  } : {
17587
17609
  type: void 0,
17588
17610
  maxRows: z,
17589
17611
  minRows: U,
17590
- ...PJ
17591
- }, NJ = TextareaAutosize_default);
17592
- let FJ = (e2) => {
17593
- OJ(e2.animationName === "mui-auto-fill-cancel" ? yJ.current : {
17612
+ ...RJ
17613
+ }, LJ = TextareaAutosize_default);
17614
+ let zJ = (e2) => {
17615
+ MJ(e2.animationName === "mui-auto-fill-cancel" ? CJ.current : {
17594
17616
  value: "x"
17595
17617
  });
17596
17618
  };
17597
17619
  import_react.useEffect(() => {
17598
- wJ && wJ.setAdornedStart(!!pJ);
17620
+ OJ && OJ.setAdornedStart(!!_J);
17599
17621
  }, [
17600
- wJ,
17601
- pJ
17622
+ OJ,
17623
+ _J
17602
17624
  ]);
17603
- let IJ = {
17625
+ let BJ = {
17604
17626
  ...n,
17605
- color: TJ.color || "primary",
17606
- disabled: TJ.disabled,
17627
+ color: kJ.color || "primary",
17628
+ disabled: kJ.disabled,
17607
17629
  endAdornment: y,
17608
- error: TJ.error,
17609
- focused: TJ.focused,
17610
- formControl: wJ,
17630
+ error: kJ.error,
17631
+ focused: kJ.focused,
17632
+ formControl: OJ,
17611
17633
  fullWidth: w,
17612
- hiddenLabel: TJ.hiddenLabel,
17634
+ hiddenLabel: kJ.hiddenLabel,
17613
17635
  multiline: K,
17614
- size: TJ.size,
17615
- startAdornment: pJ,
17616
- type: mJ
17617
- }, LJ = useUtilityClasses(IJ), RJ = fJ.root || d.Root || InputBaseRoot, zJ = dJ.root || f.root || {}, BJ = fJ.input || d.Input || InputBaseInput;
17618
- return PJ = {
17619
- ...PJ,
17620
- ...dJ.input ?? f.input
17636
+ size: kJ.size,
17637
+ startAdornment: _J,
17638
+ type: vJ
17639
+ }, VJ = useUtilityClasses(BJ), HJ = gJ.root || d.Root || InputBaseRoot, UJ = hJ.root || f.root || {}, WJ = gJ.input || d.Input || InputBaseInput;
17640
+ return RJ = {
17641
+ ...RJ,
17642
+ ...hJ.input ?? f.input
17621
17643
  }, (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
17622
17644
  children: [
17623
17645
  !v && typeof InputGlobalStyles == "function" && (_InputGlobalStyles || (_InputGlobalStyles = (0, import_jsx_runtime.jsx)(InputGlobalStyles, {}))),
17624
- (0, import_jsx_runtime.jsxs)(RJ, {
17625
- ...zJ,
17646
+ (0, import_jsx_runtime.jsxs)(HJ, {
17647
+ ...UJ,
17626
17648
  ref: t,
17627
- onClick: MJ,
17628
- ...gJ,
17629
- ...!isHostComponent_default(RJ) && {
17649
+ onClick: IJ,
17650
+ ...bJ,
17651
+ ...!isHostComponent_default(HJ) && {
17630
17652
  ownerState: {
17631
- ...IJ,
17632
- ...zJ.ownerState
17653
+ ...BJ,
17654
+ ...UJ.ownerState
17633
17655
  }
17634
17656
  },
17635
- className: clsx_default(LJ.root, zJ.className, s, sJ && "MuiInputBase-readOnly"),
17657
+ className: clsx_default(VJ.root, UJ.className, s, dJ && "MuiInputBase-readOnly"),
17636
17658
  children: [
17637
- pJ,
17659
+ _J,
17638
17660
  (0, import_jsx_runtime.jsx)(FormControlContext_default.Provider, {
17639
17661
  value: null,
17640
- children: (0, import_jsx_runtime.jsx)(BJ, {
17641
- "aria-invalid": TJ.error,
17662
+ children: (0, import_jsx_runtime.jsx)(WJ, {
17663
+ "aria-invalid": kJ.error,
17642
17664
  "aria-describedby": i,
17643
17665
  autoComplete: a,
17644
17666
  autoFocus: o,
17645
17667
  defaultValue: h,
17646
- disabled: TJ.disabled,
17668
+ disabled: kJ.disabled,
17647
17669
  id: E,
17648
- onAnimationStart: FJ,
17670
+ onAnimationStart: zJ,
17649
17671
  name: q,
17650
- placeholder: oJ,
17651
- readOnly: sJ,
17652
- required: TJ.required,
17653
- rows: lJ,
17654
- value: _J,
17655
- onKeyDown: iJ,
17656
- onKeyUp: aJ,
17657
- type: mJ,
17658
- ...PJ,
17659
- ...!isHostComponent_default(BJ) && {
17660
- as: NJ,
17672
+ placeholder: uJ,
17673
+ readOnly: dJ,
17674
+ required: kJ.required,
17675
+ rows: pJ,
17676
+ value: xJ,
17677
+ onKeyDown: cJ,
17678
+ onKeyUp: lJ,
17679
+ type: vJ,
17680
+ ...RJ,
17681
+ ...!isHostComponent_default(WJ) && {
17682
+ as: LJ,
17661
17683
  ownerState: {
17662
- ...IJ,
17663
- ...PJ.ownerState
17684
+ ...BJ,
17685
+ ...RJ.ownerState
17664
17686
  }
17665
17687
  },
17666
- ref: xJ,
17667
- className: clsx_default(LJ.input, PJ.className, sJ && "MuiInputBase-readOnly"),
17668
- onBlur: AJ,
17669
- onChange: jJ,
17670
- onFocus: kJ
17688
+ ref: TJ,
17689
+ className: clsx_default(VJ.input, RJ.className, dJ && "MuiInputBase-readOnly"),
17690
+ onBlur: PJ,
17691
+ onChange: FJ,
17692
+ onFocus: NJ
17671
17693
  })
17672
17694
  }),
17673
17695
  y,
17674
- cJ ? cJ({
17675
- ...TJ,
17676
- startAdornment: pJ
17696
+ fJ ? fJ({
17697
+ ...kJ,
17698
+ startAdornment: _J
17677
17699
  }) : null
17678
17700
  ]
17679
17701
  })
@@ -18749,30 +18771,30 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18749
18771
  M,
18750
18772
  i,
18751
18773
  a
18752
- ]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), $ = useJsonViewerStore((e2) => e2.onChange), rJ = useTextColor(), iJ = useJsonViewerStore((e2) => e2.colorspace.base0C), aJ = useJsonViewerStore((e2) => e2.colorspace.base0A), oJ = useJsonViewerStore((e2) => e2.displayComma), sJ = useJsonViewerStore((e2) => e2.quotesOnKeys), cJ = useJsonViewerStore((e2) => e2.rootName), lJ = U === t, uJ = Number.isInteger(Number(A)), dJ = useJsonViewerStore((e2) => e2.enableAdd), fJ = useJsonViewerStore((e2) => e2.onAdd), pJ = (0, import_react.useMemo)(() => !fJ || a !== void 0 || dJ === false || v === false ? false : typeof dJ == "function" ? !!dJ(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
18753
- fJ,
18774
+ ]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), $ = useJsonViewerStore((e2) => e2.onChange), sJ = useTextColor(), cJ = useJsonViewerStore((e2) => e2.colorspace.base0C), lJ = useJsonViewerStore((e2) => e2.colorspace.base0A), uJ = useJsonViewerStore((e2) => e2.displayComma), dJ = useJsonViewerStore((e2) => e2.quotesOnKeys), fJ = useJsonViewerStore((e2) => e2.rootName), pJ = U === t, mJ = Number.isInteger(Number(A)), hJ = useJsonViewerStore((e2) => e2.enableAdd), gJ = useJsonViewerStore((e2) => e2.onAdd), _J = (0, import_react.useMemo)(() => !gJ || a !== void 0 || hJ === false || v === false ? false : typeof hJ == "function" ? !!hJ(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
18775
+ gJ,
18754
18776
  a,
18755
18777
  i,
18756
- dJ,
18778
+ hJ,
18757
18779
  v,
18758
18780
  t
18759
- ]), mJ = useJsonViewerStore((e2) => e2.enableDelete), hJ = useJsonViewerStore((e2) => e2.onDelete), gJ = (0, import_react.useMemo)(() => !hJ || a !== void 0 || lJ || mJ === false || v === false ? false : typeof mJ == "function" ? !!mJ(i, t) : mJ, [
18760
- hJ,
18781
+ ]), vJ = useJsonViewerStore((e2) => e2.enableDelete), yJ = useJsonViewerStore((e2) => e2.onDelete), bJ = (0, import_react.useMemo)(() => !yJ || a !== void 0 || pJ || vJ === false || v === false ? false : typeof vJ == "function" ? !!vJ(i, t) : vJ, [
18782
+ yJ,
18761
18783
  a,
18762
- lJ,
18784
+ pJ,
18763
18785
  i,
18764
- mJ,
18786
+ vJ,
18765
18787
  v,
18766
18788
  t
18767
- ]), _J = useJsonViewerStore((e2) => e2.enableClipboard), { copy: vJ, copied: yJ } = useClipboard(), bJ = useJsonViewerStore((e2) => e2.highlightUpdates), xJ = (0, import_react.useMemo)(() => !bJ || 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, [
18768
- bJ,
18789
+ ]), xJ = useJsonViewerStore((e2) => e2.enableClipboard), { copy: SJ, copied: CJ } = useClipboard(), wJ = useJsonViewerStore((e2) => e2.highlightUpdates), TJ = (0, import_react.useMemo)(() => !wJ || 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, [
18790
+ wJ,
18769
18791
  n,
18770
18792
  t
18771
- ]), SJ = (0, import_react.useRef)();
18793
+ ]), EJ = (0, import_react.useRef)();
18772
18794
  (0, import_react.useEffect)(() => {
18773
- SJ.current && xJ && "animate" in SJ.current && SJ.current.animate([
18795
+ EJ.current && TJ && "animate" in EJ.current && EJ.current.animate([
18774
18796
  {
18775
- backgroundColor: aJ
18797
+ backgroundColor: lJ
18776
18798
  },
18777
18799
  {
18778
18800
  backgroundColor: ""
@@ -18782,22 +18804,22 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18782
18804
  easing: "ease-in"
18783
18805
  });
18784
18806
  }, [
18785
- aJ,
18786
- xJ,
18807
+ lJ,
18808
+ TJ,
18787
18809
  n,
18788
18810
  t
18789
18811
  ]);
18790
- let CJ = (0, import_react.useCallback)((e2) => {
18812
+ let DJ = (0, import_react.useCallback)((e2) => {
18791
18813
  e2.preventDefault(), h && E(h(t)), Q(true);
18792
18814
  }, [
18793
18815
  h,
18794
18816
  t
18795
- ]), wJ = (0, import_react.useCallback)(() => {
18817
+ ]), OJ = (0, import_react.useCallback)(() => {
18796
18818
  Q(false), E("");
18797
18819
  }, [
18798
18820
  Q,
18799
18821
  E
18800
- ]), TJ = (0, import_react.useCallback)((e2) => {
18822
+ ]), kJ = (0, import_react.useCallback)((e2) => {
18801
18823
  if (Q(false), _) try {
18802
18824
  $(i, t, _(e2));
18803
18825
  } catch {
@@ -18808,14 +18830,14 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18808
18830
  $,
18809
18831
  i,
18810
18832
  t
18811
- ]), EJ = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18833
+ ]), AJ = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18812
18834
  children: [
18813
18835
  (0, import_jsx_runtime.jsx)(IconBox, {
18814
18836
  children: (0, import_jsx_runtime.jsx)(CloseIcon, {
18815
18837
  sx: {
18816
18838
  fontSize: ".8rem"
18817
18839
  },
18818
- onClick: wJ
18840
+ onClick: OJ
18819
18841
  })
18820
18842
  }),
18821
18843
  (0, import_jsx_runtime.jsx)(IconBox, {
@@ -18823,22 +18845,22 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18823
18845
  sx: {
18824
18846
  fontSize: ".8rem"
18825
18847
  },
18826
- onClick: () => TJ(w)
18848
+ onClick: () => kJ(w)
18827
18849
  })
18828
18850
  })
18829
18851
  ]
18830
18852
  }) : (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18831
18853
  children: [
18832
- _J && (0, import_jsx_runtime.jsx)(IconBox, {
18854
+ xJ && (0, import_jsx_runtime.jsx)(IconBox, {
18833
18855
  onClick: (e2) => {
18834
18856
  e2.preventDefault();
18835
18857
  try {
18836
- vJ(i, t, copyString);
18858
+ SJ(i, t, copyString);
18837
18859
  } catch (e3) {
18838
18860
  console.error(e3);
18839
18861
  }
18840
18862
  },
18841
- children: yJ ? (0, import_jsx_runtime.jsx)(CheckIcon$1, {
18863
+ children: CJ ? (0, import_jsx_runtime.jsx)(CheckIcon$1, {
18842
18864
  sx: {
18843
18865
  fontSize: ".8rem"
18844
18866
  }
@@ -18849,16 +18871,16 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18849
18871
  })
18850
18872
  }),
18851
18873
  f && S && h && _ && (0, import_jsx_runtime.jsx)(IconBox, {
18852
- onClick: CJ,
18874
+ onClick: DJ,
18853
18875
  children: (0, import_jsx_runtime.jsx)(EditIcon, {
18854
18876
  sx: {
18855
18877
  fontSize: ".8rem"
18856
18878
  }
18857
18879
  })
18858
18880
  }),
18859
- pJ && (0, import_jsx_runtime.jsx)(IconBox, {
18881
+ _J && (0, import_jsx_runtime.jsx)(IconBox, {
18860
18882
  onClick: (e2) => {
18861
- e2.preventDefault(), fJ == null ? void 0 : fJ(i);
18883
+ e2.preventDefault(), gJ == null ? void 0 : gJ(i);
18862
18884
  },
18863
18885
  children: (0, import_jsx_runtime.jsx)(AddBoxIcon, {
18864
18886
  sx: {
@@ -18866,9 +18888,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18866
18888
  }
18867
18889
  })
18868
18890
  }),
18869
- gJ && (0, import_jsx_runtime.jsx)(IconBox, {
18891
+ bJ && (0, import_jsx_runtime.jsx)(IconBox, {
18870
18892
  onClick: (e2) => {
18871
- e2.preventDefault(), hJ == null ? void 0 : hJ(i, t);
18893
+ e2.preventDefault(), yJ == null ? void 0 : yJ(i, t);
18872
18894
  },
18873
18895
  children: (0, import_jsx_runtime.jsx)(DeleteIcon, {
18874
18896
  sx: {
@@ -18881,24 +18903,24 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18881
18903
  f,
18882
18904
  h,
18883
18905
  _,
18884
- yJ,
18885
- vJ,
18906
+ CJ,
18907
+ SJ,
18886
18908
  S,
18887
18909
  J,
18910
+ xJ,
18888
18911
  _J,
18889
- pJ,
18890
- gJ,
18912
+ bJ,
18891
18913
  w,
18892
18914
  i,
18893
18915
  t,
18894
- fJ,
18895
- hJ,
18896
- CJ,
18897
- wJ,
18898
- TJ
18899
- ]), DJ = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
18916
+ gJ,
18917
+ yJ,
18918
+ DJ,
18919
+ OJ,
18920
+ kJ
18921
+ ]), jJ = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
18900
18922
  t
18901
- ]), OJ = !DJ && !!(c && d), kJ = useJsonViewerStore((e2) => e2.keyRenderer), AJ = (0, import_react.useMemo)(() => ({
18923
+ ]), MJ = !jJ && !!(c && d), NJ = useJsonViewerStore((e2) => e2.keyRenderer), PJ = (0, import_react.useMemo)(() => ({
18902
18924
  path: i,
18903
18925
  inspect: K,
18904
18926
  setInspect: q,
@@ -18930,18 +18952,18 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18930
18952
  className: "data-key",
18931
18953
  sx: {
18932
18954
  lineHeight: 1.5,
18933
- color: rJ,
18955
+ color: sJ,
18934
18956
  letterSpacing: 0.5,
18935
18957
  opacity: 0.8
18936
18958
  },
18937
18959
  onClick: (0, import_react.useCallback)((e2) => {
18938
- e2.isDefaultPrevented() || DJ || q((e3) => !e3);
18960
+ e2.isDefaultPrevented() || jJ || q((e3) => !e3);
18939
18961
  }, [
18940
- DJ,
18962
+ jJ,
18941
18963
  q
18942
18964
  ]),
18943
18965
  children: [
18944
- OJ ? K ? (0, import_jsx_runtime.jsx)(ExpandMoreIcon, {
18966
+ MJ ? K ? (0, import_jsx_runtime.jsx)(ExpandMoreIcon, {
18945
18967
  className: "data-key-toggle-expanded",
18946
18968
  sx: {
18947
18969
  fontSize: ".8rem",
@@ -18959,27 +18981,27 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18959
18981
  }
18960
18982
  }) : null,
18961
18983
  (0, import_jsx_runtime.jsx)(Box_default, {
18962
- ref: SJ,
18984
+ ref: EJ,
18963
18985
  className: "data-key-key",
18964
18986
  component: "span",
18965
- children: lJ && O === 0 ? cJ === false ? null : sJ ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18987
+ children: pJ && O === 0 ? fJ === false ? null : dJ ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18966
18988
  children: [
18967
18989
  '"',
18968
- cJ,
18990
+ fJ,
18969
18991
  '"'
18970
18992
  ]
18971
18993
  }) : (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
18972
- children: cJ
18973
- }) : kJ.when(AJ) ? (0, import_jsx_runtime.jsx)(kJ, {
18974
- ...AJ
18975
- }) : a === void 0 && (uJ ? (0, import_jsx_runtime.jsx)(Box_default, {
18994
+ children: fJ
18995
+ }) : NJ.when(PJ) ? (0, import_jsx_runtime.jsx)(NJ, {
18996
+ ...PJ
18997
+ }) : a === void 0 && (mJ ? (0, import_jsx_runtime.jsx)(Box_default, {
18976
18998
  component: "span",
18977
18999
  style: {
18978
- color: iJ,
18979
- userSelect: uJ ? "none" : "auto"
19000
+ color: cJ,
19001
+ userSelect: mJ ? "none" : "auto"
18980
19002
  },
18981
19003
  children: A
18982
- }) : sJ ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
19004
+ }) : dJ ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18983
19005
  children: [
18984
19006
  '"',
18985
19007
  A,
@@ -18989,7 +19011,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18989
19011
  children: A
18990
19012
  }))
18991
19013
  }),
18992
- lJ ? cJ !== false && (0, import_jsx_runtime.jsx)(DataBox, {
19014
+ pJ ? fJ !== false && (0, import_jsx_runtime.jsx)(DataBox, {
18993
19015
  className: "data-key-colon",
18994
19016
  sx: {
18995
19017
  mr: 0.5
@@ -19002,38 +19024,38 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
19002
19024
  ".data-key-key:empty + &": {
19003
19025
  display: "none"
19004
19026
  },
19005
- userSelect: uJ ? "none" : "auto"
19027
+ userSelect: mJ ? "none" : "auto"
19006
19028
  },
19007
19029
  children: ":"
19008
19030
  }),
19009
19031
  c && (0, import_jsx_runtime.jsx)(c, {
19010
- ...AJ
19032
+ ...PJ
19011
19033
  }),
19012
- I && OJ && K && EJ
19034
+ I && MJ && K && AJ
19013
19035
  ]
19014
19036
  }),
19015
19037
  J && S ? f && (0, import_jsx_runtime.jsx)(f, {
19016
19038
  path: i,
19017
19039
  value: w,
19018
19040
  setValue: E,
19019
- abortEditing: wJ,
19020
- commitEditing: TJ
19041
+ abortEditing: OJ,
19042
+ commitEditing: kJ
19021
19043
  }) : s ? (0, import_jsx_runtime.jsx)(s, {
19022
- ...AJ
19044
+ ...PJ
19023
19045
  }) : (0, import_jsx_runtime.jsx)(Box_default, {
19024
19046
  component: "span",
19025
19047
  className: "data-value-fallback",
19026
19048
  children: `fallback: ${t}`
19027
19049
  }),
19028
19050
  d && (0, import_jsx_runtime.jsx)(d, {
19029
- ...AJ
19051
+ ...PJ
19030
19052
  }),
19031
- !o && oJ && (0, import_jsx_runtime.jsx)(DataBox, {
19053
+ !o && uJ && (0, import_jsx_runtime.jsx)(DataBox, {
19032
19054
  children: ","
19033
19055
  }),
19034
- I && OJ && !K && EJ,
19035
- I && !OJ && EJ,
19036
- !I && J && EJ
19056
+ I && MJ && !K && AJ,
19057
+ I && !MJ && AJ,
19058
+ !I && J && AJ
19037
19059
  ]
19038
19060
  });
19039
19061
  }, query = "(prefers-color-scheme: dark)";
@@ -20121,18 +20143,18 @@ ${n}` : "Please fix this error.";
20121
20143
  }
20122
20144
  let y, S, w, E, O, A;
20123
20145
  if (t[2] !== f || t[3] !== i || t[4] !== s || t[5] !== a || t[6] !== n || t[7] !== c || t[8] !== v || t[9] !== _ || t[10] !== d) {
20124
- let e2 = n.filter(_temp8), M2 = n.filter(_temp9), I2 = n.filter(_temp0), z = n.filter(_temp1), U = n.filter(_temp10), K = n.filter(_temp11), q = n.filter(_temp12), J = n.filter(_temp13), Q = n.filter(_temp14), $ = n.filter(_temp15), rJ = n.filter(_temp16), iJ = n.filter(_temp17), aJ = n.filter(_temp18), oJ;
20125
- t[17] === s ? oJ = t[18] : (oJ = () => {
20146
+ let e2 = n.filter(_temp8), M2 = n.filter(_temp9), I2 = n.filter(_temp0), z = n.filter(_temp1), U = n.filter(_temp10), K = n.filter(_temp11), q = n.filter(_temp12), J = n.filter(_temp13), Q = n.filter(_temp14), $ = n.filter(_temp15), sJ = n.filter(_temp16), cJ = n.filter(_temp17), lJ = n.filter(_temp18), uJ;
20147
+ t[17] === s ? uJ = t[18] : (uJ = () => {
20126
20148
  s.openApplication("scratchpad");
20127
- }, t[17] = s, t[18] = oJ);
20128
- let sJ = oJ, cJ = () => {
20149
+ }, t[17] = s, t[18] = uJ);
20150
+ let dJ = uJ, fJ = () => {
20129
20151
  let t2 = [];
20130
- if (rJ.length > 0 || iJ.length > 0) {
20131
- let e3 = rJ.some(_temp19), n2 = !e3 && rJ.some(_temp20);
20152
+ if (sJ.length > 0 || cJ.length > 0) {
20153
+ let e3 = sJ.some(_temp19), n2 = !e3 && sJ.some(_temp20);
20132
20154
  t2.push((0, import_jsx_runtime.jsxs)("div", {
20133
20155
  children: [
20134
- rJ.map(_temp21),
20135
- iJ.map(_temp22),
20156
+ sJ.map(_temp21),
20157
+ cJ.map(_temp22),
20136
20158
  e3 && (0, import_jsx_runtime.jsxs)(Button, {
20137
20159
  size: "xs",
20138
20160
  variant: "outline",
@@ -20163,8 +20185,8 @@ ${n}` : "Please fix this error.";
20163
20185
  }),
20164
20186
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20165
20187
  errors: [
20166
- ...rJ,
20167
- ...iJ
20188
+ ...sJ,
20189
+ ...cJ
20168
20190
  ],
20169
20191
  cellId: i
20170
20192
  })
@@ -20325,7 +20347,7 @@ ${n}` : "Please fix this error.";
20325
20347
  size: "xs",
20326
20348
  variant: "link",
20327
20349
  className: "my-2 font-normal mx-0 px-0",
20328
- onClick: sJ,
20350
+ onClick: dJ,
20329
20351
  children: [
20330
20352
  (0, import_jsx_runtime.jsx)(NotebookPen, {
20331
20353
  className: "h-3"
@@ -20524,18 +20546,18 @@ ${n}` : "Please fix this error.";
20524
20546
  cellId: i
20525
20547
  })
20526
20548
  ]
20527
- }, "ancestor-stopped")), aJ.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20549
+ }, "ancestor-stopped")), lJ.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20528
20550
  children: [
20529
- aJ.map(_temp35),
20551
+ lJ.map(_temp35),
20530
20552
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20531
- errors: aJ,
20553
+ errors: lJ,
20532
20554
  cellId: i,
20533
20555
  className: "mt-2.5"
20534
20556
  })
20535
20557
  ]
20536
20558
  }, "sql-errors")), t2;
20537
- }, lJ;
20538
- t[19] === v ? lJ = t[20] : (lJ = v && (0, import_jsx_runtime.jsxs)("div", {
20559
+ }, pJ;
20560
+ t[19] === v ? pJ = t[20] : (pJ = v && (0, import_jsx_runtime.jsxs)("div", {
20539
20561
  className: "flex items-center gap-1 font-code text-[0.6875rem] uppercase tracking-wider text-muted-foreground/70",
20540
20562
  children: [
20541
20563
  v,
@@ -20547,22 +20569,22 @@ ${n}` : "Please fix this error.";
20547
20569
  })
20548
20570
  })
20549
20571
  ]
20550
- }), t[19] = v, t[20] = lJ);
20551
- let uJ;
20552
- t[21] !== _ || t[22] !== d ? (uJ = d && (0, import_jsx_runtime.jsx)(AlertTitle, {
20572
+ }), t[19] = v, t[20] = pJ);
20573
+ let mJ;
20574
+ t[21] !== _ || t[22] !== d ? (mJ = d && (0, import_jsx_runtime.jsx)(AlertTitle, {
20553
20575
  className: `font-code font-medium ${_}`,
20554
20576
  children: d
20555
- }), t[21] = _, t[22] = d, t[23] = uJ) : uJ = t[23];
20556
- let dJ;
20557
- t[24] !== lJ || t[25] !== uJ ? (dJ = (0, import_jsx_runtime.jsxs)("div", {
20577
+ }), t[21] = _, t[22] = d, t[23] = mJ) : mJ = t[23];
20578
+ let hJ;
20579
+ t[24] !== pJ || t[25] !== mJ ? (hJ = (0, import_jsx_runtime.jsxs)("div", {
20558
20580
  className: "space-y-0.5",
20559
20581
  children: [
20560
- lJ,
20561
- uJ
20582
+ pJ,
20583
+ mJ
20562
20584
  ]
20563
- }), t[24] = lJ, t[25] = uJ, t[26] = dJ) : dJ = t[26];
20564
- let fJ = dJ;
20565
- y = Alert, E = f, t[27] === a ? O = t[28] : (O = cn("border-none font-code text-sm text-[0.84375rem] p-0 text-muted-foreground normal has-[svg]:pl-0 space-y-2", a), t[27] = a, t[28] = O), A = fJ, S = "flex flex-col gap-4", w = cJ(), t[2] = f, t[3] = i, t[4] = s, t[5] = a, t[6] = n, t[7] = c, t[8] = v, t[9] = _, t[10] = d, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = O, t[16] = A;
20585
+ }), t[24] = pJ, t[25] = mJ, t[26] = hJ) : hJ = t[26];
20586
+ let gJ = hJ;
20587
+ y = Alert, E = f, t[27] === a ? O = t[28] : (O = cn("border-none font-code text-sm text-[0.84375rem] p-0 text-muted-foreground normal has-[svg]:pl-0 space-y-2", a), t[27] = a, t[28] = O), A = gJ, S = "flex flex-col gap-4", w = fJ(), t[2] = f, t[3] = i, t[4] = s, t[5] = a, t[6] = n, t[7] = c, t[8] = v, t[9] = _, t[10] = d, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = O, t[16] = A;
20566
20588
  } else y = t[11], S = t[12], w = t[13], E = t[14], O = t[15], A = t[16];
20567
20589
  let M;
20568
20590
  t[29] !== S || t[30] !== w ? (M = (0, import_jsx_runtime.jsx)("div", {
@@ -23523,7 +23545,7 @@ ${n}` : "Please fix this error.";
23523
23545
  getDefaultOptions: (e) => ({
23524
23546
  enableColumnFormatting: true,
23525
23547
  onColumnFormattingChange: makeStateUpdater("columnFormatting", e),
23526
- locale: navigator.language
23548
+ locale: browserLocale()
23527
23549
  }),
23528
23550
  createColumn: (e, t) => {
23529
23551
  e.getColumnFormatting = () => t.getState().columnFormatting[e.id], e.getCanFormat = () => {
@@ -26614,7 +26636,7 @@ ${n}` : "Please fix this error.";
26614
26636
  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 }) {
26615
26637
  let E = (0, import_react.useContext)(PanelGroupContext);
26616
26638
  if (E === null) throw Error("Panel components must be rendered within a PanelGroup container");
26617
- let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, $ = useUniqueId(s), rJ = (0, import_react.useRef)({
26639
+ let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, $ = useUniqueId(s), sJ = (0, import_react.useRef)({
26618
26640
  callbacks: {
26619
26641
  onCollapse: f,
26620
26642
  onExpand: h,
@@ -26634,12 +26656,12 @@ ${n}` : "Please fix this error.";
26634
26656
  (0, import_react.useRef)({
26635
26657
  didLogMissingDefaultSizeWarning: false
26636
26658
  }), useIsomorphicLayoutEffect$1(() => {
26637
- let { callbacks: e2, constraints: t2 } = rJ.current, o2 = {
26659
+ let { callbacks: e2, constraints: t2 } = sJ.current, o2 = {
26638
26660
  ...t2
26639
26661
  };
26640
- rJ.current.id = $, rJ.current.idIsFromProps = s !== void 0, rJ.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(rJ.current, o2);
26662
+ sJ.current.id = $, sJ.current.idIsFromProps = s !== void 0, sJ.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(sJ.current, o2);
26641
26663
  }), useIsomorphicLayoutEffect$1(() => {
26642
- let e2 = rJ.current;
26664
+ let e2 = sJ.current;
26643
26665
  return q(e2), () => {
26644
26666
  Q(e2);
26645
26667
  };
@@ -26650,25 +26672,25 @@ ${n}` : "Please fix this error.";
26650
26672
  Q
26651
26673
  ]), (0, import_react.useImperativeHandle)(o, () => ({
26652
26674
  collapse: () => {
26653
- O(rJ.current);
26675
+ O(sJ.current);
26654
26676
  },
26655
26677
  expand: (e2) => {
26656
- A(rJ.current, e2);
26678
+ A(sJ.current, e2);
26657
26679
  },
26658
26680
  getId() {
26659
26681
  return $;
26660
26682
  },
26661
26683
  getSize() {
26662
- return M(rJ.current);
26684
+ return M(sJ.current);
26663
26685
  },
26664
26686
  isCollapsed() {
26665
- return U(rJ.current);
26687
+ return U(sJ.current);
26666
26688
  },
26667
26689
  isExpanded() {
26668
- return !U(rJ.current);
26690
+ return !U(sJ.current);
26669
26691
  },
26670
26692
  resize: (e2) => {
26671
- J(rJ.current, e2);
26693
+ J(sJ.current, e2);
26672
26694
  }
26673
26695
  }), [
26674
26696
  O,
@@ -26678,21 +26700,21 @@ ${n}` : "Please fix this error.";
26678
26700
  $,
26679
26701
  J
26680
26702
  ]);
26681
- let iJ = I(rJ.current, a);
26703
+ let cJ = I(sJ.current, a);
26682
26704
  return (0, import_react.createElement)(S, {
26683
26705
  ...w,
26684
26706
  children: e,
26685
26707
  className: t,
26686
26708
  id: $,
26687
26709
  style: {
26688
- ...iJ,
26710
+ ...cJ,
26689
26711
  ...y
26690
26712
  },
26691
26713
  [DATA_ATTRIBUTES.groupId]: z,
26692
26714
  [DATA_ATTRIBUTES.panel]: "",
26693
26715
  [DATA_ATTRIBUTES.panelCollapsible]: i || void 0,
26694
26716
  [DATA_ATTRIBUTES.panelId]: $,
26695
- [DATA_ATTRIBUTES.panelSize]: parseFloat("" + iJ.flexGrow).toFixed(1)
26717
+ [DATA_ATTRIBUTES.panelSize]: parseFloat("" + cJ.flexGrow).toFixed(1)
26696
26718
  });
26697
26719
  }
26698
26720
  Panel = (0, import_react.forwardRef)((e, t) => (0, import_react.createElement)(PanelWithForwardedRef, {
@@ -27477,13 +27499,13 @@ ${n}` : "Please fix this error.";
27477
27499
  }, [
27478
27500
  S,
27479
27501
  E
27480
- ]), rJ = (0, import_react.useCallback)((e2) => {
27502
+ ]), sJ = (0, import_react.useCallback)((e2) => {
27481
27503
  let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
27482
27504
  return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), a2 === true && fuzzyNumbersEqual$1(o2, i2);
27483
- }, []), iJ = (0, import_react.useCallback)((e2) => {
27505
+ }, []), cJ = (0, import_react.useCallback)((e2) => {
27484
27506
  let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
27485
27507
  return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), !a2 || fuzzyCompareNumbers(o2, i2) > 0;
27486
- }, []), aJ = (0, import_react.useCallback)((e2) => {
27508
+ }, []), lJ = (0, import_react.useCallback)((e2) => {
27487
27509
  let { panelDataArray: t2 } = K.current;
27488
27510
  t2.push(e2), t2.sort((e3, t3) => {
27489
27511
  let n2 = e3.order, i2 = t3.order;
@@ -27515,7 +27537,7 @@ ${n}` : "Please fix this error.";
27515
27537
  e2.layout = [];
27516
27538
  };
27517
27539
  }, []);
27518
- let oJ = (0, import_react.useCallback)((e2) => {
27540
+ let uJ = (0, import_react.useCallback)((e2) => {
27519
27541
  let t2 = false, n2 = y.current;
27520
27542
  return n2 && window.getComputedStyle(n2, null).getPropertyValue("direction") === "rtl" && (t2 = true), function(n3) {
27521
27543
  n3.preventDefault();
@@ -27533,7 +27555,7 @@ ${n}` : "Please fix this error.";
27533
27555
  }), I2 = !compareLayouts(f2, A2);
27534
27556
  (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));
27535
27557
  };
27536
- }, []), sJ = (0, import_react.useCallback)((e2, t2) => {
27558
+ }, []), dJ = (0, import_react.useCallback)((e2, t2) => {
27537
27559
  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);
27538
27560
  assert(s2 != null, `Panel size not found for panel "${e2.id}"`);
27539
27561
  let d2 = adjustLayoutByDelta({
@@ -27545,12 +27567,12 @@ ${n}` : "Please fix this error.";
27545
27567
  trigger: "imperative-api"
27546
27568
  });
27547
27569
  compareLayouts(i2, d2) || (O(d2), K.current.layout = d2, n2 && n2(d2), callPanelCallbacks(a2, d2, M.current));
27548
- }, []), cJ = (0, import_react.useCallback)((e2, t2) => {
27570
+ }, []), fJ = (0, import_react.useCallback)((e2, t2) => {
27549
27571
  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);
27550
- h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) || sJ(e2, s2) : h2 < f2 ? sJ(e2, f2) : h2 > d2 && sJ(e2, d2));
27572
+ h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) || dJ(e2, s2) : h2 < f2 ? dJ(e2, f2) : h2 > d2 && dJ(e2, d2));
27551
27573
  }, [
27552
- sJ
27553
- ]), lJ = (0, import_react.useCallback)((e2, t2) => {
27574
+ dJ
27575
+ ]), pJ = (0, import_react.useCallback)((e2, t2) => {
27554
27576
  let { direction: n2 } = U.current, { layout: i2 } = K.current;
27555
27577
  if (!y.current) return;
27556
27578
  let a2 = getResizeHandleElement(e2, y.current);
@@ -27562,14 +27584,14 @@ ${n}` : "Please fix this error.";
27562
27584
  initialCursorPosition: o2,
27563
27585
  initialLayout: i2
27564
27586
  });
27565
- }, []), uJ = (0, import_react.useCallback)(() => {
27587
+ }, []), mJ = (0, import_react.useCallback)(() => {
27566
27588
  w(null);
27567
- }, []), dJ = (0, import_react.useCallback)((e2) => {
27589
+ }, []), hJ = (0, import_react.useCallback)((e2) => {
27568
27590
  let { panelDataArray: t2 } = K.current, n2 = findPanelDataIndex(t2, e2);
27569
27591
  n2 >= 0 && (t2.splice(n2, 1), delete M.current[e2.id], K.current.panelDataArrayChanged = true, A());
27570
27592
  }, [
27571
27593
  A
27572
- ]), fJ = (0, import_react.useMemo)(() => ({
27594
+ ]), gJ = (0, import_react.useMemo)(() => ({
27573
27595
  collapsePanel: q,
27574
27596
  direction: i,
27575
27597
  dragState: S,
@@ -27577,15 +27599,15 @@ ${n}` : "Please fix this error.";
27577
27599
  getPanelSize: Q,
27578
27600
  getPanelStyle: $,
27579
27601
  groupId: v,
27580
- isPanelCollapsed: rJ,
27581
- isPanelExpanded: iJ,
27582
- reevaluatePanelConstraints: cJ,
27583
- registerPanel: aJ,
27584
- registerResizeHandle: oJ,
27585
- resizePanel: sJ,
27586
- startDragging: lJ,
27587
- stopDragging: uJ,
27588
- unregisterPanel: dJ,
27602
+ isPanelCollapsed: sJ,
27603
+ isPanelExpanded: cJ,
27604
+ reevaluatePanelConstraints: fJ,
27605
+ registerPanel: lJ,
27606
+ registerResizeHandle: uJ,
27607
+ resizePanel: dJ,
27608
+ startDragging: pJ,
27609
+ stopDragging: mJ,
27610
+ unregisterPanel: hJ,
27589
27611
  panelGroupElement: y.current
27590
27612
  }), [
27591
27613
  q,
@@ -27595,16 +27617,16 @@ ${n}` : "Please fix this error.";
27595
27617
  Q,
27596
27618
  $,
27597
27619
  v,
27598
- rJ,
27599
- iJ,
27600
- cJ,
27601
- aJ,
27602
- oJ,
27603
27620
  sJ,
27621
+ cJ,
27622
+ fJ,
27604
27623
  lJ,
27605
27624
  uJ,
27606
- dJ
27607
- ]), pJ = {
27625
+ dJ,
27626
+ pJ,
27627
+ mJ,
27628
+ hJ
27629
+ ]), _J = {
27608
27630
  display: "flex",
27609
27631
  flexDirection: i === "horizontal" ? "row" : "column",
27610
27632
  height: "100%",
@@ -27612,7 +27634,7 @@ ${n}` : "Please fix this error.";
27612
27634
  width: "100%"
27613
27635
  };
27614
27636
  return (0, import_react.createElement)(PanelGroupContext.Provider, {
27615
- value: fJ
27637
+ value: gJ
27616
27638
  }, (0, import_react.createElement)(h, {
27617
27639
  ..._,
27618
27640
  children: t,
@@ -27620,7 +27642,7 @@ ${n}` : "Please fix this error.";
27620
27642
  id: o,
27621
27643
  ref: y,
27622
27644
  style: {
27623
- ...pJ,
27645
+ ..._J,
27624
27646
  ...f
27625
27647
  },
27626
27648
  [DATA_ATTRIBUTES.group]: "",
@@ -27697,31 +27719,31 @@ ${n}` : "Please fix this error.";
27697
27719
  });
27698
27720
  let O = (0, import_react.useContext)(PanelGroupContext);
27699
27721
  if (O === null) throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");
27700
- let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [$, rJ] = (0, import_react.useState)(false), [iJ, aJ] = (0, import_react.useState)(null), oJ = (0, import_react.useRef)({
27722
+ let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [$, sJ] = (0, import_react.useState)(false), [cJ, lJ] = (0, import_react.useState)(null), uJ = (0, import_react.useRef)({
27701
27723
  state: J
27702
27724
  });
27703
27725
  useIsomorphicLayoutEffect$1(() => {
27704
- oJ.current.state = J;
27726
+ uJ.current.state = J;
27705
27727
  }), (0, import_react.useEffect)(() => {
27706
- if (n) aJ(null);
27728
+ if (n) lJ(null);
27707
27729
  else {
27708
27730
  let e2 = I(q);
27709
- aJ(() => e2);
27731
+ lJ(() => e2);
27710
27732
  }
27711
27733
  }, [
27712
27734
  n,
27713
27735
  q,
27714
27736
  I
27715
27737
  ]);
27716
- let sJ = (i == null ? void 0 : i.coarse) ?? 15, cJ = (i == null ? void 0 : i.fine) ?? 5;
27738
+ let dJ = (i == null ? void 0 : i.coarse) ?? 15, fJ = (i == null ? void 0 : i.fine) ?? 5;
27717
27739
  (0, import_react.useEffect)(() => {
27718
- if (n || iJ == null) return;
27740
+ if (n || cJ == null) return;
27719
27741
  let e2 = w.current;
27720
27742
  assert(e2, "Element ref not attached");
27721
27743
  let t2 = false;
27722
27744
  return registerResizeHandle(q, e2, A, {
27723
- coarse: sJ,
27724
- fine: cJ
27745
+ coarse: dJ,
27746
+ fine: fJ
27725
27747
  }, (e3, n2, i2) => {
27726
27748
  if (!n2) {
27727
27749
  Q("inactive");
@@ -27735,8 +27757,8 @@ ${n}` : "Please fix this error.";
27735
27757
  break;
27736
27758
  }
27737
27759
  case "move": {
27738
- let { state: e4 } = oJ.current;
27739
- t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), iJ(i2);
27760
+ let { state: e4 } = uJ.current;
27761
+ t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), cJ(i2);
27740
27762
  break;
27741
27763
  }
27742
27764
  case "up": {
@@ -27748,22 +27770,22 @@ ${n}` : "Please fix this error.";
27748
27770
  }
27749
27771
  });
27750
27772
  }, [
27751
- sJ,
27773
+ dJ,
27752
27774
  A,
27753
27775
  n,
27754
- cJ,
27776
+ fJ,
27755
27777
  I,
27756
27778
  q,
27757
- iJ,
27779
+ cJ,
27758
27780
  z,
27759
27781
  U
27760
27782
  ]), useWindowSplitterResizeHandlerBehavior({
27761
27783
  disabled: n,
27762
27784
  handleId: q,
27763
- resizeHandler: iJ,
27785
+ resizeHandler: cJ,
27764
27786
  panelGroupElement: K
27765
27787
  });
27766
- let lJ = {
27788
+ let pJ = {
27767
27789
  touchAction: "none",
27768
27790
  userSelect: "none"
27769
27791
  };
@@ -27773,15 +27795,15 @@ ${n}` : "Please fix this error.";
27773
27795
  className: t,
27774
27796
  id: a,
27775
27797
  onBlur: () => {
27776
- rJ(false), o == null ? void 0 : o();
27798
+ sJ(false), o == null ? void 0 : o();
27777
27799
  },
27778
27800
  onFocus: () => {
27779
- rJ(true), d == null ? void 0 : d();
27801
+ sJ(true), d == null ? void 0 : d();
27780
27802
  },
27781
27803
  ref: w,
27782
27804
  role: "separator",
27783
27805
  style: {
27784
- ...lJ,
27806
+ ...pJ,
27785
27807
  ..._
27786
27808
  },
27787
27809
  tabIndex: v,
@@ -28080,7 +28102,7 @@ ${n}` : "Please fix this error.";
28080
28102
  }, [
28081
28103
  h
28082
28104
  ]), k(() => {
28083
- U(6, iJ);
28105
+ U(6, cJ);
28084
28106
  }, []);
28085
28107
  let K = import_react.useMemo(() => ({
28086
28108
  subscribe: (e2) => (s.current.add(e2), () => s.current.delete(e2)),
@@ -28089,7 +28111,7 @@ ${n}` : "Please fix this error.";
28089
28111
  var _a2;
28090
28112
  var a2, o2, s2;
28091
28113
  if (!Object.is(n.current[e2], t2)) {
28092
- if (n.current[e2] = t2, e2 === "search") rJ(), Q(), U(1, $);
28114
+ if (n.current[e2] = t2, e2 === "search") sJ(), Q(), U(1, $);
28093
28115
  else if (e2 === "value") {
28094
28116
  if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
28095
28117
  let e3 = document.getElementById(I);
@@ -28097,8 +28119,8 @@ ${n}` : "Please fix this error.";
28097
28119
  }
28098
28120
  if (U(7, () => {
28099
28121
  var _a3;
28100
- n.current.selectedItemId = (_a3 = aJ()) == null ? void 0 : _a3.id, K.emit();
28101
- }), i2 || U(5, iJ), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
28122
+ n.current.selectedItemId = (_a3 = lJ()) == null ? void 0 : _a3.id, K.emit();
28123
+ }), i2 || U(5, cJ), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
28102
28124
  let e3 = t2 ?? "";
28103
28125
  (s2 = (o2 = c.current).onValueChange) == null || s2.call(o2, e3);
28104
28126
  return;
@@ -28123,12 +28145,12 @@ ${n}` : "Please fix this error.";
28123
28145
  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([
28124
28146
  e2
28125
28147
  ]))), U(3, () => {
28126
- rJ(), Q(), n.current.value || $(), K.emit();
28148
+ sJ(), Q(), n.current.value || $(), K.emit();
28127
28149
  }), () => {
28128
28150
  o.current.delete(e2), i.current.delete(e2), n.current.filtered.items.delete(e2);
28129
- let t3 = aJ();
28151
+ let t3 = lJ();
28130
28152
  U(4, () => {
28131
- rJ(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && $(), K.emit();
28153
+ sJ(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && $(), K.emit();
28132
28154
  });
28133
28155
  }),
28134
28156
  group: (e2) => (a.current.has(e2) || a.current.set(e2, /* @__PURE__ */ new Set()), () => {
@@ -28161,7 +28183,7 @@ ${n}` : "Please fix this error.";
28161
28183
  ]);
28162
28184
  });
28163
28185
  let i2 = z.current;
28164
- oJ().sort((t3, n2) => {
28186
+ uJ().sort((t3, n2) => {
28165
28187
  let i3 = t3.getAttribute("id"), a2 = n2.getAttribute("id");
28166
28188
  return (e2.get(a2) ?? 0) - (e2.get(i3) ?? 0);
28167
28189
  }).forEach((e3) => {
@@ -28175,10 +28197,10 @@ ${n}` : "Please fix this error.";
28175
28197
  }
28176
28198
  function $() {
28177
28199
  var _a2;
28178
- let e2 = (_a2 = oJ().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
28200
+ let e2 = (_a2 = uJ().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
28179
28201
  K.setState("value", e2 || void 0);
28180
28202
  }
28181
- function rJ() {
28203
+ function sJ() {
28182
28204
  var _a2, _b;
28183
28205
  if (!n.current.search || c.current.shouldFilter === false) {
28184
28206
  n.current.filtered.count = i.current.size;
@@ -28196,43 +28218,43 @@ ${n}` : "Please fix this error.";
28196
28218
  }
28197
28219
  n.current.filtered.count = e2;
28198
28220
  }
28199
- function iJ() {
28221
+ function cJ() {
28200
28222
  var _a2, _b;
28201
28223
  var e2;
28202
- let t2 = aJ();
28224
+ let t2 = lJ();
28203
28225
  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({
28204
28226
  block: "nearest"
28205
28227
  })), t2.scrollIntoView({
28206
28228
  block: "nearest"
28207
28229
  }));
28208
28230
  }
28209
- function aJ() {
28231
+ function lJ() {
28210
28232
  var _a2;
28211
28233
  return (_a2 = z.current) == null ? void 0 : _a2.querySelector(`${le}[aria-selected="true"]`);
28212
28234
  }
28213
- function oJ() {
28235
+ function uJ() {
28214
28236
  var _a2;
28215
28237
  return Array.from(((_a2 = z.current) == null ? void 0 : _a2.querySelectorAll(ce$1)) || []);
28216
28238
  }
28217
- function sJ(e2) {
28218
- let t2 = oJ()[e2];
28239
+ function dJ(e2) {
28240
+ let t2 = uJ()[e2];
28219
28241
  t2 && K.setState("value", t2.getAttribute(T));
28220
28242
  }
28221
- function cJ(e2) {
28243
+ function fJ(e2) {
28222
28244
  var t2;
28223
- let n2 = aJ(), i2 = oJ(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
28245
+ let n2 = lJ(), i2 = uJ(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
28224
28246
  (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));
28225
28247
  }
28226
- function lJ(e2) {
28248
+ function pJ(e2) {
28227
28249
  var _a2;
28228
- let t2 = (_a2 = aJ()) == null ? void 0 : _a2.closest(N$1), n2;
28250
+ let t2 = (_a2 = lJ()) == null ? void 0 : _a2.closest(N$1), n2;
28229
28251
  for (; t2 && !n2; ) t2 = e2 > 0 ? we(t2, N$1) : De(t2, N$1), n2 = t2 == null ? void 0 : t2.querySelector(ce$1);
28230
- n2 ? K.setState("value", n2.getAttribute(T)) : cJ(e2);
28252
+ n2 ? K.setState("value", n2.getAttribute(T)) : fJ(e2);
28231
28253
  }
28232
- let uJ = () => sJ(oJ().length - 1), dJ = (e2) => {
28233
- e2.preventDefault(), e2.metaKey ? uJ() : e2.altKey ? lJ(1) : cJ(1);
28234
- }, fJ = (e2) => {
28235
- e2.preventDefault(), e2.metaKey ? sJ(0) : e2.altKey ? lJ(-1) : cJ(-1);
28254
+ let mJ = () => dJ(uJ().length - 1), hJ = (e2) => {
28255
+ e2.preventDefault(), e2.metaKey ? mJ() : e2.altKey ? pJ(1) : fJ(1);
28256
+ }, gJ = (e2) => {
28257
+ e2.preventDefault(), e2.metaKey ? dJ(0) : e2.altKey ? pJ(-1) : fJ(-1);
28236
28258
  };
28237
28259
  return import_react.createElement(Primitive.div, {
28238
28260
  ref: t,
@@ -28246,27 +28268,27 @@ ${n}` : "Please fix this error.";
28246
28268
  if (!(e2.defaultPrevented || n2)) switch (e2.key) {
28247
28269
  case "n":
28248
28270
  case "j":
28249
- E && e2.ctrlKey && dJ(e2);
28271
+ E && e2.ctrlKey && hJ(e2);
28250
28272
  break;
28251
28273
  case "ArrowDown":
28252
- dJ(e2);
28274
+ hJ(e2);
28253
28275
  break;
28254
28276
  case "p":
28255
28277
  case "k":
28256
- E && e2.ctrlKey && fJ(e2);
28278
+ E && e2.ctrlKey && gJ(e2);
28257
28279
  break;
28258
28280
  case "ArrowUp":
28259
- fJ(e2);
28281
+ gJ(e2);
28260
28282
  break;
28261
28283
  case "Home":
28262
- e2.preventDefault(), sJ(0);
28284
+ e2.preventDefault(), dJ(0);
28263
28285
  break;
28264
28286
  case "End":
28265
- e2.preventDefault(), uJ();
28287
+ e2.preventDefault(), mJ();
28266
28288
  break;
28267
28289
  case "Enter": {
28268
28290
  e2.preventDefault();
28269
- let t3 = aJ();
28291
+ let t3 = lJ();
28270
28292
  if (t3) {
28271
28293
  let e3 = new Event(Z);
28272
28294
  t3.dispatchEvent(e3);
@@ -28675,153 +28697,153 @@ ${n}` : "Please fix this error.";
28675
28697
  Combobox = (e) => {
28676
28698
  let t = (0, import_compiler_runtime$35.c)(106), n, i, a, s, c, d, f, h, _, v, y, S, w, E, O, A, M, I, z, U, K, q, J, Q;
28677
28699
  t[0] === e ? (n = t[1], i = t[2], a = 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], J = t[23], Q = t[24]) : ({ children: n, displayValue: d, className: a, placeholder: E, value: Q, defaultValue: c, onValueChange: S, multiple: I, shouldFilter: z, filterFn: f, open: w, defaultOpen: s, onOpenChange: v, inputPlaceholder: U, search: M, onSearchChange: y, emptyState: K, chips: q, chipsClassName: i, keepPopoverOpenOnSelect: _, id: h, disabled: J, renderValue: O, ...A } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a, 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, t[23] = J, t[24] = Q);
28678
- let $ = I === void 0 ? false : I, rJ = z === void 0 ? true : z, iJ = U === void 0 ? "Search..." : U, aJ = K === void 0 ? "Nothing found." : K, oJ = q === void 0 ? false : q, sJ = J === void 0 ? false : J, cJ = s ?? false, lJ;
28679
- t[25] !== v || t[26] !== w || t[27] !== cJ ? (lJ = {
28700
+ let $ = I === void 0 ? false : I, sJ = z === void 0 ? true : z, cJ = U === void 0 ? "Search..." : U, lJ = K === void 0 ? "Nothing found." : K, uJ = q === void 0 ? false : q, dJ = J === void 0 ? false : J, fJ = s ?? false, pJ;
28701
+ t[25] !== v || t[26] !== w || t[27] !== fJ ? (pJ = {
28680
28702
  prop: w,
28681
- defaultProp: cJ,
28703
+ defaultProp: fJ,
28682
28704
  onChange: v
28683
- }, t[25] = v, t[26] = w, t[27] = cJ, t[28] = lJ) : lJ = t[28];
28684
- let [uJ, dJ] = useControllableState(lJ), fJ = uJ === void 0 ? false : uJ, pJ;
28685
- t[29] === S ? pJ = t[30] : (pJ = (e2) => {
28705
+ }, t[25] = v, t[26] = w, t[27] = fJ, t[28] = pJ) : pJ = t[28];
28706
+ let [mJ, hJ] = useControllableState(pJ), gJ = mJ === void 0 ? false : mJ, _J;
28707
+ t[29] === S ? _J = t[30] : (_J = (e2) => {
28686
28708
  S == null ? void 0 : S(e2);
28687
- }, t[29] = S, t[30] = pJ);
28688
- let mJ;
28689
- t[31] !== c || t[32] !== pJ || t[33] !== Q ? (mJ = {
28709
+ }, t[29] = S, t[30] = _J);
28710
+ let vJ;
28711
+ t[31] !== c || t[32] !== _J || t[33] !== Q ? (vJ = {
28690
28712
  prop: Q,
28691
28713
  defaultProp: c,
28692
- onChange: pJ
28693
- }, t[31] = c, t[32] = pJ, t[33] = Q, t[34] = mJ) : mJ = t[34];
28694
- let [hJ, gJ] = useControllableState(mJ), _J;
28695
- t[35] === hJ ? _J = t[36] : (_J = (e2) => Array.isArray(hJ) ? hJ.includes(e2) : hJ === e2, t[35] = hJ, t[36] = _J);
28696
- let vJ = _J, yJ;
28697
- t[37] !== _ || t[38] !== $ || t[39] !== dJ || t[40] !== gJ || t[41] !== hJ ? (yJ = (e2) => {
28714
+ onChange: _J
28715
+ }, t[31] = c, t[32] = _J, t[33] = Q, t[34] = vJ) : vJ = t[34];
28716
+ let [yJ, bJ] = useControllableState(vJ), xJ;
28717
+ t[35] === yJ ? xJ = t[36] : (xJ = (e2) => Array.isArray(yJ) ? yJ.includes(e2) : yJ === e2, t[35] = yJ, t[36] = xJ);
28718
+ let SJ = xJ, CJ;
28719
+ t[37] !== _ || t[38] !== $ || t[39] !== hJ || t[40] !== bJ || t[41] !== yJ ? (CJ = (e2) => {
28698
28720
  let t2 = e2;
28699
- if ($) if (Array.isArray(hJ)) if (hJ.includes(t2)) {
28700
- let n2 = hJ.filter((t3) => t3 !== e2);
28721
+ if ($) if (Array.isArray(yJ)) if (yJ.includes(t2)) {
28722
+ let n2 = yJ.filter((t3) => t3 !== e2);
28701
28723
  t2 = n2.length > 0 ? n2 : [];
28702
28724
  } else t2 = [
28703
- ...hJ,
28725
+ ...yJ,
28704
28726
  t2
28705
28727
  ];
28706
28728
  else t2 = [
28707
28729
  t2
28708
28730
  ];
28709
- else hJ === e2 && (t2 = null);
28710
- gJ(t2), (_ ?? $) || dJ(false);
28711
- }, t[37] = _, t[38] = $, t[39] = dJ, t[40] = gJ, t[41] = hJ, t[42] = yJ) : yJ = t[42];
28712
- let bJ = yJ, xJ;
28713
- t[43] !== oJ || t[44] !== d || t[45] !== $ || t[46] !== E || t[47] !== hJ ? (xJ = () => $ && oJ && E ? E : hJ == null ? E ?? "--" : Array.isArray(hJ) ? hJ.length === 0 ? E ?? "--" : hJ.length === 1 && d !== void 0 ? d(hJ[0]) : `${hJ.length} selected` : d === void 0 ? E ?? "--" : d(hJ), t[43] = oJ, t[44] = d, t[45] = $, t[46] = E, t[47] = hJ, t[48] = xJ) : xJ = t[48];
28714
- let SJ = xJ, CJ;
28715
- t[49] !== bJ || t[50] !== vJ ? (CJ = {
28716
- isSelected: vJ,
28717
- onSelect: bJ
28718
- }, t[49] = bJ, t[50] = vJ, t[51] = CJ) : CJ = t[51];
28719
- let TJ = CJ, EJ;
28720
- t[52] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (EJ = cn("relative"), t[52] = EJ) : EJ = t[52];
28721
- let DJ;
28722
- t[53] !== sJ || t[54] !== dJ ? (DJ = (e2) => {
28723
- sJ && e2 || dJ(e2);
28724
- }, t[53] = sJ, t[54] = dJ, t[55] = DJ) : DJ = t[55];
28725
- let OJ = sJ && "cursor-not-allowed opacity-50", kJ;
28726
- t[56] !== a || t[57] !== OJ ? (kJ = 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", OJ, a), t[56] = a, t[57] = OJ, t[58] = kJ) : kJ = t[58];
28731
+ else yJ === e2 && (t2 = null);
28732
+ bJ(t2), (_ ?? $) || hJ(false);
28733
+ }, t[37] = _, t[38] = $, t[39] = hJ, t[40] = bJ, t[41] = yJ, t[42] = CJ) : CJ = t[42];
28734
+ let wJ = CJ, TJ;
28735
+ t[43] !== uJ || t[44] !== d || t[45] !== $ || t[46] !== E || t[47] !== yJ ? (TJ = () => $ && uJ && E ? E : yJ == null ? E ?? "--" : Array.isArray(yJ) ? yJ.length === 0 ? E ?? "--" : yJ.length === 1 && d !== void 0 ? d(yJ[0]) : `${yJ.length} selected` : d === void 0 ? E ?? "--" : d(yJ), t[43] = uJ, t[44] = d, t[45] = $, t[46] = E, t[47] = yJ, t[48] = TJ) : TJ = t[48];
28736
+ let EJ = TJ, DJ;
28737
+ t[49] !== wJ || t[50] !== SJ ? (DJ = {
28738
+ isSelected: SJ,
28739
+ onSelect: wJ
28740
+ }, t[49] = wJ, t[50] = SJ, t[51] = DJ) : DJ = t[51];
28741
+ let kJ = DJ, AJ;
28742
+ t[52] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (AJ = cn("relative"), t[52] = AJ) : AJ = t[52];
28727
28743
  let jJ;
28728
- t[59] !== O || t[60] !== SJ || t[61] !== hJ ? (jJ = O ? O(hJ ?? null) : SJ(), t[59] = O, t[60] = SJ, t[61] = hJ, t[62] = jJ) : jJ = t[62];
28729
- let MJ;
28730
- t[63] === jJ ? MJ = t[64] : (MJ = (0, import_jsx_runtime.jsx)("span", {
28744
+ t[53] !== dJ || t[54] !== hJ ? (jJ = (e2) => {
28745
+ dJ && e2 || hJ(e2);
28746
+ }, t[53] = dJ, t[54] = hJ, t[55] = jJ) : jJ = t[55];
28747
+ let MJ = dJ && "cursor-not-allowed opacity-50", NJ;
28748
+ t[56] !== a || t[57] !== MJ ? (NJ = 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", MJ, a), t[56] = a, t[57] = MJ, t[58] = NJ) : NJ = t[58];
28749
+ let FJ;
28750
+ t[59] !== O || t[60] !== EJ || t[61] !== yJ ? (FJ = O ? O(yJ ?? null) : EJ(), t[59] = O, t[60] = EJ, t[61] = yJ, t[62] = FJ) : FJ = t[62];
28751
+ let IJ;
28752
+ t[63] === FJ ? IJ = t[64] : (IJ = (0, import_jsx_runtime.jsx)("span", {
28731
28753
  className: "truncate flex-1 min-w-0",
28732
- children: jJ
28733
- }), t[63] = jJ, t[64] = MJ);
28734
- let PJ;
28735
- t[65] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (PJ = (0, import_jsx_runtime.jsx)(ChevronDown, {
28754
+ children: FJ
28755
+ }), t[63] = FJ, t[64] = IJ);
28756
+ let RJ;
28757
+ t[65] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (RJ = (0, import_jsx_runtime.jsx)(ChevronDown, {
28736
28758
  className: "ml-3 w-4 h-4 opacity-50 shrink-0"
28737
- }), t[65] = PJ) : PJ = t[65];
28738
- let FJ;
28739
- t[66] !== sJ || t[67] !== h || t[68] !== fJ || t[69] !== kJ || t[70] !== MJ ? (FJ = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
28759
+ }), t[65] = RJ) : RJ = t[65];
28760
+ let zJ;
28761
+ t[66] !== dJ || t[67] !== h || t[68] !== gJ || t[69] !== NJ || t[70] !== IJ ? (zJ = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
28740
28762
  asChild: true,
28741
28763
  children: (0, import_jsx_runtime.jsxs)("button", {
28742
28764
  id: h,
28743
28765
  type: "button",
28744
- className: kJ,
28745
- "aria-expanded": fJ,
28746
- "aria-disabled": sJ,
28766
+ className: NJ,
28767
+ "aria-expanded": gJ,
28768
+ "aria-disabled": dJ,
28747
28769
  children: [
28748
- MJ,
28749
- PJ
28770
+ IJ,
28771
+ RJ
28750
28772
  ]
28751
28773
  })
28752
- }), t[66] = sJ, t[67] = h, t[68] = fJ, t[69] = kJ, t[70] = MJ, t[71] = FJ) : FJ = t[71];
28753
- let IJ;
28754
- t[72] !== iJ || t[73] !== y || t[74] !== M ? (IJ = (0, import_jsx_runtime.jsx)(CommandInput, {
28755
- placeholder: iJ,
28774
+ }), t[66] = dJ, t[67] = h, t[68] = gJ, t[69] = NJ, t[70] = IJ, t[71] = zJ) : zJ = t[71];
28775
+ let BJ;
28776
+ t[72] !== cJ || t[73] !== y || t[74] !== M ? (BJ = (0, import_jsx_runtime.jsx)(CommandInput, {
28777
+ placeholder: cJ,
28756
28778
  rootClassName: "px-1 h-8",
28757
28779
  autoFocus: true,
28758
28780
  value: M,
28759
28781
  onValueChange: y
28760
- }), t[72] = iJ, t[73] = y, t[74] = M, t[75] = IJ) : IJ = t[75];
28761
- let LJ;
28762
- t[76] === aJ ? LJ = t[77] : (LJ = (0, import_jsx_runtime.jsx)(CommandEmpty, {
28763
- children: aJ
28764
- }), t[76] = aJ, t[77] = LJ);
28765
- let RJ;
28766
- t[78] !== n || t[79] !== TJ ? (RJ = (0, import_jsx_runtime.jsx)(ComboboxContext, {
28767
- value: TJ,
28782
+ }), t[72] = cJ, t[73] = y, t[74] = M, t[75] = BJ) : BJ = t[75];
28783
+ let VJ;
28784
+ t[76] === lJ ? VJ = t[77] : (VJ = (0, import_jsx_runtime.jsx)(CommandEmpty, {
28785
+ children: lJ
28786
+ }), t[76] = lJ, t[77] = VJ);
28787
+ let HJ;
28788
+ t[78] !== n || t[79] !== kJ ? (HJ = (0, import_jsx_runtime.jsx)(ComboboxContext, {
28789
+ value: kJ,
28768
28790
  children: n
28769
- }), t[78] = n, t[79] = TJ, t[80] = RJ) : RJ = t[80];
28770
- let zJ;
28771
- t[81] !== LJ || t[82] !== RJ ? (zJ = (0, import_jsx_runtime.jsxs)(CommandList, {
28791
+ }), t[78] = n, t[79] = kJ, t[80] = HJ) : HJ = t[80];
28792
+ let UJ;
28793
+ t[81] !== VJ || t[82] !== HJ ? (UJ = (0, import_jsx_runtime.jsxs)(CommandList, {
28772
28794
  className: "max-h-60 py-.5",
28773
28795
  children: [
28774
- LJ,
28775
- RJ
28796
+ VJ,
28797
+ HJ
28776
28798
  ]
28777
- }), t[81] = LJ, t[82] = RJ, t[83] = zJ) : zJ = t[83];
28778
- let BJ;
28779
- t[84] !== f || t[85] !== rJ || t[86] !== IJ || t[87] !== zJ ? (BJ = (0, import_jsx_runtime.jsx)(PopoverContent, {
28799
+ }), t[81] = VJ, t[82] = HJ, t[83] = UJ) : UJ = t[83];
28800
+ let WJ;
28801
+ t[84] !== f || t[85] !== sJ || t[86] !== BJ || t[87] !== UJ ? (WJ = (0, import_jsx_runtime.jsx)(PopoverContent, {
28780
28802
  className: "w-full min-w-(--radix-popover-trigger-width) p-0",
28781
28803
  align: "start",
28782
28804
  children: (0, import_jsx_runtime.jsxs)(Command, {
28783
28805
  filter: f,
28784
- shouldFilter: rJ,
28806
+ shouldFilter: sJ,
28785
28807
  children: [
28786
- IJ,
28787
- zJ
28808
+ BJ,
28809
+ UJ
28788
28810
  ]
28789
28811
  })
28790
- }), t[84] = f, t[85] = rJ, t[86] = IJ, t[87] = zJ, t[88] = BJ) : BJ = t[88];
28791
- let VJ;
28792
- t[89] !== fJ || t[90] !== DJ || t[91] !== FJ || t[92] !== BJ ? (VJ = (0, import_jsx_runtime.jsxs)(Popover, {
28793
- open: fJ,
28794
- onOpenChange: DJ,
28812
+ }), t[84] = f, t[85] = sJ, t[86] = BJ, t[87] = UJ, t[88] = WJ) : WJ = t[88];
28813
+ let GJ;
28814
+ t[89] !== gJ || t[90] !== jJ || t[91] !== zJ || t[92] !== WJ ? (GJ = (0, import_jsx_runtime.jsxs)(Popover, {
28815
+ open: gJ,
28816
+ onOpenChange: jJ,
28795
28817
  children: [
28796
- FJ,
28797
- BJ
28818
+ zJ,
28819
+ WJ
28798
28820
  ]
28799
- }), t[89] = fJ, t[90] = DJ, t[91] = FJ, t[92] = BJ, t[93] = VJ) : VJ = t[93];
28800
- let HJ;
28801
- t[94] !== oJ || t[95] !== i || t[96] !== sJ || t[97] !== d || t[98] !== bJ || t[99] !== $ || t[100] !== hJ ? (HJ = $ && oJ && (0, import_jsx_runtime.jsx)("div", {
28821
+ }), t[89] = gJ, t[90] = jJ, t[91] = zJ, t[92] = WJ, t[93] = GJ) : GJ = t[93];
28822
+ let KJ;
28823
+ t[94] !== uJ || t[95] !== i || t[96] !== dJ || t[97] !== d || t[98] !== wJ || t[99] !== $ || t[100] !== yJ ? (KJ = $ && uJ && (0, import_jsx_runtime.jsx)("div", {
28802
28824
  className: cn("flex flex-col gap-1 items-start", i),
28803
- children: Array.isArray(hJ) && hJ.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
28825
+ children: Array.isArray(yJ) && yJ.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
28804
28826
  variant: "secondary",
28805
28827
  children: [
28806
28828
  (d == null ? void 0 : d(e2)) ?? String(e2),
28807
28829
  (0, import_jsx_runtime.jsx)(CircleX, {
28808
28830
  onClick: () => {
28809
- sJ || bJ(e2);
28831
+ dJ || wJ(e2);
28810
28832
  },
28811
- className: cn("w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer", sJ && "pointer-events-none")
28833
+ className: cn("w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer", dJ && "pointer-events-none")
28812
28834
  })
28813
28835
  ]
28814
28836
  }, String(e2)))
28815
- }), t[94] = oJ, t[95] = i, t[96] = sJ, t[97] = d, t[98] = bJ, t[99] = $, t[100] = hJ, t[101] = HJ) : HJ = t[101];
28816
- let UJ;
28817
- return t[102] !== A || t[103] !== VJ || t[104] !== HJ ? (UJ = (0, import_jsx_runtime.jsxs)("div", {
28818
- className: EJ,
28837
+ }), t[94] = uJ, t[95] = i, t[96] = dJ, t[97] = d, t[98] = wJ, t[99] = $, t[100] = yJ, t[101] = KJ) : KJ = t[101];
28838
+ let qJ;
28839
+ return t[102] !== A || t[103] !== GJ || t[104] !== KJ ? (qJ = (0, import_jsx_runtime.jsxs)("div", {
28840
+ className: AJ,
28819
28841
  ...A,
28820
28842
  children: [
28821
- VJ,
28822
- HJ
28843
+ GJ,
28844
+ KJ
28823
28845
  ]
28824
- }), t[102] = A, t[103] = VJ, t[104] = HJ, t[105] = UJ) : UJ = t[105], UJ;
28846
+ }), t[102] = A, t[103] = GJ, t[104] = KJ, t[105] = qJ) : qJ = t[105], qJ;
28825
28847
  };
28826
28848
  ComboboxItem = import_react.forwardRef((e, t) => {
28827
28849
  let n = (0, import_compiler_runtime$35.c)(20), { children: i, className: a, value: s, onSelect: c, disabled: d } = e, f = typeof s == "object" && "value" in s ? s.value : String(s), h = import_react.use(ComboboxContext), _;
@@ -29877,17 +29899,17 @@ ${n}` : "Please fix this error.";
29877
29899
  searchQuery: M,
29878
29900
  filteredOptions: z
29879
29901
  }, t[9] = z, t[10] = n, t[11] = _, t[12] = M, t[13] = i, t[14] = U) : U = t[14];
29880
- let { open: K, setOpen: q, repin: J, visibleOptions: Q, pinnedCount: $ } = usePinning(U), rJ;
29881
- t[15] !== c || t[16] !== s || t[17] !== o || t[18] !== a || t[19] !== y || t[20] !== i ? (rJ = {
29902
+ let { open: K, setOpen: q, repin: J, visibleOptions: Q, pinnedCount: $ } = usePinning(U), sJ;
29903
+ t[15] !== c || t[16] !== s || t[17] !== o || t[18] !== a || t[19] !== y || t[20] !== i ? (sJ = {
29882
29904
  value: i,
29883
29905
  onChange: a,
29884
29906
  multiple: o,
29885
29907
  maxSelections: s,
29886
29908
  allowSelectNone: c,
29887
29909
  selected: y
29888
- }, t[15] = c, t[16] = s, t[17] = o, t[18] = a, t[19] = y, t[20] = i, t[21] = rJ) : rJ = t[21];
29889
- let { isChecked: iJ, toggle: aJ } = useToggle(rJ), oJ;
29890
- t[22] !== z || t[23] !== s || t[24] !== o || t[25] !== a || t[26] !== n || t[27] !== M || t[28] !== i ? (oJ = {
29910
+ }, t[15] = c, t[16] = s, t[17] = o, t[18] = a, t[19] = y, t[20] = i, t[21] = sJ) : sJ = t[21];
29911
+ let { isChecked: cJ, toggle: lJ } = useToggle(sJ), uJ;
29912
+ t[22] !== z || t[23] !== s || t[24] !== o || t[25] !== a || t[26] !== n || t[27] !== M || t[28] !== i ? (uJ = {
29891
29913
  value: i,
29892
29914
  onChange: a,
29893
29915
  multiple: o,
@@ -29895,24 +29917,24 @@ ${n}` : "Please fix this error.";
29895
29917
  filteredOptions: z,
29896
29918
  searchQuery: M,
29897
29919
  maxSelections: s
29898
- }, t[22] = z, t[23] = s, t[24] = o, t[25] = a, t[26] = n, t[27] = M, t[28] = i, t[29] = oJ) : oJ = t[29];
29899
- let { bulkActions: sJ } = useBulk(oJ), cJ;
29900
- t[30] !== J || t[31] !== I ? (cJ = (e2) => {
29920
+ }, t[22] = z, t[23] = s, t[24] = o, t[25] = a, t[26] = n, t[27] = M, t[28] = i, t[29] = uJ) : uJ = t[29];
29921
+ let { bulkActions: dJ } = useBulk(uJ), fJ;
29922
+ t[30] !== J || t[31] !== I ? (fJ = (e2) => {
29901
29923
  I(e2), e2 === "" && J();
29902
- }, t[30] = J, t[31] = I, t[32] = cJ) : cJ = t[32];
29903
- let lJ = cJ, uJ;
29904
- return t[33] !== sJ || t[34] !== iJ || t[35] !== O || t[36] !== K || t[37] !== $ || t[38] !== M || t[39] !== q || t[40] !== lJ || t[41] !== aJ || t[42] !== Q ? (uJ = {
29924
+ }, t[30] = J, t[31] = I, t[32] = fJ) : fJ = t[32];
29925
+ let pJ = fJ, mJ;
29926
+ return t[33] !== dJ || t[34] !== cJ || t[35] !== O || t[36] !== K || t[37] !== $ || t[38] !== M || t[39] !== q || t[40] !== pJ || t[41] !== lJ || t[42] !== Q ? (mJ = {
29905
29927
  searchQuery: M,
29906
- setSearchQuery: lJ,
29928
+ setSearchQuery: pJ,
29907
29929
  open: K,
29908
29930
  setOpen: q,
29909
29931
  visibleOptions: Q,
29910
29932
  pinnedCount: $,
29911
- isChecked: iJ,
29912
- toggle: aJ,
29913
- bulkActions: sJ,
29933
+ isChecked: cJ,
29934
+ toggle: lJ,
29935
+ bulkActions: dJ,
29914
29936
  labelOf: O
29915
- }, t[33] = sJ, t[34] = iJ, t[35] = O, t[36] = K, t[37] = $, t[38] = M, t[39] = q, t[40] = lJ, t[41] = aJ, t[42] = Q, t[43] = uJ) : uJ = t[43], uJ;
29937
+ }, t[33] = dJ, t[34] = cJ, t[35] = O, t[36] = K, t[37] = $, t[38] = M, t[39] = q, t[40] = pJ, t[41] = lJ, t[42] = Q, t[43] = mJ) : mJ = t[43], mJ;
29916
29938
  };
29917
29939
  const Sets = {
29918
29940
  merge(...e) {
@@ -30241,7 +30263,7 @@ ${n}` : "Please fix this error.";
30241
30263
  type: S,
30242
30264
  operator: E,
30243
30265
  draft: mergeNumberTextDraft(A, I)
30244
- }), $ = Q === void 0, rJ = $ ? getMissingValueMessage(S, E) : "Apply filter", aJ = () => {
30266
+ }), $ = Q === void 0, sJ = $ ? getMissingValueMessage(S, E) : "Apply filter", lJ = () => {
30245
30267
  if (!Q) return;
30246
30268
  let e2 = Q;
30247
30269
  t.setColumnFilters((t2) => {
@@ -30260,20 +30282,20 @@ ${n}` : "Please fix this error.";
30260
30282
  value: e2
30261
30283
  }, n2;
30262
30284
  }), i();
30263
- }, oJ = () => {
30285
+ }, uJ = () => {
30264
30286
  a !== void 0 && t.setColumnFilters((e2) => e2.filter((e3, t2) => t2 !== a)), i();
30265
- }, sJ = !OPERATORS_WITHOUT_VALUE.has(E), cJ = OPERATORS_BY_TYPE[S], lJ = (0, import_react.useRef)(null), uJ = (0, import_react.useRef)(null);
30287
+ }, dJ = !OPERATORS_WITHOUT_VALUE.has(E), fJ = OPERATORS_BY_TYPE[S], pJ = (0, import_react.useRef)(null), mJ = (0, import_react.useRef)(null);
30266
30288
  return (0, import_react.useEffect)(() => {
30267
30289
  var _a2, _b;
30268
- let e2 = (_a2 = lJ.current) == null ? void 0 : _a2.querySelector('input, [role="spinbutton"], [role="combobox"], button');
30269
- e2 ? e2.focus() : (_b = uJ.current) == null ? void 0 : _b.focus();
30290
+ let e2 = (_a2 = pJ.current) == null ? void 0 : _a2.querySelector('input, [role="spinbutton"], [role="combobox"], button');
30291
+ e2 ? e2.focus() : (_b = mJ.current) == null ? void 0 : _b.focus();
30270
30292
  }, [
30271
30293
  S,
30272
30294
  E
30273
30295
  ]), (0, import_jsx_runtime.jsxs)("form", {
30274
30296
  className: "flex flex-row gap-4 items-end p-3",
30275
30297
  onSubmit: (e2) => {
30276
- e2.preventDefault(), aJ();
30298
+ e2.preventDefault(), lJ();
30277
30299
  },
30278
30300
  onKeyDownCapture: (e2) => {
30279
30301
  e2.key === "Tab" && e2.stopPropagation();
@@ -30314,13 +30336,13 @@ ${n}` : "Please fix this error.";
30314
30336
  onValueChange: (e2) => J(e2),
30315
30337
  children: [
30316
30338
  (0, import_jsx_runtime.jsx)(SelectTrigger, {
30317
- ref: uJ,
30339
+ ref: mJ,
30318
30340
  id: s,
30319
30341
  className: "h-6 mb-1 bg-transparent",
30320
30342
  children: (0, import_jsx_runtime.jsx)(SelectValue, {})
30321
30343
  }),
30322
30344
  (0, import_jsx_runtime.jsx)(SelectContent, {
30323
- children: cJ.map((e2) => (0, import_jsx_runtime.jsx)(SelectItem, {
30345
+ children: fJ.map((e2) => (0, import_jsx_runtime.jsx)(SelectItem, {
30324
30346
  value: e2,
30325
30347
  children: OPERATOR_LABELS[e2]
30326
30348
  }, e2))
@@ -30329,8 +30351,8 @@ ${n}` : "Please fix this error.";
30329
30351
  }, S)
30330
30352
  ]
30331
30353
  }),
30332
- sJ && (0, import_jsx_runtime.jsxs)("div", {
30333
- ref: lJ,
30354
+ dJ && (0, import_jsx_runtime.jsxs)("div", {
30355
+ ref: pJ,
30334
30356
  className: "flex flex-col gap-1",
30335
30357
  children: [
30336
30358
  (0, import_jsx_runtime.jsx)("label", {
@@ -30357,7 +30379,7 @@ ${n}` : "Please fix this error.";
30357
30379
  className: "flex gap-1 mb-1",
30358
30380
  children: [
30359
30381
  (0, import_jsx_runtime.jsx)(Tooltip, {
30360
- content: rJ,
30382
+ content: sJ,
30361
30383
  children: (0, import_jsx_runtime.jsx)("span", {
30362
30384
  className: "inline-flex",
30363
30385
  children: (0, import_jsx_runtime.jsx)(Button, {
@@ -30396,7 +30418,7 @@ ${n}` : "Please fix this error.";
30396
30418
  size: "icon",
30397
30419
  variant: "ghost",
30398
30420
  className: "rounded-full text-destructive hover:text-destructive hover:bg-destructive/10",
30399
- onClick: oJ,
30421
+ onClick: uJ,
30400
30422
  "aria-label": "Remove filter",
30401
30423
  children: (0, import_jsx_runtime.jsx)(Trash2, {
30402
30424
  className: "h-3.5 w-3.5",
@@ -32604,29 +32626,29 @@ ${n}` : "Please fix this error.";
32604
32626
  }, t[16] = a, t[17] = J);
32605
32627
  let Q = useEvent_default(J), $;
32606
32628
  t[18] === S ? $ = t[19] : ($ = () => S(), t[18] = S, t[19] = $);
32607
- let rJ = useEvent_default($), iJ, aJ;
32608
- t[20] === S ? (iJ = t[21], aJ = t[22]) : (iJ = () => (window.addEventListener("scroll", S, {
32629
+ let sJ = useEvent_default($), cJ, lJ;
32630
+ t[20] === S ? (cJ = t[21], lJ = t[22]) : (cJ = () => (window.addEventListener("scroll", S, {
32609
32631
  passive: true,
32610
32632
  capture: true
32611
32633
  }), window.addEventListener("resize", S), () => {
32612
32634
  window.removeEventListener("scroll", S, {
32613
32635
  capture: true
32614
32636
  }), window.removeEventListener("resize", S);
32615
- }), aJ = [
32637
+ }), lJ = [
32616
32638
  S
32617
- ], t[20] = S, t[21] = iJ, t[22] = aJ), (0, import_react.useEffect)(iJ, aJ);
32618
- let oJ, sJ;
32619
- t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (oJ = () => v, sJ = [], t[23] = oJ, t[24] = sJ) : (oJ = t[23], sJ = t[24]), (0, import_react.useEffect)(oJ, sJ);
32620
- let cJ;
32621
- return t[25] !== rJ || t[26] !== Q || t[27] !== q || t[28] !== U || t[29] !== S || t[30] !== d || t[31] !== o ? (cJ = {
32639
+ ], t[20] = S, t[21] = cJ, t[22] = lJ), (0, import_react.useEffect)(cJ, lJ);
32640
+ let uJ, dJ;
32641
+ t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (uJ = () => v, dJ = [], t[23] = uJ, t[24] = dJ) : (uJ = t[23], dJ = t[24]), (0, import_react.useEffect)(uJ, dJ);
32642
+ let fJ;
32643
+ return t[25] !== sJ || t[26] !== Q || t[27] !== q || t[28] !== U || t[29] !== S || t[30] !== d || t[31] !== o ? (fJ = {
32622
32644
  tooltipState: o,
32623
32645
  tooltipContentId: d,
32624
32646
  hideTooltip: S,
32625
32647
  handleCellMouseOver: U,
32626
32648
  handleCellMouseLeave: q,
32627
32649
  handleCellFocus: Q,
32628
- handleCellBlur: rJ
32629
- }, t[25] = rJ, t[26] = Q, t[27] = q, t[28] = U, t[29] = S, t[30] = d, t[31] = o, t[32] = cJ) : cJ = t[32], cJ;
32650
+ handleCellBlur: sJ
32651
+ }, t[25] = sJ, t[26] = Q, t[27] = q, t[28] = U, t[29] = S, t[30] = d, t[31] = o, t[32] = fJ) : fJ = t[32], fJ;
32630
32652
  }
32631
32653
  var import_compiler_runtime$18 = require_compiler_runtime();
32632
32654
  const CellRangeSelectionIndicator = (0, import_react.memo)((e) => {
@@ -34064,7 +34086,7 @@ ${n}` : "Please fix this error.";
34064
34086
  filename: i2.filename
34065
34087
  };
34066
34088
  }, t[6] = e, t[7] = O);
34067
- let A = O, M, I, z, U, K, q, J, Q, $, rJ, iJ, aJ, oJ;
34089
+ let A = O, M, I, z, U, K, q, J, Q, $, sJ, cJ, lJ, uJ;
34068
34090
  if (t[8] !== E || t[9] !== c || t[10] !== n || t[11] !== A || t[12] !== d) {
34069
34091
  let e2 = async (t2) => {
34070
34092
  let n2 = labelForDownloadFormat(t2);
@@ -34130,10 +34152,10 @@ ${n}` : "Please fix this error.";
34130
34152
  content: d,
34131
34153
  open: o,
34132
34154
  children: h
34133
- }), t[32] = o, t[33] = h, t[34] = d, t[35] = Q) : Q = t[35], M = DropdownMenuContent, $ = "bottom", rJ = "print:hidden", t[36] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (iJ = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
34155
+ }), t[32] = o, t[33] = h, t[34] = d, t[35] = Q) : Q = t[35], M = DropdownMenuContent, $ = "bottom", sJ = "print:hidden", t[36] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (cJ = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
34134
34156
  className: "text-xs text-muted-foreground",
34135
34157
  children: "Download"
34136
- }), t[36] = iJ) : iJ = t[36], aJ = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
34158
+ }), t[36] = cJ) : cJ = t[36], lJ = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
34137
34159
  onSelect: () => {
34138
34160
  e2(t2.format);
34139
34161
  },
@@ -34154,10 +34176,10 @@ ${n}` : "Please fix this error.";
34154
34176
  ]
34155
34177
  })
34156
34178
  ]
34157
- }, t2.label)), t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (oJ = (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {}), z = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
34179
+ }, t2.label)), t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (uJ = (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {}), z = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
34158
34180
  className: "text-xs text-muted-foreground",
34159
34181
  children: "Copy to clipboard"
34160
- }), t[37] = z, t[38] = oJ) : (z = t[37], oJ = t[38]), U = copyOptions.map((e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
34182
+ }), t[37] = z, t[38] = uJ) : (z = t[37], uJ = t[38]), U = copyOptions.map((e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
34161
34183
  onSelect: async () => {
34162
34184
  try {
34163
34185
  await a2(e3.format);
@@ -34186,30 +34208,30 @@ ${n}` : "Please fix this error.";
34186
34208
  ]
34187
34209
  })
34188
34210
  ]
34189
- }, e3.label)), t[8] = E, t[9] = c, t[10] = n, t[11] = A, t[12] = d, 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] = $, t[22] = rJ, t[23] = iJ, t[24] = aJ, t[25] = oJ;
34190
- } else M = t[13], I = t[14], z = t[15], U = t[16], K = t[17], q = t[18], J = t[19], Q = t[20], $ = t[21], rJ = t[22], iJ = t[23], aJ = t[24], oJ = t[25];
34191
- let sJ;
34192
- t[39] !== M || t[40] !== z || t[41] !== U || t[42] !== $ || t[43] !== rJ || t[44] !== iJ || t[45] !== aJ || t[46] !== oJ ? (sJ = (0, import_jsx_runtime.jsxs)(M, {
34211
+ }, e3.label)), t[8] = E, t[9] = c, t[10] = n, t[11] = A, t[12] = d, 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] = $, t[22] = sJ, t[23] = cJ, t[24] = lJ, t[25] = uJ;
34212
+ } else M = t[13], I = t[14], z = t[15], U = t[16], K = t[17], q = t[18], J = t[19], Q = t[20], $ = t[21], sJ = t[22], cJ = t[23], lJ = t[24], uJ = t[25];
34213
+ let dJ;
34214
+ t[39] !== M || t[40] !== z || t[41] !== U || t[42] !== $ || t[43] !== sJ || t[44] !== cJ || t[45] !== lJ || t[46] !== uJ ? (dJ = (0, import_jsx_runtime.jsxs)(M, {
34193
34215
  side: $,
34194
- className: rJ,
34216
+ className: sJ,
34195
34217
  children: [
34196
- iJ,
34197
- aJ,
34198
- oJ,
34218
+ cJ,
34219
+ lJ,
34220
+ uJ,
34199
34221
  z,
34200
34222
  U
34201
34223
  ]
34202
- }), t[39] = M, t[40] = z, t[41] = U, t[42] = $, t[43] = rJ, t[44] = iJ, t[45] = aJ, t[46] = oJ, t[47] = sJ) : sJ = t[47];
34203
- let cJ;
34204
- return t[48] !== I || t[49] !== K || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !== sJ ? (cJ = (0, import_jsx_runtime.jsxs)(I, {
34224
+ }), t[39] = M, t[40] = z, t[41] = U, t[42] = $, t[43] = sJ, t[44] = cJ, t[45] = lJ, t[46] = uJ, t[47] = dJ) : dJ = t[47];
34225
+ let fJ;
34226
+ return t[48] !== I || t[49] !== K || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !== dJ ? (fJ = (0, import_jsx_runtime.jsxs)(I, {
34205
34227
  modal: K,
34206
34228
  open: q,
34207
34229
  onOpenChange: J,
34208
34230
  children: [
34209
34231
  Q,
34210
- sJ
34232
+ dJ
34211
34233
  ]
34212
- }), t[48] = I, t[49] = K, t[50] = q, t[51] = J, t[52] = Q, t[53] = sJ, t[54] = cJ) : cJ = t[54], cJ;
34234
+ }), t[48] = I, t[49] = K, t[50] = q, t[51] = J, t[52] = Q, t[53] = dJ, t[54] = fJ) : fJ = t[54], fJ;
34213
34235
  };
34214
34236
  function fetchJson(e) {
34215
34237
  return fetchText(e).then(jsonParseWithSpecialChar);
@@ -34305,22 +34327,22 @@ ${n}` : "Please fix this error.";
34305
34327
  ]
34306
34328
  });
34307
34329
  };
34308
- DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: a, rawData: s, selection: c, totalColumns: d, totalRows: f, sizeBytes: _, sizeBytesIsLoading: v, manualSorting: y = false, sorting: S, setSorting: w, rowSelection: E, cellSelection: O, cellStyling: A, hoverTemplate: M, cellHoverTexts: I, paginationState: z, setPaginationState: U, downloadAs: K, manualPagination: q = false, pagination: J = false, onRowSelectionChange: Q, onCellSelectionChange: $, getRowIds: rJ, showSearch: iJ = false, searchQuery: aJ, onSearchQueryChange: oJ, showFilters: sJ = false, filters: cJ, onFiltersChange: lJ, calculateTopKRows: uJ, reloading: dJ, freezeColumnsLeft: fJ, freezeColumnsRight: pJ, hiddenColumns: mJ, toggleDisplayHeader: hJ, showChartBuilder: gJ, isChartBuilderOpen: _J, showPageSizeSelector: vJ, showTableExplorer: yJ, togglePanel: bJ, isPanelOpen: xJ, isAnyPanelOpen: SJ, viewedRowIdx: CJ, onViewedRowChange: wJ, renderTableExplorerPanel: TJ }) => {
34309
- let EJ = isStaticNotebook(), DJ = !EJ, [OJ, kJ] = import_react.useState(false), { locale: AJ } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: jJ, setColumnPinning: MJ } = useColumnPinning(fJ, pJ), { columnVisibility: NJ, setColumnVisibility: PJ } = useColumnVisibility(mJ);
34330
+ DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: a, rawData: s, selection: c, totalColumns: d, totalRows: f, sizeBytes: _, sizeBytesIsLoading: v, manualSorting: y = false, sorting: S, setSorting: w, rowSelection: E, cellSelection: O, cellStyling: A, hoverTemplate: M, cellHoverTexts: I, paginationState: z, setPaginationState: U, downloadAs: K, manualPagination: q = false, pagination: J = false, onRowSelectionChange: Q, onCellSelectionChange: $, getRowIds: sJ, showSearch: cJ = false, searchQuery: lJ, onSearchQueryChange: uJ, showFilters: dJ = false, filters: fJ, onFiltersChange: pJ, calculateTopKRows: mJ, reloading: hJ, freezeColumnsLeft: gJ, freezeColumnsRight: _J, hiddenColumns: vJ, toggleDisplayHeader: yJ, showChartBuilder: bJ, isChartBuilderOpen: xJ, showPageSizeSelector: SJ, showTableExplorer: CJ, togglePanel: wJ, isPanelOpen: TJ, isAnyPanelOpen: EJ, viewedRowIdx: DJ, onViewedRowChange: OJ, renderTableExplorerPanel: kJ }) => {
34331
+ let AJ = isStaticNotebook(), jJ = !AJ, [MJ, NJ] = import_react.useState(false), { locale: PJ } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: FJ, setColumnPinning: IJ } = useColumnPinning(gJ, _J), { columnVisibility: LJ, setColumnVisibility: RJ } = useColumnVisibility(vJ);
34310
34332
  import_react.useEffect(() => {
34311
34333
  let e2;
34312
- return dJ ? e2 = setTimeout(() => {
34313
- kJ(true);
34314
- }, 300) : kJ(false), () => {
34334
+ return hJ ? e2 = setTimeout(() => {
34335
+ NJ(true);
34336
+ }, 300) : NJ(false), () => {
34315
34337
  e2 && clearTimeout(e2);
34316
34338
  };
34317
34339
  }, [
34318
- dJ
34340
+ hJ
34319
34341
  ]);
34320
- function FJ(e2, t2) {
34342
+ function zJ(e2, t2) {
34321
34343
  return z ? t2 + (q ? z.pageIndex * z.pageSize : 0) : t2;
34322
34344
  }
34323
- let IJ = useReactTable({
34345
+ let BJ = useReactTable({
34324
34346
  _features: [
34325
34347
  ColumnPinning,
34326
34348
  ColumnWrappingFeature,
@@ -34344,37 +34366,37 @@ ${n}` : "Please fix this error.";
34344
34366
  getRowId: (e2, t2) => {
34345
34367
  let n2 = getStableRowId(e2);
34346
34368
  if (n2) return n2;
34347
- let i2 = FJ(e2, t2);
34369
+ let i2 = zJ(e2, t2);
34348
34370
  return String(i2);
34349
34371
  }
34350
34372
  } : {},
34351
- locale: AJ,
34373
+ locale: PJ,
34352
34374
  manualPagination: q,
34353
34375
  getPaginationRowModel: getPaginationRowModel(),
34354
34376
  ...w ? {
34355
34377
  onSortingChange: w
34356
34378
  } : {},
34357
34379
  manualSorting: y,
34358
- enableSorting: !EJ,
34380
+ enableSorting: !AJ,
34359
34381
  enableMultiSort: true,
34360
34382
  getSortedRowModel: getSortedRowModel(),
34361
34383
  manualFiltering: true,
34362
- enableColumnFilters: sJ && !EJ,
34384
+ enableColumnFilters: dJ && !AJ,
34363
34385
  getFilteredRowModel: getFilteredRowModel(),
34364
- onColumnFiltersChange: lJ,
34386
+ onColumnFiltersChange: pJ,
34365
34387
  onRowSelectionChange: Q,
34366
34388
  onCellSelectionChange: $,
34367
34389
  enableCellSelection: c === "single-cell" || c === "multi-cell",
34368
34390
  enableMultiCellSelection: c === "multi-cell",
34369
- onColumnPinningChange: MJ,
34370
- onColumnVisibilityChange: PJ,
34391
+ onColumnPinningChange: IJ,
34392
+ onColumnVisibilityChange: RJ,
34371
34393
  enableFocusRow: true,
34372
- onFocusRowChange: wJ,
34394
+ onFocusRowChange: OJ,
34373
34395
  state: {
34374
34396
  ...S ? {
34375
34397
  sorting: S
34376
34398
  } : {},
34377
- columnFilters: cJ,
34399
+ columnFilters: fJ,
34378
34400
  ...z ? {
34379
34401
  pagination: z
34380
34402
  } : J && !z ? {} : {
@@ -34385,60 +34407,60 @@ ${n}` : "Please fix this error.";
34385
34407
  },
34386
34408
  rowSelection: E ?? {},
34387
34409
  cellSelection: O ?? [],
34388
- columnVisibility: NJ,
34410
+ columnVisibility: LJ,
34389
34411
  cellStyling: A,
34390
- columnPinning: jJ,
34412
+ columnPinning: FJ,
34391
34413
  cellHoverTemplate: M,
34392
34414
  cellHoverTexts: I ?? {}
34393
34415
  }
34394
- }), LJ = (xJ == null ? void 0 : xJ(PANEL_TYPES.ROW_VIEWER)) ?? false, RJ = !J && a.length > 100, zJ = useScrollContainerHeight({
34416
+ }), VJ = (TJ == null ? void 0 : TJ(PANEL_TYPES.ROW_VIEWER)) ?? false, HJ = !J && a.length > 100, UJ = useScrollContainerHeight({
34395
34417
  maxHeight: n,
34396
- virtualize: RJ
34397
- }), [BJ, VJ] = import_react.useState(null), HJ = import_react.useMemo(() => ({
34418
+ virtualize: HJ
34419
+ }), [WJ, GJ] = import_react.useState(null), KJ = import_react.useMemo(() => ({
34398
34420
  requestAddFilter: (e2) => {
34399
- let t2 = IJ.getColumn(e2.columnId);
34400
- t2 && VJ(buildEditorSnapshot(t2, {
34421
+ let t2 = BJ.getColumn(e2.columnId);
34422
+ t2 && GJ(buildEditorSnapshot(t2, {
34401
34423
  operator: e2.operator
34402
34424
  }));
34403
34425
  }
34404
34426
  }), [
34405
- IJ
34406
- ]), UJ = getUserColumnVisibilityCounts(IJ), WJ = UJ.total > 0 && UJ.visible === 0;
34427
+ BJ
34428
+ ]), qJ = getUserColumnVisibilityCounts(BJ), JJ = qJ.total > 0 && qJ.visible === 0;
34407
34429
  return (0, import_jsx_runtime.jsx)(FilterEditorProvider, {
34408
- value: HJ,
34430
+ value: KJ,
34409
34431
  children: (0, import_jsx_runtime.jsxs)("div", {
34410
34432
  className: cn(e, "flex flex-col space-y-1"),
34411
34433
  children: [
34412
34434
  (0, import_jsx_runtime.jsx)(FilterPills, {
34413
- filters: cJ,
34414
- table: IJ,
34415
- calculateTopKRows: uJ,
34416
- addFilterSnapshot: BJ,
34417
- onAddFilterSnapshotChange: VJ
34435
+ filters: fJ,
34436
+ table: BJ,
34437
+ calculateTopKRows: mJ,
34438
+ addFilterSnapshot: WJ,
34439
+ onAddFilterSnapshotChange: GJ
34418
34440
  }),
34419
- TJ == null ? void 0 : TJ(IJ),
34441
+ kJ == null ? void 0 : kJ(BJ),
34420
34442
  (0, import_jsx_runtime.jsx)(CellSelectionProvider, {
34421
34443
  children: (0, import_jsx_runtime.jsxs)("div", {
34422
34444
  part: "table-wrapper",
34423
34445
  className: cn(t || "rounded-md border overflow-hidden"),
34424
34446
  children: [
34425
- DJ && (0, import_jsx_runtime.jsx)(TableTopBar, {
34426
- table: IJ,
34427
- showSearch: iJ,
34428
- searchQuery: aJ,
34429
- onSearchQueryChange: oJ,
34430
- reloading: dJ,
34431
- showChartBuilder: gJ,
34432
- isChartBuilderOpen: _J,
34433
- toggleDisplayHeader: hJ,
34434
- showTableExplorer: yJ,
34435
- togglePanel: bJ,
34436
- isAnyPanelOpen: SJ,
34447
+ jJ && (0, import_jsx_runtime.jsx)(TableTopBar, {
34448
+ table: BJ,
34449
+ showSearch: cJ,
34450
+ searchQuery: lJ,
34451
+ onSearchQueryChange: uJ,
34452
+ reloading: hJ,
34453
+ showChartBuilder: bJ,
34454
+ isChartBuilderOpen: xJ,
34455
+ toggleDisplayHeader: yJ,
34456
+ showTableExplorer: CJ,
34457
+ togglePanel: wJ,
34458
+ isAnyPanelOpen: EJ,
34437
34459
  downloadAs: K,
34438
34460
  sizeBytes: _,
34439
34461
  sizeBytesIsLoading: v
34440
34462
  }),
34441
- WJ && (0, import_jsx_runtime.jsxs)(Banner, {
34463
+ JJ && (0, import_jsx_runtime.jsxs)(Banner, {
34442
34464
  className: "mb-1 mx-2 rounded flex items-center justify-between",
34443
34465
  children: [
34444
34466
  (0, import_jsx_runtime.jsx)("span", {
@@ -34447,26 +34469,26 @@ ${n}` : "Please fix this error.";
34447
34469
  (0, import_jsx_runtime.jsx)(Button, {
34448
34470
  variant: "link",
34449
34471
  size: "xs",
34450
- onClick: () => IJ.resetColumnVisibility(true),
34472
+ onClick: () => BJ.resetColumnVisibility(true),
34451
34473
  children: "Unhide all"
34452
34474
  })
34453
34475
  ]
34454
34476
  }),
34455
34477
  (0, import_jsx_runtime.jsxs)(Table, {
34456
34478
  className: cn("relative", i.length <= 4 ? "w-auto" : "w-full"),
34457
- ref: zJ,
34479
+ ref: UJ,
34458
34480
  children: [
34459
- OJ && (0, import_jsx_runtime.jsx)("thead", {
34481
+ MJ && (0, import_jsx_runtime.jsx)("thead", {
34460
34482
  className: "absolute top-0 left-0 h-[3px] w-1/2 bg-primary animate-slide"
34461
34483
  }),
34462
- renderTableHeader(IJ, RJ || !!n),
34484
+ renderTableHeader(BJ, HJ || !!n),
34463
34485
  (0, import_jsx_runtime.jsx)(DataTableBody, {
34464
- table: IJ,
34486
+ table: BJ,
34465
34487
  columns: i,
34466
- rowViewerPanelOpen: LJ,
34467
- getRowIndex: FJ,
34468
- viewedRowIdx: CJ,
34469
- virtualize: RJ
34488
+ rowViewerPanelOpen: VJ,
34489
+ getRowIndex: zJ,
34490
+ viewedRowIdx: DJ,
34491
+ virtualize: HJ
34470
34492
  })
34471
34493
  ]
34472
34494
  }),
@@ -34477,10 +34499,10 @@ ${n}` : "Please fix this error.";
34477
34499
  pagination: J,
34478
34500
  selection: c,
34479
34501
  onRowSelectionChange: Q,
34480
- table: IJ,
34481
- getRowIds: rJ,
34482
- showPageSizeSelector: vJ,
34483
- tableLoading: dJ
34502
+ table: BJ,
34503
+ getRowIds: sJ,
34504
+ showPageSizeSelector: SJ,
34505
+ tableLoading: hJ
34484
34506
  })
34485
34507
  ]
34486
34508
  })
@@ -34582,43 +34604,43 @@ ${d}`,
34582
34604
  }, t[15] = a, t[16] = d, t[17] = _, t[18] = J) : J = t[18];
34583
34605
  let Q = J, $;
34584
34606
  t[19] === z ? $ = t[20] : ($ = () => U(!z), t[19] = z, t[20] = $);
34585
- let iJ = z ? "Collapse traceback" : "Expand traceback", aJ;
34586
- t[21] === z ? aJ = t[22] : (aJ = z ? (0, import_jsx_runtime.jsx)(ChevronDown, {
34607
+ let cJ = z ? "Collapse traceback" : "Expand traceback", lJ;
34608
+ t[21] === z ? lJ = t[22] : (lJ = z ? (0, import_jsx_runtime.jsx)(ChevronDown, {
34587
34609
  className: "h-3 w-3"
34588
34610
  }) : (0, import_jsx_runtime.jsx)(ChevronRight, {
34589
34611
  className: "h-3 w-3"
34590
- }), t[21] = z, t[22] = aJ);
34591
- let oJ;
34592
- t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (oJ = (0, import_jsx_runtime.jsx)("span", {
34612
+ }), t[21] = z, t[22] = lJ);
34613
+ let uJ;
34614
+ t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (uJ = (0, import_jsx_runtime.jsx)("span", {
34593
34615
  className: "text-[0.6875rem] uppercase tracking-wider",
34594
34616
  children: "Traceback"
34595
- }), t[23] = oJ) : oJ = t[23];
34596
- let cJ;
34597
- t[24] !== z || t[25] !== aJ || t[26] !== $ || t[27] !== iJ ? (cJ = (0, import_jsx_runtime.jsxs)("button", {
34617
+ }), t[23] = uJ) : uJ = t[23];
34618
+ let fJ;
34619
+ t[24] !== z || t[25] !== lJ || t[26] !== $ || t[27] !== cJ ? (fJ = (0, import_jsx_runtime.jsxs)("button", {
34598
34620
  type: "button",
34599
34621
  onClick: $,
34600
34622
  "aria-expanded": z,
34601
- "aria-label": iJ,
34623
+ "aria-label": cJ,
34602
34624
  className: "self-start flex items-center gap-1 pt-2 text-muted-foreground/70 hover:text-muted-foreground transition-colors",
34603
34625
  children: [
34604
- aJ,
34605
- oJ
34626
+ lJ,
34627
+ uJ
34606
34628
  ]
34607
- }), t[24] = z, t[25] = aJ, t[26] = $, t[27] = iJ, t[28] = cJ) : cJ = t[28];
34608
- let lJ;
34609
- t[29] !== s || t[30] !== z ? (lJ = z && (0, import_jsx_runtime.jsx)("div", {
34629
+ }), t[24] = z, t[25] = lJ, t[26] = $, t[27] = cJ, t[28] = fJ) : fJ = t[28];
34630
+ let pJ;
34631
+ t[29] !== s || t[30] !== z ? (pJ = z && (0, import_jsx_runtime.jsx)("div", {
34610
34632
  className: "text-muted-foreground pr-4 text-xs overflow-auto",
34611
34633
  children: s
34612
- }), t[29] = s, t[30] = z, t[31] = lJ) : lJ = t[31];
34613
- let uJ;
34614
- t[32] !== q || t[33] !== Q || t[34] !== M ? (uJ = M && (0, import_jsx_runtime.jsx)(AIFixButton, {
34634
+ }), t[29] = s, t[30] = z, t[31] = pJ) : pJ = t[31];
34635
+ let mJ;
34636
+ t[32] !== q || t[33] !== Q || t[34] !== M ? (mJ = M && (0, import_jsx_runtime.jsx)(AIFixButton, {
34615
34637
  tooltip: "Fix with AI",
34616
34638
  openPrompt: () => q(false),
34617
34639
  applyAutofix: () => q(true),
34618
34640
  openChat: Q
34619
- }), t[32] = q, t[33] = Q, t[34] = M, t[35] = uJ) : uJ = t[35];
34620
- let dJ;
34621
- t[36] !== O || t[37] !== S ? (dJ = O && (0, import_jsx_runtime.jsx)(Tooltip, {
34641
+ }), t[32] = q, t[33] = Q, t[34] = M, t[35] = mJ) : mJ = t[35];
34642
+ let hJ;
34643
+ t[36] !== O || t[37] !== S ? (hJ = O && (0, import_jsx_runtime.jsx)(Tooltip, {
34622
34644
  content: "Attach pdb to the exception point.",
34623
34645
  children: (0, import_jsx_runtime.jsxs)(Button, {
34624
34646
  size: "xs",
@@ -34635,9 +34657,9 @@ ${d}`,
34635
34657
  "Launch debugger"
34636
34658
  ]
34637
34659
  })
34638
- }), t[36] = O, t[37] = S, t[38] = dJ) : dJ = t[38];
34639
- let fJ;
34640
- t[39] !== d || t[40] !== i ? (fJ = I && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
34660
+ }), t[36] = O, t[37] = S, t[38] = hJ) : hJ = t[38];
34661
+ let gJ;
34662
+ t[39] !== d || t[40] !== i ? (gJ = I && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
34641
34663
  children: [
34642
34664
  (0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
34643
34665
  asChild: true,
@@ -34705,25 +34727,25 @@ ${d}`,
34705
34727
  ]
34706
34728
  })
34707
34729
  ]
34708
- }), t[39] = d, t[40] = i, t[41] = fJ) : fJ = t[41];
34709
- let pJ;
34710
- t[42] !== uJ || t[43] !== dJ || t[44] !== fJ ? (pJ = (0, import_jsx_runtime.jsxs)("div", {
34730
+ }), t[39] = d, t[40] = i, t[41] = gJ) : gJ = t[41];
34731
+ let _J;
34732
+ t[42] !== mJ || t[43] !== hJ || t[44] !== gJ ? (_J = (0, import_jsx_runtime.jsxs)("div", {
34711
34733
  className: "flex gap-2",
34712
34734
  children: [
34713
- uJ,
34714
- dJ,
34715
- fJ
34735
+ mJ,
34736
+ hJ,
34737
+ gJ
34716
34738
  ]
34717
- }), t[42] = uJ, t[43] = dJ, t[44] = fJ, t[45] = pJ) : pJ = t[45];
34718
- let mJ;
34719
- return t[46] !== cJ || t[47] !== lJ || t[48] !== pJ ? (mJ = (0, import_jsx_runtime.jsxs)("div", {
34739
+ }), t[42] = mJ, t[43] = hJ, t[44] = gJ, t[45] = _J) : _J = t[45];
34740
+ let vJ;
34741
+ return t[46] !== fJ || t[47] !== pJ || t[48] !== _J ? (vJ = (0, import_jsx_runtime.jsxs)("div", {
34720
34742
  className: "flex flex-col gap-2 min-w-full w-fit",
34721
34743
  children: [
34722
- cJ,
34723
- lJ,
34724
- pJ
34744
+ fJ,
34745
+ pJ,
34746
+ _J
34725
34747
  ]
34726
- }), t[46] = cJ, t[47] = lJ, t[48] = pJ, t[49] = mJ) : mJ = t[49], mJ;
34748
+ }), t[46] = fJ, t[47] = pJ, t[48] = _J, t[49] = vJ) : vJ = t[49], vJ;
34727
34749
  };
34728
34750
  function lastLine(e) {
34729
34751
  var _a2, _b;
@@ -36159,14 +36181,14 @@ ${d}`,
36159
36181
  Q
36160
36182
  ]
36161
36183
  }), t[33] = J, t[34] = Q, t[35] = $) : $ = t[35];
36162
- let rJ;
36163
- return t[36] !== I || t[37] !== $ ? (rJ = (0, import_jsx_runtime.jsxs)("div", {
36184
+ let sJ;
36185
+ return t[36] !== I || t[37] !== $ ? (sJ = (0, import_jsx_runtime.jsxs)("div", {
36164
36186
  className: "flex flex-col gap-3",
36165
36187
  children: [
36166
36188
  I,
36167
36189
  $
36168
36190
  ]
36169
- }), t[36] = I, t[37] = $, t[38] = rJ) : rJ = t[38], rJ;
36191
+ }), t[36] = I, t[37] = $, t[38] = sJ) : sJ = t[38], sJ;
36170
36192
  };
36171
36193
  SlideSidebar = (e) => {
36172
36194
  let t = (0, import_compiler_runtime$1.c)(30), { configWidth: n, layout: i, setLayout: a, activeConfigCell: s } = e, [c, d] = useAtom(slideConfigOpenAtom), f = c ? n : COLLAPSED_CONFIG_WIDTH, _;
@@ -36291,7 +36313,7 @@ ${d}`,
36291
36313
  return Logger.warn("Failed to get version from mount config"), null;
36292
36314
  }
36293
36315
  }
36294
- marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.16-dev76");
36316
+ marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.16-dev9");
36295
36317
  showCodeInRunModeAtom = atom(true);
36296
36318
  atom(null);
36297
36319
  var import_compiler_runtime = require_compiler_runtime();
@@ -36375,67 +36397,68 @@ export {
36375
36397
  Kbd as Zt,
36376
36398
  InstallPackageButton as _,
36377
36399
  __tla,
36378
- ArrowDownWideNarrow as _n,
36400
+ ChevronLeft as _n,
36379
36401
  TableHeader as _t,
36380
36402
  DEFAULT_DECK_VERTICAL_ALIGN as a,
36381
- GripHorizontal as an,
36403
+ TextWrap as an,
36382
36404
  SlotNames as at,
36383
36405
  downloadByURL as b,
36384
36406
  generateColumns as bt,
36385
36407
  SlideSidebar as c,
36386
- Expand as cn,
36408
+ EyeOff as cn,
36387
36409
  Panel as ct,
36388
36410
  RadioGroup as d,
36389
- Code as dn,
36411
+ Download as dn,
36390
36412
  Fill as dt,
36391
- hasFunctionProperty as en,
36413
+ safeLocale as en,
36392
36414
  PANEL_TYPES as et,
36393
36415
  RadioGroupItem as f,
36394
- ChevronsUpDown as fn,
36416
+ Code as fn,
36395
36417
  Provider$1 as ft,
36396
36418
  DataTable as g,
36397
- ChevronLeft as gn,
36419
+ ChevronsDownUp as gn,
36398
36420
  TableHead as gt,
36399
36421
  OutputRenderer as h,
36400
- ChevronsDownUp as hn,
36422
+ ChevronsLeft as hn,
36401
36423
  TableCell as ht,
36402
36424
  DEFAULT_DECK_TRANSITION as i,
36403
- TextWrap as in,
36425
+ $fae977aafc393c5c$export$6b862160d295c8e as in,
36404
36426
  isCellAwareAtom as it,
36405
36427
  prettifyRowCount as j,
36406
36428
  INDEX_COLUMN_NAME as jt,
36407
36429
  LoadingState as k,
36408
36430
  loadTableAndRawData as kt,
36409
36431
  Slide as l,
36410
- Ellipsis as ln,
36432
+ Expand as ln,
36411
36433
  PanelGroup as lt,
36412
36434
  OutputArea as m,
36413
- ChevronsLeft as mn,
36435
+ ChevronsRight as mn,
36414
36436
  TableBody as mt,
36415
36437
  marimoVersionAtom as n,
36416
- $fae977aafc393c5c$export$588937bcd60ade55 as nn,
36438
+ isRecord as nn,
36417
36439
  contextAwarePanelOwner as nt,
36418
36440
  DEFAULT_SLIDE_TYPE as o,
36419
- Funnel as on,
36441
+ GripHorizontal as on,
36420
36442
  slotsController as ot,
36421
36443
  JsonOutput as p,
36422
- ChevronsRight as pn,
36444
+ ChevronsUpDown as pn,
36423
36445
  Table as pt,
36424
36446
  CommandEmpty as q,
36425
36447
  ChartLoadingState as qt,
36426
36448
  showCodeInRunModeAtom as r,
36427
- $fae977aafc393c5c$export$6b862160d295c8e as rn,
36449
+ $fae977aafc393c5c$export$588937bcd60ade55 as rn,
36428
36450
  contextAwarePanelType as rt,
36429
36451
  SLIDE_TYPE_OPTIONS_BY_VALUE as s,
36430
- EyeOff as sn,
36452
+ Funnel as sn,
36431
36453
  Toggle as st,
36432
36454
  useNotebookCodeAvailable as t,
36433
- isRecord as tn,
36455
+ hasFunctionProperty as tn,
36434
36456
  contextAwarePanelOpen as tt,
36435
36457
  Switch as u,
36436
- Download as un,
36458
+ Ellipsis as un,
36437
36459
  PanelResizeHandle as ut,
36438
36460
  ADD_PRINTING_CLASS as v,
36461
+ ArrowDownWideNarrow as vn,
36439
36462
  TableRow as vt,
36440
36463
  downloadSizeLimitAtom as w,
36441
36464
  ColumnChartSpecModel as wt,