@marimo-team/islands 0.25.2-dev3 → 0.25.2-dev31

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 (140) hide show
  1. package/dist/{ConnectedDataExplorerComponent-C2d9ysUI.js → ConnectedDataExplorerComponent-CglAbSke.js} +11 -11
  2. package/dist/{ErrorBoundary-C5H0YXQW.js → ErrorBoundary-DsBSKWiR.js} +8 -8
  3. package/dist/{abnfDiagram-VCTEODGH-AFhOQTt8.js → abnfDiagram-VCTEODGH-Bd5MYz7g.js} +3 -3
  4. package/dist/{any-language-editor-CycIVIeP.js → any-language-editor-dqxlUDlT.js} +3 -3
  5. package/dist/{architectureDiagram-5GKGNRK7-BngksAAQ.js → architectureDiagram-5GKGNRK7-12FmGgo8.js} +5 -5
  6. package/dist/assets/__vite-browser-external-BqAtzd2P.js +1 -0
  7. package/dist/assets/{worker-D7hWi02M.js → worker-Bf8dt6S-.js} +5 -5
  8. package/dist/{blockDiagram-I7D4REHJ-CvBmppdy.js → blockDiagram-I7D4REHJ-BeHOjyDk.js} +9 -9
  9. package/dist/{button-DdXAm8iz.js → button-B0Xgl-Qn.js} +12 -0
  10. package/dist/{c4Diagram-7LVT6UL2-EceL4_jH.js → c4Diagram-7LVT6UL2-Bao10t_O.js} +7 -7
  11. package/dist/{capabilities-B3ce_GNu.js → capabilities-D7Ad8-zw.js} +1 -1
  12. package/dist/{cells-Cv93oav_.js → cells-BUbzm9iX.js} +13 -13
  13. package/dist/{channel-z7HZXHwv.js → channel-BxCkvUgE.js} +1 -1
  14. package/dist/{chat-ui-fVyVOhYN.js → chat-ui-DJpsSmlB.js} +18 -18
  15. package/dist/{check-B7cIK6gb.js → check-DGZ74tV2.js} +1 -1
  16. package/dist/{chunk-4HAMMTFA-BPTTOOC5.js → chunk-4HAMMTFA-CH7Gpamd.js} +5 -5
  17. package/dist/{chunk-75Z2AOVW-C4AOleKf.js → chunk-75Z2AOVW-AI7CvgKn.js} +1 -1
  18. package/dist/{chunk-DU6HZSFF-1TwWR6gh.js → chunk-DU6HZSFF-BSvuTkX4.js} +1 -1
  19. package/dist/{chunk-F27PBJKO-DMI1PBe4.js → chunk-F27PBJKO-CLshwT9T.js} +1 -1
  20. package/dist/{chunk-GMAD6QVW-vStrMz2P.js → chunk-GMAD6QVW-wnHcn-lH.js} +3 -3
  21. package/dist/{chunk-GVQU2GXP-2HwWgs4u.js → chunk-GVQU2GXP-7O2p8hut.js} +2 -2
  22. package/dist/{chunk-IMKFNOWR-UOVZuZVn.js → chunk-IMKFNOWR-BlsbbLiS.js} +6 -6
  23. package/dist/{chunk-L3NEJ4N5-RhC7i0I2.js → chunk-L3NEJ4N5-B9_Alrxb.js} +5 -5
  24. package/dist/{chunk-OSK3NFVY-CZV09N-U.js → chunk-OSK3NFVY-PeQPH2fD.js} +6 -6
  25. package/dist/{chunk-P2QGCYS3-0TAWai9C.js → chunk-P2QGCYS3-D9twiFuU.js} +1 -1
  26. package/dist/{chunk-POPQ4Y6H-Cc3_56GX.js → chunk-POPQ4Y6H-BUiNs18s.js} +1 -1
  27. package/dist/{chunk-PWAF6VOD-lNxB9k8z.js → chunk-PWAF6VOD-D8S9NPCy.js} +1 -1
  28. package/dist/{chunk-SHT3W25Y-CrEPyWy1.js → chunk-SHT3W25Y-DoIB7Bub.js} +8 -8
  29. package/dist/{chunk-SVP7TREG-uIyyySp6.js → chunk-SVP7TREG-B0dScloT.js} +2 -2
  30. package/dist/{chunk-TICWLB2K-DdXM3eg6.js → chunk-TICWLB2K-C-lzn2th.js} +6 -6
  31. package/dist/classDiagram-ZZMXUADV-C5vpBHoS.js +30 -0
  32. package/dist/classDiagram-v2-VYDZK3BY-BS2Wadt0.js +30 -0
  33. package/dist/{code-visibility-DOh8H9K5.js → code-visibility-BiRk5YLT.js} +6 -6
  34. package/dist/{common-BJXaiNuk.js → common-BCp7UGN5.js} +22 -22
  35. package/dist/{copy-icon-CLdENY__.js → copy-icon-qmRg_VTX.js} +3 -3
  36. package/dist/{cynefinDiagram-5FMLGOSQ-zknaAsGy.js → cynefinDiagram-5FMLGOSQ-fxnL4mfp.js} +3 -3
  37. package/dist/{dagre-GXQ25YYZ-BhMOoMGJ.js → dagre-GXQ25YYZ-D5NkGE9i.js} +10 -10
  38. package/dist/{data-grid-overlay-editor-DVk573OG.js → data-grid-overlay-editor-dYW2R3MH.js} +1 -1
  39. package/dist/{diagram-S7CK7UJ4-V5-Z-EDY.js → diagram-S7CK7UJ4-CATbk1XK.js} +4 -4
  40. package/dist/{diagram-UQ7AKVKN-qw8AjDal.js → diagram-UQ7AKVKN-Cjha5vrC.js} +3 -3
  41. package/dist/{diagram-VSXAHHWV-CR7BJygZ.js → diagram-VSXAHHWV-DPAWJ9Nw.js} +2 -2
  42. package/dist/{diagram-VX7I27RA-DfuqFb1E.js → diagram-VX7I27RA-BHfAjgGw.js} +5 -5
  43. package/dist/{diagram-Z3DM3KII-DpWwlYZB.js → diagram-Z3DM3KII-eAoDps6E.js} +3 -3
  44. package/dist/{dialog-CgNq6y9-.js → dialog-CILKhbsG.js} +3 -3
  45. package/dist/{dropdown-menu-CZy06LAq.js → dropdown-menu-BaqM0t4N.js} +7 -7
  46. package/dist/{ebnfDiagram-PWID7BFC-C20OnNMZ.js → ebnfDiagram-PWID7BFC-D8RYnIZC.js} +3 -3
  47. package/dist/{erDiagram-RLTQ6QDP-DBXLWO9v.js → erDiagram-RLTQ6QDP-BfmoNNce.js} +12 -12
  48. package/dist/{error-banner-B94dcDmP.js → error-banner-DzAmP0AQ.js} +2 -2
  49. package/dist/{error-entries-DLl0XqoW.js → error-entries-B9WBDeky.js} +2 -2
  50. package/dist/{feedback-button-DDiklug9.js → feedback-button-Bz_FnBP3.js} +10 -10
  51. package/dist/flowDiagram-HODETNUW-Du_I0oTA.js +16 -0
  52. package/dist/{formats-Cl_67ghI.js → formats-Q9gwlLyD.js} +3 -3
  53. package/dist/{ganttDiagram-EL5Y4UJY-cRRaDt88.js → ganttDiagram-EL5Y4UJY-B4m_YsKa.js} +2 -2
  54. package/dist/{gitGraphDiagram-WWUBYQGX-Pox5k9-Y.js → gitGraphDiagram-WWUBYQGX-QRBbvWXh.js} +2 -2
  55. package/dist/{glide-data-editor-BGagFNmI.js → glide-data-editor-YvyWfJNT.js} +11 -11
  56. package/dist/{glide-utils-B3rUT5PI.js → glide-utils-CzzWU59p.js} +3 -3
  57. package/dist/{globals-dZEW_NZh.js → globals-CmV07bVM.js} +3 -3
  58. package/dist/{html-to-image-CmkwfNkf.js → html-to-image-Btymxku9.js} +11 -11
  59. package/dist/{infoDiagram-27XIBGKW-ntpxMfrq.js → infoDiagram-27XIBGKW-CHsocw1z.js} +2 -2
  60. package/dist/{ishikawaDiagram-5VMMS53U-BllIlHE5.js → ishikawaDiagram-5VMMS53U-DZdZJdsT.js} +3 -3
  61. package/dist/{journeyDiagram-3NMN7TZE-EPJDPlt0.js → journeyDiagram-3NMN7TZE-BeeJdJo3.js} +2 -2
  62. package/dist/{kanban-definition-UXKFOSKX-GYtNMjtS.js → kanban-definition-UXKFOSKX-B1rrJRmN.js} +9 -9
  63. package/dist/{label-BslhXqL6.js → label-MNhNNoN6.js} +2 -2
  64. package/dist/{loader-DEZSzvma.js → loader-C9OUkMrj.js} +1 -1
  65. package/dist/main.js +177 -150
  66. package/dist/{mermaid-Dnzoxjt1.js → mermaid-CEceCleL.js} +54 -54
  67. package/dist/{mindmap-definition-YA3MSWOX-Cth76xgH.js → mindmap-definition-YA3MSWOX-C6-S9h9O.js} +11 -11
  68. package/dist/{number-overlay-editor-BvOlx4Sw.js → number-overlay-editor-C-KXfL6O.js} +1 -1
  69. package/dist/{pegDiagram-XKGWAZYB-Cu4uOXii.js → pegDiagram-XKGWAZYB-BL-R6P57.js} +3 -3
  70. package/dist/{pieDiagram-E7YTZNPT-Bh3eDa9s.js → pieDiagram-E7YTZNPT-DuAOxSRy.js} +3 -3
  71. package/dist/{process-output-CYN5E-iO.js → process-output-CTQmCUD0.js} +4 -4
  72. package/dist/purify.es-DMv5zIkJ.js +866 -0
  73. package/dist/{quadrantDiagram-AXDQQJYC--kqzFC3w.js → quadrantDiagram-AXDQQJYC-keLfFx9f.js} +1 -1
  74. package/dist/{railroadDiagram-O6MQD6OU-DG-M6Rnc.js → railroadDiagram-O6MQD6OU-f-sfFoX9.js} +3 -3
  75. package/dist/{requirementDiagram-BXWQKSXE-DCwsThh0.js → requirementDiagram-BXWQKSXE-BICupkaf.js} +11 -11
  76. package/dist/{reveal-component-BYSyNNYH.js → reveal-component-CpKCz6Sm.js} +10 -10
  77. package/dist/{sankeyDiagram-P5KCCOFB-BdzhT0BM.js → sankeyDiagram-P5KCCOFB-Bh4EsJox.js} +1 -1
  78. package/dist/{select-C6plhmZr.js → select-BcObMjGz.js} +4 -4
  79. package/dist/{sequenceDiagram-WJ2MYXX4-CbXB1_PU.js → sequenceDiagram-WJ2MYXX4-DBFRnNGU.js} +4 -4
  80. package/dist/{spec-DQBRQSba.js → spec-BSchR9UD.js} +16 -14
  81. package/dist/{stateDiagram-D77RDMKH-A-Zf3Sb2.js → stateDiagram-D77RDMKH-CUP7QQW8.js} +13 -13
  82. package/dist/stateDiagram-v2-MP3YSRHH-B5mAItmH.js +30 -0
  83. package/dist/style.css +1 -1
  84. package/dist/{swimlanes-42K2YHIH-B_pMf0J4.js → swimlanes-42K2YHIH-BtIMdg7b.js} +10 -10
  85. package/dist/swimlanesDiagram-VR7AAH4N-CGnrrHpw.js +30 -0
  86. package/dist/{swiper-component-IOUowglM.js → swiper-component-DkV7T44B.js} +2 -2
  87. package/dist/{timeline-definition-24CTP7MA-DTXFjTTM.js → timeline-definition-24CTP7MA-UwihiSH2.js} +3 -3
  88. package/dist/{toDate-C67bxMWn.js → toDate-DWVp6uE1.js} +3 -3
  89. package/dist/{toast-DvY70eFX.js → toast-DcoJGS3-.js} +4 -4
  90. package/dist/{tooltip-qB8NlSqV.js → tooltip-Bi36DgYh.js} +2 -2
  91. package/dist/{use-restore-focus-D5D9xEjZ.js → use-restore-focus-ZgG5Br63.js} +1 -1
  92. package/dist/{useAsyncData-BD6AStMt.js → useAsyncData-BD7NLQ3_.js} +1 -1
  93. package/dist/{useDateFormatter-BXQGu86d.js → useDateFormatter-D8XWr8lL.js} +2 -2
  94. package/dist/{useDeepCompareMemoize-D_HNdyvI.js → useDeepCompareMemoize-CawMGSRU.js} +1 -1
  95. package/dist/{useIframeCapabilities-CVtNkI3Y.js → useIframeCapabilities-BUMBOpsM.js} +1 -1
  96. package/dist/{useLifecycle-DPgiiwwU.js → useLifecycle-3vGhRa1o.js} +3 -3
  97. package/dist/{useTheme-DzXmYZ5V.js → useTheme-BOw801nZ.js} +2 -2
  98. package/dist/{vega-component-tFOzgarw.js → vega-component-9siY74NS.js} +9 -9
  99. package/dist/{vennDiagram-4TSXK5OY-BPHjZo0R.js → vennDiagram-4TSXK5OY-D5LNVIRI.js} +3 -3
  100. package/dist/{wardleyDiagram-VM6X3IG4-6fTLYBuD.js → wardleyDiagram-VM6X3IG4-BwKf-b0_.js} +3 -3
  101. package/dist/{xychartDiagram-S5SC5T6Z-BYjwjrzE.js → xychartDiagram-S5SC5T6Z-Cg_vyuW2.js} +5 -5
  102. package/package.json +7 -7
  103. package/src/components/chat/tool-call/__tests__/tool-result.test.tsx +56 -0
  104. package/src/components/chat/tool-call/tool-result.tsx +3 -3
  105. package/src/components/data-table/charts/__tests__/schemas.test.ts +25 -0
  106. package/src/components/data-table/charts/__tests__/spec.test.ts +26 -23
  107. package/src/components/data-table/charts/constants.ts +11 -10
  108. package/src/components/data-table/charts/types.ts +1 -0
  109. package/src/components/editor/actions/__tests__/useSetOutputsExpanded.test.ts +42 -0
  110. package/src/components/editor/actions/useNotebookActions.tsx +20 -0
  111. package/src/components/editor/actions/useSetOutputsExpanded.ts +67 -0
  112. package/src/core/edit-app.tsx +16 -0
  113. package/src/core/hotkeys/hotkeys.ts +12 -0
  114. package/src/core/wasm/__tests__/bootstrap.test.ts +33 -1
  115. package/src/core/wasm/worker/bootstrap.ts +22 -3
  116. package/src/css/katex.min.css +145 -144
  117. package/src/plugins/impl/CheckboxPlugin.tsx +1 -1
  118. package/src/plugins/impl/DatePickerPlugin.tsx +5 -3
  119. package/src/plugins/impl/DateRangePlugin.tsx +5 -3
  120. package/src/plugins/impl/DateTimePickerPlugin.tsx +5 -3
  121. package/src/plugins/impl/DropdownPlugin.tsx +1 -1
  122. package/src/plugins/impl/FileBrowserPlugin.tsx +45 -15
  123. package/src/plugins/impl/MultiselectPlugin.tsx +1 -1
  124. package/src/plugins/impl/NumberPlugin.tsx +1 -1
  125. package/src/plugins/impl/RadioPlugin.tsx +5 -1
  126. package/src/plugins/impl/RangeSliderPlugin.tsx +1 -1
  127. package/src/plugins/impl/SearchableSelect.tsx +1 -1
  128. package/src/plugins/impl/SliderPlugin.tsx +1 -1
  129. package/src/plugins/impl/SwitchPlugin.tsx +6 -1
  130. package/src/plugins/impl/__tests__/FileBrowserPlugin.test.tsx +85 -2
  131. package/src/plugins/impl/__tests__/widget-labels.test.tsx +122 -0
  132. package/src/plugins/impl/chat/ChatPlugin.tsx +1 -1
  133. package/src/plugins/impl/common/labeled.tsx +9 -3
  134. package/dist/assets/__vite-browser-external-C9iR87Zl.js +0 -1
  135. package/dist/classDiagram-ZZMXUADV-BiATbBE4.js +0 -30
  136. package/dist/classDiagram-v2-VYDZK3BY-JnH97GYw.js +0 -30
  137. package/dist/flowDiagram-HODETNUW-DL52nMkt.js +0 -16
  138. package/dist/purify.es-DgKyQviY.js +0 -805
  139. package/dist/stateDiagram-v2-MP3YSRHH-D9YMnUGx.js +0 -30
  140. package/dist/swimlanesDiagram-VR7AAH4N-Ctgy-yGP.js +0 -30
