@bkm016/basalt 0.1.25 → 0.1.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (901) hide show
  1. package/chunk-05bkyxh9.js +3 -0
  2. package/chunk-080kr9ct.js +15 -0
  3. package/chunk-1a4rrb2v.js +10 -0
  4. package/chunk-1s560041.js +2 -0
  5. package/chunk-2expw9m3.js +3 -0
  6. package/chunk-2fm6g0ga.js +3 -0
  7. package/chunk-2scbc5yh.js +3 -0
  8. package/chunk-33jk5rw1.js +3 -0
  9. package/chunk-377w9fhp.js +3 -0
  10. package/chunk-3wqncn58.js +3 -0
  11. package/chunk-43n3k72q.js +2 -0
  12. package/chunk-44pv8c0b.js +5 -0
  13. package/chunk-5gk93yp2.js +3 -0
  14. package/chunk-5z5sbry2.js +7 -0
  15. package/chunk-6qvg49rk.js +51 -0
  16. package/chunk-7d6fdzs3.js +50 -0
  17. package/chunk-7h6k7vac.js +3 -0
  18. package/chunk-7t5yqsgn.js +5 -0
  19. package/chunk-7th9y456.js +2 -0
  20. package/chunk-7v98r8ft.js +2 -0
  21. package/chunk-82bb3whz.js +3 -0
  22. package/chunk-8e061pr3.js +2 -0
  23. package/chunk-8n83nvpa.js +7 -0
  24. package/chunk-9nng543t.js +3 -0
  25. package/chunk-a0ex6znf.js +18 -0
  26. package/chunk-a25etmgf.js +3 -0
  27. package/chunk-awzaxv88.js +2 -0
  28. package/chunk-b2s9aksm.js +2 -0
  29. package/chunk-bfrpy5jd.js +4 -0
  30. package/chunk-br64f072.js +2 -0
  31. package/chunk-btza2hna.js +5 -0
  32. package/chunk-c9bjdydc.js +3 -0
  33. package/chunk-cww7drfr.js +2 -0
  34. package/chunk-d0az9pq0.js +2 -0
  35. package/chunk-d47bpkyz.js +12 -0
  36. package/chunk-dkfpqbcr.js +3 -0
  37. package/chunk-dsk3r1s8.js +2 -0
  38. package/chunk-dw8p4zcz.js +2 -0
  39. package/chunk-edz2cxtp.js +5 -0
  40. package/chunk-epqgd8d0.js +3 -0
  41. package/chunk-f7tn67ff.js +2 -0
  42. package/chunk-fevkmd0j.js +3 -0
  43. package/chunk-fzdvrsvn.js +482 -0
  44. package/chunk-ghat319t.js +25 -0
  45. package/chunk-h19mfxzq.js +7 -0
  46. package/chunk-h6sh9pkr.js +2 -0
  47. package/chunk-jdazqwft.js +2 -0
  48. package/chunk-je52rmxs.js +9 -0
  49. package/chunk-jj5pkfgm.js +2 -0
  50. package/chunk-jp7f2kak.js +2 -0
  51. package/chunk-jqpb4q7h.js +3 -0
  52. package/chunk-jzf3qp0g.js +2 -0
  53. package/chunk-k5qg9az8.js +8 -0
  54. package/chunk-m51tryxx.js +3 -0
  55. package/chunk-mna7mgdw.js +3 -0
  56. package/chunk-nfgg1ksw.js +3 -0
  57. package/chunk-npd8k692.js +2 -0
  58. package/chunk-nqzqm9ad.js +3 -0
  59. package/chunk-nsrdzz1p.js +20 -0
  60. package/chunk-qdwzmvcq.js +3923 -0
  61. package/chunk-qgyjffh0.js +16 -0
  62. package/chunk-qnq3xa4h.js +286 -0
  63. package/chunk-r0gyd40q.js +2 -0
  64. package/chunk-ra4kx253.js +7 -0
  65. package/chunk-rq2b2a6n.js +11 -0
  66. package/chunk-s1m4dt0z.js +3 -0
  67. package/chunk-s78m24h4.js +2 -0
  68. package/chunk-sd9r82h2.js +3 -0
  69. package/chunk-smygzsyr.js +10 -0
  70. package/chunk-t0zexn7n.js +2 -0
  71. package/chunk-t2s0yyw0.js +3 -0
  72. package/chunk-v9a2y9rn.js +3 -0
  73. package/chunk-vkn4bfyp.js +2 -0
  74. package/chunk-vpzs9trn.js +3 -0
  75. package/chunk-w3tzsrkw.js +12 -0
  76. package/chunk-x0t8h6vv.js +5 -0
  77. package/chunk-x23g9em9.js +39 -0
  78. package/chunk-x316ag7c.js +25 -0
  79. package/chunk-x5zgyewh.js +2 -0
  80. package/chunk-xr35av3b.js +59 -0
  81. package/chunk-yd190t0s.js +31 -0
  82. package/chunk-zhvw8efz.js +3 -0
  83. package/chunk-zyqsqwn7.js +2 -0
  84. package/compiled.js +10 -10
  85. package/package.json +1 -1
  86. package/ui-test-worker.js +37 -37
  87. package/web/chunk-08tgd17j.js +12 -0
  88. package/web/chunk-08tgd17j.js.br +0 -0
  89. package/web/chunk-08tgd17j.js.gz +0 -0
  90. package/web/chunk-0mqyt9m7.js +1 -0
  91. package/web/chunk-0mqyt9m7.js.br +0 -0
  92. package/web/chunk-0mqyt9m7.js.gz +0 -0
  93. package/web/chunk-0n99y9n5.js +1 -0
  94. package/web/chunk-0n99y9n5.js.br +0 -0
  95. package/web/chunk-0n99y9n5.js.gz +0 -0
  96. package/web/chunk-0qjj75v7.js +1 -0
  97. package/web/chunk-0qjj75v7.js.br +0 -0
  98. package/web/chunk-0qjj75v7.js.gz +0 -0
  99. package/web/chunk-0x3wtwhf.js +291 -0
  100. package/web/chunk-0x3wtwhf.js.br +0 -0
  101. package/web/chunk-0x3wtwhf.js.gz +0 -0
  102. package/web/chunk-0zd5g2yw.js +1 -0
  103. package/web/chunk-0zd5g2yw.js.br +0 -0
  104. package/web/chunk-0zd5g2yw.js.gz +0 -0
  105. package/web/chunk-146ww24y.js +55 -0
  106. package/web/chunk-146ww24y.js.br +0 -0
  107. package/web/chunk-146ww24y.js.gz +0 -0
  108. package/web/chunk-1d8r3aeh.js +3 -0
  109. package/web/chunk-1d8r3aeh.js.br +0 -0
  110. package/web/chunk-1d8r3aeh.js.gz +0 -0
  111. package/web/chunk-1qs4nh4c.js +1 -0
  112. package/web/chunk-1qs4nh4c.js.br +0 -0
  113. package/web/chunk-1qs4nh4c.js.gz +0 -0
  114. package/web/chunk-1v13225a.js +1 -0
  115. package/web/chunk-1v13225a.js.br +2 -0
  116. package/web/chunk-1v13225a.js.gz +0 -0
  117. package/web/chunk-22caavs1.js +1 -0
  118. package/web/chunk-22caavs1.js.br +0 -0
  119. package/web/chunk-22caavs1.js.gz +0 -0
  120. package/web/chunk-28e0vn8m.js +1 -0
  121. package/web/chunk-28e0vn8m.js.br +0 -0
  122. package/web/chunk-28e0vn8m.js.gz +0 -0
  123. package/web/chunk-28sta4gj.js +142 -0
  124. package/web/chunk-28sta4gj.js.br +0 -0
  125. package/web/chunk-28sta4gj.js.gz +0 -0
  126. package/web/chunk-3781tgyt.js +21 -0
  127. package/web/chunk-3781tgyt.js.br +0 -0
  128. package/web/chunk-3781tgyt.js.gz +0 -0
  129. package/web/chunk-3gt60qmf.js +370 -0
  130. package/web/chunk-3gt60qmf.js.br +0 -0
  131. package/web/chunk-3gt60qmf.js.gz +0 -0
  132. package/web/chunk-3rg8d23d.js +2 -0
  133. package/web/chunk-3rg8d23d.js.br +0 -0
  134. package/web/chunk-3rg8d23d.js.gz +0 -0
  135. package/web/chunk-40wx2kxh.js +1 -0
  136. package/web/chunk-40wx2kxh.js.br +0 -0
  137. package/web/chunk-40wx2kxh.js.gz +0 -0
  138. package/web/chunk-44kgdrrk.js +1 -0
  139. package/web/chunk-44kgdrrk.js.br +0 -0
  140. package/web/chunk-44kgdrrk.js.gz +0 -0
  141. package/web/chunk-4vqmgjbf.js +1 -0
  142. package/web/chunk-4vqmgjbf.js.br +0 -0
  143. package/web/chunk-4vqmgjbf.js.gz +0 -0
  144. package/web/chunk-55h6ya95.js +1 -0
  145. package/web/chunk-55h6ya95.js.br +2 -0
  146. package/web/chunk-55h6ya95.js.gz +0 -0
  147. package/web/chunk-5fed8tt3.js +1 -0
  148. package/web/chunk-5fed8tt3.js.br +0 -0
  149. package/web/chunk-5fed8tt3.js.gz +0 -0
  150. package/web/chunk-5y1v9ycq.js +2 -0
  151. package/web/chunk-5y1v9ycq.js.br +0 -0
  152. package/web/chunk-5y1v9ycq.js.gz +0 -0
  153. package/web/chunk-61wasm9a.js +1 -0
  154. package/web/chunk-61wasm9a.js.br +0 -0
  155. package/web/chunk-61wasm9a.js.gz +0 -0
  156. package/web/chunk-66mcaz0p.js +7 -0
  157. package/web/chunk-66mcaz0p.js.br +0 -0
  158. package/web/chunk-66mcaz0p.js.gz +0 -0
  159. package/web/chunk-6ew2qvxb.js +1 -0
  160. package/web/chunk-6ew2qvxb.js.br +0 -0
  161. package/web/chunk-6ew2qvxb.js.gz +0 -0
  162. package/web/chunk-6hkgy8ej.js +36 -0
  163. package/web/chunk-6hkgy8ej.js.br +0 -0
  164. package/web/chunk-6hkgy8ej.js.gz +0 -0
  165. package/web/chunk-75v6mnzm.js +40 -0
  166. package/web/chunk-75v6mnzm.js.br +0 -0
  167. package/web/chunk-75v6mnzm.js.gz +0 -0
  168. package/web/chunk-7ddgm832.js +41 -0
  169. package/web/chunk-7ddgm832.js.br +0 -0
  170. package/web/chunk-7ddgm832.js.gz +0 -0
  171. package/web/chunk-80htbw45.js +1 -0
  172. package/web/chunk-80htbw45.js.br +0 -0
  173. package/web/chunk-80htbw45.js.gz +0 -0
  174. package/web/chunk-8304998z.js +1 -0
  175. package/web/chunk-8304998z.js.br +0 -0
  176. package/web/chunk-8304998z.js.gz +0 -0
  177. package/web/chunk-84wf0ej8.js +2 -0
  178. package/web/chunk-84wf0ej8.js.br +0 -0
  179. package/web/chunk-84wf0ej8.js.gz +0 -0
  180. package/web/chunk-859ry2p4.js +1 -0
  181. package/web/chunk-859ry2p4.js.br +0 -0
  182. package/web/chunk-859ry2p4.js.gz +0 -0
  183. package/web/chunk-883weqxg.js +2 -0
  184. package/web/chunk-883weqxg.js.br +0 -0
  185. package/web/chunk-883weqxg.js.gz +0 -0
  186. package/web/chunk-8a46b2ww.js +303 -0
  187. package/web/chunk-8a46b2ww.js.br +0 -0
  188. package/web/chunk-8a46b2ww.js.gz +0 -0
  189. package/web/chunk-8cajyrkw.js +1 -0
  190. package/web/chunk-8cajyrkw.js.br +0 -0
  191. package/web/chunk-8cajyrkw.js.gz +0 -0
  192. package/web/chunk-8ejwy8g3.js +30 -0
  193. package/web/chunk-8ejwy8g3.js.br +0 -0
  194. package/web/chunk-8ejwy8g3.js.gz +0 -0
  195. package/web/chunk-951dg5kq.js +8 -0
  196. package/web/chunk-951dg5kq.js.br +1 -0
  197. package/web/chunk-951dg5kq.js.gz +0 -0
  198. package/web/chunk-97ccteq4.js +106 -0
  199. package/web/chunk-97ccteq4.js.br +0 -0
  200. package/web/chunk-97ccteq4.js.gz +0 -0
  201. package/web/chunk-98kr0bw8.js +98 -0
  202. package/web/chunk-98kr0bw8.js.br +0 -0
  203. package/web/chunk-98kr0bw8.js.gz +0 -0
  204. package/web/chunk-9bq7xgjz.js +1 -0
  205. package/web/chunk-9bq7xgjz.js.br +0 -0
  206. package/web/chunk-9bq7xgjz.js.gz +0 -0
  207. package/web/chunk-9g5jgnfe.js +2 -0
  208. package/web/chunk-9g5jgnfe.js.br +0 -0
  209. package/web/chunk-9g5jgnfe.js.gz +0 -0
  210. package/web/chunk-an6adjgz.js +24 -0
  211. package/web/chunk-an6adjgz.js.br +0 -0
  212. package/web/chunk-an6adjgz.js.gz +0 -0
  213. package/web/chunk-arp4g43b.js +1 -0
  214. package/web/chunk-arp4g43b.js.br +0 -0
  215. package/web/chunk-arp4g43b.js.gz +0 -0
  216. package/web/chunk-b2ads9ra.js +1 -0
  217. package/web/chunk-b2ads9ra.js.br +0 -0
  218. package/web/chunk-b2ads9ra.js.gz +0 -0
  219. package/web/chunk-bd90pxqc.js +169 -0
  220. package/web/chunk-bd90pxqc.js.br +0 -0
  221. package/web/chunk-bd90pxqc.js.gz +0 -0
  222. package/web/chunk-bmtzds29.js +1 -0
  223. package/web/chunk-bmtzds29.js.br +0 -0
  224. package/web/chunk-bmtzds29.js.gz +0 -0
  225. package/web/chunk-brsvdef4.js +1 -0
  226. package/web/chunk-brsvdef4.js.br +0 -0
  227. package/web/chunk-brsvdef4.js.gz +0 -0
  228. package/web/chunk-bv0vs331.js +332 -0
  229. package/web/chunk-bv0vs331.js.br +0 -0
  230. package/web/chunk-bv0vs331.js.gz +0 -0
  231. package/web/chunk-bzvserky.js +89 -0
  232. package/web/chunk-bzvserky.js.br +0 -0
  233. package/web/chunk-bzvserky.js.gz +0 -0
  234. package/web/chunk-cd3hhgn9.js +2 -0
  235. package/web/chunk-cd3hhgn9.js.br +0 -0
  236. package/web/chunk-cd3hhgn9.js.gz +0 -0
  237. package/web/chunk-cdwn0hd1.js +2 -0
  238. package/web/chunk-cdwn0hd1.js.br +0 -0
  239. package/web/chunk-cdwn0hd1.js.gz +0 -0
  240. package/web/chunk-ckpx6ky8.js +2 -0
  241. package/web/chunk-ckpx6ky8.js.br +0 -0
  242. package/web/chunk-ckpx6ky8.js.gz +0 -0
  243. package/web/chunk-d11xvhrx.js +140 -0
  244. package/web/chunk-d11xvhrx.js.br +0 -0
  245. package/web/chunk-d11xvhrx.js.gz +0 -0
  246. package/web/chunk-d25jazap.js +89 -0
  247. package/web/chunk-d25jazap.js.br +0 -0
  248. package/web/chunk-d25jazap.js.gz +0 -0
  249. package/web/chunk-d5jk5ftp.js +2 -0
  250. package/web/chunk-d5jk5ftp.js.br +0 -0
  251. package/web/chunk-d5jk5ftp.js.gz +0 -0
  252. package/web/chunk-dkdedpn5.js +1 -0
  253. package/web/chunk-dkdedpn5.js.br +0 -0
  254. package/web/chunk-dkdedpn5.js.gz +0 -0
  255. package/web/chunk-dxejr2wc.js +7 -0
  256. package/web/chunk-dxejr2wc.js.br +0 -0
  257. package/web/chunk-dxejr2wc.js.gz +0 -0
  258. package/web/chunk-dym50nnh.js +292 -0
  259. package/web/chunk-dym50nnh.js.br +0 -0
  260. package/web/chunk-dym50nnh.js.gz +0 -0
  261. package/web/chunk-e1fv9zdp.js +1 -0
  262. package/web/chunk-e1fv9zdp.js.br +0 -0
  263. package/web/chunk-e1fv9zdp.js.gz +0 -0
  264. package/web/chunk-e9ycc491.js +120 -0
  265. package/web/chunk-e9ycc491.js.br +0 -0
  266. package/web/chunk-e9ycc491.js.gz +0 -0
  267. package/web/chunk-eww9ygx5.js +2 -0
  268. package/web/chunk-eww9ygx5.js.br +0 -0
  269. package/web/chunk-eww9ygx5.js.gz +0 -0
  270. package/web/chunk-ey2fy3vm.js +4 -0
  271. package/web/chunk-ey2fy3vm.js.br +0 -0
  272. package/web/chunk-ey2fy3vm.js.gz +0 -0
  273. package/web/chunk-ez498328.js +39 -0
  274. package/web/chunk-ez498328.js.br +0 -0
  275. package/web/chunk-ez498328.js.gz +0 -0
  276. package/web/chunk-f0x62xvv.js +84 -0
  277. package/web/chunk-f0x62xvv.js.br +0 -0
  278. package/web/chunk-f0x62xvv.js.gz +0 -0
  279. package/web/chunk-f1z92c2d.js +1 -0
  280. package/web/chunk-f1z92c2d.js.br +2 -0
  281. package/web/chunk-f1z92c2d.js.gz +0 -0
  282. package/web/chunk-fwvar7a7.js +1 -0
  283. package/web/chunk-fwvar7a7.js.br +0 -0
  284. package/web/chunk-fwvar7a7.js.gz +0 -0
  285. package/web/chunk-g8bw60t3.js +324 -0
  286. package/web/chunk-g8bw60t3.js.br +0 -0
  287. package/web/chunk-g8bw60t3.js.gz +0 -0
  288. package/web/chunk-g8se5rtx.js +2 -0
  289. package/web/chunk-g8se5rtx.js.br +0 -0
  290. package/web/chunk-g8se5rtx.js.gz +0 -0
  291. package/web/chunk-gkwkbkr4.js +217 -0
  292. package/web/chunk-gkwkbkr4.js.br +0 -0
  293. package/web/chunk-gkwkbkr4.js.gz +0 -0
  294. package/web/chunk-h50zbzfg.js +24 -0
  295. package/web/chunk-h50zbzfg.js.br +0 -0
  296. package/web/chunk-h50zbzfg.js.gz +0 -0
  297. package/web/chunk-j3vqhfgg.js +1 -0
  298. package/web/chunk-j3vqhfgg.js.br +0 -0
  299. package/web/chunk-j3vqhfgg.js.gz +0 -0
  300. package/web/chunk-jk6j68wv.js +1 -0
  301. package/web/chunk-jk6j68wv.js.br +0 -0
  302. package/web/chunk-jk6j68wv.js.gz +0 -0
  303. package/web/chunk-jrdx4yfq.js +2 -0
  304. package/web/chunk-jrdx4yfq.js.br +0 -0
  305. package/web/chunk-jrdx4yfq.js.gz +0 -0
  306. package/web/chunk-k2by2sj0.css +1 -0
  307. package/web/chunk-k2by2sj0.css.br +0 -0
  308. package/web/chunk-k2by2sj0.css.gz +0 -0
  309. package/web/chunk-kc4ymfvv.js +2 -0
  310. package/web/chunk-kc4ymfvv.js.br +1 -0
  311. package/web/chunk-kc4ymfvv.js.gz +0 -0
  312. package/web/chunk-kh9d9x20.js +1 -0
  313. package/web/chunk-kh9d9x20.js.br +0 -0
  314. package/web/chunk-kh9d9x20.js.gz +0 -0
  315. package/web/chunk-kkv1h28t.js +2 -0
  316. package/web/chunk-kkv1h28t.js.br +0 -0
  317. package/web/chunk-kkv1h28t.js.gz +0 -0
  318. package/web/chunk-kzkjfngw.js +7 -0
  319. package/web/chunk-kzkjfngw.js.br +0 -0
  320. package/web/chunk-kzkjfngw.js.gz +0 -0
  321. package/web/chunk-mj8xb4z9.js +2 -0
  322. package/web/chunk-mj8xb4z9.js.br +0 -0
  323. package/web/chunk-mj8xb4z9.js.gz +0 -0
  324. package/web/chunk-mv0pwdz6.js +1 -0
  325. package/web/chunk-mv0pwdz6.js.br +0 -0
  326. package/web/chunk-mv0pwdz6.js.gz +0 -0
  327. package/web/chunk-n8qc0chz.js +34 -0
  328. package/web/chunk-n8qc0chz.js.br +0 -0
  329. package/web/chunk-n8qc0chz.js.gz +0 -0
  330. package/web/chunk-nf83ezt5.js +1136 -0
  331. package/web/chunk-nf83ezt5.js.br +0 -0
  332. package/web/chunk-nf83ezt5.js.gz +0 -0
  333. package/web/chunk-nh3m09b1.js +1 -0
  334. package/web/chunk-nh3m09b1.js.br +0 -0
  335. package/web/chunk-nh3m09b1.js.gz +0 -0
  336. package/web/chunk-nqvjw71s.js +1 -0
  337. package/web/chunk-nqvjw71s.js.br +0 -0
  338. package/web/chunk-nqvjw71s.js.gz +0 -0
  339. package/web/chunk-nyydkfyf.js +1 -0
  340. package/web/chunk-nyydkfyf.js.br +0 -0
  341. package/web/chunk-nyydkfyf.js.gz +0 -0
  342. package/web/chunk-p0zneef1.js +2 -0
  343. package/web/chunk-p0zneef1.js.br +0 -0
  344. package/web/chunk-p0zneef1.js.gz +0 -0
  345. package/web/chunk-pjd16rfv.js +1 -0
  346. package/web/chunk-pjd16rfv.js.br +0 -0
  347. package/web/chunk-pjd16rfv.js.gz +0 -0
  348. package/web/chunk-praang0j.js +214 -0
  349. package/web/chunk-praang0j.js.br +0 -0
  350. package/web/chunk-praang0j.js.gz +0 -0
  351. package/web/chunk-prynwp2t.js +1 -0
  352. package/web/chunk-prynwp2t.js.br +0 -0
  353. package/web/chunk-prynwp2t.js.gz +0 -0
  354. package/web/chunk-qd3x1kbw.js +1 -0
  355. package/web/chunk-qd3x1kbw.js.br +2 -0
  356. package/web/chunk-qd3x1kbw.js.gz +0 -0
  357. package/web/chunk-qgqg2kr5.js +1 -0
  358. package/web/chunk-qgqg2kr5.js.br +0 -0
  359. package/web/chunk-qgqg2kr5.js.gz +0 -0
  360. package/web/chunk-qha5j25q.js +2 -0
  361. package/web/chunk-qha5j25q.js.br +0 -0
  362. package/web/chunk-qha5j25q.js.gz +0 -0
  363. package/web/chunk-qhf717ek.js +2 -0
  364. package/web/chunk-qhf717ek.js.br +0 -0
  365. package/web/chunk-qhf717ek.js.gz +0 -0
  366. package/web/chunk-qt2ktkps.js +1 -0
  367. package/web/chunk-qt2ktkps.js.br +0 -0
  368. package/web/chunk-qt2ktkps.js.gz +0 -0
  369. package/web/chunk-scnew5q6.js +1 -0
  370. package/web/chunk-scnew5q6.js.br +0 -0
  371. package/web/chunk-scnew5q6.js.gz +0 -0
  372. package/web/chunk-scrrgk6n.js +2 -0
  373. package/web/chunk-scrrgk6n.js.br +0 -0
  374. package/web/chunk-scrrgk6n.js.gz +0 -0
  375. package/web/chunk-sy1ta5rp.js +1 -0
  376. package/web/chunk-sy1ta5rp.js.br +0 -0
  377. package/web/chunk-sy1ta5rp.js.gz +0 -0
  378. package/web/chunk-t092etr1.js +2 -0
  379. package/web/chunk-t092etr1.js.br +0 -0
  380. package/web/chunk-t092etr1.js.gz +0 -0
  381. package/web/chunk-t34g8qj4.js +2 -0
  382. package/web/chunk-t34g8qj4.js.br +0 -0
  383. package/web/chunk-t34g8qj4.js.gz +0 -0
  384. package/web/chunk-tfdwgjr1.js +2 -0
  385. package/web/chunk-tfdwgjr1.js.br +0 -0
  386. package/web/chunk-tfdwgjr1.js.gz +0 -0
  387. package/web/chunk-ty54ph0y.js +1 -0
  388. package/web/chunk-ty54ph0y.js.br +2 -0
  389. package/web/chunk-ty54ph0y.js.gz +0 -0
  390. package/web/chunk-v7nv1ve8.js +1 -0
  391. package/web/chunk-v7nv1ve8.js.br +0 -0
  392. package/web/chunk-v7nv1ve8.js.gz +0 -0
  393. package/web/chunk-vchzf900.js +2 -0
  394. package/web/chunk-vchzf900.js.br +0 -0
  395. package/web/chunk-vchzf900.js.gz +0 -0
  396. package/web/chunk-vtn7g6n0.js +2 -0
  397. package/web/chunk-vtn7g6n0.js.br +0 -0
  398. package/web/chunk-vtn7g6n0.js.gz +0 -0
  399. package/web/chunk-w1bp9wwx.js +1 -0
  400. package/web/chunk-w1bp9wwx.js.br +0 -0
  401. package/web/chunk-w1bp9wwx.js.gz +0 -0
  402. package/web/chunk-w4h1c0eb.js +200 -0
  403. package/web/chunk-w4h1c0eb.js.br +0 -0
  404. package/web/chunk-w4h1c0eb.js.gz +0 -0
  405. package/web/chunk-wx0jmdbq.js +62 -0
  406. package/web/chunk-wx0jmdbq.js.br +0 -0
  407. package/web/chunk-wx0jmdbq.js.gz +0 -0
  408. package/web/chunk-xdns99dp.js +99 -0
  409. package/web/chunk-xdns99dp.js.br +0 -0
  410. package/web/chunk-xdns99dp.js.gz +0 -0
  411. package/web/chunk-xnhzragz.js +1 -0
  412. package/web/chunk-xnhzragz.js.br +0 -0
  413. package/web/chunk-xnhzragz.js.gz +0 -0
  414. package/web/chunk-xq241z8c.js +38 -0
  415. package/web/chunk-xq241z8c.js.br +0 -0
  416. package/web/chunk-xq241z8c.js.gz +0 -0
  417. package/web/chunk-xve7x5x1.js +2 -0
  418. package/web/chunk-xve7x5x1.js.br +0 -0
  419. package/web/chunk-xve7x5x1.js.gz +0 -0
  420. package/web/chunk-xvn1wg8g.js +2 -0
  421. package/web/chunk-xvn1wg8g.js.br +0 -0
  422. package/web/chunk-xvn1wg8g.js.gz +0 -0
  423. package/web/chunk-xwy6m9v6.js +1 -0
  424. package/web/chunk-xwy6m9v6.js.br +0 -0
  425. package/web/chunk-xwy6m9v6.js.gz +0 -0
  426. package/web/chunk-y7zvyd6m.js +1 -0
  427. package/web/chunk-y7zvyd6m.js.br +0 -0
  428. package/web/chunk-y7zvyd6m.js.gz +0 -0
  429. package/web/chunk-yh07726r.js +78 -0
  430. package/web/chunk-yh07726r.js.br +0 -0
  431. package/web/chunk-yh07726r.js.gz +0 -0
  432. package/web/chunk-yr94dbhk.js +1 -0
  433. package/web/chunk-yr94dbhk.js.br +0 -0
  434. package/web/chunk-yr94dbhk.js.gz +0 -0
  435. package/web/chunk-ysqfkg2v.js +70 -0
  436. package/web/chunk-ysqfkg2v.js.br +0 -0
  437. package/web/chunk-ysqfkg2v.js.gz +0 -0
  438. package/web/chunk-yxax25q6.js +4 -0
  439. package/web/chunk-yxax25q6.js.br +0 -0
  440. package/web/chunk-yxax25q6.js.gz +0 -0
  441. package/web/chunk-z7024nm8.js +16 -0
  442. package/web/chunk-z7024nm8.js.br +0 -0
  443. package/web/chunk-z7024nm8.js.gz +0 -0
  444. package/web/chunk-z91sdj83.js +139 -0
  445. package/web/chunk-z91sdj83.js.br +0 -0
  446. package/web/chunk-z91sdj83.js.gz +0 -0
  447. package/web/chunk-zw958xwq.js +1 -0
  448. package/web/chunk-zw958xwq.js.br +0 -0
  449. package/web/chunk-zw958xwq.js.gz +0 -0
  450. package/web/index.html +1 -1
  451. package/web/index.html.br +0 -0
  452. package/web/index.html.gz +0 -0
  453. package/worker.js +1 -1
  454. package/chunk-0ecs4nme.js +0 -18
  455. package/chunk-0mrd775t.js +0 -3
  456. package/chunk-0p12aad6.js +0 -3
  457. package/chunk-0vdz9j55.js +0 -7
  458. package/chunk-1v0dv855.js +0 -3
  459. package/chunk-2c6seev1.js +0 -3
  460. package/chunk-2jeg8h8d.js +0 -3
  461. package/chunk-2q3tewbg.js +0 -59
  462. package/chunk-3hqka8zs.js +0 -2
  463. package/chunk-3ktcgaec.js +0 -2
  464. package/chunk-3v0ezmaw.js +0 -39
  465. package/chunk-3zv7ryz0.js +0 -2
  466. package/chunk-4mwx4pet.js +0 -15
  467. package/chunk-5h96jz3p.js +0 -3
  468. package/chunk-5kd940f5.js +0 -3
  469. package/chunk-61e7nvw9.js +0 -2
  470. package/chunk-628vymvd.js +0 -3
  471. package/chunk-6h9dxrr4.js +0 -2
  472. package/chunk-6ka4m0ax.js +0 -2
  473. package/chunk-6q0ak8d1.js +0 -12
  474. package/chunk-768vwfc3.js +0 -3
  475. package/chunk-7k4xghss.js +0 -5
  476. package/chunk-8jv34hrx.js +0 -7
  477. package/chunk-8np9b2y8.js +0 -3
  478. package/chunk-8yv55y6g.js +0 -3
  479. package/chunk-93bcazsp.js +0 -2
  480. package/chunk-95rqa8r8.js +0 -2
  481. package/chunk-9fccgczj.js +0 -3
  482. package/chunk-akf8x16s.js +0 -5
  483. package/chunk-bkmd5d8p.js +0 -3
  484. package/chunk-df7ye0xb.js +0 -9
  485. package/chunk-drbd6485.js +0 -3
  486. package/chunk-dsd6pd2m.js +0 -2
  487. package/chunk-eejgn4ye.js +0 -2
  488. package/chunk-eek8fqvj.js +0 -2
  489. package/chunk-ewjrnvjb.js +0 -10
  490. package/chunk-f4tqhvff.js +0 -3
  491. package/chunk-ff293dj0.js +0 -4
  492. package/chunk-g23dnf4y.js +0 -4
  493. package/chunk-gha8wd63.js +0 -11
  494. package/chunk-gwcstcqs.js +0 -3566
  495. package/chunk-gwrpahes.js +0 -2
  496. package/chunk-hz92pdms.js +0 -2
  497. package/chunk-jepxf22f.js +0 -7
  498. package/chunk-keq5kv9b.js +0 -3
  499. package/chunk-khdch9sx.js +0 -25
  500. package/chunk-m1w7f6d3.js +0 -5
  501. package/chunk-m839588n.js +0 -2
  502. package/chunk-mah60ek9.js +0 -3
  503. package/chunk-mmm1jh57.js +0 -20
  504. package/chunk-mmt11y21.js +0 -2
  505. package/chunk-mny4xyb0.js +0 -3
  506. package/chunk-mq0p4ssz.js +0 -3
  507. package/chunk-mzta1jts.js +0 -10
  508. package/chunk-n0qwj5gm.js +0 -12
  509. package/chunk-n19ec95n.js +0 -3
  510. package/chunk-n5b822pn.js +0 -3
  511. package/chunk-nvxx397h.js +0 -2
  512. package/chunk-nwfhbcme.js +0 -4
  513. package/chunk-pjv9mppd.js +0 -473
  514. package/chunk-pr1hfw3a.js +0 -2
  515. package/chunk-q2re8mn9.js +0 -31
  516. package/chunk-qgg3wk8h.js +0 -2
  517. package/chunk-r9gkfk6f.js +0 -16
  518. package/chunk-rjfph4m5.js +0 -3
  519. package/chunk-rkn6bven.js +0 -390
  520. package/chunk-rmy489b1.js +0 -7
  521. package/chunk-sf2cp0m6.js +0 -8
  522. package/chunk-sfwy8rqg.js +0 -3
  523. package/chunk-sj2q2amm.js +0 -11
  524. package/chunk-sqfs6z7c.js +0 -3
  525. package/chunk-sy980cjq.js +0 -2
  526. package/chunk-t64hda7b.js +0 -2
  527. package/chunk-tbhqhejq.js +0 -2
  528. package/chunk-trxaygjr.js +0 -5
  529. package/chunk-v7ehjbxx.js +0 -2
  530. package/chunk-vjegsy9q.js +0 -2
  531. package/chunk-vt4xyc4q.js +0 -2
  532. package/chunk-w430z452.js +0 -25
  533. package/chunk-xycq2q8m.js +0 -2
  534. package/chunk-y6mng74k.js +0 -2
  535. package/chunk-y8aq7mb7.js +0 -3
  536. package/chunk-ynt6najh.js +0 -3
  537. package/chunk-z1y43t2s.js +0 -3
  538. package/chunk-z6v2pcc0.js +0 -3
  539. package/web/chunk-00wh99xz.js +0 -78
  540. package/web/chunk-00wh99xz.js.br +0 -0
  541. package/web/chunk-00wh99xz.js.gz +0 -0
  542. package/web/chunk-0a1t2j8h.js +0 -2
  543. package/web/chunk-0a1t2j8h.js.br +0 -0
  544. package/web/chunk-0a1t2j8h.js.gz +0 -0
  545. package/web/chunk-0g9ycv0h.js +0 -2
  546. package/web/chunk-0g9ycv0h.js.br +0 -0
  547. package/web/chunk-0g9ycv0h.js.gz +0 -0
  548. package/web/chunk-1ar2phwa.js +0 -1
  549. package/web/chunk-1ar2phwa.js.br +0 -0
  550. package/web/chunk-1ar2phwa.js.gz +0 -0
  551. package/web/chunk-1jfydncj.js +0 -24
  552. package/web/chunk-1jfydncj.js.br +0 -0
  553. package/web/chunk-1jfydncj.js.gz +0 -0
  554. package/web/chunk-1p1jtvrt.js +0 -2
  555. package/web/chunk-1p1jtvrt.js.br +0 -0
  556. package/web/chunk-1p1jtvrt.js.gz +0 -0
  557. package/web/chunk-1x38r11w.js +0 -1
  558. package/web/chunk-1x38r11w.js.br +0 -2
  559. package/web/chunk-1x38r11w.js.gz +0 -0
  560. package/web/chunk-25rf3svt.js +0 -2
  561. package/web/chunk-25rf3svt.js.br +0 -0
  562. package/web/chunk-25rf3svt.js.gz +0 -0
  563. package/web/chunk-2cfv55j2.js +0 -1
  564. package/web/chunk-2cfv55j2.js.br +0 -0
  565. package/web/chunk-2cfv55j2.js.gz +0 -0
  566. package/web/chunk-2q37qdq2.js +0 -2
  567. package/web/chunk-2q37qdq2.js.br +0 -0
  568. package/web/chunk-2q37qdq2.js.gz +0 -0
  569. package/web/chunk-2yhmab75.js +0 -7
  570. package/web/chunk-2yhmab75.js.br +0 -0
  571. package/web/chunk-2yhmab75.js.gz +0 -0
  572. package/web/chunk-39rtp0f4.js +0 -1
  573. package/web/chunk-39rtp0f4.js.br +0 -0
  574. package/web/chunk-39rtp0f4.js.gz +0 -0
  575. package/web/chunk-3at57qna.js +0 -1
  576. package/web/chunk-3at57qna.js.br +0 -0
  577. package/web/chunk-3at57qna.js.gz +0 -0
  578. package/web/chunk-3z9kpkec.js +0 -1
  579. package/web/chunk-3z9kpkec.js.br +0 -0
  580. package/web/chunk-3z9kpkec.js.gz +0 -0
  581. package/web/chunk-43shp7zx.js +0 -2
  582. package/web/chunk-43shp7zx.js.br +0 -0
  583. package/web/chunk-43shp7zx.js.gz +0 -0
  584. package/web/chunk-4ncnt1c2.js +0 -2
  585. package/web/chunk-4ncnt1c2.js.br +0 -0
  586. package/web/chunk-4ncnt1c2.js.gz +0 -0
  587. package/web/chunk-4vc07x6t.js +0 -1
  588. package/web/chunk-4vc07x6t.js.br +0 -0
  589. package/web/chunk-4vc07x6t.js.gz +0 -0
  590. package/web/chunk-4ytc5sth.js +0 -1
  591. package/web/chunk-4ytc5sth.js.br +0 -0
  592. package/web/chunk-4ytc5sth.js.gz +0 -0
  593. package/web/chunk-54vdfmx0.js +0 -2
  594. package/web/chunk-54vdfmx0.js.br +0 -0
  595. package/web/chunk-54vdfmx0.js.gz +0 -0
  596. package/web/chunk-5c5h90k0.js +0 -1
  597. package/web/chunk-5c5h90k0.js.br +0 -0
  598. package/web/chunk-5c5h90k0.js.gz +0 -0
  599. package/web/chunk-5zpn3n5a.js +0 -1
  600. package/web/chunk-5zpn3n5a.js.br +0 -0
  601. package/web/chunk-5zpn3n5a.js.gz +0 -0
  602. package/web/chunk-64k06g43.js +0 -1
  603. package/web/chunk-64k06g43.js.br +0 -0
  604. package/web/chunk-64k06g43.js.gz +0 -0
  605. package/web/chunk-6pbrtp4e.js +0 -30
  606. package/web/chunk-6pbrtp4e.js.br +0 -0
  607. package/web/chunk-6pbrtp4e.js.gz +0 -0
  608. package/web/chunk-6sehssym.js +0 -1
  609. package/web/chunk-6sehssym.js.br +0 -2
  610. package/web/chunk-6sehssym.js.gz +0 -0
  611. package/web/chunk-7hxj251q.js +0 -1
  612. package/web/chunk-7hxj251q.js.br +0 -0
  613. package/web/chunk-7hxj251q.js.gz +0 -0
  614. package/web/chunk-7qcmg5ns.js +0 -2
  615. package/web/chunk-7qcmg5ns.js.br +0 -0
  616. package/web/chunk-7qcmg5ns.js.gz +0 -0
  617. package/web/chunk-7ycp549b.js +0 -2
  618. package/web/chunk-7ycp549b.js.br +0 -0
  619. package/web/chunk-7ycp549b.js.gz +0 -0
  620. package/web/chunk-811qc5bs.js +0 -1
  621. package/web/chunk-811qc5bs.js.br +0 -0
  622. package/web/chunk-811qc5bs.js.gz +0 -0
  623. package/web/chunk-82gjgy45.js +0 -1
  624. package/web/chunk-82gjgy45.js.br +0 -0
  625. package/web/chunk-82gjgy45.js.gz +0 -0
  626. package/web/chunk-82j6713x.js +0 -214
  627. package/web/chunk-82j6713x.js.br +0 -0
  628. package/web/chunk-82j6713x.js.gz +0 -0
  629. package/web/chunk-9vexd52p.js +0 -324
  630. package/web/chunk-9vexd52p.js.br +0 -0
  631. package/web/chunk-9vexd52p.js.gz +0 -0
  632. package/web/chunk-ajj3nc80.js +0 -2
  633. package/web/chunk-ajj3nc80.js.br +0 -0
  634. package/web/chunk-ajj3nc80.js.gz +0 -0
  635. package/web/chunk-amrkb4dd.js +0 -1
  636. package/web/chunk-amrkb4dd.js.br +0 -0
  637. package/web/chunk-amrkb4dd.js.gz +0 -0
  638. package/web/chunk-amrt87c9.js +0 -1
  639. package/web/chunk-amrt87c9.js.br +0 -0
  640. package/web/chunk-amrt87c9.js.gz +0 -0
  641. package/web/chunk-b7d5k9sp.js +0 -370
  642. package/web/chunk-b7d5k9sp.js.br +0 -0
  643. package/web/chunk-b7d5k9sp.js.gz +0 -0
  644. package/web/chunk-bavn0z5d.js +0 -1
  645. package/web/chunk-bavn0z5d.js.br +0 -0
  646. package/web/chunk-bavn0z5d.js.gz +0 -0
  647. package/web/chunk-bjw74xvy.js +0 -4
  648. package/web/chunk-bjw74xvy.js.br +0 -0
  649. package/web/chunk-bjw74xvy.js.gz +0 -0
  650. package/web/chunk-bn68ks4x.js +0 -1
  651. package/web/chunk-bn68ks4x.js.br +0 -0
  652. package/web/chunk-bn68ks4x.js.gz +0 -0
  653. package/web/chunk-c59d2j14.js +0 -8
  654. package/web/chunk-c59d2j14.js.br +0 -0
  655. package/web/chunk-c59d2j14.js.gz +0 -0
  656. package/web/chunk-cfz9ftze.js +0 -70
  657. package/web/chunk-cfz9ftze.js.br +0 -0
  658. package/web/chunk-cfz9ftze.js.gz +0 -0
  659. package/web/chunk-chq476ch.js +0 -98
  660. package/web/chunk-chq476ch.js.br +0 -0
  661. package/web/chunk-chq476ch.js.gz +0 -0
  662. package/web/chunk-cqr2kq2c.js +0 -1
  663. package/web/chunk-cqr2kq2c.js.br +0 -0
  664. package/web/chunk-cqr2kq2c.js.gz +0 -0
  665. package/web/chunk-cxhcrhqc.js +0 -1
  666. package/web/chunk-cxhcrhqc.js.br +0 -0
  667. package/web/chunk-cxhcrhqc.js.gz +0 -0
  668. package/web/chunk-d0ey112q.js +0 -140
  669. package/web/chunk-d0ey112q.js.br +0 -0
  670. package/web/chunk-d0ey112q.js.gz +0 -0
  671. package/web/chunk-d71z7s5r.js +0 -16
  672. package/web/chunk-d71z7s5r.js.br +0 -0
  673. package/web/chunk-d71z7s5r.js.gz +0 -0
  674. package/web/chunk-dembnhph.js +0 -2
  675. package/web/chunk-dembnhph.js.br +0 -0
  676. package/web/chunk-dembnhph.js.gz +0 -0
  677. package/web/chunk-dfq4w8mf.js +0 -1
  678. package/web/chunk-dfq4w8mf.js.br +0 -0
  679. package/web/chunk-dfq4w8mf.js.gz +0 -0
  680. package/web/chunk-dwdxczxc.js +0 -99
  681. package/web/chunk-dwdxczxc.js.br +0 -0
  682. package/web/chunk-dwdxczxc.js.gz +0 -0
  683. package/web/chunk-e3b2krd7.js +0 -1
  684. package/web/chunk-e3b2krd7.js.br +0 -0
  685. package/web/chunk-e3b2krd7.js.gz +0 -0
  686. package/web/chunk-e4wbkc1x.js +0 -55
  687. package/web/chunk-e4wbkc1x.js.br +0 -0
  688. package/web/chunk-e4wbkc1x.js.gz +0 -0
  689. package/web/chunk-ee67ps6t.js +0 -1
  690. package/web/chunk-ee67ps6t.js.br +0 -0
  691. package/web/chunk-ee67ps6t.js.gz +0 -0
  692. package/web/chunk-ef0wf92p.js +0 -2
  693. package/web/chunk-ef0wf92p.js.br +0 -0
  694. package/web/chunk-ef0wf92p.js.gz +0 -0
  695. package/web/chunk-ekwmp0s0.js +0 -1
  696. package/web/chunk-ekwmp0s0.js.br +0 -0
  697. package/web/chunk-ekwmp0s0.js.gz +0 -0
  698. package/web/chunk-f2qrf0he.js +0 -7
  699. package/web/chunk-f2qrf0he.js.br +0 -0
  700. package/web/chunk-f2qrf0he.js.gz +0 -0
  701. package/web/chunk-f88vhwan.js +0 -34
  702. package/web/chunk-f88vhwan.js.br +0 -0
  703. package/web/chunk-f88vhwan.js.gz +0 -0
  704. package/web/chunk-fpp6jtb4.js +0 -1
  705. package/web/chunk-fpp6jtb4.js.br +0 -0
  706. package/web/chunk-fpp6jtb4.js.gz +0 -0
  707. package/web/chunk-ft62hfnt.js +0 -1
  708. package/web/chunk-ft62hfnt.js.br +0 -0
  709. package/web/chunk-ft62hfnt.js.gz +0 -0
  710. package/web/chunk-g3fahpjw.js +0 -2
  711. package/web/chunk-g3fahpjw.js.br +0 -0
  712. package/web/chunk-g3fahpjw.js.gz +0 -0
  713. package/web/chunk-g5b4wjwp.js +0 -1135
  714. package/web/chunk-g5b4wjwp.js.br +0 -0
  715. package/web/chunk-g5b4wjwp.js.gz +0 -0
  716. package/web/chunk-ga3tn73a.js +0 -1
  717. package/web/chunk-ga3tn73a.js.br +0 -0
  718. package/web/chunk-ga3tn73a.js.gz +0 -0
  719. package/web/chunk-gf4vtpw2.js +0 -1
  720. package/web/chunk-gf4vtpw2.js.br +0 -0
  721. package/web/chunk-gf4vtpw2.js.gz +0 -0
  722. package/web/chunk-ghxfjwhq.js +0 -1
  723. package/web/chunk-ghxfjwhq.js.br +0 -0
  724. package/web/chunk-ghxfjwhq.js.gz +0 -0
  725. package/web/chunk-gxqs7zmy.js +0 -1
  726. package/web/chunk-gxqs7zmy.js.br +0 -0
  727. package/web/chunk-gxqs7zmy.js.gz +0 -0
  728. package/web/chunk-htn0dt64.js +0 -2
  729. package/web/chunk-htn0dt64.js.br +0 -0
  730. package/web/chunk-htn0dt64.js.gz +0 -0
  731. package/web/chunk-jpdp0xkd.js +0 -1
  732. package/web/chunk-jpdp0xkd.js.br +0 -0
  733. package/web/chunk-jpdp0xkd.js.gz +0 -0
  734. package/web/chunk-jtzbk251.js +0 -291
  735. package/web/chunk-jtzbk251.js.br +0 -0
  736. package/web/chunk-jtzbk251.js.gz +0 -0
  737. package/web/chunk-k8yyb4wc.js +0 -2
  738. package/web/chunk-k8yyb4wc.js.br +0 -0
  739. package/web/chunk-k8yyb4wc.js.gz +0 -0
  740. package/web/chunk-kc6k0ect.js +0 -1
  741. package/web/chunk-kc6k0ect.js.br +0 -0
  742. package/web/chunk-kc6k0ect.js.gz +0 -0
  743. package/web/chunk-kk7k8xc8.js +0 -21
  744. package/web/chunk-kk7k8xc8.js.br +0 -0
  745. package/web/chunk-kk7k8xc8.js.gz +0 -0
  746. package/web/chunk-kmpyntam.js +0 -169
  747. package/web/chunk-kmpyntam.js.br +0 -0
  748. package/web/chunk-kmpyntam.js.gz +0 -0
  749. package/web/chunk-mejpj22t.js +0 -89
  750. package/web/chunk-mejpj22t.js.br +0 -0
  751. package/web/chunk-mejpj22t.js.gz +0 -0
  752. package/web/chunk-mm10pm0x.js +0 -106
  753. package/web/chunk-mm10pm0x.js.br +0 -0
  754. package/web/chunk-mm10pm0x.js.gz +0 -0
  755. package/web/chunk-mpve4748.js +0 -1
  756. package/web/chunk-mpve4748.js.br +0 -0
  757. package/web/chunk-mpve4748.js.gz +0 -0
  758. package/web/chunk-ms022qq9.js +0 -1
  759. package/web/chunk-ms022qq9.js.br +0 -2
  760. package/web/chunk-ms022qq9.js.gz +0 -0
  761. package/web/chunk-mxf122px.js +0 -1
  762. package/web/chunk-mxf122px.js.br +0 -0
  763. package/web/chunk-mxf122px.js.gz +0 -0
  764. package/web/chunk-mzv41kv9.js +0 -1
  765. package/web/chunk-mzv41kv9.js.br +0 -2
  766. package/web/chunk-mzv41kv9.js.gz +0 -0
  767. package/web/chunk-mzyg8zga.js +0 -332
  768. package/web/chunk-mzyg8zga.js.br +0 -0
  769. package/web/chunk-mzyg8zga.js.gz +0 -0
  770. package/web/chunk-n8j9jdsh.js +0 -2
  771. package/web/chunk-n8j9jdsh.js.br +0 -0
  772. package/web/chunk-n8j9jdsh.js.gz +0 -0
  773. package/web/chunk-n8ts6ra2.js +0 -36
  774. package/web/chunk-n8ts6ra2.js.br +0 -0
  775. package/web/chunk-n8ts6ra2.js.gz +0 -0
  776. package/web/chunk-nefchfa1.js +0 -1
  777. package/web/chunk-nefchfa1.js.br +0 -0
  778. package/web/chunk-nefchfa1.js.gz +0 -0
  779. package/web/chunk-ng0bsm6n.js +0 -1
  780. package/web/chunk-ng0bsm6n.js.br +0 -0
  781. package/web/chunk-ng0bsm6n.js.gz +0 -0
  782. package/web/chunk-nz1mm18x.js +0 -1
  783. package/web/chunk-nz1mm18x.js.br +0 -0
  784. package/web/chunk-nz1mm18x.js.gz +0 -0
  785. package/web/chunk-pdxqp4rh.js +0 -2
  786. package/web/chunk-pdxqp4rh.js.br +0 -0
  787. package/web/chunk-pdxqp4rh.js.gz +0 -0
  788. package/web/chunk-pe2zvyjt.js +0 -2
  789. package/web/chunk-pe2zvyjt.js.br +0 -0
  790. package/web/chunk-pe2zvyjt.js.gz +0 -0
  791. package/web/chunk-q8ve5wqt.js +0 -292
  792. package/web/chunk-q8ve5wqt.js.br +0 -0
  793. package/web/chunk-q8ve5wqt.js.gz +0 -0
  794. package/web/chunk-qh93t9tv.js +0 -1
  795. package/web/chunk-qh93t9tv.js.br +0 -0
  796. package/web/chunk-qh93t9tv.js.gz +0 -0
  797. package/web/chunk-qqewmk3y.js +0 -62
  798. package/web/chunk-qqewmk3y.js.br +0 -0
  799. package/web/chunk-qqewmk3y.js.gz +0 -0
  800. package/web/chunk-qzb06me8.js +0 -303
  801. package/web/chunk-qzb06me8.js.br +0 -0
  802. package/web/chunk-qzb06me8.js.gz +0 -0
  803. package/web/chunk-r2zernvz.js +0 -7
  804. package/web/chunk-r2zernvz.js.br +0 -0
  805. package/web/chunk-r2zernvz.js.gz +0 -0
  806. package/web/chunk-r8ykja8v.js +0 -139
  807. package/web/chunk-r8ykja8v.js.br +0 -0
  808. package/web/chunk-r8ykja8v.js.gz +0 -0
  809. package/web/chunk-r9b7eh2j.js +0 -1
  810. package/web/chunk-r9b7eh2j.js.br +0 -0
  811. package/web/chunk-r9b7eh2j.js.gz +0 -0
  812. package/web/chunk-ry1wp3v8.js +0 -2
  813. package/web/chunk-ry1wp3v8.js.br +0 -0
  814. package/web/chunk-ry1wp3v8.js.gz +0 -0
  815. package/web/chunk-s2bfc2vk.js +0 -1
  816. package/web/chunk-s2bfc2vk.js.br +0 -0
  817. package/web/chunk-s2bfc2vk.js.gz +0 -0
  818. package/web/chunk-s4c6nzj9.js +0 -120
  819. package/web/chunk-s4c6nzj9.js.br +0 -0
  820. package/web/chunk-s4c6nzj9.js.gz +0 -0
  821. package/web/chunk-ss23nnmc.js +0 -217
  822. package/web/chunk-ss23nnmc.js.br +0 -0
  823. package/web/chunk-ss23nnmc.js.gz +0 -0
  824. package/web/chunk-sxmv80th.js +0 -2
  825. package/web/chunk-sxmv80th.js.br +0 -0
  826. package/web/chunk-sxmv80th.js.gz +0 -0
  827. package/web/chunk-sy2cdka3.js +0 -24
  828. package/web/chunk-sy2cdka3.js.br +0 -0
  829. package/web/chunk-sy2cdka3.js.gz +0 -0
  830. package/web/chunk-sysebfkg.js +0 -41
  831. package/web/chunk-sysebfkg.js.br +0 -0
  832. package/web/chunk-sysebfkg.js.gz +0 -0
  833. package/web/chunk-t3620hrb.js +0 -39
  834. package/web/chunk-t3620hrb.js.br +0 -0
  835. package/web/chunk-t3620hrb.js.gz +0 -0
  836. package/web/chunk-t5srz1hs.js +0 -3
  837. package/web/chunk-t5srz1hs.js.br +0 -0
  838. package/web/chunk-t5srz1hs.js.gz +0 -0
  839. package/web/chunk-ta913rgd.js +0 -2
  840. package/web/chunk-ta913rgd.js.br +0 -0
  841. package/web/chunk-ta913rgd.js.gz +0 -0
  842. package/web/chunk-v25k7n3r.js +0 -12
  843. package/web/chunk-v25k7n3r.js.br +0 -0
  844. package/web/chunk-v25k7n3r.js.gz +0 -0
  845. package/web/chunk-vf0p4ayw.js +0 -1
  846. package/web/chunk-vf0p4ayw.js.br +0 -0
  847. package/web/chunk-vf0p4ayw.js.gz +0 -0
  848. package/web/chunk-vr6n4pvt.js +0 -1
  849. package/web/chunk-vr6n4pvt.js.br +0 -0
  850. package/web/chunk-vr6n4pvt.js.gz +0 -0
  851. package/web/chunk-vrtdjg91.js +0 -1
  852. package/web/chunk-vrtdjg91.js.br +0 -0
  853. package/web/chunk-vrtdjg91.js.gz +0 -0
  854. package/web/chunk-vx6qbmd7.js +0 -2
  855. package/web/chunk-vx6qbmd7.js.br +0 -0
  856. package/web/chunk-vx6qbmd7.js.gz +0 -0
  857. package/web/chunk-vx9g94x2.js +0 -200
  858. package/web/chunk-vx9g94x2.js.br +0 -0
  859. package/web/chunk-vx9g94x2.js.gz +0 -0
  860. package/web/chunk-w5v80bmk.js +0 -89
  861. package/web/chunk-w5v80bmk.js.br +0 -0
  862. package/web/chunk-w5v80bmk.js.gz +0 -0
  863. package/web/chunk-wj0ck0pa.js +0 -40
  864. package/web/chunk-wj0ck0pa.js.br +0 -0
  865. package/web/chunk-wj0ck0pa.js.gz +0 -0
  866. package/web/chunk-wjzdpyhs.css +0 -1
  867. package/web/chunk-wjzdpyhs.css.br +0 -0
  868. package/web/chunk-wjzdpyhs.css.gz +0 -0
  869. package/web/chunk-wmt8d7zv.js +0 -38
  870. package/web/chunk-wmt8d7zv.js.br +0 -0
  871. package/web/chunk-wmt8d7zv.js.gz +0 -0
  872. package/web/chunk-wqf0qjbv.js +0 -4
  873. package/web/chunk-wqf0qjbv.js.br +0 -0
  874. package/web/chunk-wqf0qjbv.js.gz +0 -0
  875. package/web/chunk-xsyrxa45.js +0 -2
  876. package/web/chunk-xsyrxa45.js.br +0 -0
  877. package/web/chunk-xsyrxa45.js.gz +0 -0
  878. package/web/chunk-y5f7gy03.js +0 -142
  879. package/web/chunk-y5f7gy03.js.br +0 -0
  880. package/web/chunk-y5f7gy03.js.gz +0 -0
  881. package/web/chunk-yg78fas7.js +0 -2
  882. package/web/chunk-yg78fas7.js.br +0 -0
  883. package/web/chunk-yg78fas7.js.gz +0 -0
  884. package/web/chunk-yvkbc3s5.js +0 -1
  885. package/web/chunk-yvkbc3s5.js.br +0 -0
  886. package/web/chunk-yvkbc3s5.js.gz +0 -0
  887. package/web/chunk-yygayy5a.js +0 -1
  888. package/web/chunk-yygayy5a.js.br +0 -0
  889. package/web/chunk-yygayy5a.js.gz +0 -0
  890. package/web/chunk-z9nj64n7.js +0 -2
  891. package/web/chunk-z9nj64n7.js.br +0 -0
  892. package/web/chunk-z9nj64n7.js.gz +0 -0
  893. package/web/chunk-zc0e01j4.js +0 -1
  894. package/web/chunk-zc0e01j4.js.br +0 -0
  895. package/web/chunk-zc0e01j4.js.gz +0 -0
  896. package/web/chunk-zj9s9w76.js +0 -1
  897. package/web/chunk-zj9s9w76.js.br +0 -0
  898. package/web/chunk-zj9s9w76.js.gz +0 -0
  899. package/web/chunk-znwpavn5.js +0 -84
  900. package/web/chunk-znwpavn5.js.br +0 -0
  901. package/web/chunk-znwpavn5.js.gz +0 -0
