@bkm016/basalt 0.1.27 → 0.1.29

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 (846) hide show
  1. package/chunk-01fz0kzx.js +2 -0
  2. package/chunk-06k5mcmy.js +4018 -0
  3. package/chunk-14pg1g7b.js +2 -0
  4. package/chunk-1cvzbvsq.js +2 -0
  5. package/chunk-1pgj58dw.js +20 -0
  6. package/chunk-200cn72d.js +16 -0
  7. package/chunk-2nd8hvf3.js +31 -0
  8. package/chunk-39wsmkd7.js +4 -0
  9. package/chunk-54qc1d5t.js +2 -0
  10. package/chunk-59enxka6.js +50 -0
  11. package/chunk-5fs3331q.js +3 -0
  12. package/chunk-674kjaqz.js +2 -0
  13. package/chunk-6pqsx156.js +12 -0
  14. package/chunk-6rw1ex78.js +2 -0
  15. package/chunk-6vz0znf6.js +8 -0
  16. package/chunk-73z1fv3d.js +9 -0
  17. package/chunk-7dnq7g8f.js +3 -0
  18. package/chunk-7emc0sy7.js +11 -0
  19. package/chunk-7nsrfrmx.js +2 -0
  20. package/chunk-8hxsap9d.js +5 -0
  21. package/chunk-8kmtns4v.js +5 -0
  22. package/chunk-9dy56agy.js +51 -0
  23. package/chunk-9mt2k1a7.js +5 -0
  24. package/chunk-9sq7yxh7.js +12 -0
  25. package/chunk-9x1yprjh.js +2 -0
  26. package/chunk-a5k24aj6.js +3 -0
  27. package/chunk-ades3qy7.js +10 -0
  28. package/chunk-ag642nqs.js +8 -0
  29. package/chunk-av3zmcd8.js +3 -0
  30. package/chunk-b1hdfsj4.js +25 -0
  31. package/chunk-b5448t3j.js +2 -0
  32. package/chunk-b6rvzkxg.js +3 -0
  33. package/chunk-b8acka7e.js +2 -0
  34. package/chunk-bh680te4.js +2 -0
  35. package/chunk-cb4rvanv.js +2 -0
  36. package/chunk-d6hcvbkh.js +3 -0
  37. package/chunk-dqxks09b.js +3 -0
  38. package/chunk-eg161ep9.js +3 -0
  39. package/chunk-exjytvzn.js +2 -0
  40. package/chunk-f6kg68bj.js +3 -0
  41. package/chunk-fcxdq1dy.js +7 -0
  42. package/chunk-fkjjadt4.js +3 -0
  43. package/chunk-fr1zvytp.js +7 -0
  44. package/chunk-fx3cc8nr.js +3 -0
  45. package/chunk-hvxc1wyv.js +3 -0
  46. package/chunk-j24fq8ss.js +2 -0
  47. package/chunk-j55tyjct.js +2 -0
  48. package/chunk-jn0dhvkp.js +2 -0
  49. package/chunk-k9dw37w2.js +3 -0
  50. package/chunk-m6bm0739.js +2 -0
  51. package/chunk-mkfdzt82.js +2 -0
  52. package/chunk-nbm1tqvg.js +3 -0
  53. package/chunk-p5ga5as0.js +25 -0
  54. package/chunk-pmefr1ak.js +490 -0
  55. package/chunk-r49sxmnc.js +3 -0
  56. package/chunk-rf6t7zeb.js +286 -0
  57. package/chunk-s0ne3yb9.js +2 -0
  58. package/chunk-s8ybq82n.js +5 -0
  59. package/chunk-spv39wem.js +7 -0
  60. package/chunk-stgqqm7m.js +59 -0
  61. package/chunk-sykaz5bf.js +18 -0
  62. package/chunk-sz0jywpb.js +39 -0
  63. package/chunk-vcngwaee.js +3 -0
  64. package/chunk-vpvznxf4.js +3 -0
  65. package/chunk-vzh6e5f2.js +2 -0
  66. package/chunk-wkvrtjtc.js +2 -0
  67. package/chunk-wzd9b2qk.js +2 -0
  68. package/chunk-x1cva1gc.js +2 -0
  69. package/chunk-x83jcg3x.js +3 -0
  70. package/chunk-xdyee71m.js +10 -0
  71. package/chunk-xdygdssk.js +3 -0
  72. package/chunk-xjcg6cxc.js +3 -0
  73. package/chunk-xran6f0c.js +2 -0
  74. package/chunk-ymn1s2xs.js +3 -0
  75. package/chunk-ysqx0ye8.js +2 -0
  76. package/chunk-z58jafcm.js +3 -0
  77. package/chunk-zf1c6rj7.js +63 -0
  78. package/chunk-zgtahh10.js +44 -0
  79. package/compiled.js +11 -11
  80. package/package.json +1 -1
  81. package/ui-test-worker.js +79 -77
  82. package/web/chunk-0nt1mz09.js +1 -0
  83. package/web/chunk-0nt1mz09.js.br +0 -0
  84. package/web/chunk-0nt1mz09.js.gz +0 -0
  85. package/web/chunk-0yye7ex1.js +1 -0
  86. package/web/chunk-0yye7ex1.js.br +0 -0
  87. package/web/chunk-0yye7ex1.js.gz +0 -0
  88. package/web/chunk-1pffd2va.js +2 -0
  89. package/web/chunk-1pffd2va.js.br +0 -0
  90. package/web/chunk-1pffd2va.js.gz +0 -0
  91. package/web/chunk-368znnfs.js +1 -0
  92. package/web/chunk-368znnfs.js.br +0 -0
  93. package/web/chunk-368znnfs.js.gz +0 -0
  94. package/web/chunk-3tx9tqfb.js +291 -0
  95. package/web/chunk-3tx9tqfb.js.br +0 -0
  96. package/web/chunk-3tx9tqfb.js.gz +0 -0
  97. package/web/chunk-46ht4dh6.js +24 -0
  98. package/web/chunk-46ht4dh6.js.br +0 -0
  99. package/web/chunk-46ht4dh6.js.gz +0 -0
  100. package/web/chunk-4c418rk9.js +1 -0
  101. package/web/chunk-4c418rk9.js.br +2 -0
  102. package/web/chunk-4c418rk9.js.gz +0 -0
  103. package/web/chunk-4p0sm8e7.js +7 -0
  104. package/web/chunk-4p0sm8e7.js.br +0 -0
  105. package/web/chunk-4p0sm8e7.js.gz +0 -0
  106. package/web/chunk-4zam960g.js +1 -0
  107. package/web/chunk-4zam960g.js.br +0 -0
  108. package/web/chunk-4zam960g.js.gz +0 -0
  109. package/web/chunk-5h63t21g.js +1 -0
  110. package/web/chunk-5h63t21g.js.br +0 -0
  111. package/web/chunk-5h63t21g.js.gz +0 -0
  112. package/web/chunk-5h7xm5mn.js +1 -0
  113. package/web/chunk-5h7xm5mn.js.br +0 -0
  114. package/web/chunk-5h7xm5mn.js.gz +0 -0
  115. package/web/chunk-6crex674.js +89 -0
  116. package/web/chunk-6crex674.js.br +0 -0
  117. package/web/chunk-6crex674.js.gz +0 -0
  118. package/web/chunk-6v031vc6.js +21 -0
  119. package/web/chunk-6v031vc6.js.br +0 -0
  120. package/web/chunk-6v031vc6.js.gz +0 -0
  121. package/web/chunk-782gfmtk.js +38 -0
  122. package/web/chunk-782gfmtk.js.br +0 -0
  123. package/web/chunk-782gfmtk.js.gz +0 -0
  124. package/web/chunk-7a6szg06.js +2 -0
  125. package/web/chunk-7a6szg06.js.br +0 -0
  126. package/web/chunk-7a6szg06.js.gz +0 -0
  127. package/web/chunk-7dvbxn34.js +4 -0
  128. package/web/chunk-7dvbxn34.js.br +0 -0
  129. package/web/chunk-7dvbxn34.js.gz +0 -0
  130. package/web/chunk-7g795nba.js +1 -0
  131. package/web/chunk-7g795nba.js.br +2 -0
  132. package/web/chunk-7g795nba.js.gz +0 -0
  133. package/web/chunk-8fymhvne.js +1 -0
  134. package/web/chunk-8fymhvne.js.br +0 -0
  135. package/web/chunk-8fymhvne.js.gz +0 -0
  136. package/web/chunk-8kcp1h63.js +1 -0
  137. package/web/chunk-8kcp1h63.js.br +0 -0
  138. package/web/chunk-8kcp1h63.js.gz +0 -0
  139. package/web/chunk-8vtr60yn.js +2 -0
  140. package/web/chunk-8vtr60yn.js.br +0 -0
  141. package/web/chunk-8vtr60yn.js.gz +0 -0
  142. package/web/chunk-8y14zggg.js +2 -0
  143. package/web/chunk-8y14zggg.js.br +0 -0
  144. package/web/chunk-8y14zggg.js.gz +0 -0
  145. package/web/chunk-8zg840m3.js +1 -0
  146. package/web/chunk-8zg840m3.js.br +0 -0
  147. package/web/chunk-8zg840m3.js.gz +0 -0
  148. package/web/chunk-940sc4ny.js +7 -0
  149. package/web/chunk-940sc4ny.js.br +0 -0
  150. package/web/chunk-940sc4ny.js.gz +0 -0
  151. package/web/chunk-94f4sz0m.js +1 -0
  152. package/web/chunk-94f4sz0m.js.br +0 -0
  153. package/web/chunk-94f4sz0m.js.gz +0 -0
  154. package/web/chunk-94jy9s3n.js +55 -0
  155. package/web/chunk-94jy9s3n.js.br +0 -0
  156. package/web/chunk-94jy9s3n.js.gz +0 -0
  157. package/web/chunk-97qfkg6n.js +30 -0
  158. package/web/chunk-97qfkg6n.js.br +0 -0
  159. package/web/chunk-97qfkg6n.js.gz +0 -0
  160. package/web/chunk-99mgkmjb.js +62 -0
  161. package/web/chunk-99mgkmjb.js.br +0 -0
  162. package/web/chunk-99mgkmjb.js.gz +0 -0
  163. package/web/chunk-9afn27bs.js +1 -0
  164. package/web/chunk-9afn27bs.js.br +2 -0
  165. package/web/chunk-9afn27bs.js.gz +0 -0
  166. package/web/chunk-aw4h94zp.js +1 -0
  167. package/web/chunk-aw4h94zp.js.br +0 -0
  168. package/web/chunk-aw4h94zp.js.gz +0 -0
  169. package/web/chunk-azdhgj11.js +40 -0
  170. package/web/chunk-azdhgj11.js.br +0 -0
  171. package/web/chunk-azdhgj11.js.gz +0 -0
  172. package/web/chunk-batey85v.js +2 -0
  173. package/web/chunk-batey85v.js.br +0 -0
  174. package/web/chunk-batey85v.js.gz +0 -0
  175. package/web/chunk-brbxfap5.js +99 -0
  176. package/web/chunk-brbxfap5.js.br +0 -0
  177. package/web/chunk-brbxfap5.js.gz +0 -0
  178. package/web/chunk-bxc8a663.js +2 -0
  179. package/web/chunk-bxc8a663.js.br +0 -0
  180. package/web/chunk-bxc8a663.js.gz +0 -0
  181. package/web/chunk-c2t7zyge.js +169 -0
  182. package/web/chunk-c2t7zyge.js.br +0 -0
  183. package/web/chunk-c2t7zyge.js.gz +0 -0
  184. package/web/chunk-c5bfa3rp.js +1 -0
  185. package/web/chunk-c5bfa3rp.js.br +0 -0
  186. package/web/chunk-c5bfa3rp.js.gz +0 -0
  187. package/web/chunk-c86a6am5.js +2 -0
  188. package/web/chunk-c86a6am5.js.br +3 -0
  189. package/web/chunk-c86a6am5.js.gz +0 -0
  190. package/web/chunk-dgtp38mj.js +1 -0
  191. package/web/chunk-dgtp38mj.js.br +0 -0
  192. package/web/chunk-dgtp38mj.js.gz +0 -0
  193. package/web/chunk-e4h4dg4y.js +303 -0
  194. package/web/chunk-e4h4dg4y.js.br +0 -0
  195. package/web/chunk-e4h4dg4y.js.gz +0 -0
  196. package/web/chunk-e5f8e2ta.js +1 -0
  197. package/web/chunk-e5f8e2ta.js.br +0 -0
  198. package/web/chunk-e5f8e2ta.js.gz +0 -0
  199. package/web/chunk-e7rwnv7e.js +1 -0
  200. package/web/chunk-e7rwnv7e.js.br +0 -0
  201. package/web/chunk-e7rwnv7e.js.gz +0 -0
  202. package/web/chunk-ef9tqrz4.js +324 -0
  203. package/web/chunk-ef9tqrz4.js.br +0 -0
  204. package/web/chunk-ef9tqrz4.js.gz +0 -0
  205. package/web/chunk-ekcnhcm0.js +1 -0
  206. package/web/chunk-ekcnhcm0.js.br +0 -0
  207. package/web/chunk-ekcnhcm0.js.gz +0 -0
  208. package/web/chunk-ekkdhece.js +41 -0
  209. package/web/chunk-ekkdhece.js.br +0 -0
  210. package/web/chunk-ekkdhece.js.gz +0 -0
  211. package/web/chunk-enbqe508.js +36 -0
  212. package/web/chunk-enbqe508.js.br +0 -0
  213. package/web/chunk-enbqe508.js.gz +0 -0
  214. package/web/chunk-ev517x0c.js +1 -0
  215. package/web/chunk-ev517x0c.js.br +0 -0
  216. package/web/chunk-ev517x0c.js.gz +0 -0
  217. package/web/chunk-ex47jeev.js +1 -0
  218. package/web/chunk-ex47jeev.js.br +0 -0
  219. package/web/chunk-ex47jeev.js.gz +0 -0
  220. package/web/chunk-ft9p7cr8.js +8 -0
  221. package/web/chunk-ft9p7cr8.js.br +0 -0
  222. package/web/chunk-ft9p7cr8.js.gz +0 -0
  223. package/web/chunk-fybmc8p1.js +1 -0
  224. package/web/chunk-fybmc8p1.js.br +0 -0
  225. package/web/chunk-fybmc8p1.js.gz +0 -0
  226. package/web/chunk-g6e50kx0.js +3 -0
  227. package/web/chunk-g6e50kx0.js.br +0 -0
  228. package/web/chunk-g6e50kx0.js.gz +0 -0
  229. package/web/chunk-g6grehr5.css +1 -0
  230. package/web/chunk-g6grehr5.css.br +0 -0
  231. package/web/chunk-g6grehr5.css.gz +0 -0
  232. package/web/chunk-gbzfq3rg.js +332 -0
  233. package/web/chunk-gbzfq3rg.js.br +0 -0
  234. package/web/chunk-gbzfq3rg.js.gz +0 -0
  235. package/web/chunk-gsg8yq3m.js +1 -0
  236. package/web/chunk-gsg8yq3m.js.br +0 -0
  237. package/web/chunk-gsg8yq3m.js.gz +0 -0
  238. package/web/chunk-hgcgbxns.js +1 -0
  239. package/web/chunk-hgcgbxns.js.br +0 -0
  240. package/web/chunk-hgcgbxns.js.gz +0 -0
  241. package/web/chunk-hh8ck7sy.js +2 -0
  242. package/web/chunk-hh8ck7sy.js.br +0 -0
  243. package/web/chunk-hh8ck7sy.js.gz +0 -0
  244. package/web/chunk-hj18pw9f.js +2 -0
  245. package/web/chunk-hj18pw9f.js.br +0 -0
  246. package/web/chunk-hj18pw9f.js.gz +0 -0
  247. package/web/chunk-hk4jd2qq.js +24 -0
  248. package/web/chunk-hk4jd2qq.js.br +0 -0
  249. package/web/chunk-hk4jd2qq.js.gz +0 -0
  250. package/web/chunk-hrnx1576.js +4 -0
  251. package/web/chunk-hrnx1576.js.br +0 -0
  252. package/web/chunk-hrnx1576.js.gz +0 -0
  253. package/web/chunk-j0ns5dyq.js +120 -0
  254. package/web/chunk-j0ns5dyq.js.br +0 -0
  255. package/web/chunk-j0ns5dyq.js.gz +0 -0
  256. package/web/chunk-j21a7pd1.js +1 -0
  257. package/web/chunk-j21a7pd1.js.br +0 -0
  258. package/web/chunk-j21a7pd1.js.gz +0 -0
  259. package/web/chunk-jbejy8k3.js +1139 -0
  260. package/web/chunk-jbejy8k3.js.br +0 -0
  261. package/web/chunk-jbejy8k3.js.gz +0 -0
  262. package/web/chunk-jeq99z4t.js +70 -0
  263. package/web/chunk-jeq99z4t.js.br +0 -0
  264. package/web/chunk-jeq99z4t.js.gz +0 -0
  265. package/web/chunk-jqq07zta.js +1 -0
  266. package/web/chunk-jqq07zta.js.br +0 -0
  267. package/web/chunk-jqq07zta.js.gz +0 -0
  268. package/web/chunk-k6m37v6k.js +1 -0
  269. package/web/chunk-k6m37v6k.js.br +0 -0
  270. package/web/chunk-k6m37v6k.js.gz +0 -0
  271. package/web/chunk-kajk2w5j.js +217 -0
  272. package/web/chunk-kajk2w5j.js.br +0 -0
  273. package/web/chunk-kajk2w5j.js.gz +0 -0
  274. package/web/chunk-kcrypnnf.js +1 -0
  275. package/web/chunk-kcrypnnf.js.br +0 -0
  276. package/web/chunk-kcrypnnf.js.gz +0 -0
  277. package/web/chunk-kyksv8an.js +1 -0
  278. package/web/chunk-kyksv8an.js.br +2 -0
  279. package/web/chunk-kyksv8an.js.gz +0 -0
  280. package/web/chunk-mkhcq6z6.js +1 -0
  281. package/web/chunk-mkhcq6z6.js.br +0 -0
  282. package/web/chunk-mkhcq6z6.js.gz +0 -0
  283. package/web/chunk-mytypet0.js +2 -0
  284. package/web/chunk-mytypet0.js.br +0 -0
  285. package/web/chunk-mytypet0.js.gz +0 -0
  286. package/web/chunk-mzb086jr.js +1 -0
  287. package/web/chunk-mzb086jr.js.br +0 -0
  288. package/web/chunk-mzb086jr.js.gz +0 -0
  289. package/web/chunk-mzevfdmp.js +1 -0
  290. package/web/chunk-mzevfdmp.js.br +0 -0
  291. package/web/chunk-mzevfdmp.js.gz +0 -0
  292. package/web/chunk-n7c5sndg.js +1 -0
  293. package/web/chunk-n7c5sndg.js.br +0 -0
  294. package/web/chunk-n7c5sndg.js.gz +0 -0
  295. package/web/chunk-ned200k0.js +84 -0
  296. package/web/chunk-ned200k0.js.br +0 -0
  297. package/web/chunk-ned200k0.js.gz +0 -0
  298. package/web/chunk-ngcd5a3c.js +1 -0
  299. package/web/chunk-ngcd5a3c.js.br +0 -0
  300. package/web/chunk-ngcd5a3c.js.gz +0 -0
  301. package/web/chunk-nx14h1a6.js +1 -0
  302. package/web/chunk-nx14h1a6.js.br +0 -0
  303. package/web/chunk-nx14h1a6.js.gz +0 -0
  304. package/web/chunk-p3fv7nbz.js +1 -0
  305. package/web/chunk-p3fv7nbz.js.br +0 -0
  306. package/web/chunk-p3fv7nbz.js.gz +0 -0
  307. package/web/chunk-pktgtyf6.js +1 -0
  308. package/web/chunk-pktgtyf6.js.br +0 -0
  309. package/web/chunk-pktgtyf6.js.gz +0 -0
  310. package/web/chunk-pm504vps.js +89 -0
  311. package/web/chunk-pm504vps.js.br +0 -0
  312. package/web/chunk-pm504vps.js.gz +0 -0
  313. package/web/chunk-pnvkphs0.js +12 -0
  314. package/web/chunk-pnvkphs0.js.br +0 -0
  315. package/web/chunk-pnvkphs0.js.gz +0 -0
  316. package/web/chunk-ptvshaa0.js +2 -0
  317. package/web/chunk-ptvshaa0.js.br +0 -0
  318. package/web/chunk-ptvshaa0.js.gz +0 -0
  319. package/web/chunk-py4737sc.js +39 -0
  320. package/web/chunk-py4737sc.js.br +0 -0
  321. package/web/chunk-py4737sc.js.gz +0 -0
  322. package/web/chunk-pz5wcbdv.js +139 -0
  323. package/web/chunk-pz5wcbdv.js.br +0 -0
  324. package/web/chunk-pz5wcbdv.js.gz +0 -0
  325. package/web/chunk-q467b529.js +1 -0
  326. package/web/chunk-q467b529.js.br +0 -0
  327. package/web/chunk-q467b529.js.gz +0 -0
  328. package/web/chunk-qbvbfpx8.js +1 -0
  329. package/web/chunk-qbvbfpx8.js.br +0 -0
  330. package/web/chunk-qbvbfpx8.js.gz +0 -0
  331. package/web/chunk-qgfc4ptt.js +7 -0
  332. package/web/chunk-qgfc4ptt.js.br +0 -0
  333. package/web/chunk-qgfc4ptt.js.gz +0 -0
  334. package/web/chunk-qmmss130.js +2 -0
  335. package/web/chunk-qmmss130.js.br +0 -0
  336. package/web/chunk-qmmss130.js.gz +0 -0
  337. package/web/chunk-qqrzr444.js +2 -0
  338. package/web/chunk-qqrzr444.js.br +0 -0
  339. package/web/chunk-qqrzr444.js.gz +0 -0
  340. package/web/chunk-r2fjprkk.js +1 -0
  341. package/web/chunk-r2fjprkk.js.br +0 -0
  342. package/web/chunk-r2fjprkk.js.gz +0 -0
  343. package/web/chunk-rcn21n5e.js +214 -0
  344. package/web/chunk-rcn21n5e.js.br +0 -0
  345. package/web/chunk-rcn21n5e.js.gz +0 -0
  346. package/web/chunk-rpnw9xwe.js +1 -0
  347. package/web/chunk-rpnw9xwe.js.br +0 -0
  348. package/web/chunk-rpnw9xwe.js.gz +0 -0
  349. package/web/chunk-rv5h4d8w.js +1 -0
  350. package/web/chunk-rv5h4d8w.js.br +0 -0
  351. package/web/chunk-rv5h4d8w.js.gz +0 -0
  352. package/web/chunk-s8e8gzvn.js +16 -0
  353. package/web/chunk-s8e8gzvn.js.br +0 -0
  354. package/web/chunk-s8e8gzvn.js.gz +0 -0
  355. package/web/chunk-sa57mndb.js +1 -0
  356. package/web/chunk-sa57mndb.js.br +0 -0
  357. package/web/chunk-sa57mndb.js.gz +0 -0
  358. package/web/chunk-sc90h9bd.js +2 -0
  359. package/web/chunk-sc90h9bd.js.br +0 -0
  360. package/web/chunk-sc90h9bd.js.gz +0 -0
  361. package/web/chunk-t44qa4yt.js +200 -0
  362. package/web/chunk-t44qa4yt.js.br +0 -0
  363. package/web/chunk-t44qa4yt.js.gz +0 -0
  364. package/web/chunk-t8b8cdak.js +2 -0
  365. package/web/chunk-t8b8cdak.js.br +0 -0
  366. package/web/chunk-t8b8cdak.js.gz +0 -0
  367. package/web/chunk-t9cgbcf2.js +1 -0
  368. package/web/chunk-t9cgbcf2.js.br +0 -0
  369. package/web/chunk-t9cgbcf2.js.gz +0 -0
  370. package/web/chunk-tk8kf0bf.js +2 -0
  371. package/web/chunk-tk8kf0bf.js.br +0 -0
  372. package/web/chunk-tk8kf0bf.js.gz +0 -0
  373. package/web/chunk-tt3v857c.js +106 -0
  374. package/web/chunk-tt3v857c.js.br +0 -0
  375. package/web/chunk-tt3v857c.js.gz +0 -0
  376. package/web/chunk-vjnmqaam.js +2 -0
  377. package/web/chunk-vjnmqaam.js.br +0 -0
  378. package/web/chunk-vjnmqaam.js.gz +0 -0
  379. package/web/chunk-vp5qf59s.js +1 -0
  380. package/web/chunk-vp5qf59s.js.br +0 -0
  381. package/web/chunk-vp5qf59s.js.gz +0 -0
  382. package/web/chunk-wrax5wt5.js +292 -0
  383. package/web/chunk-wrax5wt5.js.br +0 -0
  384. package/web/chunk-wrax5wt5.js.gz +0 -0
  385. package/web/chunk-xk8637wb.js +1 -0
  386. package/web/chunk-xk8637wb.js.br +0 -0
  387. package/web/chunk-xk8637wb.js.gz +0 -0
  388. package/web/chunk-yarejzzs.js +142 -0
  389. package/web/chunk-yarejzzs.js.br +0 -0
  390. package/web/chunk-yarejzzs.js.gz +0 -0
  391. package/web/chunk-yg6ys554.js +1 -0
  392. package/web/chunk-yg6ys554.js.br +0 -0
  393. package/web/chunk-yg6ys554.js.gz +0 -0
  394. package/web/chunk-yq6xkb5w.js +370 -0
  395. package/web/chunk-yq6xkb5w.js.br +0 -0
  396. package/web/chunk-yq6xkb5w.js.gz +0 -0
  397. package/web/chunk-yw98mr7e.js +2 -0
  398. package/web/chunk-yw98mr7e.js.br +0 -0
  399. package/web/chunk-yw98mr7e.js.gz +0 -0
  400. package/web/chunk-z07kf12w.js +78 -0
  401. package/web/chunk-z07kf12w.js.br +0 -0
  402. package/web/chunk-z07kf12w.js.gz +0 -0
  403. package/web/chunk-z5sk390b.js +2 -0
  404. package/web/chunk-z5sk390b.js.br +0 -0
  405. package/web/chunk-z5sk390b.js.gz +0 -0
  406. package/web/chunk-zh2szkjy.js +140 -0
  407. package/web/chunk-zh2szkjy.js.br +0 -0
  408. package/web/chunk-zh2szkjy.js.gz +0 -0
  409. package/web/chunk-zrmm67mx.js +34 -0
  410. package/web/chunk-zrmm67mx.js.br +0 -0
  411. package/web/chunk-zrmm67mx.js.gz +0 -0
  412. package/web/chunk-zyfr25n1.js +98 -0
  413. package/web/chunk-zyfr25n1.js.br +0 -0
  414. package/web/chunk-zyfr25n1.js.gz +0 -0
  415. package/web/chunk-zykkmwba.js +2 -0
  416. package/web/chunk-zykkmwba.js.br +0 -0
  417. package/web/chunk-zykkmwba.js.gz +0 -0
  418. package/web/chunk-zzs4h31m.js +2 -0
  419. package/web/chunk-zzs4h31m.js.br +0 -0
  420. package/web/chunk-zzs4h31m.js.gz +0 -0
  421. package/web/index.html +1 -1
  422. package/web/index.html.br +0 -0
  423. package/web/index.html.gz +0 -0
  424. package/worker.js +1 -1
  425. package/chunk-00jhevnt.js +0 -3
  426. package/chunk-04tx0etc.js +0 -2
  427. package/chunk-0r86p29p.js +0 -7
  428. package/chunk-10x1zefx.js +0 -25
  429. package/chunk-1amcz1cz.js +0 -10
  430. package/chunk-1pfdps04.js +0 -2
  431. package/chunk-206g40v9.js +0 -59
  432. package/chunk-2364s958.js +0 -7
  433. package/chunk-3fv2qcpg.js +0 -12
  434. package/chunk-3zz4a5tn.js +0 -31
  435. package/chunk-45wfmdts.js +0 -44
  436. package/chunk-4hkwjw05.js +0 -2
  437. package/chunk-4pq7ycp2.js +0 -5
  438. package/chunk-5e0qfdgx.js +0 -5
  439. package/chunk-7hpf9qq2.js +0 -3
  440. package/chunk-82dkdvs9.js +0 -2
  441. package/chunk-8913dkey.js +0 -3
  442. package/chunk-8g1sbmwf.js +0 -3
  443. package/chunk-8hfch7d0.js +0 -2
  444. package/chunk-90arpvgz.js +0 -2
  445. package/chunk-912knnfg.js +0 -11
  446. package/chunk-97bazdk3.js +0 -20
  447. package/chunk-9akexjfn.js +0 -2
  448. package/chunk-9dgmbwcc.js +0 -2
  449. package/chunk-acd2cwza.js +0 -3
  450. package/chunk-ach16jbw.js +0 -2
  451. package/chunk-ax823t5v.js +0 -3
  452. package/chunk-b03hg30w.js +0 -2
  453. package/chunk-bh29df86.js +0 -5
  454. package/chunk-bhpg72c4.js +0 -2
  455. package/chunk-bwww6j2q.js +0 -2
  456. package/chunk-c126k8wc.js +0 -2
  457. package/chunk-cb3jgak9.js +0 -3
  458. package/chunk-cjeyy6da.js +0 -3
  459. package/chunk-cs4gb2hb.js +0 -2
  460. package/chunk-en5t6hwd.js +0 -3
  461. package/chunk-f4n1csz0.js +0 -3
  462. package/chunk-j16smb6d.js +0 -2
  463. package/chunk-j7eqp97m.js +0 -2
  464. package/chunk-jdrqn8m1.js +0 -2
  465. package/chunk-jp1gqkbp.js +0 -4
  466. package/chunk-jrcvxscb.js +0 -9
  467. package/chunk-jxcghx26.js +0 -50
  468. package/chunk-k8zq95wr.js +0 -2
  469. package/chunk-ken7ras9.js +0 -8
  470. package/chunk-kqgpjmcf.js +0 -2
  471. package/chunk-krbdx24j.js +0 -3
  472. package/chunk-ky2ym708.js +0 -8
  473. package/chunk-kzfy666j.js +0 -16
  474. package/chunk-n0stnnxv.js +0 -2
  475. package/chunk-n9m2pagh.js +0 -2
  476. package/chunk-nedvy6yk.js +0 -10
  477. package/chunk-ng5g0fy3.js +0 -3
  478. package/chunk-nqeqasyt.js +0 -7
  479. package/chunk-nt30x5a7.js +0 -3
  480. package/chunk-q1s5r204.js +0 -3
  481. package/chunk-qj0vfk01.js +0 -2
  482. package/chunk-qqfdg01g.js +0 -3
  483. package/chunk-rj6qknjx.js +0 -12
  484. package/chunk-rvrj0nrs.js +0 -3
  485. package/chunk-sbhj5h2q.js +0 -2
  486. package/chunk-t71zzafh.js +0 -3
  487. package/chunk-t7fwvzmh.js +0 -3
  488. package/chunk-tpv5hz99.js +0 -5
  489. package/chunk-tx2rrrtq.js +0 -2
  490. package/chunk-tyzzbhr5.js +0 -3
  491. package/chunk-tzbefwf0.js +0 -286
  492. package/chunk-v4p8807b.js +0 -18
  493. package/chunk-vnxjcym9.js +0 -17
  494. package/chunk-w35r8v6x.js +0 -39
  495. package/chunk-wbygknv2.js +0 -3
  496. package/chunk-wk63htqy.js +0 -2
  497. package/chunk-wwazj6mz.js +0 -3
  498. package/chunk-x3g1bzq6.js +0 -51
  499. package/chunk-xpc75mkw.js +0 -25
  500. package/chunk-ydhdewcv.js +0 -4014
  501. package/chunk-ypxn8bec.js +0 -3
  502. package/chunk-yztc2q9q.js +0 -490
  503. package/web/chunk-00a6amwf.js +0 -1
  504. package/web/chunk-00a6amwf.js.br +0 -0
  505. package/web/chunk-00a6amwf.js.gz +0 -0
  506. package/web/chunk-023b3kdx.js +0 -214
  507. package/web/chunk-023b3kdx.js.br +0 -0
  508. package/web/chunk-023b3kdx.js.gz +0 -0
  509. package/web/chunk-1bzdt1n8.js +0 -1
  510. package/web/chunk-1bzdt1n8.js.br +0 -2
  511. package/web/chunk-1bzdt1n8.js.gz +0 -0
  512. package/web/chunk-1fnxbfkf.js +0 -139
  513. package/web/chunk-1fnxbfkf.js.br +0 -0
  514. package/web/chunk-1fnxbfkf.js.gz +0 -0
  515. package/web/chunk-1qd75yjn.js +0 -2
  516. package/web/chunk-1qd75yjn.js.br +0 -0
  517. package/web/chunk-1qd75yjn.js.gz +0 -0
  518. package/web/chunk-20v068s6.js +0 -1
  519. package/web/chunk-20v068s6.js.br +0 -0
  520. package/web/chunk-20v068s6.js.gz +0 -0
  521. package/web/chunk-22jfhjk3.js +0 -2
  522. package/web/chunk-22jfhjk3.js.br +0 -0
  523. package/web/chunk-22jfhjk3.js.gz +0 -0
  524. package/web/chunk-37hn49td.js +0 -2
  525. package/web/chunk-37hn49td.js.br +0 -0
  526. package/web/chunk-37hn49td.js.gz +0 -0
  527. package/web/chunk-3crfxxst.js +0 -21
  528. package/web/chunk-3crfxxst.js.br +0 -0
  529. package/web/chunk-3crfxxst.js.gz +0 -0
  530. package/web/chunk-3hg9a6xa.js +0 -1
  531. package/web/chunk-3hg9a6xa.js.br +0 -0
  532. package/web/chunk-3hg9a6xa.js.gz +0 -0
  533. package/web/chunk-3m2nnnk5.js +0 -1
  534. package/web/chunk-3m2nnnk5.js.br +0 -0
  535. package/web/chunk-3m2nnnk5.js.gz +0 -0
  536. package/web/chunk-3ry5cjnp.js +0 -169
  537. package/web/chunk-3ry5cjnp.js.br +0 -0
  538. package/web/chunk-3ry5cjnp.js.gz +0 -0
  539. package/web/chunk-407zrkgx.js +0 -40
  540. package/web/chunk-407zrkgx.js.br +0 -0
  541. package/web/chunk-407zrkgx.js.gz +0 -0
  542. package/web/chunk-43e1ste5.js +0 -1
  543. package/web/chunk-43e1ste5.js.br +0 -0
  544. package/web/chunk-43e1ste5.js.gz +0 -0
  545. package/web/chunk-45ex0e3e.js +0 -2
  546. package/web/chunk-45ex0e3e.js.br +0 -0
  547. package/web/chunk-45ex0e3e.js.gz +0 -0
  548. package/web/chunk-508cpafz.js +0 -142
  549. package/web/chunk-508cpafz.js.br +0 -0
  550. package/web/chunk-508cpafz.js.gz +0 -0
  551. package/web/chunk-538r4sey.js +0 -1
  552. package/web/chunk-538r4sey.js.br +0 -0
  553. package/web/chunk-538r4sey.js.gz +0 -0
  554. package/web/chunk-55zs0yq1.js +0 -1
  555. package/web/chunk-55zs0yq1.js.br +0 -0
  556. package/web/chunk-55zs0yq1.js.gz +0 -0
  557. package/web/chunk-58gh3tbh.js +0 -34
  558. package/web/chunk-58gh3tbh.js.br +0 -0
  559. package/web/chunk-58gh3tbh.js.gz +0 -0
  560. package/web/chunk-5h3r1hpg.js +0 -89
  561. package/web/chunk-5h3r1hpg.js.br +0 -0
  562. package/web/chunk-5h3r1hpg.js.gz +0 -0
  563. package/web/chunk-68q4nnmc.js +0 -2
  564. package/web/chunk-68q4nnmc.js.br +0 -3
  565. package/web/chunk-68q4nnmc.js.gz +0 -0
  566. package/web/chunk-6ktmzq32.js +0 -16
  567. package/web/chunk-6ktmzq32.js.br +0 -0
  568. package/web/chunk-6ktmzq32.js.gz +0 -0
  569. package/web/chunk-6ry6x1ez.js +0 -1
  570. package/web/chunk-6ry6x1ez.js.br +0 -0
  571. package/web/chunk-6ry6x1ez.js.gz +0 -0
  572. package/web/chunk-6wxxypbv.js +0 -7
  573. package/web/chunk-6wxxypbv.js.br +0 -0
  574. package/web/chunk-6wxxypbv.js.gz +0 -0
  575. package/web/chunk-6x9r1z9z.js +0 -291
  576. package/web/chunk-6x9r1z9z.js.br +0 -0
  577. package/web/chunk-6x9r1z9z.js.gz +0 -0
  578. package/web/chunk-719tz8xw.js +0 -1
  579. package/web/chunk-719tz8xw.js.br +0 -0
  580. package/web/chunk-719tz8xw.js.gz +0 -0
  581. package/web/chunk-7devrtv4.js +0 -2
  582. package/web/chunk-7devrtv4.js.br +0 -3
  583. package/web/chunk-7devrtv4.js.gz +0 -0
  584. package/web/chunk-7rs26q98.js +0 -2
  585. package/web/chunk-7rs26q98.js.br +0 -0
  586. package/web/chunk-7rs26q98.js.gz +0 -0
  587. package/web/chunk-82aqq58f.js +0 -24
  588. package/web/chunk-82aqq58f.js.br +0 -0
  589. package/web/chunk-82aqq58f.js.gz +0 -0
  590. package/web/chunk-96n00vam.js +0 -1
  591. package/web/chunk-96n00vam.js.br +0 -0
  592. package/web/chunk-96n00vam.js.gz +0 -0
  593. package/web/chunk-a11ev6ff.js +0 -1
  594. package/web/chunk-a11ev6ff.js.br +0 -0
  595. package/web/chunk-a11ev6ff.js.gz +0 -0
  596. package/web/chunk-a1cpkzwh.js +0 -2
  597. package/web/chunk-a1cpkzwh.js.br +0 -0
  598. package/web/chunk-a1cpkzwh.js.gz +0 -0
  599. package/web/chunk-a31z4c14.js +0 -4
  600. package/web/chunk-a31z4c14.js.br +0 -0
  601. package/web/chunk-a31z4c14.js.gz +0 -0
  602. package/web/chunk-b07y0tzq.js +0 -1
  603. package/web/chunk-b07y0tzq.js.br +0 -0
  604. package/web/chunk-b07y0tzq.js.gz +0 -0
  605. package/web/chunk-b4d1948q.js +0 -62
  606. package/web/chunk-b4d1948q.js.br +0 -0
  607. package/web/chunk-b4d1948q.js.gz +0 -0
  608. package/web/chunk-btk2h3vh.js +0 -36
  609. package/web/chunk-btk2h3vh.js.br +0 -0
  610. package/web/chunk-btk2h3vh.js.gz +0 -0
  611. package/web/chunk-bw9crrb4.js +0 -1
  612. package/web/chunk-bw9crrb4.js.br +0 -0
  613. package/web/chunk-bw9crrb4.js.gz +0 -0
  614. package/web/chunk-c1s7faqj.js +0 -2
  615. package/web/chunk-c1s7faqj.js.br +0 -0
  616. package/web/chunk-c1s7faqj.js.gz +0 -0
  617. package/web/chunk-c3d08dw1.js +0 -1
  618. package/web/chunk-c3d08dw1.js.br +0 -0
  619. package/web/chunk-c3d08dw1.js.gz +0 -0
  620. package/web/chunk-cgt871p9.js +0 -1
  621. package/web/chunk-cgt871p9.js.br +0 -0
  622. package/web/chunk-cgt871p9.js.gz +0 -0
  623. package/web/chunk-crfbqd4d.js +0 -2
  624. package/web/chunk-crfbqd4d.js.br +0 -0
  625. package/web/chunk-crfbqd4d.js.gz +0 -0
  626. package/web/chunk-ctr4kt7p.js +0 -332
  627. package/web/chunk-ctr4kt7p.js.br +0 -0
  628. package/web/chunk-ctr4kt7p.js.gz +0 -0
  629. package/web/chunk-cys4n4sv.js +0 -1
  630. package/web/chunk-cys4n4sv.js.br +0 -0
  631. package/web/chunk-cys4n4sv.js.gz +0 -0
  632. package/web/chunk-d6wcabaa.css +0 -1
  633. package/web/chunk-d6wcabaa.css.br +0 -0
  634. package/web/chunk-d6wcabaa.css.gz +0 -0
  635. package/web/chunk-d7nrrcwp.js +0 -38
  636. package/web/chunk-d7nrrcwp.js.br +0 -0
  637. package/web/chunk-d7nrrcwp.js.gz +0 -0
  638. package/web/chunk-df9ja645.js +0 -1
  639. package/web/chunk-df9ja645.js.br +0 -0
  640. package/web/chunk-df9ja645.js.gz +0 -0
  641. package/web/chunk-dhxc6xe9.js +0 -1
  642. package/web/chunk-dhxc6xe9.js.br +0 -2
  643. package/web/chunk-dhxc6xe9.js.gz +0 -0
  644. package/web/chunk-dy2egpw5.js +0 -12
  645. package/web/chunk-dy2egpw5.js.br +0 -0
  646. package/web/chunk-dy2egpw5.js.gz +0 -0
  647. package/web/chunk-eq59kad4.js +0 -303
  648. package/web/chunk-eq59kad4.js.br +0 -0
  649. package/web/chunk-eq59kad4.js.gz +0 -0
  650. package/web/chunk-f05s9gsw.js +0 -7
  651. package/web/chunk-f05s9gsw.js.br +0 -0
  652. package/web/chunk-f05s9gsw.js.gz +0 -0
  653. package/web/chunk-f2bb976c.js +0 -1
  654. package/web/chunk-f2bb976c.js.br +0 -0
  655. package/web/chunk-f2bb976c.js.gz +0 -0
  656. package/web/chunk-f4aabnnv.js +0 -1
  657. package/web/chunk-f4aabnnv.js.br +0 -0
  658. package/web/chunk-f4aabnnv.js.gz +0 -0
  659. package/web/chunk-fmbc7t17.js +0 -7
  660. package/web/chunk-fmbc7t17.js.br +0 -0
  661. package/web/chunk-fmbc7t17.js.gz +0 -0
  662. package/web/chunk-g0s2xxfd.js +0 -324
  663. package/web/chunk-g0s2xxfd.js.br +0 -0
  664. package/web/chunk-g0s2xxfd.js.gz +0 -0
  665. package/web/chunk-g1k9nggh.js +0 -39
  666. package/web/chunk-g1k9nggh.js.br +0 -0
  667. package/web/chunk-g1k9nggh.js.gz +0 -0
  668. package/web/chunk-g26mzwzc.js +0 -1
  669. package/web/chunk-g26mzwzc.js.br +0 -0
  670. package/web/chunk-g26mzwzc.js.gz +0 -0
  671. package/web/chunk-g7b4p9k9.js +0 -1
  672. package/web/chunk-g7b4p9k9.js.br +0 -0
  673. package/web/chunk-g7b4p9k9.js.gz +0 -0
  674. package/web/chunk-ghr3jf15.js +0 -140
  675. package/web/chunk-ghr3jf15.js.br +0 -0
  676. package/web/chunk-ghr3jf15.js.gz +0 -0
  677. package/web/chunk-gv4zh4er.js +0 -1
  678. package/web/chunk-gv4zh4er.js.br +0 -0
  679. package/web/chunk-gv4zh4er.js.gz +0 -0
  680. package/web/chunk-gw0e69yj.js +0 -1
  681. package/web/chunk-gw0e69yj.js.br +0 -0
  682. package/web/chunk-gw0e69yj.js.gz +0 -0
  683. package/web/chunk-gxwsf4t1.js +0 -2
  684. package/web/chunk-gxwsf4t1.js.br +0 -0
  685. package/web/chunk-gxwsf4t1.js.gz +0 -0
  686. package/web/chunk-hh6vpvar.js +0 -84
  687. package/web/chunk-hh6vpvar.js.br +0 -0
  688. package/web/chunk-hh6vpvar.js.gz +0 -0
  689. package/web/chunk-hxqqy585.js +0 -1
  690. package/web/chunk-hxqqy585.js.br +0 -0
  691. package/web/chunk-hxqqy585.js.gz +0 -0
  692. package/web/chunk-hxsrph02.js +0 -1139
  693. package/web/chunk-hxsrph02.js.br +0 -0
  694. package/web/chunk-hxsrph02.js.gz +0 -0
  695. package/web/chunk-hxx6ad4x.js +0 -1
  696. package/web/chunk-hxx6ad4x.js.br +0 -0
  697. package/web/chunk-hxx6ad4x.js.gz +0 -0
  698. package/web/chunk-j2gkg76r.js +0 -2
  699. package/web/chunk-j2gkg76r.js.br +0 -0
  700. package/web/chunk-j2gkg76r.js.gz +0 -0
  701. package/web/chunk-jcbheqv1.js +0 -1
  702. package/web/chunk-jcbheqv1.js.br +0 -0
  703. package/web/chunk-jcbheqv1.js.gz +0 -0
  704. package/web/chunk-jhx6v9es.js +0 -1
  705. package/web/chunk-jhx6v9es.js.br +0 -0
  706. package/web/chunk-jhx6v9es.js.gz +0 -0
  707. package/web/chunk-jnhem746.js +0 -292
  708. package/web/chunk-jnhem746.js.br +0 -0
  709. package/web/chunk-jnhem746.js.gz +0 -0
  710. package/web/chunk-jr796qsk.js +0 -1
  711. package/web/chunk-jr796qsk.js.br +0 -0
  712. package/web/chunk-jr796qsk.js.gz +0 -0
  713. package/web/chunk-jw92texh.js +0 -1
  714. package/web/chunk-jw92texh.js.br +0 -0
  715. package/web/chunk-jw92texh.js.gz +0 -0
  716. package/web/chunk-k89686qj.js +0 -2
  717. package/web/chunk-k89686qj.js.br +0 -0
  718. package/web/chunk-k89686qj.js.gz +0 -0
  719. package/web/chunk-mvm0gvwj.js +0 -24
  720. package/web/chunk-mvm0gvwj.js.br +0 -0
  721. package/web/chunk-mvm0gvwj.js.gz +0 -0
  722. package/web/chunk-n033azqs.js +0 -30
  723. package/web/chunk-n033azqs.js.br +0 -0
  724. package/web/chunk-n033azqs.js.gz +0 -0
  725. package/web/chunk-n0fqhrqv.js +0 -89
  726. package/web/chunk-n0fqhrqv.js.br +0 -0
  727. package/web/chunk-n0fqhrqv.js.gz +0 -0
  728. package/web/chunk-n1p03ng0.js +0 -1
  729. package/web/chunk-n1p03ng0.js.br +0 -0
  730. package/web/chunk-n1p03ng0.js.gz +0 -0
  731. package/web/chunk-nb73fq72.js +0 -1
  732. package/web/chunk-nb73fq72.js.br +0 -0
  733. package/web/chunk-nb73fq72.js.gz +0 -0
  734. package/web/chunk-nxnkb0w4.js +0 -55
  735. package/web/chunk-nxnkb0w4.js.br +0 -0
  736. package/web/chunk-nxnkb0w4.js.gz +0 -0
  737. package/web/chunk-nymsmy8d.js +0 -78
  738. package/web/chunk-nymsmy8d.js.br +0 -0
  739. package/web/chunk-nymsmy8d.js.gz +0 -0
  740. package/web/chunk-nzqxb0ea.js +0 -1
  741. package/web/chunk-nzqxb0ea.js.br +0 -0
  742. package/web/chunk-nzqxb0ea.js.gz +0 -0
  743. package/web/chunk-p26b4zdm.js +0 -1
  744. package/web/chunk-p26b4zdm.js.br +0 -0
  745. package/web/chunk-p26b4zdm.js.gz +0 -0
  746. package/web/chunk-qa0wwff0.js +0 -1
  747. package/web/chunk-qa0wwff0.js.br +0 -0
  748. package/web/chunk-qa0wwff0.js.gz +0 -0
  749. package/web/chunk-qgv81n98.js +0 -1
  750. package/web/chunk-qgv81n98.js.br +0 -0
  751. package/web/chunk-qgv81n98.js.gz +0 -0
  752. package/web/chunk-qtwjt5mm.js +0 -3
  753. package/web/chunk-qtwjt5mm.js.br +0 -0
  754. package/web/chunk-qtwjt5mm.js.gz +0 -0
  755. package/web/chunk-r49dy5vx.js +0 -1
  756. package/web/chunk-r49dy5vx.js.br +0 -0
  757. package/web/chunk-r49dy5vx.js.gz +0 -0
  758. package/web/chunk-r97hd8wk.js +0 -98
  759. package/web/chunk-r97hd8wk.js.br +0 -0
  760. package/web/chunk-r97hd8wk.js.gz +0 -0
  761. package/web/chunk-s6a13wxe.js +0 -2
  762. package/web/chunk-s6a13wxe.js.br +0 -0
  763. package/web/chunk-s6a13wxe.js.gz +0 -0
  764. package/web/chunk-sb61aqg8.js +0 -4
  765. package/web/chunk-sb61aqg8.js.br +0 -0
  766. package/web/chunk-sb61aqg8.js.gz +0 -0
  767. package/web/chunk-scwrkcdw.js +0 -1
  768. package/web/chunk-scwrkcdw.js.br +0 -0
  769. package/web/chunk-scwrkcdw.js.gz +0 -0
  770. package/web/chunk-shtvhd61.js +0 -200
  771. package/web/chunk-shtvhd61.js.br +0 -0
  772. package/web/chunk-shtvhd61.js.gz +0 -0
  773. package/web/chunk-t5e9vh89.js +0 -1
  774. package/web/chunk-t5e9vh89.js.br +0 -0
  775. package/web/chunk-t5e9vh89.js.gz +0 -0
  776. package/web/chunk-tbgavq0t.js +0 -2
  777. package/web/chunk-tbgavq0t.js.br +0 -0
  778. package/web/chunk-tbgavq0t.js.gz +0 -0
  779. package/web/chunk-tefm9md2.js +0 -2
  780. package/web/chunk-tefm9md2.js.br +0 -0
  781. package/web/chunk-tefm9md2.js.gz +0 -0
  782. package/web/chunk-tp3fpa0t.js +0 -1
  783. package/web/chunk-tp3fpa0t.js.br +0 -0
  784. package/web/chunk-tp3fpa0t.js.gz +0 -0
  785. package/web/chunk-tr7fg3tv.js +0 -8
  786. package/web/chunk-tr7fg3tv.js.br +0 -0
  787. package/web/chunk-tr7fg3tv.js.gz +0 -0
  788. package/web/chunk-v5xf47q0.js +0 -1
  789. package/web/chunk-v5xf47q0.js.br +0 -0
  790. package/web/chunk-v5xf47q0.js.gz +0 -0
  791. package/web/chunk-vwms8c7b.js +0 -1
  792. package/web/chunk-vwms8c7b.js.br +0 -0
  793. package/web/chunk-vwms8c7b.js.gz +0 -0
  794. package/web/chunk-w2gy2tmp.js +0 -99
  795. package/web/chunk-w2gy2tmp.js.br +0 -0
  796. package/web/chunk-w2gy2tmp.js.gz +0 -0
  797. package/web/chunk-whfh2wev.js +0 -41
  798. package/web/chunk-whfh2wev.js.br +0 -0
  799. package/web/chunk-whfh2wev.js.gz +0 -0
  800. package/web/chunk-wjecy48x.js +0 -1
  801. package/web/chunk-wjecy48x.js.br +0 -0
  802. package/web/chunk-wjecy48x.js.gz +0 -0
  803. package/web/chunk-wqmyjj6w.js +0 -370
  804. package/web/chunk-wqmyjj6w.js.br +0 -0
  805. package/web/chunk-wqmyjj6w.js.gz +0 -0
  806. package/web/chunk-wv83gygp.js +0 -1
  807. package/web/chunk-wv83gygp.js.br +0 -0
  808. package/web/chunk-wv83gygp.js.gz +0 -0
  809. package/web/chunk-x1gr0017.js +0 -70
  810. package/web/chunk-x1gr0017.js.br +0 -0
  811. package/web/chunk-x1gr0017.js.gz +0 -0
  812. package/web/chunk-xa9m0mh2.js +0 -106
  813. package/web/chunk-xa9m0mh2.js.br +0 -0
  814. package/web/chunk-xa9m0mh2.js.gz +0 -0
  815. package/web/chunk-xjbxndxz.js +0 -2
  816. package/web/chunk-xjbxndxz.js.br +0 -0
  817. package/web/chunk-xjbxndxz.js.gz +0 -0
  818. package/web/chunk-xsfmh8rr.js +0 -217
  819. package/web/chunk-xsfmh8rr.js.br +0 -0
  820. package/web/chunk-xsfmh8rr.js.gz +0 -0
  821. package/web/chunk-xvsb3w1f.js +0 -1
  822. package/web/chunk-xvsb3w1f.js.br +0 -0
  823. package/web/chunk-xvsb3w1f.js.gz +0 -0
  824. package/web/chunk-y2jkaf1e.js +0 -2
  825. package/web/chunk-y2jkaf1e.js.br +0 -0
  826. package/web/chunk-y2jkaf1e.js.gz +0 -0
  827. package/web/chunk-ynpx7j96.js +0 -1
  828. package/web/chunk-ynpx7j96.js.br +0 -0
  829. package/web/chunk-ynpx7j96.js.gz +0 -0
  830. package/web/chunk-z04ncfs3.js +0 -2
  831. package/web/chunk-z04ncfs3.js.br +0 -0
  832. package/web/chunk-z04ncfs3.js.gz +0 -0
  833. package/web/chunk-zapwrc5k.js +0 -2
  834. package/web/chunk-zapwrc5k.js.br +0 -0
  835. package/web/chunk-zapwrc5k.js.gz +0 -0
  836. package/web/chunk-zq1qbaxb.js +0 -2
  837. package/web/chunk-zq1qbaxb.js.br +0 -0
  838. package/web/chunk-zq1qbaxb.js.gz +0 -0
  839. package/web/chunk-zs7physk.js +0 -120
  840. package/web/chunk-zs7physk.js.br +0 -0
  841. package/web/chunk-zs7physk.js.gz +0 -0
  842. /package/{chunk-h4bvkm6p.js → chunk-2h2mvrw2.js} +0 -0
  843. /package/{chunk-51f8zbj5.js → chunk-54zpktrq.js} +0 -0
  844. /package/{chunk-fqfjjhkj.js → chunk-aq6xkc1w.js} +0 -0
  845. /package/{chunk-chfzk1fx.js → chunk-et2s8y6a.js} +0 -0
  846. /package/{chunk-pa7yh2q3.js → chunk-fgpzy3fe.js} +0 -0
