@marimo-team/islands 0.23.10-dev18 → 0.23.10-dev20

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.
@@ -6,13 +6,13 @@ 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-5jQ_kGE1.js";
9
- import { $ as useCellActions, $t as getTracebackInfo, A as ChevronRightIcon, An as LoaderCircle, Bn as Braces, C as AccordionContent, Fn as ExternalLink, Ft as jotaiJsonStorage, Hn as import_lib, I as base64ToUint8Array, Jt as useRequestClient, Kt as getRequestClient, Lt as PluralWord, M as PinLeftIcon, Mn as Info, Mt as useChromeActions, N as PinRightIcon, Nn as FileText, O as CheckIcon, On as NotebookPen, Pt as adaptForLocalStorage, Qt as extractAllTracebackInfo, R as extractBase64FromDataURL, Rn as CircleX, S as Accordion, St as Checkbox, T as AccordionTrigger, Tn as Trash2, V as renderHTML, Vn as esm_default, Y as notebookAtom, Zt as elementContainsMarimoCellFile, _t as getCellDomProps, at as AnsiUp, c as Popover, cn as SCRATCH_CELL_ID, ct as kioskModeAtom, d as PopoverTrigger, dt as outputIsLoading, et as useCellIds, g as getDatasourceContext, gn as atomWithStorage, gt as DATA_CELL_ID, ht as sanitizeHtml, j as DotFilledIcon, kn as Minus, 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, wn as Wrench, yn as Close$1, z as isDataURLString, zt as DATA_TYPE_ICON, __tla as __tla_0 } from "./html-to-image-BqJ4c852.js";
9
+ import { $t as extractAllTracebackInfo, A as ChevronRightIcon, An as Minus, At as goToCellLine, Bt as DATA_TYPE_ICON, C as AccordionContent, Ct as Checkbox, En as Trash2, Ft as adaptForLocalStorage, Hn as esm_default, I as base64ToUint8Array, In as ExternalLink, It as jotaiJsonStorage, M as PinLeftIcon, N as PinRightIcon, Nn as Info, Nt as useChromeActions, O as CheckIcon, Pn as FileText, Qt as elementContainsMarimoCellFile, R as extractBase64FromDataURL, Rt as PluralWord, S as Accordion, T as AccordionTrigger, Tn as Wrench, Un as import_lib, V as renderHTML, Vn as Braces, X as notebookAtom, Yt as useRequestClient, _n as atomWithStorage, _t as DATA_CELL_ID, bn as Close$1, c as Popover, cn as HTMLCellId, d as PopoverTrigger, dt as viewStateAtom, en as getTracebackInfo, et as useCellActions, ft as outputIsLoading, g as getDatasourceContext, gt as sanitizeHtml, hn as jsonToMarkdown, j as DotFilledIcon, jn as LoaderCircle, kn as NotebookPen, l as PopoverClose, ln as SCRATCH_CELL_ID, lt as kioskModeAtom, m as useExpandedOutput, mn as jsonParseWithSpecialChar, n as Spinner, nt as useCellNames, ot as AnsiUp, q as getCellEditorView, qt as getRequestClient, r as MarkdownRenderer, rn as filenameAtom, sn as CellOutputId, t as toPng, tt as useCellIds, u as PopoverContent, ut as useInstallAllowed, vt as getCellDomProps, w as AccordionItem, yt as displayCellName, z as isDataURLString, zn as CircleX, __tla as __tla_0 } from "./html-to-image-CjsdUYrb.js";
10
10
  import { o as useSize, u as createLucideIcon } from "./dist-C1BYNeCR.js";
11
11
  import { c as Calendar, i as createReducerAndAtoms, r as Badge } from "./useLifecycle-BBO9PIph.js";
12
- import { a as ListFilter, i as Table$1, n as $fb18d541ea1ad717$export$ad991b66133851cf, o as ChartPie, r as $5a387cc49350e6db$export$722debc0e56fea39, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-BA4FCquG.js";
12
+ import { a as ListFilter, i as Table$1, n as $fb18d541ea1ad717$export$ad991b66133851cf, o as ChartPie, r as $5a387cc49350e6db$export$722debc0e56fea39, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-BRcO_TGJ.js";
13
13
  import { t as Check } from "./check-DTbrK0zt.js";
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-_2sjvfne.js";
14
+ import { C as logNever, E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, I as X, N as usePrevious$1, O as $b5e257d569688ac6$export$535bd6ca7f90a273, P as useDirection, R as ChevronDown, T as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, _ as menuControlVariants, b as menuSeparatorVariants, f as selectStyles, g as menuControlCheckVariants, h as menuContentCommon, i as SelectContent, l as SelectTrigger, o as SelectItem, p as MENU_ITEM_DISABLED, r as Select, t as Strings, u as SelectValue, v as menuItemVariants, w as $a916eb452884faea$export$b7a616150fdb9f44, x as menuSubTriggerVariants, y as menuLabelVariants } from "./strings-GCJA9n6d.js";
15
+ import { $ as $e5be200c675c3b3a$export$a763b9476acd3eb, $t as Label$1, A as $514c0188e459b4c0$export$9afb8bc826b033ea, At as $c87311424ea30a05$export$a11b0059900ceec8, B as $64fa3d84918910a7$export$c245e6201fed2f75, Bt as $431fbd86ca7dc216$export$b204af158042fbac, C as $3985021b0ad6602f$export$f5b8910cec6cf069, Ct as $e9faafb641e167db$export$90fc3a17d93f704c, D as $ee014567cb39d3f0$export$f551688fc98f2e09, Dt as $c87311424ea30a05$export$6446a186d09e379e, E as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Et as $313b98861ee5dd6c$export$d6875122194c7b44, F as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Ft as $d4ee10de306f2510$export$4282f70798064fe0, Gt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, H as $64fa3d84918910a7$export$df3a06d6289f983e, Ht as $ff5963eb1fccf552$export$e08e3b67e392101e, I as $64fa3d84918910a7$export$2881499e37b75b9a, It as $d4ee10de306f2510$export$b4f377a2b6254582, Jt as CheckboxItem, K as marked, Kt as Anchor2, L as $64fa3d84918910a7$export$29f1550f4b0d4415, Lt as $d4ee10de306f2510$export$cd4e5573fbe2b576, M as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, Mt as $7215afc6de606d6b$export$de79e2c695e052f3, N as $01b77f81d0f07f68$export$75b6ee27786ba447, Nt as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, O as $ee014567cb39d3f0$export$ff05c3ac10437e03, Ot as $c87311424ea30a05$export$78551043582a6a98, P as $01b77f81d0f07f68$export$b04be29aa201d4f5, Pt as $3ef42575df84b30b$export$9d1611c77c2fe928, Q as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, Qt as ItemIndicator, R as $64fa3d84918910a7$export$4d86445c2cf5e3, Rt as $d4ee10de306f2510$export$e58f029f0fbfdb29, S as $3985021b0ad6602f$export$37fb8590cf2c088c, St as $99facab73266f662$export$5add1d006293d136, T as $a049562f99e7db0e$export$f9c6924e160136d1, Tt as $df56164dff5785e2$export$4338b53315abf666, U as $64fa3d84918910a7$export$ef03459518577ad4, Ut as $bdb11010cef70236$export$b4cc09c592e8fdb8, V as $64fa3d84918910a7$export$c62b8e45d58ddad9, Vt as $431fbd86ca7dc216$export$f21a1ffae260145a, W as $64fa3d84918910a7$export$fabf2dc03a41866e, Wt as $bdb11010cef70236$export$f680877a34711e37, X as $2baaea4c71418dea$export$294aa081a6c6f55d, Xt as Group, Y as $d2e8511e6f209edf$export$e908e06f4b8e3402, Yt as Content2$1, Z as $e93e671b31057976$export$b8473d3665f3a75a, Zt as Item2$2, _t as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, a as NumberField, an as Sub, b as DropdownMenuSubTrigger, bt as $b4b717babfbb907b$export$4c063cf1350e6fed, c as prettyNumber, cn as createMenuScope, ct as $fca6afa0e843324b$export$f12b703ca79dfbb1, d as DropdownMenuContent, dn as createRovingFocusGroupScope, dt as $6179b936705e76d3$export$ae780daf29e6d456, en as Portal, et as $e5be200c675c3b3a$export$aca958c65c314e6c, fn as Search, ft as $9ab94262bd0047c7$export$420e68273165f4ec, g as DropdownMenuSeparator, gt as _class_private_field_init, h as DropdownMenuPortal, ht as $f6c31cce2adf654f$export$45712eceda6fad21, in as Separator$1, it as $f7dceffc5ad7768b$export$4e328f61c538687f, j as $d2b4bc8c273e7be6$export$24d547caef80ccd1, jt as $c87311424ea30a05$export$fedb369cb70207f1, k as $514c0188e459b4c0$export$5f1af8db9871e1d6, kt as $c87311424ea30a05$export$9ac100e40613ea10, l as prettyScientificNumber, ln as Item, lt as $6db58dc88e78b024$export$2f817fcdc4b89ae0, m as DropdownMenuLabel, mn as ChevronRight, mt as $507fabe10e71c6fb$export$630ff653c5ada6a9, nn as RadioItem, nt as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, o as maxFractionalDigits, on as SubContent, ot as $6c7bd7858deea686$export$cd11ab140839f11d, p as DropdownMenuItem, pn as Circle, pt as $3ad3f6e1647bc98d$export$80f3e147d781571c, qt as Arrow2, r as Input, rn as Root3, rt as $319e236875307eab$export$a9b970dcc4ae71a9, s as prettyEngineeringNumber, sn as SubTrigger, st as $fca6afa0e843324b$export$87b761675e8eaa10, tn as RadioGroup$2, tt as $e5be200c675c3b3a$export$dad6ae84456c676a, u as DropdownMenu, un as Root$2, ut as $5b160d28a433310d$export$c17fa47878dc55b6, v as DropdownMenuSub, vt as $9446cca9a3875146$export$7d15b64cf5a3a4c4, w as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, wt as $8ae05eaa5c114e9c$export$7f54fc3180508a52, x as DropdownMenuTrigger, xt as $b4b717babfbb907b$export$bebd5a1431fec25d, y as DropdownMenuSubContent, yt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, z as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, zt as $f4e2df6bd15f8569$export$98658e8c59125e6a } from "./input-DVkbXbIX.js";
16
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-x-WRDCH7.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";
@@ -35,7 +35,7 @@ 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
37
  import { t as useAsyncData } from "./useAsyncData-iRgKDT5s.js";
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;
38
+ let PanelGroup, Code, ContextMenuTrigger, dateToLocalISOTime, CommandList, RenderTextWithLinks, prettifyRowColumnCount, TOO_MANY_ROWS, ContextMenuContent, Maps, ContextMenu, isNullishFilter, ComboboxItem, ChartErrorState, contextAwarePanelOpen, $fae977aafc393c5c$export$6b862160d295c8e, smartMatch, HtmlOutput, Command, ChartInfoState, isCellAwareAtom, Funnel, contextAwarePanelOwner, TextWrap, CommandEmpty, ChartLoadingState, DatePicker, TabsContent, DateRangePicker, TabsList, ContextMenuItem, dateToLocalISODate, Combobox, TabsTrigger, Panel, Download, CommandInput, LazyVegaEmbed, downloadSizeLimitAtom, SELECT_COLUMN_ID, getColumnCountForDisplay, getMimeValues, ContextAwarePanelItem, EmotionCacheProvider, CommandSeparator, Kbd, PANEL_TYPES, $fae977aafc393c5c$export$588937bcd60ade55, slotsController, Expand, SlotNames, EyeOff, Toggle, Ellipsis, downloadBlob, usePrevious, DEFAULT_SLIDE_TYPE, ArrowDownWideNarrow, TableCell, Progress, loadTableData, Slide, TableRow, JsonOutput, inferFieldTypes, ChevronsUpDown, PanelResizeHandle, OutputArea, renderCellValue, ADD_PRINTING_CLASS, useIntersectionObserver, InstallPackageButton, DelayMount, DEFAULT_DECK_TRANSITION, ChevronLeft, TableBody, useInternalStateWithSync, Tabs, ContextMenuSeparator, dateToLocalISODateTime, RadioGroup, NAMELESS_COLUMN_PREFIX, DataTable, ColumnChartSpecModel, marimoVersionAtom, ChevronsLeft, Provider$1, SLIDE_TYPE_OPTIONS_BY_VALUE, TableHead, OutputRenderer, ColumnChartContext, contextAwarePanelType, GripHorizontal, showCodeInRunModeAtom, ChevronsDownUp, Table, SlideSidebar, TableHeader, useNotebookCodeAvailable, ChevronsRight, Fill, RadioGroupItem, generateColumns, downloadByURL, getPageIndexForRow, prettifyRowCount, toFieldTypes, Filenames, INDEX_COLUMN_NAME, downloadHTMLAsImage, loadTableAndRawData, CommandItem, useOverflowDetection;
39
39
  let __tla = Promise.all([
40
40
  (() => {
41
41
  try {
@@ -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, GK = c.top - E, KK = c.bottom + O, qK = c.left - A, JK = c.right + M, YK = e === _ ? 0 : Q + $, XK = e === _ ? 0 : q + J, ZK = e.offsetWidth - e.clientWidth - YK, QK = e.offsetHeight - e.clientHeight - XK, $K = v + q + I, eq = y - J - z - QK, tq = S + Q + U, nq = w - $ - K;
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, GK = parseInt(h.borderRightWidth, 10) || 0, KK = c.top - E, qK = c.bottom + O, JK = c.left - A, $ = c.right + M, YK = e === _ ? 0 : Q + GK, XK = e === _ ? 0 : q + J, ZK = e.offsetWidth - e.clientWidth - YK, QK = e.offsetHeight - e.clientHeight - XK, $K = v + q + I, eq = y - J - z - QK, tq = S + Q + U, nq = w - GK - K;
1906
1906
  h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ? tq += ZK : nq -= ZK;
1907
- let rq = GK < $K || KK > eq, iq = qK < tq || JK > nq;
1908
- if (rq && i === "start") o += GK - $K;
1909
- else if (rq && i === "center") o += (GK + KK) / 2 - ($K + eq) / 2;
1910
- else if (rq && i === "end") o += KK - eq;
1907
+ let rq = KK < $K || qK > eq, iq = JK < tq || $ > nq;
1908
+ if (rq && i === "start") o += KK - $K;
1909
+ else if (rq && i === "center") o += (KK + qK) / 2 - ($K + eq) / 2;
1910
+ else if (rq && i === "end") o += qK - eq;
1911
1911
  else if (rq && i === "nearest") {
1912
- let e2 = GK - $K, t2 = KK - eq;
1912
+ let e2 = KK - $K, t2 = qK - eq;
1913
1913
  o += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
1914
1914
  }
1915
- if (iq && a === "start") s += qK - tq;
1916
- else if (iq && a === "center") s += (qK + JK) / 2 - (tq + nq) / 2;
1917
- else if (iq && a === "end") s += JK - nq;
1915
+ if (iq && a === "start") s += JK - tq;
1916
+ else if (iq && a === "center") s += (JK + $) / 2 - (tq + nq) / 2;
1917
+ else if (iq && a === "end") s += $ - nq;
1918
1918
  else if (iq && a === "nearest") {
1919
- let e2 = qK - tq, t2 = JK - nq;
1919
+ let e2 = JK - tq, t2 = $ - nq;
1920
1920
  s += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
1921
1921
  }
1922
1922
  e.scrollTo({
@@ -5024,23 +5024,23 @@ 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 GK = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f);
5030
- q[I] += GK;
5031
- let KK = $edcf132a9284368a$var$getMaxHeight(q, c, f, v, a, o, n.height, $, d, E, O);
5032
- y && y < KK && (KK = y), n.height = Math.min(n.height, KK), q = $edcf132a9284368a$var$computePosition(t, c, n, A, J, _, f, v, S, w, d), GK = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f), q[I] += GK;
5033
- let qK = {}, JK = t[I] - q[I] - a[$edcf132a9284368a$var$AXIS[I]], YK = JK + 0.5 * t[z], XK = S / 2 + w, ZK = $edcf132a9284368a$var$AXIS[I] === "left" ? (a.left ?? 0) + (a.right ?? 0) : (a.top ?? 0) + (a.bottom ?? 0), QK = n[z] - ZK - S / 2 - w;
5034
- qK[I] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(YK, t[I] + S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]]), t[I] + t[z] - S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]])), XK, QK), { placement: U, crossPlacement: K } = A, S ? JK = qK[I] : K === "right" ? JK += t[z] : K === "center" && (JK += t[z] / 2);
5027
+ let GK = "bottom";
5028
+ A.axis === "top" ? A.placement === "top" ? GK = "top" : A.placement === "bottom" && (GK = "bottom") : A.crossAxis === "top" && (A.crossPlacement === "top" ? GK = "bottom" : A.crossPlacement === "bottom" && (GK = "top"));
5029
+ let KK = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f);
5030
+ q[I] += KK;
5031
+ let qK = $edcf132a9284368a$var$getMaxHeight(q, c, f, v, a, o, n.height, GK, d, E, O);
5032
+ y && y < qK && (qK = y), n.height = Math.min(n.height, qK), q = $edcf132a9284368a$var$computePosition(t, c, n, A, J, _, f, v, S, w, d), KK = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f), q[I] += KK;
5033
+ let JK = {}, $ = t[I] - q[I] - a[$edcf132a9284368a$var$AXIS[I]], YK = $ + 0.5 * t[z], XK = S / 2 + w, ZK = $edcf132a9284368a$var$AXIS[I] === "left" ? (a.left ?? 0) + (a.right ?? 0) : (a.top ?? 0) + (a.bottom ?? 0), QK = n[z] - ZK - S / 2 - w;
5034
+ JK[I] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(YK, t[I] + S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]]), t[I] + t[z] - S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]])), XK, QK), { placement: U, crossPlacement: K } = A, S ? $ = JK[I] : K === "right" ? $ += t[z] : K === "center" && ($ += t[z] / 2);
5035
5035
  let $K = U === "left" || U === "top" ? n[M] : 0, eq = {
5036
- x: U === "top" || U === "bottom" ? JK : $K,
5037
- y: U === "left" || U === "right" ? JK : $K
5036
+ x: U === "top" || U === "bottom" ? $ : $K,
5037
+ y: U === "left" || U === "right" ? $ : $K
5038
5038
  };
