@bkm016/basalt 0.1.30 → 0.1.32

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 (981) hide show
  1. package/README.md +1 -0
  2. package/chunk-04326385.js +39 -0
  3. package/chunk-11zc1b2w.js +3 -0
  4. package/chunk-12203fgm.js +2 -0
  5. package/chunk-194d4z7x.js +7 -0
  6. package/chunk-1apm7p2e.js +2 -0
  7. package/chunk-2csz31nh.js +2 -0
  8. package/chunk-2rqpfv4h.js +3 -0
  9. package/chunk-39cfcar4.js +3 -0
  10. package/chunk-3dtgkgam.js +4064 -0
  11. package/chunk-4a5xttdp.js +3 -0
  12. package/chunk-4st5xeee.js +2 -0
  13. package/chunk-54qzhq9t.js +50 -0
  14. package/chunk-5h17n6g1.js +3 -0
  15. package/chunk-5rn18vrq.js +5 -0
  16. package/chunk-5tdnvdmz.js +2 -0
  17. package/chunk-6qavr39k.js +2 -0
  18. package/chunk-6xn0r0dd.js +3 -0
  19. package/chunk-7h76jrss.js +7 -0
  20. package/chunk-7hss4hs3.js +7 -0
  21. package/chunk-7vdq0wye.js +2 -0
  22. package/chunk-7w187ycz.js +10 -0
  23. package/chunk-81s7mvf2.js +16 -0
  24. package/chunk-8j8acxde.js +2 -0
  25. package/chunk-9nfz04yr.js +2 -0
  26. package/chunk-9nkb5q43.js +3 -0
  27. package/chunk-9vth0w8q.js +2 -0
  28. package/chunk-9zcfam20.js +2 -0
  29. package/chunk-a6zvmsbh.js +12 -0
  30. package/chunk-anr8aghq.js +59 -0
  31. package/chunk-av8zh9yp.js +2 -0
  32. package/chunk-bwv97dtf.js +2 -0
  33. package/chunk-cjy4rssa.js +10 -0
  34. package/chunk-dmdyqq1k.js +2 -0
  35. package/chunk-dzvq7vt6.js +2 -0
  36. package/chunk-ejrksf6g.js +3 -0
  37. package/chunk-erxka5vh.js +18 -0
  38. package/chunk-fc41dvhp.js +12 -0
  39. package/chunk-fsekbhqb.js +3 -0
  40. package/chunk-fwcqcecb.js +8 -0
  41. package/chunk-hhwnmhbb.js +2 -0
  42. package/chunk-jm2bn5mq.js +3 -0
  43. package/chunk-jm5j5jfy.js +3 -0
  44. package/chunk-jqtdf0ym.js +63 -0
  45. package/chunk-jsvr3s4q.js +5 -0
  46. package/chunk-jwk5a5tk.js +25 -0
  47. package/chunk-mwc59w50.js +31 -0
  48. package/chunk-mypbpphn.js +3 -0
  49. package/chunk-n3hfhbe4.js +498 -0
  50. package/chunk-ng5ncy65.js +2 -0
  51. package/chunk-nmvayfq3.js +3 -0
  52. package/chunk-nw4h0wm9.js +2 -0
  53. package/chunk-nzpzjbpp.js +51 -0
  54. package/chunk-p23eqet9.js +2 -0
  55. package/chunk-pxsgm6ff.js +2 -0
  56. package/chunk-qqs9fqsy.js +4 -0
  57. package/chunk-rbfpa63e.js +3 -0
  58. package/chunk-rsrh5dgx.js +2 -0
  59. package/chunk-s2pm97nk.js +286 -0
  60. package/chunk-s6tnmg6x.js +3 -0
  61. package/chunk-scq1dz62.js +8 -0
  62. package/chunk-se548edt.js +20 -0
  63. package/chunk-tsdeeqb8.js +3 -0
  64. package/chunk-vnv3a6t2.js +3 -0
  65. package/chunk-vrsh8cx1.js +3 -0
  66. package/chunk-w3v8zahw.js +2 -0
  67. package/chunk-w6m8c4vf.js +11 -0
  68. package/chunk-wd7sj5cv.js +2 -0
  69. package/chunk-we8v9wkw.js +9 -0
  70. package/chunk-x055cas0.js +5 -0
  71. package/chunk-x5vrtxkj.js +3 -0
  72. package/chunk-x83syrhw.js +44 -0
  73. package/chunk-xedzsj31.js +5 -0
  74. package/chunk-xp83v3zm.js +2 -0
  75. package/chunk-ykzm5g1b.js +25 -0
  76. package/chunk-yq2bwebb.js +3 -0
  77. package/chunk-yygcpnwc.js +3 -0
  78. package/chunk-zjf34acb.js +2 -0
  79. package/compiled.js +8 -8
  80. package/package.json +1 -1
  81. package/ui-test-worker.js +18 -18
  82. package/web/chunk-02v1btpv.js +2 -0
  83. package/web/chunk-02v1btpv.js.br +0 -0
  84. package/web/chunk-02v1btpv.js.gz +0 -0
  85. package/web/chunk-02xgh26g.js +1 -0
  86. package/web/chunk-02xgh26g.js.br +0 -0
  87. package/web/chunk-02xgh26g.js.gz +0 -0
  88. package/web/chunk-0n134mev.js +140 -0
  89. package/web/chunk-0n134mev.js.br +0 -0
  90. package/web/chunk-0n134mev.js.gz +0 -0
  91. package/web/chunk-14t6ms50.js +16 -0
  92. package/web/chunk-14t6ms50.js.br +0 -0
  93. package/web/chunk-14t6ms50.js.gz +0 -0
  94. package/web/chunk-17j1pnvx.js +1 -0
  95. package/web/chunk-17j1pnvx.js.br +0 -0
  96. package/web/chunk-17j1pnvx.js.gz +0 -0
  97. package/web/chunk-19qs8qhf.js +2 -0
  98. package/web/chunk-19qs8qhf.js.br +0 -0
  99. package/web/chunk-19qs8qhf.js.gz +0 -0
  100. package/web/chunk-1c1jdx2r.js +332 -0
  101. package/web/chunk-1c1jdx2r.js.br +0 -0
  102. package/web/chunk-1c1jdx2r.js.gz +0 -0
  103. package/web/chunk-1fp0r6da.js +2 -0
  104. package/web/chunk-1fp0r6da.js.br +0 -0
  105. package/web/chunk-1fp0r6da.js.gz +0 -0
  106. package/web/chunk-1fv6rp41.js +2 -0
  107. package/web/chunk-1fv6rp41.js.br +0 -0
  108. package/web/chunk-1fv6rp41.js.gz +0 -0
  109. package/web/chunk-1mkzfr1m.js +2 -0
  110. package/web/chunk-1mkzfr1m.js.br +0 -0
  111. package/web/chunk-1mkzfr1m.js.gz +0 -0
  112. package/web/chunk-1r8npw1h.js +1 -0
  113. package/web/chunk-1r8npw1h.js.br +0 -0
  114. package/web/chunk-1r8npw1h.js.gz +0 -0
  115. package/web/chunk-215gszpx.js +1 -0
  116. package/web/chunk-215gszpx.js.br +0 -0
  117. package/web/chunk-215gszpx.js.gz +0 -0
  118. package/web/chunk-2372y9qw.css +1 -0
  119. package/web/chunk-2372y9qw.css.br +0 -0
  120. package/web/chunk-2372y9qw.css.gz +0 -0
  121. package/web/chunk-24syb9ar.js +1 -0
  122. package/web/chunk-24syb9ar.js.br +0 -0
  123. package/web/chunk-24syb9ar.js.gz +0 -0
  124. package/web/chunk-26y868vk.js +214 -0
  125. package/web/chunk-26y868vk.js.br +0 -0
  126. package/web/chunk-26y868vk.js.gz +0 -0
  127. package/web/chunk-29mff7z7.js +34 -0
  128. package/web/chunk-29mff7z7.js.br +0 -0
  129. package/web/chunk-29mff7z7.js.gz +0 -0
  130. package/web/chunk-2vh05ags.js +2 -0
  131. package/web/chunk-2vh05ags.js.br +0 -0
  132. package/web/chunk-2vh05ags.js.gz +0 -0
  133. package/web/chunk-2z5tpzd0.js +2 -0
  134. package/web/chunk-2z5tpzd0.js.br +2 -0
  135. package/web/chunk-2z5tpzd0.js.gz +0 -0
  136. package/web/chunk-35zjz7ms.js +99 -0
  137. package/web/chunk-35zjz7ms.js.br +0 -0
  138. package/web/chunk-35zjz7ms.js.gz +0 -0
  139. package/web/chunk-3q8tjjp1.js +1 -0
  140. package/web/chunk-3q8tjjp1.js.br +2 -0
  141. package/web/chunk-3q8tjjp1.js.gz +0 -0
  142. package/web/chunk-3s4mqjna.js +4 -0
  143. package/web/chunk-3s4mqjna.js.br +0 -0
  144. package/web/chunk-3s4mqjna.js.gz +0 -0
  145. package/web/chunk-3srybd24.js +41 -0
  146. package/web/chunk-3srybd24.js.br +0 -0
  147. package/web/chunk-3srybd24.js.gz +0 -0
  148. package/web/chunk-3zsfd0hv.js +1 -0
  149. package/web/chunk-3zsfd0hv.js.br +0 -0
  150. package/web/chunk-3zsfd0hv.js.gz +0 -0
  151. package/web/chunk-43h0rwsj.js +1 -0
  152. package/web/chunk-43h0rwsj.js.br +0 -0
  153. package/web/chunk-43h0rwsj.js.gz +0 -0
  154. package/web/chunk-4gehgwdn.js +1 -0
  155. package/web/chunk-4gehgwdn.js.br +0 -0
  156. package/web/chunk-4gehgwdn.js.gz +0 -0
  157. package/web/chunk-4q1j0ehq.js +1 -0
  158. package/web/chunk-4q1j0ehq.js.br +2 -0
  159. package/web/chunk-4q1j0ehq.js.gz +0 -0
  160. package/web/chunk-4rbzcphw.js +7 -0
  161. package/web/chunk-4rbzcphw.js.br +0 -0
  162. package/web/chunk-4rbzcphw.js.gz +0 -0
  163. package/web/chunk-4xvh57dr.js +1 -0
  164. package/web/chunk-4xvh57dr.js.br +0 -0
  165. package/web/chunk-4xvh57dr.js.gz +0 -0
  166. package/web/chunk-54cy79n2.js +291 -0
  167. package/web/chunk-54cy79n2.js.br +0 -0
  168. package/web/chunk-54cy79n2.js.gz +0 -0
  169. package/web/chunk-5v7dyp6t.js +2 -0
  170. package/web/chunk-5v7dyp6t.js.br +0 -0
  171. package/web/chunk-5v7dyp6t.js.gz +0 -0
  172. package/web/chunk-5xm6c0r0.js +1 -0
  173. package/web/chunk-5xm6c0r0.js.br +0 -0
  174. package/web/chunk-5xm6c0r0.js.gz +0 -0
  175. package/web/chunk-67pmbk1h.js +324 -0
  176. package/web/chunk-67pmbk1h.js.br +0 -0
  177. package/web/chunk-67pmbk1h.js.gz +0 -0
  178. package/web/chunk-6ebp7qd7.js +169 -0
  179. package/web/chunk-6ebp7qd7.js.br +0 -0
  180. package/web/chunk-6ebp7qd7.js.gz +0 -0
  181. package/web/chunk-6k8me9kr.js +1 -0
  182. package/web/chunk-6k8me9kr.js.br +0 -0
  183. package/web/chunk-6k8me9kr.js.gz +0 -0
  184. package/web/chunk-7aqr59hm.js +1 -0
  185. package/web/chunk-7aqr59hm.js.br +0 -0
  186. package/web/chunk-7aqr59hm.js.gz +0 -0
  187. package/web/chunk-7qnxv6xx.js +1 -0
  188. package/web/chunk-7qnxv6xx.js.br +0 -0
  189. package/web/chunk-7qnxv6xx.js.gz +0 -0
  190. package/web/chunk-7yb2g5zs.js +1 -0
  191. package/web/chunk-7yb2g5zs.js.br +0 -0
  192. package/web/chunk-7yb2g5zs.js.gz +0 -0
  193. package/web/chunk-86f9x5fs.js +24 -0
  194. package/web/chunk-86f9x5fs.js.br +0 -0
  195. package/web/chunk-86f9x5fs.js.gz +0 -0
  196. package/web/chunk-8gvxttsz.js +39 -0
  197. package/web/chunk-8gvxttsz.js.br +0 -0
  198. package/web/chunk-8gvxttsz.js.gz +0 -0
  199. package/web/chunk-8kjx7nve.js +1 -0
  200. package/web/chunk-8kjx7nve.js.br +0 -0
  201. package/web/chunk-8kjx7nve.js.gz +0 -0
  202. package/web/chunk-8qda1pw3.js +2 -0
  203. package/web/chunk-8qda1pw3.js.br +0 -0
  204. package/web/chunk-8qda1pw3.js.gz +0 -0
  205. package/web/chunk-98zd6fb7.js +40 -0
  206. package/web/chunk-98zd6fb7.js.br +0 -0
  207. package/web/chunk-98zd6fb7.js.gz +0 -0
  208. package/web/chunk-9b43td2b.js +24 -0
  209. package/web/chunk-9b43td2b.js.br +0 -0
  210. package/web/chunk-9b43td2b.js.gz +0 -0
  211. package/web/chunk-9hkz2jgq.js +303 -0
  212. package/web/chunk-9hkz2jgq.js.br +0 -0
  213. package/web/chunk-9hkz2jgq.js.gz +0 -0
  214. package/web/chunk-a3qa5c8q.js +292 -0
  215. package/web/chunk-a3qa5c8q.js.br +0 -0
  216. package/web/chunk-a3qa5c8q.js.gz +0 -0
  217. package/web/chunk-ads3r60t.js +70 -0
  218. package/web/chunk-ads3r60t.js.br +0 -0
  219. package/web/chunk-ads3r60t.js.gz +0 -0
  220. package/web/chunk-ax4wvgv9.js +38 -0
  221. package/web/chunk-ax4wvgv9.js.br +0 -0
  222. package/web/chunk-ax4wvgv9.js.gz +0 -0
  223. package/web/chunk-b9knvs0r.js +1 -0
  224. package/web/chunk-b9knvs0r.js.br +0 -0
  225. package/web/chunk-b9knvs0r.js.gz +0 -0
  226. package/web/chunk-batey85v.js +2 -0
  227. package/web/chunk-batey85v.js.br +0 -0
  228. package/web/chunk-batey85v.js.gz +0 -0
  229. package/web/chunk-ccdww2gj.js +2 -0
  230. package/web/chunk-ccdww2gj.js.br +0 -0
  231. package/web/chunk-ccdww2gj.js.gz +0 -0
  232. package/web/chunk-cgbz97dr.js +2 -0
  233. package/web/chunk-cgbz97dr.js.br +0 -0
  234. package/web/chunk-cgbz97dr.js.gz +0 -0
  235. package/web/chunk-cjbqey5q.js +1 -0
  236. package/web/chunk-cjbqey5q.js.br +0 -0
  237. package/web/chunk-cjbqey5q.js.gz +0 -0
  238. package/web/chunk-cm5cmpxr.js +1 -0
  239. package/web/chunk-cm5cmpxr.js.br +0 -0
  240. package/web/chunk-cm5cmpxr.js.gz +0 -0
  241. package/web/chunk-cqce094e.js +55 -0
  242. package/web/chunk-cqce094e.js.br +0 -0
  243. package/web/chunk-cqce094e.js.gz +0 -0
  244. package/web/chunk-ct6hkz49.js +7 -0
  245. package/web/chunk-ct6hkz49.js.br +0 -0
  246. package/web/chunk-ct6hkz49.js.gz +0 -0
  247. package/web/chunk-d0qb5kr7.js +1 -0
  248. package/web/chunk-d0qb5kr7.js.br +0 -0
  249. package/web/chunk-d0qb5kr7.js.gz +0 -0
  250. package/web/chunk-d9c65yrg.js +1 -0
  251. package/web/chunk-d9c65yrg.js.br +0 -0
  252. package/web/chunk-d9c65yrg.js.gz +0 -0
  253. package/web/chunk-dfv95z6w.js +1 -0
  254. package/web/chunk-dfv95z6w.js.br +0 -0
  255. package/web/chunk-dfv95z6w.js.gz +0 -0
  256. package/web/chunk-ece0ex2b.js +2 -0
  257. package/web/chunk-ece0ex2b.js.br +0 -0
  258. package/web/chunk-ece0ex2b.js.gz +0 -0
  259. package/web/chunk-ejrsh0nz.js +1 -0
  260. package/web/chunk-ejrsh0nz.js.br +2 -0
  261. package/web/chunk-ejrsh0nz.js.gz +0 -0
  262. package/web/chunk-ekcnhcm0.js +1 -0
  263. package/web/chunk-ekcnhcm0.js.br +0 -0
  264. package/web/chunk-ekcnhcm0.js.gz +0 -0
  265. package/web/chunk-en5n60qw.js +2 -0
  266. package/web/chunk-en5n60qw.js.br +0 -0
  267. package/web/chunk-en5n60qw.js.gz +0 -0
  268. package/web/chunk-eq4skc30.js +1 -0
  269. package/web/chunk-eq4skc30.js.br +0 -0
  270. package/web/chunk-eq4skc30.js.gz +0 -0
  271. package/web/chunk-ev6xj0qs.js +1142 -0
  272. package/web/chunk-ev6xj0qs.js.br +0 -0
  273. package/web/chunk-ev6xj0qs.js.gz +0 -0
  274. package/web/chunk-ezx3f7hw.js +1 -0
  275. package/web/chunk-ezx3f7hw.js.br +0 -0
  276. package/web/chunk-ezx3f7hw.js.gz +0 -0
  277. package/web/chunk-f0kc6vf9.js +2 -0
  278. package/web/chunk-f0kc6vf9.js.br +0 -0
  279. package/web/chunk-f0kc6vf9.js.gz +0 -0
  280. package/web/chunk-fabemrkx.js +1 -0
  281. package/web/chunk-fabemrkx.js.br +0 -0
  282. package/web/chunk-fabemrkx.js.gz +0 -0
  283. package/web/chunk-faestmhg.js +89 -0
  284. package/web/chunk-faestmhg.js.br +0 -0
  285. package/web/chunk-faestmhg.js.gz +0 -0
  286. package/web/chunk-g5ngaf53.js +2 -0
  287. package/web/chunk-g5ngaf53.js.br +0 -0
  288. package/web/chunk-g5ngaf53.js.gz +0 -0
  289. package/web/chunk-gcyhcbej.js +1 -0
  290. package/web/chunk-gcyhcbej.js.br +2 -0
  291. package/web/chunk-gcyhcbej.js.gz +0 -0
  292. package/web/chunk-ggfwnr7a.js +1 -0
  293. package/web/chunk-ggfwnr7a.js.br +0 -0
  294. package/web/chunk-ggfwnr7a.js.gz +0 -0
  295. package/web/chunk-gp3356tf.js +2 -0
  296. package/web/chunk-gp3356tf.js.br +0 -0
  297. package/web/chunk-gp3356tf.js.gz +0 -0
  298. package/web/chunk-gw1d4wmd.js +1 -0
  299. package/web/chunk-gw1d4wmd.js.br +0 -0
  300. package/web/chunk-gw1d4wmd.js.gz +0 -0
  301. package/web/chunk-hmc93mm5.js +1 -0
  302. package/web/chunk-hmc93mm5.js.br +0 -0
  303. package/web/chunk-hmc93mm5.js.gz +0 -0
  304. package/web/chunk-hn9rxtn8.js +8 -0
  305. package/web/chunk-hn9rxtn8.js.br +0 -0
  306. package/web/chunk-hn9rxtn8.js.gz +0 -0
  307. package/web/chunk-hrng3h6w.js +1 -0
  308. package/web/chunk-hrng3h6w.js.br +2 -0
  309. package/web/chunk-hrng3h6w.js.gz +0 -0
  310. package/web/chunk-hxyxfhhs.js +1 -0
  311. package/web/chunk-hxyxfhhs.js.br +2 -0
  312. package/web/chunk-hxyxfhhs.js.gz +0 -0
  313. package/web/chunk-j94hffw3.js +2 -0
  314. package/web/chunk-j94hffw3.js.br +0 -0
  315. package/web/chunk-j94hffw3.js.gz +0 -0
  316. package/web/chunk-jrh3s3f5.js +370 -0
  317. package/web/chunk-jrh3s3f5.js.br +0 -0
  318. package/web/chunk-jrh3s3f5.js.gz +0 -0
  319. package/web/chunk-jw830br8.js +106 -0
  320. package/web/chunk-jw830br8.js.br +0 -0
  321. package/web/chunk-jw830br8.js.gz +0 -0
  322. package/web/chunk-k3whmjng.js +1 -0
  323. package/web/chunk-k3whmjng.js.br +0 -0
  324. package/web/chunk-k3whmjng.js.gz +0 -0
  325. package/web/chunk-kgfzf3q8.js +1 -0
  326. package/web/chunk-kgfzf3q8.js.br +0 -0
  327. package/web/chunk-kgfzf3q8.js.gz +0 -0
  328. package/web/chunk-kqpj6dnm.js +2 -0
  329. package/web/chunk-kqpj6dnm.js.br +0 -0
  330. package/web/chunk-kqpj6dnm.js.gz +0 -0
  331. package/web/chunk-kvz46sd7.js +2 -0
  332. package/web/chunk-kvz46sd7.js.br +0 -0
  333. package/web/chunk-kvz46sd7.js.gz +0 -0
  334. package/web/chunk-magq6xms.js +36 -0
  335. package/web/chunk-magq6xms.js.br +0 -0
  336. package/web/chunk-magq6xms.js.gz +0 -0
  337. package/web/chunk-mtzj1zyw.js +2 -0
  338. package/web/chunk-mtzj1zyw.js.br +0 -0
  339. package/web/chunk-mtzj1zyw.js.gz +0 -0
  340. package/web/chunk-my778zsk.js +1 -0
  341. package/web/chunk-my778zsk.js.br +0 -0
  342. package/web/chunk-my778zsk.js.gz +0 -0
  343. package/web/chunk-mzevfdmp.js +1 -0
  344. package/web/chunk-mzevfdmp.js.br +0 -0
  345. package/web/chunk-mzevfdmp.js.gz +0 -0
  346. package/web/chunk-n5hvbjdt.js +3 -0
  347. package/web/chunk-n5hvbjdt.js.br +0 -0
  348. package/web/chunk-n5hvbjdt.js.gz +0 -0
  349. package/web/chunk-n6wz1xv2.js +84 -0
  350. package/web/chunk-n6wz1xv2.js.br +0 -0
  351. package/web/chunk-n6wz1xv2.js.gz +0 -0
  352. package/web/chunk-nfz5qmem.js +1 -0
  353. package/web/chunk-nfz5qmem.js.br +0 -0
  354. package/web/chunk-nfz5qmem.js.gz +0 -0
  355. package/web/chunk-p01t2t8w.js +1 -0
  356. package/web/chunk-p01t2t8w.js.br +0 -0
  357. package/web/chunk-p01t2t8w.js.gz +0 -0
  358. package/web/chunk-pa0sqjjk.js +1 -0
  359. package/web/chunk-pa0sqjjk.js.br +0 -0
  360. package/web/chunk-pa0sqjjk.js.gz +0 -0
  361. package/web/chunk-pczbf6w0.js +200 -0
  362. package/web/chunk-pczbf6w0.js.br +0 -0
  363. package/web/chunk-pczbf6w0.js.gz +0 -0
  364. package/web/chunk-pss11x84.js +7 -0
  365. package/web/chunk-pss11x84.js.br +0 -0
  366. package/web/chunk-pss11x84.js.gz +0 -0
  367. package/web/chunk-psymen6a.js +1 -0
  368. package/web/chunk-psymen6a.js.br +0 -0
  369. package/web/chunk-psymen6a.js.gz +0 -0
  370. package/web/chunk-q5rd9d4z.js +1 -0
  371. package/web/chunk-q5rd9d4z.js.br +0 -0
  372. package/web/chunk-q5rd9d4z.js.gz +0 -0
  373. package/web/chunk-qb820yv8.js +1 -0
  374. package/web/chunk-qb820yv8.js.br +0 -0
  375. package/web/chunk-qb820yv8.js.gz +0 -0
  376. package/web/chunk-qcacb7rs.js +1 -0
  377. package/web/chunk-qcacb7rs.js.br +0 -0
  378. package/web/chunk-qcacb7rs.js.gz +0 -0
  379. package/web/chunk-qhwsegs1.js +1 -0
  380. package/web/chunk-qhwsegs1.js.br +0 -0
  381. package/web/chunk-qhwsegs1.js.gz +0 -0
  382. package/web/chunk-qm88s0at.js +30 -0
  383. package/web/chunk-qm88s0at.js.br +0 -0
  384. package/web/chunk-qm88s0at.js.gz +0 -0
  385. package/web/chunk-qpmyxj27.js +1 -0
  386. package/web/chunk-qpmyxj27.js.br +0 -0
  387. package/web/chunk-qpmyxj27.js.gz +0 -0
  388. package/web/chunk-qxyanf4n.js +98 -0
  389. package/web/chunk-qxyanf4n.js.br +0 -0
  390. package/web/chunk-qxyanf4n.js.gz +0 -0
  391. package/web/chunk-qz8yct8b.js +62 -0
  392. package/web/chunk-qz8yct8b.js.br +0 -0
  393. package/web/chunk-qz8yct8b.js.gz +0 -0
  394. package/web/chunk-qzeb7kj6.js +78 -0
  395. package/web/chunk-qzeb7kj6.js.br +0 -0
  396. package/web/chunk-qzeb7kj6.js.gz +0 -0
  397. package/web/chunk-r76we294.js +1 -0
  398. package/web/chunk-r76we294.js.br +0 -0
  399. package/web/chunk-r76we294.js.gz +0 -0
  400. package/web/chunk-r827h2kc.js +1 -0
  401. package/web/chunk-r827h2kc.js.br +2 -0
  402. package/web/chunk-r827h2kc.js.gz +0 -0
  403. package/web/chunk-r992px5p.js +4 -0
  404. package/web/chunk-r992px5p.js.br +0 -0
  405. package/web/chunk-r992px5p.js.gz +0 -0
  406. package/web/chunk-rvgx4jhr.js +1 -0
  407. package/web/chunk-rvgx4jhr.js.br +0 -0
  408. package/web/chunk-rvgx4jhr.js.gz +0 -0
  409. package/web/chunk-rxadtk6j.js +12 -0
  410. package/web/chunk-rxadtk6j.js.br +0 -0
  411. package/web/chunk-rxadtk6j.js.gz +0 -0
  412. package/web/chunk-sk3ssmwp.js +2 -0
  413. package/web/chunk-sk3ssmwp.js.br +0 -0
  414. package/web/chunk-sk3ssmwp.js.gz +0 -0
  415. package/web/chunk-snvwfzxt.js +2 -0
  416. package/web/chunk-snvwfzxt.js.br +0 -0
  417. package/web/chunk-snvwfzxt.js.gz +0 -0
  418. package/web/chunk-szfzt9ph.js +217 -0
  419. package/web/chunk-szfzt9ph.js.br +0 -0
  420. package/web/chunk-szfzt9ph.js.gz +0 -0
  421. package/web/chunk-szwh742y.js +2 -0
  422. package/web/chunk-szwh742y.js.br +0 -0
  423. package/web/chunk-szwh742y.js.gz +0 -0
  424. package/web/chunk-t9hnp1zd.js +2 -0
  425. package/web/chunk-t9hnp1zd.js.br +3 -0
  426. package/web/chunk-t9hnp1zd.js.gz +0 -0
  427. package/web/chunk-tanv869p.js +120 -0
  428. package/web/chunk-tanv869p.js.br +0 -0
  429. package/web/chunk-tanv869p.js.gz +0 -0
  430. package/web/chunk-tn39vbcz.js +2 -0
  431. package/web/chunk-tn39vbcz.js.br +0 -0
  432. package/web/chunk-tn39vbcz.js.gz +0 -0
  433. package/web/chunk-tpps3mfw.js +139 -0
  434. package/web/chunk-tpps3mfw.js.br +0 -0
  435. package/web/chunk-tpps3mfw.js.gz +0 -0
  436. package/web/chunk-txb5yf8n.js +1 -0
  437. package/web/chunk-txb5yf8n.js.br +0 -0
  438. package/web/chunk-txb5yf8n.js.gz +0 -0
  439. package/web/chunk-v3vqv74s.js +1 -0
  440. package/web/chunk-v3vqv74s.js.br +0 -0
  441. package/web/chunk-v3vqv74s.js.gz +0 -0
  442. package/web/chunk-v5q92q5d.js +1 -0
  443. package/web/chunk-v5q92q5d.js.br +0 -0
  444. package/web/chunk-v5q92q5d.js.gz +0 -0
  445. package/web/chunk-vayamfxv.js +1 -0
  446. package/web/chunk-vayamfxv.js.br +0 -0
  447. package/web/chunk-vayamfxv.js.gz +0 -0
  448. package/web/chunk-vrakntde.js +21 -0
  449. package/web/chunk-vrakntde.js.br +0 -0
  450. package/web/chunk-vrakntde.js.gz +0 -0
  451. package/web/chunk-we9q8a9q.js +2 -0
  452. package/web/chunk-we9q8a9q.js.br +0 -0
  453. package/web/chunk-we9q8a9q.js.gz +0 -0
  454. package/web/chunk-wgezeg5k.js +2 -0
  455. package/web/chunk-wgezeg5k.js.br +0 -0
  456. package/web/chunk-wgezeg5k.js.gz +0 -0
  457. package/web/chunk-wh028xj6.js +142 -0
  458. package/web/chunk-wh028xj6.js.br +0 -0
  459. package/web/chunk-wh028xj6.js.gz +0 -0
  460. package/web/chunk-whprx2wg.js +1 -0
  461. package/web/chunk-whprx2wg.js.br +0 -0
  462. package/web/chunk-whprx2wg.js.gz +0 -0
  463. package/web/chunk-wjv2q7b1.js +2 -0
  464. package/web/chunk-wjv2q7b1.js.br +0 -0
  465. package/web/chunk-wjv2q7b1.js.gz +0 -0
  466. package/web/chunk-wydnkdtp.js +89 -0
  467. package/web/chunk-wydnkdtp.js.br +0 -0
  468. package/web/chunk-wydnkdtp.js.gz +0 -0
  469. package/web/chunk-x0zvwdq6.js +2 -0
  470. package/web/chunk-x0zvwdq6.js.br +0 -0
  471. package/web/chunk-x0zvwdq6.js.gz +0 -0
  472. package/web/chunk-x9b1052x.js +2 -0
  473. package/web/chunk-x9b1052x.js.br +0 -0
  474. package/web/chunk-x9b1052x.js.gz +0 -0
  475. package/web/chunk-xwyvptzt.js +2 -0
  476. package/web/chunk-xwyvptzt.js.br +0 -0
  477. package/web/chunk-xwyvptzt.js.gz +0 -0
  478. package/web/chunk-ya7gs2bv.js +1 -0
  479. package/web/chunk-ya7gs2bv.js.br +0 -0
  480. package/web/chunk-ya7gs2bv.js.gz +0 -0
  481. package/web/chunk-yjan9xfw.js +2 -0
  482. package/web/chunk-yjan9xfw.js.br +0 -0
  483. package/web/chunk-yjan9xfw.js.gz +0 -0
  484. package/web/chunk-yqzsx086.js +2 -0
  485. package/web/chunk-yqzsx086.js.br +0 -0
  486. package/web/chunk-yqzsx086.js.gz +0 -0
  487. package/web/chunk-zcetrm2j.js +1 -0
  488. package/web/chunk-zcetrm2j.js.br +3 -0
  489. package/web/chunk-zcetrm2j.js.gz +0 -0
  490. package/web/chunk-zk1ddepw.js +1 -0
  491. package/web/chunk-zk1ddepw.js.br +0 -0
  492. package/web/chunk-zk1ddepw.js.gz +0 -0
  493. package/web/index.html +1 -1
  494. package/web/index.html.br +0 -0
  495. package/web/index.html.gz +0 -0
  496. package/worker.js +1 -1
  497. package/chunk-01xyv3ct.js +0 -7
  498. package/chunk-06gjy5s2.js +0 -5
  499. package/chunk-0pztrs5x.js +0 -11
  500. package/chunk-0v6seb9q.js +0 -20
  501. package/chunk-0z138vnr.js +0 -12
  502. package/chunk-1c8yqctx.js +0 -3
  503. package/chunk-1wt8pbns.js +0 -2
  504. package/chunk-1yvgmxew.js +0 -2
  505. package/chunk-229men2n.js +0 -31
  506. package/chunk-29x35nj4.js +0 -5
  507. package/chunk-3ee7dyh4.js +0 -18
  508. package/chunk-3gf3g0xt.js +0 -3
  509. package/chunk-3gts3ja0.js +0 -8
  510. package/chunk-4stj480w.js +0 -3
  511. package/chunk-4t2t0hcp.js +0 -3
  512. package/chunk-57b764s0.js +0 -5
  513. package/chunk-63mr2aa2.js +0 -50
  514. package/chunk-64h4gw8d.js +0 -3
  515. package/chunk-7gxx6829.js +0 -2
  516. package/chunk-898tss1j.js +0 -51
  517. package/chunk-9em1sne5.js +0 -2
  518. package/chunk-9p8n1xjn.js +0 -4048
  519. package/chunk-a0h0x1dn.js +0 -3
  520. package/chunk-a2r89pk2.js +0 -12
  521. package/chunk-a5mtw4y5.js +0 -2
  522. package/chunk-aq6xkc1w.js +0 -3
  523. package/chunk-bbqhx91f.js +0 -3
  524. package/chunk-c9q0y8hp.js +0 -4
  525. package/chunk-cgzez9a5.js +0 -2
  526. package/chunk-drjajr57.js +0 -3
  527. package/chunk-dsnz6mzt.js +0 -25
  528. package/chunk-ee18zzzv.js +0 -3
  529. package/chunk-eg161ep9.js +0 -3
  530. package/chunk-ej42zg82.js +0 -2
  531. package/chunk-ejw7k7nn.js +0 -2
  532. package/chunk-et2s8y6a.js +0 -3
  533. package/chunk-f95j1a8x.js +0 -3
  534. package/chunk-fnxstmm5.js +0 -2
  535. package/chunk-gtjtkfjk.js +0 -3
  536. package/chunk-h4rve6x4.js +0 -63
  537. package/chunk-hp9bcx4x.js +0 -2
  538. package/chunk-je4cjwhm.js +0 -3
  539. package/chunk-jn1zdamp.js +0 -9
  540. package/chunk-jpah46d1.js +0 -2
  541. package/chunk-jvsrda4n.js +0 -16
  542. package/chunk-jyhsae16.js +0 -2
  543. package/chunk-k7n6bhkz.js +0 -3
  544. package/chunk-kvv3mvk5.js +0 -2
  545. package/chunk-kzv5cgqz.js +0 -286
  546. package/chunk-mz3zt06w.js +0 -7
  547. package/chunk-n4crb1x3.js +0 -2
  548. package/chunk-nmmf0w14.js +0 -5
  549. package/chunk-nr5p4pvp.js +0 -3
  550. package/chunk-p39fex1r.js +0 -2
  551. package/chunk-pefgy360.js +0 -7
  552. package/chunk-psr71nf8.js +0 -2
  553. package/chunk-qsgc7b7x.js +0 -3
  554. package/chunk-qygv2jqa.js +0 -2
  555. package/chunk-r449z8pj.js +0 -2
  556. package/chunk-rd52y45c.js +0 -8
  557. package/chunk-repjnwda.js +0 -10
  558. package/chunk-rh6yvdwz.js +0 -3
  559. package/chunk-s2d5zp37.js +0 -44
  560. package/chunk-s68eamf1.js +0 -2
  561. package/chunk-sacdpkwc.js +0 -3
  562. package/chunk-tey1hftz.js +0 -490
  563. package/chunk-vhvzyxx5.js +0 -25
  564. package/chunk-vytm86v0.js +0 -2
  565. package/chunk-x4bc1xkx.js +0 -39
  566. package/chunk-xa23zmzv.js +0 -2
  567. package/chunk-xq7zspqs.js +0 -3
  568. package/chunk-xqz8ac7j.js +0 -2
  569. package/chunk-ycce2a81.js +0 -2
  570. package/chunk-z99s31w5.js +0 -2
  571. package/chunk-zs6ytk7b.js +0 -59
  572. package/chunk-ztm5hqwh.js +0 -2
  573. package/chunk-zv29qg1q.js +0 -10
  574. package/web/chunk-02z3bqps.js +0 -1
  575. package/web/chunk-02z3bqps.js.br +0 -0
  576. package/web/chunk-02z3bqps.js.gz +0 -0
  577. package/web/chunk-0dg4qqe3.js +0 -1
  578. package/web/chunk-0dg4qqe3.js.br +0 -2
  579. package/web/chunk-0dg4qqe3.js.gz +0 -0
  580. package/web/chunk-0qar8vwc.js +0 -2
  581. package/web/chunk-0qar8vwc.js.br +0 -0
  582. package/web/chunk-0qar8vwc.js.gz +0 -0
  583. package/web/chunk-0qmgmqzd.js +0 -2
  584. package/web/chunk-0qmgmqzd.js.br +0 -0
  585. package/web/chunk-0qmgmqzd.js.gz +0 -0
  586. package/web/chunk-1pffd2va.js +0 -2
  587. package/web/chunk-1pffd2va.js.br +0 -0
  588. package/web/chunk-1pffd2va.js.gz +0 -0
  589. package/web/chunk-1q82849a.js +0 -1
  590. package/web/chunk-1q82849a.js.br +0 -0
  591. package/web/chunk-1q82849a.js.gz +0 -0
  592. package/web/chunk-2ajkzs3d.js +0 -12
  593. package/web/chunk-2ajkzs3d.js.br +0 -0
  594. package/web/chunk-2ajkzs3d.js.gz +0 -0
  595. package/web/chunk-2ttatv42.js +0 -2
  596. package/web/chunk-2ttatv42.js.br +0 -0
  597. package/web/chunk-2ttatv42.js.gz +0 -0
  598. package/web/chunk-2xrkfj8n.js +0 -291
  599. package/web/chunk-2xrkfj8n.js.br +0 -0
  600. package/web/chunk-2xrkfj8n.js.gz +0 -0
  601. package/web/chunk-45xqp3dn.js +0 -1
  602. package/web/chunk-45xqp3dn.js.br +0 -0
  603. package/web/chunk-45xqp3dn.js.gz +0 -0
  604. package/web/chunk-4fdgpye3.js +0 -2
  605. package/web/chunk-4fdgpye3.js.br +0 -0
  606. package/web/chunk-4fdgpye3.js.gz +0 -0
  607. package/web/chunk-4fzpmw3f.js +0 -89
  608. package/web/chunk-4fzpmw3f.js.br +0 -0
  609. package/web/chunk-4fzpmw3f.js.gz +0 -0
  610. package/web/chunk-51njd9f8.js +0 -89
  611. package/web/chunk-51njd9f8.js.br +0 -0
  612. package/web/chunk-51njd9f8.js.gz +0 -0
  613. package/web/chunk-66zw8mqe.js +0 -2
  614. package/web/chunk-66zw8mqe.js.br +0 -0
  615. package/web/chunk-66zw8mqe.js.gz +0 -0
  616. package/web/chunk-6f9btq4p.js +0 -1
  617. package/web/chunk-6f9btq4p.js.br +0 -0
  618. package/web/chunk-6f9btq4p.js.gz +0 -0
  619. package/web/chunk-6x73jtw7.js +0 -7
  620. package/web/chunk-6x73jtw7.js.br +0 -0
  621. package/web/chunk-6x73jtw7.js.gz +0 -0
  622. package/web/chunk-6y389kg6.js +0 -1
  623. package/web/chunk-6y389kg6.js.br +0 -0
  624. package/web/chunk-6y389kg6.js.gz +0 -0
  625. package/web/chunk-73peavw3.js +0 -1
  626. package/web/chunk-73peavw3.js.br +0 -0
  627. package/web/chunk-73peavw3.js.gz +0 -0
  628. package/web/chunk-7p7qtp6d.js +0 -1
  629. package/web/chunk-7p7qtp6d.js.br +0 -0
  630. package/web/chunk-7p7qtp6d.js.gz +0 -0
  631. package/web/chunk-81zj375g.js +0 -1
  632. package/web/chunk-81zj375g.js.br +0 -0
  633. package/web/chunk-81zj375g.js.gz +0 -0
  634. package/web/chunk-89dwrkrr.js +0 -1
  635. package/web/chunk-89dwrkrr.js.br +0 -0
  636. package/web/chunk-89dwrkrr.js.gz +0 -0
  637. package/web/chunk-8e829p0a.css +0 -1
  638. package/web/chunk-8e829p0a.css.br +0 -0
  639. package/web/chunk-8e829p0a.css.gz +0 -0
  640. package/web/chunk-9j7v0e4v.js +0 -2
  641. package/web/chunk-9j7v0e4v.js.br +0 -0
  642. package/web/chunk-9j7v0e4v.js.gz +0 -0
  643. package/web/chunk-9mgqrwwh.js +0 -1
  644. package/web/chunk-9mgqrwwh.js.br +0 -0
  645. package/web/chunk-9mgqrwwh.js.gz +0 -0
  646. package/web/chunk-a11ev6ff.js +0 -1
  647. package/web/chunk-a11ev6ff.js.br +0 -0
  648. package/web/chunk-a11ev6ff.js.gz +0 -0
  649. package/web/chunk-ag97fhx1.js +0 -1
  650. package/web/chunk-ag97fhx1.js.br +0 -0
  651. package/web/chunk-ag97fhx1.js.gz +0 -0
  652. package/web/chunk-anm2706b.js +0 -139
  653. package/web/chunk-anm2706b.js.br +0 -0
  654. package/web/chunk-anm2706b.js.gz +0 -0
  655. package/web/chunk-aqz2exas.js +0 -142
  656. package/web/chunk-aqz2exas.js.br +0 -0
  657. package/web/chunk-aqz2exas.js.gz +0 -0
  658. package/web/chunk-at6wp72y.js +0 -1
  659. package/web/chunk-at6wp72y.js.br +0 -0
  660. package/web/chunk-at6wp72y.js.gz +0 -0
  661. package/web/chunk-ayfqxte8.js +0 -1
  662. package/web/chunk-ayfqxte8.js.br +0 -2
  663. package/web/chunk-ayfqxte8.js.gz +0 -0
  664. package/web/chunk-b564qxgk.js +0 -98
  665. package/web/chunk-b564qxgk.js.br +0 -0
  666. package/web/chunk-b564qxgk.js.gz +0 -0
  667. package/web/chunk-b9atg5sw.js +0 -1
  668. package/web/chunk-b9atg5sw.js.br +0 -0
  669. package/web/chunk-b9atg5sw.js.gz +0 -0
  670. package/web/chunk-bg2k54a5.js +0 -70
  671. package/web/chunk-bg2k54a5.js.br +0 -0
  672. package/web/chunk-bg2k54a5.js.gz +0 -0
  673. package/web/chunk-bw9crrb4.js +0 -1
  674. package/web/chunk-bw9crrb4.js.br +0 -0
  675. package/web/chunk-bw9crrb4.js.gz +0 -0
  676. package/web/chunk-c2vtzhbs.js +0 -1
  677. package/web/chunk-c2vtzhbs.js.br +0 -0
  678. package/web/chunk-c2vtzhbs.js.gz +0 -0
  679. package/web/chunk-cb0g87b5.js +0 -2
  680. package/web/chunk-cb0g87b5.js.br +0 -3
  681. package/web/chunk-cb0g87b5.js.gz +0 -0
  682. package/web/chunk-cgm44rx8.js +0 -2
  683. package/web/chunk-cgm44rx8.js.br +0 -0
  684. package/web/chunk-cgm44rx8.js.gz +0 -0
  685. package/web/chunk-ctckn7gz.js +0 -2
  686. package/web/chunk-ctckn7gz.js.br +0 -0
  687. package/web/chunk-ctckn7gz.js.gz +0 -0
  688. package/web/chunk-def5mk0w.js +0 -2
  689. package/web/chunk-def5mk0w.js.br +0 -0
  690. package/web/chunk-def5mk0w.js.gz +0 -0
  691. package/web/chunk-e2nhv6bb.js +0 -2
  692. package/web/chunk-e2nhv6bb.js.br +0 -0
  693. package/web/chunk-e2nhv6bb.js.gz +0 -0
  694. package/web/chunk-e7djq8rb.js +0 -2
  695. package/web/chunk-e7djq8rb.js.br +0 -0
  696. package/web/chunk-e7djq8rb.js.gz +0 -0
  697. package/web/chunk-eagbq8k2.js +0 -1
  698. package/web/chunk-eagbq8k2.js.br +0 -0
  699. package/web/chunk-eagbq8k2.js.gz +0 -0
  700. package/web/chunk-fbxw7w0z.js +0 -1
  701. package/web/chunk-fbxw7w0z.js.br +0 -0
  702. package/web/chunk-fbxw7w0z.js.gz +0 -0
  703. package/web/chunk-fn95dxq2.js +0 -1
  704. package/web/chunk-fn95dxq2.js.br +0 -0
  705. package/web/chunk-fn95dxq2.js.gz +0 -0
  706. package/web/chunk-g3n4tbbv.js +0 -1
  707. package/web/chunk-g3n4tbbv.js.br +0 -2
  708. package/web/chunk-g3n4tbbv.js.gz +0 -0
  709. package/web/chunk-gp0xqyh2.js +0 -62
  710. package/web/chunk-gp0xqyh2.js.br +0 -0
  711. package/web/chunk-gp0xqyh2.js.gz +0 -0
  712. package/web/chunk-h2rv3exr.js +0 -84
  713. package/web/chunk-h2rv3exr.js.br +0 -0
  714. package/web/chunk-h2rv3exr.js.gz +0 -0
  715. package/web/chunk-h47k4j7f.js +0 -1
  716. package/web/chunk-h47k4j7f.js.br +0 -0
  717. package/web/chunk-h47k4j7f.js.gz +0 -0
  718. package/web/chunk-h888hb33.js +0 -41
  719. package/web/chunk-h888hb33.js.br +0 -0
  720. package/web/chunk-h888hb33.js.gz +0 -0
  721. package/web/chunk-hc9ep8b0.js +0 -4
  722. package/web/chunk-hc9ep8b0.js.br +0 -0
  723. package/web/chunk-hc9ep8b0.js.gz +0 -0
  724. package/web/chunk-hp0jfbty.js +0 -1
  725. package/web/chunk-hp0jfbty.js.br +0 -0
  726. package/web/chunk-hp0jfbty.js.gz +0 -0
  727. package/web/chunk-hx7rh5c1.js +0 -2
  728. package/web/chunk-hx7rh5c1.js.br +0 -0
  729. package/web/chunk-hx7rh5c1.js.gz +0 -0
  730. package/web/chunk-hzxz7smg.js +0 -24
  731. package/web/chunk-hzxz7smg.js.br +0 -0
  732. package/web/chunk-hzxz7smg.js.gz +0 -0
  733. package/web/chunk-j4w9gj2v.js +0 -1
  734. package/web/chunk-j4w9gj2v.js.br +0 -0
  735. package/web/chunk-j4w9gj2v.js.gz +0 -0
  736. package/web/chunk-j8m3c1s4.js +0 -2
  737. package/web/chunk-j8m3c1s4.js.br +0 -0
  738. package/web/chunk-j8m3c1s4.js.gz +0 -0
  739. package/web/chunk-jamb9e79.js +0 -1
  740. package/web/chunk-jamb9e79.js.br +0 -0
  741. package/web/chunk-jamb9e79.js.gz +0 -0
  742. package/web/chunk-jg19frxn.js +0 -55
  743. package/web/chunk-jg19frxn.js.br +0 -0
  744. package/web/chunk-jg19frxn.js.gz +0 -0
  745. package/web/chunk-jm2pevt8.js +0 -1
  746. package/web/chunk-jm2pevt8.js.br +0 -0
  747. package/web/chunk-jm2pevt8.js.gz +0 -0
  748. package/web/chunk-jmr00kdm.js +0 -214
  749. package/web/chunk-jmr00kdm.js.br +0 -0
  750. package/web/chunk-jmr00kdm.js.gz +0 -0
  751. package/web/chunk-jsff72z2.js +0 -1
  752. package/web/chunk-jsff72z2.js.br +0 -0
  753. package/web/chunk-jsff72z2.js.gz +0 -0
  754. package/web/chunk-jv83dscd.js +0 -1
  755. package/web/chunk-jv83dscd.js.br +0 -0
  756. package/web/chunk-jv83dscd.js.gz +0 -0
  757. package/web/chunk-k0da3cb3.js +0 -1
  758. package/web/chunk-k0da3cb3.js.br +0 -0
  759. package/web/chunk-k0da3cb3.js.gz +0 -0
  760. package/web/chunk-k6ks8zqg.js +0 -1
  761. package/web/chunk-k6ks8zqg.js.br +0 -0
  762. package/web/chunk-k6ks8zqg.js.gz +0 -0
  763. package/web/chunk-kdzew6g1.js +0 -1
  764. package/web/chunk-kdzew6g1.js.br +0 -2
  765. package/web/chunk-kdzew6g1.js.gz +0 -0
  766. package/web/chunk-ktmnzrpf.js +0 -1
  767. package/web/chunk-ktmnzrpf.js.br +0 -2
  768. package/web/chunk-ktmnzrpf.js.gz +0 -0
  769. package/web/chunk-kxezmcn5.js +0 -30
  770. package/web/chunk-kxezmcn5.js.br +0 -0
  771. package/web/chunk-kxezmcn5.js.gz +0 -0
  772. package/web/chunk-kyj99nqq.js +0 -2
  773. package/web/chunk-kyj99nqq.js.br +0 -0
  774. package/web/chunk-kyj99nqq.js.gz +0 -0
  775. package/web/chunk-m1009k4x.js +0 -16
  776. package/web/chunk-m1009k4x.js.br +0 -0
  777. package/web/chunk-m1009k4x.js.gz +0 -0
  778. package/web/chunk-mfsdyw6v.js +0 -2
  779. package/web/chunk-mfsdyw6v.js.br +0 -0
  780. package/web/chunk-mfsdyw6v.js.gz +0 -0
  781. package/web/chunk-mgr8wt71.js +0 -370
  782. package/web/chunk-mgr8wt71.js.br +0 -0
  783. package/web/chunk-mgr8wt71.js.gz +0 -0
  784. package/web/chunk-mya0w8tm.js +0 -1
  785. package/web/chunk-mya0w8tm.js.br +0 -0
  786. package/web/chunk-mya0w8tm.js.gz +0 -0
  787. package/web/chunk-n1wgda90.js +0 -7
  788. package/web/chunk-n1wgda90.js.br +0 -0
  789. package/web/chunk-n1wgda90.js.gz +0 -0
  790. package/web/chunk-n7hk5sxm.js +0 -120
  791. package/web/chunk-n7hk5sxm.js.br +0 -0
  792. package/web/chunk-n7hk5sxm.js.gz +0 -0
  793. package/web/chunk-n99yz498.js +0 -36
  794. package/web/chunk-n99yz498.js.br +0 -0
  795. package/web/chunk-n99yz498.js.gz +0 -0
  796. package/web/chunk-nnvqz2dh.js +0 -1
  797. package/web/chunk-nnvqz2dh.js.br +0 -0
  798. package/web/chunk-nnvqz2dh.js.gz +0 -0
  799. package/web/chunk-nx439rde.js +0 -1
  800. package/web/chunk-nx439rde.js.br +0 -0
  801. package/web/chunk-nx439rde.js.gz +0 -0
  802. package/web/chunk-pn50cj2y.js +0 -1
  803. package/web/chunk-pn50cj2y.js.br +0 -0
  804. package/web/chunk-pn50cj2y.js.gz +0 -0
  805. package/web/chunk-pph3x232.js +0 -38
  806. package/web/chunk-pph3x232.js.br +0 -0
  807. package/web/chunk-pph3x232.js.gz +0 -0
  808. package/web/chunk-pt2vfgkr.js +0 -1
  809. package/web/chunk-pt2vfgkr.js.br +0 -0
  810. package/web/chunk-pt2vfgkr.js.gz +0 -0
  811. package/web/chunk-pzvg5xnk.js +0 -21
  812. package/web/chunk-pzvg5xnk.js.br +0 -0
  813. package/web/chunk-pzvg5xnk.js.gz +0 -0
  814. package/web/chunk-q5hj3y5k.js +0 -2
  815. package/web/chunk-q5hj3y5k.js.br +0 -0
  816. package/web/chunk-q5hj3y5k.js.gz +0 -0
  817. package/web/chunk-qafnz668.js +0 -1
  818. package/web/chunk-qafnz668.js.br +0 -0
  819. package/web/chunk-qafnz668.js.gz +0 -0
  820. package/web/chunk-qkfqcr10.js +0 -1
  821. package/web/chunk-qkfqcr10.js.br +0 -0
  822. package/web/chunk-qkfqcr10.js.gz +0 -0
  823. package/web/chunk-qkgp0da2.js +0 -1
  824. package/web/chunk-qkgp0da2.js.br +0 -0
  825. package/web/chunk-qkgp0da2.js.gz +0 -0
  826. package/web/chunk-qpqdn0a8.js +0 -1
  827. package/web/chunk-qpqdn0a8.js.br +0 -0
  828. package/web/chunk-qpqdn0a8.js.gz +0 -0
  829. package/web/chunk-r0ch05x8.js +0 -3
  830. package/web/chunk-r0ch05x8.js.br +0 -0
  831. package/web/chunk-r0ch05x8.js.gz +0 -0
  832. package/web/chunk-r6s2vcby.js +0 -8
  833. package/web/chunk-r6s2vcby.js.br +0 -6
  834. package/web/chunk-r6s2vcby.js.gz +0 -0
  835. package/web/chunk-r71mdnq3.js +0 -1
  836. package/web/chunk-r71mdnq3.js.br +0 -0
  837. package/web/chunk-r71mdnq3.js.gz +0 -0
  838. package/web/chunk-r9m8jh7x.js +0 -2
  839. package/web/chunk-r9m8jh7x.js.br +0 -0
  840. package/web/chunk-r9m8jh7x.js.gz +0 -0
  841. package/web/chunk-rd60971b.js +0 -2
  842. package/web/chunk-rd60971b.js.br +0 -0
  843. package/web/chunk-rd60971b.js.gz +0 -0
  844. package/web/chunk-rdz21xd5.js +0 -99
  845. package/web/chunk-rdz21xd5.js.br +0 -0
  846. package/web/chunk-rdz21xd5.js.gz +0 -0
  847. package/web/chunk-rmzb9edh.js +0 -303
  848. package/web/chunk-rmzb9edh.js.br +0 -0
  849. package/web/chunk-rmzb9edh.js.gz +0 -0
  850. package/web/chunk-rqkd1h2n.js +0 -2
  851. package/web/chunk-rqkd1h2n.js.br +0 -0
  852. package/web/chunk-rqkd1h2n.js.gz +0 -0
  853. package/web/chunk-rz2cq4g2.js +0 -2
  854. package/web/chunk-rz2cq4g2.js.br +0 -0
  855. package/web/chunk-rz2cq4g2.js.gz +0 -0
  856. package/web/chunk-rzeh9b1q.js +0 -2
  857. package/web/chunk-rzeh9b1q.js.br +0 -0
  858. package/web/chunk-rzeh9b1q.js.gz +0 -0
  859. package/web/chunk-s6ax6yty.js +0 -1
  860. package/web/chunk-s6ax6yty.js.br +0 -0
  861. package/web/chunk-s6ax6yty.js.gz +0 -0
  862. package/web/chunk-s75zvbh9.js +0 -1
  863. package/web/chunk-s75zvbh9.js.br +0 -0
  864. package/web/chunk-s75zvbh9.js.gz +0 -0
  865. package/web/chunk-s7cz1q7g.js +0 -324
  866. package/web/chunk-s7cz1q7g.js.br +0 -0
  867. package/web/chunk-s7cz1q7g.js.gz +0 -0
  868. package/web/chunk-sh6xh1kh.js +0 -1
  869. package/web/chunk-sh6xh1kh.js.br +0 -0
  870. package/web/chunk-sh6xh1kh.js.gz +0 -0
  871. package/web/chunk-shc8bv2k.js +0 -2
  872. package/web/chunk-shc8bv2k.js.br +0 -0
  873. package/web/chunk-shc8bv2k.js.gz +0 -0
  874. package/web/chunk-sqa50cfh.js +0 -2
  875. package/web/chunk-sqa50cfh.js.br +0 -0
  876. package/web/chunk-sqa50cfh.js.gz +0 -0
  877. package/web/chunk-stp6j8y9.js +0 -39
  878. package/web/chunk-stp6j8y9.js.br +0 -0
  879. package/web/chunk-stp6j8y9.js.gz +0 -0
  880. package/web/chunk-t7wae2xz.js +0 -332
  881. package/web/chunk-t7wae2xz.js.br +0 -0
  882. package/web/chunk-t7wae2xz.js.gz +0 -0
  883. package/web/chunk-t8p7d5vk.js +0 -2
  884. package/web/chunk-t8p7d5vk.js.br +0 -0
  885. package/web/chunk-t8p7d5vk.js.gz +0 -0
  886. package/web/chunk-t9twwgfe.js +0 -1
  887. package/web/chunk-t9twwgfe.js.br +0 -0
  888. package/web/chunk-t9twwgfe.js.gz +0 -0
  889. package/web/chunk-tbgavq0t.js +0 -2
  890. package/web/chunk-tbgavq0t.js.br +0 -0
  891. package/web/chunk-tbgavq0t.js.gz +0 -0
  892. package/web/chunk-tbj4d6qe.js +0 -292
  893. package/web/chunk-tbj4d6qe.js.br +0 -0
  894. package/web/chunk-tbj4d6qe.js.gz +0 -0
  895. package/web/chunk-v0wb751t.js +0 -2
  896. package/web/chunk-v0wb751t.js.br +0 -0
  897. package/web/chunk-v0wb751t.js.gz +0 -0
  898. package/web/chunk-v1vghfec.js +0 -1
  899. package/web/chunk-v1vghfec.js.br +0 -0
  900. package/web/chunk-v1vghfec.js.gz +0 -0
  901. package/web/chunk-v890rh1e.js +0 -2
  902. package/web/chunk-v890rh1e.js.br +0 -0
  903. package/web/chunk-v890rh1e.js.gz +0 -0
  904. package/web/chunk-vd2kng8p.js +0 -4
  905. package/web/chunk-vd2kng8p.js.br +0 -0
  906. package/web/chunk-vd2kng8p.js.gz +0 -0
  907. package/web/chunk-vfqmec16.js +0 -217
  908. package/web/chunk-vfqmec16.js.br +0 -0
  909. package/web/chunk-vfqmec16.js.gz +0 -0
  910. package/web/chunk-vhmcx472.js +0 -1
  911. package/web/chunk-vhmcx472.js.br +0 -0
  912. package/web/chunk-vhmcx472.js.gz +0 -0
  913. package/web/chunk-vtvf1x6b.js +0 -2
  914. package/web/chunk-vtvf1x6b.js.br +0 -0
  915. package/web/chunk-vtvf1x6b.js.gz +0 -0
  916. package/web/chunk-w0ae9ggt.js +0 -40
  917. package/web/chunk-w0ae9ggt.js.br +0 -0
  918. package/web/chunk-w0ae9ggt.js.gz +0 -0
  919. package/web/chunk-ws8rv0tb.js +0 -1141
  920. package/web/chunk-ws8rv0tb.js.br +0 -0
  921. package/web/chunk-ws8rv0tb.js.gz +0 -0
  922. package/web/chunk-wvnvh4a5.js +0 -78
  923. package/web/chunk-wvnvh4a5.js.br +0 -0
  924. package/web/chunk-wvnvh4a5.js.gz +0 -0
  925. package/web/chunk-x11ewabg.js +0 -1
  926. package/web/chunk-x11ewabg.js.br +0 -0
  927. package/web/chunk-x11ewabg.js.gz +0 -0
  928. package/web/chunk-x2tcf0r1.js +0 -1
  929. package/web/chunk-x2tcf0r1.js.br +0 -2
  930. package/web/chunk-x2tcf0r1.js.gz +0 -0
  931. package/web/chunk-x9mexzav.js +0 -2
  932. package/web/chunk-x9mexzav.js.br +0 -0
  933. package/web/chunk-x9mexzav.js.gz +0 -0
  934. package/web/chunk-xbrj4mk1.js +0 -140
  935. package/web/chunk-xbrj4mk1.js.br +0 -0
  936. package/web/chunk-xbrj4mk1.js.gz +0 -0
  937. package/web/chunk-xh8q1bcj.js +0 -34
  938. package/web/chunk-xh8q1bcj.js.br +0 -0
  939. package/web/chunk-xh8q1bcj.js.gz +0 -0
  940. package/web/chunk-xha3t633.js +0 -1
  941. package/web/chunk-xha3t633.js.br +0 -0
  942. package/web/chunk-xha3t633.js.gz +0 -0
  943. package/web/chunk-xk8637wb.js +0 -1
  944. package/web/chunk-xk8637wb.js.br +0 -0
  945. package/web/chunk-xk8637wb.js.gz +0 -0
  946. package/web/chunk-xmr18f18.js +0 -1
  947. package/web/chunk-xmr18f18.js.br +0 -0
  948. package/web/chunk-xmr18f18.js.gz +0 -0
  949. package/web/chunk-y372dg1e.js +0 -7
  950. package/web/chunk-y372dg1e.js.br +0 -0
  951. package/web/chunk-y372dg1e.js.gz +0 -0
  952. package/web/chunk-y48mj5d7.js +0 -1
  953. package/web/chunk-y48mj5d7.js.br +0 -0
  954. package/web/chunk-y48mj5d7.js.gz +0 -0
  955. package/web/chunk-y778wckc.js +0 -24
  956. package/web/chunk-y778wckc.js.br +0 -0
  957. package/web/chunk-y778wckc.js.gz +0 -0
  958. package/web/chunk-yerpvhym.js +0 -169
  959. package/web/chunk-yerpvhym.js.br +0 -0
  960. package/web/chunk-yerpvhym.js.gz +0 -0
  961. package/web/chunk-yrhe7a7c.js +0 -106
  962. package/web/chunk-yrhe7a7c.js.br +0 -0
  963. package/web/chunk-yrhe7a7c.js.gz +0 -0
  964. package/web/chunk-z2aazpzj.js +0 -2
  965. package/web/chunk-z2aazpzj.js.br +0 -0
  966. package/web/chunk-z2aazpzj.js.gz +0 -0
  967. package/web/chunk-z43td5ad.js +0 -1
  968. package/web/chunk-z43td5ad.js.br +0 -0
  969. package/web/chunk-z43td5ad.js.gz +0 -0
  970. package/web/chunk-z8fgdsx5.js +0 -1
  971. package/web/chunk-z8fgdsx5.js.br +0 -0
  972. package/web/chunk-z8fgdsx5.js.gz +0 -0
  973. package/web/chunk-zf42y65m.js +0 -1
  974. package/web/chunk-zf42y65m.js.br +0 -0
  975. package/web/chunk-zf42y65m.js.gz +0 -0
  976. package/web/chunk-zj2rhf4b.js +0 -200
  977. package/web/chunk-zj2rhf4b.js.br +0 -0
  978. package/web/chunk-zj2rhf4b.js.gz +0 -0
  979. package/web/chunk-zkn84jhm.js +0 -2
  980. package/web/chunk-zkn84jhm.js.br +0 -0
  981. package/web/chunk-zkn84jhm.js.gz +0 -0
