@marimo-team/islands 0.23.9-dev30 → 0.23.9-dev32

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.
@@ -1902,21 +1902,21 @@ Defaulting to \`null\`.`;
1902
1902
  function $2f04cbc44ee30ce0$export$53a0910f038337bd(e, t, n = {}) {
1903
1903
  let { block: i = "nearest", inline: a = "nearest" } = n;
1904
1904
  if (e === t) return;
1905
- let o = e.scrollTop, s = e.scrollLeft, c = t.getBoundingClientRect(), d = e.getBoundingClientRect(), f = window.getComputedStyle(t), h = window.getComputedStyle(e), _ = document.scrollingElement || document.documentElement, v = e === _ ? 0 : d.top, y = e === _ ? e.clientHeight : d.bottom, S = e === _ ? 0 : d.left, w = e === _ ? e.clientWidth : d.right, E = parseInt(f.scrollMarginTop, 10) || 0, O = parseInt(f.scrollMarginBottom, 10) || 0, A = parseInt(f.scrollMarginLeft, 10) || 0, M = parseInt(f.scrollMarginRight, 10) || 0, I = parseInt(h.scrollPaddingTop, 10) || 0, z = parseInt(h.scrollPaddingBottom, 10) || 0, U = parseInt(h.scrollPaddingLeft, 10) || 0, K = parseInt(h.scrollPaddingRight, 10) || 0, q = parseInt(h.borderTopWidth, 10) || 0, J = parseInt(h.borderBottomWidth, 10) || 0, Q = parseInt(h.borderLeftWidth, 10) || 0, MK = parseInt(h.borderRightWidth, 10) || 0, NK = c.top - E, PK = c.bottom + O, FK = c.left - A, $ = c.right + M, IK = e === _ ? 0 : Q + MK, LK = e === _ ? 0 : q + J, RK = e.offsetWidth - e.clientWidth - IK, zK = e.offsetHeight - e.clientHeight - LK, BK = v + q + I, VK = y - J - z - zK, HK = S + Q + U, UK = w - MK - K;
1906
- h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ? HK += RK : UK -= RK;
1907
- let WK = NK < BK || PK > VK, GK = FK < HK || $ > UK;
1908
- if (WK && i === "start") o += NK - BK;
1909
- else if (WK && i === "center") o += (NK + PK) / 2 - (BK + VK) / 2;
1910
- else if (WK && i === "end") o += PK - VK;
1911
- else if (WK && i === "nearest") {
1912
- let e2 = NK - BK, t2 = PK - VK;
1905
+ let o = e.scrollTop, s = e.scrollLeft, c = t.getBoundingClientRect(), d = e.getBoundingClientRect(), f = window.getComputedStyle(t), h = window.getComputedStyle(e), _ = document.scrollingElement || document.documentElement, v = e === _ ? 0 : d.top, y = e === _ ? e.clientHeight : d.bottom, S = e === _ ? 0 : d.left, w = e === _ ? e.clientWidth : d.right, E = parseInt(f.scrollMarginTop, 10) || 0, O = parseInt(f.scrollMarginBottom, 10) || 0, A = parseInt(f.scrollMarginLeft, 10) || 0, M = parseInt(f.scrollMarginRight, 10) || 0, I = parseInt(h.scrollPaddingTop, 10) || 0, z = parseInt(h.scrollPaddingBottom, 10) || 0, U = parseInt(h.scrollPaddingLeft, 10) || 0, K = parseInt(h.scrollPaddingRight, 10) || 0, q = parseInt(h.borderTopWidth, 10) || 0, J = parseInt(h.borderBottomWidth, 10) || 0, Q = parseInt(h.borderLeftWidth, 10) || 0, PK = parseInt(h.borderRightWidth, 10) || 0, FK = c.top - E, IK = c.bottom + O, LK = c.left - A, $ = c.right + M, RK = e === _ ? 0 : Q + PK, zK = e === _ ? 0 : q + J, BK = e.offsetWidth - e.clientWidth - RK, VK = e.offsetHeight - e.clientHeight - zK, HK = v + q + I, UK = y - J - z - VK, WK = S + Q + U, GK = w - PK - K;
1906
+ h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ? WK += BK : GK -= BK;
1907
+ let KK = FK < HK || IK > UK, qK = LK < WK || $ > GK;
1908
+ if (KK && i === "start") o += FK - HK;
1909
+ else if (KK && i === "center") o += (FK + IK) / 2 - (HK + UK) / 2;
1910
+ else if (KK && i === "end") o += IK - UK;
1911
+ else if (KK && i === "nearest") {
1912
+ let e2 = FK - HK, t2 = IK - UK;
1913
1913
  o += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
1914
1914
  }
1915
- if (GK && a === "start") s += FK - HK;
1916
- else if (GK && a === "center") s += (FK + $) / 2 - (HK + UK) / 2;
1917
- else if (GK && a === "end") s += $ - UK;
1918
- else if (GK && a === "nearest") {
1919
- let e2 = FK - HK, t2 = $ - UK;
1915
+ if (qK && a === "start") s += LK - WK;
1916
+ else if (qK && a === "center") s += (LK + $) / 2 - (WK + GK) / 2;
1917
+ else if (qK && a === "end") s += $ - GK;
1918
+ else if (qK && a === "nearest") {
1919
+ let e2 = LK - WK, t2 = $ - GK;
1920
1920
  s += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
1921
1921
  }
1922
1922
  e.scrollTo({
@@ -5024,25 +5024,25 @@ Defaulting to \`null\`.`;
5024
5024
  let e2 = $edcf132a9284368a$var$parsePlacement(`${$edcf132a9284368a$var$FLIPPED_DIRECTION[U]} ${K}`), i2 = $edcf132a9284368a$var$computePosition(t, c, n, e2, h, _, f, v, S, w, d);
5025
5025
  $edcf132a9284368a$var$getAvailableSpace(c, f, t, a, o + h, e2, d, E) > Q && (A = e2, q = i2, J = h);
5026
5026
  }
5027
- let MK = "bottom";
5028
- A.axis === "top" ? A.placement === "top" ? MK = "top" : A.placement === "bottom" && (MK = "bottom") : A.crossAxis === "top" && (A.crossPlacement === "top" ? MK = "bottom" : A.crossPlacement === "bottom" && (MK = "top"));
5029
- let NK = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f);
5030
- q[I] += NK;
5031
- let PK = $edcf132a9284368a$var$getMaxHeight(q, c, f, v, a, o, n.height, MK, d, E, O);
5032
- y && y < PK && (PK = y), n.height = Math.min(n.height, PK), q = $edcf132a9284368a$var$computePosition(t, c, n, A, J, _, f, v, S, w, d), NK = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f), q[I] += NK;
5033
- let FK = {}, $ = t[I] - q[I] - a[$edcf132a9284368a$var$AXIS[I]], IK = $ + 0.5 * t[z], LK = S / 2 + w, RK = $edcf132a9284368a$var$AXIS[I] === "left" ? (a.left ?? 0) + (a.right ?? 0) : (a.top ?? 0) + (a.bottom ?? 0), zK = n[z] - RK - S / 2 - w;
5034
- FK[I] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(IK, t[I] + S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]]), t[I] + t[z] - S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]])), LK, zK), { placement: U, crossPlacement: K } = A, S ? $ = FK[I] : K === "right" ? $ += t[z] : K === "center" && ($ += t[z] / 2);
5035
- let BK = U === "left" || U === "top" ? n[M] : 0, VK = {
5036
- x: U === "top" || U === "bottom" ? $ : BK,
5037
- y: U === "left" || U === "right" ? $ : BK
5027
+ let PK = "bottom";
5028
+ A.axis === "top" ? A.placement === "top" ? PK = "top" : A.placement === "bottom" && (PK = "bottom") : A.crossAxis === "top" && (A.crossPlacement === "top" ? PK = "bottom" : A.crossPlacement === "bottom" && (PK = "top"));
5029
+ let FK = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f);
5030
+ q[I] += FK;
5031
+ let IK = $edcf132a9284368a$var$getMaxHeight(q, c, f, v, a, o, n.height, PK, d, E, O);
5032
+ y && y < IK && (IK = y), n.height = Math.min(n.height, IK), q = $edcf132a9284368a$var$computePosition(t, c, n, A, J, _, f, v, S, w, d), FK = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f), q[I] += FK;
5033
+ let LK = {}, $ = t[I] - q[I] - a[$edcf132a9284368a$var$AXIS[I]], RK = $ + 0.5 * t[z], zK = S / 2 + w, BK = $edcf132a9284368a$var$AXIS[I] === "left" ? (a.left ?? 0) + (a.right ?? 0) : (a.top ?? 0) + (a.bottom ?? 0), VK = n[z] - BK - S / 2 - w;
5034
+ LK[I] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(RK, t[I] + S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]]), t[I] + t[z] - S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]])), zK, VK), { placement: U, crossPlacement: K } = A, S ? $ = LK[I] : K === "right" ? $ += t[z] : K === "center" && ($ += t[z] / 2);
5035
+ let HK = U === "left" || U === "top" ? n[M] : 0, UK = {
5036
+ x: U === "top" || U === "bottom" ? $ : HK,
5037
+ y: U === "left" || U === "right" ? $ : HK
5038
5038
  };
5039
5039
  return {
5040
5040
  position: q,
5041
- maxHeight: PK,
5042
- arrowOffsetLeft: FK.left,
5043
- arrowOffsetTop: FK.top,
5041
+ maxHeight: IK,
5042
+ arrowOffsetLeft: LK.left,
5043
+ arrowOffsetTop: LK.top,
5044
5044
  placement: U,
5045
- triggerAnchorPoint: VK
5045
+ triggerAnchorPoint: UK
5046
5046
  };
5047
5047
  }
5048
5048
  function $edcf132a9284368a$export$b3ceb0cbf1056d98(e) {
@@ -6867,7 +6867,7 @@ Defaulting to \`null\`.`;
6867
6867
  let e2 = window.getSelection();
6868
6868
  (e2 == null ? void 0 : e2.anchorNode) && $d4ee10de306f2510$export$4282f70798064fe0(n.current, e2 == null ? void 0 : e2.anchorNode) && e2.collapse(n.current);
6869
6869
  });
6870
- let MK = (0, import_react.useRef)("");
6870
+ let PK = (0, import_react.useRef)("");
6871
6871
  $e9faafb641e167db$export$90fc3a17d93f704c(n, "beforeinput", (i2) => {
6872
6872
  if (n.current) switch (i2.preventDefault(), i2.inputType) {
6873
6873
  case "deleteContentBackward":
@@ -6875,7 +6875,7 @@ Defaulting to \`null\`.`;
6875
6875
  E.isValidPartialNumber(e.text) && !t.isReadOnly && O();
6876
6876
  break;
6877
6877
  case "insertCompositionText":
6878
- MK.current = n.current.textContent, n.current.textContent = n.current.textContent;
6878
+ PK.current = n.current.textContent, n.current.textContent = n.current.textContent;
6879
6879
  break;
6880
6880
  default:
6881
6881
  i2.data != null && J(i2.data);
@@ -6885,7 +6885,7 @@ Defaulting to \`null\`.`;
6885
6885
  let { inputType: t2, data: i2 } = e2;
6886
6886
  switch (t2) {
6887
6887
  case "insertCompositionText":
6888
- n.current && (n.current.textContent = MK.current), i2 != null && (M(z, i2) || M(U, i2)) && J(i2);
6888
+ n.current && (n.current.textContent = PK.current), i2 != null && (M(z, i2) || M(U, i2)) && J(i2);
6889
6889
  break;
6890
6890
  }
6891
6891
  }), $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
@@ -6897,7 +6897,7 @@ Defaulting to \`null\`.`;
6897
6897
  n,
6898
6898
  h
6899
6899
  ]);
6900
- let NK = $c87311424ea30a05$export$fedb369cb70207f1() || e.type === "timeZoneName" ? {
6900
+ let FK = $c87311424ea30a05$export$fedb369cb70207f1() || e.type === "timeZoneName" ? {
6901
6901
  role: "textbox",
6902
6902
  "aria-valuemax": null,
6903
6903
  "aria-valuemin": null,
@@ -6907,7 +6907,7 @@ Defaulting to \`null\`.`;
6907
6907
  e !== (0, import_react.useMemo)(() => t.segments.find((e2) => e2.isEditable), [
6908
6908
  t.segments
6909
6909
  ]) && !t.isInvalid && (f = void 0);
6910
- let PK = $bdb11010cef70236$export$f680877a34711e37(), FK = !t.isDisabled && !t.isReadOnly && e.isEditable, $ = e.type === "literal" ? "" : s.of(e.type), IK = $313b98861ee5dd6c$export$d6875122194c7b44({
6910
+ let IK = $bdb11010cef70236$export$f680877a34711e37(), LK = !t.isDisabled && !t.isReadOnly && e.isEditable, $ = e.type === "literal" ? "" : s.of(e.type), RK = $313b98861ee5dd6c$export$d6875122194c7b44({
6911
6911
  "aria-label": `${$}${c ? `, ${c}` : ""}${d ? ", " : ""}`,
6912
6912
  "aria-labelledby": d
6913
6913
  });
@@ -6916,32 +6916,32 @@ Defaulting to \`null\`.`;
6916
6916
  "aria-hidden": true
6917
6917
  }
6918
6918
  };
6919
- let LK = {
6919
+ let zK = {
6920
6920
  caretColor: "transparent"
6921
6921
  };
6922
6922
  if (o === "rtl") {
6923
- LK.unicodeBidi = "embed";
6923
+ zK.unicodeBidi = "embed";
6924
6924
  let t2 = v[e.type];
6925
- (t2 === "numeric" || t2 === "2-digit") && (LK.direction = "ltr");
6925
+ (t2 === "numeric" || t2 === "2-digit") && (zK.direction = "ltr");
6926
6926
  }
6927
6927
  return {
6928
- segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w, IK, {
6929
- id: PK,
6930
- ...NK,
6928
+ segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w, RK, {
6929
+ id: IK,
6930
+ ...FK,
6931
6931
  "aria-invalid": t.isInvalid ? "true" : void 0,
6932
6932
  "aria-describedby": f,
6933
6933
  "aria-readonly": t.isReadOnly || !e.isEditable ? "true" : void 0,
6934
6934
  "data-placeholder": e.isPlaceholder || void 0,
6935
- contentEditable: FK,
6936
- suppressContentEditableWarning: FK,
6937
- spellCheck: FK ? "false" : void 0,
6938
- autoCorrect: FK ? "off" : void 0,
6939
- enterKeyHint: FK ? "next" : void 0,
6940
- inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !FK ? void 0 : "numeric",
6935
+ contentEditable: LK,
6936
+ suppressContentEditableWarning: LK,
6937
+ spellCheck: LK ? "false" : void 0,
6938
+ autoCorrect: LK ? "off" : void 0,
6939
+ enterKeyHint: LK ? "next" : void 0,
6940
+ inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !LK ? void 0 : "numeric",
6941
6941
  tabIndex: t.isDisabled ? void 0 : 0,
6942
6942
  onKeyDown: A,
6943
6943
  onFocus: Q,
6944
- style: LK,
6944
+ style: zK,
6945
6945
  onPointerDown(e2) {
6946
6946
  e2.stopPropagation();
6947
6947
  },
@@ -7014,7 +7014,7 @@ Defaulting to \`null\`.`;
7014
7014
  q.current = true, (n2 = e.onFocus) == null || n2.call(e, t2), (i2 = e.onFocusChange) == null || i2.call(e, true);
7015
7015
  }
7016
7016
  }
7017
- }), Q = (0, import_react.useRef)($e5be200c675c3b3a$export$dad6ae84456c676a), MK = (0, import_react.useRef)($e5be200c675c3b3a$export$dad6ae84456c676a);
7017
+ }), Q = (0, import_react.useRef)($e5be200c675c3b3a$export$dad6ae84456c676a), PK = (0, import_react.useRef)($e5be200c675c3b3a$export$dad6ae84456c676a);
7018
7018
  return {
7019
7019
  groupProps: $3ef42575df84b30b$export$9d1611c77c2fe928(K, M, d, S, J, {
7020
7020
  role: "group",
@@ -7061,7 +7061,7 @@ Defaulting to \`null\`.`;
7061
7061
  realtimeValidation: t.realtimeValidation,
7062
7062
  displayValidation: t.displayValidation,
7063
7063
  updateValidation(e2) {
7064
- Q.current = e2, t.updateValidation($e5be200c675c3b3a$export$75ee7c75d68f5b0e(e2, MK.current));
7064
+ Q.current = e2, t.updateValidation($e5be200c675c3b3a$export$75ee7c75d68f5b0e(e2, PK.current));
7065
7065
  },
7066
7066
  resetValidation: t.resetValidation,
7067
7067
  commitValidation: t.commitValidation
@@ -7079,7 +7079,7 @@ Defaulting to \`null\`.`;
7079
7079
  realtimeValidation: t.realtimeValidation,
7080
7080
  displayValidation: t.displayValidation,
7081
7081
  updateValidation(e2) {
7082
- MK.current = e2, t.updateValidation($e5be200c675c3b3a$export$75ee7c75d68f5b0e(Q.current, e2));
7082
+ PK.current = e2, t.updateValidation($e5be200c675c3b3a$export$75ee7c75d68f5b0e(Q.current, e2));
7083
7083
  },
7084
7084
  resetValidation: t.resetValidation,
7085
7085
  commitValidation: t.commitValidation
@@ -10173,7 +10173,7 @@ Defaulting to \`null\`.`;
10173
10173
  function Q(e2) {
10174
10174
  e2 = $f62d864046160412$export$4f5203c0d889109e(e2, s, c), A(e2);
10175
10175
  }
10176
- function MK(t2) {
10176
+ function PK(t2) {
10177
10177
  if (!e.isDisabled && !e.isReadOnly) {
10178
10178
  let e2 = t2;
10179
10179
  if (e2 === null) {
@@ -10184,12 +10184,12 @@ Defaulting to \`null\`.`;
10184
10184
  e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(e2, (y == null ? void 0 : y.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec()), y && "hour" in y ? S(y.set(e2)) : S(e2);
10185
10185
  }
10186
10186
  }
10187
- let NK = (0, import_react.useMemo)(() => w ? f && f(w) ? true : $f62d864046160412$export$eac50920cf2fd59a(w, s, c) : false, [
10187
+ let FK = (0, import_react.useMemo)(() => w ? f && f(w) ? true : $f62d864046160412$export$eac50920cf2fd59a(w, s, c) : false, [
10188
10188
  w,
10189
10189
  f,
10190
10190
  s,
10191
10191
  c
10192
- ]), PK = e.isInvalid || e.validationState === "invalid" || NK, FK = PK ? "invalid" : null, $ = (0, import_react.useMemo)(() => h === "visible" ? o : $131cf43a05231e1e$var$unitDuration(o), [
10192
+ ]), IK = e.isInvalid || e.validationState === "invalid" || FK, LK = IK ? "invalid" : null, $ = (0, import_react.useMemo)(() => h === "visible" ? o : $131cf43a05231e1e$var$unitDuration(o), [
10193
10193
  h,
10194
10194
  o
10195
10195
  ]);
@@ -10197,7 +10197,7 @@ Defaulting to \`null\`.`;
10197
10197
  isDisabled: e.isDisabled ?? false,
10198
10198
  isReadOnly: e.isReadOnly ?? false,
10199
10199
  value: w,
10200
- setValue: MK,
10200
+ setValue: PK,
10201
10201
  visibleRange: {
10202
10202
  start: M,
10203
10203
  end: K
@@ -10206,8 +10206,8 @@ Defaulting to \`null\`.`;
10206
10206
  maxValue: c,
10207
10207
  focusedDate: O,
10208
10208
  timeZone: E,
10209
- validationState: FK,
10210
- isValueInvalid: PK,
10209
+ validationState: LK,
10210
+ isValueInvalid: IK,
10211
10211
  setFocusedDate(e2) {
10212
10212
  Q(e2);
10213
10213
  },
@@ -10268,10 +10268,10 @@ Defaulting to \`null\`.`;
10268
10268
  }));
10269
10269
  },
10270
10270
  selectFocusedDate() {
10271
- f && f(O) || MK(O);
10271
+ f && f(O) || PK(O);
10272
10272
  },
10273
10273
  selectDate(e2) {
10274
- MK(e2);
10274
+ PK(e2);
10275
10275
  },
10276
10276
  isFocused: z,
10277
10277
  setFocused: U,
@@ -10374,13 +10374,13 @@ Defaulting to \`null\`.`;
10374
10374
  end: $9a36b6ba2fb1a7c5$var$convertValue(e2.end, h == null ? void 0 : h.end)
10375
10375
  }), q(null);
10376
10376
  }
10377
- }, [MK, NK] = (0, import_react.useState)(false), { isDateUnavailable: PK } = e, FK = (0, import_react.useMemo)(() => !h || v ? false : PK && (PK(h.start) || PK(h.end)) ? true : $f62d864046160412$export$eac50920cf2fd59a(h.start, c, d) || $f62d864046160412$export$eac50920cf2fd59a(h.end, c, d), [
10378
- PK,
10377
+ }, [PK, FK] = (0, import_react.useState)(false), { isDateUnavailable: IK } = e, LK = (0, import_react.useMemo)(() => !h || v ? false : IK && (IK(h.start) || IK(h.end)) ? true : $f62d864046160412$export$eac50920cf2fd59a(h.start, c, d) || $f62d864046160412$export$eac50920cf2fd59a(h.end, c, d), [
10378
+ IK,
10379
10379
  h,
10380
10380
  v,
10381
10381
  c,
10382
10382
  d
10383
- ]), $ = e.isInvalid || e.validationState === "invalid" || FK, IK = $ ? "invalid" : null;
10383
+ ]), $ = e.isInvalid || e.validationState === "invalid" || LK, RK = $ ? "invalid" : null;
10384
10384
  return {
10385
10385
  ...I,
10386
10386
  value: h,
@@ -10388,7 +10388,7 @@ Defaulting to \`null\`.`;
10388
10388
  anchorDate: v,
10389
10389
  setAnchorDate: q,
10390
10390
  highlightedRange: J,
10391
- validationState: IK,
10391
+ validationState: RK,
10392
10392
  isValueInvalid: $,
10393
10393
  selectFocusedDate() {
10394
10394
  Q(I.focusedDate);
@@ -10404,8 +10404,8 @@ Defaulting to \`null\`.`;
10404
10404
  var _a2, _b;
10405
10405
  return I.isInvalid(e2) || $f62d864046160412$export$eac50920cf2fd59a(e2, (_a2 = w.current) == null ? void 0 : _a2.start, (_b = w.current) == null ? void 0 : _b.end);
10406
10406
  },
10407
- isDragging: MK,
10408
- setDragging: NK
10407
+ isDragging: PK,
10408
+ setDragging: FK
10409
10409
  };