5039
5039
  return {
5040
5040
  position: q,
5041
- maxHeight: KK,
5042
- arrowOffsetLeft: qK.left,
5043
- arrowOffsetTop: qK.top,
5041
+ maxHeight: qK,
5042
+ arrowOffsetLeft: JK.left,
5043
+ arrowOffsetTop: JK.top,
5044
5044
  placement: U,
5045
5045
  triggerAnchorPoint: eq
5046
5046
  };
@@ -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 GK = (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
+ GK.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 = GK.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 GK = $c87311424ea30a05$export$fedb369cb70207f1() || e.type === "timeZoneName" ? {
6900
+ let KK = $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 KK = $bdb11010cef70236$export$f680877a34711e37(), qK = !t.isDisabled && !t.isReadOnly && e.isEditable, JK = e.type === "literal" ? "" : s.of(e.type), YK = $313b98861ee5dd6c$export$d6875122194c7b44({
6911
- "aria-label": `${JK}${c ? `, ${c}` : ""}${d ? ", " : ""}`,
6910
+ let qK = $bdb11010cef70236$export$f680877a34711e37(), JK = !t.isDisabled && !t.isReadOnly && e.isEditable, $ = e.type === "literal" ? "" : s.of(e.type), YK = $313b98861ee5dd6c$export$d6875122194c7b44({
6911
+ "aria-label": `${$}${c ? `, ${c}` : ""}${d ? ", " : ""}`,
6912
6912
  "aria-labelledby": d
6913
6913
  });
6914
6914
  if (e.type === "literal") return {
@@ -6926,18 +6926,18 @@ Defaulting to \`null\`.`;
6926
6926
  }
6927
6927
  return {
6928
6928
  segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w, YK, {
6929
- id: KK,
6930
- ...GK,
6929
+ id: qK,
6930
+ ...KK,
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: qK,
6936
- suppressContentEditableWarning: qK,
6937
- spellCheck: qK ? "false" : void 0,
6938
- autoCorrect: qK ? "off" : void 0,
6939
- enterKeyHint: qK ? "next" : void 0,
6940
- inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !qK ? void 0 : "numeric",
6935
+ contentEditable: JK,
6936
+ suppressContentEditableWarning: JK,
6937
+ spellCheck: JK ? "false" : void 0,
6938
+ autoCorrect: JK ? "off" : void 0,
6939
+ enterKeyHint: JK ? "next" : void 0,
6940
+ inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !JK ? void 0 : "numeric",
6941
6941
  tabIndex: t.isDisabled ? void 0 : 0,
6942
6942
  onKeyDown: A,
6943
6943
  onFocus: Q,
@@ -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), GK = (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, GK.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
+ GK.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 GK(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 GK = (0, import_react.useMemo)(() => w ? f && f(w) ? true : $f62d864046160412$export$eac50920cf2fd59a(w, s, c) : false, [
10187
+ let KK = (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
- ]), KK = e.isInvalid || e.validationState === "invalid" || GK, qK = KK ? "invalid" : null, JK = (0, import_react.useMemo)(() => h === "visible" ? o : $131cf43a05231e1e$var$unitDuration(o), [
10192
+ ]), qK = e.isInvalid || e.validationState === "invalid" || KK, JK = qK ? "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: GK,
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: qK,
10210
- isValueInvalid: KK,
10209
+ validationState: JK,
10210
+ isValueInvalid: qK,
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(JK);
10236
- A($f62d864046160412$export$4f5203c0d889109e(O.add(JK), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, JK, i, s, c), JK, 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(JK);
10240
- A($f62d864046160412$export$4f5203c0d889109e(O.subtract(JK), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, JK, i, s, c), JK, 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) || GK(O);
10272
10272
  },
10273
10273
  selectDate(e2) {
10274
- $(e2);
10274
+ GK(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
- }, [$, GK] = (0, import_react.useState)(false), { isDateUnavailable: KK } = e, qK = (0, import_react.useMemo)(() => !h || v ? false : KK && (KK(h.start) || KK(h.end)) ? true : $f62d864046160412$export$eac50920cf2fd59a(h.start, c, d) || $f62d864046160412$export$eac50920cf2fd59a(h.end, c, d), [
10378
- KK,
10377
+ }, [GK, KK] = (0, import_react.useState)(false), { isDateUnavailable: qK } = e, JK = (0, import_react.useMemo)(() => !h || v ? false : qK && (qK(h.start) || qK(h.end)) ? true : $f62d864046160412$export$eac50920cf2fd59a(h.start, c, d) || $f62d864046160412$export$eac50920cf2fd59a(h.end, c, d), [
10378
+ qK,
10379
10379
  h,
10380
10380
  v,
10381
10381
  c,
10382
10382
  d
10383
- ]), JK = e.isInvalid || e.validationState === "invalid" || qK, YK = JK ? "invalid" : null;
10383
+ ]), $ = e.isInvalid || e.validationState === "invalid" || JK, YK = $ ? "invalid" : null;
10384
10384
  return {
10385
10385
  ...I,
10386
10386
  value: h,
@@ -10389,7 +10389,7 @@ Defaulting to \`null\`.`;
10389
10389
  setAnchorDate: q,
10390
10390
  highlightedRange: J,
10391
10391
  validationState: YK,
10392
- isValueInvalid: JK,
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: GK
10407
+ isDragging: GK,
10408
+ setDragging: KK
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
+ ]), GK = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$66aa2b09de4b1ea5(e.placeholderValue, _, S, v), [
11591
11591
  e.placeholderValue,
11592
11592
  _,
11593
11593
  S,
11594
11594
  v
11595
- ]), GK = (0, import_react.useMemo)(() => {
11595
+ ]), KK = (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
- ]), [KK, qK] = (0, import_react.useState)(M), [JK, YK] = (0, import_react.useState)(S), [XK, ZK] = (0, import_react.useState)(w);
11614
- (M !== KK || w !== XK || !$14e0f24ef4ac5c92$export$dbc69fd56b53d5e(S, JK)) && (I = new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M), qK(M), YK(S), ZK(w), z(I));
11613
+ ]), [qK, JK] = (0, import_react.useState)(M), [$, YK] = (0, import_react.useState)(S), [XK, ZK] = (0, import_react.useState)(w);
11614
+ (M !== qK || w !== XK || !$14e0f24ef4ac5c92$export$dbc69fd56b53d5e(S, $)) && (I = new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M), JK(M), YK(S), ZK(w), z(I));
11615
11615
  let QK = (t2) => {
11616
- if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(GK)) z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(null);
11616
+ if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(KK)) 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(GK)) {
11620
- let e2 = t2.toValue(M ?? $);
11621
- if (t2.validate(e2, GK)) {
11619
+ if (t2.isComplete(KK)) {
11620
+ let e2 = t2.toValue(M ?? GK);
11621
+ if (t2.validate(e2, KK)) {
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,11 +11628,11 @@ Defaulting to \`null\`.`;
11628
11628
  }
11629
11629
  z(t2);
11630
11630
  }
11631
- }, $K = (0, import_react.useMemo)(() => I.toValue(M ?? $).toDate(y), [
11631
+ }, $K = (0, import_react.useMemo)(() => I.toValue(M ?? GK).toDate(y), [
11632
11632
  I,
11633
11633
  y,
11634
11634
  M,
11635
- $
11635
+ GK
11636
11636
  ]), eq = (0, import_react.useMemo)(() => $3c0fc76039f1c516$var$processSegments($K, I, J, Q, S, t, _), [
11637
11637
  $K,
11638
11638
  J,
@@ -11642,7 +11642,7 @@ Defaulting to \`null\`.`;
11642
11642
  t,
11643
11643
  _
11644
11644
  ]), tq = (e2, t2) => {
11645
- QK(I.cycle(e2, t2, $, GK));
11645
+ QK(I.cycle(e2, t2, GK, KK));
11646
11646
  }, nq = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$f18627323ab57ac0(E, c, d, f, K), [
11647
11647
  E,
11648
11648
  c,
@@ -11684,18 +11684,18 @@ Defaulting to \`null\`.`;
11684
11684
  },
11685
11685
  incrementToMax(e2) {
11686
11686
  let t2 = e2 === "hour" && w === "h12" ? 11 : I.getSegmentLimits(e2).maxValue;
11687
- QK(I.set(e2, t2, $));
11687
+ QK(I.set(e2, t2, GK));
11688
11688
  },
11689
11689
  decrementToMin(e2) {
11690
11690
  let t2 = e2 === "hour" && w === "h12" ? 12 : I.getSegmentLimits(e2).minValue;
11691
- QK(I.set(e2, t2, $));
11691
+ QK(I.set(e2, t2, GK));
11692
11692
  },
11693
11693
  setSegment(e2, t2) {
11694
- QK(I.set(e2, t2, $));
11694
+ QK(I.set(e2, t2, GK));
11695
11695
  },
11696
11696
  confirmPlaceholder() {
11697
- if (!(e.isDisabled || e.isReadOnly) && I.isComplete(GK)) {
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(KK)) {
11698
+ let e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(I.toValue(M ?? GK), (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
  },
@@ -11824,7 +11824,7 @@ Defaulting to \`null\`.`;
11824
11824
  e.endName
11825
11825
  ]),
11826
11826
  builtinValidation: J
11827
- }), $ = Q.displayValidation.isInvalid, GK = e.validationState || ($ ? "invalid" : null);
11827
+ }), GK = Q.displayValidation.isInvalid, KK = e.validationState || (GK ? "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: GK,
11874
- isInvalid: $,
11873
+ validationState: KK,
11874
+ isInvalid: GK,
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,9 +15742,9 @@ 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, GK = 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), GK = !!Q && !I, KK = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
15746
15746
  h2
