@copilotkitnext/react 0.0.22-alpha.7 → 0.0.22-alpha.8

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 (236) hide show
  1. package/package.json +4 -4
  2. package/dist/KaTeX_AMS-Regular-CYEKBG2K.woff +0 -0
  3. package/dist/KaTeX_AMS-Regular-JKX5W2C4.ttf +0 -0
  4. package/dist/KaTeX_AMS-Regular-U6PRYMIZ.woff2 +0 -0
  5. package/dist/KaTeX_Caligraphic-Bold-5QL5CMTE.woff2 +0 -0
  6. package/dist/KaTeX_Caligraphic-Bold-WZ3QSGD3.woff +0 -0
  7. package/dist/KaTeX_Caligraphic-Bold-ZTS3R3HK.ttf +0 -0
  8. package/dist/KaTeX_Caligraphic-Regular-3LKEU76G.woff +0 -0
  9. package/dist/KaTeX_Caligraphic-Regular-A7XRTZ5Q.ttf +0 -0
  10. package/dist/KaTeX_Caligraphic-Regular-KX5MEWCF.woff2 +0 -0
  11. package/dist/KaTeX_Fraktur-Bold-2QVFK6NQ.woff2 +0 -0
  12. package/dist/KaTeX_Fraktur-Bold-T4SWXBMT.woff +0 -0
  13. package/dist/KaTeX_Fraktur-Bold-WGHVTYOR.ttf +0 -0
  14. package/dist/KaTeX_Fraktur-Regular-2PEIFJSJ.woff2 +0 -0
  15. package/dist/KaTeX_Fraktur-Regular-5U4OPH2X.ttf +0 -0
  16. package/dist/KaTeX_Fraktur-Regular-PQMHCIK6.woff +0 -0
  17. package/dist/KaTeX_Main-Bold-2GA4IZIN.woff +0 -0
  18. package/dist/KaTeX_Main-Bold-W5FBVCZM.ttf +0 -0
  19. package/dist/KaTeX_Main-Bold-YP5VVQRP.woff2 +0 -0
  20. package/dist/KaTeX_Main-BoldItalic-4P4C7HJH.woff +0 -0
  21. package/dist/KaTeX_Main-BoldItalic-N4V3DX7S.woff2 +0 -0
  22. package/dist/KaTeX_Main-BoldItalic-ODMLBJJQ.ttf +0 -0
  23. package/dist/KaTeX_Main-Italic-I43T2HSR.ttf +0 -0
  24. package/dist/KaTeX_Main-Italic-RELBIK7M.woff2 +0 -0
  25. package/dist/KaTeX_Main-Italic-SASNQFN2.woff +0 -0
  26. package/dist/KaTeX_Main-Regular-ARRPAO67.woff2 +0 -0
  27. package/dist/KaTeX_Main-Regular-P5I74A2A.woff +0 -0
  28. package/dist/KaTeX_Main-Regular-W74P5G27.ttf +0 -0
  29. package/dist/KaTeX_Math-BoldItalic-6EBV3DK5.woff +0 -0
  30. package/dist/KaTeX_Math-BoldItalic-K4WTGH3J.woff2 +0 -0
  31. package/dist/KaTeX_Math-BoldItalic-VB447A4D.ttf +0 -0
  32. package/dist/KaTeX_Math-Italic-6KGCHLFN.woff2 +0 -0
  33. package/dist/KaTeX_Math-Italic-KKK3USB2.woff +0 -0
  34. package/dist/KaTeX_Math-Italic-SON4MRCA.ttf +0 -0
  35. package/dist/KaTeX_SansSerif-Bold-RRNVJFFW.woff2 +0 -0
  36. package/dist/KaTeX_SansSerif-Bold-STQ6RXC7.ttf +0 -0
  37. package/dist/KaTeX_SansSerif-Bold-X5M5EMOD.woff +0 -0
  38. package/dist/KaTeX_SansSerif-Italic-HMPFTM52.woff2 +0 -0
  39. package/dist/KaTeX_SansSerif-Italic-PSN4QKYX.woff +0 -0
  40. package/dist/KaTeX_SansSerif-Italic-WTBAZBGY.ttf +0 -0
  41. package/dist/KaTeX_SansSerif-Regular-2TL3USAE.ttf +0 -0
  42. package/dist/KaTeX_SansSerif-Regular-OQCII6EP.woff +0 -0
  43. package/dist/KaTeX_SansSerif-Regular-XIQ62X4E.woff2 +0 -0
  44. package/dist/KaTeX_Script-Regular-72OLXYNA.ttf +0 -0
  45. package/dist/KaTeX_Script-Regular-A5IFOEBS.woff +0 -0
  46. package/dist/KaTeX_Script-Regular-APUWIHLP.woff2 +0 -0
  47. package/dist/KaTeX_Size1-Regular-4HRHTS65.woff +0 -0
  48. package/dist/KaTeX_Size1-Regular-5LRUTBFT.woff2 +0 -0
  49. package/dist/KaTeX_Size1-Regular-7K6AASVL.ttf +0 -0
  50. package/dist/KaTeX_Size2-Regular-222HN3GT.ttf +0 -0
  51. package/dist/KaTeX_Size2-Regular-K5ZHAIS6.woff +0 -0
  52. package/dist/KaTeX_Size2-Regular-LELKET5D.woff2 +0 -0
  53. package/dist/KaTeX_Size3-Regular-TLFPAHDE.woff +0 -0
  54. package/dist/KaTeX_Size3-Regular-UFCO6WCA.ttf +0 -0
  55. package/dist/KaTeX_Size3-Regular-WQRQ47UD.woff2 +0 -0
  56. package/dist/KaTeX_Size4-Regular-7PGNVPQK.ttf +0 -0
  57. package/dist/KaTeX_Size4-Regular-CDMV7U5C.woff2 +0 -0
  58. package/dist/KaTeX_Size4-Regular-PKMWZHNC.woff +0 -0
  59. package/dist/KaTeX_Typewriter-Regular-3F5K6SQ6.ttf +0 -0
  60. package/dist/KaTeX_Typewriter-Regular-MJMFSK64.woff +0 -0
  61. package/dist/KaTeX_Typewriter-Regular-VBYJ4NRC.woff2 +0 -0
  62. package/dist/angular-html-LD6QEAZE.mjs +0 -7
  63. package/dist/angular-html-LD6QEAZE.mjs.map +0 -1
  64. package/dist/angular-ts-FGK7I2F5.mjs +0 -37
  65. package/dist/angular-ts-FGK7I2F5.mjs.map +0 -1
  66. package/dist/angular-ts-XZTE5LQS.mjs +0 -37
  67. package/dist/angular-ts-XZTE5LQS.mjs.map +0 -1
  68. package/dist/apl-VB2EG5RZ.mjs +0 -22
  69. package/dist/apl-VB2EG5RZ.mjs.map +0 -1
  70. package/dist/architectureDiagram-VXUJARFQ-PPLKSFYC.mjs +0 -8712
  71. package/dist/architectureDiagram-VXUJARFQ-PPLKSFYC.mjs.map +0 -1
  72. package/dist/blade-EZDWULER.mjs +0 -26
  73. package/dist/blade-EZDWULER.mjs.map +0 -1
  74. package/dist/blade-HS4Z7O3Y.mjs +0 -26
  75. package/dist/blade-HS4Z7O3Y.mjs.map +0 -1
  76. package/dist/blockDiagram-VD42YOAC-7SIEWHYD.mjs +0 -3618
  77. package/dist/blockDiagram-VD42YOAC-7SIEWHYD.mjs.map +0 -1
  78. package/dist/c4Diagram-YG6GDRKO-G2UUBRHQ.mjs +0 -2495
  79. package/dist/c4Diagram-YG6GDRKO-G2UUBRHQ.mjs.map +0 -1
  80. package/dist/chunk-2BAFECUC.mjs +0 -28
  81. package/dist/chunk-2BAFECUC.mjs.map +0 -1
  82. package/dist/chunk-BF5LDW2L.mjs +0 -65
  83. package/dist/chunk-BF5LDW2L.mjs.map +0 -1
  84. package/dist/chunk-BUEC2HNL.mjs +0 -762
  85. package/dist/chunk-BUEC2HNL.mjs.map +0 -1
  86. package/dist/chunk-CRGJ2YCV.mjs +0 -109
  87. package/dist/chunk-CRGJ2YCV.mjs.map +0 -1
  88. package/dist/chunk-DKZXT4VQ.mjs +0 -19
  89. package/dist/chunk-DKZXT4VQ.mjs.map +0 -1
  90. package/dist/chunk-DYQXFOGA.mjs +0 -34
  91. package/dist/chunk-DYQXFOGA.mjs.map +0 -1
  92. package/dist/chunk-ENI667QL.mjs +0 -806
  93. package/dist/chunk-ENI667QL.mjs.map +0 -1
  94. package/dist/chunk-GEUZOPED.mjs +0 -1834
  95. package/dist/chunk-GEUZOPED.mjs.map +0 -1
  96. package/dist/chunk-GU7334FJ.mjs +0 -538
  97. package/dist/chunk-GU7334FJ.mjs.map +0 -1
  98. package/dist/chunk-HNKEYT4A.mjs +0 -4693
  99. package/dist/chunk-HNKEYT4A.mjs.map +0 -1
  100. package/dist/chunk-HTMHAYGC.mjs +0 -14
  101. package/dist/chunk-HTMHAYGC.mjs.map +0 -1
  102. package/dist/chunk-JRLFMJ6U.mjs +0 -1923
  103. package/dist/chunk-JRLFMJ6U.mjs.map +0 -1
  104. package/dist/chunk-JYRND4DC.mjs +0 -22
  105. package/dist/chunk-JYRND4DC.mjs.map +0 -1
  106. package/dist/chunk-KFEPUFID.mjs +0 -52
  107. package/dist/chunk-KFEPUFID.mjs.map +0 -1
  108. package/dist/chunk-M3UH7XZX.mjs +0 -6222
  109. package/dist/chunk-M3UH7XZX.mjs.map +0 -1
  110. package/dist/chunk-ND4RYWG7.mjs +0 -12
  111. package/dist/chunk-ND4RYWG7.mjs.map +0 -1
  112. package/dist/chunk-VLSLBZME.mjs +0 -51
  113. package/dist/chunk-VLSLBZME.mjs.map +0 -1
  114. package/dist/chunk-WJBV3P3K.mjs +0 -55
  115. package/dist/chunk-WJBV3P3K.mjs.map +0 -1
  116. package/dist/chunk-X2TQ2HDS.mjs +0 -44
  117. package/dist/chunk-X2TQ2HDS.mjs.map +0 -1
  118. package/dist/chunk-YIDZOZG3.mjs +0 -103
  119. package/dist/chunk-YIDZOZG3.mjs.map +0 -1
  120. package/dist/chunk-YLW7IP7V.mjs +0 -14525
  121. package/dist/chunk-YLW7IP7V.mjs.map +0 -1
  122. package/dist/classDiagram-2ON5EDUG-WUV4PTK5.mjs +0 -38
  123. package/dist/classDiagram-2ON5EDUG-WUV4PTK5.mjs.map +0 -1
  124. package/dist/classDiagram-v2-WZHVMYZB-J4QNVYPE.mjs +0 -38
  125. package/dist/classDiagram-v2-WZHVMYZB-J4QNVYPE.mjs.map +0 -1
  126. package/dist/cobol-PNTKRG5I.mjs +0 -17
  127. package/dist/cobol-PNTKRG5I.mjs.map +0 -1
  128. package/dist/crystal-BSMHK65A.mjs +0 -23
  129. package/dist/crystal-BSMHK65A.mjs.map +0 -1
  130. package/dist/dagre-6UL2VRFP-XN667C7N.mjs +0 -710
  131. package/dist/dagre-6UL2VRFP-XN667C7N.mjs.map +0 -1
  132. package/dist/diagram-PSM6KHXK-VA2CF5LZ.mjs +0 -538
  133. package/dist/diagram-PSM6KHXK-VA2CF5LZ.mjs.map +0 -1
  134. package/dist/diagram-QEK2KX5R-H3EHES33.mjs +0 -319
  135. package/dist/diagram-QEK2KX5R-H3EHES33.mjs.map +0 -1
  136. package/dist/diagram-S2PKOQOG-FOQYPB22.mjs +0 -231
  137. package/dist/diagram-S2PKOQOG-FOQYPB22.mjs.map +0 -1
  138. package/dist/edge-JOI74UJM.mjs +0 -19
  139. package/dist/edge-JOI74UJM.mjs.map +0 -1
  140. package/dist/elixir-FEL6DDPJ.mjs +0 -15
  141. package/dist/elixir-FEL6DDPJ.mjs.map +0 -1
  142. package/dist/erDiagram-Q2GNP2WA-IXNJSD2A.mjs +0 -1175
  143. package/dist/erDiagram-Q2GNP2WA-IXNJSD2A.mjs.map +0 -1
  144. package/dist/erb-Q2D6FWX3.mjs +0 -32
  145. package/dist/erb-Q2D6FWX3.mjs.map +0 -1
  146. package/dist/flowDiagram-NV44I4VS-ISKGEBMD.mjs +0 -2349
  147. package/dist/flowDiagram-NV44I4VS-ISKGEBMD.mjs.map +0 -1
  148. package/dist/ganttDiagram-LVOFAZNH-OAL7V7IR.mjs +0 -2344
  149. package/dist/ganttDiagram-LVOFAZNH-OAL7V7IR.mjs.map +0 -1
  150. package/dist/gitGraphDiagram-NY62KEGX-RKN2CCAZ.mjs +0 -1221
  151. package/dist/gitGraphDiagram-NY62KEGX-RKN2CCAZ.mjs.map +0 -1
  152. package/dist/glimmer-js-B32LCGFA.mjs +0 -19
  153. package/dist/glimmer-js-B32LCGFA.mjs.map +0 -1
  154. package/dist/glimmer-ts-4PHFAQCG.mjs +0 -19
  155. package/dist/glimmer-ts-4PHFAQCG.mjs.map +0 -1
  156. package/dist/hack-3ZNSL4KD.mjs +0 -17
  157. package/dist/hack-3ZNSL4KD.mjs.map +0 -1
  158. package/dist/handlebars-ICBC3AZK.mjs +0 -19
  159. package/dist/handlebars-ICBC3AZK.mjs.map +0 -1
  160. package/dist/html-BGY5P773.mjs +0 -6
  161. package/dist/html-BGY5P773.mjs.map +0 -1
  162. package/dist/html-derivative-3HGXHHFE.mjs +0 -7
  163. package/dist/html-derivative-3HGXHHFE.mjs.map +0 -1
  164. package/dist/index.css +0 -2385
  165. package/dist/index.css.map +0 -1
  166. package/dist/infoDiagram-F6ZHWCRC-Z7KMJJ45.mjs +0 -49
  167. package/dist/infoDiagram-F6ZHWCRC-Z7KMJJ45.mjs.map +0 -1
  168. package/dist/jinja-WL6HNMB5.mjs +0 -22
  169. package/dist/jinja-WL6HNMB5.mjs.map +0 -1
  170. package/dist/journeyDiagram-XKPGCS4Q-BMTOBHZ4.mjs +0 -1259
  171. package/dist/journeyDiagram-XKPGCS4Q-BMTOBHZ4.mjs.map +0 -1
  172. package/dist/kanban-definition-3W4ZIXB7-MVFRARF4.mjs +0 -1062
  173. package/dist/kanban-definition-3W4ZIXB7-MVFRARF4.mjs.map +0 -1
  174. package/dist/katex-4R42CMCB.mjs +0 -4
  175. package/dist/katex-4R42CMCB.mjs.map +0 -1
  176. package/dist/liquid-YS3YPW54.mjs +0 -19
  177. package/dist/liquid-YS3YPW54.mjs.map +0 -1
  178. package/dist/logo-mark-OHF64HAY.svg +0 -8
  179. package/dist/mdc-A66KLOT4.mjs +0 -20
  180. package/dist/mdc-A66KLOT4.mjs.map +0 -1
  181. package/dist/mermaid.core-4OWTNZSL.mjs +0 -1587
  182. package/dist/mermaid.core-4OWTNZSL.mjs.map +0 -1
  183. package/dist/mermaid.core-7AUE4M6E.mjs +0 -1587
  184. package/dist/mermaid.core-7AUE4M6E.mjs.map +0 -1
  185. package/dist/mindmap-definition-VGOIOE7T-7FMA2CPY.mjs +0 -1112
  186. package/dist/mindmap-definition-VGOIOE7T-7FMA2CPY.mjs.map +0 -1
  187. package/dist/mindmap-definition-VGOIOE7T-VNF7JZOY.mjs +0 -1112
  188. package/dist/mindmap-definition-VGOIOE7T-VNF7JZOY.mjs.map +0 -1
  189. package/dist/nim-HUBKBJHZ.mjs +0 -26
  190. package/dist/nim-HUBKBJHZ.mjs.map +0 -1
  191. package/dist/perl-QHAMWWQ5.mjs +0 -22
  192. package/dist/perl-QHAMWWQ5.mjs.map +0 -1
  193. package/dist/php-FS5GKSPN.mjs +0 -11
  194. package/dist/php-FS5GKSPN.mjs.map +0 -1
  195. package/dist/pieDiagram-ADFJNKIX-EER3WTCU.mjs +0 -200
  196. package/dist/pieDiagram-ADFJNKIX-EER3WTCU.mjs.map +0 -1
  197. package/dist/pug-WTY5FMEA.mjs +0 -17
  198. package/dist/pug-WTY5FMEA.mjs.map +0 -1
  199. package/dist/quadrantDiagram-AYHSOK5B-WQCIRJOK.mjs +0 -1344
  200. package/dist/quadrantDiagram-AYHSOK5B-WQCIRJOK.mjs.map +0 -1
  201. package/dist/razor-BAB7LFWZ.mjs +0 -17
  202. package/dist/razor-BAB7LFWZ.mjs.map +0 -1
  203. package/dist/requirementDiagram-UZGBJVZJ-RVM6Q2TT.mjs +0 -1179
  204. package/dist/requirementDiagram-UZGBJVZJ-RVM6Q2TT.mjs.map +0 -1
  205. package/dist/rst-AY7U27YM.mjs +0 -41
  206. package/dist/rst-AY7U27YM.mjs.map +0 -1
  207. package/dist/rst-Y2VLYMJI.mjs +0 -41
  208. package/dist/rst-Y2VLYMJI.mjs.map +0 -1
  209. package/dist/ruby-K4BNEYWG.mjs +0 -22
  210. package/dist/ruby-K4BNEYWG.mjs.map +0 -1
  211. package/dist/sankeyDiagram-TZEHDZUN-H7BVEXGO.mjs +0 -1230
  212. package/dist/sankeyDiagram-TZEHDZUN-H7BVEXGO.mjs.map +0 -1
  213. package/dist/sequenceDiagram-WL72ISMW-XBGZSOYI.mjs +0 -3885
  214. package/dist/sequenceDiagram-WL72ISMW-XBGZSOYI.mjs.map +0 -1
  215. package/dist/soy-5QMQV2KL.mjs +0 -15
  216. package/dist/soy-5QMQV2KL.mjs.map +0 -1
  217. package/dist/stateDiagram-FKZM4ZOC-WRIBVFSJ.mjs +0 -467
  218. package/dist/stateDiagram-FKZM4ZOC-WRIBVFSJ.mjs.map +0 -1
  219. package/dist/stateDiagram-v2-4FDKWEC3-SPDO7R6D.mjs +0 -37
  220. package/dist/stateDiagram-v2-4FDKWEC3-SPDO7R6D.mjs.map +0 -1
  221. package/dist/templ-VSARRSO2.mjs +0 -17
  222. package/dist/templ-VSARRSO2.mjs.map +0 -1
  223. package/dist/timeline-definition-IT6M3QCI-PX4A2RIH.mjs +0 -1226
  224. package/dist/timeline-definition-IT6M3QCI-PX4A2RIH.mjs.map +0 -1
  225. package/dist/ts-tags-YK3Q2LIW.mjs +0 -68
  226. package/dist/ts-tags-YK3Q2LIW.mjs.map +0 -1
  227. package/dist/twig-HNMWLN6H.mjs +0 -40
  228. package/dist/twig-HNMWLN6H.mjs.map +0 -1
  229. package/dist/vue-7OSX6ZY5.mjs +0 -10
  230. package/dist/vue-7OSX6ZY5.mjs.map +0 -1
  231. package/dist/vue-html-AQH2V2EU.mjs +0 -20
  232. package/dist/vue-html-AQH2V2EU.mjs.map +0 -1
  233. package/dist/vue-vine-GCYT2IGV.mjs +0 -29
  234. package/dist/vue-vine-GCYT2IGV.mjs.map +0 -1
  235. package/dist/xychartDiagram-PRI3JC2R-65KZQZDU.mjs +0 -1865
  236. package/dist/xychartDiagram-PRI3JC2R-65KZQZDU.mjs.map +0 -1