10410
10410
  }
10411
10411
  function $9a36b6ba2fb1a7c5$var$makeRange(e, t) {
@@ -11587,12 +11587,12 @@ Defaulting to \`null\`.`;
11587
11587
  q
11588
11588
  ]), Q = (0, import_react.useMemo)(() => J.resolvedOptions(), [
11589
11589
  J
11590
- ]), MK = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$66aa2b09de4b1ea5(e.placeholderValue, _, S, v), [
11590
+ ]), PK = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$66aa2b09de4b1ea5(e.placeholderValue, _, S, v), [
11591
11591
  e.placeholderValue,
11592
11592
  _,
11593
11593
  S,
11594
11594
  v
11595
- ]), NK = (0, import_react.useMemo)(() => {
11595
+ ]), FK = (0, import_react.useMemo)(() => {
11596
11596
  let t2 = w === "h11" || w === "h12", n2 = [
11597
11597
  "era",
11598
11598
  "year",
@@ -11610,15 +11610,15 @@ Defaulting to \`null\`.`;
11610
11610
  e.maxGranularity,
11611
11611
  _,
11612
11612
  w
11613
- ]), [PK, FK] = (0, import_react.useState)(M), [$, IK] = (0, import_react.useState)(S), [LK, RK] = (0, import_react.useState)(w);
11614
- (M !== PK || w !== LK || !$14e0f24ef4ac5c92$export$dbc69fd56b53d5e(S, $)) && (I = new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M), FK(M), IK(S), RK(w), z(I));
11615
- let zK = (t2) => {
11616
- if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(NK)) z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(null);
11613
+ ]), [IK, LK] = (0, import_react.useState)(M), [$, RK] = (0, import_react.useState)(S), [zK, BK] = (0, import_react.useState)(w);
11614
+ (M !== IK || w !== zK || !$14e0f24ef4ac5c92$export$dbc69fd56b53d5e(S, $)) && (I = new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M), LK(M), RK(S), BK(w), z(I));
11615
+ let VK = (t2) => {
11616
+ if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(FK)) z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(null);
11617
11617
  else if (!(t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef)) t2 = $11d87f3f76e88657$export$b4a036af3fc0b032(t2, (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec()), z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(t2);
11618
11618
  else {
11619
- if (t2.isComplete(NK)) {
11620
- let e2 = t2.toValue(M ?? MK);
11621
- if (t2.validate(e2, NK)) {
11619
+ if (t2.isComplete(FK)) {
11620
+ let e2 = t2.toValue(M ?? PK);
11621
+ if (t2.validate(e2, FK)) {
11622
11622
  let t3 = $11d87f3f76e88657$export$b4a036af3fc0b032(e2, (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
11623
11623
  if (!E || t3.compare(E) !== 0) {
11624
11624
  z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(t3);
@@ -11628,83 +11628,83 @@ Defaulting to \`null\`.`;
11628
11628
  }
11629
11629
  z(t2);
11630
11630
  }
11631
- }, BK = (0, import_react.useMemo)(() => I.toValue(M ?? MK).toDate(y), [
11631
+ }, HK = (0, import_react.useMemo)(() => I.toValue(M ?? PK).toDate(y), [
11632
11632
  I,
11633
11633
  y,
11634
11634
  M,
11635
- MK
11636
- ]), VK = (0, import_react.useMemo)(() => $3c0fc76039f1c516$var$processSegments(BK, I, J, Q, S, t, _), [
11637
- BK,
11635
+ PK
11636
+ ]), UK = (0, import_react.useMemo)(() => $3c0fc76039f1c516$var$processSegments(HK, I, J, Q, S, t, _), [
11637
+ HK,
11638
11638
  J,
11639
11639
  Q,
11640
11640
  I,
11641
11641
  S,
11642
11642
  t,
11643
11643
  _
11644
- ]), HK = (e2, t2) => {
11645
- zK(I.cycle(e2, t2, MK, NK));
11646
- }, UK = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$f18627323ab57ac0(E, c, d, f, K), [
11644
+ ]), WK = (e2, t2) => {
11645
+ VK(I.cycle(e2, t2, PK, FK));
11646
+ }, GK = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$f18627323ab57ac0(E, c, d, f, K), [
11647
11647
  E,
11648
11648
  c,
11649
11649
  d,
11650
11650
  f,
11651
11651
  K
11652
- ]), WK = $e5be200c675c3b3a$export$fc1a364ae1f3ff10({
11652
+ ]), KK = $e5be200c675c3b3a$export$fc1a364ae1f3ff10({
11653
11653
  ...e,
11654
11654
  value: E,
11655
- builtinValidation: UK
11656
- }), GK = WK.displayValidation.isInvalid, KK = e.validationState || (GK ? "invalid" : null);
11655
+ builtinValidation: GK
11656
+ }), qK = KK.displayValidation.isInvalid, JK = e.validationState || (qK ? "invalid" : null);
11657
11657
  return {
11658
- ...WK,
11658
+ ...KK,
11659
11659
  value: M,
11660
11660
  defaultValue: e.defaultValue ?? A,
11661
- dateValue: BK,
11661
+ dateValue: HK,
11662
11662
  calendar: S,
11663
- setValue: zK,
11664
- segments: VK,
11663
+ setValue: VK,
11664
+ segments: UK,
11665
11665
  dateFormatter: J,
11666
- validationState: KK,
11667
- isInvalid: GK,
11666
+ validationState: JK,
11667
+ isInvalid: qK,
11668
11668
  granularity: _,
11669
11669
  maxGranularity: e.maxGranularity ?? "year",
11670
11670
  isDisabled: a,
11671
11671
  isReadOnly: o,
11672
11672
  isRequired: s,
11673
11673
  increment(e2) {
11674
- HK(e2, 1);
11674
+ WK(e2, 1);
11675
11675
  },
11676
11676
  decrement(e2) {
11677
- HK(e2, -1);
11677
+ WK(e2, -1);
11678
11678
  },
11679
11679
  incrementPage(e2) {
11680
- HK(e2, $3c0fc76039f1c516$var$PAGE_STEP[e2] || 1);
11680
+ WK(e2, $3c0fc76039f1c516$var$PAGE_STEP[e2] || 1);
11681
11681
  },
11682
11682
  decrementPage(e2) {
11683
- HK(e2, -($3c0fc76039f1c516$var$PAGE_STEP[e2] || 1));
11683
+ WK(e2, -($3c0fc76039f1c516$var$PAGE_STEP[e2] || 1));
11684
11684
  },
11685
11685
  incrementToMax(e2) {
11686
11686
  let t2 = e2 === "hour" && w === "h12" ? 11 : I.getSegmentLimits(e2).maxValue;
11687
- zK(I.set(e2, t2, MK));
11687
+ VK(I.set(e2, t2, PK));
11688
11688
  },
11689
11689
  decrementToMin(e2) {
11690
11690
  let t2 = e2 === "hour" && w === "h12" ? 12 : I.getSegmentLimits(e2).minValue;
11691
- zK(I.set(e2, t2, MK));
11691
+ VK(I.set(e2, t2, PK));
11692
11692
  },
11693
11693
  setSegment(e2, t2) {
11694
- zK(I.set(e2, t2, MK));
11694
+ VK(I.set(e2, t2, PK));
11695
11695
  },
11696
11696
  confirmPlaceholder() {
11697
- if (!(e.isDisabled || e.isReadOnly) && I.isComplete(NK)) {
11698
- let e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(I.toValue(M ?? MK), (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
11697
+ if (!(e.isDisabled || e.isReadOnly) && I.isComplete(FK)) {
11698
+ let e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(I.toValue(M ?? PK), (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
11699
11699
  (!E || e2.compare(E) !== 0) && O(e2), z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M));
11700
11700
  }
11701
11701
  },
11702
11702
  clearSegment(e2) {
11703
11703
  let t2 = I;
11704
- e2 !== "timeZoneName" && e2 !== "literal" && (t2 = I.clear(e2)), zK(t2);
11704
+ e2 !== "timeZoneName" && e2 !== "literal" && (t2 = I.clear(e2)), VK(t2);
11705
11705
  },
11706
11706
  formatValue(e2) {
11707
- return M ? new $fb18d541ea1ad717$export$ad991b66133851cf(t, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, K)).format(BK) : "";
11707
+ return M ? new $fb18d541ea1ad717$export$ad991b66133851cf(t, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, K)).format(HK) : "";
11708
11708
  },
11709
11709
  getDateFormatter(e2, t2) {
11710
11710
  return new $fb18d541ea1ad717$export$ad991b66133851cf(e2, $35a22f14a1f04b11$export$7e319ea407e63bc0({}, {
@@ -11824,7 +11824,7 @@ Defaulting to \`null\`.`;
11824
11824
  e.endName
11825
11825
  ]),
11826
11826
  builtinValidation: J
11827
- }), MK = Q.displayValidation.isInvalid, NK = e.validationState || (MK ? "invalid" : null);
11827
+ }), PK = Q.displayValidation.isInvalid, FK = e.validationState || (PK ? "invalid" : null);
11828
11828
  return {
11829
11829
  ...Q,
11830
11830
  value: c,
@@ -11870,8 +11870,8 @@ Defaulting to \`null\`.`;
11870
11870
  end: (w == null ? void 0 : w.end) || $35a22f14a1f04b11$export$c5221a78ef73c5e9(e.placeholderValue)
11871
11871
  }), t.setOpen(n2);
11872
11872
  },
11873
- validationState: NK,
11874
- isInvalid: MK,
11873
+ validationState: FK,
11874
+ isInvalid: PK,
11875
11875
  formatValue(t2, n2) {
11876
11876
  if (!c || !c.start || !c.end) return null;
11877
11877
  let i2 = "timeZone" in c.start ? c.start.timeZone : void 0, a2 = e.granularity || (c.start && "minute" in c.start ? "minute" : "day"), o2 = "timeZone" in c.end ? c.end.timeZone : void 0, s2 = e.granularity || (c.end && "minute" in c.end ? "minute" : "day"), d2 = $35a22f14a1f04b11$export$7e319ea407e63bc0(n2, {
@@ -15742,29 +15742,29 @@ try {
15742
15742
  }, f = import_react.createContext(void 0), h = () => import_react.useContext(f) || d, _ = {}, v = {};
15743
15743
  function y(e2) {
15744
15744
  var _a2, _b, _c, _d;
15745
- let { children: d2, theme: h2, modeStorageKey: y2 = i, colorSchemeStorageKey: S2 = a, disableTransitionOnChange: w2 = o, storageManager: E, storageWindow: O = typeof window > "u" ? void 0 : window, documentNode: A = typeof document > "u" ? void 0 : document, colorSchemeNode: M = typeof document > "u" ? void 0 : document.documentElement, disableNestedContext: I = false, disableStyleSheetGeneration: z = false, defaultMode: U = "system", noSsr: K } = e2, q = import_react.useRef(false), J = useTheme$2(), Q = import_react.useContext(f), MK = !!Q && !I, NK = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
15745
+ let { children: d2, theme: h2, modeStorageKey: y2 = i, colorSchemeStorageKey: S2 = a, disableTransitionOnChange: w2 = o, storageManager: E, storageWindow: O = typeof window > "u" ? void 0 : window, documentNode: A = typeof document > "u" ? void 0 : document, colorSchemeNode: M = typeof document > "u" ? void 0 : document.documentElement, disableNestedContext: I = false, disableStyleSheetGeneration: z = false, defaultMode: U = "system", noSsr: K } = e2, q = import_react.useRef(false), J = useTheme$2(), Q = import_react.useContext(f), PK = !!Q && !I, FK = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
15746
15746
  h2
15747
- ]), PK = NK[t], FK = PK || NK, { colorSchemes: $ = _, components: IK = v, cssVarPrefix: LK } = FK, RK = Object.keys($).filter((e3) => !!$[e3]).join(","), zK = import_react.useMemo(() => RK.split(","), [
15748
- RK
15749
- ]), BK = typeof s == "string" ? s : s.light, VK = typeof s == "string" ? s : s.dark, { mode: HK, setMode: UK, systemMode: WK, lightColorScheme: GK, darkColorScheme: KK, colorScheme: qK, setColorScheme: JK } = useCurrentColorScheme({
15750
- supportedColorSchemes: zK,
15751
- defaultLightColorScheme: BK,
15752
- defaultDarkColorScheme: VK,
15747
+ ]), IK = FK[t], LK = IK || FK, { colorSchemes: $ = _, components: RK = v, cssVarPrefix: zK } = LK, BK = Object.keys($).filter((e3) => !!$[e3]).join(","), VK = import_react.useMemo(() => BK.split(","), [
15748
+ BK
15749
+ ]), HK = typeof s == "string" ? s : s.light, UK = typeof s == "string" ? s : s.dark, { mode: WK, setMode: GK, systemMode: KK, lightColorScheme: qK, darkColorScheme: JK, colorScheme: YK, setColorScheme: XK } = useCurrentColorScheme({
15750
+ supportedColorSchemes: VK,
15751
+ defaultLightColorScheme: HK,
15752
+ defaultDarkColorScheme: UK,
15753
15753
  modeStorageKey: y2,
15754
15754
  colorSchemeStorageKey: S2,
15755
- defaultMode: $[BK] && $[VK] ? U : ((_b = (_a2 = $[FK.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = FK.palette) == null ? void 0 : _c.mode),
15755
+ defaultMode: $[HK] && $[UK] ? U : ((_b = (_a2 = $[LK.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = LK.palette) == null ? void 0 : _c.mode),
15756
15756
  storageManager: E,
15757
15757
  storageWindow: O,
15758
15758
  noSsr: K
15759
- }), YK = HK, XK = qK;
15760
- MK && (YK = Q.mode, XK = Q.colorScheme);
15761
- let ZK = import_react.useMemo(() => {
15759
+ }), ZK = WK, QK = YK;
15760
+ PK && (ZK = Q.mode, QK = Q.colorScheme);
15761
+ let $K = import_react.useMemo(() => {
15762
15762
  var _a3;
15763
- let e3 = XK || FK.defaultColorScheme, t2 = ((_a3 = FK.generateThemeVars) == null ? void 0 : _a3.call(FK)) || FK.vars, n2 = {
15764
- ...FK,
15765
- components: IK,
15763
+ let e3 = QK || LK.defaultColorScheme, t2 = ((_a3 = LK.generateThemeVars) == null ? void 0 : _a3.call(LK)) || LK.vars, n2 = {
15764
+ ...LK,
15765
+ components: RK,
15766
15766
  colorSchemes: $,
15767
- cssVarPrefix: LK,
15767
+ cssVarPrefix: zK,
15768
15768
  vars: t2
15769
15769
  };
15770
15770
  if (typeof n2.generateSpacing == "function" && (n2.spacing = n2.generateSpacing()), e3) {
@@ -15778,31 +15778,31 @@ try {
15778
15778
  }
15779
15779
  return c ? c(n2) : n2;
15780
15780
  }, [
15781
- FK,
15782
- XK,
15783
- IK,
15781
+ LK,
15782
+ QK,
15783
+ RK,
15784
15784
  $,
15785
- LK
15786
- ]), QK = FK.colorSchemeSelector;
15785
+ zK
15786
+ ]), eq = LK.colorSchemeSelector;
15787
15787
  useEnhancedEffect_default(() => {
15788
- if (XK && M && QK && QK !== "media") {
15789
- let e3 = QK, t2 = QK;
15790
- if (e3 === "class" && (t2 = ".%s"), e3 === "data" && (t2 = "[data-%s]"), (e3 == null ? void 0 : e3.startsWith("data-")) && !e3.includes("%s") && (t2 = `[${e3}="%s"]`), t2.startsWith(".")) M.classList.remove(...zK.map((e4) => t2.substring(1).replace("%s", e4))), M.classList.add(t2.substring(1).replace("%s", XK));
15788
+ if (QK && M && eq && eq !== "media") {
15789
+ let e3 = eq, t2 = eq;
15790
+ if (e3 === "class" && (t2 = ".%s"), e3 === "data" && (t2 = "[data-%s]"), (e3 == null ? void 0 : e3.startsWith("data-")) && !e3.includes("%s") && (t2 = `[${e3}="%s"]`), t2.startsWith(".")) M.classList.remove(...VK.map((e4) => t2.substring(1).replace("%s", e4))), M.classList.add(t2.substring(1).replace("%s", QK));
15791
15791
  else {
15792
- let e4 = t2.replace("%s", XK).match(/\[([^\]]+)\]/);
15792
+ let e4 = t2.replace("%s", QK).match(/\[([^\]]+)\]/);
15793
15793
  if (e4) {
15794
15794
  let [t3, n2] = e4[1].split("=");
15795
- n2 || zK.forEach((e5) => {
15796
- M.removeAttribute(t3.replace(XK, e5));
15795
+ n2 || VK.forEach((e5) => {
15796
+ M.removeAttribute(t3.replace(QK, e5));
15797
15797
  }), M.setAttribute(t3, n2 ? n2.replace(/"|'/g, "") : "");
15798
- } else M.setAttribute(t2, XK);
15798
+ } else M.setAttribute(t2, QK);
15799
15799
  }
15800
15800
  }
15801
15801
  }, [
15802
- XK,
15803
15802
  QK,
15803
+ eq,
15804
15804
  M,
15805
- zK
15805
+ VK
15806
15806
  ]), import_react.useEffect(() => {
15807
15807
  let e3;
15808
15808
  if (w2 && q.current && A) {
@@ -15815,48 +15815,48 @@ try {
15815
15815
  clearTimeout(e3);
15816
15816
  };
15817
15817
  }, [
15818
- XK,
15818
+ QK,
15819
15819
  w2,
15820
15820
  A
15821
15821
  ]), import_react.useEffect(() => (q.current = true, () => {
15822
15822
  q.current = false;
15823
15823
  }), []);
15824
- let $K = import_react.useMemo(() => ({
15825
- allColorSchemes: zK,
15826
- colorScheme: XK,
15827
- darkColorScheme: KK,
15828
- lightColorScheme: GK,
15829
- mode: YK,
15830
- setColorScheme: JK,
15831
- setMode: UK,
15832
- systemMode: WK
15824
+ let tq = import_react.useMemo(() => ({
15825
+ allColorSchemes: VK,
15826
+ colorScheme: QK,
15827
+ darkColorScheme: JK,
15828
+ lightColorScheme: qK,
15829
+ mode: ZK,
15830
+ setColorScheme: XK,
15831
+ setMode: GK,
15832
+ systemMode: KK
15833
15833
  }), [
15834
- zK,
15834
+ VK,
15835
+ QK,
15836
+ JK,
15837
+ qK,
15838
+ ZK,
15835
15839
  XK,
15836
- KK,
15837
15840
  GK,
15838
- YK,
15839
- JK,
15840
- UK,
15841
- WK,
15842
- ZK.colorSchemeSelector
15843
- ]), eq = true;
15844
- (z || FK.cssVariables === false || MK && (J == null ? void 0 : J.cssVarPrefix) === LK) && (eq = false);
15845
- let tq = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
15841
+ KK,
15842
+ $K.colorSchemeSelector
15843
+ ]), nq = true;
15844
+ (z || LK.cssVariables === false || PK && (J == null ? void 0 : J.cssVarPrefix) === zK) && (nq = false);
15845
+ let rq = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
15846
15846
  children: [
15847
15847
  (0, import_jsx_runtime.jsx)(ThemeProvider_default, {
15848
- themeId: PK ? t : void 0,
15849
- theme: ZK,
15848
+ themeId: IK ? t : void 0,
15849
+ theme: $K,
15850
15850
  children: d2
15851
15851
  }),
15852
- eq && (0, import_jsx_runtime.jsx)(GlobalStyles$1, {
15853
- styles: ((_d = ZK.generateStyleSheets) == null ? void 0 : _d.call(ZK)) || []
15852
+ nq && (0, import_jsx_runtime.jsx)(GlobalStyles$1, {
15853
+ styles: ((_d = $K.generateStyleSheets) == null ? void 0 : _d.call($K)) || []
15854
15854
  })
15855
15855
  ]
15856
15856
  });
15857
- return MK ? tq : (0, import_jsx_runtime.jsx)(f.Provider, {
15858
- value: $K,
15859
- children: tq
15857
+ return PK ? rq : (0, import_jsx_runtime.jsx)(f.Provider, {
15858
+ value: tq,
15859
+ children: rq
15860
15860
  });
15861
15861
  }
15862
15862
  let S = typeof s == "string" ? s : s.light, w = typeof s == "string" ? s : s.dark;
@@ -17356,10 +17356,10 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
17356
17356
  let n = useDefaultProps({
17357
17357
  props: e,
17358
17358
  name: "MuiInputBase"
17359
- }), { "aria-describedby": i, autoComplete: a, autoFocus: o, className: s, color: c, components: d = {}, componentsProps: f = {}, defaultValue: h, disabled: _, disableInjectingGlobalStyles: v, endAdornment: y, error: S, fullWidth: w = false, id: E, inputComponent: O = "input", inputProps: A = {}, inputRef: M, margin: I, maxRows: z, minRows: U, multiline: K = false, name: q, onBlur: J, onChange: Q, onClick: MK, onFocus: NK, onKeyDown: PK, onKeyUp: FK, placeholder: $, readOnly: IK, renderSuffix: LK, rows: RK, size: zK, slotProps: BK = {}, slots: VK = {}, startAdornment: HK, type: UK = "text", value: WK, ...GK } = n, KK = A.value == null ? WK : A.value, { current: qK } = import_react.useRef(KK != null), JK = import_react.useRef(), YK = import_react.useCallback((e2) => {
17360
- }, []), XK = useForkRef_default(JK, M, A.ref, YK), [ZK, QK] = import_react.useState(false), $K = useFormControl(), eq = formControlState({
17359
+ }), { "aria-describedby": i, autoComplete: a, autoFocus: o, className: s, color: c, components: d = {}, componentsProps: f = {}, defaultValue: h, disabled: _, disableInjectingGlobalStyles: v, endAdornment: y, error: S, fullWidth: w = false, id: E, inputComponent: O = "input", inputProps: A = {}, inputRef: M, margin: I, maxRows: z, minRows: U, multiline: K = false, name: q, onBlur: J, onChange: Q, onClick: PK, onFocus: FK, onKeyDown: IK, onKeyUp: LK, placeholder: $, readOnly: RK, renderSuffix: zK, rows: BK, size: VK, slotProps: HK = {}, slots: UK = {}, startAdornment: WK, type: GK = "text", value: KK, ...qK } = n, JK = A.value == null ? KK : A.value, { current: YK } = import_react.useRef(JK != null), XK = import_react.useRef(), ZK = import_react.useCallback((e2) => {
17360
+ }, []), QK = useForkRef_default(XK, M, A.ref, ZK), [$K, eq] = import_react.useState(false), tq = useFormControl(), nq = formControlState({
17361
17361
  props: n,
17362
- muiFormControl: $K,
17362
+ muiFormControl: tq,
17363
17363
  states: [
17364
17364
  "color",
17365
17365
  "disabled",
@@ -17370,145 +17370,145 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
17370
17370
  "filled"
17371
17371
  ]
17372
17372
  });
17373
- eq.focused = $K ? $K.focused : ZK, import_react.useEffect(() => {
17374
- !$K && _ && ZK && (QK(false), J && J());
17373
+ nq.focused = tq ? tq.focused : $K, import_react.useEffect(() => {
17374
+ !tq && _ && $K && (eq(false), J && J());
17375
17375
  }, [
17376
- $K,
17376
+ tq,
17377
17377
  _,
17378
- ZK,
17378
+ $K,
17379
17379
  J
17380
17380
  ]);
17381
- let tq = $K && $K.onFilled, nq = $K && $K.onEmpty, rq = import_react.useCallback((e2) => {
17382
- isFilled(e2) ? tq && tq() : nq && nq();
17381
+ let rq = tq && tq.onFilled, iq = tq && tq.onEmpty, aq = import_react.useCallback((e2) => {
17382
+ isFilled(e2) ? rq && rq() : iq && iq();
17383
17383
  }, [
17384
- tq,
17385
- nq
17384
+ rq,
17385
+ iq
17386
17386
  ]);
17387
17387
  useEnhancedEffect_default$1(() => {
17388
- qK && rq({
17389
- value: KK
17388
+ YK && aq({
17389
+ value: JK
17390
17390
  });
17391
17391
  }, [
17392
- KK,
17393
- rq,
17394
- qK
17392
+ JK,
17393
+ aq,
17394
+ YK
17395
17395
  ]);
17396
- let iq = (e2) => {
17397
- NK && NK(e2), A.onFocus && A.onFocus(e2), $K && $K.onFocus ? $K.onFocus(e2) : QK(true);
17398
- }, aq = (e2) => {
17399
- J && J(e2), A.onBlur && A.onBlur(e2), $K && $K.onBlur ? $K.onBlur(e2) : QK(false);
17400
- }, oq = (e2, ...t2) => {
17401
- if (!qK) {
17402
- let t3 = e2.target || JK.current;
17396
+ let oq = (e2) => {
17397
+ FK && FK(e2), A.onFocus && A.onFocus(e2), tq && tq.onFocus ? tq.onFocus(e2) : eq(true);
17398
+ }, sq = (e2) => {
17399
+ J && J(e2), A.onBlur && A.onBlur(e2), tq && tq.onBlur ? tq.onBlur(e2) : eq(false);
17400
+ }, cq = (e2, ...t2) => {
17401
+ if (!YK) {
17402
+ let t3 = e2.target || XK.current;
17403
17403
  if (t3 == null) throw Error(formatMuiErrorMessage(1));
17404
- rq({
17404
+ aq({
17405
17405
  value: t3.value
17406
17406
  });
17407
17407
  }
17408
17408
  A.onChange && A.onChange(e2, ...t2), Q && Q(e2, ...t2);
17409
17409
  };
17410
17410
  import_react.useEffect(() => {
17411
- rq(JK.current);
17411
+ aq(XK.current);
17412
17412
  }, []);
17413
- let sq = (e2) => {
17414
- JK.current && e2.currentTarget === e2.target && JK.current.focus(), MK && MK(e2);
17415
- }, cq = O, lq = A;
17416
- K && cq === "input" && (lq = RK ? {
17413
+ let lq = (e2) => {
17414
+ XK.current && e2.currentTarget === e2.target && XK.current.focus(), PK && PK(e2);
17415
+ }, uq = O, dq = A;
17416
+ K && uq === "input" && (dq = BK ? {
17417
17417
  type: void 0,
17418
- minRows: RK,
17419
- maxRows: RK,
17420
- ...lq
17418
+ minRows: BK,
17419
+ maxRows: BK,
17420
+ ...dq
17421
17421
  } : {
17422
17422
  type: void 0,
17423
17423
  maxRows: z,
17424
17424
  minRows: U,
17425
- ...lq
17426
- }, cq = TextareaAutosize_default);
17427
- let uq = (e2) => {
17428
- rq(e2.animationName === "mui-auto-fill-cancel" ? JK.current : {
17425
+ ...dq
17426
+ }, uq = TextareaAutosize_default);
17427
+ let fq = (e2) => {
17428
+ aq(e2.animationName === "mui-auto-fill-cancel" ? XK.current : {
17429
17429
  value: "x"
17430
17430
  });
17431
17431
  };
17432
17432
  import_react.useEffect(() => {
17433
- $K && $K.setAdornedStart(!!HK);
17433
+ tq && tq.setAdornedStart(!!WK);
17434
17434
  }, [
17435
- $K,
17436
- HK
17435
+ tq,
17436
+ WK
17437
17437
  ]);
17438
- let dq = {
17438
+ let pq = {
17439
17439
  ...n,
17440
- color: eq.color || "primary",
17441
- disabled: eq.disabled,
17440
+ color: nq.color || "primary",
17441
+ disabled: nq.disabled,
17442
17442
  endAdornment: y,
17443
- error: eq.error,
17444
- focused: eq.focused,
17445
- formControl: $K,
17443
+ error: nq.error,
17444
+ focused: nq.focused,
17445
+ formControl: tq,
17446
17446
  fullWidth: w,
17447
- hiddenLabel: eq.hiddenLabel,
17447
+ hiddenLabel: nq.hiddenLabel,
17448
17448
  multiline: K,
17449
- size: eq.size,
17450
- startAdornment: HK,
17451
- type: UK
17452
- }, fq = useUtilityClasses(dq), pq = VK.root || d.Root || InputBaseRoot, mq = BK.root || f.root || {}, hq = VK.input || d.Input || InputBaseInput;
17453
- return lq = {
17454
- ...lq,
17455
- ...BK.input ?? f.input
17449
+ size: nq.size,
17450
+ startAdornment: WK,
17451
+ type: GK
17452
+ }, mq = useUtilityClasses(pq), hq = UK.root || d.Root || InputBaseRoot, gq = HK.root || f.root || {}, _q = UK.input || d.Input || InputBaseInput;
17453
+ return dq = {
17454
+ ...dq,
17455
+ ...HK.input ?? f.input
17456
17456
  }, (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
17457
17457
  children: [
17458
17458
  !v && typeof InputGlobalStyles == "function" && (_InputGlobalStyles || (_InputGlobalStyles = (0, import_jsx_runtime.jsx)(InputGlobalStyles, {}))),
17459
- (0, import_jsx_runtime.jsxs)(pq, {
17460
- ...mq,
17459
+ (0, import_jsx_runtime.jsxs)(hq, {
17460
+ ...gq,
17461
17461
  ref: t,
17462
- onClick: sq,
17463
- ...GK,
17464
- ...!isHostComponent_default(pq) && {
17462
+ onClick: lq,
17463
+ ...qK,
17464
+ ...!isHostComponent_default(hq) && {
17465
17465
  ownerState: {
17466
- ...dq,
17467
- ...mq.ownerState
17466
+ ...pq,
17467
+ ...gq.ownerState
17468
17468
  }
17469
17469
  },
17470
- className: clsx_default(fq.root, mq.className, s, IK && "MuiInputBase-readOnly"),
17470
+ className: clsx_default(mq.root, gq.className, s, RK && "MuiInputBase-readOnly"),
17471
17471
  children: [
17472
- HK,
17472
+ WK,
17473
17473
  (0, import_jsx_runtime.jsx)(FormControlContext_default.Provider, {
17474
17474
  value: null,
17475
- children: (0, import_jsx_runtime.jsx)(hq, {
17476
- "aria-invalid": eq.error,
17475
+ children: (0, import_jsx_runtime.jsx)(_q, {
17476
+ "aria-invalid": nq.error,
17477
17477
  "aria-describedby": i,
17478
17478
  autoComplete: a,
17479
17479
  autoFocus: o,
17480
17480
  defaultValue: h,
17481
- disabled: eq.disabled,
17481
+ disabled: nq.disabled,
17482
17482
  id: E,
17483
- onAnimationStart: uq,
17483
+ onAnimationStart: fq,
17484
17484
  name: q,
17485
17485
  placeholder: $,
17486
- readOnly: IK,
17487
- required: eq.required,
17488
- rows: RK,
17489
- value: KK,
17490
- onKeyDown: PK,
17491
- onKeyUp: FK,
17492
- type: UK,
17493
- ...lq,
17494
- ...!isHostComponent_default(hq) && {
17495
- as: cq,
17486
+ readOnly: RK,
17487
+ required: nq.required,
17488
+ rows: BK,
17489
+ value: JK,
17490
+ onKeyDown: IK,
17491
+ onKeyUp: LK,
17492
+ type: GK,
17493
+ ...dq,
17494
+ ...!isHostComponent_default(_q) && {
17495
+ as: uq,
17496
17496
  ownerState: {
17497
- ...dq,
17498
- ...lq.ownerState
17497
+ ...pq,
17498
+ ...dq.ownerState
17499
17499
  }
17500
17500
  },
17501
- ref: XK,
17502
- className: clsx_default(fq.input, lq.className, IK && "MuiInputBase-readOnly"),
17503
- onBlur: aq,
17504
- onChange: oq,
17505
- onFocus: iq
17501
+ ref: QK,
17502
+ className: clsx_default(mq.input, dq.className, RK && "MuiInputBase-readOnly"),
17503
+ onBlur: sq,
17504
+ onChange: cq,
17505
+ onFocus: oq
17506
17506
  })
17507
17507
  }),
17508
17508
  y,
17509
- LK ? LK({
17510
- ...eq,
17511
- startAdornment: HK
17509
+ zK ? zK({
17510
+ ...nq,
17511
+ startAdornment: WK
17512
17512
  }) : null
17513
17513
  ]
17514
17514
  })
@@ -18584,30 +18584,30 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18584
18584
  M,
18585
18585
  i,
18586
18586
  a
18587
- ]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), MK = useJsonViewerStore((e2) => e2.onChange), NK = useTextColor(), PK = useJsonViewerStore((e2) => e2.colorspace.base0C), FK = useJsonViewerStore((e2) => e2.colorspace.base0A), $ = useJsonViewerStore((e2) => e2.displayComma), IK = useJsonViewerStore((e2) => e2.quotesOnKeys), LK = useJsonViewerStore((e2) => e2.rootName), RK = U === t, zK = Number.isInteger(Number(A)), BK = useJsonViewerStore((e2) => e2.enableAdd), VK = useJsonViewerStore((e2) => e2.onAdd), HK = (0, import_react.useMemo)(() => !VK || a !== void 0 || BK === false || v === false ? false : typeof BK == "function" ? !!BK(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
18588
- VK,
18587
+ ]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), PK = useJsonViewerStore((e2) => e2.onChange), FK = useTextColor(), IK = useJsonViewerStore((e2) => e2.colorspace.base0C), LK = useJsonViewerStore((e2) => e2.colorspace.base0A), $ = useJsonViewerStore((e2) => e2.displayComma), RK = useJsonViewerStore((e2) => e2.quotesOnKeys), zK = useJsonViewerStore((e2) => e2.rootName), BK = U === t, VK = Number.isInteger(Number(A)), HK = useJsonViewerStore((e2) => e2.enableAdd), UK = useJsonViewerStore((e2) => e2.onAdd), WK = (0, import_react.useMemo)(() => !UK || a !== void 0 || HK === false || v === false ? false : typeof HK == "function" ? !!HK(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
18588
+ UK,
18589
18589
  a,
18590
18590
  i,
18591
- BK,
18591
+ HK,
18592
18592
  v,
18593
18593
  t
18594
- ]), UK = useJsonViewerStore((e2) => e2.enableDelete), WK = useJsonViewerStore((e2) => e2.onDelete), GK = (0, import_react.useMemo)(() => !WK || a !== void 0 || RK || UK === false || v === false ? false : typeof UK == "function" ? !!UK(i, t) : UK, [
18595
- WK,
18594
+ ]), GK = useJsonViewerStore((e2) => e2.enableDelete), KK = useJsonViewerStore((e2) => e2.onDelete), qK = (0, import_react.useMemo)(() => !KK || a !== void 0 || BK || GK === false || v === false ? false : typeof GK == "function" ? !!GK(i, t) : GK, [
18595
+ KK,
18596
18596
  a,
18597
- RK,
18597
+ BK,
18598
18598
  i,
18599
- UK,
18599
+ GK,
18600
18600
  v,
18601
18601
  t
18602
- ]), KK = useJsonViewerStore((e2) => e2.enableClipboard), { copy: qK, copied: JK } = useClipboard(), YK = useJsonViewerStore((e2) => e2.highlightUpdates), XK = (0, import_react.useMemo)(() => !YK || n === void 0 ? false : typeof t == typeof n ? typeof t == "number" ? isNaN(t) && isNaN(n) ? false : t !== n : Array.isArray(t) === Array.isArray(n) ? typeof t == "object" || typeof t == "function" ? false : t !== n : true : true, [
18603
- YK,
18602
+ ]), JK = useJsonViewerStore((e2) => e2.enableClipboard), { copy: YK, copied: XK } = useClipboard(), ZK = useJsonViewerStore((e2) => e2.highlightUpdates), QK = (0, import_react.useMemo)(() => !ZK || n === void 0 ? false : typeof t == typeof n ? typeof t == "number" ? isNaN(t) && isNaN(n) ? false : t !== n : Array.isArray(t) === Array.isArray(n) ? typeof t == "object" || typeof t == "function" ? false : t !== n : true : true, [
18603
+ ZK,
18604
18604
  n,
18605
18605
  t
18606
- ]), ZK = (0, import_react.useRef)();
18606
+ ]), $K = (0, import_react.useRef)();
18607
18607
  (0, import_react.useEffect)(() => {
18608
- ZK.current && XK && "animate" in ZK.current && ZK.current.animate([
18608
+ $K.current && QK && "animate" in $K.current && $K.current.animate([
18609
18609
  {
18610
- backgroundColor: FK
18610
+ backgroundColor: LK
18611
18611
  },
18612
18612
  {
18613
18613
  backgroundColor: ""
@@ -18617,40 +18617,40 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18617
18617
  easing: "ease-in"
18618
18618
  });
18619
18619
  }, [
18620
- FK,
18621
- XK,
18620
+ LK,
18621
+ QK,
18622
18622
  n,
18623
18623
  t
18624
18624
  ]);
18625
- let QK = (0, import_react.useCallback)((e2) => {
18625
+ let eq = (0, import_react.useCallback)((e2) => {
18626
18626
  e2.preventDefault(), h && E(h(t)), Q(true);
18627
18627
  }, [
18628
18628
  h,
18629
18629
  t
18630
- ]), $K = (0, import_react.useCallback)(() => {
18630
+ ]), tq = (0, import_react.useCallback)(() => {
18631
18631
  Q(false), E("");
18632
18632
  }, [
18633
18633
  Q,
18634
18634
  E
18635
- ]), eq = (0, import_react.useCallback)((e2) => {
18635
+ ]), nq = (0, import_react.useCallback)((e2) => {
18636
18636
  if (Q(false), _) try {
18637
- MK(i, t, _(e2));
18637
+ PK(i, t, _(e2));
18638
18638
  } catch {
18639
18639
  }
18640
18640
  }, [
18641
18641
  Q,
18642
18642
  _,
18643
- MK,
18643
+ PK,
18644
18644
  i,
18645
18645
  t
18646
- ]), tq = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18646
+ ]), rq = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18647
18647
  children: [
18648
18648
  (0, import_jsx_runtime.jsx)(IconBox, {
18649
18649
  children: (0, import_jsx_runtime.jsx)(CloseIcon, {
18650
18650
  sx: {
18651
18651
  fontSize: ".8rem"
18652
18652
  },
18653
- onClick: $K
18653
+ onClick: tq
18654
18654
  })
18655
18655
  }),
18656
18656
  (0, import_jsx_runtime.jsx)(IconBox, {
@@ -18658,22 +18658,22 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18658
18658
  sx: {
18659
18659
  fontSize: ".8rem"
18660
18660
  },
18661
- onClick: () => eq(w)
18661
+ onClick: () => nq(w)
18662
18662
  })
18663
18663
  })
18664
18664
  ]
18665
18665
  }) : (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18666
18666
  children: [
18667
- KK && (0, import_jsx_runtime.jsx)(IconBox, {
18667
+ JK && (0, import_jsx_runtime.jsx)(IconBox, {
18668
18668
  onClick: (e2) => {
18669
18669
  e2.preventDefault();
18670
18670
  try {
18671
- qK(i, t, copyString);
18671
+ YK(i, t, copyString);
18672
18672
  } catch (e3) {
18673
18673
  console.error(e3);
18674
18674
  }
18675
18675
  },
18676
- children: JK ? (0, import_jsx_runtime.jsx)(CheckIcon$1, {
18676
+ children: XK ? (0, import_jsx_runtime.jsx)(CheckIcon$1, {
18677
18677
  sx: {
18678
18678
  fontSize: ".8rem"
18679
18679
  }
@@ -18684,16 +18684,16 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18684
18684
  })
18685
18685
  }),
18686
18686
  f && S && h && _ && (0, import_jsx_runtime.jsx)(IconBox, {
18687
- onClick: QK,
18687
+ onClick: eq,
18688
18688
  children: (0, import_jsx_runtime.jsx)(EditIcon, {
18689
18689
  sx: {
18690
18690
  fontSize: ".8rem"
18691
18691
  }
18692
18692
  })
18693
18693
  }),
18694
- HK && (0, import_jsx_runtime.jsx)(IconBox, {
18694
+ WK && (0, import_jsx_runtime.jsx)(IconBox, {
18695
18695
  onClick: (e2) => {
18696
- e2.preventDefault(), VK == null ? void 0 : VK(i);
18696
+ e2.preventDefault(), UK == null ? void 0 : UK(i);
18697
18697
  },
18698
18698
  children: (0, import_jsx_runtime.jsx)(AddBoxIcon, {
18699
18699
  sx: {
@@ -18701,9 +18701,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18701
18701
  }
18702
18702
  })
18703
18703
  }),
18704
- GK && (0, import_jsx_runtime.jsx)(IconBox, {
18704
+ qK && (0, import_jsx_runtime.jsx)(IconBox, {
18705
18705
  onClick: (e2) => {
18706
- e2.preventDefault(), WK == null ? void 0 : WK(i, t);
18706
+ e2.preventDefault(), KK == null ? void 0 : KK(i, t);
18707
18707
  },
18708
18708
  children: (0, import_jsx_runtime.jsx)(DeleteIcon, {
18709
18709
  sx: {
@@ -18716,24 +18716,24 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18716
18716
  f,
18717
18717
  h,
18718
18718
  _,
18719
- JK,
18720
- qK,
18719
+ XK,
18720
+ YK,
18721
18721
  S,
18722
18722
  J,
18723
- KK,
18724
- HK,
18725
- GK,
18723
+ JK,
18724
+ WK,
18725
+ qK,
18726
18726
  w,
18727
18727
  i,
18728
18728
  t,
18729
- VK,
18730
- WK,
18731
- QK,
18732
- $K,
18733
- eq
18734
- ]), nq = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
18729
+ UK,
18730
+ KK,
18731
+ eq,
18732
+ tq,
18733
+ nq
18734
+ ]), iq = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
18735
18735
  t
18736
- ]), rq = !nq && !!(c && d), iq = useJsonViewerStore((e2) => e2.keyRenderer), aq = (0, import_react.useMemo)(() => ({
18736
+ ]), aq = !iq && !!(c && d), oq = useJsonViewerStore((e2) => e2.keyRenderer), sq = (0, import_react.useMemo)(() => ({
18737
18737
  path: i,
18738
18738
  inspect: K,
18739
18739
  setInspect: q,
@@ -18765,18 +18765,18 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18765
18765
  className: "data-key",
18766
18766
  sx: {
18767
18767
  lineHeight: 1.5,
18768
- color: NK,
18768
+ color: FK,
18769
18769
  letterSpacing: 0.5,
18770
18770
  opacity: 0.8
18771
18771
  },
18772
18772
  onClick: (0, import_react.useCallback)((e2) => {
18773
- e2.isDefaultPrevented() || nq || q((e3) => !e3);
18773
+ e2.isDefaultPrevented() || iq || q((e3) => !e3);
18774
18774
  }, [
18775
- nq,
18775
+ iq,
18776
18776
  q
18777
18777
  ]),
18778
18778
  children: [
18779
- rq ? K ? (0, import_jsx_runtime.jsx)(ExpandMoreIcon, {
18779
+ aq ? K ? (0, import_jsx_runtime.jsx)(ExpandMoreIcon, {
18780
18780
  className: "data-key-toggle-expanded",
18781
18781
  sx: {
18782
18782
  fontSize: ".8rem",
@@ -18794,27 +18794,27 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18794
18794
  }
18795
18795
  }) : null,
18796
18796
  (0, import_jsx_runtime.jsx)(Box_default, {
18797
- ref: ZK,
18797
+ ref: $K,
18798
18798
  className: "data-key-key",
18799
18799
  component: "span",
18800
- children: RK && O === 0 ? LK === false ? null : IK ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18800
+ children: BK && O === 0 ? zK === false ? null : RK ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18801
18801
  children: [
18802
18802
  '"',
18803
- LK,
18803
+ zK,
18804
18804
  '"'
18805
18805
  ]
18806
18806
  }) : (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
18807
- children: LK
18808
- }) : iq.when(aq) ? (0, import_jsx_runtime.jsx)(iq, {
18809
- ...aq
18810
- }) : a === void 0 && (zK ? (0, import_jsx_runtime.jsx)(Box_default, {
18807
+ children: zK
18808
+ }) : oq.when(sq) ? (0, import_jsx_runtime.jsx)(oq, {
18809
+ ...sq
18810
+ }) : a === void 0 && (VK ? (0, import_jsx_runtime.jsx)(Box_default, {
18811
18811
  component: "span",
18812
18812
  style: {
18813
- color: PK,
18814
- userSelect: zK ? "none" : "auto"
18813
+ color: IK,
18814
+ userSelect: VK ? "none" : "auto"
18815
18815
  },
18816
18816
  children: A
18817
- }) : IK ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18817
+ }) : RK ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18818
18818
  children: [
18819
18819
  '"',
18820
18820
  A,
@@ -18824,7 +18824,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18824
18824
  children: A
18825
18825
  }))
18826
18826
  }),
18827
- RK ? LK !== false && (0, import_jsx_runtime.jsx)(DataBox, {
18827
+ BK ? zK !== false && (0, import_jsx_runtime.jsx)(DataBox, {
18828
18828
  className: "data-key-colon",
18829
18829
  sx: {
18830
18830
  mr: 0.5
@@ -18837,38 +18837,38 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18837
18837
  ".data-key-key:empty + &": {
18838
18838
  display: "none"
18839
18839
  },
18840
- userSelect: zK ? "none" : "auto"
18840
+ userSelect: VK ? "none" : "auto"
18841
18841
  },
18842
18842
  children: ":"
18843
18843
  }),
18844
18844
  c && (0, import_jsx_runtime.jsx)(c, {
18845
- ...aq
18845
+ ...sq
18846
18846
  }),
18847
- I && rq && K && tq
18847
+ I && aq && K && rq
18848
18848
  ]
18849
18849
  }),
18850
18850
  J && S ? f && (0, import_jsx_runtime.jsx)(f, {
18851
18851
  path: i,
18852
18852
  value: w,
18853
18853
  setValue: E,
18854
- abortEditing: $K,
18855
- commitEditing: eq
18854
+ abortEditing: tq,
18855
+ commitEditing: nq
18856
18856
  }) : s ? (0, import_jsx_runtime.jsx)(s, {
18857
- ...aq
18857
+ ...sq
18858
18858
  }) : (0, import_jsx_runtime.jsx)(Box_default, {
18859
18859
  component: "span",
18860
18860
  className: "data-value-fallback",
18861
18861
  children: `fallback: ${t}`
18862
18862
  }),
18863
18863
  d && (0, import_jsx_runtime.jsx)(d, {
18864
- ...aq
18864
+ ...sq
18865
18865
  }),
18866
18866
  !o && $ && (0, import_jsx_runtime.jsx)(DataBox, {
18867
18867
  children: ","
18868
18868
  }),
18869
- I && rq && !K && tq,
18870
- I && !rq && tq,
18871
- !I && J && tq
18869
+ I && aq && !K && rq,
18870
+ I && !aq && rq,
18871
+ !I && J && rq
18872
18872
  ]
18873
18873
  });
18874
18874
  }, query = "(prefers-color-scheme: dark)";
@@ -19806,7 +19806,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19806
19806
  else if (n.some(_temp2$7)) d = "An internal error occurred";
19807
19807
  else if (n.some(_temp3$4)) d = "Ancestor prevented from running", f = "default", _ = "text-secondary-foreground";
19808
19808
  else if (n.some(_temp4$4)) d = "Ancestor stopped", f = "default", _ = "text-secondary-foreground";
19809
- else if (n.some(_temp5$2)) d = "SQL error";
19809
+ else if (n.some(_temp5$3)) d = "SQL error";
19810
19810
  else if (n.some(_temp6$2)) d = null, v = "Cell not run";
19811
19811
  else {
19812
19812
  let e2;
@@ -19816,18 +19816,18 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19816
19816
  }
19817
19817
  let y, S, w, E, O, A;
19818
19818
  if (t[2] !== f || t[3] !== i || t[4] !== s || t[5] !== o || t[6] !== n || t[7] !== c || t[8] !== v || t[9] !== _ || t[10] !== d) {
19819
- let e2 = n.filter(_temp8), M2 = n.filter(_temp9), I2 = n.filter(_temp0), z = n.filter(_temp1), U = n.filter(_temp10), K = n.filter(_temp11), q = n.filter(_temp12), J = n.filter(_temp13), Q = n.filter(_temp14), MK = n.filter(_temp15), NK = n.filter(_temp16), PK = n.filter(_temp17), FK = n.filter(_temp18), $;
19819
+ let e2 = n.filter(_temp8), M2 = n.filter(_temp9), I2 = n.filter(_temp0), z = n.filter(_temp1), U = n.filter(_temp10), K = n.filter(_temp11), q = n.filter(_temp12), J = n.filter(_temp13), Q = n.filter(_temp14), PK = n.filter(_temp15), FK = n.filter(_temp16), IK = n.filter(_temp17), LK = n.filter(_temp18), $;
19820
19820
  t[17] === s ? $ = t[18] : ($ = () => {
19821
19821
  s.openApplication("scratchpad");
19822
19822
  }, t[17] = s, t[18] = $);
19823
- let IK = $, RK = () => {
19823
+ let RK = $, BK = () => {
19824
19824
  let t2 = [];
19825
- if (NK.length > 0 || PK.length > 0) {
19826
- let e3 = NK.some(_temp19), n2 = !e3 && NK.some(_temp20);
19825
+ if (FK.length > 0 || IK.length > 0) {
19826
+ let e3 = FK.some(_temp19), n2 = !e3 && FK.some(_temp20);
19827
19827
  t2.push((0, import_jsx_runtime.jsxs)("div", {
19828
19828
  children: [
19829
- NK.map(_temp21),
19830
- PK.map(_temp22),
19829
+ FK.map(_temp21),
19830
+ IK.map(_temp22),
19831
19831
  e3 && (0, import_jsx_runtime.jsxs)(Button, {
19832
19832
  size: "xs",
19833
19833
  variant: "outline",
@@ -19858,8 +19858,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19858
19858
  }),
19859
19859
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
19860
19860
  errors: [
19861
- ...NK,
19862
- ...PK
19861
+ ...FK,
19862
+ ...IK
19863
19863
  ],
19864
19864
  cellId: i
19865
19865
  })
@@ -20020,7 +20020,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20020
20020
  size: "xs",
20021
20021
  variant: "link",
20022
20022
  className: "my-2 font-normal mx-0 px-0",
20023
- onClick: IK,
20023
+ onClick: RK,
20024
20024
  children: [
20025
20025
  (0, import_jsx_runtime.jsx)(NotebookPen, {
20026
20026
  className: "h-3"
@@ -20211,26 +20211,26 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20211
20211
  cellId: i
20212
20212
  })
20213
20213
  ]
20214
- }, "ancestor-prevented")), MK.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20214
+ }, "ancestor-prevented")), PK.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20215
20215
  children: [
20216
- MK.map(_temp34),
20216
+ PK.map(_temp34),
20217
20217
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20218
- errors: MK,
20218
+ errors: PK,
20219
20219
  cellId: i
20220
20220
  })
20221
20221
  ]
20222
- }, "ancestor-stopped")), FK.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20222
+ }, "ancestor-stopped")), LK.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20223
20223
  children: [
20224
- FK.map(_temp35),
20224
+ LK.map(_temp35),
20225
20225
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20226
- errors: FK,
20226
+ errors: LK,
20227
20227
  cellId: i,
20228
20228
  className: "mt-2.5"
20229
20229
  })
20230
20230
  ]
20231
20231
  }, "sql-errors")), t2;
20232
- }, zK;
20233
- t[19] === v ? zK = t[20] : (zK = v && (0, import_jsx_runtime.jsxs)("div", {
20232
+ }, VK;
20233
+ t[19] === v ? VK = t[20] : (VK = v && (0, import_jsx_runtime.jsxs)("div", {
20234
20234
  className: "flex items-center gap-1 font-code text-[0.6875rem] uppercase tracking-wider text-muted-foreground/70",
20235
20235
  children: [
20236
20236
  v,
@@ -20242,22 +20242,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20242
20242
  })
20243
20243
  })
20244
20244
  ]
20245
- }), t[19] = v, t[20] = zK);
20246
- let BK;
20247
- t[21] !== _ || t[22] !== d ? (BK = d && (0, import_jsx_runtime.jsx)(AlertTitle, {
20245
+ }), t[19] = v, t[20] = VK);
20246
+ let HK;
20247
+ t[21] !== _ || t[22] !== d ? (HK = d && (0, import_jsx_runtime.jsx)(AlertTitle, {
20248
20248
  className: `font-code font-medium ${_}`,
20249
20249
  children: d
20250
- }), t[21] = _, t[22] = d, t[23] = BK) : BK = t[23];
20251
- let VK;
20252
- t[24] !== zK || t[25] !== BK ? (VK = (0, import_jsx_runtime.jsxs)("div", {
20250
+ }), t[21] = _, t[22] = d, t[23] = HK) : HK = t[23];
20251
+ let UK;
20252
+ t[24] !== VK || t[25] !== HK ? (UK = (0, import_jsx_runtime.jsxs)("div", {
20253
20253
  className: "space-y-0.5",
20254
20254
  children: [
20255
- zK,
20256
- BK
20255
+ VK,
20256
+ HK
20257
20257
  ]
20258
- }), t[24] = zK, t[25] = BK, t[26] = VK) : VK = t[26];
20259
- let HK = VK;
20260
- y = Alert, E = f, t[27] === o ? O = t[28] : (O = cn("border-none font-code text-sm text-[0.84375rem] p-0 text-muted-foreground normal [&:has(svg)]:pl-0 space-y-2", o), t[27] = o, t[28] = O), A = HK, S = "flex flex-col gap-4", w = RK(), t[2] = f, t[3] = i, t[4] = s, t[5] = o, t[6] = n, t[7] = c, t[8] = v, t[9] = _, t[10] = d, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = O, t[16] = A;
20258
+ }), t[24] = VK, t[25] = HK, t[26] = UK) : UK = t[26];
20259
+ let WK = UK;
20260
+ y = Alert, E = f, t[27] === o ? O = t[28] : (O = cn("border-none font-code text-sm text-[0.84375rem] p-0 text-muted-foreground normal [&:has(svg)]:pl-0 space-y-2", o), t[27] = o, t[28] = O), A = WK, S = "flex flex-col gap-4", w = BK(), t[2] = f, t[3] = i, t[4] = s, t[5] = o, t[6] = n, t[7] = c, t[8] = v, t[9] = _, t[10] = d, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = O, t[16] = A;
20261
20261
  } else y = t[11], S = t[12], w = t[13], E = t[14], O = t[15], A = t[16];
20262
20262
  let M;
20263
20263
  t[29] !== S || t[30] !== w ? (M = (0, import_jsx_runtime.jsx)("div", {
@@ -20286,7 +20286,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20286
20286
  function _temp4$4(e) {
20287
20287
  return e.type === "ancestor-stopped";
20288
20288
  }
20289
- function _temp5$2(e) {
20289
+ function _temp5$3(e) {
20290
20290
  return e.type === "sql-error";
20291
20291
  }
20292
20292
  function _temp6$2(e) {
@@ -26189,7 +26189,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26189
26189
  function PanelWithForwardedRef({ children: e, className: t = "", collapsedSize: n, collapsible: i, defaultSize: a, forwardedRef: o, id: s, maxSize: c, minSize: d, onCollapse: f, onExpand: h, onResize: _, order: v, style: y, tagName: S = "div", ...w }) {
26190
26190
  let E = (0, import_react.useContext)(PanelGroupContext);
26191
26191
  if (E === null) throw Error("Panel components must be rendered within a PanelGroup container");
26192
- let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, MK = useUniqueId(s), NK = (0, import_react.useRef)({
26192
+ let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, PK = useUniqueId(s), FK = (0, import_react.useRef)({
26193
26193
  callbacks: {
26194
26194
  onCollapse: f,
26195
26195
  onExpand: h,
@@ -26202,72 +26202,72 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26202
26202
  maxSize: c,
26203
26203
  minSize: d
26204
26204
  },
26205
- id: MK,
26205
+ id: PK,
26206
26206
  idIsFromProps: s !== void 0,
26207
26207
  order: v
26208
26208
  });
26209
26209
  (0, import_react.useRef)({
26210
26210
  didLogMissingDefaultSizeWarning: false
26211
26211
  }), useIsomorphicLayoutEffect$1(() => {
26212
- let { callbacks: e2, constraints: t2 } = NK.current, o2 = {
26212
+ let { callbacks: e2, constraints: t2 } = FK.current, o2 = {
26213
26213
  ...t2
26214
26214
  };
26215
- NK.current.id = MK, NK.current.idIsFromProps = s !== void 0, NK.current.order = v, e2.onCollapse = f, e2.onExpand = h, e2.onResize = _, t2.collapsedSize = n, t2.collapsible = i, t2.defaultSize = a, t2.maxSize = c, t2.minSize = d, (o2.collapsedSize !== t2.collapsedSize || o2.collapsible !== t2.collapsible || o2.maxSize !== t2.maxSize || o2.minSize !== t2.minSize) && K(NK.current, o2);
26215
+ FK.current.id = PK, FK.current.idIsFromProps = s !== void 0, FK.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(FK.current, o2);
26216
26216
  }), useIsomorphicLayoutEffect$1(() => {
26217
- let e2 = NK.current;
26217
+ let e2 = FK.current;
26218
26218
  return q(e2), () => {
26219
26219
  Q(e2);
26220
26220
  };
26221
26221
  }, [
26222
26222
  v,
26223
- MK,
26223
+ PK,
26224
26224
  q,
26225
26225
  Q
26226
26226
  ]), (0, import_react.useImperativeHandle)(o, () => ({
26227
26227
  collapse: () => {
26228
- O(NK.current);
26228
+ O(FK.current);
26229
26229
  },
26230
26230
  expand: (e2) => {
26231
- A(NK.current, e2);
26231
+ A(FK.current, e2);
26232
26232
  },
26233
26233
  getId() {
26234
- return MK;
26234
+ return PK;
26235
26235
  },
26236
26236
  getSize() {
26237
- return M(NK.current);
26237
+ return M(FK.current);
26238
26238
  },
26239
26239
  isCollapsed() {
26240
- return U(NK.current);
26240
+ return U(FK.current);
26241
26241
  },
26242
26242
  isExpanded() {
26243
- return !U(NK.current);
26243
+ return !U(FK.current);
26244
26244
  },
26245
26245
  resize: (e2) => {
26246
- J(NK.current, e2);
26246
+ J(FK.current, e2);
26247
26247
  }
26248
26248
  }), [
26249
26249
  O,
26250
26250
  A,
26251
26251
  M,
26252
26252
  U,
26253
- MK,
26253
+ PK,
26254
26254
  J
26255
26255
  ]);
26256
- let PK = I(NK.current, a);
26256
+ let IK = I(FK.current, a);
26257
26257
  return (0, import_react.createElement)(S, {
26258
26258
  ...w,
26259
26259
  children: e,
26260
26260
  className: t,
26261
- id: MK,
26261
+ id: PK,
26262
26262
  style: {
26263
- ...PK,
26263
+ ...IK,
26264
26264
  ...y
26265
26265
  },
26266
26266
  [DATA_ATTRIBUTES.groupId]: z,
26267
26267
  [DATA_ATTRIBUTES.panel]: "",
26268
26268
  [DATA_ATTRIBUTES.panelCollapsible]: i || void 0,
26269
- [DATA_ATTRIBUTES.panelId]: MK,
26270
- [DATA_ATTRIBUTES.panelSize]: parseFloat("" + PK.flexGrow).toFixed(1)
26269
+ [DATA_ATTRIBUTES.panelId]: PK,
26270
+ [DATA_ATTRIBUTES.panelSize]: parseFloat("" + IK.flexGrow).toFixed(1)
26271
26271
  });
26272
26272
  }
26273
26273
  Panel = (0, import_react.forwardRef)((e, t) => (0, import_react.createElement)(PanelWithForwardedRef, {
@@ -27040,7 +27040,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27040
27040
  }, []), Q = (0, import_react.useCallback)((e2) => {
27041
27041
  let { layout: t2, panelDataArray: n2 } = K.current, { panelSize: i2 } = panelDataHelper(n2, e2, t2);
27042
27042
  return assert(i2 != null, `Panel size not found for panel "${e2.id}"`), i2;
27043
- }, []), MK = (0, import_react.useCallback)((e2, t2) => {
27043
+ }, []), PK = (0, import_react.useCallback)((e2, t2) => {
27044
27044
  let { panelDataArray: n2 } = K.current;
27045
27045
  return computePanelFlexBoxStyle({
27046
27046
  defaultSize: t2,
@@ -27052,13 +27052,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27052
27052
  }, [
27053
27053
  S,
27054
27054
  E
27055
- ]), NK = (0, import_react.useCallback)((e2) => {
27055
+ ]), FK = (0, import_react.useCallback)((e2) => {
27056
27056
  let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
27057
27057
  return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), a2 === true && fuzzyNumbersEqual$1(o2, i2);
27058
- }, []), PK = (0, import_react.useCallback)((e2) => {
27058
+ }, []), IK = (0, import_react.useCallback)((e2) => {
27059
27059
  let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
27060
27060
  return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), !a2 || fuzzyCompareNumbers(o2, i2) > 0;
27061
- }, []), FK = (0, import_react.useCallback)((e2) => {
27061
+ }, []), LK = (0, import_react.useCallback)((e2) => {
27062
27062
  let { panelDataArray: t2 } = K.current;
27063
27063
  t2.push(e2), t2.sort((e3, t3) => {
27064
27064
  let n2 = e3.order, i2 = t3.order;
@@ -27108,7 +27108,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27108
27108
  }), I2 = !compareLayouts(f2, A2);
27109
27109
  (isPointerEvent(n3) || isMouseEvent(n3)) && z.current != S2 && (z.current = S2, !I2 && S2 !== 0 ? w2 ? reportConstraintsViolation(e2, S2 < 0 ? EXCEEDED_HORIZONTAL_MIN : EXCEEDED_HORIZONTAL_MAX) : reportConstraintsViolation(e2, S2 < 0 ? EXCEEDED_VERTICAL_MIN : EXCEEDED_VERTICAL_MAX) : reportConstraintsViolation(e2, 0)), I2 && (O(A2), K.current.layout = A2, d2 && d2(A2), callPanelCallbacks(h2, A2, M.current));
27110
27110
  };
27111
- }, []), IK = (0, import_react.useCallback)((e2, t2) => {
27111
+ }, []), RK = (0, import_react.useCallback)((e2, t2) => {
27112
27112
  let { onLayout: n2 } = U.current, { layout: i2, panelDataArray: a2 } = K.current, o2 = a2.map((e3) => e3.constraints), { panelSize: s2, pivotIndices: c2 } = panelDataHelper(a2, e2, i2);
27113
27113
  assert(s2 != null, `Panel size not found for panel "${e2.id}"`);
27114
27114
  let d2 = adjustLayoutByDelta({
@@ -27120,12 +27120,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27120
27120
  trigger: "imperative-api"
27121
27121
  });
27122
27122
  compareLayouts(i2, d2) || (O(d2), K.current.layout = d2, n2 && n2(d2), callPanelCallbacks(a2, d2, M.current));
27123
- }, []), LK = (0, import_react.useCallback)((e2, t2) => {
27123
+ }, []), zK = (0, import_react.useCallback)((e2, t2) => {
27124
27124
  let { layout: n2, panelDataArray: i2 } = K.current, { collapsedSize: a2 = 0, collapsible: o2 } = t2, { collapsedSize: s2 = 0, collapsible: c2, maxSize: d2 = 100, minSize: f2 = 0 } = e2.constraints, { panelSize: h2 } = panelDataHelper(i2, e2, n2);
27125
- h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) || IK(e2, s2) : h2 < f2 ? IK(e2, f2) : h2 > d2 && IK(e2, d2));
27125
+ h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) || RK(e2, s2) : h2 < f2 ? RK(e2, f2) : h2 > d2 && RK(e2, d2));
27126
27126
  }, [
27127
- IK
27128
- ]), RK = (0, import_react.useCallback)((e2, t2) => {
27127
+ RK
27128
+ ]), BK = (0, import_react.useCallback)((e2, t2) => {
27129
27129
  let { direction: n2 } = U.current, { layout: i2 } = K.current;
27130
27130
  if (!y.current) return;
27131
27131
  let a2 = getResizeHandleElement(e2, y.current);
@@ -27137,30 +27137,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27137
27137
  initialCursorPosition: o2,
27138
27138
  initialLayout: i2
27139
27139
  });
27140
- }, []), zK = (0, import_react.useCallback)(() => {
27140
+ }, []), VK = (0, import_react.useCallback)(() => {
27141
27141
  w(null);
27142
- }, []), BK = (0, import_react.useCallback)((e2) => {
27142
+ }, []), HK = (0, import_react.useCallback)((e2) => {
27143
27143
  let { panelDataArray: t2 } = K.current, n2 = findPanelDataIndex(t2, e2);
27144
27144
  n2 >= 0 && (t2.splice(n2, 1), delete M.current[e2.id], K.current.panelDataArrayChanged = true, A());
27145
27145
  }, [
27146
27146
  A
27147
- ]), VK = (0, import_react.useMemo)(() => ({
27147
+ ]), UK = (0, import_react.useMemo)(() => ({
27148
27148
  collapsePanel: q,
27149
27149
  direction: i,
27150
27150
  dragState: S,
27151
27151
  expandPanel: J,
27152
27152
  getPanelSize: Q,
27153
- getPanelStyle: MK,
27153
+ getPanelStyle: PK,
27154
27154
  groupId: v,
27155
- isPanelCollapsed: NK,
27156
- isPanelExpanded: PK,
27157
- reevaluatePanelConstraints: LK,
27158
- registerPanel: FK,
27155
+ isPanelCollapsed: FK,
27156
+ isPanelExpanded: IK,
27157
+ reevaluatePanelConstraints: zK,
27158
+ registerPanel: LK,
27159
27159
  registerResizeHandle: $,
27160
- resizePanel: IK,
27161
- startDragging: RK,
27162
- stopDragging: zK,
27163
- unregisterPanel: BK,
27160
+ resizePanel: RK,
27161
+ startDragging: BK,
27162
+ stopDragging: VK,
27163
+ unregisterPanel: HK,
27164
27164
  panelGroupElement: y.current
27165
27165
  }), [
27166
27166
  q,
@@ -27168,18 +27168,18 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27168
27168
  i,
27169
27169
  J,
27170
27170
  Q,
27171
- MK,
27172
- v,
27173
- NK,
27174
27171
  PK,
27175
- LK,
27172
+ v,
27176
27173
  FK,
27177
- $,
27178
27174
  IK,
27179
- RK,
27180
27175
  zK,
27181
- BK
27182
- ]), HK = {
27176
+ LK,
27177
+ $,
27178
+ RK,
27179
+ BK,
27180
+ VK,
27181
+ HK
27182
+ ]), WK = {
27183
27183
  display: "flex",
27184
27184
  flexDirection: i === "horizontal" ? "row" : "column",
27185
27185
  height: "100%",
@@ -27187,7 +27187,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27187
27187
  width: "100%"
27188
27188
  };
27189
27189
  return (0, import_react.createElement)(PanelGroupContext.Provider, {
27190
- value: VK
27190
+ value: UK
27191
27191
  }, (0, import_react.createElement)(h, {
27192
27192
  ..._,
27193
27193
  children: t,
@@ -27195,7 +27195,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27195
27195
  id: o,
27196
27196
  ref: y,
27197
27197
  style: {
27198
- ...HK,
27198
+ ...WK,
27199
27199
  ...f
27200
27200
  },
27201
27201
  [DATA_ATTRIBUTES.group]: "",
@@ -27272,31 +27272,31 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27272
27272
  });
27273
27273
  let O = (0, import_react.useContext)(PanelGroupContext);
27274
27274
  if (O === null) throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");
27275
- let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [MK, NK] = (0, import_react.useState)(false), [PK, FK] = (0, import_react.useState)(null), $ = (0, import_react.useRef)({
27275
+ let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [PK, FK] = (0, import_react.useState)(false), [IK, LK] = (0, import_react.useState)(null), $ = (0, import_react.useRef)({
27276
27276
  state: J
27277
27277
  });
27278
27278
  useIsomorphicLayoutEffect$1(() => {
27279
27279
  $.current.state = J;
27280
27280
  }), (0, import_react.useEffect)(() => {
27281
- if (n) FK(null);
27281
+ if (n) LK(null);
27282
27282
  else {
27283
27283
  let e2 = I(q);
27284
- FK(() => e2);
27284
+ LK(() => e2);
27285
27285
  }
27286
27286
  }, [
27287
27287
  n,
27288
27288
  q,
27289
27289
  I
27290
27290
  ]);
27291
- let IK = (i == null ? void 0 : i.coarse) ?? 15, LK = (i == null ? void 0 : i.fine) ?? 5;
27291
+ let RK = (i == null ? void 0 : i.coarse) ?? 15, zK = (i == null ? void 0 : i.fine) ?? 5;
27292
27292
  (0, import_react.useEffect)(() => {
27293
- if (n || PK == null) return;
27293
+ if (n || IK == null) return;
27294
27294
  let e2 = w.current;
27295
27295
  assert(e2, "Element ref not attached");
27296
27296
  let t2 = false;
27297
27297
  return registerResizeHandle(q, e2, A, {
27298
- coarse: IK,
27299
- fine: LK
27298
+ coarse: RK,
27299
+ fine: zK
27300
27300
  }, (e3, n2, i2) => {
27301
27301
  if (!n2) {
27302
27302
  Q("inactive");
@@ -27311,7 +27311,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27311
27311
  }
27312
27312
  case "move": {
27313
27313
  let { state: e4 } = $.current;
27314
- t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), PK(i2);
27314
+ t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), IK(i2);
27315
27315
  break;
27316
27316
  }
27317
27317
  case "up": {
@@ -27323,22 +27323,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27323
27323
  }
27324
27324
  });
27325
27325
  }, [
27326
- IK,
27326
+ RK,
27327
27327
  A,
27328
27328
  n,
27329
- LK,
27329
+ zK,
27330
27330
  I,
27331
27331
  q,
27332
- PK,
27332
+ IK,
27333
27333
  z,
27334
27334
  U
27335
27335
  ]), useWindowSplitterResizeHandlerBehavior({
27336
27336
  disabled: n,
27337
27337
  handleId: q,
27338
- resizeHandler: PK,
27338
+ resizeHandler: IK,
27339
27339
  panelGroupElement: K
27340
27340
  });
27341
- let RK = {
27341
+ let BK = {
27342
27342
  touchAction: "none",
27343
27343
  userSelect: "none"
27344
27344
  };
@@ -27348,22 +27348,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27348
27348
  className: t,
27349
27349
  id: a,
27350
27350
  onBlur: () => {
27351
- NK(false), o == null ? void 0 : o();
27351
+ FK(false), o == null ? void 0 : o();
27352
27352
  },
27353
27353
  onFocus: () => {
27354
- NK(true), d == null ? void 0 : d();
27354
+ FK(true), d == null ? void 0 : d();
27355
27355
  },
27356
27356
  ref: w,
27357
27357
  role: "separator",
27358
27358
  style: {
27359
- ...RK,
27359
+ ...BK,
27360
27360
  ..._
27361
27361
  },
27362
27362
  tabIndex: v,
27363
27363
  [DATA_ATTRIBUTES.groupDirection]: A,
27364
27364
  [DATA_ATTRIBUTES.groupId]: M,
27365
27365
  [DATA_ATTRIBUTES.resizeHandle]: "",
27366
- [DATA_ATTRIBUTES.resizeHandleActive]: J === "drag" ? "pointer" : MK ? "keyboard" : void 0,
27366
+ [DATA_ATTRIBUTES.resizeHandleActive]: J === "drag" ? "pointer" : PK ? "keyboard" : void 0,
27367
27367
  [DATA_ATTRIBUTES.resizeHandleEnabled]: !n,
27368
27368
  [DATA_ATTRIBUTES.resizeHandleId]: q,
27369
27369
  [DATA_ATTRIBUTES.resizeHandleState]: J
@@ -27655,7 +27655,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27655
27655
  }, [
27656
27656
  h
27657
27657
  ]), k(() => {
27658
- U(6, PK);
27658
+ U(6, IK);
27659
27659
  }, []);
27660
27660
  let K = import_react.useMemo(() => ({
27661
27661
  subscribe: (e2) => (s.current.add(e2), () => s.current.delete(e2)),
@@ -27664,7 +27664,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27664
27664
  var _a2;
27665
27665
  var a2, o2, s2;
27666
27666
  if (!Object.is(n.current[e2], t2)) {
27667
- if (n.current[e2] = t2, e2 === "search") NK(), Q(), U(1, MK);
27667
+ if (n.current[e2] = t2, e2 === "search") FK(), Q(), U(1, PK);
27668
27668
  else if (e2 === "value") {
27669
27669
  if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
27670
27670
  let e3 = document.getElementById(I);
@@ -27672,8 +27672,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27672
27672
  }
27673
27673
  if (U(7, () => {
27674
27674
  var _a3;
27675
- n.current.selectedItemId = (_a3 = FK()) == null ? void 0 : _a3.id, K.emit();
27676
- }), i2 || U(5, PK), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
27675
+ n.current.selectedItemId = (_a3 = LK()) == null ? void 0 : _a3.id, K.emit();
27676
+ }), i2 || U(5, IK), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
27677
27677
  let e3 = t2 ?? "";
27678
27678
  (s2 = (o2 = c.current).onValueChange) == null || s2.call(o2, e3);
27679
27679
  return;
@@ -27698,12 +27698,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27698
27698
  item: (e2, t2) => (i.current.add(e2), t2 && (a.current.has(t2) ? a.current.get(t2).add(e2) : a.current.set(t2, /* @__PURE__ */ new Set([
27699
27699
  e2
27700
27700
  ]))), U(3, () => {
27701
- NK(), Q(), n.current.value || MK(), K.emit();
27701
+ FK(), Q(), n.current.value || PK(), K.emit();
27702
27702
  }), () => {
27703
27703
  o.current.delete(e2), i.current.delete(e2), n.current.filtered.items.delete(e2);
27704
- let t3 = FK();
27704
+ let t3 = LK();
27705
27705
  U(4, () => {
27706
- NK(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && MK(), K.emit();
27706
+ FK(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && PK(), K.emit();
27707
27707
  });
27708
27708
  }),
27709
27709
  group: (e2) => (a.current.has(e2) || a.current.set(e2, /* @__PURE__ */ new Set()), () => {
@@ -27748,12 +27748,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27748
27748
  t3 == null ? void 0 : t3.parentElement.appendChild(t3);
27749
27749
  });
27750
27750
  }
27751
- function MK() {
27751
+ function PK() {
27752
27752
  var _a2;
27753
27753
  let e2 = (_a2 = $().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
27754
27754
  K.setState("value", e2 || void 0);
27755
27755
  }
27756
- function NK() {
27756
+ function FK() {
27757
27757
  var _a2, _b;
27758
27758
  if (!n.current.search || c.current.shouldFilter === false) {
27759
27759
  n.current.filtered.count = i.current.size;
@@ -27771,17 +27771,17 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27771
27771
  }
27772
27772
  n.current.filtered.count = e2;
27773
27773
  }
27774
- function PK() {
27774
+ function IK() {
27775
27775
  var _a2, _b;
27776
27776
  var e2;
27777
- let t2 = FK();
27777
+ let t2 = LK();
27778
27778
  t2 && (((_a2 = t2.parentElement) == null ? void 0 : _a2.firstChild) === t2 && ((e2 = (_b = t2.closest(N$1)) == null ? void 0 : _b.querySelector(be)) == null || e2.scrollIntoView({
27779
27779
  block: "nearest"
27780
27780
  })), t2.scrollIntoView({
27781
27781
  block: "nearest"
27782
27782
  }));
27783
27783
  }
27784
- function FK() {
27784
+ function LK() {
27785
27785
  var _a2;
27786
27786
  return (_a2 = z.current) == null ? void 0 : _a2.querySelector(`${le}[aria-selected="true"]`);
27787
27787
  }
@@ -27789,25 +27789,25 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27789
27789
  var _a2;
27790
27790
  return Array.from(((_a2 = z.current) == null ? void 0 : _a2.querySelectorAll(ce$1)) || []);
27791
27791
  }
27792
- function IK(e2) {
27792
+ function RK(e2) {
27793
27793
  let t2 = $()[e2];
27794
27794
  t2 && K.setState("value", t2.getAttribute(T));
27795
27795
  }
27796
- function LK(e2) {
27796
+ function zK(e2) {
27797
27797
  var t2;
27798
- let n2 = FK(), i2 = $(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
27798
+ let n2 = LK(), i2 = $(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
27799
27799
  (t2 = c.current) != null && t2.loop && (o2 = a2 + e2 < 0 ? i2[i2.length - 1] : a2 + e2 === i2.length ? i2[0] : i2[a2 + e2]), o2 && K.setState("value", o2.getAttribute(T));
27800
27800
  }
27801
- function RK(e2) {
27801
+ function BK(e2) {
27802
27802
  var _a2;
27803
- let t2 = (_a2 = FK()) == null ? void 0 : _a2.closest(N$1), n2;
27803
+ let t2 = (_a2 = LK()) == null ? void 0 : _a2.closest(N$1), n2;
27804
27804
  for (; t2 && !n2; ) t2 = e2 > 0 ? we(t2, N$1) : De(t2, N$1), n2 = t2 == null ? void 0 : t2.querySelector(ce$1);
27805
- n2 ? K.setState("value", n2.getAttribute(T)) : LK(e2);
27805
+ n2 ? K.setState("value", n2.getAttribute(T)) : zK(e2);
27806
27806
  }
27807
- let zK = () => IK($().length - 1), BK = (e2) => {
27808
- e2.preventDefault(), e2.metaKey ? zK() : e2.altKey ? RK(1) : LK(1);
27809
- }, VK = (e2) => {
27810
- e2.preventDefault(), e2.metaKey ? IK(0) : e2.altKey ? RK(-1) : LK(-1);
27807
+ let VK = () => RK($().length - 1), HK = (e2) => {
27808
+ e2.preventDefault(), e2.metaKey ? VK() : e2.altKey ? BK(1) : zK(1);
27809
+ }, UK = (e2) => {
27810
+ e2.preventDefault(), e2.metaKey ? RK(0) : e2.altKey ? BK(-1) : zK(-1);
27811
27811
  };
27812
27812
  return import_react.createElement(Primitive.div, {
27813
27813
  ref: t,
@@ -27821,27 +27821,27 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27821
27821
  if (!(e2.defaultPrevented || n2)) switch (e2.key) {
27822
27822
  case "n":
27823
27823
  case "j":
27824
- E && e2.ctrlKey && BK(e2);
27824
+ E && e2.ctrlKey && HK(e2);
27825
27825
  break;
27826
27826
  case "ArrowDown":
27827
- BK(e2);
27827
+ HK(e2);
27828
27828
  break;
27829
27829
  case "p":
27830
27830
  case "k":
27831
- E && e2.ctrlKey && VK(e2);
27831
+ E && e2.ctrlKey && UK(e2);
27832
27832
  break;
27833
27833
  case "ArrowUp":
27834
- VK(e2);
27834
+ UK(e2);
27835
27835
  break;
27836
27836
  case "Home":
27837
- e2.preventDefault(), IK(0);
27837
+ e2.preventDefault(), RK(0);
27838
27838
  break;
27839
27839
  case "End":
27840
- e2.preventDefault(), zK();
27840
+ e2.preventDefault(), VK();
27841
27841
  break;
27842
27842
  case "Enter": {
27843
27843
  e2.preventDefault();
27844
- let t3 = FK();
27844
+ let t3 = LK();
27845
27845
  if (t3) {
27846
27846
  let e3 = new Event(Z);
27847
27847
  t3.dispatchEvent(e3);
@@ -28250,153 +28250,153 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28250
28250
  Combobox = (e) => {
28251
28251
  let t = (0, import_compiler_runtime$30.c)(103), n, i, o, s, c, d, f, h, _, v, y, S, w, E, O, A, M, I, z, U, K, q, J;
28252
28252
  t[0] === e ? (n = t[1], i = t[2], o = t[3], s = t[4], c = t[5], d = t[6], f = t[7], h = t[8], _ = t[9], v = t[10], y = t[11], S = t[12], w = t[13], E = t[14], O = t[15], A = t[16], M = t[17], I = t[18], z = t[19], U = t[20], K = t[21], q = t[22], J = t[23]) : ({ children: n, displayValue: d, className: o, placeholder: E, value: J, defaultValue: c, onValueChange: S, multiple: M, shouldFilter: I, filterFn: f, open: w, defaultOpen: s, onOpenChange: v, inputPlaceholder: z, search: A, onSearchChange: y, emptyState: U, chips: K, chipsClassName: i, keepPopoverOpenOnSelect: _, id: h, disabled: q, ...O } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o, t[4] = s, t[5] = c, t[6] = d, t[7] = f, t[8] = h, t[9] = _, t[10] = v, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = O, t[16] = A, t[17] = M, t[18] = I, t[19] = z, t[20] = U, t[21] = K, t[22] = q, t[23] = J);
28253
- let Q = M === void 0 ? false : M, MK = I === void 0 ? true : I, NK = z === void 0 ? "Search..." : z, PK = U === void 0 ? "Nothing found." : U, FK = K === void 0 ? false : K, $ = q === void 0 ? false : q, IK = s ?? false, LK;
28254
- t[24] !== v || t[25] !== w || t[26] !== IK ? (LK = {
28253
+ let Q = M === void 0 ? false : M, PK = I === void 0 ? true : I, FK = z === void 0 ? "Search..." : z, IK = U === void 0 ? "Nothing found." : U, LK = K === void 0 ? false : K, $ = q === void 0 ? false : q, RK = s ?? false, zK;
28254
+ t[24] !== v || t[25] !== w || t[26] !== RK ? (zK = {
28255
28255
  prop: w,
28256
- defaultProp: IK,
28256
+ defaultProp: RK,
28257
28257
  onChange: v
28258
- }, t[24] = v, t[25] = w, t[26] = IK, t[27] = LK) : LK = t[27];
28259
- let [RK, zK] = useControllableState(LK), BK = RK === void 0 ? false : RK, VK;
28260
- t[28] === S ? VK = t[29] : (VK = (e2) => {
28258
+ }, t[24] = v, t[25] = w, t[26] = RK, t[27] = zK) : zK = t[27];
28259
+ let [BK, VK] = useControllableState(zK), HK = BK === void 0 ? false : BK, UK;
28260
+ t[28] === S ? UK = t[29] : (UK = (e2) => {
28261
28261
  S == null ? void 0 : S(e2);
28262
- }, t[28] = S, t[29] = VK);
28263
- let HK;
28264
- t[30] !== c || t[31] !== VK || t[32] !== J ? (HK = {
28262
+ }, t[28] = S, t[29] = UK);
28263
+ let WK;
28264
+ t[30] !== c || t[31] !== UK || t[32] !== J ? (WK = {
28265
28265
  prop: J,
28266
28266
  defaultProp: c,
28267
- onChange: VK
28268
- }, t[30] = c, t[31] = VK, t[32] = J, t[33] = HK) : HK = t[33];
28269
- let [UK, WK] = useControllableState(HK), GK;
28270
- t[34] === UK ? GK = t[35] : (GK = (e2) => Array.isArray(UK) ? UK.includes(e2) : UK === e2, t[34] = UK, t[35] = GK);
28271
- let KK = GK, qK;
28272
- t[36] !== _ || t[37] !== Q || t[38] !== zK || t[39] !== WK || t[40] !== UK ? (qK = (e2) => {
28267
+ onChange: UK
28268
+ }, t[30] = c, t[31] = UK, t[32] = J, t[33] = WK) : WK = t[33];
28269
+ let [GK, KK] = useControllableState(WK), qK;
28270
+ t[34] === GK ? qK = t[35] : (qK = (e2) => Array.isArray(GK) ? GK.includes(e2) : GK === e2, t[34] = GK, t[35] = qK);
28271
+ let JK = qK, YK;
28272
+ t[36] !== _ || t[37] !== Q || t[38] !== VK || t[39] !== KK || t[40] !== GK ? (YK = (e2) => {
28273
28273
  let t2 = e2;
28274
- if (Q) if (Array.isArray(UK)) if (UK.includes(t2)) {
28275
- let n2 = UK.filter((t3) => t3 !== e2);
28274
+ if (Q) if (Array.isArray(GK)) if (GK.includes(t2)) {
28275
+ let n2 = GK.filter((t3) => t3 !== e2);
28276
28276
  t2 = n2.length > 0 ? n2 : [];
28277
28277
  } else t2 = [
28278
- ...UK,
28278
+ ...GK,
28279
28279
  t2
28280
28280
  ];
28281
28281
  else t2 = [
28282
28282
  t2
28283
28283
  ];
28284
- else UK === e2 && (t2 = null);
28285
- WK(t2), (_ ?? Q) || zK(false);
28286
- }, t[36] = _, t[37] = Q, t[38] = zK, t[39] = WK, t[40] = UK, t[41] = qK) : qK = t[41];
28287
- let JK = qK, YK;
28288
- t[42] !== FK || t[43] !== d || t[44] !== Q || t[45] !== E || t[46] !== UK ? (YK = () => Q && FK && E ? E : UK == null ? E ?? "--" : Array.isArray(UK) ? UK.length === 0 ? E ?? "--" : UK.length === 1 && d !== void 0 ? d(UK[0]) : `${UK.length} selected` : d === void 0 ? E ?? "--" : d(UK), t[42] = FK, t[43] = d, t[44] = Q, t[45] = E, t[46] = UK, t[47] = YK) : YK = t[47];
28284
+ else GK === e2 && (t2 = null);
28285
+ KK(t2), (_ ?? Q) || VK(false);
28286
+ }, t[36] = _, t[37] = Q, t[38] = VK, t[39] = KK, t[40] = GK, t[41] = YK) : YK = t[41];
28289
28287
  let XK = YK, ZK;
28290
- t[48] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ZK = cn("relative"), t[48] = ZK) : ZK = t[48];
28291
- let QK;
28292
- t[49] !== $ || t[50] !== zK ? (QK = (e2) => {
28293
- $ && e2 || zK(e2);
28294
- }, t[49] = $, t[50] = zK, t[51] = QK) : QK = t[51];
28295
- let $K = $ && "cursor-not-allowed opacity-50", eq;
28296
- t[52] !== o || t[53] !== $K ? (eq = cn("flex h-6 w-fit mb-1 shadow-xs-solid items-center justify-between rounded-sm border border-input bg-transparent px-2 text-sm font-prose ring-offset-background placeholder:text-muted-foreground hover:shadow-sm-solid focus:outline-hidden focus:ring-1 focus:ring-ring focus:border-primary focus:shadow-md-solid", $K, o), t[52] = o, t[53] = $K, t[54] = eq) : eq = t[54];
28297
- let tq;
28298
- t[55] === XK ? tq = t[56] : (tq = XK(), t[55] = XK, t[56] = tq);
28288
+ t[42] !== LK || t[43] !== d || t[44] !== Q || t[45] !== E || t[46] !== GK ? (ZK = () => Q && LK && E ? E : GK == null ? E ?? "--" : Array.isArray(GK) ? GK.length === 0 ? E ?? "--" : GK.length === 1 && d !== void 0 ? d(GK[0]) : `${GK.length} selected` : d === void 0 ? E ?? "--" : d(GK), t[42] = LK, t[43] = d, t[44] = Q, t[45] = E, t[46] = GK, t[47] = ZK) : ZK = t[47];
28289
+ let QK = ZK, $K;
28290
+ t[48] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($K = cn("relative"), t[48] = $K) : $K = t[48];
28291
+ let eq;
28292
+ t[49] !== $ || t[50] !== VK ? (eq = (e2) => {
28293
+ $ && e2 || VK(e2);
28294
+ }, t[49] = $, t[50] = VK, t[51] = eq) : eq = t[51];
28295
+ let tq = $ && "cursor-not-allowed opacity-50", nq;
28296
+ t[52] !== o || t[53] !== tq ? (nq = 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", tq, o), t[52] = o, t[53] = tq, t[54] = nq) : nq = t[54];
28299
28297
  let rq;
28300
- t[57] === tq ? rq = t[58] : (rq = (0, import_jsx_runtime.jsx)("span", {
28298
+ t[55] === QK ? rq = t[56] : (rq = QK(), t[55] = QK, t[56] = rq);
28299
+ let aq;
28300
+ t[57] === rq ? aq = t[58] : (aq = (0, import_jsx_runtime.jsx)("span", {
28301
28301
  className: "truncate flex-1 min-w-0",
28302
- children: tq
28303
- }), t[57] = tq, t[58] = rq);
28304
- let iq;
28305
- t[59] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (iq = (0, import_jsx_runtime.jsx)(ChevronDown, {
28306
- className: "ml-3 w-4 h-4 opacity-50 shrink-0"
28307
- }), t[59] = iq) : iq = t[59];
28302
+ children: rq
28303
+ }), t[57] = rq, t[58] = aq);
28308
28304
  let oq;
28309
- t[60] !== $ || t[61] !== h || t[62] !== BK || t[63] !== eq || t[64] !== rq ? (oq = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
28305
+ t[59] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (oq = (0, import_jsx_runtime.jsx)(ChevronDown, {
28306
+ className: "ml-3 w-4 h-4 opacity-50 shrink-0"
28307
+ }), t[59] = oq) : oq = t[59];
28308
+ let cq;
28309
+ t[60] !== $ || t[61] !== h || t[62] !== HK || t[63] !== nq || t[64] !== aq ? (cq = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
28310
28310
  asChild: true,
28311
28311
  children: (0, import_jsx_runtime.jsxs)("button", {
28312
28312
  id: h,
28313
28313
  type: "button",
28314
- className: eq,
28315
- "aria-expanded": BK,
28314
+ className: nq,
28315
+ "aria-expanded": HK,
28316
28316
  "aria-disabled": $,
28317
28317
  children: [
28318
- rq,
28319
- iq
28318
+ aq,
28319
+ oq
28320
28320
  ]
28321
28321
  })
28322
- }), t[60] = $, t[61] = h, t[62] = BK, t[63] = eq, t[64] = rq, t[65] = oq) : oq = t[65];
28323
- let sq;
28324
- t[66] !== NK || t[67] !== y || t[68] !== A ? (sq = (0, import_jsx_runtime.jsx)(CommandInput, {
28325
- placeholder: NK,
28322
+ }), t[60] = $, t[61] = h, t[62] = HK, t[63] = nq, t[64] = aq, t[65] = cq) : cq = t[65];
28323
+ let lq;
28324
+ t[66] !== FK || t[67] !== y || t[68] !== A ? (lq = (0, import_jsx_runtime.jsx)(CommandInput, {
28325
+ placeholder: FK,
28326
28326
  rootClassName: "px-1 h-8",
28327
28327
  autoFocus: true,
28328
28328
  value: A,
28329
28329
  onValueChange: y
28330
- }), t[66] = NK, t[67] = y, t[68] = A, t[69] = sq) : sq = t[69];
28331
- let cq;
28332
- t[70] === PK ? cq = t[71] : (cq = (0, import_jsx_runtime.jsx)(CommandEmpty, {
28333
- children: PK
28334
- }), t[70] = PK, t[71] = cq);
28335
- let lq;
28336
- t[72] !== JK || t[73] !== KK ? (lq = {
28337
- isSelected: KK,
28338
- onSelect: JK
28339
- }, t[72] = JK, t[73] = KK, t[74] = lq) : lq = t[74];
28330
+ }), t[66] = FK, t[67] = y, t[68] = A, t[69] = lq) : lq = t[69];
28340
28331
  let uq;
28341
- t[75] !== n || t[76] !== lq ? (uq = (0, import_jsx_runtime.jsx)(ComboboxContext, {
28342
- value: lq,
28343
- children: n
28344
- }), t[75] = n, t[76] = lq, t[77] = uq) : uq = t[77];
28332
+ t[70] === IK ? uq = t[71] : (uq = (0, import_jsx_runtime.jsx)(CommandEmpty, {
28333
+ children: IK
28334
+ }), t[70] = IK, t[71] = uq);
28345
28335
  let dq;
28346
- t[78] !== cq || t[79] !== uq ? (dq = (0, import_jsx_runtime.jsxs)(CommandList, {
28336
+ t[72] !== XK || t[73] !== JK ? (dq = {
28337
+ isSelected: JK,
28338
+ onSelect: XK
28339
+ }, t[72] = XK, t[73] = JK, t[74] = dq) : dq = t[74];
28340
+ let fq;
28341
+ t[75] !== n || t[76] !== dq ? (fq = (0, import_jsx_runtime.jsx)(ComboboxContext, {
28342
+ value: dq,
28343
+ children: n
28344
+ }), t[75] = n, t[76] = dq, t[77] = fq) : fq = t[77];
28345
+ let pq;
28346
+ t[78] !== uq || t[79] !== fq ? (pq = (0, import_jsx_runtime.jsxs)(CommandList, {
28347
28347
  className: "max-h-60 py-.5",
28348
28348
  children: [
28349
- cq,
28350
- uq
28349
+ uq,
28350
+ fq
28351
28351
  ]
28352
- }), t[78] = cq, t[79] = uq, t[80] = dq) : dq = t[80];
28353
- let fq;
28354
- t[81] !== f || t[82] !== MK || t[83] !== sq || t[84] !== dq ? (fq = (0, import_jsx_runtime.jsx)(PopoverContent, {
28352
+ }), t[78] = uq, t[79] = fq, t[80] = pq) : pq = t[80];
28353
+ let mq;
28354
+ t[81] !== f || t[82] !== PK || t[83] !== lq || t[84] !== pq ? (mq = (0, import_jsx_runtime.jsx)(PopoverContent, {
28355
28355
  className: "w-full min-w-(--radix-popover-trigger-width) p-0",
28356
28356
  align: "start",
28357
28357
  children: (0, import_jsx_runtime.jsxs)(Command, {
28358
28358
  filter: f,
28359
- shouldFilter: MK,
28359
+ shouldFilter: PK,
28360
28360
  children: [
28361
- sq,
28362
- dq
28361
+ lq,
28362
+ pq
28363
28363
  ]
28364
28364
  })
28365
- }), t[81] = f, t[82] = MK, t[83] = sq, t[84] = dq, t[85] = fq) : fq = t[85];
28366
- let pq;
28367
- t[86] !== BK || t[87] !== QK || t[88] !== oq || t[89] !== fq ? (pq = (0, import_jsx_runtime.jsxs)(Popover, {
28368
- open: BK,
28369
- onOpenChange: QK,
28365
+ }), t[81] = f, t[82] = PK, t[83] = lq, t[84] = pq, t[85] = mq) : mq = t[85];
28366
+ let hq;
28367
+ t[86] !== HK || t[87] !== eq || t[88] !== cq || t[89] !== mq ? (hq = (0, import_jsx_runtime.jsxs)(Popover, {
28368
+ open: HK,
28369
+ onOpenChange: eq,
28370
28370
  children: [
28371
- oq,
28372
- fq
28371
+ cq,
28372
+ mq
28373
28373
  ]
28374
- }), t[86] = BK, t[87] = QK, t[88] = oq, t[89] = fq, t[90] = pq) : pq = t[90];
28375
- let mq;
28376
- t[91] !== FK || t[92] !== i || t[93] !== $ || t[94] !== d || t[95] !== JK || t[96] !== Q || t[97] !== UK ? (mq = Q && FK && (0, import_jsx_runtime.jsx)("div", {
28374
+ }), t[86] = HK, t[87] = eq, t[88] = cq, t[89] = mq, t[90] = hq) : hq = t[90];
28375
+ let gq;
28376
+ t[91] !== LK || t[92] !== i || t[93] !== $ || t[94] !== d || t[95] !== XK || t[96] !== Q || t[97] !== GK ? (gq = Q && LK && (0, import_jsx_runtime.jsx)("div", {
28377
28377
  className: cn("flex flex-col gap-1 items-start", i),
28378
- children: Array.isArray(UK) && UK.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
28378
+ children: Array.isArray(GK) && GK.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
28379
28379
  variant: "secondary",
28380
28380
  children: [
28381
28381
  (d == null ? void 0 : d(e2)) ?? String(e2),
28382
28382
  (0, import_jsx_runtime.jsx)(CircleX, {
28383
28383
  onClick: () => {
28384
- $ || JK(e2);
28384
+ $ || XK(e2);
28385
28385
  },
28386
28386
  className: cn("w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer", $ && "pointer-events-none")
28387
28387
  })
28388
28388
  ]
28389
28389
  }, String(e2)))
28390
- }), t[91] = FK, t[92] = i, t[93] = $, t[94] = d, t[95] = JK, t[96] = Q, t[97] = UK, t[98] = mq) : mq = t[98];
28391
- let hq;
28392
- return t[99] !== O || t[100] !== pq || t[101] !== mq ? (hq = (0, import_jsx_runtime.jsxs)("div", {
28393
- className: ZK,
28390
+ }), t[91] = LK, t[92] = i, t[93] = $, t[94] = d, t[95] = XK, t[96] = Q, t[97] = GK, t[98] = gq) : gq = t[98];
28391
+ let _q;
28392
+ return t[99] !== O || t[100] !== hq || t[101] !== gq ? (_q = (0, import_jsx_runtime.jsxs)("div", {
28393
+ className: $K,
28394
28394
  ...O,
28395
28395
  children: [
28396
- pq,
28397
- mq
28396
+ hq,
28397
+ gq
28398
28398
  ]
28399
- }), t[99] = O, t[100] = pq, t[101] = mq, t[102] = hq) : hq = t[102], hq;
28399
+ }), t[99] = O, t[100] = hq, t[101] = gq, t[102] = _q) : _q = t[102], _q;
28400
28400
  };
28401
28401
  ComboboxItem = import_react.forwardRef((e, t) => {
28402
28402
  let n = (0, import_compiler_runtime$30.c)(17), { children: i, className: o, value: s, onSelect: c, disabled: d } = e, f = typeof s == "object" && "value" in s ? s.value : String(s), h = import_react.use(ComboboxContext), _;
@@ -28703,7 +28703,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28703
28703
  t[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = (0, import_jsx_runtime.jsxs)(CalendarGrid, {
28704
28704
  children: [
28705
28705
  (0, import_jsx_runtime.jsx)(CalendarGridHeader, {
28706
- children: _temp5$1
28706
+ children: _temp5$2
28707
28707
  }),
28708
28708
  (0, import_jsx_runtime.jsx)(CalendarGridBody, {
28709
28709
  children: _temp6$1
@@ -28743,7 +28743,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28743
28743
  function _temp4$2(e) {
28744
28744
  return cn("w-fit", e);
28745
28745
  }
28746
- function _temp5$1(e) {
28746
+ function _temp5$2(e) {
28747
28747
  return (0, import_jsx_runtime.jsx)(CalendarHeaderCell, {
28748
28748
  children: e
28749
28749
  });
@@ -28860,7 +28860,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28860
28860
  let t = (0, import_compiler_runtime$25.c)(28), n, i, o, s, d;
28861
28861
  t[0] === e ? (n = t[1], i = t[2], o = t[3], s = t[4], d = t[5]) : ({ label: s, description: i, errorMessage: o, className: n, ...d } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o, t[4] = s, t[5] = d);
28862
28862
  let [f, h] = (0, import_react.useState)(false), _;
28863
- t[6] === n ? _ = t[7] : (_ = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp5), t[6] = n, t[7] = _);
28863
+ t[6] === n ? _ = t[7] : (_ = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp5$1), t[6] = n, t[7] = _);
28864
28864
  let v;
28865
28865
  t[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = (e2) => {
28866
28866
  h(e2);
@@ -28964,7 +28964,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28964
28964
  date: e
28965
28965
  });
28966
28966
  }
28967
- function _temp5(e) {
28967
+ function _temp5$1(e) {
28968
28968
  return cn("group flex flex-col gap-2", e);
28969
28969
  }
28970
28970
  function _temp6(e) {
@@ -29524,13 +29524,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29524
29524
  id: v,
29525
29525
  operator: e2
29526
29526
  });
29527
- }, MK = buildFilterValue({
29527
+ }, PK = buildFilterValue({
29528
29528
  type: S,
29529
29529
  operator: E,
29530
29530
  draft: mergeNumberTextDraft(A, I)
29531
- }), NK = MK === void 0, PK = NK ? getMissingValueMessage(S, E) : "Apply filter", FK = () => {
29532
- if (!MK) return;
29533
- let e2 = MK;
29531
+ }), FK = PK === void 0, IK = FK ? getMissingValueMessage(S, E) : "Apply filter", LK = () => {
29532
+ if (!PK) return;
29533
+ let e2 = PK;
29534
29534
  t.setColumnFilters((t2) => {
29535
29535
  if (a === void 0) return [
29536
29536
  {
@@ -29549,18 +29549,18 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29549
29549
  }), i();
29550
29550
  }, $ = () => {
29551
29551
  a !== void 0 && t.setColumnFilters((e2) => e2.filter((e3, t2) => t2 !== a)), i();
29552
- }, IK = !OPERATORS_WITHOUT_VALUE.has(E), LK = OPERATORS_BY_TYPE[S], RK = (0, import_react.useRef)(null), zK = (0, import_react.useRef)(null);
29552
+ }, RK = !OPERATORS_WITHOUT_VALUE.has(E), zK = OPERATORS_BY_TYPE[S], BK = (0, import_react.useRef)(null), VK = (0, import_react.useRef)(null);
29553
29553
  return (0, import_react.useEffect)(() => {
29554
29554
  var _a2, _b;
29555
- let e2 = (_a2 = RK.current) == null ? void 0 : _a2.querySelector('input, [role="spinbutton"], [role="combobox"], button');
29556
- e2 ? e2.focus() : (_b = zK.current) == null ? void 0 : _b.focus();
29555
+ let e2 = (_a2 = BK.current) == null ? void 0 : _a2.querySelector('input, [role="spinbutton"], [role="combobox"], button');
29556
+ e2 ? e2.focus() : (_b = VK.current) == null ? void 0 : _b.focus();
29557
29557
  }, [
29558
29558
  S,
29559
29559
  E
29560
29560
  ]), (0, import_jsx_runtime.jsxs)("form", {
29561
29561
  className: "flex flex-row gap-4 items-end p-3",
29562
29562
  onSubmit: (e2) => {
29563
- e2.preventDefault(), FK();
29563
+ e2.preventDefault(), LK();
29564
29564
  },
29565
29565
  onKeyDownCapture: (e2) => {
29566
29566
  e2.key === "Tab" && e2.stopPropagation();
@@ -29601,13 +29601,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29601
29601
  onValueChange: (e2) => Q(e2),
29602
29602
  children: [
29603
29603
  (0, import_jsx_runtime.jsx)(SelectTrigger, {
29604
- ref: zK,
29604
+ ref: VK,
29605
29605
  id: s,
29606
29606
  className: "h-6 mb-1 bg-transparent",
29607
29607
  children: (0, import_jsx_runtime.jsx)(SelectValue, {})
29608
29608
  }),
29609
29609
  (0, import_jsx_runtime.jsx)(SelectContent, {
29610
- children: LK.map((e2) => (0, import_jsx_runtime.jsx)(SelectItem, {
29610
+ children: zK.map((e2) => (0, import_jsx_runtime.jsx)(SelectItem, {
29611
29611
  value: e2,
29612
29612
  children: OPERATOR_LABELS[e2]
29613
29613
  }, e2))
@@ -29616,8 +29616,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29616
29616
  }, S)
29617
29617
  ]
29618
29618
  }),
29619
- IK && (0, import_jsx_runtime.jsxs)("div", {
29620
- ref: RK,
29619
+ RK && (0, import_jsx_runtime.jsxs)("div", {
29620
+ ref: BK,
29621
29621
  className: "flex flex-col gap-1",
29622
29622
  children: [
29623
29623
  (0, import_jsx_runtime.jsx)("label", {
@@ -29644,14 +29644,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29644
29644
  className: "flex gap-1 mb-1",
29645
29645
  children: [
29646
29646
  (0, import_jsx_runtime.jsx)(Tooltip, {
29647
- content: PK,
29647
+ content: IK,
29648
29648
  children: (0, import_jsx_runtime.jsx)("span", {
29649
29649
  className: "inline-flex",
29650
29650
  children: (0, import_jsx_runtime.jsx)(Button, {
29651
29651
  type: "submit",
29652
29652
  size: "icon",
29653
29653
  variant: "ghost",
29654
- disabled: NK,
29654
+ disabled: FK,
29655
29655
  className: "rounded-full text-primary hover:text-primary hover:bg-primary/10",
29656
29656
  "aria-label": "Apply filter",
29657
29657
  children: (0, import_jsx_runtime.jsx)(Check, {
@@ -32959,7 +32959,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
32959
32959
  filename: i2.filename
32960
32960
  };
32961
32961
  }, t[6] = e, t[7] = A);
32962
- let M = A, I, z, U, K, q, J, Q, MK, NK, PK, FK, $, IK;
32962
+ let M = A, I, z, U, K, q, J, Q, PK, FK, IK, LK, $, RK;
32963
32963
  if (t[8] !== O || t[9] !== d || t[10] !== i || t[11] !== n || t[12] !== M || t[13] !== f) {
32964
32964
  let e2 = async (t2) => {
32965
32965
  let n2 = labelForDownloadFormat(t2);
@@ -33023,14 +33023,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33023
33023
  asChild: true,
33024
33024
  disabled: d,
33025
33025
  children: h
33026
- }), t[30] = d, t[31] = h, t[32] = _2) : _2 = t[32], t[33] !== s2 || t[34] !== _2 || t[35] !== f ? (MK = (0, import_jsx_runtime.jsx)(Tooltip, {
33026
+ }), t[30] = d, t[31] = h, t[32] = _2) : _2 = t[32], t[33] !== s2 || t[34] !== _2 || t[35] !== f ? (PK = (0, import_jsx_runtime.jsx)(Tooltip, {
33027
33027
  content: f,
33028
33028
  open: s2,
33029
33029
  children: _2
33030
- }), t[33] = s2, t[34] = _2, t[35] = f, t[36] = MK) : MK = t[36], I = DropdownMenuContent, NK = "bottom", PK = "print:hidden", t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (FK = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
33030
+ }), t[33] = s2, t[34] = _2, t[35] = f, t[36] = PK) : PK = t[36], I = DropdownMenuContent, FK = "bottom", IK = "print:hidden", t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (LK = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
33031
33031
  className: "text-xs text-muted-foreground",
33032
33032
  children: "Download"
33033
- }), t[37] = FK) : FK = t[37], $ = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
33033
+ }), t[37] = LK) : LK = t[37], $ = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
33034
33034
  onSelect: () => {
33035
33035
  e2(t2.format);
33036
33036
  },
@@ -33051,10 +33051,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33051
33051
  ]
33052
33052
  })
33053
33053
  ]
33054
- }, t2.label)), t[38] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (IK = (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {}), U = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
33054
+ }, t2.label)), t[38] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (RK = (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {}), U = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
33055
33055
  className: "text-xs text-muted-foreground",
33056
33056
  children: "Copy to clipboard"
33057
- }), t[38] = U, t[39] = IK) : (U = t[38], IK = t[39]), K = copyOptions.map((e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
33057
+ }), t[38] = U, t[39] = RK) : (U = t[38], RK = t[39]), K = copyOptions.map((e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
33058
33058
  onSelect: async () => {
33059
33059
  try {
33060
33060
  await a(e3.format);
@@ -33083,30 +33083,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33083
33083
  ]
33084
33084
  })
33085
33085
  ]
33086
- }, e3.label)), t[8] = O, t[9] = d, t[10] = i, t[11] = n, t[12] = M, t[13] = f, t[14] = I, t[15] = z, t[16] = U, t[17] = K, t[18] = q, t[19] = J, t[20] = Q, t[21] = MK, t[22] = NK, t[23] = PK, t[24] = FK, t[25] = $, t[26] = IK;
33087
- } else I = t[14], z = t[15], U = t[16], K = t[17], q = t[18], J = t[19], Q = t[20], MK = t[21], NK = t[22], PK = t[23], FK = t[24], $ = t[25], IK = t[26];
33088
- let LK;
33089
- t[40] !== I || t[41] !== U || t[42] !== K || t[43] !== NK || t[44] !== PK || t[45] !== FK || t[46] !== $ || t[47] !== IK ? (LK = (0, import_jsx_runtime.jsxs)(I, {
33090
- side: NK,
33091
- className: PK,
33086
+ }, e3.label)), t[8] = O, t[9] = d, t[10] = i, t[11] = n, t[12] = M, t[13] = f, t[14] = I, t[15] = z, t[16] = U, t[17] = K, t[18] = q, t[19] = J, t[20] = Q, t[21] = PK, t[22] = FK, t[23] = IK, t[24] = LK, t[25] = $, t[26] = RK;
33087
+ } else I = t[14], z = t[15], U = t[16], K = t[17], q = t[18], J = t[19], Q = t[20], PK = t[21], FK = t[22], IK = t[23], LK = t[24], $ = t[25], RK = t[26];
33088
+ let zK;
33089
+ t[40] !== I || t[41] !== U || t[42] !== K || t[43] !== FK || t[44] !== IK || t[45] !== LK || t[46] !== $ || t[47] !== RK ? (zK = (0, import_jsx_runtime.jsxs)(I, {
33090
+ side: FK,
33091
+ className: IK,
33092
33092
  children: [
33093
- FK,
33093
+ LK,
33094
33094
  $,
33095
- IK,
33095
+ RK,
33096
33096
  U,
33097
33097
  K
33098
33098
  ]
33099
- }), t[40] = I, t[41] = U, t[42] = K, t[43] = NK, t[44] = PK, t[45] = FK, t[46] = $, t[47] = IK, t[48] = LK) : LK = t[48];
33100
- let RK;
33101
- return t[49] !== z || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !== MK || t[54] !== LK ? (RK = (0, import_jsx_runtime.jsxs)(z, {
33099
+ }), t[40] = I, t[41] = U, t[42] = K, t[43] = FK, t[44] = IK, t[45] = LK, t[46] = $, t[47] = RK, t[48] = zK) : zK = t[48];
33100
+ let BK;
33101
+ return t[49] !== z || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !== PK || t[54] !== zK ? (BK = (0, import_jsx_runtime.jsxs)(z, {
33102
33102
  modal: q,
33103
33103
  open: J,
33104
33104
  onOpenChange: Q,
33105
33105
  children: [
33106
- MK,
33107
- LK
33106
+ PK,
33107
+ zK
33108
33108
  ]
33109
- }), t[49] = z, t[50] = q, t[51] = J, t[52] = Q, t[53] = MK, t[54] = LK, t[55] = RK) : RK = t[55], RK;
33109
+ }), t[49] = z, t[50] = q, t[51] = J, t[52] = Q, t[53] = PK, t[54] = zK, t[55] = BK) : BK = t[55], BK;
33110
33110
  };
33111
33111
  function fetchJson(e) {
33112
33112
  return fetchText(e).then(jsonParseWithSpecialChar);
@@ -33199,22 +33199,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33199
33199
  ]
33200
33200
  }) : null;
33201
33201
  };
33202
- DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: o, rawData: s, selection: c, totalColumns: d, totalRows: f, sizeBytes: _, sizeBytesIsLoading: v, manualSorting: y = false, sorting: S, setSorting: w, rowSelection: E, cellSelection: O, cellStyling: A, hoverTemplate: M, cellHoverTexts: I, paginationState: z, setPaginationState: U, downloadAs: K, manualPagination: q = false, pagination: J = false, onRowSelectionChange: Q, onCellSelectionChange: MK, getRowIds: NK, enableSearch: PK = false, searchQuery: FK, onSearchQueryChange: $, showFilters: IK = false, filters: LK, onFiltersChange: RK, calculateTopKRows: zK, reloading: BK, freezeColumnsLeft: VK, freezeColumnsRight: HK, hiddenColumns: UK, toggleDisplayHeader: WK, showChartBuilder: GK, isChartBuilderOpen: KK, showPageSizeSelector: qK, showTableExplorer: JK, togglePanel: YK, isPanelOpen: XK, isAnyPanelOpen: ZK, viewedRowIdx: QK, onViewedRowChange: $K, renderTableExplorerPanel: eq }) => {
33203
- let [tq, nq] = import_react.useState(false), { locale: rq } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: iq, setColumnPinning: aq } = useColumnPinning(VK, HK), { columnVisibility: oq, setColumnVisibility: sq } = useColumnVisibility(UK);
33202
+ DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: o, rawData: s, selection: c, totalColumns: d, totalRows: f, sizeBytes: _, sizeBytesIsLoading: v, manualSorting: y = false, sorting: S, setSorting: w, rowSelection: E, cellSelection: O, cellStyling: A, hoverTemplate: M, cellHoverTexts: I, paginationState: z, setPaginationState: U, downloadAs: K, manualPagination: q = false, pagination: J = false, onRowSelectionChange: Q, onCellSelectionChange: PK, getRowIds: FK, enableSearch: IK = false, searchQuery: LK, onSearchQueryChange: $, showFilters: RK = false, filters: zK, onFiltersChange: BK, calculateTopKRows: VK, reloading: HK, freezeColumnsLeft: UK, freezeColumnsRight: WK, hiddenColumns: GK, toggleDisplayHeader: KK, showChartBuilder: qK, isChartBuilderOpen: JK, showPageSizeSelector: YK, showTableExplorer: XK, togglePanel: ZK, isPanelOpen: QK, isAnyPanelOpen: $K, viewedRowIdx: eq, onViewedRowChange: tq, renderTableExplorerPanel: nq }) => {
33203
+ let [rq, iq] = import_react.useState(false), { locale: aq } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: oq, setColumnPinning: sq } = useColumnPinning(UK, WK), { columnVisibility: cq, setColumnVisibility: lq } = useColumnVisibility(GK);
33204
33204
  import_react.useEffect(() => {
33205
33205
  let e2;
33206
- return BK ? e2 = setTimeout(() => {
33207
- nq(true);
33208
- }, 300) : nq(false), () => {
33206
+ return HK ? e2 = setTimeout(() => {
33207
+ iq(true);
33208
+ }, 300) : iq(false), () => {
33209
33209
  e2 && clearTimeout(e2);
33210
33210
  };
33211
33211
  }, [
33212
- BK
33212
+ HK
33213
33213
  ]);
33214
- function cq(e2, t2) {
33214
+ function uq(e2, t2) {
33215
33215
  return z ? t2 + (q ? z.pageIndex * z.pageSize : 0) : t2;
33216
33216
  }
33217
- let lq = useReactTable({
33217
+ let dq = useReactTable({
33218
33218
  _features: [
33219
33219
  ColumnPinning,
33220
33220
  ColumnWrappingFeature,
@@ -33238,11 +33238,11 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33238
33238
  getRowId: (e2, t2) => {
33239
33239
  let n2 = getStableRowId(e2);
33240
33240
  if (n2) return n2;
33241
- let i2 = cq(e2, t2);
33241
+ let i2 = uq(e2, t2);
33242
33242
  return String(i2);
33243
33243
  }
33244
33244
  } : {},
33245
- locale: rq,
33245
+ locale: aq,
33246
33246
  manualPagination: q,
33247
33247
  getPaginationRowModel: getPaginationRowModel(),
33248
33248
  ...w ? {
@@ -33252,22 +33252,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33252
33252
  enableMultiSort: true,
33253
33253
  getSortedRowModel: getSortedRowModel(),
33254
33254
  manualFiltering: true,
33255
- enableColumnFilters: IK,
33255
+ enableColumnFilters: RK,
33256
33256
  getFilteredRowModel: getFilteredRowModel(),
33257
- onColumnFiltersChange: RK,
33257
+ onColumnFiltersChange: BK,
33258
33258
  onRowSelectionChange: Q,
33259
- onCellSelectionChange: MK,
33259
+ onCellSelectionChange: PK,
33260
33260
  enableCellSelection: c === "single-cell" || c === "multi-cell",
33261
33261
  enableMultiCellSelection: c === "multi-cell",
33262
- onColumnPinningChange: aq,
33263
- onColumnVisibilityChange: sq,
33262
+ onColumnPinningChange: sq,
33263
+ onColumnVisibilityChange: lq,
33264
33264
  enableFocusRow: true,
33265
- onFocusRowChange: $K,
33265
+ onFocusRowChange: tq,
33266
33266
  state: {
33267
33267
  ...S ? {
33268
33268
  sorting: S
33269
33269
  } : {},
33270
- columnFilters: LK,
33270
+ columnFilters: zK,
33271
33271
  ...z ? {
33272
33272
  pagination: z
33273
33273
  } : J && !z ? {} : {
@@ -33278,59 +33278,59 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33278
33278
  },
33279
33279
  rowSelection: E ?? {},
33280
33280
  cellSelection: O ?? [],
33281
- columnVisibility: oq,
33281
+ columnVisibility: cq,
33282
33282
  cellStyling: A,
33283
- columnPinning: iq,
33283
+ columnPinning: oq,
33284
33284
  cellHoverTemplate: M,
33285
33285
  cellHoverTexts: I ?? {}
33286
33286
  }
33287
- }), uq = (XK == null ? void 0 : XK(PANEL_TYPES.ROW_VIEWER)) ?? false, dq = !J && o.length > 100, fq = useScrollContainerHeight({
33287
+ }), fq = (QK == null ? void 0 : QK(PANEL_TYPES.ROW_VIEWER)) ?? false, pq = !J && o.length > 100, mq = useScrollContainerHeight({
33288
33288
  maxHeight: n,
33289
- virtualize: dq
33290
- }), [pq, mq] = import_react.useState(null), hq = import_react.useMemo(() => ({
33289
+ virtualize: pq
33290
+ }), [hq, gq] = import_react.useState(null), _q = import_react.useMemo(() => ({
33291
33291
  requestAddFilter: (e2) => {
33292
- let t2 = lq.getColumn(e2.columnId);
33293
- t2 && mq(buildEditorSnapshot(t2, {
33292
+ let t2 = dq.getColumn(e2.columnId);
33293
+ t2 && gq(buildEditorSnapshot(t2, {
33294
33294
  operator: e2.operator
33295
33295
  }));
33296
33296
  }
33297
33297
  }), [
33298
- lq
33299
- ]), gq = getUserColumnVisibilityCounts(lq), _q = gq.total > 0 && gq.visible === 0;
33298
+ dq
33299
+ ]), vq = getUserColumnVisibilityCounts(dq), yq = vq.total > 0 && vq.visible === 0;
33300
33300
  return (0, import_jsx_runtime.jsx)(FilterEditorProvider, {
33301
- value: hq,
33301
+ value: _q,
33302
33302
  children: (0, import_jsx_runtime.jsxs)("div", {
33303
33303
  className: cn(e, "flex flex-col space-y-1"),
33304
33304
  children: [
33305
33305
  (0, import_jsx_runtime.jsx)(FilterPills, {
33306
- filters: LK,
33307
- table: lq,
33308
- calculateTopKRows: zK,
33309
- addFilterSnapshot: pq,
33310
- onAddFilterSnapshotChange: mq
33306
+ filters: zK,
33307
+ table: dq,
33308
+ calculateTopKRows: VK,
33309
+ addFilterSnapshot: hq,
33310
+ onAddFilterSnapshotChange: gq
33311
33311
  }),
33312
- eq == null ? void 0 : eq(lq),
33312
+ nq == null ? void 0 : nq(dq),
33313
33313
  (0, import_jsx_runtime.jsx)(CellSelectionProvider, {
33314
33314
  children: (0, import_jsx_runtime.jsxs)("div", {
33315
33315
  part: "table-wrapper",
33316
33316
  className: cn(t || "rounded-md border overflow-hidden"),
33317
33317
  children: [
33318
33318
  (0, import_jsx_runtime.jsx)(TableTopBar, {
33319
- enableSearch: PK,
33320
- searchQuery: FK,
33319
+ enableSearch: IK,
33320
+ searchQuery: LK,
33321
33321
  onSearchQueryChange: $,
33322
- reloading: BK,
33323
- showChartBuilder: GK,
33324
- isChartBuilderOpen: KK,
33325
- toggleDisplayHeader: WK,
33326
- showTableExplorer: JK,
33327
- togglePanel: YK,
33328
- isAnyPanelOpen: ZK,
33322
+ reloading: HK,
33323
+ showChartBuilder: qK,
33324
+ isChartBuilderOpen: JK,
33325
+ toggleDisplayHeader: KK,
33326
+ showTableExplorer: XK,
33327
+ togglePanel: ZK,
33328
+ isAnyPanelOpen: $K,
33329
33329
  downloadAs: K,
33330
33330
  sizeBytes: _,
33331
33331
  sizeBytesIsLoading: v
33332
33332
  }),
33333
- _q && (0, import_jsx_runtime.jsxs)(Banner, {
33333
+ yq && (0, import_jsx_runtime.jsxs)(Banner, {
33334
33334
  className: "mb-1 mx-2 rounded flex items-center justify-between",
33335
33335
  children: [
33336
33336
  (0, import_jsx_runtime.jsx)("span", {
@@ -33339,26 +33339,26 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33339
33339
  (0, import_jsx_runtime.jsx)(Button, {
33340
33340
  variant: "link",
33341
33341
  size: "xs",
33342
- onClick: () => lq.resetColumnVisibility(true),
33342
+ onClick: () => dq.resetColumnVisibility(true),
33343
33343
  children: "Unhide all"
33344
33344
  })
33345
33345
  ]
33346
33346
  }),
33347
33347
  (0, import_jsx_runtime.jsxs)(Table, {
33348
33348
  className: cn("relative", i.length <= 4 ? "w-auto" : "w-full"),
33349
- ref: fq,
33349
+ ref: mq,
33350
33350
  children: [
33351
- tq && (0, import_jsx_runtime.jsx)("thead", {
33351
+ rq && (0, import_jsx_runtime.jsx)("thead", {
33352
33352
  className: "absolute top-0 left-0 h-[3px] w-1/2 bg-primary animate-slide"
33353
33353
  }),
33354
- renderTableHeader(lq, dq || !!n),
33354
+ renderTableHeader(dq, pq || !!n),
33355
33355
  (0, import_jsx_runtime.jsx)(DataTableBody, {
33356
- table: lq,
33356
+ table: dq,
33357
33357
  columns: i,
33358
- rowViewerPanelOpen: uq,
33359
- getRowIndex: cq,
33360
- viewedRowIdx: QK,
33361
- virtualize: dq
33358
+ rowViewerPanelOpen: fq,
33359
+ getRowIndex: uq,
33360
+ viewedRowIdx: eq,
33361
+ virtualize: pq
33362
33362
  })
33363
33363
  ]
33364
33364
  }),
@@ -33369,11 +33369,11 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33369
33369
  pagination: J,
33370
33370
  selection: c,
33371
33371
  onRowSelectionChange: Q,
33372
- table: lq,
33373
- getRowIds: NK,
33374
- showPageSizeSelector: qK,
33375
- tableLoading: BK,
33376
- togglePanel: YK
33372
+ table: dq,
33373
+ getRowIds: FK,
33374
+ showPageSizeSelector: YK,
33375
+ tableLoading: HK,
33376
+ togglePanel: ZK
33377
33377
  })
33378
33378
  ]
33379
33379
  })
@@ -33469,42 +33469,42 @@ ${d}`,
33469
33469
  }, t[12] = d, t[13] = n, t[14] = U) : U = t[14];
33470
33470
  let K = U, q;
33471
33471
  t[15] === I ? q = t[16] : (q = () => z(!I), t[15] = I, t[16] = q);
33472
- let J = I ? "Collapse traceback" : "Expand traceback", MK;
33473
- t[17] === I ? MK = t[18] : (MK = I ? (0, import_jsx_runtime.jsx)(ChevronDown, {
33472
+ let J = I ? "Collapse traceback" : "Expand traceback", PK;
33473
+ t[17] === I ? PK = t[18] : (PK = I ? (0, import_jsx_runtime.jsx)(ChevronDown, {
33474
33474
  className: "h-3 w-3"
33475
33475
  }) : (0, import_jsx_runtime.jsx)(ChevronRight, {
33476
33476
  className: "h-3 w-3"
33477
- }), t[17] = I, t[18] = MK);
33478
- let PK;
33479
- t[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (PK = (0, import_jsx_runtime.jsx)("span", {
33477
+ }), t[17] = I, t[18] = PK);
33478
+ let IK;
33479
+ t[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (IK = (0, import_jsx_runtime.jsx)("span", {
33480
33480
  className: "text-[0.6875rem] uppercase tracking-wider",
33481
33481
  children: "Traceback"
33482
- }), t[19] = PK) : PK = t[19];
33483
- let FK;
33484
- t[20] !== I || t[21] !== q || t[22] !== J || t[23] !== MK ? (FK = (0, import_jsx_runtime.jsxs)("button", {
33482
+ }), t[19] = IK) : IK = t[19];
33483
+ let LK;
33484
+ t[20] !== I || t[21] !== q || t[22] !== J || t[23] !== PK ? (LK = (0, import_jsx_runtime.jsxs)("button", {
33485
33485
  type: "button",
33486
33486
  onClick: q,
33487
33487
  "aria-expanded": I,
33488
33488
  "aria-label": J,
33489
33489
  className: "self-start flex items-center gap-1 pt-2 text-muted-foreground/70 hover:text-muted-foreground transition-colors",
33490
33490
  children: [
33491
- MK,
33492
- PK
33491
+ PK,
33492
+ IK
33493
33493
  ]
33494
- }), t[20] = I, t[21] = q, t[22] = J, t[23] = MK, t[24] = FK) : FK = t[24];
33494
+ }), t[20] = I, t[21] = q, t[22] = J, t[23] = PK, t[24] = LK) : LK = t[24];
33495
33495
  let $;
33496
33496
  t[25] !== s || t[26] !== I ? ($ = I && (0, import_jsx_runtime.jsx)("div", {
33497
33497
  className: "text-muted-foreground pr-4 text-xs overflow-auto",
33498
33498
  children: s
33499
33499
  }), t[25] = s, t[26] = I, t[27] = $) : $ = t[27];
33500
- let IK;
33501
- t[28] !== K || t[29] !== A ? (IK = A && (0, import_jsx_runtime.jsx)(AIFixButton, {
33500
+ let RK;
33501
+ t[28] !== K || t[29] !== A ? (RK = A && (0, import_jsx_runtime.jsx)(AIFixButton, {
33502
33502
  tooltip: "Fix with AI",
33503
33503
  openPrompt: () => K(false),
33504
33504
  applyAutofix: () => K(true)
33505
- }), t[28] = K, t[29] = A, t[30] = IK) : IK = t[30];
33506
- let LK;
33507
- t[31] !== w || t[32] !== v ? (LK = w && (0, import_jsx_runtime.jsx)(Tooltip, {
33505
+ }), t[28] = K, t[29] = A, t[30] = RK) : RK = t[30];
33506
+ let zK;
33507
+ t[31] !== w || t[32] !== v ? (zK = w && (0, import_jsx_runtime.jsx)(Tooltip, {
33508
33508
  content: "Attach pdb to the exception point.",
33509
33509
  children: (0, import_jsx_runtime.jsxs)(Button, {
33510
33510
  size: "xs",
@@ -33521,9 +33521,9 @@ ${d}`,
33521
33521
  "Launch debugger"
33522
33522
  ]
33523
33523
  })
33524
- }), t[31] = w, t[32] = v, t[33] = LK) : LK = t[33];
33525
- let RK;
33526
- t[34] !== d || t[35] !== i ? (RK = M && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
33524
+ }), t[31] = w, t[32] = v, t[33] = zK) : zK = t[33];
33525
+ let BK;
33526
+ t[34] !== d || t[35] !== i ? (BK = M && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
33527
33527
  children: [
33528
33528
  (0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
33529
33529
  asChild: true,
@@ -33591,25 +33591,25 @@ ${d}`,
33591
33591
  ]
33592
33592
  })
33593
33593
  ]
33594
- }), t[34] = d, t[35] = i, t[36] = RK) : RK = t[36];
33595
- let zK;
33596
- t[37] !== IK || t[38] !== LK || t[39] !== RK ? (zK = (0, import_jsx_runtime.jsxs)("div", {
33594
+ }), t[34] = d, t[35] = i, t[36] = BK) : BK = t[36];
33595
+ let VK;
33596
+ t[37] !== RK || t[38] !== zK || t[39] !== BK ? (VK = (0, import_jsx_runtime.jsxs)("div", {
33597
33597
  className: "flex gap-2",
33598
33598
  children: [
33599
- IK,
33600
- LK,
33601
- RK
33599
+ RK,
33600
+ zK,
33601
+ BK
33602
33602
  ]
33603
- }), t[37] = IK, t[38] = LK, t[39] = RK, t[40] = zK) : zK = t[40];
33604
- let BK;
33605
- return t[41] !== FK || t[42] !== $ || t[43] !== zK ? (BK = (0, import_jsx_runtime.jsxs)("div", {
33603
+ }), t[37] = RK, t[38] = zK, t[39] = BK, t[40] = VK) : VK = t[40];
33604
+ let HK;
33605
+ return t[41] !== LK || t[42] !== $ || t[43] !== VK ? (HK = (0, import_jsx_runtime.jsxs)("div", {
33606
33606
  className: "flex flex-col gap-2 min-w-full w-fit",
33607
33607
  children: [
33608
- FK,
33608
+ LK,
33609
33609
  $,
33610
- zK
33610
+ VK
33611
33611
  ]
33612
- }), t[41] = FK, t[42] = $, t[43] = zK, t[44] = BK) : BK = t[44], BK;
33612
+ }), t[41] = LK, t[42] = $, t[43] = VK, t[44] = HK) : HK = t[44], HK;
33613
33613
  };
33614
33614
  function lastLine(e) {
33615
33615
  var _a2, _b;
@@ -34604,7 +34604,9 @@ ${d}`,
34604
34604
  var import_compiler_runtime$1 = require_compiler_runtime();
34605
34605
  DEFAULT_SLIDE_TYPE = "slide";
34606
34606
  DEFAULT_DECK_TRANSITION = "slide";
34607
- var COLLAPSED_CONFIG_WIDTH = 36;
34607
+ var COLLAPSED_CONFIG_WIDTH = 36, slideConfigOpenAtom = atomWithStorage("marimo:slides:config-open", true, jotaiJsonStorage, {
34608
+ getOnInit: true
34609
+ });
34608
34610
  let SLIDE_TYPE_OPTIONS;
34609
34611
  SLIDE_TYPE_OPTIONS = [
34610
34612
  {
@@ -34884,7 +34886,7 @@ ${d}`,
34884
34886
  }), t[15] = y, t[16] = S, t[17] = w) : w = t[17], w;
34885
34887
  };
34886
34888
  SlideSidebar = (e) => {
34887
- let t = (0, import_compiler_runtime$1.c)(30), { configWidth: n, layout: i, setLayout: o, activeConfigCell: s } = e, [c, d] = (0, import_react.useState)(false), f = c ? n : COLLAPSED_CONFIG_WIDTH, _;
34889
+ let t = (0, import_compiler_runtime$1.c)(30), { configWidth: n, layout: i, setLayout: o, activeConfigCell: s } = e, [c, d] = useAtom(slideConfigOpenAtom), f = c ? n : COLLAPSED_CONFIG_WIDTH, _;
34888
34890
  t[0] === f ? _ = t[1] : (_ = {
34889
34891
  width: f
34890
34892
  }, t[0] = f, t[1] = _);
@@ -34896,7 +34898,7 @@ ${d}`,
34896
34898
  children: "Configuration"
34897
34899
  }), t[4] = c, t[5] = S);
34898
34900
  let w = c ? "Collapse panel" : "Expand panel", E;
34899
- t[6] === c ? E = t[7] : (E = () => d(!c), t[6] = c, t[7] = E);
34901
+ t[6] === d ? E = t[7] : (E = () => d(_temp5), t[6] = d, t[7] = E);
34900
34902
  let O;
34901
34903
  t[8] === c ? O = t[9] : (O = c ? (0, import_jsx_runtime.jsx)(PanelRightClose, {
34902
34904
  className: "h-4 w-4"
@@ -34989,6 +34991,9 @@ ${d}`,
34989
34991
  function _temp4(e) {
34990
34992
  return e.stopPropagation();
34991
34993
  }
34994
+ function _temp5(e) {
34995
+ return !e;
34996
+ }
34992
34997
  function getVersionFromMountConfig() {
34993
34998
  try {
34994
34999
  return window.__MARIMO_MOUNT_CONFIG__.version;
@@ -34996,7 +35001,7 @@ ${d}`,
34996
35001
  return Logger.warn("Failed to get version from mount config"), null;
34997
35002
  }
34998
35003
  }
34999
- marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.9-dev30");
35004
+ marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.9-dev32");
35000
35005
  showCodeInRunModeAtom = atom(true);
35001
35006
  atom(null);
35002
35007
  var import_compiler_runtime = require_compiler_runtime();