@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,1341 @@
1
+ import { _ as a, s as gi, g as xi, q as Xt, p as di, a as fi, b as pi, l as Nt, I as mi, d as yi, y as bi, F as St, E as Yt, G as Ai, a0 as wi, h as Ci, az as Si, a8 as Wt } from "./mermaid.core-DeqGW69S.js";
2
+ import "./index-C3ZGeP_n.js";
3
+ import { i as _i } from "./init-DjUOC4st.js";
4
+ import { o as ki } from "./ordinal-DfAQgscy.js";
5
+ import { l as zt } from "./linear-DT60NxVS.js";
6
+ function Ri(e, t, i) {
7
+ e = +e, t = +t, i = (n = arguments.length) < 2 ? (t = e, e = 0, 1) : n < 3 ? 1 : +i;
8
+ for (var s = -1, n = Math.max(0, Math.ceil((t - e) / i)) | 0, o = new Array(n); ++s < n; )
9
+ o[s] = e + s * i;
10
+ return o;
11
+ }
12
+ function yt() {
13
+ var e = ki().unknown(void 0), t = e.domain, i = e.range, s = 0, n = 1, o, g, m = !1, p = 0, k = 0, v = 0.5;
14
+ delete e.unknown;
15
+ function C() {
16
+ var b = t().length, E = n < s, D = E ? n : s, P = E ? s : n;
17
+ o = (P - D) / Math.max(1, b - p + k * 2), m && (o = Math.floor(o)), D += (P - D - o * (b - p)) * v, g = o * (1 - p), m && (D = Math.round(D), g = Math.round(g));
18
+ var I = Ri(b).map(function(y) {
19
+ return D + o * y;
20
+ });
21
+ return i(E ? I.reverse() : I);
22
+ }
23
+ return e.domain = function(b) {
24
+ return arguments.length ? (t(b), C()) : t();
25
+ }, e.range = function(b) {
26
+ return arguments.length ? ([s, n] = b, s = +s, n = +n, C()) : [s, n];
27
+ }, e.rangeRound = function(b) {
28
+ return [s, n] = b, s = +s, n = +n, m = !0, C();
29
+ }, e.bandwidth = function() {
30
+ return g;
31
+ }, e.step = function() {
32
+ return o;
33
+ }, e.round = function(b) {
34
+ return arguments.length ? (m = !!b, C()) : m;
35
+ }, e.padding = function(b) {
36
+ return arguments.length ? (p = Math.min(1, k = +b), C()) : p;
37
+ }, e.paddingInner = function(b) {
38
+ return arguments.length ? (p = Math.min(1, b), C()) : p;
39
+ }, e.paddingOuter = function(b) {
40
+ return arguments.length ? (k = +b, C()) : k;
41
+ }, e.align = function(b) {
42
+ return arguments.length ? (v = Math.max(0, Math.min(1, b)), C()) : v;
43
+ }, e.copy = function() {
44
+ return yt(t(), [s, n]).round(m).paddingInner(p).paddingOuter(k).align(v);
45
+ }, _i.apply(C(), arguments);
46
+ }
47
+ var bt = function() {
48
+ var e = /* @__PURE__ */ a(function(F, h, u, x) {
49
+ for (u = u || {}, x = F.length; x--; u[F[x]] = h) ;
50
+ return u;
51
+ }, "o"), t = [1, 10, 12, 14, 16, 18, 19, 21, 23], i = [2, 6], s = [1, 3], n = [1, 5], o = [1, 6], g = [1, 7], m = [1, 5, 10, 12, 14, 16, 18, 19, 21, 23, 34, 35, 36], p = [1, 25], k = [1, 26], v = [1, 28], C = [1, 29], b = [1, 30], E = [1, 31], D = [1, 32], P = [1, 33], I = [1, 34], y = [1, 35], _ = [1, 36], c = [1, 37], W = [1, 43], z = [1, 42], U = [1, 47], X = [1, 50], l = [1, 10, 12, 14, 16, 18, 19, 21, 23, 34, 35, 36], L = [1, 10, 12, 14, 16, 18, 19, 21, 23, 24, 26, 27, 28, 34, 35, 36], S = [1, 10, 12, 14, 16, 18, 19, 21, 23, 24, 26, 27, 28, 34, 35, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50], R = [1, 64], $ = {
52
+ trace: /* @__PURE__ */ a(function() {
53
+ }, "trace"),
54
+ yy: {},
55
+ symbols_: { error: 2, start: 3, eol: 4, XYCHART: 5, chartConfig: 6, document: 7, CHART_ORIENTATION: 8, statement: 9, title: 10, text: 11, X_AXIS: 12, parseXAxis: 13, Y_AXIS: 14, parseYAxis: 15, LINE: 16, plotData: 17, BAR: 18, acc_title: 19, acc_title_value: 20, acc_descr: 21, acc_descr_value: 22, acc_descr_multiline_value: 23, SQUARE_BRACES_START: 24, commaSeparatedNumbers: 25, SQUARE_BRACES_END: 26, NUMBER_WITH_DECIMAL: 27, COMMA: 28, xAxisData: 29, bandData: 30, ARROW_DELIMITER: 31, commaSeparatedTexts: 32, yAxisData: 33, NEWLINE: 34, SEMI: 35, EOF: 36, alphaNum: 37, STR: 38, MD_STR: 39, alphaNumToken: 40, AMP: 41, NUM: 42, ALPHA: 43, PLUS: 44, EQUALS: 45, MULT: 46, DOT: 47, BRKT: 48, MINUS: 49, UNDERSCORE: 50, $accept: 0, $end: 1 },
56
+ terminals_: { 2: "error", 5: "XYCHART", 8: "CHART_ORIENTATION", 10: "title", 12: "X_AXIS", 14: "Y_AXIS", 16: "LINE", 18: "BAR", 19: "acc_title", 20: "acc_title_value", 21: "acc_descr", 22: "acc_descr_value", 23: "acc_descr_multiline_value", 24: "SQUARE_BRACES_START", 26: "SQUARE_BRACES_END", 27: "NUMBER_WITH_DECIMAL", 28: "COMMA", 31: "ARROW_DELIMITER", 34: "NEWLINE", 35: "SEMI", 36: "EOF", 38: "STR", 39: "MD_STR", 41: "AMP", 42: "NUM", 43: "ALPHA", 44: "PLUS", 45: "EQUALS", 46: "MULT", 47: "DOT", 48: "BRKT", 49: "MINUS", 50: "UNDERSCORE" },
57
+ productions_: [0, [3, 2], [3, 3], [3, 2], [3, 1], [6, 1], [7, 0], [7, 2], [9, 2], [9, 2], [9, 2], [9, 2], [9, 2], [9, 3], [9, 2], [9, 3], [9, 2], [9, 2], [9, 1], [17, 3], [25, 3], [25, 1], [13, 1], [13, 2], [13, 1], [29, 1], [29, 3], [30, 3], [32, 3], [32, 1], [15, 1], [15, 2], [15, 1], [33, 3], [4, 1], [4, 1], [4, 1], [11, 1], [11, 1], [11, 1], [37, 1], [37, 2], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1]],
58
+ performAction: /* @__PURE__ */ a(function(h, u, x, d, w, r, at) {
59
+ var f = r.length - 1;
60
+ switch (w) {
61
+ case 5:
62
+ d.setOrientation(r[f]);
63
+ break;
64
+ case 9:
65
+ d.setDiagramTitle(r[f].text.trim());
66
+ break;
67
+ case 12:
68
+ d.setLineData({ text: "", type: "text" }, r[f]);
69
+ break;
70
+ case 13:
71
+ d.setLineData(r[f - 1], r[f]);
72
+ break;
73
+ case 14:
74
+ d.setBarData({ text: "", type: "text" }, r[f]);
75
+ break;
76
+ case 15:
77
+ d.setBarData(r[f - 1], r[f]);
78
+ break;
79
+ case 16:
80
+ this.$ = r[f].trim(), d.setAccTitle(this.$);
81
+ break;
82
+ case 17:
83
+ case 18:
84
+ this.$ = r[f].trim(), d.setAccDescription(this.$);
85
+ break;
86
+ case 19:
87
+ this.$ = r[f - 1];
88
+ break;
89
+ case 20:
90
+ this.$ = [Number(r[f - 2]), ...r[f]];
91
+ break;
92
+ case 21:
93
+ this.$ = [Number(r[f])];
94
+ break;
95
+ case 22:
96
+ d.setXAxisTitle(r[f]);
97
+ break;
98
+ case 23:
99
+ d.setXAxisTitle(r[f - 1]);
100
+ break;
101
+ case 24:
102
+ d.setXAxisTitle({ type: "text", text: "" });
103
+ break;
104
+ case 25:
105
+ d.setXAxisBand(r[f]);
106
+ break;
107
+ case 26:
108
+ d.setXAxisRangeData(Number(r[f - 2]), Number(r[f]));
109
+ break;
110
+ case 27:
111
+ this.$ = r[f - 1];
112
+ break;
113
+ case 28:
114
+ this.$ = [r[f - 2], ...r[f]];
115
+ break;
116
+ case 29:
117
+ this.$ = [r[f]];
118
+ break;
119
+ case 30:
120
+ d.setYAxisTitle(r[f]);
121
+ break;
122
+ case 31:
123
+ d.setYAxisTitle(r[f - 1]);
124
+ break;
125
+ case 32:
126
+ d.setYAxisTitle({ type: "text", text: "" });
127
+ break;
128
+ case 33:
129
+ d.setYAxisRangeData(Number(r[f - 2]), Number(r[f]));
130
+ break;
131
+ case 37:
132
+ this.$ = { text: r[f], type: "text" };
133
+ break;
134
+ case 38:
135
+ this.$ = { text: r[f], type: "text" };
136
+ break;
137
+ case 39:
138
+ this.$ = { text: r[f], type: "markdown" };
139
+ break;
140
+ case 40:
141
+ this.$ = r[f];
142
+ break;
143
+ case 41:
144
+ this.$ = r[f - 1] + "" + r[f];
145
+ break;
146
+ }
147
+ }, "anonymous"),
148
+ table: [e(t, i, { 3: 1, 4: 2, 7: 4, 5: s, 34: n, 35: o, 36: g }), { 1: [3] }, e(t, i, { 4: 2, 7: 4, 3: 8, 5: s, 34: n, 35: o, 36: g }), e(t, i, { 4: 2, 7: 4, 6: 9, 3: 10, 5: s, 8: [1, 11], 34: n, 35: o, 36: g }), { 1: [2, 4], 9: 12, 10: [1, 13], 12: [1, 14], 14: [1, 15], 16: [1, 16], 18: [1, 17], 19: [1, 18], 21: [1, 19], 23: [1, 20] }, e(m, [2, 34]), e(m, [2, 35]), e(m, [2, 36]), { 1: [2, 1] }, e(t, i, { 4: 2, 7: 4, 3: 21, 5: s, 34: n, 35: o, 36: g }), { 1: [2, 3] }, e(m, [2, 5]), e(t, [2, 7], { 4: 22, 34: n, 35: o, 36: g }), { 11: 23, 37: 24, 38: p, 39: k, 40: 27, 41: v, 42: C, 43: b, 44: E, 45: D, 46: P, 47: I, 48: y, 49: _, 50: c }, { 11: 39, 13: 38, 24: W, 27: z, 29: 40, 30: 41, 37: 24, 38: p, 39: k, 40: 27, 41: v, 42: C, 43: b, 44: E, 45: D, 46: P, 47: I, 48: y, 49: _, 50: c }, { 11: 45, 15: 44, 27: U, 33: 46, 37: 24, 38: p, 39: k, 40: 27, 41: v, 42: C, 43: b, 44: E, 45: D, 46: P, 47: I, 48: y, 49: _, 50: c }, { 11: 49, 17: 48, 24: X, 37: 24, 38: p, 39: k, 40: 27, 41: v, 42: C, 43: b, 44: E, 45: D, 46: P, 47: I, 48: y, 49: _, 50: c }, { 11: 52, 17: 51, 24: X, 37: 24, 38: p, 39: k, 40: 27, 41: v, 42: C, 43: b, 44: E, 45: D, 46: P, 47: I, 48: y, 49: _, 50: c }, { 20: [1, 53] }, { 22: [1, 54] }, e(l, [2, 18]), { 1: [2, 2] }, e(l, [2, 8]), e(l, [2, 9]), e(L, [2, 37], { 40: 55, 41: v, 42: C, 43: b, 44: E, 45: D, 46: P, 47: I, 48: y, 49: _, 50: c }), e(L, [2, 38]), e(L, [2, 39]), e(S, [2, 40]), e(S, [2, 42]), e(S, [2, 43]), e(S, [2, 44]), e(S, [2, 45]), e(S, [2, 46]), e(S, [2, 47]), e(S, [2, 48]), e(S, [2, 49]), e(S, [2, 50]), e(S, [2, 51]), e(l, [2, 10]), e(l, [2, 22], { 30: 41, 29: 56, 24: W, 27: z }), e(l, [2, 24]), e(l, [2, 25]), { 31: [1, 57] }, { 11: 59, 32: 58, 37: 24, 38: p, 39: k, 40: 27, 41: v, 42: C, 43: b, 44: E, 45: D, 46: P, 47: I, 48: y, 49: _, 50: c }, e(l, [2, 11]), e(l, [2, 30], { 33: 60, 27: U }), e(l, [2, 32]), { 31: [1, 61] }, e(l, [2, 12]), { 17: 62, 24: X }, { 25: 63, 27: R }, e(l, [2, 14]), { 17: 65, 24: X }, e(l, [2, 16]), e(l, [2, 17]), e(S, [2, 41]), e(l, [2, 23]), { 27: [1, 66] }, { 26: [1, 67] }, { 26: [2, 29], 28: [1, 68] }, e(l, [2, 31]), { 27: [1, 69] }, e(l, [2, 13]), { 26: [1, 70] }, { 26: [2, 21], 28: [1, 71] }, e(l, [2, 15]), e(l, [2, 26]), e(l, [2, 27]), { 11: 59, 32: 72, 37: 24, 38: p, 39: k, 40: 27, 41: v, 42: C, 43: b, 44: E, 45: D, 46: P, 47: I, 48: y, 49: _, 50: c }, e(l, [2, 33]), e(l, [2, 19]), { 25: 73, 27: R }, { 26: [2, 28] }, { 26: [2, 20] }],
149
+ defaultActions: { 8: [2, 1], 10: [2, 3], 21: [2, 2], 72: [2, 28], 73: [2, 20] },
150
+ parseError: /* @__PURE__ */ a(function(h, u) {
151
+ if (u.recoverable)
152
+ this.trace(h);
153
+ else {
154
+ var x = new Error(h);
155
+ throw x.hash = u, x;
156
+ }
157
+ }, "parseError"),
158
+ parse: /* @__PURE__ */ a(function(h) {
159
+ var u = this, x = [0], d = [], w = [null], r = [], at = this.table, f = "", lt = 0, It = 0, hi = 2, Mt = 1, li = r.slice.call(arguments, 1), T = Object.create(this.lexer), Y = { yy: {} };
160
+ for (var dt in this.yy)
161
+ Object.prototype.hasOwnProperty.call(this.yy, dt) && (Y.yy[dt] = this.yy[dt]);
162
+ T.setInput(h, Y.yy), Y.yy.lexer = T, Y.yy.parser = this, typeof T.yylloc > "u" && (T.yylloc = {});
163
+ var ft = T.yylloc;
164
+ r.push(ft);
165
+ var ci = T.options && T.options.ranges;
166
+ typeof Y.yy.parseError == "function" ? this.parseError = Y.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
167
+ function ui(V) {
168
+ x.length = x.length - 2 * V, w.length = w.length - V, r.length = r.length - V;
169
+ }
170
+ a(ui, "popStack");
171
+ function Vt() {
172
+ var V;
173
+ return V = d.pop() || T.lex() || Mt, typeof V != "number" && (V instanceof Array && (d = V, V = d.pop()), V = u.symbols_[V] || V), V;
174
+ }
175
+ a(Vt, "lex");
176
+ for (var M, H, B, pt, q = {}, ct, O, Bt, ut; ; ) {
177
+ if (H = x[x.length - 1], this.defaultActions[H] ? B = this.defaultActions[H] : ((M === null || typeof M > "u") && (M = Vt()), B = at[H] && at[H][M]), typeof B > "u" || !B.length || !B[0]) {
178
+ var mt = "";
179
+ ut = [];
180
+ for (ct in at[H])
181
+ this.terminals_[ct] && ct > hi && ut.push("'" + this.terminals_[ct] + "'");
182
+ T.showPosition ? mt = "Parse error on line " + (lt + 1) + `:
183
+ ` + T.showPosition() + `
184
+ Expecting ` + ut.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : mt = "Parse error on line " + (lt + 1) + ": Unexpected " + (M == Mt ? "end of input" : "'" + (this.terminals_[M] || M) + "'"), this.parseError(mt, {
185
+ text: T.match,
186
+ token: this.terminals_[M] || M,
187
+ line: T.yylineno,
188
+ loc: ft,
189
+ expected: ut
190
+ });
191
+ }
192
+ if (B[0] instanceof Array && B.length > 1)
193
+ throw new Error("Parse Error: multiple actions possible at state: " + H + ", token: " + M);
194
+ switch (B[0]) {
195
+ case 1:
196
+ x.push(M), w.push(T.yytext), r.push(T.yylloc), x.push(B[1]), M = null, It = T.yyleng, f = T.yytext, lt = T.yylineno, ft = T.yylloc;
197
+ break;
198
+ case 2:
199
+ if (O = this.productions_[B[1]][1], q.$ = w[w.length - O], q._$ = {
200
+ first_line: r[r.length - (O || 1)].first_line,
201
+ last_line: r[r.length - 1].last_line,
202
+ first_column: r[r.length - (O || 1)].first_column,
203
+ last_column: r[r.length - 1].last_column
204
+ }, ci && (q._$.range = [
205
+ r[r.length - (O || 1)].range[0],
206
+ r[r.length - 1].range[1]
207
+ ]), pt = this.performAction.apply(q, [
208
+ f,
209
+ It,
210
+ lt,
211
+ Y.yy,
212
+ B[1],
213
+ w,
214
+ r
215
+ ].concat(li)), typeof pt < "u")
216
+ return pt;
217
+ O && (x = x.slice(0, -1 * O * 2), w = w.slice(0, -1 * O), r = r.slice(0, -1 * O)), x.push(this.productions_[B[1]][0]), w.push(q.$), r.push(q._$), Bt = at[x[x.length - 2]][x[x.length - 1]], x.push(Bt);
218
+ break;
219
+ case 3:
220
+ return !0;
221
+ }
222
+ }
223
+ return !0;
224
+ }, "parse")
225
+ }, Et = /* @__PURE__ */ function() {
226
+ var F = {
227
+ EOF: 1,
228
+ parseError: /* @__PURE__ */ a(function(u, x) {
229
+ if (this.yy.parser)
230
+ this.yy.parser.parseError(u, x);
231
+ else
232
+ throw new Error(u);
233
+ }, "parseError"),
234
+ // resets the lexer, sets new input
235
+ setInput: /* @__PURE__ */ a(function(h, u) {
236
+ return this.yy = u || this.yy || {}, this._input = h, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
237
+ first_line: 1,
238
+ first_column: 0,
239
+ last_line: 1,
240
+ last_column: 0
241
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
242
+ }, "setInput"),
243
+ // consumes and returns one char from the input
244
+ input: /* @__PURE__ */ a(function() {
245
+ var h = this._input[0];
246
+ this.yytext += h, this.yyleng++, this.offset++, this.match += h, this.matched += h;
247
+ var u = h.match(/(?:\r\n?|\n).*/g);
248
+ return u ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), h;
249
+ }, "input"),
250
+ // unshifts one char (or a string) into the input
251
+ unput: /* @__PURE__ */ a(function(h) {
252
+ var u = h.length, x = h.split(/(?:\r\n?|\n)/g);
253
+ this._input = h + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - u), this.offset -= u;
254
+ var d = this.match.split(/(?:\r\n?|\n)/g);
255
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), x.length - 1 && (this.yylineno -= x.length - 1);
256
+ var w = this.yylloc.range;
257
+ return this.yylloc = {
258
+ first_line: this.yylloc.first_line,
259
+ last_line: this.yylineno + 1,
260
+ first_column: this.yylloc.first_column,
261
+ last_column: x ? (x.length === d.length ? this.yylloc.first_column : 0) + d[d.length - x.length].length - x[0].length : this.yylloc.first_column - u
262
+ }, this.options.ranges && (this.yylloc.range = [w[0], w[0] + this.yyleng - u]), this.yyleng = this.yytext.length, this;
263
+ }, "unput"),
264
+ // When called from action, caches matched text and appends it on next action
265
+ more: /* @__PURE__ */ a(function() {
266
+ return this._more = !0, this;
267
+ }, "more"),
268
+ // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
269
+ reject: /* @__PURE__ */ a(function() {
270
+ if (this.options.backtrack_lexer)
271
+ this._backtrack = !0;
272
+ else
273
+ return this.parseError("Lexical error on line " + (this.yylineno + 1) + `. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
274
+ ` + this.showPosition(), {
275
+ text: "",
276
+ token: null,
277
+ line: this.yylineno
278
+ });
279
+ return this;
280
+ }, "reject"),
281
+ // retain first n characters of the match
282
+ less: /* @__PURE__ */ a(function(h) {
283
+ this.unput(this.match.slice(h));
284
+ }, "less"),
285
+ // displays already matched input, i.e. for error messages
286
+ pastInput: /* @__PURE__ */ a(function() {
287
+ var h = this.matched.substr(0, this.matched.length - this.match.length);
288
+ return (h.length > 20 ? "..." : "") + h.substr(-20).replace(/\n/g, "");
289
+ }, "pastInput"),
290
+ // displays upcoming input, i.e. for error messages
291
+ upcomingInput: /* @__PURE__ */ a(function() {
292
+ var h = this.match;
293
+ return h.length < 20 && (h += this._input.substr(0, 20 - h.length)), (h.substr(0, 20) + (h.length > 20 ? "..." : "")).replace(/\n/g, "");
294
+ }, "upcomingInput"),
295
+ // displays the character position where the lexing error occurred, i.e. for error messages
296
+ showPosition: /* @__PURE__ */ a(function() {
297
+ var h = this.pastInput(), u = new Array(h.length + 1).join("-");
298
+ return h + this.upcomingInput() + `
299
+ ` + u + "^";
300
+ }, "showPosition"),
301
+ // test the lexed token: return FALSE when not a match, otherwise return token
302
+ test_match: /* @__PURE__ */ a(function(h, u) {
303
+ var x, d, w;
304
+ if (this.options.backtrack_lexer && (w = {
305
+ yylineno: this.yylineno,
306
+ yylloc: {
307
+ first_line: this.yylloc.first_line,
308
+ last_line: this.last_line,
309
+ first_column: this.yylloc.first_column,
310
+ last_column: this.yylloc.last_column
311
+ },
312
+ yytext: this.yytext,
313
+ match: this.match,
314
+ matches: this.matches,
315
+ matched: this.matched,
316
+ yyleng: this.yyleng,
317
+ offset: this.offset,
318
+ _more: this._more,
319
+ _input: this._input,
320
+ yy: this.yy,
321
+ conditionStack: this.conditionStack.slice(0),
322
+ done: this.done
323
+ }, this.options.ranges && (w.yylloc.range = this.yylloc.range.slice(0))), d = h[0].match(/(?:\r\n?|\n).*/g), d && (this.yylineno += d.length), this.yylloc = {
324
+ first_line: this.yylloc.last_line,
325
+ last_line: this.yylineno + 1,
326
+ first_column: this.yylloc.last_column,
327
+ last_column: d ? d[d.length - 1].length - d[d.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + h[0].length
328
+ }, this.yytext += h[0], this.match += h[0], this.matches = h, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(h[0].length), this.matched += h[0], x = this.performAction.call(this, this.yy, this, u, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), x)
329
+ return x;
330
+ if (this._backtrack) {
331
+ for (var r in w)
332
+ this[r] = w[r];
333
+ return !1;
334
+ }
335
+ return !1;
336
+ }, "test_match"),
337
+ // return next match in input
338
+ next: /* @__PURE__ */ a(function() {
339
+ if (this.done)
340
+ return this.EOF;
341
+ this._input || (this.done = !0);
342
+ var h, u, x, d;
343
+ this._more || (this.yytext = "", this.match = "");
344
+ for (var w = this._currentRules(), r = 0; r < w.length; r++)
345
+ if (x = this._input.match(this.rules[w[r]]), x && (!u || x[0].length > u[0].length)) {
346
+ if (u = x, d = r, this.options.backtrack_lexer) {
347
+ if (h = this.test_match(x, w[r]), h !== !1)
348
+ return h;
349
+ if (this._backtrack) {
350
+ u = !1;
351
+ continue;
352
+ } else
353
+ return !1;
354
+ } else if (!this.options.flex)
355
+ break;
356
+ }
357
+ return u ? (h = this.test_match(u, w[d]), h !== !1 ? h : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
358
+ ` + this.showPosition(), {
359
+ text: "",
360
+ token: null,
361
+ line: this.yylineno
362
+ });
363
+ }, "next"),
364
+ // return next match that has a token
365
+ lex: /* @__PURE__ */ a(function() {
366
+ var u = this.next();
367
+ return u || this.lex();
368
+ }, "lex"),
369
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
370
+ begin: /* @__PURE__ */ a(function(u) {
371
+ this.conditionStack.push(u);
372
+ }, "begin"),
373
+ // pop the previously active lexer condition state off the condition stack
374
+ popState: /* @__PURE__ */ a(function() {
375
+ var u = this.conditionStack.length - 1;
376
+ return u > 0 ? this.conditionStack.pop() : this.conditionStack[0];
377
+ }, "popState"),
378
+ // produce the lexer rule set which is active for the currently active lexer condition state
379
+ _currentRules: /* @__PURE__ */ a(function() {
380
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
381
+ }, "_currentRules"),
382
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
383
+ topState: /* @__PURE__ */ a(function(u) {
384
+ return u = this.conditionStack.length - 1 - Math.abs(u || 0), u >= 0 ? this.conditionStack[u] : "INITIAL";
385
+ }, "topState"),
386
+ // alias for begin(condition)
387
+ pushState: /* @__PURE__ */ a(function(u) {
388
+ this.begin(u);
389
+ }, "pushState"),
390
+ // return the number of states currently on the stack
391
+ stateStackSize: /* @__PURE__ */ a(function() {
392
+ return this.conditionStack.length;
393
+ }, "stateStackSize"),
394
+ options: { "case-insensitive": !0 },
395
+ performAction: /* @__PURE__ */ a(function(u, x, d, w) {
396
+ switch (d) {
397
+ case 0:
398
+ break;
399
+ case 1:
400
+ break;
401
+ case 2:
402
+ return this.popState(), 34;
403
+ case 3:
404
+ return this.popState(), 34;
405
+ case 4:
406
+ return 34;
407
+ case 5:
408
+ break;
409
+ case 6:
410
+ return 10;
411
+ case 7:
412
+ return this.pushState("acc_title"), 19;
413
+ case 8:
414
+ return this.popState(), "acc_title_value";
415
+ case 9:
416
+ return this.pushState("acc_descr"), 21;
417
+ case 10:
418
+ return this.popState(), "acc_descr_value";
419
+ case 11:
420
+ this.pushState("acc_descr_multiline");
421
+ break;
422
+ case 12:
423
+ this.popState();
424
+ break;
425
+ case 13:
426
+ return "acc_descr_multiline_value";
427
+ case 14:
428
+ return 5;
429
+ case 15:
430
+ return 5;
431
+ case 16:
432
+ return 8;
433
+ case 17:
434
+ return this.pushState("axis_data"), "X_AXIS";
435
+ case 18:
436
+ return this.pushState("axis_data"), "Y_AXIS";
437
+ case 19:
438
+ return this.pushState("axis_band_data"), 24;
439
+ case 20:
440
+ return 31;
441
+ case 21:
442
+ return this.pushState("data"), 16;
443
+ case 22:
444
+ return this.pushState("data"), 18;
445
+ case 23:
446
+ return this.pushState("data_inner"), 24;
447
+ case 24:
448
+ return 27;
449
+ case 25:
450
+ return this.popState(), 26;
451
+ case 26:
452
+ this.popState();
453
+ break;
454
+ case 27:
455
+ this.pushState("string");
456
+ break;
457
+ case 28:
458
+ this.popState();
459
+ break;
460
+ case 29:
461
+ return "STR";
462
+ case 30:
463
+ return 24;
464
+ case 31:
465
+ return 26;
466
+ case 32:
467
+ return 43;
468
+ case 33:
469
+ return "COLON";
470
+ case 34:
471
+ return 44;
472
+ case 35:
473
+ return 28;
474
+ case 36:
475
+ return 45;
476
+ case 37:
477
+ return 46;
478
+ case 38:
479
+ return 48;
480
+ case 39:
481
+ return 50;
482
+ case 40:
483
+ return 47;
484
+ case 41:
485
+ return 41;
486
+ case 42:
487
+ return 49;
488
+ case 43:
489
+ return 42;
490
+ case 44:
491
+ break;
492
+ case 45:
493
+ return 35;
494
+ case 46:
495
+ return 36;
496
+ }
497
+ }, "anonymous"),
498
+ rules: [/^(?:%%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:(\r?\n))/i, /^(?:(\r?\n))/i, /^(?:[\n\r]+)/i, /^(?:%%[^\n]*)/i, /^(?:title\b)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:\{)/i, /^(?:[^\}]*)/i, /^(?:xychart-beta\b)/i, /^(?:xychart\b)/i, /^(?:(?:vertical|horizontal))/i, /^(?:x-axis\b)/i, /^(?:y-axis\b)/i, /^(?:\[)/i, /^(?:-->)/i, /^(?:line\b)/i, /^(?:bar\b)/i, /^(?:\[)/i, /^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i, /^(?:\])/i, /^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i, /^(?:["])/i, /^(?:["])/i, /^(?:[^"]*)/i, /^(?:\[)/i, /^(?:\])/i, /^(?:[A-Za-z]+)/i, /^(?::)/i, /^(?:\+)/i, /^(?:,)/i, /^(?:=)/i, /^(?:\*)/i, /^(?:#)/i, /^(?:[\_])/i, /^(?:\.)/i, /^(?:&)/i, /^(?:-)/i, /^(?:[0-9]+)/i, /^(?:\s+)/i, /^(?:;)/i, /^(?:$)/i],
499
+ conditions: { data_inner: { rules: [0, 1, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18, 21, 22, 24, 25, 26, 27, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46], inclusive: !0 }, data: { rules: [0, 1, 3, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18, 21, 22, 23, 26, 27, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46], inclusive: !0 }, axis_band_data: { rules: [0, 1, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18, 21, 22, 25, 26, 27, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46], inclusive: !0 }, axis_data: { rules: [0, 1, 2, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 26, 27, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46], inclusive: !0 }, acc_descr_multiline: { rules: [12, 13], inclusive: !1 }, acc_descr: { rules: [10], inclusive: !1 }, acc_title: { rules: [8], inclusive: !1 }, title: { rules: [], inclusive: !1 }, md_string: { rules: [], inclusive: !1 }, string: { rules: [28, 29], inclusive: !1 }, INITIAL: { rules: [0, 1, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18, 21, 22, 26, 27, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46], inclusive: !0 } }
500
+ };
501
+ return F;
502
+ }();
503
+ $.lexer = Et;
504
+ function N() {
505
+ this.yy = {};
506
+ }
507
+ return a(N, "Parser"), N.prototype = $, $.Parser = N, new N();
508
+ }();
509
+ bt.parser = bt;
510
+ var Ti = bt;
511
+ function At(e) {
512
+ return e.type === "bar";
513
+ }
514
+ a(At, "isBarPlot");
515
+ function _t(e) {
516
+ return e.type === "band";
517
+ }
518
+ a(_t, "isBandAxisData");
519
+ function G(e) {
520
+ return e.type === "linear";
521
+ }
522
+ a(G, "isLinearAxisData");
523
+ var j, Ht = (j = class {
524
+ constructor(t) {
525
+ this.parentGroup = t;
526
+ }
527
+ getMaxDimension(t, i) {
528
+ if (!this.parentGroup)
529
+ return {
530
+ width: t.reduce((o, g) => Math.max(g.length, o), 0) * i,
531
+ height: i
532
+ };
533
+ const s = {
534
+ width: 0,
535
+ height: 0
536
+ }, n = this.parentGroup.append("g").attr("visibility", "hidden").attr("font-size", i);
537
+ for (const o of t) {
538
+ const g = Si(n, 1, o), m = g ? g.width : o.length * i, p = g ? g.height : i;
539
+ s.width = Math.max(s.width, m), s.height = Math.max(s.height, p);
540
+ }
541
+ return n.remove(), s;
542
+ }
543
+ }, a(j, "TextDimensionCalculatorWithFont"), j), Ft = 0.7, Ot = 0.2, Q, Ut = (Q = class {
544
+ constructor(t, i, s, n) {
545
+ this.axisConfig = t, this.title = i, this.textDimensionCalculator = s, this.axisThemeConfig = n, this.boundingRect = { x: 0, y: 0, width: 0, height: 0 }, this.axisPosition = "left", this.showTitle = !1, this.showLabel = !1, this.showTick = !1, this.showAxisLine = !1, this.outerPadding = 0, this.titleTextHeight = 0, this.labelTextHeight = 0, this.range = [0, 10], this.boundingRect = { x: 0, y: 0, width: 0, height: 0 }, this.axisPosition = "left";
546
+ }
547
+ setRange(t) {
548
+ this.range = t, this.axisPosition === "left" || this.axisPosition === "right" ? this.boundingRect.height = t[1] - t[0] : this.boundingRect.width = t[1] - t[0], this.recalculateScale();
549
+ }
550
+ getRange() {
551
+ return [this.range[0] + this.outerPadding, this.range[1] - this.outerPadding];
552
+ }
553
+ setAxisPosition(t) {
554
+ this.axisPosition = t, this.setRange(this.range);
555
+ }
556
+ getTickDistance() {
557
+ const t = this.getRange();
558
+ return Math.abs(t[0] - t[1]) / this.getTickValues().length;
559
+ }
560
+ getAxisOuterPadding() {
561
+ return this.outerPadding;
562
+ }
563
+ getLabelDimension() {
564
+ return this.textDimensionCalculator.getMaxDimension(
565
+ this.getTickValues().map((t) => t.toString()),
566
+ this.axisConfig.labelFontSize
567
+ );
568
+ }
569
+ recalculateOuterPaddingToDrawBar() {
570
+ Ft * this.getTickDistance() > this.outerPadding * 2 && (this.outerPadding = Math.floor(Ft * this.getTickDistance() / 2)), this.recalculateScale();
571
+ }
572
+ calculateSpaceIfDrawnHorizontally(t) {
573
+ let i = t.height;
574
+ if (this.axisConfig.showAxisLine && i > this.axisConfig.axisLineWidth && (i -= this.axisConfig.axisLineWidth, this.showAxisLine = !0), this.axisConfig.showLabel) {
575
+ const s = this.getLabelDimension(), n = Ot * t.width;
576
+ this.outerPadding = Math.min(s.width / 2, n);
577
+ const o = s.height + this.axisConfig.labelPadding * 2;
578
+ this.labelTextHeight = s.height, o <= i && (i -= o, this.showLabel = !0);
579
+ }
580
+ if (this.axisConfig.showTick && i >= this.axisConfig.tickLength && (this.showTick = !0, i -= this.axisConfig.tickLength), this.axisConfig.showTitle && this.title) {
581
+ const s = this.textDimensionCalculator.getMaxDimension(
582
+ [this.title],
583
+ this.axisConfig.titleFontSize
584
+ ), n = s.height + this.axisConfig.titlePadding * 2;
585
+ this.titleTextHeight = s.height, n <= i && (i -= n, this.showTitle = !0);
586
+ }
587
+ this.boundingRect.width = t.width, this.boundingRect.height = t.height - i;
588
+ }
589
+ calculateSpaceIfDrawnVertical(t) {
590
+ let i = t.width;
591
+ if (this.axisConfig.showAxisLine && i > this.axisConfig.axisLineWidth && (i -= this.axisConfig.axisLineWidth, this.showAxisLine = !0), this.axisConfig.showLabel) {
592
+ const s = this.getLabelDimension(), n = Ot * t.height;
593
+ this.outerPadding = Math.min(s.height / 2, n);
594
+ const o = s.width + this.axisConfig.labelPadding * 2;
595
+ o <= i && (i -= o, this.showLabel = !0);
596
+ }
597
+ if (this.axisConfig.showTick && i >= this.axisConfig.tickLength && (this.showTick = !0, i -= this.axisConfig.tickLength), this.axisConfig.showTitle && this.title) {
598
+ const s = this.textDimensionCalculator.getMaxDimension(
599
+ [this.title],
600
+ this.axisConfig.titleFontSize
601
+ ), n = s.height + this.axisConfig.titlePadding * 2;
602
+ this.titleTextHeight = s.height, n <= i && (i -= n, this.showTitle = !0);
603
+ }
604
+ this.boundingRect.width = t.width - i, this.boundingRect.height = t.height;
605
+ }
606
+ calculateSpace(t) {
607
+ return this.axisPosition === "left" || this.axisPosition === "right" ? this.calculateSpaceIfDrawnVertical(t) : this.calculateSpaceIfDrawnHorizontally(t), this.recalculateScale(), {
608
+ width: this.boundingRect.width,
609
+ height: this.boundingRect.height
610
+ };
611
+ }
612
+ setBoundingBoxXY(t) {
613
+ this.boundingRect.x = t.x, this.boundingRect.y = t.y;
614
+ }
615
+ getDrawableElementsForLeftAxis() {
616
+ const t = [];
617
+ if (this.showAxisLine) {
618
+ const i = this.boundingRect.x + this.boundingRect.width - this.axisConfig.axisLineWidth / 2;
619
+ t.push({
620
+ type: "path",
621
+ groupTexts: ["left-axis", "axisl-line"],
622
+ data: [
623
+ {
624
+ path: `M ${i},${this.boundingRect.y} L ${i},${this.boundingRect.y + this.boundingRect.height} `,
625
+ strokeFill: this.axisThemeConfig.axisLineColor,
626
+ strokeWidth: this.axisConfig.axisLineWidth
627
+ }
628
+ ]
629
+ });
630
+ }
631
+ if (this.showLabel && t.push({
632
+ type: "text",
633
+ groupTexts: ["left-axis", "label"],
634
+ data: this.getTickValues().map((i) => ({
635
+ text: i.toString(),
636
+ x: this.boundingRect.x + this.boundingRect.width - (this.showLabel ? this.axisConfig.labelPadding : 0) - (this.showTick ? this.axisConfig.tickLength : 0) - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0),
637
+ y: this.getScaleValue(i),
638
+ fill: this.axisThemeConfig.labelColor,
639
+ fontSize: this.axisConfig.labelFontSize,
640
+ rotation: 0,
641
+ verticalPos: "middle",
642
+ horizontalPos: "right"
643
+ }))
644
+ }), this.showTick) {
645
+ const i = this.boundingRect.x + this.boundingRect.width - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0);
646
+ t.push({
647
+ type: "path",
648
+ groupTexts: ["left-axis", "ticks"],
649
+ data: this.getTickValues().map((s) => ({
650
+ path: `M ${i},${this.getScaleValue(s)} L ${i - this.axisConfig.tickLength},${this.getScaleValue(s)}`,
651
+ strokeFill: this.axisThemeConfig.tickColor,
652
+ strokeWidth: this.axisConfig.tickWidth
653
+ }))
654
+ });
655
+ }
656
+ return this.showTitle && t.push({
657
+ type: "text",
658
+ groupTexts: ["left-axis", "title"],
659
+ data: [
660
+ {
661
+ text: this.title,
662
+ x: this.boundingRect.x + this.axisConfig.titlePadding,
663
+ y: this.boundingRect.y + this.boundingRect.height / 2,
664
+ fill: this.axisThemeConfig.titleColor,
665
+ fontSize: this.axisConfig.titleFontSize,
666
+ rotation: 270,
667
+ verticalPos: "top",
668
+ horizontalPos: "center"
669
+ }
670
+ ]
671
+ }), t;
672
+ }
673
+ getDrawableElementsForBottomAxis() {
674
+ const t = [];
675
+ if (this.showAxisLine) {
676
+ const i = this.boundingRect.y + this.axisConfig.axisLineWidth / 2;
677
+ t.push({
678
+ type: "path",
679
+ groupTexts: ["bottom-axis", "axis-line"],
680
+ data: [
681
+ {
682
+ path: `M ${this.boundingRect.x},${i} L ${this.boundingRect.x + this.boundingRect.width},${i}`,
683
+ strokeFill: this.axisThemeConfig.axisLineColor,
684
+ strokeWidth: this.axisConfig.axisLineWidth
685
+ }
686
+ ]
687
+ });
688
+ }
689
+ if (this.showLabel && t.push({
690
+ type: "text",
691
+ groupTexts: ["bottom-axis", "label"],
692
+ data: this.getTickValues().map((i) => ({
693
+ text: i.toString(),
694
+ x: this.getScaleValue(i),
695
+ y: this.boundingRect.y + this.axisConfig.labelPadding + (this.showTick ? this.axisConfig.tickLength : 0) + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0),
696
+ fill: this.axisThemeConfig.labelColor,
697
+ fontSize: this.axisConfig.labelFontSize,
698
+ rotation: 0,
699
+ verticalPos: "top",
700
+ horizontalPos: "center"
701
+ }))
702
+ }), this.showTick) {
703
+ const i = this.boundingRect.y + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0);
704
+ t.push({
705
+ type: "path",
706
+ groupTexts: ["bottom-axis", "ticks"],
707
+ data: this.getTickValues().map((s) => ({
708
+ path: `M ${this.getScaleValue(s)},${i} L ${this.getScaleValue(s)},${i + this.axisConfig.tickLength}`,
709
+ strokeFill: this.axisThemeConfig.tickColor,
710
+ strokeWidth: this.axisConfig.tickWidth
711
+ }))
712
+ });
713
+ }
714
+ return this.showTitle && t.push({
715
+ type: "text",
716
+ groupTexts: ["bottom-axis", "title"],
717
+ data: [
718
+ {
719
+ text: this.title,
720
+ x: this.range[0] + (this.range[1] - this.range[0]) / 2,
721
+ y: this.boundingRect.y + this.boundingRect.height - this.axisConfig.titlePadding - this.titleTextHeight,
722
+ fill: this.axisThemeConfig.titleColor,
723
+ fontSize: this.axisConfig.titleFontSize,
724
+ rotation: 0,
725
+ verticalPos: "top",
726
+ horizontalPos: "center"
727
+ }
728
+ ]
729
+ }), t;
730
+ }
731
+ getDrawableElementsForTopAxis() {
732
+ const t = [];
733
+ if (this.showAxisLine) {
734
+ const i = this.boundingRect.y + this.boundingRect.height - this.axisConfig.axisLineWidth / 2;
735
+ t.push({
736
+ type: "path",
737
+ groupTexts: ["top-axis", "axis-line"],
738
+ data: [
739
+ {
740
+ path: `M ${this.boundingRect.x},${i} L ${this.boundingRect.x + this.boundingRect.width},${i}`,
741
+ strokeFill: this.axisThemeConfig.axisLineColor,
742
+ strokeWidth: this.axisConfig.axisLineWidth
743
+ }
744
+ ]
745
+ });
746
+ }
747
+ if (this.showLabel && t.push({
748
+ type: "text",
749
+ groupTexts: ["top-axis", "label"],
750
+ data: this.getTickValues().map((i) => ({
751
+ text: i.toString(),
752
+ x: this.getScaleValue(i),
753
+ y: this.boundingRect.y + (this.showTitle ? this.titleTextHeight + this.axisConfig.titlePadding * 2 : 0) + this.axisConfig.labelPadding,
754
+ fill: this.axisThemeConfig.labelColor,
755
+ fontSize: this.axisConfig.labelFontSize,
756
+ rotation: 0,
757
+ verticalPos: "top",
758
+ horizontalPos: "center"
759
+ }))
760
+ }), this.showTick) {
761
+ const i = this.boundingRect.y;
762
+ t.push({
763
+ type: "path",
764
+ groupTexts: ["top-axis", "ticks"],
765
+ data: this.getTickValues().map((s) => ({
766
+ path: `M ${this.getScaleValue(s)},${i + this.boundingRect.height - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0)} L ${this.getScaleValue(s)},${i + this.boundingRect.height - this.axisConfig.tickLength - (this.showAxisLine ? this.axisConfig.axisLineWidth : 0)}`,
767
+ strokeFill: this.axisThemeConfig.tickColor,
768
+ strokeWidth: this.axisConfig.tickWidth
769
+ }))
770
+ });
771
+ }
772
+ return this.showTitle && t.push({
773
+ type: "text",
774
+ groupTexts: ["top-axis", "title"],
775
+ data: [
776
+ {
777
+ text: this.title,
778
+ x: this.boundingRect.x + this.boundingRect.width / 2,
779
+ y: this.boundingRect.y + this.axisConfig.titlePadding,
780
+ fill: this.axisThemeConfig.titleColor,
781
+ fontSize: this.axisConfig.titleFontSize,
782
+ rotation: 0,
783
+ verticalPos: "top",
784
+ horizontalPos: "center"
785
+ }
786
+ ]
787
+ }), t;
788
+ }
789
+ getDrawableElements() {
790
+ if (this.axisPosition === "left")
791
+ return this.getDrawableElementsForLeftAxis();
792
+ if (this.axisPosition === "right")
793
+ throw Error("Drawing of right axis is not implemented");
794
+ return this.axisPosition === "bottom" ? this.getDrawableElementsForBottomAxis() : this.axisPosition === "top" ? this.getDrawableElementsForTopAxis() : [];
795
+ }
796
+ }, a(Q, "BaseAxis"), Q), K, Di = (K = class extends Ut {
797
+ constructor(t, i, s, n, o) {
798
+ super(t, n, o, i), this.categories = s, this.scale = yt().domain(this.categories).range(this.getRange());
799
+ }
800
+ setRange(t) {
801
+ super.setRange(t);
802
+ }
803
+ recalculateScale() {
804
+ this.scale = yt().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(0.5), Nt.trace("BandAxis axis final categories, range: ", this.categories, this.getRange());
805
+ }
806
+ getTickValues() {
807
+ return this.categories;
808
+ }
809
+ getScaleValue(t) {
810
+ return this.scale(t) ?? this.getRange()[0];
811
+ }
812
+ }, a(K, "BandAxis"), K), Z, vi = (Z = class extends Ut {
813
+ constructor(t, i, s, n, o) {
814
+ super(t, n, o, i), this.domain = s, this.scale = zt().domain(this.domain).range(this.getRange());
815
+ }
816
+ getTickValues() {
817
+ return this.scale.ticks();
818
+ }
819
+ recalculateScale() {
820
+ const t = [...this.domain];
821
+ this.axisPosition === "left" && t.reverse(), this.scale = zt().domain(t).range(this.getRange());
822
+ }
823
+ getScaleValue(t) {
824
+ return this.scale(t);
825
+ }
826
+ }, a(Z, "LinearAxis"), Z);
827
+ function wt(e, t, i, s) {
828
+ const n = new Ht(s);
829
+ return _t(e) ? new Di(
830
+ t,
831
+ i,
832
+ e.categories,
833
+ e.title,
834
+ n
835
+ ) : new vi(
836
+ t,
837
+ i,
838
+ [e.min, e.max],
839
+ e.title,
840
+ n
841
+ );
842
+ }
843
+ a(wt, "getAxis");
844
+ var J, Pi = (J = class {
845
+ constructor(t, i, s, n) {
846
+ this.textDimensionCalculator = t, this.chartConfig = i, this.chartData = s, this.chartThemeConfig = n, this.boundingRect = {
847
+ x: 0,
848
+ y: 0,
849
+ width: 0,
850
+ height: 0
851
+ }, this.showChartTitle = !1;
852
+ }
853
+ setBoundingBoxXY(t) {
854
+ this.boundingRect.x = t.x, this.boundingRect.y = t.y;
855
+ }
856
+ calculateSpace(t) {
857
+ const i = this.textDimensionCalculator.getMaxDimension(
858
+ [this.chartData.title],
859
+ this.chartConfig.titleFontSize
860
+ ), s = Math.max(i.width, t.width), n = i.height + 2 * this.chartConfig.titlePadding;
861
+ return i.width <= s && i.height <= n && this.chartConfig.showTitle && this.chartData.title && (this.boundingRect.width = s, this.boundingRect.height = n, this.showChartTitle = !0), {
862
+ width: this.boundingRect.width,
863
+ height: this.boundingRect.height
864
+ };
865
+ }
866
+ getDrawableElements() {
867
+ const t = [];
868
+ return this.showChartTitle && t.push({
869
+ groupTexts: ["chart-title"],
870
+ type: "text",
871
+ data: [
872
+ {
873
+ fontSize: this.chartConfig.titleFontSize,
874
+ text: this.chartData.title,
875
+ verticalPos: "middle",
876
+ horizontalPos: "center",
877
+ x: this.boundingRect.x + this.boundingRect.width / 2,
878
+ y: this.boundingRect.y + this.boundingRect.height / 2,
879
+ fill: this.chartThemeConfig.titleColor,
880
+ rotation: 0
881
+ }
882
+ ]
883
+ }), t;
884
+ }
885
+ }, a(J, "ChartTitle"), J);
886
+ function $t(e, t, i, s) {
887
+ const n = new Ht(s);
888
+ return new Pi(n, e, t, i);
889
+ }
890
+ a($t, "getChartTitleComponent");
891
+ var tt, Li = (tt = class {
892
+ constructor(t, i, s, n, o) {
893
+ this.plotData = t, this.xAxis = i, this.yAxis = s, this.orientation = n, this.plotIndex = o;
894
+ }
895
+ getDrawableElement() {
896
+ const t = this.plotData.data.map((s) => [
897
+ this.xAxis.getScaleValue(s[0]),
898
+ this.yAxis.getScaleValue(s[1])
899
+ ]);
900
+ let i;
901
+ return this.orientation === "horizontal" ? i = Wt().y((s) => s[0]).x((s) => s[1])(t) : i = Wt().x((s) => s[0]).y((s) => s[1])(t), i ? [
902
+ {
903
+ groupTexts: ["plot", `line-plot-${this.plotIndex}`],
904
+ type: "path",
905
+ data: [
906
+ {
907
+ path: i,
908
+ strokeFill: this.plotData.strokeFill,
909
+ strokeWidth: this.plotData.strokeWidth
910
+ }
911
+ ]
912
+ }
913
+ ] : [];
914
+ }
915
+ }, a(tt, "LinePlot"), tt), it, Ei = (it = class {
916
+ constructor(t, i, s, n, o, g) {
917
+ this.barData = t, this.boundingRect = i, this.xAxis = s, this.yAxis = n, this.orientation = o, this.plotIndex = g;
918
+ }
919
+ getDrawableElement() {
920
+ const t = this.barData.data.map((o) => [
921
+ this.xAxis.getScaleValue(o[0]),
922
+ this.yAxis.getScaleValue(o[1])
923
+ ]), s = Math.min(this.xAxis.getAxisOuterPadding() * 2, this.xAxis.getTickDistance()) * (1 - 0.05), n = s / 2;
924
+ return this.orientation === "horizontal" ? [
925
+ {
926
+ groupTexts: ["plot", `bar-plot-${this.plotIndex}`],
927
+ type: "rect",
928
+ data: t.map((o) => ({
929
+ x: this.boundingRect.x,
930
+ y: o[0] - n,
931
+ height: s,
932
+ width: o[1] - this.boundingRect.x,
933
+ fill: this.barData.fill,
934
+ strokeWidth: 0,
935
+ strokeFill: this.barData.fill
936
+ }))
937
+ }
938
+ ] : [
939
+ {
940
+ groupTexts: ["plot", `bar-plot-${this.plotIndex}`],
941
+ type: "rect",
942
+ data: t.map((o) => ({
943
+ x: o[0] - n,
944
+ y: o[1],
945
+ width: s,
946
+ height: this.boundingRect.y + this.boundingRect.height - o[1],
947
+ fill: this.barData.fill,
948
+ strokeWidth: 0,
949
+ strokeFill: this.barData.fill
950
+ }))
951
+ }
952
+ ];
953
+ }
954
+ }, a(it, "BarPlot"), it), et, Ii = (et = class {
955
+ constructor(t, i, s) {
956
+ this.chartConfig = t, this.chartData = i, this.chartThemeConfig = s, this.boundingRect = {
957
+ x: 0,
958
+ y: 0,
959
+ width: 0,
960
+ height: 0
961
+ };
962
+ }
963
+ setAxes(t, i) {
964
+ this.xAxis = t, this.yAxis = i;
965
+ }
966
+ setBoundingBoxXY(t) {
967
+ this.boundingRect.x = t.x, this.boundingRect.y = t.y;
968
+ }
969
+ calculateSpace(t) {
970
+ return this.boundingRect.width = t.width, this.boundingRect.height = t.height, {
971
+ width: this.boundingRect.width,
972
+ height: this.boundingRect.height
973
+ };
974
+ }
975
+ getDrawableElements() {
976
+ if (!(this.xAxis && this.yAxis))
977
+ throw Error("Axes must be passed to render Plots");
978
+ const t = [];
979
+ for (const [i, s] of this.chartData.plots.entries())
980
+ switch (s.type) {
981
+ case "line":
982
+ {
983
+ const n = new Li(
984
+ s,
985
+ this.xAxis,
986
+ this.yAxis,
987
+ this.chartConfig.chartOrientation,
988
+ i
989
+ );
990
+ t.push(...n.getDrawableElement());
991
+ }
992
+ break;
993
+ case "bar":
994
+ {
995
+ const n = new Ei(
996
+ s,
997
+ this.boundingRect,
998
+ this.xAxis,
999
+ this.yAxis,
1000
+ this.chartConfig.chartOrientation,
1001
+ i
1002
+ );
1003
+ t.push(...n.getDrawableElement());
1004
+ }
1005
+ break;
1006
+ }
1007
+ return t;
1008
+ }
1009
+ }, a(et, "BasePlot"), et);
1010
+ function qt(e, t, i) {
1011
+ return new Ii(e, t, i);
1012
+ }
1013
+ a(qt, "getPlotComponent");
1014
+ var st, Mi = (st = class {
1015
+ constructor(t, i, s, n) {
1016
+ this.chartConfig = t, this.chartData = i, this.componentStore = {
1017
+ title: $t(t, i, s, n),
1018
+ plot: qt(t, i, s),
1019
+ xAxis: wt(
1020
+ i.xAxis,
1021
+ t.xAxis,
1022
+ {
1023
+ titleColor: s.xAxisTitleColor,
1024
+ labelColor: s.xAxisLabelColor,
1025
+ tickColor: s.xAxisTickColor,
1026
+ axisLineColor: s.xAxisLineColor
1027
+ },
1028
+ n
1029
+ ),
1030
+ yAxis: wt(
1031
+ i.yAxis,
1032
+ t.yAxis,
1033
+ {
1034
+ titleColor: s.yAxisTitleColor,
1035
+ labelColor: s.yAxisLabelColor,
1036
+ tickColor: s.yAxisTickColor,
1037
+ axisLineColor: s.yAxisLineColor
1038
+ },
1039
+ n
1040
+ )
1041
+ };
1042
+ }
1043
+ calculateVerticalSpace() {
1044
+ let t = this.chartConfig.width, i = this.chartConfig.height, s = 0, n = 0, o = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), g = Math.floor(
1045
+ i * this.chartConfig.plotReservedSpacePercent / 100
1046
+ ), m = this.componentStore.plot.calculateSpace({
1047
+ width: o,
1048
+ height: g
1049
+ });
1050
+ t -= m.width, i -= m.height, m = this.componentStore.title.calculateSpace({
1051
+ width: this.chartConfig.width,
1052
+ height: i
1053
+ }), n = m.height, i -= m.height, this.componentStore.xAxis.setAxisPosition("bottom"), m = this.componentStore.xAxis.calculateSpace({
1054
+ width: t,
1055
+ height: i
1056
+ }), i -= m.height, this.componentStore.yAxis.setAxisPosition("left"), m = this.componentStore.yAxis.calculateSpace({
1057
+ width: t,
1058
+ height: i
1059
+ }), s = m.width, t -= m.width, t > 0 && (o += t, t = 0), i > 0 && (g += i, i = 0), this.componentStore.plot.calculateSpace({
1060
+ width: o,
1061
+ height: g
1062
+ }), this.componentStore.plot.setBoundingBoxXY({ x: s, y: n }), this.componentStore.xAxis.setRange([s, s + o]), this.componentStore.xAxis.setBoundingBoxXY({ x: s, y: n + g }), this.componentStore.yAxis.setRange([n, n + g]), this.componentStore.yAxis.setBoundingBoxXY({ x: 0, y: n }), this.chartData.plots.some((p) => At(p)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
1063
+ }
1064
+ calculateHorizontalSpace() {
1065
+ let t = this.chartConfig.width, i = this.chartConfig.height, s = 0, n = 0, o = 0, g = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), m = Math.floor(
1066
+ i * this.chartConfig.plotReservedSpacePercent / 100
1067
+ ), p = this.componentStore.plot.calculateSpace({
1068
+ width: g,
1069
+ height: m
1070
+ });
1071
+ t -= p.width, i -= p.height, p = this.componentStore.title.calculateSpace({
1072
+ width: this.chartConfig.width,
1073
+ height: i
1074
+ }), s = p.height, i -= p.height, this.componentStore.xAxis.setAxisPosition("left"), p = this.componentStore.xAxis.calculateSpace({
1075
+ width: t,
1076
+ height: i
1077
+ }), t -= p.width, n = p.width, this.componentStore.yAxis.setAxisPosition("top"), p = this.componentStore.yAxis.calculateSpace({
1078
+ width: t,
1079
+ height: i
1080
+ }), i -= p.height, o = s + p.height, t > 0 && (g += t, t = 0), i > 0 && (m += i, i = 0), this.componentStore.plot.calculateSpace({
1081
+ width: g,
1082
+ height: m
1083
+ }), this.componentStore.plot.setBoundingBoxXY({ x: n, y: o }), this.componentStore.yAxis.setRange([n, n + g]), this.componentStore.yAxis.setBoundingBoxXY({ x: n, y: s }), this.componentStore.xAxis.setRange([o, o + m]), this.componentStore.xAxis.setBoundingBoxXY({ x: 0, y: o }), this.chartData.plots.some((k) => At(k)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
1084
+ }
1085
+ calculateSpace() {
1086
+ this.chartConfig.chartOrientation === "horizontal" ? this.calculateHorizontalSpace() : this.calculateVerticalSpace();
1087
+ }
1088
+ getDrawableElement() {
1089
+ this.calculateSpace();
1090
+ const t = [];
1091
+ this.componentStore.plot.setAxes(this.componentStore.xAxis, this.componentStore.yAxis);
1092
+ for (const i of Object.values(this.componentStore))
1093
+ t.push(...i.getDrawableElements());
1094
+ return t;
1095
+ }
1096
+ }, a(st, "Orchestrator"), st), nt, Vi = (nt = class {
1097
+ static build(t, i, s, n) {
1098
+ return new Mi(t, i, s, n).getDrawableElement();
1099
+ }
1100
+ }, a(nt, "XYChartBuilder"), nt), rt = 0, Gt, ot = Tt(), ht = Rt(), A = Dt(), Ct = ht.plotColorPalette.split(",").map((e) => e.trim()), gt = !1, kt = !1;
1101
+ function Rt() {
1102
+ const e = wi(), t = St();
1103
+ return Yt(e.xyChart, t.themeVariables.xyChart);
1104
+ }
1105
+ a(Rt, "getChartDefaultThemeConfig");
1106
+ function Tt() {
1107
+ const e = St();
1108
+ return Yt(
1109
+ Ai.xyChart,
1110
+ e.xyChart
1111
+ );
1112
+ }
1113
+ a(Tt, "getChartDefaultConfig");
1114
+ function Dt() {
1115
+ return {
1116
+ yAxis: {
1117
+ type: "linear",
1118
+ title: "",
1119
+ min: 1 / 0,
1120
+ max: -1 / 0
1121
+ },
1122
+ xAxis: {
1123
+ type: "band",
1124
+ title: "",
1125
+ categories: []
1126
+ },
1127
+ title: "",
1128
+ plots: []
1129
+ };
1130
+ }
1131
+ a(Dt, "getChartDefaultData");
1132
+ function xt(e) {
1133
+ const t = St();
1134
+ return Ci(e.trim(), t);
1135
+ }
1136
+ a(xt, "textSanitizer");
1137
+ function jt(e) {
1138
+ Gt = e;
1139
+ }
1140
+ a(jt, "setTmpSVGG");
1141
+ function Qt(e) {
1142
+ e === "horizontal" ? ot.chartOrientation = "horizontal" : ot.chartOrientation = "vertical";
1143
+ }
1144
+ a(Qt, "setOrientation");
1145
+ function Kt(e) {
1146
+ A.xAxis.title = xt(e.text);
1147
+ }
1148
+ a(Kt, "setXAxisTitle");
1149
+ function vt(e, t) {
1150
+ A.xAxis = { type: "linear", title: A.xAxis.title, min: e, max: t }, gt = !0;
1151
+ }
1152
+ a(vt, "setXAxisRangeData");
1153
+ function Zt(e) {
1154
+ A.xAxis = {
1155
+ type: "band",
1156
+ title: A.xAxis.title,
1157
+ categories: e.map((t) => xt(t.text))
1158
+ }, gt = !0;
1159
+ }
1160
+ a(Zt, "setXAxisBand");
1161
+ function Jt(e) {
1162
+ A.yAxis.title = xt(e.text);
1163
+ }
1164
+ a(Jt, "setYAxisTitle");
1165
+ function ti(e, t) {
1166
+ A.yAxis = { type: "linear", title: A.yAxis.title, min: e, max: t }, kt = !0;
1167
+ }
1168
+ a(ti, "setYAxisRangeData");
1169
+ function ii(e) {
1170
+ const t = Math.min(...e), i = Math.max(...e), s = G(A.yAxis) ? A.yAxis.min : 1 / 0, n = G(A.yAxis) ? A.yAxis.max : -1 / 0;
1171
+ A.yAxis = {
1172
+ type: "linear",
1173
+ title: A.yAxis.title,
1174
+ min: Math.min(s, t),
1175
+ max: Math.max(n, i)
1176
+ };
1177
+ }
1178
+ a(ii, "setYAxisRangeFromPlotData");
1179
+ function Pt(e) {
1180
+ let t = [];
1181
+ if (e.length === 0)
1182
+ return t;
1183
+ if (!gt) {
1184
+ const i = G(A.xAxis) ? A.xAxis.min : 1 / 0, s = G(A.xAxis) ? A.xAxis.max : -1 / 0;
1185
+ vt(Math.min(i, 1), Math.max(s, e.length));
1186
+ }
1187
+ if (kt || ii(e), _t(A.xAxis) && (t = A.xAxis.categories.map((i, s) => [i, e[s]])), G(A.xAxis)) {
1188
+ const i = A.xAxis.min, s = A.xAxis.max, n = (s - i) / (e.length - 1), o = [];
1189
+ for (let g = i; g <= s; g += n)
1190
+ o.push(`${g}`);
1191
+ t = o.map((g, m) => [g, e[m]]);
1192
+ }
1193
+ return t;
1194
+ }
1195
+ a(Pt, "transformDataWithoutCategory");
1196
+ function Lt(e) {
1197
+ return Ct[e === 0 ? 0 : e % Ct.length];
1198
+ }
1199
+ a(Lt, "getPlotColorFromPalette");
1200
+ function ei(e, t) {
1201
+ const i = Pt(t);
1202
+ A.plots.push({
1203
+ type: "line",
1204
+ strokeFill: Lt(rt),
1205
+ strokeWidth: 2,
1206
+ data: i
1207
+ }), rt++;
1208
+ }
1209
+ a(ei, "setLineData");
1210
+ function si(e, t) {
1211
+ const i = Pt(t);
1212
+ A.plots.push({
1213
+ type: "bar",
1214
+ fill: Lt(rt),
1215
+ data: i
1216
+ }), rt++;
1217
+ }
1218
+ a(si, "setBarData");
1219
+ function ni() {
1220
+ if (A.plots.length === 0)
1221
+ throw Error("No Plot to render, please provide a plot with some data");
1222
+ return A.title = Xt(), Vi.build(ot, A, ht, Gt);
1223
+ }
1224
+ a(ni, "getDrawableElem");
1225
+ function ai() {
1226
+ return ht;
1227
+ }
1228
+ a(ai, "getChartThemeConfig");
1229
+ function ri() {
1230
+ return ot;
1231
+ }
1232
+ a(ri, "getChartConfig");
1233
+ function oi() {
1234
+ return A;
1235
+ }
1236
+ a(oi, "getXYChartData");
1237
+ var Bi = /* @__PURE__ */ a(function() {
1238
+ bi(), rt = 0, ot = Tt(), A = Dt(), ht = Rt(), Ct = ht.plotColorPalette.split(",").map((e) => e.trim()), gt = !1, kt = !1;
1239
+ }, "clear"), Wi = {
1240
+ getDrawableElem: ni,
1241
+ clear: Bi,
1242
+ setAccTitle: pi,
1243
+ getAccTitle: fi,
1244
+ setDiagramTitle: di,
1245
+ getDiagramTitle: Xt,
1246
+ getAccDescription: xi,
1247
+ setAccDescription: gi,
1248
+ setOrientation: Qt,
1249
+ setXAxisTitle: Kt,
1250
+ setXAxisRangeData: vt,
1251
+ setXAxisBand: Zt,
1252
+ setYAxisTitle: Jt,
1253
+ setYAxisRangeData: ti,
1254
+ setLineData: ei,
1255
+ setBarData: si,
1256
+ setTmpSVGG: jt,
1257
+ getChartThemeConfig: ai,
1258
+ getChartConfig: ri,
1259
+ getXYChartData: oi
1260
+ }, zi = /* @__PURE__ */ a((e, t, i, s) => {
1261
+ const n = s.db, o = n.getChartThemeConfig(), g = n.getChartConfig(), m = n.getXYChartData().plots[0].data.map((y) => y[1]);
1262
+ function p(y) {
1263
+ return y === "top" ? "text-before-edge" : "middle";
1264
+ }
1265
+ a(p, "getDominantBaseLine");
1266
+ function k(y) {
1267
+ return y === "left" ? "start" : y === "right" ? "end" : "middle";
1268
+ }
1269
+ a(k, "getTextAnchor");
1270
+ function v(y) {
1271
+ return `translate(${y.x}, ${y.y}) rotate(${y.rotation || 0})`;
1272
+ }
1273
+ a(v, "getTextTransformation"), Nt.debug(`Rendering xychart chart
1274
+ ` + e);
1275
+ const C = mi(t), b = C.append("g").attr("class", "main"), E = b.append("rect").attr("width", g.width).attr("height", g.height).attr("class", "background");
1276
+ yi(C, g.height, g.width, !0), C.attr("viewBox", `0 0 ${g.width} ${g.height}`), E.attr("fill", o.backgroundColor), n.setTmpSVGG(C.append("g").attr("class", "mermaid-tmp-group"));
1277
+ const D = n.getDrawableElem(), P = {};
1278
+ function I(y) {
1279
+ let _ = b, c = "";
1280
+ for (const [W] of y.entries()) {
1281
+ let z = b;
1282
+ W > 0 && P[c] && (z = P[c]), c += y[W], _ = P[c], _ || (_ = P[c] = z.append("g").attr("class", y[W]));
1283
+ }
1284
+ return _;
1285
+ }
1286
+ a(I, "getGroup");
1287
+ for (const y of D) {
1288
+ if (y.data.length === 0)
1289
+ continue;
1290
+ const _ = I(y.groupTexts);
1291
+ switch (y.type) {
1292
+ case "rect":
1293
+ if (_.selectAll("rect").data(y.data).enter().append("rect").attr("x", (c) => c.x).attr("y", (c) => c.y).attr("width", (c) => c.width).attr("height", (c) => c.height).attr("fill", (c) => c.fill).attr("stroke", (c) => c.strokeFill).attr("stroke-width", (c) => c.strokeWidth), g.showDataLabel)
1294
+ if (g.chartOrientation === "horizontal") {
1295
+ let c = function(l, L) {
1296
+ const { data: S, label: R } = l;
1297
+ return L * R.length * W <= S.width - 10;
1298
+ };
1299
+ a(c, "fitsHorizontally");
1300
+ const W = 0.7, z = y.data.map((l, L) => ({ data: l, label: m[L].toString() })).filter((l) => l.data.width > 0 && l.data.height > 0), U = z.map((l) => {
1301
+ const { data: L } = l;
1302
+ let S = L.height * 0.7;
1303
+ for (; !c(l, S) && S > 0; )
1304
+ S -= 1;
1305
+ return S;
1306
+ }), X = Math.floor(Math.min(...U));
1307
+ _.selectAll("text").data(z).enter().append("text").attr("x", (l) => l.data.x + l.data.width - 10).attr("y", (l) => l.data.y + l.data.height / 2).attr("text-anchor", "end").attr("dominant-baseline", "middle").attr("fill", "black").attr("font-size", `${X}px`).text((l) => l.label);
1308
+ } else {
1309
+ let c = function(l, L, S) {
1310
+ const { data: R, label: $ } = l, N = L * $.length * 0.7, F = R.x + R.width / 2, h = F - N / 2, u = F + N / 2, x = h >= R.x && u <= R.x + R.width, d = R.y + S + L <= R.y + R.height;
1311
+ return x && d;
1312
+ };
1313
+ a(c, "fitsInBar");
1314
+ const W = 10, z = y.data.map((l, L) => ({ data: l, label: m[L].toString() })).filter((l) => l.data.width > 0 && l.data.height > 0), U = z.map((l) => {
1315
+ const { data: L, label: S } = l;
1316
+ let R = L.width / (S.length * 0.7);
1317
+ for (; !c(l, R, W) && R > 0; )
1318
+ R -= 1;
1319
+ return R;
1320
+ }), X = Math.floor(Math.min(...U));
1321
+ _.selectAll("text").data(z).enter().append("text").attr("x", (l) => l.data.x + l.data.width / 2).attr("y", (l) => l.data.y + W).attr("text-anchor", "middle").attr("dominant-baseline", "hanging").attr("fill", "black").attr("font-size", `${X}px`).text((l) => l.label);
1322
+ }
1323
+ break;
1324
+ case "text":
1325
+ _.selectAll("text").data(y.data).enter().append("text").attr("x", 0).attr("y", 0).attr("fill", (c) => c.fill).attr("font-size", (c) => c.fontSize).attr("dominant-baseline", (c) => p(c.verticalPos)).attr("text-anchor", (c) => k(c.horizontalPos)).attr("transform", (c) => v(c)).text((c) => c.text);
1326
+ break;
1327
+ case "path":
1328
+ _.selectAll("path").data(y.data).enter().append("path").attr("d", (c) => c.path).attr("fill", (c) => c.fill ? c.fill : "none").attr("stroke", (c) => c.strokeFill).attr("stroke-width", (c) => c.strokeWidth);
1329
+ break;
1330
+ }
1331
+ }
1332
+ }, "draw"), Fi = {
1333
+ draw: zi
1334
+ }, Ui = {
1335
+ parser: Ti,
1336
+ db: Wi,
1337
+ renderer: Fi
1338
+ };
1339
+ export {
1340
+ Ui as diagram
1341
+ };