@marimo-team/islands 0.23.7-dev1 → 0.23.7-dev10

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 (432) hide show
  1. package/dist/{ConnectedDataExplorerComponent-PmilQqXR.js → ConnectedDataExplorerComponent-DnRhpPMJ.js} +1 -1
  2. package/dist/{any-language-editor-BVR0l12r.js → any-language-editor-DDubl8YH.js} +10 -10
  3. package/dist/apl-Bdc61P1y.js +4 -0
  4. package/dist/{arc-CHF8PiiF.js → arc-DfkSnvZm.js} +2 -2
  5. package/dist/{architecture-7HQA4BMR-D0JB_3hE.js → architecture-7HQA4BMR-CS9jOrqM.js} +1 -1
  6. package/dist/{architectureDiagram-VXUJARFQ-BXQEUDtK.js → architectureDiagram-VXUJARFQ-CXVJxFhH.js} +16 -16
  7. package/dist/asciiarmor-DVRHDGzT.js +4 -0
  8. package/dist/asn1-BmuKfkfu.js +4 -0
  9. package/dist/{blockDiagram-VD42YOAC-DhJe-Y9i.js → blockDiagram-VD42YOAC-DGDaxR8I.js} +11 -11
  10. package/dist/brainfuck-DPrRpyTV.js +4 -0
  11. package/dist/{c4Diagram-YG6GDRKO-9dSfzOFR.js → c4Diagram-YG6GDRKO-C2hc6ne8.js} +5 -5
  12. package/dist/{channel-MqYIiKgS.js → channel-BBoIVUrJ.js} +1 -1
  13. package/dist/{chat-ui-B-gbqk_F.js → chat-ui-BmWZZ3mE.js} +3 -3
  14. package/dist/{chunk-4BX2VUAB-BwfrWBqN.js → chunk-4BX2VUAB-CzXltWHN.js} +1 -1
  15. package/dist/{chunk-55IACEB6-D8THf2mi.js → chunk-55IACEB6-B-1mjMMC.js} +1 -1
  16. package/dist/{chunk-5FQGJX7Z-CO1e63h_.js → chunk-5FQGJX7Z-BOg95xG5.js} +2 -2
  17. package/dist/{chunk-ABZYJK2D-BrBb_0yY.js → chunk-ABZYJK2D-D0cLy8Bb.js} +2 -2
  18. package/dist/{chunk-ATLVNIR6-D-0XqNah.js → chunk-ATLVNIR6-BXsEjlHF.js} +2 -2
  19. package/dist/{chunk-B4BG7PRW-8iRKvugR.js → chunk-B4BG7PRW-Q1usn6T3.js} +7 -7
  20. package/dist/{chunk-CVBHYZKI-B6xhgaBd.js → chunk-CVBHYZKI-B_c5YBcW.js} +1 -1
  21. package/dist/{chunk-DI55MBZ5-C0_2D4m4.js → chunk-DI55MBZ5-D1qLYNrb.js} +6 -6
  22. package/dist/{chunk-EXTU4WIE-Jiw9ca1u.js → chunk-EXTU4WIE-BKNXdLmD.js} +2 -2
  23. package/dist/{chunk-FMBD7UC4-CHdus51S.js → chunk-FMBD7UC4-Ie8M9q0W.js} +1 -1
  24. package/dist/{chunk-HN2XXSSU-2Vfbq-kU.js → chunk-HN2XXSSU-E3n-Ys7Z.js} +1 -1
  25. package/dist/{chunk-JA3XYJ7Z-6wbaigKe.js → chunk-JA3XYJ7Z-D6c6cOBG.js} +3 -3
  26. package/dist/{chunk-JZLCHNYA-_rfptlUP.js → chunk-JZLCHNYA-BvsPHJmL.js} +6 -6
  27. package/dist/{chunk-MI3HLSF2-Do0-KRc0.js → chunk-MI3HLSF2-CUYEasXO.js} +1 -1
  28. package/dist/{chunk-N4CR4FBY-DIZG9dVD.js → chunk-N4CR4FBY-8ycT-O9a.js} +7 -7
  29. package/dist/{chunk-QN33PNHL-Cc64y40m.js → chunk-QN33PNHL-Bb-eUBW3.js} +2 -2
  30. package/dist/{chunk-QXUST7PY-BDG0-0Or.js → chunk-QXUST7PY-DV8yRwBd.js} +10 -10
  31. package/dist/{chunk-QZHKN3VN-B_Mdb8GC.js → chunk-QZHKN3VN-DRjXVwuJ.js} +1 -1
  32. package/dist/{chunk-S3R3BYOJ-DphMP0FA.js → chunk-S3R3BYOJ-mQeCz5CE.js} +4 -4
  33. package/dist/{chunk-TZMSLE5B-C9LUoYkc.js → chunk-TZMSLE5B-BqW10dHe.js} +3 -3
  34. package/dist/classDiagram-2ON5EDUG--Yh__LHb.js +30 -0
  35. package/dist/classDiagram-v2-WZHVMYZB-BC7X7Xtc.js +30 -0
  36. package/dist/{clike-sBZrGeF8.js → clike-DTxNUn7l.js} +1 -1
  37. package/dist/clojure-DEttQW5T.js +4 -0
  38. package/dist/cmake-jNlx_DaM.js +4 -0
  39. package/dist/cobol-BvvIm5MJ.js +4 -0
  40. package/dist/{code-block-37QAKDTI-0JNwiPGv.js → code-block-37QAKDTI-BsGy1AOJ.js} +1 -1
  41. package/dist/{code-visibility-DafdYnEy.js → code-visibility-DSOij00M.js} +593 -582
  42. package/dist/coffeescript-DTpBMyFU.js +4 -0
  43. package/dist/commonlisp-BmmUG8jb.js +4 -0
  44. package/dist/{cose-bilkent-S5V4N54A-DXHZkJKX.js → cose-bilkent-S5V4N54A-kjoZoid4.js} +2 -2
  45. package/dist/crystal-BxyqmEWC.js +4 -0
  46. package/dist/css-BGoCtuG3.js +4 -0
  47. package/dist/cypher-BmCbdl3u.js +4 -0
  48. package/dist/d-CFrlbjZt.js +4 -0
  49. package/dist/{dagre-6UL2VRFP-tH87fkPA.js → dagre-6UL2VRFP-DRBWoQUw.js} +10 -10
  50. package/dist/{data-grid-overlay-editor-CWUN78-s.js → data-grid-overlay-editor-efe5ZagF.js} +2 -2
  51. package/dist/{diagram-PSM6KHXK-2VjPSCDn.js → diagram-PSM6KHXK-H66ATWP2.js} +18 -18
  52. package/dist/{diagram-QEK2KX5R-CiLmNyta.js → diagram-QEK2KX5R-DItl5Wns.js} +14 -14
  53. package/dist/{diagram-S2PKOQOG-Zha_1CLx.js → diagram-S2PKOQOG-CtuW_ZuL.js} +14 -14
  54. package/dist/diff-D6XwL6P8.js +4 -0
  55. package/dist/{dist-Brkazupz.js → dist--sWVZwjW.js} +1 -1
  56. package/dist/{dist-FN0ZA_8F.js → dist-21ButRCu.js} +1 -1
  57. package/dist/{dist-BetEKbPG.js → dist-B8RaFTRF.js} +1 -1
  58. package/dist/dist-BoHGySTM.js +5 -0
  59. package/dist/dist-ByAz19Qc.js +5 -0
  60. package/dist/dist-C93EysN4.js +5 -0
  61. package/dist/{dist-BHnX0ia_.js → dist-CY-lVor6.js} +1 -1
  62. package/dist/{dist-YP-G7W0f.js → dist-CYDuv4bR.js} +1 -1
  63. package/dist/{dist-CMjD5MQb.js → dist-Cfo5EE2t.js} +1 -1
  64. package/dist/dist-CjivSDvN.js +5 -0
  65. package/dist/dist-Cqwx-MH7.js +5 -0
  66. package/dist/{dist-DkC6YEo0.js → dist-DMZNjfX4.js} +1 -1
  67. package/dist/{dist-ChC1BhqM.js → dist-DbpcoFAV.js} +1 -1
  68. package/dist/dist-FUNenbiQ.js +5 -0
  69. package/dist/{dist-BEOU2g1b.js → dist-zhSud5X3.js} +1 -1
  70. package/dist/{dockerfile-COvlVLcE.js → dockerfile-twL37N91.js} +1 -1
  71. package/dist/dtd-Bw0lRN0-.js +4 -0
  72. package/dist/dylan-B55eBHTt.js +4 -0
  73. package/dist/ecl-C8G4p0wn.js +4 -0
  74. package/dist/eiffel-BmH46VJl.js +4 -0
  75. package/dist/elm-DhzeFqkl.js +4 -0
  76. package/dist/{erDiagram-Q2GNP2WA-biHZS05w.js → erDiagram-Q2GNP2WA--19X2kU5.js} +14 -14
  77. package/dist/erlang-CY-wdlsU.js +4 -0
  78. package/dist/{esm-CYEyrE3Y.js → esm-DjNnlmpf.js} +96 -96
  79. package/dist/{factor-C2GT7jfQ.js → factor-CajWS6mS.js} +1 -1
  80. package/dist/factor-DWkgl0xw.js +4 -0
  81. package/dist/{flowDiagram-NV44I4VS-CWWlUpBR.js → flowDiagram-NV44I4VS-DQmWlo7f.js} +16 -16
  82. package/dist/forth-Cij_ie2t.js +4 -0
  83. package/dist/fortran-Br3X9cfm.js +4 -0
  84. package/dist/{ganttDiagram-JELNMOA3-D7B2c4Z9.js → ganttDiagram-JELNMOA3-BOGXJ8Lk.js} +7 -7
  85. package/dist/gas-DYsGcMN2.js +4 -0
  86. package/dist/gherkin-eVgXQ0fQ.js +4 -0
  87. package/dist/{gitGraph-G5XIXVHT-BdepdFa_.js → gitGraph-G5XIXVHT-DGlbae5m.js} +1 -1
  88. package/dist/{gitGraphDiagram-V2S2FVAM-CtLvNR1S.js → gitGraphDiagram-V2S2FVAM-DjzxfF0P.js} +14 -14
  89. package/dist/{glide-data-editor-CvlvtPWJ.js → glide-data-editor-B-3A3G02.js} +4 -4
  90. package/dist/groovy-_NFHIXG7.js +4 -0
  91. package/dist/haskell-D6xNG_bH.js +4 -0
  92. package/dist/haxe-sU_rzAwn.js +5 -0
  93. package/dist/{html-to-image-hMMPiNe_.js → html-to-image-BwZL1Pkk.js} +140 -140
  94. package/dist/idl-Ds_VbrUx.js +4 -0
  95. package/dist/{info-VBDWY6EO--JNA2rNu.js → info-VBDWY6EO-D2lvLLw5.js} +1 -1
  96. package/dist/{infoDiagram-HS3SLOUP-BbZyOxsP.js → infoDiagram-HS3SLOUP-ChNufFsP.js} +12 -12
  97. package/dist/javascript-CztfIl0i.js +4 -0
  98. package/dist/{journeyDiagram-XKPGCS4Q-BU2mjjzl.js → journeyDiagram-XKPGCS4Q-BO_O4Ij1.js} +6 -6
  99. package/dist/julia-DDv40QMV.js +4 -0
  100. package/dist/{kanban-definition-3W4ZIXB7-BlmczUuw.js → kanban-definition-3W4ZIXB7-CPpiiiWk.js} +11 -11
  101. package/dist/{katex-qPqrBHZ8.js → katex-9-9QRhxz.js} +1 -1
  102. package/dist/{line-BWRi3U3S.js → line-C5s_12ee.js} +3 -3
  103. package/dist/{linear-DnHwODZa.js → linear-2NnK4cxi.js} +2 -2
  104. package/dist/livescript-BEOngLLc.js +4 -0
  105. package/dist/lua-9-7BhQ4Y.js +4 -0
  106. package/dist/main.js +1153 -1116
  107. package/dist/mathematica-DDa0Pfxm.js +4 -0
  108. package/dist/mbox-iO03mmoE.js +4 -0
  109. package/dist/{mermaid-4DMBBIKO-CG1ECj5W.js → mermaid-4DMBBIKO-B7VQMwJx.js} +1 -1
  110. package/dist/{mermaid-DJ1NyBGw.js → mermaid-cXSZ1pfD.js} +67 -64
  111. package/dist/{mermaid-parser.core-CleJseNW.js → mermaid-parser.core-DreccfmS.js} +7 -7
  112. package/dist/{mhchem-BwoRNwg_.js → mhchem-yiCCuiEF.js} +1 -1
  113. package/dist/{mindmap-definition-VGOIOE7T-CcSYqYP9.js → mindmap-definition-VGOIOE7T-CC1_Vl0f.js} +13 -13
  114. package/dist/mirc-C9z5LT4X.js +4 -0
  115. package/dist/mllike-jGJbdm_C.js +6 -0
  116. package/dist/modelica-DzF7oIEL.js +4 -0
  117. package/dist/mscgen-DB-u125o.js +6 -0
  118. package/dist/mumps-CRTFHhzh.js +4 -0
  119. package/dist/nsis-C4NPTuox.js +4 -0
  120. package/dist/{nsis-B5K1qoyo.js → nsis-ClF3r5Tr.js} +1 -1
  121. package/dist/ntriples-BCOoGph1.js +4 -0
  122. package/dist/{number-overlay-editor-_GnlYFHC.js → number-overlay-editor-CpKi64Fy.js} +1 -1
  123. package/dist/octave-DTwNlazz.js +4 -0
  124. package/dist/{ordinal-2jIulmcR.js → ordinal-B43ZeR68.js} +1 -1
  125. package/dist/oz-DD38AzSz.js +4 -0
  126. package/dist/{packet-DYOGHKS2-CBxXGWNr.js → packet-DYOGHKS2-CmWtF3uO.js} +1 -1
  127. package/dist/pascal-BohSp9jV.js +4 -0
  128. package/dist/perl-f5OutoPM.js +4 -0
  129. package/dist/{pie-VRWISCQL-Bmdnqjip.js → pie-VRWISCQL-B6u8vus8.js} +1 -1
  130. package/dist/{pieDiagram-ADFJNKIX-DNyLF5H2.js → pieDiagram-ADFJNKIX-Di34MOFQ.js} +19 -19
  131. package/dist/pig-Dv7wSmHb.js +4 -0
  132. package/dist/powershell-rYgjKB39.js +4 -0
  133. package/dist/{process-output-Bza_GK7Q.js → process-output-lpVrk7d5.js} +28 -23
  134. package/dist/properties-BFUNLRDN.js +4 -0
  135. package/dist/protobuf-B9QJQPPv.js +4 -0
  136. package/dist/{pug-tjbzJCFk.js → pug-B_rby2yb.js} +1 -1
  137. package/dist/pug-DzvWpaMC.js +4 -0
  138. package/dist/puppet-B_K-n_xK.js +4 -0
  139. package/dist/python-CAiFcaA2.js +4 -0
  140. package/dist/q-cLeFIBLK.js +4 -0
  141. package/dist/{quadrantDiagram-AYHSOK5B-rXwjifrj.js → quadrantDiagram-AYHSOK5B-B9kVk1ny.js} +3 -3
  142. package/dist/r-04Y-Wco3.js +4 -0
  143. package/dist/{radar-ZZBFDIW7-BmCWDffL.js → radar-ZZBFDIW7-XAmXSa8s.js} +1 -1
  144. package/dist/{react-vega-B-rkEqtS.js → react-vega-Cavbrg4l.js} +1 -1
  145. package/dist/{react-vega-k9ODWPlI.js → react-vega-Dh6-UKKe.js} +13 -13
  146. package/dist/{requirementDiagram-UZGBJVZJ-DBdrMVbs.js → requirementDiagram-UZGBJVZJ-BxGfGYEx.js} +13 -13
  147. package/dist/{reveal-component-FVQZK4p1.js → reveal-component-DV-3dusq.js} +3 -3
  148. package/dist/rpm-FUdrIia9.js +5 -0
  149. package/dist/ruby-DMjFXuEW.js +4 -0
  150. package/dist/{sankeyDiagram-TZEHDZUN-CxmzalGv.js → sankeyDiagram-TZEHDZUN-D09PBJ-n.js} +4 -4
  151. package/dist/sas-DzHZxjXK.js +4 -0
  152. package/dist/scheme-DxHd_Rb9.js +4 -0
  153. package/dist/semaphore-CNDGTzkX.js +46 -0
  154. package/dist/{sequenceDiagram-WL72ISMW-CVCDsJ9h.js → sequenceDiagram-WL72ISMW-t_Dpemj0.js} +7 -7
  155. package/dist/shell-C8Kwypgf.js +4 -0
  156. package/dist/sieve-DdyqOKXZ.js +4 -0
  157. package/dist/smalltalk-pB7X1D9y.js +4 -0
  158. package/dist/sparql-NhBO6oOa.js +4 -0
  159. package/dist/{src-BY0BGg6V.js → src-Bf2iLOlr.js} +1 -1
  160. package/dist/{stateDiagram-FKZM4ZOC-D_2djEhW.js → stateDiagram-FKZM4ZOC-B18gTP_j.js} +16 -16
  161. package/dist/stateDiagram-v2-4FDKWEC3-B6e_t14A.js +29 -0
  162. package/dist/{step-DGAGWg3y.js → step-CWipAYTY.js} +1 -1
  163. package/dist/style.css +1 -1
  164. package/dist/stylus-SfWSnzPv.js +4 -0
  165. package/dist/swift-jRPdq2zR.js +4 -0
  166. package/dist/tcl-_hpTHGX3.js +4 -0
  167. package/dist/textile-C9h8slqH.js +4 -0
  168. package/dist/{time-CMdrp3hw.js → time-C1SGcFMH.js} +2 -2
  169. package/dist/{timeline-definition-IT6M3QCI-E4NzxCs3.js → timeline-definition-IT6M3QCI-DJnh1ks5.js} +3 -3
  170. package/dist/toml-DWvtinD4.js +4 -0
  171. package/dist/{treemap-GDKQZRPO-CoKHPxa7.js → treemap-GDKQZRPO-Du95DV6u.js} +1 -1
  172. package/dist/troff-Dwo_A0y7.js +4 -0
  173. package/dist/ttcn-V--CPFKq.js +4 -0
  174. package/dist/ttcn-cfg-CPSMchTG.js +4 -0
  175. package/dist/turtle-B4rPGBWu.js +4 -0
  176. package/dist/vb-DaMBBd4j.js +4 -0
  177. package/dist/vbscript-BMJQqcE2.js +4 -0
  178. package/dist/{vega-component-CC8TqWWV.js → vega-component-C2BYPkfd.js} +16 -14
  179. package/dist/velocity-CGq2QRq2.js +4 -0
  180. package/dist/verilog-CUNo8F5u.js +4 -0
  181. package/dist/vhdl-CCzA0msW.js +4 -0
  182. package/dist/webidl-CqIMDIBL.js +4 -0
  183. package/dist/xquery-XC5Kbr-1.js +4 -0
  184. package/dist/{xychartDiagram-PRI3JC2R-CuxTvjw5.js → xychartDiagram-PRI3JC2R-Dk2d_bX0.js} +10 -10
  185. package/dist/yacas-CGOv7Dzy.js +4 -0
  186. package/dist/z80-CXhVmi-f.js +4 -0
  187. package/package.json +1 -1
  188. package/src/components/data-table/TableTopBar.tsx +5 -1
  189. package/src/components/data-table/data-table.tsx +5 -0
  190. package/src/components/data-table/download-policy/atoms.ts +10 -0
  191. package/src/components/data-table/export-actions.tsx +31 -4
  192. package/src/components/editor/file-tree/requesting-tree.tsx +27 -25
  193. package/src/components/editor/file-tree/upload.tsx +23 -24
  194. package/src/core/codemirror/markdown/__tests__/commands.test.ts +3 -3
  195. package/src/core/codemirror/markdown/commands.ts +1 -2
  196. package/src/core/network/requests-network.ts +21 -3
  197. package/src/core/network/types.ts +12 -1
  198. package/src/core/wasm/bridge.ts +14 -1
  199. package/src/plugins/core/__test__/sanitize.test.ts +8 -0
  200. package/src/plugins/impl/DataTablePlugin.tsx +12 -0
  201. package/src/plugins/impl/TabsPlugin.tsx +35 -7
  202. package/src/plugins/impl/__tests__/TabsPlugin.test.tsx +154 -0
  203. package/src/plugins/impl/data-frames/DataFramePlugin.tsx +6 -0
  204. package/src/plugins/impl/vega/resolve-data.ts +8 -1
  205. package/src/plugins/layout/__test__/MermaidPlugin.test.ts +50 -0
  206. package/src/plugins/layout/mermaid/MermaidPlugin.tsx +11 -1
  207. package/src/plugins/layout/mermaid/mermaid.tsx +7 -3
  208. package/src/utils/__tests__/semaphore.test.ts +218 -0
  209. package/src/utils/fileToBase64.ts +8 -7
  210. package/src/utils/semaphore.ts +88 -0
  211. package/dist/apl-BKoVld9y.js +0 -4
  212. package/dist/asciiarmor-DQrKIjoo.js +0 -4
  213. package/dist/asn1-BZvnj0dq.js +0 -4
  214. package/dist/brainfuck-D558nlUv.js +0 -4
  215. package/dist/classDiagram-2ON5EDUG-CBHMR6ZU.js +0 -30
  216. package/dist/classDiagram-v2-WZHVMYZB-BsUtUGM_.js +0 -30
  217. package/dist/clojure-Cq8mTSrE.js +0 -4
  218. package/dist/cmake-D8HCovWK.js +0 -4
  219. package/dist/cobol-UolN-9iU.js +0 -4
  220. package/dist/coffeescript-VdNuWrt5.js +0 -4
  221. package/dist/commonlisp-ALX7fpDc.js +0 -4
  222. package/dist/crystal-PbyO9Q_s.js +0 -4
  223. package/dist/css-DFklJkr_.js +0 -4
  224. package/dist/cypher-BifNeYlv.js +0 -4
  225. package/dist/d-BA-JP4PJ.js +0 -4
  226. package/dist/diff-CtkDpav4.js +0 -4
  227. package/dist/dist-BuBwsFva.js +0 -5
  228. package/dist/dist-BzmEQ9u7.js +0 -5
  229. package/dist/dist-Cih01ssx.js +0 -5
  230. package/dist/dist-CqfONiY9.js +0 -5
  231. package/dist/dist-D0iD0Fi9.js +0 -5
  232. package/dist/dist-DtNLXm8d.js +0 -5
  233. package/dist/dtd-DW3_UFEG.js +0 -4
  234. package/dist/dylan-pDhodO2N.js +0 -4
  235. package/dist/ecl-BJT8-YD7.js +0 -4
  236. package/dist/eiffel-Dmns-9vS.js +0 -4
  237. package/dist/elm-Da4sO4Bz.js +0 -4
  238. package/dist/erlang-C-zBsDi7.js +0 -4
  239. package/dist/factor-4xPWlWB5.js +0 -4
  240. package/dist/forth-l-c75zSd.js +0 -4
  241. package/dist/fortran-DIujSODW.js +0 -4
  242. package/dist/gas-CXnG5g_b.js +0 -4
  243. package/dist/gherkin-VPeqd4-X.js +0 -4
  244. package/dist/groovy-CphhZQgg.js +0 -4
  245. package/dist/haskell-CCvlS5Iq.js +0 -4
  246. package/dist/haxe-C_bi66fP.js +0 -5
  247. package/dist/idl-1DcP4Dm8.js +0 -4
  248. package/dist/javascript-DUIGhBvO.js +0 -4
  249. package/dist/julia-Cs2G4PQi.js +0 -4
  250. package/dist/livescript-DMtVFaAN.js +0 -4
  251. package/dist/lua-BAoLtdJg.js +0 -4
  252. package/dist/mathematica-C_NoFtbo.js +0 -4
  253. package/dist/mbox-DcFJFYrH.js +0 -4
  254. package/dist/mirc-71dccf_u.js +0 -4
  255. package/dist/mllike-CWcOFVDq.js +0 -6
  256. package/dist/modelica-Ape2VXxx.js +0 -4
  257. package/dist/mscgen-Cc6TwbSN.js +0 -6
  258. package/dist/mumps-h-ZbdkJ9.js +0 -4
  259. package/dist/nsis-C0p3m7JW.js +0 -4
  260. package/dist/ntriples-c9lEeT5w.js +0 -4
  261. package/dist/octave-DzEgB_74.js +0 -4
  262. package/dist/oz-CAxvHkyQ.js +0 -4
  263. package/dist/pascal-BJzu1sgP.js +0 -4
  264. package/dist/perl--IrOzZ2Z.js +0 -4
  265. package/dist/pig-CiBKKNhC.js +0 -4
  266. package/dist/powershell-KY0j6Qop.js +0 -4
  267. package/dist/properties-BW8q3ziV.js +0 -4
  268. package/dist/protobuf-BGaeuTGV.js +0 -4
  269. package/dist/pug-DjOKK-4J.js +0 -4
  270. package/dist/puppet-DWm2o6zX.js +0 -4
  271. package/dist/python-Bp2gezZy.js +0 -4
  272. package/dist/q-DljPshos.js +0 -4
  273. package/dist/r-BajPMnEu.js +0 -4
  274. package/dist/rpm-BKx-ZZ62.js +0 -5
  275. package/dist/ruby-DJq_HNKc.js +0 -4
  276. package/dist/sas-WANvpcOU.js +0 -4
  277. package/dist/scheme-CliBbhGF.js +0 -4
  278. package/dist/shell-BwhrNUvM.js +0 -4
  279. package/dist/sieve-BIVePvMp.js +0 -4
  280. package/dist/smalltalk-D6G48JmY.js +0 -4
  281. package/dist/sparql-jjc3BmEP.js +0 -4
  282. package/dist/stateDiagram-v2-4FDKWEC3-Cv9Av10H.js +0 -29
  283. package/dist/stylus-WPBPQ4PE.js +0 -4
  284. package/dist/swift-O1Qy6iCm.js +0 -4
  285. package/dist/tcl-BAFdhvsi.js +0 -4
  286. package/dist/textile-DFuzhNLG.js +0 -4
  287. package/dist/toml-DRSTeely.js +0 -4
  288. package/dist/troff-B_ZjwBW0.js +0 -4
  289. package/dist/ttcn-CAyiB3ic.js +0 -4
  290. package/dist/ttcn-cfg-BS5_BGBJ.js +0 -4
  291. package/dist/turtle-CUBEDy3E.js +0 -4
  292. package/dist/vb-DY9S6-U2.js +0 -4
  293. package/dist/vbscript-gaHC39Jq.js +0 -4
  294. package/dist/velocity-TfCOtJZ_.js +0 -4
  295. package/dist/verilog-c2JOX8mv.js +0 -4
  296. package/dist/vhdl-dHBirRiO.js +0 -4
  297. package/dist/webidl-Bauj-i07.js +0 -4
  298. package/dist/xquery-CtaEAOt8.js +0 -4
  299. package/dist/yacas-BZ85agQP.js +0 -4
  300. package/dist/z80-hCgR-L4U.js +0 -4
  301. /package/dist/{ImageComparisonComponent-DaocPIse.js → ImageComparisonComponent-CNHIsPDj.js} +0 -0
  302. /package/dist/{Plot-PIeIvFnD.js → Plot-4wn-lMVn.js} +0 -0
  303. /package/dist/{apl-Dt8GMXYg.js → apl-BCgCq9iM.js} +0 -0
  304. /package/dist/{array-B-MVxRIF.js → array-tvvEqPy7.js} +0 -0
  305. /package/dist/{asciiarmor-CitDQ85h.js → asciiarmor-BtqU-KJQ.js} +0 -0
  306. /package/dist/{asn1-abrf9SMK.js → asn1-Dmb-dTMx.js} +0 -0
  307. /package/dist/{asterisk-BUZwqih-.js → asterisk-DaVJJDnV.js} +0 -0
  308. /package/dist/{brainfuck-BL-Boof0.js → brainfuck-C1HoZKlE.js} +0 -0
  309. /package/dist/{chunk-4F5CHEZ2-C6tO9vjs.js → chunk-4F5CHEZ2-BZq7Kom7.js} +0 -0
  310. /package/dist/{chunk-B2363JML-Ds8wZXyP.js → chunk-B2363JML-D9-XOau1.js} +0 -0
  311. /package/dist/{chunk-DR5Q36YT-CP69aZS_.js → chunk-DR5Q36YT-BflwErH1.js} +0 -0
  312. /package/dist/{chunk-FRFDVMJY-BgQv1HBE.js → chunk-FRFDVMJY-BSBUAX7r.js} +0 -0
  313. /package/dist/{chunk-PL6DKKU2-DHfTUHy8.js → chunk-PL6DKKU2-B0MTXvyc.js} +0 -0
  314. /package/dist/{chunk-SJTYNZTY-Diciw4sx.js → chunk-SJTYNZTY-CEG4F0pB.js} +0 -0
  315. /package/dist/{chunk-TQ3KTPDO-CQfP9npd.js → chunk-TQ3KTPDO-DiCtqVSi.js} +0 -0
  316. /package/dist/{chunk-UMXZTB3W-MSKeGL7W.js → chunk-UMXZTB3W-97iS1iEl.js} +0 -0
  317. /package/dist/{click-outside-container-BZgN7xS_.js → click-outside-container-BDd67_1U.js} +0 -0
  318. /package/dist/{clike-RWg7anhx.js → clike-CdT0yHjt.js} +0 -0
  319. /package/dist/{clojure-DaojKHow.js → clojure-CdyrCpUv.js} +0 -0
  320. /package/dist/{cmake-DN-_v0XE.js → cmake-BFlPxym7.js} +0 -0
  321. /package/dist/{cobol-C3VpMyux.js → cobol-CcJXewp8.js} +0 -0
  322. /package/dist/{coffeescript-DIkz3Tbt.js → coffeescript-DnKuIKRo.js} +0 -0
  323. /package/dist/{colors-Cn2p_FA3.js → colors-CQAOa8cK.js} +0 -0
  324. /package/dist/{common-keywords-hbLeU7VU.js → common-keywords-FBrXPTcz.js} +0 -0
  325. /package/dist/{commonlisp-CB1boOiP.js → commonlisp-B-kok83Z.js} +0 -0
  326. /package/dist/{crystal-DI2oCml6.js → crystal-FYRYjI1I.js} +0 -0
  327. /package/dist/{css-BdEVwQDV.js → css-B45lc2V3.js} +0 -0
  328. /package/dist/{cypher-BNHToqxU.js → cypher-DZMLyVY_.js} +0 -0
  329. /package/dist/{cytoscape.esm-WbbDoCfu.js → cytoscape.esm-ayF70frT.js} +0 -0
  330. /package/dist/{d-D7we7I1b.js → d-x-VVT4o9.js} +0 -0
  331. /package/dist/{diff-Cia6fzjN.js → diff-Dxe2mpXk.js} +0 -0
  332. /package/dist/{dist-BK-3fF4P.js → dist-B4LJpMEg.js} +0 -0
  333. /package/dist/{dist-CxdUraQr.js → dist-B507mf_I.js} +0 -0
  334. /package/dist/{dist-C89sHDXk.js → dist-BGdYVvOu.js} +0 -0
  335. /package/dist/{dist-DquyVv5H.js → dist-BNyrZfqT.js} +0 -0
  336. /package/dist/{dist-Zn0KNbo9.js → dist-Bc5pmZIw.js} +0 -0
  337. /package/dist/{dist-C-J0pt5p.js → dist-BvCfQQQE.js} +0 -0
  338. /package/dist/{dist-D9r7Cmw7.js → dist-C2ej4eOH.js} +0 -0
  339. /package/dist/{dist-HVuryI1a.js → dist-C34oIrQ9.js} +0 -0
  340. /package/dist/{dist-CGLzXdrt.js → dist-CDFZi-QD.js} +0 -0
  341. /package/dist/{dist-C9fmTOin.js → dist-CYEylvZA.js} +0 -0
  342. /package/dist/{dist-DadjmS-4.js → dist-DJ6zJQZ4.js} +0 -0
  343. /package/dist/{dist-CtCY55Jf.js → dist-Dh3wkoyH.js} +0 -0
  344. /package/dist/{dist-C474qFoq.js → dist-Dhk6FMb0.js} +0 -0
  345. /package/dist/{dist-DZjQ_MBo.js → dist-KnujRhFL.js} +0 -0
  346. /package/dist/{dist-CinA9Enb.js → dist-WdPUFc56.js} +0 -0
  347. /package/dist/{dist-DBLeRrPp.js → dist-t_qL7eB8.js} +0 -0
  348. /package/dist/{dist-CyFFzJTb.js → dist-usPCDYx8.js} +0 -0
  349. /package/dist/{dtd-H4Hubdwp.js → dtd-C9VM_Wfu.js} +0 -0
  350. /package/dist/{duckdb-keywords-CZ_ZTscu.js → duckdb-keywords-CvJhR_Yd.js} +0 -0
  351. /package/dist/{dylan-fVO6rnq3.js → dylan-DTSnEIFO.js} +0 -0
  352. /package/dist/{ebnf-WEXPLEWb.js → ebnf-2D4Ctp3y.js} +0 -0
  353. /package/dist/{ecl-B94VPjNR.js → ecl-N04ptnRK.js} +0 -0
  354. /package/dist/{eiffel-C_R6TusS.js → eiffel-Dd8rpqr_.js} +0 -0
  355. /package/dist/{elm-DzCHbO2g.js → elm-GT2E866W.js} +0 -0
  356. /package/dist/{erlang-BGNkx6JU.js → erlang-Cf0Bp5pY.js} +0 -0
  357. /package/dist/{esm-Bb_hbWan.js → esm-BaaaPNGl.js} +0 -0
  358. /package/dist/{fcl-B_Gv5Jfx.js → fcl-Ccj8Z5Xd.js} +0 -0
  359. /package/dist/{forth-Bybw0cJ7.js → forth-wd_XzGTg.js} +0 -0
  360. /package/dist/{fortran-C6PoCLkI.js → fortran-DcwUTZFe.js} +0 -0
  361. /package/dist/{gas-BBlhenj4.js → gas-DeALIER3.js} +0 -0
  362. /package/dist/{gherkin-NXtNG85X.js → gherkin-CKTqaJNX.js} +0 -0
  363. /package/dist/{groovy-BoFYK9xM.js → groovy-Bwdp_d8D.js} +0 -0
  364. /package/dist/{haskell-BtBdvQ1n.js → haskell-DCdCcPLK.js} +0 -0
  365. /package/dist/{haxe-D--o6dr0.js → haxe-DAyktQWJ.js} +0 -0
  366. /package/dist/{http-Dc2fv19V.js → http-_DVAYWoR.js} +0 -0
  367. /package/dist/{idl-AqTq5l7e.js → idl-CBuZiRYu.js} +0 -0
  368. /package/dist/{init-D-g0ONX1.js → init-uv0kkh4g.js} +0 -0
  369. /package/dist/{javascript-DvwNVye9.js → javascript-DzigE11c.js} +0 -0
  370. /package/dist/{julia-DoKiagZC.js → julia-PwfB-0Cm.js} +0 -0
  371. /package/dist/{katex-B7pMJpE0.js → katex-C_XRmjAP.js} +0 -0
  372. /package/dist/{livescript-DxBZMiWB.js → livescript-BJLz1EbT.js} +0 -0
  373. /package/dist/{lua-DmS_0NTu.js → lua-ZC-XC2jf.js} +0 -0
  374. /package/dist/{math-BYK36kWZ.js → math-DFcdCCU8.js} +0 -0
  375. /package/dist/{mathematica-ChlDFeIC.js → mathematica-DCYMx6qB.js} +0 -0
  376. /package/dist/{mbox-CguZuODr.js → mbox-OxMK_9XI.js} +0 -0
  377. /package/dist/{mirc-CFtY8dqz.js → mirc-nJVyhA0H.js} +0 -0
  378. /package/dist/{mllike-C0EJrEOk.js → mllike-DRO89bsU.js} +0 -0
  379. /package/dist/{modelica-C1kO1nfS.js → modelica-Don3E6ZD.js} +0 -0
  380. /package/dist/{mscgen-DEYdr7AY.js → mscgen-DJfqD3bN.js} +0 -0
  381. /package/dist/{mumps-B3NVJs2V.js → mumps-SjGTvDYL.js} +0 -0
  382. /package/dist/{nginx-ComVAAGN.js → nginx-DasThI7R.js} +0 -0
  383. /package/dist/{node-sql-parser-DNGGJ-Rw.js → node-sql-parser-B8nBD36q.js} +0 -0
  384. /package/dist/{ntriples-DHol9X9H.js → ntriples-CNBKRl3I.js} +0 -0
  385. /package/dist/{octave-CYGz0bfo.js → octave-DdeVHNlx.js} +0 -0
  386. /package/dist/{oz-kPxb2ni5.js → oz-CcKSoNvN.js} +0 -0
  387. /package/dist/{pascal-bZ0yrJKy.js → pascal-6leftwNj.js} +0 -0
  388. /package/dist/{path-Du6n3sOU.js → path-BGaWgPKg.js} +0 -0
  389. /package/dist/{perl-z4hvqyqz.js → perl-BhJIwWzN.js} +0 -0
  390. /package/dist/{pig-DZO8QDF9.js → pig-r-xDHqRf.js} +0 -0
  391. /package/dist/{powershell-BSuaDQEC.js → powershell-D-BELeNi.js} +0 -0
  392. /package/dist/{properties-BXhGLlIx.js → properties-CnuDhbll.js} +0 -0
  393. /package/dist/{protobuf-DM6iybWV.js → protobuf-CO8RBhvX.js} +0 -0
  394. /package/dist/{puppet-Bn05sQT8.js → puppet-NmXHjLy8.js} +0 -0
  395. /package/dist/{python-Cvnhm0g7.js → python-DAQXi720.js} +0 -0
  396. /package/dist/{q-B9V8hzex.js → q-DlikXfV0.js} +0 -0
  397. /package/dist/{r-Cf0gFqmq.js → r-CuohilwT.js} +0 -0
  398. /package/dist/{rpm-D-LMkTV1.js → rpm-0Pjwp0Pb.js} +0 -0
  399. /package/dist/{ruby-DeuPikpK.js → ruby-Dq8NJTDG.js} +0 -0
  400. /package/dist/{sas-C9tjgAo9.js → sas-CuwonyVP.js} +0 -0
  401. /package/dist/{scheme-D1_bUF0G.js → scheme-CYU-RRIf.js} +0 -0
  402. /package/dist/{shell-CJBmnks3.js → shell-COPmX2qE.js} +0 -0
  403. /package/dist/{sieve-1fSV75CF.js → sieve-B_3zyLne.js} +0 -0
  404. /package/dist/{simple-mode-B90Wdavj.js → simple-mode-DSBniks8.js} +0 -0
  405. /package/dist/{smalltalk-sZNPD0HO.js → smalltalk-DRft7iPv.js} +0 -0
  406. /package/dist/{solr-DTkyqJ-Z.js → solr-RZ9uTl59.js} +0 -0
  407. /package/dist/{sparql-oHc1nm77.js → sparql-CN6qj55H.js} +0 -0
  408. /package/dist/{spreadsheet-CER0raqY.js → spreadsheet-BNNUNXA2.js} +0 -0
  409. /package/dist/{sql-ByOoEONQ.js → sql-B4x8IkwU.js} +0 -0
  410. /package/dist/{stylus-KzkX6zRB.js → stylus-Bn_ZjOQ3.js} +0 -0
  411. /package/dist/{swift-DqVxZvKo.js → swift-BLUJhMbz.js} +0 -0
  412. /package/dist/{swiper-component-KkEVUDd3.js → swiper-component-BHs0PWwp.js} +0 -0
  413. /package/dist/{tcl-BtWSwXfA.js → tcl-C86fxecl.js} +0 -0
  414. /package/dist/{textile-CWDbn9Ql.js → textile-DmHh2rsK.js} +0 -0
  415. /package/dist/{tiddlywiki-Cr9xyOY1.js → tiddlywiki-DI0mF2WJ.js} +0 -0
  416. /package/dist/{tiki-D5JONyfZ.js → tiki-2HU6XLLn.js} +0 -0
  417. /package/dist/{timer-D7JVdX9U.js → timer-YZl28NYN.js} +0 -0
  418. /package/dist/{toml-BfehlgmL.js → toml-GWANRNAD.js} +0 -0
  419. /package/dist/{treemap-qFGzn7xk.js → treemap-D-ka1hvx.js} +0 -0
  420. /package/dist/{troff-BZBk6AAu.js → troff-BHTsomIy.js} +0 -0
  421. /package/dist/{ttcn-DVwvXg0_.js → ttcn-DQuhn5Mn.js} +0 -0
  422. /package/dist/{ttcn-cfg-gjbVLf1L.js → ttcn-cfg-HjFYtdB-.js} +0 -0
  423. /package/dist/{turtle-CgxKXorV.js → turtle-nCay33Nv.js} +0 -0
  424. /package/dist/{vb-B9kSwTdM.js → vb-BG-XlqqJ.js} +0 -0
  425. /package/dist/{vbscript-DrUKSCdb.js → vbscript-B6vyW0-D.js} +0 -0
  426. /package/dist/{velocity-AlMYTnMy.js → velocity-CWegueqO.js} +0 -0
  427. /package/dist/{verilog-DLUaM05j.js → verilog-CzSQm4cG.js} +0 -0
  428. /package/dist/{vhdl-DUJOtSmO.js → vhdl-DqnNVL7r.js} +0 -0
  429. /package/dist/{webidl-CQp4aHk_.js → webidl-DXEUpDWH.js} +0 -0
  430. /package/dist/{xquery-IxkjlwOD.js → xquery-Ba_NB5bD.js} +0 -0
  431. /package/dist/{yacas-Bnctn5w8.js → yacas-HKQU6hyk.js} +0 -0
  432. /package/dist/{z80-DrFwhx53.js → z80-CXkHXLdj.js} +0 -0
