@wzh-/ai-chat-example 1.0.0 → 1.0.2

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 (1176) hide show
  1. package/dist/App.vue.d.ts +2 -0
  2. package/dist/_basePickBy-CkZky1V-.js +135 -0
  3. package/dist/_baseUniq-f11MNaXe.js +573 -0
  4. package/dist/abap--jVlqvLx.js +2 -0
  5. package/dist/actionscript-3-N1AoJtTA.js +2 -0
  6. package/dist/ada-CYGINLea.js +2 -0
  7. package/dist/andromeeda-CvsZnG9k.js +2 -0
  8. package/dist/angular-html-C5vmpet2.js +14 -0
  9. package/dist/angular-html-CLTv4jM9.js +5 -0
  10. package/dist/angular-ts-BKqJWrwt.js +19 -0
  11. package/dist/apache-D6X-_dyJ.js +2 -0
  12. package/dist/apex-C7VgAgAE.js +2 -0
  13. package/dist/apl-BcJs32yU.js +15 -0
  14. package/dist/applescript-DN64Su6U.js +2 -0
  15. package/dist/ara-Dm1jHrgg.js +2 -0
  16. package/dist/arc-Dh_0vvHo.js +78 -0
  17. package/dist/architecture-U656AL7Q-BqUSHYp0.js +8 -0
  18. package/dist/architectureDiagram-VXUJARFQ-BQvEdgpc.js +4053 -0
  19. package/dist/array-CkdOJbdT.js +5 -0
  20. package/dist/asciidoc-BpqtqRF5.js +2 -0
  21. package/dist/asm-DUGlKYIq.js +2 -0
  22. package/dist/astro-q-huTQEP.js +16 -0
  23. package/dist/aurora-x-DwOih-un.js +2 -0
  24. package/dist/awk-DcnVbJrN.js +2 -0
  25. package/dist/ayu-dark-Bd-89MKE.js +2 -0
  26. package/dist/ballerina-BQVdQd9X.js +2 -0
  27. package/dist/bash-DI_p7w58.js +2 -0
  28. package/dist/bat-juB1J52r.js +2 -0
  29. package/dist/beancount-ThxIlRc3.js +2 -0
  30. package/dist/berry-qC18BfC_.js +2 -0
  31. package/dist/bibtex-CahMDY_0.js +2 -0
  32. package/dist/bicep-CHLBKS47.js +2 -0
  33. package/dist/blade-Ckff5WJQ.js +19 -0
  34. package/dist/blockDiagram-VD42YOAC-DKkDshq3.js +3013 -0
  35. package/dist/bsl-BTNab0FD.js +3 -0
  36. package/dist/c-BYDGkYzS.js +2 -0
  37. package/dist/c-CX6yudYR.js +2 -0
  38. package/dist/c4Diagram-YG6GDRKO-KsGqOrVB.js +2955 -0
  39. package/dist/cadence-DA5J9-Di.js +2 -0
  40. package/dist/cairo-DUZgbTPW.js +3 -0
  41. package/dist/catppuccin-frappe-CE3kxG1f.js +2 -0
  42. package/dist/catppuccin-latte-DW2FXeIv.js +2 -0
  43. package/dist/catppuccin-macchiato-CD5qjRSF.js +2 -0
  44. package/dist/catppuccin-mocha-BYwVJvjI.js +2 -0
  45. package/dist/channel-BrxVk5HC.js +3 -0
  46. package/dist/chunk-4BX2VUAB-BGxl5VGr.js +6 -0
  47. package/dist/chunk-55IACEB6-CDMD5yu1.js +6 -0
  48. package/dist/chunk-76Q3JFCE-Db4Lkmow.js +19 -0
  49. package/dist/chunk-ABZYJK2D-BZvlc6Ej.js +2515 -0
  50. package/dist/chunk-ATLVNIR6-C3g7rsIT.js +65 -0
  51. package/dist/chunk-B4BG7PRW-Dx-bGI1r.js +3108 -0
  52. package/dist/chunk-CVBHYZKI-DxEBlSK7.js +10 -0
  53. package/dist/chunk-DI55MBZ5-CCWuZnfW.js +1994 -0
  54. package/dist/chunk-DNh5sLlG.js +18 -0
  55. package/dist/chunk-EXTU4WIE-BjMX7pAs.js +7 -0
  56. package/dist/chunk-FMBD7UC4-Dj3Ok4Bk.js +3 -0
  57. package/dist/chunk-FPAJGGOC-nWbO3e1v.js +12252 -0
  58. package/dist/chunk-FWNWRKHM-CjcwRw2u.js +56 -0
  59. package/dist/chunk-HN2XXSSU-Lv4Ef0co.js +74 -0
  60. package/dist/chunk-JA3XYJ7Z-Dhh1_u_p.js +463 -0
  61. package/dist/chunk-JZLCHNYA-vrb_Ucuc.js +4861 -0
  62. package/dist/chunk-LBM3YZW2-D8lrIfGo.js +19 -0
  63. package/dist/chunk-LHMN2FUI-DLQ0i8hl.js +19 -0
  64. package/dist/chunk-MI3HLSF2-Dy6F9XgR.js +1140 -0
  65. package/dist/chunk-N4CR4FBY-BdaGxHlZ.js +39 -0
  66. package/dist/chunk-O7ZBX7Z2-D8Yaukr5.js +26 -0
  67. package/dist/chunk-QN33PNHL-DnPw7tni.js +23 -0
  68. package/dist/chunk-QXUST7PY-D9mGQ-UP.js +486 -0
  69. package/dist/chunk-QZHKN3VN-ClanGuXA.js +11 -0
  70. package/dist/chunk-S3R3BYOJ-DHTsHczu.js +1074 -0
  71. package/dist/chunk-S6J4BHB3-8RrHs9bD.js +19 -0
  72. package/dist/chunk-T53DSG4Q-C2BDA_QX.js +24 -0
  73. package/dist/chunk-TZMSLE5B-F4nHm7N1.js +55 -0
  74. package/dist/chunk-XAJISQIX-Bz7ki7DY.js +135 -0
  75. package/dist/clarity-CsFOkG3c.js +2 -0
  76. package/dist/classDiagram-2ON5EDUG-C_ZEMlKu.js +33 -0
  77. package/dist/classDiagram-v2-WZHVMYZB-BHb5nZOM.js +33 -0
  78. package/dist/clojure-u1TZmmdQ.js +2 -0
  79. package/dist/clone-BRioDvRr.js +7 -0
  80. package/dist/cmake-CA3Lfsq7.js +2 -0
  81. package/dist/cmake-K1k8HMYR.js +2 -0
  82. package/dist/cobol-DhzLzJib.js +10 -0
  83. package/dist/codeowners-l4eSxhtA.js +2 -0
  84. package/dist/codeql-5CeQaktT.js +2 -0
  85. package/dist/coffee-P21KTKMu.js +3 -0
  86. package/dist/common-lisp-BVttGbYJ.js +2 -0
  87. package/dist/components/ChatConversation/ChatConversation.vue.d.ts +7 -0
  88. package/dist/components/ChatConversation/index.d.ts +1 -0
  89. package/dist/components/ChatPromptInputProvider/ChatPromptInputProvider.vue.d.ts +17 -0
  90. package/dist/components/ChatPromptInputProvider/index.d.ts +1 -0
  91. package/dist/components/ai-elements/artifact/Artifact.vue.d.ts +21 -0
  92. package/dist/components/ai-elements/artifact/ArtifactAction.vue.d.ts +32 -0
  93. package/dist/components/ai-elements/artifact/ArtifactActions.vue.d.ts +21 -0
  94. package/dist/components/ai-elements/artifact/ArtifactClose.vue.d.ts +27 -0
  95. package/dist/components/ai-elements/artifact/ArtifactContent.vue.d.ts +21 -0
  96. package/dist/components/ai-elements/artifact/ArtifactDescription.vue.d.ts +21 -0
  97. package/dist/components/ai-elements/artifact/ArtifactHeader.vue.d.ts +21 -0
  98. package/dist/components/ai-elements/artifact/ArtifactTitle.vue.d.ts +21 -0
  99. package/dist/components/ai-elements/artifact/index.d.ts +8 -0
  100. package/dist/components/ai-elements/canvas/index.d.ts +1 -0
  101. package/dist/components/ai-elements/chain-of-thought/ChainOfThought.vue.d.ts +30 -0
  102. package/dist/components/ai-elements/chain-of-thought/ChainOfThoughtContent.vue.d.ts +21 -0
  103. package/dist/components/ai-elements/chain-of-thought/ChainOfThoughtHeader.vue.d.ts +21 -0
  104. package/dist/components/ai-elements/chain-of-thought/ChainOfThoughtImage.vue.d.ts +22 -0
  105. package/dist/components/ai-elements/chain-of-thought/ChainOfThoughtSearchResult.vue.d.ts +21 -0
  106. package/dist/components/ai-elements/chain-of-thought/ChainOfThoughtSearchResults.vue.d.ts +21 -0
  107. package/dist/components/ai-elements/chain-of-thought/ChainOfThoughtStep.vue.d.ts +28 -0
  108. package/dist/components/ai-elements/chain-of-thought/context.d.ts +6 -0
  109. package/dist/components/ai-elements/chain-of-thought/index.d.ts +7 -0
  110. package/dist/components/ai-elements/checkpoint/Checkpoint.vue.d.ts +21 -0
  111. package/dist/components/ai-elements/checkpoint/CheckpointIcon.vue.d.ts +21 -0
  112. package/dist/components/ai-elements/checkpoint/CheckpointTrigger.vue.d.ts +27 -0
  113. package/dist/components/ai-elements/checkpoint/index.d.ts +3 -0
  114. package/dist/components/ai-elements/code-block/CodeBlock.vue.d.ts +27 -0
  115. package/dist/components/ai-elements/code-block/CodeBlockCopyButton.vue.d.ts +30 -0
  116. package/dist/components/ai-elements/code-block/context.d.ts +5 -0
  117. package/dist/components/ai-elements/code-block/index.d.ts +2 -0
  118. package/dist/components/ai-elements/code-block/utils.d.ts +2 -0
  119. package/dist/components/ai-elements/confirmation/Confirmation.vue.d.ts +25 -0
  120. package/dist/components/ai-elements/confirmation/ConfirmationAccepted.vue.d.ts +17 -0
  121. package/dist/components/ai-elements/confirmation/ConfirmationAction.vue.d.ts +17 -0
  122. package/dist/components/ai-elements/confirmation/ConfirmationActions.vue.d.ts +21 -0
  123. package/dist/components/ai-elements/confirmation/ConfirmationRejected.vue.d.ts +17 -0
  124. package/dist/components/ai-elements/confirmation/ConfirmationRequest.vue.d.ts +17 -0
  125. package/dist/components/ai-elements/confirmation/ConfirmationTitle.vue.d.ts +21 -0
  126. package/dist/components/ai-elements/confirmation/context.d.ts +29 -0
  127. package/dist/components/ai-elements/confirmation/index.d.ts +7 -0
  128. package/dist/components/ai-elements/connection/Connection.vue.d.ts +3 -0
  129. package/dist/components/ai-elements/connection/index.d.ts +1 -0
  130. package/dist/components/ai-elements/context/Context.vue.d.ts +25 -0
  131. package/dist/components/ai-elements/context/ContextCacheUsage.vue.d.ts +21 -0
  132. package/dist/components/ai-elements/context/ContextContent.vue.d.ts +21 -0
  133. package/dist/components/ai-elements/context/ContextContentBody.vue.d.ts +21 -0
  134. package/dist/components/ai-elements/context/ContextContentFooter.vue.d.ts +21 -0
  135. package/dist/components/ai-elements/context/ContextContentHeader.vue.d.ts +21 -0
  136. package/dist/components/ai-elements/context/ContextIcon.vue.d.ts +2 -0
  137. package/dist/components/ai-elements/context/ContextInputUsage.vue.d.ts +21 -0
  138. package/dist/components/ai-elements/context/ContextOutputUsage.vue.d.ts +21 -0
  139. package/dist/components/ai-elements/context/ContextReasoningUsage.vue.d.ts +21 -0
  140. package/dist/components/ai-elements/context/ContextTrigger.vue.d.ts +17 -0
  141. package/dist/components/ai-elements/context/TokensWithCost.vue.d.ts +6 -0
  142. package/dist/components/ai-elements/context/context.d.ts +11 -0
  143. package/dist/components/ai-elements/context/index.d.ts +12 -0
  144. package/dist/components/ai-elements/controls/Controls.vue.d.ts +6 -0
  145. package/dist/components/ai-elements/controls/index.d.ts +1 -0
  146. package/dist/components/ai-elements/conversation/Conversation.vue.d.ts +47 -0
  147. package/dist/components/ai-elements/conversation/ConversationContent.vue.d.ts +21 -0
  148. package/dist/components/ai-elements/conversation/ConversationEmptyState.vue.d.ts +27 -0
  149. package/dist/components/ai-elements/conversation/ConversationScrollButton.vue.d.ts +6 -0
  150. package/dist/components/ai-elements/conversation/index.d.ts +4 -0
  151. package/dist/components/ai-elements/edge/Animated.vue.d.ts +4 -0
  152. package/dist/components/ai-elements/edge/Temporary.vue.d.ts +4 -0
  153. package/dist/components/ai-elements/edge/index.d.ts +2 -0
  154. package/dist/components/ai-elements/image/Image.vue.d.ts +8 -0
  155. package/dist/components/ai-elements/image/index.d.ts +1 -0
  156. package/dist/components/ai-elements/inline-citation/InlineCitation.vue.d.ts +21 -0
  157. package/dist/components/ai-elements/inline-citation/InlineCitationCard.vue.d.ts +24 -0
  158. package/dist/components/ai-elements/inline-citation/InlineCitationCardBody.vue.d.ts +21 -0
  159. package/dist/components/ai-elements/inline-citation/InlineCitationCardTrigger.vue.d.ts +7 -0
  160. package/dist/components/ai-elements/inline-citation/InlineCitationCarousel.vue.d.ts +21 -0
  161. package/dist/components/ai-elements/inline-citation/InlineCitationCarouselContent.vue.d.ts +17 -0
  162. package/dist/components/ai-elements/inline-citation/InlineCitationCarouselHeader.vue.d.ts +21 -0
  163. package/dist/components/ai-elements/inline-citation/InlineCitationCarouselIndex.vue.d.ts +21 -0
  164. package/dist/components/ai-elements/inline-citation/InlineCitationCarouselItem.vue.d.ts +21 -0
  165. package/dist/components/ai-elements/inline-citation/InlineCitationCarouselNext.vue.d.ts +6 -0
  166. package/dist/components/ai-elements/inline-citation/InlineCitationCarouselPrev.vue.d.ts +6 -0
  167. package/dist/components/ai-elements/inline-citation/InlineCitationQuote.vue.d.ts +21 -0
  168. package/dist/components/ai-elements/inline-citation/InlineCitationSource.vue.d.ts +24 -0
  169. package/dist/components/ai-elements/inline-citation/InlineCitationText.vue.d.ts +21 -0
  170. package/dist/components/ai-elements/inline-citation/index.d.ts +14 -0
  171. package/dist/components/ai-elements/loader/Loader.vue.d.ts +9 -0
  172. package/dist/components/ai-elements/loader/LoaderIcon.vue.d.ts +7 -0
  173. package/dist/components/ai-elements/loader/index.d.ts +2 -0
  174. package/dist/components/ai-elements/message/Message.vue.d.ts +23 -0
  175. package/dist/components/ai-elements/message/MessageAction.vue.d.ts +28 -0
  176. package/dist/components/ai-elements/message/MessageActions.vue.d.ts +21 -0
  177. package/dist/components/ai-elements/message/MessageAttachment.vue.d.ts +12 -0
  178. package/dist/components/ai-elements/message/MessageAttachments.vue.d.ts +21 -0
  179. package/dist/components/ai-elements/message/MessageAvatar.vue.d.ts +8 -0
  180. package/dist/components/ai-elements/message/MessageBranch.vue.d.ts +28 -0
  181. package/dist/components/ai-elements/message/MessageBranchContent.vue.d.ts +6 -0
  182. package/dist/components/ai-elements/message/MessageBranchNext.vue.d.ts +17 -0
  183. package/dist/components/ai-elements/message/MessageBranchPage.vue.d.ts +6 -0
  184. package/dist/components/ai-elements/message/MessageBranchPrevious.vue.d.ts +17 -0
  185. package/dist/components/ai-elements/message/MessageBranchSelector.vue.d.ts +21 -0
  186. package/dist/components/ai-elements/message/MessageContent.vue.d.ts +21 -0
  187. package/dist/components/ai-elements/message/MessageResponse.vue.d.ts +7 -0
  188. package/dist/components/ai-elements/message/MessageToolbar.vue.d.ts +21 -0
  189. package/dist/components/ai-elements/message/context.d.ts +11 -0
  190. package/dist/components/ai-elements/message/index.d.ts +15 -0
  191. package/dist/components/ai-elements/model-selector/ModelSelector.vue.d.ts +17 -0
  192. package/dist/components/ai-elements/model-selector/ModelSelectorContent.vue.d.ts +24 -0
  193. package/dist/components/ai-elements/model-selector/ModelSelectorDialog.vue.d.ts +17 -0
  194. package/dist/components/ai-elements/model-selector/ModelSelectorEmpty.vue.d.ts +17 -0
  195. package/dist/components/ai-elements/model-selector/ModelSelectorGroup.vue.d.ts +17 -0
  196. package/dist/components/ai-elements/model-selector/ModelSelectorInput.vue.d.ts +6 -0
  197. package/dist/components/ai-elements/model-selector/ModelSelectorItem.vue.d.ts +17 -0
  198. package/dist/components/ai-elements/model-selector/ModelSelectorList.vue.d.ts +17 -0
  199. package/dist/components/ai-elements/model-selector/ModelSelectorLogo.vue.d.ts +7 -0
  200. package/dist/components/ai-elements/model-selector/ModelSelectorLogoGroup.vue.d.ts +21 -0
  201. package/dist/components/ai-elements/model-selector/ModelSelectorName.vue.d.ts +21 -0
  202. package/dist/components/ai-elements/model-selector/ModelSelectorSeparator.vue.d.ts +2 -0
  203. package/dist/components/ai-elements/model-selector/ModelSelectorShortcut.vue.d.ts +17 -0
  204. package/dist/components/ai-elements/model-selector/ModelSelectorTrigger.vue.d.ts +17 -0
  205. package/dist/components/ai-elements/model-selector/index.d.ts +14 -0
  206. package/dist/components/ai-elements/node/Node.vue.d.ts +26 -0
  207. package/dist/components/ai-elements/node/NodeAction.vue.d.ts +17 -0
  208. package/dist/components/ai-elements/node/NodeContent.vue.d.ts +21 -0
  209. package/dist/components/ai-elements/node/NodeDescription.vue.d.ts +17 -0
  210. package/dist/components/ai-elements/node/NodeFooter.vue.d.ts +21 -0
  211. package/dist/components/ai-elements/node/NodeHeader.vue.d.ts +21 -0
  212. package/dist/components/ai-elements/node/NodeTitle.vue.d.ts +17 -0
  213. package/dist/components/ai-elements/node/index.d.ts +7 -0
  214. package/dist/components/ai-elements/open-in-chat/OpenIn.vue.d.ts +20 -0
  215. package/dist/components/ai-elements/open-in-chat/OpenInContent.vue.d.ts +21 -0
  216. package/dist/components/ai-elements/open-in-chat/OpenInItemLink.vue.d.ts +8 -0
  217. package/dist/components/ai-elements/open-in-chat/OpenInTrigger.vue.d.ts +17 -0
  218. package/dist/components/ai-elements/open-in-chat/context.d.ts +7 -0
  219. package/dist/components/ai-elements/open-in-chat/index.d.ts +9 -0
  220. package/dist/components/ai-elements/open-in-chat/providers/icons/ChatGPT.vue.d.ts +2 -0
  221. package/dist/components/ai-elements/open-in-chat/providers/icons/Claude.vue.d.ts +2 -0
  222. package/dist/components/ai-elements/open-in-chat/providers/icons/Cursor.vue.d.ts +2 -0
  223. package/dist/components/ai-elements/open-in-chat/providers/icons/Github.vue.d.ts +2 -0
  224. package/dist/components/ai-elements/open-in-chat/providers/icons/Scira.vue.d.ts +2 -0
  225. package/dist/components/ai-elements/open-in-chat/providers/icons/V0.vue.d.ts +2 -0
  226. package/dist/components/ai-elements/open-in-chat/providers/icons/index.d.ts +6 -0
  227. package/dist/components/ai-elements/open-in-chat/providers/index.d.ts +38 -0
  228. package/dist/components/ai-elements/open-in-chat/providers/items/OpenInChatGPT.vue.d.ts +2 -0
  229. package/dist/components/ai-elements/open-in-chat/providers/items/OpenInClaude.vue.d.ts +2 -0
  230. package/dist/components/ai-elements/open-in-chat/providers/items/OpenInCursor.vue.d.ts +2 -0
  231. package/dist/components/ai-elements/open-in-chat/providers/items/OpenInScira.vue.d.ts +2 -0
  232. package/dist/components/ai-elements/open-in-chat/providers/items/OpenInT3.vue.d.ts +2 -0
  233. package/dist/components/ai-elements/open-in-chat/providers/items/OpenInv0.vue.d.ts +2 -0
  234. package/dist/components/ai-elements/panel/Panel.vue.d.ts +25 -0
  235. package/dist/components/ai-elements/panel/index.d.ts +1 -0
  236. package/dist/components/ai-elements/plan/Plan.vue.d.ts +24 -0
  237. package/dist/components/ai-elements/plan/PlanAction.vue.d.ts +17 -0
  238. package/dist/components/ai-elements/plan/PlanContent.vue.d.ts +17 -0
  239. package/dist/components/ai-elements/plan/PlanDescription.vue.d.ts +22 -0
  240. package/dist/components/ai-elements/plan/PlanFooter.vue.d.ts +17 -0
  241. package/dist/components/ai-elements/plan/PlanHeader.vue.d.ts +21 -0
  242. package/dist/components/ai-elements/plan/PlanTitle.vue.d.ts +18 -0
  243. package/dist/components/ai-elements/plan/PlanTrigger.vue.d.ts +6 -0
  244. package/dist/components/ai-elements/plan/context.d.ts +7 -0
  245. package/dist/components/ai-elements/plan/index.d.ts +8 -0
  246. package/dist/components/ai-elements/prompt-input/PromptInput.vue.d.ts +46 -0
  247. package/dist/components/ai-elements/prompt-input/PromptInputActionAddAttachments.vue.d.ts +7 -0
  248. package/dist/components/ai-elements/prompt-input/PromptInputActionMenu.vue.d.ts +21 -0
  249. package/dist/components/ai-elements/prompt-input/PromptInputActionMenuContent.vue.d.ts +23 -0
  250. package/dist/components/ai-elements/prompt-input/PromptInputActionMenuItem.vue.d.ts +23 -0
  251. package/dist/components/ai-elements/prompt-input/PromptInputActionMenuTrigger.vue.d.ts +23 -0
  252. package/dist/components/ai-elements/prompt-input/PromptInputAttachment.vue.d.ts +8 -0
  253. package/dist/components/ai-elements/prompt-input/PromptInputAttachments.vue.d.ts +23 -0
  254. package/dist/components/ai-elements/prompt-input/PromptInputBody.vue.d.ts +21 -0
  255. package/dist/components/ai-elements/prompt-input/PromptInputButton.vue.d.ts +20 -0
  256. package/dist/components/ai-elements/prompt-input/PromptInputCommand.vue.d.ts +23 -0
  257. package/dist/components/ai-elements/prompt-input/PromptInputCommandEmpty.vue.d.ts +23 -0
  258. package/dist/components/ai-elements/prompt-input/PromptInputCommandGroup.vue.d.ts +23 -0
  259. package/dist/components/ai-elements/prompt-input/PromptInputCommandInput.vue.d.ts +8 -0
  260. package/dist/components/ai-elements/prompt-input/PromptInputCommandItem.vue.d.ts +23 -0
  261. package/dist/components/ai-elements/prompt-input/PromptInputCommandList.vue.d.ts +8 -0
  262. package/dist/components/ai-elements/prompt-input/PromptInputCommandSeparator.vue.d.ts +8 -0
  263. package/dist/components/ai-elements/prompt-input/PromptInputFooter.vue.d.ts +23 -0
  264. package/dist/components/ai-elements/prompt-input/PromptInputHeader.vue.d.ts +23 -0
  265. package/dist/components/ai-elements/prompt-input/PromptInputHoverCard.vue.d.ts +26 -0
  266. package/dist/components/ai-elements/prompt-input/PromptInputHoverCardContent.vue.d.ts +23 -0
  267. package/dist/components/ai-elements/prompt-input/PromptInputHoverCardTrigger.vue.d.ts +21 -0
  268. package/dist/components/ai-elements/prompt-input/PromptInputProvider.vue.d.ts +43 -0
  269. package/dist/components/ai-elements/prompt-input/PromptInputSelect.vue.d.ts +21 -0
  270. package/dist/components/ai-elements/prompt-input/PromptInputSelectContent.vue.d.ts +23 -0
  271. package/dist/components/ai-elements/prompt-input/PromptInputSelectItem.vue.d.ts +23 -0
  272. package/dist/components/ai-elements/prompt-input/PromptInputSelectTrigger.vue.d.ts +23 -0
  273. package/dist/components/ai-elements/prompt-input/PromptInputSelectValue.vue.d.ts +23 -0
  274. package/dist/components/ai-elements/prompt-input/PromptInputSpeechButton.vue.d.ts +51 -0
  275. package/dist/components/ai-elements/prompt-input/PromptInputSubmit.vue.d.ts +30 -0
  276. package/dist/components/ai-elements/prompt-input/PromptInputTab.vue.d.ts +21 -0
  277. package/dist/components/ai-elements/prompt-input/PromptInputTabBody.vue.d.ts +21 -0
  278. package/dist/components/ai-elements/prompt-input/PromptInputTabItem.vue.d.ts +21 -0
  279. package/dist/components/ai-elements/prompt-input/PromptInputTabLabel.vue.d.ts +21 -0
  280. package/dist/components/ai-elements/prompt-input/PromptInputTabsList.vue.d.ts +21 -0
  281. package/dist/components/ai-elements/prompt-input/PromptInputTextarea.vue.d.ts +8 -0
  282. package/dist/components/ai-elements/prompt-input/PromptInputTools.vue.d.ts +21 -0
  283. package/dist/components/ai-elements/prompt-input/context.d.ts +22 -0
  284. package/dist/components/ai-elements/prompt-input/index.d.ts +39 -0
  285. package/dist/components/ai-elements/prompt-input/types.d.ts +24 -0
  286. package/dist/components/ai-elements/queue/Queue.vue.d.ts +21 -0
  287. package/dist/components/ai-elements/queue/QueueItem.vue.d.ts +21 -0
  288. package/dist/components/ai-elements/queue/QueueItemAction.vue.d.ts +21 -0
  289. package/dist/components/ai-elements/queue/QueueItemActions.vue.d.ts +21 -0
  290. package/dist/components/ai-elements/queue/QueueItemAttachment.vue.d.ts +21 -0
  291. package/dist/components/ai-elements/queue/QueueItemContent.vue.d.ts +24 -0
  292. package/dist/components/ai-elements/queue/QueueItemDescription.vue.d.ts +24 -0
  293. package/dist/components/ai-elements/queue/QueueItemFile.vue.d.ts +21 -0
  294. package/dist/components/ai-elements/queue/QueueItemImage.vue.d.ts +6 -0
  295. package/dist/components/ai-elements/queue/QueueItemIndicator.vue.d.ts +9 -0
  296. package/dist/components/ai-elements/queue/QueueList.vue.d.ts +21 -0
  297. package/dist/components/ai-elements/queue/QueueSection.vue.d.ts +24 -0
  298. package/dist/components/ai-elements/queue/QueueSectionContent.vue.d.ts +21 -0
  299. package/dist/components/ai-elements/queue/QueueSectionLabel.vue.d.ts +23 -0
  300. package/dist/components/ai-elements/queue/QueueSectionTrigger.vue.d.ts +21 -0
  301. package/dist/components/ai-elements/queue/index.d.ts +15 -0
  302. package/dist/components/ai-elements/reasoning/Reasoning.vue.d.ts +35 -0
  303. package/dist/components/ai-elements/reasoning/ReasoningContent.vue.d.ts +7 -0
  304. package/dist/components/ai-elements/reasoning/ReasoningTrigger.vue.d.ts +21 -0
  305. package/dist/components/ai-elements/reasoning/context.d.ts +9 -0
  306. package/dist/components/ai-elements/reasoning/index.d.ts +3 -0
  307. package/dist/components/ai-elements/shimmer/Shimmer.vue.d.ts +28 -0
  308. package/dist/components/ai-elements/shimmer/index.d.ts +1 -0
  309. package/dist/components/ai-elements/sources/Source.vue.d.ts +23 -0
  310. package/dist/components/ai-elements/sources/Sources.vue.d.ts +21 -0
  311. package/dist/components/ai-elements/sources/SourcesContent.vue.d.ts +21 -0
  312. package/dist/components/ai-elements/sources/SourcesTrigger.vue.d.ts +22 -0
  313. package/dist/components/ai-elements/sources/index.d.ts +4 -0
  314. package/dist/components/ai-elements/suggestion/Suggestion.vue.d.ts +31 -0
  315. package/dist/components/ai-elements/suggestion/Suggestions.vue.d.ts +21 -0
  316. package/dist/components/ai-elements/suggestion/index.d.ts +2 -0
  317. package/dist/components/ai-elements/task/Task.vue.d.ts +28 -0
  318. package/dist/components/ai-elements/task/TaskContent.vue.d.ts +21 -0
  319. package/dist/components/ai-elements/task/TaskItem.vue.d.ts +21 -0
  320. package/dist/components/ai-elements/task/TaskItemFile.vue.d.ts +21 -0
  321. package/dist/components/ai-elements/task/TaskTrigger.vue.d.ts +22 -0
  322. package/dist/components/ai-elements/task/index.d.ts +5 -0
  323. package/dist/components/ai-elements/tool/Tool.vue.d.ts +21 -0
  324. package/dist/components/ai-elements/tool/ToolContent.vue.d.ts +21 -0
  325. package/dist/components/ai-elements/tool/ToolHeader.vue.d.ts +10 -0
  326. package/dist/components/ai-elements/tool/ToolInput.vue.d.ts +8 -0
  327. package/dist/components/ai-elements/tool/ToolOutput.vue.d.ts +9 -0
  328. package/dist/components/ai-elements/tool/ToolStatusBadge.vue.d.ts +6 -0
  329. package/dist/components/ai-elements/tool/index.d.ts +5 -0
  330. package/dist/components/ai-elements/toolbar/Toolbar.vue.d.ts +25 -0
  331. package/dist/components/ai-elements/toolbar/index.d.ts +1 -0
  332. package/dist/components/ai-elements/web-preview/WebPreview.vue.d.ts +34 -0
  333. package/dist/components/ai-elements/web-preview/WebPreviewBody.vue.d.ts +24 -0
  334. package/dist/components/ai-elements/web-preview/WebPreviewConsole.vue.d.ts +30 -0
  335. package/dist/components/ai-elements/web-preview/WebPreviewNavigation.vue.d.ts +21 -0
  336. package/dist/components/ai-elements/web-preview/WebPreviewNavigationButton.vue.d.ts +30 -0
  337. package/dist/components/ai-elements/web-preview/WebPreviewUrl.vue.d.ts +9 -0
  338. package/dist/components/ai-elements/web-preview/context.d.ts +9 -0
  339. package/dist/components/ai-elements/web-preview/index.d.ts +7 -0
  340. package/dist/components/ui/alert/Alert.vue.d.ts +23 -0
  341. package/dist/components/ui/alert/AlertDescription.vue.d.ts +21 -0
  342. package/dist/components/ui/alert/AlertTitle.vue.d.ts +21 -0
  343. package/dist/components/ui/alert/index.d.ts +8 -0
  344. package/dist/components/ui/avatar/Avatar.vue.d.ts +21 -0
  345. package/dist/components/ui/avatar/AvatarFallback.vue.d.ts +22 -0
  346. package/dist/components/ui/avatar/AvatarImage.vue.d.ts +18 -0
  347. package/dist/components/ui/avatar/index.d.ts +3 -0
  348. package/dist/components/ui/badge/Badge.vue.d.ts +24 -0
  349. package/dist/components/ui/badge/index.d.ts +6 -0
  350. package/dist/components/ui/button/Button.vue.d.ts +27 -0
  351. package/dist/components/ui/button/index.d.ts +7 -0
  352. package/dist/components/ui/button-group/ButtonGroup.vue.d.ts +23 -0
  353. package/dist/components/ui/button-group/ButtonGroupSeparator.vue.d.ts +9 -0
  354. package/dist/components/ui/button-group/ButtonGroupText.vue.d.ts +26 -0
  355. package/dist/components/ui/button-group/index.d.ts +8 -0
  356. package/dist/components/ui/card/Card.vue.d.ts +21 -0
  357. package/dist/components/ui/card/CardAction.vue.d.ts +21 -0
  358. package/dist/components/ui/card/CardContent.vue.d.ts +21 -0
  359. package/dist/components/ui/card/CardDescription.vue.d.ts +21 -0
  360. package/dist/components/ui/card/CardFooter.vue.d.ts +21 -0
  361. package/dist/components/ui/card/CardHeader.vue.d.ts +21 -0
  362. package/dist/components/ui/card/CardTitle.vue.d.ts +21 -0
  363. package/dist/components/ui/card/index.d.ts +7 -0
  364. package/dist/components/ui/carousel/CarouselContent.vue.d.ts +22 -0
  365. package/dist/components/ui/carousel/CarouselItem.vue.d.ts +18 -0
  366. package/dist/components/ui/carousel/CarouselNext.vue.d.ts +26 -0
  367. package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +26 -0
  368. package/dist/components/ui/carousel/index.d.ts +7 -0
  369. package/dist/components/ui/carousel/interface.d.ts +19 -0
  370. package/dist/components/ui/collapsible/Collapsible.vue.d.ts +24 -0
  371. package/dist/components/ui/collapsible/CollapsibleContent.vue.d.ts +18 -0
  372. package/dist/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +18 -0
  373. package/dist/components/ui/collapsible/index.d.ts +3 -0
  374. package/dist/components/ui/command/Command.vue.d.ts +40 -0
  375. package/dist/components/ui/command/CommandDialog.vue.d.ts +32 -0
  376. package/dist/components/ui/command/CommandEmpty.vue.d.ts +22 -0
  377. package/dist/components/ui/command/CommandGroup.vue.d.ts +23 -0
  378. package/dist/components/ui/command/CommandInput.vue.d.ts +7 -0
  379. package/dist/components/ui/command/CommandItem.vue.d.ts +30 -0
  380. package/dist/components/ui/command/CommandList.vue.d.ts +22 -0
  381. package/dist/components/ui/command/CommandSeparator.vue.d.ts +22 -0
  382. package/dist/components/ui/command/CommandShortcut.vue.d.ts +21 -0
  383. package/dist/components/ui/command/index.d.ts +90 -0
  384. package/dist/components/ui/dialog/Dialog.vue.d.ts +25 -0
  385. package/dist/components/ui/dialog/DialogClose.vue.d.ts +18 -0
  386. package/dist/components/ui/dialog/DialogContent.vue.d.ts +39 -0
  387. package/dist/components/ui/dialog/DialogDescription.vue.d.ts +22 -0
  388. package/dist/components/ui/dialog/DialogFooter.vue.d.ts +21 -0
  389. package/dist/components/ui/dialog/DialogHeader.vue.d.ts +21 -0
  390. package/dist/components/ui/dialog/DialogOverlay.vue.d.ts +22 -0
  391. package/dist/components/ui/dialog/DialogScrollContent.vue.d.ts +36 -0
  392. package/dist/components/ui/dialog/DialogTitle.vue.d.ts +22 -0
  393. package/dist/components/ui/dialog/DialogTrigger.vue.d.ts +18 -0
  394. package/dist/components/ui/dialog/index.d.ts +10 -0
  395. package/dist/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +24 -0
  396. package/dist/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +29 -0
  397. package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +36 -0
  398. package/dist/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +18 -0
  399. package/dist/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +26 -0
  400. package/dist/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +23 -0
  401. package/dist/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +22 -0
  402. package/dist/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +27 -0
  403. package/dist/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +7 -0
  404. package/dist/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +21 -0
  405. package/dist/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +22 -0
  406. package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +38 -0
  407. package/dist/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +23 -0
  408. package/dist/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +18 -0
  409. package/dist/components/ui/dropdown-menu/index.d.ts +15 -0
  410. package/dist/components/ui/hover-card/HoverCard.vue.d.ts +24 -0
  411. package/dist/components/ui/hover-card/HoverCardContent.vue.d.ts +24 -0
  412. package/dist/components/ui/hover-card/HoverCardTrigger.vue.d.ts +18 -0
  413. package/dist/components/ui/hover-card/index.d.ts +3 -0
  414. package/dist/components/ui/input/Input.vue.d.ts +12 -0
  415. package/dist/components/ui/input/index.d.ts +1 -0
  416. package/dist/components/ui/input-group/InputGroup.vue.d.ts +21 -0
  417. package/dist/components/ui/input-group/InputGroupAddon.vue.d.ts +25 -0
  418. package/dist/components/ui/input-group/InputGroupButton.vue.d.ts +21 -0
  419. package/dist/components/ui/input-group/InputGroupInput.vue.d.ts +6 -0
  420. package/dist/components/ui/input-group/InputGroupText.vue.d.ts +21 -0
  421. package/dist/components/ui/input-group/InputGroupTextarea.vue.d.ts +6 -0
  422. package/dist/components/ui/input-group/index.d.ts +22 -0
  423. package/dist/components/ui/progress/Progress.vue.d.ts +9 -0
  424. package/dist/components/ui/progress/index.d.ts +1 -0
  425. package/dist/components/ui/scroll-area/ScrollArea.vue.d.ts +22 -0
  426. package/dist/components/ui/scroll-area/ScrollBar.vue.d.ts +9 -0
  427. package/dist/components/ui/scroll-area/index.d.ts +2 -0
  428. package/dist/components/ui/select/Select.vue.d.ts +28 -0
  429. package/dist/components/ui/select/SelectContent.vue.d.ts +32 -0
  430. package/dist/components/ui/select/SelectGroup.vue.d.ts +18 -0
  431. package/dist/components/ui/select/SelectItem.vue.d.ts +23 -0
  432. package/dist/components/ui/select/SelectItemText.vue.d.ts +18 -0
  433. package/dist/components/ui/select/SelectLabel.vue.d.ts +22 -0
  434. package/dist/components/ui/select/SelectScrollDownButton.vue.d.ts +22 -0
  435. package/dist/components/ui/select/SelectScrollUpButton.vue.d.ts +22 -0
  436. package/dist/components/ui/select/SelectSeparator.vue.d.ts +7 -0
  437. package/dist/components/ui/select/SelectTrigger.vue.d.ts +25 -0
  438. package/dist/components/ui/select/SelectValue.vue.d.ts +18 -0
  439. package/dist/components/ui/select/index.d.ts +11 -0
  440. package/dist/components/ui/separator/Separator.vue.d.ts +10 -0
  441. package/dist/components/ui/separator/index.d.ts +1 -0
  442. package/dist/components/ui/textarea/Textarea.vue.d.ts +12 -0
  443. package/dist/components/ui/textarea/index.d.ts +1 -0
  444. package/dist/components/ui/tooltip/Tooltip.vue.d.ts +24 -0
  445. package/dist/components/ui/tooltip/TooltipContent.vue.d.ts +30 -0
  446. package/dist/components/ui/tooltip/TooltipProvider.vue.d.ts +20 -0
  447. package/dist/components/ui/tooltip/TooltipTrigger.vue.d.ts +18 -0
  448. package/dist/components/ui/tooltip/index.d.ts +4 -0
  449. package/dist/composables/useChat.d.ts +8 -0
  450. package/dist/coq-CZjzQDnb.js +2 -0
  451. package/dist/cose-bilkent-S5V4N54A-Dy-do3hl.js +2250 -0
  452. package/dist/cpp-C6JyDxZu.js +16 -0
  453. package/dist/cpp-GAIEvywS.js +6 -0
  454. package/dist/crystal-BJfcoGS4.js +16 -0
  455. package/dist/csharp-BbUwciq4.js +2 -0
  456. package/dist/csharp-JE-9ns6W.js +2 -0
  457. package/dist/css-Crp0iO_o.js +2 -0
  458. package/dist/css-Cy-fypCV.js +2 -0
  459. package/dist/csv-DJ7xG4PY.js +2 -0
  460. package/dist/csv-DtT8LmMi.js +2 -0
  461. package/dist/cue-BwjaQTCz.js +2 -0
  462. package/dist/cypher-B7e06enY.js +2 -0
  463. package/dist/cytoscape.esm-CWqS6puh.js +18100 -0
  464. package/dist/d-q60wkid4.js +2 -0
  465. package/dist/dagre-6UL2VRFP-B38_sZWh.js +298 -0
  466. package/dist/dagre-DtvXp3zQ.js +1395 -0
  467. package/dist/dark-plus-D_fA88xf.js +2 -0
  468. package/dist/dart-DjkWvBgr.js +2 -0
  469. package/dist/dax-lueLIZQI.js +2 -0
  470. package/dist/defaultLocale-CoJOMwPq.js +177 -0
  471. package/dist/desktop-DaphHKD5.js +2 -0
  472. package/dist/diagram-PSM6KHXK-D6swsG-y.js +497 -0
  473. package/dist/diagram-QEK2KX5R-B7Hi0LAL.js +226 -0
  474. package/dist/diagram-S2PKOQOG-DLx7PlpM.js +144 -0
  475. package/dist/diff-COB48_rb.js +2 -0
  476. package/dist/diff-DlXnqUMK.js +2 -0
  477. package/dist/dist-CrnZo_23.js +49 -0
  478. package/dist/docker-DZKmuwpA.js +2 -0
  479. package/dist/dotenv-hmNahw-8.js +2 -0
  480. package/dist/dracula-ddM3a7au.js +2 -0
  481. package/dist/dracula-soft-vfA-TA_S.js +2 -0
  482. package/dist/dream-maker-Cxa2a8FY.js +2 -0
  483. package/dist/edge-Dm7HQa9N.js +12 -0
  484. package/dist/elixir-BkvHyCNd.js +5 -0
  485. package/dist/elm-rz9wTSrn.js +4 -0
  486. package/dist/emacs-lisp-w5URnZPZ.js +2 -0
  487. package/dist/erDiagram-Q2GNP2WA-B67FD8rh.js +1603 -0
  488. package/dist/erb-DyrwQYVz.js +25 -0
  489. package/dist/erlang-DLFKZs5N.js +3 -0
  490. package/dist/everforest-dark-DAPtv4yI.js +2 -0
  491. package/dist/everforest-light-nQzYm8GO.js +2 -0
  492. package/dist/fennel-CJDNJZTU.js +2 -0
  493. package/dist/fish-BkYaLI4-.js +2 -0
  494. package/dist/flowDiagram-NV44I4VS-DHXgrdJY.js +4132 -0
  495. package/dist/fluent-DShra35H.js +2 -0
  496. package/dist/fortran-fixed-form-SzB0QY3n.js +3 -0
  497. package/dist/fortran-free-form-CgbOAJnm.js +2 -0
  498. package/dist/fortran-free-form-Js8JrQQE.js +2 -0
  499. package/dist/fsharp-CtWO0jvL.js +3 -0
  500. package/dist/ganttDiagram-JELNMOA3-CGIqBt1P.js +3009 -0
  501. package/dist/gdresource-CgyXKpe4.js +8 -0
  502. package/dist/gdscript-DnurdQnh.js +2 -0
  503. package/dist/gdscript-STdmRKv-.js +2 -0
  504. package/dist/gdshader-Bs2s6cSB.js +2 -0
  505. package/dist/gdshader-YiVaPq6D.js +2 -0
  506. package/dist/genie-BppkvzZC.js +2 -0
  507. package/dist/gherkin-Bp4zdWMb.js +2 -0
  508. package/dist/git-commit--0GGwZNa.js +3 -0
  509. package/dist/git-rebase-orw-bSIZ.js +3 -0
  510. package/dist/gitGraph-F6HP7TQM-CH5XLm5Z.js +8 -0
  511. package/dist/gitGraphDiagram-NY62KEGX-Cq8AbOhM.js +634 -0
  512. package/dist/github-dark-CMN1tZPn.js +2 -0
  513. package/dist/github-dark-DxCf_Qaz.js +2 -0
  514. package/dist/github-dark-default-DVCJut02.js +2 -0
  515. package/dist/github-dark-dimmed-DXu9oDqW.js +2 -0
  516. package/dist/github-dark-high-contrast-BBZdE-mX.js +2 -0
  517. package/dist/github-light-CfdX7txK.js +2 -0
  518. package/dist/github-light-Y8g-VxKq.js +2 -0
  519. package/dist/github-light-default-BNGkGE--.js +2 -0
  520. package/dist/github-light-high-contrast-DiSIc-nG.js +2 -0
  521. package/dist/gleam-Lw0tKp8T.js +2 -0
  522. package/dist/glimmer-js-C6E6wJv0.js +12 -0
  523. package/dist/glimmer-ts-C6GgTGNO.js +12 -0
  524. package/dist/glsl-D8_YBRKT.js +3 -0
  525. package/dist/glsl-rwn_QCp2.js +3 -0
  526. package/dist/gnuplot-BeA3etmO.js +2 -0
  527. package/dist/go-BhDDN9y4.js +2 -0
  528. package/dist/go-xfE7BrfS.js +2 -0
  529. package/dist/graphlib-BZdVmxO6.js +223 -0
  530. package/dist/graphql-DQHhbQm2.js +6 -0
  531. package/dist/graphql-DoBLseH6.js +12 -0
  532. package/dist/groovy-C5-mv4io.js +2 -0
  533. package/dist/gruvbox-dark-hard-CULu6kVy.js +2 -0
  534. package/dist/gruvbox-dark-medium-BJM4uQXO.js +2 -0
  535. package/dist/gruvbox-dark-soft-CVaORUwa.js +2 -0
  536. package/dist/gruvbox-light-hard-B-WJAGLa.js +2 -0
  537. package/dist/gruvbox-light-medium-jc8FWnuC.js +2 -0
  538. package/dist/gruvbox-light-soft-CmvYQK92.js +2 -0
  539. package/dist/hack-DEAxoi73.js +10 -0
  540. package/dist/haml-BG2d3iX4.js +4 -0
  541. package/dist/haml-mA656Lm7.js +8 -0
  542. package/dist/handlebars-CO5xAxJ3.js +12 -0
  543. package/dist/haskell-Hsexh2aP.js +2 -0
  544. package/dist/haxe-BJVSeYxy.js +2 -0
  545. package/dist/haxe-CD_Rs3P5.js +2 -0
  546. package/dist/hcl-D098sJ_J.js +2 -0
  547. package/dist/hjson-BwXHX5r6.js +2 -0
  548. package/dist/hlsl-B0pnUVYG.js +2 -0
  549. package/dist/hlsl-Dt9-unql.js +2 -0
  550. package/dist/houston-C7hMWO_I.js +2 -0
  551. package/dist/html-DFCxtjnd.js +4 -0
  552. package/dist/html-DKSj3FeM.js +8 -0
  553. package/dist/html-derivative-BCRkrTcD.js +5 -0
  554. package/dist/html-derivative-C-vidKoA.js +3 -0
  555. package/dist/http-CYP1tEDW.js +17 -0
  556. package/dist/hurl-BJexUSKz.js +15 -0
  557. package/dist/hxml-XfuSEjM-.js +3 -0
  558. package/dist/hy-DPQ04rHt.js +2 -0
  559. package/dist/imba-Bgu2n5Mo.js +2 -0
  560. package/dist/index.d.ts +3 -0
  561. package/dist/index.js +2984 -0
  562. package/dist/index.mjs +37693 -0
  563. package/dist/info-NVLQJR56-hEN1y0nS.js +8 -0
  564. package/dist/infoDiagram-WHAUD3N6-btPwHXxp.js +31 -0
  565. package/dist/ini-g9mZnyrk.js +2 -0
  566. package/dist/init-CBay3kgM.js +13 -0
  567. package/dist/isArrayLikeObject-Dz_TDfw0.js +459 -0
  568. package/dist/isEmpty-CCym_WUL.js +32 -0
  569. package/dist/java-CUbPyze1.js +2 -0
  570. package/dist/java-DIOGgqAD.js +2 -0
  571. package/dist/javascript-9-JPeKdm.js +2 -0
  572. package/dist/javascript-De1qhUaI.js +2 -0
  573. package/dist/jinja-CVFxFRh6.js +5 -0
  574. package/dist/jison-0X6LppGq.js +3 -0
  575. package/dist/journeyDiagram-XKPGCS4Q-3OxtBx3I.js +884 -0
  576. package/dist/json-DJtYdWQK.js +2 -0
  577. package/dist/json-fcFpRaf3.js +2 -0
  578. package/dist/json5-CPTZJOmf.js +2 -0
  579. package/dist/jsonc-CYrayg0k.js +2 -0
  580. package/dist/jsonl-Bsv7LjJ3.js +2 -0
  581. package/dist/jsonnet-B7LkHJxg.js +2 -0
  582. package/dist/jssm-BopKGZKg.js +2 -0
  583. package/dist/jsx-Bf3Nk9Di.js +2 -0
  584. package/dist/jsx-qo0JNHpZ.js +2 -0
  585. package/dist/julia-ChGs-n_c.js +17 -0
  586. package/dist/kanagawa-dragon-CSqqi78I.js +2 -0
  587. package/dist/kanagawa-lotus-l2vgoxpH.js +2 -0
  588. package/dist/kanagawa-wave-BWhFcnLj.js +2 -0
  589. package/dist/kanban-definition-3W4ZIXB7-zdtnJaXz.js +971 -0
  590. package/dist/katex-BcWXJDMd.js +22097 -0
  591. package/dist/katex-K1dsczyg.js +2 -0
  592. package/dist/kdl-BbokxoZ9.js +2 -0
  593. package/dist/kotlin-3dXKmwyJ.js +2 -0
  594. package/dist/kusto-Os6_yHEz.js +2 -0
  595. package/dist/laserwave-8RcN1zf8.js +2 -0
  596. package/dist/latex-BnWZlY4q.js +4 -0
  597. package/dist/lean--0Wr4Cy4.js +2 -0
  598. package/dist/less-B4ybD-7s.js +2 -0
  599. package/dist/less-Cb54jO7u.js +2 -0
  600. package/dist/lib/utils.d.ts +2 -0
  601. package/dist/light-plus-CP_iZQDF.js +2 -0
  602. package/dist/line-EpckC7pZ.js +30 -0
  603. package/dist/linear-DjVN4o4U.js +250 -0
  604. package/dist/liquid-pc5Mduds.js +12 -0
  605. package/dist/llvm-ILH_SX7E.js +2 -0
  606. package/dist/log-DwO_GzA0.js +2 -0
  607. package/dist/logo-B4FeRowR.js +2 -0
  608. package/dist/lua-0TqNbT8C.js +3 -0
  609. package/dist/lua-6pXga3HV.js +3 -0
  610. package/dist/luau-DsUEyLJN.js +2 -0
  611. package/dist/main.d.ts +0 -0
  612. package/dist/make-p6NYc19I.js +2 -0
  613. package/dist/markdown-CCRtgC0b.js +2 -0
  614. package/dist/markdown-LaaQ4Eua.js +2 -0
  615. package/dist/marked.esm-D9xINNve.js +1384 -0
  616. package/dist/marko-D8uDUUEs.js +12 -0
  617. package/dist/material-theme-D__z84-n.js +2 -0
  618. package/dist/material-theme-darker-CWC5BoMv.js +2 -0
  619. package/dist/material-theme-lighter-BJrV5b2o.js +2 -0
  620. package/dist/material-theme-ocean-DYpMfDiX.js +2 -0
  621. package/dist/material-theme-palenight-3Ix3iI7Q.js +2 -0
  622. package/dist/math-CJAnbPum.js +8 -0
  623. package/dist/matlab-CL0oMGfq.js +2 -0
  624. package/dist/mdc-Ki3KnB5U.js +13 -0
  625. package/dist/mdx-BTufVkNP.js +2 -0
  626. package/dist/mermaid-FCjIh1A7.js +2 -0
  627. package/dist/mermaid-parser.core-DVXSGppp.js +48 -0
  628. package/dist/mermaid.core-Ra1JFCui.js +895 -0
  629. package/dist/min-dark-B4KRMcN3.js +2 -0
  630. package/dist/min-light-BQVJODr0.js +2 -0
  631. package/dist/mindmap-definition-VGOIOE7T-CRPO52xV.js +960 -0
  632. package/dist/mipsasm-Cn6AQ4lM.js +2 -0
  633. package/dist/mojo-C9IiQhp4.js +2 -0
  634. package/dist/monokai-vDwMMRi4.js +2 -0
  635. package/dist/move-BdizQ4_I.js +2 -0
  636. package/dist/narrat-BP2kx-u2.js +2 -0
  637. package/dist/nextflow-CyRmCGOe.js +2 -0
  638. package/dist/nginx-B46vdQ9n.js +4 -0
  639. package/dist/night-owl-DmjkOa5g.js +2 -0
  640. package/dist/nim-BxQNx10D.js +19 -0
  641. package/dist/nix-qPhlsqZI.js +2 -0
  642. package/dist/nord-sjxbvIbg.js +2 -0
  643. package/dist/nushell-puA-1bCW.js +2 -0
  644. package/dist/objective-c-D-qDLNy5.js +2 -0
  645. package/dist/objective-cpp-CFxSAM6p.js +2 -0
  646. package/dist/ocaml-CsLB7SWJ.js +2 -0
  647. package/dist/one-dark-pro-BHH-VjFD.js +2 -0
  648. package/dist/one-light-BqE6erWk.js +2 -0
  649. package/dist/openscad-DJCIQfnJ.js +2 -0
  650. package/dist/ordinal-CYQpsShT.js +61 -0
  651. package/dist/packet-BFZMPI3H-Bnlch4JI.js +8 -0
  652. package/dist/pascal-CPg9_ZFN.js +2 -0
  653. package/dist/path-esxOUfAH.js +79 -0
  654. package/dist/perl-D1bDaADZ.js +15 -0
  655. package/dist/php-BX51InqL.js +9 -0
  656. package/dist/php-D5tmU8Cr.js +16 -0
  657. package/dist/pie-7BOR55EZ-B9egLHl5.js +8 -0
  658. package/dist/pieDiagram-ADFJNKIX-CKSgB7fx.js +172 -0
  659. package/dist/pkl-BQQ96hvn.js +2 -0
  660. package/dist/plastic-BrNUBdSC.js +2 -0
  661. package/dist/plsql-Co7Bxe7U.js +2 -0
  662. package/dist/po-BqzJCro7.js +2 -0
  663. package/dist/poimandres-C_AK8TlO.js +2 -0
  664. package/dist/polar-CtdYIPEe.js +2 -0
  665. package/dist/postcss-ChqFKb46.js +2 -0
  666. package/dist/postcss-ainQkoyY.js +2 -0
  667. package/dist/powerquery-CDugc1w-.js +2 -0
  668. package/dist/powershell-j5X-IA59.js +2 -0
  669. package/dist/prisma-Cyl7YhUw.js +2 -0
  670. package/dist/prolog-DELKnUYf.js +2 -0
  671. package/dist/proto-C4A_gDBY.js +2 -0
  672. package/dist/pug-BcLlS7Yb.js +10 -0
  673. package/dist/puppet-DFC9LyFj.js +2 -0
  674. package/dist/purescript-eECq7_n2.js +2 -0
  675. package/dist/python-BhdCuCld.js +2 -0
  676. package/dist/python-CuBu5pyY.js +2 -0
  677. package/dist/qml-MD0NqqIl.js +3 -0
  678. package/dist/qmldir-BpJII-Ze.js +2 -0
  679. package/dist/qss-CpMcemMc.js +2 -0
  680. package/dist/quadrantDiagram-AYHSOK5B-BHzqivzD.js +1970 -0
  681. package/dist/r-CQeHOO4c.js +2 -0
  682. package/dist/r-D90zdkbN.js +2 -0
  683. package/dist/racket-COTs6Zfi.js +2 -0
  684. package/dist/radar-NHE76QYJ-DdALhlvV.js +8 -0
  685. package/dist/raku-DfOtwMUC.js +2 -0
  686. package/dist/razor-eRwFWsjJ.js +10 -0
  687. package/dist/red-CWGFZsim.js +2 -0
  688. package/dist/reg-BX5DwoEA.js +2 -0
  689. package/dist/regexp-Ca0eDBa2.js +2 -0
  690. package/dist/regexp-Cap8fK_2.js +2 -0
  691. package/dist/rel-CzXuLSk3.js +2 -0
  692. package/dist/request/index.d.ts +6 -0
  693. package/dist/requirementDiagram-UZGBJVZJ-Darhwvir.js +2194 -0
  694. package/dist/riscv-DnFIiqh3.js +2 -0
  695. package/dist/rose-pine-C4v2iQVe.js +2 -0
  696. package/dist/rose-pine-dawn-D5sdDB-J.js +2 -0
  697. package/dist/rose-pine-moon-2Vb7bLLO.js +2 -0
  698. package/dist/rosmsg-D02ul3fM.js +2 -0
  699. package/dist/rst-DFmSdXGd.js +34 -0
  700. package/dist/ruby-BAEFomR0.js +20 -0
  701. package/dist/ruby-DDMUvAvC.js +28 -0
  702. package/dist/rust-s3hBbfQg.js +2 -0
  703. package/dist/sankeyDiagram-TZEHDZUN-KiSvBN_C.js +884 -0
  704. package/dist/sas-TjtLSnOp.js +3 -0
  705. package/dist/sass-v3HeJ9Fl.js +2 -0
  706. package/dist/scala-BTIBM_Vn.js +2 -0
  707. package/dist/scheme-C4NQMf7a.js +2 -0
  708. package/dist/scss-C-bthdG1.js +3 -0
  709. package/dist/scss-D-6-mg-f.js +3 -0
  710. package/dist/sdbl-BA3l-JrH.js +2 -0
  711. package/dist/sdbl-gc7zIVWR.js +2 -0
  712. package/dist/sequenceDiagram-WL72ISMW-D2Mo7Vtj.js +3560 -0
  713. package/dist/shaderlab-BRlB5fpk.js +3 -0
  714. package/dist/shellscript-BQ8mKDAF.js +2 -0
  715. package/dist/shellscript-DZa_4vvb.js +2 -0
  716. package/dist/shellsession-CIlmlgbR.js +3 -0
  717. package/dist/slack-dark-DhXO5DWr.js +2 -0
  718. package/dist/slack-ochin-aAGl4PPH.js +2 -0
  719. package/dist/smalltalk-DbwVUw_i.js +2 -0
  720. package/dist/snazzy-light-B4S5mk83.js +2 -0
  721. package/dist/solarized-dark-Dexkq3Fm.js +2 -0
  722. package/dist/solarized-light-I-Bzy8UC.js +2 -0
  723. package/dist/solidity-SMk0TJDc.js +2 -0
  724. package/dist/soy-DwSCrzEF.js +5 -0
  725. package/dist/sparql-D9kVSpEx.js +3 -0
  726. package/dist/splunk-DXXu2r7r.js +2 -0
  727. package/dist/sql-Bi3LyNPb.js +2 -0
  728. package/dist/sql-D0eLHBiZ.js +2 -0
  729. package/dist/src-B-SBGd0A.js +1975 -0
  730. package/dist/ssh-config-DyVcFTfI.js +2 -0
  731. package/dist/stata-DkEObyNb.js +3 -0
  732. package/dist/stateDiagram-FKZM4ZOC-BRQN2Npg.js +224 -0
  733. package/dist/stateDiagram-v2-4FDKWEC3-CeeIKiFG.js +32 -0
  734. package/dist/stylus-BKTuFHcX.js +2 -0
  735. package/dist/stylus-DEHALDNh.js +2 -0
  736. package/dist/svelte-KFuclcR6.js +12 -0
  737. package/dist/swift-Cenptrnf.js +2 -0
  738. package/dist/synthwave-84-BRkDuVE-.js +2 -0
  739. package/dist/system-verilog-Cvgukx4v.js +2 -0
  740. package/dist/systemd-BepdslJQ.js +2 -0
  741. package/dist/talonscript-Q98m-VXh.js +2 -0
  742. package/dist/tasl-uebrX98X.js +2 -0
  743. package/dist/tcl-B1Ny4XFf.js +2 -0
  744. package/dist/templ-C5mtYbb_.js +10 -0
  745. package/dist/terraform-0mA5ERTe.js +2 -0
  746. package/dist/tex-B4uYy1vC.js +3 -0
  747. package/dist/tex-BoVFa1ir.js +3 -0
  748. package/dist/timeline-definition-IT6M3QCI-CSwH0Pnx.js +830 -0
  749. package/dist/tokyo-night-D0mU3-u8.js +2 -0
  750. package/dist/toml-vMAjra5M.js +2 -0
  751. package/dist/treemap-KMMF4GRG-COjpj6-C.js +8 -0
  752. package/dist/ts-tags-DRdTXGhb.js +38 -0
  753. package/dist/tsv-BnmbkntZ.js +2 -0
  754. package/dist/tsx-BaaPsUbd.js +2 -0
  755. package/dist/tsx-C0w0w5St.js +2 -0
  756. package/dist/turtle-4UWi_qX6.js +2 -0
  757. package/dist/turtle-BRmolh-6.js +2 -0
  758. package/dist/twig-cEhAbahS.js +33 -0
  759. package/dist/typescript-4YtK2JL4.js +2 -0
  760. package/dist/typescript-CmJ8D0yY.js +2 -0
  761. package/dist/typespec-CILw3zvZ.js +2 -0
  762. package/dist/typst-CLajFw6q.js +2 -0
  763. package/dist/v-MJV2RQvK.js +2 -0
  764. package/dist/vala-Dc1TiHw1.js +2 -0
  765. package/dist/vb-CoJdNmGs.js +2 -0
  766. package/dist/verilog-C7aVmiO0.js +2 -0
  767. package/dist/vesper-Cvcqyrim.js +2 -0
  768. package/dist/vhdl-CYQvzAG1.js +2 -0
  769. package/dist/viml-DOyjiDI8.js +2 -0
  770. package/dist/vitesse-black-CUYJaB5b.js +2 -0
  771. package/dist/vitesse-dark-BNlzDJ1Z.js +2 -0
  772. package/dist/vitesse-light-JU98KqVa.js +2 -0
  773. package/dist/vue-B3C4YeUK.js +8 -0
  774. package/dist/vue-DMpjAWNv.js +20 -0
  775. package/dist/vue-html-BIZN50ug.js +13 -0
  776. package/dist/vue-vine-DxezWcjL.js +22 -0
  777. package/dist/vyper-JU_r7Ch6.js +2 -0
  778. package/dist/wasm-DJ1S--fN.js +2 -0
  779. package/dist/wasm-eLFiAU8u.js +2 -0
  780. package/dist/wenyan-CqkzmyWz.js +2 -0
  781. package/dist/wgsl-gV62iTnF.js +2 -0
  782. package/dist/wikitext-BfUl8La4.js +2 -0
  783. package/dist/wit-kp_bCf2U.js +2 -0
  784. package/dist/wolfram-aPsN9AKt.js +2 -0
  785. package/dist/xml-BglBgo29.js +3 -0
  786. package/dist/xml-BxRdgEAX.js +3 -0
  787. package/dist/xsl-Cni90e0k.js +4 -0
  788. package/dist/xychartDiagram-PRI3JC2R-CGXFYn39.js +2022 -0
  789. package/dist/yaml-DQRfaSRo.js +2 -0
  790. package/dist/yaml-P2kjOPvW.js +2 -0
  791. package/dist/zenscript-BuY4FX-t.js +2 -0
  792. package/dist/zig-CGDGjytz.js +2 -0
  793. package/package.json +66 -60
  794. package/.vscode/extensions.json +0 -3
  795. package/.vscode/settings.json +0 -6
  796. package/auto-imports.d.ts +0 -73
  797. package/components.d.ts +0 -312
  798. package/components.json +0 -21
  799. package/index.html +0 -13
  800. package/src/App.vue +0 -68
  801. package/src/components/ChatConversation/ChatConversation.vue +0 -97
  802. package/src/components/ChatConversation/index.ts +0 -1
  803. package/src/components/ChatPromptInputProvider/ChatPromptInputProvider.vue +0 -47
  804. package/src/components/ChatPromptInputProvider/index.ts +0 -1
  805. package/src/components/ai-elements/artifact/Artifact.vue +0 -23
  806. package/src/components/ai-elements/artifact/ArtifactAction.vue +0 -72
  807. package/src/components/ai-elements/artifact/ArtifactActions.vue +0 -19
  808. package/src/components/ai-elements/artifact/ArtifactClose.vue +0 -39
  809. package/src/components/ai-elements/artifact/ArtifactContent.vue +0 -20
  810. package/src/components/ai-elements/artifact/ArtifactDescription.vue +0 -20
  811. package/src/components/ai-elements/artifact/ArtifactHeader.vue +0 -23
  812. package/src/components/ai-elements/artifact/ArtifactTitle.vue +0 -20
  813. package/src/components/ai-elements/artifact/index.ts +0 -8
  814. package/src/components/ai-elements/canvas/Canvas.vue +0 -37
  815. package/src/components/ai-elements/canvas/index.ts +0 -1
  816. package/src/components/ai-elements/chain-of-thought/ChainOfThought.vue +0 -41
  817. package/src/components/ai-elements/chain-of-thought/ChainOfThoughtContent.vue +0 -32
  818. package/src/components/ai-elements/chain-of-thought/ChainOfThoughtHeader.vue +0 -43
  819. package/src/components/ai-elements/chain-of-thought/ChainOfThoughtImage.vue +0 -25
  820. package/src/components/ai-elements/chain-of-thought/ChainOfThoughtSearchResult.vue +0 -24
  821. package/src/components/ai-elements/chain-of-thought/ChainOfThoughtSearchResults.vue +0 -17
  822. package/src/components/ai-elements/chain-of-thought/ChainOfThoughtStep.vue +0 -54
  823. package/src/components/ai-elements/chain-of-thought/context.ts +0 -22
  824. package/src/components/ai-elements/chain-of-thought/index.ts +0 -7
  825. package/src/components/ai-elements/checkpoint/Checkpoint.vue +0 -19
  826. package/src/components/ai-elements/checkpoint/CheckpointIcon.vue +0 -19
  827. package/src/components/ai-elements/checkpoint/CheckpointTrigger.vue +0 -46
  828. package/src/components/ai-elements/checkpoint/index.ts +0 -3
  829. package/src/components/ai-elements/code-block/CodeBlock.vue +0 -84
  830. package/src/components/ai-elements/code-block/CodeBlockCopyButton.vue +0 -84
  831. package/src/components/ai-elements/code-block/context.ts +0 -7
  832. package/src/components/ai-elements/code-block/index.ts +0 -2
  833. package/src/components/ai-elements/code-block/utils.ts +0 -46
  834. package/src/components/ai-elements/confirmation/Confirmation.vue +0 -30
  835. package/src/components/ai-elements/confirmation/ConfirmationAccepted.vue +0 -18
  836. package/src/components/ai-elements/confirmation/ConfirmationAction.vue +0 -9
  837. package/src/components/ai-elements/confirmation/ConfirmationActions.vue +0 -23
  838. package/src/components/ai-elements/confirmation/ConfirmationRejected.vue +0 -18
  839. package/src/components/ai-elements/confirmation/ConfirmationRequest.vue +0 -11
  840. package/src/components/ai-elements/confirmation/ConfirmationTitle.vue +0 -18
  841. package/src/components/ai-elements/confirmation/context.ts +0 -46
  842. package/src/components/ai-elements/confirmation/index.ts +0 -7
  843. package/src/components/ai-elements/connection/Connection.vue +0 -36
  844. package/src/components/ai-elements/connection/index.ts +0 -1
  845. package/src/components/ai-elements/context/Context.vue +0 -29
  846. package/src/components/ai-elements/context/ContextCacheUsage.vue +0 -45
  847. package/src/components/ai-elements/context/ContextContent.vue +0 -20
  848. package/src/components/ai-elements/context/ContextContentBody.vue +0 -14
  849. package/src/components/ai-elements/context/ContextContentFooter.vue +0 -49
  850. package/src/components/ai-elements/context/ContextContentHeader.vue +0 -49
  851. package/src/components/ai-elements/context/ContextIcon.vue +0 -62
  852. package/src/components/ai-elements/context/ContextInputUsage.vue +0 -46
  853. package/src/components/ai-elements/context/ContextOutputUsage.vue +0 -45
  854. package/src/components/ai-elements/context/ContextReasoningUsage.vue +0 -48
  855. package/src/components/ai-elements/context/ContextTrigger.vue +0 -32
  856. package/src/components/ai-elements/context/TokensWithCost.vue +0 -25
  857. package/src/components/ai-elements/context/context.ts +0 -23
  858. package/src/components/ai-elements/context/index.ts +0 -12
  859. package/src/components/ai-elements/controls/Controls.vue +0 -25
  860. package/src/components/ai-elements/controls/index.ts +0 -1
  861. package/src/components/ai-elements/conversation/Conversation.vue +0 -37
  862. package/src/components/ai-elements/conversation/ConversationContent.vue +0 -21
  863. package/src/components/ai-elements/conversation/ConversationEmptyState.vue +0 -40
  864. package/src/components/ai-elements/conversation/ConversationScrollButton.vue +0 -34
  865. package/src/components/ai-elements/conversation/index.ts +0 -4
  866. package/src/components/ai-elements/edge/Animated.vue +0 -91
  867. package/src/components/ai-elements/edge/Temporary.vue +0 -28
  868. package/src/components/ai-elements/edge/index.ts +0 -2
  869. package/src/components/ai-elements/image/Image.vue +0 -29
  870. package/src/components/ai-elements/image/index.ts +0 -1
  871. package/src/components/ai-elements/inline-citation/InlineCitation.vue +0 -14
  872. package/src/components/ai-elements/inline-citation/InlineCitationCard.vue +0 -17
  873. package/src/components/ai-elements/inline-citation/InlineCitationCardBody.vue +0 -15
  874. package/src/components/ai-elements/inline-citation/InlineCitationCardTrigger.vue +0 -35
  875. package/src/components/ai-elements/inline-citation/InlineCitationCarousel.vue +0 -15
  876. package/src/components/ai-elements/inline-citation/InlineCitationCarouselContent.vue +0 -9
  877. package/src/components/ai-elements/inline-citation/InlineCitationCarouselHeader.vue +0 -16
  878. package/src/components/ai-elements/inline-citation/InlineCitationCarouselIndex.vue +0 -46
  879. package/src/components/ai-elements/inline-citation/InlineCitationCarouselItem.vue +0 -15
  880. package/src/components/ai-elements/inline-citation/InlineCitationCarouselNext.vue +0 -23
  881. package/src/components/ai-elements/inline-citation/InlineCitationCarouselPrev.vue +0 -23
  882. package/src/components/ai-elements/inline-citation/InlineCitationQuote.vue +0 -16
  883. package/src/components/ai-elements/inline-citation/InlineCitationSource.vue +0 -26
  884. package/src/components/ai-elements/inline-citation/InlineCitationText.vue +0 -14
  885. package/src/components/ai-elements/inline-citation/index.ts +0 -14
  886. package/src/components/ai-elements/loader/Loader.vue +0 -23
  887. package/src/components/ai-elements/loader/LoaderIcon.vue +0 -38
  888. package/src/components/ai-elements/loader/index.ts +0 -2
  889. package/src/components/ai-elements/message/Message.vue +0 -27
  890. package/src/components/ai-elements/message/MessageAction.vue +0 -45
  891. package/src/components/ai-elements/message/MessageActions.vue +0 -19
  892. package/src/components/ai-elements/message/MessageAttachment.vue +0 -87
  893. package/src/components/ai-elements/message/MessageAttachments.vue +0 -25
  894. package/src/components/ai-elements/message/MessageAvatar.vue +0 -22
  895. package/src/components/ai-elements/message/MessageBranch.vue +0 -66
  896. package/src/components/ai-elements/message/MessageBranchContent.vue +0 -51
  897. package/src/components/ai-elements/message/MessageBranchNext.vue +0 -23
  898. package/src/components/ai-elements/message/MessageBranchPage.vue +0 -28
  899. package/src/components/ai-elements/message/MessageBranchPrevious.vue +0 -23
  900. package/src/components/ai-elements/message/MessageBranchSelector.vue +0 -23
  901. package/src/components/ai-elements/message/MessageContent.vue +0 -26
  902. package/src/components/ai-elements/message/MessageResponse.vue +0 -42
  903. package/src/components/ai-elements/message/MessageToolbar.vue +0 -24
  904. package/src/components/ai-elements/message/context.ts +0 -22
  905. package/src/components/ai-elements/message/index.ts +0 -15
  906. package/src/components/ai-elements/model-selector/ModelSelector.vue +0 -9
  907. package/src/components/ai-elements/model-selector/ModelSelectorContent.vue +0 -29
  908. package/src/components/ai-elements/model-selector/ModelSelectorDialog.vue +0 -9
  909. package/src/components/ai-elements/model-selector/ModelSelectorEmpty.vue +0 -9
  910. package/src/components/ai-elements/model-selector/ModelSelectorGroup.vue +0 -9
  911. package/src/components/ai-elements/model-selector/ModelSelectorInput.vue +0 -18
  912. package/src/components/ai-elements/model-selector/ModelSelectorItem.vue +0 -10
  913. package/src/components/ai-elements/model-selector/ModelSelectorList.vue +0 -9
  914. package/src/components/ai-elements/model-selector/ModelSelectorLogo.vue +0 -22
  915. package/src/components/ai-elements/model-selector/ModelSelectorLogoGroup.vue +0 -24
  916. package/src/components/ai-elements/model-selector/ModelSelectorName.vue +0 -19
  917. package/src/components/ai-elements/model-selector/ModelSelectorSeparator.vue +0 -7
  918. package/src/components/ai-elements/model-selector/ModelSelectorShortcut.vue +0 -9
  919. package/src/components/ai-elements/model-selector/ModelSelectorTrigger.vue +0 -9
  920. package/src/components/ai-elements/model-selector/index.ts +0 -14
  921. package/src/components/ai-elements/node/Node.vue +0 -31
  922. package/src/components/ai-elements/node/NodeAction.vue +0 -9
  923. package/src/components/ai-elements/node/NodeContent.vue +0 -15
  924. package/src/components/ai-elements/node/NodeDescription.vue +0 -9
  925. package/src/components/ai-elements/node/NodeFooter.vue +0 -15
  926. package/src/components/ai-elements/node/NodeHeader.vue +0 -15
  927. package/src/components/ai-elements/node/NodeTitle.vue +0 -9
  928. package/src/components/ai-elements/node/index.ts +0 -7
  929. package/src/components/ai-elements/open-in-chat/OpenIn.vue +0 -20
  930. package/src/components/ai-elements/open-in-chat/OpenInContent.vue +0 -25
  931. package/src/components/ai-elements/open-in-chat/OpenInItemLink.vue +0 -30
  932. package/src/components/ai-elements/open-in-chat/OpenInTrigger.vue +0 -16
  933. package/src/components/ai-elements/open-in-chat/context.ts +0 -20
  934. package/src/components/ai-elements/open-in-chat/index.ts +0 -9
  935. package/src/components/ai-elements/open-in-chat/providers/icons/ChatGPT.vue +0 -13
  936. package/src/components/ai-elements/open-in-chat/providers/icons/Claude.vue +0 -15
  937. package/src/components/ai-elements/open-in-chat/providers/icons/Cursor.vue +0 -13
  938. package/src/components/ai-elements/open-in-chat/providers/icons/Github.vue +0 -8
  939. package/src/components/ai-elements/open-in-chat/providers/icons/Scira.vue +0 -58
  940. package/src/components/ai-elements/open-in-chat/providers/icons/V0.vue +0 -15
  941. package/src/components/ai-elements/open-in-chat/providers/icons/index.ts +0 -6
  942. package/src/components/ai-elements/open-in-chat/providers/index.ts +0 -69
  943. package/src/components/ai-elements/open-in-chat/providers/items/OpenInChatGPT.vue +0 -18
  944. package/src/components/ai-elements/open-in-chat/providers/items/OpenInClaude.vue +0 -18
  945. package/src/components/ai-elements/open-in-chat/providers/items/OpenInCursor.vue +0 -18
  946. package/src/components/ai-elements/open-in-chat/providers/items/OpenInScira.vue +0 -18
  947. package/src/components/ai-elements/open-in-chat/providers/items/OpenInT3.vue +0 -18
  948. package/src/components/ai-elements/open-in-chat/providers/items/OpenInv0.vue +0 -18
  949. package/src/components/ai-elements/panel/Panel.vue +0 -28
  950. package/src/components/ai-elements/panel/index.ts +0 -1
  951. package/src/components/ai-elements/plan/Plan.vue +0 -32
  952. package/src/components/ai-elements/plan/PlanAction.vue +0 -9
  953. package/src/components/ai-elements/plan/PlanContent.vue +0 -12
  954. package/src/components/ai-elements/plan/PlanDescription.vue +0 -25
  955. package/src/components/ai-elements/plan/PlanFooter.vue +0 -9
  956. package/src/components/ai-elements/plan/PlanHeader.vue +0 -18
  957. package/src/components/ai-elements/plan/PlanTitle.vue +0 -16
  958. package/src/components/ai-elements/plan/PlanTrigger.vue +0 -25
  959. package/src/components/ai-elements/plan/context.ts +0 -20
  960. package/src/components/ai-elements/plan/index.ts +0 -8
  961. package/src/components/ai-elements/prompt-input/PromptInput.vue +0 -116
  962. package/src/components/ai-elements/prompt-input/PromptInputActionAddAttachments.vue +0 -22
  963. package/src/components/ai-elements/prompt-input/PromptInputActionMenu.vue +0 -15
  964. package/src/components/ai-elements/prompt-input/PromptInputActionMenuContent.vue +0 -21
  965. package/src/components/ai-elements/prompt-input/PromptInputActionMenuItem.vue +0 -19
  966. package/src/components/ai-elements/prompt-input/PromptInputActionMenuTrigger.vue +0 -22
  967. package/src/components/ai-elements/prompt-input/PromptInputAttachment.vue +0 -94
  968. package/src/components/ai-elements/prompt-input/PromptInputAttachments.vue +0 -22
  969. package/src/components/ai-elements/prompt-input/PromptInputBody.vue +0 -12
  970. package/src/components/ai-elements/prompt-input/PromptInputButton.vue +0 -56
  971. package/src/components/ai-elements/prompt-input/PromptInputCommand.vue +0 -19
  972. package/src/components/ai-elements/prompt-input/PromptInputCommandEmpty.vue +0 -19
  973. package/src/components/ai-elements/prompt-input/PromptInputCommandGroup.vue +0 -19
  974. package/src/components/ai-elements/prompt-input/PromptInputCommandInput.vue +0 -17
  975. package/src/components/ai-elements/prompt-input/PromptInputCommandItem.vue +0 -19
  976. package/src/components/ai-elements/prompt-input/PromptInputCommandList.vue +0 -17
  977. package/src/components/ai-elements/prompt-input/PromptInputCommandSeparator.vue +0 -16
  978. package/src/components/ai-elements/prompt-input/PromptInputFooter.vue +0 -23
  979. package/src/components/ai-elements/prompt-input/PromptInputHeader.vue +0 -23
  980. package/src/components/ai-elements/prompt-input/PromptInputHoverCard.vue +0 -23
  981. package/src/components/ai-elements/prompt-input/PromptInputHoverCardContent.vue +0 -19
  982. package/src/components/ai-elements/prompt-input/PromptInputHoverCardTrigger.vue +0 -15
  983. package/src/components/ai-elements/prompt-input/PromptInputProvider.vue +0 -32
  984. package/src/components/ai-elements/prompt-input/PromptInputSelect.vue +0 -15
  985. package/src/components/ai-elements/prompt-input/PromptInputSelectContent.vue +0 -19
  986. package/src/components/ai-elements/prompt-input/PromptInputSelectItem.vue +0 -19
  987. package/src/components/ai-elements/prompt-input/PromptInputSelectTrigger.vue +0 -26
  988. package/src/components/ai-elements/prompt-input/PromptInputSelectValue.vue +0 -19
  989. package/src/components/ai-elements/prompt-input/PromptInputSpeechButton.vue +0 -137
  990. package/src/components/ai-elements/prompt-input/PromptInputSubmit.vue +0 -60
  991. package/src/components/ai-elements/prompt-input/PromptInputTab.vue +0 -16
  992. package/src/components/ai-elements/prompt-input/PromptInputTabBody.vue +0 -16
  993. package/src/components/ai-elements/prompt-input/PromptInputTabItem.vue +0 -16
  994. package/src/components/ai-elements/prompt-input/PromptInputTabLabel.vue +0 -16
  995. package/src/components/ai-elements/prompt-input/PromptInputTabsList.vue +0 -16
  996. package/src/components/ai-elements/prompt-input/PromptInputTextarea.vue +0 -78
  997. package/src/components/ai-elements/prompt-input/PromptInputTools.vue +0 -12
  998. package/src/components/ai-elements/prompt-input/context.ts +0 -223
  999. package/src/components/ai-elements/prompt-input/index.ts +0 -39
  1000. package/src/components/ai-elements/prompt-input/types.ts +0 -28
  1001. package/src/components/ai-elements/queue/Queue.vue +0 -21
  1002. package/src/components/ai-elements/queue/QueueItem.vue +0 -21
  1003. package/src/components/ai-elements/queue/QueueItemAction.vue +0 -25
  1004. package/src/components/ai-elements/queue/QueueItemActions.vue +0 -14
  1005. package/src/components/ai-elements/queue/QueueItemAttachment.vue +0 -14
  1006. package/src/components/ai-elements/queue/QueueItemContent.vue +0 -32
  1007. package/src/components/ai-elements/queue/QueueItemDescription.vue +0 -32
  1008. package/src/components/ai-elements/queue/QueueItemFile.vue +0 -25
  1009. package/src/components/ai-elements/queue/QueueItemImage.vue +0 -18
  1010. package/src/components/ai-elements/queue/QueueItemIndicator.vue +0 -30
  1011. package/src/components/ai-elements/queue/QueueList.vue +0 -22
  1012. package/src/components/ai-elements/queue/QueueSection.vue +0 -26
  1013. package/src/components/ai-elements/queue/QueueSectionContent.vue +0 -15
  1014. package/src/components/ai-elements/queue/QueueSectionLabel.vue +0 -26
  1015. package/src/components/ai-elements/queue/QueueSectionTrigger.vue +0 -25
  1016. package/src/components/ai-elements/queue/index.ts +0 -15
  1017. package/src/components/ai-elements/reasoning/Reasoning.vue +0 -94
  1018. package/src/components/ai-elements/reasoning/ReasoningContent.vue +0 -41
  1019. package/src/components/ai-elements/reasoning/ReasoningTrigger.vue +0 -61
  1020. package/src/components/ai-elements/reasoning/context.ts +0 -19
  1021. package/src/components/ai-elements/reasoning/index.ts +0 -3
  1022. package/src/components/ai-elements/shimmer/Shimmer.vue +0 -69
  1023. package/src/components/ai-elements/shimmer/index.ts +0 -1
  1024. package/src/components/ai-elements/sources/Source.vue +0 -26
  1025. package/src/components/ai-elements/sources/Sources.vue +0 -17
  1026. package/src/components/ai-elements/sources/SourcesContent.vue +0 -23
  1027. package/src/components/ai-elements/sources/SourcesTrigger.vue +0 -24
  1028. package/src/components/ai-elements/sources/index.ts +0 -4
  1029. package/src/components/ai-elements/suggestion/Suggestion.vue +0 -38
  1030. package/src/components/ai-elements/suggestion/Suggestions.vue +0 -20
  1031. package/src/components/ai-elements/suggestion/index.ts +0 -2
  1032. package/src/components/ai-elements/task/Task.vue +0 -32
  1033. package/src/components/ai-elements/task/TaskContent.vue +0 -27
  1034. package/src/components/ai-elements/task/TaskItem.vue +0 -16
  1035. package/src/components/ai-elements/task/TaskItemFile.vue +0 -18
  1036. package/src/components/ai-elements/task/TaskTrigger.vue +0 -33
  1037. package/src/components/ai-elements/task/index.ts +0 -5
  1038. package/src/components/ai-elements/tool/Tool.vue +0 -18
  1039. package/src/components/ai-elements/tool/ToolContent.vue +0 -23
  1040. package/src/components/ai-elements/tool/ToolHeader.vue +0 -38
  1041. package/src/components/ai-elements/tool/ToolInput.vue +0 -32
  1042. package/src/components/ai-elements/tool/ToolOutput.vue +0 -69
  1043. package/src/components/ai-elements/tool/ToolStatusBadge.vue +0 -63
  1044. package/src/components/ai-elements/tool/index.ts +0 -5
  1045. package/src/components/ai-elements/toolbar/Toolbar.vue +0 -32
  1046. package/src/components/ai-elements/toolbar/index.ts +0 -1
  1047. package/src/components/ai-elements/web-preview/WebPreview.vue +0 -60
  1048. package/src/components/ai-elements/web-preview/WebPreviewBody.vue +0 -34
  1049. package/src/components/ai-elements/web-preview/WebPreviewConsole.vue +0 -92
  1050. package/src/components/ai-elements/web-preview/WebPreviewNavigation.vue +0 -21
  1051. package/src/components/ai-elements/web-preview/WebPreviewNavigationButton.vue +0 -45
  1052. package/src/components/ai-elements/web-preview/WebPreviewUrl.vue +0 -43
  1053. package/src/components/ai-elements/web-preview/context.ts +0 -25
  1054. package/src/components/ai-elements/web-preview/index.ts +0 -7
  1055. package/src/components/ui/alert/Alert.vue +0 -21
  1056. package/src/components/ui/alert/AlertDescription.vue +0 -17
  1057. package/src/components/ui/alert/AlertTitle.vue +0 -17
  1058. package/src/components/ui/alert/index.ts +0 -24
  1059. package/src/components/ui/avatar/Avatar.vue +0 -18
  1060. package/src/components/ui/avatar/AvatarFallback.vue +0 -21
  1061. package/src/components/ui/avatar/AvatarImage.vue +0 -16
  1062. package/src/components/ui/avatar/index.ts +0 -3
  1063. package/src/components/ui/badge/Badge.vue +0 -26
  1064. package/src/components/ui/badge/index.ts +0 -26
  1065. package/src/components/ui/button/Button.vue +0 -29
  1066. package/src/components/ui/button/index.ts +0 -38
  1067. package/src/components/ui/button-group/ButtonGroup.vue +0 -22
  1068. package/src/components/ui/button-group/ButtonGroupSeparator.vue +0 -24
  1069. package/src/components/ui/button-group/ButtonGroupText.vue +0 -29
  1070. package/src/components/ui/button-group/index.ts +0 -25
  1071. package/src/components/ui/card/Card.vue +0 -22
  1072. package/src/components/ui/card/CardAction.vue +0 -17
  1073. package/src/components/ui/card/CardContent.vue +0 -17
  1074. package/src/components/ui/card/CardDescription.vue +0 -17
  1075. package/src/components/ui/card/CardFooter.vue +0 -17
  1076. package/src/components/ui/card/CardHeader.vue +0 -17
  1077. package/src/components/ui/card/CardTitle.vue +0 -17
  1078. package/src/components/ui/card/index.ts +0 -7
  1079. package/src/components/ui/carousel/Carousel.vue +0 -53
  1080. package/src/components/ui/carousel/CarouselContent.vue +0 -33
  1081. package/src/components/ui/carousel/CarouselItem.vue +0 -24
  1082. package/src/components/ui/carousel/CarouselNext.vue +0 -41
  1083. package/src/components/ui/carousel/CarouselPrevious.vue +0 -41
  1084. package/src/components/ui/carousel/index.ts +0 -10
  1085. package/src/components/ui/carousel/interface.ts +0 -26
  1086. package/src/components/ui/carousel/useCarousel.ts +0 -56
  1087. package/src/components/ui/collapsible/Collapsible.vue +0 -19
  1088. package/src/components/ui/collapsible/CollapsibleContent.vue +0 -15
  1089. package/src/components/ui/collapsible/CollapsibleTrigger.vue +0 -15
  1090. package/src/components/ui/collapsible/index.ts +0 -3
  1091. package/src/components/ui/command/Command.vue +0 -87
  1092. package/src/components/ui/command/CommandDialog.vue +0 -31
  1093. package/src/components/ui/command/CommandEmpty.vue +0 -27
  1094. package/src/components/ui/command/CommandGroup.vue +0 -45
  1095. package/src/components/ui/command/CommandInput.vue +0 -39
  1096. package/src/components/ui/command/CommandItem.vue +0 -76
  1097. package/src/components/ui/command/CommandList.vue +0 -25
  1098. package/src/components/ui/command/CommandSeparator.vue +0 -21
  1099. package/src/components/ui/command/CommandShortcut.vue +0 -17
  1100. package/src/components/ui/command/index.ts +0 -25
  1101. package/src/components/ui/dialog/Dialog.vue +0 -19
  1102. package/src/components/ui/dialog/DialogClose.vue +0 -15
  1103. package/src/components/ui/dialog/DialogContent.vue +0 -53
  1104. package/src/components/ui/dialog/DialogDescription.vue +0 -23
  1105. package/src/components/ui/dialog/DialogFooter.vue +0 -15
  1106. package/src/components/ui/dialog/DialogHeader.vue +0 -17
  1107. package/src/components/ui/dialog/DialogOverlay.vue +0 -21
  1108. package/src/components/ui/dialog/DialogScrollContent.vue +0 -59
  1109. package/src/components/ui/dialog/DialogTitle.vue +0 -23
  1110. package/src/components/ui/dialog/DialogTrigger.vue +0 -15
  1111. package/src/components/ui/dialog/index.ts +0 -10
  1112. package/src/components/ui/dropdown-menu/DropdownMenu.vue +0 -19
  1113. package/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +0 -39
  1114. package/src/components/ui/dropdown-menu/DropdownMenuContent.vue +0 -39
  1115. package/src/components/ui/dropdown-menu/DropdownMenuGroup.vue +0 -15
  1116. package/src/components/ui/dropdown-menu/DropdownMenuItem.vue +0 -31
  1117. package/src/components/ui/dropdown-menu/DropdownMenuLabel.vue +0 -23
  1118. package/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +0 -21
  1119. package/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +0 -40
  1120. package/src/components/ui/dropdown-menu/DropdownMenuSeparator.vue +0 -23
  1121. package/src/components/ui/dropdown-menu/DropdownMenuShortcut.vue +0 -17
  1122. package/src/components/ui/dropdown-menu/DropdownMenuSub.vue +0 -18
  1123. package/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue +0 -27
  1124. package/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +0 -30
  1125. package/src/components/ui/dropdown-menu/DropdownMenuTrigger.vue +0 -17
  1126. package/src/components/ui/dropdown-menu/index.ts +0 -16
  1127. package/src/components/ui/hover-card/HoverCard.vue +0 -19
  1128. package/src/components/ui/hover-card/HoverCardContent.vue +0 -43
  1129. package/src/components/ui/hover-card/HoverCardTrigger.vue +0 -15
  1130. package/src/components/ui/hover-card/index.ts +0 -3
  1131. package/src/components/ui/input/Input.vue +0 -33
  1132. package/src/components/ui/input/index.ts +0 -1
  1133. package/src/components/ui/input-group/InputGroup.vue +0 -37
  1134. package/src/components/ui/input-group/InputGroupAddon.vue +0 -36
  1135. package/src/components/ui/input-group/InputGroupButton.vue +0 -21
  1136. package/src/components/ui/input-group/InputGroupInput.vue +0 -19
  1137. package/src/components/ui/input-group/InputGroupText.vue +0 -19
  1138. package/src/components/ui/input-group/InputGroupTextarea.vue +0 -19
  1139. package/src/components/ui/input-group/index.ts +0 -59
  1140. package/src/components/ui/progress/Progress.vue +0 -38
  1141. package/src/components/ui/progress/index.ts +0 -1
  1142. package/src/components/ui/scroll-area/ScrollArea.vue +0 -33
  1143. package/src/components/ui/scroll-area/ScrollBar.vue +0 -32
  1144. package/src/components/ui/scroll-area/index.ts +0 -2
  1145. package/src/components/ui/select/Select.vue +0 -19
  1146. package/src/components/ui/select/SelectContent.vue +0 -51
  1147. package/src/components/ui/select/SelectGroup.vue +0 -15
  1148. package/src/components/ui/select/SelectItem.vue +0 -44
  1149. package/src/components/ui/select/SelectItemText.vue +0 -15
  1150. package/src/components/ui/select/SelectLabel.vue +0 -17
  1151. package/src/components/ui/select/SelectScrollDownButton.vue +0 -26
  1152. package/src/components/ui/select/SelectScrollUpButton.vue +0 -26
  1153. package/src/components/ui/select/SelectSeparator.vue +0 -19
  1154. package/src/components/ui/select/SelectTrigger.vue +0 -33
  1155. package/src/components/ui/select/SelectValue.vue +0 -15
  1156. package/src/components/ui/select/index.ts +0 -11
  1157. package/src/components/ui/separator/Separator.vue +0 -29
  1158. package/src/components/ui/separator/index.ts +0 -1
  1159. package/src/components/ui/textarea/Textarea.vue +0 -28
  1160. package/src/components/ui/textarea/index.ts +0 -1
  1161. package/src/components/ui/tooltip/Tooltip.vue +0 -19
  1162. package/src/components/ui/tooltip/TooltipContent.vue +0 -34
  1163. package/src/components/ui/tooltip/TooltipProvider.vue +0 -14
  1164. package/src/components/ui/tooltip/TooltipTrigger.vue +0 -15
  1165. package/src/components/ui/tooltip/index.ts +0 -4
  1166. package/src/composables/useChat.ts +0 -46
  1167. package/src/index.ts +0 -3
  1168. package/src/lib/utils.ts +0 -7
  1169. package/src/main.ts +0 -5
  1170. package/src/request/index.ts +0 -41
  1171. package/src/style.css +0 -120
  1172. package/tsconfig.app.json +0 -25
  1173. package/tsconfig.json +0 -13
  1174. package/tsconfig.node.json +0 -26
  1175. package/vite.config.ts +0 -26
  1176. /package/{public → dist}/vite.svg +0 -0