@@ -1,1834 +0,0 @@
1
- import { getIconStyles } from './chunk-A62SCAQY.mjs';
2
- import { getDiagramElement } from './chunk-7EWC2ACY.mjs';
3
- import { setupViewPortForSVG } from './chunk-2BAFECUC.mjs';
4
- import { getRegisteredLayoutAlgorithm, render } from './chunk-BF5LDW2L.mjs';
5
- import { utils_default, getEdgeId } from './chunk-GU7334FJ.mjs';
6
- import { sanitizeText, getConfig2, parseGenericTypes, setAccTitle, getAccTitle, setAccDescription, getAccDescription, setDiagramTitle, getDiagramTitle, common_default, clear } from './chunk-HNKEYT4A.mjs';
7
- import { __name, select_default, log } from './chunk-WHXHCOFP.mjs';
8
-
9
- // ../../node_modules/.pnpm/mermaid@11.12.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-B4BG7PRW.mjs
10
- var parser = function() {
11
- var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
12
- for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
13
- return o2;
14
- }, "o"), $V0 = [1, 18], $V1 = [1, 19], $V2 = [1, 20], $V3 = [1, 41], $V4 = [1, 42], $V5 = [1, 26], $V6 = [1, 24], $V7 = [1, 25], $V8 = [1, 32], $V9 = [1, 33], $Va = [1, 34], $Vb = [1, 45], $Vc = [1, 35], $Vd = [1, 36], $Ve = [1, 37], $Vf = [1, 38], $Vg = [1, 27], $Vh = [1, 28], $Vi = [1, 29], $Vj = [1, 30], $Vk = [1, 31], $Vl = [1, 44], $Vm = [1, 46], $Vn = [1, 43], $Vo = [1, 47], $Vp = [1, 9], $Vq = [1, 8, 9], $Vr = [1, 58], $Vs = [1, 59], $Vt = [1, 60], $Vu = [1, 61], $Vv = [1, 62], $Vw = [1, 63], $Vx = [1, 64], $Vy = [1, 8, 9, 41], $Vz = [1, 76], $VA = [1, 8, 9, 12, 13, 22, 39, 41, 44, 68, 69, 70, 71, 72, 73, 74, 79, 81], $VB = [1, 8, 9, 12, 13, 18, 20, 22, 39, 41, 44, 50, 60, 68, 69, 70, 71, 72, 73, 74, 79, 81, 86, 100, 102, 103], $VC = [13, 60, 86, 100, 102, 103], $VD = [13, 60, 73, 74, 86, 100, 102, 103], $VE = [13, 60, 68, 69, 70, 71, 72, 86, 100, 102, 103], $VF = [1, 100], $VG = [1, 117], $VH = [1, 113], $VI = [1, 109], $VJ = [1, 115], $VK = [1, 110], $VL = [1, 111], $VM = [1, 112], $VN = [1, 114], $VO = [1, 116], $VP = [22, 48, 60, 61, 82, 86, 87, 88, 89, 90], $VQ = [1, 8, 9, 39, 41, 44], $VR = [1, 8, 9, 22], $VS = [1, 145], $VT = [1, 8, 9, 61], $VU = [1, 8, 9, 22, 48, 60, 61, 82, 86, 87, 88, 89, 90];
15
- var parser2 = {
16
- trace: /* @__PURE__ */ __name(function trace() {
17
- }, "trace"),
18
- yy: {},
19
- symbols_: { "error": 2, "start": 3, "mermaidDoc": 4, "statements": 5, "graphConfig": 6, "CLASS_DIAGRAM": 7, "NEWLINE": 8, "EOF": 9, "statement": 10, "classLabel": 11, "SQS": 12, "STR": 13, "SQE": 14, "namespaceName": 15, "alphaNumToken": 16, "classLiteralName": 17, "DOT": 18, "className": 19, "GENERICTYPE": 20, "relationStatement": 21, "LABEL": 22, "namespaceStatement": 23, "classStatement": 24, "memberStatement": 25, "annotationStatement": 26, "clickStatement": 27, "styleStatement": 28, "cssClassStatement": 29, "noteStatement": 30, "classDefStatement": 31, "direction": 32, "acc_title": 33, "acc_title_value": 34, "acc_descr": 35, "acc_descr_value": 36, "acc_descr_multiline_value": 37, "namespaceIdentifier": 38, "STRUCT_START": 39, "classStatements": 40, "STRUCT_STOP": 41, "NAMESPACE": 42, "classIdentifier": 43, "STYLE_SEPARATOR": 44, "members": 45, "CLASS": 46, "emptyBody": 47, "SPACE": 48, "ANNOTATION_START": 49, "ANNOTATION_END": 50, "MEMBER": 51, "SEPARATOR": 52, "relation": 53, "NOTE_FOR": 54, "noteText": 55, "NOTE": 56, "CLASSDEF": 57, "classList": 58, "stylesOpt": 59, "ALPHA": 60, "COMMA": 61, "direction_tb": 62, "direction_bt": 63, "direction_rl": 64, "direction_lr": 65, "relationType": 66, "lineType": 67, "AGGREGATION": 68, "EXTENSION": 69, "COMPOSITION": 70, "DEPENDENCY": 71, "LOLLIPOP": 72, "LINE": 73, "DOTTED_LINE": 74, "CALLBACK": 75, "LINK": 76, "LINK_TARGET": 77, "CLICK": 78, "CALLBACK_NAME": 79, "CALLBACK_ARGS": 80, "HREF": 81, "STYLE": 82, "CSSCLASS": 83, "style": 84, "styleComponent": 85, "NUM": 86, "COLON": 87, "UNIT": 88, "BRKT": 89, "PCT": 90, "commentToken": 91, "textToken": 92, "graphCodeTokens": 93, "textNoTagsToken": 94, "TAGSTART": 95, "TAGEND": 96, "==": 97, "--": 98, "DEFAULT": 99, "MINUS": 100, "keywords": 101, "UNICODE_TEXT": 102, "BQUOTE_STR": 103, "$accept": 0, "$end": 1 },
20
- terminals_: { 2: "error", 7: "CLASS_DIAGRAM", 8: "NEWLINE", 9: "EOF", 12: "SQS", 13: "STR", 14: "SQE", 18: "DOT", 20: "GENERICTYPE", 22: "LABEL", 33: "acc_title", 34: "acc_title_value", 35: "acc_descr", 36: "acc_descr_value", 37: "acc_descr_multiline_value", 39: "STRUCT_START", 41: "STRUCT_STOP", 42: "NAMESPACE", 44: "STYLE_SEPARATOR", 46: "CLASS", 48: "SPACE", 49: "ANNOTATION_START", 50: "ANNOTATION_END", 51: "MEMBER", 52: "SEPARATOR", 54: "NOTE_FOR", 56: "NOTE", 57: "CLASSDEF", 60: "ALPHA", 61: "COMMA", 62: "direction_tb", 63: "direction_bt", 64: "direction_rl", 65: "direction_lr", 68: "AGGREGATION", 69: "EXTENSION", 70: "COMPOSITION", 71: "DEPENDENCY", 72: "LOLLIPOP", 73: "LINE", 74: "DOTTED_LINE", 75: "CALLBACK", 76: "LINK", 77: "LINK_TARGET", 78: "CLICK", 79: "CALLBACK_NAME", 80: "CALLBACK_ARGS", 81: "HREF", 82: "STYLE", 83: "CSSCLASS", 86: "NUM", 87: "COLON", 88: "UNIT", 89: "BRKT", 90: "PCT", 93: "graphCodeTokens", 95: "TAGSTART", 96: "TAGEND", 97: "==", 98: "--", 99: "DEFAULT", 100: "MINUS", 101: "keywords", 102: "UNICODE_TEXT", 103: "BQUOTE_STR" },
21
- productions_: [0, [3, 1], [3, 1], [4, 1], [6, 4], [5, 1], [5, 2], [5, 3], [11, 3], [15, 1], [15, 1], [15, 3], [15, 2], [19, 1], [19, 3], [19, 1], [19, 2], [19, 2], [19, 2], [10, 1], [10, 2], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 2], [10, 2], [10, 1], [23, 4], [23, 5], [38, 2], [40, 1], [40, 2], [40, 3], [24, 1], [24, 3], [24, 4], [24, 3], [24, 6], [43, 2], [43, 3], [47, 0], [47, 2], [47, 2], [26, 4], [45, 1], [45, 2], [25, 1], [25, 2], [25, 1], [25, 1], [21, 3], [21, 4], [21, 4], [21, 5], [30, 3], [30, 2], [31, 3], [58, 1], [58, 3], [32, 1], [32, 1], [32, 1], [32, 1], [53, 3], [53, 2], [53, 2], [53, 1], [66, 1], [66, 1], [66, 1], [66, 1], [66, 1], [67, 1], [67, 1], [27, 3], [27, 4], [27, 3], [27, 4], [27, 4], [27, 5], [27, 3], [27, 4], [27, 4], [27, 5], [27, 4], [27, 5], [27, 5], [27, 6], [28, 3], [29, 3], [59, 1], [59, 3], [84, 1], [84, 2], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [91, 1], [91, 1], [92, 1], [92, 1], [92, 1], [92, 1], [92, 1], [92, 1], [92, 1], [94, 1], [94, 1], [94, 1], [94, 1], [16, 1], [16, 1], [16, 1], [16, 1], [17, 1], [55, 1]],
22
- performAction: /* @__PURE__ */ __name(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
23
- var $0 = $$.length - 1;
24
- switch (yystate) {
25
- case 8:
26
- this.$ = $$[$0 - 1];
27
- break;
28
- case 9:
29
- case 10:
30
- case 13:
31
- case 15:
32
- this.$ = $$[$0];
33
- break;
34
- case 11:
35
- case 14:
36
- this.$ = $$[$0 - 2] + "." + $$[$0];
37
- break;
38
- case 12:
39
- case 16:
40
- this.$ = $$[$0 - 1] + $$[$0];
41
- break;
42
- case 17:
43
- case 18:
44
- this.$ = $$[$0 - 1] + "~" + $$[$0] + "~";
45
- break;
46
- case 19:
47
- yy.addRelation($$[$0]);
48
- break;
49
- case 20:
50
- $$[$0 - 1].title = yy.cleanupLabel($$[$0]);
51
- yy.addRelation($$[$0 - 1]);
52
- break;
53
- case 31:
54
- this.$ = $$[$0].trim();
55
- yy.setAccTitle(this.$);
56
- break;
57
- case 32:
58
- case 33:
59
- this.$ = $$[$0].trim();
60
- yy.setAccDescription(this.$);
61
- break;
62
- case 34:
63
- yy.addClassesToNamespace($$[$0 - 3], $$[$0 - 1]);
64
- break;
65
- case 35:
66
- yy.addClassesToNamespace($$[$0 - 4], $$[$0 - 1]);
67
- break;
68
- case 36:
69
- this.$ = $$[$0];
70
- yy.addNamespace($$[$0]);
71
- break;
72
- case 37:
73
- this.$ = [$$[$0]];
74
- break;
75
- case 38:
76
- this.$ = [$$[$0 - 1]];
77
- break;
78
- case 39:
79
- $$[$0].unshift($$[$0 - 2]);
80
- this.$ = $$[$0];
81
- break;
82
- case 41:
83
- yy.setCssClass($$[$0 - 2], $$[$0]);
84
- break;
85
- case 42:
86
- yy.addMembers($$[$0 - 3], $$[$0 - 1]);
87
- break;
88
- case 44:
89
- yy.setCssClass($$[$0 - 5], $$[$0 - 3]);
90
- yy.addMembers($$[$0 - 5], $$[$0 - 1]);
91
- break;
92
- case 45:
93
- this.$ = $$[$0];
94
- yy.addClass($$[$0]);
95
- break;
96
- case 46:
97
- this.$ = $$[$0 - 1];
98
- yy.addClass($$[$0 - 1]);
99
- yy.setClassLabel($$[$0 - 1], $$[$0]);
100
- break;
101
- case 50:
102
- yy.addAnnotation($$[$0], $$[$0 - 2]);
103
- break;
104
- case 51:
105
- case 64:
106
- this.$ = [$$[$0]];
107
- break;
108
- case 52:
109
- $$[$0].push($$[$0 - 1]);
110
- this.$ = $$[$0];
111
- break;
112
- case 53:
113
- break;
114
- case 54:
115
- yy.addMember($$[$0 - 1], yy.cleanupLabel($$[$0]));
116
- break;
117
- case 55:
118
- break;
119
- case 56:
120
- break;
121
- case 57:
122
- this.$ = { "id1": $$[$0 - 2], "id2": $$[$0], relation: $$[$0 - 1], relationTitle1: "none", relationTitle2: "none" };
123
- break;
124
- case 58:
125
- this.$ = { id1: $$[$0 - 3], id2: $$[$0], relation: $$[$0 - 1], relationTitle1: $$[$0 - 2], relationTitle2: "none" };
126
- break;
127
- case 59:
128
- this.$ = { id1: $$[$0 - 3], id2: $$[$0], relation: $$[$0 - 2], relationTitle1: "none", relationTitle2: $$[$0 - 1] };
129
- break;
130
- case 60:
131
- this.$ = { id1: $$[$0 - 4], id2: $$[$0], relation: $$[$0 - 2], relationTitle1: $$[$0 - 3], relationTitle2: $$[$0 - 1] };
132
- break;
133
- case 61:
134
- yy.addNote($$[$0], $$[$0 - 1]);
135
- break;
136
- case 62:
137
- yy.addNote($$[$0]);
138
- break;
139
- case 63:
140
- this.$ = $$[$0 - 2];
141
- yy.defineClass($$[$0 - 1], $$[$0]);
142
- break;
143
- case 65:
144
- this.$ = $$[$0 - 2].concat([$$[$0]]);
145
- break;
146
- case 66:
147
- yy.setDirection("TB");
148
- break;
149
- case 67:
150
- yy.setDirection("BT");
151
- break;
152
- case 68:
153
- yy.setDirection("RL");
154
- break;
155
- case 69:
156
- yy.setDirection("LR");
157
- break;
158
- case 70:
159
- this.$ = { type1: $$[$0 - 2], type2: $$[$0], lineType: $$[$0 - 1] };
160
- break;
161
- case 71:
162
- this.$ = { type1: "none", type2: $$[$0], lineType: $$[$0 - 1] };
163
- break;
164
- case 72:
165
- this.$ = { type1: $$[$0 - 1], type2: "none", lineType: $$[$0] };
166
- break;
167
- case 73:
168
- this.$ = { type1: "none", type2: "none", lineType: $$[$0] };
169
- break;
170
- case 74:
171
- this.$ = yy.relationType.AGGREGATION;
172
- break;
173
- case 75:
174
- this.$ = yy.relationType.EXTENSION;
175
- break;
176
- case 76:
177
- this.$ = yy.relationType.COMPOSITION;
178
- break;
179
- case 77:
180
- this.$ = yy.relationType.DEPENDENCY;
181
- break;
182
- case 78:
183
- this.$ = yy.relationType.LOLLIPOP;
184
- break;
185
- case 79:
186
- this.$ = yy.lineType.LINE;
187
- break;
188
- case 80:
189
- this.$ = yy.lineType.DOTTED_LINE;
190
- break;
191
- case 81:
192
- case 87:
193
- this.$ = $$[$0 - 2];
194
- yy.setClickEvent($$[$0 - 1], $$[$0]);
195
- break;
196
- case 82:
197
- case 88:
198
- this.$ = $$[$0 - 3];
199
- yy.setClickEvent($$[$0 - 2], $$[$0 - 1]);
200
- yy.setTooltip($$[$0 - 2], $$[$0]);
201
- break;
202
- case 83:
203
- this.$ = $$[$0 - 2];
204
- yy.setLink($$[$0 - 1], $$[$0]);
205
- break;
206
- case 84:
207
- this.$ = $$[$0 - 3];
208
- yy.setLink($$[$0 - 2], $$[$0 - 1], $$[$0]);
209
- break;
210
- case 85:
211
- this.$ = $$[$0 - 3];
212
- yy.setLink($$[$0 - 2], $$[$0 - 1]);
213
- yy.setTooltip($$[$0 - 2], $$[$0]);
214
- break;
215
- case 86:
216
- this.$ = $$[$0 - 4];
217
- yy.setLink($$[$0 - 3], $$[$0 - 2], $$[$0]);
218
- yy.setTooltip($$[$0 - 3], $$[$0 - 1]);
219
- break;
220
- case 89:
221
- this.$ = $$[$0 - 3];
222
- yy.setClickEvent($$[$0 - 2], $$[$0 - 1], $$[$0]);
223
- break;
224
- case 90:
225
- this.$ = $$[$0 - 4];
226
- yy.setClickEvent($$[$0 - 3], $$[$0 - 2], $$[$0 - 1]);
227
- yy.setTooltip($$[$0 - 3], $$[$0]);
228
- break;
229
- case 91:
230
- this.$ = $$[$0 - 3];
231
- yy.setLink($$[$0 - 2], $$[$0]);
232
- break;
233
- case 92:
234
- this.$ = $$[$0 - 4];
235
- yy.setLink($$[$0 - 3], $$[$0 - 1], $$[$0]);
236
- break;
237
- case 93:
238
- this.$ = $$[$0 - 4];
239
- yy.setLink($$[$0 - 3], $$[$0 - 1]);
240
- yy.setTooltip($$[$0 - 3], $$[$0]);
241
- break;
242
- case 94:
243
- this.$ = $$[$0 - 5];
244
- yy.setLink($$[$0 - 4], $$[$0 - 2], $$[$0]);
245
- yy.setTooltip($$[$0 - 4], $$[$0 - 1]);
246
- break;
247
- case 95:
248
- this.$ = $$[$0 - 2];
249
- yy.setCssStyle($$[$0 - 1], $$[$0]);
250
- break;
251
- case 96:
252
- yy.setCssClass($$[$0 - 1], $$[$0]);
253
- break;
254
- case 97:
255
- this.$ = [$$[$0]];
256
- break;
257
- case 98:
258
- $$[$0 - 2].push($$[$0]);
259
- this.$ = $$[$0 - 2];
260
- break;
261
- case 100:
262
- this.$ = $$[$0 - 1] + $$[$0];
263
- break;
264
- }
265
- }, "anonymous"),
266
- table: [{ 3: 1, 4: 2, 5: 3, 6: 4, 7: [1, 6], 10: 5, 16: 39, 17: 40, 19: 21, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 33: $V0, 35: $V1, 37: $V2, 38: 22, 42: $V3, 43: 23, 46: $V4, 49: $V5, 51: $V6, 52: $V7, 54: $V8, 56: $V9, 57: $Va, 60: $Vb, 62: $Vc, 63: $Vd, 64: $Ve, 65: $Vf, 75: $Vg, 76: $Vh, 78: $Vi, 82: $Vj, 83: $Vk, 86: $Vl, 100: $Vm, 102: $Vn, 103: $Vo }, { 1: [3] }, { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3] }, o($Vp, [2, 5], { 8: [1, 48] }), { 8: [1, 49] }, o($Vq, [2, 19], { 22: [1, 50] }), o($Vq, [2, 21]), o($Vq, [2, 22]), o($Vq, [2, 23]), o($Vq, [2, 24]), o($Vq, [2, 25]), o($Vq, [2, 26]), o($Vq, [2, 27]), o($Vq, [2, 28]), o($Vq, [2, 29]), o($Vq, [2, 30]), { 34: [1, 51] }, { 36: [1, 52] }, o($Vq, [2, 33]), o($Vq, [2, 53], { 53: 53, 66: 56, 67: 57, 13: [1, 54], 22: [1, 55], 68: $Vr, 69: $Vs, 70: $Vt, 71: $Vu, 72: $Vv, 73: $Vw, 74: $Vx }), { 39: [1, 65] }, o($Vy, [2, 40], { 39: [1, 67], 44: [1, 66] }), o($Vq, [2, 55]), o($Vq, [2, 56]), { 16: 68, 60: $Vb, 86: $Vl, 100: $Vm, 102: $Vn }, { 16: 39, 17: 40, 19: 69, 60: $Vb, 86: $Vl, 100: $Vm, 102: $Vn, 103: $Vo }, { 16: 39, 17: 40, 19: 70, 60: $Vb, 86: $Vl, 100: $Vm, 102: $Vn, 103: $Vo }, { 16: 39, 17: 40, 19: 71, 60: $Vb, 86: $Vl, 100: $Vm, 102: $Vn, 103: $Vo }, { 60: [1, 72] }, { 13: [1, 73] }, { 16: 39, 17: 40, 19: 74, 60: $Vb, 86: $Vl, 100: $Vm, 102: $Vn, 103: $Vo }, { 13: $Vz, 55: 75 }, { 58: 77, 60: [1, 78] }, o($Vq, [2, 66]), o($Vq, [2, 67]), o($Vq, [2, 68]), o($Vq, [2, 69]), o($VA, [2, 13], { 16: 39, 17: 40, 19: 80, 18: [1, 79], 20: [1, 81], 60: $Vb, 86: $Vl, 100: $Vm, 102: $Vn, 103: $Vo }), o($VA, [2, 15], { 20: [1, 82] }), { 15: 83, 16: 84, 17: 85, 60: $Vb, 86: $Vl, 100: $Vm, 102: $Vn, 103: $Vo }, { 16: 39, 17: 40, 19: 86, 60: $Vb, 86: $Vl, 100: $Vm, 102: $Vn, 103: $Vo }, o($VB, [2, 123]), o($VB, [2, 124]), o($VB, [2, 125]), o($VB, [2, 126]), o([1, 8, 9, 12, 13, 20, 22, 39, 41, 44, 68, 69, 70, 71, 72, 73, 74, 79, 81], [2, 127]), o($Vp, [2, 6], { 10: 5, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 19: 21, 38: 22, 43: 23, 16: 39, 17: 40, 5: 87, 33: $V0, 35: $V1, 37: $V2, 42: $V3, 46: $V4, 49: $V5, 51: $V6, 52: $V7, 54: $V8, 56: $V9, 57: $Va, 60: $Vb, 62: $Vc, 63: $Vd, 64: $Ve, 65: $Vf, 75: $Vg, 76: $Vh, 78: $Vi, 82: $Vj, 83: $Vk, 86: $Vl, 100: $Vm, 102: $Vn, 103: $Vo }), { 5: 88, 10: 5, 16: 39, 17: 40, 19: 21, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 33: $V0, 35: $V1, 37: $V2, 38: 22, 42: $V3, 43: 23, 46: $V4, 49: $V5, 51: $V6, 52: $V7, 54: $V8, 56: $V9, 57: $Va, 60: $Vb, 62: $Vc, 63: $Vd, 64: $Ve, 65: $Vf, 75: $Vg, 76: $Vh, 78: $Vi, 82: $Vj, 83: $Vk, 86: $Vl, 100: $Vm, 102: $Vn, 103: $Vo }, o($Vq, [2, 20]), o($Vq, [2, 31]), o($Vq, [2, 32]), { 13: [1, 90], 16: 39, 17: 40, 19: 89, 60: $Vb, 86: $Vl, 100: $Vm, 102: $Vn, 103: $Vo }, { 53: 91, 66: 56, 67: 57, 68: $Vr, 69: $Vs, 70: $Vt, 71: $Vu, 72: $Vv, 73: $Vw, 74: $Vx }, o($Vq, [2, 54]), { 67: 92, 73: $Vw, 74: $Vx }, o($VC, [2, 73], { 66: 93, 68: $Vr, 69: $Vs, 70: $Vt, 71: $Vu, 72: $Vv }), o($VD, [2, 74]), o($VD, [2, 75]), o($VD, [2, 76]), o($VD, [2, 77]), o($VD, [2, 78]), o($VE, [2, 79]), o($VE, [2, 80]), { 8: [1, 95], 24: 96, 40: 94, 43: 23, 46: $V4 }, { 16: 97, 60: $Vb, 86: $Vl, 100: $Vm, 102: $Vn }, { 41: [1, 99], 45: 98, 51: $VF }, { 50: [1, 101] }, { 13: [1, 102] }, { 13: [1, 103] }, { 79: [1, 104], 81: [1, 105] }, { 22: $VG, 48: $VH, 59: 106, 60: $VI, 82: $VJ, 84: 107, 85: 108, 86: $VK, 87: $VL, 88: $VM, 89: $VN, 90: $VO }, { 60: [1, 118] }, { 13: $Vz, 55: 119 }, o($Vq, [2, 62]), o($Vq, [2, 128]), { 22: $VG, 48: $VH, 59: 120, 60: $VI, 61: [1, 121], 82: $VJ, 84: 107, 85: 108, 86: $VK, 87: $VL, 88: $VM, 89: $VN, 90: $VO }, o($VP, [2, 64]), { 16: 39, 17: 40, 19: 122, 60: $Vb, 86: $Vl, 100: $Vm, 102: $Vn, 103: $Vo }, o($VA, [2, 16]), o($VA, [2, 17]), o($VA, [2, 18]), { 39: [2, 36] }, { 15: 124, 16: 84, 17: 85, 18: [1, 123], 39: [2, 9], 60: $Vb, 86: $Vl, 100: $Vm, 102: $Vn, 103: $Vo }, { 39: [2, 10] }, o($VQ, [2, 45], { 11: 125, 12: [1, 126] }), o($Vp, [2, 7]), { 9: [1, 127] }, o($VR, [2, 57]), { 16: 39, 17: 40, 19: 128, 60: $Vb, 86: $Vl, 100: $Vm, 102: $Vn, 103: $Vo }, { 13: [1, 130], 16: 39, 17: 40, 19: 129, 60: $Vb, 86: $Vl, 100: $Vm, 102: $Vn, 103: $Vo }, o($VC, [2, 72], { 66: 131, 68: $Vr, 69: $Vs, 70: $Vt, 71: $Vu, 72: $Vv }), o($VC, [2, 71]), { 41: [1, 132] }, { 24: 96, 40: 133, 43: 23, 46: $V4 }, { 8: [1, 134], 41: [2, 37] }, o($Vy, [2, 41], { 39: [1, 135] }), { 41: [1, 136] }, o($Vy, [2, 43]), { 41: [2, 51], 45: 137, 51: $VF }, { 16: 39, 17: 40, 19: 138, 60: $Vb, 86: $Vl, 100: $Vm, 102: $Vn, 103: $Vo }, o($Vq, [2, 81], { 13: [1, 139] }), o($Vq, [2, 83], { 13: [1, 141], 77: [1, 140] }), o($Vq, [2, 87], { 13: [1, 142], 80: [1, 143] }), { 13: [1, 144] }, o($Vq, [2, 95], { 61: $VS }), o($VT, [2, 97], { 85: 146, 22: $VG, 48: $VH, 60: $VI, 82: $VJ, 86: $VK, 87: $VL, 88: $VM, 89: $VN, 90: $VO }), o($VU, [2, 99]), o($VU, [2, 101]), o($VU, [2, 102]), o($VU, [2, 103]), o($VU, [2, 104]), o($VU, [2, 105]), o($VU, [2, 106]), o($VU, [2, 107]), o($VU, [2, 108]), o($VU, [2, 109]), o($Vq, [2, 96]), o($Vq, [2, 61]), o($Vq, [2, 63], { 61: $VS }), { 60: [1, 147] }, o($VA, [2, 14]), { 15: 148, 16: 84, 17: 85, 60: $Vb, 86: $Vl, 100: $Vm, 102: $Vn, 103: $Vo }, { 39: [2, 12] }, o($VQ, [2, 46]), { 13: [1, 149] }, { 1: [2, 4] }, o($VR, [2, 59]), o($VR, [2, 58]), { 16: 39, 17: 40, 19: 150, 60: $Vb, 86: $Vl, 100: $Vm, 102: $Vn, 103: $Vo }, o($VC, [2, 70]), o($Vq, [2, 34]), { 41: [1, 151] }, { 24: 96, 40: 152, 41: [2, 38], 43: 23, 46: $V4 }, { 45: 153, 51: $VF }, o($Vy, [2, 42]), { 41: [2, 52] }, o($Vq, [2, 50]), o($Vq, [2, 82]), o($Vq, [2, 84]), o($Vq, [2, 85], { 77: [1, 154] }), o($Vq, [2, 88]), o($Vq, [2, 89], { 13: [1, 155] }), o($Vq, [2, 91], { 13: [1, 157], 77: [1, 156] }), { 22: $VG, 48: $VH, 60: $VI, 82: $VJ, 84: 158, 85: 108, 86: $VK, 87: $VL, 88: $VM, 89: $VN, 90: $VO }, o($VU, [2, 100]), o($VP, [2, 65]), { 39: [2, 11] }, { 14: [1, 159] }, o($VR, [2, 60]), o($Vq, [2, 35]), { 41: [2, 39] }, { 41: [1, 160] }, o($Vq, [2, 86]), o($Vq, [2, 90]), o($Vq, [2, 92]), o($Vq, [2, 93], { 77: [1, 161] }), o($VT, [2, 98], { 85: 146, 22: $VG, 48: $VH, 60: $VI, 82: $VJ, 86: $VK, 87: $VL, 88: $VM, 89: $VN, 90: $VO }), o($VQ, [2, 8]), o($Vy, [2, 44]), o($Vq, [2, 94])],
267
- defaultActions: { 2: [2, 1], 3: [2, 2], 4: [2, 3], 83: [2, 36], 85: [2, 10], 124: [2, 12], 127: [2, 4], 137: [2, 52], 148: [2, 11], 152: [2, 39] },
268
- parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
269
- if (hash.recoverable) {
270
- this.trace(str);
271
- } else {
272
- var error = new Error(str);
273
- error.hash = hash;
274
- throw error;
275
- }
276
- }, "parseError"),
277
- parse: /* @__PURE__ */ __name(function parse(input) {
278
- var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, TERROR = 2, EOF = 1;
279
- var args = lstack.slice.call(arguments, 1);
280
- var lexer2 = Object.create(this.lexer);
281
- var sharedState = { yy: {} };
282
- for (var k in this.yy) {
283
- if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
284
- sharedState.yy[k] = this.yy[k];
285
- }
286
- }
287
- lexer2.setInput(input, sharedState.yy);
288
- sharedState.yy.lexer = lexer2;
289
- sharedState.yy.parser = this;
290
- if (typeof lexer2.yylloc == "undefined") {
291
- lexer2.yylloc = {};
292
- }
293
- var yyloc = lexer2.yylloc;
294
- lstack.push(yyloc);
295
- var ranges = lexer2.options && lexer2.options.ranges;
296
- if (typeof sharedState.yy.parseError === "function") {
297
- this.parseError = sharedState.yy.parseError;
298
- } else {
299
- this.parseError = Object.getPrototypeOf(this).parseError;
300
- }
301
- function popStack(n) {
302
- stack.length = stack.length - 2 * n;
303
- vstack.length = vstack.length - n;
304
- lstack.length = lstack.length - n;
305
- }
306
- __name(popStack, "popStack");
307
- function lex() {
308
- var token;
309
- token = tstack.pop() || lexer2.lex() || EOF;
310
- if (typeof token !== "number") {
311
- if (token instanceof Array) {
312
- tstack = token;
313
- token = tstack.pop();
314
- }
315
- token = self.symbols_[token] || token;
316
- }
317
- return token;
318
- }
319
- __name(lex, "lex");
320
- var symbol, state, action, r, yyval = {}, p, len, newState, expected;
321
- while (true) {
322
- state = stack[stack.length - 1];
323
- if (this.defaultActions[state]) {
324
- action = this.defaultActions[state];
325
- } else {
326
- if (symbol === null || typeof symbol == "undefined") {
327
- symbol = lex();
328
- }
329
- action = table[state] && table[state][symbol];
330
- }
331
- if (typeof action === "undefined" || !action.length || !action[0]) {
332
- var errStr = "";
333
- expected = [];
334
- for (p in table[state]) {
335
- if (this.terminals_[p] && p > TERROR) {
336
- expected.push("'" + this.terminals_[p] + "'");
337
- }
338
- }
339
- if (lexer2.showPosition) {
340
- errStr = "Parse error on line " + (yylineno + 1) + ":\n" + lexer2.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";
341
- } else {
342
- errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'");
343
- }
344
- this.parseError(errStr, {
345
- text: lexer2.match,
346
- token: this.terminals_[symbol] || symbol,
347
- line: lexer2.yylineno,
348
- loc: yyloc,
349
- expected
350
- });
351
- }
352
- if (action[0] instanceof Array && action.length > 1) {
353
- throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
354
- }
355
- switch (action[0]) {
356
- case 1:
357
- stack.push(symbol);
358
- vstack.push(lexer2.yytext);
359
- lstack.push(lexer2.yylloc);
360
- stack.push(action[1]);
361
- symbol = null;
362
- {
363
- yyleng = lexer2.yyleng;
364
- yytext = lexer2.yytext;
365
- yylineno = lexer2.yylineno;
366
- yyloc = lexer2.yylloc;
367
- }
368
- break;
369
- case 2:
370
- len = this.productions_[action[1]][1];
371
- yyval.$ = vstack[vstack.length - len];
372
- yyval._$ = {
373
- first_line: lstack[lstack.length - (len || 1)].first_line,
374
- last_line: lstack[lstack.length - 1].last_line,
375
- first_column: lstack[lstack.length - (len || 1)].first_column,
376
- last_column: lstack[lstack.length - 1].last_column
377
- };
378
- if (ranges) {
379
- yyval._$.range = [
380
- lstack[lstack.length - (len || 1)].range[0],
381
- lstack[lstack.length - 1].range[1]
382
- ];
383
- }
384
- r = this.performAction.apply(yyval, [
385
- yytext,
386
- yyleng,
387
- yylineno,
388
- sharedState.yy,
389
- action[1],
390
- vstack,
391
- lstack
392
- ].concat(args));
393
- if (typeof r !== "undefined") {
394
- return r;
395
- }
396
- if (len) {
397
- stack = stack.slice(0, -1 * len * 2);
398
- vstack = vstack.slice(0, -1 * len);
399
- lstack = lstack.slice(0, -1 * len);
400
- }
401
- stack.push(this.productions_[action[1]][0]);
402
- vstack.push(yyval.$);
403
- lstack.push(yyval._$);
404
- newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
405
- stack.push(newState);
406
- break;
407
- case 3:
408
- return true;
409
- }
410
- }
411
- return true;
412
- }, "parse")
413
- };
414
- var lexer = /* @__PURE__ */ function() {
415
- var lexer2 = {
416
- EOF: 1,
417
- parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
418
- if (this.yy.parser) {
419
- this.yy.parser.parseError(str, hash);
420
- } else {
421
- throw new Error(str);
422
- }
423
- }, "parseError"),
424
- // resets the lexer, sets new input
425
- setInput: /* @__PURE__ */ __name(function(input, yy) {
426
- this.yy = yy || this.yy || {};
427
- this._input = input;
428
- this._more = this._backtrack = this.done = false;
429
- this.yylineno = this.yyleng = 0;
430
- this.yytext = this.matched = this.match = "";
431
- this.conditionStack = ["INITIAL"];
432
- this.yylloc = {
433
- first_line: 1,
434
- first_column: 0,
435
- last_line: 1,
436
- last_column: 0
437
- };
438
- if (this.options.ranges) {
439
- this.yylloc.range = [0, 0];
440
- }
441
- this.offset = 0;
442
- return this;
443
- }, "setInput"),
444
- // consumes and returns one char from the input
445
- input: /* @__PURE__ */ __name(function() {
446
- var ch = this._input[0];
447
- this.yytext += ch;
448
- this.yyleng++;
449
- this.offset++;
450
- this.match += ch;
451
- this.matched += ch;
452
- var lines = ch.match(/(?:\r\n?|\n).*/g);
453
- if (lines) {
454
- this.yylineno++;
455
- this.yylloc.last_line++;
456
- } else {
457
- this.yylloc.last_column++;
458
- }
459
- if (this.options.ranges) {
460
- this.yylloc.range[1]++;
461
- }
462
- this._input = this._input.slice(1);
463
- return ch;
464
- }, "input"),
465
- // unshifts one char (or a string) into the input
466
- unput: /* @__PURE__ */ __name(function(ch) {
467
- var len = ch.length;
468
- var lines = ch.split(/(?:\r\n?|\n)/g);
469
- this._input = ch + this._input;
470
- this.yytext = this.yytext.substr(0, this.yytext.length - len);
471
- this.offset -= len;
472
- var oldLines = this.match.split(/(?:\r\n?|\n)/g);
473
- this.match = this.match.substr(0, this.match.length - 1);
474
- this.matched = this.matched.substr(0, this.matched.length - 1);
475
- if (lines.length - 1) {
476
- this.yylineno -= lines.length - 1;
477
- }
478
- var r = this.yylloc.range;
479
- this.yylloc = {
480
- first_line: this.yylloc.first_line,
481
- last_line: this.yylineno + 1,
482
- first_column: this.yylloc.first_column,
483
- last_column: lines ? (lines.length === oldLines.length ? this.yylloc.first_column : 0) + oldLines[oldLines.length - lines.length].length - lines[0].length : this.yylloc.first_column - len
484
- };
485
- if (this.options.ranges) {
486
- this.yylloc.range = [r[0], r[0] + this.yyleng - len];
487
- }
488
- this.yyleng = this.yytext.length;
489
- return this;
490
- }, "unput"),
491
- // When called from action, caches matched text and appends it on next action
492
- more: /* @__PURE__ */ __name(function() {
493
- this._more = true;
494
- return this;
495
- }, "more"),
496
- // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
497
- reject: /* @__PURE__ */ __name(function() {
498
- if (this.options.backtrack_lexer) {
499
- this._backtrack = true;
500
- } else {
501
- 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(), {
502
- text: "",
503
- token: null,
504
- line: this.yylineno
505
- });
506
- }
507
- return this;
508
- }, "reject"),
509
- // retain first n characters of the match
510
- less: /* @__PURE__ */ __name(function(n) {
511
- this.unput(this.match.slice(n));
512
- }, "less"),
513
- // displays already matched input, i.e. for error messages
514
- pastInput: /* @__PURE__ */ __name(function() {
515
- var past = this.matched.substr(0, this.matched.length - this.match.length);
516
- return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
517
- }, "pastInput"),
518
- // displays upcoming input, i.e. for error messages
519
- upcomingInput: /* @__PURE__ */ __name(function() {
520
- var next = this.match;
521
- if (next.length < 20) {
522
- next += this._input.substr(0, 20 - next.length);
523
- }
524
- return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
525
- }, "upcomingInput"),
526
- // displays the character position where the lexing error occurred, i.e. for error messages
527
- showPosition: /* @__PURE__ */ __name(function() {
528
- var pre = this.pastInput();
529
- var c = new Array(pre.length + 1).join("-");
530
- return pre + this.upcomingInput() + "\n" + c + "^";
531
- }, "showPosition"),
532
- // test the lexed token: return FALSE when not a match, otherwise return token
533
- test_match: /* @__PURE__ */ __name(function(match, indexed_rule) {
534
- var token, lines, backup;
535
- if (this.options.backtrack_lexer) {
536
- backup = {
537
- yylineno: this.yylineno,
538
- yylloc: {
539
- first_line: this.yylloc.first_line,
540
- last_line: this.last_line,
541
- first_column: this.yylloc.first_column,
542
- last_column: this.yylloc.last_column
543
- },
544
- yytext: this.yytext,
545
- match: this.match,
546
- matches: this.matches,
547
- matched: this.matched,
548
- yyleng: this.yyleng,
549
- offset: this.offset,
550
- _more: this._more,
551
- _input: this._input,
552
- yy: this.yy,
553
- conditionStack: this.conditionStack.slice(0),
554
- done: this.done
555
- };
556
- if (this.options.ranges) {
557
- backup.yylloc.range = this.yylloc.range.slice(0);
558
- }
559
- }
560
- lines = match[0].match(/(?:\r\n?|\n).*/g);
561
- if (lines) {
562
- this.yylineno += lines.length;
563
- }
564
- this.yylloc = {
565
- first_line: this.yylloc.last_line,
566
- last_line: this.yylineno + 1,
567
- first_column: this.yylloc.last_column,
568
- last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length
569
- };
570
- this.yytext += match[0];
571
- this.match += match[0];
572
- this.matches = match;
573
- this.yyleng = this.yytext.length;
574
- if (this.options.ranges) {
575
- this.yylloc.range = [this.offset, this.offset += this.yyleng];
576
- }
577
- this._more = false;
578
- this._backtrack = false;
579
- this._input = this._input.slice(match[0].length);
580
- this.matched += match[0];
581
- token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
582
- if (this.done && this._input) {
583
- this.done = false;
584
- }
585
- if (token) {
586
- return token;
587
- } else if (this._backtrack) {
588
- for (var k in backup) {
589
- this[k] = backup[k];
590
- }
591
- return false;
592
- }
593
- return false;
594
- }, "test_match"),
595
- // return next match in input
596
- next: /* @__PURE__ */ __name(function() {
597
- if (this.done) {
598
- return this.EOF;
599
- }
600
- if (!this._input) {
601
- this.done = true;
602
- }
603
- var token, match, tempMatch, index;
604
- if (!this._more) {
605
- this.yytext = "";
606
- this.match = "";
607
- }
608
- var rules = this._currentRules();
609
- for (var i = 0; i < rules.length; i++) {
610
- tempMatch = this._input.match(this.rules[rules[i]]);
611
- if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
612
- match = tempMatch;
613
- index = i;
614
- if (this.options.backtrack_lexer) {
615
- token = this.test_match(tempMatch, rules[i]);
616
- if (token !== false) {
617
- return token;
618
- } else if (this._backtrack) {
619
- match = false;
620
- continue;
621
- } else {
622
- return false;
623
- }
624
- } else if (!this.options.flex) {
625
- break;
626
- }
627
- }
628
- }
629
- if (match) {
630
- token = this.test_match(match, rules[index]);
631
- if (token !== false) {
632
- return token;
633
- }
634
- return false;
635
- }
636
- if (this._input === "") {
637
- return this.EOF;
638
- } else {
639
- return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
640
- text: "",
641
- token: null,
642
- line: this.yylineno
643
- });
644
- }
645
- }, "next"),
646
- // return next match that has a token
647
- lex: /* @__PURE__ */ __name(function lex() {
648
- var r = this.next();
649
- if (r) {
650
- return r;
651
- } else {
652
- return this.lex();
653
- }
654
- }, "lex"),
655
- // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
656
- begin: /* @__PURE__ */ __name(function begin(condition) {
657
- this.conditionStack.push(condition);
658
- }, "begin"),
659
- // pop the previously active lexer condition state off the condition stack
660
- popState: /* @__PURE__ */ __name(function popState() {
661
- var n = this.conditionStack.length - 1;
662
- if (n > 0) {
663
- return this.conditionStack.pop();
664
- } else {
665
- return this.conditionStack[0];
666
- }
667
- }, "popState"),
668
- // produce the lexer rule set which is active for the currently active lexer condition state
669
- _currentRules: /* @__PURE__ */ __name(function _currentRules() {
670
- if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
671
- return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
672
- } else {
673
- return this.conditions["INITIAL"].rules;
674
- }
675
- }, "_currentRules"),
676
- // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
677
- topState: /* @__PURE__ */ __name(function topState(n) {
678
- n = this.conditionStack.length - 1 - Math.abs(n || 0);
679
- if (n >= 0) {
680
- return this.conditionStack[n];
681
- } else {
682
- return "INITIAL";
683
- }
684
- }, "topState"),
685
- // alias for begin(condition)
686
- pushState: /* @__PURE__ */ __name(function pushState(condition) {
687
- this.begin(condition);
688
- }, "pushState"),
689
- // return the number of states currently on the stack
690
- stateStackSize: /* @__PURE__ */ __name(function stateStackSize() {
691
- return this.conditionStack.length;
692
- }, "stateStackSize"),
693
- options: {},
694
- performAction: /* @__PURE__ */ __name(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
695
- switch ($avoiding_name_collisions) {
696
- case 0:
697
- return 62;
698
- case 1:
699
- return 63;
700
- case 2:
701
- return 64;
702
- case 3:
703
- return 65;
704
- case 4:
705
- break;
706
- case 5:
707
- break;
708
- case 6:
709
- this.begin("acc_title");
710
- return 33;
711
- case 7:
712
- this.popState();
713
- return "acc_title_value";
714
- case 8:
715
- this.begin("acc_descr");
716
- return 35;
717
- case 9:
718
- this.popState();
719
- return "acc_descr_value";
720
- case 10:
721
- this.begin("acc_descr_multiline");
722
- break;
723
- case 11:
724
- this.popState();
725
- break;
726
- case 12:
727
- return "acc_descr_multiline_value";
728
- case 13:
729
- return 8;
730
- case 14:
731
- break;
732
- case 15:
733
- return 7;
734
- case 16:
735
- return 7;
736
- case 17:
737
- return "EDGE_STATE";
738
- case 18:
739
- this.begin("callback_name");
740
- break;
741
- case 19:
742
- this.popState();
743
- break;
744
- case 20:
745
- this.popState();
746
- this.begin("callback_args");
747
- break;
748
- case 21:
749
- return 79;
750
- case 22:
751
- this.popState();
752
- break;
753
- case 23:
754
- return 80;
755
- case 24:
756
- this.popState();
757
- break;
758
- case 25:
759
- return "STR";
760
- case 26:
761
- this.begin("string");
762
- break;
763
- case 27:
764
- return 82;
765
- case 28:
766
- return 57;
767
- case 29:
768
- this.begin("namespace");
769
- return 42;
770
- case 30:
771
- this.popState();
772
- return 8;
773
- case 31:
774
- break;
775
- case 32:
776
- this.begin("namespace-body");
777
- return 39;
778
- case 33:
779
- this.popState();
780
- return 41;
781
- case 34:
782
- return "EOF_IN_STRUCT";
783
- case 35:
784
- return 8;
785
- case 36:
786
- break;
787
- case 37:
788
- return "EDGE_STATE";
789
- case 38:
790
- this.begin("class");
791
- return 46;
792
- case 39:
793
- this.popState();
794
- return 8;
795
- case 40:
796
- break;
797
- case 41:
798
- this.popState();
799
- this.popState();
800
- return 41;
801
- case 42:
802
- this.begin("class-body");
803
- return 39;
804
- case 43:
805
- this.popState();
806
- return 41;
807
- case 44:
808
- return "EOF_IN_STRUCT";
809
- case 45:
810
- return "EDGE_STATE";
811
- case 46:
812
- return "OPEN_IN_STRUCT";
813
- case 47:
814
- break;
815
- case 48:
816
- return "MEMBER";
817
- case 49:
818
- return 83;
819
- case 50:
820
- return 75;
821
- case 51:
822
- return 76;
823
- case 52:
824
- return 78;
825
- case 53:
826
- return 54;
827
- case 54:
828
- return 56;
829
- case 55:
830
- return 49;
831
- case 56:
832
- return 50;
833
- case 57:
834
- return 81;
835
- case 58:
836
- this.popState();
837
- break;
838
- case 59:
839
- return "GENERICTYPE";
840
- case 60:
841
- this.begin("generic");
842
- break;
843
- case 61:
844
- this.popState();
845
- break;
846
- case 62:
847
- return "BQUOTE_STR";
848
- case 63:
849
- this.begin("bqstring");
850
- break;
851
- case 64:
852
- return 77;
853
- case 65:
854
- return 77;
855
- case 66:
856
- return 77;
857
- case 67:
858
- return 77;
859
- case 68:
860
- return 69;
861
- case 69:
862
- return 69;
863
- case 70:
864
- return 71;
865
- case 71:
866
- return 71;
867
- case 72:
868
- return 70;
869
- case 73:
870
- return 68;
871
- case 74:
872
- return 72;
873
- case 75:
874
- return 73;
875
- case 76:
876
- return 74;
877
- case 77:
878
- return 22;
879
- case 78:
880
- return 44;
881
- case 79:
882
- return 100;
883
- case 80:
884
- return 18;
885
- case 81:
886
- return "PLUS";
887
- case 82:
888
- return 87;
889
- case 83:
890
- return 61;
891
- case 84:
892
- return 89;
893
- case 85:
894
- return 89;
895
- case 86:
896
- return 90;
897
- case 87:
898
- return "EQUALS";
899
- case 88:
900
- return "EQUALS";
901
- case 89:
902
- return 60;
903
- case 90:
904
- return 12;
905
- case 91:
906
- return 14;
907
- case 92:
908
- return "PUNCTUATION";
909
- case 93:
910
- return 86;
911
- case 94:
912
- return 102;
913
- case 95:
914
- return 48;
915
- case 96:
916
- return 48;
917
- case 97:
918
- return 9;
919
- }
920
- }, "anonymous"),
921
- rules: [/^(?:.*direction\s+TB[^\n]*)/, /^(?:.*direction\s+BT[^\n]*)/, /^(?:.*direction\s+RL[^\n]*)/, /^(?:.*direction\s+LR[^\n]*)/, /^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/, /^(?:%%[^\n]*(\r?\n)*)/, /^(?:accTitle\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*\{\s*)/, /^(?:[\}])/, /^(?:[^\}]*)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:classDiagram-v2\b)/, /^(?:classDiagram\b)/, /^(?:\[\*\])/, /^(?:call[\s]+)/, /^(?:\([\s]*\))/, /^(?:\()/, /^(?:[^(]*)/, /^(?:\))/, /^(?:[^)]*)/, /^(?:["])/, /^(?:[^"]*)/, /^(?:["])/, /^(?:style\b)/, /^(?:classDef\b)/, /^(?:namespace\b)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:[{])/, /^(?:[}])/, /^(?:$)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:\[\*\])/, /^(?:class\b)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:[}])/, /^(?:[{])/, /^(?:[}])/, /^(?:$)/, /^(?:\[\*\])/, /^(?:[{])/, /^(?:[\n])/, /^(?:[^{}\n]*)/, /^(?:cssClass\b)/, /^(?:callback\b)/, /^(?:link\b)/, /^(?:click\b)/, /^(?:note for\b)/, /^(?:note\b)/, /^(?:<<)/, /^(?:>>)/, /^(?:href\b)/, /^(?:[~])/, /^(?:[^~]*)/, /^(?:~)/, /^(?:[`])/, /^(?:[^`]+)/, /^(?:[`])/, /^(?:_self\b)/, /^(?:_blank\b)/, /^(?:_parent\b)/, /^(?:_top\b)/, /^(?:\s*<\|)/, /^(?:\s*\|>)/, /^(?:\s*>)/, /^(?:\s*<)/, /^(?:\s*\*)/, /^(?:\s*o\b)/, /^(?:\s*\(\))/, /^(?:--)/, /^(?:\.\.)/, /^(?::{1}[^:\n;]+)/, /^(?::{3})/, /^(?:-)/, /^(?:\.)/, /^(?:\+)/, /^(?::)/, /^(?:,)/, /^(?:#)/, /^(?:#)/, /^(?:%)/, /^(?:=)/, /^(?:=)/, /^(?:\w+)/, /^(?:\[)/, /^(?:\])/, /^(?:[!"#$%&'*+,-.`?\\/])/, /^(?:[0-9]+)/, /^(?:[\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])/, /^(?:\s)/, /^(?:\s)/, /^(?:$)/],
922
- conditions: { "namespace-body": { "rules": [26, 33, 34, 35, 36, 37, 38, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], "inclusive": false }, "namespace": { "rules": [26, 29, 30, 31, 32, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], "inclusive": false }, "class-body": { "rules": [26, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], "inclusive": false }, "class": { "rules": [26, 39, 40, 41, 42, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], "inclusive": false }, "acc_descr_multiline": { "rules": [11, 12, 26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], "inclusive": false }, "acc_descr": { "rules": [9, 26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], "inclusive": false }, "acc_title": { "rules": [7, 26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], "inclusive": false }, "callback_args": { "rules": [22, 23, 26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], "inclusive": false }, "callback_name": { "rules": [19, 20, 21, 26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], "inclusive": false }, "href": { "rules": [26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], "inclusive": false }, "struct": { "rules": [26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], "inclusive": false }, "generic": { "rules": [26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], "inclusive": false }, "bqstring": { "rules": [26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], "inclusive": false }, "string": { "rules": [24, 25, 26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], "inclusive": false }, "INITIAL": { "rules": [0, 1, 2, 3, 4, 5, 6, 8, 10, 13, 14, 15, 16, 17, 18, 26, 27, 28, 29, 38, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97], "inclusive": true } }
923
- };
924
- return lexer2;
925
- }();
926
- parser2.lexer = lexer;
927
- function Parser() {
928
- this.yy = {};
929
- }
930
- __name(Parser, "Parser");
931
- Parser.prototype = parser2;
932
- parser2.Parser = Parser;
933
- return new Parser();
934
- }();
935
- parser.parser = parser;
936
- var classDiagram_default = parser;
937
- var visibilityValues = ["#", "+", "~", "-", ""];
938
- var ClassMember = class {
939
- static {
940
- __name(this, "ClassMember");
941
- }
942
- constructor(input, memberType) {
943
- this.memberType = memberType;
944
- this.visibility = "";
945
- this.classifier = "";
946
- this.text = "";
947
- const sanitizedInput = sanitizeText(input, getConfig2());
948
- this.parseMember(sanitizedInput);
949
- }
950
- getDisplayDetails() {
951
- let displayText = this.visibility + parseGenericTypes(this.id);
952
- if (this.memberType === "method") {
953
- displayText += `(${parseGenericTypes(this.parameters.trim())})`;
954
- if (this.returnType) {
955
- displayText += " : " + parseGenericTypes(this.returnType);
956
- }
957
- }
958
- displayText = displayText.trim();
959
- const cssStyle = this.parseClassifier();
960
- return {
961
- displayText,
962
- cssStyle
963
- };
964
- }
965
- parseMember(input) {
966
- let potentialClassifier = "";
967
- if (this.memberType === "method") {
968
- const methodRegEx = /([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/;
969
- const match = methodRegEx.exec(input);
970
- if (match) {
971
- const detectedVisibility = match[1] ? match[1].trim() : "";
972
- if (visibilityValues.includes(detectedVisibility)) {
973
- this.visibility = detectedVisibility;
974
- }
975
- this.id = match[2];
976
- this.parameters = match[3] ? match[3].trim() : "";
977
- potentialClassifier = match[4] ? match[4].trim() : "";
978
- this.returnType = match[5] ? match[5].trim() : "";
979
- if (potentialClassifier === "") {
980
- const lastChar = this.returnType.substring(this.returnType.length - 1);
981
- if (/[$*]/.exec(lastChar)) {
982
- potentialClassifier = lastChar;
983
- this.returnType = this.returnType.substring(0, this.returnType.length - 1);
984
- }
985
- }
986
- }
987
- } else {
988
- const length = input.length;
989
- const firstChar = input.substring(0, 1);
990
- const lastChar = input.substring(length - 1);
991
- if (visibilityValues.includes(firstChar)) {
992
- this.visibility = firstChar;
993
- }
994
- if (/[$*]/.exec(lastChar)) {
995
- potentialClassifier = lastChar;
996
- }
997
- this.id = input.substring(
998
- this.visibility === "" ? 0 : 1,
999
- potentialClassifier === "" ? length : length - 1
1000
- );
1001
- }
1002
- this.classifier = potentialClassifier;
1003
- this.id = this.id.startsWith(" ") ? " " + this.id.trim() : this.id.trim();
1004
- const combinedText = `${this.visibility ? "\\" + this.visibility : ""}${parseGenericTypes(this.id)}${this.memberType === "method" ? `(${parseGenericTypes(this.parameters)})${this.returnType ? " : " + parseGenericTypes(this.returnType) : ""}` : ""}`;
1005
- this.text = combinedText.replaceAll("<", "&lt;").replaceAll(">", "&gt;");
1006
- if (this.text.startsWith("\\&lt;")) {
1007
- this.text = this.text.replace("\\&lt;", "~");
1008
- }
1009
- }
1010
- parseClassifier() {
1011
- switch (this.classifier) {
1012
- case "*":
1013
- return "font-style:italic;";
1014
- case "$":
1015
- return "text-decoration:underline;";
1016
- default:
1017
- return "";
1018
- }
1019
- }
1020
- };
1021
- var MERMAID_DOM_ID_PREFIX = "classId-";
1022
- var classCounter = 0;
1023
- var sanitizeText2 = /* @__PURE__ */ __name((txt) => common_default.sanitizeText(txt, getConfig2()), "sanitizeText");
1024
- var ClassDB = class {
1025
- constructor() {
1026
- this.relations = [];
1027
- this.classes = /* @__PURE__ */ new Map();
1028
- this.styleClasses = /* @__PURE__ */ new Map();
1029
- this.notes = [];
1030
- this.interfaces = [];
1031
- this.namespaces = /* @__PURE__ */ new Map();
1032
- this.namespaceCounter = 0;
1033
- this.functions = [];
1034
- this.lineType = {
1035
- LINE: 0,
1036
- DOTTED_LINE: 1
1037
- };
1038
- this.relationType = {
1039
- AGGREGATION: 0,
1040
- EXTENSION: 1,
1041
- COMPOSITION: 2,
1042
- DEPENDENCY: 3,
1043
- LOLLIPOP: 4
1044
- };
1045
- this.setupToolTips = /* @__PURE__ */ __name((element) => {
1046
- let tooltipElem = select_default(".mermaidTooltip");
1047
- if ((tooltipElem._groups || tooltipElem)[0][0] === null) {
1048
- tooltipElem = select_default("body").append("div").attr("class", "mermaidTooltip").style("opacity", 0);
1049
- }
1050
- const svg = select_default(element).select("svg");
1051
- const nodes = svg.selectAll("g.node");
1052
- nodes.on("mouseover", (event) => {
1053
- const el = select_default(event.currentTarget);
1054
- const title = el.attr("title");
1055
- if (title === null) {
1056
- return;
1057
- }
1058
- const rect = this.getBoundingClientRect();
1059
- tooltipElem.transition().duration(200).style("opacity", ".9");
1060
- tooltipElem.text(el.attr("title")).style("left", window.scrollX + rect.left + (rect.right - rect.left) / 2 + "px").style("top", window.scrollY + rect.top - 14 + document.body.scrollTop + "px");
1061
- tooltipElem.html(tooltipElem.html().replace(/&lt;br\/&gt;/g, "<br/>"));
1062
- el.classed("hover", true);
1063
- }).on("mouseout", (event) => {
1064
- tooltipElem.transition().duration(500).style("opacity", 0);
1065
- const el = select_default(event.currentTarget);
1066
- el.classed("hover", false);
1067
- });
1068
- }, "setupToolTips");
1069
- this.direction = "TB";
1070
- this.setAccTitle = setAccTitle;
1071
- this.getAccTitle = getAccTitle;
1072
- this.setAccDescription = setAccDescription;
1073
- this.getAccDescription = getAccDescription;
1074
- this.setDiagramTitle = setDiagramTitle;
1075
- this.getDiagramTitle = getDiagramTitle;
1076
- this.getConfig = /* @__PURE__ */ __name(() => getConfig2().class, "getConfig");
1077
- this.functions.push(this.setupToolTips.bind(this));
1078
- this.clear();
1079
- this.addRelation = this.addRelation.bind(this);
1080
- this.addClassesToNamespace = this.addClassesToNamespace.bind(this);
1081
- this.addNamespace = this.addNamespace.bind(this);
1082
- this.setCssClass = this.setCssClass.bind(this);
1083
- this.addMembers = this.addMembers.bind(this);
1084
- this.addClass = this.addClass.bind(this);
1085
- this.setClassLabel = this.setClassLabel.bind(this);
1086
- this.addAnnotation = this.addAnnotation.bind(this);
1087
- this.addMember = this.addMember.bind(this);
1088
- this.cleanupLabel = this.cleanupLabel.bind(this);
1089
- this.addNote = this.addNote.bind(this);
1090
- this.defineClass = this.defineClass.bind(this);
1091
- this.setDirection = this.setDirection.bind(this);
1092
- this.setLink = this.setLink.bind(this);
1093
- this.bindFunctions = this.bindFunctions.bind(this);
1094
- this.clear = this.clear.bind(this);
1095
- this.setTooltip = this.setTooltip.bind(this);
1096
- this.setClickEvent = this.setClickEvent.bind(this);
1097
- this.setCssStyle = this.setCssStyle.bind(this);
1098
- }
1099
- static {
1100
- __name(this, "ClassDB");
1101
- }
1102
- splitClassNameAndType(_id) {
1103
- const id = common_default.sanitizeText(_id, getConfig2());
1104
- let genericType = "";
1105
- let className = id;
1106
- if (id.indexOf("~") > 0) {
1107
- const split = id.split("~");
1108
- className = sanitizeText2(split[0]);
1109
- genericType = sanitizeText2(split[1]);
1110
- }
1111
- return { className, type: genericType };
1112
- }
1113
- setClassLabel(_id, label) {
1114
- const id = common_default.sanitizeText(_id, getConfig2());
1115
- if (label) {
1116
- label = sanitizeText2(label);
1117
- }
1118
- const { className } = this.splitClassNameAndType(id);
1119
- this.classes.get(className).label = label;
1120
- this.classes.get(className).text = `${label}${this.classes.get(className).type ? `<${this.classes.get(className).type}>` : ""}`;
1121
- }
1122
- /**
1123
- * Function called by parser when a node definition has been found.
1124
- *
1125
- * @param id - ID of the class to add
1126
- * @public
1127
- */
1128
- addClass(_id) {
1129
- const id = common_default.sanitizeText(_id, getConfig2());
1130
- const { className, type } = this.splitClassNameAndType(id);
1131
- if (this.classes.has(className)) {
1132
- return;
1133
- }
1134
- const name = common_default.sanitizeText(className, getConfig2());
1135
- this.classes.set(name, {
1136
- id: name,
1137
- type,
1138
- label: name,
1139
- text: `${name}${type ? `&lt;${type}&gt;` : ""}`,
1140
- shape: "classBox",
1141
- cssClasses: "default",
1142
- methods: [],
1143
- members: [],
1144
- annotations: [],
1145
- styles: [],
1146
- domId: MERMAID_DOM_ID_PREFIX + name + "-" + classCounter
1147
- });
1148
- classCounter++;
1149
- }
1150
- addInterface(label, classId) {
1151
- const classInterface = {
1152
- id: `interface${this.interfaces.length}`,
1153
- label,
1154
- classId
1155
- };
1156
- this.interfaces.push(classInterface);
1157
- }
1158
- /**
1159
- * Function to lookup domId from id in the graph definition.
1160
- *
1161
- * @param id - class ID to lookup
1162
- * @public
1163
- */
1164
- lookUpDomId(_id) {
1165
- const id = common_default.sanitizeText(_id, getConfig2());
1166
- if (this.classes.has(id)) {
1167
- return this.classes.get(id).domId;
1168
- }
1169
- throw new Error("Class not found: " + id);
1170
- }
1171
- clear() {
1172
- this.relations = [];
1173
- this.classes = /* @__PURE__ */ new Map();
1174
- this.notes = [];
1175
- this.interfaces = [];
1176
- this.functions = [];
1177
- this.functions.push(this.setupToolTips.bind(this));
1178
- this.namespaces = /* @__PURE__ */ new Map();
1179
- this.namespaceCounter = 0;
1180
- this.direction = "TB";
1181
- clear();
1182
- }
1183
- getClass(id) {
1184
- return this.classes.get(id);
1185
- }
1186
- getClasses() {
1187
- return this.classes;
1188
- }
1189
- getRelations() {
1190
- return this.relations;
1191
- }
1192
- getNotes() {
1193
- return this.notes;
1194
- }
1195
- addRelation(classRelation) {
1196
- log.debug("Adding relation: " + JSON.stringify(classRelation));
1197
- const invalidTypes = [
1198
- this.relationType.LOLLIPOP,
1199
- this.relationType.AGGREGATION,
1200
- this.relationType.COMPOSITION,
1201
- this.relationType.DEPENDENCY,
1202
- this.relationType.EXTENSION
1203
- ];
1204
- if (classRelation.relation.type1 === this.relationType.LOLLIPOP && !invalidTypes.includes(classRelation.relation.type2)) {
1205
- this.addClass(classRelation.id2);
1206
- this.addInterface(classRelation.id1, classRelation.id2);
1207
- classRelation.id1 = `interface${this.interfaces.length - 1}`;
1208
- } else if (classRelation.relation.type2 === this.relationType.LOLLIPOP && !invalidTypes.includes(classRelation.relation.type1)) {
1209
- this.addClass(classRelation.id1);
1210
- this.addInterface(classRelation.id2, classRelation.id1);
1211
- classRelation.id2 = `interface${this.interfaces.length - 1}`;
1212
- } else {
1213
- this.addClass(classRelation.id1);
1214
- this.addClass(classRelation.id2);
1215
- }
1216
- classRelation.id1 = this.splitClassNameAndType(classRelation.id1).className;
1217
- classRelation.id2 = this.splitClassNameAndType(classRelation.id2).className;
1218
- classRelation.relationTitle1 = common_default.sanitizeText(
1219
- classRelation.relationTitle1.trim(),
1220
- getConfig2()
1221
- );
1222
- classRelation.relationTitle2 = common_default.sanitizeText(
1223
- classRelation.relationTitle2.trim(),
1224
- getConfig2()
1225
- );
1226
- this.relations.push(classRelation);
1227
- }
1228
- /**
1229
- * Adds an annotation to the specified class Annotations mark special properties of the given type
1230
- * (like 'interface' or 'service')
1231
- *
1232
- * @param className - The class name
1233
- * @param annotation - The name of the annotation without any brackets
1234
- * @public
1235
- */
1236
- addAnnotation(className, annotation) {
1237
- const validatedClassName = this.splitClassNameAndType(className).className;
1238
- this.classes.get(validatedClassName).annotations.push(annotation);
1239
- }
1240
- /**
1241
- * Adds a member to the specified class
1242
- *
1243
- * @param className - The class name
1244
- * @param member - The full name of the member. If the member is enclosed in `<<brackets>>` it is
1245
- * treated as an annotation If the member is ending with a closing bracket ) it is treated as a
1246
- * method Otherwise the member will be treated as a normal property
1247
- * @public
1248
- */
1249
- addMember(className, member) {
1250
- this.addClass(className);
1251
- const validatedClassName = this.splitClassNameAndType(className).className;
1252
- const theClass = this.classes.get(validatedClassName);
1253
- if (typeof member === "string") {
1254
- const memberString = member.trim();
1255
- if (memberString.startsWith("<<") && memberString.endsWith(">>")) {
1256
- theClass.annotations.push(sanitizeText2(memberString.substring(2, memberString.length - 2)));
1257
- } else if (memberString.indexOf(")") > 0) {
1258
- theClass.methods.push(new ClassMember(memberString, "method"));
1259
- } else if (memberString) {
1260
- theClass.members.push(new ClassMember(memberString, "attribute"));
1261
- }
1262
- }
1263
- }
1264
- addMembers(className, members) {
1265
- if (Array.isArray(members)) {
1266
- members.reverse();
1267
- members.forEach((member) => this.addMember(className, member));
1268
- }
1269
- }
1270
- addNote(text, className) {
1271
- const note = {
1272
- id: `note${this.notes.length}`,
1273
- class: className,
1274
- text
1275
- };
1276
- this.notes.push(note);
1277
- }
1278
- cleanupLabel(label) {
1279
- if (label.startsWith(":")) {
1280
- label = label.substring(1);
1281
- }
1282
- return sanitizeText2(label.trim());
1283
- }
1284
- /**
1285
- * Called by parser when assigning cssClass to a class
1286
- *
1287
- * @param ids - Comma separated list of ids
1288
- * @param className - Class to add
1289
- */
1290
- setCssClass(ids, className) {
1291
- ids.split(",").forEach((_id) => {
1292
- let id = _id;
1293
- if (/\d/.exec(_id[0])) {
1294
- id = MERMAID_DOM_ID_PREFIX + id;
1295
- }
1296
- const classNode = this.classes.get(id);
1297
- if (classNode) {
1298
- classNode.cssClasses += " " + className;
1299
- }
1300
- });
1301
- }
1302
- defineClass(ids, style) {
1303
- for (const id of ids) {
1304
- let styleClass = this.styleClasses.get(id);
1305
- if (styleClass === void 0) {
1306
- styleClass = { id, styles: [], textStyles: [] };
1307
- this.styleClasses.set(id, styleClass);
1308
- }
1309
- if (style) {
1310
- style.forEach((s) => {
1311
- if (/color/.exec(s)) {
1312
- const newStyle = s.replace("fill", "bgFill");
1313
- styleClass.textStyles.push(newStyle);
1314
- }
1315
- styleClass.styles.push(s);
1316
- });
1317
- }
1318
- this.classes.forEach((value) => {
1319
- if (value.cssClasses.includes(id)) {
1320
- value.styles.push(...style.flatMap((s) => s.split(",")));
1321
- }
1322
- });
1323
- }
1324
- }
1325
- /**
1326
- * Called by parser when a tooltip is found, e.g. a clickable element.
1327
- *
1328
- * @param ids - Comma separated list of ids
1329
- * @param tooltip - Tooltip to add
1330
- */
1331
- setTooltip(ids, tooltip) {
1332
- ids.split(",").forEach((id) => {
1333
- if (tooltip !== void 0) {
1334
- this.classes.get(id).tooltip = sanitizeText2(tooltip);
1335
- }
1336
- });
1337
- }
1338
- getTooltip(id, namespace) {
1339
- if (namespace && this.namespaces.has(namespace)) {
1340
- return this.namespaces.get(namespace).classes.get(id).tooltip;
1341
- }
1342
- return this.classes.get(id).tooltip;
1343
- }
1344
- /**
1345
- * Called by parser when a link is found. Adds the URL to the vertex data.
1346
- *
1347
- * @param ids - Comma separated list of ids
1348
- * @param linkStr - URL to create a link for
1349
- * @param target - Target of the link, _blank by default as originally defined in the svgDraw.js file
1350
- */
1351
- setLink(ids, linkStr, target) {
1352
- const config = getConfig2();
1353
- ids.split(",").forEach((_id) => {
1354
- let id = _id;
1355
- if (/\d/.exec(_id[0])) {
1356
- id = MERMAID_DOM_ID_PREFIX + id;
1357
- }
1358
- const theClass = this.classes.get(id);
1359
- if (theClass) {
1360
- theClass.link = utils_default.formatUrl(linkStr, config);
1361
- if (config.securityLevel === "sandbox") {
1362
- theClass.linkTarget = "_top";
1363
- } else if (typeof target === "string") {
1364
- theClass.linkTarget = sanitizeText2(target);
1365
- } else {
1366
- theClass.linkTarget = "_blank";
1367
- }
1368
- }
1369
- });
1370
- this.setCssClass(ids, "clickable");
1371
- }
1372
- /**
1373
- * Called by parser when a click definition is found. Registers an event handler.
1374
- *
1375
- * @param ids - Comma separated list of ids
1376
- * @param functionName - Function to be called on click
1377
- * @param functionArgs - Function args the function should be called with
1378
- */
1379
- setClickEvent(ids, functionName, functionArgs) {
1380
- ids.split(",").forEach((id) => {
1381
- this.setClickFunc(id, functionName, functionArgs);
1382
- this.classes.get(id).haveCallback = true;
1383
- });
1384
- this.setCssClass(ids, "clickable");
1385
- }
1386
- setClickFunc(_domId, functionName, functionArgs) {
1387
- const domId = common_default.sanitizeText(_domId, getConfig2());
1388
- const config = getConfig2();
1389
- if (config.securityLevel !== "loose") {
1390
- return;
1391
- }
1392
- if (functionName === void 0) {
1393
- return;
1394
- }
1395
- const id = domId;
1396
- if (this.classes.has(id)) {
1397
- const elemId = this.lookUpDomId(id);
1398
- let argList = [];
1399
- if (typeof functionArgs === "string") {
1400
- argList = functionArgs.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
1401
- for (let i = 0; i < argList.length; i++) {
1402
- let item = argList[i].trim();
1403
- if (item.startsWith('"') && item.endsWith('"')) {
1404
- item = item.substr(1, item.length - 2);
1405
- }
1406
- argList[i] = item;
1407
- }
1408
- }
1409
- if (argList.length === 0) {
1410
- argList.push(elemId);
1411
- }
1412
- this.functions.push(() => {
1413
- const elem = document.querySelector(`[id="${elemId}"]`);
1414
- if (elem !== null) {
1415
- elem.addEventListener(
1416
- "click",
1417
- () => {
1418
- utils_default.runFunc(functionName, ...argList);
1419
- },
1420
- false
1421
- );
1422
- }
1423
- });
1424
- }
1425
- }
1426
- bindFunctions(element) {
1427
- this.functions.forEach((fun) => {
1428
- fun(element);
1429
- });
1430
- }
1431
- getDirection() {
1432
- return this.direction;
1433
- }
1434
- setDirection(dir) {
1435
- this.direction = dir;
1436
- }
1437
- /**
1438
- * Function called by parser when a namespace definition has been found.
1439
- *
1440
- * @param id - ID of the namespace to add
1441
- * @public
1442
- */
1443
- addNamespace(id) {
1444
- if (this.namespaces.has(id)) {
1445
- return;
1446
- }
1447
- this.namespaces.set(id, {
1448
- id,
1449
- classes: /* @__PURE__ */ new Map(),
1450
- children: {},
1451
- domId: MERMAID_DOM_ID_PREFIX + id + "-" + this.namespaceCounter
1452
- });
1453
- this.namespaceCounter++;
1454
- }
1455
- getNamespace(name) {
1456
- return this.namespaces.get(name);
1457
- }
1458
- getNamespaces() {
1459
- return this.namespaces;
1460
- }
1461
- /**
1462
- * Function called by parser when a namespace definition has been found.
1463
- *
1464
- * @param id - ID of the namespace to add
1465
- * @param classNames - IDs of the class to add
1466
- * @public
1467
- */
1468
- addClassesToNamespace(id, classNames) {
1469
- if (!this.namespaces.has(id)) {
1470
- return;
1471
- }
1472
- for (const name of classNames) {
1473
- const { className } = this.splitClassNameAndType(name);
1474
- this.classes.get(className).parent = id;
1475
- this.namespaces.get(id).classes.set(className, this.classes.get(className));
1476
- }
1477
- }
1478
- setCssStyle(id, styles) {
1479
- const thisClass = this.classes.get(id);
1480
- if (!styles || !thisClass) {
1481
- return;
1482
- }
1483
- for (const s of styles) {
1484
- if (s.includes(",")) {
1485
- thisClass.styles.push(...s.split(","));
1486
- } else {
1487
- thisClass.styles.push(s);
1488
- }
1489
- }
1490
- }
1491
- /**
1492
- * Gets the arrow marker for a type index
1493
- *
1494
- * @param type - The type to look for
1495
- * @returns The arrow marker
1496
- */
1497
- getArrowMarker(type) {
1498
- let marker;
1499
- switch (type) {
1500
- case 0:
1501
- marker = "aggregation";
1502
- break;
1503
- case 1:
1504
- marker = "extension";
1505
- break;
1506
- case 2:
1507
- marker = "composition";
1508
- break;
1509
- case 3:
1510
- marker = "dependency";
1511
- break;
1512
- case 4:
1513
- marker = "lollipop";
1514
- break;
1515
- default:
1516
- marker = "none";
1517
- }
1518
- return marker;
1519
- }
1520
- getData() {
1521
- const nodes = [];
1522
- const edges = [];
1523
- const config = getConfig2();
1524
- for (const namespaceKey of this.namespaces.keys()) {
1525
- const namespace = this.namespaces.get(namespaceKey);
1526
- if (namespace) {
1527
- const node = {
1528
- id: namespace.id,
1529
- label: namespace.id,
1530
- isGroup: true,
1531
- padding: config.class.padding ?? 16,
1532
- // parent node must be one of [rect, roundedWithTitle, noteGroup, divider]
1533
- shape: "rect",
1534
- cssStyles: ["fill: none", "stroke: black"],
1535
- look: config.look
1536
- };
1537
- nodes.push(node);
1538
- }
1539
- }
1540
- for (const classKey of this.classes.keys()) {
1541
- const classNode = this.classes.get(classKey);
1542
- if (classNode) {
1543
- const node = classNode;
1544
- node.parentId = classNode.parent;
1545
- node.look = config.look;
1546
- nodes.push(node);
1547
- }
1548
- }
1549
- let cnt = 0;
1550
- for (const note of this.notes) {
1551
- cnt++;
1552
- const noteNode = {
1553
- id: note.id,
1554
- label: note.text,
1555
- isGroup: false,
1556
- shape: "note",
1557
- padding: config.class.padding ?? 6,
1558
- cssStyles: [
1559
- "text-align: left",
1560
- "white-space: nowrap",
1561
- `fill: ${config.themeVariables.noteBkgColor}`,
1562
- `stroke: ${config.themeVariables.noteBorderColor}`
1563
- ],
1564
- look: config.look
1565
- };
1566
- nodes.push(noteNode);
1567
- const noteClassId = this.classes.get(note.class)?.id ?? "";
1568
- if (noteClassId) {
1569
- const edge = {
1570
- id: `edgeNote${cnt}`,
1571
- start: note.id,
1572
- end: noteClassId,
1573
- type: "normal",
1574
- thickness: "normal",
1575
- classes: "relation",
1576
- arrowTypeStart: "none",
1577
- arrowTypeEnd: "none",
1578
- arrowheadStyle: "",
1579
- labelStyle: [""],
1580
- style: ["fill: none"],
1581
- pattern: "dotted",
1582
- look: config.look
1583
- };
1584
- edges.push(edge);
1585
- }
1586
- }
1587
- for (const _interface of this.interfaces) {
1588
- const interfaceNode = {
1589
- id: _interface.id,
1590
- label: _interface.label,
1591
- isGroup: false,
1592
- shape: "rect",
1593
- cssStyles: ["opacity: 0;"],
1594
- look: config.look
1595
- };
1596
- nodes.push(interfaceNode);
1597
- }
1598
- cnt = 0;
1599
- for (const classRelation of this.relations) {
1600
- cnt++;
1601
- const edge = {
1602
- id: getEdgeId(classRelation.id1, classRelation.id2, {
1603
- prefix: "id",
1604
- counter: cnt
1605
- }),
1606
- start: classRelation.id1,
1607
- end: classRelation.id2,
1608
- type: "normal",
1609
- label: classRelation.title,
1610
- labelpos: "c",
1611
- thickness: "normal",
1612
- classes: "relation",
1613
- arrowTypeStart: this.getArrowMarker(classRelation.relation.type1),
1614
- arrowTypeEnd: this.getArrowMarker(classRelation.relation.type2),
1615
- startLabelRight: classRelation.relationTitle1 === "none" ? "" : classRelation.relationTitle1,
1616
- endLabelLeft: classRelation.relationTitle2 === "none" ? "" : classRelation.relationTitle2,
1617
- arrowheadStyle: "",
1618
- labelStyle: ["display: inline-block"],
1619
- style: classRelation.style || "",
1620
- pattern: classRelation.relation.lineType == 1 ? "dashed" : "solid",
1621
- look: config.look
1622
- };
1623
- edges.push(edge);
1624
- }
1625
- return { nodes, edges, other: {}, config, direction: this.getDirection() };
1626
- }
1627
- };
1628
- var getStyles = /* @__PURE__ */ __name((options) => `g.classGroup text {
1629
- fill: ${options.nodeBorder || options.classText};
1630
- stroke: none;
1631
- font-family: ${options.fontFamily};
1632
- font-size: 10px;
1633
-
1634
- .title {
1635
- font-weight: bolder;
1636
- }
1637
-
1638
- }
1639
-
1640
- .nodeLabel, .edgeLabel {
1641
- color: ${options.classText};
1642
- }
1643
- .edgeLabel .label rect {
1644
- fill: ${options.mainBkg};
1645
- }
1646
- .label text {
1647
- fill: ${options.classText};
1648
- }
1649
-
1650
- .labelBkg {
1651
- background: ${options.mainBkg};
1652
- }
1653
- .edgeLabel .label span {
1654
- background: ${options.mainBkg};
1655
- }
1656
-
1657
- .classTitle {
1658
- font-weight: bolder;
1659
- }
1660
- .node rect,
1661
- .node circle,
1662
- .node ellipse,
1663
- .node polygon,
1664
- .node path {
1665
- fill: ${options.mainBkg};
1666
- stroke: ${options.nodeBorder};
1667
- stroke-width: 1px;
1668
- }
1669
-
1670
-
1671
- .divider {
1672
- stroke: ${options.nodeBorder};
1673
- stroke-width: 1;
1674
- }
1675
-
1676
- g.clickable {
1677
- cursor: pointer;
1678
- }
1679
-
1680
- g.classGroup rect {
1681
- fill: ${options.mainBkg};
1682
- stroke: ${options.nodeBorder};
1683
- }
1684
-
1685
- g.classGroup line {
1686
- stroke: ${options.nodeBorder};
1687
- stroke-width: 1;
1688
- }
1689
-
1690
- .classLabel .box {
1691
- stroke: none;
1692
- stroke-width: 0;
1693
- fill: ${options.mainBkg};
1694
- opacity: 0.5;
1695
- }
1696
-
1697
- .classLabel .label {
1698
- fill: ${options.nodeBorder};
1699
- font-size: 10px;
1700
- }
1701
-
1702
- .relation {
1703
- stroke: ${options.lineColor};
1704
- stroke-width: 1;
1705
- fill: none;
1706
- }
1707
-
1708
- .dashed-line{
1709
- stroke-dasharray: 3;
1710
- }
1711
-
1712
- .dotted-line{
1713
- stroke-dasharray: 1 2;
1714
- }
1715
-
1716
- #compositionStart, .composition {
1717
- fill: ${options.lineColor} !important;
1718
- stroke: ${options.lineColor} !important;
1719
- stroke-width: 1;
1720
- }
1721
-
1722
- #compositionEnd, .composition {
1723
- fill: ${options.lineColor} !important;
1724
- stroke: ${options.lineColor} !important;
1725
- stroke-width: 1;
1726
- }
1727
-
1728
- #dependencyStart, .dependency {
1729
- fill: ${options.lineColor} !important;
1730
- stroke: ${options.lineColor} !important;
1731
- stroke-width: 1;
1732
- }
1733
-
1734
- #dependencyStart, .dependency {
1735
- fill: ${options.lineColor} !important;
1736
- stroke: ${options.lineColor} !important;
1737
- stroke-width: 1;
1738
- }
1739
-
1740
- #extensionStart, .extension {
1741
- fill: transparent !important;
1742
- stroke: ${options.lineColor} !important;
1743
- stroke-width: 1;
1744
- }
1745
-
1746
- #extensionEnd, .extension {
1747
- fill: transparent !important;
1748
- stroke: ${options.lineColor} !important;
1749
- stroke-width: 1;
1750
- }
1751
-
1752
- #aggregationStart, .aggregation {
1753
- fill: transparent !important;
1754
- stroke: ${options.lineColor} !important;
1755
- stroke-width: 1;
1756
- }
1757
-
1758
- #aggregationEnd, .aggregation {
1759
- fill: transparent !important;
1760
- stroke: ${options.lineColor} !important;
1761
- stroke-width: 1;
1762
- }
1763
-
1764
- #lollipopStart, .lollipop {
1765
- fill: ${options.mainBkg} !important;
1766
- stroke: ${options.lineColor} !important;
1767
- stroke-width: 1;
1768
- }
1769
-
1770
- #lollipopEnd, .lollipop {
1771
- fill: ${options.mainBkg} !important;
1772
- stroke: ${options.lineColor} !important;
1773
- stroke-width: 1;
1774
- }
1775
-
1776
- .edgeTerminals {
1777
- font-size: 11px;
1778
- line-height: initial;
1779
- }
1780
-
1781
- .classTitleText {
1782
- text-anchor: middle;
1783
- font-size: 18px;
1784
- fill: ${options.textColor};
1785
- }
1786
- ${getIconStyles()}
1787
- `, "getStyles");
1788
- var styles_default = getStyles;
1789
- var getDir = /* @__PURE__ */ __name((parsedItem, defaultDir = "TB") => {
1790
- if (!parsedItem.doc) {
1791
- return defaultDir;
1792
- }
1793
- let dir = defaultDir;
1794
- for (const parsedItemDoc of parsedItem.doc) {
1795
- if (parsedItemDoc.stmt === "dir") {
1796
- dir = parsedItemDoc.value;
1797
- }
1798
- }
1799
- return dir;
1800
- }, "getDir");
1801
- var getClasses = /* @__PURE__ */ __name(function(text, diagramObj) {
1802
- return diagramObj.db.getClasses();
1803
- }, "getClasses");
1804
- var draw = /* @__PURE__ */ __name(async function(text, id, _version, diag) {
1805
- log.info("REF0:");
1806
- log.info("Drawing class diagram (v3)", id);
1807
- const { securityLevel, state: conf, layout } = getConfig2();
1808
- const data4Layout = diag.db.getData();
1809
- const svg = getDiagramElement(id, securityLevel);
1810
- data4Layout.type = diag.type;
1811
- data4Layout.layoutAlgorithm = getRegisteredLayoutAlgorithm(layout);
1812
- data4Layout.nodeSpacing = conf?.nodeSpacing || 50;
1813
- data4Layout.rankSpacing = conf?.rankSpacing || 50;
1814
- data4Layout.markers = ["aggregation", "extension", "composition", "dependency", "lollipop"];
1815
- data4Layout.diagramId = id;
1816
- await render(data4Layout, svg);
1817
- const padding = 8;
1818
- utils_default.insertTitle(
1819
- svg,
1820
- "classDiagramTitleText",
1821
- conf?.titleTopMargin ?? 25,
1822
- diag.db.getDiagramTitle()
1823
- );
1824
- setupViewPortForSVG(svg, padding, "classDiagram", conf?.useMaxWidth ?? true);
1825
- }, "draw");
1826
- var classRenderer_v3_unified_default = {
1827
- getClasses,
1828
- draw,
1829
- getDir
1830
- };
1831
-
1832
- export { ClassDB, classDiagram_default, classRenderer_v3_unified_default, styles_default };
1833
- //# sourceMappingURL=chunk-GEUZOPED.mjs.map
1834
- //# sourceMappingURL=chunk-GEUZOPED.mjs.map