@marimo-team/islands 0.25.3-dev308 → 0.25.3-dev310

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 (106) hide show
  1. package/dist/{ConnectedDataExplorerComponent-DJnSxHJB.js → ConnectedDataExplorerComponent-DieU6L4x.js} +1 -1
  2. package/dist/{ErrorBoundary-flfhLFje.js → ErrorBoundary-DjoeT4kv.js} +1 -1
  3. package/dist/{abnfDiagram-VCTEODGH-CR0U5hup.js → abnfDiagram-VCTEODGH-LOVrjbdp.js} +2 -2
  4. package/dist/{any-language-editor-C5dsTpeB.js → any-language-editor-DMC2JE9_.js} +1 -1
  5. package/dist/{architectureDiagram-5GKGNRK7-Bc_fbI1Q.js → architectureDiagram-5GKGNRK7-RZsm312h.js} +1 -1
  6. package/dist/assets/__vite-browser-external-BSp9tJ_k.js +1 -0
  7. package/dist/assets/worker-BdfPA0g5.js +171 -0
  8. package/dist/{chat-ui-C4iLRzY0.js → chat-ui-DkuxGEDp.js} +418 -418
  9. package/dist/{chunk-IMKFNOWR-y9z5oeAY.js → chunk-IMKFNOWR-B6agbLjo.js} +1 -1
  10. package/dist/{chunk-SHT3W25Y-Tu-V-e_v.js → chunk-SHT3W25Y-CfULafYG.js} +1 -1
  11. package/dist/{chunk-SVP7TREG-CJFxs5R_.js → chunk-SVP7TREG-DEOpPMJp.js} +1 -1
  12. package/dist/{chunk-TICWLB2K-zkTP7ya7.js → chunk-TICWLB2K-DaH-gkX5.js} +1 -1
  13. package/dist/{classDiagram-ZZMXUADV-DxJAZI0N.js → classDiagram-ZZMXUADV-C0CyiWQ7.js} +2 -2
  14. package/dist/{classDiagram-v2-VYDZK3BY-TmHo2BpS.js → classDiagram-v2-VYDZK3BY-xfIc9e2Y.js} +2 -2
  15. package/dist/{code-visibility-BDs_r7jH.js → code-visibility-CduMVVFS.js} +32 -32
  16. package/dist/{common-CMTsL35V.js → common-CMcEcucH.js} +919 -919
  17. package/dist/{config-BG2qKzDg.js → config-BVYA1P0C.js} +103 -76
  18. package/dist/{cynefinDiagram-5FMLGOSQ-Eb40hmhD.js → cynefinDiagram-5FMLGOSQ-DwGYhKu0.js} +1 -1
  19. package/dist/{dagre-GXQ25YYZ-_paaVwit.js → dagre-GXQ25YYZ-DfMaWJOV.js} +1 -1
  20. package/dist/{data-grid-overlay-editor-es6V6qf-.js → data-grid-overlay-editor-BYrIVut3.js} +1 -1
  21. package/dist/{diagram-S7CK7UJ4-BtKJm1_4.js → diagram-S7CK7UJ4-Bw_L87GZ.js} +1 -1
  22. package/dist/{diagram-UQ7AKVKN-DQbxhEMd.js → diagram-UQ7AKVKN-nsrs3Fbz.js} +1 -1
  23. package/dist/{diagram-VX7I27RA-DITDIfGC.js → diagram-VX7I27RA-7ST9lEqP.js} +1 -1
  24. package/dist/{diagram-Z3DM3KII-Ct9_zo6F.js → diagram-Z3DM3KII-BnGte-HX.js} +1 -1
  25. package/dist/{ebnfDiagram-PWID7BFC-6cOntwfv.js → ebnfDiagram-PWID7BFC-zaKyJ1YL.js} +2 -2
  26. package/dist/{erDiagram-RLTQ6QDP-CJiOER41.js → erDiagram-RLTQ6QDP-Cx7g95FZ.js} +1 -1
  27. package/dist/{error-banner-DGOrmBk5.js → error-banner-DkQNU4bn.js} +128 -128
  28. package/dist/{error-entries-BWmleiL0.js → error-entries-istW7Xbs.js} +589 -544
  29. package/dist/{feedback-button-D4eVjeNs.js → feedback-button-Zvm26aOQ.js} +107 -106
  30. package/dist/{flowDiagram-HODETNUW-1lPBEUuW.js → flowDiagram-HODETNUW-C7nIqaHP.js} +2 -2
  31. package/dist/{formats-qhBmYb0l.js → formats-CMa7L3E8.js} +1 -1
  32. package/dist/{glide-data-editor-ahfaPdFW.js → glide-data-editor-BE-GgVp4.js} +3 -3
  33. package/dist/{globals-m8oswz--.js → globals-Dbru-WLP.js} +1 -1
  34. package/dist/{html-to-image-B8hE6HIH.js → html-to-image-pPbR2cDx.js} +4512 -4464
  35. package/dist/{infoDiagram-27XIBGKW-C6K4tri5.js → infoDiagram-27XIBGKW-BTM_NXsn.js} +1 -1
  36. package/dist/{ishikawaDiagram-5VMMS53U-DwcwgRNH.js → ishikawaDiagram-5VMMS53U-K0FZrlvv.js} +1 -1
  37. package/dist/{kanban-definition-UXKFOSKX-E489OMdc.js → kanban-definition-UXKFOSKX-ftznOyrz.js} +1 -1
  38. package/dist/main.js +6595 -6186
  39. package/dist/{mermaid-DMPMkVqY.js → mermaid-CNgH43ED.js} +33 -33
  40. package/dist/{mindmap-definition-YA3MSWOX-DWHjasOp.js → mindmap-definition-YA3MSWOX-CmzbxKfM.js} +1 -1
  41. package/dist/{number-overlay-editor-C6klKzEr.js → number-overlay-editor-qvlPZ-l-.js} +1 -1
  42. package/dist/{pegDiagram-XKGWAZYB-COjcPOZT.js → pegDiagram-XKGWAZYB-DfTAWfGE.js} +2 -2
  43. package/dist/{pieDiagram-E7YTZNPT-BHAVZ38h.js → pieDiagram-E7YTZNPT-_kGQstZj.js} +1 -1
  44. package/dist/{process-output-DZDL_j1a.js → process-output-BySO1nIs.js} +3 -3
  45. package/dist/{railroadDiagram-O6MQD6OU-94ThFyKX.js → railroadDiagram-O6MQD6OU-D41WmIff.js} +2 -2
  46. package/dist/{requirementDiagram-BXWQKSXE-CpF-Fxbb.js → requirementDiagram-BXWQKSXE-Bh53ZI3I.js} +1 -1
  47. package/dist/{reveal-component-DwnxPyVz.js → reveal-component-DQaegdcW.js} +4 -4
  48. package/dist/{sequenceDiagram-WJ2MYXX4-CvANK2x7.js → sequenceDiagram-WJ2MYXX4-DBX27dNm.js} +1 -1
  49. package/dist/{stateDiagram-D77RDMKH-WHuJ4mJL.js → stateDiagram-D77RDMKH-CSYz2IZi.js} +2 -2
  50. package/dist/{stateDiagram-v2-MP3YSRHH-DbO7lwYq.js → stateDiagram-v2-MP3YSRHH-DVLvtOqn.js} +2 -2
  51. package/dist/{swimlanes-42K2YHIH-CS2s29Vo.js → swimlanes-42K2YHIH-D59N0ktA.js} +1 -1
  52. package/dist/{swimlanesDiagram-VR7AAH4N-CXaA1vQg.js → swimlanesDiagram-VR7AAH4N-CRgpmVSW.js} +2 -2
  53. package/dist/{timeline-definition-24CTP7MA-B-SQMg5h.js → timeline-definition-24CTP7MA-C_xIIZDM.js} +1 -1
  54. package/dist/toDate-5qPtZ6HL.js +94 -0
  55. package/dist/{vega-component-DwqGfN3_.js → vega-component-Bly2lDhz.js} +10 -10
  56. package/dist/{vennDiagram-4TSXK5OY-etEFgvaG.js → vennDiagram-4TSXK5OY-DlOf0Mjs.js} +1 -1
  57. package/dist/{wardleyDiagram-VM6X3IG4-BEQN7g62.js → wardleyDiagram-VM6X3IG4-zD_2guVe.js} +1 -1
  58. package/dist/{xychartDiagram-S5SC5T6Z-D8-e5Z0R.js → xychartDiagram-S5SC5T6Z-CA0Dy1ZM.js} +1 -1
  59. package/package.json +1 -1
  60. package/src/__mocks__/executions.ts +35 -13
  61. package/src/__mocks__/requests.ts +0 -1
  62. package/src/components/editor/cell/__tests__/useRunCells.test.tsx +86 -101
  63. package/src/components/editor/cell/useRunCells.ts +38 -65
  64. package/src/components/editor/notebook-cell.tsx +32 -20
  65. package/src/components/editor/output/ansi-reduce.ts +7 -0
  66. package/src/core/ai/__tests__/staged-cells.test.ts +1 -1
  67. package/src/core/cells/__tests__/__snapshots__/cells.test.ts.snap +2 -0
  68. package/src/core/cells/__tests__/cells.test.ts +0 -14
  69. package/src/core/cells/__tests__/collapseConsoleOutputs.test.ts +15 -0
  70. package/src/core/cells/__tests__/utils.test.ts +1 -1
  71. package/src/core/cells/add-missing-import.ts +2 -5
  72. package/src/core/cells/cell.ts +1 -0
  73. package/src/core/cells/cells.ts +1 -2
  74. package/src/core/executions/__tests__/atoms.test.ts +227 -43
  75. package/src/core/executions/__tests__/hooks.test.tsx +1 -2
  76. package/src/core/executions/__tests__/input.test.ts +86 -0
  77. package/src/core/executions/__tests__/run.test.ts +390 -0
  78. package/src/core/executions/__tests__/select.test.ts +105 -30
  79. package/src/core/executions/atoms.ts +186 -71
  80. package/src/core/executions/index.ts +7 -6
  81. package/src/core/executions/input.ts +55 -0
  82. package/src/core/executions/run.ts +120 -0
  83. package/src/core/executions/select.ts +59 -24
  84. package/src/core/islands/__tests__/bridge.test.ts +35 -54
  85. package/src/core/islands/bootstrap.ts +5 -1
  86. package/src/core/islands/bridge.ts +16 -28
  87. package/src/core/islands/components/IslandControls.tsx +15 -7
  88. package/src/core/islands/components/__tests__/IslandControls.test.tsx +36 -53
  89. package/src/core/islands/worker/worker.tsx +45 -19
  90. package/src/core/network/__tests__/requests-lazy.test.ts +14 -24
  91. package/src/core/network/__tests__/requests-toasting.test.tsx +7 -7
  92. package/src/core/network/requests-lazy.ts +2 -3
  93. package/src/core/network/requests-network.ts +0 -9
  94. package/src/core/network/requests-static.ts +0 -1
  95. package/src/core/network/requests-toasting.tsx +0 -1
  96. package/src/core/network/types.ts +0 -2
  97. package/src/core/notebook/replica/__tests__/fixtures.ts +17 -1
  98. package/src/core/notebook/replica/backend.ts +3 -1
  99. package/src/core/runtime/__tests__/runtime.test.ts +36 -0
  100. package/src/core/runtime/config.ts +36 -1
  101. package/src/core/runtime/runtime.ts +21 -1
  102. package/src/core/transports/static.ts +4 -3
  103. package/src/core/wasm/bridge.ts +0 -17
  104. package/dist/assets/__vite-browser-external-DzTYIHH_.js +0 -1
  105. package/dist/assets/worker-BH08I2Il.js +0 -171
  106. package/dist/static-state-Dtocd9UO.js +0 -68
