@bkm016/basalt 0.1.30 → 0.1.31

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 (861) hide show
  1. package/README.md +1 -0
  2. package/chunk-04326385.js +39 -0
  3. package/chunk-0er07d2g.js +51 -0
  4. package/chunk-0ge4k9gq.js +2 -0
  5. package/chunk-11zc1b2w.js +3 -0
  6. package/chunk-12203fgm.js +2 -0
  7. package/chunk-194d4z7x.js +7 -0
  8. package/chunk-1apm7p2e.js +2 -0
  9. package/chunk-1t0yzkg7.js +4 -0
  10. package/chunk-2csz31nh.js +2 -0
  11. package/chunk-2rqpfv4h.js +3 -0
  12. package/chunk-39cfcar4.js +3 -0
  13. package/chunk-3gw871zb.js +2 -0
  14. package/chunk-4a5xttdp.js +3 -0
  15. package/chunk-4st5xeee.js +2 -0
  16. package/chunk-5h17n6g1.js +3 -0
  17. package/chunk-5rn18vrq.js +5 -0
  18. package/chunk-5tdnvdmz.js +2 -0
  19. package/chunk-6gzvp0f6.js +50 -0
  20. package/chunk-6qavr39k.js +2 -0
  21. package/chunk-6xn0r0dd.js +3 -0
  22. package/chunk-71pz02bd.js +8 -0
  23. package/chunk-7h76jrss.js +7 -0
  24. package/chunk-7hss4hs3.js +7 -0
  25. package/chunk-7vdq0wye.js +2 -0
  26. package/chunk-7w187ycz.js +10 -0
  27. package/chunk-81s7mvf2.js +16 -0
  28. package/chunk-8j8acxde.js +2 -0
  29. package/chunk-9nfz04yr.js +2 -0
  30. package/chunk-9nkb5q43.js +3 -0
  31. package/chunk-9zcfam20.js +2 -0
  32. package/chunk-a6zvmsbh.js +12 -0
  33. package/chunk-anr8aghq.js +59 -0
  34. package/chunk-av8zh9yp.js +2 -0
  35. package/chunk-bwv97dtf.js +2 -0
  36. package/chunk-cjy4rssa.js +10 -0
  37. package/chunk-dmdyqq1k.js +2 -0
  38. package/chunk-dzvq7vt6.js +2 -0
  39. package/chunk-ejrksf6g.js +3 -0
  40. package/chunk-erxka5vh.js +18 -0
  41. package/chunk-fc41dvhp.js +12 -0
  42. package/chunk-fsekbhqb.js +3 -0
  43. package/chunk-fwcqcecb.js +8 -0
  44. package/chunk-hhwnmhbb.js +2 -0
  45. package/chunk-jm2bn5mq.js +3 -0
  46. package/chunk-jm5j5jfy.js +3 -0
  47. package/chunk-jsvr3s4q.js +5 -0
  48. package/chunk-jwk5a5tk.js +25 -0
  49. package/chunk-khy3j5kp.js +63 -0
  50. package/chunk-mwc59w50.js +31 -0
  51. package/chunk-mypbpphn.js +3 -0
  52. package/chunk-ng5ncy65.js +2 -0
  53. package/chunk-nmvayfq3.js +3 -0
  54. package/chunk-nw4h0wm9.js +2 -0
  55. package/chunk-pxsgm6ff.js +2 -0
  56. package/chunk-rbfpa63e.js +3 -0
  57. package/chunk-rsrh5dgx.js +2 -0
  58. package/chunk-s2pm97nk.js +286 -0
  59. package/chunk-s6tnmg6x.js +3 -0
  60. package/chunk-se548edt.js +20 -0
  61. package/chunk-tsdeeqb8.js +3 -0
  62. package/chunk-vnv3a6t2.js +3 -0
  63. package/chunk-vrsh8cx1.js +3 -0
  64. package/chunk-vx4v71t4.js +498 -0
  65. package/chunk-w3v8zahw.js +2 -0
  66. package/chunk-w6m8c4vf.js +11 -0
  67. package/chunk-wd7sj5cv.js +2 -0
  68. package/chunk-we8v9wkw.js +9 -0
  69. package/chunk-wvn68m5f.js +4058 -0
  70. package/chunk-x055cas0.js +5 -0
  71. package/chunk-x2ry671h.js +44 -0
  72. package/chunk-x5vrtxkj.js +3 -0
  73. package/chunk-xedzsj31.js +5 -0
  74. package/chunk-xp83v3zm.js +2 -0
  75. package/chunk-ykzm5g1b.js +25 -0
  76. package/chunk-yq2bwebb.js +3 -0
  77. package/chunk-yygcpnwc.js +3 -0
  78. package/chunk-zjf34acb.js +2 -0
  79. package/compiled.js +8 -8
  80. package/package.json +1 -1
  81. package/ui-test-worker.js +18 -18
  82. package/web/chunk-01mrggts.js +1 -0
  83. package/web/chunk-01mrggts.js.br +0 -0
  84. package/web/chunk-01mrggts.js.gz +0 -0
  85. package/web/chunk-0b25tje3.js +1 -0
  86. package/web/chunk-0b25tje3.js.br +0 -0
  87. package/web/chunk-0b25tje3.js.gz +0 -0
  88. package/web/chunk-0g46ww9d.js +1 -0
  89. package/web/chunk-0g46ww9d.js.br +0 -0
  90. package/web/chunk-0g46ww9d.js.gz +0 -0
  91. package/web/chunk-0grg8w51.js +200 -0
  92. package/web/chunk-0grg8w51.js.br +0 -0
  93. package/web/chunk-0grg8w51.js.gz +0 -0
  94. package/web/chunk-0qf3m69c.js +24 -0
  95. package/web/chunk-0qf3m69c.js.br +0 -0
  96. package/web/chunk-0qf3m69c.js.gz +0 -0
  97. package/web/chunk-14yejkcn.js +7 -0
  98. package/web/chunk-14yejkcn.js.br +0 -0
  99. package/web/chunk-14yejkcn.js.gz +0 -0
  100. package/web/chunk-1ffzwm6m.js +106 -0
  101. package/web/chunk-1ffzwm6m.js.br +0 -0
  102. package/web/chunk-1ffzwm6m.js.gz +0 -0
  103. package/web/chunk-1ncaw3hk.js +3 -0
  104. package/web/chunk-1ncaw3hk.js.br +0 -0
  105. package/web/chunk-1ncaw3hk.js.gz +0 -0
  106. package/web/chunk-1x2kh4he.js +1 -0
  107. package/web/chunk-1x2kh4he.js.br +0 -0
  108. package/web/chunk-1x2kh4he.js.gz +0 -0
  109. package/web/chunk-23atmwvk.js +2 -0
  110. package/web/chunk-23atmwvk.js.br +0 -0
  111. package/web/chunk-23atmwvk.js.gz +0 -0
  112. package/web/chunk-2gfgrjy6.js +142 -0
  113. package/web/chunk-2gfgrjy6.js.br +0 -0
  114. package/web/chunk-2gfgrjy6.js.gz +0 -0
  115. package/web/chunk-2vqn82nw.js +139 -0
  116. package/web/chunk-2vqn82nw.js.br +0 -0
  117. package/web/chunk-2vqn82nw.js.gz +0 -0
  118. package/web/chunk-2wzvn2ne.js +1 -0
  119. package/web/chunk-2wzvn2ne.js.br +0 -0
  120. package/web/chunk-2wzvn2ne.js.gz +0 -0
  121. package/web/chunk-3at8qbcv.js +89 -0
  122. package/web/chunk-3at8qbcv.js.br +0 -0
  123. package/web/chunk-3at8qbcv.js.gz +0 -0
  124. package/web/chunk-3b97pd97.js +120 -0
  125. package/web/chunk-3b97pd97.js.br +0 -0
  126. package/web/chunk-3b97pd97.js.gz +0 -0
  127. package/web/chunk-3q5j14ah.js +1 -0
  128. package/web/chunk-3q5j14ah.js.br +0 -0
  129. package/web/chunk-3q5j14ah.js.gz +0 -0
  130. package/web/chunk-4wpvkw6b.js +1141 -0
  131. package/web/chunk-4wpvkw6b.js.br +0 -0
  132. package/web/chunk-4wpvkw6b.js.gz +0 -0
  133. package/web/chunk-51m79xhr.js +2 -0
  134. package/web/chunk-51m79xhr.js.br +2 -0
  135. package/web/chunk-51m79xhr.js.gz +0 -0
  136. package/web/chunk-5c6q7asc.js +1 -0
  137. package/web/chunk-5c6q7asc.js.br +0 -0
  138. package/web/chunk-5c6q7asc.js.gz +0 -0
  139. package/web/chunk-5vbnqhs0.js +38 -0
  140. package/web/chunk-5vbnqhs0.js.br +0 -0
  141. package/web/chunk-5vbnqhs0.js.gz +0 -0
  142. package/web/chunk-688a15p4.js +2 -0
  143. package/web/chunk-688a15p4.js.br +0 -0
  144. package/web/chunk-688a15p4.js.gz +0 -0
  145. package/web/chunk-6geede02.js +217 -0
  146. package/web/chunk-6geede02.js.br +0 -0
  147. package/web/chunk-6geede02.js.gz +0 -0
  148. package/web/chunk-6j37ynfq.js +1 -0
  149. package/web/chunk-6j37ynfq.js.br +0 -0
  150. package/web/chunk-6j37ynfq.js.gz +0 -0
  151. package/web/chunk-7j7btfha.js +292 -0
  152. package/web/chunk-7j7btfha.js.br +0 -0
  153. package/web/chunk-7j7btfha.js.gz +0 -0
  154. package/web/chunk-8299qcyc.js +1 -0
  155. package/web/chunk-8299qcyc.js.br +0 -0
  156. package/web/chunk-8299qcyc.js.gz +0 -0
  157. package/web/chunk-8mncz9c6.js +89 -0
  158. package/web/chunk-8mncz9c6.js.br +0 -0
  159. package/web/chunk-8mncz9c6.js.gz +0 -0
  160. package/web/chunk-8pygn7wf.js +1 -0
  161. package/web/chunk-8pygn7wf.js.br +0 -0
  162. package/web/chunk-8pygn7wf.js.gz +0 -0
  163. package/web/chunk-8ye62j8m.js +2 -0
  164. package/web/chunk-8ye62j8m.js.br +3 -0
  165. package/web/chunk-8ye62j8m.js.gz +0 -0
  166. package/web/chunk-982457hh.js +1 -0
  167. package/web/chunk-982457hh.js.br +2 -0
  168. package/web/chunk-982457hh.js.gz +0 -0
  169. package/web/chunk-9f9pp12b.js +1 -0
  170. package/web/chunk-9f9pp12b.js.br +0 -0
  171. package/web/chunk-9f9pp12b.js.gz +0 -0
  172. package/web/chunk-9k6d95ab.js +1 -0
  173. package/web/chunk-9k6d95ab.js.br +0 -0
  174. package/web/chunk-9k6d95ab.js.gz +0 -0
  175. package/web/chunk-9z4tf6fd.js +1 -0
  176. package/web/chunk-9z4tf6fd.js.br +0 -0
  177. package/web/chunk-9z4tf6fd.js.gz +0 -0
  178. package/web/chunk-ayamka39.js +1 -0
  179. package/web/chunk-ayamka39.js.br +0 -0
  180. package/web/chunk-ayamka39.js.gz +0 -0
  181. package/web/chunk-b6k80wbw.js +1 -0
  182. package/web/chunk-b6k80wbw.js.br +0 -0
  183. package/web/chunk-b6k80wbw.js.gz +0 -0
  184. package/web/chunk-b6w2gmw0.js +2 -0
  185. package/web/chunk-b6w2gmw0.js.br +0 -0
  186. package/web/chunk-b6w2gmw0.js.gz +0 -0
  187. package/web/chunk-ba22js10.js +84 -0
  188. package/web/chunk-ba22js10.js.br +0 -0
  189. package/web/chunk-ba22js10.js.gz +0 -0
  190. package/web/chunk-bq7y294e.js +34 -0
  191. package/web/chunk-bq7y294e.js.br +0 -0
  192. package/web/chunk-bq7y294e.js.gz +0 -0
  193. package/web/chunk-c0vc50pd.js +4 -0
  194. package/web/chunk-c0vc50pd.js.br +0 -0
  195. package/web/chunk-c0vc50pd.js.gz +0 -0
  196. package/web/chunk-cf9886tj.js +2 -0
  197. package/web/chunk-cf9886tj.js.br +0 -0
  198. package/web/chunk-cf9886tj.js.gz +0 -0
  199. package/web/chunk-cqf4fzk6.js +16 -0
  200. package/web/chunk-cqf4fzk6.js.br +0 -0
  201. package/web/chunk-cqf4fzk6.js.gz +0 -0
  202. package/web/chunk-ct9sq4ka.js +1 -0
  203. package/web/chunk-ct9sq4ka.js.br +0 -0
  204. package/web/chunk-ct9sq4ka.js.gz +0 -0
  205. package/web/chunk-cy60hc6q.js +2 -0
  206. package/web/chunk-cy60hc6q.js.br +0 -0
  207. package/web/chunk-cy60hc6q.js.gz +0 -0
  208. package/web/chunk-cygtgz2r.js +2 -0
  209. package/web/chunk-cygtgz2r.js.br +0 -0
  210. package/web/chunk-cygtgz2r.js.gz +0 -0
  211. package/web/chunk-dgf0f0er.js +214 -0
  212. package/web/chunk-dgf0f0er.js.br +0 -0
  213. package/web/chunk-dgf0f0er.js.gz +0 -0
  214. package/web/chunk-dscn4mpq.js +4 -0
  215. package/web/chunk-dscn4mpq.js.br +0 -0
  216. package/web/chunk-dscn4mpq.js.gz +0 -0
  217. package/web/chunk-e7683p83.js +1 -0
  218. package/web/chunk-e7683p83.js.br +0 -0
  219. package/web/chunk-e7683p83.js.gz +0 -0
  220. package/web/chunk-eanfvatc.js +1 -0
  221. package/web/chunk-eanfvatc.js.br +0 -0
  222. package/web/chunk-eanfvatc.js.gz +0 -0
  223. package/web/chunk-egfn5522.js +1 -0
  224. package/web/chunk-egfn5522.js.br +3 -0
  225. package/web/chunk-egfn5522.js.gz +0 -0
  226. package/web/chunk-ejk5ec5n.js +1 -0
  227. package/web/chunk-ejk5ec5n.js.br +0 -0
  228. package/web/chunk-ejk5ec5n.js.gz +0 -0
  229. package/web/chunk-en5n60qw.js +2 -0
  230. package/web/chunk-en5n60qw.js.br +0 -0
  231. package/web/chunk-en5n60qw.js.gz +0 -0
  232. package/web/chunk-fzffxer1.js +41 -0
  233. package/web/chunk-fzffxer1.js.br +0 -0
  234. package/web/chunk-fzffxer1.js.gz +0 -0
  235. package/web/chunk-g19dt2gr.js +55 -0
  236. package/web/chunk-g19dt2gr.js.br +0 -0
  237. package/web/chunk-g19dt2gr.js.gz +0 -0
  238. package/web/chunk-g6cj4czr.js +2 -0
  239. package/web/chunk-g6cj4czr.js.br +0 -0
  240. package/web/chunk-g6cj4czr.js.gz +0 -0
  241. package/web/chunk-gbv8v3z7.js +78 -0
  242. package/web/chunk-gbv8v3z7.js.br +0 -0
  243. package/web/chunk-gbv8v3z7.js.gz +0 -0
  244. package/web/chunk-h1w081tm.js +12 -0
  245. package/web/chunk-h1w081tm.js.br +0 -0
  246. package/web/chunk-h1w081tm.js.gz +0 -0
  247. package/web/chunk-h87t8gsr.js +1 -0
  248. package/web/chunk-h87t8gsr.js.br +0 -0
  249. package/web/chunk-h87t8gsr.js.gz +0 -0
  250. package/web/chunk-haewrbm7.js +1 -0
  251. package/web/chunk-haewrbm7.js.br +0 -0
  252. package/web/chunk-haewrbm7.js.gz +0 -0
  253. package/web/chunk-hahz28y7.js +2 -0
  254. package/web/chunk-hahz28y7.js.br +0 -0
  255. package/web/chunk-hahz28y7.js.gz +0 -0
  256. package/web/chunk-hqz75fkz.js +1 -0
  257. package/web/chunk-hqz75fkz.js.br +0 -0
  258. package/web/chunk-hqz75fkz.js.gz +0 -0
  259. package/web/chunk-hr4fa514.js +2 -0
  260. package/web/chunk-hr4fa514.js.br +0 -0
  261. package/web/chunk-hr4fa514.js.gz +0 -0
  262. package/web/chunk-j7vtqbbc.js +1 -0
  263. package/web/chunk-j7vtqbbc.js.br +0 -0
  264. package/web/chunk-j7vtqbbc.js.gz +0 -0
  265. package/web/chunk-jt33d37t.js +1 -0
  266. package/web/chunk-jt33d37t.js.br +0 -0
  267. package/web/chunk-jt33d37t.js.gz +0 -0
  268. package/web/chunk-k3qt0rx5.js +2 -0
  269. package/web/chunk-k3qt0rx5.js.br +0 -0
  270. package/web/chunk-k3qt0rx5.js.gz +0 -0
  271. package/web/chunk-kgmw7sh4.js +1 -0
  272. package/web/chunk-kgmw7sh4.js.br +0 -0
  273. package/web/chunk-kgmw7sh4.js.gz +0 -0
  274. package/web/chunk-kjvk8prw.js +1 -0
  275. package/web/chunk-kjvk8prw.js.br +0 -0
  276. package/web/chunk-kjvk8prw.js.gz +0 -0
  277. package/web/chunk-kq7snx3t.js +1 -0
  278. package/web/chunk-kq7snx3t.js.br +0 -0
  279. package/web/chunk-kq7snx3t.js.gz +0 -0
  280. package/web/chunk-kvteqhz2.js +1 -0
  281. package/web/chunk-kvteqhz2.js.br +2 -0
  282. package/web/chunk-kvteqhz2.js.gz +0 -0
  283. package/web/chunk-kypct03a.js +169 -0
  284. package/web/chunk-kypct03a.js.br +0 -0
  285. package/web/chunk-kypct03a.js.gz +0 -0
  286. package/web/chunk-m4hz4v80.js +370 -0
  287. package/web/chunk-m4hz4v80.js.br +0 -0
  288. package/web/chunk-m4hz4v80.js.gz +0 -0
  289. package/web/chunk-m5k8jhya.js +40 -0
  290. package/web/chunk-m5k8jhya.js.br +0 -0
  291. package/web/chunk-m5k8jhya.js.gz +0 -0
  292. package/web/chunk-mr38k717.js +140 -0
  293. package/web/chunk-mr38k717.js.br +0 -0
  294. package/web/chunk-mr38k717.js.gz +0 -0
  295. package/web/chunk-mtcet6gc.js +2 -0
  296. package/web/chunk-mtcet6gc.js.br +0 -0
  297. package/web/chunk-mtcet6gc.js.gz +0 -0
  298. package/web/chunk-mtfv8gjh.js +291 -0
  299. package/web/chunk-mtfv8gjh.js.br +0 -0
  300. package/web/chunk-mtfv8gjh.js.gz +0 -0
  301. package/web/chunk-nnyjx4ef.js +1 -0
  302. package/web/chunk-nnyjx4ef.js.br +0 -0
  303. package/web/chunk-nnyjx4ef.js.gz +0 -0
  304. package/web/chunk-npn3fk69.js +1 -0
  305. package/web/chunk-npn3fk69.js.br +2 -0
  306. package/web/chunk-npn3fk69.js.gz +0 -0
  307. package/web/chunk-p2gdfpjs.js +2 -0
  308. package/web/chunk-p2gdfpjs.js.br +0 -0
  309. package/web/chunk-p2gdfpjs.js.gz +0 -0
  310. package/web/chunk-q0by2m1w.js +21 -0
  311. package/web/chunk-q0by2m1w.js.br +0 -0
  312. package/web/chunk-q0by2m1w.js.gz +0 -0
  313. package/web/chunk-q6k872kv.js +7 -0
  314. package/web/chunk-q6k872kv.js.br +0 -0
  315. package/web/chunk-q6k872kv.js.gz +0 -0
  316. package/web/chunk-q7krdwy7.js +332 -0
  317. package/web/chunk-q7krdwy7.js.br +0 -0
  318. package/web/chunk-q7krdwy7.js.gz +0 -0
  319. package/web/chunk-q7wbksg4.js +1 -0
  320. package/web/chunk-q7wbksg4.js.br +0 -0
  321. package/web/chunk-q7wbksg4.js.gz +0 -0
  322. package/web/chunk-qdxa0c4c.js +1 -0
  323. package/web/chunk-qdxa0c4c.js.br +0 -0
  324. package/web/chunk-qdxa0c4c.js.gz +0 -0
  325. package/web/chunk-r76we294.js +1 -0
  326. package/web/chunk-r76we294.js.br +0 -0
  327. package/web/chunk-r76we294.js.gz +0 -0
  328. package/web/chunk-rnhbck1h.js +99 -0
  329. package/web/chunk-rnhbck1h.js.br +0 -0
  330. package/web/chunk-rnhbck1h.js.gz +0 -0
  331. package/web/chunk-rxtzde6n.js +62 -0
  332. package/web/chunk-rxtzde6n.js.br +0 -0
  333. package/web/chunk-rxtzde6n.js.gz +0 -0
  334. package/web/chunk-ryds6qnb.js +2 -0
  335. package/web/chunk-ryds6qnb.js.br +0 -0
  336. package/web/chunk-ryds6qnb.js.gz +0 -0
  337. package/web/chunk-stnwzrqv.js +98 -0
  338. package/web/chunk-stnwzrqv.js.br +0 -0
  339. package/web/chunk-stnwzrqv.js.gz +0 -0
  340. package/web/chunk-sy28z9pe.js +2 -0
  341. package/web/chunk-sy28z9pe.js.br +2 -0
  342. package/web/chunk-sy28z9pe.js.gz +0 -0
  343. package/web/chunk-szwh742y.js +2 -0
  344. package/web/chunk-szwh742y.js.br +0 -0
  345. package/web/chunk-szwh742y.js.gz +0 -0
  346. package/web/chunk-t60hp0qs.js +36 -0
  347. package/web/chunk-t60hp0qs.js.br +0 -0
  348. package/web/chunk-t60hp0qs.js.gz +0 -0
  349. package/web/chunk-tjma3e4d.js +7 -0
  350. package/web/chunk-tjma3e4d.js.br +0 -0
  351. package/web/chunk-tjma3e4d.js.gz +0 -0
  352. package/web/chunk-tn39vbcz.js +2 -0
  353. package/web/chunk-tn39vbcz.js.br +0 -0
  354. package/web/chunk-tn39vbcz.js.gz +0 -0
  355. package/web/chunk-tv9rz73h.js +30 -0
  356. package/web/chunk-tv9rz73h.js.br +0 -0
  357. package/web/chunk-tv9rz73h.js.gz +0 -0
  358. package/web/chunk-twgzayjk.js +1 -0
  359. package/web/chunk-twgzayjk.js.br +0 -0
  360. package/web/chunk-twgzayjk.js.gz +0 -0
  361. package/web/chunk-tz4w2nh2.js +303 -0
  362. package/web/chunk-tz4w2nh2.js.br +0 -0
  363. package/web/chunk-tz4w2nh2.js.gz +0 -0
  364. package/web/chunk-v0egh6d3.js +1 -0
  365. package/web/chunk-v0egh6d3.js.br +0 -0
  366. package/web/chunk-v0egh6d3.js.gz +0 -0
  367. package/web/chunk-vayamfxv.js +1 -0
  368. package/web/chunk-vayamfxv.js.br +0 -0
  369. package/web/chunk-vayamfxv.js.gz +0 -0
  370. package/web/chunk-vcawg8d2.js +1 -0
  371. package/web/chunk-vcawg8d2.js.br +0 -0
  372. package/web/chunk-vcawg8d2.js.gz +0 -0
  373. package/web/chunk-vh8s2rek.js +1 -0
  374. package/web/chunk-vh8s2rek.js.br +2 -0
  375. package/web/chunk-vh8s2rek.js.gz +0 -0
  376. package/web/chunk-vns6bpqm.js +2 -0
  377. package/web/chunk-vns6bpqm.js.br +0 -0
  378. package/web/chunk-vns6bpqm.js.gz +0 -0
  379. package/web/chunk-vvbte0a5.css +1 -0
  380. package/web/chunk-vvbte0a5.css.br +0 -0
  381. package/web/chunk-vvbte0a5.css.gz +0 -0
  382. package/web/chunk-vxzw2t1r.js +1 -0
  383. package/web/chunk-vxzw2t1r.js.br +0 -0
  384. package/web/chunk-vxzw2t1r.js.gz +0 -0
  385. package/web/chunk-w40atygt.js +2 -0
  386. package/web/chunk-w40atygt.js.br +0 -0
  387. package/web/chunk-w40atygt.js.gz +0 -0
  388. package/web/chunk-w4bxgcwm.js +1 -0
  389. package/web/chunk-w4bxgcwm.js.br +0 -0
  390. package/web/chunk-w4bxgcwm.js.gz +0 -0
  391. package/web/chunk-w5t00pns.js +70 -0
  392. package/web/chunk-w5t00pns.js.br +0 -0
  393. package/web/chunk-w5t00pns.js.gz +0 -0
  394. package/web/chunk-wpmzdqba.js +324 -0
  395. package/web/chunk-wpmzdqba.js.br +0 -0
  396. package/web/chunk-wpmzdqba.js.gz +0 -0
  397. package/web/chunk-xc74f1nj.js +1 -0
  398. package/web/chunk-xc74f1nj.js.br +0 -0
  399. package/web/chunk-xc74f1nj.js.gz +0 -0
  400. package/web/chunk-xs4cyb71.js +1 -0
  401. package/web/chunk-xs4cyb71.js.br +0 -0
  402. package/web/chunk-xs4cyb71.js.gz +0 -0
  403. package/web/chunk-xthg4efe.js +1 -0
  404. package/web/chunk-xthg4efe.js.br +0 -0
  405. package/web/chunk-xthg4efe.js.gz +0 -0
  406. package/web/chunk-yet0bbyh.js +1 -0
  407. package/web/chunk-yet0bbyh.js.br +0 -0
  408. package/web/chunk-yet0bbyh.js.gz +0 -0
  409. package/web/chunk-yzcxmqy3.js +1 -0
  410. package/web/chunk-yzcxmqy3.js.br +0 -0
  411. package/web/chunk-yzcxmqy3.js.gz +0 -0
  412. package/web/chunk-z2a9zwwx.js +24 -0
  413. package/web/chunk-z2a9zwwx.js.br +0 -0
  414. package/web/chunk-z2a9zwwx.js.gz +0 -0
  415. package/web/chunk-zeyw59b9.js +2 -0
  416. package/web/chunk-zeyw59b9.js.br +0 -0
  417. package/web/chunk-zeyw59b9.js.gz +0 -0
  418. package/web/chunk-zftk5ww7.js +8 -0
  419. package/web/chunk-zftk5ww7.js.br +0 -0
  420. package/web/chunk-zftk5ww7.js.gz +0 -0
  421. package/web/chunk-zmbp3phd.js +2 -0
  422. package/web/chunk-zmbp3phd.js.br +0 -0
  423. package/web/chunk-zmbp3phd.js.gz +0 -0
  424. package/web/chunk-zpxh70dj.js +1 -0
  425. package/web/chunk-zpxh70dj.js.br +0 -0
  426. package/web/chunk-zpxh70dj.js.gz +0 -0
  427. package/web/chunk-zqhdf12s.js +39 -0
  428. package/web/chunk-zqhdf12s.js.br +0 -0
  429. package/web/chunk-zqhdf12s.js.gz +0 -0
  430. package/web/chunk-zr2xst5w.js +1 -0
  431. package/web/chunk-zr2xst5w.js.br +0 -0
  432. package/web/chunk-zr2xst5w.js.gz +0 -0
  433. package/web/index.html +1 -1
  434. package/web/index.html.br +0 -0
  435. package/web/index.html.gz +0 -0
  436. package/worker.js +1 -1
  437. package/chunk-01xyv3ct.js +0 -7
  438. package/chunk-06gjy5s2.js +0 -5
  439. package/chunk-0pztrs5x.js +0 -11
  440. package/chunk-0v6seb9q.js +0 -20
  441. package/chunk-0z138vnr.js +0 -12
  442. package/chunk-1c8yqctx.js +0 -3
  443. package/chunk-1wt8pbns.js +0 -2
  444. package/chunk-1yvgmxew.js +0 -2
  445. package/chunk-229men2n.js +0 -31
  446. package/chunk-29x35nj4.js +0 -5
  447. package/chunk-3ee7dyh4.js +0 -18
  448. package/chunk-3gf3g0xt.js +0 -3
  449. package/chunk-3gts3ja0.js +0 -8
  450. package/chunk-4stj480w.js +0 -3
  451. package/chunk-4t2t0hcp.js +0 -3
  452. package/chunk-57b764s0.js +0 -5
  453. package/chunk-63mr2aa2.js +0 -50
  454. package/chunk-64h4gw8d.js +0 -3
  455. package/chunk-7gxx6829.js +0 -2
  456. package/chunk-898tss1j.js +0 -51
  457. package/chunk-9em1sne5.js +0 -2
  458. package/chunk-9p8n1xjn.js +0 -4048
  459. package/chunk-a0h0x1dn.js +0 -3
  460. package/chunk-a2r89pk2.js +0 -12
  461. package/chunk-a5mtw4y5.js +0 -2
  462. package/chunk-aq6xkc1w.js +0 -3
  463. package/chunk-bbqhx91f.js +0 -3
  464. package/chunk-c9q0y8hp.js +0 -4
  465. package/chunk-cgzez9a5.js +0 -2
  466. package/chunk-drjajr57.js +0 -3
  467. package/chunk-dsnz6mzt.js +0 -25
  468. package/chunk-ee18zzzv.js +0 -3
  469. package/chunk-eg161ep9.js +0 -3
  470. package/chunk-ej42zg82.js +0 -2
  471. package/chunk-ejw7k7nn.js +0 -2
  472. package/chunk-et2s8y6a.js +0 -3
  473. package/chunk-f95j1a8x.js +0 -3
  474. package/chunk-fnxstmm5.js +0 -2
  475. package/chunk-gtjtkfjk.js +0 -3
  476. package/chunk-h4rve6x4.js +0 -63
  477. package/chunk-hp9bcx4x.js +0 -2
  478. package/chunk-je4cjwhm.js +0 -3
  479. package/chunk-jn1zdamp.js +0 -9
  480. package/chunk-jpah46d1.js +0 -2
  481. package/chunk-jvsrda4n.js +0 -16
  482. package/chunk-jyhsae16.js +0 -2
  483. package/chunk-k7n6bhkz.js +0 -3
  484. package/chunk-kvv3mvk5.js +0 -2
  485. package/chunk-kzv5cgqz.js +0 -286
  486. package/chunk-mz3zt06w.js +0 -7
  487. package/chunk-n4crb1x3.js +0 -2
  488. package/chunk-nmmf0w14.js +0 -5
  489. package/chunk-nr5p4pvp.js +0 -3
  490. package/chunk-p39fex1r.js +0 -2
  491. package/chunk-pefgy360.js +0 -7
  492. package/chunk-psr71nf8.js +0 -2
  493. package/chunk-qsgc7b7x.js +0 -3
  494. package/chunk-qygv2jqa.js +0 -2
  495. package/chunk-r449z8pj.js +0 -2
  496. package/chunk-rd52y45c.js +0 -8
  497. package/chunk-repjnwda.js +0 -10
  498. package/chunk-rh6yvdwz.js +0 -3
  499. package/chunk-s2d5zp37.js +0 -44
  500. package/chunk-s68eamf1.js +0 -2
  501. package/chunk-sacdpkwc.js +0 -3
  502. package/chunk-tey1hftz.js +0 -490
  503. package/chunk-vhvzyxx5.js +0 -25
  504. package/chunk-vytm86v0.js +0 -2
  505. package/chunk-x4bc1xkx.js +0 -39
  506. package/chunk-xa23zmzv.js +0 -2
  507. package/chunk-xq7zspqs.js +0 -3
  508. package/chunk-xqz8ac7j.js +0 -2
  509. package/chunk-ycce2a81.js +0 -2
  510. package/chunk-z99s31w5.js +0 -2
  511. package/chunk-zs6ytk7b.js +0 -59
  512. package/chunk-ztm5hqwh.js +0 -2
  513. package/chunk-zv29qg1q.js +0 -10
  514. package/web/chunk-02z3bqps.js +0 -1
  515. package/web/chunk-02z3bqps.js.br +0 -0
  516. package/web/chunk-02z3bqps.js.gz +0 -0
  517. package/web/chunk-0dg4qqe3.js +0 -1
  518. package/web/chunk-0dg4qqe3.js.br +0 -2
  519. package/web/chunk-0dg4qqe3.js.gz +0 -0
  520. package/web/chunk-0qar8vwc.js +0 -2
  521. package/web/chunk-0qar8vwc.js.br +0 -0
  522. package/web/chunk-0qar8vwc.js.gz +0 -0
  523. package/web/chunk-0qmgmqzd.js +0 -2
  524. package/web/chunk-0qmgmqzd.js.br +0 -0
  525. package/web/chunk-0qmgmqzd.js.gz +0 -0
  526. package/web/chunk-1q82849a.js +0 -1
  527. package/web/chunk-1q82849a.js.br +0 -0
  528. package/web/chunk-1q82849a.js.gz +0 -0
  529. package/web/chunk-2ajkzs3d.js +0 -12
  530. package/web/chunk-2ajkzs3d.js.br +0 -0
  531. package/web/chunk-2ajkzs3d.js.gz +0 -0
  532. package/web/chunk-2xrkfj8n.js +0 -291
  533. package/web/chunk-2xrkfj8n.js.br +0 -0
  534. package/web/chunk-2xrkfj8n.js.gz +0 -0
  535. package/web/chunk-4fzpmw3f.js +0 -89
  536. package/web/chunk-4fzpmw3f.js.br +0 -0
  537. package/web/chunk-4fzpmw3f.js.gz +0 -0
  538. package/web/chunk-51njd9f8.js +0 -89
  539. package/web/chunk-51njd9f8.js.br +0 -0
  540. package/web/chunk-51njd9f8.js.gz +0 -0
  541. package/web/chunk-66zw8mqe.js +0 -2
  542. package/web/chunk-66zw8mqe.js.br +0 -0
  543. package/web/chunk-66zw8mqe.js.gz +0 -0
  544. package/web/chunk-6x73jtw7.js +0 -7
  545. package/web/chunk-6x73jtw7.js.br +0 -0
  546. package/web/chunk-6x73jtw7.js.gz +0 -0
  547. package/web/chunk-6y389kg6.js +0 -1
  548. package/web/chunk-6y389kg6.js.br +0 -0
  549. package/web/chunk-6y389kg6.js.gz +0 -0
  550. package/web/chunk-73peavw3.js +0 -1
  551. package/web/chunk-73peavw3.js.br +0 -0
  552. package/web/chunk-73peavw3.js.gz +0 -0
  553. package/web/chunk-7p7qtp6d.js +0 -1
  554. package/web/chunk-7p7qtp6d.js.br +0 -0
  555. package/web/chunk-7p7qtp6d.js.gz +0 -0
  556. package/web/chunk-81zj375g.js +0 -1
  557. package/web/chunk-81zj375g.js.br +0 -0
  558. package/web/chunk-81zj375g.js.gz +0 -0
  559. package/web/chunk-89dwrkrr.js +0 -1
  560. package/web/chunk-89dwrkrr.js.br +0 -0
  561. package/web/chunk-89dwrkrr.js.gz +0 -0
  562. package/web/chunk-8e829p0a.css +0 -1
  563. package/web/chunk-8e829p0a.css.br +0 -0
  564. package/web/chunk-8e829p0a.css.gz +0 -0
  565. package/web/chunk-9mgqrwwh.js +0 -1
  566. package/web/chunk-9mgqrwwh.js.br +0 -0
  567. package/web/chunk-9mgqrwwh.js.gz +0 -0
  568. package/web/chunk-ag97fhx1.js +0 -1
  569. package/web/chunk-ag97fhx1.js.br +0 -0
  570. package/web/chunk-ag97fhx1.js.gz +0 -0
  571. package/web/chunk-anm2706b.js +0 -139
  572. package/web/chunk-anm2706b.js.br +0 -0
  573. package/web/chunk-anm2706b.js.gz +0 -0
  574. package/web/chunk-aqz2exas.js +0 -142
  575. package/web/chunk-aqz2exas.js.br +0 -0
  576. package/web/chunk-aqz2exas.js.gz +0 -0
  577. package/web/chunk-at6wp72y.js +0 -1
  578. package/web/chunk-at6wp72y.js.br +0 -0
  579. package/web/chunk-at6wp72y.js.gz +0 -0
  580. package/web/chunk-ayfqxte8.js +0 -1
  581. package/web/chunk-ayfqxte8.js.br +0 -2
  582. package/web/chunk-ayfqxte8.js.gz +0 -0
  583. package/web/chunk-b564qxgk.js +0 -98
  584. package/web/chunk-b564qxgk.js.br +0 -0
  585. package/web/chunk-b564qxgk.js.gz +0 -0
  586. package/web/chunk-b9atg5sw.js +0 -1
  587. package/web/chunk-b9atg5sw.js.br +0 -0
  588. package/web/chunk-b9atg5sw.js.gz +0 -0
  589. package/web/chunk-bg2k54a5.js +0 -70
  590. package/web/chunk-bg2k54a5.js.br +0 -0
  591. package/web/chunk-bg2k54a5.js.gz +0 -0
  592. package/web/chunk-cb0g87b5.js +0 -2
  593. package/web/chunk-cb0g87b5.js.br +0 -3
  594. package/web/chunk-cb0g87b5.js.gz +0 -0
  595. package/web/chunk-cgm44rx8.js +0 -2
  596. package/web/chunk-cgm44rx8.js.br +0 -0
  597. package/web/chunk-cgm44rx8.js.gz +0 -0
  598. package/web/chunk-ctckn7gz.js +0 -2
  599. package/web/chunk-ctckn7gz.js.br +0 -0
  600. package/web/chunk-ctckn7gz.js.gz +0 -0
  601. package/web/chunk-def5mk0w.js +0 -2
  602. package/web/chunk-def5mk0w.js.br +0 -0
  603. package/web/chunk-def5mk0w.js.gz +0 -0
  604. package/web/chunk-e2nhv6bb.js +0 -2
  605. package/web/chunk-e2nhv6bb.js.br +0 -0
  606. package/web/chunk-e2nhv6bb.js.gz +0 -0
  607. package/web/chunk-e7djq8rb.js +0 -2
  608. package/web/chunk-e7djq8rb.js.br +0 -0
  609. package/web/chunk-e7djq8rb.js.gz +0 -0
  610. package/web/chunk-eagbq8k2.js +0 -1
  611. package/web/chunk-eagbq8k2.js.br +0 -0
  612. package/web/chunk-eagbq8k2.js.gz +0 -0
  613. package/web/chunk-fbxw7w0z.js +0 -1
  614. package/web/chunk-fbxw7w0z.js.br +0 -0
  615. package/web/chunk-fbxw7w0z.js.gz +0 -0
  616. package/web/chunk-fn95dxq2.js +0 -1
  617. package/web/chunk-fn95dxq2.js.br +0 -0
  618. package/web/chunk-fn95dxq2.js.gz +0 -0
  619. package/web/chunk-g3n4tbbv.js +0 -1
  620. package/web/chunk-g3n4tbbv.js.br +0 -2
  621. package/web/chunk-g3n4tbbv.js.gz +0 -0
  622. package/web/chunk-gp0xqyh2.js +0 -62
  623. package/web/chunk-gp0xqyh2.js.br +0 -0
  624. package/web/chunk-gp0xqyh2.js.gz +0 -0
  625. package/web/chunk-h2rv3exr.js +0 -84
  626. package/web/chunk-h2rv3exr.js.br +0 -0
  627. package/web/chunk-h2rv3exr.js.gz +0 -0
  628. package/web/chunk-h888hb33.js +0 -41
  629. package/web/chunk-h888hb33.js.br +0 -0
  630. package/web/chunk-h888hb33.js.gz +0 -0
  631. package/web/chunk-hc9ep8b0.js +0 -4
  632. package/web/chunk-hc9ep8b0.js.br +0 -0
  633. package/web/chunk-hc9ep8b0.js.gz +0 -0
  634. package/web/chunk-hp0jfbty.js +0 -1
  635. package/web/chunk-hp0jfbty.js.br +0 -0
  636. package/web/chunk-hp0jfbty.js.gz +0 -0
  637. package/web/chunk-hx7rh5c1.js +0 -2
  638. package/web/chunk-hx7rh5c1.js.br +0 -0
  639. package/web/chunk-hx7rh5c1.js.gz +0 -0
  640. package/web/chunk-hzxz7smg.js +0 -24
  641. package/web/chunk-hzxz7smg.js.br +0 -0
  642. package/web/chunk-hzxz7smg.js.gz +0 -0
  643. package/web/chunk-j4w9gj2v.js +0 -1
  644. package/web/chunk-j4w9gj2v.js.br +0 -0
  645. package/web/chunk-j4w9gj2v.js.gz +0 -0
  646. package/web/chunk-j8m3c1s4.js +0 -2
  647. package/web/chunk-j8m3c1s4.js.br +0 -0
  648. package/web/chunk-j8m3c1s4.js.gz +0 -0
  649. package/web/chunk-jamb9e79.js +0 -1
  650. package/web/chunk-jamb9e79.js.br +0 -0
  651. package/web/chunk-jamb9e79.js.gz +0 -0
  652. package/web/chunk-jg19frxn.js +0 -55
  653. package/web/chunk-jg19frxn.js.br +0 -0
  654. package/web/chunk-jg19frxn.js.gz +0 -0
  655. package/web/chunk-jm2pevt8.js +0 -1
  656. package/web/chunk-jm2pevt8.js.br +0 -0
  657. package/web/chunk-jm2pevt8.js.gz +0 -0
  658. package/web/chunk-jmr00kdm.js +0 -214
  659. package/web/chunk-jmr00kdm.js.br +0 -0
  660. package/web/chunk-jmr00kdm.js.gz +0 -0
  661. package/web/chunk-jsff72z2.js +0 -1
  662. package/web/chunk-jsff72z2.js.br +0 -0
  663. package/web/chunk-jsff72z2.js.gz +0 -0
  664. package/web/chunk-jv83dscd.js +0 -1
  665. package/web/chunk-jv83dscd.js.br +0 -0
  666. package/web/chunk-jv83dscd.js.gz +0 -0
  667. package/web/chunk-k0da3cb3.js +0 -1
  668. package/web/chunk-k0da3cb3.js.br +0 -0
  669. package/web/chunk-k0da3cb3.js.gz +0 -0
  670. package/web/chunk-k6ks8zqg.js +0 -1
  671. package/web/chunk-k6ks8zqg.js.br +0 -0
  672. package/web/chunk-k6ks8zqg.js.gz +0 -0
  673. package/web/chunk-kdzew6g1.js +0 -1
  674. package/web/chunk-kdzew6g1.js.br +0 -2
  675. package/web/chunk-kdzew6g1.js.gz +0 -0
  676. package/web/chunk-ktmnzrpf.js +0 -1
  677. package/web/chunk-ktmnzrpf.js.br +0 -2
  678. package/web/chunk-ktmnzrpf.js.gz +0 -0
  679. package/web/chunk-kxezmcn5.js +0 -30
  680. package/web/chunk-kxezmcn5.js.br +0 -0
  681. package/web/chunk-kxezmcn5.js.gz +0 -0
  682. package/web/chunk-kyj99nqq.js +0 -2
  683. package/web/chunk-kyj99nqq.js.br +0 -0
  684. package/web/chunk-kyj99nqq.js.gz +0 -0
  685. package/web/chunk-m1009k4x.js +0 -16
  686. package/web/chunk-m1009k4x.js.br +0 -0
  687. package/web/chunk-m1009k4x.js.gz +0 -0
  688. package/web/chunk-mgr8wt71.js +0 -370
  689. package/web/chunk-mgr8wt71.js.br +0 -0
  690. package/web/chunk-mgr8wt71.js.gz +0 -0
  691. package/web/chunk-mya0w8tm.js +0 -1
  692. package/web/chunk-mya0w8tm.js.br +0 -0
  693. package/web/chunk-mya0w8tm.js.gz +0 -0
  694. package/web/chunk-n1wgda90.js +0 -7
  695. package/web/chunk-n1wgda90.js.br +0 -0
  696. package/web/chunk-n1wgda90.js.gz +0 -0
  697. package/web/chunk-n7hk5sxm.js +0 -120
  698. package/web/chunk-n7hk5sxm.js.br +0 -0
  699. package/web/chunk-n7hk5sxm.js.gz +0 -0
  700. package/web/chunk-n99yz498.js +0 -36
  701. package/web/chunk-n99yz498.js.br +0 -0
  702. package/web/chunk-n99yz498.js.gz +0 -0
  703. package/web/chunk-nnvqz2dh.js +0 -1
  704. package/web/chunk-nnvqz2dh.js.br +0 -0
  705. package/web/chunk-nnvqz2dh.js.gz +0 -0
  706. package/web/chunk-nx439rde.js +0 -1
  707. package/web/chunk-nx439rde.js.br +0 -0
  708. package/web/chunk-nx439rde.js.gz +0 -0
  709. package/web/chunk-pn50cj2y.js +0 -1
  710. package/web/chunk-pn50cj2y.js.br +0 -0
  711. package/web/chunk-pn50cj2y.js.gz +0 -0
  712. package/web/chunk-pph3x232.js +0 -38
  713. package/web/chunk-pph3x232.js.br +0 -0
  714. package/web/chunk-pph3x232.js.gz +0 -0
  715. package/web/chunk-pt2vfgkr.js +0 -1
  716. package/web/chunk-pt2vfgkr.js.br +0 -0
  717. package/web/chunk-pt2vfgkr.js.gz +0 -0
  718. package/web/chunk-pzvg5xnk.js +0 -21
  719. package/web/chunk-pzvg5xnk.js.br +0 -0
  720. package/web/chunk-pzvg5xnk.js.gz +0 -0
  721. package/web/chunk-qafnz668.js +0 -1
  722. package/web/chunk-qafnz668.js.br +0 -0
  723. package/web/chunk-qafnz668.js.gz +0 -0
  724. package/web/chunk-qkfqcr10.js +0 -1
  725. package/web/chunk-qkfqcr10.js.br +0 -0
  726. package/web/chunk-qkfqcr10.js.gz +0 -0
  727. package/web/chunk-qkgp0da2.js +0 -1
  728. package/web/chunk-qkgp0da2.js.br +0 -0
  729. package/web/chunk-qkgp0da2.js.gz +0 -0
  730. package/web/chunk-qpqdn0a8.js +0 -1
  731. package/web/chunk-qpqdn0a8.js.br +0 -0
  732. package/web/chunk-qpqdn0a8.js.gz +0 -0
  733. package/web/chunk-r0ch05x8.js +0 -3
  734. package/web/chunk-r0ch05x8.js.br +0 -0
  735. package/web/chunk-r0ch05x8.js.gz +0 -0
  736. package/web/chunk-r6s2vcby.js +0 -8
  737. package/web/chunk-r6s2vcby.js.br +0 -6
  738. package/web/chunk-r6s2vcby.js.gz +0 -0
  739. package/web/chunk-r71mdnq3.js +0 -1
  740. package/web/chunk-r71mdnq3.js.br +0 -0
  741. package/web/chunk-r71mdnq3.js.gz +0 -0
  742. package/web/chunk-rd60971b.js +0 -2
  743. package/web/chunk-rd60971b.js.br +0 -0
  744. package/web/chunk-rd60971b.js.gz +0 -0
  745. package/web/chunk-rdz21xd5.js +0 -99
  746. package/web/chunk-rdz21xd5.js.br +0 -0
  747. package/web/chunk-rdz21xd5.js.gz +0 -0
  748. package/web/chunk-rmzb9edh.js +0 -303
  749. package/web/chunk-rmzb9edh.js.br +0 -0
  750. package/web/chunk-rmzb9edh.js.gz +0 -0
  751. package/web/chunk-rqkd1h2n.js +0 -2
  752. package/web/chunk-rqkd1h2n.js.br +0 -0
  753. package/web/chunk-rqkd1h2n.js.gz +0 -0
  754. package/web/chunk-rz2cq4g2.js +0 -2
  755. package/web/chunk-rz2cq4g2.js.br +0 -0
  756. package/web/chunk-rz2cq4g2.js.gz +0 -0
  757. package/web/chunk-rzeh9b1q.js +0 -2
  758. package/web/chunk-rzeh9b1q.js.br +0 -0
  759. package/web/chunk-rzeh9b1q.js.gz +0 -0
  760. package/web/chunk-s6ax6yty.js +0 -1
  761. package/web/chunk-s6ax6yty.js.br +0 -0
  762. package/web/chunk-s6ax6yty.js.gz +0 -0
  763. package/web/chunk-s75zvbh9.js +0 -1
  764. package/web/chunk-s75zvbh9.js.br +0 -0
  765. package/web/chunk-s75zvbh9.js.gz +0 -0
  766. package/web/chunk-s7cz1q7g.js +0 -324
  767. package/web/chunk-s7cz1q7g.js.br +0 -0
  768. package/web/chunk-s7cz1q7g.js.gz +0 -0
  769. package/web/chunk-sh6xh1kh.js +0 -1
  770. package/web/chunk-sh6xh1kh.js.br +0 -0
  771. package/web/chunk-sh6xh1kh.js.gz +0 -0
  772. package/web/chunk-sqa50cfh.js +0 -2
  773. package/web/chunk-sqa50cfh.js.br +0 -0
  774. package/web/chunk-sqa50cfh.js.gz +0 -0
  775. package/web/chunk-stp6j8y9.js +0 -39
  776. package/web/chunk-stp6j8y9.js.br +0 -0
  777. package/web/chunk-stp6j8y9.js.gz +0 -0
  778. package/web/chunk-t7wae2xz.js +0 -332
  779. package/web/chunk-t7wae2xz.js.br +0 -0
  780. package/web/chunk-t7wae2xz.js.gz +0 -0
  781. package/web/chunk-t8p7d5vk.js +0 -2
  782. package/web/chunk-t8p7d5vk.js.br +0 -0
  783. package/web/chunk-t8p7d5vk.js.gz +0 -0
  784. package/web/chunk-tbj4d6qe.js +0 -292
  785. package/web/chunk-tbj4d6qe.js.br +0 -0
  786. package/web/chunk-tbj4d6qe.js.gz +0 -0
  787. package/web/chunk-v0wb751t.js +0 -2
  788. package/web/chunk-v0wb751t.js.br +0 -0
  789. package/web/chunk-v0wb751t.js.gz +0 -0
  790. package/web/chunk-v1vghfec.js +0 -1
  791. package/web/chunk-v1vghfec.js.br +0 -0
  792. package/web/chunk-v1vghfec.js.gz +0 -0
  793. package/web/chunk-v890rh1e.js +0 -2
  794. package/web/chunk-v890rh1e.js.br +0 -0
  795. package/web/chunk-v890rh1e.js.gz +0 -0
  796. package/web/chunk-vd2kng8p.js +0 -4
  797. package/web/chunk-vd2kng8p.js.br +0 -0
  798. package/web/chunk-vd2kng8p.js.gz +0 -0
  799. package/web/chunk-vfqmec16.js +0 -217
  800. package/web/chunk-vfqmec16.js.br +0 -0
  801. package/web/chunk-vfqmec16.js.gz +0 -0
  802. package/web/chunk-vhmcx472.js +0 -1
  803. package/web/chunk-vhmcx472.js.br +0 -0
  804. package/web/chunk-vhmcx472.js.gz +0 -0
  805. package/web/chunk-vtvf1x6b.js +0 -2
  806. package/web/chunk-vtvf1x6b.js.br +0 -0
  807. package/web/chunk-vtvf1x6b.js.gz +0 -0
  808. package/web/chunk-w0ae9ggt.js +0 -40
  809. package/web/chunk-w0ae9ggt.js.br +0 -0
  810. package/web/chunk-w0ae9ggt.js.gz +0 -0
  811. package/web/chunk-ws8rv0tb.js +0 -1141
  812. package/web/chunk-ws8rv0tb.js.br +0 -0
  813. package/web/chunk-ws8rv0tb.js.gz +0 -0
  814. package/web/chunk-wvnvh4a5.js +0 -78
  815. package/web/chunk-wvnvh4a5.js.br +0 -0
  816. package/web/chunk-wvnvh4a5.js.gz +0 -0
  817. package/web/chunk-x11ewabg.js +0 -1
  818. package/web/chunk-x11ewabg.js.br +0 -0
  819. package/web/chunk-x11ewabg.js.gz +0 -0
  820. package/web/chunk-x2tcf0r1.js +0 -1
  821. package/web/chunk-x2tcf0r1.js.br +0 -2
  822. package/web/chunk-x2tcf0r1.js.gz +0 -0
  823. package/web/chunk-xbrj4mk1.js +0 -140
  824. package/web/chunk-xbrj4mk1.js.br +0 -0
  825. package/web/chunk-xbrj4mk1.js.gz +0 -0
  826. package/web/chunk-xh8q1bcj.js +0 -34
  827. package/web/chunk-xh8q1bcj.js.br +0 -0
  828. package/web/chunk-xh8q1bcj.js.gz +0 -0
  829. package/web/chunk-xha3t633.js +0 -1
  830. package/web/chunk-xha3t633.js.br +0 -0
  831. package/web/chunk-xha3t633.js.gz +0 -0
  832. package/web/chunk-xmr18f18.js +0 -1
  833. package/web/chunk-xmr18f18.js.br +0 -0
  834. package/web/chunk-xmr18f18.js.gz +0 -0
  835. package/web/chunk-y372dg1e.js +0 -7
  836. package/web/chunk-y372dg1e.js.br +0 -0
  837. package/web/chunk-y372dg1e.js.gz +0 -0
  838. package/web/chunk-y778wckc.js +0 -24
  839. package/web/chunk-y778wckc.js.br +0 -0
  840. package/web/chunk-y778wckc.js.gz +0 -0
  841. package/web/chunk-yerpvhym.js +0 -169
  842. package/web/chunk-yerpvhym.js.br +0 -0
  843. package/web/chunk-yerpvhym.js.gz +0 -0
  844. package/web/chunk-yrhe7a7c.js +0 -106
  845. package/web/chunk-yrhe7a7c.js.br +0 -0
  846. package/web/chunk-yrhe7a7c.js.gz +0 -0
  847. package/web/chunk-z2aazpzj.js +0 -2
  848. package/web/chunk-z2aazpzj.js.br +0 -0
  849. package/web/chunk-z2aazpzj.js.gz +0 -0
  850. package/web/chunk-z43td5ad.js +0 -1
  851. package/web/chunk-z43td5ad.js.br +0 -0
  852. package/web/chunk-z43td5ad.js.gz +0 -0
  853. package/web/chunk-zf42y65m.js +0 -1
  854. package/web/chunk-zf42y65m.js.br +0 -0
  855. package/web/chunk-zf42y65m.js.gz +0 -0
  856. package/web/chunk-zj2rhf4b.js +0 -200
  857. package/web/chunk-zj2rhf4b.js.br +0 -0
  858. package/web/chunk-zj2rhf4b.js.gz +0 -0
  859. package/web/chunk-zkn84jhm.js +0 -2
  860. package/web/chunk-zkn84jhm.js.br +0 -0
  861. package/web/chunk-zkn84jhm.js.gz +0 -0
