@bkm016/basalt 0.1.26 → 0.1.28

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 (992) hide show
  1. package/chunk-00jhevnt.js +3 -0
  2. package/chunk-04tx0etc.js +2 -0
  3. package/chunk-0r86p29p.js +7 -0
  4. package/chunk-10x1zefx.js +25 -0
  5. package/chunk-1amcz1cz.js +10 -0
  6. package/chunk-1pfdps04.js +2 -0
  7. package/chunk-206g40v9.js +59 -0
  8. package/chunk-2364s958.js +7 -0
  9. package/chunk-3fv2qcpg.js +12 -0
  10. package/chunk-3zz4a5tn.js +31 -0
  11. package/chunk-45wfmdts.js +44 -0
  12. package/chunk-4hkwjw05.js +2 -0
  13. package/chunk-4n4wn5cj.js +4014 -0
  14. package/chunk-4pq7ycp2.js +5 -0
  15. package/chunk-51f8zbj5.js +3 -0
  16. package/chunk-5e0qfdgx.js +5 -0
  17. package/chunk-78yngmvf.js +51 -0
  18. package/chunk-7hpf9qq2.js +3 -0
  19. package/chunk-82dkdvs9.js +2 -0
  20. package/chunk-8913dkey.js +3 -0
  21. package/chunk-8g1sbmwf.js +3 -0
  22. package/chunk-8hfch7d0.js +2 -0
  23. package/chunk-90arpvgz.js +2 -0
  24. package/chunk-912knnfg.js +11 -0
  25. package/chunk-97bazdk3.js +20 -0
  26. package/chunk-9akexjfn.js +2 -0
  27. package/chunk-9dgmbwcc.js +2 -0
  28. package/chunk-a454ntda.js +50 -0
  29. package/chunk-acd2cwza.js +3 -0
  30. package/chunk-ach16jbw.js +2 -0
  31. package/chunk-ax823t5v.js +3 -0
  32. package/chunk-b03hg30w.js +2 -0
  33. package/chunk-bh29df86.js +5 -0
  34. package/chunk-bhpg72c4.js +2 -0
  35. package/chunk-bwww6j2q.js +2 -0
  36. package/chunk-c126k8wc.js +2 -0
  37. package/chunk-cb3jgak9.js +3 -0
  38. package/chunk-cjeyy6da.js +3 -0
  39. package/chunk-cs4gb2hb.js +2 -0
  40. package/chunk-en5t6hwd.js +3 -0
  41. package/chunk-f4n1csz0.js +3 -0
  42. package/chunk-fqfjjhkj.js +3 -0
  43. package/chunk-h4bvkm6p.js +3 -0
  44. package/chunk-j01t6mnq.js +3 -0
  45. package/chunk-j16smb6d.js +2 -0
  46. package/chunk-j7eqp97m.js +2 -0
  47. package/chunk-jdrqn8m1.js +2 -0
  48. package/chunk-jp1gqkbp.js +4 -0
  49. package/chunk-jrcvxscb.js +9 -0
  50. package/chunk-k8zq95wr.js +2 -0
  51. package/chunk-ken7ras9.js +8 -0
  52. package/chunk-kqgpjmcf.js +2 -0
  53. package/chunk-krbdx24j.js +3 -0
  54. package/chunk-ky2ym708.js +8 -0
  55. package/chunk-kzfy666j.js +16 -0
  56. package/chunk-n0stnnxv.js +2 -0
  57. package/chunk-n9m2pagh.js +2 -0
  58. package/chunk-nedvy6yk.js +10 -0
  59. package/chunk-ng5g0fy3.js +3 -0
  60. package/chunk-nqeqasyt.js +7 -0
  61. package/chunk-nt30x5a7.js +3 -0
  62. package/chunk-pa7yh2q3.js +3 -0
  63. package/chunk-q1s5r204.js +3 -0
  64. package/chunk-qj0vfk01.js +2 -0
  65. package/chunk-qqfdg01g.js +3 -0
  66. package/chunk-rj6qknjx.js +12 -0
  67. package/chunk-rvrj0nrs.js +3 -0
  68. package/chunk-sbhj5h2q.js +2 -0
  69. package/chunk-t71zzafh.js +3 -0
  70. package/chunk-t7fwvzmh.js +3 -0
  71. package/chunk-tpv5hz99.js +5 -0
  72. package/chunk-tx2rrrtq.js +2 -0
  73. package/chunk-tyzzbhr5.js +3 -0
  74. package/chunk-tzbefwf0.js +286 -0
  75. package/chunk-v4p8807b.js +18 -0
  76. package/chunk-vnxjcym9.js +17 -0
  77. package/chunk-w35r8v6x.js +39 -0
  78. package/chunk-wbygknv2.js +3 -0
  79. package/chunk-wk63htqy.js +2 -0
  80. package/chunk-wwazj6mz.js +3 -0
  81. package/chunk-xpc75mkw.js +25 -0
  82. package/chunk-ypxn8bec.js +3 -0
  83. package/chunk-yztc2q9q.js +490 -0
  84. package/compiled.js +9 -9
  85. package/package.json +1 -1
  86. package/ui-test-worker.js +52 -52
  87. package/web/chunk-02z7yrhn.js +2 -0
  88. package/web/chunk-02z7yrhn.js.br +0 -0
  89. package/web/chunk-02z7yrhn.js.gz +0 -0
  90. package/web/chunk-0an1eqtf.js +1 -0
  91. package/web/chunk-0an1eqtf.js.br +0 -0
  92. package/web/chunk-0an1eqtf.js.gz +0 -0
  93. package/web/chunk-128zy60g.js +99 -0
  94. package/web/chunk-128zy60g.js.br +0 -0
  95. package/web/chunk-128zy60g.js.gz +0 -0
  96. package/web/chunk-1e2jy7m2.js +139 -0
  97. package/web/chunk-1e2jy7m2.js.br +0 -0
  98. package/web/chunk-1e2jy7m2.js.gz +0 -0
  99. package/web/chunk-1hmw1eaw.js +1 -0
  100. package/web/chunk-1hmw1eaw.js.br +0 -0
  101. package/web/chunk-1hmw1eaw.js.gz +0 -0
  102. package/web/chunk-1v3e001f.js +1 -0
  103. package/web/chunk-1v3e001f.js.br +0 -0
  104. package/web/chunk-1v3e001f.js.gz +0 -0
  105. package/web/chunk-20gcnbgn.js +2 -0
  106. package/web/chunk-20gcnbgn.js.br +0 -0
  107. package/web/chunk-20gcnbgn.js.gz +0 -0
  108. package/web/chunk-214p3rj6.js +41 -0
  109. package/web/chunk-214p3rj6.js.br +0 -0
  110. package/web/chunk-214p3rj6.js.gz +0 -0
  111. package/web/chunk-29byd5kf.js +89 -0
  112. package/web/chunk-29byd5kf.js.br +0 -0
  113. package/web/chunk-29byd5kf.js.gz +0 -0
  114. package/web/chunk-2nwvdqxm.js +1 -0
  115. package/web/chunk-2nwvdqxm.js.br +0 -0
  116. package/web/chunk-2nwvdqxm.js.gz +0 -0
  117. package/web/chunk-2wvgy7f4.js +1 -0
  118. package/web/chunk-2wvgy7f4.js.br +0 -0
  119. package/web/chunk-2wvgy7f4.js.gz +0 -0
  120. package/web/chunk-3fbh1wxk.js +62 -0
  121. package/web/chunk-3fbh1wxk.js.br +0 -0
  122. package/web/chunk-3fbh1wxk.js.gz +0 -0
  123. package/web/chunk-3fnrzj1h.js +98 -0
  124. package/web/chunk-3fnrzj1h.js.br +0 -0
  125. package/web/chunk-3fnrzj1h.js.gz +0 -0
  126. package/web/chunk-3g1095m7.js +78 -0
  127. package/web/chunk-3g1095m7.js.br +0 -0
  128. package/web/chunk-3g1095m7.js.gz +0 -0
  129. package/web/chunk-3nn7w4hw.js +2 -0
  130. package/web/chunk-3nn7w4hw.js.br +0 -0
  131. package/web/chunk-3nn7w4hw.js.gz +0 -0
  132. package/web/chunk-3qa8xcdr.js +1 -0
  133. package/web/chunk-3qa8xcdr.js.br +0 -0
  134. package/web/chunk-3qa8xcdr.js.gz +0 -0
  135. package/web/chunk-3x69jfmh.js +332 -0
  136. package/web/chunk-3x69jfmh.js.br +0 -0
  137. package/web/chunk-3x69jfmh.js.gz +0 -0
  138. package/web/chunk-414npx47.js +1 -0
  139. package/web/chunk-414npx47.js.br +0 -0
  140. package/web/chunk-414npx47.js.gz +0 -0
  141. package/web/chunk-4v6m77sv.css +1 -0
  142. package/web/chunk-4v6m77sv.css.br +0 -0
  143. package/web/chunk-4v6m77sv.css.gz +0 -0
  144. package/web/chunk-4vk6xma5.js +1 -0
  145. package/web/chunk-4vk6xma5.js.br +0 -0
  146. package/web/chunk-4vk6xma5.js.gz +0 -0
  147. package/web/chunk-50pdas2t.js +1 -0
  148. package/web/chunk-50pdas2t.js.br +0 -0
  149. package/web/chunk-50pdas2t.js.gz +0 -0
  150. package/web/chunk-56a6zytc.js +1139 -0
  151. package/web/chunk-56a6zytc.js.br +0 -0
  152. package/web/chunk-56a6zytc.js.gz +0 -0
  153. package/web/chunk-5ckj4zez.js +1 -0
  154. package/web/chunk-5ckj4zez.js.br +2 -0
  155. package/web/chunk-5ckj4zez.js.gz +0 -0
  156. package/web/chunk-5mr8z024.js +2 -0
  157. package/web/chunk-5mr8z024.js.br +0 -0
  158. package/web/chunk-5mr8z024.js.gz +0 -0
  159. package/web/chunk-5q4pemdh.js +1 -0
  160. package/web/chunk-5q4pemdh.js.br +0 -0
  161. package/web/chunk-5q4pemdh.js.gz +0 -0
  162. package/web/chunk-63ft76vs.js +1 -0
  163. package/web/chunk-63ft76vs.js.br +0 -0
  164. package/web/chunk-63ft76vs.js.gz +0 -0
  165. package/web/chunk-67ynxnvq.js +8 -0
  166. package/web/chunk-67ynxnvq.js.br +0 -0
  167. package/web/chunk-67ynxnvq.js.gz +0 -0
  168. package/web/chunk-6c2pv79h.js +1 -0
  169. package/web/chunk-6c2pv79h.js.br +0 -0
  170. package/web/chunk-6c2pv79h.js.gz +0 -0
  171. package/web/chunk-719tz8xw.js +1 -0
  172. package/web/chunk-719tz8xw.js.br +0 -0
  173. package/web/chunk-719tz8xw.js.gz +0 -0
  174. package/web/chunk-77nxgqqb.js +4 -0
  175. package/web/chunk-77nxgqqb.js.br +0 -0
  176. package/web/chunk-77nxgqqb.js.gz +0 -0
  177. package/web/chunk-7c59jb8d.js +2 -0
  178. package/web/chunk-7c59jb8d.js.br +0 -0
  179. package/web/chunk-7c59jb8d.js.gz +0 -0
  180. package/web/chunk-7ed5jf6e.js +36 -0
  181. package/web/chunk-7ed5jf6e.js.br +0 -0
  182. package/web/chunk-7ed5jf6e.js.gz +0 -0
  183. package/web/chunk-891bpx3c.js +70 -0
  184. package/web/chunk-891bpx3c.js.br +0 -0
  185. package/web/chunk-891bpx3c.js.gz +0 -0
  186. package/web/chunk-8h4dc48v.js +292 -0
  187. package/web/chunk-8h4dc48v.js.br +0 -0
  188. package/web/chunk-8h4dc48v.js.gz +0 -0
  189. package/web/chunk-96n00vam.js +1 -0
  190. package/web/chunk-96n00vam.js.br +0 -0
  191. package/web/chunk-96n00vam.js.gz +0 -0
  192. package/web/chunk-99c0h3v7.js +1 -0
  193. package/web/chunk-99c0h3v7.js.br +0 -0
  194. package/web/chunk-99c0h3v7.js.gz +0 -0
  195. package/web/chunk-9bs7khrr.js +24 -0
  196. package/web/chunk-9bs7khrr.js.br +0 -0
  197. package/web/chunk-9bs7khrr.js.gz +0 -0
  198. package/web/chunk-9ctyqr3n.js +169 -0
  199. package/web/chunk-9ctyqr3n.js.br +0 -0
  200. package/web/chunk-9ctyqr3n.js.gz +0 -0
  201. package/web/chunk-9qdx0ekk.js +142 -0
  202. package/web/chunk-9qdx0ekk.js.br +0 -0
  203. package/web/chunk-9qdx0ekk.js.gz +0 -0
  204. package/web/chunk-9r0rnt6d.js +214 -0
  205. package/web/chunk-9r0rnt6d.js.br +0 -0
  206. package/web/chunk-9r0rnt6d.js.gz +0 -0
  207. package/web/chunk-a11ev6ff.js +1 -0
  208. package/web/chunk-a11ev6ff.js.br +0 -0
  209. package/web/chunk-a11ev6ff.js.gz +0 -0
  210. package/web/chunk-aan5qk6x.js +1 -0
  211. package/web/chunk-aan5qk6x.js.br +0 -0
  212. package/web/chunk-aan5qk6x.js.gz +0 -0
  213. package/web/chunk-ac9g3w7v.js +1 -0
  214. package/web/chunk-ac9g3w7v.js.br +0 -0
  215. package/web/chunk-ac9g3w7v.js.gz +0 -0
  216. package/web/chunk-ackts7ph.js +24 -0
  217. package/web/chunk-ackts7ph.js.br +0 -0
  218. package/web/chunk-ackts7ph.js.gz +0 -0
  219. package/web/chunk-asyqrf38.js +1 -0
  220. package/web/chunk-asyqrf38.js.br +0 -0
  221. package/web/chunk-asyqrf38.js.gz +0 -0
  222. package/web/chunk-b13crsv9.js +1 -0
  223. package/web/chunk-b13crsv9.js.br +0 -0
  224. package/web/chunk-b13crsv9.js.gz +0 -0
  225. package/web/chunk-brg2zcv5.js +55 -0
  226. package/web/chunk-brg2zcv5.js.br +0 -0
  227. package/web/chunk-brg2zcv5.js.gz +0 -0
  228. package/web/chunk-bw9crrb4.js +1 -0
  229. package/web/chunk-bw9crrb4.js.br +0 -0
  230. package/web/chunk-bw9crrb4.js.gz +0 -0
  231. package/web/chunk-c3d08dw1.js +1 -0
  232. package/web/chunk-c3d08dw1.js.br +0 -0
  233. package/web/chunk-c3d08dw1.js.gz +0 -0
  234. package/web/chunk-cgwnzse1.js +16 -0
  235. package/web/chunk-cgwnzse1.js.br +0 -0
  236. package/web/chunk-cgwnzse1.js.gz +0 -0
  237. package/web/chunk-cm4fjb6j.js +2 -0
  238. package/web/chunk-cm4fjb6j.js.br +0 -0
  239. package/web/chunk-cm4fjb6j.js.gz +0 -0
  240. package/web/chunk-cys4n4sv.js +1 -0
  241. package/web/chunk-cys4n4sv.js.br +0 -0
  242. package/web/chunk-cys4n4sv.js.gz +0 -0
  243. package/web/chunk-d5n2yz4e.js +2 -0
  244. package/web/chunk-d5n2yz4e.js.br +0 -0
  245. package/web/chunk-d5n2yz4e.js.gz +0 -0
  246. package/web/chunk-djrvdzsb.js +89 -0
  247. package/web/chunk-djrvdzsb.js.br +0 -0
  248. package/web/chunk-djrvdzsb.js.gz +0 -0
  249. package/web/chunk-dsffzc1e.js +2 -0
  250. package/web/chunk-dsffzc1e.js.br +0 -0
  251. package/web/chunk-dsffzc1e.js.gz +0 -0
  252. package/web/chunk-e1wy8050.js +370 -0
  253. package/web/chunk-e1wy8050.js.br +0 -0
  254. package/web/chunk-e1wy8050.js.gz +0 -0
  255. package/web/chunk-e4cwyn1g.js +2 -0
  256. package/web/chunk-e4cwyn1g.js.br +0 -0
  257. package/web/chunk-e4cwyn1g.js.gz +0 -0
  258. package/web/chunk-ebknmxdp.js +2 -0
  259. package/web/chunk-ebknmxdp.js.br +0 -0
  260. package/web/chunk-ebknmxdp.js.gz +0 -0
  261. package/web/chunk-efjc9mga.js +2 -0
  262. package/web/chunk-efjc9mga.js.br +0 -0
  263. package/web/chunk-efjc9mga.js.gz +0 -0
  264. package/web/chunk-egjv760p.js +2 -0
  265. package/web/chunk-egjv760p.js.br +0 -0
  266. package/web/chunk-egjv760p.js.gz +0 -0
  267. package/web/chunk-etpd8y98.js +1 -0
  268. package/web/chunk-etpd8y98.js.br +0 -0
  269. package/web/chunk-etpd8y98.js.gz +0 -0
  270. package/web/chunk-f5kr9p2k.js +1 -0
  271. package/web/chunk-f5kr9p2k.js.br +2 -0
  272. package/web/chunk-f5kr9p2k.js.gz +0 -0
  273. package/web/chunk-f5wyg9zh.js +2 -0
  274. package/web/chunk-f5wyg9zh.js.br +0 -0
  275. package/web/chunk-f5wyg9zh.js.gz +0 -0
  276. package/web/chunk-fjhqg9ag.js +2 -0
  277. package/web/chunk-fjhqg9ag.js.br +0 -0
  278. package/web/chunk-fjhqg9ag.js.gz +0 -0
  279. package/web/chunk-ftdzs90e.js +1 -0
  280. package/web/chunk-ftdzs90e.js.br +0 -0
  281. package/web/chunk-ftdzs90e.js.gz +0 -0
  282. package/web/chunk-fyr6rm2p.js +2 -0
  283. package/web/chunk-fyr6rm2p.js.br +0 -0
  284. package/web/chunk-fyr6rm2p.js.gz +0 -0
  285. package/web/chunk-grjq1g15.js +1 -0
  286. package/web/chunk-grjq1g15.js.br +0 -0
  287. package/web/chunk-grjq1g15.js.gz +0 -0
  288. package/web/chunk-gvndjaan.js +2 -0
  289. package/web/chunk-gvndjaan.js.br +0 -0
  290. package/web/chunk-gvndjaan.js.gz +0 -0
  291. package/web/chunk-h4bzgvbg.js +303 -0
  292. package/web/chunk-h4bzgvbg.js.br +0 -0
  293. package/web/chunk-h4bzgvbg.js.gz +0 -0
  294. package/web/chunk-heen0v5d.js +12 -0
  295. package/web/chunk-heen0v5d.js.br +0 -0
  296. package/web/chunk-heen0v5d.js.gz +0 -0
  297. package/web/chunk-henez15c.js +4 -0
  298. package/web/chunk-henez15c.js.br +0 -0
  299. package/web/chunk-henez15c.js.gz +0 -0
  300. package/web/chunk-hpcvwdkg.js +1 -0
  301. package/web/chunk-hpcvwdkg.js.br +0 -0
  302. package/web/chunk-hpcvwdkg.js.gz +0 -0
  303. package/web/chunk-hpvyk6rz.js +324 -0
  304. package/web/chunk-hpvyk6rz.js.br +0 -0
  305. package/web/chunk-hpvyk6rz.js.gz +0 -0
  306. package/web/chunk-hzvff525.js +2 -0
  307. package/web/chunk-hzvff525.js.br +0 -0
  308. package/web/chunk-hzvff525.js.gz +0 -0
  309. package/web/chunk-j0dyf1g8.js +2 -0
  310. package/web/chunk-j0dyf1g8.js.br +3 -0
  311. package/web/chunk-j0dyf1g8.js.gz +0 -0
  312. package/web/chunk-jb89v31q.js +1 -0
  313. package/web/chunk-jb89v31q.js.br +0 -0
  314. package/web/chunk-jb89v31q.js.gz +0 -0
  315. package/web/chunk-jb949ewp.js +217 -0
  316. package/web/chunk-jb949ewp.js.br +0 -0
  317. package/web/chunk-jb949ewp.js.gz +0 -0
  318. package/web/chunk-je4bf95v.js +1 -0
  319. package/web/chunk-je4bf95v.js.br +0 -0
  320. package/web/chunk-je4bf95v.js.gz +0 -0
  321. package/web/chunk-js6c1973.js +1 -0
  322. package/web/chunk-js6c1973.js.br +0 -0
  323. package/web/chunk-js6c1973.js.gz +0 -0
  324. package/web/chunk-k140nr54.js +1 -0
  325. package/web/chunk-k140nr54.js.br +0 -0
  326. package/web/chunk-k140nr54.js.gz +0 -0
  327. package/web/chunk-k89686qj.js +2 -0
  328. package/web/chunk-k89686qj.js.br +0 -0
  329. package/web/chunk-k89686qj.js.gz +0 -0
  330. package/web/chunk-kknrn2wb.js +84 -0
  331. package/web/chunk-kknrn2wb.js.br +0 -0
  332. package/web/chunk-kknrn2wb.js.gz +0 -0
  333. package/web/chunk-mhtzdq9d.js +140 -0
  334. package/web/chunk-mhtzdq9d.js.br +0 -0
  335. package/web/chunk-mhtzdq9d.js.gz +0 -0
  336. package/web/chunk-mqdvg55y.js +2 -0
  337. package/web/chunk-mqdvg55y.js.br +0 -0
  338. package/web/chunk-mqdvg55y.js.gz +0 -0
  339. package/web/chunk-mrnj2k3v.js +2 -0
  340. package/web/chunk-mrnj2k3v.js.br +0 -0
  341. package/web/chunk-mrnj2k3v.js.gz +0 -0
  342. package/web/chunk-my0k5w7f.js +39 -0
  343. package/web/chunk-my0k5w7f.js.br +0 -0
  344. package/web/chunk-my0k5w7f.js.gz +0 -0
  345. package/web/chunk-n08727ym.js +34 -0
  346. package/web/chunk-n08727ym.js.br +0 -0
  347. package/web/chunk-n08727ym.js.gz +0 -0
  348. package/web/chunk-n5ghyxwk.js +38 -0
  349. package/web/chunk-n5ghyxwk.js.br +0 -0
  350. package/web/chunk-n5ghyxwk.js.gz +0 -0
  351. package/web/chunk-ngsv0xfb.js +1 -0
  352. package/web/chunk-ngsv0xfb.js.br +0 -0
  353. package/web/chunk-ngsv0xfb.js.gz +0 -0
  354. package/web/chunk-nt21rjrm.js +21 -0
  355. package/web/chunk-nt21rjrm.js.br +0 -0
  356. package/web/chunk-nt21rjrm.js.gz +0 -0
  357. package/web/chunk-nzgj9qx5.js +2 -0
  358. package/web/chunk-nzgj9qx5.js.br +0 -0
  359. package/web/chunk-nzgj9qx5.js.gz +0 -0
  360. package/web/chunk-p9wm0dv3.js +1 -0
  361. package/web/chunk-p9wm0dv3.js.br +0 -0
  362. package/web/chunk-p9wm0dv3.js.gz +0 -0
  363. package/web/chunk-pqh9yszs.js +106 -0
  364. package/web/chunk-pqh9yszs.js.br +0 -0
  365. package/web/chunk-pqh9yszs.js.gz +0 -0
  366. package/web/chunk-q0vsqq43.js +1 -0
  367. package/web/chunk-q0vsqq43.js.br +0 -0
  368. package/web/chunk-q0vsqq43.js.gz +0 -0
  369. package/web/chunk-qv5d69fn.js +2 -0
  370. package/web/chunk-qv5d69fn.js.br +0 -0
  371. package/web/chunk-qv5d69fn.js.gz +0 -0
  372. package/web/chunk-r7afv22v.js +2 -0
  373. package/web/chunk-r7afv22v.js.br +0 -0
  374. package/web/chunk-r7afv22v.js.gz +0 -0
  375. package/web/chunk-rc6at4k5.js +291 -0
  376. package/web/chunk-rc6at4k5.js.br +0 -0
  377. package/web/chunk-rc6at4k5.js.gz +0 -0
  378. package/web/chunk-rj1rp0tc.js +1 -0
  379. package/web/chunk-rj1rp0tc.js.br +0 -0
  380. package/web/chunk-rj1rp0tc.js.gz +0 -0
  381. package/web/chunk-rnsvrehz.js +30 -0
  382. package/web/chunk-rnsvrehz.js.br +0 -0
  383. package/web/chunk-rnsvrehz.js.gz +0 -0
  384. package/web/chunk-rsmhn1fq.js +1 -0
  385. package/web/chunk-rsmhn1fq.js.br +0 -0
  386. package/web/chunk-rsmhn1fq.js.gz +0 -0
  387. package/web/chunk-s00gxcxn.js +2 -0
  388. package/web/chunk-s00gxcxn.js.br +0 -0
  389. package/web/chunk-s00gxcxn.js.gz +0 -0
  390. package/web/chunk-s1p271av.js +1 -0
  391. package/web/chunk-s1p271av.js.br +0 -0
  392. package/web/chunk-s1p271av.js.gz +0 -0
  393. package/web/chunk-s6a13wxe.js +2 -0
  394. package/web/chunk-s6a13wxe.js.br +0 -0
  395. package/web/chunk-s6a13wxe.js.gz +0 -0
  396. package/web/chunk-sc4kwbnh.js +1 -0
  397. package/web/chunk-sc4kwbnh.js.br +2 -0
  398. package/web/chunk-sc4kwbnh.js.gz +0 -0
  399. package/web/chunk-scebh2ee.js +1 -0
  400. package/web/chunk-scebh2ee.js.br +0 -0
  401. package/web/chunk-scebh2ee.js.gz +0 -0
  402. package/web/chunk-shtkgxz6.js +2 -0
  403. package/web/chunk-shtkgxz6.js.br +0 -0
  404. package/web/chunk-shtkgxz6.js.gz +0 -0
  405. package/web/chunk-spmfwbhd.js +1 -0
  406. package/web/chunk-spmfwbhd.js.br +0 -0
  407. package/web/chunk-spmfwbhd.js.gz +0 -0
  408. package/web/chunk-svtenejf.js +1 -0
  409. package/web/chunk-svtenejf.js.br +0 -0
  410. package/web/chunk-svtenejf.js.gz +0 -0
  411. package/web/chunk-szwh742y.js +2 -0
  412. package/web/chunk-szwh742y.js.br +0 -0
  413. package/web/chunk-szwh742y.js.gz +0 -0
  414. package/web/chunk-t9z1bp8j.js +3 -0
  415. package/web/chunk-t9z1bp8j.js.br +0 -0
  416. package/web/chunk-t9z1bp8j.js.gz +0 -0
  417. package/web/chunk-tbgavq0t.js +2 -0
  418. package/web/chunk-tbgavq0t.js.br +0 -0
  419. package/web/chunk-tbgavq0t.js.gz +0 -0
  420. package/web/chunk-tnttdgsc.js +1 -0
  421. package/web/chunk-tnttdgsc.js.br +0 -0
  422. package/web/chunk-tnttdgsc.js.gz +0 -0
  423. package/web/chunk-tntwwpyh.js +2 -0
  424. package/web/chunk-tntwwpyh.js.br +0 -0
  425. package/web/chunk-tntwwpyh.js.gz +0 -0
  426. package/web/chunk-tp3fpa0t.js +1 -0
  427. package/web/chunk-tp3fpa0t.js.br +0 -0
  428. package/web/chunk-tp3fpa0t.js.gz +0 -0
  429. package/web/chunk-txdkp6yc.js +7 -0
  430. package/web/chunk-txdkp6yc.js.br +0 -0
  431. package/web/chunk-txdkp6yc.js.gz +0 -0
  432. package/web/chunk-v34mwgx8.js +1 -0
  433. package/web/chunk-v34mwgx8.js.br +0 -0
  434. package/web/chunk-v34mwgx8.js.gz +0 -0
  435. package/web/chunk-vayamfxv.js +1 -0
  436. package/web/chunk-vayamfxv.js.br +0 -0
  437. package/web/chunk-vayamfxv.js.gz +0 -0
  438. package/web/chunk-vndrjeyr.js +2 -0
  439. package/web/chunk-vndrjeyr.js.br +0 -0
  440. package/web/chunk-vndrjeyr.js.gz +0 -0
  441. package/web/chunk-vtp01n96.js +1 -0
  442. package/web/chunk-vtp01n96.js.br +0 -0
  443. package/web/chunk-vtp01n96.js.gz +0 -0
  444. package/web/chunk-vx1qmkbm.js +120 -0
  445. package/web/chunk-vx1qmkbm.js.br +0 -0
  446. package/web/chunk-vx1qmkbm.js.gz +0 -0
  447. package/web/chunk-vxx451tt.js +1 -0
  448. package/web/chunk-vxx451tt.js.br +0 -0
  449. package/web/chunk-vxx451tt.js.gz +0 -0
  450. package/web/chunk-w8epfc0c.js +1 -0
  451. package/web/chunk-w8epfc0c.js.br +0 -0
  452. package/web/chunk-w8epfc0c.js.gz +0 -0
  453. package/web/chunk-wdd9pasx.js +1 -0
  454. package/web/chunk-wdd9pasx.js.br +0 -0
  455. package/web/chunk-wdd9pasx.js.gz +0 -0
  456. package/web/chunk-whgh2r7d.js +200 -0
  457. package/web/chunk-whgh2r7d.js.br +0 -0
  458. package/web/chunk-whgh2r7d.js.gz +0 -0
  459. package/web/chunk-x0p1n5ws.js +1 -0
  460. package/web/chunk-x0p1n5ws.js.br +2 -0
  461. package/web/chunk-x0p1n5ws.js.gz +0 -0
  462. package/web/chunk-x2tk9zeq.js +1 -0
  463. package/web/chunk-x2tk9zeq.js.br +0 -0
  464. package/web/chunk-x2tk9zeq.js.gz +0 -0
  465. package/web/chunk-xbt045kt.js +1 -0
  466. package/web/chunk-xbt045kt.js.br +2 -0
  467. package/web/chunk-xbt045kt.js.gz +0 -0
  468. package/web/chunk-xh3agbvb.js +7 -0
  469. package/web/chunk-xh3agbvb.js.br +0 -0
  470. package/web/chunk-xh3agbvb.js.gz +0 -0
  471. package/web/chunk-xpw1spgj.js +40 -0
  472. package/web/chunk-xpw1spgj.js.br +0 -0
  473. package/web/chunk-xpw1spgj.js.gz +0 -0
  474. package/web/chunk-y2jkaf1e.js +2 -0
  475. package/web/chunk-y2jkaf1e.js.br +0 -0
  476. package/web/chunk-y2jkaf1e.js.gz +0 -0
  477. package/web/chunk-yp2jydfj.js +1 -0
  478. package/web/chunk-yp2jydfj.js.br +0 -0
  479. package/web/chunk-yp2jydfj.js.gz +0 -0
  480. package/web/chunk-yxp1es3b.js +1 -0
  481. package/web/chunk-yxp1es3b.js.br +0 -0
  482. package/web/chunk-yxp1es3b.js.gz +0 -0
  483. package/web/chunk-yzrww95m.js +7 -0
  484. package/web/chunk-yzrww95m.js.br +0 -0
  485. package/web/chunk-yzrww95m.js.gz +0 -0
  486. package/web/chunk-z502b5p0.js +1 -0
  487. package/web/chunk-z502b5p0.js.br +0 -0
  488. package/web/chunk-z502b5p0.js.gz +0 -0
  489. package/web/chunk-zny7cya7.js +1 -0
  490. package/web/chunk-zny7cya7.js.br +2 -0
  491. package/web/chunk-zny7cya7.js.gz +0 -0
  492. package/web/chunk-zq1qbaxb.js +2 -0
  493. package/web/chunk-zq1qbaxb.js.br +0 -0
  494. package/web/chunk-zq1qbaxb.js.gz +0 -0
  495. package/web/index.html +1 -1
  496. package/web/index.html.br +0 -0
  497. package/web/index.html.gz +0 -0
  498. package/worker.js +1 -1
  499. package/chunk-05bkyxh9.js +0 -3
  500. package/chunk-080kr9ct.js +0 -15
  501. package/chunk-1a4rrb2v.js +0 -10
  502. package/chunk-1s560041.js +0 -2
  503. package/chunk-2expw9m3.js +0 -3
  504. package/chunk-2fm6g0ga.js +0 -3
  505. package/chunk-2scbc5yh.js +0 -3
  506. package/chunk-33jk5rw1.js +0 -3
  507. package/chunk-377w9fhp.js +0 -3
  508. package/chunk-3wqncn58.js +0 -3
  509. package/chunk-43n3k72q.js +0 -2
  510. package/chunk-44pv8c0b.js +0 -5
  511. package/chunk-5gk93yp2.js +0 -3
  512. package/chunk-5z5sbry2.js +0 -7
  513. package/chunk-6qvg49rk.js +0 -51
  514. package/chunk-7d6fdzs3.js +0 -50
  515. package/chunk-7h6k7vac.js +0 -3
  516. package/chunk-7t5yqsgn.js +0 -5
  517. package/chunk-7th9y456.js +0 -2
  518. package/chunk-7v98r8ft.js +0 -2
  519. package/chunk-82bb3whz.js +0 -3
  520. package/chunk-8e061pr3.js +0 -2
  521. package/chunk-8n83nvpa.js +0 -7
  522. package/chunk-9nng543t.js +0 -3
  523. package/chunk-a0ex6znf.js +0 -18
  524. package/chunk-a25etmgf.js +0 -3
  525. package/chunk-awzaxv88.js +0 -2
  526. package/chunk-b2s9aksm.js +0 -2
  527. package/chunk-bfrpy5jd.js +0 -4
  528. package/chunk-br64f072.js +0 -2
  529. package/chunk-btza2hna.js +0 -5
  530. package/chunk-c9bjdydc.js +0 -3
  531. package/chunk-cww7drfr.js +0 -2
  532. package/chunk-d0az9pq0.js +0 -2
  533. package/chunk-d47bpkyz.js +0 -12
  534. package/chunk-dkfpqbcr.js +0 -3
  535. package/chunk-dsk3r1s8.js +0 -2
  536. package/chunk-dw8p4zcz.js +0 -2
  537. package/chunk-edz2cxtp.js +0 -5
  538. package/chunk-epqgd8d0.js +0 -3
  539. package/chunk-f7tn67ff.js +0 -2
  540. package/chunk-fevkmd0j.js +0 -3
  541. package/chunk-fzdvrsvn.js +0 -482
  542. package/chunk-ghat319t.js +0 -25
  543. package/chunk-h19mfxzq.js +0 -7
  544. package/chunk-h6sh9pkr.js +0 -2
  545. package/chunk-jdazqwft.js +0 -2
  546. package/chunk-je52rmxs.js +0 -9
  547. package/chunk-jj5pkfgm.js +0 -2
  548. package/chunk-jp7f2kak.js +0 -2
  549. package/chunk-jqpb4q7h.js +0 -3
  550. package/chunk-jzf3qp0g.js +0 -2
  551. package/chunk-k5qg9az8.js +0 -8
  552. package/chunk-m51tryxx.js +0 -3
  553. package/chunk-mna7mgdw.js +0 -3
  554. package/chunk-nfgg1ksw.js +0 -3
  555. package/chunk-npd8k692.js +0 -2
  556. package/chunk-nqzqm9ad.js +0 -3
  557. package/chunk-nsrdzz1p.js +0 -20
  558. package/chunk-qdwzmvcq.js +0 -3923
  559. package/chunk-qgyjffh0.js +0 -16
  560. package/chunk-qnq3xa4h.js +0 -286
  561. package/chunk-r0gyd40q.js +0 -2
  562. package/chunk-ra4kx253.js +0 -7
  563. package/chunk-rq2b2a6n.js +0 -11
  564. package/chunk-s1m4dt0z.js +0 -3
  565. package/chunk-s78m24h4.js +0 -2
  566. package/chunk-sd9r82h2.js +0 -3
  567. package/chunk-smygzsyr.js +0 -10
  568. package/chunk-t0zexn7n.js +0 -2
  569. package/chunk-t2s0yyw0.js +0 -3
  570. package/chunk-v9a2y9rn.js +0 -3
  571. package/chunk-vkn4bfyp.js +0 -2
  572. package/chunk-vpzs9trn.js +0 -3
  573. package/chunk-w3tzsrkw.js +0 -12
  574. package/chunk-x0t8h6vv.js +0 -5
  575. package/chunk-x23g9em9.js +0 -39
  576. package/chunk-x316ag7c.js +0 -25
  577. package/chunk-x5zgyewh.js +0 -2
  578. package/chunk-xr35av3b.js +0 -59
  579. package/chunk-yd190t0s.js +0 -31
  580. package/chunk-zhvw8efz.js +0 -3
  581. package/chunk-zyqsqwn7.js +0 -2
  582. package/web/chunk-08tgd17j.js +0 -12
  583. package/web/chunk-08tgd17j.js.br +0 -0
  584. package/web/chunk-08tgd17j.js.gz +0 -0
  585. package/web/chunk-0mqyt9m7.js +0 -1
  586. package/web/chunk-0mqyt9m7.js.br +0 -0
  587. package/web/chunk-0mqyt9m7.js.gz +0 -0
  588. package/web/chunk-0n99y9n5.js +0 -1
  589. package/web/chunk-0n99y9n5.js.br +0 -0
  590. package/web/chunk-0n99y9n5.js.gz +0 -0
  591. package/web/chunk-0qjj75v7.js +0 -1
  592. package/web/chunk-0qjj75v7.js.br +0 -0
  593. package/web/chunk-0qjj75v7.js.gz +0 -0
  594. package/web/chunk-0x3wtwhf.js +0 -291
  595. package/web/chunk-0x3wtwhf.js.br +0 -0
  596. package/web/chunk-0x3wtwhf.js.gz +0 -0
  597. package/web/chunk-0zd5g2yw.js +0 -1
  598. package/web/chunk-0zd5g2yw.js.br +0 -0
  599. package/web/chunk-0zd5g2yw.js.gz +0 -0
  600. package/web/chunk-146ww24y.js +0 -55
  601. package/web/chunk-146ww24y.js.br +0 -0
  602. package/web/chunk-146ww24y.js.gz +0 -0
  603. package/web/chunk-1d8r3aeh.js +0 -3
  604. package/web/chunk-1d8r3aeh.js.br +0 -0
  605. package/web/chunk-1d8r3aeh.js.gz +0 -0
  606. package/web/chunk-1qs4nh4c.js +0 -1
  607. package/web/chunk-1qs4nh4c.js.br +0 -0
  608. package/web/chunk-1qs4nh4c.js.gz +0 -0
  609. package/web/chunk-1v13225a.js +0 -1
  610. package/web/chunk-1v13225a.js.br +0 -2
  611. package/web/chunk-1v13225a.js.gz +0 -0
  612. package/web/chunk-22caavs1.js +0 -1
  613. package/web/chunk-22caavs1.js.br +0 -0
  614. package/web/chunk-22caavs1.js.gz +0 -0
  615. package/web/chunk-28e0vn8m.js +0 -1
  616. package/web/chunk-28e0vn8m.js.br +0 -0
  617. package/web/chunk-28e0vn8m.js.gz +0 -0
  618. package/web/chunk-28sta4gj.js +0 -142
  619. package/web/chunk-28sta4gj.js.br +0 -0
  620. package/web/chunk-28sta4gj.js.gz +0 -0
  621. package/web/chunk-33eqjx7d.js +0 -2
  622. package/web/chunk-33eqjx7d.js.br +0 -0
  623. package/web/chunk-33eqjx7d.js.gz +0 -0
  624. package/web/chunk-3781tgyt.js +0 -21
  625. package/web/chunk-3781tgyt.js.br +0 -0
  626. package/web/chunk-3781tgyt.js.gz +0 -0
  627. package/web/chunk-3gt60qmf.js +0 -370
  628. package/web/chunk-3gt60qmf.js.br +0 -0
  629. package/web/chunk-3gt60qmf.js.gz +0 -0
  630. package/web/chunk-3rg8d23d.js +0 -2
  631. package/web/chunk-3rg8d23d.js.br +0 -0
  632. package/web/chunk-3rg8d23d.js.gz +0 -0
  633. package/web/chunk-40wx2kxh.js +0 -1
  634. package/web/chunk-40wx2kxh.js.br +0 -0
  635. package/web/chunk-40wx2kxh.js.gz +0 -0
  636. package/web/chunk-44kgdrrk.js +0 -1
  637. package/web/chunk-44kgdrrk.js.br +0 -0
  638. package/web/chunk-44kgdrrk.js.gz +0 -0
  639. package/web/chunk-4vqmgjbf.js +0 -1
  640. package/web/chunk-4vqmgjbf.js.br +0 -0
  641. package/web/chunk-4vqmgjbf.js.gz +0 -0
  642. package/web/chunk-55h6ya95.js +0 -1
  643. package/web/chunk-55h6ya95.js.br +0 -2
  644. package/web/chunk-55h6ya95.js.gz +0 -0
  645. package/web/chunk-5a80hcah.js +0 -1
  646. package/web/chunk-5a80hcah.js.br +0 -0
  647. package/web/chunk-5a80hcah.js.gz +0 -0
  648. package/web/chunk-5fed8tt3.js +0 -1
  649. package/web/chunk-5fed8tt3.js.br +0 -0
  650. package/web/chunk-5fed8tt3.js.gz +0 -0
  651. package/web/chunk-5kcmtrrk.js +0 -2
  652. package/web/chunk-5kcmtrrk.js.br +0 -0
  653. package/web/chunk-5kcmtrrk.js.gz +0 -0
  654. package/web/chunk-5y1v9ycq.js +0 -2
  655. package/web/chunk-5y1v9ycq.js.br +0 -0
  656. package/web/chunk-5y1v9ycq.js.gz +0 -0
  657. package/web/chunk-61wasm9a.js +0 -1
  658. package/web/chunk-61wasm9a.js.br +0 -0
  659. package/web/chunk-61wasm9a.js.gz +0 -0
  660. package/web/chunk-66mcaz0p.js +0 -7
  661. package/web/chunk-66mcaz0p.js.br +0 -0
  662. package/web/chunk-66mcaz0p.js.gz +0 -0
  663. package/web/chunk-6ew2qvxb.js +0 -1
  664. package/web/chunk-6ew2qvxb.js.br +0 -0
  665. package/web/chunk-6ew2qvxb.js.gz +0 -0
  666. package/web/chunk-6hkgy8ej.js +0 -36
  667. package/web/chunk-6hkgy8ej.js.br +0 -0
  668. package/web/chunk-6hkgy8ej.js.gz +0 -0
  669. package/web/chunk-75v6mnzm.js +0 -40
  670. package/web/chunk-75v6mnzm.js.br +0 -0
  671. package/web/chunk-75v6mnzm.js.gz +0 -0
  672. package/web/chunk-7ddgm832.js +0 -41
  673. package/web/chunk-7ddgm832.js.br +0 -0
  674. package/web/chunk-7ddgm832.js.gz +0 -0
  675. package/web/chunk-80htbw45.js +0 -1
  676. package/web/chunk-80htbw45.js.br +0 -0
  677. package/web/chunk-80htbw45.js.gz +0 -0
  678. package/web/chunk-8304998z.js +0 -1
  679. package/web/chunk-8304998z.js.br +0 -0
  680. package/web/chunk-8304998z.js.gz +0 -0
  681. package/web/chunk-84wf0ej8.js +0 -2
  682. package/web/chunk-84wf0ej8.js.br +0 -0
  683. package/web/chunk-84wf0ej8.js.gz +0 -0
  684. package/web/chunk-859ry2p4.js +0 -1
  685. package/web/chunk-859ry2p4.js.br +0 -0
  686. package/web/chunk-859ry2p4.js.gz +0 -0
  687. package/web/chunk-883weqxg.js +0 -2
  688. package/web/chunk-883weqxg.js.br +0 -0
  689. package/web/chunk-883weqxg.js.gz +0 -0
  690. package/web/chunk-8a46b2ww.js +0 -303
  691. package/web/chunk-8a46b2ww.js.br +0 -0
  692. package/web/chunk-8a46b2ww.js.gz +0 -0
  693. package/web/chunk-8cajyrkw.js +0 -1
  694. package/web/chunk-8cajyrkw.js.br +0 -0
  695. package/web/chunk-8cajyrkw.js.gz +0 -0
  696. package/web/chunk-8ejwy8g3.js +0 -30
  697. package/web/chunk-8ejwy8g3.js.br +0 -0
  698. package/web/chunk-8ejwy8g3.js.gz +0 -0
  699. package/web/chunk-951dg5kq.js +0 -8
  700. package/web/chunk-951dg5kq.js.br +0 -1
  701. package/web/chunk-951dg5kq.js.gz +0 -0
  702. package/web/chunk-97ccteq4.js +0 -106
  703. package/web/chunk-97ccteq4.js.br +0 -0
  704. package/web/chunk-97ccteq4.js.gz +0 -0
  705. package/web/chunk-98kr0bw8.js +0 -98
  706. package/web/chunk-98kr0bw8.js.br +0 -0
  707. package/web/chunk-98kr0bw8.js.gz +0 -0
  708. package/web/chunk-9bq7xgjz.js +0 -1
  709. package/web/chunk-9bq7xgjz.js.br +0 -0
  710. package/web/chunk-9bq7xgjz.js.gz +0 -0
  711. package/web/chunk-9g5jgnfe.js +0 -2
  712. package/web/chunk-9g5jgnfe.js.br +0 -0
  713. package/web/chunk-9g5jgnfe.js.gz +0 -0
  714. package/web/chunk-9kx2s040.js +0 -1
  715. package/web/chunk-9kx2s040.js.br +0 -0
  716. package/web/chunk-9kx2s040.js.gz +0 -0
  717. package/web/chunk-9v1f6yc8.js +0 -1
  718. package/web/chunk-9v1f6yc8.js.br +0 -0
  719. package/web/chunk-9v1f6yc8.js.gz +0 -0
  720. package/web/chunk-an6adjgz.js +0 -24
  721. package/web/chunk-an6adjgz.js.br +0 -0
  722. package/web/chunk-an6adjgz.js.gz +0 -0
  723. package/web/chunk-arp4g43b.js +0 -1
  724. package/web/chunk-arp4g43b.js.br +0 -0
  725. package/web/chunk-arp4g43b.js.gz +0 -0
  726. package/web/chunk-b2ads9ra.js +0 -1
  727. package/web/chunk-b2ads9ra.js.br +0 -0
  728. package/web/chunk-b2ads9ra.js.gz +0 -0
  729. package/web/chunk-bd90pxqc.js +0 -169
  730. package/web/chunk-bd90pxqc.js.br +0 -0
  731. package/web/chunk-bd90pxqc.js.gz +0 -0
  732. package/web/chunk-bmtzds29.js +0 -1
  733. package/web/chunk-bmtzds29.js.br +0 -0
  734. package/web/chunk-bmtzds29.js.gz +0 -0
  735. package/web/chunk-brsvdef4.js +0 -1
  736. package/web/chunk-brsvdef4.js.br +0 -0
  737. package/web/chunk-brsvdef4.js.gz +0 -0
  738. package/web/chunk-bv0vs331.js +0 -332
  739. package/web/chunk-bv0vs331.js.br +0 -0
  740. package/web/chunk-bv0vs331.js.gz +0 -0
  741. package/web/chunk-bzvserky.js +0 -89
  742. package/web/chunk-bzvserky.js.br +0 -0
  743. package/web/chunk-bzvserky.js.gz +0 -0
  744. package/web/chunk-cd3hhgn9.js +0 -2
  745. package/web/chunk-cd3hhgn9.js.br +0 -0
  746. package/web/chunk-cd3hhgn9.js.gz +0 -0
  747. package/web/chunk-cdwn0hd1.js +0 -2
  748. package/web/chunk-cdwn0hd1.js.br +0 -0
  749. package/web/chunk-cdwn0hd1.js.gz +0 -0
  750. package/web/chunk-ckpx6ky8.js +0 -2
  751. package/web/chunk-ckpx6ky8.js.br +0 -0
  752. package/web/chunk-ckpx6ky8.js.gz +0 -0
  753. package/web/chunk-d11xvhrx.js +0 -140
  754. package/web/chunk-d11xvhrx.js.br +0 -0
  755. package/web/chunk-d11xvhrx.js.gz +0 -0
  756. package/web/chunk-d25jazap.js +0 -89
  757. package/web/chunk-d25jazap.js.br +0 -0
  758. package/web/chunk-d25jazap.js.gz +0 -0
  759. package/web/chunk-d5jk5ftp.js +0 -2
  760. package/web/chunk-d5jk5ftp.js.br +0 -0
  761. package/web/chunk-d5jk5ftp.js.gz +0 -0
  762. package/web/chunk-dkdedpn5.js +0 -1
  763. package/web/chunk-dkdedpn5.js.br +0 -0
  764. package/web/chunk-dkdedpn5.js.gz +0 -0
  765. package/web/chunk-drr7mqg2.js +0 -1
  766. package/web/chunk-drr7mqg2.js.br +0 -0
  767. package/web/chunk-drr7mqg2.js.gz +0 -0
  768. package/web/chunk-dxejr2wc.js +0 -7
  769. package/web/chunk-dxejr2wc.js.br +0 -0
  770. package/web/chunk-dxejr2wc.js.gz +0 -0
  771. package/web/chunk-dym50nnh.js +0 -292
  772. package/web/chunk-dym50nnh.js.br +0 -0
  773. package/web/chunk-dym50nnh.js.gz +0 -0
  774. package/web/chunk-e1fv9zdp.js +0 -1
  775. package/web/chunk-e1fv9zdp.js.br +0 -0
  776. package/web/chunk-e1fv9zdp.js.gz +0 -0
  777. package/web/chunk-e9ycc491.js +0 -120
  778. package/web/chunk-e9ycc491.js.br +0 -0
  779. package/web/chunk-e9ycc491.js.gz +0 -0
  780. package/web/chunk-eww9ygx5.js +0 -2
  781. package/web/chunk-eww9ygx5.js.br +0 -0
  782. package/web/chunk-eww9ygx5.js.gz +0 -0
  783. package/web/chunk-ey2fy3vm.js +0 -4
  784. package/web/chunk-ey2fy3vm.js.br +0 -0
  785. package/web/chunk-ey2fy3vm.js.gz +0 -0
  786. package/web/chunk-ez498328.js +0 -39
  787. package/web/chunk-ez498328.js.br +0 -0
  788. package/web/chunk-ez498328.js.gz +0 -0
  789. package/web/chunk-f0x62xvv.js +0 -84
  790. package/web/chunk-f0x62xvv.js.br +0 -0
  791. package/web/chunk-f0x62xvv.js.gz +0 -0
  792. package/web/chunk-f1z92c2d.js +0 -1
  793. package/web/chunk-f1z92c2d.js.br +0 -2
  794. package/web/chunk-f1z92c2d.js.gz +0 -0
  795. package/web/chunk-fwvar7a7.js +0 -1
  796. package/web/chunk-fwvar7a7.js.br +0 -0
  797. package/web/chunk-fwvar7a7.js.gz +0 -0
  798. package/web/chunk-g8bw60t3.js +0 -324
  799. package/web/chunk-g8bw60t3.js.br +0 -0
  800. package/web/chunk-g8bw60t3.js.gz +0 -0
  801. package/web/chunk-g8se5rtx.js +0 -2
  802. package/web/chunk-g8se5rtx.js.br +0 -0
  803. package/web/chunk-g8se5rtx.js.gz +0 -0
  804. package/web/chunk-gkwkbkr4.js +0 -217
  805. package/web/chunk-gkwkbkr4.js.br +0 -0
  806. package/web/chunk-gkwkbkr4.js.gz +0 -0
  807. package/web/chunk-h50zbzfg.js +0 -24
  808. package/web/chunk-h50zbzfg.js.br +0 -0
  809. package/web/chunk-h50zbzfg.js.gz +0 -0
  810. package/web/chunk-j3vqhfgg.js +0 -1
  811. package/web/chunk-j3vqhfgg.js.br +0 -0
  812. package/web/chunk-j3vqhfgg.js.gz +0 -0
  813. package/web/chunk-jk6j68wv.js +0 -1
  814. package/web/chunk-jk6j68wv.js.br +0 -0
  815. package/web/chunk-jk6j68wv.js.gz +0 -0
  816. package/web/chunk-jrdx4yfq.js +0 -2
  817. package/web/chunk-jrdx4yfq.js.br +0 -0
  818. package/web/chunk-jrdx4yfq.js.gz +0 -0
  819. package/web/chunk-k2by2sj0.css +0 -1
  820. package/web/chunk-k2by2sj0.css.br +0 -0
  821. package/web/chunk-k2by2sj0.css.gz +0 -0
  822. package/web/chunk-kc4ymfvv.js +0 -2
  823. package/web/chunk-kc4ymfvv.js.br +0 -1
  824. package/web/chunk-kc4ymfvv.js.gz +0 -0
  825. package/web/chunk-kh9d9x20.js +0 -1
  826. package/web/chunk-kh9d9x20.js.br +0 -0
  827. package/web/chunk-kh9d9x20.js.gz +0 -0
  828. package/web/chunk-kkv1h28t.js +0 -2
  829. package/web/chunk-kkv1h28t.js.br +0 -0
  830. package/web/chunk-kkv1h28t.js.gz +0 -0
  831. package/web/chunk-kzkjfngw.js +0 -7
  832. package/web/chunk-kzkjfngw.js.br +0 -0
  833. package/web/chunk-kzkjfngw.js.gz +0 -0
  834. package/web/chunk-mj8xb4z9.js +0 -2
  835. package/web/chunk-mj8xb4z9.js.br +0 -0
  836. package/web/chunk-mj8xb4z9.js.gz +0 -0
  837. package/web/chunk-msn8bpe6.js +0 -1
  838. package/web/chunk-msn8bpe6.js.br +0 -0
  839. package/web/chunk-msn8bpe6.js.gz +0 -0
  840. package/web/chunk-mv0pwdz6.js +0 -1
  841. package/web/chunk-mv0pwdz6.js.br +0 -0
  842. package/web/chunk-mv0pwdz6.js.gz +0 -0
  843. package/web/chunk-myhtb5ps.js +0 -2
  844. package/web/chunk-myhtb5ps.js.br +0 -0
  845. package/web/chunk-myhtb5ps.js.gz +0 -0
  846. package/web/chunk-n8qc0chz.js +0 -34
  847. package/web/chunk-n8qc0chz.js.br +0 -0
  848. package/web/chunk-n8qc0chz.js.gz +0 -0
  849. package/web/chunk-nf83ezt5.js +0 -1136
  850. package/web/chunk-nf83ezt5.js.br +0 -0
  851. package/web/chunk-nf83ezt5.js.gz +0 -0
  852. package/web/chunk-nh3m09b1.js +0 -1
  853. package/web/chunk-nh3m09b1.js.br +0 -0
  854. package/web/chunk-nh3m09b1.js.gz +0 -0
  855. package/web/chunk-nqvjw71s.js +0 -1
  856. package/web/chunk-nqvjw71s.js.br +0 -0
  857. package/web/chunk-nqvjw71s.js.gz +0 -0
  858. package/web/chunk-nyydkfyf.js +0 -1
  859. package/web/chunk-nyydkfyf.js.br +0 -0
  860. package/web/chunk-nyydkfyf.js.gz +0 -0
  861. package/web/chunk-p0zneef1.js +0 -2
  862. package/web/chunk-p0zneef1.js.br +0 -0
  863. package/web/chunk-p0zneef1.js.gz +0 -0
  864. package/web/chunk-pjd16rfv.js +0 -1
  865. package/web/chunk-pjd16rfv.js.br +0 -0
  866. package/web/chunk-pjd16rfv.js.gz +0 -0
  867. package/web/chunk-praang0j.js +0 -214
  868. package/web/chunk-praang0j.js.br +0 -0
  869. package/web/chunk-praang0j.js.gz +0 -0
  870. package/web/chunk-prynwp2t.js +0 -1
  871. package/web/chunk-prynwp2t.js.br +0 -0
  872. package/web/chunk-prynwp2t.js.gz +0 -0
  873. package/web/chunk-q0kx0wyj.js +0 -2
  874. package/web/chunk-q0kx0wyj.js.br +0 -0
  875. package/web/chunk-q0kx0wyj.js.gz +0 -0
  876. package/web/chunk-q6aqg79d.js +0 -2
  877. package/web/chunk-q6aqg79d.js.br +0 -0
  878. package/web/chunk-q6aqg79d.js.gz +0 -0
  879. package/web/chunk-qd3x1kbw.js +0 -1
  880. package/web/chunk-qd3x1kbw.js.br +0 -2
  881. package/web/chunk-qd3x1kbw.js.gz +0 -0
  882. package/web/chunk-qgqg2kr5.js +0 -1
  883. package/web/chunk-qgqg2kr5.js.br +0 -0
  884. package/web/chunk-qgqg2kr5.js.gz +0 -0
  885. package/web/chunk-qha5j25q.js +0 -2
  886. package/web/chunk-qha5j25q.js.br +0 -0
  887. package/web/chunk-qha5j25q.js.gz +0 -0
  888. package/web/chunk-qhf717ek.js +0 -2
  889. package/web/chunk-qhf717ek.js.br +0 -0
  890. package/web/chunk-qhf717ek.js.gz +0 -0
  891. package/web/chunk-qjswcwvm.js +0 -1
  892. package/web/chunk-qjswcwvm.js.br +0 -0
  893. package/web/chunk-qjswcwvm.js.gz +0 -0
  894. package/web/chunk-qt2ktkps.js +0 -1
  895. package/web/chunk-qt2ktkps.js.br +0 -0
  896. package/web/chunk-qt2ktkps.js.gz +0 -0
  897. package/web/chunk-rjvdk0s6.js +0 -1
  898. package/web/chunk-rjvdk0s6.js.br +0 -0
  899. package/web/chunk-rjvdk0s6.js.gz +0 -0
  900. package/web/chunk-scnew5q6.js +0 -1
  901. package/web/chunk-scnew5q6.js.br +0 -0
  902. package/web/chunk-scnew5q6.js.gz +0 -0
  903. package/web/chunk-scrrgk6n.js +0 -2
  904. package/web/chunk-scrrgk6n.js.br +0 -0
  905. package/web/chunk-scrrgk6n.js.gz +0 -0
  906. package/web/chunk-sy1ta5rp.js +0 -1
  907. package/web/chunk-sy1ta5rp.js.br +0 -0
  908. package/web/chunk-sy1ta5rp.js.gz +0 -0
  909. package/web/chunk-t092etr1.js +0 -2
  910. package/web/chunk-t092etr1.js.br +0 -0
  911. package/web/chunk-t092etr1.js.gz +0 -0
  912. package/web/chunk-t34g8qj4.js +0 -2
  913. package/web/chunk-t34g8qj4.js.br +0 -0
  914. package/web/chunk-t34g8qj4.js.gz +0 -0
  915. package/web/chunk-tfdwgjr1.js +0 -2
  916. package/web/chunk-tfdwgjr1.js.br +0 -0
  917. package/web/chunk-tfdwgjr1.js.gz +0 -0
  918. package/web/chunk-ty54ph0y.js +0 -1
  919. package/web/chunk-ty54ph0y.js.br +0 -2
  920. package/web/chunk-ty54ph0y.js.gz +0 -0
  921. package/web/chunk-v36p2ccs.js +0 -2
  922. package/web/chunk-v36p2ccs.js.br +0 -0
  923. package/web/chunk-v36p2ccs.js.gz +0 -0
  924. package/web/chunk-v7nv1ve8.js +0 -1
  925. package/web/chunk-v7nv1ve8.js.br +0 -0
  926. package/web/chunk-v7nv1ve8.js.gz +0 -0
  927. package/web/chunk-vchzf900.js +0 -2
  928. package/web/chunk-vchzf900.js.br +0 -0
  929. package/web/chunk-vchzf900.js.gz +0 -0
  930. package/web/chunk-vmpry714.js +0 -1
  931. package/web/chunk-vmpry714.js.br +0 -0
  932. package/web/chunk-vmpry714.js.gz +0 -0
  933. package/web/chunk-vtn7g6n0.js +0 -2
  934. package/web/chunk-vtn7g6n0.js.br +0 -0
  935. package/web/chunk-vtn7g6n0.js.gz +0 -0
  936. package/web/chunk-w1bp9wwx.js +0 -1
  937. package/web/chunk-w1bp9wwx.js.br +0 -0
  938. package/web/chunk-w1bp9wwx.js.gz +0 -0
  939. package/web/chunk-w4h1c0eb.js +0 -200
  940. package/web/chunk-w4h1c0eb.js.br +0 -0
  941. package/web/chunk-w4h1c0eb.js.gz +0 -0
  942. package/web/chunk-ww5c1dmz.js +0 -1
  943. package/web/chunk-ww5c1dmz.js.br +0 -0
  944. package/web/chunk-ww5c1dmz.js.gz +0 -0
  945. package/web/chunk-wx0jmdbq.js +0 -62
  946. package/web/chunk-wx0jmdbq.js.br +0 -0
  947. package/web/chunk-wx0jmdbq.js.gz +0 -0
  948. package/web/chunk-xdns99dp.js +0 -99
  949. package/web/chunk-xdns99dp.js.br +0 -0
  950. package/web/chunk-xdns99dp.js.gz +0 -0
  951. package/web/chunk-xnhzragz.js +0 -1
  952. package/web/chunk-xnhzragz.js.br +0 -0
  953. package/web/chunk-xnhzragz.js.gz +0 -0
  954. package/web/chunk-xq241z8c.js +0 -38
  955. package/web/chunk-xq241z8c.js.br +0 -0
  956. package/web/chunk-xq241z8c.js.gz +0 -0
  957. package/web/chunk-xve7x5x1.js +0 -2
  958. package/web/chunk-xve7x5x1.js.br +0 -0
  959. package/web/chunk-xve7x5x1.js.gz +0 -0
  960. package/web/chunk-xvn1wg8g.js +0 -2
  961. package/web/chunk-xvn1wg8g.js.br +0 -0
  962. package/web/chunk-xvn1wg8g.js.gz +0 -0
  963. package/web/chunk-xwy6m9v6.js +0 -1
  964. package/web/chunk-xwy6m9v6.js.br +0 -0
  965. package/web/chunk-xwy6m9v6.js.gz +0 -0
  966. package/web/chunk-y7zvyd6m.js +0 -1
  967. package/web/chunk-y7zvyd6m.js.br +0 -0
  968. package/web/chunk-y7zvyd6m.js.gz +0 -0
  969. package/web/chunk-yh07726r.js +0 -78
  970. package/web/chunk-yh07726r.js.br +0 -0
  971. package/web/chunk-yh07726r.js.gz +0 -0
  972. package/web/chunk-yr94dbhk.js +0 -1
  973. package/web/chunk-yr94dbhk.js.br +0 -0
  974. package/web/chunk-yr94dbhk.js.gz +0 -0
  975. package/web/chunk-ysqfkg2v.js +0 -70
  976. package/web/chunk-ysqfkg2v.js.br +0 -0
  977. package/web/chunk-ysqfkg2v.js.gz +0 -0
  978. package/web/chunk-yxax25q6.js +0 -4
  979. package/web/chunk-yxax25q6.js.br +0 -0
  980. package/web/chunk-yxax25q6.js.gz +0 -0
  981. package/web/chunk-z7024nm8.js +0 -16
  982. package/web/chunk-z7024nm8.js.br +0 -0
  983. package/web/chunk-z7024nm8.js.gz +0 -0
  984. package/web/chunk-z91sdj83.js +0 -139
  985. package/web/chunk-z91sdj83.js.br +0 -0
  986. package/web/chunk-z91sdj83.js.gz +0 -0
  987. package/web/chunk-za5j3w7x.js +0 -2
  988. package/web/chunk-za5j3w7x.js.br +0 -0
  989. package/web/chunk-za5j3w7x.js.gz +0 -0
  990. package/web/chunk-zw958xwq.js +0 -1
  991. package/web/chunk-zw958xwq.js.br +0 -0
  992. package/web/chunk-zw958xwq.js.gz +0 -0
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{Ds}from"./chunk-9qdx0ekk.js";export{Ds as createGitGraphServices};
@@ -0,0 +1,2 @@
1
+ �$�import{Ds}from"./chunk-9qdx0ekk.js";export{Ds as createGitGraphServices};
2
+ 
Binary file
@@ -0,0 +1,2 @@
1
+ import{a,m,e,n,b,l,xe,cr,re}from"./chunk-56a6zytc.js";var g=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M7 16c.5-2 1.5-7 4-7 2 0 2 3 4 3 2.5 0 4.5-5 5-7",key:"lw07rv"}]],s=l("chart-spline",g);function Ni(t){let o=b();o.useTheme();let[u,d]=a("preview"),r=t.streaming&&!t.rendered,c=!t.streaming&&!t.rendered&&Boolean(t.error),i=u==="code"||r;return n(o.Panel,{"aria-label":t.title,"data-render-pending":t.pending&&!c?"true":void 0,className:"group/graph relative my-4 font-sans not-italic first:mt-0 last:mb-0",children:[e("div",{role:"toolbar","aria-label":`${t.title}操作`,className:r?"absolute top-2 right-2 z-10 flex items-center":o.style("surface.toolbarFloating","absolute top-2 right-2 z-10 opacity-0 transition-opacity duration-150 group-hover/graph:opacity-100 focus-within:opacity-100 [@media(hover:none)]:opacity-70"),children:r?n("span",{className:o.style("control.badge","gap-1.5 rounded-full px-2 py-0.5 text-2xs"),children:[e(re,{className:"size-3 animate-spin"}),"生成",t.title]}):n(m,{children:[e("button",{type:"button","aria-label":i?"查看图表":"查看代码",title:i?"查看图表":"查看代码",onClick:()=>d(i?"preview":"code"),className:"flex size-6 items-center justify-center rounded-md text-dim hover:bg-raised hover:text-ink [&_svg]:size-3.5",children:i?e(s,{}):e(cr,{})}),e(o.CopyButton,{text:t.code,size:"icon-sm",label:"复制代码"})]})}),i&&e(o.Code,{code:t.code,lang:t.codeLang,className:"px-4 py-3"}),c&&!i&&n("div",{role:"alert",className:"flex flex-col items-center gap-2 px-4 py-8 text-center",children:[e(xe,{className:"size-5 text-warning"}),e("p",{className:"max-w-full text-xs break-words text-dim",children:t.error}),e("button",{type:"button",onClick:()=>d("code"),className:"text-xs text-accent-strong underline underline-offset-2",children:"查看代码"})]}),e("div",{hidden:i||c,children:t.children})]})}
2
+ export{Ni};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{y,s,o,a,m,e,n,b,l,xe,Ft,Be,ke,ye,gt,Ht,me,ce,Yc,mi,fi,hi,ps}from"./chunk-56a6zytc.js";import{wi,ki,Ci}from"./chunk-7c59jb8d.js";var be=[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]],pe=l("rotate-cw",be);function fe(i){let{ApprovalPanel:P,Button:S,CopyButton:H,DetailChip:R,DetailList:g,DetailRow:p,DetailTitle:M,Dialog:D,Switch:Z,Tooltip:u,cn:te,confirm:w,useTheme:ne}=b();ne();let{info:r,connection:j}=i,N=i.projectID?`?projectID=${encodeURIComponent(i.projectID)}`:"",[G,se]=a(),[J,z]=a(),[h,T]=a(!1),[v,E]=a(),[B,O]=a(),Y=r.status.status==="connected",ee=r.status.status==="needs_auth",A=r.status.status==="failed",t=r.config.type==="remote"&&Boolean(r.config.oauth),I=r.projectID!==(i.projectID??null);s(()=>{function d(k){if(k&&k!==r.name)return;j.request(`/api/mcp/${encodeURIComponent(r.name)}/connect${N}`,{method:"POST"}).then((C)=>i.onChanged(C)).catch((C)=>{z(C instanceof Error?C.message:"授权后重新连接失败")})}function c(k){if(k.origin!==window.location.origin)return;if(k.data?.type==="mcp-oauth-success")d(k.data.name)}function f(k){if(k.key==="basalt-mcp-oauth-event"&&k.newValue)try{let C=JSON.parse(k.newValue);d(C.name)}catch(C){}}window.addEventListener("message",c),window.addEventListener("storage",f);let K;if("BroadcastChannel"in window)K=new BroadcastChannel("basalt-mcp-oauth"),K.onmessage=(k)=>{if(k.data?.type==="mcp-oauth-success")d(k.data.name)};return()=>{window.removeEventListener("message",c),window.removeEventListener("storage",f),K?.close()}},[j,r.name,N,i]),s(()=>{if(r.status.status!=="connected")return;j.request(`/api/mcp/${encodeURIComponent(r.name)}/tools${N}`).then((d)=>{if(Array.isArray(d))se(d),z(void 0)}).catch((d)=>{z(d instanceof Error?d.message:"获取工具失败")})},[j,r.name,N,r.status.status]);async function x(d){T(!0);try{let c=await j.request(`/api/mcp/${encodeURIComponent(r.name)}/${d}${N}`,{method:"POST"});i.onChanged(c)}catch{}finally{T(!1)}}async function F(){if(!v||h)return;let d=v.fingerprint;O(void 0),T(!0);try{let c=await j.request(`/api/mcp/${encodeURIComponent(r.name)}/trust${N}`,{method:"POST",body:JSON.stringify({fingerprint:d})});i.onChanged(c),E(void 0)}catch(c){O(c instanceof Error?c.message:"确认失败,请刷新配置")}finally{T(!1)}}async function U(){let d=window.open("about:blank","_blank","width=600,height=700");if(!d){z("授权窗口被浏览器拦截,请允许弹出窗口后重试");return}T(!0),z(void 0);try{let c=await j.request(`/api/mcp/${encodeURIComponent(r.name)}/oauth/authorize${N}`,{method:"POST"}),f=new URL(c.authorizationUrl);if(f.protocol!=="https:"&&f.protocol!=="http:")throw Error("授权服务返回了不支持的链接协议");d.location.href=f.href}catch(c){d.close(),z(c instanceof Error?c.message:"获取授权链接失败")}finally{T(!1)}}async function ie(){T(!0);try{let d=await j.request(`/api/mcp/${encodeURIComponent(r.name)}/oauth/clear${N}`,{method:"POST"});i.onChanged(d)}finally{T(!1)}}async function _(){if(!await w({title:`删除 ${r.name}?`,description:"删除后将断开连接并不再向会话提供其工具。",action:"删除",danger:!0}))return;T(!0);try{await j.request(`/api/mcp/${encodeURIComponent(r.name)}${N}`,{method:"DELETE"}),i.onChanged(),i.onClose()}finally{T(!1)}}let ae=r.config,re=hi(ae),V="error"in r.status?r.status.error:void 0,oe=ae.enabled===!1,le=!oe&&!ee&&r.status.status!=="needs_trust";if(v)return e(D,{open:!0,onOpenChange:(d)=>{if(!d&&!h)E(void 0)},title:`信任 ${r.name}?`,size:"lg",children:n(P,{hideTitle:!0,title:"信任项目本地命令",command:v.command,approveLabel:"信任并连接",busy:h?"approve":void 0,error:B,onDecision:(d)=>{if(d)F();else E(void 0)},description:"项目命令将以你的权限运行,请确认来源可信。",children:[n("div",{className:"flex min-w-0 items-start gap-2 text-xs text-dim",children:[e("span",{className:"shrink-0 leading-5",children:"目录"}),e("code",{className:"min-w-0 flex-1 leading-5 [overflow-wrap:anywhere]",children:v.cwd}),e(H,{text:v.cwd,label:"复制工作目录",size:"icon-xs"})]}),n("section",{className:"min-w-0 space-y-2",children:[e("h3",{className:"text-xs font-medium text-dim",children:"环境变量"}),v.variables.length?e("div",{className:"flex min-w-0 flex-wrap gap-2",children:v.variables.map((d)=>e("span",{className:"max-w-full rounded-md bg-raised px-2 py-1 font-mono text-xs text-dim [overflow-wrap:anywhere]",children:d},d))}):e("p",{className:"text-xs text-faint",children:"无"})]}),e("p",{className:"text-xs leading-5 text-faint",children:"配置变更后需重新确认。"})]})});return e(D,{open:!0,onOpenChange:(d)=>{if(!d&&!h)i.onClose()},title:e(M,{icon:ae.type==="local"?e(Ht,{}):e(Be,{}),name:r.name,meta:[ae.type==="local"?"本地命令":"远程服务",fi(r.scope),t&&"OAuth 2.0"]}),size:"lg",footer:n("div",{className:"flex w-full items-center justify-between gap-2 max-sm:[&>*]:flex-none",children:[n("div",{className:"inline-flex items-center gap-2.5 text-ui text-dim",children:[!I&&e(Z,{label:`启用 ${r.name}`,checked:!oe,disabled:h||i.toggling,onCheckedChange:i.onToggle}),e(ps,{info:r,tools:!0})]}),n("div",{className:"flex items-center gap-1.5",children:[r.status.status==="needs_trust"&&e(S,{type:"button",size:"sm",onClick:()=>{if(r.status.status!=="needs_trust"||r.config.type!=="local")return;O(void 0),E({fingerprint:r.status.fingerprint,cwd:r.status.cwd,command:hi(r.config),variables:Object.keys(r.config.environment??{})})},disabled:h,children:"信任并连接"}),t&&e(S,{type:"button",variant:"ghost",size:"sm",onClick:ie,disabled:h,children:"清除凭据"}),!I&&e(u,{label:"删除服务器",children:e(S,{type:"button",variant:"danger-ghost",size:"icon","aria-label":"删除服务器",onClick:_,disabled:h,children:e(me,{className:"size-4"})})}),le&&e(u,{label:"终止服务进程并重新启动,让更新后的代码生效",children:e(S,{type:"button",variant:"ghost",size:"icon","aria-label":"重启",onClick:()=>x("restart"),disabled:h,children:e(pe,{className:te("size-4",h&&"animate-spin")})})}),le&&e(S,{type:"button",size:"sm",onClick:()=>x(Y?"disconnect":"connect"),disabled:h,children:Y?"断开连接":"连接"}),!I&&n(S,{type:"button",size:"sm",onClick:i.onEdit,disabled:h,children:[e(gt,{className:"size-3.5"}),e("span",{children:"编辑配置"})]})]})]}),children:n(g,{children:[n(p,{label:ae.type==="local"?"命令":"地址",children:[e("span",{className:"min-w-0 font-mono text-xs text-dim leading-5.5 [overflow-wrap:anywhere]",children:re}),e(H,{text:re,label:"复制",size:"icon-xs",className:"shrink-0 text-faint hover:text-ink"})]}),ee&&n("div",{className:"flex items-center justify-between gap-4 py-3.5 max-sm:flex-col max-sm:items-start max-sm:gap-2.5",children:[n("div",{className:"min-w-0 space-y-1",children:[e("p",{className:"text-ui text-ink leading-5",children:"需要授权"}),e("p",{className:"text-xs text-faint leading-5",children:"完成授权后即可使用,凭据自动保存。"})]}),e(S,{type:"button",size:"sm",className:"shrink-0",onClick:U,disabled:h,children:h?"正在连接…":"连接账户"})]}),A&&e(p,{label:"错误",children:e("p",{className:"min-w-0 font-mono text-xs text-danger leading-5 [overflow-wrap:anywhere]",children:V})}),e(p,{label:"工具",children:J?e("span",{className:"text-danger",children:J}):!Y?e("span",{className:"text-faint",children:"连接后列出工具"}):!G?e("span",{role:"status",className:"text-faint",children:"正在获取"}):G.length===0?e("span",{className:"text-faint",children:"服务器没有声明任何工具"}):G.map((d)=>e(R,{mono:!0,title:d.description,children:d.name},d.name))})]})})}var Ce=/^[A-Za-z0-9_-]{1,64}$/;function Q(i){return e("span",{className:"truncate text-xs text-faint",children:i.children})}function ge(i){let{pairs:P,onChange:S,InputComponent:H}=i,R=(g,p)=>S(P.map((M,D)=>D===g?{...M,...p}:M));return n("div",{className:"space-y-2",children:[n("div",{className:"flex min-h-7 items-center gap-2",children:[e("span",{className:"shrink-0 text-ui font-medium text-dim",children:i.label}),e(Q,{children:i.tip}),n("button",{type:"button",className:"ml-auto inline-flex h-7 shrink-0 cursor-pointer items-center gap-1 rounded-lg px-2 text-xs font-medium text-dim transition-colors hover:bg-raised hover:text-ink",onClick:()=>S([...P,{key:"",value:"",saved:!1}]),children:[e(ke,{className:"size-3.5"}),"添加"]})]}),P.map((g,p)=>n("div",{className:"flex min-w-0 items-center gap-1.5",children:[e(H,{"aria-label":`${i.keyLabel} ${p+1}`,placeholder:i.keyLabel,value:g.key,readOnly:g.saved,onChange:(M)=>R(p,{key:M.target.value}),className:"min-w-0 flex-[2] font-mono text-xs"}),e(H,{"aria-label":`${i.keyLabel} ${g.key||p+1} 的值`,type:"password",autoComplete:"off",placeholder:g.saved?"已保存,留空保持不变":"值",value:g.value,onChange:(M)=>R(p,{value:M.target.value}),className:"min-w-0 flex-[3] font-mono text-xs"}),e("button",{type:"button","aria-label":`删除 ${g.key||"该项"}`,className:"flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-lg text-faint transition-colors hover:bg-danger/10 hover:text-danger",onClick:()=>S(P.filter((M,D)=>D!==p)),children:e(ce,{className:"size-4"})})]},p))]})}function he(i){return Object.keys(i??{}).map((P)=>({key:P,value:"",saved:!0}))}function ve(i){let{Button:P,Segmented:S,Dialog:H,Form:R,Field:g,Input:p,Switch:M,style:D,useTheme:Z}=b();Z();let{existing:u}=i,[te,w]=a(u?.config.type??"local"),[ne,r]=a(u?.name??""),[j,N]=a(u?.config.type==="local"?mi(u.config.command):""),[G,se]=a(u?.config.type==="remote"?u.config.url:""),[J,z]=a(he(u?.config.type==="local"?u.config.environment:void 0)),[h,T]=a(he(u?.config.type==="remote"?u.config.headers:void 0)),v=u?.config.type==="remote"?u.config.oauth:void 0,[E,B]=a(Boolean(v)),[O,Y]=a(typeof v==="object"&&v.clientId?v.clientId:""),[ee,A]=a(""),[t,I]=a(typeof v==="object"&&v.scope?v.scope:""),[x,F]=a(u?.config.defer??"default"),[U,ie]=a(u?.config.timeout!==void 0?String(u.config.timeout):""),[_,ae]=a(u?.config.defer!==void 0||u?.config.timeout!==void 0),[re,V]=a(),[oe,le]=a(!1);async function d(c){c.preventDefault(),V(void 0);let f=ne.trim();if(!u&&!Ce.test(f)){V("名称只能包含英文字母、数字、下划线与中划线,长度 1-64");return}if(!u&&i.taken.includes(f)){V("同名服务器已存在");return}let K=U.trim()?Number.parseInt(U.trim(),10):void 0;if(K!==void 0&&(!Number.isFinite(K)||K<=0)){V("超时时间须为大于 0 的毫秒数");return}let k;if(te==="local"){let C=Yc(j.trim());if(!C.length){V("请输入启动命令");return}let W={};for(let q of J){let L=q.key.trim();if(!L)continue;if(!q.saved||q.value)W[L]=q.value}k={type:"local",command:C,environment:Object.keys(W).length?W:void 0,enabled:u?u.config.enabled:!0,defer:x==="default"?void 0:x,timeout:K}}else{let C=G.trim();try{let L=new URL(C);if(L.protocol!=="http:"&&L.protocol!=="https:")throw Error("bad protocol")}catch{V("请输入合法的 HTTP 或 HTTPS 地址");return}let W={};for(let L of h){let de=L.key.trim();if(!de)continue;if(!L.saved||L.value)W[de]=L.value}let q;if(E){let L=O.trim(),de=ee.trim(),ue=t.trim();if(L||de||ue)q={clientId:L||void 0,clientSecret:de||void 0,scope:ue||void 0};else q=!0}else q=!1;k={type:"remote",url:C,headers:Object.keys(W).length?W:void 0,oauth:q,enabled:u?u.config.enabled:!0,defer:x==="default"?void 0:x,timeout:K}}le(!0);try{let C=u?.name??f,W=u?u.projectID:i.projectID,q=W?`?projectID=${encodeURIComponent(W)}`:"";await i.connection.request(`/api/mcp/${encodeURIComponent(C)}${q}`,{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify(k)}),i.onSaved()}catch(C){V(C instanceof Error?C.message:"保存失败")}finally{le(!1)}}return e(H,{open:!0,onOpenChange:(c)=>{if(!c&&!oe)i.onClose()},title:u?`编辑 ${u.name}`:"添加 MCP 服务器",size:"lg",footer:n("div",{className:"flex w-full justify-end gap-2.5",children:[e(P,{type:"button",variant:"ghost",onClick:i.onClose,disabled:oe,className:"min-w-20",children:"取消"}),e(P,{type:"submit",form:"mcp-server-form",variant:"primary",disabled:oe,className:"min-w-24",children:oe?"保存中...":"保存"})]}),children:n(R,{id:"mcp-server-form",onSubmit:d,children:[e(S,{value:te,onChange:(c)=>w(c),className:"w-full [&>button]:flex-1",options:[{value:"local",label:"本地(标准输入输出)"},{value:"remote",label:"远程(HTTP / SSE)"}]}),!u&&e(g,{label:"名称",aside:e(Q,{children:"唯一标识,如 postgres"}),children:(c)=>e(p,{id:c,value:ne,onChange:(f)=>r(f.target.value),placeholder:"postgres",className:"font-mono text-xs"})}),te==="local"?n(m,{children:[e(g,{label:"启动命令",aside:e(Q,{children:"完整命令及参数"}),children:(c)=>e(p,{id:c,value:j,onChange:(f)=>N(f.target.value),placeholder:"npx -y @modelcontextprotocol/server-postgres ...",className:"font-mono text-xs"})}),e(ge,{label:"环境变量",tip:"启动进程时注入",keyLabel:"变量名",pairs:J,onChange:z,InputComponent:p})]}):n(m,{children:[e(g,{label:"服务地址",aside:e(Q,{children:"HTTP / HTTPS 端点"}),children:(c)=>e(p,{id:c,value:G,onChange:(f)=>se(f.target.value),placeholder:"https://example.com/mcp",className:"font-mono text-xs"})}),e(ge,{label:"请求头",tip:"随每次请求发送",keyLabel:"头字段",pairs:h,onChange:T,InputComponent:p}),n("div",{className:"flex items-center justify-between gap-4",children:[n("div",{className:"min-w-0",children:[e("span",{className:"block text-ui font-medium text-dim",children:"OAuth 2.0 认证"}),e("span",{className:"block truncate text-xs text-faint",children:"自动发现授权端点,使用 PKCE 并刷新令牌"})]}),e(M,{checked:E,onCheckedChange:B,label:"启用 OAuth 2.0"})]}),E&&n(m,{children:[e(g,{label:"Client ID",aside:e(Q,{children:"留空自动动态注册(DCR)"}),children:(c)=>e(p,{id:c,value:O,onChange:(f)=>Y(f.target.value),placeholder:"留空自动动态注册",className:"font-mono text-xs"})}),e(g,{label:"Client Secret",aside:e(Q,{children:"留空保持不变"}),children:(c)=>e(p,{id:c,type:"password",autoComplete:"off",value:ee,onChange:(f)=>A(f.target.value),placeholder:"••••••••",className:"font-mono text-xs"})}),e(g,{label:"Scope",aside:e(Q,{children:"选填授权范围"}),children:(c)=>e(p,{id:c,value:t,onChange:(f)=>I(f.target.value),placeholder:"repo read:org",className:"font-mono text-xs"})})]})]}),n("div",{className:"space-y-3 border-t border-line/60 pt-3",children:[n("button",{type:"button","aria-expanded":_,className:"flex w-full cursor-pointer items-center gap-1.5 text-ui font-medium text-dim transition-colors hover:text-ink",onClick:()=>ae(!_),children:[e(Ft,{className:`size-3.5 transition-transform ${_?"rotate-90":""}`}),"高级设置",e("span",{className:"truncate text-xs font-normal text-faint",children:"加载时机、超时"})]}),_&&n("div",{className:"grid grid-cols-2 gap-3 max-sm:grid-cols-1",children:[e(g,{label:"加载时机",aside:e(Q,{children:"延迟 = 按需加载"}),children:()=>e(S,{value:x,onChange:(c)=>F(c),className:"w-full [&>button]:flex-1",options:[{value:"default",label:"默认"},{value:"defer",label:"延迟"},{value:"always",label:"常驻"}]})}),e(g,{label:"超时(毫秒)",aside:e(Q,{children:"留空用默认"}),children:(c)=>e(p,{id:c,value:U,onChange:(f)=>ie(f.target.value),placeholder:"默认",className:"font-mono text-xs"})})]})]}),re&&n("div",{role:"alert",className:D("callout.base",D("callout.danger"),"px-3 py-2.5 text-xs"),children:[e(xe,{className:"mt-0.5 size-3.5 shrink-0"}),e("span",{className:"min-w-0 break-words",children:re})]})]})})}var X="global";function He({connection:i}){let{Button:P,Select:S,CatalogRow:H,style:R,useTheme:g}=b();g();let[p,M]=a(""),[D,Z]=a(),[u,te]=a([]),[w,ne]=a(X),[r,j]=a(),[N,G]=a(!1),[se,J]=a(),[z,h]=a(!1),T=o(!1),[v,E]=a(),B=o(0),O=y(async()=>{let t=++B.current;G(!0);try{let I=w===X?"":`?projectID=${encodeURIComponent(w)}`,[x,F]=await Promise.all([i.request(`/api/mcp${I}`),i.request("/api/mcp/projects")]);if(t!==B.current)return;if(Z(x),te(F),w!==X&&!F.some((U)=>U.id===w))ne(X);j(void 0)}catch(I){if(t===B.current)j(I instanceof Error?I.message:"读取失败")}finally{if(t===B.current)G(!1)}},[i,w]);s(()=>(O(),()=>{B.current++}),[O]);async function Y(t,I){if(T.current)return;T.current=!0,h(!0);let x=B.current;try{let F=t.projectID?`?projectID=${encodeURIComponent(t.projectID)}`:"",U=await i.request(`/api/mcp/${encodeURIComponent(t.name)}${F}`,{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify({...t.config,enabled:I})});if(x===B.current)Z((ie)=>ie?.map((_)=>_.name===U.name&&_.projectID===U.projectID?U:_))}finally{T.current=!1,h(!1)}}let ee=D?.filter((t)=>`${t.name} ${hi(t.config)}`.toLowerCase().includes(p.trim().toLowerCase())),A=D?.find((t)=>t.name===se);return n("div",{className:"min-w-0 space-y-6",children:[n("section",{className:"min-w-0",children:[n("div",{className:"mb-2.5 flex flex-wrap items-end justify-between gap-3 px-0.5",children:[n("div",{className:"min-w-0 flex-1 basis-48",children:[e("h2",{className:R("settings.groupTitle"),children:"MCP 服务器"}),e("p",{className:R("settings.groupDesc"),children:"外部工具与数据源管理"})]}),n("div",{className:"flex flex-wrap items-center justify-end gap-2",children:[e(S,{value:w,disabled:N,onValueChange:(t)=>{J(void 0),E(void 0),Z(void 0),ne(t)},groups:[{options:[{value:X,label:"全局"}]},...wi(u)],className:"w-44"}),e(P,{variant:"ghost",disabled:N,onClick:O,className:"h-9 px-2.5 text-xs",children:e(ye,{className:`size-3.5 ${N?"animate-spin":""}`})}),n(P,{variant:"secondary",onClick:()=>E({}),className:"h-9 px-2.5 text-xs",children:[e(ke,{className:"size-3.5 mr-1"}),"添加服务器"]})]})]}),r&&n("div",{role:"alert",className:R("callout.base",R("callout.danger"),"mb-3 flex-wrap items-center justify-between"),children:[n("p",{className:"min-w-0 flex-1 break-words text-sm text-danger",children:["无法读取 MCP 服务器:",r]}),e(P,{disabled:N,onClick:O,children:"重试"})]}),e(ki,{label:"搜索 MCP 服务器",placeholder:"搜索服务器",value:p,onChange:M}),e("div",{className:R("settings.groupBox"),children:!D?e(Ci,{}):ee?.length===0?e("p",{className:"p-4 text-sm text-dim",children:"没有匹配的 MCP 服务器"}):e("ul",{className:"divide-y divide-line",children:ee?.map((t)=>{let I=t.config.enabled===!1,x=t.projectID!==(w===X?null:w);return e("li",{children:e(H,{name:t.name,selectLabel:`查看 ${t.name}`,onSelect:()=>J(t.name),title:x?"继承的全局配置,请切换到全局范围编辑":void 0,description:e("span",{className:"font-mono text-2xs",children:hi(t.config)}),icon:t.config.type==="local"?e(Ht,{}):e(Be,{}),inactive:I,aside:n(m,{children:[e("span",{className:R("control.badge"),children:fi(t.scope)}),e(ps,{info:t})]}),toggle:x?void 0:{checked:!I,label:`启用服务器 ${t.name}`,disabled:z||N,onCheckedChange:(F)=>Y(t,F)}})},t.name)})})})]}),A&&!v&&e(fe,{connection:i,info:A,toggling:z,onToggle:(t)=>Y(A,t),projectID:w===X?void 0:w,onClose:()=>J(void 0),onEdit:()=>E({info:A}),onChanged:(t)=>t?Z((I)=>I?.map((x)=>x.name===t.name?t:x)):O()},`${A.projectID}:${A.name}`),v&&e(ve,{connection:i,projectID:w===X?void 0:w,existing:v.info,taken:(D??[]).filter((t)=>t.scope===(w===X?"global":"project")).map((t)=>t.name),onClose:()=>E(void 0),onSaved:()=>{E(void 0),O()}})]})}export{He as McpSection};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{s,o,a,le,m,e,n,u,Bt,Z,k,p,x,ae,oe,fe,Xi,ot,xs}from"./chunk-56a6zytc.js";var P=30;function W(t){let l=new Date(t),b=new Date,c=new Date(l.getFullYear(),l.getMonth(),l.getDate()).getTime(),v=new Date(b.getFullYear(),b.getMonth(),b.getDate()).getTime(),d=86400000,h=Math.round((v-c)/86400000),g=`${l.getMonth()+1}月${l.getDate()}日`;if(h===0)return`今天 · ${g}`;if(h===1)return`昨天 · ${g}`;if(h>1&&h<7)return`${h} 天前 · ${g}`;if(l.getFullYear()===b.getFullYear())return g;return`${l.getFullYear()}年${g}`}function q(t){if(!t)return"";let l=new Date(t),b=(d)=>String(d).padStart(2,"0"),c=b(l.getHours()),v=b(l.getMinutes());return`${c}:${v}`}function Q(t){if(!t)return"";return new Date(t).toLocaleString()}function V(t,l=t.length){let b=[],c=new Map;for(let v=0;v<t.length;v++){let d=t[v];if(!d)continue;let h=d.archivedAt??0,g=new Date(h),w=`${g.getFullYear()}-${g.getMonth()+1}-${g.getDate()}`,N=c.get(w);if(!N){if(v>=l)continue;N={key:w,title:W(h),total:0,sessions:[]},c.set(w,N),b.push(N)}if(N.total+=1,v<l)N.sessions.push(d)}return b}function de(t){k();let[l,b]=a(""),[c,v]=a(!1),[d,h]=a(new Set),[g,w]=a(!1),N=o(null),S=le(t.conn.state),A=t.projectID??"chat",T=t.projectID?t.projects.find((i)=>i.id===t.projectID)?.name??"项目":"聊天",I=Xi(t.sessions,A),f=Xi(I,A,l),z=`${A}\x00${l.trim().toLocaleLowerCase()}`,[F,R]=a({key:z,count:P}),O=F.key===z?F.count:P,B=Math.min(O,f.length),L=B<f.length;s(()=>{let i=N.current;if(!i||!L||typeof IntersectionObserver>"u")return;let y=i.closest(".minimal-scroll-area"),r=new IntersectionObserver((j)=>{if(j.some((M)=>M.isIntersecting))R({key:z,count:Math.min(f.length,B+P)})},{root:y,rootMargin:"320px 0px"});return r.observe(i),()=>r.disconnect()},[z,L,B,f.length]);let E=f.filter((i)=>d.has(i.id)),C=f.length>0&&d.size===f.length;function H(){if(C)h(new Set);else h(new Set(f.map((i)=>i.id)))}function Y(i){h((y)=>{let r=new Set(y);if(r.has(i))r.delete(i);else r.add(i);return r})}async function G(i){if(i.length===0||g)return;w(!0);try{if(t.onBatchDelete)await t.onBatchDelete(i);else for(let y of i)t.onDelete(y);if(h(new Set),c&&i.length===f.length)v(!1)}finally{w(!1)}}async function _(i){if(i.length===0||g)return;w(!0);try{if(t.onBatchRestore)await t.onBatchRestore(i);else for(let y of i)t.onRestore(y);if(h(new Set),c&&i.length===f.length)v(!1)}finally{w(!1)}}function K(){if(S.indexError)return n("div",{role:"alert",className:"animate-fade space-y-2 rounded-2xl border border-danger/20 bg-danger/5 p-6 text-sm text-danger",children:[n("p",{children:["加载失败:",S.indexError]}),e(x,{loading:S.indexLoading,disabled:S.indexLoading,onClick:()=>{if(!t.conn.state.get().indexLoading)t.conn.refreshIndex()},children:"重试"})]});if(S.status!=="open"||S.indexLoading)return e("div",{className:"flex justify-center py-12 text-xs text-faint",children:"正在连接…"});if(f.length===0)return n("div",{className:p("surface.emptyDashed","animate-fade"),children:[e("div",{className:"grid size-11 place-items-center rounded-xl bg-raised text-dim",children:e(Bt,{className:"size-5"})}),n("div",{children:[e("p",{className:"text-md font-medium",children:I.length===0?`${T}里暂无归档会话`:"没有匹配结果"}),e("p",{className:"mt-1 text-sm text-dim",children:I.length===0?"归档的会话会安全存放在这里,不干扰日常列表。":"尝试更换关键词重新搜索。"})]})]});let i=V(f,B);return n("div",{className:"space-y-6 animate-fade",children:[i.map((y)=>n("section",{className:"space-y-2",children:[n("div",{className:"flex items-center justify-between px-1 text-xs text-dim",children:[e("h2",{className:"font-medium text-ink",children:y.title}),n("span",{className:"tabular-nums text-faint",children:[y.total," 个会话"]})]}),e("div",{className:p("settings.groupBox"),children:e("ul",{className:"divide-y divide-line/60",children:y.sessions.map((r)=>{let j=d.has(r.id),M=t.projects.find((D)=>D.id===r.projectID)?.name;return n("li",{tabIndex:c?0:void 0,className:u("group flex flex-wrap items-center justify-between gap-x-3 gap-y-1 px-4 py-2.5 transition-colors sm:flex-nowrap",c?"cursor-pointer hover:bg-raised/70 focus:outline-hidden focus:bg-raised/70":"hover:bg-raised/50",c&&j&&"bg-accent/5"),onClick:c?()=>Y(r.id):void 0,onKeyDown:c?(D)=>{if(D.key==="Enter"||D.key===" ")D.preventDefault(),Y(r.id)}:void 0,children:[n("div",{className:"flex min-w-0 flex-1 basis-48 items-center gap-2.5",children:[c&&e("span",{className:u("flex size-4 shrink-0 items-center justify-center rounded-md border transition-colors",j?"border-accent bg-accent text-accent-ink":"border-line-strong bg-panel"),children:j&&e(Z,{className:"size-3",strokeWidth:3})}),e(ot,{modelID:r.model,className:"size-4 shrink-0 text-dim"}),e("button",{type:"button",disabled:c,className:u("block max-w-full truncate text-left text-sm font-medium text-ink transition-colors focus:outline-hidden",!c&&"hover:text-accent"),onClick:()=>!c&&t.onOpen(r.id),children:fe(r)}),M&&e("span",{className:p("control.badge","shrink-0 text-2xs text-dim"),children:M})]}),n("div",{className:"flex shrink-0 items-center justify-end gap-1.5 sm:grid sm:justify-items-end",children:[e("time",{dateTime:r.archivedAt?new Date(r.archivedAt).toISOString():void 0,title:r.archivedAt?`归档于 ${Q(r.archivedAt)}`:void 0,className:u("text-xs tabular-nums text-faint cursor-default sm:col-start-1 sm:row-start-1",!c&&"transition-opacity sm:group-hover:opacity-0 sm:group-focus-within:opacity-0"),children:q(r.archivedAt)}),!c&&n("div",{className:"flex items-center gap-1.5 opacity-90 transition-opacity sm:pointer-events-none sm:col-start-1 sm:row-start-1 sm:opacity-0 sm:group-hover:pointer-events-auto sm:group-hover:opacity-100 sm:group-focus-within:pointer-events-auto sm:group-focus-within:opacity-100",children:[e(x,{size:"sm",variant:"ghost",className:"h-7 px-2 text-xs",disabled:t.pending.has(r.id),onClick:(D)=>{D.stopPropagation(),t.onRestore(r)},children:"恢复"}),e(x,{size:"sm",variant:"danger-ghost",className:"h-7 px-2 text-xs",disabled:t.pending.has(r.id),onClick:(D)=>{D.stopPropagation(),t.onDelete(r)},children:"永久删除"})]})]})]},r.id)})})})]},y.key)),L&&n("div",{ref:N,className:"flex items-center justify-between rounded-xl border border-line/60 bg-panel/40 px-4 py-2.5 text-xs text-faint",children:[n("span",{className:"tabular-nums",children:["已显示 ",B," / ",f.length," 个会话"]}),n("div",{className:"flex items-center gap-1.5",children:[e(x,{size:"sm",variant:"ghost",className:"h-7 px-2 text-xs",onClick:()=>R({key:z,count:Math.min(f.length,B+P)}),children:"加载更多"}),e(x,{size:"sm",variant:"ghost",className:"h-7 px-2 text-xs",onClick:()=>R({key:z,count:f.length}),children:"显示全部"})]})]})]})}return n(xs,{"aria-label":"已归档会话",title:n(m,{children:["已归档 ",n("span",{className:"text-dim",children:["· ",T]})]}),description:"浏览和管理已归档的会话,可随时恢复到聊天列表或彻底删除。",children:[n("div",{className:"mb-6 space-y-2",children:[e(oe,{label:"搜索标题",children:(i)=>e(ae,{id:i,value:l,onChange:(y)=>b(y.target.value),placeholder:"搜索归档会话…"})}),I.length>0&&(c?n("div",{className:"flex flex-wrap items-center justify-between gap-2 rounded-xl border border-line bg-panel p-2.5 shadow-xs",children:[n("button",{type:"button",className:"flex items-center gap-2 text-xs font-medium text-ink hover:text-accent focus:outline-hidden",onClick:H,children:[n("span",{className:u("flex size-4 shrink-0 items-center justify-center rounded-md border transition-colors",C?"border-accent bg-accent text-accent-ink":d.size>0?"border-accent bg-accent/20 text-accent":"border-line-strong bg-panel"),children:[C&&e(Z,{className:"size-3",strokeWidth:3}),!C&&d.size>0&&e("span",{className:"size-1.5 rounded-xs bg-accent"})]}),n("span",{children:[C?"取消全选":"全选",n("span",{className:"ml-1 text-dim",children:["(",d.size,"/",f.length,")"]})]})]}),n("div",{className:"flex items-center gap-2",children:[n(x,{size:"sm",variant:"secondary",className:"h-7 px-2.5 text-xs",loading:g,disabled:d.size===0||g,onClick:()=>void _(E),children:["批量恢复",d.size>0?` (${d.size})`:""]}),n(x,{size:"sm",variant:"danger",className:"h-7 px-2.5 text-xs",loading:g,disabled:d.size===0||g,onClick:()=>void G(E),children:["彻底删除",d.size>0?` (${d.size})`:""]}),e(x,{size:"sm",variant:"ghost",className:"h-7 px-2 text-xs",disabled:g,onClick:()=>{v(!1),h(new Set)},children:"退出管理"})]})]}):n("div",{className:"flex items-center justify-between px-0.5 text-xs text-dim",children:[e("span",{children:l.trim()?`匹配 ${f.length} 个会话(共 ${I.length} 个)`:`共 ${I.length} 个归档会话`}),f.length>0&&n("div",{className:"flex items-center gap-2",children:[e(x,{size:"sm",variant:"ghost",className:"h-7 px-2 text-xs",onClick:()=>v(!0),children:"批量管理"}),e(x,{size:"sm",variant:"danger-ghost",className:"h-7 px-2 text-xs",onClick:()=>void G(f),children:l.trim()?"清空匹配结果":"清空全部"})]})]}))]}),K()]})}export{de as ArchivePage};
Binary file
Binary file
@@ -0,0 +1,8 @@
1
+ import{t}from"./chunk-h4bzgvbg.js";import"./chunk-shtkgxz6.js";import{Us,js}from"./chunk-9r0rnt6d.js";import"./chunk-cgwnzse1.js";import"./chunk-j0dyf1g8.js";import"./chunk-r7afv22v.js";import"./chunk-qv5d69fn.js";var o=t((r)=>`${Us(r)}
2
+ .swimlane.cluster:not([data-color-id]) rect {
3
+ stroke: ${r.clusterBorder} !important;
4
+ }
5
+ [data-look="neo"].cluster rect {
6
+ filter: none;
7
+ }
8
+ `,"getStyles"),m=o,D=js({styles:m});export{D as diagram};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{te,e,n,b}from"./chunk-56a6zytc.js";import{Wn,na}from"./chunk-fjhqg9ag.js";import"./chunk-egjv760p.js";var s="session";function f({connection:d}){let{ModelSelector:a,SettingGroup:m,SettingRow:g}=b(),r=te(),t=na({connection:d,endpoint:"/api/plugins/title-generator/settings",loadError:"读取标题生成设置失败",toBody:(o)=>({schemaVersion:1,revision:o.revision,model:o.model}),differs:(o,i)=>o.model!==i.model}),l=t.settings?.model??null,c={models:[{id:s,name:"跟随会话模型"},...t.modelList.models.filter((o)=>o.available===!0||o.id===l)]};return n("form",{id:r,onSubmit:t.save,className:"min-w-0 space-y-5",children:[e(m,{title:"标题生成",children:e(g,{title:"标题模型",description:"首次输入直接命名;后续输入识别为独立需求时自动改名。请求始终使用 None 思考。",children:e("div",{className:"w-56",children:e(a,{variant:"field",models:c,value:l??s,onChange:(o)=>t.edit((i)=>({...i,model:o===s?null:o}))})})})}),e(Wn,{formID:r,notice:t.notice,dirty:t.dirty,busy:t.loading||t.saving,saving:t.saving,onReset:t.reset})]})}export{f as TitleGeneratorSettingsSection};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{r}from"./chunk-6ycpdpfj.js";import{on}from"./chunk-y2jkaf1e.js";import{Nn}from"./chunk-tbgavq0t.js";import{Ea}from"./chunk-s6a13wxe.js";import"./chunk-f5wyg9zh.js";import{La}from"./chunk-hzvff525.js";import{Na}from"./chunk-szwh742y.js";import{Ls}from"./chunk-20gcnbgn.js";import{Ts}from"./chunk-vndrjeyr.js";import{Ns}from"./chunk-gvndjaan.js";import{Lr}from"./chunk-s00gxcxn.js";import{Cs}from"./chunk-e4cwyn1g.js";import{As}from"./chunk-tntwwpyh.js";import{eo}from"./chunk-mqdvg55y.js";var t=Object.freeze({displayName:"Ruby Haml",fileTypes:["haml","html.haml"],foldingStartMarker:/^\p{space}*([\-\#\%\.\:\=\p{L}\p{M}\p{N}\p{Pc}][^\n]*)\p{space}(?=\n?$)/dgv,foldingStopMarker:/^\p{space}*(?=\n?$)/dgv,name:"haml",patterns:[{begin:/^(\p{space}*)==/dgv,contentName:"string.quoted.double.ruby",end:/(?=\n?$)\n*/dgv,patterns:[{include:"#interpolated_ruby"}]},{begin:/^(\p{space}*):ruby/dgv,end:/^(?!\1\p{space}+|(?=\n?$)\n*)()/dgv,name:"source.ruby.embedded.filter.haml",patterns:[{include:"source.ruby"}]},{captures:{"1":{name:"punctuation.definition.prolog.haml"}},match:/^(!!!)((?=\n?$)|\p{space}[^\n]*)/dgv,name:"meta.prolog.haml"},{begin:/^(\p{space}*):javascript/dgv,end:/^(?!\1\p{space}+|(?=\n?$)\n*)()/dgv,name:"js.haml",patterns:[{include:"source.js"}]},{begin:/^(\p{space}*)%script/dgv,end:/^(?!\1\p{space}+|(?=\n?$)\n*)()/dgv,name:"js.inline.haml",patterns:[{include:"source.js"}]},{begin:/^(\p{space}*):ruby(?=\n?$)/dgv,end:/^(?!\1\p{space}+|(?=\n?$)\n*)()/dgv,name:"source.ruby.embedded.filter.haml",patterns:[{include:"source.ruby"}]},{captures:{"1":{name:"punctuation.section.comment.haml"}},match:/^(\p{space}*)(\/\[[^\]][^\n]*?(?=\n?$)\n?)/dgv,name:"comment.line.slash.haml"},{begin:/^(\p{space}*)(-#|\/|-\p{space}*\/\*+)/dgv,beginCaptures:{"2":{name:"punctuation.section.comment.haml"}},end:/^(?!\1\p{space}+|\n)()/dgv,name:"comment.block.haml",patterns:[{include:"text.haml"}]},{begin:/^\p{space}*(?:((%)([\-\:\p{L}\p{M}\p{N}\p{Pc}]+))|(?=[\#\.]))/dgv,captures:{"1":{name:"meta.tag.haml"},"2":{name:"punctuation.definition.tag.haml"},"3":{name:"entity.name.tag.haml"}},end:/(?=\n?$)|(?![\#\(\.\[\{]|&amp;|[\-\=\~]|!=|&=|\/)/dgv,patterns:[{begin:/==/dgv,contentName:"string.quoted.double.ruby",end:/(?=\n?$)\n?/dgv,patterns:[{include:"#interpolated_ruby"}]},{captures:{"1":{name:"entity.other.attribute-name.class"}},match:/(\.[\-\:\p{L}\p{M}\p{N}\p{Pc}]+)/dgv,name:"meta.selector.css"},{captures:{"1":{name:"entity.other.attribute-name.id"}},match:/(#[\-\p{L}\p{M}\p{N}\p{Pc}]+)/dgv,name:"meta.selector.css"},{begin:new r("(?<!#)\\{(?=[^\\n]*(,|(do)|[\\{\\|\\}]|(#[^\\n]*)|(?:(?=(\\r\\n?|[\\n\\v\\f\\x85\\u2028\\u2029]))\\4))\\p{space}*)","dgv",{hiddenCaptures:[4]}),end:/\p{space}*\}(?!\p{space}*,)(?!\p{space}*\|)(?!#\{[^\n]*\})/dgv,name:"meta.section.attributes.haml",patterns:[{include:"source.ruby"},{include:"#continuation"},{include:"#rubyline"}]},{begin:/\(/dgv,end:/\)/dgv,name:"meta.section.attributes.plain.haml",patterns:[{match:/([\-\p{L}\p{M}\p{N}\p{Pc}]+)/dgv,name:"constant.other.symbol.ruby"},{match:/=/dgv,name:"punctuation"},{include:"#variables"},{begin:/"/dgv,end:/"/dgv,name:"string.quoted.double.ruby",patterns:[{match:/\\(x\p{AHex}{2}|[012][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|[^\n])/dgv,name:"constant.character.escape.ruby"},{include:"#interpolated_ruby"}]},{include:"#interpolated_ruby"}]},{begin:/\[(?=[^\n]+([\]\,\[\|]|(#[^\n]*))\p{space}*)/dgv,end:/\p{space}*\](?![^\n]*(?!#\[)\])/dgv,name:"meta.section.object.haml",patterns:[{include:"source.ruby"},{include:"#continuation"},{include:"#rubyline"}]},{include:"#interpolated_ruby_line"},{include:"#rubyline"},{match:/\//dgv,name:"punctuation.terminator.tag.haml"}]},{begin:/^(\p{space}*):(ruby|opal)(?=\n?$)/dgv,end:/^(?!\1\p{space}+|(?=\n?$)\n*)()/dgv,name:"source.ruby.embedded.filter.haml",patterns:[{include:"source.ruby"}]},{begin:/^(\p{space}*):ruby(?=\n?$)/dgv,end:/^(?!\1\p{space}+|(?=\n?$)\n*)()/dgv,name:"source.ruby.embedded.filter.haml",patterns:[{include:"source.ruby"}]},{begin:/^(\p{space}*):(s(?:tyle|ass))(?=\n?$)/dgv,end:/^(?=\1\p{space}+|(?=\n?$)\n*)()/dgv,name:"source.sass.embedded.filter.haml",patterns:[{include:"source.sass"}]},{begin:/^(\p{space}*):coffee(script)?/dgv,end:/^(?!\1\p{space}+|(?=\n?$)\n*)()/dgv,name:"source.coffee.embedded.filter.haml",patterns:[{include:"source.coffee"}]},{begin:/^(\p{space}*):plain(?=\n?$)/dgv,end:/^(?=\1\p{space}+|(?=\n?$)\n*)()/dgv,name:"text.plain.embedded.filter.haml",patterns:[{include:"text.plain"}]},{begin:/^(\p{space}*)(:ruby)/dgv,beginCaptures:{"2":{name:"keyword.control.filter.haml"}},end:/(?<=\n)(?!\1\p{space}+|(?=\n?$)\n*)()/dgv,name:"source.ruby.embedded.filter.haml",patterns:[{include:"source.ruby"}]},{begin:/^(\p{space}*)(:sass)/dgv,beginCaptures:{"2":{name:"keyword.control.filter.haml"}},end:/^(?!\1\p{space}+|(?=\n?$)\n*)()/dgv,name:"source.embedded.filter.sass",patterns:[{include:"source.sass"}]},{begin:/^(\p{space}*):(s(?:tyles|ass))(?=\n?$)/dgv,end:/^(?=\1\p{space}+|(?=\n?$)\n*)()/dgv,name:"source.sass.embedded.filter.haml",patterns:[{include:"source.sass"}]},{begin:/^(\p{space}*):plain(?=\n?$)/dgv,end:/^(?=\1\p{space}+|(?=\n?$)\n*)()/dgv,name:"text.plain.embedded.filter.haml",patterns:[{include:"text.plain"}]},{captures:{"1":{name:"meta.escape.haml"}},match:/^\p{space}*(\.)/dgv},{begin:/^\p{space}*(?=[\-\=\~]|!=|&=)/dgv,end:/(?=\n?$)/dgv,patterns:[{include:"#interpolated_ruby_line"},{include:"#rubyline"}]},{begin:/^(\p{space}*)(:php)/dgv,captures:{"2":{name:"entity.name.tag.haml"}},end:/^(?!\1\p{space}+|(?=\n?$)\n*)()/dgv,name:"meta.embedded.php",patterns:[{include:"text.html.php#language"}]},{begin:/^(\p{space}*)(:markdown)/dgv,captures:{"2":{name:"entity.name.tag.haml"}},end:/^(?!\1\p{space}+|(?=\n?$)\n*)()/dgv,name:"meta.embedded.markdown",patterns:[{include:"text.html.markdown"}]},{begin:/^(\p{space}*)(:(css|styles?))(?=\n?$)/dgv,captures:{"2":{name:"entity.name.tag.haml"}},end:/^(?!\1\p{space}+|(?=\n?$)\n*)()/dgv,name:"meta.embedded.css",patterns:[{include:"source.css"}]},{begin:/^(\p{space}*)(:sass)(?=\n?$)/dgv,captures:{"2":{name:"entity.name.tag.haml"}},end:/^(?!\1\p{space}+|(?=\n?$)\n*)()/dgv,name:"meta.embedded.sass",patterns:[{include:"source.sass"}]},{begin:/^(\p{space}*)(:scss)(?=\n?$)/dgv,captures:{"2":{name:"entity.name.tag.haml"}},end:/^(?!\1\p{space}+|(?=\n?$)\n*)()/dgv,name:"meta.embedded.scss",patterns:[{include:"source.scss"}]}],repository:{continuation:{captures:{"1":{name:"punctuation.separator.continuation.haml"}},match:/(\|)\p{space}*\n/dgv},interpolated_ruby:{patterns:[{captures:{"0":{name:"punctuation.section.embedded.ruby"},"1":{name:"source.ruby.embedded.source.empty"}},match:/#\{(\})/dgv,name:"source.ruby.embedded.source"},{begin:/#\{/dgv,captures:{"0":{name:"punctuation.section.embedded.ruby"}},end:/(\})/dgv,name:"source.ruby.embedded.source",patterns:[{include:"#nest_curly_and_self"},{include:"source.ruby"}]},{include:"#variables"}]},interpolated_ruby_line:{begin:/!?==/dgv,contentName:"string.source.ruby.embedded.haml",end:/(?=\n?$)/dgv,name:"meta.line.ruby.interpolated.haml",patterns:[{include:"#interpolated_ruby"},{include:"source.ruby#escaped_char"}]},nest_curly_and_self:{patterns:[{begin:/\{/dgv,captures:{"0":{name:"punctuation.section.scope.ruby"}},end:/\}/dgv,patterns:[{include:"#nest_curly_and_self"},{include:"source.ruby"}]}]},rubyline:{begin:/(&amp|!)?([\-\=\~])/dgv,contentName:"source.ruby.embedded.haml",end:/((do|\{)( \|[\*\.]+\|)?)(?=\n?$)|(?=\n?$)|^(?![^\n]*\|\p{space}*)(?=\n?$)\n?/dgv,endCaptures:{"1":{name:"source.ruby.embedded.html"},"2":{name:"keyword.control.ruby.start-block"}},name:"meta.line.ruby.haml",patterns:[{captures:{"1":{name:"keyword.control.php"}},match:/\p{space}+((elseif|foreach|switch|declare|default|use))(?=[\(\p{space}])/dgv},{captures:{"1":{name:"keyword.control.import.include.php"}},match:/\p{space}+((?:requir|includ)e_once)(?=[\(\p{space}])/dgv},{match:/\p{space}+(catch|try|throw|exception|finally|die)(?=[\(\p{space}]|\n*)/dgv,name:"keyword.control.exception.php"},{captures:{"1":{name:"storage.type.function.php"}},match:/\p{space}+(function\p{space}*)((?=\())/dgv},{captures:{"1":{name:"keyword.control.php"}},match:/\p{space}+(use\p{space}*)((?=\())/dgv},{match:/([\,\<\|]|do|\{)\p{space}*(#[^\n]*)?(?=\n?$)\n*/dgv,name:"source.ruby",patterns:[{include:"#rubyline"}]},{match:/#[^\n]*(?=\n?$)/dgv,name:"comment.line.number-sign.ruby"},{include:"source.ruby"},{include:"#continuation"}]},variables:{patterns:[{captures:{"1":{name:"punctuation.definition.variable.ruby"}},match:/(#@)[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"variable.other.readwrite.instance.ruby"},{captures:{"1":{name:"punctuation.definition.variable.ruby"}},match:/(#@@)[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"variable.other.readwrite.class.ruby"},{captures:{"1":{name:"punctuation.definition.variable.ruby"}},match:/(#\$)[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"variable.other.readwrite.global.ruby"}]}},scopeName:"text.haml",embeddedLangs:["javascript","css"],aliases:void 0,embeddedLangsLazy:["ruby","sass","coffee","markdown"]}),e=[...on,...Nn,t];var p=Object.freeze({displayName:"GraphQL",fileTypes:["graphql","graphqls","gql","graphcool"],name:"graphql",patterns:[{include:"#graphql"}],repository:{graphql:{patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-fragment-definition"},{include:"#graphql-directive-definition"},{include:"#graphql-type-interface"},{include:"#graphql-enum"},{include:"#graphql-scalar"},{include:"#graphql-union"},{include:"#graphql-schema"},{include:"#graphql-operation-def"},{include:"#literal-quasi-embedded"}]},"graphql-ampersand":{captures:{"1":{name:"keyword.operator.logical.graphql"}},match:/\p{space}*(&)/dgv},"graphql-arguments":{begin:/\p{space}*(\()/dgv,beginCaptures:{"1":{name:"meta.brace.round.directive.graphql"}},end:/\p{space}*(\))/dgv,endCaptures:{"1":{name:"meta.brace.round.directive.graphql"}},name:"meta.arguments.graphql",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{begin:/\p{space}*([A-Z_a-z][0-9A-Z_a-z]*)\p{space}*(:)/dgv,beginCaptures:{"1":{name:"variable.parameter.graphql"},"2":{name:"punctuation.colon.graphql"}},end:/(?=\p{space}*(?:([A-Z_a-z][0-9A-Z_a-z]*)\p{space}*(:)|\)))|\p{space}*(,)/dgv,endCaptures:{"3":{name:"punctuation.comma.graphql"}},patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-directive"},{include:"#graphql-value"},{include:"#graphql-skip-newlines"}]},{include:"#literal-quasi-embedded"}]},"graphql-boolean-value":{captures:{"1":{name:"constant.language.boolean.graphql"}},match:/\p{space}*\b(true|false)\b/dgv},"graphql-colon":{captures:{"1":{name:"punctuation.colon.graphql"}},match:/\p{space}*(:)/dgv},"graphql-comma":{captures:{"1":{name:"punctuation.comma.graphql"}},match:/\p{space}*(,)/dgv},"graphql-comment":{patterns:[{captures:{"1":{name:"punctuation.whitespace.comment.leading.graphql"}},match:/(\p{space}*)(#)[^\n]*/dgv,name:"comment.line.graphql.js"},{begin:/(""")/dgv,beginCaptures:{"1":{name:"punctuation.whitespace.comment.leading.graphql"}},end:/(""")/dgv,name:"comment.line.graphql.js"},{begin:/(")/dgv,beginCaptures:{"1":{name:"punctuation.whitespace.comment.leading.graphql"}},end:/(")/dgv,name:"comment.line.graphql.js"}]},"graphql-description-docstring":{begin:/"""/dgv,end:/"""/dgv,name:"comment.block.graphql"},"graphql-description-singleline":{match:/#(?=([^"]*"[^"]*")*[^"]*(?=\n?$))[^\n]*(?=\n?$)/dgv,name:"comment.line.number-sign.graphql"},"graphql-directive":{applyEndPatternLast:1,begin:/\p{space}*((@)\p{space}*([A-Z_a-z][0-9A-Z_a-z]*))/dgv,beginCaptures:{"1":{name:"entity.name.function.directive.graphql"}},end:/(?=[^\n])/dgv,patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-arguments"},{include:"#literal-quasi-embedded"},{include:"#graphql-skip-newlines"}]},"graphql-directive-definition":{applyEndPatternLast:1,begin:/\p{space}*\b(directive)\b\p{space}*(@[A-Z_a-z][0-9A-Z_a-z]*)/dgv,beginCaptures:{"1":{name:"keyword.directive.graphql"},"2":{name:"entity.name.function.directive.graphql"},"3":{name:"keyword.on.graphql"},"4":{name:"support.type.graphql"}},end:/(?=[^\n])/dgv,patterns:[{include:"#graphql-variable-definitions"},{applyEndPatternLast:1,begin:/\p{space}*\b(on)\b\p{space}*([A-Z_a-z]*)/dgv,beginCaptures:{"1":{name:"keyword.on.graphql"},"2":{name:"support.type.location.graphql"}},end:/(?=[^\n])/dgv,patterns:[{include:"#graphql-skip-newlines"},{include:"#graphql-comment"},{include:"#literal-quasi-embedded"},{captures:{"2":{name:"support.type.location.graphql"}},match:/\p{space}*(\|)\p{space}*([A-Z_a-z]*)/dgv}]},{include:"#graphql-skip-newlines"},{include:"#graphql-comment"},{include:"#literal-quasi-embedded"}]},"graphql-enum":{begin:new r("(?:(?=(\\p{space}*))\\1)\\b(enum)\\b\\p{space}*([A-Z_a-z][0-9A-Z_a-z]*)","dgv",{hiddenCaptures:[1]}),beginCaptures:{"1":{name:"keyword.enum.graphql"},"2":{name:"support.type.enum.graphql"}},end:/(?<=\})/dgv,name:"meta.enum.graphql",patterns:[{begin:/\p{space}*(\{)/dgv,beginCaptures:{"1":{name:"punctuation.operation.graphql"}},end:/\p{space}*(\})/dgv,endCaptures:{"1":{name:"punctuation.operation.graphql"}},name:"meta.type.object.graphql",patterns:[{include:"#graphql-object-type"},{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-directive"},{include:"#graphql-enum-value"},{include:"#literal-quasi-embedded"}]},{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-directive"}]},"graphql-enum-value":{match:/\p{space}*(?!=\b(true|false|null)\b)([A-Z_a-z][0-9A-Z_a-z]*)/dgv,name:"constant.character.enum.graphql"},"graphql-field":{patterns:[{captures:{"1":{name:"string.unquoted.alias.graphql"},"2":{name:"punctuation.colon.graphql"}},match:/\p{space}*([A-Z_a-z][0-9A-Z_a-z]*)\p{space}*(:)/dgv},{captures:{"1":{name:"variable.graphql"}},match:/\p{space}*([A-Z_a-z][0-9A-Z_a-z]*)/dgv},{include:"#graphql-arguments"},{include:"#graphql-directive"},{include:"#graphql-selection-set"},{include:"#literal-quasi-embedded"},{include:"#graphql-skip-newlines"}]},"graphql-float-value":{captures:{"1":{name:"constant.numeric.float.graphql"}},match:/\p{space}*(-?(0|[1-9][0-9]*)(\.[0-9]+)?(([Ee])([\-\+])?[0-9]+)?)/dgv},"graphql-fragment-definition":{begin:/\p{space}*\b(fragment)\b\p{space}*([A-Z_a-z][0-9A-Z_a-z]*)?\p{space}*\b(on)\b\p{space}*([A-Z_a-z][0-9A-Z_a-z]*)/dgv,captures:{"1":{name:"keyword.fragment.graphql"},"2":{name:"entity.name.fragment.graphql"},"3":{name:"keyword.on.graphql"},"4":{name:"support.type.graphql"}},end:/(?<=\})/dgv,name:"meta.fragment.graphql",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-selection-set"},{include:"#graphql-directive"},{include:"#graphql-skip-newlines"},{include:"#literal-quasi-embedded"}]},"graphql-fragment-spread":{applyEndPatternLast:1,begin:/\p{space}*(\.\.\.)\p{space}*(?!\bon\b)([A-Z_a-z][0-9A-Z_a-z]*)/dgv,captures:{"1":{name:"keyword.operator.spread.graphql"},"2":{name:"variable.fragment.graphql"}},end:/(?=[^\n])/dgv,patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-selection-set"},{include:"#graphql-directive"},{include:"#literal-quasi-embedded"},{include:"#graphql-skip-newlines"}]},"graphql-ignore-spaces":{match:/\p{space}*/dgv},"graphql-inline-fragment":{applyEndPatternLast:1,begin:/\p{space}*(\.\.\.)\p{space}*(?:\b(on)\b\p{space}*([A-Z_a-z][0-9A-Z_a-z]*))?/dgv,captures:{"1":{name:"keyword.operator.spread.graphql"},"2":{name:"keyword.on.graphql"},"3":{name:"support.type.graphql"}},end:/(?=[^\n])/dgv,patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-selection-set"},{include:"#graphql-directive"},{include:"#graphql-skip-newlines"},{include:"#literal-quasi-embedded"}]},"graphql-input-types":{patterns:[{include:"#graphql-scalar-type"},{captures:{"1":{name:"support.type.graphql"},"2":{name:"keyword.operator.nulltype.graphql"}},match:/\p{space}*([A-Z_a-z][0-9A-Z_a-z]*)(?:\p{space}*(!))?/dgv},{begin:/\p{space}*(\[)/dgv,captures:{"1":{name:"meta.brace.square.graphql"},"2":{name:"keyword.operator.nulltype.graphql"}},end:/\p{space}*(\])(?:\p{space}*(!))?/dgv,name:"meta.type.list.graphql",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-input-types"},{include:"#graphql-comma"},{include:"#literal-quasi-embedded"}]}]},"graphql-list-value":{patterns:[{begin:new r("(?:(?=(\\p{space}*))\\1)(\\[)","dgv",{hiddenCaptures:[1]}),beginCaptures:{"1":{name:"meta.brace.square.graphql"}},end:/\p{space}*(\])/dgv,endCaptures:{"1":{name:"meta.brace.square.graphql"}},name:"meta.listvalues.graphql",patterns:[{include:"#graphql-value"}]}]},"graphql-name":{captures:{"1":{name:"entity.name.function.graphql"}},match:/\p{space}*([A-Z_a-z][0-9A-Z_a-z]*)/dgv},"graphql-null-value":{captures:{"1":{name:"constant.language.null.graphql"}},match:/\p{space}*\b(null)\b/dgv},"graphql-object-field":{captures:{"1":{name:"constant.object.key.graphql"},"2":{name:"string.unquoted.graphql"},"3":{name:"punctuation.graphql"}},match:/\p{space}*(([A-Z_a-z][0-9A-Z_a-z]*))\p{space}*(:)/dgv},"graphql-object-value":{patterns:[{begin:new r("(?:(?=(\\p{space}*))\\1)(\\{)","dgv",{hiddenCaptures:[1]}),beginCaptures:{"1":{name:"meta.brace.curly.graphql"}},end:/\p{space}*(\})/dgv,endCaptures:{"1":{name:"meta.brace.curly.graphql"}},name:"meta.objectvalues.graphql",patterns:[{include:"#graphql-object-field"},{include:"#graphql-value"}]}]},"graphql-operation-def":{patterns:[{include:"#graphql-query-mutation"},{include:"#graphql-name"},{include:"#graphql-variable-definitions"},{include:"#graphql-directive"},{include:"#graphql-selection-set"}]},"graphql-query-mutation":{captures:{"1":{name:"keyword.operation.graphql"}},match:/\p{space}*\b(query|mutation)\b/dgv},"graphql-scalar":{captures:{"1":{name:"keyword.scalar.graphql"},"2":{name:"entity.scalar.graphql"}},match:/\p{space}*\b(scalar)\b\p{space}*([A-Z_a-z][0-9A-Z_a-z]*)/dgv},"graphql-scalar-type":{captures:{"1":{name:"support.type.builtin.graphql"},"2":{name:"keyword.operator.nulltype.graphql"}},match:/\p{space}*\b(Int|Float|String|Boolean|ID)\b(?:\p{space}*(!))?/dgv},"graphql-schema":{begin:/\p{space}*\b(schema)\b/dgv,beginCaptures:{"1":{name:"keyword.schema.graphql"}},end:/(?<=\})/dgv,patterns:[{begin:/\p{space}*(\{)/dgv,beginCaptures:{"1":{name:"punctuation.operation.graphql"}},end:/\p{space}*(\})/dgv,endCaptures:{"1":{name:"punctuation.operation.graphql"}},patterns:[{begin:/\p{space}*([A-Z_a-z][0-9A-Z_a-z]*)(?=\p{space}*\(|:)/dgv,beginCaptures:{"1":{name:"variable.arguments.graphql"}},end:/(?=\p{space}*(([A-Z_a-z][0-9A-Z_a-z]*)\p{space}*([\(\:])|(\})))|\p{space}*(,)/dgv,endCaptures:{"5":{name:"punctuation.comma.graphql"}},patterns:[{captures:{"1":{name:"support.type.graphql"}},match:/\p{space}*([A-Z_a-z][0-9A-Z_a-z]*)/dgv},{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-colon"},{include:"#graphql-skip-newlines"}]},{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-skip-newlines"}]},{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-directive"},{include:"#graphql-skip-newlines"}]},"graphql-selection-set":{begin:/\p{space}*(\{)/dgv,beginCaptures:{"1":{name:"punctuation.operation.graphql"}},end:/\p{space}*(\})/dgv,endCaptures:{"1":{name:"punctuation.operation.graphql"}},name:"meta.selectionset.graphql",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-field"},{include:"#graphql-fragment-spread"},{include:"#graphql-inline-fragment"},{include:"#graphql-comma"},{include:"#native-interpolation"},{include:"#literal-quasi-embedded"}]},"graphql-skip-newlines":{match:/\p{space}*\n/dgv},"graphql-string-content":{patterns:[{match:/\\["'\/\\bfnrt]/dgv,name:"constant.character.escape.graphql"},{match:/\\u(\p{AHex}{4})/dgv,name:"constant.character.escape.graphql"}]},"graphql-string-value":{begin:new r('(?:(?=(\\p{space}*))\\1)(("))',"dgv",{hiddenCaptures:[1]}),beginCaptures:{"1":{name:"string.quoted.double.graphql"},"2":{name:"punctuation.definition.string.begin.graphql"}},contentName:"string.quoted.double.graphql",end:new r('(?:(?=(\\p{space}*))\\1)(?:(("))|(\\n))',"dgv",{hiddenCaptures:[1]}),endCaptures:{"1":{name:"string.quoted.double.graphql"},"2":{name:"punctuation.definition.string.end.graphql"},"3":{name:"invalid.illegal.newline.graphql"}},patterns:[{include:"#graphql-string-content"},{include:"#literal-quasi-embedded"}]},"graphql-type-definition":{begin:/\p{space}*([A-Z_a-z][0-9A-Z_a-z]*)(?=\p{space}*\(|:)/dgv,beginCaptures:{"1":{name:"variable.graphql"}},end:/(?=\p{space}*(([A-Z_a-z][0-9A-Z_a-z]*)\p{space}*([\(\:])|(\})))|\p{space}*(,)/dgv,endCaptures:{"5":{name:"punctuation.comma.graphql"}},patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-directive"},{include:"#graphql-variable-definitions"},{include:"#graphql-type-object"},{include:"#graphql-colon"},{include:"#graphql-input-types"},{include:"#literal-quasi-embedded"}]},"graphql-type-interface":{applyEndPatternLast:1,begin:/\p{space}*\b(?:(extends?)?\b\p{space}*\b(type)|(interface)|(input))\b\p{space}*([A-Z_a-z][0-9A-Z_a-z]*)?/dgv,captures:{"1":{name:"keyword.type.graphql"},"2":{name:"keyword.type.graphql"},"3":{name:"keyword.interface.graphql"},"4":{name:"keyword.input.graphql"},"5":{name:"support.type.graphql"}},end:/(?=[^\n])/dgv,name:"meta.type.interface.graphql",patterns:[{begin:/\p{space}*\b(implements)\b\p{space}*/dgv,beginCaptures:{"1":{name:"keyword.implements.graphql"}},end:/\p{space}*(?=\{)/dgv,patterns:[{captures:{"1":{name:"support.type.graphql"}},match:/\p{space}*([A-Z_a-z][0-9A-Z_a-z]*)/dgv},{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-directive"},{include:"#graphql-ampersand"},{include:"#graphql-comma"}]},{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-directive"},{include:"#graphql-type-object"},{include:"#literal-quasi-embedded"},{include:"#graphql-ignore-spaces"}]},"graphql-type-object":{begin:/\p{space}*(\{)/dgv,beginCaptures:{"1":{name:"punctuation.operation.graphql"}},end:/\p{space}*(\})/dgv,endCaptures:{"1":{name:"punctuation.operation.graphql"}},name:"meta.type.object.graphql",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-object-type"},{include:"#graphql-type-definition"},{include:"#literal-quasi-embedded"}]},"graphql-union":{applyEndPatternLast:1,begin:/\p{space}*\b(union)\b\p{space}*([A-Z_a-z][0-9A-Z_a-z]*)/dgv,captures:{"1":{name:"keyword.union.graphql"},"2":{name:"support.type.graphql"}},end:/(?=[^\n])/dgv,patterns:[{applyEndPatternLast:1,begin:/\p{space}*(=)\p{space}*([A-Z_a-z][0-9A-Z_a-z]*)/dgv,captures:{"1":{name:"punctuation.assignment.graphql"},"2":{name:"support.type.graphql"}},end:/(?=[^\n])/dgv,patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-skip-newlines"},{include:"#literal-quasi-embedded"},{captures:{"1":{name:"punctuation.or.graphql"},"2":{name:"support.type.graphql"}},match:/\p{space}*(\|)\p{space}*([A-Z_a-z][0-9A-Z_a-z]*)/dgv}]},{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-skip-newlines"},{include:"#literal-quasi-embedded"}]},"graphql-union-mark":{captures:{"1":{name:"punctuation.union.graphql"}},match:/\p{space}*(\|)/dgv},"graphql-value":{patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-variable-name"},{include:"#graphql-float-value"},{include:"#graphql-string-value"},{include:"#graphql-boolean-value"},{include:"#graphql-null-value"},{include:"#graphql-enum-value"},{include:"#graphql-list-value"},{include:"#graphql-object-value"},{include:"#literal-quasi-embedded"}]},"graphql-variable-assignment":{applyEndPatternLast:1,begin:/\p{space}(=)/dgv,beginCaptures:{"1":{name:"punctuation.assignment.graphql"}},end:/(?=[\n\)\,])/dgv,patterns:[{include:"#graphql-value"}]},"graphql-variable-definition":{begin:/\p{space}*(\$?[A-Z_a-z][0-9A-Z_a-z]*)(?=\p{space}*\(|:)/dgv,beginCaptures:{"1":{name:"variable.parameter.graphql"}},end:/(?=\p{space}*((\$?[A-Z_a-z][0-9A-Z_a-z]*)\p{space}*([\(\:])|([\)\}])))|\p{space}*(,)/dgv,endCaptures:{"5":{name:"punctuation.comma.graphql"}},name:"meta.variables.graphql",patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-directive"},{include:"#graphql-colon"},{include:"#graphql-input-types"},{include:"#graphql-variable-assignment"},{include:"#literal-quasi-embedded"},{include:"#graphql-skip-newlines"}]},"graphql-variable-definitions":{begin:/\p{space}*(\()/dgv,captures:{"1":{name:"meta.brace.round.graphql"}},end:/\p{space}*(\))/dgv,patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-variable-definition"},{include:"#literal-quasi-embedded"}]},"graphql-variable-name":{captures:{"1":{name:"variable.graphql"}},match:/\p{space}*(\$[A-Z_a-z][0-9A-Z_a-z]*)/dgv},"native-interpolation":{begin:/\p{space}*(\$\{)/dgv,beginCaptures:{"1":{name:"keyword.other.substitution.begin"}},end:/(\})/dgv,endCaptures:{"1":{name:"keyword.other.substitution.end"}},name:"native.interpolation",patterns:[{include:"source.js"},{include:"source.ts"},{include:"source.js.jsx"},{include:"source.tsx"}]}},scopeName:"source.graphql",embeddedLangs:["javascript","typescript","jsx","tsx"],aliases:["gql"]}),n=[...on,...Ls,...Ts,...Ns,p];var i=Object.freeze({displayName:"Lua",name:"lua",patterns:[{begin:/\b(?:(local)\p{space}+)?(function)\b(?![\,\:])/dgv,beginCaptures:{"1":{name:"keyword.local.lua"},"2":{name:"keyword.control.lua"}},end:/(?<=[\-\]"'\)\[\{\}])/dgv,name:"meta.function.lua",patterns:[{include:"#comment"},{begin:/(\()/dgv,beginCaptures:{"1":{name:"punctuation.definition.parameters.begin.lua"}},end:/(\))|(?=[\-\]"'\[\{\}])|(?<!\.)\.(?!\.)/dgv,endCaptures:{"1":{name:"punctuation.definition.parameters.finish.lua"}},name:"meta.parameter.lua",patterns:[{include:"#comment"},{captures:{"1":{name:"constant.language.lua"},"2":{name:"variable.parameter.function.lua"}},match:/(\.{3})\p{space}*([A-Z_a-z][0-9A-Z_a-z]*)/dgv},{match:/[A-Z_a-z][0-9A-Z_a-z]*/dgv,name:"variable.parameter.function.lua"},{match:/,/dgv,name:"punctuation.separator.arguments.lua"},{begin:/:/dgv,beginCaptures:{"0":{name:"punctuation.separator.arguments.lua"}},end:/(?=[\)\,])/dgv,patterns:[{include:"#emmydoc.type"}]}]},{match:/\b([A-Z_a-z][0-9A-Z_a-z]*)\b\p{space}*(?=:)/dgv,name:"entity.name.class.lua"},{match:/\b([A-Z_a-z][0-9A-Z_a-z]*)\b/dgv,name:"entity.name.function.lua"}]},{match:/(?<![\.\p{L}\p{M}\p{N}\p{Pc}\p{Nd}])0[Xx]\p{AHex}+(\.\p{AHex}*)?([Ee]-?\p{Nd}*)?([Pp][\-\+]\p{Nd}+)?/dgv,name:"constant.numeric.float.hexadecimal.lua"},{match:/(?<![\.\p{L}\p{M}\p{N}\p{Pc}\p{Nd}])0[Xx]\.\p{AHex}+([Ee]-?\p{Nd}*)?([Pp][\-\+]\p{Nd}+)?/dgv,name:"constant.numeric.float.hexadecimal.lua"},{match:/(?<![\.\p{L}\p{M}\p{N}\p{Pc}\p{Nd}])0[Xx]\p{AHex}+(?![\.0-9EPep])/dgv,name:"constant.numeric.integer.hexadecimal.lua"},{match:/(?<![\.\p{L}\p{M}\p{N}\p{Pc}\p{Nd}])\p{Nd}+(\.\p{Nd}*)?([Ee]-?\p{Nd}*)?/dgv,name:"constant.numeric.float.lua"},{match:/(?<![\.\p{L}\p{M}\p{N}\p{Pc}\p{Nd}])\.\p{Nd}+([Ee]-?\p{Nd}*)?/dgv,name:"constant.numeric.float.lua"},{match:/(?<![\.\p{L}\p{M}\p{N}\p{Pc}\p{Nd}])\p{Nd}+(?![\.0-9EPep])/dgv,name:"constant.numeric.integer.lua"},{include:"#string"},{captures:{"1":{name:"punctuation.definition.comment.lua"}},match:/^(#!)[^\n]*(?=\n?$)\n?/dgv,name:"comment.line.shebang.lua"},{include:"#comment"},{captures:{"1":{name:"keyword.control.goto.lua"},"2":{name:"string.tag.lua"}},match:/\b(goto)\p{space}+([A-Z_a-z][0-9A-Z_a-z]*)/dgv},{captures:{"1":{name:"punctuation.section.embedded.begin.lua"},"2":{name:"punctuation.section.embedded.end.lua"}},match:/(::)\p{space}*[A-Z_a-z][0-9A-Z_a-z]*\p{space}*(::)/dgv,name:"string.tag.lua"},{captures:{"0":{name:"storage.type.attribute.lua"}},match:/<\p{space}*(c(?:onst|lose))\p{space}*>/dgv},{match:/<[\*A-Z_a-z][\-\*\.0-9A-Z_a-z]*>/dgv,name:"storage.type.generic.lua"},{match:/\b(break|do|else|for|if|elseif|goto|return|then|repeat|while|until|end|in)\b/dgv,name:"keyword.control.lua"},{match:/\b(local)\b/dgv,name:"keyword.local.lua"},{captures:{"1":{name:"keyword.global.lua"}},match:/^\p{space}*(global)\b(?!\p{space}*=)/dgv},{match:/\b(function)\b(?![\,\:])/dgv,name:"keyword.control.lua"},{match:/(?<![^\.]\.|:)\b(false|nil(?!:)|true|_ENV|_G|_VERSION|math\.(pi|huge|maxinteger|mininteger)|utf8\.charpattern|io\.(std(?:in|out|err))|package\.(config|cpath|loaded|loaders|path|preload|searchers))\b|(?<!\.)\.{3}(?!\.)/dgv,name:"constant.language.lua"},{match:/(?<![^\.]\.|:)\b(self)\b/dgv,name:"variable.language.self.lua"},{match:/(?<![^\.]\.|:)\b(assert|collectgarbage|dofile|error|getfenv|getmetatable|ipairs|load|loadfile|loadstring|module|next|pairs|pcall|print|rawequal|rawget|rawlen|rawset|require|select|setfenv|setmetatable|tonumber|tostring|type|unpack|xpcall)\b(?!\p{space}*=(?!=))/dgv,name:"support.function.lua"},{match:/(?<![^\.]\.|:)\b(async)\b(?!\p{space}*=(?!=))/dgv,name:"entity.name.tag.lua"},{match:/(?<![^\.]\.|:)\b(coroutine\.(create|isyieldable|close|resume|running|status|wrap|yield)|string\.(byte|char|dump|find|format|gmatch|gsub|len|lower|match|pack|packsize|rep|reverse|sub|unpack|upper)|table\.(concat|create|insert|maxn|move|pack|remove|sort|unpack)|math\.(abs|acos|asin|atan2?|ceil|cosh?|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pow|rad|random|randomseed|sinh?|sqrt|tanh?|tointeger|type)|io\.(close|flush|input|lines|open|output|popen|read|tmpfile|type|write)|os\.(clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(loadlib|seeall|searchpath)|debug\.(debug|[gs]etfenv|[gs]ethook|getinfo|[gs]etlocal|[gs]etmetatable|getregistry|[gs]etupvalue|[gs]etuservalue|set[Cc]stacklimit|traceback|upvalueid|upvaluejoin)|bit32\.(arshift|band|bnot|bor|btest|bxor|extract|replace|lrotate|lshift|rrotate|rshift)|utf8\.(char|codes|codepoint|len|offset))\b(?!\p{space}*=(?!=))/dgv,name:"support.function.library.lua"},{match:/\b(\|\||&&|!)\b/dgv,name:"keyword.operator.lua"},{match:/\b(and|or|not)\b/dgv,name:"keyword.operator.logical.lua"},{match:/\b([A-Z_a-z][0-9A-Z_a-z]*)\b(?=\p{space}*(?:["'\(\{]|\[\[))/dgv,name:"support.function.any-method.lua"},{match:/\b([A-Z_a-z][0-9A-Z_a-z]*)\b(?=\p{space}*\??:)/dgv,name:"entity.name.class.lua"},{match:/(?<=[^\.]\.|:)\b([A-Z_a-z][0-9A-Z_a-z]*)\b(?!\p{space}*=\p{space}*\b(function)\b)/dgv,name:"entity.other.attribute.lua"},{match:/\b([A-Z_a-z][0-9A-Z_a-z]*)\b(?!\p{space}*=\p{space}*\b(function)\b)/dgv,name:"variable.other.lua"},{match:/\b([A-Z_a-z][0-9A-Z_a-z]*)\b(?=\p{space}*=\p{space}*\b(function)\b)/dgv,name:"entity.name.function.lua"},{match:/[\-\#\%\*\+\/\^]|==?|~=|!=|<=?|>=?|(?<!\.)\.{2}(?!\.)/dgv,name:"keyword.operator.lua"}],repository:{comment:{patterns:[{begin:/(^[\t ]+)?(?=--)/dgv,beginCaptures:{"1":{name:"punctuation.whitespace.comment.leading.lua"}},end:new r("(?!^)((?!^)[\\t ]+\\n)?","dgv",{strategy:"clip_search"}),endCaptures:{"1":{name:"punctuation.whitespace.comment.trailing.lua"}},patterns:[{begin:/--\[(=*)\[@@@/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.begin.lua"}},end:/(--)?\]\1\]/dgv,endCaptures:{"0":{name:"punctuation.definition.comment.end.lua"}},name:"",patterns:[{include:"source.lua"}]},{begin:/--\[(=*)\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.begin.lua"}},end:/(--)?\]\1\]/dgv,endCaptures:{"0":{name:"punctuation.definition.comment.end.lua"}},name:"comment.block.lua",patterns:[{include:"#emmydoc"},{include:"#ldoc_tag"}]},{begin:/----/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.lua"}},end:/\n/dgv,name:"comment.line.double-dash.lua"},{begin:/---/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.lua"}},end:/\n/dgv,name:"comment.line.double-dash.documentation.lua",patterns:[{include:"#emmydoc"},{include:"#ldoc_tag"}]},{begin:/--/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.lua"}},end:/\n/dgv,name:"comment.line.double-dash.lua",patterns:[{include:"#ldoc_tag"}]}]},{begin:/\/\*/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.begin.lua"}},end:/\*\//dgv,endCaptures:{"0":{name:"punctuation.definition.comment.end.lua"}},name:"comment.block.lua",patterns:[{include:"#emmydoc"},{include:"#ldoc_tag"}]}]},emmydoc:{patterns:[{begin:/(?<=---)[\t ]*@class/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\#\@])/dgv,patterns:[{match:/\b([\*A-Z_a-z][\-\*\.0-9A-Z_a-z]*)/dgv,name:"support.class.lua"},{match:/[\,\:]/dgv,name:"keyword.operator.lua"}]},{begin:/(?<=---)[\t ]*@enum/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\#\@])/dgv,patterns:[{begin:/\b([\*A-Z_a-z][\-\*\.0-9A-Z_a-z]*)/dgv,beginCaptures:{"0":{name:"variable.lua"}},end:/(?=\n)/dgv}]},{begin:/(?<=---)[\t ]*@type/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\#\@])/dgv,patterns:[{include:"#emmydoc.type"}]},{begin:/(?<=---)[\t ]*@alias/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\#\@])/dgv,patterns:[{begin:/\b([\*A-Z_a-z][\-\*\.0-9A-Z_a-z]*)/dgv,beginCaptures:{"0":{name:"variable.lua"}},end:/(?=[\n\#])/dgv,patterns:[{include:"#emmydoc.type"}]}]},{begin:/(?<=---)[\t ]*(@operator)\p{space}*(\b[a-z]+)?/dgv,beginCaptures:{"1":{name:"storage.type.annotation.lua"},"2":{name:"support.function.library.lua"}},end:/(?=[\n\#\@])/dgv,patterns:[{include:"#emmydoc.type"}]},{begin:/(?<=---)[\t ]*@cast/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\#\@])/dgv,patterns:[{begin:/\b([\*A-Z_a-z][\-\*\.0-9A-Z_a-z]*)/dgv,beginCaptures:{"0":{name:"variable.other.lua"}},end:/(?=\n)/dgv,patterns:[{include:"#emmydoc.type"},{match:/([\+-\|])/dgv,name:"keyword.operator.lua"}]}]},{begin:/(?<=---)[\t ]*@param/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\#\@])/dgv,patterns:[{begin:/\b([A-Z_a-z][0-9A-Z_a-z]*)\b(\??)/dgv,beginCaptures:{"1":{name:"entity.name.variable.lua"},"2":{name:"keyword.operator.lua"}},end:/(?=[\n\#])/dgv,patterns:[{include:"#emmydoc.type"}]}]},{begin:/(?<=---)[\t ]*@return/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\#\@])/dgv,patterns:[{match:/\?/dgv,name:"keyword.operator.lua"},{include:"#emmydoc.type"}]},{begin:/(?<=---)[\t ]*@field/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\#\@])/dgv,patterns:[{begin:/(\b([A-Z_a-z][0-9A-Z_a-z]*)\b|(\[))(\??)/dgv,beginCaptures:{"2":{name:"entity.name.variable.lua"},"3":{name:"keyword.operator.lua"}},end:/(?=[\n\#])/dgv,patterns:[{include:"#string"},{include:"#emmydoc.type"},{match:/\]/dgv,name:"keyword.operator.lua"}]}]},{begin:/(?<=---)[\t ]*@generic/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\#\@])/dgv,patterns:[{begin:/\b([A-Z_a-z][0-9A-Z_a-z]*)\b/dgv,beginCaptures:{"0":{name:"storage.type.generic.lua"}},end:/(?=\n)|(,)/dgv,endCaptures:{"0":{name:"keyword.operator.lua"}},patterns:[{match:/:/dgv,name:"keyword.operator.lua"},{include:"#emmydoc.type"}]}]},{begin:/(?<=---)[\t ]*@vararg/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\#\@])/dgv,patterns:[{include:"#emmydoc.type"}]},{begin:/(?<=---)[\t ]*@overload/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\#\@])/dgv,patterns:[{include:"#emmydoc.type"}]},{begin:/(?<=---)[\t ]*@deprecated/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\#\@])/dgv},{begin:/(?<=---)[\t ]*@meta/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\#\@])/dgv},{begin:/(?<=---)[\t ]*@private/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\#\@])/dgv},{begin:/(?<=---)[\t ]*@protected/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\#\@])/dgv},{begin:/(?<=---)[\t ]*@package/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\#\@])/dgv},{begin:/(?<=---)[\t ]*@version/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\#\@])/dgv,patterns:[{match:/\b(5\.1|5\.2|5\.3|5\.4|JIT)\b/dgv,name:"support.class.lua"},{match:/[\,\<\>]/dgv,name:"keyword.operator.lua"}]},{begin:/(?<=---)[\t ]*@see/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\#\@])/dgv,patterns:[{match:/\b([\*A-Z_a-z][\-\*\.0-9A-Z_a-z]*)/dgv,name:"support.class.lua"},{match:/#/dgv,name:"keyword.operator.lua"}]},{begin:/(?<=---)[\t ]*@diagnostic/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\#\@])/dgv,patterns:[{begin:/([\-0-9A-Z_a-z]+)[\t ]*(:)?/dgv,beginCaptures:{"1":{name:"keyword.other.unit"},"2":{name:"keyword.operator.unit"}},end:/(?=\n)/dgv,patterns:[{match:/\b([\*A-Z_a-z][\-0-9A-Z_a-z]*)/dgv,name:"support.class.lua"},{match:/,/dgv,name:"keyword.operator.lua"}]}]},{begin:/(?<=---)[\t ]*@module/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\#\@])/dgv,patterns:[{include:"#string"}]},{match:/(?<=---)[\t ]*@(async|nodiscard)/dgv,name:"storage.type.annotation.lua"},{begin:/(?<=---)\|\p{space}*[\+\>]?/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\#\@])/dgv,patterns:[{include:"#string"}]}]},"emmydoc.type":{patterns:[{begin:/\bfun\b/dgv,beginCaptures:{"0":{name:"keyword.control.lua"}},end:/(?=[\#\p{space}])/dgv,patterns:[{match:/[\]\(\)\,\:\<\>\?\[][\t ]*/dgv,name:"keyword.operator.lua"},{match:/([A-Z_a-z][\-\*\.0-9A-Z_a-z]*)(?<!,)[\t ]*(?=\??:)/dgv,name:"entity.name.variable.lua"},{include:"#emmydoc.type"},{include:"#string"}]},{match:/<[\*A-Z_a-z][\-\*\.0-9A-Z_a-z]*>/dgv,name:"storage.type.generic.lua"},{match:/\basync\b/dgv,name:"entity.name.tag.lua"},{match:/[\,\:\?\`\{\|\}][\t ]*/dgv,name:"keyword.operator.lua"},{begin:/(?=["'\*\.A-\[_a-z])/dgv,end:/(?=[\#\)\,\:\?\|\}\p{space}])/dgv,patterns:[{match:/([\-\]\*\,\.0-9\<\>A-\[_a-z]+)(?<!,)[\t ]*/dgv,name:"support.type.lua"},{match:/(\.\.\.)[\t ]*/dgv,name:"constant.language.lua"},{include:"#string"}]}]},escaped_char:{patterns:[{match:/\\[\n"'\\abfnrtv]/dgv,name:"constant.character.escape.lua"},{match:/\\z[\t\n ]*/dgv,name:"constant.character.escape.lua"},{match:/\\\p{Nd}{1,3}/dgv,name:"constant.character.escape.byte.lua"},{match:/\\x\p{AHex}\p{AHex}/dgv,name:"constant.character.escape.byte.lua"},{match:/\\u\{\p{AHex}+\}/dgv,name:"constant.character.escape.unicode.lua"},{match:/\\[^\n]/dgv,name:"invalid.illegal.character.escape.lua"}]},ldoc_tag:{captures:{"1":{name:"punctuation.definition.block.tag.ldoc"},"2":{name:"storage.type.class.ldoc"}},match:/[\t ]*(@)(alias|annotation|author|charset|class|classmod|comment|constructor|copyright|description|example|export|factory|field|file|fixme|function|include|lfunction|license|local|module|name|param|pragma|private|raise|release|return|script|section|see|set|static|submodule|summary|tfield|thread|tparam|treturn|todo|topic|type|usage|warning|within)\b/dgvy},string:{patterns:[{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.lua"}},end:/'[\t ]*|(?=\n)/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.lua"}},name:"string.quoted.single.lua",patterns:[{include:"#escaped_char"}]},{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.lua"}},end:/"[\t ]*|(?=\n)/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.lua"}},name:"string.quoted.double.lua",patterns:[{include:"#escaped_char"}]},{begin:/`/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.lua"}},end:/`[\t ]*|(?=\n)/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.lua"}},name:"string.quoted.double.lua"},{begin:/(?<=\.cdef)\p{space}*(\[(=*)\[)/dgv,beginCaptures:{"0":{name:"string.quoted.other.multiline.lua"},"1":{name:"punctuation.definition.string.begin.lua"}},contentName:"meta.embedded.lua",end:/(\]\2\])[\t ]*()/dgv,endCaptures:{"0":{name:"string.quoted.other.multiline.lua"},"1":{name:"punctuation.definition.string.end.lua"}},patterns:[{include:"source.c"}]},{begin:/(?<!--)\[(=*)\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.lua"}},end:/\]\1\][\t ]*()/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.lua"}},name:"string.quoted.other.multiline.lua"}]}},scopeName:"source.lua",embeddedLangs:["c"],aliases:void 0}),a=[...Lr,i];var d=Object.freeze({displayName:"Ruby",name:"ruby",patterns:[{captures:{"1":{name:"keyword.control.class.ruby"},"2":{name:"entity.name.type.class.ruby"},"5":{name:"punctuation.separator.namespace.ruby"},"7":{name:"punctuation.separator.inheritance.ruby"},"8":{name:"entity.other.inherited-class.ruby"},"11":{name:"punctuation.separator.namespace.ruby"}},match:/\b(class)\p{space}+(([0-9A-Z_a-z]+)((::)[0-9A-Z_a-z]+)*)\p{space}*((<)\p{space}*(([0-9A-Z_a-z]+)((::)[0-9A-Z_a-z]+)*))?/dgv,name:"meta.class.ruby"},{captures:{"1":{name:"keyword.control.module.ruby"},"2":{name:"entity.name.type.module.ruby"},"5":{name:"punctuation.separator.namespace.ruby"}},match:/\b(module)\p{space}+(([0-9A-Z_a-z]+)((::)[0-9A-Z_a-z]+)*)/dgv,name:"meta.module.ruby"},{captures:{"1":{name:"keyword.control.class.ruby"},"2":{name:"punctuation.separator.inheritance.ruby"}},match:/\b(class)\p{space}*(<<)\p{space}*/dgv,name:"meta.class.ruby"},{match:/(?<!\.)\belse(\p{space})+if\b/dgv,name:"invalid.deprecated.ruby"},{captures:{"1":{name:"variable.ruby"},"2":{name:"keyword.operator.assignment.augmented.ruby"}},match:/^\p{space}*([_a-z][0-9A-Z_a-z]*)\p{space}*((&&|\|\|)=)/dgv},{captures:{"1":{name:"keyword.control.ruby"},"3":{name:"variable.ruby"},"4":{name:"keyword.operator.assignment.augmented.ruby"}},match:/(?<!\.)\b(case|if|elsif|unless|until|while)\b\p{space}*(\()*?\p{space}*([_a-z][0-9A-Z_a-z]*)\p{space}*((&&|\|\|)=)/dgv},{captures:{"1":{name:"variable.ruby"},"2":{name:"keyword.operator.assignment.augmented.ruby"}},match:/^\p{space}*([_a-z][0-9A-Z_a-z]*)\p{space}*(([\-\%\*\+\/]|\*\*|[\&\^\|]|<<|>>)=)/dgv},{captures:{"1":{name:"keyword.control.ruby"},"3":{name:"variable.ruby"},"4":{name:"keyword.operator.assignment.augmented.ruby"}},match:/(?<!\.)\b(case|if|elsif|unless|until|while)\b\p{space}*(\()*?\p{space}*([_a-z][0-9A-Z_a-z]*)\p{space}*(([\-\%\*\+\/]|\*\*|[\&\^\|]|<<|>>)=)/dgv},{captures:{"1":{name:"variable.ruby"}},match:/^\p{space}*([_a-z][0-9A-Z_a-z]*)\p{space}*(?==[^\=\>])/dgv},{captures:{"1":{name:"keyword.control.ruby"},"3":{name:"variable.ruby"}},match:/(?<!\.)\b(case|if|elsif|unless|until|while)\b\p{space}*(\()*?\p{space}*([_a-z][0-9A-Z_a-z]*)\p{space}*=[^\=\>]/dgv},{captures:{"1":{name:"punctuation.definition.constant.hashkey.ruby"}},match:new r("(?:(?=([A-Z_a-z][\\p{L}\\p{M}\\p{N}\\p{Pc}]*[\\!\\?]?))\\1)(:)(?!:)","dgv",{hiddenCaptures:[1]}),name:"constant.language.symbol.hashkey.ruby"},{captures:{"1":{name:"punctuation.definition.constant.ruby"}},match:new r("(?<!:)(:)(?:(?=([A-Z_a-z][\\p{L}\\p{M}\\p{N}\\p{Pc}]*[\\!\\?]?))\\2)(?=\\p{space}*=>)","dgv",{hiddenCaptures:[2]}),name:"constant.language.symbol.hashkey.ruby"},{match:/(?<!\.)\b(BEGIN|begin|case|class|else|elsif|END|end|ensure|for|if|in|module|rescue|then|unless|until|when|while)\b(?![\!\?])/dgv,name:"keyword.control.ruby"},{match:/(?<!\.)\bdo\b/dgv,name:"keyword.control.start-block.ruby"},{match:/(?<=\{)(\p{space}+)/dgv,name:"meta.syntax.ruby.start-block"},{match:/(?<!\.)\b(alias|alias_method|break|next|redo|retry|return|super|undef|yield)\b(?![\!\?])|\bdefined\?|\b(block_given|iterator)\?/dgv,name:"keyword.control.pseudo-method.ruby"},{match:/\bnil\b(?![\!\?])/dgv,name:"constant.language.nil.ruby"},{match:/\b(true|false)\b(?![\!\?])/dgv,name:"constant.language.boolean.ruby"},{match:/\b(__(FILE|LINE)__)\b(?![\!\?])/dgv,name:"variable.language.ruby"},{match:/\bself\b(?![\!\?])/dgv,name:"variable.language.self.ruby"},{match:/\b(initialize|new|loop|include|extend|prepend|raise|fail|attr_reader|attr_writer|attr_accessor|attr|catch|throw|private|private_class_method|module_function|public|public_class_method|protected|refine|using)\b(?![\!\?])/dgv,name:"keyword.other.special-method.ruby"},{begin:/\b(?<!\.|::)(require(?:|_relative))\b(?![\!\?])/dgv,captures:{"1":{name:"keyword.other.special-method.ruby"}},end:/(?=\n?$)|(?=[\#\}])/dgv,name:"meta.require.ruby",patterns:[{include:"$self"}]},{captures:{"1":{name:"punctuation.definition.variable.ruby"}},match:/(@)[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"variable.other.readwrite.instance.ruby"},{captures:{"1":{name:"punctuation.definition.variable.ruby"}},match:/(@@)[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"variable.other.readwrite.class.ruby"},{captures:{"1":{name:"punctuation.definition.variable.ruby"}},match:/(\$)[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"variable.other.readwrite.global.ruby"},{captures:{"1":{name:"punctuation.definition.variable.ruby"}},match:/(\$)([\!\&'\+\@\`]|\p{Nd}+|["\$\*\,\.\/\:-\?\\_\~]|-[0FIadilpv])/dgv,name:"variable.other.readwrite.global.pre-defined.ruby"},{begin:/\b(ENV)\[/dgv,beginCaptures:{"1":{name:"variable.other.constant.ruby"}},end:/\]/dgv,name:"meta.environment-variable.ruby",patterns:[{include:"$self"}]},{match:/\b[A-Z][\p{L}\p{M}\p{N}\p{Pc}]*(?=((\.|::)[A-Za-z]|\[))/dgv,name:"support.class.ruby"},{match:/\b((abort|at_exit|autoload|binding|callcc|caller|caller_locations|chomp|chop|eval|exec|exit|fork|format|gets|global_variables|gsub|lambda|load|local_variables|open|p|printf??|proc|putc|puts|rand|readlines??|select|set_trace_func|sleep|spawn|sprintf|srand|sub|syscall|system|test|trace_var|trap|untrace_var|warn)\b(?![\!\?])|autoload\?|exit!)/dgv,name:"support.function.kernel.ruby"},{match:/\b[A-Z_][\p{L}\p{M}\p{N}\p{Pc}]*\b/dgv,name:"variable.other.constant.ruby"},{begin:/(->)\(/dgv,beginCaptures:{"1":{name:"support.function.kernel.ruby"}},end:/\)/dgv,patterns:[{begin:/(?=[\&\*A-Z_a-z])/dgv,end:/(?=[\)\,])/dgv,patterns:[{include:"#method_parameters"}]},{include:"#method_parameters"}]},{begin:new r("(?=def\\b)(?<=^|\\p{space})(def)\\p{space}+((?:(?=([A-Z_a-z][\\p{L}\\p{M}\\p{N}\\p{Pc}]*(?:(?=(\\.|::))\\4)))\\3)?(?:(?=([A-Z_a-z][\\p{L}\\p{M}\\p{N}\\p{Pc}]*(?:(?=([\\!\\?]|=(?!>)))\\6)?|===?|!=|>[\\=\\>]?|<=>|<[\\<\\=]?|[\\%\\&\\/\\`\\|]|\\*\\*?|=?~|[\\-\\+]@?|\\[\\]=?))\\5))\\p{space}*(\\()","dgv",{hiddenCaptures:[3,4,5,6]}),beginCaptures:{"1":{name:"keyword.control.def.ruby"},"2":{name:"entity.name.function.ruby"},"3":{name:"punctuation.definition.parameters.ruby"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.parameters.ruby"}},name:"meta.function.method.with-arguments.ruby",patterns:[{begin:/(?=[\&\*A-Z_a-z])/dgv,end:/(?=[\)\,])/dgv,patterns:[{include:"#method_parameters"}]},{include:"#method_parameters"}]},{begin:new r("(?=def\\b)(?<=^|\\p{space})(def)\\p{space}+((?:(?=([A-Z_a-z][\\p{L}\\p{M}\\p{N}\\p{Pc}]*(?:(?=(\\.|::))\\4)))\\3)?(?:(?=([A-Z_a-z][\\p{L}\\p{M}\\p{N}\\p{Pc}]*(?:(?=([\\!\\?]|=(?!>)))\\6)?|===?|!=|>[\\=\\>]?|<=>|<[\\<\\=]?|[\\%\\&\\/\\`\\|]|\\*\\*?|=?~|[\\-\\+]@?|\\[\\]=?))\\5))[\\t ](?=[\\t ]*[^\\#\\;\\p{space}])","dgv",{hiddenCaptures:[3,4,5,6]}),beginCaptures:{"1":{name:"keyword.control.def.ruby"},"2":{name:"entity.name.function.ruby"}},end:/(?=;)|(?<=[\]\!"'\)\?\`\}\p{L}\p{M}\p{N}\p{Pc}])(?=\p{space}*#|\p{space}*(?=\n?$))/dgv,name:"meta.function.method.with-arguments.ruby",patterns:[{begin:/(?=[\&\*A-Z_a-z])/dgv,end:/(?=[\,\;]|\p{space}*#|\p{space}*(?=\n?$))/dgv,patterns:[{include:"#method_parameters"}]},{include:"#method_parameters"}]},{captures:{"1":{name:"keyword.control.def.ruby"},"3":{name:"entity.name.function.ruby"}},match:new r("(?=def\\b)(?<=^|\\p{space})(def)\\b(\\p{space}+((?:(?=([A-Z_a-z][\\p{L}\\p{M}\\p{N}\\p{Pc}]*(?:(?=(\\.|::))\\5)))\\4)?(?:(?=([A-Z_a-z][\\p{L}\\p{M}\\p{N}\\p{Pc}]*(?:(?=([\\!\\?]|=(?!>)))\\7)?|===?|!=|>[\\=\\>]?|<=>|<[\\<\\=]?|[\\%\\&\\/\\`\\|]|\\*\\*?|=?~|[\\-\\+]@?|\\[\\]=?))\\6)))?","dgv",{hiddenCaptures:[4,5,6,7]}),name:"meta.function.method.without-arguments.ruby"},{match:new r("\\b(\\p{Nd}(?:(?=(_?\\p{Nd}))\\2)*(\\.(?![^\\p{space}\\p{Nd}])(?:(?=(_?\\p{Nd}))\\4)*)?([Ee][\\-\\+]?\\p{Nd}(?:(?=(_?\\p{Nd}))\\6)*)?|0(?:[Xx]\\p{AHex}(?:(?=(_?\\p{AHex}))\\7)*|[Oo]?[0-7](?:(?=(_?[0-7]))\\8)*|[Bb][01](?:(?=(_?[01]))\\9)*|[Dd]\\p{Nd}(?:(?=(_?\\p{Nd}))\\10)*))\\b","dgv",{hiddenCaptures:[2,4,6,7,8,9,10]}),name:"constant.numeric.ruby"},{begin:/:'/dgv,beginCaptures:{"0":{name:"punctuation.definition.symbol.begin.ruby"}},end:/'/dgv,endCaptures:{"0":{name:"punctuation.definition.symbol.end.ruby"}},name:"constant.language.symbol.ruby",patterns:[{match:/\\['\\]/dgv,name:"constant.character.escape.ruby"}]},{begin:/:"/dgv,beginCaptures:{"0":{name:"punctuation.section.symbol.begin.ruby"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.section.symbol.end.ruby"}},name:"constant.language.symbol.interpolated.ruby",patterns:[{include:"#interpolated_ruby"},{include:"#escaped_char"}]},{match:/(?<!\()\/=/dgv,name:"keyword.operator.assignment.augmented.ruby"},{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.ruby"}},end:/'/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.ruby"}},name:"string.quoted.single.ruby",patterns:[{match:/\\['\\]/dgv,name:"constant.character.escape.ruby"}]},{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.ruby"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.ruby"}},name:"string.quoted.double.interpolated.ruby",patterns:[{include:"#interpolated_ruby"},{include:"#escaped_char"}]},{begin:/(?<!\.)`/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.ruby"}},end:/`/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.ruby"}},name:"string.interpolated.ruby",patterns:[{include:"#interpolated_ruby"},{include:"#escaped_char"}]},{begin:new r("(?<![\\)\\p{L}\\p{M}\\p{N}\\p{Pc}])((/))(?![\\*\\+\\?])(?!\\p{space}*(?=\\n?$))(?=(?:(?=((?:\\\\/|[^\\/])*))\\3)/[eimnosux]*\\p{space}*(?:[\\]\\#\\)\\,\\.\\:\\?\\}]|\\|\\||&&|<=>|=>|==|=~|!~|!=|;|(?=\\n?$)|if|else|elsif|then|do|end|unless|while|until|or|and))","dgv",{hiddenCaptures:[3]}),captures:{"1":{name:"string.regexp.interpolated.ruby"},"2":{name:"punctuation.section.regexp.ruby"}},contentName:"string.regexp.interpolated.ruby",end:/((\/[eimnosux]*))/dgv,patterns:[{include:"#regex_sub"}]},{begin:/%r\{/dgv,beginCaptures:{"0":{name:"punctuation.section.regexp.begin.ruby"}},end:/\}[eimnosux]*/dgv,endCaptures:{"0":{name:"punctuation.section.regexp.end.ruby"}},name:"string.regexp.interpolated.ruby",patterns:[{include:"#regex_sub"},{include:"#nest_curly_r"}]},{begin:/%r\[/dgv,beginCaptures:{"0":{name:"punctuation.section.regexp.begin.ruby"}},end:/\][eimnosux]*/dgv,endCaptures:{"0":{name:"punctuation.section.regexp.end.ruby"}},name:"string.regexp.interpolated.ruby",patterns:[{include:"#regex_sub"},{include:"#nest_brackets_r"}]},{begin:/%r\(/dgv,beginCaptures:{"0":{name:"punctuation.section.regexp.begin.ruby"}},end:/\)[eimnosux]*/dgv,endCaptures:{"0":{name:"punctuation.section.regexp.end.ruby"}},name:"string.regexp.interpolated.ruby",patterns:[{include:"#regex_sub"},{include:"#nest_parens_r"}]},{begin:/%r</dgv,beginCaptures:{"0":{name:"punctuation.section.regexp.begin.ruby"}},end:/>[eimnosux]*/dgv,endCaptures:{"0":{name:"punctuation.section.regexp.end.ruby"}},name:"string.regexp.interpolated.ruby",patterns:[{include:"#regex_sub"},{include:"#nest_ltgt_r"}]},{begin:/%r([^\p{L}\p{M}\p{N}\p{Pc}])/dgv,beginCaptures:{"0":{name:"punctuation.section.regexp.begin.ruby"}},end:/\1[eimnosux]*()/dgv,endCaptures:{"0":{name:"punctuation.section.regexp.end.ruby"}},name:"string.regexp.interpolated.ruby",patterns:[{include:"#regex_sub"}]},{begin:/%I\[/dgv,beginCaptures:{"0":{name:"punctuation.section.array.begin.ruby"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.section.array.end.ruby"}},name:"constant.language.symbol.interpolated.ruby",patterns:[{include:"#interpolated_ruby"},{include:"#escaped_char"},{include:"#nest_brackets_i"}]},{begin:/%I\(/dgv,beginCaptures:{"0":{name:"punctuation.section.array.begin.ruby"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.array.end.ruby"}},name:"constant.language.symbol.interpolated.ruby",patterns:[{include:"#interpolated_ruby"},{include:"#escaped_char"},{include:"#nest_parens_i"}]},{begin:/%I</dgv,beginCaptures:{"0":{name:"punctuation.section.array.begin.ruby"}},end:/>/dgv,endCaptures:{"0":{name:"punctuation.section.array.end.ruby"}},name:"constant.language.symbol.interpolated.ruby",patterns:[{include:"#interpolated_ruby"},{include:"#escaped_char"},{include:"#nest_ltgt_i"}]},{begin:/%I\{/dgv,beginCaptures:{"0":{name:"punctuation.section.array.begin.ruby"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.array.end.ruby"}},name:"constant.language.symbol.interpolated.ruby",patterns:[{include:"#interpolated_ruby"},{include:"#escaped_char"},{include:"#nest_curly_i"}]},{begin:/%I([^\p{L}\p{M}\p{N}\p{Pc}])/dgv,beginCaptures:{"0":{name:"punctuation.section.array.begin.ruby"}},end:/\1()/dgv,endCaptures:{"0":{name:"punctuation.section.array.end.ruby"}},name:"constant.language.symbol.interpolated.ruby",patterns:[{include:"#interpolated_ruby"},{include:"#escaped_char"}]},{begin:/%i\[/dgv,beginCaptures:{"0":{name:"punctuation.section.array.begin.ruby"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.section.array.end.ruby"}},name:"constant.language.symbol.ruby",patterns:[{match:/\\[\]\\]/dgv,name:"constant.character.escape.ruby"},{include:"#nest_brackets"}]},{begin:/%i\(/dgv,beginCaptures:{"0":{name:"punctuation.section.array.begin.ruby"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.array.end.ruby"}},name:"constant.language.symbol.ruby",patterns:[{match:/\\[\)\\]/dgv,name:"constant.character.escape.ruby"},{include:"#nest_parens"}]},{begin:/%i</dgv,beginCaptures:{"0":{name:"punctuation.section.array.begin.ruby"}},end:/>/dgv,endCaptures:{"0":{name:"punctuation.section.array.end.ruby"}},name:"constant.language.symbol.ruby",patterns:[{match:/\\[\>\\]/dgv,name:"constant.character.escape.ruby"},{include:"#nest_ltgt"}]},{begin:/%i\{/dgv,beginCaptures:{"0":{name:"punctuation.section.array.begin.ruby"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.array.end.ruby"}},name:"constant.language.symbol.ruby",patterns:[{match:/\\[\\\}]/dgv,name:"constant.character.escape.ruby"},{include:"#nest_curly"}]},{begin:/%i([^\p{L}\p{M}\p{N}\p{Pc}])/dgv,beginCaptures:{"0":{name:"punctuation.section.array.begin.ruby"}},end:/\1()/dgv,endCaptures:{"0":{name:"punctuation.section.array.end.ruby"}},name:"constant.language.symbol.ruby",patterns:[{match:/\\[^\n]/dgv}]},{begin:/%W\[/dgv,beginCaptures:{"0":{name:"punctuation.section.array.begin.ruby"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.section.array.end.ruby"}},name:"string.quoted.other.interpolated.ruby",patterns:[{include:"#interpolated_ruby"},{include:"#escaped_char"},{include:"#nest_brackets_i"}]},{begin:/%W\(/dgv,beginCaptures:{"0":{name:"punctuation.section.array.begin.ruby"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.array.end.ruby"}},name:"string.quoted.other.interpolated.ruby",patterns:[{include:"#interpolated_ruby"},{include:"#escaped_char"},{include:"#nest_parens_i"}]},{begin:/%W</dgv,beginCaptures:{"0":{name:"punctuation.section.array.begin.ruby"}},end:/>/dgv,endCaptures:{"0":{name:"punctuation.section.array.end.ruby"}},name:"string.quoted.other.interpolated.ruby",patterns:[{include:"#interpolated_ruby"},{include:"#escaped_char"},{include:"#nest_ltgt_i"}]},{begin:/%W\{/dgv,beginCaptures:{"0":{name:"punctuation.section.array.begin.ruby"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.array.end.ruby"}},name:"string.quoted.other.interpolated.ruby",patterns:[{include:"#interpolated_ruby"},{include:"#escaped_char"},{include:"#nest_curly_i"}]},{begin:/%W([^\p{L}\p{M}\p{N}\p{Pc}])/dgv,beginCaptures:{"0":{name:"punctuation.section.array.begin.ruby"}},end:/\1()/dgv,endCaptures:{"0":{name:"punctuation.section.array.end.ruby"}},name:"string.quoted.other.interpolated.ruby",patterns:[{include:"#interpolated_ruby"},{include:"#escaped_char"}]},{begin:/%w\[/dgv,beginCaptures:{"0":{name:"punctuation.section.array.begin.ruby"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.section.array.end.ruby"}},name:"string.quoted.other.ruby",patterns:[{match:/\\[\]\\]/dgv,name:"constant.character.escape.ruby"},{include:"#nest_brackets"}]},{begin:/%w\(/dgv,beginCaptures:{"0":{name:"punctuation.section.array.begin.ruby"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.array.end.ruby"}},name:"string.quoted.other.ruby",patterns:[{match:/\\[\)\\]/dgv,name:"constant.character.escape.ruby"},{include:"#nest_parens"}]},{begin:/%w</dgv,beginCaptures:{"0":{name:"punctuation.section.array.begin.ruby"}},end:/>/dgv,endCaptures:{"0":{name:"punctuation.section.array.end.ruby"}},name:"string.quoted.other.ruby",patterns:[{match:/\\[\>\\]/dgv,name:"constant.character.escape.ruby"},{include:"#nest_ltgt"}]},{begin:/%w\{/dgv,beginCaptures:{"0":{name:"punctuation.section.array.begin.ruby"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.array.end.ruby"}},name:"string.quoted.other.ruby",patterns:[{match:/\\[\\\}]/dgv,name:"constant.character.escape.ruby"},{include:"#nest_curly"}]},{begin:/%w([^\p{L}\p{M}\p{N}\p{Pc}])/dgv,beginCaptures:{"0":{name:"punctuation.section.array.begin.ruby"}},end:/\1()/dgv,endCaptures:{"0":{name:"punctuation.section.array.end.ruby"}},name:"string.quoted.other.ruby",patterns:[{match:/\\[^\n]/dgv}]},{begin:/%[Qx]?\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.ruby"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.ruby"}},name:"string.quoted.other.interpolated.ruby",patterns:[{include:"#interpolated_ruby"},{include:"#escaped_char"},{include:"#nest_parens_i"}]},{begin:/%[Qx]?\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.ruby"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.ruby"}},name:"string.quoted.other.interpolated.ruby",patterns:[{include:"#interpolated_ruby"},{include:"#escaped_char"},{include:"#nest_brackets_i"}]},{begin:/%[Qx]?\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.ruby"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.ruby"}},name:"string.quoted.other.interpolated.ruby",patterns:[{include:"#interpolated_ruby"},{include:"#escaped_char"},{include:"#nest_curly_i"}]},{begin:/%[Qx]?</dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.ruby"}},end:/>/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.ruby"}},name:"string.quoted.other.interpolated.ruby",patterns:[{include:"#interpolated_ruby"},{include:"#escaped_char"},{include:"#nest_ltgt_i"}]},{begin:/%[Qx]([^\p{L}\p{M}\p{N}\p{Pc}])/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.ruby"}},end:/\1()/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.ruby"}},name:"string.quoted.other.interpolated.ruby",patterns:[{include:"#interpolated_ruby"},{include:"#escaped_char"}]},{begin:/%([^\=\p{L}\p{M}\p{N}\p{Pc}\p{space}])/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.ruby"}},end:/\1()/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.ruby"}},name:"string.quoted.other.interpolated.ruby",patterns:[{include:"#interpolated_ruby"},{include:"#escaped_char"}]},{begin:/%q\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.ruby"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.ruby"}},name:"string.quoted.other.ruby",patterns:[{match:/\\[\)\\]/dgv,name:"constant.character.escape.ruby"},{include:"#nest_parens"}]},{begin:/%q</dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.ruby"}},end:/>/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.ruby"}},name:"string.quoted.other.ruby",patterns:[{match:/\\[\>\\]/dgv,name:"constant.character.escape.ruby"},{include:"#nest_ltgt"}]},{begin:/%q\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.ruby"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.ruby"}},name:"string.quoted.other.ruby",patterns:[{match:/\\[\]\\]/dgv,name:"constant.character.escape.ruby"},{include:"#nest_brackets"}]},{begin:/%q\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.ruby"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.ruby"}},name:"string.quoted.other.ruby",patterns:[{match:/\\[\\\}]/dgv,name:"constant.character.escape.ruby"},{include:"#nest_curly"}]},{begin:/%q([^\p{L}\p{M}\p{N}\p{Pc}])/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.ruby"}},end:/\1()/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.ruby"}},name:"string.quoted.other.ruby",patterns:[{match:/\\[^\n]/dgv}]},{begin:/%s\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.symbol.begin.ruby"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.symbol.end.ruby"}},name:"constant.language.symbol.ruby",patterns:[{match:/\\[\)\\]/dgv,name:"constant.character.escape.ruby"},{include:"#nest_parens"}]},{begin:/%s</dgv,beginCaptures:{"0":{name:"punctuation.definition.symbol.begin.ruby"}},end:/>/dgv,endCaptures:{"0":{name:"punctuation.definition.symbol.end.ruby"}},name:"constant.language.symbol.ruby",patterns:[{match:/\\[\>\\]/dgv,name:"constant.character.escape.ruby"},{include:"#nest_ltgt"}]},{begin:/%s\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.symbol.begin.ruby"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.symbol.end.ruby"}},name:"constant.language.symbol.ruby",patterns:[{match:/\\[\]\\]/dgv,name:"constant.character.escape.ruby"},{include:"#nest_brackets"}]},{begin:/%s\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.symbol.begin.ruby"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.symbol.end.ruby"}},name:"constant.language.symbol.ruby",patterns:[{match:/\\[\\\}]/dgv,name:"constant.character.escape.ruby"},{include:"#nest_curly"}]},{begin:/%s([^\p{L}\p{M}\p{N}\p{Pc}])/dgv,beginCaptures:{"0":{name:"punctuation.definition.symbol.begin.ruby"}},end:/\1()/dgv,endCaptures:{"0":{name:"punctuation.definition.symbol.end.ruby"}},name:"constant.language.symbol.ruby",patterns:[{match:/\\[^\n]/dgv}]},{captures:{"1":{name:"punctuation.definition.constant.ruby"}},match:new r("(?<!:)(:)(?:(?=([\\$A-Z_a-z][\\p{L}\\p{M}\\p{N}\\p{Pc}]*(?:(?=([\\!\\?]|=(?![\\=\\>])))\\3)?|===?|<=>|>[\\=\\>]?|<[\\<\\=]?|[\\%\\&\\/\\`\\|]|\\*\\*?|=?~|[\\-\\+]@?|\\[\\]=?|@@?[A-Z_a-z][\\p{L}\\p{M}\\p{N}\\p{Pc}]*))\\2)","dgv",{hiddenCaptures:[2,3]}),name:"constant.language.symbol.ruby"},{begin:/^=begin/dgv,captures:{"0":{name:"punctuation.definition.comment.ruby"}},end:/^=end/dgv,name:"comment.block.documentation.ruby"},{include:"#yard"},{begin:/(^[\t ]+)?(?=#)/dgv,beginCaptures:{"1":{name:"punctuation.whitespace.comment.leading.ruby"}},end:new r("(?!^)","dgv",{strategy:"clip_search"}),patterns:[{begin:/#/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.ruby"}},end:/\n/dgv,name:"comment.line.number-sign.ruby"}]},{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])\?(\\(x\p{AHex}{1,2}(?!\p{AHex})\b|0[0-7]{0,2}(?![0-7])\b|[^0CMx])|(\\[CM]-)+[\p{L}\p{M}\p{N}\p{Pc}]|[^\\\p{space}])/dgv,name:"constant.numeric.ruby"},{begin:/^__END__\n/dgv,captures:{"0":{name:"string.unquoted.program-block.ruby"}},contentName:"text.plain",end:/(?=not)impossible/dgv,patterns:[{begin:/(?=<?xml|<[Hh][Tt][Mm][Ll]\b|!DOCTYPE [Hh][Tt][Mm][Ll]\b)/dgv,end:/(?=not)impossible/dgv,name:"text.html.embedded.ruby",patterns:[{include:"text.html.basic"}]}]},{begin:new r(`(?=(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)HTML)\\b\\2))\\1))`,"dgv",{hiddenCaptures:[1]}),end:/^\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)HTML)(?=\n?$)\n?/dgv,endCaptures:{"0":{name:"string.definition.end.ruby"}},name:"meta.embedded.block.html",patterns:[{begin:new r(`(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)HTML)\\b\\2))\\1)`,"dgv",{hiddenCaptures:[1]}),beginCaptures:{"0":{name:"string.definition.begin.ruby"}},contentName:"text.html",patterns:[{include:"#heredoc"},{include:"#interpolated_ruby"},{include:"text.html.basic"},{include:"#escaped_char"}],while:/^(?!\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)HTML)\p{space}*(?=\n?$))/dgv}]},{begin:new r(`(?=(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)HAML)\\b\\2))\\1))`,"dgv",{hiddenCaptures:[1]}),end:/^\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)HAML)(?=\n?$)\n?/dgv,endCaptures:{"0":{name:"string.definition.end.ruby"}},name:"meta.embedded.block.haml",patterns:[{begin:new r(`(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)HAML)\\b\\2))\\1)`,"dgv",{hiddenCaptures:[1]}),beginCaptures:{"0":{name:"string.definition.begin.ruby"}},contentName:"text.haml",patterns:[{include:"#heredoc"},{include:"#interpolated_ruby"},{include:"text.haml"},{include:"#escaped_char"}],while:/^(?!\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)HAML)\p{space}*(?=\n?$))/dgv}]},{begin:new r(`(?=(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)XML)\\b\\2))\\1))`,"dgv",{hiddenCaptures:[1]}),end:/^\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)XML)(?=\n?$)\n?/dgv,endCaptures:{"0":{name:"string.definition.end.ruby"}},name:"meta.embedded.block.xml",patterns:[{begin:new r(`(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)XML)\\b\\2))\\1)`,"dgv",{hiddenCaptures:[1]}),beginCaptures:{"0":{name:"string.definition.begin.ruby"}},contentName:"text.xml",patterns:[{include:"#heredoc"},{include:"#interpolated_ruby"},{include:"text.xml"},{include:"#escaped_char"}],while:/^(?!\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)XML)\p{space}*(?=\n?$))/dgv}]},{begin:new r(`(?=(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)SQL)\\b\\2))\\1))`,"dgv",{hiddenCaptures:[1]}),end:/^\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)SQL)(?=\n?$)\n?/dgv,endCaptures:{"0":{name:"string.definition.end.ruby"}},name:"meta.embedded.block.sql",patterns:[{begin:new r(`(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)SQL)\\b\\2))\\1)`,"dgv",{hiddenCaptures:[1]}),beginCaptures:{"0":{name:"string.definition.begin.ruby"}},contentName:"source.sql",patterns:[{include:"#heredoc"},{include:"#interpolated_ruby"},{include:"source.sql"},{include:"#escaped_char"}],while:/^(?!\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)SQL)\p{space}*(?=\n?$))/dgv}]},{begin:new r(`(?=(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)G(?:RAPHQL|QL))\\b\\2))\\1))`,"dgv",{hiddenCaptures:[1]}),end:/^\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)G(?:RAPHQL|QL))(?=\n?$)\n?/dgv,endCaptures:{"0":{name:"string.definition.end.ruby"}},name:"meta.embedded.block.graphql",patterns:[{begin:new r(`(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)G(?:RAPHQL|QL))\\b\\2))\\1)`,"dgv",{hiddenCaptures:[1]}),beginCaptures:{"0":{name:"string.definition.begin.ruby"}},contentName:"source.graphql",patterns:[{include:"#heredoc"},{include:"#interpolated_ruby"},{include:"source.graphql"},{include:"#escaped_char"}],while:/^(?!\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)G(?:RAPHQL|QL))\p{space}*(?=\n?$))/dgv}]},{begin:new r(`(?=(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)CSS)\\b\\2))\\1))`,"dgv",{hiddenCaptures:[1]}),end:/^\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)CSS)(?=\n?$)\n?/dgv,endCaptures:{"0":{name:"string.definition.end.ruby"}},name:"meta.embedded.block.css",patterns:[{begin:new r(`(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)CSS)\\b\\2))\\1)`,"dgv",{hiddenCaptures:[1]}),beginCaptures:{"0":{name:"string.definition.begin.ruby"}},contentName:"source.css",patterns:[{include:"#heredoc"},{include:"#interpolated_ruby"},{include:"source.css"},{include:"#escaped_char"}],while:/^(?!\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)CSS)\p{space}*(?=\n?$))/dgv}]},{begin:new r(`(?=(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)CPP)\\b\\2))\\1))`,"dgv",{hiddenCaptures:[1]}),end:/^\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)CPP)(?=\n?$)\n?/dgv,endCaptures:{"0":{name:"string.definition.end.ruby"}},name:"meta.embedded.block.cpp",patterns:[{begin:new r(`(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)CPP)\\b\\2))\\1)`,"dgv",{hiddenCaptures:[1]}),beginCaptures:{"0":{name:"string.definition.begin.ruby"}},contentName:"source.cpp",patterns:[{include:"#heredoc"},{include:"#interpolated_ruby"},{include:"source.cpp"},{include:"#escaped_char"}],while:/^(?!\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)CPP)\p{space}*(?=\n?$))/dgv}]},{begin:new r(`(?=(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)C)\\b\\2))\\1))`,"dgv",{hiddenCaptures:[1]}),end:/^\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)C)(?=\n?$)\n?/dgv,endCaptures:{"0":{name:"string.definition.end.ruby"}},name:"meta.embedded.block.c",patterns:[{begin:new r(`(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)C)\\b\\2))\\1)`,"dgv",{hiddenCaptures:[1]}),beginCaptures:{"0":{name:"string.definition.begin.ruby"}},contentName:"source.c",patterns:[{include:"#heredoc"},{include:"#interpolated_ruby"},{include:"source.c"},{include:"#escaped_char"}],while:/^(?!\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)C)\p{space}*(?=\n?$))/dgv}]},{begin:new r(`(?=(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)J(?:S|AVASCRIPT))\\b\\2))\\1))`,"dgv",{hiddenCaptures:[1]}),end:/^\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)J(?:S|AVASCRIPT))(?=\n?$)\n?/dgv,endCaptures:{"0":{name:"string.definition.end.ruby"}},name:"meta.embedded.block.js",patterns:[{begin:new r(`(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)J(?:S|AVASCRIPT))\\b\\2))\\1)`,"dgv",{hiddenCaptures:[1]}),beginCaptures:{"0":{name:"string.definition.begin.ruby"}},contentName:"source.js",patterns:[{include:"#heredoc"},{include:"#interpolated_ruby"},{include:"source.js"},{include:"#escaped_char"}],while:/^(?!\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)J(?:S|AVASCRIPT))\p{space}*(?=\n?$))/dgv}]},{begin:new r(`(?=(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)JQUERY)\\b\\2))\\1))`,"dgv",{hiddenCaptures:[1]}),end:/^\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)JQUERY)(?=\n?$)\n?/dgv,endCaptures:{"0":{name:"string.definition.end.ruby"}},name:"meta.embedded.block.js.jquery",patterns:[{begin:new r(`(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)JQUERY)\\b\\2))\\1)`,"dgv",{hiddenCaptures:[1]}),beginCaptures:{"0":{name:"string.definition.begin.ruby"}},contentName:"source.js.jquery",patterns:[{include:"#heredoc"},{include:"#interpolated_ruby"},{include:"source.js.jquery"},{include:"#escaped_char"}],while:/^(?!\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)JQUERY)\p{space}*(?=\n?$))/dgv}]},{begin:new r(`(?=(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)SH(?:|ELL))\\b\\2))\\1))`,"dgv",{hiddenCaptures:[1]}),end:/^\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)SH(?:|ELL))(?=\n?$)\n?/dgv,endCaptures:{"0":{name:"string.definition.end.ruby"}},name:"meta.embedded.block.shell",patterns:[{begin:new r(`(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)SH(?:|ELL))\\b\\2))\\1)`,"dgv",{hiddenCaptures:[1]}),beginCaptures:{"0":{name:"string.definition.begin.ruby"}},contentName:"source.shell",patterns:[{include:"#heredoc"},{include:"#interpolated_ruby"},{include:"source.shell"},{include:"#escaped_char"}],while:/^(?!\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)SH(?:|ELL))\p{space}*(?=\n?$))/dgv}]},{begin:new r(`(?=(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)LUA)\\b\\2))\\1))`,"dgv",{hiddenCaptures:[1]}),end:/^\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)LUA)(?=\n?$)\n?/dgv,endCaptures:{"0":{name:"string.definition.end.ruby"}},name:"meta.embedded.block.lua",patterns:[{begin:new r(`(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)LUA)\\b\\2))\\1)`,"dgv",{hiddenCaptures:[1]}),beginCaptures:{"0":{name:"string.definition.begin.ruby"}},contentName:"source.lua",patterns:[{include:"#heredoc"},{include:"#interpolated_ruby"},{include:"source.lua"},{include:"#escaped_char"}],while:/^(?!\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)LUA)\p{space}*(?=\n?$))/dgv}]},{begin:new r(`(?=(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)RUBY)\\b\\2))\\1))`,"dgv",{hiddenCaptures:[1]}),end:/^\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)RUBY)(?=\n?$)\n?/dgv,endCaptures:{"0":{name:"string.definition.end.ruby"}},name:"meta.embedded.block.ruby",patterns:[{begin:new r(`(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)RUBY)\\b\\2))\\1)`,"dgv",{hiddenCaptures:[1]}),beginCaptures:{"0":{name:"string.definition.begin.ruby"}},contentName:"source.ruby",patterns:[{include:"#heredoc"},{include:"#interpolated_ruby"},{include:"source.ruby"},{include:"#escaped_char"}],while:/^(?!\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)RUBY)\p{space}*(?=\n?$))/dgv}]},{begin:new r(`(?=(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)YA?ML)\\b\\2))\\1))`,"dgv",{hiddenCaptures:[1]}),end:/^\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)YA?ML)(?=\n?$)\n?/dgv,endCaptures:{"0":{name:"string.definition.end.ruby"}},name:"meta.embedded.block.yaml",patterns:[{begin:new r(`(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)YA?ML)\\b\\2))\\1)`,"dgv",{hiddenCaptures:[1]}),beginCaptures:{"0":{name:"string.definition.begin.ruby"}},contentName:"source.yaml",patterns:[{include:"#heredoc"},{include:"#interpolated_ruby"},{include:"source.yaml"},{include:"#escaped_char"}],while:/^(?!\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)YA?ML)\p{space}*(?=\n?$))/dgv}]},{begin:new r(`(?=(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)SLIM)\\b\\2))\\1))`,"dgv",{hiddenCaptures:[1]}),end:/^\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)SLIM)(?=\n?$)\n?/dgv,endCaptures:{"0":{name:"string.definition.end.ruby"}},name:"meta.embedded.block.slim",patterns:[{begin:new r(`(?:(?=(<<[\\-\\~]?(["'\\\`]?)((?:[_\\p{L}\\p{M}\\p{N}\\p{Pc}]+_|)SLIM)\\b\\2))\\1)`,"dgv",{hiddenCaptures:[1]}),beginCaptures:{"0":{name:"string.definition.begin.ruby"}},contentName:"text.slim",patterns:[{include:"#heredoc"},{include:"#interpolated_ruby"},{include:"text.slim"},{include:"#escaped_char"}],while:/^(?!\p{space}*((?:[_\p{L}\p{M}\p{N}\p{Pc}]+_|)SLIM)\p{space}*(?=\n?$))/dgv}]},{begin:new r(`(?:(?=(=\\p{space}*<<(["'\\\`]?)([\\p{L}\\p{M}\\p{N}\\p{Pc}]+)\\2))\\1)`,"dgv",{hiddenCaptures:[1]}),beginCaptures:{"0":{name:"string.definition.begin.ruby"}},contentName:"string.unquoted.heredoc.ruby",end:/^\2(?=\n?$)()()/dgv,endCaptures:{"0":{name:"string.definition.end.ruby"}},patterns:[{include:"#heredoc"},{include:"#interpolated_ruby"},{include:"#escaped_char"}]},{begin:new r(`(?:(?=(((<<[\\-\\~]?(["'\\\`]?)([\\p{L}\\p{M}\\p{N}\\p{Pc}]+)\\4,\\p{space}?)*<<[\\-\\~]?(["'\\\`]?)([\\p{L}\\p{M}\\p{N}\\p{Pc}]+)\\6)))\\1)([^\\n]*)`,"dgv",{hiddenCaptures:[1]}),beginCaptures:{"1":{name:"string.definition.begin.ruby"},"7":{patterns:[{include:"source.ruby"}]}},contentName:"string.unquoted.heredoc.ruby",end:/^\p{space}*\6(?=\n?$)()()()()()()/dgv,endCaptures:{"0":{name:"string.definition.end.ruby"}},patterns:[{include:"#heredoc"},{include:"#interpolated_ruby"},{include:"#escaped_char"}]},{begin:/(?<=\{|\{\p{space}+|[^\$0-\:\@-Z_a-z]do|^do|[^\$0-\:\@-Z_a-z]do\p{space}+|^do\p{space}+)(\|)/dgv,captures:{"1":{name:"punctuation.separator.variable.ruby"}},end:/(?<!\|)(\|)(?!\|)/dgv,name:"meta.block.parameters.ruby",patterns:[{begin:/(?![\(\,\|\p{space}])/dgv,end:/(?=,|\|\p{space}*)/dgv,patterns:[{captures:{"1":{name:"storage.type.variable.ruby"},"2":{name:"variable.other.block.ruby"}},match:/((?:&|\*\*?)?)([A-Z_a-z][_\p{L}\p{M}\p{N}\p{Pc}]*)/dgvy}]},{match:/,/dgv,name:"punctuation.separator.variable.ruby"}]},{match:/=>/dgv,name:"punctuation.separator.key-value"},{match:/->/dgv,name:"support.function.kernel.ruby"},{match:/<<=|%=|&{1,2}=|\*=|\*\*=|\+=|-=|\^=|\|{1,2}=|<</dgv,name:"keyword.operator.assignment.augmented.ruby"},{match:/<=>|<(?![\<\=])|>(?![\<\=\>])|<=|>=|===?|=~|!=|!~|(?<=[\t ])\?/dgv,name:"keyword.operator.comparison.ruby"},{match:/(?<!\.)\b(and|not|or)\b(?![\!\?])/dgv,name:"keyword.operator.logical.ruby"},{match:/(?<=^|[\t \!])!|&&|\|\||\^/dgv,name:"keyword.operator.logical.ruby"},{captures:{"1":{name:"keyword.operator.logical.ruby"}},match:/(&\.)\p{space}*(?![A-Z])/dgv},{match:/([\%\&]|\*\*|[\-\*\+\/])/dgv,name:"keyword.operator.arithmetic.ruby"},{match:/=/dgv,name:"keyword.operator.assignment.ruby"},{match:/[\|\~]|>>/dgv,name:"keyword.operator.other.ruby"},{match:/;/dgv,name:"punctuation.separator.statement.ruby"},{match:/,/dgv,name:"punctuation.separator.object.ruby"},{captures:{"1":{name:"punctuation.separator.namespace.ruby"}},match:/(::)\p{space}*(?=[A-Z])/dgv},{captures:{"1":{name:"punctuation.separator.method.ruby"}},match:/(\.|::)\p{space}*(?![A-Z])/dgv},{match:/:/dgv,name:"punctuation.separator.other.ruby"},{match:/\{/dgv,name:"punctuation.section.scope.begin.ruby"},{match:/\}/dgv,name:"punctuation.section.scope.end.ruby"},{match:/\[/dgv,name:"punctuation.section.array.begin.ruby"},{match:/\]/dgv,name:"punctuation.section.array.end.ruby"},{match:/[\(\)]/dgv,name:"punctuation.section.function.ruby"},{begin:/(?<=[^\.]\.|::)(?=[A-Za-z][\!0-9\?A-Z_a-z]*[^\!0-9\?A-Z_a-z])/dgv,end:/(?<=[\!0-9\?A-Z_a-z])(?=[^\!0-9\?A-Z_a-z])/dgv,name:"meta.function-call.ruby",patterns:[{match:/([A-Za-z][\!0-9\?A-Z_a-z]*)(?=[^\!0-9\?A-Z_a-z])/dgv,name:"entity.name.function.ruby"}]},{begin:/([A-Za-z][\p{L}\p{M}\p{N}\p{Pc}]*[\!\?]?)(\()/dgv,beginCaptures:{"1":{name:"entity.name.function.ruby"},"2":{name:"punctuation.section.function.ruby"}},end:/(\))/dgv,endCaptures:{"1":{name:"punctuation.section.function.ruby"}},name:"meta.function-call.ruby",patterns:[{include:"$self"}]}],repository:{escaped_char:{match:/\\(?:[0-7]{1,3}|x[A-Fa-f\p{Nd}]{1,2}|[^\n])/dgv,name:"constant.character.escape.ruby"},heredoc:{begin:/^<<[\-\~]?[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,end:/(?=\n?$)/dgv,patterns:[{include:"$self"}]},interpolated_ruby:{patterns:[{begin:/#\{/dgv,beginCaptures:{"0":{name:"punctuation.section.embedded.begin.ruby"}},contentName:"source.ruby",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.embedded.end.ruby"}},name:"meta.embedded.line.ruby",patterns:[{include:"#nest_curly_and_self"},{include:"$self"}]},{captures:{"1":{name:"punctuation.definition.variable.ruby"}},match:/(#@)[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"variable.other.readwrite.instance.ruby"},{captures:{"1":{name:"punctuation.definition.variable.ruby"}},match:/(#@@)[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"variable.other.readwrite.class.ruby"},{captures:{"1":{name:"punctuation.definition.variable.ruby"}},match:/(#\$)[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"variable.other.readwrite.global.ruby"}]},method_parameters:{patterns:[{include:"#parens"},{include:"#braces"},{include:"#brackets"},{include:"#params"},{include:"$self"}],repository:{braces:{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.scope.begin.ruby"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.scope.end.ruby"}},patterns:[{include:"#parens"},{include:"#braces"},{include:"#brackets"},{include:"$self"}]},brackets:{begin:/\[/dgv,beginCaptures:{"0":{name:"punctuation.section.array.begin.ruby"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.section.array.end.ruby"}},patterns:[{include:"#parens"},{include:"#braces"},{include:"#brackets"},{include:"$self"}]},params:{captures:{"1":{name:"storage.type.variable.ruby"},"2":{name:"constant.other.symbol.hashkey.parameter.function.ruby"},"3":{name:"punctuation.definition.constant.ruby"},"4":{name:"variable.parameter.function.ruby"}},match:/(&|\*\*?)?(?:([A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*[\!\?]?(:))|([A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*))/dgvy},parens:{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.section.function.begin.ruby"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.function.end.ruby"}},patterns:[{include:"#parens"},{include:"#braces"},{include:"#brackets"},{include:"$self"}]}}},nest_brackets:{begin:/\[/dgv,captures:{"0":{name:"punctuation.section.scope.ruby"}},end:/\]/dgv,patterns:[{include:"#nest_brackets"}]},nest_brackets_i:{begin:/\[/dgv,captures:{"0":{name:"punctuation.section.scope.ruby"}},end:/\]/dgv,patterns:[{include:"#interpolated_ruby"},{include:"#escaped_char"},{include:"#nest_brackets_i"}]},nest_brackets_r:{begin:/\[/dgv,captures:{"0":{name:"punctuation.section.scope.ruby"}},end:/\]/dgv,patterns:[{include:"#regex_sub"},{include:"#nest_brackets_r"}]},nest_curly:{begin:/\{/dgv,captures:{"0":{name:"punctuation.section.scope.ruby"}},end:/\}/dgv,patterns:[{include:"#nest_curly"}]},nest_curly_and_self:{patterns:[{begin:/\{/dgv,captures:{"0":{name:"punctuation.section.scope.ruby"}},end:/\}/dgv,patterns:[{include:"#nest_curly_and_self"}]},{include:"$self"}]},nest_curly_i:{begin:/\{/dgv,captures:{"0":{name:"punctuation.section.scope.ruby"}},end:/\}/dgv,patterns:[{include:"#interpolated_ruby"},{include:"#escaped_char"},{include:"#nest_curly_i"}]},nest_curly_r:{begin:/\{/dgv,captures:{"0":{name:"punctuation.section.scope.ruby"}},end:/\}/dgv,patterns:[{include:"#regex_sub"},{include:"#nest_curly_r"}]},nest_ltgt:{begin:/</dgv,captures:{"0":{name:"punctuation.section.scope.ruby"}},end:/>/dgv,patterns:[{include:"#nest_ltgt"}]},nest_ltgt_i:{begin:/</dgv,captures:{"0":{name:"punctuation.section.scope.ruby"}},end:/>/dgv,patterns:[{include:"#interpolated_ruby"},{include:"#escaped_char"},{include:"#nest_ltgt_i"}]},nest_ltgt_r:{begin:/</dgv,captures:{"0":{name:"punctuation.section.scope.ruby"}},end:/>/dgv,patterns:[{include:"#regex_sub"},{include:"#nest_ltgt_r"}]},nest_parens:{begin:/\(/dgv,captures:{"0":{name:"punctuation.section.scope.ruby"}},end:/\)/dgv,patterns:[{include:"#nest_parens"}]},nest_parens_i:{begin:/\(/dgv,captures:{"0":{name:"punctuation.section.scope.ruby"}},end:/\)/dgv,patterns:[{include:"#interpolated_ruby"},{include:"#escaped_char"},{include:"#nest_parens_i"}]},nest_parens_r:{begin:/\(/dgv,captures:{"0":{name:"punctuation.section.scope.ruby"}},end:/\)/dgv,patterns:[{include:"#regex_sub"},{include:"#nest_parens_r"}]},regex_sub:{patterns:[{include:"#interpolated_ruby"},{include:"#escaped_char"},{captures:{"1":{name:"punctuation.definition.arbitrary-repetition.ruby"},"3":{name:"punctuation.definition.arbitrary-repetition.ruby"}},match:/(\{)\p{Nd}+(,\p{Nd}+)?(\})/dgv,name:"string.regexp.arbitrary-repetition.ruby"},{begin:/\[(?:\^?\])?/dgv,captures:{"0":{name:"punctuation.definition.character-class.ruby"}},end:/\]/dgv,name:"string.regexp.character-class.ruby",patterns:[{include:"#escaped_char"}]},{begin:/\(\?#/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.begin.ruby"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.comment.end.ruby"}},name:"comment.line.number-sign.ruby",patterns:[{include:"#escaped_char"}]},{begin:/\(/dgv,captures:{"0":{name:"punctuation.definition.group.ruby"}},end:/\)/dgv,name:"string.regexp.group.ruby",patterns:[{include:"#regex_sub"}]},{begin:/(?<=^|\p{space})(#)\p{space}(?=[\-\t \!\,\.0-9\?A-Za-z[^\x00-\x7F]]*(?=\n?$))/dgv,beginCaptures:{"1":{name:"punctuation.definition.comment.ruby"}},end:/(?=\n?$)\n?/dgv,endCaptures:{"0":{name:"punctuation.definition.comment.ruby"}},name:"comment.line.number-sign.ruby"}]},yard:{patterns:[{include:"#yard_comment"},{include:"#yard_param_types"},{include:"#yard_option"},{include:"#yard_tag"},{include:"#yard_types"},{include:"#yard_directive"},{include:"#yard_see"},{include:"#yard_macro_attribute"}]},yard_comment:{begin:/^(\p{space}*)(#)(\p{space}*)(@)(abstract|api|author|deprecated|example|macro|note|overload|since|todo|version)(?=\p{space}|(?=\n?$))/dgv,beginCaptures:{"2":{name:"punctuation.definition.comment.ruby"},"4":{name:"comment.line.keyword.punctuation.yard.ruby"},"5":{name:"comment.line.keyword.yard.ruby"}},contentName:"comment.line.string.yard.ruby",end:/^(?!\p{space}*#\3\p{space}{2,}|\p{space}*#\p{space}*(?=\n?$))()()()/dgv,name:"comment.line.number-sign.ruby",patterns:[{include:"#yard"},{include:"#yard_continuation"}]},yard_continuation:{match:/^\p{space}*#/dgv,name:"punctuation.definition.comment.ruby"},yard_directive:{begin:/^(\p{space}*)(#)(\p{space}*)(@!)(endgroup|group|method|parse|scope|visibility)(\p{space}+((\[)[^\n]+(\])))?(?=\p{space})/dgv,beginCaptures:{"2":{name:"punctuation.definition.comment.ruby"},"4":{name:"comment.line.keyword.punctuation.yard.ruby"},"5":{name:"comment.line.keyword.yard.ruby"},"7":{name:"comment.line.type.yard.ruby"},"8":{name:"comment.line.punctuation.yard.ruby"},"9":{name:"comment.line.punctuation.yard.ruby"}},contentName:"comment.line.string.yard.ruby",end:/^(?!\p{space}*#\3\p{space}{2,}|\p{space}*#\p{space}*(?=\n?$))()()()/dgv,name:"comment.line.number-sign.ruby",patterns:[{include:"#yard"},{include:"#yard_continuation"}]},yard_macro_attribute:{begin:/^(\p{space}*)(#)(\p{space}*)(@!)(attribute|macro)(\p{space}+((\[)[^\n]+(\])))?(?=\p{space})(\p{space}+([_a-z][\p{L}\p{M}\p{N}\p{Pc}]*:?))?/dgv,beginCaptures:{"2":{name:"punctuation.definition.comment.ruby"},"4":{name:"comment.line.keyword.punctuation.yard.ruby"},"5":{name:"comment.line.keyword.yard.ruby"},"7":{name:"comment.line.type.yard.ruby"},"8":{name:"comment.line.punctuation.yard.ruby"},"9":{name:"comment.line.punctuation.yard.ruby"},"11":{name:"comment.line.parameter.yard.ruby"}},contentName:"comment.line.string.yard.ruby",end:/^(?!\p{space}*#\3\p{space}{2,}|\p{space}*#\p{space}*(?=\n?$))()()()/dgv,name:"comment.line.number-sign.ruby",patterns:[{include:"#yard"},{include:"#yard_continuation"}]},yard_option:{begin:new r("^(\\p{space}*)(#)(\\p{space}*)(@)(option)(?=\\p{space})(?:(?=(\\p{space}+([_a-z][\\p{L}\\p{M}\\p{N}\\p{Pc}]*:?)))\\6)?(?:(?=(\\p{space}+((\\[)[^\\n]+(\\]))))\\8)?(?:(?=(\\p{space}+((\\P{space}*))))\\12)?(?:(?=(\\p{space}+((\\()[^\\n]+(\\)))))\\15)?","dgv",{hiddenCaptures:[6,8,12,15]}),beginCaptures:{"2":{name:"punctuation.definition.comment.ruby"},"4":{name:"comment.line.keyword.punctuation.yard.ruby"},"5":{name:"comment.line.keyword.yard.ruby"},"6":{name:"comment.line.parameter.yard.ruby"},"7":{name:"comment.line.type.yard.ruby"},"8":{name:"comment.line.punctuation.yard.ruby"},"9":{name:"comment.line.punctuation.yard.ruby"},"10":{name:"comment.line.keyword.yard.ruby"},"11":{name:"comment.line.hashkey.yard.ruby"},"12":{name:"comment.line.defaultvalue.yard.ruby"},"13":{name:"comment.line.punctuation.yard.ruby"},"14":{name:"comment.line.punctuation.yard.ruby"}},contentName:"comment.line.string.yard.ruby",end:/^(?!\p{space}*#\3\p{space}{2,}|\p{space}*#\p{space}*(?=\n?$))()()()/dgv,name:"comment.line.number-sign.ruby",patterns:[{include:"#yard"},{include:"#yard_continuation"}]},yard_param_types:{begin:new r("^(\\p{space}*)(#)(\\p{space}*)(@)(attr|attr_reader|attr_writer|yieldparam|param)(?=\\p{space})(?:(?=(\\p{space}+(?:(?=(([_a-z][\\p{L}\\p{M}\\p{N}\\p{Pc}]*:?)|((\\[)[^\\n]+(\\]))))\\7)))\\6)?(?:(?=(\\p{space}+(?:(?=(((\\[)[^\\n]+(\\]))|([_a-z][\\p{L}\\p{M}\\p{N}\\p{Pc}]*:?)))\\13)))\\12)?","dgv",{hiddenCaptures:[6,7,12,13]}),beginCaptures:{"2":{name:"punctuation.definition.comment.ruby"},"4":{name:"comment.line.keyword.punctuation.yard.ruby"},"5":{name:"comment.line.keyword.yard.ruby"},"6":{name:"comment.line.parameter.yard.ruby"},"7":{name:"comment.line.type.yard.ruby"},"8":{name:"comment.line.punctuation.yard.ruby"},"9":{name:"comment.line.punctuation.yard.ruby"},"10":{name:"comment.line.type.yard.ruby"},"11":{name:"comment.line.punctuation.yard.ruby"},"12":{name:"comment.line.punctuation.yard.ruby"},"13":{name:"comment.line.parameter.yard.ruby"}},contentName:"comment.line.string.yard.ruby",end:/^(?!\p{space}*#\3\p{space}{2,}|\p{space}*#\p{space}*(?=\n?$))()()()/dgv,name:"comment.line.number-sign.ruby",patterns:[{include:"#yard"},{include:"#yard_continuation"}]},yard_see:{begin:/^(\p{space}*)(#)(\p{space}*)(@)(see)(?=\p{space})(\p{space}+([^\n]+?))?(?=\p{space}|(?=\n?$))/dgv,beginCaptures:{"2":{name:"punctuation.definition.comment.ruby"},"4":{name:"comment.line.keyword.punctuation.yard.ruby"},"5":{name:"comment.line.keyword.yard.ruby"},"7":{name:"comment.line.parameter.yard.ruby"}},contentName:"comment.line.string.yard.ruby",end:/^(?!\p{space}*#\3\p{space}{2,}|\p{space}*#\p{space}*(?=\n?$))()()()/dgv,name:"comment.line.number-sign.ruby",patterns:[{include:"#yard"},{include:"#yard_continuation"}]},yard_tag:{captures:{"2":{name:"punctuation.definition.comment.ruby"},"4":{name:"comment.line.keyword.punctuation.yard.ruby"},"5":{name:"comment.line.keyword.yard.ruby"}},match:/^(\p{space}*)(#)(\p{space}*)(@)(private)(?=\n?$)/dgv,name:"comment.line.number-sign.ruby"},yard_types:{begin:/^(\p{space}*)(#)(\p{space}*)(@)(raise|return|yield(?:return)?)(?=\p{space})(\p{space}+((\[)[^\n]+(\])))?/dgv,beginCaptures:{"2":{name:"punctuation.definition.comment.ruby"},"4":{name:"comment.line.keyword.punctuation.yard.ruby"},"5":{name:"comment.line.keyword.yard.ruby"},"7":{name:"comment.line.type.yard.ruby"},"8":{name:"comment.line.punctuation.yard.ruby"},"9":{name:"comment.line.punctuation.yard.ruby"}},contentName:"comment.line.string.yard.ruby",end:/^(?!\p{space}*#\3\p{space}{2,}|\p{space}*#\p{space}*(?=\n?$))()()()/dgv,name:"comment.line.number-sign.ruby",patterns:[{include:"#yard"},{include:"#yard_continuation"}]}},scopeName:"source.ruby",embeddedLangs:["html","haml","xml","sql","graphql","css","cpp","c","javascript","shellscript","lua","yaml"],aliases:["rb"]}),E=[...Ea,...e,...La,...Na,...n,...Nn,...Cs,...Lr,...on,...eo,...a,...As,d];export{E as default};
Binary file
Binary file
@@ -0,0 +1,4 @@
1
+ import{V,An,s,w,o,a,m,e,n,b,Z,is,os,ss,Vc,pc,di,Vi,Gc,uc,Wc,Gi,Wi,Ar,cs,ls}from"./chunk-56a6zytc.js";import{Oa}from"./chunk-zq1qbaxb.js";var D={sealed:"已封存",folded:"已折叠",archived:"已移出"};function P(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 W(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[,f,,,g,c,h,x]=p;if(f)d.push(`${i(r)}${f.trim()}`);else if(g)r=Math.max(0,r-1),d.push(`${i(r)}${g.trim()}`);else if(h)d.push(`${i(r)}${h.trim()}`),r++;else if(c)d.push(`${i(r)}${c.trim()}`);else if(x){let y=x.trim();if(y)for(let C of y.split(/\r?\n/)){let N=C.trim();if(N)d.push(`${i(r)}${N}`)}}}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 T(t){let{style:l}=b();return e("p",{className:l("surface.empty"),children:t.children})}function E(t){let{Chevron:l,Collapsible:d,CollapsibleContent:r,CollapsibleTrigger:i,style:u}=b(),[p,f]=a(!1),[g,c]=a(!1);return n(d,{open:p,onOpenChange:(h)=>An(()=>{if(f(h),h)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:g&&e("div",{className:"border-t border-line/60 bg-raised/20 px-3 py-2 text-xs text-dim",children:t.children})})]})}function R(t){let{Code:l}=b();return e(l,{code:t.code,lang:t.lang,className:"text-2xs! leading-relaxed! [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_pre]:[overflow-wrap:anywhere]"})}function O(t){let{cn:l}=b(),d=t.items.filter((i)=>i.state!=="archived");if(!d.length)return e(T,{children:"当前没有上下文内容。"});let r=d.reduce((i,u)=>i+u.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:d.map((i)=>e("span",{className:l(is[os(i)].color,"transition-[width] duration-300 ease-out-quint"),title:`${i.label}:${i.tokens.toLocaleString()} token`,style:{width:`${i.tokens/r*100}%`}},i.id))}),e("div",{className:"flex flex-wrap gap-x-3 gap-y-1 text-2xs text-dim",children:Object.entries(is).filter(([i])=>d.some((u)=>os(u)===i)).map(([i,u])=>n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:l("size-2 rounded-full",u.color),"aria-hidden":!0}),u.label]},i))}),e("div",{className:"space-y-1.5",children:d.map((i)=>e(Q,{item:i,total:r,color:is[os(i)].color},i.id))})]})}function Q(t){let{cn:l,style:d,useTheme:r}=b();r();let i=(t.item.tokens/t.total*100).toFixed(1);return e(E,{header:n(m,{children:[e("span",{className:l("size-2 shrink-0 rounded-full",t.color),"aria-hidden":!0}),e("span",{className:"min-w-0 flex-1 font-medium break-words text-ink [overflow-wrap:anywhere]",children:t.item.label}),t.item.state&&e("span",{className:d("control.badge","text-3xs"),children:D[t.item.state]}),e("span",{className:"font-mono tabular-nums text-dim",children:t.item.tokens.toLocaleString()}),n("span",{className:"w-10 text-right font-mono text-2xs tabular-nums text-faint",children:[i,"%"]})]}),children:e(Y,{item:t.item,percent:i,color:t.color})})}function Y(t){let{cn:l,CopyButton:d,style:r,useTheme:i}=b();i();let u=t.item.detail,p=w(()=>u?P(t.item.id,u):"markdown",[u,t.item.id]),f=w(()=>{if(!u)return"";return p==="xml"?W(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}%`}})}),f?n("div",{className:r("surface.subtle","group/detail relative overflow-hidden rounded-lg bg-panel/70 p-2.5"),children:[e("div",{className:"absolute right-1.5 top-1.5 z-10",children:e(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(R,{code:f,lang:p})})]}):e("p",{className:"py-2 text-center text-xs text-faint",children:"(空)"})]})}var B=40,ee={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}=b();i();let[u,p]=a(B),f=o(null),g=w(()=>t.entries.filter((x)=>!(x.type==="extension"&&x.namespace==="session"&&x.kind==="request_budget")),[t.entries]),c=u<g.length;s(()=>{let x=f.current;if(!x||!c||typeof IntersectionObserver>"u")return;let y=new IntersectionObserver((C)=>{if(C.some((N)=>N.isIntersecting))p((N)=>Math.min(g.length,N+B))},{rootMargin:"480px"});return y.observe(x),()=>y.disconnect()},[c,g.length]);let h=w(()=>g.slice(-u).reverse(),[g,u]);if(!g.length)return e(T,{children:"还没有消息。"});return n("div",{className:"space-y-1.5",children:[n("div",{className:r("surface.subtle","flex items-center justify-between px-3 py-1.5 text-xs text-faint"),children:[n("span",{children:["共 ",g.length," 条记录"]}),e(d,{text:()=>t.entries.map((x)=>JSON.stringify(x,null,2)).join(`
3
+
4
+ `),size:"icon-xs",label:"复制全部原始 JSON",className:"hover:bg-raised text-faint hover:text-ink"})]}),h.map((x)=>e(te,{entry:x},x.seq)),c&&n("div",{ref:f,className:r("surface.subtle","flex items-center justify-between bg-panel/40 px-3 py-2 text-xs text-faint"),children:[n("span",{children:["已显示 ",h.length," / ",g.length," 条"]}),n("div",{className:"flex items-center gap-1.5",children:[e(l,{size:"sm",variant:"ghost",onClick:()=>p((x)=>Math.min(g.length,x+B)),children:"加载更多"}),e(l,{size:"sm",variant:"ghost",onClick:()=>p(g.length),children:"显示全部"})]})]})]})}var te=V(function(l){let{CopyButton:d,style:r,useTheme:i}=b();i();let u=Gc(l.entry),p=w(()=>Vc(l.entry.time),[l.entry.time]);return e(E,{header:n(m,{children:[n("span",{className:"shrink-0 font-mono text-2xs tabular-nums text-faint",children:["#",l.entry.seq]}),e("span",{className:r("control.badge","shrink-0 font-medium text-3xs",ee[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-3xs text-faint"),children:u.meta}),e("span",{className:"shrink-0 font-mono text-2xs tabular-nums text-faint",children:p})]}),children:n("div",{className:"space-y-2",children:[n("div",{className:"flex items-center justify-between text-2xs text-faint",children:[n("span",{className:"font-mono",children:[l.entry.type," · #",l.entry.seq]}),e(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(ae,{entry:l.entry})]})})});function ae(t){let{style:l,useTheme:d}=b();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:di(r.text)}),r.attachments&&r.attachments.length>0&&n("div",{className:"space-y-1",children:[n("div",{className:"text-2xs font-medium text-faint",children:["附件(",r.attachments.length,")"]}),e("div",{className:"flex flex-wrap gap-1.5",children:r.attachments.map((i,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-2xs"),children:[e("span",{className:l("control.badge","text-3xs text-faint"),children:i.kind==="image"?"图片":i.kind==="path"?"路径":"文本"}),e("span",{className:"max-w-40 truncate font-medium text-ink",children:i.name}),n("span",{className:"font-mono text-3xs text-faint",children:[i.mimeType," · ",pc(p)]})]},`${i.name}-${u}`)})})]}),r.notices&&r.notices.length>0&&n("div",{className:"space-y-1",children:[n("div",{className:"text-2xs font-medium text-faint",children:["通知来源(",r.notices.length,")"]}),r.notices.map((i)=>n("div",{className:l("surface.subtle","flex items-center justify-between px-2.5 py-1.5 font-mono text-2xs"),children:[n("span",{className:"truncate text-ink",children:[i.sourceKind,"/",i.sourceID]}),e("span",{className:"text-faint",children:i.state})]},i.dedupeKey))]})]});if(r.type==="assistant")return n("div",{className:"space-y-2",children:[n("div",{className:"font-mono text-2xs text-faint",children:["模型:",r.model]}),r.error&&e("div",{className:"rounded-lg border border-danger/30 bg-danger/8 px-2.5 py-2 text-xs text-danger",children:r.error}),r.parts.map((i,u)=>{if(i.type==="thinking")return n("div",{className:l("surface.subtle","p-2.5 space-y-1"),children:[e("div",{className:"text-2xs font-medium text-faint",children:"思考"}),e("pre",{className:"max-h-60 overflow-y-auto font-sans text-xs italic leading-relaxed text-dim whitespace-pre-wrap break-words [overflow-wrap:anywhere]",children:di(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-2xs font-medium text-faint",children:"回复"}),e("pre",{className:"max-h-60 overflow-y-auto font-sans text-xs leading-relaxed text-ink whitespace-pre-wrap break-words [overflow-wrap:anywhere]",children:di(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-2xs",children:[n("span",{className:"font-mono font-medium text-ink",children:["工具调用 · ",i.name]}),e("span",{className:"truncate font-mono text-3xs text-faint",children:i.id})]}),e("div",{className:"max-h-60 overflow-y-auto text-dim",children:e(R,{code:Vi(JSON.stringify(i.input,uc,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-2xs text-faint",children:[e("span",{className:"text-ink",children:r.name}),e("span",{children:"·"}),e("span",{className:"truncate",children:r.callID}),e("span",{className:l("control.badge","ml-auto font-sans text-3xs",r.isError?"bg-danger/15 text-danger":"text-dim"),children:r.isError?"执行失败":"执行完成"})]}),r.images&&r.images.length>0&&e("div",{className:"flex flex-wrap gap-1.5",children:r.images.map((i,u)=>n("span",{className:l("surface.subtle","px-2 py-1 font-mono text-2xs text-faint"),children:["图片 #",u+1," · ",i.mimeType," · ",pc(Math.floor(i.data.length*0.75))]},`${i.mimeType}-${u}`))}),ss(r.output)?e("pre",{className:l("surface.subtle","max-h-72 overflow-y-auto p-2.5 font-mono text-2xs leading-relaxed whitespace-pre-wrap break-words [overflow-wrap:anywhere]",r.isError?"text-danger":"text-dim"),children:di(r.output)}):e("p",{className:"py-1 text-faint",children:"(无文本输出)"})]});return e("pre",{className:l("surface.subtle","max-h-72 overflow-y-auto p-2.5 font-mono text-2xs leading-relaxed text-dim whitespace-pre-wrap break-words [overflow-wrap:anywhere]"),children:Wc(r)})}function L(t){let{cn:l,style:d,useTheme:r}=b();if(r(),!t.todos.length)return e(T,{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(Z,{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 A(t){let{cn:l,style:d,useTheme:r}=b();r();let[i,u]=a("all"),p=w(()=>t.tools.filter((c)=>c.deferred).length,[t.tools]),f=t.tools.length-p,g=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(T,{children:"当前会话没有可用工具。"});return n("div",{className:"space-y-2",children:[p>0&&n("div",{className:"flex items-center gap-1 text-2xs",children:[n("button",{type:"button",onClick:()=>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:["常驻 (",f,")"]}),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:g.map((c)=>e(se,{tool:c},`${c.group}-${c.name}`))})]})}function se(t){let{style:l,useTheme:d}=b();return d(),e(E,{header:n("div",{className:"flex min-w-0 flex-1 items-center gap-1.5 truncate font-mono text-ink",children:[e("span",{className:"truncate",children:t.tool.name}),t.tool.group&&e("span",{className:l("control.badge","font-sans text-3xs"),children:t.tool.group}),t.tool.deferred&&e("span",{className:l("control.badge","font-sans text-3xs"),children:"延迟加载"})]}),children:e(ne,{tool:t.tool})})}function ne(t){let{CopyButton:l,style:d,useTheme:r}=b();r();let i=w(()=>JSON.stringify(t.tool.schema,null,2),[t.tool.schema]);return n(m,{children:[t.tool.deferred&&e("div",{className:d("surface.subtle","mb-2 px-2.5 py-1.5 text-2xs text-faint"),children:"延迟加载:此工具默认以精简描述挂载,模型通过 toolsearch 取回定义后才向上下文注入完整参数 Schema。"}),t.tool.description&&e("pre",{className:"mb-2 max-h-60 overflow-y-auto font-sans text-xs leading-relaxed text-dim whitespace-pre-wrap break-words [overflow-wrap:anywhere]",children:Vi(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(R,{code:Vi(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 ie(t){let{style:l,useTheme:d}=b();return d(),n("div",{className:l("surface.panel","bg-panel/70 px-3 py-2"),children:[e("div",{className:"text-3xs font-medium uppercase tracking-wider text-faint",children:t.label}),e("div",{className:"mt-0.5 truncate font-mono text-xs font-semibold tabular-nums text-ink",children:t.value})]})}function He(t){let{Button:l,StatusChip:d,Segmented:r,cn:i,style:u,useTheme:p}=b();p();let[f,g]=a(oe),[c,h]=a(()=>Ar.get(t.session.id)),[x,y]=a(!1),[C,N]=a(0),[F,H]=a(!1);s(()=>{let v=setTimeout(()=>An(()=>H(!0)),140);return()=>clearTimeout(v)},[]),s(()=>{let v=Ar.get(t.session.id);if(v)h(v);return cs((I,G)=>{if(I===t.session.id)An(()=>h(G))})},[t.session.id]),s(()=>{let v=!0;return y(!1),ls(t.connection,t.session.id,`${t.session.updated}:${t.entries.length}`,C>0).then((I)=>{if(v)An(()=>h(I))},()=>{if(v)y(!0)}),()=>{v=!1}},[t.connection,t.session.id,t.session.updated,t.entries.length,C]);let k=Gi(c?.items??[],c?.usableWindow,c?.calibratedTokens,c?.lastInputTokens,c?.hasPendingOutput),S=Wi(k.percent),M=c?.lastCacheHitRate,_=c?.usage?.cacheHitRate,q=M===void 0?"—":`${(M*100).toFixed(1)}%`,U=_===void 0?"—":`${(_*100).toFixed(1)}%`,J=(v)=>{g(v);try{localStorage.setItem("basalt.contextSidebar.tab",v)}catch{}},K=[{value:"breakdown",label:"构成"},{value:"tools",label:n("span",{className:"inline-flex items-center gap-1",children:["工具",c&&e("span",{className:"text-3xs 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-3xs text-faint tabular-nums",children:t.session.todos.length})]})},{value:"raw",label:"原始消息"}],X=n("div",{className:"px-3.5 pt-1 pb-3",children:[n("div",{className:"flex items-start justify-between gap-3",children:[n("div",{children:[e("div",{className:"text-2xs font-medium uppercase tracking-wider text-faint",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?k.totalTokens.toLocaleString():"—"}),n("span",{className:"font-mono text-xs text-dim",children:["/ ",c?.usableWindow.toLocaleString()??"—"]})]})]}),e(d,{tone:S==="overflow"||S==="near_limit"?"danger":S==="sealing"?"warning":"success",children:S==="overflow"?"预计超限":S==="near_limit"?"接近上限":S==="sealing"?"接近封存":"正常"})]}),k.percent!==null&&e("meter",{className:"sr-only","aria-label":"可用上下文窗口占比",min:0,max:100,value:Math.min(100,k.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,k.percent??0)}%`}})}),n("div",{className:"mt-2 flex items-center justify-between text-2xs",children:[e("span",{className:"text-dim",children:k.percent===null?"暂无窗口数据":`${k.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-2xs",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?"—":Oa(c.lastRequestBodyBytes)})]}),n("div",{className:"mt-2 flex items-center justify-between gap-2 text-2xs",children:[e("span",{className:"text-dim",children:"最近实际输入"}),n("span",{className:"font-mono tabular-nums text-ink",children:[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()],["缓存命中 当前 / 平均",`${q} / ${U}`],["平均 TPS",c.usage.tps!==void 0?`${c.usage.tps.toFixed(1)} tok/s`:"—"]].map(([v,I])=>e(ie,{label:v,value:I},v))})]});return n(m,{children:[X,e("div",{className:"px-3 py-2",children:e(r,{value:f,onChange:J,options:K,className:"w-full grid grid-cols-4"})}),n("div",{className:"min-h-0 flex-1 overflow-y-auto px-3 py-3",children:[x&&!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:()=>N((v)=>v+1),children:"重试"})]}),e("div",{children:!F?e(z,{}):n(m,{children:[f==="raw"&&e(j,{entries:t.entries}),f==="todos"&&e(L,{todos:t.session.todos}),f==="breakdown"&&(c?e(O,{items:k.items}):!x?e(z,{}):null),f==="tools"&&(c?e(A,{tools:c.tools??[]}):!x?e(z,{}):null)]})},f)]})]})}export{He as ContextSidebar};
Binary file
Binary file
@@ -0,0 +1,2 @@
1
+ import{e,n,b,Fe}from"./chunk-56a6zytc.js";function wi(a){let t=a.filter((l)=>l.closedAt===null);if(!t.length)return[];return[{label:"项目",options:t.map((l)=>({value:l.id,label:l.name,description:l.directory}))}]}function ki(a){let{Input:t}=b();return n("div",{className:"relative mb-3 min-w-0",children:[e(Fe,{"aria-hidden":!0,className:"pointer-events-none absolute top-3 left-3 size-4 text-faint"}),e(t,{type:"search","aria-label":a.label,placeholder:a.placeholder,value:a.value,onChange:(l)=>a.onChange(l.target.value),className:"h-10 min-w-0 pl-9"})]})}function Ci(){return e("div",{role:"status","aria-label":"正在加载",className:"divide-y divide-line",children:[0,1,2].map((a)=>n("div",{className:"h-16 space-y-2 px-4 py-3",children:[e("div",{className:"h-3 w-24 animate-pulse rounded bg-raised"}),e("div",{className:"h-3 w-2/3 animate-pulse rounded bg-raised"})]},a))})}
2
+ export{wi,ki,Ci};
Binary file
Binary file