package/dist/main.js CHANGED
@@ -1,31 +1,31 @@
1
1
  import { a as e, i as t, n, r, t as i } from "./rolldown-runtime-Cb76FRpK.js";
2
- import { _ as a, c as o, f as s, g as c, h as l, i as u, l as d, m as f, n as p, o as m, p as h, r as g, t as _, v } from "./button-DdXAm8iz.js";
2
+ import { _ as a, c as o, f as s, g as c, h as l, i as u, l as d, m as f, n as p, o as m, p as h, r as g, t as _, v } from "./button-B0Xgl-Qn.js";
3
3
  import { t as y } from "./react-ofJbxM4x.js";
4
4
  import { t as b } from "./compiler-runtime-Cj8ZWiNS.js";
5
- import { i as x, n as S, r as C, t as w } from "./copy-icon-CLdENY__.js";
6
- import { C as T, F as E, G as D, I as O, J as k, K as A, L as j, P as M, R as N, X as P, Z as F, _ as I, a as L, b as R, g as ee, i as z, j as te, k as B, n as ne, o as re, q as ie, v as ae, y as oe } from "./html-to-image-CmkwfNkf.js";
7
- import { a as se, f as ce, g as V, i as le, n as ue, o as de, p as fe, r as pe, t as me } from "./tooltip-qB8NlSqV.js";
8
- import { $ as he, $t as ge, B as _e, Bt as ve, C as ye, Ct as be, D as xe, Dt as Se, Et as Ce, F as we, G as Te, Gt as Ee, Ht as De, I as Oe, J as ke, Jt as Ae, Kt as je, L as Me, O as Ne, Ot as Pe, P as Fe, Pt as Ie, Q as Le, Qt as Re, Rt as ze, S as Be, St as Ve, T as He, Tt as Ue, U as We, W as Ge, Wt as Ke, bt as qe, c as Je, cn as Ye, ct as Xe, d as Ze, dn as Qe, dt as $e, en as et, f as tt, fn as nt, ft as rt, g as it, gt as at, h as ot, hn as st, k as ct, l as lt, ln as ut, m as dt, mn as ft, n as pt, o as mt, on as ht, ot as gt, p as _t, q as vt, qt as yt, r as bt, rn as xt, rt as St, sn as Ct, st as wt, tn as Tt, u as Et, v as Dt, w as Ot, wt as kt, zt as At } from "./cells-Cv93oav_.js";
9
- import { D as jt, E as Mt, O as Nt, S as Pt, T as Ft, _ as It, a as Lt, c as Rt, d as zt, f as Bt, g as Vt, h as Ht, i as Ut, l as Wt, m as Gt, n as Kt, o as qt, p as Jt, r as Yt, s as Xt, t as Zt, u as Qt, v as $t, w as en, x as tn, y as nn } from "./spec-DQBRQSba.js";
10
- import { $t as rn, A as an, At as on, B as sn, Bt as cn, C as ln, Ct as un, D as dn, Dt as fn, E as pn, Et as mn, F as hn, Ft as gn, G as _n, Gt as vn, H as yn, Ht as bn, I as xn, It as Sn, J as Cn, Jt as wn, K as Tn, Kt as En, L as Dn, Lt as On, M as kn, Mt as An, N as jn, Nt as Mn, O as Nn, Ot as Pn, P as Fn, Pt as In, Qt as Ln, R as Rn, Rt as zn, S as Bn, St as Vn, T as Hn, Tt as Un, U as Wn, Ut as Gn, V as Kn, Vt as qn, W as Jn, Wt as Yn, X as Xn, Xt as Zn, Y as Qn, Yt as $n, Zt as er, _ as tr, _t as nr, an as rr, at as ir, b as ar, c as or, cn as sr, ct as cr, d as lr, dn as ur, dt as dr, en as fr, et as pr, f as mr, fn as hr, ft as gr, g as _r, gt as vr, h as yr, hn as br, ht as xr, in as Sr, it as Cr, j as wr, jt as Tr, k as Er, kt as Dr, ln as Or, lt as kr, m as Ar, mn as jr, mt as Mr, nn as Nr, nt as Pr, ot as Fr, p as Ir, pn as Lr, pt as Rr, q as zr, qt as Br, r as Vr, rn as Hr, rt as Ur, sn as Wr, st as Gr, t as Kr, tn as qr, tt as Jr, u as Yr, un as Xr, ut as Zr, v as Qr, vt as $r, w as ei, wt as ti, x as ni, y as ri, yt as ii, z as ai, zt as oi } from "./common-BJXaiNuk.js";
11
- import { c as si, i as ci, n as li, o as ui, t as di } from "./useLifecycle-DPgiiwwU.js";
12
- import { t as fi } from "./check-B7cIK6gb.js";
13
- import { A as pi, C as mi, D as hi, E as gi, M as _i, O as vi, S as yi, T as bi, a as xi, b as Si, c as Ci, i as wi, k as Ti, l as Ei, n as Di, o as Oi, r as ki, s as Ai, t as ji, w as Mi, x as Ni } from "./select-C6plhmZr.js";
14
- import { B as Pi, C as Fi, J as Ii, Mt as Li, Nt as Ri, S as zi, Vt as Bi, W as Vi, _ as Hi, a as Ui, at as Wi, c as Gi, dt as Ki, f as qi, fn as Ji, g as Yi, h as Xi, i as Zi, it as Qi, m as $i, n as ea, p as ta, pn as na, q as ra, r as ia, s as aa, t as oa, v as sa, vt as ca, x as la, z as ua } from "./dropdown-menu-CZy06LAq.js";
15
- import { C as da, S as fa, T as pa, _ as ma, c as ha, d as ga, f as _a, g as va, h as ya, m as ba, u as xa, x as Sa, y as Ca } from "./toDate-C67bxMWn.js";
16
- import { a as wa, c as Ta, d as Ea, f as Da, i as Oa, l as ka, n as Aa, o as ja, r as Ma, s as Na, t as Pa } from "./process-output-CYN5E-iO.js";
17
- import { a as Fa, c as Ia, d as La, i as Ra, l as za, r as Ba, u as Va } from "./glide-utils-B3rUT5PI.js";
18
- import { n as Ha, t as Ua } from "./ErrorBoundary-C5H0YXQW.js";
19
- import { n as Wa, t as Ga } from "./globals-dZEW_NZh.js";
5
+ import { i as x, n as S, r as C, t as w } from "./copy-icon-qmRg_VTX.js";
6
+ import { C as T, F as E, G as D, I as O, J as k, K as A, L as j, P as M, R as N, X as P, Z as F, _ as I, a as L, b as R, g as ee, i as z, j as te, k as B, n as ne, o as re, q as ie, v as ae, y as oe } from "./html-to-image-Btymxku9.js";
7
+ import { a as se, f as ce, g as V, i as le, n as ue, o as de, p as fe, r as pe, t as me } from "./tooltip-Bi36DgYh.js";
8
+ import { $ as he, $t as ge, B as _e, Bt as ve, C as ye, Ct as be, D as xe, Dt as Se, Et as Ce, F as we, G as Te, Gt as Ee, Ht as De, I as Oe, J as ke, Jt as Ae, Kt as je, L as Me, O as Ne, Ot as Pe, P as Fe, Pt as Ie, Q as Le, Qt as Re, Rt as ze, S as Be, St as Ve, T as He, Tt as Ue, U as We, W as Ge, Wt as Ke, bt as qe, c as Je, cn as Ye, ct as Xe, d as Ze, dn as Qe, dt as $e, en as et, f as tt, fn as nt, ft as rt, g as it, gt as at, h as ot, hn as st, k as ct, l as lt, ln as ut, m as dt, mn as ft, n as pt, o as mt, on as ht, ot as gt, p as _t, q as vt, qt as yt, r as bt, rn as xt, rt as St, sn as Ct, st as wt, tn as Tt, u as Et, v as Dt, w as Ot, wt as kt, zt as At } from "./cells-BUbzm9iX.js";
9
+ import { D as jt, E as Mt, O as Nt, S as Pt, T as Ft, _ as It, a as Lt, c as Rt, d as zt, f as Bt, g as Vt, h as Ht, i as Ut, l as Wt, m as Gt, n as Kt, o as qt, p as Jt, r as Yt, s as Xt, t as Zt, u as Qt, v as $t, w as en, x as tn, y as nn } from "./spec-BSchR9UD.js";
10
+ import { $t as rn, A as an, At as on, B as sn, Bt as cn, C as ln, Ct as un, D as dn, Dt as fn, E as pn, Et as mn, F as hn, Ft as gn, G as _n, Gt as vn, H as yn, Ht as bn, I as xn, It as Sn, J as Cn, Jt as wn, K as Tn, Kt as En, L as Dn, Lt as On, M as kn, Mt as An, N as jn, Nt as Mn, O as Nn, Ot as Pn, P as Fn, Pt as In, Qt as Ln, R as Rn, Rt as zn, S as Bn, St as Vn, T as Hn, Tt as Un, U as Wn, Ut as Gn, V as Kn, Vt as qn, W as Jn, Wt as Yn, X as Xn, Xt as Zn, Y as Qn, Yt as $n, Zt as er, _ as tr, _t as nr, an as rr, at as ir, b as ar, c as or, cn as sr, ct as cr, d as lr, dn as ur, dt as dr, en as fr, et as pr, f as mr, fn as hr, ft as gr, g as _r, gt as vr, h as yr, hn as br, ht as xr, in as Sr, it as Cr, j as wr, jt as Tr, k as Er, kt as Dr, ln as Or, lt as kr, m as Ar, mn as jr, mt as Mr, nn as Nr, nt as Pr, ot as Fr, p as Ir, pn as Lr, pt as Rr, q as zr, qt as Br, r as Vr, rn as Hr, rt as Ur, sn as Wr, st as Gr, t as Kr, tn as qr, tt as Jr, u as Yr, un as Xr, ut as Zr, v as Qr, vt as $r, w as ei, wt as ti, x as ni, y as ri, yt as ii, z as ai, zt as oi } from "./common-BCp7UGN5.js";
11
+ import { c as si, i as ci, n as li, o as ui, t as di } from "./useLifecycle-3vGhRa1o.js";
12
+ import { t as fi } from "./check-DGZ74tV2.js";
13
+ import { A as pi, C as mi, D as hi, E as gi, M as _i, O as vi, S as yi, T as bi, a as xi, b as Si, c as Ci, i as wi, k as Ti, l as Ei, n as Di, o as Oi, r as ki, s as Ai, t as ji, w as Mi, x as Ni } from "./select-BcObMjGz.js";
14
+ import { B as Pi, C as Fi, J as Ii, Mt as Li, Nt as Ri, S as zi, Vt as Bi, W as Vi, _ as Hi, a as Ui, at as Wi, c as Gi, dt as Ki, f as qi, fn as Ji, g as Yi, h as Xi, i as Zi, it as Qi, m as $i, n as ea, p as ta, pn as na, q as ra, r as ia, s as aa, t as oa, v as sa, vt as ca, x as la, z as ua } from "./dropdown-menu-BaqM0t4N.js";
15
+ import { C as da, S as fa, T as pa, _ as ma, c as ha, d as ga, f as _a, g as va, h as ya, m as ba, u as xa, x as Sa, y as Ca } from "./toDate-DWVp6uE1.js";
16
+ import { a as wa, c as Ta, d as Ea, f as Da, i as Oa, l as ka, n as Aa, o as ja, r as Ma, s as Na, t as Pa } from "./process-output-CTQmCUD0.js";
17
+ import { a as Fa, c as Ia, d as La, i as Ra, l as za, r as Ba, u as Va } from "./glide-utils-CzzWU59p.js";
18
+ import { n as Ha, t as Ua } from "./ErrorBoundary-DsBSKWiR.js";
19
+ import { n as Wa, t as Ga } from "./globals-CmV07bVM.js";
20
20
  import { t as Ka } from "./react-dom-BUgJ-ab_.js";