@@ -0,0 +1,3108 @@
1
+ import { c as getEdgeId, g as utils_default } from "./chunk-S3R3BYOJ-DHTsHczu.js";
2
+ import { g as log, h as __name, p as select_default } from "./src-B-SBGd0A.js";
3
+ import { A as parseGenericTypes, B as setAccTitle, C as getDiagramTitle, I as sanitizeText, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, s as common_default, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-BZvlc6Ej.js";
4
+ import { t as getIconStyles } from "./chunk-FMBD7UC4-Dj3Ok4Bk.js";
5
+ import { t as getDiagramElement } from "./chunk-55IACEB6-CDMD5yu1.js";
6
+ import { t as setupViewPortForSVG } from "./chunk-QN33PNHL-DnPw7tni.js";
7
+ import { r as render, t as getRegisteredLayoutAlgorithm } from "./chunk-N4CR4FBY-BdaGxHlZ.js";
8
+ var parser = (function() {
9
+ var e = /* @__PURE__ */ __name(function(e, t, n, r) {
10
+ for (n ||= {}, r = e.length; r--; n[e[r]] = t);
11
+ return n;
12
+ }, "o"), t = [1, 18], n = [1, 19], i = [1, 20], a = [1, 41], o = [1, 42], s = [1, 26], c = [1, 24], l = [1, 25], u = [1, 32], d = [1, 33], f = [1, 34], p = [1, 45], m = [1, 35], h = [1, 36], g = [1, 37], _ = [1, 38], v = [1, 27], y = [1, 28], b = [1, 29], x = [1, 30], S = [1, 31], C = [1, 44], w = [1, 46], T = [1, 43], E = [1, 47], D = [1, 9], O = [
13
+ 1,
14
+ 8,
15
+ 9
16
+ ], k = [1, 58], A = [1, 59], j = [1, 60], M = [1, 61], N = [1, 62], P = [1, 63], F = [1, 64], I = [
17
+ 1,
18
+ 8,
19
+ 9,
20
+ 41
21
+ ], ee = [1, 76], L = [
22
+ 1,
23
+ 8,
24
+ 9,
25
+ 12,
26
+ 13,
27
+ 22,
28
+ 39,
29
+ 41,
30
+ 44,
31
+ 68,
32
+ 69,
33
+ 70,
34
+ 71,
35
+ 72,
36
+ 73,
37
+ 74,
38
+ 79,
39
+ 81
40
+ ], R = [
41
+ 1,
42
+ 8,
43
+ 9,
44
+ 12,
45
+ 13,
46
+ 18,
47
+ 20,
48
+ 22,
49
+ 39,
50
+ 41,
51
+ 44,
52
+ 50,
53
+ 60,
54
+ 68,
55
+ 69,
56
+ 70,
57
+ 71,
58
+ 72,
59
+ 73,
60
+ 74,
61
+ 79,
62
+ 81,
63
+ 86,
64
+ 100,
65
+ 102,
66
+ 103
67
+ ], z = [
68
+ 13,
69
+ 60,
70
+ 86,
71
+ 100,
72
+ 102,
73
+ 103
74
+ ], B = [
75
+ 13,
76
+ 60,
77
+ 73,
78
+ 74,
79
+ 86,
80
+ 100,
81
+ 102,
82
+ 103
83
+ ], te = [
84
+ 13,
85
+ 60,
86
+ 68,
87
+ 69,
88
+ 70,
89
+ 71,
90
+ 72,
91
+ 86,
92
+ 100,
93
+ 102,
94
+ 103
95
+ ], ne = [1, 100], V = [1, 117], H = [1, 113], U = [1, 109], W = [1, 115], G = [1, 110], K = [1, 111], q = [1, 112], J = [1, 114], Y = [1, 116], re = [
96
+ 22,
97
+ 48,
98
+ 60,
99
+ 61,
100
+ 82,
101
+ 86,
102
+ 87,
103
+ 88,
104
+ 89,
105
+ 90
106
+ ], X = [
107
+ 1,
108
+ 8,
109
+ 9,
110
+ 39,
111
+ 41,
112
+ 44
113
+ ], Z = [
114
+ 1,
115
+ 8,
116
+ 9,
117
+ 22
118
+ ], ie = [1, 145], ae = [
119
+ 1,
120
+ 8,
121
+ 9,
122
+ 61
123
+ ], Q = [
124
+ 1,
125
+ 8,
126
+ 9,
127
+ 22,
128
+ 48,
129
+ 60,
130
+ 61,
131
+ 82,
132
+ 86,
133
+ 87,
134
+ 88,
135
+ 89,
136
+ 90
137
+ ], oe = {
138
+ trace: /* @__PURE__ */ __name(function() {}, "trace"),
139
+ yy: {},
140
+ symbols_: {
141
+ error: 2,
142
+ start: 3,
143
+ mermaidDoc: 4,
144
+ statements: 5,
145
+ graphConfig: 6,
146
+ CLASS_DIAGRAM: 7,
147
+ NEWLINE: 8,
148
+ EOF: 9,
149
+ statement: 10,
150
+ classLabel: 11,
151
+ SQS: 12,
152
+ STR: 13,
153
+ SQE: 14,
154
+ namespaceName: 15,
155
+ alphaNumToken: 16,
156
+ classLiteralName: 17,
157
+ DOT: 18,
158
+ className: 19,
159
+ GENERICTYPE: 20,
160
+ relationStatement: 21,
161
+ LABEL: 22,
162
+ namespaceStatement: 23,
163
+ classStatement: 24,
164
+ memberStatement: 25,
165
+ annotationStatement: 26,
166
+ clickStatement: 27,
167
+ styleStatement: 28,
168
+ cssClassStatement: 29,
169
+ noteStatement: 30,
170
+ classDefStatement: 31,
171
+ direction: 32,
172
+ acc_title: 33,
173
+ acc_title_value: 34,
174
+ acc_descr: 35,
175
+ acc_descr_value: 36,
176
+ acc_descr_multiline_value: 37,
177
+ namespaceIdentifier: 38,
178
+ STRUCT_START: 39,
179
+ classStatements: 40,
180
+ STRUCT_STOP: 41,
181
+ NAMESPACE: 42,
182
+ classIdentifier: 43,
183
+ STYLE_SEPARATOR: 44,
184
+ members: 45,
185
+ CLASS: 46,
186
+ emptyBody: 47,
187
+ SPACE: 48,
188
+ ANNOTATION_START: 49,
189
+ ANNOTATION_END: 50,
190
+ MEMBER: 51,
191
+ SEPARATOR: 52,
192
+ relation: 53,
193
+ NOTE_FOR: 54,
194
+ noteText: 55,
195
+ NOTE: 56,
196
+ CLASSDEF: 57,
197
+ classList: 58,
198
+ stylesOpt: 59,
199
+ ALPHA: 60,
200
+ COMMA: 61,
201
+ direction_tb: 62,
202
+ direction_bt: 63,
203
+ direction_rl: 64,
204
+ direction_lr: 65,
205
+ relationType: 66,
206
+ lineType: 67,
207
+ AGGREGATION: 68,
208
+ EXTENSION: 69,
209
+ COMPOSITION: 70,
210
+ DEPENDENCY: 71,
211
+ LOLLIPOP: 72,
212
+ LINE: 73,
213
+ DOTTED_LINE: 74,
214
+ CALLBACK: 75,
215
+ LINK: 76,
216
+ LINK_TARGET: 77,
217
+ CLICK: 78,
218
+ CALLBACK_NAME: 79,
219
+ CALLBACK_ARGS: 80,
220
+ HREF: 81,
221
+ STYLE: 82,
222
+ CSSCLASS: 83,
223
+ style: 84,
224
+ styleComponent: 85,
225
+ NUM: 86,
226
+ COLON: 87,
227
+ UNIT: 88,
228
+ BRKT: 89,
229
+ PCT: 90,
230
+ commentToken: 91,
231
+ textToken: 92,
232
+ graphCodeTokens: 93,
233
+ textNoTagsToken: 94,
234
+ TAGSTART: 95,
235
+ TAGEND: 96,
236
+ "==": 97,
237
+ "--": 98,
238
+ DEFAULT: 99,
239
+ MINUS: 100,
240
+ keywords: 101,
241
+ UNICODE_TEXT: 102,
242
+ BQUOTE_STR: 103,
243
+ $accept: 0,
244
+ $end: 1
245
+ },
246
+ terminals_: {
247
+ 2: "error",
248
+ 7: "CLASS_DIAGRAM",
249
+ 8: "NEWLINE",
250
+ 9: "EOF",
251
+ 12: "SQS",
252
+ 13: "STR",
253
+ 14: "SQE",
254
+ 18: "DOT",
255
+ 20: "GENERICTYPE",
256
+ 22: "LABEL",
257
+ 33: "acc_title",
258
+ 34: "acc_title_value",
259
+ 35: "acc_descr",
260
+ 36: "acc_descr_value",
261
+ 37: "acc_descr_multiline_value",
262
+ 39: "STRUCT_START",
263
+ 41: "STRUCT_STOP",
264
+ 42: "NAMESPACE",
265
+ 44: "STYLE_SEPARATOR",
266
+ 46: "CLASS",
267
+ 48: "SPACE",
268
+ 49: "ANNOTATION_START",
269
+ 50: "ANNOTATION_END",
270
+ 51: "MEMBER",
271
+ 52: "SEPARATOR",
272
+ 54: "NOTE_FOR",
273
+ 56: "NOTE",
274
+ 57: "CLASSDEF",
275
+ 60: "ALPHA",
276
+ 61: "COMMA",
277
+ 62: "direction_tb",
278
+ 63: "direction_bt",
279
+ 64: "direction_rl",
280
+ 65: "direction_lr",
281
+ 68: "AGGREGATION",
282
+ 69: "EXTENSION",
283
+ 70: "COMPOSITION",
284
+ 71: "DEPENDENCY",
285
+ 72: "LOLLIPOP",
286
+ 73: "LINE",
287
+ 74: "DOTTED_LINE",
288
+ 75: "CALLBACK",
289
+ 76: "LINK",
290
+ 77: "LINK_TARGET",
291
+ 78: "CLICK",
292
+ 79: "CALLBACK_NAME",
293
+ 80: "CALLBACK_ARGS",
294
+ 81: "HREF",
295
+ 82: "STYLE",
296
+ 83: "CSSCLASS",
297
+ 86: "NUM",
298
+ 87: "COLON",
299
+ 88: "UNIT",
300
+ 89: "BRKT",
301
+ 90: "PCT",
302
+ 93: "graphCodeTokens",
303
+ 95: "TAGSTART",
304
+ 96: "TAGEND",
305
+ 97: "==",
306
+ 98: "--",
307
+ 99: "DEFAULT",
308
+ 100: "MINUS",
309
+ 101: "keywords",
310
+ 102: "UNICODE_TEXT",
311
+ 103: "BQUOTE_STR"
312
+ },
313
+ productions_: [
314
+ 0,
315
+ [3, 1],
316
+ [3, 1],
317
+ [4, 1],
318
+ [6, 4],
319
+ [5, 1],
320
+ [5, 2],
321
+ [5, 3],
322
+ [11, 3],
323
+ [15, 1],
324
+ [15, 1],
325
+ [15, 3],
326
+ [15, 2],
327
+ [19, 1],
328
+ [19, 3],
329
+ [19, 1],
330
+ [19, 2],
331
+ [19, 2],
332
+ [19, 2],
333
+ [10, 1],
334
+ [10, 2],
335
+ [10, 1],
336
+ [10, 1],
337
+ [10, 1],
338
+ [10, 1],
339
+ [10, 1],
340
+ [10, 1],
341
+ [10, 1],
342
+ [10, 1],
343
+ [10, 1],
344
+ [10, 1],
345
+ [10, 2],
346
+ [10, 2],
347
+ [10, 1],
348
+ [23, 4],
349
+ [23, 5],
350
+ [38, 2],
351
+ [40, 1],
352
+ [40, 2],
353
+ [40, 3],
354
+ [24, 1],
355
+ [24, 3],
356
+ [24, 4],
357
+ [24, 3],
358
+ [24, 6],
359
+ [43, 2],
360
+ [43, 3],
361
+ [47, 0],
362
+ [47, 2],
363
+ [47, 2],
364
+ [26, 4],
365
+ [45, 1],
366
+ [45, 2],
367
+ [25, 1],
368
+ [25, 2],
369
+ [25, 1],
370
+ [25, 1],
371
+ [21, 3],
372
+ [21, 4],
373
+ [21, 4],
374
+ [21, 5],
375
+ [30, 3],
376
+ [30, 2],
377
+ [31, 3],
378
+ [58, 1],
379
+ [58, 3],
380
+ [32, 1],
381
+ [32, 1],
382
+ [32, 1],
383
+ [32, 1],
384
+ [53, 3],
385
+ [53, 2],
386
+ [53, 2],
387
+ [53, 1],
388
+ [66, 1],
389
+ [66, 1],
390
+ [66, 1],
391
+ [66, 1],
392
+ [66, 1],
393
+ [67, 1],
394
+ [67, 1],
395
+ [27, 3],
396
+ [27, 4],
397
+ [27, 3],
398
+ [27, 4],
399
+ [27, 4],
400
+ [27, 5],
401
+ [27, 3],
402
+ [27, 4],
403
+ [27, 4],
404
+ [27, 5],
405
+ [27, 4],
406
+ [27, 5],
407
+ [27, 5],
408
+ [27, 6],
409
+ [28, 3],
410
+ [29, 3],
411
+ [59, 1],
412
+ [59, 3],
413
+ [84, 1],
414
+ [84, 2],
415
+ [85, 1],
416
+ [85, 1],
417
+ [85, 1],
418
+ [85, 1],
419
+ [85, 1],
420
+ [85, 1],
421
+ [85, 1],
422
+ [85, 1],
423
+ [85, 1],
424
+ [91, 1],
425
+ [91, 1],
426
+ [92, 1],
427
+ [92, 1],
428
+ [92, 1],
429
+ [92, 1],
430
+ [92, 1],
431
+ [92, 1],
432
+ [92, 1],
433
+ [94, 1],
434
+ [94, 1],
435
+ [94, 1],
436
+ [94, 1],
437
+ [16, 1],
438
+ [16, 1],
439
+ [16, 1],
440
+ [16, 1],
441
+ [17, 1],
442
+ [55, 1]
443
+ ],
444
+ performAction: /* @__PURE__ */ __name(function(e, t, n, r, i, a, o) {
445
+ var s = a.length - 1;
446
+ switch (i) {
447
+ case 8:
448
+ this.$ = a[s - 1];
449
+ break;
450
+ case 9:
451
+ case 10:
452
+ case 13:
453
+ case 15:
454
+ this.$ = a[s];
455
+ break;
456
+ case 11:
457
+ case 14:
458
+ this.$ = a[s - 2] + "." + a[s];
459
+ break;
460
+ case 12:
461
+ case 16:
462
+ this.$ = a[s - 1] + a[s];
463
+ break;
464
+ case 17:
465
+ case 18:
466
+ this.$ = a[s - 1] + "~" + a[s] + "~";
467
+ break;
468
+ case 19:
469
+ r.addRelation(a[s]);
470
+ break;
471
+ case 20:
472
+ a[s - 1].title = r.cleanupLabel(a[s]), r.addRelation(a[s - 1]);
473
+ break;
474
+ case 31:
475
+ this.$ = a[s].trim(), r.setAccTitle(this.$);
476
+ break;
477
+ case 32:
478
+ case 33:
479
+ this.$ = a[s].trim(), r.setAccDescription(this.$);
480
+ break;
481
+ case 34:
482
+ r.addClassesToNamespace(a[s - 3], a[s - 1]);
483
+ break;
484
+ case 35:
485
+ r.addClassesToNamespace(a[s - 4], a[s - 1]);
486
+ break;
487
+ case 36:
488
+ this.$ = a[s], r.addNamespace(a[s]);
489
+ break;
490
+ case 37:
491
+ this.$ = [a[s]];
492
+ break;
493
+ case 38:
494
+ this.$ = [a[s - 1]];
495
+ break;
496
+ case 39:
497
+ a[s].unshift(a[s - 2]), this.$ = a[s];
498
+ break;
499
+ case 41:
500
+ r.setCssClass(a[s - 2], a[s]);
501
+ break;
502
+ case 42:
503
+ r.addMembers(a[s - 3], a[s - 1]);
504
+ break;
505
+ case 44:
506
+ r.setCssClass(a[s - 5], a[s - 3]), r.addMembers(a[s - 5], a[s - 1]);
507
+ break;
508
+ case 45:
509
+ this.$ = a[s], r.addClass(a[s]);
510
+ break;
511
+ case 46:
512
+ this.$ = a[s - 1], r.addClass(a[s - 1]), r.setClassLabel(a[s - 1], a[s]);
513
+ break;
514
+ case 50:
515
+ r.addAnnotation(a[s], a[s - 2]);
516
+ break;
517
+ case 51:
518
+ case 64:
519
+ this.$ = [a[s]];
520
+ break;
521
+ case 52:
522
+ a[s].push(a[s - 1]), this.$ = a[s];
523
+ break;
524
+ case 53: break;
525
+ case 54:
526
+ r.addMember(a[s - 1], r.cleanupLabel(a[s]));
527
+ break;
528
+ case 55: break;
529
+ case 56: break;
530
+ case 57:
531
+ this.$ = {
532
+ id1: a[s - 2],
533
+ id2: a[s],
534
+ relation: a[s - 1],
535
+ relationTitle1: "none",
536
+ relationTitle2: "none"
537
+ };
538
+ break;
539
+ case 58:
540
+ this.$ = {
541
+ id1: a[s - 3],
542
+ id2: a[s],
543
+ relation: a[s - 1],
544
+ relationTitle1: a[s - 2],
545
+ relationTitle2: "none"
546
+ };
547
+ break;
548
+ case 59:
549
+ this.$ = {
550
+ id1: a[s - 3],
551
+ id2: a[s],
552
+ relation: a[s - 2],
553
+ relationTitle1: "none",
554
+ relationTitle2: a[s - 1]
555
+ };
556
+ break;
557
+ case 60:
558
+ this.$ = {
559
+ id1: a[s - 4],
560
+ id2: a[s],
561
+ relation: a[s - 2],
562
+ relationTitle1: a[s - 3],
563
+ relationTitle2: a[s - 1]
564
+ };
565
+ break;
566
+ case 61:
567
+ r.addNote(a[s], a[s - 1]);
568
+ break;
569
+ case 62:
570
+ r.addNote(a[s]);
571
+ break;
572
+ case 63:
573
+ this.$ = a[s - 2], r.defineClass(a[s - 1], a[s]);
574
+ break;
575
+ case 65:
576
+ this.$ = a[s - 2].concat([a[s]]);
577
+ break;
578
+ case 66:
579
+ r.setDirection("TB");
580
+ break;
581
+ case 67:
582
+ r.setDirection("BT");
583
+ break;
584
+ case 68:
585
+ r.setDirection("RL");
586
+ break;
587
+ case 69:
588
+ r.setDirection("LR");
589
+ break;
590
+ case 70:
591
+ this.$ = {
592
+ type1: a[s - 2],
593
+ type2: a[s],
594
+ lineType: a[s - 1]
595
+ };
596
+ break;
597
+ case 71:
598
+ this.$ = {
599
+ type1: "none",
600
+ type2: a[s],
601
+ lineType: a[s - 1]
602
+ };
603
+ break;
604
+ case 72:
605
+ this.$ = {
606
+ type1: a[s - 1],
607
+ type2: "none",
608
+ lineType: a[s]
609
+ };
610
+ break;
611
+ case 73:
612
+ this.$ = {
613
+ type1: "none",
614
+ type2: "none",
615
+ lineType: a[s]
616
+ };
617
+ break;
618
+ case 74:
619
+ this.$ = r.relationType.AGGREGATION;
620
+ break;
621
+ case 75:
622
+ this.$ = r.relationType.EXTENSION;
623
+ break;
624
+ case 76:
625
+ this.$ = r.relationType.COMPOSITION;
626
+ break;
627
+ case 77:
628
+ this.$ = r.relationType.DEPENDENCY;
629
+ break;
630
+ case 78:
631
+ this.$ = r.relationType.LOLLIPOP;
632
+ break;
633
+ case 79:
634
+ this.$ = r.lineType.LINE;
635
+ break;
636
+ case 80:
637
+ this.$ = r.lineType.DOTTED_LINE;
638
+ break;
639
+ case 81:
640
+ case 87:
641
+ this.$ = a[s - 2], r.setClickEvent(a[s - 1], a[s]);
642
+ break;
643
+ case 82:
644
+ case 88:
645
+ this.$ = a[s - 3], r.setClickEvent(a[s - 2], a[s - 1]), r.setTooltip(a[s - 2], a[s]);
646
+ break;
647
+ case 83:
648
+ this.$ = a[s - 2], r.setLink(a[s - 1], a[s]);
649
+ break;
650
+ case 84:
651
+ this.$ = a[s - 3], r.setLink(a[s - 2], a[s - 1], a[s]);
652
+ break;
653
+ case 85:
654
+ this.$ = a[s - 3], r.setLink(a[s - 2], a[s - 1]), r.setTooltip(a[s - 2], a[s]);
655
+ break;
656
+ case 86:
657
+ this.$ = a[s - 4], r.setLink(a[s - 3], a[s - 2], a[s]), r.setTooltip(a[s - 3], a[s - 1]);
658
+ break;
659
+ case 89:
660
+ this.$ = a[s - 3], r.setClickEvent(a[s - 2], a[s - 1], a[s]);
661
+ break;
662
+ case 90:
663
+ this.$ = a[s - 4], r.setClickEvent(a[s - 3], a[s - 2], a[s - 1]), r.setTooltip(a[s - 3], a[s]);
664
+ break;
665
+ case 91:
666
+ this.$ = a[s - 3], r.setLink(a[s - 2], a[s]);
667
+ break;
668
+ case 92:
669
+ this.$ = a[s - 4], r.setLink(a[s - 3], a[s - 1], a[s]);
670
+ break;
671
+ case 93:
672
+ this.$ = a[s - 4], r.setLink(a[s - 3], a[s - 1]), r.setTooltip(a[s - 3], a[s]);
673
+ break;
674
+ case 94:
675
+ this.$ = a[s - 5], r.setLink(a[s - 4], a[s - 2], a[s]), r.setTooltip(a[s - 4], a[s - 1]);
676
+ break;
677
+ case 95:
678
+ this.$ = a[s - 2], r.setCssStyle(a[s - 1], a[s]);
679
+ break;
680
+ case 96:
681
+ r.setCssClass(a[s - 1], a[s]);
682
+ break;
683
+ case 97:
684
+ this.$ = [a[s]];
685
+ break;
686
+ case 98:
687
+ a[s - 2].push(a[s]), this.$ = a[s - 2];
688
+ break;
689
+ case 100:
690
+ this.$ = a[s - 1] + a[s];
691
+ break;
692
+ }
693
+ }, "anonymous"),
694
+ table: [
695
+ {
696
+ 3: 1,
697
+ 4: 2,
698
+ 5: 3,
699
+ 6: 4,
700
+ 7: [1, 6],
701
+ 10: 5,
702
+ 16: 39,
703
+ 17: 40,
704
+ 19: 21,
705
+ 21: 7,
706
+ 23: 8,
707
+ 24: 9,
708
+ 25: 10,
709
+ 26: 11,
710
+ 27: 12,
711
+ 28: 13,
712
+ 29: 14,
713
+ 30: 15,
714
+ 31: 16,
715
+ 32: 17,
716
+ 33: t,
717
+ 35: n,
718
+ 37: i,
719
+ 38: 22,
720
+ 42: a,
721
+ 43: 23,
722
+ 46: o,
723
+ 49: s,
724
+ 51: c,
725
+ 52: l,
726
+ 54: u,
727
+ 56: d,
728
+ 57: f,
729
+ 60: p,
730
+ 62: m,
731
+ 63: h,
732
+ 64: g,
733
+ 65: _,
734
+ 75: v,
735
+ 76: y,
736
+ 78: b,
737
+ 82: x,
738
+ 83: S,
739
+ 86: C,
740
+ 100: w,
741
+ 102: T,
742
+ 103: E
743
+ },
744
+ { 1: [3] },
745
+ { 1: [2, 1] },
746
+ { 1: [2, 2] },
747
+ { 1: [2, 3] },
748
+ e(D, [2, 5], { 8: [1, 48] }),
749
+ { 8: [1, 49] },
750
+ e(O, [2, 19], { 22: [1, 50] }),
751
+ e(O, [2, 21]),
752
+ e(O, [2, 22]),
753
+ e(O, [2, 23]),
754
+ e(O, [2, 24]),
755
+ e(O, [2, 25]),
756
+ e(O, [2, 26]),
757
+ e(O, [2, 27]),
758
+ e(O, [2, 28]),
759
+ e(O, [2, 29]),
760
+ e(O, [2, 30]),
761
+ { 34: [1, 51] },
762
+ { 36: [1, 52] },
763
+ e(O, [2, 33]),
764
+ e(O, [2, 53], {
765
+ 53: 53,
766
+ 66: 56,
767
+ 67: 57,
768
+ 13: [1, 54],
769
+ 22: [1, 55],
770
+ 68: k,
771
+ 69: A,
772
+ 70: j,
773
+ 71: M,
774
+ 72: N,
775
+ 73: P,
776
+ 74: F
777
+ }),
778
+ { 39: [1, 65] },
779
+ e(I, [2, 40], {
780
+ 39: [1, 67],
781
+ 44: [1, 66]
782
+ }),
783
+ e(O, [2, 55]),
784
+ e(O, [2, 56]),
785
+ {
786
+ 16: 68,
787
+ 60: p,
788
+ 86: C,
789
+ 100: w,
790
+ 102: T
791
+ },
792
+ {
793
+ 16: 39,
794
+ 17: 40,
795
+ 19: 69,
796
+ 60: p,
797
+ 86: C,
798
+ 100: w,
799
+ 102: T,
800
+ 103: E
801
+ },
802
+ {
803
+ 16: 39,
804
+ 17: 40,
805
+ 19: 70,
806
+ 60: p,
807
+ 86: C,
808
+ 100: w,
809
+ 102: T,
810
+ 103: E
811
+ },
812
+ {
813
+ 16: 39,
814
+ 17: 40,
815
+ 19: 71,
816
+ 60: p,
817
+ 86: C,
818
+ 100: w,
819
+ 102: T,
820
+ 103: E
821
+ },
822
+ { 60: [1, 72] },
823
+ { 13: [1, 73] },
824
+ {
825
+ 16: 39,
826
+ 17: 40,
827
+ 19: 74,
828
+ 60: p,
829
+ 86: C,
830
+ 100: w,
831
+ 102: T,
832
+ 103: E
833
+ },
834
+ {
835
+ 13: ee,
836
+ 55: 75
837
+ },
838
+ {
839
+ 58: 77,
840
+ 60: [1, 78]
841
+ },
842
+ e(O, [2, 66]),
843
+ e(O, [2, 67]),
844
+ e(O, [2, 68]),
845
+ e(O, [2, 69]),
846
+ e(L, [2, 13], {
847
+ 16: 39,
848
+ 17: 40,
849
+ 19: 80,
850
+ 18: [1, 79],
851
+ 20: [1, 81],
852
+ 60: p,
853
+ 86: C,
854
+ 100: w,
855
+ 102: T,
856
+ 103: E
857
+ }),
858
+ e(L, [2, 15], { 20: [1, 82] }),
859
+ {
860
+ 15: 83,
861
+ 16: 84,
862
+ 17: 85,
863
+ 60: p,
864
+ 86: C,
865
+ 100: w,
866
+ 102: T,
867
+ 103: E
868
+ },
869
+ {
870
+ 16: 39,
871
+ 17: 40,
872
+ 19: 86,
873
+ 60: p,
874
+ 86: C,
875
+ 100: w,
876
+ 102: T,
877
+ 103: E
878
+ },
879
+ e(R, [2, 123]),
880
+ e(R, [2, 124]),
881
+ e(R, [2, 125]),
882
+ e(R, [2, 126]),
883
+ e([
884
+ 1,
885
+ 8,
886
+ 9,
887
+ 12,
888
+ 13,
889
+ 20,
890
+ 22,
891
+ 39,
892
+ 41,
893
+ 44,
894
+ 68,
895
+ 69,
896
+ 70,
897
+ 71,
898
+ 72,
899
+ 73,
900
+ 74,
901
+ 79,
902
+ 81
903
+ ], [2, 127]),
904
+ e(D, [2, 6], {
905
+ 10: 5,
906
+ 21: 7,
907
+ 23: 8,
908
+ 24: 9,
909
+ 25: 10,
910
+ 26: 11,
911
+ 27: 12,
912
+ 28: 13,
913
+ 29: 14,
914
+ 30: 15,
915
+ 31: 16,
916
+ 32: 17,
917
+ 19: 21,
918
+ 38: 22,
919
+ 43: 23,
920
+ 16: 39,
921
+ 17: 40,
922
+ 5: 87,
923
+ 33: t,
924
+ 35: n,
925
+ 37: i,
926
+ 42: a,
927
+ 46: o,
928
+ 49: s,
929
+ 51: c,
930
+ 52: l,
931
+ 54: u,
932
+ 56: d,
933
+ 57: f,
934
+ 60: p,
935
+ 62: m,
936
+ 63: h,
937
+ 64: g,
938
+ 65: _,
939
+ 75: v,
940
+ 76: y,
941
+ 78: b,
942
+ 82: x,
943
+ 83: S,
944
+ 86: C,
945
+ 100: w,
946
+ 102: T,
947
+ 103: E
948
+ }),
949
+ {
950
+ 5: 88,
951
+ 10: 5,
952
+ 16: 39,
953
+ 17: 40,
954
+ 19: 21,
955
+ 21: 7,
956
+ 23: 8,
957
+ 24: 9,
958
+ 25: 10,
959
+ 26: 11,
960
+ 27: 12,
961
+ 28: 13,
962
+ 29: 14,
963
+ 30: 15,
964
+ 31: 16,
965
+ 32: 17,
966
+ 33: t,
967
+ 35: n,
968
+ 37: i,
969
+ 38: 22,
970
+ 42: a,
971
+ 43: 23,
972
+ 46: o,
973
+ 49: s,
974
+ 51: c,
975
+ 52: l,
976
+ 54: u,
977
+ 56: d,
978
+ 57: f,
979
+ 60: p,
980
+ 62: m,
981
+ 63: h,
982
+ 64: g,
983
+ 65: _,
984
+ 75: v,
985
+ 76: y,
986
+ 78: b,
987
+ 82: x,
988
+ 83: S,
989
+ 86: C,
990
+ 100: w,
991
+ 102: T,
992
+ 103: E
993
+ },
994
+ e(O, [2, 20]),
995
+ e(O, [2, 31]),
996
+ e(O, [2, 32]),
997
+ {
998
+ 13: [1, 90],
999
+ 16: 39,
1000
+ 17: 40,
1001
+ 19: 89,
1002
+ 60: p,
1003
+ 86: C,
1004
+ 100: w,
1005
+ 102: T,
1006
+ 103: E
1007
+ },
1008
+ {
1009
+ 53: 91,
1010
+ 66: 56,
1011
+ 67: 57,
1012
+ 68: k,
1013
+ 69: A,
1014
+ 70: j,
1015
+ 71: M,
1016
+ 72: N,
1017
+ 73: P,
1018
+ 74: F
1019
+ },
1020
+ e(O, [2, 54]),
1021
+ {
1022
+ 67: 92,
1023
+ 73: P,
1024
+ 74: F
1025
+ },
1026
+ e(z, [2, 73], {
1027
+ 66: 93,
1028
+ 68: k,
1029
+ 69: A,
1030
+ 70: j,
1031
+ 71: M,
1032
+ 72: N
1033
+ }),
1034
+ e(B, [2, 74]),
1035
+ e(B, [2, 75]),
1036
+ e(B, [2, 76]),
1037
+ e(B, [2, 77]),
1038
+ e(B, [2, 78]),
1039
+ e(te, [2, 79]),
1040
+ e(te, [2, 80]),
1041
+ {
1042
+ 8: [1, 95],
1043
+ 24: 96,
1044
+ 40: 94,
1045
+ 43: 23,
1046
+ 46: o
1047
+ },
1048
+ {
1049
+ 16: 97,
1050
+ 60: p,
1051
+ 86: C,
1052
+ 100: w,
1053
+ 102: T
1054
+ },
1055
+ {
1056
+ 41: [1, 99],
1057
+ 45: 98,
1058
+ 51: ne
1059
+ },
1060
+ { 50: [1, 101] },
1061
+ { 13: [1, 102] },
1062
+ { 13: [1, 103] },
1063
+ {
1064
+ 79: [1, 104],
1065
+ 81: [1, 105]
1066
+ },
1067
+ {
1068
+ 22: V,
1069
+ 48: H,
1070
+ 59: 106,
1071
+ 60: U,
1072
+ 82: W,
1073
+ 84: 107,
1074
+ 85: 108,
1075
+ 86: G,
1076
+ 87: K,
1077
+ 88: q,
1078
+ 89: J,
1079
+ 90: Y
1080
+ },
1081
+ { 60: [1, 118] },
1082
+ {
1083
+ 13: ee,
1084
+ 55: 119
1085
+ },
1086
+ e(O, [2, 62]),
1087
+ e(O, [2, 128]),
1088
+ {
1089
+ 22: V,
1090
+ 48: H,
1091
+ 59: 120,
1092
+ 60: U,
1093
+ 61: [1, 121],
1094
+ 82: W,
1095
+ 84: 107,
1096
+ 85: 108,
1097
+ 86: G,
1098
+ 87: K,
1099
+ 88: q,
1100
+ 89: J,
1101
+ 90: Y
1102
+ },
1103
+ e(re, [2, 64]),
1104
+ {
1105
+ 16: 39,
1106
+ 17: 40,
1107
+ 19: 122,
1108
+ 60: p,
1109
+ 86: C,
1110
+ 100: w,
1111
+ 102: T,
1112
+ 103: E
1113
+ },
1114
+ e(L, [2, 16]),
1115
+ e(L, [2, 17]),
1116
+ e(L, [2, 18]),
1117
+ { 39: [2, 36] },
1118
+ {
1119
+ 15: 124,
1120
+ 16: 84,
1121
+ 17: 85,
1122
+ 18: [1, 123],
1123
+ 39: [2, 9],
1124
+ 60: p,
1125
+ 86: C,
1126
+ 100: w,
1127
+ 102: T,
1128
+ 103: E
1129
+ },
1130
+ { 39: [2, 10] },
1131
+ e(X, [2, 45], {
1132
+ 11: 125,
1133
+ 12: [1, 126]
1134
+ }),
1135
+ e(D, [2, 7]),
1136
+ { 9: [1, 127] },
1137
+ e(Z, [2, 57]),
1138
+ {
1139
+ 16: 39,
1140
+ 17: 40,
1141
+ 19: 128,
1142
+ 60: p,
1143
+ 86: C,
1144
+ 100: w,
1145
+ 102: T,
1146
+ 103: E
1147
+ },
1148
+ {
1149
+ 13: [1, 130],
1150
+ 16: 39,
1151
+ 17: 40,
1152
+ 19: 129,
1153
+ 60: p,
1154
+ 86: C,
1155
+ 100: w,
1156
+ 102: T,
1157
+ 103: E
1158
+ },
1159
+ e(z, [2, 72], {
1160
+ 66: 131,
1161
+ 68: k,
1162
+ 69: A,
1163
+ 70: j,
1164
+ 71: M,
1165
+ 72: N
1166
+ }),
1167
+ e(z, [2, 71]),
1168
+ { 41: [1, 132] },
1169
+ {
1170
+ 24: 96,
1171
+ 40: 133,
1172
+ 43: 23,
1173
+ 46: o
1174
+ },
1175
+ {
1176
+ 8: [1, 134],
1177
+ 41: [2, 37]
1178
+ },
1179
+ e(I, [2, 41], { 39: [1, 135] }),
1180
+ { 41: [1, 136] },
1181
+ e(I, [2, 43]),
1182
+ {
1183
+ 41: [2, 51],
1184
+ 45: 137,
1185
+ 51: ne
1186
+ },
1187
+ {
1188
+ 16: 39,
1189
+ 17: 40,
1190
+ 19: 138,
1191
+ 60: p,
1192
+ 86: C,
1193
+ 100: w,
1194
+ 102: T,
1195
+ 103: E
1196
+ },
1197
+ e(O, [2, 81], { 13: [1, 139] }),
1198
+ e(O, [2, 83], {
1199
+ 13: [1, 141],
1200
+ 77: [1, 140]
1201
+ }),
1202
+ e(O, [2, 87], {
1203
+ 13: [1, 142],
1204
+ 80: [1, 143]
1205
+ }),
1206
+ { 13: [1, 144] },
1207
+ e(O, [2, 95], { 61: ie }),
1208
+ e(ae, [2, 97], {
1209
+ 85: 146,
1210
+ 22: V,
1211
+ 48: H,
1212
+ 60: U,
1213
+ 82: W,
1214
+ 86: G,
1215
+ 87: K,
1216
+ 88: q,
1217
+ 89: J,
1218
+ 90: Y
1219
+ }),
1220
+ e(Q, [2, 99]),
1221
+ e(Q, [2, 101]),
1222
+ e(Q, [2, 102]),
1223
+ e(Q, [2, 103]),
1224
+ e(Q, [2, 104]),
1225
+ e(Q, [2, 105]),
1226
+ e(Q, [2, 106]),
1227
+ e(Q, [2, 107]),
1228
+ e(Q, [2, 108]),
1229
+ e(Q, [2, 109]),
1230
+ e(O, [2, 96]),
1231
+ e(O, [2, 61]),
1232
+ e(O, [2, 63], { 61: ie }),
1233
+ { 60: [1, 147] },
1234
+ e(L, [2, 14]),
1235
+ {
1236
+ 15: 148,
1237
+ 16: 84,
1238
+ 17: 85,
1239
+ 60: p,
1240
+ 86: C,
1241
+ 100: w,
1242
+ 102: T,
1243
+ 103: E
1244
+ },
1245
+ { 39: [2, 12] },
1246
+ e(X, [2, 46]),
1247
+ { 13: [1, 149] },
1248
+ { 1: [2, 4] },
1249
+ e(Z, [2, 59]),
1250
+ e(Z, [2, 58]),
1251
+ {
1252
+ 16: 39,
1253
+ 17: 40,
1254
+ 19: 150,
1255
+ 60: p,
1256
+ 86: C,
1257
+ 100: w,
1258
+ 102: T,
1259
+ 103: E
1260
+ },
1261
+ e(z, [2, 70]),
1262
+ e(O, [2, 34]),
1263
+ { 41: [1, 151] },
1264
+ {
1265
+ 24: 96,
1266
+ 40: 152,
1267
+ 41: [2, 38],
1268
+ 43: 23,
1269
+ 46: o
1270
+ },
1271
+ {
1272
+ 45: 153,
1273
+ 51: ne
1274
+ },
1275
+ e(I, [2, 42]),
1276
+ { 41: [2, 52] },
1277
+ e(O, [2, 50]),
1278
+ e(O, [2, 82]),
1279
+ e(O, [2, 84]),
1280
+ e(O, [2, 85], { 77: [1, 154] }),
1281
+ e(O, [2, 88]),
1282
+ e(O, [2, 89], { 13: [1, 155] }),
1283
+ e(O, [2, 91], {
1284
+ 13: [1, 157],
1285
+ 77: [1, 156]
1286
+ }),
1287
+ {
1288
+ 22: V,
1289
+ 48: H,
1290
+ 60: U,
1291
+ 82: W,
1292
+ 84: 158,
1293
+ 85: 108,
1294
+ 86: G,
1295
+ 87: K,
1296
+ 88: q,
1297
+ 89: J,
1298
+ 90: Y
1299
+ },
1300
+ e(Q, [2, 100]),
1301
+ e(re, [2, 65]),
1302
+ { 39: [2, 11] },
1303
+ { 14: [1, 159] },
1304
+ e(Z, [2, 60]),
1305
+ e(O, [2, 35]),
1306
+ { 41: [2, 39] },
1307
+ { 41: [1, 160] },
1308
+ e(O, [2, 86]),
1309
+ e(O, [2, 90]),
1310
+ e(O, [2, 92]),
1311
+ e(O, [2, 93], { 77: [1, 161] }),
1312
+ e(ae, [2, 98], {
1313
+ 85: 146,
1314
+ 22: V,
1315
+ 48: H,
1316
+ 60: U,
1317
+ 82: W,
1318
+ 86: G,
1319
+ 87: K,
1320
+ 88: q,
1321
+ 89: J,
1322
+ 90: Y
1323
+ }),
1324
+ e(X, [2, 8]),
1325
+ e(I, [2, 44]),
1326
+ e(O, [2, 94])
1327
+ ],
1328
+ defaultActions: {
1329
+ 2: [2, 1],
1330
+ 3: [2, 2],
1331
+ 4: [2, 3],
1332
+ 83: [2, 36],
1333
+ 85: [2, 10],
1334
+ 124: [2, 12],
1335
+ 127: [2, 4],
1336
+ 137: [2, 52],
1337
+ 148: [2, 11],
1338
+ 152: [2, 39]
1339
+ },
1340
+ parseError: /* @__PURE__ */ __name(function(e, t) {
1341
+ if (t.recoverable) this.trace(e);
1342
+ else {
1343
+ var n = Error(e);
1344
+ throw n.hash = t, n;
1345
+ }
1346
+ }, "parseError"),
1347
+ parse: /* @__PURE__ */ __name(function(e) {
1348
+ var t = this, n = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
1349
+ for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
1350
+ h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
1351
+ var v = h.yylloc;
1352
+ o.push(v);
1353
+ var y = h.options && h.options.ranges;
1354
+ typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1355
+ function b(e) {
1356
+ n.length -= 2 * e, a.length -= e, o.length -= e;
1357
+ }
1358
+ __name(b, "popStack");
1359
+ function x() {
1360
+ var e = i.pop() || h.lex() || p;
1361
+ return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = t.symbols_[e] || e), e;
1362
+ }
1363
+ __name(x, "lex");
1364
+ for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
1365
+ if (w = n[n.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = s[w] && s[w][S]), T === void 0 || !T.length || !T[0]) {
1366
+ var M = "";
1367
+ for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
1368
+ M = h.showPosition ? "Parse error on line " + (l + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (S == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
1369
+ text: h.match,
1370
+ token: this.terminals_[S] || S,
1371
+ line: h.yylineno,
1372
+ loc: v,
1373
+ expected: j
1374
+ });
1375
+ }
1376
+ if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
1377
+ switch (T[0]) {
1378
+ case 1:
1379
+ n.push(S), a.push(h.yytext), o.push(h.yylloc), n.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng, c = h.yytext, l = h.yylineno, v = h.yylloc, d > 0 && d--);
1380
+ break;
1381
+ case 2:
1382
+ if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
1383
+ first_line: o[o.length - (k || 1)].first_line,
1384
+ last_line: o[o.length - 1].last_line,
1385
+ first_column: o[o.length - (k || 1)].first_column,
1386
+ last_column: o[o.length - 1].last_column
1387
+ }, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
1388
+ c,
1389
+ u,
1390
+ l,
1391
+ g.yy,
1392
+ T[1],
1393
+ a,
1394
+ o
1395
+ ].concat(m)), E !== void 0) return E;
1396
+ k && (n = n.slice(0, -1 * k * 2), a = a.slice(0, -1 * k), o = o.slice(0, -1 * k)), n.push(this.productions_[T[1]][0]), a.push(D.$), o.push(D._$), A = s[n[n.length - 2]][n[n.length - 1]], n.push(A);
1397
+ break;
1398
+ case 3: return !0;
1399
+ }
1400
+ }
1401
+ return !0;
1402
+ }, "parse")
1403
+ };
1404
+ oe.lexer = /* @__PURE__ */ (function() {
1405
+ return {
1406
+ EOF: 1,
1407
+ parseError: /* @__PURE__ */ __name(function(e, t) {
1408
+ if (this.yy.parser) this.yy.parser.parseError(e, t);
1409
+ else throw Error(e);
1410
+ }, "parseError"),
1411
+ setInput: /* @__PURE__ */ __name(function(e, t) {
1412
+ return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
1413
+ first_line: 1,
1414
+ first_column: 0,
1415
+ last_line: 1,
1416
+ last_column: 0
1417
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1418
+ }, "setInput"),
1419
+ input: /* @__PURE__ */ __name(function() {
1420
+ var e = this._input[0];
1421
+ return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
1422
+ }, "input"),
1423
+ unput: /* @__PURE__ */ __name(function(e) {
1424
+ var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
1425
+ this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
1426
+ var r = this.match.split(/(?:\r\n?|\n)/g);
1427
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), n.length - 1 && (this.yylineno -= n.length - 1);
1428
+ var i = this.yylloc.range;
1429
+ return this.yylloc = {
1430
+ first_line: this.yylloc.first_line,
1431
+ last_line: this.yylineno + 1,
1432
+ first_column: this.yylloc.first_column,
1433
+ last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
1434
+ }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
1435
+ }, "unput"),
1436
+ more: /* @__PURE__ */ __name(function() {
1437
+ return this._more = !0, this;
1438
+ }, "more"),
1439
+ reject: /* @__PURE__ */ __name(function() {
1440
+ if (this.options.backtrack_lexer) this._backtrack = !0;
1441
+ else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
1442
+ text: "",
1443
+ token: null,
1444
+ line: this.yylineno
1445
+ });
1446
+ return this;
1447
+ }, "reject"),
1448
+ less: /* @__PURE__ */ __name(function(e) {
1449
+ this.unput(this.match.slice(e));
1450
+ }, "less"),
1451
+ pastInput: /* @__PURE__ */ __name(function() {
1452
+ var e = this.matched.substr(0, this.matched.length - this.match.length);
1453
+ return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
1454
+ }, "pastInput"),
1455
+ upcomingInput: /* @__PURE__ */ __name(function() {
1456
+ var e = this.match;
1457
+ return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
1458
+ }, "upcomingInput"),
1459
+ showPosition: /* @__PURE__ */ __name(function() {
1460
+ var e = this.pastInput(), t = Array(e.length + 1).join("-");
1461
+ return e + this.upcomingInput() + "\n" + t + "^";
1462
+ }, "showPosition"),
1463
+ test_match: /* @__PURE__ */ __name(function(e, t) {
1464
+ var n, r, i;
1465
+ if (this.options.backtrack_lexer && (i = {
1466
+ yylineno: this.yylineno,
1467
+ yylloc: {
1468
+ first_line: this.yylloc.first_line,
1469
+ last_line: this.last_line,
1470
+ first_column: this.yylloc.first_column,
1471
+ last_column: this.yylloc.last_column
1472
+ },
1473
+ yytext: this.yytext,
1474
+ match: this.match,
1475
+ matches: this.matches,
1476
+ matched: this.matched,
1477
+ yyleng: this.yyleng,
1478
+ offset: this.offset,
1479
+ _more: this._more,
1480
+ _input: this._input,
1481
+ yy: this.yy,
1482
+ conditionStack: this.conditionStack.slice(0),
1483
+ done: this.done
1484
+ }, this.options.ranges && (i.yylloc.range = this.yylloc.range.slice(0))), r = e[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
1485
+ first_line: this.yylloc.last_line,
1486
+ last_line: this.yylineno + 1,
1487
+ first_column: this.yylloc.last_column,
1488
+ last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
1489
+ }, this.yytext += e[0], this.match += e[0], this.matches = e, 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(e[0].length), this.matched += e[0], n = this.performAction.call(this, this.yy, this, t, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n) return n;
1490
+ if (this._backtrack) {
1491
+ for (var a in i) this[a] = i[a];
1492
+ return !1;
1493
+ }
1494
+ return !1;
1495
+ }, "test_match"),
1496
+ next: /* @__PURE__ */ __name(function() {
1497
+ if (this.done) return this.EOF;
1498
+ this._input || (this.done = !0);
1499
+ var e, t, n, r;
1500
+ this._more || (this.yytext = "", this.match = "");
1501
+ for (var i = this._currentRules(), a = 0; a < i.length; a++) if (n = this._input.match(this.rules[i[a]]), n && (!t || n[0].length > t[0].length)) {
1502
+ if (t = n, r = a, this.options.backtrack_lexer) {
1503
+ if (e = this.test_match(n, i[a]), e !== !1) return e;
1504
+ if (this._backtrack) {
1505
+ t = !1;
1506
+ continue;
1507
+ } else return !1;
1508
+ } else if (!this.options.flex) break;
1509
+ }
1510
+ return t ? (e = this.test_match(t, i[r]), e === !1 ? !1 : e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
1511
+ text: "",
1512
+ token: null,
1513
+ line: this.yylineno
1514
+ });
1515
+ }, "next"),
1516
+ lex: /* @__PURE__ */ __name(function() {
1517
+ return this.next() || this.lex();
1518
+ }, "lex"),
1519
+ begin: /* @__PURE__ */ __name(function(e) {
1520
+ this.conditionStack.push(e);
1521
+ }, "begin"),
1522
+ popState: /* @__PURE__ */ __name(function() {
1523
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1524
+ }, "popState"),
1525
+ _currentRules: /* @__PURE__ */ __name(function() {
1526
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1527
+ }, "_currentRules"),
1528
+ topState: /* @__PURE__ */ __name(function(e) {
1529
+ return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
1530
+ }, "topState"),
1531
+ pushState: /* @__PURE__ */ __name(function(e) {
1532
+ this.begin(e);
1533
+ }, "pushState"),
1534
+ stateStackSize: /* @__PURE__ */ __name(function() {
1535
+ return this.conditionStack.length;
1536
+ }, "stateStackSize"),
1537
+ options: {},
1538
+ performAction: /* @__PURE__ */ __name(function(e, t, n, r) {
1539
+ switch (n) {
1540
+ case 0: return 62;
1541
+ case 1: return 63;
1542
+ case 2: return 64;
1543
+ case 3: return 65;
1544
+ case 4: break;
1545
+ case 5: break;
1546
+ case 6: return this.begin("acc_title"), 33;
1547
+ case 7: return this.popState(), "acc_title_value";
1548
+ case 8: return this.begin("acc_descr"), 35;
1549
+ case 9: return this.popState(), "acc_descr_value";
1550
+ case 10:
1551
+ this.begin("acc_descr_multiline");
1552
+ break;
1553
+ case 11:
1554
+ this.popState();
1555
+ break;
1556
+ case 12: return "acc_descr_multiline_value";
1557
+ case 13: return 8;
1558
+ case 14: break;
1559
+ case 15: return 7;
1560
+ case 16: return 7;
1561
+ case 17: return "EDGE_STATE";
1562
+ case 18:
1563
+ this.begin("callback_name");
1564
+ break;
1565
+ case 19:
1566
+ this.popState();
1567
+ break;
1568
+ case 20:
1569
+ this.popState(), this.begin("callback_args");
1570
+ break;
1571
+ case 21: return 79;
1572
+ case 22:
1573
+ this.popState();
1574
+ break;
1575
+ case 23: return 80;
1576
+ case 24:
1577
+ this.popState();
1578
+ break;
1579
+ case 25: return "STR";
1580
+ case 26:
1581
+ this.begin("string");
1582
+ break;
1583
+ case 27: return 82;
1584
+ case 28: return 57;
1585
+ case 29: return this.begin("namespace"), 42;
1586
+ case 30: return this.popState(), 8;
1587
+ case 31: break;
1588
+ case 32: return this.begin("namespace-body"), 39;
1589
+ case 33: return this.popState(), 41;
1590
+ case 34: return "EOF_IN_STRUCT";
1591
+ case 35: return 8;
1592
+ case 36: break;
1593
+ case 37: return "EDGE_STATE";
1594
+ case 38: return this.begin("class"), 46;
1595
+ case 39: return this.popState(), 8;
1596
+ case 40: break;
1597
+ case 41: return this.popState(), this.popState(), 41;
1598
+ case 42: return this.begin("class-body"), 39;
1599
+ case 43: return this.popState(), 41;
1600
+ case 44: return "EOF_IN_STRUCT";
1601
+ case 45: return "EDGE_STATE";
1602
+ case 46: return "OPEN_IN_STRUCT";
1603
+ case 47: break;
1604
+ case 48: return "MEMBER";
1605
+ case 49: return 83;
1606
+ case 50: return 75;
1607
+ case 51: return 76;
1608
+ case 52: return 78;
1609
+ case 53: return 54;
1610
+ case 54: return 56;
1611
+ case 55: return 49;
1612
+ case 56: return 50;
1613
+ case 57: return 81;
1614
+ case 58:
1615
+ this.popState();
1616
+ break;
1617
+ case 59: return "GENERICTYPE";
1618
+ case 60:
1619
+ this.begin("generic");
1620
+ break;
1621
+ case 61:
1622
+ this.popState();
1623
+ break;
1624
+ case 62: return "BQUOTE_STR";
1625
+ case 63:
1626
+ this.begin("bqstring");
1627
+ break;
1628
+ case 64: return 77;
1629
+ case 65: return 77;
1630
+ case 66: return 77;
1631
+ case 67: return 77;
1632
+ case 68: return 69;
1633
+ case 69: return 69;
1634
+ case 70: return 71;
1635
+ case 71: return 71;
1636
+ case 72: return 70;
1637
+ case 73: return 68;
1638
+ case 74: return 72;
1639
+ case 75: return 73;
1640
+ case 76: return 74;
1641
+ case 77: return 22;
1642
+ case 78: return 44;
1643
+ case 79: return 100;
1644
+ case 80: return 18;
1645
+ case 81: return "PLUS";
1646
+ case 82: return 87;
1647
+ case 83: return 61;
1648
+ case 84: return 89;
1649
+ case 85: return 89;
1650
+ case 86: return 90;
1651
+ case 87: return "EQUALS";
1652
+ case 88: return "EQUALS";
1653
+ case 89: return 60;
1654
+ case 90: return 12;
1655
+ case 91: return 14;
1656
+ case 92: return "PUNCTUATION";
1657
+ case 93: return 86;
1658
+ case 94: return 102;
1659
+ case 95: return 48;
1660
+ case 96: return 48;
1661
+ case 97: return 9;
1662
+ }
1663
+ }, "anonymous"),
1664
+ rules: [
1665
+ /^(?:.*direction\s+TB[^\n]*)/,
1666
+ /^(?:.*direction\s+BT[^\n]*)/,
1667
+ /^(?:.*direction\s+RL[^\n]*)/,
1668
+ /^(?:.*direction\s+LR[^\n]*)/,
1669
+ /^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,
1670
+ /^(?:%%[^\n]*(\r?\n)*)/,
1671
+ /^(?:accTitle\s*:\s*)/,
1672
+ /^(?:(?!\n||)*[^\n]*)/,
1673
+ /^(?:accDescr\s*:\s*)/,
1674
+ /^(?:(?!\n||)*[^\n]*)/,
1675
+ /^(?:accDescr\s*\{\s*)/,
1676
+ /^(?:[\}])/,
1677
+ /^(?:[^\}]*)/,
1678
+ /^(?:\s*(\r?\n)+)/,
1679
+ /^(?:\s+)/,
1680
+ /^(?:classDiagram-v2\b)/,
1681
+ /^(?:classDiagram\b)/,
1682
+ /^(?:\[\*\])/,
1683
+ /^(?:call[\s]+)/,
1684
+ /^(?:\([\s]*\))/,
1685
+ /^(?:\()/,
1686
+ /^(?:[^(]*)/,
1687
+ /^(?:\))/,
1688
+ /^(?:[^)]*)/,
1689
+ /^(?:["])/,
1690
+ /^(?:[^"]*)/,
1691
+ /^(?:["])/,
1692
+ /^(?:style\b)/,
1693
+ /^(?:classDef\b)/,
1694
+ /^(?:namespace\b)/,
1695
+ /^(?:\s*(\r?\n)+)/,
1696
+ /^(?:\s+)/,
1697
+ /^(?:[{])/,
1698
+ /^(?:[}])/,
1699
+ /^(?:$)/,
1700
+ /^(?:\s*(\r?\n)+)/,
1701
+ /^(?:\s+)/,
1702
+ /^(?:\[\*\])/,
1703
+ /^(?:class\b)/,
1704
+ /^(?:\s*(\r?\n)+)/,
1705
+ /^(?:\s+)/,
1706
+ /^(?:[}])/,
1707
+ /^(?:[{])/,
1708
+ /^(?:[}])/,
1709
+ /^(?:$)/,
1710
+ /^(?:\[\*\])/,
1711
+ /^(?:[{])/,
1712
+ /^(?:[\n])/,
1713
+ /^(?:[^{}\n]*)/,
1714
+ /^(?:cssClass\b)/,
1715
+ /^(?:callback\b)/,
1716
+ /^(?:link\b)/,
1717
+ /^(?:click\b)/,
1718
+ /^(?:note for\b)/,
1719
+ /^(?:note\b)/,
1720
+ /^(?:<<)/,
1721
+ /^(?:>>)/,
1722
+ /^(?:href\b)/,
1723
+ /^(?:[~])/,
1724
+ /^(?:[^~]*)/,
1725
+ /^(?:~)/,
1726
+ /^(?:[`])/,
1727
+ /^(?:[^`]+)/,
1728
+ /^(?:[`])/,
1729
+ /^(?:_self\b)/,
1730
+ /^(?:_blank\b)/,
1731
+ /^(?:_parent\b)/,
1732
+ /^(?:_top\b)/,
1733
+ /^(?:\s*<\|)/,
1734
+ /^(?:\s*\|>)/,
1735
+ /^(?:\s*>)/,
1736
+ /^(?:\s*<)/,
1737
+ /^(?:\s*\*)/,
1738
+ /^(?:\s*o\b)/,
1739
+ /^(?:\s*\(\))/,
1740
+ /^(?:--)/,
1741
+ /^(?:\.\.)/,
1742
+ /^(?::{1}[^:\n;]+)/,
1743
+ /^(?::{3})/,
1744
+ /^(?:-)/,
1745
+ /^(?:\.)/,
1746
+ /^(?:\+)/,
1747
+ /^(?::)/,
1748
+ /^(?:,)/,
1749
+ /^(?:#)/,
1750
+ /^(?:#)/,
1751
+ /^(?:%)/,
1752
+ /^(?:=)/,
1753
+ /^(?:=)/,
1754
+ /^(?:\w+)/,
1755
+ /^(?:\[)/,
1756
+ /^(?:\])/,
1757
+ /^(?:[!"#$%&'*+,-.`?\\/])/,
1758
+ /^(?:[0-9]+)/,
1759
+ /^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,
1760
+ /^(?:\s)/,
1761
+ /^(?:\s)/,
1762
+ /^(?:$)/
1763
+ ],
1764
+ conditions: {
1765
+ "namespace-body": {
1766
+ rules: [
1767
+ 26,
1768
+ 33,
1769
+ 34,
1770
+ 35,
1771
+ 36,
1772
+ 37,
1773
+ 38,
1774
+ 49,
1775
+ 50,
1776
+ 51,
1777
+ 52,
1778
+ 53,
1779
+ 54,
1780
+ 55,
1781
+ 56,
1782
+ 57,
1783
+ 60,
1784
+ 63,
1785
+ 64,
1786
+ 65,
1787
+ 66,
1788
+ 67,
1789
+ 68,
1790
+ 69,
1791
+ 70,
1792
+ 71,
1793
+ 72,
1794
+ 73,
1795
+ 74,
1796
+ 75,
1797
+ 76,
1798
+ 77,
1799
+ 78,
1800
+ 79,
1801
+ 80,
1802
+ 81,
1803
+ 86,
1804
+ 87,
1805
+ 88,
1806
+ 89,
1807
+ 90,
1808
+ 91,
1809
+ 92,
1810
+ 93,
1811
+ 94,
1812
+ 95,
1813
+ 97
1814
+ ],
1815
+ inclusive: !1
1816
+ },
1817
+ namespace: {
1818
+ rules: [
1819
+ 26,
1820
+ 29,
1821
+ 30,
1822
+ 31,
1823
+ 32,
1824
+ 49,
1825
+ 50,
1826
+ 51,
1827
+ 52,
1828
+ 53,
1829
+ 54,
1830
+ 55,
1831
+ 56,
1832
+ 57,
1833
+ 60,
1834
+ 63,
1835
+ 64,
1836
+ 65,
1837
+ 66,
1838
+ 67,
1839
+ 68,
1840
+ 69,
1841
+ 70,
1842
+ 71,
1843
+ 72,
1844
+ 73,
1845
+ 74,
1846
+ 75,
1847
+ 76,
1848
+ 77,
1849
+ 78,
1850
+ 79,
1851
+ 80,
1852
+ 81,
1853
+ 86,
1854
+ 87,
1855
+ 88,
1856
+ 89,
1857
+ 90,
1858
+ 91,
1859
+ 92,
1860
+ 93,
1861
+ 94,
1862
+ 95,
1863
+ 97
1864
+ ],
1865
+ inclusive: !1
1866
+ },
1867
+ "class-body": {
1868
+ rules: [
1869
+ 26,
1870
+ 43,
1871
+ 44,
1872
+ 45,
1873
+ 46,
1874
+ 47,
1875
+ 48,
1876
+ 49,
1877
+ 50,
1878
+ 51,
1879
+ 52,
1880
+ 53,
1881
+ 54,
1882
+ 55,
1883
+ 56,
1884
+ 57,
1885
+ 60,
1886
+ 63,
1887
+ 64,
1888
+ 65,
1889
+ 66,
1890
+ 67,
1891
+ 68,
1892
+ 69,
1893
+ 70,
1894
+ 71,
1895
+ 72,
1896
+ 73,
1897
+ 74,
1898
+ 75,
1899
+ 76,
1900
+ 77,
1901
+ 78,
1902
+ 79,
1903
+ 80,
1904
+ 81,
1905
+ 86,
1906
+ 87,
1907
+ 88,
1908
+ 89,
1909
+ 90,
1910
+ 91,
1911
+ 92,
1912
+ 93,
1913
+ 94,
1914
+ 95,
1915
+ 97
1916
+ ],
1917
+ inclusive: !1
1918
+ },
1919
+ class: {
1920
+ rules: [
1921
+ 26,
1922
+ 39,
1923
+ 40,
1924
+ 41,
1925
+ 42,
1926
+ 49,
1927
+ 50,
1928
+ 51,
1929
+ 52,
1930
+ 53,
1931
+ 54,
1932
+ 55,
1933
+ 56,
1934
+ 57,
1935
+ 60,
1936
+ 63,
1937
+ 64,
1938
+ 65,
1939
+ 66,
1940
+ 67,
1941
+ 68,
1942
+ 69,
1943
+ 70,
1944
+ 71,
1945
+ 72,
1946
+ 73,
1947
+ 74,
1948
+ 75,
1949
+ 76,
1950
+ 77,
1951
+ 78,
1952
+ 79,
1953
+ 80,
1954
+ 81,
1955
+ 86,
1956
+ 87,
1957
+ 88,
1958
+ 89,
1959
+ 90,
1960
+ 91,
1961
+ 92,
1962
+ 93,
1963
+ 94,
1964
+ 95,
1965
+ 97
1966
+ ],
1967
+ inclusive: !1
1968
+ },
1969
+ acc_descr_multiline: {
1970
+ rules: [
1971
+ 11,
1972
+ 12,
1973
+ 26,
1974
+ 49,
1975
+ 50,
1976
+ 51,
1977
+ 52,
1978
+ 53,
1979
+ 54,
1980
+ 55,
1981
+ 56,
1982
+ 57,
1983
+ 60,
1984
+ 63,
1985
+ 64,
1986
+ 65,
1987
+ 66,
1988
+ 67,
1989
+ 68,
1990
+ 69,
1991
+ 70,
1992
+ 71,
1993
+ 72,
1994
+ 73,
1995
+ 74,
1996
+ 75,
1997
+ 76,
1998
+ 77,
1999
+ 78,
2000
+ 79,
2001
+ 80,
2002
+ 81,
2003
+ 86,
2004
+ 87,
2005
+ 88,
2006
+ 89,
2007
+ 90,
2008
+ 91,
2009
+ 92,
2010
+ 93,
2011
+ 94,
2012
+ 95,
2013
+ 97
2014
+ ],
2015
+ inclusive: !1
2016
+ },
2017
+ acc_descr: {
2018
+ rules: [
2019
+ 9,
2020
+ 26,
2021
+ 49,
2022
+ 50,
2023
+ 51,
2024
+ 52,
2025
+ 53,
2026
+ 54,
2027
+ 55,
2028
+ 56,
2029
+ 57,
2030
+ 60,
2031
+ 63,
2032
+ 64,
2033
+ 65,
2034
+ 66,
2035
+ 67,
2036
+ 68,
2037
+ 69,
2038
+ 70,
2039
+ 71,
2040
+ 72,
2041
+ 73,
2042
+ 74,
2043
+ 75,
2044
+ 76,
2045
+ 77,
2046
+ 78,
2047
+ 79,
2048
+ 80,
2049
+ 81,
2050
+ 86,
2051
+ 87,
2052
+ 88,
2053
+ 89,
2054
+ 90,
2055
+ 91,
2056
+ 92,
2057
+ 93,
2058
+ 94,
2059
+ 95,
2060
+ 97
2061
+ ],
2062
+ inclusive: !1
2063
+ },
2064
+ acc_title: {
2065
+ rules: [
2066
+ 7,
2067
+ 26,
2068
+ 49,
2069
+ 50,
2070
+ 51,
2071
+ 52,
2072
+ 53,
2073
+ 54,
2074
+ 55,
2075
+ 56,
2076
+ 57,
2077
+ 60,
2078
+ 63,
2079
+ 64,
2080
+ 65,
2081
+ 66,
2082
+ 67,
2083
+ 68,
2084
+ 69,
2085
+ 70,
2086
+ 71,
2087
+ 72,
2088
+ 73,
2089
+ 74,
2090
+ 75,
2091
+ 76,
2092
+ 77,
2093
+ 78,
2094
+ 79,
2095
+ 80,
2096
+ 81,
2097
+ 86,
2098
+ 87,
2099
+ 88,
2100
+ 89,
2101
+ 90,
2102
+ 91,
2103
+ 92,
2104
+ 93,
2105
+ 94,
2106
+ 95,
2107
+ 97
2108
+ ],
2109
+ inclusive: !1
2110
+ },
2111
+ callback_args: {
2112
+ rules: [
2113
+ 22,
2114
+ 23,
2115
+ 26,
2116
+ 49,
2117
+ 50,
2118
+ 51,
2119
+ 52,
2120
+ 53,
2121
+ 54,
2122
+ 55,
2123
+ 56,
2124
+ 57,
2125
+ 60,
2126
+ 63,
2127
+ 64,
2128
+ 65,
2129
+ 66,
2130
+ 67,
2131
+ 68,
2132
+ 69,
2133
+ 70,
2134
+ 71,
2135
+ 72,
2136
+ 73,
2137
+ 74,
2138
+ 75,
2139
+ 76,
2140
+ 77,
2141
+ 78,
2142
+ 79,
2143
+ 80,
2144
+ 81,
2145
+ 86,
2146
+ 87,
2147
+ 88,
2148
+ 89,
2149
+ 90,
2150
+ 91,
2151
+ 92,
2152
+ 93,
2153
+ 94,
2154
+ 95,
2155
+ 97
2156
+ ],
2157
+ inclusive: !1
2158
+ },
2159
+ callback_name: {
2160
+ rules: [
2161
+ 19,
2162
+ 20,
2163
+ 21,
2164
+ 26,
2165
+ 49,
2166
+ 50,
2167
+ 51,
2168
+ 52,
2169
+ 53,
2170
+ 54,
2171
+ 55,
2172
+ 56,
2173
+ 57,
2174
+ 60,
2175
+ 63,
2176
+ 64,
2177
+ 65,
2178
+ 66,
2179
+ 67,
2180
+ 68,
2181
+ 69,
2182
+ 70,
2183
+ 71,
2184
+ 72,
2185
+ 73,
2186
+ 74,
2187
+ 75,
2188
+ 76,
2189
+ 77,
2190
+ 78,
2191
+ 79,
2192
+ 80,
2193
+ 81,
2194
+ 86,
2195
+ 87,
2196
+ 88,
2197
+ 89,
2198
+ 90,
2199
+ 91,
2200
+ 92,
2201
+ 93,
2202
+ 94,
2203
+ 95,
2204
+ 97
2205
+ ],
2206
+ inclusive: !1
2207
+ },
2208
+ href: {
2209
+ rules: [
2210
+ 26,
2211
+ 49,
2212
+ 50,
2213
+ 51,
2214
+ 52,
2215
+ 53,
2216
+ 54,
2217
+ 55,
2218
+ 56,
2219
+ 57,
2220
+ 60,
2221
+ 63,
2222
+ 64,
2223
+ 65,
2224
+ 66,
2225
+ 67,
2226
+ 68,
2227
+ 69,
2228
+ 70,
2229
+ 71,
2230
+ 72,
2231
+ 73,
2232
+ 74,
2233
+ 75,
2234
+ 76,
2235
+ 77,
2236
+ 78,
2237
+ 79,
2238
+ 80,
2239
+ 81,
2240
+ 86,
2241
+ 87,
2242
+ 88,
2243
+ 89,
2244
+ 90,
2245
+ 91,
2246
+ 92,
2247
+ 93,
2248
+ 94,
2249
+ 95,
2250
+ 97
2251
+ ],
2252
+ inclusive: !1
2253
+ },
2254
+ struct: {
2255
+ rules: [
2256
+ 26,
2257
+ 49,
2258
+ 50,
2259
+ 51,
2260
+ 52,
2261
+ 53,
2262
+ 54,
2263
+ 55,
2264
+ 56,
2265
+ 57,
2266
+ 60,
2267
+ 63,
2268
+ 64,
2269
+ 65,
2270
+ 66,
2271
+ 67,
2272
+ 68,
2273
+ 69,
2274
+ 70,
2275
+ 71,
2276
+ 72,
2277
+ 73,
2278
+ 74,
2279
+ 75,
2280
+ 76,
2281
+ 77,
2282
+ 78,
2283
+ 79,
2284
+ 80,
2285
+ 81,
2286
+ 86,
2287
+ 87,
2288
+ 88,
2289
+ 89,
2290
+ 90,
2291
+ 91,
2292
+ 92,
2293
+ 93,
2294
+ 94,
2295
+ 95,
2296
+ 97
2297
+ ],
2298
+ inclusive: !1
2299
+ },
2300
+ generic: {
2301
+ rules: [
2302
+ 26,
2303
+ 49,
2304
+ 50,
2305
+ 51,
2306
+ 52,
2307
+ 53,
2308
+ 54,
2309
+ 55,
2310
+ 56,
2311
+ 57,
2312
+ 58,
2313
+ 59,
2314
+ 60,
2315
+ 63,
2316
+ 64,
2317
+ 65,
2318
+ 66,
2319
+ 67,
2320
+ 68,
2321
+ 69,
2322
+ 70,
2323
+ 71,
2324
+ 72,
2325
+ 73,
2326
+ 74,
2327
+ 75,
2328
+ 76,
2329
+ 77,
2330
+ 78,
2331
+ 79,
2332
+ 80,
2333
+ 81,
2334
+ 86,
2335
+ 87,
2336
+ 88,
2337
+ 89,
2338
+ 90,
2339
+ 91,
2340
+ 92,
2341
+ 93,
2342
+ 94,
2343
+ 95,
2344
+ 97
2345
+ ],
2346
+ inclusive: !1
2347
+ },
2348
+ bqstring: {
2349
+ rules: [
2350
+ 26,
2351
+ 49,
2352
+ 50,
2353
+ 51,
2354
+ 52,
2355
+ 53,
2356
+ 54,
2357
+ 55,
2358
+ 56,
2359
+ 57,
2360
+ 60,
2361
+ 61,
2362
+ 62,
2363
+ 63,
2364
+ 64,
2365
+ 65,
2366
+ 66,
2367
+ 67,
2368
+ 68,
2369
+ 69,
2370
+ 70,
2371
+ 71,
2372
+ 72,
2373
+ 73,
2374
+ 74,
2375
+ 75,
2376
+ 76,
2377
+ 77,
2378
+ 78,
2379
+ 79,
2380
+ 80,
2381
+ 81,
2382
+ 86,
2383
+ 87,
2384
+ 88,
2385
+ 89,
2386
+ 90,
2387
+ 91,
2388
+ 92,
2389
+ 93,
2390
+ 94,
2391
+ 95,
2392
+ 97
2393
+ ],
2394
+ inclusive: !1
2395
+ },
2396
+ string: {
2397
+ rules: [
2398
+ 24,
2399
+ 25,
2400
+ 26,
2401
+ 49,
2402
+ 50,
2403
+ 51,
2404
+ 52,
2405
+ 53,
2406
+ 54,
2407
+ 55,
2408
+ 56,
2409
+ 57,
2410
+ 60,
2411
+ 63,
2412
+ 64,
2413
+ 65,
2414
+ 66,
2415
+ 67,
2416
+ 68,
2417
+ 69,
2418
+ 70,
2419
+ 71,
2420
+ 72,
2421
+ 73,
2422
+ 74,
2423
+ 75,
2424
+ 76,
2425
+ 77,
2426
+ 78,
2427
+ 79,
2428
+ 80,
2429
+ 81,
2430
+ 86,
2431
+ 87,
2432
+ 88,
2433
+ 89,
2434
+ 90,
2435
+ 91,
2436
+ 92,
2437
+ 93,
2438
+ 94,
2439
+ 95,
2440
+ 97
2441
+ ],
2442
+ inclusive: !1
2443
+ },
2444
+ INITIAL: {
2445
+ rules: [
2446
+ 0,
2447
+ 1,
2448
+ 2,
2449
+ 3,
2450
+ 4,
2451
+ 5,
2452
+ 6,
2453
+ 8,
2454
+ 10,
2455
+ 13,
2456
+ 14,
2457
+ 15,
2458
+ 16,
2459
+ 17,
2460
+ 18,
2461
+ 26,
2462
+ 27,
2463
+ 28,
2464
+ 29,
2465
+ 38,
2466
+ 49,
2467
+ 50,
2468
+ 51,
2469
+ 52,
2470
+ 53,
2471
+ 54,
2472
+ 55,
2473
+ 56,
2474
+ 57,
2475
+ 60,
2476
+ 63,
2477
+ 64,
2478
+ 65,
2479
+ 66,
2480
+ 67,
2481
+ 68,
2482
+ 69,
2483
+ 70,
2484
+ 71,
2485
+ 72,
2486
+ 73,
2487
+ 74,
2488
+ 75,
2489
+ 76,
2490
+ 77,
2491
+ 78,
2492
+ 79,
2493
+ 80,
2494
+ 81,
2495
+ 82,
2496
+ 83,
2497
+ 84,
2498
+ 85,
2499
+ 86,
2500
+ 87,
2501
+ 88,
2502
+ 89,
2503
+ 90,
2504
+ 91,
2505
+ 92,
2506
+ 93,
2507
+ 94,
2508
+ 95,
2509
+ 96,
2510
+ 97
2511
+ ],
2512
+ inclusive: !0
2513
+ }
2514
+ }
2515
+ };
2516
+ })();
2517
+ function $() {
2518
+ this.yy = {};
2519
+ }
2520
+ return __name($, "Parser"), $.prototype = oe, oe.Parser = $, new $();
2521
+ })();
2522
+ parser.parser = parser;
2523
+ var classDiagram_default = parser, visibilityValues = [
2524
+ "#",
2525
+ "+",
2526
+ "~",
2527
+ "-",
2528
+ ""
2529
+ ], ClassMember = class {
2530
+ static #e = __name(this, "ClassMember");
2531
+ constructor(e, t) {
2532
+ this.memberType = t, this.visibility = "", this.classifier = "", this.text = "";
2533
+ let n = sanitizeText(e, getConfig2());
2534
+ this.parseMember(n);
2535
+ }
2536
+ getDisplayDetails() {
2537
+ let e = this.visibility + parseGenericTypes(this.id);
2538
+ this.memberType === "method" && (e += `(${parseGenericTypes(this.parameters.trim())})`, this.returnType && (e += " : " + parseGenericTypes(this.returnType))), e = e.trim();
2539
+ let t = this.parseClassifier();
2540
+ return {
2541
+ displayText: e,
2542
+ cssStyle: t
2543
+ };
2544
+ }
2545
+ parseMember(e) {
2546
+ let t = "";
2547
+ if (this.memberType === "method") {
2548
+ let n = /([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(e);
2549
+ if (n) {
2550
+ let e = n[1] ? n[1].trim() : "";
2551
+ if (visibilityValues.includes(e) && (this.visibility = e), this.id = n[2], this.parameters = n[3] ? n[3].trim() : "", t = n[4] ? n[4].trim() : "", this.returnType = n[5] ? n[5].trim() : "", t === "") {
2552
+ let e = this.returnType.substring(this.returnType.length - 1);
2553
+ /[$*]/.exec(e) && (t = e, this.returnType = this.returnType.substring(0, this.returnType.length - 1));
2554
+ }
2555
+ }
2556
+ } else {
2557
+ let n = e.length, r = e.substring(0, 1), i = e.substring(n - 1);
2558
+ visibilityValues.includes(r) && (this.visibility = r), /[$*]/.exec(i) && (t = i), this.id = e.substring(this.visibility === "" ? 0 : 1, t === "" ? n : n - 1);
2559
+ }
2560
+ this.classifier = t, this.id = this.id.startsWith(" ") ? " " + this.id.trim() : this.id.trim(), this.text = `${this.visibility ? "\\" + this.visibility : ""}${parseGenericTypes(this.id)}${this.memberType === "method" ? `(${parseGenericTypes(this.parameters)})${this.returnType ? " : " + parseGenericTypes(this.returnType) : ""}` : ""}`.replaceAll("<", "&lt;").replaceAll(">", "&gt;"), this.text.startsWith("\\&lt;") && (this.text = this.text.replace("\\&lt;", "~"));
2561
+ }
2562
+ parseClassifier() {
2563
+ switch (this.classifier) {
2564
+ case "*": return "font-style:italic;";
2565
+ case "$": return "text-decoration:underline;";
2566
+ default: return "";
2567
+ }
2568
+ }
2569
+ }, MERMAID_DOM_ID_PREFIX = "classId-", classCounter = 0, sanitizeText2 = /* @__PURE__ */ __name((e) => common_default.sanitizeText(e, getConfig2()), "sanitizeText"), ClassDB = class {
2570
+ constructor() {
2571
+ this.relations = [], this.classes = /* @__PURE__ */ new Map(), this.styleClasses = /* @__PURE__ */ new Map(), this.notes = [], this.interfaces = [], this.namespaces = /* @__PURE__ */ new Map(), this.namespaceCounter = 0, this.functions = [], this.lineType = {
2572
+ LINE: 0,
2573
+ DOTTED_LINE: 1
2574
+ }, this.relationType = {
2575
+ AGGREGATION: 0,
2576
+ EXTENSION: 1,
2577
+ COMPOSITION: 2,
2578
+ DEPENDENCY: 3,
2579
+ LOLLIPOP: 4
2580
+ }, this.setupToolTips = /* @__PURE__ */ __name((e) => {
2581
+ let t = select_default(".mermaidTooltip");
2582
+ (t._groups || t)[0][0] === null && (t = select_default("body").append("div").attr("class", "mermaidTooltip").style("opacity", 0)), select_default(e).select("svg").selectAll("g.node").on("mouseover", (e) => {
2583
+ let n = select_default(e.currentTarget);
2584
+ if (n.attr("title") === null) return;
2585
+ let r = this.getBoundingClientRect();
2586
+ t.transition().duration(200).style("opacity", ".9"), t.text(n.attr("title")).style("left", window.scrollX + r.left + (r.right - r.left) / 2 + "px").style("top", window.scrollY + r.top - 14 + document.body.scrollTop + "px"), t.html(t.html().replace(/&lt;br\/&gt;/g, "<br/>")), n.classed("hover", !0);
2587
+ }).on("mouseout", (e) => {
2588
+ t.transition().duration(500).style("opacity", 0), select_default(e.currentTarget).classed("hover", !1);
2589
+ });
2590
+ }, "setupToolTips"), this.direction = "TB", this.setAccTitle = setAccTitle, this.getAccTitle = getAccTitle, this.setAccDescription = setAccDescription, this.getAccDescription = getAccDescription, this.setDiagramTitle = setDiagramTitle, this.getDiagramTitle = getDiagramTitle, this.getConfig = /* @__PURE__ */ __name(() => getConfig2().class, "getConfig"), this.functions.push(this.setupToolTips.bind(this)), this.clear(), this.addRelation = this.addRelation.bind(this), this.addClassesToNamespace = this.addClassesToNamespace.bind(this), this.addNamespace = this.addNamespace.bind(this), this.setCssClass = this.setCssClass.bind(this), this.addMembers = this.addMembers.bind(this), this.addClass = this.addClass.bind(this), this.setClassLabel = this.setClassLabel.bind(this), this.addAnnotation = this.addAnnotation.bind(this), this.addMember = this.addMember.bind(this), this.cleanupLabel = this.cleanupLabel.bind(this), this.addNote = this.addNote.bind(this), this.defineClass = this.defineClass.bind(this), this.setDirection = this.setDirection.bind(this), this.setLink = this.setLink.bind(this), this.bindFunctions = this.bindFunctions.bind(this), this.clear = this.clear.bind(this), this.setTooltip = this.setTooltip.bind(this), this.setClickEvent = this.setClickEvent.bind(this), this.setCssStyle = this.setCssStyle.bind(this);
2591
+ }
2592
+ static #e = __name(this, "ClassDB");
2593
+ splitClassNameAndType(e) {
2594
+ let t = common_default.sanitizeText(e, getConfig2()), n = "", r = t;
2595
+ if (t.indexOf("~") > 0) {
2596
+ let e = t.split("~");
2597
+ r = sanitizeText2(e[0]), n = sanitizeText2(e[1]);
2598
+ }
2599
+ return {
2600
+ className: r,
2601
+ type: n
2602
+ };
2603
+ }
2604
+ setClassLabel(e, t) {
2605
+ let n = common_default.sanitizeText(e, getConfig2());
2606
+ t &&= sanitizeText2(t);
2607
+ let { className: r } = this.splitClassNameAndType(n);
2608
+ this.classes.get(r).label = t, this.classes.get(r).text = `${t}${this.classes.get(r).type ? `<${this.classes.get(r).type}>` : ""}`;
2609
+ }
2610
+ addClass(e) {
2611
+ let t = common_default.sanitizeText(e, getConfig2()), { className: n, type: r } = this.splitClassNameAndType(t);
2612
+ if (this.classes.has(n)) return;
2613
+ let i = common_default.sanitizeText(n, getConfig2());
2614
+ this.classes.set(i, {
2615
+ id: i,
2616
+ type: r,
2617
+ label: i,
2618
+ text: `${i}${r ? `&lt;${r}&gt;` : ""}`,
2619
+ shape: "classBox",
2620
+ cssClasses: "default",
2621
+ methods: [],
2622
+ members: [],
2623
+ annotations: [],
2624
+ styles: [],
2625
+ domId: MERMAID_DOM_ID_PREFIX + i + "-" + classCounter
2626
+ }), classCounter++;
2627
+ }
2628
+ addInterface(e, t) {
2629
+ let n = {
2630
+ id: `interface${this.interfaces.length}`,
2631
+ label: e,
2632
+ classId: t
2633
+ };
2634
+ this.interfaces.push(n);
2635
+ }
2636
+ lookUpDomId(e) {
2637
+ let t = common_default.sanitizeText(e, getConfig2());
2638
+ if (this.classes.has(t)) return this.classes.get(t).domId;
2639
+ throw Error("Class not found: " + t);
2640
+ }
2641
+ clear() {
2642
+ this.relations = [], this.classes = /* @__PURE__ */ new Map(), this.notes = [], this.interfaces = [], this.functions = [], this.functions.push(this.setupToolTips.bind(this)), this.namespaces = /* @__PURE__ */ new Map(), this.namespaceCounter = 0, this.direction = "TB", clear();
2643
+ }
2644
+ getClass(e) {
2645
+ return this.classes.get(e);
2646
+ }
2647
+ getClasses() {
2648
+ return this.classes;
2649
+ }
2650
+ getRelations() {
2651
+ return this.relations;
2652
+ }
2653
+ getNotes() {
2654
+ return this.notes;
2655
+ }
2656
+ addRelation(e) {
2657
+ log.debug("Adding relation: " + JSON.stringify(e));
2658
+ let t = [
2659
+ this.relationType.LOLLIPOP,
2660
+ this.relationType.AGGREGATION,
2661
+ this.relationType.COMPOSITION,
2662
+ this.relationType.DEPENDENCY,
2663
+ this.relationType.EXTENSION
2664
+ ];
2665
+ e.relation.type1 === this.relationType.LOLLIPOP && !t.includes(e.relation.type2) ? (this.addClass(e.id2), this.addInterface(e.id1, e.id2), e.id1 = `interface${this.interfaces.length - 1}`) : e.relation.type2 === this.relationType.LOLLIPOP && !t.includes(e.relation.type1) ? (this.addClass(e.id1), this.addInterface(e.id2, e.id1), e.id2 = `interface${this.interfaces.length - 1}`) : (this.addClass(e.id1), this.addClass(e.id2)), e.id1 = this.splitClassNameAndType(e.id1).className, e.id2 = this.splitClassNameAndType(e.id2).className, e.relationTitle1 = common_default.sanitizeText(e.relationTitle1.trim(), getConfig2()), e.relationTitle2 = common_default.sanitizeText(e.relationTitle2.trim(), getConfig2()), this.relations.push(e);
2666
+ }
2667
+ addAnnotation(e, t) {
2668
+ let n = this.splitClassNameAndType(e).className;
2669
+ this.classes.get(n).annotations.push(t);
2670
+ }
2671
+ addMember(e, t) {
2672
+ this.addClass(e);
2673
+ let n = this.splitClassNameAndType(e).className, r = this.classes.get(n);
2674
+ if (typeof t == "string") {
2675
+ let e = t.trim();
2676
+ e.startsWith("<<") && e.endsWith(">>") ? r.annotations.push(sanitizeText2(e.substring(2, e.length - 2))) : e.indexOf(")") > 0 ? r.methods.push(new ClassMember(e, "method")) : e && r.members.push(new ClassMember(e, "attribute"));
2677
+ }
2678
+ }
2679
+ addMembers(e, t) {
2680
+ Array.isArray(t) && (t.reverse(), t.forEach((t) => this.addMember(e, t)));
2681
+ }
2682
+ addNote(e, t) {
2683
+ let n = {
2684
+ id: `note${this.notes.length}`,
2685
+ class: t,
2686
+ text: e
2687
+ };
2688
+ this.notes.push(n);
2689
+ }
2690
+ cleanupLabel(e) {
2691
+ return e.startsWith(":") && (e = e.substring(1)), sanitizeText2(e.trim());
2692
+ }
2693
+ setCssClass(e, t) {
2694
+ e.split(",").forEach((e) => {
2695
+ let n = e;
2696
+ /\d/.exec(e[0]) && (n = MERMAID_DOM_ID_PREFIX + n);
2697
+ let r = this.classes.get(n);
2698
+ r && (r.cssClasses += " " + t);
2699
+ });
2700
+ }
2701
+ defineClass(e, t) {
2702
+ for (let n of e) {
2703
+ let e = this.styleClasses.get(n);
2704
+ e === void 0 && (e = {
2705
+ id: n,
2706
+ styles: [],
2707
+ textStyles: []
2708
+ }, this.styleClasses.set(n, e)), t && t.forEach((t) => {
2709
+ if (/color/.exec(t)) {
2710
+ let n = t.replace("fill", "bgFill");
2711
+ e.textStyles.push(n);
2712
+ }
2713
+ e.styles.push(t);
2714
+ }), this.classes.forEach((e) => {
2715
+ e.cssClasses.includes(n) && e.styles.push(...t.flatMap((e) => e.split(",")));
2716
+ });
2717
+ }
2718
+ }
2719
+ setTooltip(e, t) {
2720
+ e.split(",").forEach((e) => {
2721
+ t !== void 0 && (this.classes.get(e).tooltip = sanitizeText2(t));
2722
+ });
2723
+ }
2724
+ getTooltip(e, t) {
2725
+ return t && this.namespaces.has(t) ? this.namespaces.get(t).classes.get(e).tooltip : this.classes.get(e).tooltip;
2726
+ }
2727
+ setLink(e, n, r) {
2728
+ let i = getConfig2();
2729
+ e.split(",").forEach((e) => {
2730
+ let a = e;
2731
+ /\d/.exec(e[0]) && (a = MERMAID_DOM_ID_PREFIX + a);
2732
+ let o = this.classes.get(a);
2733
+ o && (o.link = utils_default.formatUrl(n, i), i.securityLevel === "sandbox" ? o.linkTarget = "_top" : typeof r == "string" ? o.linkTarget = sanitizeText2(r) : o.linkTarget = "_blank");
2734
+ }), this.setCssClass(e, "clickable");
2735
+ }
2736
+ setClickEvent(e, t, n) {
2737
+ e.split(",").forEach((e) => {
2738
+ this.setClickFunc(e, t, n), this.classes.get(e).haveCallback = !0;
2739
+ }), this.setCssClass(e, "clickable");
2740
+ }
2741
+ setClickFunc(e, n, r) {
2742
+ let i = common_default.sanitizeText(e, getConfig2());
2743
+ if (getConfig2().securityLevel !== "loose" || n === void 0) return;
2744
+ let a = i;
2745
+ if (this.classes.has(a)) {
2746
+ let e = this.lookUpDomId(a), i = [];
2747
+ if (typeof r == "string") {
2748
+ i = r.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
2749
+ for (let e = 0; e < i.length; e++) {
2750
+ let t = i[e].trim();
2751
+ t.startsWith("\"") && t.endsWith("\"") && (t = t.substr(1, t.length - 2)), i[e] = t;
2752
+ }
2753
+ }
2754
+ i.length === 0 && i.push(e), this.functions.push(() => {
2755
+ let r = document.querySelector(`[id="${e}"]`);
2756
+ r !== null && r.addEventListener("click", () => {
2757
+ utils_default.runFunc(n, ...i);
2758
+ }, !1);
2759
+ });
2760
+ }
2761
+ }
2762
+ bindFunctions(e) {
2763
+ this.functions.forEach((t) => {
2764
+ t(e);
2765
+ });
2766
+ }
2767
+ getDirection() {
2768
+ return this.direction;
2769
+ }
2770
+ setDirection(e) {
2771
+ this.direction = e;
2772
+ }
2773
+ addNamespace(e) {
2774
+ this.namespaces.has(e) || (this.namespaces.set(e, {
2775
+ id: e,
2776
+ classes: /* @__PURE__ */ new Map(),
2777
+ children: {},
2778
+ domId: MERMAID_DOM_ID_PREFIX + e + "-" + this.namespaceCounter
2779
+ }), this.namespaceCounter++);
2780
+ }
2781
+ getNamespace(e) {
2782
+ return this.namespaces.get(e);
2783
+ }
2784
+ getNamespaces() {
2785
+ return this.namespaces;
2786
+ }
2787
+ addClassesToNamespace(e, t) {
2788
+ if (this.namespaces.has(e)) for (let n of t) {
2789
+ let { className: t } = this.splitClassNameAndType(n);
2790
+ this.classes.get(t).parent = e, this.namespaces.get(e).classes.set(t, this.classes.get(t));
2791
+ }
2792
+ }
2793
+ setCssStyle(e, t) {
2794
+ let n = this.classes.get(e);
2795
+ if (!(!t || !n)) for (let e of t) e.includes(",") ? n.styles.push(...e.split(",")) : n.styles.push(e);
2796
+ }
2797
+ getArrowMarker(e) {
2798
+ let t;
2799
+ switch (e) {
2800
+ case 0:
2801
+ t = "aggregation";
2802
+ break;
2803
+ case 1:
2804
+ t = "extension";
2805
+ break;
2806
+ case 2:
2807
+ t = "composition";
2808
+ break;
2809
+ case 3:
2810
+ t = "dependency";
2811
+ break;
2812
+ case 4:
2813
+ t = "lollipop";
2814
+ break;
2815
+ default: t = "none";
2816
+ }
2817
+ return t;
2818
+ }
2819
+ getData() {
2820
+ let t = [], n = [], r = getConfig2();
2821
+ for (let e of this.namespaces.keys()) {
2822
+ let n = this.namespaces.get(e);
2823
+ if (n) {
2824
+ let e = {
2825
+ id: n.id,
2826
+ label: n.id,
2827
+ isGroup: !0,
2828
+ padding: r.class.padding ?? 16,
2829
+ shape: "rect",
2830
+ cssStyles: ["fill: none", "stroke: black"],
2831
+ look: r.look
2832
+ };
2833
+ t.push(e);
2834
+ }
2835
+ }
2836
+ for (let e of this.classes.keys()) {
2837
+ let n = this.classes.get(e);
2838
+ if (n) {
2839
+ let e = n;
2840
+ e.parentId = n.parent, e.look = r.look, t.push(e);
2841
+ }
2842
+ }
2843
+ let i = 0;
2844
+ for (let e of this.notes) {
2845
+ i++;
2846
+ let a = {
2847
+ id: e.id,
2848
+ label: e.text,
2849
+ isGroup: !1,
2850
+ shape: "note",
2851
+ padding: r.class.padding ?? 6,
2852
+ cssStyles: [
2853
+ "text-align: left",
2854
+ "white-space: nowrap",
2855
+ `fill: ${r.themeVariables.noteBkgColor}`,
2856
+ `stroke: ${r.themeVariables.noteBorderColor}`
2857
+ ],
2858
+ look: r.look
2859
+ };
2860
+ t.push(a);
2861
+ let o = this.classes.get(e.class)?.id ?? "";
2862
+ if (o) {
2863
+ let t = {
2864
+ id: `edgeNote${i}`,
2865
+ start: e.id,
2866
+ end: o,
2867
+ type: "normal",
2868
+ thickness: "normal",
2869
+ classes: "relation",
2870
+ arrowTypeStart: "none",
2871
+ arrowTypeEnd: "none",
2872
+ arrowheadStyle: "",
2873
+ labelStyle: [""],
2874
+ style: ["fill: none"],
2875
+ pattern: "dotted",
2876
+ look: r.look
2877
+ };
2878
+ n.push(t);
2879
+ }
2880
+ }
2881
+ for (let e of this.interfaces) {
2882
+ let n = {
2883
+ id: e.id,
2884
+ label: e.label,
2885
+ isGroup: !1,
2886
+ shape: "rect",
2887
+ cssStyles: ["opacity: 0;"],
2888
+ look: r.look
2889
+ };
2890
+ t.push(n);
2891
+ }
2892
+ i = 0;
2893
+ for (let t of this.relations) {
2894
+ i++;
2895
+ let a = {
2896
+ id: getEdgeId(t.id1, t.id2, {
2897
+ prefix: "id",
2898
+ counter: i
2899
+ }),
2900
+ start: t.id1,
2901
+ end: t.id2,
2902
+ type: "normal",
2903
+ label: t.title,
2904
+ labelpos: "c",
2905
+ thickness: "normal",
2906
+ classes: "relation",
2907
+ arrowTypeStart: this.getArrowMarker(t.relation.type1),
2908
+ arrowTypeEnd: this.getArrowMarker(t.relation.type2),
2909
+ startLabelRight: t.relationTitle1 === "none" ? "" : t.relationTitle1,
2910
+ endLabelLeft: t.relationTitle2 === "none" ? "" : t.relationTitle2,
2911
+ arrowheadStyle: "",
2912
+ labelStyle: ["display: inline-block"],
2913
+ style: t.style || "",
2914
+ pattern: t.relation.lineType == 1 ? "dashed" : "solid",
2915
+ look: r.look
2916
+ };
2917
+ n.push(a);
2918
+ }
2919
+ return {
2920
+ nodes: t,
2921
+ edges: n,
2922
+ other: {},
2923
+ config: r,
2924
+ direction: this.getDirection()
2925
+ };
2926
+ }
2927
+ }, styles_default = /* @__PURE__ */ __name((e) => `g.classGroup text {
2928
+ fill: ${e.nodeBorder || e.classText};
2929
+ stroke: none;
2930
+ font-family: ${e.fontFamily};
2931
+ font-size: 10px;
2932
+
2933
+ .title {
2934
+ font-weight: bolder;
2935
+ }
2936
+
2937
+ }
2938
+
2939
+ .nodeLabel, .edgeLabel {
2940
+ color: ${e.classText};
2941
+ }
2942
+ .edgeLabel .label rect {
2943
+ fill: ${e.mainBkg};
2944
+ }
2945
+ .label text {
2946
+ fill: ${e.classText};
2947
+ }
2948
+
2949
+ .labelBkg {
2950
+ background: ${e.mainBkg};
2951
+ }
2952
+ .edgeLabel .label span {
2953
+ background: ${e.mainBkg};
2954
+ }
2955
+
2956
+ .classTitle {
2957
+ font-weight: bolder;
2958
+ }
2959
+ .node rect,
2960
+ .node circle,
2961
+ .node ellipse,
2962
+ .node polygon,
2963
+ .node path {
2964
+ fill: ${e.mainBkg};
2965
+ stroke: ${e.nodeBorder};
2966
+ stroke-width: 1px;
2967
+ }
2968
+
2969
+
2970
+ .divider {
2971
+ stroke: ${e.nodeBorder};
2972
+ stroke-width: 1;
2973
+ }
2974
+
2975
+ g.clickable {
2976
+ cursor: pointer;
2977
+ }
2978
+
2979
+ g.classGroup rect {
2980
+ fill: ${e.mainBkg};
2981
+ stroke: ${e.nodeBorder};
2982
+ }
2983
+
2984
+ g.classGroup line {
2985
+ stroke: ${e.nodeBorder};
2986
+ stroke-width: 1;
2987
+ }
2988
+
2989
+ .classLabel .box {
2990
+ stroke: none;
2991
+ stroke-width: 0;
2992
+ fill: ${e.mainBkg};
2993
+ opacity: 0.5;
2994
+ }
2995
+
2996
+ .classLabel .label {
2997
+ fill: ${e.nodeBorder};
2998
+ font-size: 10px;
2999
+ }
3000
+
3001
+ .relation {
3002
+ stroke: ${e.lineColor};
3003
+ stroke-width: 1;
3004
+ fill: none;
3005
+ }
3006
+
3007
+ .dashed-line{
3008
+ stroke-dasharray: 3;
3009
+ }
3010
+
3011
+ .dotted-line{
3012
+ stroke-dasharray: 1 2;
3013
+ }
3014
+
3015
+ #compositionStart, .composition {
3016
+ fill: ${e.lineColor} !important;
3017
+ stroke: ${e.lineColor} !important;
3018
+ stroke-width: 1;
3019
+ }
3020
+
3021
+ #compositionEnd, .composition {
3022
+ fill: ${e.lineColor} !important;
3023
+ stroke: ${e.lineColor} !important;
3024
+ stroke-width: 1;
3025
+ }
3026
+
3027
+ #dependencyStart, .dependency {
3028
+ fill: ${e.lineColor} !important;
3029
+ stroke: ${e.lineColor} !important;
3030
+ stroke-width: 1;
3031
+ }
3032
+
3033
+ #dependencyStart, .dependency {
3034
+ fill: ${e.lineColor} !important;
3035
+ stroke: ${e.lineColor} !important;
3036
+ stroke-width: 1;
3037
+ }
3038
+
3039
+ #extensionStart, .extension {
3040
+ fill: transparent !important;
3041
+ stroke: ${e.lineColor} !important;
3042
+ stroke-width: 1;
3043
+ }
3044
+
3045
+ #extensionEnd, .extension {
3046
+ fill: transparent !important;
3047
+ stroke: ${e.lineColor} !important;
3048
+ stroke-width: 1;
3049
+ }
3050
+
3051
+ #aggregationStart, .aggregation {
3052
+ fill: transparent !important;
3053
+ stroke: ${e.lineColor} !important;
3054
+ stroke-width: 1;
3055
+ }
3056
+
3057
+ #aggregationEnd, .aggregation {
3058
+ fill: transparent !important;
3059
+ stroke: ${e.lineColor} !important;
3060
+ stroke-width: 1;
3061
+ }
3062
+
3063
+ #lollipopStart, .lollipop {
3064
+ fill: ${e.mainBkg} !important;
3065
+ stroke: ${e.lineColor} !important;
3066
+ stroke-width: 1;
3067
+ }
3068
+
3069
+ #lollipopEnd, .lollipop {
3070
+ fill: ${e.mainBkg} !important;
3071
+ stroke: ${e.lineColor} !important;
3072
+ stroke-width: 1;
3073
+ }
3074
+
3075
+ .edgeTerminals {
3076
+ font-size: 11px;
3077
+ line-height: initial;
3078
+ }
3079
+
3080
+ .classTitleText {
3081
+ text-anchor: middle;
3082
+ font-size: 18px;
3083
+ fill: ${e.textColor};
3084
+ }
3085
+ ${getIconStyles()}
3086
+ `, "getStyles"), classRenderer_v3_unified_default = {
3087
+ getClasses: /* @__PURE__ */ __name(function(e, t) {
3088
+ return t.db.getClasses();
3089
+ }, "getClasses"),
3090
+ draw: /* @__PURE__ */ __name(async function(e, r, i, a) {
3091
+ log.info("REF0:"), log.info("Drawing class diagram (v3)", r);
3092
+ let { securityLevel: o, state: s, layout: c } = getConfig2(), l = a.db.getData(), u = getDiagramElement(r, o);
3093
+ l.type = a.type, l.layoutAlgorithm = getRegisteredLayoutAlgorithm(c), l.nodeSpacing = s?.nodeSpacing || 50, l.rankSpacing = s?.rankSpacing || 50, l.markers = [
3094
+ "aggregation",
3095
+ "extension",
3096
+ "composition",
3097
+ "dependency",
3098
+ "lollipop"
3099
+ ], l.diagramId = r, await render(l, u), utils_default.insertTitle(u, "classDiagramTitleText", s?.titleTopMargin ?? 25, a.db.getDiagramTitle()), setupViewPortForSVG(u, 8, "classDiagram", s?.useMaxWidth ?? !0);
3100
+ }, "draw"),
3101
+ getDir: /* @__PURE__ */ __name((e, t = "TB") => {
3102
+ if (!e.doc) return t;
3103
+ let n = t;
3104
+ for (let t of e.doc) t.stmt === "dir" && (n = t.value);
3105
+ return n;
3106
+ }, "getDir")
3107
+ };
3108
+ export { styles_default as i, classDiagram_default as n, classRenderer_v3_unified_default as r, ClassDB as t };