@@ -3,16 +3,17 @@ import { h as t, t as n } from "./button-BuSV-mLI.js";
3
3
  import { t as r } from "./react-CHbZqgBF.js";
4
4
  import { t as i } from "./compiler-runtime-DNezxW8I.js";
5
5
  import { t as a } from "./copy-icon-oHFcxX_y.js";
6
- import { D as o, E as s, F as c, Gt as l, L as u, i as d, j as f, n as p, q as m } from "./error-entries-BWmleiL0.js";
7
- import { n as h, t as ee } from "./globals-m8oswz--.js";
8
- import { r as g } from "./assertNever-efcK_v3t.js";
9
- import { t as _ } from "./jsx-runtime-6ZiU38At.js";
10
- import { Ft as te, p as v, yt as ne } from "./use-restore-focus-DyrKLdSB.js";
6
+ import { A as o, E as s, Gt as c, H as l, M as u, i as d, n as f } from "./error-entries-istW7Xbs.js";
7
+ import { n as p, t as m } from "./globals-Dbru-WLP.js";
8
+ import { r as h } from "./assertNever-efcK_v3t.js";
9
+ import { t as g } from "./jsx-runtime-6ZiU38At.js";
10
+ import { Ft as ee, p as _, yt as te } from "./use-restore-focus-DyrKLdSB.js";
11
+ import { c as ne, v } from "./toDate-5qPtZ6HL.js";
11
12
  import { a as re, i as ie, n as ae, r as oe } from "./dialog-BIUdMLIS.js";