21
21
  import { t as qa } from "./jsx-runtime-DgDPJV9S.js";
22
- import { B as Ja, C as H, Ct as Ya, D as Xa, E as Za, Et as Qa, F as U, G as $a, H as eo, I as to, L as no, M as W, N as ro, O as io, P as ao, Q as oo, R as so, S as G, St as co, Tt as lo, U as uo, W as fo, Y as po, Z as mo, _ as ho, a as go, b as _o, bt as vo, c as yo, d as bo, dt as xo, f as So, g as Co, gt as wo, h as To, i as Eo, j as K, k as Do, l as Oo, m as ko, n as Ao, o as jo, p as Mo, r as No, s as Po, u as Fo, v as Io, vt as Lo, w as Ro, wt as zo, x as Bo, xt as Vo, y as Ho, yt as Uo } from "./use-restore-focus-D5D9xEjZ.js";
23
- import { i as Wo, n as Go, r as Ko, t as qo } from "./error-banner-B94dcDmP.js";
24
- import { a as Jo, i as Yo, n as Xo, t as Zo } from "./label-BslhXqL6.js";
22
+ import { B as Ja, C as H, Ct as Ya, D as Xa, E as Za, Et as Qa, F as U, G as $a, H as eo, I as to, L as no, M as W, N as ro, O as io, P as ao, Q as oo, R as so, S as G, St as co, Tt as lo, U as uo, W as fo, Y as po, Z as mo, _ as ho, a as go, b as _o, bt as vo, c as yo, d as bo, dt as xo, f as So, g as Co, gt as wo, h as To, i as Eo, j as K, k as Do, l as Oo, m as ko, n as Ao, o as jo, p as Mo, r as No, s as Po, u as Fo, v as Io, vt as Lo, w as Ro, wt as zo, x as Bo, xt as Vo, y as Ho, yt as Uo } from "./use-restore-focus-ZgG5Br63.js";
23
+ import { i as Wo, n as Go, r as Ko, t as qo } from "./error-banner-DzAmP0AQ.js";
24
+ import { a as Jo, i as Yo, n as Xo, t as Zo } from "./label-MNhNNoN6.js";
25
25
  import { a as Qo } from "./hasIn-o2Us0uVx.js";