15747
- ]), KK = GK[t], qK = KK || GK, { colorSchemes: JK = _, components: YK = v, cssVarPrefix: XK } = qK, ZK = Object.keys(JK).filter((e3) => !!JK[e3]).join(","), QK = import_react.useMemo(() => ZK.split(","), [
15747
+ ]), qK = KK[t], JK = qK || KK, { colorSchemes: $ = _, components: YK = v, cssVarPrefix: XK } = JK, ZK = Object.keys($).filter((e3) => !!$[e3]).join(","), QK = import_react.useMemo(() => ZK.split(","), [
15748
15748
  ZK
15749
15749
  ]), $K = typeof s == "string" ? s : s.light, eq = typeof s == "string" ? s : s.dark, { mode: tq, setMode: nq, systemMode: rq, lightColorScheme: iq, darkColorScheme: aq, colorScheme: oq, setColorScheme: sq } = useCurrentColorScheme({
15750
15750
  supportedColorSchemes: QK,
@@ -15752,23 +15752,23 @@ try {
15752
15752
  defaultDarkColorScheme: eq,
15753
15753
  modeStorageKey: y2,
15754
15754
  colorSchemeStorageKey: S2,
15755
- defaultMode: JK[$K] && JK[eq] ? U : ((_b = (_a2 = JK[qK.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = qK.palette) == null ? void 0 : _c.mode),
15755
+ defaultMode: $[$K] && $[eq] ? U : ((_b = (_a2 = $[JK.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = JK.palette) == null ? void 0 : _c.mode),
15756
15756
  storageManager: E,
15757
15757
  storageWindow: O,
15758
15758
  noSsr: K
15759
15759
  }), cq = tq, lq = oq;
15760
- $ && (cq = Q.mode, lq = Q.colorScheme);
15760
+ GK && (cq = Q.mode, lq = Q.colorScheme);
15761
15761
  let uq = import_react.useMemo(() => {
15762
15762
  var _a3;
15763
- let e3 = lq || qK.defaultColorScheme, t2 = ((_a3 = qK.generateThemeVars) == null ? void 0 : _a3.call(qK)) || qK.vars, n2 = {
15764
- ...qK,
15763
+ let e3 = lq || JK.defaultColorScheme, t2 = ((_a3 = JK.generateThemeVars) == null ? void 0 : _a3.call(JK)) || JK.vars, n2 = {
15764
+ ...JK,
15765
15765
  components: YK,
15766
- colorSchemes: JK,
15766
+ colorSchemes: $,
15767
15767
  cssVarPrefix: XK,
15768
15768
  vars: t2
15769
15769
  };
15770
15770
  if (typeof n2.generateSpacing == "function" && (n2.spacing = n2.generateSpacing()), e3) {
15771
- let t3 = JK[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,12 +15778,12 @@ try {
15778
15778
  }
15779
15779
  return c ? c(n2) : n2;
15780
15780
  }, [
15781
- qK,
15781
+ JK,
15782
15782
  lq,
15783
15783
  YK,
15784
- JK,
15784
+ $,
15785
15785
  XK
15786
- ]), dq = qK.colorSchemeSelector;
15786
+ ]), dq = JK.colorSchemeSelector;
15787
15787
  useEnhancedEffect_default(() => {
15788
15788
  if (lq && M && dq && dq !== "media") {
15789
15789
  let e3 = dq, t2 = dq;
@@ -15841,11 +15841,11 @@ try {
15841
15841
  rq,
15842
15842
  uq.colorSchemeSelector
15843
15843
  ]), pq = true;
15844
- (z || qK.cssVariables === false || $ && (J == null ? void 0 : J.cssVarPrefix) === XK) && (pq = false);
15844
+ (z || JK.cssVariables === false || GK && (J == null ? void 0 : J.cssVarPrefix) === XK) && (pq = false);
15845
15845
  let mq = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
15846
15846
  children: [
15847
15847
  (0, import_jsx_runtime.jsx)(ThemeProvider_default, {
15848
- themeId: KK ? t : void 0,
15848
+ themeId: qK ? t : void 0,
15849
15849
  theme: uq,
15850
15850
  children: d2
15851
15851
  }),
@@ -15854,7 +15854,7 @@ try {
15854
15854
  })
15855
15855
  ]
15856
15856
  });
15857
- return $ ? mq : (0, import_jsx_runtime.jsx)(f.Provider, {
15857
+ return GK ? mq : (0, import_jsx_runtime.jsx)(f.Provider, {
15858
15858
  value: fq,
15859
15859
  children: mq
15860
15860
  });
@@ -17356,7 +17356,7 @@ 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: GK, onKeyDown: KK, onKeyUp: qK, placeholder: JK, readOnly: YK, renderSuffix: XK, rows: ZK, size: QK, slotProps: $K = {}, slots: eq = {}, startAdornment: tq, type: nq = "text", value: rq, ...iq } = n, aq = A.value == null ? rq : A.value, { current: oq } = import_react.useRef(aq != null), sq = import_react.useRef(), cq = import_react.useCallback((e2) => {
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: GK, onFocus: KK, onKeyDown: qK, onKeyUp: JK, placeholder: $, readOnly: YK, renderSuffix: XK, rows: ZK, size: QK, slotProps: $K = {}, slots: eq = {}, startAdornment: tq, type: nq = "text", value: rq, ...iq } = n, aq = A.value == null ? rq : A.value, { current: oq } = import_react.useRef(aq != null), sq = import_react.useRef(), cq = import_react.useCallback((e2) => {
17360
17360
  }, []), lq = useForkRef_default(sq, M, A.ref, cq), [uq, dq] = import_react.useState(false), fq = useFormControl(), pq = formControlState({
17361
17361
  props: n,
17362
17362
  muiFormControl: fq,
@@ -17394,7 +17394,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
17394
17394
  oq
17395
17395
  ]);
17396
17396
  let _q = (e2) => {
17397
- GK && GK(e2), A.onFocus && A.onFocus(e2), fq && fq.onFocus ? fq.onFocus(e2) : dq(true);
17397
+ KK && KK(e2), A.onFocus && A.onFocus(e2), fq && fq.onFocus ? fq.onFocus(e2) : dq(true);
17398
17398
  }, vq = (e2) => {
17399
17399
  J && J(e2), A.onBlur && A.onBlur(e2), fq && fq.onBlur ? fq.onBlur(e2) : dq(false);
17400
17400
  }, yq = (e2, ...t2) => {
@@ -17411,7 +17411,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
17411
17411
  gq(sq.current);
17412
17412
  }, []);
17413
17413
  let bq = (e2) => {
17414
- sq.current && e2.currentTarget === e2.target && sq.current.focus(), $ && $(e2);
17414
+ sq.current && e2.currentTarget === e2.target && sq.current.focus(), GK && GK(e2);
17415
17415
  }, xq = O, Sq = A;
17416
17416
  K && xq === "input" && (Sq = ZK ? {
17417
17417
  type: void 0,
@@ -17482,13 +17482,13 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
17482
17482
  id: E,
17483
17483
  onAnimationStart: Cq,
17484
17484
  name: q,
17485
- placeholder: JK,
17485
+ placeholder: $,
17486
17486
  readOnly: YK,
17487
17487
  required: pq.required,
17488
17488
  rows: ZK,
17489
17489
  value: aq,
17490
- onKeyDown: KK,
17491
- onKeyUp: qK,
17490
+ onKeyDown: qK,
17491
+ onKeyUp: JK,
17492
17492
  type: nq,
17493
17493
  ...Sq,
17494
17494
  ...!isHostComponent_default(Oq) && {
@@ -18584,7 +18584,7 @@ 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), GK = useTextColor(), KK = useJsonViewerStore((e2) => e2.colorspace.base0C), qK = useJsonViewerStore((e2) => e2.colorspace.base0A), JK = useJsonViewerStore((e2) => e2.displayComma), YK = useJsonViewerStore((e2) => e2.quotesOnKeys), XK = useJsonViewerStore((e2) => e2.rootName), ZK = U === t, QK = Number.isInteger(Number(A)), $K = useJsonViewerStore((e2) => e2.enableAdd), eq = useJsonViewerStore((e2) => e2.onAdd), tq = (0, import_react.useMemo)(() => !eq || a !== void 0 || $K === false || v === false ? false : typeof $K == "function" ? !!$K(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
18587
+ ]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), GK = useJsonViewerStore((e2) => e2.onChange), KK = useTextColor(), qK = useJsonViewerStore((e2) => e2.colorspace.base0C), JK = useJsonViewerStore((e2) => e2.colorspace.base0A), $ = useJsonViewerStore((e2) => e2.displayComma), YK = useJsonViewerStore((e2) => e2.quotesOnKeys), XK = useJsonViewerStore((e2) => e2.rootName), ZK = U === t, QK = Number.isInteger(Number(A)), $K = useJsonViewerStore((e2) => e2.enableAdd), eq = useJsonViewerStore((e2) => e2.onAdd), tq = (0, import_react.useMemo)(() => !eq || a !== void 0 || $K === false || v === false ? false : typeof $K == "function" ? !!$K(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
18588
18588
  eq,
18589
18589
  a,
18590
18590
  i,
@@ -18607,7 +18607,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18607
18607
  (0, import_react.useEffect)(() => {
18608
18608
  uq.current && lq && "animate" in uq.current && uq.current.animate([
18609
18609
  {
18610
- backgroundColor: qK
18610
+ backgroundColor: JK
18611
18611
  },
18612
18612
  {
18613
18613
  backgroundColor: ""
@@ -18617,7 +18617,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18617
18617
  easing: "ease-in"
18618
18618
  });
18619
18619
  }, [
18620
- qK,
18620
+ JK,
18621
18621
  lq,
18622
18622
  n,
18623
18623
  t
@@ -18634,13 +18634,13 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18634
18634
  E
18635
18635
  ]), pq = (0, import_react.useCallback)((e2) => {
18636
18636
  if (Q(false), _) try {
18637
- $(i, t, _(e2));
18637
+ GK(i, t, _(e2));
18638
18638
  } catch {
18639
18639
  }
18640
18640
  }, [
18641
18641
  Q,
18642
18642
  _,
18643
- $,
18643
+ GK,
18644
18644
  i,
18645
18645
  t
18646
18646
  ]), mq = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
@@ -18765,7 +18765,7 @@ 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: GK,
18768
+ color: KK,
18769
18769
  letterSpacing: 0.5,
18770
18770
  opacity: 0.8
18771
18771
  },
@@ -18810,7 +18810,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18810
18810
  }) : a === void 0 && (QK ? (0, import_jsx_runtime.jsx)(Box_default, {
18811
18811
  component: "span",
18812
18812
  style: {
18813
- color: KK,
18813
+ color: qK,
18814
18814
  userSelect: QK ? "none" : "auto"
18815
18815
  },
18816
18816
  children: A
@@ -18863,7 +18863,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18863
18863
  d && (0, import_jsx_runtime.jsx)(d, {
18864
18864
  ...vq
18865
18865
  }),
18866
- !o && JK && (0, import_jsx_runtime.jsx)(DataBox, {
18866
+ !o && $ && (0, import_jsx_runtime.jsx)(DataBox, {
18867
18867
  children: ","
18868
18868
  }),
18869
18869
  I && gq && !K && mq,
@@ -19274,8 +19274,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19274
19274
  }, t[5] = i, t[6] = c, t[7] = y, t[8] = v, t[9] = s, t[10] = S) : S = t[10];
19275
19275
  let w = S, E;
19276
19276
  t[11] === o ? E = t[12] : (E = cn("my-2", o), t[11] = o, t[12] = E);
19277
- let A;
19278
- t[13] !== y.description || t[14] !== y.fixType || t[15] !== y.title || t[16] !== w ? (A = y.fixType === "ai" ? (0, import_jsx_runtime.jsx)(AIFixButton, {
19277
+ let O;
19278
+ t[13] !== y.description || t[14] !== y.fixType || t[15] !== y.title || t[16] !== w ? (O = y.fixType === "ai" ? (0, import_jsx_runtime.jsx)(AIFixButton, {
19279
19279
  tooltip: y.description,
19280
19280
  openPrompt: () => w(false),
19281
19281
  applyAutofix: () => w(true)
@@ -19294,12 +19294,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19294
19294
  y.title
19295
19295
  ]
19296
19296
  })
19297
- }), t[13] = y.description, t[14] = y.fixType, t[15] = y.title, t[16] = w, t[17] = A) : A = t[17];
19298
- let M;
19299
- return t[18] !== E || t[19] !== A ? (M = (0, import_jsx_runtime.jsx)("div", {
19297
+ }), t[13] = y.description, t[14] = y.fixType, t[15] = y.title, t[16] = w, t[17] = O) : O = t[17];
19298
+ let A;
19299
+ return t[18] !== E || t[19] !== O ? (A = (0, import_jsx_runtime.jsx)("div", {
19300
19300
  className: E,
19301
- children: A
19302
- }), t[18] = E, t[19] = A, t[20] = M) : M = t[20], M;
19301
+ children: O
19302
+ }), t[18] = E, t[19] = O, t[20] = A) : A = t[20], A;
19303
19303
  };
19304
19304
  var PromptIcon = Sparkles, AutofixIcon = Wrench, PromptTitle = "Suggest a prompt", AutofixTitle = "Fix with AI";
19305
19305
  const AIFixButton = (e) => {
@@ -19816,18 +19816,18 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19816
19816
  }
19817
19817
  let y, S, w, E, O, A;
19818
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), $ = n.filter(_temp15), GK = n.filter(_temp16), KK = n.filter(_temp17), qK = n.filter(_temp18), YK;
19820
- t[17] === s ? YK = t[18] : (YK = () => {
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), GK = n.filter(_temp15), KK = n.filter(_temp16), qK = n.filter(_temp17), JK = n.filter(_temp18), $;
19820
+ t[17] === s ? $ = t[18] : ($ = () => {
19821
19821
  s.openApplication("scratchpad");
19822
- }, t[17] = s, t[18] = YK);
19823
- let XK = YK, ZK = () => {
19822
+ }, t[17] = s, t[18] = $);
19823
+ let XK = $, ZK = () => {
19824
19824
  let t2 = [];
19825
- if (GK.length > 0 || KK.length > 0) {
19826
- let e3 = GK.some(_temp19), n2 = !e3 && GK.some(_temp20);
19825
+ if (KK.length > 0 || qK.length > 0) {
19826
+ let e3 = KK.some(_temp19), n2 = !e3 && KK.some(_temp20);
19827
19827
  t2.push((0, import_jsx_runtime.jsxs)("div", {
19828
19828
  children: [
19829
- GK.map(_temp21),
19830
- KK.map(_temp22),
19829
+ KK.map(_temp21),
19830
+ qK.map(_temp22),
19831
19831
  e3 && (0, import_jsx_runtime.jsxs)(Button, {
19832
19832
  size: "xs",
19833
19833
  variant: "outline",
@@ -19858,8 +19858,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19858
19858
  }),
19859
19859
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
19860
19860
  errors: [
19861
- ...GK,
19862
- ...KK
19861
+ ...KK,
19862
+ ...qK
19863
19863
  ],
19864
19864
  cellId: i
19865
19865
  })
@@ -20211,19 +20211,19 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20211
20211
  cellId: i
20212
20212
  })
20213
20213
  ]
20214
- }, "ancestor-prevented")), $.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20214
+ }, "ancestor-prevented")), GK.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20215
20215
  children: [
20216
- $.map(_temp34),
20216
+ GK.map(_temp34),
20217
20217
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20218
- errors: $,
20218
+ errors: GK,
20219
20219
  cellId: i
20220
20220
  })
20221
20221
  ]
20222
- }, "ancestor-stopped")), qK.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20222
+ }, "ancestor-stopped")), JK.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20223
20223
  children: [
20224
- qK.map(_temp35),
20224
+ JK.map(_temp35),
20225
20225
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20226
- errors: qK,
20226
+ errors: JK,
20227
20227
  cellId: i,
20228
20228
  className: "mt-2.5"
20229
20229
  })
@@ -20243,21 +20243,21 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20243
20243
  })
20244
20244
  ]
20245
20245
  }), t[19] = v, t[20] = QK);
20246
- let eq;
20247
- t[21] !== _ || t[22] !== d ? (eq = d && (0, import_jsx_runtime.jsx)(AlertTitle, {
20246
+ let $K;
20247
+ t[21] !== _ || t[22] !== d ? ($K = d && (0, import_jsx_runtime.jsx)(AlertTitle, {
20248
20248
  className: `font-code font-medium ${_}`,
20249
20249
  children: d
20250
- }), t[21] = _, t[22] = d, t[23] = eq) : eq = t[23];
20251
- let tq;
20252
- t[24] !== QK || t[25] !== eq ? (tq = (0, import_jsx_runtime.jsxs)("div", {
20250
+ }), t[21] = _, t[22] = d, t[23] = $K) : $K = t[23];
20251
+ let eq;
20252
+ t[24] !== QK || t[25] !== $K ? (eq = (0, import_jsx_runtime.jsxs)("div", {
20253
20253
  className: "space-y-0.5",
20254
20254
  children: [
20255
20255
  QK,
20256
- eq
20256
+ $K
20257
20257
  ]
20258
- }), t[24] = QK, t[25] = eq, t[26] = tq) : tq = t[26];
20259
- let nq = tq;
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 = nq, S = "flex flex-col gap-4", w = ZK(), 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;
20258
+ }), t[24] = QK, t[25] = $K, t[26] = eq) : eq = t[26];
20259
+ let tq = eq;
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 = tq, S = "flex flex-col gap-4", w = ZK(), 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
20261
  } else y = t[11], S = t[12], w = t[13], E = t[14], O = t[15], A = t[16];
