@marimo-team/islands 0.23.2-dev3 → 0.23.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 (509) hide show
  1. package/dist/{ConnectedDataExplorerComponent-P92i6wYx.js → ConnectedDataExplorerComponent-DShCAU06.js} +11 -11
  2. package/dist/{isArrayLikeObject-LXbTYiBa.js → _baseFor-6rr1p10t.js} +43 -215
  3. package/dist/_baseUniq-LxrBY6QK.js +380 -0
  4. package/dist/{any-language-editor-BCvLfvzI.js → any-language-editor-CtNfsWJh.js} +17 -17
  5. package/dist/apl-Y7yFAg6_.js +4 -0
  6. package/dist/{arc-DLJpPF9M.js → arc-CEWBr4jc.js} +2 -2
  7. package/dist/architecture-7HQA4BMR-CATq-AgL.js +6 -0
  8. package/dist/{architectureDiagram-VXUJARFQ-B3YQo9At.js → architectureDiagram-VXUJARFQ-DqqZsWn9.js} +19 -19
  9. package/dist/{arrays-beUWo8RF.js → arrays-Du-jRBAy.js} +1 -1
  10. package/dist/asciiarmor-Bl8b2p0w.js +4 -0
  11. package/dist/asn1-BF6cywqm.js +4 -0
  12. package/dist/{blockDiagram-VD42YOAC-CpQ3TKEN.js → blockDiagram-VD42YOAC-46RbsmrR.js} +53 -53
  13. package/dist/brainfuck-BuqydWe3.js +4 -0
  14. package/dist/{c4Diagram-YG6GDRKO-CZSU4uqU.js → c4Diagram-YG6GDRKO-DQhd8kxL.js} +6 -6
  15. package/dist/{capabilities-BwpUgo4S.js → capabilities-B6ae40r2.js} +1 -1
  16. package/dist/{channel-X3JKk8gE.js → channel-DR5iDSyR.js} +1 -1
  17. package/dist/{chat-ui-CNHw9Osh.js → chat-ui-CVKwVnwD.js} +18 -18
  18. package/dist/{chunk-4BX2VUAB-C2skOn1Z.js → chunk-4BX2VUAB-BChPAwlt.js} +1 -1
  19. package/dist/{chunk-4F5CHEZ2-D5mClyDv.js → chunk-4F5CHEZ2-Bt9N9Ox8.js} +1 -1
  20. package/dist/{chunk-55IACEB6-DRsSqxbU.js → chunk-55IACEB6-wWyiO7Qo.js} +1 -1
  21. package/dist/{chunk-5FQGJX7Z-VIref9gx.js → chunk-5FQGJX7Z-DDhYtPiB.js} +3 -3
  22. package/dist/{chunk-ABZYJK2D-CZYCCtLy.js → chunk-ABZYJK2D--T2L3L-f.js} +3 -3
  23. package/dist/{chunk-ATLVNIR6-DaOzLLgN.js → chunk-ATLVNIR6-CgKfvd-c.js} +2 -2
  24. package/dist/{chunk-B2363JML-Br0eA2T3.js → chunk-B2363JML-Db4oHCZ4.js} +1 -1
  25. package/dist/{chunk-B4BG7PRW-4BjV11Br.js → chunk-B4BG7PRW-J0s6wAkN.js} +7 -7
  26. package/dist/{chunk-CVBHYZKI-BXHgce-x.js → chunk-CVBHYZKI-DqdOZevv.js} +1 -1
  27. package/dist/{chunk-DI55MBZ5-DITY3EyP.js → chunk-DI55MBZ5-33PvMnN-.js} +6 -6
  28. package/dist/{chunk-EXTU4WIE-jUPSAk3i.js → chunk-EXTU4WIE-BspiJIuJ.js} +2 -2
  29. package/dist/{chunk-FMBD7UC4-BjIaI-XO.js → chunk-FMBD7UC4-WPL5C7Yr.js} +1 -1
  30. package/dist/{chunk-FRFDVMJY-DnEvEFRR.js → chunk-FRFDVMJY-DGahYT1S.js} +1 -1
  31. package/dist/{chunk-HN2XXSSU-DAhNp1ig.js → chunk-HN2XXSSU-GC9oeSst.js} +1 -1
  32. package/dist/{chunk-JA3XYJ7Z-BcPEfxk_.js → chunk-JA3XYJ7Z-DCohPV-J.js} +3 -3
  33. package/dist/{chunk-JZLCHNYA-2bnLL3xL.js → chunk-JZLCHNYA-B5kMsVU0.js} +6 -6
  34. package/dist/{chunk-MI3HLSF2-AKwFNP3m.js → chunk-MI3HLSF2-CAUClZTk.js} +1 -1
  35. package/dist/{chunk-N4CR4FBY-CpZSuGSU.js → chunk-N4CR4FBY-DJggWRjm.js} +7 -7
  36. package/dist/{chunk-PL6DKKU2-DnId6G-x.js → chunk-PL6DKKU2-CoF4omiN.js} +1 -1
  37. package/dist/{chunk-QN33PNHL-B9p5ojHB.js → chunk-QN33PNHL-B1NgkDCq.js} +2 -2
  38. package/dist/{chunk-QXUST7PY-Ch6F5Obl.js → chunk-QXUST7PY-CpxfBz2U.js} +10 -10
  39. package/dist/{chunk-QZHKN3VN-BK9tlbfw.js → chunk-QZHKN3VN-cTJMhkeY.js} +1 -1
  40. package/dist/{chunk-S3R3BYOJ-B0UOFJwq.js → chunk-S3R3BYOJ-DYg3yWKI.js} +8 -8
  41. package/dist/{chunk-SJTYNZTY-BsBZnJUj.js → chunk-SJTYNZTY-dW9OU4qd.js} +1 -1
  42. package/dist/{chunk-TCCFYFTB-Clbl-fTg.js → chunk-TCCFYFTB-vYPbT9fw.js} +1552 -345
  43. package/dist/{chunk-TQ3KTPDO-CFkSQ30e.js → chunk-TQ3KTPDO-Dykudlbk.js} +1 -1
  44. package/dist/{chunk-TZMSLE5B-D45397J2.js → chunk-TZMSLE5B-JAnY0w_r.js} +3 -3
  45. package/dist/{chunk-UMXZTB3W-D-A834Bq.js → chunk-UMXZTB3W-BVL6vS7M.js} +1 -1
  46. package/dist/classDiagram-2ON5EDUG-Be541Bqx.js +30 -0
  47. package/dist/classDiagram-v2-WZHVMYZB-CFtNZ66L.js +30 -0
  48. package/dist/{clike-B90WKs4D.js → clike-D8Yzpo0X.js} +1 -1
  49. package/dist/clojure-CAHAWK5H.js +4 -0
  50. package/dist/{clone-DZFQCtFJ.js → clone-0b7yW5QV.js} +1 -1
  51. package/dist/cmake-BogDc4GF.js +4 -0
  52. package/dist/cobol-DRnpeU4u.js +4 -0
  53. package/dist/{code-block-37QAKDTI-FQEoMOU1.js → code-block-37QAKDTI-DP_hitFg.js} +1 -1
  54. package/dist/coffeescript-9MgX7RN8.js +4 -0
  55. package/dist/commonlisp-CVz2KONN.js +4 -0
  56. package/dist/{constants-CvyfaCvs.js → constants-C2U1Bmny.js} +4 -4
  57. package/dist/{cose-bilkent-S5V4N54A-DvCk1aXi.js → cose-bilkent-S5V4N54A-CFYo67PX.js} +2 -2
  58. package/dist/crystal-td8mwLG5.js +4 -0
  59. package/dist/css-BK451dBn.js +4 -0
  60. package/dist/cypher-DuNPR6Ie.js +4 -0
  61. package/dist/d-DL6oP_-2.js +4 -0
  62. package/dist/{dagre-6UL2VRFP-OMItEBnY.js → dagre-6UL2VRFP-On1-AgLm.js} +102 -103
  63. package/dist/{dagre-QVd-lCXU.js → dagre-Bc6NAu6c.js} +105 -39
  64. package/dist/{data-grid-overlay-editor-C_sKPpLu.js → data-grid-overlay-editor-B1mPZ5v3.js} +2 -2
  65. package/dist/{diagram-PSM6KHXK-CkKbohWI.js → diagram-PSM6KHXK-B2x0d9iz.js} +22 -22
  66. package/dist/{diagram-QEK2KX5R-DjUMpVcx.js → diagram-QEK2KX5R-C6yZT5O0.js} +17 -17
  67. package/dist/{diagram-S2PKOQOG-b-c0d-wZ.js → diagram-S2PKOQOG-DDohjXNG.js} +17 -17
  68. package/dist/diff-D9CplOBj.js +4 -0
  69. package/dist/{dist-Doy0mQDg.js → dist-4BuWWZtg.js} +2 -2
  70. package/dist/{dist-DlSUOIm9.js → dist-5VO3ibto.js} +1 -1
  71. package/dist/dist-B9hNC-E9.js +5 -0
  72. package/dist/{dist-DJKubHDd.js → dist-BH67T-KO.js} +1 -1
  73. package/dist/{dist-CNF0QBLR.js → dist-BI11IEaj.js} +1 -1
  74. package/dist/dist-BK1_hXFC.js +5 -0
  75. package/dist/{dist-ej6AQKaS.js → dist-BKGmoFSu.js} +1 -1
  76. package/dist/{dist-CTwGwcQ8.js → dist-BKKbDTix.js} +2 -2
  77. package/dist/dist-BSGRbj-N.js +8 -0
  78. package/dist/{dist-VqF3W_ue.js → dist-BVdq25Pp.js} +2 -2
  79. package/dist/{dist-BvhGByxL.js → dist-BWmwgyyt.js} +4 -4
  80. package/dist/{dist-DUFd1bhm.js → dist-BmkybMad.js} +1 -1
  81. package/dist/{dist-DbnBiLNH.js → dist-Bo8Q2NZ6.js} +3 -3
  82. package/dist/{dist-DJ9F1eHs.js → dist-BrRkENbS.js} +2 -2
  83. package/dist/{dist-DFK94vuS.js → dist-C-Mi2f2L.js} +2 -2
  84. package/dist/dist-C5i3bD88.js +5 -0
  85. package/dist/dist-C9mOdSQc.js +5 -0
  86. package/dist/{dist--6TSlp8H.js → dist-CM55yvVz.js} +1 -1
  87. package/dist/{dist-CIB8w0Fl.js → dist-CWin4kuc.js} +2 -2
  88. package/dist/{dist-Ci0CXEFt.js → dist-Cf1__Ezo.js} +1 -1
  89. package/dist/{dist-CcMfr7jD.js → dist-ChYkaQZ9.js} +1 -1
  90. package/dist/{dist-CFKdzOIu.js → dist-Cil0kZOw.js} +2 -2
  91. package/dist/{dist-LhQNUe5A.js → dist-CjFd_clf.js} +3 -3
  92. package/dist/{dist-DD_cYHOl.js → dist-CtliEIOC.js} +2 -2
  93. package/dist/{dist-B43sbpd0.js → dist-CuT7pAjI.js} +3 -3
  94. package/dist/dist-DAmwszSZ.js +8 -0
  95. package/dist/dist-DGgzl61R.js +5 -0
  96. package/dist/{dist-DLafRu9s.js → dist-DH-coTYX.js} +2 -2
  97. package/dist/{dist-CxZvoNao.js → dist-DPAK3Dpl.js} +44 -31
  98. package/dist/{dist-DGNtjMZu.js → dist-DViRvB3t.js} +1 -1
  99. package/dist/{dist-m9tsXsFf.js → dist-DcB6g7XM.js} +2 -2
  100. package/dist/dist-DnGRs0FR.js +5 -0
  101. package/dist/dist-GBXFGpIo.js +8 -0
  102. package/dist/dist-H433csIN.js +8 -0
  103. package/dist/{dist-DpkJHKB8.js → dist-HNoCppvN.js} +2 -2
  104. package/dist/{dist-Bfp1XXWt.js → dist-I9ZUr7P2.js} +5 -5
  105. package/dist/dist-ItCg4aSC.js +6 -0
  106. package/dist/dist-Mi3Li5U2.js +6 -0
  107. package/dist/{dist-BrxqmS9Q.js → dist-QzlYe8XT.js} +4 -4
  108. package/dist/{dist-BjDuO5JW.js → dist-ZJ4KZJv-.js} +1 -1
  109. package/dist/dist-_-4VPi_T.js +5 -0
  110. package/dist/{dist-tGk0aZ--.js → dist-qpWXd9bI.js} +2 -2
  111. package/dist/{dist-DAfcmt-d.js → dist-rdefyFzZ.js} +2 -2
  112. package/dist/dist-tIur4wUM.js +5 -0
  113. package/dist/{dist-C4bq5Ioy.js → dist-vkjbtmSV.js} +2 -2
  114. package/dist/{dockerfile-DfXhjEUG.js → dockerfile-m9DOSpI5.js} +1 -1
  115. package/dist/dtd-Ce1c54UO.js +4 -0
  116. package/dist/dylan-B43wjIwg.js +4 -0
  117. package/dist/ecl-DK-fZmir.js +4 -0
  118. package/dist/eiffel-CNuvvPqD.js +4 -0
  119. package/dist/elm-DZEkBjgQ.js +4 -0
  120. package/dist/{erDiagram-Q2GNP2WA-CDhLaOZ1.js → erDiagram-Q2GNP2WA-C7-L36q5.js} +15 -15
  121. package/dist/erlang-Dw4PDZV_.js +4 -0
  122. package/dist/{esm-CDHI9cuO.js → esm-DGjaY9EX.js} +2 -2
  123. package/dist/{esm-CD1iby2n.js → esm-i3cb1Eej.js} +105 -105
  124. package/dist/factor-C9JRv63g.js +4 -0
  125. package/dist/{factor--4HHM8Rw.js → factor-Nva0iSXt.js} +1 -1
  126. package/dist/flatten-BOUk2Lcs.js +8 -0
  127. package/dist/{flowDiagram-NV44I4VS-BDi4O4CL.js → flowDiagram-NV44I4VS-CJW83FSj.js} +17 -17
  128. package/dist/forth-CKhoqn4e.js +4 -0
  129. package/dist/fortran-Do51bToK.js +4 -0
  130. package/dist/{ganttDiagram-JELNMOA3-BpZE6kVp.js → ganttDiagram-JELNMOA3-CwBjBQUx.js} +10 -10
  131. package/dist/gas-BZfL3Uwh.js +4 -0
  132. package/dist/gherkin-BwQh4ehw.js +4 -0
  133. package/dist/{gitGraph-G5XIXVHT-B_c6xFJv.js → gitGraph-G5XIXVHT-DTpIjETB.js} +3 -3
  134. package/dist/{gitGraphDiagram-V2S2FVAM-iQnXzbPM.js → gitGraphDiagram-V2S2FVAM-CmTxe2C4.js} +17 -17
  135. package/dist/{glide-data-editor-BFqEJGJW.js → glide-data-editor-BaAX1uv-.js} +8 -8
  136. package/dist/graphlib-DTP9cqCT.js +359 -0
  137. package/dist/groovy-CG5kCGiv.js +4 -0
  138. package/dist/{hasIn-DnfJcYpY.js → hasIn-MXhEnf0q.js} +3 -3
  139. package/dist/haskell-BKii9uTg.js +4 -0
  140. package/dist/haxe-Bsz30J8x.js +5 -0
  141. package/dist/idl-BlxgaPKj.js +4 -0
  142. package/dist/{info-VBDWY6EO-BTyzxmhr.js → info-VBDWY6EO-DcCsz2w_.js} +3 -3
  143. package/dist/infoDiagram-HS3SLOUP-Dz0ivKcB.js +30 -0
  144. package/dist/{input-CSVEkmaZ.js → input-L-W-RdiE.js} +4 -4
  145. package/dist/{isEmpty-B7FX9wKt.js → isEmpty-BkHRaD4A.js} +9 -9
  146. package/dist/{isSymbol-DCbjQG_U.js → isSymbol-DjQk-23F.js} +1 -1
  147. package/dist/javascript-SNhUvTcB.js +4 -0
  148. package/dist/{journeyDiagram-XKPGCS4Q-ClPC94aN.js → journeyDiagram-XKPGCS4Q-8XpEA5Ko.js} +7 -7
  149. package/dist/julia-CGZzaDyk.js +4 -0
  150. package/dist/{kanban-definition-3W4ZIXB7-DHEAKdZt.js → kanban-definition-3W4ZIXB7-C-sC72Q7.js} +12 -12
  151. package/dist/{katex-CkLtKXwv.js → katex-Ckd8lBne.js} +1 -1
  152. package/dist/{label-BebYlsDV.js → label-DAH3oYXB.js} +1 -1
  153. package/dist/{line-PAEmCpyD.js → line-LK_5q2B9.js} +3 -3
  154. package/dist/{linear-v57w-fIs.js → linear-CJ6ctpF3.js} +4 -4
  155. package/dist/livescript-Cj6cX-Ys.js +4 -0
  156. package/dist/{loader-ZFbGsMN1.js → loader-D9ktSJS7.js} +1 -1
  157. package/dist/lua-BcVHrD8f.js +4 -0
  158. package/dist/main.js +456 -361
  159. package/dist/mathematica-DLY8ZGoJ.js +4 -0
  160. package/dist/mbox-BNTsMWS5.js +4 -0
  161. package/dist/{memoize-CSTI9eOX.js → memoize-DxdGWSJ6.js} +1 -1
  162. package/dist/merge-BEePrO2O.js +222 -0
  163. package/dist/{mermaid-4DMBBIKO-BjtqcdX4.js → mermaid-4DMBBIKO-DRXAUrhi.js} +1 -1
  164. package/dist/{mermaid-BbhZNQeB.js → mermaid-DBH43AFh.js} +45 -45
  165. package/dist/{mermaid-parser.core-ntCgyx0x.js → mermaid-parser.core-Bn1MCv1H.js} +8 -8
  166. package/dist/{mhchem-BuY5LDSq.js → mhchem-DAXq6Zll.js} +1 -1
  167. package/dist/min-RKgAiXUl.js +38 -0
  168. package/dist/{mindmap-definition-VGOIOE7T-CxEUZZvY.js → mindmap-definition-VGOIOE7T-f-YOgrj9.js} +14 -14
  169. package/dist/mirc-oyeOBir2.js +4 -0
  170. package/dist/mllike-ByxznKQw.js +6 -0
  171. package/dist/modelica-DNLhoyD8.js +4 -0
  172. package/dist/mscgen-DkZltsli.js +6 -0
  173. package/dist/mumps-TTiQB1xv.js +4 -0
  174. package/dist/now-BUO7mCs3.js +31 -0
  175. package/dist/{nsis-B6EN9LWI.js → nsis-DgKbDAVQ.js} +1 -1
  176. package/dist/nsis-RT1O1Ph8.js +4 -0
  177. package/dist/ntriples-CxsCiZ7Z.js +4 -0
  178. package/dist/{number-overlay-editor-B02-t7Ar.js → number-overlay-editor-BbN3lvDI.js} +1 -1
  179. package/dist/octave-CkLh5tpW.js +4 -0
  180. package/dist/{once-C_TIu-kR.js → once-CZno0h-b.js} +1 -1
  181. package/dist/{ordinal-D7fa8Sey.js → ordinal-COPPjmMz.js} +1 -1
  182. package/dist/oz-yI7U9eVH.js +4 -0
  183. package/dist/{packet-DYOGHKS2-BhvnpoGi.js → packet-DYOGHKS2-BpYOwBIl.js} +3 -3
  184. package/dist/pascal-CQK8sfDe.js +4 -0
  185. package/dist/perl-BEG8-kZl.js +4 -0
  186. package/dist/pick-M816gWrv.js +43 -0
  187. package/dist/{pie-VRWISCQL-dILuA3iG.js → pie-VRWISCQL-narEdAtC.js} +3 -3
  188. package/dist/{pieDiagram-ADFJNKIX-U3LrUqAS.js → pieDiagram-ADFJNKIX-e7V1zvfH.js} +22 -22
  189. package/dist/pig-DLLCqQaR.js +4 -0
  190. package/dist/powershell-CtjMkVO_.js +4 -0
  191. package/dist/{precisionRound-CGLoV26P.js → precisionRound-Duzbr5ur.js} +1 -1
  192. package/dist/{process-output-Bekznt_B.js → process-output-BX1UfKIX.js} +2298 -2284
  193. package/dist/properties-Domeb57z.js +4 -0
  194. package/dist/protobuf-0yk85TV6.js +4 -0
  195. package/dist/pug-B-BiNkM-.js +4 -0
  196. package/dist/{pug-xrm7jQ2R.js → pug-CTpLcc1b.js} +1 -1
  197. package/dist/puppet-C0N4vevK.js +4 -0
  198. package/dist/python-BZFa8G3C.js +4 -0
  199. package/dist/q-gcj7dgJv.js +4 -0
  200. package/dist/{quadrantDiagram-AYHSOK5B-BVWuq-3R.js → quadrantDiagram-AYHSOK5B-DbJIgiah.js} +5 -5
  201. package/dist/r-DavzTuPU.js +4 -0
  202. package/dist/{radar-ZZBFDIW7-DwFrOJDj.js → radar-ZZBFDIW7-CZ6uVl9x.js} +3 -3
  203. package/dist/react-vega-BFLRzgl7.js +9 -0
  204. package/dist/{react-vega-DBwal82H.js → react-vega-Ov9UeJeF.js} +18 -18
  205. package/dist/{requirementDiagram-UZGBJVZJ-D0zpQnKC.js → requirementDiagram-UZGBJVZJ-DDTA2gwv.js} +14 -14
  206. package/dist/rpm-bPj31ya8.js +5 -0
  207. package/dist/ruby-3UzzijjE.js +4 -0
  208. package/dist/{sankeyDiagram-TZEHDZUN-CExy1joT.js → sankeyDiagram-TZEHDZUN-TOGeZF4f.js} +5 -5
  209. package/dist/sas-D9upmCP9.js +4 -0
  210. package/dist/scheme-DqWYzIFR.js +4 -0
  211. package/dist/{sequenceDiagram-WL72ISMW-D1BJxLjH.js → sequenceDiagram-WL72ISMW-XZ-vAxdG.js} +8 -8
  212. package/dist/shell-w63nkNmU.js +4 -0
  213. package/dist/sieve-Dz_ISrl6.js +4 -0
  214. package/dist/{slides-component-DLxprlqo.js → slides-component-B9NXzezL.js} +1 -1
  215. package/dist/smalltalk-BXZ14pkr.js +4 -0
  216. package/dist/sparql-Boyc0wkb.js +4 -0
  217. package/dist/{spec-3EPbPQZH.js → spec-Budha9Vn.js} +2 -2
  218. package/dist/{src-DbP20yFZ.js → src-szye8OCw.js} +1 -1
  219. package/dist/{stateDiagram-FKZM4ZOC-B1S8jGMn.js → stateDiagram-FKZM4ZOC-B72-jYlX.js} +19 -19
  220. package/dist/stateDiagram-v2-4FDKWEC3-Up7GUIPl.js +29 -0
  221. package/dist/{step-qd10PbTJ.js → step-1PmBKr2y.js} +1 -1
  222. package/dist/stex-CZyTRGVB.js +4 -0
  223. package/dist/stylus-m9L_f1X1.js +4 -0
  224. package/dist/swift-C4TGn99K.js +4 -0
  225. package/dist/tcl-D_L0cfYZ.js +4 -0
  226. package/dist/textile-BAofYdKN.js +4 -0
  227. package/dist/{time-Bdnxi22U.js → time-B8tcX_hU.js} +4 -4
  228. package/dist/{timeline-definition-IT6M3QCI-BDT9JAmn.js → timeline-definition-IT6M3QCI-CStBX2Oa.js} +4 -4
  229. package/dist/{toDate-B1AzlBoW.js → toDate-Cqrm-UC4.js} +2 -2
  230. package/dist/toml-DCDKACLL.js +4 -0
  231. package/dist/{treemap-GDKQZRPO-bx2ngsgN.js → treemap-GDKQZRPO-BxK9LkTz.js} +3 -3
  232. package/dist/troff-JHOU2VZK.js +4 -0
  233. package/dist/ttcn-Cxhng3qq.js +4 -0
  234. package/dist/ttcn-cfg-DJgUIu5n.js +4 -0
  235. package/dist/turtle-DKYkKZjV.js +4 -0
  236. package/dist/{types-pwjdK009.js → types-DEY2byth.js} +1 -1
  237. package/dist/{useAsyncData-BL98MPIy.js → useAsyncData-B1v_9k4L.js} +2 -2
  238. package/dist/{useDeepCompareMemoize-CsyOnnjc.js → useDeepCompareMemoize-ToNUMW7X.js} +3 -3
  239. package/dist/{useIframeCapabilities-CsTUYYj7.js → useIframeCapabilities-WKJHoHW-.js} +1 -1
  240. package/dist/{useLifecycle-DrGGIsgp.js → useLifecycle-DdNGMIjn.js} +1 -1
  241. package/dist/{useTheme-CzwDokKe.js → useTheme-CfzcSQtz.js} +1 -1
  242. package/dist/vb-C9rpn9hN.js +4 -0
  243. package/dist/vbscript-BQ7rxQU0.js +4 -0
  244. package/dist/{vega-component-KBJXEDZz.js → vega-component-CQ88A9vN.js} +11 -11
  245. package/dist/{vega-loader.browser-DqEcFOPD.js → vega-loader.browser-hMqVC9bf.js} +3 -3
  246. package/dist/velocity-C8WXmzLz.js +4 -0
  247. package/dist/verilog-BUXJEyEq.js +4 -0
  248. package/dist/vhdl-C18YIXfF.js +4 -0
  249. package/dist/webidl-D97EKzDx.js +4 -0
  250. package/dist/xquery-BZM6yzG2.js +4 -0
  251. package/dist/{xychartDiagram-PRI3JC2R-CuAZiqHS.js → xychartDiagram-PRI3JC2R-DCtrGSHF.js} +13 -13
  252. package/dist/yacas-CXKck-Ok.js +4 -0
  253. package/dist/z80-BbF6ykWc.js +4 -0
  254. package/package.json +2 -2
  255. package/src/components/data-table/TableBottomBar.tsx +5 -1
  256. package/src/components/data-table/__tests__/filters.test.ts +304 -0
  257. package/src/components/data-table/__tests__/pagination.test.tsx +46 -132
  258. package/src/components/data-table/column-explorer-panel/column-explorer.tsx +1 -1
  259. package/src/components/data-table/filters.ts +87 -33
  260. package/src/components/data-table/pagination.tsx +189 -76
  261. package/src/components/data-table/types.ts +0 -4
  262. package/src/components/editor/Output.tsx +1 -1
  263. package/src/components/editor/actions/useNotebookActions.tsx +12 -0
  264. package/src/components/editor/cell/code/cell-editor.tsx +1 -0
  265. package/src/core/cells/__tests__/apply-transaction.test.ts +42 -0
  266. package/src/core/cells/__tests__/logs.test.ts +101 -0
  267. package/src/core/cells/logs.ts +9 -1
  268. package/src/core/codemirror/__tests__/__snapshots__/setup.test.ts.snap +4 -14
  269. package/src/core/codemirror/cells/extensions.ts +0 -4
  270. package/src/core/codemirror/keymaps/keymaps.ts +69 -2
  271. package/src/core/codemirror/language/languages/python.ts +9 -9
  272. package/src/core/codemirror/lsp/__tests__/notebook-lsp.test.ts +8 -1
  273. package/src/core/codemirror/lsp/federated-lsp.ts +2 -2
  274. package/src/core/codemirror/lsp/notebook-lsp.ts +2 -2
  275. package/src/core/codemirror/lsp/utils.ts +21 -6
  276. package/src/core/constants.ts +1 -0
  277. package/src/plugins/impl/DataTablePlugin.tsx +7 -20
  278. package/src/plugins/impl/TabsPlugin.tsx +18 -12
  279. package/src/plugins/impl/data-frames/DataFramePlugin.tsx +4 -4
  280. package/src/plugins/impl/data-frames/schema.ts +41 -9
  281. package/src/plugins/impl/data-frames/utils/operators.ts +2 -0
  282. package/src/plugins/impl/matplotlib/matplotlib-renderer.ts +16 -0
  283. package/dist/_basePickBy-Sow3pJjS.js +0 -41
  284. package/dist/_baseUniq-C87CckHL.js +0 -518
  285. package/dist/apl-C1bki_dE.js +0 -4
  286. package/dist/architecture-7HQA4BMR-BHdkAMvZ.js +0 -6
  287. package/dist/asciiarmor-BdlkCCRr.js +0 -4
  288. package/dist/asn1-CvE30hox.js +0 -4
  289. package/dist/brainfuck-BalwWy1a.js +0 -4
  290. package/dist/classDiagram-2ON5EDUG-C8-zE3Zv.js +0 -30
  291. package/dist/classDiagram-v2-WZHVMYZB-DrmbGANl.js +0 -30
  292. package/dist/clojure-CUC2I1hM.js +0 -4
  293. package/dist/cmake-8PcMxXnB.js +0 -4
  294. package/dist/cobol-DkkkDz5v.js +0 -4
  295. package/dist/coffeescript-CCupxOZf.js +0 -4
  296. package/dist/commonlisp-DhUfGX6b.js +0 -4
  297. package/dist/crystal-DSaw6rFQ.js +0 -4
  298. package/dist/css-D4QDewkG.js +0 -4
  299. package/dist/cypher-CrYVqw_F.js +0 -4
  300. package/dist/d-Cr3H3pPx.js +0 -4
  301. package/dist/diff-ODiZJGls.js +0 -4
  302. package/dist/dist-7K5doRvB.js +0 -6
  303. package/dist/dist-B6I_A2-E.js +0 -8
  304. package/dist/dist-BEQsmaZY.js +0 -5
  305. package/dist/dist-BasY2RHp.js +0 -8
  306. package/dist/dist-Bosc00dY.js +0 -5
  307. package/dist/dist-CQMZOn-_.js +0 -8
  308. package/dist/dist-CViQhWZ8.js +0 -5
  309. package/dist/dist-Cz6rLfwY.js +0 -5
  310. package/dist/dist-D8eq8st3.js +0 -6
  311. package/dist/dist-DM1UDXdl.js +0 -5
  312. package/dist/dist-DNrtWPgS.js +0 -5
  313. package/dist/dist-V7q2qnpA.js +0 -5
  314. package/dist/dist-a5_hPgu2.js +0 -8
  315. package/dist/dist-uVyZcV1-.js +0 -5
  316. package/dist/dtd-C-t2Rk7F.js +0 -4
  317. package/dist/dylan-B4ctBLGp.js +0 -4
  318. package/dist/ecl-DqWfymni.js +0 -4
  319. package/dist/eiffel-DjBKKAr7.js +0 -4
  320. package/dist/elm--fxeC0FV.js +0 -4
  321. package/dist/erlang-CaKXCX6H.js +0 -4
  322. package/dist/factor-DlLO5EFS.js +0 -4
  323. package/dist/forth-rOO6LVj_.js +0 -4
  324. package/dist/fortran-CUg15VGR.js +0 -4
  325. package/dist/gas-BMRJspiW.js +0 -4
  326. package/dist/gherkin-DRxzijZU.js +0 -4
  327. package/dist/graphlib-BV1_gi0C.js +0 -226
  328. package/dist/groovy-BmrQ8pUP.js +0 -4
  329. package/dist/haskell-BuaYfKOz.js +0 -4
  330. package/dist/haxe-DcH9eA0a.js +0 -5
  331. package/dist/idl-DGlcm4Ls.js +0 -4
  332. package/dist/infoDiagram-HS3SLOUP-OYrX6uO3.js +0 -30
  333. package/dist/javascript-CeTk7rzr.js +0 -4
  334. package/dist/julia-BoP_q1gm.js +0 -4
  335. package/dist/livescript-B7IMN-ba.js +0 -4
  336. package/dist/lua-q1InavKb.js +0 -4
  337. package/dist/mathematica-DvR8-_EI.js +0 -4
  338. package/dist/mbox-7h5MNBS_.js +0 -4
  339. package/dist/merge-CVhG7q_o.js +0 -51
  340. package/dist/min-Ds3gG0Ff.js +0 -96
  341. package/dist/mirc-D-XM8A5c.js +0 -4
  342. package/dist/mllike-BQGkkbmf.js +0 -6
  343. package/dist/modelica-D_yRj_WU.js +0 -4
  344. package/dist/mscgen-B-rltAjp.js +0 -6
  345. package/dist/mumps-2kh8TU2b.js +0 -4
  346. package/dist/now-nrrrOr01.js +0 -7
  347. package/dist/nsis-CtusEqwb.js +0 -4
  348. package/dist/ntriples-BdAXw6zV.js +0 -4
  349. package/dist/octave-CsNFmVp5.js +0 -4
  350. package/dist/oz-odIXCrKd.js +0 -4
  351. package/dist/pascal-B9Mfk3Fo.js +0 -4
  352. package/dist/perl-C48inLcz.js +0 -4
  353. package/dist/pig-uwRtAssU.js +0 -4
  354. package/dist/powershell-CXqlca-i.js +0 -4
  355. package/dist/properties-D6Zu1rpK.js +0 -4
  356. package/dist/protobuf-BlNNWZaR.js +0 -4
  357. package/dist/pug-DytcK7bv.js +0 -4
  358. package/dist/puppet-lJ8Ok3iY.js +0 -4
  359. package/dist/python-cMaF7kUp.js +0 -4
  360. package/dist/q-Dgt2HYQh.js +0 -4
  361. package/dist/r-Bm4S4awf.js +0 -4
  362. package/dist/range-fJeId9Ri.js +0 -30
  363. package/dist/react-vega-BkjdpVsR.js +0 -9
  364. package/dist/rpm-_8LbzMVc.js +0 -5
  365. package/dist/ruby-Cr8IJ5VZ.js +0 -4
  366. package/dist/sas-CFcSfo2_.js +0 -4
  367. package/dist/scheme-N4XRoKgc.js +0 -4
  368. package/dist/shell-B4L7f_ds.js +0 -4
  369. package/dist/sieve-UI6J3Gm0.js +0 -4
  370. package/dist/smalltalk-BuaPZAZU.js +0 -4
  371. package/dist/sparql-1rKrq463.js +0 -4
  372. package/dist/stateDiagram-v2-4FDKWEC3-BH5ozUbc.js +0 -29
  373. package/dist/stex-CQDv3aS8.js +0 -4
  374. package/dist/stylus-DvSovJEP.js +0 -4
  375. package/dist/swift-D-_E7Yyb.js +0 -4
  376. package/dist/tcl-Di5sAVHN.js +0 -4
  377. package/dist/textile-Benwt66z.js +0 -4
  378. package/dist/toNumber-55tjPCWr.js +0 -28
  379. package/dist/toml-CeOvPOkY.js +0 -4
  380. package/dist/troff-DJN9hfgu.js +0 -4
  381. package/dist/ttcn-DQW2Psjf.js +0 -4
  382. package/dist/ttcn-cfg-zFG_MNpg.js +0 -4
  383. package/dist/turtle-DHRyNlSc.js +0 -4
  384. package/dist/vb-CXWH9DD-.js +0 -4
  385. package/dist/vbscript-qr8qVck5.js +0 -4
  386. package/dist/velocity-C_9pUJRx.js +0 -4
  387. package/dist/verilog-DxBstgBa.js +0 -4
  388. package/dist/vhdl-odUxAbE6.js +0 -4
  389. package/dist/webidl-Dfn5Rku4.js +0 -4
  390. package/dist/xquery-CrJs6SXr.js +0 -4
  391. package/dist/yacas-B-uDDLZe.js +0 -4
  392. package/dist/z80-51gxgAXE.js +0 -4
  393. /package/dist/{ImageComparisonComponent-HF4AY8_n.js → ImageComparisonComponent-BV1jHxOP.js} +0 -0
  394. /package/dist/{Plot-CK0oVgQL.js → Plot-DsEy3ro_.js} +0 -0
  395. /package/dist/{apl-Oc3bL26_.js → apl-BqjtmlWW.js} +0 -0
  396. /package/dist/{array-ByIS7m3B.js → array-D7wW5QoO.js} +0 -0
  397. /package/dist/{asciiarmor-DTbPh2VI.js → asciiarmor-D9C9bbeV.js} +0 -0
  398. /package/dist/{asn1-CGhwu1Ri.js → asn1-D_zR1ubK.js} +0 -0
  399. /package/dist/{asterisk-BApaB_8m.js → asterisk-B0dLLA8Z.js} +0 -0
  400. /package/dist/{brainfuck-CA0L8lRq.js → brainfuck-79SC7EYA.js} +0 -0
  401. /package/dist/{chunk-DR5Q36YT-C40cYcy5.js → chunk-DR5Q36YT-BxPcQ21t.js} +0 -0
  402. /package/dist/{click-outside-container-D3t6KDni.js → click-outside-container-BHqXZnKi.js} +0 -0
  403. /package/dist/{clike-CEtUBPHD.js → clike-DFDX2jWq.js} +0 -0
  404. /package/dist/{clojure-BszjvdGo.js → clojure-Bb3Od9By.js} +0 -0
  405. /package/dist/{cmake-B2Gvps8b.js → cmake-DYGUYEtU.js} +0 -0
  406. /package/dist/{cobol-DuMch8nn.js → cobol-CcWmcAFT.js} +0 -0
  407. /package/dist/{coffeescript-L9aKXVsJ.js → coffeescript-BVa1qoL6.js} +0 -0
  408. /package/dist/{colors-IJ-2cn2o.js → colors-6DRQ0kEF.js} +0 -0
  409. /package/dist/{common-keywords-CsU75Ked.js → common-keywords-Bz8dNfWa.js} +0 -0
  410. /package/dist/{commonlisp-CrtdssxB.js → commonlisp-zi51jgUH.js} +0 -0
  411. /package/dist/{crystal-vvNY0LpY.js → crystal-QjpegJHM.js} +0 -0
  412. /package/dist/{css-B1GdzqT1.js → css-B_GfJtcK.js} +0 -0
  413. /package/dist/{cypher-BtZvV7bW.js → cypher-BVuYJpGf.js} +0 -0
  414. /package/dist/{cytoscape.esm-CRfNlsPy.js → cytoscape.esm-BYAuS6uS.js} +0 -0
  415. /package/dist/{d-B0UN3V-Z.js → d-BT97RiQI.js} +0 -0
  416. /package/dist/{defaultLocale-Bxoo2-30.js → defaultLocale-B_A76Zpk.js} +0 -0
  417. /package/dist/{defaultLocale-qS7DaAmi.js → defaultLocale-DjFHq3Xk.js} +0 -0
  418. /package/dist/{diff-DOpgjj1W.js → diff-CHd93v7L.js} +0 -0
  419. /package/dist/{dist-BjWd_Ei9.js → dist-CqR8FBcH.js} +0 -0
  420. /package/dist/{dtd-Ctnjxrle.js → dtd-akLFIRuZ.js} +0 -0
  421. /package/dist/{duckdb-keywords-DjrZdCO2.js → duckdb-keywords-CQAIHMbC.js} +0 -0
  422. /package/dist/{dylan-DFXkoaZy.js → dylan-Iy-rgNOc.js} +0 -0
  423. /package/dist/{ebnf-XJCIl_em.js → ebnf-CTkZpZPT.js} +0 -0
  424. /package/dist/{ecl-C1NExZip.js → ecl-BhUXC_aR.js} +0 -0
  425. /package/dist/{eiffel-uXVGgleg.js → eiffel-DIRAlWPD.js} +0 -0
  426. /package/dist/{elm-CBOFnnib.js → elm-BDgVzkJ4.js} +0 -0
  427. /package/dist/{emotion-is-prop-valid.esm-CJVjyntJ.js → emotion-is-prop-valid.esm-DdzHpbbG.js} +0 -0
  428. /package/dist/{erlang-DMnrT8XK.js → erlang-Djcs_NwB.js} +0 -0
  429. /package/dist/{esm-D4gzqVRq.js → esm-BRwAuUu2.js} +0 -0
  430. /package/dist/{fcl-fh4Mj0bc.js → fcl-OXoT8w4k.js} +0 -0
  431. /package/dist/{forth-DDpxS4nw.js → forth-c_NTahPv.js} +0 -0
  432. /package/dist/{fortran-B6uYqQMz.js → fortran-Bpxt27dn.js} +0 -0
  433. /package/dist/{gas-BKnWzuFz.js → gas-RVBts6ZK.js} +0 -0
  434. /package/dist/{gherkin-pBt0wT4X.js → gherkin-Hf6PTauh.js} +0 -0
  435. /package/dist/{groovy-DKsn4ppB.js → groovy-CKjO-cRi.js} +0 -0
  436. /package/dist/{haskell-BJVBJQcy.js → haskell-DC1Gan6v.js} +0 -0
  437. /package/dist/{haxe-rLN5UZU5.js → haxe-Bpne--ot.js} +0 -0
  438. /package/dist/{http-CbJFDV7c.js → http-CPVO27fZ.js} +0 -0
  439. /package/dist/{idl-B4mwMAo-.js → idl-GRIbMIEq.js} +0 -0
  440. /package/dist/{init-Cge3yl4r.js → init-BfRhston.js} +0 -0
  441. /package/dist/{invariant-e8eBgdux.js → invariant-D4hPsZFI.js} +0 -0
  442. /package/dist/{javascript-Hf2NLNC0.js → javascript-nS0zxWNO.js} +0 -0
  443. /package/dist/{julia-GGpx21YN.js → julia-CQpdTxmO.js} +0 -0
  444. /package/dist/{katex-CQ_cP8Uu.js → katex-Dg42UEnr.js} +0 -0
  445. /package/dist/{livescript-CSvXMspZ.js → livescript-D5kqrQol.js} +0 -0
  446. /package/dist/{lua-CVMR5LMW.js → lua-CKifrpGK.js} +0 -0
  447. /package/dist/{main-XimWhSi_.js → main-CvkAPtaq.js} +0 -0
  448. /package/dist/{math-CEWMqgbD.js → math-BbMyrONz.js} +0 -0
  449. /package/dist/{mathematica-JENNt-p4.js → mathematica-CxT3f_fi.js} +0 -0
  450. /package/dist/{mbox-mzifoc8E.js → mbox-C2_n_I9h.js} +0 -0
  451. /package/dist/{micromark-factory-space-BHslBP9f.js → micromark-factory-space-YUxUai1y.js} +0 -0
  452. /package/dist/{mirc-BXoiItvN.js → mirc-BTQeASBH.js} +0 -0
  453. /package/dist/{mllike-H-KR9OuH.js → mllike-BxO6Hl5N.js} +0 -0
  454. /package/dist/{modelica-B6Hm3mMl.js → modelica-DuivZReX.js} +0 -0
  455. /package/dist/{mscgen-D8TF_Hei.js → mscgen-DwD83FOm.js} +0 -0
  456. /package/dist/{mumps-CD-kNPt4.js → mumps-CdVjp3OE.js} +0 -0
  457. /package/dist/{nginx-9EZQIKsh.js → nginx-Bi9TuNqb.js} +0 -0
  458. /package/dist/{node-sql-parser-DIe6Cq_-.js → node-sql-parser-Bet3kHkt.js} +0 -0
  459. /package/dist/{ntriples-DgnpxU40.js → ntriples-DBS60qLp.js} +0 -0
  460. /package/dist/{octave-CkobqyVm.js → octave-BL0tQUFC.js} +0 -0
  461. /package/dist/{oz-ChDLd9tS.js → oz-DBrG4vwi.js} +0 -0
  462. /package/dist/{pascal-CvlkwK7E.js → pascal-BWV9h8yS.js} +0 -0
  463. /package/dist/{path-B-82hpi8.js → path-C_x2ySFi.js} +0 -0
  464. /package/dist/{perl-BNEFTNbM.js → perl-Bm5a83JW.js} +0 -0
  465. /package/dist/{pig-Cd1DMS7P.js → pig-CbJDoHaE.js} +0 -0
  466. /package/dist/{powershell-CPxA0zpc.js → powershell-tG44m5Cy.js} +0 -0
  467. /package/dist/{properties-BaFBm-Xa.js → properties-DUZGzdb1.js} +0 -0
  468. /package/dist/{protobuf-BQV_-X0H.js → protobuf-CcoKXY0d.js} +0 -0
  469. /package/dist/{puppet-LXLST0mx.js → puppet-BH73L_Gw.js} +0 -0
  470. /package/dist/{purify.es-hTCfRGdl.js → purify.es-ukiMXY-F.js} +0 -0
  471. /package/dist/{python-DLjLzX4k.js → python-NJIxLTZp.js} +0 -0
  472. /package/dist/{q-DswTX1Y9.js → q-MotBNA65.js} +0 -0
  473. /package/dist/{r-CO7NpMwE.js → r-BUgBPae7.js} +0 -0
  474. /package/dist/{range-BYuZFTbA.js → range-DwpxnYuB.js} +0 -0
  475. /package/dist/{rpm-BlmEDT6r.js → rpm-C_PaGodG.js} +0 -0
  476. /package/dist/{ruby-BTPKgeZZ.js → ruby-DFLM2XD8.js} +0 -0
  477. /package/dist/{sas-DTDTiNO8.js → sas-BMyyu8oO.js} +0 -0
  478. /package/dist/{scheme-UzAAg4GJ.js → scheme-Qet9zYAe.js} +0 -0
  479. /package/dist/{shell-DQ0hQCsB.js → shell-BKHx4Jjo.js} +0 -0
  480. /package/dist/{sieve-BVyYIx9u.js → sieve-CVo7dc4j.js} +0 -0
  481. /package/dist/{simple-mode-Dryu-fC9.js → simple-mode-CVFBIo6d.js} +0 -0
  482. /package/dist/{smalltalk-DAdMAHTu.js → smalltalk-BHr2nCth.js} +0 -0
  483. /package/dist/{solr-Bn6k51kO.js → solr-Bt9XtM2H.js} +0 -0
  484. /package/dist/{sparql-Bi7quYgw.js → sparql-QSu0ZCcc.js} +0 -0
  485. /package/dist/{spreadsheet-UpVklYg7.js → spreadsheet-BWfuwc0V.js} +0 -0
  486. /package/dist/{sql-qyORs189.js → sql-BdV3YOCG.js} +0 -0
  487. /package/dist/{stex-D887Ylhf.js → stex-Ze8D4R_5.js} +0 -0
  488. /package/dist/{stylus-jhpzcQ6Y.js → stylus-CLZH9-Ps.js} +0 -0
  489. /package/dist/{swift-BrO8qThZ.js → swift-JNDJdNIE.js} +0 -0
  490. /package/dist/{tcl-s5QI5gv3.js → tcl-J5aE7aj5.js} +0 -0
  491. /package/dist/{textile-ClhvJrxM.js → textile-6Hn05XQM.js} +0 -0
  492. /package/dist/{tiddlywiki-CmAAqw9M.js → tiddlywiki-BWn8rSwJ.js} +0 -0
  493. /package/dist/{tiki-DzCRe_s0.js → tiki-XORjA1c3.js} +0 -0
  494. /package/dist/{timer-BPKOAfmx.js → timer-pEiW44EO.js} +0 -0
  495. /package/dist/{toml-TFa3EJQE.js → toml-BceyeuiF.js} +0 -0
  496. /package/dist/{treemap-CmLtUuWe.js → treemap-BzS5cW_6.js} +0 -0
  497. /package/dist/{troff-SqLg0heF.js → troff-DeMyd5Pf.js} +0 -0
  498. /package/dist/{ttcn-Cfrap7HJ.js → ttcn-DurvvcB-.js} +0 -0
  499. /package/dist/{ttcn-cfg-Dopc-iwE.js → ttcn-cfg-BuYui6Rv.js} +0 -0
  500. /package/dist/{turtle-Dt52DvVH.js → turtle-CD8Qf-tp.js} +0 -0
  501. /package/dist/{vb-D1pAvfDe.js → vb-BklM-Nqk.js} +0 -0
  502. /package/dist/{vbscript-DZ7RBxn5.js → vbscript-DbMEEX0d.js} +0 -0
  503. /package/dist/{velocity-Csau7eZy.js → velocity-CERL-_vq.js} +0 -0
  504. /package/dist/{verilog-gXlZACs5.js → verilog-BD6jNce6.js} +0 -0
  505. /package/dist/{vhdl-NaUWbI1B.js → vhdl-U-1_N98i.js} +0 -0
  506. /package/dist/{webidl-BJmPjW01.js → webidl-IUn0dzoa.js} +0 -0
  507. /package/dist/{xquery-CJIPsC0g.js → xquery-QeeHdSO2.js} +0 -0
  508. /package/dist/{yacas-8f2Vjiiz.js → yacas-C9XcEPAJ.js} +0 -0
  509. /package/dist/{z80-s5Xk2hCP.js → z80-C-nD1oRy.js} +0 -0
