@bkm016/basalt 0.1.7 → 0.1.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 (250) hide show
  1. package/README.md +1 -1
  2. package/{chunk-n981vx1t.js → chunk-0d51ggzj.js} +6 -6
  3. package/chunk-12trygzx.js +25 -0
  4. package/{chunk-s6dejhfj.js → chunk-26cz8et8.js} +1 -1
  5. package/{chunk-zxkq9m8e.js → chunk-2ek3wq4b.js} +2 -2
  6. package/chunk-2gcp3xdc.js +2 -0
  7. package/{chunk-x4874m8e.js → chunk-2ks2tnac.js} +2 -2
  8. package/{chunk-0javrjcm.js → chunk-2nrkqq45.js} +22 -22
  9. package/chunk-320174qe.js +2 -0
  10. package/{chunk-ey15ye2h.js → chunk-3hg7yn1t.js} +1 -1
  11. package/{chunk-benrzwea.js → chunk-3j2kkgsc.js} +1 -1
  12. package/{chunk-8x21n7y9.js → chunk-47vf66t6.js} +1 -1
  13. package/chunk-4n49ptbz.js +3 -0
  14. package/{chunk-7hr6zw2m.js → chunk-5gxj9560.js} +1 -1
  15. package/{chunk-g0t9c3gv.js → chunk-6vnjg5x9.js} +1 -1
  16. package/{chunk-dnx91jrd.js → chunk-7kjr9gdx.js} +2 -2
  17. package/{chunk-y8dkfpmj.js → chunk-7p6e2f5s.js} +3 -3
  18. package/{chunk-053vb71h.js → chunk-86xhmz7k.js} +1 -1
  19. package/{chunk-ebpyvs1d.js → chunk-91r5nvth.js} +2 -2
  20. package/{chunk-c7rcw9fb.js → chunk-adys4qq4.js} +4 -4
  21. package/{chunk-npez1492.js → chunk-ckjw3b61.js} +2 -2
  22. package/{chunk-f156y565.js → chunk-d37gemt2.js} +3 -3
  23. package/{chunk-j7yvh0ae.js → chunk-dcwdmpw2.js} +1 -1
  24. package/chunk-dvb5nd2x.js +2 -0
  25. package/{chunk-063vbmtp.js → chunk-e6c2mzxc.js} +2 -2
  26. package/{chunk-s7skpgm2.js → chunk-ef9yhnk3.js} +1 -1
  27. package/{chunk-ecf896fz.js → chunk-fpxc6qjr.js} +2 -2
  28. package/chunk-frt9k18g.js +480 -0
  29. package/{chunk-bdy4jksd.js → chunk-fzcmzbsq.js} +1 -1
  30. package/{chunk-q9dd6fhj.js → chunk-g3ed130w.js} +3 -3
  31. package/{chunk-d48bfd2e.js → chunk-h1kb8b49.js} +2 -2
  32. package/{chunk-arcqjt91.js → chunk-hd3x1w46.js} +1 -1
  33. package/{chunk-dpz4hwqb.js → chunk-j781n7ca.js} +2 -2
  34. package/{chunk-z02sj1je.js → chunk-jp5afrwm.js} +2 -2
  35. package/{chunk-r8vvcp6c.js → chunk-jyv9cae6.js} +1 -1
  36. package/{chunk-whj87h4r.js → chunk-k3q5jqjj.js} +3 -3
  37. package/{chunk-75434aay.js → chunk-k3rmjrf1.js} +1 -1
  38. package/{chunk-peja51xv.js → chunk-kgkrccr1.js} +2 -2
  39. package/{chunk-pg5nkf1y.js → chunk-kpvaqb7c.js} +2 -2
  40. package/{chunk-sjjtxpg2.js → chunk-ky55taar.js} +330 -288
  41. package/{chunk-10p3mb40.js → chunk-mr807v9n.js} +1 -1
  42. package/chunk-n015c8nx.js +2 -0
  43. package/chunk-ndt6rjt9.js +2 -0
  44. package/{chunk-gv7wqkey.js → chunk-nmtk9xra.js} +2 -2
  45. package/{chunk-d6p2hgxh.js → chunk-pehyqj8k.js} +1 -1
  46. package/{chunk-ca982n62.js → chunk-pkpj7s2k.js} +1 -1
  47. package/{chunk-fx7f4m3c.js → chunk-pn413hjw.js} +1 -1
  48. package/{chunk-6ptv4g5e.js → chunk-ppxv5q7y.js} +3 -3
  49. package/{chunk-8wj32837.js → chunk-qmdpgbg3.js} +1 -1
  50. package/{chunk-8wv5t0w6.js → chunk-rnt1ckk9.js} +6 -6
  51. package/{chunk-prgm07j4.js → chunk-t40fag3z.js} +2 -2
  52. package/{chunk-w67dvqtb.js → chunk-t66jqz12.js} +2 -2
  53. package/{chunk-39vwrg8n.js → chunk-v2srrqcv.js} +2 -2
  54. package/{chunk-n85qs7cs.js → chunk-x496kg3v.js} +1 -1
  55. package/{chunk-6kdgk70p.js → chunk-xjw78yey.js} +4 -4
  56. package/chunk-xy2bxwq8.js +2 -0
  57. package/{chunk-y69ewdn2.js → chunk-ypqjfv3a.js} +2 -2
  58. package/{chunk-f544p9rh.js → chunk-yyy2yp6f.js} +10 -10
  59. package/{chunk-8gw5bvh3.js → chunk-yzevjkms.js} +5 -5
  60. package/chunk-z3ch1wg6.js +16 -0
  61. package/chunk-zdyd8hbn.js +2 -0
  62. package/compiled.js +6 -6
  63. package/package.json +1 -1
  64. package/ui-test-worker.js +19 -19
  65. package/web/{chunk-kjacapzd.js → chunk-0j9a7811.js} +6 -6
  66. package/web/chunk-0jfda4jw.js +2 -0
  67. package/web/{chunk-z1geewdf.js → chunk-0zwc2rvh.js} +2 -2
  68. package/web/{chunk-ht4mx2dt.js → chunk-1gx0zpmp.js} +7 -7
  69. package/web/{chunk-q3jevm51.js → chunk-1s8zg6fb.js} +51 -51
  70. package/web/chunk-2axwda8c.js +89 -0
  71. package/web/chunk-2p3fkhy8.js +1 -0
  72. package/web/{chunk-tz4twwmw.js → chunk-33w36n91.js} +2 -2
  73. package/web/{chunk-1s53190z.js → chunk-3q0v8w45.js} +81 -81
  74. package/web/chunk-3sz5qcwj.js +1 -0
  75. package/web/chunk-433c80pc.js +1 -0
  76. package/web/chunk-48cnmhvd.js +106 -0
  77. package/web/{chunk-da7m1kva.js → chunk-4anjs6yp.js} +2 -2
  78. package/web/chunk-5r37rwq1.js +4 -0
  79. package/web/{chunk-pjz30xcp.js → chunk-6e38yf3a.js} +23 -23
  80. package/web/{chunk-xckxtfp8.js → chunk-7a4xk6j9.js} +72 -72
  81. package/web/chunk-7f1t7z72.js +2 -0
  82. package/web/chunk-7qq1ypvj.js +1 -0
  83. package/web/{chunk-h6k1x096.js → chunk-7tkgbbf9.js} +2 -2
  84. package/web/chunk-7x35g67d.js +78 -0
  85. package/web/{chunk-xbpc6x9m.js → chunk-823b7866.js} +15 -15
  86. package/web/chunk-85gdsmt4.js +1 -0
  87. package/web/{chunk-gyp6v7jd.js → chunk-8773nwdc.js} +2 -2
  88. package/web/{chunk-2cem4sv7.js → chunk-8dp7h6w8.js} +24 -24
  89. package/web/{chunk-y99ed8rd.js → chunk-8nv7q5ac.js} +9 -9
  90. package/web/chunk-8pzg8qw4.js +1 -0
  91. package/web/chunk-8wg44w91.js +2 -0
  92. package/web/chunk-9p5dfvav.js +1 -0
  93. package/web/chunk-9q9w9pay.js +1 -0
  94. package/web/chunk-a3teqvz2.js +39 -0
  95. package/web/chunk-bd8ftfxn.js +3 -0
  96. package/web/chunk-c03bt2pz.js +1 -0
  97. package/web/chunk-c1ha2xg6.js +8 -0
  98. package/web/chunk-cez1k71m.js +1 -0
  99. package/web/chunk-cgng31df.js +1 -0
  100. package/web/chunk-cn0tmwjs.js +2 -0
  101. package/web/{chunk-t6sq85s6.js → chunk-cn1xpg3q.js} +2 -2
  102. package/web/chunk-cvd4f51j.js +1 -0
  103. package/web/chunk-cybvxssy.js +1 -0
  104. package/web/{chunk-geh05ghh.js → chunk-cyjnert7.js} +19 -19
  105. package/web/{chunk-twdy2f67.js → chunk-d0m0h0eb.js} +1 -1
  106. package/web/{chunk-sn3tkwme.js → chunk-dgwkqcz6.js} +37 -37
  107. package/web/{chunk-nfvqjzz5.js → chunk-dtg5yhhs.js} +1 -1
  108. package/web/chunk-dynajx8x.js +2 -0
  109. package/web/{chunk-svh4n157.js → chunk-et8q775x.js} +4 -4
  110. package/web/chunk-f3vv7n52.js +1 -0
  111. package/web/{chunk-tmndcktk.js → chunk-f93pe4kb.js} +15 -15
  112. package/web/{chunk-5nda24gv.js → chunk-fe31sv6t.js} +1 -1
  113. package/web/chunk-fpa81dv7.js +62 -0
  114. package/web/{chunk-4q7wf0wd.js → chunk-fx4mackk.js} +9 -9
  115. package/web/chunk-g17n6asp.js +1 -0
  116. package/web/chunk-g9dzaw9e.js +30 -0
  117. package/web/chunk-gcwhx3av.js +1139 -0
  118. package/web/chunk-gf8vm6b5.js +1 -0
  119. package/web/chunk-gnmeyy4h.js +1 -0
  120. package/web/chunk-h5cfg3vv.js +2 -0
  121. package/web/{chunk-femhej5w.js → chunk-hbkasy6c.js} +46 -46
  122. package/web/chunk-hn7mhsbg.js +1 -0
  123. package/web/{chunk-tfn0rqg9.js → chunk-hstbgb83.js} +26 -26
  124. package/web/chunk-jjjtv2r1.js +2 -0
  125. package/web/chunk-jzte2phh.js +2 -0
  126. package/web/chunk-k8h8zx6r.js +24 -0
  127. package/web/chunk-m3ajw575.js +1 -0
  128. package/web/chunk-m5y2d4zv.js +1 -0
  129. package/web/chunk-mbwwj216.js +1 -0
  130. package/web/chunk-mf6xng5b.js +2 -0
  131. package/web/chunk-nky3bqfg.js +1 -0
  132. package/web/chunk-np33kmn4.js +1 -0
  133. package/web/chunk-nvk8mazs.js +1 -0
  134. package/web/chunk-nyw5ewgv.js +1 -0
  135. package/web/{chunk-dg3p8db5.js → chunk-p0cjvjdx.js} +1 -1
  136. package/web/chunk-p56dcqpr.js +1 -0
  137. package/web/chunk-pdn4r8x4.js +1 -0
  138. package/web/chunk-q1xxs319.js +41 -0
  139. package/web/chunk-qpt34d8d.js +1 -0
  140. package/web/{chunk-4fm55fgb.js → chunk-qq2v8h6d.js} +7 -7
  141. package/web/chunk-qskt3tqa.js +1 -0
  142. package/web/chunk-qt3n897m.js +4 -0
  143. package/web/chunk-r1rt48h9.js +1 -0
  144. package/web/{chunk-4sve9xrj.js → chunk-r4ffr96e.js} +1 -1
  145. package/web/chunk-r7tgd2fm.js +7 -0
  146. package/web/{chunk-gksf7cek.js → chunk-rbdvc8x7.js} +7 -7
  147. package/web/{chunk-q97hn4j5.js → chunk-rkjkynm3.js} +33 -33
  148. package/web/chunk-rznszqmy.js +1 -0
  149. package/web/chunk-s1pefd34.js +1 -0
  150. package/web/chunk-s38s9ff9.js +370 -0
  151. package/web/{chunk-n754s8xd.js → chunk-s7e93552.js} +8 -8
  152. package/web/chunk-sc29azev.js +1 -0
  153. package/web/{chunk-czjk218p.js → chunk-sda7cyrt.js} +52 -52
  154. package/web/chunk-svh2gkx8.js +2 -0
  155. package/web/chunk-t4jc4nac.js +1 -0
  156. package/web/chunk-t7g366a5.js +24 -0
  157. package/web/chunk-tj1fn8v2.js +1 -0
  158. package/web/{chunk-sy7e4dmq.js → chunk-tkp72r9b.js} +1 -1
  159. package/web/{chunk-5wbnjjhg.js → chunk-v14s4vgc.js} +1 -1
  160. package/web/chunk-v94v68xg.js +36 -0
  161. package/web/{chunk-0whceqes.js → chunk-vvvd3grf.js} +2 -2
  162. package/web/chunk-w37n09px.js +21 -0
  163. package/web/chunk-wcphswcx.js +2 -0
  164. package/web/{chunk-aangfjqc.js → chunk-wj3ymejj.js} +38 -38
  165. package/web/chunk-wwcnvyjh.css +1 -0
  166. package/web/{chunk-e8yj05t1.js → chunk-xabcx3ry.js} +6 -6
  167. package/web/chunk-xb9m0092.js +1 -0
  168. package/web/chunk-xfd3b01q.js +1 -0
  169. package/web/{chunk-4vjnrz87.js → chunk-xqyazzm7.js} +17 -17
  170. package/web/{chunk-bdydzbqk.js → chunk-xsz1dfm2.js} +23 -23
  171. package/web/chunk-z0zrp8n8.js +1 -0
  172. package/web/index.html +1 -1
  173. package/worker.js +1 -1
  174. package/chunk-654cny9a.js +0 -480
  175. package/chunk-8saewt61.js +0 -3
  176. package/chunk-a0c989ky.js +0 -2
  177. package/chunk-a5apjjcn.js +0 -16
  178. package/chunk-a81p46j7.js +0 -2
  179. package/chunk-agsfy9w7.js +0 -2
  180. package/chunk-d20p02ny.js +0 -2
  181. package/chunk-ejsneb6f.js +0 -2
  182. package/chunk-fmq3zwzk.js +0 -2
  183. package/chunk-rfb85nj7.js +0 -2
  184. package/chunk-rfdt992v.js +0 -25
  185. package/web/chunk-079091ar.js +0 -39
  186. package/web/chunk-083r4f80.js +0 -1
  187. package/web/chunk-0cng7r2x.js +0 -2
  188. package/web/chunk-0k0ande6.js +0 -1
  189. package/web/chunk-14deqqhr.js +0 -2
  190. package/web/chunk-2b63adsj.js +0 -89
  191. package/web/chunk-3baypnwn.js +0 -4
  192. package/web/chunk-4067nwjp.js +0 -19
  193. package/web/chunk-59678wmg.js +0 -1
  194. package/web/chunk-5k8sv4f5.js +0 -1
  195. package/web/chunk-5vjhvw1m.js +0 -2
  196. package/web/chunk-6ft5pz3c.js +0 -1
  197. package/web/chunk-7c8rwqtx.js +0 -1
  198. package/web/chunk-7qzz025k.js +0 -1
  199. package/web/chunk-7xbaqqd7.css +0 -1
  200. package/web/chunk-80eyv2mk.js +0 -1
  201. package/web/chunk-89paytbk.js +0 -4
  202. package/web/chunk-8ceej2g7.js +0 -1
  203. package/web/chunk-8nyhy122.js +0 -1
  204. package/web/chunk-989jq2h8.js +0 -2
  205. package/web/chunk-9w5tf22s.js +0 -1
  206. package/web/chunk-c3nn0vvc.js +0 -1
  207. package/web/chunk-cpwtt6ny.js +0 -1
  208. package/web/chunk-dsw5t58p.js +0 -1
  209. package/web/chunk-dv72fat3.js +0 -1
  210. package/web/chunk-dvvs1jjq.js +0 -3
  211. package/web/chunk-e131rg6p.js +0 -2
  212. package/web/chunk-ekw54h1q.js +0 -1
  213. package/web/chunk-hwsvhst3.js +0 -1
  214. package/web/chunk-k02b36g1.js +0 -62
  215. package/web/chunk-kkfrs7d1.js +0 -41
  216. package/web/chunk-kkyn8yhj.js +0 -106
  217. package/web/chunk-mh4rx5cf.js +0 -1
  218. package/web/chunk-n448vaba.js +0 -1
  219. package/web/chunk-n8j88qxy.js +0 -1
  220. package/web/chunk-nmpbsvwb.js +0 -2
  221. package/web/chunk-nws1s56b.js +0 -1
  222. package/web/chunk-p7126wwy.js +0 -7
  223. package/web/chunk-phnqnhj9.js +0 -1
  224. package/web/chunk-qg31p6cn.js +0 -1
  225. package/web/chunk-qhm3cfq9.js +0 -1
  226. package/web/chunk-qsd595b9.js +0 -1
  227. package/web/chunk-r7frwjqx.js +0 -2
  228. package/web/chunk-rddft5ce.js +0 -1139
  229. package/web/chunk-rgbdf2m9.js +0 -370
  230. package/web/chunk-rsbkbg6x.js +0 -78
  231. package/web/chunk-s2bs5vxh.js +0 -2
  232. package/web/chunk-sgwccs54.js +0 -1
  233. package/web/chunk-sjh8gtm9.js +0 -30
  234. package/web/chunk-t3658ehb.js +0 -2
  235. package/web/chunk-t81p4wqc.js +0 -24
  236. package/web/chunk-tewmsd7t.js +0 -1
  237. package/web/chunk-tf57s7ry.js +0 -1
  238. package/web/chunk-tqr80b5w.js +0 -2
  239. package/web/chunk-v282r683.js +0 -24
  240. package/web/chunk-v4vjjtn7.js +0 -1
  241. package/web/chunk-vbwdwcdp.js +0 -1
  242. package/web/chunk-vjngfh0q.js +0 -1
  243. package/web/chunk-vnt34mkb.js +0 -1
  244. package/web/chunk-wbgkwxrc.js +0 -1
  245. package/web/chunk-wjbk50hn.js +0 -2
  246. package/web/chunk-wjy848e2.js +0 -1
  247. package/web/chunk-wqsczy57.js +0 -36
  248. package/web/chunk-wvfmmw1v.js +0 -8
  249. package/web/chunk-x1jm4zsg.js +0 -1
  250. package/web/chunk-xmsb2g71.js +0 -1