26
26
  import { n as $o, t as es } from "./pick-CJeoxYOS.js";
27
27
  import { t as ts } from "./debounce-C3jyATpc.js";
28
- import { A as ns, C as rs, E as is, S as as, _ as os, a as ss, b as cs, c as ls, h as us, k as ds, n as fs, p as ps, r as ms, u as hs, x as gs } from "./useTheme-DzXmYZ5V.js";
28
+ import { A as ns, C as rs, E as is, S as as, _ as os, a as ss, b as cs, c as ls, h as us, k as ds, n as fs, p as ps, r as ms, u as hs, x as gs } from "./useTheme-BOw801nZ.js";
29
29
  import { $ as _s, F as vs, H as q, a as ys, g as bs } from "./dist-Kxgjxakw.js";
30
30
  import { t as xs } from "./invariant-DLmrl-hA.js";
31
31
  import { l as Ss, o as Cs, t as ws, u as Ts } from "./arrays-CN1djC4k.js";
@@ -35,12 +35,12 @@ import { p as Os } from "./dist-CMh_W4y4.js";
35
35
  import { n as ks } from "./dist-BRxfaJgs.js";
36
36
  import { i as As } from "./dist-C2KzV-vf.js";
37
37
  import { n as js, t as Ms } from "./esm-h8f7-1CJ.js";
38
- import { t as Ns } from "./useAsyncData-BD6AStMt.js";
39
- import { i as Ps, n as Fs, r as Is } from "./formats-Cl_67ghI.js";
38
+ import { t as Ns } from "./useAsyncData-BD7NLQ3_.js";
39
+ import { i as Ps, n as Fs, r as Is } from "./formats-Q9gwlLyD.js";
40
40
  import { M as Ls, N as Rs } from "./vega-loader.browser-DNST6uVf.js";