package/dist/main.js CHANGED
@@ -22,58 +22,57 @@ import { _ as Logger, c as Objects, g as cn, h as Events, i as NOT_SET, l as use
22
22
  import { t as require_react } from "./react-DA-nE2FX.js";
23
23
  import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
24
24
  import { n as Copy, r as toast, t as copyToClipboard } from "./copy-Bp6CK_Fg.js";
25
- import { $ as createActions, $t as isUninstantiated, A as MarimoIncomingMessageEvent, An as Trash2, At as PathBuilder, B as DotFilledIcon, Bn as Database, Ct as getValidName, D as AccordionContent, Dn as Root2$4, Dt as customPythonLanguageSupport, E as Accordion, En as Item$1, Et as Checkbox, F as BorderAllIcon, Fn as Layers, Ft as generateUUID, G as base64ToDataView, Gn as esm_default$1, Gt as require_client, H as PinRightIcon, Hn as CircleX, Ht as PluralWords, In as Info, It as useChromeActions, J as extractBase64FromDataURL, K as base64ToUint8Array, Kn as import_lib, L as CheckIcon, Ln as File, Lt as repl, M as MarimoValueReadyEvent, Mn as PaintRoller, N as MarimoValueUpdateEvent, Nn as NotebookPen, Nt as goToCellLine, O as AccordionItem, On as Trigger2, Ot as MarkdownLanguageAdapter, P as createInputEvent, Pn as LoaderCircle, Pt as DeferredRequestRegistry, Qt as useRequestClient, R as ChevronDownIcon, Rn as FileText, Rt as adaptForLocalStorage, Sn as selectAtom, St as displayCellName, Tn as Content2$1, Tt as normalizeName, U as deserializeBlob, Un as CircleAlert, Ut as DATA_TYPE_ICON, V as PinLeftIcon, Vn as Columns2, Vt as PluralWord, Wn as Braces, Wt as getDataTypeColor, X as safeExtractSetUIElementMessageBuffers, Xt as getRequestClient, Y as isDataURLString, Yt as convertStatsName, Z as renderHTML, Zt as requestClientAtom, _ as useExpandedConsoleOutput, _n as jsonParseWithSpecialChar, _t as isErrorMime, a as toPng, at as reducer, b as getDatasourceContext, bn as atomWithReducer, bt as DATA_CELL_ID, c as useCellFocusActions, cn as parseDataset, ct as useCellNames, d as Spinner, dn as HTMLCellId, dt as getInitialAppMode, et as getCellEditorView, f as Popover$1, fn as SCRATCH_CELL_ID, ft as initialModeAtom, g as isOutputEmpty, gn as RANDOM_ID_ATTR, gt as outputIsStale, h as PopoverTrigger, hn as OBJECT_ID_ATTR, ht as outputIsLoading, i as PythonIcon, in as NotebookScopedLocalStorage, it as numColumnsAtom, j as MarimoValueInputEvent, jn as Table2, jt as Paths, k as AccordionTrigger, kn as Wrench, l as useLastFocusedCellId, ln as parseInitialValue, lt as createCell, m as PopoverContent, mn as findCellId, mt as viewStateAtom, n as blobToString, nn as extractAllTracebackInfo, nt as notebookAtom, o as MarkdownRenderer, on as filenameAtom, ot as useCellActions, p as PopoverClose$1, pn as UIElementId, pt as kioskModeAtom, q as dataViewToBase64, r as filesToBase64, rn as getTracebackInfo, rt as notebookOutline, s as LazyAnyLanguageCodeMirror, sn as parseAttrValue, st as useCellIds, t as processOutput, tn as elementContainsMarimoCellFile, tt as getCellNames, u as maybeAddAltairImport, un as CellOutputId, ut as AnsiUp, v as useExpandedOutput, vn as jsonToMarkdown, vt as headingToIdentifier, wn as Close$1, wt as isInternalCellName, xn as atomWithStorage, xt as getCellDomProps, yn as jsonToTSV, yt as sanitizeHtml, z as ChevronRightIcon, zn as Eye, zt as jotaiJsonStorage, __tla as __tla_0 } from "./process-output-Bekznt_B.js";
26
- import { __tla as __tla_1 } from "./chunk-5FQGJX7Z-VIref9gx.js";
25
+ import { $ as createActions, $t as isUninstantiated, A as MarimoIncomingMessageEvent, An as Trash2, At as PathBuilder, B as DotFilledIcon, Bn as Database, Ct as getValidName, D as AccordionContent, Dn as Root2$4, Dt as customPythonLanguageSupport, E as Accordion, En as Item$1, Et as Checkbox, F as BorderAllIcon, Fn as Layers, Ft as generateUUID, G as base64ToDataView, Gn as esm_default$1, Gt as require_client, H as PinRightIcon, Hn as CircleX, Ht as PluralWords, In as Info, It as useChromeActions, J as extractBase64FromDataURL, K as base64ToUint8Array, Kn as import_lib, L as CheckIcon, Ln as File, Lt as repl, M as MarimoValueReadyEvent, Mn as PaintRoller, N as MarimoValueUpdateEvent, Nn as NotebookPen, Nt as goToCellLine, O as AccordionItem, On as Trigger2, Ot as MarkdownLanguageAdapter, P as createInputEvent, Pn as LoaderCircle, Pt as DeferredRequestRegistry, Qt as useRequestClient, R as ChevronDownIcon, Rn as FileText, Rt as adaptForLocalStorage, Sn as selectAtom, St as displayCellName, Tn as Content2$1, Tt as normalizeName, U as deserializeBlob, Un as CircleAlert, Ut as DATA_TYPE_ICON, V as PinLeftIcon, Vn as Columns2, Vt as PluralWord, Wn as Braces, Wt as getDataTypeColor, X as safeExtractSetUIElementMessageBuffers, Xt as getRequestClient, Y as isDataURLString, Yt as convertStatsName, Z as renderHTML, Zt as requestClientAtom, _ as useExpandedConsoleOutput, _n as jsonParseWithSpecialChar, _t as isErrorMime, a as toPng, at as reducer, b as getDatasourceContext, bn as atomWithReducer, bt as DATA_CELL_ID, c as useCellFocusActions, cn as parseDataset, ct as useCellNames, d as Spinner, dn as HTMLCellId, dt as getInitialAppMode, et as getCellEditorView, f as Popover$1, fn as SCRATCH_CELL_ID, ft as initialModeAtom, g as isOutputEmpty, gn as RANDOM_ID_ATTR, gt as outputIsStale, h as PopoverTrigger, hn as OBJECT_ID_ATTR, ht as outputIsLoading, i as PythonIcon, in as NotebookScopedLocalStorage, it as numColumnsAtom, j as MarimoValueInputEvent, jn as Table2, jt as Paths, k as AccordionTrigger, kn as Wrench, l as useLastFocusedCellId, ln as parseInitialValue, lt as createCell, m as PopoverContent, mn as findCellId, mt as viewStateAtom, n as blobToString, nn as extractAllTracebackInfo, nt as notebookAtom, o as MarkdownRenderer, on as filenameAtom, ot as useCellActions, p as PopoverClose$1, pn as UIElementId, pt as kioskModeAtom, q as dataViewToBase64, r as filesToBase64, rn as getTracebackInfo, rt as notebookOutline, s as LazyAnyLanguageCodeMirror, sn as parseAttrValue, st as useCellIds, t as processOutput, tn as elementContainsMarimoCellFile, tt as getCellNames, u as maybeAddAltairImport, un as CellOutputId, ut as AnsiUp, v as useExpandedOutput, vn as jsonToMarkdown, vt as headingToIdentifier, wn as Close$1, wt as isInternalCellName, xn as atomWithStorage, xt as getCellDomProps, yn as jsonToTSV, yt as sanitizeHtml, z as ChevronRightIcon, zn as Eye, zt as jotaiJsonStorage, __tla as __tla_0 } from "./process-output-BX1UfKIX.js";
26
+ import { __tla as __tla_1 } from "./chunk-5FQGJX7Z-DDhYtPiB.js";
27
27
  import { o as useSize, s as Root$4, u as createLucideIcon } from "./dist-CTtLBPLZ.js";
28
- import { A as $896ba0a80a8f4d36$export$85fd5fdf27bacc79, C as DEFAULT_COLOR_SCHEME, D as SCALE_TYPE_DESCRIPTIONS, E as EMPTY_VALUE$1, F as ListFilter, I as ChartPie, L as ChartColumn, M as $5a387cc49350e6db$export$722debc0e56fea39, N as Table$1, O as TIME_UNIT_DESCRIPTIONS, P as SquareFunction, S as DEFAULT_AGGREGATION, T as DEFAULT_TIME_UNIT, _ as AGGREGATION_TYPE_DESCRIPTIONS, a as AGGREGATION_FNS$1, b as COLOR_SCHEMES, c as COLOR_BY_FIELDS, d as NONE_VALUE, f as SELECTABLE_DATA_TYPES, g as TIME_UNITS, h as STRING_AGGREGATION_FNS, i as convertDataTypeToSelectable, j as $fb18d541ea1ad717$export$ad991b66133851cf, k as escapeFieldName, l as COMBINED_TIME_UNITS, m as SORT_TYPES, n as createSpecWithoutData, o as BIN_AGGREGATION, p as SINGLE_TIME_UNITS, r as isFieldSet, s as CHART_TYPES, t as augmentSpecWithData, u as ChartType, v as AGGREGATION_TYPE_ICON, w as DEFAULT_MAX_BINS_FACET, x as COUNT_FIELD, y as CHART_TYPE_ICON } from "./spec-3EPbPQZH.js";
29
- import { c as Calendar, i as createReducerAndAtoms, n as useOnUnmount, o as ToggleLeft, r as Badge, t as useOnMount } from "./useLifecycle-DrGGIsgp.js";
28
+ import { A as $896ba0a80a8f4d36$export$85fd5fdf27bacc79, C as DEFAULT_COLOR_SCHEME, D as SCALE_TYPE_DESCRIPTIONS, E as EMPTY_VALUE$1, F as ListFilter, I as ChartPie, L as ChartColumn, M as $5a387cc49350e6db$export$722debc0e56fea39, N as Table$1, O as TIME_UNIT_DESCRIPTIONS, P as SquareFunction, S as DEFAULT_AGGREGATION, T as DEFAULT_TIME_UNIT, _ as AGGREGATION_TYPE_DESCRIPTIONS, a as AGGREGATION_FNS$1, b as COLOR_SCHEMES, c as COLOR_BY_FIELDS, d as NONE_VALUE, f as SELECTABLE_DATA_TYPES, g as TIME_UNITS, h as STRING_AGGREGATION_FNS, i as convertDataTypeToSelectable, j as $fb18d541ea1ad717$export$ad991b66133851cf, k as escapeFieldName, l as COMBINED_TIME_UNITS, m as SORT_TYPES, n as createSpecWithoutData, o as BIN_AGGREGATION, p as SINGLE_TIME_UNITS, r as isFieldSet, s as CHART_TYPES, t as augmentSpecWithData, u as ChartType, v as AGGREGATION_TYPE_ICON, w as DEFAULT_MAX_BINS_FACET, x as COUNT_FIELD, y as CHART_TYPE_ICON } from "./spec-Budha9Vn.js";
29
+ import { c as Calendar, i as createReducerAndAtoms, n as useOnUnmount, o as ToggleLeft, r as Badge, t as useOnMount } from "./useLifecycle-DdNGMIjn.js";
30
30
  import { t as Check } from "./check-BgrdTLuv.js";
31
- import { A as Icon, C as logNever, D as $18f2051aff69b9bf$export$a54013f0d02a8f82, E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, F as createCollection, I as X, M as clamp$3, N as usePrevious$2, O as $b5e257d569688ac6$export$535bd6ca7f90a273, P as useDirection, R as ChevronDown, S as assertNever, T as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, _ as menuControlVariants, a as SelectContent, b as menuSeparatorVariants, c as SelectLabel, d as SelectValue, f as NativeSelect, g as menuControlCheckVariants, h as menuContentCommon, i as Select, j as Trigger$3, l as SelectSeparator, m as MENU_ITEM_DISABLED, n as Strings, o as SelectGroup, p as selectStyles, r as capitalize, s as SelectItem, t as Label, u as SelectTrigger, v as menuItemVariants, w as $a916eb452884faea$export$b7a616150fdb9f44, x as menuSubTriggerVariants, y as menuLabelVariants } from "./label-BebYlsDV.js";
32
- import { $ as $e5be200c675c3b3a$export$aca958c65c314e6c, $t as Portal, A as $d2b4bc8c273e7be6$export$24d547caef80ccd1, At as $c87311424ea30a05$export$fedb369cb70207f1, B as $64fa3d84918910a7$export$c62b8e45d58ddad9, Bt as $431fbd86ca7dc216$export$f21a1ffae260145a, C as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, Ct as $8ae05eaa5c114e9c$export$7f54fc3180508a52, D as $ee014567cb39d3f0$export$ff05c3ac10437e03, Dt as $c87311424ea30a05$export$78551043582a6a98, E as $ee014567cb39d3f0$export$f551688fc98f2e09, Et as $c87311424ea30a05$export$6446a186d09e379e, F as $64fa3d84918910a7$export$2881499e37b75b9a, Ft as $d4ee10de306f2510$export$b4f377a2b6254582, G as marked, Gt as Anchor2, H as $64fa3d84918910a7$export$ef03459518577ad4, Ht as $bdb11010cef70236$export$b4cc09c592e8fdb8, I as $64fa3d84918910a7$export$29f1550f4b0d4415, It as $d4ee10de306f2510$export$cd4e5573fbe2b576, J as $d2e8511e6f209edf$export$e908e06f4b8e3402, Jt as Content2$2, K as useDebounceControlledState, Kt as Arrow2, L as $64fa3d84918910a7$export$4d86445c2cf5e3, Lt as $d4ee10de306f2510$export$e58f029f0fbfdb29, M as $01b77f81d0f07f68$export$75b6ee27786ba447, Mt as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, N as $01b77f81d0f07f68$export$b04be29aa201d4f5, Nt as $3ef42575df84b30b$export$9d1611c77c2fe928, O as $514c0188e459b4c0$export$5f1af8db9871e1d6, Ot as $c87311424ea30a05$export$9ac100e40613ea10, P as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Pt as $d4ee10de306f2510$export$4282f70798064fe0, Q as $e5be200c675c3b3a$export$a763b9476acd3eb, Qt as Label$2, R as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, Rt as $f4e2df6bd15f8569$export$98658e8c59125e6a, S as $3985021b0ad6602f$export$f5b8910cec6cf069, St as $e9faafb641e167db$export$90fc3a17d93f704c, T as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Tt as $313b98861ee5dd6c$export$d6875122194c7b44, U as $64fa3d84918910a7$export$fabf2dc03a41866e, Ut as $bdb11010cef70236$export$f680877a34711e37, V as $64fa3d84918910a7$export$df3a06d6289f983e, Vt as $ff5963eb1fccf552$export$e08e3b67e392101e, Wt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, X as $e93e671b31057976$export$b8473d3665f3a75a, Xt as Item2$2, Y as $2baaea4c71418dea$export$294aa081a6c6f55d, Yt as Group$1, Z as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, Zt as ItemIndicator, _ as DropdownMenuSub, _t as $9446cca9a3875146$export$7d15b64cf5a3a4c4, a as NumberField, an as SubContent, at as $6c7bd7858deea686$export$cd11ab140839f11d, b as DropdownMenuTrigger, bt as $b4b717babfbb907b$export$bebd5a1431fec25d, c as prettyNumber, cn as Item$2, ct as $6db58dc88e78b024$export$2f817fcdc4b89ae0, d as DropdownMenuContent, dn as Search, dt as $9ab94262bd0047c7$export$420e68273165f4ec, en as RadioGroup$2, et as $e5be200c675c3b3a$export$dad6ae84456c676a, f as DropdownMenuGroup, fn as Circle, ft as $3ad3f6e1647bc98d$export$80f3e147d781571c, g as DropdownMenuSeparator, gt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, h as DropdownMenuPortal, ht as _class_private_field_init, i as OnBlurredInput, in as Sub, it as $701a24aa0da5b062$export$ea18c227d4417cc3, j as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, jt as $7215afc6de606d6b$export$de79e2c695e052f3, k as $514c0188e459b4c0$export$9afb8bc826b033ea, kt as $c87311424ea30a05$export$a11b0059900ceec8, l as prettyScientificNumber, ln as Root$5, lt as $5b160d28a433310d$export$c17fa47878dc55b6, m as DropdownMenuLabel, mt as $f6c31cce2adf654f$export$45712eceda6fad21, n as DebouncedNumberInput, nn as Root3, nt as $319e236875307eab$export$a9b970dcc4ae71a9, o as maxFractionalDigits, on as SubTrigger, ot as $fca6afa0e843324b$export$87b761675e8eaa10, p as DropdownMenuItem, pn as ChevronRight, pt as $507fabe10e71c6fb$export$630ff653c5ada6a9, q as useDebouncedCallback, qt as CheckboxItem, r as Input, rn as Separator, rt as $f7dceffc5ad7768b$export$4e328f61c538687f, s as prettyEngineeringNumber, sn as createMenuScope, st as $fca6afa0e843324b$export$f12b703ca79dfbb1, t as DebouncedInput, tn as RadioItem, tt as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, u as DropdownMenu, un as createRovingFocusGroupScope, ut as $6179b936705e76d3$export$ae780daf29e6d456, v as DropdownMenuSubContent, vt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, w as $a049562f99e7db0e$export$f9c6924e160136d1, wt as $df56164dff5785e2$export$4338b53315abf666, x as $3985021b0ad6602f$export$37fb8590cf2c088c, xt as $99facab73266f662$export$5add1d006293d136, y as DropdownMenuSubTrigger, yt as $b4b717babfbb907b$export$4c063cf1350e6fed, z as $64fa3d84918910a7$export$c245e6201fed2f75, zt as $431fbd86ca7dc216$export$b204af158042fbac } from "./input-CSVEkmaZ.js";
33
- import { a as millisecondsInMinute, c as asRemoteURL, d as isUrl, f as require_cuid2, g as CircleQuestionMark, h as isWasm, i as millisecondsInHour, m as Deferred, n as constructFrom, o as millisecondsInSecond, r as millisecondsInDay, s as millisecondsInWeek, t as toDate, u as appendQueryParams } from "./toDate-B1AzlBoW.js";
34
- import { a as Plus, i as Trash, n as ErrorBoundary, o as Pencil, r as require_prop_types, t as BulkEdit } from "./types-pwjdK009.js";
31
+ import { A as Icon, C as logNever, D as $18f2051aff69b9bf$export$a54013f0d02a8f82, E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, F as createCollection, I as X, M as clamp$3, N as usePrevious$2, O as $b5e257d569688ac6$export$535bd6ca7f90a273, P as useDirection, R as ChevronDown, S as assertNever, T as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, _ as menuControlVariants, a as SelectContent, b as menuSeparatorVariants, c as SelectLabel, d as SelectValue, f as NativeSelect, g as menuControlCheckVariants, h as menuContentCommon, i as Select, j as Trigger$3, l as SelectSeparator, m as MENU_ITEM_DISABLED, n as Strings, o as SelectGroup, p as selectStyles, r as capitalize, s as SelectItem, t as Label, u as SelectTrigger, v as menuItemVariants, w as $a916eb452884faea$export$b7a616150fdb9f44, x as menuSubTriggerVariants, y as menuLabelVariants } from "./label-DAH3oYXB.js";
32
+ import { $ as $e5be200c675c3b3a$export$aca958c65c314e6c, $t as Portal, A as $d2b4bc8c273e7be6$export$24d547caef80ccd1, At as $c87311424ea30a05$export$fedb369cb70207f1, B as $64fa3d84918910a7$export$c62b8e45d58ddad9, Bt as $431fbd86ca7dc216$export$f21a1ffae260145a, C as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, Ct as $8ae05eaa5c114e9c$export$7f54fc3180508a52, D as $ee014567cb39d3f0$export$ff05c3ac10437e03, Dt as $c87311424ea30a05$export$78551043582a6a98, E as $ee014567cb39d3f0$export$f551688fc98f2e09, Et as $c87311424ea30a05$export$6446a186d09e379e, F as $64fa3d84918910a7$export$2881499e37b75b9a, Ft as $d4ee10de306f2510$export$b4f377a2b6254582, G as marked, Gt as Anchor2, H as $64fa3d84918910a7$export$ef03459518577ad4, Ht as $bdb11010cef70236$export$b4cc09c592e8fdb8, I as $64fa3d84918910a7$export$29f1550f4b0d4415, It as $d4ee10de306f2510$export$cd4e5573fbe2b576, J as $d2e8511e6f209edf$export$e908e06f4b8e3402, Jt as Content2$2, K as useDebounceControlledState, Kt as Arrow2, L as $64fa3d84918910a7$export$4d86445c2cf5e3, Lt as $d4ee10de306f2510$export$e58f029f0fbfdb29, M as $01b77f81d0f07f68$export$75b6ee27786ba447, Mt as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, N as $01b77f81d0f07f68$export$b04be29aa201d4f5, Nt as $3ef42575df84b30b$export$9d1611c77c2fe928, O as $514c0188e459b4c0$export$5f1af8db9871e1d6, Ot as $c87311424ea30a05$export$9ac100e40613ea10, P as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Pt as $d4ee10de306f2510$export$4282f70798064fe0, Q as $e5be200c675c3b3a$export$a763b9476acd3eb, Qt as Label$2, R as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, Rt as $f4e2df6bd15f8569$export$98658e8c59125e6a, S as $3985021b0ad6602f$export$f5b8910cec6cf069, St as $e9faafb641e167db$export$90fc3a17d93f704c, T as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Tt as $313b98861ee5dd6c$export$d6875122194c7b44, U as $64fa3d84918910a7$export$fabf2dc03a41866e, Ut as $bdb11010cef70236$export$f680877a34711e37, V as $64fa3d84918910a7$export$df3a06d6289f983e, Vt as $ff5963eb1fccf552$export$e08e3b67e392101e, Wt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, X as $e93e671b31057976$export$b8473d3665f3a75a, Xt as Item2$2, Y as $2baaea4c71418dea$export$294aa081a6c6f55d, Yt as Group$1, Z as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, Zt as ItemIndicator, _ as DropdownMenuSub, _t as $9446cca9a3875146$export$7d15b64cf5a3a4c4, a as NumberField, an as SubContent, at as $6c7bd7858deea686$export$cd11ab140839f11d, b as DropdownMenuTrigger, bt as $b4b717babfbb907b$export$bebd5a1431fec25d, c as prettyNumber, cn as Item$2, ct as $6db58dc88e78b024$export$2f817fcdc4b89ae0, d as DropdownMenuContent, dn as Search, dt as $9ab94262bd0047c7$export$420e68273165f4ec, en as RadioGroup$2, et as $e5be200c675c3b3a$export$dad6ae84456c676a, f as DropdownMenuGroup, fn as Circle, ft as $3ad3f6e1647bc98d$export$80f3e147d781571c, g as DropdownMenuSeparator, gt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, h as DropdownMenuPortal, ht as _class_private_field_init, i as OnBlurredInput, in as Sub, it as $701a24aa0da5b062$export$ea18c227d4417cc3, j as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, jt as $7215afc6de606d6b$export$de79e2c695e052f3, k as $514c0188e459b4c0$export$9afb8bc826b033ea, kt as $c87311424ea30a05$export$a11b0059900ceec8, l as prettyScientificNumber, ln as Root$5, lt as $5b160d28a433310d$export$c17fa47878dc55b6, m as DropdownMenuLabel, mt as $f6c31cce2adf654f$export$45712eceda6fad21, n as DebouncedNumberInput, nn as Root3, nt as $319e236875307eab$export$a9b970dcc4ae71a9, o as maxFractionalDigits, on as SubTrigger, ot as $fca6afa0e843324b$export$87b761675e8eaa10, p as DropdownMenuItem, pn as ChevronRight, pt as $507fabe10e71c6fb$export$630ff653c5ada6a9, q as useDebouncedCallback, qt as CheckboxItem, r as Input, rn as Separator, rt as $f7dceffc5ad7768b$export$4e328f61c538687f, s as prettyEngineeringNumber, sn as createMenuScope, st as $fca6afa0e843324b$export$f12b703ca79dfbb1, t as DebouncedInput, tn as RadioItem, tt as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, u as DropdownMenu, un as createRovingFocusGroupScope, ut as $6179b936705e76d3$export$ae780daf29e6d456, v as DropdownMenuSubContent, vt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, w as $a049562f99e7db0e$export$f9c6924e160136d1, wt as $df56164dff5785e2$export$4338b53315abf666, x as $3985021b0ad6602f$export$37fb8590cf2c088c, xt as $99facab73266f662$export$5add1d006293d136, y as DropdownMenuSubTrigger, yt as $b4b717babfbb907b$export$4c063cf1350e6fed, z as $64fa3d84918910a7$export$c245e6201fed2f75, zt as $431fbd86ca7dc216$export$b204af158042fbac } from "./input-L-W-RdiE.js";
33
+ import { a as millisecondsInMinute, c as asRemoteURL, d as isUrl, f as require_cuid2, g as CircleQuestionMark, h as isWasm, i as millisecondsInHour, m as Deferred, n as constructFrom, o as millisecondsInSecond, r as millisecondsInDay, s as millisecondsInWeek, t as toDate, u as appendQueryParams } from "./toDate-Cqrm-UC4.js";
34
+ import { a as Plus, i as Trash, n as ErrorBoundary, o as Pencil, r as require_prop_types, t as BulkEdit } from "./types-DEY2byth.js";
35
35
  import { n as clsx_default } from "./clsx-CwTY0BxM.js";
36
36
  import { t as require_react_dom } from "./react-dom-D5FDLRUB.js";
37
37
  import { t as require_jsx_runtime } from "./jsx-runtime-9hcJiI23.js";
38
- import { $ as StyleNamespace, A as looseObject, B as union, C as any, F as optional, G as parse$3, I as record, J as prettifyError, K as parseAsync, N as number, P as object, Q as isInVscodeExtension, R as string, S as _null, T as boolean, U as ZodError, V as unknown, X as withFullScreenAsRoot, Y as MAX_HEIGHT_OFFSET, Z as withSmartCollisionBoundary, _ as ZodString, _t as Primitive$1, a as ZodIssueCode, b as _enum, c as ZodBoolean, d as ZodDiscriminatedUnion, dt as Presence, f as ZodEnum, ft as useControllableState, g as ZodOptional, gt as createContextScope, h as ZodObject, i as string$1, j as nan, k as literal, l as ZodDate, lt as useCallbackRef, m as ZodNumber, mt as composeEventHandlers$1, n as date, nt as __awaiter, o as ZodAny, p as ZodLiteral, pt as useLayoutEffect2, q as $ZodError, r as number$1, s as ZodArray, st as DismissableLayer, t as zod_default, u as ZodDefault, ut as useId$12, v as ZodType, vt as dispatchDiscreteCustomEvent, w as array, x as _instanceof, y as ZodUnion, z as tuple } from "./zod-W5ZEjzaE.js";
38
+ import { $ as StyleNamespace, A as looseObject, B as union, C as any, F as optional, G as parse$3, I as record, J as prettifyError, K as parseAsync, N as number, O as lazy$2, P as object, Q as isInVscodeExtension, R as string, S as _null, T as boolean, U as ZodError, V as unknown, X as withFullScreenAsRoot, Y as MAX_HEIGHT_OFFSET, Z as withSmartCollisionBoundary, _ as ZodString, _t as Primitive$1, a as ZodIssueCode, b as _enum, c as ZodBoolean, d as ZodDiscriminatedUnion, dt as Presence, f as ZodEnum, ft as useControllableState, g as ZodOptional, gt as createContextScope, h as ZodObject, i as string$1, j as nan, k as literal, l as ZodDate, lt as useCallbackRef, m as ZodNumber, mt as composeEventHandlers$1, n as date, nt as __awaiter, o as ZodAny, p as ZodLiteral, pt as useLayoutEffect2, q as $ZodError, r as number$1, s as ZodArray, st as DismissableLayer, t as zod_default, u as ZodDefault, ut as useId$12, v as ZodType, vt as dispatchDiscreteCustomEvent, w as array, x as _instanceof, y as ZodUnion, z as tuple } from "./zod-W5ZEjzaE.js";
39
39
  import { a as Content$2, c as Root$6, i as prettyError, n as ErrorBanner, o as Overlay, r as CellNotInitializedError, s as Portal$1, t as Banner } from "./error-banner-B_ioHva3.js";
40
40
  import { a as TooltipRoot, i as TooltipProvider, n as TooltipContent, o as TooltipTrigger, r as TooltipPortal, t as Tooltip } from "./tooltip-DwNnFsxZ.js";
41
- import { n as minimalSetup, r as _extends$5, t as esm_default, u as CopyClipboardIcon } from "./esm-CDHI9cuO.js";
42
- import { a as get_default } from "./hasIn-DnfJcYpY.js";
43
- import { n as _baseSet_default } from "./_basePickBy-Sow3pJjS.js";
44
- import { n as pick_default, t as range_default } from "./range-fJeId9Ri.js";
45
- import { i as debounce_default, r as KnownQueryParams, t as CSSClasses } from "./constants-CvyfaCvs.js";
46
- import { C as dequal, S as getBuildingBlocks, _ as useSetAtom, c as AppConfigSchema, d as useJotaiEffect, g as useAtomValue, h as useAtom, i as autoInstantiateAtom, m as Provider, n as useTheme, o as localeAtom, p as isIslands, r as aiEnabledAtom, s as useResolvedMarimoConfig, u as store, v as useStore, w as useEvent_default, x as buildStore, y as atom } from "./useTheme-CzwDokKe.js";
47
- import { Z as EditorView } from "./dist-CxZvoNao.js";
48
- import { t as invariant } from "./invariant-e8eBgdux.js";
49
- import { c as uniqueBy, l as clamp, o as arrayShallowEquals, t as Arrays } from "./arrays-beUWo8RF.js";
50
- import { n as once, t as memoizeLastValue } from "./once-C_TIu-kR.js";
51
- import "./main-XimWhSi_.js";
52
- import { f as sql } from "./dist-DpkJHKB8.js";
53
- import "./dist-DbnBiLNH.js";
54
- import "./dist-B43sbpd0.js";
55
- import "./dist-Ci0CXEFt.js";
56
- import "./dist-DJ9F1eHs.js";
57
- import { a as parser, r as python } from "./dist-DAfcmt-d.js";
58
- import "./purify.es-hTCfRGdl.js";
59
- import { a as AlertTitle, i as AlertDescription, n as arrow, o as isValid, r as Alert, t as useDeepCompareMemoize } from "./useDeepCompareMemoize-CsyOnnjc.js";
60
- import { n as memoize$1, t as isPropValid } from "./emotion-is-prop-valid.esm-CJVjyntJ.js";
61
- import { n as formats } from "./vega-loader.browser-DqEcFOPD.js";
62
- import { a as getContainerWidth, n as vegaLoadData, o as getVegaFieldTypes, r as createBatchedLoader, s as tooltipHandler, t as parseCsvData } from "./loader-ZFbGsMN1.js";
63
- import { t as useIframeCapabilities } from "./useIframeCapabilities-CsTUYYj7.js";
64
- import { t as useAsyncData } from "./useAsyncData-BL98MPIy.js";
65
- import "./defaultLocale-qS7DaAmi.js";
66
- import "./defaultLocale-Bxoo2-30.js";
67
- import "./dist-CcMfr7jD.js";
68
- import "./dist-VqF3W_ue.js";
69
- import "./dist-ej6AQKaS.js";
70
- import "./dist-DJKubHDd.js";
71
- import "./dist-DLafRu9s.js";
72
- import "./dist-CNF0QBLR.js";
73
- import "./dist-DD_cYHOl.js";
74
- import "./dist-BjDuO5JW.js";
75
- import "./dist--6TSlp8H.js";
76
- import { t as langs } from "./esm-CD1iby2n.js";
41
+ import { n as minimalSetup, r as _extends$5, t as esm_default, u as CopyClipboardIcon } from "./esm-DGjaY9EX.js";
42
+ import { a as get_default } from "./hasIn-MXhEnf0q.js";
43
+ import { n as _baseSet_default, t as pick_default } from "./pick-M816gWrv.js";
44
+ import { i as debounce_default, r as KnownQueryParams, t as CSSClasses } from "./constants-C2U1Bmny.js";
45
+ import { C as dequal, S as getBuildingBlocks, _ as useSetAtom, c as AppConfigSchema, d as useJotaiEffect, g as useAtomValue, h as useAtom, i as autoInstantiateAtom, m as Provider, n as useTheme, o as localeAtom, p as isIslands, r as aiEnabledAtom, s as useResolvedMarimoConfig, u as store, v as useStore, w as useEvent_default, x as buildStore, y as atom } from "./useTheme-CfzcSQtz.js";
46
+ import { Z as EditorView } from "./dist-DPAK3Dpl.js";
47
+ import { t as invariant } from "./invariant-D4hPsZFI.js";
48
+ import { c as uniqueBy, l as clamp, o as arrayShallowEquals, t as Arrays } from "./arrays-Du-jRBAy.js";
49
+ import { n as once, t as memoizeLastValue } from "./once-CZno0h-b.js";
50
+ import "./main-CvkAPtaq.js";
51
+ import { f as sql } from "./dist-HNoCppvN.js";
52
+ import "./dist-Bo8Q2NZ6.js";
53
+ import "./dist-CuT7pAjI.js";
54
+ import "./dist-Cf1__Ezo.js";
55
+ import "./dist-BrRkENbS.js";
56
+ import { a as parser, r as python } from "./dist-rdefyFzZ.js";
57
+ import "./purify.es-ukiMXY-F.js";
58
+ import { a as AlertTitle, i as AlertDescription, n as arrow, o as isValid, r as Alert, t as useDeepCompareMemoize } from "./useDeepCompareMemoize-ToNUMW7X.js";
59
+ import { n as memoize$1, t as isPropValid } from "./emotion-is-prop-valid.esm-DdzHpbbG.js";
60
+ import { n as formats } from "./vega-loader.browser-hMqVC9bf.js";
61
+ import { a as getContainerWidth, n as vegaLoadData, o as getVegaFieldTypes, r as createBatchedLoader, s as tooltipHandler, t as parseCsvData } from "./loader-D9ktSJS7.js";
62
+ import { t as useIframeCapabilities } from "./useIframeCapabilities-WKJHoHW-.js";
63
+ import { t as useAsyncData } from "./useAsyncData-B1v_9k4L.js";
64
+ import "./defaultLocale-DjFHq3Xk.js";
65
+ import "./defaultLocale-B_A76Zpk.js";
66
+ import "./dist-ChYkaQZ9.js";
67
+ import "./dist-BVdq25Pp.js";
68
+ import "./dist-BKGmoFSu.js";
69
+ import "./dist-BH67T-KO.js";
70
+ import "./dist-DH-coTYX.js";
71
+ import "./dist-BI11IEaj.js";
72
+ import "./dist-CtliEIOC.js";
73
+ import "./dist-ZJ4KZJv-.js";
74
+ import "./dist-CM55yvVz.js";
75
+ import { t as langs } from "./esm-i3cb1Eej.js";
77
76
  let initialize;
78
77
  let __tla = Promise.all([
79
78
  (() => {
@@ -23789,10 +23788,10 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
23789
23788
  else if (c.some(_temp2$24)) _ = "An internal error occurred";
23790
23789
  else if (c.some(_temp3$16)) _ = "Ancestor prevented from running", y = "default", S = "text-secondary-foreground";
23791
23790
  else if (c.some(_temp4$9)) _ = "Ancestor stopped", y = "default", S = "text-secondary-foreground";
23792
- else if (c.some(_temp5$6)) _ = "SQL error";
23791
+ else if (c.some(_temp5$5)) _ = "SQL error";
23793
23792
  else {
23794
23793
  let e2;
23795
- r[0] === c ? e2 = r[1] : (e2 = c.find(_temp6$6), r[0] = c, r[1] = e2);
23794
+ r[0] === c ? e2 = r[1] : (e2 = c.find(_temp6$5), r[0] = c, r[1] = e2);
23796
23795
  let d2 = e2;
23797
23796
  d2 && "exception_type" in d2 && (_ = d2.exception_type);
23798
23797
  }
@@ -24164,10 +24163,10 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
24164
24163
  function _temp4$9(e) {
24165
24164
  return e.type === "ancestor-stopped";
24166
24165
  }
24167
- function _temp5$6(e) {
24166
+ function _temp5$5(e) {
24168
24167
  return e.type === "sql-error";
24169
24168
  }
24170
- function _temp6$6(e) {
24169
+ function _temp6$5(e) {
24171
24170
  return e.type === "exception";
24172
24171
  }
24173
24172
  function _temp7$2(e) {
@@ -24584,7 +24583,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
24584
24583
  ]
24585
24584
  };
24586
24585
  }
24587
- const LazyVegaEmbed = import_react.lazy(() => import("./react-vega-BkjdpVsR.js").then((e) => ({
24586
+ const LazyVegaEmbed = import_react.lazy(() => import("./react-vega-BFLRzgl7.js").then((e) => ({
24588
24587
  default: e.VegaEmbed
24589
24588
  })));
24590
24589
  var import_compiler_runtime$125 = require_compiler_runtime();
@@ -25715,40 +25714,56 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
25715
25714
  function filterToFilterCondition(e, r) {
25716
25715
  if (!r) return [];
25717
25716
  let c = e;
25718
- if (r.operator === "is_null" || r.operator === "is_not_null") return {
25719
- column_id: c,
25720
- operator: r.operator,
25721
- value: void 0
25722
- };
25717
+ if (r.operator === "is_null" || r.operator === "is_not_null") return [
25718
+ {
25719
+ column_id: c,
25720
+ operator: r.operator,
25721
+ value: void 0,
25722
+ type: "condition",
25723
+ negate: false
25724
+ }
25725
+ ];
25723
25726
  switch (r.type) {
25724
25727
  case "number": {
25725
25728
  let e2 = [];
25726
25729
  return r.min !== void 0 && e2.push({
25727
25730
  column_id: c,
25728
25731
  operator: ">=",
25729
- value: r.min
25732
+ value: r.min,
25733
+ type: "condition",
25734
+ negate: false
25730
25735
  }), r.max !== void 0 && e2.push({
25731
25736
  column_id: c,
25732
25737
  operator: "<=",
25733
- value: r.max
25738
+ value: r.max,
25739
+ type: "condition",
25740
+ negate: false
25734
25741
  }), e2;
25735
25742
  }
25736
25743
  case "text":
25737
- return {
25738
- column_id: c,
25739
- operator: r.operator,
25740
- value: r.text
25741
- };
25744
+ return [
25745
+ {
25746
+ column_id: c,
25747
+ operator: r.operator,
25748
+ value: r.text,
25749
+ type: "condition",
25750
+ negate: false
25751
+ }
25752
+ ];
25742
25753
  case "datetime": {
25743
25754
  let e2 = [];
25744
25755
  return r.min !== void 0 && e2.push({
25745
25756
  column_id: c,
25746
25757
  operator: ">=",
25747
- value: r.min.toISOString()
25758
+ value: r.min.toISOString(),
25759
+ type: "condition",
25760
+ negate: false
25748
25761
  }), r.max !== void 0 && e2.push({
25749
25762
  column_id: c,
25750
25763
  operator: "<=",
25751
- value: r.max.toISOString()
25764
+ value: r.max.toISOString(),
25765
+ type: "condition",
25766
+ negate: false
25752
25767
  }), e2;
25753
25768
  }
25754
25769
  case "date": {
@@ -25756,11 +25771,15 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
25756
25771
  return r.min !== void 0 && e2.push({
25757
25772
  column_id: c,
25758
25773
  operator: ">=",
25759
- value: r.min.toISOString()
25774
+ value: r.min.toISOString(),
25775
+ type: "condition",
25776
+ negate: false
25760
25777
  }), r.max !== void 0 && e2.push({
25761
25778
  column_id: c,
25762
25779
  operator: "<=",
25763
- value: r.max.toISOString()
25780
+ value: r.max.toISOString(),
25781
+ type: "condition",
25782
+ negate: false
25764
25783
  }), e2;
25765
25784
  }
25766
25785
  case "time": {
@@ -25768,37 +25787,61 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
25768
25787
  return r.min !== void 0 && e2.push({
25769
25788
  column_id: c,
25770
25789
  operator: ">=",
25771
- value: r.min.toISOString()
25790
+ value: r.min.toISOString(),
25791
+ type: "condition",
25792
+ negate: false
25772
25793
  }), r.max !== void 0 && e2.push({
25773
25794
  column_id: c,
25774
25795
  operator: "<=",
25775
- value: r.max.toISOString()
25796
+ value: r.max.toISOString(),
25797
+ type: "condition",
25798
+ negate: false
25776
25799
  }), e2;
25777
25800
  }
25778
25801
  case "boolean":
25779
- return r.value ? {
25780
- column_id: c,
25781
- operator: "is_true",
25782
- value: void 0
25783
- } : r.value ? [] : {
25784
- column_id: c,
25785
- operator: "is_false",
25786
- value: void 0
25787
- };
25802
+ return r.value ? [
25803
+ {
25804
+ column_id: c,
25805
+ operator: "is_true",
25806
+ value: void 0,
25807
+ type: "condition",
25808
+ negate: false
25809
+ }
25810
+ ] : r.value ? [] : [
25811
+ {
25812
+ column_id: c,
25813
+ operator: "is_false",
25814
+ value: void 0,
25815
+ type: "condition",
25816
+ negate: false
25817
+ }
25818
+ ];
25788
25819
  case "select": {
25789
25820
  let e2 = r.operator;
25790
25821
  return r.operator !== "in" && r.operator !== "not_in" && (Logger.warn("Invalid operator for select filter", {
25791
25822
  operator: r.operator
25792
- }), e2 = "in"), {
25793
- column_id: c,
25794
- operator: e2,
25795
- value: r.options
25796
- };
25823
+ }), e2 = "in"), [
25824
+ {
25825
+ column_id: c,
25826
+ operator: e2,
25827
+ value: r.options,
25828
+ type: "condition",
25829
+ negate: false
25830
+ }
25831
+ ];
25797
25832
  }
25798
25833
  default:
25799
25834
  assertNever(r);
25800
25835
  }
25801
25836
  }
25837
+ function filtersToFilterGroup(e) {
25838
+ return {
25839
+ type: "group",
25840
+ operator: "and",
25841
+ children: e.flatMap((e2) => filterToFilterCondition(e2.id, e2.value)),
25842
+ negate: false
25843
+ };
25844
+ }
25802
25845
  function functionalUpdate(e, r) {
25803
25846
  return typeof e == "function" ? e(r) : e;
25804
25847
  }
@@ -34080,7 +34123,6 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
34080
34123
  [r.id]: d
34081
34124
  }));
34082
34125
  }
34083
- var MAX_PAGES_BEFORE_CLAMPING = 100;
34084
34126
  const DataTablePagination = ({ table: e, tableLoading: r, showPageSizeSelector: c }) => {
34085
34127
  let { locale: d } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), f = Math.min(e.getState().pagination.pageIndex + 1, e.getPageCount()), h = e.getPageCount(), _ = e.getState().pagination.pageSize, S = (e2) => {
34086
34128
  r || e2();
@@ -34226,16 +34268,62 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
34226
34268
  })
34227
34269
  ]