@@ -1,9 +1,9 @@
1
- import{e,a,Re,O,en,v,C,S,E,T,A,R,L,l,p,M,ze,ue,oe,se,Ye,ge,ye}from"./chunk-1s53190z.js";import{$t}from"./chunk-5vjhvw1m.js";import{je}from"./chunk-dg3p8db5.js";import{he}from"./chunk-r7frwjqx.js";import{le}from"./chunk-989jq2h8.js";var tt=function(){var s=e(function(W,b,k,m){for(k=k||{},m=W.length;m--;k[W[m]]=b);return k},"o"),r=[1,18],n=[1,19],u=[1,20],o=[1,41],d=[1,26],f=[1,42],h=[1,24],y=[1,25],D=[1,32],V=[1,33],J=[1,34],B=[1,45],ve=[1,35],Ie=[1,36],Oe=[1,37],we=[1,38],Me=[1,27],Pe=[1,28],Ve=[1,29],Ge=[1,30],Ue=[1,31],_=[1,44],N=[1,46],x=[1,43],I=[1,47],Ke=[1,9],g=[1,8,9],be=[1,58],fe=[1,59],ke=[1,60],me=[1,61],Ce=[1,62],We=[1,63],Qe=[1,64],G=[1,8,9,41],st=[1,77],H=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],Ee=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],Te=[13,60,86,100,102,103],Z=[13,60,73,74,86,100,102,103],it=[13,60,68,69,70,71,72,86,100,102,103],De=[1,103],ee=[1,121],te=[1,117],ie=[1,113],ae=[1,119],re=[1,114],ne=[1,115],ce=[1,116],de=[1,118],pe=[1,120],at=[22,50,60,61,82,86,87,88,89,90],rt=[1,128],Fe=[12,39],Xe=[1,8,9,39,41,44,46],Be=[1,8,9,22],nt=[1,153],lt=[1,8,9,61],Y=[1,8,9,22,50,60,61,82,86,87,88,89,90],He={trace:e(function(){},"trace"),yy:{},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,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE: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},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:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",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"},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],[38,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,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]],performAction:e(function(b,k,m,c,F,t,Ae){var i=t.length-1;switch(F){case 8:this.$=t[i-1];break;case 9:case 10:case 13:case 15:this.$=t[i];break;case 11:case 14:this.$=t[i-2]+"."+t[i];break;case 12:case 16:this.$=t[i-1]+t[i];break;case 17:case 18:this.$=t[i-1]+"~"+t[i]+"~";break;case 19:c.addRelation(t[i]);break;case 20:t[i-1].title=c.cleanupLabel(t[i]),c.addRelation(t[i-1]);break;case 31:this.$=t[i].trim(),c.setAccTitle(this.$);break;case 32:case 33:this.$=t[i].trim(),c.setAccDescription(this.$);break;case 34:c.addClassesToNamespace(t[i-3],t[i-1][0],t[i-1][1]),c.popNamespace();break;case 35:c.addClassesToNamespace(t[i-4],t[i-1][0],t[i-1][1]),c.popNamespace();break;case 36:this.$=c.addNamespace(t[i]);break;case 37:this.$=c.addNamespace(t[i-1],t[i]);break;case 38:this.$=[[t[i]],[]];break;case 39:this.$=[[t[i-1]],[]];break;case 40:t[i][0].unshift(t[i-2]),this.$=t[i];break;case 41:this.$=[[],[t[i]]];break;case 42:this.$=[[],[t[i-1]]];break;case 43:t[i][1].unshift(t[i-2]),this.$=t[i];break;case 44:case 45:this.$=[[],[]];break;case 46:this.$=t[i];break;case 48:c.setCssClass(t[i-2],t[i]);break;case 49:c.addMembers(t[i-3],t[i-1]);break;case 51:c.setCssClass(t[i-5],t[i-3]),c.addMembers(t[i-5],t[i-1]);break;case 52:c.addAnnotation(t[i-3],t[i-1]);break;case 53:c.addAnnotation(t[i-6],t[i-4]),c.addMembers(t[i-6],t[i-1]);break;case 54:c.addAnnotation(t[i-5],t[i-3]);break;case 55:this.$=t[i],c.addClass(t[i]);break;case 56:this.$=t[i-1],c.addClass(t[i-1]),c.setClassLabel(t[i-1],t[i]);break;case 60:c.addAnnotation(t[i],t[i-2]);break;case 61:case 74:this.$=[t[i]];break;case 62:t[i].push(t[i-1]),this.$=t[i];break;case 63:break;case 64:c.addMember(t[i-1],c.cleanupLabel(t[i]));break;case 65:break;case 66:break;case 67:this.$={id1:t[i-2],id2:t[i],relation:t[i-1],relationTitle1:"none",relationTitle2:"none"};break;case 68:this.$={id1:t[i-3],id2:t[i],relation:t[i-1],relationTitle1:t[i-2],relationTitle2:"none"};break;case 69:this.$={id1:t[i-3],id2:t[i],relation:t[i-2],relationTitle1:"none",relationTitle2:t[i-1]};break;case 70:this.$={id1:t[i-4],id2:t[i],relation:t[i-2],relationTitle1:t[i-3],relationTitle2:t[i-1]};break;case 71:this.$=c.addNote(t[i],t[i-1]);break;case 72:this.$=c.addNote(t[i]);break;case 73:this.$=t[i-2],c.defineClass(t[i-1],t[i]);break;case 75:this.$=t[i-2].concat([t[i]]);break;case 76:c.setDirection("TB");break;case 77:c.setDirection("BT");break;case 78:c.setDirection("RL");break;case 79:c.setDirection("LR");break;case 80:this.$={type1:t[i-2],type2:t[i],lineType:t[i-1]};break;case 81:this.$={type1:"none",type2:t[i],lineType:t[i-1]};break;case 82:this.$={type1:t[i-1],type2:"none",lineType:t[i]};break;case 83:this.$={type1:"none",type2:"none",lineType:t[i]};break;case 84:this.$=c.relationType.AGGREGATION;break;case 85:this.$=c.relationType.EXTENSION;break;case 86:this.$=c.relationType.COMPOSITION;break;case 87:this.$=c.relationType.DEPENDENCY;break;case 88:this.$=c.relationType.LOLLIPOP;break;case 89:this.$=c.lineType.LINE;break;case 90:this.$=c.lineType.DOTTED_LINE;break;case 91:case 97:this.$=t[i-2],c.setClickEvent(t[i-1],t[i]);break;case 92:case 98:this.$=t[i-3],c.setClickEvent(t[i-2],t[i-1]),c.setTooltip(t[i-2],t[i]);break;case 93:this.$=t[i-2],c.setLink(t[i-1],t[i]);break;case 94:this.$=t[i-3],c.setLink(t[i-2],t[i-1],t[i]);break;case 95:this.$=t[i-3],c.setLink(t[i-2],t[i-1]),c.setTooltip(t[i-2],t[i]);break;case 96:this.$=t[i-4],c.setLink(t[i-3],t[i-2],t[i]),c.setTooltip(t[i-3],t[i-1]);break;case 99:this.$=t[i-3],c.setClickEvent(t[i-2],t[i-1],t[i]);break;case 100:this.$=t[i-4],c.setClickEvent(t[i-3],t[i-2],t[i-1]),c.setTooltip(t[i-3],t[i]);break;case 101:this.$=t[i-3],c.setLink(t[i-2],t[i]);break;case 102:this.$=t[i-4],c.setLink(t[i-3],t[i-1],t[i]);break;case 103:this.$=t[i-4],c.setLink(t[i-3],t[i-1]),c.setTooltip(t[i-3],t[i]);break;case 104:this.$=t[i-5],c.setLink(t[i-4],t[i-2],t[i]),c.setTooltip(t[i-4],t[i-1]);break;case 105:this.$=t[i-2],c.setCssStyle(t[i-1],t[i]);break;case 106:c.setCssClass(t[i-1],t[i]);break;case 107:this.$=[t[i]];break;case 108:t[i-2].push(t[i]),this.$=t[i-2];break;case 110:this.$=t[i-1]+t[i];break}},"anonymous"),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:r,35:n,37:u,38:22,42:o,43:23,46:d,48:f,51:h,52:y,54:D,56:V,57:J,60:B,62:ve,63:Ie,64:Oe,65:we,75:Me,76:Pe,78:Ve,82:Ge,83:Ue,86:_,100:N,102:x,103:I},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},s(Ke,[2,5],{8:[1,48]}),{8:[1,49]},s(g,[2,19],{22:[1,50]}),s(g,[2,21]),s(g,[2,22]),s(g,[2,23]),s(g,[2,24]),s(g,[2,25]),s(g,[2,26]),s(g,[2,27]),s(g,[2,28]),s(g,[2,29]),s(g,[2,30]),{34:[1,51]},{36:[1,52]},s(g,[2,33]),s(g,[2,63],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:be,69:fe,70:ke,71:me,72:Ce,73:We,74:Qe}),{39:[1,65]},s(G,[2,47],{39:[1,67],44:[1,66],46:[1,68]}),s(g,[2,65]),s(g,[2,66]),{16:69,60:B,86:_,100:N,102:x},{16:39,17:40,19:70,60:B,86:_,100:N,102:x,103:I},{16:39,17:40,19:71,60:B,86:_,100:N,102:x,103:I},{16:39,17:40,19:72,60:B,86:_,100:N,102:x,103:I},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:B,86:_,100:N,102:x,103:I},{13:st,55:76},{58:78,60:[1,79]},s(g,[2,76]),s(g,[2,77]),s(g,[2,78]),s(g,[2,79]),s(H,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:B,86:_,100:N,102:x,103:I}),s(H,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:B,86:_,100:N,102:x,103:I},{16:39,17:40,19:87,60:B,86:_,100:N,102:x,103:I},s(Ee,[2,133]),s(Ee,[2,134]),s(Ee,[2,135]),s(Ee,[2,136]),s([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,137]),s(Ke,[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:88,33:r,35:n,37:u,42:o,46:d,48:f,51:h,52:y,54:D,56:V,57:J,60:B,62:ve,63:Ie,64:Oe,65:we,75:Me,76:Pe,78:Ve,82:Ge,83:Ue,86:_,100:N,102:x,103:I}),{5:89,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:r,35:n,37:u,38:22,42:o,43:23,46:d,48:f,51:h,52:y,54:D,56:V,57:J,60:B,62:ve,63:Ie,64:Oe,65:we,75:Me,76:Pe,78:Ve,82:Ge,83:Ue,86:_,100:N,102:x,103:I},s(g,[2,20]),s(g,[2,31]),s(g,[2,32]),{13:[1,91],16:39,17:40,19:90,60:B,86:_,100:N,102:x,103:I},{53:92,66:56,67:57,68:be,69:fe,70:ke,71:me,72:Ce,73:We,74:Qe},s(g,[2,64]),{67:93,73:We,74:Qe},s(Te,[2,83],{66:94,68:be,69:fe,70:ke,71:me,72:Ce}),s(Z,[2,84]),s(Z,[2,85]),s(Z,[2,86]),s(Z,[2,87]),s(Z,[2,88]),s(it,[2,89]),s(it,[2,90]),{8:[1,96],23:99,24:97,30:98,38:22,40:95,42:o,43:23,48:f,54:D,56:V},{16:100,60:B,86:_,100:N,102:x},{41:[1,102],45:101,51:De},{16:104,60:B,86:_,100:N,102:x},{47:[1,105]},{13:[1,106]},{13:[1,107]},{79:[1,108],81:[1,109]},{22:ee,50:te,59:110,60:ie,82:ae,84:111,85:112,86:re,87:ne,88:ce,89:de,90:pe},{60:[1,122]},{13:st,55:123},s(G,[2,72]),s(G,[2,138]),{22:ee,50:te,59:124,60:ie,61:[1,125],82:ae,84:111,85:112,86:re,87:ne,88:ce,89:de,90:pe},s(at,[2,74]),{16:39,17:40,19:126,60:B,86:_,100:N,102:x,103:I},s(H,[2,16]),s(H,[2,17]),s(H,[2,18]),{11:127,12:rt,39:[2,36]},s(Fe,[2,9],{16:85,17:86,15:130,18:[1,129],60:B,86:_,100:N,102:x,103:I}),s(Fe,[2,10]),s(Xe,[2,55],{11:131,12:rt}),s(Ke,[2,7]),{9:[1,132]},s(Be,[2,67]),{16:39,17:40,19:133,60:B,86:_,100:N,102:x,103:I},{13:[1,135],16:39,17:40,19:134,60:B,86:_,100:N,102:x,103:I},s(Te,[2,82],{66:136,68:be,69:fe,70:ke,71:me,72:Ce}),s(Te,[2,81]),{41:[1,137]},{23:99,24:97,30:98,38:22,40:138,42:o,43:23,48:f,54:D,56:V},{8:[1,139],41:[2,38]},{8:[1,140],41:[2,41]},{8:[1,141],41:[2,44]},s(G,[2,48],{39:[1,142]}),{41:[1,143]},s(G,[2,50]),{41:[2,61],45:144,51:De},{47:[1,145]},{16:39,17:40,19:146,60:B,86:_,100:N,102:x,103:I},s(g,[2,91],{13:[1,147]}),s(g,[2,93],{13:[1,149],77:[1,148]}),s(g,[2,97],{13:[1,150],80:[1,151]}),{13:[1,152]},s(g,[2,105],{61:nt}),s(lt,[2,107],{85:154,22:ee,50:te,60:ie,82:ae,86:re,87:ne,88:ce,89:de,90:pe}),s(Y,[2,109]),s(Y,[2,111]),s(Y,[2,112]),s(Y,[2,113]),s(Y,[2,114]),s(Y,[2,115]),s(Y,[2,116]),s(Y,[2,117]),s(Y,[2,118]),s(Y,[2,119]),s(g,[2,106]),s(G,[2,71]),s(g,[2,73],{61:nt}),{60:[1,155]},s(H,[2,14]),{39:[2,37]},{13:[1,156]},{15:157,16:85,17:86,60:B,86:_,100:N,102:x,103:I},s(Fe,[2,12]),s(Xe,[2,56]),{1:[2,4]},s(Be,[2,69]),s(Be,[2,68]),{16:39,17:40,19:158,60:B,86:_,100:N,102:x,103:I},s(Te,[2,80]),s(G,[2,34]),{41:[1,159]},{23:99,24:97,30:98,38:22,40:160,41:[2,39],42:o,43:23,48:f,54:D,56:V},{23:99,24:97,30:98,38:22,40:161,41:[2,42],42:o,43:23,48:f,54:D,56:V},{23:99,24:97,30:98,38:22,40:162,41:[2,45],42:o,43:23,48:f,54:D,56:V},{45:163,51:De},s(G,[2,49]),{41:[2,62]},s(G,[2,52],{39:[1,164]}),s(g,[2,60]),s(g,[2,92]),s(g,[2,94]),s(g,[2,95],{77:[1,165]}),s(g,[2,98]),s(g,[2,99],{13:[1,166]}),s(g,[2,101],{13:[1,168],77:[1,167]}),{22:ee,50:te,60:ie,82:ae,84:169,85:112,86:re,87:ne,88:ce,89:de,90:pe},s(Y,[2,110]),s(at,[2,75]),{14:[1,170]},s(Fe,[2,11]),s(Be,[2,70]),s(G,[2,35]),{41:[2,40]},{41:[2,43]},{41:[2,46]},{41:[1,171]},{41:[1,173],45:172,51:De},s(g,[2,96]),s(g,[2,100]),s(g,[2,102]),s(g,[2,103],{77:[1,174]}),s(lt,[2,108],{85:154,22:ee,50:te,60:ie,82:ae,86:re,87:ne,88:ce,89:de,90:pe}),s(Xe,[2,8]),s(G,[2,51]),{41:[1,175]},s(G,[2,54]),s(g,[2,104]),s(G,[2,53])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],127:[2,37],132:[2,4],144:[2,62],160:[2,40],161:[2,43],162:[2,46]},parseError:e(function(b,k){if(k.recoverable)this.trace(b);else{var m=Error(b);throw m.hash=k,m}},"parseError"),parse:e(function(b){var k=this,m=[0],c=[],F=[null],t=[],Ae=this.table,i="",Se=0,ut=0,ot=0,kt=2,ct=1,mt=t.slice.call(arguments,1),w=Object.create(this.lexer),Q={yy:{}};for(var qe in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,qe))Q.yy[qe]=this.yy[qe];if(w.setInput(b,Q.yy),Q.yy.lexer=w,Q.yy.parser=this,typeof w.yylloc>"u")w.yylloc={};var Je=w.yylloc;t.push(Je);var gt=w.options&&w.options.ranges;if(typeof Q.yy.parseError==="function")this.parseError=Q.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Ct(z){m.length=m.length-2*z,F.length=F.length-z,t.length=t.length-z}e(Ct,"popStack");function ht(){var z=c.pop()||w.lex()||ct;if(typeof z!=="number"){if(z instanceof Array)c=z,z=c.pop();z=k.symbols_[z]||z}return z}e(ht,"lex");var P,Ze,j,U,Lt,$e,q={},Ne,K,dt,Le;while(!0){if(j=m[m.length-1],this.defaultActions[j])U=this.defaultActions[j];else{if(P===null||typeof P>"u")P=ht();U=Ae[j]&&Ae[j][P]}if(typeof U>"u"||!U.length||!U[0]){var et="";Le=[];for(Ne in Ae[j])if(this.terminals_[Ne]&&Ne>kt)Le.push("'"+this.terminals_[Ne]+"'");if(w.showPosition)et="Parse error on line "+(Se+1)+`:
1
+ import{t,a,Re,O,en,v,C,S,E,T,A,L,R,l,p,M,ze,pe,se,le,Ye,ye,ve}from"./chunk-3q0v8w45.js";import{Ft}from"./chunk-8wg44w91.js";import{je}from"./chunk-p0cjvjdx.js";import{ge}from"./chunk-cn0tmwjs.js";import{ue}from"./chunk-svh2gkx8.js";var tt=function(){var s=t(function(W,b,k,m){for(k=k||{},m=W.length;m--;k[W[m]]=b);return k},"o"),r=[1,18],n=[1,19],u=[1,20],o=[1,41],d=[1,26],f=[1,42],h=[1,24],y=[1,25],D=[1,32],V=[1,33],J=[1,34],B=[1,45],xe=[1,35],Ie=[1,36],Oe=[1,37],we=[1,38],Me=[1,27],Pe=[1,28],Ve=[1,29],Ge=[1,30],Ue=[1,31],_=[1,44],N=[1,46],x=[1,43],I=[1,47],Ke=[1,9],g=[1,8,9],Ae=[1,58],be=[1,59],fe=[1,60],ke=[1,61],me=[1,62],We=[1,63],Qe=[1,64],G=[1,8,9,41],st=[1,77],H=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],Ce=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],Ee=[13,60,86,100,102,103],Z=[13,60,73,74,86,100,102,103],it=[13,60,68,69,70,71,72,86,100,102,103],Te=[1,103],ee=[1,121],te=[1,117],ie=[1,113],ae=[1,119],re=[1,114],ne=[1,115],oe=[1,116],ce=[1,118],he=[1,120],at=[22,50,60,61,82,86,87,88,89,90],rt=[1,128],De=[12,39],Xe=[1,8,9,39,41,44,46],Fe=[1,8,9,22],nt=[1,153],lt=[1,8,9,61],Y=[1,8,9,22,50,60,61,82,86,87,88,89,90],He={trace:t(function(){},"trace"),yy:{},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,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE: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},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:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",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"},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],[38,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,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]],performAction:t(function(b,k,m,c,F,e,de){var i=e.length-1;switch(F){case 8:this.$=e[i-1];break;case 9:case 10:case 13:case 15:this.$=e[i];break;case 11:case 14:this.$=e[i-2]+"."+e[i];break;case 12:case 16:this.$=e[i-1]+e[i];break;case 17:case 18:this.$=e[i-1]+"~"+e[i]+"~";break;case 19:c.addRelation(e[i]);break;case 20:e[i-1].title=c.cleanupLabel(e[i]),c.addRelation(e[i-1]);break;case 31:this.$=e[i].trim(),c.setAccTitle(this.$);break;case 32:case 33:this.$=e[i].trim(),c.setAccDescription(this.$);break;case 34:c.addClassesToNamespace(e[i-3],e[i-1][0],e[i-1][1]),c.popNamespace();break;case 35:c.addClassesToNamespace(e[i-4],e[i-1][0],e[i-1][1]),c.popNamespace();break;case 36:this.$=c.addNamespace(e[i]);break;case 37:this.$=c.addNamespace(e[i-1],e[i]);break;case 38:this.$=[[e[i]],[]];break;case 39:this.$=[[e[i-1]],[]];break;case 40:e[i][0].unshift(e[i-2]),this.$=e[i];break;case 41:this.$=[[],[e[i]]];break;case 42:this.$=[[],[e[i-1]]];break;case 43:e[i][1].unshift(e[i-2]),this.$=e[i];break;case 44:case 45:this.$=[[],[]];break;case 46:this.$=e[i];break;case 48:c.setCssClass(e[i-2],e[i]);break;case 49:c.addMembers(e[i-3],e[i-1]);break;case 51:c.setCssClass(e[i-5],e[i-3]),c.addMembers(e[i-5],e[i-1]);break;case 52:c.addAnnotation(e[i-3],e[i-1]);break;case 53:c.addAnnotation(e[i-6],e[i-4]),c.addMembers(e[i-6],e[i-1]);break;case 54:c.addAnnotation(e[i-5],e[i-3]);break;case 55:this.$=e[i],c.addClass(e[i]);break;case 56:this.$=e[i-1],c.addClass(e[i-1]),c.setClassLabel(e[i-1],e[i]);break;case 60:c.addAnnotation(e[i],e[i-2]);break;case 61:case 74:this.$=[e[i]];break;case 62:e[i].push(e[i-1]),this.$=e[i];break;case 63:break;case 64:c.addMember(e[i-1],c.cleanupLabel(e[i]));break;case 65:break;case 66:break;case 67:this.$={id1:e[i-2],id2:e[i],relation:e[i-1],relationTitle1:"none",relationTitle2:"none"};break;case 68:this.$={id1:e[i-3],id2:e[i],relation:e[i-1],relationTitle1:e[i-2],relationTitle2:"none"};break;case 69:this.$={id1:e[i-3],id2:e[i],relation:e[i-2],relationTitle1:"none",relationTitle2:e[i-1]};break;case 70:this.$={id1:e[i-4],id2:e[i],relation:e[i-2],relationTitle1:e[i-3],relationTitle2:e[i-1]};break;case 71:this.$=c.addNote(e[i],e[i-1]);break;case 72:this.$=c.addNote(e[i]);break;case 73:this.$=e[i-2],c.defineClass(e[i-1],e[i]);break;case 75:this.$=e[i-2].concat([e[i]]);break;case 76:c.setDirection("TB");break;case 77:c.setDirection("BT");break;case 78:c.setDirection("RL");break;case 79:c.setDirection("LR");break;case 80:this.$={type1:e[i-2],type2:e[i],lineType:e[i-1]};break;case 81:this.$={type1:"none",type2:e[i],lineType:e[i-1]};break;case 82:this.$={type1:e[i-1],type2:"none",lineType:e[i]};break;case 83:this.$={type1:"none",type2:"none",lineType:e[i]};break;case 84:this.$=c.relationType.AGGREGATION;break;case 85:this.$=c.relationType.EXTENSION;break;case 86:this.$=c.relationType.COMPOSITION;break;case 87:this.$=c.relationType.DEPENDENCY;break;case 88:this.$=c.relationType.LOLLIPOP;break;case 89:this.$=c.lineType.LINE;break;case 90:this.$=c.lineType.DOTTED_LINE;break;case 91:case 97:this.$=e[i-2],c.setClickEvent(e[i-1],e[i]);break;case 92:case 98:this.$=e[i-3],c.setClickEvent(e[i-2],e[i-1]),c.setTooltip(e[i-2],e[i]);break;case 93:this.$=e[i-2],c.setLink(e[i-1],e[i]);break;case 94:this.$=e[i-3],c.setLink(e[i-2],e[i-1],e[i]);break;case 95:this.$=e[i-3],c.setLink(e[i-2],e[i-1]),c.setTooltip(e[i-2],e[i]);break;case 96:this.$=e[i-4],c.setLink(e[i-3],e[i-2],e[i]),c.setTooltip(e[i-3],e[i-1]);break;case 99:this.$=e[i-3],c.setClickEvent(e[i-2],e[i-1],e[i]);break;case 100:this.$=e[i-4],c.setClickEvent(e[i-3],e[i-2],e[i-1]),c.setTooltip(e[i-3],e[i]);break;case 101:this.$=e[i-3],c.setLink(e[i-2],e[i]);break;case 102:this.$=e[i-4],c.setLink(e[i-3],e[i-1],e[i]);break;case 103:this.$=e[i-4],c.setLink(e[i-3],e[i-1]),c.setTooltip(e[i-3],e[i]);break;case 104:this.$=e[i-5],c.setLink(e[i-4],e[i-2],e[i]),c.setTooltip(e[i-4],e[i-1]);break;case 105:this.$=e[i-2],c.setCssStyle(e[i-1],e[i]);break;case 106:c.setCssClass(e[i-1],e[i]);break;case 107:this.$=[e[i]];break;case 108:e[i-2].push(e[i]),this.$=e[i-2];break;case 110:this.$=e[i-1]+e[i];break}},"anonymous"),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:r,35:n,37:u,38:22,42:o,43:23,46:d,48:f,51:h,52:y,54:D,56:V,57:J,60:B,62:xe,63:Ie,64:Oe,65:we,75:Me,76:Pe,78:Ve,82:Ge,83:Ue,86:_,100:N,102:x,103:I},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},s(Ke,[2,5],{8:[1,48]}),{8:[1,49]},s(g,[2,19],{22:[1,50]}),s(g,[2,21]),s(g,[2,22]),s(g,[2,23]),s(g,[2,24]),s(g,[2,25]),s(g,[2,26]),s(g,[2,27]),s(g,[2,28]),s(g,[2,29]),s(g,[2,30]),{34:[1,51]},{36:[1,52]},s(g,[2,33]),s(g,[2,63],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:Ae,69:be,70:fe,71:ke,72:me,73:We,74:Qe}),{39:[1,65]},s(G,[2,47],{39:[1,67],44:[1,66],46:[1,68]}),s(g,[2,65]),s(g,[2,66]),{16:69,60:B,86:_,100:N,102:x},{16:39,17:40,19:70,60:B,86:_,100:N,102:x,103:I},{16:39,17:40,19:71,60:B,86:_,100:N,102:x,103:I},{16:39,17:40,19:72,60:B,86:_,100:N,102:x,103:I},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:B,86:_,100:N,102:x,103:I},{13:st,55:76},{58:78,60:[1,79]},s(g,[2,76]),s(g,[2,77]),s(g,[2,78]),s(g,[2,79]),s(H,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:B,86:_,100:N,102:x,103:I}),s(H,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:B,86:_,100:N,102:x,103:I},{16:39,17:40,19:87,60:B,86:_,100:N,102:x,103:I},s(Ce,[2,133]),s(Ce,[2,134]),s(Ce,[2,135]),s(Ce,[2,136]),s([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,137]),s(Ke,[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:88,33:r,35:n,37:u,42:o,46:d,48:f,51:h,52:y,54:D,56:V,57:J,60:B,62:xe,63:Ie,64:Oe,65:we,75:Me,76:Pe,78:Ve,82:Ge,83:Ue,86:_,100:N,102:x,103:I}),{5:89,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:r,35:n,37:u,38:22,42:o,43:23,46:d,48:f,51:h,52:y,54:D,56:V,57:J,60:B,62:xe,63:Ie,64:Oe,65:we,75:Me,76:Pe,78:Ve,82:Ge,83:Ue,86:_,100:N,102:x,103:I},s(g,[2,20]),s(g,[2,31]),s(g,[2,32]),{13:[1,91],16:39,17:40,19:90,60:B,86:_,100:N,102:x,103:I},{53:92,66:56,67:57,68:Ae,69:be,70:fe,71:ke,72:me,73:We,74:Qe},s(g,[2,64]),{67:93,73:We,74:Qe},s(Ee,[2,83],{66:94,68:Ae,69:be,70:fe,71:ke,72:me}),s(Z,[2,84]),s(Z,[2,85]),s(Z,[2,86]),s(Z,[2,87]),s(Z,[2,88]),s(it,[2,89]),s(it,[2,90]),{8:[1,96],23:99,24:97,30:98,38:22,40:95,42:o,43:23,48:f,54:D,56:V},{16:100,60:B,86:_,100:N,102:x},{41:[1,102],45:101,51:Te},{16:104,60:B,86:_,100:N,102:x},{47:[1,105]},{13:[1,106]},{13:[1,107]},{79:[1,108],81:[1,109]},{22:ee,50:te,59:110,60:ie,82:ae,84:111,85:112,86:re,87:ne,88:oe,89:ce,90:he},{60:[1,122]},{13:st,55:123},s(G,[2,72]),s(G,[2,138]),{22:ee,50:te,59:124,60:ie,61:[1,125],82:ae,84:111,85:112,86:re,87:ne,88:oe,89:ce,90:he},s(at,[2,74]),{16:39,17:40,19:126,60:B,86:_,100:N,102:x,103:I},s(H,[2,16]),s(H,[2,17]),s(H,[2,18]),{11:127,12:rt,39:[2,36]},s(De,[2,9],{16:85,17:86,15:130,18:[1,129],60:B,86:_,100:N,102:x,103:I}),s(De,[2,10]),s(Xe,[2,55],{11:131,12:rt}),s(Ke,[2,7]),{9:[1,132]},s(Fe,[2,67]),{16:39,17:40,19:133,60:B,86:_,100:N,102:x,103:I},{13:[1,135],16:39,17:40,19:134,60:B,86:_,100:N,102:x,103:I},s(Ee,[2,82],{66:136,68:Ae,69:be,70:fe,71:ke,72:me}),s(Ee,[2,81]),{41:[1,137]},{23:99,24:97,30:98,38:22,40:138,42:o,43:23,48:f,54:D,56:V},{8:[1,139],41:[2,38]},{8:[1,140],41:[2,41]},{8:[1,141],41:[2,44]},s(G,[2,48],{39:[1,142]}),{41:[1,143]},s(G,[2,50]),{41:[2,61],45:144,51:Te},{47:[1,145]},{16:39,17:40,19:146,60:B,86:_,100:N,102:x,103:I},s(g,[2,91],{13:[1,147]}),s(g,[2,93],{13:[1,149],77:[1,148]}),s(g,[2,97],{13:[1,150],80:[1,151]}),{13:[1,152]},s(g,[2,105],{61:nt}),s(lt,[2,107],{85:154,22:ee,50:te,60:ie,82:ae,86:re,87:ne,88:oe,89:ce,90:he}),s(Y,[2,109]),s(Y,[2,111]),s(Y,[2,112]),s(Y,[2,113]),s(Y,[2,114]),s(Y,[2,115]),s(Y,[2,116]),s(Y,[2,117]),s(Y,[2,118]),s(Y,[2,119]),s(g,[2,106]),s(G,[2,71]),s(g,[2,73],{61:nt}),{60:[1,155]},s(H,[2,14]),{39:[2,37]},{13:[1,156]},{15:157,16:85,17:86,60:B,86:_,100:N,102:x,103:I},s(De,[2,12]),s(Xe,[2,56]),{1:[2,4]},s(Fe,[2,69]),s(Fe,[2,68]),{16:39,17:40,19:158,60:B,86:_,100:N,102:x,103:I},s(Ee,[2,80]),s(G,[2,34]),{41:[1,159]},{23:99,24:97,30:98,38:22,40:160,41:[2,39],42:o,43:23,48:f,54:D,56:V},{23:99,24:97,30:98,38:22,40:161,41:[2,42],42:o,43:23,48:f,54:D,56:V},{23:99,24:97,30:98,38:22,40:162,41:[2,45],42:o,43:23,48:f,54:D,56:V},{45:163,51:Te},s(G,[2,49]),{41:[2,62]},s(G,[2,52],{39:[1,164]}),s(g,[2,60]),s(g,[2,92]),s(g,[2,94]),s(g,[2,95],{77:[1,165]}),s(g,[2,98]),s(g,[2,99],{13:[1,166]}),s(g,[2,101],{13:[1,168],77:[1,167]}),{22:ee,50:te,60:ie,82:ae,84:169,85:112,86:re,87:ne,88:oe,89:ce,90:he},s(Y,[2,110]),s(at,[2,75]),{14:[1,170]},s(De,[2,11]),s(Fe,[2,70]),s(G,[2,35]),{41:[2,40]},{41:[2,43]},{41:[2,46]},{41:[1,171]},{41:[1,173],45:172,51:Te},s(g,[2,96]),s(g,[2,100]),s(g,[2,102]),s(g,[2,103],{77:[1,174]}),s(lt,[2,108],{85:154,22:ee,50:te,60:ie,82:ae,86:re,87:ne,88:oe,89:ce,90:he}),s(Xe,[2,8]),s(G,[2,51]),{41:[1,175]},s(G,[2,54]),s(g,[2,104]),s(G,[2,53])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],127:[2,37],132:[2,4],144:[2,62],160:[2,40],161:[2,43],162:[2,46]},parseError:t(function(b,k){if(k.recoverable)this.trace(b);else{var m=Error(b);throw m.hash=k,m}},"parseError"),parse:t(function(b){var k=this,m=[0],c=[],F=[null],e=[],de=this.table,i="",_e=0,ut=0,ot=0,kt=2,ct=1,mt=e.slice.call(arguments,1),w=Object.create(this.lexer),Q={yy:{}};for(var qe in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,qe))Q.yy[qe]=this.yy[qe];if(w.setInput(b,Q.yy),Q.yy.lexer=w,Q.yy.parser=this,typeof w.yylloc>"u")w.yylloc={};var Je=w.yylloc;e.push(Je);var gt=w.options&&w.options.ranges;if(typeof Q.yy.parseError==="function")this.parseError=Q.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Ct(z){m.length=m.length-2*z,F.length=F.length-z,e.length=e.length-z}t(Ct,"popStack");function ht(){var z=c.pop()||w.lex()||ct;if(typeof z!=="number"){if(z instanceof Array)c=z,z=c.pop();z=k.symbols_[z]||z}return z}t(ht,"lex");var P,Ze,j,U,xt,$e,q={},Se,K,dt,Ne;while(!0){if(j=m[m.length-1],this.defaultActions[j])U=this.defaultActions[j];else{if(P===null||typeof P>"u")P=ht();U=de[j]&&de[j][P]}if(typeof U>"u"||!U.length||!U[0]){var et="";Ne=[];for(Se in de[j])if(this.terminals_[Se]&&Se>kt)Ne.push("'"+this.terminals_[Se]+"'");if(w.showPosition)et="Parse error on line "+(_e+1)+`:
2
2
  `+w.showPosition()+`
3
- Expecting `+Le.join(", ")+", got '"+(this.terminals_[P]||P)+"'";else et="Parse error on line "+(Se+1)+": Unexpected "+(P==ct?"end of input":"'"+(this.terminals_[P]||P)+"'");this.parseError(et,{text:w.match,token:this.terminals_[P]||P,line:w.yylineno,loc:Je,expected:Le})}if(U[0]instanceof Array&&U.length>1)throw Error("Parse Error: multiple actions possible at state: "+j+", token: "+P);switch(U[0]){case 1:if(m.push(P),F.push(w.yytext),t.push(w.yylloc),m.push(U[1]),P=null,!Ze){if(ut=w.yyleng,i=w.yytext,Se=w.yylineno,Je=w.yylloc,ot>0)ot--}else P=Ze,Ze=null;break;case 2:if(K=this.productions_[U[1]][1],q.$=F[F.length-K],q._$={first_line:t[t.length-(K||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(K||1)].first_column,last_column:t[t.length-1].last_column},gt)q._$.range=[t[t.length-(K||1)].range[0],t[t.length-1].range[1]];if($e=this.performAction.apply(q,[i,ut,Se,Q.yy,U[1],F,t].concat(mt)),typeof $e<"u")return $e;if(K)m=m.slice(0,-1*K*2),F=F.slice(0,-1*K),t=t.slice(0,-1*K);m.push(this.productions_[U[1]][0]),F.push(q.$),t.push(q._$),dt=Ae[m[m.length-2]][m[m.length-1]],m.push(dt);break;case 3:return!0}}return!0},"parse")},ft=function(){var W={EOF:1,parseError:e(function(k,m){if(this.yy.parser)this.yy.parser.parseError(k,m);else throw Error(k)},"parseError"),setInput:e(function(b,k){if(this.yy=k||this.yy||{},this._input=b,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:e(function(){var b=this._input[0];this.yytext+=b,this.yyleng++,this.offset++,this.match+=b,this.matched+=b;var k=b.match(/(?:\r\n?|\n).*/g);if(k)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),b},"input"),unput:e(function(b){var k=b.length,m=b.split(/(?:\r\n?|\n)/g);this._input=b+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-k),this.offset-=k;var c=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),m.length-1)this.yylineno-=m.length-1;var F=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:m?(m.length===c.length?this.yylloc.first_column:0)+c[c.length-m.length].length-m[0].length:this.yylloc.first_column-k},this.options.ranges)this.yylloc.range=[F[0],F[0]+this.yyleng-k];return this.yyleng=this.yytext.length,this},"unput"),more:e(function(){return this._more=!0,this},"more"),reject:e(function(){if(this.options.backtrack_lexer)this._backtrack=!0;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).
4
- `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:e(function(b){this.unput(this.match.slice(b))},"less"),pastInput:e(function(){var b=this.matched.substr(0,this.matched.length-this.match.length);return(b.length>20?"...":"")+b.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:e(function(){var b=this.match;if(b.length<20)b+=this._input.substr(0,20-b.length);return(b.substr(0,20)+(b.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:e(function(){var b=this.pastInput(),k=Array(b.length+1).join("-");return b+this.upcomingInput()+`
5
- `+k+"^"},"showPosition"),test_match:e(function(b,k){var m,c,F;if(this.options.backtrack_lexer){if(F={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges)F.yylloc.range=this.yylloc.range.slice(0)}if(c=b[0].match(/(?:\r\n?|\n).*/g),c)this.yylineno+=c.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:c?c[c.length-1].length-c[c.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+b[0].length},this.yytext+=b[0],this.match+=b[0],this.matches=b,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(b[0].length),this.matched+=b[0],m=this.performAction.call(this,this.yy,this,k,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(m)return m;else if(this._backtrack){for(var t in F)this[t]=F[t];return!1}return!1},"test_match"),next:e(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var b,k,m,c;if(!this._more)this.yytext="",this.match="";var F=this._currentRules();for(var t=0;t<F.length;t++)if(m=this._input.match(this.rules[F[t]]),m&&(!k||m[0].length>k[0].length)){if(k=m,c=t,this.options.backtrack_lexer)if(b=this.test_match(m,F[t]),b!==!1)return b;else if(this._backtrack){k=!1;continue}else return!1;else if(!this.options.flex)break}if(k){if(b=this.test_match(k,F[c]),b!==!1)return b;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
- `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:e(function(){var k=this.next();if(k)return k;else return this.lex()},"lex"),begin:e(function(k){this.conditionStack.push(k)},"begin"),popState:e(function(){var k=this.conditionStack.length-1;if(k>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:e(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:e(function(k){if(k=this.conditionStack.length-1-Math.abs(k||0),k>=0)return this.conditionStack[k];else return"INITIAL"},"topState"),pushState:e(function(k){this.begin(k)},"pushState"),stateStackSize:e(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:e(function(k,m,c,F){var t=F;switch(c){case 0:return 62;case 1:return 63;case 2:return 64;case 3:return 65;case 4:break;case 5:break;case 6:return this.begin("acc_title"),33;break;case 7:return this.popState(),"acc_title_value";break;case 8:return this.begin("acc_descr"),35;break;case 9:return this.popState(),"acc_descr_value";break;case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 8;case 14:break;case 15:return 7;case 16:return 7;case 17:return"EDGE_STATE";case 18:this.begin("callback_name");break;case 19:this.popState();break;case 20:this.popState(),this.begin("callback_args");break;case 21:return 79;case 22:this.popState();break;case 23:return 80;case 24:this.popState();break;case 25:return"STR";case 26:this.begin("string");break;case 27:return 82;case 28:return 57;case 29:return this.begin("namespace"),42;break;case 30:return this.popState(),8;break;case 31:break;case 32:return this.begin("namespace-body"),39;break;case 33:this.popState(),this.less(0);break;case 34:return this.popState(),41;break;case 35:return"EOF_IN_STRUCT";case 36:return 8;case 37:break;case 38:return"EDGE_STATE";case 39:return this.begin("class"),48;break;case 40:return this.popState(),8;break;case 41:break;case 42:return this.popState(),this.popState(),41;break;case 43:return this.begin("class-body"),39;break;case 44:return this.popState(),41;break;case 45:return"EOF_IN_STRUCT";case 46:return"EDGE_STATE";case 47:return"OPEN_IN_STRUCT";case 48:break;case 49:return"MEMBER";case 50:return 83;case 51:return 75;case 52:return 76;case 53:return 78;case 54:return 54;case 55:return 56;case 56:return 46;case 57:return 47;case 58:return 81;case 59:this.popState();break;case 60:return"GENERICTYPE";case 61:this.begin("generic");break;case 62:this.popState();break;case 63:return"BQUOTE_STR";case 64:this.begin("bqstring");break;case 65:return 77;case 66:return 77;case 67:return 77;case 68:return 77;case 69:return 69;case 70:return 69;case 71:return 71;case 72:return 71;case 73:return 70;case 74:return 68;case 75:return 72;case 76:return 73;case 77:return 74;case 78:return 22;case 79:return 44;case 80:return 100;case 81:return 18;case 82:return"PLUS";case 83:return 87;case 84:return 61;case 85:return 89;case 86:return 89;case 87:return 90;case 88:return"EQUALS";case 89:return"EQUALS";case 90:return 60;case 91:return 12;case 92:return 14;case 93:return"PUNCTUATION";case 94:return 86;case 95:return 102;case 96:return 50;case 97:return 50;case 98:return 9}},"anonymous"),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)/,/^(?:$)/],conditions:{"namespace-body":{rules:[26,29,34,35,36,37,38,39,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},namespace:{rules:[26,29,30,31,32,33,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},"class-body":{rules:[26,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},class:{rules:[26,40,41,42,43,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},acc_descr_multiline:{rules:[11,12,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},acc_descr:{rules:[9,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},acc_title:{rules:[7,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},callback_args:{rules:[22,23,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},callback_name:{rules:[19,20,21,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},href:{rules:[26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},struct:{rules:[26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},generic:{rules:[26,50,51,52,53,54,55,56,57,58,59,60,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},bqstring:{rules:[26,50,51,52,53,54,55,56,57,58,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},string:{rules:[24,25,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,26,27,28,29,39,50,51,52,53,54,55,56,57,58,61,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,98],inclusive:!0}}};return W}();He.lexer=ft;function _e(){this.yy={}}return e(_e,"Parser"),_e.prototype=He,He.Parser=_e,new _e}();tt.parser=tt;var Et=tt,pt=["#","+","~","-",""],At=class{static{e(this,"ClassMember")}constructor(s,r){this.memberType=r,this.visibility="",this.classifier="",this.text="";let n=O(s,l());this.parseMember(n)}getDisplayDetails(){let s=this.visibility+en(this.id);if(this.memberType==="method"){if(s+=`(${en(this.parameters.trim())})`,this.returnType)s+=" : "+en(this.returnType)}s=s.trim();let r=this.parseClassifier();return{displayText:s,cssStyle:r}}parseMember(s){let r="";if(this.memberType==="method"){let o=/([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(s);if(o){let d=o[1]?o[1].trim():"";if(pt.includes(d))this.visibility=d;if(this.id=o[2],this.parameters=o[3]?o[3].trim():"",r=o[4]?o[4].trim():"",this.returnType=o[5]?o[5].trim():"",r===""){let f=this.returnType.substring(this.returnType.length-1);if(/[$*]/.exec(f))r=f,this.returnType=this.returnType.substring(0,this.returnType.length-1)}}}else{let u=s.length,o=s.substring(0,1),d=s.substring(u-1);if(pt.includes(o))this.visibility=o;if(/[$*]/.exec(d))r=d;this.id=s.substring(this.visibility===""?0:1,r===""?u:u-1)}this.classifier=r,this.id=this.id.startsWith(" ")?" "+this.id.trim():this.id.trim();let n=`${this.visibility?"\\"+this.visibility:""}${en(this.id)}${this.memberType==="method"?`(${en(this.parameters)})${this.returnType?" : "+en(this.returnType):""}`:""}`;if(this.text=n.replaceAll("<","&lt;").replaceAll(">","&gt;"),this.text.startsWith("\\&lt;"))this.text=this.text.replace("\\&lt;","~")}parseClassifier(){switch(this.classifier){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}}},xe="classId-",bt=0,X=e((s)=>v.sanitizeText(s,l()),"sanitizeText"),Tt=class s{constructor(){this.relations=[],this.classes=new Map,this.styleClasses=new Map,this.notes=new Map,this.interfaces=[],this.namespaces=new Map,this.namespaceCounter=0,this.namespaceStack=[],this.diagramId="",this.functions=[],this.lineType={LINE:0,DOTTED_LINE:1},this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},this.setupToolTips=e((r)=>{let n=$t();p(r).select("svg").selectAll("g").filter(function(){return p(this).attr("title")!==null}).on("mouseover",(d)=>{let f=p(d.currentTarget),h=f.attr("title");if(!h)return;let y=d.currentTarget.getBoundingClientRect();n.transition().duration(200).style("opacity",".9"),n.html(Re.sanitize(h)).style("left",`${window.scrollX+y.left+y.width/2}px`).style("top",`${window.scrollY+y.bottom+4}px`),f.classed("hover",!0)}).on("mouseout",(d)=>{n.transition().duration(500).style("opacity",0),p(d.currentTarget).classed("hover",!1)})},"setupToolTips"),this.direction="TB",this.setAccTitle=S,this.getAccTitle=E,this.setAccDescription=T,this.getAccDescription=A,this.setDiagramTitle=R,this.getDiagramTitle=L,this.getConfig=e(()=>l().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.popNamespace=this.popNamespace.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)}static{e(this,"ClassDB")}splitClassNameAndType(r){let n=v.sanitizeText(r,l()),u="",o=n;if(n.indexOf("~")>0){let d=n.split("~");o=X(d[0]),u=X(d[1])}return{className:o,type:u}}setClassLabel(r,n){let u=v.sanitizeText(r,l());if(n)n=X(n);let{className:o}=this.splitClassNameAndType(u);this.classes.get(o).label=n,this.classes.get(o).text=`${n}${this.classes.get(o).type?`<${this.classes.get(o).type}>`:""}`}addClass(r){let n=v.sanitizeText(r,l()),{className:u,type:o}=this.splitClassNameAndType(n);if(this.classes.has(u))return;let d=v.sanitizeText(u,l());this.classes.set(d,{id:d,type:o,label:d,text:`${d}${o?`&lt;${o}&gt;`:""}`,shape:"classBox",cssClasses:"default",methods:[],members:[],annotations:[],styles:[],domId:xe+d+"-"+bt}),bt++}addInterface(r,n){let u={id:`interface${this.interfaces.length}`,label:r,classId:n};this.interfaces.push(u)}setDiagramId(r){this.diagramId=r}lookUpDomId(r){let n=v.sanitizeText(r,l());if(this.classes.has(n)){let u=this.classes.get(n).domId;return this.diagramId?`${this.diagramId}-${u}`:u}throw Error("Class not found: "+n)}clear(){this.relations=[],this.classes=new Map,this.notes=new Map,this.interfaces=[],this.functions=[],this.functions.push(this.setupToolTips.bind(this)),this.namespaces=new Map,this.namespaceCounter=0,this.namespaceStack=[],this.diagramId="",this.direction="TB",C()}getClass(r){return this.classes.get(r)}getClasses(){return this.classes}getRelations(){return this.relations}getNote(r){let n=typeof r==="number"?`note${r}`:r;return this.notes.get(n)}getNotes(){return this.notes}addRelation(r){a.debug("Adding relation: "+JSON.stringify(r));let n=[this.relationType.LOLLIPOP,this.relationType.AGGREGATION,this.relationType.COMPOSITION,this.relationType.DEPENDENCY,this.relationType.EXTENSION];if(r.relation.type1===this.relationType.LOLLIPOP&&!n.includes(r.relation.type2))this.addClass(r.id2),this.addInterface(r.id1,r.id2),r.id1=`interface${this.interfaces.length-1}`;else if(r.relation.type2===this.relationType.LOLLIPOP&&!n.includes(r.relation.type1))this.addClass(r.id1),this.addInterface(r.id2,r.id1),r.id2=`interface${this.interfaces.length-1}`;else this.addClass(r.id1),this.addClass(r.id2);r.id1=this.splitClassNameAndType(r.id1).className,r.id2=this.splitClassNameAndType(r.id2).className,r.relationTitle1=v.sanitizeText(r.relationTitle1.trim(),l()),r.relationTitle2=v.sanitizeText(r.relationTitle2.trim(),l()),this.relations.push(r)}addAnnotation(r,n){let u=this.splitClassNameAndType(r).className;this.classes.get(u).annotations.push(n)}addMember(r,n){this.addClass(r);let u=this.splitClassNameAndType(r).className,o=this.classes.get(u);if(typeof n==="string"){let d=n.trim();if(d.startsWith("<<")&&d.endsWith(">>"))o.annotations.push(X(d.substring(2,d.length-2)));else if(d.indexOf(")")>0)o.methods.push(new At(d,"method"));else if(d)o.members.push(new At(d,"attribute"))}}addMembers(r,n){if(Array.isArray(n))n.reverse(),n.forEach((u)=>this.addMember(r,u))}addNote(r,n){let u=this.notes.size,o={id:`note${u}`,class:n,text:r,index:u};return this.notes.set(o.id,o),o.id}cleanupLabel(r){if(r.startsWith(":"))r=r.substring(1);return X(r.trim())}setCssClass(r,n){r.split(",").forEach((u)=>{let o=u;if(/\d/.exec(u[0]))o=xe+o;o=this.splitClassNameAndType(o).className;let d=this.classes.get(o);if(d)d.cssClasses+=" "+n})}defineClass(r,n){for(let u of r){let o=this.styleClasses.get(u);if(o===void 0)o={id:u,styles:[],textStyles:[]},this.styleClasses.set(u,o);if(n)n.forEach((d)=>{if(/color/.exec(d)){let f=d.replace("fill","bgFill");o.textStyles.push(f)}o.styles.push(d)});this.classes.forEach((d)=>{if(d.cssClasses.includes(u))d.styles.push(...n.flatMap((f)=>f.split(",")))})}}setTooltip(r,n){r.split(",").forEach((u)=>{if(n!==void 0){let o=this.splitClassNameAndType(u).className,d=this.classes.get(o);if(d)d.tooltip=X(n)}})}getTooltip(r,n){if(n&&this.namespaces.has(n))return this.namespaces.get(n).classes.get(r).tooltip;return this.classes.get(r).tooltip}setLink(r,n,u){let o=l();r.split(",").forEach((d)=>{let f=d;if(/\d/.exec(d[0]))f=xe+f;f=this.splitClassNameAndType(f).className;let h=this.classes.get(f);if(h)if(h.link=M.formatUrl(n,o),o.securityLevel==="sandbox")h.linkTarget="_top";else if(typeof u==="string")h.linkTarget=X(u);else h.linkTarget="_blank"}),this.setCssClass(r,"clickable")}setClickEvent(r,n,u){r.split(",").forEach((o)=>{this.setClickFunc(o,n,u);let d=this.splitClassNameAndType(o).className,f=this.classes.get(d);if(f)f.haveCallback=!0}),this.setCssClass(r,"clickable")}setClickFunc(r,n,u){let o=v.sanitizeText(r,l());if(l().securityLevel!=="loose")return;if(n===void 0)return;let f=this.splitClassNameAndType(o).className;if(this.classes.has(f)){let h=[];if(typeof u==="string"){h=u.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let y=0;y<h.length;y++){let D=h[y].trim();if(D.startsWith('"')&&D.endsWith('"'))D=D.substr(1,D.length-2);h[y]=D}}if(h.length===0)h.push(f);this.functions.push(()=>{let y=this.lookUpDomId(f),D=document.querySelector(`[id="${y}"]`);if(D!==null)D.addEventListener("click",()=>{M.runFunc(n,...h)},!1)})}}bindFunctions(r){this.functions.forEach((n)=>{n(r)})}escapeHtml(r){return r.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}getDirection(){return this.direction}setDirection(r){this.direction=r}static resolveQualifiedId(r,n){let u=n.at(-1);return u?`${u}.${r}`:r}static getAncestorIds(r){let n=r.split("."),u=Array(n.length);u[0]=n[0];for(let o=1;o<n.length;o++)u[o]=`${u[o-1]}.${n[o]}`;return u}createNamespaceNode(r,n,u,o=!1){return{id:r,label:n,classes:new Map,notes:new Map,children:new Map,domId:xe+r+"-"+this.namespaceCounter++,parent:u,explicit:o}}linkParentChild(r,n){let u=this.namespaces.get(r),o=this.namespaces.get(n);if(!u||!o)return;if(!u.children.has(n))u.children.set(n,o);o.parent??=r}addNamespace(r,n){let u=s.resolveQualifiedId(r,this.namespaceStack);if(this.namespaceStack.push(u),this.namespaces.has(u)){let f=this.namespaces.get(u);if(f.explicit=!0,n)f.label=n;return u}let o=u.split("."),d=s.getAncestorIds(u);for(let f=0;f<d.length;f++){let h=d[f],y=f>0?d[f-1]:void 0,D=f===d.length-1,V=D&&n?n:o[f];if(!this.namespaces.has(h))this.namespaces.set(h,this.createNamespaceNode(h,V,y,D));else if(D)this.namespaces.get(h).explicit=!0;if(y)this.linkParentChild(y,h)}return u}popNamespace(){this.namespaceStack.pop()}getNamespace(r){return this.namespaces.get(r)}getNamespaces(){return this.namespaces}addClassesToNamespace(r,n,u){if(!this.namespaces.has(r))return;for(let o of n){let{className:d}=this.splitClassNameAndType(o),f=this.getClass(d);f.parent=r,this.namespaces.get(r).classes.set(d,f)}for(let o of u){let d=this.getNote(o);d.parent=r,this.namespaces.get(r).notes.set(o,d)}}setCssStyle(r,n){let u=this.classes.get(r);if(!n||!u)return;for(let o of n)if(o.includes(","))u.styles.push(...o.split(","));else u.styles.push(o)}getArrowMarker(r){let n;switch(r){case 0:n="aggregation";break;case 1:n="extension";break;case 2:n="composition";break;case 3:n="dependency";break;case 4:n="lollipop";break;default:n="none"}return n}resolveExplicitAncestor(r){let n=r;while(n){let u=this.namespaces.get(n);if(!u)return;if(u.explicit)return n;n=u.parent}return}getData(){let r=[],n=[],u=l(),o=u.class?.hierarchicalNamespaces??!0;for(let h of this.namespaces.values()){if(!o&&!h.explicit)continue;let y={id:h.id,label:o?h.label:h.id,isGroup:!0,padding:u.class.padding??16,shape:"rect",cssStyles:[],look:u.look,parentId:o?h.parent:void 0};r.push(y)}let d=0;for(let h of this.classes.values()){let y=o?h.parent:this.resolveExplicitAncestor(h.parent),D={...h,type:void 0,isGroup:!1,parentId:y,look:u.look,colorIndex:d++};r.push(D)}for(let h of this.notes.values()){let y=o?h.parent:this.resolveExplicitAncestor(h.parent),D={id:h.id,label:h.text,isGroup:!1,shape:"note",padding:u.class.padding??6,cssStyles:["text-align: left","white-space: nowrap",`fill: ${u.themeVariables.noteBkgColor}`,`stroke: ${u.themeVariables.noteBorderColor}`],look:u.look,parentId:y,labelType:"markdown"};r.push(D);let V=this.classes.get(h.class)?.id;if(V){let J={id:`edgeNote${h.index}`,start:h.id,end:V,type:"normal",thickness:"normal",classes:"relation",arrowTypeStart:"none",arrowTypeEnd:"none",arrowheadStyle:"",labelStyle:[""],style:["fill: none"],pattern:"dotted",look:u.look};n.push(J)}}for(let h of this.interfaces){let y={id:h.id,label:h.label,isGroup:!1,shape:"rect",cssStyles:["opacity: 0;"],look:u.look};r.push(y)}let f=0;for(let h of this.relations){f++;let y={id:ze(h.id1,h.id2,{prefix:"id",counter:f}),start:h.id1,end:h.id2,type:"normal",label:h.title,labelpos:"c",thickness:"normal",classes:"relation",arrowTypeStart:this.getArrowMarker(h.relation.type1),arrowTypeEnd:this.getArrowMarker(h.relation.type2),startLabelRight:h.relationTitle1==="none"?"":h.relationTitle1,endLabelLeft:h.relationTitle2==="none"?"":h.relationTitle2,arrowheadStyle:"",labelStyle:["display: inline-block"],style:h.style||"",pattern:h.relation.lineType==1?"dashed":"solid",look:u.look,labelType:"markdown"};n.push(y)}return{nodes:r,edges:n,other:{},config:u,direction:this.getDirection()}}},yt=e((s)=>{let{theme:r,bkgColorArray:n,borderColorArray:u}=s;if(!oe(r,u))return"";let o=se(s.look),d=ue(n),f="";for(let h=0;h<Ye(s.THEME_COLOR_LIMIT,u);h++){let y=u[h%u.length];f+=`
3
+ Expecting `+Ne.join(", ")+", got '"+(this.terminals_[P]||P)+"'";else et="Parse error on line "+(_e+1)+": Unexpected "+(P==ct?"end of input":"'"+(this.terminals_[P]||P)+"'");this.parseError(et,{text:w.match,token:this.terminals_[P]||P,line:w.yylineno,loc:Je,expected:Ne})}if(U[0]instanceof Array&&U.length>1)throw Error("Parse Error: multiple actions possible at state: "+j+", token: "+P);switch(U[0]){case 1:if(m.push(P),F.push(w.yytext),e.push(w.yylloc),m.push(U[1]),P=null,!Ze){if(ut=w.yyleng,i=w.yytext,_e=w.yylineno,Je=w.yylloc,ot>0)ot--}else P=Ze,Ze=null;break;case 2:if(K=this.productions_[U[1]][1],q.$=F[F.length-K],q._$={first_line:e[e.length-(K||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(K||1)].first_column,last_column:e[e.length-1].last_column},gt)q._$.range=[e[e.length-(K||1)].range[0],e[e.length-1].range[1]];if($e=this.performAction.apply(q,[i,ut,_e,Q.yy,U[1],F,e].concat(mt)),typeof $e<"u")return $e;if(K)m=m.slice(0,-1*K*2),F=F.slice(0,-1*K),e=e.slice(0,-1*K);m.push(this.productions_[U[1]][0]),F.push(q.$),e.push(q._$),dt=de[m[m.length-2]][m[m.length-1]],m.push(dt);break;case 3:return!0}}return!0},"parse")},ft=function(){var W={EOF:1,parseError:t(function(k,m){if(this.yy.parser)this.yy.parser.parseError(k,m);else throw Error(k)},"parseError"),setInput:t(function(b,k){if(this.yy=k||this.yy||{},this._input=b,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:t(function(){var b=this._input[0];this.yytext+=b,this.yyleng++,this.offset++,this.match+=b,this.matched+=b;var k=b.match(/(?:\r\n?|\n).*/g);if(k)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),b},"input"),unput:t(function(b){var k=b.length,m=b.split(/(?:\r\n?|\n)/g);this._input=b+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-k),this.offset-=k;var c=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),m.length-1)this.yylineno-=m.length-1;var F=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:m?(m.length===c.length?this.yylloc.first_column:0)+c[c.length-m.length].length-m[0].length:this.yylloc.first_column-k},this.options.ranges)this.yylloc.range=[F[0],F[0]+this.yyleng-k];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;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).
4
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(b){this.unput(this.match.slice(b))},"less"),pastInput:t(function(){var b=this.matched.substr(0,this.matched.length-this.match.length);return(b.length>20?"...":"")+b.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var b=this.match;if(b.length<20)b+=this._input.substr(0,20-b.length);return(b.substr(0,20)+(b.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var b=this.pastInput(),k=Array(b.length+1).join("-");return b+this.upcomingInput()+`
5
+ `+k+"^"},"showPosition"),test_match:t(function(b,k){var m,c,F;if(this.options.backtrack_lexer){if(F={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges)F.yylloc.range=this.yylloc.range.slice(0)}if(c=b[0].match(/(?:\r\n?|\n).*/g),c)this.yylineno+=c.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:c?c[c.length-1].length-c[c.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+b[0].length},this.yytext+=b[0],this.match+=b[0],this.matches=b,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(b[0].length),this.matched+=b[0],m=this.performAction.call(this,this.yy,this,k,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(m)return m;else if(this._backtrack){for(var e in F)this[e]=F[e];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var b,k,m,c;if(!this._more)this.yytext="",this.match="";var F=this._currentRules();for(var e=0;e<F.length;e++)if(m=this._input.match(this.rules[F[e]]),m&&(!k||m[0].length>k[0].length)){if(k=m,c=e,this.options.backtrack_lexer)if(b=this.test_match(m,F[e]),b!==!1)return b;else if(this._backtrack){k=!1;continue}else return!1;else if(!this.options.flex)break}if(k){if(b=this.test_match(k,F[c]),b!==!1)return b;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var k=this.next();if(k)return k;else return this.lex()},"lex"),begin:t(function(k){this.conditionStack.push(k)},"begin"),popState:t(function(){var k=this.conditionStack.length-1;if(k>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(k){if(k=this.conditionStack.length-1-Math.abs(k||0),k>=0)return this.conditionStack[k];else return"INITIAL"},"topState"),pushState:t(function(k){this.begin(k)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:t(function(k,m,c,F){var e=F;switch(c){case 0:return 62;case 1:return 63;case 2:return 64;case 3:return 65;case 4:break;case 5:break;case 6:return this.begin("acc_title"),33;break;case 7:return this.popState(),"acc_title_value";break;case 8:return this.begin("acc_descr"),35;break;case 9:return this.popState(),"acc_descr_value";break;case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 8;case 14:break;case 15:return 7;case 16:return 7;case 17:return"EDGE_STATE";case 18:this.begin("callback_name");break;case 19:this.popState();break;case 20:this.popState(),this.begin("callback_args");break;case 21:return 79;case 22:this.popState();break;case 23:return 80;case 24:this.popState();break;case 25:return"STR";case 26:this.begin("string");break;case 27:return 82;case 28:return 57;case 29:return this.begin("namespace"),42;break;case 30:return this.popState(),8;break;case 31:break;case 32:return this.begin("namespace-body"),39;break;case 33:this.popState(),this.less(0);break;case 34:return this.popState(),41;break;case 35:return"EOF_IN_STRUCT";case 36:return 8;case 37:break;case 38:return"EDGE_STATE";case 39:return this.begin("class"),48;break;case 40:return this.popState(),8;break;case 41:break;case 42:return this.popState(),this.popState(),41;break;case 43:return this.begin("class-body"),39;break;case 44:return this.popState(),41;break;case 45:return"EOF_IN_STRUCT";case 46:return"EDGE_STATE";case 47:return"OPEN_IN_STRUCT";case 48:break;case 49:return"MEMBER";case 50:return 83;case 51:return 75;case 52:return 76;case 53:return 78;case 54:return 54;case 55:return 56;case 56:return 46;case 57:return 47;case 58:return 81;case 59:this.popState();break;case 60:return"GENERICTYPE";case 61:this.begin("generic");break;case 62:this.popState();break;case 63:return"BQUOTE_STR";case 64:this.begin("bqstring");break;case 65:return 77;case 66:return 77;case 67:return 77;case 68:return 77;case 69:return 69;case 70:return 69;case 71:return 71;case 72:return 71;case 73:return 70;case 74:return 68;case 75:return 72;case 76:return 73;case 77:return 74;case 78:return 22;case 79:return 44;case 80:return 100;case 81:return 18;case 82:return"PLUS";case 83:return 87;case 84:return 61;case 85:return 89;case 86:return 89;case 87:return 90;case 88:return"EQUALS";case 89:return"EQUALS";case 90:return 60;case 91:return 12;case 92:return 14;case 93:return"PUNCTUATION";case 94:return 86;case 95:return 102;case 96:return 50;case 97:return 50;case 98:return 9}},"anonymous"),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)/,/^(?:$)/],conditions:{"namespace-body":{rules:[26,29,34,35,36,37,38,39,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},namespace:{rules:[26,29,30,31,32,33,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},"class-body":{rules:[26,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},class:{rules:[26,40,41,42,43,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},acc_descr_multiline:{rules:[11,12,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},acc_descr:{rules:[9,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},acc_title:{rules:[7,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},callback_args:{rules:[22,23,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},callback_name:{rules:[19,20,21,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},href:{rules:[26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},struct:{rules:[26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},generic:{rules:[26,50,51,52,53,54,55,56,57,58,59,60,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},bqstring:{rules:[26,50,51,52,53,54,55,56,57,58,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},string:{rules:[24,25,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,26,27,28,29,39,50,51,52,53,54,55,56,57,58,61,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,98],inclusive:!0}}};return W}();He.lexer=ft;function Be(){this.yy={}}return t(Be,"Parser"),Be.prototype=He,He.Parser=Be,new Be}();tt.parser=tt;var Et=tt,pt=["#","+","~","-",""],At=class{static{t(this,"ClassMember")}constructor(s,r){this.memberType=r,this.visibility="",this.classifier="",this.text="";let n=O(s,l());this.parseMember(n)}getDisplayDetails(){let s=this.visibility+en(this.id);if(this.memberType==="method"){if(s+=`(${en(this.parameters.trim())})`,this.returnType)s+=" : "+en(this.returnType)}s=s.trim();let r=this.parseClassifier();return{displayText:s,cssStyle:r}}parseMember(s){let r="";if(this.memberType==="method"){let o=/([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(s);if(o){let d=o[1]?o[1].trim():"";if(pt.includes(d))this.visibility=d;if(this.id=o[2],this.parameters=o[3]?o[3].trim():"",r=o[4]?o[4].trim():"",this.returnType=o[5]?o[5].trim():"",r===""){let f=this.returnType.substring(this.returnType.length-1);if(/[$*]/.exec(f))r=f,this.returnType=this.returnType.substring(0,this.returnType.length-1)}}}else{let u=s.length,o=s.substring(0,1),d=s.substring(u-1);if(pt.includes(o))this.visibility=o;if(/[$*]/.exec(d))r=d;this.id=s.substring(this.visibility===""?0:1,r===""?u:u-1)}this.classifier=r,this.id=this.id.startsWith(" ")?" "+this.id.trim():this.id.trim();let n=`${this.visibility?"\\"+this.visibility:""}${en(this.id)}${this.memberType==="method"?`(${en(this.parameters)})${this.returnType?" : "+en(this.returnType):""}`:""}`;if(this.text=n.replaceAll("<","&lt;").replaceAll(">","&gt;"),this.text.startsWith("\\&lt;"))this.text=this.text.replace("\\&lt;","~")}parseClassifier(){switch(this.classifier){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}}},Le="classId-",bt=0,X=t((s)=>v.sanitizeText(s,l()),"sanitizeText"),Tt=class s{constructor(){this.relations=[],this.classes=new Map,this.styleClasses=new Map,this.notes=new Map,this.interfaces=[],this.namespaces=new Map,this.namespaceCounter=0,this.namespaceStack=[],this.diagramId="",this.functions=[],this.lineType={LINE:0,DOTTED_LINE:1},this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},this.setupToolTips=t((r)=>{let n=Ft();p(r).select("svg").selectAll("g").filter(function(){return p(this).attr("title")!==null}).on("mouseover",(d)=>{let f=p(d.currentTarget),h=f.attr("title");if(!h)return;let y=d.currentTarget.getBoundingClientRect();n.transition().duration(200).style("opacity",".9"),n.html(Re.sanitize(h)).style("left",`${window.scrollX+y.left+y.width/2}px`).style("top",`${window.scrollY+y.bottom+4}px`),f.classed("hover",!0)}).on("mouseout",(d)=>{n.transition().duration(500).style("opacity",0),p(d.currentTarget).classed("hover",!1)})},"setupToolTips"),this.direction="TB",this.setAccTitle=S,this.getAccTitle=E,this.setAccDescription=T,this.getAccDescription=A,this.setDiagramTitle=L,this.getDiagramTitle=R,this.getConfig=t(()=>l().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.popNamespace=this.popNamespace.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)}static{t(this,"ClassDB")}splitClassNameAndType(r){let n=v.sanitizeText(r,l()),u="",o=n;if(n.indexOf("~")>0){let d=n.split("~");o=X(d[0]),u=X(d[1])}return{className:o,type:u}}setClassLabel(r,n){let u=v.sanitizeText(r,l());if(n)n=X(n);let{className:o}=this.splitClassNameAndType(u);this.classes.get(o).label=n,this.classes.get(o).text=`${n}${this.classes.get(o).type?`<${this.classes.get(o).type}>`:""}`}addClass(r){let n=v.sanitizeText(r,l()),{className:u,type:o}=this.splitClassNameAndType(n);if(this.classes.has(u))return;let d=v.sanitizeText(u,l());this.classes.set(d,{id:d,type:o,label:d,text:`${d}${o?`&lt;${o}&gt;`:""}`,shape:"classBox",cssClasses:"default",methods:[],members:[],annotations:[],styles:[],domId:Le+d+"-"+bt}),bt++}addInterface(r,n){let u={id:`interface${this.interfaces.length}`,label:r,classId:n};this.interfaces.push(u)}setDiagramId(r){this.diagramId=r}lookUpDomId(r){let n=v.sanitizeText(r,l());if(this.classes.has(n)){let u=this.classes.get(n).domId;return this.diagramId?`${this.diagramId}-${u}`:u}throw Error("Class not found: "+n)}clear(){this.relations=[],this.classes=new Map,this.notes=new Map,this.interfaces=[],this.functions=[],this.functions.push(this.setupToolTips.bind(this)),this.namespaces=new Map,this.namespaceCounter=0,this.namespaceStack=[],this.diagramId="",this.direction="TB",C()}getClass(r){return this.classes.get(r)}getClasses(){return this.classes}getRelations(){return this.relations}getNote(r){let n=typeof r==="number"?`note${r}`:r;return this.notes.get(n)}getNotes(){return this.notes}addRelation(r){a.debug("Adding relation: "+JSON.stringify(r));let n=[this.relationType.LOLLIPOP,this.relationType.AGGREGATION,this.relationType.COMPOSITION,this.relationType.DEPENDENCY,this.relationType.EXTENSION];if(r.relation.type1===this.relationType.LOLLIPOP&&!n.includes(r.relation.type2))this.addClass(r.id2),this.addInterface(r.id1,r.id2),r.id1=`interface${this.interfaces.length-1}`;else if(r.relation.type2===this.relationType.LOLLIPOP&&!n.includes(r.relation.type1))this.addClass(r.id1),this.addInterface(r.id2,r.id1),r.id2=`interface${this.interfaces.length-1}`;else this.addClass(r.id1),this.addClass(r.id2);r.id1=this.splitClassNameAndType(r.id1).className,r.id2=this.splitClassNameAndType(r.id2).className,r.relationTitle1=v.sanitizeText(r.relationTitle1.trim(),l()),r.relationTitle2=v.sanitizeText(r.relationTitle2.trim(),l()),this.relations.push(r)}addAnnotation(r,n){let u=this.splitClassNameAndType(r).className;this.classes.get(u).annotations.push(n)}addMember(r,n){this.addClass(r);let u=this.splitClassNameAndType(r).className,o=this.classes.get(u);if(typeof n==="string"){let d=n.trim();if(d.startsWith("<<")&&d.endsWith(">>"))o.annotations.push(X(d.substring(2,d.length-2)));else if(d.indexOf(")")>0)o.methods.push(new At(d,"method"));else if(d)o.members.push(new At(d,"attribute"))}}addMembers(r,n){if(Array.isArray(n))n.reverse(),n.forEach((u)=>this.addMember(r,u))}addNote(r,n){let u=this.notes.size,o={id:`note${u}`,class:n,text:r,index:u};return this.notes.set(o.id,o),o.id}cleanupLabel(r){if(r.startsWith(":"))r=r.substring(1);return X(r.trim())}setCssClass(r,n){r.split(",").forEach((u)=>{let o=u;if(/\d/.exec(u[0]))o=Le+o;o=this.splitClassNameAndType(o).className;let d=this.classes.get(o);if(d)d.cssClasses+=" "+n})}defineClass(r,n){for(let u of r){let o=this.styleClasses.get(u);if(o===void 0)o={id:u,styles:[],textStyles:[]},this.styleClasses.set(u,o);if(n)n.forEach((d)=>{if(/color/.exec(d)){let f=d.replace("fill","bgFill");o.textStyles.push(f)}o.styles.push(d)});this.classes.forEach((d)=>{if(d.cssClasses.includes(u))d.styles.push(...n.flatMap((f)=>f.split(",")))})}}setTooltip(r,n){r.split(",").forEach((u)=>{if(n!==void 0){let o=this.splitClassNameAndType(u).className,d=this.classes.get(o);if(d)d.tooltip=X(n)}})}getTooltip(r,n){if(n&&this.namespaces.has(n))return this.namespaces.get(n).classes.get(r).tooltip;return this.classes.get(r).tooltip}setLink(r,n,u){let o=l();r.split(",").forEach((d)=>{let f=d;if(/\d/.exec(d[0]))f=Le+f;f=this.splitClassNameAndType(f).className;let h=this.classes.get(f);if(h)if(h.link=M.formatUrl(n,o),o.securityLevel==="sandbox")h.linkTarget="_top";else if(typeof u==="string")h.linkTarget=X(u);else h.linkTarget="_blank"}),this.setCssClass(r,"clickable")}setClickEvent(r,n,u){r.split(",").forEach((o)=>{this.setClickFunc(o,n,u);let d=this.splitClassNameAndType(o).className,f=this.classes.get(d);if(f)f.haveCallback=!0}),this.setCssClass(r,"clickable")}setClickFunc(r,n,u){let o=v.sanitizeText(r,l());if(l().securityLevel!=="loose")return;if(n===void 0)return;let f=this.splitClassNameAndType(o).className;if(this.classes.has(f)){let h=[];if(typeof u==="string"){h=u.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let y=0;y<h.length;y++){let D=h[y].trim();if(D.startsWith('"')&&D.endsWith('"'))D=D.substr(1,D.length-2);h[y]=D}}if(h.length===0)h.push(f);this.functions.push(()=>{let y=this.lookUpDomId(f),D=document.querySelector(`[id="${y}"]`);if(D!==null)D.addEventListener("click",()=>{M.runFunc(n,...h)},!1)})}}bindFunctions(r){this.functions.forEach((n)=>{n(r)})}escapeHtml(r){return r.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}getDirection(){return this.direction}setDirection(r){this.direction=r}static resolveQualifiedId(r,n){let u=n.at(-1);return u?`${u}.${r}`:r}static getAncestorIds(r){let n=r.split("."),u=Array(n.length);u[0]=n[0];for(let o=1;o<n.length;o++)u[o]=`${u[o-1]}.${n[o]}`;return u}createNamespaceNode(r,n,u,o=!1){return{id:r,label:n,classes:new Map,notes:new Map,children:new Map,domId:Le+r+"-"+this.namespaceCounter++,parent:u,explicit:o}}linkParentChild(r,n){let u=this.namespaces.get(r),o=this.namespaces.get(n);if(!u||!o)return;if(!u.children.has(n))u.children.set(n,o);o.parent??=r}addNamespace(r,n){let u=s.resolveQualifiedId(r,this.namespaceStack);if(this.namespaceStack.push(u),this.namespaces.has(u)){let f=this.namespaces.get(u);if(f.explicit=!0,n)f.label=n;return u}let o=u.split("."),d=s.getAncestorIds(u);for(let f=0;f<d.length;f++){let h=d[f],y=f>0?d[f-1]:void 0,D=f===d.length-1,V=D&&n?n:o[f];if(!this.namespaces.has(h))this.namespaces.set(h,this.createNamespaceNode(h,V,y,D));else if(D)this.namespaces.get(h).explicit=!0;if(y)this.linkParentChild(y,h)}return u}popNamespace(){this.namespaceStack.pop()}getNamespace(r){return this.namespaces.get(r)}getNamespaces(){return this.namespaces}addClassesToNamespace(r,n,u){if(!this.namespaces.has(r))return;for(let o of n){let{className:d}=this.splitClassNameAndType(o),f=this.getClass(d);f.parent=r,this.namespaces.get(r).classes.set(d,f)}for(let o of u){let d=this.getNote(o);d.parent=r,this.namespaces.get(r).notes.set(o,d)}}setCssStyle(r,n){let u=this.classes.get(r);if(!n||!u)return;for(let o of n)if(o.includes(","))u.styles.push(...o.split(","));else u.styles.push(o)}getArrowMarker(r){let n;switch(r){case 0:n="aggregation";break;case 1:n="extension";break;case 2:n="composition";break;case 3:n="dependency";break;case 4:n="lollipop";break;default:n="none"}return n}resolveExplicitAncestor(r){let n=r;while(n){let u=this.namespaces.get(n);if(!u)return;if(u.explicit)return n;n=u.parent}return}getData(){let r=[],n=[],u=l(),o=u.class?.hierarchicalNamespaces??!0;for(let h of this.namespaces.values()){if(!o&&!h.explicit)continue;let y={id:h.id,label:o?h.label:h.id,isGroup:!0,padding:u.class.padding??16,shape:"rect",cssStyles:[],look:u.look,parentId:o?h.parent:void 0};r.push(y)}let d=0;for(let h of this.classes.values()){let y=o?h.parent:this.resolveExplicitAncestor(h.parent),D={...h,type:void 0,isGroup:!1,parentId:y,look:u.look,colorIndex:d++};r.push(D)}for(let h of this.notes.values()){let y=o?h.parent:this.resolveExplicitAncestor(h.parent),D={id:h.id,label:h.text,isGroup:!1,shape:"note",padding:u.class.padding??6,cssStyles:["text-align: left","white-space: nowrap",`fill: ${u.themeVariables.noteBkgColor}`,`stroke: ${u.themeVariables.noteBorderColor}`],look:u.look,parentId:y,labelType:"markdown"};r.push(D);let V=this.classes.get(h.class)?.id;if(V){let J={id:`edgeNote${h.index}`,start:h.id,end:V,type:"normal",thickness:"normal",classes:"relation",arrowTypeStart:"none",arrowTypeEnd:"none",arrowheadStyle:"",labelStyle:[""],style:["fill: none"],pattern:"dotted",look:u.look};n.push(J)}}for(let h of this.interfaces){let y={id:h.id,label:h.label,isGroup:!1,shape:"rect",cssStyles:["opacity: 0;"],look:u.look};r.push(y)}let f=0;for(let h of this.relations){f++;let y={id:ze(h.id1,h.id2,{prefix:"id",counter:f}),start:h.id1,end:h.id2,type:"normal",label:h.title,labelpos:"c",thickness:"normal",classes:"relation",arrowTypeStart:this.getArrowMarker(h.relation.type1),arrowTypeEnd:this.getArrowMarker(h.relation.type2),startLabelRight:h.relationTitle1==="none"?"":h.relationTitle1,endLabelLeft:h.relationTitle2==="none"?"":h.relationTitle2,arrowheadStyle:"",labelStyle:["display: inline-block"],style:h.style||"",pattern:h.relation.lineType==1?"dashed":"solid",look:u.look,labelType:"markdown"};n.push(y)}return{nodes:r,edges:n,other:{},config:u,direction:this.getDirection()}}},yt=t((s)=>{let{theme:r,bkgColorArray:n,borderColorArray:u}=s;if(!se(r,u))return"";let o=le(s.look),d=pe(n),f="";for(let h=0;h<Ye(s.THEME_COLOR_LIMIT,u);h++){let y=u[h%u.length];f+=`
7
7
 
8
8
  [data-look="${o}"][data-color-id="color-${h}"].node .outer-path path {
9
9
  stroke: ${y};
@@ -13,7 +13,7 @@ Expecting `+Le.join(", ")+", got '"+(this.terminals_[P]||P)+"'";else et="Parse e
13
13
  [data-look="${o}"][data-color-id="color-${h}"].node .divider path {
14
14
  stroke: ${y};
15
15
  }
16
- `}return f},"genColor"),Dt=e((s)=>`${yt(s)}
16
+ `}return f},"genColor"),Dt=t((s)=>`${yt(s)}
17
17
  g.classGroup text {
18
18
  fill: ${s.nodeBorder||s.classText};
19
19
  stroke: none;
@@ -214,4 +214,4 @@ g.classGroup line {
214
214
  text-align: center;
215
215
  }
216
216
  ${je()}
217
- `,"getStyles"),Ft=Dt,Bt=e((s,r="TB")=>{if(!s.doc)return r;let n=r;for(let u of s.doc)if(u.stmt==="dir")n=u.value;return n},"getDir"),_t=e(function(s,r){return r.db.getClasses()},"getClasses"),St=e(async function(s,r,n,u){a.info("REF0:"),a.info("Drawing class diagram (v3)",r);let{securityLevel:o,state:d,layout:f}=l();u.db.setDiagramId(r);let h=u.db.getData(),y=he(r,o);h.type=u.type,h.layoutAlgorithm=ye(f),h.nodeSpacing=d?.nodeSpacing||50,h.rankSpacing=d?.rankSpacing||50,h.markers=["aggregation","extension","composition","dependency","lollipop"],h.diagramId=r,await ge(h,y);let D=8;M.insertTitle(y,"classDiagramTitleText",d?.titleTopMargin??25,u.db.getDiagramTitle()),le(y,D,"classDiagram",d?.useMaxWidth??!0)},"draw"),Nt={getClasses:_t,draw:St,getDir:Bt},Jt={parser:Et,get db(){return new Tt},renderer:Nt,styles:Ft,init:e((s)=>{if(!s.class)s.class={};s.class.arrowMarkerAbsolute=s.arrowMarkerAbsolute},"init")};export{Jt as diagram};
217
+ `,"getStyles"),Bt=Dt,_t=t((s,r="TB")=>{if(!s.doc)return r;let n=r;for(let u of s.doc)if(u.stmt==="dir")n=u.value;return n},"getDir"),St=t(function(s,r){return r.db.getClasses()},"getClasses"),Nt=t(async function(s,r,n,u){a.info("REF0:"),a.info("Drawing class diagram (v3)",r);let{securityLevel:o,state:d,layout:f}=l();u.db.setDiagramId(r);let h=u.db.getData(),y=ge(r,o);h.type=u.type,h.layoutAlgorithm=ve(f),h.nodeSpacing=d?.nodeSpacing||50,h.rankSpacing=d?.rankSpacing||50,h.markers=["aggregation","extension","composition","dependency","lollipop"],h.diagramId=r,await ye(h,y);let D=8;M.insertTitle(y,"classDiagramTitleText",d?.titleTopMargin??25,u.db.getDiagramTitle()),ue(y,D,"classDiagram",d?.useMaxWidth??!0)},"draw"),Lt={getClasses:St,draw:Nt,getDir:_t},Zt={parser:Et,get db(){return new Tt},renderer:Lt,styles:Bt,init:t((s)=>{if(!s.class)s.class={};s.class.arrowMarkerAbsolute=s.arrowMarkerAbsolute},"init")};export{Zt as diagram};