@bkm016/basalt 0.1.34 → 0.1.36

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 (1009) hide show
  1. package/README.md +2 -1
  2. package/chunk-082x3g29.js +3 -0
  3. package/chunk-0aaf270z.js +3 -0
  4. package/chunk-0dqv9x0y.js +51 -0
  5. package/chunk-0ns02fzq.js +2 -0
  6. package/chunk-0y13kfpt.js +5 -0
  7. package/chunk-1753m6xk.js +4179 -0
  8. package/chunk-24ae99b6.js +5 -0
  9. package/chunk-2cp8why4.js +2 -0
  10. package/chunk-3bdzn4h2.js +2 -0
  11. package/chunk-48m0w8xg.js +2 -0
  12. package/chunk-4pr7ykh0.js +2 -0
  13. package/chunk-4qtw5cga.js +12 -0
  14. package/chunk-4yqge35f.js +3 -0
  15. package/chunk-65rd9zn4.js +3 -0
  16. package/chunk-67ehvv4n.js +44 -0
  17. package/chunk-6wm62kte.js +18 -0
  18. package/chunk-6zkggkdm.js +13 -0
  19. package/chunk-78ferdza.js +3 -0
  20. package/chunk-794r8w6m.js +2 -0
  21. package/chunk-7azn0brs.js +7 -0
  22. package/chunk-7wh4n0yg.js +2 -0
  23. package/chunk-7z0wh161.js +25 -0
  24. package/chunk-95aqrqnh.js +2 -0
  25. package/chunk-a0zcps2d.js +2 -0
  26. package/chunk-a23pv6tv.js +3 -0
  27. package/chunk-adb2nbxk.js +2 -0
  28. package/chunk-as2ty5w5.js +3 -0
  29. package/chunk-b84y794v.js +3 -0
  30. package/chunk-bh80e336.js +3 -0
  31. package/chunk-c6azecvs.js +3 -0
  32. package/chunk-cc8h8mz9.js +2 -0
  33. package/chunk-cdb6caq7.js +3 -0
  34. package/chunk-cjdbsa9s.js +3 -0
  35. package/chunk-cnqgtmwm.js +10 -0
  36. package/chunk-cwn9vs1a.js +3 -0
  37. package/chunk-cxybp3fn.js +8 -0
  38. package/chunk-dea2htm4.js +2 -0
  39. package/chunk-e01wravf.js +12 -0
  40. package/chunk-f0pz8pvb.js +5 -0
  41. package/chunk-fvmrsrmq.js +3 -0
  42. package/chunk-fwdhn0gw.js +7 -0
  43. package/chunk-h7x8g57v.js +9 -0
  44. package/chunk-h8qhy3px.js +39 -0
  45. package/chunk-hsvchrh3.js +7 -0
  46. package/chunk-j1peg724.js +504 -0
  47. package/chunk-j2cse817.js +63 -0
  48. package/chunk-j3jzgw98.js +31 -0
  49. package/chunk-jmzdtefg.js +2 -0
  50. package/chunk-k0e6n6yy.js +3 -0
  51. package/chunk-mb2jqd5z.js +3 -0
  52. package/chunk-nbgtqpay.js +3 -0
  53. package/chunk-prfczhpq.js +10 -0
  54. package/chunk-pv25a7sw.js +2 -0
  55. package/chunk-q8m2x20d.js +286 -0
  56. package/chunk-qnkxeh37.js +3 -0
  57. package/chunk-qvfrv3rb.js +59 -0
  58. package/chunk-r14x07ez.js +2 -0
  59. package/chunk-r1kah65k.js +2 -0
  60. package/chunk-r6pt44wk.js +60 -0
  61. package/chunk-rhkw8ygf.js +3 -0
  62. package/chunk-rvqeb7gr.js +3 -0
  63. package/chunk-rwa7mfwa.js +2 -0
  64. package/chunk-sj46f002.js +2 -0
  65. package/chunk-sp89jja7.js +3 -0
  66. package/chunk-sss5x2ak.js +2 -0
  67. package/chunk-szn4y5mx.js +25 -0
  68. package/chunk-t05q9ksf.js +2 -0
  69. package/chunk-tb66q678.js +11 -0
  70. package/chunk-tej75y8n.js +2 -0
  71. package/chunk-tmfr2ym8.js +4 -0
  72. package/chunk-tnay319j.js +3 -0
  73. package/chunk-txwheg1n.js +2 -0
  74. package/chunk-ve6n38r4.js +16 -0
  75. package/chunk-vfa49qcy.js +3 -0
  76. package/chunk-wcy1r6vv.js +2 -0
  77. package/chunk-wj6am3ag.js +3 -0
  78. package/chunk-x0afp8wt.js +3 -0
  79. package/chunk-xe627eyp.js +20 -0
  80. package/chunk-y18ey7s9.js +8 -0
  81. package/chunk-y9r7tt53.js +3 -0
  82. package/chunk-yq20v3va.js +3 -0
  83. package/chunk-yyg4ygv7.js +2 -0
  84. package/chunk-z2zhr4e5.js +3 -0
  85. package/chunk-zdtg52xn.js +2 -0
  86. package/chunk-zrhdrkdb.js +5 -0
  87. package/compiled.js +10 -10
  88. package/package.json +1 -1
  89. package/ui-test-worker.js +44 -44
  90. package/web/chunk-0d0fwb7b.js +2 -0
  91. package/web/chunk-0d0fwb7b.js.br +0 -0
  92. package/web/chunk-0d0fwb7b.js.gz +0 -0
  93. package/web/chunk-0jm4zyrt.js +1 -0
  94. package/web/chunk-0jm4zyrt.js.br +0 -0
  95. package/web/chunk-0jm4zyrt.js.gz +0 -0
  96. package/web/chunk-0pp7dzx1.js +1 -0
  97. package/web/chunk-0pp7dzx1.js.br +0 -0
  98. package/web/chunk-0pp7dzx1.js.gz +0 -0
  99. package/web/chunk-0w73jp4n.js +1 -0
  100. package/web/chunk-0w73jp4n.js.br +0 -0
  101. package/web/chunk-0w73jp4n.js.gz +0 -0
  102. package/web/chunk-1416f30c.js +2 -0
  103. package/web/chunk-1416f30c.js.br +0 -0
  104. package/web/chunk-1416f30c.js.gz +0 -0
  105. package/web/chunk-18wyawez.js +30 -0
  106. package/web/chunk-18wyawez.js.br +0 -0
  107. package/web/chunk-18wyawez.js.gz +0 -0
  108. package/web/chunk-19ew9re5.js +1 -0
  109. package/web/chunk-19ew9re5.js.br +0 -0
  110. package/web/chunk-19ew9re5.js.gz +0 -0
  111. package/web/chunk-1mdtr9wk.js +8 -0
  112. package/web/chunk-1mdtr9wk.js.br +1 -0
  113. package/web/chunk-1mdtr9wk.js.gz +0 -0
  114. package/web/chunk-1p4egv85.js +1 -0
  115. package/web/chunk-1p4egv85.js.br +0 -0
  116. package/web/chunk-1p4egv85.js.gz +0 -0
  117. package/web/chunk-1x61dvvr.js +2 -0
  118. package/web/chunk-1x61dvvr.js.br +0 -0
  119. package/web/chunk-1x61dvvr.js.gz +0 -0
  120. package/web/chunk-241n0y1h.js +1 -0
  121. package/web/chunk-241n0y1h.js.br +0 -0
  122. package/web/chunk-241n0y1h.js.gz +0 -0
  123. package/web/chunk-26sgnzb2.js +1 -0
  124. package/web/chunk-26sgnzb2.js.br +0 -0
  125. package/web/chunk-26sgnzb2.js.gz +0 -0
  126. package/web/chunk-2p77pefd.js +1 -0
  127. package/web/chunk-2p77pefd.js.br +0 -0
  128. package/web/chunk-2p77pefd.js.gz +0 -0
  129. package/web/chunk-2ppe5znq.js +1 -0
  130. package/web/chunk-2ppe5znq.js.br +0 -0
  131. package/web/chunk-2ppe5znq.js.gz +0 -0
  132. package/web/chunk-2qzr943m.js +2 -0
  133. package/web/chunk-2qzr943m.js.br +0 -0
  134. package/web/chunk-2qzr943m.js.gz +0 -0
  135. package/web/chunk-32k44660.js +214 -0
  136. package/web/chunk-32k44660.js.br +0 -0
  137. package/web/chunk-32k44660.js.gz +0 -0
  138. package/web/chunk-33zb5a76.js +2 -0
  139. package/web/chunk-33zb5a76.js.br +0 -0
  140. package/web/chunk-33zb5a76.js.gz +0 -0
  141. package/web/chunk-38bzkv9k.js +7 -0
  142. package/web/chunk-38bzkv9k.js.br +0 -0
  143. package/web/chunk-38bzkv9k.js.gz +0 -0
  144. package/web/chunk-42ytz496.js +1 -0
  145. package/web/chunk-42ytz496.js.br +0 -0
  146. package/web/chunk-42ytz496.js.gz +0 -0
  147. package/web/chunk-4749rrqv.js +55 -0
  148. package/web/chunk-4749rrqv.js.br +0 -0
  149. package/web/chunk-4749rrqv.js.gz +0 -0
  150. package/web/chunk-4d57cnh5.js +40 -0
  151. package/web/chunk-4d57cnh5.js.br +0 -0
  152. package/web/chunk-4d57cnh5.js.gz +0 -0
  153. package/web/chunk-4gh3hcrc.js +1 -0
  154. package/web/chunk-4gh3hcrc.js.br +0 -0
  155. package/web/chunk-4gh3hcrc.js.gz +0 -0
  156. package/web/chunk-4hg08mj3.js +1 -0
  157. package/web/chunk-4hg08mj3.js.br +0 -0
  158. package/web/chunk-4hg08mj3.js.gz +0 -0
  159. package/web/chunk-4rra9tt7.js +78 -0
  160. package/web/chunk-4rra9tt7.js.br +0 -0
  161. package/web/chunk-4rra9tt7.js.gz +0 -0
  162. package/web/chunk-572kjbne.js +89 -0
  163. package/web/chunk-572kjbne.js.br +0 -0
  164. package/web/chunk-572kjbne.js.gz +0 -0
  165. package/web/chunk-5hqe3cct.js +98 -0
  166. package/web/chunk-5hqe3cct.js.br +0 -0
  167. package/web/chunk-5hqe3cct.js.gz +0 -0
  168. package/web/chunk-5k4vdcwk.js +24 -0
  169. package/web/chunk-5k4vdcwk.js.br +0 -0
  170. package/web/chunk-5k4vdcwk.js.gz +0 -0
  171. package/web/chunk-5z44jbdc.js +1 -0
  172. package/web/chunk-5z44jbdc.js.br +0 -0
  173. package/web/chunk-5z44jbdc.js.gz +0 -0
  174. package/web/chunk-600x58nm.js +1143 -0
  175. package/web/chunk-600x58nm.js.br +0 -0
  176. package/web/chunk-600x58nm.js.gz +0 -0
  177. package/web/chunk-61djfs0t.js +140 -0
  178. package/web/chunk-61djfs0t.js.br +0 -0
  179. package/web/chunk-61djfs0t.js.gz +0 -0
  180. package/web/chunk-6j4jdvtd.js +1 -0
  181. package/web/chunk-6j4jdvtd.js.br +0 -0
  182. package/web/chunk-6j4jdvtd.js.gz +0 -0
  183. package/web/chunk-74ymgabb.js +2 -0
  184. package/web/chunk-74ymgabb.js.br +0 -0
  185. package/web/chunk-74ymgabb.js.gz +0 -0
  186. package/web/chunk-768vchz5.js +169 -0
  187. package/web/chunk-768vchz5.js.br +0 -0
  188. package/web/chunk-768vchz5.js.gz +0 -0
  189. package/web/chunk-7f87paxe.js +36 -0
  190. package/web/chunk-7f87paxe.js.br +0 -0
  191. package/web/chunk-7f87paxe.js.gz +0 -0
  192. package/web/chunk-7ns0kj87.js +2 -0
  193. package/web/chunk-7ns0kj87.js.br +0 -0
  194. package/web/chunk-7ns0kj87.js.gz +0 -0
  195. package/web/chunk-7vpk9y00.js +1 -0
  196. package/web/chunk-7vpk9y00.js.br +0 -0
  197. package/web/chunk-7vpk9y00.js.gz +0 -0
  198. package/web/chunk-89mc1vj3.js +1 -0
  199. package/web/chunk-89mc1vj3.js.br +0 -0
  200. package/web/chunk-89mc1vj3.js.gz +0 -0
  201. package/web/chunk-8wgpesrk.js +139 -0
  202. package/web/chunk-8wgpesrk.js.br +0 -0
  203. package/web/chunk-8wgpesrk.js.gz +0 -0
  204. package/web/chunk-9nh1aeqs.js +303 -0
  205. package/web/chunk-9nh1aeqs.js.br +0 -0
  206. package/web/chunk-9nh1aeqs.js.gz +0 -0
  207. package/web/chunk-9pgq2ax4.js +1 -0
  208. package/web/chunk-9pgq2ax4.js.br +0 -0
  209. package/web/chunk-9pgq2ax4.js.gz +0 -0
  210. package/web/chunk-9tfs2dg1.js +1 -0
  211. package/web/chunk-9tfs2dg1.js.br +0 -0
  212. package/web/chunk-9tfs2dg1.js.gz +0 -0
  213. package/web/chunk-9wemd2wn.js +41 -0
  214. package/web/chunk-9wemd2wn.js.br +0 -0
  215. package/web/chunk-9wemd2wn.js.gz +0 -0
  216. package/web/chunk-9wsz2j8n.js +1 -0
  217. package/web/chunk-9wsz2j8n.js.br +0 -0
  218. package/web/chunk-9wsz2j8n.js.gz +0 -0
  219. package/web/chunk-9wzvqpre.js +2 -0
  220. package/web/chunk-9wzvqpre.js.br +0 -0
  221. package/web/chunk-9wzvqpre.js.gz +0 -0
  222. package/web/chunk-a48wgrb1.js +1 -0
  223. package/web/chunk-a48wgrb1.js.br +2 -0
  224. package/web/chunk-a48wgrb1.js.gz +0 -0
  225. package/web/chunk-a67d8w1k.js +14 -0
  226. package/web/chunk-a67d8w1k.js.br +0 -0
  227. package/web/chunk-a67d8w1k.js.gz +0 -0
  228. package/web/chunk-ah8e1y9j.js +4 -0
  229. package/web/chunk-ah8e1y9j.js.br +0 -0
  230. package/web/chunk-ah8e1y9j.js.gz +0 -0
  231. package/web/chunk-amsr9cg2.js +1 -0
  232. package/web/chunk-amsr9cg2.js.br +0 -0
  233. package/web/chunk-amsr9cg2.js.gz +0 -0
  234. package/web/chunk-aps2c5t2.js +16 -0
  235. package/web/chunk-aps2c5t2.js.br +0 -0
  236. package/web/chunk-aps2c5t2.js.gz +0 -0
  237. package/web/chunk-avfynf6y.js +1 -0
  238. package/web/chunk-avfynf6y.js.br +0 -0
  239. package/web/chunk-avfynf6y.js.gz +0 -0
  240. package/web/chunk-b5zrttcx.js +2 -0
  241. package/web/chunk-b5zrttcx.js.br +0 -0
  242. package/web/chunk-b5zrttcx.js.gz +0 -0
  243. package/web/chunk-bvvf024a.js +24 -0
  244. package/web/chunk-bvvf024a.js.br +0 -0
  245. package/web/chunk-bvvf024a.js.gz +0 -0
  246. package/web/chunk-by2dphx7.js +200 -0
  247. package/web/chunk-by2dphx7.js.br +0 -0
  248. package/web/chunk-by2dphx7.js.gz +0 -0
  249. package/web/chunk-c0sc2yy1.js +1 -0
  250. package/web/chunk-c0sc2yy1.js.br +0 -0
  251. package/web/chunk-c0sc2yy1.js.gz +0 -0
  252. package/web/chunk-c612n2pw.js +2 -0
  253. package/web/chunk-c612n2pw.js.br +0 -0
  254. package/web/chunk-c612n2pw.js.gz +0 -0
  255. package/web/chunk-c91rk85x.js +2 -0
  256. package/web/chunk-c91rk85x.js.br +0 -0
  257. package/web/chunk-c91rk85x.js.gz +0 -0
  258. package/web/chunk-catm30vp.js +2 -0
  259. package/web/chunk-catm30vp.js.br +0 -0
  260. package/web/chunk-catm30vp.js.gz +0 -0
  261. package/web/chunk-cbdxzddd.js +142 -0
  262. package/web/chunk-cbdxzddd.js.br +0 -0
  263. package/web/chunk-cbdxzddd.js.gz +0 -0
  264. package/web/chunk-cng693ts.js +2 -0
  265. package/web/chunk-cng693ts.js.br +0 -0
  266. package/web/chunk-cng693ts.js.gz +0 -0
  267. package/web/chunk-d5vcma5a.js +89 -0
  268. package/web/chunk-d5vcma5a.js.br +0 -0
  269. package/web/chunk-d5vcma5a.js.gz +0 -0
  270. package/web/chunk-d6d9cp71.js +1 -0
  271. package/web/chunk-d6d9cp71.js.br +2 -0
  272. package/web/chunk-d6d9cp71.js.gz +0 -0
  273. package/web/chunk-dsghhcew.js +1 -0
  274. package/web/chunk-dsghhcew.js.br +0 -0
  275. package/web/chunk-dsghhcew.js.gz +0 -0
  276. package/web/chunk-dt2e6evf.js +1 -0
  277. package/web/chunk-dt2e6evf.js.br +0 -0
  278. package/web/chunk-dt2e6evf.js.gz +0 -0
  279. package/web/chunk-dxrsmcah.js +1 -0
  280. package/web/chunk-dxrsmcah.js.br +0 -0
  281. package/web/chunk-dxrsmcah.js.gz +0 -0
  282. package/web/chunk-ent5zx24.js +1 -0
  283. package/web/chunk-ent5zx24.js.br +2 -0
  284. package/web/chunk-ent5zx24.js.gz +0 -0
  285. package/web/chunk-f4n1q3mf.js +1 -0
  286. package/web/chunk-f4n1q3mf.js.br +0 -0
  287. package/web/chunk-f4n1q3mf.js.gz +0 -0
  288. package/web/chunk-fdfrv6bc.js +1 -0
  289. package/web/chunk-fdfrv6bc.js.br +2 -0
  290. package/web/chunk-fdfrv6bc.js.gz +0 -0
  291. package/web/chunk-fh44xz70.js +1 -0
  292. package/web/chunk-fh44xz70.js.br +0 -0
  293. package/web/chunk-fh44xz70.js.gz +0 -0
  294. package/web/chunk-fkbp72gk.js +1 -0
  295. package/web/chunk-fkbp72gk.js.br +0 -0
  296. package/web/chunk-fkbp72gk.js.gz +0 -0
  297. package/web/chunk-fzkjgwzq.js +4 -0
  298. package/web/chunk-fzkjgwzq.js.br +0 -0
  299. package/web/chunk-fzkjgwzq.js.gz +0 -0
  300. package/web/chunk-gf2gznsb.js +38 -0
  301. package/web/chunk-gf2gznsb.js.br +0 -0
  302. package/web/chunk-gf2gznsb.js.gz +0 -0
  303. package/web/chunk-gne1ybac.js +2 -0
  304. package/web/chunk-gne1ybac.js.br +0 -0
  305. package/web/chunk-gne1ybac.js.gz +0 -0
  306. package/web/chunk-gws1fj71.js +106 -0
  307. package/web/chunk-gws1fj71.js.br +0 -0
  308. package/web/chunk-gws1fj71.js.gz +0 -0
  309. package/web/chunk-h4m88fg8.js +2 -0
  310. package/web/chunk-h4m88fg8.js.br +0 -0
  311. package/web/chunk-h4m88fg8.js.gz +0 -0
  312. package/web/chunk-h4vk09kd.js +2 -0
  313. package/web/chunk-h4vk09kd.js.br +0 -0
  314. package/web/chunk-h4vk09kd.js.gz +0 -0
  315. package/web/chunk-h6wzjfj2.js +34 -0
  316. package/web/chunk-h6wzjfj2.js.br +0 -0
  317. package/web/chunk-h6wzjfj2.js.gz +0 -0
  318. package/web/chunk-hajg1p0h.js +7 -0
  319. package/web/chunk-hajg1p0h.js.br +0 -0
  320. package/web/chunk-hajg1p0h.js.gz +0 -0
  321. package/web/chunk-hhmd6qrc.js +2 -0
  322. package/web/chunk-hhmd6qrc.js.br +0 -0
  323. package/web/chunk-hhmd6qrc.js.gz +0 -0
  324. package/web/chunk-hya0fh1r.js +1 -0
  325. package/web/chunk-hya0fh1r.js.br +0 -0
  326. package/web/chunk-hya0fh1r.js.gz +0 -0
  327. package/web/chunk-j469ky77.js +1 -0
  328. package/web/chunk-j469ky77.js.br +0 -0
  329. package/web/chunk-j469ky77.js.gz +0 -0
  330. package/web/chunk-j6ymcm3h.js +2 -0
  331. package/web/chunk-j6ymcm3h.js.br +0 -0
  332. package/web/chunk-j6ymcm3h.js.gz +0 -0
  333. package/web/chunk-j79z6bta.js +21 -0
  334. package/web/chunk-j79z6bta.js.br +0 -0
  335. package/web/chunk-j79z6bta.js.gz +0 -0
  336. package/web/chunk-jbxc5y3z.js +12 -0
  337. package/web/chunk-jbxc5y3z.js.br +0 -0
  338. package/web/chunk-jbxc5y3z.js.gz +0 -0
  339. package/web/chunk-jcc187d7.js +1 -0
  340. package/web/chunk-jcc187d7.js.br +0 -0
  341. package/web/chunk-jcc187d7.js.gz +0 -0
  342. package/web/chunk-jjvpdxhd.js +2 -0
  343. package/web/chunk-jjvpdxhd.js.br +0 -0
  344. package/web/chunk-jjvpdxhd.js.gz +0 -0
  345. package/web/chunk-jrh3mwmy.js +2 -0
  346. package/web/chunk-jrh3mwmy.js.br +0 -0
  347. package/web/chunk-jrh3mwmy.js.gz +0 -0
  348. package/web/chunk-jv3pgdp0.js +1 -0
  349. package/web/chunk-jv3pgdp0.js.br +2 -0
  350. package/web/chunk-jv3pgdp0.js.gz +0 -0
  351. package/web/chunk-ksxjhezb.js +1 -0
  352. package/web/chunk-ksxjhezb.js.br +0 -0
  353. package/web/chunk-ksxjhezb.js.gz +0 -0
  354. package/web/chunk-ktnd8t40.js +2 -0
  355. package/web/chunk-ktnd8t40.js.br +0 -0
  356. package/web/chunk-ktnd8t40.js.gz +0 -0
  357. package/web/chunk-mgwv3dp0.js +1 -0
  358. package/web/chunk-mgwv3dp0.js.br +0 -0
  359. package/web/chunk-mgwv3dp0.js.gz +0 -0
  360. package/web/chunk-mtjdfgjj.js +2 -0
  361. package/web/chunk-mtjdfgjj.js.br +0 -0
  362. package/web/chunk-mtjdfgjj.js.gz +0 -0
  363. package/web/chunk-mzkaanwd.js +2 -0
  364. package/web/chunk-mzkaanwd.js.br +0 -0
  365. package/web/chunk-mzkaanwd.js.gz +0 -0
  366. package/web/chunk-n22pg5xy.js +1 -0
  367. package/web/chunk-n22pg5xy.js.br +0 -0
  368. package/web/chunk-n22pg5xy.js.gz +0 -0
  369. package/web/chunk-n58ezsfb.js +2 -0
  370. package/web/chunk-n58ezsfb.js.br +0 -0
  371. package/web/chunk-n58ezsfb.js.gz +0 -0
  372. package/web/chunk-nhx74teq.js +3 -0
  373. package/web/chunk-nhx74teq.js.br +0 -0
  374. package/web/chunk-nhx74teq.js.gz +0 -0
  375. package/web/chunk-njjsgwfw.js +2 -0
  376. package/web/chunk-njjsgwfw.js.br +0 -0
  377. package/web/chunk-njjsgwfw.js.gz +0 -0
  378. package/web/chunk-nwhqcbnr.js +1 -0
  379. package/web/chunk-nwhqcbnr.js.br +0 -0
  380. package/web/chunk-nwhqcbnr.js.gz +0 -0
  381. package/web/chunk-pnghaajd.js +70 -0
  382. package/web/chunk-pnghaajd.js.br +0 -0
  383. package/web/chunk-pnghaajd.js.gz +0 -0
  384. package/web/chunk-pqfn8x7v.js +1 -0
  385. package/web/chunk-pqfn8x7v.js.br +0 -0
  386. package/web/chunk-pqfn8x7v.js.gz +0 -0
  387. package/web/chunk-ptk0jnyx.js +1 -0
  388. package/web/chunk-ptk0jnyx.js.br +0 -0
  389. package/web/chunk-ptk0jnyx.js.gz +0 -0
  390. package/web/chunk-pv7e5g4k.js +370 -0
  391. package/web/chunk-pv7e5g4k.js.br +0 -0
  392. package/web/chunk-pv7e5g4k.js.gz +0 -0
  393. package/web/chunk-pxnh5qgn.js +2 -0
  394. package/web/chunk-pxnh5qgn.js.br +0 -0
  395. package/web/chunk-pxnh5qgn.js.gz +0 -0
  396. package/web/chunk-q6eq5y2t.js +1 -0
  397. package/web/chunk-q6eq5y2t.js.br +2 -0
  398. package/web/chunk-q6eq5y2t.js.gz +0 -0
  399. package/web/chunk-qdwg9n1d.js +1 -0
  400. package/web/chunk-qdwg9n1d.js.br +0 -0
  401. package/web/chunk-qdwg9n1d.js.gz +0 -0
  402. package/web/chunk-qp42gtvd.js +1 -0
  403. package/web/chunk-qp42gtvd.js.br +0 -0
  404. package/web/chunk-qp42gtvd.js.gz +0 -0
  405. package/web/chunk-qzdw8vdp.js +1 -0
  406. package/web/chunk-qzdw8vdp.js.br +0 -0
  407. package/web/chunk-qzdw8vdp.js.gz +0 -0
  408. package/web/chunk-r571ywxq.js +1 -0
  409. package/web/chunk-r571ywxq.js.br +0 -0
  410. package/web/chunk-r571ywxq.js.gz +0 -0
  411. package/web/chunk-r9fx4cjw.js +1 -0
  412. package/web/chunk-r9fx4cjw.js.br +0 -0
  413. package/web/chunk-r9fx4cjw.js.gz +0 -0
  414. package/web/chunk-rhvq3c1c.js +1 -0
  415. package/web/chunk-rhvq3c1c.js.br +0 -0
  416. package/web/chunk-rhvq3c1c.js.gz +0 -0
  417. package/web/chunk-rjay9w1t.js +1 -0
  418. package/web/chunk-rjay9w1t.js.br +0 -0
  419. package/web/chunk-rjay9w1t.js.gz +0 -0
  420. package/web/chunk-rpvdnc3p.js +1 -0
  421. package/web/chunk-rpvdnc3p.js.br +0 -0
  422. package/web/chunk-rpvdnc3p.js.gz +0 -0
  423. package/web/chunk-rrfr4wyt.js +62 -0
  424. package/web/chunk-rrfr4wyt.js.br +0 -0
  425. package/web/chunk-rrfr4wyt.js.gz +0 -0
  426. package/web/chunk-rvngywg9.js +2 -0
  427. package/web/chunk-rvngywg9.js.br +0 -0
  428. package/web/chunk-rvngywg9.js.gz +0 -0
  429. package/web/chunk-rw7d025r.js +84 -0
  430. package/web/chunk-rw7d025r.js.br +0 -0
  431. package/web/chunk-rw7d025r.js.gz +0 -0
  432. package/web/chunk-s1g8acth.js +324 -0
  433. package/web/chunk-s1g8acth.js.br +0 -0
  434. package/web/chunk-s1g8acth.js.gz +0 -0
  435. package/web/chunk-s8572njv.js +2 -0
  436. package/web/chunk-s8572njv.js.br +1 -0
  437. package/web/chunk-s8572njv.js.gz +0 -0
  438. package/web/chunk-sb57e1m9.css +1 -0
  439. package/web/chunk-sb57e1m9.css.br +0 -0
  440. package/web/chunk-sb57e1m9.css.gz +0 -0
  441. package/web/chunk-sn3h5adt.js +2 -0
  442. package/web/chunk-sn3h5adt.js.br +0 -0
  443. package/web/chunk-sn3h5adt.js.gz +0 -0
  444. package/web/chunk-tb2v18q8.js +2 -0
  445. package/web/chunk-tb2v18q8.js.br +0 -0
  446. package/web/chunk-tb2v18q8.js.gz +0 -0
  447. package/web/chunk-tetbyky0.js +39 -0
  448. package/web/chunk-tetbyky0.js.br +0 -0
  449. package/web/chunk-tetbyky0.js.gz +0 -0
  450. package/web/chunk-tqvctvsv.js +1 -0
  451. package/web/chunk-tqvctvsv.js.br +0 -0
  452. package/web/chunk-tqvctvsv.js.gz +0 -0
  453. package/web/chunk-v9mj2pxz.js +1 -0
  454. package/web/chunk-v9mj2pxz.js.br +0 -0
  455. package/web/chunk-v9mj2pxz.js.gz +0 -0
  456. package/web/chunk-vkhah4nd.js +2 -0
  457. package/web/chunk-vkhah4nd.js.br +0 -0
  458. package/web/chunk-vkhah4nd.js.gz +0 -0
  459. package/web/chunk-vpnh7wmw.js +1 -0
  460. package/web/chunk-vpnh7wmw.js.br +0 -0
  461. package/web/chunk-vpnh7wmw.js.gz +0 -0
  462. package/web/chunk-w1qe2x5p.js +217 -0
  463. package/web/chunk-w1qe2x5p.js.br +0 -0
  464. package/web/chunk-w1qe2x5p.js.gz +0 -0
  465. package/web/chunk-werh47fw.js +99 -0
  466. package/web/chunk-werh47fw.js.br +0 -0
  467. package/web/chunk-werh47fw.js.gz +0 -0
  468. package/web/chunk-wfmf0dc8.js +1 -0
  469. package/web/chunk-wfmf0dc8.js.br +0 -0
  470. package/web/chunk-wfmf0dc8.js.gz +0 -0
  471. package/web/chunk-wna4vqp6.js +1 -0
  472. package/web/chunk-wna4vqp6.js.br +0 -0
  473. package/web/chunk-wna4vqp6.js.gz +0 -0
  474. package/web/chunk-wwhq09nf.js +1 -0
  475. package/web/chunk-wwhq09nf.js.br +0 -0
  476. package/web/chunk-wwhq09nf.js.gz +0 -0
  477. package/web/chunk-x6va53y6.js +291 -0
  478. package/web/chunk-x6va53y6.js.br +0 -0
  479. package/web/chunk-x6va53y6.js.gz +0 -0
  480. package/web/chunk-xefyzr9s.js +120 -0
  481. package/web/chunk-xefyzr9s.js.br +0 -0
  482. package/web/chunk-xefyzr9s.js.gz +0 -0
  483. package/web/chunk-xj1w9054.js +2 -0
  484. package/web/chunk-xj1w9054.js.br +0 -0
  485. package/web/chunk-xj1w9054.js.gz +0 -0
  486. package/web/chunk-xtb3xhxk.js +2 -0
  487. package/web/chunk-xtb3xhxk.js.br +2 -0
  488. package/web/chunk-xtb3xhxk.js.gz +0 -0
  489. package/web/chunk-y1eeptks.js +2 -0
  490. package/web/chunk-y1eeptks.js.br +0 -0
  491. package/web/chunk-y1eeptks.js.gz +0 -0
  492. package/web/chunk-y7z6zmvp.js +292 -0
  493. package/web/chunk-y7z6zmvp.js.br +0 -0
  494. package/web/chunk-y7z6zmvp.js.gz +0 -0
  495. package/web/chunk-yj8tkncg.js +7 -0
  496. package/web/chunk-yj8tkncg.js.br +0 -0
  497. package/web/chunk-yj8tkncg.js.gz +0 -0
  498. package/web/chunk-z0m2d74w.js +1 -0
  499. package/web/chunk-z0m2d74w.js.br +0 -0
  500. package/web/chunk-z0m2d74w.js.gz +0 -0
  501. package/web/chunk-z30kqv40.js +1 -0
  502. package/web/chunk-z30kqv40.js.br +0 -0
  503. package/web/chunk-z30kqv40.js.gz +0 -0
  504. package/web/chunk-z3a96d42.js +332 -0
  505. package/web/chunk-z3a96d42.js.br +0 -0
  506. package/web/chunk-z3a96d42.js.gz +0 -0
  507. package/web/index.html +1 -1
  508. package/web/index.html.br +0 -0
  509. package/web/index.html.gz +0 -0
  510. package/worker.js +1 -1
  511. package/chunk-0tr0cc6f.js +0 -3
  512. package/chunk-1f0mnggp.js +0 -3
  513. package/chunk-1ntcq7ed.js +0 -2
  514. package/chunk-1xkxfddg.js +0 -286
  515. package/chunk-1zz6akcm.js +0 -3
  516. package/chunk-2cd3qzny.js +0 -3
  517. package/chunk-2h2mvrw2.js +0 -3
  518. package/chunk-2sbmy31t.js +0 -2
  519. package/chunk-32s6agaj.js +0 -2
  520. package/chunk-37n62c4c.js +0 -3
  521. package/chunk-3w2902kg.js +0 -9
  522. package/chunk-43q7hq53.js +0 -2
  523. package/chunk-4ewh67qf.js +0 -25
  524. package/chunk-5277mfp2.js +0 -44
  525. package/chunk-54zpktrq.js +0 -3
  526. package/chunk-6f1zc4g6.js +0 -2
  527. package/chunk-6r4kw9x9.js +0 -60
  528. package/chunk-7qaavsga.js +0 -2
  529. package/chunk-88s6d1bz.js +0 -3
  530. package/chunk-9jw0km9r.js +0 -13
  531. package/chunk-a3h0mng1.js +0 -8
  532. package/chunk-acmtkg1q.js +0 -20
  533. package/chunk-adn9jbzj.js +0 -2
  534. package/chunk-anfhjdgv.js +0 -2
  535. package/chunk-apn5amfe.js +0 -498
  536. package/chunk-bsp6e8cv.js +0 -2
  537. package/chunk-bw2h35jd.js +0 -2
  538. package/chunk-bwx9m3ex.js +0 -51
  539. package/chunk-cezgvpja.js +0 -3
  540. package/chunk-cfhtmr6g.js +0 -31
  541. package/chunk-d5w3ntc3.js +0 -7
  542. package/chunk-dtks8c7v.js +0 -2
  543. package/chunk-e01g2yf9.js +0 -3
  544. package/chunk-e1rfd7jn.js +0 -3
  545. package/chunk-e8ehznx7.js +0 -2
  546. package/chunk-edp0svhf.js +0 -3
  547. package/chunk-evaew46c.js +0 -2
  548. package/chunk-ewhpfrgj.js +0 -3
  549. package/chunk-f7q6p7tp.js +0 -7
  550. package/chunk-fgpzy3fe.js +0 -3
  551. package/chunk-fm482h25.js +0 -3
  552. package/chunk-g3j6jdht.js +0 -39
  553. package/chunk-gejre6z5.js +0 -7
  554. package/chunk-gz5ssvjh.js +0 -3
  555. package/chunk-h32ca6cs.js +0 -11
  556. package/chunk-hab25nd9.js +0 -3
  557. package/chunk-jbfkv490.js +0 -8
  558. package/chunk-jem2kqdt.js +0 -3
  559. package/chunk-jrwezx0r.js +0 -16
  560. package/chunk-ka5dtn3w.js +0 -3
  561. package/chunk-kxmws6zx.js +0 -4068
  562. package/chunk-m0gk2b1f.js +0 -3
  563. package/chunk-mekgrca0.js +0 -25
  564. package/chunk-mkp20bwr.js +0 -2
  565. package/chunk-n4qxf40m.js +0 -2
  566. package/chunk-n9r9zzr4.js +0 -59
  567. package/chunk-ndca35jt.js +0 -5
  568. package/chunk-ng9vq9hy.js +0 -2
  569. package/chunk-nx1997s8.js +0 -2
  570. package/chunk-p99dt6kf.js +0 -12
  571. package/chunk-pnctvz58.js +0 -3
  572. package/chunk-ppgn9exm.js +0 -2
  573. package/chunk-pqq5znyp.js +0 -2
  574. package/chunk-q2429jd1.js +0 -3
  575. package/chunk-q3nmdtk4.js +0 -3
  576. package/chunk-q4r4nger.js +0 -3
  577. package/chunk-q6gq7g7m.js +0 -4
  578. package/chunk-qnejy3qp.js +0 -2
  579. package/chunk-sj0fqgjf.js +0 -10
  580. package/chunk-t5y3dqv3.js +0 -3
  581. package/chunk-t6vw73nv.js +0 -2
  582. package/chunk-t9zpdekw.js +0 -5
  583. package/chunk-v0xs5sy0.js +0 -2
  584. package/chunk-v8v2exqg.js +0 -2
  585. package/chunk-wgff8n0r.js +0 -2
  586. package/chunk-wpv679r1.js +0 -3
  587. package/chunk-wrw806wb.js +0 -3
  588. package/chunk-wsby70ce.js +0 -12
  589. package/chunk-xdbgpht7.js +0 -2
  590. package/chunk-y1b98tfk.js +0 -5
  591. package/chunk-y3m3w19s.js +0 -3
  592. package/chunk-y5p5jq48.js +0 -63
  593. package/chunk-ynf5sz68.js +0 -10
  594. package/chunk-zfk9az7y.js +0 -5
  595. package/chunk-zwse6b6t.js +0 -18
  596. package/web/chunk-016nkjwe.js +0 -2
  597. package/web/chunk-016nkjwe.js.br +0 -0
  598. package/web/chunk-016nkjwe.js.gz +0 -0
  599. package/web/chunk-0er8vdaw.js +0 -2
  600. package/web/chunk-0er8vdaw.js.br +0 -0
  601. package/web/chunk-0er8vdaw.js.gz +0 -0
  602. package/web/chunk-0sq0ed2h.js +0 -12
  603. package/web/chunk-0sq0ed2h.js.br +0 -0
  604. package/web/chunk-0sq0ed2h.js.gz +0 -0
  605. package/web/chunk-0w8swe64.js +0 -2
  606. package/web/chunk-0w8swe64.js.br +0 -0
  607. package/web/chunk-0w8swe64.js.gz +0 -0
  608. package/web/chunk-15pxdcz7.js +0 -1
  609. package/web/chunk-15pxdcz7.js.br +0 -0
  610. package/web/chunk-15pxdcz7.js.gz +0 -0
  611. package/web/chunk-1a1w9rth.js +0 -4
  612. package/web/chunk-1a1w9rth.js.br +0 -0
  613. package/web/chunk-1a1w9rth.js.gz +0 -0
  614. package/web/chunk-1e8tsn4c.js +0 -1
  615. package/web/chunk-1e8tsn4c.js.br +0 -0
  616. package/web/chunk-1e8tsn4c.js.gz +0 -0
  617. package/web/chunk-1jwp193e.js +0 -78
  618. package/web/chunk-1jwp193e.js.br +0 -0
  619. package/web/chunk-1jwp193e.js.gz +0 -0
  620. package/web/chunk-1wz0tepc.js +0 -106
  621. package/web/chunk-1wz0tepc.js.br +0 -0
  622. package/web/chunk-1wz0tepc.js.gz +0 -0
  623. package/web/chunk-20gcnbgn.js +0 -2
  624. package/web/chunk-20gcnbgn.js.br +0 -0
  625. package/web/chunk-20gcnbgn.js.gz +0 -0
  626. package/web/chunk-213m58wn.js +0 -1
  627. package/web/chunk-213m58wn.js.br +0 -0
  628. package/web/chunk-213m58wn.js.gz +0 -0
  629. package/web/chunk-2hat8cth.js +0 -1
  630. package/web/chunk-2hat8cth.js.br +0 -0
  631. package/web/chunk-2hat8cth.js.gz +0 -0
  632. package/web/chunk-2nwvdqxm.js +0 -1
  633. package/web/chunk-2nwvdqxm.js.br +0 -0
  634. package/web/chunk-2nwvdqxm.js.gz +0 -0
  635. package/web/chunk-3dj31vfh.js +0 -292
  636. package/web/chunk-3dj31vfh.js.br +0 -0
  637. package/web/chunk-3dj31vfh.js.gz +0 -0
  638. package/web/chunk-3g7waf75.js +0 -70
  639. package/web/chunk-3g7waf75.js.br +0 -0
  640. package/web/chunk-3g7waf75.js.gz +0 -0
  641. package/web/chunk-3x1zg1hk.js +0 -1
  642. package/web/chunk-3x1zg1hk.js.br +0 -0
  643. package/web/chunk-3x1zg1hk.js.gz +0 -0
  644. package/web/chunk-414npx47.js +0 -1
  645. package/web/chunk-414npx47.js.br +0 -0
  646. package/web/chunk-414npx47.js.gz +0 -0
  647. package/web/chunk-416ts17x.js +0 -2
  648. package/web/chunk-416ts17x.js.br +0 -0
  649. package/web/chunk-416ts17x.js.gz +0 -0
  650. package/web/chunk-47qwqp4f.js +0 -7
  651. package/web/chunk-47qwqp4f.js.br +0 -0
  652. package/web/chunk-47qwqp4f.js.gz +0 -0
  653. package/web/chunk-4k4c2se1.js +0 -2
  654. package/web/chunk-4k4c2se1.js.br +0 -0
  655. package/web/chunk-4k4c2se1.js.gz +0 -0
  656. package/web/chunk-4vsg8d4c.js +0 -4
  657. package/web/chunk-4vsg8d4c.js.br +0 -0
  658. package/web/chunk-4vsg8d4c.js.gz +0 -0
  659. package/web/chunk-53ag9hyw.js +0 -40
  660. package/web/chunk-53ag9hyw.js.br +0 -0
  661. package/web/chunk-53ag9hyw.js.gz +0 -0
  662. package/web/chunk-545zx869.js +0 -2
  663. package/web/chunk-545zx869.js.br +0 -0
  664. package/web/chunk-545zx869.js.gz +0 -0
  665. package/web/chunk-55mx05jg.js +0 -2
  666. package/web/chunk-55mx05jg.js.br +0 -0
  667. package/web/chunk-55mx05jg.js.gz +0 -0
  668. package/web/chunk-55phnzd7.js +0 -1
  669. package/web/chunk-55phnzd7.js.br +0 -0
  670. package/web/chunk-55phnzd7.js.gz +0 -0
  671. package/web/chunk-56a6njsk.js +0 -1
  672. package/web/chunk-56a6njsk.js.br +0 -0
  673. package/web/chunk-56a6njsk.js.gz +0 -0
  674. package/web/chunk-5hvs5kyx.js +0 -1
  675. package/web/chunk-5hvs5kyx.js.br +0 -0
  676. package/web/chunk-5hvs5kyx.js.gz +0 -0
  677. package/web/chunk-5nbyvd4t.js +0 -1
  678. package/web/chunk-5nbyvd4t.js.br +0 -0
  679. package/web/chunk-5nbyvd4t.js.gz +0 -0
  680. package/web/chunk-690qxds4.js +0 -1
  681. package/web/chunk-690qxds4.js.br +0 -0
  682. package/web/chunk-690qxds4.js.gz +0 -0
  683. package/web/chunk-6dr6eazd.js +0 -2
  684. package/web/chunk-6dr6eazd.js.br +0 -0
  685. package/web/chunk-6dr6eazd.js.gz +0 -0
  686. package/web/chunk-6nkegqxk.js +0 -139
  687. package/web/chunk-6nkegqxk.js.br +0 -0
  688. package/web/chunk-6nkegqxk.js.gz +0 -0
  689. package/web/chunk-6ypf5nq6.js +0 -140
  690. package/web/chunk-6ypf5nq6.js.br +0 -0
  691. package/web/chunk-6ypf5nq6.js.gz +0 -0
  692. package/web/chunk-70kws32b.js +0 -2
  693. package/web/chunk-70kws32b.js.br +0 -0
  694. package/web/chunk-70kws32b.js.gz +0 -0
  695. package/web/chunk-71tshjjr.js +0 -16
  696. package/web/chunk-71tshjjr.js.br +0 -0
  697. package/web/chunk-71tshjjr.js.gz +0 -0
  698. package/web/chunk-7fh9k75p.js +0 -1
  699. package/web/chunk-7fh9k75p.js.br +0 -0
  700. package/web/chunk-7fh9k75p.js.gz +0 -0
  701. package/web/chunk-7k8azd8z.js +0 -1
  702. package/web/chunk-7k8azd8z.js.br +0 -0
  703. package/web/chunk-7k8azd8z.js.gz +0 -0
  704. package/web/chunk-7mmebce4.js +0 -1
  705. package/web/chunk-7mmebce4.js.br +0 -0
  706. package/web/chunk-7mmebce4.js.gz +0 -0
  707. package/web/chunk-7mwghj09.js +0 -89
  708. package/web/chunk-7mwghj09.js.br +0 -0
  709. package/web/chunk-7mwghj09.js.gz +0 -0
  710. package/web/chunk-7y5kr56m.js +0 -1
  711. package/web/chunk-7y5kr56m.js.br +0 -0
  712. package/web/chunk-7y5kr56m.js.gz +0 -0
  713. package/web/chunk-8esqhp64.js +0 -1
  714. package/web/chunk-8esqhp64.js.br +0 -0
  715. package/web/chunk-8esqhp64.js.gz +0 -0
  716. package/web/chunk-8gxgpr3n.js +0 -214
  717. package/web/chunk-8gxgpr3n.js.br +0 -0
  718. package/web/chunk-8gxgpr3n.js.gz +0 -0
  719. package/web/chunk-8vnmk3y7.js +0 -1
  720. package/web/chunk-8vnmk3y7.js.br +0 -0
  721. package/web/chunk-8vnmk3y7.js.gz +0 -0
  722. package/web/chunk-99r862t8.js +0 -30
  723. package/web/chunk-99r862t8.js.br +0 -0
  724. package/web/chunk-99r862t8.js.gz +0 -0
  725. package/web/chunk-9cznsyf4.js +0 -7
  726. package/web/chunk-9cznsyf4.js.br +0 -0
  727. package/web/chunk-9cznsyf4.js.gz +0 -0
  728. package/web/chunk-9hmw91e9.js +0 -1
  729. package/web/chunk-9hmw91e9.js.br +0 -0
  730. package/web/chunk-9hmw91e9.js.gz +0 -0
  731. package/web/chunk-9j7v0e4v.js +0 -2
  732. package/web/chunk-9j7v0e4v.js.br +0 -0
  733. package/web/chunk-9j7v0e4v.js.gz +0 -0
  734. package/web/chunk-9pyad3tv.js +0 -1
  735. package/web/chunk-9pyad3tv.js.br +0 -0
  736. package/web/chunk-9pyad3tv.js.gz +0 -0
  737. package/web/chunk-9rf2smk2.js +0 -1142
  738. package/web/chunk-9rf2smk2.js.br +0 -0
  739. package/web/chunk-9rf2smk2.js.gz +0 -0
  740. package/web/chunk-aan5qk6x.js +0 -1
  741. package/web/chunk-aan5qk6x.js.br +0 -0
  742. package/web/chunk-aan5qk6x.js.gz +0 -0
  743. package/web/chunk-aaz4msca.js +0 -89
  744. package/web/chunk-aaz4msca.js.br +0 -0
  745. package/web/chunk-aaz4msca.js.gz +0 -0
  746. package/web/chunk-ag0ng2nt.js +0 -24
  747. package/web/chunk-ag0ng2nt.js.br +0 -0
  748. package/web/chunk-ag0ng2nt.js.gz +0 -0
  749. package/web/chunk-an9b0mhe.js +0 -55
  750. package/web/chunk-an9b0mhe.js.br +0 -0
  751. package/web/chunk-an9b0mhe.js.gz +0 -0
  752. package/web/chunk-apgvrfc2.js +0 -41
  753. package/web/chunk-apgvrfc2.js.br +0 -0
  754. package/web/chunk-apgvrfc2.js.gz +0 -0
  755. package/web/chunk-aq09zt1h.js +0 -332
  756. package/web/chunk-aq09zt1h.js.br +0 -0
  757. package/web/chunk-aq09zt1h.js.gz +0 -0
  758. package/web/chunk-ayy6rwm5.js +0 -1
  759. package/web/chunk-ayy6rwm5.js.br +0 -0
  760. package/web/chunk-ayy6rwm5.js.gz +0 -0
  761. package/web/chunk-azhw80d1.js +0 -1
  762. package/web/chunk-azhw80d1.js.br +0 -0
  763. package/web/chunk-azhw80d1.js.gz +0 -0
  764. package/web/chunk-b4bty1ns.js +0 -8
  765. package/web/chunk-b4bty1ns.js.br +0 -1
  766. package/web/chunk-b4bty1ns.js.gz +0 -0
  767. package/web/chunk-bs9934z7.js +0 -200
  768. package/web/chunk-bs9934z7.js.br +0 -0
  769. package/web/chunk-bs9934z7.js.gz +0 -0
  770. package/web/chunk-bvyjy17t.js +0 -14
  771. package/web/chunk-bvyjy17t.js.br +0 -0
  772. package/web/chunk-bvyjy17t.js.gz +0 -0
  773. package/web/chunk-c9nwfxrp.js +0 -1
  774. package/web/chunk-c9nwfxrp.js.br +0 -0
  775. package/web/chunk-c9nwfxrp.js.gz +0 -0
  776. package/web/chunk-capfyqch.js +0 -1
  777. package/web/chunk-capfyqch.js.br +0 -0
  778. package/web/chunk-capfyqch.js.gz +0 -0
  779. package/web/chunk-ckev38zc.js +0 -36
  780. package/web/chunk-ckev38zc.js.br +0 -0
  781. package/web/chunk-ckev38zc.js.gz +0 -0
  782. package/web/chunk-cnkerjp4.js +0 -370
  783. package/web/chunk-cnkerjp4.js.br +0 -0
  784. package/web/chunk-cnkerjp4.js.gz +0 -0
  785. package/web/chunk-d3bgcz6q.js +0 -1
  786. package/web/chunk-d3bgcz6q.js.br +0 -0
  787. package/web/chunk-d3bgcz6q.js.gz +0 -0
  788. package/web/chunk-d5n2yz4e.js +0 -2
  789. package/web/chunk-d5n2yz4e.js.br +0 -0
  790. package/web/chunk-d5n2yz4e.js.gz +0 -0
  791. package/web/chunk-d5xqtvb1.js +0 -2
  792. package/web/chunk-d5xqtvb1.js.br +0 -0
  793. package/web/chunk-d5xqtvb1.js.gz +0 -0
  794. package/web/chunk-daqfnvaw.js +0 -1
  795. package/web/chunk-daqfnvaw.js.br +0 -0
  796. package/web/chunk-daqfnvaw.js.gz +0 -0
  797. package/web/chunk-dqz580pg.js +0 -1
  798. package/web/chunk-dqz580pg.js.br +0 -0
  799. package/web/chunk-dqz580pg.js.gz +0 -0
  800. package/web/chunk-e54b48p5.js +0 -2
  801. package/web/chunk-e54b48p5.js.br +0 -0
  802. package/web/chunk-e54b48p5.js.gz +0 -0
  803. package/web/chunk-e8bgrjps.js +0 -2
  804. package/web/chunk-e8bgrjps.js.br +0 -0
  805. package/web/chunk-e8bgrjps.js.gz +0 -0
  806. package/web/chunk-efdg5mjf.js +0 -217
  807. package/web/chunk-efdg5mjf.js.br +0 -0
  808. package/web/chunk-efdg5mjf.js.gz +0 -0
  809. package/web/chunk-efhyygba.js +0 -7
  810. package/web/chunk-efhyygba.js.br +0 -0
  811. package/web/chunk-efhyygba.js.gz +0 -0
  812. package/web/chunk-en5n60qw.js +0 -2
  813. package/web/chunk-en5n60qw.js.br +0 -0
  814. package/web/chunk-en5n60qw.js.gz +0 -0
  815. package/web/chunk-eq0vm9vw.js +0 -2
  816. package/web/chunk-eq0vm9vw.js.br +0 -0
  817. package/web/chunk-eq0vm9vw.js.gz +0 -0
  818. package/web/chunk-eznkbqms.js +0 -1
  819. package/web/chunk-eznkbqms.js.br +0 -0
  820. package/web/chunk-eznkbqms.js.gz +0 -0
  821. package/web/chunk-f5wyg9zh.js +0 -2
  822. package/web/chunk-f5wyg9zh.js.br +0 -0
  823. package/web/chunk-f5wyg9zh.js.gz +0 -0
  824. package/web/chunk-f9rv8b13.js +0 -1
  825. package/web/chunk-f9rv8b13.js.br +0 -0
  826. package/web/chunk-f9rv8b13.js.gz +0 -0
  827. package/web/chunk-fnzyprme.js +0 -142
  828. package/web/chunk-fnzyprme.js.br +0 -0
  829. package/web/chunk-fnzyprme.js.gz +0 -0
  830. package/web/chunk-g63m3g5y.js +0 -1
  831. package/web/chunk-g63m3g5y.js.br +0 -2
  832. package/web/chunk-g63m3g5y.js.gz +0 -0
  833. package/web/chunk-g6gb3wz7.js +0 -1
  834. package/web/chunk-g6gb3wz7.js.br +0 -2
  835. package/web/chunk-g6gb3wz7.js.gz +0 -0
  836. package/web/chunk-g7ec62te.js +0 -2
  837. package/web/chunk-g7ec62te.js.br +0 -0
  838. package/web/chunk-g7ec62te.js.gz +0 -0
  839. package/web/chunk-gkj2bbdx.js +0 -1
  840. package/web/chunk-gkj2bbdx.js.br +0 -0
  841. package/web/chunk-gkj2bbdx.js.gz +0 -0
  842. package/web/chunk-gnx30bed.css +0 -1
  843. package/web/chunk-gnx30bed.css.br +0 -0
  844. package/web/chunk-gnx30bed.css.gz +0 -0
  845. package/web/chunk-gvndjaan.js +0 -2
  846. package/web/chunk-gvndjaan.js.br +0 -0
  847. package/web/chunk-gvndjaan.js.gz +0 -0
  848. package/web/chunk-h391pq6j.js +0 -1
  849. package/web/chunk-h391pq6j.js.br +0 -0
  850. package/web/chunk-h391pq6j.js.gz +0 -0
  851. package/web/chunk-h3kdr5mz.js +0 -21
  852. package/web/chunk-h3kdr5mz.js.br +0 -0
  853. package/web/chunk-h3kdr5mz.js.gz +0 -0
  854. package/web/chunk-hjs5pyye.js +0 -1
  855. package/web/chunk-hjs5pyye.js.br +0 -0
  856. package/web/chunk-hjs5pyye.js.gz +0 -0
  857. package/web/chunk-hxgtek0e.js +0 -2
  858. package/web/chunk-hxgtek0e.js.br +0 -0
  859. package/web/chunk-hxgtek0e.js.gz +0 -0
  860. package/web/chunk-j5a3jhp0.js +0 -120
  861. package/web/chunk-j5a3jhp0.js.br +0 -0
  862. package/web/chunk-j5a3jhp0.js.gz +0 -0
  863. package/web/chunk-jgdways6.js +0 -39
  864. package/web/chunk-jgdways6.js.br +0 -0
  865. package/web/chunk-jgdways6.js.gz +0 -0
  866. package/web/chunk-jybmjakj.js +0 -1
  867. package/web/chunk-jybmjakj.js.br +0 -2
  868. package/web/chunk-jybmjakj.js.gz +0 -0
  869. package/web/chunk-kasv56qe.js +0 -303
  870. package/web/chunk-kasv56qe.js.br +0 -0
  871. package/web/chunk-kasv56qe.js.gz +0 -0
  872. package/web/chunk-kmhbkjqx.js +0 -2
  873. package/web/chunk-kmhbkjqx.js.br +0 -0
  874. package/web/chunk-kmhbkjqx.js.gz +0 -0
  875. package/web/chunk-m06zdhdz.js +0 -1
  876. package/web/chunk-m06zdhdz.js.br +0 -0
  877. package/web/chunk-m06zdhdz.js.gz +0 -0
  878. package/web/chunk-mrnnq8dv.js +0 -1
  879. package/web/chunk-mrnnq8dv.js.br +0 -0
  880. package/web/chunk-mrnnq8dv.js.gz +0 -0
  881. package/web/chunk-mx1e3jgh.js +0 -1
  882. package/web/chunk-mx1e3jgh.js.br +0 -0
  883. package/web/chunk-mx1e3jgh.js.gz +0 -0
  884. package/web/chunk-n0tehchs.js +0 -3
  885. package/web/chunk-n0tehchs.js.br +0 -0
  886. package/web/chunk-n0tehchs.js.gz +0 -0
  887. package/web/chunk-n449ebhn.js +0 -38
  888. package/web/chunk-n449ebhn.js.br +0 -0
  889. package/web/chunk-n449ebhn.js.gz +0 -0
  890. package/web/chunk-ngsv0xfb.js +0 -1
  891. package/web/chunk-ngsv0xfb.js.br +0 -0
  892. package/web/chunk-ngsv0xfb.js.gz +0 -0
  893. package/web/chunk-ngy730n0.js +0 -1
  894. package/web/chunk-ngy730n0.js.br +0 -0
  895. package/web/chunk-ngy730n0.js.gz +0 -0
  896. package/web/chunk-nj9dtqyd.js +0 -2
  897. package/web/chunk-nj9dtqyd.js.br +0 -0
  898. package/web/chunk-nj9dtqyd.js.gz +0 -0
  899. package/web/chunk-nzaq0yae.js +0 -2
  900. package/web/chunk-nzaq0yae.js.br +0 -0
  901. package/web/chunk-nzaq0yae.js.gz +0 -0
  902. package/web/chunk-pgnfj8ea.js +0 -2
  903. package/web/chunk-pgnfj8ea.js.br +0 -0
  904. package/web/chunk-pgnfj8ea.js.gz +0 -0
  905. package/web/chunk-qtgen5c5.js +0 -24
  906. package/web/chunk-qtgen5c5.js.br +0 -0
  907. package/web/chunk-qtgen5c5.js.gz +0 -0
  908. package/web/chunk-qzn05afn.js +0 -169
  909. package/web/chunk-qzn05afn.js.br +0 -0
  910. package/web/chunk-qzn05afn.js.gz +0 -0
  911. package/web/chunk-r76we294.js +0 -1
  912. package/web/chunk-r76we294.js.br +0 -0
  913. package/web/chunk-r76we294.js.gz +0 -0
  914. package/web/chunk-r7st369j.js +0 -1
  915. package/web/chunk-r7st369j.js.br +0 -0
  916. package/web/chunk-r7st369j.js.gz +0 -0
  917. package/web/chunk-rj1rp0tc.js +0 -1
  918. package/web/chunk-rj1rp0tc.js.br +0 -0
  919. package/web/chunk-rj1rp0tc.js.gz +0 -0
  920. package/web/chunk-sgy3c5m7.js +0 -62
  921. package/web/chunk-sgy3c5m7.js.br +0 -0
  922. package/web/chunk-sgy3c5m7.js.gz +0 -0
  923. package/web/chunk-t7s9xrxt.js +0 -34
  924. package/web/chunk-t7s9xrxt.js.br +0 -0
  925. package/web/chunk-t7s9xrxt.js.gz +0 -0
  926. package/web/chunk-tmf1jnqz.js +0 -2
  927. package/web/chunk-tmf1jnqz.js.br +0 -0
  928. package/web/chunk-tmf1jnqz.js.gz +0 -0
  929. package/web/chunk-tn39vbcz.js +0 -2
  930. package/web/chunk-tn39vbcz.js.br +0 -0
  931. package/web/chunk-tn39vbcz.js.gz +0 -0
  932. package/web/chunk-tntwwpyh.js +0 -2
  933. package/web/chunk-tntwwpyh.js.br +0 -0
  934. package/web/chunk-tntwwpyh.js.gz +0 -0
  935. package/web/chunk-tpzyyc2z.js +0 -2
  936. package/web/chunk-tpzyyc2z.js.br +0 -0
  937. package/web/chunk-tpzyyc2z.js.gz +0 -0
  938. package/web/chunk-v95eqx92.js +0 -84
  939. package/web/chunk-v95eqx92.js.br +0 -0
  940. package/web/chunk-v95eqx92.js.gz +0 -0
  941. package/web/chunk-vcj5m1xb.js +0 -1
  942. package/web/chunk-vcj5m1xb.js.br +0 -0
  943. package/web/chunk-vcj5m1xb.js.gz +0 -0
  944. package/web/chunk-vndrjeyr.js +0 -2
  945. package/web/chunk-vndrjeyr.js.br +0 -0
  946. package/web/chunk-vndrjeyr.js.gz +0 -0
  947. package/web/chunk-vq0zf16h.js +0 -1
  948. package/web/chunk-vq0zf16h.js.br +0 -0
  949. package/web/chunk-vq0zf16h.js.gz +0 -0
  950. package/web/chunk-vqhtph6r.js +0 -1
  951. package/web/chunk-vqhtph6r.js.br +0 -0
  952. package/web/chunk-vqhtph6r.js.gz +0 -0
  953. package/web/chunk-vvsfwjrg.js +0 -1
  954. package/web/chunk-vvsfwjrg.js.br +0 -0
  955. package/web/chunk-vvsfwjrg.js.gz +0 -0
  956. package/web/chunk-vz2mgxs7.js +0 -1
  957. package/web/chunk-vz2mgxs7.js.br +0 -0
  958. package/web/chunk-vz2mgxs7.js.gz +0 -0
  959. package/web/chunk-wdd9pasx.js +0 -1
  960. package/web/chunk-wdd9pasx.js.br +0 -0
  961. package/web/chunk-wdd9pasx.js.gz +0 -0
  962. package/web/chunk-wry3q68j.js +0 -1
  963. package/web/chunk-wry3q68j.js.br +0 -2
  964. package/web/chunk-wry3q68j.js.gz +0 -0
  965. package/web/chunk-wrz0gqnv.js +0 -1
  966. package/web/chunk-wrz0gqnv.js.br +0 -0
  967. package/web/chunk-wrz0gqnv.js.gz +0 -0
  968. package/web/chunk-wvapb3r6.js +0 -98
  969. package/web/chunk-wvapb3r6.js.br +0 -0
  970. package/web/chunk-wvapb3r6.js.gz +0 -0
  971. package/web/chunk-x6qva9zc.js +0 -324
  972. package/web/chunk-x6qva9zc.js.br +0 -0
  973. package/web/chunk-x6qva9zc.js.gz +0 -0
  974. package/web/chunk-xa2ngtyg.js +0 -2
  975. package/web/chunk-xa2ngtyg.js.br +0 -0
  976. package/web/chunk-xa2ngtyg.js.gz +0 -0
  977. package/web/chunk-xhjf5ye0.js +0 -1
  978. package/web/chunk-xhjf5ye0.js.br +0 -0
  979. package/web/chunk-xhjf5ye0.js.gz +0 -0
  980. package/web/chunk-xkqekh81.js +0 -2
  981. package/web/chunk-xkqekh81.js.br +0 -0
  982. package/web/chunk-xkqekh81.js.gz +0 -0
  983. package/web/chunk-xsjvamcy.js +0 -1
  984. package/web/chunk-xsjvamcy.js.br +0 -0
  985. package/web/chunk-xsjvamcy.js.gz +0 -0
  986. package/web/chunk-xyfnr395.js +0 -1
  987. package/web/chunk-xyfnr395.js.br +0 -0
  988. package/web/chunk-xyfnr395.js.gz +0 -0
  989. package/web/chunk-y48mj5d7.js +0 -1
  990. package/web/chunk-y48mj5d7.js.br +0 -0
  991. package/web/chunk-y48mj5d7.js.gz +0 -0
  992. package/web/chunk-y4x1g94q.js +0 -1
  993. package/web/chunk-y4x1g94q.js.br +0 -0
  994. package/web/chunk-y4x1g94q.js.gz +0 -0
  995. package/web/chunk-yzbp4vpe.js +0 -1
  996. package/web/chunk-yzbp4vpe.js.br +0 -0
  997. package/web/chunk-yzbp4vpe.js.gz +0 -0
  998. package/web/chunk-z601k790.js +0 -291
  999. package/web/chunk-z601k790.js.br +0 -0
  1000. package/web/chunk-z601k790.js.gz +0 -0
  1001. package/web/chunk-zc9mxd01.js +0 -99
  1002. package/web/chunk-zc9mxd01.js.br +0 -0
  1003. package/web/chunk-zc9mxd01.js.gz +0 -0
  1004. package/web/chunk-zm1jfkcz.js +0 -2
  1005. package/web/chunk-zm1jfkcz.js.br +0 -0
  1006. package/web/chunk-zm1jfkcz.js.gz +0 -0
  1007. package/web/chunk-zz0d7377.js +0 -2
  1008. package/web/chunk-zz0d7377.js.br +0 -0
  1009. package/web/chunk-zz0d7377.js.gz +0 -0
