@bkm016/basalt 0.1.29 → 0.1.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (964) hide show
  1. package/README.md +3 -2
  2. package/chunk-04326385.js +39 -0
  3. package/chunk-0er07d2g.js +51 -0
  4. package/chunk-0ge4k9gq.js +2 -0
  5. package/chunk-11zc1b2w.js +3 -0
  6. package/chunk-12203fgm.js +2 -0
  7. package/chunk-194d4z7x.js +7 -0
  8. package/chunk-1apm7p2e.js +2 -0
  9. package/chunk-1t0yzkg7.js +4 -0
  10. package/chunk-2csz31nh.js +2 -0
  11. package/chunk-2rqpfv4h.js +3 -0
  12. package/chunk-39cfcar4.js +3 -0
  13. package/chunk-3gw871zb.js +2 -0
  14. package/chunk-4a5xttdp.js +3 -0
  15. package/chunk-4st5xeee.js +2 -0
  16. package/chunk-5h17n6g1.js +3 -0
  17. package/chunk-5rn18vrq.js +5 -0
  18. package/chunk-5tdnvdmz.js +2 -0
  19. package/chunk-6gzvp0f6.js +50 -0
  20. package/chunk-6qavr39k.js +2 -0
  21. package/chunk-6xn0r0dd.js +3 -0
  22. package/chunk-71pz02bd.js +8 -0
  23. package/chunk-7h76jrss.js +7 -0
  24. package/chunk-7hss4hs3.js +7 -0
  25. package/chunk-7vdq0wye.js +2 -0
  26. package/chunk-7w187ycz.js +10 -0
  27. package/chunk-81s7mvf2.js +16 -0
  28. package/chunk-8j8acxde.js +2 -0
  29. package/chunk-9nfz04yr.js +2 -0
  30. package/chunk-9nkb5q43.js +3 -0
  31. package/chunk-9zcfam20.js +2 -0
  32. package/chunk-a6zvmsbh.js +12 -0
  33. package/chunk-anr8aghq.js +59 -0
  34. package/chunk-av8zh9yp.js +2 -0
  35. package/chunk-bwv97dtf.js +2 -0
  36. package/chunk-cjy4rssa.js +10 -0
  37. package/chunk-dmdyqq1k.js +2 -0
  38. package/chunk-dzvq7vt6.js +2 -0
  39. package/chunk-ejrksf6g.js +3 -0
  40. package/chunk-erxka5vh.js +18 -0
  41. package/chunk-fc41dvhp.js +12 -0
  42. package/chunk-fdgrayj5.js +3 -0
  43. package/chunk-fsekbhqb.js +3 -0
  44. package/chunk-fwcqcecb.js +8 -0
  45. package/chunk-hhwnmhbb.js +2 -0
  46. package/chunk-jm2bn5mq.js +3 -0
  47. package/chunk-jm5j5jfy.js +3 -0
  48. package/chunk-jsvr3s4q.js +5 -0
  49. package/chunk-jwk5a5tk.js +25 -0
  50. package/chunk-khy3j5kp.js +63 -0
  51. package/chunk-mwc59w50.js +31 -0
  52. package/chunk-mypbpphn.js +3 -0
  53. package/chunk-ng5ncy65.js +2 -0
  54. package/chunk-nmvayfq3.js +3 -0
  55. package/chunk-nw4h0wm9.js +2 -0
  56. package/chunk-pxsgm6ff.js +2 -0
  57. package/chunk-r0gsb1qs.js +3 -0
  58. package/chunk-rbfpa63e.js +3 -0
  59. package/chunk-rsrh5dgx.js +2 -0
  60. package/chunk-s2pm97nk.js +286 -0
  61. package/chunk-s6tnmg6x.js +3 -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-vx4v71t4.js +498 -0
  67. package/chunk-w3v8zahw.js +2 -0
  68. package/chunk-w6m8c4vf.js +11 -0
  69. package/chunk-wd7sj5cv.js +2 -0
  70. package/chunk-we8v9wkw.js +9 -0
  71. package/chunk-wvn68m5f.js +4058 -0
  72. package/chunk-x055cas0.js +5 -0
  73. package/chunk-x2ry671h.js +44 -0
  74. package/chunk-x5vrtxkj.js +3 -0
  75. package/chunk-xedzsj31.js +5 -0
  76. package/chunk-xp83v3zm.js +2 -0
  77. package/chunk-ykzm5g1b.js +25 -0
  78. package/chunk-yq2bwebb.js +3 -0
  79. package/chunk-yygcpnwc.js +3 -0
  80. package/chunk-zjf34acb.js +2 -0
  81. package/compiled.js +10 -10
  82. package/package.json +4 -1
  83. package/ui-test-worker.js +24 -24
  84. package/web/chunk-01mrggts.js +1 -0
  85. package/web/chunk-01mrggts.js.br +0 -0
  86. package/web/chunk-01mrggts.js.gz +0 -0
  87. package/web/chunk-0b25tje3.js +1 -0
  88. package/web/chunk-0b25tje3.js.br +0 -0
  89. package/web/chunk-0b25tje3.js.gz +0 -0
  90. package/web/chunk-0g46ww9d.js +1 -0
  91. package/web/chunk-0g46ww9d.js.br +0 -0
  92. package/web/chunk-0g46ww9d.js.gz +0 -0
  93. package/web/chunk-0grg8w51.js +200 -0
  94. package/web/chunk-0grg8w51.js.br +0 -0
  95. package/web/chunk-0grg8w51.js.gz +0 -0
  96. package/web/chunk-0qf3m69c.js +24 -0
  97. package/web/chunk-0qf3m69c.js.br +0 -0
  98. package/web/chunk-0qf3m69c.js.gz +0 -0
  99. package/web/chunk-14yejkcn.js +7 -0
  100. package/web/chunk-14yejkcn.js.br +0 -0
  101. package/web/chunk-14yejkcn.js.gz +0 -0
  102. package/web/chunk-1ffzwm6m.js +106 -0
  103. package/web/chunk-1ffzwm6m.js.br +0 -0
  104. package/web/chunk-1ffzwm6m.js.gz +0 -0
  105. package/web/chunk-1ncaw3hk.js +3 -0
  106. package/web/chunk-1ncaw3hk.js.br +0 -0
  107. package/web/chunk-1ncaw3hk.js.gz +0 -0
  108. package/web/chunk-1x2kh4he.js +1 -0
  109. package/web/chunk-1x2kh4he.js.br +0 -0
  110. package/web/chunk-1x2kh4he.js.gz +0 -0
  111. package/web/chunk-23atmwvk.js +2 -0
  112. package/web/chunk-23atmwvk.js.br +0 -0
  113. package/web/chunk-23atmwvk.js.gz +0 -0
  114. package/web/chunk-2gfgrjy6.js +142 -0
  115. package/web/chunk-2gfgrjy6.js.br +0 -0
  116. package/web/chunk-2gfgrjy6.js.gz +0 -0
  117. package/web/chunk-2ttatv42.js +2 -0
  118. package/web/chunk-2ttatv42.js.br +0 -0
  119. package/web/chunk-2ttatv42.js.gz +0 -0
  120. package/web/chunk-2vqn82nw.js +139 -0
  121. package/web/chunk-2vqn82nw.js.br +0 -0
  122. package/web/chunk-2vqn82nw.js.gz +0 -0
  123. package/web/chunk-2wzvn2ne.js +1 -0
  124. package/web/chunk-2wzvn2ne.js.br +0 -0
  125. package/web/chunk-2wzvn2ne.js.gz +0 -0
  126. package/web/chunk-3at8qbcv.js +89 -0
  127. package/web/chunk-3at8qbcv.js.br +0 -0
  128. package/web/chunk-3at8qbcv.js.gz +0 -0
  129. package/web/chunk-3b97pd97.js +120 -0
  130. package/web/chunk-3b97pd97.js.br +0 -0
  131. package/web/chunk-3b97pd97.js.gz +0 -0
  132. package/web/chunk-3q5j14ah.js +1 -0
  133. package/web/chunk-3q5j14ah.js.br +0 -0
  134. package/web/chunk-3q5j14ah.js.gz +0 -0
  135. package/web/chunk-45xqp3dn.js +1 -0
  136. package/web/chunk-45xqp3dn.js.br +0 -0
  137. package/web/chunk-45xqp3dn.js.gz +0 -0
  138. package/web/chunk-4fdgpye3.js +2 -0
  139. package/web/chunk-4fdgpye3.js.br +0 -0
  140. package/web/chunk-4fdgpye3.js.gz +0 -0
  141. package/web/chunk-4wpvkw6b.js +1141 -0
  142. package/web/chunk-4wpvkw6b.js.br +0 -0
  143. package/web/chunk-4wpvkw6b.js.gz +0 -0
  144. package/web/chunk-51m79xhr.js +2 -0
  145. package/web/chunk-51m79xhr.js.br +2 -0
  146. package/web/chunk-51m79xhr.js.gz +0 -0
  147. package/web/chunk-5c6q7asc.js +1 -0
  148. package/web/chunk-5c6q7asc.js.br +0 -0
  149. package/web/chunk-5c6q7asc.js.gz +0 -0
  150. package/web/chunk-5vbnqhs0.js +38 -0
  151. package/web/chunk-5vbnqhs0.js.br +0 -0
  152. package/web/chunk-5vbnqhs0.js.gz +0 -0
  153. package/web/chunk-688a15p4.js +2 -0
  154. package/web/chunk-688a15p4.js.br +0 -0
  155. package/web/chunk-688a15p4.js.gz +0 -0
  156. package/web/chunk-6f9btq4p.js +1 -0
  157. package/web/chunk-6f9btq4p.js.br +0 -0
  158. package/web/chunk-6f9btq4p.js.gz +0 -0
  159. package/web/chunk-6geede02.js +217 -0
  160. package/web/chunk-6geede02.js.br +0 -0
  161. package/web/chunk-6geede02.js.gz +0 -0
  162. package/web/chunk-6j37ynfq.js +1 -0
  163. package/web/chunk-6j37ynfq.js.br +0 -0
  164. package/web/chunk-6j37ynfq.js.gz +0 -0
  165. package/web/chunk-7j7btfha.js +292 -0
  166. package/web/chunk-7j7btfha.js.br +0 -0
  167. package/web/chunk-7j7btfha.js.gz +0 -0
  168. package/web/chunk-8299qcyc.js +1 -0
  169. package/web/chunk-8299qcyc.js.br +0 -0
  170. package/web/chunk-8299qcyc.js.gz +0 -0
  171. package/web/chunk-8mncz9c6.js +89 -0
  172. package/web/chunk-8mncz9c6.js.br +0 -0
  173. package/web/chunk-8mncz9c6.js.gz +0 -0
  174. package/web/chunk-8pygn7wf.js +1 -0
  175. package/web/chunk-8pygn7wf.js.br +0 -0
  176. package/web/chunk-8pygn7wf.js.gz +0 -0
  177. package/web/chunk-8ye62j8m.js +2 -0
  178. package/web/chunk-8ye62j8m.js.br +3 -0
  179. package/web/chunk-8ye62j8m.js.gz +0 -0
  180. package/web/chunk-982457hh.js +1 -0
  181. package/web/chunk-982457hh.js.br +2 -0
  182. package/web/chunk-982457hh.js.gz +0 -0
  183. package/web/chunk-9f9pp12b.js +1 -0
  184. package/web/chunk-9f9pp12b.js.br +0 -0
  185. package/web/chunk-9f9pp12b.js.gz +0 -0
  186. package/web/chunk-9j7v0e4v.js +2 -0
  187. package/web/chunk-9j7v0e4v.js.br +0 -0
  188. package/web/chunk-9j7v0e4v.js.gz +0 -0
  189. package/web/chunk-9k6d95ab.js +1 -0
  190. package/web/chunk-9k6d95ab.js.br +0 -0
  191. package/web/chunk-9k6d95ab.js.gz +0 -0
  192. package/web/chunk-9z4tf6fd.js +1 -0
  193. package/web/chunk-9z4tf6fd.js.br +0 -0
  194. package/web/chunk-9z4tf6fd.js.gz +0 -0
  195. package/web/chunk-a11ev6ff.js +1 -0
  196. package/web/chunk-a11ev6ff.js.br +0 -0
  197. package/web/chunk-a11ev6ff.js.gz +0 -0
  198. package/web/chunk-ayamka39.js +1 -0
  199. package/web/chunk-ayamka39.js.br +0 -0
  200. package/web/chunk-ayamka39.js.gz +0 -0
  201. package/web/chunk-b6k80wbw.js +1 -0
  202. package/web/chunk-b6k80wbw.js.br +0 -0
  203. package/web/chunk-b6k80wbw.js.gz +0 -0
  204. package/web/chunk-b6w2gmw0.js +2 -0
  205. package/web/chunk-b6w2gmw0.js.br +0 -0
  206. package/web/chunk-b6w2gmw0.js.gz +0 -0
  207. package/web/chunk-ba22js10.js +84 -0
  208. package/web/chunk-ba22js10.js.br +0 -0
  209. package/web/chunk-ba22js10.js.gz +0 -0
  210. package/web/chunk-bq7y294e.js +34 -0
  211. package/web/chunk-bq7y294e.js.br +0 -0
  212. package/web/chunk-bq7y294e.js.gz +0 -0
  213. package/web/chunk-bw9crrb4.js +1 -0
  214. package/web/chunk-bw9crrb4.js.br +0 -0
  215. package/web/chunk-bw9crrb4.js.gz +0 -0
  216. package/web/chunk-c0vc50pd.js +4 -0
  217. package/web/chunk-c0vc50pd.js.br +0 -0
  218. package/web/chunk-c0vc50pd.js.gz +0 -0
  219. package/web/chunk-c2vtzhbs.js +1 -0
  220. package/web/chunk-c2vtzhbs.js.br +0 -0
  221. package/web/chunk-c2vtzhbs.js.gz +0 -0
  222. package/web/chunk-cf9886tj.js +2 -0
  223. package/web/chunk-cf9886tj.js.br +0 -0
  224. package/web/chunk-cf9886tj.js.gz +0 -0
  225. package/web/chunk-cqf4fzk6.js +16 -0
  226. package/web/chunk-cqf4fzk6.js.br +0 -0
  227. package/web/chunk-cqf4fzk6.js.gz +0 -0
  228. package/web/chunk-ct9sq4ka.js +1 -0
  229. package/web/chunk-ct9sq4ka.js.br +0 -0
  230. package/web/chunk-ct9sq4ka.js.gz +0 -0
  231. package/web/chunk-cy60hc6q.js +2 -0
  232. package/web/chunk-cy60hc6q.js.br +0 -0
  233. package/web/chunk-cy60hc6q.js.gz +0 -0
  234. package/web/chunk-cygtgz2r.js +2 -0
  235. package/web/chunk-cygtgz2r.js.br +0 -0
  236. package/web/chunk-cygtgz2r.js.gz +0 -0
  237. package/web/chunk-dgf0f0er.js +214 -0
  238. package/web/chunk-dgf0f0er.js.br +0 -0
  239. package/web/chunk-dgf0f0er.js.gz +0 -0
  240. package/web/chunk-dscn4mpq.js +4 -0
  241. package/web/chunk-dscn4mpq.js.br +0 -0
  242. package/web/chunk-dscn4mpq.js.gz +0 -0
  243. package/web/chunk-e7683p83.js +1 -0
  244. package/web/chunk-e7683p83.js.br +0 -0
  245. package/web/chunk-e7683p83.js.gz +0 -0
  246. package/web/chunk-eanfvatc.js +1 -0
  247. package/web/chunk-eanfvatc.js.br +0 -0
  248. package/web/chunk-eanfvatc.js.gz +0 -0
  249. package/web/chunk-egfn5522.js +1 -0
  250. package/web/chunk-egfn5522.js.br +3 -0
  251. package/web/chunk-egfn5522.js.gz +0 -0
  252. package/web/chunk-ejk5ec5n.js +1 -0
  253. package/web/chunk-ejk5ec5n.js.br +0 -0
  254. package/web/chunk-ejk5ec5n.js.gz +0 -0
  255. package/web/chunk-en5n60qw.js +2 -0
  256. package/web/chunk-en5n60qw.js.br +0 -0
  257. package/web/chunk-en5n60qw.js.gz +0 -0
  258. package/web/chunk-fzffxer1.js +41 -0
  259. package/web/chunk-fzffxer1.js.br +0 -0
  260. package/web/chunk-fzffxer1.js.gz +0 -0
  261. package/web/chunk-g19dt2gr.js +55 -0
  262. package/web/chunk-g19dt2gr.js.br +0 -0
  263. package/web/chunk-g19dt2gr.js.gz +0 -0
  264. package/web/chunk-g6cj4czr.js +2 -0
  265. package/web/chunk-g6cj4czr.js.br +0 -0
  266. package/web/chunk-g6cj4czr.js.gz +0 -0
  267. package/web/chunk-gbv8v3z7.js +78 -0
  268. package/web/chunk-gbv8v3z7.js.br +0 -0
  269. package/web/chunk-gbv8v3z7.js.gz +0 -0
  270. package/web/chunk-h1w081tm.js +12 -0
  271. package/web/chunk-h1w081tm.js.br +0 -0
  272. package/web/chunk-h1w081tm.js.gz +0 -0
  273. package/web/chunk-h47k4j7f.js +1 -0
  274. package/web/chunk-h47k4j7f.js.br +0 -0
  275. package/web/chunk-h47k4j7f.js.gz +0 -0
  276. package/web/chunk-h87t8gsr.js +1 -0
  277. package/web/chunk-h87t8gsr.js.br +0 -0
  278. package/web/chunk-h87t8gsr.js.gz +0 -0
  279. package/web/chunk-haewrbm7.js +1 -0
  280. package/web/chunk-haewrbm7.js.br +0 -0
  281. package/web/chunk-haewrbm7.js.gz +0 -0
  282. package/web/chunk-hahz28y7.js +2 -0
  283. package/web/chunk-hahz28y7.js.br +0 -0
  284. package/web/chunk-hahz28y7.js.gz +0 -0
  285. package/web/chunk-hqz75fkz.js +1 -0
  286. package/web/chunk-hqz75fkz.js.br +0 -0
  287. package/web/chunk-hqz75fkz.js.gz +0 -0
  288. package/web/chunk-hr4fa514.js +2 -0
  289. package/web/chunk-hr4fa514.js.br +0 -0
  290. package/web/chunk-hr4fa514.js.gz +0 -0
  291. package/web/chunk-j7vtqbbc.js +1 -0
  292. package/web/chunk-j7vtqbbc.js.br +0 -0
  293. package/web/chunk-j7vtqbbc.js.gz +0 -0
  294. package/web/chunk-jt33d37t.js +1 -0
  295. package/web/chunk-jt33d37t.js.br +0 -0
  296. package/web/chunk-jt33d37t.js.gz +0 -0
  297. package/web/chunk-k3qt0rx5.js +2 -0
  298. package/web/chunk-k3qt0rx5.js.br +0 -0
  299. package/web/chunk-k3qt0rx5.js.gz +0 -0
  300. package/web/chunk-kgmw7sh4.js +1 -0
  301. package/web/chunk-kgmw7sh4.js.br +0 -0
  302. package/web/chunk-kgmw7sh4.js.gz +0 -0
  303. package/web/chunk-kjvk8prw.js +1 -0
  304. package/web/chunk-kjvk8prw.js.br +0 -0
  305. package/web/chunk-kjvk8prw.js.gz +0 -0
  306. package/web/chunk-kq7snx3t.js +1 -0
  307. package/web/chunk-kq7snx3t.js.br +0 -0
  308. package/web/chunk-kq7snx3t.js.gz +0 -0
  309. package/web/chunk-kvteqhz2.js +1 -0
  310. package/web/chunk-kvteqhz2.js.br +2 -0
  311. package/web/chunk-kvteqhz2.js.gz +0 -0
  312. package/web/chunk-kypct03a.js +169 -0
  313. package/web/chunk-kypct03a.js.br +0 -0
  314. package/web/chunk-kypct03a.js.gz +0 -0
  315. package/web/chunk-m4hz4v80.js +370 -0
  316. package/web/chunk-m4hz4v80.js.br +0 -0
  317. package/web/chunk-m4hz4v80.js.gz +0 -0
  318. package/web/chunk-m5k8jhya.js +40 -0
  319. package/web/chunk-m5k8jhya.js.br +0 -0
  320. package/web/chunk-m5k8jhya.js.gz +0 -0
  321. package/web/chunk-mfsdyw6v.js +2 -0
  322. package/web/chunk-mfsdyw6v.js.br +0 -0
  323. package/web/chunk-mfsdyw6v.js.gz +0 -0
  324. package/web/chunk-mr38k717.js +140 -0
  325. package/web/chunk-mr38k717.js.br +0 -0
  326. package/web/chunk-mr38k717.js.gz +0 -0
  327. package/web/chunk-mtcet6gc.js +2 -0
  328. package/web/chunk-mtcet6gc.js.br +0 -0
  329. package/web/chunk-mtcet6gc.js.gz +0 -0
  330. package/web/chunk-mtfv8gjh.js +291 -0
  331. package/web/chunk-mtfv8gjh.js.br +0 -0
  332. package/web/chunk-mtfv8gjh.js.gz +0 -0
  333. package/web/chunk-nnyjx4ef.js +1 -0
  334. package/web/chunk-nnyjx4ef.js.br +0 -0
  335. package/web/chunk-nnyjx4ef.js.gz +0 -0
  336. package/web/chunk-npn3fk69.js +1 -0
  337. package/web/chunk-npn3fk69.js.br +2 -0
  338. package/web/chunk-npn3fk69.js.gz +0 -0
  339. package/web/chunk-p2gdfpjs.js +2 -0
  340. package/web/chunk-p2gdfpjs.js.br +0 -0
  341. package/web/chunk-p2gdfpjs.js.gz +0 -0
  342. package/web/chunk-q0by2m1w.js +21 -0
  343. package/web/chunk-q0by2m1w.js.br +0 -0
  344. package/web/chunk-q0by2m1w.js.gz +0 -0
  345. package/web/chunk-q5hj3y5k.js +2 -0
  346. package/web/chunk-q5hj3y5k.js.br +0 -0
  347. package/web/chunk-q5hj3y5k.js.gz +0 -0
  348. package/web/chunk-q6k872kv.js +7 -0
  349. package/web/chunk-q6k872kv.js.br +0 -0
  350. package/web/chunk-q6k872kv.js.gz +0 -0
  351. package/web/chunk-q7krdwy7.js +332 -0
  352. package/web/chunk-q7krdwy7.js.br +0 -0
  353. package/web/chunk-q7krdwy7.js.gz +0 -0
  354. package/web/chunk-q7wbksg4.js +1 -0
  355. package/web/chunk-q7wbksg4.js.br +0 -0
  356. package/web/chunk-q7wbksg4.js.gz +0 -0
  357. package/web/chunk-qdxa0c4c.js +1 -0
  358. package/web/chunk-qdxa0c4c.js.br +0 -0
  359. package/web/chunk-qdxa0c4c.js.gz +0 -0
  360. package/web/chunk-r76we294.js +1 -0
  361. package/web/chunk-r76we294.js.br +0 -0
  362. package/web/chunk-r76we294.js.gz +0 -0
  363. package/web/chunk-r9m8jh7x.js +2 -0
  364. package/web/chunk-r9m8jh7x.js.br +0 -0
  365. package/web/chunk-r9m8jh7x.js.gz +0 -0
  366. package/web/chunk-rnhbck1h.js +99 -0
  367. package/web/chunk-rnhbck1h.js.br +0 -0
  368. package/web/chunk-rnhbck1h.js.gz +0 -0
  369. package/web/chunk-rxtzde6n.js +62 -0
  370. package/web/chunk-rxtzde6n.js.br +0 -0
  371. package/web/chunk-rxtzde6n.js.gz +0 -0
  372. package/web/chunk-ryds6qnb.js +2 -0
  373. package/web/chunk-ryds6qnb.js.br +0 -0
  374. package/web/chunk-ryds6qnb.js.gz +0 -0
  375. package/web/chunk-shc8bv2k.js +2 -0
  376. package/web/chunk-shc8bv2k.js.br +0 -0
  377. package/web/chunk-shc8bv2k.js.gz +0 -0
  378. package/web/chunk-stnwzrqv.js +98 -0
  379. package/web/chunk-stnwzrqv.js.br +0 -0
  380. package/web/chunk-stnwzrqv.js.gz +0 -0
  381. package/web/chunk-sy28z9pe.js +2 -0
  382. package/web/chunk-sy28z9pe.js.br +2 -0
  383. package/web/chunk-sy28z9pe.js.gz +0 -0
  384. package/web/chunk-t60hp0qs.js +36 -0
  385. package/web/chunk-t60hp0qs.js.br +0 -0
  386. package/web/chunk-t60hp0qs.js.gz +0 -0
  387. package/web/chunk-t9twwgfe.js +1 -0
  388. package/web/chunk-t9twwgfe.js.br +0 -0
  389. package/web/chunk-t9twwgfe.js.gz +0 -0
  390. package/web/chunk-tbgavq0t.js +2 -0
  391. package/web/chunk-tbgavq0t.js.br +0 -0
  392. package/web/chunk-tbgavq0t.js.gz +0 -0
  393. package/web/chunk-tjma3e4d.js +7 -0
  394. package/web/chunk-tjma3e4d.js.br +0 -0
  395. package/web/chunk-tjma3e4d.js.gz +0 -0
  396. package/web/chunk-tn39vbcz.js +2 -0
  397. package/web/chunk-tn39vbcz.js.br +0 -0
  398. package/web/chunk-tn39vbcz.js.gz +0 -0
  399. package/web/chunk-tv9rz73h.js +30 -0
  400. package/web/chunk-tv9rz73h.js.br +0 -0
  401. package/web/chunk-tv9rz73h.js.gz +0 -0
  402. package/web/chunk-twgzayjk.js +1 -0
  403. package/web/chunk-twgzayjk.js.br +0 -0
  404. package/web/chunk-twgzayjk.js.gz +0 -0
  405. package/web/chunk-tz4w2nh2.js +303 -0
  406. package/web/chunk-tz4w2nh2.js.br +0 -0
  407. package/web/chunk-tz4w2nh2.js.gz +0 -0
  408. package/web/chunk-v0egh6d3.js +1 -0
  409. package/web/chunk-v0egh6d3.js.br +0 -0
  410. package/web/chunk-v0egh6d3.js.gz +0 -0
  411. package/web/chunk-vcawg8d2.js +1 -0
  412. package/web/chunk-vcawg8d2.js.br +0 -0
  413. package/web/chunk-vcawg8d2.js.gz +0 -0
  414. package/web/chunk-vh8s2rek.js +1 -0
  415. package/web/chunk-vh8s2rek.js.br +2 -0
  416. package/web/chunk-vh8s2rek.js.gz +0 -0
  417. package/web/chunk-vns6bpqm.js +2 -0
  418. package/web/chunk-vns6bpqm.js.br +0 -0
  419. package/web/chunk-vns6bpqm.js.gz +0 -0
  420. package/web/chunk-vvbte0a5.css +1 -0
  421. package/web/chunk-vvbte0a5.css.br +0 -0
  422. package/web/chunk-vvbte0a5.css.gz +0 -0
  423. package/web/chunk-vxzw2t1r.js +1 -0
  424. package/web/chunk-vxzw2t1r.js.br +0 -0
  425. package/web/chunk-vxzw2t1r.js.gz +0 -0
  426. package/web/chunk-w40atygt.js +2 -0
  427. package/web/chunk-w40atygt.js.br +0 -0
  428. package/web/chunk-w40atygt.js.gz +0 -0
  429. package/web/chunk-w4bxgcwm.js +1 -0
  430. package/web/chunk-w4bxgcwm.js.br +0 -0
  431. package/web/chunk-w4bxgcwm.js.gz +0 -0
  432. package/web/chunk-w5t00pns.js +70 -0
  433. package/web/chunk-w5t00pns.js.br +0 -0
  434. package/web/chunk-w5t00pns.js.gz +0 -0
  435. package/web/chunk-wpmzdqba.js +324 -0
  436. package/web/chunk-wpmzdqba.js.br +0 -0
  437. package/web/chunk-wpmzdqba.js.gz +0 -0
  438. package/web/chunk-x9mexzav.js +2 -0
  439. package/web/chunk-x9mexzav.js.br +0 -0
  440. package/web/chunk-x9mexzav.js.gz +0 -0
  441. package/web/chunk-xc74f1nj.js +1 -0
  442. package/web/chunk-xc74f1nj.js.br +0 -0
  443. package/web/chunk-xc74f1nj.js.gz +0 -0
  444. package/web/chunk-xs4cyb71.js +1 -0
  445. package/web/chunk-xs4cyb71.js.br +0 -0
  446. package/web/chunk-xs4cyb71.js.gz +0 -0
  447. package/web/chunk-xthg4efe.js +1 -0
  448. package/web/chunk-xthg4efe.js.br +0 -0
  449. package/web/chunk-xthg4efe.js.gz +0 -0
  450. package/web/chunk-y48mj5d7.js +1 -0
  451. package/web/chunk-y48mj5d7.js.br +0 -0
  452. package/web/chunk-y48mj5d7.js.gz +0 -0
  453. package/web/chunk-yet0bbyh.js +1 -0
  454. package/web/chunk-yet0bbyh.js.br +0 -0
  455. package/web/chunk-yet0bbyh.js.gz +0 -0
  456. package/web/chunk-yzcxmqy3.js +1 -0
  457. package/web/chunk-yzcxmqy3.js.br +0 -0
  458. package/web/chunk-yzcxmqy3.js.gz +0 -0
  459. package/web/chunk-z2a9zwwx.js +24 -0
  460. package/web/chunk-z2a9zwwx.js.br +0 -0
  461. package/web/chunk-z2a9zwwx.js.gz +0 -0
  462. package/web/chunk-z8fgdsx5.js +1 -0
  463. package/web/chunk-z8fgdsx5.js.br +0 -0
  464. package/web/chunk-z8fgdsx5.js.gz +0 -0
  465. package/web/chunk-zeyw59b9.js +2 -0
  466. package/web/chunk-zeyw59b9.js.br +0 -0
  467. package/web/chunk-zeyw59b9.js.gz +0 -0
  468. package/web/chunk-zftk5ww7.js +8 -0
  469. package/web/chunk-zftk5ww7.js.br +0 -0
  470. package/web/chunk-zftk5ww7.js.gz +0 -0
  471. package/web/chunk-zmbp3phd.js +2 -0
  472. package/web/chunk-zmbp3phd.js.br +0 -0
  473. package/web/chunk-zmbp3phd.js.gz +0 -0
  474. package/web/chunk-zpxh70dj.js +1 -0
  475. package/web/chunk-zpxh70dj.js.br +0 -0
  476. package/web/chunk-zpxh70dj.js.gz +0 -0
  477. package/web/chunk-zqhdf12s.js +39 -0
  478. package/web/chunk-zqhdf12s.js.br +0 -0
  479. package/web/chunk-zqhdf12s.js.gz +0 -0
  480. package/web/chunk-zr2xst5w.js +1 -0
  481. package/web/chunk-zr2xst5w.js.br +0 -0
  482. package/web/chunk-zr2xst5w.js.gz +0 -0
  483. package/web/index.html +27 -2
  484. package/web/index.html.br +0 -0
  485. package/web/index.html.gz +0 -0
  486. package/web/sw.js +39 -24
  487. package/web/sw.js.br +0 -0
  488. package/web/sw.js.gz +0 -0
  489. package/worker.js +1 -1
  490. package/chunk-01fz0kzx.js +0 -2
  491. package/chunk-06k5mcmy.js +0 -4018
  492. package/chunk-14pg1g7b.js +0 -2
  493. package/chunk-1cvzbvsq.js +0 -2
  494. package/chunk-1pgj58dw.js +0 -20
  495. package/chunk-200cn72d.js +0 -16
  496. package/chunk-2nd8hvf3.js +0 -31
  497. package/chunk-39wsmkd7.js +0 -4
  498. package/chunk-54qc1d5t.js +0 -2
  499. package/chunk-59enxka6.js +0 -50
  500. package/chunk-5fs3331q.js +0 -3
  501. package/chunk-674kjaqz.js +0 -2
  502. package/chunk-6pqsx156.js +0 -12
  503. package/chunk-6rw1ex78.js +0 -2
  504. package/chunk-6vz0znf6.js +0 -8
  505. package/chunk-73z1fv3d.js +0 -9
  506. package/chunk-7dnq7g8f.js +0 -3
  507. package/chunk-7emc0sy7.js +0 -11
  508. package/chunk-7nsrfrmx.js +0 -2
  509. package/chunk-8hxsap9d.js +0 -5
  510. package/chunk-8kmtns4v.js +0 -5
  511. package/chunk-9dy56agy.js +0 -51
  512. package/chunk-9mt2k1a7.js +0 -5
  513. package/chunk-9sq7yxh7.js +0 -12
  514. package/chunk-9x1yprjh.js +0 -2
  515. package/chunk-a5k24aj6.js +0 -3
  516. package/chunk-ades3qy7.js +0 -10
  517. package/chunk-ag642nqs.js +0 -8
  518. package/chunk-aq6xkc1w.js +0 -3
  519. package/chunk-av3zmcd8.js +0 -3
  520. package/chunk-b1hdfsj4.js +0 -25
  521. package/chunk-b5448t3j.js +0 -2
  522. package/chunk-b6rvzkxg.js +0 -3
  523. package/chunk-b8acka7e.js +0 -2
  524. package/chunk-bh680te4.js +0 -2
  525. package/chunk-cb4rvanv.js +0 -2
  526. package/chunk-d6hcvbkh.js +0 -3
  527. package/chunk-dqxks09b.js +0 -3
  528. package/chunk-eg161ep9.js +0 -3
  529. package/chunk-et2s8y6a.js +0 -3
  530. package/chunk-exjytvzn.js +0 -2
  531. package/chunk-f6kg68bj.js +0 -3
  532. package/chunk-fcxdq1dy.js +0 -7
  533. package/chunk-fkjjadt4.js +0 -3
  534. package/chunk-fr1zvytp.js +0 -7
  535. package/chunk-fx3cc8nr.js +0 -3
  536. package/chunk-j01t6mnq.js +0 -3
  537. package/chunk-j24fq8ss.js +0 -2
  538. package/chunk-j55tyjct.js +0 -2
  539. package/chunk-jn0dhvkp.js +0 -2
  540. package/chunk-k9dw37w2.js +0 -3
  541. package/chunk-m6bm0739.js +0 -2
  542. package/chunk-mkfdzt82.js +0 -2
  543. package/chunk-nbm1tqvg.js +0 -3
  544. package/chunk-p5ga5as0.js +0 -25
  545. package/chunk-pmefr1ak.js +0 -490
  546. package/chunk-rf6t7zeb.js +0 -286
  547. package/chunk-s0ne3yb9.js +0 -2
  548. package/chunk-s8ybq82n.js +0 -5
  549. package/chunk-spv39wem.js +0 -7
  550. package/chunk-stgqqm7m.js +0 -59
  551. package/chunk-sykaz5bf.js +0 -18
  552. package/chunk-sz0jywpb.js +0 -39
  553. package/chunk-vcngwaee.js +0 -3
  554. package/chunk-vpvznxf4.js +0 -3
  555. package/chunk-vzh6e5f2.js +0 -2
  556. package/chunk-wkvrtjtc.js +0 -2
  557. package/chunk-wzd9b2qk.js +0 -2
  558. package/chunk-x1cva1gc.js +0 -2
  559. package/chunk-x83jcg3x.js +0 -3
  560. package/chunk-xdyee71m.js +0 -10
  561. package/chunk-xdygdssk.js +0 -3
  562. package/chunk-xjcg6cxc.js +0 -3
  563. package/chunk-xran6f0c.js +0 -2
  564. package/chunk-ymn1s2xs.js +0 -3
  565. package/chunk-ysqx0ye8.js +0 -2
  566. package/chunk-z58jafcm.js +0 -3
  567. package/chunk-zf1c6rj7.js +0 -63
  568. package/chunk-zgtahh10.js +0 -44
  569. package/web/chunk-0nt1mz09.js +0 -1
  570. package/web/chunk-0nt1mz09.js.br +0 -0
  571. package/web/chunk-0nt1mz09.js.gz +0 -0
  572. package/web/chunk-0yye7ex1.js +0 -1
  573. package/web/chunk-0yye7ex1.js.br +0 -0
  574. package/web/chunk-0yye7ex1.js.gz +0 -0
  575. package/web/chunk-1hmw1eaw.js +0 -1
  576. package/web/chunk-1hmw1eaw.js.br +0 -0
  577. package/web/chunk-1hmw1eaw.js.gz +0 -0
  578. package/web/chunk-20gcnbgn.js +0 -2
  579. package/web/chunk-20gcnbgn.js.br +0 -0
  580. package/web/chunk-20gcnbgn.js.gz +0 -0
  581. package/web/chunk-2nwvdqxm.js +0 -1
  582. package/web/chunk-2nwvdqxm.js.br +0 -0
  583. package/web/chunk-2nwvdqxm.js.gz +0 -0
  584. package/web/chunk-2wvgy7f4.js +0 -1
  585. package/web/chunk-2wvgy7f4.js.br +0 -0
  586. package/web/chunk-2wvgy7f4.js.gz +0 -0
  587. package/web/chunk-368znnfs.js +0 -1
  588. package/web/chunk-368znnfs.js.br +0 -0
  589. package/web/chunk-368znnfs.js.gz +0 -0
  590. package/web/chunk-3tx9tqfb.js +0 -291
  591. package/web/chunk-3tx9tqfb.js.br +0 -0
  592. package/web/chunk-3tx9tqfb.js.gz +0 -0
  593. package/web/chunk-414npx47.js +0 -1
  594. package/web/chunk-414npx47.js.br +0 -0
  595. package/web/chunk-414npx47.js.gz +0 -0
  596. package/web/chunk-46ht4dh6.js +0 -24
  597. package/web/chunk-46ht4dh6.js.br +0 -0
  598. package/web/chunk-46ht4dh6.js.gz +0 -0
  599. package/web/chunk-4c418rk9.js +0 -1
  600. package/web/chunk-4c418rk9.js.br +0 -2
  601. package/web/chunk-4c418rk9.js.gz +0 -0
  602. package/web/chunk-4p0sm8e7.js +0 -7
  603. package/web/chunk-4p0sm8e7.js.br +0 -0
  604. package/web/chunk-4p0sm8e7.js.gz +0 -0
  605. package/web/chunk-4zam960g.js +0 -1
  606. package/web/chunk-4zam960g.js.br +0 -0
  607. package/web/chunk-4zam960g.js.gz +0 -0
  608. package/web/chunk-5h63t21g.js +0 -1
  609. package/web/chunk-5h63t21g.js.br +0 -0
  610. package/web/chunk-5h63t21g.js.gz +0 -0
  611. package/web/chunk-5h7xm5mn.js +0 -1
  612. package/web/chunk-5h7xm5mn.js.br +0 -0
  613. package/web/chunk-5h7xm5mn.js.gz +0 -0
  614. package/web/chunk-6crex674.js +0 -89
  615. package/web/chunk-6crex674.js.br +0 -0
  616. package/web/chunk-6crex674.js.gz +0 -0
  617. package/web/chunk-6v031vc6.js +0 -21
  618. package/web/chunk-6v031vc6.js.br +0 -0
  619. package/web/chunk-6v031vc6.js.gz +0 -0
  620. package/web/chunk-782gfmtk.js +0 -38
  621. package/web/chunk-782gfmtk.js.br +0 -0
  622. package/web/chunk-782gfmtk.js.gz +0 -0
  623. package/web/chunk-7a6szg06.js +0 -2
  624. package/web/chunk-7a6szg06.js.br +0 -0
  625. package/web/chunk-7a6szg06.js.gz +0 -0
  626. package/web/chunk-7dvbxn34.js +0 -4
  627. package/web/chunk-7dvbxn34.js.br +0 -0
  628. package/web/chunk-7dvbxn34.js.gz +0 -0
  629. package/web/chunk-7g795nba.js +0 -1
  630. package/web/chunk-7g795nba.js.br +0 -2
  631. package/web/chunk-7g795nba.js.gz +0 -0
  632. package/web/chunk-8fymhvne.js +0 -1
  633. package/web/chunk-8fymhvne.js.br +0 -0
  634. package/web/chunk-8fymhvne.js.gz +0 -0
  635. package/web/chunk-8kcp1h63.js +0 -1
  636. package/web/chunk-8kcp1h63.js.br +0 -0
  637. package/web/chunk-8kcp1h63.js.gz +0 -0
  638. package/web/chunk-8vtr60yn.js +0 -2
  639. package/web/chunk-8vtr60yn.js.br +0 -0
  640. package/web/chunk-8vtr60yn.js.gz +0 -0
  641. package/web/chunk-8y14zggg.js +0 -2
  642. package/web/chunk-8y14zggg.js.br +0 -0
  643. package/web/chunk-8y14zggg.js.gz +0 -0
  644. package/web/chunk-8zg840m3.js +0 -1
  645. package/web/chunk-8zg840m3.js.br +0 -0
  646. package/web/chunk-8zg840m3.js.gz +0 -0
  647. package/web/chunk-940sc4ny.js +0 -7
  648. package/web/chunk-940sc4ny.js.br +0 -0
  649. package/web/chunk-940sc4ny.js.gz +0 -0
  650. package/web/chunk-94f4sz0m.js +0 -1
  651. package/web/chunk-94f4sz0m.js.br +0 -0
  652. package/web/chunk-94f4sz0m.js.gz +0 -0
  653. package/web/chunk-94jy9s3n.js +0 -55
  654. package/web/chunk-94jy9s3n.js.br +0 -0
  655. package/web/chunk-94jy9s3n.js.gz +0 -0
  656. package/web/chunk-97qfkg6n.js +0 -30
  657. package/web/chunk-97qfkg6n.js.br +0 -0
  658. package/web/chunk-97qfkg6n.js.gz +0 -0
  659. package/web/chunk-99c0h3v7.js +0 -1
  660. package/web/chunk-99c0h3v7.js.br +0 -0
  661. package/web/chunk-99c0h3v7.js.gz +0 -0
  662. package/web/chunk-99mgkmjb.js +0 -62
  663. package/web/chunk-99mgkmjb.js.br +0 -0
  664. package/web/chunk-99mgkmjb.js.gz +0 -0
  665. package/web/chunk-9afn27bs.js +0 -1
  666. package/web/chunk-9afn27bs.js.br +0 -2
  667. package/web/chunk-9afn27bs.js.gz +0 -0
  668. package/web/chunk-aan5qk6x.js +0 -1
  669. package/web/chunk-aan5qk6x.js.br +0 -0
  670. package/web/chunk-aan5qk6x.js.gz +0 -0
  671. package/web/chunk-aw4h94zp.js +0 -1
  672. package/web/chunk-aw4h94zp.js.br +0 -0
  673. package/web/chunk-aw4h94zp.js.gz +0 -0
  674. package/web/chunk-azdhgj11.js +0 -40
  675. package/web/chunk-azdhgj11.js.br +0 -0
  676. package/web/chunk-azdhgj11.js.gz +0 -0
  677. package/web/chunk-batey85v.js +0 -2
  678. package/web/chunk-batey85v.js.br +0 -0
  679. package/web/chunk-batey85v.js.gz +0 -0
  680. package/web/chunk-brbxfap5.js +0 -99
  681. package/web/chunk-brbxfap5.js.br +0 -0
  682. package/web/chunk-brbxfap5.js.gz +0 -0
  683. package/web/chunk-bxc8a663.js +0 -2
  684. package/web/chunk-bxc8a663.js.br +0 -0
  685. package/web/chunk-bxc8a663.js.gz +0 -0
  686. package/web/chunk-c2t7zyge.js +0 -169
  687. package/web/chunk-c2t7zyge.js.br +0 -0
  688. package/web/chunk-c2t7zyge.js.gz +0 -0
  689. package/web/chunk-c5bfa3rp.js +0 -1
  690. package/web/chunk-c5bfa3rp.js.br +0 -0
  691. package/web/chunk-c5bfa3rp.js.gz +0 -0
  692. package/web/chunk-c86a6am5.js +0 -2
  693. package/web/chunk-c86a6am5.js.br +0 -3
  694. package/web/chunk-c86a6am5.js.gz +0 -0
  695. package/web/chunk-d5n2yz4e.js +0 -2
  696. package/web/chunk-d5n2yz4e.js.br +0 -0
  697. package/web/chunk-d5n2yz4e.js.gz +0 -0
  698. package/web/chunk-dgtp38mj.js +0 -1
  699. package/web/chunk-dgtp38mj.js.br +0 -0
  700. package/web/chunk-dgtp38mj.js.gz +0 -0
  701. package/web/chunk-e4cwyn1g.js +0 -2
  702. package/web/chunk-e4cwyn1g.js.br +0 -0
  703. package/web/chunk-e4cwyn1g.js.gz +0 -0
  704. package/web/chunk-e4h4dg4y.js +0 -303
  705. package/web/chunk-e4h4dg4y.js.br +0 -0
  706. package/web/chunk-e4h4dg4y.js.gz +0 -0
  707. package/web/chunk-e5f8e2ta.js +0 -1
  708. package/web/chunk-e5f8e2ta.js.br +0 -0
  709. package/web/chunk-e5f8e2ta.js.gz +0 -0
  710. package/web/chunk-e7rwnv7e.js +0 -1
  711. package/web/chunk-e7rwnv7e.js.br +0 -0
  712. package/web/chunk-e7rwnv7e.js.gz +0 -0
  713. package/web/chunk-ef9tqrz4.js +0 -324
  714. package/web/chunk-ef9tqrz4.js.br +0 -0
  715. package/web/chunk-ef9tqrz4.js.gz +0 -0
  716. package/web/chunk-efjc9mga.js +0 -2
  717. package/web/chunk-efjc9mga.js.br +0 -0
  718. package/web/chunk-efjc9mga.js.gz +0 -0
  719. package/web/chunk-ekcnhcm0.js +0 -1
  720. package/web/chunk-ekcnhcm0.js.br +0 -0
  721. package/web/chunk-ekcnhcm0.js.gz +0 -0
  722. package/web/chunk-ekkdhece.js +0 -41
  723. package/web/chunk-ekkdhece.js.br +0 -0
  724. package/web/chunk-ekkdhece.js.gz +0 -0
  725. package/web/chunk-enbqe508.js +0 -36
  726. package/web/chunk-enbqe508.js.br +0 -0
  727. package/web/chunk-enbqe508.js.gz +0 -0
  728. package/web/chunk-ev517x0c.js +0 -1
  729. package/web/chunk-ev517x0c.js.br +0 -0
  730. package/web/chunk-ev517x0c.js.gz +0 -0
  731. package/web/chunk-ex47jeev.js +0 -1
  732. package/web/chunk-ex47jeev.js.br +0 -0
  733. package/web/chunk-ex47jeev.js.gz +0 -0
  734. package/web/chunk-f5wyg9zh.js +0 -2
  735. package/web/chunk-f5wyg9zh.js.br +0 -0
  736. package/web/chunk-f5wyg9zh.js.gz +0 -0
  737. package/web/chunk-ft9p7cr8.js +0 -8
  738. package/web/chunk-ft9p7cr8.js.br +0 -0
  739. package/web/chunk-ft9p7cr8.js.gz +0 -0
  740. package/web/chunk-ftdzs90e.js +0 -1
  741. package/web/chunk-ftdzs90e.js.br +0 -0
  742. package/web/chunk-ftdzs90e.js.gz +0 -0
  743. package/web/chunk-fybmc8p1.js +0 -1
  744. package/web/chunk-fybmc8p1.js.br +0 -0
  745. package/web/chunk-fybmc8p1.js.gz +0 -0
  746. package/web/chunk-g6e50kx0.js +0 -3
  747. package/web/chunk-g6e50kx0.js.br +0 -0
  748. package/web/chunk-g6e50kx0.js.gz +0 -0
  749. package/web/chunk-g6grehr5.css +0 -1
  750. package/web/chunk-g6grehr5.css.br +0 -0
  751. package/web/chunk-g6grehr5.css.gz +0 -0
  752. package/web/chunk-gbzfq3rg.js +0 -332
  753. package/web/chunk-gbzfq3rg.js.br +0 -0
  754. package/web/chunk-gbzfq3rg.js.gz +0 -0
  755. package/web/chunk-gsg8yq3m.js +0 -1
  756. package/web/chunk-gsg8yq3m.js.br +0 -0
  757. package/web/chunk-gsg8yq3m.js.gz +0 -0
  758. package/web/chunk-gvndjaan.js +0 -2
  759. package/web/chunk-gvndjaan.js.br +0 -0
  760. package/web/chunk-gvndjaan.js.gz +0 -0
  761. package/web/chunk-hgcgbxns.js +0 -1
  762. package/web/chunk-hgcgbxns.js.br +0 -0
  763. package/web/chunk-hgcgbxns.js.gz +0 -0
  764. package/web/chunk-hh8ck7sy.js +0 -2
  765. package/web/chunk-hh8ck7sy.js.br +0 -0
  766. package/web/chunk-hh8ck7sy.js.gz +0 -0
  767. package/web/chunk-hj18pw9f.js +0 -2
  768. package/web/chunk-hj18pw9f.js.br +0 -0
  769. package/web/chunk-hj18pw9f.js.gz +0 -0
  770. package/web/chunk-hk4jd2qq.js +0 -24
  771. package/web/chunk-hk4jd2qq.js.br +0 -0
  772. package/web/chunk-hk4jd2qq.js.gz +0 -0
  773. package/web/chunk-hrnx1576.js +0 -4
  774. package/web/chunk-hrnx1576.js.br +0 -0
  775. package/web/chunk-hrnx1576.js.gz +0 -0
  776. package/web/chunk-hzvff525.js +0 -2
  777. package/web/chunk-hzvff525.js.br +0 -0
  778. package/web/chunk-hzvff525.js.gz +0 -0
  779. package/web/chunk-j0ns5dyq.js +0 -120
  780. package/web/chunk-j0ns5dyq.js.br +0 -0
  781. package/web/chunk-j0ns5dyq.js.gz +0 -0
  782. package/web/chunk-j21a7pd1.js +0 -1
  783. package/web/chunk-j21a7pd1.js.br +0 -0
  784. package/web/chunk-j21a7pd1.js.gz +0 -0
  785. package/web/chunk-jbejy8k3.js +0 -1139
  786. package/web/chunk-jbejy8k3.js.br +0 -0
  787. package/web/chunk-jbejy8k3.js.gz +0 -0
  788. package/web/chunk-jeq99z4t.js +0 -70
  789. package/web/chunk-jeq99z4t.js.br +0 -0
  790. package/web/chunk-jeq99z4t.js.gz +0 -0
  791. package/web/chunk-jqq07zta.js +0 -1
  792. package/web/chunk-jqq07zta.js.br +0 -0
  793. package/web/chunk-jqq07zta.js.gz +0 -0
  794. package/web/chunk-k6m37v6k.js +0 -1
  795. package/web/chunk-k6m37v6k.js.br +0 -0
  796. package/web/chunk-k6m37v6k.js.gz +0 -0
  797. package/web/chunk-kajk2w5j.js +0 -217
  798. package/web/chunk-kajk2w5j.js.br +0 -0
  799. package/web/chunk-kajk2w5j.js.gz +0 -0
  800. package/web/chunk-kcrypnnf.js +0 -1
  801. package/web/chunk-kcrypnnf.js.br +0 -0
  802. package/web/chunk-kcrypnnf.js.gz +0 -0
  803. package/web/chunk-kyksv8an.js +0 -1
  804. package/web/chunk-kyksv8an.js.br +0 -2
  805. package/web/chunk-kyksv8an.js.gz +0 -0
  806. package/web/chunk-mkhcq6z6.js +0 -1
  807. package/web/chunk-mkhcq6z6.js.br +0 -0
  808. package/web/chunk-mkhcq6z6.js.gz +0 -0
  809. package/web/chunk-mqdvg55y.js +0 -2
  810. package/web/chunk-mqdvg55y.js.br +0 -0
  811. package/web/chunk-mqdvg55y.js.gz +0 -0
  812. package/web/chunk-mytypet0.js +0 -2
  813. package/web/chunk-mytypet0.js.br +0 -0
  814. package/web/chunk-mytypet0.js.gz +0 -0
  815. package/web/chunk-mzb086jr.js +0 -1
  816. package/web/chunk-mzb086jr.js.br +0 -0
  817. package/web/chunk-mzb086jr.js.gz +0 -0
  818. package/web/chunk-mzevfdmp.js +0 -1
  819. package/web/chunk-mzevfdmp.js.br +0 -0
  820. package/web/chunk-mzevfdmp.js.gz +0 -0
  821. package/web/chunk-n7c5sndg.js +0 -1
  822. package/web/chunk-n7c5sndg.js.br +0 -0
  823. package/web/chunk-n7c5sndg.js.gz +0 -0
  824. package/web/chunk-ned200k0.js +0 -84
  825. package/web/chunk-ned200k0.js.br +0 -0
  826. package/web/chunk-ned200k0.js.gz +0 -0
  827. package/web/chunk-ngcd5a3c.js +0 -1
  828. package/web/chunk-ngcd5a3c.js.br +0 -0
  829. package/web/chunk-ngcd5a3c.js.gz +0 -0
  830. package/web/chunk-ngsv0xfb.js +0 -1
  831. package/web/chunk-ngsv0xfb.js.br +0 -0
  832. package/web/chunk-ngsv0xfb.js.gz +0 -0
  833. package/web/chunk-nx14h1a6.js +0 -1
  834. package/web/chunk-nx14h1a6.js.br +0 -0
  835. package/web/chunk-nx14h1a6.js.gz +0 -0
  836. package/web/chunk-p3fv7nbz.js +0 -1
  837. package/web/chunk-p3fv7nbz.js.br +0 -0
  838. package/web/chunk-p3fv7nbz.js.gz +0 -0
  839. package/web/chunk-pktgtyf6.js +0 -1
  840. package/web/chunk-pktgtyf6.js.br +0 -0
  841. package/web/chunk-pktgtyf6.js.gz +0 -0
  842. package/web/chunk-pm504vps.js +0 -89
  843. package/web/chunk-pm504vps.js.br +0 -0
  844. package/web/chunk-pm504vps.js.gz +0 -0
  845. package/web/chunk-pnvkphs0.js +0 -12
  846. package/web/chunk-pnvkphs0.js.br +0 -0
  847. package/web/chunk-pnvkphs0.js.gz +0 -0
  848. package/web/chunk-ptvshaa0.js +0 -2
  849. package/web/chunk-ptvshaa0.js.br +0 -0
  850. package/web/chunk-ptvshaa0.js.gz +0 -0
  851. package/web/chunk-py4737sc.js +0 -39
  852. package/web/chunk-py4737sc.js.br +0 -0
  853. package/web/chunk-py4737sc.js.gz +0 -0
  854. package/web/chunk-pz5wcbdv.js +0 -139
  855. package/web/chunk-pz5wcbdv.js.br +0 -0
  856. package/web/chunk-pz5wcbdv.js.gz +0 -0
  857. package/web/chunk-q467b529.js +0 -1
  858. package/web/chunk-q467b529.js.br +0 -0
  859. package/web/chunk-q467b529.js.gz +0 -0
  860. package/web/chunk-qbvbfpx8.js +0 -1
  861. package/web/chunk-qbvbfpx8.js.br +0 -0
  862. package/web/chunk-qbvbfpx8.js.gz +0 -0
  863. package/web/chunk-qgfc4ptt.js +0 -7
  864. package/web/chunk-qgfc4ptt.js.br +0 -0
  865. package/web/chunk-qgfc4ptt.js.gz +0 -0
  866. package/web/chunk-qmmss130.js +0 -2
  867. package/web/chunk-qmmss130.js.br +0 -0
  868. package/web/chunk-qmmss130.js.gz +0 -0
  869. package/web/chunk-qqrzr444.js +0 -2
  870. package/web/chunk-qqrzr444.js.br +0 -0
  871. package/web/chunk-qqrzr444.js.gz +0 -0
  872. package/web/chunk-r2fjprkk.js +0 -1
  873. package/web/chunk-r2fjprkk.js.br +0 -0
  874. package/web/chunk-r2fjprkk.js.gz +0 -0
  875. package/web/chunk-rcn21n5e.js +0 -214
  876. package/web/chunk-rcn21n5e.js.br +0 -0
  877. package/web/chunk-rcn21n5e.js.gz +0 -0
  878. package/web/chunk-rj1rp0tc.js +0 -1
  879. package/web/chunk-rj1rp0tc.js.br +0 -0
  880. package/web/chunk-rj1rp0tc.js.gz +0 -0
  881. package/web/chunk-rpnw9xwe.js +0 -1
  882. package/web/chunk-rpnw9xwe.js.br +0 -0
  883. package/web/chunk-rpnw9xwe.js.gz +0 -0
  884. package/web/chunk-rv5h4d8w.js +0 -1
  885. package/web/chunk-rv5h4d8w.js.br +0 -0
  886. package/web/chunk-rv5h4d8w.js.gz +0 -0
  887. package/web/chunk-s00gxcxn.js +0 -2
  888. package/web/chunk-s00gxcxn.js.br +0 -0
  889. package/web/chunk-s00gxcxn.js.gz +0 -0
  890. package/web/chunk-s8e8gzvn.js +0 -16
  891. package/web/chunk-s8e8gzvn.js.br +0 -0
  892. package/web/chunk-s8e8gzvn.js.gz +0 -0
  893. package/web/chunk-sa57mndb.js +0 -1
  894. package/web/chunk-sa57mndb.js.br +0 -0
  895. package/web/chunk-sa57mndb.js.gz +0 -0
  896. package/web/chunk-sc90h9bd.js +0 -2
  897. package/web/chunk-sc90h9bd.js.br +0 -0
  898. package/web/chunk-sc90h9bd.js.gz +0 -0
  899. package/web/chunk-t44qa4yt.js +0 -200
  900. package/web/chunk-t44qa4yt.js.br +0 -0
  901. package/web/chunk-t44qa4yt.js.gz +0 -0
  902. package/web/chunk-t8b8cdak.js +0 -2
  903. package/web/chunk-t8b8cdak.js.br +0 -0
  904. package/web/chunk-t8b8cdak.js.gz +0 -0
  905. package/web/chunk-t9cgbcf2.js +0 -1
  906. package/web/chunk-t9cgbcf2.js.br +0 -0
  907. package/web/chunk-t9cgbcf2.js.gz +0 -0
  908. package/web/chunk-tk8kf0bf.js +0 -2
  909. package/web/chunk-tk8kf0bf.js.br +0 -0
  910. package/web/chunk-tk8kf0bf.js.gz +0 -0
  911. package/web/chunk-tntwwpyh.js +0 -2
  912. package/web/chunk-tntwwpyh.js.br +0 -0
  913. package/web/chunk-tntwwpyh.js.gz +0 -0
  914. package/web/chunk-tt3v857c.js +0 -106
  915. package/web/chunk-tt3v857c.js.br +0 -0
  916. package/web/chunk-tt3v857c.js.gz +0 -0
  917. package/web/chunk-vjnmqaam.js +0 -2
  918. package/web/chunk-vjnmqaam.js.br +0 -0
  919. package/web/chunk-vjnmqaam.js.gz +0 -0
  920. package/web/chunk-vndrjeyr.js +0 -2
  921. package/web/chunk-vndrjeyr.js.br +0 -0
  922. package/web/chunk-vndrjeyr.js.gz +0 -0
  923. package/web/chunk-vp5qf59s.js +0 -1
  924. package/web/chunk-vp5qf59s.js.br +0 -0
  925. package/web/chunk-vp5qf59s.js.gz +0 -0
  926. package/web/chunk-wdd9pasx.js +0 -1
  927. package/web/chunk-wdd9pasx.js.br +0 -0
  928. package/web/chunk-wdd9pasx.js.gz +0 -0
  929. package/web/chunk-wrax5wt5.js +0 -292
  930. package/web/chunk-wrax5wt5.js.br +0 -0
  931. package/web/chunk-wrax5wt5.js.gz +0 -0
  932. package/web/chunk-yarejzzs.js +0 -142
  933. package/web/chunk-yarejzzs.js.br +0 -0
  934. package/web/chunk-yarejzzs.js.gz +0 -0
  935. package/web/chunk-yg6ys554.js +0 -1
  936. package/web/chunk-yg6ys554.js.br +0 -0
  937. package/web/chunk-yg6ys554.js.gz +0 -0
  938. package/web/chunk-yq6xkb5w.js +0 -370
  939. package/web/chunk-yq6xkb5w.js.br +0 -0
  940. package/web/chunk-yq6xkb5w.js.gz +0 -0
  941. package/web/chunk-yw98mr7e.js +0 -2
  942. package/web/chunk-yw98mr7e.js.br +0 -0
  943. package/web/chunk-yw98mr7e.js.gz +0 -0
  944. package/web/chunk-z07kf12w.js +0 -78
  945. package/web/chunk-z07kf12w.js.br +0 -0
  946. package/web/chunk-z07kf12w.js.gz +0 -0
  947. package/web/chunk-z5sk390b.js +0 -2
  948. package/web/chunk-z5sk390b.js.br +0 -0
  949. package/web/chunk-z5sk390b.js.gz +0 -0
  950. package/web/chunk-zh2szkjy.js +0 -140
  951. package/web/chunk-zh2szkjy.js.br +0 -0
  952. package/web/chunk-zh2szkjy.js.gz +0 -0
  953. package/web/chunk-zrmm67mx.js +0 -34
  954. package/web/chunk-zrmm67mx.js.br +0 -0
  955. package/web/chunk-zrmm67mx.js.gz +0 -0
  956. package/web/chunk-zyfr25n1.js +0 -98
  957. package/web/chunk-zyfr25n1.js.br +0 -0
  958. package/web/chunk-zyfr25n1.js.gz +0 -0
  959. package/web/chunk-zykkmwba.js +0 -2
  960. package/web/chunk-zykkmwba.js.br +0 -0
  961. package/web/chunk-zykkmwba.js.gz +0 -0
  962. package/web/chunk-zzs4h31m.js +0 -2
  963. package/web/chunk-zzs4h31m.js.br +0 -0
  964. package/web/chunk-zzs4h31m.js.gz +0 -0