20262
20262
  let M;
20263
20263
  t[29] !== S || t[30] !== w ? (M = (0, import_jsx_runtime.jsx)("div", {
@@ -23707,14 +23707,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23707
23707
  }), t[30] = z, t[31] = U, t[32] = q, t[33] = J) : J = t[33];
23708
23708
  let Q;
23709
23709
  t[34] === y ? Q = t[35] : (Q = y(), t[34] = y, t[35] = Q);
23710
- let $;
23711
- return t[36] !== I || t[37] !== J || t[38] !== Q ? ($ = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
23710
+ let GK;
23711
+ return t[36] !== I || t[37] !== J || t[38] !== Q ? (GK = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
23712
23712
  children: [
23713
23713
  I,
23714
23714
  J,
23715
23715
  Q
23716
23716
  ]
23717
- }), t[36] = I, t[37] = J, t[38] = Q, t[39] = $) : $ = t[39], $;
23717
+ }), t[36] = I, t[37] = J, t[38] = Q, t[39] = GK) : GK = t[39], GK;
23718
23718
  }
23719
23719
  function renderSortIcon(e) {
23720
23720
  if (!e.getCanSort()) return null;
@@ -26304,7 +26304,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26304
26304
  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 }) {
26305
26305
  let E = (0, import_react.useContext)(PanelGroupContext);
26306
26306
  if (E === null) throw Error("Panel components must be rendered within a PanelGroup container");
26307
- let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, $ = useUniqueId(s), GK = (0, import_react.useRef)({
26307
+ let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, GK = useUniqueId(s), KK = (0, import_react.useRef)({
26308
26308
  callbacks: {
26309
26309
  onCollapse: f,
26310
26310
  onExpand: h,
@@ -26317,72 +26317,72 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26317
26317
  maxSize: c,
26318
26318
  minSize: d
26319
26319
  },
26320
- id: $,
26320
+ id: GK,
26321
26321
  idIsFromProps: s !== void 0,
26322
26322
  order: v
26323
26323
  });
26324
26324
  (0, import_react.useRef)({
26325
26325
  didLogMissingDefaultSizeWarning: false
26326
26326
  }), useIsomorphicLayoutEffect$1(() => {
26327
- let { callbacks: e2, constraints: t2 } = GK.current, o2 = {
26327
+ let { callbacks: e2, constraints: t2 } = KK.current, o2 = {
26328
26328
  ...t2
26329
26329
  };
26330
- GK.current.id = $, GK.current.idIsFromProps = s !== void 0, GK.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(GK.current, o2);
26330
+ KK.current.id = GK, KK.current.idIsFromProps = s !== void 0, KK.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(KK.current, o2);
26331
26331
  }), useIsomorphicLayoutEffect$1(() => {
26332
- let e2 = GK.current;
26332
+ let e2 = KK.current;
26333
26333
  return q(e2), () => {
26334
26334
  Q(e2);
26335
26335
  };
26336
26336
  }, [
26337
26337
  v,
26338
- $,
26338
+ GK,
26339
26339
  q,
26340
26340
  Q
26341
26341
  ]), (0, import_react.useImperativeHandle)(o, () => ({
26342
26342
  collapse: () => {
26343
- O(GK.current);
26343
+ O(KK.current);
26344
26344
  },
26345
26345
  expand: (e2) => {
26346
- A(GK.current, e2);
26346
+ A(KK.current, e2);
26347
26347
  },
26348
26348
  getId() {
26349
- return $;
26349
+ return GK;
26350
26350
  },
26351
26351
  getSize() {
26352
- return M(GK.current);
26352
+ return M(KK.current);
26353
26353
  },
26354
26354
  isCollapsed() {
26355
- return U(GK.current);
26355
+ return U(KK.current);
26356
26356
  },
26357
26357
  isExpanded() {
26358
- return !U(GK.current);
26358
+ return !U(KK.current);
26359
26359
  },
26360
26360
  resize: (e2) => {
26361
- J(GK.current, e2);
26361
+ J(KK.current, e2);
26362
26362
  }
26363
26363
  }), [
26364
26364
  O,
26365
26365
  A,
26366
26366
  M,
26367
26367
  U,
26368
- $,
26368
+ GK,
26369
26369
  J
26370
26370
  ]);
26371
- let KK = I(GK.current, a);
26371
+ let qK = I(KK.current, a);
26372
26372
  return (0, import_react.createElement)(S, {
26373
26373
  ...w,
26374
26374
  children: e,
26375
26375
  className: t,
26376
- id: $,
26376
+ id: GK,
26377
26377
  style: {
26378
- ...KK,
26378
+ ...qK,
26379
26379
  ...y
26380
26380
  },
26381
26381
  [DATA_ATTRIBUTES.groupId]: z,
26382
26382
  [DATA_ATTRIBUTES.panel]: "",
26383
26383
  [DATA_ATTRIBUTES.panelCollapsible]: i || void 0,
26384
- [DATA_ATTRIBUTES.panelId]: $,
26385
- [DATA_ATTRIBUTES.panelSize]: parseFloat("" + KK.flexGrow).toFixed(1)
26384
+ [DATA_ATTRIBUTES.panelId]: GK,
26385
+ [DATA_ATTRIBUTES.panelSize]: parseFloat("" + qK.flexGrow).toFixed(1)
26386
26386
  });
26387
26387
  }
26388
26388
  Panel = (0, import_react.forwardRef)((e, t) => (0, import_react.createElement)(PanelWithForwardedRef, {
@@ -27155,7 +27155,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27155
27155
  }, []), Q = (0, import_react.useCallback)((e2) => {
27156
27156
  let { layout: t2, panelDataArray: n2 } = K.current, { panelSize: i2 } = panelDataHelper(n2, e2, t2);
27157
27157
  return assert(i2 != null, `Panel size not found for panel "${e2.id}"`), i2;
27158
- }, []), $ = (0, import_react.useCallback)((e2, t2) => {
27158
+ }, []), GK = (0, import_react.useCallback)((e2, t2) => {
27159
27159
  let { panelDataArray: n2 } = K.current;
27160
27160
  return computePanelFlexBoxStyle({
27161
27161
  defaultSize: t2,
@@ -27167,13 +27167,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27167
27167
  }, [
27168
27168
  S,
27169
27169
  E
27170
- ]), GK = (0, import_react.useCallback)((e2) => {
27170
+ ]), KK = (0, import_react.useCallback)((e2) => {
27171
27171
  let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
27172
27172
  return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), a2 === true && fuzzyNumbersEqual$1(o2, i2);
27173
- }, []), KK = (0, import_react.useCallback)((e2) => {
27173
+ }, []), qK = (0, import_react.useCallback)((e2) => {
27174
27174
  let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
27175
27175
  return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), !a2 || fuzzyCompareNumbers(o2, i2) > 0;
27176
- }, []), qK = (0, import_react.useCallback)((e2) => {
27176
+ }, []), JK = (0, import_react.useCallback)((e2) => {
27177
27177
  let { panelDataArray: t2 } = K.current;
27178
27178
  t2.push(e2), t2.sort((e3, t3) => {
27179
27179
  let n2 = e3.order, i2 = t3.order;
@@ -27205,7 +27205,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27205
27205
  e2.layout = [];
27206
27206
  };
27207
27207
  }, []);
27208
- let JK = (0, import_react.useCallback)((e2) => {
27208
+ let $ = (0, import_react.useCallback)((e2) => {
27209
27209
  let t2 = false, n2 = y.current;
27210
27210
  return n2 && window.getComputedStyle(n2, null).getPropertyValue("direction") === "rtl" && (t2 = true), function(n3) {
27211
27211
  n3.preventDefault();
@@ -27265,13 +27265,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27265
27265
  dragState: S,
27266
27266
  expandPanel: J,
27267
27267
  getPanelSize: Q,
27268
- getPanelStyle: $,
27268
+ getPanelStyle: GK,
27269
27269
  groupId: v,
27270
- isPanelCollapsed: GK,
27271
- isPanelExpanded: KK,
27270
+ isPanelCollapsed: KK,
27271
+ isPanelExpanded: qK,
27272
27272
  reevaluatePanelConstraints: XK,
27273
- registerPanel: qK,
27274
- registerResizeHandle: JK,
27273
+ registerPanel: JK,
27274
+ registerResizeHandle: $,
27275
27275
  resizePanel: YK,
27276
27276
  startDragging: ZK,
27277
27277
  stopDragging: QK,
@@ -27283,13 +27283,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27283
27283
  i,
27284
27284
  J,
27285
27285
  Q,
27286
- $,
27287
- v,
27288
27286
  GK,
27287
+ v,
27289
27288
  KK,
27290
- XK,
27291
27289
  qK,
27290
+ XK,
27292
27291
  JK,
27292
+ $,
27293
27293
  YK,
27294
27294
  ZK,
27295
27295
  QK,
@@ -27387,16 +27387,16 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27387
27387
  });
27388
27388
  let O = (0, import_react.useContext)(PanelGroupContext);
27389
27389
  if (O === null) throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");
27390
- let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [$, GK] = (0, import_react.useState)(false), [KK, qK] = (0, import_react.useState)(null), JK = (0, import_react.useRef)({
27390
+ let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [GK, KK] = (0, import_react.useState)(false), [qK, JK] = (0, import_react.useState)(null), $ = (0, import_react.useRef)({
27391
27391
  state: J
27392
27392
  });
27393
27393
  useIsomorphicLayoutEffect$1(() => {
27394
- JK.current.state = J;
27394
+ $.current.state = J;
27395
27395
  }), (0, import_react.useEffect)(() => {
27396
- if (n) qK(null);
27396
+ if (n) JK(null);
27397
27397
  else {
27398
27398
  let e2 = I(q);
27399
- qK(() => e2);
27399
+ JK(() => e2);
27400
27400
  }
27401
27401
  }, [
27402
27402
  n,
@@ -27405,7 +27405,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27405
27405
  ]);
27406
27406
  let YK = (i == null ? void 0 : i.coarse) ?? 15, XK = (i == null ? void 0 : i.fine) ?? 5;
27407
27407
  (0, import_react.useEffect)(() => {
27408
- if (n || KK == null) return;
27408
+ if (n || qK == null) return;
27409
27409
  let e2 = w.current;
27410
27410
  assert(e2, "Element ref not attached");
27411
27411
  let t2 = false;
@@ -27425,8 +27425,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27425
27425
  break;
27426
27426
  }
27427
27427
  case "move": {
27428
- let { state: e4 } = JK.current;
27429
- t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), KK(i2);
27428
+ let { state: e4 } = $.current;
27429
+ t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), qK(i2);
27430
27430
  break;
27431
27431
  }
27432
27432
  case "up": {
@@ -27444,13 +27444,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27444
27444
  XK,
27445
27445
  I,
27446
27446
  q,
27447
- KK,
27447
+ qK,
27448
27448
  z,
27449
27449
  U
27450
27450
  ]), useWindowSplitterResizeHandlerBehavior({
27451
27451
  disabled: n,
27452
27452
  handleId: q,
27453
- resizeHandler: KK,
27453
+ resizeHandler: qK,
27454
27454
  panelGroupElement: K
27455
27455
  });
27456
27456
  let ZK = {
@@ -27463,10 +27463,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27463
27463
  className: t,
27464
27464
  id: a,
27465
27465
  onBlur: () => {
27466
- GK(false), o == null ? void 0 : o();
27466
+ KK(false), o == null ? void 0 : o();
27467
27467
  },
27468
27468
  onFocus: () => {
27469
- GK(true), d == null ? void 0 : d();
27469
+ KK(true), d == null ? void 0 : d();
27470
27470
  },
27471
27471
  ref: w,
27472
27472
  role: "separator",
@@ -27478,7 +27478,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27478
27478
  [DATA_ATTRIBUTES.groupDirection]: A,
27479
27479
  [DATA_ATTRIBUTES.groupId]: M,
27480
27480
  [DATA_ATTRIBUTES.resizeHandle]: "",
27481
- [DATA_ATTRIBUTES.resizeHandleActive]: J === "drag" ? "pointer" : $ ? "keyboard" : void 0,
27481
+ [DATA_ATTRIBUTES.resizeHandleActive]: J === "drag" ? "pointer" : GK ? "keyboard" : void 0,
27482
27482
  [DATA_ATTRIBUTES.resizeHandleEnabled]: !n,
27483
27483
  [DATA_ATTRIBUTES.resizeHandleId]: q,
27484
27484
  [DATA_ATTRIBUTES.resizeHandleState]: J
@@ -27770,7 +27770,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27770
27770
  }, [
27771
27771
  h
27772
27772
  ]), k(() => {
27773
- U(6, KK);
27773
+ U(6, qK);
27774
27774
  }, []);
27775
27775
  let K = import_react.useMemo(() => ({
27776
27776
  subscribe: (e2) => (s.current.add(e2), () => s.current.delete(e2)),
@@ -27779,7 +27779,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27779
27779
  var _a2;
27780
27780
  var a2, o2, s2;
27781
27781
  if (!Object.is(n.current[e2], t2)) {
27782
- if (n.current[e2] = t2, e2 === "search") GK(), Q(), U(1, $);
27782
+ if (n.current[e2] = t2, e2 === "search") KK(), Q(), U(1, GK);
27783
27783
  else if (e2 === "value") {
27784
27784
  if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
27785
27785
  let e3 = document.getElementById(I);
@@ -27787,8 +27787,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27787
27787
  }
27788
27788
  if (U(7, () => {
27789
27789
  var _a3;
27790
- n.current.selectedItemId = (_a3 = qK()) == null ? void 0 : _a3.id, K.emit();
27791
- }), i2 || U(5, KK), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
27790
+ n.current.selectedItemId = (_a3 = JK()) == null ? void 0 : _a3.id, K.emit();
27791
+ }), i2 || U(5, qK), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
27792
27792
  let e3 = t2 ?? "";
27793
27793
  (s2 = (o2 = c.current).onValueChange) == null || s2.call(o2, e3);
27794
27794
  return;
@@ -27813,12 +27813,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27813
27813
  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([
27814
27814
  e2
27815
27815
  ]))), U(3, () => {
27816
- GK(), Q(), n.current.value || $(), K.emit();
27816
+ KK(), Q(), n.current.value || GK(), K.emit();
27817
27817
  }), () => {
27818
27818
  o.current.delete(e2), i.current.delete(e2), n.current.filtered.items.delete(e2);
27819
- let t3 = qK();
27819
+ let t3 = JK();
27820
27820
  U(4, () => {
27821
- GK(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && $(), K.emit();
27821
+ KK(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && GK(), K.emit();
27822
27822
  });
27823
27823
  }),
27824
27824
  group: (e2) => (a.current.has(e2) || a.current.set(e2, /* @__PURE__ */ new Set()), () => {
@@ -27851,7 +27851,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27851
27851
  ]);
27852
27852
  });
27853
27853
  let i2 = z.current;
27854
- JK().sort((t3, n2) => {
27854
+ $().sort((t3, n2) => {
27855
27855
  let i3 = t3.getAttribute("id"), a2 = n2.getAttribute("id");
27856
27856
  return (e2.get(a2) ?? 0) - (e2.get(i3) ?? 0);
27857
27857
  }).forEach((e3) => {
@@ -27863,12 +27863,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27863
27863
  t3 == null ? void 0 : t3.parentElement.appendChild(t3);
27864
27864
  });
27865
27865
  }
27866
- function $() {
27866
+ function GK() {
27867
27867
  var _a2;
27868
- let e2 = (_a2 = JK().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
27868
+ let e2 = (_a2 = $().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
27869
27869
  K.setState("value", e2 || void 0);
27870
27870
  }
27871
- function GK() {
27871
+ function KK() {
27872
27872
  var _a2, _b;
27873
27873
  if (!n.current.search || c.current.shouldFilter === false) {
27874
27874
  n.current.filtered.count = i.current.size;
@@ -27886,40 +27886,40 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27886
27886
  }
27887
27887
  n.current.filtered.count = e2;
27888
27888
  }
27889
- function KK() {
27889
+ function qK() {
27890
27890
  var _a2, _b;
27891
27891
  var e2;
27892
- let t2 = qK();
27892
+ let t2 = JK();
27893
27893
  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({
27894
27894
  block: "nearest"
27895
27895
  })), t2.scrollIntoView({
27896
27896
  block: "nearest"
27897
27897
  }));
27898
27898
  }
27899
- function qK() {
27899
+ function JK() {
27900
27900
  var _a2;
27901
27901
  return (_a2 = z.current) == null ? void 0 : _a2.querySelector(`${le}[aria-selected="true"]`);
27902
27902
  }
27903
- function JK() {
27903
+ function $() {
27904
27904
  var _a2;
27905
27905
  return Array.from(((_a2 = z.current) == null ? void 0 : _a2.querySelectorAll(ce$1)) || []);
27906
27906
  }
27907
27907
  function YK(e2) {
27908
- let t2 = JK()[e2];
27908
+ let t2 = $()[e2];
27909
27909
  t2 && K.setState("value", t2.getAttribute(T));
27910
27910
  }
27911
27911
  function XK(e2) {
27912
27912
  var t2;
27913
- let n2 = qK(), i2 = JK(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
27913
+ let n2 = JK(), i2 = $(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
27914
27914
  (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));
27915
27915
  }
27916
27916
  function ZK(e2) {
27917
27917
  var _a2;
27918
- let t2 = (_a2 = qK()) == null ? void 0 : _a2.closest(N$1), n2;
27918
+ let t2 = (_a2 = JK()) == null ? void 0 : _a2.closest(N$1), n2;
27919
27919
  for (; t2 && !n2; ) t2 = e2 > 0 ? we(t2, N$1) : De(t2, N$1), n2 = t2 == null ? void 0 : t2.querySelector(ce$1);
27920
27920
  n2 ? K.setState("value", n2.getAttribute(T)) : XK(e2);
27921
27921
  }
27922
- let QK = () => YK(JK().length - 1), $K = (e2) => {
27922
+ let QK = () => YK($().length - 1), $K = (e2) => {
27923
27923
  e2.preventDefault(), e2.metaKey ? QK() : e2.altKey ? ZK(1) : XK(1);
27924
27924
  }, eq = (e2) => {
27925
27925
  e2.preventDefault(), e2.metaKey ? YK(0) : e2.altKey ? ZK(-1) : XK(-1);
@@ -27956,7 +27956,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27956
27956
  break;
27957
27957
  case "Enter": {
27958
27958
  e2.preventDefault();
27959
- let t3 = qK();
27959
+ let t3 = JK();
27960
27960
  if (t3) {
27961
27961
  let e3 = new Event(Z);
27962
27962
  t3.dispatchEvent(e3);
@@ -28365,7 +28365,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28365
28365
  Combobox = (e) => {
28366
28366
  let t = (0, import_compiler_runtime$32.c)(103), n, i, o, s, c, d, f, h, _, v, y, S, w, E, O, A, M, I, z, U, K, q, J;
28367
28367
  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);
28368
- let Q = M === void 0 ? false : M, $ = I === void 0 ? true : I, GK = z === void 0 ? "Search..." : z, KK = U === void 0 ? "Nothing found." : U, qK = K === void 0 ? false : K, JK = q === void 0 ? false : q, YK = s ?? false, XK;
28368
+ let Q = M === void 0 ? false : M, GK = I === void 0 ? true : I, KK = z === void 0 ? "Search..." : z, qK = U === void 0 ? "Nothing found." : U, JK = K === void 0 ? false : K, $ = q === void 0 ? false : q, YK = s ?? false, XK;
28369
28369
  t[24] !== v || t[25] !== w || t[26] !== YK ? (XK = {
28370
28370
  prop: w,
28371
28371
  defaultProp: YK,
@@ -28381,10 +28381,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28381
28381
  defaultProp: c,
28382
28382
  onChange: eq
28383
28383
  }, t[30] = c, t[31] = eq, t[32] = J, t[33] = tq) : tq = t[33];
28384
- let [nq, iq] = useControllableState(tq), aq;
28385
- t[34] === nq ? aq = t[35] : (aq = (e2) => Array.isArray(nq) ? nq.includes(e2) : nq === e2, t[34] = nq, t[35] = aq);
28386
- let oq = aq, sq;
28387
- t[36] !== _ || t[37] !== Q || t[38] !== QK || t[39] !== iq || t[40] !== nq ? (sq = (e2) => {
28384
+ let [nq, rq] = useControllableState(tq), iq;
28385
+ t[34] === nq ? iq = t[35] : (iq = (e2) => Array.isArray(nq) ? nq.includes(e2) : nq === e2, t[34] = nq, t[35] = iq);
28386
+ let aq = iq, oq;
28387
+ t[36] !== _ || t[37] !== Q || t[38] !== QK || t[39] !== rq || t[40] !== nq ? (oq = (e2) => {
28388
28388
  let t2 = e2;
28389
28389
  if (Q) if (Array.isArray(nq)) if (nq.includes(t2)) {
28390
28390
  let n2 = nq.filter((t3) => t3 !== e2);
@@ -28397,98 +28397,98 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28397
28397
  t2
28398
28398
  ];
28399
28399
  else nq === e2 && (t2 = null);
28400
- iq(t2), (_ ?? Q) || QK(false);
28401
- }, t[36] = _, t[37] = Q, t[38] = QK, t[39] = iq, t[40] = nq, t[41] = sq) : sq = t[41];
28402
- let cq = sq, lq;
28403
- t[42] !== qK || t[43] !== d || t[44] !== Q || t[45] !== E || t[46] !== nq ? (lq = () => Q && qK && E ? E : nq == null ? E ?? "--" : Array.isArray(nq) ? nq.length === 0 ? E ?? "--" : nq.length === 1 && d !== void 0 ? d(nq[0]) : `${nq.length} selected` : d === void 0 ? E ?? "--" : d(nq), t[42] = qK, t[43] = d, t[44] = Q, t[45] = E, t[46] = nq, t[47] = lq) : lq = t[47];
28404
- let uq = lq, dq;
28405
- t[48] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (dq = cn("relative"), t[48] = dq) : dq = t[48];
28406
- let fq;
28407
- t[49] !== JK || t[50] !== QK ? (fq = (e2) => {
28408
- JK && e2 || QK(e2);
28409
- }, t[49] = JK, t[50] = QK, t[51] = fq) : fq = t[51];
28410
- let pq = JK && "cursor-not-allowed opacity-50", hq;
28411
- t[52] !== o || t[53] !== pq ? (hq = 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", pq, o), t[52] = o, t[53] = pq, t[54] = hq) : hq = t[54];
28400
+ rq(t2), (_ ?? Q) || QK(false);
28401
+ }, t[36] = _, t[37] = Q, t[38] = QK, t[39] = rq, t[40] = nq, t[41] = oq) : oq = t[41];
28402
+ let sq = oq, cq;
28403
+ t[42] !== JK || t[43] !== d || t[44] !== Q || t[45] !== E || t[46] !== nq ? (cq = () => Q && JK && E ? E : nq == null ? E ?? "--" : Array.isArray(nq) ? nq.length === 0 ? E ?? "--" : nq.length === 1 && d !== void 0 ? d(nq[0]) : `${nq.length} selected` : d === void 0 ? E ?? "--" : d(nq), t[42] = JK, t[43] = d, t[44] = Q, t[45] = E, t[46] = nq, t[47] = cq) : cq = t[47];
28404
+ let lq = cq, uq;
28405
+ t[48] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (uq = cn("relative"), t[48] = uq) : uq = t[48];
28406
+ let dq;
28407
+ t[49] !== $ || t[50] !== QK ? (dq = (e2) => {
28408
+ $ && e2 || QK(e2);
28409
+ }, t[49] = $, t[50] = QK, t[51] = dq) : dq = t[51];
28410
+ let fq = $ && "cursor-not-allowed opacity-50", mq;
28411
+ t[52] !== o || t[53] !== fq ? (mq = 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", fq, o), t[52] = o, t[53] = fq, t[54] = mq) : mq = t[54];
28412
28412
  let gq;
28413
- t[55] === uq ? gq = t[56] : (gq = uq(), t[55] = uq, t[56] = gq);
28414
- let vq;
28415
- t[57] === gq ? vq = t[58] : (vq = (0, import_jsx_runtime.jsx)("span", {
28413
+ t[55] === lq ? gq = t[56] : (gq = lq(), t[55] = lq, t[56] = gq);
28414
+ let _q;
28415
+ t[57] === gq ? _q = t[58] : (_q = (0, import_jsx_runtime.jsx)("span", {
28416
28416
  className: "truncate flex-1 min-w-0",
28417
28417
  children: gq
28418
- }), t[57] = gq, t[58] = vq);
28419
- let yq;
28420
- t[59] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (yq = (0, import_jsx_runtime.jsx)(ChevronDown, {
28418
+ }), t[57] = gq, t[58] = _q);
28419
+ let vq;
28420
+ t[59] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (vq = (0, import_jsx_runtime.jsx)(ChevronDown, {
28421
28421
  className: "ml-3 w-4 h-4 opacity-50 shrink-0"
28422
- }), t[59] = yq) : yq = t[59];
28423
- let bq;
28424
- t[60] !== JK || t[61] !== h || t[62] !== $K || t[63] !== hq || t[64] !== vq ? (bq = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
28422
+ }), t[59] = vq) : vq = t[59];
28423
+ let yq;
28424
+ t[60] !== $ || t[61] !== h || t[62] !== $K || t[63] !== mq || t[64] !== _q ? (yq = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
28425
28425
  asChild: true,
28426
28426
  children: (0, import_jsx_runtime.jsxs)("button", {
28427
28427
  id: h,
28428
28428
  type: "button",
28429
- className: hq,
28429
+ className: mq,
28430
28430
  "aria-expanded": $K,
28431
- "aria-disabled": JK,
28431
+ "aria-disabled": $,
28432
28432
  children: [
28433
- vq,
28434
- yq
28433
+ _q,
28434
+ vq
28435
28435
  ]
28436
28436
  })
28437
- }), t[60] = JK, t[61] = h, t[62] = $K, t[63] = hq, t[64] = vq, t[65] = bq) : bq = t[65];
28438
- let xq;
28439
- t[66] !== GK || t[67] !== y || t[68] !== A ? (xq = (0, import_jsx_runtime.jsx)(CommandInput, {
28440
- placeholder: GK,
28437
+ }), t[60] = $, t[61] = h, t[62] = $K, t[63] = mq, t[64] = _q, t[65] = yq) : yq = t[65];
28438
+ let bq;
28439
+ t[66] !== KK || t[67] !== y || t[68] !== A ? (bq = (0, import_jsx_runtime.jsx)(CommandInput, {
28440
+ placeholder: KK,
28441
28441
  rootClassName: "px-1 h-8",
28442
28442
  autoFocus: true,
28443
28443
  value: A,
28444
28444
  onValueChange: y
28445
- }), t[66] = GK, t[67] = y, t[68] = A, t[69] = xq) : xq = t[69];
28445
+ }), t[66] = KK, t[67] = y, t[68] = A, t[69] = bq) : bq = t[69];
28446
+ let xq;
28447
+ t[70] === qK ? xq = t[71] : (xq = (0, import_jsx_runtime.jsx)(CommandEmpty, {
28448
+ children: qK
28449
+ }), t[70] = qK, t[71] = xq);
28446
28450
  let Sq;
28447
- t[70] === KK ? Sq = t[71] : (Sq = (0, import_jsx_runtime.jsx)(CommandEmpty, {
28448
- children: KK
28449
- }), t[70] = KK, t[71] = Sq);
28451
+ t[72] !== sq || t[73] !== aq ? (Sq = {
28452
+ isSelected: aq,
28453
+ onSelect: sq
28454
+ }, t[72] = sq, t[73] = aq, t[74] = Sq) : Sq = t[74];
28450
28455
  let Cq;
28451
- t[72] !== cq || t[73] !== oq ? (Cq = {
28452
- isSelected: oq,
28453
- onSelect: cq
28454
- }, t[72] = cq, t[73] = oq, t[74] = Cq) : Cq = t[74];
28455
- let wq;
28456
- t[75] !== n || t[76] !== Cq ? (wq = (0, import_jsx_runtime.jsx)(ComboboxContext, {
28457
- value: Cq,
28456
+ t[75] !== n || t[76] !== Sq ? (Cq = (0, import_jsx_runtime.jsx)(ComboboxContext, {
28457
+ value: Sq,
28458
28458
  children: n
28459
- }), t[75] = n, t[76] = Cq, t[77] = wq) : wq = t[77];
28460
- let Tq;
28461
- t[78] !== Sq || t[79] !== wq ? (Tq = (0, import_jsx_runtime.jsxs)(CommandList, {
28459
+ }), t[75] = n, t[76] = Sq, t[77] = Cq) : Cq = t[77];
28460
+ let wq;
28461
+ t[78] !== xq || t[79] !== Cq ? (wq = (0, import_jsx_runtime.jsxs)(CommandList, {
28462
28462
  className: "max-h-60 py-.5",
28463
28463
  children: [
28464
- Sq,
28465
- wq
28464
+ xq,
28465
+ Cq
28466
28466
  ]
28467
- }), t[78] = Sq, t[79] = wq, t[80] = Tq) : Tq = t[80];
28468
- let Eq;
28469
- t[81] !== f || t[82] !== $ || t[83] !== xq || t[84] !== Tq ? (Eq = (0, import_jsx_runtime.jsx)(PopoverContent, {
28467
+ }), t[78] = xq, t[79] = Cq, t[80] = wq) : wq = t[80];
28468
+ let Tq;
28469
+ t[81] !== f || t[82] !== GK || t[83] !== bq || t[84] !== wq ? (Tq = (0, import_jsx_runtime.jsx)(PopoverContent, {
28470
28470
  className: "w-full min-w-(--radix-popover-trigger-width) p-0",
28471
28471
  align: "start",
28472
28472
  children: (0, import_jsx_runtime.jsxs)(Command, {
28473
28473
  filter: f,
28474
- shouldFilter: $,
28474
+ shouldFilter: GK,
28475
28475
  children: [
28476
- xq,
28477
- Tq
28476
+ bq,
28477
+ wq
28478
28478
  ]
28479
28479
  })
28480
- }), t[81] = f, t[82] = $, t[83] = xq, t[84] = Tq, t[85] = Eq) : Eq = t[85];
28481
- let Dq;
28482
- t[86] !== $K || t[87] !== fq || t[88] !== bq || t[89] !== Eq ? (Dq = (0, import_jsx_runtime.jsxs)(Popover, {
28480
+ }), t[81] = f, t[82] = GK, t[83] = bq, t[84] = wq, t[85] = Tq) : Tq = t[85];
28481
+ let Eq;
28482
+ t[86] !== $K || t[87] !== dq || t[88] !== yq || t[89] !== Tq ? (Eq = (0, import_jsx_runtime.jsxs)(Popover, {
28483
28483
  open: $K,
28484
- onOpenChange: fq,
28484
+ onOpenChange: dq,
28485
28485
  children: [
28486
- bq,
28487
- Eq
28486
+ yq,
28487
+ Tq
28488
28488
  ]
28489
- }), t[86] = $K, t[87] = fq, t[88] = bq, t[89] = Eq, t[90] = Dq) : Dq = t[90];
28490
- let Oq;
28491
- t[91] !== qK || t[92] !== i || t[93] !== JK || t[94] !== d || t[95] !== cq || t[96] !== Q || t[97] !== nq ? (Oq = Q && qK && (0, import_jsx_runtime.jsx)("div", {
28489
+ }), t[86] = $K, t[87] = dq, t[88] = yq, t[89] = Tq, t[90] = Eq) : Eq = t[90];
28490
+ let Dq;
28491
+ t[91] !== JK || t[92] !== i || t[93] !== $ || t[94] !== d || t[95] !== sq || t[96] !== Q || t[97] !== nq ? (Dq = Q && JK && (0, import_jsx_runtime.jsx)("div", {
28492
28492
  className: cn("flex flex-col gap-1 items-start", i),
28493
28493
  children: Array.isArray(nq) && nq.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
28494
28494
  variant: "secondary",
@@ -28496,22 +28496,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28496
28496
  (d == null ? void 0 : d(e2)) ?? String(e2),
28497
28497
  (0, import_jsx_runtime.jsx)(CircleX, {
28498
28498
  onClick: () => {
28499
- JK || cq(e2);
28499
+ $ || sq(e2);
28500
28500
  },
28501
- className: cn("w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer", JK && "pointer-events-none")
28501
+ className: cn("w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer", $ && "pointer-events-none")
28502
28502
  })
28503
28503
  ]
28504
28504
  }, String(e2)))
28505
- }), t[91] = qK, t[92] = i, t[93] = JK, t[94] = d, t[95] = cq, t[96] = Q, t[97] = nq, t[98] = Oq) : Oq = t[98];
28506
- let kq;
28507
- return t[99] !== O || t[100] !== Dq || t[101] !== Oq ? (kq = (0, import_jsx_runtime.jsxs)("div", {
28508
- className: dq,
28505
+ }), t[91] = JK, t[92] = i, t[93] = $, t[94] = d, t[95] = sq, t[96] = Q, t[97] = nq, t[98] = Dq) : Dq = t[98];
28506
+ let Oq;
28507
+ return t[99] !== O || t[100] !== Eq || t[101] !== Dq ? (Oq = (0, import_jsx_runtime.jsxs)("div", {
28508
+ className: uq,
28509
28509
  ...O,
28510
28510
  children: [
28511
- Dq,
28512
- Oq
28511
+ Eq,
28512
+ Dq
28513
28513
  ]
28514
- }), t[99] = O, t[100] = Dq, t[101] = Oq, t[102] = kq) : kq = t[102], kq;
28514
+ }), t[99] = O, t[100] = Eq, t[101] = Dq, t[102] = Oq) : Oq = t[102], Oq;
28515
28515
  };
28516
28516
  ComboboxItem = import_react.forwardRef((e, t) => {
28517
28517
  let n = (0, import_compiler_runtime$32.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), _;
@@ -29245,8 +29245,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29245
29245
  start: dateToAria(n, f),
29246
29246
  end: dateToAria(n, _)
29247
29247
  }, t[27] = n, t[28] = _, t[29] = f, t[30] = O) : O = t[30];
29248
- let A = O, M;
29249
- t[31] !== s || t[32] !== n || t[33] !== E || t[34] !== c || t[35] !== A ? (M = n === "date" ? (0, import_jsx_runtime.jsx)(DateRangePicker, {
29248
+ let A = O, I;
29249
+ t[31] !== s || t[32] !== n || t[33] !== E || t[34] !== c || t[35] !== A ? (I = n === "date" ? (0, import_jsx_runtime.jsx)(DateRangePicker, {
29250
29250
  "aria-label": "range",
29251
29251
  defaultValue: A,
29252
29252
  onChange: E,
@@ -29258,13 +29258,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29258
29258
  hourCycle: 24,
29259
29259
  onChange: E,
29260
29260
  className: s
29261
- }, c), t[31] = s, t[32] = n, t[33] = E, t[34] = c, t[35] = A, t[36] = M) : M = t[36];
29262
- let I;
29263
- return t[37] !== S || t[38] !== M ? (I = (0, import_jsx_runtime.jsx)("div", {
29261
+ }, c), t[31] = s, t[32] = n, t[33] = E, t[34] = c, t[35] = A, t[36] = I) : I = t[36];
29262
+ let z;
29263
+ return t[37] !== S || t[38] !== I ? (z = (0, import_jsx_runtime.jsx)("div", {
29264
29264
  onPasteCapture: S,
29265
29265
  className: "contents",
29266
- children: M
29267
- }), t[37] = S, t[38] = M, t[39] = I) : I = t[39], I;
29266
+ children: I
29267
+ }), t[37] = S, t[38] = I, t[39] = z) : z = t[39], z;
29268
29268
  };
29269
29269
  function _temp$4(e) {
29270
29270
  return e + 1;
@@ -29623,7 +29623,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29623
29623
  const FilterPillEditor = ({ snapshot: e, table: t, calculateTopKRows: n, onClose: i, editIndex: a }) => {
29624
29624
  let o = (0, import_react.useId)(), s = (0, import_react.useId)(), c = (0, import_react.useId)(), d = e.value.type, f = e.value.operator, _ = toDraftValue(e.value), [v, y] = (0, import_react.useState)(e.columnId), [S, w] = (0, import_react.useState)(d), [E, O] = (0, import_react.useState)(f), [A, M] = (0, import_react.useState)(_), [I, z] = (0, import_react.useState)(EMPTY_NUMBER_TEXT_DRAFT), U = editableColumns(t), K = (t2) => {
29625
29625
  t2.id === e.columnId && t2.operator === f && M(_);
29626
- }, q = (e2) => {
29626
+ }, J = (e2) => {
29627
29627
  if (!e2) return;
29628
29628
  let n2 = t.getColumn(e2);
29629
29629
  if (!n2) return;
@@ -29632,20 +29632,20 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29632
29632
  id: e2,
29633
29633
  operator: a2
29634
29634
  });
29635
- }, J = (e2) => {
29635
+ }, Q = (e2) => {
29636
29636
  O(e2);
29637
29637
  let t2 = emptyDraftFor(S, e2);
29638
29638
  t2.kind !== A.kind && M(t2), z(EMPTY_NUMBER_TEXT_DRAFT), K({
29639
29639
  id: v,
29640
29640
  operator: e2
29641
29641
  });
29642
- }, Q = buildFilterValue({
29642
+ }, GK = buildFilterValue({
29643
29643
  type: S,
29644
29644
  operator: E,
29645
29645
  draft: mergeNumberTextDraft(A, I)
29646
- }), $ = Q === void 0, GK = $ ? getMissingValueMessage(S, E) : "Apply filter", KK = () => {
29647
- if (!Q) return;
29648
- let e2 = Q;
29646
+ }), KK = GK === void 0, qK = KK ? getMissingValueMessage(S, E) : "Apply filter", JK = () => {
29647
+ if (!GK) return;
29648
+ let e2 = GK;
29649
29649
  t.setColumnFilters((t2) => {
29650
29650
  if (a === void 0) return [
29651
29651
  {
@@ -29662,20 +29662,20 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29662
29662
  value: e2
29663
29663
  }, n2;
29664
29664
  }), i();
29665
- }, qK = () => {
29665
+ }, $ = () => {
29666
29666
  a !== void 0 && t.setColumnFilters((e2) => e2.filter((e3, t2) => t2 !== a)), i();
29667
- }, JK = !OPERATORS_WITHOUT_VALUE.has(E), YK = OPERATORS_BY_TYPE[S], XK = (0, import_react.useRef)(null), ZK = (0, import_react.useRef)(null);
29667
+ }, YK = !OPERATORS_WITHOUT_VALUE.has(E), XK = OPERATORS_BY_TYPE[S], ZK = (0, import_react.useRef)(null), QK = (0, import_react.useRef)(null);
29668
29668
  return (0, import_react.useEffect)(() => {
29669
29669
  var _a2, _b;
29670
- let e2 = (_a2 = XK.current) == null ? void 0 : _a2.querySelector('input, [role="spinbutton"], [role="combobox"], button');
29671
- e2 ? e2.focus() : (_b = ZK.current) == null ? void 0 : _b.focus();
29670
+ let e2 = (_a2 = ZK.current) == null ? void 0 : _a2.querySelector('input, [role="spinbutton"], [role="combobox"], button');
29671
+ e2 ? e2.focus() : (_b = QK.current) == null ? void 0 : _b.focus();
29672
29672
  }, [
29673
29673
  S,
29674
29674
  E
29675
29675
  ]), (0, import_jsx_runtime.jsxs)("form", {
29676
29676
  className: "flex flex-row gap-4 items-end p-3",
29677
29677
  onSubmit: (e2) => {
29678
- e2.preventDefault(), KK();
29678
+ e2.preventDefault(), JK();
29679
29679
  },
29680
29680
  onKeyDownCapture: (e2) => {
29681
29681
  e2.key === "Tab" && e2.stopPropagation();
@@ -29692,7 +29692,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29692
29692
  (0, import_jsx_runtime.jsx)(Combobox, {
29693
29693
  id: o,
29694
29694
  value: v,
29695
- onValueChange: q,
29695
+ onValueChange: J,
29696
29696
  multiple: false,
29697
29697
  placeholder: "Select column\u2026",
29698
29698
  displayValue: (e2) => e2,
@@ -29713,16 +29713,16 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29713
29713
  }),
29714
29714
  (0, import_jsx_runtime.jsxs)(Select, {
29715
29715
  value: E,
29716
- onValueChange: (e2) => J(e2),
29716
+ onValueChange: (e2) => Q(e2),
29717
29717
  children: [
29718
29718
  (0, import_jsx_runtime.jsx)(SelectTrigger, {
29719
- ref: ZK,
29719
+ ref: QK,
29720
29720
  id: s,
29721
29721
  className: "h-6 mb-1 bg-transparent",
29722
29722
  children: (0, import_jsx_runtime.jsx)(SelectValue, {})
29723
29723
  }),
29724
29724
  (0, import_jsx_runtime.jsx)(SelectContent, {
29725
- children: YK.map((e2) => (0, import_jsx_runtime.jsx)(SelectItem, {
29725
+ children: XK.map((e2) => (0, import_jsx_runtime.jsx)(SelectItem, {
29726
29726
  value: e2,
29727
29727
  children: OPERATOR_LABELS[e2]
29728
29728
  }, e2))
@@ -29731,8 +29731,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29731
29731
  }, S)
29732
29732
  ]
29733
29733
  }),
29734
- JK && (0, import_jsx_runtime.jsxs)("div", {
29735
- ref: XK,
29734
+ YK && (0, import_jsx_runtime.jsxs)("div", {
29735
+ ref: ZK,
29736
29736
  className: "flex flex-col gap-1",
29737
29737
  children: [
29738
29738
  (0, import_jsx_runtime.jsx)("label", {
@@ -29759,14 +29759,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29759
29759
  className: "flex gap-1 mb-1",
29760
29760
  children: [
29761
29761
  (0, import_jsx_runtime.jsx)(Tooltip, {
29762
- content: GK,
29762
+ content: qK,
29763
29763
  children: (0, import_jsx_runtime.jsx)("span", {
29764
29764
  className: "inline-flex",
29765
29765
  children: (0, import_jsx_runtime.jsx)(Button, {
29766
29766
  type: "submit",
29767
29767
  size: "icon",
29768
29768
  variant: "ghost",
29769
- disabled: $,
29769
+ disabled: KK,
29770
29770
  className: "rounded-full text-primary hover:text-primary hover:bg-primary/10",
29771
29771
  "aria-label": "Apply filter",
29772
29772
  children: (0, import_jsx_runtime.jsx)(Check, {
@@ -29798,7 +29798,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29798
29798
  size: "icon",
29799
29799
  variant: "ghost",
29800
29800
  className: "rounded-full text-destructive hover:text-destructive hover:bg-destructive/10",
29801
- onClick: qK,
29801
+ onClick: $,
29802
29802
  "aria-label": "Remove filter",
29803
29803
  children: (0, import_jsx_runtime.jsx)(Trash2, {
29804
29804
  className: "h-3.5 w-3.5",
@@ -31586,7 +31586,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
31586
31586
  ...e
31587
31587
  });
31588
31588
  }
31589
- var import_compiler_runtime$20 = require_compiler_runtime(), ContextMenu = Root2$2, ContextMenuTrigger = Trigger$1, ContextMenuPortal = withFullScreenAsRoot(Portal2), InternalContextMenuContent = withSmartCollisionBoundary(Content2), InternalContextMenuSubContent = withSmartCollisionBoundary(SubContent2), ContextMenuSubTrigger = import_react.forwardRef((e, t) => {
31589
+ let import_compiler_runtime$20, ContextMenuPortal, InternalContextMenuContent, InternalContextMenuSubContent, ContextMenuSubTrigger;
31590
+ import_compiler_runtime$20 = require_compiler_runtime();
31591
+ ContextMenu = Root2$2;
31592
+ ContextMenuTrigger = Trigger$1;
31593
+ ContextMenuPortal = withFullScreenAsRoot(Portal2);
31594
+ InternalContextMenuContent = withSmartCollisionBoundary(Content2);
31595
+ InternalContextMenuSubContent = withSmartCollisionBoundary(SubContent2);
31596
+ ContextMenuSubTrigger = import_react.forwardRef((e, t) => {
31590
31597
  let n = (0, import_compiler_runtime$20.c)(14), i, a, o, s;
31591
31598
  n[0] === e ? (i = n[1], a = n[2], o = n[3], s = n[4]) : ({ className: a, inset: o, children: i, ...s } = e, n[0] = e, n[1] = i, n[2] = a, n[3] = o, n[4] = s);
31592
31599
  let c;
@@ -31625,7 +31632,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
31625
31632
  }), n[5] = o, n[6] = t, n[7] = s, n[8] = c) : c = n[8], c;
31626
31633
  });
31627
31634
  ContextMenuSubContent.displayName = SubContent2.displayName;
31628
- var ContextMenuContent = import_react.forwardRef((e, t) => {
31635
+ ContextMenuContent = import_react.forwardRef((e, t) => {
31629
31636
  let n = (0, import_compiler_runtime$20.c)(15), i, o, s;
31630
31637
  n[0] === e ? (i = n[1], o = n[2], s = n[3]) : ({ className: i, scrollable: s, ...o } = e, n[0] = e, n[1] = i, n[2] = o, n[3] = s);
31631
31638
  let c = s === void 0 ? true : s, d;
@@ -31648,7 +31655,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
31648
31655
  }), n[10] = o, n[11] = t, n[12] = d, n[13] = h, n[14] = _) : _ = n[14], _;
31649
31656
  });
31650
31657
  ContextMenuContent.displayName = Content2.displayName;
31651
- var ContextMenuItem = import_react.forwardRef((e, t) => {
31658
+ ContextMenuItem = import_react.forwardRef((e, t) => {
31652
31659
  let n = (0, import_compiler_runtime$20.c)(13), i, a, o, s;
31653
31660
  n[0] === e ? (i = n[1], a = n[2], o = n[3], s = n[4]) : ({ className: i, inset: a, variant: s, ...o } = e, n[0] = e, n[1] = i, n[2] = a, n[3] = o, n[4] = s);
31654
31661
  let c;
@@ -31742,7 +31749,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
31742
31749
  }), n[7] = o, n[8] = t, n[9] = s, n[10] = c) : c = n[10], c;
31743
31750
  });
31744
31751
  ContextMenuLabel.displayName = Label2.displayName;
31745
- var ContextMenuSeparator = import_react.forwardRef((e, t) => {
31752
+ ContextMenuSeparator = import_react.forwardRef((e, t) => {
31746
31753
  let n = (0, import_compiler_runtime$20.c)(9), i, o;
31747
31754
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
31748
31755
  let s;
@@ -31997,31 +32004,31 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
31997
32004
  let n2 = computeCellTooltipContent(t2, a);
31998
32005
  n2 == null || n2 === "" || E(e2.currentTarget, n2);
31999
32006
  }, t[16] = a, t[17] = J);
32000
- let Q = useEvent_default(J), $;
32001
- t[18] === S ? $ = t[19] : ($ = () => S(), t[18] = S, t[19] = $);
32002
- let GK = useEvent_default($), KK, qK;
32003
- t[20] === S ? (KK = t[21], qK = t[22]) : (KK = () => (window.addEventListener("scroll", S, {
32007
+ let Q = useEvent_default(J), GK;
32008
+ t[18] === S ? GK = t[19] : (GK = () => S(), t[18] = S, t[19] = GK);
32009
+ let KK = useEvent_default(GK), qK, JK;
32010
+ t[20] === S ? (qK = t[21], JK = t[22]) : (qK = () => (window.addEventListener("scroll", S, {
32004
32011
  passive: true,
32005
32012
  capture: true
32006
32013
  }), window.addEventListener("resize", S), () => {
32007
32014
  window.removeEventListener("scroll", S, {
32008
32015
  capture: true
32009
32016
  }), window.removeEventListener("resize", S);
32010
- }), qK = [
32017
+ }), JK = [
32011
32018
  S
32012
- ], t[20] = S, t[21] = KK, t[22] = qK), (0, import_react.useEffect)(KK, qK);
32013
- let JK, YK;
32014
- t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (JK = () => v, YK = [], t[23] = JK, t[24] = YK) : (JK = t[23], YK = t[24]), (0, import_react.useEffect)(JK, YK);
32019
+ ], t[20] = S, t[21] = qK, t[22] = JK), (0, import_react.useEffect)(qK, JK);
32020
+ let $, YK;
32021
+ t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($ = () => v, YK = [], t[23] = $, t[24] = YK) : ($ = t[23], YK = t[24]), (0, import_react.useEffect)($, YK);
32015
32022
  let XK;
32016
- return t[25] !== GK || t[26] !== Q || t[27] !== q || t[28] !== U || t[29] !== S || t[30] !== d || t[31] !== o ? (XK = {
32023
+ return t[25] !== KK || t[26] !== Q || t[27] !== q || t[28] !== U || t[29] !== S || t[30] !== d || t[31] !== o ? (XK = {
32017
32024
  tooltipState: o,
32018
32025
  tooltipContentId: d,
32019
32026
  hideTooltip: S,
32020
32027
  handleCellMouseOver: U,
32021
32028
  handleCellMouseLeave: q,
32022
32029
  handleCellFocus: Q,
32023
- handleCellBlur: GK
32024
- }, t[25] = GK, t[26] = Q, t[27] = q, t[28] = U, t[29] = S, t[30] = d, t[31] = o, t[32] = XK) : XK = t[32], XK;
32030
+ handleCellBlur: KK
32031
+ }, t[25] = KK, t[26] = Q, t[27] = q, t[28] = U, t[29] = S, t[30] = d, t[31] = o, t[32] = XK) : XK = t[32], XK;
32025
32032
  }
32026
32033
  var import_compiler_runtime$16 = require_compiler_runtime();
32027
32034
  const CellRangeSelectionIndicator = (0, import_react.memo)((e) => {
@@ -33234,7 +33241,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33234
33241
  filename: i2.filename
33235
33242
  };
33236
33243
  }, t[6] = e, t[7] = O);
33237
- let A = O, M, I, z, U, K, q, J, Q, $, GK, KK, qK, JK;
33244
+ let A = O, M, I, z, U, K, q, J, Q, GK, KK, qK, JK, $;
33238
33245
  if (t[8] !== S || t[9] !== c || t[10] !== n || t[11] !== A || t[12] !== d) {
33239
33246
  let e2 = async (t2) => {
33240
33247
  let n2 = labelForDownloadFormat(t2);
@@ -33300,10 +33307,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33300
33307
  content: d,
33301
33308
  open: o2,
33302
33309
  children: h
33303
- }), t[32] = o2, t[33] = h, t[34] = d, t[35] = Q) : Q = t[35], M = DropdownMenuContent, $ = "bottom", GK = "print:hidden", t[36] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (KK = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
33310
+ }), t[32] = o2, t[33] = h, t[34] = d, t[35] = Q) : Q = t[35], M = DropdownMenuContent, GK = "bottom", KK = "print:hidden", t[36] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (qK = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
33304
33311
  className: "text-xs text-muted-foreground",
33305
33312
  children: "Download"
33306
- }), t[36] = KK) : KK = t[36], qK = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
33313
+ }), t[36] = qK) : qK = t[36], JK = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
33307
33314
  onSelect: () => {
33308
33315
  e2(t2.format);
33309
33316
  },
@@ -33324,10 +33331,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33324
33331
  ]
33325
33332
  })
33326
33333
  ]
33327
- }, t2.label)), t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (JK = (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {}), z = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
33334
+ }, t2.label)), t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($ = (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {}), z = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
33328
33335
  className: "text-xs text-muted-foreground",
33329
33336
  children: "Copy to clipboard"
33330
- }), t[37] = z, t[38] = JK) : (z = t[37], JK = t[38]), U = copyOptions.map((e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
33337
+ }), t[37] = z, t[38] = $) : (z = t[37], $ = t[38]), U = copyOptions.map((e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
33331
33338
  onSelect: async () => {
33332
33339
  try {
33333
33340
  await a(e3.format);
@@ -33356,20 +33363,20 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33356
33363
  ]
33357
33364
  })
33358
33365
  ]
33359
- }, e3.label)), t[8] = S, t[9] = c, t[10] = n, t[11] = A, t[12] = d, t[13] = M, t[14] = I, t[15] = z, t[16] = U, t[17] = K, t[18] = q, t[19] = J, t[20] = Q, t[21] = $, t[22] = GK, t[23] = KK, t[24] = qK, t[25] = JK;
33360
- } else M = t[13], I = t[14], z = t[15], U = t[16], K = t[17], q = t[18], J = t[19], Q = t[20], $ = t[21], GK = t[22], KK = t[23], qK = t[24], JK = t[25];
33366
+ }, e3.label)), t[8] = S, t[9] = c, t[10] = n, t[11] = A, t[12] = d, t[13] = M, t[14] = I, t[15] = z, t[16] = U, t[17] = K, t[18] = q, t[19] = J, t[20] = Q, t[21] = GK, t[22] = KK, t[23] = qK, t[24] = JK, t[25] = $;
33367
+ } else M = t[13], I = t[14], z = t[15], U = t[16], K = t[17], q = t[18], J = t[19], Q = t[20], GK = t[21], KK = t[22], qK = t[23], JK = t[24], $ = t[25];
33361
33368
  let YK;
33362
- t[39] !== M || t[40] !== z || t[41] !== U || t[42] !== $ || t[43] !== GK || t[44] !== KK || t[45] !== qK || t[46] !== JK ? (YK = (0, import_jsx_runtime.jsxs)(M, {
33363
- side: $,
33364
- className: GK,
33369
+ t[39] !== M || t[40] !== z || t[41] !== U || t[42] !== GK || t[43] !== KK || t[44] !== qK || t[45] !== JK || t[46] !== $ ? (YK = (0, import_jsx_runtime.jsxs)(M, {
33370
+ side: GK,
33371
+ className: KK,
33365
33372
  children: [
33366
- KK,
33367
33373
  qK,
33368
33374
  JK,
33375
+ $,
33369
33376
  z,
33370
33377
  U
33371
33378
  ]
33372
- }), t[39] = M, t[40] = z, t[41] = U, t[42] = $, t[43] = GK, t[44] = KK, t[45] = qK, t[46] = JK, t[47] = YK) : YK = t[47];
33379
+ }), t[39] = M, t[40] = z, t[41] = U, t[42] = GK, t[43] = KK, t[44] = qK, t[45] = JK, t[46] = $, t[47] = YK) : YK = t[47];
33373
33380
  let XK;
33374
33381
  return t[48] !== I || t[49] !== K || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !== YK ? (XK = (0, import_jsx_runtime.jsxs)(I, {
33375
33382
  modal: K,
@@ -33472,7 +33479,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33472
33479
  ]
33473
33480
  }) : null;
33474
33481
  };
