@vitalityip.ai/shopping-widget 0.3.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 (812) hide show
  1. package/dist/_baseUniq-BrPGIiMN.js +477 -0
  2. package/dist/_baseUniq-alF7zzjq.cjs +1 -0
  3. package/dist/abap-DV7Q1lGP.cjs +1 -0
  4. package/dist/abap-Y8Dl9g_6.js +6 -0
  5. package/dist/actionscript-3-9Yo35Ult.cjs +1 -0
  6. package/dist/actionscript-3-DQVEcJUW.js +6 -0
  7. package/dist/ada-D46EKCNf.cjs +1 -0
  8. package/dist/ada-vP6ak0IW.js +6 -0
  9. package/dist/andromeeda-BbmzSJq1.js +4 -0
  10. package/dist/andromeeda-Bp3qiXQw.cjs +1 -0
  11. package/dist/angular-html-DPB4Rf0C.js +32 -0
  12. package/dist/angular-html-KMf2QdtP.cjs +1 -0
  13. package/dist/angular-ts-BxIbo3R1.cjs +1 -0
  14. package/dist/angular-ts-CTOR2ofC.js +21 -0
  15. package/dist/apache-BUjz-sD2.js +6 -0
  16. package/dist/apache-DL1xuH1f.cjs +1 -0
  17. package/dist/apex-6AM9YZbQ.cjs +1 -0
  18. package/dist/apex-OyTfjCYK.js +6 -0
  19. package/dist/apl-CjNiDgad.js +16 -0
  20. package/dist/apl-Dj2G2M9w.cjs +1 -0
  21. package/dist/applescript-BPx7YFFu.js +6 -0
  22. package/dist/applescript-COilsSrZ.cjs +1 -0
  23. package/dist/ara-B6Lpq1YJ.cjs +1 -0
  24. package/dist/ara-Z2fSOxSw.js +6 -0
  25. package/dist/arc-BZXJFJLd.cjs +1 -0
  26. package/dist/arc-DfjXc4VE.js +83 -0
  27. package/dist/architecture-U656AL7Q-CLKcdwbB.cjs +1 -0
  28. package/dist/architecture-U656AL7Q-Cioq9PH8.js +5 -0
  29. package/dist/architectureDiagram-VXUJARFQ-BHZpdcOG.js +4666 -0
  30. package/dist/architectureDiagram-VXUJARFQ-BiiQyQpY.cjs +36 -0
  31. package/dist/asciidoc-B-pCoB3G.js +6 -0
  32. package/dist/asciidoc-DcKqW72n.cjs +1 -0
  33. package/dist/asm-BTWLY5ym.js +6 -0
  34. package/dist/asm-DYMFy-sD.cjs +1 -0
  35. package/dist/astro-CFFExE8Q.js +18 -0
  36. package/dist/astro-DAOP_Xq6.cjs +1 -0
  37. package/dist/aurora-x-BwoVEUWZ.js +4 -0
  38. package/dist/aurora-x-C5IpmIOG.cjs +1 -0
  39. package/dist/awk-Fb0P9dkn.js +6 -0
  40. package/dist/awk-IEszImW6.cjs +1 -0
  41. package/dist/ayu-dark-Dsjk_2Jx.js +4 -0
  42. package/dist/ayu-dark-JRymEmFM.cjs +1 -0
  43. package/dist/ayu-light-R7pgdmWq.js +4 -0
  44. package/dist/ayu-light-n1qYMatp.cjs +1 -0
  45. package/dist/ayu-mirage-BgyQhQW8.cjs +1 -0
  46. package/dist/ayu-mirage-DraY-SDX.js +4 -0
  47. package/dist/ballerina-Dr6dU4hP.cjs +1 -0
  48. package/dist/ballerina-oZK-YekG.js +6 -0
  49. package/dist/bat-0FvbqU9S.js +6 -0
  50. package/dist/bat-DGkUhhn2.cjs +1 -0
  51. package/dist/beancount-Bv1Sweoy.cjs +1 -0
  52. package/dist/beancount-DqJEb89h.js +6 -0
  53. package/dist/berry-DEMs4LK_.cjs +1 -0
  54. package/dist/berry-DODBq_Ff.js +6 -0
  55. package/dist/bibtex-BgA36Z3k.cjs +1 -0
  56. package/dist/bibtex-EULQRLY5.js +6 -0
  57. package/dist/bicep-BorU73w0.js +6 -0
  58. package/dist/bicep-DL0zb-7W.cjs +1 -0
  59. package/dist/blade-D0HyNvCw.js +20 -0
  60. package/dist/blade-DEjek0u9.cjs +1 -0
  61. package/dist/blockDiagram-VD42YOAC-C07xwq_v.js +2266 -0
  62. package/dist/blockDiagram-VD42YOAC-Xma2emt7.cjs +122 -0
  63. package/dist/bsl-9bVgFeM9.cjs +1 -0
  64. package/dist/bsl-NkNNwerW.js +8 -0
  65. package/dist/c-CtlmKnPF.cjs +1 -0
  66. package/dist/c-eeMepfLm.js +6 -0
  67. package/dist/c3-Bt581sCe.js +6 -0
  68. package/dist/c3-DtfRRWXN.cjs +1 -0
  69. package/dist/c4Diagram-YG6GDRKO-BWGNRAOH.cjs +10 -0
  70. package/dist/c4Diagram-YG6GDRKO-MVN2KErC.js +1582 -0
  71. package/dist/cadence-02UX7mW8.js +6 -0
  72. package/dist/cadence-DcbmM5v3.cjs +1 -0
  73. package/dist/cairo-DM6WF2e3.js +8 -0
  74. package/dist/cairo-li7sQsxU.cjs +1 -0
  75. package/dist/catppuccin-frappe-Bn4lgmUk.cjs +1 -0
  76. package/dist/catppuccin-frappe-D3cH2rXe.js +4 -0
  77. package/dist/catppuccin-latte-BPtsb8jD.cjs +1 -0
  78. package/dist/catppuccin-latte-C0LRGUW4.js +4 -0
  79. package/dist/catppuccin-macchiato-BLfpQWhT.cjs +1 -0
  80. package/dist/catppuccin-macchiato-c5wQ11TT.js +4 -0
  81. package/dist/catppuccin-mocha-COMta283.cjs +1 -0
  82. package/dist/catppuccin-mocha-WMD6Qvya.js +4 -0
  83. package/dist/channel-B0nsP99T.cjs +1 -0
  84. package/dist/channel-DMxAeX3e.js +5 -0
  85. package/dist/chunk-4BX2VUAB-62fybyiv.js +9 -0
  86. package/dist/chunk-4BX2VUAB-CJb0N696.cjs +1 -0
  87. package/dist/chunk-55IACEB6-C2LOaj9p.cjs +1 -0
  88. package/dist/chunk-55IACEB6-D5hgFp1j.js +9 -0
  89. package/dist/chunk-B4BG7PRW-BqpoY0bL.cjs +165 -0
  90. package/dist/chunk-B4BG7PRW-Dvr7jbv-.js +1377 -0
  91. package/dist/chunk-DI55MBZ5-DraRs0rZ.js +1382 -0
  92. package/dist/chunk-DI55MBZ5-FsvNi2gp.cjs +220 -0
  93. package/dist/chunk-FMBD7UC4-CyjyeVkz.cjs +15 -0
  94. package/dist/chunk-FMBD7UC4-DzF2F7ii.js +19 -0
  95. package/dist/chunk-QN33PNHL-9eCEuapS.js +20 -0
  96. package/dist/chunk-QN33PNHL-CnIrbwCU.cjs +1 -0
  97. package/dist/chunk-QZHKN3VN-B3NhCkgP.cjs +1 -0
  98. package/dist/chunk-QZHKN3VN-DIkv3pB-.js +15 -0
  99. package/dist/chunk-TZMSLE5B-CKf1SnTj.js +64 -0
  100. package/dist/chunk-TZMSLE5B-DwVxNC8t.cjs +1 -0
  101. package/dist/clarity-PKm5CwqM.js +6 -0
  102. package/dist/clarity-gPuvqtpF.cjs +1 -0
  103. package/dist/classDiagram-2ON5EDUG-C2H6YCN8.js +17 -0
  104. package/dist/classDiagram-2ON5EDUG-D-OMN4Hr.cjs +1 -0
  105. package/dist/classDiagram-v2-WZHVMYZB-C2H6YCN8.js +17 -0
  106. package/dist/classDiagram-v2-WZHVMYZB-D-OMN4Hr.cjs +1 -0
  107. package/dist/clojure-CXJfHrL3.js +6 -0
  108. package/dist/clojure-OUsr1SUl.cjs +1 -0
  109. package/dist/clone-BwP8Mlqi.cjs +1 -0
  110. package/dist/clone-DnQL-27a.js +8 -0
  111. package/dist/cmake-BJz8BOTU.js +6 -0
  112. package/dist/cmake-jM6P58qY.cjs +1 -0
  113. package/dist/cobol-CcrsCSUZ.cjs +1 -0
  114. package/dist/cobol-HihOMwht.js +10 -0
  115. package/dist/code-block-IT6T5CEO-BQ7C1br4.js +2693 -0
  116. package/dist/code-block-IT6T5CEO-BYmYTPge.cjs +142 -0
  117. package/dist/codeowners-Bt9yU6NX.js +6 -0
  118. package/dist/codeowners-QhPK6lIJ.cjs +1 -0
  119. package/dist/codeql-D9-TdUN8.cjs +1 -0
  120. package/dist/codeql-DHkodjjI.js +6 -0
  121. package/dist/coffee-DGBR_nr_.js +8 -0
  122. package/dist/coffee-DycxIFwY.cjs +1 -0
  123. package/dist/common-lisp-C77gR-8i.cjs +1 -0
  124. package/dist/common-lisp-EVqT9Zhp.js +6 -0
  125. package/dist/components/CatalogFallbacks.d.ts +21 -0
  126. package/dist/components/CatalogMarkdown.d.ts +10 -0
  127. package/dist/components/ChatBubble.d.ts +6 -0
  128. package/dist/components/ChatWindow.d.ts +86 -0
  129. package/dist/components/ConversationHistory.d.ts +13 -0
  130. package/dist/components/ExpandableRecipeCard.d.ts +14 -0
  131. package/dist/components/Profile.d.ts +19 -0
  132. package/dist/components/ShoppingAssistant.d.ts +84 -0
  133. package/dist/components/ToolCallDisplay.d.ts +9 -0
  134. package/dist/components/ai-elements/agent.d.ts +27 -0
  135. package/dist/components/ai-elements/artifact.d.ts +24 -0
  136. package/dist/components/ai-elements/attachments.d.ts +59 -0
  137. package/dist/components/ai-elements/audio-player.d.ts +30 -0
  138. package/dist/components/ai-elements/canvas.d.ts +8 -0
  139. package/dist/components/ai-elements/chain-of-thought.d.ts +30 -0
  140. package/dist/components/ai-elements/checkpoint.d.ts +12 -0
  141. package/dist/components/ai-elements/code-block.d.ts +18 -0
  142. package/dist/components/ai-elements/commit.d.ts +65 -0
  143. package/dist/components/ai-elements/confirmation.d.ts +50 -0
  144. package/dist/components/ai-elements/connection.d.ts +3 -0
  145. package/dist/components/ai-elements/context.d.ts +33 -0
  146. package/dist/components/ai-elements/controls.d.ts +5 -0
  147. package/dist/components/ai-elements/conversation.d.ts +16 -0
  148. package/dist/components/ai-elements/edge.d.ts +6 -0
  149. package/dist/components/ai-elements/environment-variables.d.ts +39 -0
  150. package/dist/components/ai-elements/file-tree.d.ts +27 -0
  151. package/dist/components/ai-elements/image.d.ts +7 -0
  152. package/dist/components/ai-elements/index.d.ts +65 -0
  153. package/dist/components/ai-elements/inline-citation.d.ts +39 -0
  154. package/dist/components/ai-elements/loader.d.ts +6 -0
  155. package/dist/components/ai-elements/message.d.ts +47 -0
  156. package/dist/components/ai-elements/mic-selector.d.ts +46 -0
  157. package/dist/components/ai-elements/model-selector.d.ts +36 -0
  158. package/dist/components/ai-elements/node.d.ts +22 -0
  159. package/dist/components/ai-elements/open-in-chat.d.ts +29 -0
  160. package/dist/components/ai-elements/package-info.d.ts +30 -0
  161. package/dist/components/ai-elements/panel.d.ts +6 -0
  162. package/dist/components/ai-elements/persona.d.ts +49 -0
  163. package/dist/components/ai-elements/plan.d.ts +26 -0
  164. package/dist/components/ai-elements/prompt-input.d.ts +188 -0
  165. package/dist/components/ai-elements/queue.d.ts +62 -0
  166. package/dist/components/ai-elements/reasoning.d.ts +27 -0
  167. package/dist/components/ai-elements/sandbox.d.ts +25 -0
  168. package/dist/components/ai-elements/schema-display.d.ts +58 -0
  169. package/dist/components/ai-elements/shimmer.d.ts +10 -0
  170. package/dist/components/ai-elements/snippet.d.ts +19 -0
  171. package/dist/components/ai-elements/sources.d.ts +13 -0
  172. package/dist/components/ai-elements/speech-input.d.ts +15 -0
  173. package/dist/components/ai-elements/stack-trace.d.ts +38 -0
  174. package/dist/components/ai-elements/suggestion.d.ts +11 -0
  175. package/dist/components/ai-elements/task.d.ts +15 -0
  176. package/dist/components/ai-elements/terminal.d.ts +28 -0
  177. package/dist/components/ai-elements/test-results.d.ts +59 -0
  178. package/dist/components/ai-elements/tool.d.ts +25 -0
  179. package/dist/components/ai-elements/toolbar.d.ts +6 -0
  180. package/dist/components/ai-elements/transcription.d.ts +17 -0
  181. package/dist/components/ai-elements/voice-selector.d.ts +64 -0
  182. package/dist/components/ai-elements/web-preview.d.ts +35 -0
  183. package/dist/components/chat/ChatHeader.d.ts +22 -0
  184. package/dist/components/chat/ChatInput.d.ts +32 -0
  185. package/dist/components/chat/ChatMessages.d.ts +18 -0
  186. package/dist/components/chat/ReasoningBox.d.ts +10 -0
  187. package/dist/components/chat/TypingIndicator.d.ts +4 -0
  188. package/dist/components/chat/index.d.ts +15 -0
  189. package/dist/components/ui/accordion.d.ts +7 -0
  190. package/dist/components/ui/alert.d.ts +9 -0
  191. package/dist/components/ui/avatar.d.ts +11 -0
  192. package/dist/components/ui/badge.d.ts +9 -0
  193. package/dist/components/ui/button-group.d.ts +12 -0
  194. package/dist/components/ui/button.d.ts +10 -0
  195. package/dist/components/ui/card.d.ts +9 -0
  196. package/dist/components/ui/carousel.d.ts +19 -0
  197. package/dist/components/ui/collapsible.d.ts +5 -0
  198. package/dist/components/ui/command.d.ts +18 -0
  199. package/dist/components/ui/dialog.d.ts +15 -0
  200. package/dist/components/ui/dropdown-menu.d.ts +25 -0
  201. package/dist/components/ui/hover-card.d.ts +6 -0
  202. package/dist/components/ui/input-group.d.ts +16 -0
  203. package/dist/components/ui/input.d.ts +3 -0
  204. package/dist/components/ui/popover.d.ts +10 -0
  205. package/dist/components/ui/progress.d.ts +4 -0
  206. package/dist/components/ui/scroll-area.d.ts +5 -0
  207. package/dist/components/ui/select.d.ts +15 -0
  208. package/dist/components/ui/separator.d.ts +4 -0
  209. package/dist/components/ui/spinner.d.ts +2 -0
  210. package/dist/components/ui/switch.d.ts +6 -0
  211. package/dist/components/ui/tabs.d.ts +11 -0
  212. package/dist/components/ui/textarea.d.ts +3 -0
  213. package/dist/components/ui/tooltip.d.ts +7 -0
  214. package/dist/coq-B0L9upzn.js +6 -0
  215. package/dist/coq-vlPdR5hP.cjs +1 -0
  216. package/dist/cose-bilkent-S5V4N54A-C-E8FsQJ.cjs +1 -0
  217. package/dist/cose-bilkent-S5V4N54A-bUl1r26I.js +2606 -0
  218. package/dist/cpp-Cj177cuW.js +18 -0
  219. package/dist/cpp-DvI2Eoso.cjs +1 -0
  220. package/dist/crystal-B_WXhL2O.cjs +1 -0
  221. package/dist/crystal-CRJyc4G-.js +18 -0
  222. package/dist/csharp-BnMEC8KH.cjs +1 -0
  223. package/dist/csharp-CCgA4A09.js +6 -0
  224. package/dist/css-CECN5uSL.js +6 -0
  225. package/dist/css-Do0mp2lm.cjs +1 -0
  226. package/dist/csv-CmYOceLb.js +6 -0
  227. package/dist/csv-DiEdJzSJ.cjs +1 -0
  228. package/dist/cue-D1vJRJEx.cjs +1 -0
  229. package/dist/cue-ZzumE7IT.js +6 -0
  230. package/dist/cypher-atSM3NsM.cjs +1 -0
  231. package/dist/cypher-jpdmjtA6.js +6 -0
  232. package/dist/cytoscape.esm-DkGgpG6d.cjs +331 -0
  233. package/dist/cytoscape.esm-ZmItrg9y.js +18731 -0
  234. package/dist/d-2qe3NhmZ.cjs +1 -0
  235. package/dist/d-CBagWSwH.js +6 -0
  236. package/dist/dagre-6UL2VRFP-BNNHUzwi.cjs +4 -0
  237. package/dist/dagre-6UL2VRFP-CmOlz9tj.js +446 -0
  238. package/dist/dark-plus-Cd5emcYO.cjs +1 -0
  239. package/dist/dark-plus-pUHDTVV0.js +4 -0
  240. package/dist/dart-6ObCrKr9.js +6 -0
  241. package/dist/dart-Ds0_0fwe.cjs +1 -0
  242. package/dist/dax-CcDT-8dH.js +6 -0
  243. package/dist/dax-DbkQa40E.cjs +1 -0
  244. package/dist/defaultLocale-D7EN2tov.js +171 -0
  245. package/dist/defaultLocale-DIVzfLaQ.cjs +1 -0
  246. package/dist/desktop-B93p9R9O.js +6 -0
  247. package/dist/desktop-tn3MFXCZ.cjs +1 -0
  248. package/dist/diagram-PSM6KHXK-C1SXb_Xs.js +535 -0
  249. package/dist/diagram-PSM6KHXK-CMllEr15.cjs +24 -0
  250. package/dist/diagram-QEK2KX5R-6zp9f5As.cjs +43 -0
  251. package/dist/diagram-QEK2KX5R-Bx8SjUPy.js +221 -0
  252. package/dist/diagram-S2PKOQOG-Dt8tkAYV.cjs +24 -0
  253. package/dist/diagram-S2PKOQOG-ub43sv-s.js +143 -0
  254. package/dist/diff-BxzP2J8R.js +6 -0
  255. package/dist/diff-CA31fCOg.cjs +1 -0
  256. package/dist/docker-CsHqm9tx.js +6 -0
  257. package/dist/docker-zJpMwmYa.cjs +1 -0
  258. package/dist/dotenv-BMjVjUL1.js +6 -0
  259. package/dist/dotenv-DpcNCNek.cjs +1 -0
  260. package/dist/dracula-BNgwAJ-d.cjs +1 -0
  261. package/dist/dracula-BtZx2Kac.js +4 -0
  262. package/dist/dracula-soft-BHZ7sHFu.cjs +1 -0
  263. package/dist/dracula-soft-BKa-aqBv.js +4 -0
  264. package/dist/dream-maker-BkijXDkm.cjs +1 -0
  265. package/dist/dream-maker-PAx17jaB.js +6 -0
  266. package/dist/edge-BYQkOzbF.js +12 -0
  267. package/dist/edge-DaIYN5Mx.cjs +1 -0
  268. package/dist/elixir-BH_wmMK4.cjs +1 -0
  269. package/dist/elixir-Dh036GMp.js +8 -0
  270. package/dist/elm-BtNbw_Cd.js +8 -0
  271. package/dist/elm-Dc4sEBjc.cjs +1 -0
  272. package/dist/emacs-lisp-C1UCIjUO.cjs +1 -0
  273. package/dist/emacs-lisp-Cfxdx5D-.js +6 -0
  274. package/dist/embed/adapters/index.d.ts +35 -0
  275. package/dist/embed/adapters/schnucks.d.ts +14 -0
  276. package/dist/embed/index.d.ts +28 -0
  277. package/dist/embed/types.d.ts +271 -0
  278. package/dist/erDiagram-Q2GNP2WA-BedCJvPU.js +843 -0
  279. package/dist/erDiagram-Q2GNP2WA-Br9BJisn.cjs +60 -0
  280. package/dist/erb-B4nLp42w.cjs +1 -0
  281. package/dist/erb-BWGJ5tqi.js +10 -0
  282. package/dist/erlang-CB2cfp6Z.cjs +1 -0
  283. package/dist/erlang-DNcDT8Hi.js +8 -0
  284. package/dist/everforest-dark-DMCBqXCK.js +4 -0
  285. package/dist/everforest-dark-_sBMomR1.cjs +1 -0
  286. package/dist/everforest-light-BbXl82Em.js +4 -0
  287. package/dist/everforest-light-H0xoYxl0.cjs +1 -0
  288. package/dist/fennel-Bz9-EMMc.cjs +1 -0
  289. package/dist/fennel-N4WcXuKx.js +6 -0
  290. package/dist/fish-BTDEUgqH.js +6 -0
  291. package/dist/fish-DwmQKRZi.cjs +1 -0
  292. package/dist/flowDiagram-NV44I4VS-BmBuMgfl.cjs +162 -0
  293. package/dist/flowDiagram-NV44I4VS-CBzphqqM.js +1628 -0
  294. package/dist/fluent-BMXUxfv1.js +6 -0
  295. package/dist/fluent-CJtpNuaO.cjs +1 -0
  296. package/dist/fortran-fixed-form-B67KFkXH.js +8 -0
  297. package/dist/fortran-fixed-form-CcXh5Xzk.cjs +1 -0
  298. package/dist/fortran-free-form-Cs4ztolN.cjs +1 -0
  299. package/dist/fortran-free-form-CwqYvCLJ.js +6 -0
  300. package/dist/fsharp-CYOiIVNx.js +8 -0
  301. package/dist/fsharp-DVcRF7k-.cjs +1 -0
  302. package/dist/ganttDiagram-JELNMOA3-Kdup3zfS.cjs +267 -0
  303. package/dist/ganttDiagram-JELNMOA3-Yo4EIK5K.js +2663 -0
  304. package/dist/gdresource-CHZmNkgx.cjs +1 -0
  305. package/dist/gdresource-CvCIUjhi.js +10 -0
  306. package/dist/gdscript-CfwMGZrG.cjs +1 -0
  307. package/dist/gdscript-DSAxJ_aS.js +6 -0
  308. package/dist/gdshader-Bk8fF6yr.js +6 -0
  309. package/dist/gdshader-DsmqQl4t.cjs +1 -0
  310. package/dist/genie-Dy2rU8CF.cjs +1 -0
  311. package/dist/genie-DzUvd7U9.js +6 -0
  312. package/dist/gherkin-BmiEVBJ1.cjs +1 -0
  313. package/dist/gherkin-DHRaV0YP.js +6 -0
  314. package/dist/git-commit-Bd32YZ0K.js +8 -0
  315. package/dist/git-commit-DlVDzq9L.cjs +1 -0
  316. package/dist/git-rebase-Bn4RLd7u.cjs +1 -0
  317. package/dist/git-rebase-ZWUFO_T4.js +8 -0
  318. package/dist/gitGraph-F6HP7TQM-Btl5lfkQ.js +5 -0
  319. package/dist/gitGraph-F6HP7TQM-DNBDRDSp.cjs +1 -0
  320. package/dist/gitGraphDiagram-NY62KEGX-5RaC6i4T.js +713 -0
  321. package/dist/gitGraphDiagram-NY62KEGX-CJwzQ72s.cjs +65 -0
  322. package/dist/github-dark-BKL9xNgN.cjs +1 -0
  323. package/dist/github-dark-DenFmJkN.js +4 -0
  324. package/dist/github-dark-default-BJPUVz4H.js +4 -0
  325. package/dist/github-dark-default-Dsv5MuSi.cjs +1 -0
  326. package/dist/github-dark-dimmed-CtB9hz8U.cjs +1 -0
  327. package/dist/github-dark-dimmed-DUshB20C.js +4 -0
  328. package/dist/github-dark-high-contrast-BqZVM-jF.cjs +1 -0
  329. package/dist/github-dark-high-contrast-D3aGCnF8.js +4 -0
  330. package/dist/github-light-BFTOhCbz.cjs +1 -0
  331. package/dist/github-light-JYsPkUQd.js +4 -0
  332. package/dist/github-light-default-BZoWH9dH.cjs +1 -0
  333. package/dist/github-light-default-D99KPAby.js +4 -0
  334. package/dist/github-light-high-contrast-BbmZE-Mp.js +4 -0
  335. package/dist/github-light-high-contrast-Ks3kPGJU.cjs +1 -0
  336. package/dist/gleam-Bv284lvN.js +6 -0
  337. package/dist/gleam-DHVuTCr7.cjs +1 -0
  338. package/dist/glimmer-js-CzmC7OX8.cjs +1 -0
  339. package/dist/glimmer-js-DkxNrfPT.js +14 -0
  340. package/dist/glimmer-ts-D6YZEmK_.js +14 -0
  341. package/dist/glimmer-ts-DLN2_wRt.cjs +1 -0
  342. package/dist/glsl-CQekZ3Zq.cjs +1 -0
  343. package/dist/glsl-CkUcVZNK.js +8 -0
  344. package/dist/gn-0WGnAyGi.cjs +1 -0
  345. package/dist/gn-XtJxiLa4.js +6 -0
  346. package/dist/gnuplot-CDPKvI9X.cjs +1 -0
  347. package/dist/gnuplot-yPG9-sE_.js +6 -0
  348. package/dist/go-CvFNMTvu.js +6 -0
  349. package/dist/go-j_hH531s.cjs +1 -0
  350. package/dist/graph-Bim_c7e_.js +381 -0
  351. package/dist/graph-Btxb2SJH.cjs +1 -0
  352. package/dist/graphql-BnP1YhXQ.cjs +1 -0
  353. package/dist/graphql-CBu2ehBn.js +14 -0
  354. package/dist/groovy-CJQTphOW.js +6 -0
  355. package/dist/groovy-D7VuDBXz.cjs +1 -0
  356. package/dist/gruvbox-dark-hard-C5HOtKIh.js +4 -0
  357. package/dist/gruvbox-dark-hard-CUGefKS6.cjs +1 -0
  358. package/dist/gruvbox-dark-medium-BoKPlKfz.cjs +1 -0
  359. package/dist/gruvbox-dark-medium-FVgwJHuz.js +4 -0
  360. package/dist/gruvbox-dark-soft-B46F314v.js +4 -0
  361. package/dist/gruvbox-dark-soft-DSrhOWeL.cjs +1 -0
  362. package/dist/gruvbox-light-hard-CJD38wDZ.js +4 -0
  363. package/dist/gruvbox-light-hard-De4IuseP.cjs +1 -0
  364. package/dist/gruvbox-light-medium-BlIhMYTA.js +4 -0
  365. package/dist/gruvbox-light-medium-CzMY3IEJ.cjs +1 -0
  366. package/dist/gruvbox-light-soft-DoPHyLVZ.js +4 -0
  367. package/dist/gruvbox-light-soft-U4iAIpWZ.cjs +1 -0
  368. package/dist/hack-BaDv2o40.cjs +1 -0
  369. package/dist/hack-ItRNKiEb.js +10 -0
  370. package/dist/haml-Bk21rGjP.cjs +1 -0
  371. package/dist/haml-NZLVzu_R.js +10 -0
  372. package/dist/handlebars-CJJi3lrU.cjs +1 -0
  373. package/dist/handlebars-mxStpSE7.js +14 -0
  374. package/dist/haskell-BShesV2P.cjs +1 -0
  375. package/dist/haskell-WeIwNIP6.js +6 -0
  376. package/dist/haxe-Bo5XuRS0.cjs +1 -0
  377. package/dist/haxe-TztHsm5T.js +6 -0
  378. package/dist/hcl-CrZnvm-1.cjs +1 -0
  379. package/dist/hcl-D438OF-I.js +6 -0
  380. package/dist/hjson-CEESwTUP.cjs +1 -0
  381. package/dist/hjson-DYBUbqOl.js +6 -0
  382. package/dist/hlsl-Bk8TCZNL.js +6 -0
  383. package/dist/hlsl-CyvYRIb9.cjs +1 -0
  384. package/dist/horizon-C2D7KeAq.cjs +1 -0
  385. package/dist/horizon-CJQ10nlf.js +4 -0
  386. package/dist/houston-BDYrDoDW.js +4 -0
  387. package/dist/houston-T57H3gQZ.cjs +1 -0
  388. package/dist/html-B50bmoVb.js +10 -0
  389. package/dist/html-C62Zf2h4.cjs +1 -0
  390. package/dist/html-derivative-C6bxFbFW.js +8 -0
  391. package/dist/html-derivative-NDb86jON.cjs +1 -0
  392. package/dist/http-BPlLI56k.cjs +1 -0
  393. package/dist/http-DLvAkeD-.js +14 -0
  394. package/dist/hurl-BQGBr8gH.cjs +1 -0
  395. package/dist/hurl-CgkFN90t.js +12 -0
  396. package/dist/hxml-GbqSQCLa.js +8 -0
  397. package/dist/hxml-vnw7fzrV.cjs +1 -0
  398. package/dist/hy-Brt5EZ7-.js +6 -0
  399. package/dist/hy-a1E2Ed6P.cjs +1 -0
  400. package/dist/imba-CR1Q6r17.cjs +1 -0
  401. package/dist/imba-CimUv-Uh.js +6 -0
  402. package/dist/index-BKXpmKzQ.cjs +907 -0
  403. package/dist/index-C3ZGeP_n.js +85028 -0
  404. package/dist/index.cjs +1 -0
  405. package/dist/index.d.ts +50 -0
  406. package/dist/index.js +276 -0
  407. package/dist/info-NVLQJR56-B1iCbwt8.js +5 -0
  408. package/dist/info-NVLQJR56-Di4GzswL.cjs +1 -0
  409. package/dist/infoDiagram-WHAUD3N6-C8uj75B1.cjs +2 -0
  410. package/dist/infoDiagram-WHAUD3N6-O-QlseLM.js +24 -0
  411. package/dist/ini-BZIuRIvJ.js +6 -0
  412. package/dist/ini-Dpu3Xy2p.cjs +1 -0
  413. package/dist/init-CHZsXQcr.cjs +1 -0
  414. package/dist/init-DjUOC4st.js +16 -0
  415. package/dist/java--6gf61wy.cjs +1 -0
  416. package/dist/java-DY6VlHhP.js +6 -0
  417. package/dist/javascript-C25yR2R2.js +6 -0
  418. package/dist/javascript-DgmXW4Ha.cjs +1 -0
  419. package/dist/jinja-6NmewwV8.cjs +1 -0
  420. package/dist/jinja-CFW5uAwY.js +11 -0
  421. package/dist/jison-CD9Qsaj0.cjs +1 -0
  422. package/dist/jison-DdreslRX.js +8 -0
  423. package/dist/journeyDiagram-XKPGCS4Q-CRi4O_Ya.cjs +139 -0
  424. package/dist/journeyDiagram-XKPGCS4Q-Cw0SAmTx.js +837 -0
  425. package/dist/json-DxJze_jm.js +6 -0
  426. package/dist/json-YkPizm35.cjs +1 -0
  427. package/dist/json5-BT4Fjg39.js +6 -0
  428. package/dist/json5-CCgFZiQn.cjs +1 -0
  429. package/dist/jsonc-CHjZD8gR.js +6 -0
  430. package/dist/jsonc-CKPHIcXW.cjs +1 -0
  431. package/dist/jsonl-BGuvDmy9.js +6 -0
  432. package/dist/jsonl-Dq56Hab-.cjs +1 -0
  433. package/dist/jsonnet-Bx2cfsXg.js +6 -0
  434. package/dist/jsonnet-Csh7E68F.cjs +1 -0
  435. package/dist/jssm-BcADi6EI.js +6 -0
  436. package/dist/jssm-D0M9iZPY.cjs +1 -0
  437. package/dist/jsx-BtKADgXT.js +6 -0
  438. package/dist/jsx-DLX6UGgg.cjs +1 -0
  439. package/dist/julia-1BTSV8k5.cjs +1 -0
  440. package/dist/julia-CZiKXNNP.js +16 -0
  441. package/dist/kanagawa-dragon-BJZF7xDr.cjs +1 -0
  442. package/dist/kanagawa-dragon-CiKur4Hl.js +4 -0
  443. package/dist/kanagawa-lotus-BKu-smKu.js +4 -0
  444. package/dist/kanagawa-lotus-BhgzmRV4.cjs +1 -0
  445. package/dist/kanagawa-wave-BgJip59C.cjs +1 -0
  446. package/dist/kanagawa-wave-CQwozSzG.js +4 -0
  447. package/dist/kanban-definition-3W4ZIXB7-BTT9x06D.cjs +89 -0
  448. package/dist/kanban-definition-3W4ZIXB7-BqenV9TH.js +720 -0
  449. package/dist/kdl-BNOv9TC3.js +6 -0
  450. package/dist/kdl-CDG1p2Qi.cjs +1 -0
  451. package/dist/kotlin-BHZjvNqT.cjs +1 -0
  452. package/dist/kotlin-ByBMgTeR.js +6 -0
  453. package/dist/kusto-C6kOQWT0.cjs +1 -0
  454. package/dist/kusto-DH_XitHS.js +6 -0
  455. package/dist/laserwave--izBLY1I.cjs +1 -0
  456. package/dist/laserwave-6a00oqik.js +4 -0
  457. package/dist/latex-B7rk9nsp.cjs +1 -0
  458. package/dist/latex-DugOA5yb.js +8 -0
  459. package/dist/layout-D56Krgvh.cjs +1 -0
  460. package/dist/layout-WY5KNA9e.js +1441 -0
  461. package/dist/lean-BnVxaZxY.js +6 -0
  462. package/dist/lean-DvVQmxVK.cjs +1 -0
  463. package/dist/less-B1GLI2Di.js +6 -0
  464. package/dist/less-Dtg8mm6P.cjs +1 -0
  465. package/dist/lib/utils.d.ts +3 -0
  466. package/dist/light-plus-B5D0le0o.cjs +1 -0
  467. package/dist/light-plus-CZuVqSLX.js +4 -0
  468. package/dist/linear-DT60NxVS.js +219 -0
  469. package/dist/linear-DoulcyKt.cjs +1 -0
  470. package/dist/liquid-CHzkx3jT.js +14 -0
  471. package/dist/liquid-DjlCV7Vm.cjs +1 -0
  472. package/dist/llvm-DcRvQ_r8.cjs +1 -0
  473. package/dist/llvm-co1rIKs3.js +6 -0
  474. package/dist/log-Al8wyEFV.js +6 -0
  475. package/dist/log-CjTZ0gSB.cjs +1 -0
  476. package/dist/logo-BAktp_5i.cjs +1 -0
  477. package/dist/logo-DBa4JDzV.js +6 -0
  478. package/dist/lua-Bp3IRv7I.js +8 -0
  479. package/dist/lua-t8TDI8Os.cjs +1 -0
  480. package/dist/luau-BMXmwtw0.cjs +1 -0
  481. package/dist/luau-UQyhudEE.js +6 -0
  482. package/dist/make-CsMclxtr.js +6 -0
  483. package/dist/make-NcdIe21U.cjs +1 -0
  484. package/dist/markdown-Byu9Sdmq.cjs +1 -0
  485. package/dist/markdown-CrScaQ96.js +6 -0
  486. package/dist/marko-BAIoWxJR.cjs +1 -0
  487. package/dist/marko-Ns9BYtDO.js +14 -0
  488. package/dist/material-theme-D6KBX41T.js +4 -0
  489. package/dist/material-theme-Dj0-OyRN.cjs +1 -0
  490. package/dist/material-theme-darker-CkRroheE.js +4 -0
  491. package/dist/material-theme-darker-Dvfs29ir.cjs +1 -0
  492. package/dist/material-theme-lighter-BUBw43Yz.js +4 -0
  493. package/dist/material-theme-lighter-EU3ZGl_r.cjs +1 -0
  494. package/dist/material-theme-ocean-ClGX14Ja.js +4 -0
  495. package/dist/material-theme-ocean-px_3Pwqa.cjs +1 -0
  496. package/dist/material-theme-palenight-38jxvsGX.cjs +1 -0
  497. package/dist/material-theme-palenight-C1RVm8K1.js +4 -0
  498. package/dist/matlab-BOAaUVP0.js +6 -0
  499. package/dist/matlab-CHTOL9Kx.cjs +1 -0
  500. package/dist/mdc-DEPKJPdx.cjs +1 -0
  501. package/dist/mdc-uaivvctV.js +12 -0
  502. package/dist/mdx-BOhZZUJ8.js +6 -0
  503. package/dist/mdx-CjwI68TB.cjs +1 -0
  504. package/dist/mermaid-BXSwQYo5.cjs +1 -0
  505. package/dist/mermaid-C3rz4dYh.js +6 -0
  506. package/dist/mermaid-VLURNSYL-BFvnL4gG.js +4 -0
  507. package/dist/mermaid-VLURNSYL-DJRCV7vM.cjs +1 -0
  508. package/dist/mermaid-parser.core-BCDozT5p.js +15138 -0
  509. package/dist/mermaid-parser.core-PbXXtTvb.cjs +128 -0
  510. package/dist/mermaid.core-DBTj9jyI.cjs +196 -0
  511. package/dist/mermaid.core-DeqGW69S.js +12539 -0
  512. package/dist/min-B1iq2yfT.cjs +1 -0
  513. package/dist/min-dark-C7ak0t6c.js +4 -0
  514. package/dist/min-dark-tt5o_I5e.cjs +1 -0
  515. package/dist/min-light-CKFxVcPp.js +4 -0
  516. package/dist/min-light-tmTHl_CQ.cjs +1 -0
  517. package/dist/min-tayQBuqv.js +38 -0
  518. package/dist/mindmap-definition-VGOIOE7T-BMuMhK7g.cjs +68 -0
  519. package/dist/mindmap-definition-VGOIOE7T-CnIvjLot.js +786 -0
  520. package/dist/mipsasm-BSlRcFIy.cjs +1 -0
  521. package/dist/mipsasm-CTx18fBl.js +6 -0
  522. package/dist/mojo-CgKe2b8g.js +6 -0
  523. package/dist/mojo-D2tXKFxS.cjs +1 -0
  524. package/dist/monokai-C1KBYcO0.js +4 -0
  525. package/dist/monokai-DMIxv6MM.cjs +1 -0
  526. package/dist/moonbit-BweIWWUc.cjs +1 -0
  527. package/dist/moonbit-NVPuhMCm.js +6 -0
  528. package/dist/move-CSharPAA.cjs +1 -0
  529. package/dist/move-Db4ltDq1.js +6 -0
  530. package/dist/narrat-CBeKHgTl.cjs +1 -0
  531. package/dist/narrat-DmhDCBs-.js +6 -0
  532. package/dist/nextflow-CM8Ed358.cjs +1 -0
  533. package/dist/nextflow-DmSVRGjG.js +6 -0
  534. package/dist/nginx-C4RNJ7jQ.cjs +1 -0
  535. package/dist/nginx-D7O4WoB1.js +8 -0
  536. package/dist/night-owl-BN78kThQ.cjs +1 -0
  537. package/dist/night-owl-Bm2rzalh.js +4 -0
  538. package/dist/night-owl-light-CBI5u5kw.js +4 -0
  539. package/dist/night-owl-light-jQpY3cYP.cjs +1 -0
  540. package/dist/nim-Bqmp5Of3.cjs +1 -0
  541. package/dist/nim-QAjRdh9w.js +20 -0
  542. package/dist/nix-BOiBJUDf.cjs +1 -0
  543. package/dist/nix-fTRXMGic.js +9 -0
  544. package/dist/nord-CC5OiUXg.js +4 -0
  545. package/dist/nord-Ca5AGUWc.cjs +1 -0
  546. package/dist/nushell-D8j3dhT-.js +6 -0
  547. package/dist/nushell-nGrB_wpI.cjs +1 -0
  548. package/dist/objective-c-Itk8tzmv.js +6 -0
  549. package/dist/objective-c-RjkWwFge.cjs +1 -0
  550. package/dist/objective-cpp-DGt5UKRO.js +6 -0
  551. package/dist/objective-cpp-HnfhWwRe.cjs +1 -0
  552. package/dist/ocaml-Cx8ewW_A.cjs +1 -0
  553. package/dist/ocaml-eSVK32Eg.js +6 -0
  554. package/dist/odin-BItnF517.js +6 -0
  555. package/dist/odin-CKw-zgwf.cjs +1 -0
  556. package/dist/one-dark-pro-C09VQHwB.cjs +1 -0
  557. package/dist/one-dark-pro-DTA3VF0_.js +4 -0
  558. package/dist/one-light-Cwg0lqft.cjs +1 -0
  559. package/dist/one-light-LkMrt1Cf.js +4 -0
  560. package/dist/openscad-D7eUrVPv.cjs +1 -0
  561. package/dist/openscad-Sp5uZ6f2.js +6 -0
  562. package/dist/ordinal-CagbB1m8.cjs +1 -0
  563. package/dist/ordinal-DfAQgscy.js +61 -0
  564. package/dist/packet-BFZMPI3H-NtLj0px9.cjs +1 -0
  565. package/dist/packet-BFZMPI3H-OjJvLifn.js +5 -0
  566. package/dist/pascal-DBu9vQ2o.cjs +1 -0
  567. package/dist/pascal-xy8pJNns.js +6 -0
  568. package/dist/perl-CxWZPeDZ.cjs +1 -0
  569. package/dist/perl-DkVrgJBg.js +16 -0
  570. package/dist/php-BIzsF_5x.js +18 -0
  571. package/dist/php-CwdkidrA.cjs +1 -0
  572. package/dist/pie-7BOR55EZ-B9U78pdf.js +5 -0
  573. package/dist/pie-7BOR55EZ-Bbv5AaOa.cjs +1 -0
  574. package/dist/pieDiagram-ADFJNKIX-Bv7m0-X4.cjs +30 -0
  575. package/dist/pieDiagram-ADFJNKIX-CUo6edsc.js +162 -0
  576. package/dist/pkl-C-zSNmaA.js +6 -0
  577. package/dist/pkl-Dvyry4Rm.cjs +1 -0
  578. package/dist/plastic-CSTz3KZp.js +4 -0
  579. package/dist/plastic-r5piqq-S.cjs +1 -0
  580. package/dist/plsql-IJkoPJ9P.cjs +1 -0
  581. package/dist/plsql-pVbGZfOv.js +6 -0
  582. package/dist/po-BNfHvqmm.js +6 -0
  583. package/dist/po-Rhu6MvnX.cjs +1 -0
  584. package/dist/poimandres-BLP3NNjc.cjs +1 -0
  585. package/dist/poimandres-C-VADXHD.js +4 -0
  586. package/dist/polar-BtWqSUq2.cjs +1 -0
  587. package/dist/polar-CAZahv3u.js +6 -0
  588. package/dist/postcss-05aHdL-n.js +6 -0
  589. package/dist/postcss-Dh97DcaJ.cjs +1 -0
  590. package/dist/powerquery-BGL6VIw7.cjs +1 -0
  591. package/dist/powerquery-DI9HkTvs.js +6 -0
  592. package/dist/powershell-BiEPMjy-.cjs +1 -0
  593. package/dist/powershell-Clc4ydu-.js +6 -0
  594. package/dist/prisma-Dp473sn0.cjs +1 -0
  595. package/dist/prisma-FZjmVtSl.js +6 -0
  596. package/dist/prolog-C5-yg4TO.js +6 -0
  597. package/dist/prolog-N1U-3UeF.cjs +1 -0
  598. package/dist/proto-C7QgialS.js +6 -0
  599. package/dist/proto-DMjUErYA.cjs +1 -0
  600. package/dist/pug-DiGNE7sm.cjs +1 -0
  601. package/dist/pug-XOw9Q1Ho.js +12 -0
  602. package/dist/puppet-CUJHmnxV.js +6 -0
  603. package/dist/puppet-cDQP_ZC_.cjs +1 -0
  604. package/dist/purescript-DMxb59gF.cjs +1 -0
  605. package/dist/purescript-rUfGld-4.js +6 -0
  606. package/dist/python-BFNSHbwJ.js +6 -0
  607. package/dist/python-s9jfVbew.cjs +1 -0
  608. package/dist/qml-beorq0E4.cjs +1 -0
  609. package/dist/qml-rTNXsquU.js +8 -0
  610. package/dist/qmldir-BInDYbpo.js +6 -0
  611. package/dist/qmldir-DNF9H2ir.cjs +1 -0
  612. package/dist/qss-AeJTysr_.js +6 -0
  613. package/dist/qss-DwA_oiAM.cjs +1 -0
  614. package/dist/quadrantDiagram-AYHSOK5B-DXNOfdUN.cjs +7 -0
  615. package/dist/quadrantDiagram-AYHSOK5B-Dqg6NqgJ.js +1025 -0
  616. package/dist/r-CSmzDPi7.js +6 -0
  617. package/dist/r-DAqIyZhh.cjs +1 -0
  618. package/dist/racket-B83wSAja.js +6 -0
  619. package/dist/racket-D4laxZit.cjs +1 -0
  620. package/dist/radar-NHE76QYJ-BPK3O5AX.cjs +1 -0
  621. package/dist/radar-NHE76QYJ-Ld9VMP2q.js +5 -0
  622. package/dist/raku-DHySPsLw.cjs +1 -0
  623. package/dist/raku-nEQ4ZJJ7.js +6 -0
  624. package/dist/razor-Bl12i3Gx.cjs +1 -0
  625. package/dist/razor-Ci8D0dQK.js +10 -0
  626. package/dist/red-7y8PH7HH.js +4 -0
  627. package/dist/red-BQGOv1D5.cjs +1 -0
  628. package/dist/reg-CevkCKuZ.cjs +1 -0
  629. package/dist/reg-m_s_Kiip.js +6 -0
  630. package/dist/regexp-BazyLpPg.js +6 -0
  631. package/dist/regexp-DabTWNLE.cjs +1 -0
  632. package/dist/rel-BS5APza7.cjs +1 -0
  633. package/dist/rel-BcRfyd6Q.js +6 -0
  634. package/dist/requirementDiagram-UZGBJVZJ-Dft87FpO.cjs +64 -0
  635. package/dist/requirementDiagram-UZGBJVZJ-LNaRwxeO.js +852 -0
  636. package/dist/riscv-BnGFr6V7.cjs +1 -0
  637. package/dist/riscv-Ce8MAQLP.js +6 -0
  638. package/dist/ron-BboLFi1G.js +6 -0
  639. package/dist/ron-CsbIGKuM.cjs +1 -0
  640. package/dist/rose-pine-BKc3yVeu.js +4 -0
  641. package/dist/rose-pine-CfBWm6WX.cjs +1 -0
  642. package/dist/rose-pine-dawn-BulJcPZT.js +4 -0
  643. package/dist/rose-pine-dawn-CaZ5I2lt.cjs +1 -0
  644. package/dist/rose-pine-moon-Cql8LDLp.cjs +1 -0
  645. package/dist/rose-pine-moon-j6jiXKV8.js +4 -0
  646. package/dist/rosmsg-C7VSFzUC.cjs +1 -0
  647. package/dist/rosmsg-Cz0w1km8.js +6 -0
  648. package/dist/rst-BJB_3FCk.js +22 -0
  649. package/dist/rst-CSeS1IRe.cjs +1 -0
  650. package/dist/ruby-Chl-GArK.js +30 -0
  651. package/dist/ruby-D6NwHIKi.cjs +1 -0
  652. package/dist/rust-CLzF9zIN.js +6 -0
  653. package/dist/rust-CNeTMPbB.cjs +1 -0
  654. package/dist/sankeyDiagram-TZEHDZUN-CT66OJPC.cjs +10 -0
  655. package/dist/sankeyDiagram-TZEHDZUN-Cee2Zly1.js +811 -0
  656. package/dist/sas-D5Fn8Q38.cjs +1 -0
  657. package/dist/sas-fpEvgATw.js +8 -0
  658. package/dist/sass-DxHp5rTx.js +6 -0
  659. package/dist/sass-vyo-bUwh.cjs +1 -0
  660. package/dist/scala-D4grkFkl.js +6 -0
  661. package/dist/scala-ZSekD-8-.cjs +1 -0
  662. package/dist/scheme-BCRWuEm4.js +6 -0
  663. package/dist/scheme-vM0LdD-_.cjs +1 -0
  664. package/dist/scss-B1FaCqwR.js +8 -0
  665. package/dist/scss-CKlduTMv.cjs +1 -0
  666. package/dist/sdbl-B7T8abf4.js +6 -0
  667. package/dist/sdbl-DeWT5r4i.cjs +1 -0
  668. package/dist/sequenceDiagram-WL72ISMW-D4GRw_RV.js +2519 -0
  669. package/dist/sequenceDiagram-WL72ISMW-DWjjmnlZ.cjs +145 -0
  670. package/dist/shaderlab-Cr62-Wb4.js +8 -0
  671. package/dist/shaderlab-DGJjQHxC.cjs +1 -0
  672. package/dist/shellscript-DYWjN7qW.cjs +1 -0
  673. package/dist/shellscript-InADTalH.js +6 -0
  674. package/dist/shellsession-DMUSXX8m.cjs +1 -0
  675. package/dist/shellsession-DiDJNQdy.js +8 -0
  676. package/dist/slack-dark-akqwQ7ED.cjs +1 -0
  677. package/dist/slack-dark-i7wN4OET.js +4 -0
  678. package/dist/slack-ochin-BoQQWmTv.cjs +1 -0
  679. package/dist/slack-ochin-ndHf0LoP.js +4 -0
  680. package/dist/smalltalk-BNs6hxu4.cjs +1 -0
  681. package/dist/smalltalk-BlI1_OkM.js +6 -0
  682. package/dist/snazzy-light-BlSJXAu4.js +4 -0
  683. package/dist/snazzy-light-D_IwRieF.cjs +1 -0
  684. package/dist/solarized-dark-UTmkh7lw.js +4 -0
  685. package/dist/solarized-dark-gmm-WbDC.cjs +1 -0
  686. package/dist/solarized-light-BheCkDPT.js +4 -0
  687. package/dist/solarized-light-DzcxRSZP.cjs +1 -0
  688. package/dist/solidity-DUWnFhS6.js +6 -0
  689. package/dist/solidity-uQuzgchP.cjs +1 -0
  690. package/dist/soy-C1-6njHa.js +8 -0
  691. package/dist/soy-CDFPDtGX.cjs +1 -0
  692. package/dist/sparql-6Cg9ppCl.cjs +1 -0
  693. package/dist/sparql-B0KWFEri.js +8 -0
  694. package/dist/splunk-CRXR8A9s.js +6 -0
  695. package/dist/splunk-CWPivao_.cjs +1 -0
  696. package/dist/sql-Cn_v3PB0.js +6 -0
  697. package/dist/sql-DhUUVgH1.cjs +1 -0
  698. package/dist/ssh-config-B93wBIBa.cjs +1 -0
  699. package/dist/ssh-config-DP-hNVbF.js +6 -0
  700. package/dist/stata-B8c5fTjX.js +8 -0
  701. package/dist/stata-DCWFCQQG.cjs +1 -0
  702. package/dist/stateDiagram-FKZM4ZOC-BQjU7k-s.cjs +1 -0
  703. package/dist/stateDiagram-FKZM4ZOC-CzEUKDer.js +264 -0
  704. package/dist/stateDiagram-v2-4FDKWEC3-CBcxnSVT.cjs +1 -0
  705. package/dist/stateDiagram-v2-4FDKWEC3-CHrcUqtm.js +17 -0
  706. package/dist/storage.d.ts +11 -0
  707. package/dist/style.css +1 -0
  708. package/dist/stylus-B64Bt0D4.cjs +1 -0
  709. package/dist/stylus-CyKEU1Ej.js +6 -0
  710. package/dist/surrealql-CQi7GQN7.js +8 -0
  711. package/dist/surrealql-CYTDVsyo.cjs +1 -0
  712. package/dist/svelte-CYf4HR3U.js +14 -0
  713. package/dist/svelte-Do4zIqEL.cjs +1 -0
  714. package/dist/swift-9UzSvamq.js +6 -0
  715. package/dist/swift-BMbGdc3j.cjs +1 -0
  716. package/dist/synthwave-84-BBRLOmNT.cjs +1 -0
  717. package/dist/synthwave-84-NU3C_KFZ.js +4 -0
  718. package/dist/system-verilog-BCm7smPJ.js +6 -0
  719. package/dist/system-verilog-BFclLo9e.cjs +1 -0
  720. package/dist/systemd-C-4qm6XH.js +6 -0
  721. package/dist/systemd-Dtw7P4tb.cjs +1 -0
  722. package/dist/talonscript-CFF3LF_O.js +6 -0
  723. package/dist/talonscript-D8SvZJVc.cjs +1 -0
  724. package/dist/tasl--DC4oX-L.cjs +1 -0
  725. package/dist/tasl-Cg_WBUAe.js +6 -0
  726. package/dist/tcl-0Q0H86Yn.cjs +1 -0
  727. package/dist/tcl-DN7buRTF.js +6 -0
  728. package/dist/templ-Crs9Ui8q.js +12 -0
  729. package/dist/templ-DOvXA9fa.cjs +1 -0
  730. package/dist/terraform-C0RDrmWi.cjs +1 -0
  731. package/dist/terraform-DGvcn9zM.js +6 -0
  732. package/dist/tex-BvKThJ8p.js +8 -0
  733. package/dist/tex-Dz7jjuD4.cjs +1 -0
  734. package/dist/timeline-definition-IT6M3QCI-BRJUMNe5.cjs +61 -0
  735. package/dist/timeline-definition-IT6M3QCI-u9ntvQge.js +802 -0
  736. package/dist/tokyo-night-DP4TmcQl.js +4 -0
  737. package/dist/tokyo-night-GOhjzM5y.cjs +1 -0
  738. package/dist/toml-DY62mUL_.js +6 -0
  739. package/dist/toml-Q64DoSvG.cjs +1 -0
  740. package/dist/treemap-KMMF4GRG-8xzdFZn9.js +5 -0
  741. package/dist/treemap-KMMF4GRG-d1R9htnC.cjs +1 -0
  742. package/dist/ts-tags-DILCom6A.cjs +1 -0
  743. package/dist/ts-tags-ioVe2PKw.js +41 -0
  744. package/dist/tsv-BtvSkaG0.js +6 -0
  745. package/dist/tsv-DqNGnuVj.cjs +1 -0
  746. package/dist/tsx-B8rCNbgL.js +6 -0
  747. package/dist/tsx-DIpfUf9u.cjs +1 -0
  748. package/dist/turtle-DipIidr5.cjs +1 -0
  749. package/dist/turtle-_H59FV7D.js +6 -0
  750. package/dist/twig-DWdZLOs_.js +18 -0
  751. package/dist/twig-DenAwVTh.cjs +1 -0
  752. package/dist/typescript-RycA9KXf.js +6 -0
  753. package/dist/typescript-b48wo4zk.cjs +1 -0
  754. package/dist/typespec-DWqp-kUU.js +6 -0
  755. package/dist/typespec-DqXOE4_L.cjs +1 -0
  756. package/dist/typst-Cqq4j4V-.cjs +1 -0
  757. package/dist/typst-D_1QKWns.js +6 -0
  758. package/dist/v-81C2s01-.cjs +1 -0
  759. package/dist/v-BPCNiyYe.js +6 -0
  760. package/dist/vala-CsAYdCD2.cjs +1 -0
  761. package/dist/vala-uxaPR7d1.js +6 -0
  762. package/dist/vb-AiTMb16X.cjs +1 -0
  763. package/dist/vb-D8_c5-KN.js +6 -0
  764. package/dist/verilog-AMohXZcN.cjs +1 -0
  765. package/dist/verilog-B-bybjPF.js +6 -0
  766. package/dist/vesper-B59Iw4gV.cjs +1 -0
  767. package/dist/vesper-BckBta1U.js +4 -0
  768. package/dist/vhdl-CUlNa8ac.js +6 -0
  769. package/dist/vhdl-DIdR1NA5.cjs +1 -0
  770. package/dist/viml-D01eKeA4.cjs +1 -0
  771. package/dist/viml-DsfA-sWm.js +6 -0
  772. package/dist/vitesse-black-BoGvW84i.js +4 -0
  773. package/dist/vitesse-black-MF-1S1MG.cjs +1 -0
  774. package/dist/vitesse-dark-Cym-eLtO.js +4 -0
  775. package/dist/vitesse-dark-SIffJYSe.cjs +1 -0
  776. package/dist/vitesse-light-CcmG315c.js +4 -0
  777. package/dist/vitesse-light-U63SkYGT.cjs +1 -0
  778. package/dist/vue-DXEmyXn9.js +31 -0
  779. package/dist/vue-S9bl2EgW.cjs +1 -0
  780. package/dist/vue-html-B2-sfQT7.cjs +1 -0
  781. package/dist/vue-html-j9xNEdu3.js +8 -0
  782. package/dist/vue-vine-CpIsWjsQ.cjs +1 -0
  783. package/dist/vue-vine-D41-N99t.js +18 -0
  784. package/dist/vyper-CPQuu50u.js +6 -0
  785. package/dist/vyper-DTzyzn3a.cjs +1 -0
  786. package/dist/wasm-BBXxrAl7.js +6 -0
  787. package/dist/wasm-DQxwEHae.js +7 -0
  788. package/dist/wasm-Dp-QrJpp.cjs +1 -0
  789. package/dist/wasm-Dw4u1m6u.cjs +1 -0
  790. package/dist/wenyan-CRNx8UP3.cjs +1 -0
  791. package/dist/wenyan-pbVjoM9_.js +6 -0
  792. package/dist/wgsl-DF5qc9dd.cjs +1 -0
  793. package/dist/wgsl-DY4iK1q1.js +6 -0
  794. package/dist/wikitext-D7uzEIfK.cjs +1 -0
  795. package/dist/wikitext-Z-MoUasO.js +6 -0
  796. package/dist/wit-BjWgLsJj.cjs +1 -0
  797. package/dist/wit-CQMQOlTg.js +6 -0
  798. package/dist/wolfram-BR4t3Ffc.cjs +1 -0
  799. package/dist/wolfram-Dz4KXISs.js +6 -0
  800. package/dist/xml-BpsKWkuV.cjs +1 -0
  801. package/dist/xml-C2J0sS9M.js +8 -0
  802. package/dist/xsl-BmSZphgC.js +8 -0
  803. package/dist/xsl-D-3VYix6.cjs +1 -0
  804. package/dist/xychartDiagram-PRI3JC2R-BHJGbZEw.cjs +7 -0
  805. package/dist/xychartDiagram-PRI3JC2R-SI_96zbi.js +1341 -0
  806. package/dist/yaml-DaO7k5B1.js +6 -0
  807. package/dist/yaml-XVBmpKh-.cjs +1 -0
  808. package/dist/zenscript-CxBjpf9c.js +6 -0
  809. package/dist/zenscript-fNvwKexi.cjs +1 -0
  810. package/dist/zig-BAyIAcWK.cjs +1 -0
  811. package/dist/zig-Vm0PO9wB.js +6 -0
  812. package/package.json +94 -0
