@bkm016/basalt 0.1.21 → 0.1.23

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 (1059) hide show
  1. package/chunk-01g872ez.js +3 -0
  2. package/chunk-078td1r4.js +7 -0
  3. package/chunk-1mhv12a5.js +3 -0
  4. package/chunk-1zrht78t.js +2 -0
  5. package/chunk-2e4xds74.js +18 -0
  6. package/chunk-2hkpqjqj.js +3 -0
  7. package/chunk-2mhpgb4t.js +2 -0
  8. package/chunk-3nwqng5t.js +59 -0
  9. package/chunk-3zm1ejmh.js +3 -0
  10. package/chunk-4d9p68s9.js +3 -0
  11. package/chunk-5h96jz3p.js +3 -0
  12. package/chunk-5znfck4s.js +5 -0
  13. package/chunk-6048rq29.js +8 -0
  14. package/chunk-61zk13qr.js +3 -0
  15. package/chunk-62ty404c.js +2 -0
  16. package/chunk-6vp2nqbj.js +2 -0
  17. package/chunk-7a5derff.js +25 -0
  18. package/chunk-7qhbff72.js +5 -0
  19. package/chunk-7xw6fpx3.js +3 -0
  20. package/chunk-84rk4tew.js +2 -0
  21. package/chunk-8np9b2y8.js +3 -0
  22. package/chunk-8wb8yr7d.js +12 -0
  23. package/chunk-93b76hhg.js +11 -0
  24. package/chunk-9h05aqdd.js +25 -0
  25. package/chunk-a2jsx2ew.js +3 -0
  26. package/chunk-a2qwx6cr.js +2 -0
  27. package/chunk-a7h459z1.js +2 -0
  28. package/chunk-atjwde1c.js +2 -0
  29. package/chunk-bk20awc9.js +10 -0
  30. package/chunk-bm2jhkqt.js +3 -0
  31. package/chunk-bp4zk5ch.js +3 -0
  32. package/chunk-c5ess8kd.js +3 -0
  33. package/chunk-chfzk1fx.js +3 -0
  34. package/chunk-cj7yhgnd.js +2 -0
  35. package/chunk-cjq2bzkf.js +3 -0
  36. package/chunk-csrpxzn7.js +3 -0
  37. package/chunk-cwesdh51.js +39 -0
  38. package/chunk-drbd6485.js +3 -0
  39. package/chunk-dt594v3d.js +9 -0
  40. package/chunk-dwxp0gtf.js +4 -0
  41. package/chunk-ejdewe04.js +3 -0
  42. package/chunk-fkzk83xs.js +2 -0
  43. package/chunk-fsnc2sja.js +3 -0
  44. package/chunk-g18hxgdr.js +12 -0
  45. package/chunk-hfwy0rzt.js +10 -0
  46. package/chunk-hg5wmrfb.js +3 -0
  47. package/chunk-hvex6qjc.js +5 -0
  48. package/chunk-hw8xknv5.js +2 -0
  49. package/chunk-j91wgfzj.js +2 -0
  50. package/chunk-jyx4ynyp.js +3 -0
  51. package/chunk-jz1pavma.js +20 -0
  52. package/chunk-kjjrmfmt.js +2 -0
  53. package/chunk-kz1ja7t7.js +31 -0
  54. package/chunk-mh4s6m7e.js +2 -0
  55. package/chunk-n0g6w24y.js +3 -0
  56. package/chunk-nnp82zvz.js +5 -0
  57. package/chunk-p34keb5j.js +3 -0
  58. package/chunk-pcxaycc3.js +3560 -0
  59. package/chunk-pdwexj34.js +16 -0
  60. package/chunk-phpse938.js +3 -0
  61. package/chunk-pt14ba7d.js +15 -0
  62. package/chunk-q0hvv6bh.js +390 -0
  63. package/chunk-qd4xtknk.js +2 -0
  64. package/chunk-qfg0dr8f.js +2 -0
  65. package/chunk-qnrkh3ca.js +7 -0
  66. package/chunk-r1t5yhee.js +7 -0
  67. package/chunk-r5na5qx5.js +2 -0
  68. package/chunk-r7a6q57s.js +2 -0
  69. package/chunk-smsn4ebc.js +4 -0
  70. package/chunk-sqr8tx1m.js +471 -0
  71. package/chunk-t4twa09y.js +2 -0
  72. package/chunk-tjs6h6zk.js +4 -0
  73. package/chunk-tvbh69tm.js +3 -0
  74. package/chunk-tvv9yfqv.js +11 -0
  75. package/chunk-vbdf5psp.js +2 -0
  76. package/chunk-vr60qwyg.js +2 -0
  77. package/chunk-w509y6w6.js +2 -0
  78. package/chunk-w7n83ye7.js +7 -0
  79. package/chunk-wacjm9ww.js +3 -0
  80. package/chunk-xex050bc.js +3 -0
  81. package/chunk-y0fgbrkc.js +2 -0
  82. package/chunk-ysfpdxjy.js +3 -0
  83. package/chunk-ytsnns2n.js +2 -0
  84. package/chunk-zwgdbrbg.js +2 -0
  85. package/chunk-zz7qjanc.js +2 -0
  86. package/compiled.js +8 -8
  87. package/package.json +1 -1
  88. package/ui-test-worker.js +57 -57
  89. package/web/chunk-07q4pdkf.js +1 -0
  90. package/web/chunk-07q4pdkf.js.br +0 -0
  91. package/web/chunk-07q4pdkf.js.gz +0 -0
  92. package/web/chunk-0s237vb2.js +2 -0
  93. package/web/chunk-0s237vb2.js.br +0 -0
  94. package/web/chunk-0s237vb2.js.gz +0 -0
  95. package/web/chunk-0zbmaspt.js +24 -0
  96. package/web/chunk-0zbmaspt.js.br +0 -0
  97. package/web/chunk-0zbmaspt.js.gz +0 -0
  98. package/web/chunk-11p8z5sv.js +8 -0
  99. package/web/chunk-11p8z5sv.js.br +0 -0
  100. package/web/chunk-11p8z5sv.js.gz +0 -0
  101. package/web/chunk-1axadk7j.js +2 -0
  102. package/web/chunk-1axadk7j.js.br +0 -0
  103. package/web/chunk-1axadk7j.js.gz +0 -0
  104. package/web/chunk-1ebz6hbk.js +1 -0
  105. package/web/chunk-1ebz6hbk.js.br +0 -0
  106. package/web/chunk-1ebz6hbk.js.gz +0 -0
  107. package/web/chunk-1pg22vjr.js +38 -0
  108. package/web/chunk-1pg22vjr.js.br +0 -0
  109. package/web/chunk-1pg22vjr.js.gz +0 -0
  110. package/web/chunk-1ys90q5s.js +1 -0
  111. package/web/chunk-1ys90q5s.js.br +0 -0
  112. package/web/chunk-1ys90q5s.js.gz +0 -0
  113. package/web/chunk-1zd8azrg.js +34 -0
  114. package/web/chunk-1zd8azrg.js.br +0 -0
  115. package/web/chunk-1zd8azrg.js.gz +0 -0
  116. package/web/chunk-22rjbwxp.js +303 -0
  117. package/web/chunk-22rjbwxp.js.br +0 -0
  118. package/web/chunk-22rjbwxp.js.gz +0 -0
  119. package/web/chunk-2eg9t1mz.js +2 -0
  120. package/web/chunk-2eg9t1mz.js.br +0 -0
  121. package/web/chunk-2eg9t1mz.js.gz +0 -0
  122. package/web/chunk-2emc5sd7.js +12 -0
  123. package/web/chunk-2emc5sd7.js.br +0 -0
  124. package/web/chunk-2emc5sd7.js.gz +0 -0
  125. package/web/chunk-2gj9yydt.js +2 -0
  126. package/web/chunk-2gj9yydt.js.br +0 -0
  127. package/web/chunk-2gj9yydt.js.gz +0 -0
  128. package/web/chunk-2jvy4y1e.js +1 -0
  129. package/web/chunk-2jvy4y1e.js.br +0 -0
  130. package/web/chunk-2jvy4y1e.js.gz +0 -0
  131. package/web/chunk-2kwn5gsx.js +1 -0
  132. package/web/chunk-2kwn5gsx.js.br +0 -0
  133. package/web/chunk-2kwn5gsx.js.gz +0 -0
  134. package/web/chunk-2r84nrwk.js +99 -0
  135. package/web/chunk-2r84nrwk.js.br +0 -0
  136. package/web/chunk-2r84nrwk.js.gz +0 -0
  137. package/web/chunk-3abhxhtv.js +2 -0
  138. package/web/chunk-3abhxhtv.js.br +0 -0
  139. package/web/chunk-3abhxhtv.js.gz +0 -0
  140. package/web/chunk-3cgxntbk.js +2 -0
  141. package/web/chunk-3cgxntbk.js.br +0 -0
  142. package/web/chunk-3cgxntbk.js.gz +0 -0
  143. package/web/chunk-3g3n9pc5.js +332 -0
  144. package/web/chunk-3g3n9pc5.js.br +0 -0
  145. package/web/chunk-3g3n9pc5.js.gz +0 -0
  146. package/web/chunk-3qmpdzq2.js +1 -0
  147. package/web/chunk-3qmpdzq2.js.br +0 -0
  148. package/web/chunk-3qmpdzq2.js.gz +0 -0
  149. package/web/chunk-3rxjewe5.js +2 -0
  150. package/web/chunk-3rxjewe5.js.br +0 -0
  151. package/web/chunk-3rxjewe5.js.gz +0 -0
  152. package/web/chunk-3vh17h7n.js +62 -0
  153. package/web/chunk-3vh17h7n.js.br +0 -0
  154. package/web/chunk-3vh17h7n.js.gz +0 -0
  155. package/web/chunk-49ywdzda.js +36 -0
  156. package/web/chunk-49ywdzda.js.br +0 -0
  157. package/web/chunk-49ywdzda.js.gz +0 -0
  158. package/web/chunk-5ch8rwjz.js +2 -0
  159. package/web/chunk-5ch8rwjz.js.br +0 -0
  160. package/web/chunk-5ch8rwjz.js.gz +0 -0
  161. package/web/chunk-5k1xca5m.js +324 -0
  162. package/web/chunk-5k1xca5m.js.br +0 -0
  163. package/web/chunk-5k1xca5m.js.gz +0 -0
  164. package/web/chunk-5kcmtrrk.js +2 -0
  165. package/web/chunk-5kcmtrrk.js.br +0 -0
  166. package/web/chunk-5kcmtrrk.js.gz +0 -0
  167. package/web/chunk-5t1yv276.js +1 -0
  168. package/web/chunk-5t1yv276.js.br +0 -0
  169. package/web/chunk-5t1yv276.js.gz +0 -0
  170. package/web/chunk-612xftnp.js +1 -0
  171. package/web/chunk-612xftnp.js.br +0 -0
  172. package/web/chunk-612xftnp.js.gz +0 -0
  173. package/web/chunk-6183jmyq.js +2 -0
  174. package/web/chunk-6183jmyq.js.br +0 -0
  175. package/web/chunk-6183jmyq.js.gz +0 -0
  176. package/web/chunk-66zp24sf.js +2 -0
  177. package/web/chunk-66zp24sf.js.br +0 -0
  178. package/web/chunk-66zp24sf.js.gz +0 -0
  179. package/web/chunk-67wywbgr.js +2 -0
  180. package/web/chunk-67wywbgr.js.br +0 -0
  181. package/web/chunk-67wywbgr.js.gz +0 -0
  182. package/web/chunk-6j0d6131.js +1 -0
  183. package/web/chunk-6j0d6131.js.br +0 -0
  184. package/web/chunk-6j0d6131.js.gz +0 -0
  185. package/web/chunk-6ycpdpfj.js +107 -0
  186. package/web/chunk-6ycpdpfj.js.br +0 -0
  187. package/web/chunk-6ycpdpfj.js.gz +0 -0
  188. package/web/chunk-79tbvvqj.js +1 -0
  189. package/web/chunk-79tbvvqj.js.br +0 -0
  190. package/web/chunk-79tbvvqj.js.gz +0 -0
  191. package/web/chunk-7bcksmqx.js +2 -0
  192. package/web/chunk-7bcksmqx.js.br +0 -0
  193. package/web/chunk-7bcksmqx.js.gz +0 -0
  194. package/web/chunk-7c2zkqgd.js +89 -0
  195. package/web/chunk-7c2zkqgd.js.br +0 -0
  196. package/web/chunk-7c2zkqgd.js.gz +0 -0
  197. package/web/chunk-7ed42dqv.js +1 -0
  198. package/web/chunk-7ed42dqv.js.br +0 -0
  199. package/web/chunk-7ed42dqv.js.gz +0 -0
  200. package/web/chunk-7mzdjjha.js +1 -0
  201. package/web/chunk-7mzdjjha.js.br +0 -0
  202. package/web/chunk-7mzdjjha.js.gz +0 -0
  203. package/web/chunk-7t1sb86g.js +2 -0
  204. package/web/chunk-7t1sb86g.js.br +0 -0
  205. package/web/chunk-7t1sb86g.js.gz +0 -0
  206. package/web/chunk-7t5kzbp1.js +1 -0
  207. package/web/chunk-7t5kzbp1.js.br +0 -0
  208. package/web/chunk-7t5kzbp1.js.gz +0 -0
  209. package/web/chunk-7tmzvm05.js +2 -0
  210. package/web/chunk-7tmzvm05.js.br +0 -0
  211. package/web/chunk-7tmzvm05.js.gz +0 -0
  212. package/web/chunk-80k4k6aw.js +7 -0
  213. package/web/chunk-80k4k6aw.js.br +0 -0
  214. package/web/chunk-80k4k6aw.js.gz +0 -0
  215. package/web/chunk-8tvy5xbr.js +217 -0
  216. package/web/chunk-8tvy5xbr.js.br +0 -0
  217. package/web/chunk-8tvy5xbr.js.gz +0 -0
  218. package/web/chunk-95jr0f0q.js +139 -0
  219. package/web/chunk-95jr0f0q.js.br +0 -0
  220. package/web/chunk-95jr0f0q.js.gz +0 -0
  221. package/web/chunk-9h6ayn54.js +16 -0
  222. package/web/chunk-9h6ayn54.js.br +0 -0
  223. package/web/chunk-9h6ayn54.js.gz +0 -0
  224. package/web/chunk-9jzpxvwa.js +106 -0
  225. package/web/chunk-9jzpxvwa.js.br +0 -0
  226. package/web/chunk-9jzpxvwa.js.gz +0 -0
  227. package/web/chunk-9kx2s040.js +1 -0
  228. package/web/chunk-9kx2s040.js.br +0 -0
  229. package/web/chunk-9kx2s040.js.gz +0 -0
  230. package/web/chunk-9mdbahpr.js +2 -0
  231. package/web/chunk-9mdbahpr.js.br +0 -0
  232. package/web/chunk-9mdbahpr.js.gz +0 -0
  233. package/web/chunk-9w6mjqgp.js +1 -0
  234. package/web/chunk-9w6mjqgp.js.br +0 -0
  235. package/web/chunk-9w6mjqgp.js.gz +0 -0
  236. package/web/chunk-9xb3j03w.js +142 -0
  237. package/web/chunk-9xb3j03w.js.br +0 -0
  238. package/web/chunk-9xb3j03w.js.gz +0 -0
  239. package/web/chunk-abzt3tzj.js +1 -0
  240. package/web/chunk-abzt3tzj.js.br +0 -0
  241. package/web/chunk-abzt3tzj.js.gz +0 -0
  242. package/web/chunk-ahebswgf.js +1 -0
  243. package/web/chunk-ahebswgf.js.br +0 -0
  244. package/web/chunk-ahebswgf.js.gz +0 -0
  245. package/web/chunk-ahsw5yz2.js +2 -0
  246. package/web/chunk-ahsw5yz2.js.br +0 -0
  247. package/web/chunk-ahsw5yz2.js.gz +0 -0
  248. package/web/chunk-b21jhnc3.js +1 -0
  249. package/web/chunk-b21jhnc3.js.br +2 -0
  250. package/web/chunk-b21jhnc3.js.gz +0 -0
  251. package/web/chunk-b3cn4qmw.js +1 -0
  252. package/web/chunk-b3cn4qmw.js.br +0 -0
  253. package/web/chunk-b3cn4qmw.js.gz +0 -0
  254. package/web/chunk-b4qxx7jx.js +2 -0
  255. package/web/chunk-b4qxx7jx.js.br +0 -0
  256. package/web/chunk-b4qxx7jx.js.gz +0 -0
  257. package/web/chunk-b79d9r5v.js +98 -0
  258. package/web/chunk-b79d9r5v.js.br +0 -0
  259. package/web/chunk-b79d9r5v.js.gz +0 -0
  260. package/web/chunk-b9x115jw.css +1 -0
  261. package/web/chunk-b9x115jw.css.br +0 -0
  262. package/web/chunk-b9x115jw.css.gz +0 -0
  263. package/web/chunk-bbnamv1j.js +1 -0
  264. package/web/chunk-bbnamv1j.js.br +2 -0
  265. package/web/chunk-bbnamv1j.js.gz +0 -0
  266. package/web/chunk-bgqfryh2.js +1 -0
  267. package/web/chunk-bgqfryh2.js.br +0 -0
  268. package/web/chunk-bgqfryh2.js.gz +0 -0
  269. package/web/chunk-bjrnqvf4.js +1 -0
  270. package/web/chunk-bjrnqvf4.js.br +0 -0
  271. package/web/chunk-bjrnqvf4.js.gz +0 -0
  272. package/web/chunk-cbh6w44y.js +1 -0
  273. package/web/chunk-cbh6w44y.js.br +0 -0
  274. package/web/chunk-cbh6w44y.js.gz +0 -0
  275. package/web/chunk-d0bt1ypq.js +140 -0
  276. package/web/chunk-d0bt1ypq.js.br +0 -0
  277. package/web/chunk-d0bt1ypq.js.gz +0 -0
  278. package/web/chunk-ddfd1c5x.js +1 -0
  279. package/web/chunk-ddfd1c5x.js.br +0 -0
  280. package/web/chunk-ddfd1c5x.js.gz +0 -0
  281. package/web/chunk-deqy1rfx.js +1 -0
  282. package/web/chunk-deqy1rfx.js.br +0 -0
  283. package/web/chunk-deqy1rfx.js.gz +0 -0
  284. package/web/chunk-dk3dpdnc.js +4 -0
  285. package/web/chunk-dk3dpdnc.js.br +0 -0
  286. package/web/chunk-dk3dpdnc.js.gz +0 -0
  287. package/web/chunk-dr35dsw5.js +1 -0
  288. package/web/chunk-dr35dsw5.js.br +0 -0
  289. package/web/chunk-dr35dsw5.js.gz +0 -0
  290. package/web/chunk-drr7mqg2.js +1 -0
  291. package/web/chunk-drr7mqg2.js.br +0 -0
  292. package/web/chunk-drr7mqg2.js.gz +0 -0
  293. package/web/chunk-dy9amqbz.js +1 -0
  294. package/web/chunk-dy9amqbz.js.br +0 -0
  295. package/web/chunk-dy9amqbz.js.gz +0 -0
  296. package/web/chunk-e039ekp7.js +89 -0
  297. package/web/chunk-e039ekp7.js.br +0 -0
  298. package/web/chunk-e039ekp7.js.gz +0 -0
  299. package/web/chunk-e2e2fdwq.js +30 -0
  300. package/web/chunk-e2e2fdwq.js.br +0 -0
  301. package/web/chunk-e2e2fdwq.js.gz +0 -0
  302. package/web/chunk-e5j1v42p.js +7 -0
  303. package/web/chunk-e5j1v42p.js.br +0 -0
  304. package/web/chunk-e5j1v42p.js.gz +0 -0
  305. package/web/chunk-ef0wf92p.js +2 -0
  306. package/web/chunk-ef0wf92p.js.br +0 -0
  307. package/web/chunk-ef0wf92p.js.gz +0 -0
  308. package/web/chunk-emsyqa1e.js +1 -0
  309. package/web/chunk-emsyqa1e.js.br +0 -0
  310. package/web/chunk-emsyqa1e.js.gz +0 -0
  311. package/web/chunk-en7n9d1p.js +41 -0
  312. package/web/chunk-en7n9d1p.js.br +0 -0
  313. package/web/chunk-en7n9d1p.js.gz +0 -0
  314. package/web/chunk-ez4yt1s1.js +1 -0
  315. package/web/chunk-ez4yt1s1.js.br +0 -0
  316. package/web/chunk-ez4yt1s1.js.gz +0 -0
  317. package/web/chunk-f620k3hk.js +1 -0
  318. package/web/chunk-f620k3hk.js.br +0 -0
  319. package/web/chunk-f620k3hk.js.gz +0 -0
  320. package/web/chunk-fe2hpamc.js +200 -0
  321. package/web/chunk-fe2hpamc.js.br +0 -0
  322. package/web/chunk-fe2hpamc.js.gz +0 -0
  323. package/web/chunk-fm7saxzr.js +1 -0
  324. package/web/chunk-fm7saxzr.js.br +0 -0
  325. package/web/chunk-fm7saxzr.js.gz +0 -0
  326. package/web/chunk-fz5d3ayq.js +2 -0
  327. package/web/chunk-fz5d3ayq.js.br +0 -0
  328. package/web/chunk-fz5d3ayq.js.gz +0 -0
  329. package/web/chunk-gb2tkfv0.js +1 -0
  330. package/web/chunk-gb2tkfv0.js.br +0 -0
  331. package/web/chunk-gb2tkfv0.js.gz +0 -0
  332. package/web/chunk-gc1ypgy4.js +1 -0
  333. package/web/chunk-gc1ypgy4.js.br +0 -0
  334. package/web/chunk-gc1ypgy4.js.gz +0 -0
  335. package/web/chunk-h23pczjh.js +40 -0
  336. package/web/chunk-h23pczjh.js.br +0 -0
  337. package/web/chunk-h23pczjh.js.gz +0 -0
  338. package/web/chunk-h2sttxfn.js +1 -0
  339. package/web/chunk-h2sttxfn.js.br +2 -0
  340. package/web/chunk-h2sttxfn.js.gz +0 -0
  341. package/web/chunk-h5m9ggsm.js +2 -0
  342. package/web/chunk-h5m9ggsm.js.br +0 -0
  343. package/web/chunk-h5m9ggsm.js.gz +0 -0
  344. package/web/chunk-h5zc1hw5.js +1 -0
  345. package/web/chunk-h5zc1hw5.js.br +0 -0
  346. package/web/chunk-h5zc1hw5.js.gz +0 -0
  347. package/web/chunk-hkg6bts9.js +1 -0
  348. package/web/chunk-hkg6bts9.js.br +0 -0
  349. package/web/chunk-hkg6bts9.js.gz +0 -0
  350. package/web/chunk-hncdpeer.js +120 -0
  351. package/web/chunk-hncdpeer.js.br +0 -0
  352. package/web/chunk-hncdpeer.js.gz +0 -0
  353. package/web/chunk-j40wechd.js +2 -0
  354. package/web/chunk-j40wechd.js.br +0 -0
  355. package/web/chunk-j40wechd.js.gz +0 -0
  356. package/web/chunk-jddmse74.js +169 -0
  357. package/web/chunk-jddmse74.js.br +0 -0
  358. package/web/chunk-jddmse74.js.gz +0 -0
  359. package/web/chunk-jdvdg38q.js +3 -0
  360. package/web/chunk-jdvdg38q.js.br +0 -0
  361. package/web/chunk-jdvdg38q.js.gz +0 -0
  362. package/web/chunk-jf6q93m9.js +1 -0
  363. package/web/chunk-jf6q93m9.js.br +0 -0
  364. package/web/chunk-jf6q93m9.js.gz +0 -0
  365. package/web/chunk-jfd1gybx.js +39 -0
  366. package/web/chunk-jfd1gybx.js.br +0 -0
  367. package/web/chunk-jfd1gybx.js.gz +0 -0
  368. package/web/chunk-jkgkt722.js +1 -0
  369. package/web/chunk-jkgkt722.js.br +0 -0
  370. package/web/chunk-jkgkt722.js.gz +0 -0
  371. package/web/chunk-k427fwgp.js +1 -0
  372. package/web/chunk-k427fwgp.js.br +0 -0
  373. package/web/chunk-k427fwgp.js.gz +0 -0
  374. package/web/chunk-k8pezbya.js +2 -0
  375. package/web/chunk-k8pezbya.js.br +3 -0
  376. package/web/chunk-k8pezbya.js.gz +0 -0
  377. package/web/chunk-k9t941fj.js +1 -0
  378. package/web/chunk-k9t941fj.js.br +0 -0
  379. package/web/chunk-k9t941fj.js.gz +0 -0
  380. package/web/chunk-kkzwvnft.js +1 -0
  381. package/web/chunk-kkzwvnft.js.br +0 -0
  382. package/web/chunk-kkzwvnft.js.gz +0 -0
  383. package/web/chunk-kpm8gp4z.js +292 -0
  384. package/web/chunk-kpm8gp4z.js.br +0 -0
  385. package/web/chunk-kpm8gp4z.js.gz +0 -0
  386. package/web/chunk-kqyk2an3.js +214 -0
  387. package/web/chunk-kqyk2an3.js.br +0 -0
  388. package/web/chunk-kqyk2an3.js.gz +0 -0
  389. package/web/chunk-m3gryxba.js +2 -0
  390. package/web/chunk-m3gryxba.js.br +0 -0
  391. package/web/chunk-m3gryxba.js.gz +0 -0
  392. package/web/chunk-m8h3c5x3.js +1 -0
  393. package/web/chunk-m8h3c5x3.js.br +0 -0
  394. package/web/chunk-m8h3c5x3.js.gz +0 -0
  395. package/web/chunk-mb7sr4tf.js +55 -0
  396. package/web/chunk-mb7sr4tf.js.br +0 -0
  397. package/web/chunk-mb7sr4tf.js.gz +0 -0
  398. package/web/chunk-meqcd10n.js +1 -0
  399. package/web/chunk-meqcd10n.js.br +0 -0
  400. package/web/chunk-meqcd10n.js.gz +0 -0
  401. package/web/chunk-msrq7vsz.js +7 -0
  402. package/web/chunk-msrq7vsz.js.br +0 -0
  403. package/web/chunk-msrq7vsz.js.gz +0 -0
  404. package/web/chunk-myhtb5ps.js +2 -0
  405. package/web/chunk-myhtb5ps.js.br +0 -0
  406. package/web/chunk-myhtb5ps.js.gz +0 -0
  407. package/web/chunk-n1n55yt8.js +84 -0
  408. package/web/chunk-n1n55yt8.js.br +0 -0
  409. package/web/chunk-n1n55yt8.js.gz +0 -0
  410. package/web/chunk-nmgy1mrz.js +1 -0
  411. package/web/chunk-nmgy1mrz.js.br +0 -0
  412. package/web/chunk-nmgy1mrz.js.gz +0 -0
  413. package/web/chunk-nmnyaawa.js +24 -0
  414. package/web/chunk-nmnyaawa.js.br +0 -0
  415. package/web/chunk-nmnyaawa.js.gz +0 -0
  416. package/web/chunk-nwepnbvn.js +70 -0
  417. package/web/chunk-nwepnbvn.js.br +0 -0
  418. package/web/chunk-nwepnbvn.js.gz +0 -0
  419. package/web/chunk-p2cmfhpz.js +2 -0
  420. package/web/chunk-p2cmfhpz.js.br +0 -0
  421. package/web/chunk-p2cmfhpz.js.gz +0 -0
  422. package/web/chunk-pac9nyhp.js +2 -0
  423. package/web/chunk-pac9nyhp.js.br +0 -0
  424. package/web/chunk-pac9nyhp.js.gz +0 -0
  425. package/web/chunk-pdt40dj7.js +1 -0
  426. package/web/chunk-pdt40dj7.js.br +2 -0
  427. package/web/chunk-pdt40dj7.js.gz +0 -0
  428. package/web/chunk-phs38wt7.js +2 -0
  429. package/web/chunk-phs38wt7.js.br +0 -0
  430. package/web/chunk-phs38wt7.js.gz +0 -0
  431. package/web/chunk-prc7b9xh.js +1 -0
  432. package/web/chunk-prc7b9xh.js.br +0 -0
  433. package/web/chunk-prc7b9xh.js.gz +0 -0
  434. package/web/chunk-q1e80chw.js +1 -0
  435. package/web/chunk-q1e80chw.js.br +2 -0
  436. package/web/chunk-q1e80chw.js.gz +0 -0
  437. package/web/chunk-q6aqg79d.js +2 -0
  438. package/web/chunk-q6aqg79d.js.br +0 -0
  439. package/web/chunk-q6aqg79d.js.gz +0 -0
  440. package/web/chunk-q6sv3fhe.js +2 -0
  441. package/web/chunk-q6sv3fhe.js.br +0 -0
  442. package/web/chunk-q6sv3fhe.js.gz +0 -0
  443. package/web/chunk-rbd2n2mr.js +1 -0
  444. package/web/chunk-rbd2n2mr.js.br +0 -0
  445. package/web/chunk-rbd2n2mr.js.gz +0 -0
  446. package/web/chunk-rbh0yrp6.js +1 -0
  447. package/web/chunk-rbh0yrp6.js.br +0 -0
  448. package/web/chunk-rbh0yrp6.js.gz +0 -0
  449. package/web/chunk-rdarpbhd.js +2 -0
  450. package/web/chunk-rdarpbhd.js.br +0 -0
  451. package/web/chunk-rdarpbhd.js.gz +0 -0
  452. package/web/chunk-rf93p28v.js +1 -0
  453. package/web/chunk-rf93p28v.js.br +0 -0
  454. package/web/chunk-rf93p28v.js.gz +0 -0
  455. package/web/chunk-rjvdk0s6.js +1 -0
  456. package/web/chunk-rjvdk0s6.js.br +0 -0
  457. package/web/chunk-rjvdk0s6.js.gz +0 -0
  458. package/web/chunk-rvmk483c.js +1 -0
  459. package/web/chunk-rvmk483c.js.br +0 -0
  460. package/web/chunk-rvmk483c.js.gz +0 -0
  461. package/web/chunk-s99vfrrz.js +1 -0
  462. package/web/chunk-s99vfrrz.js.br +0 -0
  463. package/web/chunk-s99vfrrz.js.gz +0 -0
  464. package/web/chunk-saem11tv.js +2 -0
  465. package/web/chunk-saem11tv.js.br +0 -0
  466. package/web/chunk-saem11tv.js.gz +0 -0
  467. package/web/chunk-scv8t4m6.js +1 -0
  468. package/web/chunk-scv8t4m6.js.br +0 -0
  469. package/web/chunk-scv8t4m6.js.gz +0 -0
  470. package/web/chunk-stsmcqxe.js +1 -0
  471. package/web/chunk-stsmcqxe.js.br +0 -0
  472. package/web/chunk-stsmcqxe.js.gz +0 -0
  473. package/web/chunk-svaq7f3c.js +1134 -0
  474. package/web/chunk-svaq7f3c.js.br +0 -0
  475. package/web/chunk-svaq7f3c.js.gz +0 -0
  476. package/web/chunk-sy099zt8.js +1 -0
  477. package/web/chunk-sy099zt8.js.br +0 -0
  478. package/web/chunk-sy099zt8.js.gz +0 -0
  479. package/web/chunk-thqrbjwn.js +1 -0
  480. package/web/chunk-thqrbjwn.js.br +2 -0
  481. package/web/chunk-thqrbjwn.js.gz +0 -0
  482. package/web/chunk-ty1m1k6b.js +1 -0
  483. package/web/chunk-ty1m1k6b.js.br +0 -0
  484. package/web/chunk-ty1m1k6b.js.gz +0 -0
  485. package/web/chunk-w54qcqk3.js +1 -0
  486. package/web/chunk-w54qcqk3.js.br +0 -0
  487. package/web/chunk-w54qcqk3.js.gz +0 -0
  488. package/web/chunk-wgf4paqc.js +1 -0
  489. package/web/chunk-wgf4paqc.js.br +0 -0
  490. package/web/chunk-wgf4paqc.js.gz +0 -0
  491. package/web/chunk-ww5c1dmz.js +1 -0
  492. package/web/chunk-ww5c1dmz.js.br +0 -0
  493. package/web/chunk-ww5c1dmz.js.gz +0 -0
  494. package/web/chunk-x5m7phbb.js +1 -0
  495. package/web/chunk-x5m7phbb.js.br +0 -0
  496. package/web/chunk-x5m7phbb.js.gz +0 -0
  497. package/web/chunk-x9wzj52f.js +2 -0
  498. package/web/chunk-x9wzj52f.js.br +0 -0
  499. package/web/chunk-x9wzj52f.js.gz +0 -0
  500. package/web/chunk-xgfam7bx.js +1 -0
  501. package/web/chunk-xgfam7bx.js.br +0 -0
  502. package/web/chunk-xgfam7bx.js.gz +0 -0
  503. package/web/chunk-xnn07hr4.js +21 -0
  504. package/web/chunk-xnn07hr4.js.br +0 -0
  505. package/web/chunk-xnn07hr4.js.gz +0 -0
  506. package/web/chunk-xreg1e03.js +78 -0
  507. package/web/chunk-xreg1e03.js.br +0 -0
  508. package/web/chunk-xreg1e03.js.gz +0 -0
  509. package/web/chunk-xsxd3wsv.js +4 -0
  510. package/web/chunk-xsxd3wsv.js.br +0 -0
  511. package/web/chunk-xsxd3wsv.js.gz +0 -0
  512. package/web/chunk-y7jebh1j.js +1 -0
  513. package/web/chunk-y7jebh1j.js.br +0 -0
  514. package/web/chunk-y7jebh1j.js.gz +0 -0
  515. package/web/chunk-yhn2mwnb.js +291 -0
  516. package/web/chunk-yhn2mwnb.js.br +0 -0
  517. package/web/chunk-yhn2mwnb.js.gz +0 -0
  518. package/web/chunk-yj85fg74.js +1 -0
  519. package/web/chunk-yj85fg74.js.br +0 -0
  520. package/web/chunk-yj85fg74.js.gz +0 -0
  521. package/web/chunk-yjvjzayn.js +1 -0
  522. package/web/chunk-yjvjzayn.js.br +0 -0
  523. package/web/chunk-yjvjzayn.js.gz +0 -0
  524. package/web/chunk-yqwvedf5.js +370 -0
  525. package/web/chunk-yqwvedf5.js.br +0 -0
  526. package/web/chunk-yqwvedf5.js.gz +0 -0
  527. package/web/chunk-z3tr221x.js +1 -0
  528. package/web/chunk-z3tr221x.js.br +0 -0
  529. package/web/chunk-z3tr221x.js.gz +0 -0
  530. package/web/chunk-z4n3tx0q.js +1 -0
  531. package/web/chunk-z4n3tx0q.js.br +0 -0
  532. package/web/chunk-z4n3tx0q.js.gz +0 -0
  533. package/web/index.html +1 -1
  534. package/web/index.html.br +0 -0
  535. package/web/index.html.gz +0 -0
  536. package/worker.js +1 -1
  537. package/chunk-03b5jh31.js +0 -5
  538. package/chunk-0b2brwjc.js +0 -3
  539. package/chunk-0x0459qp.js +0 -2
  540. package/chunk-16yz5ebn.js +0 -2
  541. package/chunk-1kdd7xry.js +0 -2
  542. package/chunk-225dyk1y.js +0 -8
  543. package/chunk-2fymxwe7.js +0 -7
  544. package/chunk-2m2sa0bp.js +0 -2
  545. package/chunk-35y6nf6k.js +0 -12
  546. package/chunk-3phf8eg6.js +0 -3
  547. package/chunk-3qxq264t.js +0 -2
  548. package/chunk-3r38vbt5.js +0 -2
  549. package/chunk-3s8rpc1w.js +0 -3
  550. package/chunk-3t8wz9w8.js +0 -3
  551. package/chunk-43qf44t8.js +0 -3
  552. package/chunk-49hsqsht.js +0 -2
  553. package/chunk-4fbj3k59.js +0 -3
  554. package/chunk-4fj91gt1.js +0 -4
  555. package/chunk-51a0843g.js +0 -3
  556. package/chunk-5h59tby8.js +0 -470
  557. package/chunk-5m51j40e.js +0 -7
  558. package/chunk-5mt8xxex.js +0 -3
  559. package/chunk-85sjfyjd.js +0 -2
  560. package/chunk-97ntcrm7.js +0 -2
  561. package/chunk-9qzyn98b.js +0 -3
  562. package/chunk-9t3v8c3m.js +0 -2
  563. package/chunk-9w1m9av8.js +0 -11
  564. package/chunk-9x28stv0.js +0 -2
  565. package/chunk-a3fpx924.js +0 -3
  566. package/chunk-ak95r8mq.js +0 -3556
  567. package/chunk-ak9rkrf3.js +0 -5
  568. package/chunk-b516bp7n.js +0 -3
  569. package/chunk-bn1aaewd.js +0 -59
  570. package/chunk-c5ydt3vq.js +0 -3
  571. package/chunk-cjh5h31t.js +0 -11
  572. package/chunk-cr0tqn6j.js +0 -3
  573. package/chunk-e0ytnnwt.js +0 -3
  574. package/chunk-e2m8ap8f.js +0 -3
  575. package/chunk-e8xywvv4.js +0 -3
  576. package/chunk-enmrpjpt.js +0 -3
  577. package/chunk-ewaskman.js +0 -2
  578. package/chunk-feyt85gg.js +0 -2
  579. package/chunk-fj56fznw.js +0 -3
  580. package/chunk-ftg4b5pa.js +0 -3
  581. package/chunk-g6cc7ac1.js +0 -3
  582. package/chunk-gdx1j9c5.js +0 -10
  583. package/chunk-gs5aebwh.js +0 -2
  584. package/chunk-h00wjps7.js +0 -4
  585. package/chunk-h1fwdz4h.js +0 -2
  586. package/chunk-hhxtc9jn.js +0 -2
  587. package/chunk-hrn2ss1a.js +0 -2
  588. package/chunk-jhwb962k.js +0 -15
  589. package/chunk-jpwr1sd2.js +0 -3
  590. package/chunk-jy07y4pv.js +0 -7
  591. package/chunk-k9x1r69s.js +0 -18
  592. package/chunk-kb5h9rmb.js +0 -2
  593. package/chunk-kgnd32hn.js +0 -4
  594. package/chunk-kka12j10.js +0 -3
  595. package/chunk-kypdthjg.js +0 -2
  596. package/chunk-m9386732.js +0 -16
  597. package/chunk-np123myw.js +0 -12
  598. package/chunk-ntntwtxn.js +0 -5
  599. package/chunk-qn70tm91.js +0 -20
  600. package/chunk-qtgc74er.js +0 -5
  601. package/chunk-qz6ybxjg.js +0 -39
  602. package/chunk-r36b12zb.js +0 -2
  603. package/chunk-re8n2te5.js +0 -2
  604. package/chunk-rpbxbb92.js +0 -10
  605. package/chunk-rqrjzz73.js +0 -2
  606. package/chunk-scy1p7x2.js +0 -9
  607. package/chunk-sq5ppnr3.js +0 -25
  608. package/chunk-syhhzr1j.js +0 -3
  609. package/chunk-t3mq64c8.js +0 -3
  610. package/chunk-tmq8ktys.js +0 -3
  611. package/chunk-ttv805sb.js +0 -390
  612. package/chunk-v878x8zr.js +0 -7
  613. package/chunk-ve1b6vg6.js +0 -2
  614. package/chunk-vzrmdaba.js +0 -2
  615. package/chunk-w3n8wm44.js +0 -2
  616. package/chunk-w3skxmvx.js +0 -3
  617. package/chunk-wxzk086k.js +0 -2
  618. package/chunk-x1y4s01x.js +0 -31
  619. package/chunk-y8mf9tcj.js +0 -25
  620. package/chunk-z4g2q36h.js +0 -3
  621. package/chunk-zkjnt298.js +0 -3
  622. package/web/chunk-07dd0jed.js +0 -78
  623. package/web/chunk-07dd0jed.js.br +0 -0
  624. package/web/chunk-07dd0jed.js.gz +0 -0
  625. package/web/chunk-0hvyq55w.js +0 -1
  626. package/web/chunk-0hvyq55w.js.br +0 -0
  627. package/web/chunk-0hvyq55w.js.gz +0 -0
  628. package/web/chunk-0q5drhbk.js +0 -1
  629. package/web/chunk-0q5drhbk.js.br +0 -0
  630. package/web/chunk-0q5drhbk.js.gz +0 -0
  631. package/web/chunk-0rvx1z2b.js +0 -1
  632. package/web/chunk-0rvx1z2b.js.br +0 -0
  633. package/web/chunk-0rvx1z2b.js.gz +0 -0
  634. package/web/chunk-0w6ta3ps.js +0 -1
  635. package/web/chunk-0w6ta3ps.js.br +0 -0
  636. package/web/chunk-0w6ta3ps.js.gz +0 -0
  637. package/web/chunk-0wqmwnd8.js +0 -2
  638. package/web/chunk-0wqmwnd8.js.br +0 -0
  639. package/web/chunk-0wqmwnd8.js.gz +0 -0
  640. package/web/chunk-0z10aqp1.js +0 -2
  641. package/web/chunk-0z10aqp1.js.br +0 -0
  642. package/web/chunk-0z10aqp1.js.gz +0 -0
  643. package/web/chunk-12vcrj7y.js +0 -1
  644. package/web/chunk-12vcrj7y.js.br +0 -0
  645. package/web/chunk-12vcrj7y.js.gz +0 -0
  646. package/web/chunk-16b5anw4.js +0 -3
  647. package/web/chunk-16b5anw4.js.br +0 -0
  648. package/web/chunk-16b5anw4.js.gz +0 -0
  649. package/web/chunk-21d8pzcm.js +0 -142
  650. package/web/chunk-21d8pzcm.js.br +0 -0
  651. package/web/chunk-21d8pzcm.js.gz +0 -0
  652. package/web/chunk-2c4affp1.js +0 -70
  653. package/web/chunk-2c4affp1.js.br +0 -0
  654. package/web/chunk-2c4affp1.js.gz +0 -0
  655. package/web/chunk-2dykyq1n.js +0 -2
  656. package/web/chunk-2dykyq1n.js.br +0 -0
  657. package/web/chunk-2dykyq1n.js.gz +0 -0
  658. package/web/chunk-2h2w244w.js +0 -370
  659. package/web/chunk-2h2w244w.js.br +0 -0
  660. package/web/chunk-2h2w244w.js.gz +0 -0
  661. package/web/chunk-2hd51wb6.js +0 -169
  662. package/web/chunk-2hd51wb6.js.br +0 -0
  663. package/web/chunk-2hd51wb6.js.gz +0 -0
  664. package/web/chunk-2tc6krye.js +0 -291
  665. package/web/chunk-2tc6krye.js.br +0 -0
  666. package/web/chunk-2tc6krye.js.gz +0 -0
  667. package/web/chunk-2w27acew.js +0 -38
  668. package/web/chunk-2w27acew.js.br +0 -0
  669. package/web/chunk-2w27acew.js.gz +0 -0
  670. package/web/chunk-2w4rdnhj.js +0 -1
  671. package/web/chunk-2w4rdnhj.js.br +0 -0
  672. package/web/chunk-2w4rdnhj.js.gz +0 -0
  673. package/web/chunk-31vxes2p.js +0 -200
  674. package/web/chunk-31vxes2p.js.br +0 -0
  675. package/web/chunk-31vxes2p.js.gz +0 -0
  676. package/web/chunk-32qd2y5h.js +0 -1
  677. package/web/chunk-32qd2y5h.js.br +0 -0
  678. package/web/chunk-32qd2y5h.js.gz +0 -0
  679. package/web/chunk-366a11ec.js +0 -1
  680. package/web/chunk-366a11ec.js.br +0 -0
  681. package/web/chunk-366a11ec.js.gz +0 -0
  682. package/web/chunk-39kaz6fa.js +0 -4
  683. package/web/chunk-39kaz6fa.js.br +0 -0
  684. package/web/chunk-39kaz6fa.js.gz +0 -0
  685. package/web/chunk-3d3y4tep.js +0 -214
  686. package/web/chunk-3d3y4tep.js.br +0 -0
  687. package/web/chunk-3d3y4tep.js.gz +0 -0
  688. package/web/chunk-4makcmpw.js +0 -1
  689. package/web/chunk-4makcmpw.js.br +0 -0
  690. package/web/chunk-4makcmpw.js.gz +0 -0
  691. package/web/chunk-4mypk63p.js +0 -2
  692. package/web/chunk-4mypk63p.js.br +0 -0
  693. package/web/chunk-4mypk63p.js.gz +0 -0
  694. package/web/chunk-4wd9r73y.js +0 -1
  695. package/web/chunk-4wd9r73y.js.br +0 -0
  696. package/web/chunk-4wd9r73y.js.gz +0 -0
  697. package/web/chunk-4zftsyq2.js +0 -2
  698. package/web/chunk-4zftsyq2.js.br +0 -0
  699. package/web/chunk-4zftsyq2.js.gz +0 -0
  700. package/web/chunk-50wrjr22.js +0 -2
  701. package/web/chunk-50wrjr22.js.br +0 -0
  702. package/web/chunk-50wrjr22.js.gz +0 -0
  703. package/web/chunk-52tt9qt4.js +0 -2
  704. package/web/chunk-52tt9qt4.js.br +0 -0
  705. package/web/chunk-52tt9qt4.js.gz +0 -0
  706. package/web/chunk-55kw8p9r.js +0 -89
  707. package/web/chunk-55kw8p9r.js.br +0 -0
  708. package/web/chunk-55kw8p9r.js.gz +0 -0
  709. package/web/chunk-56tqa12m.js +0 -2
  710. package/web/chunk-56tqa12m.js.br +0 -0
  711. package/web/chunk-56tqa12m.js.gz +0 -0
  712. package/web/chunk-595tqsv5.js +0 -1
  713. package/web/chunk-595tqsv5.js.br +0 -0
  714. package/web/chunk-595tqsv5.js.gz +0 -0
  715. package/web/chunk-5cp4n5ck.js +0 -2
  716. package/web/chunk-5cp4n5ck.js.br +0 -0
  717. package/web/chunk-5cp4n5ck.js.gz +0 -0
  718. package/web/chunk-5h193k2c.js +0 -1
  719. package/web/chunk-5h193k2c.js.br +0 -0
  720. package/web/chunk-5h193k2c.js.gz +0 -0
  721. package/web/chunk-5nbmnchg.js +0 -16
  722. package/web/chunk-5nbmnchg.js.br +0 -0
  723. package/web/chunk-5nbmnchg.js.gz +0 -0
  724. package/web/chunk-5vc1wkwb.js +0 -2
  725. package/web/chunk-5vc1wkwb.js.br +0 -0
  726. package/web/chunk-5vc1wkwb.js.gz +0 -0
  727. package/web/chunk-5wgdprjp.js +0 -1
  728. package/web/chunk-5wgdprjp.js.br +0 -0
  729. package/web/chunk-5wgdprjp.js.gz +0 -0
  730. package/web/chunk-60fbfw70.js +0 -1
  731. package/web/chunk-60fbfw70.js.br +0 -0
  732. package/web/chunk-60fbfw70.js.gz +0 -0
  733. package/web/chunk-62z94rt2.js +0 -36
  734. package/web/chunk-62z94rt2.js.br +0 -0
  735. package/web/chunk-62z94rt2.js.gz +0 -0
  736. package/web/chunk-67khfy00.css +0 -1
  737. package/web/chunk-67khfy00.css.br +0 -0
  738. package/web/chunk-67khfy00.css.gz +0 -0
  739. package/web/chunk-6bt2t0xt.js +0 -8
  740. package/web/chunk-6bt2t0xt.js.br +0 -0
  741. package/web/chunk-6bt2t0xt.js.gz +0 -0
  742. package/web/chunk-780qvh05.js +0 -99
  743. package/web/chunk-780qvh05.js.br +0 -0
  744. package/web/chunk-780qvh05.js.gz +0 -0
  745. package/web/chunk-78t5dqea.js +0 -324
  746. package/web/chunk-78t5dqea.js.br +0 -0
  747. package/web/chunk-78t5dqea.js.gz +0 -0
  748. package/web/chunk-7cf1kk45.js +0 -1
  749. package/web/chunk-7cf1kk45.js.br +0 -2
  750. package/web/chunk-7cf1kk45.js.gz +0 -0
  751. package/web/chunk-7edmyret.js +0 -1
  752. package/web/chunk-7edmyret.js.br +0 -0
  753. package/web/chunk-7edmyret.js.gz +0 -0
  754. package/web/chunk-7remkcff.js +0 -2
  755. package/web/chunk-7remkcff.js.br +0 -0
  756. package/web/chunk-7remkcff.js.gz +0 -0
  757. package/web/chunk-7s062q01.js +0 -1
  758. package/web/chunk-7s062q01.js.br +0 -0
  759. package/web/chunk-7s062q01.js.gz +0 -0
  760. package/web/chunk-82zwwy0b.js +0 -1
  761. package/web/chunk-82zwwy0b.js.br +0 -0
  762. package/web/chunk-82zwwy0b.js.gz +0 -0
  763. package/web/chunk-89crtpnw.js +0 -1
  764. package/web/chunk-89crtpnw.js.br +0 -0
  765. package/web/chunk-89crtpnw.js.gz +0 -0
  766. package/web/chunk-8c6h952g.js +0 -106
  767. package/web/chunk-8c6h952g.js.br +0 -0
  768. package/web/chunk-8c6h952g.js.gz +0 -0
  769. package/web/chunk-8g239029.js +0 -1
  770. package/web/chunk-8g239029.js.br +0 -0
  771. package/web/chunk-8g239029.js.gz +0 -0
  772. package/web/chunk-8wgev3hd.js +0 -1
  773. package/web/chunk-8wgev3hd.js.br +0 -0
  774. package/web/chunk-8wgev3hd.js.gz +0 -0
  775. package/web/chunk-9r7nbre7.js +0 -2
  776. package/web/chunk-9r7nbre7.js.br +0 -0
  777. package/web/chunk-9r7nbre7.js.gz +0 -0
  778. package/web/chunk-9vcbnf1m.js +0 -1
  779. package/web/chunk-9vcbnf1m.js.br +0 -0
  780. package/web/chunk-9vcbnf1m.js.gz +0 -0
  781. package/web/chunk-9y9nwaqj.js +0 -1
  782. package/web/chunk-9y9nwaqj.js.br +0 -0
  783. package/web/chunk-9y9nwaqj.js.gz +0 -0
  784. package/web/chunk-abahqsws.js +0 -2
  785. package/web/chunk-abahqsws.js.br +0 -0
  786. package/web/chunk-abahqsws.js.gz +0 -0
  787. package/web/chunk-acv6gk2b.js +0 -2
  788. package/web/chunk-acv6gk2b.js.br +0 -0
  789. package/web/chunk-acv6gk2b.js.gz +0 -0
  790. package/web/chunk-ad6x47yy.js +0 -1
  791. package/web/chunk-ad6x47yy.js.br +0 -0
  792. package/web/chunk-ad6x47yy.js.gz +0 -0
  793. package/web/chunk-ajpzsx51.js +0 -1
  794. package/web/chunk-ajpzsx51.js.br +0 -0
  795. package/web/chunk-ajpzsx51.js.gz +0 -0
  796. package/web/chunk-b1b9txvk.js +0 -1
  797. package/web/chunk-b1b9txvk.js.br +0 -0
  798. package/web/chunk-b1b9txvk.js.gz +0 -0
  799. package/web/chunk-b83bzjcx.js +0 -1134
  800. package/web/chunk-b83bzjcx.js.br +0 -0
  801. package/web/chunk-b83bzjcx.js.gz +0 -0
  802. package/web/chunk-c1zhat04.js +0 -1
  803. package/web/chunk-c1zhat04.js.br +0 -0
  804. package/web/chunk-c1zhat04.js.gz +0 -0
  805. package/web/chunk-c37hhmtd.js +0 -62
  806. package/web/chunk-c37hhmtd.js.br +0 -0
  807. package/web/chunk-c37hhmtd.js.gz +0 -0
  808. package/web/chunk-c69t0ysj.js +0 -1
  809. package/web/chunk-c69t0ysj.js.br +0 -0
  810. package/web/chunk-c69t0ysj.js.gz +0 -0
  811. package/web/chunk-caz85hz4.js +0 -1
  812. package/web/chunk-caz85hz4.js.br +0 -0
  813. package/web/chunk-caz85hz4.js.gz +0 -0
  814. package/web/chunk-cbtpaf3e.js +0 -7
  815. package/web/chunk-cbtpaf3e.js.br +0 -0
  816. package/web/chunk-cbtpaf3e.js.gz +0 -0
  817. package/web/chunk-d18r4m14.js +0 -141
  818. package/web/chunk-d18r4m14.js.br +0 -0
  819. package/web/chunk-d18r4m14.js.gz +0 -0
  820. package/web/chunk-d1gga18f.js +0 -217
  821. package/web/chunk-d1gga18f.js.br +0 -0
  822. package/web/chunk-d1gga18f.js.gz +0 -0
  823. package/web/chunk-d4kjy2qn.js +0 -1
  824. package/web/chunk-d4kjy2qn.js.br +0 -0
  825. package/web/chunk-d4kjy2qn.js.gz +0 -0
  826. package/web/chunk-dbv8qpen.js +0 -303
  827. package/web/chunk-dbv8qpen.js.br +0 -0
  828. package/web/chunk-dbv8qpen.js.gz +0 -0
  829. package/web/chunk-dmqtdeb4.js +0 -1
  830. package/web/chunk-dmqtdeb4.js.br +0 -0
  831. package/web/chunk-dmqtdeb4.js.gz +0 -0
  832. package/web/chunk-e65y60v1.js +0 -2
  833. package/web/chunk-e65y60v1.js.br +0 -0
  834. package/web/chunk-e65y60v1.js.gz +0 -0
  835. package/web/chunk-e6r1sb5r.js +0 -7
  836. package/web/chunk-e6r1sb5r.js.br +0 -0
  837. package/web/chunk-e6r1sb5r.js.gz +0 -0
  838. package/web/chunk-ed8qqn45.js +0 -2
  839. package/web/chunk-ed8qqn45.js.br +0 -0
  840. package/web/chunk-ed8qqn45.js.gz +0 -0
  841. package/web/chunk-ef1h0tt7.js +0 -2
  842. package/web/chunk-ef1h0tt7.js.br +0 -0
  843. package/web/chunk-ef1h0tt7.js.gz +0 -0
  844. package/web/chunk-ep5qff8m.js +0 -1
  845. package/web/chunk-ep5qff8m.js.br +0 -0
  846. package/web/chunk-ep5qff8m.js.gz +0 -0
  847. package/web/chunk-ex66t805.js +0 -120
  848. package/web/chunk-ex66t805.js.br +0 -0
  849. package/web/chunk-ex66t805.js.gz +0 -0
  850. package/web/chunk-fb8qtyqg.js +0 -1
  851. package/web/chunk-fb8qtyqg.js.br +0 -0
  852. package/web/chunk-fb8qtyqg.js.gz +0 -0
  853. package/web/chunk-fbzhgaak.js +0 -98
  854. package/web/chunk-fbzhgaak.js.br +0 -0
  855. package/web/chunk-fbzhgaak.js.gz +0 -0
  856. package/web/chunk-ffwyfdg4.js +0 -1
  857. package/web/chunk-ffwyfdg4.js.br +0 -0
  858. package/web/chunk-ffwyfdg4.js.gz +0 -0
  859. package/web/chunk-fsz1msjr.js +0 -2
  860. package/web/chunk-fsz1msjr.js.br +0 -0
  861. package/web/chunk-fsz1msjr.js.gz +0 -0
  862. package/web/chunk-fztzcy7c.js +0 -89
  863. package/web/chunk-fztzcy7c.js.br +0 -0
  864. package/web/chunk-fztzcy7c.js.gz +0 -0
  865. package/web/chunk-g3vbtxgy.js +0 -2
  866. package/web/chunk-g3vbtxgy.js.br +0 -0
  867. package/web/chunk-g3vbtxgy.js.gz +0 -0
  868. package/web/chunk-g4st8a4e.js +0 -1
  869. package/web/chunk-g4st8a4e.js.br +0 -0
  870. package/web/chunk-g4st8a4e.js.gz +0 -0
  871. package/web/chunk-gs41j1vb.js +0 -1
  872. package/web/chunk-gs41j1vb.js.br +0 -0
  873. package/web/chunk-gs41j1vb.js.gz +0 -0
  874. package/web/chunk-gt4dzb4b.js +0 -292
  875. package/web/chunk-gt4dzb4b.js.br +0 -0
  876. package/web/chunk-gt4dzb4b.js.gz +0 -0
  877. package/web/chunk-h4g8j133.js +0 -7
  878. package/web/chunk-h4g8j133.js.br +0 -0
  879. package/web/chunk-h4g8j133.js.gz +0 -0
  880. package/web/chunk-hj067dfg.js +0 -1
  881. package/web/chunk-hj067dfg.js.br +0 -2
  882. package/web/chunk-hj067dfg.js.gz +0 -0
  883. package/web/chunk-hp167dbv.js +0 -1
  884. package/web/chunk-hp167dbv.js.br +0 -0
  885. package/web/chunk-hp167dbv.js.gz +0 -0
  886. package/web/chunk-ht3cek8b.js +0 -1
  887. package/web/chunk-ht3cek8b.js.br +0 -2
  888. package/web/chunk-ht3cek8b.js.gz +0 -0
  889. package/web/chunk-hw4f79k8.js +0 -1
  890. package/web/chunk-hw4f79k8.js.br +0 -0
  891. package/web/chunk-hw4f79k8.js.gz +0 -0
  892. package/web/chunk-j2y3wkxc.js +0 -40
  893. package/web/chunk-j2y3wkxc.js.br +0 -0
  894. package/web/chunk-j2y3wkxc.js.gz +0 -0
  895. package/web/chunk-j4942vkb.js +0 -1
  896. package/web/chunk-j4942vkb.js.br +0 -0
  897. package/web/chunk-j4942vkb.js.gz +0 -0
  898. package/web/chunk-j7sfcfxr.js +0 -1
  899. package/web/chunk-j7sfcfxr.js.br +0 -0
  900. package/web/chunk-j7sfcfxr.js.gz +0 -0
  901. package/web/chunk-jge5e8c4.js +0 -1
  902. package/web/chunk-jge5e8c4.js.br +0 -0
  903. package/web/chunk-jge5e8c4.js.gz +0 -0
  904. package/web/chunk-jyjgvcac.js +0 -2
  905. package/web/chunk-jyjgvcac.js.br +0 -0
  906. package/web/chunk-jyjgvcac.js.gz +0 -0
  907. package/web/chunk-k1d0y72z.js +0 -2
  908. package/web/chunk-k1d0y72z.js.br +0 -0
  909. package/web/chunk-k1d0y72z.js.gz +0 -0
  910. package/web/chunk-k9bzz441.js +0 -1
  911. package/web/chunk-k9bzz441.js.br +0 -0
  912. package/web/chunk-k9bzz441.js.gz +0 -0
  913. package/web/chunk-keway722.js +0 -39
  914. package/web/chunk-keway722.js.br +0 -0
  915. package/web/chunk-keway722.js.gz +0 -0
  916. package/web/chunk-kh0xyffx.js +0 -1
  917. package/web/chunk-kh0xyffx.js.br +0 -0
  918. package/web/chunk-kh0xyffx.js.gz +0 -0
  919. package/web/chunk-kr7shpnb.js +0 -4
  920. package/web/chunk-kr7shpnb.js.br +0 -0
  921. package/web/chunk-kr7shpnb.js.gz +0 -0
  922. package/web/chunk-ktvxgxsd.js +0 -2
  923. package/web/chunk-ktvxgxsd.js.br +0 -0
  924. package/web/chunk-ktvxgxsd.js.gz +0 -0
  925. package/web/chunk-kv5swske.js +0 -1
  926. package/web/chunk-kv5swske.js.br +0 -0
  927. package/web/chunk-kv5swske.js.gz +0 -0
  928. package/web/chunk-kx2k462h.js +0 -1
  929. package/web/chunk-kx2k462h.js.br +0 -0
  930. package/web/chunk-kx2k462h.js.gz +0 -0
  931. package/web/chunk-m5b7hny2.js +0 -2
  932. package/web/chunk-m5b7hny2.js.br +0 -0
  933. package/web/chunk-m5b7hny2.js.gz +0 -0
  934. package/web/chunk-m7kypzvp.js +0 -2
  935. package/web/chunk-m7kypzvp.js.br +0 -0
  936. package/web/chunk-m7kypzvp.js.gz +0 -0
  937. package/web/chunk-n00se8nk.js +0 -2
  938. package/web/chunk-n00se8nk.js.br +0 -0
  939. package/web/chunk-n00se8nk.js.gz +0 -0
  940. package/web/chunk-n419cees.js +0 -1
  941. package/web/chunk-n419cees.js.br +0 -0
  942. package/web/chunk-n419cees.js.gz +0 -0
  943. package/web/chunk-n45fgfyt.js +0 -1
  944. package/web/chunk-n45fgfyt.js.br +0 -2
  945. package/web/chunk-n45fgfyt.js.gz +0 -0
  946. package/web/chunk-n5v71fas.js +0 -2
  947. package/web/chunk-n5v71fas.js.br +0 -0
  948. package/web/chunk-n5v71fas.js.gz +0 -0
  949. package/web/chunk-ngdj0r7w.js +0 -24
  950. package/web/chunk-ngdj0r7w.js.br +0 -0
  951. package/web/chunk-ngdj0r7w.js.gz +0 -0
  952. package/web/chunk-nzey7cpv.js +0 -1
  953. package/web/chunk-nzey7cpv.js.br +0 -0
  954. package/web/chunk-nzey7cpv.js.gz +0 -0
  955. package/web/chunk-p6ma361e.js +0 -2
  956. package/web/chunk-p6ma361e.js.br +0 -0
  957. package/web/chunk-p6ma361e.js.gz +0 -0
  958. package/web/chunk-p76f6cf4.js +0 -2
  959. package/web/chunk-p76f6cf4.js.br +0 -0
  960. package/web/chunk-p76f6cf4.js.gz +0 -0
  961. package/web/chunk-pvhz0gqy.js +0 -332
  962. package/web/chunk-pvhz0gqy.js.br +0 -0
  963. package/web/chunk-pvhz0gqy.js.gz +0 -0
  964. package/web/chunk-q96eky9v.js +0 -1
  965. package/web/chunk-q96eky9v.js.br +0 -0
  966. package/web/chunk-q96eky9v.js.gz +0 -0
  967. package/web/chunk-qcgs1mft.js +0 -2
  968. package/web/chunk-qcgs1mft.js.br +0 -0
  969. package/web/chunk-qcgs1mft.js.gz +0 -0
  970. package/web/chunk-qgtqwmkb.js +0 -1
  971. package/web/chunk-qgtqwmkb.js.br +0 -2
  972. package/web/chunk-qgtqwmkb.js.gz +0 -0
  973. package/web/chunk-qh24q7c0.js +0 -2
  974. package/web/chunk-qh24q7c0.js.br +0 -0
  975. package/web/chunk-qh24q7c0.js.gz +0 -0
  976. package/web/chunk-qygjhm63.js +0 -1
  977. package/web/chunk-qygjhm63.js.br +0 -0
  978. package/web/chunk-qygjhm63.js.gz +0 -0
  979. package/web/chunk-r1dnh0s8.js +0 -1
  980. package/web/chunk-r1dnh0s8.js.br +0 -0
  981. package/web/chunk-r1dnh0s8.js.gz +0 -0
  982. package/web/chunk-r1xksxab.js +0 -1
  983. package/web/chunk-r1xksxab.js.br +0 -0
  984. package/web/chunk-r1xksxab.js.gz +0 -0
  985. package/web/chunk-r5eakmw6.js +0 -1
  986. package/web/chunk-r5eakmw6.js.br +0 -0
  987. package/web/chunk-r5eakmw6.js.gz +0 -0
  988. package/web/chunk-rfsg5rke.js +0 -1
  989. package/web/chunk-rfsg5rke.js.br +0 -2
  990. package/web/chunk-rfsg5rke.js.gz +0 -0
  991. package/web/chunk-rsc5k5he.js +0 -139
  992. package/web/chunk-rsc5k5he.js.br +0 -0
  993. package/web/chunk-rsc5k5he.js.gz +0 -0
  994. package/web/chunk-s7a2f62f.js +0 -140
  995. package/web/chunk-s7a2f62f.js.br +0 -0
  996. package/web/chunk-s7a2f62f.js.gz +0 -0
  997. package/web/chunk-s7h50avx.js +0 -2
  998. package/web/chunk-s7h50avx.js.br +0 -0
  999. package/web/chunk-s7h50avx.js.gz +0 -0
  1000. package/web/chunk-sac6fn9n.js +0 -24
  1001. package/web/chunk-sac6fn9n.js.br +0 -0
  1002. package/web/chunk-sac6fn9n.js.gz +0 -0
  1003. package/web/chunk-sk47kk5j.js +0 -1
  1004. package/web/chunk-sk47kk5j.js.br +0 -0
  1005. package/web/chunk-sk47kk5j.js.gz +0 -0
  1006. package/web/chunk-t0xjx21h.js +0 -30
  1007. package/web/chunk-t0xjx21h.js.br +0 -0
  1008. package/web/chunk-t0xjx21h.js.gz +0 -0
  1009. package/web/chunk-t6agpn2z.js +0 -1
  1010. package/web/chunk-t6agpn2z.js.br +0 -0
  1011. package/web/chunk-t6agpn2z.js.gz +0 -0
  1012. package/web/chunk-t9heac9a.js +0 -2
  1013. package/web/chunk-t9heac9a.js.br +0 -0
  1014. package/web/chunk-t9heac9a.js.gz +0 -0
  1015. package/web/chunk-v7ck87jf.js +0 -1
  1016. package/web/chunk-v7ck87jf.js.br +0 -0
  1017. package/web/chunk-v7ck87jf.js.gz +0 -0
  1018. package/web/chunk-vvk9nche.js +0 -21
  1019. package/web/chunk-vvk9nche.js.br +0 -0
  1020. package/web/chunk-vvk9nche.js.gz +0 -0
  1021. package/web/chunk-vxtfen72.js +0 -1
  1022. package/web/chunk-vxtfen72.js.br +0 -0
  1023. package/web/chunk-vxtfen72.js.gz +0 -0
  1024. package/web/chunk-w5c2r59n.js +0 -41
  1025. package/web/chunk-w5c2r59n.js.br +0 -0
  1026. package/web/chunk-w5c2r59n.js.gz +0 -0
  1027. package/web/chunk-wh0vt2vd.js +0 -34
  1028. package/web/chunk-wh0vt2vd.js.br +0 -0
  1029. package/web/chunk-wh0vt2vd.js.gz +0 -0
  1030. package/web/chunk-wvvrdqgb.js +0 -1
  1031. package/web/chunk-wvvrdqgb.js.br +0 -2
  1032. package/web/chunk-wvvrdqgb.js.gz +0 -0
  1033. package/web/chunk-xe7fj72r.js +0 -1
  1034. package/web/chunk-xe7fj72r.js.br +0 -0
  1035. package/web/chunk-xe7fj72r.js.gz +0 -0
  1036. package/web/chunk-xp9tdb5t.js +0 -1
  1037. package/web/chunk-xp9tdb5t.js.br +0 -2
  1038. package/web/chunk-xp9tdb5t.js.gz +0 -0
  1039. package/web/chunk-y10hsdq4.js +0 -1
  1040. package/web/chunk-y10hsdq4.js.br +0 -0
  1041. package/web/chunk-y10hsdq4.js.gz +0 -0
  1042. package/web/chunk-yarsp7h7.js +0 -12
  1043. package/web/chunk-yarsp7h7.js.br +0 -0
  1044. package/web/chunk-yarsp7h7.js.gz +0 -0
  1045. package/web/chunk-yw5wyz1q.js +0 -55
  1046. package/web/chunk-yw5wyz1q.js.br +0 -0
  1047. package/web/chunk-yw5wyz1q.js.gz +0 -0
  1048. package/web/chunk-z09emmrb.js +0 -1
  1049. package/web/chunk-z09emmrb.js.br +0 -0
  1050. package/web/chunk-z09emmrb.js.gz +0 -0
  1051. package/web/chunk-z3ea4vhk.js +0 -1
  1052. package/web/chunk-z3ea4vhk.js.br +0 -0
  1053. package/web/chunk-z3ea4vhk.js.gz +0 -0
  1054. package/web/chunk-z7adzvfz.js +0 -1
  1055. package/web/chunk-z7adzvfz.js.br +0 -0
  1056. package/web/chunk-z7adzvfz.js.gz +0 -0
  1057. package/web/chunk-zb01zmms.js +0 -84
  1058. package/web/chunk-zb01zmms.js.br +0 -0
  1059. package/web/chunk-zb01zmms.js.gz +0 -0
