@belonguniverseai/react-sdk 0.1.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 (848) hide show
  1. package/README.md +47 -0
  2. package/dist/api/agent-grants.d.ts +61 -0
  3. package/dist/api/api-context.d.ts +9 -0
  4. package/dist/api/client.d.ts +2053 -0
  5. package/dist/api/mutations.d.ts +3 -0
  6. package/dist/api/queries.d.ts +21 -0
  7. package/dist/api/query-keys.d.ts +13 -0
  8. package/dist/api/report-client-error.d.ts +23 -0
  9. package/dist/api/skills.d.ts +23 -0
  10. package/dist/api/workspace-files.d.ts +9 -0
  11. package/dist/app/BelongDock.d.ts +29 -0
  12. package/dist/app/VoiceOverlay.d.ts +18 -0
  13. package/dist/app/providers.d.ts +12 -0
  14. package/dist/app/router.d.ts +2 -0
  15. package/dist/browser/control-channel.d.ts +29 -0
  16. package/dist/browser/dom-bridge.d.ts +6 -0
  17. package/dist/browser/spa-navigate.d.ts +87 -0
  18. package/dist/component/BelongWidget.d.ts +27 -0
  19. package/dist/component/abap-BqLfTM3_.js +9 -0
  20. package/dist/component/abap-Dosx9LfS.js +9 -0
  21. package/dist/component/actionscript-3-CFt6EqSB.js +9 -0
  22. package/dist/component/actionscript-3-CShGOdtT.js +9 -0
  23. package/dist/component/ada-8tCnwMXx.js +9 -0
  24. package/dist/component/ada-DaqFF2jd.js +9 -0
  25. package/dist/component/andromeeda-BxBtQ0rC.js +7 -0
  26. package/dist/component/andromeeda-Dx5fm3r-.js +7 -0
  27. package/dist/component/angular-html-CAoRrq6i.js +35 -0
  28. package/dist/component/angular-html-DG52iVg8.js +35 -0
  29. package/dist/component/angular-ts-BvOrReBc.js +24 -0
  30. package/dist/component/angular-ts-LQyiJZqb.js +24 -0
  31. package/dist/component/apache-HdVsAIQf.js +9 -0
  32. package/dist/component/apache-c3M5d5MN.js +9 -0
  33. package/dist/component/apex-B-y6HhVC.js +9 -0
  34. package/dist/component/apex-DXDfZUnb.js +9 -0
  35. package/dist/component/apl-BnXq3ZtQ.js +19 -0
  36. package/dist/component/apl-D7VFrOyT.js +19 -0
  37. package/dist/component/applescript-BZbrjHcY.js +9 -0
  38. package/dist/component/applescript-Bo1adDet.js +9 -0
  39. package/dist/component/ara-C1QNxHcU.js +9 -0
  40. package/dist/component/ara-ZjRpP-93.js +9 -0
  41. package/dist/component/arc-DGQIe3ON.js +86 -0
  42. package/dist/component/architectureDiagram-3BPJPVTR-C3uLEfb1.js +4697 -0
  43. package/dist/component/asciidoc-2fV_Cv2j.js +9 -0
  44. package/dist/component/asciidoc-D7PshqvO.js +9 -0
  45. package/dist/component/asm-ClEowkZP.js +9 -0
  46. package/dist/component/asm-DmyJawQj.js +9 -0
  47. package/dist/component/astro-9MHfKoOi.js +21 -0
  48. package/dist/component/astro-Bi3QRBCO.js +21 -0
  49. package/dist/component/aurora-x-BGO53J2I.js +7 -0
  50. package/dist/component/aurora-x-C98he-36.js +7 -0
  51. package/dist/component/awk-CIiDOfUC.js +9 -0
  52. package/dist/component/awk-DnzYQYUx.js +9 -0
  53. package/dist/component/ayu-dark-CK1VRikm.js +7 -0
  54. package/dist/component/ayu-dark-J6FX8oSr.js +7 -0
  55. package/dist/component/ayu-light-DIKBJiwH.js +7 -0
  56. package/dist/component/ayu-light-x4Q5N51d.js +7 -0
  57. package/dist/component/ayu-mirage-C5_fPLwf.js +7 -0
  58. package/dist/component/ayu-mirage-DhPHVcGJ.js +7 -0
  59. package/dist/component/ballerina-CeqVHW9D.js +9 -0
  60. package/dist/component/ballerina-epCf0_WV.js +9 -0
  61. package/dist/component/bat-Cuej7k1C.js +9 -0
  62. package/dist/component/bat-Dai7pznF.js +9 -0
  63. package/dist/component/beancount-CpREEZMl.js +9 -0
  64. package/dist/component/beancount-CwiYx9PE.js +9 -0
  65. package/dist/component/berry-BoYGiG42.js +9 -0
  66. package/dist/component/berry-DFo_i8CN.js +9 -0
  67. package/dist/component/bibtex-2bgmGv5w.js +9 -0
  68. package/dist/component/bibtex-BkTrlnvh.js +9 -0
  69. package/dist/component/bicep-C80YQkEm.js +9 -0
  70. package/dist/component/bicep-DYkQKpr8.js +9 -0
  71. package/dist/component/bird2-5AxdId5f.js +9 -0
  72. package/dist/component/bird2-CjcgWn0f.js +9 -0
  73. package/dist/component/blade-BdUlKesy.js +23 -0
  74. package/dist/component/blade-DNMMxdfa.js +23 -0
  75. package/dist/component/blockDiagram-GPEHLZMM-YerYvLm_.js +2421 -0
  76. package/dist/component/bsl-CYB_gPZn.js +11 -0
  77. package/dist/component/bsl-DJ4bR5oi.js +11 -0
  78. package/dist/component/c-C4AMyX3G.js +9 -0
  79. package/dist/component/c-C7DfT4H8.js +9 -0
  80. package/dist/component/c3-DDixCt0K.js +9 -0
  81. package/dist/component/c3-xeavH2G2.js +9 -0
  82. package/dist/component/c4Diagram-AAUBKEIU-p8UR34Zq.js +1586 -0
  83. package/dist/component/cadence-Cy8toSoU.js +9 -0
  84. package/dist/component/cadence-xq71MyIp.js +9 -0
  85. package/dist/component/cairo-B1qo5_uz.js +11 -0
  86. package/dist/component/cairo-CZSJv_Y_.js +11 -0
  87. package/dist/component/catppuccin-frappe-BGDzipYl.js +7 -0
  88. package/dist/component/catppuccin-frappe-DZ2VPnzg.js +7 -0
  89. package/dist/component/catppuccin-latte-9zQ0xneh.js +7 -0
  90. package/dist/component/catppuccin-latte-CK4XjBXq.js +7 -0
  91. package/dist/component/catppuccin-macchiato-CIKuiG5O.js +7 -0
  92. package/dist/component/catppuccin-macchiato-D1xBlgUI.js +7 -0
  93. package/dist/component/catppuccin-mocha-CQk3ku6b.js +7 -0
  94. package/dist/component/catppuccin-mocha-Dr22M_MR.js +7 -0
  95. package/dist/component/channel-ahmILYyG.js +8 -0
  96. package/dist/component/chunk-2J33WTMH-CGaAxoSO.js +22 -0
  97. package/dist/component/chunk-4BX2VUAB-gRTK7Di9.js +11 -0
  98. package/dist/component/chunk-55IACEB6-XfJuuv6Y.js +11 -0
  99. package/dist/component/chunk-727SXJPM-Cy0hXMuO.js +1537 -0
  100. package/dist/component/chunk-AQP2D5EJ-CZHGw4se.js +1396 -0
  101. package/dist/component/chunk-FMBD7UC4-CyqtPCO0.js +22 -0
  102. package/dist/component/chunk-ND2GUHAM-CzTviSBV.js +71 -0
  103. package/dist/component/chunk-QZHKN3VN-CHDEerWv.js +21 -0
  104. package/dist/component/clarity-Dmd3VcKv.js +9 -0
  105. package/dist/component/clarity-FR-MQPIo.js +9 -0
  106. package/dist/component/classDiagram-4FO5ZUOK-BDzl1OcC.js +19 -0
  107. package/dist/component/classDiagram-v2-Q7XG4LA2-BDzl1OcC.js +19 -0
  108. package/dist/component/clojure-CZ5pqCKI.js +9 -0
  109. package/dist/component/clojure-DUXXPerS.js +9 -0
  110. package/dist/component/cmake-DeSLuBit.js +9 -0
  111. package/dist/component/cmake-Dh5RXd_q.js +9 -0
  112. package/dist/component/cobol-B0R9veOS.js +13 -0
  113. package/dist/component/cobol-DayClXiO.js +13 -0
  114. package/dist/component/codeowners-C5Gg1qBb.js +9 -0
  115. package/dist/component/codeowners-RGJbf4XS.js +9 -0
  116. package/dist/component/codeql-1OtYEVEY.js +9 -0
  117. package/dist/component/codeql-CoCy8yp4.js +9 -0
  118. package/dist/component/coffee-kdLRO3eV.js +11 -0
  119. package/dist/component/coffee-tRjJZw7o.js +11 -0
  120. package/dist/component/common-lisp-BeJe0ab6.js +9 -0
  121. package/dist/component/common-lisp-GbfS1OBj.js +9 -0
  122. package/dist/component/coq-B0RJLsKz.js +9 -0
  123. package/dist/component/coq-DMlFNAl3.js +9 -0
  124. package/dist/component/cose-bilkent-S5V4N54A-4R0ErgrZ.js +2611 -0
  125. package/dist/component/cpp-BpiKH-9I.js +21 -0
  126. package/dist/component/cpp-BwGJQL2p.js +21 -0
  127. package/dist/component/crystal-Bb_LifhW.js +21 -0
  128. package/dist/component/crystal-D0cTXans.js +21 -0
  129. package/dist/component/csharp-5kMbpBNi.js +9 -0
  130. package/dist/component/csharp-UFMQzTVu.js +9 -0
  131. package/dist/component/css-B2ckPEoZ.js +9 -0
  132. package/dist/component/css-MDiv-Xmm.js +9 -0
  133. package/dist/component/csv-Ba1T94jM.js +9 -0
  134. package/dist/component/csv-DZ-mzuKa.js +9 -0
  135. package/dist/component/cue-CtGb6f31.js +9 -0
  136. package/dist/component/cue-DbYr629m.js +9 -0
  137. package/dist/component/cypher-7eGqJtNJ.js +9 -0
  138. package/dist/component/cypher-pD9MnYc_.js +9 -0
  139. package/dist/component/cytoscape.esm-C31R6JOv.js +18772 -0
  140. package/dist/component/d-BefBLeap.js +9 -0
  141. package/dist/component/d-Dij3nCx4.js +9 -0
  142. package/dist/component/dagre-BM42HDAG-BcJQXGn3.js +448 -0
  143. package/dist/component/dark-plus-C9nS7rhq.js +7 -0
  144. package/dist/component/dark-plus-L3JON0ir.js +7 -0
  145. package/dist/component/dart-BWNSliXX.js +9 -0
  146. package/dist/component/dart-DCRAsZQK.js +9 -0
  147. package/dist/component/dax-CWdGoxkM.js +9 -0
  148. package/dist/component/dax-pykceZLM.js +9 -0
  149. package/dist/component/defaultLocale-BXpxsZAK.js +174 -0
  150. package/dist/component/desktop-4j8jFU02.js +9 -0
  151. package/dist/component/desktop-B3AeStqn.js +9 -0
  152. package/dist/component/diagram-2AECGRRQ-Cld7-k7F.js +220 -0
  153. package/dist/component/diagram-5GNKFQAL-d7JtHVRK.js +126 -0
  154. package/dist/component/diagram-KO2AKTUF-Avxzz4xw.js +464 -0
  155. package/dist/component/diagram-LMA3HP47-Cy_E5-rU.js +148 -0
  156. package/dist/component/diagram-OG6HWLK6-DUsJK7Js.js +534 -0
  157. package/dist/component/diff-DuoPSmgL.js +9 -0
  158. package/dist/component/diff-IyCSM08A.js +9 -0
  159. package/dist/component/docker-BSrvy0o9.js +9 -0
  160. package/dist/component/docker-Ca4vT6OJ.js +9 -0
  161. package/dist/component/dotenv-CUP-PB19.js +9 -0
  162. package/dist/component/dotenv-aA3GGxJM.js +9 -0
  163. package/dist/component/dracula-2BaSCSav.js +7 -0
  164. package/dist/component/dracula-Lg7_DbOD.js +7 -0
  165. package/dist/component/dracula-soft-AsPqNBvZ.js +7 -0
  166. package/dist/component/dracula-soft-n6R-sBGM.js +7 -0
  167. package/dist/component/dream-maker-B2xERNvR.js +9 -0
  168. package/dist/component/dream-maker-Jadq_Ln7.js +9 -0
  169. package/dist/component/edge-B-amp2rn.js +15 -0
  170. package/dist/component/edge-Bol1lNG-.js +15 -0
  171. package/dist/component/elixir-DSzpv_bE.js +11 -0
  172. package/dist/component/elixir-t5YY_ese.js +11 -0
  173. package/dist/component/elm-DNaka8RZ.js +11 -0
  174. package/dist/component/elm-JLsvCHy1.js +11 -0
  175. package/dist/component/emacs-lisp-C6XZT609.js +9 -0
  176. package/dist/component/emacs-lisp-DWDtb5kD.js +9 -0
  177. package/dist/component/erDiagram-TEJ5UH35-DEdqrWqp.js +905 -0
  178. package/dist/component/erb-BJ95qgrJ.js +13 -0
  179. package/dist/component/erb-rGIYAeIa.js +13 -0
  180. package/dist/component/erlang-By5grfmz.js +11 -0
  181. package/dist/component/erlang-rAClsghX.js +11 -0
  182. package/dist/component/everforest-dark-DBhTz0Lt.js +7 -0
  183. package/dist/component/everforest-dark-_A43rkLf.js +7 -0
  184. package/dist/component/everforest-light-Bep_XOgu.js +7 -0
  185. package/dist/component/everforest-light-DHbrW2te.js +7 -0
  186. package/dist/component/fennel-CeQPNUU9.js +9 -0
  187. package/dist/component/fennel-QllfYze1.js +9 -0
  188. package/dist/component/fish-BXP1eRyz.js +9 -0
  189. package/dist/component/fish-DkfR0DRL.js +9 -0
  190. package/dist/component/flowDiagram-I6XJVG4X-BWzYDsjP.js +1634 -0
  191. package/dist/component/fluent-Ih0R99Ix.js +9 -0
  192. package/dist/component/fluent-RduSrzCZ.js +9 -0
  193. package/dist/component/fortran-fixed-form-C3I8YlEU.js +11 -0
  194. package/dist/component/fortran-fixed-form-D7OlW0lw.js +11 -0
  195. package/dist/component/fortran-free-form-CXj2ku4f.js +9 -0
  196. package/dist/component/fortran-free-form-DifCDW_P.js +9 -0
  197. package/dist/component/fsharp-65O4P3S5.js +11 -0
  198. package/dist/component/fsharp-CXzwUWsC.js +11 -0
  199. package/dist/component/ganttDiagram-6RSMTGT7-DzfeVIgF.js +2709 -0
  200. package/dist/component/gdresource-Bn5VhPaI.js +13 -0
  201. package/dist/component/gdresource-kUFIn9eK.js +13 -0
  202. package/dist/component/gdscript-BNGA6E65.js +9 -0
  203. package/dist/component/gdscript-LjKsfw3O.js +9 -0
  204. package/dist/component/gdshader-C-Gp5-Ot.js +9 -0
  205. package/dist/component/gdshader-C1lRZRQz.js +9 -0
  206. package/dist/component/genie-B8viIUNC.js +9 -0
  207. package/dist/component/genie-eR37RVXX.js +9 -0
  208. package/dist/component/gherkin-BVA-IOor.js +9 -0
  209. package/dist/component/gherkin-CuORnKvF.js +9 -0
  210. package/dist/component/git-commit-BNPqpLhi.js +11 -0
  211. package/dist/component/git-commit-Dh7BfmB9.js +11 -0
  212. package/dist/component/git-rebase-B5TXZutB.js +11 -0
  213. package/dist/component/git-rebase-DhwWS8MC.js +11 -0
  214. package/dist/component/gitGraphDiagram-PVQCEYII-CKzbGWcQ.js +818 -0
  215. package/dist/component/github-dark-5b4g_bOp.js +7 -0
  216. package/dist/component/github-dark-default-6zDGR7DJ.js +7 -0
  217. package/dist/component/github-dark-default-H56pGX_M.js +7 -0
  218. package/dist/component/github-dark-dimmed-B1iXBBmo.js +7 -0
  219. package/dist/component/github-dark-dimmed-DjYa1rhk.js +7 -0
  220. package/dist/component/github-dark-high-contrast-BuNi_Wj5.js +7 -0
  221. package/dist/component/github-dark-high-contrast-DvpYRI-4.js +7 -0
  222. package/dist/component/github-dark-mxHsWyJ4.js +7 -0
  223. package/dist/component/github-light-CTdjTVPf.js +7 -0
  224. package/dist/component/github-light-KqdY1rAV.js +7 -0
  225. package/dist/component/github-light-default-BlRYTBRQ.js +7 -0
  226. package/dist/component/github-light-default-Drw5Jl_p.js +7 -0
  227. package/dist/component/github-light-high-contrast-9d8ktz0h.js +7 -0
  228. package/dist/component/github-light-high-contrast-ColFVC7A.js +7 -0
  229. package/dist/component/gleam-BXQHq2ZT.js +9 -0
  230. package/dist/component/gleam-RfA2dpfH.js +9 -0
  231. package/dist/component/glimmer-js-BHZ1FuRp.js +17 -0
  232. package/dist/component/glimmer-js-Gdq_UYVf.js +17 -0
  233. package/dist/component/glimmer-ts-D6H7q5ls.js +17 -0
  234. package/dist/component/glimmer-ts-DdmgeZua.js +17 -0
  235. package/dist/component/glsl-D1RRylbk.js +11 -0
  236. package/dist/component/glsl-MDSU_3-y.js +11 -0
  237. package/dist/component/gn-D8VPrt1o.js +9 -0
  238. package/dist/component/gn-DJpTAp5e.js +9 -0
  239. package/dist/component/gnuplot-BNzwvBx5.js +9 -0
  240. package/dist/component/gnuplot-Iqvzplz-.js +9 -0
  241. package/dist/component/go-D-G7cxeA.js +9 -0
  242. package/dist/component/go-TNOI7pQc.js +9 -0
  243. package/dist/component/graph-BZLHvygk.js +1548 -0
  244. package/dist/component/graphql-CW6tYk7X.js +17 -0
  245. package/dist/component/graphql-DGugpl40.js +17 -0
  246. package/dist/component/groovy-5_UI-q3N.js +9 -0
  247. package/dist/component/groovy-D7GH48W8.js +9 -0
  248. package/dist/component/gruvbox-dark-hard-Ch2GYDcJ.js +7 -0
  249. package/dist/component/gruvbox-dark-hard-Dpxv_Il6.js +7 -0
  250. package/dist/component/gruvbox-dark-medium-DqoxKYPx.js +7 -0
  251. package/dist/component/gruvbox-dark-medium-eGVEUM8W.js +7 -0
  252. package/dist/component/gruvbox-dark-soft-BA9DdijB.js +7 -0
  253. package/dist/component/gruvbox-dark-soft-DRaJAZcW.js +7 -0
  254. package/dist/component/gruvbox-light-hard-BJXIrqpz.js +7 -0
  255. package/dist/component/gruvbox-light-hard-_qNpoYJy.js +7 -0
  256. package/dist/component/gruvbox-light-medium-39dkJwxv.js +7 -0
  257. package/dist/component/gruvbox-light-medium-IkDFQhcB.js +7 -0
  258. package/dist/component/gruvbox-light-soft-DWPQo7Dn.js +7 -0
  259. package/dist/component/gruvbox-light-soft-Dpz5D6wP.js +7 -0
  260. package/dist/component/hack-BSrzyV-l.js +13 -0
  261. package/dist/component/hack-CJNnfXZh.js +13 -0
  262. package/dist/component/haml-DL-NAYVg.js +13 -0
  263. package/dist/component/haml-DYkTKupK.js +13 -0
  264. package/dist/component/handlebars-B2Z6CWhc.js +17 -0
  265. package/dist/component/handlebars-Cwj0qzUo.js +17 -0
  266. package/dist/component/haskell-Cj3J4fKD.js +9 -0
  267. package/dist/component/haskell-h36TjJLk.js +9 -0
  268. package/dist/component/haxe-CcifGI6O.js +9 -0
  269. package/dist/component/haxe-Coqw0Tt8.js +9 -0
  270. package/dist/component/hcl-BPVqiZDb.js +9 -0
  271. package/dist/component/hcl-DaPl6lOC.js +9 -0
  272. package/dist/component/highlighted-body-OFNGDK62-BkGwwkHo.js +22 -0
  273. package/dist/component/hjson-CfcQXz3-.js +9 -0
  274. package/dist/component/hjson-DsTgWNxt.js +9 -0
  275. package/dist/component/hlsl-CLzjZIQL.js +9 -0
  276. package/dist/component/hlsl-DVyuzW8h.js +9 -0
  277. package/dist/component/horizon-DaNatiIz.js +7 -0
  278. package/dist/component/horizon-bright-CthJh1Qp.js +7 -0
  279. package/dist/component/horizon-bright-DMKA6ab6.js +7 -0
  280. package/dist/component/horizon-q20CuJTh.js +7 -0
  281. package/dist/component/houston-CjpgGYwZ.js +7 -0
  282. package/dist/component/houston-DnIZxOiF.js +7 -0
  283. package/dist/component/html-DSjghx6n.js +13 -0
  284. package/dist/component/html-derivative-CxizaS1Z.js +11 -0
  285. package/dist/component/html-derivative-DDrVhQXu.js +11 -0
  286. package/dist/component/html-tY6fNMOn.js +13 -0
  287. package/dist/component/http-CLvA54iU.js +17 -0
  288. package/dist/component/http-CPkD6MSf.js +17 -0
  289. package/dist/component/hurl-CuuCK9Id.js +15 -0
  290. package/dist/component/hurl-LcD0R7wh.js +15 -0
  291. package/dist/component/hxml-CJz9SfqN.js +11 -0
  292. package/dist/component/hxml-DLsAgg8X.js +11 -0
  293. package/dist/component/hy-CAEey4h7.js +9 -0
  294. package/dist/component/hy-Dm2IGIb-.js +9 -0
  295. package/dist/component/imba-5G9Fs_nr.js +9 -0
  296. package/dist/component/imba-CH2D1ce9.js +9 -0
  297. package/dist/component/index.d.ts +3 -0
  298. package/dist/component/index.js +8 -0
  299. package/dist/component/infoDiagram-5YYISTIA-D9xN-Pqc.js +27 -0
  300. package/dist/component/ini-Dt2l3RWi.js +9 -0
  301. package/dist/component/ini-kgvXisvj.js +9 -0
  302. package/dist/component/init-BOu0eQYQ.js +19 -0
  303. package/dist/component/ishikawaDiagram-YF4QCWOH--YDYWDwv.js +627 -0
  304. package/dist/component/java-BKLcvtEM.js +9 -0
  305. package/dist/component/java-oSN7P0Od.js +9 -0
  306. package/dist/component/javascript-CyaMmpOO.js +9 -0
  307. package/dist/component/javascript-DFm3DOoX.js +9 -0
  308. package/dist/component/jinja-Ch28RrFG.js +14 -0
  309. package/dist/component/jinja-CsTh8Ahj.js +14 -0
  310. package/dist/component/jison-Bu0o8a1Z.js +11 -0
  311. package/dist/component/jison-DLgrOJpy.js +11 -0
  312. package/dist/component/journeyDiagram-JHISSGLW-B9-CHfSv.js +837 -0
  313. package/dist/component/json-D-WsbO45.js +9 -0
  314. package/dist/component/json-rmrBoeO_.js +9 -0
  315. package/dist/component/json5-B1J6XVPd.js +9 -0
  316. package/dist/component/json5-B3-n7IrD.js +9 -0
  317. package/dist/component/jsonc-BgfI3zjg.js +9 -0
  318. package/dist/component/jsonc-HFvGREK8.js +9 -0
  319. package/dist/component/jsonl-DHttz8sH.js +9 -0
  320. package/dist/component/jsonl-l_eIcPip.js +9 -0
  321. package/dist/component/jsonnet-D6SNIhw0.js +9 -0
  322. package/dist/component/jsonnet-DO8Zfk6p.js +9 -0
  323. package/dist/component/jssm-CKRLojKZ.js +9 -0
  324. package/dist/component/jssm-Dy1zjXNg.js +9 -0
  325. package/dist/component/jsx-CpVvoVGp.js +9 -0
  326. package/dist/component/jsx-si2wS7pt.js +9 -0
  327. package/dist/component/julia-BPzvBJ4R.js +19 -0
  328. package/dist/component/julia-CfyFig21.js +19 -0
  329. package/dist/component/just-D5rIv9U4.js +21 -0
  330. package/dist/component/just-fRm_weEQ.js +21 -0
  331. package/dist/component/kanagawa-dragon-BOBo9JLg.js +7 -0
  332. package/dist/component/kanagawa-dragon-BWPCHB_7.js +7 -0
  333. package/dist/component/kanagawa-lotus-8m_3LhhF.js +7 -0
  334. package/dist/component/kanagawa-lotus-B5o1JCNj.js +7 -0
  335. package/dist/component/kanagawa-wave-BSP7z6KH.js +7 -0
  336. package/dist/component/kanagawa-wave-ClYLx7ql.js +7 -0
  337. package/dist/component/kanban-definition-UN3LZRKU-Cmh8twbq.js +727 -0
  338. package/dist/component/kdl-GafIF83C.js +9 -0
  339. package/dist/component/kdl-_X6wsgV0.js +9 -0
  340. package/dist/component/kotlin-B3jfEOcv.js +9 -0
  341. package/dist/component/kotlin-BWMoZeA3.js +9 -0
  342. package/dist/component/kusto-Bkz9eBch.js +9 -0
  343. package/dist/component/kusto-ohiqZ64l.js +9 -0
  344. package/dist/component/laserwave-BmajecBZ.js +7 -0
  345. package/dist/component/laserwave-Bp21zlIO.js +7 -0
  346. package/dist/component/latex-BYzveWoN.js +11 -0
  347. package/dist/component/latex-Bi4Lg68B.js +11 -0
  348. package/dist/component/layout-Bu6nRdWm.js +1731 -0
  349. package/dist/component/lean-BBkk0btj.js +9 -0
  350. package/dist/component/lean-DFmhzmny.js +9 -0
  351. package/dist/component/less-ChX34X5W.js +9 -0
  352. package/dist/component/less-kqPRXL1K.js +9 -0
  353. package/dist/component/light-plus-DFxAowZg.js +7 -0
  354. package/dist/component/light-plus-_t1yKirF.js +7 -0
  355. package/dist/component/linear-BDyEUcVD.js +262 -0
  356. package/dist/component/liquid-Bri_C9oi.js +17 -0
  357. package/dist/component/liquid-f2WMwCDi.js +17 -0
  358. package/dist/component/llvm-COuD10ql.js +9 -0
  359. package/dist/component/llvm-dub2631B.js +9 -0
  360. package/dist/component/log-A8St-vyh.js +9 -0
  361. package/dist/component/log-g58LFxM8.js +9 -0
  362. package/dist/component/logo-DZmThwvl.js +9 -0
  363. package/dist/component/logo-x6YxnKST.js +9 -0
  364. package/dist/component/lua-Bj2G8q-Z.js +11 -0
  365. package/dist/component/lua-CyXCKT0u.js +11 -0
  366. package/dist/component/luau-B8fyn01D.js +9 -0
  367. package/dist/component/luau-C5q2C4N6.js +9 -0
  368. package/dist/component/make-DOTJ8IeI.js +9 -0
  369. package/dist/component/make-DTiRnfNf.js +9 -0
  370. package/dist/component/markdown-D3u32LKS.js +9 -0
  371. package/dist/component/markdown-DHm1k_6p.js +9 -0
  372. package/dist/component/marko-CUgdvzuR.js +17 -0
  373. package/dist/component/marko-SwZmWzIv.js +17 -0
  374. package/dist/component/material-theme-BIfRQKI0.js +7 -0
  375. package/dist/component/material-theme-CxS7GniW.js +7 -0
  376. package/dist/component/material-theme-darker-DKP5DIOi.js +7 -0
  377. package/dist/component/material-theme-darker-DkNB3xjL.js +7 -0
  378. package/dist/component/material-theme-lighter-3I4JYnlq.js +7 -0
  379. package/dist/component/material-theme-lighter-D5xivCfx.js +7 -0
  380. package/dist/component/material-theme-ocean-B31yuEXO.js +7 -0
  381. package/dist/component/material-theme-ocean-rw0kJPZg.js +7 -0
  382. package/dist/component/material-theme-palenight-BfunK0Uo.js +7 -0
  383. package/dist/component/material-theme-palenight-COTbh91p.js +7 -0
  384. package/dist/component/matlab-CkKSQcnX.js +9 -0
  385. package/dist/component/matlab-DCF6d5YL.js +9 -0
  386. package/dist/component/mdc-D92XwdT9.js +15 -0
  387. package/dist/component/mdc-gb_v49HI.js +15 -0
  388. package/dist/component/mdx-C6kH9TSz.js +9 -0
  389. package/dist/component/mdx-Dqb5H0t-.js +9 -0
  390. package/dist/component/mermaid-0bkYzXfL.js +9 -0
  391. package/dist/component/mermaid-GHXKKRXX-C5Y3BZXR.js +107122 -0
  392. package/dist/component/mermaid-N7-yWHiu.js +9 -0
  393. package/dist/component/min-dark-CqEfelDe.js +7 -0
  394. package/dist/component/min-dark-FAglrjWz.js +7 -0
  395. package/dist/component/min-light-BmdYN58_.js +7 -0
  396. package/dist/component/min-light-CcJCxfWw.js +7 -0
  397. package/dist/component/mindmap-definition-RKZ34NQL-CnFpVFpl.js +833 -0
  398. package/dist/component/mipsasm-BYNReuUT.js +9 -0
  399. package/dist/component/mipsasm-CKzkMNWr.js +9 -0
  400. package/dist/component/mojo-0URGVph7.js +9 -0
  401. package/dist/component/mojo-C563AncR.js +9 -0
  402. package/dist/component/monokai-D3_c3OUm.js +7 -0
  403. package/dist/component/monokai-ugSJFofr.js +7 -0
  404. package/dist/component/moonbit-BkJk2kyS.js +9 -0
  405. package/dist/component/moonbit-DlIX78rk.js +9 -0
  406. package/dist/component/move-BQAHOJb2.js +9 -0
  407. package/dist/component/move-eiW4QYDW.js +9 -0
  408. package/dist/component/narrat-2oVindvn.js +9 -0
  409. package/dist/component/narrat-Dc4cTFeW.js +9 -0
  410. package/dist/component/nextflow-B4caLl5A.js +11 -0
  411. package/dist/component/nextflow-Bk0ryO1R.js +11 -0
  412. package/dist/component/nextflow-groovy-BnXf2WiC.js +9 -0
  413. package/dist/component/nextflow-groovy-DIMIAEOy.js +9 -0
  414. package/dist/component/nginx-BaGEfT9r.js +11 -0
  415. package/dist/component/nginx-Dprlne5J.js +11 -0
  416. package/dist/component/night-owl-B6L5FL5v.js +7 -0
  417. package/dist/component/night-owl-CB_IXuNH.js +7 -0
  418. package/dist/component/night-owl-light-BZxeyl5X.js +7 -0
  419. package/dist/component/night-owl-light-CoPr05P4.js +7 -0
  420. package/dist/component/nim-BKvvFCe_.js +23 -0
  421. package/dist/component/nim-CQZqLxeE.js +23 -0
  422. package/dist/component/nix-Cp8a0vy5.js +12 -0
  423. package/dist/component/nix-DEY1zukk.js +12 -0
  424. package/dist/component/nord-D3PAEvHH.js +7 -0
  425. package/dist/component/nord-DPPgRakM.js +7 -0
  426. package/dist/component/nushell-BdsblUId.js +9 -0
  427. package/dist/component/nushell-DUUbmBaO.js +9 -0
  428. package/dist/component/objective-c-CNN3tl1v.js +9 -0
  429. package/dist/component/objective-c-D_6I2dsG.js +9 -0
  430. package/dist/component/objective-cpp-BjicYcS7.js +9 -0
  431. package/dist/component/objective-cpp-z4LTaUcg.js +9 -0
  432. package/dist/component/ocaml-BnD9haV8.js +9 -0
  433. package/dist/component/ocaml-DZseEUty.js +9 -0
  434. package/dist/component/odin-CnsCKboc.js +9 -0
  435. package/dist/component/odin-P2WSXO4H.js +9 -0
  436. package/dist/component/one-dark-pro-C_eaQ16k.js +7 -0
  437. package/dist/component/one-dark-pro-OimEv0Ou.js +7 -0
  438. package/dist/component/one-light-B0ti6b9S.js +7 -0
  439. package/dist/component/one-light-j3UfPQB3.js +7 -0
  440. package/dist/component/openscad-2vaKslxR.js +9 -0
  441. package/dist/component/openscad-jE6oRbDv.js +9 -0
  442. package/dist/component/ordinal-D0x7izaa.js +64 -0
  443. package/dist/component/pascal-8jl8irAj.js +9 -0
  444. package/dist/component/pascal-d7SASCGO.js +9 -0
  445. package/dist/component/perl-DHC1BZ_5.js +19 -0
  446. package/dist/component/perl-DVm7Pq-D.js +19 -0
  447. package/dist/component/php-BF_l-EgM.js +21 -0
  448. package/dist/component/php-BtpW2-DO.js +21 -0
  449. package/dist/component/pieDiagram-4H26LBE5-u-blLkni.js +166 -0
  450. package/dist/component/pkl-CoBnC_8G.js +9 -0
  451. package/dist/component/pkl-DZdA2Trc.js +9 -0
  452. package/dist/component/plastic-3IjBbwNP.js +7 -0
  453. package/dist/component/plastic-CixB-AlW.js +7 -0
  454. package/dist/component/plsql-Cv-ZxhCL.js +9 -0
  455. package/dist/component/plsql-CzeGyK0m.js +9 -0
  456. package/dist/component/po-eb_Amfj2.js +9 -0
  457. package/dist/component/po-moSB12fi.js +9 -0
  458. package/dist/component/poimandres-C03Jy3KZ.js +7 -0
  459. package/dist/component/poimandres-CKZ3f48N.js +7 -0
  460. package/dist/component/polar-BKFAKBSA.js +9 -0
  461. package/dist/component/polar-CsPCUbKt.js +9 -0
  462. package/dist/component/postcss-CytNqPC0.js +9 -0
  463. package/dist/component/postcss-D3_LY2LH.js +9 -0
  464. package/dist/component/powerquery-CpTndMW_.js +9 -0
  465. package/dist/component/powerquery-f-cemdrG.js +9 -0
  466. package/dist/component/powershell-B-JkstDq.js +9 -0
  467. package/dist/component/powershell-BkDB3ZO9.js +9 -0
  468. package/dist/component/prisma-B4mlcaEB.js +9 -0
  469. package/dist/component/prisma-BX88wNNq.js +9 -0
  470. package/dist/component/prolog-ZYcjPjsY.js +9 -0
  471. package/dist/component/prolog-ftPRGVaT.js +9 -0
  472. package/dist/component/proto-B5SG7zCc.js +9 -0
  473. package/dist/component/proto-DpTcjJFH.js +9 -0
  474. package/dist/component/pug-BziTjzcZ.js +15 -0
  475. package/dist/component/pug-XUdLuJ2s.js +15 -0
  476. package/dist/component/puppet-BeyD5DhV.js +9 -0
  477. package/dist/component/puppet-DjFvC8zy.js +9 -0
  478. package/dist/component/purescript-BBRU0YyZ.js +9 -0
  479. package/dist/component/purescript-Bf3WPYAV.js +9 -0
  480. package/dist/component/python-C7yusFoO.js +9 -0
  481. package/dist/component/python-CuNbg5wx.js +9 -0
  482. package/dist/component/qml-Cu9RjXOs.js +11 -0
  483. package/dist/component/qml-Z-uvElxQ.js +11 -0
  484. package/dist/component/qmldir-BHp2usxt.js +9 -0
  485. package/dist/component/qmldir-C6P--W6X.js +9 -0
  486. package/dist/component/qss-CgcBaeYL.js +9 -0
  487. package/dist/component/qss-iWzt-Nzy.js +9 -0
  488. package/dist/component/quadrantDiagram-W4KKPZXB-Bpq-EoMM.js +1033 -0
  489. package/dist/component/r-8lH98zbN.js +9 -0
  490. package/dist/component/r-CyFkAlMF.js +9 -0
  491. package/dist/component/racket-DaWPCRlQ.js +9 -0
  492. package/dist/component/racket-effgGH8q.js +9 -0
  493. package/dist/component/raku-DXM7wT4g.js +9 -0
  494. package/dist/component/raku-GZVvT-nH.js +9 -0
  495. package/dist/component/razor-CYq4jbLW.js +13 -0
  496. package/dist/component/razor-DQFDiXM1.js +13 -0
  497. package/dist/component/red-B9TgEgRC.js +7 -0
  498. package/dist/component/red-BNC90Lxb.js +7 -0
  499. package/dist/component/reg-C62uOG3A.js +9 -0
  500. package/dist/component/reg-CQgRgzkw.js +9 -0
  501. package/dist/component/regexp-D8jeZrvm.js +9 -0
  502. package/dist/component/regexp-UNvxOND4.js +9 -0
  503. package/dist/component/rel-BRyuNjQD.js +9 -0
  504. package/dist/component/rel-Cyzm_Cno.js +9 -0
  505. package/dist/component/requirementDiagram-4Y6WPE33-B8V7mLRY.js +888 -0
  506. package/dist/component/riscv-BHdC-Wfh.js +9 -0
  507. package/dist/component/riscv-BZ9l50bA.js +9 -0
  508. package/dist/component/ron--0kZyCV0.js +9 -0
  509. package/dist/component/ron-CJx-eqt3.js +9 -0
  510. package/dist/component/rose-pine-XHcBRH-D.js +7 -0
  511. package/dist/component/rose-pine-dawn-Bz77Igqs.js +7 -0
  512. package/dist/component/rose-pine-dawn-RL42yTas.js +7 -0
  513. package/dist/component/rose-pine-ksWn8nuO.js +7 -0
  514. package/dist/component/rose-pine-moon-BtSW__9n.js +7 -0
  515. package/dist/component/rose-pine-moon-QJS0aJgR.js +7 -0
  516. package/dist/component/rosmsg-BPUqDEe2.js +9 -0
  517. package/dist/component/rosmsg-CM65NRE0.js +9 -0
  518. package/dist/component/rst-CqXkCW5F.js +25 -0
  519. package/dist/component/rst-DQATMrFw.js +25 -0
  520. package/dist/component/ruby-B09XKrLg.js +33 -0
  521. package/dist/component/ruby-BJtrPIFQ.js +33 -0
  522. package/dist/component/rust-3aEF0O7t.js +9 -0
  523. package/dist/component/rust-XKBJng8W.js +9 -0
  524. package/dist/component/sankeyDiagram-5OEKKPKP-C-TbMbsr.js +862 -0
  525. package/dist/component/sas-COkwgxe_.js +11 -0
  526. package/dist/component/sas-DDLczODn.js +11 -0
  527. package/dist/component/sass-BIT8Mghp.js +9 -0
  528. package/dist/component/sass-CbXM5obh.js +9 -0
  529. package/dist/component/scala-CWyCExvl.js +9 -0
  530. package/dist/component/scala-DmAjX8OM.js +9 -0
  531. package/dist/component/scheme-BLXiZF3M.js +9 -0
  532. package/dist/component/scheme-ERi8vGmO.js +9 -0
  533. package/dist/component/scss-BX4eQ0c3.js +11 -0
  534. package/dist/component/scss-Biq-xkEY.js +11 -0
  535. package/dist/component/sdbl-B4TEJKGi.js +9 -0
  536. package/dist/component/sdbl-tnLxE-ur.js +9 -0
  537. package/dist/component/sequenceDiagram-3UESZ5HK-UHhixLbD.js +2897 -0
  538. package/dist/component/shaderlab-DMYXUCqo.js +11 -0
  539. package/dist/component/shaderlab-DqcfJRqk.js +11 -0
  540. package/dist/component/shellscript-B533aeAq.js +9 -0
  541. package/dist/component/shellscript-B8M9FK6Q.js +9 -0
  542. package/dist/component/shellsession-CvrLJEnp.js +11 -0
  543. package/dist/component/shellsession-Cy0cdv3D.js +11 -0
  544. package/dist/component/slack-dark-9TBiD8mL.js +7 -0
  545. package/dist/component/slack-dark-DN-r2Kgp.js +7 -0
  546. package/dist/component/slack-ochin-9pgdwMdj.js +7 -0
  547. package/dist/component/slack-ochin-DoqPjNJD.js +7 -0
  548. package/dist/component/smalltalk-Bbm0pJzJ.js +9 -0
  549. package/dist/component/smalltalk-BgwWJ0LQ.js +9 -0
  550. package/dist/component/snazzy-light-CRiZMLw1.js +7 -0
  551. package/dist/component/snazzy-light-D2QxPpzI.js +7 -0
  552. package/dist/component/solarized-dark-CpiZBbF-.js +7 -0
  553. package/dist/component/solarized-dark-DrZ258Kz.js +7 -0
  554. package/dist/component/solarized-light-940Q0ET-.js +7 -0
  555. package/dist/component/solarized-light-CZjXGjG0.js +7 -0
  556. package/dist/component/solidity-BiVIJAyo.js +9 -0
  557. package/dist/component/solidity-DsGO0zKs.js +9 -0
  558. package/dist/component/soy-B8d9iNux.js +11 -0
  559. package/dist/component/soy-CrWxFFIL.js +11 -0
  560. package/dist/component/sparql-C9-sbVPb.js +11 -0
  561. package/dist/component/sparql-D4y9QLpW.js +11 -0
  562. package/dist/component/splunk-8ZGt17T1.js +9 -0
  563. package/dist/component/splunk-CoLR9YoS.js +9 -0
  564. package/dist/component/sql-kcHmCqqm.js +9 -0
  565. package/dist/component/sql-vg8sPfqQ.js +9 -0
  566. package/dist/component/ssh-config-CaXR5cZI.js +9 -0
  567. package/dist/component/ssh-config-DIPB8nWv.js +9 -0
  568. package/dist/component/stata-DTwlvRC-.js +11 -0
  569. package/dist/component/stata-wXDnjjLv.js +11 -0
  570. package/dist/component/stateDiagram-AJRCARHV-DBGVr_mf.js +266 -0
  571. package/dist/component/stateDiagram-v2-BHNVJYJU-BasSd11t.js +19 -0
  572. package/dist/component/stylus-BVi_fesw.js +9 -0
  573. package/dist/component/stylus-WAexVQ6f.js +9 -0
  574. package/dist/component/surrealql-BMPoOZ16.js +11 -0
  575. package/dist/component/surrealql-CoR3cmJl.js +11 -0
  576. package/dist/component/svelte-BXoajfvD.js +17 -0
  577. package/dist/component/svelte-CSNEH6tH.js +17 -0
  578. package/dist/component/swift-C1L5BrdG.js +9 -0
  579. package/dist/component/swift-DvqRLmJa.js +9 -0
  580. package/dist/component/synthwave-84-CjU0tbaA.js +7 -0
  581. package/dist/component/synthwave-84-D0HCetP1.js +7 -0
  582. package/dist/component/system-verilog-BlCQhLvC.js +9 -0
  583. package/dist/component/system-verilog-NfYSOS9X.js +9 -0
  584. package/dist/component/systemd-C-VULMOV.js +9 -0
  585. package/dist/component/systemd-DPQeba_a.js +9 -0
  586. package/dist/component/talonscript-0iKTliWA.js +9 -0
  587. package/dist/component/talonscript-Dcq0YJ69.js +9 -0
  588. package/dist/component/tasl-CBnjmw_u.js +9 -0
  589. package/dist/component/tasl-DPTcRLbU.js +9 -0
  590. package/dist/component/tcl-B8YZq0wg.js +9 -0
  591. package/dist/component/tcl-D3IfUIUn.js +9 -0
  592. package/dist/component/templ-BWrZoBOl.js +15 -0
  593. package/dist/component/templ-CNKcDxHw.js +15 -0
  594. package/dist/component/terraform-BBGJbbOd.js +9 -0
  595. package/dist/component/terraform-CpHfbII0.js +9 -0
  596. package/dist/component/tex-Do7cxq2n.js +11 -0
  597. package/dist/component/tex-DotwMf2L.js +11 -0
  598. package/dist/component/timeline-definition-PNZ67QCA-BTzUH3cf.js +1058 -0
  599. package/dist/component/tokyo-night-50KL4qXP.js +7 -0
  600. package/dist/component/tokyo-night-CFdInRHE.js +7 -0
  601. package/dist/component/toml-BgG8u2uy.js +9 -0
  602. package/dist/component/toml-Cdrl1XDU.js +9 -0
  603. package/dist/component/ts-tags-CZ_-X2Or.js +44 -0
  604. package/dist/component/ts-tags-JQGxDVZd.js +44 -0
  605. package/dist/component/tsv-CH-Gpfzn.js +9 -0
  606. package/dist/component/tsv-DXq61Z_y.js +9 -0
  607. package/dist/component/tsx-B6WYiHjH.js +9 -0
  608. package/dist/component/tsx-BI2vzHzF.js +9 -0
  609. package/dist/component/turtle-BLh3UAZ1.js +9 -0
  610. package/dist/component/turtle-DuS0HQ9p.js +9 -0
  611. package/dist/component/twig-BA9yPOhQ.js +21 -0
  612. package/dist/component/twig-F0j_PXgJ.js +21 -0
  613. package/dist/component/typescript-Bt_Em9TU.js +9 -0
  614. package/dist/component/typescript-BxspRrVw.js +9 -0
  615. package/dist/component/typespec-CBQfkfKg.js +9 -0
  616. package/dist/component/typespec-ChsG4DJP.js +9 -0
  617. package/dist/component/typst-CLNdxZpy.js +9 -0
  618. package/dist/component/typst-rCvFF3Ml.js +9 -0
  619. package/dist/component/v-Bc8b7HcA.js +9 -0
  620. package/dist/component/v-DkBTCxRz.js +9 -0
  621. package/dist/component/vala-Bf6duLsN.js +9 -0
  622. package/dist/component/vala-D3NFAJvZ.js +9 -0
  623. package/dist/component/vb-CbCKaE0V.js +9 -0
  624. package/dist/component/vb-DoG_86dU.js +9 -0
  625. package/dist/component/vennDiagram-CIIHVFJN-CVh3weJ2.js +1560 -0
  626. package/dist/component/verilog-BsnhA3AJ.js +9 -0
  627. package/dist/component/verilog-nZodAh2g.js +9 -0
  628. package/dist/component/vesper-C9xEuBGK.js +7 -0
  629. package/dist/component/vesper-DGjNIaCs.js +7 -0
  630. package/dist/component/vhdl-D19XVLHt.js +9 -0
  631. package/dist/component/vhdl-mXcQB2Fg.js +9 -0
  632. package/dist/component/viml-8k_5DKNK.js +9 -0
  633. package/dist/component/viml-COJbZm0U.js +9 -0
  634. package/dist/component/vitesse-black-Bct4R3m4.js +7 -0
  635. package/dist/component/vitesse-black-heVxAgDf.js +7 -0
  636. package/dist/component/vitesse-dark-DdWh6SFL.js +7 -0
  637. package/dist/component/vitesse-dark-DiXBkaTo.js +7 -0
  638. package/dist/component/vitesse-light-CerMU32A.js +7 -0
  639. package/dist/component/vitesse-light-Eee3KZAP.js +7 -0
  640. package/dist/component/vue-DjB6jmJ7.js +34 -0
  641. package/dist/component/vue-YqIdEku3.js +34 -0
  642. package/dist/component/vue-html-BkvRG1qx.js +11 -0
  643. package/dist/component/vue-html-CXFz0iVx.js +11 -0
  644. package/dist/component/vue-vine-CFD4nsF4.js +21 -0
  645. package/dist/component/vue-vine-lE-jUeB6.js +21 -0
  646. package/dist/component/vyper-DTCkLS2f.js +9 -0
  647. package/dist/component/vyper-_vSvOdCD.js +9 -0
  648. package/dist/component/wardley-L42UT6IY-HA1eSIS_.js +23141 -0
  649. package/dist/component/wardleyDiagram-YWT4CUSO-Uu5KXQum.js +681 -0
  650. package/dist/component/wasm-BEUtLzBq.js +10 -0
  651. package/dist/component/wasm-Bw9k5bmy.js +9 -0
  652. package/dist/component/wasm-NiufRxKC.js +9 -0
  653. package/dist/component/wasm-rA9i46L9.js +10 -0
  654. package/dist/component/wenyan-BAnK6VvJ.js +9 -0
  655. package/dist/component/wenyan-EBJbIPqf.js +9 -0
  656. package/dist/component/wgsl-B9MSpOv3.js +9 -0
  657. package/dist/component/wgsl-Dlg8zdV4.js +9 -0
  658. package/dist/component/wikitext-C8AvgBS7.js +9 -0
  659. package/dist/component/wikitext-sNd9wc1e.js +9 -0
  660. package/dist/component/wit-BM4EHoLb.js +9 -0
  661. package/dist/component/wit-BUXWAgVD.js +9 -0
  662. package/dist/component/wolfram-Ba-Qm5eW.js +9 -0
  663. package/dist/component/wolfram-CKRVXwGa.js +9 -0
  664. package/dist/component/xml-CE4MTCb-.js +11 -0
  665. package/dist/component/xml-DXvCmeFI.js +11 -0
  666. package/dist/component/xsl-BrFD-9o5.js +11 -0
  667. package/dist/component/xsl-CHBQO4kd.js +11 -0
  668. package/dist/component/xychartDiagram-2RQKCTM6-IkxwUbCF.js +1375 -0
  669. package/dist/component/yaml-CF4mYNnF.js +9 -0
  670. package/dist/component/yaml-XzfbPk1C.js +9 -0
  671. package/dist/component/zenscript-C0pvNsdh.js +9 -0
  672. package/dist/component/zenscript-xkkNgCqg.js +9 -0
  673. package/dist/component/zig-Bz6GLPWH.js +9 -0
  674. package/dist/component/zig-oixaTxav.js +9 -0
  675. package/dist/components/ai-elements/attachments.d.ts +54 -0
  676. package/dist/components/ai-elements/code-block.d.ts +46 -0
  677. package/dist/components/ai-elements/conversation.d.ts +23 -0
  678. package/dist/components/ai-elements/copy-button.d.ts +6 -0
  679. package/dist/components/ai-elements/file-tree.d.ts +26 -0
  680. package/dist/components/ai-elements/link-safety-modal.d.ts +8 -0
  681. package/dist/components/ai-elements/message.d.ts +38 -0
  682. package/dist/components/ai-elements/plan.d.ts +25 -0
  683. package/dist/components/ai-elements/prompt-input.d.ts +158 -0
  684. package/dist/components/ai-elements/reasoning.d.ts +26 -0
  685. package/dist/components/ai-elements/shell-highlight.d.ts +3 -0
  686. package/dist/components/ai-elements/shimmer.d.ts +9 -0
  687. package/dist/components/ai-elements/suggestion.d.ts +10 -0
  688. package/dist/components/ai-elements/task.d.ts +14 -0
  689. package/dist/components/ai-elements/terminal-task.d.ts +5 -0
  690. package/dist/components/ai-elements/tool.d.ts +31 -0
  691. package/dist/components/embed/AgentGrantCard.d.ts +25 -0
  692. package/dist/components/embed/AtMentionMenu.d.ts +13 -0
  693. package/dist/components/embed/BelongMark.d.ts +4 -0
  694. package/dist/components/embed/BrandMark.d.ts +11 -0
  695. package/dist/components/embed/CapabilityHints.d.ts +1 -0
  696. package/dist/components/embed/ComposerMenu.d.ts +36 -0
  697. package/dist/components/embed/CsvTable.d.ts +10 -0
  698. package/dist/components/embed/EmbedAvatar.d.ts +35 -0
  699. package/dist/components/embed/EmbedComposer.d.ts +31 -0
  700. package/dist/components/embed/EmbedConversation.d.ts +31 -0
  701. package/dist/components/embed/EmbedFiles.d.ts +28 -0
  702. package/dist/components/embed/EmbedHeader.d.ts +11 -0
  703. package/dist/components/embed/EmbedLogin.d.ts +11 -0
  704. package/dist/components/embed/EmbedRail.d.ts +49 -0
  705. package/dist/components/embed/EmbedSessions.d.ts +23 -0
  706. package/dist/components/embed/FilePreview.d.ts +12 -0
  707. package/dist/components/embed/FilePreviewDialog.d.ts +19 -0
  708. package/dist/components/embed/MentionInput.d.ts +23 -0
  709. package/dist/components/embed/MentionPill.d.ts +25 -0
  710. package/dist/components/embed/OnboardingOverlay.d.ts +21 -0
  711. package/dist/components/embed/OnboardingTour.d.ts +24 -0
  712. package/dist/components/embed/OnboardingWelcome.d.ts +23 -0
  713. package/dist/components/embed/PlanCue.d.ts +9 -0
  714. package/dist/components/embed/PlanPanel.d.ts +13 -0
  715. package/dist/components/embed/PlanView.d.ts +16 -0
  716. package/dist/components/embed/PoweredByBelong.d.ts +7 -0
  717. package/dist/components/embed/PreviewContent.d.ts +26 -0
  718. package/dist/components/embed/PreviewPanel.d.ts +17 -0
  719. package/dist/components/embed/ProgressRing.d.ts +13 -0
  720. package/dist/components/embed/SlashCommandMenu.d.ts +13 -0
  721. package/dist/components/embed/UploadedFiles.d.ts +9 -0
  722. package/dist/components/embed/UsageMeter.d.ts +9 -0
  723. package/dist/components/embed/WelcomeIntro.d.ts +10 -0
  724. package/dist/components/embed/WorkspaceTree.d.ts +22 -0
  725. package/dist/components/embed/__plan-test-utils__.d.ts +13 -0
  726. package/dist/components/embed/dev-runtime-bar.d.ts +21 -0
  727. package/dist/components/embed/embed-composer.fixtures.d.ts +3 -0
  728. package/dist/components/embed/embed-rail.fixtures.d.ts +3 -0
  729. package/dist/components/embed/file-preview-kind.d.ts +7 -0
  730. package/dist/components/embed/onboarding-story-dock.d.ts +20 -0
  731. package/dist/components/embed/onboarding.fixtures.d.ts +9 -0
  732. package/dist/components/embed/parse-csv.d.ts +10 -0
  733. package/dist/components/embed/preview-content-kind.d.ts +15 -0
  734. package/dist/components/embed/use-panel-resize.d.ts +4 -0
  735. package/dist/components/embed/use-preview-bytes.d.ts +39 -0
  736. package/dist/components/feedback/feedback-metadata.d.ts +37 -0
  737. package/dist/components/feedback/message-feedback.d.ts +9 -0
  738. package/dist/components/ui/accordion.d.ts +7 -0
  739. package/dist/components/ui/alert.d.ts +9 -0
  740. package/dist/components/ui/avatar.d.ts +11 -0
  741. package/dist/components/ui/badge.d.ts +9 -0
  742. package/dist/components/ui/button-group.d.ts +11 -0
  743. package/dist/components/ui/button.d.ts +10 -0
  744. package/dist/components/ui/card.d.ts +9 -0
  745. package/dist/components/ui/carousel.d.ts +19 -0
  746. package/dist/components/ui/checkbox.d.ts +4 -0
  747. package/dist/components/ui/collapsible.d.ts +5 -0
  748. package/dist/components/ui/command.d.ts +18 -0
  749. package/dist/components/ui/dialog.d.ts +17 -0
  750. package/dist/components/ui/dropdown-menu.d.ts +25 -0
  751. package/dist/components/ui/hover-card.d.ts +6 -0
  752. package/dist/components/ui/input-group.d.ts +16 -0
  753. package/dist/components/ui/input.d.ts +3 -0
  754. package/dist/components/ui/popover.d.ts +10 -0
  755. package/dist/components/ui/progress.d.ts +4 -0
  756. package/dist/components/ui/radio-group.d.ts +5 -0
  757. package/dist/components/ui/scroll-area.d.ts +5 -0
  758. package/dist/components/ui/select.d.ts +15 -0
  759. package/dist/components/ui/separator.d.ts +4 -0
  760. package/dist/components/ui/spinner.d.ts +2 -0
  761. package/dist/components/ui/switch.d.ts +6 -0
  762. package/dist/components/ui/tabs.d.ts +11 -0
  763. package/dist/components/ui/textarea.d.ts +3 -0
  764. package/dist/components/ui/tooltip.d.ts +7 -0
  765. package/dist/dev-main.d.ts +0 -0
  766. package/dist/embed/agent-grant-refresh.d.ts +37 -0
  767. package/dist/embed/at-mentions.d.ts +80 -0
  768. package/dist/embed/auth0-refresh.d.ts +78 -0
  769. package/dist/embed/auto-embed.d.ts +19 -0
  770. package/dist/embed/bootstrap.d.ts +10 -0
  771. package/dist/embed/brand-marks.d.ts +11 -0
  772. package/dist/embed/build-info.d.ts +30 -0
  773. package/dist/embed/build-version.d.ts +28 -0
  774. package/dist/embed/chat-mode.d.ts +46 -0
  775. package/dist/embed/composer-focus.d.ts +14 -0
  776. package/dist/embed/copy.d.ts +84 -0
  777. package/dist/embed/custom-css.d.ts +2 -0
  778. package/dist/embed/debug-overrides.d.ts +11 -0
  779. package/dist/embed/dev-mode.d.ts +56 -0
  780. package/dist/embed/dock-layout.d.ts +30 -0
  781. package/dist/embed/dock-state.d.ts +32 -0
  782. package/dist/embed/download-url.d.ts +9 -0
  783. package/dist/embed/file-type-icon.d.ts +29 -0
  784. package/dist/embed/format-bytes.d.ts +2 -0
  785. package/dist/embed/global.d.ts +79 -0
  786. package/dist/embed/locale.d.ts +18 -0
  787. package/dist/embed/logo.d.ts +1 -0
  788. package/dist/embed/mic-press.d.ts +27 -0
  789. package/dist/embed/onboarding-prefs.d.ts +52 -0
  790. package/dist/embed/onboarding-steps.d.ts +27 -0
  791. package/dist/embed/onboarding-store.d.ts +39 -0
  792. package/dist/embed/plan-auto-open.d.ts +8 -0
  793. package/dist/embed/plan-decision.d.ts +10 -0
  794. package/dist/embed/plan-intent.d.ts +17 -0
  795. package/dist/embed/portal-container.d.ts +23 -0
  796. package/dist/embed/presets.d.ts +29 -0
  797. package/dist/embed/session-record.d.ts +16 -0
  798. package/dist/embed/shadow-mount.d.ts +37 -0
  799. package/dist/embed/slash-commands.d.ts +49 -0
  800. package/dist/embed/theme.d.ts +40 -0
  801. package/dist/embed/universe-origin.d.ts +24 -0
  802. package/dist/embed/use-workspace-file-download.d.ts +16 -0
  803. package/dist/embed/voice/audio-forwarder.worklet.d.ts +22 -0
  804. package/dist/embed/voice/audio-utils.d.ts +38 -0
  805. package/dist/embed/voice/deepgram-stt.d.ts +69 -0
  806. package/dist/embed/voice/mic-capture.d.ts +34 -0
  807. package/dist/embed/voice/sentence-split.d.ts +11 -0
  808. package/dist/embed/voice/voice-http.d.ts +8 -0
  809. package/dist/embed/voice/voice-token.d.ts +40 -0
  810. package/dist/embed/voice-bus.d.ts +75 -0
  811. package/dist/embed/voice-config.d.ts +52 -0
  812. package/dist/embed/voice-fillers.d.ts +2 -0
  813. package/dist/embed/voice-prefs.d.ts +55 -0
  814. package/dist/embed/voice-tts.d.ts +101 -0
  815. package/dist/embed/workspace-paths.d.ts +9 -0
  816. package/dist/infrastructure/telemetry/session-span-processor.d.ts +11 -0
  817. package/dist/infrastructure/telemetry/web-sdk.d.ts +29 -0
  818. package/dist/lib/belong.d.ts +12 -0
  819. package/dist/lib/tab-leadership.d.ts +46 -0
  820. package/dist/lib/use-tab-leadership.d.ts +8 -0
  821. package/dist/lib/utils.d.ts +9 -0
  822. package/dist/public-api.d.ts +3 -0
  823. package/dist/routes/chat-attachment-chip.d.ts +9 -0
  824. package/dist/routes/chat.d.ts +29 -0
  825. package/dist/routes/documents.d.ts +16 -0
  826. package/dist/routes/files.d.ts +14 -0
  827. package/dist/routes/sample-artifact.d.ts +7 -0
  828. package/dist/routes/sessions.d.ts +4 -0
  829. package/dist/routes/static-chat-fixture.d.ts +26 -0
  830. package/dist/stream/ai-sdk-part-renderers.d.ts +66 -0
  831. package/dist/stream/belong-chat-transport.d.ts +679 -0
  832. package/dist/stream/belong-data-parts.d.ts +207 -0
  833. package/dist/stream/chat-upload.d.ts +35 -0
  834. package/dist/stream/plan-panel-store.d.ts +11 -0
  835. package/dist/stream/plan-progress-store.d.ts +4 -0
  836. package/dist/stream/plan-progress.d.ts +25 -0
  837. package/dist/stream/plan-store.d.ts +16 -0
  838. package/dist/stream/preview-panel-store.d.ts +50 -0
  839. package/dist/stream/sandbox-output.d.ts +32 -0
  840. package/dist/stream/select-latest-plan.d.ts +17 -0
  841. package/dist/stream/select-session-usage.d.ts +23 -0
  842. package/dist/stream/session-title.d.ts +15 -0
  843. package/dist/stream/stream-state-store.d.ts +67 -0
  844. package/dist/stream/tool-io.d.ts +7 -0
  845. package/dist/test/render.d.ts +23 -0
  846. package/dist/test-setup.d.ts +1 -0
  847. package/dist/types/public.d.ts +189 -0
  848. package/package.json +38 -0
