zen-code 4.8.1 → 4.8.3

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 (415) hide show
  1. package/dist/app.js +175 -99
  2. package/dist/chunk-03bb6pab.js +1 -0
  3. package/dist/chunk-03d08304.js +1 -0
  4. package/dist/{chunk-wwn7gw8g.js → chunk-04kzaj7h.js} +3 -3
  5. package/dist/chunk-09f94dtz.js +1 -0
  6. package/dist/chunk-0bpvpy2e.js +1 -0
  7. package/dist/chunk-0ch9bkct.js +1 -0
  8. package/dist/chunk-0cz1ygrn.js +1 -0
  9. package/dist/chunk-0dstjr38.js +1 -0
  10. package/dist/chunk-0gb5n1jp.js +1 -0
  11. package/dist/{chunk-9k57afdm.js → chunk-0gpa9n28.js} +1 -1
  12. package/dist/chunk-0mryaqgb.js +1 -0
  13. package/dist/chunk-0myk23dw.js +1 -0
  14. package/dist/chunk-0qrqmmqt.js +1 -0
  15. package/dist/chunk-0teh8cbt.js +2 -0
  16. package/dist/chunk-1163kxya.js +1 -0
  17. package/dist/chunk-11ctp51v.js +2 -0
  18. package/dist/chunk-13f0qh77.js +1 -0
  19. package/dist/chunk-17zj2hd5.js +1 -0
  20. package/dist/chunk-1a5zv67s.js +1 -0
  21. package/dist/chunk-1dwn0qqb.js +1 -0
  22. package/dist/chunk-1efcgvx0.js +1 -0
  23. package/dist/chunk-1ggv4msc.js +1 -0
  24. package/dist/chunk-1mdbzd7e.js +1 -0
  25. package/dist/chunk-1pm5qfkm.js +1 -0
  26. package/dist/chunk-1q8wzky6.js +1 -0
  27. package/dist/chunk-1w5m9c5y.js +2 -0
  28. package/dist/{chunk-bgpcx3bm.js → chunk-21w7a0t2.js} +2 -2
  29. package/dist/chunk-2215g4qb.js +2 -0
  30. package/dist/chunk-25es8s2e.js +1 -0
  31. package/dist/chunk-28p35k17.js +1 -0
  32. package/dist/chunk-2evyqqz7.js +2 -0
  33. package/dist/chunk-2f9mf6mw.js +2 -0
  34. package/dist/chunk-2gr7rdv0.js +1 -0
  35. package/dist/chunk-2hjzw0cx.js +1 -0
  36. package/dist/chunk-2kka9ex2.js +1 -0
  37. package/dist/chunk-2m3g6fah.js +1 -0
  38. package/dist/chunk-2qx9kzj1.js +1 -0
  39. package/dist/chunk-2tg0fzzw.js +2 -0
  40. package/dist/chunk-2vtz4ypn.js +1 -0
  41. package/dist/chunk-2w2pzwmm.js +1 -0
  42. package/dist/chunk-2zqq58q6.js +2 -0
  43. package/dist/chunk-323aj0k7.js +1 -0
  44. package/dist/chunk-3b8bw2gg.js +1 -0
  45. package/dist/chunk-3c791dd5.js +1 -0
  46. package/dist/chunk-3dqan531.js +1 -0
  47. package/dist/chunk-3ek4pcr6.js +1 -0
  48. package/dist/chunk-3mzwewcx.js +1 -0
  49. package/dist/chunk-3ns6c29z.js +1 -0
  50. package/dist/chunk-3p4khpea.js +1 -0
  51. package/dist/chunk-3pd9zqn2.js +1 -0
  52. package/dist/chunk-3pqm74e3.js +1 -0
  53. package/dist/{chunk-j1n8jp1w.js → chunk-3s46q55v.js} +2 -2
  54. package/dist/chunk-3s6j6d1z.js +1 -0
  55. package/dist/chunk-3tq80kwe.js +1 -0
  56. package/dist/chunk-3x564va6.js +2 -0
  57. package/dist/chunk-3z87tvcn.js +1 -0
  58. package/dist/chunk-40fxbk0k.js +1 -0
  59. package/dist/chunk-41hzdwnx.js +1 -0
  60. package/dist/chunk-45dyg3fv.js +1 -0
  61. package/dist/chunk-4ecfe9a1.js +1 -0
  62. package/dist/chunk-4g796wg5.js +1 -0
  63. package/dist/chunk-4j4w856j.js +1 -0
  64. package/dist/chunk-4mw5szy1.js +1 -0
  65. package/dist/{chunk-yaa4eesd.js → chunk-4n978rje.js} +2 -2
  66. package/dist/chunk-4pa2a33z.js +1 -0
  67. package/dist/chunk-4qs8qf3g.js +1 -0
  68. package/dist/{chunk-czz2fs2w.js → chunk-4s6z4724.js} +1 -1
  69. package/dist/chunk-4tgv8687.js +1 -0
  70. package/dist/chunk-4vr7sc1e.js +1 -0
  71. package/dist/chunk-4wmmjwq3.js +1 -0
  72. package/dist/chunk-4z0wk36t.js +1 -0
  73. package/dist/chunk-4zemyepb.js +1 -0
  74. package/dist/chunk-501c35tf.js +1 -0
  75. package/dist/chunk-50hw7e2n.js +1 -0
  76. package/dist/chunk-51cf1nrg.js +1 -0
  77. package/dist/chunk-51h1tm3c.js +1 -0
  78. package/dist/chunk-5743qc09.js +1 -0
  79. package/dist/chunk-5g0asgdm.js +1 -0
  80. package/dist/chunk-5gaygdyf.js +1 -0
  81. package/dist/chunk-5n3h6mhr.js +1 -0
  82. package/dist/chunk-5vzt6z7d.js +1 -0
  83. package/dist/chunk-6180vb4q.js +2 -0
  84. package/dist/chunk-62zhdx11.js +1 -0
  85. package/dist/chunk-63ghca0g.js +1 -0
  86. package/dist/chunk-6a35z43a.js +1 -0
  87. package/dist/chunk-6e734rff.js +1 -0
  88. package/dist/chunk-6ezeq351.js +1 -0
  89. package/dist/chunk-6gxwe3hq.js +1 -0
  90. package/dist/chunk-6hbnk94n.js +1 -0
  91. package/dist/chunk-6meyz753.js +1 -0
  92. package/dist/chunk-6nhdwm44.js +1 -0
  93. package/dist/chunk-6r7b9pg1.js +1 -0
  94. package/dist/chunk-6rzyzk0g.js +1 -0
  95. package/dist/chunk-6v5eepr1.js +1 -0
  96. package/dist/chunk-70gnwjt8.js +1 -0
  97. package/dist/chunk-72h39xc8.js +1 -0
  98. package/dist/chunk-76gx2wc0.js +1 -0
  99. package/dist/chunk-77gv3r7z.js +1 -0
  100. package/dist/chunk-7893pky5.js +1 -0
  101. package/dist/chunk-7cenjy4r.js +2 -0
  102. package/dist/chunk-7dmms791.js +1 -0
  103. package/dist/chunk-7h9sjfmy.js +1 -0
  104. package/dist/chunk-7hvw60gp.js +1 -0
  105. package/dist/chunk-7pntzqpm.js +1 -0
  106. package/dist/chunk-7zprjevz.js +1 -0
  107. package/dist/chunk-80jab8dy.js +1 -0
  108. package/dist/chunk-85j75g9q.js +1 -0
  109. package/dist/chunk-86em0evs.js +1 -0
  110. package/dist/chunk-86exrje1.js +1 -0
  111. package/dist/chunk-88191bqb.js +1 -0
  112. package/dist/chunk-8chx87e7.js +1 -0
  113. package/dist/chunk-8evmvqza.js +1 -0
  114. package/dist/chunk-8hp4t30w.js +1 -0
  115. package/dist/chunk-8kv8e5sn.js +1 -0
  116. package/dist/chunk-8m5dqftt.js +1 -0
  117. package/dist/chunk-8m6adpjf.js +1 -0
  118. package/dist/chunk-8mmvxxyj.js +1 -0
  119. package/dist/chunk-8nkp692y.js +1 -0
  120. package/dist/chunk-8tg10bhe.js +1 -0
  121. package/dist/chunk-91rrbsk7.js +1 -0
  122. package/dist/chunk-92pjraxh.js +2 -0
  123. package/dist/chunk-952k4ak8.js +1 -0
  124. package/dist/chunk-97bsgfnr.js +1 -0
  125. package/dist/{chunk-3ep2tag7.js → chunk-98x8wkt6.js} +1 -1
  126. package/dist/chunk-9c0wnb5t.js +1 -0
  127. package/dist/chunk-9dh8d15f.js +1 -0
  128. package/dist/chunk-9dn65rqp.js +1 -0
  129. package/dist/chunk-9ft87v6s.js +2 -0
  130. package/dist/chunk-9gnhztzd.js +1 -0
  131. package/dist/chunk-9h0v5e0k.js +2 -0
  132. package/dist/{chunk-rrkzfahh.js → chunk-9hkn5b8e.js} +1 -1
  133. package/dist/chunk-9kydh60d.js +1 -0
  134. package/dist/chunk-9nb6v3q0.js +2 -0
  135. package/dist/chunk-9phx46cq.js +2 -0
  136. package/dist/chunk-9xaygaay.js +2 -0
  137. package/dist/chunk-9ynmrc70.js +1 -0
  138. package/dist/chunk-acceg8yk.js +1 -0
  139. package/dist/chunk-afdat9a4.js +1 -0
  140. package/dist/chunk-ajtch74a.js +1 -0
  141. package/dist/chunk-ak0aqr2c.js +1 -0
  142. package/dist/chunk-ak2n1ckf.js +1 -0
  143. package/dist/chunk-ak43xwf1.js +1 -0
  144. package/dist/{chunk-7dp8kq2f.js → chunk-anbr96y3.js} +2 -2
  145. package/dist/{chunk-5wn1nfqy.js → chunk-aqyqcpz2.js} +2 -2
  146. package/dist/{chunk-yvhq458c.js → chunk-arppjtcv.js} +1 -1
  147. package/dist/chunk-azxn0zvz.js +1 -0
  148. package/dist/chunk-b4fn3tre.js +1 -0
  149. package/dist/chunk-b68ekt52.js +1 -0
  150. package/dist/chunk-b6xencpw.js +1 -0
  151. package/dist/{chunk-3n2b4eb4.js → chunk-b9fn4n7z.js} +2 -2
  152. package/dist/{chunk-s3fyfrka.js → chunk-ba18by4y.js} +2 -2
  153. package/dist/chunk-bb9mvt9d.js +1 -0
  154. package/dist/chunk-bd35cx5s.js +1 -0
  155. package/dist/chunk-bf0pjbfa.js +1 -0
  156. package/dist/chunk-bfm294j1.js +1 -0
  157. package/dist/chunk-bh05aqrf.js +2 -0
  158. package/dist/chunk-bh33p34p.js +1 -0
  159. package/dist/chunk-bngqptzm.js +1 -0
  160. package/dist/chunk-bnrv5f66.js +2 -0
  161. package/dist/chunk-bwcdkk1e.js +2 -0
  162. package/dist/chunk-bwjh7xrm.js +1 -0
  163. package/dist/chunk-bwnx1zht.js +1 -0
  164. package/dist/chunk-c1345z85.js +1 -0
  165. package/dist/chunk-c1gpr8nz.js +1 -0
  166. package/dist/chunk-c1r7zjt3.js +1 -0
  167. package/dist/chunk-c3b7gwkd.js +1 -0
  168. package/dist/chunk-c5d87fzk.js +1 -0
  169. package/dist/chunk-cd37w7qk.js +1 -0
  170. package/dist/chunk-cegx2zze.js +1 -0
  171. package/dist/chunk-cm6vfvym.js +1 -0
  172. package/dist/chunk-crjf70s3.js +1 -0
  173. package/dist/chunk-crvp4wnc.js +1 -0
  174. package/dist/chunk-cwvb8zr5.js +1 -0
  175. package/dist/chunk-cyd358a8.js +1 -0
  176. package/dist/chunk-d08qq3wd.js +1 -0
  177. package/dist/chunk-d9hpz80s.js +2 -0
  178. package/dist/chunk-d9xgby9w.js +1 -0
  179. package/dist/chunk-dhgjjhh7.js +1 -0
  180. package/dist/chunk-djmxgj5c.js +1 -0
  181. package/dist/chunk-dpa9tgf6.js +2 -0
  182. package/dist/chunk-dvmzq40v.js +1 -0
  183. package/dist/chunk-dw3081wb.js +1 -0
  184. package/dist/chunk-dxg8cctv.js +2 -0
  185. package/dist/chunk-e112438q.js +1 -0
  186. package/dist/chunk-e2qmvzgm.js +1 -0
  187. package/dist/chunk-e2vdc3vs.js +1 -0
  188. package/dist/chunk-eh3cemzk.js +1 -0
  189. package/dist/chunk-ehpz2t7m.js +1 -0
  190. package/dist/chunk-ek58k066.js +1 -0
  191. package/dist/chunk-emdn1c33.js +1 -0
  192. package/dist/chunk-er06b5kx.js +2 -0
  193. package/dist/chunk-eyty7ng4.js +1 -0
  194. package/dist/chunk-f3jbz60e.js +1 -0
  195. package/dist/chunk-f40x0w1g.js +1 -0
  196. package/dist/chunk-f6cbjh6q.js +1 -0
  197. package/dist/chunk-fbf3gztk.js +1 -0
  198. package/dist/chunk-fcexqvhh.js +1 -0
  199. package/dist/chunk-fcxgd3qb.js +1 -0
  200. package/dist/{chunk-cze71w02.js → chunk-feptb1bb.js} +1 -1
  201. package/dist/chunk-fmmsa2ry.js +2 -0
  202. package/dist/chunk-frzyyytq.js +1 -0
  203. package/dist/chunk-fs2mzcgs.js +1 -0
  204. package/dist/{chunk-15smn69q.js → chunk-g0fa5dyc.js} +2 -2
  205. package/dist/chunk-g1yt0qc9.js +1 -0
  206. package/dist/chunk-g30bcqjk.js +1 -0
  207. package/dist/chunk-g3p0vcay.js +2 -0
  208. package/dist/chunk-g8k4dhcx.js +1 -0
  209. package/dist/chunk-g9q5nbz0.js +1 -0
  210. package/dist/chunk-geyhpd32.js +1 -0
  211. package/dist/chunk-gh5vbn9x.js +1 -0
  212. package/dist/chunk-gp1ensbx.js +1 -0
  213. package/dist/chunk-gphyz2x3.js +1 -0
  214. package/dist/chunk-gpmj4w3z.js +1 -0
  215. package/dist/{chunk-5fqt5yg1.js → chunk-gqdapzfq.js} +1 -1
  216. package/dist/chunk-gtms11w9.js +1 -0
  217. package/dist/chunk-gy4p2qnz.js +1 -0
  218. package/dist/chunk-h5k1z56v.js +1 -0
  219. package/dist/chunk-h8ay3dqc.js +1 -0
  220. package/dist/chunk-h8de6gyf.js +1 -0
  221. package/dist/chunk-hgpmrbsr.js +1 -0
  222. package/dist/chunk-hsq3vxna.js +2 -0
  223. package/dist/chunk-htgt048s.js +1 -0
  224. package/dist/chunk-hvekwfwd.js +1 -0
  225. package/dist/{chunk-j204fejq.js → chunk-hxw717c2.js} +1 -1
  226. package/dist/chunk-hzejh175.js +1 -0
  227. package/dist/chunk-j5e4dmw7.js +1 -0
  228. package/dist/chunk-j8b7x5pr.js +1 -0
  229. package/dist/chunk-jafhgffb.js +1 -0
  230. package/dist/chunk-jam7nh0r.js +1 -0
  231. package/dist/chunk-jh6wwc9v.js +1 -0
  232. package/dist/chunk-jhjbxj1k.js +1 -0
  233. package/dist/chunk-jhwm3phf.js +1 -0
  234. package/dist/chunk-jmzy9per.js +1 -0
  235. package/dist/chunk-jppcve2j.js +1 -0
  236. package/dist/chunk-jy5kmp4s.js +1 -0
  237. package/dist/chunk-k1kzp019.js +2 -0
  238. package/dist/chunk-k7e2abhq.js +1 -0
  239. package/dist/chunk-k97swe5s.js +1 -0
  240. package/dist/chunk-ke9tpkk2.js +1 -0
  241. package/dist/chunk-kncs6js6.js +1 -0
  242. package/dist/chunk-ksr76npa.js +1 -0
  243. package/dist/chunk-ksy4d0za.js +1 -0
  244. package/dist/chunk-kvb035wf.js +2 -0
  245. package/dist/chunk-kwgygr4z.js +1 -0
  246. package/dist/chunk-m3zge9wv.js +1 -0
  247. package/dist/chunk-m7bwshtn.js +1 -0
  248. package/dist/chunk-m8mdqeye.js +1 -0
  249. package/dist/chunk-mcrmg4m8.js +1 -0
  250. package/dist/chunk-mfexzmw2.js +1 -0
  251. package/dist/chunk-mjwypsrz.js +1 -0
  252. package/dist/chunk-mp159559.js +2 -0
  253. package/dist/chunk-mp6yhf6a.js +1 -0
  254. package/dist/chunk-mr7em8w4.js +1 -0
  255. package/dist/chunk-mrkf2b3t.js +434 -0
  256. package/dist/chunk-msha9pw1.js +1 -0
  257. package/dist/chunk-mvv3ktys.js +1 -0
  258. package/dist/chunk-mymqnpgf.js +1 -0
  259. package/dist/chunk-n220pha2.js +1 -0
  260. package/dist/chunk-n65ycayf.js +1 -0
  261. package/dist/{chunk-q8arjxg1.js → chunk-n72x5y7a.js} +1 -1
  262. package/dist/chunk-n9x46wsq.js +1 -0
  263. package/dist/chunk-n9zmzbyq.js +1 -0
  264. package/dist/chunk-na5z94zg.js +2 -0
  265. package/dist/chunk-nbcah8mh.js +1 -0
  266. package/dist/chunk-ncs4rnsn.js +1 -0
  267. package/dist/chunk-nt5n8jcr.js +1 -0
  268. package/dist/chunk-nv58ta3s.js +1 -0
  269. package/dist/chunk-nw76mbwc.js +1 -0
  270. package/dist/chunk-p2z2bacg.js +1 -0
  271. package/dist/chunk-p3mpqeqw.js +1 -0
  272. package/dist/chunk-p3p6a3ht.js +1 -0
  273. package/dist/chunk-p46at2ts.js +1 -0
  274. package/dist/chunk-p6dgtz38.js +1 -0
  275. package/dist/chunk-p70r0dds.js +1 -0
  276. package/dist/{chunk-h5nnz4dy.js → chunk-p89xw4y2.js} +1 -1
  277. package/dist/chunk-pd4wysbn.js +1 -0
  278. package/dist/chunk-pe45n68n.js +1 -0
  279. package/dist/chunk-pf09ha3g.js +1 -0
  280. package/dist/chunk-pn04v4sv.js +1 -0
  281. package/dist/{chunk-bjywwcgn.js → chunk-pnhf6jtr.js} +2 -2
  282. package/dist/chunk-pr7vzg5y.js +1 -0
  283. package/dist/chunk-psdrzwp5.js +1 -0
  284. package/dist/chunk-px75djc6.js +1 -0
  285. package/dist/chunk-q3x300wy.js +1 -0
  286. package/dist/chunk-q56ns9ta.js +1 -0
  287. package/dist/chunk-q86xqx6c.js +1 -0
  288. package/dist/chunk-q9711zm8.js +1 -0
  289. package/dist/chunk-q9w8vj93.js +2 -0
  290. package/dist/chunk-qpkn7wvc.js +1 -0
  291. package/dist/chunk-qrr2ytkg.js +2 -0
  292. package/dist/chunk-r0gjpz5m.js +1 -0
  293. package/dist/chunk-r1enj0f0.js +1 -0
  294. package/dist/chunk-r9r1v9kw.js +1 -0
  295. package/dist/chunk-rc027n67.js +1 -0
  296. package/dist/chunk-rgc9k4rf.js +2 -0
  297. package/dist/chunk-rmrp92n9.js +1 -0
  298. package/dist/chunk-rv0x9fbs.js +1 -0
  299. package/dist/chunk-rvxb17kx.js +1 -0
  300. package/dist/chunk-rxs4gexg.js +1 -0
  301. package/dist/{chunk-0fhpz98a.js → chunk-rxxn6qxm.js} +2 -2
  302. package/dist/chunk-s6t5vxm9.js +1 -0
  303. package/dist/chunk-s6xjfvvd.js +1 -0
  304. package/dist/chunk-s719ttj9.js +1 -0
  305. package/dist/chunk-sd6qvm4t.js +1 -0
  306. package/dist/chunk-shc3fcge.js +1 -0
  307. package/dist/chunk-ss233wsa.js +1 -0
  308. package/dist/chunk-stp38gza.js +1 -0
  309. package/dist/{chunk-c9q11tk2.js → chunk-sws9653v.js} +1 -1
  310. package/dist/chunk-syme57ea.js +1 -0
  311. package/dist/chunk-sz3tq28n.js +2 -0
  312. package/dist/chunk-t0tznkac.js +1 -0
  313. package/dist/chunk-t32zj7ah.js +1 -0
  314. package/dist/chunk-t5z5e89a.js +1 -0
  315. package/dist/chunk-t8w9hqaa.js +1 -0
  316. package/dist/chunk-t97kks4j.js +1 -0
  317. package/dist/chunk-tamfhbc6.js +1 -0
  318. package/dist/chunk-tchg9ygq.js +1 -0
  319. package/dist/chunk-te7k3eqj.js +1 -0
  320. package/dist/chunk-tjj6zd94.js +2 -0
  321. package/dist/chunk-tpgf3t6p.js +1 -0
  322. package/dist/chunk-tpyp8wqr.js +1 -0
  323. package/dist/chunk-trx18gxg.js +1 -0
  324. package/dist/chunk-ts98e90r.js +1 -0
  325. package/dist/chunk-tv1kqdv9.js +1 -0
  326. package/dist/chunk-tvbj84md.js +1 -0
  327. package/dist/chunk-tx71e422.js +1 -0
  328. package/dist/chunk-ty5eswjv.js +1 -0
  329. package/dist/chunk-v1e0cwqh.js +1 -0
  330. package/dist/{chunk-dh3jz71n.js → chunk-v28dexnx.js} +1 -1
  331. package/dist/chunk-v3bw2mnd.js +1 -0
  332. package/dist/chunk-v3ta4qyy.js +1 -0
  333. package/dist/chunk-v85y10pz.js +1 -0
  334. package/dist/chunk-v8ag7wgx.js +1 -0
  335. package/dist/chunk-v9b5r8aq.js +1 -0
  336. package/dist/chunk-vd8byz1r.js +2 -0
  337. package/dist/chunk-vgvekk29.js +1 -0
  338. package/dist/chunk-vjvr9n6y.js +1 -0
  339. package/dist/chunk-vkfgx6sa.js +2 -0
  340. package/dist/{chunk-kbs4px1b.js → chunk-vkfhjhhh.js} +1 -1
  341. package/dist/chunk-vtxyeepe.js +2 -0
  342. package/dist/chunk-vxzscaap.js +1 -0
  343. package/dist/{chunk-9kc9cea3.js → chunk-vyfvrrc8.js} +2 -2
  344. package/dist/chunk-w0me5x6g.js +1 -0
  345. package/dist/{chunk-vjj00e3e.js → chunk-w69pf8zx.js} +2 -2
  346. package/dist/chunk-w895krdx.js +1 -0
  347. package/dist/chunk-w8vzpn90.js +1 -0
  348. package/dist/chunk-wb0ms9q0.js +1 -0
  349. package/dist/chunk-we3jwpsb.js +2 -0
  350. package/dist/chunk-wk8sx9ev.js +1 -0
  351. package/dist/{chunk-jkbtx9va.js → chunk-wtwgpw9g.js} +1 -1
  352. package/dist/chunk-wy3eznsy.js +2 -0
  353. package/dist/chunk-x0mnchxz.js +1 -0
  354. package/dist/chunk-x0qb9311.js +1 -0
  355. package/dist/chunk-x7g4cwft.js +1 -0
  356. package/dist/{chunk-6ty22kkt.js → chunk-xb46b3bf.js} +1 -1
  357. package/dist/chunk-xcea0hn5.js +2 -0
  358. package/dist/{chunk-kxk71nn0.js → chunk-xh3gtpfd.js} +1 -1
  359. package/dist/chunk-xk0abc6t.js +1 -0
  360. package/dist/chunk-xmp5jp4r.js +1 -0
  361. package/dist/{chunk-vc384abg.js → chunk-xzpqbfjh.js} +1 -1
  362. package/dist/chunk-y1f3hfaq.js +1 -0
  363. package/dist/chunk-y3d9nwzf.js +1 -0
  364. package/dist/chunk-y3gfd4y3.js +1 -0
  365. package/dist/{chunk-sft6ep0c.js → chunk-y5pf2d0x.js} +1 -1
  366. package/dist/chunk-y6vatv51.js +1 -0
  367. package/dist/chunk-y971vkwy.js +1 -0
  368. package/dist/chunk-yb2kp04v.js +1 -0
  369. package/dist/chunk-yctck6wf.js +1 -0
  370. package/dist/chunk-yfasv01s.js +1 -0
  371. package/dist/chunk-yj27rmw2.js +1 -0
  372. package/dist/chunk-ypj2k2de.js +1 -0
  373. package/dist/chunk-yr04s6b7.js +1 -0
  374. package/dist/chunk-yr48as8z.js +1 -0
  375. package/dist/chunk-ywas7wb8.js +1 -0
  376. package/dist/chunk-ywp666sg.js +1 -0
  377. package/dist/chunk-yx4mdqvf.js +1 -0
  378. package/dist/chunk-yxwramd1.js +1 -0
  379. package/dist/chunk-yz8sseev.js +1 -0
  380. package/dist/chunk-z0abvgpr.js +1 -0
  381. package/dist/chunk-z46zzhqf.js +1 -0
  382. package/dist/chunk-z6rwg7bs.js +1 -0
  383. package/dist/chunk-zag96nyc.js +2 -0
  384. package/dist/chunk-zb9wth64.js +1 -0
  385. package/dist/chunk-zkfa00mf.js +1 -0
  386. package/dist/chunk-znpdxhep.js +1 -0
  387. package/dist/chunk-zpes0b8m.js +1 -0
  388. package/dist/{chunk-n1d8xx5k.js → chunk-zqx4fcfe.js} +1 -1
  389. package/dist/chunk-zt78xjtr.js +2 -0
  390. package/dist/chunk-ztpff54v.js +1 -0
  391. package/dist/chunk-zv9ac3c0.js +2 -0
  392. package/dist/chunk-zx19re81.js +2 -0
  393. package/dist/cli.js +1 -1
  394. package/dist/nonInteractive.js +3 -3
  395. package/dist/zen-keyboard.js +1 -1
  396. package/package.json +4 -2
  397. package/dist/chunk-3jek9sxm.js +0 -2
  398. package/dist/chunk-3znrwnd8.js +0 -1
  399. package/dist/chunk-4b8yaknt.js +0 -1
  400. package/dist/chunk-5nzs0q25.js +0 -1
  401. package/dist/chunk-70a0e941.js +0 -1
  402. package/dist/chunk-8nhayyat.js +0 -1
  403. package/dist/chunk-cga0m5sy.js +0 -1
  404. package/dist/chunk-e0sqjq2h.js +0 -1
  405. package/dist/chunk-efhkdw2z.js +0 -1
  406. package/dist/chunk-ew7249h9.js +0 -1
  407. package/dist/chunk-hww94vjn.js +0 -1
  408. package/dist/chunk-k67epfhc.js +0 -1
  409. package/dist/chunk-keqk70wm.js +0 -2
  410. package/dist/chunk-mg8zpgaz.js +0 -1
  411. package/dist/chunk-ndtwq2zx.js +0 -2
  412. package/dist/chunk-pdkbrds7.js +0 -1
  413. package/dist/chunk-rdc9pxf6.js +0 -1
  414. package/dist/chunk-vkng13p1.js +0 -424
  415. package/dist/chunk-wbn1hbxf.js +0 -1
