@marimo-team/islands 0.13.7-dev14 → 0.13.7-dev17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/dist/{ConnectedDataExplorerComponent-B0oSkpau.js → ConnectedDataExplorerComponent-BU9sRsft.js} +2 -2
  2. package/dist/{VegaLite-AnkLnApT.js → VegaLite-CIMij7y2.js} +3 -3
  3. package/dist/{_baseUniq-D_kyDrGh.js → _baseUniq-D8COP3Y2.js} +1 -1
  4. package/dist/{any-language-editor-8vaXXN9O.js → any-language-editor-SmrYOnuY.js} +1 -1
  5. package/dist/{architectureDiagram-IEHRJDOE-BPCTmx44.js → architectureDiagram-IEHRJDOE-_cZbEv-4.js} +5 -5
  6. package/dist/{blockDiagram-JOT3LUYC-Z_7tDs64.js → blockDiagram-JOT3LUYC-BZ0ADAxz.js} +4 -4
  7. package/dist/{c4Diagram-VJAJSXHY-5fs72-0l.js → c4Diagram-VJAJSXHY-CI5-hYza.js} +2 -2
  8. package/dist/{channel-Do4WxwDo.js → channel-BcbSN1jQ.js} +1 -1
  9. package/dist/{chunk-4BMEZGHF-CeTwkxoE.js → chunk-4BMEZGHF-Bpz7muvK.js} +1 -1
  10. package/dist/{chunk-A2AXSNBT-CXm7Q4KR.js → chunk-A2AXSNBT-CCWqr6pL.js} +2 -2
  11. package/dist/{chunk-AEK57VVT-DzrdJPxf.js → chunk-AEK57VVT-BEwk5GKA.js} +2 -2
  12. package/dist/{chunk-D6G4REZN-DlZx3HWa.js → chunk-D6G4REZN-Bd0y_uR9.js} +1 -1
  13. package/dist/{chunk-RZ5BOZE2-QdG54J1P.js → chunk-RZ5BOZE2-B4-lqRyF.js} +1 -1
  14. package/dist/{chunk-XZIHB7SX-Bk5uT_Jm.js → chunk-XZIHB7SX-AnokxQw-.js} +1 -1
  15. package/dist/{classDiagram-GIVACNV2-zWEnnKnA.js → classDiagram-GIVACNV2-Dw7p3hMp.js} +2 -2
  16. package/dist/{classDiagram-v2-COTLJTTW-zWEnnKnA.js → classDiagram-v2-COTLJTTW-Dw7p3hMp.js} +2 -2
  17. package/dist/{clone-DIaDyTId.js → clone-CwXIVs5c.js} +1 -1
  18. package/dist/{dagre-OKDRZEBW-CRxP7qb_.js → dagre-OKDRZEBW-DD-KtNQB.js} +6 -6
  19. package/dist/{data-editor-43NmMc8f.js → data-editor-Dmzu1Ob8.js} +1 -1
  20. package/dist/{diagram-SSKATNLV-ygPiwfzp.js → diagram-SSKATNLV-AMrHueZ6.js} +3 -3
  21. package/dist/{diagram-VNBRO52H-BAD1Z5P8.js → diagram-VNBRO52H-B-IYnszr.js} +3 -3
  22. package/dist/{erDiagram-Q7BY3M3F-CqnCmqzG.js → erDiagram-Q7BY3M3F-DaOXAapF.js} +3 -3
  23. package/dist/{flowDiagram-4HSFHLVR-DuXvOsbY.js → flowDiagram-4HSFHLVR-jd_gfWKK.js} +3 -3
  24. package/dist/{ganttDiagram-APWFNJXF-CX_GPLcc.js → ganttDiagram-APWFNJXF-Cd0qYEmU.js} +4 -4
  25. package/dist/{gitGraphDiagram-7IBYFJ6S-D8elkZVd.js → gitGraphDiagram-7IBYFJ6S-Cbd01_3Y.js} +4 -4
  26. package/dist/{graph-fNhmFtNh.js → graph-BCGLPZ1E.js} +3 -3
  27. package/dist/{index-t23UdGEs.js → index-BGTuh6J2.js} +1 -1
  28. package/dist/{index-CAKQj6NC.js → index-CP6blcNG.js} +1 -1
  29. package/dist/{index-JK0zD76c.js → index-Cxx0o5FX.js} +1 -1
  30. package/dist/{index-RBv72Up0.js → index-Dz9Shd34.js} +3 -3
  31. package/dist/{infoDiagram-PH2N3AL5-BFDxd91e.js → infoDiagram-PH2N3AL5-DyI2bPmN.js} +2 -2
  32. package/dist/{journeyDiagram-U35MCT3I-Dy67N-Dp.js → journeyDiagram-U35MCT3I-D-oHyJj3.js} +2 -2
  33. package/dist/{kanban-definition-NDS4AKOZ-Db_jlNlc.js → kanban-definition-NDS4AKOZ-BmZHbk_h.js} +1 -1
  34. package/dist/{layout-DVejgAfQ.js → layout-C9CT9MpE.js} +4 -4
  35. package/dist/{linear-ClES_ZcJ.js → linear-DymsM-76.js} +1 -1
  36. package/dist/{main-SYWhReXf.js → main-BaAmtOzq.js} +270 -267
  37. package/dist/main.js +1 -1
  38. package/dist/{mermaid-B_nUYMJO.js → mermaid-GUQdqYle.js} +28 -28
  39. package/dist/{min-MiiG4BD0.js → min-CtqMUINr.js} +2 -2
  40. package/dist/{mindmap-definition-ALO5MXBD-Brhv8jpy.js → mindmap-definition-ALO5MXBD-WnAgroy3.js} +2 -2
  41. package/dist/{pieDiagram-IB7DONF6-Daub3BOn.js → pieDiagram-IB7DONF6-BoGQMJsV.js} +3 -3
  42. package/dist/{quadrantDiagram-7GDLP6J5-CUUkHQho.js → quadrantDiagram-7GDLP6J5-C5zoizQN.js} +2 -2
  43. package/dist/{radar-MK3ICKWK-BmlO_UnN.js → radar-MK3ICKWK-Bom69eXT.js} +5 -5
  44. package/dist/{react-plotly-DII3CrgW.js → react-plotly-CqrfaK7X.js} +1 -1
  45. package/dist/{requirementDiagram-KVF5MWMF-OsGZOnHc.js → requirementDiagram-KVF5MWMF-CvwjfwzR.js} +2 -2
  46. package/dist/{sankeyDiagram-QLVOVGJD-BdIs_NDI.js → sankeyDiagram-QLVOVGJD-C4OYAYzI.js} +1 -1
  47. package/dist/{sequenceDiagram-X6HHIX6F-B03aChD2.js → sequenceDiagram-X6HHIX6F-BtK7mS1D.js} +3 -3
  48. package/dist/{slides-component-NkT1EsSz.js → slides-component-sgUnNqQR.js} +1 -1
  49. package/dist/{stateDiagram-DGXRK772-EuBKcDdu.js → stateDiagram-DGXRK772-uVkHu_nA.js} +4 -4
  50. package/dist/{stateDiagram-v2-YXO3MK2T-D61nHW29.js → stateDiagram-v2-YXO3MK2T-BISgUNJz.js} +2 -2
  51. package/dist/{time-Bhgx_2m9.js → time-CBih_xRD.js} +2 -2
  52. package/dist/{timeline-definition-BDJGKUSR-DE7VpIb6.js → timeline-definition-BDJGKUSR-CPBp5Hdn.js} +1 -1
  53. package/dist/{vega-component-BGrq6nHk.js → vega-component-CaWFLmLY.js} +2 -2
  54. package/dist/{xychartDiagram-VJFVF3MP-BwvCTovm.js → xychartDiagram-VJFVF3MP-8T12CjE-.js} +2 -2
  55. package/package.json +1 -1
@@ -1543,25 +1543,25 @@ function Unt(t = "iconify-icon") {
1543
1543
  return e.define(t, a), a;
1544
1544
  }
1545
1545
  const Nnt = Unt() || Nwe(), {
1546
- enableCache: J5n,
1547
- disableCache: ekn,
1548
- iconLoaded: tkn,
1549
- iconExists: nkn,
1546
+ enableCache: ekn,
1547
+ disableCache: tkn,
1548
+ iconLoaded: nkn,
1549
+ iconExists: rkn,
1550
1550
  // deprecated, kept to avoid breaking changes
1551
- getIcon: rkn,
1552
- listIcons: ikn,
1553
- addIcon: akn,
1554
- addCollection: okn,
1555
- calculateSize: skn,
1556
- buildIcon: lkn,
1557
- iconToHTML: ckn,
1558
- svgToURL: ukn,
1559
- loadIcons: dkn,
1560
- loadIcon: fkn,
1561
- setCustomIconLoader: Okn,
1562
- setCustomIconsLoader: hkn,
1563
- addAPIProvider: pkn,
1564
- _api: mkn
1551
+ getIcon: ikn,
1552
+ listIcons: akn,
1553
+ addIcon: okn,
1554
+ addCollection: skn,
1555
+ calculateSize: lkn,
1556
+ buildIcon: ckn,
1557
+ iconToHTML: ukn,
1558
+ svgToURL: dkn,
1559
+ loadIcons: fkn,
1560
+ loadIcon: Okn,
1561
+ setCustomIconLoader: hkn,
1562
+ setCustomIconsLoader: pkn,
1563
+ addAPIProvider: mkn,
1564
+ _api: gkn
1565
1565
  } = Nnt;
1566
1566
  var ble = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1567
1567
  function xc(t) {
@@ -6897,7 +6897,7 @@ Check the render method of \`` + d + "`." : "";
6897
6897
  function Vre(d, O) {
6898
6898
  return d & O;
6899
6899
  }
6900
- function L5n(d) {
6900
+ function F5n(d) {
6901
6901
  return d;
6902
6902
  }
6903
6903
  function gLe(d, O) {
@@ -9189,7 +9189,7 @@ Check the render method of \`` + d + "`." : "";
9189
9189
  };
9190
9190
  }
9191
9191
  }