34228
34270
  });
34229
- }, PageSelector = ({ currentPage: e, totalPages: r, onPageChange: c }) => {
34230
- let [d, f] = import_react.useState(false), h = import_react.useMemo(() => getPageRanges(e, r), [
34231
- e,
34232
- r
34233
- ]), _ = (e2) => {
34234
- c(e2 - 1), f(false);
34271
+ };
34272
+ var PAGE_ITEM_HEIGHT = 32;
34273
+ function matchingPageRanges(e, r) {
34274
+ let c = Number.parseInt(e, 10);
34275
+ if (Number.isNaN(c) || c <= 0 || String(c) !== e) return [];
34276
+ let d = [], f = 1;
34277
+ for (; c * f <= r; ) {
34278
+ let e2 = c * f, h = Math.min((c + 1) * f - 1, r);
34279
+ d.push([
34280
+ e2,
34281
+ h
34282
+ ]), f *= 10;
34283
+ }
34284
+ return d;
34285
+ }
34286
+ function createPageMapping(e, r) {
34287
+ if (e === "") return {
34288
+ count: r,
34289
+ pageAtIndex: (e2) => e2 + 1,
34290
+ indexOfPage: (e2) => e2 - 1
34291
+ };
34292
+ let c = matchingPageRanges(e, r), d = 0;
34293
+ for (let [e2, r2] of c) d += r2 - e2 + 1;
34294
+ return {
34295
+ count: d,
34296
+ pageAtIndex: (e2) => {
34297
+ let r2 = 0;
34298
+ for (let [d2, f] of c) {
34299
+ let c2 = f - d2 + 1;
34300
+ if (e2 < r2 + c2) return d2 + (e2 - r2);
34301
+ r2 += c2;
34302
+ }
34303
+ return -1;
34304
+ },
34305
+ indexOfPage: (e2) => {
34306
+ let r2 = 0;
34307
+ for (let [d2, f] of c) {
34308
+ if (e2 >= d2 && e2 <= f) return r2 + (e2 - d2);
34309
+ r2 += f - d2 + 1;
34310
+ }
34311
+ return -1;
34312
+ }
34235
34313
  };
34314
+ }
34315
+ const PageSelector = ({ currentPage: e, totalPages: r, onPageChange: c }) => {
34316
+ let [d, f] = import_react.useState(false), [h, _] = import_react.useState(""), y = import_react.useMemo(() => createPageMapping(h, r), [
34317
+ h,
34318
+ r
34319
+ ]), S = (e2) => {
34320
+ c(e2 - 1), _(""), f(false);
34321
+ }, w = Math.min(y.count * PAGE_ITEM_HEIGHT, 240);
34236
34322
  return (0, import_jsx_runtime.jsxs)(Popover$1, {
34237
34323
  open: r > 1 ? d : false,
34238
- onOpenChange: f,
34324
+ onOpenChange: (e2) => {
34325
+ f(e2), e2 || _("");
34326
+ },
34239
34327
  children: [
34240
34328
  (0, import_jsx_runtime.jsx)(PopoverTrigger, {
34241
34329
  asChild: true,
@@ -34258,8 +34346,8 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
34258
34346
  align: "center",
34259
34347
  sideOffset: 6,
34260
34348
  children: (0, import_jsx_runtime.jsxs)(Command, {
34261
- shouldFilter: true,
34262
- filter: (e2, r2) => e2.startsWith(r2) ? 1 : 0,
34349
+ shouldFilter: false,
34350
+ value: String(e),
34263
34351
  children: [
34264
34352
  (0, import_jsx_runtime.jsx)(CommandInput, {
34265
34353
  placeholder: `Page (1\u2013${r})`,
@@ -34267,34 +34355,33 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
34267
34355
  className: "text-xs h-8",
34268
34356
  autoFocus: true,
34269
34357
  icon: null,
34358
+ value: h,
34359
+ onValueChange: _,
34270
34360
  onKeyDown: (e2) => {
34271
34361
  ![
34272
34362
  "Backspace",
34273
34363
  "Delete",
34274
34364
  "ArrowLeft",
34275
34365
  "ArrowRight",
34366
+ "ArrowUp",
34367
+ "ArrowDown",
34276
34368
  "Tab",
34277
34369
  "Enter",
34278
34370
  "Escape"
34279
34371
  ].includes(e2.key) && !/^\d$/.test(e2.key) && e2.preventDefault();
34280
34372
  }
34281
34373
  }),
34282
- (0, import_jsx_runtime.jsxs)(CommandList, {
34283
- className: "max-h-60",
34284
- children: [
34285
- h.map((r2) => r2.type === "ellipsis" ? null : (0, import_jsx_runtime.jsx)(CommandItem, {
34286
- value: String(r2.page),
34287
- "data-testid": "page-option",
34288
- className: cn("text-xs cursor-pointer", r2.page === e && "font-semibold bg-accent"),
34289
- onSelect: () => _(r2.page),
34290
- onMouseDown: Events.preventFocus,
34291
- children: r2.page
34292
- }, r2.page)),
34293
- (0, import_jsx_runtime.jsx)(CommandEmpty, {
34294
- className: "py-2 text-center text-xs text-muted-foreground",
34295
- children: "No matching page"
34296
- })
34297
- ]
34374
+ (0, import_jsx_runtime.jsx)(CommandList, {
34375
+ className: "max-h-60 overflow-hidden",
34376
+ children: y.count === 0 ? (0, import_jsx_runtime.jsx)(CommandEmpty, {
34377
+ className: "py-2 text-center text-xs text-muted-foreground",
34378
+ children: "No matching page"
34379
+ }) : (0, import_jsx_runtime.jsx)(VirtualizedPageList, {
34380
+ mapping: y,
34381
+ currentPage: e,
34382
+ listHeight: w,
34383
+ onSelect: S
34384
+ })
34298
34385
  })
34299
34386
  ]
34300
34387
  })
@@ -34302,41 +34389,58 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
34302
34389
  ]
34303
34390
  });
34304
34391
  };
34305
- function getPageRanges(e, r) {
34306
- if (r <= MAX_PAGES_BEFORE_CLAMPING) return range_default(r).map((e2) => ({
34307
- type: "page",
34308
- page: e2 + 1
34309
- }));
34310
- let c = Math.floor(r / 2), d = [], f = (e2, r2) => {
34311
- for (let c2 = 0; c2 < r2; c2++) d.push({
34312
- type: "page",
34313
- page: e2 + c2
34314
- });
34315
- };
34316
- return f(1, 10), d.push({
34317
- type: "ellipsis",
34318
- key: "e1"
34319
- }), e > 10 && e <= c - 5 && d.push({
34320
- type: "page",
34321
- page: e
34322
- }, {
34323
- type: "ellipsis",
34324
- key: "e1b"
34325
- }), f(c - 4, 10), d.push({
34326
- type: "ellipsis",
34327
- key: "e2"
34328
- }), e > c + 5 && e <= r - 10 && d.push({
34329
- type: "page",
34330
- page: e
34331
- }, {
34332
- type: "ellipsis",
34333
- key: "e2b"
34334
- }), f(r - 9, 10), d;
34335
- }
34392
+ var VirtualizedPageList = ({ mapping: e, currentPage: r, listHeight: c, onSelect: d }) => {
34393
+ let f = import_react.useRef(null), h = e.indexOfPage(r), _ = useVirtualizer({
34394
+ count: e.count,
34395
+ getScrollElement: () => f.current,
34396
+ estimateSize: () => PAGE_ITEM_HEIGHT,
34397
+ overscan: 10,
34398
+ initialOffset: h > 0 ? Math.max(0, h * PAGE_ITEM_HEIGHT - c / 2) : 0
34399
+ }), S = import_react.useRef(e.count);
34400
+ return import_react.useEffect(() => {
34401
+ e.count !== S.current && (_.scrollToIndex(0), S.current = e.count);
34402
+ }, [
34403
+ e.count,
34404
+ _
34405
+ ]), (0, import_jsx_runtime.jsx)("div", {
34406
+ ref: f,
34407
+ style: {
34408
+ height: c,
34409
+ overflow: "auto"
34410
+ },
34411
+ children: (0, import_jsx_runtime.jsx)("div", {
34412
+ style: {
34413
+ height: _.getTotalSize(),
34414
+ width: "100%",
34415
+ position: "relative"
34416
+ },
34417
+ children: _.getVirtualItems().map((c2) => {
34418
+ let f2 = e.pageAtIndex(c2.index);
34419
+ return (0, import_jsx_runtime.jsx)(CommandItem, {
34420
+ value: String(f2),
34421
+ "data-testid": "page-option",
34422
+ "aria-selected": f2 === r,
34423
+ className: cn("text-xs cursor-pointer", f2 === r && "font-semibold bg-accent"),
34424
+ style: {
34425
+ position: "absolute",
34426
+ top: 0,
34427
+ left: 0,
34428
+ width: "100%",
34429
+ height: c2.size,
34430
+ transform: `translateY(${c2.start}px)`
34431
+ },
34432
+ onSelect: () => d(f2),
34433
+ onMouseDown: Events.preventFocus,
34434
+ children: f2
34435
+ }, f2);
34436
+ })
34437
+ })
34438
+ });
34439
+ };
34336
34440
  function prettifyRowCount(e, r) {
34337
34441
  return `${prettyNumber(e, r)} ${new PluralWord("row").pluralize(e)}`;
34338
34442
  }
34339
- const prettifyRowColumnCount = (e, r, c) => [
34443
+ const prettifyRowColumnCount = ({ numRows: e, totalColumns: r, locale: c }) => [
34340
34444
  e === "too_many" ? "Unknown" : prettifyRowCount(e, c),
34341
34445
  `${prettyNumber(r, c)} ${new PluralWord("column").pluralize(r)}`
34342
34446
  ].join(", ");
@@ -34522,7 +34626,11 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
34522
34626
  })
34523
34627
  ]
34524
34628
  }) : (0, import_jsx_runtime.jsx)("span", {
34525
- children: prettifyRowColumnCount(f.getRowCount(), r, O)
34629
+ children: prettifyRowColumnCount({
34630
+ numRows: f.getRowCount(),
34631
+ totalColumns: r,
34632
+ locale: O
34633
+ })
34526
34634
  });
34527
34635
  })()
