@marimo-team/islands 0.23.17-dev8 → 0.24.0

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 (643) hide show
  1. package/dist/{ConnectedDataExplorerComponent-f9vLjQiF.js → ConnectedDataExplorerComponent-BUC1MrsF.js} +24 -24
  2. package/dist/{ErrorBoundary-DhLqwSWA.js → ErrorBoundary-BniTEhHn.js} +7 -7
  3. package/dist/{ImageComparisonComponent-C3y7L3eJ.js → ImageComparisonComponent-B7b8DcJI.js} +42 -31
  4. package/dist/{Plot-YQOuVIei.js → Plot-eTseCFf_.js} +4 -4
  5. package/dist/_initCloneObject-DNUst5Cg.js +91 -0
  6. package/dist/abnfDiagram-N423BO3Z-DA4j92-C.js +112 -0
  7. package/dist/{any-language-editor-DifE-fl7.js → any-language-editor-LHl8ZmVN.js} +26 -26
  8. package/dist/apl-Cwo7GIH7.js +4 -0
  9. package/dist/{arc-CTIpFoOn.js → arc-9nABupDE.js} +2 -2
  10. package/dist/architecture-TIHT7OUA-DxLlkuAK.js +5 -0
  11. package/dist/{architectureDiagram-VXUJARFQ-DXwkyAaM.js → architectureDiagram-T3A2C74G-BBlBK1Oh.js} +327 -214
  12. package/dist/{arrays-sEtDRoG4.js → arrays-C56grfjL.js} +1 -1
  13. package/dist/asciiarmor-jrfEZ3j_.js +4 -0
  14. package/dist/asn1-BNEiJ4nQ.js +4 -0
  15. package/dist/assets/__vite-browser-external-DUz7vvG0.js +1 -0
  16. package/dist/assets/{worker-CDEKsBgX.js → worker-Cl1KJG2_.js} +2 -2
  17. package/dist/blockDiagram-VBNYF7ZC-Datz1WNn.js +3284 -0
  18. package/dist/brainfuck-BCunvTbd.js +4 -0
  19. package/dist/{button-BSm8IXRU.js → button-Dr2uAwhT.js} +9 -7
  20. package/dist/{c4Diagram-YG6GDRKO-B6dZC_oU.js → c4Diagram-5PPSVZJV-DTIsibpE.js} +165 -162
  21. package/dist/{capabilities-C6OQ5YBO.js → capabilities-BilXeZ7p.js} +2 -2
  22. package/dist/{channel-BN070S0F.js → channel-CuV_jmG4.js} +1 -1
  23. package/dist/chat-ui-o-tATfmW.js +8619 -0
  24. package/dist/{check-DP7U0H0G.js → check-58HHfHKy.js} +1 -1
  25. package/dist/chunk-2GRJ4B5K-DRayWnnu.js +68 -0
  26. package/dist/{chunk-QZHKN3VN-Dym5BS7y.js → chunk-2Q5K7J3B-BSLyFOHa.js} +1 -1
  27. package/dist/chunk-3NCLNEKW-BPlp8K7N.js +11 -0
  28. package/dist/chunk-4I5QYGJK-CYJC3pkC.js +260 -0
  29. package/dist/chunk-5FCAYU7R-C3cMIeyz.js +24 -0
  30. package/dist/{chunk-5FQGJX7Z-B9WoXK1R.js → chunk-5FQGJX7Z-BRZ_XYUw.js} +6 -6
  31. package/dist/chunk-5HE753X5-D2jFCVXb.js +34 -0
  32. package/dist/chunk-5JV3BV7I-B7tzprBU.js +50 -0
  33. package/dist/{chunk-DI55MBZ5-D4Y8yV8B.js → chunk-5RXB4S5H-DcCPfb0q.js} +373 -327
  34. package/dist/chunk-5TONJI2A-LRqbgPte.js +59 -0
  35. package/dist/{chunk-FMBD7UC4-quJmebXa.js → chunk-5VM5RSS4-ChXEBudA.js} +1 -1
  36. package/dist/chunk-6Q2QTUOP-zcnb3OaV.js +503 -0
  37. package/dist/{chunk-HN2XXSSU-Bv0QkeMr.js → chunk-7BUUIJ7U-CkIbJNZo.js} +32 -25
  38. package/dist/chunk-7Z6QIM7H-1j-x7ddW.js +606 -0
  39. package/dist/{chunk-FRFDVMJY-BHBqN-vD.js → chunk-BIQX33UG-B-BYk6sM.js} +3 -3
  40. package/dist/chunk-Bfp04NdC.js +25 -0
  41. package/dist/chunk-CQNSW5MT-DBXDKSOU.js +34 -0
  42. package/dist/{chunk-4F5CHEZ2-VlodlEGo.js → chunk-CYSBUYHQ-Cv-vKQV-.js} +1 -1
  43. package/dist/{chunk-SJTYNZTY-DnXoKWpW.js → chunk-EMLP6XTP-DCtMkXLF.js} +1 -1
  44. package/dist/{chunk-B4BG7PRW-B_z2FEHm.js → chunk-GF5L2VYU-esTxzELH.js} +878 -636
  45. package/dist/chunk-I66GZJ75-9xAsFrdW.js +3744 -0
  46. package/dist/chunk-J7OUQ5F2-CbNBTlFM.js +81 -0
  47. package/dist/chunk-JG7HCLWE-CZIm6axg.js +59 -0
  48. package/dist/{flowDiagram-NV44I4VS-BRhSg-ro.js → chunk-JQJVKLGR-ZALkKVji.js} +1019 -1001
  49. package/dist/{chunk-4BX2VUAB-iU5lQTDI.js → chunk-JWPE2WC7-C_Daz-Oc.js} +1 -1
  50. package/dist/{chunk-QN33PNHL-DPBNNzpR.js → chunk-KBJHAD2P-B7m9DztL.js} +3 -2
  51. package/dist/chunk-KEIR6QF5-aP6TmWQ-.js +21095 -0
  52. package/dist/{chunk-UMXZTB3W-D1uHz8MN.js → chunk-MOZMSUNE-BQi-ggQx.js} +7 -4
  53. package/dist/{chunk-S3R3BYOJ-BdgLc8AM.js → chunk-NSK5VX7P-BmmoJBbx.js} +320 -29
  54. package/dist/chunk-OSBZ3O6U-BcrmpSY_.js +22 -0
  55. package/dist/{chunk-TQ3KTPDO-CsDx6v37.js → chunk-QBLGF6JB-BACuPUWb.js} +3 -3
  56. package/dist/chunk-QR6OTTB3-C4L1dLRd.js +3762 -0
  57. package/dist/{chunk-B2363JML-zL3VngtH.js → chunk-R7FJI6CG-BYAXJpIb.js} +3 -3
  58. package/dist/chunk-RYQCIY6F-poA0Ugpr.js +243 -0
  59. package/dist/chunk-U6XO7XAA-I8tCjTeT.js +60 -0
  60. package/dist/chunk-UBXNYLIW-C8LueN5Q.js +34 -0
  61. package/dist/{chunk-ATLVNIR6-qFiszptQ.js → chunk-W5SLKNZC-DK-_KuKT.js} +2 -2
  62. package/dist/{chunk-JA3XYJ7Z-CY4CRbV5.js → chunk-WRU74C26-DLgw-V0j.js} +262 -451
  63. package/dist/chunk-XXDRQBXY-Dzcp3rUR.js +9 -0
  64. package/dist/chunk-Y2CYZVJY-DX3DSigL.js +13 -0
  65. package/dist/{chunk-PL6DKKU2-CAHKc95s.js → chunk-YOTPTUD7-C8qfgaz5.js} +5 -5
  66. package/dist/{chunk-MI3HLSF2-HGWI-8Pg.js → chunk-ZIRB5QZD-_JX1DzEJ.js} +12 -8
  67. package/dist/classDiagram-JCYQIIEL-D8A6ZyXv.js +32 -0
  68. package/dist/classDiagram-v2-OCEON4UE-DIdYl-t3.js +32 -0
  69. package/dist/{click-outside-container-BSIeYt4y.js → click-outside-container-BZNsAj09.js} +2 -2
  70. package/dist/{clike-7lgyEYRk.js → clike-CWndBX_M.js} +1 -1
  71. package/dist/clojure-2X0Rfij9.js +4 -0
  72. package/dist/cmake-DEwzCy9U.js +4 -0
  73. package/dist/cobol-Ck4eCoAB.js +4 -0
  74. package/dist/{code-block-37QAKDTI-MSxEjskJ.js → code-block-37QAKDTI-B4pWe5MI.js} +4 -4
  75. package/dist/coffeescript-bB1IDwhg.js +4 -0
  76. package/dist/{common-BLoQG6ym.js → common-DV4qU2ew.js} +797 -804
  77. package/dist/commonlisp-BDYrVBNC.js +4 -0
  78. package/dist/{compiler-runtime-CEbnTgxf.js → compiler-runtime-DsR6imPN.js} +2 -2
  79. package/dist/{copy-DNq8q3zw.js → copy-C7ZKMKox.js} +5 -5
  80. package/dist/{cose-bilkent-S5V4N54A-BYj0aL7z.js → cose-bilkent-JH36ORCC-D6iQzSi6.js} +6 -5
  81. package/dist/crystal-BSoiVUiH.js +4 -0
  82. package/dist/css-w1h9i21f.js +4 -0
  83. package/dist/cynefin-VYW2F7L2-DnZOHyNF.js +5 -0
  84. package/dist/cynefinDiagram-MW4NZA55-B1GNPS2u.js +367 -0
  85. package/dist/cypher-B4xzuKGP.js +4 -0
  86. package/dist/{cytoscape.esm-Dr8XzXWK.js → cytoscape.esm-BPa26Dup.js} +393 -334
  87. package/dist/d-D50Bz34p.js +4 -0
  88. package/dist/{dagre-By_QsQgc.js → dagre-ThTNj8pe.js} +60 -45
  89. package/dist/dagre-VZM6K2ZE-DEs5dfXA.js +343 -0
  90. package/dist/{data-grid-overlay-editor-BWRG2b_o.js → data-grid-overlay-editor-Ci7TXVf5.js} +5 -5
  91. package/dist/{debounce-BOD3DbfP.js → debounce-D784bpms.js} +2 -2
  92. package/dist/{defaultLocale-BpsHxBd7.js → defaultLocale-CMezyvMc.js} +26 -26
  93. package/dist/diagram-7IWD3JNH-Bdk1_wJO.js +321 -0
  94. package/dist/diagram-B4RE2ZJO-Be9eYLJ0.js +464 -0
  95. package/dist/{diagram-S2PKOQOG-CGh4OMEV.js → diagram-LBJQPF4R-BNSnzxFw.js} +26 -18
  96. package/dist/{diagram-PSM6KHXK-D4ftnaua.js → diagram-Q27KOJAE-NPRzyGtd.js} +68 -63
  97. package/dist/diagram-UB23O5K3-Dogz4itg.js +236 -0
  98. package/dist/diff-BMdzfXq-.js +4 -0
  99. package/dist/{dist-BTdrwBWP.js → dist-72nb8Uag.js} +3 -3
  100. package/dist/{dist-CV79CsQ0.js → dist-9PC5KxMl.js} +2 -2
  101. package/dist/{dist-BOMbzyb3.js → dist-Awj73yUw.js} +3 -3
  102. package/dist/{dist-w_gWE5Wf.js → dist-B0Ctcrt9.js} +1 -1
  103. package/dist/{dist-BO5HRiTf.js → dist-B1Donbpk.js} +2 -2
  104. package/dist/dist-BC6wzWNb.js +5 -0
  105. package/dist/{dist-De-GlSAs.js → dist-BJ2IUa0l.js} +15 -9
  106. package/dist/dist-BMd_RcOy.js +5 -0
  107. package/dist/dist-BZEWjN6r.js +5 -0
  108. package/dist/{dist-BP39XM8u.js → dist-B_K4AAkc.js} +1 -1
  109. package/dist/dist-BeuGjR3n.js +6 -0
  110. package/dist/dist-BfDQCUe6.js +5 -0
  111. package/dist/dist-BhNblTOV.js +8 -0
  112. package/dist/{dist-BPF0gTRZ.js → dist-C0ifRfXi.js} +1 -1
  113. package/dist/{dist-pqIwD8VD.js → dist-C3mEki35.js} +2 -2
  114. package/dist/{dist-LpLXa9Lb.js → dist-CNfV2vDI.js} +2 -2
  115. package/dist/{dist-DviUBLUp.js → dist-COcQ5Vyc.js} +4 -4
  116. package/dist/dist-CRCm4Fuo.js +5 -0
  117. package/dist/{dist-4lVIWUT3.js → dist-CSZpLb9d.js} +1 -1
  118. package/dist/{dist-BIEt-mlF.js → dist-CWswQBvu.js} +1 -1
  119. package/dist/{dist-D3bdsa1d.js → dist-CXYro_Nw.js} +4 -4
  120. package/dist/{dist-CRmSjkLP.js → dist-Ckfsc8C3.js} +2 -2
  121. package/dist/{dist-CSlJrrAw.js → dist-Cyq6Pxtv.js} +1 -1
  122. package/dist/{dist-JGehap7K.js → dist-D-BWPyoX.js} +5 -5
  123. package/dist/{dist-BCX980mU.js → dist-D-YB6j-O.js} +2 -2
  124. package/dist/{dist-DgjbnqTg.js → dist-D1vYHETp.js} +2 -2
  125. package/dist/{dist-BpeiYpG2.js → dist-D9-ePb6D.js} +2 -2
  126. package/dist/dist-DBPEbGkd.js +8 -0
  127. package/dist/{dist-C2_4pjuS.js → dist-DC409ROm.js} +1 -1
  128. package/dist/{dist-BdqCKQ1O.js → dist-DJRUd9aM.js} +2 -2
  129. package/dist/{dist-DaXJPX8F.js → dist-DLvxZEAK.js} +2 -2
  130. package/dist/dist-DSsl8IAI.js +5 -0
  131. package/dist/{dist-3NCqaWjt.js → dist-D_ulymry.js} +2 -2
  132. package/dist/{dist-DZwp8lro.js → dist-DgY27bJ4.js} +3 -3
  133. package/dist/{dist-BwhXBwMd.js → dist-DiwVZiK7.js} +1 -1
  134. package/dist/{dist-DwqBJ014.js → dist-DnYHhW6c.js} +2 -2
  135. package/dist/dist-Dx0kkrek.js +5 -0
  136. package/dist/{dist-DsoKosxi.js → dist-HaLHv0k5.js} +2 -3
  137. package/dist/dist-NKA1TU8a.js +6 -0
  138. package/dist/dist-ZFcsIdHj.js +8 -0
  139. package/dist/{dist-C18MUWTj.js → dist-iZ8-rtUy.js} +2 -2
  140. package/dist/{dist-DIlxLFXG.js → dist-j30bBjjN.js} +15 -15
  141. package/dist/{dist-SXNmlE8A.js → dist-kOCFEa1U.js} +3 -3
  142. package/dist/{dist-CFSb_Frm.js → dist-sxRUVPmt.js} +1 -1
  143. package/dist/dist-uA2RbGmY.js +5 -0
  144. package/dist/{dist-B2jmQKKx.js → dist-xVU82Nq7.js} +2 -2
  145. package/dist/dist-zSCo-xCB.js +8 -0
  146. package/dist/{dockerfile-B82Pkz_V.js → dockerfile-DImRFUlA.js} +1 -1
  147. package/dist/dtd-B9dCT0pu.js +4 -0
  148. package/dist/dylan-DLghDyuR.js +4 -0
  149. package/dist/ebnfDiagram-BXEA7PRR-CqRWkG7L.js +129 -0
  150. package/dist/ecl-w0qdPHDB.js +4 -0
  151. package/dist/eiffel-C5AWRCNP.js +4 -0
  152. package/dist/elm-CT8FZrOm.js +4 -0
  153. package/dist/{erDiagram-Q2GNP2WA-BcKAHFqF.js → erDiagram-JOGREHBK-BZMJX-Au.js} +568 -436
  154. package/dist/erlang-DPD-9M5g.js +4 -0
  155. package/dist/{error-banner-B_GQfxxD.js → error-banner-BwCLtmkH.js} +6 -6
  156. package/dist/{esm-CuQHjs36.js → esm-BJ4n0NUT.js} +1 -1
  157. package/dist/{esm-DKOv6P2M.js → esm-Dusmf6uu.js} +105 -105
  158. package/dist/{esm-DzZVaNH4.js → esm-QLUgkqzZ.js} +6 -6
  159. package/dist/eventmodeling-45OFAUF4-D8Kbnsr6.js +5 -0
  160. package/dist/{extends-w2_S44bV.js → extends-iFBneQO_.js} +9 -9
  161. package/dist/{factor-Bq2mGIHt.js → factor-BonZgUGg.js} +1 -1
  162. package/dist/factor-rFfeJu3r.js +4 -0
  163. package/dist/flowDiagram-UKHOOZJN-DqIE8_b3.js +21 -0
  164. package/dist/{formats-Dwq1THhr.js → formats-HSfYlcA8.js} +7 -7
  165. package/dist/forth-C-3AyQx4.js +4 -0
  166. package/dist/fortran-BSN9TeT7.js +4 -0
  167. package/dist/ganttDiagram-PKOTCBZU-Bc9puoXb.js +2207 -0
  168. package/dist/gas-DwmuvQpB.js +4 -0
  169. package/dist/gherkin-gmCjL-Sn.js +4 -0
  170. package/dist/{gitGraph-G5XIXVHT-BjTx0kww.js → gitGraph-TEB2WS4Q-DVzLmQHc.js} +2 -3
  171. package/dist/gitGraphDiagram-DS77QQ5N-CqKr-Dfg.js +766 -0
  172. package/dist/{glide-data-editor-B9K6-MJe.js → glide-data-editor-BI2i_IEE.js} +18 -18
  173. package/dist/graphlib-DMVIRZap.js +614 -0
  174. package/dist/groovy-DCjvesOy.js +4 -0
  175. package/dist/hasIn-synBnXn4.js +119 -0
  176. package/dist/haskell-C1p0D9L8.js +4 -0
  177. package/dist/haxe-q-fgv0zr.js +5 -0
  178. package/dist/{html-to-image-CZ1kLKkq.js → html-to-image-BOiFHx3u.js} +7535 -3056
  179. package/dist/idl-Bmg4bsnK.js +4 -0
  180. package/dist/{info-VBDWY6EO-CA67FznA.js → info-DKCQHKI2-BxOTqQHM.js} +2 -3
  181. package/dist/infoDiagram-6WML65LV-B869X2KY.js +37 -0
  182. package/dist/{input-C5K4VBvB.js → input-BRE2a7Ay.js} +13 -13
  183. package/dist/{_baseFor-4jw-lnCC.js → isArrayLikeObject-CBUaLibE.js} +96 -29
  184. package/dist/{isEmpty-CJJMn-QP.js → isEmpty-CgME6WRV.js} +15 -15
  185. package/dist/{isSymbol-CoUCgMCM.js → isSymbol-Ch3GYg4S.js} +1 -1
  186. package/dist/ishikawaDiagram-WSZJBQD7-BrOMFBYy.js +731 -0
  187. package/dist/javascript-BY5QZ-eN.js +4 -0
  188. package/dist/{journeyDiagram-XKPGCS4Q-DEal0aT1.js → journeyDiagram-NVQOT4AX-CTwHlsTm.js} +124 -123
  189. package/dist/{jsx-runtime-DebpN0FN.js → jsx-runtime-Dp_oQwaf.js} +1 -1
  190. package/dist/julia-DbR1YalK.js +4 -0
  191. package/dist/{kanban-definition-3W4ZIXB7-Dl90wENN.js → kanban-definition-27J2QSJJ-CKowzO9_.js} +51 -45
  192. package/dist/{katex-C4t-BmrK.js → katex-Ci33kJVq.js} +1 -1
  193. package/dist/{katex-Bld7b-fk.js → katex-Dp22h6yO.js} +2871 -3002
  194. package/dist/{label-DjoYwqmj.js → label-CMh2d8pJ.js} +6 -6
  195. package/dist/{line-C43FIPBd.js → line-Bc27KE1D.js} +3 -3
  196. package/dist/{linear-H_vsH9ao.js → linear-6pDlrp1I.js} +4 -4
  197. package/dist/livescript-BDUooIeL.js +4 -0
  198. package/dist/{loader-DX-IDS7n.js → loader-DTnbNSVZ.js} +11 -11
  199. package/dist/lua-CswAWSkH.js +4 -0
  200. package/dist/main.js +747 -752
  201. package/dist/map-BQ_Xp80D.js +137 -0
  202. package/dist/mathematica-Bw7v11B5.js +4 -0
  203. package/dist/mbox-j35IMz1j.js +4 -0
  204. package/dist/merge-CDbSrd9f.js +69 -0
  205. package/dist/mermaid-4DMBBIKO-BZSpTmcx.js +6 -0
  206. package/dist/mermaid-DpAz2sTy.js +1265 -0
  207. package/dist/mermaid-parser.core-BQzz3_BI.js +87 -0
  208. package/dist/{mhchem-EGhUZR1V.js → mhchem-BDHjke3h.js} +1 -1
  209. package/dist/{micromark-factory-space-CwHmg6iz.js → micromark-factory-space-Cr4NxAt3.js} +1 -1
  210. package/dist/{mindmap-definition-VGOIOE7T-CCDupjWW.js → mindmap-definition-FAOFIHXS-CTsi-HFj.js} +126 -80
  211. package/dist/mirc-Ba_RHVXO.js +4 -0
  212. package/dist/mllike-DbTP2dPp.js +6 -0
  213. package/dist/modelica-lpT3V1X6.js +4 -0
  214. package/dist/mscgen-BN4ZSJMx.js +6 -0
  215. package/dist/mumps-uI5g1A0g.js +4 -0
  216. package/dist/{node-sql-parser-v1Vi-Fft.js → node-sql-parser-BaLGWQe1.js} +1 -1
  217. package/dist/{now-Ch98bJO_.js → now-sFWt-GLC.js} +2 -2
  218. package/dist/{nsis-i9_sgigf.js → nsis-C68fFq_o.js} +1 -1
  219. package/dist/nsis-Df56GiRg.js +4 -0
  220. package/dist/ntriples-B3LWuG7W.js +4 -0
  221. package/dist/{number-overlay-editor-Ck_mc_gT.js → number-overlay-editor-CeBHRJvI.js} +3 -3
  222. package/dist/octave-CovfQgOx.js +4 -0
  223. package/dist/{once-B60G2fuJ.js → once-Boutk_9X.js} +1 -1
  224. package/dist/{ordinal-Bkv2-veX.js → ordinal-Bdajf2BE.js} +1 -1
  225. package/dist/oz-DQQAvVFb.js +4 -0
  226. package/dist/{packet-DYOGHKS2-Bkgofxf3.js → packet-7NZHBO7P-BG8whXXH.js} +2 -3
  227. package/dist/pascal-xz94P9sf.js +4 -0
  228. package/dist/pegDiagram-VL7TDLO6-CNpT8Sqz.js +124 -0
  229. package/dist/perl-aEWKE-1n.js +4 -0
  230. package/dist/pick-CaEWivSF.js +47 -0
  231. package/dist/{pie-VRWISCQL-B1AMhN_7.js → pie-RZYD4A2V-Cc_QhFbT.js} +2 -3
  232. package/dist/pieDiagram-7S7Q4E2Y-Ct8jRpe_.js +219 -0
  233. package/dist/pig-DB6DOZl7.js +4 -0
  234. package/dist/powershell-DM5saUx1.js +4 -0
  235. package/dist/{precisionRound-CnHPY_5v.js → precisionRound-BOoJTbDj.js} +1 -1
  236. package/dist/{process-output-bVfbcx5_.js → process-output-HrsM52f8.js} +7 -7
  237. package/dist/properties-BGjYQuGo.js +4 -0
  238. package/dist/protobuf-BPpEyPud.js +4 -0
  239. package/dist/{pug-BhE2JRSg.js → pug-DFPPZ3LA.js} +1 -1
  240. package/dist/pug-uJzB88ft.js +4 -0
  241. package/dist/puppet-oIm2d_Lg.js +4 -0
  242. package/dist/{purify.es-EnR5yhgI.js → purify.es-DR5PNXwx.js} +160 -155
  243. package/dist/python-WE57eUzD.js +4 -0
  244. package/dist/q-CR8xPodo.js +4 -0
  245. package/dist/{quadrantDiagram-AYHSOK5B-BqDB9tUC.js → quadrantDiagram-CIZ2JOQS-B5n_xFcF.js} +429 -401
  246. package/dist/r-CJdmQZNj.js +4 -0
  247. package/dist/{radar-ZZBFDIW7-C2b7A32s.js → radar-I7S5WNFK-OhUkecXA.js} +2 -3
  248. package/dist/railroad-3IZDKUUU-1CmOpo1B.js +5 -0
  249. package/dist/railroad-abnf-AHOZXSZD-DmH4lsDS.js +5 -0
  250. package/dist/railroad-ebnf-EBAXGLYW-CzK0md4e.js +5 -0
  251. package/dist/railroad-peg-LSFZ7HO6-DOklooKz.js +5 -0
  252. package/dist/railroadDiagram-AXF67PYL-BbUWbtf8.js +100 -0
  253. package/dist/{react-DA-nE2FX.js → react-DhGsCS90.js} +1 -1
  254. package/dist/{react-dom-BTJzcVJ9.js → react-dom-CmENFV8Q.js} +2 -2
  255. package/dist/{react-vega-BazDALhI.js → react-vega-zyfTF9SY.js} +8036 -4796
  256. package/dist/{requirementDiagram-UZGBJVZJ-KbVt8SPH.js → requirementDiagram-LRYGKXZP-CpoDmKSf.js} +137 -105
  257. package/dist/{reveal-component-BejXPHja.js → reveal-component-CYZAzXrV.js} +27 -28
  258. package/dist/rough.esm-lGyFQ0B-.js +1363 -0
  259. package/dist/rpm-Cm5K4RH9.js +5 -0
  260. package/dist/ruby-ArsuTozQ.js +4 -0
  261. package/dist/sankeyDiagram-W5VNT64P-D82rYiAG.js +942 -0
  262. package/dist/sas-DShligrE.js +4 -0
  263. package/dist/scheme-kDLirQL7.js +4 -0
  264. package/dist/sequenceDiagram-SI44F4Z6-DgVKU1s5.js +4281 -0
  265. package/dist/shell-CVQuWP_N.js +4 -0
  266. package/dist/sieve-BW-ePwnq.js +4 -0
  267. package/dist/sizeCapture-X5ZJPWSS-BQgxHTji.js +48 -0
  268. package/dist/smalltalk-DI4aAXxY.js +4 -0
  269. package/dist/sparql-B2sp0oiz.js +4 -0
  270. package/dist/{spec-CQKL_D3i.js → spec-BL1GSUUF.js} +4 -4
  271. package/dist/{src-DV3ha_nA.js → src-BwVZVGyf.js} +13 -22
  272. package/dist/{stateDiagram-FKZM4ZOC-ByOvQf2n.js → stateDiagram-OKZ733FA-Cc9BchXz.js} +61 -58
  273. package/dist/stateDiagram-v2-UEYNNEHI-Dd4Tuw6F.js +32 -0
  274. package/dist/{step-BqHnkgWE.js → step-BqVgkWtk.js} +1 -1
  275. package/dist/stex-D2rme5UG.js +4 -0
  276. package/dist/{strings-DIy9NAmg.js → strings-DMLVGXRo.js} +305 -305
  277. package/dist/style.css +1 -1
  278. package/dist/stylus-xxO-85eO.js +4 -0
  279. package/dist/swift-Ctg533nZ.js +4 -0
  280. package/dist/swimlanes-SLNWSIFB-BHvhO5uv.js +5564 -0
  281. package/dist/swimlanesDiagram-ULZ7WXOC-aI_zgQ8O.js +33 -0
  282. package/dist/{swiper-component-CEdAYjb7.js → swiper-component-Cx0cRWLk.js} +6 -6
  283. package/dist/tcl-phm9c5Nd.js +4 -0
  284. package/dist/textile-CphjAg90.js +4 -0
  285. package/dist/{time-Bb4A7I6a.js → time-DAJu9fnj.js} +4 -4
  286. package/dist/timeline-definition-Z64GVDOM-BAHuDYyA.js +1107 -0
  287. package/dist/{timer-BpI_FKSA.js → timer-aIIabkbI.js} +1 -1
  288. package/dist/{toDate-CqhBWjvO.js → toDate-BGM7kFtQ.js} +6 -6
  289. package/dist/toml-BUuMK772.js +4 -0
  290. package/dist/{tooltip-f-qR0iUx.js → tooltip-BtUxZT5h.js} +7 -7
  291. package/dist/treeView-QDETBFTQ-DsLN_c8p.js +5 -0
  292. package/dist/{treemap-GDKQZRPO-SDux0AV8.js → treemap-6X3UGDF4-K1bi3LJm.js} +2 -3
  293. package/dist/troff-lCtc05A3.js +4 -0
  294. package/dist/ttcn-CcykzBcW.js +4 -0
  295. package/dist/ttcn-cfg-C-XYdqpE.js +4 -0
  296. package/dist/turtle-CpfVZs8G.js +4 -0
  297. package/dist/{types-DicH9Oi0.js → types-DT8UHI5w.js} +1 -1
  298. package/dist/{use-vega-container-remeasure-DGNrIQSk.js → use-vega-container-remeasure-B7OD7yUY.js} +3 -3
  299. package/dist/{useAsyncData-CYOQb1EW.js → useAsyncData-CDcbh-Qv.js} +5 -5
  300. package/dist/{useDateFormatter-Bt2qr_XS.js → useDateFormatter-B_vTzxpm.js} +4 -4
  301. package/dist/{useDeepCompareMemoize-CSHQeQEI.js → useDeepCompareMemoize-Bj6QvwiG.js} +3 -3
  302. package/dist/{useIframeCapabilities-kA09ykNq.js → useIframeCapabilities-CxuXXwjj.js} +4 -4
  303. package/dist/{useLifecycle-CMJGqBaY.js → useLifecycle-Bw4wRj_O.js} +7 -7
  304. package/dist/{useTheme-DYfby65G.js → useTheme-BzEXeAR5.js} +8 -7
  305. package/dist/vb-VOIzXwm9.js +4 -0
  306. package/dist/vbscript-D0WfcnVk.js +4 -0
  307. package/dist/{vega-component-C7nO5zcf.js → vega-component-CJug-VdR.js} +24 -24
  308. package/dist/{vega-embed-container-DAQAMjiO.js → vega-embed-container-BRjjqRGz.js} +9 -9
  309. package/dist/{vega-loader.browser-DmpxCJqx.js → vega-loader.browser-CGb-2Kwi.js} +106 -113
  310. package/dist/velocity-CCrc5n-0.js +4 -0
  311. package/dist/vennDiagram-T6HMQDX7-CTyzMewS.js +1913 -0
  312. package/dist/verilog-BLFhaDBH.js +4 -0
  313. package/dist/vhdl-DjuqPE9b.js +4 -0
  314. package/dist/wardley-OPB4EBWU-CP99MvU1.js +5 -0
  315. package/dist/wardleyDiagram-T6FBY63Y-vcno_rbk.js +669 -0
  316. package/dist/webidl-Cc7RrfeK.js +4 -0
  317. package/dist/xquery-BiCRLnNG.js +4 -0
  318. package/dist/{xychartDiagram-PRI3JC2R-BSkNxYNw.js → xychartDiagram-ELKLHX3M-DyFDERhM.js} +417 -353
  319. package/dist/yacas-CWcjav-O.js +4 -0
  320. package/dist/z80-DpYS2lE7.js +4 -0
  321. package/dist/{zod-BUcyXSdR.js → zod-BFY2SnzC.js} +42 -43
  322. package/package.json +7 -7
  323. package/src/__mocks__/requests.ts +5 -0
  324. package/src/components/ai/ai-model-dropdown.tsx +2 -2
  325. package/src/components/app-config/user-config-form.tsx +26 -0
  326. package/src/components/chat/__tests__/capabilities-popover.test.tsx +38 -0
  327. package/src/components/chat/__tests__/chat-abort.test.ts +51 -0
  328. package/src/components/chat/__tests__/use-chat-controller-id.test.tsx +39 -0
  329. package/src/components/chat/capabilities-popover.tsx +68 -0
  330. package/src/components/chat/chat-abort.ts +44 -0
  331. package/src/components/chat/chat-display.tsx +17 -0
  332. package/src/components/chat/chat-panel.tsx +107 -50
  333. package/src/components/chat/chat-utils.ts +1 -1
  334. package/src/components/chat/use-chat-controller-id.ts +24 -0
  335. package/src/components/data-table/charts/__tests__/schemas.test.ts +35 -0
  336. package/src/components/data-table/charts/schemas.ts +5 -2
  337. package/src/components/databases/icons/huggingface.svg +8 -0
  338. package/src/components/datasets/__tests__/icons.test.ts +21 -0
  339. package/src/components/datasets/icons.tsx +10 -0
  340. package/src/components/datasources/__tests__/components.test.tsx +29 -0
  341. package/src/components/datasources/components.tsx +8 -3
  342. package/src/components/editor/actions/export-dialog/__tests__/export-dialog.test.tsx +35 -0
  343. package/src/components/editor/actions/export-dialog/__tests__/state.test.ts +61 -0
  344. package/src/components/editor/actions/export-dialog/export-command.ts +4 -9
  345. package/src/components/editor/actions/export-dialog/format-notice.tsx +28 -0
  346. package/src/components/editor/actions/export-dialog/state.ts +23 -5
  347. package/src/components/editor/actions/export-dialog/use-export-dialog.ts +3 -13
  348. package/src/components/editor/actions/useConfigActions.tsx +24 -0
  349. package/src/components/editor/ai/add-cell-with-ai.tsx +2 -2
  350. package/src/components/editor/ai/ai-completion-editor.tsx +2 -2
  351. package/src/components/editor/chrome/panels/outline/__tests__/useActiveOutline.test.ts +26 -0
  352. package/src/components/editor/chrome/wrapper/useOpenAiAssistant.ts +2 -2
  353. package/src/components/editor/code/__tests__/readonly-python-code.test.tsx +114 -2
  354. package/src/components/editor/connections/storage/__tests__/__snapshots__/as-code.test.ts.snap +14 -0
  355. package/src/components/editor/connections/storage/__tests__/as-code.test.ts +20 -0
  356. package/src/components/editor/connections/storage/add-storage-form.tsx +10 -0
  357. package/src/components/editor/connections/storage/as-code.ts +19 -1
  358. package/src/components/editor/connections/storage/schemas.ts +19 -0
  359. package/src/components/storage/__tests__/storage-snippets.test.ts +88 -0
  360. package/src/components/storage/components.tsx +2 -0
  361. package/src/components/storage/storage-snippets.ts +58 -0
  362. package/src/core/__tests__/mode.test.ts +85 -0
  363. package/src/core/ai/__tests__/config.test.tsx +96 -0
  364. package/src/core/ai/config.ts +16 -22
  365. package/src/core/ai/constants.ts +7 -0
  366. package/src/core/ai/staged-cells.ts +3 -0
  367. package/src/core/ai/state.ts +10 -0
  368. package/src/core/codemirror/__tests__/setup.test.ts +1 -1
  369. package/src/core/codemirror/cm.ts +2 -2
  370. package/src/core/codemirror/code-lens/__tests__/extension.test.ts +85 -6
  371. package/src/core/codemirror/code-lens/extension.ts +144 -47
  372. package/src/core/codemirror/find-replace/search-highlight.ts +8 -3
  373. package/src/core/codemirror/language/languages/sql/__tests__/renderers.test.tsx +44 -0
  374. package/src/core/codemirror/language/languages/sql/renderers.tsx +3 -3
  375. package/src/core/codemirror/theme/__tests__/light.test.ts +59 -123
  376. package/src/core/codemirror/theme/dark.ts +6 -5
  377. package/src/core/codemirror/theme/light.ts +6 -4
  378. package/src/core/config/__tests__/config-schema.test.ts +2 -0
  379. package/src/core/config/config-schema.ts +1 -0
  380. package/src/core/config/feature-flag.tsx +0 -2
  381. package/src/core/dom/outline.ts +25 -2
  382. package/src/core/hotkeys/hotkeys.ts +2 -0
  383. package/src/core/mode.ts +11 -9
  384. package/src/core/network/__tests__/api.test.ts +132 -17
  385. package/src/core/network/__tests__/export-filename.test.ts +43 -0
  386. package/src/core/network/__tests__/requests-lazy.test.ts +1 -0
  387. package/src/core/network/api.ts +47 -12
  388. package/src/core/network/export-filename.ts +37 -0
  389. package/src/core/network/markdown-export.ts +19 -0
  390. package/src/core/network/requests-network.ts +29 -5
  391. package/src/core/network/types.ts +4 -0
  392. package/src/core/storage/types.ts +1 -0
  393. package/src/css/app/codemirror.css +11 -7
  394. package/src/css/globals.css +8 -0
  395. package/src/plugins/impl/DataEditorPlugin.tsx +2 -9
  396. package/src/plugins/impl/__tests__/DataEditorPlugin.test.ts +18 -0
  397. package/src/plugins/impl/chat/chat-ui.tsx +51 -3
  398. package/src/plugins/impl/data-frames/__tests__/schema.test.ts +30 -0
  399. package/src/plugins/impl/data-frames/schema.ts +4 -1
  400. package/src/plugins/impl/image-comparison/ImageComparisonComponent.tsx +20 -1
  401. package/src/plugins/impl/image-comparison/__tests__/ImageComparisonComponent.test.tsx +58 -0
  402. package/src/stories/theme.stories.tsx +71 -1
  403. package/dist/_baseUniq-B_2Hw7zG.js +0 -380
  404. package/dist/apl-e1B5LPEL.js +0 -4
  405. package/dist/architecture-7HQA4BMR-DHUrQjL4.js +0 -6
  406. package/dist/asciiarmor-B-gwgesP.js +0 -4
  407. package/dist/asn1-DF2ckRB4.js +0 -4
  408. package/dist/assets/__vite-browser-external-DltVXDv7.js +0 -1
  409. package/dist/blockDiagram-VD42YOAC-CIOjvxeD.js +0 -3131
  410. package/dist/brainfuck-4G-7_gq_.js +0 -4
  411. package/dist/chat-ui-DsZJj75A.js +0 -8369
  412. package/dist/chunk-55IACEB6-7h71GwyW.js +0 -8
  413. package/dist/chunk-ABZYJK2D-BxBDji1u.js +0 -2438
  414. package/dist/chunk-BNovOVIE.js +0 -28
  415. package/dist/chunk-CVBHYZKI-CwazXVlJ.js +0 -13
  416. package/dist/chunk-DR5Q36YT-5Yp2GWwR.js +0 -137
  417. package/dist/chunk-EXTU4WIE-BQPBhApE.js +0 -10
  418. package/dist/chunk-JZLCHNYA-DWIR9m5O.js +0 -4901
  419. package/dist/chunk-N4CR4FBY-Bw2HcMNc.js +0 -65
  420. package/dist/chunk-QXUST7PY-DtC2t9Mk.js +0 -498
  421. package/dist/chunk-TCCFYFTB-DPWJa9zL.js +0 -13948
  422. package/dist/chunk-TZMSLE5B-BzSHcq-K.js +0 -63
  423. package/dist/classDiagram-2ON5EDUG-BiQPjMNY.js +0 -30
  424. package/dist/classDiagram-v2-WZHVMYZB-YHdR8fqM.js +0 -30
  425. package/dist/clojure-CUybM11R.js +0 -4
  426. package/dist/clone-Q4Fqwn6q.js +0 -9
  427. package/dist/cmake-BPjGcuDL.js +0 -4
  428. package/dist/cobol-BETk_nb6.js +0 -4
  429. package/dist/coffeescript-CManZxXL.js +0 -4
  430. package/dist/commonlisp-DWkn7GW8.js +0 -4
  431. package/dist/crystal-CCbg5EUH.js +0 -4
  432. package/dist/css-By8eo-XS.js +0 -4
  433. package/dist/cypher-DwfHg3nP.js +0 -4
  434. package/dist/d-Brs1wNbw.js +0 -4
  435. package/dist/dagre-6UL2VRFP-DpYjBqQs.js +0 -296
  436. package/dist/diagram-QEK2KX5R-DVlUOgs1.js +0 -228
  437. package/dist/diff-DJIRmJ1g.js +0 -4
  438. package/dist/dist-5o9uz19x.js +0 -5
  439. package/dist/dist-BpDH0DEP.js +0 -5
  440. package/dist/dist-BpXhbQXO.js +0 -8
  441. package/dist/dist-ByadAk_L.js +0 -5
  442. package/dist/dist-CK0g7JvP.js +0 -8
  443. package/dist/dist-CfzCtiq2.js +0 -5
  444. package/dist/dist-D8JtVFrW.js +0 -8
  445. package/dist/dist-DK2Oocpu.js +0 -6
  446. package/dist/dist-DnSu977r.js +0 -5
  447. package/dist/dist-UmxJm6sW.js +0 -8
  448. package/dist/dist-aYSBQSyM.js +0 -5
  449. package/dist/dist-kkZ1Ztlh.js +0 -6
  450. package/dist/dist-ngPczwNi.js +0 -5
  451. package/dist/dist-wQRyxyTV.js +0 -5
  452. package/dist/dtd-Dyiazv4N.js +0 -4
  453. package/dist/dylan-D8Fcw7NA.js +0 -4
  454. package/dist/ecl-CjKp8Vii.js +0 -4
  455. package/dist/eiffel-K9ViOX5r.js +0 -4
  456. package/dist/elm-B5NVtRco.js +0 -4
  457. package/dist/erlang-BnLzgk7R.js +0 -4
  458. package/dist/factor-C7f9Jz5R.js +0 -4
  459. package/dist/flatten-Bbw7g6-K.js +0 -8
  460. package/dist/forth-rGM8jLao.js +0 -4
  461. package/dist/fortran-B3acSe0i.js +0 -4
  462. package/dist/ganttDiagram-JELNMOA3-CXXCN7LN.js +0 -2170
  463. package/dist/gas-Bb1Vmv_N.js +0 -4
  464. package/dist/gherkin-C9Lyidgd.js +0 -4
  465. package/dist/gitGraphDiagram-V2S2FVAM-BOlkMSqK.js +0 -652
  466. package/dist/graphlib-Ns7y5crs.js +0 -359
  467. package/dist/groovy-DQk6XcGH.js +0 -4
  468. package/dist/hasIn-Deg7jl_j.js +0 -108
  469. package/dist/haskell-mV0Vw9gv.js +0 -4
  470. package/dist/haxe-DqxN89zH.js +0 -5
  471. package/dist/idl-ya8W561J.js +0 -4
  472. package/dist/infoDiagram-HS3SLOUP-D3TyKnL_.js +0 -30
  473. package/dist/javascript-CgqgptVu.js +0 -4
  474. package/dist/julia-CFQ-HusI.js +0 -4
  475. package/dist/livescript-D__3TmDo.js +0 -4
  476. package/dist/lua-Bytcgj_W.js +0 -4
  477. package/dist/main-B1Jo_8pC.js +0 -4321
  478. package/dist/mathematica-DJhvVKvl.js +0 -4
  479. package/dist/mbox-IGHPCjfR.js +0 -4
  480. package/dist/memoize-BOtf2yFf.js +0 -17
  481. package/dist/merge-Be1CqGnU.js +0 -222
  482. package/dist/mermaid-4DMBBIKO-FXbOziy9.js +0 -6
  483. package/dist/mermaid-hv6IckVw.js +0 -1100
  484. package/dist/mermaid-parser.core-DoivvxPd.js +0 -54
  485. package/dist/min-Dtgc8txR.js +0 -38
  486. package/dist/mirc-tcwvVugm.js +0 -4
  487. package/dist/mllike-Dx91i62r.js +0 -6
  488. package/dist/modelica-_SRt-yU5.js +0 -4
  489. package/dist/mscgen-GZrGS9gt.js +0 -6
  490. package/dist/mumps-Cv3ygyod.js +0 -4
  491. package/dist/nsis-BU7GeGbI.js +0 -4
  492. package/dist/ntriples-CL-FCYXb.js +0 -4
  493. package/dist/octave-Dc6_3DIu.js +0 -4
  494. package/dist/oz-DpUAJCXf.js +0 -4
  495. package/dist/pascal-B17mncXs.js +0 -4
  496. package/dist/perl-BTpK97q9.js +0 -4
  497. package/dist/pick-D1Qo8s2C.js +0 -43
  498. package/dist/pieDiagram-ADFJNKIX-JvXG_6hk.js +0 -170
  499. package/dist/pig-CFb638Ap.js +0 -4
  500. package/dist/powershell-Cxo-_2A5.js +0 -4
  501. package/dist/properties-BPgT1xTB.js +0 -4
  502. package/dist/protobuf-BgHBaIIK.js +0 -4
  503. package/dist/pug-25-oS0SG.js +0 -4
  504. package/dist/puppet-DarIr20S.js +0 -4
  505. package/dist/python-BqmOsBsi.js +0 -4
  506. package/dist/q-D3QJCTup.js +0 -4
  507. package/dist/r-Cz_yBX4z.js +0 -4
  508. package/dist/rpm-DGOtYwAI.js +0 -5
  509. package/dist/ruby-DBZu4rPc.js +0 -4
  510. package/dist/sankeyDiagram-TZEHDZUN-DgkF38jx.js +0 -892
  511. package/dist/sas-Dd1D9qTq.js +0 -4
  512. package/dist/scheme-BmDjvTHX.js +0 -4
  513. package/dist/sequenceDiagram-WL72ISMW-BDmx9n95.js +0 -3652
  514. package/dist/shell-BL8zFSaj.js +0 -4
  515. package/dist/sieve-BAx2WqUP.js +0 -4
  516. package/dist/smalltalk-CYRzF7VV.js +0 -4
  517. package/dist/sparql-YWaDRO4A.js +0 -4
  518. package/dist/stateDiagram-v2-4FDKWEC3-C3xqeavR.js +0 -29
  519. package/dist/stex-B5O-env2.js +0 -4
  520. package/dist/stylus-lYsyLFc1.js +0 -4
  521. package/dist/swift-ClQz9z1n.js +0 -4
  522. package/dist/tcl-B3jhsfqY.js +0 -4
  523. package/dist/textile-Cb1Dw7Aq.js +0 -4
  524. package/dist/timeline-definition-IT6M3QCI-CkD_trIn.js +0 -856
  525. package/dist/toml-nHZhetdO.js +0 -4
  526. package/dist/troff-DuJAGWKH.js +0 -4
  527. package/dist/ttcn-BxrcwP21.js +0 -4
  528. package/dist/ttcn-cfg-BAg_9dcc.js +0 -4
  529. package/dist/turtle-zCq949as.js +0 -4
  530. package/dist/vb-De5hElus.js +0 -4
  531. package/dist/vbscript-Cypcpv4F.js +0 -4
  532. package/dist/velocity-Di7l-yhe.js +0 -4
  533. package/dist/verilog-Bzi-S3g2.js +0 -4
  534. package/dist/vhdl-B0ZZITaW.js +0 -4
  535. package/dist/webidl-0sviiRcN.js +0 -4
  536. package/dist/xquery-B4qMVWaB.js +0 -4
  537. package/dist/yacas-Jt25Fuv8.js +0 -4
  538. package/dist/z80-CrcbYzmp.js +0 -4
  539. /package/dist/{apl-99A7dLQe.js → apl-CMUKiT2b.js} +0 -0
  540. /package/dist/{array-O78LT16Y.js → array-CEIRxyh3.js} +0 -0
  541. /package/dist/{asciiarmor-DLEhpFDx.js → asciiarmor-C_r6K6db.js} +0 -0
  542. /package/dist/{asn1-CMrcTsT4.js → asn1-DnlnCQTu.js} +0 -0
  543. /package/dist/{asterisk-CqykImq7.js → asterisk-DaVJJDnV.js} +0 -0
  544. /package/dist/{brainfuck-ChPt5yBe.js → brainfuck-CtQoQVkV.js} +0 -0
  545. /package/dist/{clike-CE0fXfM_.js → clike-CIAs0ABt.js} +0 -0
  546. /package/dist/{clojure-QkBEMU-g.js → clojure-C6tKQYjD.js} +0 -0
  547. /package/dist/{cmake-CU1jX7Mo.js → cmake-D-nfcg14.js} +0 -0
  548. /package/dist/{cobol-DMOKzzky.js → cobol-DYTC58p9.js} +0 -0
  549. /package/dist/{coffeescript-DjnjLyfk.js → coffeescript-DctDWA58.js} +0 -0
  550. /package/dist/{colors-DmiH1bIH.js → colors-DR_aHfmQ.js} +0 -0
  551. /package/dist/{common-keywords-D3nPJNQP.js → common-keywords-FBrXPTcz.js} +0 -0
  552. /package/dist/{commonlisp-CYd9iOSe.js → commonlisp-BmvTqU5y.js} +0 -0
  553. /package/dist/{crystal-Dy55yoYG.js → crystal-BPIK2UMa.js} +0 -0
  554. /package/dist/{css-CNU8w3HJ.js → css-CDo_Lwzn.js} +0 -0
  555. /package/dist/{cypher-q47DGzK7.js → cypher-KztbD63v.js} +0 -0
  556. /package/dist/{d-jEkaLvxX.js → d-HXBWOoe9.js} +0 -0
  557. /package/dist/{defaultLocale-DoeErsX2.js → defaultLocale-DMZFeDB8.js} +0 -0
  558. /package/dist/{diff-vb2-unFN.js → diff-B9rWZH0m.js} +0 -0
  559. /package/dist/{dtd-C9kR-bXa.js → dtd-LtAMP5y8.js} +0 -0
  560. /package/dist/{duckdb-keywords-B6HYCMOT.js → duckdb-keywords-CvJhR_Yd.js} +0 -0
  561. /package/dist/{dylan-BLckrK-V.js → dylan-DXMK92pf.js} +0 -0
  562. /package/dist/{ebnf-Cnp3L9jg.js → ebnf-2D4Ctp3y.js} +0 -0
  563. /package/dist/{ecl-CEsf6XVg.js → ecl-Dqq8ser2.js} +0 -0
  564. /package/dist/{eiffel-2KGZNzx6.js → eiffel-ChExWBDx.js} +0 -0
  565. /package/dist/{elm-D2s3K5wF.js → elm-BMBz2xbZ.js} +0 -0
  566. /package/dist/{emotion-is-prop-valid.esm-DdVSF4FD.js → emotion-is-prop-valid.esm-_z-EwK5u.js} +0 -0
  567. /package/dist/{erlang-0PMFOndk.js → erlang-CGSDzg9P.js} +0 -0
  568. /package/dist/{fcl-D9nccAWI.js → fcl-Ccj8Z5Xd.js} +0 -0
  569. /package/dist/{forth-DG89iUsu.js → forth-vTkfR0aY.js} +0 -0
  570. /package/dist/{fortran-ytKsAVvu.js → fortran-CF4LAVFn.js} +0 -0
  571. /package/dist/{gas-Cg2Fm0N2.js → gas-mMFbQ2x4.js} +0 -0
  572. /package/dist/{gherkin-B87FEnZ-.js → gherkin-DLS1q0XM.js} +0 -0
  573. /package/dist/{groovy-Dcs08AWD.js → groovy-Zt6CNPxV.js} +0 -0
  574. /package/dist/{haskell-cwkOuhx6.js → haskell-kVOgzpVy.js} +0 -0
  575. /package/dist/{haxe-DWEo4q10.js → haxe-Bo21F6gc.js} +0 -0
  576. /package/dist/{http-B8jdG64J.js → http-_DVAYWoR.js} +0 -0
  577. /package/dist/{idl-WWQwDcRV.js → idl-B865GSM-.js} +0 -0
  578. /package/dist/{init-DNBbYZd_.js → init-TaqZJsBY.js} +0 -0
  579. /package/dist/{invariant-wRzNXIsJ.js → invariant-hOqqBz8A.js} +0 -0
  580. /package/dist/{javascript-BeR74dxD.js → javascript-CSLuHpxZ.js} +0 -0
  581. /package/dist/{julia-UlvCUYGL.js → julia-BCOLeQif.js} +0 -0
  582. /package/dist/{livescript-GPmFcmYV.js → livescript-DqUzLZFs.js} +0 -0
  583. /package/dist/{lua-DYoT_0zM.js → lua-D0ciLwkO.js} +0 -0
  584. /package/dist/{math-CBNc2Ib0.js → math-CTnb-N1W.js} +0 -0
  585. /package/dist/{mathematica-DSFIQlbG.js → mathematica-DujD1RDf.js} +0 -0
  586. /package/dist/{mbox-ej8lFMdL.js → mbox-8OkSQMDn.js} +0 -0
  587. /package/dist/{mirc-CAdIdvHQ.js → mirc-D47x8yRQ.js} +0 -0
  588. /package/dist/{mllike-CjTB1lHF.js → mllike-Dcfw-g6D.js} +0 -0
  589. /package/dist/{modelica-BB68FYMa.js → modelica-BHtr9gKR.js} +0 -0
  590. /package/dist/{mscgen-BkbzgGGI.js → mscgen-uZedQc_A.js} +0 -0
  591. /package/dist/{mumps-Cu-28E9F.js → mumps-Bc9QS1-K.js} +0 -0
  592. /package/dist/{nginx-C1ofKPst.js → nginx-DasThI7R.js} +0 -0
  593. /package/dist/{ntriples-D9cQiZxZ.js → ntriples-Clpn9Mrg.js} +0 -0
  594. /package/dist/{objects-De59twF-.js → objects-UzwQd5gx.js} +0 -0
  595. /package/dist/{octave-BvtAnPX0.js → octave-DA2esRWi.js} +0 -0
  596. /package/dist/{oz-COaVHk2E.js → oz-D8i-brWx.js} +0 -0
  597. /package/dist/{pascal-BFpqVD2x.js → pascal-Dt1a0CeN.js} +0 -0
  598. /package/dist/{path-DwWbhZFI.js → path-7gr7eZmp.js} +0 -0
  599. /package/dist/{perl-DaiORxHP.js → perl-CXy9EfRp.js} +0 -0
  600. /package/dist/{pig-DFzRhmsF.js → pig-DnXnrjQg.js} +0 -0
  601. /package/dist/{powershell-BG2LQNKN.js → powershell-BYE6u-Qk.js} +0 -0
  602. /package/dist/{properties-CqJJR5QY.js → properties-DlhyusaK.js} +0 -0
  603. /package/dist/{protobuf-WwDYV1yY.js → protobuf-DoMSrsPi.js} +0 -0
  604. /package/dist/{puppet-QNY3w_uN.js → puppet-DGi4idFA.js} +0 -0
  605. /package/dist/{python-4QrQ3Ugi.js → python-CYhALYh0.js} +0 -0
  606. /package/dist/{q-DhwXuxE2.js → q-Cs_qWJkU.js} +0 -0
  607. /package/dist/{r-Df-nkR25.js → r-DWJSQl1c.js} +0 -0
  608. /package/dist/{range-BOiA8qqU.js → range-Bieq5MNc.js} +0 -0
  609. /package/dist/{rpm-Cokue07s.js → rpm-DIip1m0n.js} +0 -0
  610. /package/dist/{ruby-DrYcL3qF.js → ruby-NgZGoa7Q.js} +0 -0
  611. /package/dist/{sas-CoiPirA5.js → sas-DEKzCzM2.js} +0 -0
  612. /package/dist/{scheme-CwFLjzHv.js → scheme-CBrGar2n.js} +0 -0
  613. /package/dist/{semaphore-C8rmHdhj.js → semaphore-P832H4YT.js} +0 -0
  614. /package/dist/{shell-BFV-R24I.js → shell-D7XFPOM_.js} +0 -0
  615. /package/dist/{sieve-CxwXF5T9.js → sieve-BOxOVQ18.js} +0 -0
  616. /package/dist/{simple-mode-DTaJtKPt.js → simple-mode-D-FXBgPn.js} +0 -0
  617. /package/dist/{smalltalk-QivVOCtX.js → smalltalk-DYK-HkUK.js} +0 -0
  618. /package/dist/{solr-BLvysN-c.js → solr-RZ9uTl59.js} +0 -0
  619. /package/dist/{sparql-nKsFk8j7.js → sparql-CU1uk9Py.js} +0 -0
  620. /package/dist/{spreadsheet-BWc8C2FT.js → spreadsheet-BNNUNXA2.js} +0 -0
  621. /package/dist/{sql-CWfUjlV1.js → sql-B4x8IkwU.js} +0 -0
  622. /package/dist/{stex-DtMAhV4-.js → stex-DIvyJfNO.js} +0 -0
  623. /package/dist/{stylus-BLKQAycn.js → stylus-BokZhKWB.js} +0 -0
  624. /package/dist/{swift-CJoKqiKj.js → swift-TlA42tbT.js} +0 -0
  625. /package/dist/{tcl-YTeYFNUc.js → tcl-C-m7N_9k.js} +0 -0
  626. /package/dist/{textile-C6rKQqMQ.js → textile-BWOWG894.js} +0 -0
  627. /package/dist/{tiddlywiki-ZXwTHGNT.js → tiddlywiki-DI0mF2WJ.js} +0 -0
  628. /package/dist/{tiki-C628O_u4.js → tiki-2HU6XLLn.js} +0 -0
  629. /package/dist/{toml-DxlPGbRy.js → toml-GapOS-6U.js} +0 -0
  630. /package/dist/{treemap-DY3NBr79.js → treemap-CQJ0bIDy.js} +0 -0
  631. /package/dist/{troff-DFCfH7Ku.js → troff-ChPXSGgg.js} +0 -0
  632. /package/dist/{ttcn-DAW-ERVP.js → ttcn-CGf_ktUb.js} +0 -0
  633. /package/dist/{ttcn-cfg-CpJ8b7EN.js → ttcn-cfg-E0kw_vEm.js} +0 -0
  634. /package/dist/{turtle-BneV2f8L.js → turtle-DDIYttZr.js} +0 -0
  635. /package/dist/{vb-D973Vxxh.js → vb-DsGz8YA-.js} +0 -0
  636. /package/dist/{vbscript-Dckaq3YO.js → vbscript-BfQcpKZn.js} +0 -0
  637. /package/dist/{velocity-DKty-GUC.js → velocity-BMi53hPb.js} +0 -0
  638. /package/dist/{verilog-aNaK_biA.js → verilog-B_WDxmCB.js} +0 -0
  639. /package/dist/{vhdl-CQuehnQy.js → vhdl-C52-TT0z.js} +0 -0
  640. /package/dist/{webidl-Bhg8vaMr.js → webidl-Cnphjlul.js} +0 -0
  641. /package/dist/{xquery-D2q16GaM.js → xquery-X_kWyOft.js} +0 -0
  642. /package/dist/{yacas-DHGOHnNa.js → yacas-Dpp9zAZ5.js} +0 -0
  643. /package/dist/{z80-BPhTmO22.js → z80-BZLZAthF.js} +0 -0