@@ -1,4 +1,4 @@
1
- import{Fa as _}from"./chunk-vkng13p1.js";import{Ga as G,Ia as T,Ja as V,Ka as x,La as R}from"./chunk-bjywwcgn.js";function Z($,f="Human",J="AI"){let q=[];for(let B of $){let U;if(B.type==="human")U=f;else if(B.type==="ai")U=J;else if(B.type==="system")U="System";else if(B.type==="tool")U="Tool";else if(B.type==="generic")U=B.role;else throw Error(`Got unsupported message type: ${B.type}`);let O=B.name?`${B.name}, `:"",Q=typeof B.content==="string"?B.content:JSON.stringify(B.content,null,2);q.push(`${U}: ${O}${Q}`)}return q.join(`
1
+ import{yb as _}from"./chunk-mrkf2b3t.js";import{Bb as T,Cb as V,Db as x,Eb as R,zb as G}from"./chunk-pnhf6jtr.js";function Z($,f="Human",J="AI"){let q=[];for(let B of $){let U;if(B.type==="human")U=f;else if(B.type==="ai")U=J;else if(B.type==="system")U="System";else if(B.type==="tool")U="Tool";else if(B.type==="generic")U=B.role;else throw Error(`Got unsupported message type: ${B.type}`);let O=B.name?`${B.name}, `:"",Q=typeof B.content==="string"?B.content:JSON.stringify(B.content,null,2);q.push(`${U}: ${O}${Q}`)}return q.join(`
2
2
  `)}import{REMOVE_ALL_MESSAGES as j,START as I,StateGraph as S}from"@langchain/langgraph";import{AIMessage as v,RemoveMessage as u}from"@langchain/core/messages";import{HumanMessage as b}from"@langchain/core/messages";import{z as K}from"zod";import{promises as W}from"fs";import X from"path";import N from"yaml";var H=($)=>{return $?.replace(process.cwd(),".")||$||""};import{createAgent as P,toolStrategy as p}from"langchain";var E=K.object({summary_of_chat:K.string().describe("对话总结(300-500字):1) 完整复现对话的核心过程(任务背景→关键决策→解决方案→最终结果);2) 明确说明接下来要做什么(后续行动、待完成任务、需要用户确认的事项);3) 突出关键成果和交付物"),name:K.string().describe("记忆名称(kebab-case 格式)"),description:K.string().describe("对于这个记忆的中等长度描述(索引综述,200-500字符,包含背景、关键点、适用场景)"),tags:K.array(K.string()).describe("记忆标签"),category:K.enum(["architecture","bug-fix","workflow","configuration","optimization"]).describe("记忆分类"),created:K.string().describe("创建日期(ISO 格式:YYYY-MM-DD)"),last_updated:K.string().describe("最后更新日期(ISO 格式:YYYY-MM-DD)"),priority:K.enum(["high","medium","low"]).describe("优先级"),context_scope:K.enum(["user","project"]).describe("上下文范围"),content:K.string().describe("记忆内容(详细说明,包含代码示例)")}),k=`你是一个负责分析对话并提取关键信息的智能助手。
3
3
 
4
4
  ## 任务
@@ -250,4 +250,4 @@ name: "${$.name}"
250
250
  description: "${$.description}"
251
251
 
252
252
  ✓ 保存记忆: ${H(Y)}`}var c={smart_memory:async($)=>{let f=await V($.model_id,{modelProvider:$.provider_type,streamUsage:!0,enableThinking:$.enable_thinking??!0}),J=await F(f,Z($.messages));return{switch_command:"",messages:[new u({id:j}),new v(J)]}}};async function A($,f,J,q){let B=await x($,f,J,q);J.thread_id=G(q);let U=await B.invoke(J,{recursionLimit:500,configurable:q.configurable,context:q.context});return{switch_command:"",task_store:U.task_store,messages:U.messages}}function z(){return new S(T).addNode("graph",async($,f)=>{let{switch_command:J}=$;if(J==="smart_memory")return c.smart_memory($);let q=_,B=await R(q),U=(J==="default"?"agents/default":J)||"agents/default";if(!B.includes(U))throw Error(`Unknown agent: ${J||"default"}. Available: ${B.join(", ")}`);return await A(U,q,$,f)}).addEdge(I,"graph").compile()}var O$=z();
253
- export{O$ as ya};
253
+ export{O$ as sb};
@@ -0,0 +1 @@
1
+ import"./chunk-feptb1bb.js";var e=Object.freeze(JSON.parse('{"colors":{"activityBar.background":"#F0F0F0","activityBar.border":"#F0F0F0","activityBar.dropBackground":"#D0D0D0","activityBar.foreground":"#403f53","activityBarBadge.background":"#403f53","activityBarBadge.foreground":"#F0F0F0","badge.background":"#2AA298","badge.foreground":"#F0F0F0","button.background":"#2AA298","button.foreground":"#F0F0F0","debugExceptionWidget.background":"#F0F0F0","debugExceptionWidget.border":"#d9d9d9","debugToolBar.background":"#F0F0F0","descriptionForeground":"#403f53","dropdown.background":"#F0F0F0","dropdown.border":"#d9d9d9","dropdown.foreground":"#403f53","editor.background":"#FBFBFB","editor.findMatchBackground":"#93A1A16c","editor.findMatchHighlightBackground":"#93a1a16c","editor.findRangeHighlightBackground":"#7497a633","editor.foreground":"#403f53","editor.hoverHighlightBackground":"#339cec33","editor.lineHighlightBackground":"#F0F0F0","editor.rangeHighlightBackground":"#7497a633","editor.selectionBackground":"#E0E0E0","editor.selectionHighlightBackground":"#339cec33","editor.wordHighlightBackground":"#339cec33","editor.wordHighlightStrongBackground":"#007dd659","editorCodeLens.foreground":"#403f53","editorCursor.foreground":"#90A7B2","editorError.border":"#FBFBFB","editorError.foreground":"#E64D49","editorGroup.background":"#F6F6F6","editorGroup.border":"#F0F0F0","editorGroupHeader.noTabsBackground":"#F0F0F0","editorGroupHeader.tabsBackground":"#F0F0F0","editorGroupHeader.tabsBorder":"#F0F0F0","editorGutter.addedBackground":"#49d0c5","editorGutter.deletedBackground":"#f76e6e","editorGutter.modifiedBackground":"#6fbef6","editorHoverWidget.background":"#F0F0F0","editorHoverWidget.border":"#d9d9d9","editorIndentGuide.background":"#d9d9d9","editorInlayHint.background":"#F0F0F0","editorInlayHint.foreground":"#403f53","editorLineNumber.activeForeground":"#403f53","editorLineNumber.foreground":"#90A7B2","editorMarkerNavigation.background":"#D0D0D0","editorMarkerNavigationError.background":"#f76e6e","editorMarkerNavigationWarning.background":"#daaa01","editorOverviewRuler.errorForeground":"#E64D49","editorOverviewRuler.warningForeground":"#daaa01","editorRuler.foreground":"#d9d9d9","editorSuggestWidget.background":"#F0F0F0","editorSuggestWidget.border":"#d9d9d9","editorSuggestWidget.foreground":"#403f53","editorSuggestWidget.highlightForeground":"#403f53","editorSuggestWidget.selectedBackground":"#d3e8f8","editorWarning.border":"#daaa01","editorWarning.foreground":"#daaa01","editorWhitespace.foreground":"#d9d9d9","editorWidget.background":"#F0F0F0","editorWidget.border":"#d9d9d9","errorForeground":"#403f53","extensionButton.prominentBackground":"#2AA298","extensionButton.prominentForeground":"#F0F0F0","focusBorder":"#93A1A1","foreground":"#403f53","input.background":"#F0F0F0","input.border":"#d9d9d9","input.foreground":"#403f53","input.placeholderForeground":"#93A1A1","inputOption.activeBorder":"#2AA298","inputValidation.errorBackground":"#f76e6e","inputValidation.errorBorder":"#de3d3b","inputValidation.infoBackground":"#F0F0F0","inputValidation.infoBorder":"#D0D0D0","inputValidation.warningBackground":"#daaa01","inputValidation.warningBorder":"#E0AF02","list.activeSelectionBackground":"#d3e8f8","list.activeSelectionForeground":"#403f53","list.errorForeground":"#E64D49","list.focusBackground":"#d3e8f8","list.focusForeground":"#403f53","list.highlightForeground":"#403f53","list.hoverBackground":"#d3e8f8","list.hoverForeground":"#403f53","list.inactiveSelectionBackground":"#E0E7EA","list.inactiveSelectionForeground":"#403f53","list.warningForeground":"#daaa01","notificationCenter.border":"#CCCCCC","notificationCenterHeader.background":"#F0F0F0","notificationCenterHeader.foreground":"#403f53","notificationLink.foreground":"#994cc3","notificationToast.border":"#CCCCCC","notifications.background":"#F0F0F0","notifications.border":"#CCCCCC","notifications.foreground":"#403f53","panel.background":"#F0F0F0","panel.border":"#d9d9d9","peekView.border":"#d9d9d9","peekViewEditor.background":"#F6F6F6","peekViewEditor.matchHighlightBackground":"#49d0c5","peekViewEditorGutter.background":"#F6F6F6","peekViewResult.background":"#F0F0F0","peekViewResult.fileForeground":"#403f53","peekViewResult.lineForeground":"#403f53","peekViewResult.matchHighlightBackground":"#49d0c5","peekViewResult.selectionBackground":"#E0E7EA","peekViewResult.selectionForeground":"#403f53","peekViewTitle.background":"#F0F0F0","peekViewTitleDescription.foreground":"#403f53","peekViewTitleLabel.foreground":"#403f53","pickerGroup.border":"#d9d9d9","pickerGroup.foreground":"#403f53","progressBar.background":"#2AA298","scrollbar.shadow":"#CCCCCC","selection.background":"#7a8181ad","sideBar.background":"#F0F0F0","sideBar.border":"#F0F0F0","sideBar.foreground":"#403f53","sideBarTitle.foreground":"#403f53","statusBar.background":"#F0F0F0","statusBar.border":"#F0F0F0","statusBar.debuggingBackground":"#F0F0F0","statusBar.debuggingForeground":"#403f53","statusBar.foreground":"#403f53","statusBar.noFolderBackground":"#F0F0F0","statusBar.noFolderForeground":"#403f53","tab.activeBackground":"#F6F6F6","tab.activeForeground":"#403f53","tab.activeModifiedBorder":"#2AA298","tab.border":"#F0F0F0","tab.inactiveBackground":"#F0F0F0","tab.inactiveForeground":"#403f53","tab.inactiveModifiedBorder":"#93A1A1","tab.unfocusedActiveModifiedBorder":"#93A1A1","tab.unfocusedInactiveModifiedBorder":"#93A1A1","terminal.ansiBlack":"#403f53","terminal.ansiBlue":"#288ed7","terminal.ansiBrightBlack":"#403f53","terminal.ansiBrightBlue":"#288ed7","terminal.ansiBrightCyan":"#2AA298","terminal.ansiBrightGreen":"#08916a","terminal.ansiBrightMagenta":"#d6438a","terminal.ansiBrightRed":"#de3d3b","terminal.ansiBrightWhite":"#93A1A1","terminal.ansiBrightYellow":"#daaa01","terminal.ansiCyan":"#2AA298","terminal.ansiGreen":"#08916a","terminal.ansiMagenta":"#d6438a","terminal.ansiRed":"#de3d3b","terminal.ansiWhite":"#93A1A1","terminal.ansiYellow":"#E0AF02","terminal.background":"#F6F6F6","terminal.foreground":"#403f53","titleBar.activeBackground":"#F0F0F0","widget.shadow":"#d9d9d9"},"displayName":"Night Owl Light","name":"night-owl-light","semanticHighlighting":false,"tokenColors":[{"scope":["markup.changed","meta.diff.header.git","meta.diff.header.from-file","meta.diff.header.to-file"],"settings":{"fontStyle":"italic","foreground":"#a2bffc"}},{"scope":"markup.deleted.diff","settings":{"fontStyle":"italic","foreground":"#EF535090"}},{"scope":"markup.inserted.diff","settings":{"fontStyle":"italic","foreground":"#4876d6ff"}},{"settings":{"foreground":"#403f53"}},{"scope":["comment","punctuation.definition.comment"],"settings":{"fontStyle":"italic","foreground":"#989fb1"}},{"scope":"string","settings":{"foreground":"#4876d6"}},{"scope":["string.quoted","variable.other.readwrite.js"],"settings":{"foreground":"#c96765"}},{"scope":"support.constant.math","settings":{"foreground":"#4876d6"}},{"scope":["constant.numeric","constant.character.numeric"],"settings":{"fontStyle":"","foreground":"#aa0982"}},{"scope":["constant.language","punctuation.definition.constant","variable.other.constant"],"settings":{"foreground":"#4876d6"}},{"scope":["constant.character","constant.other"],"settings":{"foreground":"#4876d6"}},{"scope":"constant.character.escape","settings":{"foreground":"#aa0982"}},{"scope":["string.regexp","string.regexp keyword.other"],"settings":{"foreground":"#5ca7e4"}},{"scope":"meta.function punctuation.separator.comma","settings":{"foreground":"#5f7e97"}},{"scope":"variable","settings":{"foreground":"#4876d6"}},{"scope":["punctuation.accessor","keyword"],"settings":{"fontStyle":"italic","foreground":"#994cc3"}},{"scope":["storage","meta.var.expr","meta.class meta.method.declaration meta.var.expr storage.type.js","storage.type.property.js","storage.type.property.ts","storage.type.property.tsx"],"settings":{"fontStyle":"italic","foreground":"#994cc3"}},{"scope":"storage.type","settings":{"foreground":"#994cc3"}},{"scope":"storage.type.function.arrow.js","settings":{"fontStyle":""}},{"scope":["entity.name.class","meta.class entity.name.type.class"],"settings":{"foreground":"#111111"}},{"scope":"entity.other.inherited-class","settings":{"foreground":"#4876d6"}},{"scope":"entity.name.function","settings":{"fontStyle":"italic","foreground":"#994cc3"}},{"scope":["punctuation.definition.tag","meta.tag"],"settings":{"foreground":"#994cc3"}},{"scope":["entity.name.tag","meta.tag.other.html","meta.tag.other.js","meta.tag.other.tsx","entity.name.tag.tsx","entity.name.tag.js","entity.name.tag","meta.tag.js","meta.tag.tsx","meta.tag.html"],"settings":{"fontStyle":"","foreground":"#994cc3"}},{"scope":"entity.other.attribute-name","settings":{"fontStyle":"italic","foreground":"#4876d6"}},{"scope":"entity.name.tag.custom","settings":{"foreground":"#4876d6"}},{"scope":["support.function","support.constant"],"settings":{"foreground":"#4876d6"}},{"scope":"support.constant.meta.property-value","settings":{"foreground":"#0c969b"}},{"scope":["support.type","support.class"],"settings":{"foreground":"#4876d6"}},{"scope":"support.variable.dom","settings":{"foreground":"#4876d6"}},{"scope":"invalid","settings":{"foreground":"#ff2c83"}},{"scope":"invalid.deprecated","settings":{"foreground":"#d3423e"}},{"scope":"keyword.operator","settings":{"fontStyle":"","foreground":"#0c969b"}},{"scope":"keyword.operator.relational","settings":{"fontStyle":"italic","foreground":"#994cc3"}},{"scope":"keyword.operator.assignment","settings":{"foreground":"#994cc3"}},{"scope":"keyword.operator.arithmetic","settings":{"foreground":"#994cc3"}},{"scope":"keyword.operator.bitwise","settings":{"foreground":"#994cc3"}},{"scope":"keyword.operator.increment","settings":{"foreground":"#994cc3"}},{"scope":"keyword.operator.ternary","settings":{"foreground":"#994cc3"}},{"scope":"comment.line.double-slash","settings":{"foreground":"#939dbb"}},{"scope":"object","settings":{"foreground":"#cdebf7"}},{"scope":"constant.language.null","settings":{"foreground":"#bc5454"}},{"scope":"meta.brace","settings":{"foreground":"#403f53"}},{"scope":"meta.delimiter.period","settings":{"fontStyle":"italic","foreground":"#994cc3"}},{"scope":"punctuation.definition.string","settings":{"foreground":"#111111"}},{"scope":"punctuation.definition.string.begin.markdown","settings":{"foreground":"#bc5454"}},{"scope":"constant.language.boolean","settings":{"foreground":"#bc5454"}},{"scope":"object.comma","settings":{"foreground":"#ffffff"}},{"scope":"variable.parameter.function","settings":{"fontStyle":"","foreground":"#0c969b"}},{"scope":["support.type.vendor.property-name","support.constant.vendor.property-value","support.type.property-name","meta.property-list entity.name.tag"],"settings":{"fontStyle":"","foreground":"#0c969b"}},{"scope":"meta.property-list entity.name.tag.reference","settings":{"foreground":"#57eaf1"}},{"scope":"constant.other.color.rgb-value punctuation.definition.constant","settings":{"foreground":"#aa0982"}},{"scope":"constant.other.color","settings":{"foreground":"#aa0982"}},{"scope":"keyword.other.unit","settings":{"foreground":"#aa0982"}},{"scope":"meta.selector","settings":{"fontStyle":"italic","foreground":"#994cc3"}},{"scope":"entity.other.attribute-name.id","settings":{"foreground":"#aa0982"}},{"scope":"meta.property-name","settings":{"foreground":"#0c969b"}},{"scope":["entity.name.tag.doctype","meta.tag.sgml.doctype"],"settings":{"fontStyle":"italic","foreground":"#994cc3"}},{"scope":"punctuation.definition.parameters","settings":{"foreground":"#111111"}},{"scope":"keyword.control.operator","settings":{"foreground":"#0c969b"}},{"scope":"keyword.operator.logical","settings":{"fontStyle":"","foreground":"#994cc3"}},{"scope":["variable.instance","variable.other.instance","variable.readwrite.instance","variable.other.readwrite.instance","variable.other.property"],"settings":{"foreground":"#0c969b"}},{"scope":["variable.other.object.property"],"settings":{"fontStyle":"italic","foreground":"#111111"}},{"scope":["variable.other.object.js"],"settings":{"fontStyle":""}},{"scope":["entity.name.function"],"settings":{"fontStyle":"italic","foreground":"#4876d6"}},{"scope":["keyword.operator.comparison","keyword.control.flow.js","keyword.control.flow.ts","keyword.control.flow.tsx","keyword.control.ruby","keyword.control.module.ruby","keyword.control.class.ruby","keyword.control.def.ruby","keyword.control.loop.js","keyword.control.loop.ts","keyword.control.import.js","keyword.control.import.ts","keyword.control.import.tsx","keyword.control.from.js","keyword.control.from.ts","keyword.control.from.tsx","keyword.operator.instanceof.js","keyword.operator.expression.instanceof.ts","keyword.operator.expression.instanceof.tsx"],"settings":{"fontStyle":"italic","foreground":"#994cc3"}},{"scope":["keyword.control.conditional.js","keyword.control.conditional.ts","keyword.control.switch.js","keyword.control.switch.ts"],"settings":{"fontStyle":"","foreground":"#994cc3"}},{"scope":["support.constant","keyword.other.special-method","keyword.other.new","keyword.other.debugger","keyword.control"],"settings":{"foreground":"#0c969b"}},{"scope":"support.function","settings":{"foreground":"#4876d6"}},{"scope":"invalid.broken","settings":{"foreground":"#aa0982"}},{"scope":"invalid.unimplemented","settings":{"foreground":"#8BD649"}},{"scope":"invalid.illegal","settings":{"foreground":"#c96765"}},{"scope":"variable.language","settings":{"foreground":"#0c969b"}},{"scope":"support.variable.property","settings":{"foreground":"#0c969b"}},{"scope":"variable.function","settings":{"foreground":"#4876d6"}},{"scope":"variable.interpolation","settings":{"foreground":"#ec5f67"}},{"scope":"meta.function-call","settings":{"foreground":"#4876d6"}},{"scope":"punctuation.section.embedded","settings":{"foreground":"#d3423e"}},{"scope":["punctuation.terminator.expression","punctuation.definition.arguments","punctuation.definition.array","punctuation.section.array","meta.array"],"settings":{"foreground":"#403f53"}},{"scope":["punctuation.definition.list.begin","punctuation.definition.list.end","punctuation.separator.arguments","punctuation.definition.list"],"settings":{"foreground":"#111111"}},{"scope":"string.template meta.template.expression","settings":{"foreground":"#d3423e"}},{"scope":"string.template punctuation.definition.string","settings":{"foreground":"#403f53"}},{"scope":"italic","settings":{"fontStyle":"italic","foreground":"#994cc3"}},{"scope":"bold","settings":{"fontStyle":"bold","foreground":"#4876d6"}},{"scope":"quote","settings":{"fontStyle":"italic","foreground":"#697098"}},{"scope":"raw","settings":{"foreground":"#0c969b"}},{"scope":"variable.assignment.coffee","settings":{"foreground":"#31e1eb"}},{"scope":"variable.parameter.function.coffee","settings":{"foreground":"#403f53"}},{"scope":"variable.assignment.coffee","settings":{"foreground":"#0c969b"}},{"scope":"variable.other.readwrite.cs","settings":{"foreground":"#403f53"}},{"scope":["entity.name.type.class.cs","storage.type.cs"],"settings":{"foreground":"#4876d6"}},{"scope":"entity.name.type.namespace.cs","settings":{"foreground":"#0c969b"}},{"scope":["entity.name.tag.css","entity.name.tag.less","entity.name.tag.custom.css","support.constant.property-value.css"],"settings":{"fontStyle":"","foreground":"#c96765"}},{"scope":["entity.name.tag.wildcard.css","entity.name.tag.wildcard.less","entity.name.tag.wildcard.scss","entity.name.tag.wildcard.sass"],"settings":{"foreground":"#0c969b"}},{"scope":"keyword.other.unit.css","settings":{"foreground":"#4876d6"}},{"scope":["meta.attribute-selector.css entity.other.attribute-name.attribute","variable.other.readwrite.js"],"settings":{"foreground":"#aa0982"}},{"scope":["source.elixir support.type.elixir","source.elixir meta.module.elixir entity.name.class.elixir"],"settings":{"foreground":"#4876d6"}},{"scope":"source.elixir entity.name.function","settings":{"foreground":"#4876d6"}},{"scope":["source.elixir constant.other.symbol.elixir","source.elixir constant.other.keywords.elixir"],"settings":{"foreground":"#4876d6"}},{"scope":"source.elixir punctuation.definition.string","settings":{"foreground":"#4876d6"}},{"scope":["source.elixir variable.other.readwrite.module.elixir","source.elixir variable.other.readwrite.module.elixir punctuation.definition.variable.elixir"],"settings":{"foreground":"#4876d6"}},{"scope":"source.elixir .punctuation.binary.elixir","settings":{"fontStyle":"italic","foreground":"#994cc3"}},{"scope":"constant.keyword.clojure","settings":{"foreground":"#0c969b"}},{"scope":"source.go meta.function-call.go","settings":{"foreground":"#0c969b"}},{"scope":["source.go keyword.package.go","source.go keyword.import.go","source.go keyword.function.go","source.go keyword.type.go","source.go keyword.struct.go","source.go keyword.interface.go","source.go keyword.const.go","source.go keyword.var.go","source.go keyword.map.go","source.go keyword.channel.go","source.go keyword.control.go"],"settings":{"fontStyle":"italic","foreground":"#994cc3"}},{"scope":["source.go constant.language.go","source.go constant.other.placeholder.go"],"settings":{"foreground":"#bc5454"}},{"scope":["entity.name.function.preprocessor.cpp","entity.scope.name.cpp"],"settings":{"foreground":"#0c969bff"}},{"scope":["meta.namespace-block.cpp"],"settings":{"foreground":"#111111"}},{"scope":["storage.type.language.primitive.cpp"],"settings":{"foreground":"#bc5454"}},{"scope":["meta.preprocessor.macro.cpp"],"settings":{"foreground":"#403f53"}},{"scope":["variable.parameter"],"settings":{"foreground":"#111111"}},{"scope":["variable.other.readwrite.powershell"],"settings":{"foreground":"#4876d6"}},{"scope":["support.function.powershell"],"settings":{"foreground":"#0c969bff"}},{"scope":"entity.other.attribute-name.id.html","settings":{"foreground":"#4876d6"}},{"scope":"punctuation.definition.tag.html","settings":{"foreground":"#994cc3"}},{"scope":"meta.tag.sgml.doctype.html","settings":{"fontStyle":"italic","foreground":"#994cc3"}},{"scope":"meta.class entity.name.type.class.js","settings":{"foreground":"#111111"}},{"scope":"meta.method.declaration storage.type.js","settings":{"foreground":"#4876d6"}},{"scope":"terminator.js","settings":{"foreground":"#403f53"}},{"scope":"meta.js punctuation.definition.js","settings":{"foreground":"#403f53"}},{"scope":["entity.name.type.instance.jsdoc","entity.name.type.instance.phpdoc"],"settings":{"foreground":"#5f7e97"}},{"scope":["variable.other.jsdoc","variable.other.phpdoc"],"settings":{"foreground":"#78ccf0"}},{"scope":["variable.other.meta.import.js","meta.import.js variable.other","variable.other.meta.export.js","meta.export.js variable.other"],"settings":{"foreground":"#403f53"}},{"scope":"variable.parameter.function.js","settings":{"foreground":"#7986E7"}},{"scope":["variable.other.object.js","variable.other.object.jsx","variable.object.property.js","variable.object.property.jsx"],"settings":{"foreground":"#403f53"}},{"scope":["variable.js","variable.other.js"],"settings":{"foreground":"#403f53"}},{"scope":["entity.name.type.js","entity.name.type.module.js"],"settings":{"fontStyle":"","foreground":"#111111"}},{"scope":"support.class.js","settings":{"foreground":"#403f53"}},{"scope":"support.type.property-name.json","settings":{"foreground":"#0c969b"}},{"scope":"support.constant.json","settings":{"foreground":"#4876d6"}},{"scope":"meta.structure.dictionary.value.json string.quoted.double","settings":{"foreground":"#c789d6"}},{"scope":"string.quoted.double.json punctuation.definition.string.json","settings":{"foreground":"#0c969b"}},{"scope":"meta.structure.dictionary.json meta.structure.dictionary.value constant.language","settings":{"foreground":"#bc5454"}},{"scope":"variable.other.object.js","settings":{"fontStyle":"italic","foreground":"#0c969b"}},{"scope":["variable.other.ruby"],"settings":{"foreground":"#403f53"}},{"scope":["entity.name.type.class.ruby"],"settings":{"foreground":"#c96765"}},{"scope":"constant.language.symbol.hashkey.ruby","settings":{"foreground":"#0c969b"}},{"scope":"constant.language.symbol.ruby","settings":{"foreground":"#0c969b"}},{"scope":"entity.name.tag.less","settings":{"foreground":"#994cc3"}},{"scope":"keyword.other.unit.css","settings":{"foreground":"#0c969b"}},{"scope":"meta.attribute-selector.less entity.other.attribute-name.attribute","settings":{"foreground":"#aa0982"}},{"scope":["markup.heading","markup.heading.setext.1","markup.heading.setext.2"],"settings":{"foreground":"#4876d6"}},{"scope":"markup.italic","settings":{"fontStyle":"italic","foreground":"#994cc3"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#4876d6"}},{"scope":"markup.quote","settings":{"fontStyle":"italic","foreground":"#697098"}},{"scope":"markup.inline.raw","settings":{"foreground":"#0c969b"}},{"scope":["markup.underline.link","markup.underline.link.image"],"settings":{"foreground":"#ff869a"}},{"scope":["string.other.link.title.markdown","string.other.link.description.markdown"],"settings":{"foreground":"#403f53"}},{"scope":["punctuation.definition.string.markdown","punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown","meta.link.inline.markdown punctuation.definition.string"],"settings":{"foreground":"#4876d6"}},{"scope":["punctuation.definition.metadata.markdown"],"settings":{"foreground":"#0c969b"}},{"scope":["beginning.punctuation.definition.list.markdown"],"settings":{"foreground":"#4876d6"}},{"scope":"markup.inline.raw.string.markdown","settings":{"foreground":"#4876d6"}},{"scope":["variable.other.php","variable.other.property.php"],"settings":{"foreground":"#111111"}},{"scope":"support.class.php","settings":{"foreground":"#111111"}},{"scope":"meta.function-call.php punctuation","settings":{"foreground":"#403f53"}},{"scope":"variable.other.global.php","settings":{"foreground":"#4876d6"}},{"scope":"variable.other.global.php punctuation.definition.variable","settings":{"foreground":"#4876d6"}},{"scope":"constant.language.python","settings":{"foreground":"#bc5454"}},{"scope":["variable.parameter.function.python","meta.function-call.arguments.python"],"settings":{"foreground":"#4876d6"}},{"scope":["meta.function-call.python","meta.function-call.generic.python"],"settings":{"foreground":"#0c969b"}},{"scope":"punctuation.python","settings":{"foreground":"#403f53"}},{"scope":"entity.name.function.decorator.python","settings":{"foreground":"#4876d6"}},{"scope":"source.python variable.language.special","settings":{"foreground":"#aa0982"}},{"scope":"keyword.control","settings":{"fontStyle":"italic","foreground":"#994cc3"}},{"scope":["variable.scss","variable.sass","variable.parameter.url.scss","variable.parameter.url.sass"],"settings":{"foreground":"#4876d6"}},{"scope":["source.css.scss meta.at-rule variable","source.css.sass meta.at-rule variable"],"settings":{"foreground":"#4876d6"}},{"scope":["source.css.scss meta.at-rule variable","source.css.sass meta.at-rule variable"],"settings":{"foreground":"#111111"}},{"scope":["meta.attribute-selector.scss entity.other.attribute-name.attribute","meta.attribute-selector.sass entity.other.attribute-name.attribute"],"settings":{"foreground":"#aa0982"}},{"scope":["entity.name.tag.scss","entity.name.tag.sass"],"settings":{"foreground":"#0c969b"}},{"scope":["keyword.other.unit.scss","keyword.other.unit.sass"],"settings":{"foreground":"#994cc3"}},{"scope":["variable.other.readwrite.alias.ts","variable.other.readwrite.alias.tsx","variable.other.readwrite.ts","variable.other.readwrite.tsx","variable.other.object.ts","variable.other.object.tsx","variable.object.property.ts","variable.object.property.tsx","variable.other.ts","variable.other.tsx","variable.tsx","variable.ts"],"settings":{"foreground":"#403f53"}},{"scope":["entity.name.type.ts","entity.name.type.tsx"],"settings":{"foreground":"#111111"}},{"scope":["support.class.node.ts","support.class.node.tsx"],"settings":{"foreground":"#4876d6"}},{"scope":["meta.type.parameters.ts entity.name.type","meta.type.parameters.tsx entity.name.type"],"settings":{"foreground":"#5f7e97"}},{"scope":["meta.import.ts punctuation.definition.block","meta.import.tsx punctuation.definition.block","meta.export.ts punctuation.definition.block","meta.export.tsx punctuation.definition.block"],"settings":{"foreground":"#403f53"}},{"scope":["meta.decorator punctuation.decorator.ts","meta.decorator punctuation.decorator.tsx"],"settings":{"foreground":"#4876d6"}},{"scope":"meta.tag.js meta.jsx.children.tsx","settings":{"foreground":"#4876d6"}},{"scope":"entity.name.tag.yaml","settings":{"foreground":"#111111"}},{"scope":["variable.other.readwrite.js","variable.parameter"],"settings":{"foreground":"#403f53"}},{"scope":["support.class.component.js","support.class.component.tsx"],"settings":{"fontStyle":"","foreground":"#aa0982"}},{"scope":["meta.jsx.children","meta.jsx.children.js","meta.jsx.children.tsx"],"settings":{"foreground":"#403f53"}},{"scope":"meta.class entity.name.type.class.tsx","settings":{"foreground":"#111111"}},{"scope":["entity.name.type.tsx","entity.name.type.module.tsx"],"settings":{"foreground":"#111111"}},{"scope":["meta.class.ts meta.var.expr.ts storage.type.ts","meta.class.tsx meta.var.expr.tsx storage.type.tsx"],"settings":{"foreground":"#994CC3"}},{"scope":["meta.method.declaration storage.type.ts","meta.method.declaration storage.type.tsx"],"settings":{"foreground":"#4876d6"}},{"scope":["meta.property-list.css meta.property-value.css variable.other.less","meta.property-list.scss variable.scss","meta.property-list.sass variable.sass","meta.brace","keyword.operator.operator","keyword.operator.or.regexp","keyword.operator.expression.in","keyword.operator.relational","keyword.operator.assignment","keyword.operator.comparison","keyword.operator.type","keyword.operator","keyword","punctuation.definintion.string","punctuation","variable.other.readwrite.js","storage.type","source.css","string.quoted"],"settings":{"fontStyle":""}}],"type":"light"}'));export{e as default};
@@ -0,0 +1 @@
1
+ import"./chunk-feptb1bb.js";var n=Object.freeze(JSON.parse('{"displayName":"KDL","name":"kdl","patterns":[{"include":"#forbidden_ident"},{"include":"#null"},{"include":"#boolean"},{"include":"#float_keyword"},{"include":"#float_fraction"},{"include":"#float_exp"},{"include":"#decimal"},{"include":"#hexadecimal"},{"include":"#octal"},{"include":"#binary"},{"include":"#raw-string"},{"include":"#string_multi_line"},{"include":"#string_single_line"},{"include":"#block_comment"},{"include":"#block_doc_comment"},{"include":"#slashdash_block_comment"},{"include":"#slashdash_comment"},{"include":"#slashdash_node_comment"},{"include":"#slashdash_node_with_children_comment"},{"include":"#line_comment"},{"include":"#attribute"},{"include":"#node_name"},{"include":"#ident_string"}],"repository":{"attribute":{"captures":{"1":{"name":"punctuation.separator.key-value.kdl"}},"match":"(?![]#/;=\\\\[\\\\\\\\{}])[!$-.:<>?@^_`|~\\\\w]+\\\\d*[!$-.:<>?@^_`|~\\\\w]*(=)","name":"entity.other.attribute-name.kdl"},"binary":{"match":"\\\\b0b[01][01_]*\\\\b","name":"constant.numeric.integer.binary.rust"},"block_comment":{"begin":"/\\\\*","end":"\\\\*/","name":"comment.block.kdl","patterns":[{"include":"#block_doc_comment"},{"include":"#block_comment"}]},"block_doc_comment":{"begin":"/\\\\*[!*](?![*/])","end":"\\\\*/","name":"comment.block.documentation.kdl","patterns":[{"include":"#block_doc_comment"},{"include":"#block_comment"}]},"boolean":{"match":"#(?:true|false)","name":"constant.language.boolean.kdl"},"decimal":{"match":"\\\\b[-+0-9][0-9_]*\\\\b","name":"constant.numeric.integer.decimal.rust"},"float_exp":{"match":"\\\\b[0-9][0-9_]*(\\\\.[0-9][0-9_]*)?[Ee][-+]?[0-9_]+\\\\b","name":"constant.numeric.float.rust"},"float_fraction":{"match":"\\\\b([-+0-9])[0-9_]*\\\\.[0-9][0-9_]*([Ee][-+]?[0-9_]+)?\\\\b","name":"constant.numeric.float.rust"},"float_keyword":{"match":"#(?:nan|inf|-inf)","name":"constant.language.other.kdl"},"forbidden_ident":{"match":"(?<!#)(?:true|false|null|nan|-?inf)","name":"invalid.illegal.kdl.bad-ident"},"hexadecimal":{"match":"\\\\b0x\\\\h[_\\\\h]*\\\\b","name":"constant.numeric.integer.hexadecimal.rust"},"ident_string":{"match":"(?![]#/;=\\\\[\\\\\\\\{}])[!$-.:<>?@^_`|~\\\\w]+\\\\d*[!$-.:<>?@^_`|~\\\\w]*","name":"string.unquoted"},"line_comment":{"begin":"//","end":"$","name":"comment.line.double-slash.kdl"},"node_name":{"match":"((?<=[;{])|^)\\\\s*(?![]#/;=\\\\[\\\\\\\\{}])[!$-.:<>?@^_`|~\\\\w]+\\\\d*[!$-.:<>?@^_`|~\\\\w]*","name":"entity.name.tag"},"null":{"match":"#null","name":"constant.language.null.kdl"},"octal":{"match":"\\\\b0o[0-7][0-7_]*\\\\b","name":"constant.numeric.integer.octal.rust"},"raw-string":{"begin":"(#+)(\\"(?:\\"\\"|))","end":"\\\\2\\\\1","name":"string.quoted.other.raw.kdl"},"slashdash_block_comment":{"begin":"/-\\\\s*\\\\{","end":"}","name":"comment.block.slashdash.kdl"},"slashdash_comment":{"begin":"(?<!^)\\\\s*/-\\\\s*","end":"\\\\s","name":"comment.block.slashdash.kdl"},"slashdash_node_comment":{"begin":"(?<=^)\\\\s*/-[^{]+$","end":";|(?<!\\\\\\\\)$","name":"comment.block.slashdash.kdl"},"slashdash_node_with_children_comment":{"begin":"(?<=^)\\\\s*/-[^{]+\\\\{","end":"}","name":"comment.block.slashdash.kdl"},"string_multi_line":{"begin":"\\"\\"\\"","end":"\\"\\"\\"","name":"string.quoted.triple.kdl","patterns":[{"match":"\\\\\\\\(:?[\\"\\\\\\\\bfnrst]|u\\\\{\\\\h{1,6}})","name":"constant.character.escape.kdl"}]},"string_single_line":{"begin":"\\"","end":"\\"","name":"string.quoted.double.kdl","patterns":[{"match":"\\\\\\\\(:?[\\"\\\\\\\\bfnrst]|u\\\\{\\\\h{1,6}})","name":"constant.character.escape.kdl"}]}},"scopeName":"source.kdl"}')),e=[n];export{e as default};
@@ -0,0 +1,2 @@
1
+ var e=Object.freeze(JSON.parse('{"displayName":"Haxe","fileTypes":["hx","dump"],"name":"haxe","patterns":[{"include":"#all"}],"repository":{"abstract":{"begin":"(?=abstract\\\\s+[A-Z])","end":"(?<=})|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"name":"meta.abstract.hx","patterns":[{"include":"#abstract-name"},{"include":"#abstract-name-post"},{"include":"#abstract-block"}]},"abstract-block":{"begin":"(?<=\\\\{)","end":"(})","endCaptures":{"1":{"name":"punctuation.definition.block.end.hx"}},"name":"meta.block.hx","patterns":[{"include":"#method"},{"include":"#modifiers"},{"include":"#variable"},{"include":"#block"},{"include":"#block-contents"}]},"abstract-name":{"begin":"\\\\b(abstract)\\\\b","beginCaptures":{"1":{"name":"storage.type.class.hx"}},"end":"([A-Z_a-z]\\\\w*)","endCaptures":{"1":{"name":"entity.name.type.class.hx"}},"patterns":[{"include":"#global"}]},"abstract-name-post":{"begin":"(?<=\\\\w)","end":"([;{])","endCaptures":{"1":{"name":"punctuation.definition.block.begin.hx"}},"patterns":[{"include":"#global"},{"match":"\\\\b(from|to)\\\\b","name":"keyword.other.hx"},{"include":"#type"},{"match":"[()]","name":"punctuation.definition.other.hx"}]},"accessor-method":{"patterns":[{"match":"\\\\b([gs]et)_[A-Z_a-z]\\\\w*\\\\b","name":"entity.name.function.hx"}]},"all":{"patterns":[{"include":"#global"},{"include":"#package"},{"include":"#import"},{"include":"#using"},{"match":"\\\\b(final)\\\\b(?=\\\\s+(class|interface|extern|private)\\\\b)","name":"storage.modifier.hx"},{"include":"#abstract"},{"include":"#class"},{"include":"#enum"},{"include":"#interface"},{"include":"#typedef"},{"include":"#block"},{"include":"#block-contents"}]},"array":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.array.begin.hx"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.array.end.hx"}},"name":"meta.array.literal.hx","patterns":[{"include":"#block"},{"include":"#block-contents"}]},"arrow-function":{"begin":"(\\\\()(?=[^(]*?\\\\)\\\\s*->)","beginCaptures":{"1":{"name":"punctuation.definition.parameters.begin.hx"}},"end":"(\\\\))\\\\s*(->)","endCaptures":{"1":{"name":"punctuation.definition.parameters.end.hx"},"2":{"name":"storage.type.function.arrow.hx"}},"name":"meta.method.arrow.hx","patterns":[{"include":"#arrow-function-parameter"}]},"arrow-function-parameter":{"begin":"(?<=[(,])","end":"(?=[),])","patterns":[{"include":"#parameter-name"},{"include":"#arrow-function-parameter-type-hint"},{"include":"#parameter-assign"},{"include":"#punctuation-comma"},{"include":"#global"}]},"arrow-function-parameter-type-hint":{"begin":":","beginCaptures":{"0":{"name":"keyword.operator.type.annotation.hx"}},"end":"(?=[),=])","patterns":[{"include":"#type"}]},"block":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.begin.hx"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.end.hx"}},"patterns":[{"include":"#block"},{"include":"#block-contents"}]},"block-contents":{"patterns":[{"include":"#global"},{"include":"#regex"},{"include":"#array"},{"include":"#constants"},{"include":"#strings"},{"include":"#metadata"},{"include":"#method"},{"include":"#variable"},{"include":"#modifiers"},{"include":"#new-expr"},{"include":"#for-loop"},{"include":"#keywords"},{"include":"#arrow-function"},{"include":"#method-call"},{"include":"#enum-constructor-call"},{"include":"#punctuation-braces"},{"include":"#macro-reification"},{"include":"#operators"},{"include":"#operator-assignment"},{"include":"#punctuation-terminator"},{"include":"#punctuation-comma"},{"include":"#punctuation-accessor"},{"include":"#identifiers"}]},"class":{"begin":"(?=class)","end":"(?<=})|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"name":"meta.class.hx","patterns":[{"include":"#class-name"},{"include":"#class-name-post"},{"include":"#class-block"}]},"class-block":{"begin":"(?<=\\\\{)","end":"(})","endCaptures":{"1":{"name":"punctuation.definition.block.end.hx"}},"name":"meta.block.hx","patterns":[{"include":"#method"},{"include":"#modifiers"},{"include":"#variable"},{"include":"#block"},{"include":"#block-contents"}]},"class-name":{"begin":"\\\\b(class)\\\\b","beginCaptures":{"1":{"name":"storage.type.class.hx"}},"end":"([A-Z_a-z]\\\\w*)","endCaptures":{"1":{"name":"entity.name.type.class.hx"}},"name":"meta.class.identifier.hx","patterns":[{"include":"#global"}]},"class-name-post":{"begin":"(?<=\\\\w)","end":"([;{])","endCaptures":{"1":{"name":"punctuation.definition.block.begin.hx"}},"patterns":[{"include":"#modifiers-inheritance"},{"include":"#type"}]},"comments":{"patterns":[{"begin":"/\\\\*\\\\*(?!/)","beginCaptures":{"0":{"name":"punctuation.definition.comment.hx"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.hx"}},"name":"comment.block.documentation.hx","patterns":[{"include":"#javadoc-tags"}]},{"begin":"/\\\\*","beginCaptures":{"0":{"name":"punctuation.definition.comment.hx"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.hx"}},"name":"comment.block.hx","patterns":[{"include":"#javadoc-tags"}]},{"captures":{"1":{"name":"punctuation.definition.comment.hx"}},"match":"(//).*$\\\\n?","name":"comment.line.double-slash.hx"}]},"conditional-compilation":{"patterns":[{"captures":{"0":{"name":"punctuation.definition.tag"}},"match":"((#(if|elseif))[!\\\\s]+([A-Z_a-z][0-9A-Z_a-z]*(\\\\.[A-Z_a-z][0-9A-Z_a-z]*)*)(?=\\\\s|/\\\\*|//))"},{"begin":"((#(if|elseif))[!\\\\s]*)(?=\\\\()","beginCaptures":{"0":{"name":"punctuation.definition.tag"}},"end":"(?<=[\\\\n)])","endCaptures":{"0":{"name":"punctuation.definition.tag"}},"name":"punctuation.definition.tag","patterns":[{"include":"#conditional-compilation-parens"}]},{"match":"(#(end|else|error|line))","name":"punctuation.definition.tag"},{"match":"(#([0-9A-Z_a-z]*))\\\\s","name":"punctuation.definition.tag"}]},"conditional-compilation-parens":{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"#conditional-compilation-parens"}]},"constant-name":{"match":"\\\\b([A-Z_][0-9A-Z_]*)\\\\b","name":"variable.other.hx"},"constants":{"patterns":[{"match":"\\\\b(true|false|null)\\\\b","name":"constant.language.hx"},{"captures":{"0":{"name":"constant.numeric.hex.hx"},"1":{"name":"constant.numeric.suffix.hx"}},"match":"\\\\b0[Xx]\\\\h[_\\\\h]*([iu][0-9][0-9_]*)?\\\\b"},{"captures":{"0":{"name":"constant.numeric.bin.hx"},"1":{"name":"constant.numeric.suffix.hx"}},"match":"\\\\b0[Bb][01][01_]*([iu][0-9][0-9_]*)?\\\\b"},{"captures":{"0":{"name":"constant.numeric.decimal.hx"},"1":{"name":"meta.delimiter.decimal.period.hx"},"2":{"name":"constant.numeric.suffix.hx"},"3":{"name":"meta.delimiter.decimal.period.hx"},"4":{"name":"constant.numeric.suffix.hx"},"5":{"name":"meta.delimiter.decimal.period.hx"},"6":{"name":"constant.numeric.suffix.hx"},"7":{"name":"constant.numeric.suffix.hx"},"8":{"name":"meta.delimiter.decimal.period.hx"},"9":{"name":"constant.numeric.suffix.hx"},"10":{"name":"meta.delimiter.decimal.period.hx"},"11":{"name":"constant.numeric.suffix.hx"},"12":{"name":"meta.delimiter.decimal.period.hx"},"13":{"name":"constant.numeric.suffix.hx"},"14":{"name":"constant.numeric.suffix.hx"}},"match":"(?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9_]+[Ee][-+]?[0-9_]+([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9_]+([fiu][0-9][0-9_]*)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9_]+([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9_]+([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(?!\\\\.)(?:\\\\B|([fiu][0-9][0-9_]*)\\\\b)|\\\\B(\\\\.)[0-9][0-9_]*([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*([fiu][0-9][0-9_]*)?\\\\b)(?!\\\\$)"}]},"enum":{"begin":"(?=enum\\\\s+[A-Z])","end":"(?<=})|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"name":"meta.enum.hx","patterns":[{"include":"#enum-name"},{"include":"#enum-name-post"},{"include":"#enum-block"}]},"enum-block":{"begin":"(?<=\\\\{)","end":"(})","endCaptures":{"1":{"name":"punctuation.definition.block.end.hx"}},"name":"meta.block.hx","patterns":[{"include":"#global"},{"include":"#metadata"},{"include":"#parameters"},{"include":"#identifiers"}]},"enum-constructor-call":{"begin":"\\\\b(?<!\\\\.)((_*[a-z]\\\\w*\\\\.)*)(_*[A-Z]\\\\w*)(?:(\\\\.)(_*[A-Z]\\\\w*[a-z]\\\\w*))*\\\\s*(\\\\()","beginCaptures":{"1":{"name":"support.package.hx"},"3":{"name":"entity.name.type.hx"},"4":{"name":"support.package.hx"},"5":{"name":"entity.name.type.hx"},"6":{"name":"meta.brace.round.hx"}},"end":"(\\\\))","endCaptures":{"1":{"name":"meta.brace.round.hx"}},"patterns":[{"include":"#block"},{"include":"#block-contents"}]},"enum-name":{"begin":"\\\\b(enum)\\\\b","beginCaptures":{"1":{"name":"storage.type.class.hx"}},"end":"([A-Z_a-z]\\\\w*)","endCaptures":{"1":{"name":"entity.name.type.class.hx"}},"patterns":[{"include":"#global"}]},"enum-name-post":{"begin":"(?<=\\\\w)","end":"([;{])","endCaptures":{"1":{"name":"punctuation.definition.block.begin.hx"}},"patterns":[{"include":"#type"}]},"for-loop":{"begin":"\\\\b(for)\\\\b\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.control.flow-control.hx"},"2":{"name":"meta.brace.round.hx"}},"end":"(\\\\))","endCaptures":{"1":{"name":"meta.brace.round.hx"}},"patterns":[{"match":"\\\\b(in)\\\\b","name":"keyword.other.in.hx"},{"include":"#block"},{"include":"#block-contents"}]},"function-type":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.hx"}},"patterns":[{"include":"#function-type-parameter"}]},"function-type-parameter":{"begin":"(?<=[(,])","end":"(?=[),])","patterns":[{"include":"#global"},{"include":"#metadata"},{"include":"#operator-optional"},{"include":"#punctuation-comma"},{"include":"#function-type-parameter-name"},{"include":"#function-type-parameter-type-hint"},{"include":"#parameter-assign"},{"include":"#type"},{"include":"#global"}]},"function-type-parameter-name":{"captures":{"1":{"name":"variable.parameter.hx"}},"match":"([A-Z_a-z]\\\\w*)(?=\\\\s*:)"},"function-type-parameter-type-hint":{"begin":":","beginCaptures":{"0":{"name":"keyword.operator.type.annotation.hx"}},"end":"(?=[),=])","patterns":[{"include":"#type"}]},"global":{"patterns":[{"include":"#comments"},{"include":"#conditional-compilation"}]},"identifier-name":{"match":"\\\\b([A-Z_a-z]\\\\w*)\\\\b","name":"variable.other.hx"},"identifiers":{"patterns":[{"include":"#constant-name"},{"include":"#type-name"},{"include":"#identifier-name"}]},"import":{"begin":"import\\\\b","beginCaptures":{"0":{"name":"keyword.control.import.hx"}},"end":"$|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"patterns":[{"include":"#type-path"},{"match":"\\\\b(as)\\\\b","name":"keyword.control.as.hx"},{"match":"\\\\b(in)\\\\b","name":"keyword.control.in.hx"},{"match":"\\\\*","name":"constant.language.import-all.hx"},{"match":"\\\\b([A-Z_a-z]\\\\w*)\\\\b(?=\\\\s*(as|in|$|(;)))","name":"variable.other.hxt"},{"include":"#type-path-package-name"}]},"interface":{"begin":"(?=interface)","end":"(?<=})|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"name":"meta.interface.hx","patterns":[{"include":"#interface-name"},{"include":"#interface-name-post"},{"include":"#interface-block"}]},"interface-block":{"begin":"(?<=\\\\{)","end":"(})","endCaptures":{"1":{"name":"punctuation.definition.block.end.hx"}},"name":"meta.block.hx","patterns":[{"include":"#method"},{"include":"#variable"},{"include":"#block"},{"include":"#block-contents"}]},"interface-name":{"begin":"\\\\b(interface)\\\\b","beginCaptures":{"1":{"name":"storage.type.class.hx"}},"end":"([A-Z_a-z]\\\\w*)","endCaptures":{"1":{"name":"entity.name.type.class.hx"}},"patterns":[{"include":"#global"}]},"interface-name-post":{"begin":"(?<=\\\\w)","end":"([;{])","endCaptures":{"1":{"name":"punctuation.definition.block.begin.hx"}},"patterns":[{"include":"#global"},{"include":"#modifiers-inheritance"},{"include":"#type"}]},"javadoc-tags":{"patterns":[{"captures":{"1":{"name":"storage.type.class.javadoc"},"2":{"name":"variable.other.javadoc"}},"match":"(@(?:param|exception|throws|event))\\\\s+([A-Z_a-z]\\\\w*)\\\\s+"},{"captures":{"1":{"name":"storage.type.class.javadoc"},"2":{"name":"constant.numeric.javadoc"}},"match":"(@since)\\\\s+([-.\\\\w]+)\\\\s+"},{"captures":{"0":{"name":"storage.type.class.javadoc"}},"match":"@(param|exception|throws|deprecated|returns?|since|default|see|event)"}]},"keywords":{"patterns":[{"begin":"(?<=trace|$type|if|while|for|super)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"meta.brace.round.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.hx"}},"patterns":[{"include":"#block-contents"}]},{"begin":"(?<=catch)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"meta.brace.round.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.hx"}},"patterns":[{"include":"#block-contents"},{"include":"#type-check"}]},{"begin":"(?<=cast)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"meta.brace.round.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.hx"}},"patterns":[{"begin":"(?=,)","end":"(?=\\\\))","patterns":[{"include":"#type"}]},{"include":"#block-contents"}]},{"match":"\\\\b(try|catch|throw)\\\\b","name":"keyword.control.catch-exception.hx"},{"begin":"\\\\b(case|default)\\\\b","beginCaptures":{"1":{"name":"keyword.control.flow-control.hx"}},"end":":|(?=if)|$","patterns":[{"include":"#global"},{"include":"#metadata"},{"captures":{"1":{"name":"storage.type.variable.hx"},"2":{"name":"variable.other.hx"}},"match":"\\\\b(var|final)\\\\b\\\\s*([A-Z_a-z]\\\\w*)\\\\b"},{"include":"#array"},{"include":"#constants"},{"include":"#strings"},{"match":"\\\\(","name":"meta.brace.round.hx"},{"match":"\\\\)","name":"meta.brace.round.hx"},{"include":"#macro-reification"},{"match":"=>","name":"keyword.operator.extractor.hx"},{"include":"#operator-assignment"},{"include":"#punctuation-comma"},{"include":"#keywords"},{"include":"#method-call"},{"include":"#identifiers"}]},{"match":"\\\\b(if|else|return|do|while|for|break|continue|switch|case|default)\\\\b","name":"keyword.control.flow-control.hx"},{"match":"\\\\b(cast|untyped)\\\\b","name":"keyword.other.untyped.hx"},{"match":"\\\\btrace\\\\b","name":"keyword.other.trace.hx"},{"match":"\\\\$type\\\\b","name":"keyword.other.type.hx"},{"match":"__(global|this)__\\\\b","name":"keyword.other.untyped-property.hx"},{"match":"\\\\b(this|super)\\\\b","name":"variable.language.hx"},{"match":"\\\\bnew\\\\b","name":"keyword.operator.new.hx"},{"match":"\\\\b(abstract|class|enum|interface|typedef)\\\\b","name":"storage.type.hx"},{"match":"->","name":"storage.type.function.arrow.hx"},{"include":"#modifiers"},{"include":"#modifiers-inheritance"}]},"keywords-accessor":{"match":"\\\\b(private|default|get|set|dynamic|never|null)\\\\b","name":"storage.type.property.hx"},"macro-reification":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.reification.hx"},"2":{"name":"keyword.reification.hx"}},"match":"(\\\\$)([abeipv])\\\\{"},{"captures":{"2":{"name":"punctuation.definition.reification.hx"},"3":{"name":"variable.reification.hx"}},"match":"((\\\\$)([A-Za-z]*))"}]},"metadata":{"patterns":[{"begin":"(@)(:(abi|abstract|access|allow|analyzer|annotation|arrayAccess|astSource|autoBuild|bind|bitmap|bridgeProperties|build|buildXml|bypassAccessor|callable|classCode|commutative|compilerGenerated|const|coreApi|coreType|cppFileCode|cppInclude|cppNamespaceCode|cs.assemblyMeta|cs.assemblyStrict|cs.using|dce|debug|decl|delegate|depend|deprecated|eager|enum|event|expose|extern|file|fileXml|final|fixed|flash.property|font|forward.new|forward.variance|forward|forwardStatics|from|functionCode|functionTailCode|generic|genericBuild|genericClassPerMethod|getter|hack|headerClassCode|headerCode|headerInclude|headerNamespaceCode|hlNative|hxGen|ifFeature|include|inheritDoc|inline|internal|isVar|java.native|javaCanonical|jsRequire|jvm.synthetic|keep|keepInit|keepSub|luaDotMethod|luaRequire|macro|markup|mergeBlock|multiReturn|multiType|native|nativeChildren|nativeGen|nativeProperty|nativeStaticExtension|noClosure|noCompletion|noDebug|noDoc|noImportGlobal|noPrivateAccess|noStack|noUsing|nonVirtual|notNull|nullSafety|objc|objcProtocol|op|optional|overload|persistent|phpClassConst|phpGlobal|phpMagic|phpNoConstructor|pos|private|privateAccess|property|protected|publicFields|pure|pythonImport|readOnly|remove|require|resolve|rtti|runtimeValue|scalar|selfCall|semantics|setter|sound|sourceFile|stackOnly|strict|struct|structAccess|structInit|suppressWarnings|templatedCall|throws|to|transient|transitive|unifyMinDynamic|unreflective|unsafe|using|void|volatile))\\\\b\\\\s*(\\\\()","beginCaptures":{"1":{"name":"punctuation.metadata.hx"},"2":{"name":"storage.modifier.metadata.hx"},"3":{"name":"meta.brace.round.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.hx"}},"patterns":[{"include":"#block-contents"}]},{"captures":{"2":{"name":"punctuation.metadata.hx"},"3":{"name":"storage.modifier.metadata.hx"}},"match":"((@)(:(abi|abstract|access|allow|analyzer|annotation|arrayAccess|astSource|autoBuild|bind|bitmap|bridgeProperties|build|buildXml|bypassAccessor|callable|classCode|commutative|compilerGenerated|const|coreApi|coreType|cppFileCode|cppInclude|cppNamespaceCode|cs.assemblyMeta|cs.assemblyStrict|cs.using|dce|debug|decl|delegate|depend|deprecated|eager|enum|event|expose|extern|file|fileXml|final|fixed|flash.property|font|forward.new|forward.variance|forward|forwardStatics|from|functionCode|functionTailCode|generic|genericBuild|genericClassPerMethod|getter|hack|headerClassCode|headerCode|headerInclude|headerNamespaceCode|hlNative|hxGen|ifFeature|include|inheritDoc|inline|internal|isVar|java.native|javaCanonical|jsRequire|jvm.synthetic|keep|keepInit|keepSub|luaDotMethod|luaRequire|macro|markup|mergeBlock|multiReturn|multiType|native|nativeChildren|nativeGen|nativeProperty|nativeStaticExtension|noClosure|noCompletion|noDebug|noDoc|noImportGlobal|noPrivateAccess|noStack|noUsing|nonVirtual|notNull|nullSafety|objc|objcProtocol|op|optional|overload|persistent|phpClassConst|phpGlobal|phpMagic|phpNoConstructor|pos|private|privateAccess|property|protected|publicFields|pure|pythonImport|readOnly|remove|require|resolve|rtti|runtimeValue|scalar|selfCall|semantics|setter|sound|sourceFile|stackOnly|strict|struct|structAccess|structInit|suppressWarnings|templatedCall|throws|to|transient|transitive|unifyMinDynamic|unreflective|unsafe|using|void|volatile)))\\\\b"},{"begin":"(@)(:?[A-Z_a-z]*)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"punctuation.metadata.hx"},"2":{"name":"variable.metadata.hx"},"3":{"name":"meta.brace.round.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.hx"}},"patterns":[{"include":"#block-contents"}]},{"captures":{"1":{"name":"punctuation.metadata.hx"},"2":{"name":"variable.metadata.hx"},"3":{"name":"variable.metadata.hx"},"4":{"name":"punctuation.accessor.hx"},"5":{"name":"variable.metadata.hx"}},"match":"(@)(:?)([A-Z_a-z]*(\\\\.))*([A-Z_a-z]*)?"}]},"method":{"begin":"(?=\\\\bfunction\\\\b)","end":"(?<=[;}])","name":"meta.method.hx","patterns":[{"include":"#macro-reification"},{"include":"#method-name"},{"include":"#method-name-post"},{"include":"#method-block"}]},"method-block":{"begin":"(?<=\\\\{)","beginCaptures":{"1":{"name":"punctuation.definition.block.begin.hx"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.definition.block.end.hx"}},"name":"meta.method.block.hx","patterns":[{"include":"#block"},{"include":"#block-contents"}]},"method-call":{"begin":"\\\\b(?:(__(?:addressOf|as|call|checked|cpp|cs|define_feature|delete|feature|field|fixed|foreach|forin|has_next|hkeys|int??|is|java|js|keys|lock|lua|lua_table|new|php|physeq|prefix|ptr|resources|rethrow|set|setfield|sizeof|type|typeof|unprotect|unsafe|valueOf|var|vector|vmem_get|vmem_set|vmem_sign|instanceof|strict_eq|strict_neq)__)|([_a-z]\\\\w*))\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.other.untyped-function.hx"},"2":{"name":"entity.name.function.hx"},"3":{"name":"meta.brace.round.hx"}},"end":"(\\\\))","endCaptures":{"1":{"name":"meta.brace.round.hx"}},"patterns":[{"include":"#block"},{"include":"#block-contents"}]},"method-name":{"begin":"\\\\b(function)\\\\b\\\\s*\\\\b(?:(new)|([A-Z_a-z]\\\\w*))?\\\\b","beginCaptures":{"1":{"name":"storage.type.function.hx"},"2":{"name":"storage.type.hx"},"3":{"name":"entity.name.function.hx"}},"end":"(?=$|\\\\()","patterns":[{"include":"#macro-reification"},{"include":"#type-parameters"}]},"method-name-post":{"begin":"(?<=[>\\\\w\\\\s])","end":"(\\\\{)|(;)","endCaptures":{"1":{"name":"punctuation.definition.block.begin.hx"},"2":{"name":"punctuation.terminator.hx"}},"patterns":[{"include":"#parameters"},{"include":"#method-return-type-hint"},{"include":"#block"},{"include":"#block-contents"}]},"method-return-type-hint":{"begin":"(?<=\\\\))\\\\s*(:)","beginCaptures":{"1":{"name":"keyword.operator.type.annotation.hx"}},"end":"(?=[0-9;a-{])","patterns":[{"include":"#type"}]},"modifiers":{"patterns":[{"match":"\\\\b(enum)\\\\b","name":"storage.type.class"},{"match":"\\\\b(public|private|static|dynamic|inline|macro|extern|override|overload|abstract)\\\\b","name":"storage.modifier.hx"},{"match":"\\\\b(final)\\\\b(?=\\\\s+(public|private|static|dynamic|inline|macro|extern|override|overload|abstract|function))","name":"storage.modifier.hx"}]},"modifiers-inheritance":{"match":"\\\\b(implements|extends)\\\\b","name":"storage.modifier.hx"},"new-expr":{"begin":"(?<!\\\\.)\\\\b(new)\\\\b","beginCaptures":{"1":{"name":"keyword.operator.new.hx"}},"end":"(?=$|\\\\()","name":"new.expr.hx","patterns":[{"include":"#type"}]},"operator-assignment":{"match":"(=)","name":"keyword.operator.assignment.hx"},"operator-optional":{"match":"(\\\\?)(?!\\\\s)","name":"keyword.operator.optional.hx"},"operator-rest":{"match":"\\\\.\\\\.\\\\.","name":"keyword.operator.rest.hx"},"operator-type-hint":{"match":"(:)","name":"keyword.operator.type.annotation.hx"},"operators":{"patterns":[{"match":"(&&|\\\\|\\\\|)","name":"keyword.operator.logical.hx"},{"match":"([\\\\&^|~]|>>>|<<|>>)","name":"keyword.operator.bitwise.hx"},{"match":"(==|!=|<=|>=|[<>])","name":"keyword.operator.comparison.hx"},{"match":"(!)","name":"keyword.operator.logical.hx"},{"match":"(--|\\\\+\\\\+)","name":"keyword.operator.increment-decrement.hx"},{"match":"([-%*+/])","name":"keyword.operator.arithmetic.hx"},{"match":"\\\\.\\\\.\\\\.","name":"keyword.operator.intiterator.hx"},{"match":"=>","name":"keyword.operator.arrow.hx"},{"match":"\\\\?\\\\?","name":"keyword.operator.nullcoalescing.hx"},{"match":"\\\\?\\\\.","name":"keyword.operator.safenavigation.hx"},{"match":"\\\\bis\\\\b(?!\\\\()","name":"keyword.other.hx"},{"begin":"\\\\?","beginCaptures":{"0":{"name":"keyword.operator.ternary.hx"}},"end":":","endCaptures":{"0":{"name":"keyword.operator.ternary.hx"}},"patterns":[{"include":"#block"},{"include":"#block-contents"}]}]},"package":{"begin":"package\\\\b","beginCaptures":{"0":{"name":"keyword.other.package.hx"}},"end":"$|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"patterns":[{"include":"#type-path"},{"include":"#type-path-package-name"}]},"parameter":{"begin":"(?<=[(,])","end":"(?=\\\\)(?!\\\\s*->)|,)","patterns":[{"include":"#parameter-name"},{"include":"#parameter-type-hint"},{"include":"#parameter-assign"},{"include":"#global"}]},"parameter-assign":{"begin":"=","beginCaptures":{"0":{"name":"keyword.operator.assignment.hx"}},"end":"(?=[),])","patterns":[{"include":"#block"},{"include":"#block-contents"}]},"parameter-name":{"patterns":[{"captures":{"1":{"name":"variable.parameter.hx"}},"match":"\\\\s*([A-Z_a-z]\\\\w*)"},{"include":"#global"},{"include":"#metadata"},{"include":"#operator-optional"},{"include":"#operator-rest"}]},"parameter-type-hint":{"begin":":","beginCaptures":{"0":{"name":"keyword.operator.type.annotation.hx"}},"end":"(?=\\\\)(?!\\\\s*->)|[,=])","patterns":[{"include":"#type"}]},"parameters":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.hx"}},"end":"\\\\s*(\\\\)(?!\\\\s*->))","endCaptures":{"1":{"name":"punctuation.definition.parameters.end.hx"}},"name":"meta.parameters.hx","patterns":[{"include":"#parameter"},{"include":"#punctuation-comma"}]},"punctuation-accessor":{"match":"\\\\.","name":"punctuation.accessor.hx"},"punctuation-braces":{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.brace.round.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.hx"}},"patterns":[{"include":"#keywords"},{"include":"#block"},{"include":"#block-contents"},{"include":"#type-check"}]},"punctuation-comma":{"match":",","name":"punctuation.separator.comma.hx"},"punctuation-terminator":{"match":";","name":"punctuation.terminator.hx"},"regex":{"begin":"(~/)","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.hx"}},"end":"(/)([gimsu]*)","endCaptures":{"1":{"name":"punctuation.definition.string.end.hx"},"2":{"name":"keyword.other.hx"}},"name":"string.regexp.hx","patterns":[{"include":"#regexp"}]},"regex-character-class":{"patterns":[{"match":"\\\\\\\\[DSWdfnrstvw]|\\\\.","name":"constant.other.character-class.regexp"},{"match":"\\\\\\\\([0-7]{3}|x\\\\h\\\\h|u\\\\h\\\\h\\\\h\\\\h)","name":"constant.character.numeric.regexp"},{"match":"\\\\\\\\c[A-Z]","name":"constant.character.control.regexp"},{"match":"\\\\\\\\.","name":"constant.character.escape.backslash.regexp"}]},"regexp":{"patterns":[{"match":"\\\\\\\\[Bb]|[$^]","name":"keyword.control.anchor.regexp"},{"match":"\\\\\\\\[1-9]\\\\d*","name":"keyword.other.back-reference.regexp"},{"match":"[*+?]|\\\\{(\\\\d+,\\\\d+|\\\\d+,|,\\\\d+|\\\\d+)}\\\\??","name":"keyword.operator.quantifier.regexp"},{"match":"\\\\|","name":"keyword.operator.or.regexp"},{"begin":"(\\\\()((\\\\?=)|(\\\\?!))","beginCaptures":{"1":{"name":"punctuation.definition.group.regexp"},"2":{"name":"punctuation.definition.group.assertion.regexp"},"3":{"name":"meta.assertion.look-ahead.regexp"},"4":{"name":"meta.assertion.negative-look-ahead.regexp"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.group.regexp"}},"name":"meta.group.assertion.regexp","patterns":[{"include":"#regexp"}]},{"begin":"\\\\((\\\\?:)?","beginCaptures":{"0":{"name":"punctuation.definition.group.regexp"},"1":{"name":"punctuation.definition.group.capture.regexp"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.group.regexp"}},"name":"meta.group.regexp","patterns":[{"include":"#regexp"}]},{"begin":"(\\\\[)(\\\\^)?","beginCaptures":{"1":{"name":"punctuation.definition.character-class.regexp"},"2":{"name":"keyword.operator.negation.regexp"}},"end":"(])","endCaptures":{"1":{"name":"punctuation.definition.character-class.regexp"}},"name":"constant.other.character-class.set.regexp","patterns":[{"captures":{"1":{"name":"constant.character.numeric.regexp"},"2":{"name":"constant.character.control.regexp"},"3":{"name":"constant.character.escape.backslash.regexp"},"4":{"name":"constant.character.numeric.regexp"},"5":{"name":"constant.character.control.regexp"},"6":{"name":"constant.character.escape.backslash.regexp"}},"match":"(?:.|(\\\\\\\\(?:[0-7]{3}|x\\\\h\\\\h|u\\\\h\\\\h\\\\h\\\\h))|(\\\\\\\\c[A-Z])|(\\\\\\\\.))-(?:[^]\\\\\\\\]|(\\\\\\\\(?:[0-7]{3}|x\\\\h\\\\h|u\\\\h\\\\h\\\\h\\\\h))|(\\\\\\\\c[A-Z])|(\\\\\\\\.))","name":"constant.other.character-class.range.regexp"},{"include":"#regex-character-class"}]},{"include":"#regex-character-class"}]},"string-escape-sequences":{"patterns":[{"match":"\\\\\\\\[0-3][0-9]{2}","name":"constant.character.escape.hx"},{"match":"\\\\\\\\x\\\\h{2}","name":"constant.character.escape.hx"},{"match":"\\\\\\\\u[0-9]{4}","name":"constant.character.escape.hx"},{"match":"\\\\\\\\u\\\\{\\\\h+}","name":"constant.character.escape.hx"},{"match":"\\\\\\\\[\\"\'\\\\\\\\nrt]","name":"constant.character.escape.hx"},{"match":"\\\\\\\\.","name":"invalid.escape.sequence.hx"}]},"strings":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.hx"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.hx"}},"name":"string.quoted.double.hx","patterns":[{"include":"#string-escape-sequences"}]},{"begin":"(\')","beginCaptures":{"0":{"name":"string.quoted.single.hx"},"1":{"name":"punctuation.definition.string.begin.hx"}},"end":"(\')","endCaptures":{"0":{"name":"string.quoted.single.hx"},"1":{"name":"punctuation.definition.string.end.hx"}},"patterns":[{"begin":"\\\\$(?=\\\\$)","beginCaptures":{"0":{"name":"constant.character.escape.hx"}},"end":"\\\\$","endCaptures":{"0":{"name":"constant.character.escape.hx"}},"name":"string.quoted.single.hx"},{"include":"#string-escape-sequences"},{"begin":"(\\\\$\\\\{)","beginCaptures":{"0":{"name":"punctuation.definition.block.begin.hx"}},"end":"(})","endCaptures":{"0":{"name":"punctuation.definition.block.end.hx"}},"patterns":[{"include":"#block-contents"}]},{"captures":{"1":{"name":"punctuation.definition.block.begin.hx"},"2":{"name":"variable.other.hx"}},"match":"(\\\\$)([A-Z_a-z]\\\\w*)"},{"match":"","name":"constant.character.escape.hx"},{"match":".","name":"string.quoted.single.hx"}]}]},"type":{"patterns":[{"include":"#global"},{"include":"#macro-reification"},{"include":"#type-name"},{"include":"#type-parameters"},{"match":"->","name":"keyword.operator.type.function.hx"},{"match":"&","name":"keyword.operator.type.intersection.hx"},{"match":"\\\\?(?=\\\\s*[A-Z_])","name":"keyword.operator.optional"},{"match":"\\\\?(?!\\\\s*[A-Z_])","name":"punctuation.definition.tag"},{"begin":"(\\\\{)","beginCaptures":{"0":{"name":"punctuation.definition.block.begin.hx"}},"end":"(?<=})","patterns":[{"include":"#typedef-block"}]},{"include":"#function-type"}]},"type-check":{"begin":"(?<!macro)(?=:)","end":"(?=\\\\))","patterns":[{"include":"#operator-type-hint"},{"include":"#type"}]},"type-name":{"patterns":[{"captures":{"1":{"name":"support.class.builtin.hx"},"2":{"name":"support.package.hx"},"3":{"name":"entity.name.type.hx"}},"match":"\\\\b(Any|Array|ArrayAccess|Bool|Class|Date|DateTools|Dynamic|Enum|EnumValue|EReg|Float|IMap|Int|IntIterator|Iterable|Iterator|KeyValueIterator|KeyValueIterable|Lambda|List|ListIterator|ListNode|Map|Math|Null|Reflect|Single|Std|String|StringBuf|StringTools|Sys|Type|UInt|UnicodeString|ValueType|Void|Xml|XmlType)(?:(\\\\.)(_*[A-Z]\\\\w*[a-z]\\\\w*))*\\\\b"},{"captures":{"1":{"name":"support.package.hx"},"3":{"name":"entity.name.type.hx"},"4":{"name":"support.package.hx"},"5":{"name":"entity.name.type.hx"}},"match":"\\\\b(?<![^.]\\\\.)((_*[a-z]\\\\w*\\\\.)*)(_*[A-Z]\\\\w*)(?:(\\\\.)(_*[A-Z]\\\\w*[a-z]\\\\w*))*\\\\b"}]},"type-parameter-constraint-new":{"match":":","name":"keyword.operator.type.annotation.hxt"},"type-parameter-constraint-old":{"begin":"(:)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.operator.type.annotation.hx"},"2":{"name":"punctuation.definition.constraint.begin.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.constraint.end.hx"}},"patterns":[{"include":"#type"},{"include":"#punctuation-comma"}]},"type-parameters":{"begin":"(<)","beginCaptures":{"1":{"name":"punctuation.definition.typeparameters.begin.hx"}},"end":"(?=$)|(>)","endCaptures":{"1":{"name":"punctuation.definition.typeparameters.end.hx"}},"name":"meta.type-parameters.hx","patterns":[{"include":"#type"},{"include":"#type-parameter-constraint-old"},{"include":"#type-parameter-constraint-new"},{"include":"#global"},{"include":"#regex"},{"include":"#array"},{"include":"#constants"},{"include":"#strings"},{"include":"#metadata"},{"include":"#punctuation-comma"}]},"type-path":{"patterns":[{"include":"#global"},{"include":"#punctuation-accessor"},{"include":"#type-path-type-name"}]},"type-path-package-name":{"match":"\\\\b([A-Z_a-z]\\\\w*)\\\\b","name":"support.package.hx"},"type-path-type-name":{"match":"\\\\b(_*[A-Z]\\\\w*)\\\\b","name":"entity.name.type.hx"},"typedef":{"begin":"(?=typedef)","end":"(?<=})|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"name":"meta.typedef.hx","patterns":[{"include":"#typedef-name"},{"include":"#typedef-name-post"},{"include":"#typedef-block"}]},"typedef-block":{"begin":"(?<=\\\\{)","end":"(})","endCaptures":{"1":{"name":"punctuation.definition.block.end.hx"}},"name":"meta.block.hx","patterns":[{"include":"#global"},{"include":"#metadata"},{"include":"#method"},{"include":"#variable"},{"include":"#modifiers"},{"include":"#punctuation-comma"},{"include":"#operator-optional"},{"include":"#typedef-extension"},{"include":"#typedef-simple-field-type-hint"},{"include":"#identifier-name"},{"include":"#strings"}]},"typedef-extension":{"begin":">","end":",|$","patterns":[{"include":"#type"}]},"typedef-name":{"begin":"\\\\b(typedef)\\\\b","beginCaptures":{"1":{"name":"storage.type.class.hx"}},"end":"([A-Z_a-z]\\\\w*)","endCaptures":{"1":{"name":"entity.name.type.class.hx"}},"patterns":[{"include":"#global"}]},"typedef-name-post":{"begin":"(?<=\\\\w)","end":"(\\\\{)|(?=;)","endCaptures":{"1":{"name":"punctuation.definition.block.begin.hx"}},"patterns":[{"include":"#global"},{"include":"#punctuation-brackets"},{"include":"#punctuation-separator"},{"include":"#operator-assignment"},{"include":"#type"}]},"typedef-simple-field-type-hint":{"begin":":","beginCaptures":{"0":{"name":"keyword.operator.type.annotation.hx"}},"end":"(?=[,;}])","patterns":[{"include":"#type"}]},"using":{"begin":"using\\\\b","beginCaptures":{"0":{"name":"keyword.other.using.hx"}},"end":"$|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"patterns":[{"include":"#type-path"},{"include":"#type-path-package-name"}]},"variable":{"begin":"(?=\\\\b(var|final)\\\\b)","end":"(?=$)|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"patterns":[{"include":"#variable-name"},{"include":"#variable-name-next"},{"include":"#variable-assign"},{"include":"#variable-name-post"}]},"variable-accessors":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.hx"}},"name":"meta.parameters.hx","patterns":[{"include":"#global"},{"include":"#keywords-accessor"},{"include":"#accessor-method"},{"include":"#punctuation-comma"}]},"variable-assign":{"begin":"=","beginCaptures":{"0":{"name":"keyword.operator.assignment.hx"}},"end":"(?=[,;])","patterns":[{"include":"#block"},{"include":"#block-contents"}]},"variable-name":{"begin":"\\\\b(var|final)\\\\b","beginCaptures":{"1":{"name":"storage.type.variable.hx"}},"end":"(?=$)|([A-Z_a-z]\\\\w*)","endCaptures":{"1":{"name":"variable.other.hx"}},"patterns":[{"include":"#operator-optional"}]},"variable-name-next":{"begin":",","beginCaptures":{"0":{"name":"punctuation.separator.comma.hx"}},"end":"([A-Z_a-z]\\\\w*)","endCaptures":{"1":{"name":"variable.other.hx"}},"patterns":[{"include":"#global"}]},"variable-name-post":{"begin":"(?<=\\\\w)","end":"(?=;)|(?==)","patterns":[{"include":"#variable-accessors"},{"include":"#variable-type-hint"},{"include":"#block-contents"}]},"variable-type-hint":{"begin":":","beginCaptures":{"0":{"name":"keyword.operator.type.annotation.hx"}},"end":"(?=$|[,;=])","patterns":[{"include":"#type"}]}},"scopeName":"source.hx"}')),n=[e];
2
+ export{n as h};
@@ -0,0 +1 @@
1
+ import{Y as s,Z as r}from"./chunk-1w5m9c5y.js";import{va as o}from"./chunk-b9fn4n7z.js";import{wa as T}from"./chunk-k1kzp019.js";import"./chunk-vyfvrrc8.js";import{Ya as l,Za as Y,_a as H,bb as u,eb as p,fb as f,hb as i,jb as t}from"./chunk-04kzaj7h.js";import"./chunk-v28dexnx.js";import"./chunk-4n978rje.js";import"./chunk-wtwgpw9g.js";import"./chunk-vkfhjhhh.js";import"./chunk-0gpa9n28.js";import{gc as S}from"./chunk-feptb1bb.js";var qq=S(l(),1);var _=S(l(),1);var $=S(f(),1),a={openai:"\uD83E\uDD16",anthropic:"\uD83E\uDDE0",gemini:"✨",default:"\uD83D\uDD2E"};var Gq=({onClose:O})=>{let{extraParams:F,config:U,updateConfig:B}=T(),[X,A]=_.useState(""),k=_.useRef([]),G=_.useMemo(()=>{if(!U?.providers||U.providers.length===0)return[];return U.providers.map((q)=>{let Z=q.type||"default";return{id:q.id,label:q.id,icon:a[Z]||a.default,config:q}})},[U?.providers]);_.useMemo(()=>{if(G.length>0&&!X){let q=G.find((Z)=>Z.id===F.provider_id);A(q?.id||G[0].id)}},[G,F.provider_id,X]);let h=G.find((q)=>q.id===X),{data:P,isLoading:w,error:b}=s({provider:h?.config||null,enabled:!!X}),c=_.useMemo(()=>{let q=(P||[]).map((Z)=>({id:Z.id,name:Z.name}));return k.current=q,q},[P]),C=_.useCallback(async()=>{return k.current},[]),I=_.useCallback((q,Z,V)=>{let m=q.id===F.provider_id+"-"+q.id;return $.jsxDEV(i,{isSelected:V,isCurrent:m,children:[$.jsxDEV(H,{bold:!0,children:[Z+1,". ",q.id]},void 0,!0,void 0,this),$.jsxDEV(H,{dimColor:!0,children:[" ",q.name!==q.id?`(${q.name})`:""]},void 0,!0,void 0,this)]},`model-${Z}-${q.id}`,!0,void 0,this)},[F.provider_id]),D=_.useCallback((q)=>{return q.id===F.provider_id+"-"+q.id},[F.provider_id]),R=_.useCallback(async(q)=>{await B({provider_id:X,model_id:q.id}),O()},[B,X,O]),j=_.useCallback((q)=>{if(G.length<=1)return;let Z=G.findIndex((m)=>m.id===X),V=q==="left"?(Z-1+G.length)%G.length:(Z+1)%G.length;A(G[V].id)},[X,G]),E=_.useMemo(()=>{let q=h?.label||"加载中...";return{id:`model-${X}`,title:`模型选择 - ${q}`,icon:h?.icon||"\uD83D\uDD2E",dataSource:C,searchable:!0,searchFields:["id","name"],searchPlaceholder:"搜索模型...",itemHeight:1,visibleCount:10,renderItem:I,isSelected:D,onSelect:R,showCount:!0,keyMap:{leftArrow:(Z)=>{j("left")},rightArrow:(Z)=>{j("right")}}}},[X,h,C,I,D,R,j]);if(G.length===0)return $.jsxDEV(Y,{flexDirection:"column",paddingX:2,paddingY:1,children:[$.jsxDEV(H,{color:"yellow",children:"⚠️ 未配置任何 Provider"},void 0,!1,void 0,this),$.jsxDEV(H,{color:"gray",dimColor:!0,children:"请先配置 Provider 后再查看模型列表"},void 0,!1,void 0,this)]},void 0,!0,void 0,this);let g=h?.config.apiKey;return $.jsxDEV(Y,{flexDirection:"column",children:[$.jsxDEV(Y,{gap:1,paddingX:1,paddingY:1,children:G.map((q)=>$.jsxDEV(H,{bold:q.id===X,color:q.id===X?"cyan":"gray",children:[q.icon," ",q.label,q.id===X&&" [当前]",q.id===X&&!g&&" (未配置 API Key)"]},q.id,!0,void 0,this))},void 0,!1,void 0,this),w?$.jsxDEV(Y,{paddingX:2,paddingY:1,children:$.jsxDEV(H,{color:"gray",children:"加载模型列表中..."},void 0,!1,void 0,this)},void 0,!1,void 0,this):b?$.jsxDEV(Y,{paddingX:2,paddingY:1,children:$.jsxDEV(H,{color:"red",children:["加载失败: ",b.message]},void 0,!0,void 0,this)},void 0,!1,void 0,this):!g?$.jsxDEV(Y,{paddingX:2,paddingY:1,children:$.jsxDEV(H,{color:"yellow",children:"请先配置 API Key"},void 0,!1,void 0,this)},void 0,!1,void 0,this):$.jsxDEV(t,{config:E,onClose:O},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},d=Gq;var z=S(l(),1);var Q=S(f(),1),Hq=({onClose:O})=>{let{config:F,updateConfig:U}=T(),[B,X]=z.useState("list"),[A,k]=z.useState(null),[G,h]=z.useState(0),[P,w]=z.useState(null),b=z.useCallback(()=>w(null),[]);o(b,P?3000:null);let c=z.useRef(B),C=z.useRef(G),I=z.useRef([]),D=z.useRef(!0);z.useEffect(()=>{c.current=B},[B]),z.useEffect(()=>{C.current=G},[G]);let R=F?.providers||[];z.useEffect(()=>{I.current=R},[R]);let j=z.useCallback(()=>{D.current=!0,k(null),X("form"),w(null)},[]),E=z.useCallback(()=>{let J=I.current,W=C.current,N=J[W];if(!N)return;D.current=!1,k(N),X("form"),w(null)},[]),g=z.useCallback(()=>{X("list"),k(null),w(null)},[]),q=z.useCallback(async(J)=>{let W=I.current,N=D.current,K=N?[...W,J]:W.map((L)=>L.id===J.id?J:L);if(await U({providers:K}),w(N?`已添加 Provider: ${J.id}`:`已更新 Provider: ${J.id}`),N){let L=K.findIndex((M)=>M.id===J.id);h(L>=0?L:0)}X("list"),k(null),w(null)},[U]),Z=z.useCallback(async()=>{let J=I.current,W=C.current,N=J[W];if(!N)return;if(J.length<=1){w("无法删除最后一个 Provider");return}let K=J.filter((M)=>M.id!==N.id);await U({providers:K});let L=Math.min(W,K.length-1);h(L>=0?L:0),w(`已删除 Provider: ${N.id}`)},[U]),V=z.useRef(j),m=z.useRef(E),v=z.useRef(Z),x=z.useRef(g),n=z.useRef(O);z.useEffect(()=>{V.current=j},[j]),z.useEffect(()=>{m.current=E},[E]),z.useEffect(()=>{v.current=Z},[Z]),z.useEffect(()=>{x.current=g},[g]),z.useEffect(()=>{n.current=O},[O]),p((J,W)=>{let N=c.current,K=I.current,L=C.current;if(N==="form"){if(W.escape)x.current();return}if(W.upArrow)h((M)=>M>0?M-1:K.length-1);else if(W.downArrow)h((M)=>M<K.length-1?M+1:0);else if(J==="n"||J==="N")V.current();else if((J==="e"||J==="E"||W.return)&&K[L])m.current();else if((J==="d"||J==="D")&&K[L])v.current();else if(W.escape)n.current()},{isActive:!0});let zq=z.useMemo(()=>{if(R.length===0)return Q.jsxDEV(Y,{paddingX:2,paddingY:1,children:Q.jsxDEV(H,{color:"yellow",children:"未配置任何 Provider"},void 0,!1,void 0,this)},void 0,!1,void 0,this);return Q.jsxDEV(Y,{flexDirection:"column",paddingX:2,gap:1,children:[R.map((J,W)=>{let N=!!J.apiKey,K=N?"green":"yellow";return Q.jsxDEV(Y,{marginBottom:0,gap:1,children:[Q.jsxDEV(H,{color:W===G?"cyan":"gray",bold:W===G,children:W===G?">":" "},void 0,!1,void 0,this),Q.jsxDEV(H,{bold:W===G,color:W===G?"cyan":void 0,children:J.id},void 0,!1,void 0,this),Q.jsxDEV(u,{},void 0,!1,void 0,this),Q.jsxDEV(H,{color:"gray",dimColor:W!==G,children:[" ",J.type]},void 0,!0,void 0,this),Q.jsxDEV(H,{color:K,dimColor:W!==G,children:[" ","[",N?"已配置":"未配置","]"]},void 0,!0,void 0,this)]},J.id,!0,void 0,this)}),Q.jsxDEV(Y,{marginTop:1,children:Q.jsxDEV(H,{color:"gray",dimColor:!0,children:[Q.jsxDEV(H,{color:"cyan",children:"↑↓"},void 0,!1,void 0,this)," 导航 ",Q.jsxDEV(H,{color:"cyan",children:"n"},void 0,!1,void 0,this)," 新增 ",Q.jsxDEV(H,{color:"cyan",children:"d"},void 0,!1,void 0,this)," ","删除 ",Q.jsxDEV(H,{color:"cyan",children:"Esc"},void 0,!1,void 0,this)," 关闭"]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},[R,G]);return Q.jsxDEV(Y,{flexDirection:"column",children:[Q.jsxDEV(Y,{paddingX:2,paddingY:1,children:Q.jsxDEV(H,{bold:!0,color:"cyan",children:"Providers"},void 0,!1,void 0,this)},void 0,!1,void 0,this),B==="list"?zq:Q.jsxDEV(r,{provider:A||void 0,onCancel:g,onSave:q},void 0,!1,void 0,this),P&&Q.jsxDEV(Y,{paddingX:2,paddingY:0,children:Q.jsxDEV(H,{color:"green",children:P},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},e=Hq;var y=S(f(),1),Jq=({onClose:O,initialTab:F="model"})=>{let[U,B]=qq.useState(F);return p((X,A)=>{if(A.leftArrow&&A.alt)B("model");else if(A.rightArrow&&A.alt)B("provider");else if(A.escape)O()},{isActive:!0}),y.jsxDEV(Y,{flexDirection:"column",width:"100%",borderStyle:"single",borderDimColor:!0,children:[y.jsxDEV(Y,{flexDirection:"column",paddingX:0,paddingY:0,children:[U==="model"&&y.jsxDEV(d,{onClose:O},void 0,!1,void 0,this),U==="provider"&&y.jsxDEV(e,{onClose:O},void 0,!1,void 0,this)]},void 0,!0,void 0,this),y.jsxDEV(Y,{flexDirection:"row",gap:2,paddingX:2,paddingY:1,borderTop:!0,borderBottom:!1,borderLeft:!1,borderRight:!1,borderStyle:"single",borderColor:"gray",children:[y.jsxDEV(H,{bold:U==="model",color:U==="model"?"cyan":"gray",children:"\uD83E\uDD16 Model"},void 0,!1,void 0,this),y.jsxDEV(H,{bold:U==="provider",color:U==="provider"?"cyan":"gray",children:"\uD83D\uDD0C Provider"},void 0,!1,void 0,this),y.jsxDEV(u,{},void 0,!1,void 0,this),y.jsxDEV(H,{dimColor:!0,children:"Alt+ < >"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},Iq=Jq;export{Iq as default};
@@ -0,0 +1 @@
1
+ import{L as a}from"./chunk-zt78xjtr.js";import"./chunk-feptb1bb.js";export{a as default};
@@ -0,0 +1 @@
1
+ import"./chunk-feptb1bb.js";var e=Object.freeze(JSON.parse('{"displayName":"PowerQuery","fileTypes":["pq","pqm"],"name":"powerquery","patterns":[{"include":"#Noise"},{"include":"#LiteralExpression"},{"include":"#Keywords"},{"include":"#ImplicitVariable"},{"include":"#IntrinsicVariable"},{"include":"#Operators"},{"include":"#DotOperators"},{"include":"#TypeName"},{"include":"#RecordExpression"},{"include":"#Punctuation"},{"include":"#QuotedIdentifier"},{"include":"#Identifier"}],"repository":{"BlockComment":{"begin":"/\\\\*","end":"\\\\*/","name":"comment.block.powerquery"},"DecimalNumber":{"match":"(?<![\\\\d\\\\w])(\\\\d*\\\\.\\\\d+)\\\\b","name":"constant.numeric.decimal.powerquery"},"DotOperators":{"captures":{"1":{"name":"keyword.operator.ellipsis.powerquery"},"2":{"name":"keyword.operator.list.powerquery"}},"match":"(?<!\\\\.)(?:(\\\\.\\\\.\\\\.)|(\\\\.\\\\.))(?!\\\\.)"},"EscapeSequence":{"begin":"#\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.escapesequence.begin.powerquery"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.escapesequence.end.powerquery"}},"name":"constant.character.escapesequence.powerquery","patterns":[{"match":"(#|\\\\h{4}|\\\\h{8}|cr|lf|tab)(?:,(#|\\\\h{4}|\\\\h{8}|cr|lf|tab))*"},{"match":"[^)]","name":"invalid.illegal.escapesequence.powerquery"}]},"FloatNumber":{"match":"(\\\\d*\\\\.)?\\\\d+([Ee])([-+])?\\\\d+","name":"constant.numeric.float.powerquery"},"HexNumber":{"match":"0([Xx])\\\\h+","name":"constant.numeric.integer.hexadecimal.powerquery"},"Identifier":{"captures":{"1":{"name":"keyword.operator.inclusiveidentifier.powerquery"},"2":{"name":"entity.name.powerquery"}},"match":"(?<![._\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\d\\\\p{Pc}\\\\p{Mn}\\\\p{Mc}\\\\p{Cf}])(@?)([_\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}][_\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\d\\\\p{Pc}\\\\p{Mn}\\\\p{Mc}\\\\p{Cf}]*(?:\\\\.[_\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}][_\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\d\\\\p{Pc}\\\\p{Mn}\\\\p{Mc}\\\\p{Cf}])*)\\\\b"},"ImplicitVariable":{"match":"\\\\b_\\\\b","name":"keyword.operator.implicitvariable.powerquery"},"InclusiveIdentifier":{"captures":{"0":{"name":"inclusiveidentifier.powerquery"}},"match":"@"},"IntNumber":{"captures":{"1":{"name":"constant.numeric.integer.powerquery"}},"match":"\\\\b(\\\\d+)\\\\b"},"IntrinsicVariable":{"captures":{"1":{"name":"constant.language.intrinsicvariable.powerquery"}},"match":"(?<![\\\\d\\\\w])(#s(?:ections|hared))\\\\b"},"Keywords":{"captures":{"1":{"name":"keyword.operator.word.logical.powerquery"},"2":{"name":"keyword.control.conditional.powerquery"},"3":{"name":"keyword.control.exception.powerquery"},"4":{"name":"keyword.other.powerquery"},"5":{"name":"keyword.powerquery"}},"match":"\\\\b(?:(and|or|not)|(if|then|else)|(try|otherwise)|(as|each|in|is|let|meta|type|error)|(s(?:ection|hared)))\\\\b"},"LineComment":{"match":"//.*","name":"comment.line.double-slash.powerquery"},"LiteralExpression":{"patterns":[{"include":"#String"},{"include":"#NumericConstant"},{"include":"#LogicalConstant"},{"include":"#NullConstant"},{"include":"#FloatNumber"},{"include":"#DecimalNumber"},{"include":"#HexNumber"},{"include":"#IntNumber"}]},"LogicalConstant":{"match":"\\\\b(true|false)\\\\b","name":"constant.language.logical.powerquery"},"Noise":{"patterns":[{"include":"#BlockComment"},{"include":"#LineComment"},{"include":"#Whitespace"}]},"NullConstant":{"match":"\\\\b(null)\\\\b","name":"constant.language.null.powerquery"},"NumericConstant":{"captures":{"1":{"name":"constant.language.numeric.float.powerquery"}},"match":"(?<![\\\\d\\\\w])(#(?:infinity|nan))\\\\b"},"Operators":{"captures":{"1":{"name":"keyword.operator.function.powerquery"},"2":{"name":"keyword.operator.assignment-or-comparison.powerquery"},"3":{"name":"keyword.operator.comparison.powerquery"},"4":{"name":"keyword.operator.combination.powerquery"},"5":{"name":"keyword.operator.arithmetic.powerquery"},"6":{"name":"keyword.operator.sectionaccess.powerquery"},"7":{"name":"keyword.operator.optional.powerquery"}},"match":"(=>)|(=)|(<>|[<>]|<=|>=)|(&)|([-*+/])|(!)|(\\\\?)"},"Punctuation":{"captures":{"1":{"name":"punctuation.separator.powerquery"},"2":{"name":"punctuation.section.parens.begin.powerquery"},"3":{"name":"punctuation.section.parens.end.powerquery"},"4":{"name":"punctuation.section.braces.begin.powerquery"},"5":{"name":"punctuation.section.braces.end.powerquery"}},"match":"(,)|(\\\\()|(\\\\))|(\\\\{)|(})"},"QuotedIdentifier":{"begin":"#\\"","beginCaptures":{"0":{"name":"punctuation.definition.quotedidentifier.begin.powerquery"}},"end":"\\"(?!\\")","endCaptures":{"0":{"name":"punctuation.definition.quotedidentifier.end.powerquery"}},"name":"entity.name.powerquery","patterns":[{"match":"\\"\\"","name":"constant.character.escape.quote.powerquery"},{"include":"#EscapeSequence"}]},"RecordExpression":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.section.brackets.begin.powerquery"}},"contentName":"meta.recordexpression.powerquery","end":"]","endCaptures":{"0":{"name":"punctuation.section.brackets.end.powerquery"}},"patterns":[{"include":"$self"}]},"String":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.powerquery"}},"end":"\\"(?!\\")","endCaptures":{"0":{"name":"punctuation.definition.string.end.powerquery"}},"name":"string.quoted.double.powerquery","patterns":[{"match":"\\"\\"","name":"constant.character.escape.quote.powerquery"},{"include":"#EscapeSequence"}]},"TypeName":{"captures":{"1":{"name":"storage.modifier.powerquery"},"2":{"name":"storage.type.powerquery"}},"match":"\\\\b(?:(optional|nullable)|(action|any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|null|number|record|table|text|type))\\\\b"},"Whitespace":{"match":"\\\\s+"}},"scopeName":"source.powerquery"}')),n=[e];export{n as default};
@@ -0,0 +1 @@
1
+ import"./chunk-feptb1bb.js";var e=Object.freeze(JSON.parse('{"displayName":"Ballerina","fileTypes":["bal"],"name":"ballerina","patterns":[{"include":"#statements"}],"repository":{"access-modifier":{"patterns":[{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(p(?:ublic|rivate))(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"storage.modifier.ballerina keyword.other.ballerina"}]},"annotationAttachment":{"patterns":[{"captures":{"1":{"name":"punctuation.decorator.ballerina"},"2":{"name":"support.type.ballerina"},"3":{"name":"punctuation.decorator.ballerina"},"4":{"name":"support.type.ballerina"}},"match":"(@)([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(:?)\\\\s*((?:[$_[:alpha:]][$_[:alnum:]]*)?)"}]},"annotationDefinition":{"patterns":[{"begin":"\\\\bannotation\\\\b","beginCaptures":{"0":{"name":"keyword.ballerina"}},"end":";","patterns":[{"include":"#code"}]}]},"array-literal":{"begin":"\\\\s*(\\\\[)","beginCaptures":{"1":{"name":"meta.brace.square.ballerina"}},"end":"]","endCaptures":{"0":{"name":"meta.brace.square.ballerina"}},"name":"meta.array.literal.ballerina","patterns":[{"include":"#expression"},{"include":"#punctuation-comma"}]},"booleans":{"patterns":[{"match":"\\\\b(true|false)\\\\b","name":"constant.language.boolean.ballerina"}]},"butClause":{"patterns":[{"begin":"=>","beginCaptures":{"0":{"name":"meta.arrow.ballerina storage.type.function.arrow.ballerina"}},"end":",|(?=})","patterns":[{"include":"#code"}]}]},"butExp":{"patterns":[{"begin":"\\\\bbut\\\\b","beginCaptures":{"0":{"name":"keyword.ballerina"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.ballerina.documentation"}},"patterns":[{"include":"#butExpBody"},{"include":"#comment"}]}]},"butExpBody":{"patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.ballerina.documentation"}},"end":"(?=})","endCaptures":{"0":{"name":"punctuation.definition.block.ballerina.documentation"}},"patterns":[{"include":"#parameter"},{"include":"#butClause"},{"include":"#comment"}]}]},"call":{"patterns":[{"match":"\'?([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(?=\\\\()","name":"entity.name.function.ballerina"}]},"callableUnitBody":{"patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.ballerina"}},"end":"(?=})","endCaptures":{"0":{"name":"punctuation.definition.block.ballerina"}},"patterns":[{"include":"#workerDef"},{"include":"#service-decl"},{"include":"#objectDec"},{"include":"#function-defn"},{"include":"#forkStatement"},{"include":"#code"}]}]},"class-body":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.ballerina"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.ballerina"}},"name":"meta.class.body.ballerina","patterns":[{"include":"#comment"},{"include":"#mdDocumentation"},{"include":"#function-defn"},{"include":"#var-expr"},{"include":"#variable-initializer"},{"include":"#access-modifier"},{"include":"#keywords"},{"begin":"(?<=:)\\\\s*","end":"(?=[-\\\\])+,:;}\\\\s]|^\\\\s*$|^\\\\s*(?:abstract|async|class|const|declare|enum|export|function|import|interface|let|module|namespace|return|service|type|var)\\\\b)"},{"include":"#decl-block"},{"include":"#expression"},{"include":"#punctuation-comma"},{"include":"#punctuation-semicolon"}]},"class-defn":{"begin":"(\\\\s+)(class)\\\\b|^class\\\\b(?=\\\\s+|/[*/])","beginCaptures":{"0":{"name":"storage.type.class.ballerina keyword.other.ballerina"}},"end":"(?<=})","name":"meta.class.ballerina","patterns":[{"include":"#keywords"},{"captures":{"0":{"name":"entity.name.type.class.ballerina"}},"match":"[$_[:alpha:]][$_[:alnum:]]*"},{"include":"#class-body"}]},"code":{"patterns":[{"include":"#booleans"},{"include":"#matchStatement"},{"include":"#butExp"},{"include":"#xml"},{"include":"#stringTemplate"},{"include":"#keywords"},{"include":"#strings"},{"include":"#comment"},{"include":"#mdDocumentation"},{"include":"#annotationAttachment"},{"include":"#numbers"},{"include":"#maps"},{"include":"#paranthesised"},{"include":"#paranthesisedBracket"},{"include":"#regex"}]},"comment":{"patterns":[{"match":"//.*","name":"comment.ballerina"}]},"constrainType":{"patterns":[{"begin":"<","beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.ballerina"}},"end":">","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.ballerina"}},"patterns":[{"include":"#comment"},{"include":"#constrainType"},{"match":"\\\\b([$_[:alpha:]][$_[:alnum:]]*)\\\\b","name":"storage.type.ballerina"}]}]},"control-statement":{"patterns":[{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(return)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","beginCaptures":{"0":{"name":"keyword.control.flow.ballerina"}},"end":"(?=[;}]|$|;|^\\\\s*$|^\\\\s*(?:abstract|async|class|const|declare|enum|export|function|import|interface|let|module|namespace|return|service|type|var)\\\\b)","patterns":[{"include":"#expression"}]},{"include":"#for-loop"},{"include":"#if-statement"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(else|if)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"keyword.control.conditional.ballerina"}]},"decl-block":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.ballerina"}},"end":"(?=} external;)|(})","endCaptures":{"0":{"name":"punctuation.definition.block.ballerina"}},"name":"meta.block.ballerina","patterns":[{"include":"#statements"},{"include":"#mdDocumentation"}]},"declaration":{"patterns":[{"include":"#import-declaration"},{"include":"#var-expr"},{"include":"#typeDefinition"},{"include":"#function-defn"},{"include":"#service-decl"},{"include":"#class-defn"},{"include":"#enum-decl"},{"include":"#source"},{"include":"#keywords"}]},"defaultValue":{"patterns":[{"begin":"[:=]","beginCaptures":{"0":{"name":"keyword.operator.ballerina"}},"end":"(?=[),])","patterns":[{"include":"#code"}]}]},"defaultWithParentheses":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.block.ballerina"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.block.ballerina"}}}]},"documentationBody":{"patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.ballerina.documentation"}},"end":"(?=})","endCaptures":{"0":{"name":"punctuation.definition.block.ballerina.documentation"}},"patterns":[{"captures":{"1":{"name":"keyword.other.ballerina.documentation"},"2":{"name":"keyword.other.ballerina.documentation"},"3":{"name":"variable.parameter.ballerina.documentation"},"4":{"name":"keyword.other.ballerina.documentation"}},"match":"([FPRTV])(\\\\{\\\\{)(.*)(}})"},{"begin":"```","end":"```","name":"comment.block.code.ballerina.documentation"},{"begin":"``","end":"``","name":"comment.block.code.ballerina.documentation"},{"begin":"`","end":"`","name":"comment.block.code.ballerina.documentation"},{"match":".","name":"comment.block.ballerina.documentation"}]}]},"documentationDef":{"patterns":[{"begin":"\\\\bd(?:ocumentation|eprecated)\\\\b","beginCaptures":{"0":{"name":"keyword.ballerina"}},"end":"}","endCaptures":{"0":{"name":"delimiter.curly"}},"patterns":[{"include":"#documentationBody"},{"include":"#comment"}]}]},"enum-decl":{"begin":"(?:\\\\b(const)\\\\s+)?\\\\b(enum)\\\\s+([$_[:alpha:]][$_[:alnum:]]*)","beginCaptures":{"1":{"name":"storage.modifier.ballerina"},"2":{"name":"keyword.other.ballerina"},"3":{"name":"entity.name.type.enum.ballerina"}},"end":"(?<=})","name":"meta.enum.declaration.ballerina","patterns":[{"include":"#comment"},{"include":"#mdDocumentation"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.ballerina"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.ballerina"}},"patterns":[{"include":"#comment"},{"include":"#mdDocumentation"},{"begin":"([$_[:alpha:]][$_[:alnum:]]*)","beginCaptures":{"0":{"name":"variable.other.enummember.ballerina"}},"end":"(?=[,}]|$)","patterns":[{"include":"#comment"},{"include":"#variable-initializer"}]},{"begin":"(?=((\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`)|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])+])))","end":"(?=[,}]|$)","patterns":[{"include":"#string"},{"include":"#array-literal"},{"include":"#comment"},{"include":"#variable-initializer"}]},{"include":"#punctuation-comma"}]}]},"errorDestructure":{"patterns":[{"begin":"error","beginCaptures":{"0":{"name":"storage.type.ballerina"}},"end":"(?==>)","patterns":[{"include":"#code"}]}]},"expression":{"patterns":[{"include":"#keywords"},{"include":"#expressionWithoutIdentifiers"},{"include":"#identifiers"},{"include":"#regex"}]},"expression-operators":{"patterns":[{"match":"(?:\\\\*|(?<!\\\\()/|[-%+])=","name":"keyword.operator.assignment.compound.ballerina"},{"match":"(?:[\\\\&^]|<<|>>>??|\\\\|)=","name":"keyword.operator.assignment.compound.bitwise.ballerina"},{"match":"<<|>>>?","name":"keyword.operator.bitwise.shift.ballerina"},{"match":"[!=]==?","name":"keyword.operator.comparison.ballerina"},{"match":"<=|>=|<>|[<>]","name":"keyword.operator.relational.ballerina"},{"captures":{"1":{"name":"keyword.operator.logical.ballerina"},"2":{"name":"keyword.operator.assignment.compound.ballerina"},"3":{"name":"keyword.operator.arithmetic.ballerina"}},"match":"(?<=[$_[:alnum:]])(!)\\\\s*(?:(/=)|(/)(?![*/]))"},{"match":"!|&&|\\\\|\\\\||\\\\?\\\\?","name":"keyword.operator.logical.ballerina"},{"match":"[\\\\&^|~]","name":"keyword.operator.bitwise.ballerina"},{"match":"=","name":"keyword.operator.assignment.ballerina"},{"match":"--","name":"keyword.operator.decrement.ballerina"},{"match":"\\\\+\\\\+","name":"keyword.operator.increment.ballerina"},{"match":"[-%*+/]","name":"keyword.operator.arithmetic.ballerina"}]},"expressionWithoutIdentifiers":{"patterns":[{"include":"#xml"},{"include":"#string"},{"include":"#stringTemplate"},{"include":"#comment"},{"include":"#object-literal"},{"include":"#ternary-expression"},{"include":"#expression-operators"},{"include":"#literal"},{"include":"#paranthesised"},{"include":"#regex"}]},"flags-on-off":{"name":"meta.flags.regexp.ballerina","patterns":[{"begin":"(\\\\??)([imsx]*)(-?)([imsx]*)(:)","beginCaptures":{"1":{"name":"punctuation.other.non-capturing-group-begin.regexp.ballerina"},"2":{"name":"keyword.other.non-capturing-group.flags-on.regexp.ballerina"},"3":{"name":"punctuation.other.non-capturing-group.off.regexp.ballerina"},"4":{"name":"keyword.other.non-capturing-group.flags-off.regexp.ballerina"},"5":{"name":"punctuation.other.non-capturing-group-end.regexp.ballerina"}},"end":"()","name":"constant.other.flag.regexp.ballerina","patterns":[{"include":"#regexp"},{"include":"#template-substitution-element"}]}]},"for-loop":{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))foreach\\\\s*","beginCaptures":{"0":{"name":"keyword.control.loop.ballerina"},"1":{"name":"support.type.primitive.ballerina"}},"end":"(?=\\\\{)","patterns":[{"match":"\\\\bin\\\\b","name":"keyword.other.ballerina"},{"include":"#identifiers"},{"include":"#comment"},{"include":"#var-expr"},{"include":"#expression"}]},"forkBody":{"patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.ballerina"}},"end":"(?=})","patterns":[{"include":"#workerDef"}]}]},"forkStatement":{"patterns":[{"begin":"\\\\bfork\\\\b","beginCaptures":{"0":{"name":"keyword.control.ballerina"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.ballerina"}},"patterns":[{"include":"#forkBody"}]}]},"function-body":{"patterns":[{"include":"#comment"},{"include":"#functionParameters"},{"include":"#decl-block"},{"begin":"=>","beginCaptures":{"0":{"name":"meta.arrow.ballerina storage.type.function.arrow.ballerina"}},"end":"(?=;)|(?=,)|(?=\\\\);)","name":"meta.block.ballerina","patterns":[{"include":"#natural-expr"},{"include":"#statements"},{"include":"#punctuation-comma"}]},{"match":"\\\\*","name":"keyword.generator.asterisk.ballerina"}]},"function-defn":{"begin":"(?:(p(?:ublic|rivate))\\\\s+)?(function)\\\\b","beginCaptures":{"1":{"name":"keyword.other.ballerina"},"2":{"name":"keyword.other.ballerina"}},"end":"(?<=;)|(?<=})|(?<=,)|(?=\\\\);)","name":"meta.function.ballerina","patterns":[{"match":"\\\\bexternal\\\\b","name":"keyword.ballerina"},{"include":"#stringTemplate"},{"include":"#annotationAttachment"},{"include":"#functionReturns"},{"include":"#functionName"},{"include":"#functionParameters"},{"include":"#punctuation-semicolon"},{"include":"#function-body"},{"include":"#regex"}]},"function-parameters-body":{"patterns":[{"include":"#comment"},{"include":"#numbers"},{"include":"#string"},{"include":"#annotationAttachment"},{"include":"#recordLiteral"},{"include":"#keywords"},{"include":"#parameter-name"},{"include":"#array-literal"},{"include":"#variable-initializer"},{"include":"#identifiers"},{"include":"#regex"},{"match":",","name":"punctuation.separator.parameter.ballerina"}]},"functionName":{"patterns":[{"match":"\\\\bfunction\\\\b","name":"keyword.other.ballerina"},{"include":"#type-primitive"},{"include":"#self-literal"},{"include":"#string"},{"captures":{"2":{"name":"variable.language.this.ballerina"},"3":{"name":"keyword.other.ballerina"},"4":{"name":"support.type.primitive.ballerina"},"5":{"name":"storage.type.ballerina"},"6":{"name":"meta.definition.function.ballerina entity.name.function.ballerina"}},"match":"\\\\s+(\\\\b(self)|\\\\b(is|new|isolated|null|function|in)\\\\b|(string|int|boolean|float|byte|decimal|json|xml|anydata)\\\\b|\\\\b(readonly|error|map)\\\\b|([$_[:alpha:]][$_[:alnum:]]*))"}]},"functionParameters":{"begin":"[(\\\\[]","beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.ballerina"}},"end":"[])]","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.ballerina"}},"name":"meta.parameters.ballerina","patterns":[{"include":"#function-parameters-body"}]},"functionReturns":{"begin":"\\\\s*(returns)\\\\s*","beginCaptures":{"1":{"name":"keyword.other.ballerina"}},"end":"(?==>)|(=)|(?=\\\\{)|(\\\\))|(?=;)","endCaptures":{"1":{"name":"keyword.operator.ballerina"}},"name":"meta.type.function.return.ballerina","patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#numbers"},{"include":"#keywords"},{"include":"#type-primitive"},{"captures":{"1":{"name":"support.type.primitive.ballerina"}},"match":"\\\\s*\\\\b(var)(?=\\\\s+|[?\\\\[])"},{"match":"\\\\|","name":"keyword.operator.ballerina"},{"match":"\\\\?","name":"keyword.operator.optional.ballerina"},{"include":"#type-annotation"},{"include":"#type-tuple"},{"include":"#keywords"},{"match":"[$_[:alpha:]][$_[:alnum:]]*","name":"variable.other.readwrite.ballerina"}]},"functionType":{"patterns":[{"begin":"\\\\bfunction\\\\b","beginCaptures":{"0":{"name":"keyword.ballerina"}},"end":"(?=,)|(?=\\\\|)|(?=:)|(?==>)|(?=\\\\))|(?=])","patterns":[{"include":"#comment"},{"include":"#functionTypeParamList"},{"include":"#functionTypeReturns"}]}]},"functionTypeParamList":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"delimiter.parenthesis"}},"end":"\\\\)","endCaptures":{"0":{"name":"delimiter.parenthesis"}},"patterns":[{"match":"public","name":"keyword"},{"include":"#annotationAttachment"},{"include":"#recordLiteral"},{"include":"#record"},{"include":"#objectDec"},{"include":"#functionType"},{"include":"#constrainType"},{"include":"#parameterTuple"},{"include":"#functionTypeType"},{"include":"#comment"}]}]},"functionTypeReturns":{"patterns":[{"begin":"\\\\breturns\\\\b","beginCaptures":{"0":{"name":"keyword"}},"end":"(?=,)|\\\\||(?=])|(?=\\\\))","patterns":[{"include":"#functionTypeReturnsParameter"},{"include":"#comment"}]}]},"functionTypeReturnsParameter":{"patterns":[{"begin":"((?=record|object|function)|[$_[:alpha:]][$_[:alnum:]]*)","beginCaptures":{"0":{"name":"storage.type.ballerina"}},"end":"(?=,)|[:|]|(?==>)|(?=\\\\))|(?=])","patterns":[{"include":"#record"},{"include":"#objectDec"},{"include":"#functionType"},{"include":"#constrainType"},{"include":"#defaultValue"},{"include":"#comment"},{"include":"#parameterTuple"},{"match":"[$_[:alpha:]][$_[:alnum:]]*","name":"default.variable.parameter.ballerina"}]}]},"functionTypeType":{"patterns":[{"begin":"[$_[:alpha:]][$_[:alnum:]]*","beginCaptures":{"0":{"name":"storage.type.ballerina"}},"end":"(?=,)|\\\\||(?=])|(?=\\\\))"}]},"identifiers":{"patterns":[{"captures":{"1":{"name":"punctuation.accessor.ballerina"},"2":{"name":"punctuation.accessor.optional.ballerina"},"3":{"name":"entity.name.function.ballerina"}},"match":"(?:(?:(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d)))\\\\s*)?([$_[:alpha:]][$_[:alnum:]]*)(?=\\\\s*=\\\\s*((((function\\\\s*[(*<])|(function\\\\s+)|([$_[:alpha:]][$_[:alnum:]]*\\\\s*=>)))|((((<\\\\s*)$|((<\\\\s*([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*))))))|((<\\\\s*([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*((\\\\)\\\\s*:)|((\\\\.\\\\.\\\\.\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s*:)))|((<\\\\s*([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*(([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\\\\.\\\\.\\\\.\\\\s*[$_[:alpha:]]))([^\\"\'()`]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))*)?\\\\)(\\\\s*:\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+)?\\\\s*=>)))))"},{"captures":{"1":{"name":"punctuation.accessor.ballerina"},"2":{"name":"punctuation.accessor.optional.ballerina"},"3":{"name":"entity.name.function.ballerina"}},"match":"(?:(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d)))\\\\s*(#?[$_[:alpha:]][$_[:alnum:]]*)\\\\s*(?=\\\\()"},{"captures":{"1":{"name":"punctuation.accessor.ballerina"},"2":{"name":"punctuation.accessor.optional.ballerina"},"3":{"name":"variable.other.property.ballerina"}},"match":"(?:(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d)))\\\\s*(#?[$_[:alpha:]][$_[:alnum:]]*)"},{"include":"#type-primitive"},{"include":"#self-literal"},{"match":"\\\\b(check|foreach|if|checkpanic)\\\\b","name":"keyword.control.ballerina"},{"include":"#natural-expr"},{"include":"#call"},{"match":"\\\\b(var)\\\\b","name":"support.type.primitive.ballerina"},{"captures":{"1":{"name":"variable.other.readwrite.ballerina"},"3":{"name":"punctuation.accessor.ballerina"},"4":{"name":"entity.name.function.ballerina"},"5":{"name":"punctuation.definition.parameters.begin.ballerina"},"6":{"name":"punctuation.definition.parameters.end.ballerina"}},"match":"([$_[:alpha:]][$_[:alnum:]]*)((\\\\.)([$_[:alpha:]][$_[:alnum:]]*)(\\\\()(\\\\)))?"},{"match":"(\')([$_[:alpha:]][$_[:alnum:]]*)","name":"variable.other.property.ballerina"},{"include":"#type-annotation"}]},"if-statement":{"patterns":[{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?=\\\\bif\\\\b\\\\s*(?!\\\\{))","end":"(?<=})","patterns":[{"include":"#comment"},{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(if)\\\\s*(\\\\()?","beginCaptures":{"1":{"name":"keyword.control.conditional.ballerina"},"2":{"name":"meta.brace.round.ballerina"}},"end":"(\\\\))|(?=\\\\{)","endCaptures":{"1":{"name":"meta.brace.round.ballerina"}},"patterns":[{"include":"#decl-block"},{"include":"#keywords"},{"include":"#identifiers"},{"include":"#type-primitive"},{"include":"#xml"},{"include":"#string"},{"include":"#stringTemplate"},{"include":"#comment"},{"include":"#ternary-expression"},{"include":"#expression-operators"},{"include":"#literal"},{"include":"#paranthesised"},{"include":"#regex"}]},{"begin":"(?<=\\\\))(?=[=\\\\s])","end":"(?=\\\\{)","patterns":[{"include":"#literal"},{"include":"#keywords"}]},{"include":"#decl-block"}]}]},"import-clause":{"patterns":[{"include":"#comment"},{"captures":{"1":{"name":"keyword.control.default.ballerina"},"3":{"name":"variable.other.readwrite.ballerina meta.import.module.ballerina"},"5":{"name":"keyword.control.default.ballerina"},"6":{"name":"variable.other.readwrite.alias.ballerina"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:\\\\b(default)|(\\\\*)|\\\\b([$_[:alpha:]][$_[:alnum:]]*))"},{"match":"([$_[:alpha:]][$_[:alnum:]]*)","name":"variable.other.readwrite.alias.ballerina"}]},"import-declaration":{"begin":"\\\\bimport\\\\b","beginCaptures":{"0":{"name":"keyword.control.import.ballerina"}},"end":";","endCaptures":{"0":{"name":"punctuation.terminator.statement.ballerina"}},"name":"meta.import.ballerina","patterns":[{"match":"(\')([$_[:alpha:]][$_[:alnum:]]*)","name":"variable.other.property.ballerina"},{"include":"#keywords"},{"include":"#comment"},{"include":"#import-clause"},{"include":"#punctuation-accessor"}]},"keywords":{"patterns":[{"match":"\\\\b(fork|join|while|returns|transaction|transactional|retry|commit|rollback|typeof|enum|wait|match)\\\\b","name":"keyword.control.ballerina"},{"match":"\\\\b(return|break|continue|check|checkpanic|panic|trap|from|where)\\\\b","name":"keyword.control.flow.ballerina"},{"match":"\\\\b(public|private|external|return|record|object|remote|abstract|client|true|false|fail|import|version)\\\\b","name":"keyword.other.ballerina"},{"match":"\\\\b(as|on|function|resource|listener|const|final|is|null|lock|annotation|source|worker|parameter|field|isolated|in)\\\\b","name":"keyword.other.ballerina"},{"match":"\\\\b(xmlns|table|key|let|new|select|start|flush|default|do|base16|base64|conflict)\\\\b","name":"keyword.other.ballerina"},{"match":"\\\\b(limit|outer|equals|order|by|ascending|descending|class|configurable|variable|module|service|group|collect)\\\\b","name":"keyword.other.ballerina"},{"match":"(=>)","name":"meta.arrow.ballerina storage.type.function.arrow.ballerina"},{"match":"([-!%+]|~=|===?|=|!==??|[\\\\&<>|]|\\\\?:|\\\\.\\\\.\\\\.|<=|>=|&&|\\\\|\\\\||~|>>>??)","name":"keyword.operator.ballerina"},{"include":"#types"},{"include":"#self-literal"},{"include":"#type-primitive"}]},"literal":{"patterns":[{"include":"#booleans"},{"include":"#numbers"},{"include":"#strings"},{"include":"#maps"},{"include":"#self-literal"},{"include":"#array-literal"}]},"maps":{"patterns":[{"begin":"\\\\{","end":"}","patterns":[{"include":"#code"}]}]},"matchBindingPattern":{"patterns":[{"begin":"var","beginCaptures":{"0":{"name":"storage.type.ballerina"}},"end":"(?==>)|,","patterns":[{"include":"#errorDestructure"},{"include":"#code"},{"match":"[$_[:alpha:]][$_[:alnum:]]*","name":"variable.parameter.ballerina"}]}]},"matchStatement":{"patterns":[{"begin":"\\\\bmatch\\\\b","beginCaptures":{"0":{"name":"keyword.control.ballerina"}},"end":"}","patterns":[{"include":"#matchStatementBody"},{"include":"#comment"},{"include":"#code"}]}]},"matchStatementBody":{"patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.ballerina.documentation"}},"end":"(?=})","endCaptures":{"0":{"name":"punctuation.definition.block.ballerina.documentation"}},"patterns":[{"include":"#literal"},{"include":"#matchBindingPattern"},{"include":"#matchStatementPatternClause"},{"include":"#comment"},{"include":"#code"}]}]},"matchStatementPatternClause":{"patterns":[{"begin":"=>","beginCaptures":{"0":{"name":"keyword.ballerina"}},"end":"((})|[,;])","patterns":[{"include":"#callableUnitBody"},{"include":"#code"}]}]},"mdDocumentation":{"begin":"#","end":"[\\\\n\\\\r]+","name":"comment.mddocs.ballerina","patterns":[{"include":"#mdDocumentationReturnParamDescription"},{"include":"#mdDocumentationParamDescription"}]},"mdDocumentationParamDescription":{"patterns":[{"begin":"(\\\\+\\\\s+)(\'?[$_[:alpha:]][$_[:alnum:]]*)(\\\\s*-\\\\s+)","beginCaptures":{"1":{"name":"keyword.operator.ballerina"},"2":{"name":"variable.other.readwrite.ballerina"},"3":{"name":"keyword.operator.ballerina"}},"end":"(?=[^\\\\n\\\\r#]|# *?\\\\+)","patterns":[{"match":"#.*","name":"comment.mddocs.paramdesc.ballerina"}]}]},"mdDocumentationReturnParamDescription":{"patterns":[{"begin":"(#) *?(\\\\+) *(return) *(-)?(.*)","beginCaptures":{"1":{"name":"comment.mddocs.ballerina"},"2":{"name":"keyword.ballerina"},"3":{"name":"keyword.ballerina"},"4":{"name":"keyword.ballerina"},"5":{"name":"comment.mddocs.returnparamdesc.ballerina"}},"end":"(?=[^\\\\n\\\\r#]|# *?\\\\+)","patterns":[{"match":"#.*","name":"comment.mddocs.returnparamdesc.ballerina"}]}]},"multiType":{"patterns":[{"match":"(?<=\\\\|)([$_[:alpha:]][$_[:alnum:]]*)|([$_[:alpha:]][$_[:alnum:]]*)(?=\\\\|)","name":"storage.type.ballerina"},{"match":"\\\\|","name":"keyword.operator.ballerina"}]},"natural-expr":{"patterns":[{"begin":"natural","beginCaptures":{"0":{"name":"keyword.other.ballerina"}},"end":"(?=})","endCaptures":{"0":{"name":"punctuation.definition.block.ballerina"}},"patterns":[{"include":"#natural-expr-body"}]}]},"natural-expr-body":{"patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.ballerina"}},"contentName":"string.template.ballerina","end":"(?=})","endCaptures":{"0":{"name":"punctuation.definition.block.ballerina"}},"patterns":[{"include":"#template-substitution-element"},{"include":"#string-character-escape"},{"include":"#templateVariable"}]}]},"numbers":{"patterns":[{"match":"\\\\b(?:0[Xx][A-Fa-f\\\\d]+\\\\b|\\\\d+(?:\\\\.(?:\\\\d+|$))?)","name":"constant.numeric.decimal.ballerina"}]},"object-literal":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.ballerina"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.ballerina"}},"name":"meta.objectliteral.ballerina","patterns":[{"include":"#object-member"},{"include":"#punctuation-comma"}]},"object-member":{"patterns":[{"include":"#comment"},{"include":"#function-defn"},{"include":"#literal"},{"include":"#keywords"},{"include":"#expression"},{"begin":"(?=\\\\[)","end":"(?=:)|((?<=])(?=\\\\s*[(<]))","name":"meta.object.member.ballerina meta.object-literal.key.ballerina","patterns":[{"include":"#comment"}]},{"begin":"(?=[\\"\'`])","end":"(?=:)|((?<=[\\"\'`])(?=((\\\\s*[(,<}])|(\\\\n*})|(\\\\s+(as)\\\\s+))))","name":"meta.object.member.ballerina meta.object-literal.key.ballerina","patterns":[{"include":"#comment"},{"include":"#string"}]},{"begin":"(?=\\\\b((?<!\\\\$)0[Xx]\\\\h[_\\\\h]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Bb][01][01_]*(n)?\\\\b(?!\\\\$))|\\\\b((?<!\\\\$)0[Oo]?[0-7][0-7_]*(n)?\\\\b(?!\\\\$))|((?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(n)?\\\\B|\\\\B(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(n)?\\\\b(?!\\\\.))(?!\\\\$)))","end":"(?=:)|(?=\\\\s*([(,<}])|(\\\\s+as\\\\s+))","name":"meta.object.member.ballerina meta.object-literal.key.ballerina","patterns":[{"include":"#comment"},{"include":"#numbers"}]},{"begin":"(?<=[]\\"\'`])(?=\\\\s*[(<])","end":"(?=[,;}])|(?<=})","name":"meta.method.declaration.ballerina","patterns":[{"include":"#function-body"}]},{"captures":{"0":{"name":"meta.object-literal.key.ballerina"},"1":{"name":"constant.numeric.decimal.ballerina"}},"match":"(?![$_[:alpha:]])(\\\\d+)\\\\s*(?=(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*:)","name":"meta.object.member.ballerina"},{"captures":{"0":{"name":"meta.object-literal.key.ballerina"},"1":{"name":"entity.name.function.ballerina"}},"match":"([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(?=(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*:(\\\\s*/\\\\*([^*]|(\\\\*[^/]))*\\\\*/)*\\\\s*((((function\\\\s*[(*<])|(function\\\\s+)|([$_[:alpha:]][$_[:alnum:]]*\\\\s*=>)))|((((<\\\\s*)$|((<\\\\s*([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*((([\\\\[{]\\\\s*)?)$|((\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})\\\\s*((:\\\\s*\\\\{?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*)))|((\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])\\\\s*((:\\\\s*\\\\[?)$|((\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+\\\\s*)?=\\\\s*))))))|((<\\\\s*([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*((\\\\)\\\\s*:)|((\\\\.\\\\.\\\\.\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s*:)))|((<\\\\s*([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*(([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\\\\.\\\\.\\\\.\\\\s*[$_[:alpha:]]))([^\\"\'()`]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))*)?\\\\)(\\\\s*:\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+)?\\\\s*=>)))))","name":"meta.object.member.ballerina"},{"captures":{"0":{"name":"meta.object-literal.key.ballerina"}},"match":"[$_[:alpha:]][$_[:alnum:]]*\\\\s*(?=(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*:)","name":"meta.object.member.ballerina"},{"begin":"\\\\.\\\\.\\\\.","beginCaptures":{"0":{"name":"keyword.operator.spread.ballerina"}},"end":"(?=[,}])","name":"meta.object.member.ballerina","patterns":[{"include":"#expression"}]},{"captures":{"1":{"name":"variable.other.readwrite.ballerina"}},"match":"([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(?=[,}]|$|//|/\\\\*)","name":"meta.object.member.ballerina"},{"captures":{"1":{"name":"keyword.control.as.ballerina"},"2":{"name":"storage.modifier.ballerina"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(as)\\\\s+(const)(?=\\\\s*([,}]|$))","name":"meta.object.member.ballerina"},{"begin":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(as)\\\\s+","beginCaptures":{"1":{"name":"keyword.control.as.ballerina"}},"end":"(?=[-\\\\])+,:;>?}]|\\\\|\\\\||&&|!==|$|^|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(as)\\\\s+))","name":"meta.object.member.ballerina"},{"begin":"(?=[$_[:alpha:]][$_[:alnum:]]*\\\\s*=)","end":"(?=[,}]|$|//|/\\\\*)","name":"meta.object.member.ballerina","patterns":[{"include":"#expression"}]}]},"objectDec":{"patterns":[{"begin":"\\\\bobject\\\\b(?!:)","beginCaptures":{"0":{"name":"keyword.other.ballerina"}},"end":"(?<=})","patterns":[{"include":"#decl-block"}]}]},"objectInitBody":{"patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.ballerina"}},"end":"(?=})","endCaptures":{"0":{"name":"punctuation.definition.block.ballerina"}},"patterns":[{"include":"#comment"},{"include":"#code"}]}]},"objectInitParameters":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.ballerina"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.ballerina"}},"patterns":[{"include":"#code"},{"match":"\\\\b([$_[:alpha:]][$_[:alnum:]]*)\\\\b","name":"variable.parameter.ballerina"}]}]},"objectMemberFunctionDec":{"patterns":[{"begin":"\\\\bfunction\\\\b","beginCaptures":{"0":{"name":"keyword.ballerina"}},"end":";","endCaptures":{"0":{"name":"punctuation.definition.block.ballerina"}},"patterns":[{"include":"#functionParameters"},{"match":"\\\\breturns\\\\b","name":"keyword.ballerina"},{"include":"#code"}]}]},"parameter":{"patterns":[{"begin":"((?=record|object|function)|([$_[:alpha:]][$_[:alnum:]]*)(?=\\\\|)|[$_[:alpha:]][$_[:alnum:]]*)","beginCaptures":{"0":{"name":"storage.type.ballerina"}},"end":"[,:|]|(?==>)|(?=\\\\))|(?=])","patterns":[{"include":"#parameterWithDescriptor"},{"include":"#record"},{"include":"#objectDec"},{"include":"#functionType"},{"include":"#constrainType"},{"include":"#defaultValue"},{"include":"#comment"},{"include":"#parameterTuple"},{"match":"[$_[:alpha:]][$_[:alnum:]]*","name":"default.variable.parameter.ballerina"}]}]},"parameter-name":{"patterns":[{"captures":{"1":{"name":"support.type.primitive.ballerina"}},"match":"\\\\s*\\\\b(var)\\\\s+"},{"captures":{"2":{"name":"keyword.operator.rest.ballerina"},"3":{"name":"support.type.primitive.ballerina"},"4":{"name":"keyword.other.ballerina"},"5":{"name":"constant.language.boolean.ballerina"},"6":{"name":"keyword.control.flow.ballerina"},"7":{"name":"storage.type.ballerina"},"8":{"name":"variable.parameter.ballerina"},"9":{"name":"variable.parameter.ballerina"},"10":{"name":"keyword.operator.optional.ballerina"}},"match":"(?:(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))\\\\s+)?(?:(\\\\.\\\\.\\\\.)\\\\s*)?(?<![:=])(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?:(this)|(string|int|boolean|float|byte|decimal|json|xml|anydata)|\\\\b(is|new|isolated|null|function|in)\\\\b|\\\\b(true|false)\\\\b|\\\\b(check|foreach|if|checkpanic)\\\\b|\\\\b(readonly|error|map)\\\\b|([$_[:alpha:]][$_[:alnum:]]*))(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))\\\\s*(\\\\??)"}]},"parameterTuple":{"patterns":[{"begin":"\\\\[","end":"(?=,)|(?=\\\\|)|(?=:)|(?==>)|(?=\\\\))","patterns":[{"include":"#record"},{"include":"#objectDec"},{"include":"#parameterTupleType"},{"include":"#parameterTupleEnd"},{"include":"#comment"}]}]},"parameterTupleEnd":{"patterns":[{"begin":"]","end":"(?=,)|(?=\\\\|)|(?=:)|(?==>)|(?=\\\\))","patterns":[{"include":"#defaultWithParentheses"},{"match":"[$_[:alpha:]][$_[:alnum:]]*","name":"default.variable.parameter.ballerina"}]}]},"parameterTupleType":{"patterns":[{"begin":"[$_[:alpha:]][$_[:alnum:]]*","beginCaptures":{"0":{"name":"storage.type.ballerina"}},"end":"[,|]|(?=])"}]},"parameterWithDescriptor":{"patterns":[{"begin":"&","beginCaptures":{"0":{"name":"keyword.operator.ballerina"}},"end":"(?=,)|(?=\\\\|)|(?=\\\\))","patterns":[{"include":"#parameter"}]}]},"parameters":{"patterns":[{"match":"\\\\s*(return|break|continue|check|checkpanic|panic|trap|from|where)\\\\b","name":"keyword.control.flow.ballerina"},{"match":"\\\\s*(let|select)\\\\b","name":"keyword.other.ballerina"},{"match":",","name":"punctuation.separator.parameter.ballerina"}]},"paranthesised":{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.brace.round.ballerina"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.ballerina"}},"name":"meta.brace.round.block.ballerina","patterns":[{"include":"#self-literal"},{"include":"#function-defn"},{"include":"#decl-block"},{"include":"#comment"},{"include":"#string"},{"include":"#parameters"},{"include":"#annotationAttachment"},{"include":"#recordLiteral"},{"include":"#stringTemplate"},{"include":"#parameter-name"},{"include":"#variable-initializer"},{"include":"#expression"},{"include":"#regex"}]},"paranthesisedBracket":{"patterns":[{"begin":"\\\\[","end":"]","patterns":[{"include":"#comment"},{"include":"#code"}]}]},"punctuation-accessor":{"patterns":[{"captures":{"1":{"name":"punctuation.accessor.ballerina"},"2":{"name":"punctuation.accessor.optional.ballerina"}},"match":"(\\\\.)|(\\\\?\\\\.(?!\\\\s*\\\\d))"}]},"punctuation-comma":{"patterns":[{"match":",","name":"punctuation.separator.comma.ballerina"}]},"punctuation-semicolon":{"patterns":[{"match":";","name":"punctuation.terminator.statement.ballerina"}]},"record":{"begin":"\\\\brecord\\\\b","beginCaptures":{"0":{"name":"keyword.other.ballerina"}},"end":"(?<=})","name":"meta.record.ballerina","patterns":[{"include":"#recordBody"}]},"recordBody":{"patterns":[{"include":"#decl-block"}]},"recordLiteral":{"patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.ballerina"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.ballerina"}},"patterns":[{"include":"#code"}]}]},"regex":{"patterns":[{"begin":"\\\\b(re)(\\\\s*)(`)","beginCaptures":{"1":{"name":"support.type.primitive.ballerina"},"3":{"name":"punctuation.definition.regexp.template.begin.ballerina"}},"end":"`","endCaptures":{"1":{"name":"punctuation.definition.regexp.template.end.ballerina"}},"name":"regexp.template.ballerina","patterns":[{"include":"#template-substitution-element"},{"include":"#regexp"}]}]},"regex-character-class":{"patterns":[{"match":"\\\\\\\\[DSWdnrstw]|\\\\.","name":"keyword.other.character-class.regexp.ballerina"},{"match":"\\\\\\\\[^Ppu]","name":"constant.character.escape.backslash.regexp"}]},"regex-unicode-properties-general-category":{"patterns":[{"match":"(Lu|Ll|Lt|Lm|Lo?|Mn|Mc|Me?|Nd|Nl|No?|Pc|Pd|Ps|Pe|Pi|Pf|Po?|Sm|Sc|Sk|So?|Zs|Zl|Zp?|Cf|Cc|Cn|Co?)","name":"constant.other.unicode-property-general-category.regexp.ballerina"}]},"regex-unicode-property-key":{"patterns":[{"begin":"([gs]c=)","beginCaptures":{"1":{"name":"keyword.other.unicode-property-key.regexp.ballerina"}},"end":"()","endCaptures":{"1":{"name":"punctuation.other.unicode-property.end.regexp.ballerina"}},"name":"keyword.other.unicode-property-key.regexp.ballerina","patterns":[{"include":"#regex-unicode-properties-general-category"}]}]},"regexp":{"patterns":[{"match":"[$^]","name":"keyword.control.assertion.regexp.ballerina"},{"match":"[*+?]|\\\\{(\\\\d+,\\\\d+|\\\\d+,|,\\\\d+|\\\\d+)}\\\\??","name":"keyword.operator.quantifier.regexp.ballerina"},{"match":"\\\\|","name":"keyword.operator.or.regexp.ballerina"},{"begin":"(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.group.regexp.ballerina"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.group.regexp.ballerina"}},"name":"meta.group.assertion.regexp.ballerina","patterns":[{"include":"#template-substitution-element"},{"include":"#regexp"},{"include":"#flags-on-off"},{"include":"#unicode-property-escape"}]},{"begin":"(\\\\[)(\\\\^)?","beginCaptures":{"1":{"name":"punctuation.definition.character-class.start.regexp.ballerina"},"2":{"name":"keyword.operator.negation.regexp.ballerina"}},"end":"(])","endCaptures":{"1":{"name":"punctuation.definition.character-class.end.regexp.ballerina"}},"name":"constant.other.character-class.set.regexp.ballerina","patterns":[{"captures":{"1":{"name":"constant.character.numeric.regexp"},"2":{"name":"constant.character.escape.backslash.regexp"},"3":{"name":"constant.character.numeric.regexp"},"4":{"name":"constant.character.escape.backslash.regexp"}},"match":"(?:.|(\\\\\\\\(?:[0-7]{3}|x\\\\h{2}|u\\\\h{4}))|(\\\\\\\\[^Ppu]))-(?:[^]\\\\\\\\]|(\\\\\\\\(?:[0-7]{3}|x\\\\h{2}|u\\\\h{4}))|(\\\\\\\\[^Ppu]))","name":"constant.other.character-class.range.regexp.ballerina"},{"include":"#regex-character-class"},{"include":"#unicode-values"},{"include":"#unicode-property-escape"}]},{"include":"#template-substitution-element"},{"include":"#regex-character-class"},{"include":"#unicode-values"},{"include":"#unicode-property-escape"}]},"self-literal":{"patterns":[{"captures":{"1":{"name":"variable.language.this.ballerina"},"2":{"name":"punctuation.accessor.ballerina"},"3":{"name":"entity.name.function.ballerina"}},"match":"\\\\b(self)\\\\b\\\\s*(.)\\\\s*([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(?=\\\\()"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))self\\\\b(?!\\\\$)","name":"variable.language.this.ballerina"}]},"service-decl":{"begin":"\\\\bservice\\\\b","beginCaptures":{"0":{"name":"keyword.ballerina"}},"end":"(?=;|^\\\\s*$|^\\\\s*(?:abstract|async|class|const|declare|enum|export|function|import|interface|let|module|namespace|return|service|type|var)\\\\b)|(?<=})|(?<=,)","name":"meta.service.declaration.ballerina","patterns":[{"include":"#class-defn"},{"include":"#serviceName"},{"include":"#serviceOn"},{"include":"#serviceBody"},{"include":"#objectDec"}]},"serviceBody":{"patterns":[{"include":"#comment"},{"include":"#mdDocumentation"},{"include":"#documentationDef"},{"include":"#decl-block"}]},"serviceName":{"patterns":[{"include":"#string"},{"match":"(/([$_[:alpha:]][$_[:alnum:]]*)|\\"[$_[:alpha:]][$_[:alnum:]]*\\")","name":"entity.service.path.ballerina"}]},"serviceOn":{"patterns":[{"begin":"on","beginCaptures":{"0":{"name":"keyword.other.ballerina"}},"end":"(?=\\\\{)","patterns":[{"include":"#code"}]}]},"source":{"patterns":[{"begin":"\\\\b(source)\\\\b\\\\s+([$_[:alpha:]][$_[:alnum:]]*)","beginCaptures":{"1":{"name":"keyword.other.ballerina"},"2":{"name":"variable.other.readwrite.ballerina"}},"end":"(?=,)|(?=;)"}]},"statements":{"patterns":[{"include":"#stringTemplate"},{"include":"#declaration"},{"include":"#control-statement"},{"include":"#decl-block"},{"include":"#expression"},{"include":"#punctuation-semicolon"},{"include":"#string"},{"include":"#comment"},{"include":"#mdDocumentation"},{"include":"#keywords"},{"include":"#annotationAttachment"},{"include":"#regex"}]},"string":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ballerina"}},"end":"(\\")|([^\\\\n\\\\\\\\])$","endCaptures":{"1":{"name":"punctuation.definition.string.end.ballerina"},"2":{"name":"invalid.illegal.newline.ballerina"}},"name":"string.quoted.double.ballerina","patterns":[{"include":"#string-character-escape"}]}]},"string-character-escape":{"patterns":[{"match":"\\\\\\\\(x\\\\h{2}|u\\\\h{4}|u\\\\{\\\\h+}|[012][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.|$)","name":"constant.character.escape.ballerina"}]},"stringTemplate":{"patterns":[{"begin":"((string)|([$_[:alpha:]][$_[:alnum:]]*))?(`)","beginCaptures":{"1":{"name":"entity.name.function.tagged-template.ballerina"},"2":{"name":"support.type.primitive.ballerina"},"4":{"name":"punctuation.definition.string.template.begin.ballerina"}},"end":"\\\\\\\\?`","endCaptures":{"0":{"name":"punctuation.definition.string.template.end.ballerina"}},"name":"string.template.ballerina","patterns":[{"include":"#template-substitution-element"},{"include":"#string-character-escape"}]}]},"strings":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"string.begin.ballerina"}},"end":"\\"","endCaptures":{"0":{"name":"string.end.ballerina"}},"patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.ballerina"},{"match":".","name":"string"}]}]},"template-substitution-element":{"patterns":[{"begin":"\\\\$\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.template-expression.begin.ballerina"}},"contentName":"meta.embedded.line.ballerina","end":"}","endCaptures":{"0":{"name":"punctuation.definition.template-expression.end.ballerina"}},"name":"meta.template.expression.ballerina","patterns":[{"include":"#expression"}]}]},"templateVariable":{"patterns":[{"begin":"\\\\$\\\\{","beginCaptures":{"0":{"name":"constant.character.escape.ballerina"}},"end":"}","endCaptures":{"0":{"name":"constant.character.escape.ballerina"}},"patterns":[{"include":"#code"}]}]},"ternary-expression":{"begin":"(?!\\\\?\\\\.\\\\s*\\\\D)(\\\\?)(?!\\\\?)","beginCaptures":{"1":{"name":"keyword.operator.ternary.ballerina"}},"end":"\\\\s*","endCaptures":{"1":{"name":"keyword.operator.ternary.ballerina"}},"patterns":[{"include":"#expression"}]},"tupleType":{"patterns":[{"begin":"\\\\[","end":"(?=[];])","patterns":[{"include":"#comment"},{"include":"#constrainType"},{"include":"#paranthesisedBracket"},{"match":"\\\\b([$_[:alpha:]][$_[:alnum:]]*)\\\\b","name":"storage.type.ballerina"}]}]},"type":{"patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#numbers"},{"include":"#type-primitive"},{"include":"#type-tuple"}]},"type-annotation":{"patterns":[{"begin":"(:)","beginCaptures":{"1":{"name":"keyword.operator.type.annotation.ballerina"}},"end":"(?<![\\\\&:|])((?=$|^|[]),;=>?}]|//)|(?==[^>])|((?<=[]$)>_}[:alpha:]])\\\\s*(?=\\\\{)))(\\\\?)?","name":"meta.type.annotation.ballerina","patterns":[{"include":"#booleans"},{"include":"#stringTemplate"},{"include":"#regex"},{"include":"#self-literal"},{"include":"#xml"},{"include":"#call"},{"captures":{"1":{"name":"keyword.other.ballerina"},"2":{"name":"constant.language.boolean.ballerina"},"3":{"name":"keyword.control.ballerina"},"4":{"name":"storage.type.ballerina"},"5":{"name":"support.type.primitive.ballerina"},"6":{"name":"variable.other.readwrite.ballerina"},"8":{"name":"punctuation.accessor.ballerina"},"9":{"name":"entity.name.function.ballerina"},"10":{"name":"punctuation.definition.parameters.begin.ballerina"},"11":{"name":"punctuation.definition.parameters.end.ballerina"}},"match":"\\\\b(is|new|isolated|null|function|in)\\\\b|\\\\b(true|false)\\\\b|\\\\b(check|foreach|if|checkpanic)\\\\b|\\\\b(readonly|error|map)\\\\b|\\\\b(var)\\\\b|([$_[:alpha:]][$_[:alnum:]]*)((\\\\.)([$_[:alpha:]][$_[:alnum:]]*)(\\\\()(\\\\)))?"},{"match":"\\\\?","name":"keyword.operator.optional.ballerina"},{"include":"#multiType"},{"include":"#type"},{"include":"#paranthesised"}]}]},"type-primitive":{"patterns":[{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(string|int|boolean|float|byte|decimal|json|xml|anydata)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"support.type.primitive.ballerina"}]},"type-tuple":{"begin":"\\\\[","beginCaptures":{"0":{"name":"meta.brace.square.ballerina"}},"end":"]","endCaptures":{"0":{"name":"meta.brace.square.ballerina"}},"name":"meta.type.tuple.ballerina","patterns":[{"include":"#self-literal"},{"include":"#booleans"},{"match":"\\\\.\\\\.\\\\.","name":"keyword.operator.rest.ballerina"},{"captures":{"1":{"name":"entity.name.label.ballerina"},"2":{"name":"keyword.operator.optional.ballerina"},"3":{"name":"punctuation.separator.label.ballerina"}},"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(\\\\?)?\\\\s*(:)"},{"include":"#identifiers"},{"include":"#type"},{"include":"#punctuation-comma"}]},"typeDefinition":{"patterns":[{"begin":"\\\\b(type)\\\\b\\\\s+([$_[:alpha:]][$_[:alnum:]]*)","beginCaptures":{"1":{"name":"keyword.other.ballerina"},"2":{"name":"entity.name.type.ballerina"}},"end":";","endCaptures":{"0":{"name":"punctuation.terminator.statement.ballerina"}},"patterns":[{"include":"#functionParameters"},{"include":"#functionReturns"},{"include":"#mdDocumentation"},{"include":"#record"},{"include":"#string"},{"include":"#keywords"},{"include":"#multiType"},{"include":"#type-primitive"},{"match":"[$_[:alpha:]][$_[:alnum:]]*","name":"variable.other.readwrite.ballerina"},{"include":"#type-annotation"},{"include":"#typeDescription"},{"include":"#decl-block"}]}]},"typeDescription":{"patterns":[{"begin":"[$_[:alpha:]][$_[:alnum:]]*","end":"(?=;)","patterns":[{"include":"#numbers"},{"include":"#decl-block"},{"include":"#type-primitive"},{"match":"[$_[:alpha:]][$_[:alnum:]]*","name":"storage.type.ballerina"}]}]},"types":{"patterns":[{"match":"\\\\b(handle|any|future|typedesc)\\\\b","name":"storage.type.ballerina"},{"match":"\\\\b(boolean|int|string|float|decimal|byte|json|xml|anydata)\\\\b","name":"support.type.primitive.ballerina"},{"match":"\\\\b(map|error|never|readonly|distinct)\\\\b","name":"storage.type.ballerina"},{"match":"\\\\b(stream)\\\\b","name":"storage.type.ballerina"}]},"unicode-property-escape":{"patterns":[{"begin":"(\\\\\\\\[Pp])(\\\\{)","beginCaptures":{"1":{"name":"keyword.other.unicode-property.regexp.ballerina"},"2":{"name":"punctuation.other.unicode-property.begin.regexp.ballerina"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.other.unicode-property.end.regexp.ballerina"}},"name":"keyword.other.unicode-property.regexp.ballerina","patterns":[{"include":"#regex-unicode-properties-general-category"},{"include":"#regex-unicode-property-key"}]}]},"unicode-values":{"patterns":[{"begin":"(\\\\\\\\u)(\\\\{)","beginCaptures":{"1":{"name":"keyword.other.unicode-value.regexp.ballerina"},"2":{"name":"punctuation.other.unicode-value.begin.regexp.ballerina"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.other.unicode-value.end.regexp.ballerina"}},"name":"keyword.other.unicode-value.ballerina","patterns":[{"match":"(\\\\h{1,6})","name":"constant.other.unicode-value.regexp.ballerina"}]}]},"var-expr":{"patterns":[{"begin":"(?=\\\\b(var))","beginCaptures":{"0":{"name":"storage.modifier.ballerina support.type.primitive.ballerina"}},"end":"(?!\\\\b(var))((?=[;}]|^\\\\s*$|^\\\\s*(?:abstract|async|class|const|declare|enum|export|function|import|interface|let|module|namespace|return|service|type|var)\\\\b)|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(?=(if)\\\\s+))|((?<!^string|[^$._[:alnum:]]string|^int|[^$._[:alnum:]]int)(?=\\\\s*$)))","name":"meta.var.expr.ballerina","patterns":[{"begin":"\\\\b(var)(?=\\\\s+|[:?\\\\[|])","beginCaptures":{"0":{"name":"support.type.primitive.ballerina"}},"end":"(?=\\\\S)"},{"match":"\\\\|","name":"keyword.operator.type.annotation.ballerina"},{"match":"\\\\bin\\\\b","name":"keyword.other.ballerina"},{"include":"#comment"},{"include":"#string"},{"include":"#stringTemplate"},{"include":"#numbers"},{"include":"#multiType"},{"include":"#self-literal"},{"include":"#var-single-variable"},{"include":"#variable-initializer"},{"include":"#punctuation-comma"},{"include":"#type-annotation"},{"include":"#keywords"},{"include":"#type-tuple"},{"include":"#regex"}]},{"include":"#punctuation-comma"},{"begin":"(?=\\\\b(const(?!\\\\s+enum\\\\b)))","end":"(?!\\\\b(const(?!\\\\s+enum\\\\b)))((?=\\\\bannotation\\\\b|[;}]|^\\\\s*$|^\\\\s*(?:abstract|async|class|const|declare|enum|export|function|import|interface|let|module|namespace|return|service|type|var)\\\\b)|((?<!^string|[^$._[:alnum:]]string|^int|[^$._[:alnum:]]int)(?=\\\\s*$)))","name":"meta.var.expr.ballerina","patterns":[{"begin":"\\\\b(const(?!\\\\s+enum\\\\b))\\\\s+","beginCaptures":{"0":{"name":"keyword.other.ballerina"}},"end":"(?=\\\\S)"},{"include":"#comment"},{"include":"#string"},{"include":"#stringTemplate"},{"include":"#var-single-const"},{"include":"#variable-initializer"},{"include":"#punctuation-comma"},{"include":"#type-annotation"}]},{"include":"#punctuation-comma"},{"begin":"(string|int|boolean|float|byte|decimal|json|xml|anydata)(?=\\\\s+|[:?\\\\[|])","beginCaptures":{"0":{"name":"support.type.primitive.ballerina"}},"end":"(?!\\\\b(var))((?=[;}]|^\\\\s*$|^\\\\s*(?:abstract|async|class|const|declare|enum|export|function|import|interface|let|module|namespace|return|service|type|var)\\\\b)|((?<!^string|[^$._[:alnum:]]string|^int|[^$._[:alnum:]]int)(?=\\\\s*$)))","name":"meta.var.expr.ballerina","patterns":[{"include":"#xml"},{"begin":"(string|int|boolean|float|byte|decimal|json|xml|anydata)(?=\\\\s+|[:?\\\\[|])","beginCaptures":{"0":{"name":"support.type.primitive.ballerina"}},"end":"(?=\\\\S)"},{"match":"\\\\|","name":"keyword.operator.type.annotation.ballerina"},{"include":"#string"},{"include":"#stringTemplate"},{"include":"#numbers"},{"include":"#multiType"},{"include":"#var-single-variable"},{"include":"#variable-initializer"},{"include":"#punctuation-comma"},{"include":"#type-annotation"},{"include":"#keywords"},{"include":"#type-tuple"},{"include":"#regex"}]},{"include":"#punctuation-comma"}]},"var-single-const":{"patterns":[{"name":"meta.var-single-variable.expr.ballerina"},{"begin":"\\\\b(var)\\\\s*","beginCaptures":{"0":{"name":"support.type.primitive.ballerina"}},"end":"(?=\\\\S)"},{"include":"#types"},{"begin":"([$_[:alpha:]][$_[:alnum:]]*)","beginCaptures":{"1":{"name":"meta.definition.variable.ballerina variable.other.constant.ballerina"}},"end":"(?=$|^|[,;=}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))\\\\s+))"}]},"var-single-variable":{"patterns":[{"begin":"((string|int|boolean|float|byte|decimal|json|xml|anydata)|\\\\b(readonly|error|map)\\\\b|([$_[:alpha:]][$_[:alnum:]]*))(?=\\\\s+|[;>|])","beginCaptures":{"2":{"name":"support.type.primitive.ballerina"},"3":{"name":"storage.type.ballerina"},"4":{"name":"meta.definition.variable.ballerina variable.other.readwrite.ballerina"}},"end":"(?=$|^|[,;=}])","endCaptures":{"0":{"name":"punctuation.terminator.statement.ballerina"}},"name":"meta.var-single-variable.expr.ballerina","patterns":[{"include":"#call"},{"include":"#self-literal"},{"include":"#if-statement"},{"include":"#string"},{"include":"#numbers"},{"include":"#keywords"}]},{"begin":"([$_[:alpha:]][$_[:alnum:]]*)\\\\s+(!)?","beginCaptures":{"1":{"name":"meta.definition.variable.ballerina variable.other.readwrite.ballerina"},"2":{"name":"keyword.operator.definiteassignment.ballerina"}},"end":"(?=$|^|[,;=}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))\\\\s+))","name":"meta.var-single-variable.expr.ballerina"}]},"variable-initializer":{"patterns":[{"begin":"(?<![!=])(=)(?![=>])(?=\\\\s*\\\\S)","beginCaptures":{"1":{"name":"keyword.operator.assignment.ballerina"}},"end":"(?=$|[]),;}])","patterns":[{"match":"(\')([$_[:alpha:]][$_[:alnum:]]*)","name":"variable.other.property.ballerina"},{"include":"#xml"},{"include":"#function-defn"},{"include":"#expression"},{"include":"#punctuation-accessor"},{"include":"#regex"}]},{"begin":"(?<![!=])(=)(?![=>])","beginCaptures":{"1":{"name":"keyword.operator.assignment.ballerina"}},"end":"(?=[]),;}]|((?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))\\\\s+))|(?=^\\\\s*$)|(?<=\\\\S)(?<!=)(?=\\\\s*$)","patterns":[{"include":"#expression"}]}]},"variableDef":{"patterns":[{"begin":"(?!\\\\+)[$_[:alpha:]][$_[:alnum:]]*[\\\\t ]|(?=\\\\()","beginCaptures":{"0":{"name":"storage.type.ballerina"}},"end":"[$_[:alpha:]][$_[:alnum:]]*|(?=,)|(?=;)|\\\\.\\\\.\\\\.","patterns":[{"include":"#tupleType"},{"include":"#constrainType"},{"include":"#comment"}]}]},"variableDefInline":{"patterns":[{"begin":"(?=record)|(?=object)","end":"(?=;)","patterns":[{"include":"#record"},{"include":"#objectDec"}]}]},"workerBody":{"patterns":[{"begin":"\\\\{","end":"(?=})","patterns":[{"include":"#code"}]}]},"workerDef":{"patterns":[{"begin":"\\\\bworker\\\\b","beginCaptures":{"0":{"name":"keyword.ballerina"}},"end":"}","patterns":[{"include":"#functionReturns"},{"include":"#workerBody"}]}]},"xml":{"patterns":[{"begin":"\\\\b(xml)(\\\\s*)(`)","beginCaptures":{"1":{"name":"support.type.primitive.ballerina"},"3":{"name":"punctuation.definition.string.template.begin.ballerina"}},"end":"`","endCaptures":{"0":{"name":"punctuation.definition.string.template.end.ballerina"}},"name":"string.template.ballerina","patterns":[{"include":"#xmlTag"},{"include":"#xmlComment"},{"include":"#templateVariable"},{"match":".","name":"string"}]}]},"xmlComment":{"patterns":[{"begin":"<!--","beginCaptures":{"0":{"name":"comment.block.xml.ballerina"}},"end":"-->","endCaptures":{"0":{"name":"comment.block.xml.ballerina"}},"name":"comment.block.xml.ballerina"}]},"xmlDoubleQuotedString":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"string.begin.ballerina"}},"end":"\\"","endCaptures":{"0":{"name":"string.end.ballerina"}},"patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.ballerina"},{"match":".","name":"string"}]}]},"xmlSingleQuotedString":{"patterns":[{"begin":"\'","beginCaptures":{"0":{"name":"string.begin.ballerina"}},"end":"\'","endCaptures":{"0":{"name":"string.end.ballerina"}},"patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.ballerina"},{"match":".","name":"string"}]}]},"xmlTag":{"patterns":[{"begin":"(</?\\\\??)\\\\s*([-0-9A-Z_a-z]+)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.xml.ballerina"},"2":{"name":"entity.name.tag.xml.ballerina"}},"end":"\\\\??/?>","endCaptures":{"0":{"name":"punctuation.definition.tag.end.xml.ballerina"}},"patterns":[{"include":"#xmlSingleQuotedString"},{"include":"#xmlDoubleQuotedString"},{"match":"xmlns","name":"keyword.other.ballerina"},{"match":"([-0-9A-Za-z]+)","name":"entity.other.attribute-name.xml.ballerina"}]}]}},"scopeName":"source.ballerina"}')),n=[e];export{n as default};