@layers-app/editor 0.0.22 → 0.0.23

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 (242) hide show
  1. package/README.md +47 -2
  2. package/dist/index.cjs +2 -2
  3. package/dist/index.d.ts +7 -1
  4. package/dist/index.js +2 -2
  5. package/dist/layers.-RxAm5pH.js +795 -0
  6. package/dist/layers.-rS-aTo2.js +33 -0
  7. package/dist/layers.2ODaB2Pd.js +8 -0
  8. package/dist/layers.5BbX0Xoz.js +769 -0
  9. package/dist/layers.7JqFgE4-.js +15 -0
  10. package/dist/layers.9QK1wiQj.js +1 -0
  11. package/dist/layers.9pNaFvaX.js +1 -0
  12. package/dist/layers.B-6oGNjd.js +40 -0
  13. package/dist/layers.B-ie1_cm.js +6 -0
  14. package/dist/layers.B0EkntbT.js +32 -0
  15. package/dist/layers.B0pdr1hX.js +1619 -0
  16. package/dist/layers.B19hGmey.js +1 -0
  17. package/dist/layers.B39TZ2WV.js +11 -0
  18. package/dist/layers.B3odqoHb.js +9 -0
  19. package/dist/layers.B64g6Zx2.js +1 -0
  20. package/dist/layers.B6UkAKu5.js +434 -0
  21. package/dist/layers.B8i9d7Qz.js +192 -0
  22. package/dist/layers.B9NSFeaj.js +35 -0
  23. package/dist/layers.B9zrmkst.js +11 -0
  24. package/dist/layers.BAtv1CM7.js +1 -0
  25. package/dist/layers.BBB7YGK1.js +3 -0
  26. package/dist/layers.BBU3ik5q.js +51 -0
  27. package/dist/layers.BBwDvE6l.js +9122 -0
  28. package/dist/layers.BCFHxkpM.js +6 -0
  29. package/dist/layers.BD5uUnI2.js +1265 -0
  30. package/dist/layers.BDhuxbhX.js +44 -0
  31. package/dist/layers.BDxQSquK.js +10 -0
  32. package/dist/layers.BEE5yqs5.js +9 -0
  33. package/dist/layers.BFLg4UGe.js +8 -0
  34. package/dist/layers.BFOl7cA-.js +41 -0
  35. package/dist/layers.BHDiP2sq.js +21836 -0
  36. package/dist/layers.BIDnkNut.js +1510 -0
  37. package/dist/layers.BIVmclKv.js +41 -0
  38. package/dist/layers.BIeVwYKL.js +1 -0
  39. package/dist/layers.BJMMuP5r.js +9 -0
  40. package/dist/layers.BK01wvsE.js +10 -0
  41. package/dist/layers.BLB-feoT.js +8 -0
  42. package/dist/layers.BLSqqbWP.js +207 -0
  43. package/dist/layers.BO3dqWyO.js +10 -0
  44. package/dist/layers.BPe9NQzP.js +2963 -0
  45. package/dist/layers.BPnpanwd.js +39 -0
  46. package/dist/layers.BQLZhz6B.js +6 -0
  47. package/dist/layers.BST6tR9a.js +4 -0
  48. package/dist/layers.BSTBZrFn.js +1 -0
  49. package/dist/layers.BUSnd1Ro.js +5 -0
  50. package/dist/layers.BUkDq4ln.js +84 -0
  51. package/dist/layers.BUsBCyiL.js +202 -0
  52. package/dist/layers.BXGiOI1Z.js +7 -0
  53. package/dist/layers.BYVHkqLR.js +39 -0
  54. package/dist/layers.BYzN4Zxz.js +7 -0
  55. package/dist/layers.BZcZF6Ct.js +41 -0
  56. package/dist/layers.B_Hf0SF-.js +1359 -0
  57. package/dist/{layers.C5tfzl26.js → layers.Ba97nTEK.js} +1 -1
  58. package/dist/layers.Bbl6qitU.js +40 -0
  59. package/dist/layers.BdanmQPF.js +11 -0
  60. package/dist/layers.Bfd5bOAD.js +37 -0
  61. package/dist/layers.BhM2iCwB.js +5 -0
  62. package/dist/layers.BjZInKjA.js +2 -0
  63. package/dist/layers.Bk2PdkMX.js +10 -0
  64. package/dist/layers.BkMfeJ9R.js +41 -0
  65. package/dist/layers.BkjjkAwW.js +2 -0
  66. package/dist/layers.Blho0qwc.js +1 -0
  67. package/dist/layers.BoabOlrX.js +36 -0
  68. package/dist/layers.BpXiFzvR.js +36 -0
  69. package/dist/layers.BpilXLfW.js +6 -0
  70. package/dist/layers.BuQ1nJmP.js +1 -0
  71. package/dist/layers.Bv0tGvGl.js +40 -0
  72. package/dist/layers.BvZFIFgz.js +9 -0
  73. package/dist/layers.BwfB_nzW.js +8 -0
  74. package/dist/layers.Bwpn7zKE.js +9 -0
  75. package/dist/layers.Bz0ApNUe.js +70 -0
  76. package/dist/layers.C-G7-Jg3.js +7 -0
  77. package/dist/layers.C0bumYdC.js +7 -0
  78. package/dist/layers.C1KhBpGU.js +7 -0
  79. package/dist/layers.C3K_Whht.js +42 -0
  80. package/dist/layers.C51kZnWr.js +37 -0
  81. package/dist/layers.C5rttXXy.js +10 -0
  82. package/dist/{layers.CiSw1oA4.js → layers.C5uR7AiN.js} +1 -1
  83. package/dist/layers.C6Rn8zoI.js +42 -0
  84. package/dist/layers.C7lIplJU.js +247 -0
  85. package/dist/layers.CBXpUMze.js +96 -0
  86. package/dist/layers.CCRe_IA7.js +36 -0
  87. package/dist/{layers.C9PaWLCY.js → layers.CClfR9Rs.js} +10180 -9947
  88. package/dist/layers.CDLdte-o.js +9 -0
  89. package/dist/layers.CDzPpnhN.js +52 -0
  90. package/dist/layers.CEXVJbhn.js +8 -0
  91. package/dist/layers.CGX7Piy7.js +1 -0
  92. package/dist/layers.CGc04km7.js +42 -0
  93. package/dist/layers.CH23k4XD.js +6 -0
  94. package/dist/layers.CHHqQlm1.js +9 -0
  95. package/dist/layers.CHZsXQcr.js +1 -0
  96. package/dist/layers.CMS1o_sE.js +40 -0
  97. package/dist/layers.CO4NHmK3.js +40 -0
  98. package/dist/layers.COAF7f8g.js +1 -0
  99. package/dist/layers.CPV5PaJ7.js +33 -0
  100. package/dist/layers.CPqqkX8Z.js +23 -0
  101. package/dist/layers.CQXDzk5h.js +1 -0
  102. package/dist/layers.CQv0GMRl.js +1 -0
  103. package/dist/layers.CR10RAJi.js +116 -0
  104. package/dist/layers.CR4riLSc.js +2235 -0
  105. package/dist/layers.CSjWzlk9.js +1 -0
  106. package/dist/layers.CTmkjIN6.js +5 -0
  107. package/dist/layers.CZMy0ug4.js +6 -0
  108. package/dist/layers.CZh7NZyl.js +42 -0
  109. package/dist/layers.C_dOgKfE.js +10 -0
  110. package/dist/layers.CcJ28sUd.js +9 -0
  111. package/dist/layers.CeMe5scF.js +1 -0
  112. package/dist/layers.CeVpKhli.js +122 -0
  113. package/dist/layers.Ch7C0MR9.js +39 -0
  114. package/dist/layers.ChAMqLmE.js +160 -0
  115. package/dist/layers.ChJyurjQ.js +7 -0
  116. package/dist/layers.ChPHYv68.js +41 -0
  117. package/dist/layers.ChykDTOy.js +11 -0
  118. package/dist/layers.Ci0QS82_.js +1 -0
  119. package/dist/layers.Ci0x4aAi.js +139 -0
  120. package/dist/layers.CiNAQOA-.js +50 -0
  121. package/dist/layers.Ck0iJfoW.js +39 -0
  122. package/dist/layers.Ckbp-T9r.js +32 -0
  123. package/dist/layers.Cl9Tl2nd.js +1 -0
  124. package/dist/layers.ClQj75nc.js +11 -0
  125. package/dist/layers.ClaqpFnu.js +233 -0
  126. package/dist/layers.CmHSmrZm.js +40 -0
  127. package/dist/layers.Cn6OfRlw.js +40 -0
  128. package/dist/layers.CnD3z0eZ.js +8 -0
  129. package/dist/layers.CnloMtKN.js +268 -0
  130. package/dist/layers.Cp82yltX.js +32 -0
  131. package/dist/layers.CphCG076.js +6 -0
  132. package/dist/layers.CqM3rL4-.js +5 -0
  133. package/dist/layers.CqVTtuYm.js +6 -0
  134. package/dist/layers.CvJxfPxo.js +9 -0
  135. package/dist/layers.CwPFdFUT.js +34 -0
  136. package/dist/layers.Cx14IKzN.js +4 -0
  137. package/dist/layers.Cxmncz59.js +32 -0
  138. package/dist/layers.D-ZYFolm.js +1 -0
  139. package/dist/layers.D0zn4_Mx.js +1 -0
  140. package/dist/layers.D18RSmmQ.js +7 -0
  141. package/dist/layers.D1cZq8tq.js +373 -0
  142. package/dist/layers.D2q8ZYi2.js +425 -0
  143. package/dist/layers.D2vOkfMK.js +38 -0
  144. package/dist/layers.D3Hkinja.js +5 -0
  145. package/dist/layers.D4fGb2cV.js +1272 -0
  146. package/dist/layers.D68FZk66.js +39 -0
  147. package/dist/layers.D7HvMBb6.js +39 -0
  148. package/dist/layers.D7jGxypv.js +8 -0
  149. package/dist/layers.D90-hSDT.js +4 -0
  150. package/dist/layers.D9A031XO.js +803 -0
  151. package/dist/layers.DARK07JA.js +42 -0
  152. package/dist/layers.DAx0hT2g.js +32 -0
  153. package/dist/layers.DCvUAfE1.js +40 -0
  154. package/dist/layers.DDRgaMwu.js +10 -0
  155. package/dist/layers.DEfJs03Z.js +1 -0
  156. package/dist/layers.DElpVOY-.js +8 -0
  157. package/dist/layers.DFd9A85i.js +14 -0
  158. package/dist/layers.DGZUGztZ.js +220 -0
  159. package/dist/layers.DHbdkCCU.js +38 -0
  160. package/dist/layers.DIrkcLlA.js +790 -0
  161. package/dist/layers.DKPzrygv.js +1 -0
  162. package/dist/layers.DK_t52oS.js +1126 -0
  163. package/dist/layers.DLwuMfdd.js +84 -0
  164. package/dist/layers.DMkBISW1.js +1 -0
  165. package/dist/layers.DMvWe0pJ.js +7 -0
  166. package/dist/layers.DN9HoVxI.js +18 -0
  167. package/dist/layers.DO-G3uLL.js +8 -0
  168. package/dist/layers.DOrgOHBr.js +1 -0
  169. package/dist/layers.DQCPMqIN.js +9 -0
  170. package/dist/layers.DTDpNGfk.js +1 -0
  171. package/dist/layers.DXTPaWjN.js +37 -0
  172. package/dist/layers.DXaSAlDN.js +13 -0
  173. package/dist/layers.DYx3Ot6h.js +139 -0
  174. package/dist/layers.D_MU5WlI.js +40 -0
  175. package/dist/layers.DalYdEkL.js +19 -0
  176. package/dist/layers.DbaKVP5e.js +1 -0
  177. package/dist/layers.Dbuivk7d.js +36 -0
  178. package/dist/layers.DdTLZZKb.js +48146 -0
  179. package/dist/layers.DeB3waPT.js +8 -0
  180. package/dist/layers.Dg8Wbn90.js +35 -0
  181. package/dist/layers.DhiFm4jW.js +10 -0
  182. package/dist/layers.DhzTwBn5.js +37 -0
  183. package/dist/layers.DjUOC4st.js +16 -0
  184. package/dist/layers.Dk9dbz6F.js +118 -0
  185. package/dist/layers.Dklz2JqP.js +41 -0
  186. package/dist/layers.Dol0x5Jd.js +61 -0
  187. package/dist/layers.DrtkQKK7.js +1 -0
  188. package/dist/layers.Ds95POLS.js +1 -0
  189. package/dist/layers.DsAtBUs-.js +1283 -0
  190. package/dist/layers.DtoCH9Nn.js +1 -0
  191. package/dist/layers.DwLw5o0M.js +38 -0
  192. package/dist/layers.DxA6ocdw.js +70 -0
  193. package/dist/layers.DxGDxkXA.js +164 -0
  194. package/dist/layers.Dxrm0nEM.js +2479 -0
  195. package/dist/layers.Dy1naDTQ.js +14 -0
  196. package/dist/layers.Dyor8Hot.js +186 -0
  197. package/dist/layers.Dyqg_e4P.js +41 -0
  198. package/dist/layers.DzaH7mDC.js +65 -0
  199. package/dist/layers.Dzc83sE7.js +1 -0
  200. package/dist/layers.FstVqdQC.js +804 -0
  201. package/dist/layers.HcI9cOEd.js +1089 -0
  202. package/dist/layers.I-MG0ir4.js +21461 -0
  203. package/dist/layers.I5-pSyca.js +1 -0
  204. package/dist/layers.JWCLFILJ.js +1 -0
  205. package/dist/layers.LOjND5R4.js +320 -0
  206. package/dist/{layers.CgiGa2Ym.js → layers.L_XjkGw6.js} +24 -24
  207. package/dist/layers.Lhl12ohc.js +1 -0
  208. package/dist/layers.N4wL2Xyj.js +1083 -0
  209. package/dist/layers.OEP2K3db.js +4 -0
  210. package/dist/layers.PO65UmTA.js +10 -0
  211. package/dist/layers.PhLwHKUM.js +40 -0
  212. package/dist/layers.Tatx7z0m.js +55 -0
  213. package/dist/layers.UbqG2dp_.js +10 -0
  214. package/dist/layers.WsdOSV4y.js +2 -0
  215. package/dist/{layers.3lVEeOO7.js → layers.Y41CVpLS.js} +70 -70
  216. package/dist/layers.Ym7pRGM7.js +84 -0
  217. package/dist/layers.b0h5ZBmD.js +61 -0
  218. package/dist/layers.c_QDfgff.js +257 -0
  219. package/dist/layers.cp645rbn.js +7 -0
  220. package/dist/layers.dqI-yLmM.js +41 -0
  221. package/dist/layers.fTcEk1do.js +261 -0
  222. package/dist/layers.gRKbOYG-.js +960 -0
  223. package/dist/layers.gaT5_-NN.js +32 -0
  224. package/dist/layers.gzGcAwbO.js +904 -0
  225. package/dist/layers.h0tSRttU.js +1 -0
  226. package/dist/layers.hkFN-BS0.js +39 -0
  227. package/dist/layers.iw01AOuQ.js +931 -0
  228. package/dist/layers.k2UyvrHI.js +35 -0
  229. package/dist/layers.kY3ZYtED.js +1 -0
  230. package/dist/layers.kthR742N.js +39 -0
  231. package/dist/layers.lCpg7dOn.js +21 -0
  232. package/dist/layers.lLRqycMO.js +39 -0
  233. package/dist/layers.oFAtdeQ1.js +501 -0
  234. package/dist/layers.p9hSNB6N.js +1 -0
  235. package/dist/layers.paz6tc0L.js +1034 -0
  236. package/dist/layers.rRMBW9ET.js +1580 -0
  237. package/dist/layers.tbRLuldN.js +1 -0
  238. package/dist/layers.x6Qk2Mwl.js +8 -0
  239. package/dist/layers.x6ioP3u0.js +423 -0
  240. package/dist/layers.za1sylgg.js +11692 -0
  241. package/package.json +5 -4
  242. package/dist/layers.Dq4kf1xY.js +0 -164
