@bkm016/basalt 0.1.28 → 0.1.30

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 (972) hide show
  1. package/README.md +2 -2
  2. package/chunk-01xyv3ct.js +7 -0
  3. package/chunk-06gjy5s2.js +5 -0
  4. package/chunk-0pztrs5x.js +11 -0
  5. package/chunk-0v6seb9q.js +20 -0
  6. package/chunk-0z138vnr.js +12 -0
  7. package/chunk-1c8yqctx.js +3 -0
  8. package/chunk-1wt8pbns.js +2 -0
  9. package/chunk-1yvgmxew.js +2 -0
  10. package/chunk-229men2n.js +31 -0
  11. package/chunk-29x35nj4.js +5 -0
  12. package/chunk-3ee7dyh4.js +18 -0
  13. package/chunk-3gf3g0xt.js +3 -0
  14. package/chunk-3gts3ja0.js +8 -0
  15. package/chunk-4stj480w.js +3 -0
  16. package/chunk-4t2t0hcp.js +3 -0
  17. package/chunk-57b764s0.js +5 -0
  18. package/chunk-63mr2aa2.js +50 -0
  19. package/chunk-64h4gw8d.js +3 -0
  20. package/chunk-7gxx6829.js +2 -0
  21. package/chunk-898tss1j.js +51 -0
  22. package/chunk-9em1sne5.js +2 -0
  23. package/chunk-9p8n1xjn.js +4048 -0
  24. package/chunk-a0h0x1dn.js +3 -0
  25. package/chunk-a2r89pk2.js +12 -0
  26. package/chunk-a5mtw4y5.js +2 -0
  27. package/chunk-bbqhx91f.js +3 -0
  28. package/chunk-c9q0y8hp.js +4 -0
  29. package/chunk-cgzez9a5.js +2 -0
  30. package/chunk-drjajr57.js +3 -0
  31. package/chunk-dsnz6mzt.js +25 -0
  32. package/chunk-ee18zzzv.js +3 -0
  33. package/chunk-eg161ep9.js +3 -0
  34. package/chunk-ej42zg82.js +2 -0
  35. package/chunk-ejw7k7nn.js +2 -0
  36. package/chunk-f95j1a8x.js +3 -0
  37. package/chunk-fdgrayj5.js +3 -0
  38. package/chunk-fnxstmm5.js +2 -0
  39. package/chunk-gtjtkfjk.js +3 -0
  40. package/chunk-h4rve6x4.js +63 -0
  41. package/chunk-hp9bcx4x.js +2 -0
  42. package/chunk-hvxc1wyv.js +3 -0
  43. package/chunk-je4cjwhm.js +3 -0
  44. package/chunk-jn1zdamp.js +9 -0
  45. package/chunk-jpah46d1.js +2 -0
  46. package/chunk-jvsrda4n.js +16 -0
  47. package/chunk-jyhsae16.js +2 -0
  48. package/chunk-k7n6bhkz.js +3 -0
  49. package/chunk-kvv3mvk5.js +2 -0
  50. package/chunk-kzv5cgqz.js +286 -0
  51. package/chunk-mz3zt06w.js +7 -0
  52. package/chunk-n4crb1x3.js +2 -0
  53. package/chunk-nmmf0w14.js +5 -0
  54. package/chunk-nr5p4pvp.js +3 -0
  55. package/chunk-p39fex1r.js +2 -0
  56. package/chunk-pefgy360.js +7 -0
  57. package/chunk-psr71nf8.js +2 -0
  58. package/chunk-qsgc7b7x.js +3 -0
  59. package/chunk-qygv2jqa.js +2 -0
  60. package/chunk-r0gsb1qs.js +3 -0
  61. package/chunk-r449z8pj.js +2 -0
  62. package/chunk-r49sxmnc.js +3 -0
  63. package/chunk-rd52y45c.js +8 -0
  64. package/chunk-repjnwda.js +10 -0
  65. package/chunk-rh6yvdwz.js +3 -0
  66. package/chunk-s2d5zp37.js +44 -0
  67. package/chunk-s68eamf1.js +2 -0
  68. package/chunk-sacdpkwc.js +3 -0
  69. package/chunk-tey1hftz.js +490 -0
  70. package/chunk-vhvzyxx5.js +25 -0
  71. package/chunk-vytm86v0.js +2 -0
  72. package/chunk-x4bc1xkx.js +39 -0
  73. package/chunk-xa23zmzv.js +2 -0
  74. package/chunk-xq7zspqs.js +3 -0
  75. package/chunk-xqz8ac7j.js +2 -0
  76. package/chunk-ycce2a81.js +2 -0
  77. package/chunk-z99s31w5.js +2 -0
  78. package/chunk-zs6ytk7b.js +59 -0
  79. package/chunk-ztm5hqwh.js +2 -0
  80. package/chunk-zv29qg1q.js +10 -0
  81. package/compiled.js +9 -9
  82. package/package.json +4 -1
  83. package/ui-test-worker.js +79 -77
  84. package/web/chunk-02z3bqps.js +1 -0
  85. package/web/chunk-02z3bqps.js.br +0 -0
  86. package/web/chunk-02z3bqps.js.gz +0 -0
  87. package/web/chunk-0dg4qqe3.js +1 -0
  88. package/web/chunk-0dg4qqe3.js.br +2 -0
  89. package/web/chunk-0dg4qqe3.js.gz +0 -0
  90. package/web/chunk-0qar8vwc.js +2 -0
  91. package/web/chunk-0qar8vwc.js.br +0 -0
  92. package/web/chunk-0qar8vwc.js.gz +0 -0
  93. package/web/chunk-0qmgmqzd.js +2 -0
  94. package/web/chunk-0qmgmqzd.js.br +0 -0
  95. package/web/chunk-0qmgmqzd.js.gz +0 -0
  96. package/web/chunk-1pffd2va.js +2 -0
  97. package/web/chunk-1pffd2va.js.br +0 -0
  98. package/web/chunk-1pffd2va.js.gz +0 -0
  99. package/web/chunk-1q82849a.js +1 -0
  100. package/web/chunk-1q82849a.js.br +0 -0
  101. package/web/chunk-1q82849a.js.gz +0 -0
  102. package/web/chunk-2ajkzs3d.js +12 -0
  103. package/web/chunk-2ajkzs3d.js.br +0 -0
  104. package/web/chunk-2ajkzs3d.js.gz +0 -0
  105. package/web/chunk-2ttatv42.js +2 -0
  106. package/web/chunk-2ttatv42.js.br +0 -0
  107. package/web/chunk-2ttatv42.js.gz +0 -0
  108. package/web/chunk-2xrkfj8n.js +291 -0
  109. package/web/chunk-2xrkfj8n.js.br +0 -0
  110. package/web/chunk-2xrkfj8n.js.gz +0 -0
  111. package/web/chunk-45xqp3dn.js +1 -0
  112. package/web/chunk-45xqp3dn.js.br +0 -0
  113. package/web/chunk-45xqp3dn.js.gz +0 -0
  114. package/web/chunk-4fdgpye3.js +2 -0
  115. package/web/chunk-4fdgpye3.js.br +0 -0
  116. package/web/chunk-4fdgpye3.js.gz +0 -0
  117. package/web/chunk-4fzpmw3f.js +89 -0
  118. package/web/chunk-4fzpmw3f.js.br +0 -0
  119. package/web/chunk-4fzpmw3f.js.gz +0 -0
  120. package/web/chunk-51njd9f8.js +89 -0
  121. package/web/chunk-51njd9f8.js.br +0 -0
  122. package/web/chunk-51njd9f8.js.gz +0 -0
  123. package/web/chunk-66zw8mqe.js +2 -0
  124. package/web/chunk-66zw8mqe.js.br +0 -0
  125. package/web/chunk-66zw8mqe.js.gz +0 -0
  126. package/web/chunk-6f9btq4p.js +1 -0
  127. package/web/chunk-6f9btq4p.js.br +0 -0
  128. package/web/chunk-6f9btq4p.js.gz +0 -0
  129. package/web/chunk-6x73jtw7.js +7 -0
  130. package/web/chunk-6x73jtw7.js.br +0 -0
  131. package/web/chunk-6x73jtw7.js.gz +0 -0
  132. package/web/chunk-6y389kg6.js +1 -0
  133. package/web/chunk-6y389kg6.js.br +0 -0
  134. package/web/chunk-6y389kg6.js.gz +0 -0
  135. package/web/chunk-73peavw3.js +1 -0
  136. package/web/chunk-73peavw3.js.br +0 -0
  137. package/web/chunk-73peavw3.js.gz +0 -0
  138. package/web/chunk-7p7qtp6d.js +1 -0
  139. package/web/chunk-7p7qtp6d.js.br +0 -0
  140. package/web/chunk-7p7qtp6d.js.gz +0 -0
  141. package/web/chunk-81zj375g.js +1 -0
  142. package/web/chunk-81zj375g.js.br +0 -0
  143. package/web/chunk-81zj375g.js.gz +0 -0
  144. package/web/chunk-89dwrkrr.js +1 -0
  145. package/web/chunk-89dwrkrr.js.br +0 -0
  146. package/web/chunk-89dwrkrr.js.gz +0 -0
  147. package/web/chunk-8e829p0a.css +1 -0
  148. package/web/chunk-8e829p0a.css.br +0 -0
  149. package/web/chunk-8e829p0a.css.gz +0 -0
  150. package/web/chunk-9j7v0e4v.js +2 -0
  151. package/web/chunk-9j7v0e4v.js.br +0 -0
  152. package/web/chunk-9j7v0e4v.js.gz +0 -0
  153. package/web/chunk-9mgqrwwh.js +1 -0
  154. package/web/chunk-9mgqrwwh.js.br +0 -0
  155. package/web/chunk-9mgqrwwh.js.gz +0 -0
  156. package/web/chunk-ag97fhx1.js +1 -0
  157. package/web/chunk-ag97fhx1.js.br +0 -0
  158. package/web/chunk-ag97fhx1.js.gz +0 -0
  159. package/web/chunk-anm2706b.js +139 -0
  160. package/web/chunk-anm2706b.js.br +0 -0
  161. package/web/chunk-anm2706b.js.gz +0 -0
  162. package/web/chunk-aqz2exas.js +142 -0
  163. package/web/chunk-aqz2exas.js.br +0 -0
  164. package/web/chunk-aqz2exas.js.gz +0 -0
  165. package/web/chunk-at6wp72y.js +1 -0
  166. package/web/chunk-at6wp72y.js.br +0 -0
  167. package/web/chunk-at6wp72y.js.gz +0 -0
  168. package/web/chunk-ayfqxte8.js +1 -0
  169. package/web/chunk-ayfqxte8.js.br +2 -0
  170. package/web/chunk-ayfqxte8.js.gz +0 -0
  171. package/web/chunk-b564qxgk.js +98 -0
  172. package/web/chunk-b564qxgk.js.br +0 -0
  173. package/web/chunk-b564qxgk.js.gz +0 -0
  174. package/web/chunk-b9atg5sw.js +1 -0
  175. package/web/chunk-b9atg5sw.js.br +0 -0
  176. package/web/chunk-b9atg5sw.js.gz +0 -0
  177. package/web/chunk-bg2k54a5.js +70 -0
  178. package/web/chunk-bg2k54a5.js.br +0 -0
  179. package/web/chunk-bg2k54a5.js.gz +0 -0
  180. package/web/chunk-c2vtzhbs.js +1 -0
  181. package/web/chunk-c2vtzhbs.js.br +0 -0
  182. package/web/chunk-c2vtzhbs.js.gz +0 -0
  183. package/web/chunk-cb0g87b5.js +2 -0
  184. package/web/chunk-cb0g87b5.js.br +3 -0
  185. package/web/chunk-cb0g87b5.js.gz +0 -0
  186. package/web/chunk-cgm44rx8.js +2 -0
  187. package/web/chunk-cgm44rx8.js.br +0 -0
  188. package/web/chunk-cgm44rx8.js.gz +0 -0
  189. package/web/chunk-ctckn7gz.js +2 -0
  190. package/web/chunk-ctckn7gz.js.br +0 -0
  191. package/web/chunk-ctckn7gz.js.gz +0 -0
  192. package/web/chunk-def5mk0w.js +2 -0
  193. package/web/chunk-def5mk0w.js.br +0 -0
  194. package/web/chunk-def5mk0w.js.gz +0 -0
  195. package/web/chunk-e2nhv6bb.js +2 -0
  196. package/web/chunk-e2nhv6bb.js.br +0 -0
  197. package/web/chunk-e2nhv6bb.js.gz +0 -0
  198. package/web/chunk-e7djq8rb.js +2 -0
  199. package/web/chunk-e7djq8rb.js.br +0 -0
  200. package/web/chunk-e7djq8rb.js.gz +0 -0
  201. package/web/chunk-eagbq8k2.js +1 -0
  202. package/web/chunk-eagbq8k2.js.br +0 -0
  203. package/web/chunk-eagbq8k2.js.gz +0 -0
  204. package/web/chunk-fbxw7w0z.js +1 -0
  205. package/web/chunk-fbxw7w0z.js.br +0 -0
  206. package/web/chunk-fbxw7w0z.js.gz +0 -0
  207. package/web/chunk-fn95dxq2.js +1 -0
  208. package/web/chunk-fn95dxq2.js.br +0 -0
  209. package/web/chunk-fn95dxq2.js.gz +0 -0
  210. package/web/chunk-g3n4tbbv.js +1 -0
  211. package/web/chunk-g3n4tbbv.js.br +2 -0
  212. package/web/chunk-g3n4tbbv.js.gz +0 -0
  213. package/web/chunk-gp0xqyh2.js +62 -0
  214. package/web/chunk-gp0xqyh2.js.br +0 -0
  215. package/web/chunk-gp0xqyh2.js.gz +0 -0
  216. package/web/chunk-h2rv3exr.js +84 -0
  217. package/web/chunk-h2rv3exr.js.br +0 -0
  218. package/web/chunk-h2rv3exr.js.gz +0 -0
  219. package/web/chunk-h47k4j7f.js +1 -0
  220. package/web/chunk-h47k4j7f.js.br +0 -0
  221. package/web/chunk-h47k4j7f.js.gz +0 -0
  222. package/web/chunk-h888hb33.js +41 -0
  223. package/web/chunk-h888hb33.js.br +0 -0
  224. package/web/chunk-h888hb33.js.gz +0 -0
  225. package/web/chunk-hc9ep8b0.js +4 -0
  226. package/web/chunk-hc9ep8b0.js.br +0 -0
  227. package/web/chunk-hc9ep8b0.js.gz +0 -0
  228. package/web/chunk-hp0jfbty.js +1 -0
  229. package/web/chunk-hp0jfbty.js.br +0 -0
  230. package/web/chunk-hp0jfbty.js.gz +0 -0
  231. package/web/chunk-hx7rh5c1.js +2 -0
  232. package/web/chunk-hx7rh5c1.js.br +0 -0
  233. package/web/chunk-hx7rh5c1.js.gz +0 -0
  234. package/web/chunk-hzxz7smg.js +24 -0
  235. package/web/chunk-hzxz7smg.js.br +0 -0
  236. package/web/chunk-hzxz7smg.js.gz +0 -0
  237. package/web/chunk-j4w9gj2v.js +1 -0
  238. package/web/chunk-j4w9gj2v.js.br +0 -0
  239. package/web/chunk-j4w9gj2v.js.gz +0 -0
  240. package/web/chunk-j8m3c1s4.js +2 -0
  241. package/web/chunk-j8m3c1s4.js.br +0 -0
  242. package/web/chunk-j8m3c1s4.js.gz +0 -0
  243. package/web/chunk-jamb9e79.js +1 -0
  244. package/web/chunk-jamb9e79.js.br +0 -0
  245. package/web/chunk-jamb9e79.js.gz +0 -0
  246. package/web/chunk-jg19frxn.js +55 -0
  247. package/web/chunk-jg19frxn.js.br +0 -0
  248. package/web/chunk-jg19frxn.js.gz +0 -0
  249. package/web/chunk-jm2pevt8.js +1 -0
  250. package/web/chunk-jm2pevt8.js.br +0 -0
  251. package/web/chunk-jm2pevt8.js.gz +0 -0
  252. package/web/chunk-jmr00kdm.js +214 -0
  253. package/web/chunk-jmr00kdm.js.br +0 -0
  254. package/web/chunk-jmr00kdm.js.gz +0 -0
  255. package/web/chunk-jsff72z2.js +1 -0
  256. package/web/chunk-jsff72z2.js.br +0 -0
  257. package/web/chunk-jsff72z2.js.gz +0 -0
  258. package/web/chunk-jv83dscd.js +1 -0
  259. package/web/chunk-jv83dscd.js.br +0 -0
  260. package/web/chunk-jv83dscd.js.gz +0 -0
  261. package/web/chunk-k0da3cb3.js +1 -0
  262. package/web/chunk-k0da3cb3.js.br +0 -0
  263. package/web/chunk-k0da3cb3.js.gz +0 -0
  264. package/web/chunk-k6ks8zqg.js +1 -0
  265. package/web/chunk-k6ks8zqg.js.br +0 -0
  266. package/web/chunk-k6ks8zqg.js.gz +0 -0
  267. package/web/chunk-kdzew6g1.js +1 -0
  268. package/web/chunk-kdzew6g1.js.br +2 -0
  269. package/web/chunk-kdzew6g1.js.gz +0 -0
  270. package/web/chunk-ktmnzrpf.js +1 -0
  271. package/web/chunk-ktmnzrpf.js.br +2 -0
  272. package/web/chunk-ktmnzrpf.js.gz +0 -0
  273. package/web/chunk-kxezmcn5.js +30 -0
  274. package/web/chunk-kxezmcn5.js.br +0 -0
  275. package/web/chunk-kxezmcn5.js.gz +0 -0
  276. package/web/chunk-kyj99nqq.js +2 -0
  277. package/web/chunk-kyj99nqq.js.br +0 -0
  278. package/web/chunk-kyj99nqq.js.gz +0 -0
  279. package/web/chunk-m1009k4x.js +16 -0
  280. package/web/chunk-m1009k4x.js.br +0 -0
  281. package/web/chunk-m1009k4x.js.gz +0 -0
  282. package/web/chunk-mfsdyw6v.js +2 -0
  283. package/web/chunk-mfsdyw6v.js.br +0 -0
  284. package/web/chunk-mfsdyw6v.js.gz +0 -0
  285. package/web/chunk-mgr8wt71.js +370 -0
  286. package/web/chunk-mgr8wt71.js.br +0 -0
  287. package/web/chunk-mgr8wt71.js.gz +0 -0
  288. package/web/chunk-mya0w8tm.js +1 -0
  289. package/web/chunk-mya0w8tm.js.br +0 -0
  290. package/web/chunk-mya0w8tm.js.gz +0 -0
  291. package/web/chunk-n1wgda90.js +7 -0
  292. package/web/chunk-n1wgda90.js.br +0 -0
  293. package/web/chunk-n1wgda90.js.gz +0 -0
  294. package/web/chunk-n7hk5sxm.js +120 -0
  295. package/web/chunk-n7hk5sxm.js.br +0 -0
  296. package/web/chunk-n7hk5sxm.js.gz +0 -0
  297. package/web/chunk-n99yz498.js +36 -0
  298. package/web/chunk-n99yz498.js.br +0 -0
  299. package/web/chunk-n99yz498.js.gz +0 -0
  300. package/web/chunk-nnvqz2dh.js +1 -0
  301. package/web/chunk-nnvqz2dh.js.br +0 -0
  302. package/web/chunk-nnvqz2dh.js.gz +0 -0
  303. package/web/chunk-nx439rde.js +1 -0
  304. package/web/chunk-nx439rde.js.br +0 -0
  305. package/web/chunk-nx439rde.js.gz +0 -0
  306. package/web/chunk-pn50cj2y.js +1 -0
  307. package/web/chunk-pn50cj2y.js.br +0 -0
  308. package/web/chunk-pn50cj2y.js.gz +0 -0
  309. package/web/chunk-pph3x232.js +38 -0
  310. package/web/chunk-pph3x232.js.br +0 -0
  311. package/web/chunk-pph3x232.js.gz +0 -0
  312. package/web/chunk-pt2vfgkr.js +1 -0
  313. package/web/chunk-pt2vfgkr.js.br +0 -0
  314. package/web/chunk-pt2vfgkr.js.gz +0 -0
  315. package/web/chunk-pzvg5xnk.js +21 -0
  316. package/web/chunk-pzvg5xnk.js.br +0 -0
  317. package/web/chunk-pzvg5xnk.js.gz +0 -0
  318. package/web/chunk-q5hj3y5k.js +2 -0
  319. package/web/chunk-q5hj3y5k.js.br +0 -0
  320. package/web/chunk-q5hj3y5k.js.gz +0 -0
  321. package/web/chunk-qafnz668.js +1 -0
  322. package/web/chunk-qafnz668.js.br +0 -0
  323. package/web/chunk-qafnz668.js.gz +0 -0
  324. package/web/chunk-qkfqcr10.js +1 -0
  325. package/web/chunk-qkfqcr10.js.br +0 -0
  326. package/web/chunk-qkfqcr10.js.gz +0 -0
  327. package/web/chunk-qkgp0da2.js +1 -0
  328. package/web/chunk-qkgp0da2.js.br +0 -0
  329. package/web/chunk-qkgp0da2.js.gz +0 -0
  330. package/web/chunk-qpqdn0a8.js +1 -0
  331. package/web/chunk-qpqdn0a8.js.br +0 -0
  332. package/web/chunk-qpqdn0a8.js.gz +0 -0
  333. package/web/chunk-r0ch05x8.js +3 -0
  334. package/web/chunk-r0ch05x8.js.br +0 -0
  335. package/web/chunk-r0ch05x8.js.gz +0 -0
  336. package/web/chunk-r6s2vcby.js +8 -0
  337. package/web/chunk-r6s2vcby.js.br +6 -0
  338. package/web/chunk-r6s2vcby.js.gz +0 -0
  339. package/web/chunk-r71mdnq3.js +1 -0
  340. package/web/chunk-r71mdnq3.js.br +0 -0
  341. package/web/chunk-r71mdnq3.js.gz +0 -0
  342. package/web/chunk-r9m8jh7x.js +2 -0
  343. package/web/chunk-r9m8jh7x.js.br +0 -0
  344. package/web/chunk-r9m8jh7x.js.gz +0 -0
  345. package/web/chunk-rd60971b.js +2 -0
  346. package/web/chunk-rd60971b.js.br +0 -0
  347. package/web/chunk-rd60971b.js.gz +0 -0
  348. package/web/chunk-rdz21xd5.js +99 -0
  349. package/web/chunk-rdz21xd5.js.br +0 -0
  350. package/web/chunk-rdz21xd5.js.gz +0 -0
  351. package/web/chunk-rmzb9edh.js +303 -0
  352. package/web/chunk-rmzb9edh.js.br +0 -0
  353. package/web/chunk-rmzb9edh.js.gz +0 -0
  354. package/web/chunk-rqkd1h2n.js +2 -0
  355. package/web/chunk-rqkd1h2n.js.br +0 -0
  356. package/web/chunk-rqkd1h2n.js.gz +0 -0
  357. package/web/chunk-rz2cq4g2.js +2 -0
  358. package/web/chunk-rz2cq4g2.js.br +0 -0
  359. package/web/chunk-rz2cq4g2.js.gz +0 -0
  360. package/web/chunk-rzeh9b1q.js +2 -0
  361. package/web/chunk-rzeh9b1q.js.br +0 -0
  362. package/web/chunk-rzeh9b1q.js.gz +0 -0
  363. package/web/chunk-s6ax6yty.js +1 -0
  364. package/web/chunk-s6ax6yty.js.br +0 -0
  365. package/web/chunk-s6ax6yty.js.gz +0 -0
  366. package/web/chunk-s75zvbh9.js +1 -0
  367. package/web/chunk-s75zvbh9.js.br +0 -0
  368. package/web/chunk-s75zvbh9.js.gz +0 -0
  369. package/web/chunk-s7cz1q7g.js +324 -0
  370. package/web/chunk-s7cz1q7g.js.br +0 -0
  371. package/web/chunk-s7cz1q7g.js.gz +0 -0
  372. package/web/chunk-sh6xh1kh.js +1 -0
  373. package/web/chunk-sh6xh1kh.js.br +0 -0
  374. package/web/chunk-sh6xh1kh.js.gz +0 -0
  375. package/web/chunk-shc8bv2k.js +2 -0
  376. package/web/chunk-shc8bv2k.js.br +0 -0
  377. package/web/chunk-shc8bv2k.js.gz +0 -0
  378. package/web/chunk-sqa50cfh.js +2 -0
  379. package/web/chunk-sqa50cfh.js.br +0 -0
  380. package/web/chunk-sqa50cfh.js.gz +0 -0
  381. package/web/chunk-stp6j8y9.js +39 -0
  382. package/web/chunk-stp6j8y9.js.br +0 -0
  383. package/web/chunk-stp6j8y9.js.gz +0 -0
  384. package/web/chunk-t7wae2xz.js +332 -0
  385. package/web/chunk-t7wae2xz.js.br +0 -0
  386. package/web/chunk-t7wae2xz.js.gz +0 -0
  387. package/web/chunk-t8p7d5vk.js +2 -0
  388. package/web/chunk-t8p7d5vk.js.br +0 -0
  389. package/web/chunk-t8p7d5vk.js.gz +0 -0
  390. package/web/chunk-t9twwgfe.js +1 -0
  391. package/web/chunk-t9twwgfe.js.br +0 -0
  392. package/web/chunk-t9twwgfe.js.gz +0 -0
  393. package/web/chunk-tbj4d6qe.js +292 -0
  394. package/web/chunk-tbj4d6qe.js.br +0 -0
  395. package/web/chunk-tbj4d6qe.js.gz +0 -0
  396. package/web/chunk-v0wb751t.js +2 -0
  397. package/web/chunk-v0wb751t.js.br +0 -0
  398. package/web/chunk-v0wb751t.js.gz +0 -0
  399. package/web/chunk-v1vghfec.js +1 -0
  400. package/web/chunk-v1vghfec.js.br +0 -0
  401. package/web/chunk-v1vghfec.js.gz +0 -0
  402. package/web/chunk-v890rh1e.js +2 -0
  403. package/web/chunk-v890rh1e.js.br +0 -0
  404. package/web/chunk-v890rh1e.js.gz +0 -0
  405. package/web/chunk-vd2kng8p.js +4 -0
  406. package/web/chunk-vd2kng8p.js.br +0 -0
  407. package/web/chunk-vd2kng8p.js.gz +0 -0
  408. package/web/chunk-vfqmec16.js +217 -0
  409. package/web/chunk-vfqmec16.js.br +0 -0
  410. package/web/chunk-vfqmec16.js.gz +0 -0
  411. package/web/chunk-vhmcx472.js +1 -0
  412. package/web/chunk-vhmcx472.js.br +0 -0
  413. package/web/chunk-vhmcx472.js.gz +0 -0
  414. package/web/chunk-vtvf1x6b.js +2 -0
  415. package/web/chunk-vtvf1x6b.js.br +0 -0
  416. package/web/chunk-vtvf1x6b.js.gz +0 -0
  417. package/web/chunk-w0ae9ggt.js +40 -0
  418. package/web/chunk-w0ae9ggt.js.br +0 -0
  419. package/web/chunk-w0ae9ggt.js.gz +0 -0
  420. package/web/chunk-ws8rv0tb.js +1141 -0
  421. package/web/chunk-ws8rv0tb.js.br +0 -0
  422. package/web/chunk-ws8rv0tb.js.gz +0 -0
  423. package/web/chunk-wvnvh4a5.js +78 -0
  424. package/web/chunk-wvnvh4a5.js.br +0 -0
  425. package/web/chunk-wvnvh4a5.js.gz +0 -0
  426. package/web/chunk-x11ewabg.js +1 -0
  427. package/web/chunk-x11ewabg.js.br +0 -0
  428. package/web/chunk-x11ewabg.js.gz +0 -0
  429. package/web/chunk-x2tcf0r1.js +1 -0
  430. package/web/chunk-x2tcf0r1.js.br +2 -0
  431. package/web/chunk-x2tcf0r1.js.gz +0 -0
  432. package/web/chunk-x9mexzav.js +2 -0
  433. package/web/chunk-x9mexzav.js.br +0 -0
  434. package/web/chunk-x9mexzav.js.gz +0 -0
  435. package/web/chunk-xbrj4mk1.js +140 -0
  436. package/web/chunk-xbrj4mk1.js.br +0 -0
  437. package/web/chunk-xbrj4mk1.js.gz +0 -0
  438. package/web/chunk-xh8q1bcj.js +34 -0
  439. package/web/chunk-xh8q1bcj.js.br +0 -0
  440. package/web/chunk-xh8q1bcj.js.gz +0 -0
  441. package/web/chunk-xha3t633.js +1 -0
  442. package/web/chunk-xha3t633.js.br +0 -0
  443. package/web/chunk-xha3t633.js.gz +0 -0
  444. package/web/chunk-xk8637wb.js +1 -0
  445. package/web/chunk-xk8637wb.js.br +0 -0
  446. package/web/chunk-xk8637wb.js.gz +0 -0
  447. package/web/chunk-xmr18f18.js +1 -0
  448. package/web/chunk-xmr18f18.js.br +0 -0
  449. package/web/chunk-xmr18f18.js.gz +0 -0
  450. package/web/chunk-y372dg1e.js +7 -0
  451. package/web/chunk-y372dg1e.js.br +0 -0
  452. package/web/chunk-y372dg1e.js.gz +0 -0
  453. package/web/chunk-y48mj5d7.js +1 -0
  454. package/web/chunk-y48mj5d7.js.br +0 -0
  455. package/web/chunk-y48mj5d7.js.gz +0 -0
  456. package/web/chunk-y778wckc.js +24 -0
  457. package/web/chunk-y778wckc.js.br +0 -0
  458. package/web/chunk-y778wckc.js.gz +0 -0
  459. package/web/chunk-yerpvhym.js +169 -0
  460. package/web/chunk-yerpvhym.js.br +0 -0
  461. package/web/chunk-yerpvhym.js.gz +0 -0
  462. package/web/chunk-yrhe7a7c.js +106 -0
  463. package/web/chunk-yrhe7a7c.js.br +0 -0
  464. package/web/chunk-yrhe7a7c.js.gz +0 -0
  465. package/web/chunk-z2aazpzj.js +2 -0
  466. package/web/chunk-z2aazpzj.js.br +0 -0
  467. package/web/chunk-z2aazpzj.js.gz +0 -0
  468. package/web/chunk-z43td5ad.js +1 -0
  469. package/web/chunk-z43td5ad.js.br +0 -0
  470. package/web/chunk-z43td5ad.js.gz +0 -0
  471. package/web/chunk-z8fgdsx5.js +1 -0
  472. package/web/chunk-z8fgdsx5.js.br +0 -0
  473. package/web/chunk-z8fgdsx5.js.gz +0 -0
  474. package/web/chunk-zf42y65m.js +1 -0
  475. package/web/chunk-zf42y65m.js.br +0 -0
  476. package/web/chunk-zf42y65m.js.gz +0 -0
  477. package/web/chunk-zj2rhf4b.js +200 -0
  478. package/web/chunk-zj2rhf4b.js.br +0 -0
  479. package/web/chunk-zj2rhf4b.js.gz +0 -0
  480. package/web/chunk-zkn84jhm.js +2 -0
  481. package/web/chunk-zkn84jhm.js.br +0 -0
  482. package/web/chunk-zkn84jhm.js.gz +0 -0
  483. package/web/index.html +27 -2
  484. package/web/index.html.br +0 -0
  485. package/web/index.html.gz +0 -0
  486. package/web/sw.js +39 -24
  487. package/web/sw.js.br +0 -0
  488. package/web/sw.js.gz +0 -0
  489. package/worker.js +1 -1
  490. package/chunk-00jhevnt.js +0 -3
  491. package/chunk-04tx0etc.js +0 -2
  492. package/chunk-0r86p29p.js +0 -7
  493. package/chunk-10x1zefx.js +0 -25
  494. package/chunk-1amcz1cz.js +0 -10
  495. package/chunk-1pfdps04.js +0 -2
  496. package/chunk-206g40v9.js +0 -59
  497. package/chunk-2364s958.js +0 -7
  498. package/chunk-3fv2qcpg.js +0 -12
  499. package/chunk-3zz4a5tn.js +0 -31
  500. package/chunk-45wfmdts.js +0 -44
  501. package/chunk-4hkwjw05.js +0 -2
  502. package/chunk-4n4wn5cj.js +0 -4014
  503. package/chunk-4pq7ycp2.js +0 -5
  504. package/chunk-5e0qfdgx.js +0 -5
  505. package/chunk-78yngmvf.js +0 -51
  506. package/chunk-7hpf9qq2.js +0 -3
  507. package/chunk-82dkdvs9.js +0 -2
  508. package/chunk-8913dkey.js +0 -3
  509. package/chunk-8g1sbmwf.js +0 -3
  510. package/chunk-8hfch7d0.js +0 -2
  511. package/chunk-90arpvgz.js +0 -2
  512. package/chunk-912knnfg.js +0 -11
  513. package/chunk-97bazdk3.js +0 -20
  514. package/chunk-9akexjfn.js +0 -2
  515. package/chunk-9dgmbwcc.js +0 -2
  516. package/chunk-a454ntda.js +0 -50
  517. package/chunk-acd2cwza.js +0 -3
  518. package/chunk-ach16jbw.js +0 -2
  519. package/chunk-ax823t5v.js +0 -3
  520. package/chunk-b03hg30w.js +0 -2
  521. package/chunk-bh29df86.js +0 -5
  522. package/chunk-bhpg72c4.js +0 -2
  523. package/chunk-bwww6j2q.js +0 -2
  524. package/chunk-c126k8wc.js +0 -2
  525. package/chunk-cb3jgak9.js +0 -3
  526. package/chunk-cjeyy6da.js +0 -3
  527. package/chunk-cs4gb2hb.js +0 -2
  528. package/chunk-en5t6hwd.js +0 -3
  529. package/chunk-f4n1csz0.js +0 -3
  530. package/chunk-j01t6mnq.js +0 -3
  531. package/chunk-j16smb6d.js +0 -2
  532. package/chunk-j7eqp97m.js +0 -2
  533. package/chunk-jdrqn8m1.js +0 -2
  534. package/chunk-jp1gqkbp.js +0 -4
  535. package/chunk-jrcvxscb.js +0 -9
  536. package/chunk-k8zq95wr.js +0 -2
  537. package/chunk-ken7ras9.js +0 -8
  538. package/chunk-kqgpjmcf.js +0 -2
  539. package/chunk-krbdx24j.js +0 -3
  540. package/chunk-ky2ym708.js +0 -8
  541. package/chunk-kzfy666j.js +0 -16
  542. package/chunk-n0stnnxv.js +0 -2
  543. package/chunk-n9m2pagh.js +0 -2
  544. package/chunk-nedvy6yk.js +0 -10
  545. package/chunk-ng5g0fy3.js +0 -3
  546. package/chunk-nqeqasyt.js +0 -7
  547. package/chunk-nt30x5a7.js +0 -3
  548. package/chunk-q1s5r204.js +0 -3
  549. package/chunk-qj0vfk01.js +0 -2
  550. package/chunk-qqfdg01g.js +0 -3
  551. package/chunk-rj6qknjx.js +0 -12
  552. package/chunk-rvrj0nrs.js +0 -3
  553. package/chunk-sbhj5h2q.js +0 -2
  554. package/chunk-t71zzafh.js +0 -3
  555. package/chunk-t7fwvzmh.js +0 -3
  556. package/chunk-tpv5hz99.js +0 -5
  557. package/chunk-tx2rrrtq.js +0 -2
  558. package/chunk-tyzzbhr5.js +0 -3
  559. package/chunk-tzbefwf0.js +0 -286
  560. package/chunk-v4p8807b.js +0 -18
  561. package/chunk-vnxjcym9.js +0 -17
  562. package/chunk-w35r8v6x.js +0 -39
  563. package/chunk-wbygknv2.js +0 -3
  564. package/chunk-wk63htqy.js +0 -2
  565. package/chunk-wwazj6mz.js +0 -3
  566. package/chunk-xpc75mkw.js +0 -25
  567. package/chunk-ypxn8bec.js +0 -3
  568. package/chunk-yztc2q9q.js +0 -490
  569. package/web/chunk-02z7yrhn.js +0 -2
  570. package/web/chunk-02z7yrhn.js.br +0 -0
  571. package/web/chunk-02z7yrhn.js.gz +0 -0
  572. package/web/chunk-0an1eqtf.js +0 -1
  573. package/web/chunk-0an1eqtf.js.br +0 -0
  574. package/web/chunk-0an1eqtf.js.gz +0 -0
  575. package/web/chunk-128zy60g.js +0 -99
  576. package/web/chunk-128zy60g.js.br +0 -0
  577. package/web/chunk-128zy60g.js.gz +0 -0
  578. package/web/chunk-1e2jy7m2.js +0 -139
  579. package/web/chunk-1e2jy7m2.js.br +0 -0
  580. package/web/chunk-1e2jy7m2.js.gz +0 -0
  581. package/web/chunk-1hmw1eaw.js +0 -1
  582. package/web/chunk-1hmw1eaw.js.br +0 -0
  583. package/web/chunk-1hmw1eaw.js.gz +0 -0
  584. package/web/chunk-1v3e001f.js +0 -1
  585. package/web/chunk-1v3e001f.js.br +0 -0
  586. package/web/chunk-1v3e001f.js.gz +0 -0
  587. package/web/chunk-20gcnbgn.js +0 -2
  588. package/web/chunk-20gcnbgn.js.br +0 -0
  589. package/web/chunk-20gcnbgn.js.gz +0 -0
  590. package/web/chunk-214p3rj6.js +0 -41
  591. package/web/chunk-214p3rj6.js.br +0 -0
  592. package/web/chunk-214p3rj6.js.gz +0 -0
  593. package/web/chunk-29byd5kf.js +0 -89
  594. package/web/chunk-29byd5kf.js.br +0 -0
  595. package/web/chunk-29byd5kf.js.gz +0 -0
  596. package/web/chunk-2nwvdqxm.js +0 -1
  597. package/web/chunk-2nwvdqxm.js.br +0 -0
  598. package/web/chunk-2nwvdqxm.js.gz +0 -0
  599. package/web/chunk-2wvgy7f4.js +0 -1
  600. package/web/chunk-2wvgy7f4.js.br +0 -0
  601. package/web/chunk-2wvgy7f4.js.gz +0 -0
  602. package/web/chunk-3fbh1wxk.js +0 -62
  603. package/web/chunk-3fbh1wxk.js.br +0 -0
  604. package/web/chunk-3fbh1wxk.js.gz +0 -0
  605. package/web/chunk-3fnrzj1h.js +0 -98
  606. package/web/chunk-3fnrzj1h.js.br +0 -0
  607. package/web/chunk-3fnrzj1h.js.gz +0 -0
  608. package/web/chunk-3g1095m7.js +0 -78
  609. package/web/chunk-3g1095m7.js.br +0 -0
  610. package/web/chunk-3g1095m7.js.gz +0 -0
  611. package/web/chunk-3nn7w4hw.js +0 -2
  612. package/web/chunk-3nn7w4hw.js.br +0 -0
  613. package/web/chunk-3nn7w4hw.js.gz +0 -0
  614. package/web/chunk-3qa8xcdr.js +0 -1
  615. package/web/chunk-3qa8xcdr.js.br +0 -0
  616. package/web/chunk-3qa8xcdr.js.gz +0 -0
  617. package/web/chunk-3x69jfmh.js +0 -332
  618. package/web/chunk-3x69jfmh.js.br +0 -0
  619. package/web/chunk-3x69jfmh.js.gz +0 -0
  620. package/web/chunk-414npx47.js +0 -1
  621. package/web/chunk-414npx47.js.br +0 -0
  622. package/web/chunk-414npx47.js.gz +0 -0
  623. package/web/chunk-4v6m77sv.css +0 -1
  624. package/web/chunk-4v6m77sv.css.br +0 -0
  625. package/web/chunk-4v6m77sv.css.gz +0 -0
  626. package/web/chunk-4vk6xma5.js +0 -1
  627. package/web/chunk-4vk6xma5.js.br +0 -0
  628. package/web/chunk-4vk6xma5.js.gz +0 -0
  629. package/web/chunk-50pdas2t.js +0 -1
  630. package/web/chunk-50pdas2t.js.br +0 -0
  631. package/web/chunk-50pdas2t.js.gz +0 -0
  632. package/web/chunk-56a6zytc.js +0 -1139
  633. package/web/chunk-56a6zytc.js.br +0 -0
  634. package/web/chunk-56a6zytc.js.gz +0 -0
  635. package/web/chunk-5ckj4zez.js +0 -1
  636. package/web/chunk-5ckj4zez.js.br +0 -2
  637. package/web/chunk-5ckj4zez.js.gz +0 -0
  638. package/web/chunk-5mr8z024.js +0 -2
  639. package/web/chunk-5mr8z024.js.br +0 -0
  640. package/web/chunk-5mr8z024.js.gz +0 -0
  641. package/web/chunk-5q4pemdh.js +0 -1
  642. package/web/chunk-5q4pemdh.js.br +0 -0
  643. package/web/chunk-5q4pemdh.js.gz +0 -0
  644. package/web/chunk-63ft76vs.js +0 -1
  645. package/web/chunk-63ft76vs.js.br +0 -0
  646. package/web/chunk-63ft76vs.js.gz +0 -0
  647. package/web/chunk-67ynxnvq.js +0 -8
  648. package/web/chunk-67ynxnvq.js.br +0 -0
  649. package/web/chunk-67ynxnvq.js.gz +0 -0
  650. package/web/chunk-6c2pv79h.js +0 -1
  651. package/web/chunk-6c2pv79h.js.br +0 -0
  652. package/web/chunk-6c2pv79h.js.gz +0 -0
  653. package/web/chunk-719tz8xw.js +0 -1
  654. package/web/chunk-719tz8xw.js.br +0 -0
  655. package/web/chunk-719tz8xw.js.gz +0 -0
  656. package/web/chunk-77nxgqqb.js +0 -4
  657. package/web/chunk-77nxgqqb.js.br +0 -0
  658. package/web/chunk-77nxgqqb.js.gz +0 -0
  659. package/web/chunk-7c59jb8d.js +0 -2
  660. package/web/chunk-7c59jb8d.js.br +0 -0
  661. package/web/chunk-7c59jb8d.js.gz +0 -0
  662. package/web/chunk-7ed5jf6e.js +0 -36
  663. package/web/chunk-7ed5jf6e.js.br +0 -0
  664. package/web/chunk-7ed5jf6e.js.gz +0 -0
  665. package/web/chunk-891bpx3c.js +0 -70
  666. package/web/chunk-891bpx3c.js.br +0 -0
  667. package/web/chunk-891bpx3c.js.gz +0 -0
  668. package/web/chunk-8h4dc48v.js +0 -292
  669. package/web/chunk-8h4dc48v.js.br +0 -0
  670. package/web/chunk-8h4dc48v.js.gz +0 -0
  671. package/web/chunk-96n00vam.js +0 -1
  672. package/web/chunk-96n00vam.js.br +0 -0
  673. package/web/chunk-96n00vam.js.gz +0 -0
  674. package/web/chunk-99c0h3v7.js +0 -1
  675. package/web/chunk-99c0h3v7.js.br +0 -0
  676. package/web/chunk-99c0h3v7.js.gz +0 -0
  677. package/web/chunk-9bs7khrr.js +0 -24
  678. package/web/chunk-9bs7khrr.js.br +0 -0
  679. package/web/chunk-9bs7khrr.js.gz +0 -0
  680. package/web/chunk-9ctyqr3n.js +0 -169
  681. package/web/chunk-9ctyqr3n.js.br +0 -0
  682. package/web/chunk-9ctyqr3n.js.gz +0 -0
  683. package/web/chunk-9qdx0ekk.js +0 -142
  684. package/web/chunk-9qdx0ekk.js.br +0 -0
  685. package/web/chunk-9qdx0ekk.js.gz +0 -0
  686. package/web/chunk-9r0rnt6d.js +0 -214
  687. package/web/chunk-9r0rnt6d.js.br +0 -0
  688. package/web/chunk-9r0rnt6d.js.gz +0 -0
  689. package/web/chunk-aan5qk6x.js +0 -1
  690. package/web/chunk-aan5qk6x.js.br +0 -0
  691. package/web/chunk-aan5qk6x.js.gz +0 -0
  692. package/web/chunk-ac9g3w7v.js +0 -1
  693. package/web/chunk-ac9g3w7v.js.br +0 -0
  694. package/web/chunk-ac9g3w7v.js.gz +0 -0
  695. package/web/chunk-ackts7ph.js +0 -24
  696. package/web/chunk-ackts7ph.js.br +0 -0
  697. package/web/chunk-ackts7ph.js.gz +0 -0
  698. package/web/chunk-asyqrf38.js +0 -1
  699. package/web/chunk-asyqrf38.js.br +0 -0
  700. package/web/chunk-asyqrf38.js.gz +0 -0
  701. package/web/chunk-b13crsv9.js +0 -1
  702. package/web/chunk-b13crsv9.js.br +0 -0
  703. package/web/chunk-b13crsv9.js.gz +0 -0
  704. package/web/chunk-brg2zcv5.js +0 -55
  705. package/web/chunk-brg2zcv5.js.br +0 -0
  706. package/web/chunk-brg2zcv5.js.gz +0 -0
  707. package/web/chunk-c3d08dw1.js +0 -1
  708. package/web/chunk-c3d08dw1.js.br +0 -0
  709. package/web/chunk-c3d08dw1.js.gz +0 -0
  710. package/web/chunk-cgwnzse1.js +0 -16
  711. package/web/chunk-cgwnzse1.js.br +0 -0
  712. package/web/chunk-cgwnzse1.js.gz +0 -0
  713. package/web/chunk-cm4fjb6j.js +0 -2
  714. package/web/chunk-cm4fjb6j.js.br +0 -0
  715. package/web/chunk-cm4fjb6j.js.gz +0 -0
  716. package/web/chunk-cys4n4sv.js +0 -1
  717. package/web/chunk-cys4n4sv.js.br +0 -0
  718. package/web/chunk-cys4n4sv.js.gz +0 -0
  719. package/web/chunk-d5n2yz4e.js +0 -2
  720. package/web/chunk-d5n2yz4e.js.br +0 -0
  721. package/web/chunk-d5n2yz4e.js.gz +0 -0
  722. package/web/chunk-djrvdzsb.js +0 -89
  723. package/web/chunk-djrvdzsb.js.br +0 -0
  724. package/web/chunk-djrvdzsb.js.gz +0 -0
  725. package/web/chunk-dsffzc1e.js +0 -2
  726. package/web/chunk-dsffzc1e.js.br +0 -0
  727. package/web/chunk-dsffzc1e.js.gz +0 -0
  728. package/web/chunk-e1wy8050.js +0 -370
  729. package/web/chunk-e1wy8050.js.br +0 -0
  730. package/web/chunk-e1wy8050.js.gz +0 -0
  731. package/web/chunk-e4cwyn1g.js +0 -2
  732. package/web/chunk-e4cwyn1g.js.br +0 -0
  733. package/web/chunk-e4cwyn1g.js.gz +0 -0
  734. package/web/chunk-ebknmxdp.js +0 -2
  735. package/web/chunk-ebknmxdp.js.br +0 -0
  736. package/web/chunk-ebknmxdp.js.gz +0 -0
  737. package/web/chunk-efjc9mga.js +0 -2
  738. package/web/chunk-efjc9mga.js.br +0 -0
  739. package/web/chunk-efjc9mga.js.gz +0 -0
  740. package/web/chunk-egjv760p.js +0 -2
  741. package/web/chunk-egjv760p.js.br +0 -0
  742. package/web/chunk-egjv760p.js.gz +0 -0
  743. package/web/chunk-etpd8y98.js +0 -1
  744. package/web/chunk-etpd8y98.js.br +0 -0
  745. package/web/chunk-etpd8y98.js.gz +0 -0
  746. package/web/chunk-f5kr9p2k.js +0 -1
  747. package/web/chunk-f5kr9p2k.js.br +0 -2
  748. package/web/chunk-f5kr9p2k.js.gz +0 -0
  749. package/web/chunk-f5wyg9zh.js +0 -2
  750. package/web/chunk-f5wyg9zh.js.br +0 -0
  751. package/web/chunk-f5wyg9zh.js.gz +0 -0
  752. package/web/chunk-fjhqg9ag.js +0 -2
  753. package/web/chunk-fjhqg9ag.js.br +0 -0
  754. package/web/chunk-fjhqg9ag.js.gz +0 -0
  755. package/web/chunk-ftdzs90e.js +0 -1
  756. package/web/chunk-ftdzs90e.js.br +0 -0
  757. package/web/chunk-ftdzs90e.js.gz +0 -0
  758. package/web/chunk-fyr6rm2p.js +0 -2
  759. package/web/chunk-fyr6rm2p.js.br +0 -0
  760. package/web/chunk-fyr6rm2p.js.gz +0 -0
  761. package/web/chunk-grjq1g15.js +0 -1
  762. package/web/chunk-grjq1g15.js.br +0 -0
  763. package/web/chunk-grjq1g15.js.gz +0 -0
  764. package/web/chunk-gvndjaan.js +0 -2
  765. package/web/chunk-gvndjaan.js.br +0 -0
  766. package/web/chunk-gvndjaan.js.gz +0 -0
  767. package/web/chunk-h4bzgvbg.js +0 -303
  768. package/web/chunk-h4bzgvbg.js.br +0 -0
  769. package/web/chunk-h4bzgvbg.js.gz +0 -0
  770. package/web/chunk-heen0v5d.js +0 -12
  771. package/web/chunk-heen0v5d.js.br +0 -0
  772. package/web/chunk-heen0v5d.js.gz +0 -0
  773. package/web/chunk-henez15c.js +0 -4
  774. package/web/chunk-henez15c.js.br +0 -0
  775. package/web/chunk-henez15c.js.gz +0 -0
  776. package/web/chunk-hpcvwdkg.js +0 -1
  777. package/web/chunk-hpcvwdkg.js.br +0 -0
  778. package/web/chunk-hpcvwdkg.js.gz +0 -0
  779. package/web/chunk-hpvyk6rz.js +0 -324
  780. package/web/chunk-hpvyk6rz.js.br +0 -0
  781. package/web/chunk-hpvyk6rz.js.gz +0 -0
  782. package/web/chunk-hzvff525.js +0 -2
  783. package/web/chunk-hzvff525.js.br +0 -0
  784. package/web/chunk-hzvff525.js.gz +0 -0
  785. package/web/chunk-j0dyf1g8.js +0 -2
  786. package/web/chunk-j0dyf1g8.js.br +0 -3
  787. package/web/chunk-j0dyf1g8.js.gz +0 -0
  788. package/web/chunk-jb89v31q.js +0 -1
  789. package/web/chunk-jb89v31q.js.br +0 -0
  790. package/web/chunk-jb89v31q.js.gz +0 -0
  791. package/web/chunk-jb949ewp.js +0 -217
  792. package/web/chunk-jb949ewp.js.br +0 -0
  793. package/web/chunk-jb949ewp.js.gz +0 -0
  794. package/web/chunk-je4bf95v.js +0 -1
  795. package/web/chunk-je4bf95v.js.br +0 -0
  796. package/web/chunk-je4bf95v.js.gz +0 -0
  797. package/web/chunk-js6c1973.js +0 -1
  798. package/web/chunk-js6c1973.js.br +0 -0
  799. package/web/chunk-js6c1973.js.gz +0 -0
  800. package/web/chunk-k140nr54.js +0 -1
  801. package/web/chunk-k140nr54.js.br +0 -0
  802. package/web/chunk-k140nr54.js.gz +0 -0
  803. package/web/chunk-k89686qj.js +0 -2
  804. package/web/chunk-k89686qj.js.br +0 -0
  805. package/web/chunk-k89686qj.js.gz +0 -0
  806. package/web/chunk-kknrn2wb.js +0 -84
  807. package/web/chunk-kknrn2wb.js.br +0 -0
  808. package/web/chunk-kknrn2wb.js.gz +0 -0
  809. package/web/chunk-mhtzdq9d.js +0 -140
  810. package/web/chunk-mhtzdq9d.js.br +0 -0
  811. package/web/chunk-mhtzdq9d.js.gz +0 -0
  812. package/web/chunk-mqdvg55y.js +0 -2
  813. package/web/chunk-mqdvg55y.js.br +0 -0
  814. package/web/chunk-mqdvg55y.js.gz +0 -0
  815. package/web/chunk-mrnj2k3v.js +0 -2
  816. package/web/chunk-mrnj2k3v.js.br +0 -0
  817. package/web/chunk-mrnj2k3v.js.gz +0 -0
  818. package/web/chunk-my0k5w7f.js +0 -39
  819. package/web/chunk-my0k5w7f.js.br +0 -0
  820. package/web/chunk-my0k5w7f.js.gz +0 -0
  821. package/web/chunk-n08727ym.js +0 -34
  822. package/web/chunk-n08727ym.js.br +0 -0
  823. package/web/chunk-n08727ym.js.gz +0 -0
  824. package/web/chunk-n5ghyxwk.js +0 -38
  825. package/web/chunk-n5ghyxwk.js.br +0 -0
  826. package/web/chunk-n5ghyxwk.js.gz +0 -0
  827. package/web/chunk-ngsv0xfb.js +0 -1
  828. package/web/chunk-ngsv0xfb.js.br +0 -0
  829. package/web/chunk-ngsv0xfb.js.gz +0 -0
  830. package/web/chunk-nt21rjrm.js +0 -21
  831. package/web/chunk-nt21rjrm.js.br +0 -0
  832. package/web/chunk-nt21rjrm.js.gz +0 -0
  833. package/web/chunk-nzgj9qx5.js +0 -2
  834. package/web/chunk-nzgj9qx5.js.br +0 -0
  835. package/web/chunk-nzgj9qx5.js.gz +0 -0
  836. package/web/chunk-p9wm0dv3.js +0 -1
  837. package/web/chunk-p9wm0dv3.js.br +0 -0
  838. package/web/chunk-p9wm0dv3.js.gz +0 -0
  839. package/web/chunk-pqh9yszs.js +0 -106
  840. package/web/chunk-pqh9yszs.js.br +0 -0
  841. package/web/chunk-pqh9yszs.js.gz +0 -0
  842. package/web/chunk-q0vsqq43.js +0 -1
  843. package/web/chunk-q0vsqq43.js.br +0 -0
  844. package/web/chunk-q0vsqq43.js.gz +0 -0
  845. package/web/chunk-qv5d69fn.js +0 -2
  846. package/web/chunk-qv5d69fn.js.br +0 -0
  847. package/web/chunk-qv5d69fn.js.gz +0 -0
  848. package/web/chunk-r7afv22v.js +0 -2
  849. package/web/chunk-r7afv22v.js.br +0 -0
  850. package/web/chunk-r7afv22v.js.gz +0 -0
  851. package/web/chunk-rc6at4k5.js +0 -291
  852. package/web/chunk-rc6at4k5.js.br +0 -0
  853. package/web/chunk-rc6at4k5.js.gz +0 -0
  854. package/web/chunk-rj1rp0tc.js +0 -1
  855. package/web/chunk-rj1rp0tc.js.br +0 -0
  856. package/web/chunk-rj1rp0tc.js.gz +0 -0
  857. package/web/chunk-rnsvrehz.js +0 -30
  858. package/web/chunk-rnsvrehz.js.br +0 -0
  859. package/web/chunk-rnsvrehz.js.gz +0 -0
  860. package/web/chunk-rsmhn1fq.js +0 -1
  861. package/web/chunk-rsmhn1fq.js.br +0 -0
  862. package/web/chunk-rsmhn1fq.js.gz +0 -0
  863. package/web/chunk-s00gxcxn.js +0 -2
  864. package/web/chunk-s00gxcxn.js.br +0 -0
  865. package/web/chunk-s00gxcxn.js.gz +0 -0
  866. package/web/chunk-s1p271av.js +0 -1
  867. package/web/chunk-s1p271av.js.br +0 -0
  868. package/web/chunk-s1p271av.js.gz +0 -0
  869. package/web/chunk-s6a13wxe.js +0 -2
  870. package/web/chunk-s6a13wxe.js.br +0 -0
  871. package/web/chunk-s6a13wxe.js.gz +0 -0
  872. package/web/chunk-sc4kwbnh.js +0 -1
  873. package/web/chunk-sc4kwbnh.js.br +0 -2
  874. package/web/chunk-sc4kwbnh.js.gz +0 -0
  875. package/web/chunk-scebh2ee.js +0 -1
  876. package/web/chunk-scebh2ee.js.br +0 -0
  877. package/web/chunk-scebh2ee.js.gz +0 -0
  878. package/web/chunk-shtkgxz6.js +0 -2
  879. package/web/chunk-shtkgxz6.js.br +0 -0
  880. package/web/chunk-shtkgxz6.js.gz +0 -0
  881. package/web/chunk-spmfwbhd.js +0 -1
  882. package/web/chunk-spmfwbhd.js.br +0 -0
  883. package/web/chunk-spmfwbhd.js.gz +0 -0
  884. package/web/chunk-svtenejf.js +0 -1
  885. package/web/chunk-svtenejf.js.br +0 -0
  886. package/web/chunk-svtenejf.js.gz +0 -0
  887. package/web/chunk-szwh742y.js +0 -2
  888. package/web/chunk-szwh742y.js.br +0 -0
  889. package/web/chunk-szwh742y.js.gz +0 -0
  890. package/web/chunk-t9z1bp8j.js +0 -3
  891. package/web/chunk-t9z1bp8j.js.br +0 -0
  892. package/web/chunk-t9z1bp8j.js.gz +0 -0
  893. package/web/chunk-tnttdgsc.js +0 -1
  894. package/web/chunk-tnttdgsc.js.br +0 -0
  895. package/web/chunk-tnttdgsc.js.gz +0 -0
  896. package/web/chunk-tntwwpyh.js +0 -2
  897. package/web/chunk-tntwwpyh.js.br +0 -0
  898. package/web/chunk-tntwwpyh.js.gz +0 -0
  899. package/web/chunk-tp3fpa0t.js +0 -1
  900. package/web/chunk-tp3fpa0t.js.br +0 -0
  901. package/web/chunk-tp3fpa0t.js.gz +0 -0
  902. package/web/chunk-txdkp6yc.js +0 -7
  903. package/web/chunk-txdkp6yc.js.br +0 -0
  904. package/web/chunk-txdkp6yc.js.gz +0 -0
  905. package/web/chunk-v34mwgx8.js +0 -1
  906. package/web/chunk-v34mwgx8.js.br +0 -0
  907. package/web/chunk-v34mwgx8.js.gz +0 -0
  908. package/web/chunk-vayamfxv.js +0 -1
  909. package/web/chunk-vayamfxv.js.br +0 -0
  910. package/web/chunk-vayamfxv.js.gz +0 -0
  911. package/web/chunk-vndrjeyr.js +0 -2
  912. package/web/chunk-vndrjeyr.js.br +0 -0
  913. package/web/chunk-vndrjeyr.js.gz +0 -0
  914. package/web/chunk-vtp01n96.js +0 -1
  915. package/web/chunk-vtp01n96.js.br +0 -0
  916. package/web/chunk-vtp01n96.js.gz +0 -0
  917. package/web/chunk-vx1qmkbm.js +0 -120
  918. package/web/chunk-vx1qmkbm.js.br +0 -0
  919. package/web/chunk-vx1qmkbm.js.gz +0 -0
  920. package/web/chunk-vxx451tt.js +0 -1
  921. package/web/chunk-vxx451tt.js.br +0 -0
  922. package/web/chunk-vxx451tt.js.gz +0 -0
  923. package/web/chunk-w8epfc0c.js +0 -1
  924. package/web/chunk-w8epfc0c.js.br +0 -0
  925. package/web/chunk-w8epfc0c.js.gz +0 -0
  926. package/web/chunk-wdd9pasx.js +0 -1
  927. package/web/chunk-wdd9pasx.js.br +0 -0
  928. package/web/chunk-wdd9pasx.js.gz +0 -0
  929. package/web/chunk-whgh2r7d.js +0 -200
  930. package/web/chunk-whgh2r7d.js.br +0 -0
  931. package/web/chunk-whgh2r7d.js.gz +0 -0
  932. package/web/chunk-x0p1n5ws.js +0 -1
  933. package/web/chunk-x0p1n5ws.js.br +0 -2
  934. package/web/chunk-x0p1n5ws.js.gz +0 -0
  935. package/web/chunk-x2tk9zeq.js +0 -1
  936. package/web/chunk-x2tk9zeq.js.br +0 -0
  937. package/web/chunk-x2tk9zeq.js.gz +0 -0
  938. package/web/chunk-xbt045kt.js +0 -1
  939. package/web/chunk-xbt045kt.js.br +0 -2
  940. package/web/chunk-xbt045kt.js.gz +0 -0
  941. package/web/chunk-xh3agbvb.js +0 -7
  942. package/web/chunk-xh3agbvb.js.br +0 -0
  943. package/web/chunk-xh3agbvb.js.gz +0 -0
  944. package/web/chunk-xpw1spgj.js +0 -40
  945. package/web/chunk-xpw1spgj.js.br +0 -0
  946. package/web/chunk-xpw1spgj.js.gz +0 -0
  947. package/web/chunk-y2jkaf1e.js +0 -2
  948. package/web/chunk-y2jkaf1e.js.br +0 -0
  949. package/web/chunk-y2jkaf1e.js.gz +0 -0
  950. package/web/chunk-yp2jydfj.js +0 -1
  951. package/web/chunk-yp2jydfj.js.br +0 -0
  952. package/web/chunk-yp2jydfj.js.gz +0 -0
  953. package/web/chunk-yxp1es3b.js +0 -1
  954. package/web/chunk-yxp1es3b.js.br +0 -0
  955. package/web/chunk-yxp1es3b.js.gz +0 -0
  956. package/web/chunk-yzrww95m.js +0 -7
  957. package/web/chunk-yzrww95m.js.br +0 -0
  958. package/web/chunk-yzrww95m.js.gz +0 -0
  959. package/web/chunk-z502b5p0.js +0 -1
  960. package/web/chunk-z502b5p0.js.br +0 -0
  961. package/web/chunk-z502b5p0.js.gz +0 -0
  962. package/web/chunk-zny7cya7.js +0 -1
  963. package/web/chunk-zny7cya7.js.br +0 -2
  964. package/web/chunk-zny7cya7.js.gz +0 -0
  965. package/web/chunk-zq1qbaxb.js +0 -2
  966. package/web/chunk-zq1qbaxb.js.br +0 -0
  967. package/web/chunk-zq1qbaxb.js.gz +0 -0
  968. /package/{chunk-h4bvkm6p.js → chunk-2h2mvrw2.js} +0 -0
  969. /package/{chunk-51f8zbj5.js → chunk-54zpktrq.js} +0 -0
  970. /package/{chunk-fqfjjhkj.js → chunk-aq6xkc1w.js} +0 -0
  971. /package/{chunk-chfzk1fx.js → chunk-et2s8y6a.js} +0 -0
  972. /package/{chunk-pa7yh2q3.js → chunk-fgpzy3fe.js} +0 -0