34528
34636
  }),
@@ -37143,7 +37251,7 @@ ${w}`,
37143
37251
  };
37144
37252
  }
37145
37253
  };
37146
- var LazyChatbot = import_react.lazy(() => import("./chat-ui-CNHw9Osh.js").then((e) => ({
37254
+ var LazyChatbot = import_react.lazy(() => import("./chat-ui-CVKwVnwD.js").then((e) => ({
37147
37255
  default: e.Chatbot
37148
37256
  }))), messageSchema = array(object({
37149
37257
  id: string(),
@@ -37287,7 +37395,7 @@ ${w}`,
37287
37395
  "time",
37288
37396
  "unknown"
37289
37397
  ];
37290
- var import_compiler_runtime$89 = require_compiler_runtime(), LazyDataEditor = import_react.lazy(() => import("./glide-data-editor-BFqEJGJW.js").then(async (m2) => {
37398
+ var import_compiler_runtime$89 = require_compiler_runtime(), LazyDataEditor = import_react.lazy(() => import("./glide-data-editor-BaAX1uv-.js").then(async (m2) => {
37291
37399
  await m2.__tla;
37292
37400
  return m2;
37293
37401
  }));
@@ -43129,7 +43237,7 @@ ${c}
43129
43237
  r[0] !== c || r[1] !== f ? (h = () => {
43130
43238
  f.setValue(c, "");
43131
43239
  }, r[0] = c, r[1] = f, r[2] = h) : h = r[2];
43132
- let _ = h, v = _temp5$5, y;
43240
+ let _ = h, v = _temp5$4, y;
43133
43241
  r[3] !== _ || r[4] !== d ? (y = (e2) => {
43134
43242
  let { field: r2 } = e2;
43135
43243
  return (0, import_jsx_runtime.jsxs)(FormItem, {
@@ -43250,7 +43358,7 @@ ${c}
43250
43358
  render: S
43251
43359
  }), r[5] = c, r[6] = y.control, r[7] = S, r[8] = w) : w = r[8], w;
43252
43360
  }, AggregationSelect = (e) => {
43253
- let r = (0, import_compiler_runtime$80.c)(12), { fieldName: c, selectedDataType: d, binFieldName: f, defaultAggregation: h } = e, _ = useFormContext(), v = d === "string" ? STRING_AGGREGATION_FNS : AGGREGATION_FNS$1, { chartType: y } = useChartFormContext(), S = y !== ChartType.HEATMAP, w = _temp6$5, E = _temp7$1, O;
43361
+ let r = (0, import_compiler_runtime$80.c)(12), { fieldName: c, selectedDataType: d, binFieldName: f, defaultAggregation: h } = e, _ = useFormContext(), v = d === "string" ? STRING_AGGREGATION_FNS : AGGREGATION_FNS$1, { chartType: y } = useChartFormContext(), S = y !== ChartType.HEATMAP, w = _temp6$4, E = _temp7$1, O;
43254
43362
  r[0] !== f || r[1] !== _ ? (O = (e2) => {
43255
43363
  let { value: r2, previousValue: c2, onChange: d2 } = e2;
43256
43364
  r2 === "bin" ? _.setValue(f, true) : c2 === "bin" && _.setValue(f, false), d2(r2);
@@ -43404,7 +43512,7 @@ ${c}
43404
43512
  function _temp4$7(e) {
43405
43513
  return e;
43406
43514
  }
43407
- function _temp5$5(e) {
43515
+ function _temp5$4(e) {
43408
43516
  let [r, c] = TIME_UNIT_DESCRIPTIONS[e];
43409
43517
  return (0, import_jsx_runtime.jsx)(SelectItem, {
43410
43518
  value: e,
@@ -43416,7 +43524,7 @@ ${c}
43416
43524
  children: r
43417
43525
  }, e);
43418
43526
  }
43419
- function _temp6$5(e) {
43527
+ function _temp6$4(e) {
43420
43528
  return (0, import_jsx_runtime.jsx)("span", {
43421
43529
  className: "text-xs text-muted-foreground pr-10",
43422
43530
  children: e
@@ -44971,7 +45079,11 @@ ${c}
44971
45079
  });
44972
45080
  q = "mb-3";
44973
45081
  let Q72;
44974
- r[17] !== S || r[18] !== h || r[19] !== f ? (Q72 = prettifyRowColumnCount(f, h, S), r[17] = S, r[18] = h, r[19] = f, r[20] = Q72) : Q72 = r[20], X7 = (0, import_jsx_runtime.jsxs)("span", {
45082
+ r[17] !== S || r[18] !== h || r[19] !== f ? (Q72 = prettifyRowColumnCount({
45083
+ numRows: f,
45084
+ totalColumns: h,
45085
+ locale: S
45086
+ }), r[17] = S, r[18] = h, r[19] = f, r[20] = Q72) : Q72 = r[20], X7 = (0, import_jsx_runtime.jsxs)("span", {
44975
45087
  className: "text-xs font-semibold ml-2 flex",
44976
45088
  children: [
44977
45089
  Q72,
@@ -45609,6 +45721,12 @@ ${c}
45609
45721
  "<=": [
45610
45722
  e
45611
45723
  ],
45724
+ between: [
45725
+ object({
45726
+ min: e,
45727
+ max: e
45728
+ })
45729
+ ],
45612
45730
  is_null: [],
45613
45731
  is_not_null: []
45614
45732
  });
@@ -45637,6 +45755,7 @@ ${c}
45637
45755
  not_in: [
45638
45756
  Schema.stringMultiColumnValues
45639
45757
  ],
45758
+ is_empty: [],
45640
45759
  is_null: [],
45641
45760
  is_not_null: []
45642
45761
  }, ALL_OPERATORS = {
@@ -45753,17 +45872,30 @@ ${c}
45753
45872
  special: "radio_group"
45754
45873
  })).default("last")
45755
45874
  });
45756
- const ConditionSchema = object({
45875
+ const FilterConditionSchema = object({
45757
45876
  column_id,
45758
45877
  operator: _enum(Object.keys(ALL_OPERATORS)).describe(FieldOptions.of({
45759
45878
  label: " "
45760
45879
  })),
45880
+ type: literal("condition").default("condition"),
45761
45881
  value: any().describe(FieldOptions.of({
45762
45882
  label: "Value"
45763
- }))
45883
+ })),
45884
+ negate: boolean().default(false)
45764
45885
  }).describe(FieldOptions.of({
45765
45886
  direction: "row",
45766
45887
  special: "column_filter"
45888
+ })), FilterGroupSchema = lazy$2(() => object({
45889
+ type: literal("group").default("group"),
45890
+ operator: _enum([
45891
+ "and",
45892
+ "or"
45893
+ ]).default("and"),
45894
+ children: array(union([
45895
+ FilterConditionSchema,
45896
+ FilterGroupSchema
45897
+ ])).default([]),
45898
+ negate: boolean().default(false)
45767
45899
  }));
45768
45900
  var FilterRowsTransformSchema = object({
45769
45901
  type: literal("filter_rows"),
@@ -45773,16 +45905,23 @@ ${c}
45773
45905
  ]).default("keep_rows").describe(FieldOptions.of({
45774
45906
  special: "radio_group"
45775
45907
  })),
45776
- where: array(ConditionSchema).min(1).describe(FieldOptions.of({
45908
+ where: array(FilterConditionSchema).min(1).describe(FieldOptions.of({
45777
45909
  label: "Value",
45778
45910
  minLength: 1
45779
- })).transform((e) => e.filter((e2) => isConditionValueValid(e2.operator, e2.value))).default(() => [
45911
+ })).default(() => [
45780
45912
  {
45781
45913
  column_id: "",
45782
45914
  operator: "==",
45783
- value: ""
45784
- }
45785
- ])
45915
+ value: "",
45916
+ type: "condition",
45917
+ negate: false
45918
+ }
45919
+ ]).transform((e) => ({
45920
+ type: "group",
45921
+ operator: "and",
45922
+ children: e.filter((e2) => isConditionValueValid(e2.operator, e2.value)),
45923
+ negate: false
45924
+ }))
45786
45925
  }), GroupByTransformSchema = object({
45787
45926
  type: literal("group_by"),
45788
45927
  column_ids: array(column_id.describe(FieldOptions.of({
@@ -46008,7 +46147,7 @@ ${c}
46008
46147
  descending: boolean()
46009
46148
  })).optional(),
46010
46149
  query: string().optional(),
46011
- filters: array(ConditionSchema).optional(),
46150
+ filters: FilterGroupSchema.optional(),
46012
46151
  page_number: number(),
46013
46152
  page_size: number(),
46014
46153
  max_columns: number().nullable().optional()
@@ -46166,9 +46305,9 @@ ${c}
46166
46305
  query: M,
46167
46306
  page_number: E.pageIndex,
46168
46307
  page_size: E.pageSize,
46169
- filters: Y7.flatMap(_temp2$15)
46308
+ filters: filtersToFilterGroup(Y7)
46170
46309
  });
46171
- if (S2) w2.catch(_temp3$10);
46310
+ if (S2) w2.catch(_temp2$15);
46172
46311
  else {
46173
46312
  let e2 = await w2;
46174
46313
  r2 = e2.data, c2 = e2.raw_data, d2 = e2.total_rows, h = e2.cell_styles || {}, _2 = e2.cell_hover_texts || {};
@@ -46202,15 +46341,15 @@ ${c}
46202
46341
  rows: await loadTableData((await f({
46203
46342
  page_number: e2,
46204
46343
  page_size: 1,
46205
- sort: y.length > 0 ? y.map(_temp4$6) : void 0,
46344
+ sort: y.length > 0 ? y.map(_temp3$10) : void 0,
46206
46345
  query: M,
46207
- filters: Y7.flatMap(_temp5$4),
46346
+ filters: filtersToFilterGroup(Y7),
46208
46347
  max_columns: null
46209
46348
  })).data)
46210
46349
  }), r[48] = Y7, r[49] = f, r[50] = M, r[51] = y, r[52] = l9) : l9 = r[52];
46211
46350
  let u9 = l9, d9;
46212
46351
  r[53] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d9 = () => {
46213
- O(_temp6$4);
46352
+ O(_temp4$6);
46214
46353
  }, r[53] = d9) : d9 = r[53];
46215
46354
  let f9 = a9 == null ? void 0 : a9.totalRows, p9;
46216
46355
  r[54] === f9 ? p9 = r[55] : (p9 = [
@@ -46512,21 +46651,15 @@ ${c}
46512
46651
  };
46513
46652
  }
46514
46653
  function _temp2$15(e) {
46515
- return filterToFilterCondition(e.id, e.value);
46516
- }
46517
- function _temp3$10(e) {
46518
46654
  Logger.error(e);
46519
46655
  }
46520
- function _temp4$6(e) {
46656
+ function _temp3$10(e) {
46521
46657
  return {
46522
46658
  by: e.id,
46523
46659
  descending: e.desc
46524
46660
  };
46525
46661
  }
46526
- function _temp5$4(e) {
46527
- return filterToFilterCondition(e.id, e.value);
46528
- }
46529
- function _temp6$4(e) {
46662
+ function _temp4$6(e) {
46530
46663
  return e.pageIndex === 0 ? e : {
46531
46664
  ...e,
46532
46665
  pageIndex: 0
@@ -47414,7 +47547,7 @@ ${c}
47414
47547
  fullWidth: y,
47415
47548
  children: Y7
47416
47549
  }), r[19] = y, r[20] = S, r[21] = c, r[22] = Y7, r[23] = G) : G = r[23], G;
47417
- }, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-P92i6wYx.js"));
47550
+ }, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-DShCAU06.js"));
47418
47551
  const DataExplorerPlugin = createPlugin("marimo-data-explorer").withData(object({
47419
47552
  label: string().nullish(),
47420
47553
  data: string()
@@ -49109,7 +49242,7 @@ ${c}
49109
49242
  descending: boolean()
49110
49243
  })).optional(),
