@marimo-team/islands 0.23.9-dev10 → 0.23.9-dev12

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 (24) hide show
  1. package/dist/{ConnectedDataExplorerComponent-OzrfMM5L.js → ConnectedDataExplorerComponent-DFQ1yVhp.js} +4 -4
  2. package/dist/{chat-ui-BDI3FMI8.js → chat-ui-xfKWgbtB.js} +6 -6
  3. package/dist/{code-visibility-7NV5S02K.js → code-visibility-BtojRYax.js} +948 -918
  4. package/dist/{formats-DQ5qjo_Q.js → formats-BHOojBDG.js} +1 -1
  5. package/dist/{glide-data-editor-DqRY9naW.js → glide-data-editor-CpzEdx8N.js} +2 -2
  6. package/dist/{html-to-image-CiSinpSR.js → html-to-image-DjEqYaQd.js} +5 -5
  7. package/dist/{input-CZD2z6X2.js → input-DBDlwwuD.js} +1 -1
  8. package/dist/main.js +17 -17
  9. package/dist/{mermaid-IU93XzmY.js → mermaid-D00onudG.js} +2 -2
  10. package/dist/{process-output-5qJjMRKh.js → process-output-Cz6wQSkL.js} +1 -1
  11. package/dist/{reveal-component-CBOpXCsm.js → reveal-component-CIxmUvf5.js} +12 -12
  12. package/dist/{spec-a6DaqW__.js → spec-BQbOvWbq.js} +1 -1
  13. package/dist/style.css +1 -1
  14. package/dist/{toDate-ZVVIBmdk.js → toDate-DqrFDZlc.js} +1 -1
  15. package/dist/{useAsyncData-C008zUPi.js → useAsyncData-4lY05iWF.js} +1 -1
  16. package/dist/{useDeepCompareMemoize-BrA3_n61.js → useDeepCompareMemoize-C5Zu9gK6.js} +1 -1
  17. package/dist/{useLifecycle-BNaoJ5a4.js → useLifecycle-YLdDriVo.js} +1 -1
  18. package/dist/{useTheme-7O0YWlE5.js → useTheme-u3PW8S24.js} +19 -18
  19. package/dist/{vega-component-DJNmOdUj.js → vega-component-CdQu2ErN.js} +5 -5
  20. package/package.json +1 -1
  21. package/src/components/editor/output/MarimoErrorOutput.tsx +103 -25
  22. package/src/components/editor/output/MarimoTracebackOutput.tsx +24 -36
  23. package/src/core/codemirror/cells/traceback-decorations.ts +1 -1
  24. package/src/css/app/Cell.css +0 -1
@@ -6,14 +6,14 @@ import { _ as Logger, c as Objects, g as cn, h as Events, m as useComposedRefs,
6
6
  import { t as require_react } from "./react-DA-nE2FX.js";
7
7
  import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
8
8
  import { n as Copy, r as toast, t as copyToClipboard } from "./copy-BuQpJEzp.js";
9
- import { $ as useCellActions, $t as getTracebackInfo, A as ChevronRightIcon, An as Minus, C as AccordionContent, En as Trash2, Ft as jotaiJsonStorage, Hn as esm_default, I as base64ToUint8Array, In as ExternalLink, Jt as useRequestClient, Kt as getRequestClient, Lt as PluralWord, M as PinLeftIcon, Mt as useChromeActions, N as PinRightIcon, O as CheckIcon, Pn as FileText, Pt as adaptForLocalStorage, Qt as extractAllTracebackInfo, R as extractBase64FromDataURL, S as Accordion, St as Checkbox, T as AccordionTrigger, Tn as Wrench, Un as import_lib, V as renderHTML, Vn as Braces, Y as notebookAtom, Zt as elementContainsMarimoCellFile, _n as atomWithStorage, _t as getCellDomProps, at as AnsiUp, bn as Close$1, c as Popover, cn as SCRATCH_CELL_ID, ct as kioskModeAtom, d as PopoverTrigger, dt as outputIsLoading, et as useCellIds, g as getDatasourceContext, gt as DATA_CELL_ID, hn as jsonToTSV, ht as sanitizeHtml, j as DotFilledIcon, jn as LoaderCircle, kn as NotebookPen, kt as goToCellLine, l as PopoverClose, lt as useInstallAllowed, m as useExpandedOutput, mn as jsonToMarkdown, n as Spinner, nn as filenameAtom, on as CellOutputId, pn as jsonParseWithSpecialChar, q as getCellEditorView, r as MarkdownRenderer, sn as HTMLCellId, t as toPng, tt as useCellNames, u as PopoverContent, ut as viewStateAtom, vt as displayCellName, w as AccordionItem, z as isDataURLString, zn as CircleX, zt as DATA_TYPE_ICON, __tla as __tla_0 } from "./html-to-image-CiSinpSR.js";
9
+ import { $ as useCellActions, $t as getTracebackInfo, A as ChevronRightIcon, An as Minus, C as AccordionContent, En as Trash2, Ft as jotaiJsonStorage, Hn as esm_default, I as base64ToUint8Array, In as ExternalLink, Jt as useRequestClient, Kt as getRequestClient, Lt as PluralWord, M as PinLeftIcon, Mt as useChromeActions, N as PinRightIcon, Nn as Info, O as CheckIcon, Pn as FileText, Pt as adaptForLocalStorage, Qt as extractAllTracebackInfo, R as extractBase64FromDataURL, S as Accordion, St as Checkbox, T as AccordionTrigger, Tn as Wrench, Un as import_lib, V as renderHTML, Vn as Braces, Y as notebookAtom, Zt as elementContainsMarimoCellFile, _n as atomWithStorage, _t as getCellDomProps, at as AnsiUp, bn as Close$1, c as Popover, cn as SCRATCH_CELL_ID, ct as kioskModeAtom, d as PopoverTrigger, dt as outputIsLoading, et as useCellIds, g as getDatasourceContext, gt as DATA_CELL_ID, hn as jsonToTSV, ht as sanitizeHtml, j as DotFilledIcon, jn as LoaderCircle, kn as NotebookPen, kt as goToCellLine, l as PopoverClose, lt as useInstallAllowed, m as useExpandedOutput, mn as jsonToMarkdown, n as Spinner, nn as filenameAtom, on as CellOutputId, pn as jsonParseWithSpecialChar, q as getCellEditorView, r as MarkdownRenderer, sn as HTMLCellId, t as toPng, tt as useCellNames, u as PopoverContent, ut as viewStateAtom, vt as displayCellName, w as AccordionItem, z as isDataURLString, zn as CircleX, zt as DATA_TYPE_ICON, __tla as __tla_0 } from "./html-to-image-DjEqYaQd.js";
10
10
  import { o as useSize, u as createLucideIcon } from "./dist-C1BYNeCR.js";
11
- import { c as Calendar, i as createReducerAndAtoms, r as Badge } from "./useLifecycle-BNaoJ5a4.js";
11
+ import { c as Calendar, i as createReducerAndAtoms, r as Badge } from "./useLifecycle-YLdDriVo.js";
12
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-BA4FCquG.js";
13
13
  import { t as Check } from "./check-DTbrK0zt.js";
14
14
  import { C as $a916eb452884faea$export$b7a616150fdb9f44, D as $b5e257d569688ac6$export$535bd6ca7f90a273, F as X, L as ChevronDown, M as usePrevious$1, N as useDirection, S as logNever, T as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, _ as menuItemVariants, b as menuSubTriggerVariants, f as selectStyles, g as menuControlVariants, h as menuControlCheckVariants, i as SelectContent, l as SelectTrigger, m as menuContentCommon, o as SelectItem, p as MENU_ITEM_DISABLED, r as Select, t as Strings, u as SelectValue, v as menuLabelVariants, w as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, y as menuSeparatorVariants } from "./strings-Bu3vlb6W.js";
15
- import { $ as $e5be200c675c3b3a$export$aca958c65c314e6c, $t as Portal, A as $d2b4bc8c273e7be6$export$24d547caef80ccd1, At as $c87311424ea30a05$export$fedb369cb70207f1, B as $64fa3d84918910a7$export$c62b8e45d58ddad9, Bt as $431fbd86ca7dc216$export$f21a1ffae260145a, C as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, Ct as $8ae05eaa5c114e9c$export$7f54fc3180508a52, D as $ee014567cb39d3f0$export$ff05c3ac10437e03, Dt as $c87311424ea30a05$export$78551043582a6a98, E as $ee014567cb39d3f0$export$f551688fc98f2e09, Et as $c87311424ea30a05$export$6446a186d09e379e, F as $64fa3d84918910a7$export$2881499e37b75b9a, Ft as $d4ee10de306f2510$export$b4f377a2b6254582, G as marked, Gt as Anchor2, H as $64fa3d84918910a7$export$ef03459518577ad4, Ht as $bdb11010cef70236$export$b4cc09c592e8fdb8, I as $64fa3d84918910a7$export$29f1550f4b0d4415, It as $d4ee10de306f2510$export$cd4e5573fbe2b576, J as $d2e8511e6f209edf$export$e908e06f4b8e3402, Jt as Content2$1, Kt as Arrow2, L as $64fa3d84918910a7$export$4d86445c2cf5e3, Lt as $d4ee10de306f2510$export$e58f029f0fbfdb29, M as $01b77f81d0f07f68$export$75b6ee27786ba447, Mt as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, N as $01b77f81d0f07f68$export$b04be29aa201d4f5, Nt as $3ef42575df84b30b$export$9d1611c77c2fe928, O as $514c0188e459b4c0$export$5f1af8db9871e1d6, Ot as $c87311424ea30a05$export$9ac100e40613ea10, P as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Pt as $d4ee10de306f2510$export$4282f70798064fe0, Q as $e5be200c675c3b3a$export$a763b9476acd3eb, Qt as Label$1, R as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, Rt as $f4e2df6bd15f8569$export$98658e8c59125e6a, S as $3985021b0ad6602f$export$f5b8910cec6cf069, St as $e9faafb641e167db$export$90fc3a17d93f704c, T as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Tt as $313b98861ee5dd6c$export$d6875122194c7b44, U as $64fa3d84918910a7$export$fabf2dc03a41866e, Ut as $bdb11010cef70236$export$f680877a34711e37, V as $64fa3d84918910a7$export$df3a06d6289f983e, Vt as $ff5963eb1fccf552$export$e08e3b67e392101e, Wt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, X as $e93e671b31057976$export$b8473d3665f3a75a, Xt as Item2$2, Y as $2baaea4c71418dea$export$294aa081a6c6f55d, Yt as Group, Z as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, Zt as ItemIndicator, _ as DropdownMenuSub, _t as $9446cca9a3875146$export$7d15b64cf5a3a4c4, a as NumberField, an as SubContent, at as $6c7bd7858deea686$export$cd11ab140839f11d, b as DropdownMenuTrigger, bt as $b4b717babfbb907b$export$bebd5a1431fec25d, c as prettyNumber, cn as Item, ct as $6db58dc88e78b024$export$2f817fcdc4b89ae0, d as DropdownMenuContent, dn as Search, dt as $9ab94262bd0047c7$export$420e68273165f4ec, en as RadioGroup$2, et as $e5be200c675c3b3a$export$dad6ae84456c676a, fn as Circle, ft as $3ad3f6e1647bc98d$export$80f3e147d781571c, g as DropdownMenuSeparator, gt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, h as DropdownMenuPortal, ht as _class_private_field_init, in as Sub, j as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, jt as $7215afc6de606d6b$export$de79e2c695e052f3, k as $514c0188e459b4c0$export$9afb8bc826b033ea, kt as $c87311424ea30a05$export$a11b0059900ceec8, l as prettyScientificNumber, ln as Root$2, lt as $5b160d28a433310d$export$c17fa47878dc55b6, m as DropdownMenuLabel, mt as $f6c31cce2adf654f$export$45712eceda6fad21, nn as Root3, nt as $319e236875307eab$export$a9b970dcc4ae71a9, o as maxFractionalDigits, on as SubTrigger, ot as $fca6afa0e843324b$export$87b761675e8eaa10, p as DropdownMenuItem, pn as ChevronRight, pt as $507fabe10e71c6fb$export$630ff653c5ada6a9, qt as CheckboxItem, r as Input, rn as Separator$1, rt as $f7dceffc5ad7768b$export$4e328f61c538687f, s as prettyEngineeringNumber, sn as createMenuScope, st as $fca6afa0e843324b$export$f12b703ca79dfbb1, tn as RadioItem, tt as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, u as DropdownMenu, un as createRovingFocusGroupScope, ut as $6179b936705e76d3$export$ae780daf29e6d456, v as DropdownMenuSubContent, vt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, w as $a049562f99e7db0e$export$f9c6924e160136d1, wt as $df56164dff5785e2$export$4338b53315abf666, x as $3985021b0ad6602f$export$37fb8590cf2c088c, xt as $99facab73266f662$export$5add1d006293d136, y as DropdownMenuSubTrigger, yt as $b4b717babfbb907b$export$4c063cf1350e6fed, z as $64fa3d84918910a7$export$c245e6201fed2f75, zt as $431fbd86ca7dc216$export$b204af158042fbac } from "./input-CZD2z6X2.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-ZVVIBmdk.js";
15
+ import { $ as $e5be200c675c3b3a$export$aca958c65c314e6c, $t as Portal, A as $d2b4bc8c273e7be6$export$24d547caef80ccd1, At as $c87311424ea30a05$export$fedb369cb70207f1, B as $64fa3d84918910a7$export$c62b8e45d58ddad9, Bt as $431fbd86ca7dc216$export$f21a1ffae260145a, C as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, Ct as $8ae05eaa5c114e9c$export$7f54fc3180508a52, D as $ee014567cb39d3f0$export$ff05c3ac10437e03, Dt as $c87311424ea30a05$export$78551043582a6a98, E as $ee014567cb39d3f0$export$f551688fc98f2e09, Et as $c87311424ea30a05$export$6446a186d09e379e, F as $64fa3d84918910a7$export$2881499e37b75b9a, Ft as $d4ee10de306f2510$export$b4f377a2b6254582, G as marked, Gt as Anchor2, H as $64fa3d84918910a7$export$ef03459518577ad4, Ht as $bdb11010cef70236$export$b4cc09c592e8fdb8, I as $64fa3d84918910a7$export$29f1550f4b0d4415, It as $d4ee10de306f2510$export$cd4e5573fbe2b576, J as $d2e8511e6f209edf$export$e908e06f4b8e3402, Jt as Content2$1, Kt as Arrow2, L as $64fa3d84918910a7$export$4d86445c2cf5e3, Lt as $d4ee10de306f2510$export$e58f029f0fbfdb29, M as $01b77f81d0f07f68$export$75b6ee27786ba447, Mt as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, N as $01b77f81d0f07f68$export$b04be29aa201d4f5, Nt as $3ef42575df84b30b$export$9d1611c77c2fe928, O as $514c0188e459b4c0$export$5f1af8db9871e1d6, Ot as $c87311424ea30a05$export$9ac100e40613ea10, P as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Pt as $d4ee10de306f2510$export$4282f70798064fe0, Q as $e5be200c675c3b3a$export$a763b9476acd3eb, Qt as Label$1, R as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, Rt as $f4e2df6bd15f8569$export$98658e8c59125e6a, S as $3985021b0ad6602f$export$f5b8910cec6cf069, St as $e9faafb641e167db$export$90fc3a17d93f704c, T as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Tt as $313b98861ee5dd6c$export$d6875122194c7b44, U as $64fa3d84918910a7$export$fabf2dc03a41866e, Ut as $bdb11010cef70236$export$f680877a34711e37, V as $64fa3d84918910a7$export$df3a06d6289f983e, Vt as $ff5963eb1fccf552$export$e08e3b67e392101e, Wt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, X as $e93e671b31057976$export$b8473d3665f3a75a, Xt as Item2$2, Y as $2baaea4c71418dea$export$294aa081a6c6f55d, Yt as Group, Z as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, Zt as ItemIndicator, _ as DropdownMenuSub, _t as $9446cca9a3875146$export$7d15b64cf5a3a4c4, a as NumberField, an as SubContent, at as $6c7bd7858deea686$export$cd11ab140839f11d, b as DropdownMenuTrigger, bt as $b4b717babfbb907b$export$bebd5a1431fec25d, c as prettyNumber, cn as Item, ct as $6db58dc88e78b024$export$2f817fcdc4b89ae0, d as DropdownMenuContent, dn as Search, dt as $9ab94262bd0047c7$export$420e68273165f4ec, en as RadioGroup$2, et as $e5be200c675c3b3a$export$dad6ae84456c676a, fn as Circle, ft as $3ad3f6e1647bc98d$export$80f3e147d781571c, g as DropdownMenuSeparator, gt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, h as DropdownMenuPortal, ht as _class_private_field_init, in as Sub, j as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, jt as $7215afc6de606d6b$export$de79e2c695e052f3, k as $514c0188e459b4c0$export$9afb8bc826b033ea, kt as $c87311424ea30a05$export$a11b0059900ceec8, l as prettyScientificNumber, ln as Root$2, lt as $5b160d28a433310d$export$c17fa47878dc55b6, m as DropdownMenuLabel, mt as $f6c31cce2adf654f$export$45712eceda6fad21, nn as Root3, nt as $319e236875307eab$export$a9b970dcc4ae71a9, o as maxFractionalDigits, on as SubTrigger, ot as $fca6afa0e843324b$export$87b761675e8eaa10, p as DropdownMenuItem, pn as ChevronRight, pt as $507fabe10e71c6fb$export$630ff653c5ada6a9, qt as CheckboxItem, r as Input, rn as Separator$1, rt as $f7dceffc5ad7768b$export$4e328f61c538687f, s as prettyEngineeringNumber, sn as createMenuScope, st as $fca6afa0e843324b$export$f12b703ca79dfbb1, tn as RadioItem, tt as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, u as DropdownMenu, un as createRovingFocusGroupScope, ut as $6179b936705e76d3$export$ae780daf29e6d456, v as DropdownMenuSubContent, vt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, w as $a049562f99e7db0e$export$f9c6924e160136d1, wt as $df56164dff5785e2$export$4338b53315abf666, x as $3985021b0ad6602f$export$37fb8590cf2c088c, xt as $99facab73266f662$export$5add1d006293d136, y as DropdownMenuSubTrigger, yt as $b4b717babfbb907b$export$4c063cf1350e6fed, z as $64fa3d84918910a7$export$c245e6201fed2f75, zt as $431fbd86ca7dc216$export$b204af158042fbac } from "./input-DBDlwwuD.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-DqrFDZlc.js";
17
17
  import { r as Plus, t as ErrorBoundary } from "./ErrorBoundary-rULOrC_p.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";
@@ -23,18 +23,18 @@ import { a as Content$1, c as Root$3, i as prettyError, n as ErrorBanner, o as O
23
23
  import { t as Tooltip } from "./tooltip-C5FYOpQc.js";
24
24
  import { f as CopyClipboardIcon, t as _extends } from "./extends-BgdxCfYu.js";
25
25
  import { r as KnownQueryParams } from "./constants-T20xxyNf.js";
26
- import { C as dequal, S as getBuildingBlocks, _ as useSetAtom, d as useJotaiEffect, g as useAtomValue, h as useAtom, m as Provider, n as useTheme, r as aiEnabledAtom, v as useStore, w as useEvent_default, x as buildStore, y as atom } from "./useTheme-7O0YWlE5.js";
26
+ import { C as getBuildingBlocks, S as buildStore, T as useEvent_default, _ as useAtomValue, b as atom, f as useJotaiEffect, g as useAtom, h as Provider, n as useTheme, r as aiEnabledAtom, s as resolvedMarimoConfigAtom, v as useSetAtom, w as dequal, y as useStore } from "./useTheme-u3PW8S24.js";
27
27
  import { Z as EditorView } from "./dist-DNdhYsgW.js";
28
28
  import { t as invariant } from "./invariant-wRzNXIsJ.js";
29
29
  import { c as uniqueBy, t as Arrays } from "./arrays-sEtDRoG4.js";
30
30
  import { n as once, t as memoizeLastValue } from "./once-DPuqGUeo.js";
31
31
  import { a as parser } from "./dist-BotSqB48.js";
32
- import { a as isValid, i as AlertTitle, n as Alert, t as arrow } from "./formats-DQ5qjo_Q.js";
32
+ import { a as isValid, i as AlertTitle, n as Alert, t as arrow } from "./formats-BHOojBDG.js";
33
33
  import { n as memoize$1, t as isPropValid } from "./emotion-is-prop-valid.esm-DzSb5hsH.js";
34
34
  import { n as formats } from "./vega-loader.browser-CZ-J8Py3.js";
35
35
  import { a as getContainerWidth, n as vegaLoadData, r as createBatchedLoader, s as tooltipHandler, t as parseCsvData } from "./loader-BWLPpjKK.js";
36
36
  import { t as useIframeCapabilities } from "./useIframeCapabilities-C4JTXTIh.js";
37
- import { t as useAsyncData } from "./useAsyncData-C008zUPi.js";
37
+ import { t as useAsyncData } from "./useAsyncData-4lY05iWF.js";
38
38
  let TableBody, ChevronLeft, ComboboxItem, ChartErrorState, contextAwarePanelOpen, $fae977aafc393c5c$export$6b862160d295c8e, prettifyRowColumnCount, dateToLocalISODate, DatePicker, TabsContent, useInternalStateWithSync, Tabs, CommandList, RenderTextWithLinks, slotsController, Expand, contextAwarePanelType, GripHorizontal, CommandSeparator, Kbd, PanelGroup, Code, Toggle, Ellipsis, smartMatch, HtmlOutput, CommandEmpty, ChartLoadingState, CommandInput, LazyVegaEmbed, DateRangePicker, TabsList, CommandItem, useOverflowDetection, Table, ChevronsDownUp, ContextAwarePanelItem, EmotionCacheProvider, downloadSizeLimitAtom, Maps, getColumnCountForDisplay, dateToLocalISOTime, isCellAwareAtom, Funnel, contextAwarePanelOwner, TextWrap, SlotNames, EyeOff, Fill, ChevronsRight, PanelResizeHandle, ChevronsUpDown, Provider$1, ChevronsLeft, downloadBlob, SELECT_COLUMN_ID, DEFAULT_SLIDE_TYPE, generateColumns, Progress, getMimeValues, Slide, ColumnChartContext, JsonOutput, useIntersectionObserver, ArrowDownWideNarrow, TableCell, OutputArea, usePrevious, ADD_PRINTING_CLASS, INDEX_COLUMN_NAME, InstallPackageButton, loadTableData, DEFAULT_DECK_TRANSITION, NAMELESS_COLUMN_PREFIX, Command, ChartInfoState, Combobox, TabsTrigger, RadioGroup, ColumnChartSpecModel, DataTable, loadTableAndRawData, marimoVersionAtom, TableHeader, SLIDE_TYPE_OPTIONS_BY_VALUE, inferFieldTypes, OutputRenderer, getPageIndexForRow, Panel, Download, showCodeInRunModeAtom, TableRow, SlideSidebar, renderCellValue, useNotebookCodeAvailable, TableHead, RadioGroupItem, DelayMount, downloadByURL, TOO_MANY_ROWS, prettifyRowCount, dateToLocalISODateTime, Filenames, isNullishFilter, downloadHTMLAsImage, toFieldTypes, PANEL_TYPES, $fae977aafc393c5c$export$588937bcd60ade55;
39
39
  let __tla = Promise.all([
40
40
  (() => {
@@ -1902,21 +1902,21 @@ Defaulting to \`null\`.`;
1902
1902
  function $2f04cbc44ee30ce0$export$53a0910f038337bd(e, t, n = {}) {
1903
1903
  let { block: i = "nearest", inline: a = "nearest" } = n;
1904
1904
  if (e === t) return;
1905
- 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, jK = c.top - E, MK = c.bottom + O, NK = c.left - A, PK = c.right + M, FK = e === _ ? 0 : Q + $, IK = e === _ ? 0 : q + J, LK = e.offsetWidth - e.clientWidth - FK, RK = e.offsetHeight - e.clientHeight - IK, zK = v + q + I, BK = y - J - z - RK, VK = S + Q + U, HK = w - $ - K;
1906
- h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ? VK += LK : HK -= LK;
1907
- let UK = jK < zK || MK > BK, WK = NK < VK || PK > HK;
1908
- if (UK && i === "start") o += jK - zK;
1909
- else if (UK && i === "center") o += (jK + MK) / 2 - (zK + BK) / 2;
1910
- else if (UK && i === "end") o += MK - BK;
1911
- else if (UK && i === "nearest") {
1912
- let e2 = jK - zK, t2 = MK - BK;
1905
+ 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, MK = parseInt(h.borderRightWidth, 10) || 0, NK = c.top - E, PK = c.bottom + O, FK = c.left - A, $ = c.right + M, IK = e === _ ? 0 : Q + MK, LK = e === _ ? 0 : q + J, RK = e.offsetWidth - e.clientWidth - IK, zK = e.offsetHeight - e.clientHeight - LK, BK = v + q + I, VK = y - J - z - zK, HK = S + Q + U, UK = w - MK - K;
1906
+ h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ? HK += RK : UK -= RK;
1907
+ let WK = NK < BK || PK > VK, GK = FK < HK || $ > UK;
1908
+ if (WK && i === "start") o += NK - BK;
1909
+ else if (WK && i === "center") o += (NK + PK) / 2 - (BK + VK) / 2;
1910
+ else if (WK && i === "end") o += PK - VK;
1911
+ else if (WK && i === "nearest") {
1912
+ let e2 = NK - BK, t2 = PK - VK;
1913
1913
  o += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
1914
1914
  }
1915
- if (WK && a === "start") s += NK - VK;
1916
- else if (WK && a === "center") s += (NK + PK) / 2 - (VK + HK) / 2;
1917
- else if (WK && a === "end") s += PK - HK;
1918
- else if (WK && a === "nearest") {
1919
- let e2 = NK - VK, t2 = PK - HK;
1915
+ if (GK && a === "start") s += FK - HK;
1916
+ else if (GK && a === "center") s += (FK + $) / 2 - (HK + UK) / 2;
1917
+ else if (GK && a === "end") s += $ - UK;
1918
+ else if (GK && a === "nearest") {
1919
+ let e2 = FK - HK, t2 = $ - UK;
1920
1920
  s += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
1921
1921
  }
1922
1922
  e.scrollTo({
@@ -5024,25 +5024,25 @@ Defaulting to \`null\`.`;
5024
5024
  let e2 = $edcf132a9284368a$var$parsePlacement(`${$edcf132a9284368a$var$FLIPPED_DIRECTION[U]} ${K}`), i2 = $edcf132a9284368a$var$computePosition(t, c, n, e2, h, _, f, v, S, w, d);
5025
5025
  $edcf132a9284368a$var$getAvailableSpace(c, f, t, a, o + h, e2, d, E) > Q && (A = e2, q = i2, J = h);
5026
5026
  }
5027
- let $ = "bottom";
5028
- A.axis === "top" ? A.placement === "top" ? $ = "top" : A.placement === "bottom" && ($ = "bottom") : A.crossAxis === "top" && (A.crossPlacement === "top" ? $ = "bottom" : A.crossPlacement === "bottom" && ($ = "top"));
5029
- let jK = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f);
5030
- q[I] += jK;
5031
- let MK = $edcf132a9284368a$var$getMaxHeight(q, c, f, v, a, o, n.height, $, d, E, O);
5032
- y && y < MK && (MK = y), n.height = Math.min(n.height, MK), q = $edcf132a9284368a$var$computePosition(t, c, n, A, J, _, f, v, S, w, d), jK = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f), q[I] += jK;
5033
- let NK = {}, PK = t[I] - q[I] - a[$edcf132a9284368a$var$AXIS[I]], FK = PK + 0.5 * t[z], IK = S / 2 + w, LK = $edcf132a9284368a$var$AXIS[I] === "left" ? (a.left ?? 0) + (a.right ?? 0) : (a.top ?? 0) + (a.bottom ?? 0), RK = n[z] - LK - S / 2 - w;
5034
- NK[I] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(FK, t[I] + S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]]), t[I] + t[z] - S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]])), IK, RK), { placement: U, crossPlacement: K } = A, S ? PK = NK[I] : K === "right" ? PK += t[z] : K === "center" && (PK += t[z] / 2);
5035
- let zK = U === "left" || U === "top" ? n[M] : 0, BK = {
5036
- x: U === "top" || U === "bottom" ? PK : zK,
5037
- y: U === "left" || U === "right" ? PK : zK
5027
+ let MK = "bottom";
5028
+ A.axis === "top" ? A.placement === "top" ? MK = "top" : A.placement === "bottom" && (MK = "bottom") : A.crossAxis === "top" && (A.crossPlacement === "top" ? MK = "bottom" : A.crossPlacement === "bottom" && (MK = "top"));
5029
+ let NK = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f);
5030
+ q[I] += NK;
5031
+ let PK = $edcf132a9284368a$var$getMaxHeight(q, c, f, v, a, o, n.height, MK, d, E, O);
5032
+ y && y < PK && (PK = y), n.height = Math.min(n.height, PK), q = $edcf132a9284368a$var$computePosition(t, c, n, A, J, _, f, v, S, w, d), NK = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f), q[I] += NK;
5033
+ let FK = {}, $ = t[I] - q[I] - a[$edcf132a9284368a$var$AXIS[I]], IK = $ + 0.5 * t[z], LK = S / 2 + w, RK = $edcf132a9284368a$var$AXIS[I] === "left" ? (a.left ?? 0) + (a.right ?? 0) : (a.top ?? 0) + (a.bottom ?? 0), zK = n[z] - RK - S / 2 - w;
5034
+ FK[I] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(IK, t[I] + S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]]), t[I] + t[z] - S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]])), LK, zK), { placement: U, crossPlacement: K } = A, S ? $ = FK[I] : K === "right" ? $ += t[z] : K === "center" && ($ += t[z] / 2);
5035
+ let BK = U === "left" || U === "top" ? n[M] : 0, VK = {
5036
+ x: U === "top" || U === "bottom" ? $ : BK,
5037
+ y: U === "left" || U === "right" ? $ : BK
5038
5038
  };