@@ -0,0 +1,106 @@
1
+ import{Lr}from"./chunk-rzeh9b1q.js";import{ae}from"./chunk-ctckn7gz.js";import{t,i,F,A,C,N,M,P,R,I,O,D,u,Ka,g,nc,Z,H}from"./chunk-rmzb9edh.js";import{fe}from"./chunk-aqz2exas.js";var B={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Ce=F.gitGraph,V=t(()=>Z({...Ce,...A().gitGraph}),"getConfig"),l=new Lr(()=>{let e=V(),{mainBranchName:r,mainBranchOrder:a}=e;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:a}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function se(){return nc({length:7})}t(se,"getID");function pe(e,r){let a=Object.create(null);return e.reduce((n,c)=>{let h=r(c);if(!a[h])a[h]=!0,n.push(c);return n},[])}t(pe,"uniqBy");var ve=t(function(e){l.records.direction=e},"setDirection"),Ee=t(function(e){i.debug("options str",e),e=e?.trim(),e=e||"{}";try{l.records.options=JSON.parse(e)}catch(r){i.error("error while parsing gitGraph options",r.message)}},"setOptions"),Te=t(function(){return l.records.options},"getOptions"),Le=t(function(e){let{msg:r,id:a,type:n,tags:c}=e;i.info("commit",r,a,n,c),i.debug("Entering commit:",r,a,n,c);let h=V();a=C.sanitizeText(a,h),r=C.sanitizeText(r,h),c=c?.map((o)=>C.sanitizeText(o,h));let s={id:a?a:l.records.seq+"-"+se(),message:r,seq:l.records.seq++,type:n??B.NORMAL,tags:c??[],parents:l.records.head==null?[]:[l.records.head.id],branch:l.records.currBranch};if(l.records.head=s,i.info("main branch",h.mainBranchName),l.records.commits.has(s.id))i.warn(`Commit ID ${s.id} already exists`);l.records.commits.set(s.id,s),l.records.branches.set(l.records.currBranch,s.id),i.debug("in pushCommit "+s.id)},"commit"),Me=t(function(e){let{name:r,order:a}=e;if(r=C.sanitizeText(r,V()),l.records.branches.has(r))throw Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);l.records.branches.set(r,l.records.head!=null?l.records.head.id:null),l.records.branchConfig.set(r,{name:r,order:a}),ye(r),i.debug("in createBranch")},"branch"),Pe=t((e)=>{let{branch:r,id:a,type:n,tags:c}=e,h=V();if(r=C.sanitizeText(r,h),a)a=C.sanitizeText(a,h);let s=l.records.branches.get(l.records.currBranch),o=l.records.branches.get(r),m=s?l.records.commits.get(s):void 0,p=o?l.records.commits.get(o):void 0;if(m&&p&&m.branch===r)throw Error(`Cannot merge branch '${r}' into itself.`);if(l.records.currBranch===r){let d=Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},d}if(m===void 0||!m){let d=Error(`Incorrect usage of "merge". Current branch (${l.records.currBranch})has no commits`);throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},d}if(!l.records.branches.has(r)){let d=Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},d}if(p===void 0||!p){let d=Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},d}if(m===p){let d=Error('Incorrect usage of "merge". Both branches have same head');throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},d}if(a&&l.records.commits.has(a)){let d=Error('Incorrect usage of "merge". Commit with id:'+a+" already exists, use different custom id");throw d.hash={text:`merge ${r} ${a} ${n} ${c?.join(" ")}`,token:`merge ${r} ${a} ${n} ${c?.join(" ")}`,expected:[`merge ${r} ${a}_UNIQUE ${n} ${c?.join(" ")}`]},d}let y=o?o:"",f={id:a||`${l.records.seq}-${se()}`,message:`merged branch ${r} into ${l.records.currBranch}`,seq:l.records.seq++,parents:l.records.head==null?[]:[l.records.head.id,y],branch:l.records.currBranch,type:B.MERGE,customType:n,customId:a?!0:!1,tags:c??[]};l.records.head=f,l.records.commits.set(f.id,f),l.records.branches.set(l.records.currBranch,f.id),i.debug(l.records.branches),i.debug("in mergeBranch")},"merge"),Re=t(function(e){let{id:r,targetId:a,tags:n,parent:c}=e;i.debug("Entering cherryPick:",r,a,n);let h=V();if(r=C.sanitizeText(r,h),a=C.sanitizeText(a,h),n=n?.map((m)=>C.sanitizeText(m,h)),c=C.sanitizeText(c,h),!r||!l.records.commits.has(r)){let m=Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw m.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},m}let s=l.records.commits.get(r);if(s===void 0||!s)throw Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(c&&!(Array.isArray(s.parents)&&s.parents.includes(c)))throw Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");let o=s.branch;if(s.type===B.MERGE&&!c)throw Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!a||!l.records.commits.has(a)){if(o===l.records.currBranch){let f=Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw f.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},f}let m=l.records.branches.get(l.records.currBranch);if(m===void 0||!m){let f=Error(`Incorrect usage of "cherry-pick". Current branch (${l.records.currBranch})has no commits`);throw f.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},f}let p=l.records.commits.get(m);if(p===void 0||!p){let f=Error(`Incorrect usage of "cherry-pick". Current branch (${l.records.currBranch})has no commits`);throw f.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},f}let y={id:l.records.seq+"-"+se(),message:`cherry-picked ${s?.message} into ${l.records.currBranch}`,seq:l.records.seq++,parents:l.records.head==null?[]:[l.records.head.id,s.id],branch:l.records.currBranch,type:B.CHERRY_PICK,tags:n?n.filter(Boolean):[`cherry-pick:${s.id}${s.type===B.MERGE?`|parent:${c}`:""}`]};l.records.head=y,l.records.commits.set(y.id,y),l.records.branches.set(l.records.currBranch,y.id),i.debug(l.records.branches),i.debug("in cherryPick")}},"cherryPick"),ye=t(function(e){if(e=C.sanitizeText(e,V()),!l.records.branches.has(e)){let r=Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw r.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},r}else{l.records.currBranch=e;let r=l.records.branches.get(l.records.currBranch);if(r===void 0||!r)l.records.head=null;else l.records.head=l.records.commits.get(r)??null}},"checkout");function de(e,r,a){let n=e.indexOf(r);if(n===-1)e.push(a);else e.splice(n,1,a)}t(de,"upsert");function le(e){let r=e.reduce((c,h)=>{if(c.seq>h.seq)return c;return h},e[0]),a="";e.forEach(function(c){if(c===r)a+="\t*";else a+="\t|"});let n=[a,r.id,r.seq];for(let c in l.records.branches)if(l.records.branches.get(c)===r.id)n.push(c);if(i.debug(n.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){let c=l.records.commits.get(r.parents[0]);if(de(e,r,c),r.parents[1])e.push(l.records.commits.get(r.parents[1]))}else if(r.parents.length==0)return;else if(r.parents[0]){let c=l.records.commits.get(r.parents[0]);de(e,r,c)}e=pe(e,(c)=>c.id),le(e)}t(le,"prettyPrintCommitHistory");var Oe=t(function(){i.debug(l.records.commits);let e=xe()[0];le([e])},"prettyPrint"),Ie=t(function(){l.reset(),N()},"clear"),_e=t(function(){return[...l.records.branchConfig.values()].map((r,a)=>{if(r.order!==null&&r.order!==void 0)return r;return{...r,order:parseFloat(`0.${a}`)}}).sort((r,a)=>(r.order??0)-(a.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),Ge=t(function(){return l.records.branches},"getBranches"),De=t(function(){return l.records.commits},"getCommits"),xe=t(function(){let e=[...l.records.commits.values()];return e.forEach(function(r){i.debug(r.id)}),e.sort((r,a)=>r.seq-a.seq),e},"getCommitsArray"),We=t(function(){return l.records.currBranch},"getCurrentBranch"),qe=t(function(){return l.records.direction},"getDirection"),Ae=t(function(){return l.records.head},"getHead"),ue={commitType:B,getConfig:V,setDirection:ve,setOptions:Ee,getOptions:Te,commit:Le,branch:Me,merge:Pe,cherryPick:Re,checkout:ye,prettyPrint:Oe,clear:Ie,getBranchesAsObjArray:_e,getBranches:Ge,getCommits:De,getCommitsArray:xe,getCurrentBranch:We,getDirection:qe,getHead:Ae,setAccTitle:M,getAccTitle:P,getAccDescription:I,setAccDescription:R,setDiagramTitle:O,getDiagramTitle:D},He=t((e,r)=>{if(ae(e,r),e.dir)r.setDirection(e.dir);for(let a of e.statements)Se(a,r)},"populate"),Se=t((e,r)=>{let n={Commit:t((c)=>r.commit(Ne(c)),"Commit"),Branch:t((c)=>r.branch(Fe(c)),"Branch"),Merge:t((c)=>r.merge(ze(c)),"Merge"),Checkout:t((c)=>r.checkout(Ye(c)),"Checkout"),CherryPicking:t((c)=>r.cherryPick(je(c)),"CherryPicking")}[e.$type];if(n)n(e);else i.error(`Unknown statement type: ${e.$type}`)},"parseStatement"),Ne=t((e)=>({id:e.id,msg:e.message??"",type:e.type!==void 0?B[e.type]:B.NORMAL,tags:e.tags??void 0}),"parseCommit"),Fe=t((e)=>({name:e.name,order:e.order??0}),"parseBranch"),ze=t((e)=>({branch:e.branch,id:e.id??"",type:e.type!==void 0?B[e.type]:void 0,tags:e.tags??void 0}),"parseMerge"),Ye=t((e)=>e.branch,"parseCheckout"),je=t((e)=>({id:e.id,targetId:"",tags:e.tags?.length===0?void 0:e.tags,parent:e.parent}),"parseCherryPicking"),Ke={parse:t(async(e)=>{let r=await fe("gitGraph",e);i.debug(r),He(r,ue)},"parse")},Y=10,j=40,W=4,S=2,K=8,ne=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),he=12,me=new Set(["redux-color","redux-dark-color"]),Ue=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),U=t((e,r,a=!1)=>{if(a&&e>0)return(e-1)%(r-1)+1;return e%r},"calcColorIndex"),L=new Map,_=new Map,re=30,Q=new Map,oe=[],z=0,b="LR",Ve=t(()=>{L.clear(),_.clear(),Q.clear(),z=0,oe=[],b="LR"},"clear"),be=t((e)=>{let r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof e==="string"?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach((n)=>{let c=document.createElementNS("http://www.w3.org/2000/svg","tspan");c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),c.setAttribute("dy","1em"),c.setAttribute("x","0"),c.setAttribute("class","row"),c.textContent=n.trim(),r.appendChild(c)}),r},"drawText"),we=t((e)=>{let r,a,n;if(b==="BT")a=t((c,h)=>c<=h,"comparisonFunc"),n=1/0;else a=t((c,h)=>c>=h,"comparisonFunc"),n=0;return e.forEach((c)=>{let h=b==="TB"||b=="BT"?_.get(c)?.y:_.get(c)?.x;if(h!==void 0&&a(h,n))r=c,n=h}),r},"findClosestParent"),Ze=t((e)=>{let r="",a=1/0;return e.forEach((n)=>{let c=_.get(n).y;if(c<=a)r=n,a=c}),r||void 0},"findClosestParentBT"),Xe=t((e,r,a)=>{let n=a,c=a,h=[];e.forEach((s)=>{let o=r.get(s);if(!o)throw Error(`Commit not found for key ${s}`);if(o.parents.length)n=Qe(o),c=Math.max(n,c);else h.push(o);et(o,n)}),n=c,h.forEach((s)=>{tt(s,n,a)}),e.forEach((s)=>{let o=r.get(s);if(o?.parents.length){let m=Ze(o.parents);if(n=_.get(m).y-j,n<=c)c=n;let p=L.get(o.branch).pos,y=n-Y;_.set(o.id,{x:p,y})}})},"setParallelBTPos"),Je=t((e)=>{let r=we(e.parents.filter((n)=>n!==null));if(!r)throw Error(`Closest parent not found for commit ${e.id}`);let a=_.get(r)?.y;if(a===void 0)throw Error(`Closest parent position not found for commit ${e.id}`);return a},"findClosestParentPos"),Qe=t((e)=>Je(e)+j,"calculateCommitPosition"),et=t((e,r)=>{let a=L.get(e.branch);if(!a)throw Error(`Branch not found for commit ${e.id}`);let n=a.pos,c=r+Y;return _.set(e.id,{x:n,y:c}),{x:n,y:c}},"setCommitPosition"),tt=t((e,r,a)=>{let n=L.get(e.branch);if(!n)throw Error(`Branch not found for commit ${e.id}`);let c=r+a,h=n.pos;_.set(e.id,{x:h,y:c})},"setRootPosition"),rt=t((e,r,a,n,c,h)=>{let{theme:s}=u(),o=ne.has(s??""),m=me.has(s??""),p=Ue.has(s??"");if(h===B.HIGHLIGHT)e.append("rect").attr("x",a.x-10+(o?3:0)).attr("y",a.y-10+(o?3:0)).attr("width",o?14:20).attr("height",o?14:20).attr("class",`commit ${r.id} commit-highlight${U(c,K,m)} ${n}-outer`),e.append("rect").attr("x",a.x-6+(o?2:0)).attr("y",a.y-6+(o?2:0)).attr("width",o?8:12).attr("height",o?8:12).attr("class",`commit ${r.id} commit${U(c,K,m)} ${n}-inner`);else if(h===B.CHERRY_PICK)e.append("circle").attr("cx",a.x).attr("cy",a.y).attr("r",o?7:10).attr("class",`commit ${r.id} ${n}`),e.append("circle").attr("cx",a.x-3).attr("cy",a.y+2).attr("r",o?2.5:2.75).attr("fill",p?"#000000":"#fff").attr("class",`commit ${r.id} ${n}`),e.append("circle").attr("cx",a.x+3).attr("cy",a.y+2).attr("r",o?2.5:2.75).attr("fill",p?"#000000":"#fff").attr("class",`commit ${r.id} ${n}`),e.append("line").attr("x1",a.x+3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke",p?"#000000":"#fff").attr("class",`commit ${r.id} ${n}`),e.append("line").attr("x1",a.x-3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke",p?"#000000":"#fff").attr("class",`commit ${r.id} ${n}`);else{let y=e.append("circle");if(y.attr("cx",a.x),y.attr("cy",a.y),y.attr("r",o?7:10),y.attr("class",`commit ${r.id} commit${U(c,K,m)}`),h===B.MERGE){let f=e.append("circle");f.attr("cx",a.x),f.attr("cy",a.y),f.attr("r",o?5:6),f.attr("class",`commit ${n} ${r.id} commit${U(c,K,m)}`)}if(h===B.REVERSE){let f=e.append("path"),d=o?4:5;f.attr("d",`M ${a.x-d},${a.y-d}L${a.x+d},${a.y+d}M${a.x-d},${a.y+d}L${a.x+d},${a.y-d}`).attr("class",`commit ${n} ${r.id} commit${U(c,K,m)}`)}}},"drawCommitBullet"),at=t((e,r,a,n,c)=>{if(r.type!==B.CHERRY_PICK&&(r.customId&&r.type===B.MERGE||r.type!==B.MERGE)&&c.showCommitLabel){let h=e.append("g"),s=h.insert("rect").attr("class","commit-label-bkg"),o=h.append("text").attr("x",n).attr("y",a.y+25).attr("class","commit-label").text(r.id),m=o.node()?.getBBox();if(m){if(s.attr("x",a.posWithOffset-m.width/2-S).attr("y",a.y+13.5).attr("width",m.width+2*S).attr("height",m.height+2*S),b==="TB"||b==="BT")s.attr("x",a.x-(m.width+4*W+5)).attr("y",a.y-12),o.attr("x",a.x-(m.width+4*W)).attr("y",a.y+m.height-12);else o.attr("x",a.posWithOffset-m.width/2);if(c.rotateCommitLabel)if(b==="TB"||b==="BT")o.attr("transform","rotate(-45, "+a.x+", "+a.y+")"),s.attr("transform","rotate(-45, "+a.x+", "+a.y+")");else{let p=-7.5-(m.width+10)/25*9.5,y=10+m.width/25*8.5;h.attr("transform","translate("+p+", "+y+") rotate(-45, "+n+", "+a.y+")")}}}},"drawCommitLabel"),ot=t((e,r,a,n)=>{if(r.tags.length>0){let c=0,h=0,s=0,o=[];for(let m of r.tags.reverse()){let p=e.insert("polygon"),y=e.append("circle"),f=e.append("text").attr("y",a.y-16-c).attr("class","tag-label").text(m),d=f.node()?.getBBox();if(!d)throw Error("Tag bbox not found");h=Math.max(h,d.width),s=Math.max(s,d.height),f.attr("x",a.posWithOffset-d.width/2),o.push({tag:f,hole:y,rect:p,yOffset:c}),c+=20}for(let{tag:m,hole:p,rect:y,yOffset:f}of o){let d=s/2,w=a.y-19.2-f;if(y.attr("class","tag-label-bkg").attr("points",`
2
+ ${n-h/2-W/2},${w+S}
3
+ ${n-h/2-W/2},${w-S}
4
+ ${a.posWithOffset-h/2-W},${w-d-S}
5
+ ${a.posWithOffset+h/2+W},${w-d-S}
6
+ ${a.posWithOffset+h/2+W},${w+d+S}
7
+ ${a.posWithOffset-h/2-W},${w+d+S}`),p.attr("cy",w).attr("cx",n-h/2+W/2).attr("r",1.5).attr("class","tag-hole"),b==="TB"||b==="BT"){let x=n+f;y.attr("class","tag-label-bkg").attr("points",`
8
+ ${a.x},${x+2}
9
+ ${a.x},${x-2}
10
+ ${a.x+Y},${x-d-2}
11
+ ${a.x+Y+h+4},${x-d-2}
12
+ ${a.x+Y+h+4},${x+d+2}
13
+ ${a.x+Y},${x+d+2}`).attr("transform","translate(12,12) rotate(45, "+a.x+","+n+")"),p.attr("cx",a.x+W/2).attr("cy",x).attr("transform","translate(12,12) rotate(45, "+a.x+","+n+")"),m.attr("x",a.x+5).attr("y",x+3).attr("transform","translate(14,14) rotate(45, "+a.x+","+n+")")}}}},"drawCommitTags"),st=t((e)=>{switch(e.customType??e.type){case B.NORMAL:return"commit-normal";case B.REVERSE:return"commit-reverse";case B.HIGHLIGHT:return"commit-highlight";case B.MERGE:return"commit-merge";case B.CHERRY_PICK:return"commit-cherry-pick";default:return"commit-normal"}},"getCommitClassType"),nt=t((e,r,a,n)=>{let c={x:0,y:0};if(e.parents.length>0){let h=we(e.parents);if(h){let s=n.get(h)??c;if(r==="TB")return s.y+j;else if(r==="BT")return(n.get(e.id)??c).y-j;else return s.x+j}}else if(r==="TB")return re;else if(r==="BT")return(n.get(e.id)??c).y-j;else return 0;return 0},"calculatePosition"),ct=t((e,r,a)=>{let n=b==="BT"&&a?r:r+Y,c=L.get(e.branch)?.pos,h=b==="TB"||b==="BT"?L.get(e.branch)?.pos:n;if(h===void 0||c===void 0)throw Error(`Position were undefined for commit ${e.id}`);let s=ne.has(u().theme??""),o=b==="TB"||b==="BT"?n:c+(s?he/2+1:-2);return{x:h,y:o,posWithOffset:n}},"getCommitPosition"),$e=t((e,r,a,n)=>{let c=e.append("g").attr("class","commit-bullets"),h=e.append("g").attr("class","commit-labels"),s=b==="TB"||b==="BT"?re:0,o=[...r.keys()],m=n.parallelCommits??!1,p=t((f,d)=>{let w=r.get(f)?.seq,x=r.get(d)?.seq;return w!==void 0&&x!==void 0?w-x:0},"sortKeys"),y=o.sort(p);if(b==="BT"){if(m)Xe(y,r,s);y=y.reverse()}y.forEach((f)=>{let d=r.get(f);if(!d)throw Error(`Commit not found for key ${f}`);if(m)s=nt(d,b,s,_);let w=ct(d,s,m);if(a){let x=st(d),k=d.customType??d.type,v=L.get(d.branch)?.index??0;rt(c,d,w,x,v,k),at(h,d,w,s,n),ot(h,d,w,s)}if(b==="TB"||b==="BT")_.set(d.id,{x:w.x,y:w.posWithOffset});else _.set(d.id,{x:w.posWithOffset,y:w.y});if(s=b==="BT"&&m?s+j:s+j+Y,s>z)z=s})},"drawCommits"),it=t((e,r,a,n,c)=>{let s=(b==="TB"||b==="BT"?a.x<n.x:a.y<n.y)?r.branch:e.branch,o=t((p)=>p.branch===s,"isOnBranchToGetCurve"),m=t((p)=>p.seq>e.seq&&p.seq<r.seq,"isBetweenCommits");return[...c.values()].some((p)=>m(p)&&o(p))},"shouldRerouteArrow"),ee=t((e,r,a=0)=>{let n=e+Math.abs(e-r)/2;if(a>5)return n;if(oe.every((s)=>Math.abs(s-n)>=10))return oe.push(n),n;let h=Math.abs(e-r);return ee(e,r-h/5,a+1)},"findLane"),dt=t((e,r,a,n)=>{let{theme:c}=u(),h=me.has(c??""),s=_.get(r.id),o=_.get(a.id);if(s===void 0||o===void 0)throw Error(`Commit positions not found for commits ${r.id} and ${a.id}`);let m=it(r,a,s,o,n),p="",y="",f=0,d=0,w=L.get(a.branch)?.index;if(a.type===B.MERGE&&r.id!==a.parents[0])w=L.get(r.branch)?.index;let x;if(m){p="A 10 10, 0, 0, 0,",y="A 10 10, 0, 0, 1,",f=10,d=10;let k=s.y<o.y?ee(s.y,o.y):ee(o.y,s.y),v=s.x<o.x?ee(s.x,o.x):ee(o.x,s.x);if(b==="TB")if(s.x<o.x)x=`M ${s.x} ${s.y} L ${v-f} ${s.y} ${y} ${v} ${s.y+d} L ${v} ${o.y-f} ${p} ${v+d} ${o.y} L ${o.x} ${o.y}`;else w=L.get(r.branch)?.index,x=`M ${s.x} ${s.y} L ${v+f} ${s.y} ${p} ${v} ${s.y+d} L ${v} ${o.y-f} ${y} ${v-d} ${o.y} L ${o.x} ${o.y}`;else if(b==="BT")if(s.x<o.x)x=`M ${s.x} ${s.y} L ${v-f} ${s.y} ${p} ${v} ${s.y-d} L ${v} ${o.y+f} ${y} ${v+d} ${o.y} L ${o.x} ${o.y}`;else w=L.get(r.branch)?.index,x=`M ${s.x} ${s.y} L ${v+f} ${s.y} ${y} ${v} ${s.y-d} L ${v} ${o.y+f} ${p} ${v-d} ${o.y} L ${o.x} ${o.y}`;else if(s.y<o.y)x=`M ${s.x} ${s.y} L ${s.x} ${k-f} ${p} ${s.x+d} ${k} L ${o.x-f} ${k} ${y} ${o.x} ${k+d} L ${o.x} ${o.y}`;else w=L.get(r.branch)?.index,x=`M ${s.x} ${s.y} L ${s.x} ${k+f} ${y} ${s.x+d} ${k} L ${o.x-f} ${k} ${p} ${o.x} ${k-d} L ${o.x} ${o.y}`}else if(p="A 20 20, 0, 0, 0,",y="A 20 20, 0, 0, 1,",f=20,d=20,b==="TB"){if(s.x<o.x)if(a.type===B.MERGE&&r.id!==a.parents[0])x=`M ${s.x} ${s.y} L ${s.x} ${o.y-f} ${p} ${s.x+d} ${o.y} L ${o.x} ${o.y}`;else x=`M ${s.x} ${s.y} L ${o.x-f} ${s.y} ${y} ${o.x} ${s.y+d} L ${o.x} ${o.y}`;if(s.x>o.x)if(p="A 20 20, 0, 0, 0,",y="A 20 20, 0, 0, 1,",f=20,d=20,a.type===B.MERGE&&r.id!==a.parents[0])x=`M ${s.x} ${s.y} L ${s.x} ${o.y-f} ${y} ${s.x-d} ${o.y} L ${o.x} ${o.y}`;else x=`M ${s.x} ${s.y} L ${o.x+f} ${s.y} ${p} ${o.x} ${s.y+d} L ${o.x} ${o.y}`;if(s.x===o.x)x=`M ${s.x} ${s.y} L ${o.x} ${o.y}`}else if(b==="BT"){if(s.x<o.x)if(a.type===B.MERGE&&r.id!==a.parents[0])x=`M ${s.x} ${s.y} L ${s.x} ${o.y+f} ${y} ${s.x+d} ${o.y} L ${o.x} ${o.y}`;else x=`M ${s.x} ${s.y} L ${o.x-f} ${s.y} ${p} ${o.x} ${s.y-d} L ${o.x} ${o.y}`;if(s.x>o.x)if(p="A 20 20, 0, 0, 0,",y="A 20 20, 0, 0, 1,",f=20,d=20,a.type===B.MERGE&&r.id!==a.parents[0])x=`M ${s.x} ${s.y} L ${s.x} ${o.y+f} ${p} ${s.x-d} ${o.y} L ${o.x} ${o.y}`;else x=`M ${s.x} ${s.y} L ${o.x+f} ${s.y} ${y} ${o.x} ${s.y-d} L ${o.x} ${o.y}`;if(s.x===o.x)x=`M ${s.x} ${s.y} L ${o.x} ${o.y}`}else{if(s.y<o.y)if(a.type===B.MERGE&&r.id!==a.parents[0])x=`M ${s.x} ${s.y} L ${o.x-f} ${s.y} ${y} ${o.x} ${s.y+d} L ${o.x} ${o.y}`;else x=`M ${s.x} ${s.y} L ${s.x} ${o.y-f} ${p} ${s.x+d} ${o.y} L ${o.x} ${o.y}`;if(s.y>o.y)if(a.type===B.MERGE&&r.id!==a.parents[0])x=`M ${s.x} ${s.y} L ${o.x-f} ${s.y} ${p} ${o.x} ${s.y-d} L ${o.x} ${o.y}`;else x=`M ${s.x} ${s.y} L ${s.x} ${o.y+f} ${y} ${s.x+d} ${o.y} L ${o.x} ${o.y}`;if(s.y===o.y)x=`M ${s.x} ${s.y} L ${o.x} ${o.y}`}if(x===void 0)throw Error("Line definition not found");e.append("path").attr("d",x).attr("class","arrow arrow"+U(w,K,h))},"drawArrow"),ht=t((e,r)=>{let a=e.append("g").attr("class","commit-arrows");[...r.keys()].forEach((n)=>{let c=r.get(n);if(c.parents&&c.parents.length>0)c.parents.forEach((h)=>{dt(a,r.get(h),c,r)})})},"drawArrows"),lt=t((e,r,a,n)=>{let{look:c,theme:h,themeVariables:s}=u(),{dropShadow:o,THEME_COLOR_LIMIT:m}=s,p=ne.has(h??""),y=me.has(h??""),f=e.append("g");r.forEach((d,w)=>{let x=U(w,p?m:K,y),k=L.get(d.name)?.pos;if(k===void 0)throw Error(`Position not found for branch ${d.name}`);let v=b==="TB"||b==="BT"?k:p?k+he/2+1:k-2,E=f.append("line");if(E.attr("x1",0),E.attr("y1",v),E.attr("x2",z),E.attr("y2",v),E.attr("class","branch branch"+x),b==="TB")E.attr("y1",re),E.attr("x1",k),E.attr("y2",z),E.attr("x2",k);else if(b==="BT")E.attr("y1",z),E.attr("x1",k),E.attr("y2",re),E.attr("x2",k);oe.push(v);let ce=d.name,J=be(ce),G=f.insert("rect"),q=f.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+x);q.node().appendChild(J);let T=J.getBBox(),ge=p?0:4,te=p?16:0,X=p?he:0;if(c==="neo")G.attr("data-look","neo");if(G.attr("class","branchLabelBkg label"+x).attr("style",c==="neo"?`filter:${p?`url(#${n}-drop-shadow)`:o}`:"").attr("rx",ge).attr("ry",ge).attr("x",-T.width-4-(a.rotateCommitLabel===!0?30:0)).attr("y",-T.height/2+10).attr("width",T.width+18+te).attr("height",T.height+4+X),q.attr("transform","translate("+(-T.width-14-(a.rotateCommitLabel===!0?30:0)+te/2)+", "+(v-T.height/2-2)+")"),b==="TB"){if(G.attr("x",k-T.width/2-10).attr("y",0),q.attr("transform","translate("+(k-T.width/2-5)+", 0)"),p)G.attr("transform",`translate(${-te/2-3}, ${-X-10})`),q.attr("transform","translate("+(k-T.width/2-5)+", "+(-X*2+7)+")")}else if(b==="BT"){if(G.attr("x",k-T.width/2-10).attr("y",z),q.attr("transform","translate("+(k-T.width/2-5)+", "+z+")"),p)G.attr("transform",`translate(${-te/2-3}, ${X+10})`),q.attr("transform","translate("+(k-T.width/2-5)+", "+(z+X*2+4)+")")}else G.attr("transform","translate(-19, "+(v-12-X/2)+")")})},"drawBranches"),mt=t(function(e,r,a,n,c){return L.set(e,{pos:r,index:a}),r+=50+(c?40:0)+(b==="TB"||b==="BT"?n.width/2:0),r},"setBranchPosition"),gt=t(function(e,r,a,n){Ve(),i.debug("in gitgraph renderer",e+`
14
+ `,"id:",r,a);let c=n.db;if(!c.getConfig){i.error("getConfig method is not available on db");return}let h=c.getConfig(),s=h.rotateCommitLabel??!1;Q=c.getCommits();let o=c.getBranchesAsObjArray();b=c.getDirection();let m=g(`[id="${r}"]`),{look:p,theme:y,themeVariables:f}=u(),{useGradient:d,gradientStart:w,gradientStop:x,filterColor:k}=f;if(d){let E=m.append("defs").append("linearGradient").attr("id",r+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");E.append("stop").attr("offset","0%").attr("stop-color",w).attr("stop-opacity",1),E.append("stop").attr("offset","100%").attr("stop-color",x).attr("stop-opacity",1)}if(p==="neo"&&ne.has(y??""))m.append("defs").append("filter").attr("id",r+"-drop-shadow").attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",k);let v=0;if(o.forEach((E,ce)=>{let J=be(E.name),G=m.append("g"),ie=G.insert("g").attr("class","branchLabel"),q=ie.insert("g").attr("class","label branch-label");q.node()?.appendChild(J);let T=J.getBBox();v=mt(E.name,v,ce,T,s),q.remove(),ie.remove(),G.remove()}),$e(m,Q,!1,h),h.showBranches)lt(m,o,h,r);ht(m,Q),$e(m,Q,!0,h),H.insertTitle(m,"gitTitleText",h.titleTopMargin??0,c.getDiagramTitle()),Ka(void 0,m,h.diagramPadding,h.useMaxWidth)},"draw"),ft={draw:gt},Be=8,ke=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),$t=new Set(["redux-color","redux-dark-color"]),pt=new Set(["neo","neo-dark"]),yt=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),xt=new Set(["redux","redux-dark","redux-color","redux-dark-color","neo","neo-dark"]),ut=t((e)=>{let{svgId:r}=e,a="";if(e.useGradient&&r)for(let n=0;n<e.THEME_COLOR_LIMIT;n++)a+=`
15
+ .label${n} { fill: ${e.mainBkg}; stroke: url(${r}-gradient); stroke-width: ${e.strokeWidth};}
16
+ `;return a},"genGitGraphGradient"),bt=t((e)=>{let r=A(),{theme:a,themeVariables:n}=r,{borderColorArray:c}=n,h=ke.has(a);if(pt.has(a)){let s="";for(let o=0;o<e.THEME_COLOR_LIMIT;o++)if(o===0)s+=`
17
+ .branch-label${o} { fill: ${e.nodeBorder};}
18
+ .commit${o} { stroke: ${e.nodeBorder}; }
19
+ .commit-highlight${o} { stroke: ${e.nodeBorder}; fill: ${e.nodeBorder}; }
20
+ .arrow${o} { stroke: ${e.nodeBorder}; }
21
+ .commit-bullets { fill: ${e.nodeBorder}; }
22
+ .commit-cherry-pick${o} { stroke: ${e.nodeBorder}; }
23
+ ${ut(e)}`;else{let m=o%Be;s+=`
24
+ .branch-label${o} { fill: ${e["gitBranchLabel"+m]}; }
25
+ .commit${o} { stroke: ${e["git"+m]}; fill: ${e["git"+m]}; }
26
+ .commit-highlight${o} { stroke: ${e["gitInv"+m]}; fill: ${e["gitInv"+m]}; }
27
+ .arrow${o} { stroke: ${e["git"+m]}; }
28
+ `}return s}else if(!$t.has(a)){let s="";for(let o=0;o<e.THEME_COLOR_LIMIT;o++)s+=`
29
+ .branch-label${o} { fill: ${e.nodeBorder}; ${h?`font-weight:${e.noteFontWeight}`:""} }
30
+ .commit${o} { stroke: ${e.nodeBorder}; }
31
+ .commit-highlight${o} { stroke: ${e.nodeBorder}; fill: ${e.nodeBorder}; }
32
+ .label${o} { fill: ${e.mainBkg}; stroke: ${e.nodeBorder}; stroke-width: ${e.strokeWidth}; ${h?`font-weight:${e.noteFontWeight}`:""}}
33
+ .arrow${o} { stroke: ${e.nodeBorder}; }
34
+ .commit-bullets { fill: ${e.nodeBorder}; }
35
+ .commit-cherry-pick${o} { stroke: ${e.nodeBorder}; }
36
+ `;return s}else{let s="";for(let o=0;o<e.THEME_COLOR_LIMIT;o++)if(o===0)s+=`
37
+ .branch-label${o} { fill: ${e.nodeBorder}; ${h?`font-weight:${e.noteFontWeight}`:""} }
38
+ .commit${o} { stroke: ${e.nodeBorder}; }
39
+ .commit-highlight${o} { stroke: ${e.nodeBorder}; fill: ${e.mainBkg}; }
40
+ .label${o} { fill: ${e.mainBkg}; stroke: ${e.nodeBorder}; stroke-width: ${e.strokeWidth}; ${h?`font-weight:${e.noteFontWeight}`:""} }
41
+ .arrow${o} { stroke: ${e.nodeBorder}; }
42
+ .commit-bullets { fill: ${e.nodeBorder}; }
43
+ `;else{let m=o%c.length;s+=`
44
+ .branch-label${o} { fill: ${e.nodeBorder}; ${h?`font-weight:${e.noteFontWeight}`:""} }
45
+ .commit${o} { stroke: ${c[m]}; fill: ${c[m]}; }
46
+ .commit-highlight${o} { stroke: ${c[m]}; fill: ${c[m]}; }
47
+ .label${o} { fill: ${yt.has(a)?e.mainBkg:c[m]}; stroke: ${c[m]}; stroke-width: ${e.strokeWidth}; }
48
+ .arrow${o} { stroke: ${c[m]}; }
49
+ `}return s}},"genColor"),wt=t((e)=>`${Array.from({length:e.THEME_COLOR_LIMIT},(r,a)=>a).map((r)=>{let a=r%Be;return`
50
+ .branch-label${r} { fill: ${e["gitBranchLabel"+a]}; }
51
+ .commit${r} { stroke: ${e["git"+a]}; fill: ${e["git"+a]}; }
52
+ .commit-highlight${r} { stroke: ${e["gitInv"+a]}; fill: ${e["gitInv"+a]}; }
53
+ .label${r} { fill: ${e["git"+a]}; }
54
+ .arrow${r} { stroke: ${e["git"+a]}; }
55
+ `}).join(`
56
+ `)}`,"normalTheme"),Bt=t((e)=>{let r=A(),{theme:a}=r,n=xt.has(a);return`
57
+ .commit-id,
58
+ .commit-msg,
59
+ .branch-label {
60
+ fill: lightgrey;
61
+ color: lightgrey;
62
+ font-family: 'trebuchet ms', verdana, arial, sans-serif;
63
+ font-family: var(--mermaid-font-family);
64
+ }
65
+
66
+ ${n?bt(e):wt(e)}
67
+
68
+ .branch {
69
+ stroke-width: ${e.strokeWidth};
70
+ stroke: ${e.commitLineColor??e.lineColor};
71
+ stroke-dasharray: ${n?"4 2":"2"};
72
+ }
73
+ .commit-label { font-size: ${e.commitLabelFontSize}; fill: ${n?e.nodeBorder:e.commitLabelColor}; ${n?`font-weight:${e.noteFontWeight};`:""}}
74
+ .commit-label-bkg { font-size: ${e.commitLabelFontSize}; fill: ${n?"transparent":e.commitLabelBackground}; opacity: ${n?"":0.5}; }
75
+ .tag-label { font-size: ${e.tagLabelFontSize}; fill: ${e.tagLabelColor};}
76
+ .tag-label-bkg { fill: ${n?e.mainBkg:e.tagLabelBackground}; stroke: ${n?e.nodeBorder:e.tagLabelBorder}; ${n?`filter:${e.dropShadow}`:""} }
77
+ .tag-hole { fill: ${e.textColor}; }
78
+
79
+ .commit-merge {
80
+ stroke: ${n?e.mainBkg:e.primaryColor};
81
+ fill: ${n?e.mainBkg:e.primaryColor};
82
+ }
83
+ .commit-reverse {
84
+ stroke: ${n?e.mainBkg:e.primaryColor};
85
+ fill: ${n?e.mainBkg:e.primaryColor};
86
+ stroke-width: ${n?e.strokeWidth:3};
87
+ }
88
+ .commit-highlight-outer {
89
+ }
90
+ .commit-highlight-inner {
91
+ stroke: ${n?e.mainBkg:e.primaryColor};
92
+ fill: ${n?e.mainBkg:e.primaryColor};
93
+ }
94
+
95
+ .arrow {
96
+ /* Intentional: neo themes keep the bold 8px arrow (like classic themes); only redux-geometry themes use the thinner options.strokeWidth. */
97
+ stroke-width: ${ke.has(a)?e.strokeWidth:8};
98
+ stroke-linecap: round;
99
+ fill: none
100
+ }
101
+ .gitTitleText {
102
+ text-anchor: middle;
103
+ font-size: 18px;
104
+ fill: ${e.textColor};
105
+ }
106
+ `},"getStyles"),kt=Bt,Ot={parser:Ke,db:ue,renderer:ft,styles:kt};export{Ot as diagram};
Binary file
Binary file
@@ -0,0 +1,2 @@
1
+ import{t,aa,g,ua}from"./chunk-rmzb9edh.js";import{Qe}from"./chunk-ws8rv0tb.js";var o=Qe(ua(),1);var hr=t((s,e)=>{let r=s.append("rect");if(r.attr("x",e.x),r.attr("y",e.y),r.attr("fill",e.fill),r.attr("stroke",e.stroke),r.attr("width",e.width),r.attr("height",e.height),e.name)r.attr("name",e.name);if(e.rx)r.attr("rx",e.rx);if(e.ry)r.attr("ry",e.ry);if(e.attrs!==void 0)for(let a in e.attrs)r.attr(a,e.attrs[a]);if(e.class)r.attr("class",e.class);return r},"drawRect"),Ei=t((s,e)=>{let r={x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"};hr(s,r).lower()},"drawBackgroundRect"),mc=t((s,e)=>{let r=e.text.replace(aa," "),a=s.append("text");if(a.attr("x",e.x),a.attr("y",e.y),a.attr("class","legend"),a.style("text-anchor",e.anchor),e.class)a.attr("class",e.class);let i=a.append("tspan");return i.attr("x",e.x+e.textMargin*2),i.text(r),a},"drawText"),no=t((s,e,r,a)=>{let i=s.append("image");i.attr("x",e),i.attr("y",r);let n=o.sanitizeUrl(a);i.attr("xlink:href",n)},"drawImage"),ro=t((s,e,r,a)=>{let i=s.append("use");i.attr("x",e),i.attr("y",r);let n=o.sanitizeUrl(a);i.attr("xlink:href",`#${n}`)},"drawEmbeddedImage"),qt=t(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),ao=t(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),On=t(()=>{let s=g(".mermaidTooltip");if(s.empty())s=g("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100");return s},"createTooltip");
2
+ export{hr,Ei,mc,no,ro,qt,ao,On};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{Os}from"./chunk-aqz2exas.js";export{Os as createPacketServices};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{Cs}from"./chunk-r9m8jh7x.js";import"./chunk-6ycpdpfj.js";export{Cs as default};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{ks}from"./chunk-j8m3c1s4.js";import"./chunk-v890rh1e.js";import"./chunk-6ycpdpfj.js";export{ks as default};
Binary file
Binary file
@@ -0,0 +1,200 @@
1
+ import{t,i,Ie,st,C,N,M,P,R,I,O,D,u,vr,Hr,g,Wt,Yt,H,Ct,De,Ne,Me,Dt,oi,He,Ue}from"./chunk-rmzb9edh.js";import{On}from"./chunk-z2aazpzj.js";import{Tt}from"./chunk-m1009k4x.js";import{$n}from"./chunk-cgm44rx8.js";import{ze}from"./chunk-def5mk0w.js";import{Pe}from"./chunk-kyj99nqq.js";var Et={SHAPE_UNSUPPORTED:"SHAPE_UNSUPPORTED",SHAPE_REMOVED:"SHAPE_REMOVED",EDGE_OPERATOR_UNSUPPORTED:"EDGE_OPERATOR_UNSUPPORTED",REFERENCE_EDGE_LABEL_REJECTED:"REFERENCE_EDGE_LABEL_REJECTED",CONNECTOR_REF_UNRESOLVED:"CONNECTOR_REF_UNRESOLVED",CONNECTOR_REF_NOT_A_CONNECTOR:"CONNECTOR_REF_NOT_A_CONNECTOR",METADATA_KEY_MISAPPLIED:"METADATA_KEY_MISAPPLIED",DUPLICATE_ID_NODE:"DUPLICATE_ID_NODE",RESERVED_SYNTHETIC_ID:"RESERVED_SYNTHETIC_ID",CONTAINMENT_VIOLATION:"CONTAINMENT_VIOLATION",EDGE_SEMANTIC_CONTRADICTION:"EDGE_SEMANTIC_CONTRADICTION",FLOW_NO_INPUT:"FLOW_NO_INPUT"},P1=new Set([Et.SHAPE_UNSUPPORTED,Et.SHAPE_REMOVED,Et.CONTAINMENT_VIOLATION]),xs=new Set(Object.values(Et).filter((e)=>!P1.has(e))),G1=new Map([["task","roundedRect"],["tool","subroutine"],["input","lean-right"],["decision","diamond"],["refdoc","lin-doc"],["action","hexagon"],["round","rect"]]),U1=new Set(["doc","stadium","terminal","circle","trapezoid","inv_trapezoid","inv-trapezoid","doublecircle","double-circle","typeDeclaration","procs","lean_left","lean-left","in-out","cylinder","ellipse","odd","tag-rect","tagged-rectangle","delay","half-rounded-rectangle","lin-rect","lined-rectangle","win-pane","window-pane","curv-trap","curved-trapezoid"]),j1=new Set(["roundedRect","subroutine","subprocess","subproc","framed-rectangle","lean-right","diamond","lin-doc","lined-document","hexagon","hex","connector","collapsedGroup"]),mt="roundedRect";function At(e){if(!e)return e;return G1.get(e)??e}t(At,"resolveShapeAlias");function D1(e,n){for(let a of e){if(a.isGroup)continue;if(!a.shape||a.shape==="squareRect"||a.shape==="rect")a.shape=mt;if(U1.has(a.shape)){let o=`shape "${a.shape}" was removed in v0.8.1, using "${mt}"`;if(n?.emitError)n.emitError("SHAPE_REMOVED",o,{nodeId:a.id});else i.warn(`agentflow: ${o}`);a.shape=mt;continue}if(!j1.has(a.shape)){let o=`shape "${a.shape}" is not supported, using "${mt}"`;if(n?.emitWarning)n.emitWarning("SHAPE_UNSUPPORTED",o,{nodeId:a.id});else i.warn(`agentflow: ${o}`);a.shape=mt}}}t(D1,"normaliseNodeShapes");var t1=new Map([["tool",0],["task",1],["decision",2],["input",3],["refdoc",4],["connector",5],["action",6]]),_1=t1.size,v1=t((e)=>`af-kind-${e}`,"kindClass"),z1=[...t1.keys()],F1=t((e)=>Math.max(1,e-_1),"containerSlotCount"),V1=t((e,n)=>{let a=_1+e%F1(n);return n>0?a%n:a},"containerSlot");function I1(e,n,a){let o=u().themeVariables?.borderColorArray,d=Array.isArray(o)?o.length:0,h=a.size;for(let l of e??[]){if(l.isGroup||l.shape==="collapsedGroup"){let m=a.get(String(l.id))??h++;l.colorIndex=V1(m,d);continue}let p=n(String(l.id));if(p&&t1.has(p))l.cssClasses=`${l.cssClasses??""} ${v1(p)}`.replace(/\s+/g," ").trim()}}t(I1,"assignColorSlots");var T1="agentflow-",u1=new Set(["shape","view","icon","img","form","pos","w","h","class","style","labelType"]),W1=new Set(["subroutine","subprocess","subproc","framed-rectangle","tool"]),K1={flow:"flowGroup"};function e1(e){if(Array.isArray(e))return e.map((a)=>e1(a));if(e===null||typeof e!=="object")return e;let n={};for(let a of Object.keys(e)){if(a==="__proto__"||a==="constructor"||a==="prototype")continue;n[a]=e1(e[a])}return n}t(e1,"stripPrototypeKeys");function L1(e){let n=!1,a=!1,o=0,d,h=[];for(let l of e.split(`
2
+ `)){if(d!==void 0){let A=l.length-l.trimStart().length;if(l.trim()===""||A>d){h.push(l);continue}d=void 0}let p=-1;for(let A=0;A<l.length;A++){let S=l[A];if(a){if(S==="\\")A++;else if(S==='"')a=!1}else if(n){if(S==="'")n=!1}else if(S==='"')a=!0;else if(S==="'")n=!0;else if(S==="#"&&(A===0||l[A-1]===" "||l[A-1]==="\t")){p=A;break}else if(S==="["||S==="{")o++;else if(S==="]"||S==="}")o=Math.max(0,o-1)}if(n||a||o>0){h.push(l);continue}let m=p>=0?l.slice(0,p):l,k=p>=0?l.slice(p):"";if(/:\s*[>|][\d+-]*\s*$/.test(m)){d=l.length-l.trimStart().length,h.push(l);continue}h.push(m.replace(/,([\t ]*)$/,"$1")+k)}return h.join(`
3
+ `)}t(L1,"stripLineTrailingCommas");var H1=class{constructor(){this.vertexCounter=0,this.config=u(),this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.globalNodes=new Set,this.connectors=new Map,this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.diagramId="",this.preserveCommentsWhenParsing=!0,this.frontmatterLineOffset=0,this.elementMappings=[],this.bareVertexMappings=new WeakSet,this.diagnostics=[],this.postParseValidationRun=!1,this.funs=[],this.setAccTitle=M,this.setAccDescription=R,this.setDiagramTitle=O,this.getAccTitle=P,this.getAccDescription=I,this.getDiagramTitle=D,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addGlobal=this.addGlobal.bind(this),this.addConnector=this.addConnector.bind(this),this.addConnectorMapping=this.addConnectorMapping.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.setFrontmatterLineOffset=this.setFrontmatterLineOffset.bind(this),this.addVertexMapping=this.addVertexMapping.bind(this),this.extendVertexMapping=this.extendVertexMapping.bind(this),this.addEdgeMapping=this.addEdgeMapping.bind(this),this.addSubgraphMapping=this.addSubgraphMapping.bind(this),this.emitWarning=this.emitWarning.bind(this),this.emitError=this.emitError.bind(this),this.getDiagnostics=this.getDiagnostics.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}static{t(this,"AgentFlowDB")}sanitizeText(e){return C.sanitizeText(e,this.config)}sanitizeNodeLabelType(e){switch(e){case"markdown":case"string":case"text":return e;default:return"markdown"}}setDiagramId(e){this.diagramId=e}lookUpDomId(e){for(let n of this.vertices.values())if(n.id===e)return this.diagramId?`${this.diagramId}-${n.domId}`:n.domId;return this.diagramId?`${this.diagramId}-${e}`:e}addVertex(e,n,a,o,d,h,l={},p,m){if(!e||e.trim().length===0)return;let k;if(p!==void 0){let E;if(!p.includes(`
4
+ `))E=`{
5
+ `+p+`
6
+ }`;else E=p+`
7
+ `;try{k=Yt(E,{schema:Wt})??{}}catch(f){let b=p.includes(`
8
+ `)?L1(p):p;if(b!==p)try{k=Yt(b+`
9
+ `,{schema:Wt})??{}}catch{this.rethrowMetadataYamlError(f,p,m)}else this.rethrowMetadataYamlError(f,p,m)}k=e1(k)}let A;if(k&&typeof k.shape==="string"){let E=k;A=E.shape;let f=At(A);if(f&&f!==A)E.shape=f}let S=this.subGraphLookup.get(e);if(S&&k){S.metadata={...S.metadata,...k};return}let y=this.connectors.get(e);if(y&&k){y.metadata={...y.metadata,...k};return}if(e==="connectors")return;let v=this.edges.find((E)=>E.id===e);if(v){let E=k;if(E?.animate!==void 0)v.animate=E.animate;if(E?.animation!==void 0)v.animation=E.animation;if(E?.curve!==void 0)v.interpolate=E.curve;if(k)v.metadata={...v.metadata,...k};return}let z,V=this.vertices.get(e);if(V===void 0)V={id:e,labelType:"text",domId:T1+e+"-"+this.vertexCounter,styles:[],classes:[]},this.vertices.set(e,V);if(this.vertexCounter++,n!==void 0){if(this.config=u(),z=this.sanitizeText(n.text.trim()),V.labelType=n.type,z.startsWith('"')&&z.endsWith('"'))z=z.substring(1,z.length-1);V.text=z}else if(V.text===void 0)V.text=e;if(a!==void 0)V.type=a;if(o!==void 0&&o!==null)o.forEach((E)=>{V.styles.push(E)});if(d!==void 0&&d!==null)d.forEach((E)=>{V.classes.push(E)});if(h!==void 0)V.dir=h;if(V.props===void 0)V.props=l;else if(l!==void 0)Object.assign(V.props,l);if(k){if(V.metadata={...V.metadata,...k},k.shape){let E=A??k.shape;if(typeof E!=="string")throw this.positionedShapeError(`No such shape: ${JSON.stringify(E)}.`,m);if(E!==E.toLowerCase()||E.includes("_"))throw this.positionedShapeError(`No such shape: ${E}. Shape names should be lowercase.`,m);else if(!oi(k.shape))throw this.positionedShapeError(`No such shape: ${k.shape}.`,m);V.type=k?.shape}if(k?.label)V.text=this.sanitizeText(k.label),V.labelType=this.sanitizeNodeLabelType(k?.labelType)}}positionedShapeError(e,n){let a=Error(e);if(!n)return a;let o=n.first_line+this.frontmatterLineOffset;return Object.assign(a,{hash:{text:"",token:null,line:o-1,loc:{first_line:o,last_line:n.last_line+this.frontmatterLineOffset,first_column:n.first_column,last_column:n.last_column},expected:[]}}),a}rethrowMetadataYamlError(e,n,a){let o=e;if(!o||o.name!=="YAMLException"||!o.mark||!a)throw e;let d;try{let h=!n.includes(`
10
+ `),l=h?`{
11
+ `+n+`
12
+ }`:n+`
13
+ `,p=a.first_line+this.frontmatterLineOffset,m=a.first_column+2,k=t((E,f)=>{if(h)return{line:p,column:m+(E===1?f:0)};return{line:p+E,column:E===0?m+f:f}},"toSource"),A=k(o.mark.line,o.mark.column),S=o.reason??(o.message??"").split(`
14
+ `)[0].replace(/\s*\(\d+:\d+\)\s*$/,""),y=l.split(`
15
+ `),v=[];if(h)v.push(1);else for(let E=o.mark.line-1;E<=o.mark.line+1;E++){if(E<0||E>=y.length)continue;if(E===y.length-1&&y[E]===""&&E!==o.mark.line)continue;v.push(E)}let z=Math.max(...v.map((E)=>String(k(E,0).line).length)),V=[];for(let E of v){let f=k(E,0).line,b=` ${String(f).padStart(z)} | `;if(V.push(b+y[E].replace(/\t/g,"→")),E===o.mark.line)V.push("-".repeat(b.length+o.mark.column)+"^")}d={message:`${S} (${A.line}:${A.column+1})
16
+
17
+ ${V.join(`
18
+ `)}`,markLine:A.line-1,markColumn:A.column,hash:{text:"",token:null,line:A.line-1,loc:{first_line:A.line,last_line:A.line,first_column:A.column,last_column:A.column+1},expected:[]}}}catch{}if(d)o.message=d.message,o.mark.line=d.markLine,o.mark.column=d.markColumn,o.hash=d.hash;throw o}addSingleLink(e,n,a,o){let l={start:e,end:n,type:void 0,text:"",labelType:"text",classes:[],isUserDefinedId:!1,interpolate:this.edges.defaultInterpolate};i.info("abc78 Got edge...",l);let p=a.text;if(p!==void 0){if(l.text=this.sanitizeText(p.text.trim()),l.text.startsWith('"')&&l.text.endsWith('"'))l.text=l.text.substring(1,l.text.length-1);l.labelType=this.sanitizeNodeLabelType(p.type)}if(a!==void 0){if(l.type=a.type,l.stroke=a.stroke,l.length=a.length>10?10:a.length,a.edgeSemantic)l.edgeSemantic=a.edgeSemantic}if(o&&!this.edges.some((m)=>m.id===o))l.id=o,l.isUserDefinedId=!0;else{let m=this.edges.filter((k)=>k.start===l.start&&k.end===l.end);if(m.length===0)l.id=Ct(l.start,l.end,{counter:0,prefix:"L"});else l.id=Ct(l.start,l.end,{counter:m.length+1,prefix:"L"})}if(this.edges.length<(this.config.maxEdges??500))i.info("Pushing edge..."),this.edges.push(l);else throw Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
19
+
20
+ Initialize mermaid with maxEdges set to a higher number to allow more edges.
21
+ You cannot set this config via configuration inside the diagram as it is a secure config.
22
+ You have to call mermaid.initialize.`)}isLinkData(e){return e!==null&&typeof e==="object"&&"id"in e&&typeof e.id==="string"}addLink(e,n,a){let o=this.isLinkData(a)?a.id.replace("@",""):void 0;i.info("addLink",e,n,o);for(let d of e)for(let h of n){let l=d===e[e.length-1],p=h===n[0];if(l&&p)this.addSingleLink(d,h,a,o);else this.addSingleLink(d,h,a,void 0)}}updateLinkInterpolate(e,n){e.forEach((a)=>{if(a==="default"){this.edges.defaultInterpolate=n;return}if(typeof a==="number"&&a>=this.edges.length)throw Error(`The index ${a} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);this.edges[a].interpolate=n})}updateLink(e,n){e.forEach((a)=>{if(typeof a==="number"&&a>=this.edges.length)throw Error(`The index ${a} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);if(a==="default")this.edges.defaultStyle=n;else if(this.edges[a].style=n,(this.edges[a]?.style?.length??0)>0&&!this.edges[a]?.style?.some((o)=>o?.startsWith("fill")))this.edges[a]?.style?.push("fill:none")})}addClass(e,n){let a=n.join().replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");e.split(",").forEach((o)=>{let d=this.classes.get(o);if(d===void 0)d={id:o,styles:[],textStyles:[]},this.classes.set(o,d);if(a!==void 0&&a!==null)a.forEach((h)=>{if(/color/.exec(h)){let l=h.replace("fill","bgFill");d.textStyles.push(l)}d.styles.push(h)})})}setDirection(e){if(this.direction=e.trim(),/.*</.exec(this.direction))this.direction="RL";if(/.*\^/.exec(this.direction))this.direction="BT";if(/.*>/.exec(this.direction))this.direction="LR";if(/.*v/.exec(this.direction))this.direction="TB";if(this.direction==="TD")this.direction="TB"}setClass(e,n){for(let a of e.split(",")){let o=this.vertices.get(a);if(o)o.classes.push(n);let d=this.edges.find((l)=>l.id===a);if(d)d.classes.push(n);let h=this.subGraphLookup.get(a);if(h)h.classes.push(n)}}setTooltip(e,n){if(n===void 0)return;n=this.sanitizeText(n);for(let a of e.split(","))this.tooltips.set(this.version==="gen-1"?this.lookUpDomId(a):a,n)}setClickFun(e,n,a){if(u().securityLevel!=="loose")return;if(n===void 0)return;let o=[];if(typeof a==="string"){o=a.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let h=0;h<o.length;h++){let l=o[h].trim();if(l.startsWith('"')&&l.endsWith('"'))l=l.substr(1,l.length-2);o[h]=l}}if(o.length===0)o.push(e);let d=this.vertices.get(e);if(d)d.haveCallback=!0,this.funs.push(()=>{let h=this.lookUpDomId(e),l=document.querySelector(`[id="${h}"]`);if(l!==null)l.addEventListener("click",()=>{H.runFunc(n,...o)},!1)})}setLink(e,n,a){e.split(",").forEach((o)=>{let d=this.vertices.get(o);if(d!==void 0)d.link=H.formatUrl(n,this.config),d.linkTarget=a}),this.setClass(e,"clickable")}getTooltip(e){return this.tooltips.get(e)}setClickEvent(e,n,a){e.split(",").forEach((o)=>{this.setClickFun(o,n,a)}),this.setClass(e,"clickable")}bindFunctions(e){this.funs.forEach((n)=>{n(e)})}getDirection(){return this.direction?.trim()}getVertices(){return this.vertices}getEdges(){return this.edges}isToolDefinition(e){return W1.has(e.type)}getTools(){let e=[];for(let n of this.vertices.values())if(this.isToolDefinition(n))e.push(n);return e}getClasses(){return this.classes}setupToolTips(e){let n=On();g(e).select("svg").selectAll("g.node").on("mouseover",(d)=>{let h=g(d.currentTarget),l=h.attr("title");if(l===null)return;let p=d.currentTarget?.getBoundingClientRect();n.transition().duration(200).style("opacity",".9"),n.text(h.attr("title")).style("left",window.scrollX+p.left+(p.right-p.left)/2+"px").style("top",window.scrollY+p.bottom+"px"),n.html(st.sanitize(l)),h.classed("hover",!0)}).on("mouseout",(d)=>{n.transition().duration(500).style("opacity",0),g(d.currentTarget).classed("hover",!1)})}clear(e="gen-2"){this.vertices=new Map,this.classes=new Map,this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.subGraphs=[],this.subGraphLookup=new Map,this.globalNodes=new Set,this.connectors=new Map,this.subCount=0,this.tooltips=new Map,this.firstGraphFlag=!0,this.version=e,this.config=u(),this.diagramId="",this.vertexCounter=0,this.direction=void 0,this.secCount=-1,this.posCrossRef=[],this.frontmatterLineOffset=0,this.elementMappings=[],this.bareVertexMappings=new WeakSet,this.diagnostics=[],this.postParseValidationRun=!1,N()}setGen(e){this.version=e||"gen-2"}defaultStyle(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"}addSubGraph(e,n,a,o){let d=e?.text?.trim(),h=a?.text;if(e===a&&a?.text&&/\s/.exec(a.text))d=void 0;let p=t((v)=>{let z={boolean:{},number:{},string:{}},V=[],E;return{nodeList:v.filter(function(b){let F=typeof b;if(b.stmt&&b.stmt==="dir")return E=b.value,!1;if(b.trim()==="")return!1;if(F in z)return z[F].hasOwnProperty(b)?!1:z[F][b]=!0;else return V.includes(b)?!1:V.push(b)}),dir:E}},"uniq")(n.flat()),{nodeList:m,dir:k}=p,A=u().flowchart??{};if(k=k??(A.inheritDir?this.getDirection()??u().direction??void 0:void 0),this.version==="gen-1")for(let v=0;v<m.length;v++)m[v]=this.lookUpDomId(m[v]);d=d??"subGraph"+this.subCount,h=h||"",h=this.sanitizeText(h),this.subCount=this.subCount+1;let S={id:d,nodes:m.filter((v)=>v!==d&&!this.globalNodes.has(v)),title:h.trim(),classes:[],dir:k,labelType:this.sanitizeNodeLabelType(a?.type),type:o??"flow"};i.info("Adding",S.id,S.nodes,S.dir),S.nodes=this.makeUniq(S,this.subGraphs).nodes;let y=this.getPosForId(d);if(y!==-1){let v=this.subGraphs[y];for(let z of S.nodes)if(!v.nodes.includes(z))v.nodes.push(z);if(S.title)v.title=S.title;if(S.dir)v.dir=S.dir;if(S.type)v.type=S.type;this.subGraphLookup.set(d,v)}else this.subGraphs.push(S),this.subGraphLookup.set(d,S);return d}addGlobal(e){for(let n of e.flat()){if(typeof n!=="string")continue;let a=n.trim();if(a!=="")this.globalNodes.add(a)}for(let n of this.subGraphs)n.nodes=n.nodes.filter((a)=>!this.globalNodes.has(a))}getPosForId(e){for(let[n,a]of this.subGraphs.entries())if(a.id===e)return n;return-1}indexNodes2(e,n){let a=this.subGraphs[n].nodes;if(this.secCount=this.secCount+1,this.secCount>2000)return{result:!1,count:0};if(this.posCrossRef[this.secCount]=n,this.subGraphs[n].id===e)return{result:!0,count:0};let o=0,d=1;while(o<a.length){let h=this.getPosForId(a[o]);if(h>=0){let l=this.indexNodes2(e,h);if(l.result)return{result:!0,count:d+l.count};else d=d+l.count}o=o+1}return{result:!1,count:d}}getDepthFirstPos(e){return this.posCrossRef[e]}indexNodes(){if(this.secCount=-1,this.subGraphs.length>0)this.indexNodes2("none",this.subGraphs.length-1)}addConnector(e,n){let a=e?.text?.trim();if(!a)return"";let o=n?.text?.trim()??"",d=o.length>0?this.sanitizeText(o):a,h=this.connectors.get(a);if(!h)h={id:a,labelType:"text",domId:T1+a+"-"+this.vertexCounter,styles:[],classes:[],isConnector:!0,text:d},this.connectors.set(a,h),this.vertices.set(a,h),this.vertexCounter++;else if(o.length>0)h.text=d;return a}getSubGraphs(){return this.subGraphs}getConnectors(){return[...this.connectors.values()]}firstGraph(){if(this.firstGraphFlag)return this.firstGraphFlag=!1,!0;return!1}computeEdgeSemantic(e,n){if(e==="arrow_point"&&n==="normal")return"sequence";if(e==="arrow_cross"&&n==="normal")return"failure";if(e==="arrow_open"&&n==="dotted")return"reference";return}destructStartLink(e){let n=e.trim(),a="arrow_open",o="normal";if(n.includes("."))o="dotted";return{type:"arrow_open",stroke:o}}countChar(e,n){let a=n.length,o=0;for(let d=0;d<a;++d)if(n[d]===e)++o;return o}destructEndLink(e){let n=e.trim(),a=n.slice(0,-1),o="arrow_open";switch(n.slice(-1)){case"x":o="arrow_cross";break;case">":o="arrow_point";break;case"-":case".":o="arrow_open",a=n;break}let d="normal",h=a.length-1,l=this.countChar(".",a);if(l>0)d="dotted",h=l;return{type:o,stroke:d,length:h}}destructLink(e,n){let a=this.destructEndLink(e),o;if(n){if(o=this.destructStartLink(n),o.stroke!==a.stroke)return{type:"INVALID",stroke:"INVALID"};return o.type=a.type,o.length=a.length,{...o,edgeSemantic:this.computeEdgeSemantic(o.type,o.stroke)}}return{...a,edgeSemantic:this.computeEdgeSemantic(a.type,a.stroke)}}exists(e,n){for(let a of e)if(a.nodes.includes(n))return!0;return!1}makeUniq(e,n){let a=[];return e.nodes.forEach((o,d)=>{if(!this.exists(n,o))a.push(e.nodes[d])}),{nodes:a}}getTypeFromVertex(e){let n=typeof e.type==="string"?At(e.type):e.type;switch(n){case"square":case void 0:return"squareRect";case"round":return"roundedRect";case"ellipse":return"ellipse";default:return n}}findNode(e,n){return e.find((a)=>a.id===n)}destructEdgeType(e){let n="none",a="arrow_point";switch(e){case"arrow_point":case"arrow_circle":case"arrow_cross":case"arrow_hierarchy":a=e;break;case"double_arrow_point":case"double_arrow_circle":case"double_arrow_cross":n=e.replace("double_",""),a=n;break}return{arrowTypeStart:n,arrowTypeEnd:a}}addNodeFromVertex(e,n,a,o,d,h){let l=a.get(e.id),p=o.get(e.id)??!1,m=this.findNode(n,e.id);if(m)m.cssStyles=e.styles,m.cssCompiledStyles=this.getCompiledStyles(e.classes),m.cssClasses=e.classes.join(" ");else{let k={id:e.id,label:e.text,labelType:e.labelType,labelStyle:"",parentId:l,padding:d.flowchart?.padding||8,cssStyles:e.styles,cssCompiledStyles:this.getCompiledStyles(["default","node",...e.classes]),cssClasses:"default "+e.classes.join(" "),dir:e.dir,domId:e.domId,look:h,link:e.link,linkTarget:e.linkTarget,tooltip:this.getTooltip(e.id),metadata:e.metadata};if(p)n.push({...k,isGroup:!0,shape:"rect"});else n.push({...k,isGroup:!1,shape:this.getTypeFromVertex(e),wrappingWidth:d.agentflow?.wrappingWidth,minWidth:d.agentflow?.minNodeWidth})}}getCompiledStyles(e){let n=[];for(let a of e){let o=this.classes.get(a);if(o?.styles)n=[...n,...o.styles??[]].map((d)=>d.trim());if(o?.textStyles)n=[...n,...o.textStyles??[]].map((d)=>d.trim())}return n}runPostParseValidators(){if(this.postParseValidationRun)return;this.postParseValidationRun=!0}getData(){this.runPostParseValidators();let e=u(),n=[],a=[],o=this.getSubGraphs(),d=new Map,h=new Map,l=new Set,p=new Map,m=t((f,b,F=new Set)=>{if(F.has(f))return;F.add(f);let q=this.subGraphLookup.get(f);if(!q)return;for(let fe of q.nodes){if(fe===b||F.has(fe))continue;l.add(fe),p.set(fe,b),m(fe,b,F)}},"collectDescendants");for(let f of o)if(f.metadata?.view==="collapsed"&&!l.has(f.id))m(f.id,f.id);let k=t((f,b)=>{let F=new Set,q=b;while(q!==void 0&&!F.has(q)){if(q===f)return!0;F.add(q),q=d.get(q)}return!1},"wouldCloseContainmentCycle");for(let f=o.length-1;f>=0;f--){let b=o[f];if(l.has(b.id))continue;if(b.nodes.length>0)h.set(b.id,!0);for(let F of b.nodes){if(k(F,b.id)){this.emitWarning(Et.CONTAINMENT_VIOLATION,`Container "${b.id}" cannot contain "${F}" because "${F}" already contains it. The nesting that would close the loop is dropped.`,{nodeId:F});continue}d.set(F,b.id)}}for(let f=o.length-1;f>=0;f--){let b=o[f];if(l.has(b.id))continue;if(b.metadata?.view==="collapsed"){let q={...b.metadata,containerType:b.type};n.push({id:b.id,label:b.title,labelStyle:"",labelType:b.labelType,parentId:d.get(b.id),padding:8,cssCompiledStyles:this.getCompiledStyles(b.classes),cssClasses:b.classes.join(" "),shape:"collapsedGroup",dir:b.dir,isGroup:!1,look:e.look,metadata:q})}else n.push({id:b.id,label:b.title,labelStyle:"",labelType:b.labelType,parentId:d.get(b.id),padding:8,cssCompiledStyles:this.getCompiledStyles(b.classes),cssClasses:b.classes.join(" "),shape:K1[b.type??"flow"],dir:b.dir,isGroup:!0,look:e.look,metadata:b.metadata})}this.getVertices().forEach((f)=>{if(l.has(f.id))return;this.addNodeFromVertex(f,n,d,h,e,e.look||"classic")});let S=this.getEdges();S.forEach((f,b)=>{let F=p.get(f.start)??f.start,q=p.get(f.end)??f.end;if(F===q&&f.start!==f.end)return;let{arrowTypeStart:fe,arrowTypeEnd:Se}=this.destructEdgeType(f.type),Ee=[...S.defaultStyle??[]];if(f.style)Ee.push(...f.style);let xe={id:Ct(F,q,{counter:b,prefix:"L"},f.id),isUserDefinedId:f.isUserDefinedId,start:F,end:q,type:f.type??"normal",label:f.text,labelType:f.labelType,labelpos:"c",thickness:f.stroke,minlen:f.length,classes:f?.stroke==="invisible"?"":"edge-thickness-normal edge-pattern-solid flowchart-link",arrowTypeStart:f?.stroke==="invisible"||f?.type==="arrow_open"?"none":fe,arrowTypeEnd:f?.stroke==="invisible"||f?.type==="arrow_open"?"none":Se,arrowheadStyle:"fill: #333",cssCompiledStyles:this.getCompiledStyles(f.classes),labelStyle:Ee,style:Ee,pattern:f.stroke,look:e.look,animate:f.animate,animation:f.animation,curve:f.interpolate||this.edges.defaultInterpolate||e.flowchart?.curve,metadata:f.metadata};a.push(xe)}),D1(n,this);let y=new Map,v=new Map;for(let f of o){let b=d.get(f.id);if(b!==void 0)v.set(b,[...v.get(b)??[],f.id])}let z=0,V=t((f)=>{if(y.has(f))return;y.set(f,z++);for(let b of v.get(f)??[])V(b)},"walkContainers");for(let f of o)if(d.get(f.id)===void 0)V(f.id);let E=new Set(this.getConnectors().map((f)=>f.id));return I1(n,(f)=>{if(E.has(f))return"connector";let b=this.vertices.get(f);return b?this.deriveVertexKind(b,At(b.type)):void 0},y),{nodes:n,edges:a,other:{},config:e,connectors:this.getConnectors()}}defaultConfig(){return Hr.flowchart}deriveVertexKind(e,n){if(this.isToolDefinition(e))return"tool";if(n==="hexagon"||n==="hex")return"action";if(n==="lean-right"||n==="lean_right")return"input";if(n==="lin-doc"||n==="lined-document")return"refdoc";if(n==="diamond")return"decision";return"task"}getSemanticModel(){this.runPostParseValidators();let e=new Set(this.subGraphs.map((l)=>l.id)),n=[],a=[];for(let[l,p]of this.vertices){if(e.has(l))continue;if(p.isConnector){let A={id:l};if(p.text!==void 0&&p.text!==l)A.title=p.text;if(p.metadata&&Object.keys(p.metadata).length>0){let S={};for(let[y,v]of Object.entries(p.metadata)){if(u1.has(y))continue;S[y]=v}if(Object.keys(S).length>0)A.metadata=S}a.push(A);continue}let m={id:l};if(p.text!==void 0)m.label=p.text;let k=typeof p.type==="string"?At(p.type):p.type;if(k!==void 0)m.shape=k;if(m.vertexKind=this.deriveVertexKind(p,k),p.metadata&&Object.keys(p.metadata).length>0){let A={};for(let[S,y]of Object.entries(p.metadata)){if(u1.has(S))continue;A[S]=y}if(Object.keys(A).length>0)m.metadata=A}n.push(m)}let o=this.edges.map((l)=>{let p={start:l.start,end:l.end};if(l.id!==void 0)p.id=l.id;if(typeof l.text==="string"&&l.text.length>0)p.label=l.text;if(l.type!==void 0)p.type=l.type;if(l.stroke!==void 0)p.stroke=l.stroke;if(l.edgeSemantic!==void 0)p.edgeSemantic=l.edgeSemantic;if(l.length!==void 0)p.length=l.length;if(l.metadata&&Object.keys(l.metadata).length>0)p.metadata={...l.metadata};return p}),d=this.subGraphs.map((l)=>{let p={id:l.id,nodes:[...l.nodes]};if(l.type!==void 0)p.type=l.type;if(l.title!==void 0)p.title=l.title;if(l.dir!==void 0)p.direction=l.dir;if(l.metadata&&Object.keys(l.metadata).length>0){let m={};for(let[k,A]of Object.entries(l.metadata)){if(u1.has(k))continue;m[k]=A}if(Object.keys(m).length>0)p.metadata=m}return p}),h={vertices:n,edges:o,subGraphs:d,connectors:a,diagnostics:this.diagnostics};if(this.direction!==void 0)h.direction=this.direction;return h}setFrontmatterLineOffset(e){this.frontmatterLineOffset=e??0}toElementPosition(e){let n=e?.first_line??0,a=e?.first_column??0,o=e?.last_line??n,d=e?.last_column??a,[h,l]=e?.range??[0,0];return{startLine:n+this.frontmatterLineOffset,startColumn:a,endLine:o+this.frontmatterLineOffset,endColumn:d,startIndex:h,endIndex:l}}pushMapping(e,n,a){if(!e)return;let o={id:e,type:n,position:this.toElementPosition(a)};return this.elementMappings.push(o),o}addVertexMapping(e,n,a,o){let d=this.pushMapping(e,"vertex",o);if(d&&a==null)this.bareVertexMappings.add(d)}extendVertexMapping(e,n){if(!e||!n)return;let a=this.toElementPosition(n);for(let o=this.elementMappings.length-1;o>=0;o--){let d=this.elementMappings[o];if(d.type==="vertex"&&d.id===e){if(this.bareVertexMappings.has(d))d.type="attachment",this.bareVertexMappings.delete(d);if(a.endLine>d.position.endLine||a.endLine===d.position.endLine&&a.endColumn>d.position.endColumn)d.position.endLine=a.endLine,d.position.endColumn=a.endColumn,d.position.endIndex=a.endIndex;return}}this.pushMapping(e,"attachment",n)}addEdgeMapping(e,n,a,o){let d=Array.isArray(n)?n.map((l)=>typeof l==="string"?l:l?.id??"").filter(Boolean):[],h=d.length>0?d.join(">"):"edge";this.pushMapping(h,"edge",o)}addSubgraphMapping(e,n,a,o){let d=(typeof e==="string"?e:e?.text)??"",h=this.toElementPosition(a),l=o?this.toElementPosition(o):h;if(!d)return;this.elementMappings.push({id:d,type:"subgraph",position:{startLine:h.startLine,startColumn:h.startColumn,endLine:l.endLine,endColumn:l.endColumn,startIndex:h.startIndex,endIndex:l.endIndex}})}addConnectorMapping(e,n,a,o){let d=e?.text?.trim()??"";if(!d)return;let h=this.toElementPosition(a),l=o?this.toElementPosition(o):h;this.elementMappings.push({id:d,type:"connector",position:{startLine:h.startLine,startColumn:h.startColumn,endLine:l.endLine,endColumn:l.endColumn,startIndex:h.startIndex,endIndex:l.endIndex}})}getElementMappings(){return[...this.elementMappings]}getElementById(e){return this.elementMappings.find((n)=>n.id===e)}getElementsOnLine(e){return this.elementMappings.filter((n)=>e>=n.position.startLine&&e<=n.position.endLine)}getElementAtPosition(e,n){let a=this.elementMappings.filter((d)=>{let{startLine:h,startColumn:l,endLine:p,endColumn:m}=d.position;if(e<h||e>p)return!1;if(e===h&&n<l)return!1;if(e===p&&n>m)return!1;return!0});if(a.length===0)return;let o=t(({position:d})=>[d.endLine-d.startLine,d.endColumn-d.startColumn],"span");return a.reduce((d,h)=>{let[l,p]=o(d),[m,k]=o(h);if(m!==l)return m<l?h:d;return k<p?h:d})}getMappingStats(){let e=0,n=0,a=0,o=0,d=0;for(let h of this.elementMappings)if(h.type==="vertex")e++;else if(h.type==="edge")n++;else if(h.type==="subgraph")a++;else if(h.type==="connector")o++;else if(h.type==="attachment")d++;return{vertices:e,edges:n,subgraphs:a,connectors:o,attachments:d,totalElements:this.elementMappings.length}}emitDiagnostic(e,n,a,o){let d=o?.nodeId??o?.edgeId,h=d?this.getElementById(d):void 0,l={id:e,severity:n,message:a,...o?.nodeId?{nodeId:o.nodeId}:{},...o?.edgeId&&!o?.nodeId?{edgeId:o.edgeId}:{},...h?{position:h.position}:{}};if(this.diagnostics.some((k)=>k.id===l.id&&k.severity===l.severity&&k.message===l.message&&k.nodeId===l.nodeId&&k.edgeId===l.edgeId))return;this.diagnostics.push(l);let m=`agentflow[${e}]: ${a}`;if(n==="error")i.error(m);else i.warn(m)}emitWarning(e,n,a){this.emitDiagnostic(e,"warning",n,a)}emitError(e,n,a){this.emitDiagnostic(e,"error",n,a)}getDiagnostics(){return[...this.diagnostics]}},Y1=t(function(e,n){return n.db.getClasses()},"getClasses"),q1=t(async function(e,n,a,o){i.debug("Drawing agentflow diagram",n);let{securityLevel:d,agentflow:h,layout:l}=u();o.db.setDiagramId(n),i.debug("Before getData: ");let p=o.db.getData();i.debug("Data: ",p);let m=ze(n,d),k=o.db.getDirection();if(p.type=o.type,p.layoutAlgorithm=Ue(l),p.layoutAlgorithm==="dagre"&&l==="elk")i.warn("flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback.");p.direction=k,p.nodeSpacing=h?.nodeSpacing||50,p.rankSpacing=h?.rankSpacing||50,p.markers=["point","circle","cross","hierarchy"],p.diagramId=n,i.debug("REF1:",p),await He(p,m);let A=h?.diagramPadding??8;H.insertTitle(m,"agentflowTitleText",h?.titleTopMargin??0,o.db.getDiagramTitle()),Pe(m,A,"agentflow",h?.useMaxWidth??!0)},"draw"),X1={getClasses:Y1,draw:q1},l1=function(){var e=t(function(Ge,x,T,_){for(T=T||{},_=Ge.length;_--;T[Ge[_]]=x);return T},"o"),n=[1,5],a=[1,4],o=[1,3],d=[1,6],h=[1,8,9,10,11,12,28,35,36,38,40,42,47,63,87,88,89,90,91,92,105,108,109,112,114,117,118,119,124,125,126,127,128],l=[2,2],p=[1,15],m=[1,16],k=[1,17],A=[1,18],S=[1,19],y=[1,26],v=[1,27],z=[1,28],V=[1,30],E=[1,31],f=[1,32],b=[1,55],F=[1,54],q=[1,34],fe=[1,35],Se=[1,36],Ee=[1,37],xe=[1,38],Q=[1,50],J=[1,52],Z=[1,48],ee=[1,53],te=[1,49],se=[1,56],ie=[1,51],re=[1,57],ne=[1,58],je=[1,39],We=[1,40],Ke=[1,41],Ye=[1,42],qe=[1,43],Re=[1,64],L=[1,8,9,10,11,12,28,33,35,36,38,40,42,47,63,87,88,89,90,91,92,105,108,109,112,114,117,118,119,124,125,126,127,128],ce=[1,70],de=[1,68],he=[1,67],pe=[1,69],Ze=[8,9,10,12,78,80,81],$e=[1,88],et=[1,101],tt=[1,106],it=[1,105],rt=[1,102],nt=[1,98],at=[1,104],ot=[1,100],ut=[1,107],lt=[1,103],ct=[1,108],dt=[1,99],Xe=[8,9,10,11,12,43,78,80,81],oe=[8,9,10,11,12,43,49,78,80,81],be=[8,9,10,11,12,30,43,47,49,51,53,55,57,59,61,63,66,68,70,71,73,78,80,81,92,105,108,109,112,114,117,118,119],c1=[8,9,10,12,47,63,78,80,81,92,105,108,109,112,114,117,118,119],ht=[47,63,92,105,108,109,112,114,117,118,119],d1=[1,131],h1=[1,132],St=[1,134],xt=[1,133],p1=[47,63,65,77,92,105,108,109,112,114,117,118,119],_t=[1,143],vt=[1,157],Ft=[1,158],Vt=[1,159],It=[1,162],Lt=[1,161],Bt=[1,160],Mt=[1,145],yt=[1,147],wt=[1,151],f1=[1,139],g1=[1,140],Nt=[1,152],Rt=[1,153],Ot=[1,154],Pt=[1,155],Gt=[1,156],Ut=[1,163],jt=[1,164],zt=[1,141],Kt=[1,142],Ht=[1,149],qt=[1,144],Xt=[1,148],Qt=[1,146],pt=[8,9,10,11,12,28,33,35,36,38,40,42,47,63,87,88,89,90,91,92,105,108,109,112,114,117,118,119,124,125,126,127,128],b1=[1,168],ft=[1,170],X=[8,9,10,12],ke=[8,9,10,11,12,15,47,63,92,108,109,112,114,117,118,119],w=[1,190],ue=[1,186],le=[1,187],G=[1,191],U=[1,188],j=[1,189],gt=[80,119,122],W=[8,9,10,11,12,13,15,28,30,33,35,36,43,47,63,78,87,88,89,90,91,92,93,108,112,114,117,118,119],k1=[11,109],Oe=[32,52,54,56,58,60,65,67,69,70,72,74,119,120,121],Te=[1,269],_e=[1,267],ve=[1,271],Fe=[1,265],Ve=[1,266],Le=[1,268],Be=[1,270],ye=[1,272],bt=[1,292],m1=[8,9,10,12,109],Ce=[8,9,10,11,12,63,87,108,109,112,113,114,115],s1={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,COMMENT:8,SEMI:9,NEWLINE:10,SPACE:11,EOF:12,GRAPH:13,NODIR:14,DIR:15,FirstStmtSeparator:16,ending:17,endToken:18,spaceList:19,spaceListNewline:20,vertexStatement:21,separator:22,styleStatement:23,linkStyleStatement:24,classDefStatement:25,classStatement:26,clickStatement:27,flow:28,textNoTags:29,SQS:30,text:31,SQE:32,end:33,shapeData:34,global:35,connector:36,direction:37,acc_title:38,acc_title_value:39,acc_descr:40,acc_descr_value:41,acc_descr_multiline_value:42,SHAPE_DATA:43,link:44,node:45,styledVertex:46,AMP:47,vertex:48,STYLE_SEPARATOR:49,idString:50,DOUBLECIRCLESTART:51,DOUBLECIRCLEEND:52,PS:53,PE:54,"(-":55,"-)":56,STADIUMSTART:57,STADIUMEND:58,SUBROUTINESTART:59,SUBROUTINEEND:60,VERTEX_WITH_PROPS_START:61,"NODE_STRING[field]":62,COLON:63,"NODE_STRING[value]":64,PIPE:65,CYLINDERSTART:66,CYLINDEREND:67,DIAMOND_START:68,DIAMOND_STOP:69,TAGEND:70,TRAPSTART:71,TRAPEND:72,INVTRAPSTART:73,INVTRAPEND:74,linkStatement:75,arrowText:76,TESTSTR:77,START_LINK:78,edgeText:79,LINK:80,LINK_ID:81,edgeTextToken:82,STR:83,MD_STR:84,textToken:85,keywords:86,STYLE:87,LINKSTYLE:88,CLASSDEF:89,CLASS:90,CLICK:91,DOWN:92,UP:93,textNoTagsToken:94,stylesOpt:95,"idString[vertex]":96,"idString[class]":97,CALLBACKNAME:98,CALLBACKARGS:99,HREF:100,LINK_TARGET:101,"STR[link]":102,"STR[tooltip]":103,alphaNum:104,DEFAULT:105,numList:106,INTERPOLATE:107,NUM:108,COMMA:109,style:110,styleComponent:111,NODE_STRING:112,UNIT:113,BRKT:114,PCT:115,idStringToken:116,MINUS:117,MULT:118,UNICODE_TEXT:119,TEXT:120,TAGSTART:121,EDGE_TEXT:122,alphaNumToken:123,direction_tb:124,direction_bt:125,direction_rl:126,direction_lr:127,direction_td:128,$accept:0,$end:1},terminals_:{2:"error",8:"COMMENT",9:"SEMI",10:"NEWLINE",11:"SPACE",12:"EOF",13:"GRAPH",14:"NODIR",15:"DIR",28:"flow",30:"SQS",32:"SQE",33:"end",35:"global",36:"connector",38:"acc_title",39:"acc_title_value",40:"acc_descr",41:"acc_descr_value",42:"acc_descr_multiline_value",43:"SHAPE_DATA",47:"AMP",49:"STYLE_SEPARATOR",51:"DOUBLECIRCLESTART",52:"DOUBLECIRCLEEND",53:"PS",54:"PE",55:"(-",56:"-)",57:"STADIUMSTART",58:"STADIUMEND",59:"SUBROUTINESTART",60:"SUBROUTINEEND",61:"VERTEX_WITH_PROPS_START",62:"NODE_STRING[field]",63:"COLON",64:"NODE_STRING[value]",65:"PIPE",66:"CYLINDERSTART",67:"CYLINDEREND",68:"DIAMOND_START",69:"DIAMOND_STOP",70:"TAGEND",71:"TRAPSTART",72:"TRAPEND",73:"INVTRAPSTART",74:"INVTRAPEND",77:"TESTSTR",78:"START_LINK",80:"LINK",81:"LINK_ID",83:"STR",84:"MD_STR",87:"STYLE",88:"LINKSTYLE",89:"CLASSDEF",90:"CLASS",91:"CLICK",92:"DOWN",93:"UP",96:"idString[vertex]",97:"idString[class]",98:"CALLBACKNAME",99:"CALLBACKARGS",100:"HREF",101:"LINK_TARGET",102:"STR[link]",103:"STR[tooltip]",105:"DEFAULT",107:"INTERPOLATE",108:"NUM",109:"COMMA",112:"NODE_STRING",113:"UNIT",114:"BRKT",115:"PCT",117:"MINUS",118:"MULT",119:"UNICODE_TEXT",120:"TEXT",121:"TAGSTART",122:"EDGE_TEXT",124:"direction_tb",125:"direction_bt",126:"direction_rl",127:"direction_lr",128:"direction_td"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,2],[4,3],[17,2],[17,1],[18,1],[18,1],[18,1],[16,1],[16,1],[16,2],[16,1],[20,2],[20,2],[20,2],[20,1],[20,1],[20,1],[19,2],[19,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,10],[7,6],[7,7],[7,4],[7,4],[7,7],[7,8],[7,4],[7,5],[7,1],[7,2],[7,2],[7,1],[22,1],[22,1],[22,1],[22,1],[34,2],[34,1],[21,4],[21,3],[21,4],[21,2],[21,2],[21,1],[45,1],[45,6],[45,5],[46,1],[46,3],[48,4],[48,4],[48,6],[48,4],[48,4],[48,4],[48,8],[48,4],[48,4],[48,4],[48,6],[48,4],[48,4],[48,4],[48,4],[48,4],[48,1],[44,2],[44,3],[44,3],[44,1],[44,3],[44,4],[79,1],[79,2],[79,1],[79,1],[75,1],[75,2],[76,3],[31,1],[31,2],[31,1],[31,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[29,1],[29,2],[29,1],[29,1],[25,5],[26,5],[27,2],[27,4],[27,3],[27,5],[27,3],[27,5],[27,5],[27,7],[27,2],[27,4],[27,2],[27,4],[27,4],[27,6],[23,5],[24,5],[24,5],[24,9],[24,9],[24,7],[24,7],[106,1],[106,3],[95,1],[95,3],[110,1],[110,2],[111,1],[111,1],[111,1],[111,1],[111,1],[111,1],[111,1],[111,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[85,1],[85,1],[85,1],[85,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[82,1],[82,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[50,1],[50,2],[104,1],[104,2],[37,1],[37,1],[37,1],[37,1],[37,1]],performAction:t(function(x,T,_,c,K,s,B){var r=s.length-1;switch(K){case 2:this.$=[];break;case 3:if(!Array.isArray(s[r])||s[r].length>0)s[r-1].push(s[r]);this.$=s[r-1];break;case 4:case 198:this.$=s[r];break;case 5:case 33:case 34:case 35:case 36:case 37:this.$=[];break;case 13:c.setDirection("TB"),this.$="TB";break;case 14:c.setDirection(s[r-1]),this.$=s[r-1];break;case 32:this.$=s[r-1].nodes;break;case 38:if(this.$=c.addSubGraph(s[r-6],s[r-1],s[r-4],"flow"),c.addSubgraphMapping)c.addSubgraphMapping(s[r-6],s[r-4],B[r-8],B[r]);break;case 39:if(this.$=c.addSubGraph(s[r-7],s[r-1],s[r-5],"flow"),c.addVertex(this.$,void 0,void 0,void 0,void 0,void 0,void 0,s[r-3],B[r-3]),c.addSubgraphMapping)c.addSubgraphMapping(s[r-7],s[r-5],B[r-9],B[r]);break;case 40:if(this.$=c.addSubGraph(s[r-3],s[r-1],{text:"",type:"text"},"flow"),c.addSubgraphMapping)c.addSubgraphMapping(s[r-3],{text:"",type:"text"},B[r-5],B[r]);break;case 41:if(this.$=c.addSubGraph(s[r-4],s[r-1],{text:"",type:"text"},"flow"),c.addVertex(this.$,void 0,void 0,void 0,void 0,void 0,void 0,s[r-3],B[r-3]),c.addSubgraphMapping)c.addSubgraphMapping(s[r-4],{text:"",type:"text"},B[r-6],B[r]);break;case 42:if(this.$=c.addSubGraph(void 0,s[r-1],void 0,"flow"),c.addSubgraphMapping)c.addSubgraphMapping(void 0,void 0,B[r-3],B[r]);break;case 43:c.addGlobal(s[r-1]),this.$=[];break;case 44:if(this.$=c.addConnector(s[r-4],s[r-2]),c.addConnectorMapping)c.addConnectorMapping(s[r-4],s[r-2],B[r-6],B[r]);break;case 45:if(this.$=c.addConnector(s[r-5],s[r-3]),c.addVertex(this.$,void 0,void 0,void 0,void 0,void 0,void 0,s[r-1],B[r-1]),c.addConnectorMapping)c.addConnectorMapping(s[r-5],s[r-3],B[r-7],B[r]);break;case 46:if(this.$=c.addConnector(s[r-1],{text:"",type:"text"}),c.addConnectorMapping)c.addConnectorMapping(s[r-1],{text:"",type:"text"},B[r-3],B[r]);break;case 47:if(this.$=c.addConnector(s[r-2],{text:"",type:"text"}),c.addVertex(this.$,void 0,void 0,void 0,void 0,void 0,void 0,s[r-1],B[r-1]),c.addConnectorMapping)c.addConnectorMapping(s[r-2],{text:"",type:"text"},B[r-4],B[r]);break;case 49:this.$=s[r].trim(),c.setAccTitle(this.$);break;case 50:case 51:this.$=s[r].trim(),c.setAccDescription(this.$);break;case 56:this.$=s[r-1]+s[r];break;case 57:this.$=s[r];break;case 58:if(c.addVertex(s[r-1][s[r-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,s[r],B[r]),c.extendVertexMapping)c.extendVertexMapping(s[r-1][s[r-1].length-1],B[r]);if(c.addLink(s[r-3].stmt,s[r-1],s[r-2]),c.addEdgeMapping)c.addEdgeMapping(s[r-3].stmt,s[r-1],s[r-2],this._$);this.$={stmt:s[r-1],nodes:s[r-1].concat(s[r-3].nodes)};break;case 59:if(c.addLink(s[r-2].stmt,s[r],s[r-1]),c.addEdgeMapping)c.addEdgeMapping(s[r-2].stmt,s[r],s[r-1],this._$);this.$={stmt:s[r],nodes:s[r].concat(s[r-2].nodes)};break;case 60:if(c.addLink(s[r-3].stmt,s[r-1],s[r-2]),c.addEdgeMapping)c.addEdgeMapping(s[r-3].stmt,s[r-1],s[r-2],this._$);this.$={stmt:s[r-1],nodes:s[r-1].concat(s[r-3].nodes)};break;case 61:this.$={stmt:s[r-1],nodes:s[r-1]};break;case 62:if(c.addVertex(s[r-1][s[r-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,s[r],B[r]),c.extendVertexMapping)c.extendVertexMapping(s[r-1][s[r-1].length-1],B[r]);this.$={stmt:s[r-1],nodes:s[r-1],shapeData:s[r]};break;case 63:this.$={stmt:s[r],nodes:s[r]};break;case 64:this.$=[s[r]];break;case 65:if(c.addVertex(s[r-5][s[r-5].length-1],void 0,void 0,void 0,void 0,void 0,void 0,s[r-4],B[r-4]),c.extendVertexMapping)c.extendVertexMapping(s[r-5][s[r-5].length-1],B[r-4]);this.$=s[r-5].concat(s[r]);break;case 66:this.$=s[r-4].concat(s[r]);break;case 67:this.$=s[r];break;case 68:this.$=s[r-2],c.setClass(s[r-2],s[r]);break;case 69:if(this.$=s[r-3],c.addVertex(s[r-3],s[r-1],"square"),c.addVertexMapping)c.addVertexMapping(s[r-3],s[r-1],"square",this._$);break;case 70:if(this.$=s[r-3],c.addVertex(s[r-3],s[r-1],"doublecircle"),c.addVertexMapping)c.addVertexMapping(s[r-3],s[r-1],"doublecircle",this._$);break;case 71:if(this.$=s[r-5],c.addVertex(s[r-5],s[r-2],"circle"),c.addVertexMapping)c.addVertexMapping(s[r-5],s[r-2],"circle",this._$);break;case 72:if(this.$=s[r-3],c.addVertex(s[r-3],s[r-1],"ellipse"),c.addVertexMapping)c.addVertexMapping(s[r-3],s[r-1],"ellipse",this._$);break;case 73:if(this.$=s[r-3],c.addVertex(s[r-3],s[r-1],"stadium"),c.addVertexMapping)c.addVertexMapping(s[r-3],s[r-1],"stadium",this._$);break;case 74:if(this.$=s[r-3],c.addVertex(s[r-3],s[r-1],"subroutine"),c.addVertexMapping)c.addVertexMapping(s[r-3],s[r-1],"subroutine",this._$);break;case 75:if(this.$=s[r-7],c.addVertex(s[r-7],s[r-1],"rect",void 0,void 0,void 0,Object.fromEntries([[s[r-5],s[r-3]]])),c.addVertexMapping)c.addVertexMapping(s[r-7],s[r-1],"rect",this._$);break;case 76:if(this.$=s[r-3],c.addVertex(s[r-3],s[r-1],"cylinder"),c.addVertexMapping)c.addVertexMapping(s[r-3],s[r-1],"cylinder",this._$);break;case 77:if(this.$=s[r-3],c.addVertex(s[r-3],s[r-1],"round"),c.addVertexMapping)c.addVertexMapping(s[r-3],s[r-1],"round",this._$);break;case 78:if(this.$=s[r-3],c.addVertex(s[r-3],s[r-1],"diamond"),c.addVertexMapping)c.addVertexMapping(s[r-3],s[r-1],"diamond",this._$);break;case 79:if(this.$=s[r-5],c.addVertex(s[r-5],s[r-2],"hexagon"),c.addVertexMapping)c.addVertexMapping(s[r-5],s[r-2],"hexagon",this._$);break;case 80:if(this.$=s[r-3],c.addVertex(s[r-3],s[r-1],"odd"),c.addVertexMapping)c.addVertexMapping(s[r-3],s[r-1],"odd",this._$);break;case 81:if(this.$=s[r-3],c.addVertex(s[r-3],s[r-1],"trapezoid"),c.addVertexMapping)c.addVertexMapping(s[r-3],s[r-1],"trapezoid",this._$);break;case 82:if(this.$=s[r-3],c.addVertex(s[r-3],s[r-1],"inv_trapezoid"),c.addVertexMapping)c.addVertexMapping(s[r-3],s[r-1],"inv_trapezoid",this._$);break;case 83:if(this.$=s[r-3],c.addVertex(s[r-3],s[r-1],"lean_right"),c.addVertexMapping)c.addVertexMapping(s[r-3],s[r-1],"lean_right",this._$);break;case 84:if(this.$=s[r-3],c.addVertex(s[r-3],s[r-1],"lean_left"),c.addVertexMapping)c.addVertexMapping(s[r-3],s[r-1],"lean_left",this._$);break;case 85:if(this.$=s[r],c.addVertex(s[r]),c.addVertexMapping)c.addVertexMapping(s[r],void 0,void 0,this._$);break;case 86:s[r-1].text=s[r],this.$=s[r-1];break;case 87:case 88:s[r-2].text=s[r-1],this.$=s[r-2];break;case 89:this.$=s[r];break;case 90:var Y=c.destructLink(s[r],s[r-2]);this.$={type:Y.type,stroke:Y.stroke,length:Y.length,edgeSemantic:Y.edgeSemantic,text:s[r-1]};break;case 91:var Y=c.destructLink(s[r],s[r-2]);this.$={type:Y.type,stroke:Y.stroke,length:Y.length,edgeSemantic:Y.edgeSemantic,text:s[r-1],id:s[r-3]};break;case 92:this.$={text:s[r],type:"text"};break;case 93:this.$={text:s[r-1].text+""+s[r],type:s[r-1].type};break;case 94:this.$={text:s[r],type:"string"};break;case 95:this.$={text:s[r],type:"markdown"};break;case 96:var Y=c.destructLink(s[r]);this.$={type:Y.type,stroke:Y.stroke,length:Y.length,edgeSemantic:Y.edgeSemantic};break;case 97:var Y=c.destructLink(s[r]);this.$={type:Y.type,stroke:Y.stroke,length:Y.length,edgeSemantic:Y.edgeSemantic,id:s[r-1]};break;case 98:this.$=s[r-1];break;case 99:this.$={text:s[r],type:"text"};break;case 100:this.$={text:s[r-1].text+""+s[r],type:s[r-1].type};break;case 101:this.$={text:s[r],type:"string"};break;case 102:case 119:this.$={text:s[r],type:"markdown"};break;case 116:this.$={text:s[r],type:"text"};break;case 117:this.$={text:s[r-1].text+""+s[r],type:s[r-1].type};break;case 118:this.$={text:s[r],type:"text"};break;case 120:this.$=s[r-4],c.addClass(s[r-2],s[r]);break;case 121:this.$=s[r-4],c.setClass(s[r-2],s[r]);break;case 122:case 130:this.$=s[r-1],c.setClickEvent(s[r-1],s[r]);break;case 123:case 131:this.$=s[r-3],c.setClickEvent(s[r-3],s[r-2]),c.setTooltip(s[r-3],s[r]);break;case 124:this.$=s[r-2],c.setClickEvent(s[r-2],s[r-1],s[r]);break;case 125:this.$=s[r-4],c.setClickEvent(s[r-4],s[r-3],s[r-2]),c.setTooltip(s[r-4],s[r]);break;case 126:this.$=s[r-2],c.setLink(s[r-2],s[r]);break;case 127:this.$=s[r-4],c.setLink(s[r-4],s[r-2]),c.setTooltip(s[r-4],s[r]);break;case 128:this.$=s[r-4],c.setLink(s[r-4],s[r-2],s[r]);break;case 129:this.$=s[r-6],c.setLink(s[r-6],s[r-4],s[r]),c.setTooltip(s[r-6],s[r-2]);break;case 132:this.$=s[r-1],c.setLink(s[r-1],s[r]);break;case 133:this.$=s[r-3],c.setLink(s[r-3],s[r-2]),c.setTooltip(s[r-3],s[r]);break;case 134:this.$=s[r-3],c.setLink(s[r-3],s[r-2],s[r]);break;case 135:this.$=s[r-5],c.setLink(s[r-5],s[r-4],s[r]),c.setTooltip(s[r-5],s[r-2]);break;case 136:this.$=s[r-4],c.addVertex(s[r-2],void 0,void 0,s[r]);break;case 137:this.$=s[r-4],c.updateLink([s[r-2]],s[r]);break;case 138:this.$=s[r-4],c.updateLink(s[r-2],s[r]);break;case 139:this.$=s[r-8],c.updateLinkInterpolate([s[r-6]],s[r-2]),c.updateLink([s[r-6]],s[r]);break;case 140:this.$=s[r-8],c.updateLinkInterpolate(s[r-6],s[r-2]),c.updateLink(s[r-6],s[r]);break;case 141:this.$=s[r-6],c.updateLinkInterpolate([s[r-4]],s[r]);break;case 142:this.$=s[r-6],c.updateLinkInterpolate(s[r-4],s[r]);break;case 143:case 145:this.$=[s[r]];break;case 144:case 146:s[r-2].push(s[r]),this.$=s[r-2];break;case 148:this.$=s[r-1]+s[r];break;case 196:this.$=s[r];break;case 197:this.$=s[r-1]+""+s[r];break;case 199:this.$=s[r-1]+""+s[r];break;case 200:this.$={stmt:"dir",value:"TB"};break;case 201:this.$={stmt:"dir",value:"BT"};break;case 202:this.$={stmt:"dir",value:"RL"};break;case 203:this.$={stmt:"dir",value:"LR"};break;case 204:this.$={stmt:"dir",value:"TD"};break}},"anonymous"),table:[{3:1,4:2,8:n,10:a,11:o,13:d},{1:[3]},e(h,l,{5:7}),{4:8,8:n,10:a,11:o,13:d},{4:9,8:n,10:a,11:o,13:d},{4:10,8:n,10:a,11:o,13:d},{14:[1,11],15:[1,12]},{1:[2,1],6:13,7:14,8:p,9:m,10:k,11:A,12:S,21:20,23:21,24:22,25:23,26:24,27:25,28:y,35:v,36:z,37:29,38:V,40:E,42:f,45:33,46:44,47:b,48:45,50:46,63:F,87:q,88:fe,89:Se,90:Ee,91:xe,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne,124:je,125:We,126:Ke,127:Ye,128:qe},e(h,[2,10]),e(h,[2,11]),e(h,[2,12]),e(h,[2,13]),{8:[1,63],9:[1,60],10:[1,61],11:Re,16:59,19:62},e(L,[2,3]),e(L,[2,4]),e(L,[2,5]),e(L,[2,6]),e(L,[2,7]),e(L,[2,8]),e(L,[2,9]),{8:ce,9:de,10:he,12:pe,22:65,44:66,75:71,78:[1,72],80:[1,74],81:[1,73]},{8:ce,9:de,10:he,12:pe,22:75},{8:ce,9:de,10:he,12:pe,22:76},{8:ce,9:de,10:he,12:pe,22:77},{8:ce,9:de,10:he,12:pe,22:78},{8:ce,9:de,10:he,12:pe,22:79},{8:ce,9:de,10:he,11:[1,80],12:pe,22:81},{8:ce,9:de,10:he,12:pe,22:82},{11:[1,83]},e(L,[2,48]),{39:[1,84]},{41:[1,85]},e(L,[2,51]),e(Ze,[2,63],{19:86,34:87,11:Re,43:$e}),{11:[1,89]},{11:[1,90]},{11:[1,91]},{11:[1,92]},{15:et,47:tt,63:it,83:[1,96],92:rt,98:[1,93],100:[1,94],104:95,108:nt,109:at,112:ot,114:ut,117:lt,118:ct,119:dt,123:97},e(L,[2,200]),e(L,[2,201]),e(L,[2,202]),e(L,[2,203]),e(L,[2,204]),e(Xe,[2,64]),e(Xe,[2,67],{49:[1,109]}),e(oe,[2,85],{116:122,30:[1,110],47:b,51:[1,111],53:[1,112],55:[1,113],57:[1,114],59:[1,115],61:[1,116],63:F,66:[1,117],68:[1,118],70:[1,119],71:[1,120],73:[1,121],92:Q,105:J,108:Z,109:ee,112:te,114:se,117:ie,118:re,119:ne}),e(be,[2,196]),e(be,[2,157]),e(be,[2,158]),e(be,[2,159]),e(be,[2,160]),e(be,[2,161]),e(be,[2,162]),e(be,[2,163]),e(be,[2,164]),e(be,[2,165]),e(be,[2,166]),e(be,[2,167]),e(h,[2,14]),e(h,[2,20]),e(h,[2,21]),{10:[1,123]},e(h,[2,23]),e(c1,[2,31],{19:124,11:Re}),e(L,[2,32]),{45:125,46:44,47:b,48:45,50:46,63:F,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},e(L,[2,52]),e(L,[2,53]),e(L,[2,54]),e(L,[2,55]),e(ht,[2,89],{76:126,65:[1,128],77:[1,127]}),{79:129,82:130,83:d1,84:h1,119:St,122:xt},{78:[1,135],80:[1,136]},e(p1,[2,96]),e(L,[2,33]),e(L,[2,34]),e(L,[2,35]),e(L,[2,36]),e(L,[2,37]),{11:_t,13:vt,15:Ft,28:Vt,29:137,33:It,35:Lt,36:Bt,47:Mt,63:yt,78:wt,83:f1,84:g1,86:150,87:Nt,88:Rt,89:Ot,90:Pt,91:Gt,92:Ut,93:jt,94:138,108:zt,112:Kt,114:Ht,117:qt,118:Xt,119:Qt},e(pt,l,{5:165}),e(pt,l,{5:166}),{11:_t,13:vt,15:Ft,28:Vt,29:167,33:It,35:Lt,36:Bt,47:Mt,63:yt,78:wt,83:f1,84:g1,86:150,87:Nt,88:Rt,89:Ot,90:Pt,91:Gt,92:Ut,93:jt,94:138,108:zt,112:Kt,114:Ht,117:qt,118:Xt,119:Qt},e(L,[2,49]),e(L,[2,50]),e(Ze,[2,61],{47:b1}),e(Ze,[2,62],{19:169,11:Re,43:ft}),e(Xe,[2,57]),{47:b,50:171,63:F,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},{105:[1,172],106:173,108:[1,174]},{47:b,50:175,63:F,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},{47:b,50:176,63:F,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},e(X,[2,122],{11:[1,177],99:[1,178]}),{83:[1,179]},e(X,[2,130],{123:181,11:[1,180],15:et,47:tt,63:it,92:rt,108:nt,109:at,112:ot,114:ut,117:lt,118:ct,119:dt}),e(X,[2,132],{11:[1,182]}),e(ke,[2,198]),e(ke,[2,185]),e(ke,[2,186]),e(ke,[2,187]),e(ke,[2,188]),e(ke,[2,189]),e(ke,[2,190]),e(ke,[2,191]),e(ke,[2,192]),e(ke,[2,193]),e(ke,[2,194]),e(ke,[2,195]),{47:b,50:183,63:F,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},{31:184,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},{31:192,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},{31:194,53:[1,193],70:w,83:ue,84:le,85:185,119:G,120:U,121:j},{31:195,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},{31:196,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},{31:197,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},{112:[1,198]},{31:199,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},{31:200,68:[1,201],70:w,83:ue,84:le,85:185,119:G,120:U,121:j},{31:202,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},{31:203,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},{31:204,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},e(be,[2,197]),e(h,[2,22]),e(c1,[2,30]),e(Ze,[2,59],{34:205,19:206,11:Re,43:$e}),e(ht,[2,86],{11:[1,207]}),{11:[1,208]},{31:209,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},{80:[1,210],82:211,119:St,122:xt},e(gt,[2,92]),e(gt,[2,94]),e(gt,[2,95]),e(gt,[2,183]),e(gt,[2,184]),{79:212,82:130,83:d1,84:h1,119:St,122:xt},e(p1,[2,97]),{8:ce,9:de,10:he,11:_t,12:pe,13:vt,15:Ft,22:214,28:Vt,30:[1,213],33:It,34:215,35:Lt,36:Bt,43:$e,47:Mt,63:yt,78:wt,86:150,87:Nt,88:Rt,89:Ot,90:Pt,91:Gt,92:Ut,93:jt,94:216,108:zt,112:Kt,114:Ht,117:qt,118:Xt,119:Qt},e(W,[2,116]),e(W,[2,118]),e(W,[2,119]),e(W,[2,172]),e(W,[2,173]),e(W,[2,174]),e(W,[2,175]),e(W,[2,176]),e(W,[2,177]),e(W,[2,178]),e(W,[2,179]),e(W,[2,180]),e(W,[2,181]),e(W,[2,182]),e(W,[2,103]),e(W,[2,104]),e(W,[2,105]),e(W,[2,106]),e(W,[2,107]),e(W,[2,108]),e(W,[2,109]),e(W,[2,110]),e(W,[2,111]),e(W,[2,112]),e(W,[2,113]),e(W,[2,114]),e(W,[2,115]),{6:13,7:14,8:p,9:m,10:k,11:A,12:S,21:20,23:21,24:22,25:23,26:24,27:25,28:y,33:[1,217],35:v,36:z,37:29,38:V,40:E,42:f,45:33,46:44,47:b,48:45,50:46,63:F,87:q,88:fe,89:Se,90:Ee,91:xe,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne,124:je,125:We,126:Ke,127:Ye,128:qe},{6:13,7:14,8:p,9:m,10:k,11:A,12:S,21:20,23:21,24:22,25:23,26:24,27:25,28:y,33:[1,218],35:v,36:z,37:29,38:V,40:E,42:f,45:33,46:44,47:b,48:45,50:46,63:F,87:q,88:fe,89:Se,90:Ee,91:xe,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne,124:je,125:We,126:Ke,127:Ye,128:qe},{8:ce,9:de,10:he,11:_t,12:pe,13:vt,15:Ft,22:220,28:Vt,30:[1,219],33:It,34:221,35:Lt,36:Bt,43:$e,47:Mt,63:yt,78:wt,86:150,87:Nt,88:Rt,89:Ot,90:Pt,91:Gt,92:Ut,93:jt,94:216,108:zt,112:Kt,114:Ht,117:qt,118:Xt,119:Qt},{11:Re,19:222},{47:[1,223]},e(Xe,[2,56]),{11:[1,224],47:b,63:F,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:122,117:ie,118:re,119:ne},{11:[1,225]},{11:[1,226],109:[1,227]},e(k1,[2,143]),{11:[1,228],47:b,63:F,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:122,117:ie,118:re,119:ne},{11:[1,229],47:b,63:F,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:122,117:ie,118:re,119:ne},{83:[1,230]},e(X,[2,124],{11:[1,231]}),e(X,[2,126],{11:[1,232]}),{83:[1,233]},e(ke,[2,199]),{83:[1,234],101:[1,235]},e(Xe,[2,68],{116:122,47:b,63:F,92:Q,105:J,108:Z,109:ee,112:te,114:se,117:ie,118:re,119:ne}),{32:[1,236],70:w,85:237,119:G,120:U,121:j},e(Oe,[2,99]),e(Oe,[2,101]),e(Oe,[2,102]),e(Oe,[2,168]),e(Oe,[2,169]),e(Oe,[2,170]),e(Oe,[2,171]),{52:[1,238],70:w,85:237,119:G,120:U,121:j},{31:239,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},{54:[1,240],70:w,85:237,119:G,120:U,121:j},{56:[1,241],70:w,85:237,119:G,120:U,121:j},{58:[1,242],70:w,85:237,119:G,120:U,121:j},{60:[1,243],70:w,85:237,119:G,120:U,121:j},{63:[1,244]},{67:[1,245],70:w,85:237,119:G,120:U,121:j},{69:[1,246],70:w,85:237,119:G,120:U,121:j},{31:247,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},{32:[1,248],70:w,85:237,119:G,120:U,121:j},{70:w,72:[1,249],74:[1,250],85:237,119:G,120:U,121:j},{70:w,72:[1,252],74:[1,251],85:237,119:G,120:U,121:j},e(Ze,[2,58],{19:169,11:Re,43:ft}),e(Ze,[2,60],{47:b1}),e(ht,[2,88]),e(ht,[2,87]),{65:[1,253],70:w,85:237,119:G,120:U,121:j},e(ht,[2,90]),e(gt,[2,93]),{80:[1,254],82:211,119:St,122:xt},{31:255,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},e(pt,l,{5:256}),{8:ce,9:de,10:he,12:pe,22:257,43:ft},e(W,[2,117]),e(L,[2,42]),e(L,[2,43]),{31:258,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},e(L,[2,46]),{8:ce,9:de,10:he,12:pe,22:259,43:ft},{46:260,47:b,48:45,50:46,63:F,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},{11:Re,19:261},{11:Te,63:_e,87:ve,95:262,108:Fe,110:263,111:264,112:Ve,113:Le,114:Be,115:ye},{11:Te,63:_e,87:ve,95:273,107:[1,274],108:Fe,110:263,111:264,112:Ve,113:Le,114:Be,115:ye},{11:Te,63:_e,87:ve,95:275,107:[1,276],108:Fe,110:263,111:264,112:Ve,113:Le,114:Be,115:ye},{108:[1,277]},{11:Te,63:_e,87:ve,95:278,108:Fe,110:263,111:264,112:Ve,113:Le,114:Be,115:ye},{47:b,50:279,63:F,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},e(X,[2,123]),{83:[1,280]},{83:[1,281],101:[1,282]},e(X,[2,131]),e(X,[2,133],{11:[1,283]}),e(X,[2,134]),e(oe,[2,69]),e(Oe,[2,100]),e(oe,[2,70]),{54:[1,284],70:w,85:237,119:G,120:U,121:j},e(oe,[2,77]),e(oe,[2,72]),e(oe,[2,73]),e(oe,[2,74]),{112:[1,285]},e(oe,[2,76]),e(oe,[2,78]),{69:[1,286],70:w,85:237,119:G,120:U,121:j},e(oe,[2,80]),e(oe,[2,81]),e(oe,[2,83]),e(oe,[2,82]),e(oe,[2,84]),e([11,47,63,92,105,108,109,112,114,117,118,119],[2,98]),e(ht,[2,91]),{32:[1,287],70:w,85:237,119:G,120:U,121:j},{6:13,7:14,8:p,9:m,10:k,11:A,12:S,21:20,23:21,24:22,25:23,26:24,27:25,28:y,33:[1,288],35:v,36:z,37:29,38:V,40:E,42:f,45:33,46:44,47:b,48:45,50:46,63:F,87:q,88:fe,89:Se,90:Ee,91:xe,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne,124:je,125:We,126:Ke,127:Ye,128:qe},e(pt,l,{5:289}),{32:[1,290],70:w,85:237,119:G,120:U,121:j},e(L,[2,47]),e(Xe,[2,66]),{46:291,47:b,48:45,50:46,63:F,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne},e(X,[2,136],{109:bt}),e(m1,[2,145],{111:293,11:Te,63:_e,87:ve,108:Fe,112:Ve,113:Le,114:Be,115:ye}),e(Ce,[2,147]),e(Ce,[2,149]),e(Ce,[2,150]),e(Ce,[2,151]),e(Ce,[2,152]),e(Ce,[2,153]),e(Ce,[2,154]),e(Ce,[2,155]),e(Ce,[2,156]),e(X,[2,137],{109:bt}),{11:[1,294]},e(X,[2,138],{109:bt}),{11:[1,295]},e(k1,[2,144]),e(X,[2,120],{109:bt}),e(X,[2,121],{116:122,47:b,63:F,92:Q,105:J,108:Z,109:ee,112:te,114:se,117:ie,118:re,119:ne}),e(X,[2,125]),e(X,[2,127],{11:[1,296]}),e(X,[2,128]),{101:[1,297]},{54:[1,298]},{65:[1,299]},{69:[1,300]},{8:ce,9:de,10:he,12:pe,22:301,34:302,43:$e},e(L,[2,40]),{6:13,7:14,8:p,9:m,10:k,11:A,12:S,21:20,23:21,24:22,25:23,26:24,27:25,28:y,33:[1,303],35:v,36:z,37:29,38:V,40:E,42:f,45:33,46:44,47:b,48:45,50:46,63:F,87:q,88:fe,89:Se,90:Ee,91:xe,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne,124:je,125:We,126:Ke,127:Ye,128:qe},{8:ce,9:de,10:he,12:pe,22:304,34:305,43:$e},e(Xe,[2,65]),{11:Te,63:_e,87:ve,108:Fe,110:306,111:264,112:Ve,113:Le,114:Be,115:ye},e(Ce,[2,148]),{15:et,47:tt,63:it,92:rt,104:307,108:nt,109:at,112:ot,114:ut,117:lt,118:ct,119:dt,123:97},{15:et,47:tt,63:it,92:rt,104:308,108:nt,109:at,112:ot,114:ut,117:lt,118:ct,119:dt,123:97},{101:[1,309]},e(X,[2,135]),e(oe,[2,71]),{31:310,70:w,83:ue,84:le,85:185,119:G,120:U,121:j},e(oe,[2,79]),e(pt,l,{5:311}),{8:ce,9:de,10:he,12:pe,22:312,43:ft},e(L,[2,41]),e(L,[2,44]),{8:ce,9:de,10:he,12:pe,22:313,43:ft},e(m1,[2,146],{111:293,11:Te,63:_e,87:ve,108:Fe,112:Ve,113:Le,114:Be,115:ye}),e(X,[2,141],{123:181,11:[1,314],15:et,47:tt,63:it,92:rt,108:nt,109:at,112:ot,114:ut,117:lt,118:ct,119:dt}),e(X,[2,142],{123:181,11:[1,315],15:et,47:tt,63:it,92:rt,108:nt,109:at,112:ot,114:ut,117:lt,118:ct,119:dt}),e(X,[2,129]),{32:[1,316],70:w,85:237,119:G,120:U,121:j},{6:13,7:14,8:p,9:m,10:k,11:A,12:S,21:20,23:21,24:22,25:23,26:24,27:25,28:y,33:[1,317],35:v,36:z,37:29,38:V,40:E,42:f,45:33,46:44,47:b,48:45,50:46,63:F,87:q,88:fe,89:Se,90:Ee,91:xe,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne,124:je,125:We,126:Ke,127:Ye,128:qe},e(pt,l,{5:318}),e(L,[2,45]),{11:Te,63:_e,87:ve,95:319,108:Fe,110:263,111:264,112:Ve,113:Le,114:Be,115:ye},{11:Te,63:_e,87:ve,95:320,108:Fe,110:263,111:264,112:Ve,113:Le,114:Be,115:ye},e(oe,[2,75]),e(L,[2,38]),{6:13,7:14,8:p,9:m,10:k,11:A,12:S,21:20,23:21,24:22,25:23,26:24,27:25,28:y,33:[1,321],35:v,36:z,37:29,38:V,40:E,42:f,45:33,46:44,47:b,48:45,50:46,63:F,87:q,88:fe,89:Se,90:Ee,91:xe,92:Q,105:J,108:Z,109:ee,112:te,114:se,116:47,117:ie,118:re,119:ne,124:je,125:We,126:Ke,127:Ye,128:qe},e(X,[2,139],{109:bt}),e(X,[2,140],{109:bt}),e(L,[2,39])],defaultActions:{},parseError:t(function(x,T){if(T.recoverable)this.trace(x);else{var _=Error(x);throw _.hash=T,_}},"parseError"),parse:t(function(x){var T=this,_=[0],c=[],K=[null],s=[],B=this.table,r="",Y=0,A1=0,E1=0,w1=2,C1=1,N1=s.slice.call(arguments,1),ae=Object.create(this.lexer),Qe={yy:{}};for(var i1 in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,i1))Qe.yy[i1]=this.yy[i1];if(ae.setInput(x,Qe.yy),Qe.yy.lexer=ae,Qe.yy.parser=this,typeof ae.yylloc>"u")ae.yylloc={};var r1=ae.yylloc;s.push(r1);var R1=ae.options&&ae.options.ranges;if(typeof Qe.yy.parseError==="function")this.parseError=Qe.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function O1(Ae){_.length=_.length-2*Ae,K.length=K.length-Ae,s.length=s.length-Ae}t(O1,"popStack");function S1(){var Ae=c.pop()||ae.lex()||C1;if(typeof Ae!=="number"){if(Ae instanceof Array)c=Ae,Ae=c.pop();Ae=T.symbols_[Ae]||Ae}return Ae}t(S1,"lex");var ge,n1,Je,me,ts,a1,kt={},Zt,we,x1,$t;while(!0){if(Je=_[_.length-1],this.defaultActions[Je])me=this.defaultActions[Je];else{if(ge===null||typeof ge>"u")ge=S1();me=B[Je]&&B[Je][ge]}if(typeof me>"u"||!me.length||!me[0]){var o1="";$t=[];for(Zt in B[Je])if(this.terminals_[Zt]&&Zt>w1)$t.push("'"+this.terminals_[Zt]+"'");if(ae.showPosition)o1="Parse error on line "+(Y+1)+`:
23
+ `+ae.showPosition()+`
24
+ Expecting `+$t.join(", ")+", got '"+(this.terminals_[ge]||ge)+"'";else o1="Parse error on line "+(Y+1)+": Unexpected "+(ge==C1?"end of input":"'"+(this.terminals_[ge]||ge)+"'");this.parseError(o1,{text:ae.match,token:this.terminals_[ge]||ge,line:ae.yylineno,loc:r1,expected:$t})}if(me[0]instanceof Array&&me.length>1)throw Error("Parse Error: multiple actions possible at state: "+Je+", token: "+ge);switch(me[0]){case 1:if(_.push(ge),K.push(ae.yytext),s.push(ae.yylloc),_.push(me[1]),ge=null,!n1){if(A1=ae.yyleng,r=ae.yytext,Y=ae.yylineno,r1=ae.yylloc,E1>0)E1--}else ge=n1,n1=null;break;case 2:if(we=this.productions_[me[1]][1],kt.$=K[K.length-we],kt._$={first_line:s[s.length-(we||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(we||1)].first_column,last_column:s[s.length-1].last_column},R1)kt._$.range=[s[s.length-(we||1)].range[0],s[s.length-1].range[1]];if(a1=this.performAction.apply(kt,[r,A1,Y,Qe.yy,me[1],K,s].concat(N1)),typeof a1<"u")return a1;if(we)_=_.slice(0,-1*we*2),K=K.slice(0,-1*we),s=s.slice(0,-1*we);_.push(this.productions_[me[1]][0]),K.push(kt.$),s.push(kt._$),x1=B[_[_.length-2]][_[_.length-1]],_.push(x1);break;case 3:return!0}}return!0},"parse")},y1=function(){var Ge={EOF:1,parseError:t(function(T,_){if(this.yy.parser)this.yy.parser.parseError(T,_);else throw Error(T)},"parseError"),setInput:t(function(x,T){if(this.yy=T||this.yy||{},this._input=x,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 x=this._input[0];this.yytext+=x,this.yyleng++,this.offset++,this.match+=x,this.matched+=x;var T=x.match(/(?:\r\n?|\n).*/g);if(T)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),x},"input"),unput:t(function(x){var T=x.length,_=x.split(/(?:\r\n?|\n)/g);this._input=x+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-T),this.offset-=T;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),_.length-1)this.yylineno-=_.length-1;var K=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:_?(_.length===c.length?this.yylloc.first_column:0)+c[c.length-_.length].length-_[0].length:this.yylloc.first_column-T},this.options.ranges)this.yylloc.range=[K[0],K[0]+this.yyleng-T];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).
25
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(x){this.unput(this.match.slice(x))},"less"),pastInput:t(function(){var x=this.matched.substr(0,this.matched.length-this.match.length);return(x.length>20?"...":"")+x.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var x=this.match;if(x.length<20)x+=this._input.substr(0,20-x.length);return(x.substr(0,20)+(x.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var x=this.pastInput(),T=Array(x.length+1).join("-");return x+this.upcomingInput()+`
26
+ `+T+"^"},"showPosition"),test_match:t(function(x,T){var _,c,K;if(this.options.backtrack_lexer){if(K={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)K.yylloc.range=this.yylloc.range.slice(0)}if(c=x[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+x[0].length},this.yytext+=x[0],this.match+=x[0],this.matches=x,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(x[0].length),this.matched+=x[0],_=this.performAction.call(this,this.yy,this,T,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(_)return _;else if(this._backtrack){for(var s in K)this[s]=K[s];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var x,T,_,c;if(!this._more)this.yytext="",this.match="";var K=this._currentRules();for(var s=0;s<K.length;s++)if(_=this._input.match(this.rules[K[s]]),_&&(!T||_[0].length>T[0].length)){if(T=_,c=s,this.options.backtrack_lexer)if(x=this.test_match(_,K[s]),x!==!1)return x;else if(this._backtrack){T=!1;continue}else return!1;else if(!this.options.flex)break}if(T){if(x=this.test_match(T,K[c]),x!==!1)return x;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
27
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var T=this.next();if(T)return T;else return this.lex()},"lex"),begin:t(function(T){this.conditionStack.push(T)},"begin"),popState:t(function(){var T=this.conditionStack.length-1;if(T>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(T){if(T=this.conditionStack.length-1-Math.abs(T||0),T>=0)return this.conditionStack[T];else return"INITIAL"},"topState"),pushState:t(function(T){this.begin(T)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:t(function(T,_,c,K){var s=K;switch(c){case 0:return this.begin("acc_title"),38;break;case 1:return this.popState(),"acc_title_value";break;case 2:return this.begin("acc_descr"),40;break;case 3:return this.popState(),"acc_descr_value";break;case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return this.pushState("shapeData"),_.yytext="",43;break;case 8:return this.pushState("shapeDataStr"),43;break;case 9:return this.popState(),43;break;case 10:let B=/\n\s*/g;return _.yytext=_.yytext.replace(B,"<br/>"),43;break;case 11:return 43;case 12:this.popState();break;case 13:this.begin("callbackname");break;case 14:this.popState();break;case 15:this.popState(),this.begin("callbackargs");break;case 16:return 98;case 17:this.popState();break;case 18:return 99;case 19:return"MD_STR";case 20:this.popState();break;case 21:this.begin("md_string");break;case 22:return"STR";case 23:this.popState();break;case 24:this.pushState("string");break;case 25:return 87;case 26:return 105;case 27:return 88;case 28:return 107;case 29:return 89;case 30:return 90;case 31:return 100;case 32:this.begin("click");break;case 33:this.popState();break;case 34:return 91;case 35:if(T.lex.firstGraph())this.begin("dir");return 13;case 36:return 28;case 37:return 36;case 38:return 35;case 39:return 33;case 40:return 101;case 41:return 101;case 42:return 101;case 43:return 101;case 44:return this.popState(),14;break;case 45:return this.popState(),15;break;case 46:return this.popState(),15;break;case 47:return this.popState(),15;break;case 48:return this.popState(),15;break;case 49:return this.popState(),15;break;case 50:return this.popState(),15;break;case 51:return this.popState(),15;break;case 52:return this.popState(),15;break;case 53:return this.popState(),15;break;case 54:return this.popState(),15;break;case 55:return 124;case 56:return 125;case 57:return 126;case 58:return 127;case 59:return 128;case 60:return 81;case 61:return 108;case 62:return 114;case 63:return 49;case 64:return 63;case 65:return 47;case 66:return 9;case 67:return 109;case 68:return 118;case 69:return this.popState(),80;break;case 70:return this.pushState("edgeText"),78;break;case 71:return 122;case 72:return 80;case 73:break;case 74:return this.popState(),56;break;case 75:return"TEXT";case 76:return this.pushState("ellipseText"),55;break;case 77:return this.popState(),58;break;case 78:return this.pushState("text"),57;break;case 79:return this.popState(),60;break;case 80:return this.pushState("text"),59;break;case 81:return 61;case 82:return this.pushState("text"),70;break;case 83:return this.popState(),67;break;case 84:return this.pushState("text"),66;break;case 85:return this.popState(),52;break;case 86:return this.pushState("text"),51;break;case 87:break;case 88:return this.popState(),72;break;case 89:return this.popState(),74;break;case 90:return 120;case 91:return this.pushState("trapText"),71;break;case 92:return this.pushState("trapText"),73;break;case 93:return 121;case 94:return 70;case 95:return 93;case 96:return"SEP";case 97:return 92;case 98:return 118;case 99:return 114;case 100:return 47;case 101:return 8;case 102:return 112;case 103:return 117;case 104:return 119;case 105:return this.popState(),65;break;case 106:return this.pushState("text"),65;break;case 107:return this.popState(),54;break;case 108:return this.pushState("text"),53;break;case 109:return this.popState(),32;break;case 110:return this.pushState("text"),30;break;case 111:return this.popState(),69;break;case 112:return this.pushState("text"),68;break;case 113:break;case 114:return"TEXT";case 115:return"QUOTE";case 116:return 10;case 117:return 11;case 118:return 12}},"anonymous"),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]*)/,/^(?:agentflow-beta\b)/,/^(?:flow\b)/,/^(?:connector\b)/,/^(?:global\b[ \t]*)/,/^(?:end\b[ \t]*)/,/^(?:_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]*)/,/^(?:.*direction\s+TD[^\n]*)/,/^(?:[^\s\"]+@(?=[^\{\"]))/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*--+[x>]\s*)/,/^(?:\s*--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*-\.+-\s*)/,/^(?:%%(?!\{)[^\n]*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:%%(?!\{)[^\n]*)/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|(?:[^\\\[\]\(\)\{\}\/%]+|(?!))+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:[ \t]*%%(?!\{)[^\n]*)/,/^(?:([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])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:%%(?!\{)[^\n]*)/,/^(?:(?:[^\[\]\(\)\{\}\|\"%]+|(?!))+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{shapeDataEndBracket:{rules:[21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},shapeDataStr:{rules:[9,10,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},shapeData:{rules:[8,11,12,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},callbackargs:{rules:[17,18,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},callbackname:{rules:[14,15,16,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},href:{rules:[21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},click:{rules:[21,24,33,34,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},edgeText:{rules:[21,24,69,71,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},trapText:{rules:[21,24,76,78,80,84,86,87,88,89,90,91,92,106,108,110,112],inclusive:!1},ellipseText:{rules:[21,24,73,74,75,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},text:{rules:[21,24,76,77,78,79,80,83,84,85,86,91,92,105,106,107,108,109,110,111,112,113,114],inclusive:!1},vertex:{rules:[21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},dir:{rules:[21,24,44,45,46,47,48,49,50,51,52,53,54,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},acc_descr_multiline:{rules:[5,6,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},acc_descr:{rules:[3,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},acc_title:{rules:[1,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},md_string:{rules:[19,20,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},string:{rules:[21,22,23,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},INITIAL:{rules:[0,2,4,7,13,21,24,25,26,27,28,29,30,31,32,35,36,37,38,39,40,41,42,43,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,72,76,78,80,81,82,84,86,91,92,93,94,95,96,97,98,99,100,101,102,103,104,106,108,110,112,115,116,117,118],inclusive:!0}}};return Ge}();s1.lexer=y1;function Jt(){this.yy={}}return t(Jt,"Parser"),Jt.prototype=s1,s1.Parser=Jt,new Jt}();l1.parser=l1;var B1=l1,M1=Object.assign({},B1);M1.parse=(e)=>{let n=e.replace(/}[^\S\n]*\n/g,`}
28
+ `);return B1.parse(n)};var Q1=M1,J1=t((e)=>{let{theme:n,bkgColorArray:a,borderColorArray:o}=e;if(!Ne(n,o))return"";let d=Me(e.look),h=De(a),l=Dt(e.THEME_COLOR_LIMIT,o),p=t((A)=>o[A%o.length],"border"),m=t((A)=>h?`fill: ${a[A%a.length]};`:"","fill"),k="";for(let A of z1){let S=t1.get(A),y=`[data-look="${d}"].node.${v1(A)}`;k+=`
29
+
30
+ ${y} rect,
31
+ ${y} path,
32
+ ${y} polygon {
33
+ stroke: ${p(S)};
34
+ ${m(S)}
35
+ }
36
+ `}for(let A=0;A<F1(l);A++){let S=V1(A,l),y=`[data-look="${d}"][data-color-id="color-${S}"].cluster`,v=`[data-look="${d}"][data-color-id="color-${S}"].node`,z=t((V)=>`${y} ${V}, ${v} ${V}`,"rule");k+=`
37
+
38
+ ${z("rect")},
39
+ ${z("path")} {
40
+ stroke: ${p(S)};
41
+ ${m(S)}
42
+ }
43
+ `}return k},"genColor"),Z1=t((e,n)=>{let a=$n,o=a(e,"r"),d=a(e,"g"),h=a(e,"b");return Ie(o,d,h,n)},"fade"),$1=t((e)=>`${J1(e)}
44
+ .label {
45
+ font-family: ${e.fontFamily};
46
+ color: ${e.nodeTextColor||e.textColor};
47
+ }
48
+ .cluster-label text {
49
+ fill: ${e.titleColor};
50
+ }
51
+ .cluster-label span {
52
+ color: ${e.titleColor};
53
+ }
54
+ .cluster-label span p {
55
+ background-color: transparent;
56
+ }
57
+
58
+ .label text,span {
59
+ fill: ${e.nodeTextColor||e.textColor};
60
+ color: ${e.nodeTextColor||e.textColor};
61
+ }
62
+
63
+ .node rect,
64
+ .node circle,
65
+ .node ellipse,
66
+ .node polygon,
67
+ .node path {
68
+ fill: ${e.mainBkg};
69
+ stroke: ${e.nodeBorder};
70
+ stroke-width: ${e.strokeWidth??1}px;
71
+ }
72
+ .rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {
73
+ text-anchor: middle;
74
+ }
75
+ .node .katex path {
76
+ fill: ${e.nodeTextColor||e.textColor};
77
+ stroke: ${e.nodeTextColor||e.textColor};
78
+ stroke-width: 1px;
79
+ }
80
+
81
+ .rough-node .label,.node .label, .image-shape .label, .icon-shape .label {
82
+ text-align: center;
83
+ }
84
+ .node.clickable {
85
+ cursor: pointer;
86
+ }
87
+
88
+
89
+ .root .anchor path {
90
+ fill: ${e.lineColor} !important;
91
+ stroke-width: 0;
92
+ stroke: ${e.lineColor};
93
+ }
94
+
95
+ .arrowheadPath {
96
+ fill: ${e.arrowheadColor};
97
+ }
98
+
99
+ .edgePaths .path {
100
+ stroke: ${e.lineColor};
101
+ stroke-width: ${e.strokeWidth??2}px;
102
+ }
103
+
104
+ .flowchart-link {
105
+ stroke: ${e.lineColor};
106
+ fill: none;
107
+ }
108
+
109
+ .edgeLabel {
110
+ background-color: ${e.edgeLabelBackground};
111
+ p {
112
+ background-color: ${e.edgeLabelBackground};
113
+ }
114
+ rect {
115
+ opacity: 0.5;
116
+ background-color: ${e.edgeLabelBackground};
117
+ fill: ${e.edgeLabelBackground};
118
+ }
119
+ text-align: center;
120
+ }
121
+
122
+ /* For html labels only */
123
+ .labelBkg {
124
+ background-color: ${Z1(e.edgeLabelBackground,0.5)};
125
+ }
126
+
127
+ .cluster rect {
128
+ fill: ${e.clusterBkg};
129
+ stroke: ${e.clusterBorder};
130
+ stroke-width: 1px;
131
+ }
132
+
133
+ .flow-cluster rect {
134
+ fill: none;
135
+ stroke: ${e.clusterBorder};
136
+ stroke-width: 0.75px;
137
+ }
138
+
139
+ .node .collapsed-indicator {
140
+ fill: ${e.nodeBorder};
141
+ stroke: none;
142
+ stroke-width: 0;
143
+ opacity: 0.5;
144
+ }
145
+
146
+ .node .collapsed-separator {
147
+ stroke-width: 0.75px;
148
+ }
149
+
150
+ .cluster text {
151
+ fill: ${e.titleColor};
152
+ }
153
+
154
+ .cluster span {
155
+ color: ${e.titleColor};
156
+ }
157
+ /* .cluster div {
158
+ color: ${e.titleColor};
159
+ } */
160
+
161
+ div.mermaidTooltip {
162
+ position: absolute;
163
+ text-align: center;
164
+ max-width: 200px;
165
+ padding: 2px;
166
+ font-family: ${e.fontFamily};
167
+ font-size: 12px;
168
+ background: ${e.tertiaryColor};
169
+ border: 1px solid ${e.border2};
170
+ border-radius: 2px;
171
+ pointer-events: none;
172
+ z-index: 100;
173
+ }
174
+
175
+ .agentflowTitleText {
176
+ text-anchor: middle;
177
+ font-size: 18px;
178
+ fill: ${e.textColor};
179
+ }
180
+
181
+ rect.text {
182
+ fill: none;
183
+ stroke-width: 0;
184
+ }
185
+
186
+ .icon-shape, .image-shape {
187
+ background-color: ${e.edgeLabelBackground};
188
+ p {
189
+ background-color: ${e.edgeLabelBackground};
190
+ padding: 2px;
191
+ }
192
+ .label rect {
193
+ opacity: 0.5;
194
+ background-color: ${e.edgeLabelBackground};
195
+ fill: ${e.edgeLabelBackground};
196
+ }
197
+ text-align: center;
198
+ }
199
+ ${Tt()}
200
+ `,"getStyles"),es=$1,Ds={parser:Q1,get db(){return new H1},renderer:X1,styles:es,init:t((e)=>{if(e.agentflow??={},e.layout)vr({layout:e.layout});e.flowchart??={},e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,vr({flowchart:{arrowMarkerAbsolute:e.arrowMarkerAbsolute}})},"init")};export{Ds as diagram};
Binary file
Binary file