@marimo-team/islands 0.23.7-dev48 → 0.23.7-dev50

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.
@@ -7568,9 +7568,9 @@ try {
7568
7568
  }, f = import_react.createContext(void 0), h = () => import_react.useContext(f) || d, _ = {}, v = {};
7569
7569
  function y(e2) {
7570
7570
  var _a2, _b, _c, _d;
7571
- 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), UN = !!Q && !I, $ = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
7571
+ 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), UN = !!Q && !I, WN = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
7572
7572
  h2
7573
- ]), WN = $[t], GN = WN || $, { colorSchemes: KN = _, components: qN = v, cssVarPrefix: JN } = GN, YN = Object.keys(KN).filter((e3) => !!KN[e3]).join(","), XN = import_react.useMemo(() => YN.split(","), [
7573
+ ]), GN = WN[t], KN = GN || WN, { colorSchemes: $ = _, components: qN = v, cssVarPrefix: JN } = KN, YN = Object.keys($).filter((e3) => !!$[e3]).join(","), XN = import_react.useMemo(() => YN.split(","), [
7574
7574
  YN
7575
7575
  ]), ZN = typeof s == "string" ? s : s.light, QN = typeof s == "string" ? s : s.dark, { mode: $N, setMode: eP, systemMode: tP, lightColorScheme: nP, darkColorScheme: rP, colorScheme: iP, setColorScheme: aP } = useCurrentColorScheme({
7576
7576
  supportedColorSchemes: XN,
@@ -7578,7 +7578,7 @@ try {
7578
7578
  defaultDarkColorScheme: QN,
7579
7579
  modeStorageKey: y2,
7580
7580
  colorSchemeStorageKey: S2,
7581
- defaultMode: KN[ZN] && KN[QN] ? U : ((_b = (_a2 = KN[GN.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = GN.palette) == null ? void 0 : _c.mode),
7581
+ defaultMode: $[ZN] && $[QN] ? U : ((_b = (_a2 = $[KN.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = KN.palette) == null ? void 0 : _c.mode),
7582
7582
  storageManager: E,
7583
7583
  storageWindow: O,
7584
7584
  noSsr: K
@@ -7586,15 +7586,15 @@ try {
7586
7586
  UN && (oP = Q.mode, sP = Q.colorScheme);
7587
7587
  let cP = import_react.useMemo(() => {
7588
7588
  var _a3;
7589
- let e3 = sP || GN.defaultColorScheme, t2 = ((_a3 = GN.generateThemeVars) == null ? void 0 : _a3.call(GN)) || GN.vars, n2 = {
7590
- ...GN,
7589
+ let e3 = sP || KN.defaultColorScheme, t2 = ((_a3 = KN.generateThemeVars) == null ? void 0 : _a3.call(KN)) || KN.vars, n2 = {
7590
+ ...KN,
7591
7591
  components: qN,
7592
- colorSchemes: KN,
7592
+ colorSchemes: $,
7593
7593
  cssVarPrefix: JN,
7594
7594
  vars: t2
7595
7595
  };
7596
7596
  if (typeof n2.generateSpacing == "function" && (n2.spacing = n2.generateSpacing()), e3) {
7597
- let t3 = KN[e3];
7597
+ let t3 = $[e3];
7598
7598
  t3 && typeof t3 == "object" && Object.keys(t3).forEach((e4) => {
7599
7599
  t3[e4] && typeof t3[e4] == "object" ? n2[e4] = {
7600
7600
  ...n2[e4],
@@ -7604,12 +7604,12 @@ try {
7604
7604
  }
7605
7605
  return c ? c(n2) : n2;
7606
7606
  }, [
7607
- GN,
7607
+ KN,
7608
7608
  sP,
7609
7609
  qN,
7610
- KN,
7610
+ $,
7611
7611
  JN
7612
- ]), lP = GN.colorSchemeSelector;
7612
+ ]), lP = KN.colorSchemeSelector;
7613
7613
  useEnhancedEffect_default(() => {
7614
7614
  if (sP && M && lP && lP !== "media") {
7615
7615
  let e3 = lP, t2 = lP;
@@ -7667,11 +7667,11 @@ try {
7667
7667
  tP,
7668
7668
  cP.colorSchemeSelector
7669
7669
  ]), dP = true;
7670
- (z || GN.cssVariables === false || UN && (J == null ? void 0 : J.cssVarPrefix) === JN) && (dP = false);
7670
+ (z || KN.cssVariables === false || UN && (J == null ? void 0 : J.cssVarPrefix) === JN) && (dP = false);
7671
7671
  let fP = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
7672
7672
  children: [
7673
7673
  (0, import_jsx_runtime.jsx)(ThemeProvider_default, {
7674
- themeId: WN ? t : void 0,
7674
+ themeId: GN ? t : void 0,
7675
7675
  theme: cP,
7676
7676
  children: d2
7677
7677
  }),
@@ -9182,7 +9182,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
9182
9182
  let n = useDefaultProps({
9183
9183
  props: e,
9184
9184
  name: "MuiInputBase"
9185
- }), { "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: UN, onFocus: $, onKeyDown: WN, onKeyUp: GN, placeholder: KN, readOnly: qN, renderSuffix: JN, rows: YN, size: XN, slotProps: ZN = {}, slots: QN = {}, startAdornment: $N, type: eP = "text", value: tP, ...nP } = n, rP = A.value == null ? tP : A.value, { current: iP } = import_react.useRef(rP != null), aP = import_react.useRef(), oP = import_react.useCallback((e2) => {
9185
+ }), { "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: UN, onFocus: WN, onKeyDown: GN, onKeyUp: KN, placeholder: $, readOnly: qN, renderSuffix: JN, rows: YN, size: XN, slotProps: ZN = {}, slots: QN = {}, startAdornment: $N, type: eP = "text", value: tP, ...nP } = n, rP = A.value == null ? tP : A.value, { current: iP } = import_react.useRef(rP != null), aP = import_react.useRef(), oP = import_react.useCallback((e2) => {
9186
9186
  }, []), sP = useForkRef_default(aP, M, A.ref, oP), [cP, lP] = import_react.useState(false), uP = useFormControl(), dP = formControlState({
9187
9187
  props: n,
9188
9188
  muiFormControl: uP,
@@ -9220,7 +9220,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
9220
9220
  iP
9221
9221
  ]);
9222
9222
  let hP = (e2) => {
9223
- $ && $(e2), A.onFocus && A.onFocus(e2), uP && uP.onFocus ? uP.onFocus(e2) : lP(true);
9223
+ WN && WN(e2), A.onFocus && A.onFocus(e2), uP && uP.onFocus ? uP.onFocus(e2) : lP(true);
9224
9224
  }, gP = (e2) => {
9225
9225
  J && J(e2), A.onBlur && A.onBlur(e2), uP && uP.onBlur ? uP.onBlur(e2) : lP(false);
9226
9226
  }, _P = (e2, ...t2) => {
@@ -9308,13 +9308,13 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
9308
9308
  id: E,
9309
9309
  onAnimationStart: xP,
9310
9310
  name: q,
9311
- placeholder: KN,
9311
+ placeholder: $,
9312
9312
  readOnly: qN,
9313
9313
  required: dP.required,
9314
9314
  rows: YN,
9315
9315
  value: rP,
9316
- onKeyDown: WN,
9317
- onKeyUp: GN,
9316
+ onKeyDown: GN,
9317
+ onKeyUp: KN,
9318
9318
  type: eP,
9319
9319
  ...bP,
9320
9320
  ...!isHostComponent_default(EP) && {
@@ -10410,7 +10410,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
10410
10410
  M,
10411
10411
  i,
10412
10412
  a
10413
- ]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), UN = useJsonViewerStore((e2) => e2.onChange), $ = useTextColor(), WN = useJsonViewerStore((e2) => e2.colorspace.base0C), GN = useJsonViewerStore((e2) => e2.colorspace.base0A), KN = useJsonViewerStore((e2) => e2.displayComma), qN = useJsonViewerStore((e2) => e2.quotesOnKeys), JN = useJsonViewerStore((e2) => e2.rootName), YN = U === t, XN = Number.isInteger(Number(A)), ZN = useJsonViewerStore((e2) => e2.enableAdd), QN = useJsonViewerStore((e2) => e2.onAdd), $N = (0, import_react.useMemo)(() => !QN || a !== void 0 || ZN === false || v === false ? false : typeof ZN == "function" ? !!ZN(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
10413
+ ]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), UN = useJsonViewerStore((e2) => e2.onChange), WN = useTextColor(), GN = useJsonViewerStore((e2) => e2.colorspace.base0C), KN = useJsonViewerStore((e2) => e2.colorspace.base0A), $ = useJsonViewerStore((e2) => e2.displayComma), qN = useJsonViewerStore((e2) => e2.quotesOnKeys), JN = useJsonViewerStore((e2) => e2.rootName), YN = U === t, XN = Number.isInteger(Number(A)), ZN = useJsonViewerStore((e2) => e2.enableAdd), QN = useJsonViewerStore((e2) => e2.onAdd), $N = (0, import_react.useMemo)(() => !QN || a !== void 0 || ZN === false || v === false ? false : typeof ZN == "function" ? !!ZN(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
10414
10414
  QN,
10415
10415
  a,
10416
10416
  i,
@@ -10433,7 +10433,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
10433
10433
  (0, import_react.useEffect)(() => {
10434
10434
  cP.current && sP && "animate" in cP.current && cP.current.animate([
10435
10435
  {
10436
- backgroundColor: GN
10436
+ backgroundColor: KN
10437
10437
  },
10438
10438
  {
10439
10439
  backgroundColor: ""
@@ -10443,7 +10443,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
10443
10443
  easing: "ease-in"
10444
10444
  });
10445
10445
  }, [
10446
- GN,
10446
+ KN,
10447
10447
  sP,
10448
10448
  n,
10449
10449
  t
@@ -10591,7 +10591,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
10591
10591
  className: "data-key",
10592
10592
  sx: {
10593
10593
  lineHeight: 1.5,
10594
- color: $,
10594
+ color: WN,
10595
10595
  letterSpacing: 0.5,
10596
10596
  opacity: 0.8
10597
10597
  },
@@ -10636,7 +10636,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
10636
10636
  }) : a === void 0 && (XN ? (0, import_jsx_runtime.jsx)(Box_default, {
10637
10637
  component: "span",
10638
10638
  style: {
10639
- color: WN,
10639
+ color: GN,
10640
10640
  userSelect: XN ? "none" : "auto"
10641
10641
  },
10642
10642
  children: A
@@ -10689,7 +10689,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
10689
10689
  d && (0, import_jsx_runtime.jsx)(d, {
10690
10690
  ...gP
10691
10691
  }),
10692
- !o && KN && (0, import_jsx_runtime.jsx)(DataBox, {
10692
+ !o && $ && (0, import_jsx_runtime.jsx)(DataBox, {
10693
10693
  children: ","
10694
10694
  }),
10695
10695
  I && mP && !K && fP,
@@ -11535,11 +11535,11 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
11535
11535
  }
11536
11536
  let _, v, y, S, w, E;
11537
11537
  if (t[2] !== d || t[3] !== i || t[4] !== s || t[5] !== o || t[6] !== n || t[7] !== h || t[8] !== c) {
11538
- let e2 = n.filter(_temp7), O2 = n.filter(_temp8), A2 = n.filter(_temp9), M = n.filter(_temp0), I = n.filter(_temp1), z = n.filter(_temp10), U = n.filter(_temp11), K = n.filter(_temp12), q = n.filter(_temp13), J = n.filter(_temp14), Q = n.filter(_temp15), UN = n.filter(_temp16), $ = n.filter(_temp17), WN;
11539
- t[15] === s ? WN = t[16] : (WN = () => {
11538
+ let e2 = n.filter(_temp7), O2 = n.filter(_temp8), A2 = n.filter(_temp9), M = n.filter(_temp0), I = n.filter(_temp1), z = n.filter(_temp10), U = n.filter(_temp11), K = n.filter(_temp12), q = n.filter(_temp13), J = n.filter(_temp14), Q = n.filter(_temp15), UN = n.filter(_temp16), WN = n.filter(_temp17), GN;
11539
+ t[15] === s ? GN = t[16] : (GN = () => {
11540
11540
  s.openApplication("scratchpad");
11541
- }, t[15] = s, t[16] = WN);
11542
- let GN = WN, KN = () => {
11541
+ }, t[15] = s, t[16] = GN);
11542
+ let KN = GN, $ = () => {
11543
11543
  let t2 = [];
11544
11544
  if (Q.length > 0 || UN.length > 0) {
11545
11545
  let e3 = Q.some(_temp18), n2 = !e3 && Q.some(_temp19);
@@ -11739,7 +11739,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
11739
11739
  size: "xs",
11740
11740
  variant: "link",
11741
11741
  className: "my-2 font-normal mx-0 px-0",
11742
- onClick: GN,
11742
+ onClick: KN,
11743
11743
  children: [
11744
11744
  (0, import_jsx_runtime.jsx)(NotebookPen, {
11745
11745
  className: "h-3"
@@ -11854,11 +11854,11 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
11854
11854
  cellId: i
11855
11855
  })
11856
11856
  ]
11857
- }, "ancestor-stopped")), $.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
11857
+ }, "ancestor-stopped")), WN.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
11858
11858
  children: [
11859
- $.map(_temp35),
11859
+ WN.map(_temp35),
11860
11860
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
11861
- errors: $,
11861
+ errors: WN,
11862
11862
  cellId: i,
11863
11863
  className: "mt-2.5"
11864
11864
  })
@@ -11870,7 +11870,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
11870
11870
  children: c
11871
11871
  }), t[17] = qN, t[18] = c, t[19] = JN) : JN = t[19];
11872
11872
  let YN = JN;
11873
- _ = Alert, S = d, t[20] === o ? w = t[21] : (w = cn("border-none font-code text-sm text-[0.84375rem] px-0 text-muted-foreground normal [&:has(svg)]:pl-0 space-y-4", o), t[20] = o, t[21] = w), E = YN, v = "flex flex-col gap-8", y = KN(), t[2] = d, t[3] = i, t[4] = s, t[5] = o, t[6] = n, t[7] = h, t[8] = c, t[9] = _, t[10] = v, t[11] = y, t[12] = S, t[13] = w, t[14] = E;
11873
+ _ = Alert, S = d, t[20] === o ? w = t[21] : (w = cn("border-none font-code text-sm text-[0.84375rem] px-0 text-muted-foreground normal [&:has(svg)]:pl-0 space-y-4", o), t[20] = o, t[21] = w), E = YN, v = "flex flex-col gap-8", y = $(), t[2] = d, t[3] = i, t[4] = s, t[5] = o, t[6] = n, t[7] = h, t[8] = c, t[9] = _, t[10] = v, t[11] = y, t[12] = S, t[13] = w, t[14] = E;
11874
11874
  } else _ = t[9], v = t[10], y = t[11], S = t[12], w = t[13], E = t[14];
11875
11875
  let O;
11876
11876
  t[22] !== v || t[23] !== y ? (O = (0, import_jsx_runtime.jsx)("div", {
@@ -12900,7 +12900,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
12900
12900
  }, [
12901
12901
  h
12902
12902
  ]), k(() => {
12903
- U(6, WN);
12903
+ U(6, GN);
12904
12904
  }, []);
12905
12905
  let K = import_react.useMemo(() => ({
12906
12906
  subscribe: (e2) => (s.current.add(e2), () => s.current.delete(e2)),
@@ -12909,7 +12909,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
12909
12909
  var _a2;
12910
12910
  var a2, o2, s2;
12911
12911
  if (!Object.is(n.current[e2], t2)) {
12912
- if (n.current[e2] = t2, e2 === "search") $(), Q(), U(1, UN);
12912
+ if (n.current[e2] = t2, e2 === "search") WN(), Q(), U(1, UN);
12913
12913
  else if (e2 === "value") {
12914
12914
  if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
12915
12915
  let e3 = document.getElementById(I);
@@ -12917,8 +12917,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
12917
12917
  }
12918
12918
  if (U(7, () => {
12919
12919
  var _a3;
12920
- n.current.selectedItemId = (_a3 = GN()) == null ? void 0 : _a3.id, K.emit();
12921
- }), i2 || U(5, WN), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
12920
+ n.current.selectedItemId = (_a3 = KN()) == null ? void 0 : _a3.id, K.emit();
12921
+ }), i2 || U(5, GN), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
12922
12922
  let e3 = t2 ?? "";
12923
12923
  (s2 = (o2 = c.current).onValueChange) == null || s2.call(o2, e3);
12924
12924
  return;
@@ -12943,12 +12943,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
12943
12943
  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([
12944
12944
  e2
12945
12945
  ]))), U(3, () => {
12946
- $(), Q(), n.current.value || UN(), K.emit();
12946
+ WN(), Q(), n.current.value || UN(), K.emit();
12947
12947
  }), () => {
12948
12948
  o.current.delete(e2), i.current.delete(e2), n.current.filtered.items.delete(e2);
12949
- let t3 = GN();
12949
+ let t3 = KN();
12950
12950
  U(4, () => {
12951
- $(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && UN(), K.emit();
12951
+ WN(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && UN(), K.emit();
12952
12952
  });
12953
12953
  }),
12954
12954
  group: (e2) => (a.current.has(e2) || a.current.set(e2, /* @__PURE__ */ new Set()), () => {
@@ -12981,7 +12981,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
12981
12981
  ]);
12982
12982
  });
12983
12983
  let i2 = z.current;
12984
- KN().sort((t3, n2) => {
12984
+ $().sort((t3, n2) => {
12985
12985
  let i3 = t3.getAttribute("id"), a2 = n2.getAttribute("id");
12986
12986
  return (e2.get(a2) ?? 0) - (e2.get(i3) ?? 0);
12987
12987
  }).forEach((e3) => {
@@ -12995,10 +12995,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
12995
12995
  }
12996
12996
  function UN() {
12997
12997
  var _a2;
12998
- let e2 = (_a2 = KN().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
12998
+ let e2 = (_a2 = $().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
12999
12999
  K.setState("value", e2 || void 0);
13000
13000
  }
13001
- function $() {
13001
+ function WN() {
13002
13002
  var _a2, _b;
13003
13003
  if (!n.current.search || c.current.shouldFilter === false) {
13004
13004
  n.current.filtered.count = i.current.size;
@@ -13016,40 +13016,40 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
13016
13016
  }
13017
13017
  n.current.filtered.count = e2;
13018
13018
  }
13019
- function WN() {
13019
+ function GN() {
13020
13020
  var _a2, _b;
13021
13021
  var e2;
13022
- let t2 = GN();
13022
+ let t2 = KN();
13023
13023
  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({
13024
13024
  block: "nearest"
13025
13025
  })), t2.scrollIntoView({
13026
13026
  block: "nearest"
13027
13027
  }));
13028
13028
  }
13029
- function GN() {
13029
+ function KN() {
13030
13030
  var _a2;
13031
13031
  return (_a2 = z.current) == null ? void 0 : _a2.querySelector(`${le}[aria-selected="true"]`);
13032
13032
  }
13033
- function KN() {
13033
+ function $() {
13034
13034
  var _a2;
13035
13035
  return Array.from(((_a2 = z.current) == null ? void 0 : _a2.querySelectorAll(ce$1)) || []);
13036
13036
  }
13037
13037
  function qN(e2) {
13038
- let t2 = KN()[e2];
13038
+ let t2 = $()[e2];
13039
13039
  t2 && K.setState("value", t2.getAttribute(T));
13040
13040
  }
13041
13041
  function JN(e2) {
13042
13042
  var t2;
13043
- let n2 = GN(), i2 = KN(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
13043
+ let n2 = KN(), i2 = $(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
13044
13044
  (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));
13045
13045
  }
13046
13046
  function YN(e2) {
13047
13047
  var _a2;
13048
- let t2 = (_a2 = GN()) == null ? void 0 : _a2.closest(N$1), n2;
13048
+ let t2 = (_a2 = KN()) == null ? void 0 : _a2.closest(N$1), n2;
13049
13049
  for (; t2 && !n2; ) t2 = e2 > 0 ? we(t2, N$1) : De(t2, N$1), n2 = t2 == null ? void 0 : t2.querySelector(ce$1);
13050
13050
  n2 ? K.setState("value", n2.getAttribute(T)) : JN(e2);
13051
13051
  }
13052
- let XN = () => qN(KN().length - 1), ZN = (e2) => {
13052
+ let XN = () => qN($().length - 1), ZN = (e2) => {
13053
13053
  e2.preventDefault(), e2.metaKey ? XN() : e2.altKey ? YN(1) : JN(1);
13054
13054
  }, QN = (e2) => {
13055
13055
  e2.preventDefault(), e2.metaKey ? qN(0) : e2.altKey ? YN(-1) : JN(-1);
@@ -13086,7 +13086,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
13086
13086
  break;
13087
13087
  case "Enter": {
13088
13088
  e2.preventDefault();
13089
- let t3 = GN();
13089
+ let t3 = KN();
13090
13090
  if (t3) {
13091
13091
  let e3 = new Event(Z);
13092
13092
  t3.dispatchEvent(e3);
@@ -19215,7 +19215,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19215
19215
  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 }) {
19216
19216
  let E = (0, import_react.useContext)(PanelGroupContext);
19217
19217
  if (E === null) throw Error("Panel components must be rendered within a PanelGroup container");
19218
- let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, UN = useUniqueId(s), $ = (0, import_react.useRef)({
19218
+ let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, UN = useUniqueId(s), WN = (0, import_react.useRef)({
19219
19219
  callbacks: {
19220
19220
  onCollapse: f,
19221
19221
  onExpand: h,
@@ -19235,12 +19235,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19235
19235
  (0, import_react.useRef)({
19236
19236
  didLogMissingDefaultSizeWarning: false
19237
19237
  }), useIsomorphicLayoutEffect$1(() => {
19238
- let { callbacks: e2, constraints: t2 } = $.current, o2 = {
19238
+ let { callbacks: e2, constraints: t2 } = WN.current, o2 = {
19239
19239
  ...t2
19240
19240
  };
19241
- $.current.id = UN, $.current.idIsFromProps = s !== void 0, $.current.order = v, e2.onCollapse = f, e2.onExpand = h, e2.onResize = _, t2.collapsedSize = n, t2.collapsible = i, t2.defaultSize = a, t2.maxSize = c, t2.minSize = d, (o2.collapsedSize !== t2.collapsedSize || o2.collapsible !== t2.collapsible || o2.maxSize !== t2.maxSize || o2.minSize !== t2.minSize) && K($.current, o2);
19241
+ WN.current.id = UN, WN.current.idIsFromProps = s !== void 0, WN.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(WN.current, o2);
19242
19242
  }), useIsomorphicLayoutEffect$1(() => {
19243
- let e2 = $.current;
19243
+ let e2 = WN.current;
19244
19244
  return q(e2), () => {
19245
19245
  Q(e2);
19246
19246
  };
@@ -19251,25 +19251,25 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19251
19251
  Q
19252
19252
  ]), (0, import_react.useImperativeHandle)(o, () => ({
19253
19253
  collapse: () => {
19254
- O($.current);
19254
+ O(WN.current);
19255
19255
  },
19256
19256
  expand: (e2) => {
19257
- A($.current, e2);
19257
+ A(WN.current, e2);
19258
19258
  },
19259
19259
  getId() {
19260
19260
  return UN;
19261
19261
  },
19262
19262
  getSize() {
19263
- return M($.current);
19263
+ return M(WN.current);
19264
19264
  },
19265
19265
  isCollapsed() {
19266
- return U($.current);
19266
+ return U(WN.current);
19267
19267
  },
19268
19268
  isExpanded() {
19269
- return !U($.current);
19269
+ return !U(WN.current);
19270
19270
  },
19271
19271
  resize: (e2) => {
19272
- J($.current, e2);
19272
+ J(WN.current, e2);
19273
19273
  }
19274
19274
  }), [
19275
19275
  O,
@@ -19279,21 +19279,21 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19279
19279
  UN,
19280
19280
  J
19281
19281
  ]);
19282
- let WN = I($.current, a);
19282
+ let GN = I(WN.current, a);
19283
19283
  return (0, import_react.createElement)(S, {
19284
19284
  ...w,
19285
19285
  children: e,
19286
19286
  className: t,
19287
19287
  id: UN,
19288
19288
  style: {
19289
- ...WN,
19289
+ ...GN,
19290
19290
  ...y
19291
19291
  },
19292
19292
  [DATA_ATTRIBUTES.groupId]: z,
19293
19293
  [DATA_ATTRIBUTES.panel]: "",
19294
19294
  [DATA_ATTRIBUTES.panelCollapsible]: i || void 0,
19295
19295
  [DATA_ATTRIBUTES.panelId]: UN,
19296
- [DATA_ATTRIBUTES.panelSize]: parseFloat("" + WN.flexGrow).toFixed(1)
19296
+ [DATA_ATTRIBUTES.panelSize]: parseFloat("" + GN.flexGrow).toFixed(1)
19297
19297
  });
19298
19298
  }
19299
19299
  var Panel = (0, import_react.forwardRef)((e, t) => (0, import_react.createElement)(PanelWithForwardedRef, {
@@ -20078,13 +20078,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20078
20078
  }, [
20079
20079
  S,
20080
20080
  E
20081
- ]), $ = (0, import_react.useCallback)((e2) => {
20081
+ ]), WN = (0, import_react.useCallback)((e2) => {
20082
20082
  let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
20083
20083
  return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), a2 === true && fuzzyNumbersEqual$1(o2, i2);
20084
- }, []), WN = (0, import_react.useCallback)((e2) => {
20084
+ }, []), GN = (0, import_react.useCallback)((e2) => {
20085
20085
  let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
20086
20086
  return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), !a2 || fuzzyCompareNumbers(o2, i2) > 0;
20087
- }, []), GN = (0, import_react.useCallback)((e2) => {
20087
+ }, []), KN = (0, import_react.useCallback)((e2) => {
20088
20088
  let { panelDataArray: t2 } = K.current;
20089
20089
  t2.push(e2), t2.sort((e3, t3) => {
20090
20090
  let n2 = e3.order, i2 = t3.order;
@@ -20116,7 +20116,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20116
20116
  e2.layout = [];
20117
20117
  };
20118
20118
  }, []);
20119
- let KN = (0, import_react.useCallback)((e2) => {
20119
+ let $ = (0, import_react.useCallback)((e2) => {
20120
20120
  let t2 = false, n2 = y.current;
20121
20121
  return n2 && window.getComputedStyle(n2, null).getPropertyValue("direction") === "rtl" && (t2 = true), function(n3) {
20122
20122
  n3.preventDefault();
@@ -20178,11 +20178,11 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20178
20178
  getPanelSize: Q,
20179
20179
  getPanelStyle: UN,
20180
20180
  groupId: v,
20181
- isPanelCollapsed: $,
20182
- isPanelExpanded: WN,
20181
+ isPanelCollapsed: WN,
20182
+ isPanelExpanded: GN,
20183
20183
  reevaluatePanelConstraints: JN,
20184
- registerPanel: GN,
20185
- registerResizeHandle: KN,
20184
+ registerPanel: KN,
20185
+ registerResizeHandle: $,
20186
20186
  resizePanel: qN,
20187
20187
  startDragging: YN,
20188
20188
  stopDragging: XN,
@@ -20196,11 +20196,11 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20196
20196
  Q,
20197
20197
  UN,
20198
20198
  v,
20199
- $,
20200
20199
  WN,
20201
- JN,
20202
20200
  GN,
20201
+ JN,
20203
20202
  KN,
20203
+ $,
20204
20204
  qN,
20205
20205
  YN,
20206
20206
  XN,
@@ -20298,16 +20298,16 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20298
20298
  });
20299
20299
  let O = (0, import_react.useContext)(PanelGroupContext);
20300
20300
  if (O === null) throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");
20301
- let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [UN, $] = (0, import_react.useState)(false), [WN, GN] = (0, import_react.useState)(null), KN = (0, import_react.useRef)({
20301
+ let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [UN, WN] = (0, import_react.useState)(false), [GN, KN] = (0, import_react.useState)(null), $ = (0, import_react.useRef)({
20302
20302
  state: J
20303
20303
  });
20304
20304
  useIsomorphicLayoutEffect$1(() => {
20305
- KN.current.state = J;
20305
+ $.current.state = J;
20306
20306
  }), (0, import_react.useEffect)(() => {
20307
- if (n) GN(null);
20307
+ if (n) KN(null);
20308
20308
  else {
20309
20309
  let e2 = I(q);
20310
- GN(() => e2);
20310
+ KN(() => e2);
20311
20311
  }
20312
20312
  }, [
20313
20313
  n,
@@ -20316,7 +20316,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20316
20316
  ]);
20317
20317
  let qN = (i == null ? void 0 : i.coarse) ?? 15, JN = (i == null ? void 0 : i.fine) ?? 5;
20318
20318
  (0, import_react.useEffect)(() => {
20319
- if (n || WN == null) return;
20319
+ if (n || GN == null) return;
20320
20320
  let e2 = w.current;
20321
20321
  assert(e2, "Element ref not attached");
20322
20322
  let t2 = false;
@@ -20336,8 +20336,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20336
20336
  break;
20337
20337
  }
20338
20338
  case "move": {
20339
- let { state: e4 } = KN.current;
20340
- t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), WN(i2);
20339
+ let { state: e4 } = $.current;
20340
+ t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), GN(i2);
20341
20341
  break;
20342
20342
  }
20343
20343
  case "up": {
@@ -20355,13 +20355,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20355
20355
  JN,
20356
20356
  I,
20357
20357
  q,
20358
- WN,
20358
+ GN,
20359
20359
  z,
20360
20360
  U
20361
20361
  ]), useWindowSplitterResizeHandlerBehavior({
20362
20362
  disabled: n,
20363
20363
  handleId: q,
20364
- resizeHandler: WN,
20364
+ resizeHandler: GN,
20365
20365
  panelGroupElement: K
20366
20366
  });
20367
20367
  let YN = {
@@ -20374,10 +20374,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20374
20374
  className: t,
20375
20375
  id: a,
20376
20376
  onBlur: () => {
20377
- $(false), o == null ? void 0 : o();
20377
+ WN(false), o == null ? void 0 : o();
20378
20378
  },
20379
20379
  onFocus: () => {
20380
- $(true), d == null ? void 0 : d();
20380
+ WN(true), d == null ? void 0 : d();
20381
20381
  },
20382
20382
  ref: w,
20383
20383
  role: "separator",
@@ -20554,150 +20554,155 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20554
20554
  onSelect: Functions.NOOP
20555
20555
  });
20556
20556
  Combobox = (e) => {
20557
- let t = (0, import_compiler_runtime$21.c)(96), n, i, o, s, c, d, f, h, _, v, y, S, w, E, O, A, M, I, z, U, K, q;
20558
- t[0] === e ? (n = t[1], i = t[2], o = t[3], s = t[4], c = t[5], d = t[6], f = t[7], h = t[8], _ = t[9], v = t[10], y = t[11], S = t[12], w = t[13], E = t[14], O = t[15], A = t[16], M = t[17], I = t[18], z = t[19], U = t[20], K = t[21], q = t[22]) : ({ children: n, displayValue: d, className: o, placeholder: E, value: q, defaultValue: c, onValueChange: S, multiple: M, shouldFilter: I, filterFn: f, open: w, defaultOpen: s, onOpenChange: v, inputPlaceholder: z, search: A, onSearchChange: y, emptyState: U, chips: K, chipsClassName: i, keepPopoverOpenOnSelect: _, id: h, ...O } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o, t[4] = s, t[5] = c, t[6] = d, t[7] = f, t[8] = h, t[9] = _, t[10] = v, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = O, t[16] = A, t[17] = M, t[18] = I, t[19] = z, t[20] = U, t[21] = K, t[22] = q);
20559
- let J = M === void 0 ? false : M, Q = I === void 0 ? true : I, UN = z === void 0 ? "Search..." : z, $ = U === void 0 ? "Nothing found." : U, WN = K === void 0 ? false : K, GN = s ?? false, KN;
20560
- t[23] !== v || t[24] !== w || t[25] !== GN ? (KN = {
20557
+ let t = (0, import_compiler_runtime$21.c)(103), n, i, o, s, c, d, f, h, _, v, y, S, w, E, O, A, M, I, z, U, K, q, J;
20558
+ t[0] === e ? (n = t[1], i = t[2], o = t[3], s = t[4], c = t[5], d = t[6], f = t[7], h = t[8], _ = t[9], v = t[10], y = t[11], S = t[12], w = t[13], E = t[14], O = t[15], A = t[16], M = t[17], I = t[18], z = t[19], U = t[20], K = t[21], q = t[22], J = t[23]) : ({ children: n, displayValue: d, className: o, placeholder: E, value: J, defaultValue: c, onValueChange: S, multiple: M, shouldFilter: I, filterFn: f, open: w, defaultOpen: s, onOpenChange: v, inputPlaceholder: z, search: A, onSearchChange: y, emptyState: U, chips: K, chipsClassName: i, keepPopoverOpenOnSelect: _, id: h, disabled: q, ...O } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o, t[4] = s, t[5] = c, t[6] = d, t[7] = f, t[8] = h, t[9] = _, t[10] = v, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = O, t[16] = A, t[17] = M, t[18] = I, t[19] = z, t[20] = U, t[21] = K, t[22] = q, t[23] = J);
20559
+ let Q = M === void 0 ? false : M, UN = I === void 0 ? true : I, WN = z === void 0 ? "Search..." : z, GN = U === void 0 ? "Nothing found." : U, KN = K === void 0 ? false : K, $ = q === void 0 ? false : q, qN = s ?? false, JN;
20560
+ t[24] !== v || t[25] !== w || t[26] !== qN ? (JN = {
20561
20561
  prop: w,
20562
- defaultProp: GN,
20562
+ defaultProp: qN,
20563
20563
  onChange: v
20564
- }, t[23] = v, t[24] = w, t[25] = GN, t[26] = KN) : KN = t[26];
20565
- let [qN, JN] = useControllableState(KN), YN = qN === void 0 ? false : qN, XN;
20566
- t[27] === S ? XN = t[28] : (XN = (e2) => {
20564
+ }, t[24] = v, t[25] = w, t[26] = qN, t[27] = JN) : JN = t[27];
20565
+ let [YN, XN] = useControllableState(JN), ZN = YN === void 0 ? false : YN, QN;
20566
+ t[28] === S ? QN = t[29] : (QN = (e2) => {
20567
20567
  S == null ? void 0 : S(e2);
20568
- }, t[27] = S, t[28] = XN);
20569
- let ZN;
20570
- t[29] !== c || t[30] !== XN || t[31] !== q ? (ZN = {
20571
- prop: q,
20568
+ }, t[28] = S, t[29] = QN);
20569
+ let $N;
20570
+ t[30] !== c || t[31] !== QN || t[32] !== J ? ($N = {
20571
+ prop: J,
20572
20572
  defaultProp: c,
20573
- onChange: XN
20574
- }, t[29] = c, t[30] = XN, t[31] = q, t[32] = ZN) : ZN = t[32];
20575
- let [QN, $N] = useControllableState(ZN), eP;
20576
- t[33] === QN ? eP = t[34] : (eP = (e2) => Array.isArray(QN) ? QN.includes(e2) : QN === e2, t[33] = QN, t[34] = eP);
20577
- let tP = eP, nP;
20578
- t[35] !== _ || t[36] !== J || t[37] !== JN || t[38] !== $N || t[39] !== QN ? (nP = (e2) => {
20573
+ onChange: QN
20574
+ }, t[30] = c, t[31] = QN, t[32] = J, t[33] = $N) : $N = t[33];
20575
+ let [eP, tP] = useControllableState($N), nP;
20576
+ t[34] === eP ? nP = t[35] : (nP = (e2) => Array.isArray(eP) ? eP.includes(e2) : eP === e2, t[34] = eP, t[35] = nP);
20577
+ let rP = nP, iP;
20578
+ t[36] !== _ || t[37] !== Q || t[38] !== XN || t[39] !== tP || t[40] !== eP ? (iP = (e2) => {
20579
20579
  let t2 = e2;
20580
- if (J) if (Array.isArray(QN)) if (QN.includes(t2)) {
20581
- let n2 = QN.filter((t3) => t3 !== e2);
20580
+ if (Q) if (Array.isArray(eP)) if (eP.includes(t2)) {
20581
+ let n2 = eP.filter((t3) => t3 !== e2);
20582
20582
  t2 = n2.length > 0 ? n2 : [];
20583
20583
  } else t2 = [
20584
- ...QN,
20584
+ ...eP,
20585
20585
  t2
20586
20586
  ];
20587
20587
  else t2 = [
20588
20588
  t2
20589
20589
  ];
20590
- else QN === e2 && (t2 = null);
20591
- $N(t2), (_ ?? J) || JN(false);
20592
- }, t[35] = _, t[36] = J, t[37] = JN, t[38] = $N, t[39] = QN, t[40] = nP) : nP = t[40];
20593
- let rP = nP, iP;
20594
- t[41] !== WN || t[42] !== d || t[43] !== J || t[44] !== E || t[45] !== QN ? (iP = () => J && WN && E ? E : QN == null ? E ?? "--" : Array.isArray(QN) ? QN.length === 0 ? E ?? "--" : QN.length === 1 && d !== void 0 ? d(QN[0]) : `${QN.length} selected` : d === void 0 ? E ?? "--" : d(QN), t[41] = WN, t[42] = d, t[43] = J, t[44] = E, t[45] = QN, t[46] = iP) : iP = t[46];
20590
+ else eP === e2 && (t2 = null);
20591
+ tP(t2), (_ ?? Q) || XN(false);
20592
+ }, t[36] = _, t[37] = Q, t[38] = XN, t[39] = tP, t[40] = eP, t[41] = iP) : iP = t[41];
20595
20593
  let aP = iP, oP;
20596
- t[47] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (oP = cn("relative"), t[47] = oP) : oP = t[47];
20597
- let sP;
20598
- t[48] === o ? sP = t[49] : (sP = cn("flex h-6 w-fit mb-1 shadow-xs-solid items-center justify-between rounded-sm border border-input bg-transparent px-2 text-sm font-prose ring-offset-background placeholder:text-muted-foreground hover:shadow-sm-solid focus:outline-hidden focus:ring-1 focus:ring-ring focus:border-primary focus:shadow-md-solid disabled:cursor-not-allowed disabled:opacity-50", o), t[48] = o, t[49] = sP);
20599
- let cP;
20600
- t[50] === aP ? cP = t[51] : (cP = aP(), t[50] = aP, t[51] = cP);
20594
+ t[42] !== KN || t[43] !== d || t[44] !== Q || t[45] !== E || t[46] !== eP ? (oP = () => Q && KN && E ? E : eP == null ? E ?? "--" : Array.isArray(eP) ? eP.length === 0 ? E ?? "--" : eP.length === 1 && d !== void 0 ? d(eP[0]) : `${eP.length} selected` : d === void 0 ? E ?? "--" : d(eP), t[42] = KN, t[43] = d, t[44] = Q, t[45] = E, t[46] = eP, t[47] = oP) : oP = t[47];
20595
+ let sP = oP, cP;
20596
+ t[48] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (cP = cn("relative"), t[48] = cP) : cP = t[48];
20601
20597
  let lP;
20602
- t[52] === cP ? lP = t[53] : (lP = (0, import_jsx_runtime.jsx)("span", {
20598
+ t[49] !== $ || t[50] !== XN ? (lP = (e2) => {
20599
+ $ && e2 || XN(e2);
20600
+ }, t[49] = $, t[50] = XN, t[51] = lP) : lP = t[51];
20601
+ let uP = $ && "cursor-not-allowed opacity-50", fP;
20602
+ t[52] !== o || t[53] !== uP ? (fP = 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", uP, o), t[52] = o, t[53] = uP, t[54] = fP) : fP = t[54];
20603
+ let pP;
20604
+ t[55] === sP ? pP = t[56] : (pP = sP(), t[55] = sP, t[56] = pP);
20605
+ let hP;
20606
+ t[57] === pP ? hP = t[58] : (hP = (0, import_jsx_runtime.jsx)("span", {
20603
20607
  className: "truncate flex-1 min-w-0",
20604
- children: cP
20605
- }), t[52] = cP, t[53] = lP);
20606
- let uP;
20607
- t[54] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (uP = (0, import_jsx_runtime.jsx)(ChevronDown, {
20608
+ children: pP
20609
+ }), t[57] = pP, t[58] = hP);
20610
+ let gP;
20611
+ t[59] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (gP = (0, import_jsx_runtime.jsx)(ChevronDown, {
20608
20612
  className: "ml-3 w-4 h-4 opacity-50 shrink-0"
20609
- }), t[54] = uP) : uP = t[54];
20610
- let fP;
20611
- t[55] !== h || t[56] !== YN || t[57] !== sP || t[58] !== lP ? (fP = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
20613
+ }), t[59] = gP) : gP = t[59];
20614
+ let _P;
20615
+ t[60] !== $ || t[61] !== h || t[62] !== ZN || t[63] !== fP || t[64] !== hP ? (_P = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
20612
20616
  asChild: true,
20613
20617
  children: (0, import_jsx_runtime.jsxs)("button", {
20614
20618
  id: h,
20615
20619
  type: "button",
20616
- className: sP,
20617
- "aria-expanded": YN,
20620
+ className: fP,
20621
+ "aria-expanded": ZN,
20622
+ "aria-disabled": $,
20618
20623
  children: [
20619
- lP,
20620
- uP
20624
+ hP,
20625
+ gP
20621
20626
  ]
20622
20627
  })
20623
- }), t[55] = h, t[56] = YN, t[57] = sP, t[58] = lP, t[59] = fP) : fP = t[59];
20624
- let pP;
20625
- t[60] !== UN || t[61] !== y || t[62] !== A ? (pP = (0, import_jsx_runtime.jsx)(CommandInput, {
20626
- placeholder: UN,
20628
+ }), t[60] = $, t[61] = h, t[62] = ZN, t[63] = fP, t[64] = hP, t[65] = _P) : _P = t[65];
20629
+ let vP;
20630
+ t[66] !== WN || t[67] !== y || t[68] !== A ? (vP = (0, import_jsx_runtime.jsx)(CommandInput, {
20631
+ placeholder: WN,
20627
20632
  rootClassName: "px-1 h-8",
20628
20633
  autoFocus: true,
20629
20634
  value: A,
20630
20635
  onValueChange: y
20631
- }), t[60] = UN, t[61] = y, t[62] = A, t[63] = pP) : pP = t[63];
20632
- let hP;
20633
- t[64] === $ ? hP = t[65] : (hP = (0, import_jsx_runtime.jsx)(CommandEmpty, {
20634
- children: $
20635
- }), t[64] = $, t[65] = hP);
20636
- let gP;
20637
- t[66] !== rP || t[67] !== tP ? (gP = {
20638
- isSelected: tP,
20639
- onSelect: rP
20640
- }, t[66] = rP, t[67] = tP, t[68] = gP) : gP = t[68];
20641
- let _P;
20642
- t[69] !== n || t[70] !== gP ? (_P = (0, import_jsx_runtime.jsx)(ComboboxContext, {
20643
- value: gP,
20636
+ }), t[66] = WN, t[67] = y, t[68] = A, t[69] = vP) : vP = t[69];
20637
+ let yP;
20638
+ t[70] === GN ? yP = t[71] : (yP = (0, import_jsx_runtime.jsx)(CommandEmpty, {
20639
+ children: GN
20640
+ }), t[70] = GN, t[71] = yP);
20641
+ let bP;
20642
+ t[72] !== aP || t[73] !== rP ? (bP = {
20643
+ isSelected: rP,
20644
+ onSelect: aP
20645
+ }, t[72] = aP, t[73] = rP, t[74] = bP) : bP = t[74];
20646
+ let xP;
20647
+ t[75] !== n || t[76] !== bP ? (xP = (0, import_jsx_runtime.jsx)(ComboboxContext, {
20648
+ value: bP,
20644
20649
  children: n
20645
- }), t[69] = n, t[70] = gP, t[71] = _P) : _P = t[71];
20646
- let vP;
20647
- t[72] !== hP || t[73] !== _P ? (vP = (0, import_jsx_runtime.jsxs)(CommandList, {
20650
+ }), t[75] = n, t[76] = bP, t[77] = xP) : xP = t[77];
20651
+ let SP;
20652
+ t[78] !== yP || t[79] !== xP ? (SP = (0, import_jsx_runtime.jsxs)(CommandList, {
20648
20653
  className: "max-h-60 py-.5",
20649
20654
  children: [
20650
- hP,
20651
- _P
20655
+ yP,
20656
+ xP
20652
20657
  ]
20653
- }), t[72] = hP, t[73] = _P, t[74] = vP) : vP = t[74];
20654
- let yP;
20655
- t[75] !== f || t[76] !== Q || t[77] !== pP || t[78] !== vP ? (yP = (0, import_jsx_runtime.jsx)(PopoverContent, {
20658
+ }), t[78] = yP, t[79] = xP, t[80] = SP) : SP = t[80];
20659
+ let CP;
20660
+ t[81] !== f || t[82] !== UN || t[83] !== vP || t[84] !== SP ? (CP = (0, import_jsx_runtime.jsx)(PopoverContent, {
20656
20661
  className: "w-full min-w-(--radix-popover-trigger-width) p-0",
20657
20662
  align: "start",
20658
20663
  children: (0, import_jsx_runtime.jsxs)(Command, {
20659
20664
  filter: f,
20660
- shouldFilter: Q,
20665
+ shouldFilter: UN,
20661
20666
  children: [
20662
- pP,
20663
- vP
20667
+ vP,
20668
+ SP
20664
20669
  ]
20665
20670
  })
20666
- }), t[75] = f, t[76] = Q, t[77] = pP, t[78] = vP, t[79] = yP) : yP = t[79];
20667
- let bP;
20668
- t[80] !== YN || t[81] !== JN || t[82] !== fP || t[83] !== yP ? (bP = (0, import_jsx_runtime.jsxs)(Popover, {
20669
- open: YN,
20670
- onOpenChange: JN,
20671
+ }), t[81] = f, t[82] = UN, t[83] = vP, t[84] = SP, t[85] = CP) : CP = t[85];
20672
+ let wP;
20673
+ t[86] !== ZN || t[87] !== lP || t[88] !== _P || t[89] !== CP ? (wP = (0, import_jsx_runtime.jsxs)(Popover, {
20674
+ open: ZN,
20675
+ onOpenChange: lP,
20671
20676
  children: [
20672
- fP,
20673
- yP
20677
+ _P,
20678
+ CP
20674
20679
  ]
20675
- }), t[80] = YN, t[81] = JN, t[82] = fP, t[83] = yP, t[84] = bP) : bP = t[84];
20676
- let xP;
20677
- t[85] !== WN || t[86] !== i || t[87] !== d || t[88] !== rP || t[89] !== J || t[90] !== QN ? (xP = J && WN && (0, import_jsx_runtime.jsx)("div", {
20680
+ }), t[86] = ZN, t[87] = lP, t[88] = _P, t[89] = CP, t[90] = wP) : wP = t[90];
20681
+ let TP;
20682
+ t[91] !== KN || t[92] !== i || t[93] !== $ || t[94] !== d || t[95] !== aP || t[96] !== Q || t[97] !== eP ? (TP = Q && KN && (0, import_jsx_runtime.jsx)("div", {
20678
20683
  className: cn("flex flex-col gap-1 items-start", i),
20679
- children: Array.isArray(QN) && QN.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
20684
+ children: Array.isArray(eP) && eP.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
20680
20685
  variant: "secondary",
20681
20686
  children: [
20682
20687
  (d == null ? void 0 : d(e2)) ?? String(e2),
20683
20688
  (0, import_jsx_runtime.jsx)(CircleX, {
20684
20689
  onClick: () => {
20685
- rP(e2);
20690
+ $ || aP(e2);
20686
20691
  },
20687
- className: "w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer"
20692
+ className: cn("w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer", $ && "pointer-events-none")
20688
20693
  })
20689
20694
  ]
20690
20695
  }, String(e2)))
20691
- }), t[85] = WN, t[86] = i, t[87] = d, t[88] = rP, t[89] = J, t[90] = QN, t[91] = xP) : xP = t[91];
20692
- let SP;
20693
- return t[92] !== O || t[93] !== bP || t[94] !== xP ? (SP = (0, import_jsx_runtime.jsxs)("div", {
20694
- className: oP,
20696
+ }), t[91] = KN, t[92] = i, t[93] = $, t[94] = d, t[95] = aP, t[96] = Q, t[97] = eP, t[98] = TP) : TP = t[98];
20697
+ let EP;
20698
+ return t[99] !== O || t[100] !== wP || t[101] !== TP ? (EP = (0, import_jsx_runtime.jsxs)("div", {
20699
+ className: cP,
20695
20700
  ...O,
20696
20701
  children: [
20697
- bP,
20698
- xP
20702
+ wP,
20703
+ TP
20699
20704
  ]
20700
- }), t[92] = O, t[93] = bP, t[94] = xP, t[95] = SP) : SP = t[95], SP;
20705
+ }), t[99] = O, t[100] = wP, t[101] = TP, t[102] = EP) : EP = t[102], EP;
20701
20706
  };
20702
20707
  ComboboxItem = import_react.forwardRef((e, t) => {
20703
20708
  let n = (0, import_compiler_runtime$21.c)(17), { children: i, className: o, value: s, onSelect: c, disabled: d } = e, f = typeof s == "object" && "value" in s ? s.value : String(s), h = import_react.use(ComboboxContext), _;
@@ -20789,12 +20794,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20789
20794
  }
20790
20795
  ];
20791
20796
  }), i();
20792
- }, $ = () => {
20797
+ }, WN = () => {
20793
20798
  t.setColumnFilters((t2) => t2.filter((t3) => t3.id !== e.columnId)), i();
20794
- }, WN = !OPERATORS_WITHOUT_VALUE.has(w), GN = OPERATORS_BY_TYPE[y], KN = (0, import_react.useRef)(null), qN = (0, import_react.useRef)(null);
20799
+ }, GN = !OPERATORS_WITHOUT_VALUE.has(w), KN = OPERATORS_BY_TYPE[y], $ = (0, import_react.useRef)(null), qN = (0, import_react.useRef)(null);
20795
20800
  return (0, import_react.useEffect)(() => {
20796
20801
  var _a2, _b;
20797
- let e2 = (_a2 = KN.current) == null ? void 0 : _a2.querySelector('input, [role="combobox"], button');
20802
+ let e2 = (_a2 = $.current) == null ? void 0 : _a2.querySelector('input, [role="combobox"], button');
20798
20803
  e2 ? e2.focus() : (_b = qN.current) == null ? void 0 : _b.focus();
20799
20804
  }, [
20800
20805
  y,
@@ -20846,7 +20851,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20846
20851
  children: (0, import_jsx_runtime.jsx)(SelectValue, {})
20847
20852
  }),
20848
20853
  (0, import_jsx_runtime.jsx)(SelectContent, {
20849
- children: GN.map((e2) => (0, import_jsx_runtime.jsx)(SelectItem, {
20854
+ children: KN.map((e2) => (0, import_jsx_runtime.jsx)(SelectItem, {
20850
20855
  value: e2,
20851
20856
  children: OPERATOR_LABELS[e2]
20852
20857
  }, e2))
@@ -20855,8 +20860,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20855
20860
  }, y)
20856
20861
  ]
20857
20862
  }),
20858
- WN && (0, import_jsx_runtime.jsxs)("div", {
20859
- ref: KN,
20863
+ GN && (0, import_jsx_runtime.jsxs)("div", {
20864
+ ref: $,
20860
20865
  className: "flex flex-col gap-1",
20861
20866
  children: [
20862
20867
  (0, import_jsx_runtime.jsx)("label", {
@@ -20918,7 +20923,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20918
20923
  size: "icon",
20919
20924
  variant: "ghost",
20920
20925
  className: "rounded-full text-destructive hover:text-destructive hover:bg-destructive/10",
20921
- onClick: $,
20926
+ onClick: WN,
20922
20927
  "aria-label": "Remove filter",
20923
20928
  children: (0, import_jsx_runtime.jsx)(Trash2, {
20924
20929
  className: "h-3.5 w-3.5",
@@ -23977,7 +23982,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23977
23982
  filename: i2.filename
23978
23983
  };
23979
23984
  }, t[6] = e, t[7] = E);
23980
- let O = E, A, M, I, z, U, K, q, J, Q, UN, $, WN, GN;
23985
+ let O = E, A, M, I, z, U, K, q, J, Q, UN, WN, GN, KN;
23981
23986
  if (t[8] !== y || t[9] !== c || t[10] !== n || t[11] !== i || t[12] !== (s == null ? void 0 : s.unavailableMessage) || t[13] !== O) {
23982
23987
  let e2 = async (t2) => {
23983
23988
  let n2 = labelForDownloadFormat(t2);
@@ -24045,10 +24050,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
24045
24050
  content: d2,
24046
24051
  open: f,
24047
24052
  children: v2
24048
- }), t[33] = d2, t[34] = f, t[35] = v2, t[36] = J) : J = t[36], A = DropdownMenuContent, Q = "bottom", UN = "print:hidden", t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($ = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
24053
+ }), t[33] = d2, t[34] = f, t[35] = v2, t[36] = J) : J = t[36], A = DropdownMenuContent, Q = "bottom", UN = "print:hidden", t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (WN = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
24049
24054
  className: "text-xs text-muted-foreground",
24050
24055
  children: "Download"
24051
- }), t[37] = $) : $ = t[37], WN = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
24056
+ }), t[37] = WN) : WN = t[37], GN = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
24052
24057
  onSelect: () => {
24053
24058
  e2(t2.format);
24054
24059
  },
@@ -24069,10 +24074,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
24069
24074
  ]
24070
24075
  })
24071
24076
  ]
24072
- }, t2.label)), t[38] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (GN = (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {}), I = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
24077
+ }, t2.label)), t[38] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (KN = (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {}), I = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
24073
24078
  className: "text-xs text-muted-foreground",
24074
24079
  children: "Copy to clipboard"
24075
- }), t[38] = I, t[39] = GN) : (I = t[38], GN = t[39]), z = copyOptions.map((e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
24080
+ }), t[38] = I, t[39] = KN) : (I = t[38], KN = t[39]), z = copyOptions.map((e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
24076
24081
  onSelect: async () => {
24077
24082
  try {
24078
24083
  await a(e3.format);
@@ -24101,30 +24106,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
24101
24106
  ]
24102
24107
  })
24103
24108
  ]
24104
- }, e3.label)), t[8] = y, t[9] = c, t[10] = n, t[11] = i, t[12] = s == null ? void 0 : s.unavailableMessage, t[13] = O, t[14] = A, t[15] = M, t[16] = I, t[17] = z, t[18] = U, t[19] = K, t[20] = q, t[21] = J, t[22] = Q, t[23] = UN, t[24] = $, t[25] = WN, t[26] = GN;
24105
- } else A = t[14], M = t[15], I = t[16], z = t[17], U = t[18], K = t[19], q = t[20], J = t[21], Q = t[22], UN = t[23], $ = t[24], WN = t[25], GN = t[26];
24106
- let KN;
24107
- t[40] !== A || t[41] !== I || t[42] !== z || t[43] !== Q || t[44] !== UN || t[45] !== $ || t[46] !== WN || t[47] !== GN ? (KN = (0, import_jsx_runtime.jsxs)(A, {
24109
+ }, e3.label)), t[8] = y, t[9] = c, t[10] = n, t[11] = i, t[12] = s == null ? void 0 : s.unavailableMessage, t[13] = O, t[14] = A, t[15] = M, t[16] = I, t[17] = z, t[18] = U, t[19] = K, t[20] = q, t[21] = J, t[22] = Q, t[23] = UN, t[24] = WN, t[25] = GN, t[26] = KN;
24110
+ } else A = t[14], M = t[15], I = t[16], z = t[17], U = t[18], K = t[19], q = t[20], J = t[21], Q = t[22], UN = t[23], WN = t[24], GN = t[25], KN = t[26];
24111
+ let $;
24112
+ t[40] !== A || t[41] !== I || t[42] !== z || t[43] !== Q || t[44] !== UN || t[45] !== WN || t[46] !== GN || t[47] !== KN ? ($ = (0, import_jsx_runtime.jsxs)(A, {
24108
24113
  side: Q,
24109
24114
  className: UN,
24110
24115
  children: [
24111
- $,
24112
24116
  WN,
24113
24117
  GN,
24118
+ KN,
24114
24119
  I,
24115
24120
  z
24116
24121
  ]
24117
- }), t[40] = A, t[41] = I, t[42] = z, t[43] = Q, t[44] = UN, t[45] = $, t[46] = WN, t[47] = GN, t[48] = KN) : KN = t[48];
24122
+ }), t[40] = A, t[41] = I, t[42] = z, t[43] = Q, t[44] = UN, t[45] = WN, t[46] = GN, t[47] = KN, t[48] = $) : $ = t[48];
24118
24123
  let qN;