5039
5039
  return {
5040
5040
  position: q,
5041
- maxHeight: MK,
5042
- arrowOffsetLeft: NK.left,
5043
- arrowOffsetTop: NK.top,
5041
+ maxHeight: PK,
5042
+ arrowOffsetLeft: FK.left,
5043
+ arrowOffsetTop: FK.top,
5044
5044
  placement: U,
5045
- triggerAnchorPoint: BK
5045
+ triggerAnchorPoint: VK
5046
5046
  };
5047
5047
  }
5048
5048
  function $edcf132a9284368a$export$b3ceb0cbf1056d98(e) {
@@ -6867,7 +6867,7 @@ Defaulting to \`null\`.`;
6867
6867
  let e2 = window.getSelection();
6868
6868
  (e2 == null ? void 0 : e2.anchorNode) && $d4ee10de306f2510$export$4282f70798064fe0(n.current, e2 == null ? void 0 : e2.anchorNode) && e2.collapse(n.current);
6869
6869
  });
6870
- let $ = (0, import_react.useRef)("");
6870
+ let MK = (0, import_react.useRef)("");
6871
6871
  $e9faafb641e167db$export$90fc3a17d93f704c(n, "beforeinput", (i2) => {
6872
6872
  if (n.current) switch (i2.preventDefault(), i2.inputType) {
6873
6873
  case "deleteContentBackward":
@@ -6875,7 +6875,7 @@ Defaulting to \`null\`.`;
6875
6875
  E.isValidPartialNumber(e.text) && !t.isReadOnly && O();
6876
6876
  break;
6877
6877
  case "insertCompositionText":
6878
- $.current = n.current.textContent, n.current.textContent = n.current.textContent;
6878
+ MK.current = n.current.textContent, n.current.textContent = n.current.textContent;
6879
6879
  break;
6880
6880
  default:
6881
6881
  i2.data != null && J(i2.data);
@@ -6885,7 +6885,7 @@ Defaulting to \`null\`.`;
6885
6885
  let { inputType: t2, data: i2 } = e2;
6886
6886
  switch (t2) {
6887
6887
  case "insertCompositionText":
6888
- n.current && (n.current.textContent = $.current), i2 != null && (M(z, i2) || M(U, i2)) && J(i2);
6888
+ n.current && (n.current.textContent = MK.current), i2 != null && (M(z, i2) || M(U, i2)) && J(i2);
6889
6889
  break;
6890
6890
  }
6891
6891
  }), $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
@@ -6897,7 +6897,7 @@ Defaulting to \`null\`.`;
6897
6897
  n,
6898
6898
  h
6899
6899
  ]);
6900
- let jK = $c87311424ea30a05$export$fedb369cb70207f1() || e.type === "timeZoneName" ? {
6900
+ let NK = $c87311424ea30a05$export$fedb369cb70207f1() || e.type === "timeZoneName" ? {
6901
6901
  role: "textbox",
6902
6902
  "aria-valuemax": null,
6903
6903
  "aria-valuemin": null,
@@ -6907,8 +6907,8 @@ Defaulting to \`null\`.`;
6907
6907
  e !== (0, import_react.useMemo)(() => t.segments.find((e2) => e2.isEditable), [
6908
6908
  t.segments
6909
6909
  ]) && !t.isInvalid && (f = void 0);
6910
- let MK = $bdb11010cef70236$export$f680877a34711e37(), NK = !t.isDisabled && !t.isReadOnly && e.isEditable, PK = e.type === "literal" ? "" : s.of(e.type), FK = $313b98861ee5dd6c$export$d6875122194c7b44({
6911
- "aria-label": `${PK}${c ? `, ${c}` : ""}${d ? ", " : ""}`,
6910
+ let PK = $bdb11010cef70236$export$f680877a34711e37(), FK = !t.isDisabled && !t.isReadOnly && e.isEditable, $ = e.type === "literal" ? "" : s.of(e.type), IK = $313b98861ee5dd6c$export$d6875122194c7b44({
6911
+ "aria-label": `${$}${c ? `, ${c}` : ""}${d ? ", " : ""}`,
6912
6912
  "aria-labelledby": d
6913
6913
  });
6914
6914
  if (e.type === "literal") return {
@@ -6916,32 +6916,32 @@ Defaulting to \`null\`.`;
6916
6916
  "aria-hidden": true
6917
6917
  }
6918
6918
  };
6919
- let IK = {
6919
+ let LK = {
6920
6920
  caretColor: "transparent"
6921
6921
  };
6922
6922
  if (o === "rtl") {
6923
- IK.unicodeBidi = "embed";
6923
+ LK.unicodeBidi = "embed";
6924
6924
  let t2 = v[e.type];
6925
- (t2 === "numeric" || t2 === "2-digit") && (IK.direction = "ltr");
6925
+ (t2 === "numeric" || t2 === "2-digit") && (LK.direction = "ltr");
6926
6926
  }
6927
6927
  return {
6928
- segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w, FK, {
6929
- id: MK,
6930
- ...jK,
6928
+ segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w, IK, {
6929
+ id: PK,
6930
+ ...NK,
6931
6931
  "aria-invalid": t.isInvalid ? "true" : void 0,
6932
6932
  "aria-describedby": f,
6933
6933
  "aria-readonly": t.isReadOnly || !e.isEditable ? "true" : void 0,
6934
6934
  "data-placeholder": e.isPlaceholder || void 0,
6935
- contentEditable: NK,
6936
- suppressContentEditableWarning: NK,
6937
- spellCheck: NK ? "false" : void 0,
6938
- autoCorrect: NK ? "off" : void 0,
6939
- enterKeyHint: NK ? "next" : void 0,
6940
- inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !NK ? void 0 : "numeric",
6935
+ contentEditable: FK,
6936
+ suppressContentEditableWarning: FK,
6937
+ spellCheck: FK ? "false" : void 0,
6938
+ autoCorrect: FK ? "off" : void 0,
6939
+ enterKeyHint: FK ? "next" : void 0,
6940
+ inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !FK ? void 0 : "numeric",
6941
6941
  tabIndex: t.isDisabled ? void 0 : 0,
6942
6942
  onKeyDown: A,
6943
6943
  onFocus: Q,
6944
- style: IK,
6944
+ style: LK,
6945
6945
  onPointerDown(e2) {
6946
6946
  e2.stopPropagation();
6947
6947
  },
@@ -7014,7 +7014,7 @@ Defaulting to \`null\`.`;
7014
7014
  q.current = true, (n2 = e.onFocus) == null || n2.call(e, t2), (i2 = e.onFocusChange) == null || i2.call(e, true);
7015
7015
  }
7016
7016
  }
7017
- }), Q = (0, import_react.useRef)($e5be200c675c3b3a$export$dad6ae84456c676a), $ = (0, import_react.useRef)($e5be200c675c3b3a$export$dad6ae84456c676a);
7017
+ }), Q = (0, import_react.useRef)($e5be200c675c3b3a$export$dad6ae84456c676a), MK = (0, import_react.useRef)($e5be200c675c3b3a$export$dad6ae84456c676a);
7018
7018
  return {
7019
7019
  groupProps: $3ef42575df84b30b$export$9d1611c77c2fe928(K, M, d, S, J, {
7020
7020
  role: "group",
@@ -7061,7 +7061,7 @@ Defaulting to \`null\`.`;
7061
7061
  realtimeValidation: t.realtimeValidation,
7062
7062
  displayValidation: t.displayValidation,
7063
7063
  updateValidation(e2) {
7064
- Q.current = e2, t.updateValidation($e5be200c675c3b3a$export$75ee7c75d68f5b0e(e2, $.current));
7064
+ Q.current = e2, t.updateValidation($e5be200c675c3b3a$export$75ee7c75d68f5b0e(e2, MK.current));
7065
7065
  },
7066
7066
  resetValidation: t.resetValidation,
7067
7067
  commitValidation: t.commitValidation
@@ -7079,7 +7079,7 @@ Defaulting to \`null\`.`;
7079
7079
  realtimeValidation: t.realtimeValidation,
7080
7080
  displayValidation: t.displayValidation,
7081
7081
  updateValidation(e2) {
7082
- $.current = e2, t.updateValidation($e5be200c675c3b3a$export$75ee7c75d68f5b0e(Q.current, e2));
7082
+ MK.current = e2, t.updateValidation($e5be200c675c3b3a$export$75ee7c75d68f5b0e(Q.current, e2));
7083
7083
  },
7084
7084
  resetValidation: t.resetValidation,
7085
7085
  commitValidation: t.commitValidation
@@ -10173,7 +10173,7 @@ Defaulting to \`null\`.`;
10173
10173
  function Q(e2) {
10174
10174
  e2 = $f62d864046160412$export$4f5203c0d889109e(e2, s, c), A(e2);
10175
10175
  }
10176
- function $(t2) {
10176
+ function MK(t2) {
10177
10177
  if (!e.isDisabled && !e.isReadOnly) {
10178
10178
  let e2 = t2;
10179
10179
  if (e2 === null) {
@@ -10184,12 +10184,12 @@ Defaulting to \`null\`.`;
10184
10184
  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);
10185
10185
  }
10186
10186
  }
10187
- let jK = (0, import_react.useMemo)(() => w ? f && f(w) ? true : $f62d864046160412$export$eac50920cf2fd59a(w, s, c) : false, [
10187
+ let NK = (0, import_react.useMemo)(() => w ? f && f(w) ? true : $f62d864046160412$export$eac50920cf2fd59a(w, s, c) : false, [
10188
10188
  w,
10189
10189
  f,
10190
10190
  s,
10191
10191
  c
10192
- ]), MK = e.isInvalid || e.validationState === "invalid" || jK, NK = MK ? "invalid" : null, PK = (0, import_react.useMemo)(() => h === "visible" ? o : $131cf43a05231e1e$var$unitDuration(o), [
10192
+ ]), PK = e.isInvalid || e.validationState === "invalid" || NK, FK = PK ? "invalid" : null, $ = (0, import_react.useMemo)(() => h === "visible" ? o : $131cf43a05231e1e$var$unitDuration(o), [
10193
10193
  h,
10194
10194
  o
10195
10195
  ]);
@@ -10197,7 +10197,7 @@ Defaulting to \`null\`.`;
10197
10197
  isDisabled: e.isDisabled ?? false,
10198
10198
  isReadOnly: e.isReadOnly ?? false,
10199
10199
  value: w,
10200
- setValue: $,
10200
+ setValue: MK,
10201
10201
  visibleRange: {
10202
10202
  start: M,
10203
10203
  end: K
@@ -10206,8 +10206,8 @@ Defaulting to \`null\`.`;
10206
10206
  maxValue: c,
10207
10207
  focusedDate: O,
10208
10208
  timeZone: E,
10209
- validationState: NK,
10210
- isValueInvalid: MK,
10209
+ validationState: FK,
10210
+ isValueInvalid: PK,
10211
10211
  setFocusedDate(e2) {
10212
10212
  Q(e2);
10213
10213
  },
@@ -10232,12 +10232,12 @@ Defaulting to \`null\`.`;
10232
10232
  }));
10233
10233
  },
10234
10234
  focusNextPage() {
10235
- let e2 = M.add(PK);
10236
- A($f62d864046160412$export$4f5203c0d889109e(O.add(PK), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, PK, i, s, c), PK, i));
10235
+ let e2 = M.add($);
10236
+ A($f62d864046160412$export$4f5203c0d889109e(O.add($), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, $, i, s, c), $, i));
10237
10237
  },
10238
10238
  focusPreviousPage() {
10239
- let e2 = M.subtract(PK);
10240
- A($f62d864046160412$export$4f5203c0d889109e(O.subtract(PK), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, PK, i, s, c), PK, i));
10239
+ let e2 = M.subtract($);
10240
+ A($f62d864046160412$export$4f5203c0d889109e(O.subtract($), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, $, i, s, c), $, i));
10241
10241
  },
10242
10242
  focusSectionStart() {
10243
10243
  o.days ? Q(M) : o.weeks ? Q($14e0f24ef4ac5c92$export$42c81a444fbfb5d4(O, i)) : (o.months || o.years) && Q($14e0f24ef4ac5c92$export$a5a3b454ada2268e(O));
@@ -10268,10 +10268,10 @@ Defaulting to \`null\`.`;
10268
10268
  }));
10269
10269
  },
10270
10270
  selectFocusedDate() {
10271
- f && f(O) || $(O);
10271
+ f && f(O) || MK(O);
10272
10272
  },
10273
10273
  selectDate(e2) {
10274
- $(e2);
10274
+ MK(e2);
10275
10275
  },
10276
10276
  isFocused: z,
10277
10277
  setFocused: U,
@@ -10374,13 +10374,13 @@ Defaulting to \`null\`.`;
10374
10374
  end: $9a36b6ba2fb1a7c5$var$convertValue(e2.end, h == null ? void 0 : h.end)
10375
10375
  }), q(null);
10376
10376
  }
10377
- }, [$, jK] = (0, import_react.useState)(false), { isDateUnavailable: MK } = e, NK = (0, import_react.useMemo)(() => !h || v ? false : MK && (MK(h.start) || MK(h.end)) ? true : $f62d864046160412$export$eac50920cf2fd59a(h.start, c, d) || $f62d864046160412$export$eac50920cf2fd59a(h.end, c, d), [
10378
- MK,
10377
+ }, [MK, NK] = (0, import_react.useState)(false), { isDateUnavailable: PK } = e, FK = (0, import_react.useMemo)(() => !h || v ? false : PK && (PK(h.start) || PK(h.end)) ? true : $f62d864046160412$export$eac50920cf2fd59a(h.start, c, d) || $f62d864046160412$export$eac50920cf2fd59a(h.end, c, d), [
10378
+ PK,
10379
10379
  h,
10380
10380
  v,
10381
10381
  c,
10382
10382
  d
10383
- ]), PK = e.isInvalid || e.validationState === "invalid" || NK, FK = PK ? "invalid" : null;
10383
+ ]), $ = e.isInvalid || e.validationState === "invalid" || FK, IK = $ ? "invalid" : null;
10384
10384
  return {
10385
10385
  ...I,
10386
10386
  value: h,
@@ -10388,8 +10388,8 @@ Defaulting to \`null\`.`;
10388
10388
  anchorDate: v,
10389
10389
  setAnchorDate: q,
10390
10390
  highlightedRange: J,
10391
- validationState: FK,
10392
- isValueInvalid: PK,
10391
+ validationState: IK,
10392
+ isValueInvalid: $,
10393
10393
  selectFocusedDate() {
10394
10394
  Q(I.focusedDate);
10395
10395
  },
@@ -10404,8 +10404,8 @@ Defaulting to \`null\`.`;
10404
10404
  var _a2, _b;
10405
10405
  return I.isInvalid(e2) || $f62d864046160412$export$eac50920cf2fd59a(e2, (_a2 = w.current) == null ? void 0 : _a2.start, (_b = w.current) == null ? void 0 : _b.end);
10406
10406
  },
10407
- isDragging: $,
10408
- setDragging: jK
10407
+ isDragging: MK,
10408
+ setDragging: NK
10409
10409
  };
10410
10410
  }
10411
10411
  function $9a36b6ba2fb1a7c5$var$makeRange(e, t) {
@@ -11587,12 +11587,12 @@ Defaulting to \`null\`.`;
11587
11587
  q
11588
11588
  ]), Q = (0, import_react.useMemo)(() => J.resolvedOptions(), [
11589
11589
  J
11590
- ]), $ = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$66aa2b09de4b1ea5(e.placeholderValue, _, S, v), [
11590
+ ]), MK = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$66aa2b09de4b1ea5(e.placeholderValue, _, S, v), [
11591
11591
  e.placeholderValue,
11592
11592
  _,
11593
11593
  S,
11594
11594
  v
11595
- ]), jK = (0, import_react.useMemo)(() => {
11595
+ ]), NK = (0, import_react.useMemo)(() => {
11596
11596
  let t2 = w === "h11" || w === "h12", n2 = [
11597
11597
  "era",
11598
11598
  "year",
@@ -11610,15 +11610,15 @@ Defaulting to \`null\`.`;
11610
11610
  e.maxGranularity,
11611
11611
  _,
11612
11612
  w
11613
- ]), [MK, NK] = (0, import_react.useState)(M), [PK, FK] = (0, import_react.useState)(S), [IK, LK] = (0, import_react.useState)(w);
11614
- (M !== MK || w !== IK || !$14e0f24ef4ac5c92$export$dbc69fd56b53d5e(S, PK)) && (I = new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M), NK(M), FK(S), LK(w), z(I));
11615
- let RK = (t2) => {
11616
- if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(jK)) z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(null);
11613
+ ]), [PK, FK] = (0, import_react.useState)(M), [$, IK] = (0, import_react.useState)(S), [LK, RK] = (0, import_react.useState)(w);
11614
+ (M !== PK || w !== LK || !$14e0f24ef4ac5c92$export$dbc69fd56b53d5e(S, $)) && (I = new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M), FK(M), IK(S), RK(w), z(I));
11615
+ let zK = (t2) => {
11616
+ if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(NK)) z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(null);
11617
11617
  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);
11618
11618
  else {
11619
- if (t2.isComplete(jK)) {
11620
- let e2 = t2.toValue(M ?? $);
11621
- if (t2.validate(e2, jK)) {
11619
+ if (t2.isComplete(NK)) {
11620
+ let e2 = t2.toValue(M ?? MK);
11621
+ if (t2.validate(e2, NK)) {
11622
11622
  let t3 = $11d87f3f76e88657$export$b4a036af3fc0b032(e2, (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
11623
11623
  if (!E || t3.compare(E) !== 0) {
11624
11624
  z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(t3);
@@ -11628,83 +11628,83 @@ Defaulting to \`null\`.`;
11628
11628
  }
11629
11629
  z(t2);
11630
11630
  }
11631
- }, zK = (0, import_react.useMemo)(() => I.toValue(M ?? $).toDate(y), [
11631
+ }, BK = (0, import_react.useMemo)(() => I.toValue(M ?? MK).toDate(y), [
11632
11632
  I,
11633
11633
  y,
11634
11634
  M,
11635
- $
11636
- ]), BK = (0, import_react.useMemo)(() => $3c0fc76039f1c516$var$processSegments(zK, I, J, Q, S, t, _), [
11637
- zK,
11635
+ MK
11636
+ ]), VK = (0, import_react.useMemo)(() => $3c0fc76039f1c516$var$processSegments(BK, I, J, Q, S, t, _), [
11637
+ BK,
11638
11638
  J,
11639
11639
  Q,
11640
11640
  I,
11641
11641
  S,
11642
11642
  t,
11643
11643
  _
11644
- ]), VK = (e2, t2) => {
11645
- RK(I.cycle(e2, t2, $, jK));
11646
- }, HK = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$f18627323ab57ac0(E, c, d, f, K), [
11644
+ ]), HK = (e2, t2) => {
11645
+ zK(I.cycle(e2, t2, MK, NK));
11646
+ }, UK = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$f18627323ab57ac0(E, c, d, f, K), [
11647
11647
  E,
11648
11648
  c,
11649
11649
  d,
11650
11650
  f,
11651
11651
  K
11652
- ]), UK = $e5be200c675c3b3a$export$fc1a364ae1f3ff10({
11652
+ ]), WK = $e5be200c675c3b3a$export$fc1a364ae1f3ff10({
11653
11653
  ...e,
11654
11654
  value: E,
11655
- builtinValidation: HK
11656
- }), WK = UK.displayValidation.isInvalid, GK = e.validationState || (WK ? "invalid" : null);
11655
+ builtinValidation: UK
11656
+ }), GK = WK.displayValidation.isInvalid, KK = e.validationState || (GK ? "invalid" : null);
11657
11657
  return {
11658
- ...UK,
11658
+ ...WK,
11659
11659
  value: M,
11660
11660
  defaultValue: e.defaultValue ?? A,
11661
- dateValue: zK,
11661
+ dateValue: BK,
11662
11662
  calendar: S,
11663
- setValue: RK,
11664
- segments: BK,
11663
+ setValue: zK,
11664
+ segments: VK,
11665
11665
  dateFormatter: J,
11666
- validationState: GK,
11667
- isInvalid: WK,
11666
+ validationState: KK,
11667
+ isInvalid: GK,
11668
11668
  granularity: _,
11669
11669
  maxGranularity: e.maxGranularity ?? "year",
11670
11670
  isDisabled: a,
11671
11671
  isReadOnly: o,
11672
11672
  isRequired: s,
11673
11673
  increment(e2) {
11674
- VK(e2, 1);
11674
+ HK(e2, 1);
11675
11675
  },
11676
11676
  decrement(e2) {
11677
- VK(e2, -1);
11677
+ HK(e2, -1);
11678
11678
  },
11679
11679
  incrementPage(e2) {
11680
- VK(e2, $3c0fc76039f1c516$var$PAGE_STEP[e2] || 1);
11680
+ HK(e2, $3c0fc76039f1c516$var$PAGE_STEP[e2] || 1);
11681
11681
  },
11682
11682
  decrementPage(e2) {
11683
- VK(e2, -($3c0fc76039f1c516$var$PAGE_STEP[e2] || 1));
11683
+ HK(e2, -($3c0fc76039f1c516$var$PAGE_STEP[e2] || 1));
11684
11684
  },
11685
11685
  incrementToMax(e2) {
11686
11686
  let t2 = e2 === "hour" && w === "h12" ? 11 : I.getSegmentLimits(e2).maxValue;
11687
- RK(I.set(e2, t2, $));
11687
+ zK(I.set(e2, t2, MK));
11688
11688
  },
11689
11689
  decrementToMin(e2) {
11690
11690
  let t2 = e2 === "hour" && w === "h12" ? 12 : I.getSegmentLimits(e2).minValue;
11691
- RK(I.set(e2, t2, $));
11691
+ zK(I.set(e2, t2, MK));
11692
11692
  },
11693
11693
  setSegment(e2, t2) {
11694
- RK(I.set(e2, t2, $));
11694
+ zK(I.set(e2, t2, MK));
11695
11695
  },
11696
11696
  confirmPlaceholder() {
11697
- if (!(e.isDisabled || e.isReadOnly) && I.isComplete(jK)) {
11698
- let e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(I.toValue(M ?? $), (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
11697
+ if (!(e.isDisabled || e.isReadOnly) && I.isComplete(NK)) {
11698
+ let e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(I.toValue(M ?? MK), (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
11699
11699
  (!E || e2.compare(E) !== 0) && O(e2), z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M));
11700
11700
  }
11701
11701
  },
11702
11702
  clearSegment(e2) {
11703
11703
  let t2 = I;
11704
- e2 !== "timeZoneName" && e2 !== "literal" && (t2 = I.clear(e2)), RK(t2);
11704
+ e2 !== "timeZoneName" && e2 !== "literal" && (t2 = I.clear(e2)), zK(t2);
11705
11705
  },
11706
11706
  formatValue(e2) {
11707
- return M ? new $fb18d541ea1ad717$export$ad991b66133851cf(t, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, K)).format(zK) : "";
11707
+ return M ? new $fb18d541ea1ad717$export$ad991b66133851cf(t, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, K)).format(BK) : "";
11708
11708
  },
11709
11709
  getDateFormatter(e2, t2) {
11710
11710
  return new $fb18d541ea1ad717$export$ad991b66133851cf(e2, $35a22f14a1f04b11$export$7e319ea407e63bc0({}, {
@@ -11824,7 +11824,7 @@ Defaulting to \`null\`.`;
11824
11824
  e.endName
11825
11825
  ]),
11826
11826
  builtinValidation: J
11827
- }), $ = Q.displayValidation.isInvalid, jK = e.validationState || ($ ? "invalid" : null);
11827
+ }), MK = Q.displayValidation.isInvalid, NK = e.validationState || (MK ? "invalid" : null);
11828
11828
  return {
11829
11829
  ...Q,
11830
11830
  value: c,
@@ -11870,8 +11870,8 @@ Defaulting to \`null\`.`;
11870
11870
  end: (w == null ? void 0 : w.end) || $35a22f14a1f04b11$export$c5221a78ef73c5e9(e.placeholderValue)
11871
11871
  }), t.setOpen(n2);
11872
11872
  },