41
- import { a as zs, n as Bs } from "./loader-DEZSzvma.js";
42
- import { c as Vs, d as Hs, i as Us, l as Ws, o as Gs, s as Ks, t as qs, u as Js } from "./code-visibility-DOh8H9K5.js";
43
- import { t as Ys } from "./useDeepCompareMemoize-D_HNdyvI.js";
41
+ import { a as zs, n as Bs } from "./loader-C9OUkMrj.js";
42
+ import { c as Vs, d as Hs, i as Us, l as Ws, o as Gs, s as Ks, t as qs, u as Js } from "./code-visibility-BiRk5YLT.js";
43
+ import { t as Ys } from "./useDeepCompareMemoize-CawMGSRU.js";
44
44
  import { t as Xs } from "./esm-BElI3qKH.js";
45
45
  //#region ../node_modules/.pnpm/iconify-icon@2.3.0/node_modules/iconify-icon/dist/iconify-icon.mjs
46
46
  var Zs = Object.freeze({
@@ -9840,9 +9840,9 @@ function NS(e) {
9840
9840
  //#endregion
9841
9841
  //#region src/plugins/impl/common/labeled.tsx
9842
9842
  var PS = (e) => {
9843
- let t = (0, X.c)(27), { label: n, children: r, align: i, className: a, labelClassName: o, fullWidth: s, id: c } = e, u = i === void 0 ? "left" : i;
9844
- if (s && (u = "top"), !n) {
9845
- if (u === "top") {
9843
+ let t = (0, X.c)(28), { label: n, children: r, align: i, className: a, labelClassName: o, labelId: s, fullWidth: c, controlId: u } = e, d = i === void 0 ? "left" : i;
9844
+ if (c && (d = "top"), !n) {
9845
+ if (d === "top") {
9846
9846
  let e;
9847
9847
  return t[0] !== r || t[1] !== a ? (e = /* @__PURE__ */ (0, Y.jsx)("div", {
9848
9848
  className: a,
@@ -9857,27 +9857,28 @@ var PS = (e) => {
9857
9857
  children: r
9858
9858
  }), t[5] = r, t[6] = e, t[7] = n) : n = t[7], n;
9859
9859
  }
9860
- let d;
9861
- t[8] === o ? d = t[9] : (d = l("font-prose", o), t[8] = o, t[9] = d);
9862
9860
  let f;
9863
- t[10] === n ? f = t[11] : (f = E({ html: n }), t[10] = n, t[11] = f);
9861
+ t[8] === o ? f = t[9] : (f = l("font-prose", o), t[8] = o, t[9] = f);
9864
9862
  let p;
9865
- t[12] !== c || t[13] !== d || t[14] !== f ? (p = /* @__PURE__ */ (0, Y.jsx)("div", {
9863
+ t[10] === n ? p = t[11] : (p = E({ html: n }), t[10] = n, t[11] = p);
9864
+ let m;
9865
+ t[12] !== u || t[13] !== s || t[14] !== f || t[15] !== p ? (m = /* @__PURE__ */ (0, Y.jsx)("div", {
9866
9866
  part: "label",
9867
9867
  className: "inline-flex items-center m-0 p-0",
9868
9868
  children: /* @__PURE__ */ (0, Y.jsx)(Zo, {
9869
- htmlFor: c,
9870
- className: d,
9871
- children: f
9869
+ id: s,
9870
+ htmlFor: u,
9871
+ className: f,
9872
+ children: p
9872
9873
  })
9873
- }), t[12] = c, t[13] = d, t[14] = f, t[15] = p) : p = t[15];
9874
- let m = p, h = u === "top" && "flex-col items-start gap-y-2", g = u === "left" && "flex-row items-center gap-x-1.5 pr-2", _ = u === "right" && "flex-row-reverse items-center gap-x-1.5 pr-2", v = s && "block space-y-2", y = !s && "w-fit", b;
9875
- t[16] !== a || t[17] !== h || t[18] !== g || t[19] !== _ || t[20] !== v || t[21] !== y ? (b = l("mo-label inline-flex", "pt-0 pb-0 pl-0", h, g, _, v, y, a), t[16] = a, t[17] = h, t[18] = g, t[19] = _, t[20] = v, t[21] = y, t[22] = b) : b = t[22];
9876
- let x;
9877
- return t[23] !== r || t[24] !== m || t[25] !== b ? (x = /* @__PURE__ */ (0, Y.jsxs)("div", {
9878
- className: b,
9879
- children: [m, r]
9880
- }), t[23] = r, t[24] = m, t[25] = b, t[26] = x) : x = t[26], x;
9874
+ }), t[12] = u, t[13] = s, t[14] = f, t[15] = p, t[16] = m) : m = t[16];
9875
+ let h = m, g = d === "top" && "flex-col items-start gap-y-2", _ = d === "left" && "flex-row items-center gap-x-1.5 pr-2", v = d === "right" && "flex-row-reverse items-center gap-x-1.5 pr-2", y = c && "block space-y-2", b = !c && "w-fit", x;
9876
+ t[17] !== a || t[18] !== g || t[19] !== _ || t[20] !== v || t[21] !== y || t[22] !== b ? (x = l("mo-label inline-flex", "pt-0 pb-0 pl-0", g, _, v, y, b, a), t[17] = a, t[18] = g, t[19] = _, t[20] = v, t[21] = y, t[22] = b, t[23] = x) : x = t[23];
9877
+ let S;
9878
+ return t[24] !== r || t[25] !== h || t[26] !== x ? (S = /* @__PURE__ */ (0, Y.jsxs)("div", {
9879
+ className: x,
9880
+ children: [h, r]
9881
+ }), t[24] = r, t[25] = h, t[26] = x, t[27] = S) : S = t[27], S;
9881
9882
  }, FS = class {
9882
9883
  tagName = "marimo-checkbox";
9883
9884
  validator = W({
@@ -9905,7 +9906,7 @@ var PS = (e) => {
9905
9906
  return t[7] !== i.label || t[8] !== s || t[9] !== c ? (l = /* @__PURE__ */ (0, Y.jsx)(PS, {
9906
9907
  label: i.label,
9907
9908
  align: "right",
9908
- id: s,
9909
+ controlId: s,
9909
9910
  children: c
9910
9911
  }), t[7] = i.label, t[8] = s, t[9] = c, t[10] = l) : l = t[10], l;
9911
9912
  }, LS = class {
@@ -9991,7 +9992,7 @@ var PS = (e) => {
9991
9992
  output: t
9992
9993
  };
9993
9994
  } };
9994
- } }, BS = J.lazy(() => import("./chat-ui-fVyVOhYN.js").then((e) => ({ default: e.Chatbot }))), VS = G(W({
9995
+ } }, BS = J.lazy(() => import("./chat-ui-DJpsSmlB.js").then((e) => ({ default: e.Chatbot }))), VS = G(W({
9995
9996
  id: U(),
9996
9997
  role: Io([
9997
9998
  "system",
@@ -10000,7 +10001,7 @@ var PS = (e) => {
10000
10001
  ]),
10001
10002
  content: U().nullable(),
10002
10003
  parts: G(Bo()),
10003
- metadata: Bo().nullable()
10004
+ metadata: Bo().optional()
10004
10005
  })), HS = W({
10005
10006
  max_tokens: K().nullable(),
10006
10007
  temperature: K().nullable(),
@@ -10457,7 +10458,7 @@ function RC(e, t) {
10457
10458
  }
10458
10459
  //#endregion
10459
10460
  //#region src/plugins/impl/DataEditorPlugin.tsx
10460
- var zC = J.lazy(() => import("./glide-data-editor-BGagFNmI.js").then((e) => e.t)), BC = xS("marimo-data-editor", { cssStyles: [WS] }).withData(W({
10461
+ var zC = J.lazy(() => import("./glide-data-editor-YvyWfJNT.js").then((e) => e.t)), BC = xS("marimo-data-editor", { cssStyles: [WS] }).withData(W({
10461
10462
  initialValue: W({ edits: G(W({
10462
10463
  rowIdx: K(),
10463
10464
  columnId: U(),
@@ -10876,7 +10877,7 @@ var uw = class {
10876
10877
  let m;
10877
10878
  return t[12] !== o || t[13] !== l || t[14] !== r || t[15] !== p ? (m = /* @__PURE__ */ (0, Y.jsx)(PS, {
10878
10879
  label: r,
10879
- id: l,
10880
+ controlId: l,
10880
10881
  fullWidth: o,
10881
10882
  children: p
10882
10883
  }), t[12] = o, t[13] = l, t[14] = r, t[15] = p, t[16] = m) : m = t[16], m;
@@ -15141,34 +15142,36 @@ var UE = class {
15141
15142
  });
15142
15143
  }
15143
15144
  }, WE = (e) => {
15144
- let t = (0, X.c)(19), n;
15145
- t[0] === e ? n = t[1] : (n = (t) => {
15145
+ let t = (0, X.c)(21), n = (0, J.useId)(), r;
15146
+ t[0] === e ? r = t[1] : (r = (t) => {
15146
15147
  if (!t) return;
15147
15148
  let n = t.toString();
15148
15149
  e.setValue(n);
15149
- }, t[0] = e, t[1] = n);
15150
- let r = n, i = e.label, a = e.fullWidth, o;
15151
- t[2] === e.value ? o = t[3] : (o = qr(e.value), t[2] = e.value, t[3] = o);
15152
- let s = e.label ?? "date picker", c;
15153
- t[4] === e.start ? c = t[5] : (c = qr(e.start), t[4] = e.start, t[5] = c);
15154
- let l;
15155
- t[6] === e.stop ? l = t[7] : (l = qr(e.stop), t[6] = e.stop, t[7] = l);
15156
- let u;
15157
- t[8] !== r || t[9] !== e.disabled || t[10] !== o || t[11] !== s || t[12] !== c || t[13] !== l ? (u = /* @__PURE__ */ (0, Y.jsx)(_n, {
15150
+ }, t[0] = e, t[1] = r);
15151
+ let i = r, a = e.label, o = e.fullWidth, s;
15152
+ t[2] === e.value ? s = t[3] : (s = qr(e.value), t[2] = e.value, t[3] = s);
15153
+ let c = e.label ? n : void 0, l = e.label ? void 0 : "date picker", u;
15154
+ t[4] === e.start ? u = t[5] : (u = qr(e.start), t[4] = e.start, t[5] = u);
15155
+ let d;
15156
+ t[6] === e.stop ? d = t[7] : (d = qr(e.stop), t[6] = e.stop, t[7] = d);
15157
+ let f;
15158
+ t[8] !== i || t[9] !== e.disabled || t[10] !== s || t[11] !== c || t[12] !== l || t[13] !== u || t[14] !== d ? (f = /* @__PURE__ */ (0, Y.jsx)(_n, {
15158
15159
  granularity: "day",
15159
- value: o,
15160
- onChange: r,
15161
- "aria-label": s,
15162
- minValue: c,
15163
- maxValue: l,
15160
+ value: s,
15161
+ onChange: i,
15162
+ "aria-labelledby": c,
15163
+ "aria-label": l,
15164
+ minValue: u,
15165
+ maxValue: d,
15164
15166
  isDisabled: e.disabled
15165
- }), t[8] = r, t[9] = e.disabled, t[10] = o, t[11] = s, t[12] = c, t[13] = l, t[14] = u) : u = t[14];
15166
- let d;
15167
- return t[15] !== e.fullWidth || t[16] !== e.label || t[17] !== u ? (d = /* @__PURE__ */ (0, Y.jsx)(PS, {
15168
- label: i,
15169
- fullWidth: a,
15170
- children: u
15171
- }), t[15] = e.fullWidth, t[16] = e.label, t[17] = u, t[18] = d) : d = t[18], d;
15167
+ }), t[8] = i, t[9] = e.disabled, t[10] = s, t[11] = c, t[12] = l, t[13] = u, t[14] = d, t[15] = f) : f = t[15];
15168
+ let p;
15169
+ return t[16] !== n || t[17] !== e.fullWidth || t[18] !== e.label || t[19] !== f ? (p = /* @__PURE__ */ (0, Y.jsx)(PS, {
15170
+ labelId: n,
15171
+ label: a,
15172
+ fullWidth: o,
15173
+ children: f
15174
+ }), t[16] = n, t[17] = e.fullWidth, t[18] = e.label, t[19] = f, t[20] = p) : p = t[20], p;
15172
15175
  }, GE = class {
15173
15176
  tagName = "marimo-date-range";
15174
15177
  validator = W({
@@ -15188,41 +15191,43 @@ var UE = class {
15188
15191
  });
15189
15192
  }
15190
15193
  }, KE = (e) => {
15191
- let t = (0, X.c)(24), n;
15192
- t[0] === e ? n = t[1] : (n = (t) => {
15194
+ let t = (0, X.c)(26), n = (0, J.useId)(), r;
15195
+ t[0] === e ? r = t[1] : (r = (t) => {
15193
15196
  if (!t) return;
15194
15197
  let { start: n, end: r } = t, i = [n.toString(), r.toString()];
15195
15198
  e.setValue(i);
15196
- }, t[0] = e, t[1] = n);
15197
- let r = n, i = e.label, a = e.fullWidth, o;
15198
- t[2] === e.value[0] ? o = t[3] : (o = qr(e.value[0]), t[2] = e.value[0], t[3] = o);
15199
- let s;
15200
- t[4] === e.value[1] ? s = t[5] : (s = qr(e.value[1]), t[4] = e.value[1], t[5] = s);
15199
+ }, t[0] = e, t[1] = r);
15200
+ let i = r, a = e.label, o = e.fullWidth, s;
15201
+ t[2] === e.value[0] ? s = t[3] : (s = qr(e.value[0]), t[2] = e.value[0], t[3] = s);
15201
15202
  let c;
15202
- t[6] !== o || t[7] !== s ? (c = {
15203
- start: o,
15204
- end: s
15205
- }, t[6] = o, t[7] = s, t[8] = c) : c = t[8];
15206
- let l = e.label ?? "date range picker", u;
15207
- t[9] === e.start ? u = t[10] : (u = qr(e.start), t[9] = e.start, t[10] = u);
15208
- let d;
15209
- t[11] === e.stop ? d = t[12] : (d = qr(e.stop), t[11] = e.stop, t[12] = d);
15210
- let f;
15211
- t[13] !== r || t[14] !== e.disabled || t[15] !== c || t[16] !== l || t[17] !== u || t[18] !== d ? (f = /* @__PURE__ */ (0, Y.jsx)(Tn, {
15203
+ t[4] === e.value[1] ? c = t[5] : (c = qr(e.value[1]), t[4] = e.value[1], t[5] = c);
15204
+ let l;
15205
+ t[6] !== s || t[7] !== c ? (l = {
15206
+ start: s,
15207
+ end: c
15208
+ }, t[6] = s, t[7] = c, t[8] = l) : l = t[8];
15209
+ let u = e.label ? n : void 0, d = e.label ? void 0 : "date range picker", f;
15210
+ t[9] === e.start ? f = t[10] : (f = qr(e.start), t[9] = e.start, t[10] = f);
15211
+ let p;
15212
+ t[11] === e.stop ? p = t[12] : (p = qr(e.stop), t[11] = e.stop, t[12] = p);
15213
+ let m;
15214
+ t[13] !== i || t[14] !== e.disabled || t[15] !== l || t[16] !== u || t[17] !== d || t[18] !== f || t[19] !== p ? (m = /* @__PURE__ */ (0, Y.jsx)(Tn, {
15212
15215
  granularity: "day",
15213
- value: c,
15214
- onChange: r,
15215
- "aria-label": l,
15216
- minValue: u,
15217
- maxValue: d,
15216
+ value: l,
15217
+ onChange: i,
15218
+ "aria-labelledby": u,
15219
+ "aria-label": d,
15220
+ minValue: f,
15221
+ maxValue: p,
15218
15222
  isDisabled: e.disabled
15219
- }), t[13] = r, t[14] = e.disabled, t[15] = c, t[16] = l, t[17] = u, t[18] = d, t[19] = f) : f = t[19];
15220
- let p;
15221
- return t[20] !== e.fullWidth || t[21] !== e.label || t[22] !== f ? (p = /* @__PURE__ */ (0, Y.jsx)(PS, {
15222
- label: i,
15223
- fullWidth: a,
15224
- children: f
15225
- }), t[20] = e.fullWidth, t[21] = e.label, t[22] = f, t[23] = p) : p = t[23], p;
15223
+ }), t[13] = i, t[14] = e.disabled, t[15] = l, t[16] = u, t[17] = d, t[18] = f, t[19] = p, t[20] = m) : m = t[20];
15224
+ let h;
15225
+ return t[21] !== n || t[22] !== e.fullWidth || t[23] !== e.label || t[24] !== m ? (h = /* @__PURE__ */ (0, Y.jsx)(PS, {
15226
+ labelId: n,
15227
+ label: a,
15228
+ fullWidth: o,
15229
+ children: m
15230
+ }), t[21] = n, t[22] = e.fullWidth, t[23] = e.label, t[24] = m, t[25] = h) : h = t[25], h;
15226
15231
  }, qE = class {
15227
15232
  tagName = "marimo-datetime";
15228
15233
  validator = W({
@@ -15247,34 +15252,36 @@ var UE = class {
15247
15252
  });
15248
15253
  }
15249
15254
  }, JE = (e) => {
15250
- let t = (0, X.c)(20), n;
15251
- t[0] === e ? n = t[1] : (n = (t) => {
15255
+ let t = (0, X.c)(22), n = (0, J.useId)(), r;
15256
+ t[0] === e ? r = t[1] : (r = (t) => {
15252
15257
  if (!t) return;
15253
15258
  let n = t.toString();
15254
15259
  e.setValue(n);
15255
- }, t[0] = e, t[1] = n);
15256
- let r = n, i;
15257
- t[2] === e.value ? i = t[3] : (i = e.value ? fr(e.value) : void 0, t[2] = e.value, t[3] = i);
15258
- let a = i, o = e.label, s = e.fullWidth, c = e.precision, l = e.label ?? "date time picker", u;
15259
- t[4] === e.start ? u = t[5] : (u = fr(e.start), t[4] = e.start, t[5] = u);
15260
- let d;
15261
- t[6] === e.stop ? d = t[7] : (d = fr(e.stop), t[6] = e.stop, t[7] = d);
15262
- let f;
15263
- t[8] !== r || t[9] !== a || t[10] !== e.disabled || t[11] !== e.precision || t[12] !== l || t[13] !== u || t[14] !== d ? (f = /* @__PURE__ */ (0, Y.jsx)(_n, {
15264
- granularity: c,
15265
- value: a,
15266
- onChange: r,
15267
- "aria-label": l,
15268
- minValue: u,
15269
- maxValue: d,
15270
- isDisabled: e.disabled
15271
- }), t[8] = r, t[9] = a, t[10] = e.disabled, t[11] = e.precision, t[12] = l, t[13] = u, t[14] = d, t[15] = f) : f = t[15];
15260
+ }, t[0] = e, t[1] = r);
15261
+ let i = r, a;
15262
+ t[2] === e.value ? a = t[3] : (a = e.value ? fr(e.value) : void 0, t[2] = e.value, t[3] = a);
15263
+ let o = a, s = e.label, c = e.fullWidth, l = e.precision, u = e.label ? n : void 0, d = e.label ? void 0 : "date time picker", f;
15264
+ t[4] === e.start ? f = t[5] : (f = fr(e.start), t[4] = e.start, t[5] = f);
15272
15265
  let p;
15273
- return t[16] !== e.fullWidth || t[17] !== e.label || t[18] !== f ? (p = /* @__PURE__ */ (0, Y.jsx)(PS, {
15274
- label: o,
15275
- fullWidth: s,
15276
- children: f
15277
- }), t[16] = e.fullWidth, t[17] = e.label, t[18] = f, t[19] = p) : p = t[19], p;
15266
+ t[6] === e.stop ? p = t[7] : (p = fr(e.stop), t[6] = e.stop, t[7] = p);
15267
+ let m;
15268
+ t[8] !== i || t[9] !== o || t[10] !== e.disabled || t[11] !== e.precision || t[12] !== u || t[13] !== d || t[14] !== f || t[15] !== p ? (m = /* @__PURE__ */ (0, Y.jsx)(_n, {
15269
+ granularity: l,
15270
+ value: o,
15271
+ onChange: i,
15272
+ "aria-labelledby": u,
15273
+ "aria-label": d,
15274
+ minValue: f,
15275
+ maxValue: p,
15276
+ isDisabled: e.disabled
15277
+ }), t[8] = i, t[9] = o, t[10] = e.disabled, t[11] = e.precision, t[12] = u, t[13] = d, t[14] = f, t[15] = p, t[16] = m) : m = t[16];
15278
+ let h;
15279
+ return t[17] !== n || t[18] !== e.fullWidth || t[19] !== e.label || t[20] !== m ? (h = /* @__PURE__ */ (0, Y.jsx)(PS, {
15280
+ labelId: n,
15281
+ label: s,
15282
+ fullWidth: c,
15283
+ children: m
15284
+ }), t[17] = n, t[18] = e.fullWidth, t[19] = e.label, t[20] = m, t[21] = h) : h = t[21], h;
15278
15285
  }, YE = class {
15279
15286
  tagName = "marimo-dict";
15280
15287
  validator = W({
@@ -15330,7 +15337,7 @@ var UE = class {
15330
15337
  let g;
15331
15338
  return t[15] !== s || t[16] !== u || t[17] !== a || t[18] !== h ? (g = /* @__PURE__ */ (0, Y.jsx)(PS, {
15332
15339
  label: a,
15333
- id: u,
15340
+ controlId: u,
15334
15341
  fullWidth: s,
15335
15342
  children: h
15336
15343
  }), t[15] = s, t[16] = u, t[17] = a, t[18] = h, t[19] = g) : g = t[19], g;
@@ -15405,11 +15412,11 @@ var $E = class {
15405
15412
  let v;
15406
15413
  return t[20] !== s || t[21] !== u || t[22] !== n || t[23] !== _ ? (v = /* @__PURE__ */ (0, Y.jsx)(PS, {
15407
15414
  label: n,
15408
- id: u,
15415
+ controlId: u,
15409
15416
  fullWidth: s,
15410
15417
  children: _
15411
15418
  }), t[20] = s, t[21] = u, t[22] = n, t[23] = _, t[24] = v) : v = t[24], v;
15412
- }, nD = J.lazy(() => import("./ConnectedDataExplorerComponent-C2d9ysUI.js")), rD = xS("marimo-data-explorer").withData(W({
15419
+ }, nD = J.lazy(() => import("./ConnectedDataExplorerComponent-CglAbSke.js")), rD = xS("marimo-data-explorer").withData(W({
15413
15420
  label: U().nullish(),
15414
15421
  data: U()
15415
15422
  })).renderer((e) => /* @__PURE__ */ (0, Y.jsx)(nD, {
@@ -16508,19 +16515,22 @@ var LD = ({ value: e, setValue: t, initialPath: n, selectionMode: r, multiple: i
16508
16515
  case " ": e.preventDefault(), ie[t].onToggleSelect?.();
16509
16516
  }
16510
16517
  }
16511
- let { parentDirectories: se } = ND({
16518
+ let { protocol: se, parentDirectories: ce } = ND({
16512
16519
  path: u,
16513
16520
  delimiter: L,
16514
16521
  initialPath: n,
16515
16522
  restrictNavigation: o
16516
- }), ce = r === "all" ? $e.of("file", "folder") : r === "directory" ? $e.of("folder") : $e.of("file");
16523
+ }), V = ce.toReversed().map((e) => ({
16524
+ path: e,
16525
+ name: e === se ? se : e.split(L).findLast(Boolean) ?? e
16526
+ })), le = r === "all" ? $e.of("file", "folder") : r === "directory" ? $e.of("folder") : $e.of("file");
16517
16527
  return /* @__PURE__ */ (0, Y.jsxs)("div", { children: [
16518
16528
  T && /* @__PURE__ */ (0, Y.jsx)(qo, {
16519
16529
  kind: "danger",
16520
16530
  children: T.message
16521
16531
  }),
16522
16532
  (() => {
16523
- let e = a ?? `Select ${ce.join(" and ", 2)}...`, t = /* @__PURE__ */ (0, Y.jsx)(Zo, { children: E({ html: e }) });
16533
+ let e = a ?? `Select ${le.join(" and ", 2)}...`, t = /* @__PURE__ */ (0, Y.jsx)(Zo, { children: E({ html: e }) });
16524
16534
  return i ? /* @__PURE__ */ (0, Y.jsxs)("div", {
16525
16535
  className: "flex items-center justify-between border px-2",
16526
16536
  children: [/* @__PURE__ */ (0, Y.jsx)("div", {
@@ -16534,15 +16544,32 @@ var LD = ({ value: e, setValue: t, initialPath: n, selectionMode: r, multiple: i
16534
16544
  }) })]
16535
16545
  }) : t;
16536
16546
  })(),
16537
- /* @__PURE__ */ (0, Y.jsx)(Ei, {
16538
- className: "mt-2 w-full",
16539
- placeholder: u,
16540
- value: u,
16541
- onChange: (e) => ee(e.target.value),
16542
- children: se.map((e) => /* @__PURE__ */ (0, Y.jsx)("option", {
16543
- value: e,
16544
- children: e
16545
- }, e))
16547
+ /* @__PURE__ */ (0, Y.jsx)("nav", {
16548
+ "aria-label": "Current directory",
16549
+ className: "mt-2",
16550
+ children: /* @__PURE__ */ (0, Y.jsx)("ol", {
16551
+ className: "flex flex-wrap items-center gap-0.5 text-sm",
16552
+ children: V.map((e, t) => {
16553
+ let n = t === V.length - 1;
16554
+ return /* @__PURE__ */ (0, Y.jsxs)("li", {
16555
+ className: "flex items-center gap-0.5",
16556
+ children: [t > 0 && /* @__PURE__ */ (0, Y.jsx)(na, {
16557
+ size: 14,
16558
+ className: "text-muted-foreground shrink-0",
16559
+ "aria-hidden": !0
16560
+ }), /* @__PURE__ */ (0, Y.jsx)("button", {
16561
+ type: "button",
16562
+ title: e.path,
16563
+ "aria-current": n ? "page" : void 0,
16564
+ onClick: () => {
16565
+ n || ee(e.path);
16566
+ },
16567
+ className: l("rounded px-1 focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring", n ? "font-medium cursor-default" : "text-muted-foreground hover:bg-accent hover:text-foreground"),
16568
+ children: e.name
16569
+ })]
16570
+ }, e.path);
16571
+ })
16572
+ })
16546
16573
  }),
16547
16574
  w && typeof w.total_count == "number" && /* @__PURE__ */ (0, Y.jsx)("div", {
16548
16575
  className: "text-xs text-muted-foreground mt-1 px-1",
@@ -16600,7 +16627,7 @@ var LD = ({ value: e, setValue: t, initialPath: n, selectionMode: r, multiple: i
16600
16627
  children: [
16601
16628
  e.length,
16602
16629
  " ",
16603
- ce.join(" or ", e.length),
16630
+ le.join(" or ", e.length),
16604
16631
  " ",
16605
16632
  "selected"
16606
16633
  ]
@@ -20138,7 +20165,7 @@ var yA = (e) => {
20138
20165
  let S;
20139
20166
  return t[20] !== n || t[21] !== e.fullWidth || t[22] !== e.label || t[23] !== x ? (S = /* @__PURE__ */ (0, Y.jsx)(PS, {
20140
20167
  label: f,
20141
- id: p,
20168
+ controlId: p,
20142
20169
  fullWidth: m,
20143
20170
  children: x
20144
20171
  }), t[20] = n, t[21] = e.fullWidth, t[22] = e.label, t[23] = x, t[24] = S) : S = t[24], S;
@@ -20808,7 +20835,7 @@ var yj = class {
20808
20835
  let p;
20809
20836
  return t[13] !== n || t[14] !== e.label || t[15] !== i || t[16] !== f ? (p = /* @__PURE__ */ (0, Y.jsx)(PS, {
20810
20837
  label: r,
20811
- id: n,
20838
+ controlId: n,
20812
20839
  align: i,
20813
20840
  children: f
20814
20841
  }), t[13] = n, t[14] = e.label, t[15] = i, t[16] = f, t[17] = p) : p = t[17], p;
@@ -21002,7 +21029,7 @@ var Sj = class {
21002
21029
  let I;
21003
21030
  return t[43] !== f || t[44] !== h || t[45] !== n || t[46] !== F || t[47] !== x || t[48] !== C ? (I = /* @__PURE__ */ (0, Y.jsx)(PS, {
21004
21031
  label: n,
21005
- id: h,
21032
+ controlId: h,
21006
21033
  align: x,
21007
21034
  className: C,
21008
21035
  fullWidth: f,
@@ -21313,7 +21340,7 @@ var Pj = (e) => {
21313
21340
  let ne;
21314
21341
  return t[57] !== p || t[58] !== _ || t[59] !== n || t[60] !== B || t[61] !== k || t[62] !== j ? (ne = /* @__PURE__ */ (0, Y.jsx)(PS, {
21315
21342
  label: n,
21316
- id: _,
21343
+ controlId: _,
21317
21344
  align: k,
21318
21345
  fullWidth: p,
21319
21346
  className: j,
@@ -21343,7 +21370,7 @@ var Pj = (e) => {
21343
21370
  return t[5] !== i.label || t[6] !== a || t[7] !== o ? (s = /* @__PURE__ */ (0, Y.jsx)(PS, {
21344
21371
  label: i.label,
21345
21372
  align: "right",
21346
- id: a,
21373
+ controlId: a,
21347
21374
  labelClassName: "ml-1",
21348
21375
  children: o
21349
21376
  }), t[5] = i.label, t[6] = a, t[7] = o, t[8] = s) : s = t[8], s;
@@ -21667,7 +21694,7 @@ function Gj(e, t) {
21667
21694
  }
21668
21695
  //#endregion
21669
21696
  //#region src/plugins/impl/vega/VegaPlugin.tsx
21670
- var Kj = J.lazy(() => import("./vega-component-tFOzgarw.js")), qj = class {
21697
+ var Kj = J.lazy(() => import("./vega-component-9siY74NS.js")), qj = class {
21671
21698
  tagName = "marimo-vega";
21672
21699
  validator = W({
21673
21700
  spec: W({}).passthrough().transform((e) => e),
@@ -21794,7 +21821,7 @@ var Qj = class {
21794
21821
  children: e.children
21795
21822
  });
21796
21823
  }
21797
- }, sM = J.lazy(() => import("./swiper-component-IOUowglM.js")), cM = xS("marimo-download").withData(W({
21824
+ }, sM = J.lazy(() => import("./swiper-component-DkV7T44B.js")), cM = xS("marimo-download").withData(W({
21798
21825
  data: U(),
21799
21826
  disabled: H().default(!1),
21800
21827
  filename: U().nullish(),
@@ -21934,7 +21961,7 @@ var Qj = class {
21934
21961
  themeVariables: e.data.theme_variables
21935
21962
  });
21936
21963
  }
21937
- }, _M = (0, J.lazy)(() => import("./mermaid-Dnzoxjt1.js").then((e) => e.t));
21964
+ }, _M = (0, J.lazy)(() => import("./mermaid-CEceCleL.js").then((e) => e.t));
21938
21965
  //#endregion
21939
21966
  //#region src/components/editor/chrome/panels/outline/useActiveOutline.tsx
21940
21967
  function vM() {
@@ -29941,7 +29968,7 @@ function bR(e) {
29941
29968
  }
29942
29969
  //#endregion
29943
29970
  //#region src/components/editor/renderers/slides-layout/slides-layout.tsx
29944
- var xR = J.lazy(() => import("./reveal-component-BYSyNNYH.js")), SR = (e) => {
29971
+ var xR = J.lazy(() => import("./reveal-component-CpKCz6Sm.js")), SR = (e) => {
29945
29972
  let t = (0, X.c)(33), { layout: n, setLayout: r, cells: i, mode: a } = e, o = rs(Ca), s = a === "read" || o, c = rs(_t) > 1, [l, u] = (0, J.useState)(null), d;
29946
29973
  t[0] !== i || t[1] !== n ? (d = vP(i, n), t[0] = i, t[1] = n, t[2] = d) : d = t[2];
29947
29974
  let { slideCells: f, skippedIds: p, noOutputIds: m, slideTypes: h, startCellIndex: g } = d, _;
@@ -31954,7 +31981,7 @@ function OB(e, t) {
31954
31981
  }
31955
31982
  //#endregion
31956
31983
  //#region src/core/islands/worker/worker.tsx?worker&url
31957
- var kB = "/assets/worker-D7hWi02M.js", AB = class {
31984
+ var kB = "/assets/worker-Bf8dt6S-.js", AB = class {
31958
31985
  url;
31959
31986
  name;
31960
31987
  constructor(e = {}) {