49111
49244
  query: string().optional(),
49112
- filters: array(ConditionSchema).optional(),
49245
+ filters: FilterGroupSchema.optional(),
49113
49246
  page_number: number(),
49114
49247
  page_size: number()
49115
49248
  })).output(object({
@@ -56517,31 +56650,35 @@ ${c}
56517
56650
  __privateGet(this, _e8).style.cursor = "crosshair";
56518
56651
  });
56519
56652
  __privateAdd(this, _b2, (e) => {
56520
- if (!(!e || !("has_selection" in e) || !e.has_selection)) {
56521
- if (e.type === "box") {
56522
- let r = e.data;
56523
- __privateSet(this, _r2, {
56524
- type: "box",
56525
- start: dataToPixel({
56526
- x: r.x_min,
56527
- y: r.y_min
56528
- }, __privateGet(this, _n4)),
56529
- end: dataToPixel({
56530
- x: r.x_max,
56531
- y: r.y_max
56532
- }, __privateGet(this, _n4)),
56533
- action: null
56534
- });
56535
- } else e.type === "lasso" && __privateSet(this, _r2, {
56536
- type: "lasso",
56537
- points: e.data.map(([e2, r]) => dataToPixel({
56538
- x: e2,
56539
- y: r
56540
- }, __privateGet(this, _n4))),
56653
+ if (!e || !("has_selection" in e) || !e.has_selection) {
56654
+ __privateGet(this, _r2).type !== "idle" && (__privateSet(this, _r2, {
56655
+ type: "idle"
56656
+ }), __privateGet(this, _f2).call(this));
56657
+ return;
56658
+ }
56659
+ if (e.type === "box") {
56660
+ let r = e.data;
56661
+ __privateSet(this, _r2, {
56662
+ type: "box",
56663
+ start: dataToPixel({
56664
+ x: r.x_min,
56665
+ y: r.y_min
56666
+ }, __privateGet(this, _n4)),
56667
+ end: dataToPixel({
56668
+ x: r.x_max,
56669
+ y: r.y_max
56670
+ }, __privateGet(this, _n4)),
56541
56671
  action: null
56542
56672
  });
56543
- __privateGet(this, _f2).call(this);
56544
- }
56673
+ } else e.type === "lasso" && __privateSet(this, _r2, {
56674
+ type: "lasso",
56675
+ points: e.data.map(([e2, r]) => dataToPixel({
56676
+ x: e2,
56677
+ y: r
56678
+ }, __privateGet(this, _n4))),
56679
+ action: null
56680
+ });
56681
+ __privateGet(this, _f2).call(this);
56545
56682
  });
56546
56683
  __privateAdd(this, _x, (e) => {
56547
56684
  __privateGet(this, _e8).setPointerCapture(e.pointerId), __privateGet(this, _t5).focus();
@@ -56706,6 +56843,11 @@ ${c}
56706
56843
  __privateMethod(this, _MatplotlibRenderer_instances, u_fn).call(this, e.chartBase64);
56707
56844
  return;
56708
56845
  }
56846
+ let d = __privateGet(this, _r2).type !== "idle" && __privateGet(this, _r2).action !== null;
56847
+ if (e.value !== r.value && !d) {
56848
+ __privateGet(this, _b2).call(this, e.value);
56849
+ return;
56850
+ }
56709
56851
  (c || e.selectionColor !== r.selectionColor || e.selectionOpacity !== r.selectionOpacity || e.strokeWidth !== r.strokeWidth) && __privateGet(this, _d2).call(this);
56710
56852
  }
56711
56853
  }, _e8 = new WeakMap(), _t5 = new WeakMap(), _n4 = new WeakMap(), _r2 = new WeakMap(), _i2 = new WeakMap(), _a2 = new WeakMap(), _o2 = new WeakMap(), _s = new WeakMap(), _MatplotlibRenderer_instances = new WeakSet(), c_fn = function(e = __privateGet(this, _e8)) {
@@ -57553,7 +57695,7 @@ ${c}
57553
57695
  setValue: e.setValue
57554
57696
  });
57555
57697
  }