@@ -1,291 +0,0 @@
1
- import{t,i,ct,C,N,M,P,R,I,O,D,d,g,nc,H,De,Ne,Me,hn,He,Ue}from"./chunk-kasv56qe.js";import{Fn}from"./chunk-g7ec62te.js";import{ze}from"./chunk-6dr6eazd.js";import{Pe}from"./chunk-kmhbkjqx.js";var Pt=function(){var e=t(function(Q,c,p,n){for(p=p||{},n=Q.length;n--;p[Q[n]]=c);return p},"o"),s=[1,2],l=[1,3],r=[1,4],u=[2,4],f=[1,9],y=[1,11],m=[1,16],o=[1,17],T=[1,18],E=[1,19],B=[1,33],G=[1,20],W=[1,21],x=[1,22],S=[1,23],Y=[1,24],L=[1,26],z=[1,27],V=[1,28],K=[1,29],A=[1,30],st=[1,31],St=[1,32],gt=[1,35],yt=[1,36],mt=[1,37],bt=[1,38],rt=[1,34],b=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],kt=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],Vt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],Lt={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:t(function(c,p,n,k,_,a,it){var h=a.length-1;switch(_){case 3:return k.setRootDoc(a[h]),a[h];break;case 4:this.$=[];break;case 5:if(a[h]!="nl")a[h-1].push(a[h]),this.$=a[h-1];break;case 6:case 7:this.$=a[h];break;case 8:this.$="nl";break;case 12:this.$=a[h];break;case 13:let Et=a[h-1];Et.description=k.trimColon(a[h]),this.$=Et;break;case 14:this.$={stmt:"relation",state1:a[h-2],state2:a[h]};break;case 15:let _t=k.trimColon(a[h]);this.$={stmt:"relation",state1:a[h-3],state2:a[h-1],description:_t};break;case 19:this.$={stmt:"state",id:a[h-3],type:"default",description:"",doc:a[h-1]};break;case 20:var X=a[h],J=a[h-2].trim();if(a[h].match(":")){var lt=a[h].split(":");X=lt[0],J=[J,lt[1]]}this.$={stmt:"state",id:X,type:"default",description:J};break;case 21:this.$={stmt:"state",id:a[h-3],type:"default",description:a[h-5],doc:a[h-1]};break;case 22:this.$={stmt:"state",id:a[h],type:"fork"};break;case 23:this.$={stmt:"state",id:a[h],type:"join"};break;case 24:this.$={stmt:"state",id:a[h],type:"choice"};break;case 25:this.$={stmt:"state",id:k.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:a[h-1].trim(),note:{position:a[h-2].trim(),text:a[h].trim()}};break;case 29:this.$=a[h].trim(),k.setAccTitle(this.$);break;case 30:case 31:this.$=a[h].trim(),k.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:a[h-3],url:a[h-2],tooltip:a[h-1]};break;case 33:this.$={stmt:"click",id:a[h-3],url:a[h-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:a[h-1].trim(),classes:a[h].trim()};break;case 36:this.$={stmt:"style",id:a[h-1].trim(),styleClass:a[h].trim()};break;case 37:this.$={stmt:"applyClass",id:a[h-1].trim(),styleClass:a[h].trim()};break;case 38:k.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:k.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:k.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:k.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:a[h].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:a[h-2].trim(),classes:[a[h].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:a[h-2].trim(),classes:[a[h].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:s,5:l,6:r},{1:[3]},{3:5,4:s,5:l,6:r},{3:6,4:s,5:l,6:r},e([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],u,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:f,5:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:T,22:E,24:B,25:G,26:W,27:x,28:S,29:Y,32:25,33:L,35:z,37:V,38:K,41:A,45:st,48:St,51:gt,52:yt,53:mt,54:bt,57:rt},e(b,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:m,17:o,19:T,22:E,24:B,25:G,26:W,27:x,28:S,29:Y,32:25,33:L,35:z,37:V,38:K,41:A,45:st,48:St,51:gt,52:yt,53:mt,54:bt,57:rt},e(b,[2,7]),e(b,[2,8]),e(b,[2,9]),e(b,[2,10]),e(b,[2,11]),e(b,[2,12],{14:[1,40],15:[1,41]}),e(b,[2,16]),{18:[1,42]},e(b,[2,18],{20:[1,43]}),{23:[1,44]},e(b,[2,22]),e(b,[2,23]),e(b,[2,24]),e(b,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},e(b,[2,28]),{34:[1,49]},{36:[1,50]},e(b,[2,31]),{13:51,24:B,57:rt},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},e(kt,[2,44],{58:[1,56]}),e(kt,[2,45],{58:[1,57]}),e(b,[2,38]),e(b,[2,39]),e(b,[2,40]),e(b,[2,41]),e(b,[2,6]),e(b,[2,13]),{13:58,24:B,57:rt},e(b,[2,17]),e(Vt,u,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},e(b,[2,29]),e(b,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},e(b,[2,14],{14:[1,71]}),{4:f,5:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:T,21:[1,72],22:E,24:B,25:G,26:W,27:x,28:S,29:Y,32:25,33:L,35:z,37:V,38:K,41:A,45:st,48:St,51:gt,52:yt,53:mt,54:bt,57:rt},e(b,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},e(b,[2,34]),e(b,[2,35]),e(b,[2,36]),e(b,[2,37]),e(kt,[2,46]),e(kt,[2,47]),e(b,[2,15]),e(b,[2,19]),e(Vt,u,{7:78}),e(b,[2,26]),e(b,[2,27]),{5:[1,79]},{5:[1,80]},{4:f,5:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:T,21:[1,81],22:E,24:B,25:G,26:W,27:x,28:S,29:Y,32:25,33:L,35:z,37:V,38:K,41:A,45:st,48:St,51:gt,52:yt,53:mt,54:bt,57:rt},e(b,[2,32]),e(b,[2,33]),e(b,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:t(function(c,p){if(p.recoverable)this.trace(c);else{var n=Error(c);throw n.hash=p,n}},"parseError"),parse:t(function(c){var p=this,n=[0],k=[],_=[null],a=[],it=this.table,h="",X=0,J=0,lt=0,Et=2,_t=1,de=a.slice.call(arguments,1),v=Object.create(this.lexer),tt={yy:{}};for(var wt in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,wt))tt.yy[wt]=this.yy[wt];if(v.setInput(c,tt.yy),tt.yy.lexer=v,tt.yy.parser=this,typeof v.yylloc>"u")v.yylloc={};var It=v.yylloc;a.push(It);var ue=v.options&&v.options.ranges;if(typeof tt.yy.parseError==="function")this.parseError=tt.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function fe(U){n.length=n.length-2*U,_.length=_.length-U,a.length=a.length-U}t(fe,"popStack");function Mt(){var U=k.pop()||v.lex()||_t;if(typeof U!=="number"){if(U instanceof Array)k=U,U=k.pop();U=p.symbols_[U]||U}return U}t(Mt,"lex");var w,Nt,et,j,Qe,Ot,at={},vt,q,Wt,Dt;while(!0){if(et=n[n.length-1],this.defaultActions[et])j=this.defaultActions[et];else{if(w===null||typeof w>"u")w=Mt();j=it[et]&&it[et][w]}if(typeof j>"u"||!j.length||!j[0]){var Rt="";Dt=[];for(vt in it[et])if(this.terminals_[vt]&&vt>Et)Dt.push("'"+this.terminals_[vt]+"'");if(v.showPosition)Rt="Parse error on line "+(X+1)+`:
2
- `+v.showPosition()+`
3
- Expecting `+Dt.join(", ")+", got '"+(this.terminals_[w]||w)+"'";else Rt="Parse error on line "+(X+1)+": Unexpected "+(w==_t?"end of input":"'"+(this.terminals_[w]||w)+"'");this.parseError(Rt,{text:v.match,token:this.terminals_[w]||w,line:v.yylineno,loc:It,expected:Dt})}if(j[0]instanceof Array&&j.length>1)throw Error("Parse Error: multiple actions possible at state: "+et+", token: "+w);switch(j[0]){case 1:if(n.push(w),_.push(v.yytext),a.push(v.yylloc),n.push(j[1]),w=null,!Nt){if(J=v.yyleng,h=v.yytext,X=v.yylineno,It=v.yylloc,lt>0)lt--}else w=Nt,Nt=null;break;case 2:if(q=this.productions_[j[1]][1],at.$=_[_.length-q],at._$={first_line:a[a.length-(q||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(q||1)].first_column,last_column:a[a.length-1].last_column},ue)at._$.range=[a[a.length-(q||1)].range[0],a[a.length-1].range[1]];if(Ot=this.performAction.apply(at,[h,J,X,tt.yy,j[1],_,a].concat(de)),typeof Ot<"u")return Ot;if(q)n=n.slice(0,-1*q*2),_=_.slice(0,-1*q),a=a.slice(0,-1*q);n.push(this.productions_[j[1]][0]),_.push(at.$),a.push(at._$),Wt=it[n[n.length-2]][n[n.length-1]],n.push(Wt);break;case 3:return!0}}return!0},"parse")},he=function(){var Q={EOF:1,parseError:t(function(p,n){if(this.yy.parser)this.yy.parser.parseError(p,n);else throw Error(p)},"parseError"),setInput:t(function(c,p){if(this.yy=p||this.yy||{},this._input=c,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 c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var p=c.match(/(?:\r\n?|\n).*/g);if(p)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),c},"input"),unput:t(function(c){var p=c.length,n=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-p),this.offset-=p;var k=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),n.length-1)this.yylineno-=n.length-1;var _=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:n?(n.length===k.length?this.yylloc.first_column:0)+k[k.length-n.length].length-n[0].length:this.yylloc.first_column-p},this.options.ranges)this.yylloc.range=[_[0],_[0]+this.yyleng-p];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
- `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(c){this.unput(this.match.slice(c))},"less"),pastInput:t(function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var c=this.match;if(c.length<20)c+=this._input.substr(0,20-c.length);return(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var c=this.pastInput(),p=Array(c.length+1).join("-");return c+this.upcomingInput()+`
5
- `+p+"^"},"showPosition"),test_match:t(function(c,p){var n,k,_;if(this.options.backtrack_lexer){if(_={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)_.yylloc.range=this.yylloc.range.slice(0)}if(k=c[0].match(/(?:\r\n?|\n).*/g),k)this.yylineno+=k.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:k?k[k.length-1].length-k[k.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+c[0].length},this.yytext+=c[0],this.match+=c[0],this.matches=c,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(c[0].length),this.matched+=c[0],n=this.performAction.call(this,this.yy,this,p,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(n)return n;else if(this._backtrack){for(var a in _)this[a]=_[a];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var c,p,n,k;if(!this._more)this.yytext="",this.match="";var _=this._currentRules();for(var a=0;a<_.length;a++)if(n=this._input.match(this.rules[_[a]]),n&&(!p||n[0].length>p[0].length)){if(p=n,k=a,this.options.backtrack_lexer)if(c=this.test_match(n,_[a]),c!==!1)return c;else if(this._backtrack){p=!1;continue}else return!1;else if(!this.options.flex)break}if(p){if(c=this.test_match(p,_[k]),c!==!1)return c;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
- `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var p=this.next();if(p)return p;else return this.lex()},"lex"),begin:t(function(p){this.conditionStack.push(p)},"begin"),popState:t(function(){var p=this.conditionStack.length-1;if(p>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(p){if(p=this.conditionStack.length-1-Math.abs(p||0),p>=0)return this.conditionStack[p];else return"INITIAL"},"topState"),pushState:t(function(p){this.begin(p)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(p,n,k,_){function a(){let h=n.yytext.indexOf("%%");if(h===0)return!1;if(h>0){let X=n.yytext.slice(0,h),J=n.yytext.slice(h);if(J)p.lexer.unput(J);n.yytext=X}return!0}t(a,"processId");var it=_;switch(k){case 0:return 38;case 1:return 40;case 2:return 39;case 3:return 44;case 4:return 51;case 5:return 52;case 6:return 53;case 7:return 54;case 8:return 5;case 9:break;case 10:break;case 11:break;case 12:break;case 13:return this.pushState("SCALE"),17;break;case 14:return 18;case 15:this.popState();break;case 16:return this.begin("acc_title"),33;break;case 17:return this.popState(),"acc_title_value";break;case 18:return this.begin("acc_descr"),35;break;case 19:return this.popState(),"acc_descr_value";break;case 20:this.begin("acc_descr_multiline");break;case 21:this.popState();break;case 22:return"acc_descr_multiline_value";case 23:return this.pushState("CLASSDEF"),41;break;case 24:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";break;case 25:return this.popState(),this.pushState("CLASSDEFID"),42;break;case 26:return this.popState(),43;break;case 27:return this.pushState("CLASS"),48;break;case 28:return this.popState(),this.pushState("CLASS_STYLE"),49;break;case 29:return this.popState(),50;break;case 30:return this.pushState("STYLE"),45;break;case 31:return this.popState(),this.pushState("STYLEDEF_STYLES"),46;break;case 32:return this.popState(),47;break;case 33:return this.pushState("SCALE"),17;break;case 34:return 18;case 35:this.popState();break;case 36:this.pushState("STATE");break;case 37:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),25;break;case 38:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),26;break;case 39:return this.popState(),n.yytext=n.yytext.slice(0,-10).trim(),27;break;case 40:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),25;break;case 41:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),26;break;case 42:return this.popState(),n.yytext=n.yytext.slice(0,-10).trim(),27;break;case 43:return 51;case 44:return 52;case 45:return 53;case 46:return 54;case 47:this.pushState("STATE_STRING");break;case 48:return this.pushState("STATE_ID"),"AS";break;case 49:if(!a())return;return this.popState(),"ID";break;case 50:this.popState();break;case 51:return"STATE_DESCR";case 52:throw Error('Error: State name must be a single word. Found: "'+n.yytext.trim()+'"');case 53:return 19;case 54:this.popState();break;case 55:return this.popState(),this.pushState("struct"),20;break;case 56:return this.popState(),21;break;case 57:break;case 58:return this.begin("NOTE"),29;break;case 59:return this.popState(),this.pushState("NOTE_ID"),59;break;case 60:return this.popState(),this.pushState("NOTE_ID"),60;break;case 61:this.popState(),this.pushState("FLOATING_NOTE");break;case 62:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";break;case 63:break;case 64:return"NOTE_TEXT";case 65:if(!a())return;return this.popState(),"ID";break;case 66:if(!a())return;return this.popState(),this.pushState("NOTE_TEXT"),24;break;case 67:return this.popState(),n.yytext=n.yytext.substr(2).trim(),31;break;case 68:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),31;break;case 69:return 6;case 70:return 6;case 71:return 16;case 72:return 57;case 73:if(!a())return;return 24;case 74:return n.yytext=n.yytext.trim(),14;break;case 75:return 15;case 76:return 28;case 77:return 58;case 78:return 5;case 79:return"INVALID"}},"anonymous"),rules:[/^(?:click\b)/i,/^(?:href\b)/i,/^(?:"[^"]*")/i,/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:style\s+)/i,/^(?:[\w,]+\s+)/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\w+\s+\w+.*?\{)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?\n\s*end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:(?:[^:\n;]|:[^:\n;])+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[10,11,12],inclusive:!1},struct:{rules:[10,11,12,23,27,30,36,43,44,45,46,56,57,58,72,73,74,75,76,77],inclusive:!1},FLOATING_NOTE_ID:{rules:[65],inclusive:!1},FLOATING_NOTE:{rules:[62,63,64],inclusive:!1},NOTE_TEXT:{rules:[67,68],inclusive:!1},NOTE_ID:{rules:[66],inclusive:!1},NOTE:{rules:[59,60,61],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[32],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[31],inclusive:!1},CLASS_STYLE:{rules:[29],inclusive:!1},CLASS:{rules:[28],inclusive:!1},CLASSDEFID:{rules:[26],inclusive:!1},CLASSDEF:{rules:[24,25],inclusive:!1},acc_descr_multiline:{rules:[21,22],inclusive:!1},acc_descr:{rules:[19],inclusive:!1},acc_title:{rules:[17],inclusive:!1},SCALE:{rules:[14,15,34,35],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[49],inclusive:!1},STATE_STRING:{rules:[50,51],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[10,11,12,37,38,39,40,41,42,47,48,52,53,54,55],inclusive:!1},ID:{rules:[10,11,12],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,11,12,13,16,18,20,23,27,30,33,36,55,58,69,70,71,72,73,74,75,77,78,79],inclusive:!0}}};return Q}();Lt.lexer=he;function Tt(){this.yy={}}return t(Tt,"Parser"),Tt.prototype=Lt,Lt.Parser=Tt,new Tt}();Pt.parser=Pt;var pe=Pt,Se="TB",Jt="TB",jt="dir",ot="state",nt="root",Bt="relation",ge="classDef",ye="style",me="applyClass",ft="default",qt="divider",Qt="fill:none",Zt="fill: #333",te="c",ee="markdown",se="normal",$t="rect",Ft="rectWithTitle",be="stateStart",ke="stateEnd",Gt="divider",Ut="roundedWithTitle",Te="note",Ee="noteGroup",pt="statediagram",_e="state",ve=`${pt}-${_e}`,re="transition",Ce="note",Ae="note-edge",xe=`${re} ${Ae}`,Le=`${pt}-${Ce}`,we="cluster",Ie=`${pt}-${we}`,Oe="cluster-alt",Re=`${pt}-${Oe}`,ie="parent",ae="note",$e="state",Yt="----",Fe=`${Yt}${ae}`,Ht=`${Yt}${ie}`,At=new Map,Z=0,ne=0,ht=new Map,Be=t((e,s,l,r)=>{if(e===Gt&&l?.id!==void 0&&ht.has(l.id)){let y=ht.get(l.id);return ht.set(s,y),y}let u=ne++,f=r?void 0:u;return ht.set(s,f),f},"colorSlotFor");function xt(e="",s=0,l="",r=Yt){let u=l!==null&&l.length>0?`${r}${l}`:"";return`${$e}-${e}${u}-${s}`}t(xt,"stateDomId");var Ge=t((e,s,l,r,u,f,y,m)=>{i.trace("items",s),s.forEach((o)=>{switch(o.stmt){case ot:ut(e,o,l,r,u,f,y,m);break;case ft:ut(e,o,l,r,u,f,y,m);break;case Bt:{ut(e,o.state1,l,r,u,f,y,m),ut(e,o.state2,l,r,u,f,y,m);let T=y==="neo",E={id:"edge"+Z,start:o.state1.id,end:o.state2.id,arrowhead:"normal",arrowTypeEnd:T?"arrow_barb_neo":"arrow_barb",style:Qt,labelStyle:"",label:C.sanitizeText(o.description??"",d()),arrowheadStyle:Zt,labelpos:te,labelType:ee,thickness:se,classes:re,look:y};u.push(E),Z++}break}})},"setupDoc"),zt=t((e,s=Jt)=>{let l=s;if(e.doc){for(let r of e.doc)if(r.stmt==="dir")l=r.value}return l},"getDir");function dt(e,s,l){if(!s.id||s.id==="</join></fork>"||s.id==="</choice>")return;if(s.cssClasses){if(!Array.isArray(s.cssCompiledStyles))s.cssCompiledStyles=[];s.cssClasses.split(" ").forEach((u)=>{let f=l.get(u);if(f)s.cssCompiledStyles=[...s.cssCompiledStyles??[],...f.styles]})}let r=e.find((u)=>u.id===s.id);if(r)Object.assign(r,s);else e.push(s)}t(dt,"insertOrUpdateNode");function oe(e){return e?.classes?.join(" ")??""}t(oe,"getClassesFromDbInfo");function le(e){return e?.styles??[]}t(le,"getStylesFromDbInfo");var ut=t((e,s,l,r,u,f,y,m)=>{let o=s.id,T=l.get(o),E=oe(T),B=le(T),G=d(),W=E.trim()!==""||B.length>0;if(i.info("dataFetcher parsedItem",s,T,B),o!=="root"){let x=$t;if(s.start===!0)x=be;else if(s.start===!1)x=ke;if(s.type!==ft)x=s.type;if(!At.get(o))At.set(o,{id:o,shape:x,description:C.sanitizeText(o,G),cssClasses:`${E} ${ve}`,cssStyles:B});let S=At.get(o);if(s.description){if(Array.isArray(S.description))S.shape=Ft,S.description.push(s.description);else if(S.description?.length&&S.description.length>0)if(S.shape=Ft,S.description===o)S.description=[s.description];else S.description=[S.description,s.description];else S.shape=$t,S.description=s.description;S.description=C.sanitizeTextOrArray(S.description,G)}if(S.description?.length===1&&S.shape===Ft)if(S.type==="group")S.shape=Ut;else S.shape=$t;if(!S.type&&s.doc)i.info("Setting cluster for XCX",o,zt(s)),S.type="group",S.isGroup=!0,S.dir=zt(s),S.shape=s.type===qt?Gt:Ut,S.colorIndex=Be(S.shape,o,e,W),S.cssClasses=`${S.cssClasses} ${Ie} ${f?Re:""}`;let Y={labelStyle:"",shape:S.shape,label:S.description,cssClasses:S.cssClasses,cssCompiledStyles:[],cssStyles:S.cssStyles,id:o,dir:S.dir,domId:xt(o,Z),type:S.type,isGroup:S.type==="group",colorIndex:S.colorIndex,padding:8,rx:10,ry:10,look:y,labelType:"markdown"};if(Y.shape===Gt)Y.label="";if(e&&e.id!=="root")i.trace("Setting node ",o," to be child of its parent ",e.id),Y.parentId=e.id;if(Y.centerLabel=!0,s.note){let L={labelStyle:"",shape:Te,label:s.note.text,labelType:"markdown",cssClasses:Le,cssStyles:[],cssCompiledStyles:[],id:o+Fe+"-"+Z,domId:xt(o,Z,ae),type:"node",isGroup:!1,padding:G.flowchart?.padding,look:y,position:s.note.position},z=o+Ht,V={labelStyle:"",shape:Ee,label:s.note.text,cssClasses:S.cssClasses,cssStyles:[],id:o+Ht,domId:xt(o,Z,ie),type:"group",isGroup:!0,padding:16,look:y,position:s.note.position};Z++,V.id=z,L.parentId=z,dt(r,V,m),dt(r,L,m),dt(r,Y,m);let K=o,A=L.id;if(s.note.position==="left of")K=L.id,A=o;u.push({id:K+"-"+A,start:K,end:A,arrowhead:"none",arrowTypeEnd:"",style:Qt,labelStyle:"",classes:xe,pattern:"dashed",arrowheadStyle:Zt,labelpos:te,labelType:ee,thickness:se,look:y})}else dt(r,Y,m)}if(s.doc)i.trace("Adding nodes children "),Ge(s,s.doc,l,r,u,!f,y,m)},"dataFetcher"),Ye=t(()=>{At.clear(),Z=0,ne=0,ht.clear()},"reset"),ce=t((e,s=Jt)=>{if(!e.doc)return s;let l=s;for(let r of e.doc)if(r.stmt==="dir")l=r.value;return l},"getDir"),Ve=t(function(e,s){return s.db.getClasses()},"getClasses"),We=t(async function(e,s,l,r){i.info("REF0:"),i.info("Drawing state diagram (v2)",s);let{securityLevel:u,state:f,layout:y}=d();r.db.extract(r.db.getRootDocV2());let m=r.db.getData(),o=ze(s,u);if(m.type=r.type,m.layoutAlgorithm=Ue(y),m.nodeSpacing=f?.nodeSpacing||50,m.rankSpacing=f?.rankSpacing||50,d().look==="neo")m.markers=["barbNeo"];else m.markers=["barb"];m.diagramId=s,await He(m,o);let E=8;try{(typeof r.db.getLinks==="function"?r.db.getLinks():new Map).forEach((G,W)=>{let x=typeof W==="string"?W:typeof W?.id==="string"?W.id:"",S=m.nodes.find((A)=>A.id===x);if(!x){i.warn("⚠️ Invalid or missing stateId from key:",JSON.stringify(W));return}let Y=o.node()?.querySelectorAll("g.node, g.rough-node"),L;if(Y?.forEach((A)=>{let st=A.textContent?.trim();if(A.id===S?.domId||st===x)L=A}),!L){i.warn("⚠️ Could not find node matching text:",x);return}let z=L.parentNode;if(!z){i.warn("⚠️ Node has no parent, cannot wrap:",x);return}let V=document.createElementNS("http://www.w3.org/2000/svg","a"),K=G.url.replace(/^"+|"+$/g,"");if(V.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",K),V.setAttribute("target","_blank"),G.tooltip){let A=G.tooltip.replace(/^"+|"+$/g,"");V.setAttribute("title",A),L.setAttribute("title",A)}z.replaceChild(V,L),V.appendChild(L),i.info("\uD83D\uDD17 Wrapped node in <a> tag for:",x,G.url)})}catch(B){i.error("❌ Error injecting clickable links:",B)}H.insertTitle(o,"statediagramTitleText",f?.titleTopMargin??25,r.db.getDiagramTitle()),Pe(o,E,pt,f?.useMaxWidth??!0)},"draw"),je={getClasses:Ve,draw:We,getDir:ce},F={START_NODE:"[*]",START_TYPE:"start",END_NODE:"[*]",END_TYPE:"end",COLOR_KEYWORD:"color",FILL_KEYWORD:"fill",BG_FILL:"bgFill",STYLECLASS_SEP:","},Kt=t(()=>new Map,"newClassesList"),Xt=t(()=>({relations:[],states:new Map,documents:{}}),"newDoc"),Ct=t((e)=>JSON.parse(JSON.stringify(e)),"clone"),Ke=class{constructor(e){this.version=e,this.nodes=[],this.edges=[],this.rootDoc=[],this.classes=Kt(),this.documents={root:Xt()},this.currentDocument=this.documents.root,this.startEndCount=0,this.dividerCnt=0,this.links=new Map,this.funs=[],this.getAccTitle=P,this.setAccTitle=M,this.getAccDescription=I,this.setAccDescription=R,this.setDiagramTitle=O,this.getDiagramTitle=D,this.clear(),this.setRootDoc=this.setRootDoc.bind(this),this.getDividerId=this.getDividerId.bind(this),this.setDirection=this.setDirection.bind(this),this.trimColon=this.trimColon.bind(this),this.bindFunctions=this.bindFunctions.bind(this)}static{t(this,"StateDB")}static{this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3}}extract(e){this.clear(!0);for(let r of Array.isArray(e)?e:e.doc)switch(r.stmt){case ot:this.addState(r.id.trim(),r.type,r.doc,r.description,r.note);break;case Bt:this.addRelation(r.state1,r.state2,r.description);break;case ge:this.addStyleClass(r.id.trim(),r.classes);break;case ye:this.handleStyleDef(r);break;case me:this.setCssClass(r.id.trim(),r.styleClass);break;case"click":this.addLink(r.id,r.url,r.tooltip);break}let s=this.getStates(),l=d();Ye(),ut(void 0,this.getRootDocV2(),s,this.nodes,this.edges,!0,l.look,this.classes);for(let r of this.nodes){if(!Array.isArray(r.label))continue;if(r.description=r.label.slice(1),r.isGroup&&r.description.length>0)throw Error(`Group nodes can only have label. Remove the additional description for node [${r.id}]`);r.label=r.label[0]}}handleStyleDef(e){let s=e.id.trim().split(","),l=e.styleClass.split(",");for(let r of s){let u=this.getState(r);if(!u){let f=r.trim();this.addState(f),u=this.getState(f)}if(u)u.styles=l.map((f)=>f.replace(/;/g,"")?.trim())}}setRootDoc(e){if(i.info("Setting root doc",e),this.rootDoc=e,this.version===1)this.extract(e);else this.extract(this.getRootDocV2())}docTranslator(e,s,l){if(s.stmt===Bt){this.docTranslator(e,s.state1,!0),this.docTranslator(e,s.state2,!1);return}if(s.stmt===ot)if(s.id===F.START_NODE)s.id=e.id+(l?"_start":"_end"),s.start=l;else s.id=s.id.trim();if(s.stmt!==nt&&s.stmt!==ot||!s.doc)return;let r=[],u=[];for(let f of s.doc)if(f.type===qt){let y=Ct(f);y.doc=Ct(u),r.push(y),u=[]}else u.push(f);if(r.length>0&&u.length>0){let f={stmt:ot,id:nc(),type:"divider",doc:Ct(u)};r.push(Ct(f)),s.doc=r}s.doc.forEach((f)=>this.docTranslator(s,f,!0))}getRootDocV2(){return this.docTranslator({id:nt,stmt:nt},{id:nt,stmt:nt,doc:this.rootDoc},!0),{id:nt,doc:this.rootDoc}}addState(e,s=ft,l=void 0,r=void 0,u=void 0,f=void 0,y=void 0,m=void 0){let o=e?.trim();if(!this.currentDocument.states.has(o))i.info("Adding state ",o,r),this.currentDocument.states.set(o,{stmt:ot,id:o,descriptions:[],type:s,doc:l,note:u,classes:[],styles:[],textStyles:[]});else{let T=this.currentDocument.states.get(o);if(!T)throw Error(`State not found: ${o}`);if(!T.doc)T.doc=l;if(!T.type)T.type=s}if(r)i.info("Setting state description",o,r),(Array.isArray(r)?r:[r]).forEach((E)=>this.addDescription(o,E.trim()));if(u){let T=this.currentDocument.states.get(o);if(!T)throw Error(`State not found: ${o}`);T.note=u,T.note.text=C.sanitizeText(T.note.text,d())}if(f)i.info("Setting state classes",o,f),(Array.isArray(f)?f:[f]).forEach((E)=>this.setCssClass(o,E.trim()));if(y)i.info("Setting state styles",o,y),(Array.isArray(y)?y:[y]).forEach((E)=>this.setStyle(o,E.trim()));if(m)i.info("Setting state styles",o,y),(Array.isArray(m)?m:[m]).forEach((E)=>this.setTextStyle(o,E.trim()))}clear(e){if(this.nodes=[],this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.documents={root:Xt()},this.currentDocument=this.documents.root,this.startEndCount=0,this.classes=Kt(),!e)this.links=new Map,N()}getState(e){return this.currentDocument.states.get(e)}getStates(){return this.currentDocument.states}logDocuments(){i.info("Documents = ",this.documents)}getRelations(){return this.currentDocument.relations}addLink(e,s,l){this.links.set(e,{url:s,tooltip:l}),i.warn("Adding link",e,s,l)}getLinks(){return this.links}startIdIfNeeded(e=""){if(e===F.START_NODE)return this.startEndCount++,`${F.START_TYPE}${this.startEndCount}`;return e}startTypeIfNeeded(e="",s=ft){return e===F.START_NODE?F.START_TYPE:s}endIdIfNeeded(e=""){if(e===F.END_NODE)return this.startEndCount++,`${F.END_TYPE}${this.startEndCount}`;return e}endTypeIfNeeded(e="",s=ft){return e===F.END_NODE?F.END_TYPE:s}addRelationObjs(e,s,l=""){let r=this.startIdIfNeeded(e.id.trim()),u=this.startTypeIfNeeded(e.id.trim(),e.type),f=this.startIdIfNeeded(s.id.trim()),y=this.startTypeIfNeeded(s.id.trim(),s.type);this.addState(r,u,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),this.addState(f,y,s.doc,s.description,s.note,s.classes,s.styles,s.textStyles),this.currentDocument.relations.push({id1:r,id2:f,relationTitle:C.sanitizeText(l,d())})}addRelation(e,s,l){if(typeof e==="object"&&typeof s==="object")this.addRelationObjs(e,s,l);else if(typeof e==="string"&&typeof s==="string"){let r=this.startIdIfNeeded(e.trim()),u=this.startTypeIfNeeded(e),f=this.endIdIfNeeded(s.trim()),y=this.endTypeIfNeeded(s);this.addState(r,u),this.addState(f,y),this.currentDocument.relations.push({id1:r,id2:f,relationTitle:l?C.sanitizeText(l,d()):void 0})}}addDescription(e,s){let l=this.currentDocument.states.get(e),r=s.startsWith(":")?s.replace(":","").trim():s;l?.descriptions?.push(C.sanitizeText(r,d()))}cleanupLabel(e){return e.startsWith(":")?e.slice(2).trim():e.trim()}getDividerId(){return this.dividerCnt++,`divider-id-${this.dividerCnt}`}addStyleClass(e,s=""){if(!this.classes.has(e))this.classes.set(e,{id:e,styles:[],textStyles:[]});let l=this.classes.get(e);if(s&&l)s.split(F.STYLECLASS_SEP).forEach((r)=>{let u=r.replace(/([^;]*);/,"$1").trim();if(RegExp(F.COLOR_KEYWORD).exec(r)){let y=u.replace(F.FILL_KEYWORD,F.BG_FILL).replace(F.COLOR_KEYWORD,F.FILL_KEYWORD);l.textStyles.push(y)}l.styles.push(u)})}getClasses(){return this.classes}setupToolTips(e){let s=Fn();g(e).select("svg").selectAll("g.node, g.rough-node").on("mouseover",(u)=>{let f=g(u.currentTarget),y=f.attr("title");if(y===null)return;let m=u.currentTarget?.getBoundingClientRect();s.transition().duration(200).style("opacity",".9"),s.style("left",window.scrollX+m.left+(m.right-m.left)/2+"px").style("top",window.scrollY+m.bottom+"px"),s.html(ct.sanitize(y)),f.classed("hover",!0)}).on("mouseout",(u)=>{s.transition().duration(500).style("opacity",0),g(u.currentTarget).classed("hover",!1)})}setCssClass(e,s){e.split(",").forEach((l)=>{let r=this.getState(l);if(!r){let u=l.trim();this.addState(u),r=this.getState(u)}r?.classes?.push(s)})}setStyle(e,s){this.getState(e)?.styles?.push(s)}setTextStyle(e,s){this.getState(e)?.textStyles?.push(s)}bindFunctions(e){this.funs.forEach((s)=>{s(e)})}getDirectionStatement(){return this.rootDoc.find((e)=>e.stmt===jt)}getDirection(){return this.getDirectionStatement()?.value??Se}setDirection(e){let s=this.getDirectionStatement();if(s)s.value=e;else this.rootDoc.unshift({stmt:jt,value:e})}trimColon(e){return e.startsWith(":")?e.slice(1).trim():e.trim()}getData(){let e=d();for(let s of this.nodes)if(s.wrappingWidth??=e.state?.wrappingWidth,!s.isGroup)s.minWidth??=e.state?.minNodeWidth;return{nodes:this.nodes,edges:this.edges,other:{},config:e,direction:ce(this.getRootDocV2())}}getConfig(){return d().state}},Xe=t((e)=>{let{theme:s,bkgColorArray:l,borderColorArray:r}=e;if(!Ne(s,r))return"";let u=Me(e.look),f=De(l),y="";for(let m=0;m<hn(r);m++){let o=r[m],T=f?`fill: ${l[m%l.length]};`:"",E=`[data-look="${u}"][data-color-id="color-${m}"]`;y+=`
7
-
8
- /* The title strip: \`rect.outer\` spans the whole composite and \`rect.inner\` covers
9
- the body, so what stays visible of \`outer\` is the band behind the label. */
10
- ${E}.statediagram-cluster rect.outer {
11
- stroke: ${o};
12
- ${T}
13
- }
14
-
15
- ${E}.statediagram-cluster rect.inner {
16
- stroke: ${o};
17
- }
18
-
19
- /* Concurrency regions. Siblings of one composite share a slot, so a divided composite
20
- reads as one thing split into parts rather than as several composites. */
21
- ${E}.statediagram-cluster rect.divider {
22
- stroke: ${o};
23
- ${T}
24
- }
25
-
26
- /* handDrawn draws the same container as roughjs shapes rather than plain rects, so it
27
- needs its own rules. \`roundedWithTitle\` and \`divider\` name those groups \`outer\`,
28
- \`inner\` and \`divider\` to match the classic branch, which is what lets these
29
- discriminate -- a bare \`.statediagram-cluster path\` rule reached the body as well and
30
- tinted the whole composite, losing \`compositeBackground\` and diverging from what
31
- classic and neo do.
32
-
33
- roughjs emits two paths per shape and marks them: the filled shape carries
34
- \`stroke="none"\` and the sketched outline carries \`fill="none"\`. Splitting on that is
35
- what keeps \`fill\` off the outline -- a rough outline is open squiggles, not a closed
36
- region, so filling it produces smears -- and keeps \`stroke\` off the fill shape, which
37
- would otherwise gain an edge it was drawn without. */
38
- ${E}.statediagram-cluster .outer path[stroke='none'] {
39
- ${T}
40
- }
41
-
42
- ${E}.statediagram-cluster .outer path[fill='none'] {
43
- stroke: ${o};
44
- }
45
-
46
- /* No \`.inner\` rule on purpose. The body shape is left entirely alone under handDrawn,
47
- where a rect's \`inner\` counterpart cannot be recoloured safely: roughjs draws a
48
- hachure fill as *stroked* lines, so its fill paths carry \`fill="none"\` exactly like
49
- the outline and no selector separates them. An \`.inner\` stroke rule therefore
50
- repainted the hatching of every alt composite in the palette colour instead of
51
- leaving it on \`altBackground\`. The container still reads as palette-coloured: the
52
- \`outer\` shape spans the whole composite, so its outline already frames the body. */
53
-
54
- /* Regions split the same way, which is why \`divider\` fills solid rather than taking
55
- roughjs's default hachure -- see the note on that call. Hatched, both of its paths
56
- carried \`fill="none"\` and these two rules degenerated: the tint matched nothing and
57
- the border rule repainted the hatching. */
58
- ${E}.statediagram-cluster .divider path[stroke='none'] {
59
- ${T}
60
- }
61
-
62
- ${E}.statediagram-cluster .divider path[fill='none'] {
63
- stroke: ${o};
64
- }
65
- `}return y},"genColor"),Je=t((e)=>`
66
- ${Xe(e)}
67
- defs [id$="-barbEnd"] {
68
- fill: ${e.transitionColor};
69
- stroke: ${e.transitionColor};
70
- }
71
- g.stateGroup text {
72
- fill: ${e.nodeBorder};
73
- stroke: none;
74
- font-size: 10px;
75
- }
76
- g.stateGroup text {
77
- fill: ${e.textColor};
78
- stroke: none;
79
- font-size: 10px;
80
-
81
- }
82
- g.stateGroup .state-title {
83
- font-weight: bolder;
84
- fill: ${e.stateLabelColor};
85
- }
86
-
87
- g.stateGroup rect {
88
- fill: ${e.mainBkg};
89
- stroke: ${e.nodeBorder};
90
- }
91
-
92
- g.stateGroup line {
93
- stroke: ${e.lineColor};
94
- stroke-width: ${e.strokeWidth||1};
95
- }
96
-
97
- .transition {
98
- stroke: ${e.transitionColor};
99
- stroke-width: ${e.strokeWidth||1};
100
- fill: none;
101
- }
102
-
103
- .stateGroup .composit {
104
- fill: ${e.background};
105
- border-bottom: 1px
106
- }
107
-
108
- .stateGroup .alt-composit {
109
- fill: #e0e0e0;
110
- border-bottom: 1px
111
- }
112
-
113
- .state-note {
114
- stroke: ${e.noteBorderColor};
115
- fill: ${e.noteBkgColor};
116
-
117
- text {
118
- fill: ${e.noteTextColor};
119
- stroke: none;
120
- font-size: 10px;
121
- }
122
- }
123
-
124
- .stateLabel .box {
125
- stroke: none;
126
- stroke-width: 0;
127
- fill: ${e.mainBkg};
128
- opacity: 0.5;
129
- }
130
-
131
- .edgeLabel .label rect {
132
- fill: ${e.labelBackgroundColor};
133
- opacity: 0.5;
134
- }
135
- .edgeLabel {
136
- background-color: ${e.edgeLabelBackground};
137
- p {
138
- background-color: ${e.edgeLabelBackground};
139
- }
140
- rect {
141
- opacity: 0.5;
142
- background-color: ${e.edgeLabelBackground};
143
- fill: ${e.edgeLabelBackground};
144
- }
145
- text-align: center;
146
- }
147
- .edgeLabel .label text {
148
- fill: ${e.transitionLabelColor||e.tertiaryTextColor};
149
- }
150
- .label div .edgeLabel {
151
- color: ${e.transitionLabelColor||e.tertiaryTextColor};
152
- }
153
-
154
- .stateLabel text {
155
- fill: ${e.stateLabelColor};
156
- font-size: 10px;
157
- font-weight: bold;
158
- }
159
-
160
- .node circle.state-start {
161
- fill: ${e.specialStateColor};
162
- stroke: ${e.specialStateColor};
163
- }
164
-
165
- .node .fork-join {
166
- fill: ${e.specialStateColor};
167
- stroke: ${e.specialStateColor};
168
- }
169
-
170
- .node circle.state-end {
171
- fill: ${e.innerEndBackground};
172
- stroke: ${e.background};
173
- stroke-width: 1.5
174
- }
175
- .end-state-inner {
176
- fill: ${e.compositeBackground||e.background};
177
- // stroke: ${e.background};
178
- stroke-width: 1.5
179
- }
180
-
181
- .node rect {
182
- fill: ${e.stateBkg||e.mainBkg};
183
- stroke: ${e.stateBorder||e.nodeBorder};
184
- stroke-width: ${e.strokeWidth||1}px;
185
- }
186
- .node polygon {
187
- fill: ${e.mainBkg};
188
- stroke: ${e.stateBorder||e.nodeBorder};;
189
- stroke-width: ${e.strokeWidth||1}px;
190
- }
191
- [id$="-barbEnd"] {
192
- fill: ${e.lineColor};
193
- }
194
-
195
- .statediagram-cluster rect {
196
- fill: ${e.compositeTitleBackground};
197
- stroke: ${e.stateBorder||e.nodeBorder};
198
- stroke-width: ${e.strokeWidth||1}px;
199
- }
200
-
201
- .cluster-label, .nodeLabel {
202
- color: ${e.stateLabelColor};
203
- // line-height: 1;
204
- }
205
-
206
- .statediagram-cluster rect.outer {
207
- rx: 5px;
208
- ry: 5px;
209
- }
210
- .statediagram-state .divider {
211
- stroke: ${e.stateBorder||e.nodeBorder};
212
- }
213
-
214
- .statediagram-state .title-state {
215
- rx: 5px;
216
- ry: 5px;
217
- }
218
- .statediagram-cluster.statediagram-cluster .inner {
219
- fill: ${e.compositeBackground||e.background};
220
- }
221
- .statediagram-cluster.statediagram-cluster-alt .inner {
222
- fill: ${e.altBackground?e.altBackground:"#efefef"};
223
- }
224
-
225
- .statediagram-cluster .inner {
226
- rx:0;
227
- ry:0;
228
- }
229
-
230
- .statediagram-state rect.basic {
231
- rx: 5px;
232
- ry: 5px;
233
- }
234
- .statediagram-state rect.divider {
235
- stroke-dasharray: 10,10;
236
- fill: ${e.altBackground?e.altBackground:"#efefef"};
237
- }
238
-
239
- .note-edge {
240
- stroke-dasharray: 5;
241
- }
242
-
243
- .statediagram-note rect {
244
- fill: ${e.noteBkgColor};
245
- stroke: ${e.noteBorderColor};
246
- stroke-width: 1px;
247
- rx: 0;
248
- ry: 0;
249
- }
250
- .statediagram-note rect {
251
- fill: ${e.noteBkgColor};
252
- stroke: ${e.noteBorderColor};
253
- stroke-width: 1px;
254
- rx: 0;
255
- ry: 0;
256
- }
257
-
258
- .statediagram-note text {
259
- fill: ${e.noteTextColor};
260
- }
261
-
262
- .statediagram-note .nodeLabel {
263
- color: ${e.noteTextColor};
264
- }
265
- .statediagram .edgeLabel {
266
- color: red; // ${e.noteTextColor};
267
- }
268
-
269
- [id$="-dependencyStart"], [id$="-dependencyEnd"] {
270
- fill: ${e.lineColor};
271
- stroke: ${e.lineColor};
272
- stroke-width: ${e.strokeWidth||1};
273
- }
274
-
275
- .statediagramTitleText {
276
- text-anchor: middle;
277
- font-size: 18px;
278
- fill: ${e.textColor};
279
- }
280
-
281
- [data-look="neo"].statediagram-cluster rect {
282
- fill: ${e.mainBkg};
283
- stroke: ${e.useGradient?"url("+e.svgId+"-gradient)":e.stateBorder||e.nodeBorder};
284
- stroke-width: ${e.strokeWidth??1};
285
- }
286
- [data-look="neo"].statediagram-cluster rect.outer {
287
- rx: ${e.radius}px;
288
- ry: ${e.radius}px;
289
- filter: ${e.dropShadow?e.dropShadow.replace("url(#drop-shadow)",`url(${e.svgId}-drop-shadow)`):"none"}
290
- }
291
- `,"getStyles"),qe=Je,ms={parser:pe,get db(){return new Ke(2)},renderer:je,styles:qe,init:t((e)=>{if(!e.state)e.state={};e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};export{ms as diagram};
Binary file
Binary file
@@ -1,99 +0,0 @@
1
- import{t,or,i,Ie,C,N,M,P,R,I,O,D,d,g,H,St,Hi,De,Ne,Me,hn,He,Ue}from"./chunk-kasv56qe.js";import{zn}from"./chunk-xa2ngtyg.js";import{ze}from"./chunk-6dr6eazd.js";import{Pe}from"./chunk-kmhbkjqx.js";var Ge=function(){var s=t(function(j,o,c,p){for(c=c||{},p=j.length;p--;c[j[p]]=o);return c},"o"),l=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],b=[2,2],n=[1,7],h=[1,9],k=[1,10],S=[1,11],y=[1,12],T=[1,30],f=[1,23],_=[1,24],w=[1,25],q=[1,26],X=[1,27],x=[1,19],G=[1,28],te=[1,29],V=[1,20],F=[1,18],Y=[1,21],z=[1,22],Fe=[2,6],u=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],Se=[1,36],Te=[1,37],Ce=[1,38],Oe=[1,39],xe=[1,40],se=[6,9,12,14,16,19,20,21,23,25,27,33,34,37,38,39,40,41,43,46,47,50,51,53,54,55,69,70,71,72,73],U=[1,46],K=[1,47],ie=[1,57],re=[43,51,53,54,55,74,75],ae=[1,70],ne=[1,68],Z=[1,65],oe=[1,69],le=[1,71],ue=[6,9,12,16,21,23,25,27,33,34,37,38,39,40,41,43,44,45,46,47,51,52,53,54,55,69,70,71,72,73],de=[1,78],be=[1,77],pe=[1,76],Ye=[69,70,71,72,73],Ke=[1,91],Ze=[6,9,45,50],J=[6,9,12,44,45,50,51,52],fe=[1,101],ke=[1,100],ge=[1,99],ce=[18,61],je=[1,110],qe=[1,109],We=[20,43,51,53,54,55],Ae=[18,61,64,66],Re={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,statement:8,NEWLINE:9,entityName:10,relSpec:11,COLON:12,role:13,STYLE_SEPARATOR:14,idList:15,BLOCK_START:16,attributes:17,BLOCK_STOP:18,SQS:19,SQE:20,title:21,title_value:22,acc_title:23,acc_title_value:24,acc_descr:25,acc_descr_value:26,acc_descr_multiline_value:27,direction:28,classDefStatement:29,classStatement:30,styleStatement:31,subgraphHeader:32,END:33,SUBGRAPH:34,separator:35,subgraphTitle:36,direction_tb:37,direction_bt:38,direction_rl:39,direction_lr:40,CLASSDEF:41,stylesOpt:42,UNICODE_TEXT:43,STYLE_TEXT:44,COMMA:45,CLASS:46,STYLE:47,style:48,styleComponent:49,SEMI:50,NUM:51,BRKT:52,ENTITY_NAME:53,DECIMAL_NUM:54,ENTITY_ONE:55,attribute:56,attributeType:57,attributeName:58,attributeKeyTypeList:59,attributeComment:60,ATTRIBUTE_WORD:61,"?":62,attributeKeyType:63,",":64,ATTRIBUTE_KEY:65,COMMENT:66,cardinality:67,relType:68,ZERO_OR_ONE:69,ZERO_OR_MORE:70,ONE_OR_MORE:71,ONLY_ONE:72,MD_PARENT:73,NON_IDENTIFYING:74,IDENTIFYING:75,WORD:76,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"NEWLINE",12:"COLON",14:"STYLE_SEPARATOR",16:"BLOCK_START",18:"BLOCK_STOP",19:"SQS",20:"SQE",21:"title",22:"title_value",23:"acc_title",24:"acc_title_value",25:"acc_descr",26:"acc_descr_value",27:"acc_descr_multiline_value",33:"END",34:"SUBGRAPH",37:"direction_tb",38:"direction_bt",39:"direction_rl",40:"direction_lr",41:"CLASSDEF",43:"UNICODE_TEXT",44:"STYLE_TEXT",45:"COMMA",46:"CLASS",47:"STYLE",50:"SEMI",51:"NUM",52:"BRKT",53:"ENTITY_NAME",54:"DECIMAL_NUM",55:"ENTITY_ONE",61:"ATTRIBUTE_WORD",62:"?",64:",",65:"ATTRIBUTE_KEY",66:"COMMENT",69:"ZERO_OR_ONE",70:"ZERO_OR_MORE",71:"ONE_OR_MORE",72:"ONLY_ONE",73:"MD_PARENT",74:"NON_IDENTIFYING",75:"IDENTIFYING",76:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[7,1],[8,5],[8,9],[8,7],[8,7],[8,4],[8,6],[8,3],[8,5],[8,1],[8,3],[8,7],[8,9],[8,6],[8,8],[8,4],[8,6],[8,2],[8,2],[8,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,3],[32,3],[32,6],[36,1],[36,2],[28,1],[28,1],[28,1],[28,1],[29,4],[15,1],[15,1],[15,3],[15,3],[30,3],[31,4],[42,1],[42,3],[48,1],[48,2],[35,1],[35,1],[35,1],[49,1],[49,1],[49,1],[49,1],[10,1],[10,1],[10,1],[10,1],[10,1],[17,1],[17,2],[56,2],[56,3],[56,3],[56,4],[57,1],[57,2],[58,1],[59,1],[59,3],[63,1],[60,1],[11,3],[67,1],[67,1],[67,1],[67,1],[67,1],[68,1],[68,1],[13,1],[13,1],[13,1]],performAction:t(function(o,c,p,a,m,e,he){var r=e.length-1;switch(m){case 1:break;case 2:this.$=[];break;case 3:this.$=e[r-1].concat(e[r]);break;case 4:this.$=e[r];break;case 5:case 6:this.$=[];break;case 7:a.addEntity(e[r-4]),a.addEntity(e[r-2]),a.addRelationship(e[r-4],e[r],e[r-2],e[r-3]),this.$=[e[r-4],e[r-2]];break;case 8:a.addEntity(e[r-8]),a.addEntity(e[r-4]),a.addRelationship(e[r-8],e[r],e[r-4],e[r-5]),a.setClass([e[r-8]],e[r-6]),a.setClass([e[r-4]],e[r-2]),this.$=[e[r-8],e[r-4]];break;case 9:a.addEntity(e[r-6]),a.addEntity(e[r-2]),a.addRelationship(e[r-6],e[r],e[r-2],e[r-3]),a.setClass([e[r-6]],e[r-4]),this.$=[e[r-6],e[r-2]];break;case 10:a.addEntity(e[r-6]),a.addEntity(e[r-4]),a.addRelationship(e[r-6],e[r],e[r-4],e[r-5]),a.setClass([e[r-4]],e[r-2]),this.$=[e[r-6],e[r-4]];break;case 11:a.addEntity(e[r-3]),a.addAttributes(e[r-3],e[r-1]),this.$=[e[r-3]];break;case 12:a.addEntity(e[r-5]),a.addAttributes(e[r-5],e[r-1]),a.setClass([e[r-5]],e[r-3]),this.$=[e[r-5]];break;case 13:a.addEntity(e[r-2]),this.$=[e[r-2]];break;case 14:a.addEntity(e[r-4]),a.setClass([e[r-4]],e[r-2]),this.$=[e[r-4]];break;case 15:a.addEntity(e[r]),this.$=[e[r]];break;case 16:a.addEntity(e[r-2]),a.setClass([e[r-2]],e[r]),this.$=[e[r-2]];break;case 17:a.addEntity(e[r-6],e[r-4]),a.addAttributes(e[r-6],e[r-1]),this.$=[e[r-6]];break;case 18:a.addEntity(e[r-8],e[r-6]),a.addAttributes(e[r-8],e[r-1]),a.setClass([e[r-8]],e[r-3]),this.$=[e[r-8]];break;case 19:a.addEntity(e[r-5],e[r-3]),this.$=[e[r-5]];break;case 20:a.addEntity(e[r-7],e[r-5]),a.setClass([e[r-7]],e[r-2]),this.$=[e[r-7]];break;case 21:a.addEntity(e[r-3],e[r-1]);break;case 22:a.addEntity(e[r-5],e[r-3]),a.setClass([e[r-5]],e[r]);break;case 23:case 24:this.$=e[r].trim(),a.setAccTitle(this.$);break;case 25:case 26:this.$=e[r].trim(),a.setAccDescription(this.$);break;case 27:if(!a.subgraphDepth)a.setDirection(e[r].value),this.$=[];else this.$=e[r];break;case 31:a.subgraphDepth=(a.subgraphDepth||1)-1,this.$=a.addSubGraph({text:e[r-2].id},e[r-1],{text:e[r-2].text});break;case 32:a.subgraphDepth=(a.subgraphDepth||0)+1,this.$={id:e[r-1],text:e[r-1]};break;case 33:a.subgraphDepth=(a.subgraphDepth||0)+1,this.$={id:e[r-4],text:e[r-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=e[r];break;case 35:this.$=e[r-1]+" "+e[r];break;case 36:this.$={stmt:"dir",value:"TB"};break;case 37:this.$={stmt:"dir",value:"BT"};break;case 38:this.$={stmt:"dir",value:"RL"};break;case 39:this.$={stmt:"dir",value:"LR"};break;case 40:this.$=e[r-3],a.addClass(e[r-2],e[r-1]);break;case 41:case 42:case 63:case 72:this.$=[e[r]];break;case 43:case 44:this.$=e[r-2].concat([e[r]]);break;case 45:this.$=e[r-2],a.setClass(e[r-1],e[r]);break;case 46:this.$=e[r-3],a.addCssStyles(e[r-2],e[r-1]);break;case 47:this.$=[e[r]];break;case 48:e[r-2].push(e[r]),this.$=e[r-2];break;case 50:this.$=e[r-1]+e[r];break;case 58:case 84:case 85:this.$=e[r].replace(/"/g,"");break;case 64:e[r].push(e[r-1]),this.$=e[r];break;case 65:this.$={type:e[r-1],name:e[r]};break;case 66:this.$={type:e[r-2],name:e[r-1],keys:e[r]};break;case 67:this.$={type:e[r-2],name:e[r-1],comment:e[r]};break;case 68:this.$={type:e[r-3],name:e[r-2],keys:e[r-1],comment:e[r]};break;case 69:case 71:case 74:this.$=e[r];break;case 70:this.$=e[r-1]+e[r];break;case 73:e[r-2].push(e[r]),this.$=e[r-2];break;case 75:this.$=e[r].replace(/"/g,"");break;case 76:this.$={cardA:e[r],relType:e[r-1],cardB:e[r-2]};break;case 77:this.$=a.Cardinality.ZERO_OR_ONE;break;case 78:this.$=a.Cardinality.ZERO_OR_MORE;break;case 79:this.$=a.Cardinality.ONE_OR_MORE;break;case 80:this.$=a.Cardinality.ONLY_ONE;break;case 81:this.$=a.Cardinality.MD_PARENT;break;case 82:this.$=a.Identification.NON_IDENTIFYING;break;case 83:this.$=a.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(l,b,{5:3}),{6:[1,4],7:5,8:6,9:n,10:8,21:h,23:k,25:S,27:y,28:13,29:14,30:15,31:16,32:17,34:T,37:f,38:_,39:w,40:q,41:X,43:x,46:G,47:te,51:V,53:F,54:Y,55:z},s(l,Fe,{1:[2,1]}),s(u,[2,3]),s(u,[2,4]),s(u,[2,5]),s(u,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:Se,70:Te,71:Ce,72:Oe,73:xe}),{22:[1,41]},{24:[1,42]},{26:[1,43]},s(u,[2,26]),s(u,[2,27]),s(u,[2,28]),s(u,[2,29]),s(u,[2,30]),s(u,b,{5:44}),s(se,[2,58]),s(se,[2,59]),s(se,[2,60]),s(se,[2,61]),s(se,[2,62]),s(u,[2,36]),s(u,[2,37]),s(u,[2,38]),s(u,[2,39]),{15:45,43:U,44:K},{15:48,43:U,44:K},{15:49,43:U,44:K},{10:50,43:x,51:V,53:F,54:Y,55:z},{10:51,43:x,51:V,53:F,54:Y,55:z},{15:52,43:U,44:K},{17:53,18:[1,54],56:55,57:56,61:ie},{10:58,43:x,51:V,53:F,54:Y,55:z},{68:59,74:[1,60],75:[1,61]},s(re,[2,77]),s(re,[2,78]),s(re,[2,79]),s(re,[2,80]),s(re,[2,81]),s(u,[2,23]),s(u,[2,24]),s(u,[2,25]),{6:[1,63],7:5,8:6,9:n,10:8,21:h,23:k,25:S,27:y,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:T,37:f,38:_,39:w,40:q,41:X,43:x,46:G,47:te,51:V,53:F,54:Y,55:z},{12:ae,42:64,44:ne,45:Z,48:66,49:67,51:oe,52:le},s(ue,[2,41]),s(ue,[2,42]),{15:72,43:U,44:K,45:Z},{12:ae,42:73,44:ne,45:Z,48:66,49:67,51:oe,52:le},{6:de,9:be,19:[1,75],35:74,50:pe},{12:[1,79],14:[1,80]},s(u,[2,16],{67:35,11:81,16:[1,82],45:Z,69:Se,70:Te,71:Ce,72:Oe,73:xe}),{18:[1,83]},s(u,[2,13]),{17:84,18:[2,63],56:55,57:56,61:ie},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:Se,70:Te,71:Ce,72:Oe,73:xe},s(Ye,[2,82]),s(Ye,[2,83]),s(u,[2,31]),s(u,Fe),{6:de,9:be,35:90,45:Ke,50:pe},{43:[1,92],44:[1,93]},s(Ze,[2,47],{49:94,12:ae,44:ne,51:oe,52:le}),s(J,[2,49]),s(J,[2,54]),s(J,[2,55]),s(J,[2,56]),s(J,[2,57]),s(u,[2,45],{45:Z}),{6:de,9:be,35:95,45:Ke,50:pe},s(u,[2,32]),{10:97,36:96,43:x,51:V,53:F,54:Y,55:z},s(u,[2,51]),s(u,[2,52]),s(u,[2,53]),{13:98,43:fe,53:ke,76:ge},{15:102,43:U,44:K},{10:103,43:x,51:V,53:F,54:Y,55:z},{17:104,18:[1,105],56:55,57:56,61:ie},s(u,[2,11]),{18:[2,64]},s(ce,[2,65],{59:106,60:107,63:108,65:je,66:qe}),s([18,61,65,66],[2,71]),{61:[2,70]},s(u,[2,21],{14:[1,112],16:[1,111]}),s([43,51,53,54,55],[2,76]),s(u,[2,40]),{12:ae,44:ne,48:113,49:67,51:oe,52:le},s(ue,[2,43]),s(ue,[2,44]),s(J,[2,50]),s(u,[2,46]),{10:115,20:[1,114],43:x,51:V,53:F,54:Y,55:z},s(We,[2,34]),s(u,[2,7]),s(u,[2,84]),s(u,[2,85]),s(u,[2,86]),{12:[1,116],45:Z},{12:[1,118],14:[1,117]},{18:[1,119]},s(u,[2,14]),s(ce,[2,66],{60:120,64:[1,121],66:qe}),s(ce,[2,67]),s(Ae,[2,72]),s(ce,[2,75]),s(Ae,[2,74]),{17:122,18:[1,123],56:55,57:56,61:ie},{15:124,43:U,44:K},s(Ze,[2,48],{49:94,12:ae,44:ne,51:oe,52:le}),{6:de,9:be,35:125,50:pe},s(We,[2,35]),{13:126,43:fe,53:ke,76:ge},{15:127,43:U,44:K},{13:128,43:fe,53:ke,76:ge},s(u,[2,12]),s(ce,[2,68]),{63:129,65:je},{18:[1,130]},s(u,[2,19]),s(u,[2,22],{16:[1,131],45:Z}),s(u,[2,33]),s(u,[2,10]),{12:[1,132],45:Z},s(u,[2,9]),s(Ae,[2,73]),s(u,[2,17]),{17:133,18:[1,134],56:55,57:56,61:ie},{13:135,43:fe,53:ke,76:ge},{18:[1,136]},s(u,[2,20]),s(u,[2,8]),s(u,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:t(function(o,c){if(c.recoverable)this.trace(o);else{var p=Error(o);throw p.hash=c,p}},"parseError"),parse:t(function(o){var c=this,p=[0],a=[],m=[null],e=[],he=this.table,r="",_e=0,Qe=0,Xe=0,rt=2,Je=1,at=e.slice.call(arguments,1),E=Object.create(this.lexer),W={yy:{}};for(var ve in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,ve))W.yy[ve]=this.yy[ve];if(E.setInput(o,W.yy),W.yy.lexer=E,W.yy.parser=this,typeof E.yylloc>"u")E.yylloc={};var Le=E.yylloc;e.push(Le);var nt=E.options&&E.options.ranges;if(typeof W.yy.parseError==="function")this.parseError=W.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function ot(L){p.length=p.length-2*L,m.length=m.length-L,e.length=e.length-L}t(ot,"popStack");function $e(){var L=a.pop()||E.lex()||Je;if(typeof L!=="number"){if(L instanceof Array)a=L,L=a.pop();L=c.symbols_[L]||L}return L}t($e,"lex");var A,we,Q,v,pt,Ve,ee={},me,B,et,Ee;while(!0){if(Q=p[p.length-1],this.defaultActions[Q])v=this.defaultActions[Q];else{if(A===null||typeof A>"u")A=$e();v=he[Q]&&he[Q][A]}if(typeof v>"u"||!v.length||!v[0]){var Be="";Ee=[];for(me in he[Q])if(this.terminals_[me]&&me>rt)Ee.push("'"+this.terminals_[me]+"'");if(E.showPosition)Be="Parse error on line "+(_e+1)+`:
2
- `+E.showPosition()+`
3
- Expecting `+Ee.join(", ")+", got '"+(this.terminals_[A]||A)+"'";else Be="Parse error on line "+(_e+1)+": Unexpected "+(A==Je?"end of input":"'"+(this.terminals_[A]||A)+"'");this.parseError(Be,{text:E.match,token:this.terminals_[A]||A,line:E.yylineno,loc:Le,expected:Ee})}if(v[0]instanceof Array&&v.length>1)throw Error("Parse Error: multiple actions possible at state: "+Q+", token: "+A);switch(v[0]){case 1:if(p.push(A),m.push(E.yytext),e.push(E.yylloc),p.push(v[1]),A=null,!we){if(Qe=E.yyleng,r=E.yytext,_e=E.yylineno,Le=E.yylloc,Xe>0)Xe--}else A=we,we=null;break;case 2:if(B=this.productions_[v[1]][1],ee.$=m[m.length-B],ee._$={first_line:e[e.length-(B||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(B||1)].first_column,last_column:e[e.length-1].last_column},nt)ee._$.range=[e[e.length-(B||1)].range[0],e[e.length-1].range[1]];if(Ve=this.performAction.apply(ee,[r,Qe,_e,W.yy,v[1],m,e].concat(at)),typeof Ve<"u")return Ve;if(B)p=p.slice(0,-1*B*2),m=m.slice(0,-1*B),e=e.slice(0,-1*B);p.push(this.productions_[v[1]][0]),m.push(ee.$),e.push(ee._$),et=he[p[p.length-2]][p[p.length-1]],p.push(et);break;case 3:return!0}}return!0},"parse")},it=function(){var j={EOF:1,parseError:t(function(c,p){if(this.yy.parser)this.yy.parser.parseError(c,p);else throw Error(c)},"parseError"),setInput:t(function(o,c){if(this.yy=c||this.yy||{},this._input=o,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 o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var c=o.match(/(?:\r\n?|\n).*/g);if(c)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),o},"input"),unput:t(function(o){var c=o.length,p=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-c),this.offset-=c;var a=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),p.length-1)this.yylineno-=p.length-1;var m=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:p?(p.length===a.length?this.yylloc.first_column:0)+a[a.length-p.length].length-p[0].length:this.yylloc.first_column-c},this.options.ranges)this.yylloc.range=[m[0],m[0]+this.yyleng-c];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
- `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(o){this.unput(this.match.slice(o))},"less"),pastInput:t(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var o=this.match;if(o.length<20)o+=this._input.substr(0,20-o.length);return(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var o=this.pastInput(),c=Array(o.length+1).join("-");return o+this.upcomingInput()+`
5
- `+c+"^"},"showPosition"),test_match:t(function(o,c){var p,a,m;if(this.options.backtrack_lexer){if(m={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)m.yylloc.range=this.yylloc.range.slice(0)}if(a=o[0].match(/(?:\r\n?|\n).*/g),a)this.yylineno+=a.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,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(o[0].length),this.matched+=o[0],p=this.performAction.call(this,this.yy,this,c,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(p)return p;else if(this._backtrack){for(var e in m)this[e]=m[e];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var o,c,p,a;if(!this._more)this.yytext="",this.match="";var m=this._currentRules();for(var e=0;e<m.length;e++)if(p=this._input.match(this.rules[m[e]]),p&&(!c||p[0].length>c[0].length)){if(c=p,a=e,this.options.backtrack_lexer)if(o=this.test_match(p,m[e]),o!==!1)return o;else if(this._backtrack){c=!1;continue}else return!1;else if(!this.options.flex)break}if(c){if(o=this.test_match(c,m[a]),o!==!1)return o;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
- `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var c=this.next();if(c)return c;else return this.lex()},"lex"),begin:t(function(c){this.conditionStack.push(c)},"begin"),popState:t(function(){var c=this.conditionStack.length-1;if(c>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(c){if(c=this.conditionStack.length-1-Math.abs(c||0),c>=0)return this.conditionStack[c];else return"INITIAL"},"topState"),pushState:t(function(c){this.begin(c)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(c,p,a,m){var e=m;switch(a){case 0:return this.begin("acc_title"),23;break;case 1:return this.popState(),"acc_title_value";break;case 2:return this.begin("acc_descr"),25;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 37;case 8:return 38;case 9:return 39;case 10:return 40;case 11:break;case 12:return 9;case 13:return 53;case 14:return 76;case 15:return 4;case 16:return this.begin("block"),16;break;case 17:return 52;case 18:return 52;case 19:return 45;case 20:return 14;case 21:return 12;case 22:break;case 23:return 65;case 24:return 61;case 25:return 61;case 26:this.begin("block_bq");break;case 27:return 61;case 28:this.popState();break;case 29:return 66;case 30:break;case 31:return this.popState(),18;break;case 32:return p.yytext[0];case 33:return 19;case 34:return 20;case 35:return this.begin("style"),47;break;case 36:return this.popState(),9;break;case 37:break;case 38:return 12;case 39:return 45;case 40:return 52;case 41:return this.begin("style"),41;break;case 42:return 46;case 43:return 34;case 44:return 33;case 45:return 69;case 46:return 71;case 47:return 71;case 48:return 71;case 49:return 69;case 50:return 69;case 51:return 70;case 52:return 70;case 53:return 70;case 54:return 70;case 55:return 70;case 56:return 71;case 57:return 70;case 58:return 71;case 59:return 72;case 60:return 72;case 61:return 54;case 62:return 72;case 63:return 72;case 64:return 72;case 65:return 55;case 66:return 51;case 67:return 72;case 68:return 69;case 69:return 70;case 70:return 71;case 71:return 73;case 72:return 74;case 73:return 75;case 74:return 75;case 75:return 74;case 76:return 74;case 77:return 74;case 78:return 44;case 79:return 50;case 80:return 43;case 81:return p.yytext[0];case 82:return 6}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:[ \t\r]+)/i,/^(?:[\n]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:#)/i,/^(?:#)/i,/^(?:,)/i,/^(?::::)/i,/^(?::)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:([^\s]*)[~].*[~]([^\s]*))/i,/^(?:([\*A-Za-z_\u00C0-\uFFFF][A-Za-z0-9\-\_\[\]\(\)\.,\u00C0-\uFFFF\*]*))/i,/^(?:[`])/i,/^(?:[^`]+)/i,/^(?:[`])/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:style\b)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?::)/i,/^(?:,)/i,/^(?:#)/i,/^(?:classDef\b)/i,/^(?:class\b)/i,/^(?:subgraph\b)/i,/^(?:end\b\s*)/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:[0-9]+\.[0-9]+)/i,/^(?:1(?=\s+[A-Za-z_"']))/i,/^(?:1(?=\s+[0-9]))/i,/^(?:1(?=(--|\.\.|\.-|-\.)))/i,/^(?:1\b)/i,/^(?:[0-9]+)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:u(?=[\.\-\|]))/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:([^\x00-\x7F]|\w|-|\*)+)/i,/^(?:;)/i,/^(?:([^\x00-\x7F]|\w|-|\*|\.)+)/i,/^(?:.)/i,/^(?:$)/i],conditions:{style:{rules:[36,37,38,39,40,78,79],inclusive:!1},acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},block_bq:{rules:[27,28],inclusive:!1},block:{rules:[22,23,24,25,26,29,30,31,32],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,33,34,35,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,80,81,82],inclusive:!0}}};return j}();Re.lexer=it;function ye(){this.yy={}}return t(ye,"Parser"),ye.prototype=Re,Re.Parser=ye,new ye}();Ge.parser=Ge;var lt=Ge,ct=class{constructor(){this.entities=new Map,this.relationships=[],this.classes=new Map,this.subgraphDepth=0,this.subGraphs=[],this.subGraphLookup=new Map,this.subCount=0,this.direction="TB",this.Cardinality={ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE",MD_PARENT:"MD_PARENT"},this.Identification={NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},this.setAccTitle=M,this.getAccTitle=P,this.setAccDescription=R,this.getAccDescription=I,this.setDiagramTitle=O,this.getDiagramTitle=D,this.getConfig=t(()=>d().er,"getConfig"),this.clear(),this.addEntity=this.addEntity.bind(this),this.addAttributes=this.addAttributes.bind(this),this.addRelationship=this.addRelationship.bind(this),this.setDirection=this.setDirection.bind(this),this.addCssStyles=this.addCssStyles.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.setAccTitle=this.setAccTitle.bind(this),this.setAccDescription=this.setAccDescription.bind(this),this.addSubGraph=this.addSubGraph.bind(this)}static{t(this,"ErDB")}addEntity(s,l=""){if(!this.entities.has(s))this.entities.set(s,{id:`entity-${s}-${this.entities.size}`,label:s,attributes:[],alias:l,shape:"erBox",look:d().look??"default",cssClasses:"default",cssStyles:[],labelType:"markdown"}),i.info("Added new entity :",s);else if(!this.entities.get(s)?.alias&&l)this.entities.get(s).alias=l,i.info(`Add alias '${l}' to entity '${s}'`);return this.entities.get(s)}getEntity(s){return this.entities.get(s)}getEntities(){return this.entities}getClasses(){return this.classes}addAttributes(s,l){let b=this.addEntity(s),n;for(n=l.length-1;n>=0;n--){if(!l[n].keys)l[n].keys=[];if(!l[n].comment)l[n].comment="";b.attributes.push(l[n]),i.debug("Added attribute ",l[n].name)}}addRelationship(s,l,b,n){let h;if(this.subGraphLookup.has(s))h=s;else{let y=this.addEntity(s);if(!y)return;h=y.id}let k;if(this.subGraphLookup.has(b))k=b;else{let y=this.addEntity(b);if(!y)return;k=y.id}let S={entityA:h,roleA:l,entityB:k,relSpec:n};this.relationships.push(S),i.debug("Added new relationship :",S)}getRelationships(){return this.relationships}getDirection(){return this.direction}setDirection(s){this.direction=s}getCompiledStyles(s){let l=[];for(let b of s){let n=this.classes.get(b);if(n?.styles)l=[...l,...n.styles??[]].map((h)=>h.trim());if(n?.textStyles)l=[...l,...n.textStyles??[]].map((h)=>h.trim())}return l}addCssStyles(s,l){for(let b of s){let n=this.entities.get(b),h=this.subGraphLookup.get(b);if(!l)continue;if(n)for(let k of l)n.cssStyles.push(k);if(h){if(!h.cssStyles)h.cssStyles=[];for(let k of l)h.cssStyles.push(k)}}}addClass(s,l){s.forEach((b)=>{let n=this.classes.get(b);if(n===void 0)n={id:b,styles:[],textStyles:[]},this.classes.set(b,n);if(l)l.forEach(function(h){if(/color/.exec(h)){let k=h.replace("fill","bgFill");n.textStyles.push(k)}n.styles.push(h)})})}addSubGraph(s,l,b){let n=s.text.trim(),h=b.text,S=t((_)=>{let w=new Set,q;return{nodeList:_.filter((x)=>{if(x?.stmt){if(x.stmt==="dir")q=x.value;return!1}if(typeof x!=="string")return!1;let G=x.trim();if(!G)return!1;if(w.has(G))return!1;return w.add(G),!0}),dir:q}},"uniq")(l.flat()),{nodeList:y,dir:T}=S;n=n??"subGraph"+this.subCount,h=h||"",h=this.sanitizeText(h),this.subCount=this.subCount+1;let f={id:n,nodes:y,title:h.trim(),classes:[],cssStyles:[],dir:T,labelType:this.sanitizeNodeLabelType(b?.type)};return i.info("Adding",f.id,f.nodes,f.dir),f.nodes=this.makeUniq(f,this.subGraphs).nodes,this.subGraphs.push(f),this.subGraphLookup.set(n,f),n}getSubGraphs(){return this.subGraphs}setClass(s,l){for(let b of s){let n=this.entities.get(b);if(n)for(let k of l)n.cssClasses+=" "+k;let h=this.subGraphLookup.get(b);if(h)for(let k of l)h.classes.push(k)}}subgraphNodeCache(s){let l=new Set;for(let b of s)for(let n of b.nodes)l.add(n);return l}makeUniq(s,l){let b=this.subgraphNodeCache(l),n=[];return s.nodes.forEach((h,k)=>{if(b.has(h))i.warn(`Entity '${h}' already belongs to another subgraph and will be ignored`);else n.push(s.nodes[k])}),{nodes:n}}sanitizeText(s){return C.sanitizeText(s,d())}sanitizeNodeLabelType(s){switch(s){case"markdown":case"string":case"text":return s;default:return"markdown"}}clear(){this.entities=new Map,this.classes=new Map,this.relationships=[],this.subGraphs=[],this.subGraphLookup=new Map,this.subCount=0,this.subgraphDepth=0,N()}getData(){let s=[],l=[],b=d(),n=this.getSubGraphs(),h=new Map,k=new Map;for(let f=n.length-1;f>=0;f--){let _=n[f];if(_.nodes.length>0)k.set(_.id,!0);for(let w of _.nodes)h.set(w,_.id)}for(let f=n.length-1;f>=0;f--){let _=n[f];s.push({id:_.id,label:_.title,labelStyle:"",labelType:_.labelType,parentId:h.get(_.id),padding:8,cssCompiledStyles:this.getCompiledStyles(_.classes),cssStyles:_.cssStyles,cssClasses:_.classes.join(" "),shape:"rect",dir:_.dir,isGroup:!0,look:b.look})}let S=new Set(n.map((f)=>f.id)),y=0;for(let f of this.entities.keys()){if(S.has(f))continue;let _=this.entities.get(f);if(_)_.cssCompiledStyles=this.getCompiledStyles(_.cssClasses.split(" ")),_.colorIndex=y++,s.push({..._,parentId:h.get(f),isGroup:!1})}let T=0;for(let f of this.relationships){let _={id:St(f.entityA,f.entityB,{prefix:"id",counter:T++}),type:"normal",curve:"basis",start:f.entityA,end:f.entityB,label:f.roleA,labelpos:"c",thickness:"normal",classes:"relationshipLine",arrowTypeStart:f.relSpec.cardB.toLowerCase(),arrowTypeEnd:f.relSpec.cardA.toLowerCase(),pattern:f.relSpec.relType=="IDENTIFYING"?"solid":"dashed",look:b.look,labelType:"markdown"};l.push(_)}return{nodes:s,edges:l,other:{},config:b,direction:this.direction}}},st={};or(st,{draw:()=>ht});var ht=t(async function(s,l,b,n){i.info("REF0:"),i.info("Drawing er diagram (unified)",l);let{securityLevel:h,er:k,layout:S}=d(),y=n.db.getData(),T=ze(l,h);y.type=n.type,y.layoutAlgorithm=Ue(S),y.config.flowchart.nodeSpacing=k?.nodeSpacing||140,y.config.flowchart.rankSpacing=k?.rankSpacing||80,y.direction=n.db.getDirection();let{config:f}=y,{look:_}=f;if(_==="neo")y.markers=["only_one_neo","zero_or_one_neo","one_or_more_neo","zero_or_more_neo"];else y.markers=["only_one","zero_or_one","one_or_more","zero_or_more"];y.diagramId=l,await He(y,T);let w=T.selectAll('[id*="-background"]');if(Array.from(w).length>0)w.each(function(){let X=g(this),G=X.attr("id").replace("-background",""),te=T.select(`#${CSS.escape(G)}`);if(!te.empty()){let V=te.attr("transform");X.attr("transform",V)}});let q=8;H.insertTitle(T,"erDiagramTitleText",k?.titleTopMargin??25,n.db.getDiagramTitle()),Pe(T,q,"erDiagram",k?.useMaxWidth??!0)},"draw"),tt=t((s,l)=>{let b=zn,n=b(s,"r"),h=b(s,"g"),k=b(s,"b");return Ie(n,h,k,l)},"fade"),ut=t((s)=>{let{theme:l,bkgColorArray:b,borderColorArray:n}=s;if(!Ne(l,n))return"";let h=Me(s.look),k=De(b),S="";for(let y=0;y<hn(n);y++){let T=n[y],f=k?`fill: ${b[y%b.length]};`:"";S+=`
7
-
8
- [data-look="${h}"][data-color-id="color-${y}"].node path {
9
- stroke: ${T};
10
- ${f}
11
- }
12
-
13
- [data-look="${h}"][data-color-id="color-${y}"].node rect {
14
- stroke: ${T};
15
- ${f}
16
- }
17
- `}return S},"genColor"),dt=t((s)=>{let{look:l,theme:b,erEdgeLabelBackground:n,strokeWidth:h}=s;return`
18
- ${ut(s)}
19
- .entityBox {
20
- fill: ${s.mainBkg};
21
- stroke: ${s.nodeBorder};
22
- }
23
-
24
- .relationshipLabelBox {
25
- fill: ${s.tertiaryColor};
26
- opacity: 0.7;
27
- background-color: ${s.tertiaryColor};
28
- rect {
29
- opacity: 0.5;
30
- }
31
- }
32
-
33
- .labelBkg {
34
- background-color: ${Hi.has(b)&&n?n:tt(s.tertiaryColor,0.5)};
35
- }
36
-
37
- .edgeLabel {
38
- background-color: ${Hi.has(b)&&n?n:s.edgeLabelBackground};
39
- }
40
- .edgeLabel .label rect {
41
- fill: ${Hi.has(b)&&n?n:s.edgeLabelBackground};
42
- }
43
- .edgeLabel .label text {
44
- fill: ${s.textColor};
45
- }
46
-
47
- .edgeLabel .label {
48
- fill: ${s.nodeBorder};
49
- font-size: 14px;
50
- }
51
-
52
- .label {
53
- font-family: ${s.fontFamily};
54
- color: ${s.nodeTextColor||s.textColor};
55
- }
56
-
57
- .edge-pattern-dashed {
58
- stroke-dasharray: 8,8;
59
- }
60
-
61
- .node rect,
62
- .node circle,
63
- .node ellipse,
64
- .node polygon
65
- {
66
- fill: ${s.mainBkg};
67
- stroke: ${s.nodeBorder};
68
- stroke-width: ${l==="neo"?h:"1px"};
69
- }
70
-
71
- .relationshipLine {
72
- stroke: ${s.lineColor};
73
- stroke-width: ${l==="neo"?h:"1px"};
74
- fill: none;
75
- }
76
-
77
- .marker {
78
- fill: none !important;
79
- stroke: ${s.lineColor} !important;
80
- stroke-width: 1;
81
- }
82
- [data-look=neo].labelBkg {
83
- background-color: ${tt(s.tertiaryColor,0.5)};
84
- }
85
-
86
- .cluster rect {
87
- fill: ${s.clusterBkg??s.mainBkg};
88
- stroke: ${s.clusterBorder??s.nodeBorder};
89
- stroke-width: 1px;
90
- }
91
-
92
- .cluster text {
93
- fill: ${s.titleColor??s.textColor};
94
- }
95
-
96
- .cluster-label text {
97
- fill: ${s.titleColor??s.textColor};
98
- }
99
- `},"getStyles"),bt=dt,wt={parser:lt,get db(){return new ct},renderer:st,styles:bt};export{wt as diagram};
Binary file
Binary file
@@ -1,2 +0,0 @@
1
- function xt(t){if(!Number.isFinite(t)||t<=0)return"0";if(t<1000)return Math.round(t).toString();if(t<1e6)return`${(t/1000).toFixed(1)}K`;if(t<1e9)return`${(t/1e6).toFixed(2)}M`;return`${(t/1e9).toFixed(2)}B`}function Qn(t){let r=Number.isFinite(t)?Math.max(0,t):0;return Math.round(r).toLocaleString("en-US")}function Et(t){if(!Number.isFinite(t)||t<=0)return"0s";if(t<1000)return"<1s";if(t<60000)return`${Math.floor(t/1000)}s`;if(t<3600000){let e=Math.floor(t/1000),i=Math.floor(e/60),u=e%60;return u>0?`${i}m ${u}s`:`${i}m`}if(t<259200000){let e=Math.floor(t/60000),i=Math.floor(e/60),u=e%60;return u>0?`${i}h ${u}m`:`${i}h`}let r=Math.floor(t/3600000),n=Math.floor(r/24),o=r%24;return o>0?`${n}d ${o}h`:`${n}d`}function hc(t){if(!Number.isFinite(t)||t<=0)return"0s";if(t<1000)return"<1s";if(t<60000)return`${Math.round(t/1000)}s`;if(t<3600000)return`${Math.round(t/60000)}m`;if(t<86400000){let o=t/3600000;return`${o>=10?Math.round(o).toString():o.toFixed(1).replace(/\.0$/,"")}h`}let r=t/86400000;return`${r>=10?Math.round(r).toString():r.toFixed(1).replace(/\.0$/,"")}d`}function Jn(t,r=1){if(!Number.isFinite(t)||t<=0)return"0%";let n=10**-r/100;if(t<n)return`<${(n*100).toFixed(r)}%`;return`${(t*100).toFixed(r)}%`}function nn(t){if(!Number.isFinite(t)||t<=0)return"0 B";if(t<1024)return`${Math.round(t)} B`;if(t<1048576)return`${(t/1024).toFixed(1)} KB`;if(t<1073741824)return`${(t/1048576).toFixed(2)} MB`;return`${(t/1073741824).toFixed(2)} GB`}function Li(t){let r=t.split("-"),n=r[1],o=r[2];if(n!==void 0&&o!==void 0)return`${n}/${o}`;return t}function qs(t){let r=t.split("-"),n=r[0],o=r[1],e=r[2];if(n===void 0||o===void 0||e===void 0)return t;let i=Number(n),u=Number(o)-1,a=Number(e),f=new Date(Date.UTC(i,u,a)),c=["周日","周一","周二","周三","周四","周五","周六"],d=f.getUTCDay(),_=c[d]??"";return`${t} ${_}`}function gc(t,r=Date.now()){if(t===null||t===void 0||!Number.isFinite(t)||t<=0)return"从未";let n=Math.max(0,r-t);if(n<60000)return"刚刚";if(n<3600000)return`${Math.max(1,Math.floor(n/60000))} 分钟前`;if(n<86400000)return`${Math.max(1,Math.floor(n/3600000))} 小时前`;if(n<2592000000)return`${Math.max(1,Math.floor(n/86400000))} 天前`;let o=new Date(t),e=o.getFullYear(),i=String(o.getMonth()+1).padStart(2,"0"),u=String(o.getDate()).padStart(2,"0");return`${e}-${i}-${u}`}
2
- export{xt,Qn,Et,hc,Jn,nn,Li,qs,gc};
Binary file
Binary file
@@ -1,2 +0,0 @@
1
- import{t,i,A,d,H,j,An,Tn,Dc,gn,lr,Oc,fa,ft,$c,oc,En,sc,pr,ga}from"./chunk-kasv56qe.js";import{_e}from"./chunk-e8bgrjps.js";import{S}from"./chunk-9rf2smk2.js";function io(e,{edgePathsClass:r="edges edgePaths"}={}){let n=e.insert("g").attr("class","root"),o=n.insert("g").attr("class","clusters"),s=n.insert("g").attr("class",r),a=n.insert("g").attr("class","edgeLabels"),l=n.insert("g").attr("class","nodes");return{clusters:o,edgePaths:s,edgeLabels:a,nodes:l,rootGroups:n}}t(io,"createLayoutElementGroups");async function L(e,r,n){if(r.label){let{shapeSvg:o,bbox:s}=await j(e,n===void 0?r:{...r,width:n});r.labelBBox={width:s.width,height:s.height},o.remove()}else r.labelBBox={width:0,height:0}}t(L,"measureGroupLabel");async function oo(e,r,n){let o=await Tn(e,r,n),s=o.node()?.getBBox()??{width:0,height:0};return r.width=s.width,r.height=s.height,o}t(oo,"insertMeasuredNode");function x(e,r,n){let o=e,s=new Set;while(o){if(o.dir)return o.dir;if(!o.parentId||s.has(o.parentId))break;s.add(o.parentId),o=r.get(o.parentId)}return n}t(x,"resolveNodeDir");async function D(e,r,n={}){let o=new _e({multigraph:!0,compound:!0}),s=[...r.edges],a=d(),l=io(e),{edgeLabels:f,nodes:c}=l,g=new Map,b=new Map(r.nodes.map((u)=>[u.id,u])),E=r.direction,h=e.node()!=null;await Promise.all(r.nodes.map(async(u)=>{if(u.isGroup){if(h){let w=n.unwrapGroupLabels&&u.labelType!=="markdown";await L(c,u,w?Number.POSITIVE_INFINITY:void 0)}o.setNode(u.id,{...u})}else{if(h){let w=await oo(c,u,{config:a,dir:x(u,b,E)});g.set(u.id,w)}o.setNode(u.id,{...u})}}));for(let u of s){if(h&&oc(u))await En(f,u);if(o.setEdge(u.start,u.end,{...u},u.id),!r.edges.some((v)=>v.id===u.id))r.edges.push(u)}if(globalThis.mermaidCaptureSizes){let{captureNodeSizes:u}=await (S("hjs5pyye"),import("./chunk-hjs5pyye.js"));u(e,r)}return{graph:o,groups:l,nodeElements:g}}t(D,"createGraphWithElements");var re=new Map,m=new Map,k=new Map,Q=t(()=>{m.clear(),k.clear(),re.clear()},"clear"),p=t((e,r)=>{let n=m.get(r)||[];return i.trace("In isDescendant",r," ",e," = ",n.includes(e)),n.includes(e)},"isDescendant"),U=t((e,r)=>{let n=m.get(r)||[];if(i.info("Descendants of ",r," is ",n),i.info("Edge is ",e),e.v===r||e.w===r)return!1;if(!n)return i.debug("Tilt, ",r,",not in descendants"),!1;return n.includes(e.v)||p(e.v,r)||p(e.w,r)||n.includes(e.w)},"edgeInCluster"),R=t((e,r,n,o)=>{i.debug("Copying children of ",e,"root",o,"data",r.node(e),o);let s=r.children(e)||[];if(e!==o)s.push(e);i.debug("Copying (nodes) clusterId",e,"nodes",s),s.forEach((a)=>{if(r.children(a).length>0)R(a,r,n,o);else{let l=r.node(a);if(i.info("cp ",a," to ",o," with parent ",e),n.setNode(a,l),o!==r.parent(a))i.debug("Setting parent",a,r.parent(a)),n.setParent(a,r.parent(a));if(e!==o&&a!==e)i.debug("Setting parent",a,e),n.setParent(a,e);else i.info("In copy ",e,"root",o,"data",r.node(e),o),i.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==o,"node!==clusterId",a!==e);let f=r.edges(a);i.debug("Copying Edges",f),f.forEach((c)=>{i.info("Edge",c);let g=r.edge(c.v,c.w,c.name);i.info("Edge data",g,o);try{if(U(c,o))i.info("Copying as ",c.v,c.w,g,c.name),n.setEdge(c.v,c.w,g,c.name),i.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]));else i.info("Skipping copy of edge ",c.v,"-->",c.w," rootId: ",o," clusterId:",e)}catch(b){i.error(b)}})}i.debug("Removing node",a),r.removeNode(a)})},"copy"),T=t((e,r)=>{let n=r.children(e),o=[...n];for(let s of n)k.set(s,e),o=[...o,...T(s,r)];return o},"extractDescendants"),Z=t((e,r,n)=>{let o=e.edges().filter((c)=>c.v===r||c.w===r),s=e.edges().filter((c)=>c.v===n||c.w===n),a=o.map((c)=>({v:c.v===r?n:c.v,w:c.w===r?r:c.w})),l=s.map((c)=>({v:c.v,w:c.w}));return a.filter((c)=>l.some((g)=>c.v===g.v&&c.w===g.w))},"findCommonEdges"),ia=t((e,r,n)=>{let o=r.children(e);if(i.trace("Searching children of id ",e,o),o.length<1)return e;let s;for(let a of o){let l=ia(a,r,n),f=Z(r,n,l);if(l)if(f.length>0)s=l;else return l}return s},"findNonClusterChild"),y=t((e)=>{if(!re.has(e))return e;if(!re.get(e).externalConnections)return e;if(re.has(e))return re.get(e).id;return e},"getAnchorId"),xc=t((e,r)=>{if(!e||r>10){i.debug("Opting out, no graph ");return}else i.debug("Opting in, graph ");e.nodes().forEach(function(n){if(e.children(n).length>0)i.debug("Cluster identified",n," Replacement id in edges: ",ia(n,e,n)),m.set(n,T(n,e)),re.set(n,{id:ia(n,e,n),clusterData:e.node(n)})}),e.nodes().forEach(function(n){let o=e.children(n),s=e.edges();if(o.length>0)i.debug("Cluster identified",n,m),s.forEach((a)=>{let l=p(a.v,n),f=p(a.w,n);if(l^f)i.debug("Edge: ",a," leaves cluster ",n),i.debug("Descendants of XXX ",n,": ",m.get(n)),re.get(n).externalConnections=!0});else i.debug("Not a cluster ",n,m)});for(let n of re.keys()){let o=re.get(n).id,s=e.parent(o);if(s!==n&&re.has(s)&&!re.get(s).externalConnections)re.get(n).id=s;let a=e.edges().some((l)=>l.v===n);if(o&&re.get(n)?.externalConnections&&a&&M(e,o,n)){let l=I(e,n,e.parent(o));if(l)re.get(n).id=l}}e.edges().forEach(function(n){let o=e.edge(n);i.debug("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),i.debug("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let{v:s,w:a}=n;if(i.debug("Fix XXX",re,"ids:",n.v,n.w,"Translating: ",re.get(n.v)," --- ",re.get(n.w)),re.get(n.v)||re.get(n.w)){if(i.debug("Fixing and trying - removing XXX",n.v,n.w,n.name),s=y(n.v),a=y(n.w),e.removeEdge(n.v,n.w,n.name),s!==n.v){let l=e.parent(s);re.get(l).externalConnections=!0,o.fromCluster=n.v}if(a!==n.w){let l=e.parent(a);re.get(l).externalConnections=!0,o.toCluster=n.w}i.debug("Fix Replacing with XXX",s,a,n.name),e.setEdge(s,a,o,n.name)}}),P(e,0),i.trace(re)},"adjustClustersAndEdges"),P=t((e,r)=>{if(r>10){i.error("Bailing out");return}let n=e.nodes(),o=!1;for(let s of n){let a=e.children(s);o=o||a.length>0}if(!o){i.debug("Done, no node has children",e.nodes());return}i.debug("Nodes = ",n,r);for(let s of n)if(i.debug("Extracting node",s,re,re.has(s)&&!re.get(s).externalConnections,!e.parent(s),e.node(s),e.children("D")," Depth ",r),!re.has(s))i.debug("Not a cluster",s,r);else if(!re.get(s).externalConnections&&e.children(s)&&e.children(s).length>0){i.debug("Cluster without external connections, without a parent and with children",s,r);let l=e.graph().rankdir==="TB"?"LR":"TB";if(re.get(s)?.clusterData?.dir)l=re.get(s).clusterData.dir,i.debug("Fixing dir",re.get(s).clusterData.dir,l);let f=new _e({multigraph:!0,compound:!0}).setGraph({rankdir:l,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});R(s,e,f,s),e.setNode(s,{clusterNode:!0,id:s,clusterData:re.get(s).clusterData,label:re.get(s).label,graph:f})}else i.debug("Cluster ** ",s," **not meeting the criteria !externalConnections:",!re.get(s).externalConnections," no parent: ",!e.parent(s)," children ",e.children(s)&&e.children(s).length>0,e.children("D"),r),i.debug(re);n=e.nodes(),i.debug("New list of nodes",n);for(let s of n){let a=e.node(s);if(i.debug(" Now next level",s,a),a?.clusterNode)P(a.graph,r+1)}},"extractor"),B=t((e,r)=>{if(r.length===0)return[];let n=Object.assign([],r);return r.forEach((o)=>{let s=e.children(o),a=B(e,s);n=[...n,...a]}),n},"sorter"),so=t((e)=>B(e,e.children()),"sortNodesByHierarchy"),M=t((e,r,n)=>{let o=e.parent(r);while(o&&o!==n){let s=re.get(o);if(s&&!s.externalConnections)return!0;o=e.parent(o)}return!1},"isNodeInExtractableCluster"),I=t((e,r,n)=>{let o=e.children(r)??[];for(let s of o){if(s===n||p(s,n))continue;let a=ia(s,e,r);if(!a)continue;if(!M(e,a,r))return a}return null},"findSafeAnchorNode");function $a({prepareLayout:e,measureLayout:r,runLayoutCore:n,paintLayout:o,afterPaint:s,paintOptions:a}){let l=r??_;return t(async function(c,g,b,E){let h=g.select("g");(b?.insertMarkers??ga)(h,c.markers,c.type,c.diagramId),X();let u={element:h,helpers:b,options:E};u.preparedLayout=await e?.(c,u);let w=await l(c,u),v=await n(c,u),C={...u,measure:w};if(o)await o(c,C,v);else await G(c,C,a);await s?.(c,C,v)},"render")}t($a,"createCommonLayoutRenderer");function X(){Dc(),$c(),Oc(),Q()}t(X,"clearLayoutRenderState");async function _(e,{element:r},n){return await D(r,e,n)}t(_,"defaultMeasureLayout");async function G(e,r,n={}){let{measure:o}=r,{groups:s}=o;for(let l of n.getNodes?.(e,r)??e.nodes){if(n.skipNode?.(l,r))continue;await O(s,l,r,n)}let a=z(e.nodes);for(let l of e.edges){if(J(l,n))continue;await W(s,l,a,e,n,r)}}t(G,"paintLayoutData");async function O(e,r,n,o){if(r.clusterNode)gn(r);else if(F(r,n,o))await lr(e.clusters,r);else gn(r)}t(O,"paintLayoutNode");function F(e,r,n){return e.isGroup===!0&&(n.isCluster?.(e,r)??!0)}t(F,"shouldPaintAsCluster");function z(e){let r=new Map;for(let n of e)if(n?.id)r.set(n.id,n);return r}t(z,"buildNodeLookup");function J(e,r){return e.isLayoutOnly||Boolean(r.skipEdge?.(e))}t(J,"shouldSkipPaintEdge");async function W(e,r,n,o,s,a){let l=pr(e.edgePaths,{...r},s.clusterDb??new Map,o.type,N(r.start,r,n,a,s),N(r.end,r,n,a,s),o.diagramId,V(r,s),o.layoutAlgorithm);if(oc(r)){if(!fa.has(r.id))await En(e.edgeLabels,r);Y(r,l)}}t(W,"paintLayoutEdge");function N(e,r,n,o,s){return s.getEdgeNode?.(e,r,o)??(e?n.get(e)??{}:{})}t(N,"getRenderedNode");function V(e,r){return typeof r.skipIntersect==="function"?r.skipIntersect(e):r.skipIntersect??!1}t(V,"shouldSkipIntersect");function Y(e,r){let n=r?.updatedPath??r?.originalPath,o=A(),{subGraphTitleTotalMargin:s}=An({flowchart:o.flowchart??{}});if(e.label){let a=fa.get(e.id),{x:l,y:f}=sc(e,r);a.attr("transform",`translate(${l}, ${f+s/2})`)}for(let[a,l]of[["startLeft",e.startLabelLeft],["startRight",e.startLabelRight],["endLeft",e.endLabelLeft],["endRight",e.endLabelRight]])if(l){let{x:f,y:c}=q(e,a,n);ft.get(e.id)[a].attr("transform",`translate(${f}, ${c})`)}}t(Y,"positionRenderedEdgeLabel");var ee={startLeft:"start_left",startRight:"start_right",endLeft:"end_left",endRight:"end_right"};function q(e,r,n){let o=e.terminalLabelCenters?.[r];if(o)return{...o};if(!n)return{x:e.x,y:e.y};let s=r.startsWith("start")?e.arrowTypeStart:e.arrowTypeEnd;return H.calcTerminalLabelPosition(s?10:0,ee[r],n)}t(q,"terminalLabelTranslate");
2
- export{io,oo,re,ia,xc,so,$a};
Binary file
Binary file