33475
- 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: GK, enableSearch: KK = false, searchQuery: qK, onSearchQueryChange: JK, showFilters: YK = false, filters: XK, onFiltersChange: ZK, calculateTopKRows: QK, reloading: $K, freezeColumnsLeft: eq, freezeColumnsRight: tq, hiddenColumns: nq, toggleDisplayHeader: rq, showChartBuilder: iq, isChartBuilderOpen: aq, showPageSizeSelector: oq, showTableExplorer: sq, togglePanel: cq, isPanelOpen: lq, isAnyPanelOpen: uq, viewedRowIdx: dq, onViewedRowChange: fq, renderTableExplorerPanel: pq }) => {
33482
+ 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: GK, getRowIds: KK, enableSearch: qK = false, searchQuery: JK, onSearchQueryChange: $, showFilters: YK = false, filters: XK, onFiltersChange: ZK, calculateTopKRows: QK, reloading: $K, freezeColumnsLeft: eq, freezeColumnsRight: tq, hiddenColumns: nq, toggleDisplayHeader: rq, showChartBuilder: iq, isChartBuilderOpen: aq, showPageSizeSelector: oq, showTableExplorer: sq, togglePanel: cq, isPanelOpen: lq, isAnyPanelOpen: uq, viewedRowIdx: dq, onViewedRowChange: fq, renderTableExplorerPanel: pq }) => {
33476
33483
  let [mq, hq] = import_react.useState(false), { locale: gq } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: _q, setColumnPinning: vq } = useColumnPinning(eq, tq), { columnVisibility: yq, setColumnVisibility: bq } = useColumnVisibility(nq);
