@marimo-team/islands 0.23.17-dev9 → 0.24.1-dev0

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 (633) 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-C3f0slQQ.js → common-CDI91x0c.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-CbOaZYQI.js → reveal-component-jN-3ZqwN.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/datasets/__tests__/icons.test.ts +21 -0
  338. package/src/components/datasets/icons.tsx +10 -0
  339. package/src/components/datasources/__tests__/components.test.tsx +29 -0
  340. package/src/components/datasources/components.tsx +8 -3
  341. package/src/components/editor/actions/export-dialog/__tests__/export-dialog.test.tsx +35 -0
  342. package/src/components/editor/actions/export-dialog/__tests__/state.test.ts +61 -0
  343. package/src/components/editor/actions/export-dialog/export-command.ts +4 -9
  344. package/src/components/editor/actions/export-dialog/format-notice.tsx +28 -0
  345. package/src/components/editor/actions/export-dialog/state.ts +23 -5
  346. package/src/components/editor/actions/export-dialog/use-export-dialog.ts +3 -13
  347. package/src/components/editor/actions/useConfigActions.tsx +24 -0
  348. package/src/components/editor/ai/add-cell-with-ai.tsx +2 -2
  349. package/src/components/editor/ai/ai-completion-editor.tsx +2 -2
  350. package/src/components/editor/chrome/panels/outline/__tests__/useActiveOutline.test.ts +26 -0
  351. package/src/components/editor/chrome/wrapper/useOpenAiAssistant.ts +2 -2
  352. package/src/components/editor/code/__tests__/readonly-python-code.test.tsx +114 -2
  353. package/src/core/__tests__/mode.test.ts +85 -0
  354. package/src/core/ai/__tests__/config.test.tsx +96 -0
  355. package/src/core/ai/config.ts +16 -22
  356. package/src/core/ai/constants.ts +7 -0
  357. package/src/core/ai/staged-cells.ts +3 -0
  358. package/src/core/ai/state.ts +10 -0
  359. package/src/core/codemirror/__tests__/setup.test.ts +1 -1
  360. package/src/core/codemirror/cm.ts +2 -2
  361. package/src/core/codemirror/code-lens/__tests__/extension.test.ts +85 -6
  362. package/src/core/codemirror/code-lens/extension.ts +144 -47
  363. package/src/core/codemirror/find-replace/search-highlight.ts +8 -3
  364. package/src/core/codemirror/language/languages/sql/__tests__/renderers.test.tsx +44 -0
  365. package/src/core/codemirror/language/languages/sql/renderers.tsx +3 -3
  366. package/src/core/codemirror/theme/__tests__/light.test.ts +59 -123
  367. package/src/core/codemirror/theme/dark.ts +6 -5
  368. package/src/core/codemirror/theme/light.ts +6 -4
  369. package/src/core/config/__tests__/config-schema.test.ts +2 -0
  370. package/src/core/config/config-schema.ts +1 -0
  371. package/src/core/config/feature-flag.tsx +0 -2
  372. package/src/core/dom/outline.ts +25 -2
  373. package/src/core/hotkeys/hotkeys.ts +2 -0
  374. package/src/core/mode.ts +11 -9
  375. package/src/core/network/__tests__/api.test.ts +132 -17
  376. package/src/core/network/__tests__/export-filename.test.ts +43 -0
  377. package/src/core/network/__tests__/requests-lazy.test.ts +1 -0
  378. package/src/core/network/api.ts +47 -12
  379. package/src/core/network/export-filename.ts +37 -0
  380. package/src/core/network/markdown-export.ts +19 -0
  381. package/src/core/network/requests-network.ts +29 -5
  382. package/src/core/network/types.ts +4 -0
  383. package/src/css/app/codemirror.css +11 -7
  384. package/src/css/globals.css +8 -0
  385. package/src/plugins/impl/DataEditorPlugin.tsx +2 -9
  386. package/src/plugins/impl/__tests__/DataEditorPlugin.test.ts +18 -0
  387. package/src/plugins/impl/chat/chat-ui.tsx +51 -3
  388. package/src/plugins/impl/data-frames/__tests__/schema.test.ts +30 -0
  389. package/src/plugins/impl/data-frames/schema.ts +4 -1
  390. package/src/plugins/impl/image-comparison/ImageComparisonComponent.tsx +20 -1
  391. package/src/plugins/impl/image-comparison/__tests__/ImageComparisonComponent.test.tsx +58 -0
  392. package/src/stories/theme.stories.tsx +71 -1
  393. package/dist/_baseUniq-B_2Hw7zG.js +0 -380
  394. package/dist/apl-e1B5LPEL.js +0 -4
  395. package/dist/architecture-7HQA4BMR-DHUrQjL4.js +0 -6
  396. package/dist/asciiarmor-B-gwgesP.js +0 -4
  397. package/dist/asn1-DF2ckRB4.js +0 -4
  398. package/dist/assets/__vite-browser-external-DltVXDv7.js +0 -1
  399. package/dist/blockDiagram-VD42YOAC-CIOjvxeD.js +0 -3131
  400. package/dist/brainfuck-4G-7_gq_.js +0 -4
  401. package/dist/chat-ui-DsZJj75A.js +0 -8369
  402. package/dist/chunk-55IACEB6-7h71GwyW.js +0 -8
  403. package/dist/chunk-ABZYJK2D-BxBDji1u.js +0 -2438
  404. package/dist/chunk-BNovOVIE.js +0 -28
  405. package/dist/chunk-CVBHYZKI-CwazXVlJ.js +0 -13
  406. package/dist/chunk-DR5Q36YT-5Yp2GWwR.js +0 -137
  407. package/dist/chunk-EXTU4WIE-BQPBhApE.js +0 -10
  408. package/dist/chunk-JZLCHNYA-DWIR9m5O.js +0 -4901
  409. package/dist/chunk-N4CR4FBY-Bw2HcMNc.js +0 -65
  410. package/dist/chunk-QXUST7PY-DtC2t9Mk.js +0 -498
  411. package/dist/chunk-TCCFYFTB-DPWJa9zL.js +0 -13948
  412. package/dist/chunk-TZMSLE5B-BzSHcq-K.js +0 -63
  413. package/dist/classDiagram-2ON5EDUG-BiQPjMNY.js +0 -30
  414. package/dist/classDiagram-v2-WZHVMYZB-YHdR8fqM.js +0 -30
  415. package/dist/clojure-CUybM11R.js +0 -4
  416. package/dist/clone-Q4Fqwn6q.js +0 -9
  417. package/dist/cmake-BPjGcuDL.js +0 -4
  418. package/dist/cobol-BETk_nb6.js +0 -4
  419. package/dist/coffeescript-CManZxXL.js +0 -4
  420. package/dist/commonlisp-DWkn7GW8.js +0 -4
  421. package/dist/crystal-CCbg5EUH.js +0 -4
  422. package/dist/css-By8eo-XS.js +0 -4
  423. package/dist/cypher-DwfHg3nP.js +0 -4
  424. package/dist/d-Brs1wNbw.js +0 -4
  425. package/dist/dagre-6UL2VRFP-DpYjBqQs.js +0 -296
  426. package/dist/diagram-QEK2KX5R-DVlUOgs1.js +0 -228
  427. package/dist/diff-DJIRmJ1g.js +0 -4
  428. package/dist/dist-5o9uz19x.js +0 -5
  429. package/dist/dist-BpDH0DEP.js +0 -5
  430. package/dist/dist-BpXhbQXO.js +0 -8
  431. package/dist/dist-ByadAk_L.js +0 -5
  432. package/dist/dist-CK0g7JvP.js +0 -8
  433. package/dist/dist-CfzCtiq2.js +0 -5
  434. package/dist/dist-D8JtVFrW.js +0 -8
  435. package/dist/dist-DK2Oocpu.js +0 -6
  436. package/dist/dist-DnSu977r.js +0 -5
  437. package/dist/dist-UmxJm6sW.js +0 -8
  438. package/dist/dist-aYSBQSyM.js +0 -5
  439. package/dist/dist-kkZ1Ztlh.js +0 -6
  440. package/dist/dist-ngPczwNi.js +0 -5
  441. package/dist/dist-wQRyxyTV.js +0 -5
  442. package/dist/dtd-Dyiazv4N.js +0 -4
  443. package/dist/dylan-D8Fcw7NA.js +0 -4
  444. package/dist/ecl-CjKp8Vii.js +0 -4
  445. package/dist/eiffel-K9ViOX5r.js +0 -4
  446. package/dist/elm-B5NVtRco.js +0 -4
  447. package/dist/erlang-BnLzgk7R.js +0 -4
  448. package/dist/factor-C7f9Jz5R.js +0 -4
  449. package/dist/flatten-Bbw7g6-K.js +0 -8
  450. package/dist/forth-rGM8jLao.js +0 -4
  451. package/dist/fortran-B3acSe0i.js +0 -4
  452. package/dist/ganttDiagram-JELNMOA3-CXXCN7LN.js +0 -2170
  453. package/dist/gas-Bb1Vmv_N.js +0 -4
  454. package/dist/gherkin-C9Lyidgd.js +0 -4
  455. package/dist/gitGraphDiagram-V2S2FVAM-BOlkMSqK.js +0 -652
  456. package/dist/graphlib-Ns7y5crs.js +0 -359
  457. package/dist/groovy-DQk6XcGH.js +0 -4
  458. package/dist/hasIn-Deg7jl_j.js +0 -108
  459. package/dist/haskell-mV0Vw9gv.js +0 -4
  460. package/dist/haxe-DqxN89zH.js +0 -5
  461. package/dist/idl-ya8W561J.js +0 -4
  462. package/dist/infoDiagram-HS3SLOUP-D3TyKnL_.js +0 -30
  463. package/dist/javascript-CgqgptVu.js +0 -4
  464. package/dist/julia-CFQ-HusI.js +0 -4
  465. package/dist/livescript-D__3TmDo.js +0 -4
  466. package/dist/lua-Bytcgj_W.js +0 -4
  467. package/dist/main-B1Jo_8pC.js +0 -4321
  468. package/dist/mathematica-DJhvVKvl.js +0 -4
  469. package/dist/mbox-IGHPCjfR.js +0 -4
  470. package/dist/memoize-BOtf2yFf.js +0 -17
  471. package/dist/merge-Be1CqGnU.js +0 -222
  472. package/dist/mermaid-4DMBBIKO-FXbOziy9.js +0 -6
  473. package/dist/mermaid-hv6IckVw.js +0 -1100
  474. package/dist/mermaid-parser.core-DoivvxPd.js +0 -54
  475. package/dist/min-Dtgc8txR.js +0 -38
  476. package/dist/mirc-tcwvVugm.js +0 -4
  477. package/dist/mllike-Dx91i62r.js +0 -6
  478. package/dist/modelica-_SRt-yU5.js +0 -4
  479. package/dist/mscgen-GZrGS9gt.js +0 -6
  480. package/dist/mumps-Cv3ygyod.js +0 -4
  481. package/dist/nsis-BU7GeGbI.js +0 -4
  482. package/dist/ntriples-CL-FCYXb.js +0 -4
  483. package/dist/octave-Dc6_3DIu.js +0 -4
  484. package/dist/oz-DpUAJCXf.js +0 -4
  485. package/dist/pascal-B17mncXs.js +0 -4
  486. package/dist/perl-BTpK97q9.js +0 -4
  487. package/dist/pick-D1Qo8s2C.js +0 -43
  488. package/dist/pieDiagram-ADFJNKIX-JvXG_6hk.js +0 -170
  489. package/dist/pig-CFb638Ap.js +0 -4
  490. package/dist/powershell-Cxo-_2A5.js +0 -4
  491. package/dist/properties-BPgT1xTB.js +0 -4
  492. package/dist/protobuf-BgHBaIIK.js +0 -4
  493. package/dist/pug-25-oS0SG.js +0 -4
  494. package/dist/puppet-DarIr20S.js +0 -4
  495. package/dist/python-BqmOsBsi.js +0 -4
  496. package/dist/q-D3QJCTup.js +0 -4
  497. package/dist/r-Cz_yBX4z.js +0 -4
  498. package/dist/rpm-DGOtYwAI.js +0 -5
  499. package/dist/ruby-DBZu4rPc.js +0 -4
  500. package/dist/sankeyDiagram-TZEHDZUN-DgkF38jx.js +0 -892
  501. package/dist/sas-Dd1D9qTq.js +0 -4
  502. package/dist/scheme-BmDjvTHX.js +0 -4
  503. package/dist/sequenceDiagram-WL72ISMW-BDmx9n95.js +0 -3652
  504. package/dist/shell-BL8zFSaj.js +0 -4
  505. package/dist/sieve-BAx2WqUP.js +0 -4
  506. package/dist/smalltalk-CYRzF7VV.js +0 -4
  507. package/dist/sparql-YWaDRO4A.js +0 -4
  508. package/dist/stateDiagram-v2-4FDKWEC3-C3xqeavR.js +0 -29
  509. package/dist/stex-B5O-env2.js +0 -4
  510. package/dist/stylus-lYsyLFc1.js +0 -4
  511. package/dist/swift-ClQz9z1n.js +0 -4
  512. package/dist/tcl-B3jhsfqY.js +0 -4
  513. package/dist/textile-Cb1Dw7Aq.js +0 -4
  514. package/dist/timeline-definition-IT6M3QCI-CkD_trIn.js +0 -856
  515. package/dist/toml-nHZhetdO.js +0 -4
  516. package/dist/troff-DuJAGWKH.js +0 -4
  517. package/dist/ttcn-BxrcwP21.js +0 -4
  518. package/dist/ttcn-cfg-BAg_9dcc.js +0 -4
  519. package/dist/turtle-zCq949as.js +0 -4
  520. package/dist/vb-De5hElus.js +0 -4
  521. package/dist/vbscript-Cypcpv4F.js +0 -4
  522. package/dist/velocity-Di7l-yhe.js +0 -4
  523. package/dist/verilog-Bzi-S3g2.js +0 -4
  524. package/dist/vhdl-B0ZZITaW.js +0 -4
  525. package/dist/webidl-0sviiRcN.js +0 -4
  526. package/dist/xquery-B4qMVWaB.js +0 -4
  527. package/dist/yacas-Jt25Fuv8.js +0 -4
  528. package/dist/z80-CrcbYzmp.js +0 -4
  529. /package/dist/{apl-99A7dLQe.js → apl-CMUKiT2b.js} +0 -0
  530. /package/dist/{array-O78LT16Y.js → array-CEIRxyh3.js} +0 -0
  531. /package/dist/{asciiarmor-DLEhpFDx.js → asciiarmor-C_r6K6db.js} +0 -0
  532. /package/dist/{asn1-CMrcTsT4.js → asn1-DnlnCQTu.js} +0 -0
  533. /package/dist/{asterisk-CqykImq7.js → asterisk-DaVJJDnV.js} +0 -0
  534. /package/dist/{brainfuck-ChPt5yBe.js → brainfuck-CtQoQVkV.js} +0 -0
  535. /package/dist/{clike-CE0fXfM_.js → clike-CIAs0ABt.js} +0 -0
  536. /package/dist/{clojure-QkBEMU-g.js → clojure-C6tKQYjD.js} +0 -0
  537. /package/dist/{cmake-CU1jX7Mo.js → cmake-D-nfcg14.js} +0 -0
  538. /package/dist/{cobol-DMOKzzky.js → cobol-DYTC58p9.js} +0 -0
  539. /package/dist/{coffeescript-DjnjLyfk.js → coffeescript-DctDWA58.js} +0 -0
  540. /package/dist/{colors-DmiH1bIH.js → colors-DR_aHfmQ.js} +0 -0
  541. /package/dist/{common-keywords-D3nPJNQP.js → common-keywords-FBrXPTcz.js} +0 -0
  542. /package/dist/{commonlisp-CYd9iOSe.js → commonlisp-BmvTqU5y.js} +0 -0
  543. /package/dist/{crystal-Dy55yoYG.js → crystal-BPIK2UMa.js} +0 -0
  544. /package/dist/{css-CNU8w3HJ.js → css-CDo_Lwzn.js} +0 -0
  545. /package/dist/{cypher-q47DGzK7.js → cypher-KztbD63v.js} +0 -0
  546. /package/dist/{d-jEkaLvxX.js → d-HXBWOoe9.js} +0 -0
  547. /package/dist/{defaultLocale-DoeErsX2.js → defaultLocale-DMZFeDB8.js} +0 -0
  548. /package/dist/{diff-vb2-unFN.js → diff-B9rWZH0m.js} +0 -0
  549. /package/dist/{dtd-C9kR-bXa.js → dtd-LtAMP5y8.js} +0 -0
  550. /package/dist/{duckdb-keywords-B6HYCMOT.js → duckdb-keywords-CvJhR_Yd.js} +0 -0
  551. /package/dist/{dylan-BLckrK-V.js → dylan-DXMK92pf.js} +0 -0
  552. /package/dist/{ebnf-Cnp3L9jg.js → ebnf-2D4Ctp3y.js} +0 -0
  553. /package/dist/{ecl-CEsf6XVg.js → ecl-Dqq8ser2.js} +0 -0
  554. /package/dist/{eiffel-2KGZNzx6.js → eiffel-ChExWBDx.js} +0 -0
  555. /package/dist/{elm-D2s3K5wF.js → elm-BMBz2xbZ.js} +0 -0
  556. /package/dist/{emotion-is-prop-valid.esm-DdVSF4FD.js → emotion-is-prop-valid.esm-_z-EwK5u.js} +0 -0
  557. /package/dist/{erlang-0PMFOndk.js → erlang-CGSDzg9P.js} +0 -0
  558. /package/dist/{fcl-D9nccAWI.js → fcl-Ccj8Z5Xd.js} +0 -0
  559. /package/dist/{forth-DG89iUsu.js → forth-vTkfR0aY.js} +0 -0
  560. /package/dist/{fortran-ytKsAVvu.js → fortran-CF4LAVFn.js} +0 -0
  561. /package/dist/{gas-Cg2Fm0N2.js → gas-mMFbQ2x4.js} +0 -0
  562. /package/dist/{gherkin-B87FEnZ-.js → gherkin-DLS1q0XM.js} +0 -0
  563. /package/dist/{groovy-Dcs08AWD.js → groovy-Zt6CNPxV.js} +0 -0
  564. /package/dist/{haskell-cwkOuhx6.js → haskell-kVOgzpVy.js} +0 -0
  565. /package/dist/{haxe-DWEo4q10.js → haxe-Bo21F6gc.js} +0 -0
  566. /package/dist/{http-B8jdG64J.js → http-_DVAYWoR.js} +0 -0
  567. /package/dist/{idl-WWQwDcRV.js → idl-B865GSM-.js} +0 -0
  568. /package/dist/{init-DNBbYZd_.js → init-TaqZJsBY.js} +0 -0
  569. /package/dist/{invariant-wRzNXIsJ.js → invariant-hOqqBz8A.js} +0 -0
  570. /package/dist/{javascript-BeR74dxD.js → javascript-CSLuHpxZ.js} +0 -0
  571. /package/dist/{julia-UlvCUYGL.js → julia-BCOLeQif.js} +0 -0
  572. /package/dist/{livescript-GPmFcmYV.js → livescript-DqUzLZFs.js} +0 -0
  573. /package/dist/{lua-DYoT_0zM.js → lua-D0ciLwkO.js} +0 -0
  574. /package/dist/{math-CBNc2Ib0.js → math-CTnb-N1W.js} +0 -0
  575. /package/dist/{mathematica-DSFIQlbG.js → mathematica-DujD1RDf.js} +0 -0
  576. /package/dist/{mbox-ej8lFMdL.js → mbox-8OkSQMDn.js} +0 -0
  577. /package/dist/{mirc-CAdIdvHQ.js → mirc-D47x8yRQ.js} +0 -0
  578. /package/dist/{mllike-CjTB1lHF.js → mllike-Dcfw-g6D.js} +0 -0
  579. /package/dist/{modelica-BB68FYMa.js → modelica-BHtr9gKR.js} +0 -0
  580. /package/dist/{mscgen-BkbzgGGI.js → mscgen-uZedQc_A.js} +0 -0
  581. /package/dist/{mumps-Cu-28E9F.js → mumps-Bc9QS1-K.js} +0 -0
  582. /package/dist/{nginx-C1ofKPst.js → nginx-DasThI7R.js} +0 -0
  583. /package/dist/{ntriples-D9cQiZxZ.js → ntriples-Clpn9Mrg.js} +0 -0
  584. /package/dist/{objects-De59twF-.js → objects-UzwQd5gx.js} +0 -0
  585. /package/dist/{octave-BvtAnPX0.js → octave-DA2esRWi.js} +0 -0
  586. /package/dist/{oz-COaVHk2E.js → oz-D8i-brWx.js} +0 -0
  587. /package/dist/{pascal-BFpqVD2x.js → pascal-Dt1a0CeN.js} +0 -0
  588. /package/dist/{path-DwWbhZFI.js → path-7gr7eZmp.js} +0 -0
  589. /package/dist/{perl-DaiORxHP.js → perl-CXy9EfRp.js} +0 -0
  590. /package/dist/{pig-DFzRhmsF.js → pig-DnXnrjQg.js} +0 -0
  591. /package/dist/{powershell-BG2LQNKN.js → powershell-BYE6u-Qk.js} +0 -0
  592. /package/dist/{properties-CqJJR5QY.js → properties-DlhyusaK.js} +0 -0
  593. /package/dist/{protobuf-WwDYV1yY.js → protobuf-DoMSrsPi.js} +0 -0
  594. /package/dist/{puppet-QNY3w_uN.js → puppet-DGi4idFA.js} +0 -0
  595. /package/dist/{python-4QrQ3Ugi.js → python-CYhALYh0.js} +0 -0
  596. /package/dist/{q-DhwXuxE2.js → q-Cs_qWJkU.js} +0 -0
  597. /package/dist/{r-Df-nkR25.js → r-DWJSQl1c.js} +0 -0
  598. /package/dist/{range-BOiA8qqU.js → range-Bieq5MNc.js} +0 -0
  599. /package/dist/{rpm-Cokue07s.js → rpm-DIip1m0n.js} +0 -0
  600. /package/dist/{ruby-DrYcL3qF.js → ruby-NgZGoa7Q.js} +0 -0
  601. /package/dist/{sas-CoiPirA5.js → sas-DEKzCzM2.js} +0 -0
  602. /package/dist/{scheme-CwFLjzHv.js → scheme-CBrGar2n.js} +0 -0
  603. /package/dist/{semaphore-C8rmHdhj.js → semaphore-P832H4YT.js} +0 -0
  604. /package/dist/{shell-BFV-R24I.js → shell-D7XFPOM_.js} +0 -0
  605. /package/dist/{sieve-CxwXF5T9.js → sieve-BOxOVQ18.js} +0 -0
  606. /package/dist/{simple-mode-DTaJtKPt.js → simple-mode-D-FXBgPn.js} +0 -0
  607. /package/dist/{smalltalk-QivVOCtX.js → smalltalk-DYK-HkUK.js} +0 -0
  608. /package/dist/{solr-BLvysN-c.js → solr-RZ9uTl59.js} +0 -0
  609. /package/dist/{sparql-nKsFk8j7.js → sparql-CU1uk9Py.js} +0 -0
  610. /package/dist/{spreadsheet-BWc8C2FT.js → spreadsheet-BNNUNXA2.js} +0 -0
  611. /package/dist/{sql-CWfUjlV1.js → sql-B4x8IkwU.js} +0 -0
  612. /package/dist/{stex-DtMAhV4-.js → stex-DIvyJfNO.js} +0 -0
  613. /package/dist/{stylus-BLKQAycn.js → stylus-BokZhKWB.js} +0 -0
  614. /package/dist/{swift-CJoKqiKj.js → swift-TlA42tbT.js} +0 -0
  615. /package/dist/{tcl-YTeYFNUc.js → tcl-C-m7N_9k.js} +0 -0
  616. /package/dist/{textile-C6rKQqMQ.js → textile-BWOWG894.js} +0 -0
  617. /package/dist/{tiddlywiki-ZXwTHGNT.js → tiddlywiki-DI0mF2WJ.js} +0 -0
  618. /package/dist/{tiki-C628O_u4.js → tiki-2HU6XLLn.js} +0 -0
  619. /package/dist/{toml-DxlPGbRy.js → toml-GapOS-6U.js} +0 -0
  620. /package/dist/{treemap-DY3NBr79.js → treemap-CQJ0bIDy.js} +0 -0
  621. /package/dist/{troff-DFCfH7Ku.js → troff-ChPXSGgg.js} +0 -0
  622. /package/dist/{ttcn-DAW-ERVP.js → ttcn-CGf_ktUb.js} +0 -0
  623. /package/dist/{ttcn-cfg-CpJ8b7EN.js → ttcn-cfg-E0kw_vEm.js} +0 -0
  624. /package/dist/{turtle-BneV2f8L.js → turtle-DDIYttZr.js} +0 -0
  625. /package/dist/{vb-D973Vxxh.js → vb-DsGz8YA-.js} +0 -0
  626. /package/dist/{vbscript-Dckaq3YO.js → vbscript-BfQcpKZn.js} +0 -0
  627. /package/dist/{velocity-DKty-GUC.js → velocity-BMi53hPb.js} +0 -0
  628. /package/dist/{verilog-aNaK_biA.js → verilog-B_WDxmCB.js} +0 -0
  629. /package/dist/{vhdl-CQuehnQy.js → vhdl-C52-TT0z.js} +0 -0
  630. /package/dist/{webidl-Bhg8vaMr.js → webidl-Cnphjlul.js} +0 -0
  631. /package/dist/{xquery-D2q16GaM.js → xquery-X_kWyOft.js} +0 -0
  632. /package/dist/{yacas-DHGOHnNa.js → yacas-Dpp9zAZ5.js} +0 -0
  633. /package/dist/{z80-BPhTmO22.js → z80-BZLZAthF.js} +0 -0