11873
- validationState: jK,
11874
- isInvalid: $,
11873
+ validationState: NK,
11874
+ isInvalid: MK,
11875
11875
  formatValue(t2, n2) {
11876
11876
  if (!c || !c.start || !c.end) return null;
11877
11877
  let i2 = "timeZone" in c.start ? c.start.timeZone : void 0, a2 = e.granularity || (c.start && "minute" in c.start ? "minute" : "day"), o2 = "timeZone" in c.end ? c.end.timeZone : void 0, s2 = e.granularity || (c.end && "minute" in c.end ? "minute" : "day"), d2 = $35a22f14a1f04b11$export$7e319ea407e63bc0(n2, {
@@ -15742,33 +15742,33 @@ try {
15742
15742
  }, f = import_react.createContext(void 0), h = () => import_react.useContext(f) || d, _ = {}, v = {};
15743
15743
  function y(e2) {
15744
15744
  var _a2, _b, _c, _d;
15745
- 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, jK = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
15745
+ 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), MK = !!Q && !I, NK = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
15746
15746
  h2
15747
- ]), MK = jK[t], NK = MK || jK, { colorSchemes: PK = _, components: FK = v, cssVarPrefix: IK } = NK, LK = Object.keys(PK).filter((e3) => !!PK[e3]).join(","), RK = import_react.useMemo(() => LK.split(","), [
15748
- LK
15749
- ]), zK = typeof s == "string" ? s : s.light, BK = typeof s == "string" ? s : s.dark, { mode: VK, setMode: HK, systemMode: UK, lightColorScheme: WK, darkColorScheme: GK, colorScheme: KK, setColorScheme: qK } = useCurrentColorScheme({
15750
- supportedColorSchemes: RK,
15751
- defaultLightColorScheme: zK,
15752
- defaultDarkColorScheme: BK,
15747
+ ]), PK = NK[t], FK = PK || NK, { colorSchemes: $ = _, components: IK = v, cssVarPrefix: LK } = FK, RK = Object.keys($).filter((e3) => !!$[e3]).join(","), zK = import_react.useMemo(() => RK.split(","), [
15748
+ RK
15749
+ ]), BK = typeof s == "string" ? s : s.light, VK = typeof s == "string" ? s : s.dark, { mode: HK, setMode: UK, systemMode: WK, lightColorScheme: GK, darkColorScheme: KK, colorScheme: qK, setColorScheme: JK } = useCurrentColorScheme({
15750
+ supportedColorSchemes: zK,
15751
+ defaultLightColorScheme: BK,
15752
+ defaultDarkColorScheme: VK,
15753
15753
  modeStorageKey: y2,
15754
15754
  colorSchemeStorageKey: S2,
15755
- defaultMode: PK[zK] && PK[BK] ? U : ((_b = (_a2 = PK[NK.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = NK.palette) == null ? void 0 : _c.mode),
15755
+ defaultMode: $[BK] && $[VK] ? U : ((_b = (_a2 = $[FK.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = FK.palette) == null ? void 0 : _c.mode),
15756
15756
  storageManager: E,
15757
15757
  storageWindow: O,
15758
15758
  noSsr: K
15759
- }), JK = VK, YK = KK;
15760
- $ && (JK = Q.mode, YK = Q.colorScheme);
15761
- let XK = import_react.useMemo(() => {
15759
+ }), YK = HK, XK = qK;
15760
+ MK && (YK = Q.mode, XK = Q.colorScheme);
15761
+ let ZK = import_react.useMemo(() => {
15762
15762
  var _a3;
15763
- let e3 = YK || NK.defaultColorScheme, t2 = ((_a3 = NK.generateThemeVars) == null ? void 0 : _a3.call(NK)) || NK.vars, n2 = {
15764
- ...NK,
15765
- components: FK,
15766
- colorSchemes: PK,
15767
- cssVarPrefix: IK,
15763
+ let e3 = XK || FK.defaultColorScheme, t2 = ((_a3 = FK.generateThemeVars) == null ? void 0 : _a3.call(FK)) || FK.vars, n2 = {
15764
+ ...FK,
15765
+ components: IK,
15766
+ colorSchemes: $,
15767
+ cssVarPrefix: LK,
15768
15768
  vars: t2
15769
15769
  };
15770
15770
  if (typeof n2.generateSpacing == "function" && (n2.spacing = n2.generateSpacing()), e3) {
15771
- let t3 = PK[e3];
15771
+ let t3 = $[e3];
15772
15772
  t3 && typeof t3 == "object" && Object.keys(t3).forEach((e4) => {
15773
15773
  t3[e4] && typeof t3[e4] == "object" ? n2[e4] = {
15774
15774
  ...n2[e4],
@@ -15778,31 +15778,31 @@ try {
15778
15778
  }
15779
15779
  return c ? c(n2) : n2;
15780
15780
  }, [
15781
- NK,
15782
- YK,
15783
15781
  FK,
15784
- PK,
15785
- IK
15786
- ]), ZK = NK.colorSchemeSelector;
15782
+ XK,
15783
+ IK,
15784
+ $,
15785
+ LK
15786
+ ]), QK = FK.colorSchemeSelector;
15787
15787
  useEnhancedEffect_default(() => {
15788
- if (YK && M && ZK && ZK !== "media") {
15789
- let e3 = ZK, t2 = ZK;
15790
- 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(...RK.map((e4) => t2.substring(1).replace("%s", e4))), M.classList.add(t2.substring(1).replace("%s", YK));
15788
+ if (XK && M && QK && QK !== "media") {
15789
+ let e3 = QK, t2 = QK;
15790
+ 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(...zK.map((e4) => t2.substring(1).replace("%s", e4))), M.classList.add(t2.substring(1).replace("%s", XK));
15791
15791
  else {
15792
- let e4 = t2.replace("%s", YK).match(/\[([^\]]+)\]/);
15792
+ let e4 = t2.replace("%s", XK).match(/\[([^\]]+)\]/);
15793
15793
  if (e4) {
15794
15794
  let [t3, n2] = e4[1].split("=");
15795
- n2 || RK.forEach((e5) => {
15796
- M.removeAttribute(t3.replace(YK, e5));
15795
+ n2 || zK.forEach((e5) => {
15796
+ M.removeAttribute(t3.replace(XK, e5));
15797
15797
  }), M.setAttribute(t3, n2 ? n2.replace(/"|'/g, "") : "");
15798
- } else M.setAttribute(t2, YK);
15798
+ } else M.setAttribute(t2, XK);
15799
15799
  }
15800
15800
  }
15801
15801
  }, [
15802
- YK,
15803
- ZK,
15802
+ XK,
15803
+ QK,
15804
15804
  M,
15805
- RK
15805
+ zK
15806
15806
  ]), import_react.useEffect(() => {
15807
15807
  let e3;
15808
15808
  if (w2 && q.current && A) {
@@ -15815,48 +15815,48 @@ try {
15815
15815
  clearTimeout(e3);
15816
15816
  };
15817
15817
  }, [
15818
- YK,
15818
+ XK,
15819
15819
  w2,
15820
15820
  A
15821
15821
  ]), import_react.useEffect(() => (q.current = true, () => {
15822
15822
  q.current = false;
15823
15823
  }), []);
15824
- let QK = import_react.useMemo(() => ({
15825
- allColorSchemes: RK,
15826
- colorScheme: YK,
15827
- darkColorScheme: GK,
15828
- lightColorScheme: WK,
15829
- mode: JK,
15830
- setColorScheme: qK,
15831
- setMode: HK,
15832
- systemMode: UK
15824
+ let $K = import_react.useMemo(() => ({
15825
+ allColorSchemes: zK,
15826
+ colorScheme: XK,
15827
+ darkColorScheme: KK,
15828
+ lightColorScheme: GK,
15829
+ mode: YK,
15830
+ setColorScheme: JK,
15831
+ setMode: UK,
15832
+ systemMode: WK
15833
15833
  }), [
15834
- RK,
15835
- YK,
15834
+ zK,
15835
+ XK,
15836
+ KK,
15836
15837
  GK,
15837
- WK,
15838
+ YK,
15838
15839
  JK,
15839
- qK,
15840
- HK,
15841
15840
  UK,
15842
- XK.colorSchemeSelector
15843
- ]), $K = true;
15844
- (z || NK.cssVariables === false || $ && (J == null ? void 0 : J.cssVarPrefix) === IK) && ($K = false);
15845
- let eq = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
15841
+ WK,
15842
+ ZK.colorSchemeSelector
15843
+ ]), eq = true;
15844
+ (z || FK.cssVariables === false || MK && (J == null ? void 0 : J.cssVarPrefix) === LK) && (eq = false);
15845
+ let tq = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
15846
15846
  children: [
15847
15847
  (0, import_jsx_runtime.jsx)(ThemeProvider_default, {
15848
- themeId: MK ? t : void 0,
15849
- theme: XK,
15848
+ themeId: PK ? t : void 0,
15849
+ theme: ZK,
15850
15850
  children: d2
15851
15851
  }),
15852
- $K && (0, import_jsx_runtime.jsx)(GlobalStyles$1, {
15853
- styles: ((_d = XK.generateStyleSheets) == null ? void 0 : _d.call(XK)) || []
15852
+ eq && (0, import_jsx_runtime.jsx)(GlobalStyles$1, {
15853
+ styles: ((_d = ZK.generateStyleSheets) == null ? void 0 : _d.call(ZK)) || []
15854
15854
  })
15855
15855
  ]
15856
15856
  });
15857
- return $ ? eq : (0, import_jsx_runtime.jsx)(f.Provider, {
15858
- value: QK,
15859
- children: eq
15857
+ return MK ? tq : (0, import_jsx_runtime.jsx)(f.Provider, {
15858
+ value: $K,
15859
+ children: tq
15860
15860
  });
15861
15861
  }
15862
15862
  let S = typeof s == "string" ? s : s.light, w = typeof s == "string" ? s : s.dark;
@@ -17356,10 +17356,10 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
17356
17356
  let n = useDefaultProps({
17357
17357
  props: e,
17358
17358
  name: "MuiInputBase"
17359
- }), { "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: jK, onKeyDown: MK, onKeyUp: NK, placeholder: PK, readOnly: FK, renderSuffix: IK, rows: LK, size: RK, slotProps: zK = {}, slots: BK = {}, startAdornment: VK, type: HK = "text", value: UK, ...WK } = n, GK = A.value == null ? UK : A.value, { current: KK } = import_react.useRef(GK != null), qK = import_react.useRef(), JK = import_react.useCallback((e2) => {
17360
- }, []), YK = useForkRef_default(qK, M, A.ref, JK), [XK, ZK] = import_react.useState(false), QK = useFormControl(), $K = formControlState({
17359
+ }), { "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: MK, onFocus: NK, onKeyDown: PK, onKeyUp: FK, placeholder: $, readOnly: IK, renderSuffix: LK, rows: RK, size: zK, slotProps: BK = {}, slots: VK = {}, startAdornment: HK, type: UK = "text", value: WK, ...GK } = n, KK = A.value == null ? WK : A.value, { current: qK } = import_react.useRef(KK != null), JK = import_react.useRef(), YK = import_react.useCallback((e2) => {
17360
+ }, []), XK = useForkRef_default(JK, M, A.ref, YK), [ZK, QK] = import_react.useState(false), $K = useFormControl(), eq = formControlState({
17361
17361
  props: n,
17362
- muiFormControl: QK,
17362
+ muiFormControl: $K,
17363
17363
  states: [
17364
17364
  "color",
17365
17365
  "disabled",
@@ -17370,145 +17370,145 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
17370
17370
  "filled"
17371
17371
  ]
17372
17372
  });
17373
- $K.focused = QK ? QK.focused : XK, import_react.useEffect(() => {
17374
- !QK && _ && XK && (ZK(false), J && J());
17373
+ eq.focused = $K ? $K.focused : ZK, import_react.useEffect(() => {
17374
+ !$K && _ && ZK && (QK(false), J && J());
17375
17375
  }, [
17376
- QK,
17376
+ $K,
17377
17377
  _,
17378
- XK,
17378
+ ZK,
17379
17379
  J
17380
17380
  ]);
17381
- let eq = QK && QK.onFilled, tq = QK && QK.onEmpty, nq = import_react.useCallback((e2) => {
17382
- isFilled(e2) ? eq && eq() : tq && tq();
17381
+ let tq = $K && $K.onFilled, nq = $K && $K.onEmpty, rq = import_react.useCallback((e2) => {
17382
+ isFilled(e2) ? tq && tq() : nq && nq();
17383
17383
  }, [
17384
- eq,
17385
- tq
17384
+ tq,
17385
+ nq
17386
17386
  ]);
17387
17387
  useEnhancedEffect_default$1(() => {
17388
- KK && nq({
17389
- value: GK
17388
+ qK && rq({
17389
+ value: KK
17390
17390
  });
17391
17391
  }, [
17392
- GK,
17393
- nq,
17394
- KK
17392
+ KK,
17393
+ rq,
17394
+ qK
17395
17395
  ]);
17396
- let rq = (e2) => {
17397
- jK && jK(e2), A.onFocus && A.onFocus(e2), QK && QK.onFocus ? QK.onFocus(e2) : ZK(true);
17398
- }, iq = (e2) => {
17399
- J && J(e2), A.onBlur && A.onBlur(e2), QK && QK.onBlur ? QK.onBlur(e2) : ZK(false);
17400
- }, aq = (e2, ...t2) => {
17401
- if (!KK) {
17402
- let t3 = e2.target || qK.current;
17396
+ let iq = (e2) => {
17397
+ NK && NK(e2), A.onFocus && A.onFocus(e2), $K && $K.onFocus ? $K.onFocus(e2) : QK(true);
17398
+ }, aq = (e2) => {
17399
+ J && J(e2), A.onBlur && A.onBlur(e2), $K && $K.onBlur ? $K.onBlur(e2) : QK(false);
17400
+ }, oq = (e2, ...t2) => {
17401
+ if (!qK) {
17402
+ let t3 = e2.target || JK.current;
17403
17403
  if (t3 == null) throw Error(formatMuiErrorMessage(1));
17404
- nq({
17404
+ rq({
17405
17405
  value: t3.value
17406
17406
  });
17407
17407
  }
17408
17408
  A.onChange && A.onChange(e2, ...t2), Q && Q(e2, ...t2);
17409
17409
  };
17410
17410
  import_react.useEffect(() => {
17411
- nq(qK.current);
17411
+ rq(JK.current);
17412
17412
  }, []);
17413
- let oq = (e2) => {
17414
- qK.current && e2.currentTarget === e2.target && qK.current.focus(), $ && $(e2);
17415
- }, sq = O, cq = A;
17416
- K && sq === "input" && (cq = LK ? {
17413
+ let sq = (e2) => {
17414
+ JK.current && e2.currentTarget === e2.target && JK.current.focus(), MK && MK(e2);
17415
+ }, cq = O, lq = A;
17416
+ K && cq === "input" && (lq = RK ? {
17417
17417
  type: void 0,
17418
- minRows: LK,
17419
- maxRows: LK,
17420
- ...cq
17418
+ minRows: RK,
17419
+ maxRows: RK,
17420
+ ...lq
17421
17421
  } : {
17422
17422
  type: void 0,
17423
17423
  maxRows: z,
17424
17424
  minRows: U,
17425
- ...cq
17426
- }, sq = TextareaAutosize_default);
17427
- let lq = (e2) => {
17428
- nq(e2.animationName === "mui-auto-fill-cancel" ? qK.current : {
17425
+ ...lq
17426
+ }, cq = TextareaAutosize_default);
17427
+ let uq = (e2) => {
17428
+ rq(e2.animationName === "mui-auto-fill-cancel" ? JK.current : {
17429
17429
  value: "x"
17430
17430
  });
17431
17431
  };
17432
17432
  import_react.useEffect(() => {
17433
- QK && QK.setAdornedStart(!!VK);
17433
+ $K && $K.setAdornedStart(!!HK);
17434
17434
  }, [
17435
- QK,
17436
- VK
17435
+ $K,
17436
+ HK
17437
17437
  ]);
17438
- let uq = {
17438
+ let dq = {
17439
17439
  ...n,
17440
- color: $K.color || "primary",
17441
- disabled: $K.disabled,
17440
+ color: eq.color || "primary",
17441
+ disabled: eq.disabled,
17442
17442
  endAdornment: y,
17443
- error: $K.error,
17444
- focused: $K.focused,
17445
- formControl: QK,
17443
+ error: eq.error,
17444
+ focused: eq.focused,
17445
+ formControl: $K,
17446
17446
  fullWidth: w,
17447
- hiddenLabel: $K.hiddenLabel,
17447
+ hiddenLabel: eq.hiddenLabel,
17448
17448
  multiline: K,
17449
- size: $K.size,
17450
- startAdornment: VK,
17451
- type: HK
17452
- }, dq = useUtilityClasses(uq), fq = BK.root || d.Root || InputBaseRoot, pq = zK.root || f.root || {}, mq = BK.input || d.Input || InputBaseInput;
17453
- return cq = {
17454
- ...cq,
17455
- ...zK.input ?? f.input
17449
+ size: eq.size,
17450
+ startAdornment: HK,
17451
+ type: UK
17452
+ }, fq = useUtilityClasses(dq), pq = VK.root || d.Root || InputBaseRoot, mq = BK.root || f.root || {}, hq = VK.input || d.Input || InputBaseInput;
17453
+ return lq = {
17454
+ ...lq,
17455
+ ...BK.input ?? f.input
17456
17456
  }, (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
17457
17457
  children: [
17458
17458
  !v && typeof InputGlobalStyles == "function" && (_InputGlobalStyles || (_InputGlobalStyles = (0, import_jsx_runtime.jsx)(InputGlobalStyles, {}))),
17459
- (0, import_jsx_runtime.jsxs)(fq, {
17460
- ...pq,
17459
+ (0, import_jsx_runtime.jsxs)(pq, {
17460
+ ...mq,
17461
17461
  ref: t,
17462
- onClick: oq,
17463
- ...WK,
17464
- ...!isHostComponent_default(fq) && {
17462
+ onClick: sq,
17463
+ ...GK,
17464
+ ...!isHostComponent_default(pq) && {
17465
17465
  ownerState: {
17466
- ...uq,
17467
- ...pq.ownerState
17466
+ ...dq,
17467
+ ...mq.ownerState
17468
17468
  }
17469
17469
  },
17470
- className: clsx_default(dq.root, pq.className, s, FK && "MuiInputBase-readOnly"),
17470
+ className: clsx_default(fq.root, mq.className, s, IK && "MuiInputBase-readOnly"),
17471
17471
  children: [
17472
- VK,
17472
+ HK,
17473
17473
  (0, import_jsx_runtime.jsx)(FormControlContext_default.Provider, {
17474
17474
  value: null,
17475
- children: (0, import_jsx_runtime.jsx)(mq, {
17476
- "aria-invalid": $K.error,
17475
+ children: (0, import_jsx_runtime.jsx)(hq, {
17476
+ "aria-invalid": eq.error,
17477
17477
  "aria-describedby": i,
17478
17478
  autoComplete: a,
17479
17479
  autoFocus: o,
17480
17480
  defaultValue: h,
17481
- disabled: $K.disabled,
17481
+ disabled: eq.disabled,
17482
17482
  id: E,
17483
- onAnimationStart: lq,
17483
+ onAnimationStart: uq,
17484
17484
  name: q,
17485
- placeholder: PK,
17486
- readOnly: FK,
17487
- required: $K.required,
17488
- rows: LK,
17489
- value: GK,
17490
- onKeyDown: MK,
17491
- onKeyUp: NK,
17492
- type: HK,
17493
- ...cq,
17494
- ...!isHostComponent_default(mq) && {
17495
- as: sq,
17485
+ placeholder: $,
17486
+ readOnly: IK,
17487
+ required: eq.required,
17488
+ rows: RK,
17489
+ value: KK,
17490
+ onKeyDown: PK,
17491
+ onKeyUp: FK,
17492
+ type: UK,
17493
+ ...lq,
17494
+ ...!isHostComponent_default(hq) && {
17495
+ as: cq,
17496
17496
  ownerState: {
17497
- ...uq,
17498
- ...cq.ownerState
17497
+ ...dq,
17498
+ ...lq.ownerState
17499
17499
  }
17500
17500
  },
17501
- ref: YK,
17502
- className: clsx_default(dq.input, cq.className, FK && "MuiInputBase-readOnly"),
17503
- onBlur: iq,
17504
- onChange: aq,
17505
- onFocus: rq
17501
+ ref: XK,
17502
+ className: clsx_default(fq.input, lq.className, IK && "MuiInputBase-readOnly"),
17503
+ onBlur: aq,
17504
+ onChange: oq,
17505
+ onFocus: iq
17506
17506
  })
17507
17507
  }),
17508
17508
  y,
17509
- IK ? IK({
17510
- ...$K,
17511
- startAdornment: VK
17509
+ LK ? LK({
17510
+ ...eq,
17511
+ startAdornment: HK
17512
17512
  }) : null
17513
17513
  ]
17514
17514
  })
@@ -18584,30 +18584,30 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18584
18584
  M,
18585
18585
  i,
18586
18586
  a
18587
- ]), 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), jK = useTextColor(), MK = useJsonViewerStore((e2) => e2.colorspace.base0C), NK = useJsonViewerStore((e2) => e2.colorspace.base0A), PK = useJsonViewerStore((e2) => e2.displayComma), FK = useJsonViewerStore((e2) => e2.quotesOnKeys), IK = useJsonViewerStore((e2) => e2.rootName), LK = U === t, RK = Number.isInteger(Number(A)), zK = useJsonViewerStore((e2) => e2.enableAdd), BK = useJsonViewerStore((e2) => e2.onAdd), VK = (0, import_react.useMemo)(() => !BK || a !== void 0 || zK === false || v === false ? false : typeof zK == "function" ? !!zK(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
18588
- BK,
18587
+ ]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), MK = useJsonViewerStore((e2) => e2.onChange), NK = useTextColor(), PK = useJsonViewerStore((e2) => e2.colorspace.base0C), FK = useJsonViewerStore((e2) => e2.colorspace.base0A), $ = useJsonViewerStore((e2) => e2.displayComma), IK = useJsonViewerStore((e2) => e2.quotesOnKeys), LK = useJsonViewerStore((e2) => e2.rootName), RK = U === t, zK = Number.isInteger(Number(A)), BK = useJsonViewerStore((e2) => e2.enableAdd), VK = useJsonViewerStore((e2) => e2.onAdd), HK = (0, import_react.useMemo)(() => !VK || a !== void 0 || BK === false || v === false ? false : typeof BK == "function" ? !!BK(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
18588
+ VK,
18589
18589
  a,
18590
18590
  i,
18591
- zK,
18591
+ BK,
18592
18592
  v,
18593
18593
  t
18594
- ]), HK = useJsonViewerStore((e2) => e2.enableDelete), UK = useJsonViewerStore((e2) => e2.onDelete), WK = (0, import_react.useMemo)(() => !UK || a !== void 0 || LK || HK === false || v === false ? false : typeof HK == "function" ? !!HK(i, t) : HK, [
18595
- UK,
18594
+ ]), UK = useJsonViewerStore((e2) => e2.enableDelete), WK = useJsonViewerStore((e2) => e2.onDelete), GK = (0, import_react.useMemo)(() => !WK || a !== void 0 || RK || UK === false || v === false ? false : typeof UK == "function" ? !!UK(i, t) : UK, [
18595
+ WK,
18596
18596
  a,
18597
- LK,
18597
+ RK,
18598
18598
  i,
18599
- HK,
18599
+ UK,
18600
18600
  v,
18601
18601
  t
18602
- ]), GK = useJsonViewerStore((e2) => e2.enableClipboard), { copy: KK, copied: qK } = useClipboard(), JK = useJsonViewerStore((e2) => e2.highlightUpdates), YK = (0, import_react.useMemo)(() => !JK || 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, [
18603
- JK,
18602
+ ]), KK = useJsonViewerStore((e2) => e2.enableClipboard), { copy: qK, copied: JK } = useClipboard(), YK = useJsonViewerStore((e2) => e2.highlightUpdates), XK = (0, import_react.useMemo)(() => !YK || 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, [
18603
+ YK,
18604
18604
  n,
18605
18605
  t
18606
- ]), XK = (0, import_react.useRef)();
18606
+ ]), ZK = (0, import_react.useRef)();
18607
18607
  (0, import_react.useEffect)(() => {
18608
- XK.current && YK && "animate" in XK.current && XK.current.animate([
18608
+ ZK.current && XK && "animate" in ZK.current && ZK.current.animate([
18609
18609
  {
18610
- backgroundColor: NK
18610
+ backgroundColor: FK
18611
18611
  },
18612
18612
  {
18613
18613
  backgroundColor: ""
@@ -18617,40 +18617,40 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18617
18617
  easing: "ease-in"
18618
18618
  });
18619
18619
  }, [
18620
- NK,
18621
- YK,
18620
+ FK,
18621
+ XK,
18622
18622
  n,
18623
18623
  t
18624
18624
  ]);
18625
- let ZK = (0, import_react.useCallback)((e2) => {
18625
+ let QK = (0, import_react.useCallback)((e2) => {
18626
18626
  e2.preventDefault(), h && E(h(t)), Q(true);
18627
18627
  }, [
18628
18628
  h,
18629
18629
  t
18630
- ]), QK = (0, import_react.useCallback)(() => {
18630
+ ]), $K = (0, import_react.useCallback)(() => {
18631
18631
  Q(false), E("");
18632
18632
  }, [
18633
18633
  Q,
18634
18634
  E
18635
- ]), $K = (0, import_react.useCallback)((e2) => {
18635
+ ]), eq = (0, import_react.useCallback)((e2) => {
18636
18636
  if (Q(false), _) try {
18637
- $(i, t, _(e2));
18637
+ MK(i, t, _(e2));
18638
18638
  } catch {
18639
18639
  }
18640
18640
  }, [
18641
18641
  Q,
18642
18642
  _,
18643
- $,
18643
+ MK,
18644
18644
  i,
18645
18645
  t
18646
- ]), eq = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18646
+ ]), tq = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18647
18647
  children: [
18648
18648
  (0, import_jsx_runtime.jsx)(IconBox, {
18649
18649
  children: (0, import_jsx_runtime.jsx)(CloseIcon, {
18650
18650
  sx: {
18651
18651
  fontSize: ".8rem"
18652
18652
  },
18653
- onClick: QK
18653
+ onClick: $K
18654
18654
  })
18655
18655
  }),
18656
18656
  (0, import_jsx_runtime.jsx)(IconBox, {
@@ -18658,22 +18658,22 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18658
18658
  sx: {
18659
18659
  fontSize: ".8rem"
18660
18660
  },
18661
- onClick: () => $K(w)
18661
+ onClick: () => eq(w)
18662
18662
  })
18663
18663
  })
18664
18664
  ]
18665
18665
  }) : (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18666
18666
  children: [
18667
- GK && (0, import_jsx_runtime.jsx)(IconBox, {
18667
+ KK && (0, import_jsx_runtime.jsx)(IconBox, {
18668
18668
  onClick: (e2) => {
18669
18669
  e2.preventDefault();
18670
18670
  try {
18671
- KK(i, t, copyString);
18671
+ qK(i, t, copyString);
18672
18672
  } catch (e3) {
18673
18673
  console.error(e3);
18674
18674
  }
18675
18675
  },
18676
- children: qK ? (0, import_jsx_runtime.jsx)(CheckIcon$1, {
18676
+ children: JK ? (0, import_jsx_runtime.jsx)(CheckIcon$1, {
18677
18677
  sx: {
18678
18678
  fontSize: ".8rem"
18679
18679
  }
@@ -18684,16 +18684,16 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18684
18684
  })
18685
18685
  }),
18686
18686
  f && S && h && _ && (0, import_jsx_runtime.jsx)(IconBox, {
18687
- onClick: ZK,
18687
+ onClick: QK,
18688
18688
  children: (0, import_jsx_runtime.jsx)(EditIcon, {
18689
18689
  sx: {
18690
18690
  fontSize: ".8rem"
18691
18691
  }
18692
18692
  })
18693
18693
  }),
18694
- VK && (0, import_jsx_runtime.jsx)(IconBox, {
18694
+ HK && (0, import_jsx_runtime.jsx)(IconBox, {
18695
18695
  onClick: (e2) => {
18696
- e2.preventDefault(), BK == null ? void 0 : BK(i);
18696
+ e2.preventDefault(), VK == null ? void 0 : VK(i);
18697
18697
  },
18698
18698
  children: (0, import_jsx_runtime.jsx)(AddBoxIcon, {
18699
18699
  sx: {
@@ -18701,9 +18701,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18701
18701
  }
18702
18702
  })
18703
18703
  }),
18704
- WK && (0, import_jsx_runtime.jsx)(IconBox, {
18704
+ GK && (0, import_jsx_runtime.jsx)(IconBox, {
18705
18705
  onClick: (e2) => {
18706
- e2.preventDefault(), UK == null ? void 0 : UK(i, t);
18706
+ e2.preventDefault(), WK == null ? void 0 : WK(i, t);
18707
18707
  },
18708
18708
  children: (0, import_jsx_runtime.jsx)(DeleteIcon, {
18709
18709
  sx: {
@@ -18716,24 +18716,24 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18716
18716
  f,
18717
18717
  h,
18718
18718
  _,
18719
+ JK,
18719
18720
  qK,
18720
- KK,
18721
18721
  S,
18722
18722
  J,
18723
+ KK,
18724
+ HK,
18723
18725
  GK,
18724
- VK,
18725
- WK,
18726
18726
  w,
18727
18727
  i,
18728
18728
  t,
18729
- BK,
18730
- UK,
18731
- ZK,
18729
+ VK,
18730
+ WK,
18732
18731
  QK,
18733
- $K
18734
- ]), tq = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
18732
+ $K,
18733
+ eq
18734
+ ]), nq = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
18735
18735
  t
18736
- ]), nq = !tq && !!(c && d), rq = useJsonViewerStore((e2) => e2.keyRenderer), iq = (0, import_react.useMemo)(() => ({
18736
+ ]), rq = !nq && !!(c && d), iq = useJsonViewerStore((e2) => e2.keyRenderer), aq = (0, import_react.useMemo)(() => ({
18737
18737
  path: i,
18738
18738
  inspect: K,
18739
18739
  setInspect: q,
@@ -18765,18 +18765,18 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18765
18765
  className: "data-key",
18766
18766
  sx: {
18767
18767
  lineHeight: 1.5,
18768
- color: jK,
18768
+ color: NK,
18769
18769
  letterSpacing: 0.5,
18770
18770
  opacity: 0.8
18771
18771
  },
18772
18772
  onClick: (0, import_react.useCallback)((e2) => {
18773
- e2.isDefaultPrevented() || tq || q((e3) => !e3);
18773
+ e2.isDefaultPrevented() || nq || q((e3) => !e3);
18774
18774
  }, [
18775
- tq,
18775
+ nq,
18776
18776
  q
18777
18777
  ]),
18778
18778
  children: [
18779
- nq ? K ? (0, import_jsx_runtime.jsx)(ExpandMoreIcon, {
18779
+ rq ? K ? (0, import_jsx_runtime.jsx)(ExpandMoreIcon, {
18780
18780
  className: "data-key-toggle-expanded",
18781
18781
  sx: {
18782
18782
  fontSize: ".8rem",
@@ -18794,27 +18794,27 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18794
18794
  }
18795
18795
  }) : null,
18796
18796
  (0, import_jsx_runtime.jsx)(Box_default, {
18797
- ref: XK,
18797
+ ref: ZK,
18798
18798
  className: "data-key-key",
18799
18799
  component: "span",
18800
- children: LK && O === 0 ? IK === false ? null : FK ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18800
+ children: RK && O === 0 ? LK === false ? null : IK ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18801
18801
  children: [
18802
18802
  '"',
18803
- IK,
18803
+ LK,
18804
18804
  '"'
18805
18805
  ]
18806
18806
  }) : (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
18807
- children: IK
18808
- }) : rq.when(iq) ? (0, import_jsx_runtime.jsx)(rq, {
18809
- ...iq
18810
- }) : a === void 0 && (RK ? (0, import_jsx_runtime.jsx)(Box_default, {
18807
+ children: LK
18808
+ }) : iq.when(aq) ? (0, import_jsx_runtime.jsx)(iq, {
18809
+ ...aq
18810
+ }) : a === void 0 && (zK ? (0, import_jsx_runtime.jsx)(Box_default, {
18811
18811
  component: "span",
18812
18812
  style: {
18813
- color: MK,
18814
- userSelect: RK ? "none" : "auto"
18813
+ color: PK,
18814
+ userSelect: zK ? "none" : "auto"
18815
18815
  },
18816
18816
  children: A
18817
- }) : FK ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18817
+ }) : IK ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18818
18818
  children: [
18819
18819
  '"',
18820
18820
  A,
@@ -18824,7 +18824,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18824
18824
  children: A
18825
18825
  }))
18826
18826
  }),
18827
- LK ? IK !== false && (0, import_jsx_runtime.jsx)(DataBox, {
18827
+ RK ? LK !== false && (0, import_jsx_runtime.jsx)(DataBox, {
18828
18828
  className: "data-key-colon",
18829
18829
  sx: {
18830
18830
  mr: 0.5
@@ -18837,38 +18837,38 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18837
18837
  ".data-key-key:empty + &": {
18838
18838
  display: "none"
18839
18839
  },
18840
- userSelect: RK ? "none" : "auto"
18840
+ userSelect: zK ? "none" : "auto"
18841
18841
  },
18842
18842
  children: ":"
18843
18843
  }),
18844
18844
  c && (0, import_jsx_runtime.jsx)(c, {
18845
- ...iq
18845
+ ...aq
18846
18846
  }),
18847
- I && nq && K && eq
18847
+ I && rq && K && tq
18848
18848
  ]
18849
18849
  }),
18850
18850
  J && S ? f && (0, import_jsx_runtime.jsx)(f, {
18851
18851
  path: i,
18852
18852
  value: w,
18853
18853
  setValue: E,
18854
- abortEditing: QK,
18855
- commitEditing: $K
18854
+ abortEditing: $K,
18855
+ commitEditing: eq
18856
18856
  }) : s ? (0, import_jsx_runtime.jsx)(s, {
18857
- ...iq
18857
+ ...aq
18858
18858
  }) : (0, import_jsx_runtime.jsx)(Box_default, {
18859
18859
  component: "span",
18860
18860
  className: "data-value-fallback",
18861
18861
  children: `fallback: ${t}`
18862
18862
  }),
18863
18863
  d && (0, import_jsx_runtime.jsx)(d, {
18864
- ...iq
18864
+ ...aq
18865
18865
  }),
18866
- !o && PK && (0, import_jsx_runtime.jsx)(DataBox, {
18866
+ !o && $ && (0, import_jsx_runtime.jsx)(DataBox, {
18867
18867
  children: ","
18868
18868
  }),
18869
- I && nq && !K && eq,
18870
- I && !nq && eq,
18871
- !I && J && eq
18869
+ I && rq && !K && tq,
18870
+ I && !rq && tq,
18871
+ !I && J && tq
18872
18872
  ]
18873
18873
  });
18874
18874
  }, query = "(prefers-color-scheme: dark)";
@@ -19078,7 +19078,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
19078
19078
  }, openPackageManager = (e) => {
19079
19079
  e.openApplication("packages"), focusPackagesInput();
19080
19080
  };
19081
- var KEY$1 = "marimo:ai:chatState:v5";
19081
+ var KEY = "marimo:ai:chatState:v5";
19082
19082
  const aiCompletionCellAtom = atom(null);
19083
19083
  atomWithStorage("marimo:ai:includeOtherCells", true, jotaiJsonStorage);
19084
19084
  function removeEmptyChats(e) {
@@ -19093,7 +19093,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
19093
19093
  }
19094
19094
  return t;
19095
19095
  }
19096
- const chatStateAtom = atomWithStorage(KEY$1, {
19096
+ const chatStateAtom = atomWithStorage(KEY, {
19097
19097
  chats: /* @__PURE__ */ new Map(),
19098
19098
  activeChatId: null
19099
19099
  }, adaptForLocalStorage({
@@ -19411,7 +19411,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19411
19411
  }
19412
19412
  var import_compiler_runtime$52 = require_compiler_runtime();
19413
19413
  const CellLink = (e) => {
19414
- let t = (0, import_compiler_runtime$52.c)(12), { className: n, cellId: i, variant: o, onClick: s, formatCellName: c, skipScroll: d } = e, f = useCellNames()[i] ?? "", h = useCellIds().inOrderIds.indexOf(i), { showCellIfHidden: _ } = useCellActions(), v = c ?? _temp$12, y;
19414
+ let t = (0, import_compiler_runtime$52.c)(12), { className: n, cellId: i, variant: o, onClick: s, formatCellName: c, skipScroll: d } = e, f = useCellNames()[i] ?? "", h = useCellIds().inOrderIds.indexOf(i), { showCellIfHidden: _ } = useCellActions(), v = c ?? _temp$11, y;
19415
19415
  t[0] === n ? y = t[1] : (y = cn("inline-block cursor-pointer text-link hover:underline", n), t[0] = n, t[1] = y);
19416
19416
  let S;
19417
19417
  t[2] !== i || t[3] !== s || t[4] !== _ || t[5] !== d || t[6] !== o ? (S = (e2) => {
@@ -19462,7 +19462,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19462
19462
  o.classList.remove("focus-outline");
19463
19463
  }, 2e3)), true);
19464
19464
  }
19465
- function _temp$12(e) {
19465
+ function _temp$11(e) {
19466
19466
  return e;
19467
19467
  }
19468
19468
  var import_compiler_runtime$51 = require_compiler_runtime();
@@ -19500,13 +19500,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19500
19500
  }), t[9] = c, t[10] = s, t[11] = d) : d = t[11], d;
19501
19501
  }, MangledSegments = (e) => {
19502
19502
  let t = (0, import_compiler_runtime$51.c)(4), { segments: n } = e, i;
19503
- t[0] === n ? i = t[1] : (i = n.map(_temp$11), t[0] = n, t[1] = i);
19503
+ t[0] === n ? i = t[1] : (i = n.map(_temp$10), t[0] = n, t[1] = i);
19504
19504
  let a;
19505
19505
  return t[2] === i ? a = t[3] : (a = (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
19506
19506
  children: i
19507
19507
  }), t[2] = i, t[3] = a), a;
19508
19508
  };
19509
- function _temp$11(e, t) {
19509
+ function _temp$10(e, t) {
19510
19510
  return typeof e == "string" ? (0, import_jsx_runtime.jsx)("span", {
19511
19511
  children: e
19512
19512
  }, t) : (0, import_jsx_runtime.jsx)(MangledLocalChip, {
@@ -19730,15 +19730,57 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19730
19730
  children: a
19731
19731
  }), t[2] = a, t[3] = o), o;
19732
19732
  };
19733
- var import_compiler_runtime$49 = require_compiler_runtime(), Tip = (e) => {
19733
+ var import_compiler_runtime$49 = require_compiler_runtime(), CollapsibleTraceback = (e) => {
19734
+ let t = (0, import_compiler_runtime$49.c)(16), { traceback: n } = e, [i, a] = (0, import_react.useState)(true), o;
19735
+ t[0] === i ? o = t[1] : (o = () => a(!i), t[0] = i, t[1] = o);
19736
+ let s = i ? "Collapse traceback" : "Expand traceback", c;
19737
+ t[2] === i ? c = t[3] : (c = i ? (0, import_jsx_runtime.jsx)(ChevronDown, {
19738
+ className: "h-3 w-3"
19739
+ }) : (0, import_jsx_runtime.jsx)(ChevronRight, {
19740
+ className: "h-3 w-3"
19741
+ }), t[2] = i, t[3] = c);
19742
+ let d;
19743
+ t[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = (0, import_jsx_runtime.jsx)("span", {
19744
+ className: "text-[0.6875rem] uppercase tracking-wider",
19745
+ children: "Traceback"
19746
+ }), t[4] = d) : d = t[4];
19747
+ let f;
19748
+ t[5] !== i || t[6] !== o || t[7] !== s || t[8] !== c ? (f = (0, import_jsx_runtime.jsxs)("button", {
19749
+ type: "button",
19750
+ onClick: o,
19751
+ "aria-expanded": i,
19752
+ "aria-label": s,
19753
+ className: "flex items-center gap-1 text-muted-foreground/70 hover:text-muted-foreground transition-colors",
19754
+ children: [
19755
+ c,
19756
+ d
19757
+ ]
19758
+ }), t[5] = i, t[6] = o, t[7] = s, t[8] = c, t[9] = f) : f = t[9];
19759
+ let h;
19760
+ t[10] !== i || t[11] !== n ? (h = i && (0, import_jsx_runtime.jsx)("div", {
19761
+ className: "font-code text-sm mt-1 p-3 bg-muted rounded border overflow-auto max-h-[50vh] cursor-text select-text",
19762
+ children: renderHTML({
19763
+ html: n
19764
+ })
19765
+ }), t[10] = i, t[11] = n, t[12] = h) : h = t[12];
19766
+ let _;
19767
+ return t[13] !== f || t[14] !== h ? (_ = (0, import_jsx_runtime.jsxs)("div", {
19768
+ className: "mt-2",
19769
+ children: [
19770
+ f,
19771
+ h
19772
+ ]
19773
+ }), t[13] = f, t[14] = h, t[15] = _) : _ = t[15], _;
19774
+ }, Tip = (e) => {
19734
19775
  let t = (0, import_compiler_runtime$49.c)(10), n = e.title ?? "Tip", i;
19735
19776
  t[0] === n ? i = t[1] : (i = (0, import_jsx_runtime.jsx)(AccordionTrigger, {
19736
- className: "pt-2 pb-2 font-normal",
19777
+ className: "pt-2 pb-0 font-normal",
19737
19778
  children: n
19738
19779
  }), t[0] = n, t[1] = i);
19739
19780
  let a;
19740
19781
  t[2] === e.children ? a = t[3] : (a = (0, import_jsx_runtime.jsx)(AccordionContent, {
19741
19782
  className: "mr-24 text-[0.84375rem]",
19783
+ wrapperClassName: "pt-0 pb-2",
19742
19784
  children: e.children
19743
19785
  }), t[2] = e.children, t[3] = a);
19744
19786
  let o;
@@ -19759,32 +19801,33 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19759
19801
  }), t[7] = e.className, t[8] = o, t[9] = s) : s = t[9], s;
19760
19802
  };
19761
19803
  const MarimoErrorOutput = (e) => {
19762
- let t = (0, import_compiler_runtime$49.c)(31), { errors: n, cellId: i, className: o } = e, s = useChromeActions(), c = "This cell wasn't run because it has errors", d = "destructive", f = "text-error";
19763
- if (n.some(_temp$10)) c = "Interrupted";
19764
- else if (n.some(_temp2$7)) c = "An internal error occurred";
19765
- else if (n.some(_temp3$4)) c = "Ancestor prevented from running", d = "default", f = "text-secondary-foreground";
19766
- else if (n.some(_temp4$4)) c = "Ancestor stopped", d = "default", f = "text-secondary-foreground";
19767
- else if (n.some(_temp5$2)) c = "SQL error";
19804
+ let t = (0, import_compiler_runtime$49.c)(38), { errors: n, cellId: i, className: o } = e, s = useChromeActions(), c = useAtomValue(resolvedMarimoConfigAtom).display.cell_output === "above", d = "This cell wasn't run because it has errors", f = "destructive", _ = "text-error", v = null;
19805
+ if (n.some(_temp$9)) d = "Interrupted";
19806
+ else if (n.some(_temp2$7)) d = "An internal error occurred";
19807
+ else if (n.some(_temp3$4)) d = "Ancestor prevented from running", f = "default", _ = "text-secondary-foreground";
19808
+ else if (n.some(_temp4$4)) d = "Ancestor stopped", f = "default", _ = "text-secondary-foreground";
19809
+ else if (n.some(_temp5$2)) d = "SQL error";
19810
+ else if (n.some(_temp6$2)) d = null, v = "Cell not run";
19768
19811
  else {
19769
19812
  let e2;
19770
- t[0] === n ? e2 = t[1] : (e2 = n.find(_temp6$2), t[0] = n, t[1] = e2);
19813
+ t[0] === n ? e2 = t[1] : (e2 = n.find(_temp7$1), t[0] = n, t[1] = e2);
19771
19814
  let i2 = e2;
19772
- i2 && "exception_type" in i2 && (c = i2.exception_type);
19815
+ i2 && "exception_type" in i2 && (d = i2.exception_type);
19773
19816
  }
19774
- let _, v, y, S, w, E;
19775
- if (t[2] !== d || t[3] !== i || t[4] !== s || t[5] !== o || t[6] !== n || t[7] !== f || t[8] !== c) {
19776
- let e2 = n.filter(_temp7$1), O2 = n.filter(_temp8), A2 = n.filter(_temp9), M = n.filter(_temp0), I = n.filter(_temp1), z = n.filter(_temp10), U = n.filter(_temp11), K = n.filter(_temp12), q = n.filter(_temp13), J = n.filter(_temp14), Q = n.filter(_temp15), $ = n.filter(_temp16), jK = n.filter(_temp17), MK;
19777
- t[15] === s ? MK = t[16] : (MK = () => {
19817
+ let y, S, w, E, O, A;
19818
+ if (t[2] !== f || t[3] !== i || t[4] !== s || t[5] !== o || t[6] !== n || t[7] !== c || t[8] !== v || t[9] !== _ || t[10] !== d) {
19819
+ 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), MK = n.filter(_temp15), NK = n.filter(_temp16), PK = n.filter(_temp17), FK = n.filter(_temp18), $;
19820
+ t[17] === s ? $ = t[18] : ($ = () => {
19778
19821
  s.openApplication("scratchpad");
19779
- }, t[15] = s, t[16] = MK);
19780
- let NK = MK, PK = () => {
19822
+ }, t[17] = s, t[18] = $);
19823
+ let IK = $, RK = () => {
19781
19824
  let t2 = [];
19782
- if (Q.length > 0 || $.length > 0) {
19783
- let e3 = Q.some(_temp18), n2 = !e3 && Q.some(_temp19);
19825
+ if (NK.length > 0 || PK.length > 0) {
19826
+ let e3 = NK.some(_temp19), n2 = !e3 && NK.some(_temp20);
19784
19827
  t2.push((0, import_jsx_runtime.jsxs)("div", {
19785
19828
  children: [
19786
- Q.map(_temp20),
19787
- $.map(_temp21),
19829
+ NK.map(_temp21),
19830
+ PK.map(_temp22),
19788
19831
  e3 && (0, import_jsx_runtime.jsxs)(Button, {
19789
19832
  size: "xs",
19790
19833
  variant: "outline",
@@ -19815,8 +19858,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19815
19858
  }),
19816
19859
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
19817
19860
  errors: [
19818
- ...Q,
19819
- ...$
19861
+ ...NK,
19862
+ ...PK
19820
19863
  ],
19821
19864
  cellId: i
19822
19865
  })
@@ -19831,7 +19874,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19831
19874
  }),
19832
19875
  (0, import_jsx_runtime.jsx)("ul", {
19833
19876
  className: "list-disc",
19834
- children: e2.flatMap(_temp22)
19877
+ children: e2.flatMap(_temp23)
19835
19878
  }),
19836
19879
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
19837
19880
  errors: e2,
@@ -19869,7 +19912,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19869
19912
  ]
19870
19913
  })
19871
19914
  ]
19872
- }, "setup-refs")), O2.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
19915
+ }, "setup-refs")), M2.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
19873
19916
  children: [
19874
19917
  (0, import_jsx_runtime.jsx)("p", {
19875
19918
  className: "text-muted-foreground font-medium",
@@ -19877,10 +19920,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19877
19920
  }),
19878
19921
  (0, import_jsx_runtime.jsx)("ul", {
19879
19922
  className: "list-disc",
19880
- children: O2.flatMap(_temp23)
19923
+ children: M2.flatMap(_temp24)
19881
19924
  }),
19882
19925
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
19883
- errors: O2,
19926
+ errors: M2,
19884
19927
  cellId: i
19885
19928
  }),
19886
19929
  (0, import_jsx_runtime.jsxs)(Tip, {
@@ -19915,17 +19958,17 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19915
19958
  ]
19916
19959
  })
19917
19960
  ]
19918
- }, "cycle")), A2.length > 0) {
19919
- let e3 = A2[0].name;
19961
+ }, "cycle")), I2.length > 0) {
19962
+ let e3 = I2[0].name;
19920
19963
  t2.push((0, import_jsx_runtime.jsxs)("div", {
19921
19964
  children: [
19922
19965
  (0, import_jsx_runtime.jsx)("p", {
19923
19966
  className: "text-muted-foreground font-medium",
19924
19967
  children: "This cell redefines variables from other cells."
19925
19968
  }),
19926
- A2.map(_temp25),
19969
+ I2.map(_temp26),
19927
19970
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
19928
- errors: A2,
19971
+ errors: I2,
19929
19972
  cellId: i
19930
19973
  }),
19931
19974
  (0, import_jsx_runtime.jsxs)(Tip, {
@@ -19977,7 +20020,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19977
20020
  size: "xs",
19978
20021
  variant: "link",
19979
20022
  className: "my-2 font-normal mx-0 px-0",
19980
- onClick: NK,
20023
+ onClick: IK,
19981
20024
  children: [
19982
20025
  (0, import_jsx_runtime.jsx)(NotebookPen, {
19983
20026
  className: "h-3"
@@ -19996,11 +20039,11 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19996
20039
  ]
19997
20040
  }, "multiple-defs"));
19998
20041
  }
19999
- return M.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20042
+ return z.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20000
20043
  children: [
20001
- M.map(_temp26),
20044
+ z.map(_temp27),
20002
20045
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20003
- errors: M,
20046
+ errors: z,
20004
20047
  cellId: i
20005
20048
  }),
20006
20049
  (0, import_jsx_runtime.jsxs)(Tip, {
@@ -20038,96 +20081,200 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20038
20081
  ]
20039
20082
  })
20040
20083
  ]
20041
- }, "import-star")), I.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20084
+ }, "import-star")), U.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20042
20085
  children: [
20043
- I.map(_temp27),
20086
+ U.map(_temp28),
20044
20087
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20045
- errors: I,
20088
+ errors: U,
20046
20089
  cellId: i
20047
20090
  })
20048
20091
  ]
20049
- }, "interruption")), z.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("ul", {
20092
+ }, "interruption")), K.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("ul", {
20050
20093
  children: [
20051
- z.map(_temp28),
20052
- z.some(_temp29) && (0, import_jsx_runtime.jsx)(Tip, {
20094
+ K.map((e3, t3) => e3.exception_type === "NameError" && e3.msg.startsWith("name 'mo'") ? (0, import_jsx_runtime.jsx)("li", {
20095
+ className: "my-2",
20096
+ children: (0, import_jsx_runtime.jsxs)("div", {
20097
+ children: [
20098
+ (0, import_jsx_runtime.jsx)("p", {
20099
+ className: "text-muted-foreground",
20100
+ children: "name 'mo' is not defined."
20101
+ }),
20102
+ (0, import_jsx_runtime.jsxs)("p", {
20103
+ className: "text-muted-foreground mt-2",
20104
+ children: [
20105
+ "The marimo module (imported as",
20106
+ " ",
20107
+ (0, import_jsx_runtime.jsx)(Kbd, {
20108
+ className: "inline",
20109
+ children: "mo"
20110
+ }),
20111
+ ") is required for Markdown, SQL, and UI elements."
20112
+ ]
20113
+ })
20114
+ ]
20115
+ })
20116
+ }, `exception-${t3}`) : e3.exception_type === "NameError" && e3.msg.startsWith("name '_") ? (0, import_jsx_runtime.jsx)("li", {
20117
+ className: "my-2",
20118
+ children: (0, import_jsx_runtime.jsxs)("div", {
20119
+ children: [
20120
+ (0, import_jsx_runtime.jsx)("p", {
20121
+ className: "text-muted-foreground",
20122
+ children: (0, import_jsx_runtime.jsx)(MangledSegments, {
20123
+ segments: splitMangledLocals(e3.msg)
20124
+ })
20125
+ }),
20126
+ (0, import_jsx_runtime.jsxs)("p", {
20127
+ className: "text-muted-foreground mt-2",
20128
+ children: [
20129
+ "Variables prefixed with an underscore are local to a cell",
20130
+ " ",
20131
+ "(",
20132
+ (0, import_jsx_runtime.jsxs)(ExternalLink$1, {
20133
+ href: "https://links.marimo.app/local-variables",
20134
+ children: [
20135
+ "docs",
20136
+ " ",
20137
+ (0, import_jsx_runtime.jsx)(SquareArrowOutUpRight, {
20138
+ size: "0.75rem",
20139
+ className: "inline"
20140
+ })
20141
+ ]
20142
+ }),
20143
+ ")."
20144
+ ]
20145
+ }),
20146
+ c && (0, import_jsx_runtime.jsx)("div", {
20147
+ className: "text-muted-foreground mt-2",
20148
+ children: "See the console area for a traceback."
20149
+ })
20150
+ ]
20151
+ })
20152
+ }, `exception-${t3}`) : (0, import_jsx_runtime.jsx)("li", {
20153
+ className: "my-2",
20154
+ children: e3.raising_cell == null ? (0, import_jsx_runtime.jsxs)("div", {
20155
+ children: [
20156
+ (0, import_jsx_runtime.jsx)("p", {
20157
+ className: "text-muted-foreground",
20158
+ children: processTextForUrls(e3.msg, `exception-${t3}`)
20159
+ }),
20160
+ "traceback" in e3 && e3.traceback ? (0, import_jsx_runtime.jsx)(CollapsibleTraceback, {
20161
+ traceback: e3.traceback
20162
+ }) : c && (0, import_jsx_runtime.jsx)("div", {
20163
+ className: "text-muted-foreground mt-2",
20164
+ children: "See the console area for a traceback."
20165
+ })
20166
+ ]
20167
+ }) : (0, import_jsx_runtime.jsxs)("div", {
20168
+ children: [
20169
+ processTextForUrls(e3.msg, `exception-${t3}`),
20170
+ (0, import_jsx_runtime.jsx)(CellLinkError, {
20171
+ cellId: e3.raising_cell
20172
+ }),
20173
+ "traceback" in e3 && e3.traceback && (0, import_jsx_runtime.jsx)(CollapsibleTraceback, {
20174
+ traceback: e3.traceback
20175
+ })
20176
+ ]
20177
+ })
20178
+ }, `exception-${t3}`)),
20179
+ K.some(_temp29) && (0, import_jsx_runtime.jsx)(Tip, {
20053
20180
  children: "Fix the error in the mentioned cells, or handle the exceptions with try/except blocks."
20054
20181
  }),
20055
20182
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20056
- errors: z,
20183
+ errors: K,
20057
20184
  cellId: i
20058
20185
  })
20059
20186
  ]
20060
- }, "exception")), U.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("ul", {
20187
+ }, "exception")), q.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("ul", {
20061
20188
  children: [
20062
- U.map(_temp30),
20189
+ q.map(_temp30),
20063
20190
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20064
- errors: U,
20191
+ errors: q,
20065
20192
  cellId: i
20066
20193
  }),
20067
20194
  (0, import_jsx_runtime.jsx)(Tip, {
20068
- children: U.some(_temp31) ? "Ensure that the referenced cells define the required variables, or turn off strict execution." : "Something is wrong with your declarations. Fix any discrepancies, or turn off strict execution."
20195
+ children: q.some(_temp31) ? "Ensure that the referenced cells define the required variables, or turn off strict execution." : "Something is wrong with your declarations. Fix any discrepancies, or turn off strict execution."
20069
20196
  })
20070
20197
  ]
20071
- }, "strict-exception")), K.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20198
+ }, "strict-exception")), J.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20072
20199
  children: [
20073
- K.map(_temp32),
20200
+ J.map(_temp32),
20074
20201
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20075
- errors: K,
20202
+ errors: J,
20076
20203
  cellId: i
20077
20204
  })