9192
- function F5n(d) {
9192
+ function B5n(d) {
9193
9193
  return d;
9194
9194
  }
9195
9195
  function WBe(d) {
@@ -11420,10 +11420,10 @@ Incoming: %s`, Ke, "[" + O.join(", ") + "]", "[" + d.join(", ") + "]");
11420
11420
  }
11421
11421
  return [B, D];
11422
11422
  }
11423
- function B5n(d, O, b) {
11424
- }
11425
11423
  function H5n(d, O, b) {
11426
11424
  }
11425
+ function K5n(d, O, b) {
11426
+ }
11427
11427
  function BA(d, O, b) {
11428
11428
  var P = jr, X = Ad(), D, Y = To();
11429
11429
  if (Y) {
@@ -23538,7 +23538,7 @@ function fg(t) {
23538
23538
  const e = T.useContext(dat);
23539
23539
  return t || e || "ltr";
23540
23540
  }
23541
- var bd = "Accordion", fat = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [kB, Oat, hat] = o$(bd), [cj, gkn] = qa(bd, [
23541
+ var bd = "Accordion", fat = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [kB, Oat, hat] = o$(bd), [cj, ykn] = qa(bd, [
23542
23542
  hat,
23543
23543
  pxe
23544
23544
  ]), TB = pxe(), _B = ye.forwardRef(
@@ -34919,7 +34919,7 @@ var vQe = Object.freeze({
34919
34919
  )
34920
34920
  );
34921
34921
  $Qe.displayName = bpt;
34922
- var bQe = $Qe, [Dj, ykn] = qa("Tooltip", [
34922
+ var bQe = $Qe, [Dj, vkn] = qa("Tooltip", [
34923
34923
  pg
34924
34924
  ]), Aj = pg(), wQe = "TooltipProvider", wpt = 700, BY = "tooltip.open", [xpt, kH] = Dj(wQe), Wj = (t) => {
34925
34925
  const {
@@ -39603,7 +39603,7 @@ function Abt(t, e = Ym) {
39603
39603
  });
39604
39604
  }
39605
39605
  const Wbt = {
39606
- getMarimoVersion: () => (Zwe("0.13.7-dev14"), "0.13.7-dev14"),
39606
+ getMarimoVersion: () => (Zwe("0.13.7-dev17"), "0.13.7-dev17"),
39607
39607
  getMarimoConfigOverrides: () => ({}),
39608
39608
  getMarimoAppConfig: () => ({}),
39609
39609
  getMarimoUserConfig: () => ({})
@@ -58036,7 +58036,7 @@ async function d5t(t) {
58036
58036
  const {
58037
58037
  formatDialect: e,
58038
58038
  duckdb: n
58039
- } = await import("./index-CAKQj6NC.js"), r = t.state.field(_D), i = Bm(t.state);
58039
+ } = await import("./index-CP6blcNG.js"), r = t.state.field(_D), i = Bm(t.state);
58040
58040
  if (r.type !== "sql") {
58041
58041
  et.error("Language adapter is not SQL");
58042
58042
  return;
@@ -75790,7 +75790,7 @@ const uRe = [
75790
75790
  name: "Go",
75791
75791
  extensions: ["go"],
75792
75792
  load() {
75793
- return import("./index-t23UdGEs.js").then((t) => t.go());
75793
+ return import("./index-BGTuh6J2.js").then((t) => t.go());
75794
75794
  }
75795
75795
  }),
75796
75796
  /* @__PURE__ */ Ae.of({
@@ -75967,7 +75967,7 @@ const uRe = [
75967
75967
  alias: ["yml"],
75968
75968
  extensions: ["yaml", "yml"],
75969
75969
  load() {
75970
- return import("./index-JK0zD76c.js").then((t) => t.yaml());
75970
+ return import("./index-Cxx0o5FX.js").then((t) => t.yaml());
75971
75971
  }
75972
75972
  }),
75973
75973
  // Legacy modes ported from CodeMirror 5
@@ -79996,7 +79996,7 @@ function Gw(t) {
79996
79996
  const e = T.useRef({ value: t, previous: t });
79997
79997
  return T.useMemo(() => (e.current.value !== t && (e.current.previous = e.current.value, e.current.value = t), e.current.previous), [t]);
79998
79998
  }
79999
- var bD = "Checkbox", [fzt, Ekn] = qa(bD), [Ozt, hzt] = fzt(bD), YRe = T.forwardRef(
79999
+ var bD = "Checkbox", [fzt, zkn] = qa(bD), [Ozt, hzt] = fzt(bD), YRe = T.forwardRef(
80000
80000
  (t, e) => {
80001
80001
  const {
80002
80002
  __scopeCheckbox: n,
@@ -80865,7 +80865,7 @@ var YT = T.forwardRef(function(t, e) {
80865
80865
  return T.createElement(SD, yf({}, t, { ref: e, sideCar: uqt }));
80866
80866
  });
80867
80867
  YT.classNames = SD.classNames;
80868
- var dqt = [" ", "Enter", "ArrowUp", "ArrowDown"], fqt = [" ", "Enter"], Iv = "Select", [QD, PD, Oqt] = o$(Iv), [Zw, zkn] = qa(Iv, [
80868
+ var dqt = [" ", "Enter", "ArrowUp", "ArrowDown"], fqt = [" ", "Enter"], Iv = "Select", [QD, PD, Oqt] = o$(Iv), [Zw, qkn] = qa(Iv, [
80869
80869
  Oqt,
80870
80870
  pg
80871
80871
  ]), kD = pg(), [hqt, $g] = Zw(Iv), [pqt, mqt] = Zw(Iv), a4e = (t) => {
@@ -84162,7 +84162,7 @@ const Mjt = T.forwardRef((t, e) => {
84162
84162
  return n[5] !== i || n[6] !== e || n[7] !== a ? (o = /* @__PURE__ */ g.jsx(DJ, { ref: e, className: a, ...i }), n[5] = i, n[6] = e, n[7] = a, n[8] = o) : o = n[8], o;
84163
84163
  });
84164
84164
  Mjt.displayName = DJ.displayName;
84165
- var m3e = "AlertDialog", [Gjt, jkn] = qa(m3e, [
84165
+ var m3e = "AlertDialog", [Gjt, Dkn] = qa(m3e, [
84166
84166
  B4e
84167
84167
  ]), sp = B4e(), g3e = (t) => {
84168
84168
  const { __scopeAlertDialog: e, ...n } = t, r = sp(e);
@@ -97437,7 +97437,7 @@ function TUt(t, e) {
97437
97437
  function $k(t) {
97438
97438
  return (e) => e.pointerType === "mouse" ? t(e) : void 0;
97439
97439
  }
97440
- var _Ut = pje, RUt = Tee, CUt = gje, XUt = yje, EUt = Xee, zUt = vje, qUt = t6, jUt = bje, DUt = xje, AUt = Qje, WUt = kje, UUt = Tje, NUt = _je, VUt = Cje, IUt = Xje, YUt = zje, n6 = "DropdownMenu", [MUt, Akn] = qa(
97440
+ var _Ut = pje, RUt = Tee, CUt = gje, XUt = yje, EUt = Xee, zUt = vje, qUt = t6, jUt = bje, DUt = xje, AUt = Qje, WUt = kje, UUt = Tje, NUt = _je, VUt = Cje, IUt = Xje, YUt = zje, n6 = "DropdownMenu", [MUt, Wkn] = qa(
97441
97441
  n6,
97442
97442
  [fje]
97443
97443
  ), xs = fje(), [GUt, jje] = MUt(n6), Dje = (t) => {
@@ -100483,7 +100483,7 @@ const ng = (t) => {
100483
100483
  return n[9] !== a || n[10] !== e || n[11] !== s ? (l = /* @__PURE__ */ g.jsx(s$, { ref: e, className: s, strokeWidth: 1.5, ...a }), n[9] = a, n[10] = e, n[11] = s, n[12] = l) : l = n[12], l;
100484
100484
  });
100485
100485
  f_.displayName = "Spinner";
100486
- var a6 = "Popover", [xDe, Wkn] = qa(a6, [
100486
+ var a6 = "Popover", [xDe, Ukn] = qa(a6, [
100487
100487
  pg
100488
100488
  ]), O_ = pg(), [GNt, kg] = xDe(a6), SDe = (t) => {
100489
100489
  const {
@@ -101417,7 +101417,7 @@ const Kge = {
101417
101417
  function Tg(t, e, n) {
101418
101418
  return t.fields = e || [], t.fname = n, t;
101419
101419
  }
101420
- function Ukn(t) {
101420
+ function Nkn(t) {
101421
101421
  return t == null ? null : t.fname;
101422
101422
  }
101423
101423
  function WVt(t) {
@@ -101462,13 +101462,13 @@ function Fee(t, e, n) {
101462
101462
  const r = MDe(t);
101463
101463
  return t = r.length === 1 ? r[0] : t, Tg((n && n.get || YDe)(r), [t], e || t);
101464
101464
  }
101465
- const Nkn = Fee("id"), s6 = Tg((t) => t, [], "identity"), tP = Tg(() => 0, [], "zero"), VVt = Tg(() => 1, [], "one"), Vkn = Tg(() => !0, [], "true"), Ikn = Tg(() => !1, [], "false");
101465
+ const Vkn = Fee("id"), s6 = Tg((t) => t, [], "identity"), tP = Tg(() => 0, [], "zero"), VVt = Tg(() => 1, [], "one"), Ikn = Tg(() => !0, [], "true"), Ykn = Tg(() => !1, [], "false");
101466
101466
  function IVt(t, e, n) {
101467
101467
  const r = [e].concat([].slice.call(n));
101468
101468
  console[t].apply(console, r);
101469
101469
  }
101470
101470
  const YVt = 0, MVt = 1, GVt = 2, ZVt = 3, LVt = 4;
101471
- function Ykn(t, e) {
101471
+ function Mkn(t, e) {
101472
101472
  let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : IVt, r = t || YVt;
101473
101473
  return {
101474
101474
  level(i) {
@@ -101493,7 +101493,7 @@ function wk(t) {
101493
101493
  return t === Object(t);
101494
101494
  }
101495
101495
  const eye = (t) => t !== "__proto__";
101496
- function Mkn() {
101496
+ function Gkn() {
101497
101497
  for (var t = arguments.length, e = new Array(t), n = 0; n < t; n++)
101498
101498
  e[n] = arguments[n];
101499
101499
  return e.reduce((r, i) => {
@@ -101538,46 +101538,46 @@ function c6(t, e, n, r) {
101538
101538
  const i = n(t[0]), a = n(Hw(t)), o = (a - i) * e;
101539
101539
  return [r(i - o), r(a - o)];
101540
101540
  }
101541
- function Gkn(t, e) {
101541
+ function Zkn(t, e) {
101542
101542
  return c6(t, e, Kz, s6);
101543
101543
  }
101544
- function Zkn(t, e) {
101544
+ function Lkn(t, e) {
101545
101545
  var n = Math.sign(t[0]);
101546
101546
  return c6(t, e, LDe(n), ZDe(n));
101547
101547
  }
101548
- function Lkn(t, e, n) {
101548
+ function Fkn(t, e, n) {
101549
101549
  return c6(t, e, Jz(n), Jz(1 / n));
101550
101550
  }
101551
- function Fkn(t, e, n) {
101551
+ function Bkn(t, e, n) {
101552
101552
  return c6(t, e, FDe(n), BDe(n));
101553
101553
  }
101554
101554
  function u6(t, e, n, r, i) {
101555
101555
  const a = r(t[0]), o = r(Hw(t)), s = e != null ? r(e) : (a + o) / 2;
101556
101556
  return [i(s + (a - s) * n), i(s + (o - s) * n)];
101557
101557
  }
101558
- function Bkn(t, e, n) {
101558
+ function Hkn(t, e, n) {
101559
101559
  return u6(t, e, n, Kz, s6);
101560
101560
  }
101561
- function Hkn(t, e, n) {
101561
+ function Kkn(t, e, n) {
101562
101562
  const r = Math.sign(t[0]);
101563
101563
  return u6(t, e, n, LDe(r), ZDe(r));
101564
101564
  }
101565
- function Kkn(t, e, n, r) {
101565
+ function Jkn(t, e, n, r) {
101566
101566
  return u6(t, e, n, Jz(r), Jz(1 / r));
101567
101567
  }
101568
- function Jkn(t, e, n, r) {
101568
+ function eTn(t, e, n, r) {
101569
101569
  return u6(t, e, n, FDe(r), BDe(r));
101570
101570
  }
101571
- function eTn(t) {
101571
+ function tTn(t) {
101572
101572
  return 1 + ~~(new Date(t).getMonth() / 3);
101573
101573
  }
101574
- function tTn(t) {
101574
+ function nTn(t) {
101575
101575
  return 1 + ~~(new Date(t).getUTCMonth() / 3);
101576
101576
  }
101577
101577
  function xk(t) {
101578
101578
  return t != null ? l6(t) ? t : [t] : [];
101579
101579
  }
101580
- function nTn(t, e, n) {
101580
+ function rTn(t, e, n) {
101581
101581
  let r = t[0], i = t[1], a;
101582
101582
  return i < r && (a = i, i = r, r = a), a = i - r, a >= n - e ? [e, n] : [r = Math.min(Math.max(r, e), n - a), r + a];
101583
101583
  }
@@ -101585,7 +101585,7 @@ function m_(t) {
101585
101585
  return typeof t == "function";
101586
101586
  }
101587
101587
  const BVt = "descending";
101588
- function rTn(t, e, n) {
101588
+ function iTn(t, e, n) {
101589
101589
  n = n || {}, e = xk(e) || [];
101590
101590
  const r = [], i = [], a = {}, o = n.comparator || HVt;
101591
101591
  return xk(t).forEach((s, l) => {
@@ -101603,7 +101603,7 @@ const HDe = (t, e) => (t < e || t == null) && e != null ? -1 : (t > e || e == nu
101603
101603
  function eIt(t) {
101604
101604
  return m_(t) ? t : () => t;
101605
101605
  }
101606
- function iTn(t, e) {
101606
+ function aTn(t, e) {
101607
101607
  let n;
101608
101608
  return (r) => {
101609
101609
  n && clearTimeout(n), n = setTimeout(() => (e(r), n = null), t);
@@ -101617,7 +101617,7 @@ function Kw(t) {
101617
101617
  }
101618
101618
  return t;
101619
101619
  }
101620
- function aTn(t, e) {
101620
+ function oTn(t, e) {
101621
101621
  let n = 0, r, i, a, o;
101622
101622
  if (t && (r = t.length))
101623
101623
  if (e == null) {
@@ -101631,7 +101631,7 @@ function aTn(t, e) {
101631
101631
  }
101632
101632
  return [a, o];
101633
101633
  }
101634
- function oTn(t, e) {
101634
+ function sTn(t, e) {
101635
101635
  const n = t.length;
101636
101636
  let r = -1, i, a, o, s, l;
101637
101637
  if (e == null) {
@@ -101659,7 +101659,7 @@ function vh(t, e) {
101659
101659
  return Object.hasOwn(t, e);
101660
101660
  }
101661
101661
  const uC = {};
101662
- function sTn(t) {
101662
+ function lTn(t) {
101663
101663
  let e = {}, n;
101664
101664
  function r(a) {
101665
101665
  return vh(e, a) && e[a] !== uC;
@@ -101698,7 +101698,7 @@ function sTn(t) {
101698
101698
  i.set(a, t[a]);
101699
101699
  }), i;
101700
101700
  }
101701
- function lTn(t, e, n, r, i, a) {
101701
+ function cTn(t, e, n, r, i, a) {
101702
101702
  if (!n && n !== 0) return a;
101703
101703
  const o = +n;
101704
101704
  let s = t[0], l = Hw(t), c;
@@ -101706,7 +101706,7 @@ function lTn(t, e, n, r, i, a) {
101706
101706
  const u = Math.abs(l - e);
101707
101707
  return c < u && c <= o ? r : u <= o ? i : a;
101708
101708
  }
101709
- function cTn(t, e, n) {
101709
+ function uTn(t, e, n) {
101710
101710
  const r = t.prototype = Object.create(e.prototype);
101711
101711
  return Object.defineProperty(r, "constructor", {
101712
101712
  value: t,
@@ -101715,11 +101715,11 @@ function cTn(t, e, n) {
101715
101715
  configurable: !0
101716
101716
  }), Kw(r, n);
101717
101717
  }
101718
- function uTn(t, e, n, r) {
101718
+ function dTn(t, e, n, r) {
101719
101719
  let i = e[0], a = e[e.length - 1], o;
101720
101720
  return i > a && (o = i, i = a, a = o), n = n === void 0 || n, r = r === void 0 || r, (n ? i <= t : i < t) && (r ? t <= a : t < a);
101721
101721
  }
101722
- function dTn(t) {
101722
+ function fTn(t) {
101723
101723
  return typeof t == "boolean";
101724
101724
  }
101725
101725
  function tIt(t) {
@@ -101731,13 +101731,13 @@ function nIt(t) {
101731
101731
  function rIt(t) {
101732
101732
  return typeof t == "number";
101733
101733
  }
101734
- function fTn(t) {
101734
+ function OTn(t) {
101735
101735
  return Object.prototype.toString.call(t) === "[object RegExp]";
101736
101736
  }
101737
101737
  function mL(t) {
101738
101738
  return typeof t == "string";
101739
101739
  }
101740
- function OTn(t, e, n) {
101740
+ function hTn(t, e, n) {
101741
101741
  t && (t = e ? xk(t).map((s) => s.replace(/\\(.)/g, "$1")) : xk(t));
101742
101742
  const r = t && t.length, i = n && n.get || YDe, a = (s) => i(e ? [s] : MDe(s));
101743
101743
  let o;
@@ -101760,12 +101760,12 @@ function OTn(t, e, n) {
101760
101760
  }
101761
101761
  return Tg(o, t, "key");
101762
101762
  }
101763
- function hTn(t, e) {
101763
+ function pTn(t, e) {
101764
101764
  const n = t[0], r = Hw(t), i = +e;
101765
101765
  return i ? i === 1 ? r : n + i * (r - n) : n;
101766
101766
  }
101767
101767
  const iIt = 1e4;
101768
- function pTn(t) {
101768
+ function mTn(t) {
101769
101769
  t = +t || iIt;
101770
101770
  let e, n, r;
101771
101771
  const i = () => {
@@ -101778,7 +101778,7 @@ function pTn(t) {
101778
101778
  set: (o, s) => vh(e, o) ? e[o] = s : a(o, s)
101779
101779
  };
101780
101780
  }
101781
- function mTn(t, e, n, r) {
101781
+ function gTn(t, e, n, r) {
101782
101782
  const i = e.length, a = n.length;
101783
101783
  if (!a) return e;
101784
101784
  if (!i) return n;
@@ -101797,7 +101797,7 @@ function dC(t, e) {
101797
101797
  for (; --e >= 0; ) n += t;
101798
101798
  return n;
101799
101799
  }
101800
- function gTn(t, e, n, r) {
101800
+ function yTn(t, e, n, r) {
101801
101801
  const i = n || " ", a = t + "", o = e - a.length;
101802
101802
  return o <= 0 ? a : r === "left" ? dC(i, o) + a : r === "center" ? dC(i, ~~(o / 2)) + a + dC(i, Math.ceil(o / 2)) : a + dC(i, o);
101803
101803
  }
@@ -101826,11 +101826,11 @@ function uIt(t) {
101826
101826
  for (let r = 0; r < n; ++r) e[t[r]] = !0;
101827
101827
  return e;
101828
101828
  }
101829
- function yTn(t, e, n, r) {
101829
+ function vTn(t, e, n, r) {
101830
101830
  const i = r ?? "…", a = t + "", o = a.length, s = Math.max(0, e - i.length);
101831
101831
  return o <= e ? a : n === "left" ? i + a.slice(o - s) : n === "center" ? a.slice(0, Math.ceil(s / 2)) + i + a.slice(o - ~~(s / 2)) : a.slice(0, s) + i;
101832
101832
  }
101833
- function vTn(t, e, n) {
101833
+ function $Tn(t, e, n) {
101834
101834
  if (t)
101835
101835
  if (e) {
101836
101836
  const r = t.length;
@@ -102152,7 +102152,7 @@ function eq(t, e, n) {
102152
102152
  let s, l, c;
102153
102153
  return i < 0 ? (c = Math.pow(10, -i) / o, s = Math.round(t * c), l = Math.round(e * c), s / c < t && ++s, l / c > e && --l, c = -c) : (c = Math.pow(10, i) * o, s = Math.round(t / c), l = Math.round(e / c), s * c < t && ++s, l * c > e && --l), l < s && 0.5 <= n && n < 2 ? eq(t, e, n * 2) : [s, l, c];
102154
102154
  }
102155
- function $Tn(t, e, n) {
102155
+ function bTn(t, e, n) {
102156
102156
  if (e = +e, t = +t, n = +n, !(n > 0)) return [];
102157
102157
  if (t === e) return [t];
102158
102158
  const r = e < t, [i, a, o] = r ? eq(e, t, n) : eq(t, e, n);
@@ -102385,7 +102385,7 @@ Qk.every = (t) => (t = Math.floor(t), !isFinite(t) || !(t > 0) ? null : t > 1 ?
102385
102385
  e.setTime(+e + n * t);
102386
102386
  }, (e, n) => (n - e) / t) : Qk);
102387
102387
  Qk.range;
102388
- const Pk = 1e3, ig = Pk * 60, kk = ig * 60, Kv = kk * 24, i6e = Kv * 7, bTn = Kv * 30, wTn = Kv * 365, Kee = no((t) => {
102388
+ const Pk = 1e3, ig = Pk * 60, kk = ig * 60, Kv = kk * 24, i6e = Kv * 7, wTn = Kv * 30, xTn = Kv * 365, Kee = no((t) => {
102389
102389
  t.setTime(t - t.getMilliseconds());
102390
102390
  }, (t, e) => {
102391
102391
  t.setTime(+t + e * Pk);
@@ -102521,7 +102521,7 @@ const BIt = {
102521
102521
  [`${$s}-${Ls}-${bc}`]: "%Y-%m-%d ",
102522
102522
  [`${wu}-${xu}`]: "%H:%M"
102523
102523
  };
102524
- function xTn(t, e) {
102524
+ function STn(t, e) {
102525
102525
  const n = Kw({}, BIt, e), r = FIt(t), i = r.length;
102526
102526
  let a = "", o = 0, s, l;
102527
102527
  for (o = 0; o < i; )
@@ -102536,10 +102536,10 @@ const ev = /* @__PURE__ */ new Date();
102536
102536
  function Jee(t) {
102537
102537
  return ev.setFullYear(t), ev.setMonth(0), ev.setDate(1), ev.setHours(0, 0, 0, 0), ev;
102538
102538
  }
102539
- function STn(t) {
102539
+ function QTn(t) {
102540
102540
  return c6e(new Date(t));
102541
102541
  }
102542
- function QTn(t) {
102542
+ function PTn(t) {
102543
102543
  return $L(new Date(t));
102544
102544
  }
102545
102545
  function c6e(t) {
@@ -102558,10 +102558,10 @@ function HIt(t, e, n, r, i, a, o) {
102558
102558
  }
102559
102559
  return new Date(t, e, n, r, i, a, o);
102560
102560
  }
102561
- function PTn(t) {
102561
+ function kTn(t) {
102562
102562
  return u6e(new Date(t));
102563
102563
  }
102564
- function kTn(t) {
102564
+ function TTn(t) {
102565
102565
  return wL(new Date(t));
102566
102566
  }
102567
102567
  function u6e(t) {
@@ -102614,7 +102614,7 @@ const eYt = {
102614
102614
  [$c]: (t) => 3 * t,
102615
102615
  [$o]: (t, e) => hw(t, 0, bL(e))
102616
102616
  };
102617
- function TTn(t, e) {
102617
+ function _Tn(t, e) {
102618
102618
  return d6e(t, e || 1, eYt, tYt, HIt);
102619
102619
  }
102620
102620
  const nYt = {
@@ -102634,7 +102634,7 @@ const nYt = {
102634
102634
  [$c]: (t) => 3 * t,
102635
102635
  [$o]: (t, e) => hw(t, 0, xL(e))
102636
102636
  };
102637
- function _Tn(t, e) {
102637
+ function RTn(t, e) {
102638
102638
  return d6e(t, e || 1, nYt, rYt, KIt);
102639
102639
  }
102640
102640
  const iYt = {
@@ -102671,23 +102671,23 @@ function tte(t) {
102671
102671
  function f6e(t, e, n) {
102672
102672
  return t ? t.offset(e, n) : void 0;
102673
102673
  }
102674
- function RTn(t, e, n) {
102674
+ function CTn(t, e, n) {
102675
102675
  return f6e(ete(t), e, n);
102676
102676
  }
102677
- function CTn(t, e, n) {
102677
+ function XTn(t, e, n) {
102678
102678
  return f6e(tte(t), e, n);
102679
102679
  }
102680
102680
  function O6e(t, e, n, r) {
102681
102681
  return t ? t.range(e, n, r) : void 0;
102682
102682
  }
102683
- function XTn(t, e, n, r) {
102683
+ function ETn(t, e, n, r) {
102684
102684
  return O6e(ete(t), e, n, r);
102685
102685
  }
102686
- function ETn(t, e, n, r) {
102686
+ function zTn(t, e, n, r) {
102687
102687
  return O6e(tte(t), e, n, r);
102688
102688
  }
102689
102689
  const e2 = 1e3, t2 = e2 * 60, n2 = t2 * 60, O6 = n2 * 24, oYt = O6 * 7, uye = O6 * 30, SL = O6 * 365, h6e = [$s, Ls, bc, wu, xu, yd, Kf], r2 = h6e.slice(0, -1), i2 = r2.slice(0, -1), a2 = i2.slice(0, -1), sYt = a2.slice(0, -1), lYt = [$s, $o], dye = [$s, Ls], p6e = [$s], rP = [[r2, 1, e2], [r2, 5, 5 * e2], [r2, 15, 15 * e2], [r2, 30, 30 * e2], [i2, 1, t2], [i2, 5, 5 * t2], [i2, 15, 15 * t2], [i2, 30, 30 * t2], [a2, 1, n2], [a2, 3, 3 * n2], [a2, 6, 6 * n2], [a2, 12, 12 * n2], [sYt, 1, O6], [lYt, 1, oYt], [dye, 1, uye], [dye, 3, 3 * uye], [p6e, 1, SL]];
102690
- function zTn(t) {
102690
+ function qTn(t) {
102691
102691
  const e = t.extent, n = t.maxbins || 40, r = Math.abs(aIt(e)) / n;
102692
102692
  let i = SIt((s) => s[2]).right(rP, r), a, o;
102693
102693
  return i === rP.length ? (a = p6e, o = gL(e[0] / SL, e[1] / SL, n)) : i ? (i = rP[r / rP[i - 1][2] < rP[i][2] / r ? i - 1 : i], a = i[0], o = i[1]) : (a = h6e, o = Math.max(gL(e[0], e[1], n), 1)), {
@@ -103300,7 +103300,7 @@ function iq(t) {
103300
103300
  return arguments.length ? kL = R6e(t) : kL;
103301
103301
  }
103302
103302
  const TL = (t, e) => Kw({}, t, e);
103303
- function qTn(t, e) {
103303
+ function jTn(t, e) {
103304
103304
  const n = t ? k6e(t) : PL(), r = e ? R6e(e) : iq();
103305
103305
  return TL(n, r);
103306
103306
  }
@@ -103308,7 +103308,7 @@ function dMt(t, e) {
103308
103308
  const n = arguments.length;
103309
103309
  return n && n !== 2 && Zs("defaultLocale expects either zero or two arguments."), n ? TL(PL(t), iq(e)) : TL(PL(), iq());
103310
103310
  }
103311
- function jTn() {
103311
+ function DTn() {
103312
103312
  return P6e(), _6e(), dMt();
103313
103313
  }
103314
103314
  const fMt = /^(data:|([A-Za-z]+:)?\/\/)/, OMt = /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp|file|data):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i, hMt = /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g, xye = "file://";
@@ -103422,7 +103422,7 @@ const qV = {
103422
103422
  function E6e(t, e) {
103423
103423
  return arguments.length > 1 ? (qV[t] = e, this) : vh(qV, t) ? qV[t] : null;
103424
103424
  }
103425
- function DTn(t) {
103425
+ function ATn(t) {
103426
103426
  const e = E6e(t);
103427
103427
  return e && e.responseType || "text";
103428
103428
  }
@@ -106314,7 +106314,7 @@ function AZt(t) {
106314
106314
  /* @__PURE__ */ g.jsx("span", { children: n })
106315
106315
  ] }, e);
106316
106316
  }
106317
- const v7e = ye.createContext(w0.EMPTY), WZt = ye.lazy(() => import("./index-RBv72Up0.js").then((t) => ({
106317
+ const v7e = ye.createContext(w0.EMPTY), WZt = ye.lazy(() => import("./index-Dz9Shd34.js").then((t) => ({
106318
106318
  default: t.VegaLite
106319
106319
  }))), UZt = u7e(), NZt = (t) => {
106320
106320
  const e = he.c(21), {
@@ -108017,7 +108017,7 @@ const hFt = {
108017
108017
  fieldTypes: i
108018
108018
  }), [i]);
108019
108019
  return /* @__PURE__ */ g.jsx(D7e, { data: e, totalRows: e.length, columns: a, totalColumns: a.length, manualPagination: !1, paginationState: n, setPaginationState: r, wrapperClassName: "h-full justify-between pb-1 px-1", pagination: !0, className: "rounded-none border-b flex overflow-hidden", rowSelection: Lr.EMPTY });
108020
- }, A7e = T.lazy(() => import("./any-language-editor-8vaXXN9O.js")), AL = (t) => {
108020
+ }, A7e = T.lazy(() => import("./any-language-editor-SmrYOnuY.js")), AL = (t) => {
108021
108021
  const e = he.c(5);
108022
108022
  let n;
108023
108023
  e[0] !== t.className ? (n = qh(t.className, "rounded-md bg-muted/40 px-2 text-[0.75rem] font-prose center border border-foreground/20 text-muted-foreground block whitespace-nowrap"), e[0] = t.className, e[1] = n) : n = e[1];
@@ -108215,7 +108215,7 @@ const xFt = (t) => {
108215
108215
  function PFt(t) {
108216
108216
  return !t;
108217
108217
  }
108218
- var w6 = "Tabs", [kFt, WTn] = qa(w6, [
108218
+ var w6 = "Tabs", [kFt, UTn] = qa(w6, [
108219
108219
  Fw
108220
108220
  ]), W7e = Fw(), [TFt, yte] = kFt(w6), U7e = T.forwardRef(
108221
108221
  (t, e) => {
@@ -108434,7 +108434,7 @@ function RFt(t) {
108434
108434
  return "❓";
108435
108435
  }
108436
108436
  }
108437
- const CFt = ye.lazy(() => import("./index-RBv72Up0.js").then((t) => ({
108437
+ const CFt = ye.lazy(() => import("./index-Dz9Shd34.js").then((t) => ({
108438
108438
  default: t.VegaLite
108439
108439
  }))), cg = T.memo((t) => {
108440
108440
  const e = he.c(39), {
@@ -109140,55 +109140,55 @@ function GFt() {
109140
109140
  }
109141
109141
  const {
109142
109142
  sendComponentValues: ZFt,
109143
- sendRename: UTn,
109144
- sendRestart: NTn,
109145
- syncCellIds: VTn,
109146
- sendSave: ITn,
109147
- sendCopy: YTn,
109148
- sendStdin: MTn,
109149
- sendFormat: GTn,
109150
- sendInterrupt: ZTn,
109151
- sendShutdown: LTn,
109143
+ sendRename: NTn,
109144
+ sendRestart: VTn,
109145
+ syncCellIds: ITn,
109146
+ sendSave: YTn,
109147
+ sendCopy: MTn,
109148
+ sendStdin: GTn,
109149
+ sendFormat: ZTn,
109150
+ sendInterrupt: LTn,
109151
+ sendShutdown: FTn,
109152
109152
  sendRun: LFt,
109153
- sendRunScratchpad: FTn,
109153
+ sendRunScratchpad: BTn,
109154
109154
  sendInstantiate: FFt,
109155
- sendDeleteCell: BTn,
109155
+ sendDeleteCell: HTn,
109156
109156
  sendCodeCompletionRequest: BFt,
109157
109157
  saveUserConfig: HFt,
109158
- saveAppConfig: HTn,
109159
- saveCellConfig: KTn,
109158
+ saveAppConfig: KTn,
109159
+ saveCellConfig: JTn,
109160
109160
  sendFunctionRequest: KFt,
109161
- sendInstallMissingPackages: JTn,
109162
- readCode: e_n,
109163
- readSnippets: t_n,
109161
+ sendInstallMissingPackages: e_n,
109162
+ readCode: t_n,
109163
+ readSnippets: n_n,
109164
109164
  previewDatasetColumn: JFt,
109165
- previewSQLTable: n_n,
109166
- previewSQLTableList: r_n,
109167
- previewDataSourceConnection: i_n,
109165
+ previewSQLTable: r_n,
109166
+ previewSQLTableList: i_n,
109167
+ previewDataSourceConnection: a_n,
109168
109168
  openFile: eBt,
109169
- getUsageStats: a_n,
109169
+ getUsageStats: o_n,
109170
109170
  sendPdb: tBt,
109171
- sendListFiles: o_n,
109171
+ sendListFiles: s_n,
109172
109172
  sendCreateFileOrFolder: nBt,
109173
- sendDeleteFileOrFolder: s_n,
109174
- sendRenameFileOrFolder: l_n,
109175
- sendUpdateFile: c_n,
109176
- sendFileDetails: u_n,
109177
- openTutorial: d_n,
109178
- getRecentFiles: f_n,
109179
- getWorkspaceFiles: O_n,
109180
- getRunningNotebooks: h_n,
109181
- shutdownSession: p_n,
109173
+ sendDeleteFileOrFolder: l_n,
109174
+ sendRenameFileOrFolder: c_n,
109175
+ sendUpdateFile: u_n,
109176
+ sendFileDetails: d_n,
109177
+ openTutorial: f_n,
109178
+ getRecentFiles: O_n,
109179
+ getWorkspaceFiles: h_n,
109180
+ getRunningNotebooks: p_n,
109181
+ shutdownSession: m_n,
109182
109182
  exportAsHTML: rBt,
109183
- exportAsMarkdown: m_n,
109184
- autoExportAsHTML: g_n,
109185
- autoExportAsMarkdown: y_n,
109186
- autoExportAsIPYNB: v_n,
109187
- addPackage: $_n,
109188
- removePackage: b_n,
109189
- getPackageList: w_n,
109190
- listSecretKeys: x_n,
109191
- writeSecret: S_n
109183
+ exportAsMarkdown: g_n,
109184
+ autoExportAsHTML: y_n,
109185
+ autoExportAsMarkdown: v_n,
109186
+ autoExportAsIPYNB: $_n,
109187
+ addPackage: b_n,
109188
+ removePackage: w_n,
109189
+ getPackageList: x_n,
109190
+ listSecretKeys: S_n,
109191
+ writeSecret: Q_n
109192
109192
  } = GFt(), i9e = new FTe("function-call-result", async (t, e) => {
109193
109193
  await KFt({
109194
109194
  functionCallId: t,
@@ -116665,7 +116665,7 @@ hAe.displayName = MJt;
116665
116665
  function pAe(t) {
116666
116666
  return t ? "checked" : "unchecked";
116667
116667
  }
116668
- var GJt = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], j6 = "RadioGroup", [ZJt, P_n] = qa(j6, [
116668
+ var GJt = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], j6 = "RadioGroup", [ZJt, k_n] = qa(j6, [
116669
116669
  Fw,
116670
116670
  uAe
116671
116671
  ]), mAe = Fw(), gAe = uAe(), [LJt, FJt] = ZJt(j6), yAe = T.forwardRef(
@@ -116843,7 +116843,7 @@ var SAe = ["PageUp", "PageDown"], QAe = ["ArrowUp", "ArrowDown", "ArrowLeft", "A
116843
116843
  "from-right": ["Home", "PageDown", "ArrowDown", "ArrowRight"],
116844
116844
  "from-bottom": ["Home", "PageDown", "ArrowDown", "ArrowLeft"],
116845
116845
  "from-top": ["Home", "PageDown", "ArrowUp", "ArrowLeft"]
116846
- }, ix = "Slider", [eF, een, ten] = o$(ix), [kAe, k_n] = qa(ix, [
116846
+ }, ix = "Slider", [eF, een, ten] = o$(ix), [kAe, T_n] = qa(ix, [
116847
116847
  ten
116848
116848
  ]), [nen, D6] = kAe(ix), TAe = T.forwardRef(
116849
116849
  (t, e) => {
@@ -117499,7 +117499,7 @@ const ven = (t) => {
117499
117499
  let V;
117500
117500
  return e[34] !== f || e[35] !== p || e[36] !== n || e[37] !== W || e[38] !== x || e[39] !== Q ? (V = /* @__PURE__ */ g.jsx(oa, { label: n, id: p, align: x, fullWidth: f, className: Q, children: W }), e[34] = f, e[35] = p, e[36] = n, e[37] = W, e[38] = x, e[39] = Q, e[40] = V) : V = e[40], V;
117501
117501
  };
117502
- var W6 = "Switch", [$en, T_n] = qa(W6), [ben, wen] = $en(W6), VAe = T.forwardRef(
117502
+ var W6 = "Switch", [$en, __n] = qa(W6), [ben, wen] = $en(W6), VAe = T.forwardRef(
117503
117503
  (t, e) => {
117504
117504
  const {
117505
117505
  __scopeSwitch: n,
@@ -120695,7 +120695,7 @@ function Htn(t) {
120695
120695
  function Ktn(t) {
120696
120696
  return t.field;
120697
120697
  }
120698
- const Jtn = ye.lazy(() => import("./index-RBv72Up0.js").then((t) => ({
120698
+ const Jtn = ye.lazy(() => import("./index-Dz9Shd34.js").then((t) => ({
120699
120699
  default: t.Vega
120700
120700
  }))), enn = (t) => {
120701
120701
  const e = he.c(11), {
@@ -123149,7 +123149,7 @@ class Rrn {
123149
123149
  return /* @__PURE__ */ g.jsx(Crn, { ...e.data, children: e.children });
123150
123150
  }
123151
123151
  }
123152
- const Crn = ye.lazy(() => import("./slides-component-NkT1EsSz.js"));
123152
+ const Crn = ye.lazy(() => import("./slides-component-sgUnNqQR.js"));
123153
123153
  class Xrn {
123154
123154
  constructor() {
123155
123155
  this.tagName = "marimo-tex", this.validator = U.object({});
@@ -123508,7 +123508,7 @@ const Frn = (t) => {
123508
123508
  o
123509
123509
  ] });
123510
123510
  };
123511
- var Bte = "Progress", Hte = 100, [Krn, __n] = qa(Bte), [Jrn, ein] = Krn(Bte), aUe = T.forwardRef(
123511
+ var Bte = "Progress", Hte = 100, [Krn, R_n] = qa(Bte), [Jrn, ein] = Krn(Bte), aUe = T.forwardRef(
123512
123512
  (t, e) => {
123513
123513
  const {
123514
123514
  __scopeProgress: n,
@@ -125105,7 +125105,7 @@ function l$e(t) {
125105
125105
  maxDecimalPoints: 2
125106
125106
  });
125107
125107
  }
125108
- const fin = ye.lazy(() => import("./vega-component-BGrq6nHk.js"));
125108
+ const fin = ye.lazy(() => import("./vega-component-CaWFLmLY.js"));
125109
125109
  class Oin {
125110
125110
  constructor() {
125111
125111
  this.tagName = "marimo-vega", this.validator = U.object({
@@ -126737,7 +126737,7 @@ class gan {
126737
126737
  return /* @__PURE__ */ g.jsx($Ue, { ...e.data, host: e.host, value: e.value, setValue: e.setValue });
126738
126738
  }
126739
126739
  }
126740
- const yan = T.lazy(() => import("./react-plotly-DII3CrgW.js").then((t) => t.r));
126740
+ const yan = T.lazy(() => import("./react-plotly-CqrfaK7X.js").then((t) => t.r));
126741
126741
  function OI(t) {
126742
126742
  return {
126743
126743
  autosize: t.layout.width === void 0,
@@ -126964,7 +126964,7 @@ const Tan = (t) => {
126964
126964
  e[19] !== v || e[20] !== p || e[21] !== o || e[22] !== a || e[23] !== i || e[24] !== t.language || e[25] !== t.placeholder || e[26] !== t.showCopyButton || e[27] !== k || e[28] !== Q || e[29] !== S ? (_ = /* @__PURE__ */ g.jsx(A7e, { className: Q, theme: S, minHeight: i, maxHeight: a, placeholder: t.placeholder, editable: k, value: o, language: t.language, onChange: p, showCopyButton: t.showCopyButton, extensions: v }), e[19] = v, e[20] = p, e[21] = o, e[22] = a, e[23] = i, e[24] = t.language, e[25] = t.placeholder, e[26] = t.showCopyButton, e[27] = k, e[28] = Q, e[29] = S, e[30] = _) : _ = e[30];
126965
126965
  let z;
126966
126966
  return e[31] !== t.label || e[32] !== _ ? (z = /* @__PURE__ */ g.jsx(Bs, { children: /* @__PURE__ */ g.jsx(oa, { label: t.label, align: "top", fullWidth: !0, children: _ }) }), e[31] = t.label, e[32] = _, e[33] = z) : z = e[33], z;
126967
- }, _an = ye.lazy(() => import("./ConnectedDataExplorerComponent-B0oSkpau.js")), Ran = _d("marimo-data-explorer").withData(U.object({
126967
+ }, _an = ye.lazy(() => import("./ConnectedDataExplorerComponent-BU9sRsft.js")), Ran = _d("marimo-data-explorer").withData(U.object({
126968
126968
  label: U.string().nullish(),
126969
126969
  data: U.string()
126970
126970
  })).renderer((t) => /* @__PURE__ */ g.jsx(Bs, { children: /* @__PURE__ */ g.jsx(_an, { ...t.data, value: t.value, setValue: t.setValue }) }));
@@ -126978,7 +126978,7 @@ class Can {
126978
126978
  return /* @__PURE__ */ g.jsx(Xan, { diagram: e.data.diagram });
126979
126979
  }
126980
126980
  }
126981
- const Xan = T.lazy(() => import("./mermaid-B_nUYMJO.js").then((t) => t.ao));
126981
+ const Xan = T.lazy(() => import("./mermaid-GUQdqYle.js").then((t) => t.ao));
126982
126982
  function Ean(t, e) {
126983
126983
  if (!e || e.length === 0)
126984
126984
  return t;
@@ -127260,7 +127260,7 @@ const Yan = _d("marimo-lazy").withData(U.object({
127260
127260
  let y;
127261
127261
  return e[12] !== s || e[13] !== m ? (y = /* @__PURE__ */ g.jsx("div", { ref: s, className: "min-h-4", children: m }), e[12] = s, e[13] = m, e[14] = y) : y = e[14], y;
127262
127262
  };
127263
- var q$ = "NavigationMenu", [ene, bUe, Gan] = o$(q$), [uF, Zan, Lan] = o$(q$), [tne, R_n] = qa(
127263
+ var q$ = "NavigationMenu", [ene, bUe, Gan] = o$(q$), [uF, Zan, Lan] = o$(q$), [tne, C_n] = qa(
127264
127264
  q$,
127265
127265
  [Gan, Lan]
127266
127266
  ), [Fan, _u] = tne(q$), [Ban, Han] = tne(q$), wUe = T.forwardRef(
@@ -131358,7 +131358,7 @@ const xln = _d("marimo-chatbot").withData(U.object({
131358
131358
  function kln(t) {
131359
131359
  return !t || Object.keys(t).length === 0 ? "auto" : Lr.mapValues(t, (e) => e === "date" || e === "time" ? "string" : e === "datetime" ? "date" : e);
131360
131360
  }
131361
- const Tln = ye.lazy(() => import("./data-editor-43NmMc8f.js")), _ln = _d("marimo-data-editor", {
131361
+ const Tln = ye.lazy(() => import("./data-editor-Dmzu1Ob8.js")), _ln = _d("marimo-data-editor", {
131362
131362
  cssStyles: [Sln, Qln, Pln]
131363
131363
  }).withData(U.object({
131364
131364
  initialValue: U.object({
@@ -153995,7 +153995,7 @@ var pB = {
153995
153995
  dockerfile: () => ot.define(LVe),
153996
153996
  r: () => ot.define(AYe)
153997
153997
  };
153998
- function D_n(t) {
153998
+ function A_n(t) {
153999
153999
  return pB[t] ? pB[t]() : null;
154000
154000
  }
154001
154001
  const d5n = T.memo((t) => {
@@ -154061,7 +154061,7 @@ const f5n = (t) => {
154061
154061
  let n;
154062
154062
  return e[0] !== t ? (n = /* @__PURE__ */ g.jsx(o_, { children: /* @__PURE__ */ g.jsx(p5n, { ...t }) }), e[0] = t, e[1] = n) : n = e[1], n;
154063
154063
  }, p5n = (t) => {
154064
- const e = he.c(35), n = ye.useRef(null), {
154064
+ const e = he.c(36), n = ye.useRef(null), {
154065
154065
  consoleOutputs: r,
154066
154066
  stale: i,
154067
154067
  cellName: a,
@@ -154082,48 +154082,48 @@ const f5n = (t) => {
154082
154082
  return null;
154083
154083
  let p, m, y, $, w;
154084
154084
  if (e[1] !== o || e[2] !== u || e[3] !== r || e[4] !== f || e[5] !== l || e[6] !== c || e[7] !== s || e[8] !== i) {
154085
- const Q = [...r].reverse(), S = Q.some(y5n);
154085
+ const Q = [...r].reverse(), S = Q.some(y5n), k = Q.findIndex(v5n);
154086
154086
  p = i ? "This console output is stale" : void 0, m = "console-output-area", y = n;
154087
- const k = i && "marimo-output-stale", _ = f ? "p-5" : "p-3";
154088
- e[14] !== u || e[15] !== k || e[16] !== _ ? ($ = be("console-output-area overflow-hidden rounded-b-lg flex flex-col-reverse w-full gap-1", k, _, u), e[14] = u, e[15] = k, e[16] = _, e[17] = $) : $ = e[17];
154089
- let z;
154090
- e[18] !== o || e[19] !== r.length || e[20] !== S || e[21] !== l || e[22] !== c || e[23] !== s ? (z = (q, R) => {
154091
- if (q.channel === "pdb")
154087
+ const _ = i && "marimo-output-stale", z = f ? "p-5" : "p-3";
154088
+ e[14] !== u || e[15] !== _ || e[16] !== z ? ($ = be("console-output-area overflow-hidden rounded-b-lg flex flex-col-reverse w-full gap-1", _, z, u), e[14] = u, e[15] = _, e[16] = z, e[17] = $) : $ = e[17];
154089
+ let q;
154090
+ e[18] !== o || e[19] !== r.length || e[20] !== S || e[21] !== k || e[22] !== l || e[23] !== c || e[24] !== s ? (q = (R, C) => {
154091
+ if (R.channel === "pdb")
154092
154092
  return null;
154093
- if (q.channel === "stdin") {
154094
- Mn(typeof q.data == "string", "Expected data to be a string");
154095
- const C = r.length - R - 1;
154096
- return q.response == null ? /* @__PURE__ */ g.jsx(m5n, { output: q.data, isPdb: S, onSubmit: (E) => s(E, C), onClear: l }, R) : /* @__PURE__ */ g.jsx(g5n, { output: q.data, response: q.response }, R);
154093
+ if (R.channel === "stdin") {
154094
+ Mn(typeof R.data == "string", "Expected data to be a string");
154095
+ const E = r.length - C - 1;
154096
+ return R.response == null && k === C ? /* @__PURE__ */ g.jsx(m5n, { output: R.data, isPdb: S, onSubmit: (j) => s(j, E), onClear: l }, C) : /* @__PURE__ */ g.jsx(g5n, { output: R.data, response: R.response }, C);
154097
154097
  }
154098
- return /* @__PURE__ */ g.jsx(ye.Fragment, { children: /* @__PURE__ */ g.jsx(cg, { cellId: o, onRefactorWithAI: c, message: q }) }, R);
154099
- }, e[18] = o, e[19] = r.length, e[20] = S, e[21] = l, e[22] = c, e[23] = s, e[24] = z) : z = e[24], w = Q.map(z), e[1] = o, e[2] = u, e[3] = r, e[4] = f, e[5] = l, e[6] = c, e[7] = s, e[8] = i, e[9] = p, e[10] = m, e[11] = y, e[12] = $, e[13] = w;
154098
+ return /* @__PURE__ */ g.jsx(ye.Fragment, { children: /* @__PURE__ */ g.jsx(cg, { cellId: o, onRefactorWithAI: c, message: R }) }, C);
154099
+ }, e[18] = o, e[19] = r.length, e[20] = S, e[21] = k, e[22] = l, e[23] = c, e[24] = s, e[25] = q) : q = e[25], w = Q.map(q), e[1] = o, e[2] = u, e[3] = r, e[4] = f, e[5] = l, e[6] = c, e[7] = s, e[8] = i, e[9] = p, e[10] = m, e[11] = y, e[12] = $, e[13] = w;
154100
154100
  } else
154101
154101
  p = e[9], m = e[10], y = e[11], $ = e[12], w = e[13];
154102
154102
  let x;
154103
- e[25] !== o || e[26] !== a ? (x = /* @__PURE__ */ g.jsx(Ucn, { value: a, cellId: o, className: "bg-[var(--slate-4)] border-[var(--slate-4)] hover:bg-[var(--slate-5)] dark:border-[var(--sky-5)] dark:bg-[var(--sky-6)] dark:text-[var(--sky-12)] text-[var(--slate-12)] rounded-tl rounded-br-lg absolute right-0 bottom-0 text-xs px-1.5 py-0.5 font-mono" }), e[25] = o, e[26] = a, e[27] = x) : x = e[27];
154103
+ e[26] !== o || e[27] !== a ? (x = /* @__PURE__ */ g.jsx(Ucn, { value: a, cellId: o, className: "bg-[var(--slate-4)] border-[var(--slate-4)] hover:bg-[var(--slate-5)] dark:border-[var(--sky-5)] dark:bg-[var(--sky-6)] dark:text-[var(--sky-12)] text-[var(--slate-12)] rounded-tl rounded-br-lg absolute right-0 bottom-0 text-xs px-1.5 py-0.5 font-mono" }), e[26] = o, e[27] = a, e[28] = x) : x = e[28];
154104
154104
  let v;
154105
- return e[28] !== p || e[29] !== m || e[30] !== y || e[31] !== $ || e[32] !== w || e[33] !== x ? (v = /* @__PURE__ */ g.jsxs("div", { title: p, "data-testid": m, ref: y, className: $, children: [
154105
+ return e[29] !== p || e[30] !== m || e[31] !== y || e[32] !== $ || e[33] !== w || e[34] !== x ? (v = /* @__PURE__ */ g.jsxs("div", { title: p, "data-testid": m, ref: y, className: $, children: [
154106
154106
  w,
154107
154107
  x
154108
- ] }), e[28] = p, e[29] = m, e[30] = y, e[31] = $, e[32] = w, e[33] = x, e[34] = v) : v = e[34], v;
154108
+ ] }), e[29] = p, e[30] = m, e[31] = y, e[32] = $, e[33] = w, e[34] = x, e[35] = v) : v = e[35], v;
154109
154109
  }, m5n = (t) => {
154110
- const e = he.c(12);
154110
+ const e = he.c(13);
154111
154111
  let n;
154112
154112
  e[0] !== t.output ? (n = yGe(t.output), e[0] = t.output, e[1] = n) : n = e[1];
154113
154113
  let r;
154114
154114
  e[2] === Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ g.jsx(j0, { className: "w-5 h-5" }), e[2] = r) : r = e[2];
154115
154115
  let i;
154116
- e[3] !== t ? (i = /* @__PURE__ */ g.jsx(Qg, { "data-testid": "console-input", type: "text", autoComplete: "off", autoFocus: !0, icon: r, className: "m-0 h-8 focus-visible:shadow-xsSolid", placeholder: "stdin", onKeyDown: (s) => {
154117
- s.key === "Enter" && !s.shiftKey && t.onSubmit(s.currentTarget.value);
154116
+ e[3] !== t ? (i = /* @__PURE__ */ g.jsx(Qg, { "data-testid": "console-input", type: "text", autoComplete: "off", autoFocus: !0, icon: r, className: "m-0 h-8 focus-visible:shadow-xsSolid", placeholder: "stdin", onKeyDownCapture: (s) => {
154117
+ s.key === "Enter" && !s.shiftKey && (t.onSubmit(s.currentTarget.value), s.preventDefault(), s.stopPropagation()), s.key === "Enter" && s.metaKey && (s.preventDefault(), s.stopPropagation());
154118
154118
  } }), e[3] = t, e[4] = i) : i = e[4];
154119
154119
  let a;
154120
- e[5] !== t.onClear || e[6] !== t.onSubmit ? (a = /* @__PURE__ */ g.jsx(f5n, { onSubmit: t.onSubmit, onClear: t.onClear }), e[5] = t.onClear, e[6] = t.onSubmit, e[7] = a) : a = e[7];
154120
+ e[5] !== t.isPdb || e[6] !== t.onClear || e[7] !== t.onSubmit ? (a = t.isPdb && /* @__PURE__ */ g.jsx(f5n, { onSubmit: t.onSubmit, onClear: t.onClear }), e[5] = t.isPdb, e[6] = t.onClear, e[7] = t.onSubmit, e[8] = a) : a = e[8];
154121
154121
  let o;
154122
- return e[8] !== n || e[9] !== i || e[10] !== a ? (o = /* @__PURE__ */ g.jsxs("div", { className: "flex gap-2 items-center pt-2", children: [
154122
+ return e[9] !== n || e[10] !== i || e[11] !== a ? (o = /* @__PURE__ */ g.jsxs("div", { className: "flex gap-2 items-center pt-2", children: [
154123
154123
  n,
154124
154124
  i,
154125
154125
  a
154126
- ] }), e[8] = n, e[9] = i, e[10] = a, e[11] = o) : o = e[11], o;
154126
+ ] }), e[9] = n, e[10] = i, e[11] = a, e[12] = o) : o = e[12], o;
154127
154127
  }, g5n = (t) => {
154128
154128
  const e = he.c(7);
154129
154129
  let n;
@@ -154141,7 +154141,10 @@ const f5n = (t) => {
154141
154141
  function y5n(t) {
154142
154142
  return typeof t.data == "string" && t.data.includes("(Pdb)");
154143
154143
  }
154144
- const v5n = /\/@file\/([^\s/]+)\.([\dA-Za-z]+)/g;
154144
+ function v5n(t) {
154145
+ return t.channel === "stdin";
154146
+ }
154147
+ const $5n = /\/@file\/([^\s/]+)\.([\dA-Za-z]+)/g;
154145
154148
  class U_ {
154146
154149
  /**
154147
154150
  * Shared instance of VirtualFileTracker since this must be a singleton.
@@ -154160,7 +154163,7 @@ class U_ {
154160
154163
  switch (n.mimetype) {
154161
154164
  case "application/json":
154162
154165
  case "text/html": {
154163
- const i = this.virtualFiles.get(r), a = $5n(n.data);
154166
+ const i = this.virtualFiles.get(r), a = b5n(n.data);
154164
154167
  i == null || i.forEach((o) => a.add(o)), this.virtualFiles.set(r, a);
154165
154168
  return;
154166
154169
  }
@@ -154178,16 +154181,16 @@ class U_ {
154178
154181
  this.virtualFiles.delete(e);
154179
154182
  }
154180
154183
  }
154181
- function $5n(t) {
154184
+ function b5n(t) {
154182
154185
  if (!t)
154183
154186
  return /* @__PURE__ */ new Set();
154184
- const e = /* @__PURE__ */ new Set(), r = (typeof t == "string" ? t : JSON.stringify(t)).match(v5n);
154187
+ const e = /* @__PURE__ */ new Set(), r = (typeof t == "string" ? t : JSON.stringify(t)).match($5n);
154185
154188
  if (r)
154186
154189
  for (const i of r)
154187
154190
  e.add(i);
154188
154191
  return e;
154189
154192
  }
154190
- async function b5n(t) {
154193
+ async function w5n(t) {
154191
154194
  const {
154192
154195
  filename: e,
154193
154196
  includeCode: n
@@ -154200,10 +154203,10 @@ async function b5n(t) {
154200
154203
  type: "text/html"
154201
154204
  }), tv.toHTML(i));
154202
154205
  }
154203
- function w5n() {
154206
+ function x5n() {
154204
154207
  return r9e === "edit" ? document.getElementById("App") : void 0;
154205
154208
  }
154206
- function x5n(t) {
154209
+ function S5n(t) {
154207
154210
  const e = he.c(5), [n, r] = T.useState(void 0), i = T.useRef(null), a = T.useRef(null);
154208
154211
  let o, s;
154209
154212
  e[0] !== t ? (o = () => {
@@ -154220,7 +154223,7 @@ function x5n(t) {
154220
154223
  }
154221
154224
  };
154222
154225
  return i.current = new IntersectionObserver(c, {
154223
- root: w5n(),
154226
+ root: x5n(),
154224
154227
  rootMargin: "0px",
154225
154228
  threshold: 0
154226
154229
  }), t.forEach((u) => {
@@ -154235,7 +154238,7 @@ function x5n(t) {
154235
154238
  activeHeaderId: n
154236
154239
  }, e[3] = n, e[4] = l) : l = e[4], l;
154237
154240
  }
154238
- function S5n(t) {
154241
+ function Q5n(t) {
154239
154242
  if (t.length === 0)
154240
154243
  return [];
154241
154244
  const e = /* @__PURE__ */ new Map();
@@ -154262,15 +154265,15 @@ function vGe(t, e) {
154262
154265
  function $Ge(t, e) {
154263
154266
  return "id" in t.by ? document.querySelectorAll(`[id="${CSS.escape(t.by.id)}"]`)[e] : document.evaluate(t.by.path, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
154264
154267
  }
154265
- const Q5n = () => {
154268
+ const P5n = () => {
154266
154269
  const t = he.c(17), {
154267
154270
  items: e
154268
154271
  } = gc(Sjt);
154269
154272
  let n;
154270
- t[0] !== e ? (n = S5n(e), t[0] = e, t[1] = n) : n = t[1];
154273
+ t[0] !== e ? (n = Q5n(e), t[0] = e, t[1] = n) : n = t[1];
154271
154274
  const {
154272
154275
  activeHeaderId: r
154273
- } = x5n(n), [i, a] = ye.useState(!1);
154276
+ } = S5n(n), [i, a] = ye.useState(!1);
154274
154277
  if (e.length < 2)
154275
154278
  return null;
154276
154279
  let o, s, l;
@@ -154279,15 +154282,15 @@ const Q5n = () => {
154279
154282
  let u;
154280
154283
  t[5] !== c ? (u = be("-top-4 max-h-[70vh] bg-background rounded-lg shadow-lg absolute overflow-auto transition-all duration-300 w-[300px] border", c), t[5] = c, t[6] = u) : u = t[6];
154281
154284
  let f;
154282
- t[7] !== r || t[8] !== e || t[9] !== u ? (f = /* @__PURE__ */ g.jsx(k5n, { className: u, items: e, activeHeaderId: r }), t[7] = r, t[8] = e, t[9] = u, t[10] = f) : f = t[10];
154285
+ t[7] !== r || t[8] !== e || t[9] !== u ? (f = /* @__PURE__ */ g.jsx(T5n, { className: u, items: e, activeHeaderId: r }), t[7] = r, t[8] = e, t[9] = u, t[10] = f) : f = t[10];
154283
154286
  let h;
154284
- t[11] !== r || t[12] !== e ? (h = /* @__PURE__ */ g.jsx(P5n, { items: e, activeHeaderId: r }), t[11] = r, t[12] = e, t[13] = h) : h = t[13];
154287
+ t[11] !== r || t[12] !== e ? (h = /* @__PURE__ */ g.jsx(k5n, { items: e, activeHeaderId: r }), t[11] = r, t[12] = e, t[13] = h) : h = t[13];
154285
154288
  let p;
154286
154289
  return t[14] !== f || t[15] !== h ? (p = /* @__PURE__ */ g.jsxs("div", { onMouseEnter: o, onMouseLeave: s, className: l, children: [
154287
154290
  f,
154288
154291
  h
154289
154292
  ] }), t[14] = f, t[15] = h, t[16] = p) : p = t[16], p;
154290
- }, P5n = (t) => {
154293
+ }, k5n = (t) => {
154291
154294
  const e = he.c(7), {
154292
154295
  items: n,
154293
154296
  activeHeaderId: r
@@ -154303,7 +154306,7 @@ const Q5n = () => {
154303
154306
  i = e[2], a = e[3];
154304
154307
  let o;
154305
154308
  return e[4] !== i || e[5] !== a ? (o = /* @__PURE__ */ g.jsx("div", { className: i, children: a }), e[4] = i, e[5] = a, e[6] = o) : o = e[6], o;
154306
- }, k5n = (t) => {
154309
+ }, T5n = (t) => {
154307
154310
  const e = he.c(10), {
154308
154311
  items: n,
154309
154312
  activeHeaderId: r,
@@ -154320,7 +154323,7 @@ const Q5n = () => {
154320
154323
  a = e[3], o = e[4];
154321
154324
  let s;
154322
154325
  return e[7] !== a || e[8] !== o ? (s = /* @__PURE__ */ g.jsx("div", { className: a, children: o }), e[7] = a, e[8] = o, e[9] = s) : s = e[9], s;
154323
- }, T5n = (t) => {
154326
+ }, _5n = (t) => {
154324
154327
  const e = he.c(33), {
154325
154328
  cells: n,
154326
154329
  appConfig: r,
@@ -154339,7 +154342,7 @@ const Q5n = () => {
154339
154342
  const [f, h] = T.useState(u);
154340
154343
  let p;
154341
154344
  e[3] !== n || e[4] !== o || e[5] !== i ? (p = () => {
154342
- const q = n.some(X5n);
154345
+ const q = n.some(E5n);
154343
154346
  if (o)
154344
154347
  return !0;
154345
154348
  const R = c.get(Qde.includeCode);
@@ -154355,7 +154358,7 @@ const Q5n = () => {
154355
154358
  let v;
154356
154359
  e[15] !== r.width || e[16] !== n || e[17] !== x ? (v = () => {
154357
154360
  if (r.width === "columns") {
154358
- const q = C5n(n);
154361
+ const q = X5n(n);
154359
154362
  return /* @__PURE__ */ g.jsx("div", { className: "flex flex-row gap-8 w-full", children: q.map((R) => {
154360
154363
  const [C, E] = R;
154361
154364
  return /* @__PURE__ */ g.jsx("div", { className: "flex-1 flex flex-col gap-2 w-contentWidth", children: E.map(x) }, C);
@@ -154370,21 +154373,21 @@ const Q5n = () => {
154370
154373
  Q()
154371
154374
  ] }) : Q(), e[19] = $, e[20] = Q, e[21] = f, e[22] = S) : S = e[22];
154372
154375
  let k;
154373
- e[23] !== $ || e[24] !== i || e[25] !== f ? (k = i === "read" && /* @__PURE__ */ g.jsx(_5n, { canShowCode: $, showCode: f, onToggleShowCode: () => h(E5n) }), e[23] = $, e[24] = i, e[25] = f, e[26] = k) : k = e[26];
154376
+ e[23] !== $ || e[24] !== i || e[25] !== f ? (k = i === "read" && /* @__PURE__ */ g.jsx(R5n, { canShowCode: $, showCode: f, onToggleShowCode: () => h(z5n) }), e[23] = $, e[24] = i, e[25] = f, e[26] = k) : k = e[26];
154374
154377
  let _;
154375
- e[27] === Symbol.for("react.memo_cache_sentinel") ? (_ = /* @__PURE__ */ g.jsx(Q5n, {}), e[27] = _) : _ = e[27];
154378
+ e[27] === Symbol.for("react.memo_cache_sentinel") ? (_ = /* @__PURE__ */ g.jsx(P5n, {}), e[27] = _) : _ = e[27];
154376
154379
  let z;
154377
154380
  return e[28] !== r || e[29] !== a || e[30] !== S || e[31] !== k ? (z = /* @__PURE__ */ g.jsxs(qcn, { invisible: a, appConfig: r, children: [
154378
154381
  S,
154379
154382
  k,
154380
154383
  _
154381
154384
  ] }), e[28] = r, e[29] = a, e[30] = S, e[31] = k, e[32] = z) : z = e[32], z;
154382
- }, _5n = (t) => {
154385
+ }, R5n = (t) => {
154383
154386
  const e = he.c(10), {
154384
154387
  canShowCode: n,
154385
154388
  showCode: r,
154386
154389
  onToggleShowCode: i
154387
- } = t, a = z5n, o = q5n;
154390
+ } = t, a = q5n, o = j5n;
154388
154391
  let s;
154389
154392
  e[0] === Symbol.for("react.memo_cache_sentinel") ? (s = be("right-0 top-0 z-50 m-4 no-print flex gap-2 print:hidden", aD() ? "absolute" : "fixed"), e[0] = s) : s = e[0];
154390
154393
  let l;
@@ -154473,7 +154476,7 @@ const Q5n = () => {
154473
154476
  e[23] !== p || e[24] !== c || e[25] !== F || e[26] !== z || e[27] !== w ? (Z = !z && !F && /* @__PURE__ */ g.jsx("div", { className: "tray", children: /* @__PURE__ */ g.jsx(Tq, { initiallyHideCode: c.hide_code || w, code: p }) }), e[23] = p, e[24] = c, e[25] = F, e[26] = z, e[27] = w, e[28] = Z) : Z = e[28];
154474
154477
  const K = i === "below" && L;
154475
154478
  let te;
154476
- e[29] !== a || e[30] !== r || e[31] !== $ || e[32] !== Q ? (te = /* @__PURE__ */ g.jsx(h5n, { consoleOutputs: r, stale: Q, cellName: $, onSubmitDebugger: j5n, cellId: a, debuggerActive: !1 }), e[29] = a, e[30] = r, e[31] = $, e[32] = Q, e[33] = te) : te = e[33];
154479
+ e[29] !== a || e[30] !== r || e[31] !== $ || e[32] !== Q ? (te = /* @__PURE__ */ g.jsx(h5n, { consoleOutputs: r, stale: Q, cellName: $, onSubmitDebugger: D5n, cellId: a, debuggerActive: !1 }), e[29] = a, e[30] = r, e[31] = $, e[32] = Q, e[33] = te) : te = e[33];
154477
154480
  let ne;
154478
154481
  return e[34] !== E || e[35] !== a || e[36] !== R || e[37] !== $ || e[38] !== J || e[39] !== Z || e[40] !== K || e[41] !== te ? (ne = /* @__PURE__ */ g.jsxs("div", { tabIndex: -1, id: E, ref: x, className: R, "data-cell-id": a, "data-cell-name": $, children: [
154479
154482
  J,
@@ -154492,16 +154495,16 @@ const Q5n = () => {
154492
154495
  return e[49] !== E || e[50] !== a || e[51] !== R || e[52] !== $ || e[53] !== I ? (N = /* @__PURE__ */ g.jsx("div", { tabIndex: -1, id: E, ref: x, className: R, "data-cell-id": a, "data-cell-name": $, children: I }), e[49] = E, e[50] = a, e[51] = R, e[52] = $, e[53] = I, e[54] = N) : N = e[54], N;
154493
154496
  });
154494
154497
  bGe.displayName = "VerticalCell";
154495
- const R5n = {
154498
+ const C5n = {
154496
154499
  type: "vertical",
154497
154500
  name: "Vertical",
154498
154501
  validator: U.any(),
154499
- Component: T5n,
154502
+ Component: _5n,
154500
154503
  deserializeLayout: (t) => t,
154501
154504
  serializeLayout: (t) => t,
154502
154505
  getInitialLayout: () => null
154503
154506
  };
154504
- function C5n(t) {
154507
+ function X5n(t) {
154505
154508
  const e = /* @__PURE__ */ new Map();
154506
154509
  let n = 0;
154507
154510
  return t.forEach((r) => {
@@ -154510,26 +154513,26 @@ function C5n(t) {
154510
154513
  n = i, e.has(i) || e.set(i, []), (a = e.get(i)) == null || a.push(r);
154511
154514
  }), [...e.entries()].sort(([r], [i]) => r - i);
154512
154515
  }
154513
- function X5n(t) {
154516
+ function E5n(t) {
154514
154517
  return !!t.code;
154515
154518
  }
154516
- function E5n(t) {
154519
+ function z5n(t) {
154517
154520
  return !t;
154518
154521
  }
154519
- async function z5n() {
154522
+ async function q5n() {
154520
154523
  const t = document.getElementById("App");
154521
154524
  t && await aFt(t, document.title);
154522
154525
  }
154523
- async function q5n() {
154524
- document.getElementById("App") && await b5n({
154526
+ async function j5n() {
154527
+ document.getElementById("App") && await w5n({
154525
154528
  filename: document.title,
154526
154529
  includeCode: !0
154527
154530
  });
154528
154531
  }
154529
- function j5n() {
154532
+ function D5n() {
154530
154533
  return null;
154531
154534
  }
154532
- const D5n = ye.lazy(() => import("./slides-component-NkT1EsSz.js")), A5n = (t) => {
154535
+ const A5n = ye.lazy(() => import("./slides-component-sgUnNqQR.js")), W5n = (t) => {
154533
154536
  const e = he.c(11), {
154534
154537
  cells: n,
154535
154538
  mode: r
@@ -154541,7 +154544,7 @@ const D5n = ye.lazy(() => import("./slides-component-NkT1EsSz.js")), A5n = (t) =
154541
154544
  } else
154542
154545
  a = e[2];
154543
154546
  let o;
154544
- e[5] !== a ? (o = /* @__PURE__ */ g.jsx(D5n, { forceKeyboardNavigation: !0, children: a }), e[5] = a, e[6] = o) : o = e[6];
154547
+ e[5] !== a ? (o = /* @__PURE__ */ g.jsx(A5n, { forceKeyboardNavigation: !0, children: a }), e[5] = a, e[6] = o) : o = e[6];
154545
154548
  const s = o;
154546
154549
  if (i) {
154547
154550
  let c;
@@ -154562,17 +154565,17 @@ const D5n = ye.lazy(() => import("./slides-component-NkT1EsSz.js")), A5n = (t) =
154562
154565
  return e[2] !== r || e[3] !== o || e[4] !== n ? (s = /* @__PURE__ */ g.jsx(Ck, { className: "contents", allowExpand: !1, output: n, cellId: r, stale: o, loading: o }), e[2] = r, e[3] = o, e[4] = n, e[5] = s) : s = e[5], s;
154563
154566
  });
154564
154567
  wGe.displayName = "Slide";
154565
- const W5n = {
154568
+ const U5n = {
154566
154569
  type: "slides",
154567
154570
  name: "Slides",
154568
154571
  validator: U.object({}),
154569
154572
  deserializeLayout: (t, e) => ({}),
154570
154573
  serializeLayout: (t, e) => ({}),
154571
- Component: A5n,
154574
+ Component: W5n,
154572
154575
  getInitialLayout: () => ({})
154573
- }, U5n = [zcn, W5n, R5n];
154574
- function N5n(t, e, n) {
154575
- const r = U5n.find((i) => i.type === t);
154576
+ }, N5n = [zcn, U5n, C5n];
154577
+ function V5n(t, e, n) {
154578
+ const r = N5n.find((i) => i.type === t);
154576
154579
  if (r === void 0)
154577
154580
  throw new Error(`Unknown layout type: ${t}`);
154578
154581
  return r.deserializeLayout(e, n);
@@ -154604,7 +154607,7 @@ Aw(xGe, {
154604
154607
  }
154605
154608
  })
154606
154609
  });
154607
- function V5n(t, e) {
154610
+ function I5n(t, e) {
154608
154611
  const {
154609
154612
  autoInstantiate: n,
154610
154613
  setCells: r,
@@ -154637,7 +154640,7 @@ function V5n(t, e) {
154637
154640
  });
154638
154641
  }), Q = xGe();
154639
154642
  if (l) {
154640
- const z = l.type, q = N5n(z, l.data, v);
154643
+ const z = l.type, q = V5n(z, l.data, v);
154641
154644
  Q.selectedLayout = z, Q.layoutData[z] = q;
154642
154645
  }
154643
154646
  r(v, Q);
@@ -154660,11 +154663,11 @@ function V5n(t, e) {
154660
154663
  }));
154661
154664
  });
154662
154665
  }
154663
- function I5n(t) {
154666
+ function Y5n(t) {
154664
154667
  const e = t.cell_id;
154665
154668
  Ou.removeElementsByCell(e), U_.INSTANCE.removeForCellId(e);
154666
154669
  }
154667
- function Y5n(t, e) {
154670
+ function M5n(t, e) {
154668
154671
  e(t), U_.INSTANCE.track(t);
154669
154672
  }
154670
154673
  const rX = {
@@ -154742,13 +154745,13 @@ class Bne {
154742
154745
  }
154743
154746
  }
154744
154747
  let Swe = !1, cs;
154745
- function M5n() {
154748
+ function G5n() {
154746
154749
  Swe || (Swe = !0, cs = document.createElement("div"), cs.classList.add("marimo-islands-loading-toast"), cs.textContent = "⚡ reactivity initializing...", cs.style.position = "fixed", cs.style.top = "0.5rem", cs.style.left = "50%", cs.style.transform = "translateX(-50%)", cs.style.zIndex = "1000", cs.style.backgroundColor = "#0f172a", cs.style.color = "#f8fafc", cs.style.padding = "0.25rem 0.5rem", cs.style.borderRadius = "0.5rem", cs.style.fontSize = "0.875rem", document.body.append(cs));
154747
154750
  }
154748
- function G5n() {
154751
+ function Z5n() {
154749
154752
  cs && cs.remove();
154750
154753
  }
154751
- async function Z5n() {
154754
+ async function L5n() {
154752
154755
  Nln();
154753
154756
  const t = document.querySelectorAll(Go.tagName);
154754
154757
  if (t.length === 0)
@@ -154760,11 +154763,11 @@ async function Z5n() {
154760
154763
  });
154761
154764
  Zn.sub(Kye, () => {
154762
154765
  if (Zn.get(Kye)) {
154763
- M5n();
154766
+ G5n();
154764
154767
  for (const r of t)
154765
154768
  r.style.setProperty("opacity", "0.5");
154766
154769
  } else {
154767
- G5n();
154770
+ Z5n();
154768
154771
  for (const r of t)
154769
154772
  r.style.removeProperty("opacity");
154770
154773
  }
@@ -154789,7 +154792,7 @@ async function Z5n() {
154789
154792
  case "secret-keys-result":
154790
154793
  return;
154791
154794
  case "kernel-ready":
154792
- V5n(r.data, {
154795
+ I5n(r.data, {
154793
154796
  autoInstantiate: !0,
154794
154797
  setCells: e.setCells,
154795
154798
  setAppConfig: od.NOOP,
@@ -154804,13 +154807,13 @@ async function Z5n() {
154804
154807
  Ou.broadcastMessage(r.data.ui_element, r.data.message, r.data.buffers);
154805
154808
  return;
154806
154809
  case "remove-ui-elements":
154807
- I5n(r.data);
154810
+ Y5n(r.data);
154808
154811
  return;
154809
154812
  case "function-call-result":
154810
154813
  i9e.resolve(r.data.function_call_id, r.data);
154811
154814
  return;
154812
154815
  case "cell-op":
154813
- Y5n(r.data, e.handleCellMessage);
154816
+ M5n(r.data, e.handleCellMessage);
154814
154817
  return;
154815
154818
  case "alert":
154816
154819
  Lo({
@@ -154844,7 +154847,7 @@ async function Z5n() {
154844
154847
  once: !0
154845
154848
  }), Bne.INSTANCE.start(ZFt);
154846
154849
  }
154847
- Z5n();
154850
+ L5n();
154848
154851
  export {
154849
154852
  Lr as $,
154850
154853
  Ogt as A,
@@ -154893,7 +154896,7 @@ export {
154893
154896
  DIt as aE,
154894
154897
  r6e as aF,
154895
154898
  n6e as aG,
154896
- $Tn as aH,
154899
+ bTn as aH,
154897
154900
  iye as aI,
154898
154901
  w8 as aJ,
154899
154902
  tPe as aK,
@@ -154916,8 +154919,8 @@ export {
154916
154919
  kk as aa,
154917
154920
  Kv as ab,
154918
154921
  i6e as ac,
154919
- bTn as ad,
154920
- wTn as ae,
154922
+ wTn as ad,
154923
+ xTn as ae,
154921
154924
  gL as af,
154922
154925
  Qk as ag,
154923
154926
  a6e as ah,
@@ -155005,10 +155008,10 @@ export {
155005
155008
  tj as by,
155006
155009
  sht as bz,
155007
155010
  yr as c,
155008
- PTn as c$,
155011
+ kTn as c$,
155009
155012
  Nr as c0,
155010
- cTn as c1,
155011
- Ykn as c2,
155013
+ uTn as c1,
155014
+ Mkn as c2,
155012
155015
  MVt as c3,
155013
155016
  dMt as c4,
155014
155017
  zMt as c5,
@@ -155016,11 +155019,11 @@ export {
155016
155019
  eIt as c7,
155017
155020
  xk as c8,
155018
155021
  s6 as c9,
155019
- sTn as cA,
155020
- rTn as cB,
155021
- OTn as cC,
155022
+ lTn as cA,
155023
+ iTn as cB,
155024
+ hTn as cC,
155022
155025
  tP as cD,
155023
- oTn as cE,
155026
+ sTn as cE,
155024
155027
  LIt as cF,
155025
155028
  x6e as cG,
155026
155029
  Qv as cH,
@@ -155028,58 +155031,58 @@ export {
155028
155031
  rIt as cJ,
155029
155032
  wk as cK,
155030
155033
  mL as cL,
155031
- pTn as cM,
155032
- Ikn as cN,
155034
+ mTn as cM,
155035
+ Ykn as cN,
155033
155036
  VVt as cO,
155034
- Hkn as cP,
155035
- Kkn as cQ,
155036
- Jkn as cR,
155037
- Bkn as cS,
155037
+ Kkn as cP,
155038
+ Jkn as cQ,
155039
+ eTn as cR,
155040
+ Hkn as cS,
155038
155041
  Bee as cT,
155039
155042
  tIt as cU,
155040
- uTn as cV,
155041
- Fkn as cW,
155042
- Lkn as cX,
155043
- Zkn as cY,
155044
- Gkn as cZ,
155045
- nTn as c_,
155043
+ dTn as cV,
155044
+ Bkn as cW,
155045
+ Fkn as cX,
155046
+ Lkn as cY,
155047
+ Zkn as cZ,
155048
+ rTn as c_,
155046
155049
  vh as ca,
155047
155050
  l6 as cb,
155048
155051
  Zs as cc,
155049
- Nkn as cd,
155050
- Vkn as ce,
155051
- vTn as cf,
155052
- DTn as cg,
155052
+ Vkn as cd,
155053
+ Ikn as ce,
155054
+ $Tn as cf,
155055
+ ATn as cg,
155053
155056
  XMt as ch,
155054
155057
  Kw as ci,
155055
- iTn as cj,
155056
- Ukn as ck,
155058
+ aTn as cj,
155059
+ Nkn as ck,
155057
155060
  WVt as cl,
155058
155061
  Tg as cm,
155059
155062
  Kz as cn,
155060
- aTn as co,
155063
+ oTn as co,
155061
155064
  HDe as cp,
155062
- zTn as cq,
155065
+ qTn as cq,
155063
155066
  FIt as cr,
155064
- _Tn as cs,
155065
- TTn as ct,
155067
+ RTn as cs,
155068
+ _Tn as ct,
155066
155069
  Hw as cu,
155067
155070
  tte as cv,
155068
155071
  ete as cw,
155069
155072
  Fee as cx,
155070
- mTn as cy,
155073
+ gTn as cy,
155071
155074
  aIt as cz,
155072
155075
  he as d,
155073
- STn as d0,
155074
- kTn as d1,
155075
- QTn as d2,
155076
- tTn as d3,
155077
- eTn as d4,
155078
- xTn as d5,
155079
- XTn as d6,
155080
- RTn as d7,
155081
- ETn as d8,
155082
- CTn as d9,
155076
+ QTn as d0,
155077
+ TTn as d1,
155078
+ PTn as d2,
155079
+ nTn as d3,
155080
+ tTn as d4,
155081
+ STn as d5,
155082
+ ETn as d6,
155083
+ CTn as d7,
155084
+ zTn as d8,
155085
+ XTn as d9,
155083
155086
  GVt as dA,
155084
155087
  $s as dB,
155085
155088
  qV as dC,
@@ -155088,7 +155091,7 @@ export {
155088
155091
  TMt as dF,
155089
155092
  nIt as dG,
155090
155093
  dC as dH,
155091
- jTn as dI,
155094
+ DTn as dI,
155092
155095
  iq as dJ,
155093
155096
  _L as dK,
155094
155097
  GDe as dL,
@@ -155102,18 +155105,18 @@ export {
155102
155105
  NK as dT,
155103
155106
  WT as dU,
155104
155107
  aa as dV,
155105
- Z5n as dW,
155106
- yTn as da,
155107
- gTn as db,
155108
- hTn as dc,
155109
- lTn as dd,
155108
+ L5n as dW,
155109
+ vTn as da,
155110
+ yTn as db,
155111
+ pTn as dc,
155112
+ cTn as dd,
155110
155113
  cIt as de,
155111
155114
  oIt as df,
155112
- fTn as dg,
155113
- dTn as dh,
155115
+ OTn as dg,
155116
+ fTn as dh,
155114
155117
  lIt as di,
155115
- qTn as dj,
155116
- Mkn as dk,
155118
+ jTn as dj,
155119
+ Gkn as dk,
155117
155120
  MDe as dl,
155118
155121
  bc as dm,
155119
155122
  Ns as dn,
@@ -155135,7 +155138,7 @@ export {
155135
155138
  Qi as i,
155136
155139
  g as j,
155137
155140
  rr as k,
155138
- D_n as l,
155141
+ A_n as l,
155139
155142
  OD as m,
155140
155143
  XT as n,
155141
155144
  Fi as o,