@bkm016/basalt 0.1.15 → 0.1.17

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 (558) hide show
  1. package/{chunk-mfb3dgs8.js → chunk-1c9nr9rs.js} +1 -1
  2. package/{chunk-z9p6s986.js → chunk-4hf0r9hv.js} +3 -3
  3. package/{chunk-p886jr17.js → chunk-6ae9810t.js} +2 -2
  4. package/{chunk-6hx9y86d.js → chunk-6exa9fp7.js} +1 -1
  5. package/{chunk-tszctb17.js → chunk-8jn0yax5.js} +26 -26
  6. package/{chunk-xq74x4gc.js → chunk-8r4baw9e.js} +1 -1
  7. package/{chunk-5n1qra6k.js → chunk-9jtvj8md.js} +265 -256
  8. package/{chunk-qjnx4fsn.js → chunk-b350b01x.js} +3 -3
  9. package/{chunk-59hg9a84.js → chunk-bv96b8q7.js} +1 -1
  10. package/{chunk-343jsm46.js → chunk-e8x8zwkg.js} +1 -1
  11. package/{chunk-k38jaz6c.js → chunk-ehnc8g6v.js} +2 -2
  12. package/{chunk-kcn05erf.js → chunk-fzftb4n2.js} +3 -3
  13. package/{chunk-0rasqm8y.js → chunk-nrdszs0g.js} +2 -2
  14. package/{chunk-qs161f2q.js → chunk-p78wde92.js} +1 -1
  15. package/{chunk-39mh7h58.js → chunk-pna1wh02.js} +1 -1
  16. package/{chunk-edcf97ka.js → chunk-q6tgpaf3.js} +1 -1
  17. package/{chunk-qe76naq9.js → chunk-rqn67tm8.js} +1 -1
  18. package/{chunk-en7z6ne5.js → chunk-v9ttcf6r.js} +1 -1
  19. package/{chunk-9v3b7jjv.js → chunk-vv9csar7.js} +1 -1
  20. package/{chunk-81x8r8w4.js → chunk-xba6fr5v.js} +1 -1
  21. package/{chunk-03wzwnn6.js → chunk-ypxs8djn.js} +1 -1
  22. package/compiled.js +4 -4
  23. package/package.json +1 -1
  24. package/ui-test-worker.js +2 -2
  25. package/web/{chunk-hdtvrh0f.js → chunk-013et20n.js} +2 -2
  26. package/web/chunk-013et20n.js.br +0 -0
  27. package/web/chunk-013et20n.js.gz +0 -0
  28. package/web/chunk-0ernj3c0.js +1 -0
  29. package/web/chunk-0ernj3c0.js.br +0 -0
  30. package/web/chunk-0ernj3c0.js.gz +0 -0
  31. package/web/chunk-0j65yg1p.js +1 -0
  32. package/web/chunk-0j65yg1p.js.br +0 -0
  33. package/web/chunk-0j65yg1p.js.gz +0 -0
  34. package/web/chunk-0khcpaa8.js +1 -0
  35. package/web/chunk-0khcpaa8.js.br +0 -0
  36. package/web/chunk-0khcpaa8.js.gz +0 -0
  37. package/web/chunk-0wbdd74r.js +1 -0
  38. package/web/chunk-0wbdd74r.js.br +2 -0
  39. package/web/chunk-0wbdd74r.js.gz +0 -0
  40. package/web/chunk-1f2wvhq9.js +1 -0
  41. package/web/chunk-1f2wvhq9.js.br +0 -0
  42. package/web/chunk-1f2wvhq9.js.gz +0 -0
  43. package/web/{chunk-7frnjms9.js → chunk-1q2kmv35.js} +18 -18
  44. package/web/chunk-1q2kmv35.js.br +0 -0
  45. package/web/chunk-1q2kmv35.js.gz +0 -0
  46. package/web/{chunk-k4qrqmdk.js → chunk-1tfrm3pk.js} +2 -2
  47. package/web/chunk-1tfrm3pk.js.br +0 -0
  48. package/web/chunk-1tfrm3pk.js.gz +0 -0
  49. package/web/chunk-2qt5fy5n.js +1 -0
  50. package/web/chunk-2qt5fy5n.js.br +0 -0
  51. package/web/chunk-2qt5fy5n.js.gz +0 -0
  52. package/web/chunk-2sxtb709.js +1 -0
  53. package/web/chunk-2sxtb709.js.br +0 -0
  54. package/web/chunk-2sxtb709.js.gz +0 -0
  55. package/web/chunk-2wrwm0qe.js +1 -0
  56. package/web/chunk-2wrwm0qe.js.br +0 -0
  57. package/web/chunk-2wrwm0qe.js.gz +0 -0
  58. package/web/{chunk-251yw6f2.js → chunk-2wwj27b9.js} +3 -3
  59. package/web/chunk-2wwj27b9.js.br +0 -0
  60. package/web/chunk-2wwj27b9.js.gz +0 -0
  61. package/web/chunk-33mmrjdp.js +1 -0
  62. package/web/chunk-33mmrjdp.js.br +2 -0
  63. package/web/chunk-33mmrjdp.js.gz +0 -0
  64. package/web/chunk-33tb7q04.js +2 -0
  65. package/web/chunk-33tb7q04.js.br +0 -0
  66. package/web/chunk-33tb7q04.js.gz +0 -0
  67. package/web/chunk-3txb4sha.js +1 -0
  68. package/web/chunk-3txb4sha.js.br +0 -0
  69. package/web/chunk-3txb4sha.js.gz +0 -0
  70. package/web/{chunk-t78qm9gs.js → chunk-3xgfsx7y.js} +2 -2
  71. package/web/chunk-3xgfsx7y.js.br +0 -0
  72. package/web/chunk-3xgfsx7y.js.gz +0 -0
  73. package/web/chunk-40jka4r7.js +2 -0
  74. package/web/chunk-40jka4r7.js.br +0 -0
  75. package/web/chunk-40jka4r7.js.gz +0 -0
  76. package/web/{chunk-vwv6pqy7.js → chunk-41vh5n86.js} +1 -1
  77. package/web/chunk-41vh5n86.js.br +0 -0
  78. package/web/chunk-41vh5n86.js.gz +0 -0
  79. package/web/chunk-4wd9r73y.js.br +0 -0
  80. package/web/chunk-4wd9r73y.js.gz +0 -0
  81. package/web/chunk-5kz048x3.js +2 -0
  82. package/web/chunk-5kz048x3.js.br +0 -0
  83. package/web/chunk-5kz048x3.js.gz +0 -0
  84. package/web/chunk-5mbz8yj9.js +3 -0
  85. package/web/chunk-5mbz8yj9.js.br +0 -0
  86. package/web/chunk-5mbz8yj9.js.gz +0 -0
  87. package/web/chunk-6024wfxb.js +30 -0
  88. package/web/chunk-6024wfxb.js.br +0 -0
  89. package/web/chunk-6024wfxb.js.gz +0 -0
  90. package/web/chunk-6ey4c6gw.js +2 -0
  91. package/web/chunk-6ey4c6gw.js.br +0 -0
  92. package/web/chunk-6ey4c6gw.js.gz +0 -0
  93. package/web/chunk-6q3p851n.js +1 -0
  94. package/web/chunk-6q3p851n.js.br +2 -0
  95. package/web/chunk-6q3p851n.js.gz +0 -0
  96. package/web/{chunk-2tm4xe0j.js → chunk-74g3wh08.js} +2 -2
  97. package/web/chunk-74g3wh08.js.br +0 -0
  98. package/web/chunk-74g3wh08.js.gz +0 -0
  99. package/web/{chunk-ea6b8b50.js → chunk-78akzkgs.js} +12 -12
  100. package/web/chunk-78akzkgs.js.br +0 -0
  101. package/web/chunk-78akzkgs.js.gz +0 -0
  102. package/web/chunk-7ck99bsp.js +62 -0
  103. package/web/chunk-7ck99bsp.js.br +0 -0
  104. package/web/chunk-7ck99bsp.js.gz +0 -0
  105. package/web/chunk-7fjbyns9.js +1 -0
  106. package/web/chunk-7fjbyns9.js.br +0 -0
  107. package/web/chunk-7fjbyns9.js.gz +0 -0
  108. package/web/chunk-7n6b2xra.js +21 -0
  109. package/web/chunk-7n6b2xra.js.br +0 -0
  110. package/web/chunk-7n6b2xra.js.gz +0 -0
  111. package/web/chunk-7p4mcqkd.js +78 -0
  112. package/web/chunk-7p4mcqkd.js.br +0 -0
  113. package/web/chunk-7p4mcqkd.js.gz +0 -0
  114. package/web/chunk-7ztwkhg5.js +1 -0
  115. package/web/chunk-7ztwkhg5.js.br +0 -0
  116. package/web/chunk-7ztwkhg5.js.gz +0 -0
  117. package/web/{chunk-4q2jtvwn.js → chunk-823etvc3.js} +19 -19
  118. package/web/chunk-823etvc3.js.br +0 -0
  119. package/web/chunk-823etvc3.js.gz +0 -0
  120. package/web/{chunk-mv9q8jrm.js → chunk-8ec53vjd.js} +1 -1
  121. package/web/chunk-8ec53vjd.js.br +0 -0
  122. package/web/chunk-8ec53vjd.js.gz +0 -0
  123. package/web/chunk-8g239029.js.br +0 -0
  124. package/web/chunk-8g239029.js.gz +0 -0
  125. package/web/{chunk-wfgrdabk.js → chunk-8g55ytgz.js} +1 -1
  126. package/web/chunk-8g55ytgz.js.br +0 -0
  127. package/web/chunk-8g55ytgz.js.gz +0 -0
  128. package/web/chunk-8nxjthxc.js +1 -0
  129. package/web/chunk-8nxjthxc.js.br +0 -0
  130. package/web/chunk-8nxjthxc.js.gz +0 -0
  131. package/web/chunk-8q76yd76.js +291 -0
  132. package/web/chunk-8q76yd76.js.br +0 -0
  133. package/web/chunk-8q76yd76.js.gz +0 -0
  134. package/web/chunk-9kbrjmtz.js +1 -0
  135. package/web/chunk-9kbrjmtz.js.br +0 -0
  136. package/web/chunk-9kbrjmtz.js.gz +0 -0
  137. package/web/chunk-9s4bh6qm.js +40 -0
  138. package/web/chunk-9s4bh6qm.js.br +0 -0
  139. package/web/chunk-9s4bh6qm.js.gz +0 -0
  140. package/web/chunk-9v1f6yc8.js.br +0 -0
  141. package/web/chunk-9v1f6yc8.js.gz +0 -0
  142. package/web/{chunk-a205cj09.js → chunk-9vf3zy3d.js} +2 -2
  143. package/web/chunk-9vf3zy3d.js.br +0 -0
  144. package/web/chunk-9vf3zy3d.js.gz +0 -0
  145. package/web/{chunk-yzmrbssn.js → chunk-a449xjq6.js} +6 -6
  146. package/web/chunk-a449xjq6.js.br +0 -0
  147. package/web/chunk-a449xjq6.js.gz +0 -0
  148. package/web/chunk-ad6x47yy.js.br +0 -0
  149. package/web/chunk-ad6x47yy.js.gz +0 -0
  150. package/web/chunk-b05eay33.js +1 -0
  151. package/web/chunk-b05eay33.js.br +0 -0
  152. package/web/chunk-b05eay33.js.gz +0 -0
  153. package/web/{chunk-dgepxev9.js → chunk-bdypt5mj.js} +55 -55
  154. package/web/chunk-bdypt5mj.js.br +0 -0
  155. package/web/chunk-bdypt5mj.js.gz +0 -0
  156. package/web/chunk-bvyjy17t.js +14 -0
  157. package/web/chunk-bvyjy17t.js.br +0 -0
  158. package/web/chunk-bvyjy17t.js.gz +0 -0
  159. package/web/{chunk-7zfqppsx.js → chunk-ccy2q2z0.js} +2 -2
  160. package/web/chunk-ccy2q2z0.js.br +0 -0
  161. package/web/chunk-ccy2q2z0.js.gz +0 -0
  162. package/web/{chunk-k3ah0513.js → chunk-ceg13tma.js} +2 -2
  163. package/web/chunk-ceg13tma.js.br +0 -0
  164. package/web/chunk-ceg13tma.js.gz +0 -0
  165. package/web/{chunk-bzdn9sxz.js → chunk-ch60a61d.js} +2 -2
  166. package/web/chunk-ch60a61d.js.br +0 -0
  167. package/web/chunk-ch60a61d.js.gz +0 -0
  168. package/web/chunk-czvdg0c5.js +1 -0
  169. package/web/chunk-czvdg0c5.js.br +0 -0
  170. package/web/chunk-czvdg0c5.js.gz +0 -0
  171. package/web/chunk-d18r4m14.js.br +0 -0
  172. package/web/chunk-d18r4m14.js.gz +0 -0
  173. package/web/chunk-dmqtdeb4.js.br +0 -0
  174. package/web/chunk-dmqtdeb4.js.gz +0 -0
  175. package/web/chunk-drr7mqg2.js +1 -0
  176. package/web/chunk-drr7mqg2.js.br +0 -0
  177. package/web/chunk-drr7mqg2.js.gz +0 -0
  178. package/web/{chunk-3zs2v6b4.js → chunk-dsa5m3h6.js} +34 -34
  179. package/web/chunk-dsa5m3h6.js.br +0 -0
  180. package/web/chunk-dsa5m3h6.js.gz +0 -0
  181. package/web/chunk-dww3grm3.js +24 -0
  182. package/web/chunk-dww3grm3.js.br +0 -0
  183. package/web/chunk-dww3grm3.js.gz +0 -0
  184. package/web/chunk-e187gt5x.js +1 -0
  185. package/web/chunk-e187gt5x.js.br +0 -0
  186. package/web/chunk-e187gt5x.js.gz +0 -0
  187. package/web/{chunk-pf65cank.js → chunk-emxa4wv3.js} +2 -2
  188. package/web/chunk-emxa4wv3.js.br +0 -0
  189. package/web/chunk-emxa4wv3.js.gz +0 -0
  190. package/web/{chunk-6x1hfjb9.js → chunk-ey0zwvbx.js} +1 -1
  191. package/web/chunk-ey0zwvbx.js.br +0 -0
  192. package/web/chunk-ey0zwvbx.js.gz +0 -0
  193. package/web/chunk-ey14knbn.js +2 -0
  194. package/web/chunk-ey14knbn.js.br +0 -0
  195. package/web/chunk-ey14knbn.js.gz +0 -0
  196. package/web/chunk-fba06jm8.js +1132 -0
  197. package/web/chunk-fba06jm8.js.br +0 -0
  198. package/web/chunk-fba06jm8.js.gz +0 -0
  199. package/web/chunk-fh56vgfx.js +39 -0
  200. package/web/chunk-fh56vgfx.js.br +0 -0
  201. package/web/chunk-fh56vgfx.js.gz +0 -0
  202. package/web/chunk-ft05x3my.js +169 -0
  203. package/web/chunk-ft05x3my.js.br +0 -0
  204. package/web/chunk-ft05x3my.js.gz +0 -0
  205. package/web/chunk-fzmrnh17.js +303 -0
  206. package/web/chunk-fzmrnh17.js.br +0 -0
  207. package/web/chunk-fzmrnh17.js.gz +0 -0
  208. package/web/{chunk-jdx7qp2w.js → chunk-gbt7asd7.js} +2 -2
  209. package/web/chunk-gbt7asd7.js.br +0 -0
  210. package/web/chunk-gbt7asd7.js.gz +0 -0
  211. package/web/chunk-gh9fkn3t.js +1 -0
  212. package/web/chunk-gh9fkn3t.js.br +2 -0
  213. package/web/chunk-gh9fkn3t.js.gz +0 -0
  214. package/web/{chunk-sd3cdqcm.js → chunk-h1syyjqq.js} +2 -2
  215. package/web/chunk-h1syyjqq.js.br +0 -0
  216. package/web/chunk-h1syyjqq.js.gz +0 -0
  217. package/web/{chunk-te15yhn5.js → chunk-h7byk4z3.js} +12 -12
  218. package/web/chunk-h7byk4z3.js.br +0 -0
  219. package/web/chunk-h7byk4z3.js.gz +0 -0
  220. package/web/chunk-hby0hkv4.js +1 -0
  221. package/web/chunk-hby0hkv4.js.br +0 -0
  222. package/web/chunk-hby0hkv4.js.gz +0 -0
  223. package/web/chunk-hjvsp2yx.js +1 -0
  224. package/web/chunk-hjvsp2yx.js.br +0 -0
  225. package/web/chunk-hjvsp2yx.js.gz +0 -0
  226. package/web/chunk-hp167dbv.js.br +0 -0
  227. package/web/chunk-hp167dbv.js.gz +0 -0
  228. package/web/{chunk-t2v01k4z.js → chunk-hpjzy5ww.js} +1 -1
  229. package/web/chunk-hpjzy5ww.js.br +0 -0
  230. package/web/chunk-hpjzy5ww.js.gz +0 -0
  231. package/web/{chunk-jx3z63tq.js → chunk-hzfp8kqx.js} +11 -11
  232. package/web/chunk-hzfp8kqx.js.br +0 -0
  233. package/web/chunk-hzfp8kqx.js.gz +0 -0
  234. package/web/{chunk-5d9veaef.js → chunk-j6jjk46a.js} +2 -2
  235. package/web/chunk-j6jjk46a.js.br +0 -0
  236. package/web/chunk-j6jjk46a.js.gz +0 -0
  237. package/web/chunk-j8f0m1dq.js +1 -0
  238. package/web/chunk-j8f0m1dq.js.br +0 -0
  239. package/web/chunk-j8f0m1dq.js.gz +0 -0
  240. package/web/{chunk-qv1w36ja.js → chunk-jc178ad5.js} +2 -2
  241. package/web/chunk-jc178ad5.js.br +0 -0
  242. package/web/chunk-jc178ad5.js.gz +0 -0
  243. package/web/chunk-jcsf0ke5.js +41 -0
  244. package/web/chunk-jcsf0ke5.js.br +0 -0
  245. package/web/chunk-jcsf0ke5.js.gz +0 -0
  246. package/web/chunk-jg43a2xk.js +139 -0
  247. package/web/chunk-jg43a2xk.js.br +0 -0
  248. package/web/chunk-jg43a2xk.js.gz +0 -0
  249. package/web/chunk-jrgdxqtq.js +7 -0
  250. package/web/chunk-jrgdxqtq.js.br +0 -0
  251. package/web/chunk-jrgdxqtq.js.gz +0 -0
  252. package/web/chunk-js8dvtfg.js +2 -0
  253. package/web/chunk-js8dvtfg.js.br +0 -0
  254. package/web/chunk-js8dvtfg.js.gz +0 -0
  255. package/web/chunk-jt0s9qs7.js +1 -0
  256. package/web/chunk-jt0s9qs7.js.br +0 -0
  257. package/web/chunk-jt0s9qs7.js.gz +0 -0
  258. package/web/chunk-jv5faf88.js +34 -0
  259. package/web/chunk-jv5faf88.js.br +0 -0
  260. package/web/chunk-jv5faf88.js.gz +0 -0
  261. package/web/{chunk-6xfbh4z5.js → chunk-k295x81w.js} +79 -79
  262. package/web/chunk-k295x81w.js.br +0 -0
  263. package/web/chunk-k295x81w.js.gz +0 -0
  264. package/web/{chunk-1zwc09e8.js → chunk-k3aa37pw.js} +2 -2
  265. package/web/chunk-k3aa37pw.js.br +0 -0
  266. package/web/chunk-k3aa37pw.js.gz +0 -0
  267. package/web/{chunk-kxr473dw.js → chunk-k6wxwgp1.js} +26 -26
  268. package/web/chunk-k6wxwgp1.js.br +0 -0
  269. package/web/chunk-k6wxwgp1.js.gz +0 -0
  270. package/web/chunk-k9vc7kp2.js +292 -0
  271. package/web/chunk-k9vc7kp2.js.br +0 -0
  272. package/web/chunk-k9vc7kp2.js.gz +0 -0
  273. package/web/chunk-kxyws7q7.js +1 -0
  274. package/web/chunk-kxyws7q7.js.br +0 -0
  275. package/web/chunk-kxyws7q7.js.gz +0 -0
  276. package/web/{chunk-8qzsxg1q.js → chunk-mcgf645h.js} +1 -1
  277. package/web/chunk-mcgf645h.js.br +4 -0
  278. package/web/chunk-mcgf645h.js.gz +0 -0
  279. package/web/{chunk-27cntdyk.js → chunk-mj3tshy8.js} +31 -31
  280. package/web/chunk-mj3tshy8.js.br +0 -0
  281. package/web/chunk-mj3tshy8.js.gz +0 -0
  282. package/web/chunk-mnb2wdvy.js +24 -0
  283. package/web/chunk-mnb2wdvy.js.br +0 -0
  284. package/web/chunk-mnb2wdvy.js.gz +0 -0
  285. package/web/chunk-ndf58dgc.js +1 -0
  286. package/web/chunk-ndf58dgc.js.br +0 -0
  287. package/web/chunk-ndf58dgc.js.gz +0 -0
  288. package/web/chunk-nhpm5nd5.js +2 -0
  289. package/web/chunk-nhpm5nd5.js.br +0 -0
  290. package/web/chunk-nhpm5nd5.js.gz +0 -0
  291. package/web/chunk-nj0cv1cq.js.br +0 -0
  292. package/web/chunk-nj0cv1cq.js.gz +0 -0
  293. package/web/{chunk-zf4b8jb9.js → chunk-nwxjdetb.js} +1 -1
  294. package/web/chunk-nwxjdetb.js.br +0 -0
  295. package/web/chunk-nwxjdetb.js.gz +0 -0
  296. package/web/chunk-nyjfcard.js +106 -0
  297. package/web/chunk-nyjfcard.js.br +0 -0
  298. package/web/chunk-nyjfcard.js.gz +0 -0
  299. package/web/chunk-nzey7cpv.js.br +0 -0
  300. package/web/chunk-nzey7cpv.js.gz +0 -0
  301. package/web/{chunk-937ndmh1.js → chunk-pcfjcy3a.js} +23 -23
  302. package/web/chunk-pcfjcy3a.js.br +0 -0
  303. package/web/chunk-pcfjcy3a.js.gz +0 -0
  304. package/web/chunk-pry6wdbe.js +1 -0
  305. package/web/chunk-pry6wdbe.js.br +0 -0
  306. package/web/chunk-pry6wdbe.js.gz +0 -0
  307. package/web/chunk-pvahdcgy.js +2 -0
  308. package/web/chunk-pvahdcgy.js.br +0 -0
  309. package/web/chunk-pvahdcgy.js.gz +0 -0
  310. package/web/{chunk-1v6hhgc6.js → chunk-q3njnnef.js} +2 -2
  311. package/web/chunk-q3njnnef.js.br +0 -0
  312. package/web/chunk-q3njnnef.js.gz +0 -0
  313. package/web/chunk-qxvqkkmw.js +1 -0
  314. package/web/chunk-qxvqkkmw.js.br +0 -0
  315. package/web/chunk-qxvqkkmw.js.gz +0 -0
  316. package/web/chunk-qych3sbs.js +1 -0
  317. package/web/chunk-qych3sbs.js.br +0 -0
  318. package/web/chunk-qych3sbs.js.gz +0 -0
  319. package/web/chunk-r1dnh0s8.js.br +0 -0
  320. package/web/chunk-r1dnh0s8.js.gz +0 -0
  321. package/web/chunk-r5eakmw6.js.br +0 -0
  322. package/web/chunk-r5eakmw6.js.gz +0 -0
  323. package/web/chunk-rbmp2e4b.js +1 -0
  324. package/web/chunk-rbmp2e4b.js.br +0 -0
  325. package/web/chunk-rbmp2e4b.js.gz +0 -0
  326. package/web/chunk-rcre1stj.js +1 -0
  327. package/web/chunk-rcre1stj.js.br +0 -0
  328. package/web/chunk-rcre1stj.js.gz +0 -0
  329. package/web/chunk-rdb6091n.js +89 -0
  330. package/web/chunk-rdb6091n.js.br +0 -0
  331. package/web/chunk-rdb6091n.js.gz +0 -0
  332. package/web/chunk-ryw7xnab.js +1 -0
  333. package/web/chunk-ryw7xnab.js.br +0 -0
  334. package/web/chunk-ryw7xnab.js.gz +0 -0
  335. package/web/{chunk-7wzszsf5.js → chunk-sbbmy02e.js} +2 -2
  336. package/web/chunk-sbbmy02e.js.br +0 -0
  337. package/web/chunk-sbbmy02e.js.gz +0 -0
  338. package/web/{chunk-s0xy00v5.js → chunk-sgbc835w.js} +2 -2
  339. package/web/chunk-sgbc835w.js.br +0 -0
  340. package/web/chunk-sgbc835w.js.gz +0 -0
  341. package/web/chunk-sydy10mb.js +1 -0
  342. package/web/chunk-sydy10mb.js.br +0 -0
  343. package/web/chunk-sydy10mb.js.gz +0 -0
  344. package/web/chunk-t0ywnp5e.js +1 -0
  345. package/web/chunk-t0ywnp5e.js.br +0 -0
  346. package/web/chunk-t0ywnp5e.js.gz +0 -0
  347. package/web/chunk-t6agpn2z.js.br +0 -0
  348. package/web/chunk-t6agpn2z.js.gz +0 -0
  349. package/web/{chunk-s6bc73n3.js → chunk-t72jq97z.js} +2 -2
  350. package/web/chunk-t72jq97z.js.br +0 -0
  351. package/web/chunk-t72jq97z.js.gz +0 -0
  352. package/web/{chunk-pa82db2e.js → chunk-tfcc9bcz.js} +3 -3
  353. package/web/chunk-tfcc9bcz.js.br +0 -0
  354. package/web/chunk-tfcc9bcz.js.gz +0 -0
  355. package/web/chunk-v2bvbgfc.js +2 -0
  356. package/web/chunk-v2bvbgfc.js.br +0 -0
  357. package/web/chunk-v2bvbgfc.js.gz +0 -0
  358. package/web/{chunk-n0ezfa12.js → chunk-v7zq4vc9.js} +5 -5
  359. package/web/chunk-v7zq4vc9.js.br +0 -0
  360. package/web/chunk-v7zq4vc9.js.gz +0 -0
  361. package/web/chunk-vh8pkcem.css +1 -0
  362. package/web/chunk-vh8pkcem.css.br +0 -0
  363. package/web/chunk-vh8pkcem.css.gz +0 -0
  364. package/web/chunk-vq3sby7x.js +1 -0
  365. package/web/chunk-vq3sby7x.js.br +0 -0
  366. package/web/chunk-vq3sby7x.js.gz +0 -0
  367. package/web/{chunk-vvvd3grf.js → chunk-vszya05r.js} +2 -2
  368. package/web/chunk-vszya05r.js.br +0 -0
  369. package/web/chunk-vszya05r.js.gz +0 -0
  370. package/web/chunk-was9xf03.js +8 -0
  371. package/web/chunk-was9xf03.js.br +0 -0
  372. package/web/chunk-was9xf03.js.gz +0 -0
  373. package/web/chunk-we1v1829.js +2 -0
  374. package/web/chunk-we1v1829.js.br +0 -0
  375. package/web/chunk-we1v1829.js.gz +0 -0
  376. package/web/chunk-wfa1c8dn.js +1 -0
  377. package/web/chunk-wfa1c8dn.js.br +0 -0
  378. package/web/chunk-wfa1c8dn.js.gz +0 -0
  379. package/web/chunk-wg2exnxe.js +1 -0
  380. package/web/chunk-wg2exnxe.js.br +2 -0
  381. package/web/chunk-wg2exnxe.js.gz +0 -0
  382. package/web/chunk-wvd3zj1m.js +70 -0
  383. package/web/chunk-wvd3zj1m.js.br +0 -0
  384. package/web/chunk-wvd3zj1m.js.gz +0 -0
  385. package/web/chunk-wzmxtr30.js +1 -0
  386. package/web/chunk-wzmxtr30.js.br +0 -0
  387. package/web/chunk-wzmxtr30.js.gz +0 -0
  388. package/web/chunk-x815g7yp.js +1 -0
  389. package/web/chunk-x815g7yp.js.br +0 -0
  390. package/web/chunk-x815g7yp.js.gz +0 -0
  391. package/web/{chunk-ymtq18z6.js → chunk-x8ps0p82.js} +14 -14
  392. package/web/chunk-x8ps0p82.js.br +0 -0
  393. package/web/chunk-x8ps0p82.js.gz +0 -0
  394. package/web/{chunk-5fzmk43v.js → chunk-xea3snym.js} +1 -1
  395. package/web/chunk-xea3snym.js.br +0 -0
  396. package/web/chunk-xea3snym.js.gz +0 -0
  397. package/web/chunk-xet1jjy9.js.br +0 -0
  398. package/web/chunk-xet1jjy9.js.gz +0 -0
  399. package/web/{chunk-17wwzrp4.js → chunk-xg4v60m7.js} +1 -1
  400. package/web/chunk-xg4v60m7.js.br +0 -0
  401. package/web/chunk-xg4v60m7.js.gz +0 -0
  402. package/web/chunk-xhr9jrjt.js +89 -0
  403. package/web/chunk-xhr9jrjt.js.br +0 -0
  404. package/web/chunk-xhr9jrjt.js.gz +0 -0
  405. package/web/chunk-xp90g2e7.js +36 -0
  406. package/web/chunk-xp90g2e7.js.br +0 -0
  407. package/web/chunk-xp90g2e7.js.gz +0 -0
  408. package/web/{chunk-hbwxtbq3.js → chunk-xs1g97qa.js} +2 -2
  409. package/web/chunk-xs1g97qa.js.br +0 -0
  410. package/web/chunk-xs1g97qa.js.gz +0 -0
  411. package/web/chunk-xyk1wpr4.js +1 -0
  412. package/web/chunk-xyk1wpr4.js.br +3 -0
  413. package/web/chunk-xyk1wpr4.js.gz +0 -0
  414. package/web/chunk-yavbdwyt.js +1 -0
  415. package/web/chunk-yavbdwyt.js.br +0 -0
  416. package/web/chunk-yavbdwyt.js.gz +0 -0
  417. package/web/chunk-yfnhnsxe.js +4 -0
  418. package/web/chunk-yfnhnsxe.js.br +0 -0
  419. package/web/chunk-yfnhnsxe.js.gz +0 -0
  420. package/web/chunk-yk965yth.js +1 -0
  421. package/web/chunk-yk965yth.js.br +0 -0
  422. package/web/chunk-yk965yth.js.gz +0 -0
  423. package/web/{chunk-25sn840r.js → chunk-ynhcjhsx.js} +2 -2
  424. package/web/chunk-ynhcjhsx.js.br +0 -0
  425. package/web/chunk-ynhcjhsx.js.gz +0 -0
  426. package/web/chunk-ypmm1gts.js +1 -0
  427. package/web/chunk-ypmm1gts.js.br +0 -0
  428. package/web/chunk-ypmm1gts.js.gz +0 -0
  429. package/web/chunk-yssx5a5q.js +1 -0
  430. package/web/chunk-yssx5a5q.js.br +0 -0
  431. package/web/chunk-yssx5a5q.js.gz +0 -0
  432. package/web/chunk-z09emmrb.js.br +0 -0
  433. package/web/chunk-z09emmrb.js.gz +0 -0
  434. package/web/chunk-z0a8cnq8.js +1 -0
  435. package/web/chunk-z0a8cnq8.js.br +0 -0
  436. package/web/chunk-z0a8cnq8.js.gz +0 -0
  437. package/web/{chunk-pafw34vg.js → chunk-z1afsvbv.js} +2 -2
  438. package/web/chunk-z1afsvbv.js.br +0 -0
  439. package/web/chunk-z1afsvbv.js.gz +0 -0
  440. package/web/{chunk-fttdbcqv.js → chunk-z1ka8jtd.js} +2 -2
  441. package/web/chunk-z1ka8jtd.js.br +0 -0
  442. package/web/chunk-z1ka8jtd.js.gz +0 -0
  443. package/web/chunk-z7tdzen9.js +1 -0
  444. package/web/chunk-z7tdzen9.js.br +0 -0
  445. package/web/chunk-z7tdzen9.js.gz +0 -0
  446. package/web/{chunk-tvaxyhh0.js → chunk-zbwjj06m.js} +6 -6
  447. package/web/chunk-zbwjj06m.js.br +0 -0
  448. package/web/chunk-zbwjj06m.js.gz +0 -0
  449. package/web/chunk-zd2j189j.js +1 -0
  450. package/web/chunk-zd2j189j.js.br +0 -0
  451. package/web/chunk-zd2j189j.js.gz +0 -0
  452. package/web/chunk-zfgpq4n4.js +120 -0
  453. package/web/chunk-zfgpq4n4.js.br +0 -0
  454. package/web/chunk-zfgpq4n4.js.gz +0 -0
  455. package/web/chunk-zgas56xw.js +1 -0
  456. package/web/chunk-zgas56xw.js.br +0 -0
  457. package/web/chunk-zgas56xw.js.gz +0 -0
  458. package/web/chunk-zkfepf91.js +1 -0
  459. package/web/chunk-zkfepf91.js.br +0 -0
  460. package/web/chunk-zkfepf91.js.gz +0 -0
  461. package/web/icon-1wgy7kzy.svg.br +0 -0
  462. package/web/icon-1wgy7kzy.svg.gz +0 -0
  463. package/web/icon.svg.br +0 -0
  464. package/web/icon.svg.gz +0 -0
  465. package/web/index.html +11 -1
  466. package/web/index.html.br +0 -0
  467. package/web/index.html.gz +0 -0
  468. package/web/manifest-txf6vfbq.webmanifest.br +0 -0
  469. package/web/manifest-txf6vfbq.webmanifest.gz +0 -0
  470. package/web/manifest.webmanifest.br +0 -0
  471. package/web/manifest.webmanifest.gz +0 -0
  472. package/web/sw.js +146 -27
  473. package/web/sw.js.br +0 -0
  474. package/web/sw.js.gz +0 -0
  475. package/web/chunk-00swes3c.js +0 -1
  476. package/web/chunk-01nbc18z.js +0 -2
  477. package/web/chunk-0e995hjg.js +0 -1
  478. package/web/chunk-1bhpfsvr.js +0 -36
  479. package/web/chunk-1y387f45.js +0 -1
  480. package/web/chunk-3egthz5k.js +0 -2
  481. package/web/chunk-3f8fjee5.js +0 -2
  482. package/web/chunk-3fjzgpaw.js +0 -1
  483. package/web/chunk-3hy2gsgf.js +0 -1
  484. package/web/chunk-3mgzqbc8.js +0 -1
  485. package/web/chunk-3yvanftw.js +0 -1
  486. package/web/chunk-43194184.js +0 -1
  487. package/web/chunk-43bczb21.js +0 -120
  488. package/web/chunk-4m9mgdaa.js +0 -1
  489. package/web/chunk-4tbhxtnm.js +0 -1
  490. package/web/chunk-50vgq2nk.js +0 -139
  491. package/web/chunk-57b8j192.js +0 -1
  492. package/web/chunk-5rwg3qqd.js +0 -169
  493. package/web/chunk-62gj74fq.js +0 -1
  494. package/web/chunk-64h7k870.js +0 -1
  495. package/web/chunk-65ay0j1t.js +0 -39
  496. package/web/chunk-66164wmv.js +0 -2
  497. package/web/chunk-6ehecat3.js +0 -1
  498. package/web/chunk-6s1vjny7.js +0 -24
  499. package/web/chunk-73941p08.js +0 -1
  500. package/web/chunk-7jh6zxg3.js +0 -1
  501. package/web/chunk-7mgwejn4.js +0 -1
  502. package/web/chunk-7qq1ypvj.js +0 -1
  503. package/web/chunk-8nm0mghm.js +0 -2
  504. package/web/chunk-8zg89764.js +0 -1
  505. package/web/chunk-95gbcs8j.js +0 -1
  506. package/web/chunk-at0xtfhy.js +0 -1
  507. package/web/chunk-aw6wg8fe.js +0 -3
  508. package/web/chunk-b323qea5.js +0 -1
  509. package/web/chunk-bcx7xges.js +0 -1
  510. package/web/chunk-cq1f20k6.js +0 -89
  511. package/web/chunk-dde64qjd.js +0 -1
  512. package/web/chunk-djnq1w1e.js +0 -21
  513. package/web/chunk-ed5xfgxb.js +0 -2
  514. package/web/chunk-ehz9m6g4.js +0 -292
  515. package/web/chunk-evp6t44y.js +0 -8
  516. package/web/chunk-eyg28s83.js +0 -1
  517. package/web/chunk-g7bcntpm.js +0 -1
  518. package/web/chunk-g9bqacq1.js +0 -1
  519. package/web/chunk-gh8kjzdj.js +0 -1
  520. package/web/chunk-h0c42zy3.js +0 -1
  521. package/web/chunk-j031r08w.js +0 -1
  522. package/web/chunk-jab2p5zv.js +0 -2
  523. package/web/chunk-jca9xbe0.js +0 -40
  524. package/web/chunk-jpf8x9tm.js +0 -1
  525. package/web/chunk-jy448465.js +0 -1142
  526. package/web/chunk-jy8zat04.js +0 -1
  527. package/web/chunk-k8s7kye3.js +0 -1
  528. package/web/chunk-k9zn1n6d.js +0 -1
  529. package/web/chunk-ksnsfqrn.js +0 -24
  530. package/web/chunk-m5psa69k.js +0 -30
  531. package/web/chunk-md9j949p.js +0 -1
  532. package/web/chunk-mss6eg27.js +0 -106
  533. package/web/chunk-nbcpbqq4.js +0 -1
  534. package/web/chunk-npyrdsf8.css +0 -1
  535. package/web/chunk-p1bb9xp8.js +0 -89
  536. package/web/chunk-pdmcr6d4.js +0 -41
  537. package/web/chunk-phj4pcx4.js +0 -78
  538. package/web/chunk-pma5pats.js +0 -7
  539. package/web/chunk-pmghe7rh.js +0 -62
  540. package/web/chunk-ppfhtyxt.js +0 -1
  541. package/web/chunk-pze2v3v1.js +0 -2
  542. package/web/chunk-q6j2e8a1.js +0 -70
  543. package/web/chunk-q6jf3zc1.js +0 -1
  544. package/web/chunk-qdn3hmfy.js +0 -1
  545. package/web/chunk-qdsg8wp0.js +0 -1
  546. package/web/chunk-qf2kb7zj.js +0 -2
  547. package/web/chunk-sdtesqbb.js +0 -1
  548. package/web/chunk-t0z8ygx4.js +0 -1
  549. package/web/chunk-t5ke9cyg.js +0 -303
  550. package/web/chunk-t72z2ww3.js +0 -4
  551. package/web/chunk-vypfy030.js +0 -34
  552. package/web/chunk-w7cyrbk2.js +0 -1
  553. package/web/chunk-w9nkvcjr.js +0 -1
  554. package/web/chunk-x2f8bwd2.js +0 -1
  555. package/web/chunk-xq8x7dvr.js +0 -1
  556. package/web/chunk-xtss82z2.js +0 -1
  557. package/web/chunk-yeh77fvq.js +0 -2
  558. package/web/chunk-z5h046zm.js +0 -291