@@ -1,26 +1,34 @@
1
1
  var _a;
2
- import "./chunk-TCCFYFTB-DPWJa9zL.js";
3
- import "./main-B1Jo_8pC.js";
4
- import "./purify.es-EnR5yhgI.js";
5
- import { n as ordinal } from "./ordinal-Bkv2-veX.js";
6
- import { t as format } from "./defaultLocale-BpsHxBd7.js";
7
- import { i as cleanAndMerge } from "./chunk-S3R3BYOJ-BdgLc8AM.js";
8
- import { i as log, r as __name, t as select_default } from "./src-DV3ha_nA.js";
9
- import { p as hierarchy, t as treemap_default } from "./treemap-DY3NBr79.js";
10
- import { B as setAccTitle, C as getDiagramTitle, U as setDiagramTitle, _ as getAccDescription, a as clear, c as configureSvgSize, d as defaultConfig_default, v as getAccTitle, y as getConfig, z as setAccDescription } from "./chunk-ABZYJK2D-BxBDji1u.js";
11
- import { t as selectSvgElement } from "./chunk-EXTU4WIE-BQPBhApE.js";
12
- import { i as styles2String, n as isLabelStyle } from "./chunk-ATLVNIR6-qFiszptQ.js";
13
- import "./dist-DsoKosxi.js";
14
- import "./chunk-UMXZTB3W-D1uHz8MN.js";
15
- import "./chunk-4F5CHEZ2-VlodlEGo.js";
16
- import "./chunk-FRFDVMJY-BHBqN-vD.js";
17
- import "./chunk-SJTYNZTY-DnXoKWpW.js";
18
- import "./chunk-PL6DKKU2-CAHKc95s.js";
19
- import "./chunk-TQ3KTPDO-CsDx6v37.js";
20
- import "./chunk-B2363JML-zL3VngtH.js";
21
- import { t as populateCommonDb } from "./chunk-4BX2VUAB-iU5lQTDI.js";
22
- import { t as parse } from "./mermaid-parser.core-DoivvxPd.js";
23
- import { t as setupViewPortForSVG } from "./chunk-QN33PNHL-DPBNNzpR.js";
2
+ import "./purify.es-DR5PNXwx.js";
3
+ import { n as ordinal } from "./ordinal-Bdajf2BE.js";
4
+ import { t as format } from "./defaultLocale-CMezyvMc.js";
5
+ import { a as cleanAndMerge } from "./chunk-NSK5VX7P-BmmoJBbx.js";
6
+ import { n as log, t as select_default } from "./src-BwVZVGyf.js";
7
+ import { p as hierarchy, t as treemap_default } from "./treemap-CQJ0bIDy.js";
8
+ import { n as __name } from "./chunk-Y2CYZVJY-DX3DSigL.js";
9
+ import { D as getThemeVariables3, H as setAccDescription, K as setDiagramTitle, U as setAccTitle, a as clear, b as getConfig, c as configureSvgSize, f as defaultConfig_default, v as getAccDescription, w as getDiagramTitle, y as getAccTitle } from "./chunk-I66GZJ75-9xAsFrdW.js";
10
+ import { t as selectSvgElement } from "./chunk-3NCLNEKW-BPlp8K7N.js";
11
+ import { i as styles2String, n as isLabelStyle } from "./chunk-W5SLKNZC-DK-_KuKT.js";
12
+ import "./dist-HaLHv0k5.js";
13
+ import "./chunk-KEIR6QF5-aP6TmWQ-.js";
14
+ import "./chunk-MOZMSUNE-BQi-ggQx.js";
15
+ import "./chunk-OSBZ3O6U-BcrmpSY_.js";
16
+ import "./chunk-5JV3BV7I-B7tzprBU.js";
17
+ import "./chunk-CYSBUYHQ-Cv-vKQV-.js";
18
+ import "./chunk-BIQX33UG-B-BYk6sM.js";
19
+ import "./chunk-EMLP6XTP-DCtMkXLF.js";
20
+ import "./chunk-YOTPTUD7-C8qfgaz5.js";
21
+ import "./chunk-QBLGF6JB-BACuPUWb.js";
22
+ import "./chunk-5TONJI2A-LRqbgPte.js";
23
+ import "./chunk-5HE753X5-D2jFCVXb.js";
24
+ import "./chunk-U6XO7XAA-I8tCjTeT.js";
25
+ import "./chunk-JG7HCLWE-CZIm6axg.js";
26
+ import "./chunk-CQNSW5MT-DBXDKSOU.js";
27
+ import "./chunk-R7FJI6CG-BYAXJpIb.js";
28
+ import "./chunk-5FCAYU7R-C3cMIeyz.js";
29
+ import { t as populateCommonDb } from "./chunk-JWPE2WC7-C_Daz-Oc.js";
30
+ import { n as parse } from "./mermaid-parser.core-BQzz3_BI.js";
31
+ import { t as setupViewPortForSVG } from "./chunk-KBJHAD2P-B7m9DztL.js";
24
32
  var TreeMapDB = (_a = class {
25
33
  constructor() {
26
34
  this.nodes = [], this.levels = /* @__PURE__ */ new Map(), this.outerNodes = [], this.classes = /* @__PURE__ */ new Map(), this.setAccTitle = setAccTitle, this.getAccTitle = getAccTitle, this.setDiagramTitle = setDiagramTitle, this.getDiagramTitle = getDiagramTitle, this.getAccDescription = getAccDescription, this.setAccDescription = setAccDescription;
@@ -73,7 +81,7 @@ function buildHierarchy(e) {
73
81
  name: e2.name,
74
82
  children: e2.type === "Leaf" ? void 0 : []
75
83
  };
76
- for (d.classSelector = e2 == null ? void 0 : e2.classSelector, (e2 == null ? void 0 : e2.cssCompiledStyles) && (d.cssCompiledStyles = [e2.cssCompiledStyles]), e2.type === "Leaf" && e2.value !== void 0 && (d.value = e2.value); u.length > 0 && u[u.length - 1].level >= e2.level; ) u.pop();
84
+ for (d.classSelector = e2 == null ? void 0 : e2.classSelector, (e2 == null ? void 0 : e2.cssCompiledStyles) && (d.cssCompiledStyles = e2.cssCompiledStyles), e2.type === "Leaf" && e2.value !== void 0 && (d.value = e2.value); u.length > 0 && u[u.length - 1].level >= e2.level; ) u.pop();
77
85
  if (u.length === 0) l.push(d);
78
86
  else {
79
87
  let e3 = u[u.length - 1].node;
@@ -93,9 +101,9 @@ var populate = /* @__PURE__ */ __name((e, l) => {
93
101
  for (let d2 of e.TreemapRows ?? []) {
94
102
  let e2 = d2.item;
95
103
  if (!e2) continue;
96
- let f = d2.indent ? parseInt(d2.indent) : 0, p2 = getItemName(e2), m = e2.classSelector ? l.getStylesForClass(e2.classSelector) : [], h = m.length > 0 ? m.join(";") : void 0, g = {
97
- level: f,
98
- name: p2,
104
+ let f2 = d2.indent ? parseInt(d2.indent) : 0, p = getItemName(e2), m = e2.classSelector ? l.getStylesForClass(e2.classSelector) : [], h = m.length > 0 ? m : void 0, g = {
105
+ level: f2,
106
+ name: p,
99
107
  type: e2.$type,
100
108
  value: e2.value,
101
109
  classSelector: e2.classSelector,
@@ -103,10 +111,10 @@ var populate = /* @__PURE__ */ __name((e, l) => {
103
111
  };
104
112
  u.push(g);
105
113
  }
106
- let d = buildHierarchy(u), p = /* @__PURE__ */ __name((e2, u2) => {
107
- for (let d2 of e2) l.addNode(d2, u2), d2.children && d2.children.length > 0 && p(d2.children, u2 + 1);
114
+ let d = buildHierarchy(u), f = /* @__PURE__ */ __name((e2, u2) => {
115
+ for (let d2 of e2) l.addNode(d2, u2), d2.children && d2.children.length > 0 && f(d2.children, u2 + 1);
108
116
  }, "addNodesRecursively");
109
- p(d, 0);
117
+ f(d, 0);
110
118
  }, "populate"), getItemName = /* @__PURE__ */ __name((e) => e.name ? String(e.name) : "", "getItemName"), parser = {
111
119
  parser: { yy: void 0 },
112
120
  parse: /* @__PURE__ */ __name(async (e) => {
@@ -189,13 +197,13 @@ var populate = /* @__PURE__ */ __name((e, l) => {
189
197
  if (e.depth === 0) return "display: none;";
190
198
  let l = styles2String({ cssCompiledStyles: e.data.cssCompiledStyles });
191
199
  return l.nodeStyles + ";" + l.borderStyles.join(";");
192
- }), z.append("text").attr("class", "treemapSectionLabel").attr("x", 6).attr("y", SECTION_HEADER_HEIGHT / 2).attr("dominant-baseline", "middle").text((e) => e.depth === 0 ? "" : e.data.name).attr("font-weight", "bold").attr("style", (e) => e.depth === 0 ? "display: none;" : "dominant-baseline: middle; font-size: 12px; fill:" + P(e.data.name) + "; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" + styles2String({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).each(function(e) {
200
+ }), z.append("text").attr("class", "treemapSectionLabel").attr("x", 6).attr("y", SECTION_HEADER_HEIGHT / 2).attr("dominant-baseline", "middle").text((e) => e.depth === 0 ? "" : e.data.name).attr("font-weight", "bold").attr("clip-path", (e, l) => `url(#clip-section-${g}-${l})`).attr("style", (e) => e.depth === 0 ? "display: none;" : "dominant-baseline: middle; font-size: 12px; fill:" + P(e.data.name) + "; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" + styles2String({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).each(function(e) {
193
201
  if (e.depth === 0) return;
194
202
  let l = select_default(this), u2 = e.data.name;
195
203
  l.text(u2);
196
- let d = e.x1 - e.x0, f;
197
- f = b.showValues !== false && e.value ? d - 10 - 30 - 10 - 6 : d - 6 - 6;
198
- let m = Math.max(15, f), h = l.node();
204
+ let d = e.x1 - e.x0, p;
205
+ p = b.showValues !== false && e.value ? d - 10 - 30 - 10 - 6 : d - 6 - 6;
206
+ let m = Math.max(15, p), h = l.node();
199
207
  if (h.getComputedTextLength() > m) {
200
208
  let e2 = u2;
201
209
  for (; e2.length > 0; ) {
@@ -207,21 +215,21 @@ var populate = /* @__PURE__ */ __name((e, l) => {
207
215
  }
208
216
  }
209
217
  }), b.showValues !== false && z.append("text").attr("class", "treemapSectionValue").attr("x", (e) => e.x1 - e.x0 - 10).attr("y", SECTION_HEADER_HEIGHT / 2).attr("text-anchor", "end").attr("dominant-baseline", "middle").text((e) => e.value ? j(e.value) : "").attr("font-style", "italic").attr("style", (e) => e.depth === 0 ? "display: none;" : "text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:" + P(e.data.name) + "; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" + styles2String({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:"));
210
- let B = L.leaves(), V = F.selectAll(".treemapLeafGroup").data(B).enter().append("g").attr("class", (e, l) => `treemapNode treemapLeafGroup leaf${l}${e.data.classSelector ? ` ${e.data.classSelector}` : ""}x`).attr("transform", (e) => `translate(${e.x0},${e.y0})`);
211
- V.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", (e) => e.y1 - e.y0).attr("class", "treemapLeaf").attr("fill", (e) => e.parent ? M(e.parent.data.name) : M(e.data.name)).attr("style", (e) => styles2String({ cssCompiledStyles: e.data.cssCompiledStyles }).nodeStyles).attr("fill-opacity", 0.3).attr("stroke", (e) => e.parent ? M(e.parent.data.name) : M(e.data.name)).attr("stroke-width", 3), V.append("clipPath").attr("id", (e, l) => `clip-${g}-${l}`).append("rect").attr("width", (e) => Math.max(0, e.x1 - e.x0 - 4)).attr("height", (e) => Math.max(0, e.y1 - e.y0 - 4)), V.append("text").attr("class", "treemapLabel").attr("x", (e) => (e.x1 - e.x0) / 2).attr("y", (e) => (e.y1 - e.y0) / 2).attr("style", (e) => "text-anchor: middle; dominant-baseline: middle; font-size: 38px;fill:" + P(e.data.name) + ";" + styles2String({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).attr("clip-path", (e, l) => `url(#clip-${g}-${l})`).text((e) => e.data.name).each(function(e) {
212
- let l = select_default(this), u2 = e.x1 - e.x0, d = e.y1 - e.y0, f = l.node(), m = u2 - 8, h = d - 8;
213
- if (m < 10 || h < 10) {
218
+ let B = L.leaves(), V = B.length > 20, H = V ? 16 : 38, U = V ? 14 : 28, W = V ? 4 : 8, G = V ? 4 : 6, K = V ? 2 : 4, q = V ? 8 : 10, J = V ? 1 : 2, Y = F.selectAll(".treemapLeafGroup").data(B).enter().append("g").attr("class", (e, l) => `treemapNode treemapLeafGroup leaf${l}${e.data.classSelector ? ` ${e.data.classSelector}` : ""}x`).attr("transform", (e) => `translate(${e.x0},${e.y0})`);
219
+ Y.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", (e) => e.y1 - e.y0).attr("class", "treemapLeaf").attr("fill", (e) => e.parent ? M(e.parent.data.name) : M(e.data.name)).attr("style", (e) => styles2String({ cssCompiledStyles: e.data.cssCompiledStyles }).nodeStyles).attr("fill-opacity", 0.3).attr("stroke", (e) => e.parent ? M(e.parent.data.name) : M(e.data.name)).attr("stroke-width", 3), Y.append("clipPath").attr("id", (e, l) => `clip-${g}-${l}`).append("rect").attr("width", (e) => Math.max(0, e.x1 - e.x0 - 4)).attr("height", (e) => Math.max(0, e.y1 - e.y0 - 4)), Y.append("text").attr("class", "treemapLabel").attr("x", (e) => (e.x1 - e.x0) / 2).attr("y", (e) => (e.y1 - e.y0) / 2).attr("style", (e) => `text-anchor: middle; dominant-baseline: middle; font-size: ${H}px;fill:` + P(e.data.name) + ";" + styles2String({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).attr("clip-path", (e, l) => `url(#clip-${g}-${l})`).text((e) => e.data.name).each(function(e) {
220
+ let l = select_default(this), u2 = e.x1 - e.x0, d = e.y1 - e.y0, p = l.node(), m = u2 - 2 * K, h = d - 2 * K;
221
+ if (m < q || h < q) {
214
222
  l.style("display", "none");
215
223
  return;
216
224
  }
217
225
  let g2 = parseInt(l.style("font-size"), 10), _2 = 0.6;
218
- for (; f.getComputedTextLength() > m && g2 > 8; ) g2--, l.style("font-size", `${g2}px`);
219
- let v2 = Math.max(6, Math.min(28, Math.round(g2 * _2))), y2 = g2 + 2 + v2;
220
- for (; y2 > h && g2 > 8 && (g2--, v2 = Math.max(6, Math.min(28, Math.round(g2 * _2))), !(v2 < 6 && g2 === 8)); ) l.style("font-size", `${g2}px`), y2 = g2 + 2 + v2;
221
- l.style("font-size", `${g2}px`), (f.getComputedTextLength() > m || g2 < 8 || h < g2) && l.style("display", "none");
222
- }), b.showValues !== false && V.append("text").attr("class", "treemapValue").attr("x", (e) => (e.x1 - e.x0) / 2).attr("y", function(e) {
226
+ for (; p.getComputedTextLength() > m && g2 > W; ) g2--, l.style("font-size", `${g2}px`);
227
+ let v2 = Math.max(G, Math.min(U, Math.round(g2 * _2))), y2 = g2 + J + v2;
228
+ for (; y2 > h && g2 > W && (g2--, v2 = Math.max(G, Math.min(U, Math.round(g2 * _2))), !(v2 < G && g2 === W)); ) l.style("font-size", `${g2}px`), y2 = g2 + J + v2;
229
+ l.style("font-size", `${g2}px`), V ? (g2 < W || h < W) && l.style("display", "none") : (p.getComputedTextLength() > m || g2 < W || h < g2) && l.style("display", "none");
230
+ }), b.showValues !== false && Y.append("text").attr("class", "treemapValue").attr("x", (e) => (e.x1 - e.x0) / 2).attr("y", function(e) {
223
231
  return (e.y1 - e.y0) / 2;
224
- }).attr("style", (e) => "text-anchor: middle; dominant-baseline: hanging; font-size: 28px;fill:" + P(e.data.name) + ";" + styles2String({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).attr("clip-path", (e, l) => `url(#clip-${g}-${l})`).text((e) => e.value ? j(e.value) : "").each(function(e) {
232
+ }).attr("style", (e) => `text-anchor: middle; dominant-baseline: hanging; font-size: ${U}px;fill:` + P(e.data.name) + ";" + styles2String({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).attr("clip-path", (e, l) => `url(#clip-${g}-${l})`).text((e) => e.value ? j(e.value) : "").each(function(e) {
225
233
  let l = select_default(this), u2 = this.parentNode;
226
234
  if (!u2) {
227
235
  l.style("display", "none");
@@ -232,12 +240,12 @@ var populate = /* @__PURE__ */ __name((e, l) => {
232
240
  l.style("display", "none");
233
241
  return;
234
242
  }
235
- let f = parseFloat(d.style("font-size")), m = Math.max(6, Math.min(28, Math.round(f * 0.6)));
243
+ let p = parseFloat(d.style("font-size")), m = Math.max(G, Math.min(U, Math.round(p * 0.6)));
236
244
  l.style("font-size", `${m}px`);
237
- let h = (e.y1 - e.y0) / 2 + f / 2 + 2;
245
+ let h = (e.y1 - e.y0) / 2 + p / 2 + J;
238
246
  l.attr("y", h);
239
- let g2 = e.x1 - e.x0, _2 = e.y1 - e.y0 - 4, v2 = g2 - 8;
240
- l.node().getComputedTextLength() > v2 || h + m > _2 || m < 6 ? l.style("display", "none") : l.style("display", null);
247
+ let g2 = e.x1 - e.x0, _2 = e.y1 - e.y0 - 4, v2 = g2 - 2 * K;
248
+ l.node().getComputedTextLength() > v2 || h + m > _2 || m < G ? l.style("display", "none") : l.style("display", null);
241
249
  }), setupViewPortForSVG(E, b.diagramPadding ?? 8, "flowchart", (b == null ? void 0 : b.useMaxWidth) || false);
242
250
  }, "draw"),
243
251
  getClasses: /* @__PURE__ */ __name(function(e, l) {
@@ -250,11 +258,8 @@ var populate = /* @__PURE__ */ __name((e, l) => {
250
258
  leafStrokeColor: "black",
251
259
  leafStrokeWidth: "1",
252
260
  leafFillColor: "#efefef",
253
- labelColor: "black",
254
261
  labelFontSize: "12px",
255
262
  valueFontSize: "10px",
256
- valueColor: "black",
257
- titleColor: "black",
258
263
  titleFontSize: "14px"
259
264
  }, diagram = {
260
265
  parser,
@@ -263,29 +268,29 @@ var populate = /* @__PURE__ */ __name((e, l) => {
263
268
  },
264
269
  renderer,
265
270
  styles: /* @__PURE__ */ __name(({ treemap: e } = {}) => {
266
- let l = cleanAndMerge(defaultTreemapStyleOptions, e);
271
+ let l = cleanAndMerge(getThemeVariables3(), getConfig().themeVariables), d = cleanAndMerge(defaultTreemapStyleOptions, e), f = d.titleColor ?? l.titleColor, p = d.labelColor ?? l.textColor, m = d.valueColor ?? l.textColor;
267
272
  return `
268
273
  .treemapNode.section {
269
- stroke: ${l.sectionStrokeColor};
270
- stroke-width: ${l.sectionStrokeWidth};
271
- fill: ${l.sectionFillColor};
274
+ stroke: ${d.sectionStrokeColor};
275
+ stroke-width: ${d.sectionStrokeWidth};
276
+ fill: ${d.sectionFillColor};
272
277
  }
273
278
  .treemapNode.leaf {
274
- stroke: ${l.leafStrokeColor};
275
- stroke-width: ${l.leafStrokeWidth};
276
- fill: ${l.leafFillColor};
279
+ stroke: ${d.leafStrokeColor};
280
+ stroke-width: ${d.leafStrokeWidth};
281
+ fill: ${d.leafFillColor};
277
282
  }
278
283
  .treemapLabel {
279
- fill: ${l.labelColor};
280
- font-size: ${l.labelFontSize};
284
+ fill: ${p};
285
+ font-size: ${d.labelFontSize};
281
286
  }
282
287
  .treemapValue {
283
- fill: ${l.valueColor};
284
- font-size: ${l.valueFontSize};
288
+ fill: ${m};
289
+ font-size: ${d.valueFontSize};
285
290
  }
286
291
  .treemapTitle {
287
- fill: ${l.titleColor};
288
- font-size: ${l.titleFontSize};
292
+ fill: ${f};
293
+ font-size: ${d.titleFontSize};
289
294
  }
290
295
  `;
291
296
  }, "getStyles")
@@ -0,0 +1,236 @@
1
+ import "./purify.es-DR5PNXwx.js";
2
+ import { a as cleanAndMerge } from "./chunk-NSK5VX7P-BmmoJBbx.js";
3
+ import { n as log } from "./src-BwVZVGyf.js";
4
+ import { n as __name } from "./chunk-Y2CYZVJY-DX3DSigL.js";
5
+ import { D as getThemeVariables3, H as setAccDescription, K as setDiagramTitle, U as setAccTitle, a as clear, b as getConfig, c as configureSvgSize, f as defaultConfig_default, v as getAccDescription, w as getDiagramTitle, y as getAccTitle } from "./chunk-I66GZJ75-9xAsFrdW.js";
6
+ import { t as selectSvgElement } from "./chunk-3NCLNEKW-BPlp8K7N.js";
7
+ import "./dist-HaLHv0k5.js";
8
+ import "./chunk-KEIR6QF5-aP6TmWQ-.js";
9
+ import "./chunk-MOZMSUNE-BQi-ggQx.js";
10
+ import "./chunk-OSBZ3O6U-BcrmpSY_.js";
11
+ import "./chunk-5JV3BV7I-B7tzprBU.js";
12
+ import "./chunk-CYSBUYHQ-Cv-vKQV-.js";
13
+ import "./chunk-BIQX33UG-B-BYk6sM.js";
14
+ import "./chunk-EMLP6XTP-DCtMkXLF.js";
15
+ import "./chunk-YOTPTUD7-C8qfgaz5.js";
16
+ import "./chunk-QBLGF6JB-BACuPUWb.js";
17
+ import "./chunk-5TONJI2A-LRqbgPte.js";
18
+ import "./chunk-5HE753X5-D2jFCVXb.js";
19
+ import "./chunk-U6XO7XAA-I8tCjTeT.js";
20
+ import "./chunk-JG7HCLWE-CZIm6axg.js";
21
+ import "./chunk-CQNSW5MT-DBXDKSOU.js";
22
+ import "./chunk-R7FJI6CG-BYAXJpIb.js";
23
+ import "./chunk-5FCAYU7R-C3cMIeyz.js";
24
+ import { t as populateCommonDb } from "./chunk-JWPE2WC7-C_Daz-Oc.js";
25
+ import { n as parse } from "./mermaid-parser.core-BQzz3_BI.js";
26
+ var defaultOptions = {
27
+ showLegend: true,
28
+ ticks: 5,
29
+ max: null,
30
+ min: 0,
31
+ graticule: "circle"
32
+ }, MAX_TICKS = 32, defaultRadarData = {
33
+ axes: [],
34
+ curves: [],
35
+ options: defaultOptions
36
+ }, data = structuredClone(defaultRadarData), DEFAULT_RADAR_CONFIG = defaultConfig_default.radar, getConfig2 = /* @__PURE__ */ __name(() => cleanAndMerge({
37
+ ...DEFAULT_RADAR_CONFIG,
38
+ ...getConfig().radar
39
+ }), "getConfig"), getAxes = /* @__PURE__ */ __name(() => data.axes, "getAxes"), getCurves = /* @__PURE__ */ __name(() => data.curves, "getCurves"), getOptions = /* @__PURE__ */ __name(() => data.options, "getOptions"), setAxes = /* @__PURE__ */ __name((t) => {
40
+ data.axes = t.map((t2) => ({
41
+ name: t2.name,
42
+ label: t2.label ?? t2.name
43
+ }));
44
+ }, "setAxes"), setCurves = /* @__PURE__ */ __name((t) => {
45
+ data.curves = t.map((t2) => ({
46
+ name: t2.name,
47
+ label: t2.label ?? t2.name,
48
+ entries: computeCurveEntries(t2.entries)
49
+ }));
50
+ }, "setCurves"), computeCurveEntries = /* @__PURE__ */ __name((t) => {
51
+ if (t[0].axis == null) return t.map((t2) => t2.value);
52
+ let j = getAxes();
53
+ if (j.length === 0) throw Error("Axes must be populated before curves for reference entries");
54
+ return j.map((j2) => {
55
+ let M = t.find((t2) => {
56
+ var _a;
57
+ return ((_a = t2.axis) == null ? void 0 : _a.$refText) === j2.name;
58
+ });
59
+ if (M === void 0) throw Error("Missing entry for axis " + j2.label);
60
+ return M.value;
61
+ });
62
+ }, "computeCurveEntries"), db = {
63
+ getAxes,
64
+ getCurves,
65
+ getOptions,
66
+ setAxes,
67
+ setCurves,
68
+ setOptions: /* @__PURE__ */ __name((t) => {
69
+ var _a, _b, _c, _d, _e;
70
+ let M = t.reduce((t2, j) => (t2[j.name] = j, t2), {});
71
+ data.options = {
72
+ showLegend: ((_a = M.showLegend) == null ? void 0 : _a.value) ?? defaultOptions.showLegend,
73
+ ticks: ((_b = M.ticks) == null ? void 0 : _b.value) ?? defaultOptions.ticks,
74
+ max: ((_c = M.max) == null ? void 0 : _c.value) ?? defaultOptions.max,
75
+ min: ((_d = M.min) == null ? void 0 : _d.value) ?? defaultOptions.min,
76
+ graticule: ((_e = M.graticule) == null ? void 0 : _e.value) ?? defaultOptions.graticule
77
+ }, data.options.ticks > MAX_TICKS && (log.warn(`Radar diagram ticks (${data.options.ticks}) exceeds maximum allowed (${MAX_TICKS}). Using ${MAX_TICKS} instead.`), data.options.ticks = MAX_TICKS);
78
+ }, "setOptions"),
79
+ getConfig: getConfig2,
80
+ clear: /* @__PURE__ */ __name(() => {
81
+ clear(), data = structuredClone(defaultRadarData);
82
+ }, "clear"),
83
+ setAccTitle,
84
+ getAccTitle,
85
+ setDiagramTitle,
86
+ getDiagramTitle,
87
+ getAccDescription,
88
+ setAccDescription
89
+ }, populate = /* @__PURE__ */ __name((t) => {
90
+ populateCommonDb(t, db);
91
+ let { axes: j, curves: M, options: N } = t;
92
+ db.setAxes(j), db.setCurves(M), db.setOptions(N);
93
+ }, "populate"), parser = { parse: /* @__PURE__ */ __name(async (t) => {
94
+ let M = await parse("radar", t);
95
+ log.debug(M), populate(M);
96
+ }, "parse") }, draw = /* @__PURE__ */ __name((t, j, M, N) => {
97
+ let P = N.db, F = P.getAxes(), I = P.getCurves(), L = P.getOptions(), R = P.getConfig(), z = P.getDiagramTitle(), B = drawFrame(selectSvgElement(j), R), V = L.max ?? Math.max(...I.map((t2) => Math.max(...t2.entries))), H = L.min, U = Math.min(R.width, R.height) / 2;
98
+ drawGraticule(B, F, U, L.ticks, L.graticule), drawAxes(B, F, U, R), drawCurves(B, F, I, H, V, L.graticule, R), drawLegend(B, I, L.showLegend, R), B.append("text").attr("class", "radarTitle").text(z).attr("x", 0).attr("y", -R.height / 2 - R.marginTop);
99
+ }, "draw"), drawFrame = /* @__PURE__ */ __name((t, j) => {
100
+ let M = j.width + j.marginLeft + j.marginRight, N = j.height + j.marginTop + j.marginBottom, P = {
101
+ x: j.marginLeft + j.width / 2,
102
+ y: j.marginTop + j.height / 2
103
+ };
104
+ return configureSvgSize(t, N, M, j.useMaxWidth ?? true), t.attr("viewBox", `0 0 ${M} ${N}`).attr("overflow", "visible"), t.append("g").attr("transform", `translate(${P.x}, ${P.y})`);
105
+ }, "drawFrame"), drawGraticule = /* @__PURE__ */ __name((t, j, M, N, P) => {
106
+ if (P === "circle") for (let j2 = 0; j2 < N; j2++) {
107
+ let P2 = M * (j2 + 1) / N;
108
+ t.append("circle").attr("r", P2).attr("class", "radarGraticule");
109
+ }
110
+ else if (P === "polygon") {
111
+ let P2 = j.length;
112
+ for (let F = 0; F < N; F++) {
113
+ let I = M * (F + 1) / N, L = j.map((t2, j2) => {
114
+ let M2 = 2 * j2 * Math.PI / P2 - Math.PI / 2;
115
+ return `${I * Math.cos(M2)},${I * Math.sin(M2)}`;
116
+ }).join(" ");
117
+ t.append("polygon").attr("points", L).attr("class", "radarGraticule");
118
+ }
119
+ }
120
+ }, "drawGraticule"), drawAxes = /* @__PURE__ */ __name((t, j, M, N) => {
121
+ let P = j.length;
122
+ for (let F = 0; F < P; F++) {
123
+ let I = j[F].label, L = 2 * F * Math.PI / P - Math.PI / 2, R = Math.cos(L), z = Math.sin(L);
124
+ t.append("line").attr("x1", 0).attr("y1", 0).attr("x2", M * N.axisScaleFactor * R).attr("y2", M * N.axisScaleFactor * z).attr("class", "radarAxisLine");
125
+ let B = R > 0.01 ? "start" : R < -0.01 ? "end" : "middle", V = z > 0.01 ? "hanging" : z < -0.01 ? "auto" : "central";
126
+ t.append("text").text(I).attr("x", M * N.axisLabelFactor * R + 4 * R).attr("y", M * N.axisLabelFactor * z + 4 * z).attr("text-anchor", B).attr("dominant-baseline", V).attr("class", "radarAxisLabel");
127
+ }
128
+ }, "drawAxes");
129
+ function drawCurves(t, j, M, N, P, F, I) {
130
+ let L = j.length, R = Math.min(I.width, I.height) / 2;
131
+ M.forEach((j2, M2) => {
132
+ if (j2.entries.length !== L) return;
133
+ let z = j2.entries.map((t2, j3) => {
134
+ let M3 = 2 * Math.PI * j3 / L - Math.PI / 2, F2 = relativeRadius(t2, N, P, R);
135
+ return {
136
+ x: F2 * Math.cos(M3),
137
+ y: F2 * Math.sin(M3)
138
+ };
139
+ });
140
+ F === "circle" ? t.append("path").attr("d", closedRoundCurve(z, I.curveTension)).attr("class", `radarCurve-${M2}`) : F === "polygon" && t.append("polygon").attr("points", z.map((t2) => `${t2.x},${t2.y}`).join(" ")).attr("class", `radarCurve-${M2}`);
141
+ });
142
+ }
143
+ __name(drawCurves, "drawCurves");
144
+ function relativeRadius(t, j, M, N) {
145
+ return N * (Math.min(Math.max(t, j), M) - j) / (M - j);
146
+ }
147
+ __name(relativeRadius, "relativeRadius");
148
+ function closedRoundCurve(t, j) {
149
+ let M = t.length, N = `M${t[0].x},${t[0].y}`;
150
+ for (let P = 0; P < M; P++) {
151
+ let F = t[(P - 1 + M) % M], I = t[P], L = t[(P + 1) % M], R = t[(P + 2) % M], z = {
152
+ x: I.x + (L.x - F.x) * j,
153
+ y: I.y + (L.y - F.y) * j
154
+ }, B = {
155
+ x: L.x - (R.x - I.x) * j,
156
+ y: L.y - (R.y - I.y) * j
157
+ };
158
+ N += ` C${z.x},${z.y} ${B.x},${B.y} ${L.x},${L.y}`;
159
+ }
160
+ return `${N} Z`;
161
+ }
162
+ __name(closedRoundCurve, "closedRoundCurve");
163
+ function drawLegend(t, j, M, N) {
164
+ if (!M) return;
165
+ let P = (N.width / 2 + N.marginRight) * 3 / 4, F = -(N.height / 2 + N.marginTop) * 3 / 4;
166
+ j.forEach((j2, M2) => {
167
+ let N2 = t.append("g").attr("transform", `translate(${P}, ${F + M2 * 20})`);
168
+ N2.append("rect").attr("width", 12).attr("height", 12).attr("class", `radarLegendBox-${M2}`), N2.append("text").attr("x", 16).attr("y", 0).attr("class", "radarLegendText").text(j2.label);
169
+ });
170
+ }
171
+ __name(drawLegend, "drawLegend");
172
+ var renderer = { draw }, genIndexStyles = /* @__PURE__ */ __name((t, j) => {
173
+ let M = "";
174
+ for (let N = 0; N < t.THEME_COLOR_LIMIT; N++) {
175
+ let P = t[`cScale${N}`];
176
+ M += `
177
+ .radarCurve-${N} {
178
+ color: ${P};
179
+ fill: ${P};
180
+ fill-opacity: ${j.curveOpacity};
181
+ stroke: ${P};
182
+ stroke-width: ${j.curveStrokeWidth};
183
+ }
184
+ .radarLegendBox-${N} {
185
+ fill: ${P};
186
+ fill-opacity: ${j.curveOpacity};
187
+ stroke: ${P};
188
+ }
189
+ `;
190
+ }
191
+ return M;
192
+ }, "genIndexStyles"), buildRadarStyleOptions = /* @__PURE__ */ __name((j) => {
193
+ let M = cleanAndMerge(getThemeVariables3(), getConfig().themeVariables);
194
+ return {
195
+ themeVariables: M,
196
+ radarOptions: cleanAndMerge(M.radar, j)
197
+ };
198
+ }, "buildRadarStyleOptions"), diagram = {
199
+ parser,
200
+ db,
201
+ renderer,
202
+ styles: /* @__PURE__ */ __name(({ radar: t } = {}) => {
203
+ let { themeVariables: j, radarOptions: M } = buildRadarStyleOptions(t);
204
+ return `
205
+ .radarTitle {
206
+ font-size: ${j.fontSize};
207
+ color: ${j.titleColor};
208
+ dominant-baseline: hanging;
209
+ text-anchor: middle;
210
+ }
211
+ .radarAxisLine {
212
+ stroke: ${M.axisColor};
213
+ stroke-width: ${M.axisStrokeWidth};
214
+ }
215
+ .radarAxisLabel {
216
+ font-size: ${M.axisLabelFontSize}px;
217
+ color: ${M.axisColor};
218
+ }
219
+ .radarGraticule {
220
+ fill: ${M.graticuleColor};
221
+ fill-opacity: ${M.graticuleOpacity};
222
+ stroke: ${M.graticuleColor};
223
+ stroke-width: ${M.graticuleStrokeWidth};
224
+ }
225
+ .radarLegendText {
226
+ text-anchor: start;
227
+ font-size: ${M.legendFontSize}px;
228
+ dominant-baseline: hanging;
229
+ }
230
+ ${genIndexStyles(j, M)}
231
+ `;
232
+ }, "styles")
233
+ };
234
+ export {
235
+ diagram
236
+ };
@@ -0,0 +1,4 @@
1
+ import { t as diff } from "./diff-B9rWZH0m.js";
2
+ export {
3
+ diff
4
+ };
@@ -1,6 +1,6 @@
1
- import { $ as EditorView, H as tags, I as syntaxTree, O as indentNodeProp, V as styleTags, X as parseMixed, kt as EditorSelection, m as bracketMatchingHandle, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, w as foldNodeProp } from "./dist-De-GlSAs.js";
2
- import { r as cssLanguage, t as css } from "./dist-4lVIWUT3.js";
3
- import { c as typescriptLanguage, i as jsxLanguage, n as javascript, r as javascriptLanguage, s as tsxLanguage } from "./dist-DgjbnqTg.js";
1
+ import { $ as EditorView, H as tags, I as syntaxTree, O as indentNodeProp, V as styleTags, X as parseMixed, kt as EditorSelection, m as bracketMatchingHandle, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, w as foldNodeProp } from "./dist-BJ2IUa0l.js";
2
+ import { r as cssLanguage, t as css } from "./dist-CSZpLb9d.js";
3
+ import { c as typescriptLanguage, i as jsxLanguage, n as javascript, r as javascriptLanguage, s as tsxLanguage } from "./dist-D1vYHETp.js";
4
4
  var scriptText = 54, StartCloseScriptTag = 1, styleText = 55, StartCloseStyleTag = 2, textareaText = 56, StartCloseTextareaTag = 3, EndTag = 4, SelfClosingEndTag = 5, StartTag = 6, StartScriptTag = 7, StartStyleTag = 8, StartTextareaTag = 9, StartSelfClosingTag = 10, StartCloseTag = 11, NoMatchStartCloseTag = 12, MismatchedStartCloseTag = 13, missingCloseTag = 57, IncompleteCloseTag = 14, commentContent$1 = 58, Element = 20, TagName = 22, Attribute = 23, AttributeName = 24, AttributeValue = 26, UnquotedAttributeValue = 27, ScriptText = 28, StyleText = 31, TextareaText = 34, OpenTag = 36, CloseTag = 37, Dialect_noMatch = 0, Dialect_selfClosing = 1, selfClosers$1 = {
5
5
  area: true,
6
6
  base: true,
@@ -1,5 +1,5 @@
1
- import { D as SKIP, O as visitParents, _ as s, g as h$1, h as webNamespaces, k as convert, n as longestStreak, t as factorySpace, u as markdownLineEnding, w as ok } from "./micromark-factory-space-CwHmg6iz.js";
2
- import { c as katex } from "./katex-Bld7b-fk.js";
1
+ import { D as SKIP, O as visitParents, _ as s, g as h$1, h as webNamespaces, k as convert, n as longestStreak, t as factorySpace, u as markdownLineEnding, w as ok } from "./micromark-factory-space-Cr4NxAt3.js";
2
+ import { c as katex } from "./katex-Dp22h6yO.js";
3
3
  function fromDom(o, F) {
4
4
  return transform(o, F || {}) || {
5
5
  type: "root",
@@ -1,6 +1,6 @@
1
- import { $ as EditorView, At as EditorState, G as NodeSet, H as tags, I as syntaxTree, J as Parser, K as NodeType, M as languageDataProp, Nt as Prec, O as indentNodeProp, R as Tag, T as foldService, V as styleTags, W as NodeProp, Wt as countColumn, X as parseMixed, Y as Tree, _ as defineLanguageFacet, c as Language, d as ParseContext, j as indentUnit, kt as EditorSelection, l as LanguageDescription, mt as keymap, u as LanguageSupport, w as foldNodeProp } from "./dist-De-GlSAs.js";
2
- import { t as CompletionContext } from "./dist-CSlJrrAw.js";
3
- import { n as html, r as htmlCompletionSource } from "./dist-BTdrwBWP.js";
1
+ import { $ as EditorView, At as EditorState, G as NodeSet, H as tags, I as syntaxTree, J as Parser, K as NodeType, M as languageDataProp, Nt as Prec, O as indentNodeProp, R as Tag, T as foldService, V as styleTags, W as NodeProp, Wt as countColumn, X as parseMixed, Y as Tree, _ as defineLanguageFacet, c as Language, d as ParseContext, j as indentUnit, kt as EditorSelection, l as LanguageDescription, mt as keymap, u as LanguageSupport, w as foldNodeProp } from "./dist-BJ2IUa0l.js";
2
+ import { t as CompletionContext } from "./dist-Cyq6Pxtv.js";
3
+ import { n as html, r as htmlCompletionSource } from "./dist-72nb8Uag.js";
4
4
  var CompositeBlock = class l {
5
5
  static create(R, z, B, V, H) {
6
6
  return new l(R, z, B, V + (V << 8) + R + (z << 4) | 0, H, [], []);
@@ -1,4 +1,4 @@
1
- import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp } from "./dist-De-GlSAs.js";
1
+ import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp } from "./dist-BJ2IUa0l.js";
2
2
  var closureParamDelim = 1, tpOpen = 2, tpClose = 3, RawString = 4, Float = 5, _b = 98, _e = 101, _f = 102, _r = 114, _E = 69, Zero = 48, Dot = 46, Plus = 43, Minus = 45, Hash = 35, Quote = 34, Pipe = 124, LessThan = 60, GreaterThan = 62;
3
3
  function isNum(h) {
4
4
  return h >= 48 && h <= 57;
@@ -1,5 +1,5 @@
1
- import { $ as EditorView, H as tags, I as syntaxTree, O as indentNodeProp, V as styleTags, X as parseMixed, i as LocalTokenGroup, kt as EditorSelection, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp } from "./dist-De-GlSAs.js";
2
- import { n as html } from "./dist-BTdrwBWP.js";
1
+ import { $ as EditorView, H as tags, I as syntaxTree, O as indentNodeProp, V as styleTags, X as parseMixed, i as LocalTokenGroup, kt as EditorSelection, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp } from "./dist-BJ2IUa0l.js";
2
+ import { n as html } from "./dist-72nb8Uag.js";
3
3
  var interpolationStart = 1, commentTagStart = 2, tagStart = 3, text = 155, endrawTagStart = 4, rawText = 156;
4
4
  function wordChar(h) {
5
5
  return h >= 65 && h <= 90 || h >= 97 && h <= 122;
@@ -0,0 +1,5 @@
1
+ import "./dist-BJ2IUa0l.js";
2
+ import { n as javaLanguage, t as java } from "./dist-DiwVZiK7.js";
3
+ export {
4
+ java
5
+ };
@@ -3001,7 +3001,7 @@ var DocTile = class extends CompositeTile {
3001
3001
  function A(e65, j2) {
3002
3002
  for (let M = 0, N = 0; M < e65.children.length && N <= j2; M++) {
3003
3003
  let P = e65.children[M], F = N + P.length;
3004
- F >= j2 && (P.isComposite() ? A(P, j2 - N) : (!O || O.isHidden && (w > 0 && !(O.flags & 32) || T && onSameLine(O, P))) && (F > j2 || P.flags & 32) ? (O = P, k = j2 - N) : (N < j2 || P.flags & 16 && !P.isHidden) && (E = P, D = j2 - N)), N = F;
3004
+ F >= j2 && (P.isComposite() ? A(P, j2 - N) : (!O || O.isHidden && (w > 0 && !(O.flags & 32) || T && onSameLine(O, P))) && (F > j2 || P.flags & 32 && w <= 1) ? (O = P, k = j2 - N) : (N < j2 || P.flags & 16 && !P.isHidden && w >= -1) && (E = P, D = j2 - N)), N = F;
3005
3005
  }
3006
3006
  }
3007
3007
  A(this, e64);
@@ -3152,11 +3152,15 @@ var MarkTile = class e31 extends CompositeTile {
3152
3152
  index: D
3153
3153
  }), E = A, D = 0, T && A.isComposite() && T.enter(A));
3154
3154
  }
3155
- else if (D == E.length) O = !!E.breakAfter, { tile: E, index: D } = k.pop(), D++;
3156
- else if (e64) {
3157
- let w2 = Math.min(e64, E.length - D);
3158
- T && T.skip(E, D, D + w2), e64 -= w2, D += w2;
3159
- } else break;
3155
+ else {
3156
+ let w2 = E.length;
3157
+ if (D < w2 && e64) {
3158
+ let O2 = Math.min(e64, w2 - D);
3159
+ T && T.skip(E, D, D + O2), e64 -= O2, D += O2;
3160
+ }
3161
+ if (D == w2) O = !!E.breakAfter, { tile: E, index: D } = k.pop(), D++;
3162
+ else if (!e64) break;
3163
+ }
3160
3164
  return this.tile = E, this.index = D, this.beforeBreak = O, this;
3161
3165
  }
3162
3166
  get root() {
@@ -5881,6 +5885,8 @@ var baseTheme$1$1 = /* @__PURE__ */ buildTheme("." + baseThemeID, {
5881
5885
  backgroundColor: "#f5f5f5",
5882
5886
  color: "black"
5883
5887
  },
5888
+ ".cm-panels-top": { top: "0" },
5889
+ ".cm-panels-bottom": { bottom: "0" },
5884
5890
  "&light .cm-panels-top": { borderBottom: "1px solid #ddd" },
5885
5891
  "&light .cm-panels-bottom": { borderTop: "1px solid #ddd" },
5886
5892
  "&dark .cm-panels": {
@@ -7018,9 +7024,9 @@ var selectionLayer = /* @__PURE__ */ layer({
7018
7024
  return e64.docChanged || e64.selectionSet || e64.viewportChanged || configChanged(e64);
7019
7025
  },
7020
7026
  class: "cm-selectionLayer"
7021
- }), hideNativeSelection = /* @__PURE__ */ Prec.highest(/* @__PURE__ */ EditorView.theme({
7027
+ }), selectionBg = browser.gecko && browser.gecko_version >= 153 ? "#ffffff01" : "transparent", hideNativeSelection = /* @__PURE__ */ Prec.highest(/* @__PURE__ */ EditorView.theme({
7022
7028
  ".cm-line": {
7023
- "& ::selection, &::selection": { backgroundColor: "transparent !important" },
7029
+ "& ::selection, &::selection": { backgroundColor: `${selectionBg} !important` },
7024
7030
  caretColor: "transparent !important"
7025
7031
  },
7026
7032
  ".cm-content": {
@@ -7916,7 +7922,7 @@ var panelPlugin = /* @__PURE__ */ ViewPlugin.fromClass(class {
7916
7922
  return;
7917
7923
  }
7918
7924
  if (!this.dom) {
7919
- this.dom = document.createElement("div"), this.dom.className = this.top ? "cm-panels cm-panels-top" : "cm-panels cm-panels-bottom", this.dom.style[this.top ? "top" : "bottom"] = "0";
7925
+ this.dom = document.createElement("div"), this.dom.className = this.top ? "cm-panels cm-panels-top" : "cm-panels cm-panels-bottom";
7920
7926
  let e65 = this.container || this.view.dom;
7921
7927
  e65.insertBefore(this.dom, this.top ? e65.firstChild : null);
7922
7928
  }
@@ -0,0 +1,5 @@
1
+ import "./dist-BJ2IUa0l.js";
2
+ import { i as pythonLanguage, n as localCompletionSource, r as python, t as globalCompletion } from "./dist-Ckfsc8C3.js";
3
+ export {
4
+ python
5
+ };
@@ -0,0 +1,5 @@
1
+ import "./dist-BJ2IUa0l.js";
2
+ import { n as cppLanguage, t as cpp } from "./dist-B_K4AAkc.js";
3
+ export {
4
+ cpp
5
+ };
@@ -1,4 +1,4 @@
1
- import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, y as flatIndent } from "./dist-De-GlSAs.js";
1
+ import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, y as flatIndent } from "./dist-BJ2IUa0l.js";
2
2
  var RawString = 1, templateArgsEndFallback = 2, MacroName = 3, R = 82, L = 76, u = 117, U = 85, a = 97, z = 122, A = 65, Z = 90, Underscore = 95, Zero = 48, Quote = 34, ParenL = 40, ParenR = 41, Space = 32, GreaterThan = 62, rawString = new ExternalTokenizer((y) => {
3
3
  if (y.next == L || y.next == U ? y.advance() : y.next == u && (y.advance(), y.next == Zero + 8 && y.advance()), y.next != R || (y.advance(), y.next != Quote)) return;
4
4
  y.advance();
@@ -0,0 +1,6 @@
1
+ import "./dist-BJ2IUa0l.js";
2
+ import "./dist-CSZpLb9d.js";
3
+ import { n as lessCompletionSource, r as lessLanguage, t as less } from "./dist-DLvxZEAK.js";
4
+ export {
5
+ less
6
+ };
@@ -0,0 +1,5 @@
1
+ import "./dist-BJ2IUa0l.js";
2
+ import { i as defineCSSCompletionSource, n as cssCompletionSource, r as cssLanguage, t as css } from "./dist-CSZpLb9d.js";
3
+ export {
4
+ css
5
+ };
@@ -0,0 +1,8 @@
1
+ import "./dist-BJ2IUa0l.js";
2
+ import "./dist-72nb8Uag.js";
3
+ import "./dist-CSZpLb9d.js";
4
+ import "./dist-D1vYHETp.js";
5
+ import { i as jinjaLanguage, n as jinja, r as jinjaCompletionSource, t as closePercentBrace } from "./dist-B1Donbpk.js";
6
+ export {
7
+ jinja
8
+ };