@@ -6,7 +6,7 @@ import { _ as Logger, c as Objects, g as cn, h as Events, m as useComposedRefs,
6
6
  import { t as require_react } from "./react-DA-nE2FX.js";
7
7
  import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
8
8
  import { n as Copy, r as toast, t as copyToClipboard } from "./copy-TGGAUEWp.js";
9
- import { $ as useCellActions, $t as getTracebackInfo, A as ChevronRightIcon, An as Minus, Bn as Braces, C as AccordionContent, En as Trash2, Ft as jotaiJsonStorage, Hn as import_lib, I as base64ToUint8Array, Jt as useRequestClient, Kt as getRequestClient, Lt as PluralWord, M as PinLeftIcon, Mt as useChromeActions, N as PinRightIcon, O as CheckIcon, Pn as FileText, Pt as adaptForLocalStorage, Qt as extractAllTracebackInfo, R as extractBase64FromDataURL, Rn as CircleX, S as Accordion, St as Checkbox, T as AccordionTrigger, Tn as Wrench, V as renderHTML, Vn as esm_default, Y as notebookAtom, Zt as elementContainsMarimoCellFile, _n as atomWithStorage, _t as getCellDomProps, at as AnsiUp, bn as Close$1, c as Popover, cn as SCRATCH_CELL_ID, ct as kioskModeAtom, d as PopoverTrigger, dt as outputIsLoading, et as useCellIds, g as getDatasourceContext, gt as DATA_CELL_ID, hn as jsonToTSV, ht as sanitizeHtml, j as DotFilledIcon, jn as LoaderCircle, kn as NotebookPen, kt as goToCellLine, l as PopoverClose$1, lt as useInstallAllowed, m as useExpandedOutput, mn as jsonToMarkdown, n as MarkdownRenderer, nn as filenameAtom, on as CellOutputId, pn as jsonParseWithSpecialChar, q as getCellEditorView, s as Spinner, sn as HTMLCellId, t as toPng, tt as useCellNames, u as PopoverContent, ut as viewStateAtom, vt as displayCellName, w as AccordionItem, z as isDataURLString, zt as DATA_TYPE_ICON, __tla as __tla_0 } from "./html-to-image-hMMPiNe_.js";
9
+ import { $ as useCellActions, $t as getTracebackInfo, A as ChevronRightIcon, An as Minus, Bn as Braces, C as AccordionContent, En as Trash2, Ft as jotaiJsonStorage, Hn as import_lib, I as base64ToUint8Array, Jt as useRequestClient, Kt as getRequestClient, Lt as PluralWord, M as PinLeftIcon, Mt as useChromeActions, N as PinRightIcon, O as CheckIcon, Pn as FileText, Pt as adaptForLocalStorage, Qt as extractAllTracebackInfo, R as extractBase64FromDataURL, Rn as CircleX, S as Accordion, St as Checkbox, T as AccordionTrigger, Tn as Wrench, V as renderHTML, Vn as esm_default, Y as notebookAtom, Zt as elementContainsMarimoCellFile, _n as atomWithStorage, _t as getCellDomProps, at as AnsiUp, bn as Close$1, c as Popover, cn as SCRATCH_CELL_ID, ct as kioskModeAtom, d as PopoverTrigger, dt as outputIsLoading, et as useCellIds, g as getDatasourceContext, gt as DATA_CELL_ID, hn as jsonToTSV, ht as sanitizeHtml, j as DotFilledIcon, jn as LoaderCircle, kn as NotebookPen, kt as goToCellLine, l as PopoverClose$1, lt as useInstallAllowed, m as useExpandedOutput, mn as jsonToMarkdown, n as MarkdownRenderer, nn as filenameAtom, on as CellOutputId, pn as jsonParseWithSpecialChar, q as getCellEditorView, s as Spinner, sn as HTMLCellId, t as toPng, tt as useCellNames, u as PopoverContent, ut as viewStateAtom, vt as displayCellName, w as AccordionItem, z as isDataURLString, zt as DATA_TYPE_ICON, __tla as __tla_0 } from "./html-to-image-BwZL1Pkk.js";
10
10
  import { o as useSize, u as createLucideIcon } from "./dist-ESg7xyoD.js";
11
11
  import { i as createReducerAndAtoms, r as Badge } from "./useLifecycle-CjMjllqy.js";
12
12
  import { a as ListFilter, i as Table$1, o as ChartPie, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-B3mCQMP3.js";
@@ -7591,33 +7591,33 @@ try {
7591
7591
  }, f = import_react.createContext(void 0), h = () => import_react.useContext(f) || d, _ = {}, v = {};
7592
7592
  function y(e2) {
7593
7593
  var _a2, _b, _c, _d;
7594
- let { children: d2, theme: h2, modeStorageKey: y2 = i, colorSchemeStorageKey: S2 = a, disableTransitionOnChange: w2 = o, storageManager: E, storageWindow: O = typeof window > "u" ? void 0 : window, documentNode: A = typeof document > "u" ? void 0 : document, colorSchemeNode: M = typeof document > "u" ? void 0 : document.documentElement, disableNestedContext: I = false, disableStyleSheetGeneration: z = false, defaultMode: U = "system", noSsr: K } = e2, q = import_react.useRef(false), J = useTheme$2(), Q = import_react.useContext(f), TN = !!Q && !I, $ = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
7594
+ let { children: d2, theme: h2, modeStorageKey: y2 = i, colorSchemeStorageKey: S2 = a, disableTransitionOnChange: w2 = o, storageManager: E, storageWindow: O = typeof window > "u" ? void 0 : window, documentNode: A = typeof document > "u" ? void 0 : document, colorSchemeNode: M = typeof document > "u" ? void 0 : document.documentElement, disableNestedContext: I = false, disableStyleSheetGeneration: z = false, defaultMode: U = "system", noSsr: K } = e2, q = import_react.useRef(false), J = useTheme$2(), Q = import_react.useContext(f), EN = !!Q && !I, $ = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
7595
7595
  h2
7596
- ]), EN = $[t], DN = EN || $, { colorSchemes: ON = _, components: kN = v, cssVarPrefix: AN } = DN, jN = Object.keys(ON).filter((e3) => !!ON[e3]).join(","), MN = import_react.useMemo(() => jN.split(","), [
7597
- jN
7598
- ]), NN = typeof s == "string" ? s : s.light, PN = typeof s == "string" ? s : s.dark, { mode: FN, setMode: IN, systemMode: LN, lightColorScheme: RN, darkColorScheme: zN, colorScheme: BN, setColorScheme: VN } = useCurrentColorScheme({
7599
- supportedColorSchemes: MN,
7600
- defaultLightColorScheme: NN,
7601
- defaultDarkColorScheme: PN,
7596
+ ]), DN = $[t], ON = DN || $, { colorSchemes: kN = _, components: AN = v, cssVarPrefix: jN } = ON, MN = Object.keys(kN).filter((e3) => !!kN[e3]).join(","), NN = import_react.useMemo(() => MN.split(","), [
7597
+ MN
7598
+ ]), PN = typeof s == "string" ? s : s.light, FN = typeof s == "string" ? s : s.dark, { mode: IN, setMode: LN, systemMode: RN, lightColorScheme: zN, darkColorScheme: BN, colorScheme: VN, setColorScheme: HN } = useCurrentColorScheme({
7599
+ supportedColorSchemes: NN,
7600
+ defaultLightColorScheme: PN,
7601
+ defaultDarkColorScheme: FN,
7602
7602
  modeStorageKey: y2,
7603
7603
  colorSchemeStorageKey: S2,
7604
- defaultMode: ON[NN] && ON[PN] ? U : ((_b = (_a2 = ON[DN.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = DN.palette) == null ? void 0 : _c.mode),
7604
+ defaultMode: kN[PN] && kN[FN] ? U : ((_b = (_a2 = kN[ON.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = ON.palette) == null ? void 0 : _c.mode),
7605
7605
  storageManager: E,
7606
7606
  storageWindow: O,
7607
7607
  noSsr: K
7608
- }), HN = FN, UN = BN;
7609
- TN && (HN = Q.mode, UN = Q.colorScheme);
7610
- let WN = import_react.useMemo(() => {
7608
+ }), UN = IN, WN = VN;
7609
+ EN && (UN = Q.mode, WN = Q.colorScheme);
7610
+ let GN = import_react.useMemo(() => {
7611
7611
  var _a3;
7612
- let e3 = UN || DN.defaultColorScheme, t2 = ((_a3 = DN.generateThemeVars) == null ? void 0 : _a3.call(DN)) || DN.vars, n2 = {
7613
- ...DN,
7614
- components: kN,
7615
- colorSchemes: ON,
7616
- cssVarPrefix: AN,
7612
+ let e3 = WN || ON.defaultColorScheme, t2 = ((_a3 = ON.generateThemeVars) == null ? void 0 : _a3.call(ON)) || ON.vars, n2 = {
7613
+ ...ON,
7614
+ components: AN,
7615
+ colorSchemes: kN,
7616
+ cssVarPrefix: jN,
7617
7617
  vars: t2
7618
7618
  };
7619
7619
  if (typeof n2.generateSpacing == "function" && (n2.spacing = n2.generateSpacing()), e3) {
7620
- let t3 = ON[e3];
7620
+ let t3 = kN[e3];
7621
7621
  t3 && typeof t3 == "object" && Object.keys(t3).forEach((e4) => {
7622
7622
  t3[e4] && typeof t3[e4] == "object" ? n2[e4] = {
7623
7623
  ...n2[e4],
@@ -7627,31 +7627,31 @@ try {
7627
7627
  }
7628
7628
  return c ? c(n2) : n2;
7629
7629
  }, [
7630
- DN,
7631
- UN,
7632
- kN,
7633
7630
  ON,
7634
- AN
7635
- ]), GN = DN.colorSchemeSelector;
7631
+ WN,
7632
+ AN,
7633
+ kN,
7634
+ jN
7635
+ ]), KN = ON.colorSchemeSelector;
7636
7636
  useEnhancedEffect_default(() => {
7637
- if (UN && M && GN && GN !== "media") {
7638
- let e3 = GN, t2 = GN;
7639
- if (e3 === "class" && (t2 = ".%s"), e3 === "data" && (t2 = "[data-%s]"), (e3 == null ? void 0 : e3.startsWith("data-")) && !e3.includes("%s") && (t2 = `[${e3}="%s"]`), t2.startsWith(".")) M.classList.remove(...MN.map((e4) => t2.substring(1).replace("%s", e4))), M.classList.add(t2.substring(1).replace("%s", UN));
7637
+ if (WN && M && KN && KN !== "media") {
7638
+ let e3 = KN, t2 = KN;
7639
+ if (e3 === "class" && (t2 = ".%s"), e3 === "data" && (t2 = "[data-%s]"), (e3 == null ? void 0 : e3.startsWith("data-")) && !e3.includes("%s") && (t2 = `[${e3}="%s"]`), t2.startsWith(".")) M.classList.remove(...NN.map((e4) => t2.substring(1).replace("%s", e4))), M.classList.add(t2.substring(1).replace("%s", WN));
7640
7640
  else {
7641
- let e4 = t2.replace("%s", UN).match(/\[([^\]]+)\]/);
7641
+ let e4 = t2.replace("%s", WN).match(/\[([^\]]+)\]/);
7642
7642
  if (e4) {
7643
7643
  let [t3, n2] = e4[1].split("=");
7644
- n2 || MN.forEach((e5) => {
7645
- M.removeAttribute(t3.replace(UN, e5));
7644
+ n2 || NN.forEach((e5) => {
7645
+ M.removeAttribute(t3.replace(WN, e5));
7646
7646
  }), M.setAttribute(t3, n2 ? n2.replace(/"|'/g, "") : "");
7647
- } else M.setAttribute(t2, UN);
7647
+ } else M.setAttribute(t2, WN);
7648
7648
  }
7649
7649
  }
7650
7650
  }, [
7651
- UN,
7652
- GN,
7651
+ WN,
7652
+ KN,
7653
7653
  M,
7654
- MN
7654
+ NN
7655
7655
  ]), import_react.useEffect(() => {
7656
7656
  let e3;
7657
7657
  if (w2 && q.current && A) {
@@ -7664,48 +7664,48 @@ try {
7664
7664
  clearTimeout(e3);
7665
7665
  };
7666
7666
  }, [
7667
- UN,
7667
+ WN,
7668
7668
  w2,
7669
7669
  A
7670
7670
  ]), import_react.useEffect(() => (q.current = true, () => {
7671
7671
  q.current = false;
7672
7672
  }), []);
7673
- let KN = import_react.useMemo(() => ({
7674
- allColorSchemes: MN,
7675
- colorScheme: UN,
7676
- darkColorScheme: zN,
7677
- lightColorScheme: RN,
7678
- mode: HN,
7679
- setColorScheme: VN,
7680
- setMode: IN,
7681
- systemMode: LN
7673
+ let qN = import_react.useMemo(() => ({
7674
+ allColorSchemes: NN,
7675
+ colorScheme: WN,
7676
+ darkColorScheme: BN,
7677
+ lightColorScheme: zN,
7678
+ mode: UN,
7679
+ setColorScheme: HN,
7680
+ setMode: LN,
7681
+ systemMode: RN
7682
7682
  }), [
7683
- MN,
7684
- UN,
7683
+ NN,
7684
+ WN,
7685
+ BN,
7685
7686
  zN,
7686
- RN,
7687
+ UN,
7687
7688
  HN,
7688
- VN,
7689
- IN,
7690
7689
  LN,
7691
- WN.colorSchemeSelector
7692
- ]), qN = true;
7693
- (z || DN.cssVariables === false || TN && (J == null ? void 0 : J.cssVarPrefix) === AN) && (qN = false);
7694
- let JN = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
7690
+ RN,
7691
+ GN.colorSchemeSelector
7692
+ ]), JN = true;
7693
+ (z || ON.cssVariables === false || EN && (J == null ? void 0 : J.cssVarPrefix) === jN) && (JN = false);
7694
+ let YN = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
7695
7695
  children: [
7696
7696
  (0, import_jsx_runtime.jsx)(ThemeProvider_default, {
7697
- themeId: EN ? t : void 0,
7698
- theme: WN,
7697
+ themeId: DN ? t : void 0,
7698
+ theme: GN,
7699
7699
  children: d2
7700
7700
  }),
7701
- qN && (0, import_jsx_runtime.jsx)(GlobalStyles$1, {
7702
- styles: ((_d = WN.generateStyleSheets) == null ? void 0 : _d.call(WN)) || []
7701
+ JN && (0, import_jsx_runtime.jsx)(GlobalStyles$1, {
7702
+ styles: ((_d = GN.generateStyleSheets) == null ? void 0 : _d.call(GN)) || []
7703
7703
  })
7704
7704
  ]
7705
7705
  });
7706
- return TN ? JN : (0, import_jsx_runtime.jsx)(f.Provider, {
7707
- value: KN,
7708
- children: JN
7706
+ return EN ? YN : (0, import_jsx_runtime.jsx)(f.Provider, {
7707
+ value: qN,
7708
+ children: YN
7709
7709
  });
7710
7710
  }
7711
7711
  let S = typeof s == "string" ? s : s.light, w = typeof s == "string" ? s : s.dark;
@@ -9205,10 +9205,10 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
9205
9205
  let n = useDefaultProps({
9206
9206
  props: e,
9207
9207
  name: "MuiInputBase"
9208
- }), { "aria-describedby": i, autoComplete: a, autoFocus: o, className: s, color: c, components: d = {}, componentsProps: f = {}, defaultValue: h, disabled: _, disableInjectingGlobalStyles: v, endAdornment: y, error: S, fullWidth: w = false, id: E, inputComponent: O = "input", inputProps: A = {}, inputRef: M, margin: I, maxRows: z, minRows: U, multiline: K = false, name: q, onBlur: J, onChange: Q, onClick: TN, onFocus: $, onKeyDown: EN, onKeyUp: DN, placeholder: ON, readOnly: kN, renderSuffix: AN, rows: jN, size: MN, slotProps: NN = {}, slots: PN = {}, startAdornment: FN, type: IN = "text", value: LN, ...RN } = n, zN = A.value == null ? LN : A.value, { current: BN } = import_react.useRef(zN != null), VN = import_react.useRef(), HN = import_react.useCallback((e2) => {
9209
- }, []), UN = useForkRef_default(VN, M, A.ref, HN), [WN, GN] = import_react.useState(false), KN = useFormControl(), qN = formControlState({
9208
+ }), { "aria-describedby": i, autoComplete: a, autoFocus: o, className: s, color: c, components: d = {}, componentsProps: f = {}, defaultValue: h, disabled: _, disableInjectingGlobalStyles: v, endAdornment: y, error: S, fullWidth: w = false, id: E, inputComponent: O = "input", inputProps: A = {}, inputRef: M, margin: I, maxRows: z, minRows: U, multiline: K = false, name: q, onBlur: J, onChange: Q, onClick: EN, onFocus: $, onKeyDown: DN, onKeyUp: ON, placeholder: kN, readOnly: AN, renderSuffix: jN, rows: MN, size: NN, slotProps: PN = {}, slots: FN = {}, startAdornment: IN, type: LN = "text", value: RN, ...zN } = n, BN = A.value == null ? RN : A.value, { current: VN } = import_react.useRef(BN != null), HN = import_react.useRef(), UN = import_react.useCallback((e2) => {
9209
+ }, []), WN = useForkRef_default(HN, M, A.ref, UN), [GN, KN] = import_react.useState(false), qN = useFormControl(), JN = formControlState({
9210
9210
  props: n,
9211
- muiFormControl: KN,
9211
+ muiFormControl: qN,
9212
9212
  states: [
9213
9213
  "color",
9214
9214
  "disabled",
@@ -9219,145 +9219,145 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
9219
9219
  "filled"
9220
9220
  ]
9221
9221
  });
9222
- qN.focused = KN ? KN.focused : WN, import_react.useEffect(() => {
9223
- !KN && _ && WN && (GN(false), J && J());
9222
+ JN.focused = qN ? qN.focused : GN, import_react.useEffect(() => {
9223
+ !qN && _ && GN && (KN(false), J && J());
9224
9224
  }, [
9225
- KN,
9225
+ qN,
9226
9226
  _,
9227
- WN,
9227
+ GN,
9228
9228
  J
9229
9229
  ]);
9230
- let JN = KN && KN.onFilled, YN = KN && KN.onEmpty, XN = import_react.useCallback((e2) => {
9231
- isFilled(e2) ? JN && JN() : YN && YN();
9230
+ let YN = qN && qN.onFilled, XN = qN && qN.onEmpty, ZN = import_react.useCallback((e2) => {
9231
+ isFilled(e2) ? YN && YN() : XN && XN();
9232
9232
  }, [
9233
- JN,
9234
- YN
9233
+ YN,
9234
+ XN
9235
9235
  ]);
9236
9236
  useEnhancedEffect_default$1(() => {
9237
- BN && XN({
9238
- value: zN
9237
+ VN && ZN({
9238
+ value: BN
9239
9239
  });
9240
9240
  }, [
9241
- zN,
9242
- XN,
9243
- BN
9241
+ BN,
9242
+ ZN,
9243
+ VN
9244
9244
  ]);
9245
- let ZN = (e2) => {
9246
- $ && $(e2), A.onFocus && A.onFocus(e2), KN && KN.onFocus ? KN.onFocus(e2) : GN(true);
9247
- }, QN = (e2) => {
9248
- J && J(e2), A.onBlur && A.onBlur(e2), KN && KN.onBlur ? KN.onBlur(e2) : GN(false);
9249
- }, $N = (e2, ...t2) => {
9250
- if (!BN) {
9251
- let t3 = e2.target || VN.current;
9245
+ let QN = (e2) => {
9246
+ $ && $(e2), A.onFocus && A.onFocus(e2), qN && qN.onFocus ? qN.onFocus(e2) : KN(true);
9247
+ }, $N = (e2) => {
9248
+ J && J(e2), A.onBlur && A.onBlur(e2), qN && qN.onBlur ? qN.onBlur(e2) : KN(false);
9249
+ }, eP = (e2, ...t2) => {
9250
+ if (!VN) {
9251
+ let t3 = e2.target || HN.current;
9252
9252
  if (t3 == null) throw Error(formatMuiErrorMessage(1));
9253
- XN({
9253
+ ZN({
9254
9254
  value: t3.value
9255
9255
  });
9256
9256
  }
9257
9257
  A.onChange && A.onChange(e2, ...t2), Q && Q(e2, ...t2);
9258
9258
  };
9259
9259
  import_react.useEffect(() => {
9260
- XN(VN.current);
9260
+ ZN(HN.current);
9261
9261
  }, []);
9262
- let eP = (e2) => {
9263
- VN.current && e2.currentTarget === e2.target && VN.current.focus(), TN && TN(e2);
9264
- }, tP = O, nP = A;
9265
- K && tP === "input" && (nP = jN ? {
9262
+ let tP = (e2) => {
9263
+ HN.current && e2.currentTarget === e2.target && HN.current.focus(), EN && EN(e2);
9264
+ }, nP = O, rP = A;
9265
+ K && nP === "input" && (rP = MN ? {
9266
9266
  type: void 0,
9267
- minRows: jN,
9268
- maxRows: jN,
9269
- ...nP
9267
+ minRows: MN,
9268
+ maxRows: MN,
9269
+ ...rP
9270
9270
  } : {
9271
9271
  type: void 0,
9272
9272
  maxRows: z,
9273
9273
  minRows: U,
9274
- ...nP
9275
- }, tP = TextareaAutosize_default);
9276
- let rP = (e2) => {
9277
- XN(e2.animationName === "mui-auto-fill-cancel" ? VN.current : {
9274
+ ...rP
9275
+ }, nP = TextareaAutosize_default);
9276
+ let iP = (e2) => {
9277
+ ZN(e2.animationName === "mui-auto-fill-cancel" ? HN.current : {
9278
9278
  value: "x"
9279
9279
  });
9280
9280
  };
9281
9281
  import_react.useEffect(() => {
9282
- KN && KN.setAdornedStart(!!FN);
9282
+ qN && qN.setAdornedStart(!!IN);
9283
9283
  }, [
9284
- KN,
9285
- FN
9284
+ qN,
9285
+ IN
9286
9286
  ]);
9287
- let iP = {
9287
+ let aP = {
9288
9288
  ...n,
9289
- color: qN.color || "primary",
9290
- disabled: qN.disabled,
9289
+ color: JN.color || "primary",
9290
+ disabled: JN.disabled,
9291
9291
  endAdornment: y,
9292
- error: qN.error,
9293
- focused: qN.focused,
9294
- formControl: KN,
9292
+ error: JN.error,
9293
+ focused: JN.focused,
9294
+ formControl: qN,
9295
9295
  fullWidth: w,
9296
- hiddenLabel: qN.hiddenLabel,
9296
+ hiddenLabel: JN.hiddenLabel,
9297
9297
  multiline: K,
9298
- size: qN.size,
9299
- startAdornment: FN,
9300
- type: IN
9301
- }, aP = useUtilityClasses(iP), oP = PN.root || d.Root || InputBaseRoot, sP = NN.root || f.root || {}, cP = PN.input || d.Input || InputBaseInput;
9302
- return nP = {
9303
- ...nP,
9304
- ...NN.input ?? f.input
9298
+ size: JN.size,
9299
+ startAdornment: IN,
9300
+ type: LN
9301
+ }, oP = useUtilityClasses(aP), sP = FN.root || d.Root || InputBaseRoot, cP = PN.root || f.root || {}, lP = FN.input || d.Input || InputBaseInput;
9302
+ return rP = {
9303
+ ...rP,
9304
+ ...PN.input ?? f.input
9305
9305
  }, (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
9306
9306
  children: [
9307
9307
  !v && typeof InputGlobalStyles == "function" && (_InputGlobalStyles || (_InputGlobalStyles = (0, import_jsx_runtime.jsx)(InputGlobalStyles, {}))),
9308
- (0, import_jsx_runtime.jsxs)(oP, {
9309
- ...sP,
9308
+ (0, import_jsx_runtime.jsxs)(sP, {
9309
+ ...cP,
9310
9310
  ref: t,
9311
- onClick: eP,
9312
- ...RN,
9313
- ...!isHostComponent_default(oP) && {
9311
+ onClick: tP,
9312
+ ...zN,
9313
+ ...!isHostComponent_default(sP) && {
9314
9314
  ownerState: {
9315
- ...iP,
9316
- ...sP.ownerState
9315
+ ...aP,
9316
+ ...cP.ownerState
9317
9317
  }
9318
9318
  },
9319
- className: clsx_default(aP.root, sP.className, s, kN && "MuiInputBase-readOnly"),
9319
+ className: clsx_default(oP.root, cP.className, s, AN && "MuiInputBase-readOnly"),
9320
9320
  children: [
9321
- FN,
9321
+ IN,
9322
9322
  (0, import_jsx_runtime.jsx)(FormControlContext_default.Provider, {
9323
9323
  value: null,
9324
- children: (0, import_jsx_runtime.jsx)(cP, {
9325
- "aria-invalid": qN.error,
9324
+ children: (0, import_jsx_runtime.jsx)(lP, {
9325
+ "aria-invalid": JN.error,
9326
9326
  "aria-describedby": i,
9327
9327
  autoComplete: a,
9328
9328
  autoFocus: o,
9329
9329
  defaultValue: h,
9330
- disabled: qN.disabled,
9330
+ disabled: JN.disabled,
9331
9331
  id: E,
9332
- onAnimationStart: rP,
9332
+ onAnimationStart: iP,
9333
9333
  name: q,
9334
- placeholder: ON,
9335
- readOnly: kN,
9336
- required: qN.required,
9337
- rows: jN,
9338
- value: zN,
9339
- onKeyDown: EN,
9340
- onKeyUp: DN,
9341
- type: IN,
9342
- ...nP,
9343
- ...!isHostComponent_default(cP) && {
9344
- as: tP,
9334
+ placeholder: kN,
9335
+ readOnly: AN,
9336
+ required: JN.required,
9337
+ rows: MN,
9338
+ value: BN,
9339
+ onKeyDown: DN,
9340
+ onKeyUp: ON,
9341
+ type: LN,
9342
+ ...rP,
9343
+ ...!isHostComponent_default(lP) && {
9344
+ as: nP,
9345
9345
  ownerState: {
9346
- ...iP,
9347
- ...nP.ownerState
9346
+ ...aP,
9347
+ ...rP.ownerState
9348
9348
  }
9349
9349
  },
9350
- ref: UN,
9351
- className: clsx_default(aP.input, nP.className, kN && "MuiInputBase-readOnly"),
9352
- onBlur: QN,
9353
- onChange: $N,
9354
- onFocus: ZN
9350
+ ref: WN,
9351
+ className: clsx_default(oP.input, rP.className, AN && "MuiInputBase-readOnly"),
9352
+ onBlur: $N,
9353
+ onChange: eP,
9354
+ onFocus: QN
9355
9355
  })
9356
9356
  }),
9357
9357
  y,
9358
- AN ? AN({
9359
- ...qN,
9360
- startAdornment: FN
9358
+ jN ? jN({
9359
+ ...JN,
9360
+ startAdornment: IN
9361
9361
  }) : null
9362
9362
  ]
9363
9363
  })
@@ -10433,30 +10433,30 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
10433
10433
  M,
10434
10434
  i,
10435
10435
  a
10436
- ]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), TN = useJsonViewerStore((e2) => e2.onChange), $ = useTextColor(), EN = useJsonViewerStore((e2) => e2.colorspace.base0C), DN = useJsonViewerStore((e2) => e2.colorspace.base0A), ON = useJsonViewerStore((e2) => e2.displayComma), kN = useJsonViewerStore((e2) => e2.quotesOnKeys), AN = useJsonViewerStore((e2) => e2.rootName), jN = U === t, MN = Number.isInteger(Number(A)), NN = useJsonViewerStore((e2) => e2.enableAdd), PN = useJsonViewerStore((e2) => e2.onAdd), FN = (0, import_react.useMemo)(() => !PN || a !== void 0 || NN === false || v === false ? false : typeof NN == "function" ? !!NN(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
10437
- PN,
10436
+ ]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), EN = useJsonViewerStore((e2) => e2.onChange), $ = useTextColor(), DN = useJsonViewerStore((e2) => e2.colorspace.base0C), ON = useJsonViewerStore((e2) => e2.colorspace.base0A), kN = useJsonViewerStore((e2) => e2.displayComma), AN = useJsonViewerStore((e2) => e2.quotesOnKeys), jN = useJsonViewerStore((e2) => e2.rootName), MN = U === t, NN = Number.isInteger(Number(A)), PN = useJsonViewerStore((e2) => e2.enableAdd), FN = useJsonViewerStore((e2) => e2.onAdd), IN = (0, import_react.useMemo)(() => !FN || a !== void 0 || PN === false || v === false ? false : typeof PN == "function" ? !!PN(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
10437
+ FN,
10438
10438
  a,
10439
10439
  i,
10440
- NN,
10440
+ PN,
10441
10441
  v,
10442
10442
  t
10443
- ]), IN = useJsonViewerStore((e2) => e2.enableDelete), LN = useJsonViewerStore((e2) => e2.onDelete), RN = (0, import_react.useMemo)(() => !LN || a !== void 0 || jN || IN === false || v === false ? false : typeof IN == "function" ? !!IN(i, t) : IN, [
10444
- LN,
10443
+ ]), LN = useJsonViewerStore((e2) => e2.enableDelete), RN = useJsonViewerStore((e2) => e2.onDelete), zN = (0, import_react.useMemo)(() => !RN || a !== void 0 || MN || LN === false || v === false ? false : typeof LN == "function" ? !!LN(i, t) : LN, [
10444
+ RN,
10445
10445
  a,
10446
- jN,
10446
+ MN,
10447
10447
  i,
10448
- IN,
10448
+ LN,
10449
10449
  v,
10450
10450
  t
10451
- ]), zN = useJsonViewerStore((e2) => e2.enableClipboard), { copy: BN, copied: VN } = useClipboard(), HN = useJsonViewerStore((e2) => e2.highlightUpdates), UN = (0, import_react.useMemo)(() => !HN || n === void 0 ? false : typeof t == typeof n ? typeof t == "number" ? isNaN(t) && isNaN(n) ? false : t !== n : Array.isArray(t) === Array.isArray(n) ? typeof t == "object" || typeof t == "function" ? false : t !== n : true : true, [
10452
- HN,
10451
+ ]), BN = useJsonViewerStore((e2) => e2.enableClipboard), { copy: VN, copied: HN } = useClipboard(), UN = useJsonViewerStore((e2) => e2.highlightUpdates), WN = (0, import_react.useMemo)(() => !UN || n === void 0 ? false : typeof t == typeof n ? typeof t == "number" ? isNaN(t) && isNaN(n) ? false : t !== n : Array.isArray(t) === Array.isArray(n) ? typeof t == "object" || typeof t == "function" ? false : t !== n : true : true, [
10452
+ UN,
10453
10453
  n,
10454
10454
  t
10455
- ]), WN = (0, import_react.useRef)();
10455
+ ]), GN = (0, import_react.useRef)();
10456
10456
  (0, import_react.useEffect)(() => {
10457
- WN.current && UN && "animate" in WN.current && WN.current.animate([
10457
+ GN.current && WN && "animate" in GN.current && GN.current.animate([
10458
10458
  {
10459
- backgroundColor: DN
10459
+ backgroundColor: ON
10460
10460
  },
10461
10461
  {
10462
10462
  backgroundColor: ""
@@ -10466,40 +10466,40 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
10466
10466
  easing: "ease-in"
10467
10467
  });
10468
10468
  }, [
10469
- DN,
10470
- UN,
10469
+ ON,
10470
+ WN,
10471
10471
  n,
10472
10472
  t
10473
10473
  ]);
10474
- let GN = (0, import_react.useCallback)((e2) => {
10474
+ let KN = (0, import_react.useCallback)((e2) => {
10475
10475
  e2.preventDefault(), h && E(h(t)), Q(true);
10476
10476
  }, [
10477
10477
  h,
10478
10478
  t
10479
- ]), KN = (0, import_react.useCallback)(() => {
10479
+ ]), qN = (0, import_react.useCallback)(() => {
10480
10480
  Q(false), E("");
10481
10481
  }, [
10482
10482
  Q,
10483
10483
  E
10484
- ]), qN = (0, import_react.useCallback)((e2) => {
10484
+ ]), JN = (0, import_react.useCallback)((e2) => {
10485
10485
  if (Q(false), _) try {
10486
- TN(i, t, _(e2));
10486
+ EN(i, t, _(e2));
10487
10487
  } catch {
10488
10488
  }
10489
10489
  }, [
10490
10490
  Q,
10491
10491
  _,
10492
- TN,
10492
+ EN,
10493
10493
  i,
10494
10494
  t
10495
- ]), JN = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
10495
+ ]), YN = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
10496
10496
  children: [
10497
10497
  (0, import_jsx_runtime.jsx)(IconBox, {
10498
10498
  children: (0, import_jsx_runtime.jsx)(CloseIcon, {
10499
10499
  sx: {
10500
10500
  fontSize: ".8rem"
10501
10501
  },
10502
- onClick: KN
10502
+ onClick: qN
10503
10503
  })
10504
10504
  }),
10505
10505
  (0, import_jsx_runtime.jsx)(IconBox, {
@@ -10507,22 +10507,22 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
10507
10507
  sx: {
10508
10508
  fontSize: ".8rem"
10509
10509
  },
10510
- onClick: () => qN(w)
10510
+ onClick: () => JN(w)
10511
10511
  })
10512
10512
  })
10513
10513
  ]
10514
10514
  }) : (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
10515
10515
  children: [
10516
- zN && (0, import_jsx_runtime.jsx)(IconBox, {
10516
+ BN && (0, import_jsx_runtime.jsx)(IconBox, {
10517
10517
  onClick: (e2) => {
10518
10518
  e2.preventDefault();
10519
10519
  try {
10520
- BN(i, t, copyString);
10520
+ VN(i, t, copyString);
10521
10521
  } catch (e3) {
10522
10522
  console.error(e3);
10523
10523
  }
10524
10524
  },
10525
- children: VN ? (0, import_jsx_runtime.jsx)(CheckIcon$1, {
10525
+ children: HN ? (0, import_jsx_runtime.jsx)(CheckIcon$1, {
10526
10526
  sx: {
10527
10527
  fontSize: ".8rem"
10528
10528
  }
@@ -10533,16 +10533,16 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
10533
10533
  })
10534
10534
  }),
10535
10535
  f && S && h && _ && (0, import_jsx_runtime.jsx)(IconBox, {
10536
- onClick: GN,
10536
+ onClick: KN,
10537
10537
  children: (0, import_jsx_runtime.jsx)(EditIcon, {
10538
10538
  sx: {
10539
10539
  fontSize: ".8rem"
10540
10540
  }
10541
10541
  })
10542
10542
  }),
10543
- FN && (0, import_jsx_runtime.jsx)(IconBox, {
10543
+ IN && (0, import_jsx_runtime.jsx)(IconBox, {
10544
10544
  onClick: (e2) => {
10545
- e2.preventDefault(), PN == null ? void 0 : PN(i);
10545
+ e2.preventDefault(), FN == null ? void 0 : FN(i);
10546
10546
  },
10547
10547
  children: (0, import_jsx_runtime.jsx)(AddBoxIcon, {
10548
10548
  sx: {
@@ -10550,9 +10550,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
10550
10550
  }
10551
10551
  })
10552
10552
  }),
10553
- RN && (0, import_jsx_runtime.jsx)(IconBox, {
10553
+ zN && (0, import_jsx_runtime.jsx)(IconBox, {
10554
10554
  onClick: (e2) => {
10555
- e2.preventDefault(), LN == null ? void 0 : LN(i, t);
10555
+ e2.preventDefault(), RN == null ? void 0 : RN(i, t);
10556
10556
  },
10557
10557
  children: (0, import_jsx_runtime.jsx)(DeleteIcon, {
10558
10558
  sx: {
@@ -10565,24 +10565,24 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
10565
10565
  f,
10566
10566
  h,
10567
10567
  _,
10568
+ HN,
10568
10569
  VN,
10569
- BN,
10570
10570
  S,
10571
10571
  J,
10572
+ BN,
10573
+ IN,
10572
10574
  zN,
10573
- FN,
10574
- RN,
10575
10575
  w,
10576
10576
  i,
10577
10577
  t,
10578
- PN,
10579
- LN,
10580
- GN,
10578
+ FN,
10579
+ RN,
10581
10580
  KN,
10582
- qN
10583
- ]), YN = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
10581
+ qN,
10582
+ JN
10583
+ ]), XN = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
10584
10584
  t
10585
- ]), XN = !YN && !!(c && d), ZN = useJsonViewerStore((e2) => e2.keyRenderer), QN = (0, import_react.useMemo)(() => ({
10585
+ ]), ZN = !XN && !!(c && d), QN = useJsonViewerStore((e2) => e2.keyRenderer), $N = (0, import_react.useMemo)(() => ({
10586
10586
  path: i,
10587
10587
  inspect: K,
10588
10588
  setInspect: q,
@@ -10619,13 +10619,13 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
10619
10619
  opacity: 0.8
10620
10620
  },
10621
10621
  onClick: (0, import_react.useCallback)((e2) => {
10622
- e2.isDefaultPrevented() || YN || q((e3) => !e3);
10622
+ e2.isDefaultPrevented() || XN || q((e3) => !e3);
10623
10623
  }, [
10624
- YN,
10624
+ XN,
10625
10625
  q
10626
10626
  ]),
10627
10627
  children: [
10628
- XN ? K ? (0, import_jsx_runtime.jsx)(ExpandMoreIcon, {
10628
+ ZN ? K ? (0, import_jsx_runtime.jsx)(ExpandMoreIcon, {
10629
10629
  className: "data-key-toggle-expanded",
10630
10630
  sx: {
10631
10631
  fontSize: ".8rem",
@@ -10643,27 +10643,27 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
10643
10643
  }
10644
10644
  }) : null,
10645
10645
  (0, import_jsx_runtime.jsx)(Box_default, {
10646
- ref: WN,
10646
+ ref: GN,
10647
10647
  className: "data-key-key",
10648
10648
  component: "span",
10649
- children: jN && O === 0 ? AN === false ? null : kN ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
10649
+ children: MN && O === 0 ? jN === false ? null : AN ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
10650
10650
  children: [
10651
10651
  '"',
10652
- AN,
10652
+ jN,
10653
10653
  '"'
10654
10654
  ]
10655
10655
  }) : (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
10656
- children: AN
10657
- }) : ZN.when(QN) ? (0, import_jsx_runtime.jsx)(ZN, {
10658
- ...QN
10659
- }) : a === void 0 && (MN ? (0, import_jsx_runtime.jsx)(Box_default, {
10656
+ children: jN
10657
+ }) : QN.when($N) ? (0, import_jsx_runtime.jsx)(QN, {
10658
+ ...$N
10659
+ }) : a === void 0 && (NN ? (0, import_jsx_runtime.jsx)(Box_default, {
10660
10660
  component: "span",
10661
10661
  style: {
10662
- color: EN,
10663
- userSelect: MN ? "none" : "auto"
10662
+ color: DN,
10663
+ userSelect: NN ? "none" : "auto"
10664
10664
  },
10665
10665
  children: A
10666
- }) : kN ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
10666
+ }) : AN ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
10667
10667
  children: [
10668
10668
  '"',
10669
10669
  A,
@@ -10673,7 +10673,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
10673
10673
  children: A
10674
10674
  }))
10675
10675
  }),
10676
- jN ? AN !== false && (0, import_jsx_runtime.jsx)(DataBox, {
10676
+ MN ? jN !== false && (0, import_jsx_runtime.jsx)(DataBox, {
10677
10677
  className: "data-key-colon",
10678
10678
  sx: {
10679
10679
  mr: 0.5
@@ -10686,38 +10686,38 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
10686
10686
  ".data-key-key:empty + &": {
10687
10687
  display: "none"
10688
10688
  },
10689
- userSelect: MN ? "none" : "auto"
10689
+ userSelect: NN ? "none" : "auto"
10690
10690
  },
10691
10691
  children: ":"
10692
10692
  }),
10693
10693
  c && (0, import_jsx_runtime.jsx)(c, {
10694
- ...QN
10694
+ ...$N
10695
10695
  }),
10696
- I && XN && K && JN
10696
+ I && ZN && K && YN
10697
10697
  ]
10698
10698
  }),
10699
10699
  J && S ? f && (0, import_jsx_runtime.jsx)(f, {
10700
10700
  path: i,
10701
10701
  value: w,
10702
10702
  setValue: E,
10703
- abortEditing: KN,
10704
- commitEditing: qN
10703
+ abortEditing: qN,
10704
+ commitEditing: JN
10705
10705
  }) : s ? (0, import_jsx_runtime.jsx)(s, {
10706
- ...QN
10706
+ ...$N
10707
10707
  }) : (0, import_jsx_runtime.jsx)(Box_default, {
10708
10708
  component: "span",
10709
10709
  className: "data-value-fallback",
10710
10710
  children: `fallback: ${t}`
10711
10711
  }),
10712
10712
  d && (0, import_jsx_runtime.jsx)(d, {
10713
- ...QN
10713
+ ...$N
10714
10714
  }),
10715
- !o && ON && (0, import_jsx_runtime.jsx)(DataBox, {
10715
+ !o && kN && (0, import_jsx_runtime.jsx)(DataBox, {
10716
10716
  children: ","
10717
10717
  }),
10718
- I && XN && !K && JN,
10719
- I && !XN && JN,
10720
- !I && J && JN
10718
+ I && ZN && !K && YN,
10719
+ I && !ZN && YN,
10720
+ !I && J && YN
10721
10721
  ]
10722
10722
  });
10723
10723
  }, query = "(prefers-color-scheme: dark)";
@@ -11558,18 +11558,18 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
11558
11558
  }
11559
11559
  let _, v, y, S, w, E;
11560
11560
  if (t[2] !== d || t[3] !== i || t[4] !== s || t[5] !== o || t[6] !== n || t[7] !== h || t[8] !== c) {
11561
- let e2 = n.filter(_temp7), O2 = n.filter(_temp8), A2 = n.filter(_temp9), M = n.filter(_temp0), I = n.filter(_temp1), z = n.filter(_temp10), U = n.filter(_temp11), K = n.filter(_temp12), q = n.filter(_temp13), J = n.filter(_temp14), Q = n.filter(_temp15), TN = n.filter(_temp16), $ = n.filter(_temp17), EN;
11562
- t[15] === s ? EN = t[16] : (EN = () => {
11561
+ let e2 = n.filter(_temp7), O2 = n.filter(_temp8), A2 = n.filter(_temp9), M = n.filter(_temp0), I = n.filter(_temp1), z = n.filter(_temp10), U = n.filter(_temp11), K = n.filter(_temp12), q = n.filter(_temp13), J = n.filter(_temp14), Q = n.filter(_temp15), EN = n.filter(_temp16), $ = n.filter(_temp17), DN;
11562
+ t[15] === s ? DN = t[16] : (DN = () => {
11563
11563
  s.openApplication("scratchpad");
11564
- }, t[15] = s, t[16] = EN);
11565
- let DN = EN, ON = () => {
11564
+ }, t[15] = s, t[16] = DN);
11565
+ let ON = DN, kN = () => {
11566
11566
  let t2 = [];
11567
- if (Q.length > 0 || TN.length > 0) {
11567
+ if (Q.length > 0 || EN.length > 0) {
11568
11568
  let e3 = Q.some(_temp18), n2 = !e3 && Q.some(_temp19);
11569
11569
  t2.push((0, import_jsx_runtime.jsxs)("div", {
11570
11570
  children: [
11571
11571
  Q.map(_temp20),
11572
- TN.map(_temp21),
11572
+ EN.map(_temp21),
11573
11573
  e3 && (0, import_jsx_runtime.jsxs)(Button, {
11574
11574
  size: "xs",
11575
11575
  variant: "outline",
@@ -11601,7 +11601,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
11601
11601
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
11602
11602
  errors: [
11603
11603
  ...Q,
11604
- ...TN
11604
+ ...EN
11605
11605
  ],
11606
11606
  cellId: i
11607
11607
  })
@@ -11762,7 +11762,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
11762
11762
  size: "xs",
11763
11763
  variant: "link",
11764
11764
  className: "my-2 font-normal mx-0 px-0",
11765
- onClick: DN,
11765
+ onClick: ON,
11766
11766
  children: [
11767
11767
  (0, import_jsx_runtime.jsx)(NotebookPen, {
11768
11768
  className: "h-3"
@@ -11887,13 +11887,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
11887
11887
  })
11888
11888
  ]
11889
11889
  }, "sql-errors")), t2;
11890
- }, kN = `font-code font-medium tracking-wide ${h}`, AN;
11891
- t[17] !== kN || t[18] !== c ? (AN = (0, import_jsx_runtime.jsx)(AlertTitle, {
11892
- className: kN,
11890
+ }, AN = `font-code font-medium tracking-wide ${h}`, jN;
11891
+ t[17] !== AN || t[18] !== c ? (jN = (0, import_jsx_runtime.jsx)(AlertTitle, {
11892
+ className: AN,
11893
11893
  children: c
11894
- }), t[17] = kN, t[18] = c, t[19] = AN) : AN = t[19];
11895
- let jN = AN;
11896
- _ = Alert, S = d, t[20] === o ? w = t[21] : (w = cn("border-none font-code text-sm text-[0.84375rem] px-0 text-muted-foreground normal [&:has(svg)]:pl-0 space-y-4", o), t[20] = o, t[21] = w), E = jN, v = "flex flex-col gap-8", y = ON(), t[2] = d, t[3] = i, t[4] = s, t[5] = o, t[6] = n, t[7] = h, t[8] = c, t[9] = _, t[10] = v, t[11] = y, t[12] = S, t[13] = w, t[14] = E;
11894
+ }), t[17] = AN, t[18] = c, t[19] = jN) : jN = t[19];
11895
+ let MN = jN;
11896
+ _ = Alert, S = d, t[20] === o ? w = t[21] : (w = cn("border-none font-code text-sm text-[0.84375rem] px-0 text-muted-foreground normal [&:has(svg)]:pl-0 space-y-4", o), t[20] = o, t[21] = w), E = MN, v = "flex flex-col gap-8", y = kN(), t[2] = d, t[3] = i, t[4] = s, t[5] = o, t[6] = n, t[7] = h, t[8] = c, t[9] = _, t[10] = v, t[11] = y, t[12] = S, t[13] = w, t[14] = E;
11897
11897
  } else _ = t[9], v = t[10], y = t[11], S = t[12], w = t[13], E = t[14];
11898
11898
  let O;
11899
11899
  t[22] !== v || t[23] !== y ? (O = (0, import_jsx_runtime.jsx)("div", {
@@ -12344,7 +12344,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
12344
12344
  ]
12345
12345
  };
12346
12346
  }
12347
- LazyVegaEmbed = import_react.lazy(() => import("./react-vega-B-rkEqtS.js").then((e) => ({
12347
+ LazyVegaEmbed = import_react.lazy(() => import("./react-vega-Cavbrg4l.js").then((e) => ({
12348
12348
  default: e.VegaEmbed
12349
12349
  })));
12350
12350
  var import_compiler_runtime$37 = require_compiler_runtime();
@@ -12880,7 +12880,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
12880
12880
  }, [
12881
12881
  h
12882
12882
  ]), k(() => {
12883
- U(6, EN);
12883
+ U(6, DN);
12884
12884
  }, []);
12885
12885
  let K = import_react.useMemo(() => ({
12886
12886
  subscribe: (e2) => (s.current.add(e2), () => s.current.delete(e2)),
@@ -12889,7 +12889,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
12889
12889
  var _a2;
12890
12890
  var a2, o2, s2;
12891
12891
  if (!Object.is(n.current[e2], t2)) {
12892
- if (n.current[e2] = t2, e2 === "search") $(), Q(), U(1, TN);
12892
+ if (n.current[e2] = t2, e2 === "search") $(), Q(), U(1, EN);
12893
12893
  else if (e2 === "value") {
12894
12894
  if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
12895
12895
  let e3 = document.getElementById(I);
@@ -12897,8 +12897,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
12897
12897
  }
12898
12898
  if (U(7, () => {
12899
12899
  var _a3;
12900
- n.current.selectedItemId = (_a3 = DN()) == null ? void 0 : _a3.id, K.emit();
12901
- }), i2 || U(5, EN), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
12900
+ n.current.selectedItemId = (_a3 = ON()) == null ? void 0 : _a3.id, K.emit();
12901
+ }), i2 || U(5, DN), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
12902
12902
  let e3 = t2 ?? "";
12903
12903
  (s2 = (o2 = c.current).onValueChange) == null || s2.call(o2, e3);
12904
12904
  return;
@@ -12923,12 +12923,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
12923
12923
  item: (e2, t2) => (i.current.add(e2), t2 && (a.current.has(t2) ? a.current.get(t2).add(e2) : a.current.set(t2, /* @__PURE__ */ new Set([
12924
12924
  e2
12925
12925
  ]))), U(3, () => {
12926
- $(), Q(), n.current.value || TN(), K.emit();
12926
+ $(), Q(), n.current.value || EN(), K.emit();
12927
12927
  }), () => {
12928
12928
  o.current.delete(e2), i.current.delete(e2), n.current.filtered.items.delete(e2);
12929
- let t3 = DN();
12929
+ let t3 = ON();
12930
12930
  U(4, () => {
12931
- $(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && TN(), K.emit();
12931
+ $(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && EN(), K.emit();
12932
12932
  });
12933
12933
  }),
12934
12934
  group: (e2) => (a.current.has(e2) || a.current.set(e2, /* @__PURE__ */ new Set()), () => {
@@ -12961,7 +12961,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
12961
12961
  ]);
12962
12962
  });
12963
12963
  let i2 = z.current;
12964
- ON().sort((t3, n2) => {
12964
+ kN().sort((t3, n2) => {
12965
12965
  let i3 = t3.getAttribute("id"), a2 = n2.getAttribute("id");
12966
12966
  return (e2.get(a2) ?? 0) - (e2.get(i3) ?? 0);
12967
12967
  }).forEach((e3) => {
@@ -12973,9 +12973,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
12973
12973
  t3 == null ? void 0 : t3.parentElement.appendChild(t3);
12974
12974
  });
12975
12975
  }
12976
- function TN() {
12976
+ function EN() {
12977
12977
  var _a2;
12978
- let e2 = (_a2 = ON().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
12978
+ let e2 = (_a2 = kN().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
12979
12979
  K.setState("value", e2 || void 0);
12980
12980
  }
12981
12981
  function $() {
@@ -12996,43 +12996,43 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
12996
12996
  }
12997
12997
  n.current.filtered.count = e2;
12998
12998
  }
12999
- function EN() {
12999
+ function DN() {
13000
13000
  var _a2, _b;
13001
13001
  var e2;
13002
- let t2 = DN();
13002
+ let t2 = ON();
13003
13003
  t2 && (((_a2 = t2.parentElement) == null ? void 0 : _a2.firstChild) === t2 && ((e2 = (_b = t2.closest(N$1)) == null ? void 0 : _b.querySelector(be)) == null || e2.scrollIntoView({
13004
13004
  block: "nearest"
13005
13005
  })), t2.scrollIntoView({
13006
13006
  block: "nearest"
13007
13007
  }));
13008
13008
  }
13009
- function DN() {
13009
+ function ON() {
13010
13010
  var _a2;
13011
13011
  return (_a2 = z.current) == null ? void 0 : _a2.querySelector(`${le}[aria-selected="true"]`);
13012
13012
  }
13013
- function ON() {
13013
+ function kN() {
13014
13014
  var _a2;
13015
13015
  return Array.from(((_a2 = z.current) == null ? void 0 : _a2.querySelectorAll(ce$1)) || []);
13016
13016
  }
13017
- function kN(e2) {
13018
- let t2 = ON()[e2];
13017
+ function AN(e2) {
13018
+ let t2 = kN()[e2];
13019
13019
  t2 && K.setState("value", t2.getAttribute(T));
13020
13020
  }
13021
- function AN(e2) {
13021
+ function jN(e2) {
13022
13022
  var t2;
13023
- let n2 = DN(), i2 = ON(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
13023
+ let n2 = ON(), i2 = kN(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
13024
13024
  (t2 = c.current) != null && t2.loop && (o2 = a2 + e2 < 0 ? i2[i2.length - 1] : a2 + e2 === i2.length ? i2[0] : i2[a2 + e2]), o2 && K.setState("value", o2.getAttribute(T));
13025
13025
  }
13026
- function jN(e2) {
13026
+ function MN(e2) {
13027
13027
  var _a2;
13028
- let t2 = (_a2 = DN()) == null ? void 0 : _a2.closest(N$1), n2;
13028
+ let t2 = (_a2 = ON()) == null ? void 0 : _a2.closest(N$1), n2;
13029
13029
  for (; t2 && !n2; ) t2 = e2 > 0 ? we(t2, N$1) : De(t2, N$1), n2 = t2 == null ? void 0 : t2.querySelector(ce$1);
13030
- n2 ? K.setState("value", n2.getAttribute(T)) : AN(e2);
13030
+ n2 ? K.setState("value", n2.getAttribute(T)) : jN(e2);
13031
13031
  }
13032
- let MN = () => kN(ON().length - 1), NN = (e2) => {
13033
- e2.preventDefault(), e2.metaKey ? MN() : e2.altKey ? jN(1) : AN(1);
13034
- }, PN = (e2) => {
13035
- e2.preventDefault(), e2.metaKey ? kN(0) : e2.altKey ? jN(-1) : AN(-1);
13032
+ let NN = () => AN(kN().length - 1), PN = (e2) => {
13033
+ e2.preventDefault(), e2.metaKey ? NN() : e2.altKey ? MN(1) : jN(1);
13034
+ }, FN = (e2) => {
13035
+ e2.preventDefault(), e2.metaKey ? AN(0) : e2.altKey ? MN(-1) : jN(-1);
13036
13036
  };
13037
13037
  return import_react.createElement(Primitive.div, {
13038
13038
  ref: t,
@@ -13046,27 +13046,27 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
13046
13046
  if (!(e2.defaultPrevented || n2)) switch (e2.key) {
13047
13047
  case "n":
13048
13048
  case "j":
13049
- E && e2.ctrlKey && NN(e2);
13049
+ E && e2.ctrlKey && PN(e2);
13050
13050
  break;
13051
13051
  case "ArrowDown":
13052
- NN(e2);
13052
+ PN(e2);
13053
13053
  break;
13054
13054
  case "p":
13055
13055
  case "k":
13056
- E && e2.ctrlKey && PN(e2);
13056
+ E && e2.ctrlKey && FN(e2);
13057
13057
  break;
13058
13058
  case "ArrowUp":
13059
- PN(e2);
13059
+ FN(e2);
13060
13060
  break;
13061
13061
  case "Home":
13062
- e2.preventDefault(), kN(0);
13062
+ e2.preventDefault(), AN(0);
13063
13063
  break;
13064
13064
  case "End":
13065
- e2.preventDefault(), MN();
13065
+ e2.preventDefault(), NN();
13066
13066
  break;
13067
13067
  case "Enter": {
13068
13068
  e2.preventDefault();
13069
- let t3 = DN();
13069
+ let t3 = ON();
13070
13070
  if (t3) {
13071
13071
  let e3 = new Event(Z);
13072
13072
  t3.dispatchEvent(e3);
@@ -19056,7 +19056,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19056
19056
  function PanelWithForwardedRef({ children: e, className: t = "", collapsedSize: n, collapsible: i, defaultSize: a, forwardedRef: o, id: s, maxSize: c, minSize: d, onCollapse: f, onExpand: h, onResize: _, order: v, style: y, tagName: S = "div", ...w }) {
19057
19057
  let E = (0, import_react.useContext)(PanelGroupContext);
19058
19058
  if (E === null) throw Error("Panel components must be rendered within a PanelGroup container");
19059
- let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, TN = useUniqueId(s), $ = (0, import_react.useRef)({
19059
+ let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, EN = useUniqueId(s), $ = (0, import_react.useRef)({
19060
19060
  callbacks: {
19061
19061
  onCollapse: f,
19062
19062
  onExpand: h,
@@ -19069,7 +19069,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19069
19069
  maxSize: c,
19070
19070
  minSize: d
19071
19071
  },
19072
- id: TN,
19072
+ id: EN,
19073
19073
  idIsFromProps: s !== void 0,
19074
19074
  order: v
19075
19075
  });
@@ -19079,7 +19079,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19079
19079
  let { callbacks: e2, constraints: t2 } = $.current, o2 = {
19080
19080
  ...t2
19081
19081
  };
19082
- $.current.id = TN, $.current.idIsFromProps = s !== void 0, $.current.order = v, e2.onCollapse = f, e2.onExpand = h, e2.onResize = _, t2.collapsedSize = n, t2.collapsible = i, t2.defaultSize = a, t2.maxSize = c, t2.minSize = d, (o2.collapsedSize !== t2.collapsedSize || o2.collapsible !== t2.collapsible || o2.maxSize !== t2.maxSize || o2.minSize !== t2.minSize) && K($.current, o2);
19082
+ $.current.id = EN, $.current.idIsFromProps = s !== void 0, $.current.order = v, e2.onCollapse = f, e2.onExpand = h, e2.onResize = _, t2.collapsedSize = n, t2.collapsible = i, t2.defaultSize = a, t2.maxSize = c, t2.minSize = d, (o2.collapsedSize !== t2.collapsedSize || o2.collapsible !== t2.collapsible || o2.maxSize !== t2.maxSize || o2.minSize !== t2.minSize) && K($.current, o2);
19083
19083
  }), useIsomorphicLayoutEffect$1(() => {
19084
19084
  let e2 = $.current;
19085
19085
  return q(e2), () => {
@@ -19087,7 +19087,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19087
19087
  };
19088
19088
  }, [
19089
19089
  v,
19090
- TN,
19090
+ EN,
19091
19091
  q,
19092
19092
  Q
19093
19093
  ]), (0, import_react.useImperativeHandle)(o, () => ({
@@ -19098,7 +19098,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19098
19098
  A($.current, e2);
19099
19099
  },
19100
19100
  getId() {
19101
- return TN;
19101
+ return EN;
19102
19102
  },
19103
19103
  getSize() {
19104
19104
  return M($.current);
@@ -19117,24 +19117,24 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19117
19117
  A,
19118
19118
  M,
19119
19119
  U,
19120
- TN,
19120
+ EN,
19121
19121
  J
19122
19122
  ]);
19123
- let EN = I($.current, a);
19123
+ let DN = I($.current, a);
19124
19124
  return (0, import_react.createElement)(S, {
19125
19125
  ...w,
19126
19126
  children: e,
19127
19127
  className: t,
19128
- id: TN,
19128
+ id: EN,
19129
19129
  style: {
19130
- ...EN,
19130
+ ...DN,
19131
19131
  ...y
19132
19132
  },
19133
19133
  [DATA_ATTRIBUTES.groupId]: z,
19134
19134
  [DATA_ATTRIBUTES.panel]: "",
19135
19135
  [DATA_ATTRIBUTES.panelCollapsible]: i || void 0,
19136
- [DATA_ATTRIBUTES.panelId]: TN,
19137
- [DATA_ATTRIBUTES.panelSize]: parseFloat("" + EN.flexGrow).toFixed(1)
19136
+ [DATA_ATTRIBUTES.panelId]: EN,
19137
+ [DATA_ATTRIBUTES.panelSize]: parseFloat("" + DN.flexGrow).toFixed(1)
19138
19138
  });
19139
19139
  }
19140
19140
  var Panel = (0, import_react.forwardRef)((e, t) => (0, import_react.createElement)(PanelWithForwardedRef, {
@@ -19907,7 +19907,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19907
19907
  }, []), Q = (0, import_react.useCallback)((e2) => {
19908
19908
  let { layout: t2, panelDataArray: n2 } = K.current, { panelSize: i2 } = panelDataHelper(n2, e2, t2);
19909
19909
  return assert(i2 != null, `Panel size not found for panel "${e2.id}"`), i2;
19910
- }, []), TN = (0, import_react.useCallback)((e2, t2) => {
19910
+ }, []), EN = (0, import_react.useCallback)((e2, t2) => {
19911
19911
  let { panelDataArray: n2 } = K.current;
19912
19912
  return computePanelFlexBoxStyle({
19913
19913
  defaultSize: t2,
@@ -19922,10 +19922,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19922
19922
  ]), $ = (0, import_react.useCallback)((e2) => {
19923
19923
  let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
19924
19924
  return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), a2 === true && fuzzyNumbersEqual$1(o2, i2);
19925
- }, []), EN = (0, import_react.useCallback)((e2) => {
19925
+ }, []), DN = (0, import_react.useCallback)((e2) => {
19926
19926
  let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
19927
19927
  return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), !a2 || fuzzyCompareNumbers(o2, i2) > 0;
19928
- }, []), DN = (0, import_react.useCallback)((e2) => {
19928
+ }, []), ON = (0, import_react.useCallback)((e2) => {
19929
19929
  let { panelDataArray: t2 } = K.current;
19930
19930
  t2.push(e2), t2.sort((e3, t3) => {
19931
19931
  let n2 = e3.order, i2 = t3.order;
@@ -19957,7 +19957,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19957
19957
  e2.layout = [];
19958
19958
  };
19959
19959
  }, []);
19960
- let ON = (0, import_react.useCallback)((e2) => {
19960
+ let kN = (0, import_react.useCallback)((e2) => {
19961
19961
  let t2 = false, n2 = y.current;
19962
19962
  return n2 && window.getComputedStyle(n2, null).getPropertyValue("direction") === "rtl" && (t2 = true), function(n3) {
19963
19963
  n3.preventDefault();
@@ -19975,7 +19975,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19975
19975
  }), I2 = !compareLayouts(f2, A2);
19976
19976
  (isPointerEvent(n3) || isMouseEvent(n3)) && z.current != S2 && (z.current = S2, !I2 && S2 !== 0 ? w2 ? reportConstraintsViolation(e2, S2 < 0 ? EXCEEDED_HORIZONTAL_MIN : EXCEEDED_HORIZONTAL_MAX) : reportConstraintsViolation(e2, S2 < 0 ? EXCEEDED_VERTICAL_MIN : EXCEEDED_VERTICAL_MAX) : reportConstraintsViolation(e2, 0)), I2 && (O(A2), K.current.layout = A2, d2 && d2(A2), callPanelCallbacks(h2, A2, M.current));
19977
19977
  };
19978
- }, []), kN = (0, import_react.useCallback)((e2, t2) => {
19978
+ }, []), AN = (0, import_react.useCallback)((e2, t2) => {
19979
19979
  let { onLayout: n2 } = U.current, { layout: i2, panelDataArray: a2 } = K.current, o2 = a2.map((e3) => e3.constraints), { panelSize: s2, pivotIndices: c2 } = panelDataHelper(a2, e2, i2);
19980
19980
  assert(s2 != null, `Panel size not found for panel "${e2.id}"`);
19981
19981
  let d2 = adjustLayoutByDelta({
@@ -19987,12 +19987,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19987
19987
  trigger: "imperative-api"
19988
19988
  });
19989
19989
  compareLayouts(i2, d2) || (O(d2), K.current.layout = d2, n2 && n2(d2), callPanelCallbacks(a2, d2, M.current));
19990
- }, []), AN = (0, import_react.useCallback)((e2, t2) => {
19990
+ }, []), jN = (0, import_react.useCallback)((e2, t2) => {
19991
19991
  let { layout: n2, panelDataArray: i2 } = K.current, { collapsedSize: a2 = 0, collapsible: o2 } = t2, { collapsedSize: s2 = 0, collapsible: c2, maxSize: d2 = 100, minSize: f2 = 0 } = e2.constraints, { panelSize: h2 } = panelDataHelper(i2, e2, n2);
19992
- h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) || kN(e2, s2) : h2 < f2 ? kN(e2, f2) : h2 > d2 && kN(e2, d2));
19992
+ h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) || AN(e2, s2) : h2 < f2 ? AN(e2, f2) : h2 > d2 && AN(e2, d2));
19993
19993
  }, [
19994
- kN
19995
- ]), jN = (0, import_react.useCallback)((e2, t2) => {
19994
+ AN
19995
+ ]), MN = (0, import_react.useCallback)((e2, t2) => {
19996
19996
  let { direction: n2 } = U.current, { layout: i2 } = K.current;
19997
19997
  if (!y.current) return;
19998
19998
  let a2 = getResizeHandleElement(e2, y.current);
@@ -20004,30 +20004,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20004
20004
  initialCursorPosition: o2,
20005
20005
  initialLayout: i2
20006
20006
  });
20007
- }, []), MN = (0, import_react.useCallback)(() => {
20007
+ }, []), NN = (0, import_react.useCallback)(() => {
20008
20008
  w(null);
20009
- }, []), NN = (0, import_react.useCallback)((e2) => {
20009
+ }, []), PN = (0, import_react.useCallback)((e2) => {
20010
20010
  let { panelDataArray: t2 } = K.current, n2 = findPanelDataIndex(t2, e2);
20011
20011
  n2 >= 0 && (t2.splice(n2, 1), delete M.current[e2.id], K.current.panelDataArrayChanged = true, A());
20012
20012
  }, [
20013
20013
  A
20014
- ]), PN = (0, import_react.useMemo)(() => ({
20014
+ ]), FN = (0, import_react.useMemo)(() => ({
20015
20015
  collapsePanel: q,
20016
20016
  direction: i,
20017
20017
  dragState: S,
20018
20018
  expandPanel: J,
20019
20019
  getPanelSize: Q,
20020
- getPanelStyle: TN,
20020
+ getPanelStyle: EN,
20021
20021
  groupId: v,
20022
20022
  isPanelCollapsed: $,
20023
- isPanelExpanded: EN,
20024
- reevaluatePanelConstraints: AN,
20025
- registerPanel: DN,
20026
- registerResizeHandle: ON,
20027
- resizePanel: kN,
20028
- startDragging: jN,
20029
- stopDragging: MN,
20030
- unregisterPanel: NN,
20023
+ isPanelExpanded: DN,
20024
+ reevaluatePanelConstraints: jN,
20025
+ registerPanel: ON,
20026
+ registerResizeHandle: kN,
20027
+ resizePanel: AN,
20028
+ startDragging: MN,
20029
+ stopDragging: NN,
20030
+ unregisterPanel: PN,
20031
20031
  panelGroupElement: y.current
20032
20032
  }), [
20033
20033
  q,
@@ -20035,18 +20035,18 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20035
20035
  i,
20036
20036
  J,
20037
20037
  Q,
20038
- TN,
20038
+ EN,
20039
20039
  v,
20040
20040
  $,
20041
- EN,
20042
- AN,
20043
20041
  DN,
20042
+ jN,
20044
20043
  ON,
20045
20044
  kN,
20046
- jN,
20045
+ AN,
20047
20046
  MN,
20048
- NN
20049
- ]), FN = {
20047
+ NN,
20048
+ PN
20049
+ ]), IN = {
20050
20050
  display: "flex",
20051
20051
  flexDirection: i === "horizontal" ? "row" : "column",
20052
20052
  height: "100%",
@@ -20054,7 +20054,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20054
20054
  width: "100%"
20055
20055
  };
20056
20056
  return (0, import_react.createElement)(PanelGroupContext.Provider, {
20057
- value: PN
20057
+ value: FN
20058
20058
  }, (0, import_react.createElement)(h, {
20059
20059
  ..._,
20060
20060
  children: t,
@@ -20062,7 +20062,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20062
20062
  id: o,
20063
20063
  ref: y,
20064
20064
  style: {
20065
- ...FN,
20065
+ ...IN,
20066
20066
  ...f
20067
20067
  },
20068
20068
  [DATA_ATTRIBUTES.group]: "",
@@ -20139,31 +20139,31 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20139
20139
  });
20140
20140
  let O = (0, import_react.useContext)(PanelGroupContext);
20141
20141
  if (O === null) throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");
20142
- let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [TN, $] = (0, import_react.useState)(false), [EN, DN] = (0, import_react.useState)(null), ON = (0, import_react.useRef)({
20142
+ let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [EN, $] = (0, import_react.useState)(false), [DN, ON] = (0, import_react.useState)(null), kN = (0, import_react.useRef)({
20143
20143
  state: J
20144
20144
  });
20145
20145
  useIsomorphicLayoutEffect$1(() => {
20146
- ON.current.state = J;
20146
+ kN.current.state = J;
20147
20147
  }), (0, import_react.useEffect)(() => {
20148
- if (n) DN(null);
20148
+ if (n) ON(null);
20149
20149
  else {
20150
20150
  let e2 = I(q);
20151
- DN(() => e2);
20151
+ ON(() => e2);
20152
20152
  }
20153
20153
  }, [
20154
20154
  n,
20155
20155
  q,
20156
20156
  I
20157
20157
  ]);
20158
- let kN = (i == null ? void 0 : i.coarse) ?? 15, AN = (i == null ? void 0 : i.fine) ?? 5;
20158
+ let AN = (i == null ? void 0 : i.coarse) ?? 15, jN = (i == null ? void 0 : i.fine) ?? 5;
20159
20159
  (0, import_react.useEffect)(() => {
20160
- if (n || EN == null) return;
20160
+ if (n || DN == null) return;
20161
20161
  let e2 = w.current;
20162
20162
  assert(e2, "Element ref not attached");
20163
20163
  let t2 = false;
20164
20164
  return registerResizeHandle(q, e2, A, {
20165
- coarse: kN,
20166
- fine: AN
20165
+ coarse: AN,
20166
+ fine: jN
20167
20167
  }, (e3, n2, i2) => {
20168
20168
  if (!n2) {
20169
20169
  Q("inactive");
@@ -20177,8 +20177,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20177
20177
  break;
20178
20178
  }
20179
20179
  case "move": {
20180
- let { state: e4 } = ON.current;
20181
- t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), EN(i2);
20180
+ let { state: e4 } = kN.current;
20181
+ t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), DN(i2);
20182
20182
  break;
20183
20183
  }
20184
20184
  case "up": {
@@ -20190,22 +20190,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20190
20190
  }
20191
20191
  });
20192
20192
  }, [
20193
- kN,
20193
+ AN,
20194
20194
  A,
20195
20195
  n,
20196
- AN,
20196
+ jN,
20197
20197
  I,
20198
20198
  q,
20199
- EN,
20199
+ DN,
20200
20200
  z,
20201
20201
  U
20202
20202
  ]), useWindowSplitterResizeHandlerBehavior({
20203
20203
  disabled: n,
20204
20204
  handleId: q,
20205
- resizeHandler: EN,
20205
+ resizeHandler: DN,
20206
20206
  panelGroupElement: K
20207
20207
  });
20208
- let jN = {
20208
+ let MN = {
20209
20209
  touchAction: "none",
20210
20210
  userSelect: "none"
20211
20211
  };
@@ -20223,14 +20223,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20223
20223
  ref: w,
20224
20224
  role: "separator",
20225
20225
  style: {
20226
- ...jN,
20226
+ ...MN,
20227
20227
  ..._
20228
20228
  },
20229
20229
  tabIndex: v,
20230
20230
  [DATA_ATTRIBUTES.groupDirection]: A,
20231
20231
  [DATA_ATTRIBUTES.groupId]: M,
20232
20232
  [DATA_ATTRIBUTES.resizeHandle]: "",
20233
- [DATA_ATTRIBUTES.resizeHandleActive]: J === "drag" ? "pointer" : TN ? "keyboard" : void 0,
20233
+ [DATA_ATTRIBUTES.resizeHandleActive]: J === "drag" ? "pointer" : EN ? "keyboard" : void 0,
20234
20234
  [DATA_ATTRIBUTES.resizeHandleEnabled]: !n,
20235
20235
  [DATA_ATTRIBUTES.resizeHandleId]: q,
20236
20236
  [DATA_ATTRIBUTES.resizeHandleState]: J
@@ -20397,147 +20397,147 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20397
20397
  Combobox = (e) => {
20398
20398
  let t = (0, import_compiler_runtime$21.c)(96), n, i, o, s, c, d, f, h, _, v, y, S, w, E, O, A, M, I, z, U, K, q;
20399
20399
  t[0] === e ? (n = t[1], i = t[2], o = t[3], s = t[4], c = t[5], d = t[6], f = t[7], h = t[8], _ = t[9], v = t[10], y = t[11], S = t[12], w = t[13], E = t[14], O = t[15], A = t[16], M = t[17], I = t[18], z = t[19], U = t[20], K = t[21], q = t[22]) : ({ children: n, displayValue: d, className: o, placeholder: E, value: q, defaultValue: c, onValueChange: S, multiple: M, shouldFilter: I, filterFn: f, open: w, defaultOpen: s, onOpenChange: v, inputPlaceholder: z, search: A, onSearchChange: y, emptyState: U, chips: K, chipsClassName: i, keepPopoverOpenOnSelect: _, id: h, ...O } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o, t[4] = s, t[5] = c, t[6] = d, t[7] = f, t[8] = h, t[9] = _, t[10] = v, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = O, t[16] = A, t[17] = M, t[18] = I, t[19] = z, t[20] = U, t[21] = K, t[22] = q);
20400
- let J = M === void 0 ? false : M, Q = I === void 0 ? true : I, TN = z === void 0 ? "Search..." : z, $ = U === void 0 ? "Nothing found." : U, EN = K === void 0 ? false : K, DN = s ?? false, ON;
20401
- t[23] !== v || t[24] !== w || t[25] !== DN ? (ON = {
20400
+ let J = M === void 0 ? false : M, Q = I === void 0 ? true : I, EN = z === void 0 ? "Search..." : z, $ = U === void 0 ? "Nothing found." : U, DN = K === void 0 ? false : K, ON = s ?? false, kN;
20401
+ t[23] !== v || t[24] !== w || t[25] !== ON ? (kN = {
20402
20402
  prop: w,
20403
- defaultProp: DN,
20403
+ defaultProp: ON,
20404
20404
  onChange: v
20405
- }, t[23] = v, t[24] = w, t[25] = DN, t[26] = ON) : ON = t[26];
20406
- let [kN, AN] = useControllableState(ON), jN = kN === void 0 ? false : kN, MN;
20407
- t[27] === S ? MN = t[28] : (MN = (e2) => {
20405
+ }, t[23] = v, t[24] = w, t[25] = ON, t[26] = kN) : kN = t[26];
20406
+ let [AN, jN] = useControllableState(kN), MN = AN === void 0 ? false : AN, NN;
20407
+ t[27] === S ? NN = t[28] : (NN = (e2) => {
20408
20408
  S == null ? void 0 : S(e2);
20409
- }, t[27] = S, t[28] = MN);
20410
- let NN;
20411
- t[29] !== c || t[30] !== MN || t[31] !== q ? (NN = {
20409
+ }, t[27] = S, t[28] = NN);
20410
+ let PN;
20411
+ t[29] !== c || t[30] !== NN || t[31] !== q ? (PN = {
20412
20412
  prop: q,
20413
20413
  defaultProp: c,
20414
- onChange: MN
20415
- }, t[29] = c, t[30] = MN, t[31] = q, t[32] = NN) : NN = t[32];
20416
- let [FN, IN] = useControllableState(NN), LN;
20417
- t[33] === FN ? LN = t[34] : (LN = (e2) => Array.isArray(FN) ? FN.includes(e2) : FN === e2, t[33] = FN, t[34] = LN);
20418
- let RN = LN, zN;
20419
- t[35] !== _ || t[36] !== J || t[37] !== AN || t[38] !== IN || t[39] !== FN ? (zN = (e2) => {
20414
+ onChange: NN
20415
+ }, t[29] = c, t[30] = NN, t[31] = q, t[32] = PN) : PN = t[32];
20416
+ let [IN, LN] = useControllableState(PN), RN;
20417
+ t[33] === IN ? RN = t[34] : (RN = (e2) => Array.isArray(IN) ? IN.includes(e2) : IN === e2, t[33] = IN, t[34] = RN);
20418
+ let zN = RN, BN;
20419
+ t[35] !== _ || t[36] !== J || t[37] !== jN || t[38] !== LN || t[39] !== IN ? (BN = (e2) => {
20420
20420
  let t2 = e2;
20421
- if (J) if (Array.isArray(FN)) if (FN.includes(t2)) {
20422
- let n2 = FN.filter((t3) => t3 !== e2);
20421
+ if (J) if (Array.isArray(IN)) if (IN.includes(t2)) {
20422
+ let n2 = IN.filter((t3) => t3 !== e2);
20423
20423
  t2 = n2.length > 0 ? n2 : [];
20424
20424
  } else t2 = [
20425
- ...FN,
20425
+ ...IN,
20426
20426
  t2
20427
20427
  ];
20428
20428
  else t2 = [
20429
20429
  t2
20430
20430
  ];
20431
- else FN === e2 && (t2 = null);
20432
- IN(t2), (_ ?? J) || AN(false);
20433
- }, t[35] = _, t[36] = J, t[37] = AN, t[38] = IN, t[39] = FN, t[40] = zN) : zN = t[40];
20434
- let BN = zN, VN;
20435
- t[41] !== EN || t[42] !== d || t[43] !== J || t[44] !== E || t[45] !== FN ? (VN = () => J && EN && E ? E : FN == null ? E ?? "--" : Array.isArray(FN) ? FN.length === 0 ? E ?? "--" : FN.length === 1 && d !== void 0 ? d(FN[0]) : `${FN.length} selected` : d === void 0 ? E ?? "--" : d(FN), t[41] = EN, t[42] = d, t[43] = J, t[44] = E, t[45] = FN, t[46] = VN) : VN = t[46];
20436
- let HN = VN, UN;
20437
- t[47] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (UN = cn("relative"), t[47] = UN) : UN = t[47];
20438
- let WN;
20439
- t[48] === o ? WN = t[49] : (WN = cn("flex h-6 w-fit mb-1 shadow-xs-solid items-center justify-between rounded-sm border border-input bg-transparent px-2 text-sm font-prose ring-offset-background placeholder:text-muted-foreground hover:shadow-sm-solid focus:outline-hidden focus:ring-1 focus:ring-ring focus:border-primary focus:shadow-md-solid disabled:cursor-not-allowed disabled:opacity-50", o), t[48] = o, t[49] = WN);
20431
+ else IN === e2 && (t2 = null);
20432
+ LN(t2), (_ ?? J) || jN(false);
20433
+ }, t[35] = _, t[36] = J, t[37] = jN, t[38] = LN, t[39] = IN, t[40] = BN) : BN = t[40];
20434
+ let VN = BN, HN;
20435
+ t[41] !== DN || t[42] !== d || t[43] !== J || t[44] !== E || t[45] !== IN ? (HN = () => J && DN && E ? E : IN == null ? E ?? "--" : Array.isArray(IN) ? IN.length === 0 ? E ?? "--" : IN.length === 1 && d !== void 0 ? d(IN[0]) : `${IN.length} selected` : d === void 0 ? E ?? "--" : d(IN), t[41] = DN, t[42] = d, t[43] = J, t[44] = E, t[45] = IN, t[46] = HN) : HN = t[46];
20436
+ let UN = HN, WN;
20437
+ t[47] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (WN = cn("relative"), t[47] = WN) : WN = t[47];
20440
20438
  let GN;
20441
- t[50] === HN ? GN = t[51] : (GN = HN(), t[50] = HN, t[51] = GN);
20439
+ t[48] === o ? GN = t[49] : (GN = cn("flex h-6 w-fit mb-1 shadow-xs-solid items-center justify-between rounded-sm border border-input bg-transparent px-2 text-sm font-prose ring-offset-background placeholder:text-muted-foreground hover:shadow-sm-solid focus:outline-hidden focus:ring-1 focus:ring-ring focus:border-primary focus:shadow-md-solid disabled:cursor-not-allowed disabled:opacity-50", o), t[48] = o, t[49] = GN);
20442
20440
  let KN;
20443
- t[52] === GN ? KN = t[53] : (KN = (0, import_jsx_runtime.jsx)("span", {
20441
+ t[50] === UN ? KN = t[51] : (KN = UN(), t[50] = UN, t[51] = KN);
20442
+ let qN;
20443
+ t[52] === KN ? qN = t[53] : (qN = (0, import_jsx_runtime.jsx)("span", {
20444
20444
  className: "truncate flex-1 min-w-0",
20445
- children: GN
20446
- }), t[52] = GN, t[53] = KN);
20447
- let JN;
20448
- t[54] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (JN = (0, import_jsx_runtime.jsx)(ChevronDown, {
20449
- className: "ml-3 w-4 h-4 opacity-50 shrink-0"
20450
- }), t[54] = JN) : JN = t[54];
20445
+ children: KN
20446
+ }), t[52] = KN, t[53] = qN);
20451
20447
  let YN;
20452
- t[55] !== h || t[56] !== jN || t[57] !== WN || t[58] !== KN ? (YN = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
20448
+ t[54] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (YN = (0, import_jsx_runtime.jsx)(ChevronDown, {
20449
+ className: "ml-3 w-4 h-4 opacity-50 shrink-0"
20450
+ }), t[54] = YN) : YN = t[54];
20451
+ let XN;
20452
+ t[55] !== h || t[56] !== MN || t[57] !== GN || t[58] !== qN ? (XN = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
20453
20453
  asChild: true,
20454
20454
  children: (0, import_jsx_runtime.jsxs)("div", {
20455
20455
  id: h,
20456
- className: WN,
20457
- "aria-expanded": jN,
20456
+ className: GN,
20457
+ "aria-expanded": MN,
20458
20458
  children: [
20459
- KN,
20460
- JN
20459
+ qN,
20460
+ YN
20461
20461
  ]
20462
20462
  })
20463
- }), t[55] = h, t[56] = jN, t[57] = WN, t[58] = KN, t[59] = YN) : YN = t[59];
20464
- let ZN;
20465
- t[60] !== TN || t[61] !== y || t[62] !== A ? (ZN = (0, import_jsx_runtime.jsx)(CommandInput, {
20466
- placeholder: TN,
20463
+ }), t[55] = h, t[56] = MN, t[57] = GN, t[58] = qN, t[59] = XN) : XN = t[59];
20464
+ let QN;
20465
+ t[60] !== EN || t[61] !== y || t[62] !== A ? (QN = (0, import_jsx_runtime.jsx)(CommandInput, {
20466
+ placeholder: EN,
20467
20467
  rootClassName: "px-1 h-8",
20468
20468
  autoFocus: true,
20469
20469
  value: A,
20470
20470
  onValueChange: y
20471
- }), t[60] = TN, t[61] = y, t[62] = A, t[63] = ZN) : ZN = t[63];
20472
- let QN;
20473
- t[64] === $ ? QN = t[65] : (QN = (0, import_jsx_runtime.jsx)(CommandEmpty, {
20474
- children: $
20475
- }), t[64] = $, t[65] = QN);
20471
+ }), t[60] = EN, t[61] = y, t[62] = A, t[63] = QN) : QN = t[63];
20476
20472
  let $N;
20477
- t[66] !== BN || t[67] !== RN ? ($N = {
20478
- isSelected: RN,
20479
- onSelect: BN
20480
- }, t[66] = BN, t[67] = RN, t[68] = $N) : $N = t[68];
20473
+ t[64] === $ ? $N = t[65] : ($N = (0, import_jsx_runtime.jsx)(CommandEmpty, {
20474
+ children: $
20475
+ }), t[64] = $, t[65] = $N);
20481
20476
  let eP;
20482
- t[69] !== n || t[70] !== $N ? (eP = (0, import_jsx_runtime.jsx)(ComboboxContext, {
20483
- value: $N,
20484
- children: n
20485
- }), t[69] = n, t[70] = $N, t[71] = eP) : eP = t[71];
20477
+ t[66] !== VN || t[67] !== zN ? (eP = {
20478
+ isSelected: zN,
20479
+ onSelect: VN
20480
+ }, t[66] = VN, t[67] = zN, t[68] = eP) : eP = t[68];
20486
20481
  let tP;
20487
- t[72] !== QN || t[73] !== eP ? (tP = (0, import_jsx_runtime.jsxs)(CommandList, {
20482
+ t[69] !== n || t[70] !== eP ? (tP = (0, import_jsx_runtime.jsx)(ComboboxContext, {
20483
+ value: eP,
20484
+ children: n
20485
+ }), t[69] = n, t[70] = eP, t[71] = tP) : tP = t[71];
20486
+ let nP;
20487
+ t[72] !== $N || t[73] !== tP ? (nP = (0, import_jsx_runtime.jsxs)(CommandList, {
20488
20488
  className: "max-h-60 py-.5",
20489
20489
  children: [
20490
- QN,
20491
- eP
20490
+ $N,
20491
+ tP
20492
20492
  ]
20493
- }), t[72] = QN, t[73] = eP, t[74] = tP) : tP = t[74];
20494
- let nP;
20495
- t[75] !== f || t[76] !== Q || t[77] !== ZN || t[78] !== tP ? (nP = (0, import_jsx_runtime.jsx)(PopoverContent, {
20493
+ }), t[72] = $N, t[73] = tP, t[74] = nP) : nP = t[74];
20494
+ let rP;
20495
+ t[75] !== f || t[76] !== Q || t[77] !== QN || t[78] !== nP ? (rP = (0, import_jsx_runtime.jsx)(PopoverContent, {
20496
20496
  className: "w-full min-w-(--radix-popover-trigger-width) p-0",
20497
20497
  align: "start",
20498
20498
  children: (0, import_jsx_runtime.jsxs)(Command, {
20499
20499
  filter: f,
20500
20500
  shouldFilter: Q,
20501
20501
  children: [
20502
- ZN,
20503
- tP
20502
+ QN,
20503
+ nP
20504
20504
  ]
20505
20505
  })
20506
- }), t[75] = f, t[76] = Q, t[77] = ZN, t[78] = tP, t[79] = nP) : nP = t[79];
20507
- let rP;
20508
- t[80] !== jN || t[81] !== AN || t[82] !== YN || t[83] !== nP ? (rP = (0, import_jsx_runtime.jsxs)(Popover, {
20509
- open: jN,
20510
- onOpenChange: AN,
20506
+ }), t[75] = f, t[76] = Q, t[77] = QN, t[78] = nP, t[79] = rP) : rP = t[79];
20507
+ let iP;
20508
+ t[80] !== MN || t[81] !== jN || t[82] !== XN || t[83] !== rP ? (iP = (0, import_jsx_runtime.jsxs)(Popover, {
20509
+ open: MN,
20510
+ onOpenChange: jN,
20511
20511
  children: [
20512
- YN,
20513
- nP
20512
+ XN,
20513
+ rP
20514
20514
  ]
20515
- }), t[80] = jN, t[81] = AN, t[82] = YN, t[83] = nP, t[84] = rP) : rP = t[84];
20516
- let iP;
20517
- t[85] !== EN || t[86] !== i || t[87] !== d || t[88] !== BN || t[89] !== J || t[90] !== FN ? (iP = J && EN && (0, import_jsx_runtime.jsx)("div", {
20515
+ }), t[80] = MN, t[81] = jN, t[82] = XN, t[83] = rP, t[84] = iP) : iP = t[84];
20516
+ let aP;
20517
+ t[85] !== DN || t[86] !== i || t[87] !== d || t[88] !== VN || t[89] !== J || t[90] !== IN ? (aP = J && DN && (0, import_jsx_runtime.jsx)("div", {
20518
20518
  className: cn("flex flex-col gap-1 items-start", i),
20519
- children: Array.isArray(FN) && FN.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
20519
+ children: Array.isArray(IN) && IN.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
20520
20520
  variant: "secondary",
20521
20521
  children: [
20522
20522
  (d == null ? void 0 : d(e2)) ?? String(e2),
20523
20523
  (0, import_jsx_runtime.jsx)(CircleX, {
20524
20524
  onClick: () => {
20525
- BN(e2);
20525
+ VN(e2);
20526
20526
  },
20527
20527
  className: "w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer"
20528
20528
  })
20529
20529
  ]
20530
20530
  }, String(e2)))
20531
- }), t[85] = EN, t[86] = i, t[87] = d, t[88] = BN, t[89] = J, t[90] = FN, t[91] = iP) : iP = t[91];
20532
- let aP;
20533
- return t[92] !== O || t[93] !== rP || t[94] !== iP ? (aP = (0, import_jsx_runtime.jsxs)("div", {
20534
- className: UN,
20531
+ }), t[85] = DN, t[86] = i, t[87] = d, t[88] = VN, t[89] = J, t[90] = IN, t[91] = aP) : aP = t[91];
20532
+ let oP;
20533
+ return t[92] !== O || t[93] !== iP || t[94] !== aP ? (oP = (0, import_jsx_runtime.jsxs)("div", {
20534
+ className: WN,
20535
20535
  ...O,
20536
20536
  children: [
20537
- rP,
20538
- iP
20537
+ iP,
20538
+ aP
20539
20539
  ]
20540
- }), t[92] = O, t[93] = rP, t[94] = iP, t[95] = aP) : aP = t[95], aP;
20540
+ }), t[92] = O, t[93] = iP, t[94] = aP, t[95] = oP) : oP = t[95], oP;
20541
20541
  };
20542
20542
  ComboboxItem = import_react.forwardRef((e, t) => {
20543
20543
  let n = (0, import_compiler_runtime$21.c)(17), { children: i, className: o, value: s, onSelect: c, disabled: d } = e, f = typeof s == "object" && "value" in s ? s.value : String(s), h = import_react.use(ComboboxContext), _;
@@ -23251,7 +23251,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23251
23251
  function _temp2$2(e, t) {
23252
23252
  return e + t;
23253
23253
  }
23254
- let TableBottomBar;
23254
+ let TableBottomBar, downloadSizeLimitAtom;
23255
23255
  TableBottomBar = ({ pagination: e, totalColumns: t, selection: n, onRowSelectionChange: i, table: s, getRowIds: c, showPageSizeSelector: d, tableLoading: h, part: _, className: v }) => {
23256
23256
  let { locale: y } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), w = (e2) => {
23257
23257
  if (!i) return;
@@ -23372,6 +23372,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23372
23372
  ]
23373
23373
  });
23374
23374
  };
23375
+ downloadSizeLimitAtom = atom(null);
23375
23376
  Filenames = {
23376
23377
  toMarkdown: (e) => Filenames.replace(e, "md"),
23377
23378
  toHTML: (e) => Filenames.replace(e, "html"),
@@ -23624,25 +23625,26 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23624
23625
  return ((_a2 = copyOptions.find((t) => t.format === e)) == null ? void 0 : _a2.label) ?? e;
23625
23626
  };
23626
23627
  const ExportMenu = (e) => {
23627
- let t = (0, import_compiler_runtime$8.c)(48), { locale: n } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), [i, o] = import_react.useState(false), s = i ? "text-primary" : "text-muted-foreground", c;
23628
- t[0] === s ? c = t[1] : (c = cn("print:hidden text-xs gap-1", s), t[0] = s, t[1] = c);
23629
- let d;
23630
- t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = (0, import_jsx_runtime.jsx)(Download, {
23628
+ let t = (0, import_compiler_runtime$8.c)(56), { locale: n } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), [i, o] = import_react.useState(false), s = useAtomValue(downloadSizeLimitAtom), c = !!(s && e.sizeBytes != null && e.sizeBytes > s.limitBytes), d = i ? "text-primary" : "text-muted-foreground", h;
23629
+ t[0] === d ? h = t[1] : (h = cn("print:hidden text-xs gap-1", d), t[0] = d, t[1] = h);
23630
+ let _;
23631
+ t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = (0, import_jsx_runtime.jsx)(Download, {
23631
23632
  className: "w-3.5 h-3.5"
23632
- }), t[2] = d) : d = t[2];
23633
- let h;
23634
- t[3] === c ? h = t[4] : (h = (0, import_jsx_runtime.jsxs)(Button, {
23633
+ }), t[2] = _) : _ = t[2];
23634
+ let v;
23635
+ t[3] !== c || t[4] !== h ? (v = (0, import_jsx_runtime.jsxs)(Button, {
23635
23636
  "data-testid": "export-button",
23636
23637
  size: "xs",
23637
23638
  variant: "text",
23638
- className: c,
23639
+ disabled: c,
23640
+ className: h,
23639
23641
  children: [
23640
- d,
23642
+ _,
23641
23643
  "Export"
23642
23644
  ]
23643
- }), t[3] = c, t[4] = h);
23644
- let _ = h, v;
23645
- t[5] === e ? v = t[6] : (v = async (t2, n2) => {
23645
+ }), t[3] = c, t[4] = h, t[5] = v) : v = t[5];
23646
+ let y = v, E;
23647
+ t[6] === e ? E = t[7] : (E = async (t2, n2) => {
23646
23648
  let i2;
23647
23649
  try {
23648
23650
  i2 = await e.downloadAs({
@@ -23667,13 +23669,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23667
23669
  url: i2.url,
23668
23670
  filename: i2.filename
23669
23671
  };
23670
- }, t[5] = e, t[6] = v);
23671
- let y = v, E, O, A, M, I, z, U, K, q, J, Q, TN, $;
23672
- if (t[7] !== _ || t[8] !== n || t[9] !== i || t[10] !== y) {
23672
+ }, t[6] = e, t[7] = E);
23673
+ let O = E, A, M, I, z, U, K, q, J, Q, EN, $, DN, ON;
23674
+ if (t[8] !== y || t[9] !== c || t[10] !== n || t[11] !== i || t[12] !== (s == null ? void 0 : s.unavailableMessage) || t[13] !== O) {
23673
23675
  let e2 = async (t2) => {
23674
23676
  let n2 = labelForDownloadFormat(t2);
23675
23677
  await withLoadingToast(`Preparing ${n2} export...`, async () => {
23676
- let n3 = await y(t2, () => {
23678
+ let n3 = await O(t2, () => {
23677
23679
  e2(t2);
23678
23680
  });
23679
23681
  if (!n3) return false;
@@ -23691,26 +23693,26 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23691
23693
  });
23692
23694
  }, a = async (e3) => {
23693
23695
  await withLoadingToast(`Preparing ${labelForCopyFormat(e3)} for clipboard...`, async () => {
23694
- let t2 = await y(e3 === "csv" ? "csv" : "json", () => {
23696
+ let t2 = await O(e3 === "csv" ? "csv" : "json", () => {
23695
23697
  a(e3);
23696
23698
  });
23697
23699
  if (!t2) return;
23698
23700
  let i2;
23699
- bb70: switch (e3) {
23701
+ bb78: switch (e3) {
23700
23702
  case "tsv":
23701
23703
  i2 = jsonToTSV(await fetchJson(t2.url), n);
23702
- break bb70;
23704
+ break bb78;
23703
23705
  case "json": {
23704
23706
  let e4 = await fetchJson(t2.url);
23705
23707
  i2 = JSON.stringify(e4, null, 2);
23706
- break bb70;
23708
+ break bb78;
23707
23709
  }
23708
23710
  case "csv":
23709
23711
  i2 = await fetchText(t2.url);
23710
- break bb70;
23712
+ break bb78;
23711
23713
  case "markdown":
23712
23714
  i2 = jsonToMarkdown(await fetchJson(t2.url));
23713
- break bb70;
23715
+ break bb78;
23714
23716
  default:
23715
23717
  logNever(e3);
23716
23718
  return;
@@ -23720,19 +23722,26 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23720
23722
  });
23721
23723
  });
23722
23724
  };
23723
- O = DropdownMenu, I = false, z = i, U = o;
23724
- let s2 = i ? false : void 0, c2;
23725
- t[24] === _ ? c2 = t[25] : (c2 = (0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
23725
+ M = DropdownMenu, U = false, K = i, q = o;
23726
+ let d2 = c ? s == null ? void 0 : s.unavailableMessage : "Export", f = i ? false : void 0, h2 = c ? 0 : -1, _2;
23727
+ t[27] !== y || t[28] !== h2 ? (_2 = (0, import_jsx_runtime.jsx)("span", {
23728
+ tabIndex: h2,
23729
+ className: "inline-flex",
23730
+ children: y
23731
+ }), t[27] = y, t[28] = h2, t[29] = _2) : _2 = t[29];
23732
+ let v2;
23733
+ t[30] !== c || t[31] !== _2 ? (v2 = (0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
23726
23734
  asChild: true,
23727
- children: _
23728
- }), t[24] = _, t[25] = c2), t[26] !== s2 || t[27] !== c2 ? (K = (0, import_jsx_runtime.jsx)(Tooltip, {
23729
- content: "Export",
23730
- open: s2,
23731
- children: c2
23732
- }), t[26] = s2, t[27] = c2, t[28] = K) : K = t[28], E = DropdownMenuContent, q = "bottom", J = "print:hidden", t[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Q = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
23735
+ disabled: c,
23736
+ children: _2
23737
+ }), t[30] = c, t[31] = _2, t[32] = v2) : v2 = t[32], t[33] !== d2 || t[34] !== f || t[35] !== v2 ? (J = (0, import_jsx_runtime.jsx)(Tooltip, {
23738
+ content: d2,
23739
+ open: f,
23740
+ children: v2
23741
+ }), t[33] = d2, t[34] = f, t[35] = v2, t[36] = J) : J = t[36], A = DropdownMenuContent, Q = "bottom", EN = "print:hidden", t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($ = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
23733
23742
  className: "text-xs text-muted-foreground",
23734
23743
  children: "Download"
23735
- }), t[29] = Q) : Q = t[29], TN = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
23744
+ }), t[37] = $) : $ = t[37], DN = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
23736
23745
  onSelect: () => {
23737
23746
  e2(t2.format);
23738
23747
  },
@@ -23753,10 +23762,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23753
23762
  ]
23754
23763
  })
23755
23764
  ]
23756
- }, t2.label)), t[30] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($ = (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {}), A = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
23765
+ }, t2.label)), t[38] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ON = (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {}), I = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
23757
23766
  className: "text-xs text-muted-foreground",
23758
23767
  children: "Copy to clipboard"
23759
- }), t[30] = A, t[31] = $) : (A = t[30], $ = t[31]), M = copyOptions.map((e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
23768
+ }), t[38] = I, t[39] = ON) : (I = t[38], ON = t[39]), z = copyOptions.map((e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
23760
23769
  onSelect: async () => {
23761
23770
  try {
23762
23771
  await a(e3.format);
@@ -23785,30 +23794,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23785
23794
  ]
23786
23795
  })
23787
23796
  ]
23788
- }, e3.label)), t[7] = _, t[8] = n, t[9] = i, t[10] = y, t[11] = E, t[12] = O, t[13] = A, t[14] = M, t[15] = I, t[16] = z, t[17] = U, t[18] = K, t[19] = q, t[20] = J, t[21] = Q, t[22] = TN, t[23] = $;
23789
- } else E = t[11], O = t[12], A = t[13], M = t[14], I = t[15], z = t[16], U = t[17], K = t[18], q = t[19], J = t[20], Q = t[21], TN = t[22], $ = t[23];
23790
- let EN;
23791
- t[32] !== E || t[33] !== A || t[34] !== M || t[35] !== q || t[36] !== J || t[37] !== Q || t[38] !== TN || t[39] !== $ ? (EN = (0, import_jsx_runtime.jsxs)(E, {
23792
- side: q,
23793
- className: J,
23797
+ }, e3.label)), t[8] = y, t[9] = c, t[10] = n, t[11] = i, t[12] = s == null ? void 0 : s.unavailableMessage, t[13] = O, t[14] = A, t[15] = M, t[16] = I, t[17] = z, t[18] = U, t[19] = K, t[20] = q, t[21] = J, t[22] = Q, t[23] = EN, t[24] = $, t[25] = DN, t[26] = ON;
23798
+ } else A = t[14], M = t[15], I = t[16], z = t[17], U = t[18], K = t[19], q = t[20], J = t[21], Q = t[22], EN = t[23], $ = t[24], DN = t[25], ON = t[26];
23799
+ let kN;
23800
+ t[40] !== A || t[41] !== I || t[42] !== z || t[43] !== Q || t[44] !== EN || t[45] !== $ || t[46] !== DN || t[47] !== ON ? (kN = (0, import_jsx_runtime.jsxs)(A, {
23801
+ side: Q,
23802
+ className: EN,
23794
23803
  children: [
23795
- Q,
23796
- TN,
23797
23804
  $,
23798
- A,
23799
- M
23805
+ DN,
23806
+ ON,
23807
+ I,
23808
+ z
23800
23809
  ]
23801
- }), t[32] = E, t[33] = A, t[34] = M, t[35] = q, t[36] = J, t[37] = Q, t[38] = TN, t[39] = $, t[40] = EN) : EN = t[40];
23802
- let DN;
23803
- return t[41] !== O || t[42] !== I || t[43] !== z || t[44] !== U || t[45] !== K || t[46] !== EN ? (DN = (0, import_jsx_runtime.jsxs)(O, {
23804
- modal: I,
23805
- open: z,
23806
- onOpenChange: U,
23810
+ }), t[40] = A, t[41] = I, t[42] = z, t[43] = Q, t[44] = EN, t[45] = $, t[46] = DN, t[47] = ON, t[48] = kN) : kN = t[48];
23811
+ let AN;
23812
+ return t[49] !== M || t[50] !== U || t[51] !== K || t[52] !== q || t[53] !== J || t[54] !== kN ? (AN = (0, import_jsx_runtime.jsxs)(M, {
23813
+ modal: U,
23814
+ open: K,
23815
+ onOpenChange: q,
23807
23816
  children: [
23808
- K,
23809
- EN
23817
+ J,
23818
+ kN
23810
23819
  ]
23811
- }), t[41] = O, t[42] = I, t[43] = z, t[44] = U, t[45] = K, t[46] = EN, t[47] = DN) : DN = t[47], DN;
23820
+ }), t[49] = M, t[50] = U, t[51] = K, t[52] = q, t[53] = J, t[54] = kN, t[55] = AN) : AN = t[55], AN;
23812
23821
  };
23813
23822
  function fetchJson(e) {
23814
23823
  return fetchText(e).then(jsonParseWithSpecialChar);
@@ -23822,13 +23831,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23822
23831
  var NOOP_ON_SEARCH = () => {
23823
23832
  };
23824
23833
  let TableTopBar;
23825
- TableTopBar = ({ enableSearch: e, searchQuery: t, onSearchQueryChange: n, reloading: i, showChartBuilder: o, isChartBuilderOpen: s, toggleDisplayHeader: c, showTableExplorer: d, togglePanel: h, isAnyPanelOpen: _, downloadAs: v }) => {
23826
- let [y, S] = (0, import_react.useState)(t || ""), w = useDebounce(y, 500), E = useEvent_default(n ?? NOOP_ON_SEARCH), O = import_react.useRef(null);
23834
+ TableTopBar = ({ enableSearch: e, searchQuery: t, onSearchQueryChange: n, reloading: i, showChartBuilder: o, isChartBuilderOpen: s, toggleDisplayHeader: c, showTableExplorer: d, togglePanel: h, isAnyPanelOpen: _, downloadAs: v, sizeBytes: y }) => {
23835
+ let [S, w] = (0, import_react.useState)(t || ""), E = useDebounce(S, 500), O = useEvent_default(n ?? NOOP_ON_SEARCH), A = import_react.useRef(null);
23827
23836
  return (0, import_react.useEffect)(() => {
23828
- E(w);
23837
+ O(E);
23829
23838
  }, [
23830
- w,
23831
- E
23839
+ E,
23840
+ O
23832
23841
  ]), e && n || o || d || v ? (0, import_jsx_runtime.jsxs)("div", {
23833
23842
  className: "flex items-center h-10 px-2 border-b gap-2",
23834
23843
  children: [
@@ -23839,25 +23848,25 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23839
23848
  className: "w-4 h-4 text-muted-foreground shrink-0"
23840
23849
  }),
23841
23850
  (0, import_jsx_runtime.jsx)("input", {
23842
- ref: O,
23851
+ ref: A,
23843
23852
  type: "text",
23844
23853
  className: "h-6 border-none bg-transparent focus:outline-hidden text-sm w-full min-w-0",
23845
- value: y,
23854
+ value: S,
23846
23855
  onKeyDown: (e2) => {
23847
23856
  var _a2;
23848
- e2.key === "Escape" && (S(""), (_a2 = O.current) == null ? void 0 : _a2.blur());
23857
+ e2.key === "Escape" && (w(""), (_a2 = A.current) == null ? void 0 : _a2.blur());
23849
23858
  },
23850
- onChange: (e2) => S(e2.target.value),
23859
+ onChange: (e2) => w(e2.target.value),
23851
23860
  placeholder: "Search..."
23852
23861
  }),
23853
23862
  i && (0, import_jsx_runtime.jsx)(Spinner, {
23854
23863
  size: "small"
23855
23864
  }),
23856
- y && (0, import_jsx_runtime.jsx)(Button, {
23865
+ S && (0, import_jsx_runtime.jsx)(Button, {
23857
23866
  variant: "text",
23858
23867
  size: "xs",
23859
23868
  className: "h-5 w-5 p-0 shrink-0",
23860
- onClick: () => S(""),
23869
+ onClick: () => w(""),
23861
23870
  children: (0, import_jsx_runtime.jsx)(X, {
23862
23871
  className: "w-3 h-3 text-muted-foreground"
23863
23872
  })
@@ -23892,29 +23901,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23892
23901
  ]
23893
23902
  }),
23894
23903
  v && (0, import_jsx_runtime.jsx)(ExportMenu, {
23895
- downloadAs: v
23904
+ downloadAs: v,
23905
+ sizeBytes: y
23896
23906
  })
23897
23907
  ]
23898
23908
  })
23899
23909
  ]
23900
23910
  }) : null;
23901
23911
  };
23902
- DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: o, rawData: s, selection: c, totalColumns: d, totalRows: f, manualSorting: h = false, sorting: _, setSorting: v, rowSelection: y, cellSelection: S, cellStyling: w, hoverTemplate: E, cellHoverTexts: O, paginationState: A, setPaginationState: M, downloadAs: I, manualPagination: z = false, pagination: U = false, onRowSelectionChange: K, onCellSelectionChange: q, getRowIds: J, enableSearch: Q = false, searchQuery: TN, onSearchQueryChange: $, showFilters: EN = false, filters: DN, onFiltersChange: ON, calculateTopKRows: kN, reloading: AN, freezeColumnsLeft: jN, freezeColumnsRight: MN, toggleDisplayHeader: NN, showChartBuilder: PN, isChartBuilderOpen: FN, showPageSizeSelector: IN, showTableExplorer: LN, togglePanel: RN, isPanelOpen: zN, isAnyPanelOpen: BN, viewedRowIdx: VN, onViewedRowChange: HN }) => {
23903
- let [UN, WN] = import_react.useState(false), { locale: GN } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: KN, setColumnPinning: qN } = useColumnPinning(jN, MN);
23912
+ DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: o, rawData: s, selection: c, totalColumns: d, totalRows: f, sizeBytes: h, manualSorting: _ = false, sorting: v, setSorting: y, rowSelection: S, cellSelection: w, cellStyling: E, hoverTemplate: O, cellHoverTexts: A, paginationState: M, setPaginationState: I, downloadAs: z, manualPagination: U = false, pagination: K = false, onRowSelectionChange: q, onCellSelectionChange: J, getRowIds: Q, enableSearch: EN = false, searchQuery: $, onSearchQueryChange: DN, showFilters: ON = false, filters: kN, onFiltersChange: AN, calculateTopKRows: jN, reloading: MN, freezeColumnsLeft: NN, freezeColumnsRight: PN, toggleDisplayHeader: FN, showChartBuilder: IN, isChartBuilderOpen: LN, showPageSizeSelector: RN, showTableExplorer: zN, togglePanel: BN, isPanelOpen: VN, isAnyPanelOpen: HN, viewedRowIdx: UN, onViewedRowChange: WN }) => {
23913
+ let [GN, KN] = import_react.useState(false), { locale: qN } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: JN, setColumnPinning: YN } = useColumnPinning(NN, PN);
23904
23914
  import_react.useEffect(() => {
23905
23915
  let e2;
23906
- return AN ? e2 = setTimeout(() => {
23907
- WN(true);
23908
- }, 300) : WN(false), () => {
23916
+ return MN ? e2 = setTimeout(() => {
23917
+ KN(true);
23918
+ }, 300) : KN(false), () => {
23909
23919
  e2 && clearTimeout(e2);
23910
23920
  };
23911
23921
  }, [
23912
- AN
23922
+ MN
23913
23923
  ]);
23914
- function JN(e2, t2) {
23915
- return A ? t2 + (z ? A.pageIndex * A.pageSize : 0) : t2;
23924
+ function XN(e2, t2) {
23925
+ return M ? t2 + (U ? M.pageIndex * M.pageSize : 0) : t2;
23916
23926
  }
23917
- let YN = useReactTable({
23927
+ let ZN = useReactTable({
23918
23928
  _features: [
23919
23929
  ColumnPinning,
23920
23930
  ColumnWrappingFeature,
@@ -23933,66 +23943,66 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23933
23943
  },
23934
23944
  getCoreRowModel: getCoreRowModel(),
23935
23945
  rowCount: f === "too_many" ? void 0 : f,
23936
- ...M ? {
23937
- onPaginationChange: M,
23946
+ ...I ? {
23947
+ onPaginationChange: I,
23938
23948
  getRowId: (e2, t2) => {
23939
23949
  let n2 = getStableRowId(e2);
23940
23950
  if (n2) return n2;
23941
- let i2 = JN(e2, t2);
23951
+ let i2 = XN(e2, t2);
23942
23952
  return String(i2);
23943
23953
  }
23944
23954
  } : {},
23945
- locale: GN,
23946
- manualPagination: z,
23955
+ locale: qN,
23956
+ manualPagination: U,
23947
23957
  getPaginationRowModel: getPaginationRowModel(),
23948
- ...v ? {
23949
- onSortingChange: v
23958
+ ...y ? {
23959
+ onSortingChange: y
23950
23960
  } : {},
23951
- manualSorting: h,
23961
+ manualSorting: _,
23952
23962
  enableMultiSort: true,
23953
23963
  getSortedRowModel: getSortedRowModel(),
23954
23964
  manualFiltering: true,
23955
- enableColumnFilters: EN,
23965
+ enableColumnFilters: ON,
23956
23966
  getFilteredRowModel: getFilteredRowModel(),
23957
- onColumnFiltersChange: ON,
23958
- onRowSelectionChange: K,
23959
- onCellSelectionChange: q,
23967
+ onColumnFiltersChange: AN,
23968
+ onRowSelectionChange: q,
23969
+ onCellSelectionChange: J,
23960
23970
  enableCellSelection: c === "single-cell" || c === "multi-cell",
23961
23971
  enableMultiCellSelection: c === "multi-cell",
23962
- onColumnPinningChange: qN,
23972
+ onColumnPinningChange: YN,
23963
23973
  enableFocusRow: true,
23964
- onFocusRowChange: HN,
23974
+ onFocusRowChange: WN,
23965
23975
  state: {
23966
- ..._ ? {
23967
- sorting: _
23976
+ ...v ? {
23977
+ sorting: v
23968
23978
  } : {},
23969
- columnFilters: DN,
23970
- ...A ? {
23971
- pagination: A
23972
- } : U && !A ? {} : {
23979
+ columnFilters: kN,
23980
+ ...M ? {
23981
+ pagination: M
23982
+ } : K && !M ? {} : {
23973
23983
  pagination: {
23974
23984
  pageIndex: 0,
23975
23985
  pageSize: o.length
23976
23986
  }
23977
23987
  },
23978
- rowSelection: y ?? {},
23979
- cellSelection: S ?? [],
23980
- cellStyling: w,
23981
- columnPinning: KN,
23982
- cellHoverTemplate: E,
23983
- cellHoverTexts: O ?? {}
23984
- }
23985
- }), XN = (zN == null ? void 0 : zN(PANEL_TYPES.ROW_VIEWER)) ?? false, ZN = !U && o.length > 100, QN = useScrollContainerHeight({
23988
+ rowSelection: S ?? {},
23989
+ cellSelection: w ?? [],
23990
+ cellStyling: E,
23991
+ columnPinning: JN,
23992
+ cellHoverTemplate: O,
23993
+ cellHoverTexts: A ?? {}
23994
+ }
23995
+ }), QN = (VN == null ? void 0 : VN(PANEL_TYPES.ROW_VIEWER)) ?? false, $N = !K && o.length > 100, eP = useScrollContainerHeight({
23986
23996
  maxHeight: n,
23987
- virtualize: ZN
23997
+ virtualize: $N
23988
23998
  });
23989
23999
  return (0, import_jsx_runtime.jsxs)("div", {
23990
24000
  className: cn(e, "flex flex-col space-y-1"),
23991
24001
  children: [
23992
24002
  (0, import_jsx_runtime.jsx)(FilterPills, {
23993
- filters: DN,
23994
- table: YN,
23995
- calculateTopKRows: kN
24003
+ filters: kN,
24004
+ table: ZN,
24005
+ calculateTopKRows: jN
23996
24006
  }),
23997
24007
  (0, import_jsx_runtime.jsx)(CellSelectionProvider, {
23998
24008
  children: (0, import_jsx_runtime.jsxs)("div", {
@@ -24000,33 +24010,34 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
24000
24010
  className: cn(t || "rounded-md border overflow-hidden"),
24001
24011
  children: [
24002
24012
  (0, import_jsx_runtime.jsx)(TableTopBar, {
24003
- enableSearch: Q,
24004
- searchQuery: TN,
24005
- onSearchQueryChange: $,
24006
- reloading: AN,
24007
- showChartBuilder: PN,
24008
- isChartBuilderOpen: FN,
24009
- toggleDisplayHeader: NN,
24010
- showTableExplorer: LN,
24011
- togglePanel: RN,
24012
- isAnyPanelOpen: BN,
24013
- downloadAs: I
24013
+ enableSearch: EN,
24014
+ searchQuery: $,
24015
+ onSearchQueryChange: DN,
24016
+ reloading: MN,
24017
+ showChartBuilder: IN,
24018
+ isChartBuilderOpen: LN,
24019
+ toggleDisplayHeader: FN,
24020
+ showTableExplorer: zN,
24021
+ togglePanel: BN,
24022
+ isAnyPanelOpen: HN,
24023
+ downloadAs: z,
24024
+ sizeBytes: h
24014
24025
  }),
24015
24026
  (0, import_jsx_runtime.jsxs)(Table, {
24016
24027
  className: cn("relative", i.length <= 4 ? "w-auto" : "w-full"),
24017
- ref: QN,
24028
+ ref: eP,
24018
24029
  children: [
24019
- UN && (0, import_jsx_runtime.jsx)("thead", {
24030
+ GN && (0, import_jsx_runtime.jsx)("thead", {
24020
24031
  className: "absolute top-0 left-0 h-[3px] w-1/2 bg-primary animate-slide"
24021
24032
  }),
24022
- renderTableHeader(YN, ZN || !!n),
24033
+ renderTableHeader(ZN, $N || !!n),
24023
24034
  (0, import_jsx_runtime.jsx)(DataTableBody, {
24024
- table: YN,
24035
+ table: ZN,
24025
24036
  columns: i,
24026
- rowViewerPanelOpen: XN,
24027
- getRowIndex: JN,
24028
- viewedRowIdx: VN,
24029
- virtualize: ZN
24037
+ rowViewerPanelOpen: QN,
24038
+ getRowIndex: XN,
24039
+ viewedRowIdx: UN,
24040
+ virtualize: $N
24030
24041
  })
24031
24042
  ]
24032
24043
  }),
@@ -24034,13 +24045,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
24034
24045
  part: "table-footer",
24035
24046
  className: "pt-1.5 pb-0.5 border-t border-border",
24036
24047
  totalColumns: d,
24037
- pagination: U,
24048
+ pagination: K,
24038
24049
  selection: c,
24039
- onRowSelectionChange: K,
24040
- table: YN,
24041
- getRowIds: J,
24042
- showPageSizeSelector: IN,
24043
- tableLoading: AN
24050
+ onRowSelectionChange: q,
24051
+ table: ZN,
24052
+ getRowIds: Q,
24053
+ showPageSizeSelector: RN,
24054
+ tableLoading: MN
24044
24055
  })
24045
24056
  ]
24046
24057
  })
@@ -24130,67 +24141,67 @@ ${_}`,
24130
24141
  });
24131
24142
  }, [q, J] = _.split(":", 2), Q = d ? KEY : "", $;
24132
24143
  t[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($ = () => h(_temp$3), t[10] = $) : $ = t[10];
24133
- let EN = d ? "rotate-180" : "rotate-0", DN;
24134
- t[11] === EN ? DN = t[12] : (DN = cn("h-4 w-4 text-muted-foreground transition-transform duration-200 shrink-0", EN), t[11] = EN, t[12] = DN);
24135
- let ON;
24136
- t[13] === DN ? ON = t[14] : (ON = (0, import_jsx_runtime.jsx)(ChevronDown, {
24137
- className: DN
24138
- }), t[13] = DN, t[14] = ON);
24139
- let kN = q || "Error", AN;
24140
- t[15] === kN ? AN = t[16] : (AN = (0, import_jsx_runtime.jsxs)("span", {
24144
+ let DN = d ? "rotate-180" : "rotate-0", ON;
24145
+ t[11] === DN ? ON = t[12] : (ON = cn("h-4 w-4 text-muted-foreground transition-transform duration-200 shrink-0", DN), t[11] = DN, t[12] = ON);
24146
+ let kN;
24147
+ t[13] === ON ? kN = t[14] : (kN = (0, import_jsx_runtime.jsx)(ChevronDown, {
24148
+ className: ON
24149
+ }), t[13] = ON, t[14] = kN);
24150
+ let AN = q || "Error", jN;
24151
+ t[15] === AN ? jN = t[16] : (jN = (0, import_jsx_runtime.jsxs)("span", {
24141
24152
  className: "text-destructive",
24142
24153
  children: [
24143
- kN,
24154
+ AN,
24144
24155
  ":"
24145
24156
  ]
24146
- }), t[15] = kN, t[16] = AN);
24147
- let jN;
24148
- t[17] !== J || t[18] !== AN ? (jN = (0, import_jsx_runtime.jsxs)("div", {
24157
+ }), t[15] = AN, t[16] = jN);
24158
+ let MN;
24159
+ t[17] !== J || t[18] !== jN ? (MN = (0, import_jsx_runtime.jsxs)("div", {
24149
24160
  className: "text-sm inline font-mono",
24150
24161
  children: [
24151
- AN,
24162
+ jN,
24152
24163
  " ",
24153
24164
  J
24154
24165
  ]
24155
- }), t[17] = J, t[18] = AN, t[19] = jN) : jN = t[19];
24156
- let NN;
24157
- t[20] !== jN || t[21] !== ON ? (NN = (0, import_jsx_runtime.jsxs)("div", {
24166
+ }), t[17] = J, t[18] = jN, t[19] = MN) : MN = t[19];
24167
+ let PN;
24168
+ t[20] !== MN || t[21] !== kN ? (PN = (0, import_jsx_runtime.jsxs)("div", {
24158
24169
  className: "flex gap-2 h-10 px-2 hover:bg-muted rounded-sm select-none items-center cursor-pointer transition-all",
24159
24170
  onClick: $,
24160
24171
  children: [
24161
- ON,
24162
- jN
24172
+ kN,
24173
+ MN
24163
24174
  ]
24164
- }), t[20] = jN, t[21] = ON, t[22] = NN) : NN = t[22];
24165
- let PN;
24166
- t[23] === c ? PN = t[24] : (PN = (0, import_jsx_runtime.jsx)(AccordionContent, {
24175
+ }), t[20] = MN, t[21] = kN, t[22] = PN) : PN = t[22];
24176
+ let FN;
24177
+ t[23] === c ? FN = t[24] : (FN = (0, import_jsx_runtime.jsx)(AccordionContent, {
24167
24178
  className: "text-muted-foreground px-4 pt-2 text-xs overflow-auto",
24168
24179
  children: c
24169
- }), t[23] = c, t[24] = PN);
24170
- let IN;
24171
- t[25] !== NN || t[26] !== PN ? (IN = (0, import_jsx_runtime.jsxs)(AccordionItem, {
24180
+ }), t[23] = c, t[24] = FN);
24181
+ let LN;
24182
+ t[25] !== PN || t[26] !== FN ? (LN = (0, import_jsx_runtime.jsxs)(AccordionItem, {
24172
24183
  value: KEY,
24173
24184
  className: "border-none",
24174
24185
  children: [
24175
- NN,
24176
- PN
24186
+ PN,
24187
+ FN
24177
24188
  ]
24178
- }), t[25] = NN, t[26] = PN, t[27] = IN) : IN = t[27];
24179
- let LN;
24180
- t[28] !== IN || t[29] !== Q ? (LN = (0, import_jsx_runtime.jsx)(Accordion, {
24189
+ }), t[25] = PN, t[26] = FN, t[27] = LN) : LN = t[27];
24190
+ let RN;
24191
+ t[28] !== LN || t[29] !== Q ? (RN = (0, import_jsx_runtime.jsx)(Accordion, {
24181
24192
  type: "single",
24182
24193
  collapsible: true,
24183
24194
  value: Q,
24184
- children: IN
24185
- }), t[28] = IN, t[29] = Q, t[30] = LN) : LN = t[30];
24186
- let RN;
24187
- t[31] !== K || t[32] !== I ? (RN = I && (0, import_jsx_runtime.jsx)(AIFixButton, {
24195
+ children: LN
24196
+ }), t[28] = LN, t[29] = Q, t[30] = RN) : RN = t[30];
24197
+ let zN;
24198
+ t[31] !== K || t[32] !== I ? (zN = I && (0, import_jsx_runtime.jsx)(AIFixButton, {
24188
24199
  tooltip: "Fix with AI",
24189
24200
  openPrompt: () => K(false),
24190
24201
  applyAutofix: () => K(true)
24191
- }), t[31] = K, t[32] = I, t[33] = RN) : RN = t[33];
24192
- let BN;
24193
- t[34] !== A || t[35] !== E ? (BN = A && (0, import_jsx_runtime.jsx)(Tooltip, {
24202
+ }), t[31] = K, t[32] = I, t[33] = zN) : zN = t[33];
24203
+ let VN;
24204
+ t[34] !== A || t[35] !== E ? (VN = A && (0, import_jsx_runtime.jsx)(Tooltip, {
24194
24205
  content: "Attach pdb to the exception point.",
24195
24206
  children: (0, import_jsx_runtime.jsxs)(Button, {
24196
24207
  size: "xs",
@@ -24207,9 +24218,9 @@ ${_}`,
24207
24218
  "Launch debugger"
24208
24219
  ]
24209
24220
  })
24210
- }), t[34] = A, t[35] = E, t[36] = BN) : BN = t[36];
24211
- let VN;
24212
- t[37] !== _ || t[38] !== i ? (VN = U && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
24221
+ }), t[34] = A, t[35] = E, t[36] = VN) : VN = t[36];
24222
+ let HN;
24223
+ t[37] !== _ || t[38] !== i ? (HN = U && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
24213
24224
  children: [
24214
24225
  (0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
24215
24226
  asChild: true,
@@ -24277,24 +24288,24 @@ ${_}`,
24277
24288
  ]
24278
24289
  })
24279
24290
  ]
24280
- }), t[37] = _, t[38] = i, t[39] = VN) : VN = t[39];
24281
- let HN;
24282
- t[40] !== RN || t[41] !== BN || t[42] !== VN ? (HN = (0, import_jsx_runtime.jsxs)("div", {
24291
+ }), t[37] = _, t[38] = i, t[39] = HN) : HN = t[39];
24292
+ let UN;
24293
+ t[40] !== zN || t[41] !== VN || t[42] !== HN ? (UN = (0, import_jsx_runtime.jsxs)("div", {
24283
24294
  className: "flex gap-2",
24284
24295
  children: [
24285
- RN,
24286
- BN,
24287
- VN
24296
+ zN,
24297
+ VN,
24298
+ HN
24288
24299
  ]
24289
- }), t[40] = RN, t[41] = BN, t[42] = VN, t[43] = HN) : HN = t[43];
24290
- let UN;
24291
- return t[44] !== LN || t[45] !== HN ? (UN = (0, import_jsx_runtime.jsxs)("div", {
24300
+ }), t[40] = zN, t[41] = VN, t[42] = HN, t[43] = UN) : UN = t[43];
24301
+ let WN;
24302
+ return t[44] !== RN || t[45] !== UN ? (WN = (0, import_jsx_runtime.jsxs)("div", {
24292
24303
  className: "flex flex-col gap-2 min-w-full w-fit",
24293
24304
  children: [
24294
- LN,
24295
- HN
24305
+ RN,
24306
+ UN
24296
24307
  ]
24297
- }), t[44] = LN, t[45] = HN, t[46] = UN) : UN = t[46], UN;
24308
+ }), t[44] = RN, t[45] = UN, t[46] = WN) : WN = t[46], WN;
24298
24309
  };
24299
24310
  function lastLine(e) {
24300
24311
  var _a2, _b;
@@ -25680,7 +25691,7 @@ ${_}`,
25680
25691
  return Logger.warn("Failed to get version from mount config"), null;
25681
25692
  }
25682
25693
  }
25683
- marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.7-dev1");
25694
+ marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.7-dev10");
25684
25695
  showCodeInRunModeAtom = atom(true);
25685
25696
  atom(null);
25686
25697
  var import_compiler_runtime = require_compiler_runtime();