20078
20205
  ]
20079
- }, "internal")), q.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20206
+ }, "internal")), Q.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20080
20207
  children: [
20081
- q.map(_temp33),
20208
+ Q.map(_temp33),
20082
20209
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20083
- errors: q,
20210
+ errors: Q,
20084
20211
  cellId: i
20085
20212
  })
20086
20213
  ]
20087
- }, "ancestor-prevented")), J.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20214
+ }, "ancestor-prevented")), MK.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20088
20215
  children: [
20089
- J.map(_temp34),
20216
+ MK.map(_temp34),
20090
20217
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20091
- errors: J,
20218
+ errors: MK,
20092
20219
  cellId: i
20093
20220
  })
20094
20221
  ]
20095
- }, "ancestor-stopped")), jK.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20222
+ }, "ancestor-stopped")), FK.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20096
20223
  children: [
20097
- jK.map(_temp35),
20224
+ FK.map(_temp35),
20098
20225
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20099
- errors: jK,
20226
+ errors: FK,
20100
20227
  cellId: i,
20101
20228
  className: "mt-2.5"
20102
20229
  })
20103
20230
  ]
20104
20231
  }, "sql-errors")), t2;
20105
- }, FK = `font-code font-medium tracking-wide ${f}`, IK;
20106
- t[17] !== FK || t[18] !== c ? (IK = (0, import_jsx_runtime.jsx)(AlertTitle, {
20107
- className: FK,
20108
- children: c
20109
- }), t[17] = FK, t[18] = c, t[19] = IK) : IK = t[19];
20110
- let LK = IK;
20111
- _ = Alert, S = d, t[20] === o ? w = t[21] : (w = cn("border-none font-code text-sm text-[0.84375rem] px-0 text-muted-foreground normal [&:has(svg)]:pl-0 space-y-4", o), t[20] = o, t[21] = w), E = LK, v = "flex flex-col gap-8", y = PK(), t[2] = d, t[3] = i, t[4] = s, t[5] = o, t[6] = n, t[7] = f, t[8] = c, t[9] = _, t[10] = v, t[11] = y, t[12] = S, t[13] = w, t[14] = E;
20112
- } else _ = t[9], v = t[10], y = t[11], S = t[12], w = t[13], E = t[14];
20113
- let O;
20114
- t[22] !== v || t[23] !== y ? (O = (0, import_jsx_runtime.jsx)("div", {
20115
- children: (0, import_jsx_runtime.jsx)("div", {
20116
- className: v,
20117
- children: y
20118
- })
20119
- }), t[22] = v, t[23] = y, t[24] = O) : O = t[24];
20120
- let A;
20121
- return t[25] !== _ || t[26] !== S || t[27] !== w || t[28] !== E || t[29] !== O ? (A = (0, import_jsx_runtime.jsxs)(_, {
20122
- variant: S,
20123
- className: w,
20232
+ }, zK;
20233
+ t[19] === v ? zK = t[20] : (zK = v && (0, import_jsx_runtime.jsxs)("div", {
20234
+ className: "flex items-center gap-1 font-code text-[0.6875rem] uppercase tracking-wider text-muted-foreground/70",
20235
+ children: [
20236
+ v,
20237
+ (0, import_jsx_runtime.jsx)(Tooltip, {
20238
+ content: "marimo didn't run this cell because it detected an error.",
20239
+ delayDuration: 200,
20240
+ children: (0, import_jsx_runtime.jsx)(Info, {
20241
+ className: "size-3 cursor-help"
20242
+ })
20243
+ })
20244
+ ]
20245
+ }), t[19] = v, t[20] = zK);
20246
+ let BK;
20247
+ t[21] !== _ || t[22] !== d ? (BK = d && (0, import_jsx_runtime.jsx)(AlertTitle, {
20248
+ className: `font-code font-medium ${_}`,
20249
+ children: d
20250
+ }), t[21] = _, t[22] = d, t[23] = BK) : BK = t[23];
20251
+ let VK;
20252
+ t[24] !== zK || t[25] !== BK ? (VK = (0, import_jsx_runtime.jsxs)("div", {
20253
+ className: "space-y-0.5",
20254
+ children: [
20255
+ zK,
20256
+ BK
20257
+ ]
20258
+ }), t[24] = zK, t[25] = BK, t[26] = VK) : VK = t[26];
20259
+ let HK = VK;
20260
+ y = Alert, E = f, t[27] === o ? 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", o), t[27] = o, t[28] = O), A = HK, S = "flex flex-col gap-4", w = RK(), t[2] = f, t[3] = i, t[4] = s, t[5] = o, 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;
20261
+ } else y = t[11], S = t[12], w = t[13], E = t[14], O = t[15], A = t[16];
20262
+ let M;
20263
+ t[29] !== S || t[30] !== w ? (M = (0, import_jsx_runtime.jsx)("div", {
20264
+ className: S,
20265
+ children: w
20266
+ }), t[29] = S, t[30] = w, t[31] = M) : M = t[31];
20267
+ let I;
20268
+ return t[32] !== y || t[33] !== E || t[34] !== O || t[35] !== A || t[36] !== M ? (I = (0, import_jsx_runtime.jsxs)(y, {
20269
+ variant: E,
20270
+ className: O,
20124
20271
  children: [
20125
- E,
20126
- O
20272
+ A,
20273
+ M
20127
20274
  ]
20128
- }), t[25] = _, t[26] = S, t[27] = w, t[28] = E, t[29] = O, t[30] = A) : A = t[30], A;
20275
+ }), t[32] = y, t[33] = E, t[34] = O, t[35] = A, t[36] = M, t[37] = I) : I = t[37], I;
20129
20276
  };