Binary file
Binary file
@@ -0,0 +1,2 @@
1
+ import{t,g}from"./chunk-tz4w2nh2.js";var ze=t((o,e)=>{let n;if(e==="sandbox")n=g("#i"+o);return(e==="sandbox"?g(n.nodes()[0].contentDocument.body):g("body")).select(`[id="${o}"]`)},"getDiagramElement");
2
+ export{ze};
Binary file
Binary file
@@ -0,0 +1,214 @@
1
+ import{t,i,Ie,ct,C,N,M,P,R,I,O,D,d,br,jr,g,Wt,Yt,H,St,De,Ne,Me,Dt,oi,He,Ue}from"./chunk-tz4w2nh2.js";import{On}from"./chunk-b6w2gmw0.js";import{Tt}from"./chunk-cqf4fzk6.js";import{$n}from"./chunk-hahz28y7.js";import{ze}from"./chunk-cygtgz2r.js";import{Pe}from"./chunk-51m79xhr.js";var k1="flowchart-",g1=class{constructor(){this.vertexCounter=0,this.config=d(),this.diagramId="",this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],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.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.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}static{t(this,"FlowDB")}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 a of this.vertices.values())if(a.id===e)return this.diagramId?`${this.diagramId}-${a.domId}`:a.domId;return this.diagramId?`${this.diagramId}-${e}`:e}addVertex(e,a,n,u,l,k,h={},m){if(!e||e.trim().length===0)return;let p;if(m!==void 0){let S;if(!m.includes(`
2
+ `))S=`{
3
+ `+m+`
4
+ }`;else S=m+`
5
+ `;p=Yt(S,{schema:Wt})}let G=this.subGraphLookup.get(e);if(G&&p){G.metadata={...G.metadata,...p};return}let y=this.edges.find((S)=>S.id===e);if(y){let S=p;if(S?.animate!==void 0)y.animate=S.animate;if(S?.animation!==void 0)y.animation=S.animation;if(S?.curve!==void 0)y.interpolate=S.curve;return}let U,T=this.vertices.get(e);if(T===void 0){if(a===void 0&&n===void 0&&u!==void 0&&u!==null)i.warn(`Style applied to unknown node "${e}". This may indicate a typo. The node will be created automatically.`);T={id:e,labelType:"text",domId:k1+e+"-"+this.vertexCounter,styles:[],classes:[]},this.vertices.set(e,T)}if(this.vertexCounter++,a!==void 0){if(this.config=d(),U=this.sanitizeText(a.text.trim()),T.labelType=a.type,U.startsWith('"')&&U.endsWith('"'))U=U.substring(1,U.length-1);T.text=U}else if(T.text===void 0)T.text=e;if(n!==void 0)T.type=n;if(u!==void 0&&u!==null)u.forEach((S)=>{T.styles.push(S)});if(l!==void 0&&l!==null)l.forEach((S)=>{T.classes.push(S)});if(k!==void 0)T.dir=k;if(T.props===void 0)T.props=h;else if(h!==void 0)Object.assign(T.props,h);if(p!==void 0){if(p.shape){if(p.shape!==p.shape.toLowerCase()||p.shape.includes("_"))throw Error(`No such shape: ${p.shape}. Shape names should be lowercase.`);else if(!oi(p.shape))throw Error(`No such shape: ${p.shape}.`);T.type=p?.shape}if(p?.label)T.text=p?.label,T.labelType=this.sanitizeNodeLabelType(p?.labelType);if(p?.icon){if(T.icon=p?.icon,!p.label?.trim()&&T.text===e)T.text=""}if(p?.form)T.form=p?.form;if(p?.pos)T.pos=p?.pos;if(p?.img){if(T.img=p?.img,!p.label?.trim()&&T.text===e)T.text=""}if(p?.constraint)T.constraint=p.constraint;if(p.w)T.assetWidth=Number(p.w);if(p.h)T.assetHeight=Number(p.h)}}addSingleLink(e,a,n,u){let h={start:e,end:a,type:void 0,text:"",labelType:"text",classes:[],isUserDefinedId:!1,interpolate:this.edges.defaultInterpolate};i.info("abc78 Got edge...",h);let m=n.text;if(m!==void 0){if(h.text=this.sanitizeText(m.text.trim()),h.text.startsWith('"')&&h.text.endsWith('"'))h.text=h.text.substring(1,h.text.length-1);h.labelType=this.sanitizeNodeLabelType(m.type)}if(n!==void 0)h.type=n.type,h.stroke=n.stroke,h.length=n.length>10?10:n.length;if(u&&!this.edges.some((p)=>p.id===u))h.id=u,h.isUserDefinedId=!0;else{let p=this.edges.filter((G)=>G.start===h.start&&G.end===h.end);if(p.length===0)h.id=St(h.start,h.end,{counter:0,prefix:"L"});else h.id=St(h.start,h.end,{counter:p.length+1,prefix:"L"})}if(this.edges.length<(this.config.maxEdges??500))i.info("Pushing edge..."),this.edges.push(h);else throw Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
6
+
7
+ Initialize mermaid with maxEdges set to a higher number to allow more edges.
8
+ You cannot set this config via configuration inside the diagram as it is a secure config.
9
+ You have to call mermaid.initialize.`)}isLinkData(e){return e!==null&&typeof e==="object"&&"id"in e&&typeof e.id==="string"}addLink(e,a,n){let u=this.isLinkData(n)?n.id.replace("@",""):void 0;i.info("addLink",e,a,u);for(let l of e)for(let k of a){let h=l===e[e.length-1],m=k===a[0];if(h&&m)this.addSingleLink(l,k,n,u);else this.addSingleLink(l,k,n,void 0)}}updateLinkInterpolate(e,a){e.forEach((n)=>{if(n==="default")this.edges.defaultInterpolate=a;else this.edges[n].interpolate=a})}updateLink(e,a){e.forEach((n)=>{if(typeof n==="number"&&n>=this.edges.length)throw Error(`The index ${n} 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(n==="default")this.edges.defaultStyle=a;else if(this.edges[n].style=a,(this.edges[n]?.style?.length??0)>0&&!this.edges[n]?.style?.some((u)=>u?.startsWith("fill")))this.edges[n]?.style?.push("fill:none")})}addClass(e,a){let n=a.join().replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");e.split(",").forEach((u)=>{let l=this.classes.get(u);if(l===void 0)l={id:u,styles:[],textStyles:[]},this.classes.set(u,l);if(n!==void 0&&n!==null)n.forEach((k)=>{if(/color/.exec(k)){let h=k.replace("fill","bgFill");l.textStyles.push(h)}l.styles.push(k)})})}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,a){for(let n of e.split(",")){let u=this.vertices.get(n);if(u)u.classes.push(a);let l=this.edges.find((h)=>h.id===n);if(l)l.classes.push(a);let k=this.subGraphLookup.get(n);if(k)k.classes.push(a)}}setTooltip(e,a){if(a===void 0)return;a=this.sanitizeText(a);for(let n of e.split(","))this.tooltips.set(this.version==="gen-1"?this.lookUpDomId(n):n,a)}setClickFun(e,a,n){if(d().securityLevel!=="loose")return;if(a===void 0)return;let u=[];if(typeof n==="string"){u=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let k=0;k<u.length;k++){let h=u[k].trim();if(h.startsWith('"')&&h.endsWith('"'))h=h.substr(1,h.length-2);u[k]=h}}if(u.length===0)u.push(e);let l=this.vertices.get(e);if(l)l.haveCallback=!0,this.funs.push(()=>{let k=this.lookUpDomId(e),h=document.querySelector(`[id="${k}"]`);if(h!==null)h.addEventListener("click",()=>{H.runFunc(a,...u)},!1)})}setLink(e,a,n){e.split(",").forEach((u)=>{let l=this.vertices.get(u);if(l!==void 0)l.link=H.formatUrl(a,this.config),l.linkTarget=n}),this.setClass(e,"clickable")}getTooltip(e){return this.tooltips.get(e)}setClickEvent(e,a,n){e.split(",").forEach((u)=>{this.setClickFun(u,a,n)}),this.setClass(e,"clickable")}bindFunctions(e){this.funs.forEach((a)=>{a(e)})}getDirection(){return this.direction?.trim()}getVertices(){return this.vertices}getEdges(){return this.edges}getClasses(){return this.classes}setupToolTips(e){let a=On();g(e).select("svg").selectAll("g.node").on("mouseover",(l)=>{let k=g(l.currentTarget),h=k.attr("title");if(h===null)return;let m=l.currentTarget?.getBoundingClientRect();a.transition().duration(200).style("opacity",".9"),a.text(k.attr("title")).style("left",window.scrollX+m.left+(m.right-m.left)/2+"px").style("top",window.scrollY+m.bottom+"px"),a.html(ct.sanitize(h)),k.classed("hover",!0)}).on("mouseout",(l)=>{a.transition().duration(500).style("opacity",0),g(l.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.diagramId="",this.subGraphs=[],this.subGraphLookup=new Map,this.subCount=0,this.tooltips=new Map,this.firstGraphFlag=!0,this.version=e,this.config=d(),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,a,n){let u=e.text.trim(),l=n.text;if(e===n&&/\s/.exec(n.text))u=void 0;let h=t((T)=>{let S={boolean:{},number:{},string:{}},v=[],z;return{nodeList:T.filter(function(c){let b=typeof c;if(c.stmt&&c.stmt==="dir")return z=c.value,!1;if(c.trim()==="")return!1;if(b in S)return S[b].hasOwnProperty(c)?!1:S[b][c]=!0;else return v.includes(c)?!1:v.push(c)}),dir:z}},"uniq")(a.flat()),{nodeList:m,dir:p}=h,G=d().flowchart??{};if(p=p??(G.inheritDir?this.getDirection()??d().direction??void 0:void 0),this.version==="gen-1")for(let T=0;T<m.length;T++)m[T]=this.lookUpDomId(m[T]);u=u??"subGraph"+this.subCount,l=l||"",l=this.sanitizeText(l),this.subCount=this.subCount+1;let y={id:u,nodes:m,title:l.trim(),classes:[],dir:p,labelType:this.sanitizeNodeLabelType(n?.type)};i.info("Adding",y.id,y.nodes,y.dir),y.nodes=this.makeUniq(y,this.subGraphs).nodes.filter((T)=>T!==u);let U=this.subGraphs.find((T)=>T.id===u);if(U)U.nodes.push(...y.nodes);else this.subGraphs.push(y);return this.subGraphLookup.set(u,U??y),u}getPosForId(e){for(let[a,n]of this.subGraphs.entries())if(n.id===e)return a;return-1}indexNodes2(e,a){let n=this.subGraphs[a].nodes;if(this.secCount=this.secCount+1,this.secCount>2000)return{result:!1,count:0};if(this.posCrossRef[this.secCount]=a,this.subGraphs[a].id===e)return{result:!0,count:0};let u=0,l=1;while(u<n.length){let k=this.getPosForId(n[u]);if(k>=0){let h=this.indexNodes2(e,k);if(h.result)return{result:!0,count:l+h.count};else l=l+h.count}u=u+1}return{result:!1,count:l}}getDepthFirstPos(e){return this.posCrossRef[e]}indexNodes(){if(this.secCount=-1,this.subGraphs.length>0)this.indexNodes2("none",this.subGraphs.length-1)}getSubGraphs(){return this.subGraphs}firstGraph(){if(this.firstGraphFlag)return this.firstGraphFlag=!1,!0;return!1}destructStartLink(e){let a=e.trim(),n="arrow_open";switch(a[0]){case"<":n="arrow_point",a=a.slice(1);break;case"x":n="arrow_cross",a=a.slice(1);break;case"o":n="arrow_circle",a=a.slice(1);break}let u="normal";if(a.includes("="))u="thick";if(a.includes("."))u="dotted";return{type:n,stroke:u}}countChar(e,a){let n=a.length,u=0;for(let l=0;l<n;++l)if(a[l]===e)++u;return u}destructEndLink(e){let a=e.trim(),n=a.slice(0,-1),u="arrow_open";switch(a.slice(-1)){case"x":if(u="arrow_cross",a.startsWith("x"))u="double_"+u,n=n.slice(1);break;case">":if(u="arrow_point",a.startsWith("<"))u="double_"+u,n=n.slice(1);break;case"o":if(u="arrow_circle",a.startsWith("o"))u="double_"+u,n=n.slice(1);break}let l="normal",k=n.length-1;if(n.startsWith("="))l="thick";if(n.startsWith("~"))l="invisible";let h=this.countChar(".",n);if(h)l="dotted",k=h;return{type:u,stroke:l,length:k}}destructLink(e,a){let n=this.destructEndLink(e),u;if(a){if(u=this.destructStartLink(a),u.stroke!==n.stroke)return{type:"INVALID",stroke:"INVALID"};if(u.type==="arrow_open")u.type=n.type;else{if(u.type!==n.type)return{type:"INVALID",stroke:"INVALID"};u.type="double_"+u.type}if(u.type==="double_arrow")u.type="double_arrow_point";return u.length=n.length,u}return n}exists(e,a){for(let n of e)if(n.nodes.includes(a))return!0;return!1}makeUniq(e,a){let n=[];return e.nodes.forEach((u,l)=>{if(!this.exists(a,u))n.push(e.nodes[l])}),{nodes:n}}getTypeFromVertex(e){if(e.img)return"imageSquare";if(e.icon){if(e.form==="circle")return"iconCircle";if(e.form==="square")return"iconSquare";if(e.form==="rounded")return"iconRounded";return"icon"}switch(e.type){case"square":case void 0:return"squareRect";case"round":return"roundedRect";case"ellipse":return"ellipse";default:return e.type}}findNode(e,a){return e.find((n)=>n.id===a)}destructEdgeType(e){let a="none",n="arrow_point";switch(e){case"arrow_point":case"arrow_circle":case"arrow_cross":n=e;break;case"double_arrow_point":case"double_arrow_circle":case"double_arrow_cross":a=e.replace("double_",""),n=a;break}return{arrowTypeStart:a,arrowTypeEnd:n}}addNodeFromVertex(e,a,n,u,l,k){let h=n.get(e.id),m=u.get(e.id)??!1,p=this.findNode(a,e.id);if(p)p.cssStyles=e.styles,p.cssCompiledStyles=this.getCompiledStyles(e.classes),p.cssClasses=e.classes.join(" ");else{let G={id:e.id,label:e.text,labelType:e.labelType,labelStyle:"",parentId:h,padding:l.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:k,link:e.link,linkTarget:e.linkTarget,tooltip:this.getTooltip(e.id),icon:e.icon,pos:e.pos,img:e.img,assetWidth:e.assetWidth,assetHeight:e.assetHeight,constraint:e.constraint};if(m)a.push({...G,isGroup:!0,shape:"rect"});else a.push({...G,isGroup:!1,shape:this.getTypeFromVertex(e),minWidth:l.flowchart?.minNodeWidth})}}getCompiledStyles(e){let a=[];for(let n of e){let u=this.classes.get(n);if(u?.styles)a=[...a,...u.styles??[]].map((l)=>l.trim());if(u?.textStyles)a=[...a,...u.textStyles??[]].map((l)=>l.trim())}return a}getData(){let e=d(),a=[],n=[],u=this.getSubGraphs(),l=new Map,k=new Map,h=new Map;for(let c of u)for(let b of c.nodes)if(this.subGraphLookup.has(b))h.set(b,c.id);let m=new Map,p=new Map;for(let c of u){let b=h.get(c.id);if(b!==void 0)p.set(b,[...p.get(b)??[],c.id])}let G=0,y=t((c)=>{m.set(c,G++);for(let b of p.get(c)??[])y(b)},"walk");for(let c of u)if(!h.has(c.id))y(c.id);let U=t((c)=>this.subGraphLookup.get(c)?.metadata?.view==="collapsed","isCollapsed"),T=t((c)=>{let b,ne=new Set,oe=c;while(oe!==void 0&&!ne.has(oe)){if(ne.add(oe),U(oe))b=oe;oe=h.get(oe)}return b},"outermostCollapsed"),S=new Set,v=new Map;for(let c of u){let b=T(c.id);if(b===void 0)continue;if(c.id!==b)S.add(c.id),v.set(c.id,b);for(let ne of c.nodes){if(ne===b)continue;S.add(ne),v.set(ne,b)}}for(let c=u.length-1;c>=0;c--){let b=u[c];if(S.has(b.id))continue;if(b.nodes.length>0)k.set(b.id,!0);for(let ne of b.nodes)l.set(ne,b.id)}for(let c=u.length-1;c>=0;c--){let b=u[c];if(S.has(b.id))continue;if(b.metadata?.view==="collapsed")a.push({id:b.id,label:b.title,labelStyle:"",labelType:b.labelType,parentId:l.get(b.id),padding:8,cssCompiledStyles:this.getCompiledStyles(b.classes),cssClasses:b.classes.join(" "),shape:"collapsedGroup",dir:b.dir,isGroup:!1,look:e.look,colorIndex:m.get(b.id)});else a.push({id:b.id,label:b.title,labelStyle:"",labelType:b.labelType,parentId:l.get(b.id),padding:8,cssCompiledStyles:this.getCompiledStyles(b.classes),cssClasses:b.classes.join(" "),shape:"rect",dir:b.dir,isGroup:!0,look:e.look,colorIndex:m.get(b.id),metadata:b.metadata})}this.getVertices().forEach((c)=>{if(S.has(c.id))return;this.addNodeFromVertex(c,a,l,k,e,e.look||"classic")});let Fe=this.getEdges();return Fe.forEach((c,b)=>{let{arrowTypeStart:ne,arrowTypeEnd:oe}=this.destructEdgeType(c.type),j=[...Fe.defaultStyle??[]],K=v.get(c.start)??c.start,Y=v.get(c.end)??c.end;if(K===Y&&(v.has(c.start)||v.has(c.end)))return;if(c.style)j.push(...c.style);let q={id:St(K,Y,{counter:b,prefix:"L"},c.id),isUserDefinedId:c.isUserDefinedId,start:K,end:Y,type:c.type??"normal",label:c.text,labelType:c.labelType,labelpos:"c",thickness:c.stroke,minlen:c.length,classes:c?.stroke==="invisible"?"":"edge-thickness-normal edge-pattern-solid flowchart-link",arrowTypeStart:c?.stroke==="invisible"||c?.type==="arrow_open"?"none":ne,arrowTypeEnd:c?.stroke==="invisible"||c?.type==="arrow_open"?"none":oe,arrowheadStyle:"fill: #333",cssCompiledStyles:this.getCompiledStyles(c.classes),labelStyle:j,style:j,pattern:c.stroke,look:e.look,animate:c.animate,animation:c.animation,curve:c.interpolate||this.edges.defaultInterpolate||e.flowchart?.curve};n.push(q)}),{nodes:a,edges:n,other:{},config:e}}defaultConfig(){return jr.flowchart}},A1=t(function(e,a){return a.db.getClasses()},"getClasses"),m1=t(async function(e,a,n,u){i.info("REF0:"),i.info("Drawing state diagram (v2)",a);let{securityLevel:l,flowchart:k,layout:h}=d();u.db.setDiagramId(a),i.debug("Before getData: ");let m=u.db.getData();i.debug("Data: ",m);let p=ze(a,l),G=u.db.getDirection();m.type=u.type,m.layoutAlgorithm=Ue(h),m.direction=G,m.nodeSpacing=k?.nodeSpacing||50,m.rankSpacing=k?.rankSpacing||50,m.markers=["point","circle","cross"],m.diagramId=a,i.debug("REF1:",m),await He(m,p);let y=m.config.flowchart?.diagramPadding??8;H.insertTitle(p,"flowchartTitleText",k?.titleTopMargin||0,u.db.getDiagramTitle()),Pe(p,y,"flowchart",k?.useMaxWidth||!1)},"draw"),C1={getClasses:A1,draw:m1},yt=function(){var e=t(function(ve,f,A,E){for(A=A||{},E=ve.length;E--;A[ve[E]]=f);return A},"o"),a=[1,4],n=[1,3],u=[1,5],l=[1,8,9,10,11,27,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],k=[2,2],h=[1,13],m=[1,14],p=[1,15],G=[1,16],y=[1,23],U=[1,25],T=[1,26],S=[1,27],v=[1,50],z=[1,49],Fe=[1,29],c=[1,30],b=[1,31],ne=[1,32],oe=[1,33],j=[1,45],K=[1,47],Y=[1,43],q=[1,48],Q=[1,44],J=[1,51],Z=[1,46],ee=[1,52],te=[1,53],rt=[1,34],at=[1,35],nt=[1,36],ut=[1,37],ot=[1,38],_e=[1,58],L=[1,8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],fe=[1,62],be=[1,61],ke=[1,63],Ge=[8,9,11,75,77,78],xt=[1,79],Oe=[1,92],We=[1,97],je=[1,96],Ke=[1,93],Ye=[1,89],qe=[1,95],Xe=[1,91],Qe=[1,98],Je=[1,94],Ze=[1,99],$e=[1,90],Le=[8,9,10,11,40,75,77,78],ie=[8,9,10,11,40,46,75,77,78],le=[8,9,10,11,29,40,44,46,48,50,52,54,56,58,60,63,65,67,68,70,75,77,78,89,102,105,106,109,111,114,115,116],Ft=[8,9,11,44,60,75,77,78,89,102,105,106,109,111,114,115,116],et=[44,60,89,102,105,106,109,111,114,115,116],_t=[1,122],Bt=[1,123],lt=[1,125],ht=[1,124],vt=[44,60,62,74,89,102,105,106,109,111,114,115,116],Lt=[1,134],Vt=[1,148],wt=[1,149],It=[1,150],Rt=[1,151],Nt=[1,136],Gt=[1,138],Pt=[1,142],Ot=[1,143],Mt=[1,144],Ut=[1,145],zt=[1,146],jt=[1,147],Kt=[1,152],Ht=[1,153],qt=[1,132],Xt=[1,133],Qt=[1,140],Jt=[1,135],Zt=[1,139],$t=[1,137],bt=[8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],e1=[1,155],t1=[1,157],W=[8,9,11],ce=[8,9,10,11,14,44,60,89,105,106,109,111,114,115,116],x=[1,177],re=[1,173],ae=[1,174],F=[1,178],_=[1,175],B=[1,176],tt=[77,116,119],V=[8,9,10,11,12,14,27,29,32,44,60,75,84,85,86,87,88,89,90,105,109,111,114,115,116],s1=[10,106],Be=[31,49,51,53,55,57,62,64,66,67,69,71,116,117,118],ge=[1,248],Ae=[1,246],me=[1,250],Ce=[1,244],Te=[1,245],Ee=[1,247],Se=[1,249],ye=[1,251],st=[1,269],i1=[8,9,11,106],pe=[8,9,10,11,60,84,105,106,109,110,111,112],kt={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,shapeData:39,SHAPE_DATA:40,link:41,node:42,styledVertex:43,AMP:44,vertex:45,STYLE_SEPARATOR:46,idString:47,DOUBLECIRCLESTART:48,DOUBLECIRCLEEND:49,PS:50,PE:51,"(-":52,"-)":53,STADIUMSTART:54,STADIUMEND:55,SUBROUTINESTART:56,SUBROUTINEEND:57,VERTEX_WITH_PROPS_START:58,"NODE_STRING[field]":59,COLON:60,"NODE_STRING[value]":61,PIPE:62,CYLINDERSTART:63,CYLINDEREND:64,DIAMOND_START:65,DIAMOND_STOP:66,TAGEND:67,TRAPSTART:68,TRAPEND:69,INVTRAPSTART:70,INVTRAPEND:71,linkStatement:72,arrowText:73,TESTSTR:74,START_LINK:75,edgeText:76,LINK:77,LINK_ID:78,edgeTextToken:79,STR:80,MD_STR:81,textToken:82,keywords:83,STYLE:84,LINKSTYLE:85,CLASSDEF:86,CLASS:87,CLICK:88,DOWN:89,UP:90,textNoTagsToken:91,stylesOpt:92,"idString[vertex]":93,"idString[class]":94,CALLBACKNAME:95,CALLBACKARGS:96,HREF:97,LINK_TARGET:98,"STR[link]":99,"STR[tooltip]":100,alphaNum:101,DEFAULT:102,numList:103,INTERPOLATE:104,NUM:105,COMMA:106,style:107,styleComponent:108,NODE_STRING:109,UNIT:110,BRKT:111,PCT:112,idStringToken:113,MINUS:114,MULT:115,UNICODE_TEXT:116,TEXT:117,TAGSTART:118,EDGE_TEXT:119,alphaNumToken:120,direction_tb:121,direction_bt:122,direction_rl:123,direction_lr:124,direction_td:125,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"NODIR",14:"DIR",27:"subgraph",29:"SQS",31:"SQE",32:"end",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",40:"SHAPE_DATA",44:"AMP",46:"STYLE_SEPARATOR",48:"DOUBLECIRCLESTART",49:"DOUBLECIRCLEEND",50:"PS",51:"PE",52:"(-",53:"-)",54:"STADIUMSTART",55:"STADIUMEND",56:"SUBROUTINESTART",57:"SUBROUTINEEND",58:"VERTEX_WITH_PROPS_START",59:"NODE_STRING[field]",60:"COLON",61:"NODE_STRING[value]",62:"PIPE",63:"CYLINDERSTART",64:"CYLINDEREND",65:"DIAMOND_START",66:"DIAMOND_STOP",67:"TAGEND",68:"TRAPSTART",69:"TRAPEND",70:"INVTRAPSTART",71:"INVTRAPEND",74:"TESTSTR",75:"START_LINK",77:"LINK",78:"LINK_ID",80:"STR",81:"MD_STR",84:"STYLE",85:"LINKSTYLE",86:"CLASSDEF",87:"CLASS",88:"CLICK",89:"DOWN",90:"UP",93:"idString[vertex]",94:"idString[class]",95:"CALLBACKNAME",96:"CALLBACKARGS",97:"HREF",98:"LINK_TARGET",99:"STR[link]",100:"STR[tooltip]",102:"DEFAULT",104:"INTERPOLATE",105:"NUM",106:"COMMA",109:"NODE_STRING",110:"UNIT",111:"BRKT",112:"PCT",114:"MINUS",115:"MULT",116:"UNICODE_TEXT",117:"TEXT",118:"TAGSTART",119:"EDGE_TEXT",121:"direction_tb",122:"direction_bt",123:"direction_rl",124:"direction_lr",125:"direction_td"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[39,2],[39,1],[20,4],[20,3],[20,4],[20,2],[20,2],[20,1],[42,1],[42,6],[42,5],[43,1],[43,3],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,8],[45,4],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,4],[45,4],[45,1],[41,2],[41,3],[41,3],[41,1],[41,3],[41,4],[76,1],[76,2],[76,1],[76,1],[72,1],[72,2],[73,3],[30,1],[30,2],[30,1],[30,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[103,1],[103,3],[92,1],[92,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[82,1],[82,1],[82,1],[82,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[79,1],[79,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[47,1],[47,2],[101,1],[101,2],[33,1],[33,1],[33,1],[33,1],[33,1]],performAction:t(function(f,A,E,o,w,s,Ve){var r=s.length-1;switch(w){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 183:this.$=s[r];break;case 11:o.setDirection("TB"),this.$="TB";break;case 12:o.setDirection(s[r-1]),this.$=s[r-1];break;case 27:this.$=s[r-1].nodes;break;case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 33:this.$=o.addSubGraph(s[r-6],s[r-1],s[r-4]);break;case 34:this.$=o.addSubGraph(s[r-3],s[r-1],s[r-3]);break;case 35:this.$=o.addSubGraph(void 0,s[r-1],void 0);break;case 37:this.$=s[r].trim(),o.setAccTitle(this.$);break;case 38:case 39:this.$=s[r].trim(),o.setAccDescription(this.$);break;case 43:this.$=s[r-1]+s[r];break;case 44:this.$=s[r];break;case 45:o.addVertex(s[r-1][s[r-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,s[r]),o.addLink(s[r-3].stmt,s[r-1],s[r-2]),this.$={stmt:s[r-1],nodes:s[r-1].concat(s[r-3].nodes)};break;case 46:o.addLink(s[r-2].stmt,s[r],s[r-1]),this.$={stmt:s[r],nodes:s[r].concat(s[r-2].nodes)};break;case 47:o.addLink(s[r-3].stmt,s[r-1],s[r-2]),this.$={stmt:s[r-1],nodes:s[r-1].concat(s[r-3].nodes)};break;case 48:this.$={stmt:s[r-1],nodes:s[r-1]};break;case 49:o.addVertex(s[r-1][s[r-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,s[r]),this.$={stmt:s[r-1],nodes:s[r-1],shapeData:s[r]};break;case 50:this.$={stmt:s[r],nodes:s[r]};break;case 51:this.$=[s[r]];break;case 52:o.addVertex(s[r-5][s[r-5].length-1],void 0,void 0,void 0,void 0,void 0,void 0,s[r-4]),this.$=s[r-5].concat(s[r]);break;case 53:this.$=s[r-4].concat(s[r]);break;case 54:this.$=s[r];break;case 55:this.$=s[r-2],o.setClass(s[r-2],s[r]);break;case 56:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"square");break;case 57:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"doublecircle");break;case 58:this.$=s[r-5],o.addVertex(s[r-5],s[r-2],"circle");break;case 59:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"ellipse");break;case 60:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"stadium");break;case 61:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"subroutine");break;case 62:this.$=s[r-7],o.addVertex(s[r-7],s[r-1],"rect",void 0,void 0,void 0,Object.fromEntries([[s[r-5],s[r-3]]]));break;case 63:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"cylinder");break;case 64:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"round");break;case 65:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"diamond");break;case 66:this.$=s[r-5],o.addVertex(s[r-5],s[r-2],"hexagon");break;case 67:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"odd");break;case 68:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"trapezoid");break;case 69:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"inv_trapezoid");break;case 70:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"lean_right");break;case 71:this.$=s[r-3],o.addVertex(s[r-3],s[r-1],"lean_left");break;case 72:this.$=s[r],o.addVertex(s[r]);break;case 73:s[r-1].text=s[r],this.$=s[r-1];break;case 74:case 75:s[r-2].text=s[r-1],this.$=s[r-2];break;case 76:this.$=s[r];break;case 77:var X=o.destructLink(s[r],s[r-2]);this.$={type:X.type,stroke:X.stroke,length:X.length,text:s[r-1]};break;case 78:var X=o.destructLink(s[r],s[r-2]);this.$={type:X.type,stroke:X.stroke,length:X.length,text:s[r-1],id:s[r-3]};break;case 79:this.$={text:s[r],type:"text"};break;case 80:this.$={text:s[r-1].text+""+s[r],type:s[r-1].type};break;case 81:this.$={text:s[r],type:"string"};break;case 82:this.$={text:s[r],type:"markdown"};break;case 83:var X=o.destructLink(s[r]);this.$={type:X.type,stroke:X.stroke,length:X.length};break;case 84:var X=o.destructLink(s[r]);this.$={type:X.type,stroke:X.stroke,length:X.length,id:s[r-1]};break;case 85:this.$=s[r-1];break;case 86:this.$={text:s[r],type:"text"};break;case 87:this.$={text:s[r-1].text+""+s[r],type:s[r-1].type};break;case 88:this.$={text:s[r],type:"string"};break;case 89:case 104:this.$={text:s[r],type:"markdown"};break;case 101:this.$={text:s[r],type:"text"};break;case 102:this.$={text:s[r-1].text+""+s[r],type:s[r-1].type};break;case 103:this.$={text:s[r],type:"text"};break;case 105:this.$=s[r-4],o.addClass(s[r-2],s[r]);break;case 106:this.$=s[r-4],o.setClass(s[r-2],s[r]);break;case 107:case 115:this.$=s[r-1],o.setClickEvent(s[r-1],s[r]);break;case 108:case 116:this.$=s[r-3],o.setClickEvent(s[r-3],s[r-2]),o.setTooltip(s[r-3],s[r]);break;case 109:this.$=s[r-2],o.setClickEvent(s[r-2],s[r-1],s[r]);break;case 110:this.$=s[r-4],o.setClickEvent(s[r-4],s[r-3],s[r-2]),o.setTooltip(s[r-4],s[r]);break;case 111:this.$=s[r-2],o.setLink(s[r-2],s[r]);break;case 112:this.$=s[r-4],o.setLink(s[r-4],s[r-2]),o.setTooltip(s[r-4],s[r]);break;case 113:this.$=s[r-4],o.setLink(s[r-4],s[r-2],s[r]);break;case 114:this.$=s[r-6],o.setLink(s[r-6],s[r-4],s[r]),o.setTooltip(s[r-6],s[r-2]);break;case 117:this.$=s[r-1],o.setLink(s[r-1],s[r]);break;case 118:this.$=s[r-3],o.setLink(s[r-3],s[r-2]),o.setTooltip(s[r-3],s[r]);break;case 119:this.$=s[r-3],o.setLink(s[r-3],s[r-2],s[r]);break;case 120:this.$=s[r-5],o.setLink(s[r-5],s[r-4],s[r]),o.setTooltip(s[r-5],s[r-2]);break;case 121:this.$=s[r-4],o.addVertex(s[r-2],void 0,void 0,s[r]);break;case 122:this.$=s[r-4],o.updateLink([s[r-2]],s[r]);break;case 123:this.$=s[r-4],o.updateLink(s[r-2],s[r]);break;case 124:this.$=s[r-8],o.updateLinkInterpolate([s[r-6]],s[r-2]),o.updateLink([s[r-6]],s[r]);break;case 125:this.$=s[r-8],o.updateLinkInterpolate(s[r-6],s[r-2]),o.updateLink(s[r-6],s[r]);break;case 126:this.$=s[r-6],o.updateLinkInterpolate([s[r-4]],s[r]);break;case 127:this.$=s[r-6],o.updateLinkInterpolate(s[r-4],s[r]);break;case 128:case 130:this.$=[s[r]];break;case 129:case 131:s[r-2].push(s[r]),this.$=s[r-2];break;case 133:this.$=s[r-1]+s[r];break;case 181:this.$=s[r];break;case 182:this.$=s[r-1]+""+s[r];break;case 184:this.$=s[r-1]+""+s[r];break;case 185:this.$={stmt:"dir",value:"TB"};break;case 186:this.$={stmt:"dir",value:"BT"};break;case 187:this.$={stmt:"dir",value:"RL"};break;case 188:this.$={stmt:"dir",value:"LR"};break;case 189:this.$={stmt:"dir",value:"TD"};break}},"anonymous"),table:[{3:1,4:2,9:a,10:n,12:u},{1:[3]},e(l,k,{5:6}),{4:7,9:a,10:n,12:u},{4:8,9:a,10:n,12:u},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:h,9:m,10:p,11:G,20:17,22:18,23:19,24:20,25:21,26:22,27:y,33:24,34:U,36:T,38:S,42:28,43:39,44:v,45:40,47:41,60:z,84:Fe,85:c,86:b,87:ne,88:oe,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te,121:rt,122:at,123:nt,124:ut,125:ot},e(l,[2,9]),e(l,[2,10]),e(l,[2,11]),{8:[1,55],9:[1,56],10:_e,15:54,18:57},e(L,[2,3]),e(L,[2,4]),e(L,[2,5]),e(L,[2,6]),e(L,[2,7]),e(L,[2,8]),{8:fe,9:be,11:ke,21:59,41:60,72:64,75:[1,65],77:[1,67],78:[1,66]},{8:fe,9:be,11:ke,21:68},{8:fe,9:be,11:ke,21:69},{8:fe,9:be,11:ke,21:70},{8:fe,9:be,11:ke,21:71},{8:fe,9:be,11:ke,21:72},{8:fe,9:be,10:[1,73],11:ke,21:74},e(L,[2,36]),{35:[1,75]},{37:[1,76]},e(L,[2,39]),e(Ge,[2,50],{18:77,39:78,10:_e,40:xt}),{10:[1,80]},{10:[1,81]},{10:[1,82]},{10:[1,83]},{14:Oe,44:We,60:je,80:[1,87],89:Ke,95:[1,84],97:[1,85],101:86,105:Ye,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e,120:88},e(L,[2,185]),e(L,[2,186]),e(L,[2,187]),e(L,[2,188]),e(L,[2,189]),e(Le,[2,51]),e(Le,[2,54],{46:[1,100]}),e(ie,[2,72],{113:113,29:[1,101],44:v,48:[1,102],50:[1,103],52:[1,104],54:[1,105],56:[1,106],58:[1,107],60:z,63:[1,108],65:[1,109],67:[1,110],68:[1,111],70:[1,112],89:j,102:K,105:Y,106:q,109:Q,111:J,114:Z,115:ee,116:te}),e(le,[2,181]),e(le,[2,142]),e(le,[2,143]),e(le,[2,144]),e(le,[2,145]),e(le,[2,146]),e(le,[2,147]),e(le,[2,148]),e(le,[2,149]),e(le,[2,150]),e(le,[2,151]),e(le,[2,152]),e(l,[2,12]),e(l,[2,18]),e(l,[2,19]),{9:[1,114]},e(Ft,[2,26],{18:115,10:_e}),e(L,[2,27]),{42:116,43:39,44:v,45:40,47:41,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},e(L,[2,40]),e(L,[2,41]),e(L,[2,42]),e(et,[2,76],{73:117,62:[1,119],74:[1,118]}),{76:120,79:121,80:_t,81:Bt,116:lt,119:ht},{75:[1,126],77:[1,127]},e(vt,[2,83]),e(L,[2,28]),e(L,[2,29]),e(L,[2,30]),e(L,[2,31]),e(L,[2,32]),{10:Lt,12:Vt,14:wt,27:It,28:128,32:Rt,44:Nt,60:Gt,75:Pt,80:[1,130],81:[1,131],83:141,84:Ot,85:Mt,86:Ut,87:zt,88:jt,89:Kt,90:Ht,91:129,105:qt,109:Xt,111:Qt,114:Jt,115:Zt,116:$t},e(bt,k,{5:154}),e(L,[2,37]),e(L,[2,38]),e(Ge,[2,48],{44:e1}),e(Ge,[2,49],{18:156,10:_e,40:t1}),e(Le,[2,44]),{44:v,47:158,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},{102:[1,159],103:160,105:[1,161]},{44:v,47:162,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},{44:v,47:163,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},e(W,[2,107],{10:[1,164],96:[1,165]}),{80:[1,166]},e(W,[2,115],{120:168,10:[1,167],14:Oe,44:We,60:je,89:Ke,105:Ye,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e}),e(W,[2,117],{10:[1,169]}),e(ce,[2,183]),e(ce,[2,170]),e(ce,[2,171]),e(ce,[2,172]),e(ce,[2,173]),e(ce,[2,174]),e(ce,[2,175]),e(ce,[2,176]),e(ce,[2,177]),e(ce,[2,178]),e(ce,[2,179]),e(ce,[2,180]),{44:v,47:170,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},{30:171,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{30:179,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{30:181,50:[1,180],67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{30:182,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{30:183,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{30:184,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{109:[1,185]},{30:186,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{30:187,65:[1,188],67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{30:189,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{30:190,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{30:191,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},e(le,[2,182]),e(l,[2,20]),e(Ft,[2,25]),e(Ge,[2,46],{39:192,18:193,10:_e,40:xt}),e(et,[2,73],{10:[1,194]}),{10:[1,195]},{30:196,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{77:[1,197],79:198,116:lt,119:ht},e(tt,[2,79]),e(tt,[2,81]),e(tt,[2,82]),e(tt,[2,168]),e(tt,[2,169]),{76:199,79:121,80:_t,81:Bt,116:lt,119:ht},e(vt,[2,84]),{8:fe,9:be,10:Lt,11:ke,12:Vt,14:wt,21:201,27:It,29:[1,200],32:Rt,44:Nt,60:Gt,75:Pt,83:141,84:Ot,85:Mt,86:Ut,87:zt,88:jt,89:Kt,90:Ht,91:202,105:qt,109:Xt,111:Qt,114:Jt,115:Zt,116:$t},e(V,[2,101]),e(V,[2,103]),e(V,[2,104]),e(V,[2,157]),e(V,[2,158]),e(V,[2,159]),e(V,[2,160]),e(V,[2,161]),e(V,[2,162]),e(V,[2,163]),e(V,[2,164]),e(V,[2,165]),e(V,[2,166]),e(V,[2,167]),e(V,[2,90]),e(V,[2,91]),e(V,[2,92]),e(V,[2,93]),e(V,[2,94]),e(V,[2,95]),e(V,[2,96]),e(V,[2,97]),e(V,[2,98]),e(V,[2,99]),e(V,[2,100]),{6:11,7:12,8:h,9:m,10:p,11:G,20:17,22:18,23:19,24:20,25:21,26:22,27:y,32:[1,203],33:24,34:U,36:T,38:S,42:28,43:39,44:v,45:40,47:41,60:z,84:Fe,85:c,86:b,87:ne,88:oe,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te,121:rt,122:at,123:nt,124:ut,125:ot},{10:_e,18:204},{44:[1,205]},e(Le,[2,43]),{10:[1,206],44:v,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:113,114:Z,115:ee,116:te},{10:[1,207]},{10:[1,208],106:[1,209]},e(s1,[2,128]),{10:[1,210],44:v,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:113,114:Z,115:ee,116:te},{10:[1,211],44:v,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:113,114:Z,115:ee,116:te},{80:[1,212]},e(W,[2,109],{10:[1,213]}),e(W,[2,111],{10:[1,214]}),{80:[1,215]},e(ce,[2,184]),{80:[1,216],98:[1,217]},e(Le,[2,55],{113:113,44:v,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,114:Z,115:ee,116:te}),{31:[1,218],67:x,82:219,116:F,117:_,118:B},e(Be,[2,86]),e(Be,[2,88]),e(Be,[2,89]),e(Be,[2,153]),e(Be,[2,154]),e(Be,[2,155]),e(Be,[2,156]),{49:[1,220],67:x,82:219,116:F,117:_,118:B},{30:221,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{51:[1,222],67:x,82:219,116:F,117:_,118:B},{53:[1,223],67:x,82:219,116:F,117:_,118:B},{55:[1,224],67:x,82:219,116:F,117:_,118:B},{57:[1,225],67:x,82:219,116:F,117:_,118:B},{60:[1,226]},{64:[1,227],67:x,82:219,116:F,117:_,118:B},{66:[1,228],67:x,82:219,116:F,117:_,118:B},{30:229,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},{31:[1,230],67:x,82:219,116:F,117:_,118:B},{67:x,69:[1,231],71:[1,232],82:219,116:F,117:_,118:B},{67:x,69:[1,234],71:[1,233],82:219,116:F,117:_,118:B},e(Ge,[2,45],{18:156,10:_e,40:t1}),e(Ge,[2,47],{44:e1}),e(et,[2,75]),e(et,[2,74]),{62:[1,235],67:x,82:219,116:F,117:_,118:B},e(et,[2,77]),e(tt,[2,80]),{77:[1,236],79:198,116:lt,119:ht},{30:237,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},e(bt,k,{5:238}),e(V,[2,102]),e(L,[2,35]),{43:239,44:v,45:40,47:41,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},{10:_e,18:240},{10:ge,60:Ae,84:me,92:241,105:Ce,107:242,108:243,109:Te,110:Ee,111:Se,112:ye},{10:ge,60:Ae,84:me,92:252,104:[1,253],105:Ce,107:242,108:243,109:Te,110:Ee,111:Se,112:ye},{10:ge,60:Ae,84:me,92:254,104:[1,255],105:Ce,107:242,108:243,109:Te,110:Ee,111:Se,112:ye},{105:[1,256]},{10:ge,60:Ae,84:me,92:257,105:Ce,107:242,108:243,109:Te,110:Ee,111:Se,112:ye},{44:v,47:258,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},e(W,[2,108]),{80:[1,259]},{80:[1,260],98:[1,261]},e(W,[2,116]),e(W,[2,118],{10:[1,262]}),e(W,[2,119]),e(ie,[2,56]),e(Be,[2,87]),e(ie,[2,57]),{51:[1,263],67:x,82:219,116:F,117:_,118:B},e(ie,[2,64]),e(ie,[2,59]),e(ie,[2,60]),e(ie,[2,61]),{109:[1,264]},e(ie,[2,63]),e(ie,[2,65]),{66:[1,265],67:x,82:219,116:F,117:_,118:B},e(ie,[2,67]),e(ie,[2,68]),e(ie,[2,70]),e(ie,[2,69]),e(ie,[2,71]),e([10,44,60,89,102,105,106,109,111,114,115,116],[2,85]),e(et,[2,78]),{31:[1,266],67:x,82:219,116:F,117:_,118:B},{6:11,7:12,8:h,9:m,10:p,11:G,20:17,22:18,23:19,24:20,25:21,26:22,27:y,32:[1,267],33:24,34:U,36:T,38:S,42:28,43:39,44:v,45:40,47:41,60:z,84:Fe,85:c,86:b,87:ne,88:oe,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te,121:rt,122:at,123:nt,124:ut,125:ot},e(Le,[2,53]),{43:268,44:v,45:40,47:41,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te},e(W,[2,121],{106:st}),e(i1,[2,130],{108:270,10:ge,60:Ae,84:me,105:Ce,109:Te,110:Ee,111:Se,112:ye}),e(pe,[2,132]),e(pe,[2,134]),e(pe,[2,135]),e(pe,[2,136]),e(pe,[2,137]),e(pe,[2,138]),e(pe,[2,139]),e(pe,[2,140]),e(pe,[2,141]),e(W,[2,122],{106:st}),{10:[1,271]},e(W,[2,123],{106:st}),{10:[1,272]},e(s1,[2,129]),e(W,[2,105],{106:st}),e(W,[2,106],{113:113,44:v,60:z,89:j,102:K,105:Y,106:q,109:Q,111:J,114:Z,115:ee,116:te}),e(W,[2,110]),e(W,[2,112],{10:[1,273]}),e(W,[2,113]),{98:[1,274]},{51:[1,275]},{62:[1,276]},{66:[1,277]},{8:fe,9:be,11:ke,21:278},e(L,[2,34]),e(Le,[2,52]),{10:ge,60:Ae,84:me,105:Ce,107:279,108:243,109:Te,110:Ee,111:Se,112:ye},e(pe,[2,133]),{14:Oe,44:We,60:je,89:Ke,101:280,105:Ye,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e,120:88},{14:Oe,44:We,60:je,89:Ke,101:281,105:Ye,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e,120:88},{98:[1,282]},e(W,[2,120]),e(ie,[2,58]),{30:283,67:x,80:re,81:ae,82:172,116:F,117:_,118:B},e(ie,[2,66]),e(bt,k,{5:284}),e(i1,[2,131],{108:270,10:ge,60:Ae,84:me,105:Ce,109:Te,110:Ee,111:Se,112:ye}),e(W,[2,126],{120:168,10:[1,285],14:Oe,44:We,60:je,89:Ke,105:Ye,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e}),e(W,[2,127],{120:168,10:[1,286],14:Oe,44:We,60:je,89:Ke,105:Ye,106:qe,109:Xe,111:Qe,114:Je,115:Ze,116:$e}),e(W,[2,114]),{31:[1,287],67:x,82:219,116:F,117:_,118:B},{6:11,7:12,8:h,9:m,10:p,11:G,20:17,22:18,23:19,24:20,25:21,26:22,27:y,32:[1,288],33:24,34:U,36:T,38:S,42:28,43:39,44:v,45:40,47:41,60:z,84:Fe,85:c,86:b,87:ne,88:oe,89:j,102:K,105:Y,106:q,109:Q,111:J,113:42,114:Z,115:ee,116:te,121:rt,122:at,123:nt,124:ut,125:ot},{10:ge,60:Ae,84:me,92:289,105:Ce,107:242,108:243,109:Te,110:Ee,111:Se,112:ye},{10:ge,60:Ae,84:me,92:290,105:Ce,107:242,108:243,109:Te,110:Ee,111:Se,112:ye},e(ie,[2,62]),e(L,[2,33]),e(W,[2,124],{106:st}),e(W,[2,125],{106:st})],defaultActions:{},parseError:t(function(f,A){if(A.recoverable)this.trace(f);else{var E=Error(f);throw E.hash=A,E}},"parseError"),parse:t(function(f){var A=this,E=[0],o=[],w=[null],s=[],Ve=this.table,r="",X=0,r1=0,a1=0,d1=2,n1=1,p1=s.slice.call(arguments,1),se=Object.create(this.lexer),we={yy:{}};for(var gt in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,gt))we.yy[gt]=this.yy[gt];if(se.setInput(f,we.yy),we.yy.lexer=se,we.yy.parser=this,typeof se.yylloc>"u")se.yylloc={};var At=se.yylloc;s.push(At);var f1=se.options&&se.options.ranges;if(typeof we.yy.parseError==="function")this.parseError=we.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function b1(de){E.length=E.length-2*de,w.length=w.length-de,s.length=s.length-de}t(b1,"popStack");function u1(){var de=o.pop()||se.lex()||n1;if(typeof de!=="number"){if(de instanceof Array)o=de,de=o.pop();de=A.symbols_[de]||de}return de}t(u1,"lex");var ue,mt,Re,he,y1,Ct,it={},pt,xe,o1,ft;while(!0){if(Re=E[E.length-1],this.defaultActions[Re])he=this.defaultActions[Re];else{if(ue===null||typeof ue>"u")ue=u1();he=Ve[Re]&&Ve[Re][ue]}if(typeof he>"u"||!he.length||!he[0]){var Et="";ft=[];for(pt in Ve[Re])if(this.terminals_[pt]&&pt>d1)ft.push("'"+this.terminals_[pt]+"'");if(se.showPosition)Et="Parse error on line "+(X+1)+`:
10
+ `+se.showPosition()+`
11
+ Expecting `+ft.join(", ")+", got '"+(this.terminals_[ue]||ue)+"'";else Et="Parse error on line "+(X+1)+": Unexpected "+(ue==n1?"end of input":"'"+(this.terminals_[ue]||ue)+"'");this.parseError(Et,{text:se.match,token:this.terminals_[ue]||ue,line:se.yylineno,loc:At,expected:ft})}if(he[0]instanceof Array&&he.length>1)throw Error("Parse Error: multiple actions possible at state: "+Re+", token: "+ue);switch(he[0]){case 1:if(E.push(ue),w.push(se.yytext),s.push(se.yylloc),E.push(he[1]),ue=null,!mt){if(r1=se.yyleng,r=se.yytext,X=se.yylineno,At=se.yylloc,a1>0)a1--}else ue=mt,mt=null;break;case 2:if(xe=this.productions_[he[1]][1],it.$=w[w.length-xe],it._$={first_line:s[s.length-(xe||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(xe||1)].first_column,last_column:s[s.length-1].last_column},f1)it._$.range=[s[s.length-(xe||1)].range[0],s[s.length-1].range[1]];if(Ct=this.performAction.apply(it,[r,r1,X,we.yy,he[1],w,s].concat(p1)),typeof Ct<"u")return Ct;if(xe)E=E.slice(0,-1*xe*2),w=w.slice(0,-1*xe),s=s.slice(0,-1*xe);E.push(this.productions_[he[1]][0]),w.push(it.$),s.push(it._$),o1=Ve[E[E.length-2]][E[E.length-1]],E.push(o1);break;case 3:return!0}}return!0},"parse")},h1=function(){var ve={EOF:1,parseError:t(function(A,E){if(this.yy.parser)this.yy.parser.parseError(A,E);else throw Error(A)},"parseError"),setInput:t(function(f,A){if(this.yy=A||this.yy||{},this._input=f,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 f=this._input[0];this.yytext+=f,this.yyleng++,this.offset++,this.match+=f,this.matched+=f;var A=f.match(/(?:\r\n?|\n).*/g);if(A)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),f},"input"),unput:t(function(f){var A=f.length,E=f.split(/(?:\r\n?|\n)/g);this._input=f+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-A),this.offset-=A;var o=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),E.length-1)this.yylineno-=E.length-1;var w=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:E?(E.length===o.length?this.yylloc.first_column:0)+o[o.length-E.length].length-E[0].length:this.yylloc.first_column-A},this.options.ranges)this.yylloc.range=[w[0],w[0]+this.yyleng-A];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).
12
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(f){this.unput(this.match.slice(f))},"less"),pastInput:t(function(){var f=this.matched.substr(0,this.matched.length-this.match.length);return(f.length>20?"...":"")+f.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var f=this.match;if(f.length<20)f+=this._input.substr(0,20-f.length);return(f.substr(0,20)+(f.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var f=this.pastInput(),A=Array(f.length+1).join("-");return f+this.upcomingInput()+`
13
+ `+A+"^"},"showPosition"),test_match:t(function(f,A){var E,o,w;if(this.options.backtrack_lexer){if(w={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)w.yylloc.range=this.yylloc.range.slice(0)}if(o=f[0].match(/(?:\r\n?|\n).*/g),o)this.yylineno+=o.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+f[0].length},this.yytext+=f[0],this.match+=f[0],this.matches=f,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(f[0].length),this.matched+=f[0],E=this.performAction.call(this,this.yy,this,A,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(E)return E;else if(this._backtrack){for(var s in w)this[s]=w[s];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var f,A,E,o;if(!this._more)this.yytext="",this.match="";var w=this._currentRules();for(var s=0;s<w.length;s++)if(E=this._input.match(this.rules[w[s]]),E&&(!A||E[0].length>A[0].length)){if(A=E,o=s,this.options.backtrack_lexer)if(f=this.test_match(E,w[s]),f!==!1)return f;else if(this._backtrack){A=!1;continue}else return!1;else if(!this.options.flex)break}if(A){if(f=this.test_match(A,w[o]),f!==!1)return f;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
14
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var A=this.next();if(A)return A;else return this.lex()},"lex"),begin:t(function(A){this.conditionStack.push(A)},"begin"),popState:t(function(){var A=this.conditionStack.length-1;if(A>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(A){if(A=this.conditionStack.length-1-Math.abs(A||0),A>=0)return this.conditionStack[A];else return"INITIAL"},"topState"),pushState:t(function(A){this.begin(A)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:t(function(A,E,o,w){var s=w;switch(o){case 0:return this.begin("acc_title"),34;break;case 1:return this.popState(),"acc_title_value";break;case 2:return this.begin("acc_descr"),36;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"),E.yytext="",40;break;case 8:return this.pushState("shapeDataStr"),40;break;case 9:return this.popState(),40;break;case 10:let Ve=/\n\s*/g;return E.yytext=E.yytext.replace(Ve,"<br/>"),40;break;case 11:return 40;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 95;case 17:this.popState();break;case 18:return 96;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 84;case 26:return 102;case 27:return 85;case 28:return 104;case 29:return 86;case 30:return 87;case 31:return 97;case 32:this.begin("click");break;case 33:this.popState();break;case 34:return 88;case 35:if(A.lex.firstGraph())this.begin("dir");return 12;case 36:if(A.lex.firstGraph())this.begin("dir");return 12;case 37:if(A.lex.firstGraph())this.begin("dir");return 12;case 38:if(A.lex.firstGraph())this.begin("dir");return 12;case 39:return 27;case 40:return 32;case 41:return 98;case 42:return 98;case 43:return 98;case 44:return 98;case 45:return this.popState(),13;break;case 46:return this.popState(),14;break;case 47:return this.popState(),14;break;case 48:return this.popState(),14;break;case 49:return this.popState(),14;break;case 50:return this.popState(),14;break;case 51:return this.popState(),14;break;case 52:return this.popState(),14;break;case 53:return this.popState(),14;break;case 54:return this.popState(),14;break;case 55:return this.popState(),14;break;case 56:return 121;case 57:return 122;case 58:return 123;case 59:return 124;case 60:return 125;case 61:return 78;case 62:return 105;case 63:return 111;case 64:return 46;case 65:return 60;case 66:return 44;case 67:return 8;case 68:return 106;case 69:return 115;case 70:return this.popState(),77;break;case 71:return this.pushState("edgeText"),75;break;case 72:return 119;case 73:return this.popState(),77;break;case 74:return this.pushState("thickEdgeText"),75;break;case 75:return 119;case 76:return this.popState(),77;break;case 77:return this.pushState("dottedEdgeText"),75;break;case 78:return 119;case 79:return 77;case 80:return this.popState(),53;break;case 81:return"TEXT";case 82:return this.pushState("ellipseText"),52;break;case 83:return this.popState(),55;break;case 84:return this.pushState("text"),54;break;case 85:return this.popState(),57;break;case 86:return this.pushState("text"),56;break;case 87:return 58;case 88:return this.pushState("text"),67;break;case 89:return this.popState(),64;break;case 90:return this.pushState("text"),63;break;case 91:return this.popState(),49;break;case 92:return this.pushState("text"),48;break;case 93:return this.popState(),69;break;case 94:return this.popState(),71;break;case 95:return 117;case 96:return this.pushState("trapText"),68;break;case 97:return this.pushState("trapText"),70;break;case 98:return 118;case 99:return 67;case 100:return 90;case 101:return"SEP";case 102:return 89;case 103:return 115;case 104:return 111;case 105:return 44;case 106:return 109;case 107:return 114;case 108:return 116;case 109:return this.popState(),62;break;case 110:return this.pushState("text"),62;break;case 111:return this.popState(),51;break;case 112:return this.pushState("text"),50;break;case 113:return this.popState(),31;break;case 114:return this.pushState("text"),29;break;case 115:return this.popState(),66;break;case 116:return this.pushState("text"),65;break;case 117:return"TEXT";case 118:return"QUOTE";case 119:return 9;case 120:return 10;case 121:return 11}},"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]*)/,/^(?:flowchart-elk\b)/,/^(?:swimlane-beta\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:.*direction\s+TD[^\n]*)/,/^(?:[^\s\"]+@(?=[^\{\"]))/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:[^\S\n\r]+)/,/^(?:$)/],conditions:{shapeDataEndBracket:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},shapeDataStr:{rules:[9,10,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},shapeData:{rules:[8,11,12,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},callbackargs:{rules:[17,18,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},callbackname:{rules:[14,15,16,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},href:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},click:{rules:[21,24,33,34,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},dottedEdgeText:{rules:[21,24,76,78,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},thickEdgeText:{rules:[21,24,73,75,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},edgeText:{rules:[21,24,70,72,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},trapText:{rules:[21,24,79,82,84,86,90,92,93,94,95,96,97,110,112,114,116],inclusive:!1},ellipseText:{rules:[21,24,79,80,81,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},text:{rules:[21,24,79,82,83,84,85,86,89,90,91,92,96,97,109,110,111,112,113,114,115,116,117],inclusive:!1},vertex:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},dir:{rules:[21,24,45,46,47,48,49,50,51,52,53,54,55,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_descr_multiline:{rules:[5,6,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_descr:{rules:[3,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_title:{rules:[1,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},md_string:{rules:[19,20,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},string:{rules:[21,22,23,24,79,82,84,86,90,92,96,97,110,112,114,116],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,44,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,73,74,76,77,79,82,84,86,87,88,90,92,96,97,98,99,100,101,102,103,104,105,106,107,108,110,112,114,116,118,119,120,121],inclusive:!0}}};return ve}();kt.lexer=h1;function dt(){this.yy={}}return t(dt,"Parser"),dt.prototype=kt,kt.Parser=dt,new dt}();yt.parser=yt;var l1=yt,c1=Object.assign({},l1);c1.parse=(e)=>{let a=e.replace(/}\s*\n/g,`}
15
+ `);return l1.parse(a)};var D1=c1,T1=t((e)=>{let{theme:a,bkgColorArray:n,borderColorArray:u}=e;if(!Ne(a,u))return"";let l=Me(e.look),k=De(n),h="";for(let m=0;m<Dt(e.THEME_COLOR_LIMIT,u);m++){let p=u[m%u.length],G=k?`fill: ${n[m%n.length]};`:"",y=`[data-look="${l}"][data-color-id="color-${m}"]`,U=t((S)=>`${y}.node ${S}, ${y}.rough-node ${S}`,"collapsedRule"),T=t((S)=>`${y}.swimlane.cluster .swimlane-title${S}, ${y}.swimlane.cluster .swimlane-body${S}`,"laneRule");h+=`
16
+
17
+ ${y}.cluster:not(.swimlane) rect {
18
+ stroke: ${p};
19
+ ${G}
20
+ }
21
+
22
+ ${y}.cluster:not(.swimlane) path {
23
+ stroke: ${p};
24
+ ${G}
25
+ }
26
+
27
+ /* Lane, classic and neo. */
28
+ ${y}.swimlane.cluster rect.swimlane-title,
29
+ ${y}.swimlane.cluster rect.swimlane-body {
30
+ stroke: ${p};
31
+ ${G}
32
+ }
33
+
34
+ /* Lane, handDrawn: roughjs emits the hachure fill first, then the outline. */
35
+ ${T(" path:nth-of-type(2)")} {
36
+ stroke: ${p};
37
+ }
38
+ ${k?`
39
+ /* A roughjs fill is drawn as lines, so the lane fill is a stroke here. */
40
+ ${T(" path:first-of-type")} {
41
+ stroke: ${n[m%n.length]};
42
+ }
43
+ `:""}
44
+ ${U(".collapsed-group")},
45
+ ${U(".collapsed-group path")} {
46
+ stroke: ${p};
47
+ ${G}
48
+ }
49
+
50
+ /* The ellipsis dots and the separator take clusterBorder further down, so without
51
+ these the container is palette-coloured while its own markers are not. */
52
+ ${U(".collapsed-indicator")} {
53
+ fill: ${p};
54
+ }
55
+
56
+ ${U(".collapsed-separator")} {
57
+ stroke: ${p};
58
+ }
59
+ `}return h},"genColor"),E1=t((e,a)=>{let n=$n,u=n(e,"r"),l=n(e,"g"),k=n(e,"b");return Ie(u,l,k,a)},"fade"),S1=t((e)=>`${T1(e)}
60
+ .label {
61
+ font-family: ${e.fontFamily};
62
+ color: ${e.nodeTextColor||e.textColor};
63
+ }
64
+ .cluster-label text {
65
+ fill: ${e.titleColor};
66
+ }
67
+ .cluster-label span {
68
+ color: ${e.titleColor};
69
+ }
70
+ .cluster-label span p {
71
+ background-color: transparent;
72
+ }
73
+
74
+ .label text,span {
75
+ fill: ${e.nodeTextColor||e.textColor};
76
+ color: ${e.nodeTextColor||e.textColor};
77
+ }
78
+
79
+ .node rect,
80
+ .node circle,
81
+ .node ellipse,
82
+ .node polygon,
83
+ .node path {
84
+ fill: ${e.mainBkg};
85
+ stroke: ${e.nodeBorder};
86
+ stroke-width: ${e.strokeWidth??1}px;
87
+ }
88
+ .rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {
89
+ text-anchor: middle;
90
+ }
91
+
92
+ .node .katex path {
93
+ fill: #000;
94
+ stroke: #000;
95
+ stroke-width: 1px;
96
+ }
97
+
98
+ .rough-node .label,.node .label, .image-shape .label, .icon-shape .label {
99
+ text-align: center;
100
+ }
101
+ .node.clickable {
102
+ cursor: pointer;
103
+ }
104
+
105
+
106
+ .root .anchor path {
107
+ fill: ${e.lineColor} !important;
108
+ stroke-width: 0;
109
+ stroke: ${e.lineColor};
110
+ }
111
+
112
+ .arrowheadPath {
113
+ fill: ${e.arrowheadColor};
114
+ }
115
+
116
+ .edgePaths .path {
117
+ stroke: ${e.lineColor};
118
+ stroke-width: ${e.strokeWidth??2}px;
119
+ }
120
+
121
+ .flowchart-link {
122
+ stroke: ${e.lineColor};
123
+ fill: none;
124
+ }
125
+
126
+ .edgeLabel {
127
+ background-color: ${e.edgeLabelBackground};
128
+ p {
129
+ background-color: ${e.edgeLabelBackground};
130
+ }
131
+ rect {
132
+ opacity: 0.5;
133
+ background-color: ${e.edgeLabelBackground};
134
+ fill: ${e.edgeLabelBackground};
135
+ }
136
+ text-align: center;
137
+ }
138
+
139
+ /* For html labels only */
140
+ .labelBkg {
141
+ background-color: ${E1(e.edgeLabelBackground,0.5)};
142
+ // background-color:
143
+ }
144
+
145
+ .cluster rect {
146
+ fill: ${e.clusterBkg};
147
+ stroke: ${e.clusterBorder};
148
+ stroke-width: 1px;
149
+ }
150
+
151
+ .cluster text {
152
+ fill: ${e.titleColor};
153
+ }
154
+
155
+ .cluster span {
156
+ color: ${e.titleColor};
157
+ }
158
+ /* .cluster div {
159
+ color: ${e.titleColor};
160
+ } */
161
+
162
+ /* Collapsed subgraph node (@{ view: collapsed }) */
163
+ .node .collapsed-indicator {
164
+ fill: ${e.clusterBorder};
165
+ stroke: none;
166
+ opacity: 0.6;
167
+ }
168
+
169
+ .node .collapsed-separator {
170
+ stroke: ${e.clusterBorder};
171
+ stroke-width: 0.75px;
172
+ }
173
+
174
+ div.mermaidTooltip {
175
+ position: absolute;
176
+ text-align: center;
177
+ max-width: 200px;
178
+ padding: 2px;
179
+ font-family: ${e.fontFamily};
180
+ font-size: 12px;
181
+ background: ${e.tertiaryColor};
182
+ border: 1px solid ${e.border2};
183
+ border-radius: 2px;
184
+ pointer-events: none;
185
+ z-index: 100;
186
+ }
187
+
188
+ .flowchartTitleText {
189
+ text-anchor: middle;
190
+ font-size: 18px;
191
+ fill: ${e.textColor};
192
+ }
193
+
194
+ rect.text {
195
+ fill: none;
196
+ stroke-width: 0;
197
+ }
198
+
199
+ .icon-shape, .image-shape {
200
+ background-color: ${e.edgeLabelBackground};
201
+ p {
202
+ background-color: ${e.edgeLabelBackground};
203
+ padding: 2px;
204
+ }
205
+ .label rect {
206
+ opacity: 0.5;
207
+ background-color: ${e.edgeLabelBackground};
208
+ fill: ${e.edgeLabelBackground};
209
+ }
210
+ text-align: center;
211
+ }
212
+ ${Tt()}
213
+ `,"getStyles"),Hs=S1,Us=t(({styles:e=Hs}={})=>({parser:D1,get db(){return new g1},renderer:C1,styles:e,init:t((a)=>{if(!a.flowchart)a.flowchart={};a.flowchart.arrowMarkerAbsolute=a.arrowMarkerAbsolute,br({flowchart:{arrowMarkerAbsolute:a.arrowMarkerAbsolute}})},"init")}),"createFlowDiagram"),Xc=Us();
214
+ export{Hs,Us,Xc};
Binary file
Binary file
@@ -0,0 +1,4 @@
1
+ import{t,i,d,B,Cn,Pc,fn,or,An,ha,sr}from"./chunk-tz4w2nh2.js";import{We,_t,Vt,nt,cn,Zn,oe,$e,tn,Qn,nn,$a,co,lo,po,Ir,wn,uo,Dr,wt,Or,Bn,kn,$r,Jn,Br,mo,fo,Ba,Ye,ho,Fr,er,zr,Fa,za,tr,go,Ha,vo,Mi,ln,Ua,yo,bo,xo,Pt,ja,qa,Hr,_o,Va,x,Gt,pn,Xe,nr,xe}from"./chunk-688a15p4.js";import{io,oo,ne,ia,bc,so,Oa}from"./chunk-k3qt0rx5.js";import{Tn}from"./chunk-4wpvkw6b.js";var pr={};Tn(pr,{default:()=>Z});var Wn=/\s/;function qn(r){var e=r.length;while(e--&&Wn.test(r.charAt(e)));return e}var ee=qn;var Hn=/^\s+/;function Kn(r){return r?r.slice(0,ee(r)+1).replace(Hn,""):r}var te=Kn;var ie=NaN,$n=/^[-+]0x[0-9a-f]+$/i,ro=/^0b[01]+$/i,eo=/^0o[0-7]+$/i,to=parseInt;function no(r){if(typeof r=="number")return r;if(cn(r))return ie;if($e(r)){var e=typeof r.valueOf=="function"?r.valueOf():r;r=$e(e)?e+"":e}if(typeof r!="string")return r===0?r:+r;r=te(r);var n=ro.test(r);return n||eo.test(r)?to(r.slice(2),n?2:8):$n.test(r)?ie:+r}var ae=no;var fe=1/0,ao=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000;function wo(r){if(!r)return r===0?r:0;if(r=ae(r),r===fe||r===-fe){var e=r<0?-1:1;return e*ao}return r===r?r:0}var V=wo;function Eo(r){var e=V(r),n=e%1;return e===e?n?e-n:e:0}var se=Eo;var ue=Object.create,Oo=function(){function r(){}return function(e){if(!$e(e))return{};if(ue)return ue(e);r.prototype=e;var n=new r;return r.prototype=void 0,n}}(),de=Oo;function Lo(r,e){var n=-1,o=r.length;e||(e=Array(o));while(++n<o)e[n]=r[n];return e}var dr=Lo;function Io(r,e,n){if(e=="__proto__"&&$a)$a(r,e,{configurable:!0,enumerable:!0,value:n,writable:!0});else r[e]=n}var R=Io;var So=Object.prototype,No=So.hasOwnProperty;function Po(r,e,n){var o=r[e];if(!(No.call(r,e)&&wn(o,n))||n===void 0&&!(e in r))R(r,e,n)}var M=Po;function ko(r,e,n,o){var a=!n;n||(n={});var f=-1,s=e.length;while(++f<s){var u=e[f],c=o?o(n[u],r[u],u,n,r):void 0;if(c===void 0)c=r[u];if(a)R(n,u,c);else M(n,u,c)}return n}var P=ko;function To(r,e,n){if(!$e(n))return!1;var o=typeof e;if(o=="number"?wt(n)&&Ir(e,n.length):o=="string"&&(e in n))return wn(n[e],r);return!1}var T=To;function Co(r){return Dr(function(e,n){var o=-1,a=n.length,f=a>1?n[a-1]:void 0,s=a>2?n[2]:void 0;if(f=r.length>3&&typeof f=="function"?(a--,f):void 0,s&&T(n[0],n[1],s))f=a<3?void 0:f,a=1;e=Object(e);while(++o<a){var u=n[o];if(u)r(e,u,o,f)}return e})}var ce=Co;function Ao(r){var e=[];if(r!=null)for(var n in Object(r))e.push(n);return e}var pe=Ao;var Ro=Object.prototype,Mo=Ro.hasOwnProperty;function jo(r){if(!$e(r))return pe(r);var e=Or(r),n=[];for(var o in r)if(!(o=="constructor"&&(e||!Mo.call(r,o))))n.push(o);return n}var le=jo;function Bo(r){return wt(r)?mo(r,!0):le(r)}var L=Bo;function Do(r){var e=r==null?0:r.length;return e?za(r,1):[]}var S=Do;function Fo(r){return co(uo(r,void 0,S),r+"")}var me=Fo;var Go=fo(Object.getPrototypeOf,Object),Y=Go;var Xo="[object Object]",Uo=Function.prototype,Vo=Object.prototype,he=Uo.toString,Yo=Vo.hasOwnProperty,zo=he.call(Object);function Wo(r){if(!nt(r)||Vt(r)!=Xo)return!1;var e=Y(r);if(e===null)return!0;var n=Yo.call(e,"constructor")&&e.constructor;return typeof n=="function"&&n instanceof n&&he.call(n)==zo}var ge=Wo;var qo="\\ud800-\\udfff",Ho="\\u0300-\\u036f",Ko="\\ufe20-\\ufe2f",Jo="\\u20d0-\\u20ff",Zo=Ho+Ko+Jo,$o="\\ufe0e\\ufe0f",Qo="\\u200d",ri=RegExp("["+Qo+qo+Zo+$o+"]");function ei(r){return ri.test(r)}var ve=ei;function ti(r,e){return r&&P(e,Ye(e),r)}var be=ti;function ni(r,e){return r&&P(e,L(e),r)}var ye=ni;var Oe=typeof pr=="object"&&pr&&!pr.nodeType&&pr,we=Oe&&typeof cr=="object"&&cr&&!cr.nodeType&&cr,oi=we&&we.exports===Oe,_e=oi?We.Buffer:void 0,Ee=_e?_e.allocUnsafe:void 0;function ii(r,e){if(e)return r.slice();var n=r.length,o=Ee?Ee(n):new r.constructor(n);return r.copy(o),o}var Z=ii;function ai(r,e){return P(r,Ha(r),e)}var Le=ai;var fi=Object.getOwnPropertySymbols,si=!fi?go:function(r){var e=[];while(r)Fa(e,Ha(r)),r=Y(r);return e},lr=si;function ui(r,e){return P(r,lr(r),e)}var Ie=ui;function di(r){return vo(r,L,lr)}var Se=di;var ci=Object.prototype,pi=ci.hasOwnProperty;function li(r){var e=r.length,n=new r.constructor(e);if(e&&typeof r[0]=="string"&&pi.call(r,"index"))n.index=r.index,n.input=r.input;return n}var Ne=li;function mi(r){var e=new r.constructor(r.byteLength);return new Ua(e).set(new Ua(r)),e}var z=mi;function hi(r,e){var n=e?z(r.buffer):r.buffer;return new r.constructor(n,r.byteOffset,r.byteLength)}var Pe=hi;var gi=/\w*$/;function vi(r){var e=new r.constructor(r.source,gi.exec(r));return e.lastIndex=r.lastIndex,e}var ke=vi;var Te=_t?_t.prototype:void 0,Ce=Te?Te.valueOf:void 0;function bi(r){return Ce?Object(Ce.call(r)):{}}var Ae=bi;function yi(r,e){var n=e?z(r.buffer):r.buffer;return new r.constructor(n,r.byteOffset,r.length)}var mr=yi;var wi="[object Boolean]",_i="[object Date]",Ei="[object Map]",xi="[object Number]",Oi="[object RegExp]",Li="[object Set]",Ii="[object String]",Si="[object Symbol]",Ni="[object ArrayBuffer]",Pi="[object DataView]",ki="[object Float32Array]",Ti="[object Float64Array]",Ci="[object Int8Array]",Ai="[object Int16Array]",Ri="[object Int32Array]",ji="[object Uint8Array]",Bi="[object Uint8ClampedArray]",Di="[object Uint16Array]",Fi="[object Uint32Array]";function Gi(r,e,n){var o=r.constructor;switch(e){case Ni:return z(r);case wi:case _i:return new o(+r);case Pi:return Pe(r,n);case ki:case Ti:case Ci:case Ai:case Ri:case ji:case Bi:case Di:case Fi:return mr(r,n);case Ei:return new o;case xi:case Ii:return new o(r);case Oi:return ke(r);case Li:return new o;case Si:return Ae(r)}}var Re=Gi;function Xi(r){return typeof r.constructor=="function"&&!Or(r)?de(Y(r)):{}}var hr=Xi;var Ui="[object Map]";function Vi(r){return nt(r)&&ln(r)==Ui}var Me=Vi;var je=Jn&&Jn.isMap,Yi=je?$r(je):Me,Be=Yi;var zi="[object Set]";function Wi(r){return nt(r)&&ln(r)==zi}var De=Wi;var Fe=Jn&&Jn.isSet,qi=Fe?$r(Fe):De,Ge=qi;var Hi=1,Ki=2,Ji=4,Ue="[object Arguments]",Zi="[object Array]",$i="[object Boolean]",Qi="[object Date]",ra="[object Error]",Ve="[object Function]",ea="[object GeneratorFunction]",ta="[object Map]",na="[object Number]",ze="[object Object]",oa="[object RegExp]",aa="[object Set]",fa="[object String]",sa="[object Symbol]",ua="[object WeakMap]",da="[object ArrayBuffer]",ca="[object DataView]",pa="[object Float32Array]",la="[object Float64Array]",ma="[object Int8Array]",ga="[object Int16Array]",va="[object Int32Array]",ba="[object Uint8Array]",ya="[object Uint8ClampedArray]",wa="[object Uint16Array]",_a="[object Uint32Array]",E={};E[Ue]=E[Zi]=E[da]=E[ca]=E[$i]=E[Qi]=E[pa]=E[la]=E[ma]=E[ga]=E[va]=E[ta]=E[na]=E[ze]=E[oa]=E[aa]=E[fa]=E[sa]=E[ba]=E[ya]=E[wa]=E[_a]=!0;E[ra]=E[Ve]=E[ua]=!1;function gr(r,e,n,o,a,f){var s,u=e&Hi,c=e&Ki,p=e&Ji;if(n)s=a?n(r,o,a,f):n(r);if(s!==void 0)return s;if(!$e(r))return r;var l=oe(r);if(l){if(s=Ne(r),!u)return dr(r,s)}else{var m=ln(r),h=m==Ve||m==ea;if(kn(r))return Z(r,u);if(m==ze||m==Ue||h&&!a){if(s=c||h?{}:hr(r),!u)return c?Ie(r,ye(s,r)):Le(r,be(s,r))}else{if(!E[m])return a?r:{};s=Re(r,m,u)}}f||(f=new tr);var v=f.get(r);if(v)return v;if(f.set(r,s),Ge(r))r.forEach(function(g){s.add(gr(g,e,n,g,r,f))});else if(Be(r))r.forEach(function(g,w){s.set(w,gr(g,e,n,w,r,f))});var y=p?c?Se:Mi:c?L:Ye,b=l?void 0:y(r);return lo(b||r,function(g,w){if(b)w=g,g=r[w];M(s,w,gr(g,e,n,w,r,f))}),s}var qe=gr;var Ea=1,xa=4;function La(r){return qe(r,Ea|xa)}var He=La;var Ia=function(){return We.Date.now()},xr=Ia;var Ke=Object.prototype,Sa=Ke.hasOwnProperty,Na=Dr(function(r,e){r=Object(r);var n=-1,o=e.length,a=o>2?e[2]:void 0;if(a&&T(e[0],e[1],a))o=1;while(++n<o){var f=e[n],s=L(f),u=-1,c=s.length;while(++u<c){var p=s[u],l=r[p];if(l===void 0||wn(l,Ke[p])&&!Sa.call(r,p))r[p]=f[p]}}return r}),Je=Na;function Pa(r,e,n){if(n!==void 0&&!wn(r[e],n)||n===void 0&&!(e in r))R(r,e,n)}var Q=Pa;function ka(r,e){if(e==="constructor"&&typeof r[e]==="function")return;if(e=="__proto__")return;return r[e]}var rr=ka;function Ta(r){return P(r,L(r))}var Ze=Ta;function Ca(r,e,n,o,a,f,s){var u=rr(r,n),c=rr(e,n),p=s.get(c);if(p){Q(r,n,p);return}var l=f?f(u,c,n+"",r,e,s):void 0,m=l===void 0;if(m){var h=oe(c),v=!h&&kn(c),y=!h&&!v&&Br(c);if(l=c,h||v||y)if(oe(u))l=u;else if(_o(u))l=dr(u);else if(v)m=!1,l=Z(c,!0);else if(y)m=!1,l=mr(c,!0);else l=[];else if(ge(c)||Bn(c)){if(l=u,Bn(u))l=Ze(u);else if(!$e(u)||Qn(u))l=hr(c)}else m=!1}if(m)s.set(c,l),a(l,c,o,f,s),s.delete(c);Q(r,n,l)}var Qe=Ca;function rt(r,e,n,o,a){if(r===e)return;ja(e,function(f,s){if(a||(a=new tr),$e(f))Qe(r,e,s,n,rt,o,a);else{var u=o?o(rr(r,s),f,s+"",r,e,a):void 0;if(u===void 0)u=f;Q(r,s,u)}},L)}var et=rt;function Aa(r){var e=r==null?0:r.length;return e?r[e-1]:void 0}var X=Aa;function Ra(r){return function(e,n,o){var a=Object(e);if(!wt(e)){var f=Pt(n,3);e=Ye(e),n=function(u){return f(a[u],u,a)}}var s=r(e,n,o);return s>-1?a[f?e[s]:s]:void 0}}var tt=Ra;var Ma=Math.max;function Da(r,e,n){var o=r==null?0:r.length;if(!o)return-1;var a=n==null?0:se(n);if(a<0)a=Ma(o+a,0);return po(r,Pt(e,3),a)}var ot=Da;var Ga=tt(ot),ir=Ga;function Xa(r,e){var n=-1,o=wt(r)?Array(r.length):[];return Hr(r,function(a,f,s){o[++n]=e(a,f,s)}),o}var vr=Xa;function Ya(r,e){var n=oe(r)?Zn:vr;return n(r,Pt(e,3))}var _=Ya;function Wa(r,e){return r==null?r:ja(r,Va(e),L)}var it=Wa;function Ka(r,e){return r&&qa(r,Va(e))}var at=Ka;function Ja(r,e){return r>e}var ft=Ja;var Za=Object.prototype,Qa=Za.hasOwnProperty;function rf(r,e){return r!=null&&Qa.call(r,e)}var st=rf;function ef(r,e){return r!=null&&yo(r,e,st)}var br=ef;var tf="[object String]";function nf(r){return typeof r=="string"||!oe(r)&&nt(r)&&Vt(r)==tf}var ut=nf;function of(r,e){return r<e}var yr=of;function af(r,e){var n={};return e=Pt(e,3),qa(r,function(o,a,f){R(n,a,e(o,a,f))}),n}var W=af;function ff(r,e,n){var o=-1,a=r.length;while(++o<a){var f=r[o],s=e(f);if(s!=null&&(u===void 0?s===s&&!cn(s):n(s,u)))var u=s,c=f}return c}var q=ff;function sf(r){return r&&r.length?q(r,tn,ft):void 0}var I=sf;var uf=ce(function(r,e,n){et(r,e,n)}),ar=uf;function df(r){return r&&r.length?q(r,tn,yr):void 0}var j=df;function cf(r,e){return r&&r.length?q(r,Pt(e,2),yr):void 0}var H=cf;function pf(r,e,n,o){if(!$e(r))return r;e=Fr(e,r);var a=-1,f=e.length,s=f-1,u=r;while(u!=null&&++a<f){var c=er(e[a]),p=n;if(c==="__proto__"||c==="constructor"||c==="prototype")return r;if(a!=s){var l=u[c];if(p=o?o(l,c,u):void 0,p===void 0)p=$e(l)?l:Ir(e[a+1])?[]:{}}M(u,c,p),u=u[c]}return r}var dt=pf;function lf(r,e,n){var o=-1,a=e.length,f={};while(++o<a){var s=e[o],u=zr(r,s);if(n(u,s))dt(f,Fr(s,r),u)}return f}var ct=lf;function mf(r,e){var n=r.length;r.sort(e);while(n--)r[n]=r[n].value;return r}var pt=mf;function hf(r,e){if(r!==e){var n=r!==void 0,o=r===null,a=r===r,f=cn(r),s=e!==void 0,u=e===null,c=e===e,p=cn(e);if(!u&&!p&&!f&&r>e||f&&s&&c&&!u&&!p||o&&s&&c||!n&&c||!a)return 1;if(!o&&!f&&!p&&r<e||p&&n&&a&&!o&&!f||u&&n&&a||!s&&a||!c)return-1}return 0}var lt=hf;function gf(r,e,n){var o=-1,a=r.criteria,f=e.criteria,s=a.length,u=n.length;while(++o<s){var c=lt(a[o],f[o]);if(c){if(o>=u)return c;var p=n[o];return c*(p=="desc"?-1:1)}}return r.index-e.index}var mt=gf;function vf(r,e,n){if(e.length)e=Zn(e,function(f){if(oe(f))return function(s){return zr(s,f.length===1?f[0]:f)};return f});else e=[tn];var o=-1;e=Zn(e,$r(Pt));var a=vr(r,function(f,s,u){var c=Zn(e,function(p){return p(f)});return{criteria:c,index:++o,value:f}});return pt(a,function(f,s){return mt(f,s,n)})}var ht=vf;var bf=xo("length"),gt=bf;var bt="\\ud800-\\udfff",yf="\\u0300-\\u036f",wf="\\ufe20-\\ufe2f",_f="\\u20d0-\\u20ff",Ef=yf+wf+_f,xf="\\ufe0e\\ufe0f",Of="["+bt+"]",Lr="["+Ef+"]",Sr="\\ud83c[\\udffb-\\udfff]",Lf="(?:"+Lr+"|"+Sr+")",yt="[^"+bt+"]",Et="(?:\\ud83c[\\udde6-\\uddff]){2}",xt="[\\ud800-\\udbff][\\udc00-\\udfff]",If="\\u200d",Ot=Lf+"?",Lt="["+xf+"]?",Sf="(?:"+If+"(?:"+[yt,Et,xt].join("|")+")"+Lt+Ot+")*",Nf=Lt+Ot+Sf,Pf="(?:"+[yt+Lr+"?",Lr,Et,xt,Of].join("|")+")",vt=RegExp(Sr+"(?="+Sr+")|"+Pf+Nf,"g");function kf(r){var e=vt.lastIndex=0;while(vt.test(r))++e;return e}var It=kf;function Tf(r){return ve(r)?It(r):gt(r)}var St=Tf;function Cf(r,e){return ct(r,e,function(n,o){return bo(r,o)})}var Nt=Cf;var Af=me(function(r,e){return r==null?{}:Nt(r,e)}),K=Af;var{ceil:Rf,max:Mf}=Math;function jf(r,e,n,o){var a=-1,f=Mf(Rf((e-r)/(n||1)),0),s=Array(f);while(f--)s[o?f:++a]=r,r+=n;return s}var kt=jf;function Bf(r){return function(e,n,o){if(o&&typeof o!="number"&&T(e,n,o))n=o=void 0;if(e=V(e),n===void 0)n=e,e=0;else n=V(n);return o=o===void 0?e<n?1:-1:V(o),kt(e,n,o,r)}}var Tt=Bf;var Df=Tt(),N=Df;var Ff="[object Map]",Gf="[object Set]";function Xf(r){if(r==null)return 0;if(wt(r))return ut(r)?St(r):r.length;var e=ln(r);if(e==Ff||e==Gf)return r.size;return Ba(r).length}var Ct=Xf;var Uf=Dr(function(r,e){if(r==null)return[];var n=e.length;if(n>1&&T(r,e[0],e[1]))e=[];else if(n>2&&T(e[0],e[1],e[2]))e=[e[0]];return ht(r,za(e,1),[])}),C=Uf;var Vf=0;function Yf(r){var e=++Vf;return ho(r)+e}var J=Yf;function zf(r,e,n){var o=-1,a=r.length,f=e.length,s={};while(++o<a){var u=o<f?e[o]:void 0;n(s,r[o],u)}return s}var At=zf;function Wf(r,e){return At(r||[],e||[],M)}var Nr=Wf;class Pr{constructor(){var r={};r._next=r._prev=r,this._sentinel=r}dequeue(){var r=this._sentinel,e=r._prev;if(e!==r)return Rt(e),e}enqueue(r){var e=this._sentinel;if(r._prev&&r._next)Rt(r);r._next=e._next,e._next._prev=r,e._next=r,r._prev=e}toString(){var r=[],e=this._sentinel,n=e._prev;while(n!==e)r.push(JSON.stringify(n,qf)),n=n._prev;return"["+r.join(", ")+"]"}}function Rt(r){r._prev._next=r._next,r._next._prev=r._prev,delete r._next,delete r._prev}function qf(r,e){if(r!=="_next"&&r!=="_prev")return e}var Hf=nn(1);function Mt(r,e){if(r.nodeCount()<=1)return[];var n=Jf(r,e||Hf),o=Kf(n.graph,n.buckets,n.zeroIdx);return S(_(o,function(a){return r.outEdges(a.v,a.w)}))}function Kf(r,e,n){var o=[],a=e[e.length-1],f=e[0],s;while(r.nodeCount()){while(s=f.dequeue())kr(r,e,n,s);while(s=a.dequeue())kr(r,e,n,s);if(r.nodeCount()){for(var u=e.length-2;u>0;--u)if(s=e[u].dequeue(),s){o=o.concat(kr(r,e,n,s,!0));break}}}return o}function kr(r,e,n,o,a){var f=a?[]:void 0;return x(r.inEdges(o.v),function(s){var u=r.edge(s),c=r.node(s.v);if(a)f.push({v:s.v,w:s.w});c.out-=u,Tr(e,n,c)}),x(r.outEdges(o.v),function(s){var u=r.edge(s),c=s.w,p=r.node(c);p.in-=u,Tr(e,n,p)}),r.removeNode(o.v),f}function Jf(r,e){var n=new xe,o=0,a=0;x(r.nodes(),function(u){n.setNode(u,{v:u,in:0,out:0})}),x(r.edges(),function(u){var c=n.edge(u.v,u.w)||0,p=e(u),l=c+p;n.setEdge(u.v,u.w,l),a=Math.max(a,n.node(u.v).out+=p),o=Math.max(o,n.node(u.w).in+=p)});var f=N(a+o+3).map(function(){return new Pr}),s=o+1;return x(n.nodes(),function(u){Tr(f,s,n.node(u))}),{graph:n,buckets:f,zeroIdx:s}}function Tr(r,e,n){if(!n.out)r[0].enqueue(n);else if(!n.in)r[r.length-1].enqueue(n);else r[n.out-n.in+e].enqueue(n)}function jt(r){var e=r.graph().acyclicer==="greedy"?Mt(r,n(r)):Zf(r);x(e,function(o){var a=r.edge(o);r.removeEdge(o),a.forwardName=o.name,a.reversed=!0,r.setEdge(o.w,o.v,a,J("rev"))});function n(o){return function(a){return o.edge(a).weight}}}function Zf(r){var e=[],n={},o={};function a(f){if(Object.prototype.hasOwnProperty.call(o,f))return;o[f]=!0,n[f]=!0,x(r.outEdges(f),function(s){if(Object.prototype.hasOwnProperty.call(n,s.w))e.push(s);else a(s.w)}),delete n[f]}return x(r.nodes(),a),e}function Bt(r){x(r.edges(),function(e){var n=r.edge(e);if(n.reversed){r.removeEdge(e);var o=n.forwardName;delete n.reversed,delete n.forwardName,r.setEdge(e.w,e.v,n,o)}})}function k(r,e,n,o){var a;do a=J(o);while(r.hasNode(a));return n.dummy=e,r.setNode(a,n),a}function Ft(r){var e=new xe().setGraph(r.graph());return x(r.nodes(),function(n){e.setNode(n,r.node(n))}),x(r.edges(),function(n){var o=e.edge(n.v,n.w)||{weight:0,minlen:1},a=r.edge(n);e.setEdge(n.v,n.w,{weight:o.weight+a.weight,minlen:Math.max(o.minlen,a.minlen)})}),e}function wr(r){var e=new xe({multigraph:r.isMultigraph()}).setGraph(r.graph());return x(r.nodes(),function(n){if(!r.children(n).length)e.setNode(n,r.node(n))}),x(r.edges(),function(n){e.setEdge(n,r.edge(n))}),e}function Cr(r,e){var{x:n,y:o}=r,a=e.x-n,f=e.y-o,s=r.width/2,u=r.height/2;if(!a&&!f)throw Error("Not possible to find intersection inside of the rectangle");var c,p;if(Math.abs(f)*s>Math.abs(a)*u){if(f<0)u=-u;c=u*a/f,p=u}else{if(a<0)s=-s;c=s,p=s*f/a}return{x:n+c,y:o+p}}function D(r){var e=_(N(Rr(r)+1),function(){return[]});return x(r.nodes(),function(n){var o=r.node(n),a=o.rank;if(!Xe(a))e[a][o.order]=n}),e}function Xt(r){var e=j(_(r.nodes(),function(n){return r.node(n).rank}));x(r.nodes(),function(n){var o=r.node(n);if(br(o,"rank"))o.rank-=e})}function Ut(r){var e=j(_(r.nodes(),function(f){return r.node(f).rank})),n=[];x(r.nodes(),function(f){var s=r.node(f).rank-e;if(!n[s])n[s]=[];n[s].push(f)});var o=0,a=r.graph().nodeRankFactor;x(n,function(f,s){if(Xe(f)&&s%a!==0)--o;else if(o)x(f,function(u){r.node(u).rank+=o})})}function Ar(r,e,n,o){var a={width:0,height:0};if(arguments.length>=4)a.rank=n,a.order=o;return k(r,"border",a,e)}function Rr(r){return I(_(r.nodes(),function(e){var n=r.node(e).rank;if(!Xe(n))return n}))}function Yt(r,e){var n={lhs:[],rhs:[]};return x(r,function(o){if(e(o))n.lhs.push(o);else n.rhs.push(o)}),n}function zt(r,e){var n=xr();try{return e()}finally{console.log(r+" time: "+(xr()-n)+"ms")}}function Wt(r,e){return e()}function Ht(r){function e(n){var o=r.children(n),a=r.node(n);if(o.length)x(o,e);if(Object.prototype.hasOwnProperty.call(a,"minRank")){a.borderLeft=[],a.borderRight=[];for(var f=a.minRank,s=a.maxRank+1;f<s;++f)qt(r,"borderLeft","_bl",n,a,f),qt(r,"borderRight","_br",n,a,f)}}x(r.children(),e)}function qt(r,e,n,o,a,f){var s={width:0,height:0,rank:f,borderType:e},u=a[e][f-1],c=k(r,"border",s,n);if(a[e][f]=c,r.setParent(c,o),u)r.setEdge(u,c,{weight:1})}function Jt(r){var e=r.graph().rankdir.toLowerCase();if(e==="lr"||e==="rl")$t(r)}function Zt(r){var e=r.graph().rankdir.toLowerCase();if(e==="bt"||e==="rl")$f(r);if(e==="lr"||e==="rl")Qf(r),$t(r)}function $t(r){x(r.nodes(),function(e){Kt(r.node(e))}),x(r.edges(),function(e){Kt(r.edge(e))})}function Kt(r){var e=r.width;r.width=r.height,r.height=e}function $f(r){x(r.nodes(),function(e){Mr(r.node(e))}),x(r.edges(),function(e){var n=r.edge(e);if(x(n.points,Mr),Object.prototype.hasOwnProperty.call(n,"y"))Mr(n)})}function Mr(r){r.y=-r.y}function Qf(r){x(r.nodes(),function(e){jr(r.node(e))}),x(r.edges(),function(e){var n=r.edge(e);if(x(n.points,jr),Object.prototype.hasOwnProperty.call(n,"x"))jr(n)})}function jr(r){var e=r.x;r.x=r.y,r.y=e}function Qt(r){r.graph().dummyChains=[],x(r.edges(),function(e){es(r,e)})}function es(r,e){var n=e.v,o=r.node(n).rank,a=e.w,f=r.node(a).rank,s=e.name,u=r.edge(e),c=u.labelRank;if(f===o+1)return;r.removeEdge(e);var p=void 0,l,m;for(m=0,++o;o<f;++m,++o){if(u.points=[],p={width:0,height:0,edgeLabel:u,edgeObj:e,rank:o},l=k(r,"edge",p,"_d"),o===c)p.width=u.width,p.height=u.height,p.dummy="edge-label",p.labelpos=u.labelpos;if(r.setEdge(n,l,{weight:u.weight},s),m===0)r.graph().dummyChains.push(l);n=l}r.setEdge(n,a,{weight:u.weight},s)}function rn(r){x(r.graph().dummyChains,function(e){var n=r.node(e),o=n.edgeLabel,a;r.setEdge(n.edgeObj,o);while(n.dummy){if(a=r.successors(e)[0],r.removeNode(e),o.points.push({x:n.x,y:n.y}),n.dummy==="edge-label")o.x=n.x,o.y=n.y,o.width=n.width,o.height=n.height;e=a,n=r.node(e)}})}function fr(r){var e={};function n(o){var a=r.node(o);if(Object.prototype.hasOwnProperty.call(e,o))return a.rank;e[o]=!0;var f=j(_(r.outEdges(o),function(s){return n(s.w)-r.edge(s).minlen}));if(f===Number.POSITIVE_INFINITY||f===void 0||f===null)f=0;return a.rank=f}x(r.sources(),n)}function U(r,e){return r.node(e.w).rank-r.node(e.v).rank-r.edge(e).minlen}function _r(r){var e=new xe({directed:!1}),n=r.nodes()[0],o=r.nodeCount();e.setNode(n,{});var a,f;while(ts(e,r)<o)a=ns(e,r),f=e.hasNode(a.v)?U(r,a):-U(r,a),os(e,r,f);return e}function ts(r,e){function n(o){x(e.nodeEdges(o),function(a){var f=a.v,s=o===f?a.w:f;if(!r.hasNode(s)&&!U(e,a))r.setNode(s,{}),r.setEdge(o,s,{}),n(s)})}return x(r.nodes(),n),r.nodeCount()}function ns(r,e){return H(e.edges(),function(n){if(r.hasNode(n.v)!==r.hasNode(n.w))return U(e,n)})}function os(r,e,n){x(r.nodes(),function(o){e.node(o).rank+=n})}var dh=nn(1);var vh=nn(1);Gr.CycleException=ur;function Gr(r){var e={},n={},o=[];function a(f){if(Object.prototype.hasOwnProperty.call(n,f))throw new ur;if(!Object.prototype.hasOwnProperty.call(e,f))n[f]=!0,e[f]=!0,x(r.predecessors(f),a),delete n[f],o.push(f)}if(x(r.sinks(),a),Ct(e)!==r.nodeCount())throw new ur;return o}function ur(){}ur.prototype=Error();function Er(r,e,n){if(!oe(e))e=[e];var o=(r.isDirected()?r.successors:r.neighbors).bind(r),a=[],f={};return x(e,function(s){if(!r.hasNode(s))throw Error("Graph does not have node: "+s);on(r,s,n==="post",f,o,a)}),a}function on(r,e,n,o,a,f){if(!Object.prototype.hasOwnProperty.call(o,e)){if(o[e]=!0,!n)f.push(e);if(x(a(e),function(s){on(r,s,n,o,a,f)}),n)f.push(e)}}function Xr(r,e){return Er(r,e,"post")}function Ur(r,e){return Er(r,e,"pre")}G.initLowLimValues=Yr;G.initCutValues=Vr;G.calcCutValue=sn;G.leaveEdge=dn;G.enterEdge=mn;G.exchangeEdges=hn;function G(r){r=Ft(r),fr(r);var e=_r(r);Yr(e),Vr(e,r);var n,o;while(n=dn(e))o=mn(e,r,n),hn(e,r,n,o)}function Vr(r,e){var n=Xr(r,r.nodes());n=n.slice(0,n.length-1),x(n,function(o){us(r,e,o)})}function us(r,e,n){var o=r.node(n),a=o.parent;r.edge(n,a).cutvalue=sn(r,e,n)}function sn(r,e,n){var o=r.node(n),a=o.parent,f=!0,s=e.edge(n,a),u=0;if(!s)f=!1,s=e.edge(a,n);return u=s.weight,x(e.nodeEdges(n),function(c){var p=c.v===n,l=p?c.w:c.v;if(l!==a){var m=p===f,h=e.edge(c).weight;if(u+=m?h:-h,cs(r,n,l)){var v=r.edge(n,l).cutvalue;u+=m?-v:v}}}),u}function Yr(r,e){if(arguments.length<2)e=r.nodes()[0];un(r,{},1,e)}function un(r,e,n,o,a){var f=n,s=r.node(o);if(e[o]=!0,x(r.neighbors(o),function(u){if(!Object.prototype.hasOwnProperty.call(e,u))n=un(r,e,n,u,o)}),s.low=f,s.lim=n++,a)s.parent=a;else delete s.parent;return n}function dn(r){return ir(r.edges(),function(e){return r.edge(e).cutvalue<0})}function mn(r,e,n){var{v:o,w:a}=n;if(!e.hasEdge(o,a))o=n.w,a=n.v;var f=r.node(o),s=r.node(a),u=f,c=!1;if(f.lim>s.lim)u=s,c=!0;var p=Gt(e.edges(),function(l){return c===an(r,r.node(l.v),u)&&c!==an(r,r.node(l.w),u)});return H(p,function(l){return U(e,l)})}function hn(r,e,n,o){var{v:a,w:f}=n;r.removeEdge(a,f),r.setEdge(o.v,o.w,{}),Yr(r),Vr(r,e),ds(r,e)}function ds(r,e){var n=ir(r.nodes(),function(a){return!e.node(a).parent}),o=Ur(r,n);o=o.slice(1),x(o,function(a){var f=r.node(a).parent,s=e.edge(a,f),u=!1;if(!s)s=e.edge(f,a),u=!0;e.node(a).rank=e.node(f).rank+(u?s.minlen:-s.minlen)})}function cs(r,e,n){return r.hasEdge(e,n)}function an(r,e,n){return n.low<=e.lim&&e.lim<=n.lim}function Wr(r){switch(r.graph().ranker){case"network-simplex":gn(r);break;case"tight-tree":ls(r);break;case"longest-path":ps(r);break;default:gn(r)}}var ps=fr;function ls(r){fr(r),_r(r)}function gn(r){G(r)}function vn(r){var e=k(r,"root",{},"_root"),n=ms(r),o=I(pn(n))-1,a=2*o+1;r.graph().nestingRoot=e,x(r.edges(),function(s){r.edge(s).minlen*=a});var f=hs(r)+1;x(r.children(),function(s){bn(r,e,a,f,o,n,s)}),r.graph().nodeRankFactor=a}function bn(r,e,n,o,a,f,s){var u=r.children(s);if(!u.length){if(s!==e)r.setEdge(e,s,{weight:0,minlen:n});return}var c=Ar(r,"_bt"),p=Ar(r,"_bb"),l=r.node(s);if(r.setParent(c,s),l.borderTop=c,r.setParent(p,s),l.borderBottom=p,x(u,function(m){bn(r,e,n,o,a,f,m);var h=r.node(m),v=h.borderTop?h.borderTop:m,y=h.borderBottom?h.borderBottom:m,b=h.borderTop?o:2*o,g=v!==y?1:a-f[s]+1;r.setEdge(c,v,{weight:b,minlen:g,nestingEdge:!0}),r.setEdge(y,p,{weight:b,minlen:g,nestingEdge:!0})}),!r.parent(s))r.setEdge(e,c,{weight:0,minlen:a+f[s]})}function ms(r){var e={};function n(o,a){var f=r.children(o);if(f&&f.length)x(f,function(s){n(s,a+1)});e[o]=a}return x(r.children(),function(o){n(o,1)}),e}function hs(r){return nr(r.edges(),function(e,n){return e+r.edge(n).weight},0)}function yn(r){var e=r.graph();r.removeNode(e.nestingRoot),delete e.nestingRoot,x(r.edges(),function(n){var o=r.edge(n);if(o.nestingEdge)r.removeEdge(n)})}function _n(r,e,n){var o={},a;x(n,function(f){var s=r.parent(f),u,c;while(s){if(u=r.parent(s),u)c=o[u],o[u]=s;else c=a,a=s;if(c&&c!==s){e.setEdge(c,s);return}s=u}})}function En(r,e,n){var o=vs(r),a=new xe({compound:!0}).setGraph({root:o}).setDefaultNodeLabel(function(f){return r.node(f)});return x(r.nodes(),function(f){var s=r.node(f),u=r.parent(f);if(s.rank===e||s.minRank<=e&&e<=s.maxRank){if(a.setNode(f),a.setParent(f,u||o),x(r[n](f),function(c){var p=c.v===f?c.w:c.v,l=a.edge(p,f),m=!Xe(l)?l.weight:0;a.setEdge(p,f,{weight:r.edge(c).weight+m})}),Object.prototype.hasOwnProperty.call(s,"minRank"))a.setNode(f,{borderLeft:s.borderLeft[e],borderRight:s.borderRight[e]})}}),a}function vs(r){var e;while(r.hasNode(e=J("_root")));return e}function xn(r,e){var n=0;for(var o=1;o<e.length;++o)n+=bs(r,e[o-1],e[o]);return n}function bs(r,e,n){var o=Nr(n,_(n,function(p,l){return l})),a=S(_(e,function(p){return C(_(r.outEdges(p),function(l){return{pos:o[l.w],weight:r.edge(l).weight}}),"pos")})),f=1;while(f<n.length)f<<=1;var s=2*f-1;f-=1;var u=_(Array(s),function(){return 0}),c=0;return x(a.forEach(function(p){var l=p.pos+f;u[l]+=p.weight;var m=0;while(l>0){if(l%2)m+=u[l+1];l=l-1>>1,u[l]+=p.weight}c+=p.weight*m})),c}function On(r){var e={},n=Gt(r.nodes(),function(u){return!r.children(u).length}),o=I(_(n,function(u){return r.node(u).rank})),a=_(N(o+1),function(){return[]});function f(u){if(br(e,u))return;e[u]=!0;var c=r.node(u);a[c.rank].push(u),x(r.successors(u),f)}var s=C(n,function(u){return r.node(u).rank});return x(s,f),a}function Ln(r,e){return _(e,function(n){var o=r.inEdges(n);if(!o.length)return{v:n};else{var a=nr(o,function(f,s){var u=r.edge(s),c=r.node(s.v);return{sum:f.sum+u.weight*c.order,weight:f.weight+u.weight}},{sum:0,weight:0});return{v:n,barycenter:a.sum/a.weight,weight:a.weight}}})}function In(r,e){var n={};x(r,function(a,f){var s=n[a.v]={indegree:0,in:[],out:[],vs:[a.v],i:f};if(!Xe(a.barycenter))s.barycenter=a.barycenter,s.weight=a.weight}),x(e.edges(),function(a){var f=n[a.v],s=n[a.w];if(!Xe(f)&&!Xe(s))s.indegree++,f.out.push(n[a.w])});var o=Gt(n,function(a){return!a.indegree});return ys(o)}function ys(r){var e=[];function n(f){return function(s){if(s.merged)return;if(Xe(s.barycenter)||Xe(f.barycenter)||s.barycenter>=f.barycenter)ws(f,s)}}function o(f){return function(s){if(s.in.push(f),--s.indegree===0)r.push(s)}}while(r.length){var a=r.pop();e.push(a),x(a.in.reverse(),n(a)),x(a.out,o(a))}return _(Gt(e,function(f){return!f.merged}),function(f){return K(f,["vs","i","barycenter","weight"])})}function ws(r,e){var n=0,o=0;if(r.weight)n+=r.barycenter*r.weight,o+=r.weight;if(e.weight)n+=e.barycenter*e.weight,o+=e.weight;r.vs=e.vs.concat(r.vs),r.barycenter=n/o,r.weight=o,r.i=Math.min(e.i,r.i),e.merged=!0}function Nn(r,e){var n=Yt(r,function(l){return Object.prototype.hasOwnProperty.call(l,"barycenter")}),o=n.lhs,a=C(n.rhs,function(l){return-l.i}),f=[],s=0,u=0,c=0;o.sort(_s(!!e)),c=Sn(f,a,c),x(o,function(l){c+=l.vs.length,f.push(l.vs),s+=l.barycenter*l.weight,u+=l.weight,c=Sn(f,a,c)});var p={vs:S(f)};if(u)p.barycenter=s/u,p.weight=u;return p}function Sn(r,e,n){var o;while(e.length&&(o=X(e)).i<=n)e.pop(),r.push(o.vs),n++;return n}function _s(r){return function(e,n){if(e.barycenter<n.barycenter)return-1;else if(e.barycenter>n.barycenter)return 1;return!r?e.i-n.i:n.i-e.i}}function qr(r,e,n,o){var a=r.children(e),f=r.node(e),s=f?f.borderLeft:void 0,u=f?f.borderRight:void 0,c={};if(s)a=Gt(a,function(y){return y!==s&&y!==u});var p=Ln(r,a);x(p,function(y){if(r.children(y.v).length){var b=qr(r,y.v,n,o);if(c[y.v]=b,Object.prototype.hasOwnProperty.call(b,"barycenter"))xs(y,b)}});var l=In(p,n);Es(l,c);var m=Nn(l,o);if(s){if(m.vs=S([s,m.vs,u]),r.predecessors(s).length){var h=r.node(r.predecessors(s)[0]),v=r.node(r.predecessors(u)[0]);if(!Object.prototype.hasOwnProperty.call(m,"barycenter"))m.barycenter=0,m.weight=0;m.barycenter=(m.barycenter*m.weight+h.order+v.order)/(m.weight+2),m.weight+=2}}return m}function Es(r,e){x(r,function(n){n.vs=S(n.vs.map(function(o){if(e[o])return e[o].vs;return o}))})}function xs(r,e){if(!Xe(r.barycenter))r.barycenter=(r.barycenter*r.weight+e.barycenter*e.weight)/(r.weight+e.weight),r.weight+=e.weight;else r.barycenter=e.barycenter,r.weight=e.weight}function Mn(r){var e=Rr(r),n=Pn(r,N(1,e+1),"inEdges"),o=Pn(r,N(e-1,-1,-1),"outEdges"),a=On(r);Rn(r,a);var f=Number.POSITIVE_INFINITY,s;for(var u=0,c=0;c<4;++u,++c){Os(u%2?n:o,u%4>=2),a=D(r);var p=xn(r,a);if(p<f)c=0,s=He(a),f=p}Rn(r,s)}function Pn(r,e,n){return _(e,function(o){return En(r,o,n)})}function Os(r,e){var n=new xe;x(r,function(o){var a=o.graph().root,f=qr(o,a,n,e);x(f.vs,function(s,u){o.node(s).order=u}),_n(o,n,f.vs)})}function Rn(r,e){x(e,function(n){x(n,function(o,a){r.node(o).order=a})})}function jn(r){var e=Is(r);x(r.graph().dummyChains,function(n){var o=r.node(n),a=o.edgeObj,f=Ls(r,e,a.v,a.w),{path:s,lca:u}=f,c=0,p=s[c],l=!0;while(n!==a.w){if(o=r.node(n),l){while((p=s[c])!==u&&r.node(p).maxRank<o.rank)c++;if(p===u)l=!1}if(!l){while(c<s.length-1&&r.node(p=s[c+1]).minRank<=o.rank)c++;p=s[c]}r.setParent(n,p),n=r.successors(n)[0]}})}function Ls(r,e,n,o){var a=[],f=[],s=Math.min(e[n].low,e[o].low),u=Math.max(e[n].lim,e[o].lim),c,p;c=n;do c=r.parent(c),a.push(c);while(c&&(e[c].low>s||u>e[c].lim));p=c,c=o;while((c=r.parent(c))!==p)f.push(c);return{path:a.concat(f.reverse()),lca:p}}function Is(r){var e={},n=0;function o(a){var f=n;x(r.children(a),o),e[a]={low:f,lim:n++}}return x(r.children(),o),e}function Ss(r,e){var n={};function o(a,f){var s=0,u=0,c=a.length,p=X(f);return x(f,function(l,m){var h=Ps(r,l),v=h?r.node(h).order:c;if(h||l===p)x(f.slice(u,m+1),function(y){x(r.predecessors(y),function(b){var g=r.node(b),w=g.order;if((w<s||v<w)&&!(g.dummy&&r.node(y).dummy))Dn(n,b,y)})}),u=m+1,s=v}),f}return nr(e,o),n}function Ns(r,e){var n={};function o(f,s,u,c,p){var l;x(N(s,u),function(m){if(l=f[m],r.node(l).dummy)x(r.predecessors(l),function(h){var v=r.node(h);if(v.dummy&&(v.order<c||v.order>p))Dn(n,h,l)})})}function a(f,s){var u=-1,c,p=0;return x(s,function(l,m){if(r.node(l).dummy==="border"){var h=r.predecessors(l);if(h.length)c=r.node(h[0]).order,o(s,p,m,u,c),p=m,u=c}o(s,p,s.length,c,f.length)}),s}return nr(e,a),n}function Ps(r,e){if(r.node(e).dummy)return ir(r.predecessors(e),function(n){return r.node(n).dummy})}function Dn(r,e,n){if(e>n){var o=e;e=n,n=o}if(!Object.prototype.hasOwnProperty.call(r,e))Object.defineProperty(r,e,{enumerable:!0,configurable:!0,value:{},writable:!0});var a=r[e];Object.defineProperty(a,n,{enumerable:!0,configurable:!0,value:!0,writable:!0})}function ks(r,e,n){if(e>n){var o=e;e=n,n=o}return!!r[e]&&Object.prototype.hasOwnProperty.call(r[e],n)}function Ts(r,e,n,o){var a={},f={},s={};return x(e,function(u){x(u,function(c,p){a[c]=c,f[c]=c,s[c]=p})}),x(e,function(u){var c=-1;x(u,function(p){var l=o(p);if(l.length){l=C(l,function(b){return s[b]});var m=(l.length-1)/2;for(var h=Math.floor(m),v=Math.ceil(m);h<=v;++h){var y=l[h];if(f[p]===p&&c<s[y]&&!ks(n,p,y))f[y]=p,f[p]=a[p]=a[y],c=s[y]}}})}),{root:a,align:f}}function Cs(r,e,n,o,a){var f={},s=As(r,e,n,a),u=a?"borderLeft":"borderRight";function c(m,h){var v=s.nodes(),y=v.pop(),b={};while(y){if(b[y])m(y);else b[y]=!0,v.push(y),v=v.concat(h(y));y=v.pop()}}function p(m){f[m]=s.inEdges(m).reduce(function(h,v){return Math.max(h,f[v.v]+s.edge(v))},0)}function l(m){var h=s.outEdges(m).reduce(function(y,b){return Math.min(y,f[b.w]-s.edge(b))},Number.POSITIVE_INFINITY),v=r.node(m);if(h!==Number.POSITIVE_INFINITY&&v.borderType!==u)f[m]=Math.max(f[m],h)}return c(p,s.predecessors.bind(s)),c(l,s.successors.bind(s)),x(o,function(m){f[m]=f[n[m]]}),f}function As(r,e,n,o){var a=new xe,f=r.graph(),s=Bs(f.nodesep,f.edgesep,o);return x(e,function(u){var c;x(u,function(p){var l=n[p];if(a.setNode(l),c){var m=n[c],h=a.edge(m,l);a.setEdge(m,l,Math.max(s(r,p,c),h||0))}c=p})}),a}function Rs(r,e){return H(pn(e),function(n){var{NEGATIVE_INFINITY:o,POSITIVE_INFINITY:a}=Number;return it(n,function(f,s){var u=Ds(r,s)/2;o=Math.max(f+u,o),a=Math.min(f-u,a)}),o-a})}function Ms(r,e){var n=pn(e),o=j(n),a=I(n);x(["u","d"],function(f){x(["l","r"],function(s){var u=f+s,c=r[u],p;if(c===e)return;var l=pn(c);if(p=s==="l"?o-j(l):a-I(l),p)r[u]=W(c,function(m){return m+p})})})}function js(r,e){return W(r.ul,function(n,o){if(e)return r[e.toLowerCase()][o];else{var a=C(_(r,o));return(a[1]+a[2])/2}})}function Fn(r){var e=D(r),n=ar(Ss(r,e),Ns(r,e)),o={},a;x(["u","d"],function(s){a=s==="u"?e:pn(e).reverse(),x(["l","r"],function(u){if(u==="r")a=_(a,function(m){return pn(m).reverse()});var c=(s==="u"?r.predecessors:r.successors).bind(r),p=Ts(r,a,n,c),l=Cs(r,a,p.root,p.align,u==="r");if(u==="r")l=W(l,function(m){return-m});o[s+u]=l})});var f=Rs(r,o);return Ms(o,f),js(o,r.graph().align)}function Bs(r,e,n){return function(o,a,f){var s=o.node(a),u=o.node(f),c=0,p;if(c+=s.width/2,Object.prototype.hasOwnProperty.call(s,"labelpos"))switch(s.labelpos.toLowerCase()){case"l":p=-s.width/2;break;case"r":p=s.width/2;break}if(p)c+=n?p:-p;if(p=0,c+=(s.dummy?e:r)/2,c+=(u.dummy?e:r)/2,c+=u.width/2,Object.prototype.hasOwnProperty.call(u,"labelpos"))switch(u.labelpos.toLowerCase()){case"l":p=u.width/2;break;case"r":p=-u.width/2;break}if(p)c+=n?p:-p;return p=0,c}}function Ds(r,e){return r.node(e).width}function Gn(r){r=wr(r),Fs(r),at(Fn(r),function(e,n){r.node(n).x=e})}function Fs(r){var e=D(r),n=r.graph().ranksep,o=0;x(e,function(a){var f=I(_(a,function(s){return r.node(s).height}));x(a,function(s){r.node(s).y=o+f/2}),o+=f+n})}function Zr(r,e){var n=e&&e.debugTiming?zt:Wt;n("layout",()=>{var o=n(" buildLayoutGraph",()=>Js(r));n(" runLayout",()=>Gs(o,n)),n(" updateInputGraph",()=>Xs(r,o))})}function Gs(r,e){e(" makeSpaceForEdgeLabels",()=>Zs(r)),e(" removeSelfEdges",()=>au(r)),e(" acyclic",()=>jt(r)),e(" nestingGraph.run",()=>vn(r)),e(" rank",()=>Wr(wr(r))),e(" injectEdgeLabelProxies",()=>$s(r)),e(" removeEmptyRanks",()=>Ut(r)),e(" nestingGraph.cleanup",()=>yn(r)),e(" normalizeRanks",()=>Xt(r)),e(" assignRankMinMax",()=>Qs(r)),e(" removeEdgeLabelProxies",()=>ru(r)),e(" normalize.run",()=>Qt(r)),e(" parentDummyChains",()=>jn(r)),e(" addBorderSegments",()=>Ht(r)),e(" order",()=>Mn(r)),e(" insertSelfEdges",()=>fu(r)),e(" adjustCoordinateSystem",()=>Jt(r)),e(" position",()=>Gn(r)),e(" positionSelfEdges",()=>su(r)),e(" removeBorderNodes",()=>iu(r)),e(" normalize.undo",()=>rn(r)),e(" fixupEdgeLabelCoords",()=>nu(r)),e(" undoCoordinateSystem",()=>Zt(r)),e(" translateGraph",()=>eu(r)),e(" assignNodeIntersects",()=>tu(r)),e(" reversePoints",()=>ou(r)),e(" acyclic.undo",()=>Bt(r))}function Xs(r,e){x(r.nodes(),function(n){var o=r.node(n),a=e.node(n);if(o){if(o.x=a.x,o.y=a.y,e.children(n).length)o.width=a.width,o.height=a.height}}),x(r.edges(),function(n){var o=r.edge(n),a=e.edge(n);if(o.points=a.points,Object.prototype.hasOwnProperty.call(a,"x"))o.x=a.x,o.y=a.y}),r.graph().width=e.graph().width,r.graph().height=e.graph().height}var Us=["nodesep","edgesep","ranksep","marginx","marginy"],Vs={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},Ys=["acyclicer","ranker","rankdir","align"],zs=["width","height"],Ws={width:0,height:0},qs=["minlen","weight","width","height","labeloffset"],Hs={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},Ks=["labelpos"];function Js(r){var e=new xe({multigraph:!0,compound:!0}),n=Jr(r.graph());return e.setGraph(ar({},Vs,Kr(n,Us),K(n,Ys))),x(r.nodes(),function(o){var a=Jr(r.node(o));e.setNode(o,Je(Kr(a,zs),Ws)),e.setParent(o,r.parent(o))}),x(r.edges(),function(o){var a=Jr(r.edge(o));e.setEdge(o,ar({},Hs,Kr(a,qs),K(a,Ks)))}),e}function Zs(r){var e=r.graph();e.ranksep/=2,x(r.edges(),function(n){var o=r.edge(n);if(o.minlen*=2,o.labelpos.toLowerCase()!=="c")if(e.rankdir==="TB"||e.rankdir==="BT")o.width+=o.labeloffset;else o.height+=o.labeloffset})}function $s(r){x(r.edges(),function(e){var n=r.edge(e);if(n.width&&n.height){var o=r.node(e.v),a=r.node(e.w),f={rank:(a.rank-o.rank)/2+o.rank,e};k(r,"edge-proxy",f,"_ep")}})}function Qs(r){var e=0;x(r.nodes(),function(n){var o=r.node(n);if(o.borderTop)o.minRank=r.node(o.borderTop).rank,o.maxRank=r.node(o.borderBottom).rank,e=I(e,o.maxRank)}),r.graph().maxRank=e}function ru(r){x(r.nodes(),function(e){var n=r.node(e);if(n.dummy==="edge-proxy")r.edge(n.e).labelRank=n.rank,r.removeNode(e)})}function eu(r){var e=Number.POSITIVE_INFINITY,n=0,o=Number.POSITIVE_INFINITY,a=0,f=r.graph(),s=f.marginx||0,u=f.marginy||0;function c(p){var{x:l,y:m,width:h,height:v}=p;e=Math.min(e,l-h/2),n=Math.max(n,l+h/2),o=Math.min(o,m-v/2),a=Math.max(a,m+v/2)}x(r.nodes(),function(p){c(r.node(p))}),x(r.edges(),function(p){var l=r.edge(p);if(Object.prototype.hasOwnProperty.call(l,"x"))c(l)}),e-=s,o-=u,x(r.nodes(),function(p){var l=r.node(p);l.x-=e,l.y-=o}),x(r.edges(),function(p){var l=r.edge(p);if(x(l.points,function(m){m.x-=e,m.y-=o}),Object.prototype.hasOwnProperty.call(l,"x"))l.x-=e;if(Object.prototype.hasOwnProperty.call(l,"y"))l.y-=o}),f.width=n-e+s,f.height=a-o+u}function tu(r){x(r.edges(),function(e){var n=r.edge(e),o=r.node(e.v),a=r.node(e.w),f,s;if(!n.points)n.points=[],f=a,s=o;else f=n.points[0],s=n.points[n.points.length-1];n.points.unshift(Cr(o,f)),n.points.push(Cr(a,s))})}function nu(r){x(r.edges(),function(e){var n=r.edge(e);if(Object.prototype.hasOwnProperty.call(n,"x")){if(n.labelpos==="l"||n.labelpos==="r")n.width-=n.labeloffset;switch(n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset;break}}})}function ou(r){x(r.edges(),function(e){var n=r.edge(e);if(n.reversed)n.points.reverse()})}function iu(r){x(r.nodes(),function(e){if(r.children(e).length){var n=r.node(e),o=r.node(n.borderTop),a=r.node(n.borderBottom),f=r.node(X(n.borderLeft)),s=r.node(X(n.borderRight));n.width=Math.abs(s.x-f.x),n.height=Math.abs(a.y-o.y),n.x=f.x+n.width/2,n.y=o.y+n.height/2}}),x(r.nodes(),function(e){if(r.node(e).dummy==="border")r.removeNode(e)})}function au(r){x(r.edges(),function(e){if(e.v===e.w){var n=r.node(e.v);if(!n.selfEdges)n.selfEdges=[];n.selfEdges.push({e,label:r.edge(e)}),r.removeEdge(e)}})}function fu(r){var e=D(r);x(e,function(n){var o=0;x(n,function(a,f){var s=r.node(a);s.order=f+o,x(s.selfEdges,function(u){k(r,"selfedge",{width:u.label.width,height:u.label.height,rank:s.rank,order:f+ ++o,e:u.e,label:u.label},"_se")}),delete s.selfEdges})})}function su(r){x(r.nodes(),function(e){var n=r.node(e);if(n.dummy==="selfedge"){var o=r.node(n.e.v),a=o.x+o.width/2,f=o.y,s=n.x-a,u=o.height/2;r.setEdge(n.e,n.label),r.removeNode(e),n.label.points=[{x:a+2*s/3,y:f-u},{x:a+5*s/6,y:f-u},{x:a+s,y:f},{x:a+5*s/6,y:f+u},{x:a+2*s/3,y:f+u}],n.label.x=n.x,n.label.y=n.y}})}function Kr(r,e){return W(K(r,e),Number)}function Jr(r){var e={};return x(r,function(n,o){e[o.toLowerCase()]=n}),e}var Xn=t((r,e,n)=>Math.max(e,Math.min(n,r)),"clamp"),Un=t((r="TB")=>{switch(r){case"BT":return"bottom";case"LR":return"right";case"RL":return"left";case"TB":default:return"top"}},"getDefaultSelfLoopSide"),uu=t((r)=>r==="flowchart"||r==="flowchart-v2"||r==="stateDiagram"||r==="er"||r==="classDiagram","shouldMergeSelfLoopSegments"),du=["x","y","width","height","labelBBox","intersect","calcIntersect","diff","clusterNode"],cu=t((r,e,n,o,a)=>{let f=[],s=new Set;if(n.forEach(({start:l,end:m})=>{if(l!==o)s.add(l);if(m!==o)s.add(m)}),s.forEach((l)=>{let m=r.node(l);if(typeof m?.x==="number"&&typeof m?.y==="number")f.push(m)}),f.length===0)n.forEach(({edge:l})=>{(l.points??[]).forEach((m)=>{if(typeof m?.x==="number"&&typeof m?.y==="number")f.push(m)})});if(f.length===0)return Un(a);let u=f.reduce((l,m)=>({x:l.x+m.x/f.length,y:l.y+m.y/f.length}),{x:0,y:0}),c=u.x-e.x,p=u.y-e.y;if(Math.abs(c)>Math.abs(p))return c>0?"right":"left";if(Math.abs(p)>0)return p>0?"bottom":"top";return Un(a)},"getSelfLoopSide"),pu=t((r,e="top",n=0,o=0)=>{let a=r.x,f=r.y-n,s=r.width/2,u=r.height/2,c=Math.max(36,Math.min(100,r.width*0.8)),p=Xn(Math.max(o,r.width*0.35),36,c),l=Xn(Math.min(r.width,r.height)*0.45,24,48);switch(e){case"bottom":{let m=f+u;return[{x:a-p/2,y:m},{x:a-p/2,y:m+l},{x:a+p/2,y:m+l},{x:a+p/2,y:m}]}case"right":{let m=a+s;return[{x:m,y:f-p/2},{x:m+l,y:f-p/2},{x:m+l,y:f+p/2},{x:m,y:f+p/2}]}case"left":{let m=a-s;return[{x:m,y:f-p/2},{x:m-l,y:f-p/2},{x:m-l,y:f+p/2},{x:m,y:f+p/2}]}case"top":default:{let m=f-u;return[{x:a-p/2,y:m},{x:a-p/2,y:m-l},{x:a+p/2,y:m-l},{x:a+p/2,y:m}]}}},"getSelfLoopPoints"),lu=t((r,e,n="top",o=0,a={})=>{let s=r.x,u=r.y-o,c=a.width??0,p=a.height??0;switch(n){case"bottom":return{x:s,y:Math.max(...e.map((l)=>l.y))+p/2+4};case"right":return{x:Math.max(...e.map((l)=>l.x))+c/2+4,y:u};case"left":return{x:Math.min(...e.map((l)=>l.x))-c/2-4,y:u};case"top":default:return{x:s,y:Math.min(...e.map((l)=>l.y))-p/2-4}}},"getSelfLoopLabelPosition"),gc=t((r,e=0,{mergeSelfLoops:n=!0}={})=>{let o=new Map,a=[],f=r.graph()?.rankdir;return r.edges().forEach((s)=>{let u=r.edge(s);if(n&&u.selfLoop){let c=u.selfLoop.id;if(!o.has(c))o.set(c,[]);o.get(c).push({edge:u,start:s.v,end:s.w})}else a.push({edge:u,start:s.v,end:s.w})}),o.forEach((s)=>{if(s.length!==3){s.forEach((w)=>a.push(w));return}s.sort((w,A)=>w.edge.selfLoop.order-A.edge.selfLoop.order);let[u,c,p]=s,l=u.edge.originalEdge??c.edge.originalEdge??p.edge.originalEdge??c.edge,m=r.node(l.start);if(!m){s.forEach((w)=>a.push(w));return}let h={width:c.edge.width,height:c.edge.height},v=cu(r,m,s,l.start,f),y=pu(m,v,e,h.width??0),b=lu(m,y,v,e,h),g={...c.edge,...l,id:l.id,points:y,start:l.start,end:l.end,x:b.x,y:b.y,width:h.width,height:h.height,labelStyle:c.edge.labelStyle,fromCluster:u.edge.fromCluster??c.edge.fromCluster??p.edge.fromCluster,toCluster:u.edge.toCluster??c.edge.toCluster??p.edge.toCluster};delete g.selfLoop,delete g.originalEdge,a.push({edge:g,start:g.start,end:g.end})}),a},"getEdgesToRender"),Yn=t(async({element:r,graph:e,diagramType:n,id:o,parentCluster:a,siteConfig:f})=>{let s=e.graph().rankdir;i.trace("Dir in recursive render - dir:",s);let{clusters:u,edgePaths:c,edgeLabels:p,nodes:l,rootGroups:m}=io(r,{edgePathsClass:"edgePaths"});if(!e.nodes())i.info("No nodes found for",e);else i.info("Recursive render XXX",e.nodes());if(e.edges().length>0)i.info("Recursive edges",e.edge(e.edges()[0]));let h=uu(n);await Promise.all(e.nodes().map(async function(b){let g=e.node(b);if(a!==void 0){let w=JSON.parse(JSON.stringify(a.clusterData));if(i.trace(`Setting data for parent cluster XXX
2
+ Node.id = `,b,`
3
+ data=`,w.height,`
4
+ Parent cluster`,a.height),e.setNode(a.id,w),!e.parent(b))i.trace("Setting parent",b,a.id),e.setParent(b,a.id,w)}if(i.info("(Insert) Node XXX"+b+": "+JSON.stringify(e.node(b))),g?.clusterNode){i.info("Cluster identified XBX",b,g.width,e.node(b));let{ranksep:w,nodesep:A}=e.graph();g.graph.setGraph({...g.graph.graph(),ranksep:w+25,nodesep:A});let Qr=await vu({element:l,graph:g.graph,diagramType:n,id:o,parentCluster:e.node(b),siteConfig:f}),re=Qr.elem;B(g,re),g.diff=Qr.diff||0,i.info("New compound node after recursive render XAX",b,"width",g.width,"height",g.height),Pc(re,g)}else if(e.children(b).length>0)i.trace("Cluster - the non recursive path XBX",b,g.id,g,g.width,"Graph:",e),i.trace(ia(g.id,e)),ne.set(g.id,{id:ia(g.id,e),node:g});else i.trace("Node - the non recursive path XAX",b,l,e.node(b),s),await oo(l,e.node(b),{config:f,dir:s})})),await t(async()=>{let b=e.edges().map(async function(g){let w=e.edge(g.v,g.w,g.name);if(i.info("Edge "+g.v+" -> "+g.w+": "+JSON.stringify(g)),i.info("Edge "+g.v+" -> "+g.w+": ",g," ",JSON.stringify(e.edge(g))),i.info("Fix",ne,"ids:",g.v,g.w,"Translating: ",ne.get(g.v),ne.get(g.w)),h&&w.selfLoop){if(w.selfLoop.order!==1)return;let A={...w.originalEdge,...w,id:w.selfLoop.id,startLabelLeft:w.originalEdge?.startLabelLeft??w.startLabelLeft,startLabelRight:w.originalEdge?.startLabelRight??w.startLabelRight,endLabelLeft:w.originalEdge?.endLabelLeft??w.endLabelLeft,endLabelRight:w.originalEdge?.endLabelRight??w.endLabelRight};await An(p,A),w.width=A.width,w.height=A.height,w.labelStyle=A.labelStyle;return}await An(p,w)});await Promise.all(b)},"processEdges")();let{subGraphTitleTotalMargin:y}=Cn(f);return{elem:m,graph:e,groups:{clusters:u,edgePaths:c,edgeLabels:p,nodes:l,rootGroups:m},diagramType:n,id:o,mergeSelfLoops:h,subGraphTitleTotalMargin:y}},"measureDagreGraph"),zn=t((r)=>{i.info("############################################# XXX"),i.info("### Layout ### XXX"),i.info("############################################# XXX"),Zr(r)},"runDagreGraphLayout"),mu=t((r,e,n)=>{let o=r.node(e);if(!o)return;let a={...o};if(o?.clusterNode)a.y=(o.y??0)+n;else if(r.children(e).length>0)a.height=(o.height??0)+n;else a.y=(o.y??0)+n/2;return a},"normalizeDagreNode"),Vn=t((r,e)=>{du.forEach((n)=>{if(e[n]!==void 0)r[n]=e[n]})},"applyDagreNodeLayout"),hu=t((r,e,n,o)=>({...r,start:r.start??e,end:r.end??n,points:(r.points??[]).map((a)=>({...a,y:typeof a.y==="number"?a.y+o:a.y}))}),"normalizeDagreEdge"),Kc=t((r,e)=>{let{graph:n,mergeSelfLoops:o,subGraphTitleTotalMargin:a=0}=e,f=new Map(r.nodes.map((u)=>[u.id,u]));so(n).forEach((u)=>{let c=mu(n,u,a);if(!c)return;Vn(n.node(u),c);let p=f.get(u);if(p)Vn(p,c)});let s=a/2;return r.edges=gc(n,s,{mergeSelfLoops:o}).map(({edge:u,start:c,end:p})=>hu(u,c,p,s)),r},"applyDagreLayoutResult"),gu=t(async({elem:r,graph:e,groups:{clusters:n,edgePaths:o},diagramType:a,id:f,mergeSelfLoops:s,subGraphTitleTotalMargin:u})=>{let c=0;await Promise.all(so(e).map(async function(m){let h=e.node(m);if(i.info("Position XBX => "+m+": ("+h.x,","+h.y,") width: ",h.width," height: ",h.height),h?.clusterNode)h.y+=u,i.info("A tainted cluster node XBX1",m,h.id,h.width,h.height,h.x,h.y,e.parent(m)),ne.get(h.id).node=h,fn(h);else if(e.children(m).length>0){i.info("A pure cluster node XBX1",m,h.id,h.x,h.y,h.width,h.height,e.parent(m)),h.height+=u,e.node(h.parentId);let v=h?.padding/2||0,y=h?.labelBBox?.height||0,b=y-v||0;i.debug("OffsetY",b,"labelHeight",y,"halfPadding",v),await or(n,h),ne.get(h.id).node=h}else{let v=e.node(h.parentId);h.y+=u/2,i.info("A regular node XBX1 - using the padding",h.id,"parent",h.parentId,h.width,h.height,h.x,h.y,"offsetY",h.offsetY,"parent",v,v?.offsetY,h),fn(h)}}));let p=u/2;return gc(e,p,{mergeSelfLoops:s}).forEach(function({edge:m,start:h,end:v}){i.info("Edge "+h+" -> "+v+": "+JSON.stringify(m),m),m.points.forEach((w)=>w.y+=p);let y=e.node(h),b=e.node(v),g=sr(o,m,ne,a,y,b,f);ha(m,g)}),e.nodes().forEach(function(m){let h=e.node(m);if(i.info(m,h.type,h.diff),h.isGroup)c=h.diff}),i.warn("Returning from recursive render XAX",r,c),{elem:r,diff:c}},"paintDagreLayoutCore"),vu=t(async(r)=>{let e=await Yn(r);return zn(e.graph),await gu(e)},"renderDagreSubgraph"),vc=t((r)=>{let e=new xe({multigraph:!0,compound:!0}).setGraph({rankdir:r.direction,nodesep:r.config?.nodeSpacing||r.nodeSpacing||r.config?.flowchart?.nodeSpacing,ranksep:r.config?.rankSpacing||r.rankSpacing||r.config?.flowchart?.rankSpacing,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});return r.nodes.forEach((n)=>{if(e.setNode(n.id,{...n}),n.parentId)e.setParent(n.id,n.parentId)}),i.debug("Edges:",r.edges),r.edges.forEach((n)=>{if(n.start===n.end){let o=n.start,a=o+"---"+o+"---1",f=o+"---"+o+"---2",s=e.node(o);e.setNode(a,{domId:a,id:a,parentId:s.parentId,labelStyle:"",label:"",padding:0,shape:"labelRect",style:"",width:10,height:10}),e.setParent(a,s.parentId),e.setNode(f,{domId:f,id:f,parentId:s.parentId,labelStyle:"",padding:0,shape:"labelRect",label:"",style:"",width:10,height:10}),e.setParent(f,s.parentId);let u=structuredClone(n),c=structuredClone(n),p=structuredClone(n),l=structuredClone(n);if(c.originalEdge=u,c.selfLoop={id:u.id,order:0},p.originalEdge=u,p.selfLoop={id:u.id,order:1},l.originalEdge=u,l.selfLoop={id:u.id,order:2},c.label="",c.arrowTypeEnd="none",c.endLabelLeft="",c.endLabelRight="",c.startLabelLeft="",c.id=o+"-cyclic-special-1",p.startLabelRight="",p.startLabelLeft="",p.endLabelLeft="",p.endLabelRight="",p.arrowTypeStart="none",p.arrowTypeEnd="none",p.id=o+"-cyclic-special-mid",l.label="",l.startLabelRight="",l.startLabelLeft="",l.arrowTypeStart="none",s.isGroup)c.fromCluster=o,l.toCluster=o;l.id=o+"-cyclic-special-2",l.arrowTypeStart="none",e.setEdge(o,a,c,o+"-cyclic-special-0"),e.setEdge(a,f,p,o+"-cyclic-special-1"),e.setEdge(f,o,l,o+"-cyclic-special-2")}else e.setEdge(n.start,n.end,{...n},n.id)}),bc(e),{graph:e}},"prepareLayoutForDagre"),Zc=t(async(r,{element:e,preparedLayout:n})=>{let o=n??vc(r),a=d(),f=await Yn({element:e,graph:o.graph,diagramType:r.type,id:r.diagramId,parentCluster:void 0,siteConfig:a});return o.measuredLayout=f,f},"measureDagreLayout"),Qc=t((r,e)=>{let n=e.preparedLayout?.measuredLayout;if(!n)throw Error("runDagreLayoutCore requires measureDagreLayout to run first");return zn(n.graph),Kc(r,n),n},"runDagreLayoutCore"),bu=t((r,{measure:e})=>so(e.graph).map((n)=>e.graph.node(n)).filter(Boolean),"getDagrePaintNodes"),yu=t((r,e,{measure:n})=>r?n.graph.node(r):void 0,"getDagreEdgeNode"),yc=Oa({prepareLayout:vc,measureLayout:Zc,runLayoutCore:Qc,paintOptions:{clusterDb:ne,getNodes:bu,getEdgeNode:yu,skipNode:t((r,{measure:e})=>!e.graph.hasNode(r.id),"skipNode"),isCluster:t((r,{measure:e})=>e.graph.hasNode(r.id)&&(e.graph.children(r.id)??[]).length>0,"isCluster")}});export{gc,Kc,vc,Zc,Qc,yc};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{Ms}from"./chunk-2gfgrjy6.js";export{Ms as createTreemapServices};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{t,i,g}from"./chunk-tz4w2nh2.js";import{hn,si}from"./chunk-q7krdwy7.js";import{Qe,Je}from"./chunk-4wpvkw6b.js";var k=Je(function(F,Y){(function(f,r){if(typeof F==="object"&&typeof Y==="object")Y.exports=r(si());else if(typeof define==="function"&&define.amd)define(["cose-base"],r);else if(typeof F==="object")F.cytoscapeCoseBilkent=r(si());else f.cytoscapeCoseBilkent=r(f.coseBase)})(F,function(u){return function(f){var r={};function n(o){if(r[o])return r[o].exports;var d=r[o]={i:o,l:!1,exports:{}};return f[o].call(d.exports,d,d.exports,n),d.l=!0,d.exports}return n.m=f,n.c=r,n.i=function(o){return o},n.d=function(o,d,l){if(!n.o(o,d))Object.defineProperty(o,d,{configurable:!1,enumerable:!0,get:l})},n.n=function(o){var d=o&&o.__esModule?function(){return o.default}:function(){return o};return n.d(d,"a",d),d},n.o=function(o,d){return Object.prototype.hasOwnProperty.call(o,d)},n.p="",n(n.s=1)}([function(f,r){f.exports=u},function(f,r,n){var o=n(0).layoutBase.LayoutConstants,d=n(0).layoutBase.FDLayoutConstants,l=n(0).CoSEConstants,L=n(0).CoSELayout,b=n(0).CoSENode,H=n(0).layoutBase.PointD,v=n(0).layoutBase.DimensionD,_={ready:function(){},stop:function(){},quality:"default",nodeDimensionsIncludeLabels:!1,refresh:30,fit:!0,padding:10,randomize:!0,nodeRepulsion:4500,idealEdgeLength:50,edgeElasticity:0.45,nestingFactor:0.1,gravity:0.25,numIter:2500,tile:!0,animate:"end",animationDuration:500,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:0.5};function D(p,e){var y={};for(var s in p)y[s]=p[s];for(var s in e)y[s]=e[s];return y}function I(p){this.options=D(_,p),U(this.options)}var U=function(e){if(e.nodeRepulsion!=null)l.DEFAULT_REPULSION_STRENGTH=d.DEFAULT_REPULSION_STRENGTH=e.nodeRepulsion;if(e.idealEdgeLength!=null)l.DEFAULT_EDGE_LENGTH=d.DEFAULT_EDGE_LENGTH=e.idealEdgeLength;if(e.edgeElasticity!=null)l.DEFAULT_SPRING_STRENGTH=d.DEFAULT_SPRING_STRENGTH=e.edgeElasticity;if(e.nestingFactor!=null)l.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=d.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=e.nestingFactor;if(e.gravity!=null)l.DEFAULT_GRAVITY_STRENGTH=d.DEFAULT_GRAVITY_STRENGTH=e.gravity;if(e.numIter!=null)l.MAX_ITERATIONS=d.MAX_ITERATIONS=e.numIter;if(e.gravityRange!=null)l.DEFAULT_GRAVITY_RANGE_FACTOR=d.DEFAULT_GRAVITY_RANGE_FACTOR=e.gravityRange;if(e.gravityCompound!=null)l.DEFAULT_COMPOUND_GRAVITY_STRENGTH=d.DEFAULT_COMPOUND_GRAVITY_STRENGTH=e.gravityCompound;if(e.gravityRangeCompound!=null)l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=d.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=e.gravityRangeCompound;if(e.initialEnergyOnIncremental!=null)l.DEFAULT_COOLING_FACTOR_INCREMENTAL=d.DEFAULT_COOLING_FACTOR_INCREMENTAL=e.initialEnergyOnIncremental;if(e.quality=="draft")o.QUALITY=0;else if(e.quality=="proof")o.QUALITY=2;else o.QUALITY=1;l.NODE_DIMENSIONS_INCLUDE_LABELS=d.NODE_DIMENSIONS_INCLUDE_LABELS=o.NODE_DIMENSIONS_INCLUDE_LABELS=e.nodeDimensionsIncludeLabels,l.DEFAULT_INCREMENTAL=d.DEFAULT_INCREMENTAL=o.DEFAULT_INCREMENTAL=!e.randomize,l.ANIMATE=d.ANIMATE=o.ANIMATE=e.animate,l.TILE=e.tile,l.TILING_PADDING_VERTICAL=typeof e.tilingPaddingVertical==="function"?e.tilingPaddingVertical.call():e.tilingPaddingVertical,l.TILING_PADDING_HORIZONTAL=typeof e.tilingPaddingHorizontal==="function"?e.tilingPaddingHorizontal.call():e.tilingPaddingHorizontal};I.prototype.run=function(){var p,e,y=this.options,s=this.idToLNode={},c=this.layout=new L,a=this;a.stopped=!1,this.cy=this.options.cy,this.cy.trigger({type:"layoutstart",layout:this});var E=c.newGraphManager();this.gm=E;var T=this.options.eles.nodes(),m=this.options.eles.edges();this.root=E.addRoot(),this.processChildrenList(this.root,this.getTopMostNodes(T),c);for(var h=0;h<m.length;h++){var P=m[h],x=this.idToLNode[P.data("source")],O=this.idToLNode[P.data("target")];if(x!==O&&x.getEdgesBetween(O).length==0){var et=E.add(c.newEdge(),x,O);et.id=P.id()}}var V=function(R,B){if(typeof R==="number")R=B;var C=R.data("id"),G=a.idToLNode[C];return{x:G.getRect().getCenterX(),y:G.getRect().getCenterY()}},nt=function X(){var R=function(){if(y.fit)y.cy.fit(y.eles,y.padding);if(!p)p=!0,a.cy.one("layoutready",y.ready),a.cy.trigger({type:"layoutready",layout:a})},B=a.options.refresh,C;for(var G=0;G<B&&!C;G++)C=a.stopped||a.layout.tick();if(C){if(c.checkLayoutSuccess()&&!c.isSubLayout)c.doPostLayout();if(c.tilingPostLayout)c.tilingPostLayout();if(c.isLayoutFinished=!0,a.options.eles.nodes().positions(V),R(),a.cy.one("layoutstop",a.options.stop),a.cy.trigger({type:"layoutstop",layout:a}),e)cancelAnimationFrame(e);p=!1;return}var M=a.layout.getPositionsData();y.eles.nodes().positions(function(A,it){if(typeof A==="number")A=it;if(!A.isParent()){var j=A.id(),N=M[j],w=A;while(N==null)if(N=M[w.data("parent")]||M["DummyCompound_"+w.data("parent")],M[j]=N,w=w.parent()[0],w==null)break;if(N!=null)return{x:N.x,y:N.y};else return{x:A.position("x"),y:A.position("y")}}}),R(),e=requestAnimationFrame(X)};if(c.addListener("layoutstarted",function(){if(a.options.animate==="during")e=requestAnimationFrame(nt)}),c.runLayout(),this.options.animate!=="during")a.options.eles.nodes().not(":parent").layoutPositions(a,a.options,V),p=!1;return this},I.prototype.getTopMostNodes=function(p){var e={};for(var y=0;y<p.length;y++)e[p[y].id()]=!0;var s=p.filter(function(c,a){if(typeof c==="number")c=a;var E=c.parent()[0];while(E!=null){if(e[E.id()])return!1;E=E.parent()[0]}return!0});return s},I.prototype.processChildrenList=function(p,e,y){var s=e.length;for(var c=0;c<s;c++){var a=e[c],E=a.children(),T,m=a.layoutDimensions({nodeDimensionsIncludeLabels:this.options.nodeDimensionsIncludeLabels});if(a.outerWidth()!=null&&a.outerHeight()!=null)T=p.add(new b(y.graphManager,new H(a.position("x")-m.w/2,a.position("y")-m.h/2),new v(parseFloat(m.w),parseFloat(m.h))));else T=p.add(new b(this.graphManager));if(T.id=a.data("id"),T.paddingLeft=parseInt(a.css("padding")),T.paddingTop=parseInt(a.css("padding")),T.paddingRight=parseInt(a.css("padding")),T.paddingBottom=parseInt(a.css("padding")),this.options.nodeDimensionsIncludeLabels){if(a.isParent()){var h=a.boundingBox({includeLabels:!0,includeNodes:!1}).w,P=a.boundingBox({includeLabels:!0,includeNodes:!1}).h,x=a.css("text-halign");T.labelWidth=h,T.labelHeight=P,T.labelPos=x}}if(this.idToLNode[a.data("id")]=T,isNaN(T.rect.x))T.rect.x=0;if(isNaN(T.rect.y))T.rect.y=0;if(E!=null&&E.length>0){var O=y.getGraphManager().add(y.newGraph(),T);this.processChildrenList(O,E,y)}}},I.prototype.stop=function(){return this.stopped=!0,this};var S=function(e){e("layout","cose-bilkent",I)};if(typeof cytoscape<"u")S(cytoscape);f.exports=S}])})});var z=Qe(k(),1);hn.use(z.default);function q(u,f){u.forEach((r)=>{let n={id:r.id,labelText:r.label,height:r.height,width:r.width,padding:r.padding??0};Object.keys(r).forEach((o)=>{if(!["id","label","height","width","padding","x","y"].includes(o))n[o]=r[o]}),f.add({group:"nodes",data:n,position:{x:r.x??0,y:r.y??0}})})}t(q,"addNodes");function W(u,f){u.forEach((r)=>{let n={id:r.id,source:r.start,target:r.end};Object.keys(r).forEach((o)=>{if(!["id","start","end"].includes(o))n[o]=r[o]}),f.add({group:"edges",data:n})})}t(W,"addEdges");function Q(u){return new Promise((f)=>{let r=g("body").append("div").attr("id","cy").attr("style","display:none"),n=hn({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});r.remove(),q(u.nodes,n),W(u.edges,n),n.nodes().forEach(function(d){d.layoutDimensions=()=>{let l=d.data();return{w:l.width,h:l.height}}});let o={name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1};n.layout(o).run(),n.ready((d)=>{i.info("Cytoscape ready",d),f(n)})})}t(Q,"createCytoscapeInstance");function Z(u){return u.nodes().map((f)=>{let r=f.data(),n=f.position(),o={id:r.id,x:n.x,y:n.y};return Object.keys(r).forEach((d)=>{if(d!=="id")o[d]=r[d]}),o})}t(Z,"extractPositionedNodes");function J(u){return u.edges().map((f)=>{let r=f.data(),n=f._private.rscratch,o={id:r.id,source:r.source,target:r.target,startX:n.startX,startY:n.startY,midX:n.midX,midY:n.midY,endX:n.endX,endY:n.endY};return Object.keys(r).forEach((d)=>{if(!["id","source","target"].includes(d))o[d]=r[d]}),o})}t(J,"extractPositionedEdges");async function K(u,f){i.debug("Starting cose-bilkent layout algorithm");try{tt(u);let r=await Q(u),n=Z(r),o=J(r);return i.debug(`Layout completed: ${n.length} nodes, ${o.length} edges`),{nodes:n,edges:o}}catch(r){throw i.error("Error in cose-bilkent layout algorithm:",r),r}}t(K,"executeCoseBilkentLayout");function tt(u){if(!u)throw Error("Layout data is required");if(!u.config)throw Error("Configuration is required in layout data");if(!u.rootNode)throw Error("Root node is required");if(!u.nodes||!Array.isArray(u.nodes))throw Error("No nodes found in layout data");if(!Array.isArray(u.edges))throw Error("Edges array is required in layout data");return!0}t(tt,"validateLayoutData");var at=t(async(u,f,{insertCluster:r,insertEdge:n,insertEdgeLabel:o,insertMarkers:d,insertNode:l,log:L,positionEdgeLabel:b},{algorithm:H})=>{let v={},_={},D=f.select("g");d(D,u.markers,u.type,u.diagramId);let I=D.insert("g").attr("class","subgraphs"),U=D.insert("g").attr("class","edgePaths"),S=D.insert("g").attr("class","edgeLabels"),p=D.insert("g").attr("class","nodes");L.debug("Inserting nodes into DOM for dimension calculation"),await Promise.all(u.nodes.map(async(s)=>{if(s.isGroup){let c={...s};_[s.id]=c,v[s.id]=c,await r(I,s)}else{let c={...s};v[s.id]=c;let a=await l(p,s,{config:u.config,dir:u.direction||"TB"}),E=a.node().getBBox();c.width=E.width,c.height=E.height,c.domId=a,L.debug(`Node ${s.id} dimensions: ${E.width}x${E.height}`)}})),L.debug("Running cose-bilkent layout algorithm");let e={...u,nodes:u.nodes.map((s)=>{let c=v[s.id];return{...s,width:c.width,height:c.height}})},y=await K(e,u.config);L.debug("Positioning nodes based on layout results"),y.nodes.forEach((s)=>{let c=v[s.id];if(c?.domId)c.domId.attr("transform",`translate(${s.x}, ${s.y})`),c.x=s.x,c.y=s.y,L.debug(`Positioned node ${c.id} at center (${s.x}, ${s.y})`)}),y.edges.forEach((s)=>{let c=u.edges.find((a)=>a.id===s.id);if(c)c.points=[{x:s.startX,y:s.startY},{x:s.midX,y:s.midY},{x:s.endX,y:s.endY}]}),L.debug("Inserting and positioning edges"),await Promise.all(u.edges.map(async(s)=>{let c=await o(S,s),a=v[s.start??""],E=v[s.end??""];if(a&&E){let T=y.edges.find((m)=>m.id===s.id);if(T){L.debug("APA01 positionedEdge",T);let m={...s},h=n(U,m,_,u.type,a,E,u.diagramId);b(m,h)}else{let m={...s,points:[{x:a.x||0,y:a.y||0},{x:E.x||0,y:E.y||0}]},h=n(U,m,_,u.type,a,E,u.diagramId);b(m,h)}}})),L.debug("Cose-bilkent rendering completed")},"render"),ct=at;export{ct as render};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{t}from"./chunk-tz4w2nh2.js";var c=1;function i(){if(typeof globalThis>"u")return;return globalThis}t(i,"getCaptureGlobal");function p(){return Boolean(i()?.mermaidCaptureSizes)}t(p,"shouldCaptureSizes");function u(){if(typeof location>"u")return"browser-dev";return`${location.pathname}${location.search}`}t(u,"capturedFromLocation");function d(n,r){let o=i();if(!o)return;let e=r.node(),s=((e&&"ownerSVGElement"in e?e.ownerSVGElement:null)??e)?.id??"(unknown)";o.mermaidCapturedSizes??=[];let a={svgId:s,sizes:n};o.mermaidCapturedSizes.push(a),o.mermaidLastCapturedSizes=a}t(d,"emitCapturedSizes");function m(n,r){let o=[];for(let e of r.nodes){if(e.isGroup)continue;o.push({id:e.id,width:e.width??0,height:e.height??0})}if(o.length===0)return;d({metadata:{captureVersion:c,capturedAt:new Date().toISOString(),capturedFrom:u()},nodes:o},n)}t(m,"captureNodeSizes");export{m as captureNodeSizes};
@@ -0,0 +1,3 @@
1
+ �@�\��|^�u�~��12�g܅8�n8 PE���h��:�A�����@�)n�q�`TD@�yf}�n1iӶ�� �A���Qi?�4��y]�j�$�~
2
+ �� 3r�I52�Z1(a���o{�aܦ����o�;�^D�S�DMY�S��*��|�AlP�U��y����{2��{|����D,�,�"�d\�L�Uz���Pq���Fs�G^�("SF���ʩ�-�$�5#6n rH C�C�N�^��=~T0�S�����.ќ۫4M{�O*�srr��P$FF��=��D�Lߙ���k�ƣ>%d���
3
+ ��V&0'�� ����<�6R�B�
Binary file
@@ -0,0 +1 @@
1
+ import{Ra}from"./chunk-2gfgrjy6.js";export{Ra as createRailroadServices};
Binary file
Binary file
@@ -0,0 +1,2 @@
1
+ function aa(i,d){let e;if(d===void 0){for(let n of i)if(n!=null&&(e<n||e===void 0&&n>=n))e=n}else{let n=-1;for(let f of i)if((f=d(f,++n,i))!=null&&(e<f||e===void 0&&f>=f))e=f}return e}function Rr(i,d){let e;if(d===void 0){for(let n of i)if(n!=null&&(e>n||e===void 0&&n>=n))e=n}else{let n=-1;for(let f of i)if((f=d(f,++n,i))!=null&&(e>f||e===void 0&&f>=f))e=f}return e}
2
+ export{aa,Rr};
Binary file
Binary file