@marimo-team/islands 0.23.16-dev28 → 0.23.16-dev29

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.
@@ -35,7 +35,7 @@ import { V as getContainerWidth, n as formats } from "./vega-loader.browser-Dmpx
35
35
  import { a as tooltipHandler, n as vegaLoadData, r as createBatchedLoader, t as parseCsvData } from "./loader-DX-IDS7n.js";
36
36
  import { t as useIframeCapabilities } from "./useIframeCapabilities-kA09ykNq.js";
37
37
  import { t as useAsyncData } from "./useAsyncData-CYOQb1EW.js";
38
- let smartMatch, HtmlOutput, LoadingState, loadTableAndRawData, useInternalStateWithSync, dateToLocalISODateTime, Progress, renderCellValue, ColumnPreviewContainer, useIntersectionObserver, ColumnName, DelayMount, ContextMenu, toFieldTypes, Combobox, TabsTrigger, CompactChipRow, Tabs, ContextMenuContent, getMimeValues, CommandEmpty, ChartLoadingState, ComboboxItem, ChartErrorState, ContextMenuItem, isNullishFilter, prettifyRowCount, INDEX_COLUMN_NAME, getColumnCountForDisplay, SELECT_COLUMN_ID, EmptyState, usePrevious, getUserColumnVisibilityCounts, TOO_MANY_ROWS, CommandSeparator, Kbd, ContextMenuSeparator, Maps, downloadHTMLAsImage, inferFieldTypes, downloadSizeLimitAtom, ColumnChartSpecModel, DatePicker, TabsContent, useSelectList, dateToLocalISOTime, DateRangePicker, TabsList, CommandItem, useOverflowDetection, CommandInput, LazyVegaEmbed, CommandList, RenderTextWithLinks, InstallPackageButton, ChevronsDownUp, TableHead, DEFAULT_DECK_VERTICAL_ALIGN, $fae977aafc393c5c$export$6b862160d295c8e, isCellAwareAtom, downloadByURL, NAMELESS_COLUMN_PREFIX, SlideSidebar, Funnel, Toggle, RadioGroup, Ellipsis, PanelResizeHandle, EmotionCacheProvider, ContextAwarePanelItem, RadioGroupItem, Download, Fill, DataTable, ChevronsLeft, TableCell, OutputRenderer, ChevronsRight, TableBody, DEFAULT_DECK_TRANSITION, $fae977aafc393c5c$export$588937bcd60ade55, contextAwarePanelType, prettifyRowColumnCount, loadTableData, ErrorState, getPageIndexForRow, Slide, EyeOff, Panel, OutputArea, ChevronsUpDown, Table, marimoVersionAtom, hasFunctionProperty, contextAwarePanelOpen, DEFAULT_SLIDE_TYPE, TextWrap, SlotNames, JsonOutput, Code, Provider$1, Command, ChartInfoState, showCodeInRunModeAtom, isRecord, contextAwarePanelOwner, SLIDE_TYPE_OPTIONS_BY_VALUE, GripHorizontal, slotsController, useNotebookCodeAvailable, safeLocale, PANEL_TYPES, Switch, Expand, PanelGroup, ADD_PRINTING_CLASS, ChevronLeft, TableHeader, Filenames, ColumnChartContext, downloadExportedFile, generateColumns, downloadBlob, ArrowDownWideNarrow, TableRow, ContextMenuTrigger, dateToLocalISODate;
38
+ let CommandSeparator, Kbd, ErrorState, getPageIndexForRow, ContextMenuTrigger, dateToLocalISODate, downloadHTMLAsImage, inferFieldTypes, ColumnName, DelayMount, downloadSizeLimitAtom, ColumnChartSpecModel, getUserColumnVisibilityCounts, TOO_MANY_ROWS, DateRangePicker, TabsList, useSelectList, dateToLocalISOTime, ContextMenu, toFieldTypes, Command, ChartInfoState, Combobox, TabsTrigger, ContextMenuContent, getMimeValues, prettifyRowColumnCount, loadTableData, prettifyRowCount, INDEX_COLUMN_NAME, ColumnPreviewContainer, useIntersectionObserver, getColumnCountForDisplay, SELECT_COLUMN_ID, CommandList, RenderTextWithLinks, ContextMenuItem, isNullishFilter, downloadExportedFile, generateColumns, Filenames, ColumnChartContext, CompactChipRow, Tabs, useInternalStateWithSync, dateToLocalISODateTime, DatePicker, TabsContent, CommandInput, LazyVegaEmbed, CommandEmpty, ChartLoadingState, CommandItem, useOverflowDetection, DataTable, ChevronsLeft, TableCell, DEFAULT_DECK_TRANSITION, $fae977aafc393c5c$export$588937bcd60ade55, contextAwarePanelType, downloadBlob, ArrowDownWideNarrow, TableRow, SLIDE_TYPE_OPTIONS_BY_VALUE, GripHorizontal, slotsController, Switch, Expand, PanelGroup, HtmlOutput, smartMatch, RadioGroup, Ellipsis, PanelResizeHandle, OutputRenderer, ChevronsRight, TableBody, OutputArea, ChevronsUpDown, Table, showCodeInRunModeAtom, isRecord, contextAwarePanelOwner, LoadingState, loadTableAndRawData, EmptyState, usePrevious, SlideSidebar, Funnel, Toggle, JsonOutput, Code, Provider$1, useNotebookCodeAvailable, safeLocale, PANEL_TYPES, DEFAULT_DECK_VERTICAL_ALIGN, $fae977aafc393c5c$export$6b862160d295c8e, isCellAwareAtom, RadioGroupItem, Download, Fill, ComboboxItem, ChartErrorState, marimoVersionAtom, hasFunctionProperty, contextAwarePanelOpen, DEFAULT_SLIDE_TYPE, TextWrap, SlotNames, cellDomProps, EmotionCacheProvider, ContextAwarePanelItem, Slide, EyeOff, Panel, InstallPackageButton, ChevronsDownUp, TableHead, Progress, renderCellValue, downloadByURL, NAMELESS_COLUMN_PREFIX, ADD_PRINTING_CLASS, ChevronLeft, TableHeader, ContextMenuSeparator, Maps;
39
39
  let __tla = Promise.all([
40
40
  (() => {
41
41
  try {
@@ -2061,21 +2061,21 @@ Defaulting to \`null\`.`;
2061
2061
  function $2f04cbc44ee30ce0$export$53a0910f038337bd(e, t, n = {}) {
2062
2062
  let { block: i = "nearest", inline: a = "nearest" } = n;
2063
2063
  if (e === t) return;
2064
- let o = e.scrollTop, s = e.scrollLeft, c = t.getBoundingClientRect(), d = e.getBoundingClientRect(), f = window.getComputedStyle(t), h = window.getComputedStyle(e), _ = document.scrollingElement || document.documentElement, v = e === _ ? 0 : d.top, y = e === _ ? e.clientHeight : d.bottom, S = e === _ ? 0 : d.left, w = e === _ ? e.clientWidth : d.right, E = parseInt(f.scrollMarginTop, 10) || 0, O = parseInt(f.scrollMarginBottom, 10) || 0, A = parseInt(f.scrollMarginLeft, 10) || 0, M = parseInt(f.scrollMarginRight, 10) || 0, I = parseInt(h.scrollPaddingTop, 10) || 0, z = parseInt(h.scrollPaddingBottom, 10) || 0, U = parseInt(h.scrollPaddingLeft, 10) || 0, K = parseInt(h.scrollPaddingRight, 10) || 0, q = parseInt(h.borderTopWidth, 10) || 0, J = parseInt(h.borderBottomWidth, 10) || 0, Q = parseInt(h.borderLeftWidth, 10) || 0, $ = parseInt(h.borderRightWidth, 10) || 0, fJ = c.top - E, pJ = c.bottom + O, mJ = c.left - A, hJ = c.right + M, gJ = e === _ ? 0 : Q + $, _J = e === _ ? 0 : q + J, vJ = e.offsetWidth - e.clientWidth - gJ, yJ = e.offsetHeight - e.clientHeight - _J, bJ = v + q + I, xJ = y - J - z - yJ, SJ = S + Q + U, CJ = w - $ - K;
2065
- h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ? SJ += vJ : CJ -= vJ;
2066
- let wJ = fJ < bJ || pJ > xJ, TJ = mJ < SJ || hJ > CJ;
2067
- if (wJ && i === "start") o += fJ - bJ;
2068
- else if (wJ && i === "center") o += (fJ + pJ) / 2 - (bJ + xJ) / 2;
2069
- else if (wJ && i === "end") o += pJ - xJ;
2070
- else if (wJ && i === "nearest") {
2071
- let e2 = fJ - bJ, t2 = pJ - xJ;
2064
+ let o = e.scrollTop, s = e.scrollLeft, c = t.getBoundingClientRect(), d = e.getBoundingClientRect(), f = window.getComputedStyle(t), h = window.getComputedStyle(e), _ = document.scrollingElement || document.documentElement, v = e === _ ? 0 : d.top, y = e === _ ? e.clientHeight : d.bottom, S = e === _ ? 0 : d.left, w = e === _ ? e.clientWidth : d.right, E = parseInt(f.scrollMarginTop, 10) || 0, O = parseInt(f.scrollMarginBottom, 10) || 0, A = parseInt(f.scrollMarginLeft, 10) || 0, M = parseInt(f.scrollMarginRight, 10) || 0, I = parseInt(h.scrollPaddingTop, 10) || 0, z = parseInt(h.scrollPaddingBottom, 10) || 0, U = parseInt(h.scrollPaddingLeft, 10) || 0, K = parseInt(h.scrollPaddingRight, 10) || 0, q = parseInt(h.borderTopWidth, 10) || 0, J = parseInt(h.borderBottomWidth, 10) || 0, Q = parseInt(h.borderLeftWidth, 10) || 0, $ = parseInt(h.borderRightWidth, 10) || 0, pJ = c.top - E, mJ = c.bottom + O, hJ = c.left - A, gJ = c.right + M, _J = e === _ ? 0 : Q + $, vJ = e === _ ? 0 : q + J, yJ = e.offsetWidth - e.clientWidth - _J, bJ = e.offsetHeight - e.clientHeight - vJ, xJ = v + q + I, SJ = y - J - z - bJ, CJ = S + Q + U, wJ = w - $ - K;
2065
+ h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ? CJ += yJ : wJ -= yJ;
2066
+ let TJ = pJ < xJ || mJ > SJ, EJ = hJ < CJ || gJ > wJ;
2067
+ if (TJ && i === "start") o += pJ - xJ;
2068
+ else if (TJ && i === "center") o += (pJ + mJ) / 2 - (xJ + SJ) / 2;
2069
+ else if (TJ && i === "end") o += mJ - SJ;
2070
+ else if (TJ && i === "nearest") {
2071
+ let e2 = pJ - xJ, t2 = mJ - SJ;
2072
2072
  o += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
2073
2073
  }
2074
- if (TJ && a === "start") s += mJ - SJ;
2075
- else if (TJ && a === "center") s += (mJ + hJ) / 2 - (SJ + CJ) / 2;
2076
- else if (TJ && a === "end") s += hJ - CJ;
2077
- else if (TJ && a === "nearest") {
2078
- let e2 = mJ - SJ, t2 = hJ - CJ;
2074
+ if (EJ && a === "start") s += hJ - CJ;
2075
+ else if (EJ && a === "center") s += (hJ + gJ) / 2 - (CJ + wJ) / 2;
2076
+ else if (EJ && a === "end") s += gJ - wJ;
2077
+ else if (EJ && a === "nearest") {
2078
+ let e2 = hJ - CJ, t2 = gJ - wJ;
2079
2079
  s += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
2080
2080
  }
2081
2081
  e.scrollTo({
@@ -5185,23 +5185,23 @@ Defaulting to \`null\`.`;
5185
5185
  }
5186
5186
  let $ = "bottom";
5187
5187
  A.axis === "top" ? A.placement === "top" ? $ = "top" : A.placement === "bottom" && ($ = "bottom") : A.crossAxis === "top" && (A.crossPlacement === "top" ? $ = "bottom" : A.crossPlacement === "bottom" && ($ = "top"));
5188
- let fJ = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f);
5189
- q[I] += fJ;
5190
- let pJ = $edcf132a9284368a$var$getMaxHeight(q, c, f, v, a, o, n.height, $, d, E, O);
5191
- y && y < pJ && (pJ = y), n.height = Math.min(n.height, pJ), q = $edcf132a9284368a$var$computePosition(t, c, n, A, J, _, f, v, S, w, d), fJ = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f), q[I] += fJ;
5192
- let mJ = {}, hJ = t[I] - q[I] - a[$edcf132a9284368a$var$AXIS[I]], gJ = hJ + 0.5 * t[z], _J = S / 2 + w, vJ = $edcf132a9284368a$var$AXIS[I] === "left" ? (a.left ?? 0) + (a.right ?? 0) : (a.top ?? 0) + (a.bottom ?? 0), yJ = n[z] - vJ - S / 2 - w;
5193
- mJ[I] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(gJ, t[I] + S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]]), t[I] + t[z] - S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]])), _J, yJ), { placement: U, crossPlacement: K } = A, S ? hJ = mJ[I] : K === "right" ? hJ += t[z] : K === "center" && (hJ += t[z] / 2);
5194
- let bJ = U === "left" || U === "top" ? n[M] : 0, xJ = {
5195
- x: U === "top" || U === "bottom" ? hJ : bJ,
5196
- y: U === "left" || U === "right" ? hJ : bJ
5188
+ let pJ = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f);
5189
+ q[I] += pJ;
5190
+ let mJ = $edcf132a9284368a$var$getMaxHeight(q, c, f, v, a, o, n.height, $, d, E, O);
5191
+ y && y < mJ && (mJ = y), n.height = Math.min(n.height, mJ), q = $edcf132a9284368a$var$computePosition(t, c, n, A, J, _, f, v, S, w, d), pJ = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f), q[I] += pJ;
5192
+ let hJ = {}, gJ = t[I] - q[I] - a[$edcf132a9284368a$var$AXIS[I]], _J = gJ + 0.5 * t[z], vJ = S / 2 + w, yJ = $edcf132a9284368a$var$AXIS[I] === "left" ? (a.left ?? 0) + (a.right ?? 0) : (a.top ?? 0) + (a.bottom ?? 0), bJ = n[z] - yJ - S / 2 - w;
5193
+ hJ[I] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(_J, t[I] + S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]]), t[I] + t[z] - S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]])), vJ, bJ), { placement: U, crossPlacement: K } = A, S ? gJ = hJ[I] : K === "right" ? gJ += t[z] : K === "center" && (gJ += t[z] / 2);
5194
+ let xJ = U === "left" || U === "top" ? n[M] : 0, SJ = {
5195
+ x: U === "top" || U === "bottom" ? gJ : xJ,
5196
+ y: U === "left" || U === "right" ? gJ : xJ
5197
5197
  };
5198
5198
  return {
5199
5199
  position: q,
5200
- maxHeight: pJ,
5201
- arrowOffsetLeft: mJ.left,
5202
- arrowOffsetTop: mJ.top,
5200
+ maxHeight: mJ,
5201
+ arrowOffsetLeft: hJ.left,
5202
+ arrowOffsetTop: hJ.top,
5203
5203
  placement: U,
5204
- triggerAnchorPoint: xJ
5204
+ triggerAnchorPoint: SJ
5205
5205
  };
5206
5206
  }
5207
5207
  function $edcf132a9284368a$export$b3ceb0cbf1056d98(e) {
@@ -7056,7 +7056,7 @@ Defaulting to \`null\`.`;
7056
7056
  n,
7057
7057
  h
7058
7058
  ]);
7059
- let fJ = $c87311424ea30a05$export$fedb369cb70207f1() || e.type === "timeZoneName" ? {
7059
+ let pJ = $c87311424ea30a05$export$fedb369cb70207f1() || e.type === "timeZoneName" ? {
7060
7060
  role: "textbox",
7061
7061
  "aria-valuemax": null,
7062
7062
  "aria-valuemin": null,
@@ -7066,8 +7066,8 @@ Defaulting to \`null\`.`;
7066
7066
  e !== (0, import_react.useMemo)(() => t.segments.find((e2) => e2.isEditable), [
7067
7067
  t.segments
7068
7068
  ]) && !t.isInvalid && (f = void 0);
7069
- let pJ = $bdb11010cef70236$export$f680877a34711e37(), mJ = !t.isDisabled && !t.isReadOnly && e.isEditable, hJ = e.type === "literal" ? "" : s.of(e.type), gJ = $313b98861ee5dd6c$export$d6875122194c7b44({
7070
- "aria-label": `${hJ}${c ? `, ${c}` : ""}${d ? ", " : ""}`,
7069
+ let mJ = $bdb11010cef70236$export$f680877a34711e37(), hJ = !t.isDisabled && !t.isReadOnly && e.isEditable, gJ = e.type === "literal" ? "" : s.of(e.type), _J = $313b98861ee5dd6c$export$d6875122194c7b44({
7070
+ "aria-label": `${gJ}${c ? `, ${c}` : ""}${d ? ", " : ""}`,
7071
7071
  "aria-labelledby": d
7072
7072
  });
7073
7073
  if (e.type === "literal") return {
@@ -7075,32 +7075,32 @@ Defaulting to \`null\`.`;
7075
7075
  "aria-hidden": true
7076
7076
  }
7077
7077
  };
7078
- let _J = {
7078
+ let vJ = {
7079
7079
  caretColor: "transparent"
7080
7080
  };
7081
7081
  if (o === "rtl") {
7082
- _J.unicodeBidi = "embed";
7082
+ vJ.unicodeBidi = "embed";
7083
7083
  let t2 = v[e.type];
7084
- (t2 === "numeric" || t2 === "2-digit") && (_J.direction = "ltr");
7084
+ (t2 === "numeric" || t2 === "2-digit") && (vJ.direction = "ltr");
7085
7085
  }
7086
7086
  return {
7087
- segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w, gJ, {
7088
- id: pJ,
7089
- ...fJ,
7087
+ segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w, _J, {
7088
+ id: mJ,
7089
+ ...pJ,
7090
7090
  "aria-invalid": t.isInvalid ? "true" : void 0,
7091
7091
  "aria-describedby": f,
7092
7092
  "aria-readonly": t.isReadOnly || !e.isEditable ? "true" : void 0,
7093
7093
  "data-placeholder": e.isPlaceholder || void 0,
7094
- contentEditable: mJ,
7095
- suppressContentEditableWarning: mJ,
7096
- spellCheck: mJ ? "false" : void 0,
7097
- autoCorrect: mJ ? "off" : void 0,
7098
- enterKeyHint: mJ ? "next" : void 0,
7099
- inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !mJ ? void 0 : "numeric",
7094
+ contentEditable: hJ,
7095
+ suppressContentEditableWarning: hJ,
7096
+ spellCheck: hJ ? "false" : void 0,
7097
+ autoCorrect: hJ ? "off" : void 0,
7098
+ enterKeyHint: hJ ? "next" : void 0,
7099
+ inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !hJ ? void 0 : "numeric",
7100
7100
  tabIndex: t.isDisabled ? void 0 : 0,
7101
7101
  onKeyDown: A,
7102
7102
  onFocus: Q,
7103
- style: _J,
7103
+ style: vJ,
7104
7104
  onPointerDown(e2) {
7105
7105
  e2.stopPropagation();
7106
7106
  },
@@ -10349,12 +10349,12 @@ Defaulting to \`null\`.`;
10349
10349
  e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(e2, (y == null ? void 0 : y.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec()), y && "hour" in y ? S(y.set(e2)) : S(e2);
10350
10350
  }
10351
10351
  }
10352
- let fJ = (0, import_react.useMemo)(() => w ? f && f(w) ? true : $f62d864046160412$export$eac50920cf2fd59a(w, s, c) : false, [
10352
+ let pJ = (0, import_react.useMemo)(() => w ? f && f(w) ? true : $f62d864046160412$export$eac50920cf2fd59a(w, s, c) : false, [
10353
10353
  w,
10354
10354
  f,
10355
10355
  s,
10356
10356
  c
10357
- ]), pJ = e.isInvalid || e.validationState === "invalid" || fJ, mJ = pJ ? "invalid" : null, hJ = (0, import_react.useMemo)(() => h === "visible" ? o : $131cf43a05231e1e$var$unitDuration(o), [
10357
+ ]), mJ = e.isInvalid || e.validationState === "invalid" || pJ, hJ = mJ ? "invalid" : null, gJ = (0, import_react.useMemo)(() => h === "visible" ? o : $131cf43a05231e1e$var$unitDuration(o), [
10358
10358
  h,
10359
10359
  o
10360
10360
  ]);
@@ -10371,8 +10371,8 @@ Defaulting to \`null\`.`;
10371
10371
  maxValue: c,
10372
10372
  focusedDate: O,
10373
10373
  timeZone: E,
10374
- validationState: mJ,
10375
- isValueInvalid: pJ,
10374
+ validationState: hJ,
10375
+ isValueInvalid: mJ,
10376
10376
  setFocusedDate(e2) {
10377
10377
  Q(e2);
10378
10378
  },
@@ -10397,12 +10397,12 @@ Defaulting to \`null\`.`;
10397
10397
  }));
10398
10398
  },
10399
10399
  focusNextPage() {
10400
- let e2 = M.add(hJ);
10401
- A($f62d864046160412$export$4f5203c0d889109e(O.add(hJ), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, hJ, i, s, c), hJ, i));
10400
+ let e2 = M.add(gJ);
10401
+ A($f62d864046160412$export$4f5203c0d889109e(O.add(gJ), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, gJ, i, s, c), gJ, i));
10402
10402
  },
10403
10403
  focusPreviousPage() {
10404
- let e2 = M.subtract(hJ);
10405
- A($f62d864046160412$export$4f5203c0d889109e(O.subtract(hJ), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, hJ, i, s, c), hJ, i));
10404
+ let e2 = M.subtract(gJ);
10405
+ A($f62d864046160412$export$4f5203c0d889109e(O.subtract(gJ), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, gJ, i, s, c), gJ, i));
10406
10406
  },