20130
- function _temp$10(e) {
20277
+ function _temp$9(e) {
20131
20278
  return e.type === "interruption";
20132
20279
  }
20133
20280
  function _temp2$7(e) {
@@ -20143,64 +20290,67 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20143
20290
  return e.type === "sql-error";
20144
20291
  }
20145
20292
  function _temp6$2(e) {
20146
- return e.type === "exception";
20293
+ return e.type === "multiple-defs" || e.type === "cycle" || e.type === "setup-refs" || e.type === "import-star";
20147
20294
  }
20148
20295
  function _temp7$1(e) {
20149
- return e.type === "setup-refs";
20296
+ return e.type === "exception";
20150
20297
  }
20151
20298
  function _temp8(e) {
20152
- return e.type === "cycle";
20299
+ return e.type === "setup-refs";
20153
20300
  }
20154
20301
  function _temp9(e) {
20155
- return e.type === "multiple-defs";
20302
+ return e.type === "cycle";
20156
20303
  }
20157
20304
  function _temp0(e) {
20158
- return e.type === "import-star";
20305
+ return e.type === "multiple-defs";
20159
20306
  }
20160
20307
  function _temp1(e) {
20161
- return e.type === "interruption";
20308
+ return e.type === "import-star";
20162
20309
  }
20163
20310
  function _temp10(e) {
20164
- return e.type === "exception";
20311
+ return e.type === "interruption";
20165
20312
  }
20166
20313
  function _temp11(e) {
20167
- return e.type === "strict-exception";
20314
+ return e.type === "exception";
20168
20315
  }
20169
20316
  function _temp12(e) {
20170
- return e.type === "internal";
20317
+ return e.type === "strict-exception";
20171
20318
  }
20172
20319
  function _temp13(e) {
20173
- return e.type === "ancestor-prevented";
20320
+ return e.type === "internal";
20174
20321
  }
20175
20322
  function _temp14(e) {
20176
- return e.type === "ancestor-stopped";
20323
+ return e.type === "ancestor-prevented";
20177
20324
  }
20178
20325
  function _temp15(e) {
20179
- return e.type === "syntax";
20326
+ return e.type === "ancestor-stopped";
20180
20327
  }
20181
20328
  function _temp16(e) {
20182
- return e.type === "unknown";
20329
+ return e.type === "syntax";
20183
20330
  }
20184
20331
  function _temp17(e) {
20185
- return e.type === "sql-error";
20332
+ return e.type === "unknown";
20186
20333
  }
20187
20334
  function _temp18(e) {
20188
- return e.msg.includes("!pip");
20335
+ return e.type === "sql-error";
20189
20336
  }
20190
20337
  function _temp19(e) {
20338
+ return e.msg.includes("!pip");
20339
+ }
20340
+ function _temp20(e) {
20191
20341
  return e.msg.includes("use os.subprocess");
20192
20342
  }
20193
- function _temp20(e, t) {
20343
+ function _temp21(e, t) {
20194
20344
  return (0, import_jsx_runtime.jsx)("pre", {
20195
20345
  children: processTextForUrls(e.msg, `syntax-${t}`)
20196
20346
  }, `syntax-${t}`);
20197
20347
  }
20198
- function _temp21(e, t) {
20348
+ function _temp22(e, t) {
20199
20349
  return (0, import_jsx_runtime.jsx)("pre", {
20200
20350
  children: processTextForUrls(e.msg, `unknown-${t}`)
20201
20351
  }, `unknown-${t}`);
20202
20352
  }
20203
- function _temp22(e, t) {
20353
+ function _temp23(e, t) {
20204
20354
  return e.edges_with_vars.map((e2, n) => (0, import_jsx_runtime.jsxs)("li", {
20205
20355
  className: "my-0.5 ml-8 text-muted-foreground/40",
20206
20356
  children: [
@@ -20218,7 +20368,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20218
20368
  ]
20219
20369
  }, `setup-refs-${t}-${n}`));
20220
20370
  }
20221
- function _temp23(e, t) {
20371
+ function _temp24(e, t) {
20222
20372
  return e.edges_with_vars.map((e2, n) => (0, import_jsx_runtime.jsxs)("li", {
20223
20373
  className: "my-0.5 ml-8 text-muted-foreground/40",
20224
20374
  children: [
@@ -20239,7 +20389,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20239
20389
  ]
20240
20390
  }, `cycle-${t}-${n}`));
20241
20391
  }
20242
- function _temp24(e, t) {
20392
+ function _temp25(e, t) {
20243
20393
  return (0, import_jsx_runtime.jsx)("li", {
20244
20394
  className: "my-0.5 ml-8 text-muted-foreground/40",
20245
20395
  children: (0, import_jsx_runtime.jsx)(CellLinkError, {
@@ -20247,7 +20397,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20247
20397
  })
20248
20398
  }, `cell-${t}`);
20249
20399
  }
20250
- function _temp25(e, t) {
20400
+ function _temp26(e, t) {
20251
20401
  return (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
20252
20402
  children: [
20253
20403
  (0, import_jsx_runtime.jsx)("p", {
@@ -20256,115 +20406,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20256
20406
  }),
20257
20407
  (0, import_jsx_runtime.jsx)("ul", {
20258
20408
  className: "list-disc",
20259
- children: e.cells.map(_temp24)
20409
+ children: e.cells.map(_temp25)
20260
20410
  })
20261
20411
  ]
20262
20412
  }, `multiple-defs-${t}`);
20263
20413
  }
20264
- function _temp26(e, t) {
20414
+ function _temp27(e, t) {
20265
20415
  return (0, import_jsx_runtime.jsx)("p", {
20266
20416
  className: "text-muted-foreground",
20267
20417
  children: e.msg
20268
20418
  }, `import-star-${t}`);
20269
20419
  }
20270
- function _temp27(e, t) {
20420
+ function _temp28(e, t) {
20271
20421
  return (0, import_jsx_runtime.jsx)("p", {
20272
20422
  children: "This cell was interrupted and needs to be re-run."
20273
20423
  }, `interruption-${t}`);
20274
20424
  }
20275
- function _temp28(e, t) {
20276
- return e.exception_type === "NameError" && e.msg.startsWith("name 'mo'") ? (0, import_jsx_runtime.jsx)("li", {
20277
- className: "my-2",
20278
- children: (0, import_jsx_runtime.jsxs)("div", {
20279
- children: [
20280
- (0, import_jsx_runtime.jsx)("p", {
20281
- className: "text-muted-foreground",
20282
- children: "name 'mo' is not defined."
20283
- }),
20284
- (0, import_jsx_runtime.jsxs)("p", {
20285
- className: "text-muted-foreground mt-2",
20286
- children: [
20287
- "The marimo module (imported as",
20288
- " ",
20289
- (0, import_jsx_runtime.jsx)(Kbd, {
20290
- className: "inline",
20291
- children: "mo"
20292
- }),
20293
- ") is required for Markdown, SQL, and UI elements."
20294
- ]
20295
- })
20296
- ]
20297
- })
20298
- }, `exception-${t}`) : e.exception_type === "NameError" && e.msg.startsWith("name '_") ? (0, import_jsx_runtime.jsx)("li", {
20299
- className: "my-2",
20300
- children: (0, import_jsx_runtime.jsxs)("div", {
20301
- children: [
20302
- (0, import_jsx_runtime.jsx)("p", {
20303
- className: "text-muted-foreground",
20304
- children: (0, import_jsx_runtime.jsx)(MangledSegments, {
20305
- segments: splitMangledLocals(e.msg)
20306
- })
20307
- }),
20308
- (0, import_jsx_runtime.jsxs)("p", {
20309
- className: "text-muted-foreground mt-2",
20310
- children: [
20311
- "Variables prefixed with an underscore are local to a cell",
20312
- " ",
20313
- "(",
20314
- (0, import_jsx_runtime.jsxs)(ExternalLink$1, {
20315
- href: "https://links.marimo.app/local-variables",
20316
- children: [
20317
- "docs",
20318
- " ",
20319
- (0, import_jsx_runtime.jsx)(SquareArrowOutUpRight, {
20320
- size: "0.75rem",
20321
- className: "inline"
20322
- })
20323
- ]
20324
- }),
20325
- ")."
20326
- ]
20327
- }),
20328
- (0, import_jsx_runtime.jsx)("div", {
20329
- className: "text-muted-foreground mt-2",
20330
- children: "See the console area for a traceback."
20331
- })
20332
- ]
20333
- })
20334
- }, `exception-${t}`) : (0, import_jsx_runtime.jsx)("li", {
20335
- className: "my-2",
20336
- children: e.raising_cell == null ? (0, import_jsx_runtime.jsxs)("div", {
20337
- children: [
20338
- (0, import_jsx_runtime.jsx)("p", {
20339
- className: "text-muted-foreground",
20340
- children: processTextForUrls(e.msg, `exception-${t}`)
20341
- }),
20342
- "traceback" in e && e.traceback ? (0, import_jsx_runtime.jsx)("div", {
20343
- className: "font-code text-sm mt-2 p-3 bg-muted rounded border overflow-auto max-h-[50vh] cursor-text select-text",
20344
- children: renderHTML({
20345
- html: e.traceback
20346
- })
20347
- }) : (0, import_jsx_runtime.jsx)("div", {
20348
- className: "text-muted-foreground mt-2",
20349
- children: "See the console area for a traceback."
20350
- })
20351
- ]
20352
- }) : (0, import_jsx_runtime.jsxs)("div", {
20353
- children: [
20354
- processTextForUrls(e.msg, `exception-${t}`),
20355
- (0, import_jsx_runtime.jsx)(CellLinkError, {
20356
- cellId: e.raising_cell
20357
- }),
20358
- "traceback" in e && e.traceback && (0, import_jsx_runtime.jsx)("div", {
20359
- className: "font-code text-sm mt-2 p-3 bg-muted rounded border overflow-auto max-h-[50vh] cursor-text select-text",
20360
- children: renderHTML({
20361
- html: e.traceback
20362
- })
20363
- })
20364
- ]
20365
- })
20366
- }, `exception-${t}`);
20367
- }
20368
20425
  function _temp29(e) {
20369
20426
  return e.raising_cell != null;
20370
20427
  }
@@ -26132,7 +26189,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26132
26189
  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 }) {
26133
26190
  let E = (0, import_react.useContext)(PanelGroupContext);
26134
26191
  if (E === null) throw Error("Panel components must be rendered within a PanelGroup container");
26135
- let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, $ = useUniqueId(s), jK = (0, import_react.useRef)({
26192
+ let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, MK = useUniqueId(s), NK = (0, import_react.useRef)({
26136
26193
  callbacks: {
26137
26194
  onCollapse: f,
26138
26195
  onExpand: h,
@@ -26145,72 +26202,72 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26145
26202
  maxSize: c,
26146
26203
  minSize: d
26147
26204
  },
26148
- id: $,
26205
+ id: MK,
26149
26206
  idIsFromProps: s !== void 0,
26150
26207
  order: v
26151
26208
  });
26152
26209
  (0, import_react.useRef)({
26153
26210
  didLogMissingDefaultSizeWarning: false
26154
26211
  }), useIsomorphicLayoutEffect$1(() => {
26155
- let { callbacks: e2, constraints: t2 } = jK.current, o2 = {
26212
+ let { callbacks: e2, constraints: t2 } = NK.current, o2 = {
26156
26213
  ...t2
26157
26214
  };
26158
- jK.current.id = $, jK.current.idIsFromProps = s !== void 0, jK.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(jK.current, o2);
26215
+ NK.current.id = MK, NK.current.idIsFromProps = s !== void 0, NK.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(NK.current, o2);
26159
26216
  }), useIsomorphicLayoutEffect$1(() => {
26160
- let e2 = jK.current;
26217
+ let e2 = NK.current;
26161
26218
  return q(e2), () => {
26162
26219
  Q(e2);
26163
26220
  };
26164
26221
  }, [
26165
26222
  v,
26166
- $,
26223
+ MK,
26167
26224
  q,
26168
26225
  Q
26169
26226
  ]), (0, import_react.useImperativeHandle)(o, () => ({
26170
26227
  collapse: () => {
26171
- O(jK.current);
26228
+ O(NK.current);
26172
26229
  },
26173
26230
  expand: (e2) => {
26174
- A(jK.current, e2);
26231
+ A(NK.current, e2);
26175
26232
  },
26176
26233
  getId() {
26177
- return $;
26234
+ return MK;
26178
26235
  },
26179
26236
  getSize() {
26180
- return M(jK.current);
26237
+ return M(NK.current);
26181
26238
  },
26182
26239
  isCollapsed() {
26183
- return U(jK.current);
26240
+ return U(NK.current);
26184
26241
  },
26185
26242
  isExpanded() {
26186
- return !U(jK.current);
26243
+ return !U(NK.current);
26187
26244
  },
26188
26245
  resize: (e2) => {
26189
- J(jK.current, e2);
26246
+ J(NK.current, e2);
26190
26247
  }
26191
26248
  }), [
26192
26249
  O,
26193
26250
  A,
26194
26251
  M,
26195
26252
  U,
26196
- $,
26253
+ MK,
26197
26254
  J
26198
26255
  ]);
26199
- let MK = I(jK.current, a);
26256
+ let PK = I(NK.current, a);
26200
26257
  return (0, import_react.createElement)(S, {
26201
26258
  ...w,
26202
26259
  children: e,
26203
26260
  className: t,
26204
- id: $,
26261
+ id: MK,
26205
26262
  style: {
26206
- ...MK,
26263
+ ...PK,
26207
26264
  ...y
26208
26265
  },
26209
26266
  [DATA_ATTRIBUTES.groupId]: z,
26210
26267
  [DATA_ATTRIBUTES.panel]: "",
26211
26268
  [DATA_ATTRIBUTES.panelCollapsible]: i || void 0,
26212
- [DATA_ATTRIBUTES.panelId]: $,
26213
- [DATA_ATTRIBUTES.panelSize]: parseFloat("" + MK.flexGrow).toFixed(1)
26269
+ [DATA_ATTRIBUTES.panelId]: MK,
26270
+ [DATA_ATTRIBUTES.panelSize]: parseFloat("" + PK.flexGrow).toFixed(1)
26214
26271
  });
26215
26272
  }
26216
26273
  Panel = (0, import_react.forwardRef)((e, t) => (0, import_react.createElement)(PanelWithForwardedRef, {
@@ -26983,7 +27040,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26983
27040
  }, []), Q = (0, import_react.useCallback)((e2) => {
26984
27041
  let { layout: t2, panelDataArray: n2 } = K.current, { panelSize: i2 } = panelDataHelper(n2, e2, t2);
26985
27042
  return assert(i2 != null, `Panel size not found for panel "${e2.id}"`), i2;
26986
- }, []), $ = (0, import_react.useCallback)((e2, t2) => {
27043
+ }, []), MK = (0, import_react.useCallback)((e2, t2) => {
26987
27044
  let { panelDataArray: n2 } = K.current;
26988
27045
  return computePanelFlexBoxStyle({
26989
27046
  defaultSize: t2,
@@ -26995,13 +27052,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26995
27052
  }, [
26996
27053
  S,
26997
27054
  E
26998
- ]), jK = (0, import_react.useCallback)((e2) => {
27055
+ ]), NK = (0, import_react.useCallback)((e2) => {
26999
27056
  let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
27000
27057
  return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), a2 === true && fuzzyNumbersEqual$1(o2, i2);
27001
- }, []), MK = (0, import_react.useCallback)((e2) => {
27058
+ }, []), PK = (0, import_react.useCallback)((e2) => {
27002
27059
  let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
27003
27060
  return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), !a2 || fuzzyCompareNumbers(o2, i2) > 0;
27004
- }, []), NK = (0, import_react.useCallback)((e2) => {
27061
+ }, []), FK = (0, import_react.useCallback)((e2) => {
27005
27062
  let { panelDataArray: t2 } = K.current;
27006
27063
  t2.push(e2), t2.sort((e3, t3) => {
27007
27064
  let n2 = e3.order, i2 = t3.order;
@@ -27033,7 +27090,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27033
27090
  e2.layout = [];
27034
27091
  };
27035
27092
  }, []);
27036
- let PK = (0, import_react.useCallback)((e2) => {
27093
+ let $ = (0, import_react.useCallback)((e2) => {
27037
27094
  let t2 = false, n2 = y.current;
27038
27095
  return n2 && window.getComputedStyle(n2, null).getPropertyValue("direction") === "rtl" && (t2 = true), function(n3) {
27039
27096
  n3.preventDefault();
@@ -27051,7 +27108,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27051
27108
  }), I2 = !compareLayouts(f2, A2);
27052
27109
  (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));
27053
27110
  };
27054
- }, []), FK = (0, import_react.useCallback)((e2, t2) => {
27111
+ }, []), IK = (0, import_react.useCallback)((e2, t2) => {
27055
27112
  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);
27056
27113
  assert(s2 != null, `Panel size not found for panel "${e2.id}"`);
27057
27114
  let d2 = adjustLayoutByDelta({
@@ -27063,12 +27120,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27063
27120
  trigger: "imperative-api"
27064
27121
  });
27065
27122
  compareLayouts(i2, d2) || (O(d2), K.current.layout = d2, n2 && n2(d2), callPanelCallbacks(a2, d2, M.current));
27066
- }, []), IK = (0, import_react.useCallback)((e2, t2) => {
27123
+ }, []), LK = (0, import_react.useCallback)((e2, t2) => {
27067
27124
  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);
27068
- h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) || FK(e2, s2) : h2 < f2 ? FK(e2, f2) : h2 > d2 && FK(e2, d2));
27125
+ h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) || IK(e2, s2) : h2 < f2 ? IK(e2, f2) : h2 > d2 && IK(e2, d2));
27069
27126
  }, [
27070
- FK
27071
- ]), LK = (0, import_react.useCallback)((e2, t2) => {
27127
+ IK
27128
+ ]), RK = (0, import_react.useCallback)((e2, t2) => {
27072
27129
  let { direction: n2 } = U.current, { layout: i2 } = K.current;
27073
27130
  if (!y.current) return;
27074
27131
  let a2 = getResizeHandleElement(e2, y.current);
@@ -27080,30 +27137,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27080
27137
  initialCursorPosition: o2,
27081
27138
  initialLayout: i2
27082
27139
  });
27083
- }, []), RK = (0, import_react.useCallback)(() => {
27140
+ }, []), zK = (0, import_react.useCallback)(() => {
27084
27141
  w(null);
27085
- }, []), zK = (0, import_react.useCallback)((e2) => {
27142
+ }, []), BK = (0, import_react.useCallback)((e2) => {
27086
27143
  let { panelDataArray: t2 } = K.current, n2 = findPanelDataIndex(t2, e2);
27087
27144
  n2 >= 0 && (t2.splice(n2, 1), delete M.current[e2.id], K.current.panelDataArrayChanged = true, A());
27088
27145
  }, [
27089
27146
  A
27090
- ]), BK = (0, import_react.useMemo)(() => ({
27147
+ ]), VK = (0, import_react.useMemo)(() => ({
27091
27148
  collapsePanel: q,
27092
27149
  direction: i,
27093
27150
  dragState: S,
27094
27151
  expandPanel: J,
27095
27152
  getPanelSize: Q,
27096
- getPanelStyle: $,
27153
+ getPanelStyle: MK,
27097
27154
  groupId: v,
27098
- isPanelCollapsed: jK,
27099
- isPanelExpanded: MK,
27100
- reevaluatePanelConstraints: IK,
27101
- registerPanel: NK,
27102
- registerResizeHandle: PK,
27103
- resizePanel: FK,
27104
- startDragging: LK,
27105
- stopDragging: RK,
27106
- unregisterPanel: zK,
27155
+ isPanelCollapsed: NK,
27156
+ isPanelExpanded: PK,
27157
+ reevaluatePanelConstraints: LK,
27158
+ registerPanel: FK,
27159
+ registerResizeHandle: $,
27160
+ resizePanel: IK,
27161
+ startDragging: RK,
27162
+ stopDragging: zK,
27163
+ unregisterPanel: BK,
27107
27164
  panelGroupElement: y.current
27108
27165
  }), [
27109
27166
  q,
@@ -27111,18 +27168,18 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27111
27168
  i,
27112
27169
  J,
27113
27170
  Q,
27114
- $,
27115
- v,
27116
- jK,
27117
27171
  MK,
27118
- IK,
27172
+ v,
27119
27173
  NK,
27120
27174
  PK,
27121
- FK,
27122
27175
  LK,
27176
+ FK,
27177
+ $,
27178
+ IK,
27123
27179
  RK,
27124
- zK
27125
- ]), VK = {
27180
+ zK,
27181
+ BK
27182
+ ]), HK = {
27126
27183
  display: "flex",
27127
27184
  flexDirection: i === "horizontal" ? "row" : "column",
27128
27185
  height: "100%",
@@ -27130,7 +27187,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27130
27187
  width: "100%"
27131
27188
  };
27132
27189
  return (0, import_react.createElement)(PanelGroupContext.Provider, {
27133
- value: BK
27190
+ value: VK
27134
27191
  }, (0, import_react.createElement)(h, {
27135
27192
  ..._,
27136
27193
  children: t,
@@ -27138,7 +27195,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27138
27195
  id: o,
27139
27196
  ref: y,
27140
27197
  style: {
27141
- ...VK,
27198
+ ...HK,
27142
27199
  ...f
27143
27200
  },
27144
27201
  [DATA_ATTRIBUTES.group]: "",
@@ -27215,31 +27272,31 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27215
27272
  });
27216
27273
  let O = (0, import_react.useContext)(PanelGroupContext);
27217
27274
  if (O === null) throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");
27218
- let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [$, jK] = (0, import_react.useState)(false), [MK, NK] = (0, import_react.useState)(null), PK = (0, import_react.useRef)({
27275
+ let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [MK, NK] = (0, import_react.useState)(false), [PK, FK] = (0, import_react.useState)(null), $ = (0, import_react.useRef)({
27219
27276
  state: J
27220
27277
  });
27221
27278
  useIsomorphicLayoutEffect$1(() => {
27222
- PK.current.state = J;
27279
+ $.current.state = J;
27223
27280
  }), (0, import_react.useEffect)(() => {
27224
- if (n) NK(null);
27281
+ if (n) FK(null);
27225
27282
  else {
27226
27283
  let e2 = I(q);
27227
- NK(() => e2);
27284
+ FK(() => e2);
27228
27285
  }
27229
27286
  }, [
27230
27287
  n,
27231
27288
  q,
27232
27289
  I
27233
27290
  ]);
27234
- let FK = (i == null ? void 0 : i.coarse) ?? 15, IK = (i == null ? void 0 : i.fine) ?? 5;
27291
+ let IK = (i == null ? void 0 : i.coarse) ?? 15, LK = (i == null ? void 0 : i.fine) ?? 5;
27235
27292
  (0, import_react.useEffect)(() => {
27236
- if (n || MK == null) return;
27293
+ if (n || PK == null) return;
27237
27294
  let e2 = w.current;
27238
27295
  assert(e2, "Element ref not attached");
27239
27296
  let t2 = false;
27240
27297
  return registerResizeHandle(q, e2, A, {
27241
- coarse: FK,
27242
- fine: IK
27298
+ coarse: IK,
27299
+ fine: LK
27243
27300
  }, (e3, n2, i2) => {
27244
27301
  if (!n2) {
27245
27302
  Q("inactive");
@@ -27253,8 +27310,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27253
27310
  break;
27254
27311
  }
27255
27312
  case "move": {
27256
- let { state: e4 } = PK.current;
27257
- t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), MK(i2);
27313
+ let { state: e4 } = $.current;
27314
+ t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), PK(i2);
27258
27315
  break;
27259
27316
  }
27260
27317
  case "up": {
@@ -27266,22 +27323,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27266
27323
  }
27267
27324
  });
27268
27325
  }, [
27269
- FK,
27326
+ IK,
27270
27327
  A,
27271
27328
  n,
27272
- IK,
27329
+ LK,
27273
27330
  I,
27274
27331
  q,
27275
- MK,
27332
+ PK,
27276
27333
  z,
27277
27334
  U
27278
27335
  ]), useWindowSplitterResizeHandlerBehavior({
27279
27336
  disabled: n,
27280
27337
  handleId: q,
27281
- resizeHandler: MK,
27338
+ resizeHandler: PK,
27282
27339
  panelGroupElement: K
27283
27340
  });
27284
- let LK = {
27341
+ let RK = {
27285
27342
  touchAction: "none",
27286
27343
  userSelect: "none"
27287
27344
  };
@@ -27291,22 +27348,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27291
27348
  className: t,
27292
27349
  id: a,
27293
27350
  onBlur: () => {
27294
- jK(false), o == null ? void 0 : o();
27351
+ NK(false), o == null ? void 0 : o();
27295
27352
  },
27296
27353
  onFocus: () => {
27297
- jK(true), d == null ? void 0 : d();
27354
+ NK(true), d == null ? void 0 : d();
27298
27355
  },
27299
27356
  ref: w,
27300
27357
  role: "separator",
27301
27358
  style: {
27302
- ...LK,
27359
+ ...RK,
27303
27360
  ..._
27304
27361
  },
27305
27362
  tabIndex: v,
27306
27363
  [DATA_ATTRIBUTES.groupDirection]: A,
27307
27364
  [DATA_ATTRIBUTES.groupId]: M,
27308
27365
  [DATA_ATTRIBUTES.resizeHandle]: "",
27309
- [DATA_ATTRIBUTES.resizeHandleActive]: J === "drag" ? "pointer" : $ ? "keyboard" : void 0,
27366
+ [DATA_ATTRIBUTES.resizeHandleActive]: J === "drag" ? "pointer" : MK ? "keyboard" : void 0,
27310
27367
  [DATA_ATTRIBUTES.resizeHandleEnabled]: !n,
27311
27368
  [DATA_ATTRIBUTES.resizeHandleId]: q,
27312
27369
  [DATA_ATTRIBUTES.resizeHandleState]: J
@@ -27598,7 +27655,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27598
27655
  }, [
27599
27656
  h
27600
27657
  ]), k(() => {
27601
- U(6, MK);
27658
+ U(6, PK);
27602
27659
  }, []);
27603
27660
  let K = import_react.useMemo(() => ({
27604
27661
  subscribe: (e2) => (s.current.add(e2), () => s.current.delete(e2)),
@@ -27607,7 +27664,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27607
27664
  var _a2;
27608
27665
  var a2, o2, s2;
27609
27666
  if (!Object.is(n.current[e2], t2)) {
27610
- if (n.current[e2] = t2, e2 === "search") jK(), Q(), U(1, $);
27667
+ if (n.current[e2] = t2, e2 === "search") NK(), Q(), U(1, MK);
27611
27668
  else if (e2 === "value") {
27612
27669
  if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
27613
27670
  let e3 = document.getElementById(I);
@@ -27615,8 +27672,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27615
27672
  }
27616
27673
  if (U(7, () => {
27617
27674
  var _a3;
27618
- n.current.selectedItemId = (_a3 = NK()) == null ? void 0 : _a3.id, K.emit();
27619
- }), i2 || U(5, MK), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
27675
+ n.current.selectedItemId = (_a3 = FK()) == null ? void 0 : _a3.id, K.emit();
27676
+ }), i2 || U(5, PK), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
27620
27677
  let e3 = t2 ?? "";
27621
27678
  (s2 = (o2 = c.current).onValueChange) == null || s2.call(o2, e3);
27622
27679
  return;
@@ -27641,12 +27698,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27641
27698
  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([
27642
27699
  e2
27643
27700
  ]))), U(3, () => {
27644
- jK(), Q(), n.current.value || $(), K.emit();
27701
+ NK(), Q(), n.current.value || MK(), K.emit();
27645
27702
  }), () => {
27646
27703
  o.current.delete(e2), i.current.delete(e2), n.current.filtered.items.delete(e2);
27647
- let t3 = NK();
27704
+ let t3 = FK();
27648
27705
  U(4, () => {
27649
- jK(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && $(), K.emit();
27706
+ NK(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && MK(), K.emit();
27650
27707
  });
27651
27708
  }),
27652
27709
  group: (e2) => (a.current.has(e2) || a.current.set(e2, /* @__PURE__ */ new Set()), () => {
@@ -27679,7 +27736,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27679
27736
  ]);
27680
27737
  });
27681
27738
  let i2 = z.current;
27682
- PK().sort((t3, n2) => {
27739
+ $().sort((t3, n2) => {
27683
27740
  let i3 = t3.getAttribute("id"), a2 = n2.getAttribute("id");
27684
27741
  return (e2.get(a2) ?? 0) - (e2.get(i3) ?? 0);
27685
27742
  }).forEach((e3) => {
@@ -27691,12 +27748,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27691
27748
  t3 == null ? void 0 : t3.parentElement.appendChild(t3);
27692
27749
  });
27693
27750
  }
27694
- function $() {
27751
+ function MK() {
27695
27752
  var _a2;
27696
- let e2 = (_a2 = PK().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
27753
+ let e2 = (_a2 = $().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
27697
27754
  K.setState("value", e2 || void 0);
27698
27755
  }
27699
- function jK() {
27756
+ function NK() {
27700
27757
  var _a2, _b;
27701
27758
  if (!n.current.search || c.current.shouldFilter === false) {
27702
27759
  n.current.filtered.count = i.current.size;
@@ -27714,43 +27771,43 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27714
27771
  }
27715
27772
  n.current.filtered.count = e2;
27716
27773
  }
27717
- function MK() {
27774
+ function PK() {
27718
27775
  var _a2, _b;
27719
27776
  var e2;
27720
- let t2 = NK();
27777
+ let t2 = FK();
27721
27778
  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({
27722
27779
  block: "nearest"
27723
27780
  })), t2.scrollIntoView({
27724
27781
  block: "nearest"
27725
27782
  }));
27726
27783
  }
27727
- function NK() {
27784
+ function FK() {
27728
27785
  var _a2;
27729
27786
  return (_a2 = z.current) == null ? void 0 : _a2.querySelector(`${le}[aria-selected="true"]`);
27730
27787
  }
27731
- function PK() {
27788
+ function $() {
27732
27789
  var _a2;
27733
27790
  return Array.from(((_a2 = z.current) == null ? void 0 : _a2.querySelectorAll(ce$1)) || []);
27734
27791
  }
27735
- function FK(e2) {
27736
- let t2 = PK()[e2];
27792
+ function IK(e2) {
27793
+ let t2 = $()[e2];
27737
27794
  t2 && K.setState("value", t2.getAttribute(T));
27738
27795
  }
27739
- function IK(e2) {
27796
+ function LK(e2) {
27740
27797
  var t2;
27741
- let n2 = NK(), i2 = PK(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
27798
+ let n2 = FK(), i2 = $(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
27742
27799
  (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));
27743
27800
  }
27744
- function LK(e2) {
27801
+ function RK(e2) {
27745
27802
  var _a2;
27746
- let t2 = (_a2 = NK()) == null ? void 0 : _a2.closest(N$1), n2;
27803
+ let t2 = (_a2 = FK()) == null ? void 0 : _a2.closest(N$1), n2;
27747
27804
  for (; t2 && !n2; ) t2 = e2 > 0 ? we(t2, N$1) : De(t2, N$1), n2 = t2 == null ? void 0 : t2.querySelector(ce$1);
27748
- n2 ? K.setState("value", n2.getAttribute(T)) : IK(e2);
27805
+ n2 ? K.setState("value", n2.getAttribute(T)) : LK(e2);
27749
27806
  }
27750
- let RK = () => FK(PK().length - 1), zK = (e2) => {
27751
- e2.preventDefault(), e2.metaKey ? RK() : e2.altKey ? LK(1) : IK(1);
27752
- }, BK = (e2) => {
27753
- e2.preventDefault(), e2.metaKey ? FK(0) : e2.altKey ? LK(-1) : IK(-1);
27807
+ let zK = () => IK($().length - 1), BK = (e2) => {
27808
+ e2.preventDefault(), e2.metaKey ? zK() : e2.altKey ? RK(1) : LK(1);
27809
+ }, VK = (e2) => {
27810
+ e2.preventDefault(), e2.metaKey ? IK(0) : e2.altKey ? RK(-1) : LK(-1);
27754
27811
  };
27755
27812
  return import_react.createElement(Primitive.div, {
27756
27813
  ref: t,
@@ -27764,27 +27821,27 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27764
27821
  if (!(e2.defaultPrevented || n2)) switch (e2.key) {
27765
27822
  case "n":
27766
27823
  case "j":
27767
- E && e2.ctrlKey && zK(e2);
27824
+ E && e2.ctrlKey && BK(e2);
27768
27825
  break;
27769
27826
  case "ArrowDown":
27770
- zK(e2);
27827
+ BK(e2);
27771
27828
  break;
27772
27829
  case "p":
27773
27830
  case "k":
27774
- E && e2.ctrlKey && BK(e2);
27831
+ E && e2.ctrlKey && VK(e2);
27775
27832
  break;
27776
27833
  case "ArrowUp":
27777
- BK(e2);
27834
+ VK(e2);
27778
27835
  break;
27779
27836
  case "Home":
27780
- e2.preventDefault(), FK(0);
27837
+ e2.preventDefault(), IK(0);
27781
27838
  break;
27782
27839
  case "End":
27783
- e2.preventDefault(), RK();
27840
+ e2.preventDefault(), zK();
27784
27841
  break;
27785
27842
  case "Enter": {
27786
27843
  e2.preventDefault();
27787
- let t3 = NK();
27844
+ let t3 = FK();
27788
27845
  if (t3) {
27789
27846
  let e3 = new Event(Z);
27790
27847
  t3.dispatchEvent(e3);
@@ -28193,153 +28250,153 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28193
28250
  Combobox = (e) => {
28194
28251
  let t = (0, import_compiler_runtime$30.c)(103), n, i, o, s, c, d, f, h, _, v, y, S, w, E, O, A, M, I, z, U, K, q, J;
28195
28252
  t[0] === e ? (n = t[1], i = t[2], o = t[3], s = t[4], c = t[5], d = t[6], f = t[7], h = t[8], _ = t[9], v = t[10], y = t[11], S = t[12], w = t[13], E = t[14], O = t[15], A = t[16], M = t[17], I = t[18], z = t[19], U = t[20], K = t[21], q = t[22], J = t[23]) : ({ children: n, displayValue: d, className: o, placeholder: E, value: J, defaultValue: c, onValueChange: S, multiple: M, shouldFilter: I, filterFn: f, open: w, defaultOpen: s, onOpenChange: v, inputPlaceholder: z, search: A, onSearchChange: y, emptyState: U, chips: K, chipsClassName: i, keepPopoverOpenOnSelect: _, id: h, disabled: q, ...O } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o, t[4] = s, t[5] = c, t[6] = d, t[7] = f, t[8] = h, t[9] = _, t[10] = v, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = O, t[16] = A, t[17] = M, t[18] = I, t[19] = z, t[20] = U, t[21] = K, t[22] = q, t[23] = J);
28196
- let Q = M === void 0 ? false : M, $ = I === void 0 ? true : I, jK = z === void 0 ? "Search..." : z, MK = U === void 0 ? "Nothing found." : U, NK = K === void 0 ? false : K, PK = q === void 0 ? false : q, FK = s ?? false, IK;
28197
- t[24] !== v || t[25] !== w || t[26] !== FK ? (IK = {
28253
+ let Q = M === void 0 ? false : M, MK = I === void 0 ? true : I, NK = z === void 0 ? "Search..." : z, PK = U === void 0 ? "Nothing found." : U, FK = K === void 0 ? false : K, $ = q === void 0 ? false : q, IK = s ?? false, LK;
28254
+ t[24] !== v || t[25] !== w || t[26] !== IK ? (LK = {
28198
28255
  prop: w,
28199
- defaultProp: FK,
28256
+ defaultProp: IK,
28200
28257
  onChange: v
28201
- }, t[24] = v, t[25] = w, t[26] = FK, t[27] = IK) : IK = t[27];
28202
- let [LK, RK] = useControllableState(IK), zK = LK === void 0 ? false : LK, BK;
28203
- t[28] === S ? BK = t[29] : (BK = (e2) => {
28258
+ }, t[24] = v, t[25] = w, t[26] = IK, t[27] = LK) : LK = t[27];
28259
+ let [RK, zK] = useControllableState(LK), BK = RK === void 0 ? false : RK, VK;
28260
+ t[28] === S ? VK = t[29] : (VK = (e2) => {
28204
28261
  S == null ? void 0 : S(e2);
28205
- }, t[28] = S, t[29] = BK);
28206
- let VK;
28207
- t[30] !== c || t[31] !== BK || t[32] !== J ? (VK = {
28262
+ }, t[28] = S, t[29] = VK);
28263
+ let HK;
28264
+ t[30] !== c || t[31] !== VK || t[32] !== J ? (HK = {
28208
28265
  prop: J,
28209
28266
  defaultProp: c,
28210
- onChange: BK
28211
- }, t[30] = c, t[31] = BK, t[32] = J, t[33] = VK) : VK = t[33];
28212
- let [HK, UK] = useControllableState(VK), WK;
28213
- t[34] === HK ? WK = t[35] : (WK = (e2) => Array.isArray(HK) ? HK.includes(e2) : HK === e2, t[34] = HK, t[35] = WK);
28214
- let GK = WK, KK;
28215
- t[36] !== _ || t[37] !== Q || t[38] !== RK || t[39] !== UK || t[40] !== HK ? (KK = (e2) => {
28267
+ onChange: VK
28268
+ }, t[30] = c, t[31] = VK, t[32] = J, t[33] = HK) : HK = t[33];
28269
+ let [UK, WK] = useControllableState(HK), GK;
28270
+ t[34] === UK ? GK = t[35] : (GK = (e2) => Array.isArray(UK) ? UK.includes(e2) : UK === e2, t[34] = UK, t[35] = GK);
28271
+ let KK = GK, qK;
28272
+ t[36] !== _ || t[37] !== Q || t[38] !== zK || t[39] !== WK || t[40] !== UK ? (qK = (e2) => {
28216
28273
  let t2 = e2;
28217
- if (Q) if (Array.isArray(HK)) if (HK.includes(t2)) {
28218
- let n2 = HK.filter((t3) => t3 !== e2);
28274
+ if (Q) if (Array.isArray(UK)) if (UK.includes(t2)) {
28275
+ let n2 = UK.filter((t3) => t3 !== e2);
28219
28276
  t2 = n2.length > 0 ? n2 : [];
28220
28277
  } else t2 = [
28221
- ...HK,
28278
+ ...UK,
28222
28279
  t2
28223
28280
  ];
28224
28281
  else t2 = [
28225
28282
  t2
28226
28283
  ];
28227
- else HK === e2 && (t2 = null);
28228
- UK(t2), (_ ?? Q) || RK(false);
28229
- }, t[36] = _, t[37] = Q, t[38] = RK, t[39] = UK, t[40] = HK, t[41] = KK) : KK = t[41];
28230
- let qK = KK, JK;
28231
- t[42] !== NK || t[43] !== d || t[44] !== Q || t[45] !== E || t[46] !== HK ? (JK = () => Q && NK && E ? E : HK == null ? E ?? "--" : Array.isArray(HK) ? HK.length === 0 ? E ?? "--" : HK.length === 1 && d !== void 0 ? d(HK[0]) : `${HK.length} selected` : d === void 0 ? E ?? "--" : d(HK), t[42] = NK, t[43] = d, t[44] = Q, t[45] = E, t[46] = HK, t[47] = JK) : JK = t[47];
28232
- let YK = JK, XK;
28233
- t[48] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (XK = cn("relative"), t[48] = XK) : XK = t[48];
28234
- let ZK;
28235
- t[49] !== PK || t[50] !== RK ? (ZK = (e2) => {
28236
- PK && e2 || RK(e2);
28237
- }, t[49] = PK, t[50] = RK, t[51] = ZK) : ZK = t[51];
28238
- let QK = PK && "cursor-not-allowed opacity-50", $K;
28239
- t[52] !== o || t[53] !== QK ? ($K = 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", QK, o), t[52] = o, t[53] = QK, t[54] = $K) : $K = t[54];
28284
+ else UK === e2 && (t2 = null);
28285
+ WK(t2), (_ ?? Q) || zK(false);
28286
+ }, t[36] = _, t[37] = Q, t[38] = zK, t[39] = WK, t[40] = UK, t[41] = qK) : qK = t[41];
28287
+ let JK = qK, YK;
28288
+ t[42] !== FK || t[43] !== d || t[44] !== Q || t[45] !== E || t[46] !== UK ? (YK = () => Q && FK && E ? E : UK == null ? E ?? "--" : Array.isArray(UK) ? UK.length === 0 ? E ?? "--" : UK.length === 1 && d !== void 0 ? d(UK[0]) : `${UK.length} selected` : d === void 0 ? E ?? "--" : d(UK), t[42] = FK, t[43] = d, t[44] = Q, t[45] = E, t[46] = UK, t[47] = YK) : YK = t[47];
28289
+ let XK = YK, ZK;
28290
+ t[48] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ZK = cn("relative"), t[48] = ZK) : ZK = t[48];
28291
+ let QK;
28292
+ t[49] !== $ || t[50] !== zK ? (QK = (e2) => {
28293
+ $ && e2 || zK(e2);
28294
+ }, t[49] = $, t[50] = zK, t[51] = QK) : QK = t[51];
28295
+ let $K = $ && "cursor-not-allowed opacity-50", eq;
28296
+ t[52] !== o || t[53] !== $K ? (eq = 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", $K, o), t[52] = o, t[53] = $K, t[54] = eq) : eq = t[54];
28240
28297
  let tq;
28241
- t[55] === YK ? tq = t[56] : (tq = YK(), t[55] = YK, t[56] = tq);
28242
- let nq;
28243
- t[57] === tq ? nq = t[58] : (nq = (0, import_jsx_runtime.jsx)("span", {
28298
+ t[55] === XK ? tq = t[56] : (tq = XK(), t[55] = XK, t[56] = tq);
28299
+ let rq;
28300
+ t[57] === tq ? rq = t[58] : (rq = (0, import_jsx_runtime.jsx)("span", {
28244
28301
  className: "truncate flex-1 min-w-0",
28245
28302
  children: tq
28246
- }), t[57] = tq, t[58] = nq);
28303
+ }), t[57] = tq, t[58] = rq);
28247
28304
  let iq;
28248
28305
  t[59] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (iq = (0, import_jsx_runtime.jsx)(ChevronDown, {
28249
28306
  className: "ml-3 w-4 h-4 opacity-50 shrink-0"
28250
28307
  }), t[59] = iq) : iq = t[59];
28251
- let aq;
28252
- t[60] !== PK || t[61] !== h || t[62] !== zK || t[63] !== $K || t[64] !== nq ? (aq = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
28308
+ let oq;
28309
+ t[60] !== $ || t[61] !== h || t[62] !== BK || t[63] !== eq || t[64] !== rq ? (oq = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
28253
28310
  asChild: true,
28254
28311
  children: (0, import_jsx_runtime.jsxs)("button", {
28255
28312
  id: h,
28256
28313
  type: "button",
28257
- className: $K,
28258
- "aria-expanded": zK,
28259
- "aria-disabled": PK,
28314
+ className: eq,
28315
+ "aria-expanded": BK,
28316
+ "aria-disabled": $,
28260
28317
  children: [
28261
- nq,
28318
+ rq,
28262
28319
  iq
28263
28320
  ]
28264
28321
  })
28265
- }), t[60] = PK, t[61] = h, t[62] = zK, t[63] = $K, t[64] = nq, t[65] = aq) : aq = t[65];
28266
- let oq;
28267
- t[66] !== jK || t[67] !== y || t[68] !== A ? (oq = (0, import_jsx_runtime.jsx)(CommandInput, {
28268
- placeholder: jK,
28322
+ }), t[60] = $, t[61] = h, t[62] = BK, t[63] = eq, t[64] = rq, t[65] = oq) : oq = t[65];
28323
+ let sq;
28324
+ t[66] !== NK || t[67] !== y || t[68] !== A ? (sq = (0, import_jsx_runtime.jsx)(CommandInput, {
28325
+ placeholder: NK,
28269
28326
  rootClassName: "px-1 h-8",
28270
28327
  autoFocus: true,
28271
28328
  value: A,
28272
28329
  onValueChange: y
28273
- }), t[66] = jK, t[67] = y, t[68] = A, t[69] = oq) : oq = t[69];
28274
- let sq;
28275
- t[70] === MK ? sq = t[71] : (sq = (0, import_jsx_runtime.jsx)(CommandEmpty, {
28276
- children: MK
28277
- }), t[70] = MK, t[71] = sq);
28330
+ }), t[66] = NK, t[67] = y, t[68] = A, t[69] = sq) : sq = t[69];
28278
28331
  let cq;
28279
- t[72] !== qK || t[73] !== GK ? (cq = {
28280
- isSelected: GK,
28281
- onSelect: qK
28282
- }, t[72] = qK, t[73] = GK, t[74] = cq) : cq = t[74];
28332
+ t[70] === PK ? cq = t[71] : (cq = (0, import_jsx_runtime.jsx)(CommandEmpty, {
28333
+ children: PK
28334
+ }), t[70] = PK, t[71] = cq);
28283
28335
  let lq;
28284
- t[75] !== n || t[76] !== cq ? (lq = (0, import_jsx_runtime.jsx)(ComboboxContext, {
28285
- value: cq,
28286
- children: n
28287
- }), t[75] = n, t[76] = cq, t[77] = lq) : lq = t[77];
28336
+ t[72] !== JK || t[73] !== KK ? (lq = {
28337
+ isSelected: KK,
28338
+ onSelect: JK
28339
+ }, t[72] = JK, t[73] = KK, t[74] = lq) : lq = t[74];
28288
28340
  let uq;
28289
- t[78] !== sq || t[79] !== lq ? (uq = (0, import_jsx_runtime.jsxs)(CommandList, {
28341
+ t[75] !== n || t[76] !== lq ? (uq = (0, import_jsx_runtime.jsx)(ComboboxContext, {
28342
+ value: lq,
28343
+ children: n
28344
+ }), t[75] = n, t[76] = lq, t[77] = uq) : uq = t[77];
28345
+ let dq;
28346
+ t[78] !== cq || t[79] !== uq ? (dq = (0, import_jsx_runtime.jsxs)(CommandList, {
28290
28347
  className: "max-h-60 py-.5",
28291
28348
  children: [
28292
- sq,
28293
- lq
28349
+ cq,
28350
+ uq
28294
28351
  ]
28295
- }), t[78] = sq, t[79] = lq, t[80] = uq) : uq = t[80];
28296
- let dq;
28297
- t[81] !== f || t[82] !== $ || t[83] !== oq || t[84] !== uq ? (dq = (0, import_jsx_runtime.jsx)(PopoverContent, {
28352
+ }), t[78] = cq, t[79] = uq, t[80] = dq) : dq = t[80];
28353
+ let fq;
28354
+ t[81] !== f || t[82] !== MK || t[83] !== sq || t[84] !== dq ? (fq = (0, import_jsx_runtime.jsx)(PopoverContent, {
28298
28355
  className: "w-full min-w-(--radix-popover-trigger-width) p-0",
28299
28356
  align: "start",
28300
28357
  children: (0, import_jsx_runtime.jsxs)(Command, {
28301
28358
  filter: f,
28302
- shouldFilter: $,
28359
+ shouldFilter: MK,
28303
28360
  children: [
28304
- oq,
28305
- uq
28361
+ sq,
28362
+ dq
28306
28363
  ]
28307
28364
  })
28308
- }), t[81] = f, t[82] = $, t[83] = oq, t[84] = uq, t[85] = dq) : dq = t[85];
28309
- let fq;
28310
- t[86] !== zK || t[87] !== ZK || t[88] !== aq || t[89] !== dq ? (fq = (0, import_jsx_runtime.jsxs)(Popover, {
28311
- open: zK,
28312
- onOpenChange: ZK,
28365
+ }), t[81] = f, t[82] = MK, t[83] = sq, t[84] = dq, t[85] = fq) : fq = t[85];
28366
+ let pq;
28367
+ t[86] !== BK || t[87] !== QK || t[88] !== oq || t[89] !== fq ? (pq = (0, import_jsx_runtime.jsxs)(Popover, {
28368
+ open: BK,
28369
+ onOpenChange: QK,
28313
28370
  children: [
28314
- aq,
28315
- dq
28371
+ oq,
28372
+ fq
28316
28373
  ]
28317
- }), t[86] = zK, t[87] = ZK, t[88] = aq, t[89] = dq, t[90] = fq) : fq = t[90];
28318
- let pq;
28319
- t[91] !== NK || t[92] !== i || t[93] !== PK || t[94] !== d || t[95] !== qK || t[96] !== Q || t[97] !== HK ? (pq = Q && NK && (0, import_jsx_runtime.jsx)("div", {
28374
+ }), t[86] = BK, t[87] = QK, t[88] = oq, t[89] = fq, t[90] = pq) : pq = t[90];
28375
+ let mq;
28376
+ t[91] !== FK || t[92] !== i || t[93] !== $ || t[94] !== d || t[95] !== JK || t[96] !== Q || t[97] !== UK ? (mq = Q && FK && (0, import_jsx_runtime.jsx)("div", {
28320
28377
  className: cn("flex flex-col gap-1 items-start", i),
28321
- children: Array.isArray(HK) && HK.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
28378
+ children: Array.isArray(UK) && UK.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
28322
28379
  variant: "secondary",
28323
28380
  children: [
28324
28381
  (d == null ? void 0 : d(e2)) ?? String(e2),
28325
28382
  (0, import_jsx_runtime.jsx)(CircleX, {
28326
28383
  onClick: () => {
28327
- PK || qK(e2);
28384
+ $ || JK(e2);
28328
28385
  },
28329
- className: cn("w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer", PK && "pointer-events-none")
28386
+ className: cn("w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer", $ && "pointer-events-none")
28330
28387
  })
28331
28388
  ]
28332
28389
  }, String(e2)))
28333
- }), t[91] = NK, t[92] = i, t[93] = PK, t[94] = d, t[95] = qK, t[96] = Q, t[97] = HK, t[98] = pq) : pq = t[98];
28334
- let mq;
28335
- return t[99] !== O || t[100] !== fq || t[101] !== pq ? (mq = (0, import_jsx_runtime.jsxs)("div", {
28336
- className: XK,
28390
+ }), t[91] = FK, t[92] = i, t[93] = $, t[94] = d, t[95] = JK, t[96] = Q, t[97] = UK, t[98] = mq) : mq = t[98];
28391
+ let hq;
28392
+ return t[99] !== O || t[100] !== pq || t[101] !== mq ? (hq = (0, import_jsx_runtime.jsxs)("div", {
28393
+ className: ZK,
28337
28394
  ...O,
28338
28395
  children: [
28339
- fq,
28340
- pq
28396
+ pq,
28397
+ mq
28341
28398
  ]
28342
- }), t[99] = O, t[100] = fq, t[101] = pq, t[102] = mq) : mq = t[102], mq;
28399
+ }), t[99] = O, t[100] = pq, t[101] = mq, t[102] = hq) : hq = t[102], hq;
28343
28400
  };
28344
28401
  ComboboxItem = import_react.forwardRef((e, t) => {
28345
28402
  let n = (0, import_compiler_runtime$30.c)(17), { children: i, className: o, value: s, onSelect: c, disabled: d } = e, f = typeof s == "object" && "value" in s ? s.value : String(s), h = import_react.use(ComboboxContext), _;
@@ -28424,7 +28481,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28424
28481
  let t = (0, import_compiler_runtime$28.c)(8), n, i;
28425
28482
  t[0] === e ? (n = t[1], i = t[2]) : ({ className: n, ...i } = e, t[0] = e, t[1] = n, t[2] = i);
28426
28483
  let a;
28427
- t[3] === n ? a = t[4] : (a = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp$9), t[3] = n, t[4] = a);
28484
+ t[3] === n ? a = t[4] : (a = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp$8), t[3] = n, t[4] = a);
28428
28485
  let o;
28429
28486
  return t[5] !== i || t[6] !== a ? (o = (0, import_jsx_runtime.jsx)($40825cdb76e74f70$export$336ab7fa954c4b5f, {
28430
28487
  className: a,
@@ -28477,7 +28534,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28477
28534
  ]
28478
28535
  }), t[15] = s, t[16] = c, t[17] = d, t[18] = h, t[19] = _, t[20] = v) : v = t[20], v;
28479
28536
  };
28480
- function _temp$9(e) {
28537
+ function _temp$8(e) {
28481
28538
  return cn("type-literal:px-0 inline rounded p-0.5 caret-transparent outline-solid outline-0", "data-placeholder:text-muted-foreground", "data-disabled:cursor-not-allowed data-disabled:opacity-50", "data-focused:bg-accent data-focused:text-accent-foreground focus:bg-accent focus:text-accent-foreground", "data-invalid:data-focused:bg-destructive data-invalid:data-focused:data-placeholder:text-destructive-foreground data-invalid:data-focused:text-destructive-foreground data-invalid:data-placeholder:text-destructive data-invalid:text-destructive", e);
28482
28539
  }
28483
28540
  function _temp2$6(e) {
@@ -28492,7 +28549,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28492
28549
  let t = (0, import_compiler_runtime$27.c)(10), n, i, a;
28493
28550
  t[0] === e ? (n = t[1], i = t[2], a = t[3]) : ({ className: n, offset: a, ...i } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a);
28494
28551
  let o = a === void 0 ? 4 : a, s;
28495
- t[4] === n ? s = t[5] : (s = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp$8), t[4] = n, t[5] = s);
28552
+ t[4] === n ? s = t[5] : (s = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp$7), t[4] = n, t[5] = s);
28496
28553
  let c;
28497
28554
  return t[6] !== o || t[7] !== i || t[8] !== s ? (c = (0, import_jsx_runtime.jsx)($07b14b47974efb58$export$5b6b19405a83ff9d, {
28498
28555
  offset: o,
@@ -28500,7 +28557,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28500
28557
  ...i
28501
28558
  }), t[6] = o, t[7] = i, t[8] = s, t[9] = c) : c = t[9], c;
28502
28559
  };
28503
- function _temp$8(e) {
28560
+ function _temp$7(e) {
28504
28561
  return cn("z-50 rounded-md border bg-popover text-popover-foreground shadow-md outline-hidden", "data-entering:animate-in data-entering:fade-in-0 data-entering:zoom-in-95", "data-exiting:animate-out data-exiting:fade-out-0 data-exiting:zoom-out-95", "data-[placement=bottom]:slide-in-from-top-2 data-[placement=left]:slide-in-from-right-2 data-[placement=right]:slide-in-from-left-2 data-[placement=top]:slide-in-from-bottom-2", e);
28505
28562
  }
28506
28563
  var import_compiler_runtime$26 = require_compiler_runtime(), CalendarHeading = (e) => {
@@ -28605,7 +28662,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28605
28662
  let t = (0, import_compiler_runtime$26.c)(14), n, i, a;
28606
28663
  t[0] === e ? (n = t[1], i = t[2], a = t[3]) : ({ errorMessage: i, className: n, ...a } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a);
28607
28664
  let o;
28608
- t[4] === n ? o = t[5] : (o = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp$7), t[4] = n, t[5] = o);
28665
+ t[4] === n ? o = t[5] : (o = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp$6), t[4] = n, t[5] = o);
28609
28666
  let s;
28610
28667
  t[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = (0, import_jsx_runtime.jsx)(CalendarHeading, {}), t[6] = s) : s = t[6];
28611
28668
  let c;
@@ -28670,7 +28727,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28670
28727
  ]
28671
28728
  }), t[10] = a, t[11] = o, t[12] = d, t[13] = f) : f = t[13], f;
28672
28729
  };
28673
- function _temp$7(e) {
28730
+ function _temp$6(e) {
28674
28731
  return cn("w-fit", e);
28675
28732
  }
28676
28733
  function _temp2$5(e) {
@@ -28702,7 +28759,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28702
28759
  let t = (0, import_compiler_runtime$25.c)(14), n, i, o;
28703
28760
  t[0] === e ? (n = t[1], i = t[2], o = t[3]) : ({ className: n, popoverClassName: i, ...o } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o);
28704
28761
  let s;
28705
- t[4] === i ? s = t[5] : (s = $64fa3d84918910a7$export$c245e6201fed2f75(i, _temp$6), t[4] = i, t[5] = s);
28762
+ t[4] === i ? s = t[5] : (s = $64fa3d84918910a7$export$c245e6201fed2f75(i, _temp$5), t[4] = i, t[5] = s);
28706
28763
  let c;
28707
28764
  t[6] === n ? c = t[7] : (c = cn("flex w-full flex-col space-y-4 outline-hidden sm:flex-row sm:space-x-4 sm:space-y-0", n), t[6] = n, t[7] = c);
28708
28765
  let d;
@@ -28891,7 +28948,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28891
28948
  ]
28892
28949
  }), t[21] = f, t[22] = d, t[23] = _, t[24] = y, t[25] = A, t[26] = M, t[27] = U) : U = t[27], U;
28893
28950
  };
28894
- function _temp$6(e) {
28951
+ function _temp$5(e) {
28895
28952
  return cn("w-auto p-3", e);
28896
28953
  }
28897
28954
  function _temp2$4(e) {
@@ -28991,7 +29048,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28991
29048
  let v = _, y;
28992
29049
  t[3] !== n || t[4] !== a ? (y = (e2) => {
28993
29050
  let t2 = parsePastedDate(n, e2.clipboardData.getData("text"));
28994
- t2 && (e2.preventDefault(), a(t2), h(t2), d(_temp$5));
29051
+ t2 && (e2.preventDefault(), a(t2), h(t2), d(_temp$4));
28995
29052
  }, t[3] = n, t[4] = a, t[5] = y) : y = t[5];
28996
29053
  let S = y, w;
28997
29054
  t[6] !== n || t[7] !== f ? (w = f === void 0 ? void 0 : dateToAria(n, f), t[6] = n, t[7] = f, t[8] = w) : w = t[8];
@@ -29094,7 +29151,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29094
29151
  children: M
29095
29152
  }), t[37] = S, t[38] = M, t[39] = z) : z = t[39], z;
29096
29153
  };