24119
- return t[49] !== M || t[50] !== U || t[51] !== K || t[52] !== q || t[53] !== J || t[54] !== KN ? (qN = (0, import_jsx_runtime.jsxs)(M, {
24124
+ return t[49] !== M || t[50] !== U || t[51] !== K || t[52] !== q || t[53] !== J || t[54] !== $ ? (qN = (0, import_jsx_runtime.jsxs)(M, {
24120
24125
  modal: U,
24121
24126
  open: K,
24122
24127
  onOpenChange: q,
24123
24128
  children: [
24124
24129
  J,
24125
- KN
24130
+ $
24126
24131
  ]
24127
- }), t[49] = M, t[50] = U, t[51] = K, t[52] = q, t[53] = J, t[54] = KN, t[55] = qN) : qN = t[55], qN;
24132
+ }), t[49] = M, t[50] = U, t[51] = K, t[52] = q, t[53] = J, t[54] = $, t[55] = qN) : qN = t[55], qN;
24128
24133
  };
24129
24134
  function fetchJson(e) {
24130
24135
  return fetchText(e).then(jsonParseWithSpecialChar);
@@ -24216,7 +24221,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
24216
24221
  ]
24217
24222
  }) : null;
24218
24223
  };
24219
- DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: o, rawData: s, selection: c, totalColumns: d, totalRows: f, sizeBytes: h, manualSorting: _ = false, sorting: v, setSorting: y, rowSelection: S, cellSelection: w, cellStyling: E, hoverTemplate: O, cellHoverTexts: A, paginationState: M, setPaginationState: I, downloadAs: z, manualPagination: U = false, pagination: K = false, onRowSelectionChange: q, onCellSelectionChange: J, getRowIds: Q, enableSearch: UN = false, searchQuery: $, onSearchQueryChange: WN, showFilters: GN = false, filters: KN, onFiltersChange: qN, calculateTopKRows: JN, reloading: YN, freezeColumnsLeft: XN, freezeColumnsRight: ZN, toggleDisplayHeader: QN, showChartBuilder: $N, isChartBuilderOpen: eP, showPageSizeSelector: tP, showTableExplorer: nP, togglePanel: rP, isPanelOpen: iP, isAnyPanelOpen: aP, viewedRowIdx: oP, onViewedRowChange: sP }) => {
24224
+ DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: o, rawData: s, selection: c, totalColumns: d, totalRows: f, sizeBytes: h, manualSorting: _ = false, sorting: v, setSorting: y, rowSelection: S, cellSelection: w, cellStyling: E, hoverTemplate: O, cellHoverTexts: A, paginationState: M, setPaginationState: I, downloadAs: z, manualPagination: U = false, pagination: K = false, onRowSelectionChange: q, onCellSelectionChange: J, getRowIds: Q, enableSearch: UN = false, searchQuery: WN, onSearchQueryChange: GN, showFilters: KN = false, filters: $, onFiltersChange: qN, calculateTopKRows: JN, reloading: YN, freezeColumnsLeft: XN, freezeColumnsRight: ZN, toggleDisplayHeader: QN, showChartBuilder: $N, isChartBuilderOpen: eP, showPageSizeSelector: tP, showTableExplorer: nP, togglePanel: rP, isPanelOpen: iP, isAnyPanelOpen: aP, viewedRowIdx: oP, onViewedRowChange: sP }) => {
24220
24225
  let [cP, lP] = import_react.useState(false), { locale: uP } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: dP, setColumnPinning: fP } = useColumnPinning(XN, ZN);