@@ -0,0 +1 @@
1
+ import{Ns}from"./chunk-9xb3j03w.js";export{Ns as createInfoServices};
@@ -0,0 +1,2 @@
1
+ �"�import{Ns}from"./chunk-9xb3j03w.js";export{Ns as createInfoServices};
2
+ 
Binary file
@@ -0,0 +1 @@
1
+ import{te,a,e,n,y,ye,se}from"./chunk-svaq7f3c.js";import{Vn,Qr}from"./chunk-q6sv3fhe.js";import"./chunk-2eg9t1mz.js";function B({connection:p}){let{Button:r,ModelIcon:u,ModelSelector:f,SettingGroup:d,SettingRow:h,Switch:v,cn:x}=y(),c=te(),[S,b]=a(""),s=Qr({connection:p,endpoint:"/api/plugins/agents/settings",loadError:"读取理事会设置失败",toBody:(t)=>({schemaVersion:1,models:t.models,research:t.research}),differs:(t,i)=>JSON.stringify(t.models)!==JSON.stringify(i.models)||t.research!==i.research}),N=(t)=>{if(!t)return;s.edit((i)=>{if(i.models.includes(t)||i.models.length>=8)return i;return{...i,models:[...i.models,t]}}),b("")},k=(t)=>{s.edit((i)=>({...i,models:i.models.filter((o)=>o!==t)}))},l=s.settings?.models??[];return n("form",{id:c,onSubmit:s.save,className:"min-w-0 space-y-5",children:[e(d,{title:"参会模型",description:`已选 ${l.length}/8,至少 2 个模型参与群聊交叉审查`,children:n("ul",{className:"divide-y divide-line/60",children:[l.map((t)=>{let i=s.modelList.models.find((C)=>C.id===t),o=t.indexOf("/"),m=o<0?"":t.slice(0,o),g=i?.name??(o<0?t:t.slice(o+1));return n("li",{title:t,className:"group flex min-h-11 items-center gap-3",children:[e("span",{className:"flex size-7 shrink-0 items-center justify-center rounded-lg bg-raised",children:e(u,{modelID:t,className:"size-4",size:16})}),e("span",{className:"min-w-0 flex-1 truncate text-[13px] text-ink",children:g}),m&&e("span",{className:"max-w-32 shrink-0 truncate text-xs text-faint",children:m}),e(r,{type:"button",size:"icon-xs",variant:"ghost",disabled:s.loading||s.saving,"aria-label":`移除 ${g}`,onClick:()=>k(t),className:"text-faint opacity-40 group-hover:opacity-100 hover:text-danger focus-visible:opacity-100",children:e(se,{className:"size-3.5"})})]},t)}),l.length<8&&n("li",{className:"flex items-center gap-2",children:[e("div",{className:"min-w-0 flex-1",children:e(f,{variant:"add",models:{models:s.modelList.models.filter((t)=>!l.includes(t.id))},value:S,onChange:N})}),e(r,{type:"button",size:"icon-xs",variant:"ghost",disabled:s.loading||s.refreshing||s.saving,"aria-label":"刷新模型列表",title:"刷新模型列表",onClick:()=>void s.load(!0),className:"text-faint hover:text-ink",children:e(ye,{className:x("size-3.5",s.refreshing&&"animate-spin")})})]})]})}),e(d,{title:"流程",children:e(h,{title:"调研阶段",description:"表态前各自先查证,关闭后直接发表意见",children:e(v,{label:"调研阶段",checked:s.settings?.research??!0,disabled:s.loading||s.saving,onCheckedChange:(t)=>{s.edit((i)=>({...i,research:t}))}})})}),e(Vn,{formID:c,notice:s.notice,dirty:s.dirty,busy:s.loading||s.saving,saving:s.saving,onReset:s.reset})]})}export{B as CouncilSettingsSection};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{Es}from"./chunk-9xb3j03w.js";export{Es as createCynefinServices};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ var e=Object.freeze({displayName:"Dockerfile",name:"docker",patterns:[{captures:{"1":{name:"keyword.other.special-method.dockerfile"},"2":{name:"keyword.other.special-method.dockerfile"}},match:/^\p{space}*\b(FROM)\b[^\n]*?\b(AS)\b/dgiv},{captures:{"1":{name:"keyword.control.dockerfile"},"2":{name:"keyword.other.special-method.dockerfile"}},match:/^\p{space}*(?:(ONBUILD)\p{space}+)?(ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)\p{space}/dgiv},{captures:{"1":{name:"keyword.operator.dockerfile"},"2":{name:"keyword.other.special-method.dockerfile"}},match:/^\p{space}*(?:(ONBUILD)\p{space}+)?(CMD|ENTRYPOINT)\p{space}/dgiv},{include:"#string-character-escape"},{begin:/"/dgv,beginCaptures:{"1":{name:"punctuation.definition.string.begin.dockerfile"}},end:/"/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.dockerfile"}},name:"string.quoted.double.dockerfile",patterns:[{include:"#string-character-escape"}]},{begin:/'/dgv,beginCaptures:{"1":{name:"punctuation.definition.string.begin.dockerfile"}},end:/'/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.dockerfile"}},name:"string.quoted.single.dockerfile",patterns:[{include:"#string-character-escape"}]},{captures:{"1":{name:"punctuation.whitespace.comment.leading.dockerfile"},"2":{name:"comment.line.number-sign.dockerfile"},"3":{name:"punctuation.definition.comment.dockerfile"}},match:/^(\p{space}*)((#)[^\n]*(?=\n?$)\n?)/dgv}],repository:{"string-character-escape":{match:/\\[^\n]/dgv,name:"constant.character.escaped.dockerfile"}},scopeName:"source.dockerfile",embeddedLangs:void 0,aliases:["dockerfile"]}),n=[e];export{n as default};
Binary file
Binary file
@@ -0,0 +1,140 @@
1
+ import{t,i,Pe,A,C,W,L,u,g,To,qr,gr,Eo,Za,Qa,Ja,ei,Lo,No,Mo,Po,Ro,Io,Do,Oo,$o,Bo,Fo,zo,Ho,Uo,jo,qo,Vo,vr,Wo,Re,Te,Ee,Rt,It,wn,dn,kn,pa,ar,ua}from"./chunk-22rjbwxp.js";import{_e}from"./chunk-phs38wt7.js";import{At}from"./chunk-9h6ayn54.js";import{Dn}from"./chunk-0s237vb2.js";function ye(e){return Array.isArray(e)}function we(e){if(qr(e))return e;let o=gr(e);if(!qe(e))return{};if(ye(e)){let a=Array.from(e);if(e.length>0&&typeof e[0]==="string"&&Object.hasOwn(e,"index"))a.index=e.index,a.input=e.input;return a}if(vr(e)){let a=e;return new a.constructor(a.buffer,a.byteOffset,a.length)}if(o==="[object ArrayBuffer]")return new ArrayBuffer(e.byteLength);if(o==="[object DataView]"){let a=e,{buffer:d,byteOffset:f,byteLength:r}=a,p=new ArrayBuffer(r),y=new Uint8Array(d,f,r);return new Uint8Array(p).set(y),new DataView(p)}if(o==="[object Boolean]"||o==="[object Number]"||o==="[object String]"){let d=new e.constructor(e.valueOf());if(o==="[object String]")Ze(d,e);else ce(d,e);return d}if(o==="[object Date]")return new Date(Number(e));if(o==="[object RegExp]"){let a=e,d=new RegExp(a.source,a.flags);return d.lastIndex=a.lastIndex,d}if(o==="[object Symbol]")return Object(Symbol.prototype.valueOf.call(e));if(o==="[object Map]"){let a=e,d=new Map;return a.forEach((f,r)=>{d.set(r,f)}),d}if(o==="[object Set]"){let a=e,d=new Set;return a.forEach((f)=>{d.add(f)}),d}if(o==="[object Arguments]"){let a=e,d={};return ce(d,a),d.length=a.length,d[Symbol.iterator]=a[Symbol.iterator],d}let c={};return Qe(c,e),ce(c,e),Je(c,e),c}function qe(e){switch(gr(e)){case ei:case Ro:case Io:case Oo:case Ja:case No:case qo:case Vo:case Ho:case Uo:case jo:case Mo:case Qa:case Do:case Eo:case Po:case Za:case Lo:case $o:case Bo:case Fo:case zo:return!0;default:return!1}}function ce(e,o){for(let c in o)if(Object.hasOwn(o,c))e[c]=o[c]}function Je(e,o){let c=Object.getOwnPropertySymbols(o);for(let a=0;a<c.length;a++){let d=c[a];if(Object.prototype.propertyIsEnumerable.call(o,d))e[d]=o[d]}}function Ze(e,o){let c=o.valueOf().length;for(let a in o)if(Object.hasOwn(o,a)&&(Number.isNaN(Number(a))||Number(a)>=c))e[a]=o[a]}function Qe(e,o){let c=Object.getPrototypeOf(o);if(c!==null){if(typeof o.constructor==="function")Object.setPrototypeOf(e,c)}}var he=function(){var e=t(function(B,b,n,h){for(n=n||{},h=B.length;h--;n[B[h]]=b);return n},"o"),o=[1,15],c=[1,7],a=[1,13],d=[1,14],f=[1,19],r=[1,16],p=[1,17],y=[1,18],w=[8,30],m=[8,10,21,28,29,30,31,39,43,46],x=[1,23],E=[1,24],D=[8,10,15,16,21,28,29,30,31,39,43,46],k=[8,10,15,16,21,27,28,29,30,31,39,43,46],N=[1,49],T={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"NODE_ID",34:"DIR",35:"NODE_DSTART",36:"NODE_DEND",37:"BLOCK_ARROW_START",38:"BLOCK_ARROW_END",39:"classDef",40:"CLASSDEF_ID",41:"CLASSDEF_STYLEOPTS",42:"DEFAULT",43:"class",44:"CLASSENTITY_IDS",45:"STYLECLASS",46:"style",47:"STYLE_ENTITY_IDS",48:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:t(function(b,n,h,S,_,s,H){var l=s.length-1;switch(_){case 4:S.getLogger().debug("Rule: separator (NL) ");break;case 5:S.getLogger().debug("Rule: separator (Space) ");break;case 6:S.getLogger().debug("Rule: separator (EOF) ");break;case 7:S.getLogger().debug("Rule: hierarchy: ",s[l-1]),S.setHierarchy(s[l-1]);break;case 8:S.getLogger().debug("Stop NL ");break;case 9:S.getLogger().debug("Stop EOF ");break;case 10:S.getLogger().debug("Stop NL2 ");break;case 11:S.getLogger().debug("Stop EOF2 ");break;case 12:S.getLogger().debug("Rule: statement: ",s[l]),typeof s[l].length==="number"?this.$=s[l]:this.$=[s[l]];break;case 13:S.getLogger().debug("Rule: statement #2: ",s[l-1]),this.$=[s[l-1]].concat(s[l]);break;case 14:S.getLogger().debug("Rule: link: ",s[l],b),this.$={edgeTypeStr:s[l],label:""};break;case 15:S.getLogger().debug("Rule: LABEL link: ",s[l-3],s[l-1],s[l]),this.$={edgeTypeStr:s[l],label:s[l-1]};break;case 18:let V=parseInt(s[l]),j=S.generateId();this.$={id:j,type:"space",label:"",width:V,children:[]};break;case 23:S.getLogger().debug("Rule: (nodeStatement link node) ",s[l-2],s[l-1],s[l]," typestr: ",s[l-1].edgeTypeStr);let G=S.edgeStrToEdgeData(s[l-1].edgeTypeStr),re=S.edgeStrToEdgeStartData(s[l-1].edgeTypeStr),q=S.edgeStrToThickness(s[l-1].edgeTypeStr),se=S.edgeStrToPattern(s[l-1].edgeTypeStr);this.$=[{id:s[l-2].id,label:s[l-2].label,type:s[l-2].type,directions:s[l-2].directions},{id:s[l-2].id+"-"+s[l].id,start:s[l-2].id,end:s[l].id,label:s[l-1].label,type:"edge",thickness:q,pattern:se,directions:s[l].directions,arrowTypeEnd:G,arrowTypeStart:re},{id:s[l].id,label:s[l].label,type:S.typeStr2Type(s[l].typeStr),directions:s[l].directions}];break;case 24:S.getLogger().debug("Rule: nodeStatement (abc88 node size) ",s[l-1],s[l]),this.$={id:s[l-1].id,label:s[l-1].label,type:S.typeStr2Type(s[l-1].typeStr),directions:s[l-1].directions,widthInColumns:parseInt(s[l],10)};break;case 25:S.getLogger().debug("Rule: nodeStatement (node) ",s[l]),this.$={id:s[l].id,label:s[l].label,type:S.typeStr2Type(s[l].typeStr),directions:s[l].directions,widthInColumns:1};break;case 26:S.getLogger().debug("APA123",this?this:"na"),S.getLogger().debug("COLUMNS: ",s[l]),this.$={type:"column-setting",columns:s[l]==="auto"?-1:parseInt(s[l])};break;case 27:S.getLogger().debug("Rule: id-block statement : ",s[l-2],s[l-1]);let I=S.generateId();this.$={...s[l-2],type:"composite",children:s[l-1]};break;case 28:S.getLogger().debug("Rule: blockStatement : ",s[l-2],s[l-1],s[l]);let M=S.generateId();this.$={id:M,type:"composite",label:"",children:s[l-1]};break;case 29:S.getLogger().debug("Rule: node (NODE_ID separator): ",s[l]),this.$={id:s[l]};break;case 30:S.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",s[l-1],s[l]),this.$={id:s[l-1],label:s[l].label,typeStr:s[l].typeStr,directions:s[l].directions};break;case 31:S.getLogger().debug("Rule: dirList: ",s[l]),this.$=[s[l]];break;case 32:S.getLogger().debug("Rule: dirList: ",s[l-1],s[l]),this.$=[s[l-1]].concat(s[l]);break;case 33:S.getLogger().debug("Rule: nodeShapeNLabel: ",s[l-2],s[l-1],s[l]),this.$={typeStr:s[l-2]+s[l],label:s[l-1]};break;case 34:S.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",s[l-3],s[l-2]," #3:",s[l-1],s[l]),this.$={typeStr:s[l-3]+s[l],label:s[l-2],directions:s[l-1]};break;case 35:case 36:this.$={type:"classDef",id:s[l-1].trim(),css:s[l].trim()};break;case 37:this.$={type:"applyClass",id:s[l-1].trim(),styleClass:s[l].trim()};break;case 38:this.$={type:"applyStyles",id:s[l-1].trim(),stylesStr:s[l].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:o,11:3,13:4,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:a,29:d,31:f,39:r,43:p,46:y},{8:[1,20]},e(w,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:o,21:c,28:a,29:d,31:f,39:r,43:p,46:y}),e(m,[2,16],{14:22,15:x,16:E}),e(m,[2,17]),e(m,[2,18]),e(m,[2,19]),e(m,[2,20]),e(m,[2,21]),e(m,[2,22]),e(D,[2,25],{27:[1,25]}),e(m,[2,26]),{19:26,26:12,31:f},{10:o,11:27,13:4,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:a,29:d,31:f,39:r,43:p,46:y},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},e(k,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},e(w,[2,13]),{26:35,31:f},{31:[2,14]},{17:[1,36]},e(D,[2,24]),{10:o,11:37,13:4,14:22,15:x,16:E,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:a,29:d,31:f,39:r,43:p,46:y},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},e(k,[2,30]),{18:[1,43]},{18:[1,44]},e(D,[2,23]),{18:[1,45]},{30:[1,46]},e(m,[2,28]),e(m,[2,35]),e(m,[2,36]),e(m,[2,37]),e(m,[2,38]),{36:[1,47]},{33:48,34:N},{15:[1,50]},e(m,[2,27]),e(k,[2,33]),{38:[1,51]},{33:52,34:N,38:[2,31]},{31:[2,15]},e(k,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:t(function(b,n){if(n.recoverable)this.trace(b);else{var h=Error(b);throw h.hash=n,h}},"parseError"),parse:t(function(b){var n=this,h=[0],S=[],_=[null],s=[],H=this.table,l="",V=0,j=0,G=0,re=2,q=1,se=s.slice.call(arguments,1),I=Object.create(this.lexer),M={yy:{}};for(var ie in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,ie))M.yy[ie]=this.yy[ie];if(I.setInput(b,M.yy),M.yy.lexer=I,M.yy.parser=this,typeof I.yylloc>"u")I.yylloc={};var ae=I.yylloc;s.push(ae);var je=I.options&&I.options.ranges;if(typeof M.yy.parseError==="function")this.parseError=M.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Ge(P){h.length=h.length-2*P,_.length=_.length-P,s.length=s.length-P}t(Ge,"popStack");function Le(){var P=S.pop()||I.lex()||q;if(typeof P!=="number"){if(P instanceof Array)S=P,P=S.pop();P=n.symbols_[P]||P}return P}t(Le,"lex");var v,ne,Y,R,Tt,oe,U={},J,K,ke,Z;while(!0){if(Y=h[h.length-1],this.defaultActions[Y])R=this.defaultActions[Y];else{if(v===null||typeof v>"u")v=Le();R=H[Y]&&H[Y][v]}if(typeof R>"u"||!R.length||!R[0]){var le="";Z=[];for(J in H[Y])if(this.terminals_[J]&&J>re)Z.push("'"+this.terminals_[J]+"'");if(I.showPosition)le="Parse error on line "+(V+1)+`:
2
+ `+I.showPosition()+`
3
+ Expecting `+Z.join(", ")+", got '"+(this.terminals_[v]||v)+"'";else le="Parse error on line "+(V+1)+": Unexpected "+(v==q?"end of input":"'"+(this.terminals_[v]||v)+"'");this.parseError(le,{text:I.match,token:this.terminals_[v]||v,line:I.yylineno,loc:ae,expected:Z})}if(R[0]instanceof Array&&R.length>1)throw Error("Parse Error: multiple actions possible at state: "+Y+", token: "+v);switch(R[0]){case 1:if(h.push(v),_.push(I.yytext),s.push(I.yylloc),h.push(R[1]),v=null,!ne){if(j=I.yyleng,l=I.yytext,V=I.yylineno,ae=I.yylloc,G>0)G--}else v=ne,ne=null;break;case 2:if(K=this.productions_[R[1]][1],U.$=_[_.length-K],U._$={first_line:s[s.length-(K||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(K||1)].first_column,last_column:s[s.length-1].last_column},je)U._$.range=[s[s.length-(K||1)].range[0],s[s.length-1].range[1]];if(oe=this.performAction.apply(U,[l,j,V,M.yy,R[1],_,s].concat(se)),typeof oe<"u")return oe;if(K)h=h.slice(0,-1*K*2),_=_.slice(0,-1*K),s=s.slice(0,-1*K);h.push(this.productions_[R[1]][0]),_.push(U.$),s.push(U._$),ke=H[h[h.length-2]][h[h.length-1]],h.push(ke);break;case 3:return!0}}return!0},"parse")},O=function(){var B={EOF:1,parseError:t(function(n,h){if(this.yy.parser)this.yy.parser.parseError(n,h);else throw Error(n)},"parseError"),setInput:t(function(b,n){if(this.yy=n||this.yy||{},this._input=b,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 b=this._input[0];this.yytext+=b,this.yyleng++,this.offset++,this.match+=b,this.matched+=b;var n=b.match(/(?:\r\n?|\n).*/g);if(n)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),b},"input"),unput:t(function(b){var n=b.length,h=b.split(/(?:\r\n?|\n)/g);this._input=b+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var S=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),h.length-1)this.yylineno-=h.length-1;var _=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:h?(h.length===S.length?this.yylloc.first_column:0)+S[S.length-h.length].length-h[0].length:this.yylloc.first_column-n},this.options.ranges)this.yylloc.range=[_[0],_[0]+this.yyleng-n];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(b){this.unput(this.match.slice(b))},"less"),pastInput:t(function(){var b=this.matched.substr(0,this.matched.length-this.match.length);return(b.length>20?"...":"")+b.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var b=this.match;if(b.length<20)b+=this._input.substr(0,20-b.length);return(b.substr(0,20)+(b.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var b=this.pastInput(),n=Array(b.length+1).join("-");return b+this.upcomingInput()+`
5
+ `+n+"^"},"showPosition"),test_match:t(function(b,n){var h,S,_;if(this.options.backtrack_lexer){if(_={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges)_.yylloc.range=this.yylloc.range.slice(0)}if(S=b[0].match(/(?:\r\n?|\n).*/g),S)this.yylineno+=S.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:S?S[S.length-1].length-S[S.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+b[0].length},this.yytext+=b[0],this.match+=b[0],this.matches=b,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(b[0].length),this.matched+=b[0],h=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(h)return h;else if(this._backtrack){for(var s in _)this[s]=_[s];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var b,n,h,S;if(!this._more)this.yytext="",this.match="";var _=this._currentRules();for(var s=0;s<_.length;s++)if(h=this._input.match(this.rules[_[s]]),h&&(!n||h[0].length>n[0].length)){if(n=h,S=s,this.options.backtrack_lexer)if(b=this.test_match(h,_[s]),b!==!1)return b;else if(this._backtrack){n=!1;continue}else return!1;else if(!this.options.flex)break}if(n){if(b=this.test_match(n,_[S]),b!==!1)return b;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var n=this.next();if(n)return n;else return this.lex()},"lex"),begin:t(function(n){this.conditionStack.push(n)},"begin"),popState:t(function(){var n=this.conditionStack.length-1;if(n>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(n){if(n=this.conditionStack.length-1-Math.abs(n||0),n>=0)return this.conditionStack[n];else return"INITIAL"},"topState"),pushState:t(function(n){this.begin(n)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:t(function(n,h,S,_){var s=_;switch(S){case 0:return n.getLogger().debug("Found block-beta"),10;break;case 1:return n.getLogger().debug("Found id-block"),29;break;case 2:return n.getLogger().debug("Found block"),10;break;case 3:n.getLogger().debug(".",h.yytext);break;case 4:n.getLogger().debug("_",h.yytext);break;case 5:return 5;case 6:return h.yytext=-1,28;break;case 7:return h.yytext=h.yytext.replace(/columns\s+/,""),n.getLogger().debug("COLUMNS (LEX)",h.yytext),28;break;case 8:this.pushState("md_string");break;case 9:return"MD_STR";case 10:this.popState();break;case 11:this.pushState("string");break;case 12:n.getLogger().debug("LEX: POPPING STR:",h.yytext),this.popState();break;case 13:return n.getLogger().debug("LEX: STR end:",h.yytext),"STR";break;case 14:return h.yytext=h.yytext.replace(/space\:/,""),n.getLogger().debug("SPACE NUM (LEX)",h.yytext),21;break;case 15:return h.yytext="1",n.getLogger().debug("COLUMNS (LEX)",h.yytext),21;break;case 16:return 42;case 17:return"LINKSTYLE";case 18:return"INTERPOLATE";case 19:return this.pushState("CLASSDEF"),39;break;case 20:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";break;case 21:return this.popState(),this.pushState("CLASSDEFID"),40;break;case 22:return this.popState(),41;break;case 23:return this.pushState("CLASS"),43;break;case 24:return this.popState(),this.pushState("CLASS_STYLE"),44;break;case 25:return this.popState(),45;break;case 26:return this.pushState("STYLE_STMNT"),46;break;case 27:return this.popState(),this.pushState("STYLE_DEFINITION"),47;break;case 28:return this.popState(),48;break;case 29:return this.pushState("acc_title"),"acc_title";break;case 30:return this.popState(),"acc_title_value";break;case 31:return this.pushState("acc_descr"),"acc_descr";break;case 32:return this.popState(),"acc_descr_value";break;case 33:this.pushState("acc_descr_multiline");break;case 34:this.popState();break;case 35:return"acc_descr_multiline_value";case 36:return 30;case 37:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 38:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 39:return this.popState(),n.getLogger().debug("Lex: ))"),"NODE_DEND";break;case 40:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 41:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 42:return this.popState(),n.getLogger().debug("Lex: (-"),"NODE_DEND";break;case 43:return this.popState(),n.getLogger().debug("Lex: -)"),"NODE_DEND";break;case 44:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 45:return this.popState(),n.getLogger().debug("Lex: ]]"),"NODE_DEND";break;case 46:return this.popState(),n.getLogger().debug("Lex: ("),"NODE_DEND";break;case 47:return this.popState(),n.getLogger().debug("Lex: ])"),"NODE_DEND";break;case 48:return this.popState(),n.getLogger().debug("Lex: /]"),"NODE_DEND";break;case 49:return this.popState(),n.getLogger().debug("Lex: /]"),"NODE_DEND";break;case 50:return this.popState(),n.getLogger().debug("Lex: )]"),"NODE_DEND";break;case 51:return this.popState(),n.getLogger().debug("Lex: )"),"NODE_DEND";break;case 52:return this.popState(),n.getLogger().debug("Lex: ]>"),"NODE_DEND";break;case 53:return this.popState(),n.getLogger().debug("Lex: ]"),"NODE_DEND";break;case 54:return n.getLogger().debug("Lexa: -)"),this.pushState("NODE"),35;break;case 55:return n.getLogger().debug("Lexa: (-"),this.pushState("NODE"),35;break;case 56:return n.getLogger().debug("Lexa: ))"),this.pushState("NODE"),35;break;case 57:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 58:return n.getLogger().debug("Lex: ((("),this.pushState("NODE"),35;break;case 59:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 60:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 61:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 62:return n.getLogger().debug("Lexc: >"),this.pushState("NODE"),35;break;case 63:return n.getLogger().debug("Lexa: (["),this.pushState("NODE"),35;break;case 64:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 65:return this.pushState("NODE"),35;break;case 66:return this.pushState("NODE"),35;break;case 67:return this.pushState("NODE"),35;break;case 68:return this.pushState("NODE"),35;break;case 69:return this.pushState("NODE"),35;break;case 70:return this.pushState("NODE"),35;break;case 71:return this.pushState("NODE"),35;break;case 72:return n.getLogger().debug("Lexa: ["),this.pushState("NODE"),35;break;case 73:return this.pushState("BLOCK_ARROW"),n.getLogger().debug("LEX ARR START"),37;break;case 74:return n.getLogger().debug("Lex: NODE_ID",h.yytext),31;break;case 75:return n.getLogger().debug("Lex: EOF",h.yytext),8;break;case 76:this.pushState("md_string");break;case 77:this.pushState("md_string");break;case 78:return"NODE_DESCR";case 79:this.popState();break;case 80:n.getLogger().debug("Lex: Starting string"),this.pushState("string");break;case 81:n.getLogger().debug("LEX ARR: Starting string"),this.pushState("string");break;case 82:return n.getLogger().debug("LEX: NODE_DESCR:",h.yytext),"NODE_DESCR";break;case 83:n.getLogger().debug("LEX POPPING"),this.popState();break;case 84:n.getLogger().debug("Lex: =>BAE"),this.pushState("ARROW_DIR");break;case 85:return h.yytext=h.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (right): dir:",h.yytext),"DIR";break;case 86:return h.yytext=h.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (left):",h.yytext),"DIR";break;case 87:return h.yytext=h.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (x):",h.yytext),"DIR";break;case 88:return h.yytext=h.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (y):",h.yytext),"DIR";break;case 89:return h.yytext=h.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (up):",h.yytext),"DIR";break;case 90:return h.yytext=h.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (down):",h.yytext),"DIR";break;case 91:return h.yytext="]>",n.getLogger().debug("Lex (ARROW_DIR end):",h.yytext),this.popState(),this.popState(),"BLOCK_ARROW_END";break;case 92:return n.getLogger().debug("Lex: LINK","#"+h.yytext+"#"),15;break;case 93:return n.getLogger().debug("Lex: LINK",h.yytext),15;break;case 94:return n.getLogger().debug("Lex: LINK",h.yytext),15;break;case 95:return n.getLogger().debug("Lex: LINK",h.yytext),15;break;case 96:return n.getLogger().debug("Lex: START_LINK",h.yytext),this.pushState("LLABEL"),16;break;case 97:return n.getLogger().debug("Lex: START_LINK",h.yytext),this.pushState("LLABEL"),16;break;case 98:return n.getLogger().debug("Lex: START_LINK",h.yytext),this.pushState("LLABEL"),16;break;case 99:this.pushState("md_string");break;case 100:return n.getLogger().debug("Lex: Starting string"),this.pushState("string"),"LINK_LABEL";break;case 101:return this.popState(),n.getLogger().debug("Lex: LINK","#"+h.yytext+"#"),15;break;case 102:return this.popState(),n.getLogger().debug("Lex: LINK",h.yytext),15;break;case 103:return this.popState(),n.getLogger().debug("Lex: LINK",h.yytext),15;break;case 104:return n.getLogger().debug("Lex: COLON",h.yytext),h.yytext=h.yytext.slice(1),27;break}},"anonymous"),rules:[/^(?:block-beta\b)/,/^(?:block:)/,/^(?:block\b)/,/^(?:[\s]+)/,/^(?:[\n]+)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:columns\s+auto\b)/,/^(?:columns\s+[\d]+)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:space[:]\d+)/,/^(?:space\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\s+)/,/^(?:DEFAULT\s+)/,/^(?:\w+\s+)/,/^(?:[^\n]*)/,/^(?:class\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:style\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:end\b\s*)/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:[\)]\))/,/^(?:\}\})/,/^(?:\})/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\()/,/^(?:\]\])/,/^(?:\()/,/^(?:\]\))/,/^(?:\\\])/,/^(?:\/\])/,/^(?:\)\])/,/^(?:[\)])/,/^(?:\]>)/,/^(?:[\]])/,/^(?:-\))/,/^(?:\(-)/,/^(?:\)\))/,/^(?:\))/,/^(?:\(\(\()/,/^(?:\(\()/,/^(?:\{\{)/,/^(?:\{)/,/^(?:>)/,/^(?:\(\[)/,/^(?:\()/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\[\\)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:\[)/,/^(?:<\[)/,/^(?:[^\(\[\n\-\)\{\}\s\<\>:=]+)/,/^(?:$)/,/^(?:["][`])/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:\]>\s*\()/,/^(?:,?\s*right\s*)/,/^(?:,?\s*left\s*)/,/^(?:,?\s*x\s*)/,/^(?:,?\s*y\s*)/,/^(?:,?\s*up\s*)/,/^(?:,?\s*down\s*)/,/^(?:\)\s*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:["][`])/,/^(?:["])/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?::\d+)/],conditions:{STYLE_DEFINITION:{rules:[28],inclusive:!1},STYLE_STMNT:{rules:[27],inclusive:!1},CLASSDEFID:{rules:[22],inclusive:!1},CLASSDEF:{rules:[20,21],inclusive:!1},CLASS_STYLE:{rules:[25],inclusive:!1},CLASS:{rules:[24],inclusive:!1},LLABEL:{rules:[99,100,101,102,103],inclusive:!1},ARROW_DIR:{rules:[85,86,87,88,89,90,91],inclusive:!1},BLOCK_ARROW:{rules:[76,81,84],inclusive:!1},NODE:{rules:[37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,77,80],inclusive:!1},md_string:{rules:[9,10,78,79],inclusive:!1},space:{rules:[],inclusive:!1},string:{rules:[12,13,82,83],inclusive:!1},acc_descr_multiline:{rules:[34,35],inclusive:!1},acc_descr:{rules:[32],inclusive:!1},acc_title:{rules:[30],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,11,14,15,16,17,18,19,23,26,29,31,33,36,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,92,93,94,95,96,97,98,104],inclusive:!0}}};return B}();T.lexer=O;function z(){this.yy={}}return t(z,"Parser"),z.prototype=T,T.Parser=z,new z}();he.parser=he;var $e=he,F=new Map,pe=[],ge=new Map,De="color",Ne="fill",et="bgFill",Oe=",",Q=new Map,fe="",tt=t((e)=>C.sanitizeText(e,u()),"sanitizeText"),rt=t(function(e,o=""){let c=Q.get(e);if(!c)c={id:e,styles:[],textStyles:[]},Q.set(e,c);if(o!==void 0&&o!==null)o.split(Oe).forEach((a)=>{let d=a.replace(/([^;]*);/,"$1").trim();if(RegExp(De).exec(a)){let r=d.replace(Ne,et).replace(De,Ne);c.textStyles.push(r)}c.styles.push(d)})},"addStyleClass"),st=t(function(e,o=""){let c=F.get(e);if(o!==void 0&&o!==null)c.styles=o.split(Oe)},"addStyle2Node"),it=t(function(e,o){e.split(",").forEach(function(c){let a=F.get(c);if(a===void 0){let d=c.trim();a={id:d,type:"na",children:[]},F.set(d,a)}if(!a.classes)a.classes=[];a.classes.push(o)})},"setCssClass"),Ce=0,ve=t((e,o)=>{let c=e.flat(),a=[],f=c.find((r)=>r?.type==="column-setting")?.columns??-1;for(let r of c){if(typeof f==="number"&&f>0&&r.type!=="column-setting"&&typeof r.widthInColumns==="number"&&r.widthInColumns>f)i.warn(`Block ${r.id} width ${r.widthInColumns} exceeds configured column width ${f}`);if(r.label)r.label=tt(r.label);if(r.type==="classDef"){rt(r.id,r.css);continue}if(r.type==="applyClass"){it(r.id,r?.styleClass??"");continue}if(r.type==="applyStyles"){if(r?.stylesStr)st(r.id,r?.stylesStr);continue}if(r.type==="column-setting")o.columns=r.columns??-1;else if(r.type==="edge"){let p=(ge.get(r.id)??0)+1;ge.set(r.id,p),r.id=p+"-"+r.id,pe.push(r)}else{if(!r.label)if(r.type==="composite")r.label="";else r.label=r.id;let p=F.get(r.id);if(p===void 0){if(r.type==="composite")r.colorIndex=Ce++;F.set(r.id,r)}else{if(r.type!=="na")p.type=r.type;if(r.label!==r.id)p.label=r.label}if(r.children)ve(r.children,r);if(r.type==="space"){let y=r.width??1;for(let w=0;w<y;w++){let m=we(r);m.id=m.id+"-"+w,F.set(m.id,m),a.push(m)}}else if(p===void 0)a.push(r)}}o.children=a},"populateBlockDatabase"),be=[],X={id:"root",type:"composite",children:[],columns:-1},at=t(()=>{i.debug("Clear called"),L(),X={id:"root",type:"composite",children:[],columns:-1},F=new Map([["root",X]]),be=[],Q=new Map,pe=[],ge=new Map,fe="",Ce=0},"clear");function Ae(e){switch(i.debug("typeStr2Type",e),e){case"[]":return"square";case"()":return i.debug("we have a round"),"round";case"(())":return"circle";case">]":return"rect_left_inv_arrow";case"{}":return"diamond";case"{{}}":return"hexagon";case"([])":return"stadium";case"[[]]":return"subroutine";case"[()]":return"cylinder";case"((()))":return"doublecircle";case"[//]":return"lean_right";case"[\\\\]":return"lean_left";case"[/\\]":return"trapezoid";case"[\\/]":return"inv_trapezoid";case"<[]>":return"block_arrow";default:return"na"}}t(Ae,"typeStr2Type");function ze(e){switch(i.debug("typeStr2Type",e),e){case"==":return"thick";default:return"normal"}}t(ze,"edgeTypeStr2Type");function Be(e){switch(e.trim().slice(-1)){case"x":return"arrow_cross";case"o":return"arrow_circle";case">":return"arrow_point";default:return""}}t(Be,"edgeStrToEdgeData");function Fe(e){switch(e.trim().charAt(0)){case"x":return"arrow_cross";case"o":return"arrow_circle";case"<":return"arrow_point";default:return"arrow_open"}}t(Fe,"edgeStrToEdgeStartData");function Me(e){return e.includes("==")?"thick":"normal"}t(Me,"edgeStrToThickness");function Ke(e){if(e.includes(".-"))return"dotted";return"solid"}t(Ke,"edgeStrToPattern");var Ie=0,nt=t(()=>(Ie++,"id-"+Math.random().toString(36).substr(2,12)+"-"+Ie),"generateId"),ot=t((e)=>{X.children=e,ve(e,X),be=X.children},"setHierarchy"),lt=t((e)=>{let o=F.get(e);if(!o)return-1;if(o.columns)return o.columns;if(!o.children)return-1;return o.children.length},"getColumns"),ct=t(()=>[...F.values()],"getBlocksFlat"),ut=t(()=>be||[],"getBlocks"),ht=t(()=>pe,"getEdges"),gt=t((e)=>F.get(e),"getBlock"),dt=t((e)=>{F.set(e.id,e)},"setBlock"),pt=t((e)=>{fe=e},"setDiagramId"),ft=t(()=>fe,"getDiagramId"),bt=t(()=>i,"getLogger"),St=t(function(){return Q},"getClasses"),xt={getConfig:t(()=>A().block,"getConfig"),typeStr2Type:Ae,edgeTypeStr2Type:ze,edgeStrToEdgeData:Be,edgeStrToEdgeStartData:Fe,edgeStrToThickness:Me,edgeStrToPattern:Ke,getLogger:bt,getBlocksFlat:ct,getBlocks:ut,getEdges:ht,setHierarchy:ot,getBlock:gt,setBlock:dt,getColumns:lt,getClasses:St,clear:at,generateId:nt,setDiagramId:pt,getDiagramId:ft},mt=xt,Lt=t((e)=>{let{theme:o,bkgColorArray:c,borderColorArray:a}=e;if(!Te(o,a))return"";let d=Ee(e.look),f=Re(c),r="";for(let p=0;p<Rt(e.THEME_COLOR_LIMIT,a);p++){let y=a[p%a.length],w=f?`fill: ${c[p%c.length]};`:"",m=`[data-look="${d}"][data-color-id="color-${p}"]`;r+=`
7
+
8
+ ${m}.node rect.composite {
9
+ stroke: ${y};
10
+ ${w}
11
+ }
12
+ `}return r},"genColor"),ue=t((e,o)=>{let c=Dn,a=c(e,"r"),d=c(e,"g"),f=c(e,"b");return Pe(a,d,f,o)},"fade"),kt=t((e)=>`${Lt(e)}
13
+ .label {
14
+ font-family: ${e.fontFamily};
15
+ color: ${e.nodeTextColor||e.textColor};
16
+ }
17
+ .cluster-label text {
18
+ fill: ${e.titleColor};
19
+ }
20
+ .cluster-label span {
21
+ color: ${e.titleColor};
22
+ }
23
+
24
+
25
+
26
+ .label text,span {
27
+ fill: ${e.nodeTextColor||e.textColor};
28
+ color: ${e.nodeTextColor||e.textColor};
29
+ }
30
+
31
+ .node rect,
32
+ .node circle,
33
+ .node ellipse,
34
+ .node polygon,
35
+ .node path {
36
+ fill: ${e.mainBkg};
37
+ stroke: ${e.nodeBorder};
38
+ /* From the theme, as every other diagram does. Pinned at 1px here, so block drew a
39
+ thinner border than an identical flowchart node under any theme asking for more --
40
+ the neo theme asks for 2. Nothing downstream corrected it: the neo rules set stroke
41
+ and filter, never stroke-width. */
42
+ stroke-width: ${e.strokeWidth??1}px;
43
+ }
44
+ .flowchart-label text {
45
+ text-anchor: middle;
46
+ }
47
+ // .flowchart-label .text-outer-tspan {
48
+ // text-anchor: middle;
49
+ // }
50
+ // .flowchart-label .text-inner-tspan {
51
+ // text-anchor: start;
52
+ // }
53
+
54
+ .node .label {
55
+ text-align: center;
56
+ }
57
+ .node.clickable {
58
+ cursor: pointer;
59
+ }
60
+
61
+ .arrowheadPath {
62
+ fill: ${e.arrowheadColor};
63
+ }
64
+
65
+ .edgePaths .path {
66
+ stroke: ${e.lineColor};
67
+ stroke-width: 2.0px;
68
+ }
69
+
70
+ .flowchart-link {
71
+ stroke: ${e.lineColor};
72
+ fill: none;
73
+ }
74
+
75
+ .edgeLabel {
76
+ background-color: ${e.edgeLabelBackground};
77
+ /*
78
+ * This is for backward compatibility with existing code that didn't
79
+ * add a \`<p>\` around edge labels.
80
+ *
81
+ * TODO: We should probably remove this in a future release.
82
+ */
83
+ p {
84
+ margin: 0;
85
+ padding: 0;
86
+ display: inline;
87
+ }
88
+ rect {
89
+ opacity: 0.5;
90
+ background-color: ${e.edgeLabelBackground};
91
+ fill: ${e.edgeLabelBackground};
92
+ }
93
+ text-align: center;
94
+ }
95
+
96
+ /* For html labels only */
97
+ .labelBkg {
98
+ background-color: ${e.edgeLabelBackground};
99
+ }
100
+
101
+ .node .cluster {
102
+ // fill: ${ue(e.mainBkg,0.5)};
103
+ fill: ${ue(e.clusterBkg,0.5)};
104
+ stroke: ${ue(e.clusterBorder,0.2)};
105
+ box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
106
+ stroke-width: 1px;
107
+ }
108
+
109
+ .cluster text {
110
+ fill: ${e.titleColor};
111
+ }
112
+
113
+ .cluster span {
114
+ color: ${e.titleColor};
115
+ }
116
+ /* .cluster div {
117
+ color: ${e.titleColor};
118
+ } */
119
+
120
+ div.mermaidTooltip {
121
+ position: absolute;
122
+ text-align: center;
123
+ max-width: 200px;
124
+ padding: 2px;
125
+ font-family: ${e.fontFamily};
126
+ font-size: 12px;
127
+ background: ${e.tertiaryColor};
128
+ border: 1px solid ${e.border2};
129
+ border-radius: 2px;
130
+ pointer-events: none;
131
+ z-index: 100;
132
+ }
133
+
134
+ .flowchartTitleText {
135
+ text-anchor: middle;
136
+ font-size: 18px;
137
+ fill: ${e.textColor};
138
+ }
139
+ ${At()}
140
+ `,"getStyles"),yt=kt;function de(e,o){if(e===0||!Number.isInteger(e))throw Error("Columns must be an integer !== 0.");if(o<0||!Number.isInteger(o))throw Error("Position must be a non-negative integer."+o);if(e<0)return{px:o,py:0};if(e===1)return{px:0,py:o};let c=o%e,a=Math.floor(o/e);return{px:c,py:a}}t(de,"calculateBlockPosition");var wt=t((e)=>{let o=0,c=0;for(let a of e.children){let{width:d,height:f,x:r,y:p}=a.size??{width:0,height:0,x:0,y:0};if(i.debug("getMaxChildSize abc95 child:",a.id,"width:",d,"height:",f,"x:",r,"y:",p,a.type),a.type==="space")continue;let y=d/(a.widthInColumns??1);if(y>o)o=y;if(f>c)c=f}return{width:o,height:c}},"getMaxChildSize");function ee(e,o,c=0,a=0,d=8){if(i.debug("setBlockSizes abc95 (start)",e.id,e?.size?.x,"block width =",e?.size,"siblingWidth",c),!e?.size?.width)e.size={width:c,height:a,x:0,y:0};let f=0,r=0;if(e.children?.length>0){for(let k of e.children)ee(k,o,0,0,d);let p=wt(e);f=p.width,r=p.height,i.debug("setBlockSizes abc95 maxWidth of",e.id,":s children is ",f,r);for(let k of e.children)if(k.size)i.debug(`abc95 Setting size of children of ${e.id} id=${k.id} ${f} ${r} ${JSON.stringify(k.size)}`),k.size.width=f*(k.widthInColumns??1)+d*((k.widthInColumns??1)-1),k.size.height=r,k.size.x=0,k.size.y=0,i.debug(`abc95 updating size of ${e.id} children child:${k.id} maxWidth:${f} maxHeight:${r}`);for(let k of e.children)ee(k,o,f,r,d);let y=e.columns??-1,w=0;for(let k of e.children)w+=k.widthInColumns??1;let m=e.children.length;if(y>0&&y<w)m=y;let x=Math.ceil(w/m),E=m*(f+d)+d,D=x*(r+d)+d;if(E<c){i.debug(`Detected to small sibling: abc95 ${e.id} siblingWidth ${c} siblingHeight ${a} width ${E}`),E=c,D=a;let k=(c-m*d-d)/m,N=(a-x*d-d)/x;i.debug("Size indata abc88",e.id,"childWidth",k,"maxWidth",f),i.debug("Size indata abc88",e.id,"childHeight",N,"maxHeight",r),i.debug("Size indata abc88 xSize",m,"padding",d);for(let T of e.children)if(T.size)T.size.width=k,T.size.height=N,T.size.x=0,T.size.y=0}if(i.debug(`abc95 (finale calc) ${e.id} xSize ${m} ySize ${x} columns ${y}${e.children.length} width=${Math.max(E,e.size?.width||0)}`),E<(e?.size?.width||0)){E=e?.size?.width||0;let k=y>0?Math.min(e.children.length,y):e.children.length;if(k>0){let N=(E-k*d-d)/k;i.debug("abc95 (growing to fit) width",e.id,E,e.size?.width,N);for(let T of e.children)if(T.size)T.size.width=N}}e.size={width:E,height:D,x:0,y:0}}i.debug("setBlockSizes abc94 (done)",e.id,e?.size?.x,e?.size?.width,e?.size?.y,e?.size?.height)}t(ee,"setBlockSizes");function Se(e,o,c=8){i.debug(`abc85 layout blocks (=>layoutBlocks) ${e.id} x: ${e?.size?.x} y: ${e?.size?.y} width: ${e?.size?.width}`);let a=e.columns??-1;if(i.debug("layoutBlocks columns abc95",e.id,"=>",a,e),e.children&&e.children.length>0){let d=e?.children[0]?.size?.width??0,f=e.children.length*d+(e.children.length-1)*c;i.debug("widthOfChildren 88",f,"posX");let r=new Map;{let x=0;for(let E of e.children){if(!E.size)continue;let{py:D}=de(a,x),k=r.get(D)??0;if(E.size.height>k)r.set(D,E.size.height);let N=E?.widthInColumns??1;if(a>0)N=Math.min(N,a-x%a);x+=N}}let p=new Map;{let x=0,E=[...r.keys()].sort((D,k)=>D-k);for(let D of E)p.set(D,x),x+=(r.get(D)??0)+c}let y=0;i.debug("abc91 block?.size?.x",e.id,e?.size?.x);let w=e?.size?.x?e?.size?.x+(-e?.size?.width/2||0):-c,m=0;for(let x of e.children){let E=e;if(!x.size)continue;let{width:D,height:k}=x.size,{px:N,py:T}=de(a,y);if(T!=m)m=T,w=e?.size?.x?e?.size?.x+(-e?.size?.width/2||0):-c,i.debug("New row in layout for block",e.id," and child ",x.id,m);if(i.debug(`abc89 layout blocks (child) id: ${x.id} Pos: ${y} (px, py) ${N},${T} (${E?.size?.x},${E?.size?.y}) parent: ${E.id} width: ${D}${c}`),E.size){let z=D/2;x.size.x=w+c+z,i.debug(`abc91 layout blocks (calc) px, pyid:${x.id} startingPos=X${w} new startingPosX${x.size.x} ${z} padding=${c} width=${D} halfWidth=${z} => x:${x.size.x} y:${x.size.y} ${x.widthInColumns} (width * (child?.w || 1)) / 2 ${D*(x?.widthInColumns??1)/2}`),w=x.size.x+z;let B=p.get(T)??0,b=r.get(T)??k;x.size.y=E.size.y-E.size.height/2+B+b/2+c,i.debug(`abc88 layout blocks (calc) px, pyid:${x.id}startingPosX${w}${c}${z}=>x:${x.size.x}y:${x.size.y}${x.widthInColumns}(width * (child?.w || 1)) / 2${D*(x?.widthInColumns??1)/2}`)}if(x.children)Se(x,o,c);let O=x?.widthInColumns??1;if(a>0)O=Math.min(O,a-y%a);y+=O,i.debug("abc88 columnsPos",x,y)}}i.debug(`layout blocks (<==layoutBlocks) ${e.id} x: ${e?.size?.x} y: ${e?.size?.y} width: ${e?.size?.width}`)}t(Se,"layoutBlocks");function xe(e,{minX:o,minY:c,maxX:a,maxY:d}={minX:0,minY:0,maxX:0,maxY:0}){if(e.size&&e.id!=="root"){let{x:f,y:r,width:p,height:y}=e.size;if(f-p/2<o)o=f-p/2;if(r-y/2<c)c=r-y/2;if(f+p/2>a)a=f+p/2;if(r+y/2>d)d=r+y/2}if(e.children)for(let f of e.children)({minX:o,minY:c,maxX:a,maxY:d}=xe(f,{minX:o,minY:c,maxX:a,maxY:d}));return{minX:o,minY:c,maxX:a,maxY:d}}t(xe,"findBounds");function Ye(e){let o=e.getBlock("root");if(!o)return;let c=u()?.block?.padding??8;ee(o,e,0,0,c),Se(o,e,c),i.debug("getBlocks",JSON.stringify(o,null,2));let{minX:a,minY:d,maxX:f,maxY:r}=xe(o),p=r-d,y=f-a;return{x:a,y:d,width:y,height:p}}t(Ye,"layout");function me(e,o,c=!1){let a=e,d="default";if((a?.classes?.length||0)>0)d=(a?.classes??[]).join(" ");d=d+" flowchart-label";let f=(a?.classes??[]).flatMap((k)=>o.getClasses().get(k)?.styles??[]),r=0,p="rect",y;switch(a.type){case"round":r=5,p="rect";break;case"composite":r=0,p="composite",y=0;break;case"square":p="rect";break;case"diamond":p="question";break;case"hexagon":p="hexagon";break;case"block_arrow":p="block_arrow";break;case"odd":p="rect_left_inv_arrow";break;case"lean_right":p="lean_right";break;case"lean_left":p="lean_left";break;case"trapezoid":p="trapezoid";break;case"inv_trapezoid":p="inv_trapezoid";break;case"rect_left_inv_arrow":p="rect_left_inv_arrow";break;case"circle":p="circle";break;case"ellipse":p="ellipse";break;case"stadium":p="stadium";break;case"subroutine":p="subroutine";break;case"cylinder":p="cylinder";break;case"group":p="rect";break;case"doublecircle":p="doublecircle";break;default:p="rect"}let w=Wo(a?.styles??[]),m=a.label,x=a.size??{width:0,height:0,x:0,y:0},E=o.getDiagramId();return{labelStyle:w.labelStyle,shape:p,label:m,labelText:m,rx:r,ry:r,class:d,cssClasses:d,cssStyles:a?.styles??[],cssCompiledStyles:f,style:w.style,id:a.id,domId:E?`${E}-${a.id}`:a.id,isGroup:!1,directions:a.directions,width:x.width||void 0,height:x.height||void 0,wrappingWidth:x.width||Number.POSITIVE_INFINITY,x:x.x,y:x.y,positioned:c,intersect:void 0,padding:y??A()?.block?.padding??0,widthInColumns:a.widthInColumns??1,colorIndex:a.colorIndex,look:A().look}}t(me,"getNodeFromBlock");async function We(e,o,c){let a=me(o,c,!1);if(o.type==="group")return;let d=A(),f=await wn(e,a,{config:d}),r=f.node()?.getBBox()??{width:0,height:0},p=c.getBlock(a.id);p.size={width:r.width,height:r.height,x:0,y:0,node:f},c.setBlock(p),f.remove()}t(We,"calculateBlockSize");async function Ve(e,o,c){let a=me(o,c,!0);if(c.getBlock(a.id).type!=="space"){let f=A(),r=await wn(e,a,{config:f});if(a.colorIndex!==void 0)It(r,a.colorIndex,f.theme,f.themeVariables?.borderColorArray);o.intersect=a?.intersect,dn(a)}}t(Ve,"insertBlockPositioned");async function te(e,o,c,a){for(let d of o)if(await a(e,d,c),d.children)await te(e,d.children,c,a)}t(te,"performOperations");async function Ue(e,o,c){await te(e,o,c,We)}t(Ue,"calculateBlockSizes");async function He(e,o,c){await te(e,o,c,Ve)}t(He,"insertBlocks");async function Xe(e,o,c,a,d){let f=new _e({multigraph:!0,compound:!0});f.setGraph({rankdir:"TB",nodesep:10,ranksep:10,marginx:8,marginy:8});for(let r of c)if(r.size)f.setNode(r.id,{width:r.size.width,height:r.size.height,intersect:r.intersect});for(let r of o)if(r.start&&r.end){let p=a.getBlock(r.start),y=a.getBlock(r.end);if(p?.size&&y?.size){let w=p.size,m=y.size,x=[{x:w.x,y:w.y},{x:w.x+(m.x-w.x)/2,y:w.y+(m.y-w.y)/2},{x:m.x,y:m.y}],E=d?`${d}-${r.id}`:r.id,D=r.thickness==="thick"?"edge-thickness-thick":"edge-thickness-normal",k=r.pattern==="dotted"?"edge-pattern-dotted":"edge-pattern-solid",N=`${D} ${k} flowchart-link LS-a1 LE-b1`;if(ar(e,{...r,id:E,arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:x,classes:N},{},"block",f.node(r.start),f.node(r.end),d),r.label)await kn(e,{...r,label:r.label,labelStyle:"stroke: #333; stroke-width: 1.5px;fill:none;",arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:x,classes:N}),pa({...r,x:x[1].x,y:x[1].y},{originalPath:x})}}}t(Xe,"insertEdges");var Et=t(function(e,o){return o.db.getClasses()},"getClasses"),_t=t(async function(e,o,c,a){let{securityLevel:d,block:f}=A(),r=a.db;r.setDiagramId(o);let p;if(d==="sandbox")p=g("#i"+o);let y=d==="sandbox"?g(p.nodes()[0].contentDocument.body):g("body"),w=d==="sandbox"?y.select(`[id="${o}"]`):g(`[id="${o}"]`);To(w,A()),ua(w,["point","circle","cross"],a.type,o);let x=r.getBlocks(),E=r.getBlocksFlat(),D=r.getEdges(),k=w.insert("g").attr("class","block");await Ue(k,x,r);let N=Ye(r);await He(k,x,r),await Xe(k,D,E,r,o);let T=k.node()?.getBBox(),O=T&&Number.isFinite(T.width)&&Number.isFinite(T.height)?T:N;if(O){let z=Math.max(1,Math.round(0.125*(O.width/O.height))),B=O.height+z+10,b=O.width+10,{useMaxWidth:n}=f;W(w,B,b,!!n),i.debug("Here Bounds",N,O),w.attr("viewBox",`${O.x-5} ${O.y-5} ${O.width+10} ${O.height+10}`)}},"draw"),Dt={draw:_t,getClasses:Et},tr={parser:$e,db:mt,renderer:Dt,styles:yt};export{tr as diagram};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{r}from"./chunk-6ycpdpfj.js";var e=Object.freeze({displayName:"Kotlin",fileTypes:["kt","kts"],name:"kotlin",patterns:[{include:"#import"},{include:"#package"},{include:"#code"}],repository:{"annotation-simple":{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])@[\.\p{L}\p{M}\p{N}\p{Pc}]+\b(?!:)/dgv,name:"entity.name.type.annotation.kotlin"},"annotation-site":{begin:/(?<![\p{L}\p{M}\p{N}\p{Pc}])(@[\p{L}\p{M}\p{N}\p{Pc}]+):\p{space}*(?!\[)/dgv,beginCaptures:{"1":{name:"entity.name.type.annotation-site.kotlin"}},end:/(?=\n?$)/dgv,patterns:[{include:"#unescaped-annotation"}]},"annotation-site-list":{begin:/(?<![\p{L}\p{M}\p{N}\p{Pc}])(@[\p{L}\p{M}\p{N}\p{Pc}]+):\p{space}*\[/dgv,beginCaptures:{"1":{name:"entity.name.type.annotation-site.kotlin"}},end:/\]/dgv,patterns:[{include:"#unescaped-annotation"}]},"binary-literal":{match:/0([Bb])[01][01_]*/dgv,name:"constant.numeric.binary.kotlin"},"boolean-literal":{match:/\b(true|false)\b/dgv,name:"constant.language.boolean.kotlin"},character:{begin:/'/dgv,end:/'/dgv,name:"string.quoted.single.kotlin",patterns:[{match:/\\[^\n]/dgv,name:"constant.character.escape.kotlin"}]},"class-declaration":{captures:{"1":{name:"keyword.hard.class.kotlin"},"2":{name:"entity.name.type.class.kotlin"},"3":{patterns:[{include:"#type-parameter"}]}},match:new r("\\b(class|(?:fun\\p{space}+)?interface)\\p{space}+(\\b[\\p{L}\\p{M}\\p{N}\\p{Pc}]+\\b|`[^\\`]+`)\\p{space}*(?<GROUP><([^\\<\\>]|(?:<([^\\<\\>]|(?:<([^\\<\\>]|(?:<([^\\<\\>]|(?:<([^\\<\\>]|(?:))+>))+>))+>))+>))+>)?","dgv",{hiddenCaptures:[5,6,7,8]})},code:{patterns:[{include:"#comments"},{include:"#keywords"},{include:"#annotation-simple"},{include:"#annotation-site-list"},{include:"#annotation-site"},{include:"#class-declaration"},{include:"#object"},{include:"#type-alias"},{include:"#function"},{include:"#variable-declaration"},{include:"#type-constraint"},{include:"#type-annotation"},{include:"#function-call"},{include:"#method-reference"},{include:"#key"},{include:"#string"},{include:"#string-empty"},{include:"#string-multiline"},{include:"#character"},{include:"#lambda-arrow"},{include:"#operators"},{include:"#self-reference"},{include:"#decimal-literal"},{include:"#hex-literal"},{include:"#binary-literal"},{include:"#boolean-literal"},{include:"#null-literal"}]},"comment-block":{begin:/\/\*(?!\*)/dgv,end:/\*\//dgv,name:"comment.block.kotlin"},"comment-javadoc":{patterns:[{begin:/\/\*\*/dgv,end:/\*\//dgv,name:"comment.block.javadoc.kotlin",patterns:[{match:/@(return|constructor|receiver|sample|see|author|since|suppress)\b/dgv,name:"keyword.other.documentation.javadoc.kotlin"},{captures:{"1":{name:"keyword.other.documentation.javadoc.kotlin"},"2":{name:"variable.parameter.kotlin"}},match:/(@p(?:aram|roperty))\p{space}+(\P{space}+)/dgv},{captures:{"1":{name:"keyword.other.documentation.javadoc.kotlin"},"2":{name:"variable.parameter.kotlin"}},match:/(@param)\[(\P{space}+)\]/dgv},{captures:{"1":{name:"keyword.other.documentation.javadoc.kotlin"},"2":{name:"entity.name.type.class.kotlin"}},match:/(@(?:exception|throws))\p{space}+(\P{space}+)/dgv},{captures:{"1":{name:"keyword.other.documentation.javadoc.kotlin"},"2":{name:"entity.name.type.class.kotlin"},"3":{name:"variable.parameter.kotlin"}},match:/\{(@link)\p{space}+(\P{space}+)?#([\$\p{L}\p{M}\p{N}\p{Pc}]+\p{space}*\([^\(\)]*\))[^\n]*\}/dgv}]}]},"comment-line":{begin:/\/\//dgv,end:/(?=\n?$)/dgv,name:"comment.line.double-slash.kotlin"},comments:{patterns:[{include:"#comment-line"},{include:"#comment-block"},{include:"#comment-javadoc"}]},"control-keywords":{match:/\b(if|else|while|do|when|try|throw|break|continue|return|for)\b/dgv,name:"keyword.control.kotlin"},"decimal-literal":{match:/\b\p{Nd}[_\p{Nd}]*(\.[_\p{Nd}]+)?(([Ee])\p{Nd}+)?([Uu])?([FLf])?\b/dgv,name:"constant.numeric.decimal.kotlin"},function:{captures:{"1":{name:"keyword.hard.fun.kotlin"},"2":{patterns:[{include:"#type-parameter"}]},"4":{name:"entity.name.type.class.extension.kotlin"},"5":{name:"entity.name.function.declaration.kotlin"}},match:new r("\\b(fun)\\b\\p{space}*(?<GROUP><([^\\<\\>]|(?:<([^\\<\\>]|(?:<([^\\<\\>]|(?:<([^\\<\\>]|(?:<([^\\<\\>]|(?:))+>))+>))+>))+>))+>)?\\p{space}*(?:(?:([\\p{L}\\p{M}\\p{N}\\p{Pc}]+)\\.)?(\\b[\\p{L}\\p{M}\\p{N}\\p{Pc}]+\\b|`[^\\`]+`))?","dgv",{hiddenCaptures:[4,5,6,7]})},"function-call":{captures:{"1":{name:"entity.name.function.call.kotlin"},"2":{patterns:[{include:"#type-parameter"}]}},match:new r("\\??\\.?(\\b[\\p{L}\\p{M}\\p{N}\\p{Pc}]+\\b|`[^\\`]+`)\\p{space}*(?<GROUP><([^\\<\\>]|(?:<([^\\<\\>]|(?:<([^\\<\\>]|(?:<([^\\<\\>]|(?:<([^\\<\\>]|(?:))+>))+>))+>))+>))+>)?\\p{space}*(?=[\\(\\{])","dgv",{hiddenCaptures:[4,5,6,7]})},"hard-keywords":{match:/\b(as|typeof|is|in)\b/dgv,name:"keyword.hard.kotlin"},"hex-literal":{match:/0([Xx])\p{AHex}[_\p{AHex}]*([Uu])?/dgv,name:"constant.numeric.hex.kotlin"},import:{begin:/\b(import)\b\p{space}*/dgv,beginCaptures:{"1":{name:"keyword.soft.kotlin"}},contentName:"entity.name.package.kotlin",end:/;|(?=\n?$)/dgv,name:"meta.import.kotlin",patterns:[{include:"#comments"},{include:"#hard-keywords"},{match:/\*/dgv,name:"variable.language.wildcard.kotlin"}]},key:{captures:{"1":{name:"variable.parameter.kotlin"},"2":{name:"keyword.operator.assignment.kotlin"}},match:/\b([\p{L}\p{M}\p{N}\p{Pc}]=)\p{space}*(=)/dgv},keywords:{patterns:[{include:"#prefix-modifiers"},{include:"#postfix-modifiers"},{include:"#soft-keywords"},{include:"#hard-keywords"},{include:"#control-keywords"}]},"lambda-arrow":{match:/->/dgv,name:"storage.type.function.arrow.kotlin"},"method-reference":{captures:{"1":{name:"entity.name.function.reference.kotlin"}},match:/\??::(\b[\p{L}\p{M}\p{N}\p{Pc}]+\b|`[^\`]+`)/dgv},"null-literal":{match:/\bnull\b/dgv,name:"constant.language.null.kotlin"},object:{captures:{"1":{name:"keyword.hard.object.kotlin"},"2":{name:"entity.name.type.object.kotlin"}},match:/\b(object)(?:\p{space}+(\b[\p{L}\p{M}\p{N}\p{Pc}]+\b|`[^\`]+`))?/dgv},operators:{patterns:[{match:/(===?|!==?|<=|>=|[\<\>])/dgv,name:"keyword.operator.comparison.kotlin"},{match:/([\-\%\*\+\/]=)/dgv,name:"keyword.operator.assignment.arithmetic.kotlin"},{match:/(=)/dgv,name:"keyword.operator.assignment.kotlin"},{match:/([\-\%\*\+\/])/dgv,name:"keyword.operator.arithmetic.kotlin"},{match:/(!|&&|\|\|)/dgv,name:"keyword.operator.logical.kotlin"},{match:/(--|\+\+)/dgv,name:"keyword.operator.increment-decrement.kotlin"},{match:/(\.\.)/dgv,name:"keyword.operator.range.kotlin"}]},package:{begin:/\b(package)\b\p{space}*/dgv,beginCaptures:{"1":{name:"keyword.hard.package.kotlin"}},contentName:"entity.name.package.kotlin",end:/;|(?=\n?$)/dgv,name:"meta.package.kotlin",patterns:[{include:"#comments"}]},"postfix-modifiers":{match:/\b(where|by|get|set)\b/dgv,name:"storage.modifier.other.kotlin"},"prefix-modifiers":{match:/\b(abstract|final|enum|open|annotation|sealed|data|override|final|lateinit|private|protected|public|internal|inner|companion|noinline|crossinline|vararg|reified|tailrec|operator|infix|inline|external|const|suspend|value)\b/dgv,name:"storage.modifier.other.kotlin"},"self-reference":{match:/\b(this|super)(@[\p{L}\p{M}\p{N}\p{Pc}]+)?\b/dgv,name:"variable.language.this.kotlin"},"soft-keywords":{match:/\b(init|catch|finally|field)\b/dgv,name:"keyword.soft.kotlin"},string:{begin:/(?<!")"(?!")/dgv,end:/"/dgv,name:"string.quoted.double.kotlin",patterns:[{match:/\\[^\n]/dgv,name:"constant.character.escape.kotlin"},{include:"#string-escape-simple"},{include:"#string-escape-bracketed"}]},"string-empty":{match:/(?<!")""(?!")/dgv,name:"string.quoted.double.kotlin"},"string-escape-bracketed":{begin:/(?<!\\)(\$\{)/dgv,beginCaptures:{"1":{name:"punctuation.definition.template-expression.begin"}},end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.template-expression.end"}},name:"meta.template.expression.kotlin",patterns:[{include:"#code"}]},"string-escape-simple":{match:/(?<!\\)\$[\p{L}\p{M}\p{N}\p{Pc}]+\b/dgv,name:"variable.string-escape.kotlin"},"string-multiline":{begin:/"""/dgv,end:/"""/dgv,name:"string.quoted.double.kotlin",patterns:[{match:/\\[^\n]/dgv,name:"constant.character.escape.kotlin"},{include:"#string-escape-simple"},{include:"#string-escape-bracketed"}]},"type-alias":{captures:{"1":{name:"keyword.hard.typealias.kotlin"},"2":{name:"entity.name.type.kotlin"},"3":{patterns:[{include:"#type-parameter"}]}},match:new r("\\b(typealias)\\p{space}+(\\b[\\p{L}\\p{M}\\p{N}\\p{Pc}]+\\b|`[^\\`]+`)\\p{space}*(?<GROUP><([^\\<\\>]|(?:<([^\\<\\>]|(?:<([^\\<\\>]|(?:<([^\\<\\>]|(?:<([^\\<\\>]|(?:))+>))+>))+>))+>))+>)?","dgv",{hiddenCaptures:[5,6,7,8]})},"type-annotation":{captures:{"0":{patterns:[{include:"#type-parameter"}]}},match:new r(`(?<![\\:\\?]):\\p{space}*([\\?\\p{L}\\p{M}\\p{N}\\p{Pc}\\p{space}]|->|(?<GROUP>[\\(\\<]([^"'\\(\\)\\<\\>]|(?:[\\(\\<]([^"'\\(\\)\\<\\>]|(?:[\\(\\<]([^"'\\(\\)\\<\\>]|(?:[\\(\\<]([^"'\\(\\)\\<\\>]|(?:[\\(\\<]([^"'\\(\\)\\<\\>]|(?:))+[\\)\\>]))+[\\)\\>]))+[\\)\\>]))+[\\)\\>]))+[\\)\\>]))+`,"dgv",{hiddenCaptures:[4,5,6,7]})},"type-parameter":{patterns:[{match:/\b[\p{L}\p{M}\p{N}\p{Pc}]+\b/dgv,name:"entity.name.type.kotlin"},{match:/\b(in|out)\b/dgv,name:"storage.modifier.kotlin"}]},"unescaped-annotation":{match:/\b[\.\p{L}\p{M}\p{N}\p{Pc}]+\b/dgv,name:"entity.name.type.annotation.kotlin"},"variable-declaration":{captures:{"1":{name:"keyword.hard.kotlin"},"2":{patterns:[{include:"#type-parameter"}]}},match:new r("\\b(va[lr])\\b\\p{space}*(?<GROUP><([^\\<\\>]|(?:<([^\\<\\>]|(?:<([^\\<\\>]|(?:<([^\\<\\>]|(?:<([^\\<\\>]|(?:))+>))+>))+>))+>))+>)?","dgv",{hiddenCaptures:[4,5,6,7]})}},scopeName:"source.kotlin",embeddedLangs:void 0,aliases:["kt","kts"]}),t=[e];export{t as default};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{r}from"./chunk-6ycpdpfj.js";var e=Object.freeze({displayName:"Go",name:"go",patterns:[{include:"#statements"}],repository:{after_control_variables:{captures:{"1":{patterns:[{include:"#type-declarations-without-brackets"},{match:/\[/dgv,name:"punctuation.definition.begin.bracket.square.go"},{match:/\]/dgv,name:"punctuation.definition.end.bracket.square.go"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.other.go"}]}},match:/(?<=\brange\b|;|\bif\b|\bfor\b|[\<\>]|<=|>=|==|!=|[\p{L}\p{M}\p{N}\p{Pc}][\-\%\*\+\/]|[\p{L}\p{M}\p{N}\p{Pc}][\-\%\*\+\/]=|\|\||&&)\p{space}*((?![\]\[]+)[\-\]\!\%\*\+\.\/\:\<\=\>\[_\p{Alpha}\p{Nd}]+)\p{space}*(?=\{)/dgv},brackets:{patterns:[{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.begin.bracket.curly.go"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.curly.go"}},patterns:[{include:"$self"}]},{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.begin.bracket.round.go"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.round.go"}},patterns:[{include:"$self"}]},{begin:/\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.begin.bracket.square.go"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.square.go"}},patterns:[{include:"$self"}]}]},built_in_functions:{patterns:[{match:/\b(append|cap|close|complex|copy|delete|imag|len|panic|print|println|real|recover|min|max|clear)\b(?=\()/dgv,name:"entity.name.function.support.builtin.go"},{begin:/\b(new)\b(\()/dgv,beginCaptures:{"1":{name:"entity.name.function.support.builtin.go"},"2":{name:"punctuation.definition.begin.bracket.round.go"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.round.go"}},patterns:[{include:"#functions"},{include:"#struct_variables_types"},{include:"#support_functions"},{include:"#type-declarations"},{include:"#generic_types"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"},{include:"$self"}]},{begin:/\b(make)\b(\()((?:(?:(?:[\]\*\[]+)?(?:<-\p{space}*)?\bchan\b(?:\p{space}*<-)?\p{space}*)+(?:\([^\)]+\))?)?(?:[\]\*\[]+)?(?:(?!\bmap\b)[\.\p{L}\p{M}\p{N}\p{Pc}]+)?(\[(?:\P{space}+(?:,\p{space}*\P{space}+)*)?\])?,?)?/dgv,beginCaptures:{"1":{name:"entity.name.function.support.builtin.go"},"2":{name:"punctuation.definition.begin.bracket.round.go"},"3":{patterns:[{include:"#type-declarations-without-brackets"},{include:"#parameter-variable-types"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.round.go"}},patterns:[{include:"$self"}]}]},comments:{patterns:[{begin:/(\/\*)/dgv,beginCaptures:{"1":{name:"punctuation.definition.comment.go"}},end:/(\*\/)/dgv,endCaptures:{"1":{name:"punctuation.definition.comment.go"}},name:"comment.block.go"},{begin:/(\/\/)/dgv,beginCaptures:{"1":{name:"punctuation.definition.comment.go"}},end:/\n|(?=\n?$)/dgv,name:"comment.line.double-slash.go"}]},const_assignment:{patterns:[{captures:{"1":{patterns:[{include:"#delimiters"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.other.constant.go"}]},"2":{patterns:[{include:"#type-declarations-without-brackets"},{include:"#generic_types"},{match:/\(/dgv,name:"punctuation.definition.begin.bracket.round.go"},{match:/\)/dgv,name:"punctuation.definition.end.bracket.round.go"},{match:/\[/dgv,name:"punctuation.definition.begin.bracket.square.go"},{match:/\]/dgv,name:"punctuation.definition.end.bracket.square.go"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},match:/(?<=\bconst\b)\p{space}*\b([\.\p{L}\p{M}\p{N}\p{Pc}]+(?:,\p{space}*[\.\p{L}\p{M}\p{N}\p{Pc}]+)*)\p{space}*((?:(?:(?:[\]\*\[]+)?(?:<-\p{space}*)?\bchan\b(?:\p{space}*<-)?\p{space}*)+(?:\([^\)]+\))?)?(?!(?:[\]\*\[]+)?\b(?:struct|func|map)\b)(?:[\]\*\.\[\p{L}\p{M}\p{N}\p{Pc}]+(?:,\p{space}*[\]\*\.\[\p{L}\p{M}\p{N}\p{Pc}]+)*)?\p{space}*=?)?/dgv},{begin:/(?<=\bconst\b)\p{space}*(\()/dgv,beginCaptures:{"1":{name:"punctuation.definition.begin.bracket.round.go"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.round.go"}},patterns:[{captures:{"1":{patterns:[{include:"#delimiters"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.other.constant.go"}]},"2":{patterns:[{include:"#type-declarations-without-brackets"},{include:"#generic_types"},{match:/\(/dgv,name:"punctuation.definition.begin.bracket.round.go"},{match:/\)/dgv,name:"punctuation.definition.end.bracket.round.go"},{match:/\[/dgv,name:"punctuation.definition.begin.bracket.square.go"},{match:/\]/dgv,name:"punctuation.definition.end.bracket.square.go"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},match:/^\p{space}*\b([\.\p{L}\p{M}\p{N}\p{Pc}]+(?:,\p{space}*[\.\p{L}\p{M}\p{N}\p{Pc}]+)*)\p{space}*((?:(?:(?:[\]\*\[]+)?(?:<-\p{space}*)?\bchan\b(?:\p{space}*<-)?\p{space}*)+(?:\([^\)]+\))?)?(?!(?:[\]\*\[]+)?\b(?:struct|func|map)\b)(?:[\]\*\.\[\p{L}\p{M}\p{N}\p{Pc}]+(?:,\p{space}*[\]\*\.\[\p{L}\p{M}\p{N}\p{Pc}]+)*)?\p{space}*=?)?/dgv},{include:"$self"}]}]},delimiters:{patterns:[{match:/,/dgv,name:"punctuation.other.comma.go"},{match:/\.(?!\.\.)/dgv,name:"punctuation.other.period.go"},{match:/:(?!=)/dgv,name:"punctuation.other.colon.go"}]},double_parentheses_types:{captures:{"1":{patterns:[{include:"#type-declarations-without-brackets"},{match:/\(/dgv,name:"punctuation.definition.begin.bracket.round.go"},{match:/\)/dgv,name:"punctuation.definition.end.bracket.round.go"},{match:/\[/dgv,name:"punctuation.definition.begin.bracket.square.go"},{match:/\]/dgv,name:"punctuation.definition.end.bracket.square.go"},{match:/\{/dgv,name:"punctuation.definition.begin.bracket.curly.go"},{match:/\}/dgv,name:"punctuation.definition.end.bracket.curly.go"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])(\((?:[\]\*\[]+)?[\.\p{L}\p{M}\p{N}\p{Pc}]+(?:\[(?:[\]\*\.\[\{\}\p{L}\p{M}\p{N}\p{Pc}]+(?:,\p{space}*[\]\*\.\[\{\}\p{L}\p{M}\p{N}\p{Pc}]+)*)?\])?\))(?=\()/dgv},function_declaration:{begin:/^\b(func)\b\p{space}*(\([^\)]+\)\p{space}*)?(?:([\p{L}\p{M}\p{N}\p{Pc}]+)(?=[\(\[]))?/dgv,beginCaptures:{"1":{name:"keyword.function.go"},"2":{patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.begin.bracket.round.go"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.round.go"}},patterns:[{captures:{"1":{name:"variable.parameter.go"},"2":{patterns:[{include:"#type-declarations-without-brackets"},{include:"#parameter-variable-types"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},match:/([\p{L}\p{M}\p{N}\p{Pc}]+\p{space}+)?([\*\.\p{L}\p{M}\p{N}\p{Pc}]+(?:\[(?:(?:[\*\.\p{L}\p{M}\p{N}\p{Pc}]+(?:,\p{space}+)?)+)?\])?)/dgv},{include:"$self"}]}]},"3":{patterns:[{match:/\p{Nd}[\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"invalid.illegal.identifier.go"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.function.go"}]}},end:/(?<=\))\p{space}*((?:(?:(?:[\]\*\[]+)?(?:<-\p{space}*)?\bchan\b(?:\p{space}*<-)?\p{space}*)+)?(?!(?:[\]\*\[]+)?\b(?:struct|interface)\b)[\-\]\*\.\[\p{L}\p{M}\p{N}\p{Pc}]+)?\p{space}*(?=\{)/dgv,endCaptures:{"1":{patterns:[{include:"#type-declarations-without-brackets"},{include:"#parameter-variable-types"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.begin.bracket.round.go"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.round.go"}},patterns:[{include:"#function_param_types"}]},{begin:/([\*\.\p{L}\p{M}\p{N}\p{Pc}]+)?(\[)/dgv,beginCaptures:{"1":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]},"2":{name:"punctuation.definition.begin.bracket.square.go"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.square.go"}},patterns:[{include:"#generic_param_types"}]},{captures:{"1":{patterns:[{include:"#type-declarations-without-brackets"},{include:"#parameter-variable-types"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},match:/(?<=\))\p{space}*((?:(?:\p{space}*(?:[\]\*\[]+)?(?:<-\p{space}*)?\bchan\b(?:\p{space}*<-)?\p{space}*)+)?[\-\]\*\.\<\>\[\p{L}\p{M}\p{N}\p{Pc}]+\p{space}*(?:\/[\*\/][^\n]*)?)(?=\n?$)/dgv},{include:"$self"}]},function_param_types:{patterns:[{include:"#struct_variables_types"},{include:"#interface_variables_types"},{include:"#type-declarations-without-brackets"},{captures:{"1":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.parameter.go"}]}},match:/((?:(?:\b[\p{L}\p{M}\p{N}\p{Pc}]+,\p{space}*)+)?\b[\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+(?=(?:(?:\p{space}*(?:[\]\*\[]+)?(?:<-\p{space}*)?\bchan\b(?:\p{space}*<-)?\p{space}*)+)?(?:[\]\*\[]+)?\b(?:struct|interface)\b\p{space}*\{)/dgv},{captures:{"1":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.parameter.go"}]}},match:/(?:(?<=\()|^\p{space}*)((?:\b[\p{L}\p{M}\p{N}\p{Pc}]+,\p{space}*)+(?:\/[\*\/][^\n]*)?)(?=\n?$)/dgv},{captures:{"1":{patterns:[{include:"#delimiters"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.parameter.go"}]},"2":{patterns:[{include:"#type-declarations-without-brackets"},{include:"#parameter-variable-types"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},match:/((?:(?:\b[\p{L}\p{M}\p{N}\p{Pc}]+,\p{space}*)+)?\b[\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+((?:(?:\p{space}*(?:[\]\*\[]+)?(?:<-\p{space}*)?\bchan\b(?:\p{space}*<-)?\p{space}*)+)?(?:(?:[\]\*\.\[\p{L}\p{M}\p{N}\p{Pc}]+)?(?:\bfunc\b\((?:[^\)]+)?\)(?:(?:\p{space}*(?:[\]\*\[]+)?(?:<-\p{space}*)?\bchan\b(?:\p{space}*<-)?\p{space}*)+)?\p{space}*)+(?:[\]\*\.\[\p{L}\p{M}\p{N}\p{Pc}]+|\((?:[^\)]+)?\))?|(?:(?:[\]\*\[]+)?[\*\.\p{L}\p{M}\p{N}\p{Pc}]+(?:\[[^\]]+\])?(?:[\*\.\p{L}\p{M}\p{N}\p{Pc}]+)?)+))/dgv},{begin:/([\*\.\p{L}\p{M}\p{N}\p{Pc}]+)?(\[)/dgv,beginCaptures:{"1":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]},"2":{name:"punctuation.definition.begin.bracket.square.go"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.square.go"}},patterns:[{include:"#generic_param_types"}]},{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.begin.bracket.round.go"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.round.go"}},patterns:[{include:"#function_param_types"}]},{captures:{"1":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},match:/([\.\p{L}\p{M}\p{N}\p{Pc}]+)/dgv},{include:"$self"}]},functions:{begin:/\b(func)\b(?=\()/dgv,beginCaptures:{"1":{name:"keyword.function.go"}},end:/(?<=\))(\p{space}*(?:(?:[\]\*\[]+)?(?:<-\p{space}*)?\bchan\b(?:\p{space}*<-)?\p{space}*)+)?(\p{space}*(?:(?:[\]\*\[]+)?[\*\.\p{L}\p{M}\p{N}\p{Pc}]+)?(?:\[(?:(?:[\*\.\p{L}\p{M}\p{N}\p{Pc}]+)?(?:\[(?:[^\]]+)?\])?(?:,\p{space}+)?)+\]|\((?:[^\)]+)?\))?(?:[\*\.\p{L}\p{M}\p{N}\p{Pc}]+)?\p{space}*(?=\{)|\p{space}*(?:(?:[\]\*\[]+)?(?!\bfunc\b)[\*\.\p{L}\p{M}\p{N}\p{Pc}]+(?:\[(?:(?:[\*\.\p{L}\p{M}\p{N}\p{Pc}]+)?(?:\[(?:[^\]]+)?\])?(?:,\p{space}+)?)+\])?(?:[\*\.\p{L}\p{M}\p{N}\p{Pc}]+)?|\((?:[^\)]+)?\)))?/dgv,endCaptures:{"1":{patterns:[{include:"#type-declarations"}]},"2":{patterns:[{include:"#type-declarations-without-brackets"},{include:"#parameter-variable-types"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},patterns:[{include:"#parameter-variable-types"}]},functions_inline:{captures:{"1":{name:"keyword.function.go"},"2":{patterns:[{include:"#type-declarations-without-brackets"},{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.begin.bracket.round.go"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.round.go"}},patterns:[{include:"#function_param_types"},{include:"$self"}]},{match:/\[/dgv,name:"punctuation.definition.begin.bracket.square.go"},{match:/\]/dgv,name:"punctuation.definition.end.bracket.square.go"},{match:/\{/dgv,name:"punctuation.definition.begin.bracket.curly.go"},{match:/\}/dgv,name:"punctuation.definition.end.bracket.curly.go"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},match:/\b(func)\b(\([^\/]*?\)\p{space}+\([^\/]*?\))\p{space}+(?=\{)/dgv},generic_param_types:{patterns:[{include:"#struct_variables_types"},{include:"#interface_variables_types"},{include:"#type-declarations-without-brackets"},{captures:{"1":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.parameter.go"}]}},match:/((?:(?:\b[\p{L}\p{M}\p{N}\p{Pc}]+,\p{space}*)+)?\b[\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+(?=(?:(?:\p{space}*(?:[\]\*\[]+)?(?:<-\p{space}*)?\bchan\b(?:\p{space}*<-)?\p{space}*)+)?(?:[\]\*\[]+)?\b(?:struct|interface)\b\p{space}*\{)/dgv},{captures:{"1":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.parameter.go"}]}},match:/(?:(?<=\()|^\p{space}*)((?:\b[\p{L}\p{M}\p{N}\p{Pc}]+,\p{space}*)+(?:\/[\*\/][^\n]*)?)(?=\n?$)/dgv},{captures:{"1":{patterns:[{include:"#delimiters"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.parameter.go"}]},"2":{patterns:[{include:"#type-declarations-without-brackets"},{include:"#parameter-variable-types"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]},"3":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},match:/((?:(?:\b[\p{L}\p{M}\p{N}\p{Pc}]+,\p{space}*)+)?\b[\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+((?:(?:\p{space}*(?:[\]\*\[]+)?(?:<-\p{space}*)?\bchan\b(?:\p{space}*<-)?\p{space}*)+)?(?:(?:[\]\*\.\[\p{L}\p{M}\p{N}\p{Pc}]+)?(?:\bfunc\b\((?:[^\)]+)?\)(?:(?:\p{space}*(?:[\]\*\[]+)?(?:<-\p{space}*)?\bchan\b(?:\p{space}*<-)?\p{space}*)+)?\p{space}*)+(?:[\*\.\p{L}\p{M}\p{N}\p{Pc}]+|\((?:[^\)]+)?\))?|(?:(?:[\*\.\~\p{L}\p{M}\p{N}\p{Pc}]+|\[(?:(?:[\*\.\p{L}\p{M}\p{N}\p{Pc}]+)?(?:\[(?:[^\]]+)?\])?(?:,\p{space}+)?)+\])(?:[\*\.\p{L}\p{M}\p{N}\p{Pc}]+)?)+))/dgv},{begin:/([\*\.\p{L}\p{M}\p{N}\p{Pc}]+)?(\[)/dgv,beginCaptures:{"1":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]},"2":{name:"punctuation.definition.begin.bracket.square.go"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.square.go"}},patterns:[{include:"#generic_param_types"}]},{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.begin.bracket.round.go"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.round.go"}},patterns:[{include:"#function_param_types"}]},{captures:{"1":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},match:/\b([\.\p{L}\p{M}\p{N}\p{Pc}]+)/dgv},{include:"$self"}]},generic_types:{captures:{"1":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]},"2":{patterns:[{include:"#parameter-variable-types"}]}},match:/([\*\.\p{L}\p{M}\p{N}\p{Pc}]+)(\[(?:[^\]]+)?\])/dgv},"group-functions":{patterns:[{include:"#function_declaration"},{include:"#functions_inline"},{include:"#functions"},{include:"#built_in_functions"},{include:"#support_functions"}]},"group-types":{patterns:[{include:"#other_struct_interface_expressions"},{include:"#type_assertion_inline"},{include:"#struct_variables_types"},{include:"#interface_variables_types"},{include:"#single_type"},{include:"#multi_types"},{include:"#struct_interface_declaration"},{include:"#double_parentheses_types"},{include:"#switch_types"},{include:"#type-declarations"}]},"group-variables":{patterns:[{include:"#const_assignment"},{include:"#var_assignment"},{include:"#variable_assignment"},{include:"#label_loop_variables"},{include:"#slice_index_variables"},{include:"#property_variables"},{include:"#switch_variables"},{include:"#other_variables"}]},hover:{patterns:[{captures:{"1":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.other.property.go"}]},"2":{patterns:[{match:/\binvalid\b\p{space}+\btype\b/dgv,name:"invalid.field.go"},{include:"#type-declarations-without-brackets"},{include:"#parameter-variable-types"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},match:/(?<=^\bfield\b)\p{space}+([\*\.\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+([\p{space}\P{space}]+)/dgv},{captures:{"1":{patterns:[{include:"#type-declarations-without-brackets"},{include:"#parameter-variable-types"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},match:/(?<=^\breturns\b)\p{space}+([\p{space}\P{space}]+)/dgv}]},import:{patterns:[{begin:/\b(import)\p{space}+/dgv,beginCaptures:{"1":{name:"keyword.control.import.go"}},end:new r("(?!^)","dgv",{strategy:"clip_search"}),patterns:[{include:"#imports"}]}]},imports:{patterns:[{captures:{"1":{patterns:[{include:"#delimiters"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.other.import.go"}]},"2":{name:"string.quoted.double.go"},"3":{name:"punctuation.definition.string.begin.go"},"4":{name:"entity.name.import.go"},"5":{name:"punctuation.definition.string.end.go"}},match:/(\p{space}*[\.\p{L}\p{M}\p{N}\p{Pc}]+)?\p{space}*((")([^"]*)("))/dgv},{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.imports.begin.bracket.round.go"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.imports.end.bracket.round.go"}},patterns:[{include:"#comments"},{include:"#imports"}]},{include:"$self"}]},interface_variables_types:{begin:/\b(interface)\b\p{space}*(\{)/dgv,beginCaptures:{"1":{name:"keyword.interface.go"},"2":{name:"punctuation.definition.begin.bracket.curly.go"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.curly.go"}},patterns:[{include:"#interface_variables_types_field"},{include:"$self"}]},interface_variables_types_field:{patterns:[{include:"#support_functions"},{include:"#type-declarations-without-brackets"},{begin:/([\*\.\p{L}\p{M}\p{N}\p{Pc}]+)?(\[)/dgv,beginCaptures:{"1":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]},"2":{name:"punctuation.definition.begin.bracket.square.go"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.square.go"}},patterns:[{include:"#generic_param_types"}]},{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.begin.bracket.round.go"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.round.go"}},patterns:[{include:"#function_param_types"}]},{captures:{"1":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},match:/([\.\p{L}\p{M}\p{N}\p{Pc}]+)/dgv}]},keywords:{patterns:[{match:/\b(break|case|continue|default|defer|else|fallthrough|for|go|goto|if|range|return|select|switch)\b/dgv,name:"keyword.control.go"},{match:/\bchan\b/dgv,name:"keyword.channel.go"},{match:/\bconst\b/dgv,name:"keyword.const.go"},{match:/\bvar\b/dgv,name:"keyword.var.go"},{match:/\bfunc\b/dgv,name:"keyword.function.go"},{match:/\binterface\b/dgv,name:"keyword.interface.go"},{match:/\bmap\b/dgv,name:"keyword.map.go"},{match:/\bstruct\b/dgv,name:"keyword.struct.go"},{match:/\bimport\b/dgv,name:"keyword.control.import.go"},{match:/\btype\b/dgv,name:"keyword.type.go"}]},label_loop_variables:{captures:{"1":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.other.label.go"}]}},match:/^(\p{space}*[\p{L}\p{M}\p{N}\p{Pc}]+:\p{space}*|\p{space}*\b(?:break|goto|continue)\b\p{space}+[\p{L}\p{M}\p{N}\p{Pc}]+(?:\p{space}*\/[\*\/]\p{space}*[^\n]*)?)(?=\n?$)/dgv},language_constants:{captures:{"1":{name:"constant.language.boolean.go"},"2":{name:"constant.language.null.go"},"3":{name:"constant.language.iota.go"}},match:/\b(?:(true|false)|(nil)|(iota))\b/dgv},map_types:{begin:/\b(map)\b(\[)/dgv,beginCaptures:{"1":{name:"keyword.map.go"},"2":{name:"punctuation.definition.begin.bracket.square.go"}},end:/(\])((?:(?:(?:[\]\*\[]+)?(?:<-\p{space}*)?\bchan\b(?:\p{space}*<-)?\p{space}*)+)?(?!(?:[\]\*\[]+)?\b(?:func|struct|map)\b)(?:[\]\*\[]+)?[\.\p{L}\p{M}\p{N}\p{Pc}]+(?:\[(?:[\]\*\.\[\{\}\p{L}\p{M}\p{N}\p{Pc}]+(?:,\p{space}*[\]\*\.\[\{\}\p{L}\p{M}\p{N}\p{Pc}]+)*)?\])?)?/dgv,endCaptures:{"1":{name:"punctuation.definition.end.bracket.square.go"},"2":{patterns:[{include:"#type-declarations-without-brackets"},{match:/\[/dgv,name:"punctuation.definition.begin.bracket.square.go"},{match:/\]/dgv,name:"punctuation.definition.end.bracket.square.go"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},patterns:[{include:"#type-declarations-without-brackets"},{include:"#parameter-variable-types"},{include:"#functions"},{match:/\[/dgv,name:"punctuation.definition.begin.bracket.square.go"},{match:/\]/dgv,name:"punctuation.definition.end.bracket.square.go"},{match:/\{/dgv,name:"punctuation.definition.begin.bracket.curly.go"},{match:/\}/dgv,name:"punctuation.definition.end.bracket.curly.go"},{match:/\(/dgv,name:"punctuation.definition.begin.bracket.round.go"},{match:/\)/dgv,name:"punctuation.definition.end.bracket.round.go"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]},multi_types:{begin:/\b(type)\b\p{space}*(\()/dgv,beginCaptures:{"1":{name:"keyword.type.go"},"2":{name:"punctuation.definition.begin.bracket.round.go"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.round.go"}},patterns:[{include:"#struct_variables_types"},{include:"#interface_variables_types"},{include:"#type-declarations-without-brackets"},{include:"#parameter-variable-types"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]},numeric_literals:{captures:{"0":{patterns:[{begin:/(?=[^\n])/dgv,end:/\n|(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"constant.numeric.decimal.go",patterns:[{match:/(?<=\p{AHex})_(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric.go"}]},"2":{name:"punctuation.separator.constant.numeric.go"},"3":{name:"constant.numeric.decimal.point.go"},"4":{name:"constant.numeric.decimal.go",patterns:[{match:/(?<=\p{AHex})_(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric.go"}]},"5":{name:"punctuation.separator.constant.numeric.go"},"6":{name:"keyword.other.unit.exponent.decimal.go"},"7":{name:"keyword.operator.plus.exponent.decimal.go"},"8":{name:"keyword.operator.minus.exponent.decimal.go"},"9":{name:"constant.numeric.exponent.decimal.go",patterns:[{match:/(?<=\p{AHex})_(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric.go"}]},"10":{name:"keyword.other.unit.imaginary.go"},"11":{name:"constant.numeric.decimal.go",patterns:[{match:/(?<=\p{AHex})_(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric.go"}]},"12":{name:"punctuation.separator.constant.numeric.go"},"13":{name:"keyword.other.unit.exponent.decimal.go"},"14":{name:"keyword.operator.plus.exponent.decimal.go"},"15":{name:"keyword.operator.minus.exponent.decimal.go"},"16":{name:"constant.numeric.exponent.decimal.go",patterns:[{match:/(?<=\p{AHex})_(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric.go"}]},"17":{name:"keyword.other.unit.imaginary.go"},"18":{name:"constant.numeric.decimal.point.go"},"19":{name:"constant.numeric.decimal.go",patterns:[{match:/(?<=\p{AHex})_(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric.go"}]},"20":{name:"punctuation.separator.constant.numeric.go"},"21":{name:"keyword.other.unit.exponent.decimal.go"},"22":{name:"keyword.operator.plus.exponent.decimal.go"},"23":{name:"keyword.operator.minus.exponent.decimal.go"},"24":{name:"constant.numeric.exponent.decimal.go",patterns:[{match:/(?<=\p{AHex})_(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric.go"}]},"25":{name:"keyword.other.unit.imaginary.go"},"26":{name:"keyword.other.unit.hexadecimal.go"},"27":{name:"constant.numeric.hexadecimal.go",patterns:[{match:/(?<=\p{AHex})_(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric.go"}]},"28":{name:"punctuation.separator.constant.numeric.go"},"29":{name:"constant.numeric.hexadecimal.go"},"30":{name:"constant.numeric.hexadecimal.go",patterns:[{match:/(?<=\p{AHex})_(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric.go"}]},"31":{name:"punctuation.separator.constant.numeric.go"},"32":{name:"keyword.other.unit.exponent.hexadecimal.go"},"33":{name:"keyword.operator.plus.exponent.hexadecimal.go"},"34":{name:"keyword.operator.minus.exponent.hexadecimal.go"},"35":{name:"constant.numeric.exponent.hexadecimal.go",patterns:[{match:/(?<=\p{AHex})_(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric.go"}]},"36":{name:"keyword.other.unit.imaginary.go"},"37":{name:"keyword.other.unit.hexadecimal.go"},"38":{name:"constant.numeric.hexadecimal.go",patterns:[{match:/(?<=\p{AHex})_(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric.go"}]},"39":{name:"punctuation.separator.constant.numeric.go"},"40":{name:"keyword.other.unit.exponent.hexadecimal.go"},"41":{name:"keyword.operator.plus.exponent.hexadecimal.go"},"42":{name:"keyword.operator.minus.exponent.hexadecimal.go"},"43":{name:"constant.numeric.exponent.hexadecimal.go",patterns:[{match:/(?<=\p{AHex})_(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric.go"}]},"44":{name:"keyword.other.unit.imaginary.go"},"45":{name:"keyword.other.unit.hexadecimal.go"},"46":{name:"constant.numeric.hexadecimal.go"},"47":{name:"constant.numeric.hexadecimal.go",patterns:[{match:/(?<=\p{AHex})_(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric.go"}]},"48":{name:"punctuation.separator.constant.numeric.go"},"49":{name:"keyword.other.unit.exponent.hexadecimal.go"},"50":{name:"keyword.operator.plus.exponent.hexadecimal.go"},"51":{name:"keyword.operator.minus.exponent.hexadecimal.go"},"52":{name:"constant.numeric.exponent.hexadecimal.go",patterns:[{match:/(?<=\p{AHex})_(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric.go"}]},"53":{name:"keyword.other.unit.imaginary.go"}},match:/(?:(?:(?:(?:(?:(?=[\.0-9])(?!0[BOXbox])([0-9](?:[0-9]|((?<=\p{AHex})_(?=\p{AHex})))*)((?<=[0-9])\.|\.(?=[0-9]))([0-9](?:[0-9]|((?<=\p{AHex})_(?=\p{AHex})))*)?(?:(?<!_)([Ee])(\+?)(-?)([0-9](?:[0-9]|(?<=\p{AHex})_(?=\p{AHex}))*))?(i(?![\p{L}\p{M}\p{N}\p{Pc}]))?(?:\n|(?=\n?$))|(?=[\.0-9])(?!0[BOXbox])([0-9](?:[0-9]|((?<=\p{AHex})_(?=\p{AHex})))*)(?<!_)([Ee])(\+?)(-?)([0-9](?:[0-9]|(?<=\p{AHex})_(?=\p{AHex}))*)(i(?![\p{L}\p{M}\p{N}\p{Pc}]))?(?:\n|(?=\n?$)))|((?<=[0-9])\.|\.(?=[0-9]))([0-9](?:[0-9]|((?<=\p{AHex})_(?=\p{AHex})))*)(?:(?<!_)([Ee])(\+?)(-?)([0-9](?:[0-9]|(?<=\p{AHex})_(?=\p{AHex}))*))?(i(?![\p{L}\p{M}\p{N}\p{Pc}]))?(?:\n|(?=\n?$)))|(0[Xx])_?(\p{AHex}(?:\p{AHex}|((?<=\p{AHex})_(?=\p{AHex})))*)((?<=\p{AHex})\.|\.(?=\p{AHex}))(\p{AHex}(?:\p{AHex}|((?<=\p{AHex})_(?=\p{AHex})))*)?(?<!_)([Pp])(\+?)(-?)([0-9](?:[0-9]|(?<=\p{AHex})_(?=\p{AHex}))*)(i(?![\p{L}\p{M}\p{N}\p{Pc}]))?(?:\n|(?=\n?$)))|(0[Xx])_?(\p{AHex}(?:\p{AHex}|((?<=\p{AHex})_(?=\p{AHex})))*)(?<!_)([Pp])(\+?)(-?)([0-9](?:[0-9]|(?<=\p{AHex})_(?=\p{AHex}))*)(i(?![\p{L}\p{M}\p{N}\p{Pc}]))?(?:\n|(?=\n?$)))|(0[Xx])((?<=\p{AHex})\.|\.(?=\p{AHex}))(\p{AHex}(?:\p{AHex}|((?<=\p{AHex})_(?=\p{AHex})))*)(?<!_)([Pp])(\+?)(-?)([0-9](?:[0-9]|(?<=\p{AHex})_(?=\p{AHex}))*)(i(?![\p{L}\p{M}\p{N}\p{Pc}]))?(?:\n|(?=\n?$)))/dgvy},{captures:{"1":{name:"constant.numeric.decimal.go",patterns:[{match:/(?<=\p{AHex})_(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric.go"}]},"2":{name:"punctuation.separator.constant.numeric.go"},"3":{name:"keyword.other.unit.imaginary.go"},"4":{name:"keyword.other.unit.binary.go"},"5":{name:"constant.numeric.binary.go",patterns:[{match:/(?<=\p{AHex})_(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric.go"}]},"6":{name:"punctuation.separator.constant.numeric.go"},"7":{name:"keyword.other.unit.imaginary.go"},"8":{name:"keyword.other.unit.octal.go"},"9":{name:"constant.numeric.octal.go",patterns:[{match:/(?<=\p{AHex})_(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric.go"}]},"10":{name:"punctuation.separator.constant.numeric.go"},"11":{name:"keyword.other.unit.imaginary.go"},"12":{name:"keyword.other.unit.hexadecimal.go"},"13":{name:"constant.numeric.hexadecimal.go",patterns:[{match:/(?<=\p{AHex})_(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric.go"}]},"14":{name:"punctuation.separator.constant.numeric.go"},"15":{name:"keyword.other.unit.imaginary.go"}},match:/(?:(?:(?:(?=[\.0-9])(?!0[BOXbox])([0-9](?:[0-9]|((?<=\p{AHex})_(?=\p{AHex})))*)(i(?![\p{L}\p{M}\p{N}\p{Pc}]))?(?:\n|(?=\n?$))|(0[Bb])_?([01](?:[01]|((?<=\p{AHex})_(?=\p{AHex})))*)(i(?![\p{L}\p{M}\p{N}\p{Pc}]))?(?:\n|(?=\n?$)))|(0[Oo]?)_?((?:[0-7]|((?<=\p{AHex})_(?=\p{AHex})))+)(i(?![\p{L}\p{M}\p{N}\p{Pc}]))?(?:\n|(?=\n?$)))|(0[Xx])_?(\p{AHex}(?:\p{AHex}|((?<=\p{AHex})_(?=\p{AHex})))*)(i(?![\p{L}\p{M}\p{N}\p{Pc}]))?(?:\n|(?=\n?$)))/dgvy},{match:/(?:[\.0-9A-Z_a-z]|(?<=[EPep])[\-\+])+/dgv,name:"invalid.illegal.constant.numeric.go"}]}]}},match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])\.?\p{Nd}(?:[\.0-9A-Z_a-z]|(?<=[EPep])[\-\+])*/dgv},operators:{patterns:[{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])[\&\*]+(?!\p{Nd})(?=[\]\[\p{L}\p{M}\p{N}\p{Pc}]|<-)/dgv,name:"keyword.operator.address.go"},{match:/<-/dgv,name:"keyword.operator.channel.go"},{match:/--/dgv,name:"keyword.operator.decrement.go"},{match:/\+\+/dgv,name:"keyword.operator.increment.go"},{match:/(==|!=|<=|>=|<(?!<)|>(?!>))/dgv,name:"keyword.operator.comparison.go"},{match:/(&&|\|\||!)/dgv,name:"keyword.operator.logical.go"},{match:/((?:|[\-\%\*\+\/\:\^\|]|<<|>>|&\^?)=)/dgv,name:"keyword.operator.assignment.go"},{match:/([\-\%\*\+\/])/dgv,name:"keyword.operator.arithmetic.go"},{match:/(&(?!\^)|[\^\|]|&\^|<<|>>|~)/dgv,name:"keyword.operator.arithmetic.bitwise.go"},{match:/\.\.\./dgv,name:"keyword.operator.ellipsis.go"}]},other_struct_interface_expressions:{patterns:[{include:"#after_control_variables"},{captures:{"1":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]},"2":{patterns:[{include:"#type-declarations-without-brackets"},{match:/\[/dgv,name:"punctuation.definition.begin.bracket.square.go"},{match:/\]/dgv,name:"punctuation.definition.end.bracket.square.go"},{match:/\{/dgv,name:"punctuation.definition.begin.bracket.curly.go"},{match:/\}/dgv,name:"punctuation.definition.end.bracket.curly.go"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},match:/\b(?!(?:struct|interface)\b)([\.\p{L}\p{M}\p{N}\p{Pc}]+)(?<brackets>\[(?:[^\]\[]|(?:\[(?:[^\]\[]|(?:\[(?:[^\]\[]|(?:\[(?:[^\]\[]|(?:\[(?:[^\]\[]|(?:))*\]))*\]))*\]))*\]))*\])?(?=\{)/dgv}]},other_variables:{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.other.go"},package_name:{patterns:[{begin:/\b(package)\p{space}+/dgv,beginCaptures:{"1":{name:"keyword.package.go"}},end:new r("(?!^)","dgv",{strategy:"clip_search"}),patterns:[{match:/\p{Nd}[\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"invalid.illegal.identifier.go"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.package.go"}]}]},"parameter-variable-types":{patterns:[{match:/\{/dgv,name:"punctuation.definition.begin.bracket.curly.go"},{match:/\}/dgv,name:"punctuation.definition.end.bracket.curly.go"},{begin:/([\*\.\p{L}\p{M}\p{N}\p{Pc}]+)?(\[)/dgv,beginCaptures:{"1":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]},"2":{name:"punctuation.definition.begin.bracket.square.go"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.square.go"}},patterns:[{include:"#generic_param_types"}]},{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.begin.bracket.round.go"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.round.go"}},patterns:[{include:"#function_param_types"}]}]},property_variables:{captures:{"1":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.other.property.go"}]}},match:/\b([\.\p{L}\p{M}\p{N}\p{Pc}]+:(?!=))/dgv},raw_string_literals:{begin:/`/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.go"}},end:/`/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.go"}},name:"string.quoted.raw.go",patterns:[{include:"#string_placeholder"}]},runes:{patterns:[{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.go"}},end:/'/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.go"}},name:"string.quoted.rune.go",patterns:[{match:/(\\([0-7]{3}|["'\\abfnrtv]|x\p{AHex}{2}|u\p{AHex}{4}|U\p{AHex}{8})|[^\n])(?=')/dgvy,name:"constant.other.rune.go"},{match:/[^']+/dgv,name:"invalid.illegal.unknown-rune.go"}]}]},single_type:{patterns:[{captures:{"1":{name:"keyword.type.go"},"2":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]},"3":{patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.begin.bracket.round.go"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.round.go"}},patterns:[{include:"#function_param_types"},{include:"$self"}]},{include:"#type-declarations"},{include:"#generic_types"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},match:/^\p{space}*\b(type)\b\p{space}*([\*\.\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+(?!(?:=\p{space}*)?(?:[\]\*\[]+)?\b(?:struct|interface)\b)([\p{space}\P{space}]+)/dgv},{begin:/(?:^|\p{space}+)\b(type)\b\p{space}*([\*\.\p{L}\p{M}\p{N}\p{Pc}]+)(?=\[)/dgv,beginCaptures:{"1":{name:"keyword.type.go"},"2":{patterns:[{include:"#type-declarations-without-brackets"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},end:/(?<=\])(\p{space}+(?:=\p{space}*)?(?:(?:(?:[\]\*\[]+)?(?:<-\p{space}*)?\bchan\b(?:\p{space}*<-)?\p{space}*)+)?(?!(?:[\]\*\[]+)?\b(?:struct|interface|func)\b)[\-\]\*\.\[\p{L}\p{M}\p{N}\p{Pc}]+(?:,\p{space}*[\]\*\.\[\p{L}\p{M}\p{N}\p{Pc}]+)*)?/dgv,endCaptures:{"1":{patterns:[{include:"#type-declarations-without-brackets"},{match:/\[/dgv,name:"punctuation.definition.begin.bracket.square.go"},{match:/\]/dgv,name:"punctuation.definition.end.bracket.square.go"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},patterns:[{include:"#struct_variables_types"},{include:"#type-declarations-without-brackets"},{include:"#parameter-variable-types"},{match:/\[/dgv,name:"punctuation.definition.begin.bracket.square.go"},{match:/\]/dgv,name:"punctuation.definition.end.bracket.square.go"},{match:/\{/dgv,name:"punctuation.definition.begin.bracket.curly.go"},{match:/\}/dgv,name:"punctuation.definition.end.bracket.curly.go"},{match:/\(/dgv,name:"punctuation.definition.begin.bracket.round.go"},{match:/\)/dgv,name:"punctuation.definition.end.bracket.round.go"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}]},slice_index_variables:{captures:{"1":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.other.go"}]}},match:/(?<=[\p{L}\p{M}\p{N}\p{Pc}]\[)((?:\b[\-\%\&\*\+\.\/\<\>\|\p{L}\p{M}\p{N}\p{Pc}]+:|:\b[\-\%\&\*\+\.\/\<\>\|\p{L}\p{M}\p{N}\p{Pc}]+)(?:\b[\-\%\&\*\+\.\/\<\>\|\p{L}\p{M}\p{N}\p{Pc}]+)?(?::\b[\-\%\&\*\+\.\/\<\>\|\p{L}\p{M}\p{N}\p{Pc}]+)?)(?=\])/dgv},statements:{patterns:[{include:"#package_name"},{include:"#import"},{include:"#syntax_errors"},{include:"#group-functions"},{include:"#group-types"},{include:"#group-variables"},{include:"#hover"}]},storage_types:{patterns:[{match:/\bbool\b/dgv,name:"storage.type.boolean.go"},{match:/\bbyte\b/dgv,name:"storage.type.byte.go"},{match:/\berror\b/dgv,name:"storage.type.error.go"},{match:/\b(complex(64|128)|float(32|64)|u?int(8|16|32|64)?)\b/dgv,name:"storage.type.numeric.go"},{match:/\brune\b/dgv,name:"storage.type.rune.go"},{match:/\bstring\b/dgv,name:"storage.type.string.go"},{match:/\buintptr\b/dgv,name:"storage.type.uintptr.go"},{match:/\bany\b/dgv,name:"entity.name.type.any.go"},{match:/\bcomparable\b/dgv,name:"entity.name.type.comparable.go"}]},string_escaped_char:{patterns:[{match:/\\([0-7]{3}|["'\\abfnrtv]|x\p{AHex}{2}|u\p{AHex}{4}|U\p{AHex}{8})/dgv,name:"constant.character.escape.go"},{match:/\\[^"'0-7Uabfnrtuvx]/dgv,name:"invalid.illegal.unknown-escape.go"}]},string_literals:{patterns:[{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.go"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.go"}},name:"string.quoted.double.go",patterns:[{include:"#string_escaped_char"},{include:"#string_placeholder"}]}]},string_placeholder:{patterns:[{match:/%(\[\p{Nd}+\])?([\- \#\+0]{0,2}((\p{Nd}+|\*)?(\.?(\p{Nd}+|\*|(\[\p{Nd}+\])\*?)?(\[\p{Nd}+\])?)?))?[\%EFGTUXb-gopqstvwx]/dgv,name:"constant.other.placeholder.go"}]},struct_interface_declaration:{captures:{"1":{name:"keyword.type.go"},"2":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},match:/^\p{space}*\b(type)\b\p{space}*([\.\p{L}\p{M}\p{N}\p{Pc}]+)/dgv},struct_variable_types_fields_multi:{patterns:[{begin:/\b([\p{L}\p{M}\p{N}\p{Pc}]+(?:,\p{space}*\b[\p{L}\p{M}\p{N}\p{Pc}]+)*(?:(?:\p{space}*(?:[\]\*\[]+)?(?:<-\p{space}*)?\bchan\b(?:\p{space}*<-)?\p{space}*)+)?\p{space}*(?:[\]\*\[]+)?)\b(struct)\b\p{space}*(\{)/dgv,beginCaptures:{"1":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.other.property.go"}]},"2":{name:"keyword.struct.go"},"3":{name:"punctuation.definition.begin.bracket.curly.go"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.curly.go"}},patterns:[{include:"#struct_variables_types_fields"},{include:"$self"}]},{begin:/\b([\p{L}\p{M}\p{N}\p{Pc}]+(?:,\p{space}*\b[\p{L}\p{M}\p{N}\p{Pc}]+)*(?:(?:\p{space}*(?:[\]\*\[]+)?(?:<-\p{space}*)?\bchan\b(?:\p{space}*<-)?\p{space}*)+)?\p{space}*(?:[\]\*\[]+)?)\b(interface)\b\p{space}*(\{)/dgv,beginCaptures:{"1":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.other.property.go"}]},"2":{name:"keyword.interface.go"},"3":{name:"punctuation.definition.begin.bracket.curly.go"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.curly.go"}},patterns:[{include:"#interface_variables_types_field"},{include:"$self"}]},{begin:/\b([\p{L}\p{M}\p{N}\p{Pc}]+(?:,\p{space}*\b[\p{L}\p{M}\p{N}\p{Pc}]+)*(?:(?:\p{space}*(?:[\]\*\[]+)?(?:<-\p{space}*)?\bchan\b(?:\p{space}*<-)?\p{space}*)+)?\p{space}*(?:[\]\*\[]+)?)\b(func)\b\p{space}*(\()/dgv,beginCaptures:{"1":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.other.property.go"}]},"2":{name:"keyword.function.go"},"3":{name:"punctuation.definition.begin.bracket.round.go"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.round.go"}},patterns:[{include:"#function_param_types"},{include:"$self"}]},{include:"#parameter-variable-types"}]},struct_variables_types:{begin:/\b(struct)\b\p{space}*(\{)/dgv,beginCaptures:{"1":{name:"keyword.struct.go"},"2":{name:"punctuation.definition.begin.bracket.curly.go"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.curly.go"}},patterns:[{include:"#struct_variables_types_fields"},{include:"$self"}]},struct_variables_types_fields:{patterns:[{include:"#struct_variable_types_fields_multi"},{captures:{"1":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},match:/(?<=\{)\p{space}*((?:(?:\p{space}*(?:[\]\*\[]+)?(?:<-\p{space}*)?\bchan\b(?:\p{space}*<-)?\p{space}*)+)?[\]\*\.\[\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(?=\})/dgv},{captures:{"1":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.other.property.go"}]},"2":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},match:/(?<=\{)\p{space}*((?:(?:[\p{L}\p{M}\p{N}\p{Pc}]+,\p{space}*)+)?[\p{L}\p{M}\p{N}\p{Pc}]+\p{space}+)((?:(?:\p{space}*(?:[\]\*\[]+)?(?:<-\p{space}*)?\bchan\b(?:\p{space}*<-)?\p{space}*)+)?[\]\*\.\[\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(?=\})/dgv},{captures:{"1":{patterns:[{captures:{"1":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.other.property.go"}]},"2":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},match:/((?:(?:[\p{L}\p{M}\p{N}\p{Pc}]+,\p{space}*)+)?[\p{L}\p{M}\p{N}\p{Pc}]+\p{space}+)?((?:(?:\p{space}*(?:[\]\*\[]+)?(?:<-\p{space}*)?\bchan\b(?:\p{space}*<-)?\p{space}*)+)?[^"\/\`\p{space}]+;?)/dgv}]}},match:/(?<=\{)((?:\p{space}*(?:(?:(?:[\p{L}\p{M}\p{N}\p{Pc}]+,\p{space}*)+)?[\p{L}\p{M}\p{N}\p{Pc}]+\p{space}+)?(?:(?:\p{space}*(?:[\]\*\[]+)?(?:<-\p{space}*)?\bchan\b(?:\p{space}*<-)?\p{space}*)+)?[^"\/\`\p{space}]+;?)+)\p{space}*(?=\})/dgv},{captures:{"1":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},match:/((?:(?:\p{space}*(?:[\]\*\[]+)?(?:<-\p{space}*)?\bchan\b(?:\p{space}*<-)?\p{space}*)+)?[\*\.\p{L}\p{M}\p{N}\p{Pc}]+\p{space}*)(?:(?=["\/\`])|(?=\n?$))/dgv},{captures:{"1":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.other.property.go"}]},"2":{patterns:[{include:"#type-declarations-without-brackets"},{include:"#parameter-variable-types"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},match:/\b([\p{L}\p{M}\p{N}\p{Pc}]+(?:\p{space}*,\p{space}*\b[\p{L}\p{M}\p{N}\p{Pc}]+)*)\p{space}*([^"\/\`]+)/dgv}]},support_functions:{captures:{"1":{name:"entity.name.function.support.go"},"2":{patterns:[{include:"#type-declarations"},{match:/\p{Nd}[\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"invalid.illegal.identifier.go"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.function.support.go"}]},"3":{patterns:[{include:"#type-declarations-without-brackets"},{match:/\[/dgv,name:"punctuation.definition.begin.bracket.square.go"},{match:/\]/dgv,name:"punctuation.definition.end.bracket.square.go"},{match:/\{/dgv,name:"punctuation.definition.begin.bracket.curly.go"},{match:/\}/dgv,name:"punctuation.definition.end.bracket.curly.go"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},match:/(?:((?<=\.)\b[\p{L}\p{M}\p{N}\p{Pc}]+)|\b([\p{L}\p{M}\p{N}\p{Pc}]+))(?<brackets>\[(?:[^\]\[]|(?:\[(?:[^\]\[]|(?:\[(?:[^\]\[]|(?:\[(?:[^\]\[]|(?:\[(?:[^\]\[]|(?:))*\]))*\]))*\]))*\]))*\])?(?=\()/dgv},switch_types:{begin:/(?<=\bswitch\b)\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+\p{space}*:=)?\p{space}*([\-\]\%\&\(-\+\.\/\<\>\[\|\p{L}\p{M}\p{N}\p{Pc}]+)(\.\(\btype\b\)\p{space}*)(\{)/dgv,beginCaptures:{"1":{patterns:[{include:"#operators"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.other.assignment.go"}]},"2":{patterns:[{include:"#support_functions"},{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.other.go"}]},"3":{patterns:[{include:"#delimiters"},{include:"#brackets"},{match:/\btype\b/dgv,name:"keyword.type.go"}]},"4":{name:"punctuation.definition.begin.bracket.curly.go"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.curly.go"}},patterns:[{captures:{"1":{name:"keyword.control.go"},"2":{patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]},"3":{name:"punctuation.other.colon.go"},"4":{patterns:[{include:"#comments"}]}},match:/^\p{space}*\b(case)\b\p{space}+([\!\*\,\.\<\=\>\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)(:)(\p{space}*\/[\*\/]\p{space}*[^\n]*)?(?=\n?$)/dgv},{begin:/\bcase\b/dgv,beginCaptures:{"0":{name:"keyword.control.go"}},end:/:/dgv,endCaptures:{"0":{name:"punctuation.other.colon.go"}},patterns:[{include:"#type-declarations"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]},{include:"$self"}]},switch_variables:{patterns:[{captures:{"1":{name:"keyword.control.go"},"2":{patterns:[{include:"#type-declarations"},{include:"#support_functions"},{include:"#variable_assignment"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.other.go"}]}},match:/^\p{space}*\b(case)\b\p{space}+([\p{space}\P{space}]+:\p{space}*(?:\/[\*\/][^\n]*)?)(?=\n?$)/dgv},{begin:/(?<=\bswitch\b)\p{space}*((?:[\.\p{L}\p{M}\p{N}\p{Pc}]+(?:\p{space}*[\-\!\%\&\+\,\/\:\<\=\>\|]+\p{space}*[\.\p{L}\p{M}\p{N}\p{Pc}]+)*\p{space}*[\-\!\%\&\+\,\/\:\<\=\>\|]+)?\p{space}*(?:[\-\]\%\&\(-\+\.\/\<\>\[\|\p{L}\p{M}\p{N}\p{Pc}]+)?\p{space}*(?:;\p{space}*[\-\]\%\&\(-\+\.\/\<\>\[\|\p{L}\p{M}\p{N}\p{Pc}]+\p{space}*)?)(\{)/dgv,beginCaptures:{"1":{patterns:[{include:"#support_functions"},{include:"#type-declarations"},{include:"#variable_assignment"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.other.go"}]},"2":{name:"punctuation.definition.begin.bracket.curly.go"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.curly.go"}},patterns:[{begin:/\bcase\b/dgv,beginCaptures:{"0":{name:"keyword.control.go"}},end:/:/dgv,endCaptures:{"0":{name:"punctuation.other.colon.go"}},patterns:[{include:"#support_functions"},{include:"#type-declarations"},{include:"#variable_assignment"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.other.go"}]},{include:"$self"}]}]},syntax_errors:{patterns:[{captures:{"1":{name:"invalid.illegal.slice.go"}},match:/\[\](\p{space}+)/dgv},{match:/\b0[0-7]*[89]\p{Nd}*\b/dgv,name:"invalid.illegal.numeric.go"}]},terminators:{match:/;/dgv,name:"punctuation.terminator.go"},"type-declarations":{patterns:[{include:"#language_constants"},{include:"#comments"},{include:"#map_types"},{include:"#brackets"},{include:"#delimiters"},{include:"#keywords"},{include:"#operators"},{include:"#runes"},{include:"#storage_types"},{include:"#raw_string_literals"},{include:"#string_literals"},{include:"#numeric_literals"},{include:"#terminators"}]},"type-declarations-without-brackets":{patterns:[{include:"#language_constants"},{include:"#comments"},{include:"#map_types"},{include:"#delimiters"},{include:"#keywords"},{include:"#operators"},{include:"#runes"},{include:"#storage_types"},{include:"#raw_string_literals"},{include:"#string_literals"},{include:"#numeric_literals"},{include:"#terminators"}]},type_assertion_inline:{captures:{"1":{name:"keyword.type.go"},"2":{patterns:[{include:"#type-declarations-without-brackets"},{match:/\(/dgv,name:"punctuation.definition.begin.bracket.round.go"},{match:/\)/dgv,name:"punctuation.definition.end.bracket.round.go"},{match:/\[/dgv,name:"punctuation.definition.begin.bracket.square.go"},{match:/\]/dgv,name:"punctuation.definition.end.bracket.square.go"},{match:/\{/dgv,name:"punctuation.definition.begin.bracket.curly.go"},{match:/\}/dgv,name:"punctuation.definition.end.bracket.curly.go"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},match:/(?<=\.\()(?:\b(type)\b|((?:(?:\p{space}*(?:[\]\*\[]+)?(?:<-\p{space}*)?\bchan\b(?:\p{space}*<-)?\p{space}*)+)?(?:[\]\*\[]+)?[\.\p{L}\p{M}\p{N}\p{Pc}]+(?:\[(?:[\]\*\.\[\{\}\p{L}\p{M}\p{N}\p{Pc}]+(?:,\p{space}*[\]\*\.\[\{\}\p{L}\p{M}\p{N}\p{Pc}]+)*)?\])?))(?=\))/dgv},var_assignment:{patterns:[{captures:{"1":{patterns:[{include:"#delimiters"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.other.assignment.go"}]},"2":{patterns:[{include:"#type-declarations-without-brackets"},{include:"#generic_types"},{match:/\(/dgv,name:"punctuation.definition.begin.bracket.round.go"},{match:/\)/dgv,name:"punctuation.definition.end.bracket.round.go"},{match:/\[/dgv,name:"punctuation.definition.begin.bracket.square.go"},{match:/\]/dgv,name:"punctuation.definition.end.bracket.square.go"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},match:/(?<=\bvar\b)\p{space}*\b([\.\p{L}\p{M}\p{N}\p{Pc}]+(?:,\p{space}*[\.\p{L}\p{M}\p{N}\p{Pc}]+)*)\p{space}*((?:(?:(?:[\]\*\[]+)?(?:<-\p{space}*)?\bchan\b(?:\p{space}*<-)?\p{space}*)+(?:\([^\)]+\))?)?(?!(?:[\]\*\[]+)?\b(?:struct|func|map)\b)(?:[\]\*\.\[\p{L}\p{M}\p{N}\p{Pc}]+(?:,\p{space}*[\]\*\.\[\p{L}\p{M}\p{N}\p{Pc}]+)*)?\p{space}*=?)?/dgv},{begin:/(?<=\bvar\b)\p{space}*(\()/dgv,beginCaptures:{"1":{name:"punctuation.definition.begin.bracket.round.go"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.round.go"}},patterns:[{captures:{"1":{patterns:[{include:"#delimiters"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.other.assignment.go"}]},"2":{patterns:[{include:"#type-declarations-without-brackets"},{include:"#generic_types"},{match:/\(/dgv,name:"punctuation.definition.begin.bracket.round.go"},{match:/\)/dgv,name:"punctuation.definition.end.bracket.round.go"},{match:/\[/dgv,name:"punctuation.definition.begin.bracket.square.go"},{match:/\]/dgv,name:"punctuation.definition.end.bracket.square.go"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"entity.name.type.go"}]}},match:/^\p{space}*\b([\.\p{L}\p{M}\p{N}\p{Pc}]+(?:,\p{space}*[\.\p{L}\p{M}\p{N}\p{Pc}]+)*)\p{space}*((?:(?:(?:[\]\*\[]+)?(?:<-\p{space}*)?\bchan\b(?:\p{space}*<-)?\p{space}*)+(?:\([^\)]+\))?)?(?!(?:[\]\*\[]+)?\b(?:struct|func|map)\b)(?:[\]\*\.\[\p{L}\p{M}\p{N}\p{Pc}]+(?:,\p{space}*[\]\*\.\[\p{L}\p{M}\p{N}\p{Pc}]+)*)?\p{space}*=?)?/dgv},{include:"$self"}]}]},variable_assignment:{patterns:[{captures:{"0":{patterns:[{include:"#delimiters"},{match:/\p{Nd}[\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"invalid.illegal.identifier.go"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.other.assignment.go"}]}},match:/\b[\p{L}\p{M}\p{N}\p{Pc}]+(?:,\p{space}*[\p{L}\p{M}\p{N}\p{Pc}]+)*(?=\p{space}*:=)/dgv},{captures:{"0":{patterns:[{include:"#delimiters"},{include:"#operators"},{match:/\p{Nd}[\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"invalid.illegal.identifier.go"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.other.assignment.go"}]}},match:/\b[\*\.\p{L}\p{M}\p{N}\p{Pc}]+(?:,\p{space}*[\*\.\p{L}\p{M}\p{N}\p{Pc}]+)*(?=\p{space}*=(?!=))/dgv}]}},scopeName:"source.go",embeddedLangs:void 0,aliases:void 0}),t=[e];export{t as default};
Binary file
Binary file
@@ -0,0 +1,4 @@
1
+ import{q,Sn,s,w,o,a,m,e,n,y,K,es,Fc,ac,si,Fi,zc,ic,Hc,zi,Hi,kr,ts,ns}from"./chunk-svaq7f3c.js";import{Ma}from"./chunk-j40wechd.js";var _={sealed:"已封存",folded:"已折叠",archived:"已移出"},I=["bg-accent","bg-accent-strong","bg-warning","bg-success"];function W(t,l){if(t.startsWith("recent-"))return"json";let d=l.trimStart();if(!d)return"markdown";if(d.startsWith("{")||d.startsWith("["))return"json";if(/^<[a-zA-Z_][\w.-]*(?:\s+[^>]*)?>/.test(d))return"xml";return"markdown"}function L(t){if(!t||t.length>32000)return t;if(!t.trimStart().startsWith("<"))return t;let d=[],r=0,i=(p)=>" ".repeat(p),u=/(<([a-zA-Z_][\w.-]*)(?:\s+[^>]*)?>([^\r\n<]*)<\/\2>)|(<\/[a-zA-Z_][\w.-]*>)|(<[a-zA-Z_][\w.-]*(?:\s+[^>]*)?\/>)|(<[a-zA-Z_][\w.-]*(?:\s+[^>]*)?>)|([^<]+)/g;for(let p of t.matchAll(u)){let[,x,,,b,c,f,v]=p;if(x)d.push(`${i(r)}${x.trim()}`);else if(b)r=Math.max(0,r-1),d.push(`${i(r)}${b.trim()}`);else if(f)d.push(`${i(r)}${f.trim()}`),r++;else if(c)d.push(`${i(r)}${c.trim()}`);else if(v){let T=v.trim();if(T)for(let h of T.split(/\r?\n/)){let B=h.trim();if(B)d.push(`${i(r)}${B}`)}}}return d.length>0?d.join(`
2
+ `):t}function z(){return n("div",{role:"status","aria-busy":"true","aria-label":"正在加载上下文",className:"space-y-2 animate-pulse",children:[e("div",{className:"h-10 rounded-xl border border-line bg-panel/40"}),e("div",{className:"h-10 rounded-xl border border-line bg-panel/40"}),e("div",{className:"h-10 rounded-xl border border-line bg-panel/40"})]})}function k(t){let{style:l}=y();return e("p",{className:l("surface.empty"),children:t.children})}function S(t){let{Chevron:l,Collapsible:d,CollapsibleContent:r,CollapsibleTrigger:i,style:u}=y(),[p,x]=a(!1),[b,c]=a(!1);return n(d,{open:p,onOpenChange:(f)=>Sn(()=>{if(x(f),f)c(!0)}),className:u("surface.interactive","group/collapsible"),children:[n(i,{className:"flex w-full items-center gap-2 px-3 py-2 text-left text-xs",children:[t.header,e(l,{className:"-rotate-90 text-faint group-data-[state=open]/collapsible:rotate-90"})]}),e(r,{children:b&&e("div",{className:"border-t border-line/60 bg-raised/20 px-3 py-2 text-xs text-dim",children:t.children})})]})}function E(t){let{Code:l}=y();return e(l,{code:t.code,lang:t.lang,className:"text-[11px]! leading-relaxed! [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_pre]:[overflow-wrap:anywhere]"})}function O(t){let{cn:l}=y();if(!t.items.length)return e(k,{children:"新会话还没有上下文。发送第一条消息后,这里会显示构成。"});let d=t.items.reduce((r,i)=>r+i.tokens,0)||1;return n("div",{className:"space-y-2.5",children:[e("div",{className:"flex h-2 overflow-hidden rounded-full bg-raised",children:t.items.map((r,i)=>e("span",{className:l(I[i%I.length],"transition-[width] duration-300 ease-out-quint"),title:`${r.label}:${r.tokens.toLocaleString()} token`,style:{width:`${r.tokens/d*100}%`}},r.id))}),e("div",{className:"space-y-1.5",children:t.items.map((r,i)=>e(Y,{item:r,total:d,index:i,color:I[i%I.length]??"bg-accent"},r.id))})]})}function Y(t){let{cn:l,style:d,useTheme:r}=y();r();let i=(t.item.tokens/t.total*100).toFixed(1);return e(S,{header:n(m,{children:[e("span",{className:l("size-2 shrink-0 rounded-full",t.color),"aria-hidden":!0}),e("span",{className:"min-w-0 flex-1 font-medium break-words text-ink [overflow-wrap:anywhere]",children:t.item.label}),t.item.state&&e("span",{className:d("control.badge","text-[10px]"),children:_[t.item.state]}),e("span",{className:"font-mono tabular-nums text-dim",children:t.item.tokens.toLocaleString()}),n("span",{className:"w-10 text-right font-mono text-[11px] tabular-nums text-faint",children:[i,"%"]})]}),children:e(ee,{item:t.item,percent:i,color:t.color})})}function ee(t){let{cn:l,CopyButton:d,style:r,useTheme:i}=y();i();let u=t.item.detail,p=w(()=>u?W(t.item.id,u):"markdown",[u,t.item.id]),x=w(()=>{if(!u)return"";return p==="xml"?L(u):u},[u,p]);return n(m,{children:[e("div",{className:"mb-2 h-1 overflow-hidden rounded-full bg-raised",children:e("div",{className:l("h-full",t.color),style:{width:`${t.percent}%`}})}),x?n("div",{className:r("surface.subtle","group/detail relative overflow-hidden rounded-lg bg-panel/70 p-2.5"),children:[e("div",{className:"absolute right-1.5 top-1.5 z-10",children:e(d,{text:t.item.detail,size:"icon-xs",className:"bg-raised/60 hover:bg-raised text-faint hover:text-ink backdrop-blur-sm"})}),e("div",{className:"max-h-80 overflow-y-auto pr-6 text-dim",children:e(E,{code:x,lang:p})})]}):e("p",{className:"py-2 text-center text-xs text-faint",children:"(空)"})]})}var M=40,te={accent:"bg-accent/15 text-accent",success:"bg-success/15 text-success",warning:"bg-warning/15 text-warning",danger:"bg-danger/15 text-danger",neutral:"bg-raised text-dim"};function j(t){let{Button:l,CopyButton:d,style:r,useTheme:i}=y();i();let[u,p]=a(M),x=o(null),b=u<t.entries.length;s(()=>{let f=x.current;if(!f||!b||typeof IntersectionObserver>"u")return;let v=new IntersectionObserver((T)=>{if(T.some((h)=>h.isIntersecting))p((h)=>Math.min(t.entries.length,h+M))},{rootMargin:"480px"});return v.observe(f),()=>v.disconnect()},[b,t.entries.length]);let c=w(()=>t.entries.slice(-u).reverse(),[t.entries,u]);if(!t.entries.length)return e(k,{children:"还没有消息。"});return n("div",{className:"space-y-1.5",children:[n("div",{className:r("surface.subtle","flex items-center justify-between px-3 py-1.5 text-xs text-faint"),children:[n("span",{children:["共 ",t.entries.length," 条记录"]}),e(d,{text:()=>t.entries.map((f)=>JSON.stringify(f,null,2)).join(`
3
+
4
+ `),size:"icon-xs",label:"复制全部原始 JSON",className:"hover:bg-raised text-faint hover:text-ink"})]}),c.map((f)=>e(ae,{entry:f},f.seq)),b&&n("div",{ref:x,className:r("surface.subtle","flex items-center justify-between bg-panel/40 px-3 py-2 text-xs text-faint"),children:[n("span",{children:["已显示 ",c.length," / ",t.entries.length," 条"]}),n("div",{className:"flex items-center gap-1.5",children:[e(l,{size:"sm",variant:"ghost",onClick:()=>p((f)=>Math.min(t.entries.length,f+M)),children:"加载更多"}),e(l,{size:"sm",variant:"ghost",onClick:()=>p(t.entries.length),children:"显示全部"})]})]})]})}var ae=q(function(l){let{CopyButton:d,style:r,useTheme:i}=y();i();let u=zc(l.entry),p=w(()=>Fc(l.entry.time),[l.entry.time]);return e(S,{header:n(m,{children:[n("span",{className:"shrink-0 font-mono text-[10.5px] tabular-nums text-faint",children:["#",l.entry.seq]}),e("span",{className:r("control.badge","shrink-0 font-medium text-[10px]",te[u.tone]),children:u.badge}),e("span",{className:"min-w-0 flex-1 truncate text-ink",children:u.title}),u.meta&&e("span",{className:r("control.badge","shrink-0 font-mono text-[10px] text-faint"),children:u.meta}),e("span",{className:"shrink-0 font-mono text-[10.5px] tabular-nums text-faint",children:p})]}),children:n("div",{className:"space-y-2",children:[n("div",{className:"flex items-center justify-between text-[11px] text-faint",children:[n("span",{className:"font-mono",children:[l.entry.type," · #",l.entry.seq]}),e(d,{text:()=>JSON.stringify(l.entry,null,2),size:"icon-xs",label:"复制此条 JSON",className:"bg-raised/60 hover:bg-raised text-faint hover:text-ink"})]}),e(se,{entry:l.entry})]})})});function se(t){let{style:l,useTheme:d}=y();d();let r=t.entry;if(r.type==="user")return n("div",{className:"space-y-2",children:[r.text&&e("pre",{className:l("surface.subtle","max-h-72 overflow-y-auto p-2.5 font-sans text-xs leading-relaxed text-ink whitespace-pre-wrap break-words [overflow-wrap:anywhere]"),children:si(r.text)}),r.attachments&&r.attachments.length>0&&n("div",{className:"space-y-1",children:[n("div",{className:"text-[10.5px] font-medium text-faint",children:["附件(",r.attachments.length,")"]}),e("div",{className:"flex flex-wrap gap-1.5",children:r.attachments.map((i,u)=>{let p=i.kind==="image"?Math.floor(i.data.length*0.75):i.data.length;return n("div",{className:l("surface.subtle","inline-flex items-center gap-1.5 px-2 py-1 text-[11px]"),children:[e("span",{className:l("control.badge","text-[10px] text-faint"),children:i.kind==="image"?"图片":i.kind==="path"?"路径":"文本"}),e("span",{className:"max-w-40 truncate font-medium text-ink",children:i.name}),n("span",{className:"font-mono text-[10px] text-faint",children:[i.mimeType," · ",ac(p)]})]},`${i.name}-${u}`)})})]}),r.notices&&r.notices.length>0&&n("div",{className:"space-y-1",children:[n("div",{className:"text-[10.5px] font-medium text-faint",children:["通知来源(",r.notices.length,")"]}),r.notices.map((i)=>n("div",{className:l("surface.subtle","flex items-center justify-between px-2.5 py-1.5 font-mono text-[11px]"),children:[n("span",{className:"truncate text-ink",children:[i.sourceKind,"/",i.sourceID]}),e("span",{className:"text-faint",children:i.state})]},i.dedupeKey))]})]});if(r.type==="assistant")return n("div",{className:"space-y-2",children:[n("div",{className:"font-mono text-[11px] text-faint",children:["模型:",r.model]}),r.error&&e("div",{className:"rounded-lg border border-danger/30 bg-danger/8 px-2.5 py-2 text-xs text-danger",children:r.error}),r.parts.map((i,u)=>{if(i.type==="thinking")return n("div",{className:l("surface.subtle","p-2.5 space-y-1"),children:[e("div",{className:"text-[10.5px] font-medium text-faint",children:"思考"}),e("pre",{className:"max-h-60 overflow-y-auto font-sans text-xs italic leading-relaxed text-dim whitespace-pre-wrap break-words [overflow-wrap:anywhere]",children:si(i.text)})]},`thinking-${u}`);if(i.type==="text")return n("div",{className:l("surface.subtle","p-2.5 space-y-1"),children:[e("div",{className:"text-[10.5px] font-medium text-faint",children:"回复"}),e("pre",{className:"max-h-60 overflow-y-auto font-sans text-xs leading-relaxed text-ink whitespace-pre-wrap break-words [overflow-wrap:anywhere]",children:si(i.text)})]},`text-${u}`);return n("div",{className:l("surface.subtle","p-2.5 space-y-1.5"),children:[n("div",{className:"flex items-center justify-between gap-2 text-[11px]",children:[n("span",{className:"font-mono font-medium text-ink",children:["工具调用 · ",i.name]}),e("span",{className:"truncate font-mono text-[10px] text-faint",children:i.id})]}),e("div",{className:"max-h-60 overflow-y-auto text-dim",children:e(E,{code:Fi(JSON.stringify(i.input,ic,2)),lang:"json"})})]},i.id||`tool-${u}`)})]});if(r.type==="tool_result")return n("div",{className:"space-y-2",children:[n("div",{className:"flex flex-wrap items-center gap-2 font-mono text-[11px] text-faint",children:[e("span",{className:"text-ink",children:r.name}),e("span",{children:"·"}),e("span",{className:"truncate",children:r.callID}),e("span",{className:l("control.badge","ml-auto font-sans text-[10px]",r.isError?"bg-danger/15 text-danger":"text-dim"),children:r.isError?"执行失败":"执行完成"})]}),r.images&&r.images.length>0&&e("div",{className:"flex flex-wrap gap-1.5",children:r.images.map((i,u)=>n("span",{className:l("surface.subtle","px-2 py-1 font-mono text-[10.5px] text-faint"),children:["图片 #",u+1," · ",i.mimeType," · ",ac(Math.floor(i.data.length*0.75))]},`${i.mimeType}-${u}`))}),es(r.output)?e("pre",{className:l("surface.subtle","max-h-72 overflow-y-auto p-2.5 font-mono text-[11px] leading-relaxed whitespace-pre-wrap break-words [overflow-wrap:anywhere]",r.isError?"text-danger":"text-dim"),children:si(r.output)}):e("p",{className:"py-1 text-faint",children:"(无文本输出)"})]});return e("pre",{className:l("surface.subtle","max-h-72 overflow-y-auto p-2.5 font-mono text-[11px] leading-relaxed text-dim whitespace-pre-wrap break-words [overflow-wrap:anywhere]"),children:Hc(r)})}function A(t){let{cn:l,style:d,useTheme:r}=y();if(r(),!t.todos.length)return e(k,{children:"暂无待办。"});return e("ul",{className:"space-y-1.5",children:t.todos.map((i)=>n("li",{className:d("surface.interactive","flex items-start gap-2.5 px-3 py-2 text-xs"),children:[n("span",{className:l("mt-0.5 flex size-4 shrink-0 items-center justify-center rounded-full border transition-colors duration-300",i.status==="completed"&&"border-success bg-success text-panel",i.status==="in_progress"&&"border-accent",i.status==="pending"&&"border-line-strong"),children:[i.status==="completed"&&e(K,{className:"size-2.5 animate-pop",strokeWidth:3.5}),i.status==="in_progress"&&e("span",{className:"size-1.5 animate-pulse rounded-full bg-accent"})]}),e("span",{className:l("min-w-0 flex-1 break-words leading-relaxed [overflow-wrap:anywhere]",i.status==="completed"&&"text-faint line-through decoration-faint/60",i.status==="in_progress"&&"font-medium text-ink",i.status==="pending"&&"text-dim"),children:i.content})]},`${i.status}-${i.content}`))})}function F(t){let{cn:l,style:d,useTheme:r}=y();r();let[i,u]=a("all"),p=w(()=>t.tools.filter((c)=>c.deferred).length,[t.tools]),x=t.tools.length-p,b=w(()=>{if(i==="deferred")return t.tools.filter((c)=>c.deferred);if(i==="active")return t.tools.filter((c)=>!c.deferred);return t.tools},[t.tools,i]);if(!t.tools.length)return e(k,{children:"当前会话没有可用工具。"});return n("div",{className:"space-y-2",children:[p>0&&n("div",{className:"flex items-center gap-1 text-[11px]",children:[n("button",{type:"button",onClick:()=>u("all"),className:l("rounded-lg px-2 py-1 transition-colors",i==="all"?"bg-raised font-medium text-ink":"text-faint hover:text-dim"),children:["全部 (",t.tools.length,")"]}),n("button",{type:"button",onClick:()=>u("active"),className:l("rounded-lg px-2 py-1 transition-colors",i==="active"?"bg-raised font-medium text-ink":"text-faint hover:text-dim"),children:["常驻 (",x,")"]}),n("button",{type:"button",onClick:()=>u("deferred"),className:l("rounded-lg px-2 py-1 transition-colors",i==="deferred"?"bg-raised font-medium text-ink":"text-faint hover:text-dim"),children:["延迟加载 (",p,")"]})]}),e("div",{className:"space-y-1.5",children:b.map((c)=>e(ne,{tool:c},`${c.group}-${c.name}`))})]})}function ne(t){let{style:l,useTheme:d}=y();return d(),e(S,{header:n("div",{className:"flex min-w-0 flex-1 items-center gap-1.5 truncate font-mono text-ink",children:[e("span",{className:"truncate",children:t.tool.name}),t.tool.group&&e("span",{className:l("control.badge","font-sans text-[10px]"),children:t.tool.group}),t.tool.deferred&&e("span",{className:l("control.badge","font-sans text-[10px]"),children:"延迟加载"})]}),children:e(ie,{tool:t.tool})})}function ie(t){let{CopyButton:l,style:d,useTheme:r}=y();r();let i=w(()=>JSON.stringify(t.tool.schema,null,2),[t.tool.schema]);return n(m,{children:[t.tool.deferred&&e("div",{className:d("surface.subtle","mb-2 px-2.5 py-1.5 text-[11px] text-faint"),children:"延迟加载:此工具默认以精简描述挂载,模型通过 toolsearch 取回定义后才向上下文注入完整参数 Schema。"}),t.tool.description&&e("pre",{className:"mb-2 max-h-60 overflow-y-auto font-sans text-xs leading-relaxed text-dim whitespace-pre-wrap break-words [overflow-wrap:anywhere]",children:Fi(t.tool.description)}),n("div",{className:d("surface.subtle","group/schema relative overflow-hidden rounded-lg p-2.5"),children:[e("div",{className:"absolute right-1.5 top-1.5 z-10",children:e(l,{text:i,size:"icon-xs",className:"bg-raised/60 hover:bg-raised text-faint hover:text-ink backdrop-blur-sm"})}),e("div",{className:"max-h-72 overflow-y-auto pr-6 text-dim",children:e(E,{code:Fi(i),lang:"json"})})]})]})}function oe(){try{let t=localStorage.getItem("basalt.contextSidebar.tab");if(t==="tools"||t==="todos"||t==="raw")return t}catch{}return"breakdown"}function re(t){let{style:l,useTheme:d}=y();return d(),n("div",{className:l("surface.panel","bg-panel/70 px-3 py-2"),children:[e("div",{className:"text-[10px] font-medium uppercase tracking-wider text-faint",children:t.label}),e("div",{className:"mt-0.5 truncate font-mono text-xs font-semibold tabular-nums text-ink",children:t.value})]})}function He(t){let{Button:l,StatusChip:d,Segmented:r,cn:i,style:u,useTheme:p}=y();p();let[x,b]=a(oe),[c,f]=a(()=>kr.get(t.session.id)),[v,T]=a(!1),[h,B]=a(0),[H,U]=a(!1);s(()=>{let g=setTimeout(()=>Sn(()=>U(!0)),140);return()=>clearTimeout(g)},[]),s(()=>{let g=kr.get(t.session.id);if(g)f(g);return ts((R,Q)=>{if(R===t.session.id)Sn(()=>f(Q))})},[t.session.id]),s(()=>{let g=!0;return T(!1),ns(t.connection,t.session.id,`${t.session.updated}:${t.entries.length}`,h>0).then((R)=>{if(g)Sn(()=>f(R))},()=>{if(g)T(!0)}),()=>{g=!1}},[t.connection,t.session.id,t.session.updated,t.entries.length,h]);let N=zi(c?.items??[],c?.usableWindow,c?.calibratedTokens,c?.lastInputTokens,c?.hasPendingOutput),C=Hi(N.percent),D=c?.lastCacheHitRate,P=c?.usage?.cacheHitRate,J=D===void 0?"—":`${(D*100).toFixed(1)}%`,Z=P===void 0?"—":`${(P*100).toFixed(1)}%`,V=(g)=>{b(g);try{localStorage.setItem("basalt.contextSidebar.tab",g)}catch{}},X=[{value:"breakdown",label:"构成"},{value:"tools",label:n("span",{className:"inline-flex items-center gap-1",children:["工具",c&&e("span",{className:"text-[10px] text-faint tabular-nums",children:c.tools.length})]})},{value:"todos",label:n("span",{className:"inline-flex items-center gap-1",children:["待办",t.session.todos.length>0&&e("span",{className:"text-[10px] text-faint tabular-nums",children:t.session.todos.length})]})},{value:"raw",label:"原始消息"}],G=n("div",{className:"px-3.5 pt-1 pb-3",children:[n("div",{className:"flex items-start justify-between gap-3",children:[n("div",{children:[e("div",{className:"text-[10.5px] font-medium uppercase tracking-wider text-faint",children:"预计下次输入"}),n("div",{className:"mt-0.5 flex items-baseline gap-1.5",children:[e("span",{className:"font-mono text-xl font-semibold tabular-nums text-ink",children:c?N.totalTokens.toLocaleString():"—"}),n("span",{className:"font-mono text-xs text-dim",children:["/ ",c?.usableWindow.toLocaleString()??"—"]})]})]}),e(d,{tone:C==="overflow"||C==="near_limit"?"danger":C==="sealing"?"warning":"success",children:C==="overflow"?"预计超限":C==="near_limit"?"接近上限":C==="sealing"?"接近封存":"正常"})]}),N.percent!==null&&e("meter",{className:"sr-only","aria-label":"可用上下文窗口占比",min:0,max:100,value:Math.min(100,N.percent)}),e("div",{"aria-hidden":!0,className:i("relative mt-2.5 h-2 w-full overflow-hidden rounded-full bg-raised",!c&&"animate-pulse"),children:e("div",{className:"h-full rounded-full bg-accent transition-[width] duration-500 ease-out-quint",style:{width:`${Math.min(100,N.percent??0)}%`}})}),n("div",{className:"mt-2 flex items-center justify-between text-[11px]",children:[e("span",{className:"text-dim",children:N.percent===null?"暂无窗口数据":`${N.percent.toFixed(1)}% 可用窗口`}),n("span",{className:"text-faint",children:["总窗口 ",c?.contextWindow.toLocaleString()??"—"," · 80% 封存 · 97% 折叠"]})]}),n("div",{className:"mt-3 flex items-center justify-between gap-2 text-[11px]",title:"最近实际发往模型的请求体大小(UTF-8 字节,图片优化后,不含 HTTP 头);重启后需重新发送请求才有记录。",children:[e("span",{className:"text-dim",children:"最近请求体"}),e("span",{className:"font-mono font-semibold tabular-nums text-ink",children:c?.lastRequestBodyBytes===void 0?"—":Ma(c.lastRequestBodyBytes)})]}),n("div",{className:"mt-2 flex items-center justify-between gap-2 text-[11px]",children:[e("span",{className:"text-dim",children:"最近实际输入"}),n("span",{className:"font-mono tabular-nums text-ink",children:[c?.lastInputTokens?.toLocaleString()??"—"," tokens"]})]}),c?.usage&&(c.usage.input>0||c.usage.output>0||c.usage.cacheRead>0||c.usage.cacheWrite>0||c.usage.cost>0)&&e("div",{className:"mt-3 grid grid-cols-2 gap-2",children:[["Input",c.usage.input.toLocaleString()],["Output",c.usage.output.toLocaleString()],["缓存命中 当前 / 平均",`${J} / ${Z}`],["平均 TPS",c.usage.tps!==void 0?`${c.usage.tps.toFixed(1)} tok/s`:"—"]].map(([g,R])=>e(re,{label:g,value:R},g))})]});return n(m,{children:[G,e("div",{className:"px-3 py-2",children:e(r,{value:x,onChange:V,options:X,className:"w-full grid grid-cols-4"})}),n("div",{className:"min-h-0 flex-1 overflow-y-auto px-3 py-3",children:[v&&!c&&n("div",{role:"alert",className:"flex items-center justify-between rounded-xl border border-danger/30 bg-danger/8 px-3 py-2 text-xs text-danger",children:[e("span",{children:"上下文加载失败。"}),e(l,{size:"sm",variant:"ghost",onClick:()=>B((g)=>g+1),children:"重试"})]}),e("div",{children:!H?e(z,{}):n(m,{children:[x==="raw"&&e(j,{entries:t.entries}),x==="todos"&&e(A,{todos:t.session.todos}),x==="breakdown"&&(c?e(O,{items:N.items}):!v?e(z,{}):null),x==="tools"&&(c?e(F,{tools:c.tools??[]}):!v?e(z,{}):null)]})},x)]})]})}export{He as ContextSidebar};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import"./chunk-22rjbwxp.js";import"./chunk-phs38wt7.js";import"./chunk-rdarpbhd.js";import{mc}from"./chunk-xsxd3wsv.js";export{mc as render};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ function Rn(e,a){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(a).domain(e);break}return this}export{Rn};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{I,a,e,n,nt,Kt,K,ve,oc}from"./chunk-svaq7f3c.js";function Q(s){let i=I(nt);i?.useTheme?.();let t=s.payload,[o,m]=a(!1);if(!t||t.state==="pending")return null;let h=t.questions.map((r)=>r.header).join(" · "),l=t.state==="answered",u=l?K:Kt,d=l?"text-success":"text-faint",f=l?"已回答":t.state==="dismissed"?"已忽略提问":"提问已取消",p=l?g(t):h;if(i){let{Collapsible:r,CollapsibleTrigger:y,CollapsibleContent:N,Chevron:v,cn:b}=i;return n(r,{open:o,onOpenChange:m,className:"w-full text-xs text-ink/90 animate-fade",children:[n(y,{className:i.style("chat.timelineRow","cursor-pointer select-none"),children:[e("span",{className:"flex size-4 shrink-0 items-center justify-center",children:e(u,{className:b("size-3.5",d)})}),e("span",{className:"shrink-0",children:f}),e("span",{className:"min-w-0 flex-1 truncate opacity-80",title:p,children:p}),e(v,{className:"size-3.5 shrink-0 text-faint opacity-0 transition-opacity group-hover/collapsible:opacity-100 group-data-[state=open]/collapsible:opacity-100"})]}),e(N,{children:e("div",{className:"mt-0.5 mb-1.5 ml-2 border-l border-line py-1 pl-[15px]",children:e(x,{question:t})})})]})}return n("div",{role:"status",className:"w-full animate-fade",children:[n("button",{type:"button","aria-expanded":o,className:"group -mx-2 flex w-[calc(100%+1rem)] cursor-pointer items-center gap-2 rounded-lg px-2 py-1 text-left text-[12.5px] text-faint transition-colors select-none hover:bg-raised/60 hover:text-dim",onClick:()=>m((r)=>!r),children:[e("span",{className:"flex size-4 shrink-0 items-center justify-center",children:e(u,{className:`size-3.5 shrink-0 ${d}`})}),e("span",{className:"shrink-0",children:f}),e("span",{className:"min-w-0 flex-1 truncate opacity-80",title:p,children:p}),e(ve,{className:`size-3.5 shrink-0 text-faint opacity-0 transition-[opacity,transform] group-hover:opacity-100 ${o?"rotate-180 opacity-100":""}`})]}),o&&e("div",{className:"mt-0.5 mb-1.5 ml-2 border-l border-line py-1 pl-[15px]",children:e(x,{question:t})})]})}function c(s){if(!s)return"未作答";let i=s.selected.map((t)=>oc(t).title);if(s.other)i.push(`其他:${s.other}`);return i.length?i.join("、"):"未作答"}function g(s){if(s.questions.length===1)return`${s.questions[0]?.header??""} · ${c(s.answers?.[0])}`;return s.questions.map((i,t)=>`${i.header} → ${c(s.answers?.[t])}`).join(";")}function x(s){let i=s.question;return e("div",{className:"space-y-2 text-xs",children:i.questions.map((t,o)=>n("div",{className:"space-y-0.5",children:[n("div",{className:"text-dim",children:[e("span",{className:"font-medium text-ink/90",children:t.header})," · ",t.question]}),e("div",{className:"text-ink",children:c(i.answers?.[o])})]},t.header))})}export{Q as QuestionCard};
Binary file
Binary file