57556
- }, LazyPlot = (0, import_react.lazy)(() => import("./Plot-CK0oVgQL.js").then((e) => ({
57698
+ }, LazyPlot = (0, import_react.lazy)(() => import("./Plot-DsEy3ro_.js").then((e) => ({
57557
57699
  default: e.Plot
57558
57700
  })));
57559
57701
  const PlotlyComponent = (0, import_react.memo)((e) => {
@@ -58361,7 +58503,8 @@ ${c}
58361
58503
  constructor() {
58362
58504
  __publicField(this, "tagName", "marimo-tabs");
58363
58505
  __publicField(this, "validator", object({
58364
- tabs: array(string())
58506
+ tabs: array(string()),
58507
+ label: string().nullable()
58365
58508
  }));
58366
58509
  }
58367
58510
  render(e) {
@@ -58373,29 +58516,35 @@ ${c}
58373
58516
  });
58374
58517
  }
58375
58518
  }, TabComponent = (e) => {
58376
- let r = (0, import_compiler_runtime$28.c)(13), { tabs: c, value: d, setValue: f, children: h } = e, [_, v] = import_react.useState(d || "0"), y;
58377
- r[0] === f ? y = r[1] : (y = (e2) => {
58378
- v(e2), f(e2);
58379
- }, r[0] = f, r[1] = y);
58380
- let S = y;
58381
- d !== _ && d && v(d);
58382
- let w;
58383
- r[2] === c ? w = r[3] : (w = c.map(_temp$8), r[2] = c, r[3] = w);
58519
+ let r = (0, import_compiler_runtime$28.c)(16), { tabs: c, label: d, value: f, setValue: h, children: _ } = e, [v, y] = import_react.useState(f || "0"), S;
58520
+ r[0] === h ? S = r[1] : (S = (e2) => {
58521
+ y(e2), h(e2);
58522
+ }, r[0] = h, r[1] = S);
58523
+ let w = S;
58524
+ f !== v && f && y(f);
58384
58525
  let E;
58385
- r[4] === w ? E = r[5] : (E = (0, import_jsx_runtime.jsx)(TabsList, {
58386
- children: w
58387
- }), r[4] = w, r[5] = E);
58526
+ r[2] === c ? E = r[3] : (E = c.map(_temp$8), r[2] = c, r[3] = E);
58388
58527
  let O;
58389
- r[6] === h ? O = r[7] : (O = import_react.Children.map(h, _temp2$4), r[6] = h, r[7] = O);
58528
+ r[4] === E ? O = r[5] : (O = (0, import_jsx_runtime.jsx)(TabsList, {
58529
+ children: E
58530
+ }), r[4] = E, r[5] = O);
58390
58531
  let M;
58391
- return r[8] !== S || r[9] !== _ || r[10] !== E || r[11] !== O ? (M = (0, import_jsx_runtime.jsxs)(Tabs, {
58392
- value: _,
58393
- onValueChange: S,
58532
+ r[6] === _ ? M = r[7] : (M = import_react.Children.map(_, _temp2$4), r[6] = _, r[7] = M);
58533
+ let I;
58534
+ r[8] !== w || r[9] !== v || r[10] !== O || r[11] !== M ? (I = (0, import_jsx_runtime.jsxs)(Tabs, {
58535
+ value: v,
58536
+ onValueChange: w,
58394
58537
  children: [
58395
- E,
58396
- O
58538
+ O,
58539
+ M
58397
58540
  ]
58398
- }), r[8] = S, r[9] = _, r[10] = E, r[11] = O, r[12] = M) : M = r[12], M;
58541
+ }), r[8] = w, r[9] = v, r[10] = O, r[11] = M, r[12] = I) : I = r[12];
58542
+ let z;
58543
+ return r[13] !== d || r[14] !== I ? (z = (0, import_jsx_runtime.jsx)(Labeled, {
58544
+ label: d,
58545
+ align: "top",
58546
+ children: I
58547
+ }), r[13] = d, r[14] = I, r[15] = z) : z = r[15], z;
58399
58548
  };
58400
58549
  function _temp$8(e, r) {
58401
58550
  return (0, import_jsx_runtime.jsx)(TabsTrigger, {
@@ -58678,7 +58827,7 @@ ${c}
58678
58827
  return true;
58679
58828
  }
58680
58829
  }
58681
- var LazyVegaComponent = import_react.lazy(() => import("./vega-component-KBJXEDZz.js")), VegaPlugin = class {
58830
+ var LazyVegaComponent = import_react.lazy(() => import("./vega-component-CQ88A9vN.js")), VegaPlugin = class {
58682
58831
  constructor() {
58683
58832
  __publicField(this, "tagName", "marimo-vega");
58684
58833
  __publicField(this, "validator", object({
@@ -58817,7 +58966,7 @@ ${c}
58817
58966
  children: e.children
58818
58967
  });
58819
58968
  }
58820
- }, LazySlidesComponent$1 = import_react.lazy(() => import("./slides-component-DLxprlqo.js"));
58969
+ }, LazySlidesComponent$1 = import_react.lazy(() => import("./slides-component-B9NXzezL.js"));
58821
58970
  const DownloadPlugin = createPlugin("marimo-download").withData(object({
58822
58971
  data: string(),
58823
58972
  disabled: boolean().default(false),
@@ -58869,7 +59018,7 @@ ${c}
58869
59018
  y
58870
59019
  ]
58871
59020
  });
58872
- }, LazyImageComparisonComponent = import_react.lazy(() => import("./ImageComparisonComponent-HF4AY8_n.js")), ImageComparisonPlugin = class {
59021
+ }, LazyImageComparisonComponent = import_react.lazy(() => import("./ImageComparisonComponent-BV1jHxOP.js")), ImageComparisonPlugin = class {
58873
59022
  constructor() {
58874
59023
  __publicField(this, "tagName", "marimo-image-comparison");
58875
59024
  __publicField(this, "validator", object({
@@ -58999,7 +59148,7 @@ ${c}
58999
59148
  diagram: e.data.diagram
59000
59149
  });
59001
59150
  }
59002
- }, LazyMermaid = (0, import_react.lazy)(() => import("./mermaid-BbhZNQeB.js").then(async (m2) => {
59151
+ }, LazyMermaid = (0, import_react.lazy)(() => import("./mermaid-DBH43AFh.js").then(async (m2) => {
59003
59152
  await m2.__tla;
59004
59153
  return m2;
59005
59154
  })), import_compiler_runtime$22 = require_compiler_runtime();
@@ -60683,112 +60832,84 @@ ${c}
60683
60832
  var import_dist = __commonJSMin(((e) => {
60684
60833
  Object.defineProperty(e, "__esModule", {
60685
60834
  value: true
60686
- }), e.PathError = e.TokenData = void 0, e.match = w;
60687
- var r = "/", c = (e2) => e2, d = /^[$_\p{ID_Start}]$/u, f = /^[$\u200c\u200d\p{ID_Continue}]$/u, h = "{}()[]+?!";
60688
- function _(e2) {
60835
+ }), e.PathError = e.TokenData = void 0, e.match = S;
60836
+ var r = "/", c = (e2) => e2, d = /^[$_\p{ID_Start}]$/u, f = /^[$\u200c\u200d\p{ID_Continue}]$/u;
60837
+ function h(e2) {
60689
60838
  return e2.replace(/[.+*?^${}()[\]|/\\]/g, "\\$&");
60690
60839
  }
60691
- var v = class {
60840
+ var _ = class {
60692
60841
  constructor(e2, r2) {
60693
60842
  this.tokens = e2, this.originalPath = r2;
60694
60843
  }
60695
60844
  };
60696
- e.TokenData = v;
60697
- var y = class extends TypeError {
60845
+ e.TokenData = _;
60846
+ var v = class extends TypeError {
60698
60847
  constructor(e2, r2) {
60699
60848
  let c2 = e2;
60700
60849
  r2 && (c2 += `: ${r2}`), c2 += "; visit https://git.new/pathToRegexpError for info", super(c2), this.originalPath = r2;
60701
60850
  }
60702
60851
  };
60703
- e.PathError = y;
60704
- function S(e2, r2 = {}) {
60705
- let { encodePath: _2 = c } = r2, S2 = [
60852
+ e.PathError = v;
60853
+ function y(e2, r2 = {}) {
60854
+ let { encodePath: h2 = c } = r2, y2 = [
60706
60855
  ...e2
60707
- ], w2 = [], E2 = 0, O2 = 0;
60708
- function M2() {
60709
- let r3 = "";
60710
- if (d.test(S2[E2])) do
60711
- r3 += S2[E2++];
60712
- while (f.test(S2[E2]));
60713
- else if (S2[E2] === '"') {
60714
- let c2 = E2;
60715
- for (; E2 < S2.length; ) {
60716
- if (S2[++E2] === '"') {
60717
- E2++, c2 = 0;
60718
- break;
60719
- }
60720
- S2[E2] === "\\" && E2++, r3 += S2[E2];
60721
- }
60722
- if (c2) throw new y(`Unterminated quote at index ${c2}`, e2);
60856
+ ], S2 = 0;
60857
+ function w2(r3) {
60858
+ let c2 = [], _2 = "";
60859
+ function E2() {
60860
+ _2 && (_2 = (c2.push({
60861
+ type: "text",
60862
+ value: h2(_2)
60863
+ }), ""));
60723
60864
  }
60724
- if (!r3) throw new y(`Missing parameter name at index ${E2}`, e2);
60725
- return r3;
60726
- }
60727
- for (; E2 < S2.length; ) {
60728
- let e3 = S2[E2++];
60729
- h.includes(e3) ? w2.push({
60730
- type: e3,
60731
- index: E2,
60732
- value: e3
60733
- }) : e3 === "\\" ? w2.push({
60734
- type: "escape",
60735
- index: E2,
60736
- value: S2[E2++]
60737
- }) : e3 === ":" ? w2.push({
60738
- type: "param",
60739
- index: E2,
60740
- value: M2()
60741
- }) : e3 === "*" ? w2.push({
60742
- type: "wildcard",
60743
- index: E2,
60744
- value: M2()
60745
- }) : w2.push({
60746
- type: "char",
60747
- index: E2,
60748
- value: e3
60749
- });
60750
- }
60751
- w2.push({
60752
- type: "end",
60753
- index: E2,
60754
- value: ""
60755
- });
60756
- function I2(r3) {
60757
- let c2 = [];
60758
- for (; ; ) {
60759
- let d2 = w2[O2++];
60760
- if (d2.type === r3) break;
60761
- if (d2.type === "char" || d2.type === "escape") {
60762
- let e3 = d2.value, r4 = w2[O2];
60763
- for (; r4.type === "char" || r4.type === "escape"; ) e3 += r4.value, r4 = w2[++O2];
60764
- c2.push({
60765
- type: "text",
60766
- value: _2(e3)
60767
- });
60865
+ for (; S2 < y2.length; ) {
60866
+ let h3 = y2[S2++];
60867
+ if (h3 === r3) return E2(), c2;
60868
+ if (h3 === "\\") {
60869
+ if (S2 === y2.length) throw new v(`Unexpected end after \\ at index ${S2}`, e2);
60870
+ _2 += y2[S2++];
60768
60871
  continue;
60769
60872
  }
60770
- if (d2.type === "param" || d2.type === "wildcard") {
60771
- c2.push({
60772
- type: d2.type,
60773
- name: d2.value
60873
+ if (h3 === ":" || h3 === "*") {
60874
+ let r4 = h3 === ":" ? "param" : "wildcard", _3 = "";
60875
+ if (d.test(y2[S2])) do
60876
+ _3 += y2[S2++];
60877
+ while (f.test(y2[S2]));
60878
+ else if (y2[S2] === '"') {
60879
+ let r5 = S2;
60880
+ for (; S2 < y2.length; ) {
60881
+ if (y2[++S2] === '"') {
60882
+ S2++, r5 = 0;
60883
+ break;
60884
+ }
60885
+ y2[S2] === "\\" && S2++, _3 += y2[S2];
60886
+ }
60887
+ if (r5) throw new v(`Unterminated quote at index ${r5}`, e2);
60888
+ }
60889
+ if (!_3) throw new v(`Missing parameter name at index ${S2}`, e2);
60890
+ E2(), c2.push({
60891
+ type: r4,
60892
+ name: _3
60774
60893
  });
60775
60894
  continue;
60776
60895
  }
60777
- if (d2.type === "{") {
60778
- c2.push({
60896
+ if (h3 === "{") {
60897
+ E2(), c2.push({
60779
60898
  type: "group",
60780
- tokens: I2("}")
60899
+ tokens: w2("}")
60781
60900
  });
60782
60901
  continue;
60783
60902
  }
60784
- throw new y(`Unexpected ${d2.type} at index ${d2.index}, expected ${r3}`, e2);
60903
+ if (h3 === "}" || h3 === "(" || h3 === ")" || h3 === "[" || h3 === "]" || h3 === "+" || h3 === "?" || h3 === "!") throw new v(`Unexpected ${h3} at index ${S2 - 1}`, e2);
60904
+ _2 += h3;
60785
60905
  }
60786
- return c2;
60906
+ if (r3) throw new v(`Unexpected end at index ${S2}, expected ${r3}`, e2);
60907
+ return E2(), c2;
60787
60908
  }
60788
- return new v(I2("end"), e2);
60909
+ return new _(w2(""), e2);
60789
60910
  }
60790
- function w(e2, d2 = {}) {
60791
- let { decode: f2 = decodeURIComponent, delimiter: h2 = r } = d2, { regexp: _2, keys: v2 } = E(e2, d2), y2 = v2.map((e3) => f2 === false ? c : e3.type === "param" ? f2 : (e4) => e4.split(h2).map(f2));
60911
+ function S(e2, d2 = {}) {
60912
+ let { decode: f2 = decodeURIComponent, delimiter: h2 = r } = d2, { regexp: _2, keys: v2 } = w(e2, d2), y2 = v2.map((e3) => f2 === false ? c : e3.type === "param" ? f2 : (e4) => e4.split(h2).map(f2));
60792
60913
  return function(e3) {
60793
60914
  let r2 = _2.exec(e3);
60794
60915
  if (!r2) return false;
@@ -60804,59 +60925,41 @@ ${c}
60804
60925
  };
60805
60926
  };
60806
60927
  }
60807
- function E(e2, c2 = {}) {
60808
- let { delimiter: d2 = r, end: f2 = true, sensitive: h2 = false, trailing: v2 = true } = c2, w2 = new M("^"), E2 = [
60809
- e2
60810
- ], Y72 = 0;
60811
- for (; E2.length; ) {
60812
- let e3 = E2.shift();
60928
+ function w(e2, c2 = {}) {
60929
+ let { delimiter: d2 = r, end: f2 = true, sensitive: _2 = false, trailing: S2 = true } = c2, w2 = [], M2 = "", I = 0;
60930
+ function z(e3) {
60813
60931
  if (Array.isArray(e3)) {
60814
- E2.push(...e3);
60815
- continue;
60932
+ for (let r3 of e3) z(r3);
60933
+ return;
60816
60934
  }
60817
- let r2 = typeof e3 == "object" ? e3 : S(e3, c2);
60818
- I(r2.tokens, 0, [], (e4) => {
60819
- if (Y72++ >= 256) throw new y("Too many path combinations", r2.originalPath);
60820
- let c3 = w2;
60821
- for (let f3 of z(e4, d2, r2.originalPath)) c3 = c3.add(f3.source, f3.key);
60822
- c3.add("");
60935
+ let r2 = typeof e3 == "object" ? e3 : y(e3, c2);
60936
+ E(r2.tokens, 0, [], (e4) => {
60937
+ if (I >= 256) throw new v("Too many path combinations", r2.originalPath);
60938
+ I > 0 && (M2 += "|"), M2 += O(e4, d2, w2, r2.originalPath), I++;
60823
60939
  });
60824
60940
  }
60825
- let G = [], q = O(w2, G);
60826
- return v2 && (q += "(?:" + _(d2) + "$)?"), q += f2 ? "$" : "(?=" + _(d2) + "|$)", {
60827
- regexp: new RegExp(q, h2 ? "" : "i"),
60828
- keys: G
60941
+ z(e2);
60942
+ let Y7 = `^(?:${M2})`;
60943
+ return S2 && (Y7 += "(?:" + h(d2) + "$)?"), Y7 += f2 ? "$" : "(?=" + h(d2) + "|$)", {
60944
+ regexp: new RegExp(Y7, _2 ? "" : "i"),
60945
+ keys: w2
60829
60946
  };
60830
60947
  }
60831
- function O(e2, r2) {
60832
- e2.key && r2.push(e2.key);
60833
- let c2 = Object.keys(e2.children), d2 = c2.map((c3) => O(e2.children[c3], r2)).join("|");
60834
- return e2.source + (c2.length < 2 ? d2 : `(?:${d2})`);
60835
- }
60836
- var M = class e2 {
60837
- constructor(e3, r2) {
60838
- this.source = e3, this.key = r2, this.children = /* @__PURE__ */ Object.create(null);
60839
- }
60840
- add(r2, c2) {
60841
- var d2;
60842
- let f2 = r2 + ":" + (c2 ? c2.name : "");
60843
- return (d2 = this.children)[f2] || (d2[f2] = new e2(r2, c2));
60844
- }
60845
- };
60846
- function I(e2, r2, c2, d2) {
60948
+ function E(e2, r2, c2, d2) {
60847
60949
  for (; r2 < e2.length; ) {
60848
60950
  let f2 = e2[r2++];
60849
60951
  if (f2.type === "group") {
60850
- I(f2.tokens, 0, c2.slice(), (c3) => I(e2, r2, c3, d2));
60952
+ let h2 = c2.length;
60953
+ E(f2.tokens, 0, c2, (c3) => E(e2, r2, c3, d2)), c2.length = h2;
60851
60954
  continue;
60852
60955
  }
60853
60956
  c2.push(f2);
60854
60957
  }
60855
60958
  d2(c2);
60856
60959
  }
60857
- function z(e2, r2, c2) {
60858
- let d2 = [], f2 = "", h2 = "", v2 = 0, S2 = 0, w2 = 0;
60859
- function E2(c3, d3) {
60960
+ function O(e2, r2, c2, d2) {
60961
+ let f2 = "", _2 = "", y2 = "", S2 = 0, w2 = 0, E2 = 0;
60962
+ function O2(c3, d3) {
60860
60963
  for (; c3 < e2.length; ) {
60861
60964
  let f3 = e2[c3++];
60862
60965
  if (f3.type === d3) return true;
@@ -60864,7 +60967,7 @@ ${c}
60864
60967
  }
60865
60968
  return false;
60866
60969
  }
60867
- function O2(r3) {
60970
+ function I(r3) {
60868
60971
  let c3 = "";
60869
60972
  for (; r3 < e2.length; ) {
60870
60973
  let d3 = e2[r3++];
@@ -60873,31 +60976,23 @@ ${c}
60873
60976
  }
60874
60977
  return c3;
60875
60978
  }
60876
- for (; w2 < e2.length; ) {
60877
- let M2 = e2[w2++];
60878
- if (M2.type === "text") {
60879
- d2.push({
60880
- source: _(M2.value)
60881
- }), f2 += M2.value, v2 === 2 && (h2 += M2.value), M2.value.includes(r2) && (S2 = 0);
60979
+ for (; E2 < e2.length; ) {
60980
+ let z = e2[E2++];
60981
+ if (z.type === "text") {
60982
+ f2 += h(z.value), _2 += z.value, S2 === 2 && (y2 += z.value), z.value.includes(r2) && (w2 = 0);
60882
60983
  continue;
60883
60984
  }
60884
- if (M2.type === "param" || M2.type === "wildcard") {
60885
- if (v2 && !f2) throw new y(`Missing text before "${M2.name}" ${M2.type}`, c2);
60886
- M2.type === "param" ? (d2.push({
60887
- source: S2 ? `(${Y7(r2, f2)}+?)` : E2(w2, "wildcard") ? `(${Y7(r2, O2(w2))}+?)` : `(${Y7(r2, "")}+?)`,
60888
- key: M2
60889
- }), S2 |= v2 = 1) : (d2.push({
60890
- source: S2 & 2 ? `(${Y7(f2, "")}+?)` : S2 & 1 ? `(${Y7(h2, "")}+?)` : h2 ? `(${Y7(h2, "")}+?|${Y7(r2, "")}+?)` : "([^]+?)",
60891
- key: M2
60892
- }), h2 = "", S2 |= v2 = 2), f2 = "";
60985
+ if (z.type === "param" || z.type === "wildcard") {
60986
+ if (S2 && !_2) throw new v(`Missing text before "${z.name}" ${z.type}`, d2);
60987
+ z.type === "param" ? (f2 += w2 & 2 ? `(${M(r2, _2)}+)` : O2(E2, "wildcard") ? `(${M(r2, I(E2))}+)` : w2 & 1 ? `(${M(r2, _2)}+|${h(_2)})` : `(${M(r2, "")}+)`, w2 |= S2 = 1) : (f2 += w2 & 2 ? `(${M(_2, "")}+)` : y2 ? `(${M(y2, "")}+|${M(r2, "")}+)` : "([^]+)", y2 = "", w2 |= S2 = 2), c2.push(z), _2 = "";
60893
60988
  continue;
60894
60989
  }
60895
- throw TypeError(`Unknown token type: ${M2.type}`);
60990
+ throw TypeError(`Unknown token type: ${z.type}`);
60896
60991
  }
60897
- return d2;
60992
+ return f2;
60898
60993
  }
60899
- function Y7(e2, r2) {
60900
- return r2.length > e2.length ? Y7(r2, e2) : (e2 === r2 && (r2 = ""), r2.length > 1 ? `(?:(?!${_(e2)}|${_(r2)})[^])` : e2.length > 1 ? `(?:(?!${_(e2)})[^${_(r2)}])` : `[^${_(e2 + r2)}]`);
60994
+ function M(e2, r2) {
60995
+ return r2.length > e2.length ? M(r2, e2) : (e2 === r2 && (r2 = ""), r2.length > 1 ? `(?:(?!${h(e2)}|${h(r2)})[^])` : e2.length > 1 ? `(?:(?!${h(e2)})[^${h(r2)}])` : `[^${h(e2 + r2)}]`);
60901
60996
  }
60902
60997
  }))(), TinyRouter = class {
60903
60998
  constructor(e) {
@@ -61083,8 +61178,8 @@ ${c}
61083
61178
  tex: e.host.textContent || e.host.innerHTML
61084
61179
  });
61085
61180
  }
61086
- }, importKatex = once(async () => (await import("./katex-CkLtKXwv.js")).default), importMhChem = once(async () => {
61087
- await import("./mhchem-BuY5LDSq.js");
61181
+ }, importKatex = once(async () => (await import("./katex-Ckd8lBne.js")).default), importMhChem = once(async () => {
61182
+ await import("./mhchem-DAXq6Zll.js");
61088
61183
  }), macros = {
61089
61184
  "\\mbox": "\\text{#1}"
61090
61185
  };
@@ -68233,7 +68328,7 @@ ${c}
68233
68328
  function asCellId(e) {
68234
68329
  return typeof e == "string" ? e : null;
68235
68330
  }
68236
- var import_compiler_runtime$10 = require_compiler_runtime(), LazySlidesComponent = import_react.lazy(() => import("./slides-component-DLxprlqo.js"));
68331
+ var import_compiler_runtime$10 = require_compiler_runtime(), LazySlidesComponent = import_react.lazy(() => import("./slides-component-B9NXzezL.js"));
68237
68332
  const SlidesLayoutRenderer = (e) => {
68238
68333
  var _a3;
68239
68334
  let r = (0, import_compiler_runtime$10.c)(15), { cells: c, mode: d } = e, f = d === "read", h = useAtomValue(numColumnsAtom) > 1, [_, v] = (0, import_react.useState)(null), y = c.filter(_temp$4), S = _ ? y.findIndex((e2) => e2.id === _) : 0, w = S === -1 ? 0 : S, E = useEvent_default((e2) => {
@@ -68770,7 +68865,7 @@ ${c}
68770
68865
  return Logger.warn("Failed to get version from mount config"), null;
68771
68866
  }
68772
68867
  }
68773
- const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.2-dev3"), showCodeInRunModeAtom = atom(true);
68868
+ const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.2-dev31"), showCodeInRunModeAtom = atom(true);
68774
68869
  atom(null);
68775
68870
  var VIRTUAL_FILE_REGEX = /\/@file\/([^\s"&'/]+)\.([\dA-Za-z]+)/g, VirtualFileTracker = class e {
68776
68871
  constructor() {