10407
10407
  focusSectionStart() {
10408
10408
  o.days ? Q(M) : o.weeks ? Q($14e0f24ef4ac5c92$export$42c81a444fbfb5d4(O, i)) : (o.months || o.years) && Q($14e0f24ef4ac5c92$export$a5a3b454ada2268e(O));
@@ -10539,13 +10539,13 @@ Defaulting to \`null\`.`;
10539
10539
  end: $9a36b6ba2fb1a7c5$var$convertValue(e2.end, h == null ? void 0 : h.end)
10540
10540
  }), q(null);
10541
10541
  }
10542
- }, [$, fJ] = (0, import_react.useState)(false), { isDateUnavailable: pJ } = e, mJ = (0, import_react.useMemo)(() => !h || v ? false : pJ && (pJ(h.start) || pJ(h.end)) ? true : $f62d864046160412$export$eac50920cf2fd59a(h.start, c, d) || $f62d864046160412$export$eac50920cf2fd59a(h.end, c, d), [
10543
- pJ,
10542
+ }, [$, pJ] = (0, import_react.useState)(false), { isDateUnavailable: mJ } = e, hJ = (0, import_react.useMemo)(() => !h || v ? false : mJ && (mJ(h.start) || mJ(h.end)) ? true : $f62d864046160412$export$eac50920cf2fd59a(h.start, c, d) || $f62d864046160412$export$eac50920cf2fd59a(h.end, c, d), [
10543
+ mJ,
10544
10544
  h,
10545
10545
  v,
10546
10546
  c,
10547
10547
  d
10548
- ]), hJ = e.isInvalid || e.validationState === "invalid" || mJ, gJ = hJ ? "invalid" : null;
10548
+ ]), gJ = e.isInvalid || e.validationState === "invalid" || hJ, _J = gJ ? "invalid" : null;
10549
10549
  return {
10550
10550
  ...I,
10551
10551
  value: h,
@@ -10553,8 +10553,8 @@ Defaulting to \`null\`.`;
10553
10553
  anchorDate: v,
10554
10554
  setAnchorDate: q,
10555
10555
  highlightedRange: J,
10556
- validationState: gJ,
10557
- isValueInvalid: hJ,
10556
+ validationState: _J,
10557
+ isValueInvalid: gJ,
10558
10558
  selectFocusedDate() {
10559
10559
  Q(I.focusedDate);
10560
10560
  },
@@ -10570,7 +10570,7 @@ Defaulting to \`null\`.`;
10570
10570
  return I.isInvalid(e2) || $f62d864046160412$export$eac50920cf2fd59a(e2, (_a2 = w.current) == null ? void 0 : _a2.start, (_b = w.current) == null ? void 0 : _b.end);
10571
10571
  },
10572
10572
  isDragging: $,
10573
- setDragging: fJ
10573
+ setDragging: pJ
10574
10574
  };
10575
10575
  }
10576
10576
  function $9a36b6ba2fb1a7c5$var$makeRange(e, t) {
@@ -11757,7 +11757,7 @@ Defaulting to \`null\`.`;
11757
11757
  _,
11758
11758
  S,
11759
11759
  v
11760
- ]), fJ = (0, import_react.useMemo)(() => {
11760
+ ]), pJ = (0, import_react.useMemo)(() => {
11761
11761
  let t2 = w === "h11" || w === "h12", n2 = [
11762
11762
  "era",
11763
11763
  "year",
@@ -11775,15 +11775,15 @@ Defaulting to \`null\`.`;
11775
11775
  e.maxGranularity,
11776
11776
  _,
11777
11777
  w
11778
- ]), [pJ, mJ] = (0, import_react.useState)(M), [hJ, gJ] = (0, import_react.useState)(S), [_J, vJ] = (0, import_react.useState)(w);
11779
- (M !== pJ || w !== _J || !$14e0f24ef4ac5c92$export$dbc69fd56b53d5e(S, hJ)) && (I = new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M), mJ(M), gJ(S), vJ(w), z(I));
11780
- let yJ = (t2) => {
11781
- if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(fJ)) z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(null);
11778
+ ]), [mJ, hJ] = (0, import_react.useState)(M), [gJ, _J] = (0, import_react.useState)(S), [vJ, yJ] = (0, import_react.useState)(w);
11779
+ (M !== mJ || w !== vJ || !$14e0f24ef4ac5c92$export$dbc69fd56b53d5e(S, gJ)) && (I = new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M), hJ(M), _J(S), yJ(w), z(I));
11780
+ let bJ = (t2) => {
11781
+ if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(pJ)) z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(null);
11782
11782
  else if (!(t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef)) t2 = $11d87f3f76e88657$export$b4a036af3fc0b032(t2, (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec()), z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(t2);
11783
11783
  else {
11784
- if (t2.isComplete(fJ)) {
11784
+ if (t2.isComplete(pJ)) {
11785
11785
  let e2 = t2.toValue(M ?? $);
11786
- if (t2.validate(e2, fJ)) {
11786
+ if (t2.validate(e2, pJ)) {
11787
11787
  let t3 = $11d87f3f76e88657$export$b4a036af3fc0b032(e2, (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
11788
11788
  if (!E || t3.compare(E) !== 0) {
11789
11789
  z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(t3);
@@ -11793,83 +11793,83 @@ Defaulting to \`null\`.`;
11793
11793
  }
11794
11794
  z(t2);
11795
11795
  }
11796
- }, bJ = (0, import_react.useMemo)(() => I.toValue(M ?? $).toDate(y), [
11796
+ }, xJ = (0, import_react.useMemo)(() => I.toValue(M ?? $).toDate(y), [
11797
11797
  I,
11798
11798
  y,
11799
11799
  M,
11800
11800
  $
11801
- ]), xJ = (0, import_react.useMemo)(() => $3c0fc76039f1c516$var$processSegments(bJ, I, J, Q, S, t, _), [
11802
- bJ,
11801
+ ]), SJ = (0, import_react.useMemo)(() => $3c0fc76039f1c516$var$processSegments(xJ, I, J, Q, S, t, _), [
11802
+ xJ,
11803
11803
  J,
11804
11804
  Q,
11805
11805
  I,
11806
11806
  S,
11807
11807
  t,
11808
11808
  _
11809
- ]), SJ = (e2, t2) => {
11810
- yJ(I.cycle(e2, t2, $, fJ));
11811
- }, CJ = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$f18627323ab57ac0(E, c, d, f, K), [
11809
+ ]), CJ = (e2, t2) => {
11810
+ bJ(I.cycle(e2, t2, $, pJ));
11811
+ }, wJ = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$f18627323ab57ac0(E, c, d, f, K), [
11812
11812
  E,
11813
11813
  c,
11814
11814
  d,
11815
11815
  f,
11816
11816
  K
11817
- ]), wJ = $e5be200c675c3b3a$export$fc1a364ae1f3ff10({
11817
+ ]), TJ = $e5be200c675c3b3a$export$fc1a364ae1f3ff10({
11818
11818
  ...e,
11819
11819
  value: E,
11820
- builtinValidation: CJ
11821
- }), TJ = wJ.displayValidation.isInvalid, EJ = e.validationState || (TJ ? "invalid" : null);
11820
+ builtinValidation: wJ
11821
+ }), EJ = TJ.displayValidation.isInvalid, DJ = e.validationState || (EJ ? "invalid" : null);
11822
11822
  return {
11823
- ...wJ,
11823
+ ...TJ,
11824
11824
  value: M,
11825
11825
  defaultValue: e.defaultValue ?? A,
11826
- dateValue: bJ,
11826
+ dateValue: xJ,
11827
11827
  calendar: S,
11828
- setValue: yJ,
11829
- segments: xJ,
11828
+ setValue: bJ,
11829
+ segments: SJ,
11830
11830
  dateFormatter: J,
11831
- validationState: EJ,
11832
- isInvalid: TJ,
11831
+ validationState: DJ,
11832
+ isInvalid: EJ,
11833
11833
  granularity: _,
11834
11834
  maxGranularity: e.maxGranularity ?? "year",
11835
11835
  isDisabled: a,
11836
11836
  isReadOnly: o,
11837
11837
  isRequired: s,
11838
11838
  increment(e2) {
11839
- SJ(e2, 1);
11839
+ CJ(e2, 1);
11840
11840
  },
11841
11841
  decrement(e2) {
11842
- SJ(e2, -1);
11842
+ CJ(e2, -1);
11843
11843
  },
11844
11844
  incrementPage(e2) {
11845
- SJ(e2, $3c0fc76039f1c516$var$PAGE_STEP[e2] || 1);
11845
+ CJ(e2, $3c0fc76039f1c516$var$PAGE_STEP[e2] || 1);
11846
11846
  },
11847
11847
  decrementPage(e2) {
11848
- SJ(e2, -($3c0fc76039f1c516$var$PAGE_STEP[e2] || 1));
11848
+ CJ(e2, -($3c0fc76039f1c516$var$PAGE_STEP[e2] || 1));
11849
11849
  },
11850
11850
  incrementToMax(e2) {
11851
11851
  let t2 = e2 === "hour" && w === "h12" ? 11 : I.getSegmentLimits(e2).maxValue;
11852
- yJ(I.set(e2, t2, $));
11852
+ bJ(I.set(e2, t2, $));
11853
11853
  },
11854
11854
  decrementToMin(e2) {
11855
11855
  let t2 = e2 === "hour" && w === "h12" ? 12 : I.getSegmentLimits(e2).minValue;
11856
- yJ(I.set(e2, t2, $));
11856
+ bJ(I.set(e2, t2, $));
11857
11857
  },
11858
11858
  setSegment(e2, t2) {
11859
- yJ(I.set(e2, t2, $));
11859
+ bJ(I.set(e2, t2, $));
11860
11860
  },
11861
11861
  confirmPlaceholder() {
11862
- if (!(e.isDisabled || e.isReadOnly) && I.isComplete(fJ)) {
11862
+ if (!(e.isDisabled || e.isReadOnly) && I.isComplete(pJ)) {
11863
11863
  let e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(I.toValue(M ?? $), (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
11864
11864
  (!E || e2.compare(E) !== 0) && O(e2), z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M));
11865
11865
  }
11866
11866
  },
11867
11867
  clearSegment(e2) {
11868
11868
  let t2 = I;
11869
- e2 !== "timeZoneName" && e2 !== "literal" && (t2 = I.clear(e2)), yJ(t2);
11869
+ e2 !== "timeZoneName" && e2 !== "literal" && (t2 = I.clear(e2)), bJ(t2);
11870
11870
  },
11871
11871
  formatValue(e2) {
11872
- return M ? new $fb18d541ea1ad717$export$ad991b66133851cf(t, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, K)).format(bJ) : "";
11872
+ return M ? new $fb18d541ea1ad717$export$ad991b66133851cf(t, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, K)).format(xJ) : "";
11873
11873
  },
11874
11874
  getDateFormatter(e2, t2) {
11875
11875
  return new $fb18d541ea1ad717$export$ad991b66133851cf(e2, $35a22f14a1f04b11$export$7e319ea407e63bc0({}, {
@@ -11989,7 +11989,7 @@ Defaulting to \`null\`.`;
11989
11989
  e.endName
11990
11990
  ]),
11991
11991
  builtinValidation: J
11992
- }), $ = Q.displayValidation.isInvalid, fJ = e.validationState || ($ ? "invalid" : null);
11992
+ }), $ = Q.displayValidation.isInvalid, pJ = e.validationState || ($ ? "invalid" : null);
11993
11993
  return {
11994
11994
  ...Q,
11995
11995
  value: c,
@@ -12035,7 +12035,7 @@ Defaulting to \`null\`.`;
12035
12035
  end: (w == null ? void 0 : w.end) || $35a22f14a1f04b11$export$c5221a78ef73c5e9(e.placeholderValue)
12036
12036
  }), t.setOpen(n2);
12037
12037
  },
12038
- validationState: fJ,
12038
+ validationState: pJ,
12039
12039
  isInvalid: $,