29097
- function _temp$5(e) {
29154
+ function _temp$4(e) {
29098
29155
  return e + 1;
29099
29156
  }
29100
29157
  function _temp2$3(e) {
@@ -29467,13 +29524,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29467
29524
  id: v,
29468
29525
  operator: e2
29469
29526
  });
29470
- }, $ = buildFilterValue({
29527
+ }, MK = buildFilterValue({
29471
29528
  type: S,
29472
29529
  operator: E,
29473
29530
  draft: mergeNumberTextDraft(A, I)
29474
- }), jK = $ === void 0, MK = jK ? getMissingValueMessage(S, E) : "Apply filter", NK = () => {
29475
- if (!$) return;
29476
- let e2 = $;
29531
+ }), NK = MK === void 0, PK = NK ? getMissingValueMessage(S, E) : "Apply filter", FK = () => {
29532
+ if (!MK) return;
29533
+ let e2 = MK;
29477
29534
  t.setColumnFilters((t2) => {
29478
29535
  if (a === void 0) return [
29479
29536
  {
@@ -29490,20 +29547,20 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29490
29547
  value: e2
29491
29548
  }, n2;
29492
29549
  }), i();
29493
- }, PK = () => {
29550
+ }, $ = () => {
29494
29551
  a !== void 0 && t.setColumnFilters((e2) => e2.filter((e3, t2) => t2 !== a)), i();
29495
- }, FK = !OPERATORS_WITHOUT_VALUE.has(E), IK = OPERATORS_BY_TYPE[S], LK = (0, import_react.useRef)(null), RK = (0, import_react.useRef)(null);
29552
+ }, IK = !OPERATORS_WITHOUT_VALUE.has(E), LK = OPERATORS_BY_TYPE[S], RK = (0, import_react.useRef)(null), zK = (0, import_react.useRef)(null);
29496
29553
  return (0, import_react.useEffect)(() => {
29497
29554
  var _a2, _b;
29498
- let e2 = (_a2 = LK.current) == null ? void 0 : _a2.querySelector('input, [role="spinbutton"], [role="combobox"], button');
29499
- e2 ? e2.focus() : (_b = RK.current) == null ? void 0 : _b.focus();
29555
+ let e2 = (_a2 = RK.current) == null ? void 0 : _a2.querySelector('input, [role="spinbutton"], [role="combobox"], button');
29556
+ e2 ? e2.focus() : (_b = zK.current) == null ? void 0 : _b.focus();
29500
29557
  }, [
29501
29558
  S,
29502
29559
  E
29503
29560
  ]), (0, import_jsx_runtime.jsxs)("form", {
29504
29561
  className: "flex flex-row gap-4 items-end p-3",
29505
29562
  onSubmit: (e2) => {
29506
- e2.preventDefault(), NK();
29563
+ e2.preventDefault(), FK();
29507
29564
  },
29508
29565
  onKeyDownCapture: (e2) => {
29509
29566
  e2.key === "Tab" && e2.stopPropagation();
@@ -29544,13 +29601,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29544
29601
  onValueChange: (e2) => Q(e2),
29545
29602
  children: [
29546
29603
  (0, import_jsx_runtime.jsx)(SelectTrigger, {
29547
- ref: RK,
29604
+ ref: zK,
29548
29605
  id: s,
29549
29606
  className: "h-6 mb-1 bg-transparent",
29550
29607
  children: (0, import_jsx_runtime.jsx)(SelectValue, {})
29551
29608
  }),
29552
29609
  (0, import_jsx_runtime.jsx)(SelectContent, {
29553
- children: IK.map((e2) => (0, import_jsx_runtime.jsx)(SelectItem, {
29610
+ children: LK.map((e2) => (0, import_jsx_runtime.jsx)(SelectItem, {
29554
29611
  value: e2,
29555
29612
  children: OPERATOR_LABELS[e2]
29556
29613
  }, e2))
@@ -29559,8 +29616,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29559
29616
  }, S)
29560
29617
  ]
29561
29618
  }),
29562
- FK && (0, import_jsx_runtime.jsxs)("div", {
29563
- ref: LK,
29619
+ IK && (0, import_jsx_runtime.jsxs)("div", {
29620
+ ref: RK,
29564
29621
  className: "flex flex-col gap-1",
29565
29622
  children: [
29566
29623
  (0, import_jsx_runtime.jsx)("label", {
@@ -29587,14 +29644,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29587
29644
  className: "flex gap-1 mb-1",
29588
29645
  children: [
29589
29646
  (0, import_jsx_runtime.jsx)(Tooltip, {
29590
- content: MK,
29647
+ content: PK,
29591
29648
  children: (0, import_jsx_runtime.jsx)("span", {
29592
29649
  className: "inline-flex",
29593
29650
  children: (0, import_jsx_runtime.jsx)(Button, {
29594
29651
  type: "submit",
29595
29652
  size: "icon",
29596
29653
  variant: "ghost",
29597
- disabled: jK,
29654
+ disabled: NK,
29598
29655
  className: "rounded-full text-primary hover:text-primary hover:bg-primary/10",
29599
29656
  "aria-label": "Apply filter",
29600
29657
  children: (0, import_jsx_runtime.jsx)(Check, {
@@ -29626,7 +29683,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29626
29683
  size: "icon",
29627
29684
  variant: "ghost",
29628
29685
  className: "rounded-full text-destructive hover:text-destructive hover:bg-destructive/10",
29629
- onClick: PK,
29686
+ onClick: $,
29630
29687
  "aria-label": "Remove filter",
29631
29688
  children: (0, import_jsx_runtime.jsx)(Trash2, {
29632
29689
  className: "h-3.5 w-3.5",
@@ -32441,7 +32498,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
32441
32498
  if (n.length === 0) return null;
32442
32499
  let a, o;
32443
32500
  if (t[0] !== n) {
32444
- let e2 = n.reduce(_temp$4, 0);
32501
+ let e2 = n.reduce(_temp$3, 0);
32445
32502
  a = Number, o = e2.toFixed(MAX_FRACTION_DIGITS), t[0] = n, t[1] = a, t[2] = o;
32446
32503
  } else a = t[1], o = t[2];
32447
32504
  let s = a(o), c;
@@ -32462,7 +32519,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
32462
32519
  locale: i
32463
32520
  }), t[2] = s, t[3] = i, t[4] = c) : c = t[4], c;
32464
32521
  };
32465
- function _temp$4(e, t) {
32522
+ function _temp$3(e, t) {
32466
32523
  return e + t;
32467
32524
  }
32468
32525
  function _temp2$2(e, t) {
@@ -32902,7 +32959,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
32902
32959
  filename: i2.filename
32903
32960
  };
32904
32961
  }, t[6] = e, t[7] = A);
32905
- let M = A, I, z, U, K, q, J, Q, $, jK, MK, NK, PK, FK;
32962
+ let M = A, I, z, U, K, q, J, Q, MK, NK, PK, FK, $, IK;
32906
32963
  if (t[8] !== O || t[9] !== d || t[10] !== i || t[11] !== n || t[12] !== M || t[13] !== f) {
32907
32964
  let e2 = async (t2) => {
32908
32965
  let n2 = labelForDownloadFormat(t2);
@@ -32966,14 +33023,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
32966
33023
  asChild: true,
32967
33024
  disabled: d,
32968
33025
  children: h
32969
- }), t[30] = d, t[31] = h, t[32] = _2) : _2 = t[32], t[33] !== s2 || t[34] !== _2 || t[35] !== f ? ($ = (0, import_jsx_runtime.jsx)(Tooltip, {
33026
+ }), t[30] = d, t[31] = h, t[32] = _2) : _2 = t[32], t[33] !== s2 || t[34] !== _2 || t[35] !== f ? (MK = (0, import_jsx_runtime.jsx)(Tooltip, {
32970
33027
  content: f,
32971
33028
  open: s2,
32972
33029
  children: _2
32973
- }), t[33] = s2, t[34] = _2, t[35] = f, t[36] = $) : $ = t[36], I = DropdownMenuContent, jK = "bottom", MK = "print:hidden", t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (NK = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
33030
+ }), t[33] = s2, t[34] = _2, t[35] = f, t[36] = MK) : MK = t[36], I = DropdownMenuContent, NK = "bottom", PK = "print:hidden", t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (FK = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
32974
33031
  className: "text-xs text-muted-foreground",
32975
33032
  children: "Download"
32976
- }), t[37] = NK) : NK = t[37], PK = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
33033
+ }), t[37] = FK) : FK = t[37], $ = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
32977
33034
  onSelect: () => {
32978
33035
  e2(t2.format);
32979
33036
  },
@@ -32994,10 +33051,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
32994
33051
  ]
32995
33052
  })
32996
33053
  ]
32997
- }, t2.label)), t[38] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (FK = (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {}), U = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
33054
+ }, t2.label)), t[38] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (IK = (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {}), U = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
32998
33055
  className: "text-xs text-muted-foreground",
32999
33056
  children: "Copy to clipboard"
33000
- }), t[38] = U, t[39] = FK) : (U = t[38], FK = t[39]), K = copyOptions.map((e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
33057
+ }), t[38] = U, t[39] = IK) : (U = t[38], IK = t[39]), K = copyOptions.map((e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
33001
33058
  onSelect: async () => {
33002
33059
  try {
33003
33060
  await a(e3.format);
@@ -33026,30 +33083,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33026
33083
  ]
33027
33084
  })
33028
33085
  ]