@@ -0,0 +1,99 @@
1
+ import{t,ar,i,Ie,C,N,M,P,R,I,O,D,d,g,H,St,zi,De,Ne,Me,fn,He,Ue}from"./chunk-9hkz2jgq.js";import{Bn}from"./chunk-t9hnp1zd.js";import{ze}from"./chunk-gp3356tf.js";import{Pe}from"./chunk-2z5tpzd0.js";var Ge=function(){var s=t(function(j,o,c,p){for(c=c||{},p=j.length;p--;c[j[p]]=o);return c},"o"),l=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],b=[2,2],n=[1,7],h=[1,9],k=[1,10],S=[1,11],y=[1,12],T=[1,30],f=[1,23],_=[1,24],w=[1,25],q=[1,26],X=[1,27],x=[1,19],G=[1,28],te=[1,29],V=[1,20],F=[1,18],Y=[1,21],z=[1,22],Fe=[2,6],u=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],Se=[1,36],Te=[1,37],Ce=[1,38],Oe=[1,39],xe=[1,40],se=[6,9,12,14,16,19,20,21,23,25,27,33,34,37,38,39,40,41,43,46,47,50,51,53,54,55,69,70,71,72,73],U=[1,46],K=[1,47],ie=[1,57],re=[43,51,53,54,55,74,75],ae=[1,70],ne=[1,68],Z=[1,65],oe=[1,69],le=[1,71],ue=[6,9,12,16,21,23,25,27,33,34,37,38,39,40,41,43,44,45,46,47,51,52,53,54,55,69,70,71,72,73],de=[1,78],be=[1,77],pe=[1,76],Ye=[69,70,71,72,73],Ke=[1,91],Ze=[6,9,45,50],J=[6,9,12,44,45,50,51,52],fe=[1,101],ke=[1,100],ge=[1,99],ce=[18,61],je=[1,110],qe=[1,109],We=[20,43,51,53,54,55],Ae=[18,61,64,66],Re={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,statement:8,NEWLINE:9,entityName:10,relSpec:11,COLON:12,role:13,STYLE_SEPARATOR:14,idList:15,BLOCK_START:16,attributes:17,BLOCK_STOP:18,SQS:19,SQE:20,title:21,title_value:22,acc_title:23,acc_title_value:24,acc_descr:25,acc_descr_value:26,acc_descr_multiline_value:27,direction:28,classDefStatement:29,classStatement:30,styleStatement:31,subgraphHeader:32,END:33,SUBGRAPH:34,separator:35,subgraphTitle:36,direction_tb:37,direction_bt:38,direction_rl:39,direction_lr:40,CLASSDEF:41,stylesOpt:42,UNICODE_TEXT:43,STYLE_TEXT:44,COMMA:45,CLASS:46,STYLE:47,style:48,styleComponent:49,SEMI:50,NUM:51,BRKT:52,ENTITY_NAME:53,DECIMAL_NUM:54,ENTITY_ONE:55,attribute:56,attributeType:57,attributeName:58,attributeKeyTypeList:59,attributeComment:60,ATTRIBUTE_WORD:61,"?":62,attributeKeyType:63,",":64,ATTRIBUTE_KEY:65,COMMENT:66,cardinality:67,relType:68,ZERO_OR_ONE:69,ZERO_OR_MORE:70,ONE_OR_MORE:71,ONLY_ONE:72,MD_PARENT:73,NON_IDENTIFYING:74,IDENTIFYING:75,WORD:76,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"NEWLINE",12:"COLON",14:"STYLE_SEPARATOR",16:"BLOCK_START",18:"BLOCK_STOP",19:"SQS",20:"SQE",21:"title",22:"title_value",23:"acc_title",24:"acc_title_value",25:"acc_descr",26:"acc_descr_value",27:"acc_descr_multiline_value",33:"END",34:"SUBGRAPH",37:"direction_tb",38:"direction_bt",39:"direction_rl",40:"direction_lr",41:"CLASSDEF",43:"UNICODE_TEXT",44:"STYLE_TEXT",45:"COMMA",46:"CLASS",47:"STYLE",50:"SEMI",51:"NUM",52:"BRKT",53:"ENTITY_NAME",54:"DECIMAL_NUM",55:"ENTITY_ONE",61:"ATTRIBUTE_WORD",62:"?",64:",",65:"ATTRIBUTE_KEY",66:"COMMENT",69:"ZERO_OR_ONE",70:"ZERO_OR_MORE",71:"ONE_OR_MORE",72:"ONLY_ONE",73:"MD_PARENT",74:"NON_IDENTIFYING",75:"IDENTIFYING",76:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[7,1],[8,5],[8,9],[8,7],[8,7],[8,4],[8,6],[8,3],[8,5],[8,1],[8,3],[8,7],[8,9],[8,6],[8,8],[8,4],[8,6],[8,2],[8,2],[8,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,3],[32,3],[32,6],[36,1],[36,2],[28,1],[28,1],[28,1],[28,1],[29,4],[15,1],[15,1],[15,3],[15,3],[30,3],[31,4],[42,1],[42,3],[48,1],[48,2],[35,1],[35,1],[35,1],[49,1],[49,1],[49,1],[49,1],[10,1],[10,1],[10,1],[10,1],[10,1],[17,1],[17,2],[56,2],[56,3],[56,3],[56,4],[57,1],[57,2],[58,1],[59,1],[59,3],[63,1],[60,1],[11,3],[67,1],[67,1],[67,1],[67,1],[67,1],[68,1],[68,1],[13,1],[13,1],[13,1]],performAction:t(function(o,c,p,a,m,e,he){var r=e.length-1;switch(m){case 1:break;case 2:this.$=[];break;case 3:this.$=e[r-1].concat(e[r]);break;case 4:this.$=e[r];break;case 5:case 6:this.$=[];break;case 7:a.addEntity(e[r-4]),a.addEntity(e[r-2]),a.addRelationship(e[r-4],e[r],e[r-2],e[r-3]),this.$=[e[r-4],e[r-2]];break;case 8:a.addEntity(e[r-8]),a.addEntity(e[r-4]),a.addRelationship(e[r-8],e[r],e[r-4],e[r-5]),a.setClass([e[r-8]],e[r-6]),a.setClass([e[r-4]],e[r-2]),this.$=[e[r-8],e[r-4]];break;case 9:a.addEntity(e[r-6]),a.addEntity(e[r-2]),a.addRelationship(e[r-6],e[r],e[r-2],e[r-3]),a.setClass([e[r-6]],e[r-4]),this.$=[e[r-6],e[r-2]];break;case 10:a.addEntity(e[r-6]),a.addEntity(e[r-4]),a.addRelationship(e[r-6],e[r],e[r-4],e[r-5]),a.setClass([e[r-4]],e[r-2]),this.$=[e[r-6],e[r-4]];break;case 11:a.addEntity(e[r-3]),a.addAttributes(e[r-3],e[r-1]),this.$=[e[r-3]];break;case 12:a.addEntity(e[r-5]),a.addAttributes(e[r-5],e[r-1]),a.setClass([e[r-5]],e[r-3]),this.$=[e[r-5]];break;case 13:a.addEntity(e[r-2]),this.$=[e[r-2]];break;case 14:a.addEntity(e[r-4]),a.setClass([e[r-4]],e[r-2]),this.$=[e[r-4]];break;case 15:a.addEntity(e[r]),this.$=[e[r]];break;case 16:a.addEntity(e[r-2]),a.setClass([e[r-2]],e[r]),this.$=[e[r-2]];break;case 17:a.addEntity(e[r-6],e[r-4]),a.addAttributes(e[r-6],e[r-1]),this.$=[e[r-6]];break;case 18:a.addEntity(e[r-8],e[r-6]),a.addAttributes(e[r-8],e[r-1]),a.setClass([e[r-8]],e[r-3]),this.$=[e[r-8]];break;case 19:a.addEntity(e[r-5],e[r-3]),this.$=[e[r-5]];break;case 20:a.addEntity(e[r-7],e[r-5]),a.setClass([e[r-7]],e[r-2]),this.$=[e[r-7]];break;case 21:a.addEntity(e[r-3],e[r-1]);break;case 22:a.addEntity(e[r-5],e[r-3]),a.setClass([e[r-5]],e[r]);break;case 23:case 24:this.$=e[r].trim(),a.setAccTitle(this.$);break;case 25:case 26:this.$=e[r].trim(),a.setAccDescription(this.$);break;case 27:if(!a.subgraphDepth)a.setDirection(e[r].value),this.$=[];else this.$=e[r];break;case 31:a.subgraphDepth=(a.subgraphDepth||1)-1,this.$=a.addSubGraph({text:e[r-2].id},e[r-1],{text:e[r-2].text});break;case 32:a.subgraphDepth=(a.subgraphDepth||0)+1,this.$={id:e[r-1],text:e[r-1]};break;case 33:a.subgraphDepth=(a.subgraphDepth||0)+1,this.$={id:e[r-4],text:e[r-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=e[r];break;case 35:this.$=e[r-1]+" "+e[r];break;case 36:this.$={stmt:"dir",value:"TB"};break;case 37:this.$={stmt:"dir",value:"BT"};break;case 38:this.$={stmt:"dir",value:"RL"};break;case 39:this.$={stmt:"dir",value:"LR"};break;case 40:this.$=e[r-3],a.addClass(e[r-2],e[r-1]);break;case 41:case 42:case 63:case 72:this.$=[e[r]];break;case 43:case 44:this.$=e[r-2].concat([e[r]]);break;case 45:this.$=e[r-2],a.setClass(e[r-1],e[r]);break;case 46:this.$=e[r-3],a.addCssStyles(e[r-2],e[r-1]);break;case 47:this.$=[e[r]];break;case 48:e[r-2].push(e[r]),this.$=e[r-2];break;case 50:this.$=e[r-1]+e[r];break;case 58:case 84:case 85:this.$=e[r].replace(/"/g,"");break;case 64:e[r].push(e[r-1]),this.$=e[r];break;case 65:this.$={type:e[r-1],name:e[r]};break;case 66:this.$={type:e[r-2],name:e[r-1],keys:e[r]};break;case 67:this.$={type:e[r-2],name:e[r-1],comment:e[r]};break;case 68:this.$={type:e[r-3],name:e[r-2],keys:e[r-1],comment:e[r]};break;case 69:case 71:case 74:this.$=e[r];break;case 70:this.$=e[r-1]+e[r];break;case 73:e[r-2].push(e[r]),this.$=e[r-2];break;case 75:this.$=e[r].replace(/"/g,"");break;case 76:this.$={cardA:e[r],relType:e[r-1],cardB:e[r-2]};break;case 77:this.$=a.Cardinality.ZERO_OR_ONE;break;case 78:this.$=a.Cardinality.ZERO_OR_MORE;break;case 79:this.$=a.Cardinality.ONE_OR_MORE;break;case 80:this.$=a.Cardinality.ONLY_ONE;break;case 81:this.$=a.Cardinality.MD_PARENT;break;case 82:this.$=a.Identification.NON_IDENTIFYING;break;case 83:this.$=a.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(l,b,{5:3}),{6:[1,4],7:5,8:6,9:n,10:8,21:h,23:k,25:S,27:y,28:13,29:14,30:15,31:16,32:17,34:T,37:f,38:_,39:w,40:q,41:X,43:x,46:G,47:te,51:V,53:F,54:Y,55:z},s(l,Fe,{1:[2,1]}),s(u,[2,3]),s(u,[2,4]),s(u,[2,5]),s(u,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:Se,70:Te,71:Ce,72:Oe,73:xe}),{22:[1,41]},{24:[1,42]},{26:[1,43]},s(u,[2,26]),s(u,[2,27]),s(u,[2,28]),s(u,[2,29]),s(u,[2,30]),s(u,b,{5:44}),s(se,[2,58]),s(se,[2,59]),s(se,[2,60]),s(se,[2,61]),s(se,[2,62]),s(u,[2,36]),s(u,[2,37]),s(u,[2,38]),s(u,[2,39]),{15:45,43:U,44:K},{15:48,43:U,44:K},{15:49,43:U,44:K},{10:50,43:x,51:V,53:F,54:Y,55:z},{10:51,43:x,51:V,53:F,54:Y,55:z},{15:52,43:U,44:K},{17:53,18:[1,54],56:55,57:56,61:ie},{10:58,43:x,51:V,53:F,54:Y,55:z},{68:59,74:[1,60],75:[1,61]},s(re,[2,77]),s(re,[2,78]),s(re,[2,79]),s(re,[2,80]),s(re,[2,81]),s(u,[2,23]),s(u,[2,24]),s(u,[2,25]),{6:[1,63],7:5,8:6,9:n,10:8,21:h,23:k,25:S,27:y,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:T,37:f,38:_,39:w,40:q,41:X,43:x,46:G,47:te,51:V,53:F,54:Y,55:z},{12:ae,42:64,44:ne,45:Z,48:66,49:67,51:oe,52:le},s(ue,[2,41]),s(ue,[2,42]),{15:72,43:U,44:K,45:Z},{12:ae,42:73,44:ne,45:Z,48:66,49:67,51:oe,52:le},{6:de,9:be,19:[1,75],35:74,50:pe},{12:[1,79],14:[1,80]},s(u,[2,16],{67:35,11:81,16:[1,82],45:Z,69:Se,70:Te,71:Ce,72:Oe,73:xe}),{18:[1,83]},s(u,[2,13]),{17:84,18:[2,63],56:55,57:56,61:ie},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:Se,70:Te,71:Ce,72:Oe,73:xe},s(Ye,[2,82]),s(Ye,[2,83]),s(u,[2,31]),s(u,Fe),{6:de,9:be,35:90,45:Ke,50:pe},{43:[1,92],44:[1,93]},s(Ze,[2,47],{49:94,12:ae,44:ne,51:oe,52:le}),s(J,[2,49]),s(J,[2,54]),s(J,[2,55]),s(J,[2,56]),s(J,[2,57]),s(u,[2,45],{45:Z}),{6:de,9:be,35:95,45:Ke,50:pe},s(u,[2,32]),{10:97,36:96,43:x,51:V,53:F,54:Y,55:z},s(u,[2,51]),s(u,[2,52]),s(u,[2,53]),{13:98,43:fe,53:ke,76:ge},{15:102,43:U,44:K},{10:103,43:x,51:V,53:F,54:Y,55:z},{17:104,18:[1,105],56:55,57:56,61:ie},s(u,[2,11]),{18:[2,64]},s(ce,[2,65],{59:106,60:107,63:108,65:je,66:qe}),s([18,61,65,66],[2,71]),{61:[2,70]},s(u,[2,21],{14:[1,112],16:[1,111]}),s([43,51,53,54,55],[2,76]),s(u,[2,40]),{12:ae,44:ne,48:113,49:67,51:oe,52:le},s(ue,[2,43]),s(ue,[2,44]),s(J,[2,50]),s(u,[2,46]),{10:115,20:[1,114],43:x,51:V,53:F,54:Y,55:z},s(We,[2,34]),s(u,[2,7]),s(u,[2,84]),s(u,[2,85]),s(u,[2,86]),{12:[1,116],45:Z},{12:[1,118],14:[1,117]},{18:[1,119]},s(u,[2,14]),s(ce,[2,66],{60:120,64:[1,121],66:qe}),s(ce,[2,67]),s(Ae,[2,72]),s(ce,[2,75]),s(Ae,[2,74]),{17:122,18:[1,123],56:55,57:56,61:ie},{15:124,43:U,44:K},s(Ze,[2,48],{49:94,12:ae,44:ne,51:oe,52:le}),{6:de,9:be,35:125,50:pe},s(We,[2,35]),{13:126,43:fe,53:ke,76:ge},{15:127,43:U,44:K},{13:128,43:fe,53:ke,76:ge},s(u,[2,12]),s(ce,[2,68]),{63:129,65:je},{18:[1,130]},s(u,[2,19]),s(u,[2,22],{16:[1,131],45:Z}),s(u,[2,33]),s(u,[2,10]),{12:[1,132],45:Z},s(u,[2,9]),s(Ae,[2,73]),s(u,[2,17]),{17:133,18:[1,134],56:55,57:56,61:ie},{13:135,43:fe,53:ke,76:ge},{18:[1,136]},s(u,[2,20]),s(u,[2,8]),s(u,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:t(function(o,c){if(c.recoverable)this.trace(o);else{var p=Error(o);throw p.hash=c,p}},"parseError"),parse:t(function(o){var c=this,p=[0],a=[],m=[null],e=[],he=this.table,r="",_e=0,Qe=0,Xe=0,rt=2,Je=1,at=e.slice.call(arguments,1),E=Object.create(this.lexer),W={yy:{}};for(var ve in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,ve))W.yy[ve]=this.yy[ve];if(E.setInput(o,W.yy),W.yy.lexer=E,W.yy.parser=this,typeof E.yylloc>"u")E.yylloc={};var Le=E.yylloc;e.push(Le);var nt=E.options&&E.options.ranges;if(typeof W.yy.parseError==="function")this.parseError=W.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function ot(L){p.length=p.length-2*L,m.length=m.length-L,e.length=e.length-L}t(ot,"popStack");function $e(){var L=a.pop()||E.lex()||Je;if(typeof L!=="number"){if(L instanceof Array)a=L,L=a.pop();L=c.symbols_[L]||L}return L}t($e,"lex");var A,we,Q,v,pt,Ve,ee={},me,B,et,Ee;while(!0){if(Q=p[p.length-1],this.defaultActions[Q])v=this.defaultActions[Q];else{if(A===null||typeof A>"u")A=$e();v=he[Q]&&he[Q][A]}if(typeof v>"u"||!v.length||!v[0]){var Be="";Ee=[];for(me in he[Q])if(this.terminals_[me]&&me>rt)Ee.push("'"+this.terminals_[me]+"'");if(E.showPosition)Be="Parse error on line "+(_e+1)+`:
2
+ `+E.showPosition()+`
3
+ Expecting `+Ee.join(", ")+", got '"+(this.terminals_[A]||A)+"'";else Be="Parse error on line "+(_e+1)+": Unexpected "+(A==Je?"end of input":"'"+(this.terminals_[A]||A)+"'");this.parseError(Be,{text:E.match,token:this.terminals_[A]||A,line:E.yylineno,loc:Le,expected:Ee})}if(v[0]instanceof Array&&v.length>1)throw Error("Parse Error: multiple actions possible at state: "+Q+", token: "+A);switch(v[0]){case 1:if(p.push(A),m.push(E.yytext),e.push(E.yylloc),p.push(v[1]),A=null,!we){if(Qe=E.yyleng,r=E.yytext,_e=E.yylineno,Le=E.yylloc,Xe>0)Xe--}else A=we,we=null;break;case 2:if(B=this.productions_[v[1]][1],ee.$=m[m.length-B],ee._$={first_line:e[e.length-(B||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(B||1)].first_column,last_column:e[e.length-1].last_column},nt)ee._$.range=[e[e.length-(B||1)].range[0],e[e.length-1].range[1]];if(Ve=this.performAction.apply(ee,[r,Qe,_e,W.yy,v[1],m,e].concat(at)),typeof Ve<"u")return Ve;if(B)p=p.slice(0,-1*B*2),m=m.slice(0,-1*B),e=e.slice(0,-1*B);p.push(this.productions_[v[1]][0]),m.push(ee.$),e.push(ee._$),et=he[p[p.length-2]][p[p.length-1]],p.push(et);break;case 3:return!0}}return!0},"parse")},it=function(){var j={EOF:1,parseError:t(function(c,p){if(this.yy.parser)this.yy.parser.parseError(c,p);else throw Error(c)},"parseError"),setInput:t(function(o,c){if(this.yy=c||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:t(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var c=o.match(/(?:\r\n?|\n).*/g);if(c)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),o},"input"),unput:t(function(o){var c=o.length,p=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-c),this.offset-=c;var a=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),p.length-1)this.yylineno-=p.length-1;var m=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:p?(p.length===a.length?this.yylloc.first_column:0)+a[a.length-p.length].length-p[0].length:this.yylloc.first_column-c},this.options.ranges)this.yylloc.range=[m[0],m[0]+this.yyleng-c];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(o){this.unput(this.match.slice(o))},"less"),pastInput:t(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var o=this.match;if(o.length<20)o+=this._input.substr(0,20-o.length);return(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var o=this.pastInput(),c=Array(o.length+1).join("-");return o+this.upcomingInput()+`
5
+ `+c+"^"},"showPosition"),test_match:t(function(o,c){var p,a,m;if(this.options.backtrack_lexer){if(m={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges)m.yylloc.range=this.yylloc.range.slice(0)}if(a=o[0].match(/(?:\r\n?|\n).*/g),a)this.yylineno+=a.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(o[0].length),this.matched+=o[0],p=this.performAction.call(this,this.yy,this,c,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(p)return p;else if(this._backtrack){for(var e in m)this[e]=m[e];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var o,c,p,a;if(!this._more)this.yytext="",this.match="";var m=this._currentRules();for(var e=0;e<m.length;e++)if(p=this._input.match(this.rules[m[e]]),p&&(!c||p[0].length>c[0].length)){if(c=p,a=e,this.options.backtrack_lexer)if(o=this.test_match(p,m[e]),o!==!1)return o;else if(this._backtrack){c=!1;continue}else return!1;else if(!this.options.flex)break}if(c){if(o=this.test_match(c,m[a]),o!==!1)return o;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var c=this.next();if(c)return c;else return this.lex()},"lex"),begin:t(function(c){this.conditionStack.push(c)},"begin"),popState:t(function(){var c=this.conditionStack.length-1;if(c>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(c){if(c=this.conditionStack.length-1-Math.abs(c||0),c>=0)return this.conditionStack[c];else return"INITIAL"},"topState"),pushState:t(function(c){this.begin(c)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(c,p,a,m){var e=m;switch(a){case 0:return this.begin("acc_title"),23;break;case 1:return this.popState(),"acc_title_value";break;case 2:return this.begin("acc_descr"),25;break;case 3:return this.popState(),"acc_descr_value";break;case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 37;case 8:return 38;case 9:return 39;case 10:return 40;case 11:break;case 12:return 9;case 13:return 53;case 14:return 76;case 15:return 4;case 16:return this.begin("block"),16;break;case 17:return 52;case 18:return 52;case 19:return 45;case 20:return 14;case 21:return 12;case 22:break;case 23:return 65;case 24:return 61;case 25:return 61;case 26:this.begin("block_bq");break;case 27:return 61;case 28:this.popState();break;case 29:return 66;case 30:break;case 31:return this.popState(),18;break;case 32:return p.yytext[0];case 33:return 19;case 34:return 20;case 35:return this.begin("style"),47;break;case 36:return this.popState(),9;break;case 37:break;case 38:return 12;case 39:return 45;case 40:return 52;case 41:return this.begin("style"),41;break;case 42:return 46;case 43:return 34;case 44:return 33;case 45:return 69;case 46:return 71;case 47:return 71;case 48:return 71;case 49:return 69;case 50:return 69;case 51:return 70;case 52:return 70;case 53:return 70;case 54:return 70;case 55:return 70;case 56:return 71;case 57:return 70;case 58:return 71;case 59:return 72;case 60:return 72;case 61:return 54;case 62:return 72;case 63:return 72;case 64:return 72;case 65:return 55;case 66:return 51;case 67:return 72;case 68:return 69;case 69:return 70;case 70:return 71;case 71:return 73;case 72:return 74;case 73:return 75;case 74:return 75;case 75:return 74;case 76:return 74;case 77:return 74;case 78:return 44;case 79:return 50;case 80:return 43;case 81:return p.yytext[0];case 82:return 6}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:[ \t\r]+)/i,/^(?:[\n]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:#)/i,/^(?:#)/i,/^(?:,)/i,/^(?::::)/i,/^(?::)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:([^\s]*)[~].*[~]([^\s]*))/i,/^(?:([\*A-Za-z_\u00C0-\uFFFF][A-Za-z0-9\-\_\[\]\(\)\.,\u00C0-\uFFFF\*]*))/i,/^(?:[`])/i,/^(?:[^`]+)/i,/^(?:[`])/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:style\b)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?::)/i,/^(?:,)/i,/^(?:#)/i,/^(?:classDef\b)/i,/^(?:class\b)/i,/^(?:subgraph\b)/i,/^(?:end\b\s*)/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:[0-9]+\.[0-9]+)/i,/^(?:1(?=\s+[A-Za-z_"']))/i,/^(?:1(?=\s+[0-9]))/i,/^(?:1(?=(--|\.\.|\.-|-\.)))/i,/^(?:1\b)/i,/^(?:[0-9]+)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:u(?=[\.\-\|]))/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:([^\x00-\x7F]|\w|-|\*)+)/i,/^(?:;)/i,/^(?:([^\x00-\x7F]|\w|-|\*|\.)+)/i,/^(?:.)/i,/^(?:$)/i],conditions:{style:{rules:[36,37,38,39,40,78,79],inclusive:!1},acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},block_bq:{rules:[27,28],inclusive:!1},block:{rules:[22,23,24,25,26,29,30,31,32],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,33,34,35,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,80,81,82],inclusive:!0}}};return j}();Re.lexer=it;function ye(){this.yy={}}return t(ye,"Parser"),ye.prototype=Re,Re.Parser=ye,new ye}();Ge.parser=Ge;var lt=Ge,ct=class{constructor(){this.entities=new Map,this.relationships=[],this.classes=new Map,this.subgraphDepth=0,this.subGraphs=[],this.subGraphLookup=new Map,this.subCount=0,this.direction="TB",this.Cardinality={ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE",MD_PARENT:"MD_PARENT"},this.Identification={NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},this.setAccTitle=M,this.getAccTitle=P,this.setAccDescription=R,this.getAccDescription=I,this.setDiagramTitle=O,this.getDiagramTitle=D,this.getConfig=t(()=>d().er,"getConfig"),this.clear(),this.addEntity=this.addEntity.bind(this),this.addAttributes=this.addAttributes.bind(this),this.addRelationship=this.addRelationship.bind(this),this.setDirection=this.setDirection.bind(this),this.addCssStyles=this.addCssStyles.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.setAccTitle=this.setAccTitle.bind(this),this.setAccDescription=this.setAccDescription.bind(this),this.addSubGraph=this.addSubGraph.bind(this)}static{t(this,"ErDB")}addEntity(s,l=""){if(!this.entities.has(s))this.entities.set(s,{id:`entity-${s}-${this.entities.size}`,label:s,attributes:[],alias:l,shape:"erBox",look:d().look??"default",cssClasses:"default",cssStyles:[],labelType:"markdown"}),i.info("Added new entity :",s);else if(!this.entities.get(s)?.alias&&l)this.entities.get(s).alias=l,i.info(`Add alias '${l}' to entity '${s}'`);return this.entities.get(s)}getEntity(s){return this.entities.get(s)}getEntities(){return this.entities}getClasses(){return this.classes}addAttributes(s,l){let b=this.addEntity(s),n;for(n=l.length-1;n>=0;n--){if(!l[n].keys)l[n].keys=[];if(!l[n].comment)l[n].comment="";b.attributes.push(l[n]),i.debug("Added attribute ",l[n].name)}}addRelationship(s,l,b,n){let h;if(this.subGraphLookup.has(s))h=s;else{let y=this.addEntity(s);if(!y)return;h=y.id}let k;if(this.subGraphLookup.has(b))k=b;else{let y=this.addEntity(b);if(!y)return;k=y.id}let S={entityA:h,roleA:l,entityB:k,relSpec:n};this.relationships.push(S),i.debug("Added new relationship :",S)}getRelationships(){return this.relationships}getDirection(){return this.direction}setDirection(s){this.direction=s}getCompiledStyles(s){let l=[];for(let b of s){let n=this.classes.get(b);if(n?.styles)l=[...l,...n.styles??[]].map((h)=>h.trim());if(n?.textStyles)l=[...l,...n.textStyles??[]].map((h)=>h.trim())}return l}addCssStyles(s,l){for(let b of s){let n=this.entities.get(b),h=this.subGraphLookup.get(b);if(!l)continue;if(n)for(let k of l)n.cssStyles.push(k);if(h){if(!h.cssStyles)h.cssStyles=[];for(let k of l)h.cssStyles.push(k)}}}addClass(s,l){s.forEach((b)=>{let n=this.classes.get(b);if(n===void 0)n={id:b,styles:[],textStyles:[]},this.classes.set(b,n);if(l)l.forEach(function(h){if(/color/.exec(h)){let k=h.replace("fill","bgFill");n.textStyles.push(k)}n.styles.push(h)})})}addSubGraph(s,l,b){let n=s.text.trim(),h=b.text,S=t((_)=>{let w=new Set,q;return{nodeList:_.filter((x)=>{if(x?.stmt){if(x.stmt==="dir")q=x.value;return!1}if(typeof x!=="string")return!1;let G=x.trim();if(!G)return!1;if(w.has(G))return!1;return w.add(G),!0}),dir:q}},"uniq")(l.flat()),{nodeList:y,dir:T}=S;n=n??"subGraph"+this.subCount,h=h||"",h=this.sanitizeText(h),this.subCount=this.subCount+1;let f={id:n,nodes:y,title:h.trim(),classes:[],cssStyles:[],dir:T,labelType:this.sanitizeNodeLabelType(b?.type)};return i.info("Adding",f.id,f.nodes,f.dir),f.nodes=this.makeUniq(f,this.subGraphs).nodes,this.subGraphs.push(f),this.subGraphLookup.set(n,f),n}getSubGraphs(){return this.subGraphs}setClass(s,l){for(let b of s){let n=this.entities.get(b);if(n)for(let k of l)n.cssClasses+=" "+k;let h=this.subGraphLookup.get(b);if(h)for(let k of l)h.classes.push(k)}}subgraphNodeCache(s){let l=new Set;for(let b of s)for(let n of b.nodes)l.add(n);return l}makeUniq(s,l){let b=this.subgraphNodeCache(l),n=[];return s.nodes.forEach((h,k)=>{if(b.has(h))i.warn(`Entity '${h}' already belongs to another subgraph and will be ignored`);else n.push(s.nodes[k])}),{nodes:n}}sanitizeText(s){return C.sanitizeText(s,d())}sanitizeNodeLabelType(s){switch(s){case"markdown":case"string":case"text":return s;default:return"markdown"}}clear(){this.entities=new Map,this.classes=new Map,this.relationships=[],this.subGraphs=[],this.subGraphLookup=new Map,this.subCount=0,this.subgraphDepth=0,N()}getData(){let s=[],l=[],b=d(),n=this.getSubGraphs(),h=new Map,k=new Map;for(let f=n.length-1;f>=0;f--){let _=n[f];if(_.nodes.length>0)k.set(_.id,!0);for(let w of _.nodes)h.set(w,_.id)}for(let f=n.length-1;f>=0;f--){let _=n[f];s.push({id:_.id,label:_.title,labelStyle:"",labelType:_.labelType,parentId:h.get(_.id),padding:8,cssCompiledStyles:this.getCompiledStyles(_.classes),cssStyles:_.cssStyles,cssClasses:_.classes.join(" "),shape:"rect",dir:_.dir,isGroup:!0,look:b.look})}let S=new Set(n.map((f)=>f.id)),y=0;for(let f of this.entities.keys()){if(S.has(f))continue;let _=this.entities.get(f);if(_)_.cssCompiledStyles=this.getCompiledStyles(_.cssClasses.split(" ")),_.colorIndex=y++,s.push({..._,parentId:h.get(f),isGroup:!1})}let T=0;for(let f of this.relationships){let _={id:St(f.entityA,f.entityB,{prefix:"id",counter:T++}),type:"normal",curve:"basis",start:f.entityA,end:f.entityB,label:f.roleA,labelpos:"c",thickness:"normal",classes:"relationshipLine",arrowTypeStart:f.relSpec.cardB.toLowerCase(),arrowTypeEnd:f.relSpec.cardA.toLowerCase(),pattern:f.relSpec.relType=="IDENTIFYING"?"solid":"dashed",look:b.look,labelType:"markdown"};l.push(_)}return{nodes:s,edges:l,other:{},config:b,direction:this.direction}}},st={};ar(st,{draw:()=>ht});var ht=t(async function(s,l,b,n){i.info("REF0:"),i.info("Drawing er diagram (unified)",l);let{securityLevel:h,er:k,layout:S}=d(),y=n.db.getData(),T=ze(l,h);y.type=n.type,y.layoutAlgorithm=Ue(S),y.config.flowchart.nodeSpacing=k?.nodeSpacing||140,y.config.flowchart.rankSpacing=k?.rankSpacing||80,y.direction=n.db.getDirection();let{config:f}=y,{look:_}=f;if(_==="neo")y.markers=["only_one_neo","zero_or_one_neo","one_or_more_neo","zero_or_more_neo"];else y.markers=["only_one","zero_or_one","one_or_more","zero_or_more"];y.diagramId=l,await He(y,T);let w=T.selectAll('[id*="-background"]');if(Array.from(w).length>0)w.each(function(){let X=g(this),G=X.attr("id").replace("-background",""),te=T.select(`#${CSS.escape(G)}`);if(!te.empty()){let V=te.attr("transform");X.attr("transform",V)}});let q=8;H.insertTitle(T,"erDiagramTitleText",k?.titleTopMargin??25,n.db.getDiagramTitle()),Pe(T,q,"erDiagram",k?.useMaxWidth??!0)},"draw"),tt=t((s,l)=>{let b=Bn,n=b(s,"r"),h=b(s,"g"),k=b(s,"b");return Ie(n,h,k,l)},"fade"),ut=t((s)=>{let{theme:l,bkgColorArray:b,borderColorArray:n}=s;if(!Ne(l,n))return"";let h=Me(s.look),k=De(b),S="";for(let y=0;y<fn(n);y++){let T=n[y],f=k?`fill: ${b[y%b.length]};`:"";S+=`
7
+
8
+ [data-look="${h}"][data-color-id="color-${y}"].node path {
9
+ stroke: ${T};
10
+ ${f}
11
+ }
12
+
13
+ [data-look="${h}"][data-color-id="color-${y}"].node rect {
14
+ stroke: ${T};
15
+ ${f}
16
+ }
17
+ `}return S},"genColor"),dt=t((s)=>{let{look:l,theme:b,erEdgeLabelBackground:n,strokeWidth:h}=s;return`
18
+ ${ut(s)}
19
+ .entityBox {
20
+ fill: ${s.mainBkg};
21
+ stroke: ${s.nodeBorder};
22
+ }
23
+
24
+ .relationshipLabelBox {
25
+ fill: ${s.tertiaryColor};
26
+ opacity: 0.7;
27
+ background-color: ${s.tertiaryColor};
28
+ rect {
29
+ opacity: 0.5;
30
+ }
31
+ }
32
+
33
+ .labelBkg {
34
+ background-color: ${zi.has(b)&&n?n:tt(s.tertiaryColor,0.5)};
35
+ }
36
+
37
+ .edgeLabel {
38
+ background-color: ${zi.has(b)&&n?n:s.edgeLabelBackground};
39
+ }
40
+ .edgeLabel .label rect {
41
+ fill: ${zi.has(b)&&n?n:s.edgeLabelBackground};
42
+ }
43
+ .edgeLabel .label text {
44
+ fill: ${s.textColor};
45
+ }
46
+
47
+ .edgeLabel .label {
48
+ fill: ${s.nodeBorder};
49
+ font-size: 14px;
50
+ }
51
+
52
+ .label {
53
+ font-family: ${s.fontFamily};
54
+ color: ${s.nodeTextColor||s.textColor};
55
+ }
56
+
57
+ .edge-pattern-dashed {
58
+ stroke-dasharray: 8,8;
59
+ }
60
+
61
+ .node rect,
62
+ .node circle,
63
+ .node ellipse,
64
+ .node polygon
65
+ {
66
+ fill: ${s.mainBkg};
67
+ stroke: ${s.nodeBorder};
68
+ stroke-width: ${l==="neo"?h:"1px"};
69
+ }
70
+
71
+ .relationshipLine {
72
+ stroke: ${s.lineColor};
73
+ stroke-width: ${l==="neo"?h:"1px"};
74
+ fill: none;
75
+ }
76
+
77
+ .marker {
78
+ fill: none !important;
79
+ stroke: ${s.lineColor} !important;
80
+ stroke-width: 1;
81
+ }
82
+ [data-look=neo].labelBkg {
83
+ background-color: ${tt(s.tertiaryColor,0.5)};
84
+ }
85
+
86
+ .cluster rect {
87
+ fill: ${s.clusterBkg??s.mainBkg};
88
+ stroke: ${s.clusterBorder??s.nodeBorder};
89
+ stroke-width: 1px;
90
+ }
91
+
92
+ .cluster text {
93
+ fill: ${s.titleColor??s.textColor};
94
+ }
95
+
96
+ .cluster-label text {
97
+ fill: ${s.titleColor??s.textColor};
98
+ }
99
+ `},"getStyles"),bt=dt,wt={parser:lt,get db(){return new ct},renderer:st,styles:bt};export{wt as diagram};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{Ds}from"./chunk-wh028xj6.js";export{Ds as createPacketServices};
@@ -0,0 +1,2 @@
1
+ �#�import{Ds}from"./chunk-wh028xj6.js";export{Ds as createPacketServices};
2
+ 
Binary file
@@ -0,0 +1,4 @@
1
+ import{V,jn,s,w,o,a,m,e,n,b,Q,rs,as,is,Uc,cc,pi,qi,jc,lc,qc,ui,Vi,os,ss}from"./chunk-ev6xj0qs.js";import{yr}from"./chunk-1fp0r6da.js";var L={sealed:"已封存",folded:"已折叠",archived:"已移出"};function O(t,l){if(t.startsWith("recent-"))return"json";let c=l.trimStart();if(!c)return"markdown";if(c.startsWith("{")||c.startsWith("["))return"json";if(/^<[a-zA-Z_][\w.-]*(?:\s+[^>]*)?>/.test(c))return"xml";return"markdown"}function U(t){if(!t||t.length>32000)return t;if(!t.trimStart().startsWith("<"))return t;let c=[],r=0,i=(p)=>" ".repeat(p),d=/(<([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(d)){let[,f,,,g,x,y,v]=p;if(f)c.push(`${i(r)}${f.trim()}`);else if(g)r=Math.max(0,r-1),c.push(`${i(r)}${g.trim()}`);else if(y)c.push(`${i(r)}${y.trim()}`),r++;else if(x)c.push(`${i(r)}${x.trim()}`);else if(v){let u=v.trim();if(u)for(let C of u.split(/\r?\n/)){let N=C.trim();if(N)c.push(`${i(r)}${N}`)}}}return c.length>0?c.join(`
2
+ `):t}function I(){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 k(t){let{style:l}=b();return e("p",{className:l("surface.empty"),children:t.children})}function E(t){let{Chevron:l,Collapsible:c,CollapsibleContent:r,CollapsibleTrigger:i,style:d}=b(),[p,f]=a(!1),[g,x]=a(!1);return n(c,{open:p,onOpenChange:(y)=>jn(()=>{if(f(y),y)x(!0)}),className:d("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}=b();return e(l,{code:t.code,lang:t.lang,className:"text-2xs! leading-relaxed! [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_pre]:[overflow-wrap:anywhere]"})}function A(t){let{cn:l}=b(),c=t.items.filter((i)=>i.state!=="archived");if(!c.length)return e(k,{children:"当前没有上下文内容。"});let r=c.reduce((i,d)=>i+d.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:c.map((i)=>e("span",{className:l(rs[as(i)].color,"transition-[width] duration-300 ease-out-quint"),title:`${i.label}:${i.tokens.toLocaleString()} token`,style:{width:`${i.tokens/r*100}%`}},i.id))}),e("div",{className:"flex flex-wrap gap-x-3 gap-y-1 text-2xs text-dim",children:Object.entries(rs).filter(([i])=>c.some((d)=>as(d)===i)).map(([i,d])=>n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:l("size-2 rounded-full",d.color),"aria-hidden":!0}),d.label]},i))}),e("div",{className:"space-y-1.5",children:c.map((i)=>e(te,{item:i,total:r,color:rs[as(i)].color},i.id))})]})}function te(t){let{cn:l,style:c,useTheme:r}=b();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:c("control.badge","text-3xs"),children:L[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-2xs tabular-nums text-faint",children:[i,"%"]})]}),children:e(ae,{item:t.item,percent:i,color:t.color})})}function ae(t){let{cn:l,CopyButton:c,style:r,useTheme:i}=b();i();let d=t.item.detail,p=w(()=>d?O(t.item.id,d):"markdown",[d,t.item.id]),f=w(()=>{if(!d)return"";return p==="xml"?U(d):d},[d,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(c,{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,se={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 q(t){let{Button:l,CopyButton:c,style:r,useTheme:i}=b();i();let[d,p]=a(M),f=o(null),g=w(()=>t.entries.filter((v)=>!(v.type==="extension"&&v.namespace==="session"&&v.kind==="request_budget")),[t.entries]),x=d<g.length;s(()=>{let v=f.current;if(!v||!x||typeof IntersectionObserver>"u")return;let u=new IntersectionObserver((C)=>{if(C.some((N)=>N.isIntersecting))p((N)=>Math.min(g.length,N+M))},{rootMargin:"480px"});return u.observe(v),()=>u.disconnect()},[x,g.length]);let y=w(()=>g.slice(-d).reverse(),[g,d]);if(!g.length)return e(k,{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(c,{text:()=>t.entries.map((v)=>JSON.stringify(v,null,2)).join(`
3
+
4
+ `),size:"icon-xs",label:"复制全部原始 JSON",className:"hover:bg-raised text-faint hover:text-ink"})]}),y.map((v)=>e(ne,{entry:v},v.seq)),x&&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:["已显示 ",y.length," / ",g.length," 条"]}),n("div",{className:"flex items-center gap-1.5",children:[e(l,{size:"sm",variant:"ghost",onClick:()=>p((v)=>Math.min(g.length,v+M)),children:"加载更多"}),e(l,{size:"sm",variant:"ghost",onClick:()=>p(g.length),children:"显示全部"})]})]})]})}var ne=V(function(l){let{CopyButton:c,style:r,useTheme:i}=b();i();let d=jc(l.entry),p=w(()=>Uc(l.entry.time),[l.entry.time]);return e(E,{header:n(m,{children:[n("span",{className:"shrink-0 font-mono text-2xs tabular-nums text-faint",children:["#",l.entry.seq]}),e("span",{className:r("control.badge","shrink-0 font-medium text-3xs",se[d.tone]),children:d.badge}),e("span",{className:"min-w-0 flex-1 truncate text-ink",children:d.title}),d.meta&&e("span",{className:r("control.badge","shrink-0 font-mono text-3xs text-faint"),children:d.meta}),e("span",{className:"shrink-0 font-mono text-2xs tabular-nums text-faint",children:p})]}),children:n("div",{className:"space-y-2",children:[n("div",{className:"flex items-center justify-between text-2xs text-faint",children:[n("span",{className:"font-mono",children:[l.entry.type," · #",l.entry.seq]}),e(c,{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(oe,{entry:l.entry})]})})});function oe(t){let{style:l,useTheme:c}=b();c();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:pi(r.text)}),r.attachments&&r.attachments.length>0&&n("div",{className:"space-y-1",children:[n("div",{className:"text-2xs font-medium text-faint",children:["附件(",r.attachments.length,")"]}),e("div",{className:"flex flex-wrap gap-1.5",children:r.attachments.map((i,d)=>{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-2xs"),children:[e("span",{className:l("control.badge","text-3xs 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-3xs text-faint",children:[i.mimeType," · ",cc(p)]})]},`${i.name}-${d}`)})})]}),r.notices&&r.notices.length>0&&n("div",{className:"space-y-1",children:[n("div",{className:"text-2xs 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-2xs"),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-2xs 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,d)=>{if(i.type==="thinking")return n("div",{className:l("surface.subtle","p-2.5 space-y-1"),children:[e("div",{className:"text-2xs 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:pi(i.text)})]},`thinking-${d}`);if(i.type==="text")return n("div",{className:l("surface.subtle","p-2.5 space-y-1"),children:[e("div",{className:"text-2xs 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:pi(i.text)})]},`text-${d}`);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-2xs",children:[n("span",{className:"font-mono font-medium text-ink",children:["工具调用 · ",i.name]}),e("span",{className:"truncate font-mono text-3xs text-faint",children:i.id})]}),e("div",{className:"max-h-60 overflow-y-auto text-dim",children:e(R,{code:qi(JSON.stringify(i.input,lc,2)),lang:"json"})})]},i.id||`tool-${d}`)})]});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-2xs 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-3xs",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,d)=>n("span",{className:l("surface.subtle","px-2 py-1 font-mono text-2xs text-faint"),children:["图片 #",d+1," · ",i.mimeType," · ",cc(Math.floor(i.data.length*0.75))]},`${i.mimeType}-${d}`))}),is(r.output)?e("pre",{className:l("surface.subtle","max-h-72 overflow-y-auto p-2.5 font-mono text-2xs leading-relaxed whitespace-pre-wrap break-words [overflow-wrap:anywhere]",r.isError?"text-danger":"text-dim"),children:pi(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-2xs leading-relaxed text-dim whitespace-pre-wrap break-words [overflow-wrap:anywhere]"),children:qc(r)})}function F(t){let{cn:l,style:c,useTheme:r}=b();if(r(),!t.todos.length)return e(k,{children:"暂无待办。"});return e("ul",{className:"space-y-1.5",children:t.todos.map((i)=>n("li",{className:c("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(Q,{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 H(t){let{cn:l,style:c,useTheme:r}=b();r();let[i,d]=a("all"),p=w(()=>t.tools.filter((x)=>x.deferred).length,[t.tools]),f=t.tools.length-p,g=w(()=>{if(i==="deferred")return t.tools.filter((x)=>x.deferred);if(i==="active")return t.tools.filter((x)=>!x.deferred);return t.tools},[t.tools,i]);if(!t.tools.length)return e(k,{children:"当前会话没有可用工具。"});return n("div",{className:"space-y-2",children:[p>0&&n("div",{className:"flex items-center gap-1 text-2xs",children:[n("button",{type:"button",onClick:()=>d("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:()=>d("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:()=>d("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((x)=>e(ie,{tool:x},`${x.group}-${x.name}`))})]})}function ie(t){let{style:l,useTheme:c}=b();return c(),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-3xs"),children:t.tool.group}),t.tool.deferred&&e("span",{className:l("control.badge","font-sans text-3xs"),children:"延迟加载"})]}),children:e(re,{tool:t.tool})})}function re(t){let{CopyButton:l,style:c,useTheme:r}=b();r();let i=w(()=>JSON.stringify(t.tool.schema,null,2),[t.tool.schema]);return n(m,{children:[t.tool.deferred&&e("div",{className:c("surface.subtle","mb-2 px-2.5 py-1.5 text-2xs 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:qi(t.tool.description)}),n("div",{className:c("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:qi(i),lang:"json"})})]})]})}function le(){try{let t=localStorage.getItem("basalt.contextSidebar.tab");if(t==="tools"||t==="todos"||t==="raw")return t}catch{}return"breakdown"}function ce(t){let{style:l,useTheme:c}=b();return c(),n("div",{className:l("surface.panel","bg-panel/70 px-3 py-2"),children:[e("div",{className:"text-3xs 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 Ze(t){let{Button:l,StatusChip:c,Segmented:r,cn:i,style:d,useTheme:p}=b();p();let[f,g]=a(le),x=ss({connection:t.connection,sessionID:t.session.id}),[y,v]=a(),u=x.snapshot??y,[C,N]=a(!1),[z,B]=a(!1),[_,P]=a(()=>crypto.randomUUID()),[J,Z]=a(!1);s(()=>{let h=setTimeout(()=>jn(()=>Z(!0)),140);return()=>clearTimeout(h)},[]),s(()=>{if(t.session.id)v(void 0)},[t.session.id]),s(()=>{let h=!0;return N(!1),B(!0),os(t.connection,t.session.id,`inspect:${_}`).then((D)=>{if(h)B(!1),jn(()=>v(D))},()=>{if(h)B(!1),N(!0)}),()=>{h=!1}},[t.connection,t.session.id,_]);let S=ui(u?.items??[],u?.usableWindow,u?.calibratedTokens,u?.lastInputTokens,u?.hasPendingOutput),T=Vi(S.percent),W=u?.lastCacheHitRate,j=u?.usage?.cacheHitRate,K=W===void 0?"—":`${(W*100).toFixed(1)}%`,X=j===void 0?"—":`${(j*100).toFixed(1)}%`,G=(h)=>{g(h);try{localStorage.setItem("basalt.contextSidebar.tab",h)}catch{}},Y=[{value:"breakdown",label:"构成"},{value:"tools",label:n("span",{className:"inline-flex items-center gap-1",children:["工具",u&&e("span",{className:"text-3xs text-faint tabular-nums",children:u.tools.length})]})},{value:"todos",label:n("span",{className:"inline-flex items-center gap-1",children:["待办",t.session.todos.length>0&&e("span",{className:"text-3xs text-faint tabular-nums",children:t.session.todos.length})]})},{value:"raw",label:"原始消息"}],ee=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-2xs font-medium uppercase tracking-wider text-faint",role:"status",children:z?"正在计算上下文":"预计下次输入"}),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:u?S.totalTokens.toLocaleString():"—"}),n("span",{className:"font-mono text-xs text-dim",children:["/ ",u?.usableWindow.toLocaleString()??"—"]})]})]}),e(c,{tone:T==="overflow"||T==="near_limit"?"danger":T==="sealing"?"warning":"success",children:T==="overflow"?"预计超限":T==="near_limit"?"接近上限":T==="sealing"?"接近封存":"正常"})]}),S.percent!==null&&e("meter",{className:"sr-only","aria-label":"可用上下文窗口占比",min:0,max:100,value:Math.min(100,S.percent)}),e("div",{"aria-hidden":!0,className:i("relative mt-2.5 h-2 w-full overflow-hidden rounded-full bg-raised",!u&&"animate-pulse"),children:e("div",{className:"h-full rounded-full bg-accent transition-[width] duration-500 ease-out-quint",style:{width:`${Math.min(100,S.percent??0)}%`}})}),n("div",{className:"mt-2 flex items-center justify-between text-2xs",children:[e("span",{className:"text-dim",children:S.percent===null?"暂无窗口数据":`${S.percent.toFixed(1)}% 可用窗口`}),n("span",{className:"text-faint",children:["总窗口 ",u?.contextWindow.toLocaleString()??"—"," · 80% 封存 · 97% 折叠"]})]}),n("div",{className:"mt-3 flex items-center justify-between gap-2 text-2xs",title:"最近实际发往模型的请求体大小(UTF-8 字节,图片优化后,不含 HTTP 头);重启后需重新发送请求才有记录。",children:[e("span",{className:"text-dim",children:"最近请求体"}),e("span",{className:"font-mono font-semibold tabular-nums text-ink",children:u?.lastRequestBodyBytes===void 0?"—":yr(u.lastRequestBodyBytes)})]}),n("div",{className:"mt-2 flex items-center justify-between gap-2 text-2xs",children:[e("span",{className:"text-dim",children:"最近实际输入"}),n("span",{className:"font-mono tabular-nums text-ink",children:[u?.lastInputTokens?.toLocaleString()??"—"," tokens"]})]}),u?.usage&&(u.usage.input>0||u.usage.output>0||u.usage.cacheRead>0||u.usage.cacheWrite>0||u.usage.cost>0)&&e("div",{className:"mt-3 grid grid-cols-2 gap-2",children:[["Input",u.usage.input.toLocaleString()],["Output",u.usage.output.toLocaleString()],["缓存命中 当前 / 平均",`${K} / ${X}`],["平均 TPS",u.usage.tps!==void 0?`${u.usage.tps.toFixed(1)} tok/s`:"—"]].map(([h,D])=>e(ce,{label:h,value:D},h))})]});return n(m,{children:[ee,e("div",{className:"flex justify-end px-3",children:e(l,{size:"sm",variant:"ghost",disabled:z,onClick:()=>P(crypto.randomUUID()),children:z?"加载明细…":"刷新明细"})}),e("div",{className:"px-3 py-2",children:e(r,{value:f,onChange:G,options:Y,className:"w-full grid grid-cols-4"})}),n("div",{className:"min-h-0 flex-1 overflow-y-auto px-3 py-3",children:[C&&!u&&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:()=>P(crypto.randomUUID()),children:"重试"})]}),e("div",{children:!J?e(I,{}):n(m,{children:[f==="raw"&&e(q,{entries:t.entries}),f==="todos"&&e(F,{todos:t.session.todos}),f==="breakdown"&&(y?e(A,{items:ui(y.items,y.usableWindow).items}):!C?e(I,{}):null),f==="tools"&&(y?e(H,{tools:y.tools}):!C?e(I,{}):null)]})},f)]})]})}export{Ze as ContextSidebar};
Binary file
Binary file
@@ -0,0 +1,41 @@
1
+ import{ae}from"./chunk-5v7dyp6t.js";import{t,i,Qe,F,A,W,N,M,P,R,I,O,D,J,Z}from"./chunk-9hkz2jgq.js";import{fe}from"./chunk-wh028xj6.js";var h={showLegend:!0,ticks:5,max:null,min:0,graticule:"circle"},C=32,b={axes:[],curves:[],options:h},x=structuredClone(b),G=F.radar,B=t(()=>Z({...G,...A().radar}),"getConfig"),L=t(()=>x.axes,"getAxes"),V=t(()=>x.curves,"getCurves"),H=t(()=>x.options,"getOptions"),j=t((r)=>{x.axes=r.map((e)=>({name:e.name,label:e.label??e.name}))},"setAxes"),U=t((r)=>{x.curves=r.map((e)=>({name:e.name,label:e.label??e.name,entries:X(e.entries)}))},"setCurves"),X=t((r)=>{if(r[0].axis==null)return r.map((a)=>a.value);let e=L();if(e.length===0)throw Error("Axes must be populated before curves for reference entries");return e.map((a)=>{let n=r.find((s)=>s.axis?.$refText===a.name);if(n===void 0)throw Error("Missing entry for axis "+a.label);return n.value})},"computeCurveEntries"),K=t((r)=>{let e=r.reduce((a,n)=>(a[n.name]=n,a),{});if(x.options={showLegend:e.showLegend?.value??h.showLegend,ticks:e.ticks?.value??h.ticks,max:e.max?.value??h.max,min:e.min?.value??h.min,graticule:e.graticule?.value??h.graticule},x.options.ticks>C)i.warn(`Radar diagram ticks (${x.options.ticks}) exceeds maximum allowed (${C}). Using ${C} instead.`),x.options.ticks=C},"setOptions"),Y=t(()=>{N(),x=structuredClone(b)},"clear"),y={getAxes:L,getCurves:V,getOptions:H,setAxes:j,setCurves:U,setOptions:K,getConfig:B,clear:Y,setAccTitle:M,getAccTitle:P,setDiagramTitle:O,getDiagramTitle:D,getAccDescription:I,setAccDescription:R},q=t((r)=>{ae(r,y);let{axes:e,curves:a,options:n}=r;y.setAxes(e),y.setCurves(a),y.setOptions(n)},"populate"),Q={parse:t(async(r)=>{let e=await fe("radar",r);i.debug(e),q(e)},"parse")},tt=t((r,e,a,n)=>{let s=n.db,c=s.getAxes(),d=s.getCurves(),o=s.getOptions(),l=s.getConfig(),u=s.getDiagramTitle(),m=J(e),p=et(m,l),g=o.max??Math.max(...d.map((w)=>Math.max(...w.entries))),v=o.min,f=Math.min(l.width,l.height)/2;at(p,c,f,o.ticks,o.graticule),rt(p,c,f,l),T(p,c,d,v,g,o.graticule,l),_(p,d,o.showLegend,l),p.append("text").attr("class","radarTitle").text(u).attr("x",0).attr("y",-l.height/2-l.marginTop)},"draw"),et=t((r,e)=>{let a=e.width+e.marginLeft+e.marginRight,n=e.height+e.marginTop+e.marginBottom,s={x:e.marginLeft+e.width/2,y:e.marginTop+e.height/2};return W(r,n,a,e.useMaxWidth??!0),r.attr("viewBox",`0 0 ${a} ${n}`).attr("overflow","visible"),r.append("g").attr("transform",`translate(${s.x}, ${s.y})`)},"drawFrame"),at=t((r,e,a,n,s)=>{if(s==="circle")for(let c=0;c<n;c++){let d=a*(c+1)/n;r.append("circle").attr("r",d).attr("class","radarGraticule")}else if(s==="polygon"){let c=e.length;for(let d=0;d<n;d++){let o=a*(d+1)/n,l=e.map((u,m)=>{let p=2*m*Math.PI/c-Math.PI/2,g=o*Math.cos(p),v=o*Math.sin(p);return`${g},${v}`}).join(" ");r.append("polygon").attr("points",l).attr("class","radarGraticule")}}},"drawGraticule"),rt=t((r,e,a,n)=>{let s=e.length;for(let c=0;c<s;c++){let d=e[c].label,o=2*c*Math.PI/s-Math.PI/2,l=Math.cos(o),u=Math.sin(o);r.append("line").attr("x1",0).attr("y1",0).attr("x2",a*n.axisScaleFactor*l).attr("y2",a*n.axisScaleFactor*u).attr("class","radarAxisLine");let m=l>0.01?"start":l<-0.01?"end":"middle",p=u>0.01?"hanging":u<-0.01?"auto":"central",g=4;r.append("text").text(d).attr("x",a*n.axisLabelFactor*l+g*l).attr("y",a*n.axisLabelFactor*u+g*u).attr("text-anchor",m).attr("dominant-baseline",p).attr("class","radarAxisLabel")}},"drawAxes");function T(r,e,a,n,s,c,d){let o=e.length,l=Math.min(d.width,d.height)/2;a.forEach((u,m)=>{if(u.entries.length!==o)return;let p=u.entries.map((g,v)=>{let f=2*Math.PI*v/o-Math.PI/2,w=S(g,n,s,l),E=w*Math.cos(f),z=w*Math.sin(f);return{x:E,y:z}});if(c==="circle")r.append("path").attr("d",k(p,d.curveTension)).attr("class",`radarCurve-${m}`);else if(c==="polygon")r.append("polygon").attr("points",p.map((g)=>`${g.x},${g.y}`).join(" ")).attr("class",`radarCurve-${m}`)})}t(T,"drawCurves");function S(r,e,a,n){let s=Math.min(Math.max(r,e),a);return n*(s-e)/(a-e)}t(S,"relativeRadius");function k(r,e){let a=r.length,n=`M${r[0].x},${r[0].y}`;for(let s=0;s<a;s++){let c=r[(s-1+a)%a],d=r[s],o=r[(s+1)%a],l=r[(s+2)%a],u={x:d.x+(o.x-c.x)*e,y:d.y+(o.y-c.y)*e},m={x:o.x-(l.x-d.x)*e,y:o.y-(l.y-d.y)*e};n+=` C${u.x},${u.y} ${m.x},${m.y} ${o.x},${o.y}`}return`${n} Z`}t(k,"closedRoundCurve");function _(r,e,a,n){if(!a)return;let s=(n.width/2+n.marginRight)*3/4,c=-(n.height/2+n.marginTop)*3/4,d=20;e.forEach((o,l)=>{let u=r.append("g").attr("transform",`translate(${s}, ${c+l*d})`);u.append("rect").attr("width",12).attr("height",12).attr("class",`radarLegendBox-${l}`),u.append("text").attr("x",16).attr("y",0).attr("class","radarLegendText").text(o.label)})}t(_,"drawLegend");var nt={draw:tt},st=t((r,e)=>{let a="";for(let n=0;n<r.THEME_COLOR_LIMIT;n++){let s=r[`cScale${n}`];a+=`
2
+ .radarCurve-${n} {
3
+ color: ${s};
4
+ fill: ${s};
5
+ fill-opacity: ${e.curveOpacity};
6
+ stroke: ${s};
7
+ stroke-width: ${e.curveStrokeWidth};
8
+ }
9
+ .radarLegendBox-${n} {
10
+ fill: ${s};
11
+ fill-opacity: ${e.curveOpacity};
12
+ stroke: ${s};
13
+ }
14
+ `}return a},"genIndexStyles"),ot=t((r)=>{let e=Qe(),a=A(),n=Z(e,a.themeVariables),s=Z(n.radar,r);return{themeVariables:n,radarOptions:s}},"buildRadarStyleOptions"),it=t(({radar:r}={})=>{let{themeVariables:e,radarOptions:a}=ot(r);return`
15
+ .radarTitle {
16
+ font-size: ${e.fontSize};
17
+ color: ${e.titleColor};
18
+ dominant-baseline: hanging;
19
+ text-anchor: middle;
20
+ }
21
+ .radarAxisLine {
22
+ stroke: ${a.axisColor};
23
+ stroke-width: ${a.axisStrokeWidth};
24
+ }
25
+ .radarAxisLabel {
26
+ font-size: ${a.axisLabelFontSize}px;
27
+ color: ${a.axisColor};
28
+ }
29
+ .radarGraticule {
30
+ fill: ${a.graticuleColor};
31
+ fill-opacity: ${a.graticuleOpacity};
32
+ stroke: ${a.graticuleColor};
33
+ stroke-width: ${a.graticuleStrokeWidth};
34
+ }
35
+ .radarLegendText {
36
+ text-anchor: start;
37
+ font-size: ${a.legendFontSize}px;
38
+ dominant-baseline: hanging;
39
+ }
40
+ ${st(e,a)}
41
+ `},"styles"),xt={parser:Q,db:y,renderer:nt,styles:it};export{xt as diagram};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{Fs}from"./chunk-wh028xj6.js";export{Fs as createEventModelingServices};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{t,i}from"./chunk-9hkz2jgq.js";import{he,Rn,Pn}from"./chunk-wydnkdtp.js";import{ae}from"./chunk-5v7dyp6t.js";import{Ra,wn}from"./chunk-wh028xj6.js";var o=Ra().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,he),e.title)he.setTitle(e.title);e.rules.map((r)=>he.addRule(l(r)))},"populateDb"),m={parse:t((e)=>{he.clear(),i.debug("[Railroad Parser] Starting Langium parse");let r=o.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new wn(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:he}},R={parser:m,db:he,renderer:Pn,styles:Rn};export{R as diagram};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{As}from"./chunk-yjan9xfw.js";export{As as default};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{Is}from"./chunk-wh028xj6.js";export{Is as createInfoServices};
@@ -0,0 +1,2 @@
1
+ �"�import{Is}from"./chunk-wh028xj6.js";export{Is as createInfoServices};
2
+ 
Binary file
@@ -0,0 +1,7 @@
1
+ import{v,s,w,o,a,m,e,n,b,zt}from"./chunk-ev6xj0qs.js";import{xt,Kn,Et,mc,Zn,yr,Ei,Us,fc}from"./chunk-1fp0r6da.js";var z="__chat__";function E(f){return e("div",{className:"h-1.5 w-full overflow-hidden rounded-full bg-raised",children:e("div",{className:"h-full rounded-full bg-accent transition-all duration-300",style:{width:`${f.percent}%`}})})}function _(f){return e("div",{className:"flex flex-wrap items-center justify-between gap-x-4 gap-y-1 font-mono text-2xs text-dim tabular-nums",children:f.children})}function B(f){return e("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1",children:f.children})}function V(f){return n(B,{children:[n("span",{children:["输入 ",e("span",{className:"text-ink",children:xt(f.stat.inputTokens)})]}),n("span",{children:["输出 ",e("span",{className:"text-ink",children:xt(f.stat.outputTokens)})]}),n("span",{children:["缓存读 ",e("span",{className:"text-ink",children:xt(f.stat.cacheReadTokens)}),f.cacheHitRate!==void 0&&n("span",{className:"text-faint",children:[" (",Zn(f.cacheHitRate),")"]})]})]})}function Q(f){let{projects:h,selectedProjectID:D,onSelectProject:k}=f,{style:l}=b();if(h.length===0)return e("div",{className:l("surface.empty"),children:"暂无项目统计数据"});return e("div",{className:"divide-y divide-line",children:h.map((t)=>{let p=t.projectID??z,x=D===p,j=Math.max(t.tokenShare>0?1:0,t.tokenShare*100);return n("div",{className:"p-4 space-y-2.5",children:[n("div",{className:"flex flex-wrap items-center justify-between gap-2 text-xs",children:[n("div",{className:"flex min-w-0 items-center gap-2",children:[e("span",{className:"font-medium text-sm text-ink truncate",children:t.name}),e("span",{className:l("control.badge","font-mono truncate max-w-[240px]"),title:t.directory||"未绑定项目目录",children:t.directory||"独立会话"}),e("button",{type:"button",onClick:()=>k(x?null:p),className:"rounded px-1.5 py-0.5 text-2xs text-accent hover:bg-accent/10 transition-colors cursor-pointer shrink-0",children:x?"取消筛选":"筛选"})]}),n("div",{className:"flex items-baseline gap-1.5 font-mono tabular-nums shrink-0",children:[e("span",{className:"text-xs font-medium text-ink",title:Kn(t.totalTokens),children:xt(t.totalTokens)}),n("span",{className:"text-2xs text-faint",children:["(",Zn(t.tokenShare),")"]})]})]}),e(E,{percent:j}),n(_,{children:[e(V,{stat:t,cacheHitRate:t.cacheHitRate}),n(B,{children:[n("span",{children:["耗时 ",e("span",{className:"text-ink",children:Et(t.activeDurationMs)})]}),n("span",{children:[e("span",{className:"text-ink",children:t.sessionCount.toLocaleString()})," 会话"]}),n("span",{children:["工具 ",e("span",{className:"text-ink",children:t.toolCalls.toLocaleString()})," 次"]})]})]})]},p)})})}function Z(f){let{models:h}=f,{ModelIcon:D,style:k}=b();if(h.length===0)return e("div",{className:k("surface.empty"),children:"暂无模型调用数据"});return e("div",{className:"divide-y divide-line",children:h.map((l)=>{let t=Math.max(l.share>0?1:0,l.share*100);return n("div",{className:"p-4 space-y-2.5",children:[n("div",{className:"flex flex-wrap items-center justify-between gap-2 text-xs",children:[n("div",{className:"flex min-w-0 items-center gap-2",children:[e(D,{modelID:l.model,className:"size-4 shrink-0"}),e("span",{className:"font-mono text-sm font-medium text-ink truncate",children:l.shortName}),e("span",{className:k("control.badge","font-mono shrink-0"),children:l.provider})]}),n("div",{className:"flex items-baseline gap-2.5 font-mono tabular-nums shrink-0",children:[l.avgTps!==null&&n("span",{className:"text-2xs text-dim",children:[l.avgTps.toFixed(1)," tok/s"]}),n("span",{className:"text-xs font-medium text-ink",title:Kn(l.totalTokens),children:[xt(l.totalTokens)," ",n("span",{className:"text-2xs font-normal text-faint",children:["(",Zn(l.share),")"]})]})]})]}),e(E,{percent:t}),n(_,{children:[e(V,{stat:l,cacheHitRate:l.cacheHitRate}),n(B,{children:[n("span",{children:[e("span",{className:"text-ink",children:l.turns.toLocaleString()})," 轮",l.errors>0?n("span",{className:"text-danger",children:[" (",l.errors," 错)"]}):null]}),n("span",{children:["工具 ",e("span",{className:"text-ink",children:l.toolCalls.toLocaleString()})," 次"]}),l.generationMs>0&&n("span",{children:["推理 ",e("span",{className:"text-ink",children:mc(l.generationMs)})]})]})]})]},l.model)})})}function J(f){let{tools:h}=f,{StatusChip:D,style:k}=b();if(h.length===0)return e("div",{className:k("surface.empty"),children:"暂无工具调用数据"});return e("div",{className:"divide-y divide-line",children:h.map((l)=>{let t=Math.max(l.share>0?1:0,l.share*100),p=l.successRate>=0.95?"success":l.successRate>=0.8?"warning":"danger",x=Math.max(0,l.calls-l.errors),j=l.calls>0?Math.round(l.outputBytes/l.calls):0;return n("div",{className:"p-4 space-y-2.5",children:[n("div",{className:"flex flex-wrap items-center justify-between gap-2 text-xs",children:[n("div",{className:"flex min-w-0 items-center gap-2",children:[e("span",{className:"font-mono text-sm font-medium text-ink truncate",children:l.name}),n(D,{tone:p,children:["成功率 ",Zn(l.successRate)]})]}),n("div",{className:"flex items-baseline gap-1.5 font-mono tabular-nums shrink-0",children:[n("span",{className:"text-xs font-medium text-ink",children:[l.calls.toLocaleString()," 次"]}),n("span",{className:"text-2xs text-faint",children:["(",Zn(l.share),")"]})]})]}),e(E,{percent:t}),n(_,{children:[n(B,{children:[n("span",{children:["成功 ",e("span",{className:"text-ink",children:x.toLocaleString()})," 次"]}),n("span",{children:["失败 ",e("span",{className:l.errors>0?"text-danger":"text-ink",children:l.errors.toLocaleString()})," 次"]})]}),n(B,{children:[n("span",{children:["累计输出 ",e("span",{className:"text-ink",children:yr(l.outputBytes)})]}),n("span",{children:["单次均值 ",e("span",{className:"text-ink",children:yr(j)})]})]})]})]},l.name)})})}function X(f){let{sessions:h,onOpenSession:D}=f,{style:k}=b();if(h.length===0)return e("div",{className:k("surface.empty"),children:"暂无高消耗会话记录"});let l=Math.max(1,...h.map((t)=>t.totalTokens));return e("div",{className:"divide-y divide-line",children:h.map((t)=>{let p=l>0?Math.max(1,t.totalTokens/l*100):0,x=t.model.split("/").pop()??t.model;return n("button",{type:"button",onClick:()=>D(t.id),className:"group block w-full p-4 text-left space-y-2.5 hover:bg-raised/40 transition-colors cursor-pointer",children:[n("div",{className:"flex flex-wrap items-center justify-between gap-2 text-xs",children:[n("div",{className:"flex min-w-0 flex-1 items-center gap-2",children:[e("span",{className:"font-medium text-sm text-ink truncate group-hover:text-accent transition-colors",children:t.title.trim()||"新会话"}),e("span",{className:k("control.badge","font-mono truncate max-w-[140px] shrink-0"),title:t.projectName,children:t.projectName}),t.kind==="sub"&&e("span",{className:"rounded bg-accent/15 px-1.5 py-0.5 text-2xs text-accent shrink-0",children:"子代理"}),t.archivedAt!==null&&e("span",{className:k("control.badge","shrink-0"),children:"已归档"})]}),n("div",{className:"flex items-center gap-1.5 font-mono tabular-nums shrink-0",children:[e("span",{className:"text-xs font-medium text-ink",title:Kn(t.totalTokens),children:xt(t.totalTokens)}),e(zt,{className:"size-3.5 text-faint group-hover:text-ink group-hover:translate-x-0.5 transition-all"})]})]}),e(E,{percent:p}),n(_,{children:[e(V,{stat:t}),n(B,{children:[e("span",{className:"text-ink",children:x}),n("span",{children:["耗时 ",e("span",{className:"text-ink",children:Et(t.activeDurationMs)})]}),n("span",{children:[e("span",{className:"text-ink",children:t.assistantTurns})," 轮"]}),e("span",{className:"text-faint",children:fc(t.updated)})]})]})]},t.id)})})}var ee=[{value:"tokens",label:"Token 用量"},{value:"duration",label:"活跃耗时"},{value:"activity",label:"交互轮次"}];function te(f){let{cn:h,Segmented:D,SettingGroup:k,style:l}=b(),{daily:t}=f,[p,x]=a("tokens"),[j,P]=a(null),R=w(()=>t.some((r)=>r.totalTokens>0||r.activeDurationMs>0||r.runs>0),[t]),C=w(()=>{if(t.length===0)return{totalText:"0",avgText:"0",peakDate:"—",peakValueText:"0"};if(p==="tokens"){let N=t.reduce((M,H)=>M+H.totalTokens,0),S=t.filter((M)=>M.totalTokens>0).length,T=t[0];for(let M of t)if(!T||M.totalTokens>T.totalTokens)T=M;return{totalText:xt(N),totalFullText:Kn(N),avgText:S>0?xt(Math.round(N/S)):"0",peakDate:T&&T.totalTokens>0?Ei(T.date):"—",peakValueText:T&&T.totalTokens>0?xt(T.totalTokens):"0"}}if(p==="duration"){let N=t.reduce((M,H)=>M+H.activeDurationMs,0),S=t.filter((M)=>M.activeDurationMs>0).length,T=t[0];for(let M of t)if(!T||M.activeDurationMs>T.activeDurationMs)T=M;return{totalText:Et(N),totalFullText:Et(N),avgText:S>0?Et(Math.round(N/S)):"0s",peakDate:T&&T.activeDurationMs>0?Ei(T.date):"—",peakValueText:T&&T.activeDurationMs>0?Et(T.activeDurationMs):"0s"}}let r=t.reduce((N,S)=>N+S.assistantTurns,0),i=t.reduce((N,S)=>N+S.userMessages,0),u=r+i,g=t.filter((N)=>N.assistantTurns>0||N.userMessages>0).length,d=t[0];for(let N of t){let S=d?d.assistantTurns+d.userMessages:0;if(!d||N.assistantTurns+N.userMessages>S)d=N}let L=d?d.assistantTurns+d.userMessages:0;return{totalText:`${u.toLocaleString()} 轮`,totalFullText:`助手 ${r.toLocaleString()} 轮 · 用户 ${i.toLocaleString()} 问`,avgText:g>0?`${(u/g).toFixed(1)} 轮/天`:"0 轮/天",peakDate:d&&L>0?Ei(d.date):"—",peakValueText:d&&L>0?`${L.toLocaleString()} 轮`:"0 轮"}},[t,p]),y=w(()=>{if(j){let r=t.find((i)=>i.date===j);if(r)return r}for(let r=t.length-1;r>=0;r--){let i=t[r];if(i&&(i.totalTokens>0||i.activeDurationMs>0||i.runs>0))return i}return t[t.length-1]},[t,j]),O=w(()=>{if(p==="tokens")return Math.max(1,...t.map((r)=>r.totalTokens));if(p==="duration")return Math.max(1000,...t.map((r)=>r.activeDurationMs));return Math.max(1,...t.map((r)=>r.assistantTurns+r.userMessages))},[t,p]),c=w(()=>{if(t.length<=7)return t.map((u)=>u.date);let r=6,i=[];for(let u=0;u<r;u++){let g=Math.round(u*(t.length-1)/(r-1)),d=t[g];if(d)i.push(d.date)}return i},[t]);if(!R)return e(k,{title:"每日趋势",action:e(D,{value:p,onChange:(r)=>x(r),options:ee}),children:e("div",{className:l("surface.empty"),children:"当前时间范围内暂无活跃数据"})});return e(k,{title:"每日趋势",action:e(D,{value:p,onChange:(r)=>x(r),options:ee}),children:n("div",{className:"p-4 space-y-4",children:[n("div",{className:"flex flex-wrap items-center justify-between gap-2 text-xs",children:[n("div",{className:"flex flex-wrap items-center gap-x-3.5 gap-y-1 font-mono text-dim tabular-nums",children:[n("span",{children:["汇总 ",e("span",{className:"text-ink",children:C.totalText})]}),n("span",{children:["日均 ",e("span",{className:"text-ink",children:C.avgText})]}),n("span",{children:["峰值 ",e("span",{className:"text-ink",children:C.peakValueText}),C.peakDate!=="—"?n("span",{className:"text-faint",children:[" (",C.peakDate,")"]}):null]})]}),n("div",{className:"flex items-center gap-3 text-2xs text-dim",children:[p==="tokens"&&n(m,{children:[n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:"size-2 rounded-full bg-accent/40"}),"缓存读"]}),n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:"size-2 rounded-full bg-accent"}),"输入"]}),n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:"size-2 rounded-full bg-success"}),"输出"]})]}),p==="duration"&&n(m,{children:[n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:"size-2 rounded-full bg-accent"}),"工作调度"]}),n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:"size-2 rounded-full bg-success"}),"模型推理"]})]}),p==="activity"&&n(m,{children:[n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:"size-2 rounded-full bg-accent"}),"助手回复"]}),n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:"size-2 rounded-full bg-success"}),"用户提问"]})]})]})]}),n("div",{className:"relative h-44 w-full pt-1",children:[n("div",{className:"absolute inset-0 flex flex-col justify-between pointer-events-none pb-5 text-3xs text-faint/60",children:[e("div",{className:"border-b border-line/40 w-full"}),e("div",{className:"border-b border-line/30 w-full"}),e("div",{className:"border-b border-line/40 w-full"})]}),n("section",{"aria-label":"每日趋势柱状序列",className:"relative h-full flex flex-col justify-between",onMouseLeave:()=>P(null),children:[e("div",{className:"flex-1 flex items-end gap-1 sm:gap-1.5 pb-2",children:t.map((r)=>{let i=r.totalTokens;if(p==="duration")i=r.activeDurationMs;else if(p==="activity")i=r.assistantTurns+r.userMessages;let u=i<=0,g=u?0:Math.max(3,Math.min(100,i/O*100)),d=y?.date===r.date;return n("button",{type:"button","aria-label":`${r.date} 统计数据`,className:"flex-1 h-full flex flex-col justify-end items-center group cursor-pointer relative min-w-0 bg-transparent p-0 border-0 focus:outline-hidden",onMouseEnter:()=>P(r.date),onFocus:()=>P(r.date),onClick:()=>P(r.date),children:[e("div",{className:h("absolute inset-y-0 w-full rounded-xs transition-colors pointer-events-none",d?"bg-accent/10":"group-hover:bg-raised/60")}),u?e("div",{className:"h-1 w-full max-w-[24px] rounded-full bg-raised group-hover:bg-dim/30"}):n("div",{className:"w-full max-w-[24px] rounded-t-xs overflow-hidden flex flex-col justify-end transition-all duration-150",style:{height:`${g}%`},children:[p==="tokens"&&n(m,{children:[r.outputTokens>0&&e("div",{className:"bg-success transition-all duration-200",style:{height:`${r.outputTokens/r.totalTokens*100}%`}}),r.inputTokens+r.cacheWriteTokens>0&&e("div",{className:"bg-accent transition-all duration-200",style:{height:`${(r.inputTokens+r.cacheWriteTokens)/r.totalTokens*100}%`}}),r.cacheReadTokens>0&&e("div",{className:"bg-accent/40 transition-all duration-200",style:{height:`${r.cacheReadTokens/r.totalTokens*100}%`}})]}),p==="duration"&&n(m,{children:[r.generationMs>0&&e("div",{className:"bg-success transition-all duration-200",style:{height:`${Math.min(100,r.generationMs/Math.max(1,r.activeDurationMs)*100)}%`}}),e("div",{className:"bg-accent flex-1 transition-all duration-200"})]}),p==="activity"&&n(m,{children:[r.userMessages>0&&e("div",{className:"bg-success transition-all duration-200",style:{height:`${r.userMessages/Math.max(1,r.assistantTurns+r.userMessages)*100}%`}}),e("div",{className:"bg-accent flex-1 transition-all duration-200"})]})]}),d&&e("div",{className:"absolute -bottom-1 size-1 rounded-full bg-accent"})]},r.date)})}),e("div",{className:h("flex items-center pt-1.5 text-3xs text-faint font-mono tabular-nums",t.length<=7?"gap-1 sm:gap-1.5":"justify-between"),children:c.map((r)=>e("div",{className:h("whitespace-nowrap",t.length<=7&&"flex-1 text-center"),children:Ei(r)},r))})]})]}),e("div",{className:"flex flex-wrap items-center justify-between gap-2 border-t border-line pt-3 font-mono text-xs tabular-nums",children:y?n(m,{children:[e("span",{className:"text-ink",children:Us(y.date)}),n("div",{className:"flex flex-wrap items-center gap-x-3.5 gap-y-1 text-dim",children:[n("span",{children:["Token ",e("span",{className:"text-ink",children:xt(y.totalTokens)})]}),n("span",{children:["耗时 ",e("span",{className:"text-ink",children:Et(y.activeDurationMs)})]}),n("span",{children:["交互 ",n("span",{className:"text-ink",children:[y.assistantTurns+y.userMessages," 轮"]})]}),n("span",{children:["工具 ",n("span",{className:"text-ink",children:[y.toolCalls," 次"]})]})]})]}):e("span",{className:"font-sans text-faint",children:"悬停柱状图查看单日明细"})})]})})}function se(f){let{cn:h,SettingGroup:D}=b(),{daily:k,hourly:l}=f,[t,p]=a(null),x=w(()=>{let i=new Map;for(let g of l)i.set(g.hour,g);let u=[];for(let g=0;g<24;g++){let d=i.get(g);if(d)u.push(d);else u.push({hour:g,totalTokens:0,activeDurationMs:0,userMessages:0,assistantTurns:0,runs:0})}return u},[l]),j=w(()=>{let i=x[0];for(let u of x)if(!i||u.totalTokens>i.totalTokens)i=u;return i&&i.totalTokens>0?i:null},[x]),P=w(()=>x.reduce((i,u)=>i+u.totalTokens,0),[x]),R=w(()=>Math.max(1,...x.map((i)=>i.totalTokens)),[x]),C=w(()=>{if(P<=0)return 0;return x.filter((u)=>u.hour>=8&&u.hour<20).reduce((u,g)=>u+g.totalTokens,0)/P},[x,P]),y=w(()=>Math.max(1,...k.map((i)=>i.totalTokens)),[k]),O=w(()=>{let i=0,u=0;for(let g of k)if(g.totalTokens>0||g.activeDurationMs>0||g.runs>0){if(u++,u>i)i=u}else u=0;return i},[k]),c=w(()=>k.filter((i)=>i.totalTokens>0||i.activeDurationMs>0||i.runs>0).length,[k]),r=t!==null?x[t]:j;return n(D,{title:"活跃时段与热力",action:n("div",{className:"flex items-center gap-3 font-mono text-xs text-faint tabular-nums",children:[n("span",{children:["日间占比 ",Zn(C)]}),n("span",{children:["连续活跃 ",O," 天"]}),n("span",{children:["活跃 ",c,"/",k.length," 天"]})]}),children:[n("div",{className:"p-4 space-y-3",children:[n("div",{className:"flex flex-wrap items-center justify-between gap-2 text-xs",children:[e("span",{className:"text-dim",children:"24 小时分布"}),r?n("div",{className:"flex items-center gap-3 font-mono text-dim tabular-nums",children:[n("span",{className:"text-ink",children:[t!==null?"时段 ":"高峰 ",String(r.hour).padStart(2,"0"),":00 -"," ",String((r.hour+1)%24).padStart(2,"0"),":00"]}),e("span",{className:"text-ink",children:xt(r.totalTokens)}),r.activeDurationMs>0&&e("span",{children:Et(r.activeDurationMs)})]}):e("span",{className:"text-faint",children:"暂无时段分布"})]}),n("section",{"aria-label":"24 小时活跃分布序列",className:"h-28 w-full flex flex-col justify-between pt-1",onMouseLeave:()=>p(null),children:[e("div",{className:"flex-1 flex items-end gap-1.5 pb-1.5",children:x.map((i)=>{let u=j?.hour===i.hour,g=t===i.hour,d=i.totalTokens>0?Math.max(6,i.totalTokens/R*100):0,L=`${String(i.hour).padStart(2,"0")}:00 - ${String((i.hour+1)%24).padStart(2,"0")}:00
2
+ 消耗: ${Kn(i.totalTokens)} Token
3
+ 耗时: ${Et(i.activeDurationMs)}
4
+ 助手轮次: ${i.assistantTurns} 轮`;return e("button",{type:"button","aria-label":`${String(i.hour).padStart(2,"0")}:00 时段统计`,className:"flex-1 h-full flex flex-col justify-end items-center group relative cursor-pointer bg-transparent p-0 border-0 focus:outline-hidden",title:L,onMouseEnter:()=>p(i.hour),onFocus:()=>p(i.hour),onClick:()=>p(i.hour),children:d>0?e("div",{className:h("w-full max-w-[20px] rounded-t-xs transition-all duration-200",u||g?"bg-accent":"bg-accent/55 group-hover:bg-accent"),style:{height:`${d}%`}}):e("div",{className:"h-1 w-full max-w-[20px] rounded-full bg-raised group-hover:bg-dim/30"})},i.hour)})}),n("div",{className:"flex justify-between items-center text-3xs text-faint font-mono pt-1.5 border-t border-line/40",children:[e("span",{children:"00:00"}),e("span",{children:"04:00"}),e("span",{children:"08:00"}),e("span",{children:"12:00"}),e("span",{children:"16:00"}),e("span",{children:"20:00"}),e("span",{children:"23:00"})]})]})]}),n("div",{className:"p-4 space-y-2.5",children:[n("div",{className:"text-xs text-dim",children:["自然日热力 (",k.length," 天)"]}),e("div",{className:"flex flex-wrap items-center gap-1.5",children:k.map((i)=>{let u="bg-raised";if(i.totalTokens>0){let d=i.totalTokens/y;if(d<=0.33)u="bg-accent/30";else if(d<=0.66)u="bg-accent/60";else u="bg-accent"}let g=`${Us(i.date)}
5
+ 消耗: ${Kn(i.totalTokens)} Token
6
+ 耗时: ${Et(i.activeDurationMs)}
7
+ 助手轮次: ${i.assistantTurns} 轮`;return e("div",{className:h("size-3.5 rounded-xs transition-transform hover:scale-125 cursor-pointer",u),title:g},i.date)})})]})]})}var re=[{value:"7d",label:"近 7 天"},{value:"30d",label:"近 30 天"},{value:"90d",label:"近 90 天"},{value:"all",label:"全部"}],W=new Map,ae=[];function K(f,h){return`${f}:${h??"all"}`}function we(f){let{connection:h,onOpen:D}=f,{Button:k,PageLayout:l,Segmented:t,SettingGroup:p,style:x}=b(),[j,P]=a("30d"),[R,C]=a(null),[y,O]=a("projects"),[c,r]=a(()=>W.get(K("30d",null))??null),[i,u]=a(()=>!W.has(K("30d",null))),[g,d]=a(null),[L,N]=a(()=>ae),S=o(0),T=v(async()=>{let H=++S.current,I=K(j,R),U=W.get(I);if(U)r(U);u(!0);try{let F=new URLSearchParams({range:j,tzOffset:String(new Date().getTimezoneOffset())});if(R)F.set("projectID",R);let G=await h.request(`/api/stats?${F.toString()}`);if(H!==S.current)return;if(W.set(I,G),r(G),d(null),G.projects)N((ne)=>{let Y=new Map(ne.map((A)=>[A.id,A.name]));for(let A of G.projects)if(A.projectID)Y.set(A.projectID,A.name);let q=Array.from(Y.entries()).map(([A,oe])=>({id:A,name:oe}));return ae=q,q})}catch(F){if(H===S.current)d(F instanceof Error?F.message:"加载统计数据失败")}finally{if(H===S.current)u(!1)}},[h,j,R]);s(()=>(T(),()=>{S.current++}),[T]);let M=w(()=>{if(!R)return null;if(R===z)return"独立聊天";return(L.find((I)=>I.id===R)??c?.projects.find((I)=>I.projectID===R))?.name??"指定项目"},[R,L,c]);return n(l,{title:M?n(m,{children:["统计 ",n("span",{className:"text-dim",children:["· ",M]})]}):"统计",description:"按项目、模型与工具统计活跃耗时与 Token 消耗。",actions:n(m,{children:[R&&e(k,{size:"sm",variant:"ghost",onClick:()=>C(null),children:"返回全部"}),e(t,{value:j,onChange:P,options:re})]}),children:[g&&n("div",{className:"mb-4 flex items-center justify-between rounded-lg bg-danger/10 px-3 py-2 text-xs text-danger",children:[e("span",{children:g}),e(k,{size:"sm",variant:"ghost",onClick:()=>{T()},className:"text-danger hover:text-danger",children:"重试"})]}),i&&!c?e("div",{className:"flex justify-center py-12 text-xs text-faint",children:"正在加载统计…"}):!c?e("div",{className:x("surface.card","p-12 text-center text-sm text-dim"),children:"暂无统计数据"}):n("div",{className:"space-y-8",children:[e(p,{title:"核心总览",unboxed:!0,children:n("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2",children:[n("div",{className:x("surface.card","p-4"),children:[n("div",{className:"flex items-center justify-between gap-2 text-xs text-faint",children:[e("span",{children:"总 Token 消耗"}),n("span",{className:"font-mono tabular-nums",children:["缓存命中 ",Zn(c.overview.cacheHitRate)]})]}),e("div",{className:"mt-1.5 font-mono text-xl font-semibold tracking-tight text-ink tabular-nums",title:`${Kn(c.overview.totalTokens)} Token`,children:xt(c.overview.totalTokens)}),n("div",{className:"mt-1 flex flex-wrap items-center gap-x-3 gap-y-1 font-mono text-2xs text-dim tabular-nums",children:[n("span",{children:["输入 ",xt(c.overview.inputTokens)]}),n("span",{children:["输出 ",xt(c.overview.outputTokens)]}),n("span",{children:["缓存读 ",xt(c.overview.cacheReadTokens)]})]})]}),n("div",{className:x("surface.card","p-4"),children:[n("div",{className:"flex items-center justify-between gap-2 text-xs text-faint",children:[e("span",{children:"活跃工作耗时"}),n("span",{className:"font-mono tabular-nums",children:["日均"," ",c.overview.activeDays>0?Et(c.overview.activeDurationMs/c.overview.activeDays):"0s"]})]}),e("div",{className:"mt-1.5 font-mono text-xl font-semibold tracking-tight text-ink tabular-nums",children:Et(c.overview.activeDurationMs)}),n("div",{className:"mt-1 flex flex-wrap items-center gap-x-3 gap-y-1 font-mono text-2xs text-dim tabular-nums",children:[n("span",{children:["模型推理 ",Et(c.overview.generationMs)]}),n("span",{children:["并发累计 ",Et(c.overview.cumulativeRunDurationMs)]})]})]}),n("div",{className:x("surface.card","p-4"),children:[n("div",{className:"flex items-center justify-between gap-2 text-xs text-faint",children:[e("span",{children:"会话与工作流"}),n("span",{className:"font-mono tabular-nums",children:[c.overview.activeProjects,"/",c.overview.totalProjects," 活跃项目"]})]}),n("div",{className:"mt-1.5 font-mono text-xl font-semibold tracking-tight text-ink tabular-nums",children:[c.overview.sessionCount.toLocaleString()," 个会话"]}),n("div",{className:"mt-1 flex flex-wrap items-center gap-x-3 gap-y-1 font-mono text-2xs text-dim tabular-nums",children:[n("span",{children:[c.overview.mainSessionCount," 主会话 / ",c.overview.subSessionCount," 子代理"]}),n("span",{children:[c.overview.userMessages," 提问 / ",c.overview.assistantTurns," 回复"]})]})]}),n("div",{className:x("surface.card","p-4"),children:[n("div",{className:"flex items-center justify-between gap-2 text-xs text-faint",children:[e("span",{children:"吞吐效率与调用"}),n("span",{className:"font-mono tabular-nums",children:[c.overview.compactions," 次折叠"]})]}),e("div",{className:"mt-1.5 font-mono text-xl font-semibold tracking-tight text-ink tabular-nums",children:c.overview.avgTps!==null?`${c.overview.avgTps.toFixed(1)} tok/s`:`${c.overview.toolCalls.toLocaleString()} 次调用`}),n("div",{className:"mt-1 flex flex-wrap items-center gap-x-3 gap-y-1 font-mono text-2xs text-dim tabular-nums",children:[n("span",{children:[c.overview.toolCalls.toLocaleString()," 次工具调用"]}),n("span",{children:[c.overview.runCount.toLocaleString()," 次运行"]})]})]})]})}),e(te,{daily:c.daily}),e(se,{daily:c.daily,hourly:c.hourly}),e(p,{title:"分类明细",action:e(t,{value:y,onChange:O,options:[{value:"projects",label:`项目消耗 (${c.projects.length})`},{value:"models",label:`模型分析 (${c.models.length})`},{value:"tools",label:`工具调用 (${c.tools.length})`},{value:"sessions",label:`高消耗会话 (${c.topSessions.length})`}]}),children:n("div",{className:"animate-fade",children:[y==="projects"&&e(Q,{projects:c.projects,selectedProjectID:R,onSelectProject:C,onOpenSession:D}),y==="models"&&e(Z,{models:c.models}),y==="tools"&&e(J,{tools:c.tools}),y==="sessions"&&e(X,{sessions:c.topSessions,onOpenSession:D})]},y)})]})]})}export{we as StatsPage};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{Da}from"./chunk-wh028xj6.js";export{Da as createRailroadPegServices};
Binary file
Binary file