Binary file
Binary file
@@ -1,89 +0,0 @@
1
- import{t,i,ue,f,h,F,q,pn,d,J,qt,Vt,wn,dn,rr}from"./chunk-qzb06me8.js";import{At}from"./chunk-d71z7s5r.js";var se=function(){var e=t(function(A,s,r,o){for(r=r||{},o=A.length;o--;r[A[o]]=s);return r},"o"),p=[1,4],m=[1,13],a=[1,12],y=[1,15],N=[1,16],S=[1,20],u=[1,19],C=[6,7,8],T=[1,26],b=[1,24],P=[1,25],x=[6,7,11],z=[1,31],D=[6,7,11,24],U=[1,6,13,16,17,20,23],k=[1,35],V=[1,36],w=[1,6,7,11,13,16,17,20,23],X=[1,38],B={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},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,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:t(function(s,r,o,c,g,n,j){var l=n.length-1;switch(g){case 6:case 7:return c;case 8:c.getLogger().trace("Stop NL ");break;case 9:c.getLogger().trace("Stop EOF ");break;case 11:c.getLogger().trace("Stop NL2 ");break;case 12:c.getLogger().trace("Stop EOF2 ");break;case 15:c.getLogger().info("Node: ",n[l-1].id),c.addNode(n[l-2].length,n[l-1].id,n[l-1].descr,n[l-1].type,n[l]);break;case 16:c.getLogger().info("Node: ",n[l].id),c.addNode(n[l-1].length,n[l].id,n[l].descr,n[l].type);break;case 17:c.getLogger().trace("Icon: ",n[l]),c.decorateNode({icon:n[l]});break;case 18:case 23:c.decorateNode({class:n[l]});break;case 19:c.getLogger().trace("SPACELIST");break;case 20:c.getLogger().trace("Node: ",n[l-1].id),c.addNode(0,n[l-1].id,n[l-1].descr,n[l-1].type,n[l]);break;case 21:c.getLogger().trace("Node: ",n[l].id),c.addNode(0,n[l].id,n[l].descr,n[l].type);break;case 22:c.decorateNode({icon:n[l]});break;case 27:c.getLogger().trace("node found ..",n[l-2]),this.$={id:n[l-1],descr:n[l-1],type:c.getType(n[l-2],n[l])};break;case 28:this.$={id:n[l],descr:n[l],type:0};break;case 29:c.getLogger().trace("node found ..",n[l-3]),this.$={id:n[l-3],descr:n[l-1],type:c.getType(n[l-2],n[l])};break;case 30:this.$=n[l-1]+n[l];break;case 31:this.$=n[l];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:p},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:p},{6:m,7:[1,10],9:9,12:11,13:a,14:14,16:y,17:N,18:17,19:18,20:S,23:u},e(C,[2,3]),{1:[2,2]},e(C,[2,4]),e(C,[2,5]),{1:[2,6],6:m,12:21,13:a,14:14,16:y,17:N,18:17,19:18,20:S,23:u},{6:m,9:22,12:11,13:a,14:14,16:y,17:N,18:17,19:18,20:S,23:u},{6:T,7:b,10:23,11:P},e(x,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:S,23:u}),e(x,[2,19]),e(x,[2,21],{15:30,24:z}),e(x,[2,22]),e(x,[2,23]),e(D,[2,25]),e(D,[2,26]),e(D,[2,28],{20:[1,32]}),{21:[1,33]},{6:T,7:b,10:34,11:P},{1:[2,7],6:m,12:21,13:a,14:14,16:y,17:N,18:17,19:18,20:S,23:u},e(U,[2,14],{7:k,11:V}),e(w,[2,8]),e(w,[2,9]),e(w,[2,10]),e(x,[2,16],{15:37,24:z}),e(x,[2,17]),e(x,[2,18]),e(x,[2,20],{24:X}),e(D,[2,31]),{21:[1,39]},{22:[1,40]},e(U,[2,13],{7:k,11:V}),e(w,[2,11]),e(w,[2,12]),e(x,[2,15],{24:X}),e(D,[2,30]),{22:[1,41]},e(D,[2,27]),e(D,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:t(function(s,r){if(r.recoverable)this.trace(s);else{var o=Error(s);throw o.hash=r,o}},"parseError"),parse:t(function(s){var r=this,o=[0],c=[],g=[null],n=[],j=this.table,l="",K=0,le=0,he=0,be=2,ge=1,ye=n.slice.call(arguments,1),_=Object.create(this.lexer),G={yy:{}};for(var ee in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,ee))G.yy[ee]=this.yy[ee];if(_.setInput(s,G.yy),G.yy.lexer=_,G.yy.parser=this,typeof _.yylloc>"u")_.yylloc={};var te=_.yylloc;n.push(te);var me=_.options&&_.options.ranges;if(typeof G.yy.parseError==="function")this.parseError=G.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function ke(O){o.length=o.length-2*O,g.length=g.length-O,n.length=n.length-O}t(ke,"popStack");function de(){var O=c.pop()||_.lex()||ge;if(typeof O!=="number"){if(O instanceof Array)c=O,O=c.pop();O=r.symbols_[O]||O}return O}t(de,"lex");var v,ne,M,L,je,ie,W={},Y,R,pe,Q;while(!0){if(M=o[o.length-1],this.defaultActions[M])L=this.defaultActions[M];else{if(v===null||typeof v>"u")v=de();L=j[M]&&j[M][v]}if(typeof L>"u"||!L.length||!L[0]){var re="";Q=[];for(Y in j[M])if(this.terminals_[Y]&&Y>be)Q.push("'"+this.terminals_[Y]+"'");if(_.showPosition)re="Parse error on line "+(K+1)+`:
2
- `+_.showPosition()+`
3
- Expecting `+Q.join(", ")+", got '"+(this.terminals_[v]||v)+"'";else re="Parse error on line "+(K+1)+": Unexpected "+(v==ge?"end of input":"'"+(this.terminals_[v]||v)+"'");this.parseError(re,{text:_.match,token:this.terminals_[v]||v,line:_.yylineno,loc:te,expected:Q})}if(L[0]instanceof Array&&L.length>1)throw Error("Parse Error: multiple actions possible at state: "+M+", token: "+v);switch(L[0]){case 1:if(o.push(v),g.push(_.yytext),n.push(_.yylloc),o.push(L[1]),v=null,!ne){if(le=_.yyleng,l=_.yytext,K=_.yylineno,te=_.yylloc,he>0)he--}else v=ne,ne=null;break;case 2:if(R=this.productions_[L[1]][1],W.$=g[g.length-R],W._$={first_line:n[n.length-(R||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(R||1)].first_column,last_column:n[n.length-1].last_column},me)W._$.range=[n[n.length-(R||1)].range[0],n[n.length-1].range[1]];if(ie=this.performAction.apply(W,[l,le,K,G.yy,L[1],g,n].concat(ye)),typeof ie<"u")return ie;if(R)o=o.slice(0,-1*R*2),g=g.slice(0,-1*R),n=n.slice(0,-1*R);o.push(this.productions_[L[1]][0]),g.push(W.$),n.push(W._$),pe=j[o[o.length-2]][o[o.length-1]],o.push(pe);break;case 3:return!0}}return!0},"parse")},Z=function(){var A={EOF:1,parseError:t(function(r,o){if(this.yy.parser)this.yy.parser.parseError(r,o);else throw Error(r)},"parseError"),setInput:t(function(s,r){if(this.yy=r||this.yy||{},this._input=s,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 s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var r=s.match(/(?:\r\n?|\n).*/g);if(r)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),s},"input"),unput:t(function(s){var r=s.length,o=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;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),o.length-1)this.yylineno-=o.length-1;var g=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:o?(o.length===c.length?this.yylloc.first_column:0)+c[c.length-o.length].length-o[0].length:this.yylloc.first_column-r},this.options.ranges)this.yylloc.range=[g[0],g[0]+this.yyleng-r];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(s){this.unput(this.match.slice(s))},"less"),pastInput:t(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var s=this.match;if(s.length<20)s+=this._input.substr(0,20-s.length);return(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var s=this.pastInput(),r=Array(s.length+1).join("-");return s+this.upcomingInput()+`
5
- `+r+"^"},"showPosition"),test_match:t(function(s,r){var o,c,g;if(this.options.backtrack_lexer){if(g={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)g.yylloc.range=this.yylloc.range.slice(0)}if(c=s[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+s[0].length},this.yytext+=s[0],this.match+=s[0],this.matches=s,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(s[0].length),this.matched+=s[0],o=this.performAction.call(this,this.yy,this,r,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(o)return o;else if(this._backtrack){for(var n in g)this[n]=g[n];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var s,r,o,c;if(!this._more)this.yytext="",this.match="";var g=this._currentRules();for(var n=0;n<g.length;n++)if(o=this._input.match(this.rules[g[n]]),o&&(!r||o[0].length>r[0].length)){if(r=o,c=n,this.options.backtrack_lexer)if(s=this.test_match(o,g[n]),s!==!1)return s;else if(this._backtrack){r=!1;continue}else return!1;else if(!this.options.flex)break}if(r){if(s=this.test_match(r,g[c]),s!==!1)return s;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 r=this.next();if(r)return r;else return this.lex()},"lex"),begin:t(function(r){this.conditionStack.push(r)},"begin"),popState:t(function(){var r=this.conditionStack.length-1;if(r>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(r){if(r=this.conditionStack.length-1-Math.abs(r||0),r>=0)return this.conditionStack[r];else return"INITIAL"},"topState"),pushState:t(function(r){this.begin(r)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(r,o,c,g){var n=g;switch(c){case 0:return this.pushState("shapeData"),o.yytext="",24;break;case 1:return this.pushState("shapeDataStr"),24;break;case 2:return this.popState(),24;break;case 3:let j=/\n\s*/g;return o.yytext=o.yytext.replace(j,"<br/>"),24;break;case 4:return 24;case 5:this.popState();break;case 6:return r.getLogger().trace("Found comment",o.yytext),6;break;case 7:return 8;case 8:this.begin("CLASS");break;case 9:return this.popState(),17;break;case 10:this.popState();break;case 11:r.getLogger().trace("Begin icon"),this.begin("ICON");break;case 12:return r.getLogger().trace("SPACELINE"),6;break;case 13:return 7;case 14:return 16;case 15:r.getLogger().trace("end icon"),this.popState();break;case 16:return r.getLogger().trace("Exploding node"),this.begin("NODE"),20;break;case 17:return r.getLogger().trace("Cloud"),this.begin("NODE"),20;break;case 18:return r.getLogger().trace("Explosion Bang"),this.begin("NODE"),20;break;case 19:return r.getLogger().trace("Cloud Bang"),this.begin("NODE"),20;break;case 20:return this.begin("NODE"),20;break;case 21:return this.begin("NODE"),20;break;case 22:return this.begin("NODE"),20;break;case 23:return this.begin("NODE"),20;break;case 24:return 13;case 25:return 23;case 26:return 11;case 27:this.begin("NSTR2");break;case 28:return"NODE_DESCR";case 29:this.popState();break;case 30:r.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 31:return r.getLogger().trace("description:",o.yytext),"NODE_DESCR";break;case 32:this.popState();break;case 33:return this.popState(),r.getLogger().trace("node end ))"),"NODE_DEND";break;case 34:return this.popState(),r.getLogger().trace("node end )"),"NODE_DEND";break;case 35:return this.popState(),r.getLogger().trace("node end ...",o.yytext),"NODE_DEND";break;case 36:return this.popState(),r.getLogger().trace("node end (("),"NODE_DEND";break;case 37:return this.popState(),r.getLogger().trace("node end (-"),"NODE_DEND";break;case 38:return this.popState(),r.getLogger().trace("node end (-"),"NODE_DEND";break;case 39:return this.popState(),r.getLogger().trace("node end (("),"NODE_DEND";break;case 40:return this.popState(),r.getLogger().trace("node end (("),"NODE_DEND";break;case 41:return r.getLogger().trace("Long description:",o.yytext),21;break;case 42:return r.getLogger().trace("Long description:",o.yytext),21;break}},"anonymous"),rules:[/^(?:@\{)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^\"]+)/i,/^(?:[^}^"]+)/i,/^(?:\})/i,/^(?:\s*%%.*)/i,/^(?:kanban\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}@]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{shapeDataEndBracket:{rules:[],inclusive:!1},shapeDataStr:{rules:[2,3],inclusive:!1},shapeData:{rules:[1,4,5],inclusive:!1},CLASS:{rules:[9,10],inclusive:!1},ICON:{rules:[14,15],inclusive:!1},NSTR2:{rules:[28,29],inclusive:!1},NSTR:{rules:[31,32],inclusive:!1},NODE:{rules:[27,30,33,34,35,36,37,38,39,40,41,42],inclusive:!1},INITIAL:{rules:[0,6,7,8,11,12,13,16,17,18,19,20,21,22,23,24,25,26],inclusive:!0}}};return A}();B.lexer=Z;function H(){this.yy={}}return t(H,"Parser"),H.prototype=B,B.Parser=H,new H}();se.parser=se;var Ee=se,I=[],oe=[],ae=0,ce={},_e=t(()=>{I=[],oe=[],ae=0,ce={}},"clear"),Se=t((e)=>{if(I.length===0)return null;let p=I[0].level,m=null;for(let a=I.length-1;a>=0;a--){if(I[a].level===p&&!m)m=I[a];if(I[a].level<p)throw Error('Items without section detected, found section ("'+I[a].label+'")')}if(e===m?.level)return null;return m},"getSection"),fe=t(function(){return oe},"getSections"),Ne=t(function(){let e=[],p=[],m=fe(),a=d();for(let y of m){let N={id:y.id,label:q(y.label??"",a),labelType:"markdown",isGroup:!0,ticket:y.ticket,shape:"kanbanSection",level:y.level,look:a.look};p.push(N);let S=I.filter((u)=>u.parentId===y.id);for(let u of S){let C={id:u.id,parentId:y.id,label:q(u.label??"",a),labelType:"markdown",isGroup:!1,ticket:u?.ticket,priority:u?.priority,assigned:u?.assigned,icon:u?.icon,shape:"kanbanItem",level:u.level,rx:5,ry:5,cssStyles:["text-align: left"]};p.push(C)}}return{nodes:p,edges:e,other:{},config:d()}},"getData"),xe=t((e,p,m,a,y)=>{let N=d(),S=N.mindmap?.padding??F.mindmap.padding;switch(a){case E.ROUNDED_RECT:case E.RECT:case E.HEXAGON:S*=2}let u={id:q(p,N)||"kbn"+ae++,level:e,label:q(m,N),width:N.mindmap?.maxNodeWidth??F.mindmap.maxNodeWidth,padding:S,isGroup:!1};if(y!==void 0){let T;if(!y.includes(`
7
- `))T=`{
8
- `+y+`
9
- }`;else T=y+`
10
- `;let b=Vt(T,{schema:qt});if(b.shape&&(b.shape!==b.shape.toLowerCase()||b.shape.includes("_")))throw Error(`No such shape: ${b.shape}. Shape names should be lowercase.`);if(b?.shape&&b.shape==="kanbanItem")u.shape=b?.shape;if(b?.label)u.label=b?.label;if(b?.icon)u.icon=b?.icon.toString();if(b?.assigned)u.assigned=b?.assigned.toString();if(b?.ticket)u.ticket=b?.ticket.toString();if(b?.priority)u.priority=b?.priority}let C=Se(e);if(C)u.parentId=C.id||"kbn"+ae++;else oe.push(u);I.push(u)},"addNode"),E={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},ve=t((e,p)=>{switch(i.debug("In get type",e,p),e){case"[":return E.RECT;case"(":return p===")"?E.ROUNDED_RECT:E.CLOUD;case"((":return E.CIRCLE;case")":return E.CLOUD;case"))":return E.BANG;case"{{":return E.HEXAGON;default:return E.DEFAULT}},"getType"),De=t((e,p)=>{ce[e]=p},"setElementForId"),Le=t((e)=>{if(!e)return;let p=d(),m=I[I.length-1];if(e.icon)m.icon=q(e.icon,p);if(e.class)m.cssClasses=q(e.class,p)},"decorateNode"),Oe=t((e)=>{switch(e){case E.DEFAULT:return"no-border";case E.RECT:return"rect";case E.ROUNDED_RECT:return"rounded-rect";case E.CIRCLE:return"circle";case E.CLOUD:return"cloud";case E.BANG:return"bang";case E.HEXAGON:return"hexgon";default:return"no-border"}},"type2Str"),Ie=t(()=>i,"getLogger"),Ce=t((e)=>ce[e],"getElementById"),we={clear:_e,addNode:xe,getSections:fe,getData:Ne,nodeType:E,getType:ve,setElementForId:De,decorateNode:Le,type2Str:Oe,getLogger:Ie,getElementById:Ce},Ae=we,Te=t(async(e,p,m,a)=>{i.debug(`Rendering kanban diagram
11
- `+e);let N=a.db.getData(),S=d();S.htmlLabels=!1;let u=J(p);for(let k of N.nodes)k.domId=`${p}-${k.id}`;let C=u.append("g");C.attr("class","sections");let T=u.append("g");T.attr("class","items");let b=N.nodes.filter((k)=>k.isGroup),P=0,x=10,z=[],D=25;for(let k of b){let V=S?.kanban?.sectionWidth||200;P=P+1,k.x=V*P+(P-1)*x/2,k.width=V,k.y=0,k.height=V*3,k.rx=5,k.ry=5,k.cssClasses=k.cssClasses+" section-"+P;let w=await rr(C,k);D=Math.max(D,w?.labelBBox?.height),z.push(w)}let U=0;for(let k of b){let V=z[U];U=U+1;let w=S?.kanban?.sectionWidth||200,X=-w*3/2+D,B=X,Z=N.nodes.filter((s)=>s.parentId===k.id);for(let s of Z){if(s.isGroup)throw Error("Groups within groups are not allowed in Kanban diagrams");s.x=k.x,s.width=w-1.5*x;let o=(await wn(T,s,{config:S})).node().getBBox();s.y=B+o.height/2,await dn(s),B=s.y+o.height/2+x/2}let H=V.cluster.select("rect"),A=Math.max(B-X+3*x,50)+(D-25);H.attr("height",A)}pn(void 0,u,S.mindmap?.padding??F.kanban.padding,S.mindmap?.useMaxWidth??F.kanban.useMaxWidth)},"draw"),Re={draw:Te},Pe=t((e)=>{let p="";for(let a=0;a<e.THEME_COLOR_LIMIT;a++)if(e["lineColor"+a]=e["lineColor"+a]||e["cScaleInv"+a],ue(e["lineColor"+a]))e["lineColor"+a]=f(e["lineColor"+a],20);else e["lineColor"+a]=h(e["lineColor"+a],20);let m=t((a,y)=>e.darkMode?h(a,y):f(a,y),"adjuster");for(let a=0;a<e.THEME_COLOR_LIMIT;a++){let y=""+(17-3*a);p+=`
12
- .section-${a-1} rect, .section-${a-1} path, .section-${a-1} circle, .section-${a-1} polygon, .section-${a-1} path {
13
- fill: ${m(e["cScale"+a],10)};
14
- stroke: ${m(e["cScale"+a],10)};
15
-
16
- }
17
- .section-${a-1} text {
18
- fill: ${e["cScaleLabel"+a]};
19
- }
20
- .node-icon-${a-1} {
21
- font-size: 40px;
22
- color: ${e["cScaleLabel"+a]};
23
- }
24
- .section-edge-${a-1}{
25
- stroke: ${e["cScale"+a]};
26
- }
27
- .edge-depth-${a-1}{
28
- stroke-width: ${y};
29
- }
30
- .section-${a-1} line {
31
- stroke: ${e["cScaleInv"+a]} ;
32
- stroke-width: 3;
33
- }
34
-
35
- .disabled, .disabled circle, .disabled text {
36
- fill: lightgray;
37
- }
38
- .disabled text {
39
- fill: #efefef;
40
- }
41
-
42
- .node rect,
43
- .node circle,
44
- .node ellipse,
45
- .node polygon,
46
- .node path {
47
- fill: ${e.background};
48
- stroke: ${e.nodeBorder};
49
- stroke-width: 1px;
50
- }
51
-
52
- .kanban-ticket-link {
53
- fill: ${e.background};
54
- stroke: ${e.nodeBorder};
55
- text-decoration: underline;
56
- }
57
- `}return p},"genSections"),Ve=t((e)=>`
58
- .edge {
59
- stroke-width: 3;
60
- }
61
- ${Pe(e)}
62
- .section-root rect, .section-root path, .section-root circle, .section-root polygon {
63
- fill: ${e.git0};
64
- }
65
- .section-root text {
66
- fill: ${e.gitBranchLabel0};
67
- }
68
- .icon-container {
69
- height:100%;
70
- display: flex;
71
- justify-content: center;
72
- align-items: center;
73
- }
74
- .edge {
75
- fill: none;
76
- }
77
- .cluster-label, .label {
78
- color: ${e.textColor};
79
- fill: ${e.textColor};
80
- }
81
- .kanban-label {
82
- dy: 1em;
83
- alignment-baseline: middle;
84
- text-anchor: middle;
85
- dominant-baseline: middle;
86
- text-align: center;
87
- }
88
- ${At()}
89
- `,"getStyles"),Be=Ve,et={db:Ae,renderer:Re,parser:Ee,styles:Be};export{et as diagram};
Binary file
Binary file
@@ -1,106 +0,0 @@
1
- import{Tr}from"./chunk-ajj3nc80.js";import{ae}from"./chunk-z9nj64n7.js";import{t,i,F,A,C,L,N,R,P,I,O,D,d,Wa,g,Qs,Q,H}from"./chunk-qzb06me8.js";import{he}from"./chunk-y5f7gy03.js";var B={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Ce=F.gitGraph,V=t(()=>Q({...Ce,...A().gitGraph}),"getConfig"),m=new Tr(()=>{let e=V(),{mainBranchName:r,mainBranchOrder:a}=e;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:a}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function se(){return Qs({length:7})}t(se,"getID");function pe(e,r){let a=Object.create(null);return e.reduce((n,c)=>{let l=r(c);if(!a[l])a[l]=!0,n.push(c);return n},[])}t(pe,"uniqBy");var ve=t(function(e){m.records.direction=e},"setDirection"),Ee=t(function(e){i.debug("options str",e),e=e?.trim(),e=e||"{}";try{m.records.options=JSON.parse(e)}catch(r){i.error("error while parsing gitGraph options",r.message)}},"setOptions"),Te=t(function(){return m.records.options},"getOptions"),Le=t(function(e){let{msg:r,id:a,type:n,tags:c}=e;i.info("commit",r,a,n,c),i.debug("Entering commit:",r,a,n,c);let l=V();a=C.sanitizeText(a,l),r=C.sanitizeText(r,l),c=c?.map((o)=>C.sanitizeText(o,l));let s={id:a?a:m.records.seq+"-"+se(),message:r,seq:m.records.seq++,type:n??B.NORMAL,tags:c??[],parents:m.records.head==null?[]:[m.records.head.id],branch:m.records.currBranch};if(m.records.head=s,i.info("main branch",l.mainBranchName),m.records.commits.has(s.id))i.warn(`Commit ID ${s.id} already exists`);m.records.commits.set(s.id,s),m.records.branches.set(m.records.currBranch,s.id),i.debug("in pushCommit "+s.id)},"commit"),Me=t(function(e){let{name:r,order:a}=e;if(r=C.sanitizeText(r,V()),m.records.branches.has(r))throw Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);m.records.branches.set(r,m.records.head!=null?m.records.head.id:null),m.records.branchConfig.set(r,{name:r,order:a}),ye(r),i.debug("in createBranch")},"branch"),Pe=t((e)=>{let{branch:r,id:a,type:n,tags:c}=e,l=V();if(r=C.sanitizeText(r,l),a)a=C.sanitizeText(a,l);let s=m.records.branches.get(m.records.currBranch),o=m.records.branches.get(r),f=s?m.records.commits.get(s):void 0,y=o?m.records.commits.get(o):void 0;if(f&&y&&f.branch===r)throw Error(`Cannot merge branch '${r}' into itself.`);if(m.records.currBranch===r){let h=Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},h}if(f===void 0||!f){let h=Error(`Incorrect usage of "merge". Current branch (${m.records.currBranch})has no commits`);throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},h}if(!m.records.branches.has(r)){let h=Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},h}if(y===void 0||!y){let h=Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},h}if(f===y){let h=Error('Incorrect usage of "merge". Both branches have same head');throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},h}if(a&&m.records.commits.has(a)){let h=Error('Incorrect usage of "merge". Commit with id:'+a+" already exists, use different custom id");throw h.hash={text:`merge ${r} ${a} ${n} ${c?.join(" ")}`,token:`merge ${r} ${a} ${n} ${c?.join(" ")}`,expected:[`merge ${r} ${a}_UNIQUE ${n} ${c?.join(" ")}`]},h}let x=o?o:"",p={id:a||`${m.records.seq}-${se()}`,message:`merged branch ${r} into ${m.records.currBranch}`,seq:m.records.seq++,parents:m.records.head==null?[]:[m.records.head.id,x],branch:m.records.currBranch,type:B.MERGE,customType:n,customId:a?!0:!1,tags:c??[]};m.records.head=p,m.records.commits.set(p.id,p),m.records.branches.set(m.records.currBranch,p.id),i.debug(m.records.branches),i.debug("in mergeBranch")},"merge"),Re=t(function(e){let{id:r,targetId:a,tags:n,parent:c}=e;i.debug("Entering cherryPick:",r,a,n);let l=V();if(r=C.sanitizeText(r,l),a=C.sanitizeText(a,l),n=n?.map((f)=>C.sanitizeText(f,l)),c=C.sanitizeText(c,l),!r||!m.records.commits.has(r)){let f=Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw f.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},f}let s=m.records.commits.get(r);if(s===void 0||!s)throw Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(c&&!(Array.isArray(s.parents)&&s.parents.includes(c)))throw Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");let o=s.branch;if(s.type===B.MERGE&&!c)throw Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!a||!m.records.commits.has(a)){if(o===m.records.currBranch){let p=Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw p.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},p}let f=m.records.branches.get(m.records.currBranch);if(f===void 0||!f){let p=Error(`Incorrect usage of "cherry-pick". Current branch (${m.records.currBranch})has no commits`);throw p.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},p}let y=m.records.commits.get(f);if(y===void 0||!y){let p=Error(`Incorrect usage of "cherry-pick". Current branch (${m.records.currBranch})has no commits`);throw p.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},p}let x={id:m.records.seq+"-"+se(),message:`cherry-picked ${s?.message} into ${m.records.currBranch}`,seq:m.records.seq++,parents:m.records.head==null?[]:[m.records.head.id,s.id],branch:m.records.currBranch,type:B.CHERRY_PICK,tags:n?n.filter(Boolean):[`cherry-pick:${s.id}${s.type===B.MERGE?`|parent:${c}`:""}`]};m.records.head=x,m.records.commits.set(x.id,x),m.records.branches.set(m.records.currBranch,x.id),i.debug(m.records.branches),i.debug("in cherryPick")}},"cherryPick"),ye=t(function(e){if(e=C.sanitizeText(e,V()),!m.records.branches.has(e)){let r=Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw r.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},r}else{m.records.currBranch=e;let r=m.records.branches.get(m.records.currBranch);if(r===void 0||!r)m.records.head=null;else m.records.head=m.records.commits.get(r)??null}},"checkout");function de(e,r,a){let n=e.indexOf(r);if(n===-1)e.push(a);else e.splice(n,1,a)}t(de,"upsert");function me(e){let r=e.reduce((c,l)=>{if(c.seq>l.seq)return c;return l},e[0]),a="";e.forEach(function(c){if(c===r)a+="\t*";else a+="\t|"});let n=[a,r.id,r.seq];for(let c in m.records.branches)if(m.records.branches.get(c)===r.id)n.push(c);if(i.debug(n.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){let c=m.records.commits.get(r.parents[0]);if(de(e,r,c),r.parents[1])e.push(m.records.commits.get(r.parents[1]))}else if(r.parents.length==0)return;else if(r.parents[0]){let c=m.records.commits.get(r.parents[0]);de(e,r,c)}e=pe(e,(c)=>c.id),me(e)}t(me,"prettyPrintCommitHistory");var Oe=t(function(){i.debug(m.records.commits);let e=xe()[0];me([e])},"prettyPrint"),Ie=t(function(){m.reset(),L()},"clear"),_e=t(function(){return[...m.records.branchConfig.values()].map((r,a)=>{if(r.order!==null&&r.order!==void 0)return r;return{...r,order:parseFloat(`0.${a}`)}}).sort((r,a)=>(r.order??0)-(a.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),Ge=t(function(){return m.records.branches},"getBranches"),De=t(function(){return m.records.commits},"getCommits"),xe=t(function(){let e=[...m.records.commits.values()];return e.forEach(function(r){i.debug(r.id)}),e.sort((r,a)=>r.seq-a.seq),e},"getCommitsArray"),We=t(function(){return m.records.currBranch},"getCurrentBranch"),qe=t(function(){return m.records.direction},"getDirection"),Ae=t(function(){return m.records.head},"getHead"),ue={commitType:B,getConfig:V,setDirection:ve,setOptions:Ee,getOptions:Te,commit:Le,branch:Me,merge:Pe,cherryPick:Re,checkout:ye,prettyPrint:Oe,clear:Ie,getBranchesAsObjArray:_e,getBranches:Ge,getCommits:De,getCommitsArray:xe,getCurrentBranch:We,getDirection:qe,getHead:Ae,setAccTitle:N,getAccTitle:R,getAccDescription:I,setAccDescription:P,setDiagramTitle:O,getDiagramTitle:D},He=t((e,r)=>{if(ae(e,r),e.dir)r.setDirection(e.dir);for(let a of e.statements)Se(a,r)},"populate"),Se=t((e,r)=>{let n={Commit:t((c)=>r.commit(Ne(c)),"Commit"),Branch:t((c)=>r.branch(Fe(c)),"Branch"),Merge:t((c)=>r.merge(ze(c)),"Merge"),Checkout:t((c)=>r.checkout(Ye(c)),"Checkout"),CherryPicking:t((c)=>r.cherryPick(je(c)),"CherryPicking")}[e.$type];if(n)n(e);else i.error(`Unknown statement type: ${e.$type}`)},"parseStatement"),Ne=t((e)=>({id:e.id,msg:e.message??"",type:e.type!==void 0?B[e.type]:B.NORMAL,tags:e.tags??void 0}),"parseCommit"),Fe=t((e)=>({name:e.name,order:e.order??0}),"parseBranch"),ze=t((e)=>({branch:e.branch,id:e.id??"",type:e.type!==void 0?B[e.type]:void 0,tags:e.tags??void 0}),"parseMerge"),Ye=t((e)=>e.branch,"parseCheckout"),je=t((e)=>({id:e.id,targetId:"",tags:e.tags?.length===0?void 0:e.tags,parent:e.parent}),"parseCherryPicking"),Ke={parse:t(async(e)=>{let r=await he("gitGraph",e);i.debug(r),He(r,ue)},"parse")},Y=10,j=40,W=4,S=2,K=8,ne=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),le=12,ge=new Set(["redux-color","redux-dark-color"]),Ue=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),U=t((e,r,a=!1)=>{if(a&&e>0)return(e-1)%(r-1)+1;return e%r},"calcColorIndex"),M=new Map,_=new Map,re=30,J=new Map,oe=[],z=0,b="LR",Ve=t(()=>{M.clear(),_.clear(),J.clear(),z=0,oe=[],b="LR"},"clear"),be=t((e)=>{let r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof e==="string"?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach((n)=>{let c=document.createElementNS("http://www.w3.org/2000/svg","tspan");c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),c.setAttribute("dy","1em"),c.setAttribute("x","0"),c.setAttribute("class","row"),c.textContent=n.trim(),r.appendChild(c)}),r},"drawText"),we=t((e)=>{let r,a,n;if(b==="BT")a=t((c,l)=>c<=l,"comparisonFunc"),n=1/0;else a=t((c,l)=>c>=l,"comparisonFunc"),n=0;return e.forEach((c)=>{let l=b==="TB"||b=="BT"?_.get(c)?.y:_.get(c)?.x;if(l!==void 0&&a(l,n))r=c,n=l}),r},"findClosestParent"),Ze=t((e)=>{let r="",a=1/0;return e.forEach((n)=>{let c=_.get(n).y;if(c<=a)r=n,a=c}),r||void 0},"findClosestParentBT"),Xe=t((e,r,a)=>{let n=a,c=a,l=[];e.forEach((s)=>{let o=r.get(s);if(!o)throw Error(`Commit not found for key ${s}`);if(o.parents.length)n=Qe(o),c=Math.max(n,c);else l.push(o);et(o,n)}),n=c,l.forEach((s)=>{tt(s,n,a)}),e.forEach((s)=>{let o=r.get(s);if(o?.parents.length){let f=Ze(o.parents);if(n=_.get(f).y-j,n<=c)c=n;let y=M.get(o.branch).pos,x=n-Y;_.set(o.id,{x:y,y:x})}})},"setParallelBTPos"),Je=t((e)=>{let r=we(e.parents.filter((n)=>n!==null));if(!r)throw Error(`Closest parent not found for commit ${e.id}`);let a=_.get(r)?.y;if(a===void 0)throw Error(`Closest parent position not found for commit ${e.id}`);return a},"findClosestParentPos"),Qe=t((e)=>Je(e)+j,"calculateCommitPosition"),et=t((e,r)=>{let a=M.get(e.branch);if(!a)throw Error(`Branch not found for commit ${e.id}`);let n=a.pos,c=r+Y;return _.set(e.id,{x:n,y:c}),{x:n,y:c}},"setCommitPosition"),tt=t((e,r,a)=>{let n=M.get(e.branch);if(!n)throw Error(`Branch not found for commit ${e.id}`);let c=r+a,l=n.pos;_.set(e.id,{x:l,y:c})},"setRootPosition"),rt=t((e,r,a,n,c,l)=>{let{theme:s}=d(),o=ne.has(s??""),f=ge.has(s??""),y=Ue.has(s??"");if(l===B.HIGHLIGHT)e.append("rect").attr("x",a.x-10+(o?3:0)).attr("y",a.y-10+(o?3:0)).attr("width",o?14:20).attr("height",o?14:20).attr("class",`commit ${r.id} commit-highlight${U(c,K,f)} ${n}-outer`),e.append("rect").attr("x",a.x-6+(o?2:0)).attr("y",a.y-6+(o?2:0)).attr("width",o?8:12).attr("height",o?8:12).attr("class",`commit ${r.id} commit${U(c,K,f)} ${n}-inner`);else if(l===B.CHERRY_PICK)e.append("circle").attr("cx",a.x).attr("cy",a.y).attr("r",o?7:10).attr("class",`commit ${r.id} ${n}`),e.append("circle").attr("cx",a.x-3).attr("cy",a.y+2).attr("r",o?2.5:2.75).attr("fill",y?"#000000":"#fff").attr("class",`commit ${r.id} ${n}`),e.append("circle").attr("cx",a.x+3).attr("cy",a.y+2).attr("r",o?2.5:2.75).attr("fill",y?"#000000":"#fff").attr("class",`commit ${r.id} ${n}`),e.append("line").attr("x1",a.x+3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke",y?"#000000":"#fff").attr("class",`commit ${r.id} ${n}`),e.append("line").attr("x1",a.x-3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke",y?"#000000":"#fff").attr("class",`commit ${r.id} ${n}`);else{let x=e.append("circle");if(x.attr("cx",a.x),x.attr("cy",a.y),x.attr("r",o?7:10),x.attr("class",`commit ${r.id} commit${U(c,K,f)}`),l===B.MERGE){let p=e.append("circle");p.attr("cx",a.x),p.attr("cy",a.y),p.attr("r",o?5:6),p.attr("class",`commit ${n} ${r.id} commit${U(c,K,f)}`)}if(l===B.REVERSE){let p=e.append("path"),h=o?4:5;p.attr("d",`M ${a.x-h},${a.y-h}L${a.x+h},${a.y+h}M${a.x-h},${a.y+h}L${a.x+h},${a.y-h}`).attr("class",`commit ${n} ${r.id} commit${U(c,K,f)}`)}}},"drawCommitBullet"),at=t((e,r,a,n,c)=>{if(r.type!==B.CHERRY_PICK&&(r.customId&&r.type===B.MERGE||r.type!==B.MERGE)&&c.showCommitLabel){let l=e.append("g"),s=l.insert("rect").attr("class","commit-label-bkg"),o=l.append("text").attr("x",n).attr("y",a.y+25).attr("class","commit-label").text(r.id),f=o.node()?.getBBox();if(f){if(s.attr("x",a.posWithOffset-f.width/2-S).attr("y",a.y+13.5).attr("width",f.width+2*S).attr("height",f.height+2*S),b==="TB"||b==="BT")s.attr("x",a.x-(f.width+4*W+5)).attr("y",a.y-12),o.attr("x",a.x-(f.width+4*W)).attr("y",a.y+f.height-12);else o.attr("x",a.posWithOffset-f.width/2);if(c.rotateCommitLabel)if(b==="TB"||b==="BT")o.attr("transform","rotate(-45, "+a.x+", "+a.y+")"),s.attr("transform","rotate(-45, "+a.x+", "+a.y+")");else{let y=-7.5-(f.width+10)/25*9.5,x=10+f.width/25*8.5;l.attr("transform","translate("+y+", "+x+") rotate(-45, "+n+", "+a.y+")")}}}},"drawCommitLabel"),ot=t((e,r,a,n)=>{if(r.tags.length>0){let c=0,l=0,s=0,o=[];for(let f of r.tags.reverse()){let y=e.insert("polygon"),x=e.append("circle"),p=e.append("text").attr("y",a.y-16-c).attr("class","tag-label").text(f),h=p.node()?.getBBox();if(!h)throw Error("Tag bbox not found");l=Math.max(l,h.width),s=Math.max(s,h.height),p.attr("x",a.posWithOffset-h.width/2),o.push({tag:p,hole:x,rect:y,yOffset:c}),c+=20}for(let{tag:f,hole:y,rect:x,yOffset:p}of o){let h=s/2,w=a.y-19.2-p;if(x.attr("class","tag-label-bkg").attr("points",`
2
- ${n-l/2-W/2},${w+S}
3
- ${n-l/2-W/2},${w-S}
4
- ${a.posWithOffset-l/2-W},${w-h-S}
5
- ${a.posWithOffset+l/2+W},${w-h-S}
6
- ${a.posWithOffset+l/2+W},${w+h+S}
7
- ${a.posWithOffset-l/2-W},${w+h+S}`),y.attr("cy",w).attr("cx",n-l/2+W/2).attr("r",1.5).attr("class","tag-hole"),b==="TB"||b==="BT"){let u=n+p;x.attr("class","tag-label-bkg").attr("points",`
8
- ${a.x},${u+2}
9
- ${a.x},${u-2}
10
- ${a.x+Y},${u-h-2}
11
- ${a.x+Y+l+4},${u-h-2}
12
- ${a.x+Y+l+4},${u+h+2}
13
- ${a.x+Y},${u+h+2}`).attr("transform","translate(12,12) rotate(45, "+a.x+","+n+")"),y.attr("cx",a.x+W/2).attr("cy",u).attr("transform","translate(12,12) rotate(45, "+a.x+","+n+")"),f.attr("x",a.x+5).attr("y",u+3).attr("transform","translate(14,14) rotate(45, "+a.x+","+n+")")}}}},"drawCommitTags"),st=t((e)=>{switch(e.customType??e.type){case B.NORMAL:return"commit-normal";case B.REVERSE:return"commit-reverse";case B.HIGHLIGHT:return"commit-highlight";case B.MERGE:return"commit-merge";case B.CHERRY_PICK:return"commit-cherry-pick";default:return"commit-normal"}},"getCommitClassType"),nt=t((e,r,a,n)=>{let c={x:0,y:0};if(e.parents.length>0){let l=we(e.parents);if(l){let s=n.get(l)??c;if(r==="TB")return s.y+j;else if(r==="BT")return(n.get(e.id)??c).y-j;else return s.x+j}}else if(r==="TB")return re;else if(r==="BT")return(n.get(e.id)??c).y-j;else return 0;return 0},"calculatePosition"),ct=t((e,r,a)=>{let n=b==="BT"&&a?r:r+Y,c=M.get(e.branch)?.pos,l=b==="TB"||b==="BT"?M.get(e.branch)?.pos:n;if(l===void 0||c===void 0)throw Error(`Position were undefined for commit ${e.id}`);let s=ne.has(d().theme??""),o=b==="TB"||b==="BT"?n:c+(s?le/2+1:-2);return{x:l,y:o,posWithOffset:n}},"getCommitPosition"),$e=t((e,r,a,n)=>{let c=e.append("g").attr("class","commit-bullets"),l=e.append("g").attr("class","commit-labels"),s=b==="TB"||b==="BT"?re:0,o=[...r.keys()],f=n.parallelCommits??!1,y=t((p,h)=>{let w=r.get(p)?.seq,u=r.get(h)?.seq;return w!==void 0&&u!==void 0?w-u:0},"sortKeys"),x=o.sort(y);if(b==="BT"){if(f)Xe(x,r,s);x=x.reverse()}x.forEach((p)=>{let h=r.get(p);if(!h)throw Error(`Commit not found for key ${p}`);if(f)s=nt(h,b,s,_);let w=ct(h,s,f);if(a){let u=st(h),k=h.customType??h.type,v=M.get(h.branch)?.index??0;rt(c,h,w,u,v,k),at(l,h,w,s,n),ot(l,h,w,s)}if(b==="TB"||b==="BT")_.set(h.id,{x:w.x,y:w.posWithOffset});else _.set(h.id,{x:w.posWithOffset,y:w.y});if(s=b==="BT"&&f?s+j:s+j+Y,s>z)z=s})},"drawCommits"),it=t((e,r,a,n,c)=>{let s=(b==="TB"||b==="BT"?a.x<n.x:a.y<n.y)?r.branch:e.branch,o=t((y)=>y.branch===s,"isOnBranchToGetCurve"),f=t((y)=>y.seq>e.seq&&y.seq<r.seq,"isBetweenCommits");return[...c.values()].some((y)=>f(y)&&o(y))},"shouldRerouteArrow"),ee=t((e,r,a=0)=>{let n=e+Math.abs(e-r)/2;if(a>5)return n;if(oe.every((s)=>Math.abs(s-n)>=10))return oe.push(n),n;let l=Math.abs(e-r);return ee(e,r-l/5,a+1)},"findLane"),dt=t((e,r,a,n)=>{let{theme:c}=d(),l=ge.has(c??""),s=_.get(r.id),o=_.get(a.id);if(s===void 0||o===void 0)throw Error(`Commit positions not found for commits ${r.id} and ${a.id}`);let f=it(r,a,s,o,n),y="",x="",p=0,h=0,w=M.get(a.branch)?.index;if(a.type===B.MERGE&&r.id!==a.parents[0])w=M.get(r.branch)?.index;let u;if(f){y="A 10 10, 0, 0, 0,",x="A 10 10, 0, 0, 1,",p=10,h=10;let k=s.y<o.y?ee(s.y,o.y):ee(o.y,s.y),v=s.x<o.x?ee(s.x,o.x):ee(o.x,s.x);if(b==="TB")if(s.x<o.x)u=`M ${s.x} ${s.y} L ${v-p} ${s.y} ${x} ${v} ${s.y+h} L ${v} ${o.y-p} ${y} ${v+h} ${o.y} L ${o.x} ${o.y}`;else w=M.get(r.branch)?.index,u=`M ${s.x} ${s.y} L ${v+p} ${s.y} ${y} ${v} ${s.y+h} L ${v} ${o.y-p} ${x} ${v-h} ${o.y} L ${o.x} ${o.y}`;else if(b==="BT")if(s.x<o.x)u=`M ${s.x} ${s.y} L ${v-p} ${s.y} ${y} ${v} ${s.y-h} L ${v} ${o.y+p} ${x} ${v+h} ${o.y} L ${o.x} ${o.y}`;else w=M.get(r.branch)?.index,u=`M ${s.x} ${s.y} L ${v+p} ${s.y} ${x} ${v} ${s.y-h} L ${v} ${o.y+p} ${y} ${v-h} ${o.y} L ${o.x} ${o.y}`;else if(s.y<o.y)u=`M ${s.x} ${s.y} L ${s.x} ${k-p} ${y} ${s.x+h} ${k} L ${o.x-p} ${k} ${x} ${o.x} ${k+h} L ${o.x} ${o.y}`;else w=M.get(r.branch)?.index,u=`M ${s.x} ${s.y} L ${s.x} ${k+p} ${x} ${s.x+h} ${k} L ${o.x-p} ${k} ${y} ${o.x} ${k-h} L ${o.x} ${o.y}`}else if(y="A 20 20, 0, 0, 0,",x="A 20 20, 0, 0, 1,",p=20,h=20,b==="TB"){if(s.x<o.x)if(a.type===B.MERGE&&r.id!==a.parents[0])u=`M ${s.x} ${s.y} L ${s.x} ${o.y-p} ${y} ${s.x+h} ${o.y} L ${o.x} ${o.y}`;else u=`M ${s.x} ${s.y} L ${o.x-p} ${s.y} ${x} ${o.x} ${s.y+h} L ${o.x} ${o.y}`;if(s.x>o.x)if(y="A 20 20, 0, 0, 0,",x="A 20 20, 0, 0, 1,",p=20,h=20,a.type===B.MERGE&&r.id!==a.parents[0])u=`M ${s.x} ${s.y} L ${s.x} ${o.y-p} ${x} ${s.x-h} ${o.y} L ${o.x} ${o.y}`;else u=`M ${s.x} ${s.y} L ${o.x+p} ${s.y} ${y} ${o.x} ${s.y+h} L ${o.x} ${o.y}`;if(s.x===o.x)u=`M ${s.x} ${s.y} L ${o.x} ${o.y}`}else if(b==="BT"){if(s.x<o.x)if(a.type===B.MERGE&&r.id!==a.parents[0])u=`M ${s.x} ${s.y} L ${s.x} ${o.y+p} ${x} ${s.x+h} ${o.y} L ${o.x} ${o.y}`;else u=`M ${s.x} ${s.y} L ${o.x-p} ${s.y} ${y} ${o.x} ${s.y-h} L ${o.x} ${o.y}`;if(s.x>o.x)if(y="A 20 20, 0, 0, 0,",x="A 20 20, 0, 0, 1,",p=20,h=20,a.type===B.MERGE&&r.id!==a.parents[0])u=`M ${s.x} ${s.y} L ${s.x} ${o.y+p} ${y} ${s.x-h} ${o.y} L ${o.x} ${o.y}`;else u=`M ${s.x} ${s.y} L ${o.x+p} ${s.y} ${x} ${o.x} ${s.y-h} L ${o.x} ${o.y}`;if(s.x===o.x)u=`M ${s.x} ${s.y} L ${o.x} ${o.y}`}else{if(s.y<o.y)if(a.type===B.MERGE&&r.id!==a.parents[0])u=`M ${s.x} ${s.y} L ${o.x-p} ${s.y} ${x} ${o.x} ${s.y+h} L ${o.x} ${o.y}`;else u=`M ${s.x} ${s.y} L ${s.x} ${o.y-p} ${y} ${s.x+h} ${o.y} L ${o.x} ${o.y}`;if(s.y>o.y)if(a.type===B.MERGE&&r.id!==a.parents[0])u=`M ${s.x} ${s.y} L ${o.x-p} ${s.y} ${y} ${o.x} ${s.y-h} L ${o.x} ${o.y}`;else u=`M ${s.x} ${s.y} L ${s.x} ${o.y+p} ${x} ${s.x+h} ${o.y} L ${o.x} ${o.y}`;if(s.y===o.y)u=`M ${s.x} ${s.y} L ${o.x} ${o.y}`}if(u===void 0)throw Error("Line definition not found");e.append("path").attr("d",u).attr("class","arrow arrow"+U(w,K,l))},"drawArrow"),ht=t((e,r)=>{let a=e.append("g").attr("class","commit-arrows");[...r.keys()].forEach((n)=>{let c=r.get(n);if(c.parents&&c.parents.length>0)c.parents.forEach((l)=>{dt(a,r.get(l),c,r)})})},"drawArrows"),lt=t((e,r,a,n)=>{let{look:c,theme:l,themeVariables:s}=d(),{dropShadow:o,THEME_COLOR_LIMIT:f}=s,y=ne.has(l??""),x=ge.has(l??""),p=e.append("g");r.forEach((h,w)=>{let u=U(w,y?f:K,x),k=M.get(h.name)?.pos;if(k===void 0)throw Error(`Position not found for branch ${h.name}`);let v=b==="TB"||b==="BT"?k:y?k+le/2+1:k-2,E=p.append("line");if(E.attr("x1",0),E.attr("y1",v),E.attr("x2",z),E.attr("y2",v),E.attr("class","branch branch"+u),b==="TB")E.attr("y1",re),E.attr("x1",k),E.attr("y2",z),E.attr("x2",k);else if(b==="BT")E.attr("y1",z),E.attr("x1",k),E.attr("y2",re),E.attr("x2",k);oe.push(v);let ce=h.name,X=be(ce),G=p.insert("rect"),q=p.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+u);q.node().appendChild(X);let T=X.getBBox(),fe=y?0:4,te=y?16:0,Z=y?le:0;if(c==="neo")G.attr("data-look","neo");if(G.attr("class","branchLabelBkg label"+u).attr("style",c==="neo"?`filter:${y?`url(#${n}-drop-shadow)`:o}`:"").attr("rx",fe).attr("ry",fe).attr("x",-T.width-4-(a.rotateCommitLabel===!0?30:0)).attr("y",-T.height/2+10).attr("width",T.width+18+te).attr("height",T.height+4+Z),q.attr("transform","translate("+(-T.width-14-(a.rotateCommitLabel===!0?30:0)+te/2)+", "+(v-T.height/2-2)+")"),b==="TB"){if(G.attr("x",k-T.width/2-10).attr("y",0),q.attr("transform","translate("+(k-T.width/2-5)+", 0)"),y)G.attr("transform",`translate(${-te/2-3}, ${-Z-10})`),q.attr("transform","translate("+(k-T.width/2-5)+", "+(-Z*2+7)+")")}else if(b==="BT"){if(G.attr("x",k-T.width/2-10).attr("y",z),q.attr("transform","translate("+(k-T.width/2-5)+", "+z+")"),y)G.attr("transform",`translate(${-te/2-3}, ${Z+10})`),q.attr("transform","translate("+(k-T.width/2-5)+", "+(z+Z*2+4)+")")}else G.attr("transform","translate(-19, "+(v-12-Z/2)+")")})},"drawBranches"),mt=t(function(e,r,a,n,c){return M.set(e,{pos:r,index:a}),r+=50+(c?40:0)+(b==="TB"||b==="BT"?n.width/2:0),r},"setBranchPosition"),gt=t(function(e,r,a,n){Ve(),i.debug("in gitgraph renderer",e+`
14
- `,"id:",r,a);let c=n.db;if(!c.getConfig){i.error("getConfig method is not available on db");return}let l=c.getConfig(),s=l.rotateCommitLabel??!1;J=c.getCommits();let o=c.getBranchesAsObjArray();b=c.getDirection();let f=g(`[id="${r}"]`),{look:y,theme:x,themeVariables:p}=d(),{useGradient:h,gradientStart:w,gradientStop:u,filterColor:k}=p;if(h){let E=f.append("defs").append("linearGradient").attr("id",r+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");E.append("stop").attr("offset","0%").attr("stop-color",w).attr("stop-opacity",1),E.append("stop").attr("offset","100%").attr("stop-color",u).attr("stop-opacity",1)}if(y==="neo"&&ne.has(x??""))f.append("defs").append("filter").attr("id",r+"-drop-shadow").attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",k);let v=0;if(o.forEach((E,ce)=>{let X=be(E.name),G=f.append("g"),ie=G.insert("g").attr("class","branchLabel"),q=ie.insert("g").attr("class","label branch-label");q.node()?.appendChild(X);let T=X.getBBox();v=mt(E.name,v,ce,T,s),q.remove(),ie.remove(),G.remove()}),$e(f,J,!1,l),l.showBranches)lt(f,o,l,r);ht(f,J),$e(f,J,!0,l),H.insertTitle(f,"gitTitleText",l.titleTopMargin??0,c.getDiagramTitle()),Wa(void 0,f,l.diagramPadding,l.useMaxWidth)},"draw"),ft={draw:gt},Be=8,ke=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),$t=new Set(["redux-color","redux-dark-color"]),pt=new Set(["neo","neo-dark"]),yt=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),xt=new Set(["redux","redux-dark","redux-color","redux-dark-color","neo","neo-dark"]),ut=t((e)=>{let{svgId:r}=e,a="";if(e.useGradient&&r)for(let n=0;n<e.THEME_COLOR_LIMIT;n++)a+=`
15
- .label${n} { fill: ${e.mainBkg}; stroke: url(${r}-gradient); stroke-width: ${e.strokeWidth};}
16
- `;return a},"genGitGraphGradient"),bt=t((e)=>{let r=A(),{theme:a,themeVariables:n}=r,{borderColorArray:c}=n,l=ke.has(a);if(pt.has(a)){let s="";for(let o=0;o<e.THEME_COLOR_LIMIT;o++)if(o===0)s+=`
17
- .branch-label${o} { fill: ${e.nodeBorder};}
18
- .commit${o} { stroke: ${e.nodeBorder}; }
19
- .commit-highlight${o} { stroke: ${e.nodeBorder}; fill: ${e.nodeBorder}; }
20
- .arrow${o} { stroke: ${e.nodeBorder}; }
21
- .commit-bullets { fill: ${e.nodeBorder}; }
22
- .commit-cherry-pick${o} { stroke: ${e.nodeBorder}; }
23
- ${ut(e)}`;else{let f=o%Be;s+=`
24
- .branch-label${o} { fill: ${e["gitBranchLabel"+f]}; }
25
- .commit${o} { stroke: ${e["git"+f]}; fill: ${e["git"+f]}; }
26
- .commit-highlight${o} { stroke: ${e["gitInv"+f]}; fill: ${e["gitInv"+f]}; }
27
- .arrow${o} { stroke: ${e["git"+f]}; }
28
- `}return s}else if(!$t.has(a)){let s="";for(let o=0;o<e.THEME_COLOR_LIMIT;o++)s+=`
29
- .branch-label${o} { fill: ${e.nodeBorder}; ${l?`font-weight:${e.noteFontWeight}`:""} }
30
- .commit${o} { stroke: ${e.nodeBorder}; }
31
- .commit-highlight${o} { stroke: ${e.nodeBorder}; fill: ${e.nodeBorder}; }
32
- .label${o} { fill: ${e.mainBkg}; stroke: ${e.nodeBorder}; stroke-width: ${e.strokeWidth}; ${l?`font-weight:${e.noteFontWeight}`:""}}
33
- .arrow${o} { stroke: ${e.nodeBorder}; }
34
- .commit-bullets { fill: ${e.nodeBorder}; }
35
- .commit-cherry-pick${o} { stroke: ${e.nodeBorder}; }
36
- `;return s}else{let s="";for(let o=0;o<e.THEME_COLOR_LIMIT;o++)if(o===0)s+=`
37
- .branch-label${o} { fill: ${e.nodeBorder}; ${l?`font-weight:${e.noteFontWeight}`:""} }
38
- .commit${o} { stroke: ${e.nodeBorder}; }
39
- .commit-highlight${o} { stroke: ${e.nodeBorder}; fill: ${e.mainBkg}; }
40
- .label${o} { fill: ${e.mainBkg}; stroke: ${e.nodeBorder}; stroke-width: ${e.strokeWidth}; ${l?`font-weight:${e.noteFontWeight}`:""} }
41
- .arrow${o} { stroke: ${e.nodeBorder}; }
42
- .commit-bullets { fill: ${e.nodeBorder}; }
43
- `;else{let f=o%c.length;s+=`
44
- .branch-label${o} { fill: ${e.nodeBorder}; ${l?`font-weight:${e.noteFontWeight}`:""} }
45
- .commit${o} { stroke: ${c[f]}; fill: ${c[f]}; }
46
- .commit-highlight${o} { stroke: ${c[f]}; fill: ${c[f]}; }
47
- .label${o} { fill: ${yt.has(a)?e.mainBkg:c[f]}; stroke: ${c[f]}; stroke-width: ${e.strokeWidth}; }
48
- .arrow${o} { stroke: ${c[f]}; }
49
- `}return s}},"genColor"),wt=t((e)=>`${Array.from({length:e.THEME_COLOR_LIMIT},(r,a)=>a).map((r)=>{let a=r%Be;return`
50
- .branch-label${r} { fill: ${e["gitBranchLabel"+a]}; }
51
- .commit${r} { stroke: ${e["git"+a]}; fill: ${e["git"+a]}; }
52
- .commit-highlight${r} { stroke: ${e["gitInv"+a]}; fill: ${e["gitInv"+a]}; }
53
- .label${r} { fill: ${e["git"+a]}; }
54
- .arrow${r} { stroke: ${e["git"+a]}; }
55
- `}).join(`
56
- `)}`,"normalTheme"),Bt=t((e)=>{let r=A(),{theme:a}=r,n=xt.has(a);return`
57
- .commit-id,
58
- .commit-msg,
59
- .branch-label {
60
- fill: lightgrey;
61
- color: lightgrey;
62
- font-family: 'trebuchet ms', verdana, arial, sans-serif;
63
- font-family: var(--mermaid-font-family);
64
- }
65
-
66
- ${n?bt(e):wt(e)}
67
-
68
- .branch {
69
- stroke-width: ${e.strokeWidth};
70
- stroke: ${e.commitLineColor??e.lineColor};
71
- stroke-dasharray: ${n?"4 2":"2"};
72
- }
73
- .commit-label { font-size: ${e.commitLabelFontSize}; fill: ${n?e.nodeBorder:e.commitLabelColor}; ${n?`font-weight:${e.noteFontWeight};`:""}}
74
- .commit-label-bkg { font-size: ${e.commitLabelFontSize}; fill: ${n?"transparent":e.commitLabelBackground}; opacity: ${n?"":0.5}; }
75
- .tag-label { font-size: ${e.tagLabelFontSize}; fill: ${e.tagLabelColor};}
76
- .tag-label-bkg { fill: ${n?e.mainBkg:e.tagLabelBackground}; stroke: ${n?e.nodeBorder:e.tagLabelBorder}; ${n?`filter:${e.dropShadow}`:""} }
77
- .tag-hole { fill: ${e.textColor}; }
78
-
79
- .commit-merge {
80
- stroke: ${n?e.mainBkg:e.primaryColor};
81
- fill: ${n?e.mainBkg:e.primaryColor};
82
- }
83
- .commit-reverse {
84
- stroke: ${n?e.mainBkg:e.primaryColor};
85
- fill: ${n?e.mainBkg:e.primaryColor};
86
- stroke-width: ${n?e.strokeWidth:3};
87
- }
88
- .commit-highlight-outer {
89
- }
90
- .commit-highlight-inner {
91
- stroke: ${n?e.mainBkg:e.primaryColor};
92
- fill: ${n?e.mainBkg:e.primaryColor};
93
- }
94
-
95
- .arrow {
96
- /* Intentional: neo themes keep the bold 8px arrow (like classic themes); only redux-geometry themes use the thinner options.strokeWidth. */
97
- stroke-width: ${ke.has(a)?e.strokeWidth:8};
98
- stroke-linecap: round;
99
- fill: none
100
- }
101
- .gitTitleText {
102
- text-anchor: middle;
103
- font-size: 18px;
104
- fill: ${e.textColor};
105
- }
106
- `},"getStyles"),kt=Bt,Ot={parser:Ke,db:ue,renderer:ft,styles:kt};export{Ot as diagram};
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{b,s,o,a,m,e,n,y,l,xe,Ot,Be,ke,ye,ft,Bt,me,ce,jc,as,li,pi,is}from"./chunk-g5b4wjwp.js";import{gi,yi,bi}from"./chunk-2q37qdq2.js";var be=[["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"}]],pe=l("rotate-cw",be);function fe(i){let{ApprovalPanel:P,Button:S,CopyButton:H,DetailChip:R,DetailList:g,DetailRow:p,DetailTitle:M,Dialog:D,Switch:Z,Tooltip:u,cn:te,confirm:w,useTheme:ne}=y();ne();let{info:r,connection:j}=i,N=i.projectID?`?projectID=${encodeURIComponent(i.projectID)}`:"",[G,se]=a(),[J,z]=a(),[h,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 f(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",f);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",f),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||h)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"}),f=new URL(c.authorizationUrl);if(f.protocol!=="https:"&&f.protocol!=="http:")throw Error("授权服务返回了不支持的链接协议");d.location.href=f.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=pi(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&&!h)E(void 0)},title:`信任 ${r.name}?`,size:"lg",children:n(P,{hideTitle:!0,title:"信任项目本地命令",command:v.command,approveLabel:"信任并连接",busy:h?"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&&!h)i.onClose()},title:e(M,{icon:ae.type==="local"?e(Bt,{}):e(Be,{}),name:r.name,meta:[ae.type==="local"?"本地命令":"远程服务",li(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-[13px] text-dim",children:[!I&&e(Z,{label:`启用 ${r.name}`,checked:!oe,disabled:h||i.toggling,onCheckedChange:i.onToggle}),e(is,{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:pi(r.config),variables:Object.keys(r.config.environment??{})})},disabled:h,children:"信任并连接"}),t&&e(S,{type:"button",variant:"ghost",size:"sm",onClick:ie,disabled:h,children:"清除凭据"}),!I&&e(u,{label:"删除服务器",children:e(S,{type:"button",variant:"danger-ghost",size:"icon","aria-label":"删除服务器",onClick:_,disabled:h,children:e(me,{className:"size-4"})})}),le&&e(u,{label:"终止服务进程并重新启动,让更新后的代码生效",children:e(S,{type:"button",variant:"ghost",size:"icon","aria-label":"重启",onClick:()=>x("restart"),disabled:h,children:e(pe,{className:te("size-4",h&&"animate-spin")})})}),le&&e(S,{type:"button",size:"sm",onClick:()=>x(Y?"disconnect":"connect"),disabled:h,children:Y?"断开连接":"连接"}),!I&&n(S,{type:"button",size:"sm",onClick:i.onEdit,disabled:h,children:[e(ft,{className:"size-3.5"}),e("span",{children:"编辑配置"})]})]})]}),children:n(g,{children:[n(p,{label:ae.type==="local"?"命令":"地址",children:[e("span",{className:"min-w-0 font-mono text-[12px] 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-[13px] 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:h,children:h?"正在连接…":"连接账户"})]}),A&&e(p,{label:"错误",children:e("p",{className:"min-w-0 font-mono text-[11.5px] text-danger leading-5 [overflow-wrap:anywhere]",children:V})}),e(p,{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 ge(i){let{pairs:P,onChange:S,InputComponent:H}=i,R=(g,p)=>S(P.map((M,D)=>D===g?{...M,...p}: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-[13px] 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(ke,{className:"size-3.5"}),"添加"]})]}),P.map((g,p)=>n("div",{className:"flex min-w-0 items-center gap-1.5",children:[e(H,{"aria-label":`${i.keyLabel} ${p+1}`,placeholder:i.keyLabel,value:g.key,readOnly:g.saved,onChange:(M)=>R(p,{key:M.target.value}),className:"min-w-0 flex-[2] font-mono text-xs"}),e(H,{"aria-label":`${i.keyLabel} ${g.key||p+1} 的值`,type:"password",autoComplete:"off",placeholder:g.saved?"已保存,留空保持不变":"值",value:g.value,onChange:(M)=>R(p,{value:M.target.value}),className:"min-w-0 flex-[3] font-mono text-xs"}),e("button",{type:"button","aria-label":`删除 ${g.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!==p)),children:e(ce,{className:"size-4"})})]},p))]})}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:g,Input:p,Switch:M,style:D,useTheme:Z}=y();Z();let{existing:u}=i,[te,w]=a(u?.config.type??"local"),[ne,r]=a(u?.name??""),[j,N]=a(u?.config.type==="local"?as(u.config.command):""),[G,se]=a(u?.config.type==="remote"?u.config.url:""),[J,z]=a(he(u?.config.type==="local"?u.config.environment:void 0)),[h,T]=a(he(u?.config.type==="remote"?u.config.headers:void 0)),v=u?.config.type==="remote"?u.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(u?.config.defer??"default"),[U,ie]=a(u?.config.timeout!==void 0?String(u.config.timeout):""),[_,ae]=a(u?.config.defer!==void 0||u?.config.timeout!==void 0),[re,V]=a(),[oe,le]=a(!1);async function d(c){c.preventDefault(),V(void 0);let f=ne.trim();if(!u&&!Ce.test(f)){V("名称只能包含英文字母、数字、下划线与中划线,长度 1-64");return}if(!u&&i.taken.includes(f)){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=jc(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:u?u.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 h){let de=L.key.trim();if(!de)continue;if(!L.saved||L.value)W[de]=L.value}let q;if(E){let L=O.trim(),de=ee.trim(),ue=t.trim();if(L||de||ue)q={clientId:L||void 0,clientSecret:de||void 0,scope:ue||void 0};else q=!0}else q=!1;k={type:"remote",url:C,headers:Object.keys(W).length?W:void 0,oauth:q,enabled:u?u.config.enabled:!0,defer:x==="default"?void 0:x,timeout:K}}le(!0);try{let C=u?.name??f,W=u?u.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:u?`编辑 ${u.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)"}]}),!u&&e(g,{label:"名称",aside:e(Q,{children:"唯一标识,如 postgres"}),children:(c)=>e(p,{id:c,value:ne,onChange:(f)=>r(f.target.value),placeholder:"postgres",className:"font-mono text-xs"})}),te==="local"?n(m,{children:[e(g,{label:"启动命令",aside:e(Q,{children:"完整命令及参数"}),children:(c)=>e(p,{id:c,value:j,onChange:(f)=>N(f.target.value),placeholder:"npx -y @modelcontextprotocol/server-postgres ...",className:"font-mono text-xs"})}),e(ge,{label:"环境变量",tip:"启动进程时注入",keyLabel:"变量名",pairs:J,onChange:z,InputComponent:p})]}):n(m,{children:[e(g,{label:"服务地址",aside:e(Q,{children:"HTTP / HTTPS 端点"}),children:(c)=>e(p,{id:c,value:G,onChange:(f)=>se(f.target.value),placeholder:"https://example.com/mcp",className:"font-mono text-xs"})}),e(ge,{label:"请求头",tip:"随每次请求发送",keyLabel:"头字段",pairs:h,onChange:T,InputComponent:p}),n("div",{className:"flex items-center justify-between gap-4",children:[n("div",{className:"min-w-0",children:[e("span",{className:"block text-[13px] 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(m,{children:[e(g,{label:"Client ID",aside:e(Q,{children:"留空自动动态注册(DCR)"}),children:(c)=>e(p,{id:c,value:O,onChange:(f)=>Y(f.target.value),placeholder:"留空自动动态注册",className:"font-mono text-xs"})}),e(g,{label:"Client Secret",aside:e(Q,{children:"留空保持不变"}),children:(c)=>e(p,{id:c,type:"password",autoComplete:"off",value:ee,onChange:(f)=>A(f.target.value),placeholder:"••••••••",className:"font-mono text-xs"})}),e(g,{label:"Scope",aside:e(Q,{children:"选填授权范围"}),children:(c)=>e(p,{id:c,value:t,onChange:(f)=>I(f.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-[13px] font-medium text-dim transition-colors hover:text-ink",onClick:()=>ae(!_),children:[e(Ot,{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(g,{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(g,{label:"超时(毫秒)",aside:e(Q,{children:"留空用默认"}),children:(c)=>e(p,{id:c,value:U,onChange:(f)=>ie(f.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(xe,{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:g}=y();g();let[p,M]=a(""),[D,Z]=a(),[u,te]=a([]),[w,ne]=a(X),[r,j]=a(),[N,G]=a(!1),[se,J]=a(),[z,h]=a(!1),T=o(!1),[v,E]=a(),B=o(0),O=b(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,h(!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,h(!1)}}let ee=D?.filter((t)=>`${t.name} ${pi(t.config)}`.toLowerCase().includes(p.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:"全局"}]},...gi(u)],className:"w-44"}),e(P,{variant:"ghost",disabled:N,onClick:O,className:"h-9 px-2.5 text-xs",children:e(ye,{className:`size-3.5 ${N?"animate-spin":""}`})}),n(P,{variant:"secondary",onClick:()=>E({}),className:"h-9 px-2.5 text-xs",children:[e(ke,{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(yi,{label:"搜索 MCP 服务器",placeholder:"搜索服务器",value:p,onChange:M}),e("div",{className:R("settings.groupBox"),children:!D?e(bi,{}):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-[11px]",children:pi(t.config)}),icon:t.config.type==="local"?e(Bt,{}):e(Be,{}),inactive:I,aside:n(m,{children:[e("span",{className:R("control.badge"),children:li(t.scope)}),e(is,{info:t})]}),toggle:x?void 0:{checked:!I,label:`启用服务器 ${t.name}`,disabled:z||N,onCheckedChange:(F)=>Y(t,F)}})},t.name)})})})]}),A&&!v&&e(fe,{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
@@ -1 +0,0 @@
1
- import{As}from"./chunk-y5f7gy03.js";export{As as createRadarServices};
@@ -1,2 +0,0 @@
1
- #�import{As}from"./chunk-y5f7gy03.js";export{As as createRadarServices};
2
- 
Binary file
@@ -1 +0,0 @@
1
- import{t,i}from"./chunk-qzb06me8.js";import{ge,Ln,Nn}from"./chunk-w5v80bmk.js";import{ae}from"./chunk-z9nj64n7.js";import{Ma,yn}from"./chunk-y5f7gy03.js";var s=Ma().RailroadPeg.parser.LangiumParser,o=t((e)=>{let r=e.alternatives.map(l);if(r.length===1)return r[0];return{type:"choice",alternatives:r}},"transformOrderedChoice"),l=t((e)=>{let r=e.elements.map(m);if(r.length===1)return r[0];return{type:"sequence",elements:r}},"transformSequence"),m=t((e)=>{let r=p(e.suffix);if(!e.operator)return r;return{type:"special",text:e.operator==="&"?`&${n(r)}`:`!${n(r)}`}},"transformPrefix"),n=t((e)=>{switch(e.type){case"terminal":return`"${e.value}"`;case"nonterminal":return e.name;case"special":return e.text;default:return"(...)"}},"nodeToLabel"),p=t((e)=>{let r=u(e.primary);if(!e.operator)return r;switch(e.operator){case"?":return{type:"optional",element:r};case"*":return{type:"repetition",element:r,min:0,max:1/0};case"+":return{type:"repetition",element:r,min:1,max:1/0};default:throw Error(`Unsupported PEG suffix operator: ${e.operator}`)}},"transformSuffix"),u=t((e)=>{switch(e.$type){case"PegLiteral":return{type:"terminal",value:e.value};case"PegIdentifier":return{type:"nonterminal",name:e.name};case"PegGroup":return o(e.element);case"PegAny":return{type:"special",text:e.dot};default:throw Error(`Unsupported PEG primary node: ${e.$type}`)}},"transformPrimary"),c=t((e)=>({name:e.name,definition:o(e.definition)}),"transformRule"),f=t((e)=>{if(ae(e,ge),e.title)ge.setTitle(e.title);e.rules.map((r)=>ge.addRule(c(r)))},"populateDb"),d={parse:t((e)=>{ge.clear(),i.debug("[PEG Parser] Starting Langium parse");let r=s.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new yn(r);let a=r.value;i.debug("[PEG Parser] Parsed rules:",a.rules.length),f(a),i.debug("[PEG Parser] Parse complete")},"parse"),parser:{yy:ge}},w={parser:d,db:ge,renderer:Nn,styles:Ln};export{w as diagram};
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{Is}from"./chunk-y5f7gy03.js";export{Is as createTreeViewServices};
@@ -1,2 +0,0 @@
1
- �$�import{Is}from"./chunk-y5f7gy03.js";export{Is as createTreeViewServices};
2
- 
Binary file