@@ -0,0 +1,713 @@
1
+ import { p as Z } from "./chunk-4BX2VUAB-62fybyiv.js";
2
+ import { I as F } from "./chunk-QZHKN3VN-DIkv3pB-.js";
3
+ import { _ as h, q as U, p as rr, s as er, g as tr, a as ar, b as nr, l as m, c as sr, u as or, D as cr, y as ir, j as B, E as dr, F as hr, G as lr, H as $r } from "./mermaid.core-DeqGW69S.js";
4
+ import { p as fr } from "./mermaid-parser.core-BCDozT5p.js";
5
+ import { s as gr } from "./index-C3ZGeP_n.js";
6
+ var u = {
7
+ NORMAL: 0,
8
+ REVERSE: 1,
9
+ HIGHLIGHT: 2,
10
+ MERGE: 3,
11
+ CHERRY_PICK: 4
12
+ }, yr = lr.gitGraph, z = /* @__PURE__ */ h(() => dr({
13
+ ...yr,
14
+ ...hr().gitGraph
15
+ }), "getConfig"), i = new F(() => {
16
+ const t = z(), r = t.mainBranchName, a = t.mainBranchOrder;
17
+ return {
18
+ mainBranchName: r,
19
+ commits: /* @__PURE__ */ new Map(),
20
+ head: null,
21
+ branchConfig: /* @__PURE__ */ new Map([[r, { name: r, order: a }]]),
22
+ branches: /* @__PURE__ */ new Map([[r, null]]),
23
+ currBranch: r,
24
+ direction: "LR",
25
+ seq: 0,
26
+ options: {}
27
+ };
28
+ });
29
+ function j() {
30
+ return $r({ length: 7 });
31
+ }
32
+ h(j, "getID");
33
+ function N(t, r) {
34
+ const a = /* @__PURE__ */ Object.create(null);
35
+ return t.reduce((s, e) => {
36
+ const n = r(e);
37
+ return a[n] || (a[n] = !0, s.push(e)), s;
38
+ }, []);
39
+ }
40
+ h(N, "uniqBy");
41
+ var xr = /* @__PURE__ */ h(function(t) {
42
+ i.records.direction = t;
43
+ }, "setDirection"), ur = /* @__PURE__ */ h(function(t) {
44
+ m.debug("options str", t), t = t == null ? void 0 : t.trim(), t = t || "{}";
45
+ try {
46
+ i.records.options = JSON.parse(t);
47
+ } catch (r) {
48
+ m.error("error while parsing gitGraph options", r.message);
49
+ }
50
+ }, "setOptions"), pr = /* @__PURE__ */ h(function() {
51
+ return i.records.options;
52
+ }, "getOptions"), br = /* @__PURE__ */ h(function(t) {
53
+ let r = t.msg, a = t.id;
54
+ const s = t.type;
55
+ let e = t.tags;
56
+ m.info("commit", r, a, s, e), m.debug("Entering commit:", r, a, s, e);
57
+ const n = z();
58
+ a = B.sanitizeText(a, n), r = B.sanitizeText(r, n), e = e == null ? void 0 : e.map((o) => B.sanitizeText(o, n));
59
+ const c = {
60
+ id: a || i.records.seq + "-" + j(),
61
+ message: r,
62
+ seq: i.records.seq++,
63
+ type: s ?? u.NORMAL,
64
+ tags: e ?? [],
65
+ parents: i.records.head == null ? [] : [i.records.head.id],
66
+ branch: i.records.currBranch
67
+ };
68
+ i.records.head = c, m.info("main branch", n.mainBranchName), i.records.commits.has(c.id) && m.warn(`Commit ID ${c.id} already exists`), i.records.commits.set(c.id, c), i.records.branches.set(i.records.currBranch, c.id), m.debug("in pushCommit " + c.id);
69
+ }, "commit"), mr = /* @__PURE__ */ h(function(t) {
70
+ let r = t.name;
71
+ const a = t.order;
72
+ if (r = B.sanitizeText(r, z()), i.records.branches.has(r))
73
+ throw new Error(
74
+ `Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`
75
+ );
76
+ i.records.branches.set(r, i.records.head != null ? i.records.head.id : null), i.records.branchConfig.set(r, { name: r, order: a }), _(r), m.debug("in createBranch");
77
+ }, "branch"), wr = /* @__PURE__ */ h((t) => {
78
+ let r = t.branch, a = t.id;
79
+ const s = t.type, e = t.tags, n = z();
80
+ r = B.sanitizeText(r, n), a && (a = B.sanitizeText(a, n));
81
+ const c = i.records.branches.get(i.records.currBranch), o = i.records.branches.get(r), $ = c ? i.records.commits.get(c) : void 0, l = o ? i.records.commits.get(o) : void 0;
82
+ if ($ && l && $.branch === r)
83
+ throw new Error(`Cannot merge branch '${r}' into itself.`);
84
+ if (i.records.currBranch === r) {
85
+ const d = new Error('Incorrect usage of "merge". Cannot merge a branch to itself');
86
+ throw d.hash = {
87
+ text: `merge ${r}`,
88
+ token: `merge ${r}`,
89
+ expected: ["branch abc"]
90
+ }, d;
91
+ }
92
+ if ($ === void 0 || !$) {
93
+ const d = new Error(
94
+ `Incorrect usage of "merge". Current branch (${i.records.currBranch})has no commits`
95
+ );
96
+ throw d.hash = {
97
+ text: `merge ${r}`,
98
+ token: `merge ${r}`,
99
+ expected: ["commit"]
100
+ }, d;
101
+ }
102
+ if (!i.records.branches.has(r)) {
103
+ const d = new Error(
104
+ 'Incorrect usage of "merge". Branch to be merged (' + r + ") does not exist"
105
+ );
106
+ throw d.hash = {
107
+ text: `merge ${r}`,
108
+ token: `merge ${r}`,
109
+ expected: [`branch ${r}`]
110
+ }, d;
111
+ }
112
+ if (l === void 0 || !l) {
113
+ const d = new Error(
114
+ 'Incorrect usage of "merge". Branch to be merged (' + r + ") has no commits"
115
+ );
116
+ throw d.hash = {
117
+ text: `merge ${r}`,
118
+ token: `merge ${r}`,
119
+ expected: ['"commit"']
120
+ }, d;
121
+ }
122
+ if ($ === l) {
123
+ const d = new Error('Incorrect usage of "merge". Both branches have same head');
124
+ throw d.hash = {
125
+ text: `merge ${r}`,
126
+ token: `merge ${r}`,
127
+ expected: ["branch abc"]
128
+ }, d;
129
+ }
130
+ if (a && i.records.commits.has(a)) {
131
+ const d = new Error(
132
+ 'Incorrect usage of "merge". Commit with id:' + a + " already exists, use different custom id"
133
+ );
134
+ throw d.hash = {
135
+ text: `merge ${r} ${a} ${s} ${e == null ? void 0 : e.join(" ")}`,
136
+ token: `merge ${r} ${a} ${s} ${e == null ? void 0 : e.join(" ")}`,
137
+ expected: [
138
+ `merge ${r} ${a}_UNIQUE ${s} ${e == null ? void 0 : e.join(" ")}`
139
+ ]
140
+ }, d;
141
+ }
142
+ const f = o || "", g = {
143
+ id: a || `${i.records.seq}-${j()}`,
144
+ message: `merged branch ${r} into ${i.records.currBranch}`,
145
+ seq: i.records.seq++,
146
+ parents: i.records.head == null ? [] : [i.records.head.id, f],
147
+ branch: i.records.currBranch,
148
+ type: u.MERGE,
149
+ customType: s,
150
+ customId: !!a,
151
+ tags: e ?? []
152
+ };
153
+ i.records.head = g, i.records.commits.set(g.id, g), i.records.branches.set(i.records.currBranch, g.id), m.debug(i.records.branches), m.debug("in mergeBranch");
154
+ }, "merge"), vr = /* @__PURE__ */ h(function(t) {
155
+ let r = t.id, a = t.targetId, s = t.tags, e = t.parent;
156
+ m.debug("Entering cherryPick:", r, a, s);
157
+ const n = z();
158
+ if (r = B.sanitizeText(r, n), a = B.sanitizeText(a, n), s = s == null ? void 0 : s.map(($) => B.sanitizeText($, n)), e = B.sanitizeText(e, n), !r || !i.records.commits.has(r)) {
159
+ const $ = new Error(
160
+ 'Incorrect usage of "cherryPick". Source commit id should exist and provided'
161
+ );
162
+ throw $.hash = {
163
+ text: `cherryPick ${r} ${a}`,
164
+ token: `cherryPick ${r} ${a}`,
165
+ expected: ["cherry-pick abc"]
166
+ }, $;
167
+ }
168
+ const c = i.records.commits.get(r);
169
+ if (c === void 0 || !c)
170
+ throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');
171
+ if (e && !(Array.isArray(c.parents) && c.parents.includes(e)))
172
+ throw new Error(
173
+ "Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit."
174
+ );
175
+ const o = c.branch;
176
+ if (c.type === u.MERGE && !e)
177
+ throw new Error(
178
+ "Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified."
179
+ );
180
+ if (!a || !i.records.commits.has(a)) {
181
+ if (o === i.records.currBranch) {
182
+ const g = new Error(
183
+ 'Incorrect usage of "cherryPick". Source commit is already on current branch'
184
+ );
185
+ throw g.hash = {
186
+ text: `cherryPick ${r} ${a}`,
187
+ token: `cherryPick ${r} ${a}`,
188
+ expected: ["cherry-pick abc"]
189
+ }, g;
190
+ }
191
+ const $ = i.records.branches.get(i.records.currBranch);
192
+ if ($ === void 0 || !$) {
193
+ const g = new Error(
194
+ `Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`
195
+ );
196
+ throw g.hash = {
197
+ text: `cherryPick ${r} ${a}`,
198
+ token: `cherryPick ${r} ${a}`,
199
+ expected: ["cherry-pick abc"]
200
+ }, g;
201
+ }
202
+ const l = i.records.commits.get($);
203
+ if (l === void 0 || !l) {
204
+ const g = new Error(
205
+ `Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`
206
+ );
207
+ throw g.hash = {
208
+ text: `cherryPick ${r} ${a}`,
209
+ token: `cherryPick ${r} ${a}`,
210
+ expected: ["cherry-pick abc"]
211
+ }, g;
212
+ }
213
+ const f = {
214
+ id: i.records.seq + "-" + j(),
215
+ message: `cherry-picked ${c == null ? void 0 : c.message} into ${i.records.currBranch}`,
216
+ seq: i.records.seq++,
217
+ parents: i.records.head == null ? [] : [i.records.head.id, c.id],
218
+ branch: i.records.currBranch,
219
+ type: u.CHERRY_PICK,
220
+ tags: s ? s.filter(Boolean) : [
221
+ `cherry-pick:${c.id}${c.type === u.MERGE ? `|parent:${e}` : ""}`
222
+ ]
223
+ };
224
+ i.records.head = f, i.records.commits.set(f.id, f), i.records.branches.set(i.records.currBranch, f.id), m.debug(i.records.branches), m.debug("in cherryPick");
225
+ }
226
+ }, "cherryPick"), _ = /* @__PURE__ */ h(function(t) {
227
+ if (t = B.sanitizeText(t, z()), i.records.branches.has(t)) {
228
+ i.records.currBranch = t;
229
+ const r = i.records.branches.get(i.records.currBranch);
230
+ r === void 0 || !r ? i.records.head = null : i.records.head = i.records.commits.get(r) ?? null;
231
+ } else {
232
+ const r = new Error(
233
+ `Trying to checkout branch which is not yet created. (Help try using "branch ${t}")`
234
+ );
235
+ throw r.hash = {
236
+ text: `checkout ${t}`,
237
+ token: `checkout ${t}`,
238
+ expected: [`branch ${t}`]
239
+ }, r;
240
+ }
241
+ }, "checkout");
242
+ function D(t, r, a) {
243
+ const s = t.indexOf(r);
244
+ s === -1 ? t.push(a) : t.splice(s, 1, a);
245
+ }
246
+ h(D, "upsert");
247
+ function A(t) {
248
+ const r = t.reduce((e, n) => e.seq > n.seq ? e : n, t[0]);
249
+ let a = "";
250
+ t.forEach(function(e) {
251
+ e === r ? a += " *" : a += " |";
252
+ });
253
+ const s = [a, r.id, r.seq];
254
+ for (const e in i.records.branches)
255
+ i.records.branches.get(e) === r.id && s.push(e);
256
+ if (m.debug(s.join(" ")), r.parents && r.parents.length == 2 && r.parents[0] && r.parents[1]) {
257
+ const e = i.records.commits.get(r.parents[0]);
258
+ D(t, r, e), r.parents[1] && t.push(i.records.commits.get(r.parents[1]));
259
+ } else {
260
+ if (r.parents.length == 0)
261
+ return;
262
+ if (r.parents[0]) {
263
+ const e = i.records.commits.get(r.parents[0]);
264
+ D(t, r, e);
265
+ }
266
+ }
267
+ t = N(t, (e) => e.id), A(t);
268
+ }
269
+ h(A, "prettyPrintCommitHistory");
270
+ var Cr = /* @__PURE__ */ h(function() {
271
+ m.debug(i.records.commits);
272
+ const t = V()[0];
273
+ A([t]);
274
+ }, "prettyPrint"), Er = /* @__PURE__ */ h(function() {
275
+ i.reset(), ir();
276
+ }, "clear"), Br = /* @__PURE__ */ h(function() {
277
+ return [...i.records.branchConfig.values()].map((r, a) => r.order !== null && r.order !== void 0 ? r : {
278
+ ...r,
279
+ order: parseFloat(`0.${a}`)
280
+ }).sort((r, a) => (r.order ?? 0) - (a.order ?? 0)).map(({ name: r }) => ({ name: r }));
281
+ }, "getBranchesAsObjArray"), kr = /* @__PURE__ */ h(function() {
282
+ return i.records.branches;
283
+ }, "getBranches"), Lr = /* @__PURE__ */ h(function() {
284
+ return i.records.commits;
285
+ }, "getCommits"), V = /* @__PURE__ */ h(function() {
286
+ const t = [...i.records.commits.values()];
287
+ return t.forEach(function(r) {
288
+ m.debug(r.id);
289
+ }), t.sort((r, a) => r.seq - a.seq), t;
290
+ }, "getCommitsArray"), Tr = /* @__PURE__ */ h(function() {
291
+ return i.records.currBranch;
292
+ }, "getCurrentBranch"), Mr = /* @__PURE__ */ h(function() {
293
+ return i.records.direction;
294
+ }, "getDirection"), Rr = /* @__PURE__ */ h(function() {
295
+ return i.records.head;
296
+ }, "getHead"), X = {
297
+ commitType: u,
298
+ getConfig: z,
299
+ setDirection: xr,
300
+ setOptions: ur,
301
+ getOptions: pr,
302
+ commit: br,
303
+ branch: mr,
304
+ merge: wr,
305
+ cherryPick: vr,
306
+ checkout: _,
307
+ //reset,
308
+ prettyPrint: Cr,
309
+ clear: Er,
310
+ getBranchesAsObjArray: Br,
311
+ getBranches: kr,
312
+ getCommits: Lr,
313
+ getCommitsArray: V,
314
+ getCurrentBranch: Tr,
315
+ getDirection: Mr,
316
+ getHead: Rr,
317
+ setAccTitle: nr,
318
+ getAccTitle: ar,
319
+ getAccDescription: tr,
320
+ setAccDescription: er,
321
+ setDiagramTitle: rr,
322
+ getDiagramTitle: U
323
+ }, Ir = /* @__PURE__ */ h((t, r) => {
324
+ Z(t, r), t.dir && r.setDirection(t.dir);
325
+ for (const a of t.statements)
326
+ qr(a, r);
327
+ }, "populate"), qr = /* @__PURE__ */ h((t, r) => {
328
+ const s = {
329
+ Commit: /* @__PURE__ */ h((e) => r.commit(Or(e)), "Commit"),
330
+ Branch: /* @__PURE__ */ h((e) => r.branch(zr(e)), "Branch"),
331
+ Merge: /* @__PURE__ */ h((e) => r.merge(Gr(e)), "Merge"),
332
+ Checkout: /* @__PURE__ */ h((e) => r.checkout(Hr(e)), "Checkout"),
333
+ CherryPicking: /* @__PURE__ */ h((e) => r.cherryPick(Pr(e)), "CherryPicking")
334
+ }[t.$type];
335
+ s ? s(t) : m.error(`Unknown statement type: ${t.$type}`);
336
+ }, "parseStatement"), Or = /* @__PURE__ */ h((t) => ({
337
+ id: t.id,
338
+ msg: t.message ?? "",
339
+ type: t.type !== void 0 ? u[t.type] : u.NORMAL,
340
+ tags: t.tags ?? void 0
341
+ }), "parseCommit"), zr = /* @__PURE__ */ h((t) => ({
342
+ name: t.name,
343
+ order: t.order ?? 0
344
+ }), "parseBranch"), Gr = /* @__PURE__ */ h((t) => ({
345
+ branch: t.branch,
346
+ id: t.id ?? "",
347
+ type: t.type !== void 0 ? u[t.type] : void 0,
348
+ tags: t.tags ?? void 0
349
+ }), "parseMerge"), Hr = /* @__PURE__ */ h((t) => t.branch, "parseCheckout"), Pr = /* @__PURE__ */ h((t) => {
350
+ var a;
351
+ return {
352
+ id: t.id,
353
+ targetId: "",
354
+ tags: ((a = t.tags) == null ? void 0 : a.length) === 0 ? void 0 : t.tags,
355
+ parent: t.parent
356
+ };
357
+ }, "parseCherryPicking"), Wr = {
358
+ parse: /* @__PURE__ */ h(async (t) => {
359
+ const r = await fr("gitGraph", t);
360
+ m.debug(r), Ir(r, X);
361
+ }, "parse")
362
+ }, S = sr(), b = S == null ? void 0 : S.gitGraph, R = 10, I = 40, k = 4, L = 2, O = 8, C = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), P = 30, G = /* @__PURE__ */ new Map(), W = [], M = 0, x = "LR", jr = /* @__PURE__ */ h(() => {
363
+ C.clear(), E.clear(), G.clear(), M = 0, W = [], x = "LR";
364
+ }, "clear"), J = /* @__PURE__ */ h((t) => {
365
+ const r = document.createElementNS("http://www.w3.org/2000/svg", "text");
366
+ return (typeof t == "string" ? t.split(/\\n|\n|<br\s*\/?>/gi) : t).forEach((s) => {
367
+ const e = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
368
+ e.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:space", "preserve"), e.setAttribute("dy", "1em"), e.setAttribute("x", "0"), e.setAttribute("class", "row"), e.textContent = s.trim(), r.appendChild(e);
369
+ }), r;
370
+ }, "drawText"), Q = /* @__PURE__ */ h((t) => {
371
+ let r, a, s;
372
+ return x === "BT" ? (a = /* @__PURE__ */ h((e, n) => e <= n, "comparisonFunc"), s = 1 / 0) : (a = /* @__PURE__ */ h((e, n) => e >= n, "comparisonFunc"), s = 0), t.forEach((e) => {
373
+ var c, o;
374
+ const n = x === "TB" || x == "BT" ? (c = E.get(e)) == null ? void 0 : c.y : (o = E.get(e)) == null ? void 0 : o.x;
375
+ n !== void 0 && a(n, s) && (r = e, s = n);
376
+ }), r;
377
+ }, "findClosestParent"), Sr = /* @__PURE__ */ h((t) => {
378
+ let r = "", a = 1 / 0;
379
+ return t.forEach((s) => {
380
+ const e = E.get(s).y;
381
+ e <= a && (r = s, a = e);
382
+ }), r || void 0;
383
+ }, "findClosestParentBT"), Dr = /* @__PURE__ */ h((t, r, a) => {
384
+ let s = a, e = a;
385
+ const n = [];
386
+ t.forEach((c) => {
387
+ const o = r.get(c);
388
+ if (!o)
389
+ throw new Error(`Commit not found for key ${c}`);
390
+ o.parents.length ? (s = Yr(o), e = Math.max(s, e)) : n.push(o), Kr(o, s);
391
+ }), s = e, n.forEach((c) => {
392
+ Nr(c, s, a);
393
+ }), t.forEach((c) => {
394
+ const o = r.get(c);
395
+ if (o != null && o.parents.length) {
396
+ const $ = Sr(o.parents);
397
+ s = E.get($).y - I, s <= e && (e = s);
398
+ const l = C.get(o.branch).pos, f = s - R;
399
+ E.set(o.id, { x: l, y: f });
400
+ }
401
+ });
402
+ }, "setParallelBTPos"), Ar = /* @__PURE__ */ h((t) => {
403
+ var s;
404
+ const r = Q(t.parents.filter((e) => e !== null));
405
+ if (!r)
406
+ throw new Error(`Closest parent not found for commit ${t.id}`);
407
+ const a = (s = E.get(r)) == null ? void 0 : s.y;
408
+ if (a === void 0)
409
+ throw new Error(`Closest parent position not found for commit ${t.id}`);
410
+ return a;
411
+ }, "findClosestParentPos"), Yr = /* @__PURE__ */ h((t) => Ar(t) + I, "calculateCommitPosition"), Kr = /* @__PURE__ */ h((t, r) => {
412
+ const a = C.get(t.branch);
413
+ if (!a)
414
+ throw new Error(`Branch not found for commit ${t.id}`);
415
+ const s = a.pos, e = r + R;
416
+ return E.set(t.id, { x: s, y: e }), { x: s, y: e };
417
+ }, "setCommitPosition"), Nr = /* @__PURE__ */ h((t, r, a) => {
418
+ const s = C.get(t.branch);
419
+ if (!s)
420
+ throw new Error(`Branch not found for commit ${t.id}`);
421
+ const e = r + a, n = s.pos;
422
+ E.set(t.id, { x: n, y: e });
423
+ }, "setRootPosition"), _r = /* @__PURE__ */ h((t, r, a, s, e, n) => {
424
+ if (n === u.HIGHLIGHT)
425
+ t.append("rect").attr("x", a.x - 10).attr("y", a.y - 10).attr("width", 20).attr("height", 20).attr(
426
+ "class",
427
+ `commit ${r.id} commit-highlight${e % O} ${s}-outer`
428
+ ), t.append("rect").attr("x", a.x - 6).attr("y", a.y - 6).attr("width", 12).attr("height", 12).attr(
429
+ "class",
430
+ `commit ${r.id} commit${e % O} ${s}-inner`
431
+ );
432
+ else if (n === u.CHERRY_PICK)
433
+ t.append("circle").attr("cx", a.x).attr("cy", a.y).attr("r", 10).attr("class", `commit ${r.id} ${s}`), t.append("circle").attr("cx", a.x - 3).attr("cy", a.y + 2).attr("r", 2.75).attr("fill", "#fff").attr("class", `commit ${r.id} ${s}`), t.append("circle").attr("cx", a.x + 3).attr("cy", a.y + 2).attr("r", 2.75).attr("fill", "#fff").attr("class", `commit ${r.id} ${s}`), t.append("line").attr("x1", a.x + 3).attr("y1", a.y + 1).attr("x2", a.x).attr("y2", a.y - 5).attr("stroke", "#fff").attr("class", `commit ${r.id} ${s}`), t.append("line").attr("x1", a.x - 3).attr("y1", a.y + 1).attr("x2", a.x).attr("y2", a.y - 5).attr("stroke", "#fff").attr("class", `commit ${r.id} ${s}`);
434
+ else {
435
+ const c = t.append("circle");
436
+ if (c.attr("cx", a.x), c.attr("cy", a.y), c.attr("r", r.type === u.MERGE ? 9 : 10), c.attr("class", `commit ${r.id} commit${e % O}`), n === u.MERGE) {
437
+ const o = t.append("circle");
438
+ o.attr("cx", a.x), o.attr("cy", a.y), o.attr("r", 6), o.attr(
439
+ "class",
440
+ `commit ${s} ${r.id} commit${e % O}`
441
+ );
442
+ }
443
+ n === u.REVERSE && t.append("path").attr(
444
+ "d",
445
+ `M ${a.x - 5},${a.y - 5}L${a.x + 5},${a.y + 5}M${a.x - 5},${a.y + 5}L${a.x + 5},${a.y - 5}`
446
+ ).attr("class", `commit ${s} ${r.id} commit${e % O}`);
447
+ }
448
+ }, "drawCommitBullet"), Vr = /* @__PURE__ */ h((t, r, a, s) => {
449
+ var e;
450
+ if (r.type !== u.CHERRY_PICK && (r.customId && r.type === u.MERGE || r.type !== u.MERGE) && (b != null && b.showCommitLabel)) {
451
+ const n = t.append("g"), c = n.insert("rect").attr("class", "commit-label-bkg"), o = n.append("text").attr("x", s).attr("y", a.y + 25).attr("class", "commit-label").text(r.id), $ = (e = o.node()) == null ? void 0 : e.getBBox();
452
+ if ($ && (c.attr("x", a.posWithOffset - $.width / 2 - L).attr("y", a.y + 13.5).attr("width", $.width + 2 * L).attr("height", $.height + 2 * L), x === "TB" || x === "BT" ? (c.attr("x", a.x - ($.width + 4 * k + 5)).attr("y", a.y - 12), o.attr("x", a.x - ($.width + 4 * k)).attr("y", a.y + $.height - 12)) : o.attr("x", a.posWithOffset - $.width / 2), b.rotateCommitLabel))
453
+ if (x === "TB" || x === "BT")
454
+ o.attr(
455
+ "transform",
456
+ "rotate(-45, " + a.x + ", " + a.y + ")"
457
+ ), c.attr(
458
+ "transform",
459
+ "rotate(-45, " + a.x + ", " + a.y + ")"
460
+ );
461
+ else {
462
+ const l = -7.5 - ($.width + 10) / 25 * 9.5, f = 10 + $.width / 25 * 8.5;
463
+ n.attr(
464
+ "transform",
465
+ "translate(" + l + ", " + f + ") rotate(-45, " + s + ", " + a.y + ")"
466
+ );
467
+ }
468
+ }
469
+ }, "drawCommitLabel"), Xr = /* @__PURE__ */ h((t, r, a, s) => {
470
+ var e;
471
+ if (r.tags.length > 0) {
472
+ let n = 0, c = 0, o = 0;
473
+ const $ = [];
474
+ for (const l of r.tags.reverse()) {
475
+ const f = t.insert("polygon"), g = t.append("circle"), d = t.append("text").attr("y", a.y - 16 - n).attr("class", "tag-label").text(l), y = (e = d.node()) == null ? void 0 : e.getBBox();
476
+ if (!y)
477
+ throw new Error("Tag bbox not found");
478
+ c = Math.max(c, y.width), o = Math.max(o, y.height), d.attr("x", a.posWithOffset - y.width / 2), $.push({
479
+ tag: d,
480
+ hole: g,
481
+ rect: f,
482
+ yOffset: n
483
+ }), n += 20;
484
+ }
485
+ for (const { tag: l, hole: f, rect: g, yOffset: d } of $) {
486
+ const y = o / 2, p = a.y - 19.2 - d;
487
+ if (g.attr("class", "tag-label-bkg").attr(
488
+ "points",
489
+ `
490
+ ${s - c / 2 - k / 2},${p + L}
491
+ ${s - c / 2 - k / 2},${p - L}
492
+ ${a.posWithOffset - c / 2 - k},${p - y - L}
493
+ ${a.posWithOffset + c / 2 + k},${p - y - L}
494
+ ${a.posWithOffset + c / 2 + k},${p + y + L}
495
+ ${a.posWithOffset - c / 2 - k},${p + y + L}`
496
+ ), f.attr("cy", p).attr("cx", s - c / 2 + k / 2).attr("r", 1.5).attr("class", "tag-hole"), x === "TB" || x === "BT") {
497
+ const w = s + d;
498
+ g.attr("class", "tag-label-bkg").attr(
499
+ "points",
500
+ `
501
+ ${a.x},${w + 2}
502
+ ${a.x},${w - 2}
503
+ ${a.x + R},${w - y - 2}
504
+ ${a.x + R + c + 4},${w - y - 2}
505
+ ${a.x + R + c + 4},${w + y + 2}
506
+ ${a.x + R},${w + y + 2}`
507
+ ).attr("transform", "translate(12,12) rotate(45, " + a.x + "," + s + ")"), f.attr("cx", a.x + k / 2).attr("cy", w).attr("transform", "translate(12,12) rotate(45, " + a.x + "," + s + ")"), l.attr("x", a.x + 5).attr("y", w + 3).attr("transform", "translate(14,14) rotate(45, " + a.x + "," + s + ")");
508
+ }
509
+ }
510
+ }
511
+ }, "drawCommitTags"), Jr = /* @__PURE__ */ h((t) => {
512
+ switch (t.customType ?? t.type) {
513
+ case u.NORMAL:
514
+ return "commit-normal";
515
+ case u.REVERSE:
516
+ return "commit-reverse";
517
+ case u.HIGHLIGHT:
518
+ return "commit-highlight";
519
+ case u.MERGE:
520
+ return "commit-merge";
521
+ case u.CHERRY_PICK:
522
+ return "commit-cherry-pick";
523
+ default:
524
+ return "commit-normal";
525
+ }
526
+ }, "getCommitClassType"), Qr = /* @__PURE__ */ h((t, r, a, s) => {
527
+ const e = { x: 0, y: 0 };
528
+ if (t.parents.length > 0) {
529
+ const n = Q(t.parents);
530
+ if (n) {
531
+ const c = s.get(n) ?? e;
532
+ return r === "TB" ? c.y + I : r === "BT" ? (s.get(t.id) ?? e).y - I : c.x + I;
533
+ }
534
+ } else
535
+ return r === "TB" ? P : r === "BT" ? (s.get(t.id) ?? e).y - I : 0;
536
+ return 0;
537
+ }, "calculatePosition"), Zr = /* @__PURE__ */ h((t, r, a) => {
538
+ var c, o;
539
+ const s = x === "BT" && a ? r : r + R, e = x === "TB" || x === "BT" ? s : (c = C.get(t.branch)) == null ? void 0 : c.pos, n = x === "TB" || x === "BT" ? (o = C.get(t.branch)) == null ? void 0 : o.pos : s;
540
+ if (n === void 0 || e === void 0)
541
+ throw new Error(`Position were undefined for commit ${t.id}`);
542
+ return { x: n, y: e, posWithOffset: s };
543
+ }, "getCommitPosition"), K = /* @__PURE__ */ h((t, r, a) => {
544
+ if (!b)
545
+ throw new Error("GitGraph config not found");
546
+ const s = t.append("g").attr("class", "commit-bullets"), e = t.append("g").attr("class", "commit-labels");
547
+ let n = x === "TB" || x === "BT" ? P : 0;
548
+ const c = [...r.keys()], o = (b == null ? void 0 : b.parallelCommits) ?? !1, $ = /* @__PURE__ */ h((f, g) => {
549
+ var p, w;
550
+ const d = (p = r.get(f)) == null ? void 0 : p.seq, y = (w = r.get(g)) == null ? void 0 : w.seq;
551
+ return d !== void 0 && y !== void 0 ? d - y : 0;
552
+ }, "sortKeys");
553
+ let l = c.sort($);
554
+ x === "BT" && (o && Dr(l, r, n), l = l.reverse()), l.forEach((f) => {
555
+ var y;
556
+ const g = r.get(f);
557
+ if (!g)
558
+ throw new Error(`Commit not found for key ${f}`);
559
+ o && (n = Qr(g, x, n, E));
560
+ const d = Zr(g, n, o);
561
+ if (a) {
562
+ const p = Jr(g), w = g.customType ?? g.type, q = ((y = C.get(g.branch)) == null ? void 0 : y.index) ?? 0;
563
+ _r(s, g, d, p, q, w), Vr(e, g, d, n), Xr(e, g, d, n);
564
+ }
565
+ x === "TB" || x === "BT" ? E.set(g.id, { x: d.x, y: d.posWithOffset }) : E.set(g.id, { x: d.posWithOffset, y: d.y }), n = x === "BT" && o ? n + I : n + I + R, n > M && (M = n);
566
+ });
567
+ }, "drawCommits"), Fr = /* @__PURE__ */ h((t, r, a, s, e) => {
568
+ const c = (x === "TB" || x === "BT" ? a.x < s.x : a.y < s.y) ? r.branch : t.branch, o = /* @__PURE__ */ h((l) => l.branch === c, "isOnBranchToGetCurve"), $ = /* @__PURE__ */ h((l) => l.seq > t.seq && l.seq < r.seq, "isBetweenCommits");
569
+ return [...e.values()].some((l) => $(l) && o(l));
570
+ }, "shouldRerouteArrow"), H = /* @__PURE__ */ h((t, r, a = 0) => {
571
+ const s = t + Math.abs(t - r) / 2;
572
+ if (a > 5)
573
+ return s;
574
+ if (W.every((c) => Math.abs(c - s) >= 10))
575
+ return W.push(s), s;
576
+ const n = Math.abs(t - r);
577
+ return H(t, r - n / 5, a + 1);
578
+ }, "findLane"), Ur = /* @__PURE__ */ h((t, r, a, s) => {
579
+ var y, p, w, q, Y;
580
+ const e = E.get(r.id), n = E.get(a.id);
581
+ if (e === void 0 || n === void 0)
582
+ throw new Error(`Commit positions not found for commits ${r.id} and ${a.id}`);
583
+ const c = Fr(r, a, e, n, s);
584
+ let o = "", $ = "", l = 0, f = 0, g = (y = C.get(a.branch)) == null ? void 0 : y.index;
585
+ a.type === u.MERGE && r.id !== a.parents[0] && (g = (p = C.get(r.branch)) == null ? void 0 : p.index);
586
+ let d;
587
+ if (c) {
588
+ o = "A 10 10, 0, 0, 0,", $ = "A 10 10, 0, 0, 1,", l = 10, f = 10;
589
+ const T = e.y < n.y ? H(e.y, n.y) : H(n.y, e.y), v = e.x < n.x ? H(e.x, n.x) : H(n.x, e.x);
590
+ x === "TB" ? e.x < n.x ? d = `M ${e.x} ${e.y} L ${v - l} ${e.y} ${$} ${v} ${e.y + f} L ${v} ${n.y - l} ${o} ${v + f} ${n.y} L ${n.x} ${n.y}` : (g = (w = C.get(r.branch)) == null ? void 0 : w.index, d = `M ${e.x} ${e.y} L ${v + l} ${e.y} ${o} ${v} ${e.y + f} L ${v} ${n.y - l} ${$} ${v - f} ${n.y} L ${n.x} ${n.y}`) : x === "BT" ? e.x < n.x ? d = `M ${e.x} ${e.y} L ${v - l} ${e.y} ${o} ${v} ${e.y - f} L ${v} ${n.y + l} ${$} ${v + f} ${n.y} L ${n.x} ${n.y}` : (g = (q = C.get(r.branch)) == null ? void 0 : q.index, d = `M ${e.x} ${e.y} L ${v + l} ${e.y} ${$} ${v} ${e.y - f} L ${v} ${n.y + l} ${o} ${v - f} ${n.y} L ${n.x} ${n.y}`) : e.y < n.y ? d = `M ${e.x} ${e.y} L ${e.x} ${T - l} ${o} ${e.x + f} ${T} L ${n.x - l} ${T} ${$} ${n.x} ${T + f} L ${n.x} ${n.y}` : (g = (Y = C.get(r.branch)) == null ? void 0 : Y.index, d = `M ${e.x} ${e.y} L ${e.x} ${T + l} ${$} ${e.x + f} ${T} L ${n.x - l} ${T} ${o} ${n.x} ${T - f} L ${n.x} ${n.y}`);
591
+ } else
592
+ o = "A 20 20, 0, 0, 0,", $ = "A 20 20, 0, 0, 1,", l = 20, f = 20, x === "TB" ? (e.x < n.x && (a.type === u.MERGE && r.id !== a.parents[0] ? d = `M ${e.x} ${e.y} L ${e.x} ${n.y - l} ${o} ${e.x + f} ${n.y} L ${n.x} ${n.y}` : d = `M ${e.x} ${e.y} L ${n.x - l} ${e.y} ${$} ${n.x} ${e.y + f} L ${n.x} ${n.y}`), e.x > n.x && (o = "A 20 20, 0, 0, 0,", $ = "A 20 20, 0, 0, 1,", l = 20, f = 20, a.type === u.MERGE && r.id !== a.parents[0] ? d = `M ${e.x} ${e.y} L ${e.x} ${n.y - l} ${$} ${e.x - f} ${n.y} L ${n.x} ${n.y}` : d = `M ${e.x} ${e.y} L ${n.x + l} ${e.y} ${o} ${n.x} ${e.y + f} L ${n.x} ${n.y}`), e.x === n.x && (d = `M ${e.x} ${e.y} L ${n.x} ${n.y}`)) : x === "BT" ? (e.x < n.x && (a.type === u.MERGE && r.id !== a.parents[0] ? d = `M ${e.x} ${e.y} L ${e.x} ${n.y + l} ${$} ${e.x + f} ${n.y} L ${n.x} ${n.y}` : d = `M ${e.x} ${e.y} L ${n.x - l} ${e.y} ${o} ${n.x} ${e.y - f} L ${n.x} ${n.y}`), e.x > n.x && (o = "A 20 20, 0, 0, 0,", $ = "A 20 20, 0, 0, 1,", l = 20, f = 20, a.type === u.MERGE && r.id !== a.parents[0] ? d = `M ${e.x} ${e.y} L ${e.x} ${n.y + l} ${o} ${e.x - f} ${n.y} L ${n.x} ${n.y}` : d = `M ${e.x} ${e.y} L ${n.x - l} ${e.y} ${o} ${n.x} ${e.y - f} L ${n.x} ${n.y}`), e.x === n.x && (d = `M ${e.x} ${e.y} L ${n.x} ${n.y}`)) : (e.y < n.y && (a.type === u.MERGE && r.id !== a.parents[0] ? d = `M ${e.x} ${e.y} L ${n.x - l} ${e.y} ${$} ${n.x} ${e.y + f} L ${n.x} ${n.y}` : d = `M ${e.x} ${e.y} L ${e.x} ${n.y - l} ${o} ${e.x + f} ${n.y} L ${n.x} ${n.y}`), e.y > n.y && (a.type === u.MERGE && r.id !== a.parents[0] ? d = `M ${e.x} ${e.y} L ${n.x - l} ${e.y} ${o} ${n.x} ${e.y - f} L ${n.x} ${n.y}` : d = `M ${e.x} ${e.y} L ${e.x} ${n.y + l} ${$} ${e.x + f} ${n.y} L ${n.x} ${n.y}`), e.y === n.y && (d = `M ${e.x} ${e.y} L ${n.x} ${n.y}`));
593
+ if (d === void 0)
594
+ throw new Error("Line definition not found");
595
+ t.append("path").attr("d", d).attr("class", "arrow arrow" + g % O);
596
+ }, "drawArrow"), re = /* @__PURE__ */ h((t, r) => {
597
+ const a = t.append("g").attr("class", "commit-arrows");
598
+ [...r.keys()].forEach((s) => {
599
+ const e = r.get(s);
600
+ e.parents && e.parents.length > 0 && e.parents.forEach((n) => {
601
+ Ur(a, r.get(n), e, r);
602
+ });
603
+ });
604
+ }, "drawArrows"), ee = /* @__PURE__ */ h((t, r) => {
605
+ const a = t.append("g");
606
+ r.forEach((s, e) => {
607
+ var p;
608
+ const n = e % O, c = (p = C.get(s.name)) == null ? void 0 : p.pos;
609
+ if (c === void 0)
610
+ throw new Error(`Position not found for branch ${s.name}`);
611
+ const o = a.append("line");
612
+ o.attr("x1", 0), o.attr("y1", c), o.attr("x2", M), o.attr("y2", c), o.attr("class", "branch branch" + n), x === "TB" ? (o.attr("y1", P), o.attr("x1", c), o.attr("y2", M), o.attr("x2", c)) : x === "BT" && (o.attr("y1", M), o.attr("x1", c), o.attr("y2", P), o.attr("x2", c)), W.push(c);
613
+ const $ = s.name, l = J($), f = a.insert("rect"), d = a.insert("g").attr("class", "branchLabel").insert("g").attr("class", "label branch-label" + n);
614
+ d.node().appendChild(l);
615
+ const y = l.getBBox();
616
+ f.attr("class", "branchLabelBkg label" + n).attr("rx", 4).attr("ry", 4).attr("x", -y.width - 4 - ((b == null ? void 0 : b.rotateCommitLabel) === !0 ? 30 : 0)).attr("y", -y.height / 2 + 8).attr("width", y.width + 18).attr("height", y.height + 4), d.attr(
617
+ "transform",
618
+ "translate(" + (-y.width - 14 - ((b == null ? void 0 : b.rotateCommitLabel) === !0 ? 30 : 0)) + ", " + (c - y.height / 2 - 1) + ")"
619
+ ), x === "TB" ? (f.attr("x", c - y.width / 2 - 10).attr("y", 0), d.attr("transform", "translate(" + (c - y.width / 2 - 5) + ", 0)")) : x === "BT" ? (f.attr("x", c - y.width / 2 - 10).attr("y", M), d.attr("transform", "translate(" + (c - y.width / 2 - 5) + ", " + M + ")")) : f.attr("transform", "translate(-19, " + (c - y.height / 2) + ")");
620
+ });
621
+ }, "drawBranches"), te = /* @__PURE__ */ h(function(t, r, a, s, e) {
622
+ return C.set(t, { pos: r, index: a }), r += 50 + (e ? 40 : 0) + (x === "TB" || x === "BT" ? s.width / 2 : 0), r;
623
+ }, "setBranchPosition"), ae = /* @__PURE__ */ h(function(t, r, a, s) {
624
+ if (jr(), m.debug("in gitgraph renderer", t + `
625
+ `, "id:", r, a), !b)
626
+ throw new Error("GitGraph config not found");
627
+ const e = b.rotateCommitLabel ?? !1, n = s.db;
628
+ G = n.getCommits();
629
+ const c = n.getBranchesAsObjArray();
630
+ x = n.getDirection();
631
+ const o = gr(`[id="${r}"]`);
632
+ let $ = 0;
633
+ c.forEach((l, f) => {
634
+ var q;
635
+ const g = J(l.name), d = o.append("g"), y = d.insert("g").attr("class", "branchLabel"), p = y.insert("g").attr("class", "label branch-label");
636
+ (q = p.node()) == null || q.appendChild(g);
637
+ const w = g.getBBox();
638
+ $ = te(l.name, $, f, w, e), p.remove(), y.remove(), d.remove();
639
+ }), K(o, G, !1), b.showBranches && ee(o, c), re(o, G), K(o, G, !0), or.insertTitle(
640
+ o,
641
+ "gitTitleText",
642
+ b.titleTopMargin ?? 0,
643
+ n.getDiagramTitle()
644
+ ), cr(
645
+ void 0,
646
+ o,
647
+ b.diagramPadding,
648
+ b.useMaxWidth
649
+ );
650
+ }, "draw"), ne = {
651
+ draw: ae
652
+ }, se = /* @__PURE__ */ h((t) => `
653
+ .commit-id,
654
+ .commit-msg,
655
+ .branch-label {
656
+ fill: lightgrey;
657
+ color: lightgrey;
658
+ font-family: 'trebuchet ms', verdana, arial, sans-serif;
659
+ font-family: var(--mermaid-font-family);
660
+ }
661
+ ${[0, 1, 2, 3, 4, 5, 6, 7].map(
662
+ (r) => `
663
+ .branch-label${r} { fill: ${t["gitBranchLabel" + r]}; }
664
+ .commit${r} { stroke: ${t["git" + r]}; fill: ${t["git" + r]}; }
665
+ .commit-highlight${r} { stroke: ${t["gitInv" + r]}; fill: ${t["gitInv" + r]}; }
666
+ .label${r} { fill: ${t["git" + r]}; }
667
+ .arrow${r} { stroke: ${t["git" + r]}; }
668
+ `
669
+ ).join(`
670
+ `)}
671
+
672
+ .branch {
673
+ stroke-width: 1;
674
+ stroke: ${t.lineColor};
675
+ stroke-dasharray: 2;
676
+ }
677
+ .commit-label { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelColor};}
678
+ .commit-label-bkg { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelBackground}; opacity: 0.5; }
679
+ .tag-label { font-size: ${t.tagLabelFontSize}; fill: ${t.tagLabelColor};}
680
+ .tag-label-bkg { fill: ${t.tagLabelBackground}; stroke: ${t.tagLabelBorder}; }
681
+ .tag-hole { fill: ${t.textColor}; }
682
+
683
+ .commit-merge {
684
+ stroke: ${t.primaryColor};
685
+ fill: ${t.primaryColor};
686
+ }
687
+ .commit-reverse {
688
+ stroke: ${t.primaryColor};
689
+ fill: ${t.primaryColor};
690
+ stroke-width: 3;
691
+ }
692
+ .commit-highlight-outer {
693
+ }
694
+ .commit-highlight-inner {
695
+ stroke: ${t.primaryColor};
696
+ fill: ${t.primaryColor};
697
+ }
698
+
699
+ .arrow { stroke-width: 8; stroke-linecap: round; fill: none}
700
+ .gitTitleText {
701
+ text-anchor: middle;
702
+ font-size: 18px;
703
+ fill: ${t.textColor};
704
+ }
705
+ `, "getStyles"), oe = se, $e = {
706
+ parser: Wr,
707
+ db: X,
708
+ renderer: ne,
709
+ styles: oe
710
+ };
711
+ export {
712
+ $e as diagram
713
+ };