@@ -0,0 +1,818 @@
1
+ import { p as le } from "./chunk-4BX2VUAB-gRTK7Di9.js";
2
+ import { I as he } from "./chunk-QZHKN3VN-CHDEerWv.js";
3
+ import { t as $e, q as fe, s as ge, g as ue, a as ye, b as xe, _ as h, G as J, l as w, d as me, c as W, u as pe, H as be, B as we, k as B, I as ke, K as ve, M as Ce } from "./mermaid-GHXKKRXX-C5Y3BZXR.js";
4
+ import { p as Ee } from "./wardley-L42UT6IY-HA1eSIS_.js";
5
+ globalThis.process = globalThis.process || { env: {} };
6
+ globalThis.global = globalThis.global || globalThis;
7
+ var m = {
8
+ NORMAL: 0,
9
+ REVERSE: 1,
10
+ HIGHLIGHT: 2,
11
+ MERGE: 3,
12
+ CHERRY_PICK: 4
13
+ }, Be = ve.gitGraph, S = /* @__PURE__ */ h(() => ke({
14
+ ...Be,
15
+ ...J().gitGraph
16
+ }), "getConfig"), d = new he(() => {
17
+ const e = S(), r = e.mainBranchName, t = e.mainBranchOrder;
18
+ return {
19
+ mainBranchName: r,
20
+ commits: /* @__PURE__ */ new Map(),
21
+ head: null,
22
+ branchConfig: /* @__PURE__ */ new Map([[r, { name: r, order: t }]]),
23
+ branches: /* @__PURE__ */ new Map([[r, null]]),
24
+ currBranch: r,
25
+ direction: "LR",
26
+ seq: 0,
27
+ options: {}
28
+ };
29
+ });
30
+ function Y() {
31
+ return Ce({ length: 7 });
32
+ }
33
+ h(Y, "getID");
34
+ function te(e, r) {
35
+ const t = /* @__PURE__ */ Object.create(null);
36
+ return e.reduce((s, o) => {
37
+ const i = r(o);
38
+ return t[i] || (t[i] = !0, s.push(o)), s;
39
+ }, []);
40
+ }
41
+ h(te, "uniqBy");
42
+ var Te = /* @__PURE__ */ h(function(e) {
43
+ d.records.direction = e;
44
+ }, "setDirection"), Le = /* @__PURE__ */ h(function(e) {
45
+ w.debug("options str", e), e = e?.trim(), e = e || "{}";
46
+ try {
47
+ d.records.options = JSON.parse(e);
48
+ } catch (r) {
49
+ w.error("error while parsing gitGraph options", r.message);
50
+ }
51
+ }, "setOptions"), Me = /* @__PURE__ */ h(function() {
52
+ return d.records.options;
53
+ }, "getOptions"), Ie = /* @__PURE__ */ h(function(e) {
54
+ let r = e.msg, t = e.id;
55
+ const s = e.type;
56
+ let o = e.tags;
57
+ w.info("commit", r, t, s, o), w.debug("Entering commit:", r, t, s, o);
58
+ const i = S();
59
+ t = B.sanitizeText(t, i), r = B.sanitizeText(r, i), o = o?.map((a) => B.sanitizeText(a, i));
60
+ const n = {
61
+ id: t || d.records.seq + "-" + Y(),
62
+ message: r,
63
+ seq: d.records.seq++,
64
+ type: s ?? m.NORMAL,
65
+ tags: o ?? [],
66
+ parents: d.records.head == null ? [] : [d.records.head.id],
67
+ branch: d.records.currBranch
68
+ };
69
+ d.records.head = n, w.info("main branch", i.mainBranchName), d.records.commits.has(n.id) && w.warn(`Commit ID ${n.id} already exists`), d.records.commits.set(n.id, n), d.records.branches.set(d.records.currBranch, n.id), w.debug("in pushCommit " + n.id);
70
+ }, "commit"), Re = /* @__PURE__ */ h(function(e) {
71
+ let r = e.name;
72
+ const t = e.order;
73
+ if (r = B.sanitizeText(r, S()), d.records.branches.has(r))
74
+ throw new Error(
75
+ `Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`
76
+ );
77
+ d.records.branches.set(r, d.records.head != null ? d.records.head.id : null), d.records.branchConfig.set(r, { name: r, order: t }), ae(r), w.debug("in createBranch");
78
+ }, "branch"), Oe = /* @__PURE__ */ h((e) => {
79
+ let r = e.branch, t = e.id;
80
+ const s = e.type, o = e.tags, i = S();
81
+ r = B.sanitizeText(r, i), t && (t = B.sanitizeText(t, i));
82
+ const n = d.records.branches.get(d.records.currBranch), a = d.records.branches.get(r), l = n ? d.records.commits.get(n) : void 0, f = a ? d.records.commits.get(a) : void 0;
83
+ if (l && f && l.branch === r)
84
+ throw new Error(`Cannot merge branch '${r}' into itself.`);
85
+ if (d.records.currBranch === r) {
86
+ const c = new Error('Incorrect usage of "merge". Cannot merge a branch to itself');
87
+ throw c.hash = {
88
+ text: `merge ${r}`,
89
+ token: `merge ${r}`,
90
+ expected: ["branch abc"]
91
+ }, c;
92
+ }
93
+ if (l === void 0 || !l) {
94
+ const c = new Error(
95
+ `Incorrect usage of "merge". Current branch (${d.records.currBranch})has no commits`
96
+ );
97
+ throw c.hash = {
98
+ text: `merge ${r}`,
99
+ token: `merge ${r}`,
100
+ expected: ["commit"]
101
+ }, c;
102
+ }
103
+ if (!d.records.branches.has(r)) {
104
+ const c = new Error(
105
+ 'Incorrect usage of "merge". Branch to be merged (' + r + ") does not exist"
106
+ );
107
+ throw c.hash = {
108
+ text: `merge ${r}`,
109
+ token: `merge ${r}`,
110
+ expected: [`branch ${r}`]
111
+ }, c;
112
+ }
113
+ if (f === void 0 || !f) {
114
+ const c = new Error(
115
+ 'Incorrect usage of "merge". Branch to be merged (' + r + ") has no commits"
116
+ );
117
+ throw c.hash = {
118
+ text: `merge ${r}`,
119
+ token: `merge ${r}`,
120
+ expected: ['"commit"']
121
+ }, c;
122
+ }
123
+ if (l === f) {
124
+ const c = new Error('Incorrect usage of "merge". Both branches have same head');
125
+ throw c.hash = {
126
+ text: `merge ${r}`,
127
+ token: `merge ${r}`,
128
+ expected: ["branch abc"]
129
+ }, c;
130
+ }
131
+ if (t && d.records.commits.has(t)) {
132
+ const c = new Error(
133
+ 'Incorrect usage of "merge". Commit with id:' + t + " already exists, use different custom id"
134
+ );
135
+ throw c.hash = {
136
+ text: `merge ${r} ${t} ${s} ${o?.join(" ")}`,
137
+ token: `merge ${r} ${t} ${s} ${o?.join(" ")}`,
138
+ expected: [
139
+ `merge ${r} ${t}_UNIQUE ${s} ${o?.join(" ")}`
140
+ ]
141
+ }, c;
142
+ }
143
+ const g = a || "", $ = {
144
+ id: t || `${d.records.seq}-${Y()}`,
145
+ message: `merged branch ${r} into ${d.records.currBranch}`,
146
+ seq: d.records.seq++,
147
+ parents: d.records.head == null ? [] : [d.records.head.id, g],
148
+ branch: d.records.currBranch,
149
+ type: m.MERGE,
150
+ customType: s,
151
+ customId: !!t,
152
+ tags: o ?? []
153
+ };
154
+ d.records.head = $, d.records.commits.set($.id, $), d.records.branches.set(d.records.currBranch, $.id), w.debug(d.records.branches), w.debug("in mergeBranch");
155
+ }, "merge"), _e = /* @__PURE__ */ h(function(e) {
156
+ let r = e.id, t = e.targetId, s = e.tags, o = e.parent;
157
+ w.debug("Entering cherryPick:", r, t, s);
158
+ const i = S();
159
+ if (r = B.sanitizeText(r, i), t = B.sanitizeText(t, i), s = s?.map((l) => B.sanitizeText(l, i)), o = B.sanitizeText(o, i), !r || !d.records.commits.has(r)) {
160
+ const l = new Error(
161
+ 'Incorrect usage of "cherryPick". Source commit id should exist and provided'
162
+ );
163
+ throw l.hash = {
164
+ text: `cherryPick ${r} ${t}`,
165
+ token: `cherryPick ${r} ${t}`,
166
+ expected: ["cherry-pick abc"]
167
+ }, l;
168
+ }
169
+ const n = d.records.commits.get(r);
170
+ if (n === void 0 || !n)
171
+ throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');
172
+ if (o && !(Array.isArray(n.parents) && n.parents.includes(o)))
173
+ throw new Error(
174
+ "Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit."
175
+ );
176
+ const a = n.branch;
177
+ if (n.type === m.MERGE && !o)
178
+ throw new Error(
179
+ "Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified."
180
+ );
181
+ if (!t || !d.records.commits.has(t)) {
182
+ if (a === d.records.currBranch) {
183
+ const $ = new Error(
184
+ 'Incorrect usage of "cherryPick". Source commit is already on current branch'
185
+ );
186
+ throw $.hash = {
187
+ text: `cherryPick ${r} ${t}`,
188
+ token: `cherryPick ${r} ${t}`,
189
+ expected: ["cherry-pick abc"]
190
+ }, $;
191
+ }
192
+ const l = d.records.branches.get(d.records.currBranch);
193
+ if (l === void 0 || !l) {
194
+ const $ = new Error(
195
+ `Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`
196
+ );
197
+ throw $.hash = {
198
+ text: `cherryPick ${r} ${t}`,
199
+ token: `cherryPick ${r} ${t}`,
200
+ expected: ["cherry-pick abc"]
201
+ }, $;
202
+ }
203
+ const f = d.records.commits.get(l);
204
+ if (f === void 0 || !f) {
205
+ const $ = new Error(
206
+ `Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`
207
+ );
208
+ throw $.hash = {
209
+ text: `cherryPick ${r} ${t}`,
210
+ token: `cherryPick ${r} ${t}`,
211
+ expected: ["cherry-pick abc"]
212
+ }, $;
213
+ }
214
+ const g = {
215
+ id: d.records.seq + "-" + Y(),
216
+ message: `cherry-picked ${n?.message} into ${d.records.currBranch}`,
217
+ seq: d.records.seq++,
218
+ parents: d.records.head == null ? [] : [d.records.head.id, n.id],
219
+ branch: d.records.currBranch,
220
+ type: m.CHERRY_PICK,
221
+ tags: s ? s.filter(Boolean) : [
222
+ `cherry-pick:${n.id}${n.type === m.MERGE ? `|parent:${o}` : ""}`
223
+ ]
224
+ };
225
+ d.records.head = g, d.records.commits.set(g.id, g), d.records.branches.set(d.records.currBranch, g.id), w.debug(d.records.branches), w.debug("in cherryPick");
226
+ }
227
+ }, "cherryPick"), ae = /* @__PURE__ */ h(function(e) {
228
+ if (e = B.sanitizeText(e, S()), d.records.branches.has(e)) {
229
+ d.records.currBranch = e;
230
+ const r = d.records.branches.get(d.records.currBranch);
231
+ r === void 0 || !r ? d.records.head = null : d.records.head = d.records.commits.get(r) ?? null;
232
+ } else {
233
+ const r = new Error(
234
+ `Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`
235
+ );
236
+ throw r.hash = {
237
+ text: `checkout ${e}`,
238
+ token: `checkout ${e}`,
239
+ expected: [`branch ${e}`]
240
+ }, r;
241
+ }
242
+ }, "checkout");
243
+ function V(e, r, t) {
244
+ const s = e.indexOf(r);
245
+ s === -1 ? e.push(t) : e.splice(s, 1, t);
246
+ }
247
+ h(V, "upsert");
248
+ function Q(e) {
249
+ const r = e.reduce((o, i) => o.seq > i.seq ? o : i, e[0]);
250
+ let t = "";
251
+ e.forEach(function(o) {
252
+ o === r ? t += " *" : t += " |";
253
+ });
254
+ const s = [t, r.id, r.seq];
255
+ for (const o in d.records.branches)
256
+ d.records.branches.get(o) === r.id && s.push(o);
257
+ if (w.debug(s.join(" ")), r.parents && r.parents.length == 2 && r.parents[0] && r.parents[1]) {
258
+ const o = d.records.commits.get(r.parents[0]);
259
+ V(e, r, o), r.parents[1] && e.push(d.records.commits.get(r.parents[1]));
260
+ } else {
261
+ if (r.parents.length == 0)
262
+ return;
263
+ if (r.parents[0]) {
264
+ const o = d.records.commits.get(r.parents[0]);
265
+ V(e, r, o);
266
+ }
267
+ }
268
+ e = te(e, (o) => o.id), Q(e);
269
+ }
270
+ h(Q, "prettyPrintCommitHistory");
271
+ var Ge = /* @__PURE__ */ h(function() {
272
+ w.debug(d.records.commits);
273
+ const e = ne()[0];
274
+ Q([e]);
275
+ }, "prettyPrint"), He = /* @__PURE__ */ h(function() {
276
+ d.reset(), we();
277
+ }, "clear"), Se = /* @__PURE__ */ h(function() {
278
+ return [...d.records.branchConfig.values()].map((r, t) => r.order !== null && r.order !== void 0 ? r : {
279
+ ...r,
280
+ order: parseFloat(`0.${t}`)
281
+ }).sort((r, t) => (r.order ?? 0) - (t.order ?? 0)).map(({ name: r }) => ({ name: r }));
282
+ }, "getBranchesAsObjArray"), Ae = /* @__PURE__ */ h(function() {
283
+ return d.records.branches;
284
+ }, "getBranches"), De = /* @__PURE__ */ h(function() {
285
+ return d.records.commits;
286
+ }, "getCommits"), ne = /* @__PURE__ */ h(function() {
287
+ const e = [...d.records.commits.values()];
288
+ return e.forEach(function(r) {
289
+ w.debug(r.id);
290
+ }), e.sort((r, t) => r.seq - t.seq), e;
291
+ }, "getCommitsArray"), qe = /* @__PURE__ */ h(function() {
292
+ return d.records.currBranch;
293
+ }, "getCurrentBranch"), Pe = /* @__PURE__ */ h(function() {
294
+ return d.records.direction;
295
+ }, "getDirection"), We = /* @__PURE__ */ h(function() {
296
+ return d.records.head;
297
+ }, "getHead"), se = {
298
+ commitType: m,
299
+ getConfig: S,
300
+ setDirection: Te,
301
+ setOptions: Le,
302
+ getOptions: Me,
303
+ commit: Ie,
304
+ branch: Re,
305
+ merge: Oe,
306
+ cherryPick: _e,
307
+ checkout: ae,
308
+ //reset,
309
+ prettyPrint: Ge,
310
+ clear: He,
311
+ getBranchesAsObjArray: Se,
312
+ getBranches: Ae,
313
+ getCommits: De,
314
+ getCommitsArray: ne,
315
+ getCurrentBranch: qe,
316
+ getDirection: Pe,
317
+ getHead: We,
318
+ setAccTitle: xe,
319
+ getAccTitle: ye,
320
+ getAccDescription: ue,
321
+ setAccDescription: ge,
322
+ setDiagramTitle: fe,
323
+ getDiagramTitle: $e
324
+ }, Ne = /* @__PURE__ */ h((e, r) => {
325
+ le(e, r), e.dir && r.setDirection(e.dir);
326
+ for (const t of e.statements)
327
+ Fe(t, r);
328
+ }, "populate"), Fe = /* @__PURE__ */ h((e, r) => {
329
+ const s = {
330
+ Commit: /* @__PURE__ */ h((o) => r.commit(ze(o)), "Commit"),
331
+ Branch: /* @__PURE__ */ h((o) => r.branch(Ye(o)), "Branch"),
332
+ Merge: /* @__PURE__ */ h((o) => r.merge(je(o)), "Merge"),
333
+ Checkout: /* @__PURE__ */ h((o) => r.checkout(Ke(o)), "Checkout"),
334
+ CherryPicking: /* @__PURE__ */ h((o) => r.cherryPick(Ue(o)), "CherryPicking")
335
+ }[e.$type];
336
+ s ? s(e) : w.error(`Unknown statement type: ${e.$type}`);
337
+ }, "parseStatement"), ze = /* @__PURE__ */ h((e) => ({
338
+ id: e.id,
339
+ msg: e.message ?? "",
340
+ type: e.type !== void 0 ? m[e.type] : m.NORMAL,
341
+ tags: e.tags ?? void 0
342
+ }), "parseCommit"), Ye = /* @__PURE__ */ h((e) => ({
343
+ name: e.name,
344
+ order: e.order ?? 0
345
+ }), "parseBranch"), je = /* @__PURE__ */ h((e) => ({
346
+ branch: e.branch,
347
+ id: e.id ?? "",
348
+ type: e.type !== void 0 ? m[e.type] : void 0,
349
+ tags: e.tags ?? void 0
350
+ }), "parseMerge"), Ke = /* @__PURE__ */ h((e) => e.branch, "parseCheckout"), Ue = /* @__PURE__ */ h((e) => ({
351
+ id: e.id,
352
+ targetId: "",
353
+ tags: e.tags?.length === 0 ? void 0 : e.tags,
354
+ parent: e.parent
355
+ }), "parseCherryPicking"), Ve = {
356
+ parse: /* @__PURE__ */ h(async (e) => {
357
+ const r = await Ee("gitGraph", e);
358
+ w.debug(r), Ne(r, se);
359
+ }, "parse")
360
+ }, O = 10, _ = 40, L = 4, I = 2, G = 8, j = /* @__PURE__ */ new Set(["redux", "redux-dark", "redux-color", "redux-dark-color"]), X = 12, Z = /* @__PURE__ */ new Set(["redux-color", "redux-dark-color"]), Xe = /* @__PURE__ */ new Set(["dark", "redux-dark", "redux-dark-color", "neo-dark"]), H = /* @__PURE__ */ h((e, r, t = !1) => t && e > 0 ? (e - 1) % (r - 1) + 1 : e % r, "calcColorIndex"), C = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), F = 30, q = /* @__PURE__ */ new Map(), z = [], R = 0, y = "LR", Je = /* @__PURE__ */ h(() => {
361
+ C.clear(), E.clear(), q.clear(), R = 0, z = [], y = "LR";
362
+ }, "clear"), oe = /* @__PURE__ */ h((e) => {
363
+ const r = document.createElementNS("http://www.w3.org/2000/svg", "text");
364
+ return (typeof e == "string" ? e.split(/\\n|\n|<br\s*\/?>/gi) : e).forEach((s) => {
365
+ const o = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
366
+ o.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:space", "preserve"), o.setAttribute("dy", "1em"), o.setAttribute("x", "0"), o.setAttribute("class", "row"), o.textContent = s.trim(), r.appendChild(o);
367
+ }), r;
368
+ }, "drawText"), ce = /* @__PURE__ */ h((e) => {
369
+ let r, t, s;
370
+ return y === "BT" ? (t = /* @__PURE__ */ h((o, i) => o <= i, "comparisonFunc"), s = 1 / 0) : (t = /* @__PURE__ */ h((o, i) => o >= i, "comparisonFunc"), s = 0), e.forEach((o) => {
371
+ const i = y === "TB" || y == "BT" ? E.get(o)?.y : E.get(o)?.x;
372
+ i !== void 0 && t(i, s) && (r = o, s = i);
373
+ }), r;
374
+ }, "findClosestParent"), Qe = /* @__PURE__ */ h((e) => {
375
+ let r = "", t = 1 / 0;
376
+ return e.forEach((s) => {
377
+ const o = E.get(s).y;
378
+ o <= t && (r = s, t = o);
379
+ }), r || void 0;
380
+ }, "findClosestParentBT"), Ze = /* @__PURE__ */ h((e, r, t) => {
381
+ let s = t, o = t;
382
+ const i = [];
383
+ e.forEach((n) => {
384
+ const a = r.get(n);
385
+ if (!a)
386
+ throw new Error(`Commit not found for key ${n}`);
387
+ a.parents.length ? (s = rr(a), o = Math.max(s, o)) : i.push(a), tr(a, s);
388
+ }), s = o, i.forEach((n) => {
389
+ ar(n, s, t);
390
+ }), e.forEach((n) => {
391
+ const a = r.get(n);
392
+ if (a?.parents.length) {
393
+ const l = Qe(a.parents);
394
+ s = E.get(l).y - _, s <= o && (o = s);
395
+ const f = C.get(a.branch).pos, g = s - O;
396
+ E.set(a.id, { x: f, y: g });
397
+ }
398
+ });
399
+ }, "setParallelBTPos"), er = /* @__PURE__ */ h((e) => {
400
+ const r = ce(e.parents.filter((s) => s !== null));
401
+ if (!r)
402
+ throw new Error(`Closest parent not found for commit ${e.id}`);
403
+ const t = E.get(r)?.y;
404
+ if (t === void 0)
405
+ throw new Error(`Closest parent position not found for commit ${e.id}`);
406
+ return t;
407
+ }, "findClosestParentPos"), rr = /* @__PURE__ */ h((e) => er(e) + _, "calculateCommitPosition"), tr = /* @__PURE__ */ h((e, r) => {
408
+ const t = C.get(e.branch);
409
+ if (!t)
410
+ throw new Error(`Branch not found for commit ${e.id}`);
411
+ const s = t.pos, o = r + O;
412
+ return E.set(e.id, { x: s, y: o }), { x: s, y: o };
413
+ }, "setCommitPosition"), ar = /* @__PURE__ */ h((e, r, t) => {
414
+ const s = C.get(e.branch);
415
+ if (!s)
416
+ throw new Error(`Branch not found for commit ${e.id}`);
417
+ const o = r + t, i = s.pos;
418
+ E.set(e.id, { x: i, y: o });
419
+ }, "setRootPosition"), nr = /* @__PURE__ */ h((e, r, t, s, o, i) => {
420
+ const { theme: n } = W(), a = j.has(n ?? ""), l = Z.has(n ?? ""), f = Xe.has(n ?? "");
421
+ if (i === m.HIGHLIGHT)
422
+ e.append("rect").attr("x", t.x - 10 + (a ? 3 : 0)).attr("y", t.y - 10 + (a ? 3 : 0)).attr("width", a ? 14 : 20).attr("height", a ? 14 : 20).attr(
423
+ "class",
424
+ `commit ${r.id} commit-highlight${H(o, G, l)} ${s}-outer`
425
+ ), e.append("rect").attr("x", t.x - 6 + (a ? 2 : 0)).attr("y", t.y - 6 + (a ? 2 : 0)).attr("width", a ? 8 : 12).attr("height", a ? 8 : 12).attr(
426
+ "class",
427
+ `commit ${r.id} commit${H(o, G, l)} ${s}-inner`
428
+ );
429
+ else if (i === m.CHERRY_PICK)
430
+ e.append("circle").attr("cx", t.x).attr("cy", t.y).attr("r", a ? 7 : 10).attr("class", `commit ${r.id} ${s}`), e.append("circle").attr("cx", t.x - 3).attr("cy", t.y + 2).attr("r", a ? 2.5 : 2.75).attr("fill", f ? "#000000" : "#fff").attr("class", `commit ${r.id} ${s}`), e.append("circle").attr("cx", t.x + 3).attr("cy", t.y + 2).attr("r", a ? 2.5 : 2.75).attr("fill", f ? "#000000" : "#fff").attr("class", `commit ${r.id} ${s}`), e.append("line").attr("x1", t.x + 3).attr("y1", t.y + 1).attr("x2", t.x).attr("y2", t.y - 5).attr("stroke", f ? "#000000" : "#fff").attr("class", `commit ${r.id} ${s}`), e.append("line").attr("x1", t.x - 3).attr("y1", t.y + 1).attr("x2", t.x).attr("y2", t.y - 5).attr("stroke", f ? "#000000" : "#fff").attr("class", `commit ${r.id} ${s}`);
431
+ else {
432
+ const g = e.append("circle");
433
+ if (g.attr("cx", t.x), g.attr("cy", t.y), g.attr("r", a ? 7 : 10), g.attr(
434
+ "class",
435
+ `commit ${r.id} commit${H(o, G, l)}`
436
+ ), i === m.MERGE) {
437
+ const $ = e.append("circle");
438
+ $.attr("cx", t.x), $.attr("cy", t.y), $.attr("r", a ? 5 : 6), $.attr(
439
+ "class",
440
+ `commit ${s} ${r.id} commit${H(o, G, l)}`
441
+ );
442
+ }
443
+ if (i === m.REVERSE) {
444
+ const $ = e.append("path"), c = a ? 4 : 5;
445
+ $.attr(
446
+ "d",
447
+ `M ${t.x - c},${t.y - c}L${t.x + c},${t.y + c}M${t.x - c},${t.y + c}L${t.x + c},${t.y - c}`
448
+ ).attr(
449
+ "class",
450
+ `commit ${s} ${r.id} commit${H(o, G, l)}`
451
+ );
452
+ }
453
+ }
454
+ }, "drawCommitBullet"), sr = /* @__PURE__ */ h((e, r, t, s, o) => {
455
+ if (r.type !== m.CHERRY_PICK && (r.customId && r.type === m.MERGE || r.type !== m.MERGE) && o.showCommitLabel) {
456
+ const i = e.append("g"), n = i.insert("rect").attr("class", "commit-label-bkg"), a = i.append("text").attr("x", s).attr("y", t.y + 25).attr("class", "commit-label").text(r.id), l = a.node()?.getBBox();
457
+ if (l && (n.attr("x", t.posWithOffset - l.width / 2 - I).attr("y", t.y + 13.5).attr("width", l.width + 2 * I).attr("height", l.height + 2 * I), y === "TB" || y === "BT" ? (n.attr("x", t.x - (l.width + 4 * L + 5)).attr("y", t.y - 12), a.attr("x", t.x - (l.width + 4 * L)).attr("y", t.y + l.height - 12)) : a.attr("x", t.posWithOffset - l.width / 2), o.rotateCommitLabel))
458
+ if (y === "TB" || y === "BT")
459
+ a.attr(
460
+ "transform",
461
+ "rotate(-45, " + t.x + ", " + t.y + ")"
462
+ ), n.attr(
463
+ "transform",
464
+ "rotate(-45, " + t.x + ", " + t.y + ")"
465
+ );
466
+ else {
467
+ const f = -7.5 - (l.width + 10) / 25 * 9.5, g = 10 + l.width / 25 * 8.5;
468
+ i.attr(
469
+ "transform",
470
+ "translate(" + f + ", " + g + ") rotate(-45, " + s + ", " + t.y + ")"
471
+ );
472
+ }
473
+ }
474
+ }, "drawCommitLabel"), or = /* @__PURE__ */ h((e, r, t, s) => {
475
+ if (r.tags.length > 0) {
476
+ let o = 0, i = 0, n = 0;
477
+ const a = [];
478
+ for (const l of r.tags.reverse()) {
479
+ const f = e.insert("polygon"), g = e.append("circle"), $ = e.append("text").attr("y", t.y - 16 - o).attr("class", "tag-label").text(l), c = $.node()?.getBBox();
480
+ if (!c)
481
+ throw new Error("Tag bbox not found");
482
+ i = Math.max(i, c.width), n = Math.max(n, c.height), $.attr("x", t.posWithOffset - c.width / 2), a.push({
483
+ tag: $,
484
+ hole: g,
485
+ rect: f,
486
+ yOffset: o
487
+ }), o += 20;
488
+ }
489
+ for (const { tag: l, hole: f, rect: g, yOffset: $ } of a) {
490
+ const c = n / 2, x = t.y - 19.2 - $;
491
+ if (g.attr("class", "tag-label-bkg").attr(
492
+ "points",
493
+ `
494
+ ${s - i / 2 - L / 2},${x + I}
495
+ ${s - i / 2 - L / 2},${x - I}
496
+ ${t.posWithOffset - i / 2 - L},${x - c - I}
497
+ ${t.posWithOffset + i / 2 + L},${x - c - I}
498
+ ${t.posWithOffset + i / 2 + L},${x + c + I}
499
+ ${t.posWithOffset - i / 2 - L},${x + c + I}`
500
+ ), f.attr("cy", x).attr("cx", s - i / 2 + L / 2).attr("r", 1.5).attr("class", "tag-hole"), y === "TB" || y === "BT") {
501
+ const u = s + $;
502
+ g.attr("class", "tag-label-bkg").attr(
503
+ "points",
504
+ `
505
+ ${t.x},${u + 2}
506
+ ${t.x},${u - 2}
507
+ ${t.x + O},${u - c - 2}
508
+ ${t.x + O + i + 4},${u - c - 2}
509
+ ${t.x + O + i + 4},${u + c + 2}
510
+ ${t.x + O},${u + c + 2}`
511
+ ).attr("transform", "translate(12,12) rotate(45, " + t.x + "," + s + ")"), f.attr("cx", t.x + L / 2).attr("cy", u).attr("transform", "translate(12,12) rotate(45, " + t.x + "," + s + ")"), l.attr("x", t.x + 5).attr("y", u + 3).attr("transform", "translate(14,14) rotate(45, " + t.x + "," + s + ")");
512
+ }
513
+ }
514
+ }
515
+ }, "drawCommitTags"), cr = /* @__PURE__ */ h((e) => {
516
+ switch (e.customType ?? e.type) {
517
+ case m.NORMAL:
518
+ return "commit-normal";
519
+ case m.REVERSE:
520
+ return "commit-reverse";
521
+ case m.HIGHLIGHT:
522
+ return "commit-highlight";
523
+ case m.MERGE:
524
+ return "commit-merge";
525
+ case m.CHERRY_PICK:
526
+ return "commit-cherry-pick";
527
+ default:
528
+ return "commit-normal";
529
+ }
530
+ }, "getCommitClassType"), ir = /* @__PURE__ */ h((e, r, t, s) => {
531
+ const o = { x: 0, y: 0 };
532
+ if (e.parents.length > 0) {
533
+ const i = ce(e.parents);
534
+ if (i) {
535
+ const n = s.get(i) ?? o;
536
+ return r === "TB" ? n.y + _ : r === "BT" ? (s.get(e.id) ?? o).y - _ : n.x + _;
537
+ }
538
+ } else
539
+ return r === "TB" ? F : r === "BT" ? (s.get(e.id) ?? o).y - _ : 0;
540
+ return 0;
541
+ }, "calculatePosition"), dr = /* @__PURE__ */ h((e, r, t) => {
542
+ const s = y === "BT" && t ? r : r + O, o = C.get(e.branch)?.pos, i = y === "TB" || y === "BT" ? C.get(e.branch)?.pos : s;
543
+ if (i === void 0 || o === void 0)
544
+ throw new Error(`Position were undefined for commit ${e.id}`);
545
+ const n = j.has(W().theme ?? ""), a = y === "TB" || y === "BT" ? s : o + (n ? X / 2 + 1 : -2);
546
+ return { x: i, y: a, posWithOffset: s };
547
+ }, "getCommitPosition"), re = /* @__PURE__ */ h((e, r, t, s) => {
548
+ const o = e.append("g").attr("class", "commit-bullets"), i = e.append("g").attr("class", "commit-labels");
549
+ let n = y === "TB" || y === "BT" ? F : 0;
550
+ const a = [...r.keys()], l = s.parallelCommits ?? !1, f = /* @__PURE__ */ h(($, c) => {
551
+ const x = r.get($)?.seq, u = r.get(c)?.seq;
552
+ return x !== void 0 && u !== void 0 ? x - u : 0;
553
+ }, "sortKeys");
554
+ let g = a.sort(f);
555
+ y === "BT" && (l && Ze(g, r, n), g = g.reverse()), g.forEach(($) => {
556
+ const c = r.get($);
557
+ if (!c)
558
+ throw new Error(`Commit not found for key ${$}`);
559
+ l && (n = ir(c, y, n, E));
560
+ const x = dr(c, n, l);
561
+ if (t) {
562
+ const u = cr(c), p = c.customType ?? c.type, b = C.get(c.branch)?.index ?? 0;
563
+ nr(o, c, x, u, b, p), sr(i, c, x, n, s), or(i, c, x, n);
564
+ }
565
+ y === "TB" || y === "BT" ? E.set(c.id, { x: x.x, y: x.posWithOffset }) : E.set(c.id, { x: x.posWithOffset, y: x.y }), n = y === "BT" && l ? n + _ : n + _ + O, n > R && (R = n);
566
+ });
567
+ }, "drawCommits"), lr = /* @__PURE__ */ h((e, r, t, s, o) => {
568
+ const n = (y === "TB" || y === "BT" ? t.x < s.x : t.y < s.y) ? r.branch : e.branch, a = /* @__PURE__ */ h((f) => f.branch === n, "isOnBranchToGetCurve"), l = /* @__PURE__ */ h((f) => f.seq > e.seq && f.seq < r.seq, "isBetweenCommits");
569
+ return [...o.values()].some((f) => l(f) && a(f));
570
+ }, "shouldRerouteArrow"), P = /* @__PURE__ */ h((e, r, t = 0) => {
571
+ const s = e + Math.abs(e - r) / 2;
572
+ if (t > 5)
573
+ return s;
574
+ if (z.every((n) => Math.abs(n - s) >= 10))
575
+ return z.push(s), s;
576
+ const i = Math.abs(e - r);
577
+ return P(e, r - i / 5, t + 1);
578
+ }, "findLane"), hr = /* @__PURE__ */ h((e, r, t, s) => {
579
+ const { theme: o } = W(), i = Z.has(o ?? ""), n = E.get(r.id), a = E.get(t.id);
580
+ if (n === void 0 || a === void 0)
581
+ throw new Error(`Commit positions not found for commits ${r.id} and ${t.id}`);
582
+ const l = lr(r, t, n, a, s);
583
+ let f = "", g = "", $ = 0, c = 0, x = C.get(t.branch)?.index;
584
+ t.type === m.MERGE && r.id !== t.parents[0] && (x = C.get(r.branch)?.index);
585
+ let u;
586
+ if (l) {
587
+ f = "A 10 10, 0, 0, 0,", g = "A 10 10, 0, 0, 1,", $ = 10, c = 10;
588
+ const p = n.y < a.y ? P(n.y, a.y) : P(a.y, n.y), b = n.x < a.x ? P(n.x, a.x) : P(a.x, n.x);
589
+ y === "TB" ? n.x < a.x ? u = `M ${n.x} ${n.y} L ${b - $} ${n.y} ${g} ${b} ${n.y + c} L ${b} ${a.y - $} ${f} ${b + c} ${a.y} L ${a.x} ${a.y}` : (x = C.get(r.branch)?.index, u = `M ${n.x} ${n.y} L ${b + $} ${n.y} ${f} ${b} ${n.y + c} L ${b} ${a.y - $} ${g} ${b - c} ${a.y} L ${a.x} ${a.y}`) : y === "BT" ? n.x < a.x ? u = `M ${n.x} ${n.y} L ${b - $} ${n.y} ${f} ${b} ${n.y - c} L ${b} ${a.y + $} ${g} ${b + c} ${a.y} L ${a.x} ${a.y}` : (x = C.get(r.branch)?.index, u = `M ${n.x} ${n.y} L ${b + $} ${n.y} ${g} ${b} ${n.y - c} L ${b} ${a.y + $} ${f} ${b - c} ${a.y} L ${a.x} ${a.y}`) : n.y < a.y ? u = `M ${n.x} ${n.y} L ${n.x} ${p - $} ${f} ${n.x + c} ${p} L ${a.x - $} ${p} ${g} ${a.x} ${p + c} L ${a.x} ${a.y}` : (x = C.get(r.branch)?.index, u = `M ${n.x} ${n.y} L ${n.x} ${p + $} ${g} ${n.x + c} ${p} L ${a.x - $} ${p} ${f} ${a.x} ${p - c} L ${a.x} ${a.y}`);
590
+ } else
591
+ f = "A 20 20, 0, 0, 0,", g = "A 20 20, 0, 0, 1,", $ = 20, c = 20, y === "TB" ? (n.x < a.x && (t.type === m.MERGE && r.id !== t.parents[0] ? u = `M ${n.x} ${n.y} L ${n.x} ${a.y - $} ${f} ${n.x + c} ${a.y} L ${a.x} ${a.y}` : u = `M ${n.x} ${n.y} L ${a.x - $} ${n.y} ${g} ${a.x} ${n.y + c} L ${a.x} ${a.y}`), n.x > a.x && (f = "A 20 20, 0, 0, 0,", g = "A 20 20, 0, 0, 1,", $ = 20, c = 20, t.type === m.MERGE && r.id !== t.parents[0] ? u = `M ${n.x} ${n.y} L ${n.x} ${a.y - $} ${g} ${n.x - c} ${a.y} L ${a.x} ${a.y}` : u = `M ${n.x} ${n.y} L ${a.x + $} ${n.y} ${f} ${a.x} ${n.y + c} L ${a.x} ${a.y}`), n.x === a.x && (u = `M ${n.x} ${n.y} L ${a.x} ${a.y}`)) : y === "BT" ? (n.x < a.x && (t.type === m.MERGE && r.id !== t.parents[0] ? u = `M ${n.x} ${n.y} L ${n.x} ${a.y + $} ${g} ${n.x + c} ${a.y} L ${a.x} ${a.y}` : u = `M ${n.x} ${n.y} L ${a.x - $} ${n.y} ${f} ${a.x} ${n.y - c} L ${a.x} ${a.y}`), n.x > a.x && (f = "A 20 20, 0, 0, 0,", g = "A 20 20, 0, 0, 1,", $ = 20, c = 20, t.type === m.MERGE && r.id !== t.parents[0] ? u = `M ${n.x} ${n.y} L ${n.x} ${a.y + $} ${f} ${n.x - c} ${a.y} L ${a.x} ${a.y}` : u = `M ${n.x} ${n.y} L ${a.x + $} ${n.y} ${g} ${a.x} ${n.y - c} L ${a.x} ${a.y}`), n.x === a.x && (u = `M ${n.x} ${n.y} L ${a.x} ${a.y}`)) : (n.y < a.y && (t.type === m.MERGE && r.id !== t.parents[0] ? u = `M ${n.x} ${n.y} L ${a.x - $} ${n.y} ${g} ${a.x} ${n.y + c} L ${a.x} ${a.y}` : u = `M ${n.x} ${n.y} L ${n.x} ${a.y - $} ${f} ${n.x + c} ${a.y} L ${a.x} ${a.y}`), n.y > a.y && (t.type === m.MERGE && r.id !== t.parents[0] ? u = `M ${n.x} ${n.y} L ${a.x - $} ${n.y} ${f} ${a.x} ${n.y - c} L ${a.x} ${a.y}` : u = `M ${n.x} ${n.y} L ${n.x} ${a.y + $} ${g} ${n.x + c} ${a.y} L ${a.x} ${a.y}`), n.y === a.y && (u = `M ${n.x} ${n.y} L ${a.x} ${a.y}`));
592
+ if (u === void 0)
593
+ throw new Error("Line definition not found");
594
+ e.append("path").attr("d", u).attr(
595
+ "class",
596
+ "arrow arrow" + H(x, G, i)
597
+ );
598
+ }, "drawArrow"), $r = /* @__PURE__ */ h((e, r) => {
599
+ const t = e.append("g").attr("class", "commit-arrows");
600
+ [...r.keys()].forEach((s) => {
601
+ const o = r.get(s);
602
+ o.parents && o.parents.length > 0 && o.parents.forEach((i) => {
603
+ hr(t, r.get(i), o, r);
604
+ });
605
+ });
606
+ }, "drawArrows"), fr = /* @__PURE__ */ h((e, r, t, s) => {
607
+ const { look: o, theme: i, themeVariables: n } = W(), { dropShadow: a, THEME_COLOR_LIMIT: l } = n, f = j.has(i ?? ""), g = Z.has(i ?? ""), $ = e.append("g");
608
+ r.forEach((c, x) => {
609
+ const u = H(
610
+ x,
611
+ f ? l : G,
612
+ g
613
+ ), p = C.get(c.name)?.pos;
614
+ if (p === void 0)
615
+ throw new Error(`Position not found for branch ${c.name}`);
616
+ const b = y === "TB" || y === "BT" ? p : f ? p + X / 2 + 1 : p - 2, k = $.append("line");
617
+ k.attr("x1", 0), k.attr("y1", b), k.attr("x2", R), k.attr("y2", b), k.attr("class", "branch branch" + u), y === "TB" ? (k.attr("y1", F), k.attr("x1", p), k.attr("y2", R), k.attr("x2", p)) : y === "BT" && (k.attr("y1", R), k.attr("x1", p), k.attr("y2", F), k.attr("x2", p)), z.push(b);
618
+ const K = c.name, D = oe(K), T = $.insert("rect"), M = $.insert("g").attr("class", "branchLabel").insert("g").attr("class", "label branch-label" + u);
619
+ M.node().appendChild(D);
620
+ const v = D.getBBox(), ee = f ? 0 : 4, N = f ? 16 : 0, A = f ? X : 0;
621
+ o === "neo" && T.attr("data-look", "neo"), T.attr("class", "branchLabelBkg label" + u).attr(
622
+ "style",
623
+ o === "neo" ? `filter:${f ? `url(#${s}-drop-shadow)` : a}` : ""
624
+ ).attr("rx", ee).attr("ry", ee).attr("x", -v.width - 4 - (t.rotateCommitLabel === !0 ? 30 : 0)).attr("y", -v.height / 2 + 10).attr("width", v.width + 18 + N).attr("height", v.height + 4 + A), M.attr(
625
+ "transform",
626
+ "translate(" + (-v.width - 14 - (t.rotateCommitLabel === !0 ? 30 : 0) + N / 2) + ", " + (b - v.height / 2 - 2) + ")"
627
+ ), y === "TB" ? (T.attr("x", p - v.width / 2 - 10).attr("y", 0), M.attr("transform", "translate(" + (p - v.width / 2 - 5) + ", 0)"), f && (T.attr("transform", `translate(${-N / 2 - 3}, ${-A - 10})`), M.attr(
628
+ "transform",
629
+ "translate(" + (p - v.width / 2 - 5) + ", " + (-A * 2 + 7) + ")"
630
+ ))) : y === "BT" ? (T.attr("x", p - v.width / 2 - 10).attr("y", R), M.attr("transform", "translate(" + (p - v.width / 2 - 5) + ", " + R + ")"), f && (T.attr("transform", `translate(${-N / 2 - 3}, ${A + 10})`), M.attr(
631
+ "transform",
632
+ "translate(" + (p - v.width / 2 - 5) + ", " + (R + A * 2 + 4) + ")"
633
+ ))) : T.attr("transform", "translate(-19, " + (b - 12 - A / 2) + ")");
634
+ });
635
+ }, "drawBranches"), gr = /* @__PURE__ */ h(function(e, r, t, s, o) {
636
+ return C.set(e, { pos: r, index: t }), r += 50 + (o ? 40 : 0) + (y === "TB" || y === "BT" ? s.width / 2 : 0), r;
637
+ }, "setBranchPosition"), ur = /* @__PURE__ */ h(function(e, r, t, s) {
638
+ Je(), w.debug("in gitgraph renderer", e + `
639
+ `, "id:", r, t);
640
+ const o = s.db;
641
+ if (!o.getConfig) {
642
+ w.error("getConfig method is not available on db");
643
+ return;
644
+ }
645
+ const i = o.getConfig(), n = i.rotateCommitLabel ?? !1;
646
+ q = o.getCommits();
647
+ const a = o.getBranchesAsObjArray();
648
+ y = o.getDirection();
649
+ const l = me(`[id="${r}"]`), { look: f, theme: g, themeVariables: $ } = W(), { useGradient: c, gradientStart: x, gradientStop: u, filterColor: p } = $;
650
+ if (c) {
651
+ const k = l.append("defs").append("linearGradient").attr("id", r + "-gradient").attr("gradientUnits", "objectBoundingBox").attr("x1", "0%").attr("y1", "0%").attr("x2", "100%").attr("y2", "0%");
652
+ k.append("stop").attr("offset", "0%").attr("stop-color", x).attr("stop-opacity", 1), k.append("stop").attr("offset", "100%").attr("stop-color", u).attr("stop-opacity", 1);
653
+ }
654
+ f === "neo" && j.has(g ?? "") && l.append("defs").append("filter").attr("id", r + "-drop-shadow").attr("height", "130%").attr("width", "130%").append("feDropShadow").attr("dx", "4").attr("dy", "4").attr("stdDeviation", 0).attr("flood-opacity", "0.06").attr("flood-color", p);
655
+ let b = 0;
656
+ a.forEach((k, K) => {
657
+ const D = oe(k.name), T = l.append("g"), U = T.insert("g").attr("class", "branchLabel"), M = U.insert("g").attr("class", "label branch-label");
658
+ M.node()?.appendChild(D);
659
+ const v = D.getBBox();
660
+ b = gr(k.name, b, K, v, n), M.remove(), U.remove(), T.remove();
661
+ }), re(l, q, !1, i), i.showBranches && fr(l, a, i, r), $r(l, q), re(l, q, !0, i), pe.insertTitle(
662
+ l,
663
+ "gitTitleText",
664
+ i.titleTopMargin ?? 0,
665
+ o.getDiagramTitle()
666
+ ), be(void 0, l, i.diagramPadding, i.useMaxWidth);
667
+ }, "draw"), yr = {
668
+ draw: ur
669
+ }, ie = 8, de = /* @__PURE__ */ new Set(["redux", "redux-dark", "redux-color", "redux-dark-color"]), xr = /* @__PURE__ */ new Set(["redux-color", "redux-dark-color"]), mr = /* @__PURE__ */ new Set(["neo", "neo-dark"]), pr = /* @__PURE__ */ new Set(["dark", "redux-dark", "redux-dark-color", "neo-dark"]), br = /* @__PURE__ */ new Set([
670
+ "redux",
671
+ "redux-dark",
672
+ "redux-color",
673
+ "redux-dark-color",
674
+ "neo",
675
+ "neo-dark"
676
+ ]), wr = /* @__PURE__ */ h((e) => {
677
+ const { svgId: r } = e;
678
+ let t = "";
679
+ if (e.useGradient && r)
680
+ for (let s = 0; s < e.THEME_COLOR_LIMIT; s++)
681
+ t += `
682
+ .label${s} { fill: ${e.mainBkg}; stroke: url(${r}-gradient); stroke-width: ${e.strokeWidth};}
683
+ `;
684
+ return t;
685
+ }, "genGitGraphGradient"), kr = /* @__PURE__ */ h((e) => {
686
+ const r = J(), { theme: t, themeVariables: s } = r, { borderColorArray: o } = s, i = de.has(t);
687
+ if (mr.has(t)) {
688
+ let n = "";
689
+ for (let a = 0; a < e.THEME_COLOR_LIMIT; a++)
690
+ if (a === 0)
691
+ n += `
692
+ .branch-label${a} { fill: ${e.nodeBorder};}
693
+ .commit${a} { stroke: ${e.nodeBorder}; }
694
+ .commit-highlight${a} { stroke: ${e.nodeBorder}; fill: ${e.nodeBorder}; }
695
+ .arrow${a} { stroke: ${e.nodeBorder}; }
696
+ .commit-bullets { fill: ${e.nodeBorder}; }
697
+ .commit-cherry-pick${a} { stroke: ${e.nodeBorder}; }
698
+ ${wr(e)}`;
699
+ else {
700
+ const l = a % ie;
701
+ n += `
702
+ .branch-label${a} { fill: ${e["gitBranchLabel" + l]}; }
703
+ .commit${a} { stroke: ${e["git" + l]}; fill: ${e["git" + l]}; }
704
+ .commit-highlight${a} { stroke: ${e["gitInv" + l]}; fill: ${e["gitInv" + l]}; }
705
+ .arrow${a} { stroke: ${e["git" + l]}; }
706
+ `;
707
+ }
708
+ return n;
709
+ } else if (xr.has(t)) {
710
+ let n = "";
711
+ for (let a = 0; a < e.THEME_COLOR_LIMIT; a++)
712
+ if (a === 0)
713
+ n += `
714
+ .branch-label${a} { fill: ${e.nodeBorder}; ${i ? `font-weight:${e.noteFontWeight}` : ""} }
715
+ .commit${a} { stroke: ${e.nodeBorder}; }
716
+ .commit-highlight${a} { stroke: ${e.nodeBorder}; fill: ${e.mainBkg}; }
717
+ .label${a} { fill: ${e.mainBkg}; stroke: ${e.nodeBorder}; stroke-width: ${e.strokeWidth}; ${i ? `font-weight:${e.noteFontWeight}` : ""} }
718
+ .arrow${a} { stroke: ${e.nodeBorder}; }
719
+ .commit-bullets { fill: ${e.nodeBorder}; }
720
+ `;
721
+ else {
722
+ const l = a % o.length;
723
+ n += `
724
+ .branch-label${a} { fill: ${e.nodeBorder}; ${i ? `font-weight:${e.noteFontWeight}` : ""} }
725
+ .commit${a} { stroke: ${o[l]}; fill: ${o[l]}; }
726
+ .commit-highlight${a} { stroke: ${o[l]}; fill: ${o[l]}; }
727
+ .label${a} { fill: ${pr.has(t) ? e.mainBkg : o[l]}; stroke: ${o[l]}; stroke-width: ${e.strokeWidth}; }
728
+ .arrow${a} { stroke: ${o[l]}; }
729
+ `;
730
+ }
731
+ return n;
732
+ } else {
733
+ let n = "";
734
+ for (let a = 0; a < e.THEME_COLOR_LIMIT; a++)
735
+ n += `
736
+ .branch-label${a} { fill: ${e.nodeBorder}; ${i ? `font-weight:${e.noteFontWeight}` : ""} }
737
+ .commit${a} { stroke: ${e.nodeBorder}; }
738
+ .commit-highlight${a} { stroke: ${e.nodeBorder}; fill: ${e.nodeBorder}; }
739
+ .label${a} { fill: ${e.mainBkg}; stroke: ${e.nodeBorder}; stroke-width: ${e.strokeWidth}; ${i ? `font-weight:${e.noteFontWeight}` : ""}}
740
+ .arrow${a} { stroke: ${e.nodeBorder}; }
741
+ .commit-bullets { fill: ${e.nodeBorder}; }
742
+ .commit-cherry-pick${a} { stroke: ${e.nodeBorder}; }
743
+ `;
744
+ return n;
745
+ }
746
+ }, "genColor"), vr = /* @__PURE__ */ h((e) => `${Array.from({ length: e.THEME_COLOR_LIMIT }, (r, t) => t).map((r) => {
747
+ const t = r % ie;
748
+ return `
749
+ .branch-label${r} { fill: ${e["gitBranchLabel" + t]}; }
750
+ .commit${r} { stroke: ${e["git" + t]}; fill: ${e["git" + t]}; }
751
+ .commit-highlight${r} { stroke: ${e["gitInv" + t]}; fill: ${e["gitInv" + t]}; }
752
+ .label${r} { fill: ${e["git" + t]}; }
753
+ .arrow${r} { stroke: ${e["git" + t]}; }
754
+ `;
755
+ }).join(`
756
+ `)}`, "normalTheme"), Cr = /* @__PURE__ */ h((e) => {
757
+ const r = J(), { theme: t } = r, s = br.has(t);
758
+ return `
759
+ .commit-id,
760
+ .commit-msg,
761
+ .branch-label {
762
+ fill: lightgrey;
763
+ color: lightgrey;
764
+ font-family: 'trebuchet ms', verdana, arial, sans-serif;
765
+ font-family: var(--mermaid-font-family);
766
+ }
767
+
768
+ ${s ? kr(e) : vr(e)}
769
+
770
+ .branch {
771
+ stroke-width: ${e.strokeWidth};
772
+ stroke: ${e.commitLineColor ?? e.lineColor};
773
+ stroke-dasharray: ${s ? "4 2" : "2"};
774
+ }
775
+ .commit-label { font-size: ${e.commitLabelFontSize}; fill: ${s ? e.nodeBorder : e.commitLabelColor}; ${s ? `font-weight:${e.noteFontWeight};` : ""}}
776
+ .commit-label-bkg { font-size: ${e.commitLabelFontSize}; fill: ${s ? "transparent" : e.commitLabelBackground}; opacity: ${s ? "" : 0.5}; }
777
+ .tag-label { font-size: ${e.tagLabelFontSize}; fill: ${e.tagLabelColor};}
778
+ .tag-label-bkg { fill: ${s ? e.mainBkg : e.tagLabelBackground}; stroke: ${s ? e.nodeBorder : e.tagLabelBorder}; ${s ? `filter:${e.dropShadow}` : ""} }
779
+ .tag-hole { fill: ${e.textColor}; }
780
+
781
+ .commit-merge {
782
+ stroke: ${s ? e.mainBkg : e.primaryColor};
783
+ fill: ${s ? e.mainBkg : e.primaryColor};
784
+ }
785
+ .commit-reverse {
786
+ stroke: ${s ? e.mainBkg : e.primaryColor};
787
+ fill: ${s ? e.mainBkg : e.primaryColor};
788
+ stroke-width: ${s ? e.strokeWidth : 3};
789
+ }
790
+ .commit-highlight-outer {
791
+ }
792
+ .commit-highlight-inner {
793
+ stroke: ${s ? e.mainBkg : e.primaryColor};
794
+ fill: ${s ? e.mainBkg : e.primaryColor};
795
+ }
796
+
797
+ .arrow {
798
+ /* Intentional: neo themes keep the bold 8px arrow (like classic themes); only redux-geometry themes use the thinner options.strokeWidth. */
799
+ stroke-width: ${de.has(t) ? e.strokeWidth : 8};
800
+ stroke-linecap: round;
801
+ fill: none
802
+ }
803
+ .gitTitleText {
804
+ text-anchor: middle;
805
+ font-size: 18px;
806
+ fill: ${e.textColor};
807
+ }
808
+ `;
809
+ }, "getStyles"), Er = Cr, Ir = {
810
+ parser: Ve,
811
+ db: se,
812
+ renderer: yr,
813
+ styles: Er
814
+ };
815
+ export {
816
+ Ir as diagram
817
+ };
818
+ //# sourceMappingURL=gitGraphDiagram-PVQCEYII-CKzbGWcQ.js.map