24221
24226
  import_react.useEffect(() => {
24222
24227
  let e2;
@@ -24269,7 +24274,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
24269
24274
  enableMultiSort: true,
24270
24275
  getSortedRowModel: getSortedRowModel(),
24271
24276
  manualFiltering: true,
24272
- enableColumnFilters: GN,
24277
+ enableColumnFilters: KN,
24273
24278
  getFilteredRowModel: getFilteredRowModel(),
24274
24279
  onColumnFiltersChange: qN,
24275
24280
  onRowSelectionChange: q,
@@ -24283,7 +24288,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
24283
24288
  ...v ? {
24284
24289
  sorting: v
24285
24290
  } : {},
24286
- columnFilters: KN,
24291
+ columnFilters: $,
24287
24292
  ...M ? {
24288
24293
  pagination: M
24289
24294
  } : K && !M ? {} : {
@@ -24307,7 +24312,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
24307
24312
  className: cn(e, "flex flex-col space-y-1"),
24308
24313
  children: [
24309
24314
  (0, import_jsx_runtime.jsx)(FilterPills, {
24310
- filters: KN,
24315
+ filters: $,
24311
24316
  table: mP,
24312
24317
  calculateTopKRows: JN
24313
24318
  }),
@@ -24318,8 +24323,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
24318
24323
  children: [
24319
24324
  (0, import_jsx_runtime.jsx)(TableTopBar, {
24320
24325
  enableSearch: UN,
24321
- searchQuery: $,
24322
- onSearchQueryChange: WN,
24326
+ searchQuery: WN,
24327
+ onSearchQueryChange: GN,
24323
24328
  reloading: YN,
24324
24329
  showChartBuilder: $N,
24325
24330
  isChartBuilderOpen: eP,
@@ -24446,14 +24451,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
24446
24451
  ${_}`,
24447
24452
  triggerImmediately: e2
24448
24453
  });
24449
- }, [q, Q] = _.split(":", 2), $ = d ? KEY : "", WN;
24450
- t[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (WN = () => h(_temp$3), t[10] = WN) : WN = t[10];
24451
- let GN = d ? "rotate-180" : "rotate-0", KN;
24452
- t[11] === GN ? KN = t[12] : (KN = cn("h-4 w-4 text-muted-foreground transition-transform duration-200 shrink-0", GN), t[11] = GN, t[12] = KN);
24454
+ }, [q, Q] = _.split(":", 2), WN = d ? KEY : "", GN;
24455
+ t[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (GN = () => h(_temp$3), t[10] = GN) : GN = t[10];
24456
+ let KN = d ? "rotate-180" : "rotate-0", $;
24457
+ t[11] === KN ? $ = t[12] : ($ = cn("h-4 w-4 text-muted-foreground transition-transform duration-200 shrink-0", KN), t[11] = KN, t[12] = $);
24453
24458
  let qN;
24454
- t[13] === KN ? qN = t[14] : (qN = (0, import_jsx_runtime.jsx)(ChevronDown, {
24455
- className: KN
24456
- }), t[13] = KN, t[14] = qN);
24459
+ t[13] === $ ? qN = t[14] : (qN = (0, import_jsx_runtime.jsx)(ChevronDown, {
24460
+ className: $
24461
+ }), t[13] = $, t[14] = qN);
24457
24462
  let JN = q || "Error", YN;
24458
24463
  t[15] === JN ? YN = t[16] : (YN = (0, import_jsx_runtime.jsxs)("span", {
24459
24464
  className: "text-destructive",
@@ -24474,7 +24479,7 @@ ${_}`,
24474
24479
  let $N;
24475
24480
  t[20] !== ZN || t[21] !== qN ? ($N = (0, import_jsx_runtime.jsxs)("div", {
24476
24481
  className: "flex gap-2 h-10 px-2 hover:bg-muted rounded-sm select-none items-center cursor-pointer transition-all",
24477
- onClick: WN,
24482
+ onClick: GN,
24478
24483
  children: [
24479
24484
  qN,
24480
24485
  ZN
@@ -24495,12 +24500,12 @@ ${_}`,
24495
24500
  ]
24496
24501
  }), t[25] = $N, t[26] = eP, t[27] = tP) : tP = t[27];
24497
24502
  let nP;
24498
- t[28] !== tP || t[29] !== $ ? (nP = (0, import_jsx_runtime.jsx)(Accordion, {
24503
+ t[28] !== tP || t[29] !== WN ? (nP = (0, import_jsx_runtime.jsx)(Accordion, {
24499
24504
  type: "single",
24500
24505
  collapsible: true,
24501
- value: $,
24506
+ value: WN,
24502
24507
  children: tP
24503
- }), t[28] = tP, t[29] = $, t[30] = nP) : nP = t[30];
24508
+ }), t[28] = tP, t[29] = WN, t[30] = nP) : nP = t[30];
24504
24509
  let iP;
24505
24510
  t[31] !== K || t[32] !== z ? (iP = z && (0, import_jsx_runtime.jsx)(AIFixButton, {
24506
24511
  tooltip: "Fix with AI",
@@ -25998,7 +26003,7 @@ ${_}`,
25998
26003
  return Logger.warn("Failed to get version from mount config"), null;
25999
26004
  }
26000
26005
  }
26001
- marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.7-dev48");
26006
+ marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.7-dev50");
26002
26007
  showCodeInRunModeAtom = atom(true);
26003
26008
  atom(null);
26004
26009
  var import_compiler_runtime = require_compiler_runtime();