@bkm016/basalt 0.1.24 → 0.1.26

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 (901) hide show
  1. package/chunk-05bkyxh9.js +3 -0
  2. package/chunk-080kr9ct.js +15 -0
  3. package/chunk-1a4rrb2v.js +10 -0
  4. package/chunk-1s560041.js +2 -0
  5. package/chunk-2expw9m3.js +3 -0
  6. package/chunk-2fm6g0ga.js +3 -0
  7. package/chunk-2scbc5yh.js +3 -0
  8. package/chunk-33jk5rw1.js +3 -0
  9. package/chunk-377w9fhp.js +3 -0
  10. package/chunk-3wqncn58.js +3 -0
  11. package/chunk-43n3k72q.js +2 -0
  12. package/chunk-44pv8c0b.js +5 -0
  13. package/chunk-5gk93yp2.js +3 -0
  14. package/chunk-5z5sbry2.js +7 -0
  15. package/chunk-6qvg49rk.js +51 -0
  16. package/chunk-7d6fdzs3.js +50 -0
  17. package/chunk-7h6k7vac.js +3 -0
  18. package/chunk-7t5yqsgn.js +5 -0
  19. package/chunk-7th9y456.js +2 -0
  20. package/chunk-7v98r8ft.js +2 -0
  21. package/chunk-82bb3whz.js +3 -0
  22. package/chunk-8e061pr3.js +2 -0
  23. package/chunk-8n83nvpa.js +7 -0
  24. package/chunk-9nng543t.js +3 -0
  25. package/chunk-a0ex6znf.js +18 -0
  26. package/chunk-a25etmgf.js +3 -0
  27. package/chunk-awzaxv88.js +2 -0
  28. package/chunk-b2s9aksm.js +2 -0
  29. package/chunk-bfrpy5jd.js +4 -0
  30. package/chunk-br64f072.js +2 -0
  31. package/chunk-btza2hna.js +5 -0
  32. package/chunk-c9bjdydc.js +3 -0
  33. package/chunk-cww7drfr.js +2 -0
  34. package/chunk-d0az9pq0.js +2 -0
  35. package/chunk-d47bpkyz.js +12 -0
  36. package/chunk-dkfpqbcr.js +3 -0
  37. package/chunk-dsk3r1s8.js +2 -0
  38. package/chunk-dw8p4zcz.js +2 -0
  39. package/chunk-edz2cxtp.js +5 -0
  40. package/chunk-epqgd8d0.js +3 -0
  41. package/chunk-f7tn67ff.js +2 -0
  42. package/chunk-fevkmd0j.js +3 -0
  43. package/chunk-fzdvrsvn.js +482 -0
  44. package/chunk-ghat319t.js +25 -0
  45. package/chunk-h19mfxzq.js +7 -0
  46. package/chunk-h6sh9pkr.js +2 -0
  47. package/chunk-jdazqwft.js +2 -0
  48. package/chunk-je52rmxs.js +9 -0
  49. package/chunk-jj5pkfgm.js +2 -0
  50. package/chunk-jp7f2kak.js +2 -0
  51. package/chunk-jqpb4q7h.js +3 -0
  52. package/chunk-jzf3qp0g.js +2 -0
  53. package/chunk-k5qg9az8.js +8 -0
  54. package/chunk-m51tryxx.js +3 -0
  55. package/chunk-mna7mgdw.js +3 -0
  56. package/chunk-nfgg1ksw.js +3 -0
  57. package/chunk-npd8k692.js +2 -0
  58. package/chunk-nqzqm9ad.js +3 -0
  59. package/chunk-nsrdzz1p.js +20 -0
  60. package/chunk-qdwzmvcq.js +3923 -0
  61. package/chunk-qgyjffh0.js +16 -0
  62. package/chunk-qnq3xa4h.js +286 -0
  63. package/chunk-r0gyd40q.js +2 -0
  64. package/chunk-ra4kx253.js +7 -0
  65. package/chunk-rq2b2a6n.js +11 -0
  66. package/chunk-s1m4dt0z.js +3 -0
  67. package/chunk-s78m24h4.js +2 -0
  68. package/chunk-sd9r82h2.js +3 -0
  69. package/chunk-smygzsyr.js +10 -0
  70. package/chunk-t0zexn7n.js +2 -0
  71. package/chunk-t2s0yyw0.js +3 -0
  72. package/chunk-v9a2y9rn.js +3 -0
  73. package/chunk-vkn4bfyp.js +2 -0
  74. package/chunk-vpzs9trn.js +3 -0
  75. package/chunk-w3tzsrkw.js +12 -0
  76. package/chunk-x0t8h6vv.js +5 -0
  77. package/chunk-x23g9em9.js +39 -0
  78. package/chunk-x316ag7c.js +25 -0
  79. package/chunk-x5zgyewh.js +2 -0
  80. package/chunk-xr35av3b.js +59 -0
  81. package/chunk-yd190t0s.js +31 -0
  82. package/chunk-zhvw8efz.js +3 -0
  83. package/chunk-zyqsqwn7.js +2 -0
  84. package/compiled.js +10 -10
  85. package/package.json +1 -1
  86. package/ui-test-worker.js +37 -37
  87. package/web/chunk-08tgd17j.js +12 -0
  88. package/web/chunk-08tgd17j.js.br +0 -0
  89. package/web/chunk-08tgd17j.js.gz +0 -0
  90. package/web/chunk-0mqyt9m7.js +1 -0
  91. package/web/chunk-0mqyt9m7.js.br +0 -0
  92. package/web/chunk-0mqyt9m7.js.gz +0 -0
  93. package/web/chunk-0n99y9n5.js +1 -0
  94. package/web/chunk-0n99y9n5.js.br +0 -0
  95. package/web/chunk-0n99y9n5.js.gz +0 -0
  96. package/web/chunk-0qjj75v7.js +1 -0
  97. package/web/chunk-0qjj75v7.js.br +0 -0
  98. package/web/chunk-0qjj75v7.js.gz +0 -0
  99. package/web/chunk-0x3wtwhf.js +291 -0
  100. package/web/chunk-0x3wtwhf.js.br +0 -0
  101. package/web/chunk-0x3wtwhf.js.gz +0 -0
  102. package/web/chunk-0zd5g2yw.js +1 -0
  103. package/web/chunk-0zd5g2yw.js.br +0 -0
  104. package/web/chunk-0zd5g2yw.js.gz +0 -0
  105. package/web/chunk-146ww24y.js +55 -0
  106. package/web/chunk-146ww24y.js.br +0 -0
  107. package/web/chunk-146ww24y.js.gz +0 -0
  108. package/web/chunk-1d8r3aeh.js +3 -0
  109. package/web/chunk-1d8r3aeh.js.br +0 -0
  110. package/web/chunk-1d8r3aeh.js.gz +0 -0
  111. package/web/chunk-1qs4nh4c.js +1 -0
  112. package/web/chunk-1qs4nh4c.js.br +0 -0
  113. package/web/chunk-1qs4nh4c.js.gz +0 -0
  114. package/web/chunk-1v13225a.js +1 -0
  115. package/web/chunk-1v13225a.js.br +2 -0
  116. package/web/chunk-1v13225a.js.gz +0 -0
  117. package/web/chunk-22caavs1.js +1 -0
  118. package/web/chunk-22caavs1.js.br +0 -0
  119. package/web/chunk-22caavs1.js.gz +0 -0
  120. package/web/chunk-28e0vn8m.js +1 -0
  121. package/web/chunk-28e0vn8m.js.br +0 -0
  122. package/web/chunk-28e0vn8m.js.gz +0 -0
  123. package/web/chunk-28sta4gj.js +142 -0
  124. package/web/chunk-28sta4gj.js.br +0 -0
  125. package/web/chunk-28sta4gj.js.gz +0 -0
  126. package/web/chunk-3781tgyt.js +21 -0
  127. package/web/chunk-3781tgyt.js.br +0 -0
  128. package/web/chunk-3781tgyt.js.gz +0 -0
  129. package/web/chunk-3gt60qmf.js +370 -0
  130. package/web/chunk-3gt60qmf.js.br +0 -0
  131. package/web/chunk-3gt60qmf.js.gz +0 -0
  132. package/web/chunk-3rg8d23d.js +2 -0
  133. package/web/chunk-3rg8d23d.js.br +0 -0
  134. package/web/chunk-3rg8d23d.js.gz +0 -0
  135. package/web/chunk-40wx2kxh.js +1 -0
  136. package/web/chunk-40wx2kxh.js.br +0 -0
  137. package/web/chunk-40wx2kxh.js.gz +0 -0
  138. package/web/chunk-44kgdrrk.js +1 -0
  139. package/web/chunk-44kgdrrk.js.br +0 -0
  140. package/web/chunk-44kgdrrk.js.gz +0 -0
  141. package/web/chunk-4vqmgjbf.js +1 -0
  142. package/web/chunk-4vqmgjbf.js.br +0 -0
  143. package/web/chunk-4vqmgjbf.js.gz +0 -0
  144. package/web/chunk-55h6ya95.js +1 -0
  145. package/web/chunk-55h6ya95.js.br +2 -0
  146. package/web/chunk-55h6ya95.js.gz +0 -0
  147. package/web/chunk-5fed8tt3.js +1 -0
  148. package/web/chunk-5fed8tt3.js.br +0 -0
  149. package/web/chunk-5fed8tt3.js.gz +0 -0
  150. package/web/chunk-5y1v9ycq.js +2 -0
  151. package/web/chunk-5y1v9ycq.js.br +0 -0
  152. package/web/chunk-5y1v9ycq.js.gz +0 -0
  153. package/web/chunk-61wasm9a.js +1 -0
  154. package/web/chunk-61wasm9a.js.br +0 -0
  155. package/web/chunk-61wasm9a.js.gz +0 -0
  156. package/web/chunk-66mcaz0p.js +7 -0
  157. package/web/chunk-66mcaz0p.js.br +0 -0
  158. package/web/chunk-66mcaz0p.js.gz +0 -0
  159. package/web/chunk-6ew2qvxb.js +1 -0
  160. package/web/chunk-6ew2qvxb.js.br +0 -0
  161. package/web/chunk-6ew2qvxb.js.gz +0 -0
  162. package/web/chunk-6hkgy8ej.js +36 -0
  163. package/web/chunk-6hkgy8ej.js.br +0 -0
  164. package/web/chunk-6hkgy8ej.js.gz +0 -0
  165. package/web/chunk-75v6mnzm.js +40 -0
  166. package/web/chunk-75v6mnzm.js.br +0 -0
  167. package/web/chunk-75v6mnzm.js.gz +0 -0
  168. package/web/chunk-7ddgm832.js +41 -0
  169. package/web/chunk-7ddgm832.js.br +0 -0
  170. package/web/chunk-7ddgm832.js.gz +0 -0
  171. package/web/chunk-80htbw45.js +1 -0
  172. package/web/chunk-80htbw45.js.br +0 -0
  173. package/web/chunk-80htbw45.js.gz +0 -0
  174. package/web/chunk-8304998z.js +1 -0
  175. package/web/chunk-8304998z.js.br +0 -0
  176. package/web/chunk-8304998z.js.gz +0 -0
  177. package/web/chunk-84wf0ej8.js +2 -0
  178. package/web/chunk-84wf0ej8.js.br +0 -0
  179. package/web/chunk-84wf0ej8.js.gz +0 -0
  180. package/web/chunk-859ry2p4.js +1 -0
  181. package/web/chunk-859ry2p4.js.br +0 -0
  182. package/web/chunk-859ry2p4.js.gz +0 -0
  183. package/web/chunk-883weqxg.js +2 -0
  184. package/web/chunk-883weqxg.js.br +0 -0
  185. package/web/chunk-883weqxg.js.gz +0 -0
  186. package/web/chunk-8a46b2ww.js +303 -0
  187. package/web/chunk-8a46b2ww.js.br +0 -0
  188. package/web/chunk-8a46b2ww.js.gz +0 -0
  189. package/web/chunk-8cajyrkw.js +1 -0
  190. package/web/chunk-8cajyrkw.js.br +0 -0
  191. package/web/chunk-8cajyrkw.js.gz +0 -0
  192. package/web/chunk-8ejwy8g3.js +30 -0
  193. package/web/chunk-8ejwy8g3.js.br +0 -0
  194. package/web/chunk-8ejwy8g3.js.gz +0 -0
  195. package/web/chunk-951dg5kq.js +8 -0
  196. package/web/chunk-951dg5kq.js.br +1 -0
  197. package/web/chunk-951dg5kq.js.gz +0 -0
  198. package/web/chunk-97ccteq4.js +106 -0
  199. package/web/chunk-97ccteq4.js.br +0 -0
  200. package/web/chunk-97ccteq4.js.gz +0 -0
  201. package/web/chunk-98kr0bw8.js +98 -0
  202. package/web/chunk-98kr0bw8.js.br +0 -0
  203. package/web/chunk-98kr0bw8.js.gz +0 -0
  204. package/web/chunk-9bq7xgjz.js +1 -0
  205. package/web/chunk-9bq7xgjz.js.br +0 -0
  206. package/web/chunk-9bq7xgjz.js.gz +0 -0
  207. package/web/chunk-9g5jgnfe.js +2 -0
  208. package/web/chunk-9g5jgnfe.js.br +0 -0
  209. package/web/chunk-9g5jgnfe.js.gz +0 -0
  210. package/web/chunk-an6adjgz.js +24 -0
  211. package/web/chunk-an6adjgz.js.br +0 -0
  212. package/web/chunk-an6adjgz.js.gz +0 -0
  213. package/web/chunk-arp4g43b.js +1 -0
  214. package/web/chunk-arp4g43b.js.br +0 -0
  215. package/web/chunk-arp4g43b.js.gz +0 -0
  216. package/web/chunk-b2ads9ra.js +1 -0
  217. package/web/chunk-b2ads9ra.js.br +0 -0
  218. package/web/chunk-b2ads9ra.js.gz +0 -0
  219. package/web/chunk-bd90pxqc.js +169 -0
  220. package/web/chunk-bd90pxqc.js.br +0 -0
  221. package/web/chunk-bd90pxqc.js.gz +0 -0
  222. package/web/chunk-bmtzds29.js +1 -0
  223. package/web/chunk-bmtzds29.js.br +0 -0
  224. package/web/chunk-bmtzds29.js.gz +0 -0
  225. package/web/chunk-brsvdef4.js +1 -0
  226. package/web/chunk-brsvdef4.js.br +0 -0
  227. package/web/chunk-brsvdef4.js.gz +0 -0
  228. package/web/chunk-bv0vs331.js +332 -0
  229. package/web/chunk-bv0vs331.js.br +0 -0
  230. package/web/chunk-bv0vs331.js.gz +0 -0
  231. package/web/chunk-bzvserky.js +89 -0
  232. package/web/chunk-bzvserky.js.br +0 -0
  233. package/web/chunk-bzvserky.js.gz +0 -0
  234. package/web/chunk-cd3hhgn9.js +2 -0
  235. package/web/chunk-cd3hhgn9.js.br +0 -0
  236. package/web/chunk-cd3hhgn9.js.gz +0 -0
  237. package/web/chunk-cdwn0hd1.js +2 -0
  238. package/web/chunk-cdwn0hd1.js.br +0 -0
  239. package/web/chunk-cdwn0hd1.js.gz +0 -0
  240. package/web/chunk-ckpx6ky8.js +2 -0
  241. package/web/chunk-ckpx6ky8.js.br +0 -0
  242. package/web/chunk-ckpx6ky8.js.gz +0 -0
  243. package/web/chunk-d11xvhrx.js +140 -0
  244. package/web/chunk-d11xvhrx.js.br +0 -0
  245. package/web/chunk-d11xvhrx.js.gz +0 -0
  246. package/web/chunk-d25jazap.js +89 -0
  247. package/web/chunk-d25jazap.js.br +0 -0
  248. package/web/chunk-d25jazap.js.gz +0 -0
  249. package/web/chunk-d5jk5ftp.js +2 -0
  250. package/web/chunk-d5jk5ftp.js.br +0 -0
  251. package/web/chunk-d5jk5ftp.js.gz +0 -0
  252. package/web/chunk-dkdedpn5.js +1 -0
  253. package/web/chunk-dkdedpn5.js.br +0 -0
  254. package/web/chunk-dkdedpn5.js.gz +0 -0
  255. package/web/chunk-dxejr2wc.js +7 -0
  256. package/web/chunk-dxejr2wc.js.br +0 -0
  257. package/web/chunk-dxejr2wc.js.gz +0 -0
  258. package/web/chunk-dym50nnh.js +292 -0
  259. package/web/chunk-dym50nnh.js.br +0 -0
  260. package/web/chunk-dym50nnh.js.gz +0 -0
  261. package/web/chunk-e1fv9zdp.js +1 -0
  262. package/web/chunk-e1fv9zdp.js.br +0 -0
  263. package/web/chunk-e1fv9zdp.js.gz +0 -0
  264. package/web/chunk-e9ycc491.js +120 -0
  265. package/web/chunk-e9ycc491.js.br +0 -0
  266. package/web/chunk-e9ycc491.js.gz +0 -0
  267. package/web/chunk-eww9ygx5.js +2 -0
  268. package/web/chunk-eww9ygx5.js.br +0 -0
  269. package/web/chunk-eww9ygx5.js.gz +0 -0
  270. package/web/chunk-ey2fy3vm.js +4 -0
  271. package/web/chunk-ey2fy3vm.js.br +0 -0
  272. package/web/chunk-ey2fy3vm.js.gz +0 -0
  273. package/web/chunk-ez498328.js +39 -0
  274. package/web/chunk-ez498328.js.br +0 -0
  275. package/web/chunk-ez498328.js.gz +0 -0
  276. package/web/chunk-f0x62xvv.js +84 -0
  277. package/web/chunk-f0x62xvv.js.br +0 -0
  278. package/web/chunk-f0x62xvv.js.gz +0 -0
  279. package/web/chunk-f1z92c2d.js +1 -0
  280. package/web/chunk-f1z92c2d.js.br +2 -0
  281. package/web/chunk-f1z92c2d.js.gz +0 -0
  282. package/web/chunk-fwvar7a7.js +1 -0
  283. package/web/chunk-fwvar7a7.js.br +0 -0
  284. package/web/chunk-fwvar7a7.js.gz +0 -0
  285. package/web/chunk-g8bw60t3.js +324 -0
  286. package/web/chunk-g8bw60t3.js.br +0 -0
  287. package/web/chunk-g8bw60t3.js.gz +0 -0
  288. package/web/chunk-g8se5rtx.js +2 -0
  289. package/web/chunk-g8se5rtx.js.br +0 -0
  290. package/web/chunk-g8se5rtx.js.gz +0 -0
  291. package/web/chunk-gkwkbkr4.js +217 -0
  292. package/web/chunk-gkwkbkr4.js.br +0 -0
  293. package/web/chunk-gkwkbkr4.js.gz +0 -0
  294. package/web/chunk-h50zbzfg.js +24 -0
  295. package/web/chunk-h50zbzfg.js.br +0 -0
  296. package/web/chunk-h50zbzfg.js.gz +0 -0
  297. package/web/chunk-j3vqhfgg.js +1 -0
  298. package/web/chunk-j3vqhfgg.js.br +0 -0
  299. package/web/chunk-j3vqhfgg.js.gz +0 -0
  300. package/web/chunk-jk6j68wv.js +1 -0
  301. package/web/chunk-jk6j68wv.js.br +0 -0
  302. package/web/chunk-jk6j68wv.js.gz +0 -0
  303. package/web/chunk-jrdx4yfq.js +2 -0
  304. package/web/chunk-jrdx4yfq.js.br +0 -0
  305. package/web/chunk-jrdx4yfq.js.gz +0 -0
  306. package/web/chunk-k2by2sj0.css +1 -0
  307. package/web/chunk-k2by2sj0.css.br +0 -0
  308. package/web/chunk-k2by2sj0.css.gz +0 -0
  309. package/web/chunk-kc4ymfvv.js +2 -0
  310. package/web/chunk-kc4ymfvv.js.br +1 -0
  311. package/web/chunk-kc4ymfvv.js.gz +0 -0
  312. package/web/chunk-kh9d9x20.js +1 -0
  313. package/web/chunk-kh9d9x20.js.br +0 -0
  314. package/web/chunk-kh9d9x20.js.gz +0 -0
  315. package/web/chunk-kkv1h28t.js +2 -0
  316. package/web/chunk-kkv1h28t.js.br +0 -0
  317. package/web/chunk-kkv1h28t.js.gz +0 -0
  318. package/web/chunk-kzkjfngw.js +7 -0
  319. package/web/chunk-kzkjfngw.js.br +0 -0
  320. package/web/chunk-kzkjfngw.js.gz +0 -0
  321. package/web/chunk-mj8xb4z9.js +2 -0
  322. package/web/chunk-mj8xb4z9.js.br +0 -0
  323. package/web/chunk-mj8xb4z9.js.gz +0 -0
  324. package/web/chunk-mv0pwdz6.js +1 -0
  325. package/web/chunk-mv0pwdz6.js.br +0 -0
  326. package/web/chunk-mv0pwdz6.js.gz +0 -0
  327. package/web/chunk-n8qc0chz.js +34 -0
  328. package/web/chunk-n8qc0chz.js.br +0 -0
  329. package/web/chunk-n8qc0chz.js.gz +0 -0
  330. package/web/chunk-nf83ezt5.js +1136 -0
  331. package/web/chunk-nf83ezt5.js.br +0 -0
  332. package/web/chunk-nf83ezt5.js.gz +0 -0
  333. package/web/chunk-nh3m09b1.js +1 -0
  334. package/web/chunk-nh3m09b1.js.br +0 -0
  335. package/web/chunk-nh3m09b1.js.gz +0 -0
  336. package/web/chunk-nqvjw71s.js +1 -0
  337. package/web/chunk-nqvjw71s.js.br +0 -0
  338. package/web/chunk-nqvjw71s.js.gz +0 -0
  339. package/web/chunk-nyydkfyf.js +1 -0
  340. package/web/chunk-nyydkfyf.js.br +0 -0
  341. package/web/chunk-nyydkfyf.js.gz +0 -0
  342. package/web/chunk-p0zneef1.js +2 -0
  343. package/web/chunk-p0zneef1.js.br +0 -0
  344. package/web/chunk-p0zneef1.js.gz +0 -0
  345. package/web/chunk-pjd16rfv.js +1 -0
  346. package/web/chunk-pjd16rfv.js.br +0 -0
  347. package/web/chunk-pjd16rfv.js.gz +0 -0
  348. package/web/chunk-praang0j.js +214 -0
  349. package/web/chunk-praang0j.js.br +0 -0
  350. package/web/chunk-praang0j.js.gz +0 -0
  351. package/web/chunk-prynwp2t.js +1 -0
  352. package/web/chunk-prynwp2t.js.br +0 -0
  353. package/web/chunk-prynwp2t.js.gz +0 -0
  354. package/web/chunk-qd3x1kbw.js +1 -0
  355. package/web/chunk-qd3x1kbw.js.br +2 -0
  356. package/web/chunk-qd3x1kbw.js.gz +0 -0
  357. package/web/chunk-qgqg2kr5.js +1 -0
  358. package/web/chunk-qgqg2kr5.js.br +0 -0
  359. package/web/chunk-qgqg2kr5.js.gz +0 -0
  360. package/web/chunk-qha5j25q.js +2 -0
  361. package/web/chunk-qha5j25q.js.br +0 -0
  362. package/web/chunk-qha5j25q.js.gz +0 -0
  363. package/web/chunk-qhf717ek.js +2 -0
  364. package/web/chunk-qhf717ek.js.br +0 -0
  365. package/web/chunk-qhf717ek.js.gz +0 -0
  366. package/web/chunk-qt2ktkps.js +1 -0
  367. package/web/chunk-qt2ktkps.js.br +0 -0
  368. package/web/chunk-qt2ktkps.js.gz +0 -0
  369. package/web/chunk-scnew5q6.js +1 -0
  370. package/web/chunk-scnew5q6.js.br +0 -0
  371. package/web/chunk-scnew5q6.js.gz +0 -0
  372. package/web/chunk-scrrgk6n.js +2 -0
  373. package/web/chunk-scrrgk6n.js.br +0 -0
  374. package/web/chunk-scrrgk6n.js.gz +0 -0
  375. package/web/chunk-sy1ta5rp.js +1 -0
  376. package/web/chunk-sy1ta5rp.js.br +0 -0
  377. package/web/chunk-sy1ta5rp.js.gz +0 -0
  378. package/web/chunk-t092etr1.js +2 -0
  379. package/web/chunk-t092etr1.js.br +0 -0
  380. package/web/chunk-t092etr1.js.gz +0 -0
  381. package/web/chunk-t34g8qj4.js +2 -0
  382. package/web/chunk-t34g8qj4.js.br +0 -0
  383. package/web/chunk-t34g8qj4.js.gz +0 -0
  384. package/web/chunk-tfdwgjr1.js +2 -0
  385. package/web/chunk-tfdwgjr1.js.br +0 -0
  386. package/web/chunk-tfdwgjr1.js.gz +0 -0
  387. package/web/chunk-ty54ph0y.js +1 -0
  388. package/web/chunk-ty54ph0y.js.br +2 -0
  389. package/web/chunk-ty54ph0y.js.gz +0 -0
  390. package/web/chunk-v7nv1ve8.js +1 -0
  391. package/web/chunk-v7nv1ve8.js.br +0 -0
  392. package/web/chunk-v7nv1ve8.js.gz +0 -0
  393. package/web/chunk-vchzf900.js +2 -0
  394. package/web/chunk-vchzf900.js.br +0 -0
  395. package/web/chunk-vchzf900.js.gz +0 -0
  396. package/web/chunk-vtn7g6n0.js +2 -0
  397. package/web/chunk-vtn7g6n0.js.br +0 -0
  398. package/web/chunk-vtn7g6n0.js.gz +0 -0
  399. package/web/chunk-w1bp9wwx.js +1 -0
  400. package/web/chunk-w1bp9wwx.js.br +0 -0
  401. package/web/chunk-w1bp9wwx.js.gz +0 -0
  402. package/web/chunk-w4h1c0eb.js +200 -0
  403. package/web/chunk-w4h1c0eb.js.br +0 -0
  404. package/web/chunk-w4h1c0eb.js.gz +0 -0
  405. package/web/chunk-wx0jmdbq.js +62 -0
  406. package/web/chunk-wx0jmdbq.js.br +0 -0
  407. package/web/chunk-wx0jmdbq.js.gz +0 -0
  408. package/web/chunk-xdns99dp.js +99 -0
  409. package/web/chunk-xdns99dp.js.br +0 -0
  410. package/web/chunk-xdns99dp.js.gz +0 -0
  411. package/web/chunk-xnhzragz.js +1 -0
  412. package/web/chunk-xnhzragz.js.br +0 -0
  413. package/web/chunk-xnhzragz.js.gz +0 -0
  414. package/web/chunk-xq241z8c.js +38 -0
  415. package/web/chunk-xq241z8c.js.br +0 -0
  416. package/web/chunk-xq241z8c.js.gz +0 -0
  417. package/web/chunk-xve7x5x1.js +2 -0
  418. package/web/chunk-xve7x5x1.js.br +0 -0
  419. package/web/chunk-xve7x5x1.js.gz +0 -0
  420. package/web/chunk-xvn1wg8g.js +2 -0
  421. package/web/chunk-xvn1wg8g.js.br +0 -0
  422. package/web/chunk-xvn1wg8g.js.gz +0 -0
  423. package/web/chunk-xwy6m9v6.js +1 -0
  424. package/web/chunk-xwy6m9v6.js.br +0 -0
  425. package/web/chunk-xwy6m9v6.js.gz +0 -0
  426. package/web/chunk-y7zvyd6m.js +1 -0
  427. package/web/chunk-y7zvyd6m.js.br +0 -0
  428. package/web/chunk-y7zvyd6m.js.gz +0 -0
  429. package/web/chunk-yh07726r.js +78 -0
  430. package/web/chunk-yh07726r.js.br +0 -0
  431. package/web/chunk-yh07726r.js.gz +0 -0
  432. package/web/chunk-yr94dbhk.js +1 -0
  433. package/web/chunk-yr94dbhk.js.br +0 -0
  434. package/web/chunk-yr94dbhk.js.gz +0 -0
  435. package/web/chunk-ysqfkg2v.js +70 -0
  436. package/web/chunk-ysqfkg2v.js.br +0 -0
  437. package/web/chunk-ysqfkg2v.js.gz +0 -0
  438. package/web/chunk-yxax25q6.js +4 -0
  439. package/web/chunk-yxax25q6.js.br +0 -0
  440. package/web/chunk-yxax25q6.js.gz +0 -0
  441. package/web/chunk-z7024nm8.js +16 -0
  442. package/web/chunk-z7024nm8.js.br +0 -0
  443. package/web/chunk-z7024nm8.js.gz +0 -0
  444. package/web/chunk-z91sdj83.js +139 -0
  445. package/web/chunk-z91sdj83.js.br +0 -0
  446. package/web/chunk-z91sdj83.js.gz +0 -0
  447. package/web/chunk-zw958xwq.js +1 -0
  448. package/web/chunk-zw958xwq.js.br +0 -0
  449. package/web/chunk-zw958xwq.js.gz +0 -0
  450. package/web/index.html +1 -1
  451. package/web/index.html.br +0 -0
  452. package/web/index.html.gz +0 -0
  453. package/worker.js +1 -1
  454. package/chunk-0ecs4nme.js +0 -18
  455. package/chunk-0mrd775t.js +0 -3
  456. package/chunk-0nxcbf6d.js +0 -472
  457. package/chunk-0p12aad6.js +0 -3
  458. package/chunk-0vdz9j55.js +0 -7
  459. package/chunk-1v0dv855.js +0 -3
  460. package/chunk-2jeg8h8d.js +0 -3
  461. package/chunk-2q3tewbg.js +0 -59
  462. package/chunk-3hqka8zs.js +0 -2
  463. package/chunk-3ktcgaec.js +0 -2
  464. package/chunk-3v0ezmaw.js +0 -39
  465. package/chunk-3zv7ryz0.js +0 -2
  466. package/chunk-4x7xnfw1.js +0 -2
  467. package/chunk-5h96jz3p.js +0 -3
  468. package/chunk-5kd940f5.js +0 -3
  469. package/chunk-628vymvd.js +0 -3
  470. package/chunk-6h9dxrr4.js +0 -2
  471. package/chunk-6ka4m0ax.js +0 -2
  472. package/chunk-6q0ak8d1.js +0 -12
  473. package/chunk-768vwfc3.js +0 -3
  474. package/chunk-7k4xghss.js +0 -5
  475. package/chunk-8jv34hrx.js +0 -7
  476. package/chunk-8np9b2y8.js +0 -3
  477. package/chunk-8yv55y6g.js +0 -3
  478. package/chunk-95rqa8r8.js +0 -2
  479. package/chunk-979mxkzt.js +0 -2
  480. package/chunk-9y8v1vrt.js +0 -15
  481. package/chunk-akf8x16s.js +0 -5
  482. package/chunk-bdr1170y.js +0 -3
  483. package/chunk-bkmd5d8p.js +0 -3
  484. package/chunk-c4nxr37s.js +0 -3566
  485. package/chunk-cte9wd9x.js +0 -4
  486. package/chunk-df7ye0xb.js +0 -9
  487. package/chunk-drbd6485.js +0 -3
  488. package/chunk-dsd6pd2m.js +0 -2
  489. package/chunk-eejgn4ye.js +0 -2
  490. package/chunk-eek8fqvj.js +0 -2
  491. package/chunk-ewjrnvjb.js +0 -10
  492. package/chunk-f4tqhvff.js +0 -3
  493. package/chunk-gha8wd63.js +0 -11
  494. package/chunk-gwrpahes.js +0 -2
  495. package/chunk-hz92pdms.js +0 -2
  496. package/chunk-jepxf22f.js +0 -7
  497. package/chunk-keq5kv9b.js +0 -3
  498. package/chunk-kh4yq4rd.js +0 -4
  499. package/chunk-khdch9sx.js +0 -25
  500. package/chunk-m1w7f6d3.js +0 -5
  501. package/chunk-ma91f4qj.js +0 -2
  502. package/chunk-mah60ek9.js +0 -3
  503. package/chunk-mmm1jh57.js +0 -20
  504. package/chunk-mmt11y21.js +0 -2
  505. package/chunk-mny4xyb0.js +0 -3
  506. package/chunk-mq0p4ssz.js +0 -3
  507. package/chunk-mzta1jts.js +0 -10
  508. package/chunk-n0qwj5gm.js +0 -12
  509. package/chunk-n19ec95n.js +0 -3
  510. package/chunk-n5b822pn.js +0 -3
  511. package/chunk-nvxx397h.js +0 -2
  512. package/chunk-nwfhbcme.js +0 -4
  513. package/chunk-pcd14q8r.js +0 -390
  514. package/chunk-pr1hfw3a.js +0 -2
  515. package/chunk-q2re8mn9.js +0 -31
  516. package/chunk-qgg3wk8h.js +0 -2
  517. package/chunk-r9gkfk6f.js +0 -16
  518. package/chunk-rjfph4m5.js +0 -3
  519. package/chunk-rmy489b1.js +0 -7
  520. package/chunk-sf2cp0m6.js +0 -8
  521. package/chunk-sfwy8rqg.js +0 -3
  522. package/chunk-sj2q2amm.js +0 -11
  523. package/chunk-sqfs6z7c.js +0 -3
  524. package/chunk-sy980cjq.js +0 -2
  525. package/chunk-t64hda7b.js +0 -2
  526. package/chunk-tbhqhejq.js +0 -2
  527. package/chunk-trxaygjr.js +0 -5
  528. package/chunk-v7ehjbxx.js +0 -2
  529. package/chunk-vjegsy9q.js +0 -2
  530. package/chunk-vt4xyc4q.js +0 -2
  531. package/chunk-w430z452.js +0 -25
  532. package/chunk-xycq2q8m.js +0 -2
  533. package/chunk-y16fqzad.js +0 -3
  534. package/chunk-y6mng74k.js +0 -2
  535. package/chunk-y8aq7mb7.js +0 -3
  536. package/chunk-ynt6najh.js +0 -3
  537. package/chunk-z1y43t2s.js +0 -3
  538. package/chunk-z6v2pcc0.js +0 -3
  539. package/web/chunk-085ttz7c.js +0 -84
  540. package/web/chunk-085ttz7c.js.br +0 -0
  541. package/web/chunk-085ttz7c.js.gz +0 -0
  542. package/web/chunk-0g9ycv0h.js +0 -2
  543. package/web/chunk-0g9ycv0h.js.br +0 -0
  544. package/web/chunk-0g9ycv0h.js.gz +0 -0
  545. package/web/chunk-13x3xyyh.js +0 -7
  546. package/web/chunk-13x3xyyh.js.br +0 -0
  547. package/web/chunk-13x3xyyh.js.gz +0 -0
  548. package/web/chunk-172gywq4.js +0 -214
  549. package/web/chunk-172gywq4.js.br +0 -0
  550. package/web/chunk-172gywq4.js.gz +0 -0
  551. package/web/chunk-176tsg6e.js +0 -2
  552. package/web/chunk-176tsg6e.js.br +0 -0
  553. package/web/chunk-176tsg6e.js.gz +0 -0
  554. package/web/chunk-17d30546.js +0 -38
  555. package/web/chunk-17d30546.js.br +0 -0
  556. package/web/chunk-17d30546.js.gz +0 -0
  557. package/web/chunk-1k6jx4hs.js +0 -1
  558. package/web/chunk-1k6jx4hs.js.br +0 -0
  559. package/web/chunk-1k6jx4hs.js.gz +0 -0
  560. package/web/chunk-1kts05s6.css +0 -1
  561. package/web/chunk-1kts05s6.css.br +0 -0
  562. package/web/chunk-1kts05s6.css.gz +0 -0
  563. package/web/chunk-1z0x1j6q.js +0 -1
  564. package/web/chunk-1z0x1j6q.js.br +0 -0
  565. package/web/chunk-1z0x1j6q.js.gz +0 -0
  566. package/web/chunk-290wy4yk.js +0 -1
  567. package/web/chunk-290wy4yk.js.br +0 -0
  568. package/web/chunk-290wy4yk.js.gz +0 -0
  569. package/web/chunk-2cdw1299.js +0 -1
  570. package/web/chunk-2cdw1299.js.br +0 -0
  571. package/web/chunk-2cdw1299.js.gz +0 -0
  572. package/web/chunk-2fms67zg.js +0 -332
  573. package/web/chunk-2fms67zg.js.br +0 -0
  574. package/web/chunk-2fms67zg.js.gz +0 -0
  575. package/web/chunk-2psxv4dk.js +0 -120
  576. package/web/chunk-2psxv4dk.js.br +0 -0
  577. package/web/chunk-2psxv4dk.js.gz +0 -0
  578. package/web/chunk-2z4zhtw4.js +0 -142
  579. package/web/chunk-2z4zhtw4.js.br +0 -0
  580. package/web/chunk-2z4zhtw4.js.gz +0 -0
  581. package/web/chunk-39rtp0f4.js +0 -1
  582. package/web/chunk-39rtp0f4.js.br +0 -0
  583. package/web/chunk-39rtp0f4.js.gz +0 -0
  584. package/web/chunk-3sszg3gr.js +0 -24
  585. package/web/chunk-3sszg3gr.js.br +0 -0
  586. package/web/chunk-3sszg3gr.js.gz +0 -0
  587. package/web/chunk-3vdw9nn7.js +0 -62
  588. package/web/chunk-3vdw9nn7.js.br +0 -0
  589. package/web/chunk-3vdw9nn7.js.gz +0 -0
  590. package/web/chunk-43shp7zx.js +0 -2
  591. package/web/chunk-43shp7zx.js.br +0 -0
  592. package/web/chunk-43shp7zx.js.gz +0 -0
  593. package/web/chunk-4cbcqcd2.js +0 -1
  594. package/web/chunk-4cbcqcd2.js.br +0 -0
  595. package/web/chunk-4cbcqcd2.js.gz +0 -0
  596. package/web/chunk-4v6n6b36.js +0 -1
  597. package/web/chunk-4v6n6b36.js.br +0 -0
  598. package/web/chunk-4v6n6b36.js.gz +0 -0
  599. package/web/chunk-54vdfmx0.js +0 -2
  600. package/web/chunk-54vdfmx0.js.br +0 -0
  601. package/web/chunk-54vdfmx0.js.gz +0 -0
  602. package/web/chunk-59ybhv47.js +0 -1
  603. package/web/chunk-59ybhv47.js.br +0 -0
  604. package/web/chunk-59ybhv47.js.gz +0 -0
  605. package/web/chunk-5zkw2kkb.js +0 -140
  606. package/web/chunk-5zkw2kkb.js.br +0 -0
  607. package/web/chunk-5zkw2kkb.js.gz +0 -0
  608. package/web/chunk-634vc92s.js +0 -70
  609. package/web/chunk-634vc92s.js.br +0 -0
  610. package/web/chunk-634vc92s.js.gz +0 -0
  611. package/web/chunk-6n3cwe1h.js +0 -169
  612. package/web/chunk-6n3cwe1h.js.br +0 -0
  613. package/web/chunk-6n3cwe1h.js.gz +0 -0
  614. package/web/chunk-6zr2j7xj.js +0 -1
  615. package/web/chunk-6zr2j7xj.js.br +0 -0
  616. package/web/chunk-6zr2j7xj.js.gz +0 -0
  617. package/web/chunk-713ygtrs.js +0 -200
  618. package/web/chunk-713ygtrs.js.br +0 -0
  619. package/web/chunk-713ygtrs.js.gz +0 -0
  620. package/web/chunk-7m4gmjvp.js +0 -1
  621. package/web/chunk-7m4gmjvp.js.br +0 -0
  622. package/web/chunk-7m4gmjvp.js.gz +0 -0
  623. package/web/chunk-7x90pq42.js +0 -1
  624. package/web/chunk-7x90pq42.js.br +0 -0
  625. package/web/chunk-7x90pq42.js.gz +0 -0
  626. package/web/chunk-7ycp549b.js +0 -2
  627. package/web/chunk-7ycp549b.js.br +0 -0
  628. package/web/chunk-7ycp549b.js.gz +0 -0
  629. package/web/chunk-811qc5bs.js +0 -1
  630. package/web/chunk-811qc5bs.js.br +0 -0
  631. package/web/chunk-811qc5bs.js.gz +0 -0
  632. package/web/chunk-82gjgy45.js +0 -1
  633. package/web/chunk-82gjgy45.js.br +0 -0
  634. package/web/chunk-82gjgy45.js.gz +0 -0
  635. package/web/chunk-8de69eyx.js +0 -2
  636. package/web/chunk-8de69eyx.js.br +0 -0
  637. package/web/chunk-8de69eyx.js.gz +0 -0
  638. package/web/chunk-91s1ns6b.js +0 -55
  639. package/web/chunk-91s1ns6b.js.br +0 -0
  640. package/web/chunk-91s1ns6b.js.gz +0 -0
  641. package/web/chunk-921qw2jf.js +0 -1
  642. package/web/chunk-921qw2jf.js.br +0 -0
  643. package/web/chunk-921qw2jf.js.gz +0 -0
  644. package/web/chunk-96n0nem7.js +0 -2
  645. package/web/chunk-96n0nem7.js.br +0 -0
  646. package/web/chunk-96n0nem7.js.gz +0 -0
  647. package/web/chunk-9k9p5dat.js +0 -1
  648. package/web/chunk-9k9p5dat.js.br +0 -0
  649. package/web/chunk-9k9p5dat.js.gz +0 -0
  650. package/web/chunk-a529550j.js +0 -1
  651. package/web/chunk-a529550j.js.br +0 -0
  652. package/web/chunk-a529550j.js.gz +0 -0
  653. package/web/chunk-abvtsz6z.js +0 -2
  654. package/web/chunk-abvtsz6z.js.br +0 -0
  655. package/web/chunk-abvtsz6z.js.gz +0 -0
  656. package/web/chunk-ac8vmj54.js +0 -1
  657. package/web/chunk-ac8vmj54.js.br +0 -0
  658. package/web/chunk-ac8vmj54.js.gz +0 -0
  659. package/web/chunk-amrt87c9.js +0 -1
  660. package/web/chunk-amrt87c9.js.br +0 -0
  661. package/web/chunk-amrt87c9.js.gz +0 -0
  662. package/web/chunk-b2t33c3t.js +0 -2
  663. package/web/chunk-b2t33c3t.js.br +0 -0
  664. package/web/chunk-b2t33c3t.js.gz +0 -0
  665. package/web/chunk-b9fqnzqd.js +0 -217
  666. package/web/chunk-b9fqnzqd.js.br +0 -0
  667. package/web/chunk-b9fqnzqd.js.gz +0 -0
  668. package/web/chunk-bbs6yq60.js +0 -99
  669. package/web/chunk-bbs6yq60.js.br +0 -0
  670. package/web/chunk-bbs6yq60.js.gz +0 -0
  671. package/web/chunk-bbyqcvdz.js +0 -2
  672. package/web/chunk-bbyqcvdz.js.br +0 -0
  673. package/web/chunk-bbyqcvdz.js.gz +0 -0
  674. package/web/chunk-bg2ps35t.js +0 -2
  675. package/web/chunk-bg2ps35t.js.br +0 -0
  676. package/web/chunk-bg2ps35t.js.gz +0 -0
  677. package/web/chunk-bh0a254y.js +0 -30
  678. package/web/chunk-bh0a254y.js.br +0 -0
  679. package/web/chunk-bh0a254y.js.gz +0 -0
  680. package/web/chunk-bvmvj35k.js +0 -1
  681. package/web/chunk-bvmvj35k.js.br +0 -0
  682. package/web/chunk-bvmvj35k.js.gz +0 -0
  683. package/web/chunk-c2eqwepm.js +0 -2
  684. package/web/chunk-c2eqwepm.js.br +0 -0
  685. package/web/chunk-c2eqwepm.js.gz +0 -0
  686. package/web/chunk-ca8hnmmv.js +0 -34
  687. package/web/chunk-ca8hnmmv.js.br +0 -0
  688. package/web/chunk-ca8hnmmv.js.gz +0 -0
  689. package/web/chunk-ced8pdbc.js +0 -1
  690. package/web/chunk-ced8pdbc.js.br +0 -0
  691. package/web/chunk-ced8pdbc.js.gz +0 -0
  692. package/web/chunk-cj0cmvbm.js +0 -89
  693. package/web/chunk-cj0cmvbm.js.br +0 -0
  694. package/web/chunk-cj0cmvbm.js.gz +0 -0
  695. package/web/chunk-cqr2kq2c.js +0 -1
  696. package/web/chunk-cqr2kq2c.js.br +0 -0
  697. package/web/chunk-cqr2kq2c.js.gz +0 -0
  698. package/web/chunk-crhbhsrh.js +0 -2
  699. package/web/chunk-crhbhsrh.js.br +0 -0
  700. package/web/chunk-crhbhsrh.js.gz +0 -0
  701. package/web/chunk-cxhcrhqc.js +0 -1
  702. package/web/chunk-cxhcrhqc.js.br +0 -0
  703. package/web/chunk-cxhcrhqc.js.gz +0 -0
  704. package/web/chunk-e3d6kvwm.js +0 -1
  705. package/web/chunk-e3d6kvwm.js.br +0 -0
  706. package/web/chunk-e3d6kvwm.js.gz +0 -0
  707. package/web/chunk-ee67ps6t.js +0 -1
  708. package/web/chunk-ee67ps6t.js.br +0 -0
  709. package/web/chunk-ee67ps6t.js.gz +0 -0
  710. package/web/chunk-ef0wf92p.js +0 -2
  711. package/web/chunk-ef0wf92p.js.br +0 -0
  712. package/web/chunk-ef0wf92p.js.gz +0 -0
  713. package/web/chunk-ekwmp0s0.js +0 -1
  714. package/web/chunk-ekwmp0s0.js.br +0 -0
  715. package/web/chunk-ekwmp0s0.js.gz +0 -0
  716. package/web/chunk-eq28qb33.js +0 -2
  717. package/web/chunk-eq28qb33.js.br +0 -3
  718. package/web/chunk-eq28qb33.js.gz +0 -0
  719. package/web/chunk-f8ac76br.js +0 -2
  720. package/web/chunk-f8ac76br.js.br +0 -3
  721. package/web/chunk-f8ac76br.js.gz +0 -0
  722. package/web/chunk-fp7q643n.js +0 -36
  723. package/web/chunk-fp7q643n.js.br +0 -0
  724. package/web/chunk-fp7q643n.js.gz +0 -0
  725. package/web/chunk-g1penf6y.js +0 -2
  726. package/web/chunk-g1penf6y.js.br +0 -0
  727. package/web/chunk-g1penf6y.js.gz +0 -0
  728. package/web/chunk-g7t1bvvx.js +0 -2
  729. package/web/chunk-g7t1bvvx.js.br +0 -0
  730. package/web/chunk-g7t1bvvx.js.gz +0 -0
  731. package/web/chunk-gf4ky7tp.js +0 -8
  732. package/web/chunk-gf4ky7tp.js.br +0 -0
  733. package/web/chunk-gf4ky7tp.js.gz +0 -0
  734. package/web/chunk-gtcjwz0j.js +0 -1
  735. package/web/chunk-gtcjwz0j.js.br +0 -2
  736. package/web/chunk-gtcjwz0j.js.gz +0 -0
  737. package/web/chunk-gy2y4zfa.js +0 -21
  738. package/web/chunk-gy2y4zfa.js.br +0 -0
  739. package/web/chunk-gy2y4zfa.js.gz +0 -0
  740. package/web/chunk-h1cv1kke.js +0 -16
  741. package/web/chunk-h1cv1kke.js.br +0 -0
  742. package/web/chunk-h1cv1kke.js.gz +0 -0
  743. package/web/chunk-h6k80vqf.js +0 -1
  744. package/web/chunk-h6k80vqf.js.br +0 -0
  745. package/web/chunk-h6k80vqf.js.gz +0 -0
  746. package/web/chunk-hqtm67yw.js +0 -24
  747. package/web/chunk-hqtm67yw.js.br +0 -0
  748. package/web/chunk-hqtm67yw.js.gz +0 -0
  749. package/web/chunk-hsgtzrkh.js +0 -1
  750. package/web/chunk-hsgtzrkh.js.br +0 -0
  751. package/web/chunk-hsgtzrkh.js.gz +0 -0
  752. package/web/chunk-htn0dt64.js +0 -2
  753. package/web/chunk-htn0dt64.js.br +0 -0
  754. package/web/chunk-htn0dt64.js.gz +0 -0
  755. package/web/chunk-j7phw79h.js +0 -1
  756. package/web/chunk-j7phw79h.js.br +0 -0
  757. package/web/chunk-j7phw79h.js.gz +0 -0
  758. package/web/chunk-k69ysa0v.js +0 -1
  759. package/web/chunk-k69ysa0v.js.br +0 -0
  760. package/web/chunk-k69ysa0v.js.gz +0 -0
  761. package/web/chunk-k7h5g8qj.js +0 -1
  762. package/web/chunk-k7h5g8qj.js.br +0 -2
  763. package/web/chunk-k7h5g8qj.js.gz +0 -0
  764. package/web/chunk-k8x1xbf6.js +0 -1
  765. package/web/chunk-k8x1xbf6.js.br +0 -0
  766. package/web/chunk-k8x1xbf6.js.gz +0 -0
  767. package/web/chunk-k8yyb4wc.js +0 -2
  768. package/web/chunk-k8yyb4wc.js.br +0 -0
  769. package/web/chunk-k8yyb4wc.js.gz +0 -0
  770. package/web/chunk-kbvzxsz7.js +0 -324
  771. package/web/chunk-kbvzxsz7.js.br +0 -0
  772. package/web/chunk-kbvzxsz7.js.gz +0 -0
  773. package/web/chunk-kn9bc5z2.js +0 -291
  774. package/web/chunk-kn9bc5z2.js.br +0 -0
  775. package/web/chunk-kn9bc5z2.js.gz +0 -0
  776. package/web/chunk-ksr360js.js +0 -4
  777. package/web/chunk-ksr360js.js.br +0 -0
  778. package/web/chunk-ksr360js.js.gz +0 -0
  779. package/web/chunk-m5nt857c.js +0 -1
  780. package/web/chunk-m5nt857c.js.br +0 -0
  781. package/web/chunk-m5nt857c.js.gz +0 -0
  782. package/web/chunk-mbaw66b5.js +0 -2
  783. package/web/chunk-mbaw66b5.js.br +0 -0
  784. package/web/chunk-mbaw66b5.js.gz +0 -0
  785. package/web/chunk-ms7cscs9.js +0 -1
  786. package/web/chunk-ms7cscs9.js.br +0 -0
  787. package/web/chunk-ms7cscs9.js.gz +0 -0
  788. package/web/chunk-n59nyqcr.js +0 -303
  789. package/web/chunk-n59nyqcr.js.br +0 -0
  790. package/web/chunk-n59nyqcr.js.gz +0 -0
  791. package/web/chunk-n9npqkxf.js +0 -1
  792. package/web/chunk-n9npqkxf.js.br +0 -0
  793. package/web/chunk-n9npqkxf.js.gz +0 -0
  794. package/web/chunk-nb3jk1wk.js +0 -1
  795. package/web/chunk-nb3jk1wk.js.br +0 -0
  796. package/web/chunk-nb3jk1wk.js.gz +0 -0
  797. package/web/chunk-ny87aq2j.js +0 -1
  798. package/web/chunk-ny87aq2j.js.br +0 -0
  799. package/web/chunk-ny87aq2j.js.gz +0 -0
  800. package/web/chunk-phr7yps3.js +0 -3
  801. package/web/chunk-phr7yps3.js.br +0 -0
  802. package/web/chunk-phr7yps3.js.gz +0 -0
  803. package/web/chunk-ppccb30x.js +0 -78
  804. package/web/chunk-ppccb30x.js.br +0 -0
  805. package/web/chunk-ppccb30x.js.gz +0 -0
  806. package/web/chunk-q17rem99.js +0 -89
  807. package/web/chunk-q17rem99.js.br +0 -0
  808. package/web/chunk-q17rem99.js.gz +0 -0
  809. package/web/chunk-qdq6wvgt.js +0 -139
  810. package/web/chunk-qdq6wvgt.js.br +0 -0
  811. package/web/chunk-qdq6wvgt.js.gz +0 -0
  812. package/web/chunk-qhr6hegh.js +0 -1
  813. package/web/chunk-qhr6hegh.js.br +0 -0
  814. package/web/chunk-qhr6hegh.js.gz +0 -0
  815. package/web/chunk-qqtj88e0.js +0 -2
  816. package/web/chunk-qqtj88e0.js.br +0 -0
  817. package/web/chunk-qqtj88e0.js.gz +0 -0
  818. package/web/chunk-r165xpp5.js +0 -1
  819. package/web/chunk-r165xpp5.js.br +0 -0
  820. package/web/chunk-r165xpp5.js.gz +0 -0
  821. package/web/chunk-r4cr8rvt.js +0 -1
  822. package/web/chunk-r4cr8rvt.js.br +0 -0
  823. package/web/chunk-r4cr8rvt.js.gz +0 -0
  824. package/web/chunk-sapy54hm.js +0 -106
  825. package/web/chunk-sapy54hm.js.br +0 -0
  826. package/web/chunk-sapy54hm.js.gz +0 -0
  827. package/web/chunk-sarkb4p9.js +0 -12
  828. package/web/chunk-sarkb4p9.js.br +0 -0
  829. package/web/chunk-sarkb4p9.js.gz +0 -0
  830. package/web/chunk-t7vwsg9r.js +0 -292
  831. package/web/chunk-t7vwsg9r.js.br +0 -0
  832. package/web/chunk-t7vwsg9r.js.gz +0 -0
  833. package/web/chunk-ta913rgd.js +0 -2
  834. package/web/chunk-ta913rgd.js.br +0 -0
  835. package/web/chunk-ta913rgd.js.gz +0 -0
  836. package/web/chunk-tt7j0m6m.js +0 -7
  837. package/web/chunk-tt7j0m6m.js.br +0 -0
  838. package/web/chunk-tt7j0m6m.js.gz +0 -0
  839. package/web/chunk-va1rkfan.js +0 -1
  840. package/web/chunk-va1rkfan.js.br +0 -0
  841. package/web/chunk-va1rkfan.js.gz +0 -0
  842. package/web/chunk-vb3sy3hv.js +0 -39
  843. package/web/chunk-vb3sy3hv.js.br +0 -0
  844. package/web/chunk-vb3sy3hv.js.gz +0 -0
  845. package/web/chunk-vgpyff03.js +0 -41
  846. package/web/chunk-vgpyff03.js.br +0 -0
  847. package/web/chunk-vgpyff03.js.gz +0 -0
  848. package/web/chunk-vrtdjg91.js +0 -1
  849. package/web/chunk-vrtdjg91.js.br +0 -0
  850. package/web/chunk-vrtdjg91.js.gz +0 -0
  851. package/web/chunk-vx6qbmd7.js +0 -2
  852. package/web/chunk-vx6qbmd7.js.br +0 -0
  853. package/web/chunk-vx6qbmd7.js.gz +0 -0
  854. package/web/chunk-w563538j.js +0 -370
  855. package/web/chunk-w563538j.js.br +0 -0
  856. package/web/chunk-w563538j.js.gz +0 -0
  857. package/web/chunk-w71t7mes.js +0 -1
  858. package/web/chunk-w71t7mes.js.br +0 -0
  859. package/web/chunk-w71t7mes.js.gz +0 -0
  860. package/web/chunk-w96etr1w.js +0 -1
  861. package/web/chunk-w96etr1w.js.br +0 -0
  862. package/web/chunk-w96etr1w.js.gz +0 -0
  863. package/web/chunk-wrqazg2v.js +0 -2
  864. package/web/chunk-wrqazg2v.js.br +0 -0
  865. package/web/chunk-wrqazg2v.js.gz +0 -0
  866. package/web/chunk-xsyrxa45.js +0 -2
  867. package/web/chunk-xsyrxa45.js.br +0 -0
  868. package/web/chunk-xsyrxa45.js.gz +0 -0
  869. package/web/chunk-xv1d350x.js +0 -1
  870. package/web/chunk-xv1d350x.js.br +0 -0
  871. package/web/chunk-xv1d350x.js.gz +0 -0
  872. package/web/chunk-xw8tzrmm.js +0 -1135
  873. package/web/chunk-xw8tzrmm.js.br +0 -0
  874. package/web/chunk-xw8tzrmm.js.gz +0 -0
  875. package/web/chunk-xwsh4jx7.js +0 -1
  876. package/web/chunk-xwsh4jx7.js.br +0 -2
  877. package/web/chunk-xwsh4jx7.js.gz +0 -0
  878. package/web/chunk-xxk7xkrs.js +0 -1
  879. package/web/chunk-xxk7xkrs.js.br +0 -0
  880. package/web/chunk-xxk7xkrs.js.gz +0 -0
  881. package/web/chunk-y5zd05mz.js +0 -40
  882. package/web/chunk-y5zd05mz.js.br +0 -0
  883. package/web/chunk-y5zd05mz.js.gz +0 -0
  884. package/web/chunk-yg9a23mv.js +0 -1
  885. package/web/chunk-yg9a23mv.js.br +0 -0
  886. package/web/chunk-yg9a23mv.js.gz +0 -0
  887. package/web/chunk-ygzgrjj7.js +0 -7
  888. package/web/chunk-ygzgrjj7.js.br +0 -0
  889. package/web/chunk-ygzgrjj7.js.gz +0 -0
  890. package/web/chunk-yp75a6yh.js +0 -4
  891. package/web/chunk-yp75a6yh.js.br +0 -0
  892. package/web/chunk-yp75a6yh.js.gz +0 -0
  893. package/web/chunk-yygayy5a.js +0 -1
  894. package/web/chunk-yygayy5a.js.br +0 -0
  895. package/web/chunk-yygayy5a.js.gz +0 -0
  896. package/web/chunk-zs7c2db4.js +0 -1
  897. package/web/chunk-zs7c2db4.js.br +0 -0
  898. package/web/chunk-zs7c2db4.js.gz +0 -0
  899. package/web/chunk-zsae1tn8.js +0 -98
  900. package/web/chunk-zsae1tn8.js.br +0 -0
  901. package/web/chunk-zsae1tn8.js.gz +0 -0