@@ -0,0 +1,1107 @@
1
+ import "./purify.es-DR5PNXwx.js";
2
+ import { t as arc_default } from "./arc-9nABupDE.js";
3
+ import { m as parseFontSize } from "./chunk-NSK5VX7P-BmmoJBbx.js";
4
+ import { n as log, t as select_default } from "./src-BwVZVGyf.js";
5
+ import { n as __name, t as __export } from "./chunk-Y2CYZVJY-DX3DSigL.js";
6
+ import { $ as darken_default, J as setupGraphViewbox, a as clear, b as getConfig, et as lighten_default, nt as is_dark_default, o as commonDb_exports, x as getConfig2 } from "./chunk-I66GZJ75-9xAsFrdW.js";
7
+ import { t as selectSvgElement } from "./chunk-3NCLNEKW-BPlp8K7N.js";
8
+ import "./dist-HaLHv0k5.js";
9
+ var parser = (function() {
10
+ var e = /* @__PURE__ */ __name(function(e2, b2, x2, S2) {
11
+ for (x2 || (x2 = {}), S2 = e2.length; S2--; x2[e2[S2]] = b2) ;
12
+ return x2;
13
+ }, "o"), b = [
14
+ 6,
15
+ 11,
16
+ 13,
17
+ 14,
18
+ 15,
19
+ 17,
20
+ 19,
21
+ 20,
22
+ 23,
23
+ 24
24
+ ], x = [1, 12], S = [1, 13], w = [1, 14], T = [1, 15], E = [1, 16], D = [1, 19], O = [1, 20], k = {
25
+ trace: /* @__PURE__ */ __name(function() {
26
+ }, "trace"),
27
+ yy: {},
28
+ symbols_: {
29
+ error: 2,
30
+ start: 3,
31
+ timeline_header: 4,
32
+ document: 5,
33
+ EOF: 6,
34
+ timeline: 7,
35
+ timeline_lr: 8,
36
+ timeline_td: 9,
37
+ line: 10,
38
+ SPACE: 11,
39
+ statement: 12,
40
+ NEWLINE: 13,
41
+ title: 14,
42
+ acc_title: 15,
43
+ acc_title_value: 16,
44
+ acc_descr: 17,
45
+ acc_descr_value: 18,
46
+ acc_descr_multiline_value: 19,
47
+ section: 20,
48
+ period_statement: 21,
49
+ event_statement: 22,
50
+ period: 23,
51
+ event: 24,
52
+ $accept: 0,
53
+ $end: 1
54
+ },
55
+ terminals_: {
56
+ 2: "error",
57
+ 6: "EOF",
58
+ 7: "timeline",
59
+ 8: "timeline_lr",
60
+ 9: "timeline_td",
61
+ 11: "SPACE",
62
+ 13: "NEWLINE",
63
+ 14: "title",
64
+ 15: "acc_title",
65
+ 16: "acc_title_value",
66
+ 17: "acc_descr",
67
+ 18: "acc_descr_value",
68
+ 19: "acc_descr_multiline_value",
69
+ 20: "section",
70
+ 23: "period",
71
+ 24: "event"
72
+ },
73
+ productions_: [
74
+ 0,
75
+ [3, 3],
76
+ [4, 1],
77
+ [4, 1],
78
+ [4, 1],
79
+ [5, 0],
80
+ [5, 2],
81
+ [10, 2],
82
+ [10, 1],
83
+ [10, 1],
84
+ [10, 1],
85
+ [12, 1],
86
+ [12, 2],
87
+ [12, 2],
88
+ [12, 1],
89
+ [12, 1],
90
+ [12, 1],
91
+ [12, 1],
92
+ [21, 1],
93
+ [22, 1]
94
+ ],
95
+ performAction: /* @__PURE__ */ __name(function(e2, b2, x2, S2, C, w2, T2) {
96
+ var E2 = w2.length - 1;
97
+ switch (C) {
98
+ case 1:
99
+ return w2[E2 - 1];
100
+ case 3:
101
+ S2.setDirection("LR");
102
+ break;
103
+ case 4:
104
+ S2.setDirection("TD");
105
+ break;
106
+ case 5:
107
+ this.$ = [];
108
+ break;
109
+ case 6:
110
+ w2[E2 - 1].push(w2[E2]), this.$ = w2[E2 - 1];
111
+ break;
112
+ case 7:
113
+ case 8:
114
+ this.$ = w2[E2];
115
+ break;
116
+ case 9:
117
+ case 10:
118
+ this.$ = [];
119
+ break;
120
+ case 11:
121
+ S2.getCommonDb().setDiagramTitle(w2[E2].substr(6)), this.$ = w2[E2].substr(6);
122
+ break;
123
+ case 12:
124
+ this.$ = w2[E2].trim(), S2.getCommonDb().setAccTitle(this.$);
125
+ break;
126
+ case 13:
127
+ case 14:
128
+ this.$ = w2[E2].trim(), S2.getCommonDb().setAccDescription(this.$);
129
+ break;
130
+ case 15:
131
+ S2.addSection(w2[E2].substr(8)), this.$ = w2[E2].substr(8);
132
+ break;
133
+ case 18:
134
+ S2.addTask(w2[E2], 0, ""), this.$ = w2[E2];
135
+ break;
136
+ case 19:
137
+ S2.addEvent(w2[E2].substr(2)), this.$ = w2[E2];
138
+ break;
139
+ }
140
+ }, "anonymous"),
141
+ table: [
142
+ {
143
+ 3: 1,
144
+ 4: 2,
145
+ 7: [1, 3],
146
+ 8: [1, 4],
147
+ 9: [1, 5]
148
+ },
149
+ { 1: [3] },
150
+ e(b, [2, 5], { 5: 6 }),
151
+ e(b, [2, 2]),
152
+ e(b, [2, 3]),
153
+ e(b, [2, 4]),
154
+ {
155
+ 6: [1, 7],
156
+ 10: 8,
157
+ 11: [1, 9],
158
+ 12: 10,
159
+ 13: [1, 11],
160
+ 14: x,
161
+ 15: S,
162
+ 17: w,
163
+ 19: T,
164
+ 20: E,
165
+ 21: 17,
166
+ 22: 18,
167
+ 23: D,
168
+ 24: O
169
+ },
170
+ e(b, [2, 10], { 1: [2, 1] }),
171
+ e(b, [2, 6]),
172
+ {
173
+ 12: 21,
174
+ 14: x,
175
+ 15: S,
176
+ 17: w,
177
+ 19: T,
178
+ 20: E,
179
+ 21: 17,
180
+ 22: 18,
181
+ 23: D,
182
+ 24: O
183
+ },
184
+ e(b, [2, 8]),
185
+ e(b, [2, 9]),
186
+ e(b, [2, 11]),
187
+ { 16: [1, 22] },
188
+ { 18: [1, 23] },
189
+ e(b, [2, 14]),
190
+ e(b, [2, 15]),
191
+ e(b, [2, 16]),
192
+ e(b, [2, 17]),
193
+ e(b, [2, 18]),
194
+ e(b, [2, 19]),
195
+ e(b, [2, 7]),
196
+ e(b, [2, 12]),
197
+ e(b, [2, 13])
198
+ ],
199
+ defaultActions: {},
200
+ parseError: /* @__PURE__ */ __name(function(e2, b2) {
201
+ if (b2.recoverable) this.trace(e2);
202
+ else {
203
+ var x2 = Error(e2);
204
+ throw x2.hash = b2, x2;
205
+ }
206
+ }, "parseError"),
207
+ parse: /* @__PURE__ */ __name(function(e2) {
208
+ var b2 = this, x2 = [0], S2 = [], w2 = [null], T2 = [], E2 = this.table, D2 = "", O2 = 0, k2 = 0, A2 = 0, j = 2, M = 1, N = T2.slice.call(arguments, 1), P = Object.create(this.lexer), F = { yy: {} };
209
+ for (var I in this.yy) Object.prototype.hasOwnProperty.call(this.yy, I) && (F.yy[I] = this.yy[I]);
210
+ P.setInput(e2, F.yy), F.yy.lexer = P, F.yy.parser = this, P.yylloc === void 0 && (P.yylloc = {});
211
+ var L = P.yylloc;
212
+ T2.push(L);
213
+ var R = P.options && P.options.ranges;
214
+ typeof F.yy.parseError == "function" ? this.parseError = F.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
215
+ function z(e3) {
216
+ x2.length -= 2 * e3, w2.length -= e3, T2.length -= e3;
217
+ }
218
+ __name(z, "popStack");
219
+ function B() {
220
+ var e3 = S2.pop() || P.lex() || M;
221
+ return typeof e3 != "number" && (e3 instanceof Array && (S2 = e3, e3 = S2.pop()), e3 = b2.symbols_[e3] || e3), e3;
222
+ }
223
+ __name(B, "lex");
224
+ for (var V, H, U, W, G, K = {}, q, J, Y, X; ; ) {
225
+ if (U = x2[x2.length - 1], this.defaultActions[U] ? W = this.defaultActions[U] : (V ?? (V = B()), W = E2[U] && E2[U][V]), W === void 0 || !W.length || !W[0]) {
226
+ var Z = "";
227
+ for (q in X = [], E2[U]) this.terminals_[q] && q > j && X.push("'" + this.terminals_[q] + "'");
228
+ Z = P.showPosition ? "Parse error on line " + (O2 + 1) + ":\n" + P.showPosition() + "\nExpecting " + X.join(", ") + ", got '" + (this.terminals_[V] || V) + "'" : "Parse error on line " + (O2 + 1) + ": Unexpected " + (V == M ? "end of input" : "'" + (this.terminals_[V] || V) + "'"), this.parseError(Z, {
229
+ text: P.match,
230
+ token: this.terminals_[V] || V,
231
+ line: P.yylineno,
232
+ loc: L,
233
+ expected: X
234
+ });
235
+ }
236
+ if (W[0] instanceof Array && W.length > 1) throw Error("Parse Error: multiple actions possible at state: " + U + ", token: " + V);
237
+ switch (W[0]) {
238
+ case 1:
239
+ x2.push(V), w2.push(P.yytext), T2.push(P.yylloc), x2.push(W[1]), V = null, H ? (V = H, H = null) : (k2 = P.yyleng, D2 = P.yytext, O2 = P.yylineno, L = P.yylloc, A2 > 0 && A2--);
240
+ break;
241
+ case 2:
242
+ if (J = this.productions_[W[1]][1], K.$ = w2[w2.length - J], K._$ = {
243
+ first_line: T2[T2.length - (J || 1)].first_line,
244
+ last_line: T2[T2.length - 1].last_line,
245
+ first_column: T2[T2.length - (J || 1)].first_column,
246
+ last_column: T2[T2.length - 1].last_column
247
+ }, R && (K._$.range = [T2[T2.length - (J || 1)].range[0], T2[T2.length - 1].range[1]]), G = this.performAction.apply(K, [
248
+ D2,
249
+ k2,
250
+ O2,
251
+ F.yy,
252
+ W[1],
253
+ w2,
254
+ T2
255
+ ].concat(N)), G !== void 0) return G;
256
+ J && (x2 = x2.slice(0, -1 * J * 2), w2 = w2.slice(0, -1 * J), T2 = T2.slice(0, -1 * J)), x2.push(this.productions_[W[1]][0]), w2.push(K.$), T2.push(K._$), Y = E2[x2[x2.length - 2]][x2[x2.length - 1]], x2.push(Y);
257
+ break;
258
+ case 3:
259
+ return true;
260
+ }
261
+ }
262
+ return true;
263
+ }, "parse")
264
+ };
265
+ k.lexer = /* @__PURE__ */ (function() {
266
+ return {
267
+ EOF: 1,
268
+ parseError: /* @__PURE__ */ __name(function(e2, b2) {
269
+ if (this.yy.parser) this.yy.parser.parseError(e2, b2);
270
+ else throw Error(e2);
271
+ }, "parseError"),
272
+ setInput: /* @__PURE__ */ __name(function(e2, b2) {
273
+ return this.yy = b2 || this.yy || {}, this._input = e2, this._more = this._backtrack = this.done = false, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
274
+ first_line: 1,
275
+ first_column: 0,
276
+ last_line: 1,
277
+ last_column: 0
278
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
279
+ }, "setInput"),
280
+ input: /* @__PURE__ */ __name(function() {
281
+ var e2 = this._input[0];
282
+ return this.yytext += e2, this.yyleng++, this.offset++, this.match += e2, this.matched += e2, e2.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e2;
283
+ }, "input"),
284
+ unput: /* @__PURE__ */ __name(function(e2) {
285
+ var b2 = e2.length, x2 = e2.split(/(?:\r\n?|\n)/g);
286
+ this._input = e2 + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - b2), this.offset -= b2;
287
+ var S2 = this.match.split(/(?:\r\n?|\n)/g);
288
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), x2.length - 1 && (this.yylineno -= x2.length - 1);
289
+ var C = this.yylloc.range;
290
+ return this.yylloc = {
291
+ first_line: this.yylloc.first_line,
292
+ last_line: this.yylineno + 1,
293
+ first_column: this.yylloc.first_column,
294
+ last_column: x2 ? (x2.length === S2.length ? this.yylloc.first_column : 0) + S2[S2.length - x2.length].length - x2[0].length : this.yylloc.first_column - b2
295
+ }, this.options.ranges && (this.yylloc.range = [C[0], C[0] + this.yyleng - b2]), this.yyleng = this.yytext.length, this;
296
+ }, "unput"),
297
+ more: /* @__PURE__ */ __name(function() {
298
+ return this._more = true, this;
299
+ }, "more"),
300
+ reject: /* @__PURE__ */ __name(function() {
301
+ if (this.options.backtrack_lexer) this._backtrack = true;
302
+ else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
303
+ text: "",
304
+ token: null,
305
+ line: this.yylineno
306
+ });
307
+ return this;
308
+ }, "reject"),
309
+ less: /* @__PURE__ */ __name(function(e2) {
310
+ this.unput(this.match.slice(e2));
311
+ }, "less"),
312
+ pastInput: /* @__PURE__ */ __name(function() {
313
+ var e2 = this.matched.substr(0, this.matched.length - this.match.length);
314
+ return (e2.length > 20 ? "..." : "") + e2.substr(-20).replace(/\n/g, "");
315
+ }, "pastInput"),
316
+ upcomingInput: /* @__PURE__ */ __name(function() {
317
+ var e2 = this.match;
318
+ return e2.length < 20 && (e2 += this._input.substr(0, 20 - e2.length)), (e2.substr(0, 20) + (e2.length > 20 ? "..." : "")).replace(/\n/g, "");
319
+ }, "upcomingInput"),
320
+ showPosition: /* @__PURE__ */ __name(function() {
321
+ var e2 = this.pastInput(), b2 = Array(e2.length + 1).join("-");
322
+ return e2 + this.upcomingInput() + "\n" + b2 + "^";
323
+ }, "showPosition"),
324
+ test_match: /* @__PURE__ */ __name(function(e2, b2) {
325
+ var x2, S2, C;
326
+ if (this.options.backtrack_lexer && (C = {
327
+ yylineno: this.yylineno,
328
+ yylloc: {
329
+ first_line: this.yylloc.first_line,
330
+ last_line: this.last_line,
331
+ first_column: this.yylloc.first_column,
332
+ last_column: this.yylloc.last_column
333
+ },
334
+ yytext: this.yytext,
335
+ match: this.match,
336
+ matches: this.matches,
337
+ matched: this.matched,
338
+ yyleng: this.yyleng,
339
+ offset: this.offset,
340
+ _more: this._more,
341
+ _input: this._input,
342
+ yy: this.yy,
343
+ conditionStack: this.conditionStack.slice(0),
344
+ done: this.done
345
+ }, this.options.ranges && (C.yylloc.range = this.yylloc.range.slice(0))), S2 = e2[0].match(/(?:\r\n?|\n).*/g), S2 && (this.yylineno += S2.length), this.yylloc = {
346
+ first_line: this.yylloc.last_line,
347
+ last_line: this.yylineno + 1,
348
+ first_column: this.yylloc.last_column,
349
+ last_column: S2 ? S2[S2.length - 1].length - S2[S2.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e2[0].length
350
+ }, this.yytext += e2[0], this.match += e2[0], this.matches = e2, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = false, this._backtrack = false, this._input = this._input.slice(e2[0].length), this.matched += e2[0], x2 = this.performAction.call(this, this.yy, this, b2, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = false), x2) return x2;
351
+ if (this._backtrack) {
352
+ for (var w2 in C) this[w2] = C[w2];
353
+ return false;
354
+ }
355
+ return false;
356
+ }, "test_match"),
357
+ next: /* @__PURE__ */ __name(function() {
358
+ if (this.done) return this.EOF;
359
+ this._input || (this.done = true);
360
+ var e2, b2, x2, S2;
361
+ this._more || (this.yytext = "", this.match = "");
362
+ for (var C = this._currentRules(), w2 = 0; w2 < C.length; w2++) if (x2 = this._input.match(this.rules[C[w2]]), x2 && (!b2 || x2[0].length > b2[0].length)) {
363
+ if (b2 = x2, S2 = w2, this.options.backtrack_lexer) {
364
+ if (e2 = this.test_match(x2, C[w2]), e2 !== false) return e2;
365
+ if (this._backtrack) {
366
+ b2 = false;
367
+ continue;
368
+ } else return false;
369
+ } else if (!this.options.flex) break;
370
+ }
371
+ return b2 ? (e2 = this.test_match(b2, C[S2]), e2 === false ? false : e2) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
372
+ text: "",
373
+ token: null,
374
+ line: this.yylineno
375
+ });
376
+ }, "next"),
377
+ lex: /* @__PURE__ */ __name(function() {
378
+ return this.next() || this.lex();
379
+ }, "lex"),
380
+ begin: /* @__PURE__ */ __name(function(e2) {
381
+ this.conditionStack.push(e2);
382
+ }, "begin"),
383
+ popState: /* @__PURE__ */ __name(function() {
384
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
385
+ }, "popState"),
386
+ _currentRules: /* @__PURE__ */ __name(function() {
387
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
388
+ }, "_currentRules"),
389
+ topState: /* @__PURE__ */ __name(function(e2) {
390
+ return e2 = this.conditionStack.length - 1 - Math.abs(e2 || 0), e2 >= 0 ? this.conditionStack[e2] : "INITIAL";
391
+ }, "topState"),
392
+ pushState: /* @__PURE__ */ __name(function(e2) {
393
+ this.begin(e2);
394
+ }, "pushState"),
395
+ stateStackSize: /* @__PURE__ */ __name(function() {
396
+ return this.conditionStack.length;
397
+ }, "stateStackSize"),
398
+ options: { "case-insensitive": true },
399
+ performAction: /* @__PURE__ */ __name(function(e2, b2, x2, S2) {
400
+ switch (x2) {
401
+ case 0:
402
+ break;
403
+ case 1:
404
+ break;
405
+ case 2:
406
+ return 13;
407
+ case 3:
408
+ break;
409
+ case 4:
410
+ break;
411
+ case 5:
412
+ return 8;
413
+ case 6:
414
+ return 9;
415
+ case 7:
416
+ return 7;
417
+ case 8:
418
+ return 14;
419
+ case 9:
420
+ return this.begin("acc_title"), 15;
421
+ case 10:
422
+ return this.popState(), "acc_title_value";
423
+ case 11:
424
+ return this.begin("acc_descr"), 17;
425
+ case 12:
426
+ return this.popState(), "acc_descr_value";
427
+ case 13:
428
+ this.begin("acc_descr_multiline");
429
+ break;
430
+ case 14:
431
+ this.popState();
432
+ break;
433
+ case 15:
434
+ return "acc_descr_multiline_value";
435
+ case 16:
436
+ return 20;
437
+ case 17:
438
+ return 24;
439
+ case 18:
440
+ return 23;
441
+ case 19:
442
+ return 6;
443
+ case 20:
444
+ return "INVALID";
445
+ }
446
+ }, "anonymous"),
447
+ rules: [
448
+ /^(?:%(?!\{)[^\n]*)/i,
449
+ /^(?:[^\}]%%[^\n]*)/i,
450
+ /^(?:[\n]+)/i,
451
+ /^(?:\s+)/i,
452
+ /^(?:#[^\n]*)/i,
453
+ /^(?:timeline[ \t]+LR\b)/i,
454
+ /^(?:timeline[ \t]+TD\b)/i,
455
+ /^(?:timeline\b)/i,
456
+ /^(?:title\s[^\n]+)/i,
457
+ /^(?:accTitle\s*:\s*)/i,
458
+ /^(?:(?!\n||)*[^\n]*)/i,
459
+ /^(?:accDescr\s*:\s*)/i,
460
+ /^(?:(?!\n||)*[^\n]*)/i,
461
+ /^(?:accDescr\s*\{\s*)/i,
462
+ /^(?:[\}])/i,
463
+ /^(?:[^\}]*)/i,
464
+ /^(?:section\s[^:\n]+)/i,
465
+ /^(?::\s(?:[^:\n]|:(?!\s))+)/i,
466
+ /^(?:[^#:\n]+)/i,
467
+ /^(?:$)/i,
468
+ /^(?:.)/i
469
+ ],
470
+ conditions: {
471
+ acc_descr_multiline: {
472
+ rules: [14, 15],
473
+ inclusive: false
474
+ },
475
+ acc_descr: {
476
+ rules: [12],
477
+ inclusive: false
478
+ },
479
+ acc_title: {
480
+ rules: [10],
481
+ inclusive: false
482
+ },
483
+ INITIAL: {
484
+ rules: [
485
+ 0,
486
+ 1,
487
+ 2,
488
+ 3,
489
+ 4,
490
+ 5,
491
+ 6,
492
+ 7,
493
+ 8,
494
+ 9,
495
+ 11,
496
+ 13,
497
+ 16,
498
+ 17,
499
+ 18,
500
+ 19,
501
+ 20
502
+ ],
503
+ inclusive: true
504
+ }
505
+ }
506
+ };
507
+ })();
508
+ function A() {
509
+ this.yy = {};
510
+ }
511
+ return __name(A, "Parser"), A.prototype = k, k.Parser = A, new A();
512
+ })();
513
+ parser.parser = parser;
514
+ var timeline_default = parser, timelineDb_exports = {};
515
+ __export(timelineDb_exports, {
516
+ addEvent: () => addEvent,
517
+ addSection: () => addSection,
518
+ addTask: () => addTask,
519
+ addTaskOrg: () => addTaskOrg,
520
+ clear: () => clear2,
521
+ default: () => timelineDb_default,
522
+ getCommonDb: () => getCommonDb,
523
+ getDirection: () => getDirection,
524
+ getSections: () => getSections,
525
+ getTasks: () => getTasks,
526
+ setDirection: () => setDirection
527
+ });
528
+ var currentSection = "", currentTaskId = 0, direction = "LR", sections = [], tasks = [], rawTasks = [], getCommonDb = /* @__PURE__ */ __name(() => commonDb_exports, "getCommonDb"), clear2 = /* @__PURE__ */ __name(function() {
529
+ sections.length = 0, tasks.length = 0, currentSection = "", rawTasks.length = 0, direction = "LR", clear();
530
+ }, "clear"), setDirection = /* @__PURE__ */ __name(function(e) {
531
+ direction = e;
532
+ }, "setDirection"), getDirection = /* @__PURE__ */ __name(function() {
533
+ return direction;
534
+ }, "getDirection"), addSection = /* @__PURE__ */ __name(function(e) {
535
+ currentSection = e, sections.push(e);
536
+ }, "addSection"), getSections = /* @__PURE__ */ __name(function() {
537
+ return sections;
538
+ }, "getSections"), getTasks = /* @__PURE__ */ __name(function() {
539
+ let e = compileTasks(), b = 0;
540
+ for (; !e && b < 100; ) e = compileTasks(), b++;
541
+ return tasks.push(...rawTasks), tasks;
542
+ }, "getTasks"), addTask = /* @__PURE__ */ __name(function(e, b, x) {
543
+ let S = {
544
+ id: currentTaskId++,
545
+ section: currentSection,
546
+ type: currentSection,
547
+ task: e,
548
+ score: b || 0,
549
+ events: x ? [x] : []
550
+ };
551
+ rawTasks.push(S);
552
+ }, "addTask"), addEvent = /* @__PURE__ */ __name(function(e) {
553
+ rawTasks.find((e2) => e2.id === currentTaskId - 1).events.push(e);
554
+ }, "addEvent"), addTaskOrg = /* @__PURE__ */ __name(function(e) {
555
+ let b = {
556
+ section: currentSection,
557
+ type: currentSection,
558
+ description: e,
559
+ task: e,
560
+ classes: []
561
+ };
562
+ tasks.push(b);
563
+ }, "addTaskOrg"), compileTasks = /* @__PURE__ */ __name(function() {
564
+ let e = /* @__PURE__ */ __name(function(e2) {
565
+ return rawTasks[e2].processed;
566
+ }, "compileTask"), b = true;
567
+ for (let [x, S] of rawTasks.entries()) e(x), b && (b = S.processed);
568
+ return b;
569
+ }, "compileTasks"), timelineDb_default = {
570
+ clear: clear2,
571
+ getCommonDb,
572
+ getDirection,
573
+ setDirection,
574
+ addSection,
575
+ getSections,
576
+ getTasks,
577
+ addTask,
578
+ addTaskOrg,
579
+ addEvent
580
+ }, nodeCount = 0, drawRect = /* @__PURE__ */ __name(function(e, b) {
581
+ let x = e.append("rect");
582
+ return x.attr("x", b.x), x.attr("y", b.y), x.attr("fill", b.fill), x.attr("stroke", b.stroke), x.attr("width", b.width), x.attr("height", b.height), x.attr("rx", b.rx), x.attr("ry", b.ry), b.class !== void 0 && x.attr("class", b.class), x;
583
+ }, "drawRect"), drawFace = /* @__PURE__ */ __name(function(b, x) {
584
+ let S = b.append("circle").attr("cx", x.cx).attr("cy", x.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), w = b.append("g");
585
+ w.append("circle").attr("cx", x.cx - 15 / 3).attr("cy", x.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666"), w.append("circle").attr("cx", x.cx + 15 / 3).attr("cy", x.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666");
586
+ function T(b2) {
587
+ let S2 = arc_default().startAngle(Math.PI / 2).endAngle(3 * (Math.PI / 2)).innerRadius(15 / 2).outerRadius(15 / 2.2);
588
+ b2.append("path").attr("class", "mouth").attr("d", S2).attr("transform", "translate(" + x.cx + "," + (x.cy + 2) + ")");
589
+ }
590
+ __name(T, "smile");
591
+ function E(b2) {
592
+ let S2 = arc_default().startAngle(3 * Math.PI / 2).endAngle(5 * (Math.PI / 2)).innerRadius(15 / 2).outerRadius(15 / 2.2);
593
+ b2.append("path").attr("class", "mouth").attr("d", S2).attr("transform", "translate(" + x.cx + "," + (x.cy + 7) + ")");
594
+ }
595
+ __name(E, "sad");
596
+ function D(e) {
597
+ e.append("line").attr("class", "mouth").attr("stroke", 2).attr("x1", x.cx - 5).attr("y1", x.cy + 7).attr("x2", x.cx + 5).attr("y2", x.cy + 7).attr("class", "mouth").attr("stroke-width", "1px").attr("stroke", "#666");
598
+ }
599
+ return __name(D, "ambivalent"), x.score > 3 ? T(w) : x.score < 3 ? E(w) : D(w), S;
600
+ }, "drawFace"), drawCircle = /* @__PURE__ */ __name(function(e, b) {
601
+ let x = e.append("circle");
602
+ return x.attr("cx", b.cx), x.attr("cy", b.cy), x.attr("class", "actor-" + b.pos), x.attr("fill", b.fill), x.attr("stroke", b.stroke), x.attr("r", b.r), x.class !== void 0 && x.attr("class", x.class), b.title !== void 0 && x.append("title").text(b.title), x;
603
+ }, "drawCircle"), drawText = /* @__PURE__ */ __name(function(e, b) {
604
+ let x = b.text.replace(/<br\s*\/?>/gi, " "), S = e.append("text");
605
+ S.attr("x", b.x), S.attr("y", b.y), S.attr("class", "legend"), S.style("text-anchor", b.anchor), b.class !== void 0 && S.attr("class", b.class);
606
+ let C = S.append("tspan");
607
+ return C.attr("x", b.x + b.textMargin * 2), C.text(x), S;
608
+ }, "drawText"), drawLabel = /* @__PURE__ */ __name(function(e, b) {
609
+ function x(e2, b2, x2, S2, C) {
610
+ return e2 + "," + b2 + " " + (e2 + x2) + "," + b2 + " " + (e2 + x2) + "," + (b2 + S2 - C) + " " + (e2 + x2 - C * 1.2) + "," + (b2 + S2) + " " + e2 + "," + (b2 + S2);
611
+ }
612
+ __name(x, "genPoints");
613
+ let S = e.append("polygon");
614
+ S.attr("points", x(b.x, b.y, 50, 20, 7)), S.attr("class", "labelBox"), b.y += b.labelMargin, b.x += 0.5 * b.labelMargin, drawText(e, b);
615
+ }, "drawLabel"), drawSection = /* @__PURE__ */ __name(function(e, b, x) {
616
+ let S = e.append("g"), C = getNoteRect();
617
+ C.x = b.x, C.y = b.y, C.fill = b.fill, C.width = x.width, C.height = x.height, C.class = "journey-section section-type-" + b.num, C.rx = 3, C.ry = 3, drawRect(S, C), _drawTextCandidateFunc(x)(b.text, S, C.x, C.y, C.width, C.height, { class: "journey-section section-type-" + b.num }, x, b.colour);
618
+ }, "drawSection"), taskCount = -1, drawTask = /* @__PURE__ */ __name(function(e, b, x, S) {
619
+ let C = b.x + x.width / 2, w = e.append("g");
620
+ taskCount++, w.append("line").attr("id", S + "-task" + taskCount).attr("x1", C).attr("y1", b.y).attr("x2", C).attr("y2", 450).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), drawFace(w, {
621
+ cx: C,
622
+ cy: 300 + (5 - b.score) * 30,
623
+ score: b.score
624
+ });
625
+ let T = getNoteRect();
626
+ T.x = b.x, T.y = b.y, T.fill = b.fill, T.width = x.width, T.height = x.height, T.class = "task task-type-" + b.num, T.rx = 3, T.ry = 3, drawRect(w, T), _drawTextCandidateFunc(x)(b.task, w, T.x, T.y, T.width, T.height, { class: "task" }, x, b.colour);
627
+ }, "drawTask"), drawBackgroundRect = /* @__PURE__ */ __name(function(e, b) {
628
+ drawRect(e, {
629
+ x: b.startx,
630
+ y: b.starty,
631
+ width: b.stopx - b.startx,
632
+ height: b.stopy - b.starty,
633
+ fill: b.fill,
634
+ class: "rect"
635
+ }).lower();
636
+ }, "drawBackgroundRect"), getTextObj = /* @__PURE__ */ __name(function() {
637
+ return {
638
+ x: 0,
639
+ y: 0,
640
+ fill: void 0,
641
+ "text-anchor": "start",
642
+ width: 100,
643
+ height: 100,
644
+ textMargin: 0,
645
+ rx: 0,
646
+ ry: 0
647
+ };
648
+ }, "getTextObj"), getNoteRect = /* @__PURE__ */ __name(function() {
649
+ return {
650
+ x: 0,
651
+ y: 0,
652
+ width: 100,
653
+ anchor: "start",
654
+ height: 100,
655
+ rx: 0,
656
+ ry: 0
657
+ };
658
+ }, "getNoteRect"), _drawTextCandidateFunc = /* @__PURE__ */ (function() {
659
+ function e(e2, b2, x2, C, w, T, E, D) {
660
+ S(b2.append("text").attr("x", x2 + w / 2).attr("y", C + T / 2 + 5).style("font-color", D).style("text-anchor", "middle").text(e2), E);
661
+ }
662
+ __name(e, "byText");
663
+ function b(e2, b2, x2, C, w, T, E, D, O) {
664
+ let { taskFontSize: k, taskFontFamily: A } = D, j = e2.split(/<br\s*\/?>/gi);
665
+ for (let e3 = 0; e3 < j.length; e3++) {
666
+ let D2 = e3 * k - k * (j.length - 1) / 2, M = b2.append("text").attr("x", x2 + w / 2).attr("y", C).attr("fill", O).style("text-anchor", "middle").style("font-size", k).style("font-family", A);
667
+ M.append("tspan").attr("x", x2 + w / 2).attr("dy", D2).text(j[e3]), M.attr("y", C + T / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), S(M, E);
668
+ }
669
+ }
670
+ __name(b, "byTspan");
671
+ function x(e2, x2, C, w, T, E, D, O) {
672
+ let k = x2.append("switch"), A = k.append("foreignObject").attr("x", C).attr("y", w).attr("width", T).attr("height", E).attr("position", "fixed").append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
673
+ A.append("div").attr("class", "label").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(e2), b(e2, k, C, w, T, E, D, O), S(A, D);
674
+ }
675
+ __name(x, "byFo");
676
+ function S(e2, b2) {
677
+ for (let x2 in b2) x2 in b2 && e2.attr(x2, b2[x2]);
678
+ }
679
+ return __name(S, "_setTextAttrs"), function(S2) {
680
+ return S2.textPlacement === "fo" ? x : S2.textPlacement === "old" ? e : b;
681
+ };
682
+ })(), initGraphics = /* @__PURE__ */ __name(function(e, b) {
683
+ nodeCount = 0, taskCount = -1, e.append("defs").append("marker").attr("id", b + "-arrowhead").attr("refX", 5).attr("refY", 2).attr("markerWidth", 6).attr("markerHeight", 4).attr("orient", "auto").append("path").attr("d", "M 0,0 V 4 L6,2 Z");
684
+ }, "initGraphics");
685
+ function wrap(e, b) {
686
+ e.each(function() {
687
+ var e2 = select_default(this), x = e2.text().split(/(\s+|<br>)/).reverse(), C, w = [], T = 1.1, E = e2.attr("y"), D = parseFloat(e2.attr("dy")), O = e2.text(null).append("tspan").attr("x", 0).attr("y", E).attr("dy", D + "em");
688
+ for (let S = 0; S < x.length; S++) C = x[x.length - 1 - S], w.push(C), O.text(w.join(" ").trim()), (O.node().getComputedTextLength() > b || C === "<br>") && (w.pop(), O.text(w.join(" ").trim()), w = C === "<br>" ? [""] : [C], O = e2.append("tspan").attr("x", 0).attr("y", E).attr("dy", T + "em").text(C));
689
+ });
690
+ }
691
+ __name(wrap, "wrap");
692
+ var drawNode = /* @__PURE__ */ __name(function(e, b, x, C, w, T = false) {
693
+ var _a, _b, _c;
694
+ let { theme: E, look: D } = C, O = E == null ? void 0 : E.includes("redux"), k = x % (((_a = C == null ? void 0 : C.themeVariables) == null ? void 0 : _a.THEME_COLOR_LIMIT) ?? 12) - 1, A = e.append("g");
695
+ b.section = k, A.attr("class", (b.class ? b.class + " " : "") + "timeline-node " + ("section-" + k));
696
+ let j = A.append("g"), M = A.append("g"), N = M.append("text").text(b.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(wrap, b.width).node().getBBox(), P = ((_b = C.fontSize) == null ? void 0 : _b.replace) ? C.fontSize.replace("px", "") : C.fontSize;
697
+ if (b.height = N.height + P * 1.1 * 0.5 + b.padding, b.height = Math.max(b.height, b.maxHeight), b.width += 2 * b.padding, M.attr("transform", "translate(" + b.width / 2 + ", " + b.padding / 2 + ")"), O && M.attr("transform", `translate(${b.width / 2}, ${T ? b.padding / 2 + 3 : b.padding})`), defaultBkg(j, b, k, w, C), D === "neo" && (A.attr("data-look", "neo"), O)) {
698
+ let b2 = E.includes("dark"), x2 = select_default(((_c = e.node()) == null ? void 0 : _c.ownerSVGElement) ?? e.node()), C2 = x2.attr("id") ?? "", w2 = C2 ? `${C2}-drop-shadow` : "drop-shadow";
699
+ if (x2.select(`#${w2}`).empty()) {
700
+ let e2 = x2.select("defs");
701
+ (e2.empty() ? x2.append("defs") : e2).append("filter").attr("id", w2).attr("height", "130%").attr("width", "130%").append("feDropShadow").attr("dx", "4").attr("dy", "4").attr("stdDeviation", 0).attr("flood-opacity", b2 ? "0.2" : "0.06").attr("flood-color", b2 ? "#FFFFFF" : "#000000");
702
+ }
703
+ }
704
+ return b;
705
+ }, "drawNode"), getVirtualNodeHeight = /* @__PURE__ */ __name(function(e, b, x) {
706
+ var _a;
707
+ let S = e.append("g"), C = S.append("text").text(b.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(wrap, b.width).node().getBBox(), w = ((_a = x.fontSize) == null ? void 0 : _a.replace) ? x.fontSize.replace("px", "") : x.fontSize;
708
+ return S.remove(), C.height + w * 1.1 * 0.5 + b.padding;
709
+ }, "getVirtualNodeHeight"), defaultBkg = /* @__PURE__ */ __name(function(e, b, x, S, C) {
710
+ let { theme: w } = C, T = (w == null ? void 0 : w.includes("redux")) ? 0 : 5, E = T > 0 ? `M0 ${b.height - 5} v${-b.height + 10} q0,-${T},${T},-${T} h${b.width - 10} q${T},0,${T},${T} v${b.height - 5} H0 Z` : `M0 ${b.height - 5} v${-(b.height - 5)} h${b.width} v${b.height} H0 Z`;
711
+ e.append("path").attr("id", S + "-node-" + nodeCount++).attr("class", "node-bkg node-" + b.type).attr("d", E), (w == null ? void 0 : w.includes("redux")) || e.append("line").attr("class", "node-line-" + x).attr("x1", 0).attr("y1", b.height).attr("x2", b.width).attr("y2", b.height);
712
+ }, "defaultBkg"), svgDraw_default = {
713
+ drawRect,
714
+ drawCircle,
715
+ drawSection,
716
+ drawText,
717
+ drawLabel,
718
+ drawTask,
719
+ drawBackgroundRect,
720
+ getTextObj,
721
+ getNoteRect,
722
+ initGraphics,
723
+ drawNode,
724
+ getVirtualNodeHeight
725
+ }, draw = /* @__PURE__ */ __name(function(e, b, C, w) {
726
+ var _a, _b, _c;
727
+ let T = getConfig2(), { look: D, theme: O, themeVariables: k } = T, { useGradient: A, gradientStart: j, gradientStop: N } = k, P = ((_a = T.timeline) == null ? void 0 : _a.leftMargin) ?? 50;
728
+ log.debug("timeline", w.db);
729
+ let F = T.securityLevel, I;
730
+ F === "sandbox" && (I = select_default("#i" + b));
731
+ let L = select_default(F === "sandbox" ? I.nodes()[0].contentDocument.body : "body").select("#" + b);
732
+ L.append("g");
733
+ let R = w.db.getTasks(), z = w.db.getCommonDb().getDiagramTitle();
734
+ log.debug("task", R), svgDraw_default.initGraphics(L, b);
735
+ let B = w.db.getSections();
736
+ log.debug("sections", B);
737
+ let V = 0, H = 0, U = 0, W = 0, G = 50 + P, K = 50;
738
+ W = 50;
739
+ let q = 0, J = true;
740
+ B.forEach(function(e2) {
741
+ let b2 = {
742
+ number: q,
743
+ descr: e2,
744
+ section: q,
745
+ width: 150,
746
+ padding: 20,
747
+ maxHeight: V
748
+ }, S = svgDraw_default.getVirtualNodeHeight(L, b2, T);
749
+ log.debug("sectionHeight before draw", S), V = Math.max(V, S + 20);
750
+ });
751
+ let Y = 0, X = 0;
752
+ log.debug("tasks.length", R.length);
753
+ for (let [e2, b2] of R.entries()) {
754
+ let S = {
755
+ number: e2,
756
+ descr: b2,
757
+ section: b2.section,
758
+ width: 150,
759
+ padding: 20,
760
+ maxHeight: H
761
+ }, C2 = svgDraw_default.getVirtualNodeHeight(L, S, T);
762
+ log.debug("taskHeight before draw", C2), H = Math.max(H, C2 + 20), Y = Math.max(Y, b2.events.length);
763
+ let w2 = 0;
764
+ for (let e3 of b2.events) {
765
+ let x = {
766
+ descr: e3,
767
+ section: b2.section,
768
+ number: b2.section,
769
+ width: 150,
770
+ padding: 20,
771
+ maxHeight: 50
772
+ };
773
+ w2 += svgDraw_default.getVirtualNodeHeight(L, x, T);
774
+ }
775
+ b2.events.length > 0 && (w2 += (b2.events.length - 1) * 10), X = Math.max(X, w2);
776
+ }
777
+ log.debug("maxSectionHeight before draw", V), log.debug("maxTaskHeight before draw", H), B && B.length > 0 ? B.forEach((e2) => {
778
+ let S = R.filter((b2) => b2.section === e2), C2 = {
779
+ number: q,
780
+ descr: e2,
781
+ section: q,
782
+ width: 200 * Math.max(S.length, 1) - 50,
783
+ padding: 20,
784
+ maxHeight: V
785
+ };
786
+ log.debug("sectionNode", C2);
787
+ let w2 = L.append("g"), E = svgDraw_default.drawNode(w2, C2, q, T, b);
788
+ log.debug("sectionNode output", E), w2.attr("transform", `translate(${G}, ${W})`), K += V + 50, S.length > 0 && drawTasks(L, S, q, G, K, H, T, Y, X, V, false, b), G += 200 * Math.max(S.length, 1), K = W, q++;
789
+ }) : (J = false, drawTasks(L, R, q, G, K, H, T, Y, X, V, true, b));
790
+ let Z = L.node().getBBox();
791
+ if (log.debug("bounds", Z), z && L.append("text").text(z).attr("x", D === "neo" ? Z.x * 2 + P : Z.width / 2 - P).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 20), U = J ? V + H + 150 : H + 100, L.append("g").attr("class", "lineWrapper").append("line").attr("x1", P).attr("y1", U).attr("x2", Z.width + 3 * P).attr("y2", U).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", `url(#${b}-arrowhead)`), D === "neo" && A && O !== "neutral") {
792
+ let e2 = L.select("defs"), b2 = (e2.empty() ? L.append("defs") : e2).append("linearGradient").attr("id", L.attr("id") + "-gradient").attr("gradientUnits", "objectBoundingBox").attr("x1", "0%").attr("y1", "0%").attr("x2", "100%").attr("y2", "0%");
793
+ b2.append("stop").attr("offset", "0%").attr("stop-color", j).attr("stop-opacity", 1), b2.append("stop").attr("offset", "100%").attr("stop-color", N).attr("stop-opacity", 1);
794
+ }
795
+ setupGraphViewbox(void 0, L, ((_b = T.timeline) == null ? void 0 : _b.padding) ?? 50, ((_c = T.timeline) == null ? void 0 : _c.useMaxWidth) ?? false);
796
+ }, "draw"), drawTasks = /* @__PURE__ */ __name(function(e, b, S, C, w, T, E, D, O, k, A, j) {
797
+ var _a;
798
+ for (let D2 of b) {
799
+ let b2 = {
800
+ descr: D2.task,
801
+ section: S,
802
+ number: S,
803
+ width: 150,
804
+ padding: 20,
805
+ maxHeight: T
806
+ };
807
+ log.debug("taskNode", b2);
808
+ let k2 = e.append("g").attr("class", "taskWrapper"), M = svgDraw_default.drawNode(k2, b2, S, E, j).height;
809
+ if (log.debug("taskHeight after draw", M), k2.attr("transform", `translate(${C}, ${w})`), T = Math.max(T, M), D2.events) {
810
+ let b3 = e.append("g").attr("class", "lineWrapper"), x = T;
811
+ w += 100, x += drawEvents(e, D2.events, S, C, w, E, j), w -= 100, b3.append("line").attr("x1", C + 190 / 2).attr("y1", w + T).attr("x2", C + 190 / 2).attr("y2", w + T + 100 + O + 100).attr("stroke-width", 2).attr("stroke", "black").attr("marker-end", `url(#${j}-arrowhead)`).attr("stroke-dasharray", "5,5");
812
+ }
813
+ C += 200, A && !((_a = E.timeline) == null ? void 0 : _a.disableMulticolor) && S++;
814
+ }
815
+ w -= 10;
816
+ }, "drawTasks"), drawEvents = /* @__PURE__ */ __name(function(e, b, S, C, w, T, E) {
817
+ let D = 0, O = w;
818
+ w += 100;
819
+ for (let O2 of b) {
820
+ let b2 = {
821
+ descr: O2,
822
+ section: S,
823
+ number: S,
824
+ width: 150,
825
+ padding: 20,
826
+ maxHeight: 50
827
+ };
828
+ log.debug("eventNode", b2);
829
+ let k = e.append("g").attr("class", "eventWrapper"), A = svgDraw_default.drawNode(k, b2, S, T, E, true).height;
830
+ D += A, k.attr("transform", `translate(${C}, ${w})`), w = w + 10 + A;
831
+ }
832
+ return w = O, D;
833
+ }, "drawEvents"), timelineRenderer_default = {
834
+ setConf: /* @__PURE__ */ __name(() => {
835
+ }, "setConf"),
836
+ draw
837
+ }, NODE_WIDTH = 200, NODE_PADDING = 5, NODE_TOTAL_WIDTH = NODE_WIDTH + NODE_PADDING * 2, EVENT_WIDTH = NODE_WIDTH + 100, EVENT_TOTAL_WIDTH = EVENT_WIDTH + NODE_PADDING * 2, EVENT_SPACING = 10, EVENT_VERTICAL_GAP = 0, SECTION_TASK_GAP = 20, TASK_AXIS_GAP = 20, TASK_VERTICAL_GAP = 30, EVENT_AXIS_GAP = 50, draw2 = /* @__PURE__ */ __name(function(e, S, C, w) {
838
+ var _a, _b, _c, _d, _e;
839
+ let T = getConfig2(), D = ((_a = T.timeline) == null ? void 0 : _a.leftMargin) ?? 50;
840
+ log.debug("timeline", w.db);
841
+ let O = selectSvgElement(S);
842
+ O.append("g");
843
+ let k = w.db.getTasks(), A = w.db.getCommonDb().getDiagramTitle();
844
+ log.debug("task", k), svgDraw_default.initGraphics(O);
845
+ let j = w.db.getSections();
846
+ log.debug("sections", j);
847
+ let P = 0, F = 0, I = 50 + D, L = 50, R = L, z = I, B = NODE_TOTAL_WIDTH + TASK_AXIS_GAP, V = EVENT_TOTAL_WIDTH + EVENT_AXIS_GAP, H = z + B, U = 0, W = j && j.length > 0, G = W ? H : I + B, K = Math.max(50, B + V - NODE_PADDING * 2);
848
+ j.forEach(function(e2) {
849
+ let b = {
850
+ number: U,
851
+ descr: e2,
852
+ section: U,
853
+ width: K,
854
+ padding: NODE_PADDING,
855
+ maxHeight: P
856
+ }, S2 = svgDraw_default.getVirtualNodeHeight(O, b, T);
857
+ log.debug("sectionHeight before draw", S2), P = Math.max(P, S2);
858
+ });
859
+ let q = 0;
860
+ log.debug("tasks.length", k.length);
861
+ for (let [e2, b] of k.entries()) {
862
+ let S2 = {
863
+ number: e2,
864
+ descr: b,
865
+ section: b.section,
866
+ width: NODE_WIDTH,
867
+ padding: NODE_PADDING,
868
+ maxHeight: F
869
+ }, C2 = svgDraw_default.getVirtualNodeHeight(O, S2, T);
870
+ log.debug("taskHeight before draw", C2), F = Math.max(F, C2);
871
+ let w2 = 0;
872
+ for (let e3 of b.events) {
873
+ let x = {
874
+ descr: e3,
875
+ section: b.section,
876
+ number: b.section,
877
+ width: EVENT_WIDTH,
878
+ padding: NODE_PADDING,
879
+ maxHeight: 50
880
+ };
881
+ w2 += svgDraw_default.getVirtualNodeHeight(O, x, T);
882
+ }
883
+ b.events.length > 0 && (w2 += (b.events.length - 1) * EVENT_SPACING), q = Math.max(q, w2) + EVENT_VERTICAL_GAP;
884
+ }
885
+ log.debug("maxSectionHeight before draw", P), log.debug("maxTaskHeight before draw", F);
886
+ let J = Math.max(F, q) + TASK_VERTICAL_GAP;
887
+ W ? j.forEach((e2) => {
888
+ let b = k.filter((b2) => b2.section === e2), S2 = {
889
+ number: U,
890
+ descr: e2,
891
+ section: U,
892
+ width: K,
893
+ padding: NODE_PADDING,
894
+ maxHeight: P
895
+ };
896
+ log.debug("sectionNode", S2);
897
+ let C2 = O.append("g"), w2 = svgDraw_default.drawNode(C2, S2, U, T);
898
+ log.debug("sectionNode output", w2);
899
+ let E = G - B;
900
+ C2.attr("transform", `translate(${E}, ${L})`);
901
+ let D2 = L + w2.height + SECTION_TASK_GAP;
902
+ b.length > 0 && drawTasks2(O, b, U, G, D2, F, T, J, false);
903
+ let A2 = b.length, j2 = w2.height + SECTION_TASK_GAP + J * Math.max(A2, 1) - (A2 > 0 ? TASK_VERTICAL_GAP * 2 : 0);
904
+ L += j2, U++;
905
+ }) : drawTasks2(O, k, U, G, L, F, T, J, true);
906
+ let Y = (_b = O.node()) == null ? void 0 : _b.getBBox();
907
+ if (!Y) throw Error("bbox not found");
908
+ if (log.debug("bounds", Y), A) {
909
+ if (O.append("text").text(A).attr("x", Y.width / 2 - D).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 20), Y = (_c = O.node()) == null ? void 0 : _c.getBBox(), !Y) throw Error("bbox not found");
910
+ log.debug("bounds after title", Y);
911
+ }
912
+ let [X] = parseFontSize(T.fontSize), Z = (X ?? 16) * 2, Q = (X ?? 16) * 0.5 + 20, $ = O.append("g").attr("class", "lineWrapper");
913
+ $.append("line").attr("x1", G).attr("y1", R - Z).attr("x2", G).attr("y2", Y.y + Y.height + Q).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)"), $.lower(), setupGraphViewbox(void 0, O, ((_d = T.timeline) == null ? void 0 : _d.padding) ?? 50, ((_e = T.timeline) == null ? void 0 : _e.useMaxWidth) ?? false);
914
+ }, "draw"), drawTasks2 = /* @__PURE__ */ __name(function(e, b, S, C, w, T, E, D, O) {
915
+ var _a;
916
+ for (let k of b) {
917
+ let b2 = {
918
+ descr: k.task,
919
+ section: S,
920
+ number: S,
921
+ width: NODE_WIDTH,
922
+ padding: NODE_PADDING,
923
+ maxHeight: T
924
+ };
925
+ log.debug("taskNode", b2);
926
+ let A = e.append("g").attr("class", "taskWrapper"), j = svgDraw_default.drawNode(A, b2, S, E), M = j.height;
927
+ log.debug("taskHeight after draw", M);
928
+ let N = C - TASK_AXIS_GAP - j.width;
929
+ if (A.attr("transform", `translate(${N}, ${w})`), T = Math.max(T, M), k.events && k.events.length > 0) {
930
+ let b3 = w, x = C + EVENT_AXIS_GAP;
931
+ drawEvents2(e, k.events, S, C, x, b3, E);
932
+ }
933
+ w += D, O && !((_a = E.timeline) == null ? void 0 : _a.disableMulticolor) && S++;
934
+ }
935
+ }, "drawTasks"), drawEvents2 = /* @__PURE__ */ __name(function(e, b, S, C, w, T, E) {
936
+ let D = T;
937
+ for (let T2 of b) {
938
+ let b2 = {
939
+ descr: T2,
940
+ section: S,
941
+ number: S,
942
+ width: EVENT_WIDTH,
943
+ padding: NODE_PADDING,
944
+ maxHeight: 0
945
+ };
946
+ log.debug("eventNode", b2);
947
+ let O = e.append("g").attr("class", "eventWrapper"), k = svgDraw_default.drawNode(O, b2, S, E).height;
948
+ O.attr("transform", `translate(${w}, ${D})`);
949
+ let A = e.append("g").attr("class", "lineWrapper"), j = D + k / 2;
950
+ A.append("line").attr("x1", C).attr("y1", j).attr("x2", w).attr("y2", j).attr("stroke-width", 2).attr("stroke", "black").attr("marker-end", "url(#arrowhead)").attr("stroke-dasharray", "5,5"), D = D + k + EVENT_SPACING;
951
+ }
952
+ return D - T;
953
+ }, "drawEvents"), timelineRendererVertical_default = {
954
+ setConf: /* @__PURE__ */ __name(() => {
955
+ }, "setConf"),
956
+ draw: draw2
957
+ }, genReduxSections = /* @__PURE__ */ __name((e) => {
958
+ var _a;
959
+ let { theme: b } = getConfig(), x = b == null ? void 0 : b.includes("dark"), S = b == null ? void 0 : b.includes("color"), C = ((_a = e.svgId) == null ? void 0 : _a.replace(/^#/, "")) ?? "", w = C ? `url(#${C}-drop-shadow)` : e.dropShadow ?? "none", T = "";
960
+ for (let b2 = 0; b2 < e.THEME_COLOR_LIMIT; b2++) {
961
+ let C2 = `${17 - 3 * b2}`, E = S ? e.borderColorArray[b2] : e.mainBkg, D = S ? e.borderColorArray[b2] : e.nodeBorder;
962
+ T += `
963
+ .section-${b2 - 1} rect,
964
+ .section-${b2 - 1} path,
965
+ .section-${b2 - 1} circle {
966
+ fill: ${x && S ? e.mainBkg : E};
967
+ stroke: ${D};
968
+ stroke-width: ${e.strokeWidth};
969
+ filter: ${w};
970
+ }
971
+
972
+ .section-${b2 - 1} text {
973
+ fill: ${e.nodeBorder};
974
+ font-weight: ${e.fontWeight}
975
+ }
976
+
977
+ .node-icon-${b2 - 1} {
978
+ font-size: 40px;
979
+ color: ${e["cScaleLabel" + b2]};
980
+ }
981
+
982
+ .section-edge-${b2 - 1} {
983
+ stroke: ${e["cScale" + b2]};
984
+ }
985
+
986
+ .edge-depth-${b2 - 1} {
987
+ stroke-width: ${C2};
988
+ }
989
+
990
+ .section-${b2 - 1} line {
991
+ stroke: ${e["cScaleInv" + b2]};
992
+ stroke-width: 3;
993
+ }
994
+
995
+ .lineWrapper line {
996
+ stroke: ${e.nodeBorder};
997
+ stroke-width:${e.strokeWidth}
998
+ }
999
+
1000
+ .disabled,
1001
+ .disabled circle,
1002
+ .disabled text {
1003
+ fill: ${e.tertiaryColor ?? "lightgray"};
1004
+ }
1005
+
1006
+ .disabled text {
1007
+ fill: ${e.clusterBorder ?? "#efefef"};
1008
+ }
1009
+ `;
1010
+ }
1011
+ return T;
1012
+ }, "genReduxSections"), genSections = /* @__PURE__ */ __name((e) => {
1013
+ let b = "";
1014
+ for (let b2 = 0; b2 < e.THEME_COLOR_LIMIT; b2++) e["lineColor" + b2] = e["lineColor" + b2] || e["cScaleInv" + b2], is_dark_default(e["lineColor" + b2]) ? e["lineColor" + b2] = lighten_default(e["lineColor" + b2], 20) : e["lineColor" + b2] = darken_default(e["lineColor" + b2], 20);
1015
+ for (let x = 0; x < e.THEME_COLOR_LIMIT; x++) {
1016
+ let S = "" + (17 - 3 * x);
1017
+ b += `
1018
+ .section-${x - 1} rect, .section-${x - 1} path, .section-${x - 1} circle, .section-${x - 1} path {
1019
+ fill: ${e["cScale" + x]};
1020
+ }
1021
+ .section-${x - 1} text {
1022
+ fill: ${e["cScaleLabel" + x]};
1023
+ }
1024
+ .node-icon-${x - 1} {
1025
+ font-size: 40px;
1026
+ color: ${e["cScaleLabel" + x]};
1027
+ }
1028
+ .section-edge-${x - 1}{
1029
+ stroke: ${e["cScale" + x]};
1030
+ }
1031
+ .edge-depth-${x - 1}{
1032
+ stroke-width: ${S};
1033
+ }
1034
+ .section-${x - 1} line {
1035
+ stroke: ${e["cScaleInv" + x]} ;
1036
+ stroke-width: 3;
1037
+ }
1038
+
1039
+ .lineWrapper line{
1040
+ stroke: ${e["cScaleLabel" + x]} ;
1041
+ }
1042
+
1043
+ .disabled, .disabled circle, .disabled text {
1044
+ fill: ${e.tertiaryColor ?? "lightgray"};
1045
+ }
1046
+ .disabled text {
1047
+ fill: ${e.clusterBorder ?? "#efefef"};
1048
+ }
1049
+ `;
1050
+ }
1051
+ return b;
1052
+ }, "genSections"), diagram = {
1053
+ db: timelineDb_exports,
1054
+ renderer: {
1055
+ setConf: /* @__PURE__ */ __name(() => {
1056
+ }, "setConf"),
1057
+ draw: /* @__PURE__ */ __name((e, b, x, S) => {
1058
+ var _a, _b;
1059
+ return (((_b = (_a = S == null ? void 0 : S.db) == null ? void 0 : _a.getDirection) == null ? void 0 : _b.call(_a)) ?? "LR") === "TD" ? timelineRendererVertical_default.draw(e, b, x, S) : timelineRenderer_default.draw(e, b, x, S);
1060
+ }, "draw")
1061
+ },
1062
+ parser: timeline_default,
1063
+ styles: /* @__PURE__ */ __name((e) => {
1064
+ var _a;
1065
+ let { theme: b } = getConfig(), x = b == null ? void 0 : b.includes("redux"), S = b === "neutral", C = ((_a = e.svgId) == null ? void 0 : _a.replace(/^#/, "")) ?? "", w = "";
1066
+ if (e.useGradient && C && e.THEME_COLOR_LIMIT && !S) for (let b2 = 0; b2 < e.THEME_COLOR_LIMIT; b2++) w += `
1067
+ .section-${b2 - 1}[data-look="neo"] rect,
1068
+ .section-${b2 - 1}[data-look="neo"] path,
1069
+ .section-${b2 - 1}[data-look="neo"] circle {
1070
+ fill: ${e.mainBkg};
1071
+ stroke: url(#${C}-gradient);
1072
+ stroke-width: 2;
1073
+ }
1074
+ .section-${b2 - 1}[data-look="neo"] line {
1075
+ stroke: url(#${C}-gradient);
1076
+ stroke-width: 2;
1077
+ }`;
1078
+ return `
1079
+ .edge {
1080
+ stroke-width: 3;
1081
+ }
1082
+ ${x ? genReduxSections(e) : genSections(e)}
1083
+ ${w}
1084
+ .section-root rect, .section-root path, .section-root circle {
1085
+ fill: ${e.git0};
1086
+ }
1087
+ .section-root text {
1088
+ fill: ${e.gitBranchLabel0};
1089
+ }
1090
+ .icon-container {
1091
+ height:100%;
1092
+ display: flex;
1093
+ justify-content: center;
1094
+ align-items: center;
1095
+ }
1096
+ .edge {
1097
+ fill: none;
1098
+ }
1099
+ .eventWrapper {
1100
+ filter: brightness(120%);
1101
+ }
1102
+ `;
1103
+ }, "getStyles")
1104
+ };
1105
+ export {
1106
+ diagram
1107
+ };