@dylanpiercey/work 0.0.197 → 0.0.198

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 (489) hide show
  1. package/dist/index.mjs +723 -685
  2. package/dist/public/assets/{_DZNcd20I.js → _0MbXVcSe.js} +1 -1
  3. package/dist/public/assets/_0MbXVcSe.js.br +0 -0
  4. package/dist/public/assets/{_Dm8Q_ZEn.js → _0bNpq_Od.js} +1 -1
  5. package/dist/public/assets/_0bNpq_Od.js.br +0 -0
  6. package/dist/public/assets/_3A53x_11.js +1 -0
  7. package/dist/public/assets/{_BmJr7LuF.js → _3tZA10Xt.js} +4 -4
  8. package/dist/public/assets/_3tZA10Xt.js.br +0 -0
  9. package/dist/public/assets/_4C-pzw-U.js +1 -0
  10. package/dist/public/assets/_4Jx3rZB3.js +1 -0
  11. package/dist/public/assets/{_CfaRCqva.js → _6fXseVVz.js} +1 -1
  12. package/dist/public/assets/_6fXseVVz.js.br +0 -0
  13. package/dist/public/assets/_Aaj0WYjQ.js +1 -0
  14. package/dist/public/assets/{_-EZuYpxn.js → _B-zsST8q.js} +1 -1
  15. package/dist/public/assets/_B-zsST8q.js.br +0 -0
  16. package/dist/public/assets/{_DA-JEWsR.js → _B4X_zPcA.js} +1 -1
  17. package/dist/public/assets/_B4X_zPcA.js.br +0 -0
  18. package/dist/public/assets/_B4x1Ar8Y.js +1 -0
  19. package/dist/public/assets/{_B6BjIQgU.js → _B5StVYF6.js} +1 -1
  20. package/dist/public/assets/_B5StVYF6.js.br +0 -0
  21. package/dist/public/assets/_B7aK3vGn.js +1 -0
  22. package/dist/public/assets/{_C_FgL7OY.js → _B8TcMuPN.js} +1 -1
  23. package/dist/public/assets/_B8TcMuPN.js.br +0 -0
  24. package/dist/public/assets/{_DIKzk1Hf.js → _B8iJi2pt.js} +1 -1
  25. package/dist/public/assets/_B8iJi2pt.js.br +0 -0
  26. package/dist/public/assets/_B8nGNkIS.js +1 -0
  27. package/dist/public/assets/{_Hft3rc5g.js → _B8rIpPzF.js} +1 -1
  28. package/dist/public/assets/_B8rIpPzF.js.br +0 -0
  29. package/dist/public/assets/{_DjcV8oUz.js → _B9HxhiqE.js} +1 -1
  30. package/dist/public/assets/_B9HxhiqE.js.br +0 -0
  31. package/dist/public/assets/_BE9Nb8VY.js +1 -0
  32. package/dist/public/assets/{_yxGt6Msj.js → _BIG5VZ4Z.js} +1 -1
  33. package/dist/public/assets/_BIG5VZ4Z.js.br +0 -0
  34. package/dist/public/assets/{_xQUNfMQz.js → _BIULk7FY.js} +1 -1
  35. package/dist/public/assets/_BIULk7FY.js.br +0 -0
  36. package/dist/public/assets/{_CLbtema7.js → _BJQ2Y6DP.js} +1 -1
  37. package/dist/public/assets/_BJQ2Y6DP.js.br +0 -0
  38. package/dist/public/assets/{_BRsqQx1o.js → _BK9i2P3k.js} +1 -1
  39. package/dist/public/assets/_BK9i2P3k.js.br +0 -0
  40. package/dist/public/assets/_BLX9BNdi.js +1 -0
  41. package/dist/public/assets/{_Cb7nWhC4.js → _BMIWLwHE.js} +1 -1
  42. package/dist/public/assets/_BMIWLwHE.js.br +0 -0
  43. package/dist/public/assets/{_6Q0qOOkS.js → _BPgWrtVf.js} +1 -1
  44. package/dist/public/assets/_BPgWrtVf.js.br +0 -0
  45. package/dist/public/assets/{_C9si1Ofb.js → _BQxoz96i.js} +1 -1
  46. package/dist/public/assets/_BQxoz96i.js.br +0 -0
  47. package/dist/public/assets/_BU4H4QjV.js +1 -0
  48. package/dist/public/assets/_BUIAIA9j.js +1 -0
  49. package/dist/public/assets/{_u8zcYyrc.js → _BVhDa8AS.js} +1 -1
  50. package/dist/public/assets/_BVhDa8AS.js.br +0 -0
  51. package/dist/public/assets/{_DOsbe-jj.js → _BXzJtHiF.js} +1 -1
  52. package/dist/public/assets/_BXzJtHiF.js.br +0 -0
  53. package/dist/public/assets/_BYgzreQb.js +1 -0
  54. package/dist/public/assets/{_CJW-iKnz.js → _BZgNzbSE.js} +2 -2
  55. package/dist/public/assets/_BZgNzbSE.js.br +0 -0
  56. package/dist/public/assets/{_LCRR9c9U.js → _BZlzIrNM.js} +1 -1
  57. package/dist/public/assets/_BZlzIrNM.js.br +0 -0
  58. package/dist/public/assets/{_Bq95knQr.js → _B_4eHSpm.js} +1 -1
  59. package/dist/public/assets/_B_4eHSpm.js.br +0 -0
  60. package/dist/public/assets/{_CQm77pZO.js → _B_C8Mg1b.js} +1 -1
  61. package/dist/public/assets/_B_C8Mg1b.js.br +0 -0
  62. package/dist/public/assets/_Ba9udh-9.js +1 -0
  63. package/dist/public/assets/_Bf44GLWw.js +1 -0
  64. package/dist/public/assets/{_IQPLYWiT.js → _BggJLA1_.js} +1 -1
  65. package/dist/public/assets/_BggJLA1_.js.br +0 -0
  66. package/dist/public/assets/_BiEnOZPI.js +1 -0
  67. package/dist/public/assets/_BiJOguB5.js +1 -0
  68. package/dist/public/assets/_BjnpWMH5.js +1 -0
  69. package/dist/public/assets/_BjsSfXZW.js +1 -0
  70. package/dist/public/assets/{_BzY9UbvW.js → _Blp9DYCK.js} +1 -1
  71. package/dist/public/assets/_Blp9DYCK.js.br +0 -0
  72. package/dist/public/assets/{_JpoBjOoe.js → _BofgUgCl.js} +1 -1
  73. package/dist/public/assets/_BofgUgCl.js.br +0 -0
  74. package/dist/public/assets/{_Co4ughfc.js → _Btiz8gFh.js} +1 -1
  75. package/dist/public/assets/_Btiz8gFh.js.br +0 -0
  76. package/dist/public/assets/{_C_k1n35b.js → _By_fuZbd.js} +1 -1
  77. package/dist/public/assets/_By_fuZbd.js.br +0 -0
  78. package/dist/public/assets/_BzoVBQQV.js +1 -0
  79. package/dist/public/assets/{_Cq3YeEzX.js → _C0zcVe1s.js} +1 -1
  80. package/dist/public/assets/_C0zcVe1s.js.br +0 -0
  81. package/dist/public/assets/{_tNthL2o6.js → _C1kAFId8.js} +1 -1
  82. package/dist/public/assets/_C1kAFId8.js.br +0 -0
  83. package/dist/public/assets/_C2fBuiAT.js +1 -0
  84. package/dist/public/assets/_C31V_Nt0.js +1 -0
  85. package/dist/public/assets/_C5gPPOOA.js +1 -0
  86. package/dist/public/assets/{_Dq3ri2n3.js → _C9fqX4vB.js} +1 -1
  87. package/dist/public/assets/{_DOJ31NSg.js → _CCwt6cBc.js} +1 -1
  88. package/dist/public/assets/_CCwt6cBc.js.br +0 -0
  89. package/dist/public/assets/{_DqwKrK7y.js → _CDBTOJV7.js} +1 -1
  90. package/dist/public/assets/_CDBTOJV7.js.br +0 -0
  91. package/dist/public/assets/{_DOqRosho.js → _CEJNkgrb.js} +1 -1
  92. package/dist/public/assets/_CEJNkgrb.js.br +0 -0
  93. package/dist/public/assets/_CG1iZdce.js +1 -0
  94. package/dist/public/assets/_CIl290bw.js +1 -0
  95. package/dist/public/assets/_CJ4oVYCp.js +1 -0
  96. package/dist/public/assets/{_468gy8Mp.js → _CJGL0lvW.js} +1 -1
  97. package/dist/public/assets/_CJGL0lvW.js.br +0 -0
  98. package/dist/public/assets/{_U6C7Rqe9.js → _CK65eJYm.js} +1 -1
  99. package/dist/public/assets/_CK65eJYm.js.br +0 -0
  100. package/dist/public/assets/{_RA4prsiS.js → _CMDhPKMI.js} +1 -1
  101. package/dist/public/assets/_CMDhPKMI.js.br +0 -0
  102. package/dist/public/assets/{_DPNedOZ1.js → _CNcCChyO.js} +1 -1
  103. package/dist/public/assets/_CNcCChyO.js.br +0 -0
  104. package/dist/public/assets/_CUtmkhg2.js +1 -0
  105. package/dist/public/assets/{_CScOQUEd.js → _CXWbjEP0.js} +1 -1
  106. package/dist/public/assets/_CXWbjEP0.js.br +0 -0
  107. package/dist/public/assets/{_D7wSQMJE.js → _CZGbNTgO.js} +1 -1
  108. package/dist/public/assets/_CZGbNTgO.js.br +0 -0
  109. package/dist/public/assets/{_C-ABZcSa.js → _CZhbwMZe.js} +1 -1
  110. package/dist/public/assets/_CZhbwMZe.js.br +0 -0
  111. package/dist/public/assets/{_Bfjt7L4H.js → _CZswgiNr.js} +1 -1
  112. package/dist/public/assets/_CZswgiNr.js.br +0 -0
  113. package/dist/public/assets/{_Bme-DV7m.js → _Cdw9U5OX.js} +1 -1
  114. package/dist/public/assets/_Cdw9U5OX.js.br +0 -0
  115. package/dist/public/assets/{_fThXk5zu.js → _CdzWzG8M.js} +1 -1
  116. package/dist/public/assets/_CdzWzG8M.js.br +0 -0
  117. package/dist/public/assets/_CeIK9Vcg.js +1 -0
  118. package/dist/public/assets/{_O7v-uQqz.js → _CfKaigDY.js} +1 -1
  119. package/dist/public/assets/_CfKaigDY.js.br +0 -0
  120. package/dist/public/assets/{_kaPEXple.js → _Ch4Bpzn_.js} +1 -1
  121. package/dist/public/assets/_Ch4Bpzn_.js.br +0 -0
  122. package/dist/public/assets/{_BpSUIoV2.js → _ChQIwrTz.js} +1 -1
  123. package/dist/public/assets/_ChQIwrTz.js.br +0 -0
  124. package/dist/public/assets/{_Edxa1RMy.js → _CiJXzOpK.js} +1 -1
  125. package/dist/public/assets/_CiJXzOpK.js.br +0 -0
  126. package/dist/public/assets/_CisXuU89.js +1 -0
  127. package/dist/public/assets/{__36JL8SE.js → _CljessIq.js} +1 -1
  128. package/dist/public/assets/_CljessIq.js.br +0 -0
  129. package/dist/public/assets/{_i4TptwYR.js → _CmMzFrwK.js} +1 -1
  130. package/dist/public/assets/_CmMzFrwK.js.br +0 -0
  131. package/dist/public/assets/_CnYl85rz.js +1 -0
  132. package/dist/public/assets/_Cq7wIjY_.js +1 -0
  133. package/dist/public/assets/_CqVlxuqg.js +1 -0
  134. package/dist/public/assets/_CsRWU4jP.js +1 -0
  135. package/dist/public/assets/_CsXZz87A.js +1 -0
  136. package/dist/public/assets/_Cvih66_W.js +1 -0
  137. package/dist/public/assets/{_D42JsTey.js → _Cw8g9JDU.js} +1 -1
  138. package/dist/public/assets/_Cw8g9JDU.js.br +0 -0
  139. package/dist/public/assets/_CwUSM3_K.js +1 -0
  140. package/dist/public/assets/{_BNin6dHq.js → _D0SvJpzb.js} +1 -1
  141. package/dist/public/assets/_D0SvJpzb.js.br +0 -0
  142. package/dist/public/assets/{_BTURI7F7.js → _D3KU9c5P.js} +1 -1
  143. package/dist/public/assets/_D3KU9c5P.js.br +0 -0
  144. package/dist/public/assets/{_CGgEO1YB.js → _D5L8I-l6.js} +1 -1
  145. package/dist/public/assets/_D5L8I-l6.js.br +0 -0
  146. package/dist/public/assets/_D68MPeN_.js +1 -0
  147. package/dist/public/assets/{_BqLVg9wc.js → _D9UjR1wv.js} +1 -1
  148. package/dist/public/assets/_D9UjR1wv.js.br +0 -0
  149. package/dist/public/assets/{_CimVxnoX.js → _DAYUY_mY.js} +1 -1
  150. package/dist/public/assets/{_fmYCwKfc.js → _DApFf-Du.js} +1 -1
  151. package/dist/public/assets/_DApFf-Du.js.br +0 -0
  152. package/dist/public/assets/{_BI-6-xdu.js → _DBgC6pSG.js} +1 -1
  153. package/dist/public/assets/_DBgC6pSG.js.br +0 -0
  154. package/dist/public/assets/_DC5Dtd8V.js +1 -0
  155. package/dist/public/assets/_DCE-ttoo.js +9 -0
  156. package/dist/public/assets/_DCE-ttoo.js.br +0 -0
  157. package/dist/public/assets/{_CPTUwHXJ.js → _DIeJpzm3.js} +1 -1
  158. package/dist/public/assets/_DIeJpzm3.js.br +0 -0
  159. package/dist/public/assets/_DIoDmY9H.js +1 -0
  160. package/dist/public/assets/{_C_m-Fk4H.js → _DJRzHHPO.js} +1 -1
  161. package/dist/public/assets/{_DR8GAutk.js → _DMdqORi3.js} +1 -1
  162. package/dist/public/assets/_DMdqORi3.js.br +0 -0
  163. package/dist/public/assets/{_B9quSvNd.js → _DNTUKUkr.js} +1 -1
  164. package/dist/public/assets/_DNTUKUkr.js.br +0 -0
  165. package/dist/public/assets/_DNdknsGz.js +1 -0
  166. package/dist/public/assets/{_Cei8G_05.js → _DOJho7wg.js} +1 -1
  167. package/dist/public/assets/_DOJho7wg.js.br +0 -0
  168. package/dist/public/assets/{_Bnh4euUY.js → _DOKq-7nt.js} +1 -1
  169. package/dist/public/assets/_DOKq-7nt.js.br +0 -0
  170. package/dist/public/assets/{_bgtggmT0.js → _DOW1WHeh.js} +1 -1
  171. package/dist/public/assets/_DOW1WHeh.js.br +0 -0
  172. package/dist/public/assets/_DQJeVQRh.js +1 -0
  173. package/dist/public/assets/{_DPheLkEe.js → _DQQonU3w.js} +4 -4
  174. package/dist/public/assets/_DQQonU3w.js.br +0 -0
  175. package/dist/public/assets/{_DVeo-PuF.js → _DR0OiJB5.js} +1 -1
  176. package/dist/public/assets/{_FbVzNLwL.js → _DW_O6H-y.js} +1 -1
  177. package/dist/public/assets/_DW_O6H-y.js.br +0 -0
  178. package/dist/public/assets/_DXIo8HpM.js +1 -0
  179. package/dist/public/assets/{_sZhFuz1u.js → _DXMbGrjj.js} +1 -1
  180. package/dist/public/assets/_DXMbGrjj.js.br +0 -0
  181. package/dist/public/assets/{_BO05FwFj.js → _DZcAKw3P.js} +1 -1
  182. package/dist/public/assets/_DZkOOp-M.js +1 -0
  183. package/dist/public/assets/_DaXhejkn.js +1 -0
  184. package/dist/public/assets/{_B0WPpZ8U.js → _DbaaR2fn.js} +20 -20
  185. package/dist/public/assets/_DbaaR2fn.js.br +0 -0
  186. package/dist/public/assets/{_D0gbGwDE.js → _DcHotOlK.js} +1 -1
  187. package/dist/public/assets/_DcHotOlK.js.br +0 -0
  188. package/dist/public/assets/_DdYyufjz.js +1 -0
  189. package/dist/public/assets/{_DsQ4hPit.js → _De6U1yos.js} +1 -1
  190. package/dist/public/assets/_De6U1yos.js.br +0 -0
  191. package/dist/public/assets/{_DDlyU_W4.js → _DfM9jO21.js} +1 -1
  192. package/dist/public/assets/_DfM9jO21.js.br +0 -0
  193. package/dist/public/assets/{_CuPDWvu5.js → _DkRBy2f_.js} +1 -1
  194. package/dist/public/assets/_DkRBy2f_.js.br +0 -0
  195. package/dist/public/assets/_DlNqbijs.js +1 -0
  196. package/dist/public/assets/{_B1cXohgj.js → _DmFs1Utt.js} +1 -1
  197. package/dist/public/assets/_DmFs1Utt.js.br +0 -0
  198. package/dist/public/assets/_Dnw3Y3VQ.js +1 -0
  199. package/dist/public/assets/_Dp7dWMLi.js +1 -0
  200. package/dist/public/assets/{_BZ3JWUze.js → _DpSu73pS.js} +1 -1
  201. package/dist/public/assets/_DpSu73pS.js.br +0 -0
  202. package/dist/public/assets/_DqRNAihg.js +1 -0
  203. package/dist/public/assets/_Dt8mpgeW.js +1 -0
  204. package/dist/public/assets/{_4g6MOF9f.js → _Dw880M9B.js} +1 -1
  205. package/dist/public/assets/_Dw880M9B.js.br +0 -0
  206. package/dist/public/assets/{_CCCRwd6t.js → _DwEFaBdE.js} +1 -1
  207. package/dist/public/assets/_DwEFaBdE.js.br +0 -0
  208. package/dist/public/assets/{_CKsFHlz7.js → _Dy4S_A2m.js} +1 -1
  209. package/dist/public/assets/_Dy4S_A2m.js.br +0 -0
  210. package/dist/public/assets/{_uWRxW1aF.js → _F7ODVJf7.js} +1 -1
  211. package/dist/public/assets/_F7ODVJf7.js.br +0 -0
  212. package/dist/public/assets/{_ilU_nSpb.js → _FMwpfKJh.js} +1 -1
  213. package/dist/public/assets/_FMwpfKJh.js.br +0 -0
  214. package/dist/public/assets/_GHKO-Gqk.js +1 -0
  215. package/dist/public/assets/{_DgFIw3vb.js → _Ibn8XBox.js} +1 -1
  216. package/dist/public/assets/_Ibn8XBox.js.br +0 -0
  217. package/dist/public/assets/{_CKkWhZOb.js → _OVbe0fvD.js} +1 -1
  218. package/dist/public/assets/_OVbe0fvD.js.br +0 -0
  219. package/dist/public/assets/{_BAv8Ujg0.js → _S0SsdbnP.js} +1 -1
  220. package/dist/public/assets/_S0SsdbnP.js.br +0 -0
  221. package/dist/public/assets/_S9kAX5oa.js +1 -0
  222. package/dist/public/assets/_SlRagSbv.js +1 -0
  223. package/dist/public/assets/{_D0Nov3sa.js → _U-lVqtpJ.js} +1 -1
  224. package/dist/public/assets/_U-lVqtpJ.js.br +0 -0
  225. package/dist/public/assets/_VNgKOzDO.js +1 -0
  226. package/dist/public/assets/_YrTBFaWQ.js +1 -0
  227. package/dist/public/assets/_e4WYue8n.js +1 -0
  228. package/dist/public/assets/{_CSXAaGJv.js → _e58SVS_5.js} +1 -1
  229. package/dist/public/assets/_e58SVS_5.js.br +0 -0
  230. package/dist/public/assets/_ff3WHmh-.js +1 -0
  231. package/dist/public/assets/_hvHdq4dT.js +1 -0
  232. package/dist/public/assets/_jZOmjqR_.js +1 -0
  233. package/dist/public/assets/_krh26UYB.js +1 -0
  234. package/dist/public/assets/{_PSjN7oph.js → _mx0u5F7j.js} +1 -1
  235. package/dist/public/assets/_mx0u5F7j.js.br +0 -0
  236. package/dist/public/assets/{_W81S3fka.js → _oIKkSCKy.js} +1 -1
  237. package/dist/public/assets/_oIKkSCKy.js.br +0 -0
  238. package/dist/public/assets/_ohWFtYuq.js +1 -0
  239. package/dist/public/assets/_rnm6ARwk.js +1 -0
  240. package/dist/public/assets/{_B4w1pjcN.js → _sGKd4e0n.js} +1 -1
  241. package/dist/public/assets/_sGKd4e0n.js.br +0 -0
  242. package/dist/public/assets/{_ROuvwd1d.js → _t3yF4GJM.js} +1 -1
  243. package/dist/public/assets/_t3yF4GJM.js.br +0 -0
  244. package/dist/public/assets/_ubLmP4Sp.js +1 -0
  245. package/dist/public/assets/{_CP2gfhPb.js → _v0lZuQ-1.js} +1 -1
  246. package/dist/public/assets/_v0lZuQ-1.js.br +0 -0
  247. package/dist/public/assets/{_Dkq4TrIT.js → _x_XUGGSA.js} +1 -1
  248. package/dist/public/assets/_x_XUGGSA.js.br +0 -0
  249. package/dist/public/assets/app-page-i4C1mZEJ.css +1 -0
  250. package/dist/public/assets/app-page-i4C1mZEJ.css.br +0 -0
  251. package/dist/public/assets/command-palette-CTIbUH22.css +1 -0
  252. package/dist/public/assets/command-palette-CTIbUH22.css.br +0 -0
  253. package/dist/public/assets/files-view-C_gu0deu.js +2 -0
  254. package/dist/public/assets/files-view-DiHOXqp3.css +1 -0
  255. package/dist/public/assets/files-view-DiHOXqp3.css.br +0 -0
  256. package/dist/public/assets/group.css.ts-DkHzYLC_.css +1 -0
  257. package/dist/public/assets/group.css.ts-DkHzYLC_.css.br +0 -0
  258. package/dist/public/assets/{icon-search-_jM_Tk_m.css → icon-search-B4XHh_CO.css} +1 -1
  259. package/dist/public/assets/icon-search-B4XHh_CO.css.br +0 -0
  260. package/dist/public/assets/key-bar.css.ts-CbGYKVtb.css +1 -0
  261. package/dist/public/assets/key-bar.css.ts-CbGYKVtb.css.br +0 -0
  262. package/dist/public/assets/manage-workspace-BhEfyhCZ.js +2 -0
  263. package/dist/public/assets/manage-workspace-C5JRczkL.css +1 -0
  264. package/dist/public/assets/{modal-view-B53laKnF.css → modal-view-DR14P4Vp.css} +1 -1
  265. package/dist/public/assets/modal-view-DR14P4Vp.css.br +0 -0
  266. package/dist/public/assets/new-aZKrZ7z6.js +1 -0
  267. package/dist/public/assets/new-workspace-5cfHsdD-.js +2 -0
  268. package/dist/public/assets/new-workspace-DXqJonRU.css +1 -0
  269. package/dist/public/assets/new-workspace-DXqJonRU.css.br +0 -0
  270. package/dist/public/assets/port-chip-BzW1eC-h.css +1 -0
  271. package/dist/public/assets/port-chip-BzW1eC-h.css.br +0 -0
  272. package/dist/public/assets/prompt-dialog-Cngg9xmw.css +1 -0
  273. package/dist/public/assets/prompt-dialog-Cngg9xmw.css.br +0 -0
  274. package/dist/public/assets/quick-open-FsUXrkDi.css +1 -0
  275. package/dist/public/assets/quick-open-FsUXrkDi.css.br +0 -0
  276. package/dist/public/assets/repo-picker-C4DYC9dZ.css +1 -0
  277. package/dist/public/assets/repo-picker-C4DYC9dZ.css.br +3 -0
  278. package/dist/public/assets/review-view-CkG8zcfD.js +2 -0
  279. package/dist/public/assets/review-view-JHqeAzx5.css +1 -0
  280. package/dist/public/assets/review-view-JHqeAzx5.css.br +0 -0
  281. package/dist/public/assets/{section-CM21Ts_U.css → section-DncyjwUi.css} +1 -1
  282. package/dist/public/assets/section-DncyjwUi.css.br +0 -0
  283. package/dist/public/assets/settings-aZKrZ7z6.js +1 -0
  284. package/dist/public/assets/settings-page-CST99SED.js +2 -0
  285. package/dist/public/assets/settings-page-rYO5_GvI.css +1 -0
  286. package/dist/public/assets/settings-page-rYO5_GvI.css.br +0 -0
  287. package/dist/public/assets/skill-row-ChQm9ooq.css +1 -0
  288. package/dist/public/assets/sso-auth-C2HBp8cP.css +1 -0
  289. package/dist/public/assets/sso-auth-C2HBp8cP.css.br +0 -0
  290. package/dist/public/assets/w-aZKrZ7z6.js +1 -0
  291. package/dist/public/assets/w._-Bg5IDzW7.js +1 -0
  292. package/dist/public/assets/w._-C2hhF8-w.js +1 -0
  293. package/dist/public/assets/w._-aZKrZ7z6.js +1 -0
  294. package/package.json +1 -1
  295. package/dist/public/assets/_-CDRhQ_w.js +0 -1
  296. package/dist/public/assets/_-EZuYpxn.js.br +0 -0
  297. package/dist/public/assets/_0E521Ya6.js +0 -1
  298. package/dist/public/assets/_1FN_OXj8.js +0 -1
  299. package/dist/public/assets/_468gy8Mp.js.br +0 -0
  300. package/dist/public/assets/_4g6MOF9f.js.br +0 -0
  301. package/dist/public/assets/_6Q0qOOkS.js.br +0 -0
  302. package/dist/public/assets/_76MB90qD.js +0 -1
  303. package/dist/public/assets/_8AMvdoyz.js +0 -1
  304. package/dist/public/assets/_B0WPpZ8U.js.br +0 -0
  305. package/dist/public/assets/_B1cXohgj.js.br +0 -0
  306. package/dist/public/assets/_B4ji-P4A.js +0 -1
  307. package/dist/public/assets/_B4w1pjcN.js.br +0 -0
  308. package/dist/public/assets/_B5NX35rQ.js +0 -1
  309. package/dist/public/assets/_B6BjIQgU.js.br +0 -0
  310. package/dist/public/assets/_B9quSvNd.js.br +0 -0
  311. package/dist/public/assets/_BAVOent8.js +0 -1
  312. package/dist/public/assets/_BAv8Ujg0.js.br +0 -0
  313. package/dist/public/assets/_BI-6-xdu.js.br +0 -0
  314. package/dist/public/assets/_BNin6dHq.js.br +0 -0
  315. package/dist/public/assets/_BOekOVx7.js +0 -1
  316. package/dist/public/assets/_BOzo6bRI.js +0 -1
  317. package/dist/public/assets/_BRsqQx1o.js.br +0 -0
  318. package/dist/public/assets/_BTT0DNV6.js +0 -1
  319. package/dist/public/assets/_BTURI7F7.js.br +0 -0
  320. package/dist/public/assets/_BVybG7y-.js +0 -1
  321. package/dist/public/assets/_BZ3JWUze.js.br +0 -0
  322. package/dist/public/assets/_Bfjt7L4H.js.br +0 -0
  323. package/dist/public/assets/_Bjf1XXez.js +0 -1
  324. package/dist/public/assets/_BmJr7LuF.js.br +0 -0
  325. package/dist/public/assets/_Bme-DV7m.js.br +0 -0
  326. package/dist/public/assets/_Bn6zDyKy.js +0 -1
  327. package/dist/public/assets/_Bnh4euUY.js.br +0 -0
  328. package/dist/public/assets/_BpSUIoV2.js.br +0 -0
  329. package/dist/public/assets/_Bq95knQr.js.br +0 -0
  330. package/dist/public/assets/_BqLVg9wc.js.br +0 -0
  331. package/dist/public/assets/_BtYSdCX_.js +0 -1
  332. package/dist/public/assets/_Bxf6Xmur.js +0 -1
  333. package/dist/public/assets/_Byf2SC0q.js +0 -1
  334. package/dist/public/assets/_ByxKMcp-.js +0 -1
  335. package/dist/public/assets/_BzY9UbvW.js.br +0 -0
  336. package/dist/public/assets/_C-ABZcSa.js.br +0 -0
  337. package/dist/public/assets/_C-rKxqpg.js +0 -1
  338. package/dist/public/assets/_C16Vu8xS.js +0 -1
  339. package/dist/public/assets/_C7kVuwRL.js +0 -1
  340. package/dist/public/assets/_C8aAcJ3V.js +0 -1
  341. package/dist/public/assets/_C9BWuybA.js +0 -1
  342. package/dist/public/assets/_C9si1Ofb.js.br +0 -0
  343. package/dist/public/assets/_CCCRwd6t.js.br +0 -0
  344. package/dist/public/assets/_CCbHnf52.js +0 -1
  345. package/dist/public/assets/_CGgEO1YB.js.br +0 -0
  346. package/dist/public/assets/_CJW-iKnz.js.br +0 -0
  347. package/dist/public/assets/_CKBuwLap.js +0 -1
  348. package/dist/public/assets/_CKdv5Dj_.js +0 -1
  349. package/dist/public/assets/_CKkWhZOb.js.br +0 -0
  350. package/dist/public/assets/_CKsFHlz7.js.br +0 -0
  351. package/dist/public/assets/_CLbtema7.js.br +0 -0
  352. package/dist/public/assets/_COjRsExm.js +0 -1
  353. package/dist/public/assets/_CP2gfhPb.js.br +0 -0
  354. package/dist/public/assets/_CP59H3m-.js +0 -1
  355. package/dist/public/assets/_CPTUwHXJ.js.br +0 -0
  356. package/dist/public/assets/_CQm77pZO.js.br +0 -0
  357. package/dist/public/assets/_CSXAaGJv.js.br +0 -0
  358. package/dist/public/assets/_CScOQUEd.js.br +0 -0
  359. package/dist/public/assets/_C_FgL7OY.js.br +0 -0
  360. package/dist/public/assets/_C_iKKMFw.js +0 -1
  361. package/dist/public/assets/_C_k1n35b.js.br +0 -0
  362. package/dist/public/assets/_Cb7nWhC4.js.br +0 -0
  363. package/dist/public/assets/_CbgDc9Fy.js +0 -1
  364. package/dist/public/assets/_Cei8G_05.js.br +0 -0
  365. package/dist/public/assets/_CfaRCqva.js.br +0 -0
  366. package/dist/public/assets/_Cm_12gGl.js +0 -1
  367. package/dist/public/assets/_Co4ughfc.js.br +0 -0
  368. package/dist/public/assets/_Cq3YeEzX.js.br +0 -0
  369. package/dist/public/assets/_CqvpYIxF.js +0 -1
  370. package/dist/public/assets/_CrIR99Kt.js +0 -1
  371. package/dist/public/assets/_Cu-tXAKz.js +0 -1
  372. package/dist/public/assets/_CuPDWvu5.js.br +0 -0
  373. package/dist/public/assets/_D0Nov3sa.js.br +0 -0
  374. package/dist/public/assets/_D0gbGwDE.js.br +0 -0
  375. package/dist/public/assets/_D42JsTey.js.br +0 -0
  376. package/dist/public/assets/_D5BvVGuB.js +0 -1
  377. package/dist/public/assets/_D7Q2Ap9D.js +0 -1
  378. package/dist/public/assets/_D7wSQMJE.js.br +0 -0
  379. package/dist/public/assets/_D7ytfOdf.js +0 -1
  380. package/dist/public/assets/_DA-JEWsR.js.br +0 -0
  381. package/dist/public/assets/_DDlyU_W4.js.br +0 -0
  382. package/dist/public/assets/_DIKzk1Hf.js.br +0 -0
  383. package/dist/public/assets/_DK1HYrNN.js +0 -1
  384. package/dist/public/assets/_DKAF-IqV.js +0 -9
  385. package/dist/public/assets/_DKAF-IqV.js.br +0 -0
  386. package/dist/public/assets/_DNMIxi4g.js +0 -1
  387. package/dist/public/assets/_DOJ31NSg.js.br +0 -0
  388. package/dist/public/assets/_DOqRosho.js.br +0 -0
  389. package/dist/public/assets/_DOsbe-jj.js.br +0 -0
  390. package/dist/public/assets/_DPNedOZ1.js.br +0 -0
  391. package/dist/public/assets/_DPheLkEe.js.br +0 -0
  392. package/dist/public/assets/_DPmQTAMc.js +0 -1
  393. package/dist/public/assets/_DR8GAutk.js.br +0 -0
  394. package/dist/public/assets/_DSiUSTOv.js +0 -1
  395. package/dist/public/assets/_DZNcd20I.js.br +0 -0
  396. package/dist/public/assets/_DgFIw3vb.js.br +0 -0
  397. package/dist/public/assets/_DiPpKvS9.js +0 -1
  398. package/dist/public/assets/_DjcV8oUz.js.br +0 -0
  399. package/dist/public/assets/_DjzGQbHs.js +0 -1
  400. package/dist/public/assets/_Dkq4TrIT.js.br +0 -0
  401. package/dist/public/assets/_Dm8Q_ZEn.js.br +0 -0
  402. package/dist/public/assets/_DntjQHI-.js +0 -1
  403. package/dist/public/assets/_DoOzA-oN.js +0 -1
  404. package/dist/public/assets/_DqwKrK7y.js.br +0 -0
  405. package/dist/public/assets/_DsQ4hPit.js.br +0 -0
  406. package/dist/public/assets/_DuDlStsP.js +0 -1
  407. package/dist/public/assets/_DzcYgRuZ.js +0 -1
  408. package/dist/public/assets/_Edxa1RMy.js.br +0 -0
  409. package/dist/public/assets/_FbVzNLwL.js.br +0 -0
  410. package/dist/public/assets/_FsicDlsx.js +0 -1
  411. package/dist/public/assets/_Hft3rc5g.js.br +0 -0
  412. package/dist/public/assets/_IQPLYWiT.js.br +0 -0
  413. package/dist/public/assets/_JpoBjOoe.js.br +0 -0
  414. package/dist/public/assets/_LCRR9c9U.js.br +0 -0
  415. package/dist/public/assets/_O7v-uQqz.js.br +0 -0
  416. package/dist/public/assets/_PSjN7oph.js.br +0 -0
  417. package/dist/public/assets/_PvSTdysZ.js +0 -1
  418. package/dist/public/assets/_RA4prsiS.js.br +0 -0
  419. package/dist/public/assets/_ROuvwd1d.js.br +0 -0
  420. package/dist/public/assets/_U6C7Rqe9.js.br +0 -0
  421. package/dist/public/assets/_UsVXbBJ_.js +0 -1
  422. package/dist/public/assets/_VQTWlk2O.js +0 -1
  423. package/dist/public/assets/_W81S3fka.js.br +0 -0
  424. package/dist/public/assets/_YIUdQc0i.js +0 -1
  425. package/dist/public/assets/_Yo8xdFNt.js +0 -1
  426. package/dist/public/assets/__36JL8SE.js.br +0 -0
  427. package/dist/public/assets/_bgtggmT0.js.br +0 -0
  428. package/dist/public/assets/_c3noGvUa.js +0 -1
  429. package/dist/public/assets/_e2qh94Gv.js +0 -1
  430. package/dist/public/assets/_eJ0UsWFK.js +0 -1
  431. package/dist/public/assets/_fThXk5zu.js.br +0 -0
  432. package/dist/public/assets/_fmYCwKfc.js.br +0 -0
  433. package/dist/public/assets/_gKT8-5Zs.js +0 -1
  434. package/dist/public/assets/_i4TptwYR.js.br +0 -0
  435. package/dist/public/assets/_ilU_nSpb.js.br +0 -0
  436. package/dist/public/assets/_j1ag3tQD.js +0 -1
  437. package/dist/public/assets/_k_8YWS80.js +0 -1
  438. package/dist/public/assets/_kaPEXple.js.br +0 -0
  439. package/dist/public/assets/_mvBE7vOc.js +0 -1
  440. package/dist/public/assets/_sZhFuz1u.js.br +0 -0
  441. package/dist/public/assets/_tNthL2o6.js.br +0 -0
  442. package/dist/public/assets/_u8zcYyrc.js.br +0 -0
  443. package/dist/public/assets/_uWRxW1aF.js.br +0 -0
  444. package/dist/public/assets/_xQUNfMQz.js.br +0 -0
  445. package/dist/public/assets/_yvur0Wdo.js +0 -1
  446. package/dist/public/assets/_yxGt6Msj.js.br +0 -0
  447. package/dist/public/assets/_zq8pIUDW.js +0 -1
  448. package/dist/public/assets/app-page-oVQ_ylcy.css +0 -1
  449. package/dist/public/assets/app-page-oVQ_ylcy.css.br +0 -0
  450. package/dist/public/assets/command-palette-ZTqjN4c3.css +0 -1
  451. package/dist/public/assets/command-palette-ZTqjN4c3.css.br +0 -0
  452. package/dist/public/assets/files-view-Dbd2qp2h.css +0 -1
  453. package/dist/public/assets/files-view-Dbd2qp2h.css.br +0 -0
  454. package/dist/public/assets/files-view-Dwu9liqV.js +0 -2
  455. package/dist/public/assets/group.css.ts-bSDNRl7w.css +0 -1
  456. package/dist/public/assets/group.css.ts-bSDNRl7w.css.br +0 -0
  457. package/dist/public/assets/icon-search-_jM_Tk_m.css.br +0 -0
  458. package/dist/public/assets/key-bar.css.ts-Bku3uER9.css +0 -1
  459. package/dist/public/assets/key-bar.css.ts-Bku3uER9.css.br +0 -0
  460. package/dist/public/assets/manage-workspace-Bn-Tn7Kr.css +0 -1
  461. package/dist/public/assets/manage-workspace-CS4UXTvr.js +0 -2
  462. package/dist/public/assets/modal-view-B53laKnF.css.br +0 -0
  463. package/dist/public/assets/new-CjKU3vb0.js +0 -1
  464. package/dist/public/assets/new-workspace-Dlw88j6O.css +0 -1
  465. package/dist/public/assets/new-workspace-Dlw88j6O.css.br +0 -0
  466. package/dist/public/assets/new-workspace-DzwB_0nO.js +0 -2
  467. package/dist/public/assets/port-chip-GA_HyjkP.css +0 -1
  468. package/dist/public/assets/port-chip-GA_HyjkP.css.br +0 -0
  469. package/dist/public/assets/prompt-dialog-Deva9cW6.css +0 -1
  470. package/dist/public/assets/prompt-dialog-Deva9cW6.css.br +0 -0
  471. package/dist/public/assets/quick-open-DDLmJEsB.css +0 -1
  472. package/dist/public/assets/quick-open-DDLmJEsB.css.br +0 -0
  473. package/dist/public/assets/repo-picker-T-q6jCCO.css +0 -1
  474. package/dist/public/assets/repo-picker-T-q6jCCO.css.br +0 -2
  475. package/dist/public/assets/review-view-CVEOUggz.js +0 -2
  476. package/dist/public/assets/review-view-FpcK5Wev.css +0 -1
  477. package/dist/public/assets/review-view-FpcK5Wev.css.br +0 -0
  478. package/dist/public/assets/section-CM21Ts_U.css.br +0 -0
  479. package/dist/public/assets/settings-CjKU3vb0.js +0 -1
  480. package/dist/public/assets/settings-page-BQdzDPmf.js +0 -2
  481. package/dist/public/assets/settings-page-Conc3GQ8.css +0 -1
  482. package/dist/public/assets/settings-page-Conc3GQ8.css.br +0 -0
  483. package/dist/public/assets/skill-row-BUCGUJRl.css +0 -1
  484. package/dist/public/assets/sso-auth-CNLypdfo.css +0 -1
  485. package/dist/public/assets/sso-auth-CNLypdfo.css.br +0 -0
  486. package/dist/public/assets/w-CjKU3vb0.js +0 -1
  487. package/dist/public/assets/w._-BPGf10nz.js +0 -1
  488. package/dist/public/assets/w._-CjKU3vb0.js +0 -1
  489. package/dist/public/assets/w._-ryP3VtxH.js +0 -1