Binary file
Binary file
@@ -1,291 +0,0 @@
1
- import{t,i,st,C,L,N,R,P,I,O,D,d,g,Zs,H,Re,Te,Ee,un,He,Ue}from"./chunk-n59nyqcr.js";import{In}from"./chunk-c2eqwepm.js";import{ze}from"./chunk-b2t33c3t.js";import{Me}from"./chunk-eq28qb33.js";var Pt=function(){var e=t(function(Q,c,p,n){for(p=p||{},n=Q.length;n--;p[Q[n]]=c);return p},"o"),s=[1,2],l=[1,3],r=[1,4],u=[2,4],f=[1,9],y=[1,11],m=[1,16],o=[1,17],T=[1,18],E=[1,19],G=[1,33],Y=[1,20],W=[1,21],x=[1,22],S=[1,23],V=[1,24],w=[1,26],z=[1,27],M=[1,28],K=[1,29],A=[1,30],rt=[1,31],St=[1,32],gt=[1,35],yt=[1,36],mt=[1,37],bt=[1,38],it=[1,34],b=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],kt=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],Vt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],Lt={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:t(function(c,p,n,k,_,a,at){var h=a.length-1;switch(_){case 3:return k.setRootDoc(a[h]),a[h];break;case 4:this.$=[];break;case 5:if(a[h]!="nl")a[h-1].push(a[h]),this.$=a[h-1];break;case 6:case 7:this.$=a[h];break;case 8:this.$="nl";break;case 12:this.$=a[h];break;case 13:let Et=a[h-1];Et.description=k.trimColon(a[h]),this.$=Et;break;case 14:this.$={stmt:"relation",state1:a[h-2],state2:a[h]};break;case 15:let _t=k.trimColon(a[h]);this.$={stmt:"relation",state1:a[h-3],state2:a[h-1],description:_t};break;case 19:this.$={stmt:"state",id:a[h-3],type:"default",description:"",doc:a[h-1]};break;case 20:var X=a[h],J=a[h-2].trim();if(a[h].match(":")){var ct=a[h].split(":");X=ct[0],J=[J,ct[1]]}this.$={stmt:"state",id:X,type:"default",description:J};break;case 21:this.$={stmt:"state",id:a[h-3],type:"default",description:a[h-5],doc:a[h-1]};break;case 22:this.$={stmt:"state",id:a[h],type:"fork"};break;case 23:this.$={stmt:"state",id:a[h],type:"join"};break;case 24:this.$={stmt:"state",id:a[h],type:"choice"};break;case 25:this.$={stmt:"state",id:k.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:a[h-1].trim(),note:{position:a[h-2].trim(),text:a[h].trim()}};break;case 29:this.$=a[h].trim(),k.setAccTitle(this.$);break;case 30:case 31:this.$=a[h].trim(),k.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:a[h-3],url:a[h-2],tooltip:a[h-1]};break;case 33:this.$={stmt:"click",id:a[h-3],url:a[h-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:a[h-1].trim(),classes:a[h].trim()};break;case 36:this.$={stmt:"style",id:a[h-1].trim(),styleClass:a[h].trim()};break;case 37:this.$={stmt:"applyClass",id:a[h-1].trim(),styleClass:a[h].trim()};break;case 38:k.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:k.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:k.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:k.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:a[h].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:a[h-2].trim(),classes:[a[h].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:a[h-2].trim(),classes:[a[h].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:s,5:l,6:r},{1:[3]},{3:5,4:s,5:l,6:r},{3:6,4:s,5:l,6:r},e([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],u,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:f,5:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:T,22:E,24:G,25:Y,26:W,27:x,28:S,29:V,32:25,33:w,35:z,37:M,38:K,41:A,45:rt,48:St,51:gt,52:yt,53:mt,54:bt,57:it},e(b,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:m,17:o,19:T,22:E,24:G,25:Y,26:W,27:x,28:S,29:V,32:25,33:w,35:z,37:M,38:K,41:A,45:rt,48:St,51:gt,52:yt,53:mt,54:bt,57:it},e(b,[2,7]),e(b,[2,8]),e(b,[2,9]),e(b,[2,10]),e(b,[2,11]),e(b,[2,12],{14:[1,40],15:[1,41]}),e(b,[2,16]),{18:[1,42]},e(b,[2,18],{20:[1,43]}),{23:[1,44]},e(b,[2,22]),e(b,[2,23]),e(b,[2,24]),e(b,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},e(b,[2,28]),{34:[1,49]},{36:[1,50]},e(b,[2,31]),{13:51,24:G,57:it},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},e(kt,[2,44],{58:[1,56]}),e(kt,[2,45],{58:[1,57]}),e(b,[2,38]),e(b,[2,39]),e(b,[2,40]),e(b,[2,41]),e(b,[2,6]),e(b,[2,13]),{13:58,24:G,57:it},e(b,[2,17]),e(Vt,u,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},e(b,[2,29]),e(b,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},e(b,[2,14],{14:[1,71]}),{4:f,5:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:T,21:[1,72],22:E,24:G,25:Y,26:W,27:x,28:S,29:V,32:25,33:w,35:z,37:M,38:K,41:A,45:rt,48:St,51:gt,52:yt,53:mt,54:bt,57:it},e(b,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},e(b,[2,34]),e(b,[2,35]),e(b,[2,36]),e(b,[2,37]),e(kt,[2,46]),e(kt,[2,47]),e(b,[2,15]),e(b,[2,19]),e(Vt,u,{7:78}),e(b,[2,26]),e(b,[2,27]),{5:[1,79]},{5:[1,80]},{4:f,5:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:T,21:[1,81],22:E,24:G,25:Y,26:W,27:x,28:S,29:V,32:25,33:w,35:z,37:M,38:K,41:A,45:rt,48:St,51:gt,52:yt,53:mt,54:bt,57:it},e(b,[2,32]),e(b,[2,33]),e(b,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:t(function(c,p){if(p.recoverable)this.trace(c);else{var n=Error(c);throw n.hash=p,n}},"parseError"),parse:t(function(c){var p=this,n=[0],k=[],_=[null],a=[],at=this.table,h="",X=0,J=0,ct=0,Et=2,_t=1,de=a.slice.call(arguments,1),v=Object.create(this.lexer),tt={yy:{}};for(var wt in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,wt))tt.yy[wt]=this.yy[wt];if(v.setInput(c,tt.yy),tt.yy.lexer=v,tt.yy.parser=this,typeof v.yylloc>"u")v.yylloc={};var It=v.yylloc;a.push(It);var ue=v.options&&v.options.ranges;if(typeof tt.yy.parseError==="function")this.parseError=tt.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function fe(U){n.length=n.length-2*U,_.length=_.length-U,a.length=a.length-U}t(fe,"popStack");function Mt(){var U=k.pop()||v.lex()||_t;if(typeof U!=="number"){if(U instanceof Array)k=U,U=k.pop();U=p.symbols_[U]||U}return U}t(Mt,"lex");var F,Nt,et,j,Qe,Ot,nt={},vt,q,Wt,Dt;while(!0){if(et=n[n.length-1],this.defaultActions[et])j=this.defaultActions[et];else{if(F===null||typeof F>"u")F=Mt();j=at[et]&&at[et][F]}if(typeof j>"u"||!j.length||!j[0]){var Rt="";Dt=[];for(vt in at[et])if(this.terminals_[vt]&&vt>Et)Dt.push("'"+this.terminals_[vt]+"'");if(v.showPosition)Rt="Parse error on line "+(X+1)+`:
2
- `+v.showPosition()+`
3
- Expecting `+Dt.join(", ")+", got '"+(this.terminals_[F]||F)+"'";else Rt="Parse error on line "+(X+1)+": Unexpected "+(F==_t?"end of input":"'"+(this.terminals_[F]||F)+"'");this.parseError(Rt,{text:v.match,token:this.terminals_[F]||F,line:v.yylineno,loc:It,expected:Dt})}if(j[0]instanceof Array&&j.length>1)throw Error("Parse Error: multiple actions possible at state: "+et+", token: "+F);switch(j[0]){case 1:if(n.push(F),_.push(v.yytext),a.push(v.yylloc),n.push(j[1]),F=null,!Nt){if(J=v.yyleng,h=v.yytext,X=v.yylineno,It=v.yylloc,ct>0)ct--}else F=Nt,Nt=null;break;case 2:if(q=this.productions_[j[1]][1],nt.$=_[_.length-q],nt._$={first_line:a[a.length-(q||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(q||1)].first_column,last_column:a[a.length-1].last_column},ue)nt._$.range=[a[a.length-(q||1)].range[0],a[a.length-1].range[1]];if(Ot=this.performAction.apply(nt,[h,J,X,tt.yy,j[1],_,a].concat(de)),typeof Ot<"u")return Ot;if(q)n=n.slice(0,-1*q*2),_=_.slice(0,-1*q),a=a.slice(0,-1*q);n.push(this.productions_[j[1]][0]),_.push(nt.$),a.push(nt._$),Wt=at[n[n.length-2]][n[n.length-1]],n.push(Wt);break;case 3:return!0}}return!0},"parse")},he=function(){var Q={EOF:1,parseError:t(function(p,n){if(this.yy.parser)this.yy.parser.parseError(p,n);else throw Error(p)},"parseError"),setInput:t(function(c,p){if(this.yy=p||this.yy||{},this._input=c,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:t(function(){var c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var p=c.match(/(?:\r\n?|\n).*/g);if(p)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),c},"input"),unput:t(function(c){var p=c.length,n=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-p),this.offset-=p;var k=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1)this.yylineno-=n.length-1;var _=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===k.length?this.yylloc.first_column:0)+k[k.length-n.length].length-n[0].length:this.yylloc.first_column-p},this.options.ranges)this.yylloc.range=[_[0],_[0]+this.yyleng-p];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
- `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(c){this.unput(this.match.slice(c))},"less"),pastInput:t(function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var c=this.match;if(c.length<20)c+=this._input.substr(0,20-c.length);return(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var c=this.pastInput(),p=Array(c.length+1).join("-");return c+this.upcomingInput()+`
5
- `+p+"^"},"showPosition"),test_match:t(function(c,p){var n,k,_;if(this.options.backtrack_lexer){if(_={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges)_.yylloc.range=this.yylloc.range.slice(0)}if(k=c[0].match(/(?:\r\n?|\n).*/g),k)this.yylineno+=k.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:k?k[k.length-1].length-k[k.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+c[0].length},this.yytext+=c[0],this.match+=c[0],this.matches=c,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(c[0].length),this.matched+=c[0],n=this.performAction.call(this,this.yy,this,p,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(n)return n;else if(this._backtrack){for(var a in _)this[a]=_[a];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var c,p,n,k;if(!this._more)this.yytext="",this.match="";var _=this._currentRules();for(var a=0;a<_.length;a++)if(n=this._input.match(this.rules[_[a]]),n&&(!p||n[0].length>p[0].length)){if(p=n,k=a,this.options.backtrack_lexer)if(c=this.test_match(n,_[a]),c!==!1)return c;else if(this._backtrack){p=!1;continue}else return!1;else if(!this.options.flex)break}if(p){if(c=this.test_match(p,_[k]),c!==!1)return c;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
- `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var p=this.next();if(p)return p;else return this.lex()},"lex"),begin:t(function(p){this.conditionStack.push(p)},"begin"),popState:t(function(){var p=this.conditionStack.length-1;if(p>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(p){if(p=this.conditionStack.length-1-Math.abs(p||0),p>=0)return this.conditionStack[p];else return"INITIAL"},"topState"),pushState:t(function(p){this.begin(p)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(p,n,k,_){function a(){let h=n.yytext.indexOf("%%");if(h===0)return!1;if(h>0){let X=n.yytext.slice(0,h),J=n.yytext.slice(h);if(J)p.lexer.unput(J);n.yytext=X}return!0}t(a,"processId");var at=_;switch(k){case 0:return 38;case 1:return 40;case 2:return 39;case 3:return 44;case 4:return 51;case 5:return 52;case 6:return 53;case 7:return 54;case 8:return 5;case 9:break;case 10:break;case 11:break;case 12:break;case 13:return this.pushState("SCALE"),17;break;case 14:return 18;case 15:this.popState();break;case 16:return this.begin("acc_title"),33;break;case 17:return this.popState(),"acc_title_value";break;case 18:return this.begin("acc_descr"),35;break;case 19:return this.popState(),"acc_descr_value";break;case 20:this.begin("acc_descr_multiline");break;case 21:this.popState();break;case 22:return"acc_descr_multiline_value";case 23:return this.pushState("CLASSDEF"),41;break;case 24:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";break;case 25:return this.popState(),this.pushState("CLASSDEFID"),42;break;case 26:return this.popState(),43;break;case 27:return this.pushState("CLASS"),48;break;case 28:return this.popState(),this.pushState("CLASS_STYLE"),49;break;case 29:return this.popState(),50;break;case 30:return this.pushState("STYLE"),45;break;case 31:return this.popState(),this.pushState("STYLEDEF_STYLES"),46;break;case 32:return this.popState(),47;break;case 33:return this.pushState("SCALE"),17;break;case 34:return 18;case 35:this.popState();break;case 36:this.pushState("STATE");break;case 37:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),25;break;case 38:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),26;break;case 39:return this.popState(),n.yytext=n.yytext.slice(0,-10).trim(),27;break;case 40:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),25;break;case 41:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),26;break;case 42:return this.popState(),n.yytext=n.yytext.slice(0,-10).trim(),27;break;case 43:return 51;case 44:return 52;case 45:return 53;case 46:return 54;case 47:this.pushState("STATE_STRING");break;case 48:return this.pushState("STATE_ID"),"AS";break;case 49:if(!a())return;return this.popState(),"ID";break;case 50:this.popState();break;case 51:return"STATE_DESCR";case 52:throw Error('Error: State name must be a single word. Found: "'+n.yytext.trim()+'"');case 53:return 19;case 54:this.popState();break;case 55:return this.popState(),this.pushState("struct"),20;break;case 56:return this.popState(),21;break;case 57:break;case 58:return this.begin("NOTE"),29;break;case 59:return this.popState(),this.pushState("NOTE_ID"),59;break;case 60:return this.popState(),this.pushState("NOTE_ID"),60;break;case 61:this.popState(),this.pushState("FLOATING_NOTE");break;case 62:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";break;case 63:break;case 64:return"NOTE_TEXT";case 65:if(!a())return;return this.popState(),"ID";break;case 66:if(!a())return;return this.popState(),this.pushState("NOTE_TEXT"),24;break;case 67:return this.popState(),n.yytext=n.yytext.substr(2).trim(),31;break;case 68:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),31;break;case 69:return 6;case 70:return 6;case 71:return 16;case 72:return 57;case 73:if(!a())return;return 24;case 74:return n.yytext=n.yytext.trim(),14;break;case 75:return 15;case 76:return 28;case 77:return 58;case 78:return 5;case 79:return"INVALID"}},"anonymous"),rules:[/^(?:click\b)/i,/^(?:href\b)/i,/^(?:"[^"]*")/i,/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:style\s+)/i,/^(?:[\w,]+\s+)/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\w+\s+\w+.*?\{)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?\n\s*end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:(?:[^:\n;]|:[^:\n;])+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[10,11,12],inclusive:!1},struct:{rules:[10,11,12,23,27,30,36,43,44,45,46,56,57,58,72,73,74,75,76,77],inclusive:!1},FLOATING_NOTE_ID:{rules:[65],inclusive:!1},FLOATING_NOTE:{rules:[62,63,64],inclusive:!1},NOTE_TEXT:{rules:[67,68],inclusive:!1},NOTE_ID:{rules:[66],inclusive:!1},NOTE:{rules:[59,60,61],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[32],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[31],inclusive:!1},CLASS_STYLE:{rules:[29],inclusive:!1},CLASS:{rules:[28],inclusive:!1},CLASSDEFID:{rules:[26],inclusive:!1},CLASSDEF:{rules:[24,25],inclusive:!1},acc_descr_multiline:{rules:[21,22],inclusive:!1},acc_descr:{rules:[19],inclusive:!1},acc_title:{rules:[17],inclusive:!1},SCALE:{rules:[14,15,34,35],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[49],inclusive:!1},STATE_STRING:{rules:[50,51],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[10,11,12,37,38,39,40,41,42,47,48,52,53,54,55],inclusive:!1},ID:{rules:[10,11,12],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,11,12,13,16,18,20,23,27,30,33,36,55,58,69,70,71,72,73,74,75,77,78,79],inclusive:!0}}};return Q}();Lt.lexer=he;function Tt(){this.yy={}}return t(Tt,"Parser"),Tt.prototype=Lt,Lt.Parser=Tt,new Tt}();Pt.parser=Pt;var pe=Pt,Se="TB",Jt="TB",jt="dir",lt="state",ot="root",Bt="relation",ge="classDef",ye="style",me="applyClass",ft="default",qt="divider",Qt="fill:none",Zt="fill: #333",te="c",ee="markdown",se="normal",$t="rect",Ft="rectWithTitle",be="stateStart",ke="stateEnd",Gt="divider",Ut="roundedWithTitle",_e="note",ve="noteGroup",pt="statediagram",De="state",Ce=`${pt}-${De}`,re="transition",Ae="note",xe="note-edge",Le=`${re} ${xe}`,we=`${pt}-${Ae}`,Ie="cluster",Ne=`${pt}-${Ie}`,Oe="cluster-alt",$e=`${pt}-${Oe}`,ie="parent",ae="note",Fe="state",Yt="----",Pe=`${Yt}${ae}`,Ht=`${Yt}${ie}`,At=new Map,Z=0,ne=0,ht=new Map,Be=t((e,s,l,r)=>{if(e===Gt&&l?.id!==void 0&&ht.has(l.id)){let y=ht.get(l.id);return ht.set(s,y),y}let u=ne++,f=r?void 0:u;return ht.set(s,f),f},"colorSlotFor");function xt(e="",s=0,l="",r=Yt){let u=l!==null&&l.length>0?`${r}${l}`:"";return`${Fe}-${e}${u}-${s}`}t(xt,"stateDomId");var Ge=t((e,s,l,r,u,f,y,m)=>{i.trace("items",s),s.forEach((o)=>{switch(o.stmt){case lt:ut(e,o,l,r,u,f,y,m);break;case ft:ut(e,o,l,r,u,f,y,m);break;case Bt:{ut(e,o.state1,l,r,u,f,y,m),ut(e,o.state2,l,r,u,f,y,m);let T=y==="neo",E={id:"edge"+Z,start:o.state1.id,end:o.state2.id,arrowhead:"normal",arrowTypeEnd:T?"arrow_barb_neo":"arrow_barb",style:Qt,labelStyle:"",label:C.sanitizeText(o.description??"",d()),arrowheadStyle:Zt,labelpos:te,labelType:ee,thickness:se,classes:re,look:y};u.push(E),Z++}break}})},"setupDoc"),zt=t((e,s=Jt)=>{let l=s;if(e.doc){for(let r of e.doc)if(r.stmt==="dir")l=r.value}return l},"getDir");function dt(e,s,l){if(!s.id||s.id==="</join></fork>"||s.id==="</choice>")return;if(s.cssClasses){if(!Array.isArray(s.cssCompiledStyles))s.cssCompiledStyles=[];s.cssClasses.split(" ").forEach((u)=>{let f=l.get(u);if(f)s.cssCompiledStyles=[...s.cssCompiledStyles??[],...f.styles]})}let r=e.find((u)=>u.id===s.id);if(r)Object.assign(r,s);else e.push(s)}t(dt,"insertOrUpdateNode");function oe(e){return e?.classes?.join(" ")??""}t(oe,"getClassesFromDbInfo");function le(e){return e?.styles??[]}t(le,"getStylesFromDbInfo");var ut=t((e,s,l,r,u,f,y,m)=>{let o=s.id,T=l.get(o),E=oe(T),G=le(T),Y=d(),W=E.trim()!==""||G.length>0;if(i.info("dataFetcher parsedItem",s,T,G),o!=="root"){let x=$t;if(s.start===!0)x=be;else if(s.start===!1)x=ke;if(s.type!==ft)x=s.type;if(!At.get(o))At.set(o,{id:o,shape:x,description:C.sanitizeText(o,Y),cssClasses:`${E} ${Ce}`,cssStyles:G});let S=At.get(o);if(s.description){if(Array.isArray(S.description))S.shape=Ft,S.description.push(s.description);else if(S.description?.length&&S.description.length>0)if(S.shape=Ft,S.description===o)S.description=[s.description];else S.description=[S.description,s.description];else S.shape=$t,S.description=s.description;S.description=C.sanitizeTextOrArray(S.description,Y)}if(S.description?.length===1&&S.shape===Ft)if(S.type==="group")S.shape=Ut;else S.shape=$t;if(!S.type&&s.doc)i.info("Setting cluster for XCX",o,zt(s)),S.type="group",S.isGroup=!0,S.dir=zt(s),S.shape=s.type===qt?Gt:Ut,S.colorIndex=Be(S.shape,o,e,W),S.cssClasses=`${S.cssClasses} ${Ne} ${f?$e:""}`;let V={labelStyle:"",shape:S.shape,label:S.description,cssClasses:S.cssClasses,cssCompiledStyles:[],cssStyles:S.cssStyles,id:o,dir:S.dir,domId:xt(o,Z),type:S.type,isGroup:S.type==="group",colorIndex:S.colorIndex,padding:8,rx:10,ry:10,look:y,labelType:"markdown"};if(V.shape===Gt)V.label="";if(e&&e.id!=="root")i.trace("Setting node ",o," to be child of its parent ",e.id),V.parentId=e.id;if(V.centerLabel=!0,s.note){let w={labelStyle:"",shape:_e,label:s.note.text,labelType:"markdown",cssClasses:we,cssStyles:[],cssCompiledStyles:[],id:o+Pe+"-"+Z,domId:xt(o,Z,ae),type:"node",isGroup:!1,padding:Y.flowchart?.padding,look:y,position:s.note.position},z=o+Ht,M={labelStyle:"",shape:ve,label:s.note.text,cssClasses:S.cssClasses,cssStyles:[],id:o+Ht,domId:xt(o,Z,ie),type:"group",isGroup:!0,padding:16,look:y,position:s.note.position};Z++,M.id=z,w.parentId=z,dt(r,M,m),dt(r,w,m),dt(r,V,m);let K=o,A=w.id;if(s.note.position==="left of")K=w.id,A=o;u.push({id:K+"-"+A,start:K,end:A,arrowhead:"none",arrowTypeEnd:"",style:Qt,labelStyle:"",classes:Le,pattern:"dashed",arrowheadStyle:Zt,labelpos:te,labelType:ee,thickness:se,look:y})}else dt(r,V,m)}if(s.doc)i.trace("Adding nodes children "),Ge(s,s.doc,l,r,u,!f,y,m)},"dataFetcher"),Ye=t(()=>{At.clear(),Z=0,ne=0,ht.clear()},"reset"),ce=t((e,s=Jt)=>{if(!e.doc)return s;let l=s;for(let r of e.doc)if(r.stmt==="dir")l=r.value;return l},"getDir"),Ve=t(function(e,s){return s.db.getClasses()},"getClasses"),We=t(async function(e,s,l,r){i.info("REF0:"),i.info("Drawing state diagram (v2)",s);let{securityLevel:u,state:f,layout:y}=d();r.db.extract(r.db.getRootDocV2());let m=r.db.getData(),o=ze(s,u);if(m.type=r.type,m.layoutAlgorithm=Ue(y),m.nodeSpacing=f?.nodeSpacing||50,m.rankSpacing=f?.rankSpacing||50,d().look==="neo")m.markers=["barbNeo"];else m.markers=["barb"];m.diagramId=s,await He(m,o);let E=8;try{(typeof r.db.getLinks==="function"?r.db.getLinks():new Map).forEach((Y,W)=>{let x=typeof W==="string"?W:typeof W?.id==="string"?W.id:"",S=m.nodes.find((A)=>A.id===x);if(!x){i.warn("⚠️ Invalid or missing stateId from key:",JSON.stringify(W));return}let V=o.node()?.querySelectorAll("g.node, g.rough-node"),w;if(V?.forEach((A)=>{let rt=A.textContent?.trim();if(A.id===S?.domId||rt===x)w=A}),!w){i.warn("⚠️ Could not find node matching text:",x);return}let z=w.parentNode;if(!z){i.warn("⚠️ Node has no parent, cannot wrap:",x);return}let M=document.createElementNS("http://www.w3.org/2000/svg","a"),K=Y.url.replace(/^"+|"+$/g,"");if(M.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",K),M.setAttribute("target","_blank"),Y.tooltip){let A=Y.tooltip.replace(/^"+|"+$/g,"");M.setAttribute("title",A),w.setAttribute("title",A)}z.replaceChild(M,w),M.appendChild(w),i.info("\uD83D\uDD17 Wrapped node in <a> tag for:",x,Y.url)})}catch(G){i.error("❌ Error injecting clickable links:",G)}H.insertTitle(o,"statediagramTitleText",f?.titleTopMargin??25,r.db.getDiagramTitle()),Me(o,E,pt,f?.useMaxWidth??!0)},"draw"),je={getClasses:Ve,draw:We,getDir:ce},B={START_NODE:"[*]",START_TYPE:"start",END_NODE:"[*]",END_TYPE:"end",COLOR_KEYWORD:"color",FILL_KEYWORD:"fill",BG_FILL:"bgFill",STYLECLASS_SEP:","},Kt=t(()=>new Map,"newClassesList"),Xt=t(()=>({relations:[],states:new Map,documents:{}}),"newDoc"),Ct=t((e)=>JSON.parse(JSON.stringify(e)),"clone"),Ke=class{constructor(e){this.version=e,this.nodes=[],this.edges=[],this.rootDoc=[],this.classes=Kt(),this.documents={root:Xt()},this.currentDocument=this.documents.root,this.startEndCount=0,this.dividerCnt=0,this.links=new Map,this.funs=[],this.getAccTitle=R,this.setAccTitle=N,this.getAccDescription=I,this.setAccDescription=P,this.setDiagramTitle=O,this.getDiagramTitle=D,this.clear(),this.setRootDoc=this.setRootDoc.bind(this),this.getDividerId=this.getDividerId.bind(this),this.setDirection=this.setDirection.bind(this),this.trimColon=this.trimColon.bind(this),this.bindFunctions=this.bindFunctions.bind(this)}static{t(this,"StateDB")}static{this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3}}extract(e){this.clear(!0);for(let r of Array.isArray(e)?e:e.doc)switch(r.stmt){case lt:this.addState(r.id.trim(),r.type,r.doc,r.description,r.note);break;case Bt:this.addRelation(r.state1,r.state2,r.description);break;case ge:this.addStyleClass(r.id.trim(),r.classes);break;case ye:this.handleStyleDef(r);break;case me:this.setCssClass(r.id.trim(),r.styleClass);break;case"click":this.addLink(r.id,r.url,r.tooltip);break}let s=this.getStates(),l=d();Ye(),ut(void 0,this.getRootDocV2(),s,this.nodes,this.edges,!0,l.look,this.classes);for(let r of this.nodes){if(!Array.isArray(r.label))continue;if(r.description=r.label.slice(1),r.isGroup&&r.description.length>0)throw Error(`Group nodes can only have label. Remove the additional description for node [${r.id}]`);r.label=r.label[0]}}handleStyleDef(e){let s=e.id.trim().split(","),l=e.styleClass.split(",");for(let r of s){let u=this.getState(r);if(!u){let f=r.trim();this.addState(f),u=this.getState(f)}if(u)u.styles=l.map((f)=>f.replace(/;/g,"")?.trim())}}setRootDoc(e){if(i.info("Setting root doc",e),this.rootDoc=e,this.version===1)this.extract(e);else this.extract(this.getRootDocV2())}docTranslator(e,s,l){if(s.stmt===Bt){this.docTranslator(e,s.state1,!0),this.docTranslator(e,s.state2,!1);return}if(s.stmt===lt)if(s.id===B.START_NODE)s.id=e.id+(l?"_start":"_end"),s.start=l;else s.id=s.id.trim();if(s.stmt!==ot&&s.stmt!==lt||!s.doc)return;let r=[],u=[];for(let f of s.doc)if(f.type===qt){let y=Ct(f);y.doc=Ct(u),r.push(y),u=[]}else u.push(f);if(r.length>0&&u.length>0){let f={stmt:lt,id:Zs(),type:"divider",doc:Ct(u)};r.push(Ct(f)),s.doc=r}s.doc.forEach((f)=>this.docTranslator(s,f,!0))}getRootDocV2(){return this.docTranslator({id:ot,stmt:ot},{id:ot,stmt:ot,doc:this.rootDoc},!0),{id:ot,doc:this.rootDoc}}addState(e,s=ft,l=void 0,r=void 0,u=void 0,f=void 0,y=void 0,m=void 0){let o=e?.trim();if(!this.currentDocument.states.has(o))i.info("Adding state ",o,r),this.currentDocument.states.set(o,{stmt:lt,id:o,descriptions:[],type:s,doc:l,note:u,classes:[],styles:[],textStyles:[]});else{let T=this.currentDocument.states.get(o);if(!T)throw Error(`State not found: ${o}`);if(!T.doc)T.doc=l;if(!T.type)T.type=s}if(r)i.info("Setting state description",o,r),(Array.isArray(r)?r:[r]).forEach((E)=>this.addDescription(o,E.trim()));if(u){let T=this.currentDocument.states.get(o);if(!T)throw Error(`State not found: ${o}`);T.note=u,T.note.text=C.sanitizeText(T.note.text,d())}if(f)i.info("Setting state classes",o,f),(Array.isArray(f)?f:[f]).forEach((E)=>this.setCssClass(o,E.trim()));if(y)i.info("Setting state styles",o,y),(Array.isArray(y)?y:[y]).forEach((E)=>this.setStyle(o,E.trim()));if(m)i.info("Setting state styles",o,y),(Array.isArray(m)?m:[m]).forEach((E)=>this.setTextStyle(o,E.trim()))}clear(e){if(this.nodes=[],this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.documents={root:Xt()},this.currentDocument=this.documents.root,this.startEndCount=0,this.classes=Kt(),!e)this.links=new Map,L()}getState(e){return this.currentDocument.states.get(e)}getStates(){return this.currentDocument.states}logDocuments(){i.info("Documents = ",this.documents)}getRelations(){return this.currentDocument.relations}addLink(e,s,l){this.links.set(e,{url:s,tooltip:l}),i.warn("Adding link",e,s,l)}getLinks(){return this.links}startIdIfNeeded(e=""){if(e===B.START_NODE)return this.startEndCount++,`${B.START_TYPE}${this.startEndCount}`;return e}startTypeIfNeeded(e="",s=ft){return e===B.START_NODE?B.START_TYPE:s}endIdIfNeeded(e=""){if(e===B.END_NODE)return this.startEndCount++,`${B.END_TYPE}${this.startEndCount}`;return e}endTypeIfNeeded(e="",s=ft){return e===B.END_NODE?B.END_TYPE:s}addRelationObjs(e,s,l=""){let r=this.startIdIfNeeded(e.id.trim()),u=this.startTypeIfNeeded(e.id.trim(),e.type),f=this.startIdIfNeeded(s.id.trim()),y=this.startTypeIfNeeded(s.id.trim(),s.type);this.addState(r,u,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),this.addState(f,y,s.doc,s.description,s.note,s.classes,s.styles,s.textStyles),this.currentDocument.relations.push({id1:r,id2:f,relationTitle:C.sanitizeText(l,d())})}addRelation(e,s,l){if(typeof e==="object"&&typeof s==="object")this.addRelationObjs(e,s,l);else if(typeof e==="string"&&typeof s==="string"){let r=this.startIdIfNeeded(e.trim()),u=this.startTypeIfNeeded(e),f=this.endIdIfNeeded(s.trim()),y=this.endTypeIfNeeded(s);this.addState(r,u),this.addState(f,y),this.currentDocument.relations.push({id1:r,id2:f,relationTitle:l?C.sanitizeText(l,d()):void 0})}}addDescription(e,s){let l=this.currentDocument.states.get(e),r=s.startsWith(":")?s.replace(":","").trim():s;l?.descriptions?.push(C.sanitizeText(r,d()))}cleanupLabel(e){return e.startsWith(":")?e.slice(2).trim():e.trim()}getDividerId(){return this.dividerCnt++,`divider-id-${this.dividerCnt}`}addStyleClass(e,s=""){if(!this.classes.has(e))this.classes.set(e,{id:e,styles:[],textStyles:[]});let l=this.classes.get(e);if(s&&l)s.split(B.STYLECLASS_SEP).forEach((r)=>{let u=r.replace(/([^;]*);/,"$1").trim();if(RegExp(B.COLOR_KEYWORD).exec(r)){let y=u.replace(B.FILL_KEYWORD,B.BG_FILL).replace(B.COLOR_KEYWORD,B.FILL_KEYWORD);l.textStyles.push(y)}l.styles.push(u)})}getClasses(){return this.classes}setupToolTips(e){let s=In();g(e).select("svg").selectAll("g.node, g.rough-node").on("mouseover",(u)=>{let f=g(u.currentTarget),y=f.attr("title");if(y===null)return;let m=u.currentTarget?.getBoundingClientRect();s.transition().duration(200).style("opacity",".9"),s.style("left",window.scrollX+m.left+(m.right-m.left)/2+"px").style("top",window.scrollY+m.bottom+"px"),s.html(st.sanitize(y)),f.classed("hover",!0)}).on("mouseout",(u)=>{s.transition().duration(500).style("opacity",0),g(u.currentTarget).classed("hover",!1)})}setCssClass(e,s){e.split(",").forEach((l)=>{let r=this.getState(l);if(!r){let u=l.trim();this.addState(u),r=this.getState(u)}r?.classes?.push(s)})}setStyle(e,s){this.getState(e)?.styles?.push(s)}setTextStyle(e,s){this.getState(e)?.textStyles?.push(s)}bindFunctions(e){this.funs.forEach((s)=>{s(e)})}getDirectionStatement(){return this.rootDoc.find((e)=>e.stmt===jt)}getDirection(){return this.getDirectionStatement()?.value??Se}setDirection(e){let s=this.getDirectionStatement();if(s)s.value=e;else this.rootDoc.unshift({stmt:jt,value:e})}trimColon(e){return e.startsWith(":")?e.slice(1).trim():e.trim()}getData(){let e=d();for(let s of this.nodes)if(s.wrappingWidth??=e.state?.wrappingWidth,!s.isGroup)s.minWidth??=e.state?.minNodeWidth;return{nodes:this.nodes,edges:this.edges,other:{},config:e,direction:ce(this.getRootDocV2())}}getConfig(){return d().state}},Xe=t((e)=>{let{theme:s,bkgColorArray:l,borderColorArray:r}=e;if(!Te(s,r))return"";let u=Ee(e.look),f=Re(l),y="";for(let m=0;m<un(r);m++){let o=r[m],T=f?`fill: ${l[m%l.length]};`:"",E=`[data-look="${u}"][data-color-id="color-${m}"]`;y+=`
7
-
8
- /* The title strip: \`rect.outer\` spans the whole composite and \`rect.inner\` covers
9
- the body, so what stays visible of \`outer\` is the band behind the label. */
10
- ${E}.statediagram-cluster rect.outer {
11
- stroke: ${o};
12
- ${T}
13
- }
14
-
15
- ${E}.statediagram-cluster rect.inner {
16
- stroke: ${o};
17
- }
18
-
19
- /* Concurrency regions. Siblings of one composite share a slot, so a divided composite
20
- reads as one thing split into parts rather than as several composites. */
21
- ${E}.statediagram-cluster rect.divider {
22
- stroke: ${o};
23
- ${T}
24
- }
25
-
26
- /* handDrawn draws the same container as roughjs shapes rather than plain rects, so it
27
- needs its own rules. \`roundedWithTitle\` and \`divider\` name those groups \`outer\`,
28
- \`inner\` and \`divider\` to match the classic branch, which is what lets these
29
- discriminate -- a bare \`.statediagram-cluster path\` rule reached the body as well and
30
- tinted the whole composite, losing \`compositeBackground\` and diverging from what
31
- classic and neo do.
32
-
33
- roughjs emits two paths per shape and marks them: the filled shape carries
34
- \`stroke="none"\` and the sketched outline carries \`fill="none"\`. Splitting on that is
35
- what keeps \`fill\` off the outline -- a rough outline is open squiggles, not a closed
36
- region, so filling it produces smears -- and keeps \`stroke\` off the fill shape, which
37
- would otherwise gain an edge it was drawn without. */
38
- ${E}.statediagram-cluster .outer path[stroke='none'] {
39
- ${T}
40
- }
41
-
42
- ${E}.statediagram-cluster .outer path[fill='none'] {
43
- stroke: ${o};
44
- }
45
-
46
- /* No \`.inner\` rule on purpose. The body shape is left entirely alone under handDrawn,
47
- where a rect's \`inner\` counterpart cannot be recoloured safely: roughjs draws a
48
- hachure fill as *stroked* lines, so its fill paths carry \`fill="none"\` exactly like
49
- the outline and no selector separates them. An \`.inner\` stroke rule therefore
50
- repainted the hatching of every alt composite in the palette colour instead of
51
- leaving it on \`altBackground\`. The container still reads as palette-coloured: the
52
- \`outer\` shape spans the whole composite, so its outline already frames the body. */
53
-
54
- /* Regions split the same way, which is why \`divider\` fills solid rather than taking
55
- roughjs's default hachure -- see the note on that call. Hatched, both of its paths
56
- carried \`fill="none"\` and these two rules degenerated: the tint matched nothing and
57
- the border rule repainted the hatching. */
58
- ${E}.statediagram-cluster .divider path[stroke='none'] {
59
- ${T}
60
- }
61
-
62
- ${E}.statediagram-cluster .divider path[fill='none'] {
63
- stroke: ${o};
64
- }
65
- `}return y},"genColor"),Je=t((e)=>`
66
- ${Xe(e)}
67
- defs [id$="-barbEnd"] {
68
- fill: ${e.transitionColor};
69
- stroke: ${e.transitionColor};
70
- }
71
- g.stateGroup text {
72
- fill: ${e.nodeBorder};
73
- stroke: none;
74
- font-size: 10px;
75
- }
76
- g.stateGroup text {
77
- fill: ${e.textColor};
78
- stroke: none;
79
- font-size: 10px;
80
-
81
- }
82
- g.stateGroup .state-title {
83
- font-weight: bolder;
84
- fill: ${e.stateLabelColor};
85
- }
86
-
87
- g.stateGroup rect {
88
- fill: ${e.mainBkg};
89
- stroke: ${e.nodeBorder};
90
- }
91
-
92
- g.stateGroup line {
93
- stroke: ${e.lineColor};
94
- stroke-width: ${e.strokeWidth||1};
95
- }
96
-
97
- .transition {
98
- stroke: ${e.transitionColor};
99
- stroke-width: ${e.strokeWidth||1};
100
- fill: none;
101
- }
102
-
103
- .stateGroup .composit {
104
- fill: ${e.background};
105
- border-bottom: 1px
106
- }
107
-
108
- .stateGroup .alt-composit {
109
- fill: #e0e0e0;
110
- border-bottom: 1px
111
- }
112
-
113
- .state-note {
114
- stroke: ${e.noteBorderColor};
115
- fill: ${e.noteBkgColor};
116
-
117
- text {
118
- fill: ${e.noteTextColor};
119
- stroke: none;
120
- font-size: 10px;
121
- }
122
- }
123
-
124
- .stateLabel .box {
125
- stroke: none;
126
- stroke-width: 0;
127
- fill: ${e.mainBkg};
128
- opacity: 0.5;
129
- }
130
-
131
- .edgeLabel .label rect {
132
- fill: ${e.labelBackgroundColor};
133
- opacity: 0.5;
134
- }
135
- .edgeLabel {
136
- background-color: ${e.edgeLabelBackground};
137
- p {
138
- background-color: ${e.edgeLabelBackground};
139
- }
140
- rect {
141
- opacity: 0.5;
142
- background-color: ${e.edgeLabelBackground};
143
- fill: ${e.edgeLabelBackground};
144
- }
145
- text-align: center;
146
- }
147
- .edgeLabel .label text {
148
- fill: ${e.transitionLabelColor||e.tertiaryTextColor};
149
- }
150
- .label div .edgeLabel {
151
- color: ${e.transitionLabelColor||e.tertiaryTextColor};
152
- }
153
-
154
- .stateLabel text {
155
- fill: ${e.stateLabelColor};
156
- font-size: 10px;
157
- font-weight: bold;
158
- }
159
-
160
- .node circle.state-start {
161
- fill: ${e.specialStateColor};
162
- stroke: ${e.specialStateColor};
163
- }
164
-
165
- .node .fork-join {
166
- fill: ${e.specialStateColor};
167
- stroke: ${e.specialStateColor};
168
- }
169
-
170
- .node circle.state-end {
171
- fill: ${e.innerEndBackground};
172
- stroke: ${e.background};
173
- stroke-width: 1.5
174
- }
175
- .end-state-inner {
176
- fill: ${e.compositeBackground||e.background};
177
- // stroke: ${e.background};
178
- stroke-width: 1.5
179
- }
180
-
181
- .node rect {
182
- fill: ${e.stateBkg||e.mainBkg};
183
- stroke: ${e.stateBorder||e.nodeBorder};
184
- stroke-width: ${e.strokeWidth||1}px;
185
- }
186
- .node polygon {
187
- fill: ${e.mainBkg};
188
- stroke: ${e.stateBorder||e.nodeBorder};;
189
- stroke-width: ${e.strokeWidth||1}px;
190
- }
191
- [id$="-barbEnd"] {
192
- fill: ${e.lineColor};
193
- }
194
-
195
- .statediagram-cluster rect {
196
- fill: ${e.compositeTitleBackground};
197
- stroke: ${e.stateBorder||e.nodeBorder};
198
- stroke-width: ${e.strokeWidth||1}px;
199
- }
200
-
201
- .cluster-label, .nodeLabel {
202
- color: ${e.stateLabelColor};
203
- // line-height: 1;
204
- }
205
-
206
- .statediagram-cluster rect.outer {
207
- rx: 5px;
208
- ry: 5px;
209
- }
210
- .statediagram-state .divider {
211
- stroke: ${e.stateBorder||e.nodeBorder};
212
- }
213
-
214
- .statediagram-state .title-state {
215
- rx: 5px;
216
- ry: 5px;
217
- }
218
- .statediagram-cluster.statediagram-cluster .inner {
219
- fill: ${e.compositeBackground||e.background};
220
- }
221
- .statediagram-cluster.statediagram-cluster-alt .inner {
222
- fill: ${e.altBackground?e.altBackground:"#efefef"};
223
- }
224
-
225
- .statediagram-cluster .inner {
226
- rx:0;
227
- ry:0;
228
- }
229
-
230
- .statediagram-state rect.basic {
231
- rx: 5px;
232
- ry: 5px;
233
- }
234
- .statediagram-state rect.divider {
235
- stroke-dasharray: 10,10;
236
- fill: ${e.altBackground?e.altBackground:"#efefef"};
237
- }
238
-
239
- .note-edge {
240
- stroke-dasharray: 5;
241
- }
242
-
243
- .statediagram-note rect {
244
- fill: ${e.noteBkgColor};
245
- stroke: ${e.noteBorderColor};
246
- stroke-width: 1px;
247
- rx: 0;
248
- ry: 0;
249
- }
250
- .statediagram-note rect {
251
- fill: ${e.noteBkgColor};
252
- stroke: ${e.noteBorderColor};
253
- stroke-width: 1px;
254
- rx: 0;
255
- ry: 0;
256
- }
257
-
258
- .statediagram-note text {
259
- fill: ${e.noteTextColor};
260
- }
261
-
262
- .statediagram-note .nodeLabel {
263
- color: ${e.noteTextColor};
264
- }
265
- .statediagram .edgeLabel {
266
- color: red; // ${e.noteTextColor};
267
- }
268
-
269
- [id$="-dependencyStart"], [id$="-dependencyEnd"] {
270
- fill: ${e.lineColor};
271
- stroke: ${e.lineColor};
272
- stroke-width: ${e.strokeWidth||1};
273
- }
274
-
275
- .statediagramTitleText {
276
- text-anchor: middle;
277
- font-size: 18px;
278
- fill: ${e.textColor};
279
- }
280
-
281
- [data-look="neo"].statediagram-cluster rect {
282
- fill: ${e.mainBkg};
283
- stroke: ${e.useGradient?"url("+e.svgId+"-gradient)":e.stateBorder||e.nodeBorder};
284
- stroke-width: ${e.strokeWidth??1};
285
- }
286
- [data-look="neo"].statediagram-cluster rect.outer {
287
- rx: ${e.radius}px;
288
- ry: ${e.radius}px;
289
- filter: ${e.dropShadow?e.dropShadow.replace("url(#drop-shadow)",`url(${e.svgId}-drop-shadow)`):"none"}
290
- }
291
- `,"getStyles"),qe=Je,ms={parser:pe,get db(){return new Ke(2)},renderer:je,styles:qe,init:t((e)=>{if(!e.state)e.state={};e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};export{ms as diagram};
Binary file
Binary file
@@ -1,4 +0,0 @@
1
- import{q,Sn,s,w,o,a,m,e,n,y,K,ts,zc,ic,ci,zi,Hc,oc,Uc,Hi,Ui,kr,ns,rs}from"./chunk-xw8tzrmm.js";import{Pa}from"./chunk-0g9ycv0h.js";var P={sealed:"已封存",folded:"已折叠",archived:"已移出"},B=["bg-accent","bg-accent-strong","bg-warning","bg-success"];function W(t,l){if(t.startsWith("recent-"))return"json";let d=l.trimStart();if(!d)return"markdown";if(d.startsWith("{")||d.startsWith("["))return"json";if(/^<[a-zA-Z_][\w.-]*(?:\s+[^>]*)?>/.test(d))return"xml";return"markdown"}function L(t){if(!t||t.length>32000)return t;if(!t.trimStart().startsWith("<"))return t;let d=[],r=0,i=(p)=>" ".repeat(p),u=/(<([a-zA-Z_][\w.-]*)(?:\s+[^>]*)?>([^\r\n<]*)<\/\2>)|(<\/[a-zA-Z_][\w.-]*>)|(<[a-zA-Z_][\w.-]*(?:\s+[^>]*)?\/>)|(<[a-zA-Z_][\w.-]*(?:\s+[^>]*)?>)|([^<]+)/g;for(let p of t.matchAll(u)){let[,f,,,g,c,v,x]=p;if(f)d.push(`${i(r)}${f.trim()}`);else if(g)r=Math.max(0,r-1),d.push(`${i(r)}${g.trim()}`);else if(v)d.push(`${i(r)}${v.trim()}`),r++;else if(c)d.push(`${i(r)}${c.trim()}`);else if(x){let h=x.trim();if(h)for(let C of h.split(/\r?\n/)){let N=C.trim();if(N)d.push(`${i(r)}${N}`)}}}return d.length>0?d.join(`
2
- `):t}function z(){return n("div",{role:"status","aria-busy":"true","aria-label":"正在加载上下文",className:"space-y-2 animate-pulse",children:[e("div",{className:"h-10 rounded-xl border border-line bg-panel/40"}),e("div",{className:"h-10 rounded-xl border border-line bg-panel/40"}),e("div",{className:"h-10 rounded-xl border border-line bg-panel/40"})]})}function T(t){let{style:l}=y();return e("p",{className:l("surface.empty"),children:t.children})}function E(t){let{Chevron:l,Collapsible:d,CollapsibleContent:r,CollapsibleTrigger:i,style:u}=y(),[p,f]=a(!1),[g,c]=a(!1);return n(d,{open:p,onOpenChange:(v)=>Sn(()=>{if(f(v),v)c(!0)}),className:u("surface.interactive","group/collapsible"),children:[n(i,{className:"flex w-full items-center gap-2 px-3 py-2 text-left text-xs",children:[t.header,e(l,{className:"-rotate-90 text-faint group-data-[state=open]/collapsible:rotate-90"})]}),e(r,{children:g&&e("div",{className:"border-t border-line/60 bg-raised/20 px-3 py-2 text-xs text-dim",children:t.children})})]})}function R(t){let{Code:l}=y();return e(l,{code:t.code,lang:t.lang,className:"text-[11px]! leading-relaxed! [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_pre]:[overflow-wrap:anywhere]"})}function O(t){let{cn:l}=y();if(!t.items.length)return e(T,{children:"新会话还没有上下文。发送第一条消息后,这里会显示构成。"});let d=t.items.reduce((r,i)=>r+i.tokens,0)||1;return n("div",{className:"space-y-2.5",children:[e("div",{className:"flex h-2 overflow-hidden rounded-full bg-raised",children:t.items.map((r,i)=>e("span",{className:l(B[i%B.length],"transition-[width] duration-300 ease-out-quint"),title:`${r.label}:${r.tokens.toLocaleString()} token`,style:{width:`${r.tokens/d*100}%`}},r.id))}),e("div",{className:"space-y-1.5",children:t.items.map((r,i)=>e(Y,{item:r,total:d,index:i,color:B[i%B.length]??"bg-accent"},r.id))})]})}function Y(t){let{cn:l,style:d,useTheme:r}=y();r();let i=(t.item.tokens/t.total*100).toFixed(1);return e(E,{header:n(m,{children:[e("span",{className:l("size-2 shrink-0 rounded-full",t.color),"aria-hidden":!0}),e("span",{className:"min-w-0 flex-1 font-medium break-words text-ink [overflow-wrap:anywhere]",children:t.item.label}),t.item.state&&e("span",{className:d("control.badge","text-[10px]"),children:P[t.item.state]}),e("span",{className:"font-mono tabular-nums text-dim",children:t.item.tokens.toLocaleString()}),n("span",{className:"w-10 text-right font-mono text-[11px] tabular-nums text-faint",children:[i,"%"]})]}),children:e(ee,{item:t.item,percent:i,color:t.color})})}function ee(t){let{cn:l,CopyButton:d,style:r,useTheme:i}=y();i();let u=t.item.detail,p=w(()=>u?W(t.item.id,u):"markdown",[u,t.item.id]),f=w(()=>{if(!u)return"";return p==="xml"?L(u):u},[u,p]);return n(m,{children:[e("div",{className:"mb-2 h-1 overflow-hidden rounded-full bg-raised",children:e("div",{className:l("h-full",t.color),style:{width:`${t.percent}%`}})}),f?n("div",{className:r("surface.subtle","group/detail relative overflow-hidden rounded-lg bg-panel/70 p-2.5"),children:[e("div",{className:"absolute right-1.5 top-1.5 z-10",children:e(d,{text:t.item.detail,size:"icon-xs",className:"bg-raised/60 hover:bg-raised text-faint hover:text-ink backdrop-blur-sm"})}),e("div",{className:"max-h-80 overflow-y-auto pr-6 text-dim",children:e(R,{code:f,lang:p})})]}):e("p",{className:"py-2 text-center text-xs text-faint",children:"(空)"})]})}var M=40,te={accent:"bg-accent/15 text-accent",success:"bg-success/15 text-success",warning:"bg-warning/15 text-warning",danger:"bg-danger/15 text-danger",neutral:"bg-raised text-dim"};function j(t){let{Button:l,CopyButton:d,style:r,useTheme:i}=y();i();let[u,p]=a(M),f=o(null),g=w(()=>t.entries.filter((x)=>!(x.type==="extension"&&x.namespace==="session"&&x.kind==="request_budget")),[t.entries]),c=u<g.length;s(()=>{let x=f.current;if(!x||!c||typeof IntersectionObserver>"u")return;let h=new IntersectionObserver((C)=>{if(C.some((N)=>N.isIntersecting))p((N)=>Math.min(g.length,N+M))},{rootMargin:"480px"});return h.observe(x),()=>h.disconnect()},[c,g.length]);let v=w(()=>g.slice(-u).reverse(),[g,u]);if(!g.length)return e(T,{children:"还没有消息。"});return n("div",{className:"space-y-1.5",children:[n("div",{className:r("surface.subtle","flex items-center justify-between px-3 py-1.5 text-xs text-faint"),children:[n("span",{children:["共 ",g.length," 条记录"]}),e(d,{text:()=>t.entries.map((x)=>JSON.stringify(x,null,2)).join(`
3
-
4
- `),size:"icon-xs",label:"复制全部原始 JSON",className:"hover:bg-raised text-faint hover:text-ink"})]}),v.map((x)=>e(ae,{entry:x},x.seq)),c&&n("div",{ref:f,className:r("surface.subtle","flex items-center justify-between bg-panel/40 px-3 py-2 text-xs text-faint"),children:[n("span",{children:["已显示 ",v.length," / ",g.length," 条"]}),n("div",{className:"flex items-center gap-1.5",children:[e(l,{size:"sm",variant:"ghost",onClick:()=>p((x)=>Math.min(g.length,x+M)),children:"加载更多"}),e(l,{size:"sm",variant:"ghost",onClick:()=>p(g.length),children:"显示全部"})]})]})]})}var ae=q(function(l){let{CopyButton:d,style:r,useTheme:i}=y();i();let u=Hc(l.entry),p=w(()=>zc(l.entry.time),[l.entry.time]);return e(E,{header:n(m,{children:[n("span",{className:"shrink-0 font-mono text-[10.5px] tabular-nums text-faint",children:["#",l.entry.seq]}),e("span",{className:r("control.badge","shrink-0 font-medium text-[10px]",te[u.tone]),children:u.badge}),e("span",{className:"min-w-0 flex-1 truncate text-ink",children:u.title}),u.meta&&e("span",{className:r("control.badge","shrink-0 font-mono text-[10px] text-faint"),children:u.meta}),e("span",{className:"shrink-0 font-mono text-[10.5px] tabular-nums text-faint",children:p})]}),children:n("div",{className:"space-y-2",children:[n("div",{className:"flex items-center justify-between text-[11px] text-faint",children:[n("span",{className:"font-mono",children:[l.entry.type," · #",l.entry.seq]}),e(d,{text:()=>JSON.stringify(l.entry,null,2),size:"icon-xs",label:"复制此条 JSON",className:"bg-raised/60 hover:bg-raised text-faint hover:text-ink"})]}),e(se,{entry:l.entry})]})})});function se(t){let{style:l,useTheme:d}=y();d();let r=t.entry;if(r.type==="user")return n("div",{className:"space-y-2",children:[r.text&&e("pre",{className:l("surface.subtle","max-h-72 overflow-y-auto p-2.5 font-sans text-xs leading-relaxed text-ink whitespace-pre-wrap break-words [overflow-wrap:anywhere]"),children:ci(r.text)}),r.attachments&&r.attachments.length>0&&n("div",{className:"space-y-1",children:[n("div",{className:"text-[10.5px] font-medium text-faint",children:["附件(",r.attachments.length,")"]}),e("div",{className:"flex flex-wrap gap-1.5",children:r.attachments.map((i,u)=>{let p=i.kind==="image"?Math.floor(i.data.length*0.75):i.data.length;return n("div",{className:l("surface.subtle","inline-flex items-center gap-1.5 px-2 py-1 text-[11px]"),children:[e("span",{className:l("control.badge","text-[10px] text-faint"),children:i.kind==="image"?"图片":i.kind==="path"?"路径":"文本"}),e("span",{className:"max-w-40 truncate font-medium text-ink",children:i.name}),n("span",{className:"font-mono text-[10px] text-faint",children:[i.mimeType," · ",ic(p)]})]},`${i.name}-${u}`)})})]}),r.notices&&r.notices.length>0&&n("div",{className:"space-y-1",children:[n("div",{className:"text-[10.5px] font-medium text-faint",children:["通知来源(",r.notices.length,")"]}),r.notices.map((i)=>n("div",{className:l("surface.subtle","flex items-center justify-between px-2.5 py-1.5 font-mono text-[11px]"),children:[n("span",{className:"truncate text-ink",children:[i.sourceKind,"/",i.sourceID]}),e("span",{className:"text-faint",children:i.state})]},i.dedupeKey))]})]});if(r.type==="assistant")return n("div",{className:"space-y-2",children:[n("div",{className:"font-mono text-[11px] text-faint",children:["模型:",r.model]}),r.error&&e("div",{className:"rounded-lg border border-danger/30 bg-danger/8 px-2.5 py-2 text-xs text-danger",children:r.error}),r.parts.map((i,u)=>{if(i.type==="thinking")return n("div",{className:l("surface.subtle","p-2.5 space-y-1"),children:[e("div",{className:"text-[10.5px] font-medium text-faint",children:"思考"}),e("pre",{className:"max-h-60 overflow-y-auto font-sans text-xs italic leading-relaxed text-dim whitespace-pre-wrap break-words [overflow-wrap:anywhere]",children:ci(i.text)})]},`thinking-${u}`);if(i.type==="text")return n("div",{className:l("surface.subtle","p-2.5 space-y-1"),children:[e("div",{className:"text-[10.5px] font-medium text-faint",children:"回复"}),e("pre",{className:"max-h-60 overflow-y-auto font-sans text-xs leading-relaxed text-ink whitespace-pre-wrap break-words [overflow-wrap:anywhere]",children:ci(i.text)})]},`text-${u}`);return n("div",{className:l("surface.subtle","p-2.5 space-y-1.5"),children:[n("div",{className:"flex items-center justify-between gap-2 text-[11px]",children:[n("span",{className:"font-mono font-medium text-ink",children:["工具调用 · ",i.name]}),e("span",{className:"truncate font-mono text-[10px] text-faint",children:i.id})]}),e("div",{className:"max-h-60 overflow-y-auto text-dim",children:e(R,{code:zi(JSON.stringify(i.input,oc,2)),lang:"json"})})]},i.id||`tool-${u}`)})]});if(r.type==="tool_result")return n("div",{className:"space-y-2",children:[n("div",{className:"flex flex-wrap items-center gap-2 font-mono text-[11px] text-faint",children:[e("span",{className:"text-ink",children:r.name}),e("span",{children:"·"}),e("span",{className:"truncate",children:r.callID}),e("span",{className:l("control.badge","ml-auto font-sans text-[10px]",r.isError?"bg-danger/15 text-danger":"text-dim"),children:r.isError?"执行失败":"执行完成"})]}),r.images&&r.images.length>0&&e("div",{className:"flex flex-wrap gap-1.5",children:r.images.map((i,u)=>n("span",{className:l("surface.subtle","px-2 py-1 font-mono text-[10.5px] text-faint"),children:["图片 #",u+1," · ",i.mimeType," · ",ic(Math.floor(i.data.length*0.75))]},`${i.mimeType}-${u}`))}),ts(r.output)?e("pre",{className:l("surface.subtle","max-h-72 overflow-y-auto p-2.5 font-mono text-[11px] leading-relaxed whitespace-pre-wrap break-words [overflow-wrap:anywhere]",r.isError?"text-danger":"text-dim"),children:ci(r.output)}):e("p",{className:"py-1 text-faint",children:"(无文本输出)"})]});return e("pre",{className:l("surface.subtle","max-h-72 overflow-y-auto p-2.5 font-mono text-[11px] leading-relaxed text-dim whitespace-pre-wrap break-words [overflow-wrap:anywhere]"),children:Uc(r)})}function A(t){let{cn:l,style:d,useTheme:r}=y();if(r(),!t.todos.length)return e(T,{children:"暂无待办。"});return e("ul",{className:"space-y-1.5",children:t.todos.map((i)=>n("li",{className:d("surface.interactive","flex items-start gap-2.5 px-3 py-2 text-xs"),children:[n("span",{className:l("mt-0.5 flex size-4 shrink-0 items-center justify-center rounded-full border transition-colors duration-300",i.status==="completed"&&"border-success bg-success text-panel",i.status==="in_progress"&&"border-accent",i.status==="pending"&&"border-line-strong"),children:[i.status==="completed"&&e(K,{className:"size-2.5 animate-pop",strokeWidth:3.5}),i.status==="in_progress"&&e("span",{className:"size-1.5 animate-pulse rounded-full bg-accent"})]}),e("span",{className:l("min-w-0 flex-1 break-words leading-relaxed [overflow-wrap:anywhere]",i.status==="completed"&&"text-faint line-through decoration-faint/60",i.status==="in_progress"&&"font-medium text-ink",i.status==="pending"&&"text-dim"),children:i.content})]},`${i.status}-${i.content}`))})}function F(t){let{cn:l,style:d,useTheme:r}=y();r();let[i,u]=a("all"),p=w(()=>t.tools.filter((c)=>c.deferred).length,[t.tools]),f=t.tools.length-p,g=w(()=>{if(i==="deferred")return t.tools.filter((c)=>c.deferred);if(i==="active")return t.tools.filter((c)=>!c.deferred);return t.tools},[t.tools,i]);if(!t.tools.length)return e(T,{children:"当前会话没有可用工具。"});return n("div",{className:"space-y-2",children:[p>0&&n("div",{className:"flex items-center gap-1 text-[11px]",children:[n("button",{type:"button",onClick:()=>u("all"),className:l("rounded-lg px-2 py-1 transition-colors",i==="all"?"bg-raised font-medium text-ink":"text-faint hover:text-dim"),children:["全部 (",t.tools.length,")"]}),n("button",{type:"button",onClick:()=>u("active"),className:l("rounded-lg px-2 py-1 transition-colors",i==="active"?"bg-raised font-medium text-ink":"text-faint hover:text-dim"),children:["常驻 (",f,")"]}),n("button",{type:"button",onClick:()=>u("deferred"),className:l("rounded-lg px-2 py-1 transition-colors",i==="deferred"?"bg-raised font-medium text-ink":"text-faint hover:text-dim"),children:["延迟加载 (",p,")"]})]}),e("div",{className:"space-y-1.5",children:g.map((c)=>e(ne,{tool:c},`${c.group}-${c.name}`))})]})}function ne(t){let{style:l,useTheme:d}=y();return d(),e(E,{header:n("div",{className:"flex min-w-0 flex-1 items-center gap-1.5 truncate font-mono text-ink",children:[e("span",{className:"truncate",children:t.tool.name}),t.tool.group&&e("span",{className:l("control.badge","font-sans text-[10px]"),children:t.tool.group}),t.tool.deferred&&e("span",{className:l("control.badge","font-sans text-[10px]"),children:"延迟加载"})]}),children:e(oe,{tool:t.tool})})}function oe(t){let{CopyButton:l,style:d,useTheme:r}=y();r();let i=w(()=>JSON.stringify(t.tool.schema,null,2),[t.tool.schema]);return n(m,{children:[t.tool.deferred&&e("div",{className:d("surface.subtle","mb-2 px-2.5 py-1.5 text-[11px] text-faint"),children:"延迟加载:此工具默认以精简描述挂载,模型通过 toolsearch 取回定义后才向上下文注入完整参数 Schema。"}),t.tool.description&&e("pre",{className:"mb-2 max-h-60 overflow-y-auto font-sans text-xs leading-relaxed text-dim whitespace-pre-wrap break-words [overflow-wrap:anywhere]",children:zi(t.tool.description)}),n("div",{className:d("surface.subtle","group/schema relative overflow-hidden rounded-lg p-2.5"),children:[e("div",{className:"absolute right-1.5 top-1.5 z-10",children:e(l,{text:i,size:"icon-xs",className:"bg-raised/60 hover:bg-raised text-faint hover:text-ink backdrop-blur-sm"})}),e("div",{className:"max-h-72 overflow-y-auto pr-6 text-dim",children:e(R,{code:zi(i),lang:"json"})})]})]})}function ie(){try{let t=localStorage.getItem("basalt.contextSidebar.tab");if(t==="tools"||t==="todos"||t==="raw")return t}catch{}return"breakdown"}function re(t){let{style:l,useTheme:d}=y();return d(),n("div",{className:l("surface.panel","bg-panel/70 px-3 py-2"),children:[e("div",{className:"text-[10px] font-medium uppercase tracking-wider text-faint",children:t.label}),e("div",{className:"mt-0.5 truncate font-mono text-xs font-semibold tabular-nums text-ink",children:t.value})]})}function He(t){let{Button:l,StatusChip:d,Segmented:r,cn:i,style:u,useTheme:p}=y();p();let[f,g]=a(ie),[c,v]=a(()=>kr.get(t.session.id)),[x,h]=a(!1),[C,N]=a(0),[H,U]=a(!1);s(()=>{let b=setTimeout(()=>Sn(()=>U(!0)),140);return()=>clearTimeout(b)},[]),s(()=>{let b=kr.get(t.session.id);if(b)v(b);return ns((I,Q)=>{if(I===t.session.id)Sn(()=>v(Q))})},[t.session.id]),s(()=>{let b=!0;return h(!1),rs(t.connection,t.session.id,`${t.session.updated}:${t.entries.length}`,C>0).then((I)=>{if(b)Sn(()=>v(I))},()=>{if(b)h(!0)}),()=>{b=!1}},[t.connection,t.session.id,t.session.updated,t.entries.length,C]);let k=Hi(c?.items??[],c?.usableWindow,c?.calibratedTokens,c?.lastInputTokens,c?.hasPendingOutput),S=Ui(k.percent),_=c?.lastCacheHitRate,D=c?.usage?.cacheHitRate,J=_===void 0?"—":`${(_*100).toFixed(1)}%`,Z=D===void 0?"—":`${(D*100).toFixed(1)}%`,V=(b)=>{g(b);try{localStorage.setItem("basalt.contextSidebar.tab",b)}catch{}},X=[{value:"breakdown",label:"构成"},{value:"tools",label:n("span",{className:"inline-flex items-center gap-1",children:["工具",c&&e("span",{className:"text-[10px] text-faint tabular-nums",children:c.tools.length})]})},{value:"todos",label:n("span",{className:"inline-flex items-center gap-1",children:["待办",t.session.todos.length>0&&e("span",{className:"text-[10px] text-faint tabular-nums",children:t.session.todos.length})]})},{value:"raw",label:"原始消息"}],G=n("div",{className:"px-3.5 pt-1 pb-3",children:[n("div",{className:"flex items-start justify-between gap-3",children:[n("div",{children:[e("div",{className:"text-[10.5px] font-medium uppercase tracking-wider text-faint",children:"预计下次输入"}),n("div",{className:"mt-0.5 flex items-baseline gap-1.5",children:[e("span",{className:"font-mono text-xl font-semibold tabular-nums text-ink",children:c?k.totalTokens.toLocaleString():"—"}),n("span",{className:"font-mono text-xs text-dim",children:["/ ",c?.usableWindow.toLocaleString()??"—"]})]})]}),e(d,{tone:S==="overflow"||S==="near_limit"?"danger":S==="sealing"?"warning":"success",children:S==="overflow"?"预计超限":S==="near_limit"?"接近上限":S==="sealing"?"接近封存":"正常"})]}),k.percent!==null&&e("meter",{className:"sr-only","aria-label":"可用上下文窗口占比",min:0,max:100,value:Math.min(100,k.percent)}),e("div",{"aria-hidden":!0,className:i("relative mt-2.5 h-2 w-full overflow-hidden rounded-full bg-raised",!c&&"animate-pulse"),children:e("div",{className:"h-full rounded-full bg-accent transition-[width] duration-500 ease-out-quint",style:{width:`${Math.min(100,k.percent??0)}%`}})}),n("div",{className:"mt-2 flex items-center justify-between text-[11px]",children:[e("span",{className:"text-dim",children:k.percent===null?"暂无窗口数据":`${k.percent.toFixed(1)}% 可用窗口`}),n("span",{className:"text-faint",children:["总窗口 ",c?.contextWindow.toLocaleString()??"—"," · 80% 封存 · 97% 折叠"]})]}),n("div",{className:"mt-3 flex items-center justify-between gap-2 text-[11px]",title:"最近实际发往模型的请求体大小(UTF-8 字节,图片优化后,不含 HTTP 头);重启后需重新发送请求才有记录。",children:[e("span",{className:"text-dim",children:"最近请求体"}),e("span",{className:"font-mono font-semibold tabular-nums text-ink",children:c?.lastRequestBodyBytes===void 0?"—":Pa(c.lastRequestBodyBytes)})]}),n("div",{className:"mt-2 flex items-center justify-between gap-2 text-[11px]",children:[e("span",{className:"text-dim",children:"最近实际输入"}),n("span",{className:"font-mono tabular-nums text-ink",children:[c?.lastInputTokens?.toLocaleString()??"—"," tokens"]})]}),c?.usage&&(c.usage.input>0||c.usage.output>0||c.usage.cacheRead>0||c.usage.cacheWrite>0||c.usage.cost>0)&&e("div",{className:"mt-3 grid grid-cols-2 gap-2",children:[["Input",c.usage.input.toLocaleString()],["Output",c.usage.output.toLocaleString()],["缓存命中 当前 / 平均",`${J} / ${Z}`],["平均 TPS",c.usage.tps!==void 0?`${c.usage.tps.toFixed(1)} tok/s`:"—"]].map(([b,I])=>e(re,{label:b,value:I},b))})]});return n(m,{children:[G,e("div",{className:"px-3 py-2",children:e(r,{value:f,onChange:V,options:X,className:"w-full grid grid-cols-4"})}),n("div",{className:"min-h-0 flex-1 overflow-y-auto px-3 py-3",children:[x&&!c&&n("div",{role:"alert",className:"flex items-center justify-between rounded-xl border border-danger/30 bg-danger/8 px-3 py-2 text-xs text-danger",children:[e("span",{children:"上下文加载失败。"}),e(l,{size:"sm",variant:"ghost",onClick:()=>N((b)=>b+1),children:"重试"})]}),e("div",{children:!H?e(z,{}):n(m,{children:[f==="raw"&&e(j,{entries:t.entries}),f==="todos"&&e(A,{todos:t.session.todos}),f==="breakdown"&&(c?e(O,{items:k.items}):!x?e(z,{}):null),f==="tools"&&(c?e(F,{tools:c.tools??[]}):!x?e(z,{}):null)]})},f)]})]})}export{He as ContextSidebar};
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{t,i}from"./chunk-n59nyqcr.js";import{ge,Ln,Nn}from"./chunk-cj0cmvbm.js";import{ae}from"./chunk-wrqazg2v.js";import{Ea,yn}from"./chunk-2z4zhtw4.js";var o=Ea().Railroad.parser.LangiumParser,a=t((e)=>{switch(e.$type){case"RailroadTerminalExpr":return{type:"terminal",value:e.value};case"RailroadNonTerminalExpr":return{type:"nonterminal",name:e.name};case"RailroadSpecialExpr":return{type:"special",text:e.text};case"RailroadSequenceExpr":{let r=e.elements.map(a);return r.length===1?r[0]:{type:"sequence",elements:r}}case"RailroadChoiceExpr":{let r=e.alternatives.map(a);return r.length===1?r[0]:{type:"choice",alternatives:r}}case"RailroadOptionalExpr":return{type:"optional",element:a(e.element)};case"RailroadOneOrMoreExpr":return{type:"repetition",element:a(e.element),min:1,max:1/0};case"RailroadZeroOrMoreExpr":return{type:"repetition",element:a(e.element),min:0,max:1/0};default:throw Error(`Unsupported railroad expression: ${e.$type}`)}},"transformExpression"),l=t((e)=>({name:e.name,definition:a(e.definition)}),"transformRule"),s=t((e)=>{if(ae(e,ge),e.title)ge.setTitle(e.title);e.rules.map((r)=>ge.addRule(l(r)))},"populateDb"),m={parse:t((e)=>{ge.clear(),i.debug("[Railroad Parser] Starting Langium parse");let r=o.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new yn(r);let n=r.value;i.debug("[Railroad Parser] Parsed rules:",n.rules.length),s(n),i.debug("[Railroad Parser] Parse complete")},"parse"),parser:{yy:ge}},R={parser:m,db:ge,renderer:Nn,styles:Ln};export{R as diagram};
Binary file
Binary file
@@ -1,2 +0,0 @@
1
- import{Mn,Lr,Pn,Qi}from"./chunk-5a80hcah.js";import{Rn}from"./chunk-drr7mqg2.js";import{$n,Xa,ra,bt,Ka}from"./chunk-n59nyqcr.js";function s(r,n){return r==null||n==null?NaN:r<n?-1:r>n?1:r>=n?0:NaN}function x(r,n){return r==null||n==null?NaN:n<r?-1:n>r?1:n>=r?0:NaN}function Ta(r){let n,e,t;if(r.length!==2)n=s,e=(f,c)=>s(r(f),c),t=(f,c)=>r(f)-c;else n=r===s||r===x?r:O,e=r,t=r;function o(f,c,i=0,p=f.length){if(i<p){if(n(c,c)!==0)return p;do{let l=i+p>>>1;if(e(f[l],c)<0)i=l+1;else p=l}while(i<p)}return i}function a(f,c,i=0,p=f.length){if(i<p){if(n(c,c)!==0)return p;do{let l=i+p>>>1;if(e(f[l],c)<=0)i=l+1;else p=l}while(i<p)}return i}function u(f,c,i=0,p=f.length){let l=o(f,c,i,p-1);return l>i&&t(f[l-1],c)>-t(f[l],c)?l-1:l}return{left:o,center:u,right:a}}function O(){return 0}function y(r){return r===null?NaN:+r}var V=Ta(s),{right:T,left:ir}=V,or=Ta(y).center,z=T;var E=Math.sqrt(50),G=Math.sqrt(10),H=Math.sqrt(2);function g(r,n,e){let t=(n-r)/Math.max(0,e),o=Math.floor(Math.log10(t)),a=t/Math.pow(10,o),u=a>=E?10:a>=G?5:a>=H?2:1,f,c,i;if(o<0){if(i=Math.pow(10,-o)/u,f=Math.round(r*i),c=Math.round(n*i),f/i<r)++f;if(c/i>n)--c;i=-i}else{if(i=Math.pow(10,o)*u,f=Math.round(r/i),c=Math.round(n/i),f*i<r)++f;if(c*i>n)--c}if(c<f&&0.5<=e&&e<2)return g(r,n,e*2);return[f,c,i]}function v(r,n,e){if(n=+n,r=+r,e=+e,!(e>0))return[];if(r===n)return[r];let t=n<r,[o,a,u]=t?g(n,r,e):g(r,n,e);if(!(a>=o))return[];let f=a-o+1,c=Array(f);if(t)if(u<0)for(let i=0;i<f;++i)c[i]=(a-i)/-u;else for(let i=0;i<f;++i)c[i]=(a-i)*u;else if(u<0)for(let i=0;i<f;++i)c[i]=(o+i)/-u;else for(let i=0;i<f;++i)c[i]=(o+i)*u;return c}function M(r,n,e){return n=+n,r=+r,e=+e,g(r,n,e)[2]}function xi(r,n,e){n=+n,r=+r,e=+e;let t=n<r,o=t?M(n,r,e):M(r,n,e);return(t?-1:1)*(o<0?1/-o:o)}function N(r,n){if(!n)n=[];var e=r?Math.min(n.length,r.length):0,t=n.slice(),o;return function(a){for(o=0;o<e;++o)t[o]=r[o]*(1-a)+n[o]*a;return t}}function B(r){return ArrayBuffer.isView(r)&&!(r instanceof DataView)}function P(r,n){var e=n?n.length:0,t=r?Math.min(e,r.length):0,o=Array(t),a=Array(e),u;for(u=0;u<t;++u)o[u]=h(r[u],n[u]);for(;u<e;++u)a[u]=n[u];return function(f){for(u=0;u<t;++u)a[u]=o[u](f);return a}}function w(r,n){var e=new Date;return r=+r,n=+n,function(t){return e.setTime(r*(1-t)+n*t),e}}function k(r,n){var e={},t={},o;if(r===null||typeof r!=="object")r={};if(n===null||typeof n!=="object")n={};for(o in n)if(o in r)e[o]=h(r[o],n[o]);else t[o]=n[o];return function(a){for(o in e)t[o]=e[o](a);return t}}function h(r,n){var e=typeof n,t;return n==null||e==="boolean"?Xa(n):(e==="number"?bt:e==="string"?(t=$n(n))?(n=t,ra):Ka:n instanceof $n?ra:n instanceof Date?w:B(n)?N:Array.isArray(n)?P:typeof n.valueOf!=="function"&&typeof n.toString!=="function"||isNaN(n)?k:bt)(r,n)}function A(r,n){return r=+r,n=+n,function(e){return Math.round(r*(1-e)+n*e)}}function R(r){return Math.max(0,-Mn(Math.abs(r)))}function S(r,n){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Mn(n)/3)))*3-Mn(Math.abs(r)))}function j(r,n){return r=Math.abs(r),n=Math.abs(n)-r,Math.max(0,Mn(n)-Mn(r))+1}function F(r){return function(){return r}}function q(r){return+r}var C=[0,1];function d(r){return r}function D(r,n){return(n-=r=+r)?function(e){return(e-r)/n}:F(isNaN(n)?NaN:0.5)}function J(r,n){var e;if(r>n)e=r,r=n,n=e;return function(t){return Math.max(r,Math.min(n,t))}}function K(r,n,e){var t=r[0],o=r[1],a=n[0],u=n[1];if(o<t)t=D(o,t),a=e(u,a);else t=D(t,o),a=e(a,u);return function(f){return a(t(f))}}function Q(r,n,e){var t=Math.min(r.length,n.length)-1,o=Array(t),a=Array(t),u=-1;if(r[t]<r[0])r=r.slice().reverse(),n=n.slice().reverse();while(++u<t)o[u]=D(r[u],r[u+1]),a[u]=e(n[u],n[u+1]);return function(f){var c=z(r,f,1,t)-1;return a[c](o[c](f))}}function Zi(r,n){return n.domain(r.domain()).range(r.range()).interpolate(r.interpolate()).clamp(r.clamp()).unknown(r.unknown())}function U(){var r=C,n=C,e=h,t,o,a,u=d,f,c,i;function p(){var m=Math.min(r.length,n.length);if(u!==d)u=J(r[0],r[m-1]);return f=m>2?Q:K,c=i=null,l}function l(m){return m==null||isNaN(m=+m)?a:(c||(c=f(r.map(t),n,e)))(t(u(m)))}return l.invert=function(m){return u(o((i||(i=f(n,r.map(t),bt)))(m)))},l.domain=function(m){return arguments.length?(r=Array.from(m,q),p()):r.slice()},l.range=function(m){return arguments.length?(n=Array.from(m),p()):n.slice()},l.rangeRound=function(m){return n=Array.from(m),e=A,p()},l.clamp=function(m){return arguments.length?(u=m?!0:d,p()):u!==d},l.interpolate=function(m){return arguments.length?(e=m,p()):e},l.unknown=function(m){return arguments.length?(a=m,l):a},function(m,L){return t=m,o=L,p()}}function _i(){return U()(d,d)}function I(r,n,e,t){var o=xi(r,n,e),a;switch(t=Lr(t==null?",f":t),t.type){case"s":{var u=Math.max(Math.abs(r),Math.abs(n));if(t.precision==null&&!isNaN(a=S(o,u)))t.precision=a;return Qi(t,u)}case"":case"e":case"g":case"p":case"r":{if(t.precision==null&&!isNaN(a=j(o,Math.max(Math.abs(r),Math.abs(n)))))t.precision=a-(t.type==="e");break}case"f":case"%":{if(t.precision==null&&!isNaN(a=R(o)))t.precision=a-(t.type==="%")*2;break}}return Pn(t)}function W(r){var n=r.domain;return r.ticks=function(e){var t=n();return v(t[0],t[t.length-1],e==null?10:e)},r.tickFormat=function(e,t){var o=n();return I(o[0],o[o.length-1],e==null?10:e,t)},r.nice=function(e){if(e==null)e=10;var t=n(),o=0,a=t.length-1,u=t[o],f=t[a],c,i,p=10;if(f<u)i=u,u=f,f=i,i=o,o=a,a=i;while(p-- >0){if(i=M(u,f,e),i===c)return t[o]=u,t[a]=f,n(t);else if(i>0)u=Math.floor(u/i)*i,f=Math.ceil(f/i)*i;else if(i<0)u=Math.ceil(u*i)/i,f=Math.floor(f*i)/i;else break;c=i}return r},r}function gn(){var r=_i();return r.copy=function(){return Zi(r,gn())},Rn.apply(r,arguments),W(r)}
2
- export{Ta,xi,Zi,_i,gn};
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{t,i}from"./chunk-n59nyqcr.js";import{ge,Ln,Nn}from"./chunk-cj0cmvbm.js";import{ae}from"./chunk-wrqazg2v.js";import{Na,yn}from"./chunk-2z4zhtw4.js";var l=Na().RailroadAbnf.parser.LangiumParser,o=t((e)=>{let r=e.alternatives.map(p);if(r.length===1)return r[0];return{type:"choice",alternatives:r}},"transformAlternation"),p=t((e)=>{let r=e.elements.map(f);if(r.length===1)return r[0];return{type:"sequence",elements:r}},"transformConcatenation"),u=t((e)=>{if(e.includes("*")){let[n,a]=e.split("*"),s=n?parseInt(n,10):0,m=a?parseInt(a,10):1/0;return{min:s,max:m}}let r=parseInt(e,10);return{min:r,max:r}},"parseRepeat"),f=t((e)=>{let r=c(e.primary);if(!e.repeat)return r;let{min:n,max:a}=u(e.repeat);if(n===0&&a===1)return{type:"optional",element:r};return{type:"repetition",element:r,min:n,max:a}},"transformElement"),c=t((e)=>{switch(e.$type){case"AbnfStringLiteral":return{type:"terminal",value:e.value};case"AbnfNumVal":return{type:"terminal",value:e.value};case"AbnfRuleName":return{type:"nonterminal",name:e.name};case"AbnfGroup":return o(e.element);case"AbnfOptionalGroup":return{type:"optional",element:o(e.element)};default:throw Error(`Unsupported ABNF primary node: ${e.$type}`)}},"transformPrimary"),d=t((e)=>({name:e.name,definition:o(e.definition)}),"transformRule"),v=t((e)=>{if(ae(e,ge),e.title)ge.setTitle(e.title);e.rules.map((r)=>ge.addRule(d(r)))},"populateDb"),g={parse:t((e)=>{ge.clear(),i.debug("[ABNF Parser] Starting Langium parse");let r=l.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new yn(r);let n=r.value;i.debug("[ABNF Parser] Parsed rules:",n.rules.length),v(n),i.debug("[ABNF Parser] Parse complete")},"parse"),parser:{yy:ge}},E={parser:g,db:ge,renderer:Nn,styles:Ln};export{E as diagram};
Binary file
Binary file