33029
- }, e3.label)), t[8] = O, t[9] = d, t[10] = i, t[11] = n, t[12] = M, t[13] = f, 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] = jK, t[23] = MK, t[24] = NK, t[25] = PK, t[26] = FK;
33030
- } else I = t[14], z = t[15], U = t[16], K = t[17], q = t[18], J = t[19], Q = t[20], $ = t[21], jK = t[22], MK = t[23], NK = t[24], PK = t[25], FK = t[26];
33031
- let IK;
33032
- t[40] !== I || t[41] !== U || t[42] !== K || t[43] !== jK || t[44] !== MK || t[45] !== NK || t[46] !== PK || t[47] !== FK ? (IK = (0, import_jsx_runtime.jsxs)(I, {
33033
- side: jK,
33034
- className: MK,
33086
+ }, e3.label)), t[8] = O, t[9] = d, t[10] = i, t[11] = n, t[12] = M, t[13] = f, t[14] = I, t[15] = z, t[16] = U, t[17] = K, t[18] = q, t[19] = J, t[20] = Q, t[21] = MK, t[22] = NK, t[23] = PK, t[24] = FK, t[25] = $, t[26] = IK;
33087
+ } else I = t[14], z = t[15], U = t[16], K = t[17], q = t[18], J = t[19], Q = t[20], MK = t[21], NK = t[22], PK = t[23], FK = t[24], $ = t[25], IK = t[26];
33088
+ let LK;
33089
+ t[40] !== I || t[41] !== U || t[42] !== K || t[43] !== NK || t[44] !== PK || t[45] !== FK || t[46] !== $ || t[47] !== IK ? (LK = (0, import_jsx_runtime.jsxs)(I, {
33090
+ side: NK,
33091
+ className: PK,
33035
33092
  children: [
33036
- NK,
33037
- PK,
33038
33093
  FK,
33094
+ $,
33095
+ IK,
33039
33096
  U,
33040
33097
  K
33041
33098
  ]
33042
- }), t[40] = I, t[41] = U, t[42] = K, t[43] = jK, t[44] = MK, t[45] = NK, t[46] = PK, t[47] = FK, t[48] = IK) : IK = t[48];
33043
- let LK;
33044
- return t[49] !== z || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !== $ || t[54] !== IK ? (LK = (0, import_jsx_runtime.jsxs)(z, {
33099
+ }), t[40] = I, t[41] = U, t[42] = K, t[43] = NK, t[44] = PK, t[45] = FK, t[46] = $, t[47] = IK, t[48] = LK) : LK = t[48];
33100
+ let RK;
33101
+ return t[49] !== z || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !== MK || t[54] !== LK ? (RK = (0, import_jsx_runtime.jsxs)(z, {
33045
33102
  modal: q,
33046
33103
  open: J,
33047
33104
  onOpenChange: Q,
33048
33105
  children: [
33049
- $,
33050
- IK
33106
+ MK,
33107
+ LK
33051
33108
  ]
33052
- }), t[49] = z, t[50] = q, t[51] = J, t[52] = Q, t[53] = $, t[54] = IK, t[55] = LK) : LK = t[55], LK;
33109
+ }), t[49] = z, t[50] = q, t[51] = J, t[52] = Q, t[53] = MK, t[54] = LK, t[55] = RK) : RK = t[55], RK;
33053
33110
  };