@@ -1 +1 @@
1
- import{M as e}from"./_RA4prsiS.js";var t=e({default:()=>n}),n=[Object.freeze(JSON.parse(`{"displayName":"Shell","name":"shellscript","patterns":[{"include":"#initial_context"}],"repository":{"alias_statement":{"begin":"[\\\\t ]*+(alias)[\\\\t ]*+((?:((?<!\\\\w)-\\\\w+)\\\\b[\\\\t ]*+)*)[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))","beginCaptures":{"1":{"name":"storage.type.alias.shell"},"2":{"patterns":[{"match":"(?<!\\\\w)-\\\\w+\\\\b","name":"string.unquoted.argument.shell constant.other.option.shell"}]},"3":{"name":"string.unquoted.argument.shell constant.other.option.shell"},"4":{"name":"variable.other.assignment.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"variable.other.assignment.shell"},"7":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"8":{"name":"punctuation.definition.array.access.shell"},"9":{"name":"keyword.operator.assignment.shell"},"10":{"name":"keyword.operator.assignment.compound.shell"},"11":{"name":"keyword.operator.assignment.compound.shell"}},"end":"(?=[\\\\t ]|$)|(?:(?:(?:(;)|(&&))|(\\\\|\\\\|))|(&))","endCaptures":{"1":{"name":"punctuation.terminator.statement.semicolon.shell"},"2":{"name":"punctuation.separator.statement.and.shell"},"3":{"name":"punctuation.separator.statement.or.shell"},"4":{"name":"punctuation.separator.statement.background.shell"}},"name":"meta.expression.assignment.alias.shell","patterns":[{"include":"#normal_context"}]},"argument":{"begin":"[\\\\t ]++(?![\\\\n#\\\\&(\\\\[|]|$|;)","beginCaptures":{},"end":"(?=[\\\\t \\\\&;|]|$|[\\\\n)\`])","endCaptures":{},"name":"meta.argument.shell","patterns":[{"include":"#argument_context"},{"include":"#line_continuation"}]},"argument_context":{"patterns":[{"captures":{"1":{"name":"string.unquoted.argument.shell","patterns":[{"match":"\\\\*","name":"variable.language.special.wildcard.shell"},{"include":"#variable"},{"include":"#numeric_literal"},{"captures":{"1":{"name":"constant.language.$1.shell"}},"match":"(?<!\\\\w)\\\\b(true|false)\\\\b(?!\\\\w)"}]}},"match":"[\\\\t ]*+([^\\\\t\\\\n \\"$\\\\&-);<>\\\\\\\\\`|]+(?!>))"},{"include":"#normal_context"}]},"arithmetic_double":{"patterns":[{"begin":"\\\\(\\\\(","beginCaptures":{"0":{"name":"punctuation.section.arithmetic.double.shell"}},"end":"\\\\)\\\\s*\\\\)","endCaptures":{"0":{"name":"punctuation.section.arithmetic.double.shell"}},"name":"meta.arithmetic.shell","patterns":[{"include":"#math"},{"include":"#string"}]}]},"arithmetic_no_dollar":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.arithmetic.single.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.arithmetic.single.shell"}},"name":"meta.arithmetic.shell","patterns":[{"include":"#math"},{"include":"#string"}]}]},"array_access_inline":{"captures":{"1":{"name":"punctuation.section.array.shell"},"2":{"patterns":[{"include":"#special_expansion"},{"include":"#string"},{"include":"#variable"}]},"3":{"name":"punctuation.section.array.shell"}},"match":"(\\\\[)([^]\\\\[]+)(])"},"array_value":{"begin":"[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))[\\\\t ]*+(\\\\()","beginCaptures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"},"9":{"name":"punctuation.definition.array.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.array.shell"}},"patterns":[{"include":"#comment"},{"captures":{"1":{"name":"variable.other.assignment.array.shell entity.other.attribute-name.shell"},"2":{"name":"keyword.operator.assignment.shell punctuation.definition.assignment.shell"}},"match":"((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(=)"},{"captures":{"1":{"name":"punctuation.definition.bracket.named-array.shell"},"2":{"name":"string.unquoted.shell entity.other.attribute-name.bracket.shell"},"3":{"name":"punctuation.definition.bracket.named-array.shell"},"4":{"name":"punctuation.definition.assignment.shell"}},"match":"(\\\\[)(.+?)(])(=)"},{"include":"#normal_context"},{"include":"#simple_unquoted"}]},"assignment_statement":{"patterns":[{"include":"#array_value"},{"include":"#modified_assignment_statement"},{"include":"#normal_assignment_statement"}]},"basic_command_name":{"captures":{"1":{"name":"storage.modifier.$1.shell"},"2":{"name":"entity.name.function.call.shell entity.name.command.shell","patterns":[{"match":"(?<!\\\\w)(?:continue|return|break)(?!\\\\w)","name":"keyword.control.$0.shell"},{"match":"(?<!\\\\w)(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|[.:])(?!/)(?!\\\\w)(?!-)","name":"support.function.builtin.shell"},{"include":"#variable"}]}},"match":"(?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;])(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?:((?<=^|[\\\\t \\\\&;])(?:readonly|declare|typeset|export|local)(?=[\\\\t \\\\&;]|$))|((?![\\"']|\\\\\\\\\\\\n?$)[^\\\\t\\\\n\\\\r !\\"'<>]+?))(?:(?=[\\\\t ])|(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\))","name":"meta.statement.command.name.basic.shell"},"block_comment":{"begin":"\\\\s*+(/\\\\*)","beginCaptures":{"1":{"name":"punctuation.definition.comment.begin.shell"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.shell"}},"name":"comment.block.shell"},"boolean":{"match":"\\\\b(?:true|false)\\\\b","name":"constant.language.$0.shell"},"case_statement":{"begin":"\\\\b(case)\\\\b[\\\\t ]*+(.+?)[\\\\t ]*+\\\\b(in)\\\\b","beginCaptures":{"1":{"name":"keyword.control.case.shell"},"2":{"patterns":[{"include":"#initial_context"}]},"3":{"name":"keyword.control.in.shell"}},"end":"\\\\besac\\\\b","endCaptures":{"0":{"name":"keyword.control.esac.shell"}},"name":"meta.case.shell","patterns":[{"include":"#comment"},{"captures":{"1":{"name":"keyword.operator.pattern.case.default.shell"}},"match":"[\\\\t ]*+(\\\\* *\\\\))"},{"begin":"(?<!\\\\))(?![\\\\t ]*+(?:esac\\\\b|$))","beginCaptures":{},"end":"(?=\\\\besac\\\\b)|(\\\\))","endCaptures":{"1":{"name":"keyword.operator.pattern.case.shell"}},"name":"meta.case.entry.pattern.shell","patterns":[{"include":"#case_statement_context"}]},{"begin":"(?<=\\\\))","beginCaptures":{},"end":"(;;)|(?=\\\\besac\\\\b)","endCaptures":{"1":{"name":"punctuation.terminator.statement.case.shell"}},"name":"meta.case.entry.body.shell","patterns":[{"include":"#typical_statements"},{"include":"#initial_context"}]}]},"case_statement_context":{"patterns":[{"match":"\\\\*","name":"variable.language.special.quantifier.star.shell keyword.operator.quantifier.star.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"\\\\+","name":"variable.language.special.quantifier.plus.shell keyword.operator.quantifier.plus.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"\\\\?","name":"variable.language.special.quantifier.question.shell keyword.operator.quantifier.question.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"@","name":"variable.language.special.at.shell keyword.operator.at.shell punctuation.definition.regex.at.shell"},{"match":"\\\\|","name":"keyword.operator.orvariable.language.special.or.shell keyword.operator.alternation.ruby.shell punctuation.definition.regex.alternation.shell punctuation.separator.regex.alternation.shell"},{"match":"\\\\\\\\.","name":"constant.character.escape.shell"},{"match":"(?<=\\\\tin| in|[\\\\t ]|;;)\\\\(","name":"keyword.operator.pattern.case.shell"},{"begin":"(?<=\\\\S)(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},"name":"meta.parenthese.shell","patterns":[{"include":"#case_statement_context"}]},{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.character-class.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.character-class.shell"}},"name":"string.regexp.character-class.shell","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.shell"}]},{"include":"#string"},{"match":"[^\\\\t\\\\n )*?@\\\\[|]","name":"string.unquoted.pattern.shell string.regexp.unquoted.shell"}]},"command_name_range":{"begin":"\\\\G","beginCaptures":{},"end":"(?=[\\\\t \\\\&;|]|$|[\\\\n)\`])|(?=<)","endCaptures":{},"name":"meta.statement.command.name.shell","patterns":[{"match":"(?<!\\\\w)(?:continue|return|break)(?!\\\\w)","name":"entity.name.function.call.shell entity.name.command.shell keyword.control.$0.shell"},{"match":"(?<!\\\\w)(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|[.:])(?!/)(?!\\\\w)(?!-)","name":"entity.name.function.call.shell entity.name.command.shell support.function.builtin.shell"},{"include":"#variable"},{"captures":{"1":{"name":"entity.name.function.call.shell entity.name.command.shell"}},"match":"(?<!\\\\w)(?<=\\\\G|[\\"')}])([^\\\\t\\\\n\\\\r \\"\\\\&');->\`{|]+)"},{"begin":"(?:\\\\G|(?<![\\\\t\\\\n #\\\\&;{|]))(\\\\$?)((\\")|('))","beginCaptures":{"1":{"name":"meta.statement.command.name.quoted.shell punctuation.definition.string.shell entity.name.function.call.shell entity.name.command.shell"},"2":{},"3":{"name":"meta.statement.command.name.quoted.shell string.quoted.double.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"},"4":{"name":"meta.statement.command.name.quoted.shell string.quoted.single.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"}},"end":"(?<!\\\\G)(?<=\\\\2)","endCaptures":{},"patterns":[{"include":"#continuation_of_single_quoted_command_name"},{"include":"#continuation_of_double_quoted_command_name"}]},{"include":"#line_continuation"},{"include":"#simple_unquoted"}]},"command_statement":{"begin":"[\\\\t ]*+(?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;])(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?!\\\\\\\\\\\\n?$)","beginCaptures":{},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.command.shell","patterns":[{"include":"#command_name_range"},{"include":"#line_continuation"},{"include":"#option"},{"include":"#argument"},{"include":"#string"},{"include":"#heredoc"}]},"comment":{"captures":{"1":{"name":"comment.line.number-sign.shell meta.shebang.shell"},"2":{"name":"punctuation.definition.comment.shebang.shell"},"3":{"name":"comment.line.number-sign.shell"},"4":{"name":"punctuation.definition.comment.shell"}},"match":"(?:^|[\\\\t ]++)(?:((#!).*)|((#).*))"},"comments":{"patterns":[{"include":"#block_comment"},{"include":"#line_comment"}]},"compound-command":{"patterns":[{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical-expression"},{"include":"#initial_context"}]},{"begin":"(?<=\\\\s|^)\\\\{(?=\\\\s|$)","beginCaptures":{"0":{"name":"punctuation.definition.group.shell"}},"end":"(?<=^|;)\\\\s*(})","endCaptures":{"1":{"name":"punctuation.definition.group.shell"}},"name":"meta.scope.group.shell","patterns":[{"include":"#initial_context"}]}]},"continuation_of_double_quoted_command_name":{"begin":"\\\\G(?<=\\")","beginCaptures":{},"contentName":"meta.statement.command.name.continuation string.quoted.double entity.name.function.call entity.name.command","end":"\\"","endCaptures":{"0":{"name":"string.quoted.double.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}},"patterns":[{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\\`]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},"continuation_of_single_quoted_command_name":{"begin":"\\\\G(?<=')","beginCaptures":{},"contentName":"meta.statement.command.name.continuation string.quoted.single entity.name.function.call entity.name.command","end":"'","endCaptures":{"0":{"name":"string.quoted.single.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}}},"custom_command_names":{"patterns":[]},"custom_commands":{"patterns":[]},"double_quote_context":{"patterns":[{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\\`]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},"double_quote_escape_char":{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\\`]","name":"constant.character.escape.shell"},"floating_keyword":{"patterns":[{"match":"(?<=^|[\\\\t \\\\&;])(?:then|elif|else|done|end|do|if|fi)(?=[\\\\t \\\\&;]|$)","name":"keyword.control.$0.shell"}]},"for_statement":{"patterns":[{"begin":"\\\\b(for)\\\\b[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))[\\\\t ]*+\\\\b(in)\\\\b","beginCaptures":{"1":{"name":"keyword.control.for.shell"},"2":{"name":"variable.other.for.shell"},"3":{"name":"keyword.control.in.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.for.in.shell","patterns":[{"include":"#string"},{"include":"#simple_unquoted"},{"include":"#normal_context"}]},{"begin":"\\\\b(for)\\\\b","beginCaptures":{"1":{"name":"keyword.control.for.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.for.shell","patterns":[{"include":"#arithmetic_double"},{"include":"#normal_context"}]}]},"function_definition":{"applyEndPatternLast":1,"begin":"[\\\\t ]*+(?:\\\\b(function)\\\\b[\\\\t ]*+([^\\\\t\\\\n\\\\r \\"'()=]+)(?:(\\\\()[\\\\t ]*+(\\\\)))?|([^\\\\t\\\\n\\\\r \\"'()=]+)[\\\\t ]*+(\\\\()[\\\\t ]*+(\\\\)))","beginCaptures":{"1":{"name":"storage.type.function.shell"},"2":{"name":"entity.name.function.shell"},"3":{"name":"punctuation.definition.arguments.shell"},"4":{"name":"punctuation.definition.arguments.shell"},"5":{"name":"entity.name.function.shell"},"6":{"name":"punctuation.definition.arguments.shell"},"7":{"name":"punctuation.definition.arguments.shell"}},"end":"(?<=[)}])","endCaptures":{},"name":"meta.function.shell","patterns":[{"match":"\\\\G[\\\\t\\\\n ]"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"name":"meta.function.body.shell","patterns":[{"include":"#initial_context"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"name":"meta.function.body.shell","patterns":[{"include":"#initial_context"}]},{"include":"#initial_context"}]},"heredoc":{"patterns":[{"begin":"((?<!<)<<-)[\\\\t ]*+([\\"'])[\\\\t ]*+([^\\"']+?)(?=[\\"\\\\&';<\\\\s])(\\\\2)(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.quote.shell"},"3":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"4":{"name":"punctuation.definition.string.heredoc.quote.shell"},"5":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.quoted.heredoc.indent.$3","end":"^\\\\t*\\\\3(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.$0.shell"}},"patterns":[]},{"begin":"((?<!<)<<(?!<))[\\\\t ]*+([\\"'])[\\\\t ]*+([^\\"']+?)(?=[\\"\\\\&';<\\\\s])(\\\\2)(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.quote.shell"},"3":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"4":{"name":"punctuation.definition.string.heredoc.quote.shell"},"5":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.quoted.heredoc.no-indent.$3","end":"^\\\\3(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[]},{"begin":"((?<!<)<<-)[\\\\t ]*+([^\\\\t \\"']+)(?=[\\"\\\\&';<\\\\s])(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"3":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.unquoted.heredoc.indent.$2","end":"^\\\\t*\\\\2(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[{"include":"#double_quote_escape_char"},{"include":"#variable"},{"include":"#interpolation"}]},{"begin":"((?<!<)<<(?!<))[\\\\t ]*+([^\\\\t \\"']+)(?=[\\"\\\\&';<\\\\s])(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"3":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.unquoted.heredoc.no-indent.$2","end":"^\\\\2(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[{"include":"#double_quote_escape_char"},{"include":"#variable"},{"include":"#interpolation"}]}]},"herestring":{"patterns":[{"begin":"(<<<)\\\\s*(('))","beginCaptures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.quoted.single.shell"},"3":{"name":"punctuation.definition.string.begin.shell"}},"contentName":"string.quoted.single.shell","end":"(')","endCaptures":{"0":{"name":"string.quoted.single.shell"},"1":{"name":"punctuation.definition.string.end.shell"}},"name":"meta.herestring.shell"},{"begin":"(<<<)\\\\s*((\\"))","beginCaptures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.quoted.double.shell"},"3":{"name":"punctuation.definition.string.begin.shell"}},"contentName":"string.quoted.double.shell","end":"(\\")","endCaptures":{"0":{"name":"string.quoted.double.shell"},"1":{"name":"punctuation.definition.string.end.shell"}},"name":"meta.herestring.shell","patterns":[{"include":"#double_quote_context"}]},{"captures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.unquoted.herestring.shell","patterns":[{"include":"#initial_context"}]}},"match":"(<<<)\\\\s*(([^)\\\\\\\\\\\\s]|\\\\\\\\.)+)","name":"meta.herestring.shell"}]},"initial_context":{"patterns":[{"include":"#comment"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#logical_expression_double"},{"include":"#logical_expression_single"},{"include":"#assignment_statement"},{"include":"#case_statement"},{"include":"#for_statement"},{"include":"#loop"},{"include":"#function_definition"},{"include":"#line_continuation"},{"include":"#arithmetic_double"},{"include":"#misc_ranges"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#alias_statement"},{"include":"#normal_statement"},{"include":"#string"},{"include":"#support"}]},"inline_comment":{"captures":{"1":{"name":"comment.block.shell punctuation.definition.comment.begin.shell"},"2":{"name":"comment.block.shell"},"3":{"patterns":[{"match":"\\\\*/","name":"comment.block.shell punctuation.definition.comment.end.shell"},{"match":"\\\\*","name":"comment.block.shell"}]}},"match":"(/\\\\*)((?:[^*]|\\\\*++[^/])*+(\\\\*++/))"},"interpolation":{"patterns":[{"include":"#arithmetic_dollar"},{"include":"#subshell_dollar"},{"begin":"\`","beginCaptures":{"0":{"name":"punctuation.definition.evaluation.backticks.shell"}},"end":"\`","endCaptures":{"0":{"name":"punctuation.definition.evaluation.backticks.shell"}},"name":"string.interpolated.backtick.shell","patterns":[{"match":"\\\\\\\\[$\\\\\\\\\`]","name":"constant.character.escape.shell"},{"begin":"(?<=\\\\W)(?=#)(?!#\\\\{)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.shell"}},"end":"(?!\\\\G)","patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.shell"}},"end":"(?=\`)","name":"comment.line.number-sign.shell"}]},{"include":"#initial_context"}]}]},"keyword":{"patterns":[{"match":"(?<=^|[\\\\&;\\\\s])(then|else|elif|fi|for|in|do|done|select|continue|esac|while|until|return)(?=[\\\\&;\\\\s]|$)","name":"keyword.control.shell"},{"match":"(?<=^|[\\\\&;\\\\s])(?:export|declare|typeset|local|readonly)(?=[\\\\&;\\\\s]|$)","name":"storage.modifier.shell"}]},"line_comment":{"begin":"\\\\s*+(//)","beginCaptures":{"1":{"name":"punctuation.definition.comment.shell"}},"end":"(?<=\\\\n)(?<!\\\\\\\\\\\\n)","endCaptures":{},"name":"comment.line.double-slash.shell","patterns":[{"include":"#line_continuation_character"}]},"line_continuation":{"match":"\\\\\\\\(?=\\\\n)","name":"constant.character.escape.line-continuation.shell"},"logical-expression":{"patterns":[{"include":"#arithmetic_no_dollar"},{"match":"=[=~]?|!=?|[<>]|&&|\\\\|\\\\|","name":"keyword.operator.logical.shell"},{"match":"(?<!\\\\S)-(nt|ot|ef|eq|ne|l[et]|g[et]|[GLNOSa-hknopr-uwxz])\\\\b","name":"keyword.operator.logical.shell"}]},"logical_expression_context":{"patterns":[{"include":"#regex_comparison"},{"include":"#arithmetic_no_dollar"},{"include":"#logical-expression"},{"include":"#logical_expression_single"},{"include":"#logical_expression_double"},{"include":"#comment"},{"include":"#boolean"},{"include":"#redirect_number"},{"include":"#numeric_literal"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"}]},"logical_expression_double":{"begin":"\\\\[\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical_expression_context"}]},"logical_expression_single":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical_expression_context"}]},"loop":{"patterns":[{"begin":"(?<=^|[\\\\&;\\\\s])(for)\\\\s+(.+?)\\\\s+(in)(?=[\\\\&;\\\\s]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"},"2":{"name":"variable.other.loop.shell","patterns":[{"include":"#string"}]},"3":{"name":"keyword.control.shell"}},"end":"(?<=^|[\\\\&;\\\\s])done(?=[\\\\&;\\\\s]|$|\\\\))","endCaptures":{"0":{"name":"keyword.control.shell"}},"name":"meta.scope.for-in-loop.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[\\\\&;\\\\s])(while|until)(?=[\\\\&;\\\\s]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"}},"end":"(?<=^|[\\\\&;\\\\s])done(?=[\\\\&;\\\\s]|$|\\\\))","endCaptures":{"0":{"name":"keyword.control.shell"}},"name":"meta.scope.while-loop.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[\\\\&;\\\\s])(select)\\\\s+((?:[^\\\\\\\\\\\\s]|\\\\\\\\.)+)(?=[\\\\&;\\\\s]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"},"2":{"name":"variable.other.loop.shell"}},"end":"(?<=^|[\\\\&;\\\\s])(done)(?=[\\\\&;\\\\s]|$|\\\\))","endCaptures":{"1":{"name":"keyword.control.shell"}},"name":"meta.scope.select-block.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[\\\\&;\\\\s])if(?=[\\\\&;\\\\s]|$)","beginCaptures":{"0":{"name":"keyword.control.if.shell"}},"end":"(?<=^|[\\\\&;\\\\s])fi(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"keyword.control.fi.shell"}},"name":"meta.scope.if-block.shell","patterns":[{"include":"#initial_context"}]}]},"math":{"patterns":[{"include":"#variable"},{"match":"\\\\+{1,2}|-{1,2}|[!~]|\\\\*{1,2}|[%/]|<[<=]?|>[=>]?|==|!=|^|\\\\|{1,2}|&{1,2}|[,:=?]|[-%\\\\&*+/^|]=|<<=|>>=","name":"keyword.operator.arithmetic.shell"},{"match":"0[Xx]\\\\h+","name":"constant.numeric.hex.shell"},{"match":";","name":"punctuation.separator.semicolon.range"},{"match":"0\\\\d+","name":"constant.numeric.octal.shell"},{"match":"\\\\d{1,2}#[0-9@-Z_a-z]+","name":"constant.numeric.other.shell"},{"match":"\\\\d+","name":"constant.numeric.integer.shell"},{"match":"(?<!\\\\w)[0-9A-Z_a-z]+(?!\\\\w)","name":"variable.other.normal.shell"}]},"math_operators":{"patterns":[{"match":"\\\\+{1,2}|-{1,2}|[!~]|\\\\*{1,2}|[%/]|<[<=]?|>[=>]?|==|!=|^|\\\\|{1,2}|&{1,2}|[,:=?]|[-%\\\\&*+/^|]=|<<=|>>=","name":"keyword.operator.arithmetic.shell"},{"match":"0[Xx]\\\\h+","name":"constant.numeric.hex.shell"},{"match":"0\\\\d+","name":"constant.numeric.octal.shell"},{"match":"\\\\d{1,2}#[0-9@-Z_a-z]+","name":"constant.numeric.other.shell"},{"match":"\\\\d+","name":"constant.numeric.integer.shell"}]},"misc_ranges":{"patterns":[{"include":"#logical_expression_single"},{"include":"#logical_expression_double"},{"include":"#subshell_dollar"},{"begin":"(?<![^\\\\t ])(\\\\{)(?![$\\\\w])","beginCaptures":{"1":{"name":"punctuation.definition.group.shell"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.group.shell"}},"name":"meta.scope.group.shell","patterns":[{"include":"#initial_context"}]}]},"modified_assignment_statement":{"begin":"(?<=^|[\\\\t \\\\&;])(?:readonly|declare|typeset|export|local)(?=[\\\\t \\\\&;]|$)","beginCaptures":{"0":{"name":"storage.modifier.$0.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.shell meta.expression.assignment.modified.shell","patterns":[{"match":"(?<!\\\\w)-\\\\w+\\\\b","name":"string.unquoted.argument.shell constant.other.option.shell"},{"include":"#array_value"},{"captures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"},"9":{"name":"constant.numeric.shell constant.numeric.hex.shell"},"10":{"name":"constant.numeric.shell constant.numeric.octal.shell"},"11":{"name":"constant.numeric.shell constant.numeric.other.shell"},"12":{"name":"constant.numeric.shell constant.numeric.decimal.shell"},"13":{"name":"constant.numeric.shell constant.numeric.version.shell"},"14":{"name":"constant.numeric.shell constant.numeric.integer.shell"}},"match":"((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))?(?:(?<=[\\\\t =]|^|[(\\\\[{])(?:(?:(?:(?:(?:(0[Xx]\\\\h+)|(0\\\\d+))|(\\\\d{1,2}#[0-9@-Z_a-z]+))|(-?\\\\d+\\\\.\\\\d+))|(-?\\\\d+(?:\\\\.\\\\d+)+))|(-?\\\\d+))(?=[\\\\t ]|$|[);}]))?"},{"include":"#normal_context"}]},"modifiers":{"match":"(?<=^|[\\\\t \\\\&;])(?:readonly|declare|typeset|export|local)(?=[\\\\t \\\\&;]|$)","name":"storage.modifier.$0.shell"},"normal_assignment_statement":{"begin":"[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))","beginCaptures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.expression.assignment.shell","patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#normal_assignment_statement"},{"begin":"(?<=[\\\\t ])(?![\\\\t ]|\\\\w+=)","beginCaptures":{},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.command.env.shell","patterns":[{"include":"#command_name_range"},{"include":"#line_continuation"},{"include":"#option"},{"include":"#argument"},{"include":"#string"}]},{"include":"#simple_unquoted"},{"include":"#normal_context"}]},"normal_context":{"patterns":[{"include":"#comment"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#misc_ranges"},{"include":"#boolean"},{"include":"#redirect_number"},{"include":"#numeric_literal"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"},{"include":"#parenthese"}]},"normal_statement":{"begin":"(?!^[\\\\t ]*+$)(?:(?<=(?:^until| until|\\\\tuntil|^while| while|\\\\twhile|^elif| elif|\\\\telif|^else| else|\\\\telse|^then| then|\\\\tthen|^do| do|\\\\tdo|^if| if|\\\\tif) )|(?<=^|[!\\\\&(;\`{|]))[\\\\t ]*+(?!nocorrect\\\\W|nocorrect\\\\$|function\\\\W|function\\\\$|foreach\\\\W|foreach\\\\$|repeat\\\\W|repeat\\\\$|logout\\\\W|logout\\\\$|coproc\\\\W|coproc\\\\$|select\\\\W|select\\\\$|while\\\\W|while\\\\$|pushd\\\\W|pushd\\\\$|until\\\\W|until\\\\$|case\\\\W|case\\\\$|done\\\\W|done\\\\$|elif\\\\W|elif\\\\$|else\\\\W|else\\\\$|esac\\\\W|esac\\\\$|popd\\\\W|popd\\\\$|then\\\\W|then\\\\$|time\\\\W|time\\\\$|for\\\\W|for\\\\$|end\\\\W|end\\\\$|fi\\\\W|fi\\\\$|do\\\\W|do\\\\$|in\\\\W|in\\\\$|if\\\\W|if\\\\$)","beginCaptures":{},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.shell","patterns":[{"include":"#typical_statements"}]},"normal_statement_seperator":{"captures":{"1":{"name":"punctuation.terminator.statement.semicolon.shell"},"2":{"name":"punctuation.separator.statement.and.shell"},"3":{"name":"punctuation.separator.statement.or.shell"},"4":{"name":"punctuation.separator.statement.background.shell"}},"match":"(?:(?:(;)|(&&))|(\\\\|\\\\|))|(&)"},"numeric_literal":{"captures":{"1":{"name":"constant.numeric.shell constant.numeric.hex.shell"},"2":{"name":"constant.numeric.shell constant.numeric.octal.shell"},"3":{"name":"constant.numeric.shell constant.numeric.other.shell"},"4":{"name":"constant.numeric.shell constant.numeric.decimal.shell"},"5":{"name":"constant.numeric.shell constant.numeric.version.shell"},"6":{"name":"constant.numeric.shell constant.numeric.integer.shell"}},"match":"(?<=[\\\\t =]|^|[(\\\\[{])(?:(?:(?:(?:(?:(0[Xx]\\\\h+)|(0\\\\d+))|(\\\\d{1,2}#[0-9@-Z_a-z]+))|(-?\\\\d+\\\\.\\\\d+))|(-?\\\\d+(?:\\\\.\\\\d+)+))|(-?\\\\d+))(?=[\\\\t ]|$|[);}])"},"option":{"begin":"[\\\\t ]++(-)((?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;]))","beginCaptures":{"1":{"name":"string.unquoted.argument.shell constant.other.option.dash.shell"},"2":{"name":"string.unquoted.argument.shell constant.other.option.shell"}},"contentName":"string.unquoted.argument constant.other.option","end":"(?=[\\\\t ])|(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"patterns":[{"include":"#option_context"}]},"option_context":{"patterns":[{"include":"#misc_ranges"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"}]},"parenthese":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.parenthese.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.parenthese.shell"}},"name":"meta.parenthese.group.shell","patterns":[{"include":"#initial_context"}]}]},"pathname":{"patterns":[{"match":"(?<=[:=\\\\s]|^)~","name":"keyword.operator.tilde.shell"},{"match":"[*?]","name":"keyword.operator.glob.shell"},{"begin":"([!*+?@])(\\\\()","beginCaptures":{"1":{"name":"keyword.operator.extglob.shell"},"2":{"name":"punctuation.definition.extglob.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.extglob.shell"}},"name":"meta.structure.extglob.shell","patterns":[{"include":"#initial_context"}]}]},"pipeline":{"patterns":[{"match":"(?<=^|[\\\\&;\\\\s])(time)(?=[\\\\&;\\\\s]|$)","name":"keyword.other.shell"},{"match":"[!|]","name":"keyword.operator.pipe.shell"}]},"redirect_fix":{"captures":{"1":{"name":"keyword.operator.redirect.shell"},"2":{"name":"string.unquoted.argument.shell"}},"match":"(>>?)[\\\\t ]*+([^\\\\t\\\\n \\"$\\\\&-);<>\\\\\\\\\`|]+)"},"redirect_number":{"captures":{"1":{"name":"keyword.operator.redirect.stdout.shell"},"2":{"name":"keyword.operator.redirect.stderr.shell"},"3":{"name":"keyword.operator.redirect.$3.shell"}},"match":"(?<=[\\\\t ])(?:(1)|(2)|(\\\\d+))(?=>)"},"redirection":{"patterns":[{"begin":"[<>]\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.interpolated.process-substitution.shell","patterns":[{"include":"#initial_context"}]},{"match":"(?<![<>])(&>|\\\\d*>&\\\\d*|\\\\d*(>>|[<>])|\\\\d*<&|\\\\d*<>)(?![<>])","name":"keyword.operator.redirect.shell"}]},"regex_comparison":{"match":"=~","name":"keyword.operator.logical.regex.shell"},"regexp":{"patterns":[{"match":".+"}]},"simple_options":{"captures":{"0":{"patterns":[{"captures":{"1":{"name":"string.unquoted.argument.shell constant.other.option.dash.shell"},"2":{"name":"string.unquoted.argument.shell constant.other.option.shell"}},"match":"[\\\\t ]++(-)(\\\\w+)"}]}},"match":"(?:[\\\\t ]++-\\\\w+)*"},"simple_unquoted":{"match":"[^\\\\t\\\\n \\"$\\\\&-);<>\\\\\\\\\`|]","name":"string.unquoted.shell"},"special_expansion":{"match":"!|:[-=?]?|[*@]|##?|%%|[%/]","name":"keyword.operator.expansion.shell"},"start_of_command":{"match":"[\\\\t ]*+(?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;])(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?!\\\\\\\\\\\\n?$)"},"string":{"patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.shell"},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.single.shell"},{"begin":"\\\\$?\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.double.shell","patterns":[{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\\`]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},{"begin":"\\\\$'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.single.dollar.shell","patterns":[{"match":"\\\\\\\\['\\\\\\\\abefnrtv]","name":"constant.character.escape.ansi-c.shell"},{"match":"\\\\\\\\[0-9]{3}\\"","name":"constant.character.escape.octal.shell"},{"match":"\\\\\\\\x\\\\h{2}\\"","name":"constant.character.escape.hex.shell"},{"match":"\\\\\\\\c.\\"","name":"constant.character.escape.control-char.shell"}]}]},"subshell_dollar":{"patterns":[{"begin":"\\\\$\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.subshell.single.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.subshell.single.shell"}},"name":"meta.scope.subshell","patterns":[{"include":"#parenthese"},{"include":"#initial_context"}]}]},"support":{"patterns":[{"match":"(?<=^|[\\\\&;\\\\s])[.:](?=[\\\\&;\\\\s]|$)","name":"support.function.builtin.shell"}]},"typical_statements":{"patterns":[{"include":"#assignment_statement"},{"include":"#case_statement"},{"include":"#for_statement"},{"include":"#while_statement"},{"include":"#function_definition"},{"include":"#command_statement"},{"include":"#line_continuation"},{"include":"#arithmetic_double"},{"include":"#normal_context"}]},"variable":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.all.shell"},"2":{"name":"variable.parameter.positional.all.shell"}},"match":"(\\\\$)(@(?!\\\\w))"},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.shell"},"2":{"name":"variable.parameter.positional.shell"}},"match":"(\\\\$)([0-9](?!\\\\w))"},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.language.special.shell"},"2":{"name":"variable.language.special.shell"}},"match":"(\\\\$)([-!#$*0?_](?!\\\\w))"},{"begin":"(\\\\$)(\\\\{)[\\\\t ]*+(?=\\\\d)","beginCaptures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.shell"},"2":{"name":"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},"contentName":"meta.parameter-expansion","end":"}","endCaptures":{"0":{"name":"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},"patterns":[{"include":"#special_expansion"},{"include":"#array_access_inline"},{"match":"[0-9]+","name":"variable.parameter.positional.shell"},{"match":"(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)","name":"variable.other.normal.shell"},{"include":"#variable"},{"include":"#string"}]},{"begin":"(\\\\$)(\\\\{)","beginCaptures":{"1":{"name":"punctuation.definition.variable.shell"},"2":{"name":"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell"}},"contentName":"meta.parameter-expansion","end":"}","endCaptures":{"0":{"name":"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell"}},"patterns":[{"include":"#special_expansion"},{"include":"#array_access_inline"},{"match":"(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)","name":"variable.other.normal.shell"},{"include":"#variable"},{"include":"#string"}]},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.other.normal.shell"},"2":{"name":"variable.other.normal.shell"}},"match":"(\\\\$)(\\\\w+(?!\\\\w))"}]},"while_statement":{"patterns":[{"begin":"\\\\b(while)\\\\b","beginCaptures":{"1":{"name":"keyword.control.while.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.while.shell","patterns":[{"include":"#line_continuation"},{"include":"#math_operators"},{"include":"#option"},{"include":"#simple_unquoted"},{"include":"#normal_context"},{"include":"#string"}]}]}},"scopeName":"source.shell","aliases":["bash","sh","shell","zsh"]}`))];export{t as n,n as t};
1
+ import{M as e}from"./_CMDhPKMI.js";var t=e({default:()=>n}),n=[Object.freeze(JSON.parse(`{"displayName":"Shell","name":"shellscript","patterns":[{"include":"#initial_context"}],"repository":{"alias_statement":{"begin":"[\\\\t ]*+(alias)[\\\\t ]*+((?:((?<!\\\\w)-\\\\w+)\\\\b[\\\\t ]*+)*)[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))","beginCaptures":{"1":{"name":"storage.type.alias.shell"},"2":{"patterns":[{"match":"(?<!\\\\w)-\\\\w+\\\\b","name":"string.unquoted.argument.shell constant.other.option.shell"}]},"3":{"name":"string.unquoted.argument.shell constant.other.option.shell"},"4":{"name":"variable.other.assignment.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"variable.other.assignment.shell"},"7":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"8":{"name":"punctuation.definition.array.access.shell"},"9":{"name":"keyword.operator.assignment.shell"},"10":{"name":"keyword.operator.assignment.compound.shell"},"11":{"name":"keyword.operator.assignment.compound.shell"}},"end":"(?=[\\\\t ]|$)|(?:(?:(?:(;)|(&&))|(\\\\|\\\\|))|(&))","endCaptures":{"1":{"name":"punctuation.terminator.statement.semicolon.shell"},"2":{"name":"punctuation.separator.statement.and.shell"},"3":{"name":"punctuation.separator.statement.or.shell"},"4":{"name":"punctuation.separator.statement.background.shell"}},"name":"meta.expression.assignment.alias.shell","patterns":[{"include":"#normal_context"}]},"argument":{"begin":"[\\\\t ]++(?![\\\\n#\\\\&(\\\\[|]|$|;)","beginCaptures":{},"end":"(?=[\\\\t \\\\&;|]|$|[\\\\n)\`])","endCaptures":{},"name":"meta.argument.shell","patterns":[{"include":"#argument_context"},{"include":"#line_continuation"}]},"argument_context":{"patterns":[{"captures":{"1":{"name":"string.unquoted.argument.shell","patterns":[{"match":"\\\\*","name":"variable.language.special.wildcard.shell"},{"include":"#variable"},{"include":"#numeric_literal"},{"captures":{"1":{"name":"constant.language.$1.shell"}},"match":"(?<!\\\\w)\\\\b(true|false)\\\\b(?!\\\\w)"}]}},"match":"[\\\\t ]*+([^\\\\t\\\\n \\"$\\\\&-);<>\\\\\\\\\`|]+(?!>))"},{"include":"#normal_context"}]},"arithmetic_double":{"patterns":[{"begin":"\\\\(\\\\(","beginCaptures":{"0":{"name":"punctuation.section.arithmetic.double.shell"}},"end":"\\\\)\\\\s*\\\\)","endCaptures":{"0":{"name":"punctuation.section.arithmetic.double.shell"}},"name":"meta.arithmetic.shell","patterns":[{"include":"#math"},{"include":"#string"}]}]},"arithmetic_no_dollar":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.arithmetic.single.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.arithmetic.single.shell"}},"name":"meta.arithmetic.shell","patterns":[{"include":"#math"},{"include":"#string"}]}]},"array_access_inline":{"captures":{"1":{"name":"punctuation.section.array.shell"},"2":{"patterns":[{"include":"#special_expansion"},{"include":"#string"},{"include":"#variable"}]},"3":{"name":"punctuation.section.array.shell"}},"match":"(\\\\[)([^]\\\\[]+)(])"},"array_value":{"begin":"[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))[\\\\t ]*+(\\\\()","beginCaptures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"},"9":{"name":"punctuation.definition.array.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.array.shell"}},"patterns":[{"include":"#comment"},{"captures":{"1":{"name":"variable.other.assignment.array.shell entity.other.attribute-name.shell"},"2":{"name":"keyword.operator.assignment.shell punctuation.definition.assignment.shell"}},"match":"((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(=)"},{"captures":{"1":{"name":"punctuation.definition.bracket.named-array.shell"},"2":{"name":"string.unquoted.shell entity.other.attribute-name.bracket.shell"},"3":{"name":"punctuation.definition.bracket.named-array.shell"},"4":{"name":"punctuation.definition.assignment.shell"}},"match":"(\\\\[)(.+?)(])(=)"},{"include":"#normal_context"},{"include":"#simple_unquoted"}]},"assignment_statement":{"patterns":[{"include":"#array_value"},{"include":"#modified_assignment_statement"},{"include":"#normal_assignment_statement"}]},"basic_command_name":{"captures":{"1":{"name":"storage.modifier.$1.shell"},"2":{"name":"entity.name.function.call.shell entity.name.command.shell","patterns":[{"match":"(?<!\\\\w)(?:continue|return|break)(?!\\\\w)","name":"keyword.control.$0.shell"},{"match":"(?<!\\\\w)(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|[.:])(?!/)(?!\\\\w)(?!-)","name":"support.function.builtin.shell"},{"include":"#variable"}]}},"match":"(?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;])(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?:((?<=^|[\\\\t \\\\&;])(?:readonly|declare|typeset|export|local)(?=[\\\\t \\\\&;]|$))|((?![\\"']|\\\\\\\\\\\\n?$)[^\\\\t\\\\n\\\\r !\\"'<>]+?))(?:(?=[\\\\t ])|(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\))","name":"meta.statement.command.name.basic.shell"},"block_comment":{"begin":"\\\\s*+(/\\\\*)","beginCaptures":{"1":{"name":"punctuation.definition.comment.begin.shell"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.shell"}},"name":"comment.block.shell"},"boolean":{"match":"\\\\b(?:true|false)\\\\b","name":"constant.language.$0.shell"},"case_statement":{"begin":"\\\\b(case)\\\\b[\\\\t ]*+(.+?)[\\\\t ]*+\\\\b(in)\\\\b","beginCaptures":{"1":{"name":"keyword.control.case.shell"},"2":{"patterns":[{"include":"#initial_context"}]},"3":{"name":"keyword.control.in.shell"}},"end":"\\\\besac\\\\b","endCaptures":{"0":{"name":"keyword.control.esac.shell"}},"name":"meta.case.shell","patterns":[{"include":"#comment"},{"captures":{"1":{"name":"keyword.operator.pattern.case.default.shell"}},"match":"[\\\\t ]*+(\\\\* *\\\\))"},{"begin":"(?<!\\\\))(?![\\\\t ]*+(?:esac\\\\b|$))","beginCaptures":{},"end":"(?=\\\\besac\\\\b)|(\\\\))","endCaptures":{"1":{"name":"keyword.operator.pattern.case.shell"}},"name":"meta.case.entry.pattern.shell","patterns":[{"include":"#case_statement_context"}]},{"begin":"(?<=\\\\))","beginCaptures":{},"end":"(;;)|(?=\\\\besac\\\\b)","endCaptures":{"1":{"name":"punctuation.terminator.statement.case.shell"}},"name":"meta.case.entry.body.shell","patterns":[{"include":"#typical_statements"},{"include":"#initial_context"}]}]},"case_statement_context":{"patterns":[{"match":"\\\\*","name":"variable.language.special.quantifier.star.shell keyword.operator.quantifier.star.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"\\\\+","name":"variable.language.special.quantifier.plus.shell keyword.operator.quantifier.plus.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"\\\\?","name":"variable.language.special.quantifier.question.shell keyword.operator.quantifier.question.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"@","name":"variable.language.special.at.shell keyword.operator.at.shell punctuation.definition.regex.at.shell"},{"match":"\\\\|","name":"keyword.operator.orvariable.language.special.or.shell keyword.operator.alternation.ruby.shell punctuation.definition.regex.alternation.shell punctuation.separator.regex.alternation.shell"},{"match":"\\\\\\\\.","name":"constant.character.escape.shell"},{"match":"(?<=\\\\tin| in|[\\\\t ]|;;)\\\\(","name":"keyword.operator.pattern.case.shell"},{"begin":"(?<=\\\\S)(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},"name":"meta.parenthese.shell","patterns":[{"include":"#case_statement_context"}]},{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.character-class.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.character-class.shell"}},"name":"string.regexp.character-class.shell","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.shell"}]},{"include":"#string"},{"match":"[^\\\\t\\\\n )*?@\\\\[|]","name":"string.unquoted.pattern.shell string.regexp.unquoted.shell"}]},"command_name_range":{"begin":"\\\\G","beginCaptures":{},"end":"(?=[\\\\t \\\\&;|]|$|[\\\\n)\`])|(?=<)","endCaptures":{},"name":"meta.statement.command.name.shell","patterns":[{"match":"(?<!\\\\w)(?:continue|return|break)(?!\\\\w)","name":"entity.name.function.call.shell entity.name.command.shell keyword.control.$0.shell"},{"match":"(?<!\\\\w)(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|[.:])(?!/)(?!\\\\w)(?!-)","name":"entity.name.function.call.shell entity.name.command.shell support.function.builtin.shell"},{"include":"#variable"},{"captures":{"1":{"name":"entity.name.function.call.shell entity.name.command.shell"}},"match":"(?<!\\\\w)(?<=\\\\G|[\\"')}])([^\\\\t\\\\n\\\\r \\"\\\\&');->\`{|]+)"},{"begin":"(?:\\\\G|(?<![\\\\t\\\\n #\\\\&;{|]))(\\\\$?)((\\")|('))","beginCaptures":{"1":{"name":"meta.statement.command.name.quoted.shell punctuation.definition.string.shell entity.name.function.call.shell entity.name.command.shell"},"2":{},"3":{"name":"meta.statement.command.name.quoted.shell string.quoted.double.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"},"4":{"name":"meta.statement.command.name.quoted.shell string.quoted.single.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"}},"end":"(?<!\\\\G)(?<=\\\\2)","endCaptures":{},"patterns":[{"include":"#continuation_of_single_quoted_command_name"},{"include":"#continuation_of_double_quoted_command_name"}]},{"include":"#line_continuation"},{"include":"#simple_unquoted"}]},"command_statement":{"begin":"[\\\\t ]*+(?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;])(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?!\\\\\\\\\\\\n?$)","beginCaptures":{},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.command.shell","patterns":[{"include":"#command_name_range"},{"include":"#line_continuation"},{"include":"#option"},{"include":"#argument"},{"include":"#string"},{"include":"#heredoc"}]},"comment":{"captures":{"1":{"name":"comment.line.number-sign.shell meta.shebang.shell"},"2":{"name":"punctuation.definition.comment.shebang.shell"},"3":{"name":"comment.line.number-sign.shell"},"4":{"name":"punctuation.definition.comment.shell"}},"match":"(?:^|[\\\\t ]++)(?:((#!).*)|((#).*))"},"comments":{"patterns":[{"include":"#block_comment"},{"include":"#line_comment"}]},"compound-command":{"patterns":[{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical-expression"},{"include":"#initial_context"}]},{"begin":"(?<=\\\\s|^)\\\\{(?=\\\\s|$)","beginCaptures":{"0":{"name":"punctuation.definition.group.shell"}},"end":"(?<=^|;)\\\\s*(})","endCaptures":{"1":{"name":"punctuation.definition.group.shell"}},"name":"meta.scope.group.shell","patterns":[{"include":"#initial_context"}]}]},"continuation_of_double_quoted_command_name":{"begin":"\\\\G(?<=\\")","beginCaptures":{},"contentName":"meta.statement.command.name.continuation string.quoted.double entity.name.function.call entity.name.command","end":"\\"","endCaptures":{"0":{"name":"string.quoted.double.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}},"patterns":[{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\\`]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},"continuation_of_single_quoted_command_name":{"begin":"\\\\G(?<=')","beginCaptures":{},"contentName":"meta.statement.command.name.continuation string.quoted.single entity.name.function.call entity.name.command","end":"'","endCaptures":{"0":{"name":"string.quoted.single.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}}},"custom_command_names":{"patterns":[]},"custom_commands":{"patterns":[]},"double_quote_context":{"patterns":[{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\\`]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},"double_quote_escape_char":{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\\`]","name":"constant.character.escape.shell"},"floating_keyword":{"patterns":[{"match":"(?<=^|[\\\\t \\\\&;])(?:then|elif|else|done|end|do|if|fi)(?=[\\\\t \\\\&;]|$)","name":"keyword.control.$0.shell"}]},"for_statement":{"patterns":[{"begin":"\\\\b(for)\\\\b[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))[\\\\t ]*+\\\\b(in)\\\\b","beginCaptures":{"1":{"name":"keyword.control.for.shell"},"2":{"name":"variable.other.for.shell"},"3":{"name":"keyword.control.in.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.for.in.shell","patterns":[{"include":"#string"},{"include":"#simple_unquoted"},{"include":"#normal_context"}]},{"begin":"\\\\b(for)\\\\b","beginCaptures":{"1":{"name":"keyword.control.for.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.for.shell","patterns":[{"include":"#arithmetic_double"},{"include":"#normal_context"}]}]},"function_definition":{"applyEndPatternLast":1,"begin":"[\\\\t ]*+(?:\\\\b(function)\\\\b[\\\\t ]*+([^\\\\t\\\\n\\\\r \\"'()=]+)(?:(\\\\()[\\\\t ]*+(\\\\)))?|([^\\\\t\\\\n\\\\r \\"'()=]+)[\\\\t ]*+(\\\\()[\\\\t ]*+(\\\\)))","beginCaptures":{"1":{"name":"storage.type.function.shell"},"2":{"name":"entity.name.function.shell"},"3":{"name":"punctuation.definition.arguments.shell"},"4":{"name":"punctuation.definition.arguments.shell"},"5":{"name":"entity.name.function.shell"},"6":{"name":"punctuation.definition.arguments.shell"},"7":{"name":"punctuation.definition.arguments.shell"}},"end":"(?<=[)}])","endCaptures":{},"name":"meta.function.shell","patterns":[{"match":"\\\\G[\\\\t\\\\n ]"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"name":"meta.function.body.shell","patterns":[{"include":"#initial_context"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"name":"meta.function.body.shell","patterns":[{"include":"#initial_context"}]},{"include":"#initial_context"}]},"heredoc":{"patterns":[{"begin":"((?<!<)<<-)[\\\\t ]*+([\\"'])[\\\\t ]*+([^\\"']+?)(?=[\\"\\\\&';<\\\\s])(\\\\2)(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.quote.shell"},"3":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"4":{"name":"punctuation.definition.string.heredoc.quote.shell"},"5":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.quoted.heredoc.indent.$3","end":"^\\\\t*\\\\3(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.$0.shell"}},"patterns":[]},{"begin":"((?<!<)<<(?!<))[\\\\t ]*+([\\"'])[\\\\t ]*+([^\\"']+?)(?=[\\"\\\\&';<\\\\s])(\\\\2)(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.quote.shell"},"3":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"4":{"name":"punctuation.definition.string.heredoc.quote.shell"},"5":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.quoted.heredoc.no-indent.$3","end":"^\\\\3(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[]},{"begin":"((?<!<)<<-)[\\\\t ]*+([^\\\\t \\"']+)(?=[\\"\\\\&';<\\\\s])(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"3":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.unquoted.heredoc.indent.$2","end":"^\\\\t*\\\\2(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[{"include":"#double_quote_escape_char"},{"include":"#variable"},{"include":"#interpolation"}]},{"begin":"((?<!<)<<(?!<))[\\\\t ]*+([^\\\\t \\"']+)(?=[\\"\\\\&';<\\\\s])(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"3":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.unquoted.heredoc.no-indent.$2","end":"^\\\\2(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[{"include":"#double_quote_escape_char"},{"include":"#variable"},{"include":"#interpolation"}]}]},"herestring":{"patterns":[{"begin":"(<<<)\\\\s*(('))","beginCaptures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.quoted.single.shell"},"3":{"name":"punctuation.definition.string.begin.shell"}},"contentName":"string.quoted.single.shell","end":"(')","endCaptures":{"0":{"name":"string.quoted.single.shell"},"1":{"name":"punctuation.definition.string.end.shell"}},"name":"meta.herestring.shell"},{"begin":"(<<<)\\\\s*((\\"))","beginCaptures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.quoted.double.shell"},"3":{"name":"punctuation.definition.string.begin.shell"}},"contentName":"string.quoted.double.shell","end":"(\\")","endCaptures":{"0":{"name":"string.quoted.double.shell"},"1":{"name":"punctuation.definition.string.end.shell"}},"name":"meta.herestring.shell","patterns":[{"include":"#double_quote_context"}]},{"captures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.unquoted.herestring.shell","patterns":[{"include":"#initial_context"}]}},"match":"(<<<)\\\\s*(([^)\\\\\\\\\\\\s]|\\\\\\\\.)+)","name":"meta.herestring.shell"}]},"initial_context":{"patterns":[{"include":"#comment"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#logical_expression_double"},{"include":"#logical_expression_single"},{"include":"#assignment_statement"},{"include":"#case_statement"},{"include":"#for_statement"},{"include":"#loop"},{"include":"#function_definition"},{"include":"#line_continuation"},{"include":"#arithmetic_double"},{"include":"#misc_ranges"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#alias_statement"},{"include":"#normal_statement"},{"include":"#string"},{"include":"#support"}]},"inline_comment":{"captures":{"1":{"name":"comment.block.shell punctuation.definition.comment.begin.shell"},"2":{"name":"comment.block.shell"},"3":{"patterns":[{"match":"\\\\*/","name":"comment.block.shell punctuation.definition.comment.end.shell"},{"match":"\\\\*","name":"comment.block.shell"}]}},"match":"(/\\\\*)((?:[^*]|\\\\*++[^/])*+(\\\\*++/))"},"interpolation":{"patterns":[{"include":"#arithmetic_dollar"},{"include":"#subshell_dollar"},{"begin":"\`","beginCaptures":{"0":{"name":"punctuation.definition.evaluation.backticks.shell"}},"end":"\`","endCaptures":{"0":{"name":"punctuation.definition.evaluation.backticks.shell"}},"name":"string.interpolated.backtick.shell","patterns":[{"match":"\\\\\\\\[$\\\\\\\\\`]","name":"constant.character.escape.shell"},{"begin":"(?<=\\\\W)(?=#)(?!#\\\\{)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.shell"}},"end":"(?!\\\\G)","patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.shell"}},"end":"(?=\`)","name":"comment.line.number-sign.shell"}]},{"include":"#initial_context"}]}]},"keyword":{"patterns":[{"match":"(?<=^|[\\\\&;\\\\s])(then|else|elif|fi|for|in|do|done|select|continue|esac|while|until|return)(?=[\\\\&;\\\\s]|$)","name":"keyword.control.shell"},{"match":"(?<=^|[\\\\&;\\\\s])(?:export|declare|typeset|local|readonly)(?=[\\\\&;\\\\s]|$)","name":"storage.modifier.shell"}]},"line_comment":{"begin":"\\\\s*+(//)","beginCaptures":{"1":{"name":"punctuation.definition.comment.shell"}},"end":"(?<=\\\\n)(?<!\\\\\\\\\\\\n)","endCaptures":{},"name":"comment.line.double-slash.shell","patterns":[{"include":"#line_continuation_character"}]},"line_continuation":{"match":"\\\\\\\\(?=\\\\n)","name":"constant.character.escape.line-continuation.shell"},"logical-expression":{"patterns":[{"include":"#arithmetic_no_dollar"},{"match":"=[=~]?|!=?|[<>]|&&|\\\\|\\\\|","name":"keyword.operator.logical.shell"},{"match":"(?<!\\\\S)-(nt|ot|ef|eq|ne|l[et]|g[et]|[GLNOSa-hknopr-uwxz])\\\\b","name":"keyword.operator.logical.shell"}]},"logical_expression_context":{"patterns":[{"include":"#regex_comparison"},{"include":"#arithmetic_no_dollar"},{"include":"#logical-expression"},{"include":"#logical_expression_single"},{"include":"#logical_expression_double"},{"include":"#comment"},{"include":"#boolean"},{"include":"#redirect_number"},{"include":"#numeric_literal"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"}]},"logical_expression_double":{"begin":"\\\\[\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical_expression_context"}]},"logical_expression_single":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical_expression_context"}]},"loop":{"patterns":[{"begin":"(?<=^|[\\\\&;\\\\s])(for)\\\\s+(.+?)\\\\s+(in)(?=[\\\\&;\\\\s]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"},"2":{"name":"variable.other.loop.shell","patterns":[{"include":"#string"}]},"3":{"name":"keyword.control.shell"}},"end":"(?<=^|[\\\\&;\\\\s])done(?=[\\\\&;\\\\s]|$|\\\\))","endCaptures":{"0":{"name":"keyword.control.shell"}},"name":"meta.scope.for-in-loop.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[\\\\&;\\\\s])(while|until)(?=[\\\\&;\\\\s]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"}},"end":"(?<=^|[\\\\&;\\\\s])done(?=[\\\\&;\\\\s]|$|\\\\))","endCaptures":{"0":{"name":"keyword.control.shell"}},"name":"meta.scope.while-loop.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[\\\\&;\\\\s])(select)\\\\s+((?:[^\\\\\\\\\\\\s]|\\\\\\\\.)+)(?=[\\\\&;\\\\s]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"},"2":{"name":"variable.other.loop.shell"}},"end":"(?<=^|[\\\\&;\\\\s])(done)(?=[\\\\&;\\\\s]|$|\\\\))","endCaptures":{"1":{"name":"keyword.control.shell"}},"name":"meta.scope.select-block.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[\\\\&;\\\\s])if(?=[\\\\&;\\\\s]|$)","beginCaptures":{"0":{"name":"keyword.control.if.shell"}},"end":"(?<=^|[\\\\&;\\\\s])fi(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"keyword.control.fi.shell"}},"name":"meta.scope.if-block.shell","patterns":[{"include":"#initial_context"}]}]},"math":{"patterns":[{"include":"#variable"},{"match":"\\\\+{1,2}|-{1,2}|[!~]|\\\\*{1,2}|[%/]|<[<=]?|>[=>]?|==|!=|^|\\\\|{1,2}|&{1,2}|[,:=?]|[-%\\\\&*+/^|]=|<<=|>>=","name":"keyword.operator.arithmetic.shell"},{"match":"0[Xx]\\\\h+","name":"constant.numeric.hex.shell"},{"match":";","name":"punctuation.separator.semicolon.range"},{"match":"0\\\\d+","name":"constant.numeric.octal.shell"},{"match":"\\\\d{1,2}#[0-9@-Z_a-z]+","name":"constant.numeric.other.shell"},{"match":"\\\\d+","name":"constant.numeric.integer.shell"},{"match":"(?<!\\\\w)[0-9A-Z_a-z]+(?!\\\\w)","name":"variable.other.normal.shell"}]},"math_operators":{"patterns":[{"match":"\\\\+{1,2}|-{1,2}|[!~]|\\\\*{1,2}|[%/]|<[<=]?|>[=>]?|==|!=|^|\\\\|{1,2}|&{1,2}|[,:=?]|[-%\\\\&*+/^|]=|<<=|>>=","name":"keyword.operator.arithmetic.shell"},{"match":"0[Xx]\\\\h+","name":"constant.numeric.hex.shell"},{"match":"0\\\\d+","name":"constant.numeric.octal.shell"},{"match":"\\\\d{1,2}#[0-9@-Z_a-z]+","name":"constant.numeric.other.shell"},{"match":"\\\\d+","name":"constant.numeric.integer.shell"}]},"misc_ranges":{"patterns":[{"include":"#logical_expression_single"},{"include":"#logical_expression_double"},{"include":"#subshell_dollar"},{"begin":"(?<![^\\\\t ])(\\\\{)(?![$\\\\w])","beginCaptures":{"1":{"name":"punctuation.definition.group.shell"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.group.shell"}},"name":"meta.scope.group.shell","patterns":[{"include":"#initial_context"}]}]},"modified_assignment_statement":{"begin":"(?<=^|[\\\\t \\\\&;])(?:readonly|declare|typeset|export|local)(?=[\\\\t \\\\&;]|$)","beginCaptures":{"0":{"name":"storage.modifier.$0.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.shell meta.expression.assignment.modified.shell","patterns":[{"match":"(?<!\\\\w)-\\\\w+\\\\b","name":"string.unquoted.argument.shell constant.other.option.shell"},{"include":"#array_value"},{"captures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"},"9":{"name":"constant.numeric.shell constant.numeric.hex.shell"},"10":{"name":"constant.numeric.shell constant.numeric.octal.shell"},"11":{"name":"constant.numeric.shell constant.numeric.other.shell"},"12":{"name":"constant.numeric.shell constant.numeric.decimal.shell"},"13":{"name":"constant.numeric.shell constant.numeric.version.shell"},"14":{"name":"constant.numeric.shell constant.numeric.integer.shell"}},"match":"((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))?(?:(?<=[\\\\t =]|^|[(\\\\[{])(?:(?:(?:(?:(?:(0[Xx]\\\\h+)|(0\\\\d+))|(\\\\d{1,2}#[0-9@-Z_a-z]+))|(-?\\\\d+\\\\.\\\\d+))|(-?\\\\d+(?:\\\\.\\\\d+)+))|(-?\\\\d+))(?=[\\\\t ]|$|[);}]))?"},{"include":"#normal_context"}]},"modifiers":{"match":"(?<=^|[\\\\t \\\\&;])(?:readonly|declare|typeset|export|local)(?=[\\\\t \\\\&;]|$)","name":"storage.modifier.$0.shell"},"normal_assignment_statement":{"begin":"[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))","beginCaptures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.expression.assignment.shell","patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#normal_assignment_statement"},{"begin":"(?<=[\\\\t ])(?![\\\\t ]|\\\\w+=)","beginCaptures":{},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.command.env.shell","patterns":[{"include":"#command_name_range"},{"include":"#line_continuation"},{"include":"#option"},{"include":"#argument"},{"include":"#string"}]},{"include":"#simple_unquoted"},{"include":"#normal_context"}]},"normal_context":{"patterns":[{"include":"#comment"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#misc_ranges"},{"include":"#boolean"},{"include":"#redirect_number"},{"include":"#numeric_literal"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"},{"include":"#parenthese"}]},"normal_statement":{"begin":"(?!^[\\\\t ]*+$)(?:(?<=(?:^until| until|\\\\tuntil|^while| while|\\\\twhile|^elif| elif|\\\\telif|^else| else|\\\\telse|^then| then|\\\\tthen|^do| do|\\\\tdo|^if| if|\\\\tif) )|(?<=^|[!\\\\&(;\`{|]))[\\\\t ]*+(?!nocorrect\\\\W|nocorrect\\\\$|function\\\\W|function\\\\$|foreach\\\\W|foreach\\\\$|repeat\\\\W|repeat\\\\$|logout\\\\W|logout\\\\$|coproc\\\\W|coproc\\\\$|select\\\\W|select\\\\$|while\\\\W|while\\\\$|pushd\\\\W|pushd\\\\$|until\\\\W|until\\\\$|case\\\\W|case\\\\$|done\\\\W|done\\\\$|elif\\\\W|elif\\\\$|else\\\\W|else\\\\$|esac\\\\W|esac\\\\$|popd\\\\W|popd\\\\$|then\\\\W|then\\\\$|time\\\\W|time\\\\$|for\\\\W|for\\\\$|end\\\\W|end\\\\$|fi\\\\W|fi\\\\$|do\\\\W|do\\\\$|in\\\\W|in\\\\$|if\\\\W|if\\\\$)","beginCaptures":{},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.shell","patterns":[{"include":"#typical_statements"}]},"normal_statement_seperator":{"captures":{"1":{"name":"punctuation.terminator.statement.semicolon.shell"},"2":{"name":"punctuation.separator.statement.and.shell"},"3":{"name":"punctuation.separator.statement.or.shell"},"4":{"name":"punctuation.separator.statement.background.shell"}},"match":"(?:(?:(;)|(&&))|(\\\\|\\\\|))|(&)"},"numeric_literal":{"captures":{"1":{"name":"constant.numeric.shell constant.numeric.hex.shell"},"2":{"name":"constant.numeric.shell constant.numeric.octal.shell"},"3":{"name":"constant.numeric.shell constant.numeric.other.shell"},"4":{"name":"constant.numeric.shell constant.numeric.decimal.shell"},"5":{"name":"constant.numeric.shell constant.numeric.version.shell"},"6":{"name":"constant.numeric.shell constant.numeric.integer.shell"}},"match":"(?<=[\\\\t =]|^|[(\\\\[{])(?:(?:(?:(?:(?:(0[Xx]\\\\h+)|(0\\\\d+))|(\\\\d{1,2}#[0-9@-Z_a-z]+))|(-?\\\\d+\\\\.\\\\d+))|(-?\\\\d+(?:\\\\.\\\\d+)+))|(-?\\\\d+))(?=[\\\\t ]|$|[);}])"},"option":{"begin":"[\\\\t ]++(-)((?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;]))","beginCaptures":{"1":{"name":"string.unquoted.argument.shell constant.other.option.dash.shell"},"2":{"name":"string.unquoted.argument.shell constant.other.option.shell"}},"contentName":"string.unquoted.argument constant.other.option","end":"(?=[\\\\t ])|(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"patterns":[{"include":"#option_context"}]},"option_context":{"patterns":[{"include":"#misc_ranges"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"}]},"parenthese":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.parenthese.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.parenthese.shell"}},"name":"meta.parenthese.group.shell","patterns":[{"include":"#initial_context"}]}]},"pathname":{"patterns":[{"match":"(?<=[:=\\\\s]|^)~","name":"keyword.operator.tilde.shell"},{"match":"[*?]","name":"keyword.operator.glob.shell"},{"begin":"([!*+?@])(\\\\()","beginCaptures":{"1":{"name":"keyword.operator.extglob.shell"},"2":{"name":"punctuation.definition.extglob.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.extglob.shell"}},"name":"meta.structure.extglob.shell","patterns":[{"include":"#initial_context"}]}]},"pipeline":{"patterns":[{"match":"(?<=^|[\\\\&;\\\\s])(time)(?=[\\\\&;\\\\s]|$)","name":"keyword.other.shell"},{"match":"[!|]","name":"keyword.operator.pipe.shell"}]},"redirect_fix":{"captures":{"1":{"name":"keyword.operator.redirect.shell"},"2":{"name":"string.unquoted.argument.shell"}},"match":"(>>?)[\\\\t ]*+([^\\\\t\\\\n \\"$\\\\&-);<>\\\\\\\\\`|]+)"},"redirect_number":{"captures":{"1":{"name":"keyword.operator.redirect.stdout.shell"},"2":{"name":"keyword.operator.redirect.stderr.shell"},"3":{"name":"keyword.operator.redirect.$3.shell"}},"match":"(?<=[\\\\t ])(?:(1)|(2)|(\\\\d+))(?=>)"},"redirection":{"patterns":[{"begin":"[<>]\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.interpolated.process-substitution.shell","patterns":[{"include":"#initial_context"}]},{"match":"(?<![<>])(&>|\\\\d*>&\\\\d*|\\\\d*(>>|[<>])|\\\\d*<&|\\\\d*<>)(?![<>])","name":"keyword.operator.redirect.shell"}]},"regex_comparison":{"match":"=~","name":"keyword.operator.logical.regex.shell"},"regexp":{"patterns":[{"match":".+"}]},"simple_options":{"captures":{"0":{"patterns":[{"captures":{"1":{"name":"string.unquoted.argument.shell constant.other.option.dash.shell"},"2":{"name":"string.unquoted.argument.shell constant.other.option.shell"}},"match":"[\\\\t ]++(-)(\\\\w+)"}]}},"match":"(?:[\\\\t ]++-\\\\w+)*"},"simple_unquoted":{"match":"[^\\\\t\\\\n \\"$\\\\&-);<>\\\\\\\\\`|]","name":"string.unquoted.shell"},"special_expansion":{"match":"!|:[-=?]?|[*@]|##?|%%|[%/]","name":"keyword.operator.expansion.shell"},"start_of_command":{"match":"[\\\\t ]*+(?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;])(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?!\\\\\\\\\\\\n?$)"},"string":{"patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.shell"},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.single.shell"},{"begin":"\\\\$?\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.double.shell","patterns":[{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\\`]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},{"begin":"\\\\$'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.single.dollar.shell","patterns":[{"match":"\\\\\\\\['\\\\\\\\abefnrtv]","name":"constant.character.escape.ansi-c.shell"},{"match":"\\\\\\\\[0-9]{3}\\"","name":"constant.character.escape.octal.shell"},{"match":"\\\\\\\\x\\\\h{2}\\"","name":"constant.character.escape.hex.shell"},{"match":"\\\\\\\\c.\\"","name":"constant.character.escape.control-char.shell"}]}]},"subshell_dollar":{"patterns":[{"begin":"\\\\$\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.subshell.single.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.subshell.single.shell"}},"name":"meta.scope.subshell","patterns":[{"include":"#parenthese"},{"include":"#initial_context"}]}]},"support":{"patterns":[{"match":"(?<=^|[\\\\&;\\\\s])[.:](?=[\\\\&;\\\\s]|$)","name":"support.function.builtin.shell"}]},"typical_statements":{"patterns":[{"include":"#assignment_statement"},{"include":"#case_statement"},{"include":"#for_statement"},{"include":"#while_statement"},{"include":"#function_definition"},{"include":"#command_statement"},{"include":"#line_continuation"},{"include":"#arithmetic_double"},{"include":"#normal_context"}]},"variable":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.all.shell"},"2":{"name":"variable.parameter.positional.all.shell"}},"match":"(\\\\$)(@(?!\\\\w))"},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.shell"},"2":{"name":"variable.parameter.positional.shell"}},"match":"(\\\\$)([0-9](?!\\\\w))"},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.language.special.shell"},"2":{"name":"variable.language.special.shell"}},"match":"(\\\\$)([-!#$*0?_](?!\\\\w))"},{"begin":"(\\\\$)(\\\\{)[\\\\t ]*+(?=\\\\d)","beginCaptures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.shell"},"2":{"name":"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},"contentName":"meta.parameter-expansion","end":"}","endCaptures":{"0":{"name":"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},"patterns":[{"include":"#special_expansion"},{"include":"#array_access_inline"},{"match":"[0-9]+","name":"variable.parameter.positional.shell"},{"match":"(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)","name":"variable.other.normal.shell"},{"include":"#variable"},{"include":"#string"}]},{"begin":"(\\\\$)(\\\\{)","beginCaptures":{"1":{"name":"punctuation.definition.variable.shell"},"2":{"name":"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell"}},"contentName":"meta.parameter-expansion","end":"}","endCaptures":{"0":{"name":"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell"}},"patterns":[{"include":"#special_expansion"},{"include":"#array_access_inline"},{"match":"(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)","name":"variable.other.normal.shell"},{"include":"#variable"},{"include":"#string"}]},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.other.normal.shell"},"2":{"name":"variable.other.normal.shell"}},"match":"(\\\\$)(\\\\w+(?!\\\\w))"}]},"while_statement":{"patterns":[{"begin":"\\\\b(while)\\\\b","beginCaptures":{"1":{"name":"keyword.control.while.shell"}},"end":"(?=[\\\\n\\\\&);\`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.while.shell","patterns":[{"include":"#line_continuation"},{"include":"#math_operators"},{"include":"#option"},{"include":"#simple_unquoted"},{"include":"#normal_context"},{"include":"#string"}]}]}},"scopeName":"source.shell","aliases":["bash","sh","shell","zsh"]}`))];export{t as n,n as t};
@@ -0,0 +1 @@
1
+ import{$input_workspaceBranch as e}from"./_DCE-ttoo.js";export{e as _};
@@ -1,2 +1,2 @@
1
- import{B as e,F as t,G as n,H as r,I as i,O as a,P as o,R as ee,W as s,a as c,b as l,d as te,i as u,k as ne,n as re,r as ie,u as ae,v as oe,x as d,y as f,z as p}from"./_DQPZ_gMG.js";import{Bt as se,C as ce,E as le,L as ue,Ot as de,S as fe,T as pe,_ as me,a as he,b as ge,gn as _e,gt as ve,i as ye,n as be,r as xe,t as Se,v as Ce,vn as we,w as Te,x as Ee,y as De,yt as m}from"./_DgFIw3vb.js";import{a as h,c as g,i as _,l as v,n as y,o as b,r as x,s as S,t as C,u as w,v as Oe,y as T}from"./_Bme-DV7m.js";import{t as ke}from"./_PvSTdysZ.js";import{n as Ae,r as je}from"./_CcFCI5Av.js";import{a as Me,i as Ne,n as Pe,r as Fe,t as Ie}from"./_Bn6zDyKy.js";import{_ as Le,a as Re,c as ze,g as Be,i as Ve,l as He,m as Ue,n as We,o as Ge,r as Ke,s as qe,t as Je,u as Ye}from"./_uWRxW1aF.js";var Xe=/^[\w./+@-]+$/,Ze=/^(?:[\w-]+(?:\.[\w-]+)+\/)?[\w.-]+\/[\w.-]+$/,Qe=/^(?!\.{1,2}$)[\w.-]+$/;function $e(e){let t=``,n,r;if(typeof e==`string`){let n=e.lastIndexOf(`@`);t=n>0?e.slice(0,n):e,r=n>0?e.slice(n+1):void 0}else if(e&&typeof e==`object`){let i=e;t=String(i.repo??i.full_name??i.fullName??``),n=typeof i.dir==`string`?i.dir:void 0,typeof i.worktree==`string`&&(n=i.worktree),r=typeof i.base==`string`?i.base:void 0,typeof i.base_branch==`string`&&(r=i.base_branch)}else return null;if(t=t.trim(),!Ze.test(t))return null;let i=t.split(`/`);return i.length===3&&(t=[i[0].toLowerCase(),i[1],i[2]].join(`/`)),r!==void 0&&!Xe.test(r)||n!==void 0&&!Qe.test(n)?null:{full_name:t,worktree:n||t.split(`/`).at(-1),base_branch:r||``,default_branch:e&&typeof e==`object`&&typeof e.default_branch==`string`?e.default_branch:r||``}}function et(e){return JSON.stringify({name:e.name,branch:e.branch,repos:e.repos},null,1)+`
2
- `}function tt(e){let t=String(e??``).trim();if(!t)throw Error(`paste a workspace invite`);let n;try{n=JSON.parse(t)}catch{throw Error(`not an invite (expected JSON)`)}if(!n||typeof n!=`object`)throw Error(`not an invite`);if(Array.isArray(n.workspaces)){if(n.workspaces.length!==1)throw Error(n.workspaces.length?`this is a whole backup — restore it from Settings → Backup, or paste one workspace entry`:`this backup holds no workspaces`);if(n=n.workspaces[0],!n||typeof n!=`object`)throw Error(`not an invite`)}let r=String(n.branch??``).trim();if(!r)throw Error(`the invite has no branch`);if(!Xe.test(r))throw Error(`not a branch name: ${r}`);let i=Array.isArray(n.repos)?n.repos:[],a=[];for(let e of i){let t=$e(e);if(!t)throw Error(`not a repo: ${JSON.stringify(e)}`);a.includes(t.full_name)||a.push(t.full_name)}if(!a.length)throw Error(`the invite lists no repos`);return{name:String(n.name??``).trim()||r,branch:r,repos:a}}var nt=pe,rt=(e=>`/${e}&`)(le);function it(e){ce(e.a,`M1 20V19C1 15.134 4.13401 12 8 12C11.866 12 15 15.134 15 19V20 M13 14C13 11.2386 15.2386 9 18 9C20.7614 9 23 11.2386 23 14V14.5 M8 12C10.2091 12 12 10.2091 12 8C12 5.79086 10.2091 4 8 4C5.79086 4 4 5.79086 4 8C4 10.2091 5.79086 12 8 12Z M18 9C19.6569 9 21 7.65685 21 6C21 4.34315 19.6569 3 18 3C16.3431 3 15 4.34315 15 6C15 7.65685 16.3431 9 18 9Z`)}var at=(e,t)=>Te(e.a,t),ot=(e,t)=>fe(e.a,t),E=`_j3 _4`,st=`_j4 _d2 _bi _bh _bo _m`,ct=`_j5 _d2 _bi _bh _d3`,lt=`_kb _bk _bj`,ut=`_kf _dR`,D=pe,O=(e=>`/${e}&`)(le);function k(e){ce(e.a,ue)}var A=(e,t)=>Te(e.a,t),j=(e,t)=>fe(e.a,t),M=`<div></div>`,dt=e=>c(e.a,`_dy`),ft=e=>c(e.a,`_9`),pt=e(2,e=>n(e.b,e._.m-e._.o)),mt=t(6,1,pt),ht=e=>{mt._(e),gt._(e),c(e.a,`_dy`)},gt=t(6,1,pt),_t=e=>{c(e.a,`_dy`),c(e.b,`_2`)},vt=l(18,e=>ae(e,`a`,e._._.k,an(e)),e=>e._._),yt=s(`i1`,e=>te(e,`a`)),bt=e=>{vt(e),c(e.a,lt),yt(e)},xt=o(3,`<span>default</span>`,` `,ft),N=e(6,e=>xt(e,e.f===e._._.j?0:1)),St=l(17,N,e=>e._._),Ct=s(`i2`,e=>p(e.a,`click`,function(){e._._.g(e.f,e.f===e._._.j)})),wt=e=>{St(e),Tt._(e),c(e.a,[E,`_kc`]),Ct(e)},Tt=ne(5,16,5,e=>c(e.b,[`_j9`,`_M`,{_j_:e.f===e._.q}])),Et=d(5,e=>{n(e.c,e.f),N(e)}),Dt=(e,t)=>Et(e,t[0]),Ot=d(16,Tt),kt=e(7,e=>Ot(e,e._.f??e._.j)),At=t(0,1,kt),jt=s(`i3`,e=>p(e.c,`click`,function(){F(e._,!0),rn(e._,+e._.l+1)})),Mt=e=>{At._(e),zt._(e),Vt._(e),Ht._(e),Ut._(e),Wt._(e),c(e.a,`_ka`),c(e.c,m),g(e.d),S(e.d,14),c(e.e,`_j7`),jt(e)},Nt=a(5,`<li><button><span> </span><!></button></li>`,`D D D l%`,wt,Dt),Pt=(e,t)=>{Jt(e,t?.length),Nt(e,[t,e=>e])},Ft=(e,t)=>{qt(e,t?.length),Pt(e,t.slice(0,12))},It=e(10,e=>Ft(e,Ae(e._.k,e.j))),Lt=d(9,It),Rt=e(8,e=>Lt(e,e._.j&&e._.h.includes(e._.j)?[e._.j,...e._.h.filter(t=>t!==e._.j)]:e._.h)),zt=t(0,1,Rt),Bt=o(1,`<input placeholder="Filter branches…" aria-label="Filter branches" autofocus>`,` `,bt),Vt=t(0,1,e=>Bt(e,e._.i>8?0:1)),Ht=t(0,1,e=>{Rt(e),kt(e)}),Ut=t(0,1,It),Wt=t(0,1,e=>{u(e.c,`disabled`,e._.n),b(e.d,e._.n&&`_1`)}),Gt=o(6,`<li><p>No branches match.</p></li>`,`D `,dt,`<li><p><!> more — keep typing to narrow.</p></li>`,`D D%`,ht),Kt=e(15,e=>Gt(e,e.o?e.m>e.o?1:2:0)),qt=d(12,e=>{Kt(e),mt(e)}),Jt=d(14,e=>{Kt(e),gt(e)}),Yt=o(0,`<p><span></span> Loading branches…</p>`,` D `,_t,(e=>`<div><!><button title="Refresh branches" aria-label="Refresh branches">${e}</button></div><ul><!><!></ul>`)(v),(e=>` D%b D/${e}&m D%b%l`)(w),Mt),Xt=i(7,e=>{Zt(e,e.h?.length),Yt(e,+!!e.h),zt(e)}),Zt=d(8,Vt),Qt=f(St),$t=i(9,e=>{Ht(e),Qt(e)}),en=f(vt),tn=i(10,e=>{Ut(e),en(e)}),nn=s(`i4`,e=>{{let t=e.l>0;_e(`/api/repos/branches?repo=${encodeURIComponent(e.d)}${t?`&refresh`:``}`,{signal:re(e,0)}).then(t=>{Xt(e,t.branches),$t(e,t.defaultBranch),F(e,!1)},t=>{re(e,0).aborted||(F(e,!1),e.e?.(we(t)))})}}),P=e(12,e=>{ie(e,0),nn(e)},2),rn=i(11,P),F=i(13,Wt);function I(e){c(e.a,`_j6`),Xt(e,null),$t(e,null),tn(e,``),rn(e,0),F(e,!1)}var L=d(3,P),R=d(4,P),z=d(5,At),B=d(6),an=e=>t=>{tn(e._._,t)};r.i0=an;var on=(e=>`/${e}&`)(Ye),sn=He,cn=((e,t,n)=>`<button type=button title="Add a repo" aria-label="Add a repo">${e} </button><div><label>${t}<input aria-label="Add a repo"></label><!><button type=button title="Close search" aria-label="Close search">${n}</button><div data-add-pop><!><!><!><!></div></div><!><!>`)(_,ye,ge),ln=((e,t,n)=>` D/${e}& l D D/${t}& l%b D/${n}&l D%b%b%b%m%c`)(h,he,Ee),V=null,un=e=>c(e.a,`_2`),dn=e=>{Fe(e.a),Pe(e.a,12),Ie(e.a,`_j8`)},fn=e=>c(e.a,`_2`),pn=t(4,0,e=>n(e.c,e._.j)),mn=e=>{pn._(e),c(e.a,[Le,`_M`]),k(e.b),A(e.b,12),j(e.b)},hn=o(1,`<span></span>`,` `,fn,Ne,(e=>`/${e}&`)(Me),dn),gn=(e,t)=>{c(e.a,[ut,{_d0:t}]),hn(e,+!t)},_n=e=>c(e.c,`_j9`),vn=(e,t)=>n(e.d,T(t)),yn=o(4,(e=>`<span title="Base branch">${e} <!></span>`)(D),(e=>` D/${e}&b%l`)(O),mn),bn=d(9,e=>{yn(e,+!e.j),pn(e)}),xn=(e,t)=>{gn(e,t[0]?.pending),vn(e,t[0]?.name),bn(e,t[0]?.baseBranch)},Sn=e=>{Fe(e.a),Pe(e.a,12),Ie(e.a)},Cn=e=>c(e.a,`_dy`),wn=e=>{c(e.a,`_jZ`),Mn._(e.b,e._)},Tn=e(1,e=>u(e.a,`title`,e._._.ak?`Will fork to your account; click to clone as-is instead`:`Fork ${e._._.ad} to your account and clone the fork`)),En=l(69,Tn,e=>e._._),Dn=s(`L15`,e=>p(e.a,`click`,function(){e._._.ai===e._._.ad?Q(e._._,!e._._.ak):e._._.al(e._._.ad,void 0,!0)})),On=e=>{En(e),An(e),Dn(e)},kn=o(0,(e=>`${e} fork`)(Ne),(e=>`/${e}&b`)(Me),Sn,`Fork`),An=l(72,e=>{c(e.a,[ct,{_d1:e._._.ak}]),u(e.a,`aria-pressed`,e._._.ak?`true`:`false`),kn(e,+!e._._.ak),Tn(e)},e=>e._._),jn=l(67,e=>Re(e.a,yi(e))),Mn=oe(e=>{jn(e),Nn(e),ze(e.a),Ge(e.a,bi(e)),qe(e.a),Je(e.a),Ve(e.a),We(e.a)}),Nn=l(73,e=>Ke(e.a,e._.au)),Pn=t(13,1,e=>n(e.b,e._.a5)),Fn=e=>{Pn._(e),c(e.a,`_dy`)},In=o(0,`No repos yet`,0,0,`<span></span>Loading repos…`,` `,un),Ln=l(64,e=>In(e,+!e._._.a1),e=>e._._),Rn=e=>{Ln(e),c(e.a,[ut,`_d0`])},zn=a(6,`<li><!><span> </span><!></li>`,` D%b D l%`,_n,xn),Bn=t(14,0,e=>zn(e,[e._.ax,`name`])),Vn=e=>{Bn._(e),Un._(e),c(e.a,`_kd`),c(e.b,[`_do`,`_ke`]),c(e.c,`_dA`),c(e.d,ke),c(e.f,Be)},Hn=o(7,`<li></li>`,` `,Rn),Un=t(14,0,e=>{n(e.e,e._.ay),Hn(e,+!!e._.ay)}),Wn=t(15,0,e=>{u(e.a,`disabled`,e._.y),b(e.b,e._.y&&`_1`)}),Gn=s(`L18`,e=>p(e.a,`click`,function(){e._.a7(!0)})),Kn=e=>{Wn._(e),c(e.a,m),g(e.b),S(e.b,14),Gn(e)},qn=t(7,0,e=>{u(e.a,`disabled`,e._.y),b(e.b,e._.y&&`_1`)}),Jn=s(`L14`,e=>p(e.a,`click`,function(){e._.a7(!0)})),Yn=e=>{qn._(e),c(e.a,[ve,`_kg`]),g(e.b),S(e.b,12),Jn(e)},Xn=l(62,e=>R(e.a,xi(e)),e=>e._._._),Zn=e=>{Xn(e),Qn._(e),I(e.a),B(e.a,Si(e)),z(e.a)},Qn=t(7,0,e=>L(e.a,e._.k)),$n=e(13,e=>c(e.a,[`_j2`,{_j1:e.m===e._._.a6}])),er=l(66,$n,e=>e._._),tr=s(`L17`,e=>{p(e.a,`mouseenter`,function(){X(e._._,e.m)}),p(e.b,`click`,function(){e._._.al(e.k)}),p(e.f,`click`,function(){e._._.an(e.k)})}),nr=e=>{er(e),ar(e),c(e.b,E),x(e.c),y(e.c,12),C(e.c,`_j8`),c(e.d,`_j9`),k(e.g),A(e.g,12),j(e.g),tr(e)},rr=o(7,M,(e=>`/${e}&`)(` b`),Zn),ir=e(11,e=>{c(e.f,[st,{_d1:e._._.ai===e.k}]),rr(e,e._._.ai===e.k?0:1)}),ar=l(71,ir,e=>e._._),or=d(12,$n),sr=d(10,e=>{n(e.e,T(e.k)),u(e.f,`title`,`Pick a base branch for ${e.k}`),u(e.f,`aria-label`,`Pick a base branch for ${e.k}`),ir(e),Qn(e)}),cr=a(0,((e,t)=>`<li><div><button>${e}<span> </span></button><button>${t}</button></div><!></li>`)(_,D),((e,t)=>`D D D/${e}& D m D/${t}&m%l`)(h,O),nr,(e,t)=>{sr(e,t[0]?.nameWithOwner),or(e,t[1])}),lr=t(13,0,e=>cr(e,[e._.ab,`nameWithOwner`])),ur=e=>{lr._(e),c(e.a,`_j0`)},dr=l(62,e=>R(e.a,$(e)),e=>e._._),fr=e=>{dr(e),pr(e),I(e.a),B(e.a,Ci(e)),z(e.a)},pr=l(69,e=>L(e.a,e._._.ad),e=>e._._),mr=e(11,e=>u(e.c,`title`,e._.ak?`Fork ${e._.ad} to your account and add the fork`:`Add ${e._.ad} as-is (pushes go to that repo)`)),hr=o(9,M,(e=>`/${e}&`)(` b`),fr),gr=e(10,e=>{c(e.h,[st,{_d1:e._.ai===e._.ad}]),hr(e,e._.ai===e._.ad?0:1)}),_r=t(12,0,e=>{n(e.f,T(e._.ad)),u(e.h,`title`,`Pick a base branch for ${e._.ad}`),u(e.h,`aria-label`,`Pick a base branch for ${e._.ad}`),mr(e),gr(e)}),vr=s(`L16`,e=>{p(e.c,`click`,function(){e._.al(e._.ad,void 0,e._.am(e._.ak))}),p(e.h,`click`,function(){e._.an(e._.ad)})}),yr=e=>{_r._(e),xr._(e),Sr._(e),Cr._(e),c(e.a,`_j0`),c(e.b,[`_j2`,`_j1`]),c(e.c,E),x(e.d),y(e.d,12),C(e.d,`_j8`),c(e.e,`_j9`),k(e.i),A(e.i,12),j(e.i),vr(e)},br=o(6,`<button></button>`,` `,On),xr=t(12,0,e=>br(e,+!e._.ah)),Sr=t(12,0,gr),Cr=t(12,0,mr),H=i(24,e=>{qn(e),Wn(e)}),wr=e(26,e=>c(e.d,[`_eS`,`_eU`,e.w&&`_e3`,!e.z&&`_eT`])),Tr=e(52,e=>u(e.g,`tabindex`,e.ao&&!e.z?-1:void 0)),U=i(25,e=>{u(e.a,`hidden`,e.z),u(e.i,`hidden`,!e.z),wr(e),Tr(e)}),Er=d(37,e=>{ci(e,e.ab?.length),lr(e)}),W=e(36,e=>Er(e,e.a1&&e.a5?je(e.a5,e.a1?.repos,t=>e.a8(t)):[]),2),Dr=(e,t)=>u(e.k,`hidden`,!t),G=e(58,e=>Dr(e,!!(e.ad||e.ac||e.a5&&(!e.a1||!e.ad)||e.av||e.ao&&e.v)),6),Or=o(12,((e,t)=>`<ul><li><div><button>${e}<span> </span></button><!><button>${t}</button></div><!></li></ul>`)(_,D),((e,t)=>` E D D/${e}& D m%b D/${t}&m%m`)(h,O),yr,`<p>Loading repos…</p>`,` `,Cn),K=e(41,e=>Or(e,e.ad?0:e.a5&&!e.a1?1:2),2),kr=o(13,`<ul></ul>`,` `,ur,`<p>No repos match "<!>". Paste a clone URL to add any repo.</p>`,` Db%`,Fn),q=e(42,e=>kr(e,e.ac?0:e.a5&&e.a1&&!e.ad?1:2),3),Ar=f(Ln),J=i(27,e=>{ei(e,e.a1?.repos),ti(e,e.a1?.sso),W(e),G(e),K(e),q(e),Ar(e)}),jr=d(48),Mr=d(43,e=>{jr(e,wi(e)),xr(e)}),Nr=e(40,e=>Mr(e,!!e.ad&&!e.a2.some(t=>t.nameWithOwner===e.ad))),Pr=d(49),Fr=e(45,e=>Pr(e,Ti(e))),Ir=f(pr,En),Lr=d(39,e=>{Nr(e),Fr(e),G(e),K(e),q(e),_r(e),Ir(e)}),Rr=e(35,e=>Lr(e,(()=>{let t=Oe(e.a5);return t&&!e.a8(t)?t:null})())),Y=i(31,e=>{ae(e,`g`,e.a5,Ei(e)),W(e),Rr(e),G(e),K(e),q(e),Pn(e)}),X=i(32,f(er)),zr=f(ar),Z=i(44,e=>{Fr(e),Sr(e),zr(e)}),Br=f(An),Q=i(46,e=>{Cr(e),Br(e)}),Vr=d(59,e=>{pi(e,e.ax.length),Bn(e)}),Hr=o(14,`<div><div><h2>Repos</h2><span> </span></div><ul><!><!></ul></div>`,` D D b D m D%b%`,Vn),Ur=e(51,e=>{Vr(e,e.ao&&e.v||[]),Hr(e,e.ao&&e.v?0:1)}),Wr=i(50,e=>{Ur(e),G(e),Tr(e)}),Gr=d(53),Kr=f(Nn),qr=d(56,e=>{fi(e,e.au?.length),Kr(e)}),Jr=e(55,e=>qr(e,(()=>{e.as;let t=new Set(se?.()??[]);return(e.a4||[]).filter(e=>!t.has(e.org))})())),Yr=i(54,Jr),Xr=s(`L19`,e=>{Wr(e,de()),p(e.a,`click`,function(){e.g.focus({preventScroll:!0}),U(e,!0)}),te(e,`g`),p(e.g,`keydown`,function(t){t.key===`ArrowDown`?(t.preventDefault(),X(e,Math.min(e.a6+1,e.ab?.length-1))):t.key===`ArrowUp`?(t.preventDefault(),X(e,Math.max(e.a6-1,0))):t.key===`Enter`?(t.preventDefault(),e.ad?e.al(e.ad,void 0,e.am(e.ak)):e.ab[e.a6]&&e.al(e.ab[e.a6].nameWithOwner)):t.key===`Escape`&&e.a5?(t.preventDefault(),Y(e,``)):t.key===`Escape`&&(t.preventDefault(),e.ar())}),p(e.i,`click`,function(){e.ar()})});function Zr(e){x(e.b),y(e.b,14),C(e.b),xe(e.f),be(e.f,14),Se(e.f,`_bm`),c(e.i,[m,`_eY`]),De(e.j),Ce(e.j,14),me(e.j),c(e.k,Ue),H(e,!1),U(e,!1),J(e,null),Y(e,``),X(e,0),Z(e,null),Q(e,!1),Wr(e,!1),Gr(e,Di(e)),Yr(e,0),Xr(e)}var Qr=d(34,e=>{W(e),Rr(e)}),$r=e(29,e=>Qr(e,Oi(e))),ei=d(28,e=>{$r(e),Nr(e)}),ti=d(30,Jr),ni=f(jn),ri=s(`L20`,e=>ee(e,{onMount:function(){V&&J(e,V),e.a7(!1)}})),ii=d(33,e=>{ni(e),ri(e)}),ai=f(dr,Xn),oi=d(18,e=>{ii(e,ki(e)),ai(e)}),si=d(19,$r),ci=d(38,e=>{G(e),q(e)}),li=d(47),ui=d(20,e=>li(e,Ai(e))),di=o(11,(e=>`<div>${e}</div>`)(sn),(e=>` D/${e}&l`)(on),wn),fi=d(57,e=>{di(e,+!e.av),G(e)}),pi=d(60,Un),mi=d(21,e=>{Ur(e),G(e)}),hi=o(7,(e=>`<button type=button title="Refresh repo list" aria-label="Refresh repo list">${e}</button>`)(v),(e=>` D/${e}&l`)(w),Yn),gi=o(15,(e=>`<button type=button title="Refresh repo list" aria-label="Refresh repo list">${e}</button>`)(v),(e=>` D/${e}&l`)(w),Kn),_i=d(22,e=>{c(e.a,e.w?`_e6`:[m,`_R`]),n(e.c,e.w?`Add a repo`:``),c(e.e,[`_bl`,`_eV`,e.w&&`_e4`]),c(e.g,[`_bj`,`_bn`,`_eW`,e.w&&`_e5`]),u(e.g,`placeholder`,e.w?`Add a repo by name or clone URL`:`Add a repo…`),hi(e,+!e.w),gi(e,+!!e.w),wr(e)}),vi=(e,t)=>{u(e.a,`disabled`,t),u(e.g,`disabled`,t)},yi=e=>function(){e._.a7(!0)},bi=e=>function(){Yr(e._,+e._.as+1)},xi=e=>function(t){Z(e._._._,null),e._._._.s?.(t)},Si=e=>function(t,n){e._._._.al(e._.k,n?void 0:t)},$=e=>function(t){Z(e._._,null),e._._.s?.(t)},Ci=e=>function(t,n){e._._.al(e._._.ad,n?void 0:t,e._._.am(e._._.ak))},wi=e=>t=>e.ah?t:void 0,Ti=e=>t=>{Z(e,e.ai===t?null:t),t!==e.ad&&Q(e,!1)},Ei=e=>function(t){Y(e,t),X(e,0),Q(e,!1)},Di=e=>()=>{Y(e,``),U(e,!1),e.g.blur()},Oi=e=>t=>{if(e.t.has(t))return!0;let n=e.a2||[];if(n.some(n=>e.t.has(n.nameWithOwner)&&n.parent===t))return!0;let r=n.find(e=>e.nameWithOwner===t);return!!(r?.parent&&e.t.has(r.parent))},ki=e=>async t=>{t&&H(e,!0);try{let n=await _e(`/api/repos${t?`?refresh`:``}`);V=n,J(e,n)}catch(t){e.s?.(we(t))}t&&H(e,!1)},Ai=e=>(t,n,r)=>{Y(e,``),Z(e,null),Q(e,!1),e.u(t,n,r)};r.L8=yi,r.L7=bi,r.L12=xi,r.L11=Si,r.L10=$,r.L9=Ci,r.L4=wi,r.L5=Ti,r.L0=Ei,r.L6=Di,r.L2=Oi,r.L1=ki,r.L3=Ai;export{it as C,tt as D,et as E,at as S,rt as T,A as _,ui as a,O as b,cn as c,R as d,B as f,j as g,M as h,oi as i,ln as l,I as m,vi as n,_i as o,L as p,si as r,Zr as s,mi as t,z as u,k as v,nt as w,ot as x,D as y};
1
+ import{B as e,F as t,G as n,H as r,I as i,O as a,P as o,R as ee,W as s,a as c,b as l,d as te,i as u,k as ne,n as re,r as ie,u as ae,v as oe,x as d,y as f,z as p}from"./_DQPZ_gMG.js";import{Bt as se,C as ce,E as le,L as ue,Ot as de,S as fe,T as pe,_ as me,a as he,b as ge,gn as _e,gt as ve,i as ye,n as be,r as xe,t as Se,v as Ce,vn as we,w as Te,x as Ee,y as De,yt as m}from"./_Ibn8XBox.js";import{a as h,c as g,i as _,l as v,n as y,o as b,r as x,s as S,t as C,u as w,v as Oe,y as T}from"./_Cdw9U5OX.js";import{t as ke}from"./_DXIo8HpM.js";import{n as Ae,r as je}from"./_CcFCI5Av.js";import{a as Me,i as Ne,n as Pe,r as Fe,t as Ie}from"./_BiJOguB5.js";import{_ as Le,a as Re,c as ze,g as Be,i as Ve,l as He,m as Ue,n as We,o as Ge,r as Ke,s as qe,t as Je,u as Ye}from"./_F7ODVJf7.js";var Xe=/^[\w./+@-]+$/,Ze=/^(?:[\w-]+(?:\.[\w-]+)+\/)?[\w.-]+\/[\w.-]+$/,Qe=/^(?!\.{1,2}$)[\w.-]+$/;function $e(e){let t=``,n,r;if(typeof e==`string`){let n=e.lastIndexOf(`@`);t=n>0?e.slice(0,n):e,r=n>0?e.slice(n+1):void 0}else if(e&&typeof e==`object`){let i=e;t=String(i.repo??i.full_name??i.fullName??``),n=typeof i.dir==`string`?i.dir:void 0,typeof i.worktree==`string`&&(n=i.worktree),r=typeof i.base==`string`?i.base:void 0,typeof i.base_branch==`string`&&(r=i.base_branch)}else return null;if(t=t.trim(),!Ze.test(t))return null;let i=t.split(`/`);return i.length===3&&(t=[i[0].toLowerCase(),i[1],i[2]].join(`/`)),r!==void 0&&!Xe.test(r)||n!==void 0&&!Qe.test(n)?null:{full_name:t,worktree:n||t.split(`/`).at(-1),base_branch:r||``,default_branch:e&&typeof e==`object`&&typeof e.default_branch==`string`?e.default_branch:r||``}}function et(e){return JSON.stringify({name:e.name,branch:e.branch,repos:e.repos},null,1)+`
2
+ `}function tt(e){let t=String(e??``).trim();if(!t)throw Error(`paste a workspace invite`);let n;try{n=JSON.parse(t)}catch{throw Error(`not an invite (expected JSON)`)}if(!n||typeof n!=`object`)throw Error(`not an invite`);if(Array.isArray(n.workspaces)){if(n.workspaces.length!==1)throw Error(n.workspaces.length?`this is a whole backup — restore it from Settings → Backup, or paste one workspace entry`:`this backup holds no workspaces`);if(n=n.workspaces[0],!n||typeof n!=`object`)throw Error(`not an invite`)}let r=String(n.branch??``).trim();if(!r)throw Error(`the invite has no branch`);if(!Xe.test(r))throw Error(`not a branch name: ${r}`);let i=Array.isArray(n.repos)?n.repos:[],a=[];for(let e of i){let t=$e(e);if(!t)throw Error(`not a repo: ${JSON.stringify(e)}`);a.includes(t.full_name)||a.push(t.full_name)}if(!a.length)throw Error(`the invite lists no repos`);return{name:String(n.name??``).trim()||r,branch:r,repos:a}}var nt=pe,rt=(e=>`/${e}&`)(le);function it(e){ce(e.a,`M1 20V19C1 15.134 4.13401 12 8 12C11.866 12 15 15.134 15 19V20 M13 14C13 11.2386 15.2386 9 18 9C20.7614 9 23 11.2386 23 14V14.5 M8 12C10.2091 12 12 10.2091 12 8C12 5.79086 10.2091 4 8 4C5.79086 4 4 5.79086 4 8C4 10.2091 5.79086 12 8 12Z M18 9C19.6569 9 21 7.65685 21 6C21 4.34315 19.6569 3 18 3C16.3431 3 15 4.34315 15 6C15 7.65685 16.3431 9 18 9Z`)}var at=(e,t)=>Te(e.a,t),ot=(e,t)=>fe(e.a,t),E=`_jI _4`,st=`_jJ _eg _bi _bh _bo _m`,ct=`_jK _eg _bi _bh _eh`,lt=`_jR _bk _bj`,ut=`_jV _d6`,D=pe,O=(e=>`/${e}&`)(le);function k(e){ce(e.a,ue)}var A=(e,t)=>Te(e.a,t),j=(e,t)=>fe(e.a,t),M=`<div></div>`,dt=e=>c(e.a,`_dc`),ft=e=>c(e.a,`_9`),pt=e(2,e=>n(e.b,e._.m-e._.o)),mt=t(6,1,pt),ht=e=>{mt._(e),gt._(e),c(e.a,`_dc`)},gt=t(6,1,pt),_t=e=>{c(e.a,`_dc`),c(e.b,`_2`)},vt=l(18,e=>ae(e,`a`,e._._.k,an(e)),e=>e._._),yt=s(`i1`,e=>te(e,`a`)),bt=e=>{vt(e),c(e.a,lt),yt(e)},xt=o(3,`<span>default</span>`,` `,ft),N=e(6,e=>xt(e,e.f===e._._.j?0:1)),St=l(17,N,e=>e._._),Ct=s(`i2`,e=>p(e.a,`click`,function(){e._._.g(e.f,e.f===e._._.j)})),wt=e=>{St(e),Tt._(e),c(e.a,[E,`_jS`]),Ct(e)},Tt=ne(5,16,5,e=>c(e.b,[`_jO`,`_M`,{_jP:e.f===e._.q}])),Et=d(5,e=>{n(e.c,e.f),N(e)}),Dt=(e,t)=>Et(e,t[0]),Ot=d(16,Tt),kt=e(7,e=>Ot(e,e._.f??e._.j)),At=t(0,1,kt),jt=s(`i3`,e=>p(e.c,`click`,function(){F(e._,!0),rn(e._,+e._.l+1)})),Mt=e=>{At._(e),zt._(e),Vt._(e),Ht._(e),Ut._(e),Wt._(e),c(e.a,`_jQ`),c(e.c,m),g(e.d),S(e.d,14),c(e.e,`_jM`),jt(e)},Nt=a(5,`<li><button><span> </span><!></button></li>`,`D D D l%`,wt,Dt),Pt=(e,t)=>{Jt(e,t?.length),Nt(e,[t,e=>e])},Ft=(e,t)=>{qt(e,t?.length),Pt(e,t.slice(0,12))},It=e(10,e=>Ft(e,Ae(e._.k,e.j))),Lt=d(9,It),Rt=e(8,e=>Lt(e,e._.j&&e._.h.includes(e._.j)?[e._.j,...e._.h.filter(t=>t!==e._.j)]:e._.h)),zt=t(0,1,Rt),Bt=o(1,`<input placeholder="Filter branches…" aria-label="Filter branches" autofocus>`,` `,bt),Vt=t(0,1,e=>Bt(e,e._.i>8?0:1)),Ht=t(0,1,e=>{Rt(e),kt(e)}),Ut=t(0,1,It),Wt=t(0,1,e=>{u(e.c,`disabled`,e._.n),b(e.d,e._.n&&`_1`)}),Gt=o(6,`<li><p>No branches match.</p></li>`,`D `,dt,`<li><p><!> more — keep typing to narrow.</p></li>`,`D D%`,ht),Kt=e(15,e=>Gt(e,e.o?e.m>e.o?1:2:0)),qt=d(12,e=>{Kt(e),mt(e)}),Jt=d(14,e=>{Kt(e),gt(e)}),Yt=o(0,`<p><span></span> Loading branches…</p>`,` D `,_t,(e=>`<div><!><button title="Refresh branches" aria-label="Refresh branches">${e}</button></div><ul><!><!></ul>`)(v),(e=>` D%b D/${e}&m D%b%l`)(w),Mt),Xt=i(7,e=>{Zt(e,e.h?.length),Yt(e,+!!e.h),zt(e)}),Zt=d(8,Vt),Qt=f(St),$t=i(9,e=>{Ht(e),Qt(e)}),en=f(vt),tn=i(10,e=>{Ut(e),en(e)}),nn=s(`i4`,e=>{{let t=e.l>0;_e(`/api/repos/branches?repo=${encodeURIComponent(e.d)}${t?`&refresh`:``}`,{signal:re(e,0)}).then(t=>{Xt(e,t.branches),$t(e,t.defaultBranch),F(e,!1)},t=>{re(e,0).aborted||(F(e,!1),e.e?.(we(t)))})}}),P=e(12,e=>{ie(e,0),nn(e)},2),rn=i(11,P),F=i(13,Wt);function I(e){c(e.a,`_jL`),Xt(e,null),$t(e,null),tn(e,``),rn(e,0),F(e,!1)}var L=d(3,P),R=d(4,P),z=d(5,At),B=d(6),an=e=>t=>{tn(e._._,t)};r.i0=an;var on=(e=>`/${e}&`)(Ye),sn=He,cn=((e,t,n)=>`<button type=button title="Add a repo" aria-label="Add a repo">${e} </button><div><label>${t}<input aria-label="Add a repo"></label><!><button type=button title="Close search" aria-label="Close search">${n}</button><div data-add-pop><!><!><!><!></div></div><!><!>`)(_,ye,ge),ln=((e,t,n)=>` D/${e}& l D D/${t}& l%b D/${n}&l D%b%b%b%m%c`)(h,he,Ee),V=null,un=e=>c(e.a,`_2`),dn=e=>{Fe(e.a),Pe(e.a,12),Ie(e.a,`_jN`)},fn=e=>c(e.a,`_2`),pn=t(4,0,e=>n(e.c,e._.j)),mn=e=>{pn._(e),c(e.a,[Le,`_M`]),k(e.b),A(e.b,12),j(e.b)},hn=o(1,`<span></span>`,` `,fn,Ne,(e=>`/${e}&`)(Me),dn),gn=(e,t)=>{c(e.a,[ut,{_ee:t}]),hn(e,+!t)},_n=e=>c(e.c,`_jO`),vn=(e,t)=>n(e.d,T(t)),yn=o(4,(e=>`<span title="Base branch">${e} <!></span>`)(D),(e=>` D/${e}&b%l`)(O),mn),bn=d(9,e=>{yn(e,+!e.j),pn(e)}),xn=(e,t)=>{gn(e,t[0]?.pending),vn(e,t[0]?.name),bn(e,t[0]?.baseBranch)},Sn=e=>{Fe(e.a),Pe(e.a,12),Ie(e.a)},Cn=e=>c(e.a,`_dc`),wn=e=>{c(e.a,`_jE`),Mn._(e.b,e._)},Tn=e(1,e=>u(e.a,`title`,e._._.ak?`Will fork to your account; click to clone as-is instead`:`Fork ${e._._.ad} to your account and clone the fork`)),En=l(69,Tn,e=>e._._),Dn=s(`L15`,e=>p(e.a,`click`,function(){e._._.ai===e._._.ad?Q(e._._,!e._._.ak):e._._.al(e._._.ad,void 0,!0)})),On=e=>{En(e),An(e),Dn(e)},kn=o(0,(e=>`${e} fork`)(Ne),(e=>`/${e}&b`)(Me),Sn,`Fork`),An=l(72,e=>{c(e.a,[ct,{_ef:e._._.ak}]),u(e.a,`aria-pressed`,e._._.ak?`true`:`false`),kn(e,+!e._._.ak),Tn(e)},e=>e._._),jn=l(67,e=>Re(e.a,yi(e))),Mn=oe(e=>{jn(e),Nn(e),ze(e.a),Ge(e.a,bi(e)),qe(e.a),Je(e.a),Ve(e.a),We(e.a)}),Nn=l(73,e=>Ke(e.a,e._.au)),Pn=t(13,1,e=>n(e.b,e._.a5)),Fn=e=>{Pn._(e),c(e.a,`_dc`)},In=o(0,`No repos yet`,0,0,`<span></span>Loading repos…`,` `,un),Ln=l(64,e=>In(e,+!e._._.a1),e=>e._._),Rn=e=>{Ln(e),c(e.a,[ut,`_ee`])},zn=a(6,`<li><!><span> </span><!></li>`,` D%b D l%`,_n,xn),Bn=t(14,0,e=>zn(e,[e._.ax,`name`])),Vn=e=>{Bn._(e),Un._(e),c(e.a,`_jT`),c(e.b,[`_c3`,`_jU`]),c(e.c,`_de`),c(e.d,ke),c(e.f,Be)},Hn=o(7,`<li></li>`,` `,Rn),Un=t(14,0,e=>{n(e.e,e._.ay),Hn(e,+!!e._.ay)}),Wn=t(15,0,e=>{u(e.a,`disabled`,e._.y),b(e.b,e._.y&&`_1`)}),Gn=s(`L18`,e=>p(e.a,`click`,function(){e._.a7(!0)})),Kn=e=>{Wn._(e),c(e.a,m),g(e.b),S(e.b,14),Gn(e)},qn=t(7,0,e=>{u(e.a,`disabled`,e._.y),b(e.b,e._.y&&`_1`)}),Jn=s(`L14`,e=>p(e.a,`click`,function(){e._.a7(!0)})),Yn=e=>{qn._(e),c(e.a,[ve,`_jW`]),g(e.b),S(e.b,12),Jn(e)},Xn=l(62,e=>R(e.a,xi(e)),e=>e._._._),Zn=e=>{Xn(e),Qn._(e),I(e.a),B(e.a,Si(e)),z(e.a)},Qn=t(7,0,e=>L(e.a,e._.k)),$n=e(13,e=>c(e.a,[`_jH`,{_jG:e.m===e._._.a6}])),er=l(66,$n,e=>e._._),tr=s(`L17`,e=>{p(e.a,`mouseenter`,function(){X(e._._,e.m)}),p(e.b,`click`,function(){e._._.al(e.k)}),p(e.f,`click`,function(){e._._.an(e.k)})}),nr=e=>{er(e),ar(e),c(e.b,E),x(e.c),y(e.c,12),C(e.c,`_jN`),c(e.d,`_jO`),k(e.g),A(e.g,12),j(e.g),tr(e)},rr=o(7,M,(e=>`/${e}&`)(` b`),Zn),ir=e(11,e=>{c(e.f,[st,{_ef:e._._.ai===e.k}]),rr(e,e._._.ai===e.k?0:1)}),ar=l(71,ir,e=>e._._),or=d(12,$n),sr=d(10,e=>{n(e.e,T(e.k)),u(e.f,`title`,`Pick a base branch for ${e.k}`),u(e.f,`aria-label`,`Pick a base branch for ${e.k}`),ir(e),Qn(e)}),cr=a(0,((e,t)=>`<li><div><button>${e}<span> </span></button><button>${t}</button></div><!></li>`)(_,D),((e,t)=>`D D D/${e}& D m D/${t}&m%l`)(h,O),nr,(e,t)=>{sr(e,t[0]?.nameWithOwner),or(e,t[1])}),lr=t(13,0,e=>cr(e,[e._.ab,`nameWithOwner`])),ur=e=>{lr._(e),c(e.a,`_jF`)},dr=l(62,e=>R(e.a,$(e)),e=>e._._),fr=e=>{dr(e),pr(e),I(e.a),B(e.a,Ci(e)),z(e.a)},pr=l(69,e=>L(e.a,e._._.ad),e=>e._._),mr=e(11,e=>u(e.c,`title`,e._.ak?`Fork ${e._.ad} to your account and add the fork`:`Add ${e._.ad} as-is (pushes go to that repo)`)),hr=o(9,M,(e=>`/${e}&`)(` b`),fr),gr=e(10,e=>{c(e.h,[st,{_ef:e._.ai===e._.ad}]),hr(e,e._.ai===e._.ad?0:1)}),_r=t(12,0,e=>{n(e.f,T(e._.ad)),u(e.h,`title`,`Pick a base branch for ${e._.ad}`),u(e.h,`aria-label`,`Pick a base branch for ${e._.ad}`),mr(e),gr(e)}),vr=s(`L16`,e=>{p(e.c,`click`,function(){e._.al(e._.ad,void 0,e._.am(e._.ak))}),p(e.h,`click`,function(){e._.an(e._.ad)})}),yr=e=>{_r._(e),xr._(e),Sr._(e),Cr._(e),c(e.a,`_jF`),c(e.b,[`_jH`,`_jG`]),c(e.c,E),x(e.d),y(e.d,12),C(e.d,`_jN`),c(e.e,`_jO`),k(e.i),A(e.i,12),j(e.i),vr(e)},br=o(6,`<button></button>`,` `,On),xr=t(12,0,e=>br(e,+!e._.ah)),Sr=t(12,0,gr),Cr=t(12,0,mr),H=i(24,e=>{qn(e),Wn(e)}),wr=e(26,e=>c(e.d,[`_dB`,`_dD`,e.w&&`_dM`,!e.z&&`_dC`])),Tr=e(52,e=>u(e.g,`tabindex`,e.ao&&!e.z?-1:void 0)),U=i(25,e=>{u(e.a,`hidden`,e.z),u(e.i,`hidden`,!e.z),wr(e),Tr(e)}),Er=d(37,e=>{ci(e,e.ab?.length),lr(e)}),W=e(36,e=>Er(e,e.a1&&e.a5?je(e.a5,e.a1?.repos,t=>e.a8(t)):[]),2),Dr=(e,t)=>u(e.k,`hidden`,!t),G=e(58,e=>Dr(e,!!(e.ad||e.ac||e.a5&&(!e.a1||!e.ad)||e.av||e.ao&&e.v)),6),Or=o(12,((e,t)=>`<ul><li><div><button>${e}<span> </span></button><!><button>${t}</button></div><!></li></ul>`)(_,D),((e,t)=>` E D D/${e}& D m%b D/${t}&m%m`)(h,O),yr,`<p>Loading repos…</p>`,` `,Cn),K=e(41,e=>Or(e,e.ad?0:e.a5&&!e.a1?1:2),2),kr=o(13,`<ul></ul>`,` `,ur,`<p>No repos match "<!>". Paste a clone URL to add any repo.</p>`,` Db%`,Fn),q=e(42,e=>kr(e,e.ac?0:e.a5&&e.a1&&!e.ad?1:2),3),Ar=f(Ln),J=i(27,e=>{ei(e,e.a1?.repos),ti(e,e.a1?.sso),W(e),G(e),K(e),q(e),Ar(e)}),jr=d(48),Mr=d(43,e=>{jr(e,wi(e)),xr(e)}),Nr=e(40,e=>Mr(e,!!e.ad&&!e.a2.some(t=>t.nameWithOwner===e.ad))),Pr=d(49),Fr=e(45,e=>Pr(e,Ti(e))),Ir=f(pr,En),Lr=d(39,e=>{Nr(e),Fr(e),G(e),K(e),q(e),_r(e),Ir(e)}),Rr=e(35,e=>Lr(e,(()=>{let t=Oe(e.a5);return t&&!e.a8(t)?t:null})())),Y=i(31,e=>{ae(e,`g`,e.a5,Ei(e)),W(e),Rr(e),G(e),K(e),q(e),Pn(e)}),X=i(32,f(er)),zr=f(ar),Z=i(44,e=>{Fr(e),Sr(e),zr(e)}),Br=f(An),Q=i(46,e=>{Cr(e),Br(e)}),Vr=d(59,e=>{pi(e,e.ax.length),Bn(e)}),Hr=o(14,`<div><div><h2>Repos</h2><span> </span></div><ul><!><!></ul></div>`,` D D b D m D%b%`,Vn),Ur=e(51,e=>{Vr(e,e.ao&&e.v||[]),Hr(e,e.ao&&e.v?0:1)}),Wr=i(50,e=>{Ur(e),G(e),Tr(e)}),Gr=d(53),Kr=f(Nn),qr=d(56,e=>{fi(e,e.au?.length),Kr(e)}),Jr=e(55,e=>qr(e,(()=>{e.as;let t=new Set(se?.()??[]);return(e.a4||[]).filter(e=>!t.has(e.org))})())),Yr=i(54,Jr),Xr=s(`L19`,e=>{Wr(e,de()),p(e.a,`click`,function(){e.g.focus({preventScroll:!0}),U(e,!0)}),te(e,`g`),p(e.g,`keydown`,function(t){t.key===`ArrowDown`?(t.preventDefault(),X(e,Math.min(e.a6+1,e.ab?.length-1))):t.key===`ArrowUp`?(t.preventDefault(),X(e,Math.max(e.a6-1,0))):t.key===`Enter`?(t.preventDefault(),e.ad?e.al(e.ad,void 0,e.am(e.ak)):e.ab[e.a6]&&e.al(e.ab[e.a6].nameWithOwner)):t.key===`Escape`&&e.a5?(t.preventDefault(),Y(e,``)):t.key===`Escape`&&(t.preventDefault(),e.ar())}),p(e.i,`click`,function(){e.ar()})});function Zr(e){x(e.b),y(e.b,14),C(e.b),xe(e.f),be(e.f,14),Se(e.f,`_bm`),c(e.i,[m,`_dH`]),De(e.j),Ce(e.j,14),me(e.j),c(e.k,Ue),H(e,!1),U(e,!1),J(e,null),Y(e,``),X(e,0),Z(e,null),Q(e,!1),Wr(e,!1),Gr(e,Di(e)),Yr(e,0),Xr(e)}var Qr=d(34,e=>{W(e),Rr(e)}),$r=e(29,e=>Qr(e,Oi(e))),ei=d(28,e=>{$r(e),Nr(e)}),ti=d(30,Jr),ni=f(jn),ri=s(`L20`,e=>ee(e,{onMount:function(){V&&J(e,V),e.a7(!1)}})),ii=d(33,e=>{ni(e),ri(e)}),ai=f(dr,Xn),oi=d(18,e=>{ii(e,ki(e)),ai(e)}),si=d(19,$r),ci=d(38,e=>{G(e),q(e)}),li=d(47),ui=d(20,e=>li(e,Ai(e))),di=o(11,(e=>`<div>${e}</div>`)(sn),(e=>` D/${e}&l`)(on),wn),fi=d(57,e=>{di(e,+!e.av),G(e)}),pi=d(60,Un),mi=d(21,e=>{Ur(e),G(e)}),hi=o(7,(e=>`<button type=button title="Refresh repo list" aria-label="Refresh repo list">${e}</button>`)(v),(e=>` D/${e}&l`)(w),Yn),gi=o(15,(e=>`<button type=button title="Refresh repo list" aria-label="Refresh repo list">${e}</button>`)(v),(e=>` D/${e}&l`)(w),Kn),_i=d(22,e=>{c(e.a,e.w?`_dP`:[m,`_R`]),n(e.c,e.w?`Add a repo`:``),c(e.e,[`_bl`,`_dE`,e.w&&`_dN`]),c(e.g,[`_bj`,`_bn`,`_dF`,e.w&&`_dO`]),u(e.g,`placeholder`,e.w?`Add a repo by name or clone URL`:`Add a repo…`),hi(e,+!e.w),gi(e,+!!e.w),wr(e)}),vi=(e,t)=>{u(e.a,`disabled`,t),u(e.g,`disabled`,t)},yi=e=>function(){e._.a7(!0)},bi=e=>function(){Yr(e._,+e._.as+1)},xi=e=>function(t){Z(e._._._,null),e._._._.s?.(t)},Si=e=>function(t,n){e._._._.al(e._.k,n?void 0:t)},$=e=>function(t){Z(e._._,null),e._._.s?.(t)},Ci=e=>function(t,n){e._._.al(e._._.ad,n?void 0:t,e._._.am(e._._.ak))},wi=e=>t=>e.ah?t:void 0,Ti=e=>t=>{Z(e,e.ai===t?null:t),t!==e.ad&&Q(e,!1)},Ei=e=>function(t){Y(e,t),X(e,0),Q(e,!1)},Di=e=>()=>{Y(e,``),U(e,!1),e.g.blur()},Oi=e=>t=>{if(e.t.has(t))return!0;let n=e.a2||[];if(n.some(n=>e.t.has(n.nameWithOwner)&&n.parent===t))return!0;let r=n.find(e=>e.nameWithOwner===t);return!!(r?.parent&&e.t.has(r.parent))},ki=e=>async t=>{t&&H(e,!0);try{let n=await _e(`/api/repos${t?`?refresh`:``}`);V=n,J(e,n)}catch(t){e.s?.(we(t))}t&&H(e,!1)},Ai=e=>(t,n,r)=>{Y(e,``),Z(e,null),Q(e,!1),e.u(t,n,r)};r.L8=yi,r.L7=bi,r.L12=xi,r.L11=Si,r.L10=$,r.L9=Ci,r.L4=wi,r.L5=Ti,r.L0=Ei,r.L6=Di,r.L2=Oi,r.L1=ki,r.L3=Ai;export{it as C,tt as D,et as E,at as S,rt as T,A as _,ui as a,O as b,cn as c,R as d,B as f,j as g,M as h,oi as i,ln as l,I as m,vi as n,_i as o,L as p,si as r,Zr as s,mi as t,z as u,k as v,nt as w,ot as x,D as y};
@@ -1 +1 @@
1
- import{M as e}from"./_RA4prsiS.js";var t=e({default:()=>n}),n=[Object.freeze(JSON.parse(`{"displayName":"Java","name":"java","patterns":[{"begin":"\\\\b(package)\\\\b\\\\s*","beginCaptures":{"1":{"name":"keyword.other.package.java"}},"contentName":"storage.modifier.package.java","end":"\\\\s*(;)","endCaptures":{"1":{"name":"punctuation.terminator.java"}},"name":"meta.package.java","patterns":[{"include":"#comments"},{"match":"(?<=\\\\.)\\\\s*\\\\.|\\\\.(?=\\\\s*;)","name":"invalid.illegal.character_not_allowed_here.java"},{"match":"(?<!_)_(?=\\\\s*([.;]))|\\\\b\\\\d+|-+","name":"invalid.illegal.character_not_allowed_here.java"},{"match":"[A-Z]+","name":"invalid.deprecated.package_name_not_lowercase.java"},{"match":"\\\\b(?<!\\\\$)(abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|native|new|non-sealed|package|permits|private|protected|public|return|sealed|short|static|strictfp|super|switch|syncronized|this|throws??|transient|try|void|volatile|while|yield|true|false|null)\\\\b","name":"invalid.illegal.character_not_allowed_here.java"},{"match":"\\\\.","name":"punctuation.separator.java"}]},{"begin":"\\\\b(import)\\\\b\\\\s*\\\\b(static)?\\\\b\\\\s","beginCaptures":{"1":{"name":"keyword.other.import.java"},"2":{"name":"storage.modifier.java"}},"contentName":"storage.modifier.import.java","end":"\\\\s*(;)","endCaptures":{"1":{"name":"punctuation.terminator.java"}},"name":"meta.import.java","patterns":[{"include":"#comments"},{"match":"(?<=\\\\.)\\\\s*\\\\.|\\\\.(?=\\\\s*;)","name":"invalid.illegal.character_not_allowed_here.java"},{"match":"(?<!\\\\.)\\\\s*\\\\*","name":"invalid.illegal.character_not_allowed_here.java"},{"match":"(?<!_)_(?=\\\\s*([.;]))|\\\\b\\\\d+|-+","name":"invalid.illegal.character_not_allowed_here.java"},{"match":"\\\\b(?<!\\\\$)(abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|native|new|non-sealed|package|permits|private|protected|public|return|sealed|short|static|strictfp|super|switch|syncronized|this|throws??|transient|try|void|volatile|while|yield|true|false|null)\\\\b","name":"invalid.illegal.character_not_allowed_here.java"},{"match":"\\\\.","name":"punctuation.separator.java"},{"match":"\\\\*","name":"variable.language.wildcard.java"}]},{"include":"#comments-javadoc"},{"include":"#code"},{"include":"#module"}],"repository":{"all-types":{"patterns":[{"include":"#primitive-arrays"},{"include":"#primitive-types"},{"include":"#object-types"}]},"annotations":{"patterns":[{"begin":"((@)\\\\s*([^(\\\\s]+))(\\\\()","beginCaptures":{"2":{"name":"punctuation.definition.annotation.java"},"3":{"name":"storage.type.annotation.java"},"4":{"name":"punctuation.definition.annotation-arguments.begin.bracket.round.java"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.annotation-arguments.end.bracket.round.java"}},"name":"meta.declaration.annotation.java","patterns":[{"captures":{"1":{"name":"constant.other.key.java"},"2":{"name":"keyword.operator.assignment.java"}},"match":"(\\\\w*)\\\\s*(=)"},{"include":"#code"}]},{"captures":{"1":{"name":"punctuation.definition.annotation.java"},"2":{"name":"storage.modifier.java"},"3":{"name":"storage.type.annotation.java"},"5":{"name":"punctuation.definition.annotation.java"},"6":{"name":"storage.type.annotation.java"}},"match":"(@)(interface)\\\\s+(\\\\w*)|((@)\\\\s*(\\\\w+))","name":"meta.declaration.annotation.java"}]},"anonymous-block-and-instance-initializer":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.block.begin.bracket.curly.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.block.end.bracket.curly.java"}},"patterns":[{"include":"#code"}]},"anonymous-classes-and-new":{"begin":"\\\\bnew\\\\b","beginCaptures":{"0":{"name":"keyword.control.new.java"}},"end":"(?=[])-.:;?}]|/(?![*/])|[!%\\\\&=^|])","patterns":[{"include":"#comments"},{"include":"#function-call"},{"include":"#all-types"},{"begin":"(?<=\\\\))","end":"(?=[])-.:;?}]|/(?![*/])|[!%\\\\&=^|])","patterns":[{"include":"#comments"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.inner-class.begin.bracket.curly.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.inner-class.end.bracket.curly.java"}},"name":"meta.inner-class.java","patterns":[{"include":"#class-body"}]}]},{"begin":"(?<=])","end":"(?=[])-.:;?}]|/(?![*/])|[!%\\\\&=^|])","patterns":[{"include":"#comments"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.array-initializer.begin.bracket.curly.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.array-initializer.end.bracket.curly.java"}},"name":"meta.array-initializer.java","patterns":[{"include":"#code"}]}]},{"include":"#parens"}]},"assertions":{"patterns":[{"begin":"\\\\b(assert)\\\\s","beginCaptures":{"1":{"name":"keyword.control.assert.java"}},"end":"$","name":"meta.declaration.assertion.java","patterns":[{"match":":","name":"keyword.operator.assert.expression-separator.java"},{"include":"#code"}]}]},"class":{"begin":"(?=\\\\w?[-\\\\w\\\\s]*\\\\b(?:class|(?<!@)interface|enum)\\\\s+[$\\\\w]+)","end":"}","endCaptures":{"0":{"name":"punctuation.section.class.end.bracket.curly.java"}},"name":"meta.class.java","patterns":[{"include":"#storage-modifiers"},{"include":"#generics"},{"include":"#comments"},{"captures":{"1":{"name":"storage.modifier.java"},"2":{"name":"entity.name.type.class.java"}},"match":"(class|(?<!@)interface|enum)\\\\s+([$\\\\w]+)","name":"meta.class.identifier.java"},{"begin":"extends","beginCaptures":{"0":{"name":"storage.modifier.extends.java"}},"end":"(?=\\\\{|implements|permits)","name":"meta.definition.class.inherited.classes.java","patterns":[{"include":"#object-types-inherited"},{"include":"#comments"}]},{"begin":"(implements)\\\\s","beginCaptures":{"1":{"name":"storage.modifier.implements.java"}},"end":"(?=\\\\s*extends|permits|\\\\{)","name":"meta.definition.class.implemented.interfaces.java","patterns":[{"include":"#object-types-inherited"},{"include":"#comments"}]},{"begin":"(permits)\\\\s","beginCaptures":{"1":{"name":"storage.modifier.permits.java"}},"end":"(?=\\\\s*extends|implements|\\\\{)","name":"meta.definition.class.permits.classes.java","patterns":[{"include":"#object-types-inherited"},{"include":"#comments"}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.class.begin.bracket.curly.java"}},"contentName":"meta.class.body.java","end":"(?=})","patterns":[{"include":"#class-body"}]}]},"class-body":{"patterns":[{"include":"#comments-javadoc"},{"include":"#comments"},{"include":"#enums"},{"include":"#class"},{"include":"#generics"},{"include":"#static-initializer"},{"include":"#class-fields-and-methods"},{"include":"#annotations"},{"include":"#storage-modifiers"},{"include":"#member-variables"},{"include":"#code"}]},"class-fields-and-methods":{"patterns":[{"begin":"(?==)","end":"(?=;)","patterns":[{"include":"#code"}]},{"include":"#methods"}]},"code":{"patterns":[{"include":"#annotations"},{"include":"#comments"},{"include":"#enums"},{"include":"#class"},{"include":"#record"},{"include":"#anonymous-block-and-instance-initializer"},{"include":"#try-catch-finally"},{"include":"#assertions"},{"include":"#parens"},{"include":"#constants-and-special-vars"},{"include":"#numbers"},{"include":"#anonymous-classes-and-new"},{"include":"#lambda-expression"},{"include":"#keywords"},{"include":"#storage-modifiers"},{"include":"#method-call"},{"include":"#function-call"},{"include":"#variables"},{"include":"#variables-local"},{"include":"#objects"},{"include":"#properties"},{"include":"#strings"},{"include":"#all-types"},{"match":",","name":"punctuation.separator.delimiter.java"},{"match":"\\\\.","name":"punctuation.separator.period.java"},{"match":";","name":"punctuation.terminator.java"}]},"comments":{"patterns":[{"captures":{"0":{"name":"punctuation.definition.comment.java"}},"match":"/\\\\*\\\\*/","name":"comment.block.empty.java"},{"include":"#comments-inline"}]},"comments-inline":{"patterns":[{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.java"}},"end":"\\\\*/","name":"comment.block.java"},{"begin":"(^[\\\\t ]+)?(?=//)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.java"}},"end":"(?!\\\\G)","patterns":[{"begin":"//","beginCaptures":{"0":{"name":"punctuation.definition.comment.java"}},"end":"\\\\n","name":"comment.line.double-slash.java"}]}]},"comments-javadoc":{"patterns":[{"begin":"^\\\\s*(/\\\\*\\\\*)(?!/)","beginCaptures":{"1":{"name":"punctuation.definition.comment.java"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.java"}},"name":"comment.block.javadoc.java","patterns":[{"match":"@(author|deprecated|return|see|serial|since|version)\\\\b","name":"keyword.other.documentation.javadoc.java"},{"captures":{"1":{"name":"keyword.other.documentation.javadoc.java"},"2":{"name":"variable.parameter.java"}},"match":"(@param)\\\\s+(\\\\S+)"},{"captures":{"1":{"name":"keyword.other.documentation.javadoc.java"},"2":{"name":"entity.name.type.class.java"}},"match":"(@(?:exception|throws))\\\\s+(\\\\S+)"},{"captures":{"1":{"name":"keyword.other.documentation.javadoc.java"},"2":{"name":"entity.name.type.class.java"},"3":{"name":"variable.parameter.java"}},"match":"\\\\{(@link)\\\\s+(\\\\S+)?#([$\\\\w]+\\\\s*\\\\([^()]*\\\\)).*?}"}]}]},"constants-and-special-vars":{"patterns":[{"match":"\\\\b(true|false|null)\\\\b","name":"constant.language.java"},{"match":"\\\\bthis\\\\b","name":"variable.language.this.java"},{"match":"\\\\bsuper\\\\b","name":"variable.language.java"}]},"enums":{"begin":"^\\\\s*([\\\\w\\\\s]*)(enum)\\\\s+(\\\\w+)","beginCaptures":{"1":{"patterns":[{"include":"#storage-modifiers"}]},"2":{"name":"storage.modifier.java"},"3":{"name":"entity.name.type.enum.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.enum.end.bracket.curly.java"}},"name":"meta.enum.java","patterns":[{"begin":"\\\\b(extends)\\\\b","beginCaptures":{"1":{"name":"storage.modifier.extends.java"}},"end":"(?=\\\\{|\\\\bimplements\\\\b)","name":"meta.definition.class.inherited.classes.java","patterns":[{"include":"#object-types-inherited"},{"include":"#comments"}]},{"begin":"\\\\b(implements)\\\\b","beginCaptures":{"1":{"name":"storage.modifier.implements.java"}},"end":"(?=\\\\{|\\\\bextends\\\\b)","name":"meta.definition.class.implemented.interfaces.java","patterns":[{"include":"#object-types-inherited"},{"include":"#comments"}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.enum.begin.bracket.curly.java"}},"end":"(?=})","patterns":[{"begin":"(?<=\\\\{)","end":"(?=[;}])","patterns":[{"include":"#comments-javadoc"},{"include":"#comments"},{"begin":"\\\\b(\\\\w+)\\\\b","beginCaptures":{"1":{"name":"constant.other.enum.java"}},"end":"(,)|(?=[;}])","endCaptures":{"1":{"name":"punctuation.separator.delimiter.java"}},"patterns":[{"include":"#comments-javadoc"},{"include":"#comments"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.bracket.round.java"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.bracket.round.java"}},"patterns":[{"include":"#code"}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.bracket.curly.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.bracket.curly.java"}},"patterns":[{"include":"#class-body"}]}]}]},{"include":"#class-body"}]}]},"function-call":{"begin":"([$A-Z_a-z][$\\\\w]*)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"entity.name.function.java"},"2":{"name":"punctuation.definition.parameters.begin.bracket.round.java"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.bracket.round.java"}},"name":"meta.function-call.java","patterns":[{"include":"#code"}]},"generics":{"begin":"<","beginCaptures":{"0":{"name":"punctuation.bracket.angle.java"}},"end":">","endCaptures":{"0":{"name":"punctuation.bracket.angle.java"}},"patterns":[{"match":"\\\\b(extends|super)\\\\b","name":"storage.modifier.$1.java"},{"captures":{"1":{"name":"storage.type.java"}},"match":"(?<!\\\\.)([$A-Z_a-z][$0-9A-Z_a-z]*)(?=\\\\s*<)"},{"include":"#primitive-arrays"},{"match":"[$A-Z_a-z][$0-9A-Z_a-z]*","name":"storage.type.generic.java"},{"match":"\\\\?","name":"storage.type.generic.wildcard.java"},{"match":"&","name":"punctuation.separator.types.java"},{"match":",","name":"punctuation.separator.delimiter.java"},{"match":"\\\\.","name":"punctuation.separator.period.java"},{"include":"#parens"},{"include":"#generics"},{"include":"#comments"}]},"keywords":{"patterns":[{"match":"\\\\bthrow\\\\b","name":"keyword.control.throw.java"},{"match":"[:?]","name":"keyword.control.ternary.java"},{"match":"\\\\b(return|yield|break|case|continue|default|do|while|for|switch|if|else)\\\\b","name":"keyword.control.java"},{"match":"\\\\b(instanceof)\\\\b","name":"keyword.operator.instanceof.java"},{"match":"(<<|>>>?|[\\\\^~])","name":"keyword.operator.bitwise.java"},{"match":"(([\\\\&^|]|<<|>>>?)=)","name":"keyword.operator.assignment.bitwise.java"},{"match":"(===?|!=|<=|>=|<>|[<>])","name":"keyword.operator.comparison.java"},{"match":"([-%*+/]=)","name":"keyword.operator.assignment.arithmetic.java"},{"match":"(=)","name":"keyword.operator.assignment.java"},{"match":"(--|\\\\+\\\\+)","name":"keyword.operator.increment-decrement.java"},{"match":"([-%*+/])","name":"keyword.operator.arithmetic.java"},{"match":"(!|&&|\\\\|\\\\|)","name":"keyword.operator.logical.java"},{"match":"([\\\\&|])","name":"keyword.operator.bitwise.java"},{"match":"\\\\b(const|goto)\\\\b","name":"keyword.reserved.java"}]},"lambda-expression":{"patterns":[{"match":"->","name":"storage.type.function.arrow.java"}]},"member-variables":{"begin":"(?=private|protected|public|native|synchronized|abstract|threadsafe|transient|static|final)","end":"(?=[;=])","patterns":[{"include":"#storage-modifiers"},{"include":"#variables"},{"include":"#primitive-arrays"},{"include":"#object-types"}]},"method-call":{"begin":"(\\\\.)\\\\s*([$A-Z_a-z][$\\\\w]*)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"punctuation.separator.period.java"},"2":{"name":"entity.name.function.java"},"3":{"name":"punctuation.definition.parameters.begin.bracket.round.java"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.bracket.round.java"}},"name":"meta.method-call.java","patterns":[{"include":"#code"}]},"methods":{"begin":"(?!new)(?=[<\\\\w].*\\\\s+)(?=([^/=]|/(?!/))+\\\\()","end":"(})|(?=;)","endCaptures":{"1":{"name":"punctuation.section.method.end.bracket.curly.java"}},"name":"meta.method.java","patterns":[{"include":"#storage-modifiers"},{"begin":"(\\\\w+)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"entity.name.function.java"},"2":{"name":"punctuation.definition.parameters.begin.bracket.round.java"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.bracket.round.java"}},"name":"meta.method.identifier.java","patterns":[{"include":"#parameters"},{"include":"#parens"},{"include":"#comments"}]},{"include":"#generics"},{"begin":"(?=\\\\w.*\\\\s+\\\\w+\\\\s*\\\\()","end":"(?=\\\\s+\\\\w+\\\\s*\\\\()","name":"meta.method.return-type.java","patterns":[{"include":"#all-types"},{"include":"#parens"},{"include":"#comments"}]},{"include":"#throws"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.method.begin.bracket.curly.java"}},"contentName":"meta.method.body.java","end":"(?=})","patterns":[{"include":"#code"}]},{"include":"#comments"}]},"module":{"begin":"((open)\\\\s)?(module)\\\\s+(\\\\w+)","beginCaptures":{"1":{"name":"storage.modifier.java"},"3":{"name":"storage.modifier.java"},"4":{"name":"entity.name.type.module.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.module.end.bracket.curly.java"}},"name":"meta.module.java","patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.module.begin.bracket.curly.java"}},"contentName":"meta.module.body.java","end":"(?=})","patterns":[{"include":"#comments"},{"include":"#comments-javadoc"},{"match":"\\\\b(requires|transitive|exports|opens|to|uses|provides|with)\\\\b","name":"keyword.module.java"}]}]},"numbers":{"patterns":[{"match":"\\\\b(?<!\\\\$)0([Xx])((?<!\\\\.)\\\\h([_\\\\h]*\\\\h)?[Ll]?(?!\\\\.)|(\\\\h([_\\\\h]*\\\\h)?\\\\.?|(\\\\h([_\\\\h]*\\\\h)?)?\\\\.\\\\h([_\\\\h]*\\\\h)?)[Pp][-+]?[0-9]([0-9_]*[0-9])?[DFdf]?)\\\\b(?!\\\\$)","name":"constant.numeric.hex.java"},{"match":"\\\\b(?<!\\\\$)0([Bb])[01]([01_]*[01])?[Ll]?\\\\b(?!\\\\$)","name":"constant.numeric.binary.java"},{"match":"\\\\b(?<!\\\\$)0[0-7]([0-7_]*[0-7])?[Ll]?\\\\b(?!\\\\$)","name":"constant.numeric.octal.java"},{"match":"(?<!\\\\$)(\\\\b[0-9]([0-9_]*[0-9])?\\\\.\\\\B(?!\\\\.)|\\\\b[0-9]([0-9_]*[0-9])?\\\\.([Ee][-+]?[0-9]([0-9_]*[0-9])?)[DFdf]?\\\\b|\\\\b[0-9]([0-9_]*[0-9])?\\\\.([Ee][-+]?[0-9]([0-9_]*[0-9])?)?[DFdf]\\\\b|\\\\b[0-9]([0-9_]*[0-9])?\\\\.([0-9]([0-9_]*[0-9])?)([Ee][-+]?[0-9]([0-9_]*[0-9])?)?[DFdf]?\\\\b|(?<!\\\\.)\\\\B\\\\.[0-9]([0-9_]*[0-9])?([Ee][-+]?[0-9]([0-9_]*[0-9])?)?[DFdf]?\\\\b|\\\\b[0-9]([0-9_]*[0-9])?([Ee][-+]?[0-9]([0-9_]*[0-9])?)[DFdf]?\\\\b|\\\\b[0-9]([0-9_]*[0-9])?([Ee][-+]?[0-9]([0-9_]*[0-9])?)?[DFdf]\\\\b|\\\\b(0|[1-9]([0-9_]*[0-9])?)(?!\\\\.)[Ll]?\\\\b)(?!\\\\$)","name":"constant.numeric.decimal.java"}]},"object-types":{"patterns":[{"include":"#generics"},{"begin":"\\\\b((?:[A-Z_a-z]\\\\w*\\\\s*\\\\.\\\\s*)*)([A-Z_]\\\\w*)\\\\s*(?=\\\\[)","beginCaptures":{"1":{"patterns":[{"match":"[A-Z_a-z]\\\\w*","name":"storage.type.java"},{"match":"\\\\.","name":"punctuation.separator.period.java"}]},"2":{"name":"storage.type.object.array.java"}},"end":"(?!\\\\s*\\\\[)","patterns":[{"include":"#comments"},{"include":"#parens"}]},{"captures":{"1":{"patterns":[{"match":"[A-Z_a-z]\\\\w*","name":"storage.type.java"},{"match":"\\\\.","name":"punctuation.separator.period.java"}]}},"match":"\\\\b((?:[A-Z_a-z]\\\\w*\\\\s*\\\\.\\\\s*)*[A-Z_]\\\\w*)\\\\s*(?=<)"},{"captures":{"1":{"patterns":[{"match":"[A-Z_a-z]\\\\w*","name":"storage.type.java"},{"match":"\\\\.","name":"punctuation.separator.period.java"}]}},"match":"\\\\b((?:[A-Z_a-z]\\\\w*\\\\s*\\\\.\\\\s*)*[A-Z_]\\\\w*)\\\\b((?=\\\\s*[\\\\n$A-Z_a-z])|(?=\\\\s*\\\\.\\\\.\\\\.))"}]},"object-types-inherited":{"patterns":[{"include":"#generics"},{"captures":{"1":{"name":"punctuation.separator.period.java"}},"match":"\\\\b(?:[A-Z]\\\\w*\\\\s*(\\\\.)\\\\s*)*[A-Z]\\\\w*\\\\b","name":"entity.other.inherited-class.java"},{"match":",","name":"punctuation.separator.delimiter.java"}]},"objects":{"match":"(?<![$\\\\w])[$A-Z_a-z][$\\\\w]*(?=\\\\s*\\\\.\\\\s*[$\\\\w]+)","name":"variable.other.object.java"},"parameters":{"patterns":[{"match":"\\\\bfinal\\\\b","name":"storage.modifier.java"},{"include":"#annotations"},{"include":"#all-types"},{"include":"#strings"},{"match":"\\\\w+","name":"variable.parameter.java"},{"match":",","name":"punctuation.separator.delimiter.java"},{"match":"\\\\.\\\\.\\\\.","name":"punctuation.definition.parameters.varargs.java"}]},"parens":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.bracket.round.java"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.bracket.round.java"}},"patterns":[{"include":"#code"}]},{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.bracket.square.java"}},"end":"]","endCaptures":{"0":{"name":"punctuation.bracket.square.java"}},"patterns":[{"include":"#code"}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.bracket.curly.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.bracket.curly.java"}},"patterns":[{"include":"#code"}]}]},"primitive-arrays":{"patterns":[{"begin":"\\\\b(void|boolean|byte|char|short|int|float|long|double)\\\\b\\\\s*(?=\\\\[)","beginCaptures":{"1":{"name":"storage.type.primitive.array.java"}},"end":"(?!\\\\s*\\\\[)","patterns":[{"include":"#comments"},{"include":"#parens"}]}]},"primitive-types":{"match":"\\\\b(void|boolean|byte|char|short|int|float|long|double)\\\\b","name":"storage.type.primitive.java"},"properties":{"patterns":[{"captures":{"1":{"name":"punctuation.separator.period.java"},"2":{"name":"keyword.control.new.java"}},"match":"(\\\\.)\\\\s*(new)"},{"captures":{"1":{"name":"punctuation.separator.period.java"},"2":{"name":"variable.other.object.property.java"}},"match":"(\\\\.)\\\\s*([$A-Z_a-z][$\\\\w]*)(?=\\\\s*\\\\.\\\\s*[$A-Z_a-z][$\\\\w]*)"},{"captures":{"1":{"name":"punctuation.separator.period.java"},"2":{"name":"variable.other.object.property.java"}},"match":"(\\\\.)\\\\s*([$A-Z_a-z][$\\\\w]*)"},{"captures":{"1":{"name":"punctuation.separator.period.java"},"2":{"name":"invalid.illegal.identifier.java"}},"match":"(\\\\.)\\\\s*([0-9][$\\\\w]*)"}]},"record":{"begin":"(?=\\\\w?[\\\\w\\\\s]*\\\\brecord\\\\s+[$\\\\w]+)","end":"}","endCaptures":{"0":{"name":"punctuation.section.class.end.bracket.curly.java"}},"name":"meta.record.java","patterns":[{"include":"#storage-modifiers"},{"include":"#generics"},{"include":"#comments"},{"begin":"(record)\\\\s+([$\\\\w]+)(<[$\\\\w]+>)?(\\\\()","beginCaptures":{"1":{"name":"storage.modifier.java"},"2":{"name":"entity.name.type.record.java"},"3":{"patterns":[{"include":"#generics"}]},"4":{"name":"punctuation.definition.parameters.begin.bracket.round.java"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.bracket.round.java"}},"name":"meta.record.identifier.java","patterns":[{"include":"#code"}]},{"begin":"(implements)\\\\s","beginCaptures":{"1":{"name":"storage.modifier.implements.java"}},"end":"(?=\\\\s*\\\\{)","name":"meta.definition.class.implemented.interfaces.java","patterns":[{"include":"#object-types-inherited"},{"include":"#comments"}]},{"include":"#record-body"}]},"record-body":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.class.begin.bracket.curly.java"}},"end":"(?=})","name":"meta.record.body.java","patterns":[{"include":"#record-constructor"},{"include":"#class-body"}]},"record-constructor":{"begin":"(?!new)(?=[<\\\\w].*\\\\s+)(?=([^(/=]|/(?!/))+(?=\\\\{))","end":"(})|(?=;)","endCaptures":{"1":{"name":"punctuation.section.method.end.bracket.curly.java"}},"name":"meta.method.java","patterns":[{"include":"#storage-modifiers"},{"begin":"(\\\\w+)","beginCaptures":{"1":{"name":"entity.name.function.java"}},"end":"(?=\\\\s*\\\\{)","name":"meta.method.identifier.java","patterns":[{"include":"#comments"}]},{"include":"#comments"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.method.begin.bracket.curly.java"}},"contentName":"meta.method.body.java","end":"(?=})","patterns":[{"include":"#code"}]}]},"static-initializer":{"patterns":[{"include":"#anonymous-block-and-instance-initializer"},{"match":"static","name":"storage.modifier.java"}]},"storage-modifiers":{"match":"\\\\b(public|private|protected|static|final|native|synchronized|abstract|threadsafe|transient|volatile|default|strictfp|sealed|non-sealed)\\\\b","name":"storage.modifier.java"},"strings":{"patterns":[{"begin":"\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.java"}},"end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.java"}},"name":"string.quoted.triple.java","patterns":[{"match":"(\\\\\\\\\\"\\"\\")(?!\\")|(\\\\\\\\.)","name":"constant.character.escape.java"}]},{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.java"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.java"}},"name":"string.quoted.double.java","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.java"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.java"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.java"}},"name":"string.quoted.single.java","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.java"}]}]},"throws":{"begin":"throws","beginCaptures":{"0":{"name":"storage.modifier.java"}},"end":"(?=[;{])","name":"meta.throwables.java","patterns":[{"match":",","name":"punctuation.separator.delimiter.java"},{"match":"[$A-Z_a-z][$.0-9A-Z_a-z]*","name":"storage.type.java"},{"include":"#comments"}]},"try-catch-finally":{"patterns":[{"begin":"\\\\btry\\\\b","beginCaptures":{"0":{"name":"keyword.control.try.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.try.end.bracket.curly.java"}},"name":"meta.try.java","patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.try.resources.begin.bracket.round.java"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.try.resources.end.bracket.round.java"}},"name":"meta.try.resources.java","patterns":[{"include":"#code"}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.try.begin.bracket.curly.java"}},"contentName":"meta.try.body.java","end":"(?=})","patterns":[{"include":"#code"}]}]},{"begin":"\\\\b(catch)\\\\b","beginCaptures":{"1":{"name":"keyword.control.catch.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.catch.end.bracket.curly.java"}},"name":"meta.catch.java","patterns":[{"include":"#comments"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.bracket.round.java"}},"contentName":"meta.catch.parameters.java","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.bracket.round.java"}},"patterns":[{"include":"#comments"},{"include":"#storage-modifiers"},{"begin":"[$A-Z_a-z][$.0-9A-Z_a-z]*","beginCaptures":{"0":{"name":"storage.type.java"}},"end":"(\\\\|)|(?=\\\\))","endCaptures":{"1":{"name":"punctuation.catch.separator.java"}},"patterns":[{"include":"#comments"},{"captures":{"0":{"name":"variable.parameter.java"}},"match":"\\\\w+"}]}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.catch.begin.bracket.curly.java"}},"contentName":"meta.catch.body.java","end":"(?=})","patterns":[{"include":"#code"}]}]},{"begin":"\\\\bfinally\\\\b","beginCaptures":{"0":{"name":"keyword.control.finally.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.finally.end.bracket.curly.java"}},"name":"meta.finally.java","patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.finally.begin.bracket.curly.java"}},"contentName":"meta.finally.body.java","end":"(?=})","patterns":[{"include":"#code"}]}]}]},"variables":{"begin":"(?=\\\\b((void|boolean|byte|char|short|int|float|long|double)|(?>(\\\\w+\\\\.)*[A-Z_]+\\\\w*))\\\\b\\\\s*(<[],.<>?\\\\[\\\\w\\\\s]*>)?\\\\s*((\\\\[])*)?\\\\s+[$A-Z_a-z][$\\\\w]*([]$,\\\\[\\\\w][],\\\\[\\\\w\\\\s]*)?\\\\s*([:;=]))","end":"(?=[:;=])","name":"meta.definition.variable.java","patterns":[{"captures":{"1":{"name":"variable.other.definition.java"}},"match":"([$A-Z_a-z][$\\\\w]*)(?=\\\\s*(\\\\[])*\\\\s*([,:;=]))"},{"include":"#all-types"},{"include":"#code"}]},"variables-local":{"begin":"(?=\\\\b(var)\\\\b\\\\s+[$A-Z_a-z][$\\\\w]*\\\\s*([:;=]))","end":"(?=[:;=])","name":"meta.definition.variable.local.java","patterns":[{"match":"\\\\bvar\\\\b","name":"storage.type.local.java"},{"captures":{"1":{"name":"variable.other.definition.java"}},"match":"([$A-Z_a-z][$\\\\w]*)(?=\\\\s*(\\\\[])*\\\\s*([:;=]))"},{"include":"#code"}]}},"scopeName":"source.java"}`))];export{t as n,n as t};
1
+ import{M as e}from"./_CMDhPKMI.js";var t=e({default:()=>n}),n=[Object.freeze(JSON.parse(`{"displayName":"Java","name":"java","patterns":[{"begin":"\\\\b(package)\\\\b\\\\s*","beginCaptures":{"1":{"name":"keyword.other.package.java"}},"contentName":"storage.modifier.package.java","end":"\\\\s*(;)","endCaptures":{"1":{"name":"punctuation.terminator.java"}},"name":"meta.package.java","patterns":[{"include":"#comments"},{"match":"(?<=\\\\.)\\\\s*\\\\.|\\\\.(?=\\\\s*;)","name":"invalid.illegal.character_not_allowed_here.java"},{"match":"(?<!_)_(?=\\\\s*([.;]))|\\\\b\\\\d+|-+","name":"invalid.illegal.character_not_allowed_here.java"},{"match":"[A-Z]+","name":"invalid.deprecated.package_name_not_lowercase.java"},{"match":"\\\\b(?<!\\\\$)(abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|native|new|non-sealed|package|permits|private|protected|public|return|sealed|short|static|strictfp|super|switch|syncronized|this|throws??|transient|try|void|volatile|while|yield|true|false|null)\\\\b","name":"invalid.illegal.character_not_allowed_here.java"},{"match":"\\\\.","name":"punctuation.separator.java"}]},{"begin":"\\\\b(import)\\\\b\\\\s*\\\\b(static)?\\\\b\\\\s","beginCaptures":{"1":{"name":"keyword.other.import.java"},"2":{"name":"storage.modifier.java"}},"contentName":"storage.modifier.import.java","end":"\\\\s*(;)","endCaptures":{"1":{"name":"punctuation.terminator.java"}},"name":"meta.import.java","patterns":[{"include":"#comments"},{"match":"(?<=\\\\.)\\\\s*\\\\.|\\\\.(?=\\\\s*;)","name":"invalid.illegal.character_not_allowed_here.java"},{"match":"(?<!\\\\.)\\\\s*\\\\*","name":"invalid.illegal.character_not_allowed_here.java"},{"match":"(?<!_)_(?=\\\\s*([.;]))|\\\\b\\\\d+|-+","name":"invalid.illegal.character_not_allowed_here.java"},{"match":"\\\\b(?<!\\\\$)(abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|native|new|non-sealed|package|permits|private|protected|public|return|sealed|short|static|strictfp|super|switch|syncronized|this|throws??|transient|try|void|volatile|while|yield|true|false|null)\\\\b","name":"invalid.illegal.character_not_allowed_here.java"},{"match":"\\\\.","name":"punctuation.separator.java"},{"match":"\\\\*","name":"variable.language.wildcard.java"}]},{"include":"#comments-javadoc"},{"include":"#code"},{"include":"#module"}],"repository":{"all-types":{"patterns":[{"include":"#primitive-arrays"},{"include":"#primitive-types"},{"include":"#object-types"}]},"annotations":{"patterns":[{"begin":"((@)\\\\s*([^(\\\\s]+))(\\\\()","beginCaptures":{"2":{"name":"punctuation.definition.annotation.java"},"3":{"name":"storage.type.annotation.java"},"4":{"name":"punctuation.definition.annotation-arguments.begin.bracket.round.java"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.annotation-arguments.end.bracket.round.java"}},"name":"meta.declaration.annotation.java","patterns":[{"captures":{"1":{"name":"constant.other.key.java"},"2":{"name":"keyword.operator.assignment.java"}},"match":"(\\\\w*)\\\\s*(=)"},{"include":"#code"}]},{"captures":{"1":{"name":"punctuation.definition.annotation.java"},"2":{"name":"storage.modifier.java"},"3":{"name":"storage.type.annotation.java"},"5":{"name":"punctuation.definition.annotation.java"},"6":{"name":"storage.type.annotation.java"}},"match":"(@)(interface)\\\\s+(\\\\w*)|((@)\\\\s*(\\\\w+))","name":"meta.declaration.annotation.java"}]},"anonymous-block-and-instance-initializer":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.block.begin.bracket.curly.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.block.end.bracket.curly.java"}},"patterns":[{"include":"#code"}]},"anonymous-classes-and-new":{"begin":"\\\\bnew\\\\b","beginCaptures":{"0":{"name":"keyword.control.new.java"}},"end":"(?=[])-.:;?}]|/(?![*/])|[!%\\\\&=^|])","patterns":[{"include":"#comments"},{"include":"#function-call"},{"include":"#all-types"},{"begin":"(?<=\\\\))","end":"(?=[])-.:;?}]|/(?![*/])|[!%\\\\&=^|])","patterns":[{"include":"#comments"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.inner-class.begin.bracket.curly.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.inner-class.end.bracket.curly.java"}},"name":"meta.inner-class.java","patterns":[{"include":"#class-body"}]}]},{"begin":"(?<=])","end":"(?=[])-.:;?}]|/(?![*/])|[!%\\\\&=^|])","patterns":[{"include":"#comments"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.array-initializer.begin.bracket.curly.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.array-initializer.end.bracket.curly.java"}},"name":"meta.array-initializer.java","patterns":[{"include":"#code"}]}]},{"include":"#parens"}]},"assertions":{"patterns":[{"begin":"\\\\b(assert)\\\\s","beginCaptures":{"1":{"name":"keyword.control.assert.java"}},"end":"$","name":"meta.declaration.assertion.java","patterns":[{"match":":","name":"keyword.operator.assert.expression-separator.java"},{"include":"#code"}]}]},"class":{"begin":"(?=\\\\w?[-\\\\w\\\\s]*\\\\b(?:class|(?<!@)interface|enum)\\\\s+[$\\\\w]+)","end":"}","endCaptures":{"0":{"name":"punctuation.section.class.end.bracket.curly.java"}},"name":"meta.class.java","patterns":[{"include":"#storage-modifiers"},{"include":"#generics"},{"include":"#comments"},{"captures":{"1":{"name":"storage.modifier.java"},"2":{"name":"entity.name.type.class.java"}},"match":"(class|(?<!@)interface|enum)\\\\s+([$\\\\w]+)","name":"meta.class.identifier.java"},{"begin":"extends","beginCaptures":{"0":{"name":"storage.modifier.extends.java"}},"end":"(?=\\\\{|implements|permits)","name":"meta.definition.class.inherited.classes.java","patterns":[{"include":"#object-types-inherited"},{"include":"#comments"}]},{"begin":"(implements)\\\\s","beginCaptures":{"1":{"name":"storage.modifier.implements.java"}},"end":"(?=\\\\s*extends|permits|\\\\{)","name":"meta.definition.class.implemented.interfaces.java","patterns":[{"include":"#object-types-inherited"},{"include":"#comments"}]},{"begin":"(permits)\\\\s","beginCaptures":{"1":{"name":"storage.modifier.permits.java"}},"end":"(?=\\\\s*extends|implements|\\\\{)","name":"meta.definition.class.permits.classes.java","patterns":[{"include":"#object-types-inherited"},{"include":"#comments"}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.class.begin.bracket.curly.java"}},"contentName":"meta.class.body.java","end":"(?=})","patterns":[{"include":"#class-body"}]}]},"class-body":{"patterns":[{"include":"#comments-javadoc"},{"include":"#comments"},{"include":"#enums"},{"include":"#class"},{"include":"#generics"},{"include":"#static-initializer"},{"include":"#class-fields-and-methods"},{"include":"#annotations"},{"include":"#storage-modifiers"},{"include":"#member-variables"},{"include":"#code"}]},"class-fields-and-methods":{"patterns":[{"begin":"(?==)","end":"(?=;)","patterns":[{"include":"#code"}]},{"include":"#methods"}]},"code":{"patterns":[{"include":"#annotations"},{"include":"#comments"},{"include":"#enums"},{"include":"#class"},{"include":"#record"},{"include":"#anonymous-block-and-instance-initializer"},{"include":"#try-catch-finally"},{"include":"#assertions"},{"include":"#parens"},{"include":"#constants-and-special-vars"},{"include":"#numbers"},{"include":"#anonymous-classes-and-new"},{"include":"#lambda-expression"},{"include":"#keywords"},{"include":"#storage-modifiers"},{"include":"#method-call"},{"include":"#function-call"},{"include":"#variables"},{"include":"#variables-local"},{"include":"#objects"},{"include":"#properties"},{"include":"#strings"},{"include":"#all-types"},{"match":",","name":"punctuation.separator.delimiter.java"},{"match":"\\\\.","name":"punctuation.separator.period.java"},{"match":";","name":"punctuation.terminator.java"}]},"comments":{"patterns":[{"captures":{"0":{"name":"punctuation.definition.comment.java"}},"match":"/\\\\*\\\\*/","name":"comment.block.empty.java"},{"include":"#comments-inline"}]},"comments-inline":{"patterns":[{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.java"}},"end":"\\\\*/","name":"comment.block.java"},{"begin":"(^[\\\\t ]+)?(?=//)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.java"}},"end":"(?!\\\\G)","patterns":[{"begin":"//","beginCaptures":{"0":{"name":"punctuation.definition.comment.java"}},"end":"\\\\n","name":"comment.line.double-slash.java"}]}]},"comments-javadoc":{"patterns":[{"begin":"^\\\\s*(/\\\\*\\\\*)(?!/)","beginCaptures":{"1":{"name":"punctuation.definition.comment.java"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.java"}},"name":"comment.block.javadoc.java","patterns":[{"match":"@(author|deprecated|return|see|serial|since|version)\\\\b","name":"keyword.other.documentation.javadoc.java"},{"captures":{"1":{"name":"keyword.other.documentation.javadoc.java"},"2":{"name":"variable.parameter.java"}},"match":"(@param)\\\\s+(\\\\S+)"},{"captures":{"1":{"name":"keyword.other.documentation.javadoc.java"},"2":{"name":"entity.name.type.class.java"}},"match":"(@(?:exception|throws))\\\\s+(\\\\S+)"},{"captures":{"1":{"name":"keyword.other.documentation.javadoc.java"},"2":{"name":"entity.name.type.class.java"},"3":{"name":"variable.parameter.java"}},"match":"\\\\{(@link)\\\\s+(\\\\S+)?#([$\\\\w]+\\\\s*\\\\([^()]*\\\\)).*?}"}]}]},"constants-and-special-vars":{"patterns":[{"match":"\\\\b(true|false|null)\\\\b","name":"constant.language.java"},{"match":"\\\\bthis\\\\b","name":"variable.language.this.java"},{"match":"\\\\bsuper\\\\b","name":"variable.language.java"}]},"enums":{"begin":"^\\\\s*([\\\\w\\\\s]*)(enum)\\\\s+(\\\\w+)","beginCaptures":{"1":{"patterns":[{"include":"#storage-modifiers"}]},"2":{"name":"storage.modifier.java"},"3":{"name":"entity.name.type.enum.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.enum.end.bracket.curly.java"}},"name":"meta.enum.java","patterns":[{"begin":"\\\\b(extends)\\\\b","beginCaptures":{"1":{"name":"storage.modifier.extends.java"}},"end":"(?=\\\\{|\\\\bimplements\\\\b)","name":"meta.definition.class.inherited.classes.java","patterns":[{"include":"#object-types-inherited"},{"include":"#comments"}]},{"begin":"\\\\b(implements)\\\\b","beginCaptures":{"1":{"name":"storage.modifier.implements.java"}},"end":"(?=\\\\{|\\\\bextends\\\\b)","name":"meta.definition.class.implemented.interfaces.java","patterns":[{"include":"#object-types-inherited"},{"include":"#comments"}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.enum.begin.bracket.curly.java"}},"end":"(?=})","patterns":[{"begin":"(?<=\\\\{)","end":"(?=[;}])","patterns":[{"include":"#comments-javadoc"},{"include":"#comments"},{"begin":"\\\\b(\\\\w+)\\\\b","beginCaptures":{"1":{"name":"constant.other.enum.java"}},"end":"(,)|(?=[;}])","endCaptures":{"1":{"name":"punctuation.separator.delimiter.java"}},"patterns":[{"include":"#comments-javadoc"},{"include":"#comments"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.bracket.round.java"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.bracket.round.java"}},"patterns":[{"include":"#code"}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.bracket.curly.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.bracket.curly.java"}},"patterns":[{"include":"#class-body"}]}]}]},{"include":"#class-body"}]}]},"function-call":{"begin":"([$A-Z_a-z][$\\\\w]*)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"entity.name.function.java"},"2":{"name":"punctuation.definition.parameters.begin.bracket.round.java"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.bracket.round.java"}},"name":"meta.function-call.java","patterns":[{"include":"#code"}]},"generics":{"begin":"<","beginCaptures":{"0":{"name":"punctuation.bracket.angle.java"}},"end":">","endCaptures":{"0":{"name":"punctuation.bracket.angle.java"}},"patterns":[{"match":"\\\\b(extends|super)\\\\b","name":"storage.modifier.$1.java"},{"captures":{"1":{"name":"storage.type.java"}},"match":"(?<!\\\\.)([$A-Z_a-z][$0-9A-Z_a-z]*)(?=\\\\s*<)"},{"include":"#primitive-arrays"},{"match":"[$A-Z_a-z][$0-9A-Z_a-z]*","name":"storage.type.generic.java"},{"match":"\\\\?","name":"storage.type.generic.wildcard.java"},{"match":"&","name":"punctuation.separator.types.java"},{"match":",","name":"punctuation.separator.delimiter.java"},{"match":"\\\\.","name":"punctuation.separator.period.java"},{"include":"#parens"},{"include":"#generics"},{"include":"#comments"}]},"keywords":{"patterns":[{"match":"\\\\bthrow\\\\b","name":"keyword.control.throw.java"},{"match":"[:?]","name":"keyword.control.ternary.java"},{"match":"\\\\b(return|yield|break|case|continue|default|do|while|for|switch|if|else)\\\\b","name":"keyword.control.java"},{"match":"\\\\b(instanceof)\\\\b","name":"keyword.operator.instanceof.java"},{"match":"(<<|>>>?|[\\\\^~])","name":"keyword.operator.bitwise.java"},{"match":"(([\\\\&^|]|<<|>>>?)=)","name":"keyword.operator.assignment.bitwise.java"},{"match":"(===?|!=|<=|>=|<>|[<>])","name":"keyword.operator.comparison.java"},{"match":"([-%*+/]=)","name":"keyword.operator.assignment.arithmetic.java"},{"match":"(=)","name":"keyword.operator.assignment.java"},{"match":"(--|\\\\+\\\\+)","name":"keyword.operator.increment-decrement.java"},{"match":"([-%*+/])","name":"keyword.operator.arithmetic.java"},{"match":"(!|&&|\\\\|\\\\|)","name":"keyword.operator.logical.java"},{"match":"([\\\\&|])","name":"keyword.operator.bitwise.java"},{"match":"\\\\b(const|goto)\\\\b","name":"keyword.reserved.java"}]},"lambda-expression":{"patterns":[{"match":"->","name":"storage.type.function.arrow.java"}]},"member-variables":{"begin":"(?=private|protected|public|native|synchronized|abstract|threadsafe|transient|static|final)","end":"(?=[;=])","patterns":[{"include":"#storage-modifiers"},{"include":"#variables"},{"include":"#primitive-arrays"},{"include":"#object-types"}]},"method-call":{"begin":"(\\\\.)\\\\s*([$A-Z_a-z][$\\\\w]*)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"punctuation.separator.period.java"},"2":{"name":"entity.name.function.java"},"3":{"name":"punctuation.definition.parameters.begin.bracket.round.java"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.bracket.round.java"}},"name":"meta.method-call.java","patterns":[{"include":"#code"}]},"methods":{"begin":"(?!new)(?=[<\\\\w].*\\\\s+)(?=([^/=]|/(?!/))+\\\\()","end":"(})|(?=;)","endCaptures":{"1":{"name":"punctuation.section.method.end.bracket.curly.java"}},"name":"meta.method.java","patterns":[{"include":"#storage-modifiers"},{"begin":"(\\\\w+)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"entity.name.function.java"},"2":{"name":"punctuation.definition.parameters.begin.bracket.round.java"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.bracket.round.java"}},"name":"meta.method.identifier.java","patterns":[{"include":"#parameters"},{"include":"#parens"},{"include":"#comments"}]},{"include":"#generics"},{"begin":"(?=\\\\w.*\\\\s+\\\\w+\\\\s*\\\\()","end":"(?=\\\\s+\\\\w+\\\\s*\\\\()","name":"meta.method.return-type.java","patterns":[{"include":"#all-types"},{"include":"#parens"},{"include":"#comments"}]},{"include":"#throws"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.method.begin.bracket.curly.java"}},"contentName":"meta.method.body.java","end":"(?=})","patterns":[{"include":"#code"}]},{"include":"#comments"}]},"module":{"begin":"((open)\\\\s)?(module)\\\\s+(\\\\w+)","beginCaptures":{"1":{"name":"storage.modifier.java"},"3":{"name":"storage.modifier.java"},"4":{"name":"entity.name.type.module.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.module.end.bracket.curly.java"}},"name":"meta.module.java","patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.module.begin.bracket.curly.java"}},"contentName":"meta.module.body.java","end":"(?=})","patterns":[{"include":"#comments"},{"include":"#comments-javadoc"},{"match":"\\\\b(requires|transitive|exports|opens|to|uses|provides|with)\\\\b","name":"keyword.module.java"}]}]},"numbers":{"patterns":[{"match":"\\\\b(?<!\\\\$)0([Xx])((?<!\\\\.)\\\\h([_\\\\h]*\\\\h)?[Ll]?(?!\\\\.)|(\\\\h([_\\\\h]*\\\\h)?\\\\.?|(\\\\h([_\\\\h]*\\\\h)?)?\\\\.\\\\h([_\\\\h]*\\\\h)?)[Pp][-+]?[0-9]([0-9_]*[0-9])?[DFdf]?)\\\\b(?!\\\\$)","name":"constant.numeric.hex.java"},{"match":"\\\\b(?<!\\\\$)0([Bb])[01]([01_]*[01])?[Ll]?\\\\b(?!\\\\$)","name":"constant.numeric.binary.java"},{"match":"\\\\b(?<!\\\\$)0[0-7]([0-7_]*[0-7])?[Ll]?\\\\b(?!\\\\$)","name":"constant.numeric.octal.java"},{"match":"(?<!\\\\$)(\\\\b[0-9]([0-9_]*[0-9])?\\\\.\\\\B(?!\\\\.)|\\\\b[0-9]([0-9_]*[0-9])?\\\\.([Ee][-+]?[0-9]([0-9_]*[0-9])?)[DFdf]?\\\\b|\\\\b[0-9]([0-9_]*[0-9])?\\\\.([Ee][-+]?[0-9]([0-9_]*[0-9])?)?[DFdf]\\\\b|\\\\b[0-9]([0-9_]*[0-9])?\\\\.([0-9]([0-9_]*[0-9])?)([Ee][-+]?[0-9]([0-9_]*[0-9])?)?[DFdf]?\\\\b|(?<!\\\\.)\\\\B\\\\.[0-9]([0-9_]*[0-9])?([Ee][-+]?[0-9]([0-9_]*[0-9])?)?[DFdf]?\\\\b|\\\\b[0-9]([0-9_]*[0-9])?([Ee][-+]?[0-9]([0-9_]*[0-9])?)[DFdf]?\\\\b|\\\\b[0-9]([0-9_]*[0-9])?([Ee][-+]?[0-9]([0-9_]*[0-9])?)?[DFdf]\\\\b|\\\\b(0|[1-9]([0-9_]*[0-9])?)(?!\\\\.)[Ll]?\\\\b)(?!\\\\$)","name":"constant.numeric.decimal.java"}]},"object-types":{"patterns":[{"include":"#generics"},{"begin":"\\\\b((?:[A-Z_a-z]\\\\w*\\\\s*\\\\.\\\\s*)*)([A-Z_]\\\\w*)\\\\s*(?=\\\\[)","beginCaptures":{"1":{"patterns":[{"match":"[A-Z_a-z]\\\\w*","name":"storage.type.java"},{"match":"\\\\.","name":"punctuation.separator.period.java"}]},"2":{"name":"storage.type.object.array.java"}},"end":"(?!\\\\s*\\\\[)","patterns":[{"include":"#comments"},{"include":"#parens"}]},{"captures":{"1":{"patterns":[{"match":"[A-Z_a-z]\\\\w*","name":"storage.type.java"},{"match":"\\\\.","name":"punctuation.separator.period.java"}]}},"match":"\\\\b((?:[A-Z_a-z]\\\\w*\\\\s*\\\\.\\\\s*)*[A-Z_]\\\\w*)\\\\s*(?=<)"},{"captures":{"1":{"patterns":[{"match":"[A-Z_a-z]\\\\w*","name":"storage.type.java"},{"match":"\\\\.","name":"punctuation.separator.period.java"}]}},"match":"\\\\b((?:[A-Z_a-z]\\\\w*\\\\s*\\\\.\\\\s*)*[A-Z_]\\\\w*)\\\\b((?=\\\\s*[\\\\n$A-Z_a-z])|(?=\\\\s*\\\\.\\\\.\\\\.))"}]},"object-types-inherited":{"patterns":[{"include":"#generics"},{"captures":{"1":{"name":"punctuation.separator.period.java"}},"match":"\\\\b(?:[A-Z]\\\\w*\\\\s*(\\\\.)\\\\s*)*[A-Z]\\\\w*\\\\b","name":"entity.other.inherited-class.java"},{"match":",","name":"punctuation.separator.delimiter.java"}]},"objects":{"match":"(?<![$\\\\w])[$A-Z_a-z][$\\\\w]*(?=\\\\s*\\\\.\\\\s*[$\\\\w]+)","name":"variable.other.object.java"},"parameters":{"patterns":[{"match":"\\\\bfinal\\\\b","name":"storage.modifier.java"},{"include":"#annotations"},{"include":"#all-types"},{"include":"#strings"},{"match":"\\\\w+","name":"variable.parameter.java"},{"match":",","name":"punctuation.separator.delimiter.java"},{"match":"\\\\.\\\\.\\\\.","name":"punctuation.definition.parameters.varargs.java"}]},"parens":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.bracket.round.java"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.bracket.round.java"}},"patterns":[{"include":"#code"}]},{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.bracket.square.java"}},"end":"]","endCaptures":{"0":{"name":"punctuation.bracket.square.java"}},"patterns":[{"include":"#code"}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.bracket.curly.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.bracket.curly.java"}},"patterns":[{"include":"#code"}]}]},"primitive-arrays":{"patterns":[{"begin":"\\\\b(void|boolean|byte|char|short|int|float|long|double)\\\\b\\\\s*(?=\\\\[)","beginCaptures":{"1":{"name":"storage.type.primitive.array.java"}},"end":"(?!\\\\s*\\\\[)","patterns":[{"include":"#comments"},{"include":"#parens"}]}]},"primitive-types":{"match":"\\\\b(void|boolean|byte|char|short|int|float|long|double)\\\\b","name":"storage.type.primitive.java"},"properties":{"patterns":[{"captures":{"1":{"name":"punctuation.separator.period.java"},"2":{"name":"keyword.control.new.java"}},"match":"(\\\\.)\\\\s*(new)"},{"captures":{"1":{"name":"punctuation.separator.period.java"},"2":{"name":"variable.other.object.property.java"}},"match":"(\\\\.)\\\\s*([$A-Z_a-z][$\\\\w]*)(?=\\\\s*\\\\.\\\\s*[$A-Z_a-z][$\\\\w]*)"},{"captures":{"1":{"name":"punctuation.separator.period.java"},"2":{"name":"variable.other.object.property.java"}},"match":"(\\\\.)\\\\s*([$A-Z_a-z][$\\\\w]*)"},{"captures":{"1":{"name":"punctuation.separator.period.java"},"2":{"name":"invalid.illegal.identifier.java"}},"match":"(\\\\.)\\\\s*([0-9][$\\\\w]*)"}]},"record":{"begin":"(?=\\\\w?[\\\\w\\\\s]*\\\\brecord\\\\s+[$\\\\w]+)","end":"}","endCaptures":{"0":{"name":"punctuation.section.class.end.bracket.curly.java"}},"name":"meta.record.java","patterns":[{"include":"#storage-modifiers"},{"include":"#generics"},{"include":"#comments"},{"begin":"(record)\\\\s+([$\\\\w]+)(<[$\\\\w]+>)?(\\\\()","beginCaptures":{"1":{"name":"storage.modifier.java"},"2":{"name":"entity.name.type.record.java"},"3":{"patterns":[{"include":"#generics"}]},"4":{"name":"punctuation.definition.parameters.begin.bracket.round.java"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.bracket.round.java"}},"name":"meta.record.identifier.java","patterns":[{"include":"#code"}]},{"begin":"(implements)\\\\s","beginCaptures":{"1":{"name":"storage.modifier.implements.java"}},"end":"(?=\\\\s*\\\\{)","name":"meta.definition.class.implemented.interfaces.java","patterns":[{"include":"#object-types-inherited"},{"include":"#comments"}]},{"include":"#record-body"}]},"record-body":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.class.begin.bracket.curly.java"}},"end":"(?=})","name":"meta.record.body.java","patterns":[{"include":"#record-constructor"},{"include":"#class-body"}]},"record-constructor":{"begin":"(?!new)(?=[<\\\\w].*\\\\s+)(?=([^(/=]|/(?!/))+(?=\\\\{))","end":"(})|(?=;)","endCaptures":{"1":{"name":"punctuation.section.method.end.bracket.curly.java"}},"name":"meta.method.java","patterns":[{"include":"#storage-modifiers"},{"begin":"(\\\\w+)","beginCaptures":{"1":{"name":"entity.name.function.java"}},"end":"(?=\\\\s*\\\\{)","name":"meta.method.identifier.java","patterns":[{"include":"#comments"}]},{"include":"#comments"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.method.begin.bracket.curly.java"}},"contentName":"meta.method.body.java","end":"(?=})","patterns":[{"include":"#code"}]}]},"static-initializer":{"patterns":[{"include":"#anonymous-block-and-instance-initializer"},{"match":"static","name":"storage.modifier.java"}]},"storage-modifiers":{"match":"\\\\b(public|private|protected|static|final|native|synchronized|abstract|threadsafe|transient|volatile|default|strictfp|sealed|non-sealed)\\\\b","name":"storage.modifier.java"},"strings":{"patterns":[{"begin":"\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.java"}},"end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.java"}},"name":"string.quoted.triple.java","patterns":[{"match":"(\\\\\\\\\\"\\"\\")(?!\\")|(\\\\\\\\.)","name":"constant.character.escape.java"}]},{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.java"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.java"}},"name":"string.quoted.double.java","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.java"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.java"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.java"}},"name":"string.quoted.single.java","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.java"}]}]},"throws":{"begin":"throws","beginCaptures":{"0":{"name":"storage.modifier.java"}},"end":"(?=[;{])","name":"meta.throwables.java","patterns":[{"match":",","name":"punctuation.separator.delimiter.java"},{"match":"[$A-Z_a-z][$.0-9A-Z_a-z]*","name":"storage.type.java"},{"include":"#comments"}]},"try-catch-finally":{"patterns":[{"begin":"\\\\btry\\\\b","beginCaptures":{"0":{"name":"keyword.control.try.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.try.end.bracket.curly.java"}},"name":"meta.try.java","patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.try.resources.begin.bracket.round.java"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.try.resources.end.bracket.round.java"}},"name":"meta.try.resources.java","patterns":[{"include":"#code"}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.try.begin.bracket.curly.java"}},"contentName":"meta.try.body.java","end":"(?=})","patterns":[{"include":"#code"}]}]},{"begin":"\\\\b(catch)\\\\b","beginCaptures":{"1":{"name":"keyword.control.catch.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.catch.end.bracket.curly.java"}},"name":"meta.catch.java","patterns":[{"include":"#comments"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.bracket.round.java"}},"contentName":"meta.catch.parameters.java","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.bracket.round.java"}},"patterns":[{"include":"#comments"},{"include":"#storage-modifiers"},{"begin":"[$A-Z_a-z][$.0-9A-Z_a-z]*","beginCaptures":{"0":{"name":"storage.type.java"}},"end":"(\\\\|)|(?=\\\\))","endCaptures":{"1":{"name":"punctuation.catch.separator.java"}},"patterns":[{"include":"#comments"},{"captures":{"0":{"name":"variable.parameter.java"}},"match":"\\\\w+"}]}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.catch.begin.bracket.curly.java"}},"contentName":"meta.catch.body.java","end":"(?=})","patterns":[{"include":"#code"}]}]},{"begin":"\\\\bfinally\\\\b","beginCaptures":{"0":{"name":"keyword.control.finally.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.finally.end.bracket.curly.java"}},"name":"meta.finally.java","patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.finally.begin.bracket.curly.java"}},"contentName":"meta.finally.body.java","end":"(?=})","patterns":[{"include":"#code"}]}]}]},"variables":{"begin":"(?=\\\\b((void|boolean|byte|char|short|int|float|long|double)|(?>(\\\\w+\\\\.)*[A-Z_]+\\\\w*))\\\\b\\\\s*(<[],.<>?\\\\[\\\\w\\\\s]*>)?\\\\s*((\\\\[])*)?\\\\s+[$A-Z_a-z][$\\\\w]*([]$,\\\\[\\\\w][],\\\\[\\\\w\\\\s]*)?\\\\s*([:;=]))","end":"(?=[:;=])","name":"meta.definition.variable.java","patterns":[{"captures":{"1":{"name":"variable.other.definition.java"}},"match":"([$A-Z_a-z][$\\\\w]*)(?=\\\\s*(\\\\[])*\\\\s*([,:;=]))"},{"include":"#all-types"},{"include":"#code"}]},"variables-local":{"begin":"(?=\\\\b(var)\\\\b\\\\s+[$A-Z_a-z][$\\\\w]*\\\\s*([:;=]))","end":"(?=[:;=])","name":"meta.definition.variable.local.java","patterns":[{"match":"\\\\bvar\\\\b","name":"storage.type.local.java"},{"captures":{"1":{"name":"variable.other.definition.java"}},"match":"([$A-Z_a-z][$\\\\w]*)(?=\\\\s*(\\\\[])*\\\\s*([:;=]))"},{"include":"#code"}]}},"scopeName":"source.java"}`))];export{t as n,n as t};