Binary file
Binary file
@@ -1,70 +0,0 @@
1
- import{t,C,W,L,M,P,R,I,O,D,u,J,Mt,v}from"./chunk-e4h4dg4y.js";var dt=function(){var e=t(function(z,i,n,s){for(n=n||{},s=z.length;s--;n[z[s]]=i);return n},"o"),y=[1,4],r=[1,14],l=[1,12],o=[1,13],f=[6,7,8],g=[1,20],d=[1,18],b=[1,19],c=[6,7,11],w=[1,6,13,14],m=[1,23],x=[1,24],S=[1,6,7,11,13,14],U={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"ISHIKAWA",11:"EOF",13:"SPACELIST",14:"TEXT"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:t(function(i,n,s,h,p,a,E){var _=a.length-1;switch(p){case 6:case 7:return h;case 15:h.addNode(a[_-1].length,a[_].trim());break;case 16:h.addNode(0,a[_].trim());break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:y},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:y},{6:r,7:[1,10],9:9,12:11,13:l,14:o},e(f,[2,3]),{1:[2,2]},e(f,[2,4]),e(f,[2,5]),{1:[2,6],6:r,12:15,13:l,14:o},{6:r,9:16,12:11,13:l,14:o},{6:g,7:d,10:17,11:b},e(c,[2,18],{14:[1,21]}),e(c,[2,16]),e(c,[2,17]),{6:g,7:d,10:22,11:b},{1:[2,7],6:r,12:15,13:l,14:o},e(w,[2,14],{7:m,11:x}),e(S,[2,8]),e(S,[2,9]),e(S,[2,10]),e(c,[2,15]),e(w,[2,13],{7:m,11:x}),e(S,[2,11]),e(S,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:t(function(i,n){if(n.recoverable)this.trace(i);else{var s=Error(i);throw s.hash=n,s}},"parseError"),parse:t(function(i){var n=this,s=[0],h=[],p=[null],a=[],E=this.table,_="",V=0,A=0,N=0,F=2,X=1,rt=a.slice.call(arguments,1),k=Object.create(this.lexer),T={yy:{}};for(var K in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,K))T.yy[K]=this.yy[K];if(k.setInput(i,T.yy),T.yy.lexer=k,T.yy.parser=this,typeof k.yylloc>"u")k.yylloc={};var q=k.yylloc;a.push(q);var lt=k.options&&k.options.ranges;if(typeof T.yy.parseError==="function")this.parseError=T.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function xt(G){s.length=s.length-2*G,p.length=p.length-G,a.length=a.length-G}t(xt,"popStack");function yt(){var G=h.pop()||k.lex()||X;if(typeof G!=="number"){if(G instanceof Array)h=G,G=h.pop();G=n.symbols_[G]||G}return G}t(yt,"lex");var j,ot,Q,H,Rt,ht,tt={},st,Y,ft,nt;while(!0){if(Q=s[s.length-1],this.defaultActions[Q])H=this.defaultActions[Q];else{if(j===null||typeof j>"u")j=yt();H=E[Q]&&E[Q][j]}if(typeof H>"u"||!H.length||!H[0]){var ct="";nt=[];for(st in E[Q])if(this.terminals_[st]&&st>F)nt.push("'"+this.terminals_[st]+"'");if(k.showPosition)ct="Parse error on line "+(V+1)+`:
2
- `+k.showPosition()+`
3
- Expecting `+nt.join(", ")+", got '"+(this.terminals_[j]||j)+"'";else ct="Parse error on line "+(V+1)+": Unexpected "+(j==X?"end of input":"'"+(this.terminals_[j]||j)+"'");this.parseError(ct,{text:k.match,token:this.terminals_[j]||j,line:k.yylineno,loc:q,expected:nt})}if(H[0]instanceof Array&&H.length>1)throw Error("Parse Error: multiple actions possible at state: "+Q+", token: "+j);switch(H[0]){case 1:if(s.push(j),p.push(k.yytext),a.push(k.yylloc),s.push(H[1]),j=null,!ot){if(A=k.yyleng,_=k.yytext,V=k.yylineno,q=k.yylloc,N>0)N--}else j=ot,ot=null;break;case 2:if(Y=this.productions_[H[1]][1],tt.$=p[p.length-Y],tt._$={first_line:a[a.length-(Y||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(Y||1)].first_column,last_column:a[a.length-1].last_column},lt)tt._$.range=[a[a.length-(Y||1)].range[0],a[a.length-1].range[1]];if(ht=this.performAction.apply(tt,[_,A,V,T.yy,H[1],p,a].concat(rt)),typeof ht<"u")return ht;if(Y)s=s.slice(0,-1*Y*2),p=p.slice(0,-1*Y),a=a.slice(0,-1*Y);s.push(this.productions_[H[1]][0]),p.push(tt.$),a.push(tt._$),ft=E[s[s.length-2]][s[s.length-1]],s.push(ft);break;case 3:return!0}}return!0},"parse")},Z=function(){var z={EOF:1,parseError:t(function(n,s){if(this.yy.parser)this.yy.parser.parseError(n,s);else throw Error(n)},"parseError"),setInput:t(function(i,n){if(this.yy=n||this.yy||{},this._input=i,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 i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var n=i.match(/(?:\r\n?|\n).*/g);if(n)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),i},"input"),unput:t(function(i){var n=i.length,s=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var h=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),s.length-1)this.yylineno-=s.length-1;var p=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:s?(s.length===h.length?this.yylloc.first_column:0)+h[h.length-s.length].length-s[0].length:this.yylloc.first_column-n},this.options.ranges)this.yylloc.range=[p[0],p[0]+this.yyleng-n];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
- `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(i){this.unput(this.match.slice(i))},"less"),pastInput:t(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var i=this.match;if(i.length<20)i+=this._input.substr(0,20-i.length);return(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var i=this.pastInput(),n=Array(i.length+1).join("-");return i+this.upcomingInput()+`
5
- `+n+"^"},"showPosition"),test_match:t(function(i,n){var s,h,p;if(this.options.backtrack_lexer){if(p={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges)p.yylloc.range=this.yylloc.range.slice(0)}if(h=i[0].match(/(?:\r\n?|\n).*/g),h)this.yylineno+=h.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:h?h[h.length-1].length-h[h.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+i[0].length},this.yytext+=i[0],this.match+=i[0],this.matches=i,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(i[0].length),this.matched+=i[0],s=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(s)return s;else if(this._backtrack){for(var a in p)this[a]=p[a];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var i,n,s,h;if(!this._more)this.yytext="",this.match="";var p=this._currentRules();for(var a=0;a<p.length;a++)if(s=this._input.match(this.rules[p[a]]),s&&(!n||s[0].length>n[0].length)){if(n=s,h=a,this.options.backtrack_lexer)if(i=this.test_match(s,p[a]),i!==!1)return i;else if(this._backtrack){n=!1;continue}else return!1;else if(!this.options.flex)break}if(n){if(i=this.test_match(n,p[h]),i!==!1)return i;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
- `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var n=this.next();if(n)return n;else return this.lex()},"lex"),begin:t(function(n){this.conditionStack.push(n)},"begin"),popState:t(function(){var n=this.conditionStack.length-1;if(n>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(n){if(n=this.conditionStack.length-1-Math.abs(n||0),n>=0)return this.conditionStack[n];else return"INITIAL"},"topState"),pushState:t(function(n){this.begin(n)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(n,s,h,p){var a=p;switch(h){case 0:return 6;case 1:return 8;case 2:return 8;case 3:return 6;case 4:return 7;case 5:return 13;case 6:return 14;case 7:return 11}},"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:ishikawa-beta\b)/i,/^(?:ishikawa\b)/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:[^\n]+)/i,/^(?:$)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7],inclusive:!0}}};return z}();U.lexer=Z;function B(){this.yy={}}return t(B,"Parser"),B.prototype=U,U.Parser=B,new B}();dt.parser=dt;var vt=dt,St=class{constructor(){this.stack=[],this.clear=this.clear.bind(this),this.addNode=this.addNode.bind(this),this.getRoot=this.getRoot.bind(this)}static{t(this,"IshikawaDB")}clear(){this.root=void 0,this.stack=[],this.baseLevel=void 0,L()}getRoot(){return this.root}addNode(e,y){let r=C.sanitizeText(y,u());if(!this.root){this.root={text:r,children:[]},this.stack=[{level:0,node:this.root}],O(r);return}this.baseLevel??=e;let l=e-this.baseLevel+1;if(l<=0)l=1;while(this.stack.length>1&&this.stack[this.stack.length-1].level>=l)this.stack.pop();let o=this.stack[this.stack.length-1].node,f={text:r,children:[]};o.children.push(f),this.stack.push({level:l,node:f})}getAccTitle(){return P()}setAccTitle(e){M(e)}getAccDescription(){return I()}setAccDescription(e){R(e)}getDiagramTitle(){return D()}setDiagramTitle(e){O(e)}},Et=14,et=250,$t=30,At=60,It=5,bt=82*Math.PI/180,pt=Math.cos(bt),gt=Math.sin(bt),kt=t((e,y,r)=>{let l=e.node().getBBox(),o=l.width+y*2,f=l.height+y*2;W(e,f,o,r),e.attr("viewBox",`${l.x-y} ${l.y-y} ${o} ${f}`)},"applyPaddedViewBox"),Lt=t((e,y,r,l)=>{let f=l.db.getRoot();if(!f)return;let g=u(),{look:d,handDrawnSeed:b,themeVariables:c}=g,w=Mt(g.fontSize)[0]??Et,m=d==="handDrawn",x=f.children??[],S=g.ishikawa?.diagramPadding??20,U=g.ishikawa?.useMaxWidth??!1,Z=J(y),B=Z.append("g").attr("class","ishikawa"),z=m?v.svg(Z.node()):void 0,i=z?{roughSvg:z,seed:b??0,lineColor:c?.lineColor??"#333",fillColor:c?.mainBkg??"#fff"}:void 0,n=`ishikawa-arrow-${y}`;if(!m)B.append("defs").append("marker").attr("id",n).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 Z").attr("class","ishikawa-arrow");let s=0,h=et,p=m?void 0:it(B,s,h,s,h,"ishikawa-spine");if(Tt(B,s,h,f.text,w,i),!x.length){if(m)it(B,s,h,s,h,"ishikawa-spine",i);kt(Z,S,U);return}s-=20;let a=x.filter((k,T)=>T%2===0),E=x.filter((k,T)=>T%2===1),_=mt(a),V=mt(E),A=_.total+V.total,N=et,F=et;if(A>0){let k=et*2,T=et*0.3;N=Math.max(T,k*(_.total/A)),F=Math.max(T,k*(V.total/A))}let X=w*2;if(N=Math.max(N,_.max*X),F=Math.max(F,V.max*X),h=Math.max(N,et),p)p.attr("y1",h).attr("y2",h);B.select(".ishikawa-head-group").attr("transform",`translate(0,${h})`);let rt=Math.ceil(x.length/2);for(let k=0;k<rt;k++){let T=B.append("g").attr("class","ishikawa-pair");for(let[K,q,lt]of[[x[k*2],-1,N],[x[k*2+1],1,F]])if(K)Nt(T,K,s,h,q,lt,w,i);s=T.selectAll("text").nodes().reduce((K,q)=>Math.min(K,q.getBBox().x),1/0)}if(m)it(B,s,h,0,h,"ishikawa-spine",i);else{p.attr("x1",s);let k=`url(#${n})`;B.selectAll("line.ishikawa-branch, line.ishikawa-sub-branch").attr("marker-start",k)}kt(Z,S,U)},"draw"),mt=t((e)=>{let y=t((r)=>r.children.reduce((l,o)=>l+1+y(o),0),"countDescendants");return e.reduce((r,l)=>{let o=y(l);return r.total+=o,r.max=Math.max(r.max,o),r},{total:0,max:0})},"sideStats"),Tt=t((e,y,r,l,o,f)=>{let g=Math.max(6,Math.floor(110/(o*0.6))),d=e.append("g").attr("class","ishikawa-head-group").attr("transform",`translate(${y},${r})`),b=at(d,_t(l,g),0,0,"ishikawa-head-label","start",o),c=b.node().getBBox(),w=Math.max(60,c.width+6),m=Math.max(40,c.height*2+40),x=`M 0 ${-m/2} L 0 ${m/2} Q ${w*2.4} 0 0 ${-m/2} Z`;if(f){let S=f.roughSvg.path(x,{roughness:1.5,seed:f.seed,fill:f.fillColor,fillStyle:"hachure",fillWeight:2.5,hachureGap:5,stroke:f.lineColor,strokeWidth:2});d.insert(()=>S,":first-child").attr("class","ishikawa-head")}else d.insert("path",":first-child").attr("class","ishikawa-head").attr("d",x);b.attr("transform",`translate(${(w-c.width)/2-c.x+3},${-c.y-c.height/2})`)},"drawHead"),Pt=t((e,y)=>{let r=[],l=[],o=t((f,g,d)=>{let b=y===-1?[...f].reverse():f;for(let c of b){let w=r.length,m=c.children??[];if(r.push({depth:d,text:_t(c.text,15),parentIndex:g,childCount:m.length}),d%2===0){if(l.push(w),m.length)o(m,w,d+1)}else{if(m.length)o(m,w,d+1);l.push(w)}}},"walk");return o(e,-1,2),{entries:r,yOrder:l}},"flattenTree"),Bt=t((e,y,r,l,o,f,g)=>{let d=e.append("g").attr("class","ishikawa-label-group"),c=at(d,y,r,l+11*o,"ishikawa-label cause","middle",f).node().getBBox();if(g){let w=g.roughSvg.rectangle(c.x-20,c.y-2,c.width+40,c.height+4,{roughness:1.5,seed:g.seed,fill:g.fillColor,fillStyle:"hachure",fillWeight:2.5,hachureGap:5,stroke:g.lineColor,strokeWidth:2});d.insert(()=>w,":first-child").attr("class","ishikawa-label-box")}else d.insert("rect",":first-child").attr("class","ishikawa-label-box").attr("x",c.x-20).attr("y",c.y-2).attr("width",c.width+40).attr("height",c.height+4)},"drawCauseLabel"),ut=t((e,y,r,l,o,f)=>{let g=Math.sqrt(l*l+o*o);if(g===0)return;let d=l/g,b=o/g,c=6,w=-b*c,m=d*c,x=y,S=r,U=`M ${x} ${S} L ${x-d*c*2+w} ${S-b*c*2+m} L ${x-d*c*2-w} ${S-b*c*2-m} Z`,Z=f.roughSvg.path(U,{roughness:1,seed:f.seed,fill:f.lineColor,fillStyle:"solid",stroke:f.lineColor,strokeWidth:1});e.append(()=>Z)},"drawArrowMarker"),Nt=t((e,y,r,l,o,f,g,d)=>{let b=y.children??[],c=f*(b.length?1:0.2),w=-pt*c,m=gt*c*o,x=r+w,S=l+m;if(it(e,r,l,x,S,"ishikawa-branch",d),d)ut(e,r,l,r-x,l-S,d);if(Bt(e,y.text,x,S,o,g,d),!b.length)return;let{entries:U,yOrder:Z}=Pt(b,o),B=U.length,z=Array(B);for(let[p,a]of Z.entries())z[a]=l+m*((p+1)/(B+1));let i=new Map;i.set(-1,{x0:r,y0:l,x1:x,y1:S,childCount:b.length,childrenDrawn:0});let n=-pt,s=gt*o,h=o<0?"ishikawa-label up":"ishikawa-label down";for(let[p,a]of U.entries()){let E=z[p],_=i.get(a.parentIndex),V=e.append("g").attr("class","ishikawa-sub-group"),A=0,N=0,F=0;if(a.depth%2===0){let X=_.y1-_.y0;if(A=wt(_.x0,_.x1,X?(E-_.y0)/X:0.5),N=E,F=A-(a.childCount>0?At+a.childCount*It:$t),it(V,A,E,F,E,"ishikawa-sub-branch",d),d)ut(V,A,E,1,0,d);at(V,a.text,F,E,"ishikawa-label align","end",g)}else{let X=_.childrenDrawn++;if(A=wt(_.x0,_.x1,(_.childCount-X)/(_.childCount+1)),N=_.y0,F=A+n*((E-N)/s),it(V,A,N,F,E,"ishikawa-sub-branch",d),d)ut(V,A,N,A-F,N-E,d);at(V,a.text,F,E,h,"end",g)}if(a.childCount>0)i.set(p,{x0:A,y0:N,x1:F,y1:E,childCount:a.childCount,childrenDrawn:0})}},"drawBranch"),Dt=t((e)=>e.split(/<br\s*\/?>|\n/),"splitLines"),_t=t((e,y)=>{if(e.length<=y)return e;let r=[];for(let l of e.split(/\s+/)){let o=r.length-1;if(o>=0&&r[o].length+1+l.length<=y)r[o]+=" "+l;else r.push(l)}return r.join(`
7
- `)},"wrapText"),at=t((e,y,r,l,o,f,g)=>{let d=Dt(y),b=g*1.05,c=e.append("text").attr("class",o).attr("text-anchor",f).attr("x",r).attr("y",l-(d.length-1)*b/2);for(let[w,m]of d.entries())c.append("tspan").attr("x",r).attr("dy",w===0?0:b).text(m);return c},"drawMultilineText"),wt=t((e,y,r)=>e+(y-e)*r,"lerp"),it=t((e,y,r,l,o,f,g)=>{if(g){let d=g.roughSvg.line(y,r,l,o,{roughness:1.5,seed:g.seed,stroke:g.lineColor,strokeWidth:2});e.append(()=>d).attr("class",f);return}return e.append("line").attr("class",f).attr("x1",y).attr("y1",r).attr("x2",l).attr("y2",o)},"drawLine"),Ot={draw:Lt},Ct=t((e)=>`
8
- .ishikawa .ishikawa-spine,
9
- .ishikawa .ishikawa-branch,
10
- .ishikawa .ishikawa-sub-branch {
11
- stroke: ${e.lineColor};
12
- stroke-width: 2;
13
- fill: none;
14
- }
15
-
16
- .ishikawa .ishikawa-sub-branch {
17
- stroke-width: 1;
18
- }
19
-
20
- .ishikawa .ishikawa-arrow {
21
- fill: ${e.lineColor};
22
- }
23
-
24
- .ishikawa .ishikawa-head {
25
- fill: ${e.mainBkg};
26
- stroke: ${e.lineColor};
27
- stroke-width: 2;
28
- }
29
-
30
- .ishikawa .ishikawa-label-box {
31
- fill: ${e.mainBkg};
32
- stroke: ${e.lineColor};
33
- stroke-width: 2;
34
- }
35
-
36
- .ishikawa text {
37
- font-family: ${e.fontFamily};
38
- font-size: ${e.fontSize};
39
- fill: ${e.textColor};
40
- }
41
-
42
- .ishikawa .ishikawa-head-label {
43
- font-weight: 600;
44
- text-anchor: middle;
45
- dominant-baseline: middle;
46
- font-size: 14px;
47
- }
48
-
49
- .ishikawa .ishikawa-label {
50
- text-anchor: end;
51
- }
52
-
53
- .ishikawa .ishikawa-label.cause {
54
- text-anchor: middle;
55
- dominant-baseline: middle;
56
- }
57
-
58
- .ishikawa .ishikawa-label.align {
59
- text-anchor: end;
60
- dominant-baseline: middle;
61
- }
62
-
63
- .ishikawa .ishikawa-label.up {
64
- dominant-baseline: baseline;
65
- }
66
-
67
- .ishikawa .ishikawa-label.down {
68
- dominant-baseline: hanging;
69
- }
70
- `,"getStyles"),Vt=Ct,Ut={parser:vt,get db(){return new St},renderer:Ot,styles:Vt};export{Ut as diagram};
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{s,o,a,Xt,pi,h,e,n,b,l,ce,ur,vn,Ce,ya,ue}from"./chunk-jbejy8k3.js";var ye=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8",key:"7n84p3"}]],L=l("at-sign",ye);var ke=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m5 12-3 3 3 3",key:"oke12k"}],["path",{d:"m9 18 3-3-3-3",key:"112psh"}]],me=l("file-code-2",ke);var we=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]],de=l("maximize-2",we);var Me=[["path",{d:"M13.4 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4",key:"re6nr2"}],["path",{d:"M2 6h4",key:"aawbzj"}],["path",{d:"M2 10h4",key:"l0bgd4"}],["path",{d:"M2 14h4",key:"1gsvsf"}],["path",{d:"M2 18h4",key:"1bu2t1"}],["path",{d:"M21.378 5.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"pqwjuv"}]],Z=l("notebook-pen",Me);var Ie=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],pe=l("user",Ie);var w={approve:{label:"通过",text:"text-success",ring:"ring-success/80",soft:"bg-success/12 text-success"},reject:{label:"反对",text:"text-danger",ring:"ring-danger/80",soft:"bg-danger/12 text-danger"},abstain:{label:"弃权",text:"text-dim",ring:"ring-line-strong",soft:"bg-raised text-dim"},pending:{label:"未表态",text:"text-faint",ring:"ring-line",soft:"bg-raised text-faint"}},ze={thinking:"思考中",reading:"查阅中",speaking:"发言中",idle:"等待中",error:"出错",aborted:"已中止"},F={success:"text-success",warning:"text-warning",danger:"text-danger",neutral:"text-faint"},ee={success:"bg-success",warning:"bg-warning",danger:"bg-danger",neutral:"bg-faint"};function V(t){return t==="thinking"||t==="reading"||t==="speaking"}function K(t){let u=V(t.status);return{busy:u,text:u&&t.activeTool?t.activeTool:ze[t.status]}}function te(t){let u=t.members.filter((g)=>g.verdict==="approve").length,x=t.members.filter((g)=>g.verdict==="reject").length;if(t.state==="running"){if(t.phase==="research")return{tone:"warning",label:"调研中"};if(t.phase==="opening")return{tone:"warning",label:"开场表态"};return{tone:"warning",label:"群聊交流"}}if(t.state==="consensus"){if(u===t.members.length)return{tone:"success",label:"全票通过"};if(x===t.members.length)return{tone:"danger",label:"全票反对"};if(x>u)return{tone:"danger",label:"共识:反对"};return{tone:"success",label:"共识:通过"}}if(t.state==="diverged")return{tone:"warning",label:"存在分歧"};if(t.state==="error")return{tone:"danger",label:"失败"};return{tone:"neutral",label:"已中止"}}function W(t){let u=Math.max(1,Math.round(t/1000));if(u<60)return`${u}s`;return`${Math.floor(u/60)}m ${String(u%60).padStart(2,"0")}s`}var De={research:"调研",opening:"开场表态",discussion:"群聊交流"};function G(t){let{cn:u}=b(),{room:x}=t,g=te(x),f=x.state==="running",v=x.research?["research","opening","discussion"]:["opening","discussion"],i=f?v.indexOf(x.phase==="closed"?"discussion":x.phase??"discussion"):-1,N=[...v.map((m,d)=>({key:m,label:De[m],done:!f||d<i,active:d===i})),{key:"closed",label:f?"结论":g.label,done:!f,active:!1}];return e("ol",{className:u("flex min-w-0 gap-1",t.className),children:N.map((m,d)=>{let c=d===N.length-1&&!f;return n("li",{className:"min-w-0 flex-1",children:[e("span",{className:u("block h-[3px] rounded-full transition-colors duration-300",c?ee[g.tone]:m.active?"bg-accent animate-pulse":m.done?"bg-line-strong":"bg-line/60")}),e("span",{className:u("mt-1.5 block truncate text-2xs",c?u("font-medium",F[g.tone]):m.active?"font-medium text-ink":m.done?"text-dim":"text-faint"),children:m.label})]},m.key)})})}function fe(t){let{Collapsible:u,CollapsibleContent:x,Composer:g,Markdown:f,ModelIcon:v,ScrollArea:i,SessionView:N,cn:m,confirm:d}=b(),{room:c,onClose:C}=t,[M,p]=a(!1),[J,D]=a(""),[R,H]=a(!1),[_,E]=a(),[S,B]=a(!1),[y,I]=a(!0),[T,z]=a(),ne=o(!1);ne.current=T!==void 0;let[U,X]=a(),[se,A]=a(!1),ae=o(!1);ae.current=U!==void 0;let oe=(r)=>{A(!1),X(r)},ie=o(null),Y=o(null),P=c.state==="running",j=te(c),ge=new Map(c.members.map((r)=>[r.id,r]));s(()=>{let r=(le)=>{if(le.key!=="Escape"||le.defaultPrevented||ne.current)return;if(ae.current)A(!0);else p(!0)},k=document.body.style.overflow;return document.body.style.overflow="hidden",window.addEventListener("keydown",r),()=>{window.removeEventListener("keydown",r),document.body.style.overflow=k}},[]);let re=c.messages.length;s(()=>{let r=Y.current;if(!r||!y||re===0)return;r.scrollTo({top:r.scrollHeight,behavior:"smooth"})},[re,y]);let be=async(r)=>{await t.onPost(r),I(!0)},ve=async()=>{if(R)return;if(!await d({title:"中止理事会?",description:"所有成员会立即停止,已有发言保留。",action:"中止",danger:!0}))return;H(!0),E(void 0);try{await t.onAbort()}catch(k){E(k instanceof Error?k.message:"中止理事会失败")}finally{H(!1)}},Q=(r)=>{X(void 0),D((k)=>k.includes(`@${r}`)?k:`${k?`${k.trimEnd()} `:""}@${r} `),requestAnimationFrame(()=>ie.current?.focus())},he=c.members.filter((r)=>r.verdict==="approve").length,Ne=c.members.filter((r)=>r.verdict==="reject").length,q=c.members.find((r)=>r.id===T),O=c.members.find((r)=>r.id===U);return Xt(n("div",{role:"dialog","aria-modal":"true","aria-label":`理事会:${c.topic}`,onAnimationEnd:(r)=>{if(M&&r.target===r.currentTarget)C()},className:m("fixed inset-0 z-50 flex flex-col bg-bg pt-[env(safe-area-inset-top)] text-ink",M?"pointer-events-none animate-dialog-out":"animate-dialog-in"),children:[n(u,{open:S,onOpenChange:B,className:"shrink-0 border-b border-line px-4 pt-3 pb-3 sm:px-6",children:[n("div",{className:"flex items-start gap-3",children:[n("div",{className:"min-w-0 flex-1",children:[n("div",{className:"flex items-center gap-3 text-2xs text-faint",children:[e("span",{className:"font-medium tracking-[0.2em] text-dim",children:"COUNCIL"}),e("span",{className:"tabular-nums",children:W(t.elapsedMs)}),n("span",{className:"tabular-nums",children:[c.messages.length," 条发言"]})]}),n("button",{type:"button","aria-expanded":S,onClick:()=>B((r)=>!r),className:"mt-0.5 flex max-w-full cursor-pointer items-start gap-1.5 text-left md:items-center",children:[e("h2",{className:"line-clamp-2 text-md leading-snug font-semibold md:truncate md:text-lg",children:c.topic}),e(Ce,{className:m("mt-0.5 size-4 shrink-0 text-faint transition-transform duration-300 ease-out-quint md:mt-0",!S&&"-rotate-90")})]})]}),n("div",{className:"flex shrink-0 items-center gap-1",children:[n("span",{className:m("inline-flex items-center gap-1.5 rounded-full border border-line px-2.5 py-1 text-xs font-medium",F[j.tone]),children:[e("span",{className:m("size-1.5 rounded-full",ee[j.tone],P&&"animate-pulse")}),j.label]}),e("button",{type:"button","aria-label":"关闭理事会页面",title:"关闭(Esc)",onClick:()=>p(!0),className:"ml-1 inline-flex size-10 -mr-2 cursor-pointer items-center justify-center rounded-full text-faint transition-colors hover:bg-raised hover:text-ink md:size-8 md:mr-0",children:e(ue,{className:"size-4"})})]})]}),e(x,{children:e("div",{className:"mt-2 max-h-[40dvh] overflow-y-auto overscroll-contain rounded-xl bg-panel px-3.5 py-2.5 text-ui leading-relaxed text-dim md:max-h-48",children:e(f,{text:c.brief})})}),e(G,{room:c,className:"mt-3"})]}),n("div",{className:"flex min-h-0 flex-1 flex-col md:flex-row",children:[e("div",{className:"flex shrink-0 gap-2 overflow-x-auto overscroll-x-contain border-b border-line px-4 py-2.5 [scrollbar-width:none] md:hidden",children:c.members.map((r)=>e(Se,{member:r,onSelect:()=>z(r.id)},r.id))}),n("aside",{className:"hidden w-72 shrink-0 flex-col gap-2 overflow-y-auto border-r border-line p-4 md:flex",children:[n("div",{className:"flex items-center justify-between text-2xs text-faint",children:[e("span",{className:"font-medium tracking-wide",children:"席位"}),n("span",{className:"tabular-nums",children:[e("span",{className:"text-success",children:he})," / ",e("span",{className:"text-danger",children:Ne})," /"," ",c.members.length]})]}),c.members.map((r)=>e(Re,{member:r,viewing:r.id===U,onMention:()=>Q(r.name),onOpen:()=>r.id===U?A(!0):oe(r.id)},r.id))]}),O&&n("main",{onAnimationEnd:(r)=>{if(!se||r.target!==r.currentTarget)return;A(!1),X(void 0)},className:m("flex min-h-0 min-w-0 flex-1 flex-col",se?"pointer-events-none animate-overlay-out":"animate-fade"),children:[n("div",{className:"flex shrink-0 items-center gap-2 border-b border-line px-3 py-2 sm:px-4",children:[n("button",{type:"button",onClick:()=>A(!0),className:"inline-flex h-8 cursor-pointer items-center gap-1.5 rounded-lg px-2 text-ui text-dim transition-colors hover:bg-raised hover:text-ink",children:[e(ur,{className:"size-4"}),"群聊"]}),e("span",{className:"text-line-strong",children:"/"}),n("span",{className:"flex min-w-0 flex-1 items-center gap-1.5 text-ui font-medium",children:[e(v,{modelID:O.model,className:"size-4 shrink-0",size:16}),n("span",{className:"truncate",children:[O.name," 的推理过程"]})]}),e("button",{type:"button","aria-label":"在完整页面打开",title:"在完整页面打开",onClick:()=>t.onOpenMember(O.childSessionID),className:"inline-flex size-8 cursor-pointer items-center justify-center rounded-lg text-faint transition-colors hover:bg-raised hover:text-ink",children:e(vn,{className:"size-4"})})]}),e(N,{sessionID:O.childSessionID},O.childSessionID)]}),n("main",{className:m("min-h-0 min-w-0 flex-1 flex-col animate-fade",O?"hidden":"flex"),children:[e(i,{viewportRef:Y,onScrollCapture:(r)=>{let k=Y.current;if(!k||r.target!==k)return;I(k.scrollHeight-k.scrollTop-k.clientHeight<80)},children:n("div",{className:"mx-auto w-full max-w-3xl px-4 py-4 sm:px-6 md:py-5",children:[c.messages.length===0?n("div",{className:"flex flex-col items-center justify-center gap-3 py-24 text-center text-faint",children:[P?e(ce,{className:"size-5 animate-spin"}):null,e("p",{className:"text-sm",children:P?c.phase==="research"?"成员正在各自调研,笔记不会进入群聊":"成员正在独立准备开场观点,彼此不可见":"这场理事会没有产生发言"})]}):e("ol",{className:"space-y-5",children:c.messages.map((r)=>e(Te,{message:r,membersByID:ge,onMention:()=>Q(r.senderName)},r.floor))}),c.summary&&!P&&n("section",{className:"mt-8 rounded-2xl border border-line bg-panel px-4 py-3",children:[n("h3",{className:m("text-xs font-semibold",F[j.tone]),children:["结论:",j.label]}),e("div",{className:"mt-1.5 text-ui leading-relaxed text-dim",children:e(f,{text:c.summary})})]})]})}),e("div",{className:"shrink-0 px-3 pb-[max(0.75rem,env(safe-area-inset-bottom))] sm:px-6 md:pb-4",children:n("div",{className:"mx-auto w-full max-w-3xl",children:[_&&e("p",{role:"status",className:"px-1 pb-2 text-ui text-danger",children:_}),e(g,{draftKey:`council:${c.roomID}`,placeholder:P?"插话,@ 某位成员会点名要求其回应":"理事会已结束,插话会重新唤醒成员",busy:P,allowAttachments:!1,text:J,onTextChange:D,inputRef:ie,onSend:be,onAbort:()=>void ve()})]})})]})]}),q&&e(Oe,{member:q,onClose:()=>z(void 0),onMention:()=>{z(void 0),Q(q.name)},onOpen:()=>{z(void 0),oe(q.id)}})]}),document.body)}function Se(t){let{ModelIcon:u,cn:x}=b(),{member:g}=t,f=w[g.verdict]??w.pending,{busy:v}=K(g);return n("button",{type:"button",onClick:t.onSelect,"aria-label":`${g.name},${f.label},查看详情`,className:"flex h-11 max-w-[11rem] shrink-0 cursor-pointer items-center gap-2 rounded-full border border-line bg-panel/60 pr-3.5 pl-1.5 active:bg-raised",children:[n("span",{className:x("relative flex size-8 shrink-0 items-center justify-center rounded-full bg-raised ring-2",f.ring),children:[e(u,{modelID:g.model,className:"size-4",size:16}),v&&e(ce,{className:"absolute -right-1 -bottom-1 size-3.5 animate-spin rounded-full bg-bg text-accent"})]}),n("span",{className:"min-w-0 text-left leading-tight",children:[e("span",{className:"block truncate text-ui font-medium",children:g.name}),e("span",{className:x("block text-2xs",f.text),children:f.label})]})]})}function Oe(t){let{Button:u,Dialog:x,Markdown:g,ModelIcon:f,cn:v}=b(),{member:i}=t,N=w[i.verdict]??w.pending,m=K(i);return e(x,{open:!0,onOpenChange:(d)=>!d&&t.onClose(),title:n("span",{className:"flex min-w-0 items-center gap-2.5",children:[e("span",{className:v("flex size-8 shrink-0 items-center justify-center rounded-full bg-raised ring-2",N.ring),children:e(f,{modelID:i.model,className:"size-4",size:16})}),e("span",{className:"min-w-0 truncate",children:i.name}),e("span",{className:v("shrink-0 rounded px-1.5 py-px text-2xs font-medium",N.soft),children:N.label})]}),description:i.model,footer:n(h,{children:[n(u,{variant:"secondary",onClick:t.onMention,children:[e(L,{className:"size-4"}),"点名"]}),n(u,{variant:"secondary",onClick:t.onOpen,children:[e(vn,{className:"size-4"}),"查看推理"]})]}),children:n("div",{className:"space-y-3 pb-1",children:[n("div",{className:"flex items-center gap-3 text-ui",children:[n("span",{className:v("flex min-w-0 flex-1 items-center gap-1.5",m.busy?"text-accent":"text-dim"),children:[m.busy&&e(ce,{className:"size-3.5 shrink-0 animate-spin"}),e("span",{className:"truncate",children:m.text})]}),n("span",{className:"shrink-0 text-faint tabular-nums",children:["发言 ",i.turns??0," 次"]})]}),i.notes?n("section",{children:[n("h3",{className:"mb-1.5 flex items-center gap-1.5 text-xs font-medium text-faint",children:[e(Z,{className:"size-3.5"}),"调研笔记"]}),e("div",{className:"rounded-xl bg-bg/60 px-3.5 py-2.5 text-ui leading-relaxed text-dim",children:e(g,{text:i.notes})})]}):e("p",{className:"text-ui text-faint",children:"没有调研笔记"})]})})}function Re(t){let{Collapsible:u,CollapsibleContent:x,Markdown:g,ModelIcon:f,cn:v}=b(),{member:i}=t,[N,m]=a(!1),d=w[i.verdict]??w.pending,{busy:c,text:C}=K(i);return n(u,{open:N,onOpenChange:m,className:v("relative shrink-0 rounded-xl border p-2.5 transition-colors",t.viewing?"border-line-strong bg-raised/60":"border-line bg-panel/60 hover:bg-raised/40"),children:[e("button",{type:"button","aria-label":t.viewing?"返回群聊":`查看 ${i.name} 的推理过程`,"aria-pressed":t.viewing,title:t.viewing?"返回群聊":"查看推理与工具调用",onClick:t.onOpen,className:"absolute inset-0 cursor-pointer rounded-xl"}),n("div",{className:"pointer-events-none relative flex items-center gap-2.5",children:[e("span",{className:v("relative flex size-8 shrink-0 items-center justify-center rounded-full bg-raised ring-2",d.ring),children:e(f,{modelID:i.model,className:"size-4",size:16})}),n("div",{className:"min-w-0 flex-1",children:[n("div",{className:"flex items-center gap-1.5",children:[e("span",{className:"truncate text-ui font-medium",title:i.model,children:i.name}),e("span",{className:v("shrink-0 rounded px-1 text-2xs font-medium",d.soft),children:d.label})]}),n("div",{className:v("flex min-w-0 items-center gap-1 text-2xs",c?"text-accent":"text-faint"),children:[c&&e(ce,{className:"size-3 shrink-0 animate-spin"}),e("span",{className:"truncate",children:C})]})]})]}),n("div",{className:"pointer-events-none relative mt-2 flex items-center gap-1 text-2xs text-faint",children:[n("span",{className:"tabular-nums",children:["发言 ",i.turns??0," 次"]}),e("span",{className:"ml-auto"}),i.notes&&n("button",{type:"button","aria-expanded":N,onClick:()=>m((M)=>!M),className:v("pointer-events-auto inline-flex cursor-pointer items-center gap-1 rounded px-1.5 py-0.5 hover:bg-raised hover:text-ink",N&&"text-ink"),children:[e(Z,{className:"size-3"}),"笔记"]}),e("button",{type:"button","aria-label":`@ ${i.name}`,title:`@ ${i.name}`,onClick:t.onMention,className:"pointer-events-auto inline-flex cursor-pointer items-center rounded p-1 hover:bg-raised hover:text-ink",children:e(L,{className:"size-3"})})]}),i.notes&&e(x,{children:e("div",{className:"relative mt-2 max-h-56 overflow-y-auto rounded-lg bg-bg/60 px-2.5 py-2 text-xs leading-relaxed text-dim",children:e(g,{text:i.notes})})})]})}function Te(t){let{Code:u,Collapsible:x,CollapsibleContent:g,Markdown:f,cn:v}=b(),{message:i}=t,[N,m]=a(!1),d=i.senderID==="user"||i.senderID==="host",c=i.verdict&&i.verdict!=="pending"?w[i.verdict]:void 0,C=i.evidences??[],M=(i.mentions??[]).map((p)=>t.membersByID.get(p)).filter((p)=>p!==void 0);return n("li",{id:`council-floor-${i.floor}`,className:"group flex gap-3 animate-fade",children:[e(xe,{message:i,isHuman:d,className:"mt-0.5 hidden size-8 md:flex"}),n("div",{className:"min-w-0 flex-1",children:[n("div",{className:"flex flex-wrap items-center gap-x-2 gap-y-0.5 text-xs",children:[e(xe,{message:i,isHuman:d,className:"flex size-6 md:hidden"}),e("span",{className:"font-semibold text-ink",title:i.senderModel,children:i.senderName}),n("a",{href:`#council-floor-${i.floor}`,className:"font-mono text-2xs text-faint hover:text-dim",onClick:(p)=>p.preventDefault(),children:["#",i.floor]}),c&&e("span",{className:v("rounded px-1.5 py-px text-2xs font-medium",c.soft),children:c.label}),!d&&n("button",{type:"button",onClick:t.onMention,className:"ml-auto inline-flex cursor-pointer items-center gap-1 rounded-md px-2 py-1 text-2xs text-faint transition-opacity hover:bg-raised hover:text-ink focus-visible:opacity-100 md:px-1.5 md:py-0.5 md:opacity-0 md:group-hover:opacity-100",children:[e(L,{className:"size-3"}),"回复"]})]}),(i.replyToFloor||M.length>0)&&n("div",{className:"mt-1 flex flex-wrap items-center gap-1.5 text-2xs text-faint",children:[i.replyToFloor&&n("button",{type:"button",onClick:()=>document.getElementById(`council-floor-${i.replyToFloor}`)?.scrollIntoView({block:"center",behavior:"smooth"}),className:"inline-flex min-w-0 max-w-full cursor-pointer items-center gap-1 rounded-md bg-raised/70 px-1.5 py-0.5 hover:text-ink",children:[e(ya,{className:"size-3 shrink-0"}),n("span",{className:"shrink-0 text-dim",children:["#",i.replyToFloor," ",i.replyToName]}),i.replyToPreview&&e("span",{className:"truncate",children:i.replyToPreview})]}),M.map((p)=>n("span",{className:"inline-flex items-center gap-1 rounded-md bg-accent/10 px-1.5 py-0.5 text-accent",children:[e(L,{className:"size-3"}),p.name]},p.id))]}),e("div",{className:"mt-1.5 break-words text-sm leading-relaxed text-ink/90 md:text-ui [&_p]:my-1.5 [&>*:first-child]:mt-0 [&>*:last-child]:mb-0",children:e(f,{text:i.text})}),C.length>0&&n(x,{open:N,onOpenChange:m,className:"mt-2",children:[n("button",{type:"button","aria-expanded":N,onClick:()=>m((p)=>!p),className:"inline-flex max-w-full cursor-pointer items-center gap-1 text-2xs text-faint hover:text-ink",children:[e(me,{className:"size-3 shrink-0"}),n("span",{className:"shrink-0",children:["查阅 ",C.length," 处"]}),!N&&e("span",{className:"truncate font-mono",children:C.map((p)=>p.label).join(",")}),e(Ce,{className:v("size-3 shrink-0 transition-transform duration-300 ease-out-quint",!N&&"-rotate-90")})]}),e(g,{children:e("div",{className:"mt-1.5 space-y-1.5",children:C.map((p)=>n("div",{className:"overflow-hidden rounded-lg border border-line bg-panel text-xs",children:[e("div",{className:"truncate border-b border-line/70 px-2.5 py-1 font-mono text-2xs text-dim",children:p.label}),p.snippet&&e(u,{code:p.snippet,lang:p.lang||"ts",className:"max-h-40 overflow-auto px-2.5 py-1.5 text-xs"})]},`${p.tool}:${p.label}:${p.snippet?.slice(0,32)??""}`))})})]})]})]})}function xe(t){let{ModelIcon:u,cn:x}=b();return e("span",{className:x("shrink-0 items-center justify-center rounded-full",t.isHuman?"bg-accent/12 text-accent":"bg-raised",t.className),children:t.message.senderModel?e(u,{modelID:t.message.senderModel,className:"size-4",size:16}):e(pe,{className:"size-4"})})}function ot(t){let{ModelIcon:u,cn:x,useTheme:g}=b();g();let{connection:f,sessionID:v,payload:i,onOpen:N}=t,m=i,[d,c]=a(m),[C,M]=a(()=>{try{return sessionStorage.getItem(pi)===m.roomID}catch{return!1}}),[p,J]=a(Date.now);s(()=>{c(m)},[m]),s(()=>{if(!C)return;try{if(sessionStorage.getItem(pi)===m.roomID)sessionStorage.removeItem(pi)}catch{}},[C,m.roomID]);let D=d.state==="running",R=`/api/sessions/${encodeURIComponent(v)}/council/${encodeURIComponent(d.roomID)}`;s(()=>{if(!D)return;let y=!1,T=setInterval(()=>{if(f.request(R).then((z)=>{if(!y&&z&&typeof z==="object"&&"roomID"in z)c(z)}).catch(()=>{}),!y)J(Date.now())},1200);return()=>{y=!0,clearInterval(T)}},[f,R,D]);let H=async(y)=>{let I=await f.request(`${R}/post`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({text:y})});c(I)},_=async()=>{let y=await f.request(`${R}/kill`,{method:"POST"});c(y)},E=(D?p:d.updatedAt)-d.createdAt,S=d.messages.at(-1),B=d.members.filter((y)=>V(y.status)).length;return n(h,{children:[n("button",{type:"button","aria-label":`进入理事会:${d.topic}`,onClick:()=>M(!0),className:"group relative my-2 block w-full cursor-pointer overflow-hidden rounded-2xl border border-line bg-panel text-left transition-colors hover:border-line-strong animate-fade",children:[n("div",{className:"px-4 pt-3.5",children:[n("div",{className:"flex items-center gap-1.5 text-2xs text-faint",children:[e("span",{className:"font-medium text-dim",children:"理事会"}),e("span",{"aria-hidden":!0,children:"·"}),e("span",{className:"tabular-nums",children:W(E)}),n("span",{className:"ml-auto tabular-nums",children:[d.members.length," 位成员"]})]}),e("h4",{className:"mt-1 line-clamp-2 text-sm font-semibold text-ink md:truncate",title:d.topic,children:d.topic})]}),e(G,{room:d,className:"mt-3 px-4"}),e("div",{className:"mt-3 flex flex-wrap items-center gap-x-4 gap-y-2 px-4",children:d.members.map((y)=>{let I=w[y.verdict]??w.pending,T=V(y.status);return n("span",{className:"flex min-w-0 items-center gap-1.5 text-xs",title:y.model,children:[n("span",{className:x("relative flex size-6 shrink-0 items-center justify-center rounded-full bg-raised ring-2",I.ring),children:[e(u,{modelID:y.model,className:"size-3.5",size:14}),T&&e(ce,{className:"absolute -right-1 -bottom-1 size-3 animate-spin rounded-full bg-panel text-accent"})]}),e("span",{className:"truncate text-dim",children:y.name}),e("span",{className:x("shrink-0 text-2xs",I.text),children:I.label})]},y.id)})}),n("div",{className:"mt-3 flex items-center gap-2 border-t border-line/70 px-4 py-2.5 text-xs",children:[S?n(h,{children:[e("span",{className:"shrink-0 font-medium text-dim",children:S.senderName}),e("span",{className:"min-w-0 flex-1 truncate text-faint",children:S.text.replace(/\s+/g," ")})]}):e("span",{className:"min-w-0 flex-1 truncate text-faint",children:D?`${B} 位成员正在${d.phase==="research"?"调研":"思考"}…`:"没有发言"}),n("span",{className:"inline-flex shrink-0 items-center gap-1 text-faint transition-colors group-hover:text-ink",children:[d.messages.length>0&&n("span",{className:"tabular-nums",children:[d.messages.length," 条"]}),e(de,{className:"size-3.5"})]})]})]}),C&&e(fe,{room:d,elapsedMs:E,onClose:()=>M(!1),onOpenMember:N,onPost:H,onAbort:_})]})}export{ot as CouncilCard};
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{a,e,n,b,l,Jt,Q,Sr}from"./chunk-jbejy8k3.js";var h=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],s=l("check-check",h);var g={once:{label:"已允许本次控制电脑",tone:"text-success",icon:Q},session:{label:"本会话始终允许控制",tone:"text-success",icon:s},deny:{label:"已拒绝控制电脑",tone:"text-danger",icon:Jt},cancelled:{label:"控制电脑授权已取消",tone:"text-faint",icon:Sr}};function w(p){let{style:c,cn:i,Collapsible:r,CollapsibleTrigger:m,CollapsibleContent:d,Chevron:u}=b(),[f,C]=a(!1),t=p.payload;if(!t||typeof t.id!=="string"||t.state==="pending")return null;let o=g[t.state],x=o.icon;return n(r,{open:f,onOpenChange:C,className:"w-full text-xs text-ink/90 animate-fade",children:[n(m,{className:c("chat.timelineRow","cursor-pointer select-none"),children:[e("span",{className:"flex size-4 shrink-0 items-center justify-center",children:e(x,{className:i("size-3.5",o.tone)})}),e("span",{className:"shrink-0",children:o.label}),n("span",{className:"min-w-0 flex-1 truncate font-mono text-xs opacity-80",title:t.app,children:[t.action," ",t.app]}),e(u,{className:"size-3.5 shrink-0 text-faint opacity-0 transition-opacity group-hover/collapsible:opacity-100 group-data-[state=open]/collapsible:opacity-100"})]}),e(d,{children:e("pre",{className:"mt-0.5 mb-1.5 ml-2 border-l border-line py-1 pl-[15px] font-mono text-xs break-all whitespace-pre-wrap text-dim",children:t.detail})})]})}export{w as ApprovalCard};
Binary file
Binary file
@@ -1,217 +0,0 @@
1
- import{t,i,st,q,ir,C,L,M,P,R,I,O,D,u,g,H,Ct,De,Ne,Me,Dt,He,Ue}from"./chunk-e4h4dg4y.js";import{$n}from"./chunk-ptvshaa0.js";import{Tt}from"./chunk-s8e8gzvn.js";import{ze}from"./chunk-t8b8cdak.js";import{Pe}from"./chunk-c86a6am5.js";var Je=function(){var s=t(function(Y,p,b,f){for(b=b||{},f=Y.length;f--;b[Y[f]]=p);return b},"o"),r=[1,18],n=[1,19],l=[1,20],o=[1,41],d=[1,26],A=[1,42],h=[1,24],m=[1,25],E=[1,32],v=[1,33],J=[1,34],y=[1,45],Be=[1,35],_e=[1,36],Se=[1,37],Le=[1,38],xe=[1,27],ve=[1,28],Ie=[1,29],Oe=[1,30],we=[1,31],F=[1,44],B=[1,46],_=[1,43],S=[1,47],Ve=[1,9],k=[1,8,9],ce=[1,58],he=[1,59],de=[1,60],pe=[1,61],Ae=[1,62],Re=[1,63],Ge=[1,64],w=[1,8,9,41],Ze=[1,77],j=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],be=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],fe=[13,60,86,100,102,103],Z=[13,60,73,74,86,100,102,103],$e=[13,60,68,69,70,71,72,86,100,102,103],ke=[1,103],ee=[1,121],te=[1,117],se=[1,113],ie=[1,119],ae=[1,114],re=[1,115],ne=[1,116],le=[1,118],ue=[1,120],et=[22,50,60,61,82,86,87,88,89,90],tt=[1,128],me=[12,39],Ye=[1,8,9,39,41,44,46],ge=[1,8,9,22],it=[1,153],at=[1,8,9,61],U=[1,8,9,22,50,60,61,82,86,87,88,89,90],Ke={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[38,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:t(function(p,b,f,c,T,e,oe){var a=e.length-1;switch(T){case 8:this.$=e[a-1];break;case 9:case 10:case 13:case 15:this.$=e[a];break;case 11:case 14:this.$=e[a-2]+"."+e[a];break;case 12:case 16:this.$=e[a-1]+e[a];break;case 17:case 18:this.$=e[a-1]+"~"+e[a]+"~";break;case 19:c.addRelation(e[a]);break;case 20:e[a-1].title=c.cleanupLabel(e[a]),c.addRelation(e[a-1]);break;case 31:this.$=e[a].trim(),c.setAccTitle(this.$);break;case 32:case 33:this.$=e[a].trim(),c.setAccDescription(this.$);break;case 34:c.addClassesToNamespace(e[a-3],e[a-1][0],e[a-1][1]),c.popNamespace();break;case 35:c.addClassesToNamespace(e[a-4],e[a-1][0],e[a-1][1]),c.popNamespace();break;case 36:this.$=c.addNamespace(e[a]);break;case 37:this.$=c.addNamespace(e[a-1],e[a]);break;case 38:this.$=[[e[a]],[]];break;case 39:this.$=[[e[a-1]],[]];break;case 40:e[a][0].unshift(e[a-2]),this.$=e[a];break;case 41:this.$=[[],[e[a]]];break;case 42:this.$=[[],[e[a-1]]];break;case 43:e[a][1].unshift(e[a-2]),this.$=e[a];break;case 44:case 45:this.$=[[],[]];break;case 46:this.$=e[a];break;case 48:c.setCssClass(e[a-2],e[a]);break;case 49:c.addMembers(e[a-3],e[a-1]);break;case 51:c.setCssClass(e[a-5],e[a-3]),c.addMembers(e[a-5],e[a-1]);break;case 52:c.addAnnotation(e[a-3],e[a-1]);break;case 53:c.addAnnotation(e[a-6],e[a-4]),c.addMembers(e[a-6],e[a-1]);break;case 54:c.addAnnotation(e[a-5],e[a-3]);break;case 55:this.$=e[a],c.addClass(e[a]);break;case 56:this.$=e[a-1],c.addClass(e[a-1]),c.setClassLabel(e[a-1],e[a]);break;case 60:c.addAnnotation(e[a],e[a-2]);break;case 61:case 74:this.$=[e[a]];break;case 62:e[a].push(e[a-1]),this.$=e[a];break;case 63:break;case 64:c.addMember(e[a-1],c.cleanupLabel(e[a]));break;case 65:break;case 66:break;case 67:this.$={id1:e[a-2],id2:e[a],relation:e[a-1],relationTitle1:"none",relationTitle2:"none"};break;case 68:this.$={id1:e[a-3],id2:e[a],relation:e[a-1],relationTitle1:e[a-2],relationTitle2:"none"};break;case 69:this.$={id1:e[a-3],id2:e[a],relation:e[a-2],relationTitle1:"none",relationTitle2:e[a-1]};break;case 70:this.$={id1:e[a-4],id2:e[a],relation:e[a-2],relationTitle1:e[a-3],relationTitle2:e[a-1]};break;case 71:this.$=c.addNote(e[a],e[a-1]);break;case 72:this.$=c.addNote(e[a]);break;case 73:this.$=e[a-2],c.defineClass(e[a-1],e[a]);break;case 75:this.$=e[a-2].concat([e[a]]);break;case 76:c.setDirection("TB");break;case 77:c.setDirection("BT");break;case 78:c.setDirection("RL");break;case 79:c.setDirection("LR");break;case 80:this.$={type1:e[a-2],type2:e[a],lineType:e[a-1]};break;case 81:this.$={type1:"none",type2:e[a],lineType:e[a-1]};break;case 82:this.$={type1:e[a-1],type2:"none",lineType:e[a]};break;case 83:this.$={type1:"none",type2:"none",lineType:e[a]};break;case 84:this.$=c.relationType.AGGREGATION;break;case 85:this.$=c.relationType.EXTENSION;break;case 86:this.$=c.relationType.COMPOSITION;break;case 87:this.$=c.relationType.DEPENDENCY;break;case 88:this.$=c.relationType.LOLLIPOP;break;case 89:this.$=c.lineType.LINE;break;case 90:this.$=c.lineType.DOTTED_LINE;break;case 91:case 97:this.$=e[a-2],c.setClickEvent(e[a-1],e[a]);break;case 92:case 98:this.$=e[a-3],c.setClickEvent(e[a-2],e[a-1]),c.setTooltip(e[a-2],e[a]);break;case 93:this.$=e[a-2],c.setLink(e[a-1],e[a]);break;case 94:this.$=e[a-3],c.setLink(e[a-2],e[a-1],e[a]);break;case 95:this.$=e[a-3],c.setLink(e[a-2],e[a-1]),c.setTooltip(e[a-2],e[a]);break;case 96:this.$=e[a-4],c.setLink(e[a-3],e[a-2],e[a]),c.setTooltip(e[a-3],e[a-1]);break;case 99:this.$=e[a-3],c.setClickEvent(e[a-2],e[a-1],e[a]);break;case 100:this.$=e[a-4],c.setClickEvent(e[a-3],e[a-2],e[a-1]),c.setTooltip(e[a-3],e[a]);break;case 101:this.$=e[a-3],c.setLink(e[a-2],e[a]);break;case 102:this.$=e[a-4],c.setLink(e[a-3],e[a-1],e[a]);break;case 103:this.$=e[a-4],c.setLink(e[a-3],e[a-1]),c.setTooltip(e[a-3],e[a]);break;case 104:this.$=e[a-5],c.setLink(e[a-4],e[a-2],e[a]),c.setTooltip(e[a-4],e[a-1]);break;case 105:this.$=e[a-2],c.setCssStyle(e[a-1],e[a]);break;case 106:c.setCssClass(e[a-1],e[a]);break;case 107:this.$=[e[a]];break;case 108:e[a-2].push(e[a]),this.$=e[a-2];break;case 110:this.$=e[a-1]+e[a];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:r,35:n,37:l,38:22,42:o,43:23,46:d,48:A,51:h,52:m,54:E,56:v,57:J,60:y,62:Be,63:_e,64:Se,65:Le,75:xe,76:ve,78:Ie,82:Oe,83:we,86:F,100:B,102:_,103:S},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},s(Ve,[2,5],{8:[1,48]}),{8:[1,49]},s(k,[2,19],{22:[1,50]}),s(k,[2,21]),s(k,[2,22]),s(k,[2,23]),s(k,[2,24]),s(k,[2,25]),s(k,[2,26]),s(k,[2,27]),s(k,[2,28]),s(k,[2,29]),s(k,[2,30]),{34:[1,51]},{36:[1,52]},s(k,[2,33]),s(k,[2,63],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:ce,69:he,70:de,71:pe,72:Ae,73:Re,74:Ge}),{39:[1,65]},s(w,[2,47],{39:[1,67],44:[1,66],46:[1,68]}),s(k,[2,65]),s(k,[2,66]),{16:69,60:y,86:F,100:B,102:_},{16:39,17:40,19:70,60:y,86:F,100:B,102:_,103:S},{16:39,17:40,19:71,60:y,86:F,100:B,102:_,103:S},{16:39,17:40,19:72,60:y,86:F,100:B,102:_,103:S},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:y,86:F,100:B,102:_,103:S},{13:Ze,55:76},{58:78,60:[1,79]},s(k,[2,76]),s(k,[2,77]),s(k,[2,78]),s(k,[2,79]),s(j,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:y,86:F,100:B,102:_,103:S}),s(j,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:y,86:F,100:B,102:_,103:S},{16:39,17:40,19:87,60:y,86:F,100:B,102:_,103:S},s(be,[2,133]),s(be,[2,134]),s(be,[2,135]),s(be,[2,136]),s([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,137]),s(Ve,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:r,35:n,37:l,42:o,46:d,48:A,51:h,52:m,54:E,56:v,57:J,60:y,62:Be,63:_e,64:Se,65:Le,75:xe,76:ve,78:Ie,82:Oe,83:we,86:F,100:B,102:_,103:S}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:r,35:n,37:l,38:22,42:o,43:23,46:d,48:A,51:h,52:m,54:E,56:v,57:J,60:y,62:Be,63:_e,64:Se,65:Le,75:xe,76:ve,78:Ie,82:Oe,83:we,86:F,100:B,102:_,103:S},s(k,[2,20]),s(k,[2,31]),s(k,[2,32]),{13:[1,91],16:39,17:40,19:90,60:y,86:F,100:B,102:_,103:S},{53:92,66:56,67:57,68:ce,69:he,70:de,71:pe,72:Ae,73:Re,74:Ge},s(k,[2,64]),{67:93,73:Re,74:Ge},s(fe,[2,83],{66:94,68:ce,69:he,70:de,71:pe,72:Ae}),s(Z,[2,84]),s(Z,[2,85]),s(Z,[2,86]),s(Z,[2,87]),s(Z,[2,88]),s($e,[2,89]),s($e,[2,90]),{8:[1,96],23:99,24:97,30:98,38:22,40:95,42:o,43:23,48:A,54:E,56:v},{16:100,60:y,86:F,100:B,102:_},{41:[1,102],45:101,51:ke},{16:104,60:y,86:F,100:B,102:_},{47:[1,105]},{13:[1,106]},{13:[1,107]},{79:[1,108],81:[1,109]},{22:ee,50:te,59:110,60:se,82:ie,84:111,85:112,86:ae,87:re,88:ne,89:le,90:ue},{60:[1,122]},{13:Ze,55:123},s(w,[2,72]),s(w,[2,138]),{22:ee,50:te,59:124,60:se,61:[1,125],82:ie,84:111,85:112,86:ae,87:re,88:ne,89:le,90:ue},s(et,[2,74]),{16:39,17:40,19:126,60:y,86:F,100:B,102:_,103:S},s(j,[2,16]),s(j,[2,17]),s(j,[2,18]),{11:127,12:tt,39:[2,36]},s(me,[2,9],{16:85,17:86,15:130,18:[1,129],60:y,86:F,100:B,102:_,103:S}),s(me,[2,10]),s(Ye,[2,55],{11:131,12:tt}),s(Ve,[2,7]),{9:[1,132]},s(ge,[2,67]),{16:39,17:40,19:133,60:y,86:F,100:B,102:_,103:S},{13:[1,135],16:39,17:40,19:134,60:y,86:F,100:B,102:_,103:S},s(fe,[2,82],{66:136,68:ce,69:he,70:de,71:pe,72:Ae}),s(fe,[2,81]),{41:[1,137]},{23:99,24:97,30:98,38:22,40:138,42:o,43:23,48:A,54:E,56:v},{8:[1,139],41:[2,38]},{8:[1,140],41:[2,41]},{8:[1,141],41:[2,44]},s(w,[2,48],{39:[1,142]}),{41:[1,143]},s(w,[2,50]),{41:[2,61],45:144,51:ke},{47:[1,145]},{16:39,17:40,19:146,60:y,86:F,100:B,102:_,103:S},s(k,[2,91],{13:[1,147]}),s(k,[2,93],{13:[1,149],77:[1,148]}),s(k,[2,97],{13:[1,150],80:[1,151]}),{13:[1,152]},s(k,[2,105],{61:it}),s(at,[2,107],{85:154,22:ee,50:te,60:se,82:ie,86:ae,87:re,88:ne,89:le,90:ue}),s(U,[2,109]),s(U,[2,111]),s(U,[2,112]),s(U,[2,113]),s(U,[2,114]),s(U,[2,115]),s(U,[2,116]),s(U,[2,117]),s(U,[2,118]),s(U,[2,119]),s(k,[2,106]),s(w,[2,71]),s(k,[2,73],{61:it}),{60:[1,155]},s(j,[2,14]),{39:[2,37]},{13:[1,156]},{15:157,16:85,17:86,60:y,86:F,100:B,102:_,103:S},s(me,[2,12]),s(Ye,[2,56]),{1:[2,4]},s(ge,[2,69]),s(ge,[2,68]),{16:39,17:40,19:158,60:y,86:F,100:B,102:_,103:S},s(fe,[2,80]),s(w,[2,34]),{41:[1,159]},{23:99,24:97,30:98,38:22,40:160,41:[2,39],42:o,43:23,48:A,54:E,56:v},{23:99,24:97,30:98,38:22,40:161,41:[2,42],42:o,43:23,48:A,54:E,56:v},{23:99,24:97,30:98,38:22,40:162,41:[2,45],42:o,43:23,48:A,54:E,56:v},{45:163,51:ke},s(w,[2,49]),{41:[2,62]},s(w,[2,52],{39:[1,164]}),s(k,[2,60]),s(k,[2,92]),s(k,[2,94]),s(k,[2,95],{77:[1,165]}),s(k,[2,98]),s(k,[2,99],{13:[1,166]}),s(k,[2,101],{13:[1,168],77:[1,167]}),{22:ee,50:te,60:se,82:ie,84:169,85:112,86:ae,87:re,88:ne,89:le,90:ue},s(U,[2,110]),s(et,[2,75]),{14:[1,170]},s(me,[2,11]),s(ge,[2,70]),s(w,[2,35]),{41:[2,40]},{41:[2,43]},{41:[2,46]},{41:[1,171]},{41:[1,173],45:172,51:ke},s(k,[2,96]),s(k,[2,100]),s(k,[2,102]),s(k,[2,103],{77:[1,174]}),s(at,[2,108],{85:154,22:ee,50:te,60:se,82:ie,86:ae,87:re,88:ne,89:le,90:ue}),s(Ye,[2,8]),s(w,[2,51]),{41:[1,175]},s(w,[2,54]),s(k,[2,104]),s(w,[2,53])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],127:[2,37],132:[2,4],144:[2,62],160:[2,40],161:[2,43],162:[2,46]},parseError:t(function(p,b){if(b.recoverable)this.trace(p);else{var f=Error(p);throw f.hash=b,f}},"parseError"),parse:t(function(p){var b=this,f=[0],c=[],T=[null],e=[],oe=this.table,a="",Ee=0,rt=0,nt=0,At=2,lt=1,bt=e.slice.call(arguments,1),N=Object.create(this.lexer),K={yy:{}};for(var We in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,We))K.yy[We]=this.yy[We];if(N.setInput(p,K.yy),K.yy.lexer=N,K.yy.parser=this,typeof N.yylloc>"u")N.yylloc={};var Qe=N.yylloc;e.push(Qe);var ft=N.options&&N.options.ranges;if(typeof K.yy.parseError==="function")this.parseError=K.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function kt(G){f.length=f.length-2*G,T.length=T.length-G,e.length=e.length-G}t(kt,"popStack");function ut(){var G=c.pop()||N.lex()||lt;if(typeof G!=="number"){if(G instanceof Array)c=G,G=c.pop();G=b.symbols_[G]||G}return G}t(ut,"lex");var x,je,W,V,Lt,Xe,X={},Te,z,ot,ye;while(!0){if(W=f[f.length-1],this.defaultActions[W])V=this.defaultActions[W];else{if(x===null||typeof x>"u")x=ut();V=oe[W]&&oe[W][x]}if(typeof V>"u"||!V.length||!V[0]){var qe="";ye=[];for(Te in oe[W])if(this.terminals_[Te]&&Te>At)ye.push("'"+this.terminals_[Te]+"'");if(N.showPosition)qe="Parse error on line "+(Ee+1)+`:
2
- `+N.showPosition()+`
3
- Expecting `+ye.join(", ")+", got '"+(this.terminals_[x]||x)+"'";else qe="Parse error on line "+(Ee+1)+": Unexpected "+(x==lt?"end of input":"'"+(this.terminals_[x]||x)+"'");this.parseError(qe,{text:N.match,token:this.terminals_[x]||x,line:N.yylineno,loc:Qe,expected:ye})}if(V[0]instanceof Array&&V.length>1)throw Error("Parse Error: multiple actions possible at state: "+W+", token: "+x);switch(V[0]){case 1:if(f.push(x),T.push(N.yytext),e.push(N.yylloc),f.push(V[1]),x=null,!je){if(rt=N.yyleng,a=N.yytext,Ee=N.yylineno,Qe=N.yylloc,nt>0)nt--}else x=je,je=null;break;case 2:if(z=this.productions_[V[1]][1],X.$=T[T.length-z],X._$={first_line:e[e.length-(z||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(z||1)].first_column,last_column:e[e.length-1].last_column},ft)X._$.range=[e[e.length-(z||1)].range[0],e[e.length-1].range[1]];if(Xe=this.performAction.apply(X,[a,rt,Ee,K.yy,V[1],T,e].concat(bt)),typeof Xe<"u")return Xe;if(z)f=f.slice(0,-1*z*2),T=T.slice(0,-1*z),e=e.slice(0,-1*z);f.push(this.productions_[V[1]][0]),T.push(X.$),e.push(X._$),ot=oe[f[f.length-2]][f[f.length-1]],f.push(ot);break;case 3:return!0}}return!0},"parse")},pt=function(){var Y={EOF:1,parseError:t(function(b,f){if(this.yy.parser)this.yy.parser.parseError(b,f);else throw Error(b)},"parseError"),setInput:t(function(p,b){if(this.yy=b||this.yy||{},this._input=p,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 p=this._input[0];this.yytext+=p,this.yyleng++,this.offset++,this.match+=p,this.matched+=p;var b=p.match(/(?:\r\n?|\n).*/g);if(b)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),p},"input"),unput:t(function(p){var b=p.length,f=p.split(/(?:\r\n?|\n)/g);this._input=p+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-b),this.offset-=b;var c=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),f.length-1)this.yylineno-=f.length-1;var T=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:f?(f.length===c.length?this.yylloc.first_column:0)+c[c.length-f.length].length-f[0].length:this.yylloc.first_column-b},this.options.ranges)this.yylloc.range=[T[0],T[0]+this.yyleng-b];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(p){this.unput(this.match.slice(p))},"less"),pastInput:t(function(){var p=this.matched.substr(0,this.matched.length-this.match.length);return(p.length>20?"...":"")+p.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var p=this.match;if(p.length<20)p+=this._input.substr(0,20-p.length);return(p.substr(0,20)+(p.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var p=this.pastInput(),b=Array(p.length+1).join("-");return p+this.upcomingInput()+`
5
- `+b+"^"},"showPosition"),test_match:t(function(p,b){var f,c,T;if(this.options.backtrack_lexer){if(T={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)T.yylloc.range=this.yylloc.range.slice(0)}if(c=p[0].match(/(?:\r\n?|\n).*/g),c)this.yylineno+=c.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:c?c[c.length-1].length-c[c.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+p[0].length},this.yytext+=p[0],this.match+=p[0],this.matches=p,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(p[0].length),this.matched+=p[0],f=this.performAction.call(this,this.yy,this,b,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(f)return f;else if(this._backtrack){for(var e in T)this[e]=T[e];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var p,b,f,c;if(!this._more)this.yytext="",this.match="";var T=this._currentRules();for(var e=0;e<T.length;e++)if(f=this._input.match(this.rules[T[e]]),f&&(!b||f[0].length>b[0].length)){if(b=f,c=e,this.options.backtrack_lexer)if(p=this.test_match(f,T[e]),p!==!1)return p;else if(this._backtrack){b=!1;continue}else return!1;else if(!this.options.flex)break}if(b){if(p=this.test_match(b,T[c]),p!==!1)return p;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 b=this.next();if(b)return b;else return this.lex()},"lex"),begin:t(function(b){this.conditionStack.push(b)},"begin"),popState:t(function(){var b=this.conditionStack.length-1;if(b>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(b){if(b=this.conditionStack.length-1-Math.abs(b||0),b>=0)return this.conditionStack[b];else return"INITIAL"},"topState"),pushState:t(function(b){this.begin(b)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:t(function(b,f,c,T){var e=T;switch(c){case 0:return 62;case 1:return 63;case 2:return 64;case 3:return 65;case 4:break;case 5:break;case 6:return this.begin("acc_title"),33;break;case 7:return this.popState(),"acc_title_value";break;case 8:return this.begin("acc_descr"),35;break;case 9:return this.popState(),"acc_descr_value";break;case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 8;case 14:break;case 15:return 7;case 16:return 7;case 17:return"EDGE_STATE";case 18:this.begin("callback_name");break;case 19:this.popState();break;case 20:this.popState(),this.begin("callback_args");break;case 21:return 79;case 22:this.popState();break;case 23:return 80;case 24:this.popState();break;case 25:return"STR";case 26:this.begin("string");break;case 27:return 82;case 28:return 57;case 29:return this.begin("namespace"),42;break;case 30:return this.popState(),8;break;case 31:break;case 32:return this.begin("namespace-body"),39;break;case 33:this.popState(),this.less(0);break;case 34:return this.popState(),41;break;case 35:return"EOF_IN_STRUCT";case 36:return 8;case 37:break;case 38:return"EDGE_STATE";case 39:return this.begin("class"),48;break;case 40:return this.popState(),8;break;case 41:break;case 42:return this.popState(),this.popState(),41;break;case 43:return this.begin("class-body"),39;break;case 44:return this.popState(),41;break;case 45:return"EOF_IN_STRUCT";case 46:return"EDGE_STATE";case 47:return"OPEN_IN_STRUCT";case 48:break;case 49:return"MEMBER";case 50:return 83;case 51:return 75;case 52:return 76;case 53:return 78;case 54:return 54;case 55:return 56;case 56:return 46;case 57:return 47;case 58:return 81;case 59:this.popState();break;case 60:return"GENERICTYPE";case 61:this.begin("generic");break;case 62:this.popState();break;case 63:return"BQUOTE_STR";case 64:this.begin("bqstring");break;case 65:return 77;case 66:return 77;case 67:return 77;case 68:return 77;case 69:return 69;case 70:return 69;case 71:return 71;case 72:return 71;case 73:return 70;case 74:return 68;case 75:return 72;case 76:return 73;case 77:return 74;case 78:return 22;case 79:return 44;case 80:return 100;case 81:return 18;case 82:return"PLUS";case 83:return 87;case 84:return 61;case 85:return 89;case 86:return 89;case 87:return 90;case 88:return"EQUALS";case 89:return"EQUALS";case 90:return 60;case 91:return 12;case 92:return 14;case 93:return"PUNCTUATION";case 94:return 86;case 95:return 102;case 96:return 50;case 97:return 50;case 98:return 9}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:\[\*\])/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:style\b)/,/^(?:classDef\b)/,/^(?:namespace\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[{])/,/^(?:[}])/,/^(?:[}])/,/^(?:$)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:\[\*\])/,/^(?:class\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[}])/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\[\*\])/,/^(?:[{])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:href\b)/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:~)/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:[`])/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?::)/,/^(?:,)/,/^(?:#)/,/^(?:#)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:\[)/,/^(?:\])/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:\s)/,/^(?:$)/],conditions:{"namespace-body":{rules:[26,29,34,35,36,37,38,39,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},namespace:{rules:[26,29,30,31,32,33,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},"class-body":{rules:[26,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},class:{rules:[26,40,41,42,43,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},acc_descr_multiline:{rules:[11,12,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},acc_descr:{rules:[9,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},acc_title:{rules:[7,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},callback_args:{rules:[22,23,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},callback_name:{rules:[19,20,21,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},href:{rules:[26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},struct:{rules:[26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},generic:{rules:[26,50,51,52,53,54,55,56,57,58,59,60,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},bqstring:{rules:[26,50,51,52,53,54,55,56,57,58,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},string:{rules:[24,25,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,26,27,28,29,39,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98],inclusive:!0}}};return Y}();Ke.lexer=pt;function Ce(){this.yy={}}return t(Ce,"Parser"),Ce.prototype=Ke,Ke.Parser=Ce,new Ce}();Je.parser=Je;var mt=Je,ct=["#","+","~","-",""],ht=class{static{t(this,"ClassMember")}constructor(s,r){this.memberType=r,this.visibility="",this.classifier="",this.text="";let n=q(s,u());this.parseMember(n)}getDisplayDetails(){let s=this.visibility+ir(this.id);if(this.memberType==="method"){if(s+=`(${ir(this.parameters.trim())})`,this.returnType)s+=" : "+ir(this.returnType)}s=s.trim();let r=this.parseClassifier();return{displayText:s,cssStyle:r}}parseMember(s){let r="";if(this.memberType==="method"){let o=/([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(s);if(o){let d=o[1]?o[1].trim():"";if(ct.includes(d))this.visibility=d;if(this.id=o[2],this.parameters=o[3]?o[3].trim():"",r=o[4]?o[4].trim():"",this.returnType=o[5]?o[5].trim():"",r===""){let A=this.returnType.substring(this.returnType.length-1);if(/[$*]/.exec(A))r=A,this.returnType=this.returnType.substring(0,this.returnType.length-1)}}}else{let l=s.length,o=s.substring(0,1),d=s.substring(l-1);if(ct.includes(o))this.visibility=o;if(/[$*]/.exec(d))r=d;this.id=s.substring(this.visibility===""?0:1,r===""?l:l-1)}this.classifier=r,this.id=this.id.startsWith(" ")?" "+this.id.trim():this.id.trim();let n=`${this.visibility?"\\"+this.visibility:""}${ir(this.id)}${this.memberType==="method"?`(${ir(this.parameters)})${this.returnType?" : "+ir(this.returnType):""}`:""}`;if(this.text=n.replaceAll("<","&lt;").replaceAll(">","&gt;"),this.text.startsWith("\\&lt;"))this.text=this.text.replace("\\&lt;","~")}parseClassifier(){switch(this.classifier){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}}},Fe="classId-",dt=0,Q=t((s)=>C.sanitizeText(s,u()),"sanitizeText"),gt=class s{constructor(){this.relations=[],this.classes=new Map,this.styleClasses=new Map,this.notes=new Map,this.interfaces=[],this.namespaces=new Map,this.namespaceCounter=0,this.namespaceStack=[],this.diagramId="",this.functions=[],this.lineType={LINE:0,DOTTED_LINE:1},this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},this.setupToolTips=t((r)=>{let n=$n();g(r).select("svg").selectAll("g").filter(function(){return g(this).attr("title")!==null}).on("mouseover",(d)=>{let A=g(d.currentTarget),h=A.attr("title");if(!h)return;let m=d.currentTarget.getBoundingClientRect();n.transition().duration(200).style("opacity",".9"),n.html(st.sanitize(h)).style("left",`${window.scrollX+m.left+m.width/2}px`).style("top",`${window.scrollY+m.bottom+4}px`),A.classed("hover",!0)}).on("mouseout",(d)=>{n.transition().duration(500).style("opacity",0),g(d.currentTarget).classed("hover",!1)})},"setupToolTips"),this.direction="TB",this.setAccTitle=M,this.getAccTitle=P,this.setAccDescription=R,this.getAccDescription=I,this.setDiagramTitle=O,this.getDiagramTitle=D,this.getConfig=t(()=>u().class,"getConfig"),this.functions.push(this.setupToolTips.bind(this)),this.clear(),this.addRelation=this.addRelation.bind(this),this.addClassesToNamespace=this.addClassesToNamespace.bind(this),this.addNamespace=this.addNamespace.bind(this),this.popNamespace=this.popNamespace.bind(this),this.setCssClass=this.setCssClass.bind(this),this.addMembers=this.addMembers.bind(this),this.addClass=this.addClass.bind(this),this.setClassLabel=this.setClassLabel.bind(this),this.addAnnotation=this.addAnnotation.bind(this),this.addMember=this.addMember.bind(this),this.cleanupLabel=this.cleanupLabel.bind(this),this.addNote=this.addNote.bind(this),this.defineClass=this.defineClass.bind(this),this.setDirection=this.setDirection.bind(this),this.setLink=this.setLink.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.clear=this.clear.bind(this),this.setTooltip=this.setTooltip.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setCssStyle=this.setCssStyle.bind(this)}static{t(this,"ClassDB")}splitClassNameAndType(r){let n=C.sanitizeText(r,u()),l="",o=n;if(n.indexOf("~")>0){let d=n.split("~");o=Q(d[0]),l=Q(d[1])}return{className:o,type:l}}setClassLabel(r,n){let l=C.sanitizeText(r,u());if(n)n=Q(n);let{className:o}=this.splitClassNameAndType(l);this.classes.get(o).label=n,this.classes.get(o).text=`${n}${this.classes.get(o).type?`<${this.classes.get(o).type}>`:""}`}addClass(r){let n=C.sanitizeText(r,u()),{className:l,type:o}=this.splitClassNameAndType(n);if(this.classes.has(l))return;let d=C.sanitizeText(l,u());this.classes.set(d,{id:d,type:o,label:d,text:`${d}${o?`&lt;${o}&gt;`:""}`,shape:"classBox",cssClasses:"default",methods:[],members:[],annotations:[],styles:[],domId:Fe+d+"-"+dt}),dt++}addInterface(r,n){let l={id:`interface${this.interfaces.length}`,label:r,classId:n};this.interfaces.push(l)}setDiagramId(r){this.diagramId=r}lookUpDomId(r){let n=C.sanitizeText(r,u());if(this.classes.has(n)){let l=this.classes.get(n).domId;return this.diagramId?`${this.diagramId}-${l}`:l}throw Error("Class not found: "+n)}clear(){this.relations=[],this.classes=new Map,this.notes=new Map,this.interfaces=[],this.functions=[],this.functions.push(this.setupToolTips.bind(this)),this.namespaces=new Map,this.namespaceCounter=0,this.namespaceStack=[],this.diagramId="",this.direction="TB",L()}getClass(r){return this.classes.get(r)}getClasses(){return this.classes}getRelations(){return this.relations}getNote(r){let n=typeof r==="number"?`note${r}`:r;return this.notes.get(n)}getNotes(){return this.notes}addRelation(r){i.debug("Adding relation: "+JSON.stringify(r));let n=[this.relationType.LOLLIPOP,this.relationType.AGGREGATION,this.relationType.COMPOSITION,this.relationType.DEPENDENCY,this.relationType.EXTENSION];if(r.relation.type1===this.relationType.LOLLIPOP&&!n.includes(r.relation.type2))this.addClass(r.id2),this.addInterface(r.id1,r.id2),r.id1=`interface${this.interfaces.length-1}`;else if(r.relation.type2===this.relationType.LOLLIPOP&&!n.includes(r.relation.type1))this.addClass(r.id1),this.addInterface(r.id2,r.id1),r.id2=`interface${this.interfaces.length-1}`;else this.addClass(r.id1),this.addClass(r.id2);r.id1=this.splitClassNameAndType(r.id1).className,r.id2=this.splitClassNameAndType(r.id2).className,r.relationTitle1=C.sanitizeText(r.relationTitle1.trim(),u()),r.relationTitle2=C.sanitizeText(r.relationTitle2.trim(),u()),this.relations.push(r)}addAnnotation(r,n){let l=this.splitClassNameAndType(r).className;this.classes.get(l).annotations.push(n)}addMember(r,n){this.addClass(r);let l=this.splitClassNameAndType(r).className,o=this.classes.get(l);if(typeof n==="string"){let d=n.trim();if(d.startsWith("<<")&&d.endsWith(">>"))o.annotations.push(Q(d.substring(2,d.length-2)));else if(d.indexOf(")")>0)o.methods.push(new ht(d,"method"));else if(d)o.members.push(new ht(d,"attribute"))}}addMembers(r,n){if(Array.isArray(n))n.reverse(),n.forEach((l)=>this.addMember(r,l))}addNote(r,n){let l=this.notes.size,o={id:`note${l}`,class:n,text:r,index:l};return this.notes.set(o.id,o),o.id}cleanupLabel(r){if(r.startsWith(":"))r=r.substring(1);return Q(r.trim())}setCssClass(r,n){r.split(",").forEach((l)=>{let o=l;if(/\d/.exec(l[0]))o=Fe+o;o=this.splitClassNameAndType(o).className;let d=this.classes.get(o);if(d)d.cssClasses+=" "+n})}defineClass(r,n){for(let l of r){let o=this.styleClasses.get(l);if(o===void 0)o={id:l,styles:[],textStyles:[]},this.styleClasses.set(l,o);if(n)n.forEach((d)=>{if(/color/.exec(d)){let A=d.replace("fill","bgFill");o.textStyles.push(A)}o.styles.push(d)});this.classes.forEach((d)=>{if(d.cssClasses.includes(l))d.styles.push(...n.flatMap((A)=>A.split(",")))})}}setTooltip(r,n){r.split(",").forEach((l)=>{if(n!==void 0){let o=this.splitClassNameAndType(l).className,d=this.classes.get(o);if(d)d.tooltip=Q(n)}})}getTooltip(r,n){if(n&&this.namespaces.has(n))return this.namespaces.get(n).classes.get(r).tooltip;return this.classes.get(r).tooltip}setLink(r,n,l){let o=u();r.split(",").forEach((d)=>{let A=d;if(/\d/.exec(d[0]))A=Fe+A;A=this.splitClassNameAndType(A).className;let h=this.classes.get(A);if(h)if(h.link=H.formatUrl(n,o),o.securityLevel==="sandbox")h.linkTarget="_top";else if(typeof l==="string")h.linkTarget=Q(l);else h.linkTarget="_blank"}),this.setCssClass(r,"clickable")}setClickEvent(r,n,l){r.split(",").forEach((o)=>{this.setClickFunc(o,n,l);let d=this.splitClassNameAndType(o).className,A=this.classes.get(d);if(A)A.haveCallback=!0}),this.setCssClass(r,"clickable")}setClickFunc(r,n,l){let o=C.sanitizeText(r,u());if(u().securityLevel!=="loose")return;if(n===void 0)return;let A=this.splitClassNameAndType(o).className;if(this.classes.has(A)){let h=[];if(typeof l==="string"){h=l.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let m=0;m<h.length;m++){let E=h[m].trim();if(E.startsWith('"')&&E.endsWith('"'))E=E.substr(1,E.length-2);h[m]=E}}if(h.length===0)h.push(A);this.functions.push(()=>{let m=this.lookUpDomId(A),E=document.querySelector(`[id="${m}"]`);if(E!==null)E.addEventListener("click",()=>{H.runFunc(n,...h)},!1)})}}bindFunctions(r){this.functions.forEach((n)=>{n(r)})}escapeHtml(r){return r.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}getDirection(){return this.direction}setDirection(r){this.direction=r}static resolveQualifiedId(r,n){let l=n.at(-1);return l?`${l}.${r}`:r}static getAncestorIds(r){let n=r.split("."),l=Array(n.length);l[0]=n[0];for(let o=1;o<n.length;o++)l[o]=`${l[o-1]}.${n[o]}`;return l}createNamespaceNode(r,n,l,o=!1){return{id:r,label:n,classes:new Map,notes:new Map,children:new Map,domId:Fe+r+"-"+this.namespaceCounter++,parent:l,explicit:o}}linkParentChild(r,n){let l=this.namespaces.get(r),o=this.namespaces.get(n);if(!l||!o)return;if(!l.children.has(n))l.children.set(n,o);o.parent??=r}addNamespace(r,n){let l=s.resolveQualifiedId(r,this.namespaceStack);if(this.namespaceStack.push(l),this.namespaces.has(l)){let A=this.namespaces.get(l);if(A.explicit=!0,n)A.label=n;return l}let o=l.split("."),d=s.getAncestorIds(l);for(let A=0;A<d.length;A++){let h=d[A],m=A>0?d[A-1]:void 0,E=A===d.length-1,v=E&&n?n:o[A];if(!this.namespaces.has(h))this.namespaces.set(h,this.createNamespaceNode(h,v,m,E));else if(E)this.namespaces.get(h).explicit=!0;if(m)this.linkParentChild(m,h)}return l}popNamespace(){this.namespaceStack.pop()}getNamespace(r){return this.namespaces.get(r)}getNamespaces(){return this.namespaces}addClassesToNamespace(r,n,l){if(!this.namespaces.has(r))return;for(let o of n){let{className:d}=this.splitClassNameAndType(o),A=this.getClass(d);A.parent=r,this.namespaces.get(r).classes.set(d,A)}for(let o of l){let d=this.getNote(o);d.parent=r,this.namespaces.get(r).notes.set(o,d)}}setCssStyle(r,n){let l=this.classes.get(r);if(!n||!l)return;for(let o of n)if(o.includes(","))l.styles.push(...o.split(","));else l.styles.push(o)}getArrowMarker(r){let n;switch(r){case 0:n="aggregation";break;case 1:n="extension";break;case 2:n="composition";break;case 3:n="dependency";break;case 4:n="lollipop";break;default:n="none"}return n}resolveExplicitAncestor(r){let n=r;while(n){let l=this.namespaces.get(n);if(!l)return;if(l.explicit)return n;n=l.parent}return}getData(){let r=[],n=[],l=u(),o=l.class?.hierarchicalNamespaces??!0;for(let h of this.namespaces.values()){if(!o&&!h.explicit)continue;let m={id:h.id,label:o?h.label:h.id,isGroup:!0,padding:l.class.padding??16,shape:"rect",cssStyles:[],look:l.look,parentId:o?h.parent:void 0};r.push(m)}let d=0;for(let h of this.classes.values()){let m=o?h.parent:this.resolveExplicitAncestor(h.parent),E={...h,type:void 0,isGroup:!1,parentId:m,look:l.look,colorIndex:d++};r.push(E)}for(let h of this.notes.values()){let m=o?h.parent:this.resolveExplicitAncestor(h.parent),E={id:h.id,label:h.text,isGroup:!1,shape:"note",padding:l.class.padding??6,cssStyles:["text-align: left","white-space: nowrap",`fill: ${l.themeVariables.noteBkgColor}`,`stroke: ${l.themeVariables.noteBorderColor}`],look:l.look,parentId:m,labelType:"markdown"};r.push(E);let v=this.classes.get(h.class)?.id;if(v){let J={id:`edgeNote${h.index}`,start:h.id,end:v,type:"normal",thickness:"normal",classes:"relation",arrowTypeStart:"none",arrowTypeEnd:"none",arrowheadStyle:"",labelStyle:[""],style:["fill: none"],pattern:"dotted",look:l.look};n.push(J)}}for(let h of this.interfaces){let m={id:h.id,label:h.label,isGroup:!1,shape:"rect",cssStyles:["opacity: 0;"],look:l.look};r.push(m)}let A=0;for(let h of this.relations){A++;let m={id:Ct(h.id1,h.id2,{prefix:"id",counter:A}),start:h.id1,end:h.id2,type:"normal",label:h.title,labelpos:"c",thickness:"normal",classes:"relation",arrowTypeStart:this.getArrowMarker(h.relation.type1),arrowTypeEnd:this.getArrowMarker(h.relation.type2),startLabelRight:h.relationTitle1==="none"?"":h.relationTitle1,endLabelLeft:h.relationTitle2==="none"?"":h.relationTitle2,arrowheadStyle:"",labelStyle:["display: inline-block"],style:h.style||"",pattern:h.relation.lineType==1?"dashed":"solid",look:l.look,labelType:"markdown"};n.push(m)}return{nodes:r,edges:n,other:{},config:l,direction:this.getDirection()}}},Et=t((s)=>{let{theme:r,bkgColorArray:n,borderColorArray:l}=s;if(!Ne(r,l))return"";let o=Me(s.look),d=De(n),A="";for(let h=0;h<Dt(s.THEME_COLOR_LIMIT,l);h++){let m=l[h%l.length];A+=`
7
-
8
- [data-look="${o}"][data-color-id="color-${h}"].node .outer-path path {
9
- stroke: ${m};
10
- ${d?`fill: ${n[h%n.length]};`:""}
11
- }
12
-
13
- [data-look="${o}"][data-color-id="color-${h}"].node .divider path {
14
- stroke: ${m};
15
- }
16
- `}return A},"genColor"),yt=t((s)=>`${Et(s)}
17
- g.classGroup text {
18
- fill: ${s.nodeBorder||s.classText};
19
- stroke: none;
20
- font-family: ${s.fontFamily};
21
- font-size: 10px;
22
-
23
- .title {
24
- font-weight: bolder;
25
- }
26
-
27
- }
28
-
29
- .cluster-label text {
30
- fill: ${s.titleColor};
31
- }
32
- .cluster-label span {
33
- color: ${s.titleColor};
34
- }
35
- .cluster-label span p {
36
- background-color: transparent;
37
- }
38
-
39
- .cluster rect {
40
- fill: ${s.clusterBkg};
41
- stroke: ${s.clusterBorder};
42
- stroke-width: 1px;
43
- }
44
-
45
- .cluster text {
46
- fill: ${s.titleColor};
47
- }
48
-
49
- .cluster span {
50
- color: ${s.titleColor};
51
- }
52
-
53
- .nodeLabel, .edgeLabel {
54
- color: ${s.classText};
55
- }
56
-
57
- .noteLabel .nodeLabel, .noteLabel .edgeLabel {
58
- color: ${s.noteTextColor};
59
- }
60
- .edgeLabel .label rect {
61
- fill: ${s.mainBkg};
62
- }
63
- .label text {
64
- fill: ${s.classText};
65
- }
66
-
67
- .labelBkg {
68
- background: ${s.mainBkg};
69
- }
70
- .edgeLabel .label span {
71
- background: ${s.mainBkg};
72
- }
73
-
74
- .classTitle {
75
- font-weight: bolder;
76
- }
77
- .node rect,
78
- .node circle,
79
- .node ellipse,
80
- .node polygon,
81
- .node path {
82
- fill: ${s.mainBkg};
83
- stroke: ${s.nodeBorder};
84
- stroke-width: ${s.strokeWidth};
85
- }
86
-
87
-
88
- .divider {
89
- stroke: ${s.nodeBorder};
90
- stroke-width: 1;
91
- }
92
-
93
- g.clickable {
94
- cursor: pointer;
95
- }
96
-
97
- g.classGroup rect {
98
- fill: ${s.mainBkg};
99
- stroke: ${s.nodeBorder};
100
- }
101
-
102
- g.classGroup line {
103
- stroke: ${s.nodeBorder};
104
- stroke-width: 1;
105
- }
106
-
107
- .classLabel .box {
108
- stroke: none;
109
- stroke-width: 0;
110
- fill: ${s.mainBkg};
111
- opacity: 0.5;
112
- }
113
-
114
- .classLabel .label {
115
- fill: ${s.nodeBorder};
116
- font-size: 10px;
117
- }
118
-
119
- .relation {
120
- stroke: ${s.lineColor};
121
- stroke-width: ${s.strokeWidth};
122
- fill: none;
123
- }
124
-
125
- .dashed-line{
126
- stroke-dasharray: 3;
127
- }
128
-
129
- .dotted-line{
130
- stroke-dasharray: 1 2;
131
- }
132
-
133
- [id$="-compositionStart"], .composition {
134
- fill: ${s.lineColor} !important;
135
- stroke: ${s.lineColor} !important;
136
- stroke-width: 1;
137
- }
138
-
139
- [id$="-compositionEnd"], .composition {
140
- fill: ${s.lineColor} !important;
141
- stroke: ${s.lineColor} !important;
142
- stroke-width: 1;
143
- }
144
-
145
- [id$="-dependencyStart"], .dependency {
146
- fill: ${s.lineColor} !important;
147
- stroke: ${s.lineColor} !important;
148
- stroke-width: 1;
149
- }
150
-
151
- [id$="-dependencyEnd"], .dependency {
152
- fill: ${s.lineColor} !important;
153
- stroke: ${s.lineColor} !important;
154
- stroke-width: 1;
155
- }
156
-
157
- [id$="-extensionStart"], .extension {
158
- fill: transparent !important;
159
- stroke: ${s.lineColor} !important;
160
- stroke-width: 1;
161
- }
162
-
163
- [id$="-extensionEnd"], .extension {
164
- fill: transparent !important;
165
- stroke: ${s.lineColor} !important;
166
- stroke-width: 1;
167
- }
168
-
169
- [id$="-aggregationStart"], .aggregation {
170
- fill: transparent !important;
171
- stroke: ${s.lineColor} !important;
172
- stroke-width: 1;
173
- }
174
-
175
- [id$="-aggregationEnd"], .aggregation {
176
- fill: transparent !important;
177
- stroke: ${s.lineColor} !important;
178
- stroke-width: 1;
179
- }
180
-
181
- [id$="-lollipopStart"], .lollipop {
182
- fill: ${s.mainBkg} !important;
183
- stroke: ${s.lineColor} !important;
184
- stroke-width: 1;
185
- }
186
-
187
- [id$="-lollipopEnd"], .lollipop {
188
- fill: ${s.mainBkg} !important;
189
- stroke: ${s.lineColor} !important;
190
- stroke-width: 1;
191
- }
192
-
193
- .edgeTerminals {
194
- font-size: 11px;
195
- line-height: initial;
196
- }
197
-
198
- .classTitleText {
199
- text-anchor: middle;
200
- font-size: 18px;
201
- fill: ${s.textColor};
202
- }
203
-
204
- .edgeLabel[data-look="neo"] {
205
- background-color: ${s.edgeLabelBackground};
206
- p {
207
- background-color: ${s.edgeLabelBackground};
208
- }
209
- rect {
210
- opacity: 0.5;
211
- background-color: ${s.edgeLabelBackground};
212
- fill: ${s.edgeLabelBackground};
213
- }
214
- text-align: center;
215
- }
216
- ${Tt()}
217
- `,"getStyles"),Ft=yt,Bt=t((s,r="TB")=>{if(!s.doc)return r;let n=r;for(let l of s.doc)if(l.stmt==="dir")n=l.value;return n},"getDir"),_t=t(function(s,r){return r.db.getClasses()},"getClasses"),St=t(async function(s,r,n,l){i.info("REF0:"),i.info("Drawing class diagram (v3)",r);let{securityLevel:o,state:d,layout:A}=u();l.db.setDiagramId(r);let h=l.db.getData(),m=ze(r,o);h.type=l.type,h.layoutAlgorithm=Ue(A),h.nodeSpacing=d?.nodeSpacing||50,h.rankSpacing=d?.rankSpacing||50,h.markers=["aggregation","extension","composition","dependency","lollipop"],h.diagramId=r,await He(h,m);let E=8;H.insertTitle(m,"classDiagramTitleText",d?.titleTopMargin??25,l.db.getDiagramTitle()),Pe(m,E,"classDiagram",d?.useMaxWidth??!0)},"draw"),Nt={getClasses:_t,draw:St,getDir:Bt},Jt={parser:mt,get db(){return new gt},renderer:Nt,styles:Ft,init:t((s)=>{if(!s.class)s.class={};s.class.arrowMarkerAbsolute=s.arrowMarkerAbsolute},"init")};export{Jt as diagram};
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{t,i}from"./chunk-e4h4dg4y.js";import{he,Rn,Pn}from"./chunk-pm504vps.js";import{ae}from"./chunk-mytypet0.js";import{Ra,_n}from"./chunk-yarejzzs.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 _n(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
@@ -1 +0,0 @@
1
- import{Ms}from"./chunk-yarejzzs.js";export{Ms as createRadarServices};
@@ -1,2 +0,0 @@
1
- #�import{Ms}from"./chunk-yarejzzs.js";export{Ms as createRadarServices};
2
- 
Binary file
@@ -1 +0,0 @@
1
- import{y,s,o,a,h,e,n,b,l,ye,Bt,Be,we,ge,gt,zt,be,ue,Gc,mi,fi,hi,ps}from"./chunk-jbejy8k3.js";import{wi,ki,Ci}from"./chunk-qqrzr444.js";var xe=[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]],me=l("rotate-cw",xe);function pe(i){let{ApprovalPanel:P,Button:S,CopyButton:H,DetailChip:R,DetailList:f,DetailRow:u,DetailTitle:M,Dialog:D,Switch:Z,Tooltip:m,cn:te,confirm:w,useTheme:ne}=b();ne();let{info:r,connection:j}=i,N=i.projectID?`?projectID=${encodeURIComponent(i.projectID)}`:"",[G,se]=a(),[J,z]=a(),[g,T]=a(!1),[v,E]=a(),[B,O]=a(),Y=r.status.status==="connected",ee=r.status.status==="needs_auth",A=r.status.status==="failed",t=r.config.type==="remote"&&Boolean(r.config.oauth),I=r.projectID!==(i.projectID??null);s(()=>{function d(k){if(k&&k!==r.name)return;j.request(`/api/mcp/${encodeURIComponent(r.name)}/connect${N}`,{method:"POST"}).then((C)=>i.onChanged(C)).catch((C)=>{z(C instanceof Error?C.message:"授权后重新连接失败")})}function c(k){if(k.origin!==window.location.origin)return;if(k.data?.type==="mcp-oauth-success")d(k.data.name)}function p(k){if(k.key==="basalt-mcp-oauth-event"&&k.newValue)try{let C=JSON.parse(k.newValue);d(C.name)}catch(C){}}window.addEventListener("message",c),window.addEventListener("storage",p);let K;if("BroadcastChannel"in window)K=new BroadcastChannel("basalt-mcp-oauth"),K.onmessage=(k)=>{if(k.data?.type==="mcp-oauth-success")d(k.data.name)};return()=>{window.removeEventListener("message",c),window.removeEventListener("storage",p),K?.close()}},[j,r.name,N,i]),s(()=>{if(r.status.status!=="connected")return;j.request(`/api/mcp/${encodeURIComponent(r.name)}/tools${N}`).then((d)=>{if(Array.isArray(d))se(d),z(void 0)}).catch((d)=>{z(d instanceof Error?d.message:"获取工具失败")})},[j,r.name,N,r.status.status]);async function x(d){T(!0);try{let c=await j.request(`/api/mcp/${encodeURIComponent(r.name)}/${d}${N}`,{method:"POST"});i.onChanged(c)}catch{}finally{T(!1)}}async function F(){if(!v||g)return;let d=v.fingerprint;O(void 0),T(!0);try{let c=await j.request(`/api/mcp/${encodeURIComponent(r.name)}/trust${N}`,{method:"POST",body:JSON.stringify({fingerprint:d})});i.onChanged(c),E(void 0)}catch(c){O(c instanceof Error?c.message:"确认失败,请刷新配置")}finally{T(!1)}}async function U(){let d=window.open("about:blank","_blank","width=600,height=700");if(!d){z("授权窗口被浏览器拦截,请允许弹出窗口后重试");return}T(!0),z(void 0);try{let c=await j.request(`/api/mcp/${encodeURIComponent(r.name)}/oauth/authorize${N}`,{method:"POST"}),p=new URL(c.authorizationUrl);if(p.protocol!=="https:"&&p.protocol!=="http:")throw Error("授权服务返回了不支持的链接协议");d.location.href=p.href}catch(c){d.close(),z(c instanceof Error?c.message:"获取授权链接失败")}finally{T(!1)}}async function ie(){T(!0);try{let d=await j.request(`/api/mcp/${encodeURIComponent(r.name)}/oauth/clear${N}`,{method:"POST"});i.onChanged(d)}finally{T(!1)}}async function _(){if(!await w({title:`删除 ${r.name}?`,description:"删除后将断开连接并不再向会话提供其工具。",action:"删除",danger:!0}))return;T(!0);try{await j.request(`/api/mcp/${encodeURIComponent(r.name)}${N}`,{method:"DELETE"}),i.onChanged(),i.onClose()}finally{T(!1)}}let ae=r.config,re=hi(ae),V="error"in r.status?r.status.error:void 0,oe=ae.enabled===!1,le=!oe&&!ee&&r.status.status!=="needs_trust";if(v)return e(D,{open:!0,onOpenChange:(d)=>{if(!d&&!g)E(void 0)},title:`信任 ${r.name}?`,size:"lg",children:n(P,{hideTitle:!0,title:"信任项目本地命令",command:v.command,approveLabel:"信任并连接",busy:g?"approve":void 0,error:B,onDecision:(d)=>{if(d)F();else E(void 0)},description:"项目命令将以你的权限运行,请确认来源可信。",children:[n("div",{className:"flex min-w-0 items-start gap-2 text-xs text-dim",children:[e("span",{className:"shrink-0 leading-5",children:"目录"}),e("code",{className:"min-w-0 flex-1 leading-5 [overflow-wrap:anywhere]",children:v.cwd}),e(H,{text:v.cwd,label:"复制工作目录",size:"icon-xs"})]}),n("section",{className:"min-w-0 space-y-2",children:[e("h3",{className:"text-xs font-medium text-dim",children:"环境变量"}),v.variables.length?e("div",{className:"flex min-w-0 flex-wrap gap-2",children:v.variables.map((d)=>e("span",{className:"max-w-full rounded-md bg-raised px-2 py-1 font-mono text-xs text-dim [overflow-wrap:anywhere]",children:d},d))}):e("p",{className:"text-xs text-faint",children:"无"})]}),e("p",{className:"text-xs leading-5 text-faint",children:"配置变更后需重新确认。"})]})});return e(D,{open:!0,onOpenChange:(d)=>{if(!d&&!g)i.onClose()},title:e(M,{icon:ae.type==="local"?e(zt,{}):e(Be,{}),name:r.name,meta:[ae.type==="local"?"本地命令":"远程服务",fi(r.scope),t&&"OAuth 2.0"]}),size:"lg",footer:n("div",{className:"flex w-full items-center justify-between gap-2 max-sm:[&>*]:flex-none",children:[n("div",{className:"inline-flex items-center gap-2.5 text-ui text-dim",children:[!I&&e(Z,{label:`启用 ${r.name}`,checked:!oe,disabled:g||i.toggling,onCheckedChange:i.onToggle}),e(ps,{info:r,tools:!0})]}),n("div",{className:"flex items-center gap-1.5",children:[r.status.status==="needs_trust"&&e(S,{type:"button",size:"sm",onClick:()=>{if(r.status.status!=="needs_trust"||r.config.type!=="local")return;O(void 0),E({fingerprint:r.status.fingerprint,cwd:r.status.cwd,command:hi(r.config),variables:Object.keys(r.config.environment??{})})},disabled:g,children:"信任并连接"}),t&&e(S,{type:"button",variant:"ghost",size:"sm",onClick:ie,disabled:g,children:"清除凭据"}),!I&&e(m,{label:"删除服务器",children:e(S,{type:"button",variant:"danger-ghost",size:"icon","aria-label":"删除服务器",onClick:_,disabled:g,children:e(be,{className:"size-4"})})}),le&&e(m,{label:"终止服务进程并重新启动,让更新后的代码生效",children:e(S,{type:"button",variant:"ghost",size:"icon","aria-label":"重启",onClick:()=>x("restart"),disabled:g,children:e(me,{className:te("size-4",g&&"animate-spin")})})}),le&&e(S,{type:"button",size:"sm",onClick:()=>x(Y?"disconnect":"connect"),disabled:g,children:Y?"断开连接":"连接"}),!I&&n(S,{type:"button",size:"sm",onClick:i.onEdit,disabled:g,children:[e(gt,{className:"size-3.5"}),e("span",{children:"编辑配置"})]})]})]}),children:n(f,{children:[n(u,{label:ae.type==="local"?"命令":"地址",children:[e("span",{className:"min-w-0 font-mono text-xs text-dim leading-5.5 [overflow-wrap:anywhere]",children:re}),e(H,{text:re,label:"复制",size:"icon-xs",className:"shrink-0 text-faint hover:text-ink"})]}),ee&&n("div",{className:"flex items-center justify-between gap-4 py-3.5 max-sm:flex-col max-sm:items-start max-sm:gap-2.5",children:[n("div",{className:"min-w-0 space-y-1",children:[e("p",{className:"text-ui text-ink leading-5",children:"需要授权"}),e("p",{className:"text-xs text-faint leading-5",children:"完成授权后即可使用,凭据自动保存。"})]}),e(S,{type:"button",size:"sm",className:"shrink-0",onClick:U,disabled:g,children:g?"正在连接…":"连接账户"})]}),A&&e(u,{label:"错误",children:e("p",{className:"min-w-0 font-mono text-xs text-danger leading-5 [overflow-wrap:anywhere]",children:V})}),e(u,{label:"工具",children:J?e("span",{className:"text-danger",children:J}):!Y?e("span",{className:"text-faint",children:"连接后列出工具"}):!G?e("span",{role:"status",className:"text-faint",children:"正在获取"}):G.length===0?e("span",{className:"text-faint",children:"服务器没有声明任何工具"}):G.map((d)=>e(R,{mono:!0,title:d.description,children:d.name},d.name))})]})})}var Ce=/^[A-Za-z0-9_-]{1,64}$/;function Q(i){return e("span",{className:"truncate text-xs text-faint",children:i.children})}function fe(i){let{pairs:P,onChange:S,InputComponent:H}=i,R=(f,u)=>S(P.map((M,D)=>D===f?{...M,...u}:M));return n("div",{className:"space-y-2",children:[n("div",{className:"flex min-h-7 items-center gap-2",children:[e("span",{className:"shrink-0 text-ui font-medium text-dim",children:i.label}),e(Q,{children:i.tip}),n("button",{type:"button",className:"ml-auto inline-flex h-7 shrink-0 cursor-pointer items-center gap-1 rounded-lg px-2 text-xs font-medium text-dim transition-colors hover:bg-raised hover:text-ink",onClick:()=>S([...P,{key:"",value:"",saved:!1}]),children:[e(we,{className:"size-3.5"}),"添加"]})]}),P.map((f,u)=>n("div",{className:"flex min-w-0 items-center gap-1.5",children:[e(H,{"aria-label":`${i.keyLabel} ${u+1}`,placeholder:i.keyLabel,value:f.key,readOnly:f.saved,onChange:(M)=>R(u,{key:M.target.value}),className:"min-w-0 flex-[2] font-mono text-xs"}),e(H,{"aria-label":`${i.keyLabel} ${f.key||u+1} 的值`,type:"password",autoComplete:"off",placeholder:f.saved?"已保存,留空保持不变":"值",value:f.value,onChange:(M)=>R(u,{value:M.target.value}),className:"min-w-0 flex-[3] font-mono text-xs"}),e("button",{type:"button","aria-label":`删除 ${f.key||"该项"}`,className:"flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-lg text-faint transition-colors hover:bg-danger/10 hover:text-danger",onClick:()=>S(P.filter((M,D)=>D!==u)),children:e(ue,{className:"size-4"})})]},u))]})}function he(i){return Object.keys(i??{}).map((P)=>({key:P,value:"",saved:!0}))}function ve(i){let{Button:P,Segmented:S,Dialog:H,Form:R,Field:f,Input:u,Switch:M,style:D,useTheme:Z}=b();Z();let{existing:m}=i,[te,w]=a(m?.config.type??"local"),[ne,r]=a(m?.name??""),[j,N]=a(m?.config.type==="local"?mi(m.config.command):""),[G,se]=a(m?.config.type==="remote"?m.config.url:""),[J,z]=a(he(m?.config.type==="local"?m.config.environment:void 0)),[g,T]=a(he(m?.config.type==="remote"?m.config.headers:void 0)),v=m?.config.type==="remote"?m.config.oauth:void 0,[E,B]=a(Boolean(v)),[O,Y]=a(typeof v==="object"&&v.clientId?v.clientId:""),[ee,A]=a(""),[t,I]=a(typeof v==="object"&&v.scope?v.scope:""),[x,F]=a(m?.config.defer??"default"),[U,ie]=a(m?.config.timeout!==void 0?String(m.config.timeout):""),[_,ae]=a(m?.config.defer!==void 0||m?.config.timeout!==void 0),[re,V]=a(),[oe,le]=a(!1);async function d(c){c.preventDefault(),V(void 0);let p=ne.trim();if(!m&&!Ce.test(p)){V("名称只能包含英文字母、数字、下划线与中划线,长度 1-64");return}if(!m&&i.taken.includes(p)){V("同名服务器已存在");return}let K=U.trim()?Number.parseInt(U.trim(),10):void 0;if(K!==void 0&&(!Number.isFinite(K)||K<=0)){V("超时时间须为大于 0 的毫秒数");return}let k;if(te==="local"){let C=Gc(j.trim());if(!C.length){V("请输入启动命令");return}let W={};for(let q of J){let L=q.key.trim();if(!L)continue;if(!q.saved||q.value)W[L]=q.value}k={type:"local",command:C,environment:Object.keys(W).length?W:void 0,enabled:m?m.config.enabled:!0,defer:x==="default"?void 0:x,timeout:K}}else{let C=G.trim();try{let L=new URL(C);if(L.protocol!=="http:"&&L.protocol!=="https:")throw Error("bad protocol")}catch{V("请输入合法的 HTTP 或 HTTPS 地址");return}let W={};for(let L of g){let ce=L.key.trim();if(!ce)continue;if(!L.saved||L.value)W[ce]=L.value}let q;if(E){let L=O.trim(),ce=ee.trim(),de=t.trim();if(L||ce||de)q={clientId:L||void 0,clientSecret:ce||void 0,scope:de||void 0};else q=!0}else q=!1;k={type:"remote",url:C,headers:Object.keys(W).length?W:void 0,oauth:q,enabled:m?m.config.enabled:!0,defer:x==="default"?void 0:x,timeout:K}}le(!0);try{let C=m?.name??p,W=m?m.projectID:i.projectID,q=W?`?projectID=${encodeURIComponent(W)}`:"";await i.connection.request(`/api/mcp/${encodeURIComponent(C)}${q}`,{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify(k)}),i.onSaved()}catch(C){V(C instanceof Error?C.message:"保存失败")}finally{le(!1)}}return e(H,{open:!0,onOpenChange:(c)=>{if(!c&&!oe)i.onClose()},title:m?`编辑 ${m.name}`:"添加 MCP 服务器",size:"lg",footer:n("div",{className:"flex w-full justify-end gap-2.5",children:[e(P,{type:"button",variant:"ghost",onClick:i.onClose,disabled:oe,className:"min-w-20",children:"取消"}),e(P,{type:"submit",form:"mcp-server-form",variant:"primary",disabled:oe,className:"min-w-24",children:oe?"保存中...":"保存"})]}),children:n(R,{id:"mcp-server-form",onSubmit:d,children:[e(S,{value:te,onChange:(c)=>w(c),className:"w-full [&>button]:flex-1",options:[{value:"local",label:"本地(标准输入输出)"},{value:"remote",label:"远程(HTTP / SSE)"}]}),!m&&e(f,{label:"名称",aside:e(Q,{children:"唯一标识,如 postgres"}),children:(c)=>e(u,{id:c,value:ne,onChange:(p)=>r(p.target.value),placeholder:"postgres",className:"font-mono text-xs"})}),te==="local"?n(h,{children:[e(f,{label:"启动命令",aside:e(Q,{children:"完整命令及参数"}),children:(c)=>e(u,{id:c,value:j,onChange:(p)=>N(p.target.value),placeholder:"npx -y @modelcontextprotocol/server-postgres ...",className:"font-mono text-xs"})}),e(fe,{label:"环境变量",tip:"启动进程时注入",keyLabel:"变量名",pairs:J,onChange:z,InputComponent:u})]}):n(h,{children:[e(f,{label:"服务地址",aside:e(Q,{children:"HTTP / HTTPS 端点"}),children:(c)=>e(u,{id:c,value:G,onChange:(p)=>se(p.target.value),placeholder:"https://example.com/mcp",className:"font-mono text-xs"})}),e(fe,{label:"请求头",tip:"随每次请求发送",keyLabel:"头字段",pairs:g,onChange:T,InputComponent:u}),n("div",{className:"flex items-center justify-between gap-4",children:[n("div",{className:"min-w-0",children:[e("span",{className:"block text-ui font-medium text-dim",children:"OAuth 2.0 认证"}),e("span",{className:"block truncate text-xs text-faint",children:"自动发现授权端点,使用 PKCE 并刷新令牌"})]}),e(M,{checked:E,onCheckedChange:B,label:"启用 OAuth 2.0"})]}),E&&n(h,{children:[e(f,{label:"Client ID",aside:e(Q,{children:"留空自动动态注册(DCR)"}),children:(c)=>e(u,{id:c,value:O,onChange:(p)=>Y(p.target.value),placeholder:"留空自动动态注册",className:"font-mono text-xs"})}),e(f,{label:"Client Secret",aside:e(Q,{children:"留空保持不变"}),children:(c)=>e(u,{id:c,type:"password",autoComplete:"off",value:ee,onChange:(p)=>A(p.target.value),placeholder:"••••••••",className:"font-mono text-xs"})}),e(f,{label:"Scope",aside:e(Q,{children:"选填授权范围"}),children:(c)=>e(u,{id:c,value:t,onChange:(p)=>I(p.target.value),placeholder:"repo read:org",className:"font-mono text-xs"})})]})]}),n("div",{className:"space-y-3 border-t border-line/60 pt-3",children:[n("button",{type:"button","aria-expanded":_,className:"flex w-full cursor-pointer items-center gap-1.5 text-ui font-medium text-dim transition-colors hover:text-ink",onClick:()=>ae(!_),children:[e(Bt,{className:`size-3.5 transition-transform ${_?"rotate-90":""}`}),"高级设置",e("span",{className:"truncate text-xs font-normal text-faint",children:"加载时机、超时"})]}),_&&n("div",{className:"grid grid-cols-2 gap-3 max-sm:grid-cols-1",children:[e(f,{label:"加载时机",aside:e(Q,{children:"延迟 = 按需加载"}),children:()=>e(S,{value:x,onChange:(c)=>F(c),className:"w-full [&>button]:flex-1",options:[{value:"default",label:"默认"},{value:"defer",label:"延迟"},{value:"always",label:"常驻"}]})}),e(f,{label:"超时(毫秒)",aside:e(Q,{children:"留空用默认"}),children:(c)=>e(u,{id:c,value:U,onChange:(p)=>ie(p.target.value),placeholder:"默认",className:"font-mono text-xs"})})]})]}),re&&n("div",{role:"alert",className:D("callout.base",D("callout.danger"),"px-3 py-2.5 text-xs"),children:[e(ye,{className:"mt-0.5 size-3.5 shrink-0"}),e("span",{className:"min-w-0 break-words",children:re})]})]})})}var X="global";function He({connection:i}){let{Button:P,Select:S,CatalogRow:H,style:R,useTheme:f}=b();f();let[u,M]=a(""),[D,Z]=a(),[m,te]=a([]),[w,ne]=a(X),[r,j]=a(),[N,G]=a(!1),[se,J]=a(),[z,g]=a(!1),T=o(!1),[v,E]=a(),B=o(0),O=y(async()=>{let t=++B.current;G(!0);try{let I=w===X?"":`?projectID=${encodeURIComponent(w)}`,[x,F]=await Promise.all([i.request(`/api/mcp${I}`),i.request("/api/mcp/projects")]);if(t!==B.current)return;if(Z(x),te(F),w!==X&&!F.some((U)=>U.id===w))ne(X);j(void 0)}catch(I){if(t===B.current)j(I instanceof Error?I.message:"读取失败")}finally{if(t===B.current)G(!1)}},[i,w]);s(()=>(O(),()=>{B.current++}),[O]);async function Y(t,I){if(T.current)return;T.current=!0,g(!0);let x=B.current;try{let F=t.projectID?`?projectID=${encodeURIComponent(t.projectID)}`:"",U=await i.request(`/api/mcp/${encodeURIComponent(t.name)}${F}`,{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify({...t.config,enabled:I})});if(x===B.current)Z((ie)=>ie?.map((_)=>_.name===U.name&&_.projectID===U.projectID?U:_))}finally{T.current=!1,g(!1)}}let ee=D?.filter((t)=>`${t.name} ${hi(t.config)}`.toLowerCase().includes(u.trim().toLowerCase())),A=D?.find((t)=>t.name===se);return n("div",{className:"min-w-0 space-y-6",children:[n("section",{className:"min-w-0",children:[n("div",{className:"mb-2.5 flex flex-wrap items-end justify-between gap-3 px-0.5",children:[n("div",{className:"min-w-0 flex-1 basis-48",children:[e("h2",{className:R("settings.groupTitle"),children:"MCP 服务器"}),e("p",{className:R("settings.groupDesc"),children:"外部工具与数据源管理"})]}),n("div",{className:"flex flex-wrap items-center justify-end gap-2",children:[e(S,{value:w,disabled:N,onValueChange:(t)=>{J(void 0),E(void 0),Z(void 0),ne(t)},groups:[{options:[{value:X,label:"全局"}]},...wi(m)],className:"w-44"}),e(P,{variant:"ghost",disabled:N,onClick:O,className:"h-9 px-2.5 text-xs",children:e(ge,{className:`size-3.5 ${N?"animate-spin":""}`})}),n(P,{variant:"secondary",onClick:()=>E({}),className:"h-9 px-2.5 text-xs",children:[e(we,{className:"size-3.5 mr-1"}),"添加服务器"]})]})]}),r&&n("div",{role:"alert",className:R("callout.base",R("callout.danger"),"mb-3 flex-wrap items-center justify-between"),children:[n("p",{className:"min-w-0 flex-1 break-words text-sm text-danger",children:["无法读取 MCP 服务器:",r]}),e(P,{disabled:N,onClick:O,children:"重试"})]}),e(ki,{label:"搜索 MCP 服务器",placeholder:"搜索服务器",value:u,onChange:M}),e("div",{className:R("settings.groupBox"),children:!D?e(Ci,{}):ee?.length===0?e("p",{className:"p-4 text-sm text-dim",children:"没有匹配的 MCP 服务器"}):e("ul",{className:"divide-y divide-line",children:ee?.map((t)=>{let I=t.config.enabled===!1,x=t.projectID!==(w===X?null:w);return e("li",{children:e(H,{name:t.name,selectLabel:`查看 ${t.name}`,onSelect:()=>J(t.name),title:x?"继承的全局配置,请切换到全局范围编辑":void 0,description:e("span",{className:"font-mono text-2xs",children:hi(t.config)}),icon:t.config.type==="local"?e(zt,{}):e(Be,{}),inactive:I,aside:n(h,{children:[e("span",{className:R("control.badge"),children:fi(t.scope)}),e(ps,{info:t})]}),toggle:x?void 0:{checked:!I,label:`启用服务器 ${t.name}`,disabled:z||N,onCheckedChange:(F)=>Y(t,F)}})},t.name)})})})]}),A&&!v&&e(pe,{connection:i,info:A,toggling:z,onToggle:(t)=>Y(A,t),projectID:w===X?void 0:w,onClose:()=>J(void 0),onEdit:()=>E({info:A}),onChanged:(t)=>t?Z((I)=>I?.map((x)=>x.name===t.name?t:x)):O()},`${A.projectID}:${A.name}`),v&&e(ve,{connection:i,projectID:w===X?void 0:w,existing:v.info,taken:(D??[]).filter((t)=>t.scope===(w===X?"global":"project")).map((t)=>t.name),onClose:()=>E(void 0),onSaved:()=>{E(void 0),O()}})]})}export{He as McpSection};
Binary file
Binary file