33054
33111
  function fetchJson(e) {
33055
33112
  return fetchText(e).then(jsonParseWithSpecialChar);
@@ -33142,22 +33199,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33142
33199
  ]
33143
33200
  }) : null;
33144
33201
  };
33145
- DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: o, 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: jK, enableSearch: MK = false, searchQuery: NK, onSearchQueryChange: PK, showFilters: FK = false, filters: IK, onFiltersChange: LK, calculateTopKRows: RK, reloading: zK, freezeColumnsLeft: BK, freezeColumnsRight: VK, hiddenColumns: HK, toggleDisplayHeader: UK, showChartBuilder: WK, isChartBuilderOpen: GK, showPageSizeSelector: KK, showTableExplorer: qK, togglePanel: JK, isPanelOpen: YK, isAnyPanelOpen: XK, viewedRowIdx: ZK, onViewedRowChange: QK, renderTableExplorerPanel: $K }) => {
33146
- let [eq, tq] = import_react.useState(false), { locale: nq } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: rq, setColumnPinning: iq } = useColumnPinning(BK, VK), { columnVisibility: aq, setColumnVisibility: oq } = useColumnVisibility(HK);
33202
+ DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: o, 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: MK, getRowIds: NK, enableSearch: PK = false, searchQuery: FK, onSearchQueryChange: $, showFilters: IK = false, filters: LK, onFiltersChange: RK, calculateTopKRows: zK, reloading: BK, freezeColumnsLeft: VK, freezeColumnsRight: HK, hiddenColumns: UK, toggleDisplayHeader: WK, showChartBuilder: GK, isChartBuilderOpen: KK, showPageSizeSelector: qK, showTableExplorer: JK, togglePanel: YK, isPanelOpen: XK, isAnyPanelOpen: ZK, viewedRowIdx: QK, onViewedRowChange: $K, renderTableExplorerPanel: eq }) => {
33203
+ let [tq, nq] = import_react.useState(false), { locale: rq } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: iq, setColumnPinning: aq } = useColumnPinning(VK, HK), { columnVisibility: oq, setColumnVisibility: sq } = useColumnVisibility(UK);
33147
33204
  import_react.useEffect(() => {
33148
33205
  let e2;
33149
- return zK ? e2 = setTimeout(() => {
33150
- tq(true);
33151
- }, 300) : tq(false), () => {
33206
+ return BK ? e2 = setTimeout(() => {
33207
+ nq(true);
33208
+ }, 300) : nq(false), () => {
33152
33209
  e2 && clearTimeout(e2);
33153
33210
  };
33154
33211
  }, [
33155
- zK
33212
+ BK
33156
33213
  ]);
33157
- function sq(e2, t2) {
33214
+ function cq(e2, t2) {
33158
33215
  return z ? t2 + (q ? z.pageIndex * z.pageSize : 0) : t2;
33159
33216
  }
33160
- let cq = useReactTable({
33217
+ let lq = useReactTable({
33161
33218
  _features: [
33162
33219
  ColumnPinning,
33163
33220
  ColumnWrappingFeature,
@@ -33181,11 +33238,11 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33181
33238
  getRowId: (e2, t2) => {
33182
33239
  let n2 = getStableRowId(e2);
33183
33240
  if (n2) return n2;
33184
- let i2 = sq(e2, t2);
33241
+ let i2 = cq(e2, t2);
33185
33242
  return String(i2);
33186
33243
  }
33187
33244
  } : {},
33188
- locale: nq,
33245
+ locale: rq,
33189
33246
  manualPagination: q,
33190
33247
  getPaginationRowModel: getPaginationRowModel(),
33191
33248
  ...w ? {
@@ -33195,22 +33252,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33195
33252
  enableMultiSort: true,
33196
33253
  getSortedRowModel: getSortedRowModel(),
33197
33254
  manualFiltering: true,
33198
- enableColumnFilters: FK,
33255
+ enableColumnFilters: IK,
33199
33256
  getFilteredRowModel: getFilteredRowModel(),
33200
- onColumnFiltersChange: LK,
33257
+ onColumnFiltersChange: RK,
33201
33258
  onRowSelectionChange: Q,
33202
- onCellSelectionChange: $,
33259
+ onCellSelectionChange: MK,
33203
33260
  enableCellSelection: c === "single-cell" || c === "multi-cell",
33204
33261
  enableMultiCellSelection: c === "multi-cell",
33205
- onColumnPinningChange: iq,
33206
- onColumnVisibilityChange: oq,
33262
+ onColumnPinningChange: aq,
33263
+ onColumnVisibilityChange: sq,
33207
33264
  enableFocusRow: true,
33208
- onFocusRowChange: QK,
33265
+ onFocusRowChange: $K,
33209
33266
  state: {
33210
33267
  ...S ? {
33211
33268
  sorting: S
33212
33269
  } : {},
33213
- columnFilters: IK,
33270
+ columnFilters: LK,
33214
33271
  ...z ? {
33215
33272
  pagination: z
33216
33273
  } : J && !z ? {} : {
@@ -33221,59 +33278,59 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33221
33278
  },
33222
33279
  rowSelection: E ?? {},
33223
33280
  cellSelection: O ?? [],
33224
- columnVisibility: aq,
33281
+ columnVisibility: oq,
33225
33282
  cellStyling: A,
33226
- columnPinning: rq,
33283
+ columnPinning: iq,
33227
33284
  cellHoverTemplate: M,
33228
33285
  cellHoverTexts: I ?? {}
33229
33286
  }
33230
- }), lq = (YK == null ? void 0 : YK(PANEL_TYPES.ROW_VIEWER)) ?? false, uq = !J && o.length > 100, dq = useScrollContainerHeight({
33287
+ }), uq = (XK == null ? void 0 : XK(PANEL_TYPES.ROW_VIEWER)) ?? false, dq = !J && o.length > 100, fq = useScrollContainerHeight({
33231
33288
  maxHeight: n,
33232
- virtualize: uq
33233
- }), [fq, pq] = import_react.useState(null), mq = import_react.useMemo(() => ({
33289
+ virtualize: dq
33290
+ }), [pq, mq] = import_react.useState(null), hq = import_react.useMemo(() => ({
33234
33291
  requestAddFilter: (e2) => {
33235
- let t2 = cq.getColumn(e2.columnId);
33236
- t2 && pq(buildEditorSnapshot(t2, {
33292
+ let t2 = lq.getColumn(e2.columnId);
33293
+ t2 && mq(buildEditorSnapshot(t2, {
33237
33294
  operator: e2.operator
33238
33295
  }));
33239
33296
  }
33240
33297
  }), [
33241
- cq
33242
- ]), hq = getUserColumnVisibilityCounts(cq), gq = hq.total > 0 && hq.visible === 0;
33298
+ lq
33299
+ ]), gq = getUserColumnVisibilityCounts(lq), _q = gq.total > 0 && gq.visible === 0;
33243
33300
  return (0, import_jsx_runtime.jsx)(FilterEditorProvider, {
33244
- value: mq,
33301
+ value: hq,
33245
33302
  children: (0, import_jsx_runtime.jsxs)("div", {
33246
33303
  className: cn(e, "flex flex-col space-y-1"),
33247
33304
  children: [
33248
33305
  (0, import_jsx_runtime.jsx)(FilterPills, {
33249
- filters: IK,
33250
- table: cq,
33251
- calculateTopKRows: RK,
33252
- addFilterSnapshot: fq,
33253
- onAddFilterSnapshotChange: pq
33306
+ filters: LK,
33307
+ table: lq,
33308
+ calculateTopKRows: zK,
33309
+ addFilterSnapshot: pq,
33310
+ onAddFilterSnapshotChange: mq
33254
33311
  }),
33255
- $K == null ? void 0 : $K(cq),
33312
+ eq == null ? void 0 : eq(lq),
33256
33313
  (0, import_jsx_runtime.jsx)(CellSelectionProvider, {
33257
33314
  children: (0, import_jsx_runtime.jsxs)("div", {
33258
33315
  part: "table-wrapper",
33259
33316
  className: cn(t || "rounded-md border overflow-hidden"),
33260
33317
  children: [
33261
33318
  (0, import_jsx_runtime.jsx)(TableTopBar, {
33262
- enableSearch: MK,
33263
- searchQuery: NK,
33264
- onSearchQueryChange: PK,
33265
- reloading: zK,
33266
- showChartBuilder: WK,
33267
- isChartBuilderOpen: GK,
33268
- toggleDisplayHeader: UK,
33269
- showTableExplorer: qK,
33270
- togglePanel: JK,
33271
- isAnyPanelOpen: XK,
33319
+ enableSearch: PK,
33320
+ searchQuery: FK,
33321
+ onSearchQueryChange: $,
33322
+ reloading: BK,
33323
+ showChartBuilder: GK,
33324
+ isChartBuilderOpen: KK,
33325
+ toggleDisplayHeader: WK,
33326
+ showTableExplorer: JK,
33327
+ togglePanel: YK,
33328
+ isAnyPanelOpen: ZK,
33272
33329
  downloadAs: K,
33273
33330
  sizeBytes: _,
33274
33331
  sizeBytesIsLoading: v
33275
33332
  }),
33276
- gq && (0, import_jsx_runtime.jsxs)(Banner, {
33333
+ _q && (0, import_jsx_runtime.jsxs)(Banner, {
33277
33334
  className: "mb-1 mx-2 rounded flex items-center justify-between",
33278
33335
  children: [
33279
33336
  (0, import_jsx_runtime.jsx)("span", {
@@ -33282,26 +33339,26 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33282
33339
  (0, import_jsx_runtime.jsx)(Button, {
33283
33340
  variant: "link",
33284
33341
  size: "xs",
33285
- onClick: () => cq.resetColumnVisibility(true),
33342
+ onClick: () => lq.resetColumnVisibility(true),
33286
33343
  children: "Unhide all"
33287
33344
  })
33288
33345
  ]
33289
33346
  }),
33290
33347
  (0, import_jsx_runtime.jsxs)(Table, {
33291
33348
  className: cn("relative", i.length <= 4 ? "w-auto" : "w-full"),
33292
- ref: dq,
33349
+ ref: fq,
33293
33350
  children: [
33294
- eq && (0, import_jsx_runtime.jsx)("thead", {
33351
+ tq && (0, import_jsx_runtime.jsx)("thead", {
33295
33352
  className: "absolute top-0 left-0 h-[3px] w-1/2 bg-primary animate-slide"
33296
33353
  }),
33297
- renderTableHeader(cq, uq || !!n),
33354
+ renderTableHeader(lq, dq || !!n),
33298
33355
  (0, import_jsx_runtime.jsx)(DataTableBody, {
33299
- table: cq,
33356
+ table: lq,
33300
33357
  columns: i,
33301
- rowViewerPanelOpen: lq,
33302
- getRowIndex: sq,
33303
- viewedRowIdx: ZK,
33304
- virtualize: uq
33358
+ rowViewerPanelOpen: uq,
33359
+ getRowIndex: cq,
33360
+ viewedRowIdx: QK,
33361
+ virtualize: dq
33305
33362
  })
33306
33363
  ]
33307
33364
  }),
@@ -33312,11 +33369,11 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33312
33369
  pagination: J,
33313
33370
  selection: c,
33314
33371
  onRowSelectionChange: Q,
33315
- table: cq,
33316
- getRowIds: jK,
33317
- showPageSizeSelector: KK,
33318
- tableLoading: zK,
33319
- togglePanel: JK
33372
+ table: lq,
33373
+ getRowIds: NK,
33374
+ showPageSizeSelector: qK,
33375
+ tableLoading: BK,
33376
+ togglePanel: YK
33320
33377
  })
33321
33378
  ]
33322
33379
  })
@@ -33381,105 +33438,80 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33381
33438
  ]
33382
33439
  }), e.focus(), true;
33383
33440
  }
33384
- var import_compiler_runtime$6 = require_compiler_runtime(), KEY = "item";
33441
+ var import_compiler_runtime$6 = require_compiler_runtime();
33385
33442
  const MarimoTracebackOutput = (e) => {
33386
33443
  var _a2;
33387
- let t = (0, import_compiler_runtime$6.c)(49), { onRefactorWithAI: n, traceback: i, cellId: o } = e, s;
33388
- t[0] === i ? s = t[1] : (s = renderHTML({
33444
+ let t = (0, import_compiler_runtime$6.c)(45), { onRefactorWithAI: n, traceback: i, cellId: a } = e, o;
33445
+ t[0] === i ? o = t[1] : (o = renderHTML({
33389
33446
  html: i,
33390
33447
  additionalReplacements: [
33391
33448
  replaceTracebackFilenames,
33392
33449
  replaceTracebackPrefix,
33393
33450
  replaceMangledLocal
33394
33451
  ]
33395
- }), t[0] = i, t[1] = s);
33396
- let c = s, [d, f] = (0, import_react.useState)(true), _ = lastLine(i), v = useAtomValue(aiEnabledAtom), y;
33397
- t[2] === i ? y = t[3] : (y = (_a2 = extractAllTracebackInfo(i)) == null ? void 0 : _a2.at(0), t[2] = i, t[3] = y);
33452
+ }), t[0] = i, t[1] = o);
33453
+ let s = o, c;
33454
+ t[2] === i ? c = t[3] : (c = lastLine(i), t[2] = i, t[3] = c);
33455
+ let d = c, f = useAtomValue(aiEnabledAtom), _;
33456
+ t[4] === i ? _ = t[5] : (_ = (_a2 = extractAllTracebackInfo(i)) == null ? void 0 : _a2.at(0), t[4] = i, t[5] = _);
33457
+ let v = _, y;
33458
+ t[6] !== a || t[7] !== v ? (y = v && v.kind === "cell" && !isWasm() && !isStaticNotebook() && a !== "__scratch__", t[6] = a, t[7] = v, t[8] = y) : y = t[8];
33398
33459
  let w = y, O;
33399
- t[4] !== o || t[5] !== w ? (O = w && w.kind === "cell" && !isWasm() && !isStaticNotebook() && o !== "__scratch__", t[4] = o, t[5] = w, t[6] = O) : O = t[6];
33400
- let A = O, M;
33401
- t[7] !== v || t[8] !== n ? (M = n && v && !isStaticNotebook(), t[7] = v, t[8] = n, t[9] = M) : M = t[9];
33402
- let I = M, U = !isStaticNotebook(), K = (e2) => {
33460
+ t[9] !== f || t[10] !== n ? (O = n && f && !isStaticNotebook(), t[9] = f, t[10] = n, t[11] = O) : O = t[11];
33461
+ let A = O, M = !isStaticNotebook(), [I, z] = (0, import_react.useState)(true), U;
33462
+ t[12] !== d || t[13] !== n ? (U = (e2) => {
33403
33463
  n == null ? void 0 : n({
33404
33464
  prompt: `My code gives the following error:
33405
33465
 
33406
- ${_}`,
33466
+ ${d}`,
33407
33467
  triggerImmediately: e2
33408
33468
  });
33409
- }, [q, J] = _.split(":", 2), $ = J ? splitMangledLocals(J) : [], MK = d ? KEY : "", NK;
33410
- t[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (NK = () => f(_temp$3), t[10] = NK) : NK = t[10];
33411
- let PK = d ? "rotate-180" : "rotate-0", FK;
33412
- t[11] === PK ? FK = t[12] : (FK = cn("h-4 w-4 text-muted-foreground transition-transform duration-200 shrink-0", PK), t[11] = PK, t[12] = FK);
33413
- let IK;
33414
- t[13] === FK ? IK = t[14] : (IK = (0, import_jsx_runtime.jsx)(ChevronDown, {
33415
- className: FK
33416
- }), t[13] = FK, t[14] = IK);
33417
- let LK = q || "Error", RK;
33418
- t[15] === LK ? RK = t[16] : (RK = (0, import_jsx_runtime.jsxs)("span", {
33419
- className: "text-destructive",
33420
- children: [
33421
- LK,
33422
- ":"
33423
- ]
33424
- }), t[15] = LK, t[16] = RK);
33425
- let BK;
33426
- t[17] === $ ? BK = t[18] : (BK = (0, import_jsx_runtime.jsx)(MangledSegments, {
33427
- segments: $
33428
- }), t[17] = $, t[18] = BK);
33429
- let HK;
33430
- t[19] !== RK || t[20] !== BK ? (HK = (0, import_jsx_runtime.jsxs)("div", {
33431
- className: "text-sm inline font-mono",
33432
- children: [
33433
- RK,
33434
- " ",
33435
- BK
33436
- ]
33437
- }), t[19] = RK, t[20] = BK, t[21] = HK) : HK = t[21];
33438
- let UK;
33439
- t[22] !== HK || t[23] !== IK ? (UK = (0, import_jsx_runtime.jsxs)("div", {
33440
- className: "flex gap-2 h-10 px-2 hover:bg-muted rounded-sm select-none items-center cursor-pointer transition-all",
33441
- onClick: NK,
33442
- children: [
33443
- IK,
33444
- HK
33445
- ]
33446
- }), t[22] = HK, t[23] = IK, t[24] = UK) : UK = t[24];
33447
- let WK;
33448
- t[25] === c ? WK = t[26] : (WK = (0, import_jsx_runtime.jsx)(AccordionContent, {
33449
- className: "text-muted-foreground px-4 pt-2 text-xs overflow-auto",
33450
- children: c
33451
- }), t[25] = c, t[26] = WK);
33452
- let GK;
33453
- t[27] !== UK || t[28] !== WK ? (GK = (0, import_jsx_runtime.jsxs)(AccordionItem, {
33454
- value: KEY,
33455
- className: "border-none",
33469
+ }, t[12] = d, t[13] = n, t[14] = U) : U = t[14];
33470
+ let K = U, q;
33471
+ t[15] === I ? q = t[16] : (q = () => z(!I), t[15] = I, t[16] = q);
33472
+ let J = I ? "Collapse traceback" : "Expand traceback", MK;
33473
+ t[17] === I ? MK = t[18] : (MK = I ? (0, import_jsx_runtime.jsx)(ChevronDown, {
33474
+ className: "h-3 w-3"
33475
+ }) : (0, import_jsx_runtime.jsx)(ChevronRight, {
33476
+ className: "h-3 w-3"
33477
+ }), t[17] = I, t[18] = MK);
33478
+ let PK;
33479
+ t[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (PK = (0, import_jsx_runtime.jsx)("span", {
33480
+ className: "text-[0.6875rem] uppercase tracking-wider",
33481
+ children: "Traceback"
33482
+ }), t[19] = PK) : PK = t[19];
33483
+ let FK;
33484
+ t[20] !== I || t[21] !== q || t[22] !== J || t[23] !== MK ? (FK = (0, import_jsx_runtime.jsxs)("button", {
33485
+ type: "button",
33486
+ onClick: q,
33487
+ "aria-expanded": I,
33488
+ "aria-label": J,
33489
+ className: "self-start flex items-center gap-1 pt-2 text-muted-foreground/70 hover:text-muted-foreground transition-colors",
33456
33490
  children: [
33457
- UK,
33458
- WK
33491
+ MK,
33492
+ PK
33459
33493
  ]
33460
- }), t[27] = UK, t[28] = WK, t[29] = GK) : GK = t[29];
33461
- let qK;
33462
- t[30] !== GK || t[31] !== MK ? (qK = (0, import_jsx_runtime.jsx)(Accordion, {
33463
- type: "single",
33464
- collapsible: true,
33465
- value: MK,
33466
- children: GK
33467
- }), t[30] = GK, t[31] = MK, t[32] = qK) : qK = t[32];
33468
- let JK;
33469
- t[33] !== K || t[34] !== I ? (JK = I && (0, import_jsx_runtime.jsx)(AIFixButton, {
33494
+ }), t[20] = I, t[21] = q, t[22] = J, t[23] = MK, t[24] = FK) : FK = t[24];
33495
+ let $;
33496
+ t[25] !== s || t[26] !== I ? ($ = I && (0, import_jsx_runtime.jsx)("div", {
33497
+ className: "text-muted-foreground pr-4 text-xs overflow-auto",
33498
+ children: s
33499
+ }), t[25] = s, t[26] = I, t[27] = $) : $ = t[27];
33500
+ let IK;
33501
+ t[28] !== K || t[29] !== A ? (IK = A && (0, import_jsx_runtime.jsx)(AIFixButton, {
33470
33502
  tooltip: "Fix with AI",
33471
33503
  openPrompt: () => K(false),
33472
33504
  applyAutofix: () => K(true)
33473
- }), t[33] = K, t[34] = I, t[35] = JK) : JK = t[35];
33474
- let YK;
33475
- t[36] !== A || t[37] !== w ? (YK = A && (0, import_jsx_runtime.jsx)(Tooltip, {
33505
+ }), t[28] = K, t[29] = A, t[30] = IK) : IK = t[30];
33506
+ let LK;
33507
+ t[31] !== w || t[32] !== v ? (LK = w && (0, import_jsx_runtime.jsx)(Tooltip, {
33476
33508
  content: "Attach pdb to the exception point.",
33477
33509
  children: (0, import_jsx_runtime.jsxs)(Button, {
33478
33510
  size: "xs",
33479
33511
  variant: "outline",
33480
33512
  onClick: () => {
33481
33513
  getRequestClient().sendPdb({
33482
- cellId: w.cellId
33514
+ cellId: v.cellId
33483
33515
  });
33484
33516
  },
33485
33517
  children: [
@@ -33489,9 +33521,9 @@ ${_}`,
33489
33521
  "Launch debugger"
33490
33522
  ]
33491
33523
  })
33492
- }), t[36] = A, t[37] = w, t[38] = YK) : YK = t[38];
33493
- let XK;
33494
- t[39] !== _ || t[40] !== i ? (XK = U && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
33524
+ }), t[31] = w, t[32] = v, t[33] = LK) : LK = t[33];
33525
+ let RK;
33526
+ t[34] !== d || t[35] !== i ? (RK = M && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
33495
33527
  children: [
33496
33528
  (0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
33497
33529
  asChild: true,
@@ -33514,7 +33546,7 @@ ${_}`,
33514
33546
  asChild: true,
33515
33547
  children: (0, import_jsx_runtime.jsxs)("a", {
33516
33548
  target: "_blank",
33517
- href: `https://www.google.com/search?q=${encodeURIComponent(_)}`,
33549
+ href: `https://www.google.com/search?q=${encodeURIComponent(d)}`,
33518
33550
  rel: "noreferrer",
33519
33551
  children: [
33520
33552
  (0, import_jsx_runtime.jsx)(Search, {
@@ -33559,24 +33591,25 @@ ${_}`,
33559
33591
  ]
33560
33592
  })
33561
33593
  ]
33562
- }), t[39] = _, t[40] = i, t[41] = XK) : XK = t[41];
33563
- let ZK;
33564
- t[42] !== JK || t[43] !== YK || t[44] !== XK ? (ZK = (0, import_jsx_runtime.jsxs)("div", {
33594
+ }), t[34] = d, t[35] = i, t[36] = RK) : RK = t[36];
33595
+ let zK;
33596
+ t[37] !== IK || t[38] !== LK || t[39] !== RK ? (zK = (0, import_jsx_runtime.jsxs)("div", {
33565
33597
  className: "flex gap-2",
33566
33598
  children: [
33567
- JK,
33568
- YK,
33569
- XK
33599
+ IK,
33600
+ LK,
33601
+ RK
33570
33602
  ]
33571
- }), t[42] = JK, t[43] = YK, t[44] = XK, t[45] = ZK) : ZK = t[45];
33572
- let QK;
33573
- return t[46] !== qK || t[47] !== ZK ? (QK = (0, import_jsx_runtime.jsxs)("div", {
33603
+ }), t[37] = IK, t[38] = LK, t[39] = RK, t[40] = zK) : zK = t[40];
33604
+ let BK;
33605
+ return t[41] !== FK || t[42] !== $ || t[43] !== zK ? (BK = (0, import_jsx_runtime.jsxs)("div", {
33574
33606
  className: "flex flex-col gap-2 min-w-full w-fit",
33575
33607
  children: [
33576
- qK,
33577
- ZK
33608
+ FK,
33609
+ $,
33610
+ zK
33578
33611
  ]
33579
- }), t[46] = qK, t[47] = ZK, t[48] = QK) : QK = t[48], QK;
33612
+ }), t[41] = FK, t[42] = $, t[43] = zK, t[44] = BK) : BK = t[44], BK;
33580
33613
  };
33581
33614
  function lastLine(e) {
33582
33615
  var _a2, _b;
@@ -33654,9 +33687,6 @@ ${_}`,
33654
33687
  ]
33655
33688
  }), e[0] = t) : t = e[0], t;
33656
33689
  };
33657
- function _temp$3(e) {
33658
- return !e;
33659
- }
33660
33690
  function renderMimeIcon(e) {
33661
33691
  switch (e) {
33662
33692
  case "text/html":
@@ -34966,7 +34996,7 @@ ${_}`,
34966
34996
  return Logger.warn("Failed to get version from mount config"), null;
34967
34997
  }
34968
34998
  }
34969
- marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.9-dev10");
34999
+ marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.9-dev12");
34970
35000
  showCodeInRunModeAtom = atom(true);
34971
35001
  atom(null);
34972
35002
  var import_compiler_runtime = require_compiler_runtime();