@@ -0,0 +1,1126 @@
1
+ import { n as mt, o as yt, s as Vt, a as Lt, b as vt, c as It, p as Rt, j as Nt, l as J1, g as te, q as wt, u as Ae, d as w1 } from "./layers.BBwDvE6l.js";
2
+ var de = function() {
3
+ var t = function(f1, a, l, f) {
4
+ for (l = l || {}, f = f1.length; f--; l[f1[f]] = a)
5
+ ;
6
+ return l;
7
+ }, u = [1, 4], n = [1, 3], r = [1, 5], c = [1, 8, 9, 10, 11, 27, 34, 36, 38, 42, 58, 81, 82, 83, 84, 85, 86, 99, 102, 103, 106, 108, 111, 112, 113, 118, 119, 120, 121], o = [2, 2], h = [1, 13], U = [1, 14], F = [1, 15], w = [1, 16], X = [1, 23], l1 = [1, 25], d1 = [1, 26], p1 = [1, 27], C = [1, 49], k = [1, 48], o1 = [1, 29], U1 = [1, 30], G1 = [1, 31], M1 = [1, 32], K1 = [1, 33], x = [1, 44], B = [1, 46], m = [1, 42], y = [1, 47], V = [1, 43], L = [1, 50], v = [1, 45], I = [1, 51], R = [1, 52], Y1 = [1, 34], j1 = [1, 35], z1 = [1, 36], X1 = [1, 37], I1 = [1, 57], b = [1, 8, 9, 10, 11, 27, 32, 34, 36, 38, 42, 58, 81, 82, 83, 84, 85, 86, 99, 102, 103, 106, 108, 111, 112, 113, 118, 119, 120, 121], W = [1, 61], Q = [1, 60], Z = [1, 62], H1 = [8, 9, 11, 73, 75], k1 = [1, 88], b1 = [1, 93], g1 = [1, 92], D1 = [1, 89], F1 = [1, 85], T1 = [1, 91], S1 = [1, 87], C1 = [1, 94], _1 = [1, 90], x1 = [1, 95], B1 = [1, 86], q1 = [8, 9, 10, 11, 73, 75], N = [8, 9, 10, 11, 44, 73, 75], M = [8, 9, 10, 11, 29, 42, 44, 46, 48, 50, 52, 54, 56, 58, 61, 63, 65, 66, 68, 73, 75, 86, 99, 102, 103, 106, 108, 111, 112, 113], Ee = [8, 9, 11, 42, 58, 73, 75, 86, 99, 102, 103, 106, 108, 111, 112, 113], R1 = [42, 58, 86, 99, 102, 103, 106, 108, 111, 112, 113], ke = [1, 121], be = [1, 120], ge = [1, 128], De = [1, 142], Fe = [1, 143], Te = [1, 144], Se = [1, 145], Ce = [1, 130], _e = [1, 132], xe = [1, 136], Be = [1, 137], me = [1, 138], ye = [1, 139], Ve = [1, 140], Le = [1, 141], ve = [1, 146], Ie = [1, 147], Re = [1, 126], Ne = [1, 127], we = [1, 134], Oe = [1, 129], Pe = [1, 133], Ue = [1, 131], re = [8, 9, 10, 11, 27, 32, 34, 36, 38, 42, 58, 81, 82, 83, 84, 85, 86, 99, 102, 103, 106, 108, 111, 112, 113, 118, 119, 120, 121], Ge = [1, 149], T = [8, 9, 11], K = [8, 9, 10, 11, 14, 42, 58, 86, 102, 103, 106, 108, 111, 112, 113], d = [1, 169], O = [1, 165], P = [1, 166], p = [1, 170], A = [1, 167], E = [1, 168], m1 = [75, 113, 116], g = [8, 9, 10, 11, 12, 14, 27, 29, 32, 42, 58, 73, 81, 82, 83, 84, 85, 86, 87, 102, 106, 108, 111, 112, 113], Me = [10, 103], h1 = [31, 47, 49, 51, 53, 55, 60, 62, 64, 65, 67, 69, 113, 114, 115], J = [1, 235], $ = [1, 233], e1 = [1, 237], t1 = [1, 231], s1 = [1, 232], u1 = [1, 234], n1 = [1, 236], i1 = [1, 238], y1 = [1, 255], Ke = [8, 9, 11, 103], q = [8, 9, 10, 11, 58, 81, 102, 103, 106, 107, 108, 109], ae = {
8
+ trace: function() {
9
+ },
10
+ yy: {},
11
+ symbols_: { error: 2, start: 3, graphConfig: 4, document: 5, line: 6, statement: 7, SEMI: 8, NEWLINE: 9, SPACE: 10, EOF: 11, GRAPH: 12, NODIR: 13, DIR: 14, FirstStmtSeparator: 15, ending: 16, endToken: 17, spaceList: 18, spaceListNewline: 19, vertexStatement: 20, separator: 21, styleStatement: 22, linkStyleStatement: 23, classDefStatement: 24, classStatement: 25, clickStatement: 26, subgraph: 27, textNoTags: 28, SQS: 29, text: 30, SQE: 31, end: 32, direction: 33, acc_title: 34, acc_title_value: 35, acc_descr: 36, acc_descr_value: 37, acc_descr_multiline_value: 38, link: 39, node: 40, styledVertex: 41, AMP: 42, vertex: 43, STYLE_SEPARATOR: 44, idString: 45, DOUBLECIRCLESTART: 46, DOUBLECIRCLEEND: 47, PS: 48, PE: 49, "(-": 50, "-)": 51, STADIUMSTART: 52, STADIUMEND: 53, SUBROUTINESTART: 54, SUBROUTINEEND: 55, VERTEX_WITH_PROPS_START: 56, "NODE_STRING[field]": 57, COLON: 58, "NODE_STRING[value]": 59, PIPE: 60, CYLINDERSTART: 61, CYLINDEREND: 62, DIAMOND_START: 63, DIAMOND_STOP: 64, TAGEND: 65, TRAPSTART: 66, TRAPEND: 67, INVTRAPSTART: 68, INVTRAPEND: 69, linkStatement: 70, arrowText: 71, TESTSTR: 72, START_LINK: 73, edgeText: 74, LINK: 75, edgeTextToken: 76, STR: 77, MD_STR: 78, textToken: 79, keywords: 80, STYLE: 81, LINKSTYLE: 82, CLASSDEF: 83, CLASS: 84, CLICK: 85, DOWN: 86, UP: 87, textNoTagsToken: 88, stylesOpt: 89, "idString[vertex]": 90, "idString[class]": 91, CALLBACKNAME: 92, CALLBACKARGS: 93, HREF: 94, LINK_TARGET: 95, "STR[link]": 96, "STR[tooltip]": 97, alphaNum: 98, DEFAULT: 99, numList: 100, INTERPOLATE: 101, NUM: 102, COMMA: 103, style: 104, styleComponent: 105, NODE_STRING: 106, UNIT: 107, BRKT: 108, PCT: 109, idStringToken: 110, MINUS: 111, MULT: 112, UNICODE_TEXT: 113, TEXT: 114, TAGSTART: 115, EDGE_TEXT: 116, alphaNumToken: 117, direction_tb: 118, direction_bt: 119, direction_rl: 120, direction_lr: 121, $accept: 0, $end: 1 },
12
+ terminals_: { 2: "error", 8: "SEMI", 9: "NEWLINE", 10: "SPACE", 11: "EOF", 12: "GRAPH", 13: "NODIR", 14: "DIR", 27: "subgraph", 29: "SQS", 31: "SQE", 32: "end", 34: "acc_title", 35: "acc_title_value", 36: "acc_descr", 37: "acc_descr_value", 38: "acc_descr_multiline_value", 42: "AMP", 44: "STYLE_SEPARATOR", 46: "DOUBLECIRCLESTART", 47: "DOUBLECIRCLEEND", 48: "PS", 49: "PE", 50: "(-", 51: "-)", 52: "STADIUMSTART", 53: "STADIUMEND", 54: "SUBROUTINESTART", 55: "SUBROUTINEEND", 56: "VERTEX_WITH_PROPS_START", 57: "NODE_STRING[field]", 58: "COLON", 59: "NODE_STRING[value]", 60: "PIPE", 61: "CYLINDERSTART", 62: "CYLINDEREND", 63: "DIAMOND_START", 64: "DIAMOND_STOP", 65: "TAGEND", 66: "TRAPSTART", 67: "TRAPEND", 68: "INVTRAPSTART", 69: "INVTRAPEND", 72: "TESTSTR", 73: "START_LINK", 75: "LINK", 77: "STR", 78: "MD_STR", 81: "STYLE", 82: "LINKSTYLE", 83: "CLASSDEF", 84: "CLASS", 85: "CLICK", 86: "DOWN", 87: "UP", 90: "idString[vertex]", 91: "idString[class]", 92: "CALLBACKNAME", 93: "CALLBACKARGS", 94: "HREF", 95: "LINK_TARGET", 96: "STR[link]", 97: "STR[tooltip]", 99: "DEFAULT", 101: "INTERPOLATE", 102: "NUM", 103: "COMMA", 106: "NODE_STRING", 107: "UNIT", 108: "BRKT", 109: "PCT", 111: "MINUS", 112: "MULT", 113: "UNICODE_TEXT", 114: "TEXT", 115: "TAGSTART", 116: "EDGE_TEXT", 118: "direction_tb", 119: "direction_bt", 120: "direction_rl", 121: "direction_lr" },
13
+ productions_: [0, [3, 2], [5, 0], [5, 2], [6, 1], [6, 1], [6, 1], [6, 1], [6, 1], [4, 2], [4, 2], [4, 2], [4, 3], [16, 2], [16, 1], [17, 1], [17, 1], [17, 1], [15, 1], [15, 1], [15, 2], [19, 2], [19, 2], [19, 1], [19, 1], [18, 2], [18, 1], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 9], [7, 6], [7, 4], [7, 1], [7, 2], [7, 2], [7, 1], [21, 1], [21, 1], [21, 1], [20, 3], [20, 4], [20, 2], [20, 1], [40, 1], [40, 5], [41, 1], [41, 3], [43, 4], [43, 4], [43, 6], [43, 4], [43, 4], [43, 4], [43, 8], [43, 4], [43, 4], [43, 4], [43, 6], [43, 4], [43, 4], [43, 4], [43, 4], [43, 4], [43, 1], [39, 2], [39, 3], [39, 3], [39, 1], [39, 3], [74, 1], [74, 2], [74, 1], [74, 1], [70, 1], [71, 3], [30, 1], [30, 2], [30, 1], [30, 1], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [28, 1], [28, 2], [28, 1], [28, 1], [24, 5], [25, 5], [26, 2], [26, 4], [26, 3], [26, 5], [26, 3], [26, 5], [26, 5], [26, 7], [26, 2], [26, 4], [26, 2], [26, 4], [26, 4], [26, 6], [22, 5], [23, 5], [23, 5], [23, 9], [23, 9], [23, 7], [23, 7], [100, 1], [100, 3], [89, 1], [89, 3], [104, 1], [104, 2], [105, 1], [105, 1], [105, 1], [105, 1], [105, 1], [105, 1], [105, 1], [105, 1], [110, 1], [110, 1], [110, 1], [110, 1], [110, 1], [110, 1], [110, 1], [110, 1], [110, 1], [110, 1], [110, 1], [79, 1], [79, 1], [79, 1], [79, 1], [88, 1], [88, 1], [88, 1], [88, 1], [88, 1], [88, 1], [88, 1], [88, 1], [88, 1], [88, 1], [88, 1], [76, 1], [76, 1], [117, 1], [117, 1], [117, 1], [117, 1], [117, 1], [117, 1], [117, 1], [117, 1], [117, 1], [117, 1], [117, 1], [45, 1], [45, 2], [98, 1], [98, 2], [33, 1], [33, 1], [33, 1], [33, 1]],
14
+ performAction: function(a, l, f, i, S, e, N1) {
15
+ var s = e.length - 1;
16
+ switch (S) {
17
+ case 2:
18
+ this.$ = [];
19
+ break;
20
+ case 3:
21
+ (!Array.isArray(e[s]) || e[s].length > 0) && e[s - 1].push(e[s]), this.$ = e[s - 1];
22
+ break;
23
+ case 4:
24
+ case 176:
25
+ this.$ = e[s];
26
+ break;
27
+ case 11:
28
+ i.setDirection("TB"), this.$ = "TB";
29
+ break;
30
+ case 12:
31
+ i.setDirection(e[s - 1]), this.$ = e[s - 1];
32
+ break;
33
+ case 27:
34
+ this.$ = e[s - 1].nodes;
35
+ break;
36
+ case 28:
37
+ case 29:
38
+ case 30:
39
+ case 31:
40
+ case 32:
41
+ this.$ = [];
42
+ break;
43
+ case 33:
44
+ this.$ = i.addSubGraph(e[s - 6], e[s - 1], e[s - 4]);
45
+ break;
46
+ case 34:
47
+ this.$ = i.addSubGraph(e[s - 3], e[s - 1], e[s - 3]);
48
+ break;
49
+ case 35:
50
+ this.$ = i.addSubGraph(void 0, e[s - 1], void 0);
51
+ break;
52
+ case 37:
53
+ this.$ = e[s].trim(), i.setAccTitle(this.$);
54
+ break;
55
+ case 38:
56
+ case 39:
57
+ this.$ = e[s].trim(), i.setAccDescription(this.$);
58
+ break;
59
+ case 43:
60
+ i.addLink(e[s - 2].stmt, e[s], e[s - 1]), this.$ = { stmt: e[s], nodes: e[s].concat(e[s - 2].nodes) };
61
+ break;
62
+ case 44:
63
+ i.addLink(e[s - 3].stmt, e[s - 1], e[s - 2]), this.$ = { stmt: e[s - 1], nodes: e[s - 1].concat(e[s - 3].nodes) };
64
+ break;
65
+ case 45:
66
+ this.$ = { stmt: e[s - 1], nodes: e[s - 1] };
67
+ break;
68
+ case 46:
69
+ this.$ = { stmt: e[s], nodes: e[s] };
70
+ break;
71
+ case 47:
72
+ this.$ = [e[s]];
73
+ break;
74
+ case 48:
75
+ this.$ = e[s - 4].concat(e[s]);
76
+ break;
77
+ case 49:
78
+ this.$ = e[s];
79
+ break;
80
+ case 50:
81
+ this.$ = e[s - 2], i.setClass(e[s - 2], e[s]);
82
+ break;
83
+ case 51:
84
+ this.$ = e[s - 3], i.addVertex(e[s - 3], e[s - 1], "square");
85
+ break;
86
+ case 52:
87
+ this.$ = e[s - 3], i.addVertex(e[s - 3], e[s - 1], "doublecircle");
88
+ break;
89
+ case 53:
90
+ this.$ = e[s - 5], i.addVertex(e[s - 5], e[s - 2], "circle");
91
+ break;
92
+ case 54:
93
+ this.$ = e[s - 3], i.addVertex(e[s - 3], e[s - 1], "ellipse");
94
+ break;
95
+ case 55:
96
+ this.$ = e[s - 3], i.addVertex(e[s - 3], e[s - 1], "stadium");
97
+ break;
98
+ case 56:
99
+ this.$ = e[s - 3], i.addVertex(e[s - 3], e[s - 1], "subroutine");
100
+ break;
101
+ case 57:
102
+ this.$ = e[s - 7], i.addVertex(e[s - 7], e[s - 1], "rect", void 0, void 0, void 0, Object.fromEntries([[e[s - 5], e[s - 3]]]));
103
+ break;
104
+ case 58:
105
+ this.$ = e[s - 3], i.addVertex(e[s - 3], e[s - 1], "cylinder");
106
+ break;
107
+ case 59:
108
+ this.$ = e[s - 3], i.addVertex(e[s - 3], e[s - 1], "round");
109
+ break;
110
+ case 60:
111
+ this.$ = e[s - 3], i.addVertex(e[s - 3], e[s - 1], "diamond");
112
+ break;
113
+ case 61:
114
+ this.$ = e[s - 5], i.addVertex(e[s - 5], e[s - 2], "hexagon");
115
+ break;
116
+ case 62:
117
+ this.$ = e[s - 3], i.addVertex(e[s - 3], e[s - 1], "odd");
118
+ break;
119
+ case 63:
120
+ this.$ = e[s - 3], i.addVertex(e[s - 3], e[s - 1], "trapezoid");
121
+ break;
122
+ case 64:
123
+ this.$ = e[s - 3], i.addVertex(e[s - 3], e[s - 1], "inv_trapezoid");
124
+ break;
125
+ case 65:
126
+ this.$ = e[s - 3], i.addVertex(e[s - 3], e[s - 1], "lean_right");
127
+ break;
128
+ case 66:
129
+ this.$ = e[s - 3], i.addVertex(e[s - 3], e[s - 1], "lean_left");
130
+ break;
131
+ case 67:
132
+ this.$ = e[s], i.addVertex(e[s]);
133
+ break;
134
+ case 68:
135
+ e[s - 1].text = e[s], this.$ = e[s - 1];
136
+ break;
137
+ case 69:
138
+ case 70:
139
+ e[s - 2].text = e[s - 1], this.$ = e[s - 2];
140
+ break;
141
+ case 71:
142
+ this.$ = e[s];
143
+ break;
144
+ case 72:
145
+ var Y = i.destructLink(e[s], e[s - 2]);
146
+ this.$ = { type: Y.type, stroke: Y.stroke, length: Y.length, text: e[s - 1] };
147
+ break;
148
+ case 73:
149
+ this.$ = { text: e[s], type: "text" };
150
+ break;
151
+ case 74:
152
+ this.$ = { text: e[s - 1].text + "" + e[s], type: e[s - 1].type };
153
+ break;
154
+ case 75:
155
+ this.$ = { text: e[s], type: "string" };
156
+ break;
157
+ case 76:
158
+ this.$ = { text: e[s], type: "markdown" };
159
+ break;
160
+ case 77:
161
+ var Y = i.destructLink(e[s]);
162
+ this.$ = { type: Y.type, stroke: Y.stroke, length: Y.length };
163
+ break;
164
+ case 78:
165
+ this.$ = e[s - 1];
166
+ break;
167
+ case 79:
168
+ this.$ = { text: e[s], type: "text" };
169
+ break;
170
+ case 80:
171
+ this.$ = { text: e[s - 1].text + "" + e[s], type: e[s - 1].type };
172
+ break;
173
+ case 81:
174
+ this.$ = { text: e[s], type: "string" };
175
+ break;
176
+ case 82:
177
+ case 97:
178
+ this.$ = { text: e[s], type: "markdown" };
179
+ break;
180
+ case 94:
181
+ this.$ = { text: e[s], type: "text" };
182
+ break;
183
+ case 95:
184
+ this.$ = { text: e[s - 1].text + "" + e[s], type: e[s - 1].type };
185
+ break;
186
+ case 96:
187
+ this.$ = { text: e[s], type: "text" };
188
+ break;
189
+ case 98:
190
+ this.$ = e[s - 4], i.addClass(e[s - 2], e[s]);
191
+ break;
192
+ case 99:
193
+ this.$ = e[s - 4], i.setClass(e[s - 2], e[s]);
194
+ break;
195
+ case 100:
196
+ case 108:
197
+ this.$ = e[s - 1], i.setClickEvent(e[s - 1], e[s]);
198
+ break;
199
+ case 101:
200
+ case 109:
201
+ this.$ = e[s - 3], i.setClickEvent(e[s - 3], e[s - 2]), i.setTooltip(e[s - 3], e[s]);
202
+ break;
203
+ case 102:
204
+ this.$ = e[s - 2], i.setClickEvent(e[s - 2], e[s - 1], e[s]);
205
+ break;
206
+ case 103:
207
+ this.$ = e[s - 4], i.setClickEvent(e[s - 4], e[s - 3], e[s - 2]), i.setTooltip(e[s - 4], e[s]);
208
+ break;
209
+ case 104:
210
+ this.$ = e[s - 2], i.setLink(e[s - 2], e[s]);
211
+ break;
212
+ case 105:
213
+ this.$ = e[s - 4], i.setLink(e[s - 4], e[s - 2]), i.setTooltip(e[s - 4], e[s]);
214
+ break;
215
+ case 106:
216
+ this.$ = e[s - 4], i.setLink(e[s - 4], e[s - 2], e[s]);
217
+ break;
218
+ case 107:
219
+ this.$ = e[s - 6], i.setLink(e[s - 6], e[s - 4], e[s]), i.setTooltip(e[s - 6], e[s - 2]);
220
+ break;
221
+ case 110:
222
+ this.$ = e[s - 1], i.setLink(e[s - 1], e[s]);
223
+ break;
224
+ case 111:
225
+ this.$ = e[s - 3], i.setLink(e[s - 3], e[s - 2]), i.setTooltip(e[s - 3], e[s]);
226
+ break;
227
+ case 112:
228
+ this.$ = e[s - 3], i.setLink(e[s - 3], e[s - 2], e[s]);
229
+ break;
230
+ case 113:
231
+ this.$ = e[s - 5], i.setLink(e[s - 5], e[s - 4], e[s]), i.setTooltip(e[s - 5], e[s - 2]);
232
+ break;
233
+ case 114:
234
+ this.$ = e[s - 4], i.addVertex(e[s - 2], void 0, void 0, e[s]);
235
+ break;
236
+ case 115:
237
+ this.$ = e[s - 4], i.updateLink([e[s - 2]], e[s]);
238
+ break;
239
+ case 116:
240
+ this.$ = e[s - 4], i.updateLink(e[s - 2], e[s]);
241
+ break;
242
+ case 117:
243
+ this.$ = e[s - 8], i.updateLinkInterpolate([e[s - 6]], e[s - 2]), i.updateLink([e[s - 6]], e[s]);
244
+ break;
245
+ case 118:
246
+ this.$ = e[s - 8], i.updateLinkInterpolate(e[s - 6], e[s - 2]), i.updateLink(e[s - 6], e[s]);
247
+ break;
248
+ case 119:
249
+ this.$ = e[s - 6], i.updateLinkInterpolate([e[s - 4]], e[s]);
250
+ break;
251
+ case 120:
252
+ this.$ = e[s - 6], i.updateLinkInterpolate(e[s - 4], e[s]);
253
+ break;
254
+ case 121:
255
+ case 123:
256
+ this.$ = [e[s]];
257
+ break;
258
+ case 122:
259
+ case 124:
260
+ e[s - 2].push(e[s]), this.$ = e[s - 2];
261
+ break;
262
+ case 126:
263
+ this.$ = e[s - 1] + e[s];
264
+ break;
265
+ case 174:
266
+ this.$ = e[s];
267
+ break;
268
+ case 175:
269
+ this.$ = e[s - 1] + "" + e[s];
270
+ break;
271
+ case 177:
272
+ this.$ = e[s - 1] + "" + e[s];
273
+ break;
274
+ case 178:
275
+ this.$ = { stmt: "dir", value: "TB" };
276
+ break;
277
+ case 179:
278
+ this.$ = { stmt: "dir", value: "BT" };
279
+ break;
280
+ case 180:
281
+ this.$ = { stmt: "dir", value: "RL" };
282
+ break;
283
+ case 181:
284
+ this.$ = { stmt: "dir", value: "LR" };
285
+ break;
286
+ }
287
+ },
288
+ table: [{ 3: 1, 4: 2, 9: u, 10: n, 12: r }, { 1: [3] }, t(c, o, { 5: 6 }), { 4: 7, 9: u, 10: n, 12: r }, { 4: 8, 9: u, 10: n, 12: r }, { 13: [1, 9], 14: [1, 10] }, { 1: [2, 1], 6: 11, 7: 12, 8: h, 9: U, 10: F, 11: w, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: X, 33: 24, 34: l1, 36: d1, 38: p1, 40: 28, 41: 38, 42: C, 43: 39, 45: 40, 58: k, 81: o1, 82: U1, 83: G1, 84: M1, 85: K1, 86: x, 99: B, 102: m, 103: y, 106: V, 108: L, 110: 41, 111: v, 112: I, 113: R, 118: Y1, 119: j1, 120: z1, 121: X1 }, t(c, [2, 9]), t(c, [2, 10]), t(c, [2, 11]), { 8: [1, 54], 9: [1, 55], 10: I1, 15: 53, 18: 56 }, t(b, [2, 3]), t(b, [2, 4]), t(b, [2, 5]), t(b, [2, 6]), t(b, [2, 7]), t(b, [2, 8]), { 8: W, 9: Q, 11: Z, 21: 58, 39: 59, 70: 63, 73: [1, 64], 75: [1, 65] }, { 8: W, 9: Q, 11: Z, 21: 66 }, { 8: W, 9: Q, 11: Z, 21: 67 }, { 8: W, 9: Q, 11: Z, 21: 68 }, { 8: W, 9: Q, 11: Z, 21: 69 }, { 8: W, 9: Q, 11: Z, 21: 70 }, { 8: W, 9: Q, 10: [1, 71], 11: Z, 21: 72 }, t(b, [2, 36]), { 35: [1, 73] }, { 37: [1, 74] }, t(b, [2, 39]), t(H1, [2, 46], { 18: 75, 10: I1 }), { 10: [1, 76] }, { 10: [1, 77] }, { 10: [1, 78] }, { 10: [1, 79] }, { 14: k1, 42: b1, 58: g1, 77: [1, 83], 86: D1, 92: [1, 80], 94: [1, 81], 98: 82, 102: F1, 103: T1, 106: S1, 108: C1, 111: _1, 112: x1, 113: B1, 117: 84 }, t(b, [2, 178]), t(b, [2, 179]), t(b, [2, 180]), t(b, [2, 181]), t(q1, [2, 47]), t(q1, [2, 49], { 44: [1, 96] }), t(N, [2, 67], { 110: 109, 29: [1, 97], 42: C, 46: [1, 98], 48: [1, 99], 50: [1, 100], 52: [1, 101], 54: [1, 102], 56: [1, 103], 58: k, 61: [1, 104], 63: [1, 105], 65: [1, 106], 66: [1, 107], 68: [1, 108], 86: x, 99: B, 102: m, 103: y, 106: V, 108: L, 111: v, 112: I, 113: R }), t(M, [2, 174]), t(M, [2, 135]), t(M, [2, 136]), t(M, [2, 137]), t(M, [2, 138]), t(M, [2, 139]), t(M, [2, 140]), t(M, [2, 141]), t(M, [2, 142]), t(M, [2, 143]), t(M, [2, 144]), t(M, [2, 145]), t(c, [2, 12]), t(c, [2, 18]), t(c, [2, 19]), { 9: [1, 110] }, t(Ee, [2, 26], { 18: 111, 10: I1 }), t(b, [2, 27]), { 40: 112, 41: 38, 42: C, 43: 39, 45: 40, 58: k, 86: x, 99: B, 102: m, 103: y, 106: V, 108: L, 110: 41, 111: v, 112: I, 113: R }, t(b, [2, 40]), t(b, [2, 41]), t(b, [2, 42]), t(R1, [2, 71], { 71: 113, 60: [1, 115], 72: [1, 114] }), { 74: 116, 76: 117, 77: [1, 118], 78: [1, 119], 113: ke, 116: be }, t([42, 58, 60, 72, 86, 99, 102, 103, 106, 108, 111, 112, 113], [2, 77]), t(b, [2, 28]), t(b, [2, 29]), t(b, [2, 30]), t(b, [2, 31]), t(b, [2, 32]), { 10: ge, 12: De, 14: Fe, 27: Te, 28: 122, 32: Se, 42: Ce, 58: _e, 73: xe, 77: [1, 124], 78: [1, 125], 80: 135, 81: Be, 82: me, 83: ye, 84: Ve, 85: Le, 86: ve, 87: Ie, 88: 123, 102: Re, 106: Ne, 108: we, 111: Oe, 112: Pe, 113: Ue }, t(re, o, { 5: 148 }), t(b, [2, 37]), t(b, [2, 38]), t(H1, [2, 45], { 42: Ge }), { 42: C, 45: 150, 58: k, 86: x, 99: B, 102: m, 103: y, 106: V, 108: L, 110: 41, 111: v, 112: I, 113: R }, { 99: [1, 151], 100: 152, 102: [1, 153] }, { 42: C, 45: 154, 58: k, 86: x, 99: B, 102: m, 103: y, 106: V, 108: L, 110: 41, 111: v, 112: I, 113: R }, { 42: C, 45: 155, 58: k, 86: x, 99: B, 102: m, 103: y, 106: V, 108: L, 110: 41, 111: v, 112: I, 113: R }, t(T, [2, 100], { 10: [1, 156], 93: [1, 157] }), { 77: [1, 158] }, t(T, [2, 108], { 117: 160, 10: [1, 159], 14: k1, 42: b1, 58: g1, 86: D1, 102: F1, 103: T1, 106: S1, 108: C1, 111: _1, 112: x1, 113: B1 }), t(T, [2, 110], { 10: [1, 161] }), t(K, [2, 176]), t(K, [2, 163]), t(K, [2, 164]), t(K, [2, 165]), t(K, [2, 166]), t(K, [2, 167]), t(K, [2, 168]), t(K, [2, 169]), t(K, [2, 170]), t(K, [2, 171]), t(K, [2, 172]), t(K, [2, 173]), { 42: C, 45: 162, 58: k, 86: x, 99: B, 102: m, 103: y, 106: V, 108: L, 110: 41, 111: v, 112: I, 113: R }, { 30: 163, 65: d, 77: O, 78: P, 79: 164, 113: p, 114: A, 115: E }, { 30: 171, 65: d, 77: O, 78: P, 79: 164, 113: p, 114: A, 115: E }, { 30: 173, 48: [1, 172], 65: d, 77: O, 78: P, 79: 164, 113: p, 114: A, 115: E }, { 30: 174, 65: d, 77: O, 78: P, 79: 164, 113: p, 114: A, 115: E }, { 30: 175, 65: d, 77: O, 78: P, 79: 164, 113: p, 114: A, 115: E }, { 30: 176, 65: d, 77: O, 78: P, 79: 164, 113: p, 114: A, 115: E }, { 106: [1, 177] }, { 30: 178, 65: d, 77: O, 78: P, 79: 164, 113: p, 114: A, 115: E }, { 30: 179, 63: [1, 180], 65: d, 77: O, 78: P, 79: 164, 113: p, 114: A, 115: E }, { 30: 181, 65: d, 77: O, 78: P, 79: 164, 113: p, 114: A, 115: E }, { 30: 182, 65: d, 77: O, 78: P, 79: 164, 113: p, 114: A, 115: E }, { 30: 183, 65: d, 77: O, 78: P, 79: 164, 113: p, 114: A, 115: E }, t(M, [2, 175]), t(c, [2, 20]), t(Ee, [2, 25]), t(H1, [2, 43], { 18: 184, 10: I1 }), t(R1, [2, 68], { 10: [1, 185] }), { 10: [1, 186] }, { 30: 187, 65: d, 77: O, 78: P, 79: 164, 113: p, 114: A, 115: E }, { 75: [1, 188], 76: 189, 113: ke, 116: be }, t(m1, [2, 73]), t(m1, [2, 75]), t(m1, [2, 76]), t(m1, [2, 161]), t(m1, [2, 162]), { 8: W, 9: Q, 10: ge, 11: Z, 12: De, 14: Fe, 21: 191, 27: Te, 29: [1, 190], 32: Se, 42: Ce, 58: _e, 73: xe, 80: 135, 81: Be, 82: me, 83: ye, 84: Ve, 85: Le, 86: ve, 87: Ie, 88: 192, 102: Re, 106: Ne, 108: we, 111: Oe, 112: Pe, 113: Ue }, t(g, [2, 94]), t(g, [2, 96]), t(g, [2, 97]), t(g, [2, 150]), t(g, [2, 151]), t(g, [2, 152]), t(g, [2, 153]), t(g, [2, 154]), t(g, [2, 155]), t(g, [2, 156]), t(g, [2, 157]), t(g, [2, 158]), t(g, [2, 159]), t(g, [2, 160]), t(g, [2, 83]), t(g, [2, 84]), t(g, [2, 85]), t(g, [2, 86]), t(g, [2, 87]), t(g, [2, 88]), t(g, [2, 89]), t(g, [2, 90]), t(g, [2, 91]), t(g, [2, 92]), t(g, [2, 93]), { 6: 11, 7: 12, 8: h, 9: U, 10: F, 11: w, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: X, 32: [1, 193], 33: 24, 34: l1, 36: d1, 38: p1, 40: 28, 41: 38, 42: C, 43: 39, 45: 40, 58: k, 81: o1, 82: U1, 83: G1, 84: M1, 85: K1, 86: x, 99: B, 102: m, 103: y, 106: V, 108: L, 110: 41, 111: v, 112: I, 113: R, 118: Y1, 119: j1, 120: z1, 121: X1 }, { 10: I1, 18: 194 }, { 10: [1, 195], 42: C, 58: k, 86: x, 99: B, 102: m, 103: y, 106: V, 108: L, 110: 109, 111: v, 112: I, 113: R }, { 10: [1, 196] }, { 10: [1, 197], 103: [1, 198] }, t(Me, [2, 121]), { 10: [1, 199], 42: C, 58: k, 86: x, 99: B, 102: m, 103: y, 106: V, 108: L, 110: 109, 111: v, 112: I, 113: R }, { 10: [1, 200], 42: C, 58: k, 86: x, 99: B, 102: m, 103: y, 106: V, 108: L, 110: 109, 111: v, 112: I, 113: R }, { 77: [1, 201] }, t(T, [2, 102], { 10: [1, 202] }), t(T, [2, 104], { 10: [1, 203] }), { 77: [1, 204] }, t(K, [2, 177]), { 77: [1, 205], 95: [1, 206] }, t(q1, [2, 50], { 110: 109, 42: C, 58: k, 86: x, 99: B, 102: m, 103: y, 106: V, 108: L, 111: v, 112: I, 113: R }), { 31: [1, 207], 65: d, 79: 208, 113: p, 114: A, 115: E }, t(h1, [2, 79]), t(h1, [2, 81]), t(h1, [2, 82]), t(h1, [2, 146]), t(h1, [2, 147]), t(h1, [2, 148]), t(h1, [2, 149]), { 47: [1, 209], 65: d, 79: 208, 113: p, 114: A, 115: E }, { 30: 210, 65: d, 77: O, 78: P, 79: 164, 113: p, 114: A, 115: E }, { 49: [1, 211], 65: d, 79: 208, 113: p, 114: A, 115: E }, { 51: [1, 212], 65: d, 79: 208, 113: p, 114: A, 115: E }, { 53: [1, 213], 65: d, 79: 208, 113: p, 114: A, 115: E }, { 55: [1, 214], 65: d, 79: 208, 113: p, 114: A, 115: E }, { 58: [1, 215] }, { 62: [1, 216], 65: d, 79: 208, 113: p, 114: A, 115: E }, { 64: [1, 217], 65: d, 79: 208, 113: p, 114: A, 115: E }, { 30: 218, 65: d, 77: O, 78: P, 79: 164, 113: p, 114: A, 115: E }, { 31: [1, 219], 65: d, 79: 208, 113: p, 114: A, 115: E }, { 65: d, 67: [1, 220], 69: [1, 221], 79: 208, 113: p, 114: A, 115: E }, { 65: d, 67: [1, 223], 69: [1, 222], 79: 208, 113: p, 114: A, 115: E }, t(H1, [2, 44], { 42: Ge }), t(R1, [2, 70]), t(R1, [2, 69]), { 60: [1, 224], 65: d, 79: 208, 113: p, 114: A, 115: E }, t(R1, [2, 72]), t(m1, [2, 74]), { 30: 225, 65: d, 77: O, 78: P, 79: 164, 113: p, 114: A, 115: E }, t(re, o, { 5: 226 }), t(g, [2, 95]), t(b, [2, 35]), { 41: 227, 42: C, 43: 39, 45: 40, 58: k, 86: x, 99: B, 102: m, 103: y, 106: V, 108: L, 110: 41, 111: v, 112: I, 113: R }, { 10: J, 58: $, 81: e1, 89: 228, 102: t1, 104: 229, 105: 230, 106: s1, 107: u1, 108: n1, 109: i1 }, { 10: J, 58: $, 81: e1, 89: 239, 101: [1, 240], 102: t1, 104: 229, 105: 230, 106: s1, 107: u1, 108: n1, 109: i1 }, { 10: J, 58: $, 81: e1, 89: 241, 101: [1, 242], 102: t1, 104: 229, 105: 230, 106: s1, 107: u1, 108: n1, 109: i1 }, { 102: [1, 243] }, { 10: J, 58: $, 81: e1, 89: 244, 102: t1, 104: 229, 105: 230, 106: s1, 107: u1, 108: n1, 109: i1 }, { 42: C, 45: 245, 58: k, 86: x, 99: B, 102: m, 103: y, 106: V, 108: L, 110: 41, 111: v, 112: I, 113: R }, t(T, [2, 101]), { 77: [1, 246] }, { 77: [1, 247], 95: [1, 248] }, t(T, [2, 109]), t(T, [2, 111], { 10: [1, 249] }), t(T, [2, 112]), t(N, [2, 51]), t(h1, [2, 80]), t(N, [2, 52]), { 49: [1, 250], 65: d, 79: 208, 113: p, 114: A, 115: E }, t(N, [2, 59]), t(N, [2, 54]), t(N, [2, 55]), t(N, [2, 56]), { 106: [1, 251] }, t(N, [2, 58]), t(N, [2, 60]), { 64: [1, 252], 65: d, 79: 208, 113: p, 114: A, 115: E }, t(N, [2, 62]), t(N, [2, 63]), t(N, [2, 65]), t(N, [2, 64]), t(N, [2, 66]), t([10, 42, 58, 86, 99, 102, 103, 106, 108, 111, 112, 113], [2, 78]), { 31: [1, 253], 65: d, 79: 208, 113: p, 114: A, 115: E }, { 6: 11, 7: 12, 8: h, 9: U, 10: F, 11: w, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: X, 32: [1, 254], 33: 24, 34: l1, 36: d1, 38: p1, 40: 28, 41: 38, 42: C, 43: 39, 45: 40, 58: k, 81: o1, 82: U1, 83: G1, 84: M1, 85: K1, 86: x, 99: B, 102: m, 103: y, 106: V, 108: L, 110: 41, 111: v, 112: I, 113: R, 118: Y1, 119: j1, 120: z1, 121: X1 }, t(q1, [2, 48]), t(T, [2, 114], { 103: y1 }), t(Ke, [2, 123], { 105: 256, 10: J, 58: $, 81: e1, 102: t1, 106: s1, 107: u1, 108: n1, 109: i1 }), t(q, [2, 125]), t(q, [2, 127]), t(q, [2, 128]), t(q, [2, 129]), t(q, [2, 130]), t(q, [2, 131]), t(q, [2, 132]), t(q, [2, 133]), t(q, [2, 134]), t(T, [2, 115], { 103: y1 }), { 10: [1, 257] }, t(T, [2, 116], { 103: y1 }), { 10: [1, 258] }, t(Me, [2, 122]), t(T, [2, 98], { 103: y1 }), t(T, [2, 99], { 110: 109, 42: C, 58: k, 86: x, 99: B, 102: m, 103: y, 106: V, 108: L, 111: v, 112: I, 113: R }), t(T, [2, 103]), t(T, [2, 105], { 10: [1, 259] }), t(T, [2, 106]), { 95: [1, 260] }, { 49: [1, 261] }, { 60: [1, 262] }, { 64: [1, 263] }, { 8: W, 9: Q, 11: Z, 21: 264 }, t(b, [2, 34]), { 10: J, 58: $, 81: e1, 102: t1, 104: 265, 105: 230, 106: s1, 107: u1, 108: n1, 109: i1 }, t(q, [2, 126]), { 14: k1, 42: b1, 58: g1, 86: D1, 98: 266, 102: F1, 103: T1, 106: S1, 108: C1, 111: _1, 112: x1, 113: B1, 117: 84 }, { 14: k1, 42: b1, 58: g1, 86: D1, 98: 267, 102: F1, 103: T1, 106: S1, 108: C1, 111: _1, 112: x1, 113: B1, 117: 84 }, { 95: [1, 268] }, t(T, [2, 113]), t(N, [2, 53]), { 30: 269, 65: d, 77: O, 78: P, 79: 164, 113: p, 114: A, 115: E }, t(N, [2, 61]), t(re, o, { 5: 270 }), t(Ke, [2, 124], { 105: 256, 10: J, 58: $, 81: e1, 102: t1, 106: s1, 107: u1, 108: n1, 109: i1 }), t(T, [2, 119], { 117: 160, 10: [1, 271], 14: k1, 42: b1, 58: g1, 86: D1, 102: F1, 103: T1, 106: S1, 108: C1, 111: _1, 112: x1, 113: B1 }), t(T, [2, 120], { 117: 160, 10: [1, 272], 14: k1, 42: b1, 58: g1, 86: D1, 102: F1, 103: T1, 106: S1, 108: C1, 111: _1, 112: x1, 113: B1 }), t(T, [2, 107]), { 31: [1, 273], 65: d, 79: 208, 113: p, 114: A, 115: E }, { 6: 11, 7: 12, 8: h, 9: U, 10: F, 11: w, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: X, 32: [1, 274], 33: 24, 34: l1, 36: d1, 38: p1, 40: 28, 41: 38, 42: C, 43: 39, 45: 40, 58: k, 81: o1, 82: U1, 83: G1, 84: M1, 85: K1, 86: x, 99: B, 102: m, 103: y, 106: V, 108: L, 110: 41, 111: v, 112: I, 113: R, 118: Y1, 119: j1, 120: z1, 121: X1 }, { 10: J, 58: $, 81: e1, 89: 275, 102: t1, 104: 229, 105: 230, 106: s1, 107: u1, 108: n1, 109: i1 }, { 10: J, 58: $, 81: e1, 89: 276, 102: t1, 104: 229, 105: 230, 106: s1, 107: u1, 108: n1, 109: i1 }, t(N, [2, 57]), t(b, [2, 33]), t(T, [2, 117], { 103: y1 }), t(T, [2, 118], { 103: y1 })],
289
+ defaultActions: {},
290
+ parseError: function(a, l) {
291
+ if (l.recoverable)
292
+ this.trace(a);
293
+ else {
294
+ var f = new Error(a);
295
+ throw f.hash = l, f;
296
+ }
297
+ },
298
+ parse: function(a) {
299
+ var l = this, f = [0], i = [], S = [null], e = [], N1 = this.table, s = "", Y = 0, Ye = 0, Ct = 2, je = 1, _t = e.slice.call(arguments, 1), _ = Object.create(this.lexer), A1 = { yy: {} };
300
+ for (var le in this.yy)
301
+ Object.prototype.hasOwnProperty.call(this.yy, le) && (A1.yy[le] = this.yy[le]);
302
+ _.setInput(a, A1.yy), A1.yy.lexer = _, A1.yy.parser = this, typeof _.yylloc > "u" && (_.yylloc = {});
303
+ var oe = _.yylloc;
304
+ e.push(oe);
305
+ var xt = _.options && _.options.ranges;
306
+ typeof A1.yy.parseError == "function" ? this.parseError = A1.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
307
+ function Bt() {
308
+ var a1;
309
+ return a1 = i.pop() || _.lex() || je, typeof a1 != "number" && (a1 instanceof Array && (i = a1, a1 = i.pop()), a1 = l.symbols_[a1] || a1), a1;
310
+ }
311
+ for (var G, E1, j, he, V1 = {}, W1, r1, ze, Q1; ; ) {
312
+ if (E1 = f[f.length - 1], this.defaultActions[E1] ? j = this.defaultActions[E1] : ((G === null || typeof G > "u") && (G = Bt()), j = N1[E1] && N1[E1][G]), typeof j > "u" || !j.length || !j[0]) {
313
+ var fe = "";
314
+ Q1 = [];
315
+ for (W1 in N1[E1])
316
+ this.terminals_[W1] && W1 > Ct && Q1.push("'" + this.terminals_[W1] + "'");
317
+ _.showPosition ? fe = "Parse error on line " + (Y + 1) + `:
318
+ ` + _.showPosition() + `
319
+ Expecting ` + Q1.join(", ") + ", got '" + (this.terminals_[G] || G) + "'" : fe = "Parse error on line " + (Y + 1) + ": Unexpected " + (G == je ? "end of input" : "'" + (this.terminals_[G] || G) + "'"), this.parseError(fe, {
320
+ text: _.match,
321
+ token: this.terminals_[G] || G,
322
+ line: _.yylineno,
323
+ loc: oe,
324
+ expected: Q1
325
+ });
326
+ }
327
+ if (j[0] instanceof Array && j.length > 1)
328
+ throw new Error("Parse Error: multiple actions possible at state: " + E1 + ", token: " + G);
329
+ switch (j[0]) {
330
+ case 1:
331
+ f.push(G), S.push(_.yytext), e.push(_.yylloc), f.push(j[1]), G = null, Ye = _.yyleng, s = _.yytext, Y = _.yylineno, oe = _.yylloc;
332
+ break;
333
+ case 2:
334
+ if (r1 = this.productions_[j[1]][1], V1.$ = S[S.length - r1], V1._$ = {
335
+ first_line: e[e.length - (r1 || 1)].first_line,
336
+ last_line: e[e.length - 1].last_line,
337
+ first_column: e[e.length - (r1 || 1)].first_column,
338
+ last_column: e[e.length - 1].last_column
339
+ }, xt && (V1._$.range = [
340
+ e[e.length - (r1 || 1)].range[0],
341
+ e[e.length - 1].range[1]
342
+ ]), he = this.performAction.apply(V1, [
343
+ s,
344
+ Ye,
345
+ Y,
346
+ A1.yy,
347
+ j[1],
348
+ S,
349
+ e
350
+ ].concat(_t)), typeof he < "u")
351
+ return he;
352
+ r1 && (f = f.slice(0, -1 * r1 * 2), S = S.slice(0, -1 * r1), e = e.slice(0, -1 * r1)), f.push(this.productions_[j[1]][0]), S.push(V1.$), e.push(V1._$), ze = N1[f[f.length - 2]][f[f.length - 1]], f.push(ze);
353
+ break;
354
+ case 3:
355
+ return !0;
356
+ }
357
+ }
358
+ return !0;
359
+ }
360
+ }, St = /* @__PURE__ */ function() {
361
+ var f1 = {
362
+ EOF: 1,
363
+ parseError: function(l, f) {
364
+ if (this.yy.parser)
365
+ this.yy.parser.parseError(l, f);
366
+ else
367
+ throw new Error(l);
368
+ },
369
+ // resets the lexer, sets new input
370
+ setInput: function(a, l) {
371
+ return this.yy = l || this.yy || {}, this._input = a, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
372
+ first_line: 1,
373
+ first_column: 0,
374
+ last_line: 1,
375
+ last_column: 0
376
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
377
+ },
378
+ // consumes and returns one char from the input
379
+ input: function() {
380
+ var a = this._input[0];
381
+ this.yytext += a, this.yyleng++, this.offset++, this.match += a, this.matched += a;
382
+ var l = a.match(/(?:\r\n?|\n).*/g);
383
+ return l ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), a;
384
+ },
385
+ // unshifts one char (or a string) into the input
386
+ unput: function(a) {
387
+ var l = a.length, f = a.split(/(?:\r\n?|\n)/g);
388
+ this._input = a + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - l), this.offset -= l;
389
+ var i = this.match.split(/(?:\r\n?|\n)/g);
390
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), f.length - 1 && (this.yylineno -= f.length - 1);
391
+ var S = this.yylloc.range;
392
+ return this.yylloc = {
393
+ first_line: this.yylloc.first_line,
394
+ last_line: this.yylineno + 1,
395
+ first_column: this.yylloc.first_column,
396
+ last_column: f ? (f.length === i.length ? this.yylloc.first_column : 0) + i[i.length - f.length].length - f[0].length : this.yylloc.first_column - l
397
+ }, this.options.ranges && (this.yylloc.range = [S[0], S[0] + this.yyleng - l]), this.yyleng = this.yytext.length, this;
398
+ },
399
+ // When called from action, caches matched text and appends it on next action
400
+ more: function() {
401
+ return this._more = !0, this;
402
+ },
403
+ // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
404
+ reject: function() {
405
+ if (this.options.backtrack_lexer)
406
+ this._backtrack = !0;
407
+ else
408
+ 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).
409
+ ` + this.showPosition(), {
410
+ text: "",
411
+ token: null,
412
+ line: this.yylineno
413
+ });
414
+ return this;
415
+ },
416
+ // retain first n characters of the match
417
+ less: function(a) {
418
+ this.unput(this.match.slice(a));
419
+ },
420
+ // displays already matched input, i.e. for error messages
421
+ pastInput: function() {
422
+ var a = this.matched.substr(0, this.matched.length - this.match.length);
423
+ return (a.length > 20 ? "..." : "") + a.substr(-20).replace(/\n/g, "");
424
+ },
425
+ // displays upcoming input, i.e. for error messages
426
+ upcomingInput: function() {
427
+ var a = this.match;
428
+ return a.length < 20 && (a += this._input.substr(0, 20 - a.length)), (a.substr(0, 20) + (a.length > 20 ? "..." : "")).replace(/\n/g, "");
429
+ },
430
+ // displays the character position where the lexing error occurred, i.e. for error messages
431
+ showPosition: function() {
432
+ var a = this.pastInput(), l = new Array(a.length + 1).join("-");
433
+ return a + this.upcomingInput() + `
434
+ ` + l + "^";
435
+ },
436
+ // test the lexed token: return FALSE when not a match, otherwise return token
437
+ test_match: function(a, l) {
438
+ var f, i, S;
439
+ if (this.options.backtrack_lexer && (S = {
440
+ yylineno: this.yylineno,
441
+ yylloc: {
442
+ first_line: this.yylloc.first_line,
443
+ last_line: this.last_line,
444
+ first_column: this.yylloc.first_column,
445
+ last_column: this.yylloc.last_column
446
+ },
447
+ yytext: this.yytext,
448
+ match: this.match,
449
+ matches: this.matches,
450
+ matched: this.matched,
451
+ yyleng: this.yyleng,
452
+ offset: this.offset,
453
+ _more: this._more,
454
+ _input: this._input,
455
+ yy: this.yy,
456
+ conditionStack: this.conditionStack.slice(0),
457
+ done: this.done
458
+ }, this.options.ranges && (S.yylloc.range = this.yylloc.range.slice(0))), i = a[0].match(/(?:\r\n?|\n).*/g), i && (this.yylineno += i.length), this.yylloc = {
459
+ first_line: this.yylloc.last_line,
460
+ last_line: this.yylineno + 1,
461
+ first_column: this.yylloc.last_column,
462
+ last_column: i ? i[i.length - 1].length - i[i.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + a[0].length
463
+ }, this.yytext += a[0], this.match += a[0], this.matches = a, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(a[0].length), this.matched += a[0], f = this.performAction.call(this, this.yy, this, l, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), f)
464
+ return f;
465
+ if (this._backtrack) {
466
+ for (var e in S)
467
+ this[e] = S[e];
468
+ return !1;
469
+ }
470
+ return !1;
471
+ },
472
+ // return next match in input
473
+ next: function() {
474
+ if (this.done)
475
+ return this.EOF;
476
+ this._input || (this.done = !0);
477
+ var a, l, f, i;
478
+ this._more || (this.yytext = "", this.match = "");
479
+ for (var S = this._currentRules(), e = 0; e < S.length; e++)
480
+ if (f = this._input.match(this.rules[S[e]]), f && (!l || f[0].length > l[0].length)) {
481
+ if (l = f, i = e, this.options.backtrack_lexer) {
482
+ if (a = this.test_match(f, S[e]), a !== !1)
483
+ return a;
484
+ if (this._backtrack) {
485
+ l = !1;
486
+ continue;
487
+ } else
488
+ return !1;
489
+ } else if (!this.options.flex)
490
+ break;
491
+ }
492
+ return l ? (a = this.test_match(l, S[i]), a !== !1 ? a : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
493
+ ` + this.showPosition(), {
494
+ text: "",
495
+ token: null,
496
+ line: this.yylineno
497
+ });
498
+ },
499
+ // return next match that has a token
500
+ lex: function() {
501
+ var l = this.next();
502
+ return l || this.lex();
503
+ },
504
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
505
+ begin: function(l) {
506
+ this.conditionStack.push(l);
507
+ },
508
+ // pop the previously active lexer condition state off the condition stack
509
+ popState: function() {
510
+ var l = this.conditionStack.length - 1;
511
+ return l > 0 ? this.conditionStack.pop() : this.conditionStack[0];
512
+ },
513
+ // produce the lexer rule set which is active for the currently active lexer condition state
514
+ _currentRules: function() {
515
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
516
+ },
517
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
518
+ topState: function(l) {
519
+ return l = this.conditionStack.length - 1 - Math.abs(l || 0), l >= 0 ? this.conditionStack[l] : "INITIAL";
520
+ },
521
+ // alias for begin(condition)
522
+ pushState: function(l) {
523
+ this.begin(l);
524
+ },
525
+ // return the number of states currently on the stack
526
+ stateStackSize: function() {
527
+ return this.conditionStack.length;
528
+ },
529
+ options: {},
530
+ performAction: function(l, f, i, S) {
531
+ switch (i) {
532
+ case 0:
533
+ return this.begin("acc_title"), 34;
534
+ case 1:
535
+ return this.popState(), "acc_title_value";
536
+ case 2:
537
+ return this.begin("acc_descr"), 36;
538
+ case 3:
539
+ return this.popState(), "acc_descr_value";
540
+ case 4:
541
+ this.begin("acc_descr_multiline");
542
+ break;
543
+ case 5:
544
+ this.popState();
545
+ break;
546
+ case 6:
547
+ return "acc_descr_multiline_value";
548
+ case 7:
549
+ this.begin("callbackname");
550
+ break;
551
+ case 8:
552
+ this.popState();
553
+ break;
554
+ case 9:
555
+ this.popState(), this.begin("callbackargs");
556
+ break;
557
+ case 10:
558
+ return 92;
559
+ case 11:
560
+ this.popState();
561
+ break;
562
+ case 12:
563
+ return 93;
564
+ case 13:
565
+ return "MD_STR";
566
+ case 14:
567
+ this.popState();
568
+ break;
569
+ case 15:
570
+ this.begin("md_string");
571
+ break;
572
+ case 16:
573
+ return "STR";
574
+ case 17:
575
+ this.popState();
576
+ break;
577
+ case 18:
578
+ this.pushState("string");
579
+ break;
580
+ case 19:
581
+ return 81;
582
+ case 20:
583
+ return 99;
584
+ case 21:
585
+ return 82;
586
+ case 22:
587
+ return 101;
588
+ case 23:
589
+ return 83;
590
+ case 24:
591
+ return 84;
592
+ case 25:
593
+ return 94;
594
+ case 26:
595
+ this.begin("click");
596
+ break;
597
+ case 27:
598
+ this.popState();
599
+ break;
600
+ case 28:
601
+ return 85;
602
+ case 29:
603
+ return l.lex.firstGraph() && this.begin("dir"), 12;
604
+ case 30:
605
+ return l.lex.firstGraph() && this.begin("dir"), 12;
606
+ case 31:
607
+ return l.lex.firstGraph() && this.begin("dir"), 12;
608
+ case 32:
609
+ return 27;
610
+ case 33:
611
+ return 32;
612
+ case 34:
613
+ return 95;
614
+ case 35:
615
+ return 95;
616
+ case 36:
617
+ return 95;
618
+ case 37:
619
+ return 95;
620
+ case 38:
621
+ return this.popState(), 13;
622
+ case 39:
623
+ return this.popState(), 14;
624
+ case 40:
625
+ return this.popState(), 14;
626
+ case 41:
627
+ return this.popState(), 14;
628
+ case 42:
629
+ return this.popState(), 14;
630
+ case 43:
631
+ return this.popState(), 14;
632
+ case 44:
633
+ return this.popState(), 14;
634
+ case 45:
635
+ return this.popState(), 14;
636
+ case 46:
637
+ return this.popState(), 14;
638
+ case 47:
639
+ return this.popState(), 14;
640
+ case 48:
641
+ return this.popState(), 14;
642
+ case 49:
643
+ return 118;
644
+ case 50:
645
+ return 119;
646
+ case 51:
647
+ return 120;
648
+ case 52:
649
+ return 121;
650
+ case 53:
651
+ return 102;
652
+ case 54:
653
+ return 108;
654
+ case 55:
655
+ return 44;
656
+ case 56:
657
+ return 58;
658
+ case 57:
659
+ return 42;
660
+ case 58:
661
+ return 8;
662
+ case 59:
663
+ return 103;
664
+ case 60:
665
+ return 112;
666
+ case 61:
667
+ return this.popState(), 75;
668
+ case 62:
669
+ return this.pushState("edgeText"), 73;
670
+ case 63:
671
+ return 116;
672
+ case 64:
673
+ return this.popState(), 75;
674
+ case 65:
675
+ return this.pushState("thickEdgeText"), 73;
676
+ case 66:
677
+ return 116;
678
+ case 67:
679
+ return this.popState(), 75;
680
+ case 68:
681
+ return this.pushState("dottedEdgeText"), 73;
682
+ case 69:
683
+ return 116;
684
+ case 70:
685
+ return 75;
686
+ case 71:
687
+ return this.popState(), 51;
688
+ case 72:
689
+ return "TEXT";
690
+ case 73:
691
+ return this.pushState("ellipseText"), 50;
692
+ case 74:
693
+ return this.popState(), 53;
694
+ case 75:
695
+ return this.pushState("text"), 52;
696
+ case 76:
697
+ return this.popState(), 55;
698
+ case 77:
699
+ return this.pushState("text"), 54;
700
+ case 78:
701
+ return 56;
702
+ case 79:
703
+ return this.pushState("text"), 65;
704
+ case 80:
705
+ return this.popState(), 62;
706
+ case 81:
707
+ return this.pushState("text"), 61;
708
+ case 82:
709
+ return this.popState(), 47;
710
+ case 83:
711
+ return this.pushState("text"), 46;
712
+ case 84:
713
+ return this.popState(), 67;
714
+ case 85:
715
+ return this.popState(), 69;
716
+ case 86:
717
+ return 114;
718
+ case 87:
719
+ return this.pushState("trapText"), 66;
720
+ case 88:
721
+ return this.pushState("trapText"), 68;
722
+ case 89:
723
+ return 115;
724
+ case 90:
725
+ return 65;
726
+ case 91:
727
+ return 87;
728
+ case 92:
729
+ return "SEP";
730
+ case 93:
731
+ return 86;
732
+ case 94:
733
+ return 112;
734
+ case 95:
735
+ return 108;
736
+ case 96:
737
+ return 42;
738
+ case 97:
739
+ return 106;
740
+ case 98:
741
+ return 111;
742
+ case 99:
743
+ return 113;
744
+ case 100:
745
+ return this.popState(), 60;
746
+ case 101:
747
+ return this.pushState("text"), 60;
748
+ case 102:
749
+ return this.popState(), 49;
750
+ case 103:
751
+ return this.pushState("text"), 48;
752
+ case 104:
753
+ return this.popState(), 31;
754
+ case 105:
755
+ return this.pushState("text"), 29;
756
+ case 106:
757
+ return this.popState(), 64;
758
+ case 107:
759
+ return this.pushState("text"), 63;
760
+ case 108:
761
+ return "TEXT";
762
+ case 109:
763
+ return "QUOTE";
764
+ case 110:
765
+ return 9;
766
+ case 111:
767
+ return 10;
768
+ case 112:
769
+ return 11;
770
+ }
771
+ },
772
+ rules: [/^(?:accTitle\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*\{\s*)/, /^(?:[\}])/, /^(?:[^\}]*)/, /^(?:call[\s]+)/, /^(?:\([\s]*\))/, /^(?:\()/, /^(?:[^(]*)/, /^(?:\))/, /^(?:[^)]*)/, /^(?:[^`"]+)/, /^(?:[`]["])/, /^(?:["][`])/, /^(?:[^"]+)/, /^(?:["])/, /^(?:["])/, /^(?:style\b)/, /^(?:default\b)/, /^(?:linkStyle\b)/, /^(?:interpolate\b)/, /^(?:classDef\b)/, /^(?:class\b)/, /^(?:href[\s])/, /^(?:click[\s]+)/, /^(?:[\s\n])/, /^(?:[^\s\n]*)/, /^(?:flowchart-elk\b)/, /^(?:graph\b)/, /^(?:flowchart\b)/, /^(?:subgraph\b)/, /^(?:end\b\s*)/, /^(?:_self\b)/, /^(?:_blank\b)/, /^(?:_parent\b)/, /^(?:_top\b)/, /^(?:(\r?\n)*\s*\n)/, /^(?:\s*LR\b)/, /^(?:\s*RL\b)/, /^(?:\s*TB\b)/, /^(?:\s*BT\b)/, /^(?:\s*TD\b)/, /^(?:\s*BR\b)/, /^(?:\s*<)/, /^(?:\s*>)/, /^(?:\s*\^)/, /^(?:\s*v\b)/, /^(?:.*direction\s+TB[^\n]*)/, /^(?:.*direction\s+BT[^\n]*)/, /^(?:.*direction\s+RL[^\n]*)/, /^(?:.*direction\s+LR[^\n]*)/, /^(?:[0-9]+)/, /^(?:#)/, /^(?::::)/, /^(?::)/, /^(?:&)/, /^(?:;)/, /^(?:,)/, /^(?:\*)/, /^(?:\s*[xo<]?--+[-xo>]\s*)/, /^(?:\s*[xo<]?--\s*)/, /^(?:[^-]|-(?!-)+)/, /^(?:\s*[xo<]?==+[=xo>]\s*)/, /^(?:\s*[xo<]?==\s*)/, /^(?:[^=]|=(?!))/, /^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/, /^(?:\s*[xo<]?-\.\s*)/, /^(?:[^\.]|\.(?!))/, /^(?:\s*~~[\~]+\s*)/, /^(?:[-/\)][\)])/, /^(?:[^\(\)\[\]\{\}]|!\)+)/, /^(?:\(-)/, /^(?:\]\))/, /^(?:\(\[)/, /^(?:\]\])/, /^(?:\[\[)/, /^(?:\[\|)/, /^(?:>)/, /^(?:\)\])/, /^(?:\[\()/, /^(?:\)\)\))/, /^(?:\(\(\()/, /^(?:[\\(?=\])][\]])/, /^(?:\/(?=\])\])/, /^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/, /^(?:\[\/)/, /^(?:\[\\)/, /^(?:<)/, /^(?:>)/, /^(?:\^)/, /^(?:\\\|)/, /^(?:v\b)/, /^(?:\*)/, /^(?:#)/, /^(?:&)/, /^(?:([A-Za-z0-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])/, /^(?:\|)/, /^(?:\|)/, /^(?:\))/, /^(?:\()/, /^(?:\])/, /^(?:\[)/, /^(?:(\}))/, /^(?:\{)/, /^(?:[^\[\]\(\)\{\}\|\"]+)/, /^(?:")/, /^(?:(\r?\n)+)/, /^(?:\s)/, /^(?:$)/],
773
+ conditions: { callbackargs: { rules: [11, 12, 15, 18, 70, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, callbackname: { rules: [8, 9, 10, 15, 18, 70, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, href: { rules: [15, 18, 70, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, click: { rules: [15, 18, 27, 28, 70, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, dottedEdgeText: { rules: [15, 18, 67, 69, 70, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, thickEdgeText: { rules: [15, 18, 64, 66, 70, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, edgeText: { rules: [15, 18, 61, 63, 70, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, trapText: { rules: [15, 18, 70, 73, 75, 77, 81, 83, 84, 85, 86, 87, 88, 101, 103, 105, 107], inclusive: !1 }, ellipseText: { rules: [15, 18, 70, 71, 72, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, text: { rules: [15, 18, 70, 73, 74, 75, 76, 77, 80, 81, 82, 83, 87, 88, 100, 101, 102, 103, 104, 105, 106, 107, 108], inclusive: !1 }, vertex: { rules: [15, 18, 70, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, dir: { rules: [15, 18, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 70, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, acc_descr_multiline: { rules: [5, 6, 15, 18, 70, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, acc_descr: { rules: [3, 15, 18, 70, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, acc_title: { rules: [1, 15, 18, 70, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, md_string: { rules: [13, 14, 15, 18, 70, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, string: { rules: [15, 16, 17, 18, 70, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, INITIAL: { rules: [0, 2, 4, 7, 15, 18, 19, 20, 21, 22, 23, 24, 25, 26, 29, 30, 31, 32, 33, 34, 35, 36, 37, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 64, 65, 67, 68, 70, 73, 75, 77, 78, 79, 81, 83, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 101, 103, 105, 107, 109, 110, 111, 112], inclusive: !0 } }
774
+ };
775
+ return f1;
776
+ }();
777
+ ae.lexer = St;
778
+ function ce() {
779
+ this.yy = {};
780
+ }
781
+ return ce.prototype = ae, ae.Parser = ce, new ce();
782
+ }();
783
+ de.parser = de;
784
+ const Xt = de, Ot = "flowchart-";
785
+ let Xe = 0, v1 = te(), D = {}, H = [], L1 = {}, c1 = [], $1 = {}, ee = {}, Z1 = 0, pe = !0, z, se, ue = [];
786
+ const ne = (t) => Nt.sanitizeText(t, v1), P1 = function(t) {
787
+ const u = Object.keys(D);
788
+ for (const n of u)
789
+ if (D[n].id === t)
790
+ return D[n].domId;
791
+ return t;
792
+ }, He = function(t, u, n, r, c, o, h = {}) {
793
+ let U, F = t;
794
+ F !== void 0 && F.trim().length !== 0 && (D[F] === void 0 && (D[F] = {
795
+ id: F,
796
+ labelType: "text",
797
+ domId: Ot + F + "-" + Xe,
798
+ styles: [],
799
+ classes: []
800
+ }), Xe++, u !== void 0 ? (v1 = te(), U = ne(u.text.trim()), D[F].labelType = u.type, U[0] === '"' && U[U.length - 1] === '"' && (U = U.substring(1, U.length - 1)), D[F].text = U) : D[F].text === void 0 && (D[F].text = t), n !== void 0 && (D[F].type = n), r != null && r.forEach(function(w) {
801
+ D[F].styles.push(w);
802
+ }), c != null && c.forEach(function(w) {
803
+ D[F].classes.push(w);
804
+ }), o !== void 0 && (D[F].dir = o), D[F].props === void 0 ? D[F].props = h : h !== void 0 && Object.assign(D[F].props, h));
805
+ }, qe = function(t, u, n) {
806
+ const o = { start: t, end: u, type: void 0, text: "", labelType: "text" };
807
+ J1.info("abc78 Got edge...", o);
808
+ const h = n.text;
809
+ if (h !== void 0 && (o.text = ne(h.text.trim()), o.text[0] === '"' && o.text[o.text.length - 1] === '"' && (o.text = o.text.substring(1, o.text.length - 1)), o.labelType = h.type), n !== void 0 && (o.type = n.type, o.stroke = n.stroke, o.length = n.length), (o == null ? void 0 : o.length) > 10 && (o.length = 10), H.length < (v1.maxEdges ?? 500))
810
+ J1.info("abc78 pushing edge..."), H.push(o);
811
+ else
812
+ throw new Error(
813
+ `Edge limit exceeded. ${H.length} edges found, but the limit is ${v1.maxEdges}.
814
+
815
+ Initialize mermaid with maxEdges set to a higher number to allow more edges.
816
+ You cannot set this config via configuration inside the diagram as it is a secure config.
817
+ You have to call mermaid.initialize.`
818
+ );
819
+ }, We = function(t, u, n) {
820
+ J1.info("addLink (abc78)", t, u, n);
821
+ let r, c;
822
+ for (r = 0; r < t.length; r++)
823
+ for (c = 0; c < u.length; c++)
824
+ qe(t[r], u[c], n);
825
+ }, Qe = function(t, u) {
826
+ t.forEach(function(n) {
827
+ n === "default" ? H.defaultInterpolate = u : H[n].interpolate = u;
828
+ });
829
+ }, Ze = function(t, u) {
830
+ t.forEach(function(n) {
831
+ if (n >= H.length)
832
+ throw new Error(
833
+ `The index ${n} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${H.length - 1}. (Help: Ensure that the index is within the range of existing edges.)`
834
+ );
835
+ n === "default" ? H.defaultStyle = u : (Ae.isSubstringInArray("fill", u) === -1 && u.push("fill:none"), H[n].style = u);
836
+ });
837
+ }, Je = function(t, u) {
838
+ t.split(",").forEach(function(n) {
839
+ L1[n] === void 0 && (L1[n] = { id: n, styles: [], textStyles: [] }), u != null && u.forEach(function(r) {
840
+ if (r.match("color")) {
841
+ const c = r.replace("fill", "bgFill").replace("color", "fill");
842
+ L1[n].textStyles.push(c);
843
+ }
844
+ L1[n].styles.push(r);
845
+ });
846
+ });
847
+ }, $e = function(t) {
848
+ z = t, z.match(/.*</) && (z = "RL"), z.match(/.*\^/) && (z = "BT"), z.match(/.*>/) && (z = "LR"), z.match(/.*v/) && (z = "TB"), z === "TD" && (z = "TB");
849
+ }, ie = function(t, u) {
850
+ t.split(",").forEach(function(n) {
851
+ let r = n;
852
+ D[r] !== void 0 && D[r].classes.push(u), $1[r] !== void 0 && $1[r].classes.push(u);
853
+ });
854
+ }, Pt = function(t, u) {
855
+ t.split(",").forEach(function(n) {
856
+ u !== void 0 && (ee[se === "gen-1" ? P1(n) : n] = ne(u));
857
+ });
858
+ }, Ut = function(t, u, n) {
859
+ let r = P1(t);
860
+ if (te().securityLevel !== "loose" || u === void 0)
861
+ return;
862
+ let c = [];
863
+ if (typeof n == "string") {
864
+ c = n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
865
+ for (let o = 0; o < c.length; o++) {
866
+ let h = c[o].trim();
867
+ h.charAt(0) === '"' && h.charAt(h.length - 1) === '"' && (h = h.substr(1, h.length - 2)), c[o] = h;
868
+ }
869
+ }
870
+ c.length === 0 && c.push(t), D[t] !== void 0 && (D[t].haveCallback = !0, ue.push(function() {
871
+ const o = document.querySelector(`[id="${r}"]`);
872
+ o !== null && o.addEventListener(
873
+ "click",
874
+ function() {
875
+ Ae.runFunc(u, ...c);
876
+ },
877
+ !1
878
+ );
879
+ }));
880
+ }, et = function(t, u, n) {
881
+ t.split(",").forEach(function(r) {
882
+ D[r] !== void 0 && (D[r].link = Ae.formatUrl(u, v1), D[r].linkTarget = n);
883
+ }), ie(t, "clickable");
884
+ }, tt = function(t) {
885
+ if (ee.hasOwnProperty(t))
886
+ return ee[t];
887
+ }, st = function(t, u, n) {
888
+ t.split(",").forEach(function(r) {
889
+ Ut(r, u, n);
890
+ }), ie(t, "clickable");
891
+ }, ut = function(t) {
892
+ ue.forEach(function(u) {
893
+ u(t);
894
+ });
895
+ }, nt = function() {
896
+ return z.trim();
897
+ }, it = function() {
898
+ return D;
899
+ }, rt = function() {
900
+ return H;
901
+ }, at = function() {
902
+ return L1;
903
+ }, ct = function(t) {
904
+ let u = w1(".mermaidTooltip");
905
+ (u._groups || u)[0][0] === null && (u = w1("body").append("div").attr("class", "mermaidTooltip").style("opacity", 0)), w1(t).select("svg").selectAll("g.node").on("mouseover", function() {
906
+ const c = w1(this);
907
+ if (c.attr("title") === null)
908
+ return;
909
+ const h = this.getBoundingClientRect();
910
+ u.transition().duration(200).style("opacity", ".9"), u.text(c.attr("title")).style("left", window.scrollX + h.left + (h.right - h.left) / 2 + "px").style("top", window.scrollY + h.bottom + "px"), u.html(u.html().replace(/&lt;br\/&gt;/g, "<br/>")), c.classed("hover", !0);
911
+ }).on("mouseout", function() {
912
+ u.transition().duration(500).style("opacity", 0), w1(this).classed("hover", !1);
913
+ });
914
+ };
915
+ ue.push(ct);
916
+ const lt = function(t = "gen-1") {
917
+ D = {}, L1 = {}, H = [], ue = [ct], c1 = [], $1 = {}, Z1 = 0, ee = {}, pe = !0, se = t, v1 = te(), wt();
918
+ }, ot = (t) => {
919
+ se = t || "gen-2";
920
+ }, ht = function() {
921
+ return "fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;";
922
+ }, ft = function(t, u, n) {
923
+ let r = t.text.trim(), c = n.text;
924
+ t === n && n.text.match(/\s/) && (r = void 0);
925
+ function o(X) {
926
+ const l1 = { boolean: {}, number: {}, string: {} }, d1 = [];
927
+ let p1;
928
+ return { nodeList: X.filter(function(k) {
929
+ const o1 = typeof k;
930
+ return k.stmt && k.stmt === "dir" ? (p1 = k.value, !1) : k.trim() === "" ? !1 : o1 in l1 ? l1[o1].hasOwnProperty(k) ? !1 : l1[o1][k] = !0 : d1.includes(k) ? !1 : d1.push(k);
931
+ }), dir: p1 };
932
+ }
933
+ let h = [];
934
+ const { nodeList: U, dir: F } = o(h.concat.apply(h, u));
935
+ if (h = U, se === "gen-1")
936
+ for (let X = 0; X < h.length; X++)
937
+ h[X] = P1(h[X]);
938
+ r = r || "subGraph" + Z1, c = c || "", c = ne(c), Z1 = Z1 + 1;
939
+ const w = {
940
+ id: r,
941
+ nodes: h,
942
+ title: c.trim(),
943
+ classes: [],
944
+ dir: F,
945
+ labelType: n.type
946
+ };
947
+ return J1.info("Adding", w.id, w.nodes, w.dir), w.nodes = Ft(w, c1).nodes, c1.push(w), $1[r] = w, r;
948
+ }, Gt = function(t) {
949
+ for (const [u, n] of c1.entries())
950
+ if (n.id === t)
951
+ return u;
952
+ return -1;
953
+ };
954
+ let O1 = -1;
955
+ const dt = [], pt = function(t, u) {
956
+ const n = c1[u].nodes;
957
+ if (O1 = O1 + 1, O1 > 2e3)
958
+ return;
959
+ if (dt[O1] = u, c1[u].id === t)
960
+ return {
961
+ result: !0,
962
+ count: 0
963
+ };
964
+ let r = 0, c = 1;
965
+ for (; r < n.length; ) {
966
+ const o = Gt(n[r]);
967
+ if (o >= 0) {
968
+ const h = pt(t, o);
969
+ if (h.result)
970
+ return {
971
+ result: !0,
972
+ count: c + h.count
973
+ };
974
+ c = c + h.count;
975
+ }
976
+ r = r + 1;
977
+ }
978
+ return {
979
+ result: !1,
980
+ count: c
981
+ };
982
+ }, At = function(t) {
983
+ return dt[t];
984
+ }, Et = function() {
985
+ O1 = -1, c1.length > 0 && pt("none", c1.length - 1);
986
+ }, kt = function() {
987
+ return c1;
988
+ }, bt = () => pe ? (pe = !1, !0) : !1, Mt = (t) => {
989
+ let u = t.trim(), n = "arrow_open";
990
+ switch (u[0]) {
991
+ case "<":
992
+ n = "arrow_point", u = u.slice(1);
993
+ break;
994
+ case "x":
995
+ n = "arrow_cross", u = u.slice(1);
996
+ break;
997
+ case "o":
998
+ n = "arrow_circle", u = u.slice(1);
999
+ break;
1000
+ }
1001
+ let r = "normal";
1002
+ return u.includes("=") && (r = "thick"), u.includes(".") && (r = "dotted"), { type: n, stroke: r };
1003
+ }, Kt = (t, u) => {
1004
+ const n = u.length;
1005
+ let r = 0;
1006
+ for (let c = 0; c < n; ++c)
1007
+ u[c] === t && ++r;
1008
+ return r;
1009
+ }, Yt = (t) => {
1010
+ const u = t.trim();
1011
+ let n = u.slice(0, -1), r = "arrow_open";
1012
+ switch (u.slice(-1)) {
1013
+ case "x":
1014
+ r = "arrow_cross", u[0] === "x" && (r = "double_" + r, n = n.slice(1));
1015
+ break;
1016
+ case ">":
1017
+ r = "arrow_point", u[0] === "<" && (r = "double_" + r, n = n.slice(1));
1018
+ break;
1019
+ case "o":
1020
+ r = "arrow_circle", u[0] === "o" && (r = "double_" + r, n = n.slice(1));
1021
+ break;
1022
+ }
1023
+ let c = "normal", o = n.length - 1;
1024
+ n[0] === "=" && (c = "thick"), n[0] === "~" && (c = "invisible");
1025
+ let h = Kt(".", n);
1026
+ return h && (c = "dotted", o = h), { type: r, stroke: c, length: o };
1027
+ }, gt = (t, u) => {
1028
+ const n = Yt(t);
1029
+ let r;
1030
+ if (u) {
1031
+ if (r = Mt(u), r.stroke !== n.stroke)
1032
+ return { type: "INVALID", stroke: "INVALID" };
1033
+ if (r.type === "arrow_open")
1034
+ r.type = n.type;
1035
+ else {
1036
+ if (r.type !== n.type)
1037
+ return { type: "INVALID", stroke: "INVALID" };
1038
+ r.type = "double_" + r.type;
1039
+ }
1040
+ return r.type === "double_arrow" && (r.type = "double_arrow_point"), r.length = n.length, r;
1041
+ }
1042
+ return n;
1043
+ }, Dt = (t, u) => {
1044
+ let n = !1;
1045
+ return t.forEach((r) => {
1046
+ r.nodes.indexOf(u) >= 0 && (n = !0);
1047
+ }), n;
1048
+ }, Ft = (t, u) => {
1049
+ const n = [];
1050
+ return t.nodes.forEach((r, c) => {
1051
+ Dt(u, r) || n.push(t.nodes[c]);
1052
+ }), { nodes: n };
1053
+ }, Tt = {
1054
+ firstGraph: bt
1055
+ }, jt = {
1056
+ defaultConfig: () => Rt.flowchart,
1057
+ setAccTitle: It,
1058
+ getAccTitle: vt,
1059
+ getAccDescription: Lt,
1060
+ setAccDescription: Vt,
1061
+ addVertex: He,
1062
+ lookUpDomId: P1,
1063
+ addLink: We,
1064
+ updateLinkInterpolate: Qe,
1065
+ updateLink: Ze,
1066
+ addClass: Je,
1067
+ setDirection: $e,
1068
+ setClass: ie,
1069
+ setTooltip: Pt,
1070
+ getTooltip: tt,
1071
+ setClickEvent: st,
1072
+ setLink: et,
1073
+ bindFunctions: ut,
1074
+ getDirection: nt,
1075
+ getVertices: it,
1076
+ getEdges: rt,
1077
+ getClasses: at,
1078
+ clear: lt,
1079
+ setGen: ot,
1080
+ defaultStyle: ht,
1081
+ addSubGraph: ft,
1082
+ getDepthFirstPos: At,
1083
+ indexNodes: Et,
1084
+ getSubGraphs: kt,
1085
+ destructLink: gt,
1086
+ lex: Tt,
1087
+ exists: Dt,
1088
+ makeUniq: Ft,
1089
+ setDiagramTitle: yt,
1090
+ getDiagramTitle: mt
1091
+ }, Ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1092
+ __proto__: null,
1093
+ addClass: Je,
1094
+ addLink: We,
1095
+ addSingleLink: qe,
1096
+ addSubGraph: ft,
1097
+ addVertex: He,
1098
+ bindFunctions: ut,
1099
+ clear: lt,
1100
+ default: jt,
1101
+ defaultStyle: ht,
1102
+ destructLink: gt,
1103
+ firstGraph: bt,
1104
+ getClasses: at,
1105
+ getDepthFirstPos: At,
1106
+ getDirection: nt,
1107
+ getEdges: rt,
1108
+ getSubGraphs: kt,
1109
+ getTooltip: tt,
1110
+ getVertices: it,
1111
+ indexNodes: Et,
1112
+ lex: Tt,
1113
+ lookUpDomId: P1,
1114
+ setClass: ie,
1115
+ setClickEvent: st,
1116
+ setDirection: $e,
1117
+ setGen: ot,
1118
+ setLink: et,
1119
+ updateLink: Ze,
1120
+ updateLinkInterpolate: Qe
1121
+ }, Symbol.toStringTag, { value: "Module" }));
1122
+ export {
1123
+ Ht as d,
1124
+ jt as f,
1125
+ Xt as p
1126
+ };