33477
33484
  import_react.useEffect(() => {
33478
33485
  let e2;
@@ -33529,7 +33536,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33529
33536
  getFilteredRowModel: getFilteredRowModel(),
33530
33537
  onColumnFiltersChange: ZK,
33531
33538
  onRowSelectionChange: Q,
33532
- onCellSelectionChange: $,
33539
+ onCellSelectionChange: GK,
33533
33540
  enableCellSelection: c === "single-cell" || c === "multi-cell",
33534
33541
  enableMultiCellSelection: c === "multi-cell",
33535
33542
  onColumnPinningChange: vq,
@@ -33589,9 +33596,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33589
33596
  className: cn(t || "rounded-md border overflow-hidden"),
33590
33597
  children: [
33591
33598
  (0, import_jsx_runtime.jsx)(TableTopBar, {
33592
- enableSearch: KK,
33593
- searchQuery: qK,
33594
- onSearchQueryChange: JK,
33599
+ enableSearch: qK,
33600
+ searchQuery: JK,
33601
+ onSearchQueryChange: $,
33595
33602
  reloading: $K,
33596
33603
  showChartBuilder: iq,
33597
33604
  isChartBuilderOpen: aq,
@@ -33643,7 +33650,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33643
33650
  selection: c,
33644
33651
  onRowSelectionChange: Q,
33645
33652
  table: Sq,
33646
- getRowIds: GK,
33653
+ getRowIds: KK,
33647
33654
  showPageSizeSelector: oq,
33648
33655
  tableLoading: $K,
33649
33656
  togglePanel: cq
@@ -33729,53 +33736,53 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33729
33736
  t[4] === i ? _ = t[5] : (_ = (_a2 = extractAllTracebackInfo(i)) == null ? void 0 : _a2.at(0), t[4] = i, t[5] = _);
33730
33737
  let v = _, y;
33731
33738
  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];
33732
- let w = y, O;
33733
- t[9] !== f || t[10] !== n ? (O = n && f && !isStaticNotebook(), t[9] = f, t[10] = n, t[11] = O) : O = t[11];
33734
- let A = O, M = !isStaticNotebook(), [I, z] = (0, import_react.useState)(true), U;
33735
- t[12] !== d || t[13] !== n ? (U = (e2) => {
33739
+ let w = y, A;
33740
+ t[9] !== f || t[10] !== n ? (A = n && f && !isStaticNotebook(), t[9] = f, t[10] = n, t[11] = A) : A = t[11];
33741
+ let M = A, I = !isStaticNotebook(), [z, U] = (0, import_react.useState)(true), K;
33742
+ t[12] !== d || t[13] !== n ? (K = (e2) => {
33736
33743
  n == null ? void 0 : n({
33737
33744
  prompt: `My code gives the following error:
33738
33745
 
33739
33746
  ${d}`,
33740
33747
  triggerImmediately: e2
33741
33748
  });
33742
- }, t[12] = d, t[13] = n, t[14] = U) : U = t[14];
33743
- let q = U, J;
33744
- t[15] === I ? J = t[16] : (J = () => z(!I), t[15] = I, t[16] = J);
33745
- let Q = I ? "Collapse traceback" : "Expand traceback", $;
33746
- t[17] === I ? $ = t[18] : ($ = I ? (0, import_jsx_runtime.jsx)(ChevronDown, {
33749
+ }, t[12] = d, t[13] = n, t[14] = K) : K = t[14];
33750
+ let q = K, J;
33751
+ t[15] === z ? J = t[16] : (J = () => U(!z), t[15] = z, t[16] = J);
33752
+ let Q = z ? "Collapse traceback" : "Expand traceback", GK;
33753
+ t[17] === z ? GK = t[18] : (GK = z ? (0, import_jsx_runtime.jsx)(ChevronDown, {
33747
33754
  className: "h-3 w-3"
33748
33755
  }) : (0, import_jsx_runtime.jsx)(ChevronRight, {
33749
33756
  className: "h-3 w-3"
33750
- }), t[17] = I, t[18] = $);
33751
- let KK;
33752
- t[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (KK = (0, import_jsx_runtime.jsx)("span", {
33757
+ }), t[17] = z, t[18] = GK);
33758
+ let qK;
33759
+ t[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (qK = (0, import_jsx_runtime.jsx)("span", {
33753
33760
  className: "text-[0.6875rem] uppercase tracking-wider",
33754
33761
  children: "Traceback"
33755
- }), t[19] = KK) : KK = t[19];
33756
- let qK;
33757
- t[20] !== I || t[21] !== J || t[22] !== Q || t[23] !== $ ? (qK = (0, import_jsx_runtime.jsxs)("button", {
33762
+ }), t[19] = qK) : qK = t[19];
33763
+ let JK;
33764
+ t[20] !== z || t[21] !== J || t[22] !== Q || t[23] !== GK ? (JK = (0, import_jsx_runtime.jsxs)("button", {
33758
33765
  type: "button",
33759
33766
  onClick: J,
33760
- "aria-expanded": I,
33767
+ "aria-expanded": z,
33761
33768
  "aria-label": Q,
33762
33769
  className: "self-start flex items-center gap-1 pt-2 text-muted-foreground/70 hover:text-muted-foreground transition-colors",
33763
33770
  children: [
33764
- $,
33765
- KK
33771
+ GK,
33772
+ qK
33766
33773
  ]
33767
- }), t[20] = I, t[21] = J, t[22] = Q, t[23] = $, t[24] = qK) : qK = t[24];
33768
- let JK;
33769
- t[25] !== s || t[26] !== I ? (JK = I && (0, import_jsx_runtime.jsx)("div", {
33774
+ }), t[20] = z, t[21] = J, t[22] = Q, t[23] = GK, t[24] = JK) : JK = t[24];
33775
+ let $;
33776
+ t[25] !== s || t[26] !== z ? ($ = z && (0, import_jsx_runtime.jsx)("div", {
33770
33777
  className: "text-muted-foreground pr-4 text-xs overflow-auto",
33771
33778
  children: s
33772
- }), t[25] = s, t[26] = I, t[27] = JK) : JK = t[27];
33779
+ }), t[25] = s, t[26] = z, t[27] = $) : $ = t[27];
33773
33780
  let YK;
33774
- t[28] !== q || t[29] !== A ? (YK = A && (0, import_jsx_runtime.jsx)(AIFixButton, {
33781
+ t[28] !== q || t[29] !== M ? (YK = M && (0, import_jsx_runtime.jsx)(AIFixButton, {
33775
33782
  tooltip: "Fix with AI",
33776
33783
  openPrompt: () => q(false),
33777
33784
  applyAutofix: () => q(true)
33778
- }), t[28] = q, t[29] = A, t[30] = YK) : YK = t[30];
33785
+ }), t[28] = q, t[29] = M, t[30] = YK) : YK = t[30];
33779
33786
  let XK;
33780
33787
  t[31] !== w || t[32] !== v ? (XK = w && (0, import_jsx_runtime.jsx)(Tooltip, {
33781
33788
  content: "Attach pdb to the exception point.",
@@ -33796,7 +33803,7 @@ ${d}`,
33796
33803
  })
33797
33804
  }), t[31] = w, t[32] = v, t[33] = XK) : XK = t[33];
33798
33805
  let ZK;
33799
- t[34] !== d || t[35] !== i ? (ZK = M && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
33806
+ t[34] !== d || t[35] !== i ? (ZK = I && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
33800
33807
  children: [
33801
33808
  (0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
33802
33809
  asChild: true,
@@ -33875,14 +33882,14 @@ ${d}`,
33875
33882
  ]
33876
33883
  }), t[37] = YK, t[38] = XK, t[39] = ZK, t[40] = QK) : QK = t[40];
33877
33884
  let $K;
33878
- return t[41] !== qK || t[42] !== JK || t[43] !== QK ? ($K = (0, import_jsx_runtime.jsxs)("div", {
33885
+ return t[41] !== JK || t[42] !== $ || t[43] !== QK ? ($K = (0, import_jsx_runtime.jsxs)("div", {
33879
33886
  className: "flex flex-col gap-2 min-w-full w-fit",
33880
33887
  children: [
33881
- qK,
33882
33888
  JK,
33889
+ $,
33883
33890
  QK
33884
33891
  ]
33885
- }), t[41] = qK, t[42] = JK, t[43] = QK, t[44] = $K) : $K = t[44], $K;
33892
+ }), t[41] = JK, t[42] = $, t[43] = QK, t[44] = $K) : $K = t[44], $K;
33886
33893
  };
33887
33894
  function lastLine(e) {
33888
33895
  var _a2, _b;
@@ -35274,7 +35281,7 @@ ${d}`,
35274
35281
  return Logger.warn("Failed to get version from mount config"), null;
35275
35282
  }
35276
35283
  }
35277
- marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.10-dev18");
35284
+ marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.10-dev20");
35278
35285
  showCodeInRunModeAtom = atom(true);
35279
35286
  atom(null);
35280
35287
  var import_compiler_runtime = require_compiler_runtime();
@@ -35302,113 +35309,118 @@ ${d}`,
35302
35309
  }
35303
35310
  });
35304
35311
  export {
35305
- TableBody as $,
35306
- ChevronLeft as $t,
35307
- ComboboxItem as A,
35308
- ChartErrorState as At,
35309
- contextAwarePanelOpen as B,
35310
- $fae977aafc393c5c$export$6b862160d295c8e as Bt,
35312
+ PanelGroup as $,
35313
+ Code as $t,
35314
+ ContextMenuTrigger as A,
35315
+ dateToLocalISOTime as At,
35316
+ CommandList as B,
35317
+ RenderTextWithLinks as Bt,
35311
35318
  prettifyRowColumnCount as C,
35312
- dateToLocalISODate as Ct,
35313
- DatePicker as D,
35314
- TabsContent as Dt,
35315
- useInternalStateWithSync as E,
35316
- Tabs as Et,
35317
- CommandList as F,
35318
- RenderTextWithLinks as Ft,
35319
- slotsController as G,
35320
- Expand as Gt,
35321
- contextAwarePanelType as H,
35322
- GripHorizontal as Ht,
35323
- CommandSeparator as I,
35324
- Kbd as It,
35325
- PanelGroup as J,
35326
- Code as Jt,
35327
- Toggle as K,
35328
- Ellipsis as Kt,
35329
- smartMatch as L,
35330
- HtmlOutput as Lt,
35331
- CommandEmpty as M,
35332
- ChartLoadingState as Mt,
35333
- CommandInput as N,
35334
- LazyVegaEmbed as Nt,
35335
- DateRangePicker as O,
35336
- TabsList as Ot,
35337
- CommandItem as P,
35338
- useOverflowDetection as Pt,
35339
- Table as Q,
35340
- ChevronsDownUp as Qt,
35341
- ContextAwarePanelItem as R,
35342
- EmotionCacheProvider as Rt,
35319
+ TOO_MANY_ROWS as Ct,
35320
+ ContextMenuContent as D,
35321
+ Maps as Dt,
35322
+ ContextMenu as E,
35323
+ isNullishFilter as Et,
35324
+ ComboboxItem as F,
35325
+ ChartErrorState as Ft,
35326
+ contextAwarePanelOpen as G,
35327
+ $fae977aafc393c5c$export$6b862160d295c8e as Gt,
35328
+ smartMatch as H,
35329
+ HtmlOutput as Ht,
35330
+ Command as I,
35331
+ ChartInfoState as It,
35332
+ isCellAwareAtom as J,
35333
+ Funnel as Jt,
35334
+ contextAwarePanelOwner as K,
35335
+ TextWrap as Kt,
35336
+ CommandEmpty as L,
35337
+ ChartLoadingState as Lt,
35338
+ DatePicker as M,
35339
+ TabsContent as Mt,
35340
+ DateRangePicker as N,
35341
+ TabsList as Nt,
35342
+ ContextMenuItem as O,
35343
+ dateToLocalISODate as Ot,
35344
+ Combobox as P,
35345
+ TabsTrigger as Pt,
35346
+ Panel as Q,
35347
+ Download as Qt,
35348
+ CommandInput as R,
35349
+ LazyVegaEmbed as Rt,
35343
35350
  downloadSizeLimitAtom as S,
35344
- Maps as St,
35351
+ SELECT_COLUMN_ID as St,
35345
35352
  getColumnCountForDisplay as T,
35346
- dateToLocalISOTime as Tt,
35347
- isCellAwareAtom as U,
35348
- Funnel as Ut,
35349
- contextAwarePanelOwner as V,
35350
- TextWrap as Vt,
35351
- SlotNames as W,
35352
- EyeOff as Wt,
35353
- Fill as X,
35354
- ChevronsRight as Xt,
35355
- PanelResizeHandle as Y,
35356
- ChevronsUpDown as Yt,
35357
- Provider$1 as Z,
35358
- ChevronsLeft as Zt,
35353
+ getMimeValues as Tt,
35354
+ ContextAwarePanelItem as U,
35355
+ EmotionCacheProvider as Ut,
35356
+ CommandSeparator as V,
35357
+ Kbd as Vt,
35358
+ PANEL_TYPES as W,
35359
+ $fae977aafc393c5c$export$588937bcd60ade55 as Wt,
35360
+ slotsController as X,
35361
+ Expand as Xt,
35362
+ SlotNames as Y,
35363
+ EyeOff as Yt,
35364
+ Toggle as Z,
35365
+ Ellipsis as Zt,
35359
35366
  downloadBlob as _,
35360
35367
  __tla,
35361
- SELECT_COLUMN_ID as _t,
35368
+ usePrevious as _t,
35362
35369
  DEFAULT_SLIDE_TYPE as a,
35363
- generateColumns as at,
35370
+ ArrowDownWideNarrow as an,
35371
+ TableCell as at,
35364
35372
  Progress as b,
35365
- getMimeValues as bt,
35373
+ loadTableData as bt,
35366
35374
  Slide as c,
35367
- ColumnChartContext as ct,
35375
+ TableRow as ct,
35368
35376
  JsonOutput as d,
35369
- useIntersectionObserver as dt,
35370
- ArrowDownWideNarrow as en,
35371
- TableCell as et,
35377
+ inferFieldTypes as dt,
35378
+ ChevronsUpDown as en,
35379
+ PanelResizeHandle as et,
35372
35380
  OutputArea as f,
35373
- usePrevious as ft,
35381
+ renderCellValue as ft,
35374
35382
  ADD_PRINTING_CLASS as g,
35375
- INDEX_COLUMN_NAME as gt,
35383
+ useIntersectionObserver as gt,
35376
35384
  InstallPackageButton as h,
35377
- loadTableData as ht,
35385
+ DelayMount as ht,
35378
35386
  DEFAULT_DECK_TRANSITION as i,
35379
- NAMELESS_COLUMN_PREFIX as it,
35380
- Command as j,
35381
- ChartInfoState as jt,
35382
- Combobox as k,
35383
- TabsTrigger as kt,
35387
+ ChevronLeft as in,
35388
+ TableBody as it,
35389
+ useInternalStateWithSync as j,
35390
+ Tabs as jt,
35391
+ ContextMenuSeparator as k,
35392
+ dateToLocalISODateTime as kt,
35384
35393
  RadioGroup as l,
35385
- ColumnChartSpecModel as lt,
35394
+ NAMELESS_COLUMN_PREFIX as lt,
35386
35395
  DataTable as m,
35387
- loadTableAndRawData as mt,
35396
+ ColumnChartSpecModel as mt,
35388
35397
  marimoVersionAtom as n,
35389
- TableHeader as nt,
35398
+ ChevronsLeft as nn,
35399
+ Provider$1 as nt,
35390
35400
  SLIDE_TYPE_OPTIONS_BY_VALUE as o,
35391
- inferFieldTypes as ot,
35401
+ TableHead as ot,
35392
35402
  OutputRenderer as p,
35393
- getPageIndexForRow as pt,
35394
- Panel as q,
35395
- Download as qt,
35403
+ ColumnChartContext as pt,
35404
+ contextAwarePanelType as q,
35405
+ GripHorizontal as qt,
35396
35406
  showCodeInRunModeAtom as r,
35397
- TableRow as rt,
35407
+ ChevronsDownUp as rn,
35408
+ Table as rt,
35398
35409
  SlideSidebar as s,
35399
- renderCellValue as st,
35410
+ TableHeader as st,
35400
35411
  useNotebookCodeAvailable as t,
35401
- TableHead as tt,
35412
+ ChevronsRight as tn,
35413
+ Fill as tt,
35402
35414
  RadioGroupItem as u,
35403
- DelayMount as ut,
35415
+ generateColumns as ut,
35404
35416
  downloadByURL as v,
35405
- TOO_MANY_ROWS as vt,
35417
+ getPageIndexForRow as vt,
35406
35418
  prettifyRowCount as w,
35407
- dateToLocalISODateTime as wt,
35419
+ toFieldTypes as wt,
35408
35420
  Filenames as x,
35409
- isNullishFilter as xt,
35421
+ INDEX_COLUMN_NAME as xt,
35410
35422
  downloadHTMLAsImage as y,
35411
- toFieldTypes as yt,
35412
- PANEL_TYPES as z,
35413
- $fae977aafc393c5c$export$588937bcd60ade55 as zt
35423
+ loadTableAndRawData as yt,
35424
+ CommandItem as z,
35425
+ useOverflowDetection as zt
35414
35426
  };