12
13
  import { t as se } from "./useAsyncData-DMBliR6D.js";
13
- import { t as ce } from "./code-visibility-BDs_r7jH.js";
14
+ import { t as ce } from "./code-visibility-CduMVVFS.js";
14
15
  //#region src/components/ui/skeleton.tsx
15
- var y = /* @__PURE__ */ e(r(), 1), b = i(), x = _(), S = (e) => {
16
+ var y = /* @__PURE__ */ e(r(), 1), b = i(), x = g(), le = (e) => {
16
17
  let n = (0, b.c)(8), r, i;
17
18
  n[0] === e ? (r = n[1], i = n[2]) : ({className: r, ...i} = e, n[0] = e, n[1] = r, n[2] = i);
18
19
  let a;
@@ -25,7 +26,7 @@ var y = /* @__PURE__ */ e(r(), 1), b = i(), x = _(), S = (e) => {
25
26
  };
26
27
  //#endregion
27
28
  //#region src/core/diagnostics/issue-details.ts
28
- function le(e, t) {
29
+ function ue(e, t) {
29
30
  return {
30
31
  ...e,
31
32
  Binaries: {
@@ -34,7 +35,7 @@ function le(e, t) {
34
35
  }
35
36
  };
36
37
  }
37
- function ue(e, t, n, r) {
38
+ function de(e, t, n, r) {
38
39
  return {
39
40
  marimo: e,
40
41
  Locale: n || void 0,
@@ -42,11 +43,11 @@ function ue(e, t, n, r) {
42
43
  "Environment Collection Error": r
43
44
  };
44
45
  }
45
- function C(e, t) {
46
+ function S(e, t) {
46
47
  let n = Math.max(2, ...Array.from(t.matchAll(/`+/g), (e) => e[0].length)), r = "`".repeat(n + 1);
47
48
  return `${r}${e}\n${t}\n${r}`;
48
49
  }
49
- function de(e, t) {
50
+ function fe(e, t) {
50
51
  let n = e.includes("?") ? "&" : "?", r = [], i = e, a = 0;
51
52
  for (let [e, o] of Object.entries(t)) {
52
53
  if (o.length === 0) continue;
@@ -58,40 +59,40 @@ function de(e, t) {
58
59
  omitted: r
59
60
  };
60
61
  }
61
- function w(e, t) {
62
+ function C(e, t) {
62
63
  return [
63
64
  "<details>",
64
- `<summary>${g.htmlEscape(e) ?? ""}</summary>`,
65
+ `<summary>${h.htmlEscape(e) ?? ""}</summary>`,
65
66
  "",
66
67
  t,
67
68
  "",
68
69
  "</details>"
69
70
  ].join("\n");
70
71
  }
71
- function fe(e) {
72
- return w("Environment", C("json", JSON.stringify(e, null, 2)));
73
- }
74
72
  function pe(e) {
75
- return w("Errors", C("text", e.map(p).join("\n\n---\n\n")));
73
+ return C("Environment", S("json", JSON.stringify(e, null, 2)));
76
74
  }
77
75
  function me(e) {
78
- return w("Code", C("python", e));
76
+ return C("Errors", S("text", e.map(f).join("\n\n---\n\n")));
77
+ }
78
+ function he(e) {
79
+ return C("Code", S("python", e));
79
80
  }
80
81
  //#endregion
81
82
  //#region src/hooks/useLocalStorage.ts
82
- function he(e, t) {
83
+ function ge(e, t) {
83
84
  let n = (0, b.c)(11), r;
84
- n[0] === t ? r = n[1] : (r = new c(t), n[0] = t, n[1] = r);
85
+ n[0] === t ? r = n[1] : (r = new o(t), n[0] = t, n[1] = r);
85
86
  let i = r, a;
86
87
  n[2] !== e || n[3] !== i ? (a = () => i.get(e), n[2] = e, n[3] = i, n[4] = a) : a = n[4];
87
- let [o, s] = (0, y.useState)(a), l;
88
+ let [s, c] = (0, y.useState)(a), l;
88
89
  n[5] !== e || n[6] !== i ? (l = (t) => {
89
- s(t), i.set(e, t);
90
+ c(t), i.set(e, t);
90
91
  }, n[5] = e, n[6] = i, n[7] = l) : l = n[7];
91
92
  let u = l, d;
92
- return n[8] !== u || n[9] !== o ? (d = [o, u], n[8] = u, n[9] = o, n[10] = d) : d = n[10], d;
93
+ return n[8] !== u || n[9] !== s ? (d = [s, u], n[8] = u, n[9] = s, n[10] = d) : d = n[10], d;
93
94
  }
94
- var ge = (e) => {
95
+ var _e = (e) => {
95
96
  let r = (0, b.c)(16), { content: i } = e, [a, o] = (0, y.useState)(!1), s = !a && "max-h-24 overflow-hidden", c;
96
97
  r[0] === s ? c = r[1] : (c = t("text-xs bg-muted rounded p-2 overflow-x-auto whitespace-pre-wrap", s), r[0] = s, r[1] = c);
97
98
  let l;
@@ -107,7 +108,7 @@ var ge = (e) => {
107
108
  children: [l, u]
108
109
  }), r[7] = l, r[8] = u, r[9] = d) : d = r[9];
109
110
  let f;
110
- r[10] === Symbol.for("react.memo_cache_sentinel") ? (f = () => o(E), r[10] = f) : f = r[10];
111
+ r[10] === Symbol.for("react.memo_cache_sentinel") ? (f = () => o(T), r[10] = f) : f = r[10];
111
112
  let p = a ? "Show less" : "Show more", m;
112
113
  r[11] === p ? m = r[12] : (m = /* @__PURE__ */ (0, x.jsx)(n, {
113
114
  type: "button",
@@ -123,73 +124,73 @@ var ge = (e) => {
123
124
  children: [d, m]
124
125
  }), r[13] = d, r[14] = m, r[15] = h) : h = r[15], h;
125
126
  };
126
- function _e(e) {
127
+ function ve(e) {
127
128
  if (!e.hasRequestClient) return "Notebook source is unavailable.";
128
129
  if (e.filename === null) return "Save the notebook first.";
129
130
  if (!e.codeAvailable) return "Notebook source is hidden in this view.";
130
- if (e.connectionState !== f.OPEN) return "Connect the notebook to include its source.";
131
+ if (e.connectionState !== v.OPEN) return "Connect the notebook to include its source.";
131
132
  }
132
- var T = () => {
133
- let e = (0, b.c)(56), t = te(m), r, i;
133
+ var w = () => {
134
+ let e = (0, b.c)(56), t = ee(l), r, i;
134
135
  e[0] === t ? (r = e[1], i = e[2]) : (r = async () => {
135
136
  if (t != null) return t.getEnvironmentInfo();
136
137
  }, i = [t], e[0] = t, e[1] = r, e[2] = i);
137
- let c = se(r, i), f = d(ne), g = ce(), _ = te(u), y = te(o), C = t != null, w;
138
- e[3] !== g || e[4] !== y.state || e[5] !== _ || e[6] !== C ? (w = _e({
139
- hasRequestClient: C,
140
- filename: _,
138
+ let o = se(r, i), h = d(te), g = ce(), v = ee(u), y = ee(ne), S = t != null, C;
139
+ e[3] !== g || e[4] !== y.state || e[5] !== v || e[6] !== S ? (C = ve({
140
+ hasRequestClient: S,
141
+ filename: v,
141
142
  codeAvailable: g,
142
143
  connectionState: y.state
143
- }), e[3] = g, e[4] = y.state, e[5] = _, e[6] = C, e[7] = w) : w = e[7];
144
- let T = w, E = T === void 0, [D, O] = he("marimo:issue-report:include-errors", !1), [k, ye] = he("marimo:issue-report:include-code", !1), A = c.data ? le(c.data, navigator.userAgent) : c.status === "error" || t == null ? ue(ee(), navigator.userAgent, navigator.language, "Server environment information unavailable") : void 0, j, M;
145
- e[8] !== k || e[9] !== E || e[10] !== t ? (j = async () => {
146
- if (!k || !E || t == null) return;
144
+ }), e[3] = g, e[4] = y.state, e[5] = v, e[6] = S, e[7] = C) : C = e[7];
145
+ let w = C, T = w === void 0, [E, D] = ge("marimo:issue-report:include-errors", !1), [O, be] = ge("marimo:issue-report:include-code", !1), k = o.data ? ue(o.data, navigator.userAgent) : o.status === "error" || t == null ? de(m(), navigator.userAgent, navigator.language, "Server environment information unavailable") : void 0, A, j;
146
+ e[8] !== O || e[9] !== T || e[10] !== t ? (A = async () => {
147
+ if (!O || !T || t == null) return;
147
148
  let { contents: e } = await t.readCode();
148
149
  return e;
149
- }, M = [
150
- k,
151
- E,
150
+ }, j = [
151
+ O,
152
+ T,
152
153
  t
153
- ], e[8] = k, e[9] = E, e[10] = t, e[11] = j, e[12] = M) : (j = e[11], M = e[12]);
154
- let N = se(j, M), be = v.bugReportUrl, xe = [];
155
- if (A) {
156
- let e = { env: fe(A) };
157
- D && f.length > 0 && (e["bug-description"] = pe(f)), k && N.data && (e["reproduction-code"] = me(N.data)), {url: be, omitted: xe} = de(v.bugReportUrl, e);
154
+ ], e[8] = O, e[9] = T, e[10] = t, e[11] = A, e[12] = j) : (A = e[11], j = e[12]);
155
+ let M = se(A, j), xe = _.bugReportUrl, Se = [];
156
+ if (k) {
157
+ let e = { env: pe(k) };
158
+ E && h.length > 0 && (e["bug-description"] = me(h)), O && M.data && (e["reproduction-code"] = he(M.data)), {url: xe, omitted: Se} = fe(_.bugReportUrl, e);
158
159
  }
159
- let Se = xe.map(ve).join(", "), P;
160
- e[13] === Symbol.for("react.memo_cache_sentinel") ? (P = /* @__PURE__ */ (0, x.jsxs)(ie, { children: [/* @__PURE__ */ (0, x.jsx)(re, { children: "Report an issue" }), /* @__PURE__ */ (0, x.jsx)(oe, { children: "Open a GitHub bug report prefilled with your environment, and optionally your current errors and notebook code. Nothing is uploaded automatically; review the details before posting." })] }), e[13] = P) : P = e[13];
161
- let F;
162
- e[14] === Symbol.for("react.memo_cache_sentinel") ? (F = /* @__PURE__ */ (0, x.jsx)(l, { className: "w-4 h-4 mr-2" }), e[14] = F) : F = e[14];
163
- let I = f.length === 0, L;
164
- e[15] === O ? L = e[16] : (L = (e) => O(e === !0), e[15] = O, e[16] = L);
165
- let R;
166
- e[17] !== D || e[18] !== I || e[19] !== L ? (R = /* @__PURE__ */ (0, x.jsx)(s, {
160
+ let Ce = Se.map(ye).join(", "), N;
161
+ e[13] === Symbol.for("react.memo_cache_sentinel") ? (N = /* @__PURE__ */ (0, x.jsxs)(ie, { children: [/* @__PURE__ */ (0, x.jsx)(re, { children: "Report an issue" }), /* @__PURE__ */ (0, x.jsx)(oe, { children: "Open a GitHub bug report prefilled with your environment, and optionally your current errors and notebook code. Nothing is uploaded automatically; review the details before posting." })] }), e[13] = N) : N = e[13];
162
+ let P;
163
+ e[14] === Symbol.for("react.memo_cache_sentinel") ? (P = /* @__PURE__ */ (0, x.jsx)(c, { className: "w-4 h-4 mr-2" }), e[14] = P) : P = e[14];
164
+ let F = h.length === 0, I;
165
+ e[15] === D ? I = e[16] : (I = (e) => D(e === !0), e[15] = D, e[16] = I);
166
+ let L;
167
+ e[17] !== E || e[18] !== F || e[19] !== I ? (L = /* @__PURE__ */ (0, x.jsx)(s, {
167
168
  id: "issue-include-errors",
168
- checked: D,
169
- disabled: I,
170
- onCheckedChange: L,
169
+ checked: E,
170
+ disabled: F,
171
+ onCheckedChange: I,
171
172
  "aria-label": "Include errors"
172
- }), e[17] = D, e[18] = I, e[19] = L, e[20] = R) : R = e[20];
173
- let z;
174
- e[21] === Symbol.for("react.memo_cache_sentinel") ? (z = /* @__PURE__ */ (0, x.jsx)("label", {
173
+ }), e[17] = E, e[18] = F, e[19] = I, e[20] = L) : L = e[20];
174
+ let R;
175
+ e[21] === Symbol.for("react.memo_cache_sentinel") ? (R = /* @__PURE__ */ (0, x.jsx)("label", {
175
176
  htmlFor: "issue-include-errors",
176
177
  children: "Include errors"
177
- }), e[21] = z) : z = e[21];
178
- let B;
179
- e[22] === R ? B = e[23] : (B = /* @__PURE__ */ (0, x.jsxs)("div", {
178
+ }), e[21] = R) : R = e[21];
179
+ let z;
180
+ e[22] === L ? z = e[23] : (z = /* @__PURE__ */ (0, x.jsxs)("div", {
180
181
  className: "flex items-center gap-2 text-sm",
181
- children: [R, z]
182
- }), e[22] = R, e[23] = B);
183
- let Ce = !E, V;
184
- e[24] === ye ? V = e[25] : (V = (e) => ye(e === !0), e[24] = ye, e[25] = V);
182
+ children: [L, R]
183
+ }), e[22] = L, e[23] = z);
184
+ let B = !T, V;
185
+ e[24] === be ? V = e[25] : (V = (e) => be(e === !0), e[24] = be, e[25] = V);
185
186
  let H;
186
- e[26] !== k || e[27] !== Ce || e[28] !== V ? (H = /* @__PURE__ */ (0, x.jsx)(s, {
187
+ e[26] !== O || e[27] !== B || e[28] !== V ? (H = /* @__PURE__ */ (0, x.jsx)(s, {
187
188
  id: "issue-include-code",
188
- checked: k,
189
- disabled: Ce,
189
+ checked: O,
190
+ disabled: B,
190
191
  onCheckedChange: V,
191
192
  "aria-label": "Include notebook code"
192
- }), e[26] = k, e[27] = Ce, e[28] = V, e[29] = H) : H = e[29];
193
+ }), e[26] = O, e[27] = B, e[28] = V, e[29] = H) : H = e[29];
193
194
  let U;
194
195
  e[30] === Symbol.for("react.memo_cache_sentinel") ? (U = /* @__PURE__ */ (0, x.jsx)("label", {
195
196
  htmlFor: "issue-include-code",
@@ -201,15 +202,15 @@ var T = () => {
201
202
  children: [H, U]
202
203
  }), e[31] = H, e[32] = W);
203
204
  let G;
204
- e[33] === T ? G = e[34] : (G = T && /* @__PURE__ */ (0, x.jsx)("span", {
205
+ e[33] === w ? G = e[34] : (G = w && /* @__PURE__ */ (0, x.jsx)("span", {
205
206
  className: "text-xs text-muted-foreground ml-6",
206
- children: T
207
- }), e[33] = T, e[34] = G);
207
+ children: w
208
+ }), e[33] = w, e[34] = G);
208
209
  let K;
209
- e[35] !== N || e[36] !== k ? (K = k && N.status === "error" && /* @__PURE__ */ (0, x.jsx)("span", {
210
+ e[35] !== M || e[36] !== O ? (K = O && M.status === "error" && /* @__PURE__ */ (0, x.jsx)("span", {
210
211
  className: "text-xs text-(--red-11) ml-6",
211
212
  children: "Notebook source could not be loaded."
212
- }), e[35] = N, e[36] = k, e[37] = K) : K = e[37];
213
+ }), e[35] = M, e[36] = O, e[37] = K) : K = e[37];
213
214
  let q;
214
215
  e[38] !== W || e[39] !== G || e[40] !== K ? (q = /* @__PURE__ */ (0, x.jsxs)("div", {
215
216
  className: "flex flex-col gap-1",
@@ -220,46 +221,46 @@ var T = () => {
220
221
  ]
221
222
  }), e[38] = W, e[39] = G, e[40] = K, e[41] = q) : q = e[41];
222
223
  let J;
223
- e[42] !== B || e[43] !== q ? (J = /* @__PURE__ */ (0, x.jsxs)("div", {
224
+ e[42] !== z || e[43] !== q ? (J = /* @__PURE__ */ (0, x.jsxs)("div", {
224
225
  className: "flex flex-col gap-2",
225
- children: [B, q]
226
- }), e[42] = B, e[43] = q, e[44] = J) : J = e[44];
226
+ children: [z, q]
227
+ }), e[42] = z, e[43] = q, e[44] = J) : J = e[44];
227
228
  let Y;
228
- e[45] !== c.status || e[46] !== t ? (Y = c.status === "pending" && t != null && /* @__PURE__ */ (0, x.jsxs)("div", {
229
+ e[45] !== o.status || e[46] !== t ? (Y = o.status === "pending" && t != null && /* @__PURE__ */ (0, x.jsxs)("div", {
229
230
  className: "flex flex-col gap-2",
230
231
  children: [
231
232
  /* @__PURE__ */ (0, x.jsx)("span", {
232
233
  className: "text-sm text-muted-foreground",
233
234
  children: "Loading environment details…"
234
235
  }),
235
- /* @__PURE__ */ (0, x.jsx)(S, { className: "h-4 w-full" }),
236
- /* @__PURE__ */ (0, x.jsx)(S, { className: "h-4 w-3/4" }),
237
- /* @__PURE__ */ (0, x.jsx)(S, { className: "h-4 w-1/2" })
236
+ /* @__PURE__ */ (0, x.jsx)(le, { className: "h-4 w-full" }),
237
+ /* @__PURE__ */ (0, x.jsx)(le, { className: "h-4 w-3/4" }),
238
+ /* @__PURE__ */ (0, x.jsx)(le, { className: "h-4 w-1/2" })
238
239
  ]
239
- }), e[45] = c.status, e[46] = t, e[47] = Y) : Y = e[47];
240
+ }), e[45] = o.status, e[46] = t, e[47] = Y) : Y = e[47];
240
241
  let X;
241
- e[48] !== c || e[49] !== t ? (X = (c.status === "error" || t == null) && /* @__PURE__ */ (0, x.jsxs)("div", {
242
+ e[48] !== o || e[49] !== t ? (X = (o.status === "error" || t == null) && /* @__PURE__ */ (0, x.jsxs)("div", {
242
243
  className: "flex items-center gap-2 text-sm",
243
244
  children: [
244
- /* @__PURE__ */ (0, x.jsx)(h, { className: "w-4 h-4 text-(--yellow-11) shrink-0" }),
245
+ /* @__PURE__ */ (0, x.jsx)(p, { className: "w-4 h-4 text-(--yellow-11) shrink-0" }),
245
246
  /* @__PURE__ */ (0, x.jsx)("span", { children: "Server environment information unavailable" }),
246
247
  t != null && /* @__PURE__ */ (0, x.jsx)(n, {
247
248
  type: "button",
248
249
  variant: "link",
249
250
  size: "xs",
250
- onClick: () => c.refetch(),
251
+ onClick: () => o.refetch(),
251
252
  children: "Retry"
252
253
  })
253
254
  ]
254
- }), e[48] = c, e[49] = t, e[50] = X) : X = e[50];
255
+ }), e[48] = o, e[49] = t, e[50] = X) : X = e[50];
255
256
  let Z;
256
- e[51] !== A || e[52] !== f ? (Z = A && f.length === 0 && /* @__PURE__ */ (0, x.jsx)("span", {
257
+ e[51] !== k || e[52] !== h ? (Z = k && h.length === 0 && /* @__PURE__ */ (0, x.jsx)("span", {
257
258
  className: "text-sm text-muted-foreground",
258
259
  children: "No errors detected."
259
- }), e[51] = A, e[52] = f, e[53] = Z) : Z = e[53];
260
+ }), e[51] = k, e[52] = h, e[53] = Z) : Z = e[53];
260
261
  let Q;
261
262
  e[54] === Symbol.for("react.memo_cache_sentinel") ? (Q = /* @__PURE__ */ (0, x.jsx)("a", {
262
- href: v.feedbackForm,
263
+ href: _.feedbackForm,
263
264
  target: "_blank",
264
265
  rel: "noreferrer",
265
266
  className: "underline",
@@ -278,7 +279,7 @@ var T = () => {
278
279
  "or chat with us on",
279
280
  " ",
280
281
  /* @__PURE__ */ (0, x.jsx)("a", {
281
- href: v.discordLink,
282
+ href: _.discordLink,
282
283
  target: "_blank",
283
284
  rel: "noreferrer",
284
285
  className: "underline",
@@ -289,7 +290,7 @@ var T = () => {
289
290
  })
290
291
  }), e[55] = $) : $ = e[55], /* @__PURE__ */ (0, x.jsxs)(ae, {
291
292
  className: "w-[540px] max-w-[90vw]",
292
- children: [P, /* @__PURE__ */ (0, x.jsxs)("div", {
293
+ children: [N, /* @__PURE__ */ (0, x.jsxs)("div", {
293
294
  className: "flex flex-col gap-4 max-h-[60vh] overflow-y-auto",
294
295
  children: [
295
296
  /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -302,18 +303,18 @@ var T = () => {
302
303
  asChild: !0,
303
304
  className: "self-start",
304
305
  children: /* @__PURE__ */ (0, x.jsxs)("a", {
305
- href: be,
306
+ href: xe,
306
307
  target: "_blank",
307
308
  rel: "noreferrer",
308
- children: [F, "Open GitHub issue"]
309
+ children: [P, "Open GitHub issue"]
309
310
  })
310
311
  }),
311
312
  J,
312
- Se ? /* @__PURE__ */ (0, x.jsxs)("div", {
313
+ Ce ? /* @__PURE__ */ (0, x.jsxs)("div", {
313
314
  className: "flex items-start gap-2 text-xs text-(--yellow-11)",
314
- children: [/* @__PURE__ */ (0, x.jsx)(h, { className: "w-3.5 h-3.5 shrink-0 mt-0.5" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [
315
+ children: [/* @__PURE__ */ (0, x.jsx)(p, { className: "w-3.5 h-3.5 shrink-0 mt-0.5" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [
315
316
  "Too large to prefill and left out of the link: ",
316
- Se,
317
+ Ce,
317
318
  ". Paste them into the issue manually."
318
319
  ] })]
319
320
  }) : /* @__PURE__ */ (0, x.jsx)("p", {
@@ -324,7 +325,7 @@ var T = () => {
324
325
  }),
325
326
  Y,
326
327
  X,
327
- A && /* @__PURE__ */ (0, x.jsxs)("div", {
328
+ k && /* @__PURE__ */ (0, x.jsxs)("div", {
328
329
  className: "flex flex-col gap-1",
329
330
  children: [/* @__PURE__ */ (0, x.jsxs)("div", {
330
331
  className: "flex items-center justify-between",
@@ -333,13 +334,13 @@ var T = () => {
333
334
  children: "Environment details"
334
335
  }), /* @__PURE__ */ (0, x.jsx)(a, {
335
336
  className: "w-3.5 h-3.5",
336
- value: JSON.stringify(A, null, 2),
337
+ value: JSON.stringify(k, null, 2),
337
338
  ariaLabel: "Copy environment JSON",
338
339
  toastTitle: "Environment details copied"
339
340
  })]
340
- }), /* @__PURE__ */ (0, x.jsx)(ge, { content: JSON.stringify(A, null, 2) })]
341
+ }), /* @__PURE__ */ (0, x.jsx)(_e, { content: JSON.stringify(k, null, 2) })]
341
342
  }),
342
- A && f.length > 0 && /* @__PURE__ */ (0, x.jsxs)("div", {
343
+ k && h.length > 0 && /* @__PURE__ */ (0, x.jsxs)("div", {
343
344
  className: "flex flex-col gap-1",
344
345
  children: [/* @__PURE__ */ (0, x.jsxs)("div", {
345
346
  className: "flex items-center justify-between",
@@ -348,11 +349,11 @@ var T = () => {
348
349
  children: "Errors"
349
350
  }), /* @__PURE__ */ (0, x.jsx)(a, {
350
351
  className: "w-3.5 h-3.5",
351
- value: pe(f),
352
+ value: me(h),
352
353
  ariaLabel: "Copy errors",
353
354
  toastTitle: "Errors copied"
354
355
  })]
355
- }), /* @__PURE__ */ (0, x.jsx)(ge, { content: f.map(p).join("\n\n---\n\n") })]
356
+ }), /* @__PURE__ */ (0, x.jsx)(_e, { content: h.map(f).join("\n\n---\n\n") })]
356
357
  }),
357
358
  Z,
358
359
  $
@@ -360,11 +361,11 @@ var T = () => {
360
361
  })]
361
362
  });
362
363
  };
363
- function E(e) {
364
+ function T(e) {
364
365
  return !e;
365
366
  }
366
- function ve(e) {
367
+ function ye(e) {
367
368
  return e === "bug-description" ? "errors" : e === "reproduction-code" ? "code" : e;
368
369
  }
369
370
  //#endregion
370
- export { T as FeedbackModal };
371
+ export { w as FeedbackModal };
@@ -8,8 +8,8 @@ import "./chunk-4HAMMTFA-Bk_5S_m9.js";
8
8
  import "./chunk-GVQU2GXP-DGvySV5W.js";
9
9
  import "./chunk-L3NEJ4N5-D9-ekjZc.js";
10
10
  import "./chunk-OSK3NFVY-p7meGiY-.js";
11
- import "./mermaid-DMPMkVqY.js";
11
+ import "./mermaid-CNgH43ED.js";
12
12
  import "./chunk-F27PBJKO-YjRXlNkT.js";
13
13
  import "./chunk-XXDRQBXY-BM-YIt-_.js";
14
14
  import "./chunk-POPQ4Y6H-EOTPk9Tj.js";
15
- export { n as diagram } from "./chunk-SHT3W25Y-Tu-V-e_v.js";
15
+ export { n as diagram } from "./chunk-SHT3W25Y-CfULafYG.js";
@@ -3,7 +3,7 @@ import { h as t, r as n } from "./button-BuSV-mLI.js";
3
3
  import { t as r } from "./react-CHbZqgBF.js";
4
4
  import { t as i } from "./compiler-runtime-DNezxW8I.js";
5
5
  import { t as a } from "./jsx-runtime-6ZiU38At.js";
6
- import { u as o } from "./static-state-Dtocd9UO.js";
6
+ import { t as o } from "./toDate-5qPtZ6HL.js";
7
7
  import { i as s } from "./loader-BIlwkY0d.js";
8
8
  //#region ../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js
9
9
  function c(e) {
@@ -14,7 +14,7 @@ import { t as P } from "./jsx-runtime-6ZiU38At.js";
14
14
  import { u as oe } from "./use-restore-focus-DyrKLdSB.js";
15
15
  import { t as F } from "./useEvent-xDnF2X04.js";
16
16
  import { n as I, t as se } from "./objectWithoutPropertiesLoose-BRDcTsfB.js";
17
- import { t as ce } from "./ErrorBoundary-flfhLFje.js";
17
+ import { t as ce } from "./ErrorBoundary-DjoeT4kv.js";
18
18
  import { A as le, C as ue, D as de, E as fe, F as pe, I as me, L as he, M as ge, N as _e, O as L, P as ve, R as ye, S as be, T as xe, _ as Se, a as R, b as Ce, c as z, d as we, f as B, g as V, h as Te, i as Ee, j as H, k as U, l as De, m as Oe, n as ke, o as Ae, p as je, r as W, s as Me, t as Ne, u as Pe, v as Fe, w as Ie, x as Le, y as Re, z as ze } from "./data-grid-types-CSElxhxo.js";
19
19
  //#region ../node_modules/.pnpm/@emotion+memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
20
20
  function Be(e) {
@@ -7061,7 +7061,7 @@ function us(e, t, n, r, i) {
7061
7061
  }
7062
7062
  //#endregion
7063
7063
  //#region ../node_modules/.pnpm/@glideapps+glide-data-grid@6.0.4-alpha24_lodash@4.17.21_marked@15.0.12_react-dom@19.3.0_27cffe7f1bc30287d59ac27db3240c5b/node_modules/@glideapps/glide-data-grid/dist/esm/data-editor/data-editor.js
7064
- var ds = /* @__PURE__ */ e(wr(), 1), fs = /* @__PURE__ */ e(Or(), 1), ps = G.lazy(async () => await import("./data-grid-overlay-editor-es6V6qf-.js")), ms = 0;
7064
+ var ds = /* @__PURE__ */ e(wr(), 1), fs = /* @__PURE__ */ e(Or(), 1), ps = G.lazy(async () => await import("./data-grid-overlay-editor-BYrIVut3.js")), ms = 0;
7065
7065
  function hs(e) {
7066
7066
  return (0, ds.default)((0, fs.default)((0, fs.default)(e).filter((e) => e.span !== void 0).map((e) => (0, io.default)((e.span?.[0] ?? 0) + 1, (e.span?.[1] ?? 0) + 1))));
7067
7067
  }
@@ -9284,7 +9284,7 @@ function Js(e, t, n, r, i) {
9284
9284
  }
9285
9285
  //#endregion
9286
9286
  //#region ../node_modules/.pnpm/@glideapps+glide-data-grid@6.0.4-alpha24_lodash@4.17.21_marked@15.0.12_react-dom@19.3.0_27cffe7f1bc30287d59ac27db3240c5b/node_modules/@glideapps/glide-data-grid/dist/esm/cells/number-cell.js
9287
- var Ys = G.lazy(async () => await import("./number-overlay-editor-C6klKzEr.js")), Xs = {
9287
+ var Ys = G.lazy(async () => await import("./number-overlay-editor-qvlPZ-l-.js")), Xs = {
9288
9288
  getAccessibilityString: (e) => e.data?.toString() ?? "",
9289
9289
  kind: W.Number,
9290
9290
  needsHover: (e) => e.hoverEffect === !0,
@@ -1,6 +1,6 @@
1
1
  import { h as e } from "./tooltip-BekOCQ3v.js";
2
2
  import { yt as t } from "./use-restore-focus-DyrKLdSB.js";
3
- import { r as n } from "./code-visibility-BDs_r7jH.js";
3
+ import { r as n } from "./code-visibility-CduMVVFS.js";
4
4
  var r = e("triangle-alert", [
5
5
  ["path", {
6
6
  d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",