12040
12040
  formatValue(t2, n2) {
12041
12041
  if (!c || !c.start || !c.end) return null;
@@ -15929,33 +15929,33 @@ try {
15929
15929
  }, f = import_react.createContext(void 0), h = () => import_react.useContext(f) || d, _ = {}, v = {};
15930
15930
  function y(e2) {
15931
15931
  var _a2, _b, _c, _d;
15932
- let { children: d2, theme: h2, modeStorageKey: y2 = i, colorSchemeStorageKey: S2 = a, disableTransitionOnChange: w2 = o, storageManager: E, storageWindow: O = typeof window > "u" ? void 0 : window, documentNode: A = typeof document > "u" ? void 0 : document, colorSchemeNode: M = typeof document > "u" ? void 0 : document.documentElement, disableNestedContext: I = false, disableStyleSheetGeneration: z = false, defaultMode: U = "system", noSsr: K } = e2, q = import_react.useRef(false), J = useTheme$2(), Q = import_react.useContext(f), $ = !!Q && !I, fJ = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
15932
+ let { children: d2, theme: h2, modeStorageKey: y2 = i, colorSchemeStorageKey: S2 = a, disableTransitionOnChange: w2 = o, storageManager: E, storageWindow: O = typeof window > "u" ? void 0 : window, documentNode: A = typeof document > "u" ? void 0 : document, colorSchemeNode: M = typeof document > "u" ? void 0 : document.documentElement, disableNestedContext: I = false, disableStyleSheetGeneration: z = false, defaultMode: U = "system", noSsr: K } = e2, q = import_react.useRef(false), J = useTheme$2(), Q = import_react.useContext(f), $ = !!Q && !I, pJ = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
15933
15933
  h2
15934
- ]), pJ = fJ[t], mJ = pJ || fJ, { colorSchemes: hJ = _, components: gJ = v, cssVarPrefix: _J } = mJ, vJ = Object.keys(hJ).filter((e3) => !!hJ[e3]).join(","), yJ = import_react.useMemo(() => vJ.split(","), [
15935
- vJ
15936
- ]), bJ = typeof s == "string" ? s : s.light, xJ = typeof s == "string" ? s : s.dark, { mode: SJ, setMode: CJ, systemMode: wJ, lightColorScheme: TJ, darkColorScheme: EJ, colorScheme: DJ, setColorScheme: OJ } = useCurrentColorScheme({
15937
- supportedColorSchemes: yJ,
15938
- defaultLightColorScheme: bJ,
15939
- defaultDarkColorScheme: xJ,
15934
+ ]), mJ = pJ[t], hJ = mJ || pJ, { colorSchemes: gJ = _, components: _J = v, cssVarPrefix: vJ } = hJ, yJ = Object.keys(gJ).filter((e3) => !!gJ[e3]).join(","), bJ = import_react.useMemo(() => yJ.split(","), [
15935
+ yJ
15936
+ ]), xJ = typeof s == "string" ? s : s.light, SJ = typeof s == "string" ? s : s.dark, { mode: CJ, setMode: wJ, systemMode: TJ, lightColorScheme: EJ, darkColorScheme: DJ, colorScheme: OJ, setColorScheme: kJ } = useCurrentColorScheme({
15937
+ supportedColorSchemes: bJ,
15938
+ defaultLightColorScheme: xJ,
15939
+ defaultDarkColorScheme: SJ,
15940
15940
  modeStorageKey: y2,
15941
15941
  colorSchemeStorageKey: S2,
15942
- defaultMode: hJ[bJ] && hJ[xJ] ? U : ((_b = (_a2 = hJ[mJ.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = mJ.palette) == null ? void 0 : _c.mode),
15942
+ defaultMode: gJ[xJ] && gJ[SJ] ? U : ((_b = (_a2 = gJ[hJ.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = hJ.palette) == null ? void 0 : _c.mode),
15943
15943
  storageManager: E,
15944
15944
  storageWindow: O,
15945
15945
  noSsr: K
15946
- }), kJ = SJ, AJ = DJ;
15947
- $ && (kJ = Q.mode, AJ = Q.colorScheme);
15948
- let jJ = import_react.useMemo(() => {
15946
+ }), AJ = CJ, jJ = OJ;
15947
+ $ && (AJ = Q.mode, jJ = Q.colorScheme);
15948
+ let MJ = import_react.useMemo(() => {
15949
15949
  var _a3;
15950
- let e3 = AJ || mJ.defaultColorScheme, t2 = ((_a3 = mJ.generateThemeVars) == null ? void 0 : _a3.call(mJ)) || mJ.vars, n2 = {
15951
- ...mJ,
15952
- components: gJ,
15953
- colorSchemes: hJ,
15954
- cssVarPrefix: _J,
15950
+ let e3 = jJ || hJ.defaultColorScheme, t2 = ((_a3 = hJ.generateThemeVars) == null ? void 0 : _a3.call(hJ)) || hJ.vars, n2 = {
15951
+ ...hJ,
15952
+ components: _J,
15953
+ colorSchemes: gJ,
15954
+ cssVarPrefix: vJ,
15955
15955
  vars: t2
15956
15956
  };
15957
15957
  if (typeof n2.generateSpacing == "function" && (n2.spacing = n2.generateSpacing()), e3) {
15958
- let t3 = hJ[e3];
15958
+ let t3 = gJ[e3];
15959
15959
  t3 && typeof t3 == "object" && Object.keys(t3).forEach((e4) => {
15960
15960
  t3[e4] && typeof t3[e4] == "object" ? n2[e4] = {
15961
15961
  ...n2[e4],
@@ -15965,31 +15965,31 @@ try {
15965
15965
  }
15966
15966
  return c ? c(n2) : n2;
15967
15967
  }, [
15968
- mJ,
15969
- AJ,
15970
- gJ,
15971
15968
  hJ,
15972
- _J
15973
- ]), MJ = mJ.colorSchemeSelector;
15969
+ jJ,
15970
+ _J,
15971
+ gJ,
15972
+ vJ
15973
+ ]), NJ = hJ.colorSchemeSelector;
15974
15974
  useEnhancedEffect_default(() => {
15975
- if (AJ && M && MJ && MJ !== "media") {
15976
- let e3 = MJ, t2 = MJ;
15977
- if (e3 === "class" && (t2 = ".%s"), e3 === "data" && (t2 = "[data-%s]"), (e3 == null ? void 0 : e3.startsWith("data-")) && !e3.includes("%s") && (t2 = `[${e3}="%s"]`), t2.startsWith(".")) M.classList.remove(...yJ.map((e4) => t2.substring(1).replace("%s", e4))), M.classList.add(t2.substring(1).replace("%s", AJ));
15975
+ if (jJ && M && NJ && NJ !== "media") {
15976
+ let e3 = NJ, t2 = NJ;
15977
+ if (e3 === "class" && (t2 = ".%s"), e3 === "data" && (t2 = "[data-%s]"), (e3 == null ? void 0 : e3.startsWith("data-")) && !e3.includes("%s") && (t2 = `[${e3}="%s"]`), t2.startsWith(".")) M.classList.remove(...bJ.map((e4) => t2.substring(1).replace("%s", e4))), M.classList.add(t2.substring(1).replace("%s", jJ));
15978
15978
  else {
15979
- let e4 = t2.replace("%s", AJ).match(/\[([^\]]+)\]/);
15979
+ let e4 = t2.replace("%s", jJ).match(/\[([^\]]+)\]/);
15980
15980
  if (e4) {
15981
15981
  let [t3, n2] = e4[1].split("=");
15982
- n2 || yJ.forEach((e5) => {
15983
- M.removeAttribute(t3.replace(AJ, e5));
15982
+ n2 || bJ.forEach((e5) => {
15983
+ M.removeAttribute(t3.replace(jJ, e5));
15984
15984
  }), M.setAttribute(t3, n2 ? n2.replace(/"|'/g, "") : "");
15985
- } else M.setAttribute(t2, AJ);
15985
+ } else M.setAttribute(t2, jJ);
15986
15986
  }
15987
15987
  }
15988
15988
  }, [
15989
- AJ,
15990
- MJ,
15989
+ jJ,
15990
+ NJ,
15991
15991
  M,
15992
- yJ
15992
+ bJ
15993
15993
  ]), import_react.useEffect(() => {
15994
15994
  let e3;
15995
15995
  if (w2 && q.current && A) {
@@ -16002,48 +16002,48 @@ try {
16002
16002
  clearTimeout(e3);
16003
16003
  };
16004
16004
  }, [
16005
- AJ,
16005
+ jJ,
16006
16006
  w2,
16007
16007
  A
16008
16008
  ]), import_react.useEffect(() => (q.current = true, () => {
16009
16009
  q.current = false;
16010
16010
  }), []);
16011
- let NJ = import_react.useMemo(() => ({
16012
- allColorSchemes: yJ,
16013
- colorScheme: AJ,
16014
- darkColorScheme: EJ,
16015
- lightColorScheme: TJ,
16016
- mode: kJ,
16017
- setColorScheme: OJ,
16018
- setMode: CJ,
16019
- systemMode: wJ
16011
+ let PJ = import_react.useMemo(() => ({
16012
+ allColorSchemes: bJ,
16013
+ colorScheme: jJ,
16014
+ darkColorScheme: DJ,
16015
+ lightColorScheme: EJ,
16016
+ mode: AJ,
16017
+ setColorScheme: kJ,
16018
+ setMode: wJ,
16019
+ systemMode: TJ
16020
16020
  }), [
16021
- yJ,
16022
- AJ,
16021
+ bJ,
16022
+ jJ,
16023
+ DJ,
16023
16024
  EJ,
16024
- TJ,
16025
+ AJ,
16025
16026
  kJ,
16026
- OJ,
16027
- CJ,
16028
16027
  wJ,
16029
- jJ.colorSchemeSelector
16030
- ]), PJ = true;
16031
- (z || mJ.cssVariables === false || $ && (J == null ? void 0 : J.cssVarPrefix) === _J) && (PJ = false);
16032
- let FJ = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
16028
+ TJ,
16029
+ MJ.colorSchemeSelector
16030
+ ]), FJ = true;
16031
+ (z || hJ.cssVariables === false || $ && (J == null ? void 0 : J.cssVarPrefix) === vJ) && (FJ = false);
16032
+ let IJ = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
16033
16033
  children: [
16034
16034
  (0, import_jsx_runtime.jsx)(ThemeProvider_default, {
16035
- themeId: pJ ? t : void 0,
16036
- theme: jJ,
16035
+ themeId: mJ ? t : void 0,
16036
+ theme: MJ,
16037
16037
  children: d2
16038
16038
  }),
16039
- PJ && (0, import_jsx_runtime.jsx)(GlobalStyles$1, {
16040
- styles: ((_d = jJ.generateStyleSheets) == null ? void 0 : _d.call(jJ)) || []
16039
+ FJ && (0, import_jsx_runtime.jsx)(GlobalStyles$1, {
16040
+ styles: ((_d = MJ.generateStyleSheets) == null ? void 0 : _d.call(MJ)) || []
16041
16041
  })
16042
16042
  ]
16043
16043
  });
16044
- return $ ? FJ : (0, import_jsx_runtime.jsx)(f.Provider, {
16045
- value: NJ,
16046
- children: FJ
16044
+ return $ ? IJ : (0, import_jsx_runtime.jsx)(f.Provider, {
16045
+ value: PJ,
16046
+ children: IJ
16047
16047
  });
16048
16048
  }
16049
16049
  let S = typeof s == "string" ? s : s.light, w = typeof s == "string" ? s : s.dark;
@@ -17543,10 +17543,10 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
17543
17543
  let n = useDefaultProps({
17544
17544
  props: e,
17545
17545
  name: "MuiInputBase"
17546
- }), { "aria-describedby": i, autoComplete: a, autoFocus: o, className: s, color: c, components: d = {}, componentsProps: f = {}, defaultValue: h, disabled: _, disableInjectingGlobalStyles: v, endAdornment: y, error: S, fullWidth: w = false, id: E, inputComponent: O = "input", inputProps: A = {}, inputRef: M, margin: I, maxRows: z, minRows: U, multiline: K = false, name: q, onBlur: J, onChange: Q, onClick: $, onFocus: fJ, onKeyDown: pJ, onKeyUp: mJ, placeholder: hJ, readOnly: gJ, renderSuffix: _J, rows: vJ, size: yJ, slotProps: bJ = {}, slots: xJ = {}, startAdornment: SJ, type: CJ = "text", value: wJ, ...TJ } = n, EJ = A.value == null ? wJ : A.value, { current: DJ } = import_react.useRef(EJ != null), OJ = import_react.useRef(), kJ = import_react.useCallback((e2) => {
17547
- }, []), AJ = useForkRef_default(OJ, M, A.ref, kJ), [jJ, MJ] = import_react.useState(false), NJ = useFormControl(), PJ = formControlState({
17546
+ }), { "aria-describedby": i, autoComplete: a, autoFocus: o, className: s, color: c, components: d = {}, componentsProps: f = {}, defaultValue: h, disabled: _, disableInjectingGlobalStyles: v, endAdornment: y, error: S, fullWidth: w = false, id: E, inputComponent: O = "input", inputProps: A = {}, inputRef: M, margin: I, maxRows: z, minRows: U, multiline: K = false, name: q, onBlur: J, onChange: Q, onClick: $, onFocus: pJ, onKeyDown: mJ, onKeyUp: hJ, placeholder: gJ, readOnly: _J, renderSuffix: vJ, rows: yJ, size: bJ, slotProps: xJ = {}, slots: SJ = {}, startAdornment: CJ, type: wJ = "text", value: TJ, ...EJ } = n, DJ = A.value == null ? TJ : A.value, { current: OJ } = import_react.useRef(DJ != null), kJ = import_react.useRef(), AJ = import_react.useCallback((e2) => {
17547
+ }, []), jJ = useForkRef_default(kJ, M, A.ref, AJ), [MJ, NJ] = import_react.useState(false), PJ = useFormControl(), FJ = formControlState({
17548
17548
  props: n,
17549
- muiFormControl: NJ,
17549
+ muiFormControl: PJ,
17550
17550
  states: [
17551
17551
  "color",
17552
17552
  "disabled",
@@ -17557,145 +17557,145 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
17557
17557
  "filled"
17558
17558
  ]
17559
17559
  });
17560
- PJ.focused = NJ ? NJ.focused : jJ, import_react.useEffect(() => {
17561
- !NJ && _ && jJ && (MJ(false), J && J());
17560
+ FJ.focused = PJ ? PJ.focused : MJ, import_react.useEffect(() => {
17561
+ !PJ && _ && MJ && (NJ(false), J && J());
17562
17562
  }, [
17563
- NJ,
17563
+ PJ,
17564
17564
  _,
17565
- jJ,
17565
+ MJ,
17566
17566
  J
17567
17567
  ]);
17568
- let FJ = NJ && NJ.onFilled, IJ = NJ && NJ.onEmpty, LJ = import_react.useCallback((e2) => {
17569
- isFilled(e2) ? FJ && FJ() : IJ && IJ();
17568
+ let IJ = PJ && PJ.onFilled, LJ = PJ && PJ.onEmpty, RJ = import_react.useCallback((e2) => {
17569
+ isFilled(e2) ? IJ && IJ() : LJ && LJ();
17570
17570
  }, [
17571
- FJ,
17572
- IJ
17571
+ IJ,
17572
+ LJ
17573
17573
  ]);
17574
17574
  useEnhancedEffect_default$1(() => {
17575
- DJ && LJ({
17576
- value: EJ
17575
+ OJ && RJ({
17576
+ value: DJ
17577
17577
  });
17578
17578
  }, [
17579
- EJ,
17580
- LJ,
17581
- DJ
17579
+ DJ,
17580
+ RJ,
17581
+ OJ
17582
17582
  ]);
17583
- let RJ = (e2) => {
17584
- fJ && fJ(e2), A.onFocus && A.onFocus(e2), NJ && NJ.onFocus ? NJ.onFocus(e2) : MJ(true);
17585
- }, zJ = (e2) => {
17586
- J && J(e2), A.onBlur && A.onBlur(e2), NJ && NJ.onBlur ? NJ.onBlur(e2) : MJ(false);
17587
- }, BJ = (e2, ...t2) => {
17588
- if (!DJ) {
17589
- let t3 = e2.target || OJ.current;
17583
+ let zJ = (e2) => {
17584
+ pJ && pJ(e2), A.onFocus && A.onFocus(e2), PJ && PJ.onFocus ? PJ.onFocus(e2) : NJ(true);
17585
+ }, BJ = (e2) => {
17586
+ J && J(e2), A.onBlur && A.onBlur(e2), PJ && PJ.onBlur ? PJ.onBlur(e2) : NJ(false);
17587
+ }, VJ = (e2, ...t2) => {
17588
+ if (!OJ) {
17589
+ let t3 = e2.target || kJ.current;
17590
17590
  if (t3 == null) throw Error(formatMuiErrorMessage(1));
17591
- LJ({
17591
+ RJ({
17592
17592
  value: t3.value
17593
17593
  });
17594
17594
  }
17595
17595
  A.onChange && A.onChange(e2, ...t2), Q && Q(e2, ...t2);
17596
17596
  };
17597
17597
  import_react.useEffect(() => {
17598
- LJ(OJ.current);
17598
+ RJ(kJ.current);
17599
17599
  }, []);
17600
- let VJ = (e2) => {
17601
- OJ.current && e2.currentTarget === e2.target && OJ.current.focus(), $ && $(e2);
17602
- }, HJ = O, UJ = A;
17603
- K && HJ === "input" && (UJ = vJ ? {
17600
+ let HJ = (e2) => {
17601
+ kJ.current && e2.currentTarget === e2.target && kJ.current.focus(), $ && $(e2);
17602
+ }, UJ = O, WJ = A;
17603
+ K && UJ === "input" && (WJ = yJ ? {
17604
17604
  type: void 0,
17605
- minRows: vJ,
17606
- maxRows: vJ,
17607
- ...UJ
17605
+ minRows: yJ,
17606
+ maxRows: yJ,
17607
+ ...WJ
17608
17608
  } : {
17609
17609
  type: void 0,
17610
17610
  maxRows: z,
17611
17611
  minRows: U,
17612
- ...UJ
17613
- }, HJ = TextareaAutosize_default);
17614
- let WJ = (e2) => {
17615
- LJ(e2.animationName === "mui-auto-fill-cancel" ? OJ.current : {
17612
+ ...WJ
17613
+ }, UJ = TextareaAutosize_default);
17614
+ let GJ = (e2) => {
17615
+ RJ(e2.animationName === "mui-auto-fill-cancel" ? kJ.current : {
17616
17616
  value: "x"
17617
17617
  });
17618
17618
  };
17619
17619
  import_react.useEffect(() => {
17620
- NJ && NJ.setAdornedStart(!!SJ);
17620
+ PJ && PJ.setAdornedStart(!!CJ);
17621
17621
  }, [
17622
- NJ,
17623
- SJ
17622
+ PJ,
17623
+ CJ
17624
17624
  ]);
17625
- let GJ = {
17625
+ let KJ = {
17626
17626
  ...n,
17627
- color: PJ.color || "primary",
17628
- disabled: PJ.disabled,
17627
+ color: FJ.color || "primary",
17628
+ disabled: FJ.disabled,
17629
17629
  endAdornment: y,
17630
- error: PJ.error,
17631
- focused: PJ.focused,
17632
- formControl: NJ,
17630
+ error: FJ.error,
17631
+ focused: FJ.focused,
17632
+ formControl: PJ,
17633
17633
  fullWidth: w,
17634
- hiddenLabel: PJ.hiddenLabel,
17634
+ hiddenLabel: FJ.hiddenLabel,
17635
17635
  multiline: K,
17636
- size: PJ.size,
17637
- startAdornment: SJ,
17638
- type: CJ
17639
- }, KJ = useUtilityClasses(GJ), qJ = xJ.root || d.Root || InputBaseRoot, JJ = bJ.root || f.root || {}, YJ = xJ.input || d.Input || InputBaseInput;
17640
- return UJ = {
17641
- ...UJ,
17642
- ...bJ.input ?? f.input
17636
+ size: FJ.size,
17637
+ startAdornment: CJ,
17638
+ type: wJ
17639
+ }, qJ = useUtilityClasses(KJ), JJ = SJ.root || d.Root || InputBaseRoot, YJ = xJ.root || f.root || {}, XJ = SJ.input || d.Input || InputBaseInput;
17640
+ return WJ = {
17641
+ ...WJ,
17642
+ ...xJ.input ?? f.input
17643
17643
  }, (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
17644
17644
  children: [
17645
17645
  !v && typeof InputGlobalStyles == "function" && (_InputGlobalStyles || (_InputGlobalStyles = (0, import_jsx_runtime.jsx)(InputGlobalStyles, {}))),
17646
- (0, import_jsx_runtime.jsxs)(qJ, {
17647
- ...JJ,
17646
+ (0, import_jsx_runtime.jsxs)(JJ, {
17647
+ ...YJ,
17648
17648
  ref: t,
17649
- onClick: VJ,
17650
- ...TJ,
17651
- ...!isHostComponent_default(qJ) && {
17649
+ onClick: HJ,
17650
+ ...EJ,
17651
+ ...!isHostComponent_default(JJ) && {
17652
17652
  ownerState: {
17653
- ...GJ,
17654
- ...JJ.ownerState
17653
+ ...KJ,
17654
+ ...YJ.ownerState
17655
17655
  }
17656
17656
  },
17657
- className: clsx_default(KJ.root, JJ.className, s, gJ && "MuiInputBase-readOnly"),
17657
+ className: clsx_default(qJ.root, YJ.className, s, _J && "MuiInputBase-readOnly"),
17658
17658
  children: [
17659
- SJ,
17659
+ CJ,
17660
17660
  (0, import_jsx_runtime.jsx)(FormControlContext_default.Provider, {
17661
17661
  value: null,
17662
- children: (0, import_jsx_runtime.jsx)(YJ, {
17663
- "aria-invalid": PJ.error,
17662
+ children: (0, import_jsx_runtime.jsx)(XJ, {
17663
+ "aria-invalid": FJ.error,
17664
17664
  "aria-describedby": i,
17665
17665
  autoComplete: a,
17666
17666
  autoFocus: o,
17667
17667
  defaultValue: h,
17668
- disabled: PJ.disabled,
17668
+ disabled: FJ.disabled,
17669
17669
  id: E,
17670
- onAnimationStart: WJ,
17670
+ onAnimationStart: GJ,
17671
17671
  name: q,
17672
- placeholder: hJ,
17673
- readOnly: gJ,
17674
- required: PJ.required,
17675
- rows: vJ,
17676
- value: EJ,
17677
- onKeyDown: pJ,
17678
- onKeyUp: mJ,
17679
- type: CJ,
17680
- ...UJ,
17681
- ...!isHostComponent_default(YJ) && {
17682
- as: HJ,
17672
+ placeholder: gJ,
17673
+ readOnly: _J,
17674
+ required: FJ.required,
17675
+ rows: yJ,
17676
+ value: DJ,
17677
+ onKeyDown: mJ,
17678
+ onKeyUp: hJ,
17679
+ type: wJ,
17680
+ ...WJ,
17681
+ ...!isHostComponent_default(XJ) && {
17682
+ as: UJ,
17683
17683
  ownerState: {
17684
- ...GJ,
17685
- ...UJ.ownerState
17684
+ ...KJ,
17685
+ ...WJ.ownerState
17686
17686
  }
17687
17687
  },
17688
- ref: AJ,
17689
- className: clsx_default(KJ.input, UJ.className, gJ && "MuiInputBase-readOnly"),
17690
- onBlur: zJ,
17691
- onChange: BJ,
17692
- onFocus: RJ
17688
+ ref: jJ,
17689
+ className: clsx_default(qJ.input, WJ.className, _J && "MuiInputBase-readOnly"),
17690
+ onBlur: BJ,
17691
+ onChange: VJ,
17692
+ onFocus: zJ
17693
17693
  })
17694
17694
  }),
17695
17695
  y,
17696
- _J ? _J({
17697
- ...PJ,
17698
- startAdornment: SJ
17696
+ vJ ? vJ({
17697
+ ...FJ,
17698
+ startAdornment: CJ
17699
17699
  }) : null
17700
17700
  ]
17701
17701
  })
@@ -18771,30 +18771,30 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18771
18771
  M,
18772
18772
  i,
18773
18773
  a
18774
- ]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), $ = useJsonViewerStore((e2) => e2.onChange), fJ = useTextColor(), pJ = useJsonViewerStore((e2) => e2.colorspace.base0C), mJ = useJsonViewerStore((e2) => e2.colorspace.base0A), hJ = useJsonViewerStore((e2) => e2.displayComma), gJ = useJsonViewerStore((e2) => e2.quotesOnKeys), _J = useJsonViewerStore((e2) => e2.rootName), vJ = U === t, yJ = Number.isInteger(Number(A)), bJ = useJsonViewerStore((e2) => e2.enableAdd), xJ = useJsonViewerStore((e2) => e2.onAdd), SJ = (0, import_react.useMemo)(() => !xJ || a !== void 0 || bJ === false || v === false ? false : typeof bJ == "function" ? !!bJ(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
18775
- xJ,
18774
+ ]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), $ = useJsonViewerStore((e2) => e2.onChange), pJ = useTextColor(), mJ = useJsonViewerStore((e2) => e2.colorspace.base0C), hJ = useJsonViewerStore((e2) => e2.colorspace.base0A), gJ = useJsonViewerStore((e2) => e2.displayComma), _J = useJsonViewerStore((e2) => e2.quotesOnKeys), vJ = useJsonViewerStore((e2) => e2.rootName), yJ = U === t, bJ = Number.isInteger(Number(A)), xJ = useJsonViewerStore((e2) => e2.enableAdd), SJ = useJsonViewerStore((e2) => e2.onAdd), CJ = (0, import_react.useMemo)(() => !SJ || a !== void 0 || xJ === false || v === false ? false : typeof xJ == "function" ? !!xJ(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
18775
+ SJ,
18776
18776
  a,
18777
18777
  i,
18778
- bJ,
18778
+ xJ,
18779
18779
  v,
18780
18780
  t
18781
- ]), CJ = useJsonViewerStore((e2) => e2.enableDelete), wJ = useJsonViewerStore((e2) => e2.onDelete), TJ = (0, import_react.useMemo)(() => !wJ || a !== void 0 || vJ || CJ === false || v === false ? false : typeof CJ == "function" ? !!CJ(i, t) : CJ, [
18782
- wJ,
18781
+ ]), wJ = useJsonViewerStore((e2) => e2.enableDelete), TJ = useJsonViewerStore((e2) => e2.onDelete), EJ = (0, import_react.useMemo)(() => !TJ || a !== void 0 || yJ || wJ === false || v === false ? false : typeof wJ == "function" ? !!wJ(i, t) : wJ, [
18782
+ TJ,
18783
18783
  a,
18784
- vJ,
18784
+ yJ,
18785
18785
  i,
18786
- CJ,
18786
+ wJ,
18787
18787
  v,
18788
18788
  t
18789
- ]), EJ = useJsonViewerStore((e2) => e2.enableClipboard), { copy: DJ, copied: OJ } = useClipboard(), kJ = useJsonViewerStore((e2) => e2.highlightUpdates), AJ = (0, import_react.useMemo)(() => !kJ || n === void 0 ? false : typeof t == typeof n ? typeof t == "number" ? isNaN(t) && isNaN(n) ? false : t !== n : Array.isArray(t) === Array.isArray(n) ? typeof t == "object" || typeof t == "function" ? false : t !== n : true : true, [
18790
- kJ,
18789
+ ]), DJ = useJsonViewerStore((e2) => e2.enableClipboard), { copy: OJ, copied: kJ } = useClipboard(), AJ = useJsonViewerStore((e2) => e2.highlightUpdates), jJ = (0, import_react.useMemo)(() => !AJ || n === void 0 ? false : typeof t == typeof n ? typeof t == "number" ? isNaN(t) && isNaN(n) ? false : t !== n : Array.isArray(t) === Array.isArray(n) ? typeof t == "object" || typeof t == "function" ? false : t !== n : true : true, [
18790
+ AJ,
18791
18791
  n,
18792
18792
  t
18793
- ]), jJ = (0, import_react.useRef)();
18793
+ ]), MJ = (0, import_react.useRef)();
18794
18794
  (0, import_react.useEffect)(() => {
18795
- jJ.current && AJ && "animate" in jJ.current && jJ.current.animate([
18795
+ MJ.current && jJ && "animate" in MJ.current && MJ.current.animate([
18796
18796
  {
18797
- backgroundColor: mJ
18797
+ backgroundColor: hJ
18798
18798
  },
18799
18799
  {
18800
18800
  backgroundColor: ""
@@ -18804,22 +18804,22 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18804
18804
  easing: "ease-in"
18805
18805
  });
18806
18806
  }, [
18807
- mJ,
18808
- AJ,
18807
+ hJ,
18808
+ jJ,
18809
18809
  n,
18810
18810
  t
18811
18811
  ]);
18812
- let MJ = (0, import_react.useCallback)((e2) => {
18812
+ let NJ = (0, import_react.useCallback)((e2) => {
18813
18813
  e2.preventDefault(), h && E(h(t)), Q(true);
18814
18814
  }, [
18815
18815
  h,
18816
18816
  t
18817
- ]), NJ = (0, import_react.useCallback)(() => {
18817
+ ]), PJ = (0, import_react.useCallback)(() => {
18818
18818
  Q(false), E("");
18819
18819
  }, [
18820
18820
  Q,
18821
18821
  E
18822
- ]), PJ = (0, import_react.useCallback)((e2) => {
18822
+ ]), FJ = (0, import_react.useCallback)((e2) => {
18823
18823
  if (Q(false), _) try {
18824
18824
  $(i, t, _(e2));
18825
18825
  } catch {
@@ -18830,14 +18830,14 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18830
18830
  $,
18831
18831
  i,
18832
18832
  t
18833
- ]), FJ = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18833
+ ]), IJ = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18834
18834
  children: [
18835
18835
  (0, import_jsx_runtime.jsx)(IconBox, {
18836
18836
  children: (0, import_jsx_runtime.jsx)(CloseIcon, {
18837
18837
  sx: {
18838
18838
  fontSize: ".8rem"
18839
18839
  },
18840
- onClick: NJ
18840
+ onClick: PJ
18841
18841
  })
18842
18842
  }),
18843
18843
  (0, import_jsx_runtime.jsx)(IconBox, {
@@ -18845,22 +18845,22 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18845
18845
  sx: {
18846
18846
  fontSize: ".8rem"
18847
18847
  },
18848
- onClick: () => PJ(w)
18848
+ onClick: () => FJ(w)
18849
18849
  })
18850
18850
  })
18851
18851
  ]
18852
18852
  }) : (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18853
18853
  children: [
18854
- EJ && (0, import_jsx_runtime.jsx)(IconBox, {
18854
+ DJ && (0, import_jsx_runtime.jsx)(IconBox, {
18855
18855
  onClick: (e2) => {
18856
18856
  e2.preventDefault();
18857
18857
  try {
18858
- DJ(i, t, copyString);
18858
+ OJ(i, t, copyString);
18859
18859
  } catch (e3) {
18860
18860
  console.error(e3);
18861
18861
  }
18862
18862
  },
18863
- children: OJ ? (0, import_jsx_runtime.jsx)(CheckIcon$1, {
18863
+ children: kJ ? (0, import_jsx_runtime.jsx)(CheckIcon$1, {
18864
18864
  sx: {
18865
18865
  fontSize: ".8rem"
18866
18866
  }
@@ -18871,16 +18871,16 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18871
18871
  })
18872
18872
  }),
18873
18873
  f && S && h && _ && (0, import_jsx_runtime.jsx)(IconBox, {
18874
- onClick: MJ,
18874
+ onClick: NJ,
18875
18875
  children: (0, import_jsx_runtime.jsx)(EditIcon, {
18876
18876
  sx: {
18877
18877
  fontSize: ".8rem"
18878
18878
  }
18879
18879
  })
18880
18880
  }),
18881
- SJ && (0, import_jsx_runtime.jsx)(IconBox, {
18881
+ CJ && (0, import_jsx_runtime.jsx)(IconBox, {
18882
18882
  onClick: (e2) => {
18883
- e2.preventDefault(), xJ == null ? void 0 : xJ(i);
18883
+ e2.preventDefault(), SJ == null ? void 0 : SJ(i);
18884
18884
  },
18885
18885
  children: (0, import_jsx_runtime.jsx)(AddBoxIcon, {
18886
18886
  sx: {
@@ -18888,9 +18888,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18888
18888
  }
18889
18889
  })
18890
18890
  }),
18891
- TJ && (0, import_jsx_runtime.jsx)(IconBox, {
18891
+ EJ && (0, import_jsx_runtime.jsx)(IconBox, {
18892
18892
  onClick: (e2) => {
18893
- e2.preventDefault(), wJ == null ? void 0 : wJ(i, t);
18893
+ e2.preventDefault(), TJ == null ? void 0 : TJ(i, t);
18894
18894
  },
18895
18895
  children: (0, import_jsx_runtime.jsx)(DeleteIcon, {
18896
18896
  sx: {
@@ -18903,24 +18903,24 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18903
18903
  f,
18904
18904
  h,
18905
18905
  _,
18906
+ kJ,
18906
18907
  OJ,
18907
- DJ,
18908
18908
  S,
18909
18909
  J,
18910
+ DJ,
18911
+ CJ,
18910
18912
  EJ,
18911
- SJ,
18912
- TJ,
18913
18913
  w,
18914
18914
  i,
18915
18915
  t,
18916
- xJ,
18917
- wJ,
18918
- MJ,
18916
+ SJ,
18917
+ TJ,
18919
18918
  NJ,
18920
- PJ
18921
- ]), IJ = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
18919
+ PJ,
18920
+ FJ
18921
+ ]), LJ = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
18922
18922
  t
18923
- ]), LJ = !IJ && !!(c && d), RJ = useJsonViewerStore((e2) => e2.keyRenderer), zJ = (0, import_react.useMemo)(() => ({
18923
+ ]), RJ = !LJ && !!(c && d), zJ = useJsonViewerStore((e2) => e2.keyRenderer), BJ = (0, import_react.useMemo)(() => ({
18924
18924
  path: i,
18925
18925
  inspect: K,
18926
18926
  setInspect: q,
@@ -18952,18 +18952,18 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18952
18952
  className: "data-key",
18953
18953
  sx: {
18954
18954
  lineHeight: 1.5,
18955
- color: fJ,
18955
+ color: pJ,
18956
18956
  letterSpacing: 0.5,
18957
18957
  opacity: 0.8
18958
18958
  },
18959
18959
  onClick: (0, import_react.useCallback)((e2) => {
18960
- e2.isDefaultPrevented() || IJ || q((e3) => !e3);
18960
+ e2.isDefaultPrevented() || LJ || q((e3) => !e3);
18961
18961
  }, [
18962
- IJ,
18962
+ LJ,
18963
18963
  q
18964
18964
  ]),
18965
18965
  children: [
18966
- LJ ? K ? (0, import_jsx_runtime.jsx)(ExpandMoreIcon, {
18966
+ RJ ? K ? (0, import_jsx_runtime.jsx)(ExpandMoreIcon, {
18967
18967
  className: "data-key-toggle-expanded",
18968
18968
  sx: {
18969
18969
  fontSize: ".8rem",
@@ -18981,27 +18981,27 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18981
18981
  }
18982
18982
  }) : null,
18983
18983
  (0, import_jsx_runtime.jsx)(Box_default, {
18984
- ref: jJ,
18984
+ ref: MJ,
18985
18985
  className: "data-key-key",
18986
18986
  component: "span",
18987
- children: vJ && O === 0 ? _J === false ? null : gJ ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18987
+ children: yJ && O === 0 ? vJ === false ? null : _J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18988
18988
  children: [
18989
18989
  '"',
18990
- _J,
18990
+ vJ,
18991
18991
  '"'
18992
18992
  ]
18993
18993
  }) : (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
18994
- children: _J
18995
- }) : RJ.when(zJ) ? (0, import_jsx_runtime.jsx)(RJ, {
18996
- ...zJ
18997
- }) : a === void 0 && (yJ ? (0, import_jsx_runtime.jsx)(Box_default, {
18994
+ children: vJ
18995
+ }) : zJ.when(BJ) ? (0, import_jsx_runtime.jsx)(zJ, {
18996
+ ...BJ
18997
+ }) : a === void 0 && (bJ ? (0, import_jsx_runtime.jsx)(Box_default, {
18998
18998
  component: "span",
18999
18999
  style: {
19000
- color: pJ,
19001
- userSelect: yJ ? "none" : "auto"
19000
+ color: mJ,
19001
+ userSelect: bJ ? "none" : "auto"
19002
19002
  },
19003
19003
  children: A
19004
- }) : gJ ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
19004
+ }) : _J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
19005
19005
  children: [
19006
19006
  '"',
19007
19007
  A,
@@ -19011,7 +19011,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
19011
19011
  children: A
19012
19012
  }))
19013
19013
  }),
19014
- vJ ? _J !== false && (0, import_jsx_runtime.jsx)(DataBox, {
19014
+ yJ ? vJ !== false && (0, import_jsx_runtime.jsx)(DataBox, {
19015
19015
  className: "data-key-colon",
19016
19016
  sx: {
19017
19017
  mr: 0.5
@@ -19024,38 +19024,38 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
19024
19024
  ".data-key-key:empty + &": {
19025
19025
  display: "none"
19026
19026
  },
19027
- userSelect: yJ ? "none" : "auto"
19027
+ userSelect: bJ ? "none" : "auto"
19028
19028
  },
19029
19029
  children: ":"
19030
19030
  }),
19031
19031
  c && (0, import_jsx_runtime.jsx)(c, {
19032
- ...zJ
19032
+ ...BJ
19033
19033
  }),
19034
- I && LJ && K && FJ
19034
+ I && RJ && K && IJ
19035
19035
  ]
19036
19036
  }),
19037
19037
  J && S ? f && (0, import_jsx_runtime.jsx)(f, {
19038
19038
  path: i,
19039
19039
  value: w,
19040
19040
  setValue: E,
19041
- abortEditing: NJ,
19042
- commitEditing: PJ
19041
+ abortEditing: PJ,
19042
+ commitEditing: FJ
19043
19043
  }) : s ? (0, import_jsx_runtime.jsx)(s, {
19044
- ...zJ
19044
+ ...BJ
19045
19045
  }) : (0, import_jsx_runtime.jsx)(Box_default, {
19046
19046
  component: "span",
19047
19047
  className: "data-value-fallback",
19048
19048
  children: `fallback: ${t}`
19049
19049
  }),
19050
19050
  d && (0, import_jsx_runtime.jsx)(d, {
19051
- ...zJ
19051
+ ...BJ
19052
19052
  }),
19053
- !o && hJ && (0, import_jsx_runtime.jsx)(DataBox, {
19053
+ !o && gJ && (0, import_jsx_runtime.jsx)(DataBox, {
19054
19054
  children: ","
19055
19055
  }),
19056
- I && LJ && !K && FJ,
19057
- I && !LJ && FJ,
19058
- !I && J && FJ
19056
+ I && RJ && !K && IJ,
19057
+ I && !RJ && IJ,
19058
+ !I && J && IJ
19059
19059
  ]
19060
19060
  });
19061
19061
  }, query = "(prefers-color-scheme: dark)";
@@ -20143,18 +20143,18 @@ ${n}` : "Please fix this error.";
20143
20143
  }
20144
20144
  let y, S, w, E, A, M;
20145
20145
  if (t[2] !== f || t[3] !== i || t[4] !== s || t[5] !== a || t[6] !== n || t[7] !== c || t[8] !== v || t[9] !== _ || t[10] !== d) {
20146
- let e2 = n.filter(_temp8), O = n.filter(_temp9), I2 = n.filter(_temp0), z2 = 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), fJ = n.filter(_temp16), pJ = n.filter(_temp17), mJ = n.filter(_temp18), hJ;
20147
- t[17] === s ? hJ = t[18] : (hJ = () => {
20146
+ let e2 = n.filter(_temp8), O = n.filter(_temp9), I2 = n.filter(_temp0), z2 = 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), pJ = n.filter(_temp16), mJ = n.filter(_temp17), hJ = n.filter(_temp18), gJ;
20147
+ t[17] === s ? gJ = t[18] : (gJ = () => {
20148
20148
  s.openApplication("scratchpad");
20149
- }, t[17] = s, t[18] = hJ);
20150
- let gJ = hJ, _J = () => {
20149
+ }, t[17] = s, t[18] = gJ);
20150
+ let _J = gJ, vJ = () => {
20151
20151
  let t2 = [];
20152
- if (fJ.length > 0 || pJ.length > 0) {
20153
- let e3 = fJ.some(_temp19), n2 = !e3 && fJ.some(_temp20);
20152
+ if (pJ.length > 0 || mJ.length > 0) {
20153
+ let e3 = pJ.some(_temp19), n2 = !e3 && pJ.some(_temp20);
20154
20154
  t2.push((0, import_jsx_runtime.jsxs)("div", {
20155
20155
  children: [
20156
- fJ.map(_temp21),
20157
- pJ.map(_temp22),
20156
+ pJ.map(_temp21),
20157
+ mJ.map(_temp22),
20158
20158
  e3 && (0, import_jsx_runtime.jsxs)(Button, {
20159
20159
  size: "xs",
20160
20160
  variant: "outline",
@@ -20185,8 +20185,8 @@ ${n}` : "Please fix this error.";
20185
20185
  }),
20186
20186
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20187
20187
  errors: [
20188
- ...fJ,
20189
- ...pJ
20188
+ ...pJ,
20189
+ ...mJ
20190
20190
  ],
20191
20191
  cellId: i
20192
20192
  })
@@ -20347,7 +20347,7 @@ ${n}` : "Please fix this error.";
20347
20347
  size: "xs",
20348
20348
  variant: "link",
20349
20349
  className: "my-2 font-normal mx-0 px-0",
20350
- onClick: gJ,
20350
+ onClick: _J,
20351
20351
  children: [
20352
20352
  (0, import_jsx_runtime.jsx)(NotebookPen, {
20353
20353
  className: "h-3"
@@ -20546,18 +20546,18 @@ ${n}` : "Please fix this error.";
20546
20546
  cellId: i
20547
20547
  })
20548
20548
  ]
20549
- }, "ancestor-stopped")), mJ.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20549
+ }, "ancestor-stopped")), hJ.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20550
20550
  children: [
20551
- mJ.map(_temp35),
20551
+ hJ.map(_temp35),
20552
20552
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20553
- errors: mJ,
20553
+ errors: hJ,
20554
20554
  cellId: i,
20555
20555
  className: "mt-2.5"
20556
20556
  })
20557
20557
  ]
20558
20558
  }, "sql-errors")), t2;
20559
- }, vJ;
20560
- t[19] === v ? vJ = t[20] : (vJ = v && (0, import_jsx_runtime.jsxs)("div", {
20559
+ }, yJ;
20560
+ t[19] === v ? yJ = t[20] : (yJ = v && (0, import_jsx_runtime.jsxs)("div", {
20561
20561
  className: "flex items-center gap-1 font-code text-[0.6875rem] uppercase tracking-wider text-muted-foreground/70",
20562
20562
  children: [
20563
20563
  v,
@@ -20569,22 +20569,22 @@ ${n}` : "Please fix this error.";
20569
20569
  })
20570
20570
  })
20571
20571
  ]
20572
- }), t[19] = v, t[20] = vJ);
20573
- let bJ;
20574
- t[21] !== _ || t[22] !== d ? (bJ = d && (0, import_jsx_runtime.jsx)(AlertTitle, {
20572
+ }), t[19] = v, t[20] = yJ);
20573
+ let xJ;
20574
+ t[21] !== _ || t[22] !== d ? (xJ = d && (0, import_jsx_runtime.jsx)(AlertTitle, {
20575
20575
  className: `font-code font-medium ${_}`,
20576
20576
  children: d
20577
- }), t[21] = _, t[22] = d, t[23] = bJ) : bJ = t[23];
20578
- let xJ;
20579
- t[24] !== vJ || t[25] !== bJ ? (xJ = (0, import_jsx_runtime.jsxs)("div", {
20577
+ }), t[21] = _, t[22] = d, t[23] = xJ) : xJ = t[23];
20578
+ let SJ;
20579
+ t[24] !== yJ || t[25] !== xJ ? (SJ = (0, import_jsx_runtime.jsxs)("div", {
20580
20580
  className: "space-y-0.5",
20581
20581
  children: [
20582
- vJ,
20583
- bJ
20582
+ yJ,
20583
+ xJ
20584
20584
  ]
20585
- }), t[24] = vJ, t[25] = bJ, t[26] = xJ) : xJ = t[26];
20586
- let CJ = xJ;
20587
- y = Alert, E = f, t[27] === a ? A = t[28] : (A = cn("border-none font-code text-sm text-[0.84375rem] p-0 text-muted-foreground normal has-[svg]:pl-0 space-y-2", a), t[27] = a, t[28] = A), M = CJ, S = "flex flex-col gap-4", w = _J(), t[2] = f, t[3] = i, t[4] = s, t[5] = a, t[6] = n, t[7] = c, t[8] = v, t[9] = _, t[10] = d, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = A, t[16] = M;
20585
+ }), t[24] = yJ, t[25] = xJ, t[26] = SJ) : SJ = t[26];
20586
+ let wJ = SJ;
20587
+ y = Alert, E = f, t[27] === a ? A = t[28] : (A = cn("border-none font-code text-sm text-[0.84375rem] p-0 text-muted-foreground normal has-[svg]:pl-0 space-y-2", a), t[27] = a, t[28] = A), M = wJ, S = "flex flex-col gap-4", w = vJ(), t[2] = f, t[3] = i, t[4] = s, t[5] = a, t[6] = n, t[7] = c, t[8] = v, t[9] = _, t[10] = d, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = A, t[16] = M;
20588
20588
  } else y = t[11], S = t[12], w = t[13], E = t[14], A = t[15], M = t[16];
20589
20589
  let I;
20590
20590
  t[29] !== S || t[30] !== w ? (I = (0, import_jsx_runtime.jsx)("div", {
@@ -26660,7 +26660,7 @@ ${n}` : "Please fix this error.";
26660
26660
  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 }) {
26661
26661
  let E = (0, import_react.useContext)(PanelGroupContext);
26662
26662
  if (E === null) throw Error("Panel components must be rendered within a PanelGroup container");
26663
- let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, $ = useUniqueId(s), fJ = (0, import_react.useRef)({
26663
+ let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, $ = useUniqueId(s), pJ = (0, import_react.useRef)({
26664
26664
  callbacks: {
26665
26665
  onCollapse: f,
26666
26666
  onExpand: h,
@@ -26680,12 +26680,12 @@ ${n}` : "Please fix this error.";
26680
26680
  (0, import_react.useRef)({
26681
26681
  didLogMissingDefaultSizeWarning: false
26682
26682
  }), useIsomorphicLayoutEffect$1(() => {
26683
- let { callbacks: e2, constraints: t2 } = fJ.current, o2 = {
26683
+ let { callbacks: e2, constraints: t2 } = pJ.current, o2 = {
26684
26684
  ...t2
26685
26685
  };
26686
- fJ.current.id = $, fJ.current.idIsFromProps = s !== void 0, fJ.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(fJ.current, o2);
26686
+ pJ.current.id = $, pJ.current.idIsFromProps = s !== void 0, pJ.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(pJ.current, o2);
26687
26687
  }), useIsomorphicLayoutEffect$1(() => {
26688
- let e2 = fJ.current;
26688
+ let e2 = pJ.current;
26689
26689
  return q(e2), () => {
26690
26690
  Q(e2);
26691
26691
  };
@@ -26696,25 +26696,25 @@ ${n}` : "Please fix this error.";
26696
26696
  Q
26697
26697
  ]), (0, import_react.useImperativeHandle)(o, () => ({
26698
26698
  collapse: () => {
26699
- O(fJ.current);
26699
+ O(pJ.current);
26700
26700
  },
26701
26701
  expand: (e2) => {
26702
- A(fJ.current, e2);
26702
+ A(pJ.current, e2);
26703
26703
  },
26704
26704
  getId() {
26705
26705
  return $;
26706
26706
  },
26707
26707
  getSize() {
26708
- return M(fJ.current);
26708
+ return M(pJ.current);
26709
26709
  },
26710
26710
  isCollapsed() {
26711
- return U(fJ.current);
26711
+ return U(pJ.current);
26712
26712
  },
26713
26713
  isExpanded() {
26714
- return !U(fJ.current);
26714
+ return !U(pJ.current);
26715
26715
  },
26716
26716
  resize: (e2) => {
26717
- J(fJ.current, e2);
26717
+ J(pJ.current, e2);
26718
26718
  }
26719
26719
  }), [
26720
26720
  O,
@@ -26724,21 +26724,21 @@ ${n}` : "Please fix this error.";
26724
26724
  $,
26725
26725
  J
26726
26726
  ]);
26727
- let pJ = I(fJ.current, a);
26727
+ let mJ = I(pJ.current, a);
26728
26728
  return (0, import_react.createElement)(S, {
26729
26729
  ...w,
26730
26730
  children: e,
26731
26731
  className: t,
26732
26732
  id: $,
26733
26733
  style: {
26734
- ...pJ,
26734
+ ...mJ,
26735
26735
  ...y
26736
26736
  },
26737
26737
  [DATA_ATTRIBUTES.groupId]: z,
26738
26738
  [DATA_ATTRIBUTES.panel]: "",
26739
26739
  [DATA_ATTRIBUTES.panelCollapsible]: i || void 0,
26740
26740
  [DATA_ATTRIBUTES.panelId]: $,
26741
- [DATA_ATTRIBUTES.panelSize]: parseFloat("" + pJ.flexGrow).toFixed(1)
26741
+ [DATA_ATTRIBUTES.panelSize]: parseFloat("" + mJ.flexGrow).toFixed(1)
26742
26742
  });
26743
26743
  }
26744
26744
  Panel = (0, import_react.forwardRef)((e, t) => (0, import_react.createElement)(PanelWithForwardedRef, {
@@ -27523,13 +27523,13 @@ ${n}` : "Please fix this error.";
27523
27523
  }, [
27524
27524
  S,
27525
27525
  E
27526
- ]), fJ = (0, import_react.useCallback)((e2) => {
27526
+ ]), pJ = (0, import_react.useCallback)((e2) => {
27527
27527
  let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
27528
27528
  return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), a2 === true && fuzzyNumbersEqual$1(o2, i2);
27529
- }, []), pJ = (0, import_react.useCallback)((e2) => {
27529
+ }, []), mJ = (0, import_react.useCallback)((e2) => {
27530
27530
  let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
27531
27531
  return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), !a2 || fuzzyCompareNumbers(o2, i2) > 0;
27532
- }, []), mJ = (0, import_react.useCallback)((e2) => {
27532
+ }, []), hJ = (0, import_react.useCallback)((e2) => {
27533
27533
  let { panelDataArray: t2 } = K.current;
27534
27534
  t2.push(e2), t2.sort((e3, t3) => {
27535
27535
  let n2 = e3.order, i2 = t3.order;
@@ -27561,7 +27561,7 @@ ${n}` : "Please fix this error.";
27561
27561
  e2.layout = [];
27562
27562
  };
27563
27563
  }, []);
27564
- let hJ = (0, import_react.useCallback)((e2) => {
27564
+ let gJ = (0, import_react.useCallback)((e2) => {
27565
27565
  let t2 = false, n2 = y.current;
27566
27566
  return n2 && window.getComputedStyle(n2, null).getPropertyValue("direction") === "rtl" && (t2 = true), function(n3) {
27567
27567
  n3.preventDefault();
@@ -27579,7 +27579,7 @@ ${n}` : "Please fix this error.";
27579
27579
  }), I2 = !compareLayouts(f2, A2);
27580
27580
  (isPointerEvent(n3) || isMouseEvent(n3)) && z.current != S2 && (z.current = S2, !I2 && S2 !== 0 ? w2 ? reportConstraintsViolation(e2, S2 < 0 ? EXCEEDED_HORIZONTAL_MIN : EXCEEDED_HORIZONTAL_MAX) : reportConstraintsViolation(e2, S2 < 0 ? EXCEEDED_VERTICAL_MIN : EXCEEDED_VERTICAL_MAX) : reportConstraintsViolation(e2, 0)), I2 && (O(A2), K.current.layout = A2, d2 && d2(A2), callPanelCallbacks(h2, A2, M.current));
27581
27581
  };
27582
- }, []), gJ = (0, import_react.useCallback)((e2, t2) => {
27582
+ }, []), _J = (0, import_react.useCallback)((e2, t2) => {
27583
27583
  let { onLayout: n2 } = U.current, { layout: i2, panelDataArray: a2 } = K.current, o2 = a2.map((e3) => e3.constraints), { panelSize: s2, pivotIndices: c2 } = panelDataHelper(a2, e2, i2);
27584
27584
  assert(s2 != null, `Panel size not found for panel "${e2.id}"`);
27585
27585
  let d2 = adjustLayoutByDelta({
@@ -27591,12 +27591,12 @@ ${n}` : "Please fix this error.";
27591
27591
  trigger: "imperative-api"
27592
27592
  });
27593
27593
  compareLayouts(i2, d2) || (O(d2), K.current.layout = d2, n2 && n2(d2), callPanelCallbacks(a2, d2, M.current));
27594
- }, []), _J = (0, import_react.useCallback)((e2, t2) => {
27594
+ }, []), vJ = (0, import_react.useCallback)((e2, t2) => {
27595
27595
  let { layout: n2, panelDataArray: i2 } = K.current, { collapsedSize: a2 = 0, collapsible: o2 } = t2, { collapsedSize: s2 = 0, collapsible: c2, maxSize: d2 = 100, minSize: f2 = 0 } = e2.constraints, { panelSize: h2 } = panelDataHelper(i2, e2, n2);
27596
- h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) || gJ(e2, s2) : h2 < f2 ? gJ(e2, f2) : h2 > d2 && gJ(e2, d2));
27596
+ h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) || _J(e2, s2) : h2 < f2 ? _J(e2, f2) : h2 > d2 && _J(e2, d2));
27597
27597
  }, [
27598
- gJ
27599
- ]), vJ = (0, import_react.useCallback)((e2, t2) => {
27598
+ _J
27599
+ ]), yJ = (0, import_react.useCallback)((e2, t2) => {
27600
27600
  let { direction: n2 } = U.current, { layout: i2 } = K.current;
27601
27601
  if (!y.current) return;
27602
27602
  let a2 = getResizeHandleElement(e2, y.current);
@@ -27608,14 +27608,14 @@ ${n}` : "Please fix this error.";
27608
27608
  initialCursorPosition: o2,
27609
27609
  initialLayout: i2
27610
27610
  });
27611
- }, []), yJ = (0, import_react.useCallback)(() => {
27611
+ }, []), bJ = (0, import_react.useCallback)(() => {
27612
27612
  w(null);
27613
- }, []), bJ = (0, import_react.useCallback)((e2) => {
27613
+ }, []), xJ = (0, import_react.useCallback)((e2) => {
27614
27614
  let { panelDataArray: t2 } = K.current, n2 = findPanelDataIndex(t2, e2);
27615
27615
  n2 >= 0 && (t2.splice(n2, 1), delete M.current[e2.id], K.current.panelDataArrayChanged = true, A());
27616
27616
  }, [
27617
27617
  A
27618
- ]), xJ = (0, import_react.useMemo)(() => ({
27618
+ ]), SJ = (0, import_react.useMemo)(() => ({
27619
27619
  collapsePanel: q,
27620
27620
  direction: i,
27621
27621
  dragState: S,
@@ -27623,15 +27623,15 @@ ${n}` : "Please fix this error.";
27623
27623
  getPanelSize: Q,
27624
27624
  getPanelStyle: $,
27625
27625
  groupId: v,
27626
- isPanelCollapsed: fJ,
27627
- isPanelExpanded: pJ,
27628
- reevaluatePanelConstraints: _J,
27629
- registerPanel: mJ,
27630
- registerResizeHandle: hJ,
27631
- resizePanel: gJ,
27632
- startDragging: vJ,
27633
- stopDragging: yJ,
27634
- unregisterPanel: bJ,
27626
+ isPanelCollapsed: pJ,
27627
+ isPanelExpanded: mJ,
27628
+ reevaluatePanelConstraints: vJ,
27629
+ registerPanel: hJ,
27630
+ registerResizeHandle: gJ,
27631
+ resizePanel: _J,
27632
+ startDragging: yJ,
27633
+ stopDragging: bJ,
27634
+ unregisterPanel: xJ,
27635
27635
  panelGroupElement: y.current
27636
27636
  }), [
27637
27637
  q,
@@ -27641,16 +27641,16 @@ ${n}` : "Please fix this error.";
27641
27641
  Q,
27642
27642
  $,
27643
27643
  v,
27644
- fJ,
27645
27644
  pJ,
27646
- _J,
27647
27645
  mJ,
27646
+ vJ,
27648
27647
  hJ,
27649
27648
  gJ,
27650
- vJ,
27649
+ _J,
27651
27650
  yJ,
27652
- bJ
27653
- ]), SJ = {
27651
+ bJ,
27652
+ xJ
27653
+ ]), CJ = {
27654
27654
  display: "flex",
27655
27655
  flexDirection: i === "horizontal" ? "row" : "column",
27656
27656
  height: "100%",
@@ -27658,7 +27658,7 @@ ${n}` : "Please fix this error.";
27658
27658
  width: "100%"
27659
27659
  };
27660
27660
  return (0, import_react.createElement)(PanelGroupContext.Provider, {
27661
- value: xJ
27661
+ value: SJ
27662
27662
  }, (0, import_react.createElement)(h, {
27663
27663
  ..._,
27664
27664
  children: t,
@@ -27666,7 +27666,7 @@ ${n}` : "Please fix this error.";
27666
27666
  id: o,
27667
27667
  ref: y,
27668
27668
  style: {
27669
- ...SJ,
27669
+ ...CJ,
27670
27670
  ...f
27671
27671
  },
27672
27672
  [DATA_ATTRIBUTES.group]: "",
@@ -27743,31 +27743,31 @@ ${n}` : "Please fix this error.";
27743
27743
  });
27744
27744
  let O = (0, import_react.useContext)(PanelGroupContext);
27745
27745
  if (O === null) throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");
27746
- let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [$, fJ] = (0, import_react.useState)(false), [pJ, mJ] = (0, import_react.useState)(null), hJ = (0, import_react.useRef)({
27746
+ let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [$, pJ] = (0, import_react.useState)(false), [mJ, hJ] = (0, import_react.useState)(null), gJ = (0, import_react.useRef)({
27747
27747
  state: J
27748
27748
  });
27749
27749
  useIsomorphicLayoutEffect$1(() => {
27750
- hJ.current.state = J;
27750
+ gJ.current.state = J;
27751
27751
  }), (0, import_react.useEffect)(() => {
27752
- if (n) mJ(null);
27752
+ if (n) hJ(null);
27753
27753
  else {
27754
27754
  let e2 = I(q);
27755
- mJ(() => e2);
27755
+ hJ(() => e2);
27756
27756
  }
27757
27757
  }, [
27758
27758
  n,
27759
27759
  q,
27760
27760
  I
27761
27761
  ]);
27762
- let gJ = (i == null ? void 0 : i.coarse) ?? 15, _J = (i == null ? void 0 : i.fine) ?? 5;
27762
+ let _J = (i == null ? void 0 : i.coarse) ?? 15, vJ = (i == null ? void 0 : i.fine) ?? 5;
27763
27763
  (0, import_react.useEffect)(() => {
27764
- if (n || pJ == null) return;
27764
+ if (n || mJ == null) return;
27765
27765
  let e2 = w.current;
27766
27766
  assert(e2, "Element ref not attached");
27767
27767
  let t2 = false;
27768
27768
  return registerResizeHandle(q, e2, A, {
27769
- coarse: gJ,
27770
- fine: _J
27769
+ coarse: _J,
27770
+ fine: vJ
27771
27771
  }, (e3, n2, i2) => {
27772
27772
  if (!n2) {
27773
27773
  Q("inactive");
@@ -27781,8 +27781,8 @@ ${n}` : "Please fix this error.";
27781
27781
  break;
27782
27782
  }
27783
27783
  case "move": {
27784
- let { state: e4 } = hJ.current;
27785
- t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), pJ(i2);
27784
+ let { state: e4 } = gJ.current;
27785
+ t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), mJ(i2);
27786
27786
  break;
27787
27787
  }
27788
27788
  case "up": {
@@ -27794,22 +27794,22 @@ ${n}` : "Please fix this error.";
27794
27794
  }
27795
27795
  });
27796
27796
  }, [
27797
- gJ,
27797
+ _J,
27798
27798
  A,
27799
27799
  n,
27800
- _J,
27800
+ vJ,
27801
27801
  I,
27802
27802
  q,
27803
- pJ,
27803
+ mJ,
27804
27804
  z,
27805
27805
  U
27806
27806
  ]), useWindowSplitterResizeHandlerBehavior({
27807
27807
  disabled: n,
27808
27808
  handleId: q,
27809
- resizeHandler: pJ,
27809
+ resizeHandler: mJ,
27810
27810
  panelGroupElement: K
27811
27811
  });
27812
- let vJ = {
27812
+ let yJ = {
27813
27813
  touchAction: "none",
27814
27814
  userSelect: "none"
27815
27815
  };
@@ -27819,15 +27819,15 @@ ${n}` : "Please fix this error.";
27819
27819
  className: t,
27820
27820
  id: a,
27821
27821
  onBlur: () => {
27822
- fJ(false), o == null ? void 0 : o();
27822
+ pJ(false), o == null ? void 0 : o();
27823
27823
  },
27824
27824
  onFocus: () => {
27825
- fJ(true), d == null ? void 0 : d();
27825
+ pJ(true), d == null ? void 0 : d();
27826
27826
  },
27827
27827
  ref: w,
27828
27828
  role: "separator",
27829
27829
  style: {
27830
- ...vJ,
27830
+ ...yJ,
27831
27831
  ..._
27832
27832
  },
27833
27833
  tabIndex: v,
@@ -28126,7 +28126,7 @@ ${n}` : "Please fix this error.";
28126
28126
  }, [
28127
28127
  h
28128
28128
  ]), k(() => {
28129
- U(6, pJ);
28129
+ U(6, mJ);
28130
28130
  }, []);
28131
28131
  let K = import_react.useMemo(() => ({
28132
28132
  subscribe: (e2) => (s.current.add(e2), () => s.current.delete(e2)),
@@ -28135,7 +28135,7 @@ ${n}` : "Please fix this error.";
28135
28135
  var _a2;
28136
28136
  var a2, o2, s2;
28137
28137
  if (!Object.is(n.current[e2], t2)) {
28138
- if (n.current[e2] = t2, e2 === "search") fJ(), Q(), U(1, $);
28138
+ if (n.current[e2] = t2, e2 === "search") pJ(), Q(), U(1, $);
28139
28139
  else if (e2 === "value") {
28140
28140
  if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
28141
28141
  let e3 = document.getElementById(I);
@@ -28143,8 +28143,8 @@ ${n}` : "Please fix this error.";
28143
28143
  }
28144
28144
  if (U(7, () => {
28145
28145
  var _a3;
28146
- n.current.selectedItemId = (_a3 = mJ()) == null ? void 0 : _a3.id, K.emit();
28147
- }), i2 || U(5, pJ), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
28146
+ n.current.selectedItemId = (_a3 = hJ()) == null ? void 0 : _a3.id, K.emit();
28147
+ }), i2 || U(5, mJ), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
28148
28148
  let e3 = t2 ?? "";
28149
28149
  (s2 = (o2 = c.current).onValueChange) == null || s2.call(o2, e3);
28150
28150
  return;
@@ -28169,12 +28169,12 @@ ${n}` : "Please fix this error.";
28169
28169
  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([
28170
28170
  e2
28171
28171
  ]))), U(3, () => {
28172
- fJ(), Q(), n.current.value || $(), K.emit();
28172
+ pJ(), Q(), n.current.value || $(), K.emit();
28173
28173
  }), () => {
28174
28174
  o.current.delete(e2), i.current.delete(e2), n.current.filtered.items.delete(e2);
28175
- let t3 = mJ();
28175
+ let t3 = hJ();
28176
28176
  U(4, () => {
28177
- fJ(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && $(), K.emit();
28177
+ pJ(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && $(), K.emit();
28178
28178
  });
28179
28179
  }),
28180
28180
  group: (e2) => (a.current.has(e2) || a.current.set(e2, /* @__PURE__ */ new Set()), () => {
@@ -28207,7 +28207,7 @@ ${n}` : "Please fix this error.";
28207
28207
  ]);
28208
28208
  });
28209
28209
  let i2 = z.current;
28210
- hJ().sort((t3, n2) => {
28210
+ gJ().sort((t3, n2) => {
28211
28211
  let i3 = t3.getAttribute("id"), a2 = n2.getAttribute("id");
28212
28212
  return (e2.get(a2) ?? 0) - (e2.get(i3) ?? 0);
28213
28213
  }).forEach((e3) => {
@@ -28221,10 +28221,10 @@ ${n}` : "Please fix this error.";
28221
28221
  }
28222
28222
  function $() {
28223
28223
  var _a2;
28224
- let e2 = (_a2 = hJ().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
28224
+ let e2 = (_a2 = gJ().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
28225
28225
  K.setState("value", e2 || void 0);
28226
28226
  }
28227
- function fJ() {
28227
+ function pJ() {
28228
28228
  var _a2, _b;
28229
28229
  if (!n.current.search || c.current.shouldFilter === false) {
28230
28230
  n.current.filtered.count = i.current.size;
@@ -28242,43 +28242,43 @@ ${n}` : "Please fix this error.";
28242
28242
  }
28243
28243
  n.current.filtered.count = e2;
28244
28244
  }
28245
- function pJ() {
28245
+ function mJ() {
28246
28246
  var _a2, _b;
28247
28247
  var e2;
28248
- let t2 = mJ();
28248
+ let t2 = hJ();
28249
28249
  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({
28250
28250
  block: "nearest"
28251
28251
  })), t2.scrollIntoView({
28252
28252
  block: "nearest"
28253
28253
  }));
28254
28254
  }
28255
- function mJ() {
28255
+ function hJ() {
28256
28256
  var _a2;
28257
28257
  return (_a2 = z.current) == null ? void 0 : _a2.querySelector(`${le}[aria-selected="true"]`);
28258
28258
  }
28259
- function hJ() {
28259
+ function gJ() {
28260
28260
  var _a2;
28261
28261
  return Array.from(((_a2 = z.current) == null ? void 0 : _a2.querySelectorAll(ce$1)) || []);
28262
28262
  }
28263
- function gJ(e2) {
28264
- let t2 = hJ()[e2];
28263
+ function _J(e2) {
28264
+ let t2 = gJ()[e2];
28265
28265
  t2 && K.setState("value", t2.getAttribute(T));
28266
28266
  }
28267
- function _J(e2) {
28267
+ function vJ(e2) {
28268
28268
  var t2;
28269
- let n2 = mJ(), i2 = hJ(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
28269
+ let n2 = hJ(), i2 = gJ(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
28270
28270
  (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));
28271
28271
  }
28272
- function vJ(e2) {
28272
+ function yJ(e2) {
28273
28273
  var _a2;
28274
- let t2 = (_a2 = mJ()) == null ? void 0 : _a2.closest(N$1), n2;
28274
+ let t2 = (_a2 = hJ()) == null ? void 0 : _a2.closest(N$1), n2;
28275
28275
  for (; t2 && !n2; ) t2 = e2 > 0 ? we(t2, N$1) : De(t2, N$1), n2 = t2 == null ? void 0 : t2.querySelector(ce$1);
28276
- n2 ? K.setState("value", n2.getAttribute(T)) : _J(e2);
28276
+ n2 ? K.setState("value", n2.getAttribute(T)) : vJ(e2);
28277
28277
  }
28278
- let yJ = () => gJ(hJ().length - 1), bJ = (e2) => {
28279
- e2.preventDefault(), e2.metaKey ? yJ() : e2.altKey ? vJ(1) : _J(1);
28280
- }, xJ = (e2) => {
28281
- e2.preventDefault(), e2.metaKey ? gJ(0) : e2.altKey ? vJ(-1) : _J(-1);
28278
+ let bJ = () => _J(gJ().length - 1), xJ = (e2) => {
28279
+ e2.preventDefault(), e2.metaKey ? bJ() : e2.altKey ? yJ(1) : vJ(1);
28280
+ }, SJ = (e2) => {
28281
+ e2.preventDefault(), e2.metaKey ? _J(0) : e2.altKey ? yJ(-1) : vJ(-1);
28282
28282
  };
28283
28283
  return import_react.createElement(Primitive.div, {
28284
28284
  ref: t,
@@ -28292,27 +28292,27 @@ ${n}` : "Please fix this error.";
28292
28292
  if (!(e2.defaultPrevented || n2)) switch (e2.key) {
28293
28293
  case "n":
28294
28294
  case "j":
28295
- E && e2.ctrlKey && bJ(e2);
28295
+ E && e2.ctrlKey && xJ(e2);
28296
28296
  break;
28297
28297
  case "ArrowDown":
28298
- bJ(e2);
28298
+ xJ(e2);
28299
28299
  break;
28300
28300
  case "p":
28301
28301
  case "k":
28302
- E && e2.ctrlKey && xJ(e2);
28302
+ E && e2.ctrlKey && SJ(e2);
28303
28303
  break;
28304
28304
  case "ArrowUp":
28305
- xJ(e2);
28305
+ SJ(e2);
28306
28306
  break;
28307
28307
  case "Home":
28308
- e2.preventDefault(), gJ(0);
28308
+ e2.preventDefault(), _J(0);
28309
28309
  break;
28310
28310
  case "End":
28311
- e2.preventDefault(), yJ();
28311
+ e2.preventDefault(), bJ();
28312
28312
  break;
28313
28313
  case "Enter": {
28314
28314
  e2.preventDefault();
28315
- let t3 = mJ();
28315
+ let t3 = hJ();
28316
28316
  if (t3) {
28317
28317
  let e3 = new Event(Z);
28318
28318
  t3.dispatchEvent(e3);
@@ -28721,153 +28721,153 @@ ${n}` : "Please fix this error.";
28721
28721
  Combobox = (e) => {
28722
28722
  let t = (0, import_compiler_runtime$35.c)(106), n, i, a, s, c, d, f, h, _, v, y, S, w, E, O, A, M, I, z, U, K, q, J, Q;
28723
28723
  t[0] === e ? (n = t[1], i = t[2], a = t[3], s = t[4], c = t[5], d = t[6], f = t[7], h = t[8], _ = t[9], v = t[10], y = t[11], S = t[12], w = t[13], E = t[14], O = t[15], A = t[16], M = t[17], I = t[18], z = t[19], U = t[20], K = t[21], q = t[22], J = t[23], Q = t[24]) : ({ children: n, displayValue: d, className: a, placeholder: E, value: Q, defaultValue: c, onValueChange: S, multiple: I, shouldFilter: z, filterFn: f, open: w, defaultOpen: s, onOpenChange: v, inputPlaceholder: U, search: M, onSearchChange: y, emptyState: K, chips: q, chipsClassName: i, keepPopoverOpenOnSelect: _, id: h, disabled: J, renderValue: O, ...A } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a, t[4] = s, t[5] = c, t[6] = d, t[7] = f, t[8] = h, t[9] = _, t[10] = v, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = O, t[16] = A, t[17] = M, t[18] = I, t[19] = z, t[20] = U, t[21] = K, t[22] = q, t[23] = J, t[24] = Q);
28724
- let $ = I === void 0 ? false : I, fJ = z === void 0 ? true : z, pJ = U === void 0 ? "Search..." : U, mJ = K === void 0 ? "Nothing found." : K, hJ = q === void 0 ? false : q, gJ = J === void 0 ? false : J, _J = s ?? false, vJ;
28725
- t[25] !== v || t[26] !== w || t[27] !== _J ? (vJ = {
28724
+ let $ = I === void 0 ? false : I, pJ = z === void 0 ? true : z, mJ = U === void 0 ? "Search..." : U, hJ = K === void 0 ? "Nothing found." : K, gJ = q === void 0 ? false : q, _J = J === void 0 ? false : J, vJ = s ?? false, yJ;
28725
+ t[25] !== v || t[26] !== w || t[27] !== vJ ? (yJ = {
28726
28726
  prop: w,
28727
- defaultProp: _J,
28727
+ defaultProp: vJ,
28728
28728
  onChange: v
28729
- }, t[25] = v, t[26] = w, t[27] = _J, t[28] = vJ) : vJ = t[28];
28730
- let [yJ, bJ] = useControllableState(vJ), xJ = yJ === void 0 ? false : yJ, SJ;
28731
- t[29] === S ? SJ = t[30] : (SJ = (e2) => {
28729
+ }, t[25] = v, t[26] = w, t[27] = vJ, t[28] = yJ) : yJ = t[28];
28730
+ let [bJ, xJ] = useControllableState(yJ), SJ = bJ === void 0 ? false : bJ, CJ;
28731
+ t[29] === S ? CJ = t[30] : (CJ = (e2) => {
28732
28732
  S == null ? void 0 : S(e2);
28733
- }, t[29] = S, t[30] = SJ);
28734
- let CJ;
28735
- t[31] !== c || t[32] !== SJ || t[33] !== Q ? (CJ = {
28733
+ }, t[29] = S, t[30] = CJ);
28734
+ let wJ;
28735
+ t[31] !== c || t[32] !== CJ || t[33] !== Q ? (wJ = {
28736
28736
  prop: Q,
28737
28737
  defaultProp: c,
28738
- onChange: SJ
28739
- }, t[31] = c, t[32] = SJ, t[33] = Q, t[34] = CJ) : CJ = t[34];
28740
- let [wJ, TJ] = useControllableState(CJ), EJ;
28741
- t[35] === wJ ? EJ = t[36] : (EJ = (e2) => Array.isArray(wJ) ? wJ.includes(e2) : wJ === e2, t[35] = wJ, t[36] = EJ);
28742
- let DJ = EJ, OJ;
28743
- t[37] !== _ || t[38] !== $ || t[39] !== bJ || t[40] !== TJ || t[41] !== wJ ? (OJ = (e2) => {
28738
+ onChange: CJ
28739
+ }, t[31] = c, t[32] = CJ, t[33] = Q, t[34] = wJ) : wJ = t[34];
28740
+ let [TJ, EJ] = useControllableState(wJ), DJ;
28741
+ t[35] === TJ ? DJ = t[36] : (DJ = (e2) => Array.isArray(TJ) ? TJ.includes(e2) : TJ === e2, t[35] = TJ, t[36] = DJ);
28742
+ let OJ = DJ, kJ;
28743
+ t[37] !== _ || t[38] !== $ || t[39] !== xJ || t[40] !== EJ || t[41] !== TJ ? (kJ = (e2) => {
28744
28744
  let t2 = e2;
28745
- if ($) if (Array.isArray(wJ)) if (wJ.includes(t2)) {
28746
- let n2 = wJ.filter((t3) => t3 !== e2);
28745
+ if ($) if (Array.isArray(TJ)) if (TJ.includes(t2)) {
28746
+ let n2 = TJ.filter((t3) => t3 !== e2);
28747
28747
  t2 = n2.length > 0 ? n2 : [];
28748
28748
  } else t2 = [
28749
- ...wJ,
28749
+ ...TJ,
28750
28750
  t2
28751
28751
  ];
28752
28752
  else t2 = [
28753
28753
  t2
28754
28754
  ];
28755
- else wJ === e2 && (t2 = null);
28756
- TJ(t2), (_ ?? $) || bJ(false);
28757
- }, t[37] = _, t[38] = $, t[39] = bJ, t[40] = TJ, t[41] = wJ, t[42] = OJ) : OJ = t[42];
28758
- let kJ = OJ, jJ;
28759
- t[43] !== hJ || t[44] !== d || t[45] !== $ || t[46] !== E || t[47] !== wJ ? (jJ = () => $ && hJ && E ? E : wJ == null ? E ?? "--" : Array.isArray(wJ) ? wJ.length === 0 ? E ?? "--" : wJ.length === 1 && d !== void 0 ? d(wJ[0]) : `${wJ.length} selected` : d === void 0 ? E ?? "--" : d(wJ), t[43] = hJ, t[44] = d, t[45] = $, t[46] = E, t[47] = wJ, t[48] = jJ) : jJ = t[48];
28760
- let MJ = jJ, NJ;
28761
- t[49] !== kJ || t[50] !== DJ ? (NJ = {
28762
- isSelected: DJ,
28763
- onSelect: kJ
28764
- }, t[49] = kJ, t[50] = DJ, t[51] = NJ) : NJ = t[51];
28765
- let PJ = NJ, IJ;
28766
- t[52] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (IJ = cn("relative"), t[52] = IJ) : IJ = t[52];
28767
- let LJ;
28768
- t[53] !== gJ || t[54] !== bJ ? (LJ = (e2) => {
28769
- gJ && e2 || bJ(e2);
28770
- }, t[53] = gJ, t[54] = bJ, t[55] = LJ) : LJ = t[55];
28771
- let zJ = gJ && "cursor-not-allowed opacity-50", BJ;
28772
- t[56] !== a || t[57] !== zJ ? (BJ = 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", zJ, a), t[56] = a, t[57] = zJ, t[58] = BJ) : BJ = t[58];
28773
- let VJ;
28774
- t[59] !== O || t[60] !== MJ || t[61] !== wJ ? (VJ = O ? O(wJ ?? null) : MJ(), t[59] = O, t[60] = MJ, t[61] = wJ, t[62] = VJ) : VJ = t[62];
28755
+ else TJ === e2 && (t2 = null);
28756
+ EJ(t2), (_ ?? $) || xJ(false);
28757
+ }, t[37] = _, t[38] = $, t[39] = xJ, t[40] = EJ, t[41] = TJ, t[42] = kJ) : kJ = t[42];
28758
+ let AJ = kJ, MJ;
28759
+ t[43] !== gJ || t[44] !== d || t[45] !== $ || t[46] !== E || t[47] !== TJ ? (MJ = () => $ && gJ && E ? E : TJ == null ? E ?? "--" : Array.isArray(TJ) ? TJ.length === 0 ? E ?? "--" : TJ.length === 1 && d !== void 0 ? d(TJ[0]) : `${TJ.length} selected` : d === void 0 ? E ?? "--" : d(TJ), t[43] = gJ, t[44] = d, t[45] = $, t[46] = E, t[47] = TJ, t[48] = MJ) : MJ = t[48];
28760
+ let NJ = MJ, PJ;
28761
+ t[49] !== AJ || t[50] !== OJ ? (PJ = {
28762
+ isSelected: OJ,
28763
+ onSelect: AJ
28764
+ }, t[49] = AJ, t[50] = OJ, t[51] = PJ) : PJ = t[51];
28765
+ let FJ = PJ, LJ;
28766
+ t[52] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (LJ = cn("relative"), t[52] = LJ) : LJ = t[52];
28767
+ let RJ;
28768
+ t[53] !== _J || t[54] !== xJ ? (RJ = (e2) => {
28769
+ _J && e2 || xJ(e2);
28770
+ }, t[53] = _J, t[54] = xJ, t[55] = RJ) : RJ = t[55];
28771
+ let BJ = _J && "cursor-not-allowed opacity-50", VJ;
28772
+ t[56] !== a || t[57] !== BJ ? (VJ = 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", BJ, a), t[56] = a, t[57] = BJ, t[58] = VJ) : VJ = t[58];
28775
28773
  let HJ;
28776
- t[63] === VJ ? HJ = t[64] : (HJ = (0, import_jsx_runtime.jsx)("span", {
28777
- className: "truncate flex-1 min-w-0",
28778
- children: VJ
28779
- }), t[63] = VJ, t[64] = HJ);
28774
+ t[59] !== O || t[60] !== NJ || t[61] !== TJ ? (HJ = O ? O(TJ ?? null) : NJ(), t[59] = O, t[60] = NJ, t[61] = TJ, t[62] = HJ) : HJ = t[62];
28780
28775
  let UJ;
28781
- t[65] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (UJ = (0, import_jsx_runtime.jsx)(ChevronDown, {
28782
- className: "ml-3 w-4 h-4 opacity-50 shrink-0"
28783
- }), t[65] = UJ) : UJ = t[65];
28776
+ t[63] === HJ ? UJ = t[64] : (UJ = (0, import_jsx_runtime.jsx)("span", {
28777
+ className: "truncate flex-1 min-w-0",
28778
+ children: HJ
28779
+ }), t[63] = HJ, t[64] = UJ);
28784
28780
  let WJ;
28785
- t[66] !== gJ || t[67] !== h || t[68] !== xJ || t[69] !== BJ || t[70] !== HJ ? (WJ = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
28781
+ t[65] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (WJ = (0, import_jsx_runtime.jsx)(ChevronDown, {
28782
+ className: "ml-3 w-4 h-4 opacity-50 shrink-0"
28783
+ }), t[65] = WJ) : WJ = t[65];
28784
+ let GJ;
28785
+ t[66] !== _J || t[67] !== h || t[68] !== SJ || t[69] !== VJ || t[70] !== UJ ? (GJ = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
28786
28786
  asChild: true,
28787
28787
  children: (0, import_jsx_runtime.jsxs)("button", {
28788
28788
  id: h,
28789
28789
  type: "button",
28790
- className: BJ,
28791
- "aria-expanded": xJ,
28792
- "aria-disabled": gJ,
28790
+ className: VJ,
28791
+ "aria-expanded": SJ,
28792
+ "aria-disabled": _J,
28793
28793
  children: [
28794
- HJ,
28795
- UJ
28794
+ UJ,
28795
+ WJ
28796
28796
  ]
28797
28797
  })
28798
- }), t[66] = gJ, t[67] = h, t[68] = xJ, t[69] = BJ, t[70] = HJ, t[71] = WJ) : WJ = t[71];
28799
- let GJ;
28800
- t[72] !== pJ || t[73] !== y || t[74] !== M ? (GJ = (0, import_jsx_runtime.jsx)(CommandInput, {
28801
- placeholder: pJ,
28798
+ }), t[66] = _J, t[67] = h, t[68] = SJ, t[69] = VJ, t[70] = UJ, t[71] = GJ) : GJ = t[71];
28799
+ let KJ;
28800
+ t[72] !== mJ || t[73] !== y || t[74] !== M ? (KJ = (0, import_jsx_runtime.jsx)(CommandInput, {
28801
+ placeholder: mJ,
28802
28802
  rootClassName: "px-1 h-8",
28803
28803
  autoFocus: true,
28804
28804
  value: M,
28805
28805
  onValueChange: y
28806
- }), t[72] = pJ, t[73] = y, t[74] = M, t[75] = GJ) : GJ = t[75];
28807
- let KJ;
28808
- t[76] === mJ ? KJ = t[77] : (KJ = (0, import_jsx_runtime.jsx)(CommandEmpty, {
28809
- children: mJ
28810
- }), t[76] = mJ, t[77] = KJ);
28806
+ }), t[72] = mJ, t[73] = y, t[74] = M, t[75] = KJ) : KJ = t[75];
28811
28807
  let qJ;
28812
- t[78] !== n || t[79] !== PJ ? (qJ = (0, import_jsx_runtime.jsx)(ComboboxContext, {
28813
- value: PJ,
28814
- children: n
28815
- }), t[78] = n, t[79] = PJ, t[80] = qJ) : qJ = t[80];
28808
+ t[76] === hJ ? qJ = t[77] : (qJ = (0, import_jsx_runtime.jsx)(CommandEmpty, {
28809
+ children: hJ
28810
+ }), t[76] = hJ, t[77] = qJ);
28816
28811
  let JJ;
28817
- t[81] !== KJ || t[82] !== qJ ? (JJ = (0, import_jsx_runtime.jsxs)(CommandList, {
28812
+ t[78] !== n || t[79] !== FJ ? (JJ = (0, import_jsx_runtime.jsx)(ComboboxContext, {
28813
+ value: FJ,
28814
+ children: n
28815
+ }), t[78] = n, t[79] = FJ, t[80] = JJ) : JJ = t[80];
28816
+ let YJ;
28817
+ t[81] !== qJ || t[82] !== JJ ? (YJ = (0, import_jsx_runtime.jsxs)(CommandList, {
28818
28818
  className: "max-h-60 py-.5",
28819
28819
  children: [
28820
- KJ,
28821
- qJ
28820
+ qJ,
28821
+ JJ
28822
28822
  ]
28823
- }), t[81] = KJ, t[82] = qJ, t[83] = JJ) : JJ = t[83];
28824
- let YJ;
28825
- t[84] !== f || t[85] !== fJ || t[86] !== GJ || t[87] !== JJ ? (YJ = (0, import_jsx_runtime.jsx)(PopoverContent, {
28823
+ }), t[81] = qJ, t[82] = JJ, t[83] = YJ) : YJ = t[83];
28824
+ let XJ;
28825
+ t[84] !== f || t[85] !== pJ || t[86] !== KJ || t[87] !== YJ ? (XJ = (0, import_jsx_runtime.jsx)(PopoverContent, {
28826
28826
  className: "w-full min-w-(--radix-popover-trigger-width) p-0",
28827
28827
  align: "start",
28828
28828
  children: (0, import_jsx_runtime.jsxs)(Command, {
28829
28829
  filter: f,
28830
- shouldFilter: fJ,
28830
+ shouldFilter: pJ,
28831
28831
  children: [
28832
- GJ,
28833
- JJ
28832
+ KJ,
28833
+ YJ
28834
28834
  ]
28835
28835
  })
28836
- }), t[84] = f, t[85] = fJ, t[86] = GJ, t[87] = JJ, t[88] = YJ) : YJ = t[88];
28837
- let XJ;
28838
- t[89] !== xJ || t[90] !== LJ || t[91] !== WJ || t[92] !== YJ ? (XJ = (0, import_jsx_runtime.jsxs)(Popover, {
28839
- open: xJ,
28840
- onOpenChange: LJ,
28836
+ }), t[84] = f, t[85] = pJ, t[86] = KJ, t[87] = YJ, t[88] = XJ) : XJ = t[88];
28837
+ let ZJ;
28838
+ t[89] !== SJ || t[90] !== RJ || t[91] !== GJ || t[92] !== XJ ? (ZJ = (0, import_jsx_runtime.jsxs)(Popover, {
28839
+ open: SJ,
28840
+ onOpenChange: RJ,
28841
28841
  children: [
28842
- WJ,
28843
- YJ
28842
+ GJ,
28843
+ XJ
28844
28844
  ]
28845
- }), t[89] = xJ, t[90] = LJ, t[91] = WJ, t[92] = YJ, t[93] = XJ) : XJ = t[93];
28846
- let ZJ;
28847
- t[94] !== hJ || t[95] !== i || t[96] !== gJ || t[97] !== d || t[98] !== kJ || t[99] !== $ || t[100] !== wJ ? (ZJ = $ && hJ && (0, import_jsx_runtime.jsx)("div", {
28845
+ }), t[89] = SJ, t[90] = RJ, t[91] = GJ, t[92] = XJ, t[93] = ZJ) : ZJ = t[93];
28846
+ let QJ;
28847
+ t[94] !== gJ || t[95] !== i || t[96] !== _J || t[97] !== d || t[98] !== AJ || t[99] !== $ || t[100] !== TJ ? (QJ = $ && gJ && (0, import_jsx_runtime.jsx)("div", {
28848
28848
  className: cn("flex flex-col gap-1 items-start", i),
28849
- children: Array.isArray(wJ) && wJ.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
28849
+ children: Array.isArray(TJ) && TJ.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
28850
28850
  variant: "secondary",
28851
28851
  children: [
28852
28852
  (d == null ? void 0 : d(e2)) ?? String(e2),
28853
28853
  (0, import_jsx_runtime.jsx)(CircleX, {
28854
28854
  onClick: () => {
28855
- gJ || kJ(e2);
28855
+ _J || AJ(e2);
28856
28856
  },
28857
- className: cn("w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer", gJ && "pointer-events-none")
28857
+ className: cn("w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer", _J && "pointer-events-none")
28858
28858
  })
28859
28859
  ]
28860
28860
  }, String(e2)))
28861
- }), t[94] = hJ, t[95] = i, t[96] = gJ, t[97] = d, t[98] = kJ, t[99] = $, t[100] = wJ, t[101] = ZJ) : ZJ = t[101];
28862
- let QJ;
28863
- return t[102] !== A || t[103] !== XJ || t[104] !== ZJ ? (QJ = (0, import_jsx_runtime.jsxs)("div", {
28864
- className: IJ,
28861
+ }), t[94] = gJ, t[95] = i, t[96] = _J, t[97] = d, t[98] = AJ, t[99] = $, t[100] = TJ, t[101] = QJ) : QJ = t[101];
28862
+ let $J;
28863
+ return t[102] !== A || t[103] !== ZJ || t[104] !== QJ ? ($J = (0, import_jsx_runtime.jsxs)("div", {
28864
+ className: LJ,
28865
28865
  ...A,
28866
28866
  children: [
28867
- XJ,
28868
- ZJ
28867
+ ZJ,
28868
+ QJ
28869
28869
  ]
28870
- }), t[102] = A, t[103] = XJ, t[104] = ZJ, t[105] = QJ) : QJ = t[105], QJ;
28870
+ }), t[102] = A, t[103] = ZJ, t[104] = QJ, t[105] = $J) : $J = t[105], $J;
28871
28871
  };
28872
28872
  ComboboxItem = import_react.forwardRef((e, t) => {
28873
28873
  let n = (0, import_compiler_runtime$35.c)(20), { children: i, className: a, value: s, onSelect: c, disabled: d } = e, f = typeof s == "object" && "value" in s ? s.value : String(s), h = import_react.use(ComboboxContext), _;
@@ -29923,17 +29923,17 @@ ${n}` : "Please fix this error.";
29923
29923
  searchQuery: M,
29924
29924
  filteredOptions: z
29925
29925
  }, t[9] = z, t[10] = n, t[11] = _, t[12] = M, t[13] = i, t[14] = U) : U = t[14];
29926
- let { open: K, setOpen: q, repin: J, visibleOptions: Q, pinnedCount: $ } = usePinning(U), fJ;
29927
- t[15] !== c || t[16] !== s || t[17] !== o || t[18] !== a || t[19] !== y || t[20] !== i ? (fJ = {
29926
+ let { open: K, setOpen: q, repin: J, visibleOptions: Q, pinnedCount: $ } = usePinning(U), pJ;
29927
+ t[15] !== c || t[16] !== s || t[17] !== o || t[18] !== a || t[19] !== y || t[20] !== i ? (pJ = {
29928
29928
  value: i,
29929
29929
  onChange: a,
29930
29930
  multiple: o,
29931
29931
  maxSelections: s,
29932
29932
  allowSelectNone: c,
29933
29933
  selected: y
29934
- }, t[15] = c, t[16] = s, t[17] = o, t[18] = a, t[19] = y, t[20] = i, t[21] = fJ) : fJ = t[21];
29935
- let { isChecked: pJ, toggle: mJ } = useToggle(fJ), hJ;
29936
- t[22] !== z || t[23] !== s || t[24] !== o || t[25] !== a || t[26] !== n || t[27] !== M || t[28] !== i ? (hJ = {
29934
+ }, t[15] = c, t[16] = s, t[17] = o, t[18] = a, t[19] = y, t[20] = i, t[21] = pJ) : pJ = t[21];
29935
+ let { isChecked: mJ, toggle: hJ } = useToggle(pJ), gJ;
29936
+ t[22] !== z || t[23] !== s || t[24] !== o || t[25] !== a || t[26] !== n || t[27] !== M || t[28] !== i ? (gJ = {
29937
29937
  value: i,
29938
29938
  onChange: a,
29939
29939
  multiple: o,
@@ -29941,24 +29941,24 @@ ${n}` : "Please fix this error.";
29941
29941
  filteredOptions: z,
29942
29942
  searchQuery: M,
29943
29943
  maxSelections: s
29944
- }, t[22] = z, t[23] = s, t[24] = o, t[25] = a, t[26] = n, t[27] = M, t[28] = i, t[29] = hJ) : hJ = t[29];
29945
- let { bulkActions: gJ } = useBulk(hJ), _J;
29946
- t[30] !== J || t[31] !== I ? (_J = (e2) => {
29944
+ }, t[22] = z, t[23] = s, t[24] = o, t[25] = a, t[26] = n, t[27] = M, t[28] = i, t[29] = gJ) : gJ = t[29];
29945
+ let { bulkActions: _J } = useBulk(gJ), vJ;
29946
+ t[30] !== J || t[31] !== I ? (vJ = (e2) => {
29947
29947
  I(e2), e2 === "" && J();
29948
- }, t[30] = J, t[31] = I, t[32] = _J) : _J = t[32];
29949
- let vJ = _J, yJ;
29950
- return t[33] !== gJ || t[34] !== pJ || t[35] !== O || t[36] !== K || t[37] !== $ || t[38] !== M || t[39] !== q || t[40] !== vJ || t[41] !== mJ || t[42] !== Q ? (yJ = {
29948
+ }, t[30] = J, t[31] = I, t[32] = vJ) : vJ = t[32];
29949
+ let yJ = vJ, bJ;
29950
+ return t[33] !== _J || t[34] !== mJ || t[35] !== O || t[36] !== K || t[37] !== $ || t[38] !== M || t[39] !== q || t[40] !== yJ || t[41] !== hJ || t[42] !== Q ? (bJ = {
29951
29951
  searchQuery: M,
29952
- setSearchQuery: vJ,
29952
+ setSearchQuery: yJ,
29953
29953
  open: K,
29954
29954
  setOpen: q,
29955
29955
  visibleOptions: Q,
29956
29956
  pinnedCount: $,
29957
- isChecked: pJ,
29958
- toggle: mJ,
29959
- bulkActions: gJ,
29957
+ isChecked: mJ,
29958
+ toggle: hJ,
29959
+ bulkActions: _J,
29960
29960
  labelOf: O
29961
- }, t[33] = gJ, t[34] = pJ, t[35] = O, t[36] = K, t[37] = $, t[38] = M, t[39] = q, t[40] = vJ, t[41] = mJ, t[42] = Q, t[43] = yJ) : yJ = t[43], yJ;
29961
+ }, t[33] = _J, t[34] = mJ, t[35] = O, t[36] = K, t[37] = $, t[38] = M, t[39] = q, t[40] = yJ, t[41] = hJ, t[42] = Q, t[43] = bJ) : bJ = t[43], bJ;
29962
29962
  };
29963
29963
  const Sets = {
29964
29964
  merge(...e) {
@@ -30287,7 +30287,7 @@ ${n}` : "Please fix this error.";
30287
30287
  type: S,
30288
30288
  operator: E,
30289
30289
  draft: mergeNumberTextDraft(A, I)
30290
- }), $ = Q === void 0, fJ = $ ? getMissingValueMessage(S, E) : "Apply filter", pJ = () => {
30290
+ }), $ = Q === void 0, pJ = $ ? getMissingValueMessage(S, E) : "Apply filter", mJ = () => {
30291
30291
  if (!Q) return;
30292
30292
  let e2 = Q;
30293
30293
  t.setColumnFilters((t2) => {
@@ -30306,20 +30306,20 @@ ${n}` : "Please fix this error.";
30306
30306
  value: e2
30307
30307
  }, n2;
30308
30308
  }), i();
30309
- }, mJ = () => {
30309
+ }, hJ = () => {
30310
30310
  a !== void 0 && t.setColumnFilters((e2) => e2.filter((e3, t2) => t2 !== a)), i();
30311
- }, hJ = !OPERATORS_WITHOUT_VALUE.has(E), gJ = OPERATORS_BY_TYPE[S], _J = (0, import_react.useRef)(null), vJ = (0, import_react.useRef)(null);
30311
+ }, gJ = !OPERATORS_WITHOUT_VALUE.has(E), _J = OPERATORS_BY_TYPE[S], vJ = (0, import_react.useRef)(null), yJ = (0, import_react.useRef)(null);
30312
30312
  return (0, import_react.useEffect)(() => {
30313
30313
  var _a2, _b;
30314
- let e2 = (_a2 = _J.current) == null ? void 0 : _a2.querySelector('input, [role="spinbutton"], [role="combobox"], button');
30315
- e2 ? e2.focus() : (_b = vJ.current) == null ? void 0 : _b.focus();
30314
+ let e2 = (_a2 = vJ.current) == null ? void 0 : _a2.querySelector('input, [role="spinbutton"], [role="combobox"], button');
30315
+ e2 ? e2.focus() : (_b = yJ.current) == null ? void 0 : _b.focus();
30316
30316
  }, [
30317
30317
  S,
30318
30318
  E
30319
30319
  ]), (0, import_jsx_runtime.jsxs)("form", {
30320
30320
  className: "flex flex-row gap-4 items-end p-3",
30321
30321
  onSubmit: (e2) => {
30322
- e2.preventDefault(), pJ();
30322
+ e2.preventDefault(), mJ();
30323
30323
  },
30324
30324
  onKeyDownCapture: (e2) => {
30325
30325
  e2.key === "Tab" && e2.stopPropagation();
@@ -30360,13 +30360,13 @@ ${n}` : "Please fix this error.";
30360
30360
  onValueChange: (e2) => J(e2),
30361
30361
  children: [
30362
30362
  (0, import_jsx_runtime.jsx)(SelectTrigger, {
30363
- ref: vJ,
30363
+ ref: yJ,
30364
30364
  id: s,
30365
30365
  className: "h-6 mb-1 bg-transparent",
30366
30366
  children: (0, import_jsx_runtime.jsx)(SelectValue, {})
30367
30367
  }),
30368
30368
  (0, import_jsx_runtime.jsx)(SelectContent, {
30369
- children: gJ.map((e2) => (0, import_jsx_runtime.jsx)(SelectItem, {
30369
+ children: _J.map((e2) => (0, import_jsx_runtime.jsx)(SelectItem, {
30370
30370
  value: e2,
30371
30371
  children: OPERATOR_LABELS[e2]
30372
30372
  }, e2))
@@ -30375,8 +30375,8 @@ ${n}` : "Please fix this error.";
30375
30375
  }, S)
30376
30376
  ]
30377
30377
  }),
30378
- hJ && (0, import_jsx_runtime.jsxs)("div", {
30379
- ref: _J,
30378
+ gJ && (0, import_jsx_runtime.jsxs)("div", {
30379
+ ref: vJ,
30380
30380
  className: "flex flex-col gap-1",
30381
30381
  children: [
30382
30382
  (0, import_jsx_runtime.jsx)("label", {
@@ -30403,7 +30403,7 @@ ${n}` : "Please fix this error.";
30403
30403
  className: "flex gap-1 mb-1",
30404
30404
  children: [
30405
30405
  (0, import_jsx_runtime.jsx)(Tooltip, {
30406
- content: fJ,
30406
+ content: pJ,
30407
30407
  children: (0, import_jsx_runtime.jsx)("span", {
30408
30408
  className: "inline-flex",
30409
30409
  children: (0, import_jsx_runtime.jsx)(Button, {
@@ -30442,7 +30442,7 @@ ${n}` : "Please fix this error.";
30442
30442
  size: "icon",
30443
30443
  variant: "ghost",
30444
30444
  className: "rounded-full text-destructive hover:text-destructive hover:bg-destructive/10",
30445
- onClick: mJ,
30445
+ onClick: hJ,
30446
30446
  "aria-label": "Remove filter",
30447
30447
  children: (0, import_jsx_runtime.jsx)(Trash2, {
30448
30448
  className: "h-3.5 w-3.5",
@@ -32650,29 +32650,29 @@ ${n}` : "Please fix this error.";
32650
32650
  }, t[16] = a, t[17] = J);
32651
32651
  let Q = useEvent_default(J), $;
32652
32652
  t[18] === S ? $ = t[19] : ($ = () => S(), t[18] = S, t[19] = $);
32653
- let fJ = useEvent_default($), pJ, mJ;
32654
- t[20] === S ? (pJ = t[21], mJ = t[22]) : (pJ = () => (window.addEventListener("scroll", S, {
32653
+ let pJ = useEvent_default($), mJ, hJ;
32654
+ t[20] === S ? (mJ = t[21], hJ = t[22]) : (mJ = () => (window.addEventListener("scroll", S, {
32655
32655
  passive: true,
32656
32656
  capture: true
32657
32657
  }), window.addEventListener("resize", S), () => {
32658
32658
  window.removeEventListener("scroll", S, {
32659
32659
  capture: true
32660
32660
  }), window.removeEventListener("resize", S);
32661
- }), mJ = [
32661
+ }), hJ = [
32662
32662
  S
32663
- ], t[20] = S, t[21] = pJ, t[22] = mJ), (0, import_react.useEffect)(pJ, mJ);
32664
- let hJ, gJ;
32665
- t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (hJ = () => v, gJ = [], t[23] = hJ, t[24] = gJ) : (hJ = t[23], gJ = t[24]), (0, import_react.useEffect)(hJ, gJ);
32666
- let _J;
32667
- return t[25] !== fJ || t[26] !== Q || t[27] !== q || t[28] !== U || t[29] !== S || t[30] !== d || t[31] !== o ? (_J = {
32663
+ ], t[20] = S, t[21] = mJ, t[22] = hJ), (0, import_react.useEffect)(mJ, hJ);
32664
+ let gJ, _J;
32665
+ t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (gJ = () => v, _J = [], t[23] = gJ, t[24] = _J) : (gJ = t[23], _J = t[24]), (0, import_react.useEffect)(gJ, _J);
32666
+ let vJ;
32667
+ return t[25] !== pJ || t[26] !== Q || t[27] !== q || t[28] !== U || t[29] !== S || t[30] !== d || t[31] !== o ? (vJ = {
32668
32668
  tooltipState: o,
32669
32669
  tooltipContentId: d,
32670
32670
  hideTooltip: S,
32671
32671
  handleCellMouseOver: U,
32672
32672
  handleCellMouseLeave: q,
32673
32673
  handleCellFocus: Q,
32674
- handleCellBlur: fJ
32675
- }, t[25] = fJ, t[26] = Q, t[27] = q, t[28] = U, t[29] = S, t[30] = d, t[31] = o, t[32] = _J) : _J = t[32], _J;
32674
+ handleCellBlur: pJ
32675
+ }, t[25] = pJ, t[26] = Q, t[27] = q, t[28] = U, t[29] = S, t[30] = d, t[31] = o, t[32] = vJ) : vJ = t[32], vJ;
32676
32676
  }
32677
32677
  var import_compiler_runtime$18 = require_compiler_runtime();
32678
32678
  const CellRangeSelectionIndicator = (0, import_react.memo)((e) => {
@@ -34117,7 +34117,7 @@ ${n}` : "Please fix this error.";
34117
34117
  filename: i2.filename
34118
34118
  };
34119
34119
  }, t[6] = e, t[7] = O);
34120
- let A = O, M, I, z, U, K, q, J, Q, $, fJ, pJ, mJ, hJ;
34120
+ let A = O, M, I, z, U, K, q, J, Q, $, pJ, mJ, hJ, gJ;
34121
34121
  if (t[8] !== E || t[9] !== c || t[10] !== n || t[11] !== A || t[12] !== d) {
34122
34122
  let e2 = async (t2) => {
34123
34123
  let n2 = labelForDownloadFormat(t2);
@@ -34183,10 +34183,10 @@ ${n}` : "Please fix this error.";
34183
34183
  content: d,
34184
34184
  open: o,
34185
34185
  children: h
34186
- }), t[32] = o, t[33] = h, t[34] = d, t[35] = Q) : Q = t[35], M = DropdownMenuContent, $ = "bottom", fJ = "print:hidden", t[36] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (pJ = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
34186
+ }), t[32] = o, t[33] = h, t[34] = d, t[35] = Q) : Q = t[35], M = DropdownMenuContent, $ = "bottom", pJ = "print:hidden", t[36] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (mJ = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
34187
34187
  className: "text-xs text-muted-foreground",
34188
34188
  children: "Download"
34189
- }), t[36] = pJ) : pJ = t[36], mJ = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
34189
+ }), t[36] = mJ) : mJ = t[36], hJ = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
34190
34190
  onSelect: () => {
34191
34191
  e2(t2.format);
34192
34192
  },
@@ -34207,10 +34207,10 @@ ${n}` : "Please fix this error.";
34207
34207
  ]
34208
34208
  })
34209
34209
  ]
34210
- }, t2.label)), t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (hJ = (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {}), z = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
34210
+ }, t2.label)), t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (gJ = (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {}), z = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
34211
34211
  className: "text-xs text-muted-foreground",
34212
34212
  children: "Copy to clipboard"
34213
- }), t[37] = z, t[38] = hJ) : (z = t[37], hJ = t[38]), U = copyOptions.map((e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
34213
+ }), t[37] = z, t[38] = gJ) : (z = t[37], gJ = t[38]), U = copyOptions.map((e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
34214
34214
  onSelect: async () => {
34215
34215
  try {
34216
34216
  await a2(e3.format);
@@ -34239,30 +34239,30 @@ ${n}` : "Please fix this error.";
34239
34239
  ]
34240
34240
  })
34241
34241
  ]
34242
- }, e3.label)), t[8] = E, t[9] = c, t[10] = n, t[11] = A, t[12] = d, t[13] = M, t[14] = I, t[15] = z, t[16] = U, t[17] = K, t[18] = q, t[19] = J, t[20] = Q, t[21] = $, t[22] = fJ, t[23] = pJ, t[24] = mJ, t[25] = hJ;
34243
- } 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], fJ = t[22], pJ = t[23], mJ = t[24], hJ = t[25];
34244
- let gJ;
34245
- t[39] !== M || t[40] !== z || t[41] !== U || t[42] !== $ || t[43] !== fJ || t[44] !== pJ || t[45] !== mJ || t[46] !== hJ ? (gJ = (0, import_jsx_runtime.jsxs)(M, {
34242
+ }, e3.label)), t[8] = E, t[9] = c, t[10] = n, t[11] = A, t[12] = d, t[13] = M, t[14] = I, t[15] = z, t[16] = U, t[17] = K, t[18] = q, t[19] = J, t[20] = Q, t[21] = $, t[22] = pJ, t[23] = mJ, t[24] = hJ, t[25] = gJ;
34243
+ } 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], pJ = t[22], mJ = t[23], hJ = t[24], gJ = t[25];
34244
+ let _J;
34245
+ t[39] !== M || t[40] !== z || t[41] !== U || t[42] !== $ || t[43] !== pJ || t[44] !== mJ || t[45] !== hJ || t[46] !== gJ ? (_J = (0, import_jsx_runtime.jsxs)(M, {
34246
34246
  side: $,
34247
- className: fJ,
34247
+ className: pJ,
34248
34248
  children: [
34249
- pJ,
34250
34249
  mJ,
34251
34250
  hJ,
34251
+ gJ,
34252
34252
  z,
34253
34253
  U
34254
34254
  ]
34255
- }), t[39] = M, t[40] = z, t[41] = U, t[42] = $, t[43] = fJ, t[44] = pJ, t[45] = mJ, t[46] = hJ, t[47] = gJ) : gJ = t[47];
34256
- let _J;
34257
- return t[48] !== I || t[49] !== K || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !== gJ ? (_J = (0, import_jsx_runtime.jsxs)(I, {
34255
+ }), t[39] = M, t[40] = z, t[41] = U, t[42] = $, t[43] = pJ, t[44] = mJ, t[45] = hJ, t[46] = gJ, t[47] = _J) : _J = t[47];
34256
+ let vJ;
34257
+ return t[48] !== I || t[49] !== K || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !== _J ? (vJ = (0, import_jsx_runtime.jsxs)(I, {
34258
34258
  modal: K,
34259
34259
  open: q,
34260
34260
  onOpenChange: J,
34261
34261
  children: [
34262
34262
  Q,
34263
- gJ
34263
+ _J
34264
34264
  ]
34265
- }), t[48] = I, t[49] = K, t[50] = q, t[51] = J, t[52] = Q, t[53] = gJ, t[54] = _J) : _J = t[54], _J;
34265
+ }), t[48] = I, t[49] = K, t[50] = q, t[51] = J, t[52] = Q, t[53] = _J, t[54] = vJ) : vJ = t[54], vJ;
34266
34266
  };
34267
34267
  function fetchJson(e) {
34268
34268
  return fetchText(e).then(jsonParseWithSpecialChar);
@@ -34358,22 +34358,22 @@ ${n}` : "Please fix this error.";
34358
34358
  ]
34359
34359
  });
34360
34360
  };
34361
- DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: a, rawData: s, selection: c, totalColumns: d, totalRows: f, sizeBytes: _, sizeBytesIsLoading: v, manualSorting: y = false, sorting: S, setSorting: w, rowSelection: E, cellSelection: O, cellStyling: A, hoverTemplate: M, cellHoverTexts: I, paginationState: z, setPaginationState: U, downloadAs: K, manualPagination: q = false, pagination: J = false, onRowSelectionChange: Q, onCellSelectionChange: $, getRowIds: fJ, showSearch: pJ = false, searchQuery: mJ, onSearchQueryChange: hJ, showFilters: gJ = false, filters: _J, onFiltersChange: vJ, calculateTopKRows: yJ, reloading: bJ, freezeColumnsLeft: xJ, freezeColumnsRight: SJ, hiddenColumns: CJ, toggleDisplayHeader: wJ, showChartBuilder: TJ, isChartBuilderOpen: EJ, showPageSizeSelector: DJ, showTableExplorer: OJ, togglePanel: kJ, isPanelOpen: AJ, isAnyPanelOpen: jJ, viewedRowIdx: MJ, onViewedRowChange: NJ, renderTableExplorerPanel: PJ }) => {
34362
- let FJ = isStaticNotebook(), IJ = !FJ, [LJ, RJ] = import_react.useState(false), { locale: zJ } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: BJ, setColumnPinning: VJ } = useColumnPinning(xJ, SJ), { columnVisibility: HJ, setColumnVisibility: UJ } = useColumnVisibility(CJ);
34361
+ DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: a, rawData: s, selection: c, totalColumns: d, totalRows: f, sizeBytes: _, sizeBytesIsLoading: v, manualSorting: y = false, sorting: S, setSorting: w, rowSelection: E, cellSelection: O, cellStyling: A, hoverTemplate: M, cellHoverTexts: I, paginationState: z, setPaginationState: U, downloadAs: K, manualPagination: q = false, pagination: J = false, onRowSelectionChange: Q, onCellSelectionChange: $, getRowIds: pJ, showSearch: mJ = false, searchQuery: hJ, onSearchQueryChange: gJ, showFilters: _J = false, filters: vJ, onFiltersChange: yJ, calculateTopKRows: bJ, reloading: xJ, freezeColumnsLeft: SJ, freezeColumnsRight: CJ, hiddenColumns: wJ, toggleDisplayHeader: TJ, showChartBuilder: EJ, isChartBuilderOpen: DJ, showPageSizeSelector: OJ, showTableExplorer: kJ, togglePanel: AJ, isPanelOpen: jJ, isAnyPanelOpen: MJ, viewedRowIdx: NJ, onViewedRowChange: PJ, renderTableExplorerPanel: FJ }) => {
34362
+ let IJ = isStaticNotebook(), LJ = !IJ, [RJ, zJ] = import_react.useState(false), { locale: BJ } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: VJ, setColumnPinning: HJ } = useColumnPinning(SJ, CJ), { columnVisibility: UJ, setColumnVisibility: WJ } = useColumnVisibility(wJ);
34363
34363
  import_react.useEffect(() => {
34364
34364
  let e2;
34365
- return bJ ? e2 = setTimeout(() => {
34366
- RJ(true);
34367
- }, 300) : RJ(false), () => {
34365
+ return xJ ? e2 = setTimeout(() => {
34366
+ zJ(true);
34367
+ }, 300) : zJ(false), () => {
34368
34368
  e2 && clearTimeout(e2);
34369
34369
  };
34370
34370
  }, [
34371
- bJ
34371
+ xJ
34372
34372
  ]);
34373
- function WJ(e2, t2) {
34373
+ function GJ(e2, t2) {
34374
34374
  return z ? t2 + (q ? z.pageIndex * z.pageSize : 0) : t2;
34375
34375
  }
34376
- let GJ = useReactTable({
34376
+ let KJ = useReactTable({
34377
34377
  _features: [
34378
34378
  ColumnPinning,
34379
34379
  ColumnWrappingFeature,
@@ -34397,37 +34397,37 @@ ${n}` : "Please fix this error.";
34397
34397
  getRowId: (e2, t2) => {
34398
34398
  let n2 = getStableRowId(e2);
34399
34399
  if (n2) return n2;
34400
- let i2 = WJ(e2, t2);
34400
+ let i2 = GJ(e2, t2);
34401
34401
  return String(i2);
34402
34402
  }
34403
34403
  } : {},
34404
- locale: zJ,
34404
+ locale: BJ,
34405
34405
  manualPagination: q,
34406
34406
  getPaginationRowModel: getPaginationRowModel(),
34407
34407
  ...w ? {
34408
34408
  onSortingChange: w
34409
34409
  } : {},
34410
34410
  manualSorting: y,
34411
- enableSorting: !FJ,
34411
+ enableSorting: !IJ,
34412
34412
  enableMultiSort: true,
34413
34413
  getSortedRowModel: getSortedRowModel(),
34414
34414
  manualFiltering: true,
34415
- enableColumnFilters: gJ && !FJ,
34415
+ enableColumnFilters: _J && !IJ,
34416
34416
  getFilteredRowModel: getFilteredRowModel(),
34417
- onColumnFiltersChange: vJ,
34417
+ onColumnFiltersChange: yJ,
34418
34418
  onRowSelectionChange: Q,
34419
34419
  onCellSelectionChange: $,
34420
34420
  enableCellSelection: c === "single-cell" || c === "multi-cell",
34421
34421
  enableMultiCellSelection: c === "multi-cell",
34422
- onColumnPinningChange: VJ,
34423
- onColumnVisibilityChange: UJ,
34422
+ onColumnPinningChange: HJ,
34423
+ onColumnVisibilityChange: WJ,
34424
34424
  enableFocusRow: true,
34425
- onFocusRowChange: NJ,
34425
+ onFocusRowChange: PJ,
34426
34426
  state: {
34427
34427
  ...S ? {
34428
34428
  sorting: S
34429
34429
  } : {},
34430
- columnFilters: _J,
34430
+ columnFilters: vJ,
34431
34431
  ...z ? {
34432
34432
  pagination: z
34433
34433
  } : J && !z ? {} : {
@@ -34438,60 +34438,60 @@ ${n}` : "Please fix this error.";
34438
34438
  },
34439
34439
  rowSelection: E ?? {},
34440
34440
  cellSelection: O ?? [],
34441
- columnVisibility: HJ,
34441
+ columnVisibility: UJ,
34442
34442
  cellStyling: A,
34443
- columnPinning: BJ,
34443
+ columnPinning: VJ,
34444
34444
  cellHoverTemplate: M,
34445
34445
  cellHoverTexts: I ?? {}
34446
34446
  }
34447
- }), KJ = (AJ == null ? void 0 : AJ(PANEL_TYPES.ROW_VIEWER)) ?? false, qJ = !J && a.length > 100, JJ = useScrollContainerHeight({
34447
+ }), qJ = (jJ == null ? void 0 : jJ(PANEL_TYPES.ROW_VIEWER)) ?? false, JJ = !J && a.length > 100, YJ = useScrollContainerHeight({
34448
34448
  maxHeight: n,
34449
- virtualize: qJ
34450
- }), [YJ, XJ] = import_react.useState(null), ZJ = import_react.useMemo(() => ({
34449
+ virtualize: JJ
34450
+ }), [XJ, ZJ] = import_react.useState(null), QJ = import_react.useMemo(() => ({
34451
34451
  requestAddFilter: (e2) => {
34452
- let t2 = GJ.getColumn(e2.columnId);
34453
- t2 && XJ(buildEditorSnapshot(t2, {
34452
+ let t2 = KJ.getColumn(e2.columnId);
34453
+ t2 && ZJ(buildEditorSnapshot(t2, {
34454
34454
  operator: e2.operator
34455
34455
  }));
34456
34456
  }
34457
34457
  }), [
34458
- GJ
34459
- ]), QJ = getUserColumnVisibilityCounts(GJ), $J = QJ.total > 0 && QJ.visible === 0;
34458
+ KJ
34459
+ ]), $J = getUserColumnVisibilityCounts(KJ), eY = $J.total > 0 && $J.visible === 0;
34460
34460
  return (0, import_jsx_runtime.jsx)(FilterEditorProvider, {
34461
- value: ZJ,
34461
+ value: QJ,
34462
34462
  children: (0, import_jsx_runtime.jsxs)("div", {
34463
34463
  className: cn(e, "flex flex-col space-y-1"),
34464
34464
  children: [
34465
34465
  (0, import_jsx_runtime.jsx)(FilterPills, {
34466
- filters: _J,
34467
- table: GJ,
34468
- calculateTopKRows: yJ,
34469
- addFilterSnapshot: YJ,
34470
- onAddFilterSnapshotChange: XJ
34466
+ filters: vJ,
34467
+ table: KJ,
34468
+ calculateTopKRows: bJ,
34469
+ addFilterSnapshot: XJ,
34470
+ onAddFilterSnapshotChange: ZJ
34471
34471
  }),
34472
- PJ == null ? void 0 : PJ(GJ),
34472
+ FJ == null ? void 0 : FJ(KJ),
34473
34473
  (0, import_jsx_runtime.jsx)(CellSelectionProvider, {
34474
34474
  children: (0, import_jsx_runtime.jsxs)("div", {
34475
34475
  part: "table-wrapper",
34476
34476
  className: cn(t || "rounded-md border overflow-hidden"),
34477
34477
  children: [
34478
- IJ && (0, import_jsx_runtime.jsx)(TableTopBar, {
34479
- table: GJ,
34480
- showSearch: pJ,
34481
- searchQuery: mJ,
34482
- onSearchQueryChange: hJ,
34483
- reloading: bJ,
34484
- showChartBuilder: TJ,
34485
- isChartBuilderOpen: EJ,
34486
- toggleDisplayHeader: wJ,
34487
- showTableExplorer: OJ,
34488
- togglePanel: kJ,
34489
- isAnyPanelOpen: jJ,
34478
+ LJ && (0, import_jsx_runtime.jsx)(TableTopBar, {
34479
+ table: KJ,
34480
+ showSearch: mJ,
34481
+ searchQuery: hJ,
34482
+ onSearchQueryChange: gJ,
34483
+ reloading: xJ,
34484
+ showChartBuilder: EJ,
34485
+ isChartBuilderOpen: DJ,
34486
+ toggleDisplayHeader: TJ,
34487
+ showTableExplorer: kJ,
34488
+ togglePanel: AJ,
34489
+ isAnyPanelOpen: MJ,
34490
34490
  downloadAs: K,
34491
34491
  sizeBytes: _,
34492
34492
  sizeBytesIsLoading: v
34493
34493
  }),
34494
- $J && (0, import_jsx_runtime.jsxs)(Banner, {
34494
+ eY && (0, import_jsx_runtime.jsxs)(Banner, {
34495
34495
  className: "mb-1 mx-2 rounded flex items-center justify-between",
34496
34496
  children: [
34497
34497
  (0, import_jsx_runtime.jsx)("span", {
@@ -34500,26 +34500,26 @@ ${n}` : "Please fix this error.";
34500
34500
  (0, import_jsx_runtime.jsx)(Button, {
34501
34501
  variant: "link",
34502
34502
  size: "xs",
34503
- onClick: () => GJ.resetColumnVisibility(true),
34503
+ onClick: () => KJ.resetColumnVisibility(true),
34504
34504
  children: "Unhide all"
34505
34505
  })
34506
34506
  ]
34507
34507
  }),
34508
34508
  (0, import_jsx_runtime.jsxs)(Table, {
34509
34509
  className: cn("relative", i.length <= 4 ? "w-auto" : "w-full"),
34510
- ref: JJ,
34510
+ ref: YJ,
34511
34511
  children: [
34512
- LJ && (0, import_jsx_runtime.jsx)("thead", {
34512
+ RJ && (0, import_jsx_runtime.jsx)("thead", {
34513
34513
  className: "absolute top-0 left-0 h-[3px] w-1/2 bg-primary animate-slide"
34514
34514
  }),
34515
- renderTableHeader(GJ, qJ || !!n),
34515
+ renderTableHeader(KJ, JJ || !!n),
34516
34516
  (0, import_jsx_runtime.jsx)(DataTableBody, {
34517
- table: GJ,
34517
+ table: KJ,
34518
34518
  columns: i,
34519
- rowViewerPanelOpen: KJ,
34520
- getRowIndex: WJ,
34521
- viewedRowIdx: MJ,
34522
- virtualize: qJ
34519
+ rowViewerPanelOpen: qJ,
34520
+ getRowIndex: GJ,
34521
+ viewedRowIdx: NJ,
34522
+ virtualize: JJ
34523
34523
  })
34524
34524
  ]
34525
34525
  }),
@@ -34530,10 +34530,10 @@ ${n}` : "Please fix this error.";
34530
34530
  pagination: J,
34531
34531
  selection: c,
34532
34532
  onRowSelectionChange: Q,
34533
- table: GJ,
34534
- getRowIds: fJ,
34535
- showPageSizeSelector: DJ,
34536
- tableLoading: bJ
34533
+ table: KJ,
34534
+ getRowIds: pJ,
34535
+ showPageSizeSelector: OJ,
34536
+ tableLoading: xJ
34537
34537
  })
34538
34538
  ]
34539
34539
  })
@@ -34633,45 +34633,45 @@ ${d}`,
34633
34633
  prompt: buildFixInChatPrompt(a, d)
34634
34634
  });
34635
34635
  }, t[15] = a, t[16] = d, t[17] = _, t[18] = Q) : Q = t[18];
34636
- let $ = Q, fJ;
34637
- t[19] === z ? fJ = t[20] : (fJ = () => U(!z), t[19] = z, t[20] = fJ);
34638
- let pJ = z ? "Collapse traceback" : "Expand traceback", mJ;
34639
- t[21] === z ? mJ = t[22] : (mJ = z ? (0, import_jsx_runtime.jsx)(ChevronDown, {
34636
+ let $ = Q, pJ;
34637
+ t[19] === z ? pJ = t[20] : (pJ = () => U(!z), t[19] = z, t[20] = pJ);
34638
+ let mJ = z ? "Collapse traceback" : "Expand traceback", hJ;
34639
+ t[21] === z ? hJ = t[22] : (hJ = z ? (0, import_jsx_runtime.jsx)(ChevronDown, {
34640
34640
  className: "h-3 w-3"
34641
34641
  }) : (0, import_jsx_runtime.jsx)(ChevronRight, {
34642
34642
  className: "h-3 w-3"
34643
- }), t[21] = z, t[22] = mJ);
34644
- let hJ;
34645
- t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (hJ = (0, import_jsx_runtime.jsx)("span", {
34643
+ }), t[21] = z, t[22] = hJ);
34644
+ let gJ;
34645
+ t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (gJ = (0, import_jsx_runtime.jsx)("span", {
34646
34646
  className: "text-[0.6875rem] uppercase tracking-wider",
34647
34647
  children: "Traceback"
34648
- }), t[23] = hJ) : hJ = t[23];
34649
- let gJ;
34650
- t[24] !== z || t[25] !== mJ || t[26] !== fJ || t[27] !== pJ ? (gJ = (0, import_jsx_runtime.jsxs)("button", {
34648
+ }), t[23] = gJ) : gJ = t[23];
34649
+ let _J;
34650
+ t[24] !== z || t[25] !== hJ || t[26] !== pJ || t[27] !== mJ ? (_J = (0, import_jsx_runtime.jsxs)("button", {
34651
34651
  type: "button",
34652
- onClick: fJ,
34652
+ onClick: pJ,
34653
34653
  "aria-expanded": z,
34654
- "aria-label": pJ,
34654
+ "aria-label": mJ,
34655
34655
  className: "self-start flex items-center gap-1 pt-2 text-muted-foreground/70 hover:text-muted-foreground transition-colors",
34656
34656
  children: [
34657
- mJ,
34658
- hJ
34657
+ hJ,
34658
+ gJ
34659
34659
  ]
34660
- }), t[24] = z, t[25] = mJ, t[26] = fJ, t[27] = pJ, t[28] = gJ) : gJ = t[28];
34661
- let _J;
34662
- t[29] !== s || t[30] !== z ? (_J = z && (0, import_jsx_runtime.jsx)("div", {
34660
+ }), t[24] = z, t[25] = hJ, t[26] = pJ, t[27] = mJ, t[28] = _J) : _J = t[28];
34661
+ let vJ;
34662
+ t[29] !== s || t[30] !== z ? (vJ = z && (0, import_jsx_runtime.jsx)("div", {
34663
34663
  className: "text-muted-foreground pr-4 text-xs overflow-auto",
34664
34664
  children: s
34665
- }), t[29] = s, t[30] = z, t[31] = _J) : _J = t[31];
34666
- let vJ;
34667
- t[32] !== q || t[33] !== $ || t[34] !== M ? (vJ = M && (0, import_jsx_runtime.jsx)(AIFixButton, {
34665
+ }), t[29] = s, t[30] = z, t[31] = vJ) : vJ = t[31];
34666
+ let yJ;
34667
+ t[32] !== q || t[33] !== $ || t[34] !== M ? (yJ = M && (0, import_jsx_runtime.jsx)(AIFixButton, {
34668
34668
  tooltip: "Fix with AI",
34669
34669
  openPrompt: () => q(false),
34670
34670
  applyAutofix: () => q(true),
34671
34671
  openChat: $
34672
- }), t[32] = q, t[33] = $, t[34] = M, t[35] = vJ) : vJ = t[35];
34673
- let yJ;
34674
- t[36] !== O || t[37] !== S ? (yJ = O && (0, import_jsx_runtime.jsx)(Tooltip, {
34672
+ }), t[32] = q, t[33] = $, t[34] = M, t[35] = yJ) : yJ = t[35];
34673
+ let bJ;
34674
+ t[36] !== O || t[37] !== S ? (bJ = O && (0, import_jsx_runtime.jsx)(Tooltip, {
34675
34675
  content: "Attach pdb to the exception point.",
34676
34676
  children: (0, import_jsx_runtime.jsxs)(Button, {
34677
34677
  size: "xs",
@@ -34688,9 +34688,9 @@ ${d}`,
34688
34688
  "Launch debugger"
34689
34689
  ]
34690
34690
  })
34691
- }), t[36] = O, t[37] = S, t[38] = yJ) : yJ = t[38];
34692
- let bJ;
34693
- t[39] !== d || t[40] !== i ? (bJ = I && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
34691
+ }), t[36] = O, t[37] = S, t[38] = bJ) : bJ = t[38];
34692
+ let xJ;
34693
+ t[39] !== d || t[40] !== i ? (xJ = I && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
34694
34694
  children: [
34695
34695
  (0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
34696
34696
  asChild: true,
@@ -34758,25 +34758,25 @@ ${d}`,
34758
34758
  ]
34759
34759
  })
34760
34760
  ]
34761
- }), t[39] = d, t[40] = i, t[41] = bJ) : bJ = t[41];
34762
- let xJ;
34763
- t[42] !== vJ || t[43] !== yJ || t[44] !== bJ ? (xJ = (0, import_jsx_runtime.jsxs)("div", {
34761
+ }), t[39] = d, t[40] = i, t[41] = xJ) : xJ = t[41];
34762
+ let SJ;
34763
+ t[42] !== yJ || t[43] !== bJ || t[44] !== xJ ? (SJ = (0, import_jsx_runtime.jsxs)("div", {
34764
34764
  className: "flex gap-2",
34765
34765
  children: [
34766
- vJ,
34767
34766
  yJ,
34768
- bJ
34767
+ bJ,
34768
+ xJ
34769
34769
  ]
34770
- }), t[42] = vJ, t[43] = yJ, t[44] = bJ, t[45] = xJ) : xJ = t[45];
34771
- let SJ;
34772
- return t[46] !== gJ || t[47] !== _J || t[48] !== xJ ? (SJ = (0, import_jsx_runtime.jsxs)("div", {
34770
+ }), t[42] = yJ, t[43] = bJ, t[44] = xJ, t[45] = SJ) : SJ = t[45];
34771
+ let CJ;
34772
+ return t[46] !== _J || t[47] !== vJ || t[48] !== SJ ? (CJ = (0, import_jsx_runtime.jsxs)("div", {
34773
34773
  className: "flex flex-col gap-2 min-w-full w-fit",
34774
34774
  children: [
34775
- gJ,
34776
34775
  _J,
34777
- xJ
34776
+ vJ,
34777
+ SJ
34778
34778
  ]
34779
- }), t[46] = gJ, t[47] = _J, t[48] = xJ, t[49] = SJ) : SJ = t[49], SJ;
34779
+ }), t[46] = _J, t[47] = vJ, t[48] = SJ, t[49] = CJ) : CJ = t[49], CJ;
34780
34780
  };
34781
34781
  function lastLine(e) {
34782
34782
  var _a2, _b;
@@ -36212,14 +36212,14 @@ ${d}`,
36212
36212
  Q
36213
36213
  ]
36214
36214
  }), t[33] = J, t[34] = Q, t[35] = $) : $ = t[35];
36215
- let fJ;
36216
- return t[36] !== I || t[37] !== $ ? (fJ = (0, import_jsx_runtime.jsxs)("div", {
36215
+ let pJ;
36216
+ return t[36] !== I || t[37] !== $ ? (pJ = (0, import_jsx_runtime.jsxs)("div", {
36217
36217
  className: "flex flex-col gap-3",
36218
36218
  children: [
36219
36219
  I,
36220
36220
  $
36221
36221
  ]
36222
- }), t[36] = I, t[37] = $, t[38] = fJ) : fJ = t[38], fJ;
36222
+ }), t[36] = I, t[37] = $, t[38] = pJ) : pJ = t[38], pJ;
36223
36223
  };
36224
36224
  SlideSidebar = (e) => {
36225
36225
  let t = (0, import_compiler_runtime$1.c)(30), { configWidth: n, layout: i, setLayout: a, activeConfigCell: s } = e, [c, d] = useAtom(slideConfigOpenAtom), f = c ? n : COLLAPSED_CONFIG_WIDTH, _;
@@ -36344,7 +36344,7 @@ ${d}`,
36344
36344
  return Logger.warn("Failed to get version from mount config"), null;
36345
36345
  }
36346
36346
  }
36347
- marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.16-dev28");
36347
+ marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.16-dev29");
36348
36348
  showCodeInRunModeAtom = atom(true);
36349
36349
  atom(null);
36350
36350
  var import_compiler_runtime = require_compiler_runtime();
@@ -36370,134 +36370,142 @@ ${d}`,
36370
36370
  function _temp(e) {
36371
36371
  return !!e.code;
36372
36372
  }
36373
+ cellDomProps = function(e, t) {
36374
+ return {
36375
+ "data-cell-id": e,
36376
+ "data-cell-name": t,
36377
+ id: HTMLCellId.create(e)
36378
+ };
36379
+ };
36373
36380
  });
36374
36381
  export {
36375
- smartMatch as $,
36376
- HtmlOutput as $t,
36377
- LoadingState as A,
36378
- loadTableAndRawData as At,
36379
- useInternalStateWithSync as B,
36380
- dateToLocalISODateTime as Bt,
36381
- Progress as C,
36382
- renderCellValue as Ct,
36383
- ColumnPreviewContainer as D,
36384
- useIntersectionObserver as Dt,
36385
- ColumnName as E,
36386
- DelayMount as Et,
36387
- ContextMenu as F,
36388
- toFieldTypes as Ft,
36389
- Combobox as G,
36390
- TabsTrigger as Gt,
36391
- CompactChipRow as H,
36392
- Tabs as Ht,
36393
- ContextMenuContent as I,
36394
- getMimeValues as It,
36395
- CommandEmpty as J,
36396
- ChartLoadingState as Jt,
36397
- ComboboxItem as K,
36398
- ChartErrorState as Kt,
36399
- ContextMenuItem as L,
36400
- isNullishFilter as Lt,
36401
- prettifyRowCount as M,
36402
- INDEX_COLUMN_NAME as Mt,
36403
- getColumnCountForDisplay as N,
36404
- SELECT_COLUMN_ID as Nt,
36405
- EmptyState as O,
36406
- usePrevious as Ot,
36407
- getUserColumnVisibilityCounts as P,
36408
- TOO_MANY_ROWS as Pt,
36409
- CommandSeparator as Q,
36410
- Kbd as Qt,
36411
- ContextMenuSeparator as R,
36412
- Maps as Rt,
36413
- downloadHTMLAsImage as S,
36414
- inferFieldTypes as St,
36415
- downloadSizeLimitAtom as T,
36416
- ColumnChartSpecModel as Tt,
36417
- DatePicker as U,
36418
- TabsContent as Ut,
36419
- useSelectList as V,
36420
- dateToLocalISOTime as Vt,
36421
- DateRangePicker as W,
36422
- TabsList as Wt,
36423
- CommandItem as X,
36424
- useOverflowDetection as Xt,
36425
- CommandInput as Y,
36426
- LazyVegaEmbed as Yt,
36427
- CommandList as Z,
36428
- RenderTextWithLinks as Zt,
36429
- InstallPackageButton as _,
36382
+ CommandSeparator as $,
36383
+ Kbd as $t,
36384
+ ErrorState as A,
36385
+ getPageIndexForRow as At,
36386
+ ContextMenuTrigger as B,
36387
+ dateToLocalISODate as Bt,
36388
+ downloadHTMLAsImage as C,
36389
+ inferFieldTypes as Ct,
36390
+ ColumnName as D,
36391
+ DelayMount as Dt,
36392
+ downloadSizeLimitAtom as E,
36393
+ ColumnChartSpecModel as Et,
36394
+ getUserColumnVisibilityCounts as F,
36395
+ TOO_MANY_ROWS as Ft,
36396
+ DateRangePicker as G,
36397
+ TabsList as Gt,
36398
+ useSelectList as H,
36399
+ dateToLocalISOTime as Ht,
36400
+ ContextMenu as I,
36401
+ toFieldTypes as It,
36402
+ Command as J,
36403
+ ChartInfoState as Jt,
36404
+ Combobox as K,
36405
+ TabsTrigger as Kt,
36406
+ ContextMenuContent as L,
36407
+ getMimeValues as Lt,
36408
+ prettifyRowColumnCount as M,
36409
+ loadTableData as Mt,
36410
+ prettifyRowCount as N,
36411
+ INDEX_COLUMN_NAME as Nt,
36412
+ ColumnPreviewContainer as O,
36413
+ useIntersectionObserver as Ot,
36414
+ getColumnCountForDisplay as P,
36415
+ SELECT_COLUMN_ID as Pt,
36416
+ CommandList as Q,
36417
+ RenderTextWithLinks as Qt,
36418
+ ContextMenuItem as R,
36419
+ isNullishFilter as Rt,
36420
+ downloadExportedFile as S,
36421
+ generateColumns as St,
36422
+ Filenames as T,
36423
+ ColumnChartContext as Tt,
36424
+ CompactChipRow as U,
36425
+ Tabs as Ut,
36426
+ useInternalStateWithSync as V,
36427
+ dateToLocalISODateTime as Vt,
36428
+ DatePicker as W,
36429
+ TabsContent as Wt,
36430
+ CommandInput as X,
36431
+ LazyVegaEmbed as Xt,
36432
+ CommandEmpty as Y,
36433
+ ChartLoadingState as Yt,
36434
+ CommandItem as Z,
36435
+ useOverflowDetection as Zt,
36436
+ DataTable as _,
36430
36437
  __tla,
36431
- ChevronsDownUp as _n,
36432
- TableHead as _t,
36433
- DEFAULT_DECK_VERTICAL_ALIGN as a,
36434
- $fae977aafc393c5c$export$6b862160d295c8e as an,
36435
- isCellAwareAtom as at,
36436
- downloadByURL as b,
36437
- NAMELESS_COLUMN_PREFIX as bt,
36438
- SlideSidebar as c,
36439
- Funnel as cn,
36440
- Toggle as ct,
36441
- RadioGroup as d,
36442
- Ellipsis as dn,
36443
- PanelResizeHandle as dt,
36444
- EmotionCacheProvider as en,
36445
- ContextAwarePanelItem as et,
36446
- RadioGroupItem as f,
36447
- Download as fn,
36448
- Fill as ft,
36449
- DataTable as g,
36450
- ChevronsLeft as gn,
36451
- TableCell as gt,
36452
- OutputRenderer as h,
36453
- ChevronsRight as hn,
36454
- TableBody as ht,
36455
- DEFAULT_DECK_TRANSITION as i,
36456
- $fae977aafc393c5c$export$588937bcd60ade55 as in,
36457
- contextAwarePanelType as it,
36458
- prettifyRowColumnCount as j,
36459
- loadTableData as jt,
36460
- ErrorState as k,
36461
- getPageIndexForRow as kt,
36462
- Slide as l,
36463
- EyeOff as ln,
36464
- Panel as lt,
36465
- OutputArea as m,
36466
- ChevronsUpDown as mn,
36467
- Table as mt,
36468
- marimoVersionAtom as n,
36469
- hasFunctionProperty as nn,
36470
- contextAwarePanelOpen as nt,
36471
- DEFAULT_SLIDE_TYPE as o,
36472
- TextWrap as on,
36473
- SlotNames as ot,
36474
- JsonOutput as p,
36475
- Code as pn,
36476
- Provider$1 as pt,
36477
- Command as q,
36478
- ChartInfoState as qt,
36479
- showCodeInRunModeAtom as r,
36480
- isRecord as rn,
36481
- contextAwarePanelOwner as rt,
36482
- SLIDE_TYPE_OPTIONS_BY_VALUE as s,
36483
- GripHorizontal as sn,
36484
- slotsController as st,
36485
- useNotebookCodeAvailable as t,
36486
- safeLocale as tn,
36487
- PANEL_TYPES as tt,
36488
- Switch as u,
36489
- Expand as un,
36490
- PanelGroup as ut,
36491
- ADD_PRINTING_CLASS as v,
36492
- ChevronLeft as vn,
36493
- TableHeader as vt,
36494
- Filenames as w,
36495
- ColumnChartContext as wt,
36496
- downloadExportedFile as x,
36497
- generateColumns as xt,
36498
- downloadBlob as y,
36499
- ArrowDownWideNarrow as yn,
36500
- TableRow as yt,
36501
- ContextMenuTrigger as z,
36502
- dateToLocalISODate as zt
36438
+ ChevronsLeft as _n,
36439
+ TableCell as _t,
36440
+ DEFAULT_DECK_TRANSITION as a,
36441
+ $fae977aafc393c5c$export$588937bcd60ade55 as an,
36442
+ contextAwarePanelType as at,
36443
+ downloadBlob as b,
36444
+ ArrowDownWideNarrow as bn,
36445
+ TableRow as bt,
36446
+ SLIDE_TYPE_OPTIONS_BY_VALUE as c,
36447
+ GripHorizontal as cn,
36448
+ slotsController as ct,
36449
+ Switch as d,
36450
+ Expand as dn,
36451
+ PanelGroup as dt,
36452
+ HtmlOutput as en,
36453
+ smartMatch as et,
36454
+ RadioGroup as f,
36455
+ Ellipsis as fn,
36456
+ PanelResizeHandle as ft,
36457
+ OutputRenderer as g,
36458
+ ChevronsRight as gn,
36459
+ TableBody as gt,
36460
+ OutputArea as h,
36461
+ ChevronsUpDown as hn,
36462
+ Table as ht,
36463
+ showCodeInRunModeAtom as i,
36464
+ isRecord as in,
36465
+ contextAwarePanelOwner as it,
36466
+ LoadingState as j,
36467
+ loadTableAndRawData as jt,
36468
+ EmptyState as k,
36469
+ usePrevious as kt,
36470
+ SlideSidebar as l,
36471
+ Funnel as ln,
36472
+ Toggle as lt,
36473
+ JsonOutput as m,
36474
+ Code as mn,
36475
+ Provider$1 as mt,
36476
+ useNotebookCodeAvailable as n,
36477
+ safeLocale as nn,
36478
+ PANEL_TYPES as nt,
36479
+ DEFAULT_DECK_VERTICAL_ALIGN as o,
36480
+ $fae977aafc393c5c$export$6b862160d295c8e as on,
36481
+ isCellAwareAtom as ot,
36482
+ RadioGroupItem as p,
36483
+ Download as pn,
36484
+ Fill as pt,
36485
+ ComboboxItem as q,
36486
+ ChartErrorState as qt,
36487
+ marimoVersionAtom as r,
36488
+ hasFunctionProperty as rn,
36489
+ contextAwarePanelOpen as rt,
36490
+ DEFAULT_SLIDE_TYPE as s,
36491
+ TextWrap as sn,
36492
+ SlotNames as st,
36493
+ cellDomProps as t,
36494
+ EmotionCacheProvider as tn,
36495
+ ContextAwarePanelItem as tt,
36496
+ Slide as u,
36497
+ EyeOff as un,
36498
+ Panel as ut,
36499
+ InstallPackageButton as v,
36500
+ ChevronsDownUp as vn,
36501
+ TableHead as vt,
36502
+ Progress as w,
36503
+ renderCellValue as wt,
36504
+ downloadByURL as x,
36505
+ NAMELESS_COLUMN_PREFIX as xt,
36506
+ ADD_PRINTING_CLASS as y,
36507
+ ChevronLeft as yn,
36508
+ TableHeader as yt,
36509
+ ContextMenuSeparator as z,
36510
+ Maps as zt
36503
36511
  };