Binary file
Binary file
@@ -1,39 +0,0 @@
1
- import{ie}from"./chunk-j2gkg76r.js";import{t,i,F,Y,L,M,R,P,I,O,D,d,we,ca,Oi,J,Pt,Q}from"./chunk-eq59kad4.js";import{ge}from"./chunk-508cpafz.js";import{Ut}from"./chunk-k89686qj.js";import{yn}from"./chunk-7rs26q98.js";function tt(e,o){return o<e?-1:o>e?1:o>=e?0:NaN}function et(e){return e}function rt(){var e=et,o=tt,A=null,E=we(0),u=we(ca),h=we(0);function l(r){var n,c=(r=Oi(r)).length,m,C,k=0,v=Array(c),s=Array(c),z=+E.apply(this,arguments),N=Math.min(ca,Math.max(-ca,u.apply(this,arguments)-z)),W,B=Math.min(Math.abs(N)/c,h.apply(this,arguments)),p=B*(N<0?-1:1),T;for(n=0;n<c;++n)if((T=s[v[n]=n]=+e(r[n],n,r))>0)k+=T;if(o!=null)v.sort(function(_,x){return o(s[_],s[x])});else if(A!=null)v.sort(function(_,x){return A(r[_],r[x])});for(n=0,C=k?(N-c*p)/k:0;n<c;++n,z=W)m=v[n],T=s[m],W=z+(T>0?T*C:0)+p,s[m]={data:r[m],index:n,value:T,startAngle:z,endAngle:W,padAngle:B};return s}return l.value=function(r){return arguments.length?(e=typeof r==="function"?r:we(+r),l):e},l.sortValues=function(r){return arguments.length?(o=r,A=null,l):o},l.sort=function(r){return arguments.length?(A=r,o=null,l):A},l.startAngle=function(r){return arguments.length?(E=typeof r==="function"?r:we(+r),l):E},l.endAngle=function(r){return arguments.length?(u=typeof r==="function"?r:we(+r),l):u},l.padAngle=function(r){return arguments.length?(h=typeof r==="function"?r:we(+r),l):h},l}var ct=F.pie,at={sections:new Map,showData:!1,config:ct},{sections:j,showData:nt}=at,mt=structuredClone(ct),vt=t(()=>structuredClone(mt),"getConfig"),xt=t(()=>{j=new Map,nt=at.showData,L()},"clear"),St=t(({label:e,value:o})=>{if(o<0)throw Error(`"${e}" has invalid value: ${o}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);if(!j.has(e))j.set(e,o),i.debug(`added new section: ${e}, with value: ${o}`)},"addSection"),yt=t(()=>j,"getSections"),wt=t((e)=>{nt=e},"setShowData"),At=t(()=>nt,"getShowData"),ut={getConfig:vt,clear:xt,setDiagramTitle:O,getDiagramTitle:D,setAccTitle:M,getAccTitle:R,setAccDescription:P,getAccDescription:I,addSection:St,getSections:yt,setShowData:wt,getShowData:At},Ct=t((e,o)=>{ie(e,o),o.setShowData(e.showData),e.sections.map(o.addSection)},"populateDb"),$t={parse:t(async(e)=>{let o=await ge("pie",e);i.debug(o),Ct(o,ut)},"parse")},Dt=t((e)=>`
2
- .pieCircle{
3
- stroke: ${e.pieStrokeColor};
4
- stroke-width : ${e.pieStrokeWidth};
5
- opacity : ${e.pieOpacity};
6
- }
7
- .pieCircle.highlighted{
8
- scale: 1.05;
9
- opacity: 1;
10
- }
11
- .pieCircle.highlightedOnHover:hover{
12
- transition-duration: 250ms;
13
- scale: 1.05;
14
- opacity: 1;
15
- }
16
- .pieOuterCircle{
17
- stroke: ${e.pieOuterStrokeColor};
18
- stroke-width: ${e.pieOuterStrokeWidth};
19
- fill: none;
20
- }
21
- .pieTitleText {
22
- text-anchor: middle;
23
- font-size: ${e.pieTitleTextSize};
24
- fill: ${e.pieTitleTextColor};
25
- font-family: ${e.fontFamily};
26
- }
27
- .slice {
28
- font-family: ${e.fontFamily};
29
- fill: ${e.pieSectionTextColor};
30
- font-size:${e.pieSectionTextSize};
31
- // fill: white;
32
- }
33
- .legend text {
34
- fill: ${e.pieLegendTextColor};
35
- font-family: ${e.fontFamily};
36
- font-size: ${e.pieLegendTextSize};
37
- }
38
- `,"getStyles"),Tt=Dt,bt=t((e)=>{let o=[...e.values()].reduce((u,h)=>u+h,0),A=[...e.entries()].map(([u,h])=>({label:u,value:h})).filter((u)=>u.value/o*100>=1);return rt().value((u)=>u.value).sort(null)(A)},"createPieArcs"),kt=t((e,o,A,E)=>{i.debug(`rendering pie chart
39
- `+e);let u=E.db,h=d(),l=Q(u.getConfig(),h.pie),r=40,n=18,c=4,m=450,C=m,k=J(o),v=k.append("g");v.attr("transform","translate("+C/2+","+m/2+")");let{themeVariables:s}=h,[z]=Pt(s.pieOuterStrokeWidth);z??=2;let{legendPosition:N,textPosition:W}=l,B=l.donutHole>0&&l.donutHole<=0.9?l.donutHole:0,p=Math.min(C,m)/2-r,T=yn().innerRadius(B*p).outerRadius(p),_=yn().innerRadius(p*W).outerRadius(p*W),x=v.append("g");x.append("circle").attr("cx",0).attr("cy",0).attr("r",p+z/2).attr("class","pieOuterCircle");let V=u.getSections(),gt=bt(V),dt=[s.pie1,s.pie2,s.pie3,s.pie4,s.pie5,s.pie6,s.pie7,s.pie8,s.pie9,s.pie10,s.pie11,s.pie12],X=0;V.forEach((a)=>{X+=a});let it=gt.filter((a)=>(a.data.value/X*100).toFixed(0)!=="0"),Z=Ut(dt).domain([...V.keys()]);x.selectAll("mySlices").data(it).enter().append("path").attr("d",T).attr("fill",(a)=>Z(a.data.label)).attr("class",(a)=>{let g="pieCircle";if(l.highlightSlice==="hover")g+=" highlightedOnHover";else if(l.highlightSlice===a.data.label)g+=" highlighted";return g}),x.selectAll("mySlices").data(it).enter().append("text").text((a)=>(a.data.value/X*100).toFixed(0)+"%").attr("transform",(a)=>"translate("+_.centroid(a)+")").style("text-anchor","middle").attr("class","slice");let pt=v.append("text").text(u.getDiagramTitle()).attr("x",0).attr("y",-(m-50)/2).attr("class","pieTitleText"),G=[...V.entries()].map(([a,g])=>({label:a,value:g})),b=v.selectAll(".legend").data(G).enter().append("g").attr("class","legend");b.append("rect").attr("width",n).attr("height",n).style("fill",(a)=>Z(a.label)).style("stroke",(a)=>Z(a.label)),b.append("text").attr("x",n+c).attr("y",n-c).text((a)=>{if(u.getShowData())return`${a.label} [${a.value}]`;return a.label});let H=Math.max(...b.selectAll("text").nodes().map((a)=>a?.getBoundingClientRect().width??0)),U=m,q=C+r,f=n+c,K=G.length*f;switch(N){case"center":b.attr("transform",(a,g)=>{let S=f*G.length/2,y=-H/2-(n+c),w=g*f-S;return"translate("+y+","+w+")"});break;case"top":U+=K,b.attr("transform",(a,g)=>{let S=p,y=-H/2-(n+c),w=g*f-S;return`translate(${y}, ${w})`}),x.attr("transform",()=>`translate(0, ${K+f})`);break;case"bottom":U+=K,b.attr("transform",(a,g)=>{let S=-p-f,y=-H/2-(n+c),w=g*f-S;return"translate("+y+","+w+")"});break;case"left":q+=n+c+H,b.attr("transform",(a,g)=>{let S=f*G.length/2,y=-p-(n+c),w=g*f-S;return"translate("+y+","+w+")"}),x.attr("transform",()=>`translate(${H+n+c}, 0)`);break;case"right":default:q+=n+c+H,b.attr("transform",(a,g)=>{let S=f*G.length/2,y=12*n,w=g*f-S;return"translate("+y+","+w+")"});break}let ot=pt.node()?.getBoundingClientRect().width??0,ft=C/2-ot/2,ht=C/2+ot/2,lt=Math.min(0,ft),st=Math.max(q,ht)-lt;k.attr("viewBox",`${lt} 0 ${st} ${U}`),Y(k,U,st,l.useMaxWidth)},"draw"),zt={draw:kt},qt={parser:$t,db:ut,renderer:zt,styles:Tt};export{qt as diagram};
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{t,i}from"./chunk-eq59kad4.js";import{ve,Mn,Pn}from"./chunk-5h3r1hpg.js";import{ie}from"./chunk-j2gkg76r.js";import{Da,bn}from"./chunk-508cpafz.js";var s=Da().RailroadPeg.parser.LangiumParser,o=t((e)=>{let r=e.alternatives.map(l);if(r.length===1)return r[0];return{type:"choice",alternatives:r}},"transformOrderedChoice"),l=t((e)=>{let r=e.elements.map(m);if(r.length===1)return r[0];return{type:"sequence",elements:r}},"transformSequence"),m=t((e)=>{let r=p(e.suffix);if(!e.operator)return r;return{type:"special",text:e.operator==="&"?`&${n(r)}`:`!${n(r)}`}},"transformPrefix"),n=t((e)=>{switch(e.type){case"terminal":return`"${e.value}"`;case"nonterminal":return e.name;case"special":return e.text;default:return"(...)"}},"nodeToLabel"),p=t((e)=>{let r=u(e.primary);if(!e.operator)return r;switch(e.operator){case"?":return{type:"optional",element:r};case"*":return{type:"repetition",element:r,min:0,max:1/0};case"+":return{type:"repetition",element:r,min:1,max:1/0};default:throw Error(`Unsupported PEG suffix operator: ${e.operator}`)}},"transformSuffix"),u=t((e)=>{switch(e.$type){case"PegLiteral":return{type:"terminal",value:e.value};case"PegIdentifier":return{type:"nonterminal",name:e.name};case"PegGroup":return o(e.element);case"PegAny":return{type:"special",text:e.dot};default:throw Error(`Unsupported PEG primary node: ${e.$type}`)}},"transformPrimary"),c=t((e)=>({name:e.name,definition:o(e.definition)}),"transformRule"),f=t((e)=>{if(ie(e,ve),e.title)ve.setTitle(e.title);e.rules.map((r)=>ve.addRule(c(r)))},"populateDb"),d={parse:t((e)=>{ve.clear(),i.debug("[PEG Parser] Starting Langium parse");let r=s.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new bn(r);let a=r.value;i.debug("[PEG Parser] Parsed rules:",a.rules.length),f(a),i.debug("[PEG Parser] Parse complete")},"parse"),parser:{yy:ve}},w={parser:d,db:ve,renderer:Pn,styles:Mn};export{w as diagram};
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{s,o,a,le,m,e,n,u,Bt,Z,k,p,x,ae,oe,fe,Xi,ot,xs}from"./chunk-hxsrph02.js";var P=30;function W(t){let l=new Date(t),b=new Date,c=new Date(l.getFullYear(),l.getMonth(),l.getDate()).getTime(),v=new Date(b.getFullYear(),b.getMonth(),b.getDate()).getTime(),d=86400000,h=Math.round((v-c)/86400000),g=`${l.getMonth()+1}月${l.getDate()}日`;if(h===0)return`今天 · ${g}`;if(h===1)return`昨天 · ${g}`;if(h>1&&h<7)return`${h} 天前 · ${g}`;if(l.getFullYear()===b.getFullYear())return g;return`${l.getFullYear()}年${g}`}function q(t){if(!t)return"";let l=new Date(t),b=(d)=>String(d).padStart(2,"0"),c=b(l.getHours()),v=b(l.getMinutes());return`${c}:${v}`}function Q(t){if(!t)return"";return new Date(t).toLocaleString()}function V(t,l=t.length){let b=[],c=new Map;for(let v=0;v<t.length;v++){let d=t[v];if(!d)continue;let h=d.archivedAt??0,g=new Date(h),w=`${g.getFullYear()}-${g.getMonth()+1}-${g.getDate()}`,N=c.get(w);if(!N){if(v>=l)continue;N={key:w,title:W(h),total:0,sessions:[]},c.set(w,N),b.push(N)}if(N.total+=1,v<l)N.sessions.push(d)}return b}function de(t){k();let[l,b]=a(""),[c,v]=a(!1),[d,h]=a(new Set),[g,w]=a(!1),N=o(null),S=le(t.conn.state),A=t.projectID??"chat",T=t.projectID?t.projects.find((i)=>i.id===t.projectID)?.name??"项目":"聊天",I=Xi(t.sessions,A),f=Xi(I,A,l),z=`${A}\x00${l.trim().toLocaleLowerCase()}`,[F,R]=a({key:z,count:P}),O=F.key===z?F.count:P,B=Math.min(O,f.length),L=B<f.length;s(()=>{let i=N.current;if(!i||!L||typeof IntersectionObserver>"u")return;let y=i.closest(".minimal-scroll-area"),r=new IntersectionObserver((j)=>{if(j.some((M)=>M.isIntersecting))R({key:z,count:Math.min(f.length,B+P)})},{root:y,rootMargin:"320px 0px"});return r.observe(i),()=>r.disconnect()},[z,L,B,f.length]);let E=f.filter((i)=>d.has(i.id)),C=f.length>0&&d.size===f.length;function H(){if(C)h(new Set);else h(new Set(f.map((i)=>i.id)))}function Y(i){h((y)=>{let r=new Set(y);if(r.has(i))r.delete(i);else r.add(i);return r})}async function G(i){if(i.length===0||g)return;w(!0);try{if(t.onBatchDelete)await t.onBatchDelete(i);else for(let y of i)t.onDelete(y);if(h(new Set),c&&i.length===f.length)v(!1)}finally{w(!1)}}async function _(i){if(i.length===0||g)return;w(!0);try{if(t.onBatchRestore)await t.onBatchRestore(i);else for(let y of i)t.onRestore(y);if(h(new Set),c&&i.length===f.length)v(!1)}finally{w(!1)}}function K(){if(S.indexError)return n("div",{role:"alert",className:"animate-fade space-y-2 rounded-2xl border border-danger/20 bg-danger/5 p-6 text-sm text-danger",children:[n("p",{children:["加载失败:",S.indexError]}),e(x,{loading:S.indexLoading,disabled:S.indexLoading,onClick:()=>{if(!t.conn.state.get().indexLoading)t.conn.refreshIndex()},children:"重试"})]});if(S.status!=="open"||S.indexLoading)return e("div",{className:"flex justify-center py-12 text-xs text-faint",children:"正在连接…"});if(f.length===0)return n("div",{className:p("surface.emptyDashed","animate-fade"),children:[e("div",{className:"grid size-11 place-items-center rounded-xl bg-raised text-dim",children:e(Bt,{className:"size-5"})}),n("div",{children:[e("p",{className:"text-md font-medium",children:I.length===0?`${T}里暂无归档会话`:"没有匹配结果"}),e("p",{className:"mt-1 text-sm text-dim",children:I.length===0?"归档的会话会安全存放在这里,不干扰日常列表。":"尝试更换关键词重新搜索。"})]})]});let i=V(f,B);return n("div",{className:"space-y-6 animate-fade",children:[i.map((y)=>n("section",{className:"space-y-2",children:[n("div",{className:"flex items-center justify-between px-1 text-xs text-dim",children:[e("h2",{className:"font-medium text-ink",children:y.title}),n("span",{className:"tabular-nums text-faint",children:[y.total," 个会话"]})]}),e("div",{className:p("settings.groupBox"),children:e("ul",{className:"divide-y divide-line/60",children:y.sessions.map((r)=>{let j=d.has(r.id),M=t.projects.find((D)=>D.id===r.projectID)?.name;return n("li",{tabIndex:c?0:void 0,className:u("group flex flex-wrap items-center justify-between gap-x-3 gap-y-1 px-4 py-2.5 transition-colors sm:flex-nowrap",c?"cursor-pointer hover:bg-raised/70 focus:outline-hidden focus:bg-raised/70":"hover:bg-raised/50",c&&j&&"bg-accent/5"),onClick:c?()=>Y(r.id):void 0,onKeyDown:c?(D)=>{if(D.key==="Enter"||D.key===" ")D.preventDefault(),Y(r.id)}:void 0,children:[n("div",{className:"flex min-w-0 flex-1 basis-48 items-center gap-2.5",children:[c&&e("span",{className:u("flex size-4 shrink-0 items-center justify-center rounded-md border transition-colors",j?"border-accent bg-accent text-accent-ink":"border-line-strong bg-panel"),children:j&&e(Z,{className:"size-3",strokeWidth:3})}),e(ot,{modelID:r.model,className:"size-4 shrink-0 text-dim"}),e("button",{type:"button",disabled:c,className:u("block max-w-full truncate text-left text-sm font-medium text-ink transition-colors focus:outline-hidden",!c&&"hover:text-accent"),onClick:()=>!c&&t.onOpen(r.id),children:fe(r)}),M&&e("span",{className:p("control.badge","shrink-0 text-2xs text-dim"),children:M})]}),n("div",{className:"flex shrink-0 items-center justify-end gap-1.5 sm:grid sm:justify-items-end",children:[e("time",{dateTime:r.archivedAt?new Date(r.archivedAt).toISOString():void 0,title:r.archivedAt?`归档于 ${Q(r.archivedAt)}`:void 0,className:u("text-xs tabular-nums text-faint cursor-default sm:col-start-1 sm:row-start-1",!c&&"transition-opacity sm:group-hover:opacity-0 sm:group-focus-within:opacity-0"),children:q(r.archivedAt)}),!c&&n("div",{className:"flex items-center gap-1.5 opacity-90 transition-opacity sm:pointer-events-none sm:col-start-1 sm:row-start-1 sm:opacity-0 sm:group-hover:pointer-events-auto sm:group-hover:opacity-100 sm:group-focus-within:pointer-events-auto sm:group-focus-within:opacity-100",children:[e(x,{size:"sm",variant:"ghost",className:"h-7 px-2 text-xs",disabled:t.pending.has(r.id),onClick:(D)=>{D.stopPropagation(),t.onRestore(r)},children:"恢复"}),e(x,{size:"sm",variant:"danger-ghost",className:"h-7 px-2 text-xs",disabled:t.pending.has(r.id),onClick:(D)=>{D.stopPropagation(),t.onDelete(r)},children:"永久删除"})]})]})]},r.id)})})})]},y.key)),L&&n("div",{ref:N,className:"flex items-center justify-between rounded-xl border border-line/60 bg-panel/40 px-4 py-2.5 text-xs text-faint",children:[n("span",{className:"tabular-nums",children:["已显示 ",B," / ",f.length," 个会话"]}),n("div",{className:"flex items-center gap-1.5",children:[e(x,{size:"sm",variant:"ghost",className:"h-7 px-2 text-xs",onClick:()=>R({key:z,count:Math.min(f.length,B+P)}),children:"加载更多"}),e(x,{size:"sm",variant:"ghost",className:"h-7 px-2 text-xs",onClick:()=>R({key:z,count:f.length}),children:"显示全部"})]})]})]})}return n(xs,{"aria-label":"已归档会话",title:n(m,{children:["已归档 ",n("span",{className:"text-dim",children:["· ",T]})]}),description:"浏览和管理已归档的会话,可随时恢复到聊天列表或彻底删除。",children:[n("div",{className:"mb-6 space-y-2",children:[e(oe,{label:"搜索标题",children:(i)=>e(ae,{id:i,value:l,onChange:(y)=>b(y.target.value),placeholder:"搜索归档会话…"})}),I.length>0&&(c?n("div",{className:"flex flex-wrap items-center justify-between gap-2 rounded-xl border border-line bg-panel p-2.5 shadow-xs",children:[n("button",{type:"button",className:"flex items-center gap-2 text-xs font-medium text-ink hover:text-accent focus:outline-hidden",onClick:H,children:[n("span",{className:u("flex size-4 shrink-0 items-center justify-center rounded-md border transition-colors",C?"border-accent bg-accent text-accent-ink":d.size>0?"border-accent bg-accent/20 text-accent":"border-line-strong bg-panel"),children:[C&&e(Z,{className:"size-3",strokeWidth:3}),!C&&d.size>0&&e("span",{className:"size-1.5 rounded-xs bg-accent"})]}),n("span",{children:[C?"取消全选":"全选",n("span",{className:"ml-1 text-dim",children:["(",d.size,"/",f.length,")"]})]})]}),n("div",{className:"flex items-center gap-2",children:[n(x,{size:"sm",variant:"secondary",className:"h-7 px-2.5 text-xs",loading:g,disabled:d.size===0||g,onClick:()=>void _(E),children:["批量恢复",d.size>0?` (${d.size})`:""]}),n(x,{size:"sm",variant:"danger",className:"h-7 px-2.5 text-xs",loading:g,disabled:d.size===0||g,onClick:()=>void G(E),children:["彻底删除",d.size>0?` (${d.size})`:""]}),e(x,{size:"sm",variant:"ghost",className:"h-7 px-2 text-xs",disabled:g,onClick:()=>{v(!1),h(new Set)},children:"退出管理"})]})]}):n("div",{className:"flex items-center justify-between px-0.5 text-xs text-dim",children:[e("span",{children:l.trim()?`匹配 ${f.length} 个会话(共 ${I.length} 个)`:`共 ${I.length} 个归档会话`}),f.length>0&&n("div",{className:"flex items-center gap-2",children:[e(x,{size:"sm",variant:"ghost",className:"h-7 px-2 text-xs",onClick:()=>v(!0),children:"批量管理"}),e(x,{size:"sm",variant:"danger-ghost",className:"h-7 px-2 text-xs",onClick:()=>void G(f),children:l.trim()?"清空匹配结果":"清空全部"})]})]}))]}),K()]})}export{de as ArchivePage};
Binary file
Binary file
@@ -1,140 +0,0 @@
1
- import{t,i,Ie,A,C,Y,L,d,g,Po,Wr,br,Ro,ni,ri,ai,ii,Io,Do,Oo,$o,Bo,Fo,zo,Ho,Uo,jo,qo,Vo,Go,Wo,Yo,Xo,Ko,xr,Qo,De,Ne,Me,Ot,$t,kn,mn,Cn,fa,or,ha}from"./chunk-eq59kad4.js";import{_e}from"./chunk-zapwrc5k.js";import{Et}from"./chunk-6ktmzq32.js";import{$n}from"./chunk-7devrtv4.js";function ye(e){return Array.isArray(e)}function we(e){if(Wr(e))return e;let o=br(e);if(!qe(e))return{};if(ye(e)){let a=Array.from(e);if(e.length>0&&typeof e[0]==="string"&&Object.hasOwn(e,"index"))a.index=e.index,a.input=e.input;return a}if(xr(e)){let a=e;return new a.constructor(a.buffer,a.byteOffset,a.length)}if(o==="[object ArrayBuffer]")return new ArrayBuffer(e.byteLength);if(o==="[object DataView]"){let a=e,{buffer:h,byteOffset:f,byteLength:r}=a,p=new ArrayBuffer(r),y=new Uint8Array(h,f,r);return new Uint8Array(p).set(y),new DataView(p)}if(o==="[object Boolean]"||o==="[object Number]"||o==="[object String]"){let h=new e.constructor(e.valueOf());if(o==="[object String]")Ze(h,e);else ce(h,e);return h}if(o==="[object Date]")return new Date(Number(e));if(o==="[object RegExp]"){let a=e,h=new RegExp(a.source,a.flags);return h.lastIndex=a.lastIndex,h}if(o==="[object Symbol]")return Object(Symbol.prototype.valueOf.call(e));if(o==="[object Map]"){let a=e,h=new Map;return a.forEach((f,r)=>{h.set(r,f)}),h}if(o==="[object Set]"){let a=e,h=new Set;return a.forEach((f)=>{h.add(f)}),h}if(o==="[object Arguments]"){let a=e,h={};return ce(h,a),h.length=a.length,h[Symbol.iterator]=a[Symbol.iterator],h}let c={};return Qe(c,e),ce(c,e),Je(c,e),c}function qe(e){switch(br(e)){case ii:case Bo:case Fo:case Ho:case ai:case Do:case Xo:case Ko:case Go:case Wo:case Yo:case Oo:case ri:case zo:case Ro:case $o:case ni:case Io:case Uo:case jo:case qo:case Vo:return!0;default:return!1}}function ce(e,o){for(let c in o)if(Object.hasOwn(o,c))e[c]=o[c]}function Je(e,o){let c=Object.getOwnPropertySymbols(o);for(let a=0;a<c.length;a++){let h=c[a];if(Object.prototype.propertyIsEnumerable.call(o,h))e[h]=o[h]}}function Ze(e,o){let c=o.valueOf().length;for(let a in o)if(Object.hasOwn(o,a)&&(Number.isNaN(Number(a))||Number(a)>=c))e[a]=o[a]}function Qe(e,o){let c=Object.getPrototypeOf(o);if(c!==null){if(typeof o.constructor==="function")Object.setPrototypeOf(e,c)}}var he=function(){var e=t(function(B,b,n,u){for(n=n||{},u=B.length;u--;n[B[u]]=b);return n},"o"),o=[1,15],c=[1,7],a=[1,13],h=[1,14],f=[1,19],r=[1,16],p=[1,17],y=[1,18],w=[8,30],m=[8,10,21,28,29,30,31,39,43,46],x=[1,23],E=[1,24],D=[8,10,15,16,21,28,29,30,31,39,43,46],k=[8,10,15,16,21,27,28,29,30,31,39,43,46],N=[1,49],T={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"NODE_ID",34:"DIR",35:"NODE_DSTART",36:"NODE_DEND",37:"BLOCK_ARROW_START",38:"BLOCK_ARROW_END",39:"classDef",40:"CLASSDEF_ID",41:"CLASSDEF_STYLEOPTS",42:"DEFAULT",43:"class",44:"CLASSENTITY_IDS",45:"STYLECLASS",46:"style",47:"STYLE_ENTITY_IDS",48:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:t(function(b,n,u,S,_,s,H){var l=s.length-1;switch(_){case 4:S.getLogger().debug("Rule: separator (NL) ");break;case 5:S.getLogger().debug("Rule: separator (Space) ");break;case 6:S.getLogger().debug("Rule: separator (EOF) ");break;case 7:S.getLogger().debug("Rule: hierarchy: ",s[l-1]),S.setHierarchy(s[l-1]);break;case 8:S.getLogger().debug("Stop NL ");break;case 9:S.getLogger().debug("Stop EOF ");break;case 10:S.getLogger().debug("Stop NL2 ");break;case 11:S.getLogger().debug("Stop EOF2 ");break;case 12:S.getLogger().debug("Rule: statement: ",s[l]),typeof s[l].length==="number"?this.$=s[l]:this.$=[s[l]];break;case 13:S.getLogger().debug("Rule: statement #2: ",s[l-1]),this.$=[s[l-1]].concat(s[l]);break;case 14:S.getLogger().debug("Rule: link: ",s[l],b),this.$={edgeTypeStr:s[l],label:""};break;case 15:S.getLogger().debug("Rule: LABEL link: ",s[l-3],s[l-1],s[l]),this.$={edgeTypeStr:s[l],label:s[l-1]};break;case 18:let V=parseInt(s[l]),j=S.generateId();this.$={id:j,type:"space",label:"",width:V,children:[]};break;case 23:S.getLogger().debug("Rule: (nodeStatement link node) ",s[l-2],s[l-1],s[l]," typestr: ",s[l-1].edgeTypeStr);let G=S.edgeStrToEdgeData(s[l-1].edgeTypeStr),re=S.edgeStrToEdgeStartData(s[l-1].edgeTypeStr),q=S.edgeStrToThickness(s[l-1].edgeTypeStr),se=S.edgeStrToPattern(s[l-1].edgeTypeStr);this.$=[{id:s[l-2].id,label:s[l-2].label,type:s[l-2].type,directions:s[l-2].directions},{id:s[l-2].id+"-"+s[l].id,start:s[l-2].id,end:s[l].id,label:s[l-1].label,type:"edge",thickness:q,pattern:se,directions:s[l].directions,arrowTypeEnd:G,arrowTypeStart:re},{id:s[l].id,label:s[l].label,type:S.typeStr2Type(s[l].typeStr),directions:s[l].directions}];break;case 24:S.getLogger().debug("Rule: nodeStatement (abc88 node size) ",s[l-1],s[l]),this.$={id:s[l-1].id,label:s[l-1].label,type:S.typeStr2Type(s[l-1].typeStr),directions:s[l-1].directions,widthInColumns:parseInt(s[l],10)};break;case 25:S.getLogger().debug("Rule: nodeStatement (node) ",s[l]),this.$={id:s[l].id,label:s[l].label,type:S.typeStr2Type(s[l].typeStr),directions:s[l].directions,widthInColumns:1};break;case 26:S.getLogger().debug("APA123",this?this:"na"),S.getLogger().debug("COLUMNS: ",s[l]),this.$={type:"column-setting",columns:s[l]==="auto"?-1:parseInt(s[l])};break;case 27:S.getLogger().debug("Rule: id-block statement : ",s[l-2],s[l-1]);let I=S.generateId();this.$={...s[l-2],type:"composite",children:s[l-1]};break;case 28:S.getLogger().debug("Rule: blockStatement : ",s[l-2],s[l-1],s[l]);let M=S.generateId();this.$={id:M,type:"composite",label:"",children:s[l-1]};break;case 29:S.getLogger().debug("Rule: node (NODE_ID separator): ",s[l]),this.$={id:s[l]};break;case 30:S.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",s[l-1],s[l]),this.$={id:s[l-1],label:s[l].label,typeStr:s[l].typeStr,directions:s[l].directions};break;case 31:S.getLogger().debug("Rule: dirList: ",s[l]),this.$=[s[l]];break;case 32:S.getLogger().debug("Rule: dirList: ",s[l-1],s[l]),this.$=[s[l-1]].concat(s[l]);break;case 33:S.getLogger().debug("Rule: nodeShapeNLabel: ",s[l-2],s[l-1],s[l]),this.$={typeStr:s[l-2]+s[l],label:s[l-1]};break;case 34:S.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",s[l-3],s[l-2]," #3:",s[l-1],s[l]),this.$={typeStr:s[l-3]+s[l],label:s[l-2],directions:s[l-1]};break;case 35:case 36:this.$={type:"classDef",id:s[l-1].trim(),css:s[l].trim()};break;case 37:this.$={type:"applyClass",id:s[l-1].trim(),styleClass:s[l].trim()};break;case 38:this.$={type:"applyStyles",id:s[l-1].trim(),stylesStr:s[l].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:o,11:3,13:4,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:a,29:h,31:f,39:r,43:p,46:y},{8:[1,20]},e(w,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:o,21:c,28:a,29:h,31:f,39:r,43:p,46:y}),e(m,[2,16],{14:22,15:x,16:E}),e(m,[2,17]),e(m,[2,18]),e(m,[2,19]),e(m,[2,20]),e(m,[2,21]),e(m,[2,22]),e(D,[2,25],{27:[1,25]}),e(m,[2,26]),{19:26,26:12,31:f},{10:o,11:27,13:4,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:a,29:h,31:f,39:r,43:p,46:y},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},e(k,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},e(w,[2,13]),{26:35,31:f},{31:[2,14]},{17:[1,36]},e(D,[2,24]),{10:o,11:37,13:4,14:22,15:x,16:E,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:a,29:h,31:f,39:r,43:p,46:y},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},e(k,[2,30]),{18:[1,43]},{18:[1,44]},e(D,[2,23]),{18:[1,45]},{30:[1,46]},e(m,[2,28]),e(m,[2,35]),e(m,[2,36]),e(m,[2,37]),e(m,[2,38]),{36:[1,47]},{33:48,34:N},{15:[1,50]},e(m,[2,27]),e(k,[2,33]),{38:[1,51]},{33:52,34:N,38:[2,31]},{31:[2,15]},e(k,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:t(function(b,n){if(n.recoverable)this.trace(b);else{var u=Error(b);throw u.hash=n,u}},"parseError"),parse:t(function(b){var n=this,u=[0],S=[],_=[null],s=[],H=this.table,l="",V=0,j=0,G=0,re=2,q=1,se=s.slice.call(arguments,1),I=Object.create(this.lexer),M={yy:{}};for(var ie in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,ie))M.yy[ie]=this.yy[ie];if(I.setInput(b,M.yy),M.yy.lexer=I,M.yy.parser=this,typeof I.yylloc>"u")I.yylloc={};var ae=I.yylloc;s.push(ae);var je=I.options&&I.options.ranges;if(typeof M.yy.parseError==="function")this.parseError=M.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Ge(P){u.length=u.length-2*P,_.length=_.length-P,s.length=s.length-P}t(Ge,"popStack");function Le(){var P=S.pop()||I.lex()||q;if(typeof P!=="number"){if(P instanceof Array)S=P,P=S.pop();P=n.symbols_[P]||P}return P}t(Le,"lex");var v,ne,W,R,Nt,oe,U={},J,K,ke,Z;while(!0){if(W=u[u.length-1],this.defaultActions[W])R=this.defaultActions[W];else{if(v===null||typeof v>"u")v=Le();R=H[W]&&H[W][v]}if(typeof R>"u"||!R.length||!R[0]){var le="";Z=[];for(J in H[W])if(this.terminals_[J]&&J>re)Z.push("'"+this.terminals_[J]+"'");if(I.showPosition)le="Parse error on line "+(V+1)+`:
2
- `+I.showPosition()+`
3
- Expecting `+Z.join(", ")+", got '"+(this.terminals_[v]||v)+"'";else le="Parse error on line "+(V+1)+": Unexpected "+(v==q?"end of input":"'"+(this.terminals_[v]||v)+"'");this.parseError(le,{text:I.match,token:this.terminals_[v]||v,line:I.yylineno,loc:ae,expected:Z})}if(R[0]instanceof Array&&R.length>1)throw Error("Parse Error: multiple actions possible at state: "+W+", token: "+v);switch(R[0]){case 1:if(u.push(v),_.push(I.yytext),s.push(I.yylloc),u.push(R[1]),v=null,!ne){if(j=I.yyleng,l=I.yytext,V=I.yylineno,ae=I.yylloc,G>0)G--}else v=ne,ne=null;break;case 2:if(K=this.productions_[R[1]][1],U.$=_[_.length-K],U._$={first_line:s[s.length-(K||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(K||1)].first_column,last_column:s[s.length-1].last_column},je)U._$.range=[s[s.length-(K||1)].range[0],s[s.length-1].range[1]];if(oe=this.performAction.apply(U,[l,j,V,M.yy,R[1],_,s].concat(se)),typeof oe<"u")return oe;if(K)u=u.slice(0,-1*K*2),_=_.slice(0,-1*K),s=s.slice(0,-1*K);u.push(this.productions_[R[1]][0]),_.push(U.$),s.push(U._$),ke=H[u[u.length-2]][u[u.length-1]],u.push(ke);break;case 3:return!0}}return!0},"parse")},O=function(){var B={EOF:1,parseError:t(function(n,u){if(this.yy.parser)this.yy.parser.parseError(n,u);else throw Error(n)},"parseError"),setInput:t(function(b,n){if(this.yy=n||this.yy||{},this._input=b,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:t(function(){var b=this._input[0];this.yytext+=b,this.yyleng++,this.offset++,this.match+=b,this.matched+=b;var n=b.match(/(?:\r\n?|\n).*/g);if(n)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),b},"input"),unput:t(function(b){var n=b.length,u=b.split(/(?:\r\n?|\n)/g);this._input=b+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var S=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),u.length-1)this.yylineno-=u.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:u?(u.length===S.length?this.yylloc.first_column:0)+S[S.length-u.length].length-u[0].length:this.yylloc.first_column-n},this.options.ranges)this.yylloc.range=[_[0],_[0]+this.yyleng-n];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
- `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(b){this.unput(this.match.slice(b))},"less"),pastInput:t(function(){var b=this.matched.substr(0,this.matched.length-this.match.length);return(b.length>20?"...":"")+b.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var b=this.match;if(b.length<20)b+=this._input.substr(0,20-b.length);return(b.substr(0,20)+(b.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var b=this.pastInput(),n=Array(b.length+1).join("-");return b+this.upcomingInput()+`
5
- `+n+"^"},"showPosition"),test_match:t(function(b,n){var u,S,_;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(S=b[0].match(/(?:\r\n?|\n).*/g),S)this.yylineno+=S.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:S?S[S.length-1].length-S[S.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+b[0].length},this.yytext+=b[0],this.match+=b[0],this.matches=b,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(b[0].length),this.matched+=b[0],u=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(u)return u;else if(this._backtrack){for(var s in _)this[s]=_[s];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var b,n,u,S;if(!this._more)this.yytext="",this.match="";var _=this._currentRules();for(var s=0;s<_.length;s++)if(u=this._input.match(this.rules[_[s]]),u&&(!n||u[0].length>n[0].length)){if(n=u,S=s,this.options.backtrack_lexer)if(b=this.test_match(u,_[s]),b!==!1)return b;else if(this._backtrack){n=!1;continue}else return!1;else if(!this.options.flex)break}if(n){if(b=this.test_match(n,_[S]),b!==!1)return b;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
- `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var n=this.next();if(n)return n;else return this.lex()},"lex"),begin:t(function(n){this.conditionStack.push(n)},"begin"),popState:t(function(){var n=this.conditionStack.length-1;if(n>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(n){if(n=this.conditionStack.length-1-Math.abs(n||0),n>=0)return this.conditionStack[n];else return"INITIAL"},"topState"),pushState:t(function(n){this.begin(n)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:t(function(n,u,S,_){var s=_;switch(S){case 0:return n.getLogger().debug("Found block-beta"),10;break;case 1:return n.getLogger().debug("Found id-block"),29;break;case 2:return n.getLogger().debug("Found block"),10;break;case 3:n.getLogger().debug(".",u.yytext);break;case 4:n.getLogger().debug("_",u.yytext);break;case 5:return 5;case 6:return u.yytext=-1,28;break;case 7:return u.yytext=u.yytext.replace(/columns\s+/,""),n.getLogger().debug("COLUMNS (LEX)",u.yytext),28;break;case 8:this.pushState("md_string");break;case 9:return"MD_STR";case 10:this.popState();break;case 11:this.pushState("string");break;case 12:n.getLogger().debug("LEX: POPPING STR:",u.yytext),this.popState();break;case 13:return n.getLogger().debug("LEX: STR end:",u.yytext),"STR";break;case 14:return u.yytext=u.yytext.replace(/space\:/,""),n.getLogger().debug("SPACE NUM (LEX)",u.yytext),21;break;case 15:return u.yytext="1",n.getLogger().debug("COLUMNS (LEX)",u.yytext),21;break;case 16:return 42;case 17:return"LINKSTYLE";case 18:return"INTERPOLATE";case 19:return this.pushState("CLASSDEF"),39;break;case 20:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";break;case 21:return this.popState(),this.pushState("CLASSDEFID"),40;break;case 22:return this.popState(),41;break;case 23:return this.pushState("CLASS"),43;break;case 24:return this.popState(),this.pushState("CLASS_STYLE"),44;break;case 25:return this.popState(),45;break;case 26:return this.pushState("STYLE_STMNT"),46;break;case 27:return this.popState(),this.pushState("STYLE_DEFINITION"),47;break;case 28:return this.popState(),48;break;case 29:return this.pushState("acc_title"),"acc_title";break;case 30:return this.popState(),"acc_title_value";break;case 31:return this.pushState("acc_descr"),"acc_descr";break;case 32:return this.popState(),"acc_descr_value";break;case 33:this.pushState("acc_descr_multiline");break;case 34:this.popState();break;case 35:return"acc_descr_multiline_value";case 36:return 30;case 37:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 38:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 39:return this.popState(),n.getLogger().debug("Lex: ))"),"NODE_DEND";break;case 40:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 41:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 42:return this.popState(),n.getLogger().debug("Lex: (-"),"NODE_DEND";break;case 43:return this.popState(),n.getLogger().debug("Lex: -)"),"NODE_DEND";break;case 44:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 45:return this.popState(),n.getLogger().debug("Lex: ]]"),"NODE_DEND";break;case 46:return this.popState(),n.getLogger().debug("Lex: ("),"NODE_DEND";break;case 47:return this.popState(),n.getLogger().debug("Lex: ])"),"NODE_DEND";break;case 48:return this.popState(),n.getLogger().debug("Lex: /]"),"NODE_DEND";break;case 49:return this.popState(),n.getLogger().debug("Lex: /]"),"NODE_DEND";break;case 50:return this.popState(),n.getLogger().debug("Lex: )]"),"NODE_DEND";break;case 51:return this.popState(),n.getLogger().debug("Lex: )"),"NODE_DEND";break;case 52:return this.popState(),n.getLogger().debug("Lex: ]>"),"NODE_DEND";break;case 53:return this.popState(),n.getLogger().debug("Lex: ]"),"NODE_DEND";break;case 54:return n.getLogger().debug("Lexa: -)"),this.pushState("NODE"),35;break;case 55:return n.getLogger().debug("Lexa: (-"),this.pushState("NODE"),35;break;case 56:return n.getLogger().debug("Lexa: ))"),this.pushState("NODE"),35;break;case 57:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 58:return n.getLogger().debug("Lex: ((("),this.pushState("NODE"),35;break;case 59:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 60:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 61:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 62:return n.getLogger().debug("Lexc: >"),this.pushState("NODE"),35;break;case 63:return n.getLogger().debug("Lexa: (["),this.pushState("NODE"),35;break;case 64:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 65:return this.pushState("NODE"),35;break;case 66:return this.pushState("NODE"),35;break;case 67:return this.pushState("NODE"),35;break;case 68:return this.pushState("NODE"),35;break;case 69:return this.pushState("NODE"),35;break;case 70:return this.pushState("NODE"),35;break;case 71:return this.pushState("NODE"),35;break;case 72:return n.getLogger().debug("Lexa: ["),this.pushState("NODE"),35;break;case 73:return this.pushState("BLOCK_ARROW"),n.getLogger().debug("LEX ARR START"),37;break;case 74:return n.getLogger().debug("Lex: NODE_ID",u.yytext),31;break;case 75:return n.getLogger().debug("Lex: EOF",u.yytext),8;break;case 76:this.pushState("md_string");break;case 77:this.pushState("md_string");break;case 78:return"NODE_DESCR";case 79:this.popState();break;case 80:n.getLogger().debug("Lex: Starting string"),this.pushState("string");break;case 81:n.getLogger().debug("LEX ARR: Starting string"),this.pushState("string");break;case 82:return n.getLogger().debug("LEX: NODE_DESCR:",u.yytext),"NODE_DESCR";break;case 83:n.getLogger().debug("LEX POPPING"),this.popState();break;case 84:n.getLogger().debug("Lex: =>BAE"),this.pushState("ARROW_DIR");break;case 85:return u.yytext=u.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (right): dir:",u.yytext),"DIR";break;case 86:return u.yytext=u.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (left):",u.yytext),"DIR";break;case 87:return u.yytext=u.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (x):",u.yytext),"DIR";break;case 88:return u.yytext=u.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (y):",u.yytext),"DIR";break;case 89:return u.yytext=u.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (up):",u.yytext),"DIR";break;case 90:return u.yytext=u.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (down):",u.yytext),"DIR";break;case 91:return u.yytext="]>",n.getLogger().debug("Lex (ARROW_DIR end):",u.yytext),this.popState(),this.popState(),"BLOCK_ARROW_END";break;case 92:return n.getLogger().debug("Lex: LINK","#"+u.yytext+"#"),15;break;case 93:return n.getLogger().debug("Lex: LINK",u.yytext),15;break;case 94:return n.getLogger().debug("Lex: LINK",u.yytext),15;break;case 95:return n.getLogger().debug("Lex: LINK",u.yytext),15;break;case 96:return n.getLogger().debug("Lex: START_LINK",u.yytext),this.pushState("LLABEL"),16;break;case 97:return n.getLogger().debug("Lex: START_LINK",u.yytext),this.pushState("LLABEL"),16;break;case 98:return n.getLogger().debug("Lex: START_LINK",u.yytext),this.pushState("LLABEL"),16;break;case 99:this.pushState("md_string");break;case 100:return n.getLogger().debug("Lex: Starting string"),this.pushState("string"),"LINK_LABEL";break;case 101:return this.popState(),n.getLogger().debug("Lex: LINK","#"+u.yytext+"#"),15;break;case 102:return this.popState(),n.getLogger().debug("Lex: LINK",u.yytext),15;break;case 103:return this.popState(),n.getLogger().debug("Lex: LINK",u.yytext),15;break;case 104:return n.getLogger().debug("Lex: COLON",u.yytext),u.yytext=u.yytext.slice(1),27;break}},"anonymous"),rules:[/^(?:block-beta\b)/,/^(?:block:)/,/^(?:block\b)/,/^(?:[\s]+)/,/^(?:[\n]+)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:columns\s+auto\b)/,/^(?:columns\s+[\d]+)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:space[:]\d+)/,/^(?:space\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\s+)/,/^(?:DEFAULT\s+)/,/^(?:\w+\s+)/,/^(?:[^\n]*)/,/^(?:class\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:style\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:end\b\s*)/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:[\)]\))/,/^(?:\}\})/,/^(?:\})/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\()/,/^(?:\]\])/,/^(?:\()/,/^(?:\]\))/,/^(?:\\\])/,/^(?:\/\])/,/^(?:\)\])/,/^(?:[\)])/,/^(?:\]>)/,/^(?:[\]])/,/^(?:-\))/,/^(?:\(-)/,/^(?:\)\))/,/^(?:\))/,/^(?:\(\(\()/,/^(?:\(\()/,/^(?:\{\{)/,/^(?:\{)/,/^(?:>)/,/^(?:\(\[)/,/^(?:\()/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\[\\)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:\[)/,/^(?:<\[)/,/^(?:[^\(\[\n\-\)\{\}\s\<\>:=]+)/,/^(?:$)/,/^(?:["][`])/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:\]>\s*\()/,/^(?:,?\s*right\s*)/,/^(?:,?\s*left\s*)/,/^(?:,?\s*x\s*)/,/^(?:,?\s*y\s*)/,/^(?:,?\s*up\s*)/,/^(?:,?\s*down\s*)/,/^(?:\)\s*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:["][`])/,/^(?:["])/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?::\d+)/],conditions:{STYLE_DEFINITION:{rules:[28],inclusive:!1},STYLE_STMNT:{rules:[27],inclusive:!1},CLASSDEFID:{rules:[22],inclusive:!1},CLASSDEF:{rules:[20,21],inclusive:!1},CLASS_STYLE:{rules:[25],inclusive:!1},CLASS:{rules:[24],inclusive:!1},LLABEL:{rules:[99,100,101,102,103],inclusive:!1},ARROW_DIR:{rules:[85,86,87,88,89,90,91],inclusive:!1},BLOCK_ARROW:{rules:[76,81,84],inclusive:!1},NODE:{rules:[37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,77,80],inclusive:!1},md_string:{rules:[9,10,78,79],inclusive:!1},space:{rules:[],inclusive:!1},string:{rules:[12,13,82,83],inclusive:!1},acc_descr_multiline:{rules:[34,35],inclusive:!1},acc_descr:{rules:[32],inclusive:!1},acc_title:{rules:[30],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,11,14,15,16,17,18,19,23,26,29,31,33,36,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,92,93,94,95,96,97,98,104],inclusive:!0}}};return B}();T.lexer=O;function z(){this.yy={}}return t(z,"Parser"),z.prototype=T,T.Parser=z,new z}();he.parser=he;var $e=he,F=new Map,pe=[],ge=new Map,Ee="color",Te="fill",et="bgFill",Ce=",",Q=new Map,fe="",tt=t((e)=>C.sanitizeText(e,d()),"sanitizeText"),rt=t(function(e,o=""){let c=Q.get(e);if(!c)c={id:e,styles:[],textStyles:[]},Q.set(e,c);if(o!==void 0&&o!==null)o.split(Ce).forEach((a)=>{let h=a.replace(/([^;]*);/,"$1").trim();if(RegExp(Ee).exec(a)){let r=h.replace(Te,et).replace(Ee,Te);c.textStyles.push(r)}c.styles.push(h)})},"addStyleClass"),st=t(function(e,o=""){let c=F.get(e);if(o!==void 0&&o!==null)c.styles=o.split(Ce)},"addStyle2Node"),it=t(function(e,o){e.split(",").forEach(function(c){let a=F.get(c);if(a===void 0){let h=c.trim();a={id:h,type:"na",children:[]},F.set(h,a)}if(!a.classes)a.classes=[];a.classes.push(o)})},"setCssClass"),ve=0,Ae=t((e,o)=>{let c=e.flat(),a=[],f=c.find((r)=>r?.type==="column-setting")?.columns??-1;for(let r of c){if(typeof f==="number"&&f>0&&r.type!=="column-setting"&&typeof r.widthInColumns==="number"&&r.widthInColumns>f)i.warn(`Block ${r.id} width ${r.widthInColumns} exceeds configured column width ${f}`);if(r.label)r.label=tt(r.label);if(r.type==="classDef"){rt(r.id,r.css);continue}if(r.type==="applyClass"){it(r.id,r?.styleClass??"");continue}if(r.type==="applyStyles"){if(r?.stylesStr)st(r.id,r?.stylesStr);continue}if(r.type==="column-setting")o.columns=r.columns??-1;else if(r.type==="edge"){let p=(ge.get(r.id)??0)+1;ge.set(r.id,p),r.id=p+"-"+r.id,pe.push(r)}else{if(!r.label)if(r.type==="composite")r.label="";else r.label=r.id;let p=F.get(r.id);if(p===void 0){if(r.type==="composite")r.colorIndex=ve++;F.set(r.id,r)}else{if(r.type!=="na")p.type=r.type;if(r.label!==r.id)p.label=r.label}if(r.children)Ae(r.children,r);if(r.type==="space"){let y=r.width??1;for(let w=0;w<y;w++){let m=we(r);m.id=m.id+"-"+w,F.set(m.id,m),a.push(m)}}else if(p===void 0)a.push(r)}}o.children=a},"populateBlockDatabase"),be=[],X={id:"root",type:"composite",children:[],columns:-1},at=t(()=>{i.debug("Clear called"),L(),X={id:"root",type:"composite",children:[],columns:-1},F=new Map([["root",X]]),be=[],Q=new Map,pe=[],ge=new Map,fe="",ve=0},"clear");function ze(e){switch(i.debug("typeStr2Type",e),e){case"[]":return"square";case"()":return i.debug("we have a round"),"round";case"(())":return"circle";case">]":return"rect_left_inv_arrow";case"{}":return"diamond";case"{{}}":return"hexagon";case"([])":return"stadium";case"[[]]":return"subroutine";case"[()]":return"cylinder";case"((()))":return"doublecircle";case"[//]":return"lean_right";case"[\\\\]":return"lean_left";case"[/\\]":return"trapezoid";case"[\\/]":return"inv_trapezoid";case"<[]>":return"block_arrow";default:return"na"}}t(ze,"typeStr2Type");function Be(e){switch(i.debug("typeStr2Type",e),e){case"==":return"thick";default:return"normal"}}t(Be,"edgeTypeStr2Type");function Re(e){switch(e.trim().slice(-1)){case"x":return"arrow_cross";case"o":return"arrow_circle";case">":return"arrow_point";default:return""}}t(Re,"edgeStrToEdgeData");function Pe(e){switch(e.trim().charAt(0)){case"x":return"arrow_cross";case"o":return"arrow_circle";case"<":return"arrow_point";default:return"arrow_open"}}t(Pe,"edgeStrToEdgeStartData");function Fe(e){return e.includes("==")?"thick":"normal"}t(Fe,"edgeStrToThickness");function Ke(e){if(e.includes(".-"))return"dotted";return"solid"}t(Ke,"edgeStrToPattern");var Oe=0,nt=t(()=>(Oe++,"id-"+Math.random().toString(36).substr(2,12)+"-"+Oe),"generateId"),ot=t((e)=>{X.children=e,Ae(e,X),be=X.children},"setHierarchy"),lt=t((e)=>{let o=F.get(e);if(!o)return-1;if(o.columns)return o.columns;if(!o.children)return-1;return o.children.length},"getColumns"),ct=t(()=>[...F.values()],"getBlocksFlat"),ut=t(()=>be||[],"getBlocks"),ht=t(()=>pe,"getEdges"),gt=t((e)=>F.get(e),"getBlock"),dt=t((e)=>{F.set(e.id,e)},"setBlock"),pt=t((e)=>{fe=e},"setDiagramId"),ft=t(()=>fe,"getDiagramId"),bt=t(()=>i,"getLogger"),St=t(function(){return Q},"getClasses"),xt={getConfig:t(()=>A().block,"getConfig"),typeStr2Type:ze,edgeTypeStr2Type:Be,edgeStrToEdgeData:Re,edgeStrToEdgeStartData:Pe,edgeStrToThickness:Fe,edgeStrToPattern:Ke,getLogger:bt,getBlocksFlat:ct,getBlocks:ut,getEdges:ht,setHierarchy:ot,getBlock:gt,setBlock:dt,getColumns:lt,getClasses:St,clear:at,generateId:nt,setDiagramId:pt,getDiagramId:ft},mt=xt,Lt=t((e)=>{let{theme:o,bkgColorArray:c,borderColorArray:a}=e;if(!Ne(o,a))return"";let h=Me(e.look),f=De(c),r="";for(let p=0;p<Ot(e.THEME_COLOR_LIMIT,a);p++){let y=a[p%a.length],w=f?`fill: ${c[p%c.length]};`:"",m=`[data-look="${h}"][data-color-id="color-${p}"]`;r+=`
7
-
8
- ${m}.node rect.composite {
9
- stroke: ${y};
10
- ${w}
11
- }
12
- `}return r},"genColor"),ue=t((e,o)=>{let c=$n,a=c(e,"r"),h=c(e,"g"),f=c(e,"b");return Ie(a,h,f,o)},"fade"),kt=t((e)=>`${Lt(e)}
13
- .label {
14
- font-family: ${e.fontFamily};
15
- color: ${e.nodeTextColor||e.textColor};
16
- }
17
- .cluster-label text {
18
- fill: ${e.titleColor};
19
- }
20
- .cluster-label span {
21
- color: ${e.titleColor};
22
- }
23
-
24
-
25
-
26
- .label text,span {
27
- fill: ${e.nodeTextColor||e.textColor};
28
- color: ${e.nodeTextColor||e.textColor};
29
- }
30
-
31
- .node rect,
32
- .node circle,
33
- .node ellipse,
34
- .node polygon,
35
- .node path {
36
- fill: ${e.mainBkg};
37
- stroke: ${e.nodeBorder};
38
- /* From the theme, as every other diagram does. Pinned at 1px here, so block drew a
39
- thinner border than an identical flowchart node under any theme asking for more --
40
- the neo theme asks for 2. Nothing downstream corrected it: the neo rules set stroke
41
- and filter, never stroke-width. */
42
- stroke-width: ${e.strokeWidth??1}px;
43
- }
44
- .flowchart-label text {
45
- text-anchor: middle;
46
- }
47
- // .flowchart-label .text-outer-tspan {
48
- // text-anchor: middle;
49
- // }
50
- // .flowchart-label .text-inner-tspan {
51
- // text-anchor: start;
52
- // }
53
-
54
- .node .label {
55
- text-align: center;
56
- }
57
- .node.clickable {
58
- cursor: pointer;
59
- }
60
-
61
- .arrowheadPath {
62
- fill: ${e.arrowheadColor};
63
- }
64
-
65
- .edgePaths .path {
66
- stroke: ${e.lineColor};
67
- stroke-width: 2.0px;
68
- }
69
-
70
- .flowchart-link {
71
- stroke: ${e.lineColor};
72
- fill: none;
73
- }
74
-
75
- .edgeLabel {
76
- background-color: ${e.edgeLabelBackground};
77
- /*
78
- * This is for backward compatibility with existing code that didn't
79
- * add a \`<p>\` around edge labels.
80
- *
81
- * TODO: We should probably remove this in a future release.
82
- */
83
- p {
84
- margin: 0;
85
- padding: 0;
86
- display: inline;
87
- }
88
- rect {
89
- opacity: 0.5;
90
- background-color: ${e.edgeLabelBackground};
91
- fill: ${e.edgeLabelBackground};
92
- }
93
- text-align: center;
94
- }
95
-
96
- /* For html labels only */
97
- .labelBkg {
98
- background-color: ${e.edgeLabelBackground};
99
- }
100
-
101
- .node .cluster {
102
- // fill: ${ue(e.mainBkg,0.5)};
103
- fill: ${ue(e.clusterBkg,0.5)};
104
- stroke: ${ue(e.clusterBorder,0.2)};
105
- box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
106
- stroke-width: 1px;
107
- }
108
-
109
- .cluster text {
110
- fill: ${e.titleColor};
111
- }
112
-
113
- .cluster span {
114
- color: ${e.titleColor};
115
- }
116
- /* .cluster div {
117
- color: ${e.titleColor};
118
- } */
119
-
120
- div.mermaidTooltip {
121
- position: absolute;
122
- text-align: center;
123
- max-width: 200px;
124
- padding: 2px;
125
- font-family: ${e.fontFamily};
126
- font-size: 12px;
127
- background: ${e.tertiaryColor};
128
- border: 1px solid ${e.border2};
129
- border-radius: 2px;
130
- pointer-events: none;
131
- z-index: 100;
132
- }
133
-
134
- .flowchartTitleText {
135
- text-anchor: middle;
136
- font-size: 18px;
137
- fill: ${e.textColor};
138
- }
139
- ${Et()}
140
- `,"getStyles"),yt=kt;function de(e,o){if(e===0||!Number.isInteger(e))throw Error("Columns must be an integer !== 0.");if(o<0||!Number.isInteger(o))throw Error("Position must be a non-negative integer."+o);if(e<0)return{px:o,py:0};if(e===1)return{px:0,py:o};let c=o%e,a=Math.floor(o/e);return{px:c,py:a}}t(de,"calculateBlockPosition");var wt=t((e)=>{let o=0,c=0;for(let a of e.children){let{width:h,height:f,x:r,y:p}=a.size??{width:0,height:0,x:0,y:0};if(i.debug("getMaxChildSize abc95 child:",a.id,"width:",h,"height:",f,"x:",r,"y:",p,a.type),a.type==="space")continue;let y=h/(a.widthInColumns??1);if(y>o)o=y;if(f>c)c=f}return{width:o,height:c}},"getMaxChildSize");function ee(e,o,c=0,a=0,h=8){if(i.debug("setBlockSizes abc95 (start)",e.id,e?.size?.x,"block width =",e?.size,"siblingWidth",c),!e?.size?.width)e.size={width:c,height:a,x:0,y:0};let f=0,r=0;if(e.children?.length>0){for(let k of e.children)ee(k,o,0,0,h);let p=wt(e);f=p.width,r=p.height,i.debug("setBlockSizes abc95 maxWidth of",e.id,":s children is ",f,r);for(let k of e.children)if(k.size)i.debug(`abc95 Setting size of children of ${e.id} id=${k.id} ${f} ${r} ${JSON.stringify(k.size)}`),k.size.width=f*(k.widthInColumns??1)+h*((k.widthInColumns??1)-1),k.size.height=r,k.size.x=0,k.size.y=0,i.debug(`abc95 updating size of ${e.id} children child:${k.id} maxWidth:${f} maxHeight:${r}`);for(let k of e.children)ee(k,o,f,r,h);let y=e.columns??-1,w=0;for(let k of e.children)w+=k.widthInColumns??1;let m=e.children.length;if(y>0&&y<w)m=y;let x=Math.ceil(w/m),E=m*(f+h)+h,D=x*(r+h)+h;if(E<c){i.debug(`Detected to small sibling: abc95 ${e.id} siblingWidth ${c} siblingHeight ${a} width ${E}`),E=c,D=a;let k=(c-m*h-h)/m,N=(a-x*h-h)/x;i.debug("Size indata abc88",e.id,"childWidth",k,"maxWidth",f),i.debug("Size indata abc88",e.id,"childHeight",N,"maxHeight",r),i.debug("Size indata abc88 xSize",m,"padding",h);for(let T of e.children)if(T.size)T.size.width=k,T.size.height=N,T.size.x=0,T.size.y=0}if(i.debug(`abc95 (finale calc) ${e.id} xSize ${m} ySize ${x} columns ${y}${e.children.length} width=${Math.max(E,e.size?.width||0)}`),E<(e?.size?.width||0)){E=e?.size?.width||0;let k=y>0?Math.min(e.children.length,y):e.children.length;if(k>0){let N=(E-k*h-h)/k;i.debug("abc95 (growing to fit) width",e.id,E,e.size?.width,N);for(let T of e.children)if(T.size)T.size.width=N}}e.size={width:E,height:D,x:0,y:0}}i.debug("setBlockSizes abc94 (done)",e.id,e?.size?.x,e?.size?.width,e?.size?.y,e?.size?.height)}t(ee,"setBlockSizes");function Se(e,o,c=8){i.debug(`abc85 layout blocks (=>layoutBlocks) ${e.id} x: ${e?.size?.x} y: ${e?.size?.y} width: ${e?.size?.width}`);let a=e.columns??-1;if(i.debug("layoutBlocks columns abc95",e.id,"=>",a,e),e.children&&e.children.length>0){let h=e?.children[0]?.size?.width??0,f=e.children.length*h+(e.children.length-1)*c;i.debug("widthOfChildren 88",f,"posX");let r=new Map;{let x=0;for(let E of e.children){if(!E.size)continue;let{py:D}=de(a,x),k=r.get(D)??0;if(E.size.height>k)r.set(D,E.size.height);let N=E?.widthInColumns??1;if(a>0)N=Math.min(N,a-x%a);x+=N}}let p=new Map;{let x=0,E=[...r.keys()].sort((D,k)=>D-k);for(let D of E)p.set(D,x),x+=(r.get(D)??0)+c}let y=0;i.debug("abc91 block?.size?.x",e.id,e?.size?.x);let w=e?.size?.x?e?.size?.x+(-e?.size?.width/2||0):-c,m=0;for(let x of e.children){let E=e;if(!x.size)continue;let{width:D,height:k}=x.size,{px:N,py:T}=de(a,y);if(T!=m)m=T,w=e?.size?.x?e?.size?.x+(-e?.size?.width/2||0):-c,i.debug("New row in layout for block",e.id," and child ",x.id,m);if(i.debug(`abc89 layout blocks (child) id: ${x.id} Pos: ${y} (px, py) ${N},${T} (${E?.size?.x},${E?.size?.y}) parent: ${E.id} width: ${D}${c}`),E.size){let z=D/2;x.size.x=w+c+z,i.debug(`abc91 layout blocks (calc) px, pyid:${x.id} startingPos=X${w} new startingPosX${x.size.x} ${z} padding=${c} width=${D} halfWidth=${z} => x:${x.size.x} y:${x.size.y} ${x.widthInColumns} (width * (child?.w || 1)) / 2 ${D*(x?.widthInColumns??1)/2}`),w=x.size.x+z;let B=p.get(T)??0,b=r.get(T)??k;x.size.y=E.size.y-E.size.height/2+B+b/2+c,i.debug(`abc88 layout blocks (calc) px, pyid:${x.id}startingPosX${w}${c}${z}=>x:${x.size.x}y:${x.size.y}${x.widthInColumns}(width * (child?.w || 1)) / 2${D*(x?.widthInColumns??1)/2}`)}if(x.children)Se(x,o,c);let O=x?.widthInColumns??1;if(a>0)O=Math.min(O,a-y%a);y+=O,i.debug("abc88 columnsPos",x,y)}}i.debug(`layout blocks (<==layoutBlocks) ${e.id} x: ${e?.size?.x} y: ${e?.size?.y} width: ${e?.size?.width}`)}t(Se,"layoutBlocks");function xe(e,{minX:o,minY:c,maxX:a,maxY:h}={minX:0,minY:0,maxX:0,maxY:0}){if(e.size&&e.id!=="root"){let{x:f,y:r,width:p,height:y}=e.size;if(f-p/2<o)o=f-p/2;if(r-y/2<c)c=r-y/2;if(f+p/2>a)a=f+p/2;if(r+y/2>h)h=r+y/2}if(e.children)for(let f of e.children)({minX:o,minY:c,maxX:a,maxY:h}=xe(f,{minX:o,minY:c,maxX:a,maxY:h}));return{minX:o,minY:c,maxX:a,maxY:h}}t(xe,"findBounds");function Ye(e){let o=e.getBlock("root");if(!o)return;let c=d()?.block?.padding??8;ee(o,e,0,0,c),Se(o,e,c),i.debug("getBlocks",JSON.stringify(o,null,2));let{minX:a,minY:h,maxX:f,maxY:r}=xe(o),p=r-h,y=f-a;return{x:a,y:h,width:y,height:p}}t(Ye,"layout");function me(e,o,c=!1){let a=e,h="default";if((a?.classes?.length||0)>0)h=(a?.classes??[]).join(" ");h=h+" flowchart-label";let f=(a?.classes??[]).flatMap((k)=>o.getClasses().get(k)?.styles??[]),r=0,p="rect",y;switch(a.type){case"round":r=5,p="rect";break;case"composite":r=0,p="composite",y=0;break;case"square":p="rect";break;case"diamond":p="question";break;case"hexagon":p="hexagon";break;case"block_arrow":p="block_arrow";break;case"odd":p="rect_left_inv_arrow";break;case"lean_right":p="lean_right";break;case"lean_left":p="lean_left";break;case"trapezoid":p="trapezoid";break;case"inv_trapezoid":p="inv_trapezoid";break;case"rect_left_inv_arrow":p="rect_left_inv_arrow";break;case"circle":p="circle";break;case"ellipse":p="ellipse";break;case"stadium":p="stadium";break;case"subroutine":p="subroutine";break;case"cylinder":p="cylinder";break;case"group":p="rect";break;case"doublecircle":p="doublecircle";break;default:p="rect"}let w=Qo(a?.styles??[]),m=a.label,x=a.size??{width:0,height:0,x:0,y:0},E=o.getDiagramId();return{labelStyle:w.labelStyle,shape:p,label:m,labelText:m,rx:r,ry:r,class:h,cssClasses:h,cssStyles:a?.styles??[],cssCompiledStyles:f,style:w.style,id:a.id,domId:E?`${E}-${a.id}`:a.id,isGroup:!1,directions:a.directions,width:x.width||void 0,height:x.height||void 0,wrappingWidth:x.width||Number.POSITIVE_INFINITY,x:x.x,y:x.y,positioned:c,intersect:void 0,padding:y??A()?.block?.padding??0,widthInColumns:a.widthInColumns??1,colorIndex:a.colorIndex,look:A().look}}t(me,"getNodeFromBlock");async function We(e,o,c){let a=me(o,c,!1);if(o.type==="group")return;let h=A(),f=await kn(e,a,{config:h}),r=f.node()?.getBBox()??{width:0,height:0},p=c.getBlock(a.id);p.size={width:r.width,height:r.height,x:0,y:0,node:f},c.setBlock(p),f.remove()}t(We,"calculateBlockSize");async function Ve(e,o,c){let a=me(o,c,!0);if(c.getBlock(a.id).type!=="space"){let f=A(),r=await kn(e,a,{config:f});if(a.colorIndex!==void 0)$t(r,a.colorIndex,f.theme,f.themeVariables?.borderColorArray);o.intersect=a?.intersect,mn(a)}}t(Ve,"insertBlockPositioned");async function te(e,o,c,a){for(let h of o)if(await a(e,h,c),h.children)await te(e,h.children,c,a)}t(te,"performOperations");async function Ue(e,o,c){await te(e,o,c,We)}t(Ue,"calculateBlockSizes");async function He(e,o,c){await te(e,o,c,Ve)}t(He,"insertBlocks");async function Xe(e,o,c,a,h){let f=new _e({multigraph:!0,compound:!0});f.setGraph({rankdir:"TB",nodesep:10,ranksep:10,marginx:8,marginy:8});for(let r of c)if(r.size)f.setNode(r.id,{width:r.size.width,height:r.size.height,intersect:r.intersect});for(let r of o)if(r.start&&r.end){let p=a.getBlock(r.start),y=a.getBlock(r.end);if(p?.size&&y?.size){let w=p.size,m=y.size,x=[{x:w.x,y:w.y},{x:w.x+(m.x-w.x)/2,y:w.y+(m.y-w.y)/2},{x:m.x,y:m.y}],E=h?`${h}-${r.id}`:r.id,D=r.thickness==="thick"?"edge-thickness-thick":"edge-thickness-normal",k=r.pattern==="dotted"?"edge-pattern-dotted":"edge-pattern-solid",N=`${D} ${k} flowchart-link LS-a1 LE-b1`;if(or(e,{...r,id:E,arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:x,classes:N},{},"block",f.node(r.start),f.node(r.end),h),r.label)await Cn(e,{...r,label:r.label,labelStyle:"stroke: #333; stroke-width: 1.5px;fill:none;",arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:x,classes:N}),fa({...r,x:x[1].x,y:x[1].y},{originalPath:x})}}}t(Xe,"insertEdges");var _t=t(function(e,o){return o.db.getClasses()},"getClasses"),Dt=t(async function(e,o,c,a){let{securityLevel:h,block:f}=A(),r=a.db;r.setDiagramId(o);let p;if(h==="sandbox")p=g("#i"+o);let y=h==="sandbox"?g(p.nodes()[0].contentDocument.body):g("body"),w=h==="sandbox"?y.select(`[id="${o}"]`):g(`[id="${o}"]`);Po(w,A()),ha(w,["point","circle","cross"],a.type,o);let x=r.getBlocks(),E=r.getBlocksFlat(),D=r.getEdges(),k=w.insert("g").attr("class","block");await Ue(k,x,r);let N=Ye(r);await He(k,x,r),await Xe(k,D,E,r,o);let T=k.node()?.getBBox(),O=T&&Number.isFinite(T.width)&&Number.isFinite(T.height)?T:N;if(O){let z=Math.max(1,Math.round(0.125*(O.width/O.height))),B=O.height+z+10,b=O.width+10,{useMaxWidth:n}=f;Y(w,B,b,!!n),i.debug("Here Bounds",N,O),w.attr("viewBox",`${O.x-5} ${O.y-5} ${O.width+10} ${O.height+10}`)}},"draw"),Tt={draw:Dt,getClasses:_t},tr={parser:$e,db:mt,renderer:Tt,styles:yt};export{tr as diagram};
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{N,a,e,n,nt,Qt,Z,he,dc}from"./chunk-hxsrph02.js";function T(t){let i=N(nt);i?.useTheme?.();let s=t.payload,[o,m]=a(!1);if(!s||s.state==="pending")return null;let h=s.questions.map((r)=>r.header).join(" · "),l=s.state==="answered",u=l?Z:Qt,d=l?"text-success":"text-faint",f=l?"已回答":s.state==="dismissed"?"已忽略提问":"提问已取消",p=l?C(s):h;if(i){let{Collapsible:r,CollapsibleTrigger:y,CollapsibleContent:v,Chevron:b,cn:g}=i;return n(r,{open:o,onOpenChange:m,className:"w-full text-xs text-ink/90 animate-fade",children:[n(y,{className:i.style("chat.timelineRow","cursor-pointer select-none"),children:[e("span",{className:"flex size-4 shrink-0 items-center justify-center",children:e(u,{className:g("size-3.5",d)})}),e("span",{className:"shrink-0",children:f}),e("span",{className:"min-w-0 flex-1 truncate opacity-80",title:p,children:p}),e(b,{className:"size-3.5 shrink-0 text-faint opacity-0 transition-opacity group-hover/collapsible:opacity-100 group-data-[state=open]/collapsible:opacity-100"})]}),e(v,{children:e("div",{className:"mt-0.5 mb-1.5 ml-2 border-l border-line py-1 pl-[15px]",children:e(x,{question:s})})})]})}return n("div",{role:"status",className:"w-full animate-fade",children:[n("button",{type:"button","aria-expanded":o,className:"group -mx-2 flex w-[calc(100%+1rem)] cursor-pointer items-center gap-2 rounded-lg px-2 py-1 text-left text-xs text-faint transition-colors select-none hover:bg-raised/60 hover:text-dim",onClick:()=>m((r)=>!r),children:[e("span",{className:"flex size-4 shrink-0 items-center justify-center",children:e(u,{className:`size-3.5 shrink-0 ${d}`})}),e("span",{className:"shrink-0",children:f}),e("span",{className:"min-w-0 flex-1 truncate opacity-80",title:p,children:p}),e(he,{className:`size-3.5 shrink-0 text-faint opacity-0 transition-[opacity,transform] group-hover:opacity-100 ${o?"rotate-180 opacity-100":""}`})]}),o&&e("div",{className:"mt-0.5 mb-1.5 ml-2 border-l border-line py-1 pl-[15px]",children:e(x,{question:s})})]})}function c(t){if(!t)return"未作答";let i=t.selected.map((s)=>dc(s).title);if(t.other)i.push(`其他:${t.other}`);return i.length?i.join("、"):"未作答"}function C(t){if(t.questions.length===1)return`${t.questions[0]?.header??""} · ${c(t.answers?.[0])}`;return t.questions.map((i,s)=>`${i.header} → ${c(t.answers?.[s])}`).join(";")}function x(t){let i=t.question;return e("div",{className:"space-y-2 text-xs",children:i.questions.map((s,o)=>n("div",{className:"space-y-0.5",children:[n("div",{className:"text-dim",children:[e("span",{className:"font-medium text-ink/90",children:s.header})," · ",s.question]}),e("div",{className:"text-ink",children:c(i.answers?.[o])})]},s.header))})}export{T as QuestionCard};
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{Ps}from"./chunk-508cpafz.js";export{Ps as createTreemapServices};
Binary file
Binary file
@@ -1,2 +0,0 @@
1
- import{t,i,A,d,H,j,wn,kn,Dc,mn,ir,Oc,ma,mt,$c,oc,Cn,sc,or,ha}from"./chunk-eq59kad4.js";import{_e}from"./chunk-zapwrc5k.js";import{S}from"./chunk-hxsrph02.js";function oo(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(oo,"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 so(e,r,n){let o=await kn(e,r,n),s=o.node()?.getBBox()??{width:0,height:0};return r.width=s.width,r.height=s.height,o}t(so,"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=oo(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 so(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 Cn(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("qgv81n98"),import("./chunk-qgv81n98.js"));u(e,r)}return{graph:o,groups:l,nodeElements:g}}t(D,"createGraphWithElements");var ne=new Map,m=new Map,k=new Map,Q=t(()=>{m.clear(),k.clear(),ne.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"),aa=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=aa(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(!ne.has(e))return e;if(!ne.get(e).externalConnections)return e;if(ne.has(e))return ne.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: ",aa(n,e,n)),m.set(n,T(n,e)),ne.set(n,{id:aa(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)),ne.get(n).externalConnections=!0});else i.debug("Not a cluster ",n,m)});for(let n of ne.keys()){let o=ne.get(n).id,s=e.parent(o);if(s!==n&&ne.has(s)&&!ne.get(s).externalConnections)ne.get(n).id=s;let a=e.edges().some((l)=>l.v===n);if(o&&ne.get(n)?.externalConnections&&a&&M(e,o,n)){let l=I(e,n,e.parent(o));if(l)ne.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",ne,"ids:",n.v,n.w,"Translating: ",ne.get(n.v)," --- ",ne.get(n.w)),ne.get(n.v)||ne.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);ne.get(l).externalConnections=!0,o.fromCluster=n.v}if(a!==n.w){let l=e.parent(a);ne.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(ne)},"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,ne,ne.has(s)&&!ne.get(s).externalConnections,!e.parent(s),e.node(s),e.children("D")," Depth ",r),!ne.has(s))i.debug("Not a cluster",s,r);else if(!ne.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(ne.get(s)?.clusterData?.dir)l=ne.get(s).clusterData.dir,i.debug("Fixing dir",ne.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:ne.get(s).clusterData,label:ne.get(s).label,graph:f})}else i.debug("Cluster ** ",s," **not meeting the criteria !externalConnections:",!ne.get(s).externalConnections," no parent: ",!e.parent(s)," children ",e.children(s)&&e.children(s).length>0,e.children("D"),r),i.debug(ne);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"),co=t((e)=>B(e,e.children()),"sortNodesByHierarchy"),M=t((e,r,n)=>{let o=e.parent(r);while(o&&o!==n){let s=ne.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=aa(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??ha)(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)mn(r);else if(F(r,n,o))await ir(e.clusters,r);else mn(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=or(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(!ma.has(r.id))await Cn(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}=wn({flowchart:o.flowchart??{}});if(e.label){let a=ma.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);mt.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{oo,so,ne,aa,xc,co,$a};
Binary file
Binary file
@@ -1,84 +0,0 @@
1
- import{t,nr,i,A,L,M,R,P,I,O,D,d,H,De,Ne,Me,dn,He,Ue}from"./chunk-eq59kad4.js";import{ze}from"./chunk-37hn49td.js";import{Re}from"./chunk-tefm9md2.js";var Be=function(){var e=t(function(X,a,l,c){for(l=l||{},c=X.length;c--;l[X[c]]=a);return l},"o"),f=[1,3],m=[1,4],u=[1,5],n=[1,6],h=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],_=[1,22],q=[2,7],E=[1,26],S=[1,27],T=[1,28],x=[1,29],w=[1,33],F=[1,34],U=[1,35],Y=[1,36],B=[1,37],Q=[1,38],K=[1,24],W=[1,31],j=[1,32],G=[1,30],k=[1,39],g=[1,40],b=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],J=[1,61],ce=[89,90],Qe=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Ce=[27,29],Ke=[1,70],We=[1,71],je=[1,72],Ge=[1,73],Xe=[1,74],Je=[1,75],Ze=[1,76],ue=[1,83],Z=[1,80],me=[1,84],fe=[1,85],de=[1,86],pe=[1,87],Ee=[1,88],be=[1,89],ke=[1,90],ge=[1,91],ye=[1,92],Ae=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],ee=[63,64],et=[1,101],tt=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],C=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],te=[1,110],se=[1,106],ie=[1,107],re=[1,108],ne=[1,109],ae=[1,111],_e=[1,116],Se=[1,117],Ie=[1,114],Te=[1,115],we={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:t(function(a,l,c,r,p,s,qe){var o=s.length-1;switch(p){case 4:this.$=s[o].trim(),r.setAccTitle(this.$);break;case 5:case 6:this.$=s[o].trim(),r.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:r.setDirection("TB");break;case 18:r.setDirection("BT");break;case 19:r.setDirection("RL");break;case 20:r.setDirection("LR");break;case 21:r.addRequirement(s[o-3],s[o-4]);break;case 22:r.addRequirement(s[o-5],s[o-6]),r.setClass([s[o-5]],s[o-3]);break;case 23:r.setNewReqId(s[o-2]);break;case 24:r.setNewReqText(s[o-2]);break;case 25:r.setNewReqRisk(s[o-2]);break;case 26:r.setNewReqVerifyMethod(s[o-2]);break;case 29:this.$=r.RequirementType.REQUIREMENT;break;case 30:this.$=r.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=r.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=r.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=r.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=r.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=r.RiskLevel.LOW_RISK;break;case 36:this.$=r.RiskLevel.MED_RISK;break;case 37:this.$=r.RiskLevel.HIGH_RISK;break;case 38:this.$=r.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=r.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=r.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=r.VerifyType.VERIFY_TEST;break;case 42:r.addElement(s[o-3]);break;case 43:r.addElement(s[o-5]),r.setClass([s[o-5]],s[o-3]);break;case 44:r.setNewElementType(s[o-2]);break;case 45:r.setNewElementDocRef(s[o-2]);break;case 48:r.addRelationship(s[o-2],s[o],s[o-4]);break;case 49:r.addRelationship(s[o-2],s[o-4],s[o]);break;case 50:this.$=r.Relationships.CONTAINS;break;case 51:this.$=r.Relationships.COPIES;break;case 52:this.$=r.Relationships.DERIVES;break;case 53:this.$=r.Relationships.SATISFIES;break;case 54:this.$=r.Relationships.VERIFIES;break;case 55:this.$=r.Relationships.REFINES;break;case 56:this.$=r.Relationships.TRACES;break;case 57:this.$=s[o-2],r.defineClass(s[o-1],s[o]);break;case 58:r.setClass(s[o-1],s[o]);break;case 59:r.setClass([s[o-2]],s[o]);break;case 60:case 62:this.$=[s[o]];break;case 61:case 63:this.$=s[o-2].concat([s[o]]);break;case 64:this.$=s[o-2],r.setCssStyle(s[o-1],s[o]);break;case 65:this.$=[s[o]];break;case 66:s[o-2].push(s[o]),this.$=s[o-2];break;case 68:this.$=s[o-1]+s[o];break}},"anonymous"),table:[{3:1,4:2,6:f,9:m,11:u,13:n},{1:[3]},{3:8,4:2,5:[1,7],6:f,9:m,11:u,13:n},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(h,[2,6]),{3:12,4:2,6:f,9:m,11:u,13:n},{1:[2,2]},{4:17,5:_,7:13,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},e(h,[2,4]),e(h,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:_,7:42,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:43,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:44,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:45,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:46,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:47,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:48,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:49,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:50,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(b,[2,17]),e(b,[2,18]),e(b,[2,19]),e(b,[2,20]),{30:60,33:62,75:J,89:k,90:g},{30:63,33:62,75:J,89:k,90:g},{30:64,33:62,75:J,89:k,90:g},e(ce,[2,29]),e(ce,[2,30]),e(ce,[2,31]),e(ce,[2,32]),e(ce,[2,33]),e(ce,[2,34]),e(Qe,[2,81]),e(Qe,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(Ce,[2,79]),e(Ce,[2,80]),{27:[1,67],29:[1,68]},e(Ce,[2,85]),e(Ce,[2,86]),{62:69,65:Ke,66:We,67:je,68:Ge,69:Xe,70:Je,71:Ze},{62:77,65:Ke,66:We,67:je,68:Ge,69:Xe,70:Je,71:Ze},{30:78,33:62,75:J,89:k,90:g},{73:79,75:ue,76:Z,78:81,79:82,80:me,81:fe,82:de,83:pe,84:Ee,85:be,86:ke,87:ge,88:ye},e(Ae,[2,60]),e(Ae,[2,62]),{73:93,75:ue,76:Z,78:81,79:82,80:me,81:fe,82:de,83:pe,84:Ee,85:be,86:ke,87:ge,88:ye},{30:94,33:62,75:J,76:Z,89:k,90:g},{5:[1,95]},{30:96,33:62,75:J,89:k,90:g},{5:[1,97]},{30:98,33:62,75:J,89:k,90:g},{63:[1,99]},e(ee,[2,50]),e(ee,[2,51]),e(ee,[2,52]),e(ee,[2,53]),e(ee,[2,54]),e(ee,[2,55]),e(ee,[2,56]),{64:[1,100]},e(b,[2,59],{76:Z}),e(b,[2,64],{76:et}),{33:103,75:[1,102],89:k,90:g},e(tt,[2,65],{79:104,75:ue,80:me,81:fe,82:de,83:pe,84:Ee,85:be,86:ke,87:ge,88:ye}),e(C,[2,67]),e(C,[2,69]),e(C,[2,70]),e(C,[2,71]),e(C,[2,72]),e(C,[2,73]),e(C,[2,74]),e(C,[2,75]),e(C,[2,76]),e(C,[2,77]),e(C,[2,78]),e(b,[2,57],{76:et}),e(b,[2,58],{76:Z}),{5:te,28:105,31:se,34:ie,36:re,38:ne,40:ae},{27:[1,112],76:Z},{5:_e,40:Se,56:113,57:Ie,59:Te},{27:[1,118],76:Z},{33:119,89:k,90:g},{33:120,89:k,90:g},{75:ue,78:121,79:82,80:me,81:fe,82:de,83:pe,84:Ee,85:be,86:ke,87:ge,88:ye},e(Ae,[2,61]),e(Ae,[2,63]),e(C,[2,68]),e(b,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:te,28:126,31:se,34:ie,36:re,38:ne,40:ae},e(b,[2,28]),{5:[1,127]},e(b,[2,42]),{32:[1,128]},{32:[1,129]},{5:_e,40:Se,56:130,57:Ie,59:Te},e(b,[2,47]),{5:[1,131]},e(b,[2,48]),e(b,[2,49]),e(tt,[2,66],{79:104,75:ue,80:me,81:fe,82:de,83:pe,84:Ee,85:be,86:ke,87:ge,88:ye}),{33:132,89:k,90:g},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(b,[2,27]),{5:te,28:145,31:se,34:ie,36:re,38:ne,40:ae},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(b,[2,46]),{5:_e,40:Se,56:152,57:Ie,59:Te},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(b,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(b,[2,43]),{5:te,28:159,31:se,34:ie,36:re,38:ne,40:ae},{5:te,28:160,31:se,34:ie,36:re,38:ne,40:ae},{5:te,28:161,31:se,34:ie,36:re,38:ne,40:ae},{5:te,28:162,31:se,34:ie,36:re,38:ne,40:ae},{5:_e,40:Se,56:163,57:Ie,59:Te},{5:_e,40:Se,56:164,57:Ie,59:Te},e(b,[2,23]),e(b,[2,24]),e(b,[2,25]),e(b,[2,26]),e(b,[2,44]),e(b,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:t(function(a,l){if(l.recoverable)this.trace(a);else{var c=Error(a);throw c.hash=l,c}},"parseError"),parse:t(function(a){var l=this,c=[0],r=[],p=[null],s=[],qe=this.table,o="",ve=0,st=0,it=0,ct=2,rt=1,ht=s.slice.call(arguments,1),y=Object.create(this.lexer),le={yy:{}};for(var Oe in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,Oe))le.yy[Oe]=this.yy[Oe];if(y.setInput(a,le.yy),le.yy.lexer=y,le.yy.parser=this,typeof y.yylloc>"u")y.yylloc={};var Fe=y.yylloc;s.push(Fe);var ut=y.options&&y.options.ranges;if(typeof le.yy.parseError==="function")this.parseError=le.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function mt(v){c.length=c.length-2*v,p.length=p.length-v,s.length=s.length-v}t(mt,"popStack");function nt(){var v=r.pop()||y.lex()||rt;if(typeof v!=="number"){if(v instanceof Array)r=v,v=r.pop();v=l.symbols_[v]||v}return v}t(nt,"lex");var N,$e,oe,V,kt,Pe,he={},Le,z,at,xe;while(!0){if(oe=c[c.length-1],this.defaultActions[oe])V=this.defaultActions[oe];else{if(N===null||typeof N>"u")N=nt();V=qe[oe]&&qe[oe][N]}if(typeof V>"u"||!V.length||!V[0]){var Ye="";xe=[];for(Le in qe[oe])if(this.terminals_[Le]&&Le>ct)xe.push("'"+this.terminals_[Le]+"'");if(y.showPosition)Ye="Parse error on line "+(ve+1)+`:
2
- `+y.showPosition()+`
3
- Expecting `+xe.join(", ")+", got '"+(this.terminals_[N]||N)+"'";else Ye="Parse error on line "+(ve+1)+": Unexpected "+(N==rt?"end of input":"'"+(this.terminals_[N]||N)+"'");this.parseError(Ye,{text:y.match,token:this.terminals_[N]||N,line:y.yylineno,loc:Fe,expected:xe})}if(V[0]instanceof Array&&V.length>1)throw Error("Parse Error: multiple actions possible at state: "+oe+", token: "+N);switch(V[0]){case 1:if(c.push(N),p.push(y.yytext),s.push(y.yylloc),c.push(V[1]),N=null,!$e){if(st=y.yyleng,o=y.yytext,ve=y.yylineno,Fe=y.yylloc,it>0)it--}else N=$e,$e=null;break;case 2:if(z=this.productions_[V[1]][1],he.$=p[p.length-z],he._$={first_line:s[s.length-(z||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(z||1)].first_column,last_column:s[s.length-1].last_column},ut)he._$.range=[s[s.length-(z||1)].range[0],s[s.length-1].range[1]];if(Pe=this.performAction.apply(he,[o,st,ve,le.yy,V[1],p,s].concat(ht)),typeof Pe<"u")return Pe;if(z)c=c.slice(0,-1*z*2),p=p.slice(0,-1*z),s=s.slice(0,-1*z);c.push(this.productions_[V[1]][0]),p.push(he.$),s.push(he._$),at=qe[c[c.length-2]][c[c.length-1]],c.push(at);break;case 3:return!0}}return!0},"parse")},ot=function(){var X={EOF:1,parseError:t(function(l,c){if(this.yy.parser)this.yy.parser.parseError(l,c);else throw Error(l)},"parseError"),setInput:t(function(a,l){if(this.yy=l||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={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 a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var l=a.match(/(?:\r\n?|\n).*/g);if(l)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),a},"input"),unput:t(function(a){var l=a.length,c=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var r=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),c.length-1)this.yylineno-=c.length-1;var p=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:c?(c.length===r.length?this.yylloc.first_column:0)+r[r.length-c.length].length-c[0].length:this.yylloc.first_column-l},this.options.ranges)this.yylloc.range=[p[0],p[0]+this.yyleng-l];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(a){this.unput(this.match.slice(a))},"less"),pastInput:t(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var a=this.match;if(a.length<20)a+=this._input.substr(0,20-a.length);return(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var a=this.pastInput(),l=Array(a.length+1).join("-");return a+this.upcomingInput()+`
5
- `+l+"^"},"showPosition"),test_match:t(function(a,l){var c,r,p;if(this.options.backtrack_lexer){if(p={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)p.yylloc.range=this.yylloc.range.slice(0)}if(r=a[0].match(/(?:\r\n?|\n).*/g),r)this.yylineno+=r.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],c=this.performAction.call(this,this.yy,this,l,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(c)return c;else if(this._backtrack){for(var s in p)this[s]=p[s];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var a,l,c,r;if(!this._more)this.yytext="",this.match="";var p=this._currentRules();for(var s=0;s<p.length;s++)if(c=this._input.match(this.rules[p[s]]),c&&(!l||c[0].length>l[0].length)){if(l=c,r=s,this.options.backtrack_lexer)if(a=this.test_match(c,p[s]),a!==!1)return a;else if(this._backtrack){l=!1;continue}else return!1;else if(!this.options.flex)break}if(l){if(a=this.test_match(l,p[r]),a!==!1)return a;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 l=this.next();if(l)return l;else return this.lex()},"lex"),begin:t(function(l){this.conditionStack.push(l)},"begin"),popState:t(function(){var l=this.conditionStack.length-1;if(l>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(l){if(l=this.conditionStack.length-1-Math.abs(l||0),l>=0)return this.conditionStack[l];else return"INITIAL"},"topState"),pushState:t(function(l){this.begin(l)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(l,c,r,p){var s=p;switch(r){case 0:return"title";case 1:return this.begin("acc_title"),9;break;case 2:return this.popState(),"acc_title_value";break;case 3:return this.begin("acc_descr"),11;break;case 4:return this.popState(),"acc_descr_value";break;case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:return 21;case 9:return 22;case 10:return 23;case 11:return 24;case 12:return 5;case 13:break;case 14:break;case 15:break;case 16:return 8;case 17:return 6;case 18:return 27;case 19:return 40;case 20:return 29;case 21:return 32;case 22:return 31;case 23:return 34;case 24:return 36;case 25:return 38;case 26:return 41;case 27:return 42;case 28:return 43;case 29:return 44;case 30:return 45;case 31:return 46;case 32:return 47;case 33:return 48;case 34:return 49;case 35:return 50;case 36:return 51;case 37:return 52;case 38:return 53;case 39:return 54;case 40:return 65;case 41:return 66;case 42:return 67;case 43:return 68;case 44:return 69;case 45:return 70;case 46:return 71;case 47:return 57;case 48:return 59;case 49:return this.begin("style"),77;break;case 50:return 75;case 51:return 81;case 52:return 88;case 53:return"PERCENT";case 54:return 86;case 55:return 84;case 56:break;case 57:this.begin("string");break;case 58:this.popState();break;case 59:return this.begin("style"),72;break;case 60:return this.begin("style"),74;break;case 61:return 61;case 62:return 64;case 63:return 63;case 64:this.begin("string");break;case 65:this.popState();break;case 66:return"qString";case 67:return c.yytext=c.yytext.trim(),89;break;case 68:return 75;case 69:return 80;case 70:return 76}},"anonymous"),rules:[/^(?:title\s[^#\n;]+)/i,/^(?: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,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::{3})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:style\b)/i,/^(?:\w+)/i,/^(?::)/i,/^(?:;)/i,/^(?:%)/i,/^(?:-)/i,/^(?:#)/i,/^(?: )/i,/^(?:["])/i,/^(?:\n)/i,/^(?:classDef\b)/i,/^(?:class\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^:,\r\n\{\<\>\-\=]*)/i,/^(?:\w+)/i,/^(?:[0-9]+)/i,/^(?:,)/i],conditions:{acc_descr_multiline:{rules:[6,7,68,69,70],inclusive:!1},acc_descr:{rules:[4,68,69,70],inclusive:!1},acc_title:{rules:[2,68,69,70],inclusive:!1},style:{rules:[50,51,52,53,54,55,56,57,58,68,69,70],inclusive:!1},unqString:{rules:[68,69,70],inclusive:!1},token:{rules:[68,69,70],inclusive:!1},string:{rules:[65,66,68,69,70],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,59,60,61,62,63,64,67,68,69,70],inclusive:!0}}};return X}();we.lexer=ot;function Ve(){this.yy={}}return t(Ve,"Parser"),Ve.prototype=we,we.Parser=Ve,new Ve}();Be.parser=Be;var ft=Be,dt=class{constructor(){this.relations=[],this.latestRequirement=this.getInitialRequirement(),this.requirements=new Map,this.latestElement=this.getInitialElement(),this.elements=new Map,this.classes=new Map,this.direction="TB",this.RequirementType={REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},this.RiskLevel={LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},this.VerifyType={VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},this.Relationships={CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},this.setAccTitle=M,this.getAccTitle=R,this.setAccDescription=P,this.getAccDescription=I,this.setDiagramTitle=O,this.getDiagramTitle=D,this.getConfig=t(()=>d().requirement,"getConfig"),this.clear(),this.setDirection=this.setDirection.bind(this),this.addRequirement=this.addRequirement.bind(this),this.setNewReqId=this.setNewReqId.bind(this),this.setNewReqRisk=this.setNewReqRisk.bind(this),this.setNewReqText=this.setNewReqText.bind(this),this.setNewReqVerifyMethod=this.setNewReqVerifyMethod.bind(this),this.addElement=this.addElement.bind(this),this.setNewElementType=this.setNewElementType.bind(this),this.setNewElementDocRef=this.setNewElementDocRef.bind(this),this.addRelationship=this.addRelationship.bind(this),this.setCssStyle=this.setCssStyle.bind(this),this.setClass=this.setClass.bind(this),this.defineClass=this.defineClass.bind(this),this.setAccTitle=this.setAccTitle.bind(this),this.setAccDescription=this.setAccDescription.bind(this)}static{t(this,"RequirementDB")}getDirection(){return this.direction}setDirection(e){this.direction=e}resetLatestRequirement(){this.latestRequirement=this.getInitialRequirement()}resetLatestElement(){this.latestElement=this.getInitialElement()}getInitialRequirement(){return{requirementId:"",text:"",risk:"",verifyMethod:"",name:"",type:"",cssStyles:[],classes:["default"]}}getInitialElement(){return{name:"",type:"",docRef:"",cssStyles:[],classes:["default"]}}addRequirement(e,f){if(!this.requirements.has(e))this.requirements.set(e,{name:e,type:f,requirementId:this.latestRequirement.requirementId,text:this.latestRequirement.text,risk:this.latestRequirement.risk,verifyMethod:this.latestRequirement.verifyMethod,cssStyles:[],classes:["default"]});return this.resetLatestRequirement(),this.requirements.get(e)}getRequirements(){return this.requirements}setNewReqId(e){if(this.latestRequirement!==void 0)this.latestRequirement.requirementId=e}setNewReqText(e){if(this.latestRequirement!==void 0)this.latestRequirement.text=e}setNewReqRisk(e){if(this.latestRequirement!==void 0)this.latestRequirement.risk=e}setNewReqVerifyMethod(e){if(this.latestRequirement!==void 0)this.latestRequirement.verifyMethod=e}addElement(e){if(!this.elements.has(e))this.elements.set(e,{name:e,type:this.latestElement.type,docRef:this.latestElement.docRef,cssStyles:[],classes:["default"]}),i.info("Added new element: ",e);return this.resetLatestElement(),this.elements.get(e)}getElements(){return this.elements}setNewElementType(e){if(this.latestElement!==void 0)this.latestElement.type=e}setNewElementDocRef(e){if(this.latestElement!==void 0)this.latestElement.docRef=e}addRelationship(e,f,m){this.relations.push({type:e,src:f,dst:m})}getRelationships(){return this.relations}clear(){this.relations=[],this.resetLatestRequirement(),this.requirements=new Map,this.resetLatestElement(),this.elements=new Map,this.classes=new Map,L()}setCssStyle(e,f){for(let m of e){let u=this.requirements.get(m)??this.elements.get(m);if(!f||!u)return;for(let n of f)if(n.includes(","))u.cssStyles.push(...n.split(","));else u.cssStyles.push(n)}}setClass(e,f){for(let m of e){let u=this.requirements.get(m)??this.elements.get(m);if(u)for(let n of f){u.classes.push(n);let h=this.classes.get(n)?.styles;if(h)u.cssStyles.push(...h)}}}defineClass(e,f){for(let m of e){let u=this.classes.get(m);if(u===void 0)u={id:m,styles:[],textStyles:[]},this.classes.set(m,u);if(f)f.forEach(function(n){if(/color/.exec(n)){let h=n.replace("fill","bgFill");u.textStyles.push(h)}u.styles.push(n)});this.requirements.forEach((n)=>{if(n.classes.includes(m))n.cssStyles.push(...f.flatMap((h)=>h.split(",")))}),this.elements.forEach((n)=>{if(n.classes.includes(m))n.cssStyles.push(...f.flatMap((h)=>h.split(",")))})}}getClasses(){return this.classes}getData(){let e=d(),f=[],m=[];for(let n of this.requirements.values()){let h=n;h.id=n.name,h.cssStyles=n.cssStyles,h.cssClasses=n.classes.join(" "),h.shape="requirementBox",h.look=e.look,h.colorIndex=f.length,f.push(h)}for(let n of this.elements.values()){let h=n;h.shape="requirementBox",h.look=e.look,h.id=n.name,h.cssStyles=n.cssStyles,h.cssClasses=n.classes.join(" "),h.colorIndex=f.length,f.push(h)}let u=0;for(let n of this.relations){let h=n.type===this.Relationships.CONTAINS,_={id:`${n.src}-${n.dst}-${u++}`,start:this.requirements.get(n.src)?.name??this.elements.get(n.src)?.name,end:this.requirements.get(n.dst)?.name??this.elements.get(n.dst)?.name,label:`&lt;&lt;${n.type}&gt;&gt;`,classes:"relationshipLine",style:["fill:none",h?"":"stroke-dasharray: 10,7"],labelpos:"c",thickness:"normal",type:"normal",pattern:h?"normal":"dashed",arrowTypeStart:h?"requirement_contains":"",arrowTypeEnd:h?"":"requirement_arrow",look:e.look,labelType:"markdown"};m.push(_)}return{nodes:f,edges:m,other:{},config:e,direction:this.getDirection()}}},pt=t(()=>{let e=A(),{theme:f,themeVariables:m}=e,{bkgColorArray:u,borderColorArray:n}=m;if(!Ne(f,n))return"";let h=Me(e.look),_="",q=De(u);for(let E=0;E<dn(n);E++){let S=n[E],T=q?`fill: ${u[E%u.length]};`:"";_+=`
7
-
8
- [data-look="${h}"][data-color-id="color-${E}"].node path {
9
- stroke: ${S};
10
- ${T}
11
- }
12
-
13
- [data-look="${h}"][data-color-id="color-${E}"].node rect {
14
- stroke: ${S};
15
- ${T}
16
- }
17
- `}return _},"genColor"),Et=t((e)=>{let f=A(),{look:m,themeVariables:u}=f,{requirementEdgeLabelBackground:n}=u;return`
18
- ${pt()}
19
- marker {
20
- fill: ${e.relationColor};
21
- stroke: ${e.relationColor};
22
- }
23
-
24
- marker.cross {
25
- stroke: ${e.lineColor};
26
- }
27
-
28
- svg {
29
- font-family: ${e.fontFamily};
30
- font-size: ${e.fontSize};
31
- }
32
-
33
- .reqBox {
34
- fill: ${e.requirementBackground};
35
- fill-opacity: 1.0;
36
- stroke: ${e.requirementBorderColor};
37
- stroke-width: ${e.requirementBorderSize};
38
- }
39
-
40
- .reqTitle, .reqLabel{
41
- fill: ${e.requirementTextColor};
42
- }
43
- .reqLabelBox {
44
- fill: ${e.relationLabelBackground};
45
- fill-opacity: 1.0;
46
- }
47
-
48
- .req-title-line {
49
- stroke: ${e.requirementBorderColor};
50
- stroke-width: ${e.requirementBorderSize};
51
- }
52
- .relationshipLine {
53
- stroke: ${e.relationColor};
54
- stroke-width: ${m==="neo"?e.strokeWidth:"1px"};
55
- }
56
- .relationshipLabel {
57
- fill: ${e.relationLabelColor};
58
- }
59
- .edgeLabel {
60
- background-color: ${e.edgeLabelBackground};
61
- }
62
- .edgeLabel .label rect {
63
- fill: ${e.edgeLabelBackground};
64
- }
65
- .edgeLabel .label text {
66
- fill: ${e.relationLabelColor};
67
- }
68
- .divider {
69
- stroke: ${e.nodeBorder};
70
- stroke-width: 1;
71
- }
72
- .label {
73
- font-family: ${e.fontFamily};
74
- color: ${e.nodeTextColor||e.textColor};
75
- }
76
- .label text,span {
77
- fill: ${e.nodeTextColor||e.textColor};
78
- color: ${e.nodeTextColor||e.textColor};
79
- }
80
- .labelBkg {
81
- background-color: ${n??e.edgeLabelBackground};
82
- }
83
-
84
- `},"getStyles"),bt=Et,lt={};nr(lt,{draw:()=>Rt});var Rt=t(async function(e,f,m,u){i.info("REF0:"),i.info("Drawing requirement diagram (unified)",f);let{securityLevel:n,state:h,layout:_,look:q}=d(),E=u.db.getData(),S=ze(f,n);E.type=u.type,E.layoutAlgorithm=Ue(_),E.nodeSpacing=h?.nodeSpacing??50,E.rankSpacing=h?.rankSpacing??50,E.markers=q==="neo"?["requirement_contains_neo","requirement_arrow_neo"]:["requirement_contains","requirement_arrow"],E.diagramId=f,await He(E,S);let T=8;H.insertTitle(S,"requirementDiagramTitleText",h?.titleTopMargin??25,u.db.getDiagramTitle()),Re(S,T,"requirementDiagram",h?.useMaxWidth??!0)},"draw"),Ot={parser:ft,get db(){return new dt},renderer:lt,styles:bt};export{Ot as diagram};
Binary file
Binary file