@@ -1,10 +1,10 @@
1
- import{t,a,X,u,d,N,x,yo,O,l,ge,ye}from"./chunk-t5ke9cyg.js";import{he}from"./chunk-66164wmv.js";import{ue}from"./chunk-k3ah0513.js";var _e=new Uint8Array(16);function ee(){return crypto.getRandomValues(_e)}var S=[];for(let e=0;e<256;++e)S.push((e+256).toString(16).slice(1));function de(e,i=0){return(S[e[i+0]]+S[e[i+1]]+S[e[i+2]]+S[e[i+3]]+"-"+S[e[i+4]]+S[e[i+5]]+"-"+S[e[i+6]]+S[e[i+7]]+"-"+S[e[i+8]]+S[e[i+9]]+"-"+S[e[i+10]]+S[e[i+11]]+S[e[i+12]]+S[e[i+13]]+S[e[i+14]]+S[e[i+15]]).toLowerCase()}function Se(e,i,p){if(!i&&!e&&crypto.randomUUID)return crypto.randomUUID();return xe(e,i,p)}function xe(e,i,p){e=e||{};let h=e.random??e.rng?.()??ee();if(h.length<16)throw Error("Random bytes length must be >= 16");if(h[6]=h[6]&15|64,h[8]=h[8]&63|128,i){if(p=p||0,p<0||p+16>i.length)throw RangeError(`UUID byte range ${p}:${p+15} is out of buffer bounds`);for(let n=0;n<16;++n)i[p+n]=h[n];return i}return de(h)}var te=Se;var ne=function(){var e=t(function(w,o,r,c){for(r=r||{},c=w.length;c--;r[w[c]]=o);return r},"o"),i=[1,4],p=[1,13],h=[1,12],n=[1,15],f=[1,16],k=[1,20],E=[1,19],L=[6,7,8],U=[1,26],M=[1,24],P=[1,25],m=[6,7,11],V=[1,6,13,15,16,19,22],ie=[1,33],re=[1,34],F=[1,6,7,11,13,15,16,19,22],Y={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:t(function(o,r,c,g,b,s,G){var y=s.length-1;switch(b){case 6:case 7:return g;case 8:g.getLogger().trace("Stop NL ");break;case 9:g.getLogger().trace("Stop EOF ");break;case 11:g.getLogger().trace("Stop NL2 ");break;case 12:g.getLogger().trace("Stop EOF2 ");break;case 15:g.getLogger().info("Node: ",s[y].id),g.addNode(s[y-1].length,s[y].id,s[y].descr,s[y].type);break;case 16:g.getLogger().trace("Icon: ",s[y]),g.decorateNode({icon:s[y]});break;case 17:case 21:g.decorateNode({class:s[y]});break;case 18:g.getLogger().trace("SPACELIST");break;case 19:g.getLogger().trace("Node: ",s[y].id),g.addNode(0,s[y].id,s[y].descr,s[y].type);break;case 20:g.decorateNode({icon:s[y]});break;case 25:g.getLogger().trace("node found ..",s[y-2]),this.$={id:s[y-1],descr:s[y-1],type:g.getType(s[y-2],s[y])};break;case 26:this.$={id:s[y],descr:s[y],type:g.nodeType.DEFAULT};break;case 27:g.getLogger().trace("node found ..",s[y-3]),this.$={id:s[y-3],descr:s[y-1],type:g.getType(s[y-2],s[y])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:i},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:i},{6:p,7:[1,10],9:9,12:11,13:h,14:14,15:n,16:f,17:17,18:18,19:k,22:E},e(L,[2,3]),{1:[2,2]},e(L,[2,4]),e(L,[2,5]),{1:[2,6],6:p,12:21,13:h,14:14,15:n,16:f,17:17,18:18,19:k,22:E},{6:p,9:22,12:11,13:h,14:14,15:n,16:f,17:17,18:18,19:k,22:E},{6:U,7:M,10:23,11:P},e(m,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:k,22:E}),e(m,[2,18]),e(m,[2,19]),e(m,[2,20]),e(m,[2,21]),e(m,[2,23]),e(m,[2,24]),e(m,[2,26],{19:[1,30]}),{20:[1,31]},{6:U,7:M,10:32,11:P},{1:[2,7],6:p,12:21,13:h,14:14,15:n,16:f,17:17,18:18,19:k,22:E},e(V,[2,14],{7:ie,11:re}),e(F,[2,8]),e(F,[2,9]),e(F,[2,10]),e(m,[2,15]),e(m,[2,16]),e(m,[2,17]),{20:[1,35]},{21:[1,36]},e(V,[2,13],{7:ie,11:re}),e(F,[2,11]),e(F,[2,12]),{21:[1,37]},e(m,[2,25]),e(m,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:t(function(o,r){if(r.recoverable)this.trace(o);else{var c=Error(o);throw c.hash=r,c}},"parseError"),parse:t(function(o){var r=this,c=[0],g=[],b=[null],s=[],G=this.table,y="",H=0,se=0,oe=0,me=2,ae=1,ke=s.slice.call(arguments,1),_=Object.create(this.lexer),R={yy:{}};for(var q in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,q))R.yy[q]=this.yy[q];if(_.setInput(o,R.yy),R.yy.lexer=_,R.yy.parser=this,typeof _.yylloc>"u")_.yylloc={};var J=_.yylloc;s.push(J);var be=_.options&&_.options.ranges;if(typeof R.yy.parseError==="function")this.parseError=R.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Ee(T){c.length=c.length-2*T,b.length=b.length-T,s.length=s.length-T}t(Ee,"popStack");function ce(){var T=g.pop()||_.lex()||ae;if(typeof T!=="number"){if(T instanceof Array)g=T,T=g.pop();T=r.symbols_[T]||T}return T}t(ce,"lex");var D,K,A,v,we,Q,B={},W,I,le,z;while(!0){if(A=c[c.length-1],this.defaultActions[A])v=this.defaultActions[A];else{if(D===null||typeof D>"u")D=ce();v=G[A]&&G[A][D]}if(typeof v>"u"||!v.length||!v[0]){var Z="";z=[];for(W in G[A])if(this.terminals_[W]&&W>me)z.push("'"+this.terminals_[W]+"'");if(_.showPosition)Z="Parse error on line "+(H+1)+`:
1
+ import{t,a,ce,p,m,B,S,il,U,u,Fe,ze}from"./chunk-fzmrnh17.js";import{Be}from"./chunk-pvahdcgy.js";import{Re}from"./chunk-ceg13tma.js";var ye=new Uint8Array(16);function Z(){return crypto.getRandomValues(ye)}var x=[];for(let e=0;e<256;++e)x.push((e+256).toString(16).slice(1));function he(e,i=0){return(x[e[i+0]]+x[e[i+1]]+x[e[i+2]]+x[e[i+3]]+"-"+x[e[i+4]]+x[e[i+5]]+"-"+x[e[i+6]]+x[e[i+7]]+"-"+x[e[i+8]]+x[e[i+9]]+"-"+x[e[i+10]]+x[e[i+11]]+x[e[i+12]]+x[e[i+13]]+x[e[i+14]]+x[e[i+15]]).toLowerCase()}function ke(e,i,d){if(!i&&!e&&crypto.randomUUID)return crypto.randomUUID();return be(e,i,d)}function be(e,i,d){e=e||{};let l=e.random??e.rng?.()??Z();if(l.length<16)throw Error("Random bytes length must be >= 16");if(l[6]=l[6]&15|64,l[8]=l[8]&63|128,i){if(d=d||0,d<0||d+16>i.length)throw RangeError(`UUID byte range ${d}:${d+15} is out of buffer bounds`);for(let n=0;n<16;++n)i[d+n]=l[n];return i}return he(l)}var ee=ke;var te=function(){var e=t(function(I,o,r,c){for(r=r||{},c=I.length;c--;r[I[c]]=o);return r},"o"),i=[1,4],d=[1,13],l=[1,12],n=[1,15],g=[1,16],k=[1,20],E=[1,19],N=[6,7,8],R=[1,26],M=[1,24],P=[1,25],f=[6,7,11],V=[1,6,13,15,16,19,22],ne=[1,33],ie=[1,34],F=[1,6,7,11,13,15,16,19,22],z={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:t(function(o,r,c,h,b,s,G){var y=s.length-1;switch(b){case 6:case 7:return h;case 8:h.getLogger().trace("Stop NL ");break;case 9:h.getLogger().trace("Stop EOF ");break;case 11:h.getLogger().trace("Stop NL2 ");break;case 12:h.getLogger().trace("Stop EOF2 ");break;case 15:h.getLogger().info("Node: ",s[y].id),h.addNode(s[y-1].length,s[y].id,s[y].descr,s[y].type);break;case 16:h.getLogger().trace("Icon: ",s[y]),h.decorateNode({icon:s[y]});break;case 17:case 21:h.decorateNode({class:s[y]});break;case 18:h.getLogger().trace("SPACELIST");break;case 19:h.getLogger().trace("Node: ",s[y].id),h.addNode(0,s[y].id,s[y].descr,s[y].type);break;case 20:h.decorateNode({icon:s[y]});break;case 25:h.getLogger().trace("node found ..",s[y-2]),this.$={id:s[y-1],descr:s[y-1],type:h.getType(s[y-2],s[y])};break;case 26:this.$={id:s[y],descr:s[y],type:h.nodeType.DEFAULT};break;case 27:h.getLogger().trace("node found ..",s[y-3]),this.$={id:s[y-3],descr:s[y-1],type:h.getType(s[y-2],s[y])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:i},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:i},{6:d,7:[1,10],9:9,12:11,13:l,14:14,15:n,16:g,17:17,18:18,19:k,22:E},e(N,[2,3]),{1:[2,2]},e(N,[2,4]),e(N,[2,5]),{1:[2,6],6:d,12:21,13:l,14:14,15:n,16:g,17:17,18:18,19:k,22:E},{6:d,9:22,12:11,13:l,14:14,15:n,16:g,17:17,18:18,19:k,22:E},{6:R,7:M,10:23,11:P},e(f,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:k,22:E}),e(f,[2,18]),e(f,[2,19]),e(f,[2,20]),e(f,[2,21]),e(f,[2,23]),e(f,[2,24]),e(f,[2,26],{19:[1,30]}),{20:[1,31]},{6:R,7:M,10:32,11:P},{1:[2,7],6:d,12:21,13:l,14:14,15:n,16:g,17:17,18:18,19:k,22:E},e(V,[2,14],{7:ne,11:ie}),e(F,[2,8]),e(F,[2,9]),e(F,[2,10]),e(f,[2,15]),e(f,[2,16]),e(f,[2,17]),{20:[1,35]},{21:[1,36]},e(V,[2,13],{7:ne,11:ie}),e(F,[2,11]),e(F,[2,12]),{21:[1,37]},e(f,[2,25]),e(f,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:t(function(o,r){if(r.recoverable)this.trace(o);else{var c=Error(o);throw c.hash=r,c}},"parseError"),parse:t(function(o){var r=this,c=[0],h=[],b=[null],s=[],G=this.table,y="",H=0,re=0,se=0,ue=2,oe=1,pe=s.slice.call(arguments,1),_=Object.create(this.lexer),C={yy:{}};for(var Y in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,Y))C.yy[Y]=this.yy[Y];if(_.setInput(o,C.yy),C.yy.lexer=_,C.yy.parser=this,typeof _.yylloc>"u")_.yylloc={};var q=_.yylloc;s.push(q);var fe=_.options&&_.options.ranges;if(typeof C.yy.parseError==="function")this.parseError=C.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function me(v){c.length=c.length-2*v,b.length=b.length-v,s.length=s.length-v}t(me,"popStack");function ae(){var v=h.pop()||_.lex()||oe;if(typeof v!=="number"){if(v instanceof Array)h=v,v=h.pop();v=r.symbols_[v]||v}return v}t(ae,"lex");var L,J,w,D,Te,K,A={},W,T,le,X;while(!0){if(w=c[c.length-1],this.defaultActions[w])D=this.defaultActions[w];else{if(L===null||typeof L>"u")L=ae();D=G[w]&&G[w][L]}if(typeof D>"u"||!D.length||!D[0]){var Q="";X=[];for(W in G[w])if(this.terminals_[W]&&W>ue)X.push("'"+this.terminals_[W]+"'");if(_.showPosition)Q="Parse error on line "+(H+1)+`:
2
2
  `+_.showPosition()+`
3
- Expecting `+z.join(", ")+", got '"+(this.terminals_[D]||D)+"'";else Z="Parse error on line "+(H+1)+": Unexpected "+(D==ae?"end of input":"'"+(this.terminals_[D]||D)+"'");this.parseError(Z,{text:_.match,token:this.terminals_[D]||D,line:_.yylineno,loc:J,expected:z})}if(v[0]instanceof Array&&v.length>1)throw Error("Parse Error: multiple actions possible at state: "+A+", token: "+D);switch(v[0]){case 1:if(c.push(D),b.push(_.yytext),s.push(_.yylloc),c.push(v[1]),D=null,!K){if(se=_.yyleng,y=_.yytext,H=_.yylineno,J=_.yylloc,oe>0)oe--}else D=K,K=null;break;case 2:if(I=this.productions_[v[1]][1],B.$=b[b.length-I],B._$={first_line:s[s.length-(I||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(I||1)].first_column,last_column:s[s.length-1].last_column},be)B._$.range=[s[s.length-(I||1)].range[0],s[s.length-1].range[1]];if(Q=this.performAction.apply(B,[y,se,H,R.yy,v[1],b,s].concat(ke)),typeof Q<"u")return Q;if(I)c=c.slice(0,-1*I*2),b=b.slice(0,-1*I),s=s.slice(0,-1*I);c.push(this.productions_[v[1]][0]),b.push(B.$),s.push(B._$),le=G[c[c.length-2]][c[c.length-1]],c.push(le);break;case 3:return!0}}return!0},"parse")},fe=function(){var w={EOF:1,parseError:t(function(r,c){if(this.yy.parser)this.yy.parser.parseError(r,c);else throw Error(r)},"parseError"),setInput:t(function(o,r){if(this.yy=r||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:t(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var r=o.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),o},"input"),unput:t(function(o){var r=o.length,c=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;var g=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1)this.yylineno-=c.length-1;var b=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===g.length?this.yylloc.first_column:0)+g[g.length-c.length].length-c[0].length:this.yylloc.first_column-r},this.options.ranges)this.yylloc.range=[b[0],b[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).
3
+ Expecting `+X.join(", ")+", got '"+(this.terminals_[L]||L)+"'";else Q="Parse error on line "+(H+1)+": Unexpected "+(L==oe?"end of input":"'"+(this.terminals_[L]||L)+"'");this.parseError(Q,{text:_.match,token:this.terminals_[L]||L,line:_.yylineno,loc:q,expected:X})}if(D[0]instanceof Array&&D.length>1)throw Error("Parse Error: multiple actions possible at state: "+w+", token: "+L);switch(D[0]){case 1:if(c.push(L),b.push(_.yytext),s.push(_.yylloc),c.push(D[1]),L=null,!J){if(re=_.yyleng,y=_.yytext,H=_.yylineno,q=_.yylloc,se>0)se--}else L=J,J=null;break;case 2:if(T=this.productions_[D[1]][1],A.$=b[b.length-T],A._$={first_line:s[s.length-(T||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(T||1)].first_column,last_column:s[s.length-1].last_column},fe)A._$.range=[s[s.length-(T||1)].range[0],s[s.length-1].range[1]];if(K=this.performAction.apply(A,[y,re,H,C.yy,D[1],b,s].concat(pe)),typeof K<"u")return K;if(T)c=c.slice(0,-1*T*2),b=b.slice(0,-1*T),s=s.slice(0,-1*T);c.push(this.productions_[D[1]][0]),b.push(A.$),s.push(A._$),le=G[c[c.length-2]][c[c.length-1]],c.push(le);break;case 3:return!0}}return!0},"parse")},ge=function(){var I={EOF:1,parseError:t(function(r,c){if(this.yy.parser)this.yy.parser.parseError(r,c);else throw Error(r)},"parseError"),setInput:t(function(o,r){if(this.yy=r||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:t(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var r=o.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),o},"input"),unput:t(function(o){var r=o.length,c=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;var h=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1)this.yylineno-=c.length-1;var b=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===h.length?this.yylloc.first_column:0)+h[h.length-c.length].length-c[0].length:this.yylloc.first_column-r},this.options.ranges)this.yylloc.range=[b[0],b[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
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(o){this.unput(this.match.slice(o))},"less"),pastInput:t(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var o=this.match;if(o.length<20)o+=this._input.substr(0,20-o.length);return(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var o=this.pastInput(),r=Array(o.length+1).join("-");return o+this.upcomingInput()+`
5
- `+r+"^"},"showPosition"),test_match:t(function(o,r){var c,g,b;if(this.options.backtrack_lexer){if(b={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)b.yylloc.range=this.yylloc.range.slice(0)}if(g=o[0].match(/(?:\r\n?|\n).*/g),g)this.yylineno+=g.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:g?g[g.length-1].length-g[g.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(o[0].length),this.matched+=o[0],c=this.performAction.call(this,this.yy,this,r,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(c)return c;else if(this._backtrack){for(var s in b)this[s]=b[s];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var o,r,c,g;if(!this._more)this.yytext="",this.match="";var b=this._currentRules();for(var s=0;s<b.length;s++)if(c=this._input.match(this.rules[b[s]]),c&&(!r||c[0].length>r[0].length)){if(r=c,g=s,this.options.backtrack_lexer)if(o=this.test_match(c,b[s]),o!==!1)return o;else if(this._backtrack){r=!1;continue}else return!1;else if(!this.options.flex)break}if(r){if(o=this.test_match(r,b[g]),o!==!1)return o;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
- `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var 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,c,g,b){var s=b;switch(g){case 0:return r.getLogger().trace("Found comment",c.yytext),6;break;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;break;case 4:this.popState();break;case 5:r.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return r.getLogger().trace("SPACELINE"),6;break;case 7:return 7;case 8:return 15;case 9:r.getLogger().trace("end icon"),this.popState();break;case 10:return r.getLogger().trace("Exploding node"),this.begin("NODE"),19;break;case 11:return r.getLogger().trace("Cloud"),this.begin("NODE"),19;break;case 12:return r.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;break;case 13:return r.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;break;case 14:return this.begin("NODE"),19;break;case 15:return this.begin("NODE"),19;break;case 16:return this.begin("NODE"),19;break;case 17:return this.begin("NODE"),19;break;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 23:this.popState();break;case 24:r.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return r.getLogger().trace("description:",c.yytext),"NODE_DESCR";break;case 26:this.popState();break;case 27:return this.popState(),r.getLogger().trace("node end ))"),"NODE_DEND";break;case 28:return this.popState(),r.getLogger().trace("node end )"),"NODE_DEND";break;case 29:return this.popState(),r.getLogger().trace("node end ...",c.yytext),"NODE_DEND";break;case 30:return this.popState(),r.getLogger().trace("node end (("),"NODE_DEND";break;case 31:return this.popState(),r.getLogger().trace("node end (-"),"NODE_DEND";break;case 32:return this.popState(),r.getLogger().trace("node end (-"),"NODE_DEND";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 r.getLogger().trace("Long description:",c.yytext),20;break;case 36:return r.getLogger().trace("Long description:",c.yytext),20;break}},"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\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:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}};return w}();Y.lexer=fe;function j(){this.yy={}}return t(j,"Parser"),j.prototype=Y,Y.Parser=j,new j}();ne.parser=ne;var Ne=ne,pe=12,C={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},Le=class{constructor(){this.nodes=[],this.count=0,this.elements={},this.getLogger=this.getLogger.bind(this),this.nodeType=C,this.clear(),this.getType=this.getType.bind(this),this.getElementById=this.getElementById.bind(this),this.getParent=this.getParent.bind(this),this.getMindmap=this.getMindmap.bind(this),this.addNode=this.addNode.bind(this),this.decorateNode=this.decorateNode.bind(this)}static{t(this,"MindmapDB")}clear(){this.nodes=[],this.count=0,this.elements={},this.baseLevel=void 0}getParent(e){for(let i=this.nodes.length-1;i>=0;i--)if(this.nodes[i].level<e)return this.nodes[i];return null}getMindmap(){return this.nodes.length>0?this.nodes[0]:null}addNode(e,i,p,h){a.info("addNode",e,i,p,h);let n=!1;if(this.nodes.length===0)this.baseLevel=e,e=0,n=!0;else if(this.baseLevel!==void 0)e=e-this.baseLevel,n=!1;let f=l(),k=f.mindmap?.padding??N.mindmap.padding;switch(h){case this.nodeType.ROUNDED_RECT:case this.nodeType.RECT:case this.nodeType.HEXAGON:k*=2;break}let E={id:this.count++,nodeId:O(i,f),level:e,descr:O(p,f),type:h,children:[],width:f.mindmap?.maxNodeWidth??N.mindmap.maxNodeWidth,padding:k,isRoot:n},L=this.getParent(e);if(L)L.children.push(E),this.nodes.push(E);else if(n)this.nodes.push(E);else throw Error(`There can be only one root. No parent could be found for ("${E.descr}")`)}getType(e,i){switch(a.debug("In get type",e,i),e){case"[":return this.nodeType.RECT;case"(":return i===")"?this.nodeType.ROUNDED_RECT:this.nodeType.CLOUD;case"((":return this.nodeType.CIRCLE;case")":return this.nodeType.CLOUD;case"))":return this.nodeType.BANG;case"{{":return this.nodeType.HEXAGON;default:return this.nodeType.DEFAULT}}setElementForId(e,i){this.elements[e]=i}getElementById(e){return this.elements[e]}decorateNode(e){if(!e)return;let i=l(),p=this.nodes[this.nodes.length-1];if(e.icon)p.icon=O(e.icon,i);if(e.class)p.class=O(e.class,i)}type2Str(e){switch(e){case this.nodeType.DEFAULT:return"no-border";case this.nodeType.RECT:return"rect";case this.nodeType.ROUNDED_RECT:return"rounded-rect";case this.nodeType.CIRCLE:return"circle";case this.nodeType.CLOUD:return"cloud";case this.nodeType.BANG:return"bang";case this.nodeType.HEXAGON:return"hexgon";default:return"no-border"}}assignSections(e,i,p=0,h=!1){if(e.level===0)e.section=void 0;else e.section=h?(p-1)%(pe-1):i;if(e.children)for(let[n,f]of e.children.entries()){let k=e.level===0?n%(pe-1):i;this.assignSections(f,k,p+1,h)}}flattenNodes(e,i){let p=l(),h=["mindmap-node"];if(e.isRoot===!0)h.push("section-root","section--1");else if(e.section!==void 0)h.push(`section-${e.section}`);if(e.class)h.push(e.class);let n=h.join(" "),f=t((E)=>{let U=(p.theme?.toLowerCase()??"").includes("redux");switch(E){case C.CIRCLE:return"mindmapCircle";case C.RECT:return"rect";case C.ROUNDED_RECT:return"rounded";case C.CLOUD:return"cloud";case C.BANG:return"bang";case C.HEXAGON:return"hexagon";case C.DEFAULT:return U?"rounded":"defaultMindmapNode";case C.NO_BORDER:default:return"rect"}},"getShapeFromType"),k={id:e.id.toString(),domId:"node_"+e.id.toString(),label:e.descr,labelType:"markdown",isGroup:!1,shape:f(e.type),width:e.width,height:e.height??0,padding:e.padding,cssClasses:n,cssStyles:[],centerLabel:!0,look:p.look,icon:e.icon,x:e.x,y:e.y,level:e.level,nodeId:e.nodeId,type:e.type,section:e.section};if(i.push(k),e.children)for(let E of e.children)this.flattenNodes(E,i)}generateEdges(e,i){if(!e.children)return;let p=l();for(let h of e.children){let n="edge";if(h.section!==void 0)n+=` section-edge-${h.section}`;let f=e.level+1;n+=` edge-depth-${f}`;let k={id:`edge_${e.id}_${h.id}`,start:e.id.toString(),end:h.id.toString(),type:"normal",curve:"basis",thickness:"normal",look:p.look,classes:n,depth:e.level,section:h.section};i.push(k),this.generateEdges(h,i)}}getData(){let e=this.getMindmap(),i=l(),h=yo().layout!==void 0,n=i;if(!h)n.layout="cose-bilkent";if(!e)return{nodes:[],edges:[],config:n};a.debug("getData: mindmapRoot",e,i),this.assignSections(e,void 0,0,i.mindmap?.colorBy==="depth");let f=[],k=[];this.flattenNodes(e,f),this.generateEdges(e,k),a.debug(`getData: processed ${f.length} nodes and ${k.length} edges`);let E=new Map;for(let L of f)E.set(L.id,{shape:L.shape,width:L.width,height:L.height,padding:L.padding});return{nodes:f,edges:k,config:n,rootNode:e,markers:["point"],direction:"TB",nodeSpacing:50,rankSpacing:50,shapes:Object.fromEntries(E),type:"mindmap",diagramId:"mindmap-"+te()}}getLogger(){return a}},De=t(async(e,i,p,h)=>{a.debug(`Rendering mindmap diagram
7
- `+e);let n=h.db,f=n.getData(),k=he(i,f.config.securityLevel);if(f.type=h.type,f.layoutAlgorithm=ye(f.config.layout,{fallback:"cose-bilkent"}),f.diagramId=i,!n.getMindmap())return;f.nodes.forEach((m)=>{if(m.shape==="rounded")m.radius=15,m.taper=15,m.stroke="none",m.width=0,m.padding=15;else if(m.shape==="circle")m.padding=10;else if(m.shape==="rect")m.width=0,m.padding=10;else if(m.shape==="hexagon")m.width=0,m.height=0}),await ge(f,k);let{themeVariables:L}=x(),{useGradient:U,gradientStart:M,gradientStop:P}=L;if(U&&M&&P){let m=k.attr("id"),V=k.append("defs").append("linearGradient").attr("id",`${m}-gradient`).attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");V.append("stop").attr("offset","0%").attr("stop-color",M).attr("stop-opacity",1),V.append("stop").attr("offset","100%").attr("stop-color",P).attr("stop-opacity",1)}ue(k,f.config.mindmap?.padding??N.mindmap.padding,"mindmapDiagram",f.config.mindmap?.useMaxWidth??N.mindmap.useMaxWidth)},"draw"),ve={draw:De},Te=t((e)=>{let{theme:i,look:p}=e,h="";for(let n=0;n<e.THEME_COLOR_LIMIT;n++)if(e["lineColor"+n]=e["lineColor"+n]||e["cScaleInv"+n],X(e["lineColor"+n]))e["lineColor"+n]=u(e["lineColor"+n],20);else e["lineColor"+n]=d(e["lineColor"+n],20);for(let n=0;n<e.THEME_COLOR_LIMIT;n++){let f=""+(p==="neo"?Math.max(10-(n-1)*2,2):17-3*n),k=i==="redux"||i==="redux-dark"?e.nodeBorder:e["cScaleLabel"+(i==="neutral"?1:n)];h+=`
5
+ `+r+"^"},"showPosition"),test_match:t(function(o,r){var c,h,b;if(this.options.backtrack_lexer){if(b={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)b.yylloc.range=this.yylloc.range.slice(0)}if(h=o[0].match(/(?:\r\n?|\n).*/g),h)this.yylineno+=h.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:h?h[h.length-1].length-h[h.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(o[0].length),this.matched+=o[0],c=this.performAction.call(this,this.yy,this,r,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(c)return c;else if(this._backtrack){for(var s in b)this[s]=b[s];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var o,r,c,h;if(!this._more)this.yytext="",this.match="";var b=this._currentRules();for(var s=0;s<b.length;s++)if(c=this._input.match(this.rules[b[s]]),c&&(!r||c[0].length>r[0].length)){if(r=c,h=s,this.options.backtrack_lexer)if(o=this.test_match(c,b[s]),o!==!1)return o;else if(this._backtrack){r=!1;continue}else return!1;else if(!this.options.flex)break}if(r){if(o=this.test_match(r,b[h]),o!==!1)return o;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var 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,c,h,b){var s=b;switch(h){case 0:return r.getLogger().trace("Found comment",c.yytext),6;break;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;break;case 4:this.popState();break;case 5:r.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return r.getLogger().trace("SPACELINE"),6;break;case 7:return 7;case 8:return 15;case 9:r.getLogger().trace("end icon"),this.popState();break;case 10:return r.getLogger().trace("Exploding node"),this.begin("NODE"),19;break;case 11:return r.getLogger().trace("Cloud"),this.begin("NODE"),19;break;case 12:return r.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;break;case 13:return r.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;break;case 14:return this.begin("NODE"),19;break;case 15:return this.begin("NODE"),19;break;case 16:return this.begin("NODE"),19;break;case 17:return this.begin("NODE"),19;break;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 23:this.popState();break;case 24:r.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return r.getLogger().trace("description:",c.yytext),"NODE_DESCR";break;case 26:this.popState();break;case 27:return this.popState(),r.getLogger().trace("node end ))"),"NODE_DEND";break;case 28:return this.popState(),r.getLogger().trace("node end )"),"NODE_DEND";break;case 29:return this.popState(),r.getLogger().trace("node end ...",c.yytext),"NODE_DEND";break;case 30:return this.popState(),r.getLogger().trace("node end (("),"NODE_DEND";break;case 31:return this.popState(),r.getLogger().trace("node end (-"),"NODE_DEND";break;case 32:return this.popState(),r.getLogger().trace("node end (-"),"NODE_DEND";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 r.getLogger().trace("Long description:",c.yytext),20;break;case 36:return r.getLogger().trace("Long description:",c.yytext),20;break}},"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\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:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}};return I}();z.lexer=ge;function j(){this.yy={}}return t(j,"Parser"),j.prototype=z,z.Parser=j,new j}();te.parser=te;var Ee=te,de=12,O={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},_e=class{constructor(){this.nodes=[],this.count=0,this.elements={},this.getLogger=this.getLogger.bind(this),this.nodeType=O,this.clear(),this.getType=this.getType.bind(this),this.getElementById=this.getElementById.bind(this),this.getParent=this.getParent.bind(this),this.getMindmap=this.getMindmap.bind(this),this.addNode=this.addNode.bind(this),this.decorateNode=this.decorateNode.bind(this)}static{t(this,"MindmapDB")}clear(){this.nodes=[],this.count=0,this.elements={},this.baseLevel=void 0}getParent(e){for(let i=this.nodes.length-1;i>=0;i--)if(this.nodes[i].level<e)return this.nodes[i];return null}getMindmap(){return this.nodes.length>0?this.nodes[0]:null}addNode(e,i,d,l){a.info("addNode",e,i,d,l);let n=!1;if(this.nodes.length===0)this.baseLevel=e,e=0,n=!0;else if(this.baseLevel!==void 0)e=e-this.baseLevel,n=!1;let g=u(),k=g.mindmap?.padding??B.mindmap.padding;switch(l){case this.nodeType.ROUNDED_RECT:case this.nodeType.RECT:case this.nodeType.HEXAGON:k*=2;break}let E={id:this.count++,nodeId:U(i,g),level:e,descr:U(d,g),type:l,children:[],width:g.mindmap?.maxNodeWidth??B.mindmap.maxNodeWidth,padding:k,isRoot:n},N=this.getParent(e);if(N)N.children.push(E),this.nodes.push(E);else if(n)this.nodes.push(E);else throw Error(`There can be only one root. No parent could be found for ("${E.descr}")`)}getType(e,i){switch(a.debug("In get type",e,i),e){case"[":return this.nodeType.RECT;case"(":return i===")"?this.nodeType.ROUNDED_RECT:this.nodeType.CLOUD;case"((":return this.nodeType.CIRCLE;case")":return this.nodeType.CLOUD;case"))":return this.nodeType.BANG;case"{{":return this.nodeType.HEXAGON;default:return this.nodeType.DEFAULT}}setElementForId(e,i){this.elements[e]=i}getElementById(e){return this.elements[e]}decorateNode(e){if(!e)return;let i=u(),d=this.nodes[this.nodes.length-1];if(e.icon)d.icon=U(e.icon,i);if(e.class)d.class=U(e.class,i)}type2Str(e){switch(e){case this.nodeType.DEFAULT:return"no-border";case this.nodeType.RECT:return"rect";case this.nodeType.ROUNDED_RECT:return"rounded-rect";case this.nodeType.CIRCLE:return"circle";case this.nodeType.CLOUD:return"cloud";case this.nodeType.BANG:return"bang";case this.nodeType.HEXAGON:return"hexgon";default:return"no-border"}}assignSections(e,i,d=0,l=!1){if(e.level===0)e.section=void 0;else e.section=l?(d-1)%(de-1):i;if(e.children)for(let[n,g]of e.children.entries()){let k=e.level===0?n%(de-1):i;this.assignSections(g,k,d+1,l)}}flattenNodes(e,i){let d=u(),l=["mindmap-node"];if(e.isRoot===!0)l.push("section-root","section--1");else if(e.section!==void 0)l.push(`section-${e.section}`);if(e.class)l.push(e.class);let n=l.join(" "),g=t((E)=>{let R=(d.theme?.toLowerCase()??"").includes("redux");switch(E){case O.CIRCLE:return"mindmapCircle";case O.RECT:return"rect";case O.ROUNDED_RECT:return"rounded";case O.CLOUD:return"cloud";case O.BANG:return"bang";case O.HEXAGON:return"hexagon";case O.DEFAULT:return R?"rounded":"defaultMindmapNode";case O.NO_BORDER:default:return"rect"}},"getShapeFromType"),k={id:e.id.toString(),domId:"node_"+e.id.toString(),label:e.descr,labelType:"markdown",isGroup:!1,shape:g(e.type),width:e.width,height:e.height??0,padding:e.padding,cssClasses:n,cssStyles:[],centerLabel:!0,look:d.look,icon:e.icon,x:e.x,y:e.y,level:e.level,nodeId:e.nodeId,type:e.type,section:e.section};if(i.push(k),e.children)for(let E of e.children)this.flattenNodes(E,i)}generateEdges(e,i){if(!e.children)return;let d=u();for(let l of e.children){let n="edge";if(l.section!==void 0)n+=` section-edge-${l.section}`;let g=e.level+1;n+=` edge-depth-${g}`;let k={id:`edge_${e.id}_${l.id}`,start:e.id.toString(),end:l.id.toString(),type:"normal",curve:"basis",thickness:"normal",look:d.look,classes:n,depth:e.level,section:l.section};i.push(k),this.generateEdges(l,i)}}getData(){let e=this.getMindmap(),i=u(),l=il().layout!==void 0,n=i;if(!l)n.layout="cose-bilkent";if(!e)return{nodes:[],edges:[],config:n};a.debug("getData: mindmapRoot",e,i),this.assignSections(e,void 0,0,i.mindmap?.colorBy==="depth");let g=[],k=[];this.flattenNodes(e,g),this.generateEdges(e,k),a.debug(`getData: processed ${g.length} nodes and ${k.length} edges`);let E=new Map;for(let N of g)E.set(N.id,{shape:N.shape,width:N.width,height:N.height,padding:N.padding});return{nodes:g,edges:k,config:n,rootNode:e,markers:["point"],direction:"TB",nodeSpacing:50,rankSpacing:50,shapes:Object.fromEntries(E),type:"mindmap",diagramId:"mindmap-"+ee()}}getLogger(){return a}},Se=t(async(e,i,d,l)=>{a.debug(`Rendering mindmap diagram
7
+ `+e);let n=l.db,g=n.getData(),k=Be(i,g.config.securityLevel);if(g.type=l.type,g.layoutAlgorithm=ze(g.config.layout,{fallback:"cose-bilkent"}),g.diagramId=i,!n.getMindmap())return;g.nodes.forEach((f)=>{if(f.shape==="rounded")f.radius=15,f.taper=15,f.stroke="none",f.width=0,f.padding=15;else if(f.shape==="circle")f.padding=10;else if(f.shape==="rect")f.width=0,f.padding=10;else if(f.shape==="hexagon")f.width=0,f.height=0}),await Fe(g,k);let{themeVariables:N}=S(),{useGradient:R,gradientStart:M,gradientStop:P}=N;if(R&&M&&P){let f=k.attr("id"),V=k.append("defs").append("linearGradient").attr("id",`${f}-gradient`).attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");V.append("stop").attr("offset","0%").attr("stop-color",M).attr("stop-opacity",1),V.append("stop").attr("offset","100%").attr("stop-color",P).attr("stop-opacity",1)}Re(k,g.config.mindmap?.padding??B.mindmap.padding,"mindmapDiagram",g.config.mindmap?.useMaxWidth??B.mindmap.useMaxWidth)},"draw"),xe={draw:Se},Ne=t((e)=>{let{theme:i,look:d}=e,l="";for(let n=0;n<e.THEME_COLOR_LIMIT;n++)if(e["lineColor"+n]=e["lineColor"+n]||e["cScaleInv"+n],ce(e["lineColor"+n]))e["lineColor"+n]=p(e["lineColor"+n],20);else e["lineColor"+n]=m(e["lineColor"+n],20);for(let n=0;n<e.THEME_COLOR_LIMIT;n++){let g=""+(d==="neo"?Math.max(10-(n-1)*2,2):17-3*n),k=i==="redux"||i==="redux-dark"?e.nodeBorder:e["cScaleLabel"+(i==="neutral"?1:n)];l+=`
8
8
  .section-${n-1} rect, .section-${n-1} path, .section-${n-1} circle, .section-${n-1} polygon, .section-${n-1} path {
9
9
  fill: ${e["cScale"+n]};
10
10
  }
@@ -22,7 +22,7 @@ Expecting `+z.join(", ")+", got '"+(this.terminals_[D]||D)+"'";else Z="Parse err
22
22
  stroke: ${e["cScale"+n]};
23
23
  }
24
24
  .edge-depth-${n-1}{
25
- stroke-width: ${f};
25
+ stroke-width: ${g};
26
26
  }
27
27
  .section-${n-1} line {
28
28
  stroke: ${e["cScaleInv"+n]} ;
@@ -47,18 +47,18 @@ Expecting `+z.join(", ")+", got '"+(this.terminals_[D]||D)+"'";else Z="Parse err
47
47
  fill: ${k};
48
48
  color: ${k};
49
49
  }
50
- `}return h},"genSections"),Oe=t((e,i,p)=>{let h="";for(let n=0;n<e;n++)h+=`
50
+ `}return l},"genSections"),Le=t((e,i,d)=>{let l="";for(let n=0;n<e;n++)l+=`
51
51
  [data-look="neo"].mindmap-node.section-${n-1} rect, [data-look="neo"].mindmap-node.section-${n-1} path, [data-look="neo"].mindmap-node.section-${n-1} circle, [data-look="neo"].mindmap-node.section-${n-1} polygon {
52
52
  stroke: url(${i}-gradient);
53
- fill: ${p};
53
+ fill: ${d};
54
54
  }
55
55
  .section-${n-1} line {
56
56
  stroke-width: 0;
57
- }`;return h},"genGradient"),Ie=t((e)=>{let{theme:i}=e,p=e.svgId,h=i?.includes("redux")?e.nodeBorder:e["cScaleLabel"+(i==="neutral"?1:0)],n=e.dropShadow?e.dropShadow.replace("url(#drop-shadow)",`url(${p}-drop-shadow)`):"none";return`
57
+ }`;return l},"genGradient"),De=t((e)=>{let{theme:i}=e,d=e.svgId,l=i?.includes("redux")?e.nodeBorder:e["cScaleLabel"+(i==="neutral"?1:0)],n=e.dropShadow?e.dropShadow.replace("url(#drop-shadow)",`url(${d}-drop-shadow)`):"none";return`
58
58
  .edge {
59
59
  stroke-width: 3;
60
60
  }
61
- ${Te(e)}
61
+ ${Ne(e)}
62
62
  .section-root rect, .section-root path, .section-root circle, .section-root polygon {
63
63
  fill: ${e.git0};
64
64
  }
@@ -91,8 +91,8 @@ Expecting `+z.join(", ")+", got '"+(this.terminals_[D]||D)+"'";else Z="Parse err
91
91
  fill: ${i?.includes("redux")?e.mainBkg:e.git0};
92
92
  }
93
93
  [data-look="neo"].mindmap-node.section-root .text-inner-tspan, [data-look="neo"].mindmap-node.section-root span {
94
- fill: ${h};
95
- color: ${h};
94
+ fill: ${l};
95
+ color: ${l};
96
96
  }
97
- ${e.useGradient&&p&&e.mainBkg?Oe(e.THEME_COLOR_LIMIT,p,e.mainBkg):""}
98
- `},"getStyles"),Ce=Ie,It={get db(){return new Le},renderer:ve,parser:Ne,styles:Ce};export{It as diagram};
97
+ ${e.useGradient&&d&&e.mainBkg?Le(e.THEME_COLOR_LIMIT,d,e.mainBkg):""}
98
+ `},"getStyles"),ve=De,It={get db(){return new _e},renderer:xe,parser:Ee,styles:ve};export{It as diagram};
Binary file
Binary file
@@ -1 +1 @@
1
- import{h,o,i,r,m,e,n,y,rn,ne}from"./chunk-jy448465.js";import{Fr,zr,Ur}from"./chunk-2tm4xe0j.js";var te={global:"全局",project:"项目",custom:"自定义",builtin:"内置"};function F({skill:s,issue:x,connection:v}){let{Button:E,CopyButton:C,style:u,useTheme:R}=y();R();let[l,k]=r(),[L,P]=r(),[f,O]=r(0);return o(()=>{let p=!0;P(void 0),k(void 0);let b=new URLSearchParams;if(s.projectID)b.set("projectID",s.projectID);if(s.location)b.set("location",s.location);let S=b.toString()?`?${b.toString()}`:"";return Promise.all([v.request(`/api/skills/${encodeURIComponent(s.name)}/content${S}`),v.request(`/api/skills/${encodeURIComponent(s.name)}/files${S}`)]).then(([g,D])=>{if(p)k({text:g.text,files:D.files})}).catch((g)=>{if(p)P(g instanceof Error?g.message:"读取失败")}),()=>{p=!1}},[v,s.name,s.projectID,s.location,f]),n("div",{className:"min-w-0 space-y-5 text-sm text-ink",children:[e("p",{className:"whitespace-pre-wrap break-words [overflow-wrap:anywhere] text-dim",children:s.description||"暂无描述"}),n("div",{children:[n("p",{className:"break-all text-xs text-dim",children:[te[s.scope],s.projectName?` · ${s.projectName}`:""]}),n("div",{className:"mt-1 flex min-w-0 items-center gap-2",children:[e("code",{className:u("markdown.inlineCode","min-w-0 flex-1 break-all text-xs"),children:s.location}),e(C,{text:s.location,label:"复制完整路径",className:"size-10"})]})]}),n("ul",{className:"space-y-1 break-words text-xs text-dim",children:[e("li",{children:"启用状态按名称生效,影响所有同名技能的新会话可用性。"}),s.disableModelInvocation&&e("li",{children:"仅手动:可由用户调用,不向模型自动提供。"}),s.platforms&&n("li",{children:["平台限制:",s.platforms.join("、")]}),s.disabled&&e("li",{children:"已禁用:不会提供给新会话。"}),x?.overriddenBy&&n("li",{className:"break-all",children:["被覆盖:同名技能优先使用 ",x.overriddenBy]})]}),s.commands?.length?n("div",{children:[e("h3",{className:"font-medium",children:"bin 命令"}),e("p",{className:"mt-1 text-xs text-dim",children:"技能目录中的可执行命令。"}),e("ul",{className:"mt-2 space-y-1 font-mono text-xs",children:s.commands.map((p)=>e("li",{className:"break-all",children:p},p))})]}):null,L?n("div",{role:"alert",className:"space-y-2",children:[n("p",{className:"break-words text-danger",children:["读取失败:",L]}),e(E,{className:"h-10",onClick:()=>O(f+1),children:"重试"})]}):!l?e("p",{role:"status",className:"text-dim",children:"正在读取文件…"}):n(m,{children:[n("section",{children:[n("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[e("h3",{className:"font-medium",children:"SKILL.md 原文"}),e(C,{text:l.text,label:"复制 SKILL.md 原文",className:"size-10"})]}),n("p",{className:"mb-2 text-xs text-faint",children:[l.text.length.toLocaleString()," 字符 · 约 ",Math.ceil(l.text.length/4).toLocaleString()," ","tokens(估算)"]}),e("pre",{className:u("surface.subtle",u("chat.toolOutput"),"rounded-lg bg-raised p-3 text-xs leading-5 break-all"),children:l.text})]}),n("section",{children:[n("h3",{className:"font-medium",children:["目录文件 · ",l.files.length,l.files.length===200?"(最多显示 200 个)":""]}),e("ul",{className:"mt-2 space-y-1 font-mono text-xs text-dim",children:l.files.map((p)=>e("li",{className:"break-all",children:p},p))})]})]})]})}var A="all",G="non-project";function ue({connection:s}){let{Button:x,Select:v,Dialog:E,CatalogRow:C,style:u,useTheme:R}=y();R();let[l,k]=r([]),[L,P]=r([]),[f,O]=r(A),[p,b]=r([]),[S,g]=r(),[D,H]=r(""),[w,B]=r(),[N,q]=r(!0),[K,z]=r(),[W,Q]=r(),d=i(0),I=i(!1),j=h(async(t=!1)=>{let a=++d.current;I.current=!0,q(!0);try{if(t)await s.request("/api/skills/rescan",{method:"POST"});let[c,U,T]=await Promise.all([s.request("/api/skills?all=true"),s.request("/api/skills/settings"),s.request("/api/projects")]);if(a!==d.current)return;k(c.skills),P(T),b(c.issues),g(U),Q(new Date),z(void 0)}catch(c){if(a===d.current)z(c instanceof Error?c.message:"读取失败")}finally{if(a===d.current)I.current=!1,q(!1)}},[s]);o(()=>(j(),()=>{d.current++}),[j]);async function V(t){if(I.current)return;I.current=!0;let a=++d.current;q(!0);try{let c=await s.request("/api/skills/settings",{method:"PATCH",headers:{"content-type":"application/json"},body:JSON.stringify(t)});if(a!==d.current)return;g(c),await j()}catch(c){if(a!==d.current)return;z(c instanceof Error?c.message:"保存设置失败"),I.current=!1,q(!1)}}let X=D.trim().toLocaleLowerCase(),Y=L.filter((t)=>l.some((a)=>a.projectID===t.id)),J=f===A?l:l.filter((t)=>{if(t.scope!=="project")return!0;return f!==G&&t.projectID===f}),M=J.filter((t)=>`${t.name} ${t.description??""}`.toLocaleLowerCase().includes(X)),_=(t)=>p.find((a)=>a.kind==="overridden"&&(a.path==="<built-in>"?t.scope==="builtin":a.path.replace(/\\/g,"/")===`${t.location.replace(/\\/g,"/")}/SKILL.md`));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:u("settings.groupTitle"),children:"技能"}),e("p",{"aria-live":"polite",className:u("settings.groupDesc"),children:W&&`找到 ${J.length} 个 · ${W.toLocaleTimeString("zh-CN",{hour12:!1})}`})]}),n("div",{className:"flex flex-wrap items-center justify-end gap-2",children:[e(v,{value:f,disabled:N,onValueChange:(t)=>{B(void 0),O(t)},groups:[{options:[{value:A,label:"全部来源"},{value:G,label:"非项目技能"}]},...Fr(Y)],className:"w-44"}),n(x,{variant:"ghost",disabled:N,onClick:()=>j(!0),className:"h-9 px-2.5 text-xs",children:[e(ne,{className:`size-3.5 ${N?"animate-spin":""}`}),e("span",{className:"ml-1",children:"重新扫描"})]})]})]}),K&&n("div",{role:"alert",className:"mb-3 flex flex-wrap items-center gap-2 rounded-xl border border-line p-3",children:[n("p",{className:"min-w-0 flex-1 break-words text-sm text-danger",children:["无法更新技能:",K]}),e(x,{disabled:N,onClick:()=>j(),children:"重试"})]}),e(zr,{label:"搜索技能",placeholder:"搜索技能",value:D,onChange:H}),e("div",{className:u("settings.groupBox"),children:N&&!l.length?e(Ur,{}):M.length===0?e("p",{className:"p-4 text-sm text-dim",children:"没有找到匹配的技能"}):e("ul",{className:"divide-y divide-line",children:M.map((t)=>{let a=_(t),c=t.disabled;return e("li",{children:e(C,{name:t.name,selectLabel:`查看技能 ${t.name}`,onSelect:()=>B(t),description:t.description,inactive:c,aside:n(m,{children:[a&&n("span",{className:"flex items-center gap-1 text-xs text-warning",children:[e(rn,{className:"size-3.5"}),"被覆盖"]}),e("span",{className:u("control.badge"),children:t.scope==="project"?"项目":t.scope==="builtin"?"内置":"全局"})]}),toggle:{checked:!c,label:`启用技能 ${t.name}`,disabled:N,onCheckedChange:(U)=>{if(!S)return;let T=S.disabled??[],Z=U?T.filter((ee)=>ee!==t.name):[...T,t.name];V({...S,disabled:Z})}}})},`${t.scope}:${t.projectID??""}:${t.name}`)})})})]}),e(E,{open:Boolean(w),onOpenChange:(t)=>{if(!t)B(void 0)},title:w?.name??"",size:"lg",footer:e("div",{className:"flex w-full justify-end",children:e(x,{variant:"primary",onClick:()=>B(void 0),children:"关闭"})}),children:w&&e(F,{skill:w,issue:_(w),connection:s})})]})}export{ue as SkillsSection};
1
+ import{y,o,i,r,h,e,n,x,er,ye}from"./chunk-fba06jm8.js";import{si,li,ci}from"./chunk-74g3wh08.js";var te={global:"全局",project:"项目",custom:"自定义",builtin:"内置"};function F({skill:s,issue:g,connection:v}){let{Button:E,CopyButton:C,style:m,useTheme:R}=x();R();let[l,k]=r(),[L,P]=r(),[d,O]=r(0);return o(()=>{let p=!0;P(void 0),k(void 0);let b=new URLSearchParams;if(s.projectID)b.set("projectID",s.projectID);if(s.location)b.set("location",s.location);let S=b.toString()?`?${b.toString()}`:"";return Promise.all([v.request(`/api/skills/${encodeURIComponent(s.name)}/content${S}`),v.request(`/api/skills/${encodeURIComponent(s.name)}/files${S}`)]).then(([f,D])=>{if(p)k({text:f.text,files:D.files})}).catch((f)=>{if(p)P(f instanceof Error?f.message:"读取失败")}),()=>{p=!1}},[v,s.name,s.projectID,s.location,d]),n("div",{className:"min-w-0 space-y-5 text-sm text-ink",children:[e("p",{className:"whitespace-pre-wrap break-words [overflow-wrap:anywhere] text-dim",children:s.description||"暂无描述"}),n("div",{children:[n("p",{className:"break-all text-xs text-dim",children:[te[s.scope],s.projectName?` · ${s.projectName}`:""]}),n("div",{className:"mt-1 flex min-w-0 items-center gap-2",children:[e("code",{className:m("markdown.inlineCode","min-w-0 flex-1 break-all text-xs"),children:s.location}),e(C,{text:s.location,label:"复制完整路径",className:"size-10"})]})]}),n("ul",{className:"space-y-1 break-words text-xs text-dim",children:[e("li",{children:"启用状态按名称生效,影响所有同名技能的新会话可用性。"}),s.disableModelInvocation&&e("li",{children:"仅手动:可由用户调用,不向模型自动提供。"}),s.platforms&&n("li",{children:["平台限制:",s.platforms.join("、")]}),s.disabled&&e("li",{children:"已禁用:不会提供给新会话。"}),g?.overriddenBy&&n("li",{className:"break-all",children:["被覆盖:同名技能优先使用 ",g.overriddenBy]})]}),s.commands?.length?n("div",{children:[e("h3",{className:"font-medium",children:"bin 命令"}),e("p",{className:"mt-1 text-xs text-dim",children:"技能目录中的可执行命令。"}),e("ul",{className:"mt-2 space-y-1 font-mono text-xs",children:s.commands.map((p)=>e("li",{className:"break-all",children:p},p))})]}):null,L?n("div",{role:"alert",className:"space-y-2",children:[n("p",{className:"break-words text-danger",children:["读取失败:",L]}),e(E,{className:"h-10",onClick:()=>O(d+1),children:"重试"})]}):!l?e("p",{role:"status",className:"text-dim",children:"正在读取文件…"}):n(h,{children:[n("section",{children:[n("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[e("h3",{className:"font-medium",children:"SKILL.md 原文"}),e(C,{text:l.text,label:"复制 SKILL.md 原文",className:"size-10"})]}),n("p",{className:"mb-2 text-xs text-faint",children:[l.text.length.toLocaleString()," 字符 · 约 ",Math.ceil(l.text.length/4).toLocaleString()," ","tokens(估算)"]}),e("pre",{className:m("surface.subtle",m("chat.toolOutput"),"rounded-lg bg-raised p-3 text-xs leading-5 break-all"),children:l.text})]}),n("section",{children:[n("h3",{className:"font-medium",children:["目录文件 · ",l.files.length,l.files.length===200?"(最多显示 200 个)":""]}),e("ul",{className:"mt-2 space-y-1 font-mono text-xs text-dim",children:l.files.map((p)=>e("li",{className:"break-all",children:p},p))})]})]})]})}var A="all",G="non-project";function me({connection:s}){let{Button:g,Select:v,Dialog:E,CatalogRow:C,style:m,useTheme:R}=x();R();let[l,k]=r([]),[L,P]=r([]),[d,O]=r(A),[p,b]=r([]),[S,f]=r(),[D,H]=r(""),[w,B]=r(),[N,q]=r(!0),[K,z]=r(),[W,Q]=r(),u=i(0),I=i(!1),j=y(async(t=!1)=>{let a=++u.current;I.current=!0,q(!0);try{if(t)await s.request("/api/skills/rescan",{method:"POST"});let[c,U,T]=await Promise.all([s.request("/api/skills?all=true"),s.request("/api/skills/settings"),s.request("/api/projects")]);if(a!==u.current)return;k(c.skills),P(T),b(c.issues),f(U),Q(new Date),z(void 0)}catch(c){if(a===u.current)z(c instanceof Error?c.message:"读取失败")}finally{if(a===u.current)I.current=!1,q(!1)}},[s]);o(()=>(j(),()=>{u.current++}),[j]);async function V(t){if(I.current)return;I.current=!0;let a=++u.current;q(!0);try{let c=await s.request("/api/skills/settings",{method:"PATCH",headers:{"content-type":"application/json"},body:JSON.stringify(t)});if(a!==u.current)return;f(c),await j()}catch(c){if(a!==u.current)return;z(c instanceof Error?c.message:"保存设置失败"),I.current=!1,q(!1)}}let X=D.trim().toLocaleLowerCase(),Y=L.filter((t)=>l.some((a)=>a.projectID===t.id)),J=d===A?l:l.filter((t)=>{if(t.scope!=="project")return!0;return d!==G&&t.projectID===d}),M=J.filter((t)=>`${t.name} ${t.description??""}`.toLocaleLowerCase().includes(X)),_=(t)=>p.find((a)=>a.kind==="overridden"&&(a.path==="<built-in>"?t.scope==="builtin":a.path.replace(/\\/g,"/")===`${t.location.replace(/\\/g,"/")}/SKILL.md`));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:m("settings.groupTitle"),children:"技能"}),e("p",{"aria-live":"polite",className:m("settings.groupDesc"),children:W&&`找到 ${J.length} 个 · ${W.toLocaleTimeString("zh-CN",{hour12:!1})}`})]}),n("div",{className:"flex flex-wrap items-center justify-end gap-2",children:[e(v,{value:d,disabled:N,onValueChange:(t)=>{B(void 0),O(t)},groups:[{options:[{value:A,label:"全部来源"},{value:G,label:"非项目技能"}]},...si(Y)],className:"w-44"}),n(g,{variant:"ghost",disabled:N,onClick:()=>j(!0),className:"h-9 px-2.5 text-xs",children:[e(ye,{className:`size-3.5 ${N?"animate-spin":""}`}),e("span",{className:"ml-1",children:"重新扫描"})]})]})]}),K&&n("div",{role:"alert",className:"mb-3 flex flex-wrap items-center gap-2 rounded-xl border border-line p-3",children:[n("p",{className:"min-w-0 flex-1 break-words text-sm text-danger",children:["无法更新技能:",K]}),e(g,{disabled:N,onClick:()=>j(),children:"重试"})]}),e(li,{label:"搜索技能",placeholder:"搜索技能",value:D,onChange:H}),e("div",{className:m("settings.groupBox"),children:N&&!l.length?e(ci,{}):M.length===0?e("p",{className:"p-4 text-sm text-dim",children:"没有找到匹配的技能"}):e("ul",{className:"divide-y divide-line",children:M.map((t)=>{let a=_(t),c=t.disabled;return e("li",{children:e(C,{name:t.name,selectLabel:`查看技能 ${t.name}`,onSelect:()=>B(t),description:t.description,inactive:c,aside:n(h,{children:[a&&n("span",{className:"flex items-center gap-1 text-xs text-warning",children:[e(er,{className:"size-3.5"}),"被覆盖"]}),e("span",{className:m("control.badge"),children:t.scope==="project"?"项目":t.scope==="builtin"?"内置":"全局"})]}),toggle:{checked:!c,label:`启用技能 ${t.name}`,disabled:N,onCheckedChange:(U)=>{if(!S)return;let T=S.disabled??[],Z=U?T.filter((ee)=>ee!==t.name):[...T,t.name];V({...S,disabled:Z})}}})},`${t.scope}:${t.projectID??""}:${t.name}`)})})})]}),e(E,{open:Boolean(w),onOpenChange:(t)=>{if(!t)B(void 0)},title:w?.name??"",size:"lg",footer:e("div",{className:"flex w-full justify-end",children:e(g,{variant:"primary",onClick:()=>B(void 0),children:"关闭"})}),children:w&&e(F,{skill:w,issue:_(w),connection:s})})]})}export{me as SkillsSection};
Binary file
Binary file
Binary file
Binary file