@dylanpiercey/work 0.2.12 → 0.2.13

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 (477) hide show
  1. package/dist/{_9lPeeuil.js → _CutIqDsN.js} +52 -52
  2. package/dist/index.mjs +443 -443
  3. package/dist/public/assets/{_BplOIofS.js → _-LL80b5Z.js} +4 -4
  4. package/dist/public/assets/_-LL80b5Z.js.br +0 -0
  5. package/dist/public/assets/_1y8Fa1jk.js +1 -0
  6. package/dist/public/assets/_3VspkVyA.js +1 -0
  7. package/dist/public/assets/{_R0HfaTJ2.js → _5J40l6Kf.js} +1 -1
  8. package/dist/public/assets/_5J40l6Kf.js.br +0 -0
  9. package/dist/public/assets/_5oIDMAD_.js +1 -0
  10. package/dist/public/assets/{_BaJzHsWa.js → _6ddGwKSn.js} +1 -1
  11. package/dist/public/assets/_6ddGwKSn.js.br +0 -0
  12. package/dist/public/assets/_6e8XvzBn.js +1 -0
  13. package/dist/public/assets/_6izU5kNM.js +1 -0
  14. package/dist/public/assets/_7ZQ9REgB.js +1 -0
  15. package/dist/public/assets/{_BAZSOxqX.js → _9rFQZSMs.js} +1 -1
  16. package/dist/public/assets/{_EJQ6FtY9.js → _B0bJDqHL.js} +7 -7
  17. package/dist/public/assets/_B0bJDqHL.js.br +0 -0
  18. package/dist/public/assets/_B0ohd74s.js +1 -0
  19. package/dist/public/assets/_B3exlZ-e.js +1 -0
  20. package/dist/public/assets/{_DyJ1IhOU.js → _B3zYBNdW.js} +1 -1
  21. package/dist/public/assets/_B3zYBNdW.js.br +0 -0
  22. package/dist/public/assets/{_C0AS59jv.js → _B4mMe1Ht.js} +1 -1
  23. package/dist/public/assets/_B4mMe1Ht.js.br +0 -0
  24. package/dist/public/assets/_B5pSmTvL.js +1 -0
  25. package/dist/public/assets/_B685wL7c.js +1 -0
  26. package/dist/public/assets/{_DMFeffOW.js → _B7lRGRve.js} +1 -1
  27. package/dist/public/assets/_B7lRGRve.js.br +0 -0
  28. package/dist/public/assets/{_Dg7iMH82.js → _B9a8h0dx.js} +1 -1
  29. package/dist/public/assets/_B9a8h0dx.js.br +0 -0
  30. package/dist/public/assets/{_BgKIvyxZ.js → _BBuk_6uu.js} +1 -1
  31. package/dist/public/assets/_BBuk_6uu.js.br +0 -0
  32. package/dist/public/assets/{_zQ6IdK8p.js → _BDdsfI93.js} +1 -1
  33. package/dist/public/assets/_BDdsfI93.js.br +0 -0
  34. package/dist/public/assets/{_CRGUAGyM.js → _BG7M2tRv.js} +1 -1
  35. package/dist/public/assets/_BG7M2tRv.js.br +0 -0
  36. package/dist/public/assets/_BHVUV9Gn.js +1 -0
  37. package/dist/public/assets/{_DoVDVg4g.js → _BIqIAUr5.js} +1 -1
  38. package/dist/public/assets/_BIqIAUr5.js.br +0 -0
  39. package/dist/public/assets/{_BmdHPP6N.js → _BJmU7H_m.js} +1 -1
  40. package/dist/public/assets/_BJmU7H_m.js.br +0 -0
  41. package/dist/public/assets/_BKfQZEGv.js +1 -0
  42. package/dist/public/assets/{_BlMl0eft.js → _BNCnozKf.js} +1 -1
  43. package/dist/public/assets/_BNCnozKf.js.br +0 -0
  44. package/dist/public/assets/{_NMGm82Oo.js → _BOFyuLjF.js} +1 -1
  45. package/dist/public/assets/_BOFyuLjF.js.br +0 -0
  46. package/dist/public/assets/_BTGwWlL5.js +1 -0
  47. package/dist/public/assets/_BbTNUzOd.js +1 -0
  48. package/dist/public/assets/{_BqiYxwPa.js → _BbuKSMbf.js} +1 -1
  49. package/dist/public/assets/{_BwIFYL7R.js → _BeCna1K9.js} +1 -1
  50. package/dist/public/assets/_BeCna1K9.js.br +0 -0
  51. package/dist/public/assets/_Bfe_Dfaw.js +1 -0
  52. package/dist/public/assets/{_QxY7257x.js → _BgSgOfqk.js} +1 -1
  53. package/dist/public/assets/_BgSgOfqk.js.br +0 -0
  54. package/dist/public/assets/_BgWAs2Re.js +1 -0
  55. package/dist/public/assets/{_CiNbGIYO.js → _BjklChtI.js} +1 -1
  56. package/dist/public/assets/_BjklChtI.js.br +0 -0
  57. package/dist/public/assets/_BkvEALKU.js +1 -0
  58. package/dist/public/assets/_Bl82JR4-.js +1 -0
  59. package/dist/public/assets/_Bmav6una.js +1 -0
  60. package/dist/public/assets/{_VBIua3Sj.js → _BoRI31HI.js} +1 -1
  61. package/dist/public/assets/_BoRI31HI.js.br +0 -0
  62. package/dist/public/assets/{_Brj7jzAl.js → _Bolie15Q.js} +1 -1
  63. package/dist/public/assets/_Bolie15Q.js.br +0 -0
  64. package/dist/public/assets/{_Cb2VGc0b.js → _BpQmvEJ-.js} +1 -1
  65. package/dist/public/assets/_BpQmvEJ-.js.br +0 -0
  66. package/dist/public/assets/{_Cb3MkpsJ.js → _BrBCxX-c.js} +10 -10
  67. package/dist/public/assets/_BrBCxX-c.js.br +0 -0
  68. package/dist/public/assets/{_DQptDg09.js → _BsMrmyFV.js} +1 -1
  69. package/dist/public/assets/_BsMrmyFV.js.br +0 -0
  70. package/dist/public/assets/{_Dn4suMdu.js → _Bt28jRr7.js} +2 -2
  71. package/dist/public/assets/_Bt28jRr7.js.br +0 -0
  72. package/dist/public/assets/{_BDoEh9E0.js → _BuXwye-L.js} +1 -1
  73. package/dist/public/assets/_BuXwye-L.js.br +0 -0
  74. package/dist/public/assets/_BurrdP0X.js +1 -0
  75. package/dist/public/assets/_BvyZA7Ah.js +1 -0
  76. package/dist/public/assets/_Bwl_R7tC.js +1 -0
  77. package/dist/public/assets/{_CRGesoRt.js → _C-D9noIk.js} +1 -1
  78. package/dist/public/assets/_C-D9noIk.js.br +0 -0
  79. package/dist/public/assets/{_12pt_cpp.js → _C23O3JNj.js} +1 -1
  80. package/dist/public/assets/_C23O3JNj.js.br +0 -0
  81. package/dist/public/assets/{_KGghoUbT.js → _C26Y2olE.js} +1 -1
  82. package/dist/public/assets/_C26Y2olE.js.br +0 -0
  83. package/dist/public/assets/{_DEVfrnMW.js → _C3tTjeXv.js} +1 -1
  84. package/dist/public/assets/_C3tTjeXv.js.br +0 -0
  85. package/dist/public/assets/_C4vgBJ2Y.js +1 -0
  86. package/dist/public/assets/_C6qrDBCP.js +1 -0
  87. package/dist/public/assets/_C9NuyFEN.js +1 -0
  88. package/dist/public/assets/{_CWvb3Nho.js → _C9wnZDe_.js} +1 -1
  89. package/dist/public/assets/_C9wnZDe_.js.br +0 -0
  90. package/dist/public/assets/_CALYzpGq.js +1 -0
  91. package/dist/public/assets/{_DACmJ5RV.js → _CBToVbw3.js} +1 -1
  92. package/dist/public/assets/{_DK87UTQP.js → _CDD65ztl.js} +2 -2
  93. package/dist/public/assets/_CDD65ztl.js.br +0 -0
  94. package/dist/public/assets/_CEhrzZY6.js +1 -0
  95. package/dist/public/assets/_CJ7HejO1.js +1 -0
  96. package/dist/public/assets/_CJb7o-BG.js +1 -0
  97. package/dist/public/assets/_CJb9HKec.js +1 -0
  98. package/dist/public/assets/_CK5SDEgp.js +1 -0
  99. package/dist/public/assets/_CLFfiDHm.js +1 -0
  100. package/dist/public/assets/_CMDZjwYF.js +1 -0
  101. package/dist/public/assets/_CNQ8NRGL.js +1 -0
  102. package/dist/public/assets/{_BcAC_ZOu.js → _CNxQmnEe.js} +1 -1
  103. package/dist/public/assets/_CNxQmnEe.js.br +0 -0
  104. package/dist/public/assets/{_StWtWtbU.js → _CO6THKsI.js} +1 -1
  105. package/dist/public/assets/_CO6THKsI.js.br +0 -0
  106. package/dist/public/assets/_COhQcP8F.js +1 -0
  107. package/dist/public/assets/{_t_pyFCPM.js → _CPZZ4vJW.js} +1 -1
  108. package/dist/public/assets/_CPZZ4vJW.js.br +0 -0
  109. package/dist/public/assets/{_8vTq6qLS.js → _CSdfsUdH.js} +1 -1
  110. package/dist/public/assets/_CSdfsUdH.js.br +0 -0
  111. package/dist/public/assets/{_D8G0ZMqR.js → _CSzv5kvc.js} +1 -1
  112. package/dist/public/assets/_CSzv5kvc.js.br +0 -0
  113. package/dist/public/assets/{_nfG6JTsL.js → _CVHHTcBT.js} +1 -1
  114. package/dist/public/assets/_CVHHTcBT.js.br +0 -0
  115. package/dist/public/assets/{_CQnNB-3A.js → _CYlVxjXg.js} +1 -1
  116. package/dist/public/assets/_CYlVxjXg.js.br +0 -0
  117. package/dist/public/assets/_CZ2RxoCV.js +1 -0
  118. package/dist/public/assets/_CZ7jnHvw.js +1 -0
  119. package/dist/public/assets/_CZxnhlEx.js +1 -0
  120. package/dist/public/assets/_CbBG5S7C.js +1 -0
  121. package/dist/public/assets/{_DXg3BbTy.js → _CcpSuSRT.js} +1 -1
  122. package/dist/public/assets/_CcpSuSRT.js.br +0 -0
  123. package/dist/public/assets/{_BhIK_6Kg.js → _Cddc_LsD.js} +1 -1
  124. package/dist/public/assets/_Cddc_LsD.js.br +0 -0
  125. package/dist/public/assets/_CgIzMR7K.js +1 -0
  126. package/dist/public/assets/_Cgi8XB6p.js +1 -0
  127. package/dist/public/assets/_ChGY7ePg.js +1 -0
  128. package/dist/public/assets/_CiwlygYO.js +1 -0
  129. package/dist/public/assets/{_6g6SujJ2.js → _Cj5zYMLc.js} +1 -1
  130. package/dist/public/assets/_Cj5zYMLc.js.br +0 -0
  131. package/dist/public/assets/_Cjaur-f1.js +1 -0
  132. package/dist/public/assets/_CnO_qvcj.js +1 -0
  133. package/dist/public/assets/_Co8hVEg6.js +1 -0
  134. package/dist/public/assets/_CollFhtz.js +1 -0
  135. package/dist/public/assets/_CpS8syvP.js +1 -0
  136. package/dist/public/assets/{_C5ECWMFc.js → _Cpg-aLCI.js} +1 -1
  137. package/dist/public/assets/_Cpg-aLCI.js.br +0 -0
  138. package/dist/public/assets/_CuR0shb6.js +1 -0
  139. package/dist/public/assets/{_CG73bixh.js → _CxogMriu.js} +1 -1
  140. package/dist/public/assets/_CxogMriu.js.br +0 -0
  141. package/dist/public/assets/{_CggDTTED.js → _D-EsTY16.js} +1 -1
  142. package/dist/public/assets/_D-EsTY16.js.br +0 -0
  143. package/dist/public/assets/{_BhDbMiEB.js → _D15UO248.js} +1 -1
  144. package/dist/public/assets/_D15UO248.js.br +0 -0
  145. package/dist/public/assets/_D1fJNxNh.js +1 -0
  146. package/dist/public/assets/{_CvJ2RPeK.js → _D2nhMXnB.js} +1 -1
  147. package/dist/public/assets/_D2nhMXnB.js.br +0 -0
  148. package/dist/public/assets/{_DNE7lExm.js → _D3BrqmW3.js} +1 -1
  149. package/dist/public/assets/_D3BrqmW3.js.br +0 -0
  150. package/dist/public/assets/_D4LcRcEL.js +1 -0
  151. package/dist/public/assets/{_ClNznNkb.js → _D6tNI64n.js} +1 -1
  152. package/dist/public/assets/_D6tNI64n.js.br +0 -0
  153. package/dist/public/assets/_D7azIPXy.js +1 -0
  154. package/dist/public/assets/{_CsFeiUg5.js → _D85ms39_.js} +1 -1
  155. package/dist/public/assets/_D85ms39_.js.br +0 -0
  156. package/dist/public/assets/_D9pxwrBf.js +1 -0
  157. package/dist/public/assets/{_CgWqFJ8V.js → _DBQaCeIv.js} +1 -1
  158. package/dist/public/assets/_DBQaCeIv.js.br +0 -0
  159. package/dist/public/assets/{_CP5JADJU.js → _DBuEBXyo.js} +1 -1
  160. package/dist/public/assets/_DBuEBXyo.js.br +0 -0
  161. package/dist/public/assets/_DCL3Z8gQ.js +1 -0
  162. package/dist/public/assets/{_D2zIKrki.js → _DDwBqlM9.js} +1 -1
  163. package/dist/public/assets/_DDwBqlM9.js.br +0 -0
  164. package/dist/public/assets/{_Uve2CNMl.js → _DEUgpkk7.js} +1 -1
  165. package/dist/public/assets/_DEUgpkk7.js.br +0 -0
  166. package/dist/public/assets/{_DK1ZncTv.js → _DJNU34bY.js} +1 -1
  167. package/dist/public/assets/_DJNU34bY.js.br +0 -0
  168. package/dist/public/assets/{_DEUVbrfF.js → _DLoQ1vGB.js} +1 -1
  169. package/dist/public/assets/_DLoQ1vGB.js.br +0 -0
  170. package/dist/public/assets/_DLxnKzwp.js +1 -0
  171. package/dist/public/assets/_DO4kDS_d.js +1 -0
  172. package/dist/public/assets/{_DBxUnjTM.js → _DOEQ6gyp.js} +1 -1
  173. package/dist/public/assets/_DOEQ6gyp.js.br +0 -0
  174. package/dist/public/assets/{_DuHvwzxz.js → _DPwbltdv.js} +1 -1
  175. package/dist/public/assets/_DPwbltdv.js.br +0 -0
  176. package/dist/public/assets/{_WJ7T73ir.js → _DSsCtSdr.js} +1 -1
  177. package/dist/public/assets/_DSsCtSdr.js.br +0 -0
  178. package/dist/public/assets/{_DICQEe8z.js → _DTwhK0FE.js} +1 -1
  179. package/dist/public/assets/_DTwhK0FE.js.br +0 -0
  180. package/dist/public/assets/_DTxkzdaT.js +1 -0
  181. package/dist/public/assets/{_yUuIt4SG.js → _DWUvOCCW.js} +1 -1
  182. package/dist/public/assets/_DWUvOCCW.js.br +0 -0
  183. package/dist/public/assets/{_KXOK3obd.js → _DYNAELGz.js} +1 -1
  184. package/dist/public/assets/_DYNAELGz.js.br +0 -0
  185. package/dist/public/assets/{_Pzc7oFQT.js → _DZfTkCOb.js} +1 -1
  186. package/dist/public/assets/_DZfTkCOb.js.br +0 -0
  187. package/dist/public/assets/{_B40rB77R.js → _D_juFZAi.js} +1 -1
  188. package/dist/public/assets/_D_juFZAi.js.br +0 -0
  189. package/dist/public/assets/{_NGVZSDLz.js → _Daz4Wc9z.js} +1 -1
  190. package/dist/public/assets/_Daz4Wc9z.js.br +0 -0
  191. package/dist/public/assets/{_DTvlzecX.js → _DbHrFBGA.js} +1 -1
  192. package/dist/public/assets/_DbHrFBGA.js.br +0 -0
  193. package/dist/public/assets/_DbtIy22h.js +1 -0
  194. package/dist/public/assets/{_BWcme9a_.js → _DeYefQ1v.js} +1 -1
  195. package/dist/public/assets/_DeYefQ1v.js.br +0 -0
  196. package/dist/public/assets/{_B8V4hmus.js → _DfLxtOsp.js} +1 -1
  197. package/dist/public/assets/_DgATniHD.js +1 -0
  198. package/dist/public/assets/{_J8paDeyy.js → _Dkdwl4S3.js} +1 -1
  199. package/dist/public/assets/_Dkdwl4S3.js.br +0 -0
  200. package/dist/public/assets/{_C5sopOQl.js → _DnhOiFRu.js} +1 -1
  201. package/dist/public/assets/_DnhOiFRu.js.br +0 -0
  202. package/dist/public/assets/{_BGjGy0xI.js → _DqTOmzn1.js} +1 -1
  203. package/dist/public/assets/_DqTOmzn1.js.br +0 -0
  204. package/dist/public/assets/{_7hRMOvO7.js → _DqW-Yzmo.js} +1 -1
  205. package/dist/public/assets/_DqW-Yzmo.js.br +0 -0
  206. package/dist/public/assets/{_BxJxfOY_.js → _DqbXK3pX.js} +1 -1
  207. package/dist/public/assets/_DqbXK3pX.js.br +0 -0
  208. package/dist/public/assets/{_BTqVnYu4.js → _DtQ7k7bb.js} +1 -1
  209. package/dist/public/assets/_DtQ7k7bb.js.br +0 -0
  210. package/dist/public/assets/_Dv4G8cNv.js +1 -0
  211. package/dist/public/assets/{_CSXyBWUw.js → _Dx6HO4Ku.js} +1 -1
  212. package/dist/public/assets/_Dx6HO4Ku.js.br +0 -0
  213. package/dist/public/assets/{_UYhSTFDT.js → _DxnPtUcK.js} +1 -1
  214. package/dist/public/assets/_DxnPtUcK.js.br +0 -0
  215. package/dist/public/assets/_Dz1tuOZt.js +1 -0
  216. package/dist/public/assets/{_cyjaD_4Y.js → _DzisVVA-.js} +1 -1
  217. package/dist/public/assets/_DzisVVA-.js.br +0 -0
  218. package/dist/public/assets/{_D5n_t1qr.js → _GIHmFA8T.js} +1 -1
  219. package/dist/public/assets/_GIHmFA8T.js.br +0 -0
  220. package/dist/public/assets/{_CvbYcqlD.js → _GnXECnvx.js} +1 -1
  221. package/dist/public/assets/_GnXECnvx.js.br +0 -0
  222. package/dist/public/assets/{_BQ70Xhzt.js → _Heh9XjIX.js} +1 -1
  223. package/dist/public/assets/_Heh9XjIX.js.br +0 -0
  224. package/dist/public/assets/_IFT-mENF.js +1 -0
  225. package/dist/public/assets/_QKIqvdrv.js +1 -0
  226. package/dist/public/assets/_Qi-svy7j.js +1 -0
  227. package/dist/public/assets/_QlvRHslY.js +1 -0
  228. package/dist/public/assets/{_Ce6rJ5AP.js → _QukTLS8R.js} +1 -1
  229. package/dist/public/assets/_QukTLS8R.js.br +0 -0
  230. package/dist/public/assets/_RUm92R2s.js +1 -0
  231. package/dist/public/assets/{_BGTDT6Pk.js → _RhVjbVLo.js} +1 -1
  232. package/dist/public/assets/_RhVjbVLo.js.br +0 -0
  233. package/dist/public/assets/{_iEva2sdQ.js → _RokeZHHI.js} +1 -1
  234. package/dist/public/assets/_RokeZHHI.js.br +0 -0
  235. package/dist/public/assets/{_PB8-CaMD.js → _SwevrKCS.js} +1 -1
  236. package/dist/public/assets/_SwevrKCS.js.br +0 -0
  237. package/dist/public/assets/_TjXqdotn.js +1 -0
  238. package/dist/public/assets/{_9jCIauO9.js → _TlNZUVBb.js} +1 -1
  239. package/dist/public/assets/_TlNZUVBb.js.br +0 -0
  240. package/dist/public/assets/_TpX8k7_f.js +1 -0
  241. package/dist/public/assets/_VqB-J9im.js +1 -0
  242. package/dist/public/assets/_WUgulz9I.js +1 -0
  243. package/dist/public/assets/{_3bK-0DlE.js → _X5yuz1Jt.js} +1 -1
  244. package/dist/public/assets/_X5yuz1Jt.js.br +0 -0
  245. package/dist/public/assets/{_BUZxZukP.js → _Xmt7-6l-.js} +1 -1
  246. package/dist/public/assets/_ZjG3xsfH.js +1 -0
  247. package/dist/public/assets/{_DlRZkMGr.js → __LGYfCZ1.js} +1 -1
  248. package/dist/public/assets/__LGYfCZ1.js.br +0 -0
  249. package/dist/public/assets/{_BEGVfE6F.js → __TKcC8Rk.js} +1 -1
  250. package/dist/public/assets/{_DzdcJaTX.js → _dJzhthEX.js} +1 -1
  251. package/dist/public/assets/_dJzhthEX.js.br +0 -0
  252. package/dist/public/assets/_er_ag8WG.js +1 -0
  253. package/dist/public/assets/{_BKx3qYX2.js → _gEuooAcG.js} +1 -1
  254. package/dist/public/assets/_gEuooAcG.js.br +0 -0
  255. package/dist/public/assets/_hjow2z7C.js +1 -0
  256. package/dist/public/assets/_i0rxgl22.js +1 -0
  257. package/dist/public/assets/{_h3jSfhgQ.js → _is4kjAf5.js} +1 -1
  258. package/dist/public/assets/_is4kjAf5.js.br +0 -0
  259. package/dist/public/assets/{_BhBzc4nS.js → _kGedhPRZ.js} +1 -1
  260. package/dist/public/assets/_kGedhPRZ.js.br +0 -0
  261. package/dist/public/assets/_lQPVfivw.js +1 -0
  262. package/dist/public/assets/{_Clcsfb88.js → _mzrulPrZ.js} +1 -1
  263. package/dist/public/assets/_mzrulPrZ.js.br +0 -0
  264. package/dist/public/assets/_nqaSidOJ.js +1 -0
  265. package/dist/public/assets/{_DeysZs-r.js → _pcdgpOW7.js} +1 -1
  266. package/dist/public/assets/_pcdgpOW7.js.br +0 -0
  267. package/dist/public/assets/{_BnyznOWr.js → _tyMGkzXn.js} +1 -1
  268. package/dist/public/assets/_tyMGkzXn.js.br +0 -0
  269. package/dist/public/assets/_w3tPr5Lm.js +1 -0
  270. package/dist/public/assets/{_DwsVQzNN.js → _wGU0RujQ.js} +1 -1
  271. package/dist/public/assets/_wGU0RujQ.js.br +0 -0
  272. package/dist/public/assets/{_C4-BxQOL.js → _wJj1Q2aQ.js} +1 -1
  273. package/dist/public/assets/_wJj1Q2aQ.js.br +0 -0
  274. package/dist/public/assets/_yIHpsiYo.js +1 -0
  275. package/dist/public/assets/_yPDvjct7.js +1 -0
  276. package/dist/public/assets/{_BSm7KQqL.js → _zc-07Z_6.js} +1 -1
  277. package/dist/public/assets/_zc-07Z_6.js.br +0 -0
  278. package/dist/public/assets/files-view-z2uXSAr7.js +2 -0
  279. package/dist/public/assets/manage-workspace-Bu_T1BMZ.js +2 -0
  280. package/dist/public/assets/new-CGPJgrVS.js +1 -0
  281. package/dist/public/assets/new-workspace-bmhf0_uo.js +2 -0
  282. package/dist/public/assets/review-view-C2ZPRu3O.js +2 -0
  283. package/dist/public/assets/settings-CGPJgrVS.js +1 -0
  284. package/dist/public/assets/settings-page-ChsYrloF.js +2 -0
  285. package/dist/public/assets/{styles-qJ3fhMtC.css → styles-CSnsKAEy.css} +1 -1
  286. package/dist/public/assets/styles-CSnsKAEy.css.br +0 -0
  287. package/dist/public/assets/w-CGPJgrVS.js +1 -0
  288. package/dist/public/assets/w._-B2IgHUQE.js +1 -0
  289. package/dist/public/assets/w._-CGPJgrVS.js +1 -0
  290. package/dist/public/assets/w._-KMVLWg3Y.js +1 -0
  291. package/package.json +1 -1
  292. package/dist/public/assets/_0Hm2LyQ2.js +0 -1
  293. package/dist/public/assets/_12pt_cpp.js.br +0 -0
  294. package/dist/public/assets/_3bK-0DlE.js.br +0 -0
  295. package/dist/public/assets/_6g6SujJ2.js.br +0 -0
  296. package/dist/public/assets/_7hRMOvO7.js.br +0 -0
  297. package/dist/public/assets/_8vTq6qLS.js.br +0 -0
  298. package/dist/public/assets/_9jCIauO9.js.br +0 -0
  299. package/dist/public/assets/_B1zpZES0.js +0 -1
  300. package/dist/public/assets/_B3iG96V2.js +0 -1
  301. package/dist/public/assets/_B40rB77R.js.br +0 -0
  302. package/dist/public/assets/_BAv0xULj.js +0 -1
  303. package/dist/public/assets/_BBkHV4V5.js +0 -1
  304. package/dist/public/assets/_BCCksBnO.js +0 -1
  305. package/dist/public/assets/_BDoEh9E0.js.br +0 -0
  306. package/dist/public/assets/_BGTDT6Pk.js.br +0 -0
  307. package/dist/public/assets/_BGjGy0xI.js.br +0 -0
  308. package/dist/public/assets/_BGoAMEqn.js +0 -1
  309. package/dist/public/assets/_BH_-kYR_.js +0 -1
  310. package/dist/public/assets/_BKx3qYX2.js.br +0 -0
  311. package/dist/public/assets/_BPGZdngW.js +0 -1
  312. package/dist/public/assets/_BQ70Xhzt.js.br +0 -0
  313. package/dist/public/assets/_BQxbVYDE.js +0 -1
  314. package/dist/public/assets/_BSNo1Oss.js +0 -1
  315. package/dist/public/assets/_BSm7KQqL.js.br +0 -0
  316. package/dist/public/assets/_BTqVnYu4.js.br +0 -0
  317. package/dist/public/assets/_BVGYsLAV.js +0 -1
  318. package/dist/public/assets/_BVhaggdm.js +0 -1
  319. package/dist/public/assets/_BWIeYV0i.js +0 -1
  320. package/dist/public/assets/_BWcme9a_.js.br +0 -0
  321. package/dist/public/assets/_BY5Vweqs.js +0 -1
  322. package/dist/public/assets/_BYohNEMy.js +0 -1
  323. package/dist/public/assets/_B_Y9wFCK.js +0 -1
  324. package/dist/public/assets/_B_rcZW-Q.js +0 -1
  325. package/dist/public/assets/_BaJzHsWa.js.br +0 -0
  326. package/dist/public/assets/_BaqcWg2A.js +0 -1
  327. package/dist/public/assets/_BbxZbayc.js +0 -1
  328. package/dist/public/assets/_BcAC_ZOu.js.br +0 -0
  329. package/dist/public/assets/_BcAujmRK.js +0 -1
  330. package/dist/public/assets/_BcKb8rS7.js +0 -1
  331. package/dist/public/assets/_BcMCugVK.js +0 -1
  332. package/dist/public/assets/_BgKIvyxZ.js.br +0 -0
  333. package/dist/public/assets/_BhBzc4nS.js.br +0 -0
  334. package/dist/public/assets/_BhDbMiEB.js.br +0 -0
  335. package/dist/public/assets/_BhIK_6Kg.js.br +0 -0
  336. package/dist/public/assets/_BjnaomyH.js +0 -1
  337. package/dist/public/assets/_BkjlSxSs.js +0 -1
  338. package/dist/public/assets/_BlMl0eft.js.br +0 -0
  339. package/dist/public/assets/_BmdHPP6N.js.br +0 -0
  340. package/dist/public/assets/_BnyznOWr.js.br +0 -0
  341. package/dist/public/assets/_BplOIofS.js.br +0 -0
  342. package/dist/public/assets/_Brj7jzAl.js.br +0 -0
  343. package/dist/public/assets/_BsWsZQg-.js +0 -1
  344. package/dist/public/assets/_BvQ7uhy5.js +0 -1
  345. package/dist/public/assets/_BwFwi2MD.js +0 -1
  346. package/dist/public/assets/_BwIFYL7R.js.br +0 -0
  347. package/dist/public/assets/_BwYmQja6.js +0 -1
  348. package/dist/public/assets/_BxJxfOY_.js.br +0 -0
  349. package/dist/public/assets/_C0AS59jv.js.br +0 -0
  350. package/dist/public/assets/_C1u7ymSK.js +0 -1
  351. package/dist/public/assets/_C4-BxQOL.js.br +0 -0
  352. package/dist/public/assets/_C5ECWMFc.js.br +0 -0
  353. package/dist/public/assets/_C5OdKGnP.js +0 -1
  354. package/dist/public/assets/_C5sopOQl.js.br +0 -0
  355. package/dist/public/assets/_CAvckhsg.js +0 -1
  356. package/dist/public/assets/_CG73bixh.js.br +0 -0
  357. package/dist/public/assets/_CP5JADJU.js.br +0 -0
  358. package/dist/public/assets/_CQnNB-3A.js.br +0 -0
  359. package/dist/public/assets/_CRGUAGyM.js.br +0 -0
  360. package/dist/public/assets/_CRGesoRt.js.br +0 -0
  361. package/dist/public/assets/_CRYr3mRm.js +0 -1
  362. package/dist/public/assets/_CRfZHOUL.js +0 -1
  363. package/dist/public/assets/_CSFChTJj.js +0 -1
  364. package/dist/public/assets/_CSXyBWUw.js.br +0 -0
  365. package/dist/public/assets/_CWrZEbuS.js +0 -1
  366. package/dist/public/assets/_CWusF1A0.js +0 -1
  367. package/dist/public/assets/_CWvb3Nho.js.br +0 -0
  368. package/dist/public/assets/_CZob1ZIm.js +0 -1
  369. package/dist/public/assets/_Cah7hZ79.js +0 -1
  370. package/dist/public/assets/_CarqmL_e.js +0 -1
  371. package/dist/public/assets/_Cb2VGc0b.js.br +0 -0
  372. package/dist/public/assets/_Cb3MkpsJ.js.br +0 -0
  373. package/dist/public/assets/_CdYmO_tc.js +0 -1
  374. package/dist/public/assets/_Ce6rJ5AP.js.br +0 -0
  375. package/dist/public/assets/_CgWqFJ8V.js.br +0 -0
  376. package/dist/public/assets/_CggDTTED.js.br +0 -0
  377. package/dist/public/assets/_ChCSJfs-.js +0 -1
  378. package/dist/public/assets/_CiNbGIYO.js.br +0 -0
  379. package/dist/public/assets/_Cl2BdUoD.js +0 -1
  380. package/dist/public/assets/_ClNznNkb.js.br +0 -0
  381. package/dist/public/assets/_Clcsfb88.js.br +0 -0
  382. package/dist/public/assets/_ConW6_gr.js +0 -1
  383. package/dist/public/assets/_CotxSu8a.js +0 -1
  384. package/dist/public/assets/_CsFeiUg5.js.br +0 -0
  385. package/dist/public/assets/_CtuKQhvu.js +0 -1
  386. package/dist/public/assets/_CvJ2RPeK.js.br +0 -0
  387. package/dist/public/assets/_CvbYcqlD.js.br +0 -0
  388. package/dist/public/assets/_CvliDf9T.js +0 -1
  389. package/dist/public/assets/_D2zIKrki.js.br +0 -0
  390. package/dist/public/assets/_D45KtZQs.js +0 -1
  391. package/dist/public/assets/_D5n_t1qr.js.br +0 -0
  392. package/dist/public/assets/_D7mkQXmc.js +0 -1
  393. package/dist/public/assets/_D8G0ZMqR.js.br +0 -0
  394. package/dist/public/assets/_DBxUnjTM.js.br +0 -0
  395. package/dist/public/assets/_DEUVbrfF.js.br +0 -0
  396. package/dist/public/assets/_DEVfrnMW.js.br +0 -0
  397. package/dist/public/assets/_DGqJ7tv6.js +0 -1
  398. package/dist/public/assets/_DICQEe8z.js.br +0 -0
  399. package/dist/public/assets/_DJsya2dG.js +0 -1
  400. package/dist/public/assets/_DK1ZncTv.js.br +0 -0
  401. package/dist/public/assets/_DK87UTQP.js.br +0 -0
  402. package/dist/public/assets/_DKHJnWTa.js +0 -1
  403. package/dist/public/assets/_DKPPnzAq.js +0 -1
  404. package/dist/public/assets/_DMFeffOW.js.br +0 -0
  405. package/dist/public/assets/_DNE7lExm.js.br +0 -0
  406. package/dist/public/assets/_DQptDg09.js.br +0 -0
  407. package/dist/public/assets/_DTvlzecX.js.br +0 -0
  408. package/dist/public/assets/_DXg3BbTy.js.br +0 -0
  409. package/dist/public/assets/_DdKy0bgc.js +0 -1
  410. package/dist/public/assets/_DdOn8o5S.js +0 -1
  411. package/dist/public/assets/_DdpQPp3U.js +0 -1
  412. package/dist/public/assets/_De7j9e3A.js +0 -1
  413. package/dist/public/assets/_DeysZs-r.js.br +0 -0
  414. package/dist/public/assets/_Dg7iMH82.js.br +0 -0
  415. package/dist/public/assets/_DkgBF40z.js +0 -1
  416. package/dist/public/assets/_DlRZkMGr.js.br +0 -0
  417. package/dist/public/assets/_Dn4suMdu.js.br +0 -0
  418. package/dist/public/assets/_DoVDVg4g.js.br +0 -0
  419. package/dist/public/assets/_DtRk7oyF.js +0 -1
  420. package/dist/public/assets/_DuHvwzxz.js.br +0 -0
  421. package/dist/public/assets/_DuSQNbJ4.js +0 -1
  422. package/dist/public/assets/_Dwddd4XH.js +0 -1
  423. package/dist/public/assets/_DwsVQzNN.js.br +0 -0
  424. package/dist/public/assets/_DyJ1IhOU.js.br +0 -0
  425. package/dist/public/assets/_DzIW9Pih.js +0 -1
  426. package/dist/public/assets/_DzdcJaTX.js.br +0 -0
  427. package/dist/public/assets/_Dzzu9lWS.js +0 -1
  428. package/dist/public/assets/_EFG-hTsi.js +0 -1
  429. package/dist/public/assets/_EJQ6FtY9.js.br +0 -0
  430. package/dist/public/assets/_II6olDXS.js +0 -1
  431. package/dist/public/assets/_IyM-MrfZ.js +0 -1
  432. package/dist/public/assets/_J8paDeyy.js.br +0 -0
  433. package/dist/public/assets/_KGghoUbT.js.br +0 -0
  434. package/dist/public/assets/_KXOK3obd.js.br +0 -0
  435. package/dist/public/assets/_LjNRPacD.js +0 -1
  436. package/dist/public/assets/_NGVZSDLz.js.br +0 -0
  437. package/dist/public/assets/_NMGm82Oo.js.br +0 -0
  438. package/dist/public/assets/_OpkFXYVg.js +0 -1
  439. package/dist/public/assets/_PB8-CaMD.js.br +0 -0
  440. package/dist/public/assets/_Pzc7oFQT.js.br +0 -0
  441. package/dist/public/assets/_QxY7257x.js.br +0 -0
  442. package/dist/public/assets/_R0HfaTJ2.js.br +0 -0
  443. package/dist/public/assets/_SMJfF5ho.js +0 -1
  444. package/dist/public/assets/_SZlUq28x.js +0 -1
  445. package/dist/public/assets/_StWtWtbU.js.br +0 -0
  446. package/dist/public/assets/_UYhSTFDT.js.br +0 -0
  447. package/dist/public/assets/_Uve2CNMl.js.br +0 -0
  448. package/dist/public/assets/_VBIua3Sj.js.br +0 -0
  449. package/dist/public/assets/_WJ7T73ir.js.br +0 -0
  450. package/dist/public/assets/_XFbSv956.js +0 -1
  451. package/dist/public/assets/_Xeda5Pu6.js +0 -1
  452. package/dist/public/assets/_ZPN8FpDZ.js +0 -1
  453. package/dist/public/assets/_aLo6LTw0.js +0 -1
  454. package/dist/public/assets/_bbw_68dj.js +0 -1
  455. package/dist/public/assets/_cyjaD_4Y.js.br +0 -0
  456. package/dist/public/assets/_h3jSfhgQ.js.br +0 -0
  457. package/dist/public/assets/_iEva2sdQ.js.br +0 -0
  458. package/dist/public/assets/_iseBk_FL.js +0 -1
  459. package/dist/public/assets/_jTw8cMo4.js +0 -1
  460. package/dist/public/assets/_nfG6JTsL.js.br +0 -0
  461. package/dist/public/assets/_oYz3TC9I.js +0 -1
  462. package/dist/public/assets/_t_pyFCPM.js.br +0 -0
  463. package/dist/public/assets/_y8T9FBgv.js +0 -1
  464. package/dist/public/assets/_yUuIt4SG.js.br +0 -0
  465. package/dist/public/assets/_zQ6IdK8p.js.br +0 -0
  466. package/dist/public/assets/files-view-GTN1vsKN.js +0 -2
  467. package/dist/public/assets/manage-workspace-xxjS8sYW.js +0 -2
  468. package/dist/public/assets/new-CC02kDiW.js +0 -1
  469. package/dist/public/assets/new-workspace-C_iCEd7X.js +0 -2
  470. package/dist/public/assets/review-view-BPWeo9U5.js +0 -2
  471. package/dist/public/assets/settings-CC02kDiW.js +0 -1
  472. package/dist/public/assets/settings-page-CrSEKyZ0.js +0 -2
  473. package/dist/public/assets/styles-qJ3fhMtC.css.br +0 -0
  474. package/dist/public/assets/w-CC02kDiW.js +0 -1
  475. package/dist/public/assets/w._-BimS4oiY.js +0 -1
  476. package/dist/public/assets/w._-CC02kDiW.js +0 -1
  477. package/dist/public/assets/w._-HFYSY_7Y.js +0 -1
@@ -1 +1 @@
1
- import{nn as e}from"./_EJQ6FtY9.js";import{t}from"./_NMGm82Oo.js";var n=e({default:()=>i}),r=Object.freeze(JSON.parse('{"displayName":"TeX","name":"tex","patterns":[{"include":"#iffalse-block"},{"include":"#macro-control"},{"include":"#catcode"},{"include":"#comment"},{"match":"[]\\\\[]","name":"punctuation.definition.brackets.tex"},{"include":"#dollar-math"},{"match":"\\\\\\\\\\\\\\\\","name":"keyword.control.newline.tex"},{"include":"#ifnextchar"},{"include":"#macro-general"}],"repository":{"braces":{"begin":"(?<!\\\\\\\\)\\\\{","beginCaptures":{"0":{"name":"punctuation.group.begin.tex"}},"end":"(?<!\\\\\\\\)}","endCaptures":{"0":{"name":"punctuation.group.end.tex"}},"name":"meta.group.braces.tex","patterns":[{"include":"#braces"}]},"catcode":{"captures":{"1":{"name":"keyword.control.catcode.tex"},"2":{"name":"punctuation.definition.keyword.tex"},"3":{"name":"punctuation.separator.key-value.tex"},"4":{"name":"constant.numeric.category.tex"}},"match":"((\\\\\\\\)catcode)`\\\\\\\\?.(=)(\\\\d+)","name":"meta.catcode.tex"},"comment":{"begin":"(^[\\\\t ]+)?(?=%)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.tex"}},"end":"(?!\\\\G)","patterns":[{"begin":"%:?","beginCaptures":{"0":{"name":"punctuation.definition.comment.tex"}},"end":"$\\\\n?","name":"comment.line.percentage.tex"},{"begin":"^(%!TEX) (\\\\S*) =","beginCaptures":{"1":{"name":"punctuation.definition.comment.tex"}},"end":"$\\\\n?","name":"comment.line.percentage.directive.tex"}]},"conditionals":{"begin":"(?<=^\\\\s*)\\\\\\\\if(?!f\\\\b)[a-z]*","end":"(?<=^\\\\s*)\\\\\\\\fi","patterns":[{"include":"#comment"},{"include":"#conditionals"}]},"dollar-math":{"begin":"(\\\\$\\\\$?)","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.tex"}},"end":"(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.string.end.tex"}},"name":"meta.math.block.tex support.class.math.block.tex","patterns":[{"match":"\\\\\\\\\\\\$","name":"constant.character.escape.tex"},{"include":"#math-content"},{"include":"$self"}]},"iffalse-block":{"begin":"(?<=^\\\\s*)((\\\\\\\\)iffalse)(?!\\\\s*[{}]\\\\s*\\\\\\\\fi\\\\b)","beginCaptures":{"1":{"name":"keyword.control.tex"},"2":{"name":"punctuation.definition.keyword.tex"}},"contentName":"comment.line.percentage.tex","end":"((\\\\\\\\)(?:else|fi))\\\\b","endCaptures":{"1":{"name":"keyword.control.tex"},"2":{"name":"punctuation.definition.keyword.tex"}},"patterns":[{"include":"#comment"},{"include":"#braces"},{"include":"#conditionals"}]},"ifnextchar":{"match":"\\\\\\\\@ifnextchar[(\\\\[{]","name":"keyword.control.ifnextchar.tex"},"macro-control":{"captures":{"1":{"name":"punctuation.definition.keyword.tex"}},"match":"(\\\\\\\\)(backmatter|csname|else|endcsname|fi|frontmatter|mainmatter|unless|if(case|cat|csname|defined|dim|eof|false|fontchar|hbox|hmode|inner|mmode|num|odd|true|vbox|vmode|void|x)?)(?![@-Za-z])","name":"keyword.control.tex"},"macro-general":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.function.tex"}},"match":"(\\\\\\\\)_*[@\\\\p{Alphabetic}]+(?:_[@\\\\p{Alphabetic}]+)*:[DFNTVcefnopvwx]*","name":"support.class.general.latex3.tex"},{"captures":{"1":{"name":"punctuation.definition.function.tex"}},"match":"(\\\\.)[@\\\\p{Alphabetic}]+(?:_[@\\\\p{Alphabetic}]+)*:[DFNTVcefnopvwx]*","name":"support.class.general.latex3.tex"},{"captures":{"1":{"name":"punctuation.definition.function.tex"}},"match":"(\\\\\\\\)(?:[,;]|[@\\\\p{Alphabetic}]+)","name":"support.function.general.tex"},{"captures":{"1":{"name":"punctuation.definition.keyword.tex"}},"match":"(\\\\\\\\)[^@-Za-z]","name":"constant.character.escape.tex"}]},"math-content":{"patterns":[{"begin":"((\\\\\\\\)(?:text|mbox))(\\\\{)","beginCaptures":{"1":{"name":"constant.other.math.tex"},"2":{"name":"punctuation.definition.function.tex"},"3":{"name":"punctuation.definition.arguments.begin.tex meta.text.normal.tex"}},"contentName":"meta.text.normal.tex","end":"}","endCaptures":{"0":{"name":"punctuation.definition.arguments.end.tex meta.text.normal.tex"}},"patterns":[{"include":"#math-content"},{"include":"$self"}]},{"match":"\\\\\\\\[{}]","name":"punctuation.math.bracket.pair.tex"},{"match":"\\\\\\\\(left|right|((bigg??|Bigg??)[lr]?))([]().<>\\\\[|]|\\\\\\\\[{|}]|\\\\\\\\[lr]?[Vv]ert|\\\\\\\\[lr]angle)","name":"punctuation.math.bracket.pair.big.tex"},{"captures":{"1":{"name":"punctuation.definition.constant.math.tex"}},"match":"(\\\\\\\\)(s(s(earrow|warrow|lash)|h(ort(downarrow|uparrow|parallel|leftarrow|rightarrow|mid)|arp)|tar|i(gma|m(eq)?)|u(cc(sim|n(sim|approx)|curlyeq|eq|approx)?|pset(neq(q)?|plus(eq)?|eq(q)?)?|rd|m|bset(neq(q)?|plus(eq)?|eq(q)?)?)|p(hericalangle|adesuit)|e(tminus|arrow)|q(su(pset(eq)?|bset(eq)?)|c([au]p)|uare)|warrow|m(ile|all(s(etminus|mile)|frown)))|h(slash|ook((?:lef|righ)tarrow)|eartsuit|bar)|R(sh|ightarrow|e|bag)|Gam(e|ma)|n(s(hort(parallel|mid)|im|u(cc(eq)?|pseteq(q)?|bseteq))|Rightarrow|n([ew]arrow)|cong|triangle(left(eq(slant)?)?|right(eq(slant)?)?)|i(plus)?|u|p(lus|arallel|rec(eq)?)|e(q|arrow|g|xists)|v([Dd]ash)|warrow|le(ss|q(slant|q)?|ft((?:|right)arrow))|a(tural|bla)|VDash|rightarrow|g(tr|eq(slant|q)?)|mid|Left((?:|right)arrow))|c(hi|irc(eq|le(d(circ|S|dash|ast)|arrow(left|right)))?|o(ng|prod|lon|mplement)|dot([ps])?|u(p|r(vearrow(left|right)|ly(eq(succ|prec)|vee((?:down|up)arrow)?|wedge((?:down|up)arrow)?)))|enterdot|lubsuit|ap)|Xi|Maps(to(char)?|from(char)?)|B(ox|umpeq|bbk)|t(h(ick(sim|approx)|e(ta|refore))|imes|op|wohead((?:lef|righ)tarrow)|a(u|lloblong)|riangle(down|q|left(eq(slant)?)?|right(eq(slant)?)?)?)|i(n(t(er(cal|leave))?|plus|fty)?|ota|math)|S(igma|u([bp]set))|zeta|o(slash|times|int|dot|plus|vee|wedge|lessthan|greaterthan|m(inus|ega)|b(slash|long|ar))|d(i(v(ideontimes)?|a(g(down|up)|mond(suit)?)|gamma)|o(t(plus|eq(dot)?)|ublebarwedge|wn(harpoon(left|right)|downarrows|arrow))|d(ots|agger)|elta|a(sh(v|leftarrow|rightarrow)|leth|gger))|Y(down|up|left|right)|C([au]p)|u(n([lr]hd)|p(silon|harpoon(left|right)|downarrow|uparrows|lus|arrow)|lcorner|rcorner)|jmath|Theta|Im|p(si|hi|i(tchfork)?|erp|ar(tial|allel)|r(ime|o(d|pto)|ec(sim|n(sim|approx)|curlyeq|eq|approx)?)|m)|e(t([ah])|psilon|q(slant(less|gtr)|circ|uiv)|ll|xists|mptyset)|Omega|D(iamond|ownarrow|elta)|v(d(ots|ash)|ee(bar)?|Dash|ar(s(igma|u(psetneq(q)?|bsetneq(q)?))|nothing|curly(vee|wedge)|t(heta|imes|riangle(left|right)?)|o(slash|circle|times|dot|plus|vee|wedge|lessthan|ast|greaterthan|minus|b(slash|ar))|p(hi|i|ropto)|epsilon|kappa|rho|bigcirc))|kappa|Up(silon|downarrow|arrow)|Join|f(orall|lat|a(t(s(emi|lash)|bslash)|llingdotseq)|rown)|P((?:s|h?)i)|w(p|edge|r)|l(hd|n(sim|eq(q)?|approx)|ceil|times|ightning|o(ng(left((?:|right)arrow)|rightarrow|maps(to|from))|zenge|oparrow(left|right))|dot([ps])|e(ss(sim|dot|eq(q?gtr)|approx|gtr)|q(slant|q)?|ft(slice|harpoon(down|up)|threetimes|leftarrows|arrow(t(ail|riangle))?|right(squigarrow|harpoons|arrow(s|triangle|eq)?))|adsto)|vertneqq|floor|l(c(orner|eil)|floor|l|bracket)?|a(ngle|mbda)|rcorner|bag)|a(s(ymp|t)|ngle|pprox(eq)?|l(pha|eph)|rrownot|malg)|V(v??dash)|r(h([do])|ceil|times|i(singdotseq|ght(s(quigarrow|lice)|harpoon(down|up)|threetimes|left(harpoons|arrows)|arrow(t(ail|riangle))?|rightarrows))|floor|angle|r(ceil|parenthesis|floor|bracket)|bag)|g(n(sim|eq(q)?|approx)|tr(sim|dot|eq(q?less)|less|approx)|imel|eq(slant|q)?|vertneqq|amma|g(g)?)|Finv|xi|m(ho|i(nuso|d)|o(o|dels)|u(ltimap)?|p|e(asuredangle|rge)|aps(to|from(char)?))|b(i(n(dnasrepma|ampersand)|g(s(tar|qc([au]p))|nplus|c(irc|u(p|rly(vee|wedge))|ap)|triangle(down|up)|interleave|o(times|dot|plus)|uplus|parallel|vee|wedge|box))|o(t|wtie|x(slash|circle|times|dot|plus|empty|ast|minus|b(slash|ox|ar)))|u(llet|mpeq)|e(cause|t(h|ween|a))|lack(square|triangle(down|left|right)?|lozenge)|a(ck(s(im(eq)?|lash)|prime|epsilon)|r(o|wedge))|bslash)|L(sh|ong(left((?:|right)arrow)|rightarrow|maps(to|from))|eft((?:|right)arrow)|leftarrow|ambda|bag)|ge|le|Arrownot)(?![@-Za-z])","name":"constant.character.math.tex"},{"captures":{"1":{"name":"punctuation.definition.constant.math.tex"}},"match":"(\\\\\\\\)(sum|prod|coprod|int|oint|bigcap|bigcup|bigsqcup|bigvee|bigwedge|bigodot|bigotimes|bogoplus|biguplus)\\\\b","name":"constant.character.math.tex"},{"captures":{"1":{"name":"punctuation.definition.constant.math.tex"}},"match":"(\\\\\\\\)(arccos|arcsin|arctan|arg|cosh??|coth??|csc|deg|det|dim|exp|gcd|hom|inf|ker|lg|lim|liminf|limsup|ln|log|max|min|pr|sec|sinh??|sup|tanh??)\\\\b","name":"constant.other.math.tex"},{"begin":"((\\\\\\\\)Sexpr(\\\\{))","beginCaptures":{"1":{"name":"support.function.sexpr.math.tex"},"2":{"name":"punctuation.definition.function.math.tex"},"3":{"name":"punctuation.section.embedded.begin.math.tex"}},"contentName":"support.function.sexpr.math.tex","end":"(((})))","endCaptures":{"1":{"name":"support.function.sexpr.math.tex"},"2":{"name":"punctuation.section.embedded.end.math.tex"},"3":{"name":"source.r"}},"name":"meta.embedded.line.r","patterns":[{"begin":"\\\\G(?!})","end":"(?=})","name":"source.r","patterns":[{"include":"source.r"}]}]},{"captures":{"1":{"name":"punctuation.definition.constant.math.tex"}},"match":"(\\\\\\\\)(?!begin\\\\{|verb)([A-Za-z]+)","name":"constant.other.general.math.tex"},{"match":"(?<!\\\\\\\\)\\\\{","name":"punctuation.math.begin.bracket.curly.tex"},{"match":"(?<!\\\\\\\\)}","name":"punctuation.math.end.bracket.curly.tex"},{"match":"(?<!\\\\\\\\)\\\\(","name":"punctuation.math.begin.bracket.round.tex"},{"match":"(?<!\\\\\\\\)\\\\)","name":"punctuation.math.end.bracket.round.tex"},{"match":"(([0-9]*\\\\.[0-9]+)|[0-9]+)","name":"constant.numeric.math.tex"},{"match":"[-*+/]|(?<!\\\\^)\\\\^(?!\\\\^)|(?<!_)_(?!_)","name":"punctuation.math.operator.tex"}]}},"scopeName":"text.tex","embeddedLangs":["r"]}')),i=[...t,r];export{n,i as t};
1
+ import{nn as e}from"./_B0bJDqHL.js";import{t}from"./_BOFyuLjF.js";var n=e({default:()=>i}),r=Object.freeze(JSON.parse('{"displayName":"TeX","name":"tex","patterns":[{"include":"#iffalse-block"},{"include":"#macro-control"},{"include":"#catcode"},{"include":"#comment"},{"match":"[]\\\\[]","name":"punctuation.definition.brackets.tex"},{"include":"#dollar-math"},{"match":"\\\\\\\\\\\\\\\\","name":"keyword.control.newline.tex"},{"include":"#ifnextchar"},{"include":"#macro-general"}],"repository":{"braces":{"begin":"(?<!\\\\\\\\)\\\\{","beginCaptures":{"0":{"name":"punctuation.group.begin.tex"}},"end":"(?<!\\\\\\\\)}","endCaptures":{"0":{"name":"punctuation.group.end.tex"}},"name":"meta.group.braces.tex","patterns":[{"include":"#braces"}]},"catcode":{"captures":{"1":{"name":"keyword.control.catcode.tex"},"2":{"name":"punctuation.definition.keyword.tex"},"3":{"name":"punctuation.separator.key-value.tex"},"4":{"name":"constant.numeric.category.tex"}},"match":"((\\\\\\\\)catcode)`\\\\\\\\?.(=)(\\\\d+)","name":"meta.catcode.tex"},"comment":{"begin":"(^[\\\\t ]+)?(?=%)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.tex"}},"end":"(?!\\\\G)","patterns":[{"begin":"%:?","beginCaptures":{"0":{"name":"punctuation.definition.comment.tex"}},"end":"$\\\\n?","name":"comment.line.percentage.tex"},{"begin":"^(%!TEX) (\\\\S*) =","beginCaptures":{"1":{"name":"punctuation.definition.comment.tex"}},"end":"$\\\\n?","name":"comment.line.percentage.directive.tex"}]},"conditionals":{"begin":"(?<=^\\\\s*)\\\\\\\\if(?!f\\\\b)[a-z]*","end":"(?<=^\\\\s*)\\\\\\\\fi","patterns":[{"include":"#comment"},{"include":"#conditionals"}]},"dollar-math":{"begin":"(\\\\$\\\\$?)","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.tex"}},"end":"(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.string.end.tex"}},"name":"meta.math.block.tex support.class.math.block.tex","patterns":[{"match":"\\\\\\\\\\\\$","name":"constant.character.escape.tex"},{"include":"#math-content"},{"include":"$self"}]},"iffalse-block":{"begin":"(?<=^\\\\s*)((\\\\\\\\)iffalse)(?!\\\\s*[{}]\\\\s*\\\\\\\\fi\\\\b)","beginCaptures":{"1":{"name":"keyword.control.tex"},"2":{"name":"punctuation.definition.keyword.tex"}},"contentName":"comment.line.percentage.tex","end":"((\\\\\\\\)(?:else|fi))\\\\b","endCaptures":{"1":{"name":"keyword.control.tex"},"2":{"name":"punctuation.definition.keyword.tex"}},"patterns":[{"include":"#comment"},{"include":"#braces"},{"include":"#conditionals"}]},"ifnextchar":{"match":"\\\\\\\\@ifnextchar[(\\\\[{]","name":"keyword.control.ifnextchar.tex"},"macro-control":{"captures":{"1":{"name":"punctuation.definition.keyword.tex"}},"match":"(\\\\\\\\)(backmatter|csname|else|endcsname|fi|frontmatter|mainmatter|unless|if(case|cat|csname|defined|dim|eof|false|fontchar|hbox|hmode|inner|mmode|num|odd|true|vbox|vmode|void|x)?)(?![@-Za-z])","name":"keyword.control.tex"},"macro-general":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.function.tex"}},"match":"(\\\\\\\\)_*[@\\\\p{Alphabetic}]+(?:_[@\\\\p{Alphabetic}]+)*:[DFNTVcefnopvwx]*","name":"support.class.general.latex3.tex"},{"captures":{"1":{"name":"punctuation.definition.function.tex"}},"match":"(\\\\.)[@\\\\p{Alphabetic}]+(?:_[@\\\\p{Alphabetic}]+)*:[DFNTVcefnopvwx]*","name":"support.class.general.latex3.tex"},{"captures":{"1":{"name":"punctuation.definition.function.tex"}},"match":"(\\\\\\\\)(?:[,;]|[@\\\\p{Alphabetic}]+)","name":"support.function.general.tex"},{"captures":{"1":{"name":"punctuation.definition.keyword.tex"}},"match":"(\\\\\\\\)[^@-Za-z]","name":"constant.character.escape.tex"}]},"math-content":{"patterns":[{"begin":"((\\\\\\\\)(?:text|mbox))(\\\\{)","beginCaptures":{"1":{"name":"constant.other.math.tex"},"2":{"name":"punctuation.definition.function.tex"},"3":{"name":"punctuation.definition.arguments.begin.tex meta.text.normal.tex"}},"contentName":"meta.text.normal.tex","end":"}","endCaptures":{"0":{"name":"punctuation.definition.arguments.end.tex meta.text.normal.tex"}},"patterns":[{"include":"#math-content"},{"include":"$self"}]},{"match":"\\\\\\\\[{}]","name":"punctuation.math.bracket.pair.tex"},{"match":"\\\\\\\\(left|right|((bigg??|Bigg??)[lr]?))([]().<>\\\\[|]|\\\\\\\\[{|}]|\\\\\\\\[lr]?[Vv]ert|\\\\\\\\[lr]angle)","name":"punctuation.math.bracket.pair.big.tex"},{"captures":{"1":{"name":"punctuation.definition.constant.math.tex"}},"match":"(\\\\\\\\)(s(s(earrow|warrow|lash)|h(ort(downarrow|uparrow|parallel|leftarrow|rightarrow|mid)|arp)|tar|i(gma|m(eq)?)|u(cc(sim|n(sim|approx)|curlyeq|eq|approx)?|pset(neq(q)?|plus(eq)?|eq(q)?)?|rd|m|bset(neq(q)?|plus(eq)?|eq(q)?)?)|p(hericalangle|adesuit)|e(tminus|arrow)|q(su(pset(eq)?|bset(eq)?)|c([au]p)|uare)|warrow|m(ile|all(s(etminus|mile)|frown)))|h(slash|ook((?:lef|righ)tarrow)|eartsuit|bar)|R(sh|ightarrow|e|bag)|Gam(e|ma)|n(s(hort(parallel|mid)|im|u(cc(eq)?|pseteq(q)?|bseteq))|Rightarrow|n([ew]arrow)|cong|triangle(left(eq(slant)?)?|right(eq(slant)?)?)|i(plus)?|u|p(lus|arallel|rec(eq)?)|e(q|arrow|g|xists)|v([Dd]ash)|warrow|le(ss|q(slant|q)?|ft((?:|right)arrow))|a(tural|bla)|VDash|rightarrow|g(tr|eq(slant|q)?)|mid|Left((?:|right)arrow))|c(hi|irc(eq|le(d(circ|S|dash|ast)|arrow(left|right)))?|o(ng|prod|lon|mplement)|dot([ps])?|u(p|r(vearrow(left|right)|ly(eq(succ|prec)|vee((?:down|up)arrow)?|wedge((?:down|up)arrow)?)))|enterdot|lubsuit|ap)|Xi|Maps(to(char)?|from(char)?)|B(ox|umpeq|bbk)|t(h(ick(sim|approx)|e(ta|refore))|imes|op|wohead((?:lef|righ)tarrow)|a(u|lloblong)|riangle(down|q|left(eq(slant)?)?|right(eq(slant)?)?)?)|i(n(t(er(cal|leave))?|plus|fty)?|ota|math)|S(igma|u([bp]set))|zeta|o(slash|times|int|dot|plus|vee|wedge|lessthan|greaterthan|m(inus|ega)|b(slash|long|ar))|d(i(v(ideontimes)?|a(g(down|up)|mond(suit)?)|gamma)|o(t(plus|eq(dot)?)|ublebarwedge|wn(harpoon(left|right)|downarrows|arrow))|d(ots|agger)|elta|a(sh(v|leftarrow|rightarrow)|leth|gger))|Y(down|up|left|right)|C([au]p)|u(n([lr]hd)|p(silon|harpoon(left|right)|downarrow|uparrows|lus|arrow)|lcorner|rcorner)|jmath|Theta|Im|p(si|hi|i(tchfork)?|erp|ar(tial|allel)|r(ime|o(d|pto)|ec(sim|n(sim|approx)|curlyeq|eq|approx)?)|m)|e(t([ah])|psilon|q(slant(less|gtr)|circ|uiv)|ll|xists|mptyset)|Omega|D(iamond|ownarrow|elta)|v(d(ots|ash)|ee(bar)?|Dash|ar(s(igma|u(psetneq(q)?|bsetneq(q)?))|nothing|curly(vee|wedge)|t(heta|imes|riangle(left|right)?)|o(slash|circle|times|dot|plus|vee|wedge|lessthan|ast|greaterthan|minus|b(slash|ar))|p(hi|i|ropto)|epsilon|kappa|rho|bigcirc))|kappa|Up(silon|downarrow|arrow)|Join|f(orall|lat|a(t(s(emi|lash)|bslash)|llingdotseq)|rown)|P((?:s|h?)i)|w(p|edge|r)|l(hd|n(sim|eq(q)?|approx)|ceil|times|ightning|o(ng(left((?:|right)arrow)|rightarrow|maps(to|from))|zenge|oparrow(left|right))|dot([ps])|e(ss(sim|dot|eq(q?gtr)|approx|gtr)|q(slant|q)?|ft(slice|harpoon(down|up)|threetimes|leftarrows|arrow(t(ail|riangle))?|right(squigarrow|harpoons|arrow(s|triangle|eq)?))|adsto)|vertneqq|floor|l(c(orner|eil)|floor|l|bracket)?|a(ngle|mbda)|rcorner|bag)|a(s(ymp|t)|ngle|pprox(eq)?|l(pha|eph)|rrownot|malg)|V(v??dash)|r(h([do])|ceil|times|i(singdotseq|ght(s(quigarrow|lice)|harpoon(down|up)|threetimes|left(harpoons|arrows)|arrow(t(ail|riangle))?|rightarrows))|floor|angle|r(ceil|parenthesis|floor|bracket)|bag)|g(n(sim|eq(q)?|approx)|tr(sim|dot|eq(q?less)|less|approx)|imel|eq(slant|q)?|vertneqq|amma|g(g)?)|Finv|xi|m(ho|i(nuso|d)|o(o|dels)|u(ltimap)?|p|e(asuredangle|rge)|aps(to|from(char)?))|b(i(n(dnasrepma|ampersand)|g(s(tar|qc([au]p))|nplus|c(irc|u(p|rly(vee|wedge))|ap)|triangle(down|up)|interleave|o(times|dot|plus)|uplus|parallel|vee|wedge|box))|o(t|wtie|x(slash|circle|times|dot|plus|empty|ast|minus|b(slash|ox|ar)))|u(llet|mpeq)|e(cause|t(h|ween|a))|lack(square|triangle(down|left|right)?|lozenge)|a(ck(s(im(eq)?|lash)|prime|epsilon)|r(o|wedge))|bslash)|L(sh|ong(left((?:|right)arrow)|rightarrow|maps(to|from))|eft((?:|right)arrow)|leftarrow|ambda|bag)|ge|le|Arrownot)(?![@-Za-z])","name":"constant.character.math.tex"},{"captures":{"1":{"name":"punctuation.definition.constant.math.tex"}},"match":"(\\\\\\\\)(sum|prod|coprod|int|oint|bigcap|bigcup|bigsqcup|bigvee|bigwedge|bigodot|bigotimes|bogoplus|biguplus)\\\\b","name":"constant.character.math.tex"},{"captures":{"1":{"name":"punctuation.definition.constant.math.tex"}},"match":"(\\\\\\\\)(arccos|arcsin|arctan|arg|cosh??|coth??|csc|deg|det|dim|exp|gcd|hom|inf|ker|lg|lim|liminf|limsup|ln|log|max|min|pr|sec|sinh??|sup|tanh??)\\\\b","name":"constant.other.math.tex"},{"begin":"((\\\\\\\\)Sexpr(\\\\{))","beginCaptures":{"1":{"name":"support.function.sexpr.math.tex"},"2":{"name":"punctuation.definition.function.math.tex"},"3":{"name":"punctuation.section.embedded.begin.math.tex"}},"contentName":"support.function.sexpr.math.tex","end":"(((})))","endCaptures":{"1":{"name":"support.function.sexpr.math.tex"},"2":{"name":"punctuation.section.embedded.end.math.tex"},"3":{"name":"source.r"}},"name":"meta.embedded.line.r","patterns":[{"begin":"\\\\G(?!})","end":"(?=})","name":"source.r","patterns":[{"include":"source.r"}]}]},{"captures":{"1":{"name":"punctuation.definition.constant.math.tex"}},"match":"(\\\\\\\\)(?!begin\\\\{|verb)([A-Za-z]+)","name":"constant.other.general.math.tex"},{"match":"(?<!\\\\\\\\)\\\\{","name":"punctuation.math.begin.bracket.curly.tex"},{"match":"(?<!\\\\\\\\)}","name":"punctuation.math.end.bracket.curly.tex"},{"match":"(?<!\\\\\\\\)\\\\(","name":"punctuation.math.begin.bracket.round.tex"},{"match":"(?<!\\\\\\\\)\\\\)","name":"punctuation.math.end.bracket.round.tex"},{"match":"(([0-9]*\\\\.[0-9]+)|[0-9]+)","name":"constant.numeric.math.tex"},{"match":"[-*+/]|(?<!\\\\^)\\\\^(?!\\\\^)|(?<!_)_(?!_)","name":"punctuation.math.operator.tex"}]}},"scopeName":"text.tex","embeddedLangs":["r"]}')),i=[...t,r];export{n,i as t};
@@ -0,0 +1 @@
1
+ import{$input_setupChange as e}from"./_D2nhMXnB.js";export{e as _};
@@ -1 +1 @@
1
- import{nn as e}from"./_EJQ6FtY9.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{nn as e}from"./_B0bJDqHL.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{$setup as e,$template as t,$walks as n}from"./_is4kjAf5.js";var r=[t,n,e];export{r as _};
@@ -0,0 +1 @@
1
+ import{$input_onLoaded as e}from"./_-LL80b5Z.js";export{e as _};
@@ -1 +1 @@
1
- import{A as e,Lt as t,M as n,N as r,Rt as i,j as a,rt as o}from"./_BGjGy0xI.js";import{B as ee,D as s,F as c,G as l,H as u,I as d,L as f,P as te,R as p,T as m,V as h,W as g,a as _,b as v,i as y,n as ne,r as re,v as b,x,y as S}from"./_ahCaQNeo.js";import{An as C,En as ie,Hn as w,Mn as T,On as ae,Pn as oe,_ as E,b as D,c as se,d as ce,f as le,g as ue,h as de,l as fe,m as pe,o as me,p as he,s as ge,u as _e,v as ve,x as ye,y as be}from"./_Dn4suMdu.js";import{u as xe}from"./_t_pyFCPM.js";import{c as Se,d as Ce,f as we,h as Te,l as Ee,m as De,o as Oe,s as ke,u as Ae}from"./_BnyznOWr.js";import{_ as je,a as Me,c as Ne,f as Pe,g as Fe,h as Ie,i as Le,m as Re,n as ze,o as Be,p as Ve,r as He,s as Ue,t as We}from"./_nfG6JTsL.js";import{a as O,c as k,d as A,f as j,h as M,i as N,l as P,m as F,n as I,o as L,p as R,r as z,s as B,t as V,u as H}from"./_BgKIvyxZ.js";import{t as Ge}from"./_D2pdXUO3.js";import{i as Ke,n as qe,r as Je,t as Ye}from"./_Dg7iMH82.js";import{_ as Xe,a as Ze,b as Qe,c as $e,g as et,h as tt,i as nt,n as rt,o as it,r as at,s as ot,t as st,v as ct,y as lt}from"./_DK87UTQP.js";import{a as ut,i as dt,n as ft,r as pt,t as mt}from"./_SZlUq28x.js";import{a as ht,c as gt,i as _t,l as vt,n as yt,o as bt,r as xt,s as St,t as Ct}from"./_BqiYxwPa.js";function wt(e){let t=new Set(e.map(e=>e.pid)),n=new Map,r=[];for(let i of e)i.ppid&&i.ppid!==i.pid&&t.has(i.ppid)?n.set(i.ppid,[...n.get(i.ppid)||[],i]):r.push(i);let i=new Set,a=e=>{i.add(e.pid);let t=[],r=e=>{for(let a of n.get(e)||[])i.has(a.pid)||(i.add(a.pid),t.push(a),r(a.pid))};r(e.pid);let a=[e,...t];return{root:e,children:t,ports:[...new Set(a.flatMap(e=>e.ports))],local:[...new Set(a.flatMap(e=>e.local||[]))]}},o=r.map(a);for(let t of e)i.has(t.pid)||o.push(a(t));return o.sort((e,t)=>t.ports.length-e.ports.length||e.root.pid-t.root.pid)}var Tt=`<!><!><!>`,Et=new Map,Dt=x(`wb6`,D,(e=>`/${e}&`)(ye),e=>{be(e.a),ve(e.a,14),E(e.a)}),Ot=h(3,e=>ze(e.a,e._.q?.includes(e.c))),kt=m(6,Ot),At=e=>{kt._(e),Be(e.a),We(e.a),He(e.a),Le(e.a)},jt=v(2,e=>{Me(e.a,e.c),Ot(e)}),Mt=(e,t)=>jt(e,t[0]),Nt=x(`wb5`,D,(e=>`/${e}&`)(ye),e=>{be(e.a),ve(e.a,14),E(e.a)}),Pt=h(3,e=>ze(e.a,e._.s.includes(e.c))),Ft=m(7,Pt),It=e=>{Ft._(e),Be(e.a),We(e.a),He(e.a),Le(e.a)},Lt=v(2,e=>{Me(e.a,e.c),Pt(e)}),Rt=(e,t)=>Lt(e,t[0]),zt=e=>{_(e.a,[`_d8`,`_gt`]),_(e.b,[`_M`,r]),_(e.d,[`_M`,`_ee`]),_(e.f,`_ef`),_(e.h,[`_M`,`_gu`]),l(e.i,e.M),R(e.j),P(e.j,Dt(e)),k(e.j,[`_dM`,`_bs`,`_bt`,`_gx`]),O(e.j,`Kill?`),A(e.j,Kn(e)),I(e.j),z(e.j),N(e.j),L(e.j),H(e.j),B(e.j)},Bt=h(14,e=>y(e.a,`title`,`${e.m} ${e.n}`.trim())),Vt=v(12,e=>{l(e.c,e.m),j(e.j,`Kill ${e.m} (pid ${e.M})`),V(e.j,`Kill ${e.m} (pid ${e.M})`),Bt(e)}),Ht=v(13,e=>{l(e.e,e.n),Bt(e)}),Ut=s(6,Ue,(e=>`/${e}&`)(Ne),At,Mt),Wt=(e,t)=>Ut(e,[t,e=>String(e)]),Gt=(e,t)=>{Vt(e,t[0]?.cmd),Ht(e,t[0]?.args),Wt(e,t[0]?.ports),Kt(e,t[0]?.local)},Kt=v(16,kt),qt=s(0,(e=>`<li><span> </span><span> </span><span><!><span> </span>${e}</span></li>`)(F),(e=>` D D l D l D%b D l/${e}&m`)(M),zt,Gt),Jt=d(11,0,e=>qt(e,[e._.p,`pid`])),Yt=Jt,Xt=g(`wb4`,e=>ee(e.a,`click`,function(){let t=new Set(e._._._.m);e._.a1?t.delete(e._.u):t.add(e._.u),Rn(e._._._,t)})),Zt=d(6,0,Xt),Qt=e=>{Zt._(e),en._(e),tn._(e)},$t=h(2,e=>y(e.a,`title`,e._.a1?`Hide the processes it started`:`Show the ${e._.z} process${e._.z===1?``:`es`} it started`)),en=d(6,0,e=>{l(e.b,e._.z),$t(e)}),tn=d(6,0,e=>{_(e.a,[a,{_eh:e._.a1}]),y(e.a,`aria-expanded`,e._.a1?`true`:`false`),$t(e)}),nn=c(11,`<!><!><!>`,`b%`,Yt),rn=v(27,e=>{nn(e,+!e.a1),tn(e)}),an=h(21,e=>rn(e,e._._.m.has(e.u))),on=S(22,an,e=>e._._,`wb7`),sn=e=>{on(e),_(e.a,`_d8`),_(e.b,[`_M`,r]),_(e.d,[`_M`,`_ee`]),_(e.f,[`_ef`,`_gv`]),_(e.i,[`_M`,`_gu`]),R(e.k),P(e.k,Nt(e)),k(e.k,[`_dM`,`_bs`,`_bt`,`_gx`]),I(e.k),z(e.k),N(e.k),L(e.k),H(e.k),B(e.k)},cn=(e,t)=>{ln(e,t?.pid),dn(e,t?.cmd),fn(e,t?.args)},U=h(26,e=>{j(e.k,e.z?`Kill ${e.w} (pid ${e.u}) and the ${e.z} it started`:`Kill ${e.w} (pid ${e.u})`),V(e.k,e.z?`Kill ${e.w} (pid ${e.u}) and the ${e.z} it started`:`Kill ${e.w} (pid ${e.u})`)},2),ln=v(20,e=>{l(e.j,e.u),A(e.k,qn(e)),an(e),U(e),Zt(e)}),un=h(24,e=>y(e.a,`title`,`${e.w} ${e.x}`.trim())),dn=v(22,e=>{l(e.c,e.w),un(e),U(e)}),fn=v(23,e=>{l(e.e,e.x),un(e)}),pn=cn,mn=c(6,`<button type=button>+<!></button>`,` Db%`,Qt),hn=v(25,e=>{O(e.k,e.z?`Kill all?`:`Kill?`),mn(e,+!e.z),U(e),en(e)}),gn=s(7,Ue,(e=>`/${e}&`)(Ne),It,Rt),_n=(e,t)=>gn(e,[t,e=>String(e)]),vn=(e,t)=>{pn(e,t[0]?.root),yn(e,t[0]?.children),_n(e,t[0]?.ports),bn(e,t[0]?.local)},yn=v(15,e=>{hn(e,e.p?.length),Jt(e)}),bn=v(18,Ft),xn=h(6,e=>y(e.d,`title`,e._.t===e._.v?void 0:`${e._.t} processes in all`)),Sn=d(0,0,xn),Cn=t=>{Sn._(t),Tn._(t),En._(t),_(t.a,`_dC`),_(t.b,`_dD`),_(t.c,`_dP`),_(t.d,o),_(t.f,e)},wn=s(5,(e=>`<li><span> </span><span> </span><span><!><!><span> </span>${e}</span></li><!><!>`)(F),(e=>` D D l D l D%b%b D l/${e}&m%c`)(M),sn,vn),Tn=d(0,0,e=>wn(e,[e._.u,e=>String(e.root.pid)])),En=d(0,0,e=>{l(e.e,e._.v),xn(e)}),W=p(9),Dn=h(5,e=>W(e,e.d,e.e)),On=v(3,Dn),kn=v(4,Dn),An=v(20,e=>{Gn(e,e.u?.length),Tn(e)}),jn=(e,t)=>{Wn(e,t.length),An(e,wt(t))},Mn=v(17),Nn=h(14,e=>Mn(e,Jn(e))),Pn=f(11,e=>{jn(e,e.l||[]),Nn(e)}),Fn=g(`wb8`,e=>{e.p,e.i&&e.n(ne(e,0))}),G=h(16,e=>{re(e,0),Fn(e)},2),In=v(13,e=>{G(e),Nn(e)}),Ln=v(6,e=>{Pn(e,Et.get(e.g)??null),In(e,Yn(e))}),Rn=f(12,b(on));function zn(e){Rn(e,new Set)}var Bn=v(15,G),Vn=(e,t)=>Bn(e,(()=>{let e=t;if(!e)return``;let n=e.ports.map(e=>`${e.pid}:${e.port}`).join(`,`);return`${e.agents}|${e.working}|${n}`})()),Hn=v(8,G),Un=c(0,`<section><div><h2>Running</h2><span> </span></div><ul></ul></section>`,` D D b D m `,Cn),Wn=v(19,e=>{Un(e,+!e.t),Sn(e)}),Gn=v(21,En),Kn=e=>function(){e._._._._.r([e.M])},qn=e=>function(){e._._.r([e.u,...e.p.map(e=>e.pid)])},Jn=e=>async t=>{W(e,null);try{await Pe(t[0]),await Promise.all(t.slice(1).map(e=>Pe(e).catch(()=>{})))}catch(t){W(e,T(t));return}for(let n=0;n<10&&(await new Promise(e=>setTimeout(e,500)),await e.n(void 0),e.l?.some(e=>e.pid===t[0]));n++);},Yn=e=>async t=>{try{let n=await C(`/api/workspaces/${e.g}/procs`,{signal:t});Pn(e,n),Et.set(e.g,n)}catch{}};u.wb3=Kn,u.wb2=qn,u.wb1=Jn,u.wb0=Yn;var Xn=`<!><!><!>`,Zn=new Map,Qn=x(`xb18`,D,(e=>`/${e}&`)(ye),e=>{be(e.a),ve(e.a,14),E(e.a)}),$n=e=>_(e.a,`_9`),er=S(45,e=>{y(e.a,`title`,`Only for ${e._._.n.map(xe).join(`, `)}`),l(e.b,e._._.n.map(xe).join(`, `))},e=>e._._,`xb10`),tr=e=>{er(e),_(e.a,`_9`)},nr=S(44,e=>y(e.a,`title`,e._._.m===`global`?`A system skill already has this name`:`A skill in this workspace already has this name`),e=>e._._,`xb9`),rr=e=>{nr(e),_(e.a,`_9`)},ir=S(42,e=>y(e.a,`href`,e._._.k),e=>e._._,`xb7`),ar=e=>{ir(e),or(e),_(e.a,[`_hn`,`_6`])},or=S(43,e=>{y(e.a,`title`,`Installed from ${e._._.l}`),l(e.b,e._._.l)},e=>e._._,`xb8`),sr=S(41,e=>y(e.a,`title`,`Points into ${e._._.j||`a repo`} that is no longer here`),e=>e._._,`xb6`),cr=e=>{sr(e),_(e.a,[`_9`,`_ba`,i.danger])},lr=d(0,0,e=>l(e.e,e._.h)),ur=e=>{lr._(e),_(e.a,`_ea`),y(e.a,`title`,e._.M?`Skills in ${e._.M}/: switch one on to use it in this workspace`:`Installed into this workspace`),_(e.b,`_M`),l(e.c,e._.M?`${e._.M}/`:`This workspace`),_(e.d,`_eb`)},dr=S(32,e=>l(e.b,e._._.y),e=>e._._,`xb5`),fr=e=>{dr(e),_(e.a,`_bh`)},pr=S(39,e=>y(e.a,`title`,`Use ${e._._.g} in this workspace`),e=>e._._,`xb22`),mr=g(`xb21`,e=>ee(e.a,`click`,function(){e._._._._._.w(e._._.M,e._._.q?{action:`unelevate`,id:e._._.M}:{action:`elevate`,id:e._._.M,worktree:e._._.j||``})})),hr=e=>{pr(e),gr(e),_r(e),_(e.a,`_3`),mr(e)},gr=S(48,e=>y(e.a,`aria-checked`,e._._.q?`true`:`false`),e=>e._._,`xb23`),_r=S(49,e=>{y(e.a,`disabled`,e._._.r),y(e.a,`aria-busy`,e._._.r?`true`:void 0)},e=>e._._,`xb24`),vr=S(39,e=>{j(e.a,`Remove ${e._._.g}`),L(e.a,`Remove ${e._._.g} from this workspace?`)},e=>e._._,`xb19`),yr=e=>{vr(e),br(e),R(e.a),P(e.a,Qn(e)),k(e.a,[`_dM`,`_bs`,`_bt`,`_ho`]),O(e.a,`Remove?`),A(e.a,Yi(e)),I(e.a),z(e.a),N(e.a),V(e.a)},br=S(49,e=>{H(e.a,e._._.r),B(e.a,e._._.r)},e=>e._._,`xb20`),xr=c(0,F,(e=>`/${e}&`)(M),yr,`<button role=switch></button>`,` `,hr),K=h(1,e=>xr(e,e._.q&&!e._.p?0:e._.q||!e._.m?1:2),2),Sr=S(44,K,0,`xb25`),Cr=e=>{Sr(e),wr(e),Tr(e)},wr=S(47,K,0,`xb26`),Tr=S(48,K,0,`xb27`),Er=x(`xb29`,`<!><!><!>`,`b%`,Cr),Dr=c(3,`<span><!> only</span>`,` D%`,tr),q=h(5,e=>Dr(e,e._.q&&e._._._._.k&&e._.o<(e._._._._.k?.agents).length?0:1),2),Or=S(30,q,e=>e._._._._,`xb11`),kr=e=>{Or(e),jr(e),Mr(e),Nr(e),Lr(e),Rr(e),zr(e)},Ar=c(0,`<span>broken link</span>`,` `,cr,`<a target=_blank rel=noopener> </a>`,` D `,ar),J=h(6,e=>Ar(e,e._.i?0:e._.q&&!e._.j&&e._.k?1:2),3),jr=S(40,J,0,`xb12`),Mr=S(41,J,0,`xb13`),Nr=S(42,J,0,`xb14`),Pr=c(1,`<span title="Used instead of the system skill of the same name">overrides system</span>`,` `,$n),Fr=c(2,`<span>name taken</span>`,` `,rr),Ir=h(4,e=>{Pr(e,e._.q&&e._.m===`global`?0:1),Fr(e,!e._.q&&e._.m?0:1)}),Lr=S(44,Ir,0,`xb15`),Rr=S(46,q,0,`xb16`),zr=S(48,e=>{J(e),Ir(e),q(e)},0,`xb17`),Br=x(`xb28`,`<!><!><!><!><!><!>`,`b%b%b%b%`,kr),Vr=v(17,b(br,_r)),Hr=S(31,e=>Vr(e,e._._._.n.has(e.M)),e=>e._._._,`xb30`),Ur=e=>{Hr(e),St(e.a),ht(e.a,w({content:Br(e)})),Ct(e.a,w({content:Er(e)})),yt(e.a)},Wr=b(vr,pr),Gr=v(6,e=>{bt(e.a,e.g),Wr(e)}),Kr=(e,t)=>xt(e.a,t),qr=b(zr,Tr,gr),Jr=v(16,e=>{_t(e.a,!e.q),qr(e)}),Yr=(e,t)=>{Gr(e,(t?.[0]).s?.name),Kr(e,(t?.[0]).s?.description),Xr(e,(t?.[0]).s?.broken),Zr(e,(t?.[0]).s?.worktree),Qr(e,(t?.[0]).s?.sourceUrl),$r(e,(t?.[0]).s?.source),ei(e,(t?.[0]).s?.shadows),ni(e,(t?.[0]).s?.agents),ii(e,(t?.[0]).s?.linked),Jr(e,(t?.[0]).linked)},Xr=v(8,b(jr)),Zr=v(9,b(Mr,sr)),Qr=v(10,b(Nr,ir)),$r=v(11,b(or)),ei=v(12,b(Lr,Sr,nr)),ti=b(er),ni=v(13,e=>{ri(e,e.n?.length),ti(e)}),ri=v(14,b(Rr)),ii=v(15,b(wr)),ai=c(0,`<li><span> </span><span> </span></li>`,` D D l D `,ur),oi=S(35,e=>ai(e,e.M||e._._.a3>1?0:1),e=>e._._,`xb31`),si=oi,ci=s(1,gt,(e=>`/${e}&`)(vt),Ur,Yr),li=(e,t)=>{di(e,t?.length),ci(e,[t,e=>e.s.id])},ui=(e,t)=>li(e,t[0]?.items),di=v(7,lr),fi=c(5,`<span><!> in use</span>`,` D%`,fr),pi=d(0,0,e=>fi(e,+!e._.y)),mi=t=>{pi._(t),hi._(t),_i._(t),_(t.a,`_dC`),_(t.b,`_dD`),_(t.c,`_dP`),_(t.d,o),_(t.g,[e,`_d7`])},hi=d(0,0,e=>l(e.e,e._.a1)),gi=s(6,`<!><!><!><!>`,`b%b%`,si,ui),_i=d(0,0,e=>gi(e,[e._.a2,`repo`])),Y=p(8),vi=h(5,e=>Y(e,e.d,e.e)),yi=v(3,vi),bi=v(4,vi),xi=v(25),Si=e=>{xi(e,(e.m||[]).filter(t=>!e.x.some(e=>e.id===t.id)))},Ci=v(28,e=>{Ji(e,e.a2?.length),_i(e)}),wi=(e,t)=>{qi(e,t.length),Ci(e,(()=>{let e=new Map;for(let n of t){let t=n.s.worktree||``;e.set(t,[...e.get(t)||[],n])}return[...e].sort(([e],[t])=>e?t?e.localeCompare(t):1:-1).map(([e,t])=>({repo:e,items:t.sort((e,t)=>e.s.name.localeCompare(t.s.name))}))})())},Ti=e=>{wi(e,[...e.x.map(e=>({s:e,linked:!0})),...e.z.map(e=>({s:e,linked:!1}))])},Ei=b(Or),Di=f(10,e=>{ki(e,e.k?.workspace),Ai(e,e.k?.repo),Si(e),Ti(e),Ei(e)}),Oi=v(23,e=>Gi(e,e.x.length)),ki=v(11,e=>Oi(e,e.l||[])),Ai=v(12),ji=g(`xb32`,e=>{e.h&&e.s(ne(e,0))}),Mi=h(19,e=>{re(e,0),ji(e)}),Ni=v(18,Mi),X=h(17,e=>Ni(e,Xi(e)),2),Pi=v(22),Z=h(21,e=>Pi(e,Zi(e)),4),Fi=v(16,e=>{X(e),Z(e)}),Ii=h(15,e=>Fi(e,Qi(e))),Li=v(6,e=>{Di(e,Zn.get(e.g)??null),Ii(e),X(e),Z(e)}),Ri=v(20,Z),zi=b(Hr),Bi=f(13,e=>{Ri(e,$i(e)),Z(e),zi(e)}),Vi=v(14,e=>{Ii(e),X(e),Z(e)});function Hi(e){Bi(e,new Set),Vi(e,{issued:0,applied:0})}var Ui=v(7,Mi),Wi=b(dr),Gi=v(24,e=>{pi(e),Wi(e)}),Ki=c(0,`<section><div><h2>Skills</h2><span> </span><!></div><ul></ul></section>`,` D D b D l%l `,mi),qi=v(27,e=>{Ki(e,+!e.a1),hi(e)}),Ji=v(29,b(oi)),Yi=e=>function(){e._._._._._.w(e._._.M,{action:`remove`,id:e._._.M})},Xi=e=>async t=>{let n=ae(e.o);try{e.q(await C(`/api/workspaces/${e.g}/skills`,{signal:t}),n)}catch{}},Zi=e=>async(t,n)=>{if(e.n.has(t))return;Y(e,null),e.u(t,!0);let r=ae(e.o);try{e.q(await oe(`/api/workspaces/${e.g}/skills`,n),r)}catch(t){Y(e,T(t))}finally{e.u(t,!1)}},Qi=e=>(t,n)=>{ie(e.o,n)&&(Di(e,t),Zn.set(e.g,t))},$i=e=>(t,n)=>{let r=new Set(e.n);n?r.add(t):r.delete(t),Bi(e,r)};u.xb4=Yi,u.xb1=Xi,u.xb3=Zi,u.xb0=Qi,u.xb2=$i;var ea=((e,t,n,r)=>`<div role=region>${e}<div><div><!><section><div><h2>Repos</h2><span> </span></div><ul><li>${t}</li><!><!></ul></section>${n}${r}</div></div></div>`)(Ce,ot,Tt,Xn),ta=((e,t,n,r)=>` D/${e}& D D%b D D b D m D D/${t}&l%b%m/${n}&/${r}&n`)(we,$e,`b%c`,`b%c`),na=e=>{_(e.a,[`_d8`,`_d9`,`_dG`]),_(e.b,`_2`),_(e.c,`_dL`),l(e.d,e.M)},ra=x(`F16`,Fe,(e=>`/${e}&`)(je),e=>{Ie(e.a),Re(e.a,14),Ve(e.a)}),ia=e=>_(e.a,`_2`),aa=(e,n)=>{_(e.a,[t[Ge(n)],`_gC`]),y(e.a,`title`,`#${n.number} ${n.title} · ${Ge(n)}${n.headRefName?`: ${n.headRefName}`:``}`),oa(e,n?.url)},oa=(e,t)=>y(e.a,`href`,`${t}/files`),sa=s(0,`<a target=_blank rel=noopener>#<!></a>`,` Db%`,e=>l(e.b,e.M),(e,t)=>aa(e,t[0])),ca=d(7,0,e=>sa(e,[e._.s,`number`])),la=e=>{ca._(e),_(e.a,`_gB`)},ua=d(6,0,e=>l(e.c,e._.p)),da=e=>{ua._(e),_(e.a,[`_9`,`_M`]),pt(e.b),ft(e.b,12),mt(e.b)},fa=x(`F10`,ct,(e=>`/${e}&`)(lt),e=>{Xe(e.a),et(e.a,14),tt(e.a)}),pa=d(8,1,e=>{j(e.a,`Remove ${e._.l}/`),L(e.a,`Remove ${e._.l}/? Uncommitted and unpushed work is lost.`)}),ma=e=>{pa._(e),R(e.a),P(e.a,ra(e)),k(e.a,[`_dM`,`_bs`,`_bt`]),O(e.a,`Remove?`),A(e.a,vo(e)),I(e.a),z(e.a),N(e.a),V(e.a),H(e.a),B(e.a)},ha=S(53,e=>Ye(e.a,{class:`_do`,labelClass:`_dp`,text:e._.ac,label:`Copy invite`,title:`Copy invite: joiners get these repos on their own branch`,content:fa(e)}),0,`F11`),ga=x(`F13`,Je,(e=>`/${e}&`)(Ke),e=>{ha(e),qe(e.a)}),_a=h(4,e=>{y(e.a,`title`,e._.a9||e._.aa),l(e.c,e._.a9||e._.aa)}),va=S(51,_a,0,`F8`),ya=e=>{va(e),ba(e),_(e.a,`_gy`),_(e.b,[`_gA`,`_M`,`_by`]),qe(e.d)},ba=S(52,e=>{Ye(e.d,{class:n,text:e._.aa,label:`Copy path`,size:12}),_a(e)},0,`F9`),xa=x(`F12`,(e=>`<span><span><bdi> </bdi></span>${e}</span>`)(Je),(e=>` D E m/${e}&l`)(Ke),ya),Sa=S(50,e=>l(e.a,e._._.a0),e=>e._._,`F14`),Ca=x(`F15`,` `,` `,Sa),wa=e=>{he(e.a),ge(e.a,Ca(e)),ce(e.a,`inline`),le(e.a,yo(e)),me(e.a),fe(e.a),_e(e.a),de(e.a),se(e.a,{})},Ta=v(18,e=>{Ia(e,e.s?.length),ca(e)}),Ea=m(13,e=>Ta(e,(e._.x.find(t=>t.full_name===e.M)?.prs||[]).filter(e=>e.state===`OPEN`||!e.state))),Da=e=>{Ea._(e),ka._(e),_(e.a,`_d8`),_(e.b,[`_M`,r]),_(e.d,`_ee`),_(e.e,[`_6`,`_gw`]),y(e.e,`href`,Te(e.M)),y(e.e,`title`,`Open ${e.M} on GitHub`),l(e.f,De(e.M)),_(e.i,`_ef`)},Oa=c(8,`<span></span>`,` `,ia,F,(e=>`/${e}&`)(M),ma),ka=m(13,e=>Oa(e,+!e._.z.has(e.M))),Aa=v(11,e=>{l(e.c,e.l),pa(e)}),ja=c(6,(e=>`<span title="Base branch">${e} <!></span>`)(dt),(e=>` D/${e}&b%l`)(ut),da),Ma=h(17,e=>ja(e,+(e.p===e.q))),Na=v(15,e=>{Ma(e),ua(e)}),Pa=v(16,Ma),Fa=c(7,`<span></span>`,` `,la),Ia=(e,t)=>Fa(e,+!t),La=(e,t)=>Ra(e,t[0]),Ra=v(10,e=>{Aa(e,e.k?.worktree),Na(e,e.k?.base_branch),Pa(e,e.k?.default_branch)}),za=v(45,e=>Ze(e.m,bo(e))),Ba=h(43,e=>za(e,xo(e)),2),Va=v(46),Q=h(44,e=>Va(e,So(e)),4),Ha=v(42,e=>{Ba(e),Q(e)}),Ua=h(41,e=>st(e.m,[...e.a7.map(e=>({name:e.full_name,baseBranch:e.base_branch===e.default_branch?void 0:e.base_branch})),...[...e.z].filter(t=>!e.ad.has(t)).map(e=>({name:e,pending:!0}))]),2),Wa=s(14,`<li><span></span><span>Adding <!>…</span></li>`,` D b Db%`,na),Ga=h(40,e=>Wa(e,[[...e.z].filter(t=>!e.ad.has(t)),e=>e])),Ka=f(25,e=>{Ha(e,Co(e)),Ba(e),Q(e),Ua(e),Ga(e),ka(e)}),qa=c(4,pe,(e=>`/${e}&`)(ue),wa),Ja=b(Sa),$=f(26,e=>{On(e.p,e.a0),yi(e.q,e.a0),qa(e,+!e.a0),Ja(e)}),Ya=(e,t)=>{kn(e.p,t),bi(e.q,t)},Xa=(e,t)=>{y(e.a,`aria-labelledby`,t),Ee(e.b,t)};function Za(t){_(t.a,`_dl`),Ae(t.b),ke(t.b,w({content:xa(t)})),Se(t.b,`Manage`),_(t.c,`_dt`),_(t.d,`_du`),_(t.f,`_dC`),_(t.g,`_dD`),_(t.h,`_dP`),_(t.i,o),_(t.k,[e,`_d7`]),_(t.l,`_d_`),it(t.m),nt(t.m,To(t)),rt(t.m),zn(t.p),Hi(t.q),Ka(t,new Set),$(t,null),Ya(t,wo(t)),Xa(t,te(t))}var Qa=v(38,b(ha)),$a=e=>{Qa(e,Qe({name:e.a4,branch:e.a5||e.a6,repos:e.a7.map(e=>e.full_name)}))},eo=p(28,e=>{to(e,e.a2?.name),no(e,e.a2?.origin_branch),ro(e,e.a2?.branch),oo(e,e.a2?.repos),co(e,e.a2?.id),lo(e,e.a2?.display_path),uo(e,e.a2?.path),$a(e),Q(e)}),to=v(30),no=v(31),ro=v(32),io=v(39,e=>{at(e.m,e.ad),Ua(e),Ga(e)}),ao=s(13,`<li><span><!>/</span><span><a target=_blank rel=noopener> </a><!><!></span><span></span></li>`,` D D%l D D l%b%l `,Da,La),oo=v(33,e=>{so(e,e.a7?.length),io(e,new Set(e.a7.map(e=>e.full_name))),ao(e,[e.a7,`full_name`]),Q(e),Ua(e)}),so=v(37,e=>{let t;e.ab&&(t=w({content:ga(e)})),Oe(e.b,t),l(e.j,e.ab)}),co=v(34,e=>{Ln(e.p,e.a8),Li(e.q,e.a8),Ba(e),Q(e)}),lo=v(35,b(va)),uo=v(36,b(ba)),fo=h(21,e=>eo(e,e.t,e.u)),po=v(19,fo),mo=v(20,fo),ho=(e,t)=>{Hn(e.p,t),Ui(e.q,t)},go=(e,t)=>{Vn(e.p,t),_o(e,t?.repos)},_o=v(23,Ea),vo=e=>function(){e._._.ak(e._.k)},yo=e=>function(){$(e._,null)},bo=e=>function(t,n,r){e.aj(t,n,r)},xo=e=>async(t,n,r)=>{if(t&&!e.z.has(t)){$(e,null),e.ag(t,!0);try{eo(e,await oe(`/api/workspaces/${e.a8}/repos`,{fullName:t,baseBranch:n,fork:r}))}catch(t){$(e,T(t))}e.ag(t,!1)}},So=e=>async t=>{if(!e.z.has(t.full_name)){$(e,null),e.ag(t.full_name,!0);try{await C(`/api/workspaces/${e.a8}/repos/${encodeURIComponent(t.worktree)}`,{method:`DELETE`}),eo(e,{...e.a2,repos:e.a7.filter(e=>e.full_name!==t.full_name)})}catch(t){$(e,T(t))}e.ag(t.full_name,!1)}},Co=e=>(t,n)=>{let r=new Set(e.z);n?r.add(t):r.delete(t),Ka(e,r)},wo=e=>t=>{$(e,t)},To=e=>function(t){$(e,t)};u.F7=vo,u.F4=yo,u.F5=bo,u.F2=xo,u.F3=So,u.F1=Co,u.F0=wo,u.F6=To;export{ho as $input_active,go as $input_status,po as $input_workspace,mo as $input_workspaceChange,Za as $setup,ea as $template,ta as $walks};
1
+ import{A as e,Lt as t,M as n,N as r,Rt as i,j as a,rt as o}from"./_DqTOmzn1.js";import{B as ee,D as s,F as c,G as l,H as u,I as d,L as f,P as te,R as p,T as m,V as h,W as g,a as _,b as v,i as y,n as ne,r as re,v as b,x,y as S}from"./_ahCaQNeo.js";import{An as C,En as ie,Hn as w,Mn as T,On as ae,Pn as oe,_ as E,b as D,c as se,d as ce,f as le,g as ue,h as de,l as fe,m as pe,o as me,p as he,s as ge,u as _e,v as ve,x as ye,y as be}from"./_Bt28jRr7.js";import{u as xe}from"./_CPZZ4vJW.js";import{c as Se,d as Ce,f as we,h as Te,l as Ee,m as De,o as Oe,s as ke,u as Ae}from"./_tyMGkzXn.js";import{_ as je,a as Me,c as Ne,f as Pe,g as Fe,h as Ie,i as Le,m as Re,n as ze,o as Be,p as Ve,r as He,s as Ue,t as We}from"./_CVHHTcBT.js";import{a as O,c as k,d as A,f as j,h as M,i as N,l as P,m as F,n as I,o as L,p as R,r as z,s as B,t as V,u as H}from"./_BBuk_6uu.js";import{t as Ge}from"./_D2pdXUO3.js";import{i as Ke,n as qe,r as Je,t as Ye}from"./_B9a8h0dx.js";import{_ as Xe,a as Ze,b as Qe,c as $e,g as et,h as tt,i as nt,n as rt,o as it,r as at,s as ot,t as st,v as ct,y as lt}from"./_CDD65ztl.js";import{a as ut,i as dt,n as ft,r as pt,t as mt}from"./_DLxnKzwp.js";import{a as ht,c as gt,i as _t,l as vt,n as yt,o as bt,r as xt,s as St,t as Ct}from"./_BbuKSMbf.js";function wt(e){let t=new Set(e.map(e=>e.pid)),n=new Map,r=[];for(let i of e)i.ppid&&i.ppid!==i.pid&&t.has(i.ppid)?n.set(i.ppid,[...n.get(i.ppid)||[],i]):r.push(i);let i=new Set,a=e=>{i.add(e.pid);let t=[],r=e=>{for(let a of n.get(e)||[])i.has(a.pid)||(i.add(a.pid),t.push(a),r(a.pid))};r(e.pid);let a=[e,...t];return{root:e,children:t,ports:[...new Set(a.flatMap(e=>e.ports))],local:[...new Set(a.flatMap(e=>e.local||[]))]}},o=r.map(a);for(let t of e)i.has(t.pid)||o.push(a(t));return o.sort((e,t)=>t.ports.length-e.ports.length||e.root.pid-t.root.pid)}var Tt=`<!><!><!>`,Et=new Map,Dt=x(`wb6`,D,(e=>`/${e}&`)(ye),e=>{be(e.a),ve(e.a,14),E(e.a)}),Ot=h(3,e=>ze(e.a,e._.q?.includes(e.c))),kt=m(6,Ot),At=e=>{kt._(e),Be(e.a),We(e.a),He(e.a),Le(e.a)},jt=v(2,e=>{Me(e.a,e.c),Ot(e)}),Mt=(e,t)=>jt(e,t[0]),Nt=x(`wb5`,D,(e=>`/${e}&`)(ye),e=>{be(e.a),ve(e.a,14),E(e.a)}),Pt=h(3,e=>ze(e.a,e._.s.includes(e.c))),Ft=m(7,Pt),It=e=>{Ft._(e),Be(e.a),We(e.a),He(e.a),Le(e.a)},Lt=v(2,e=>{Me(e.a,e.c),Pt(e)}),Rt=(e,t)=>Lt(e,t[0]),zt=e=>{_(e.a,[`_ek`,`_fY`]),_(e.b,[`_M`,r]),_(e.d,[`_M`,`_er`]),_(e.f,`_es`),_(e.h,[`_M`,`_fZ`]),l(e.i,e.M),R(e.j),P(e.j,Dt(e)),k(e.j,[`_dM`,`_bs`,`_bt`,`_f2`]),O(e.j,`Kill?`),A(e.j,Kn(e)),I(e.j),z(e.j),N(e.j),L(e.j),H(e.j),B(e.j)},Bt=h(14,e=>y(e.a,`title`,`${e.m} ${e.n}`.trim())),Vt=v(12,e=>{l(e.c,e.m),j(e.j,`Kill ${e.m} (pid ${e.M})`),V(e.j,`Kill ${e.m} (pid ${e.M})`),Bt(e)}),Ht=v(13,e=>{l(e.e,e.n),Bt(e)}),Ut=s(6,Ue,(e=>`/${e}&`)(Ne),At,Mt),Wt=(e,t)=>Ut(e,[t,e=>String(e)]),Gt=(e,t)=>{Vt(e,t[0]?.cmd),Ht(e,t[0]?.args),Wt(e,t[0]?.ports),Kt(e,t[0]?.local)},Kt=v(16,kt),qt=s(0,(e=>`<li><span> </span><span> </span><span><!><span> </span>${e}</span></li>`)(F),(e=>` D D l D l D%b D l/${e}&m`)(M),zt,Gt),Jt=d(11,0,e=>qt(e,[e._.p,`pid`])),Yt=Jt,Xt=g(`wb4`,e=>ee(e.a,`click`,function(){let t=new Set(e._._._.m);e._.a1?t.delete(e._.u):t.add(e._.u),Rn(e._._._,t)})),Zt=d(6,0,Xt),Qt=e=>{Zt._(e),en._(e),tn._(e)},$t=h(2,e=>y(e.a,`title`,e._.a1?`Hide the processes it started`:`Show the ${e._.z} process${e._.z===1?``:`es`} it started`)),en=d(6,0,e=>{l(e.b,e._.z),$t(e)}),tn=d(6,0,e=>{_(e.a,[a,{_eu:e._.a1}]),y(e.a,`aria-expanded`,e._.a1?`true`:`false`),$t(e)}),nn=c(11,`<!><!><!>`,`b%`,Yt),rn=v(27,e=>{nn(e,+!e.a1),tn(e)}),an=h(21,e=>rn(e,e._._.m.has(e.u))),on=S(22,an,e=>e._._,`wb7`),sn=e=>{on(e),_(e.a,`_ek`),_(e.b,[`_M`,r]),_(e.d,[`_M`,`_er`]),_(e.f,[`_es`,`_f0`]),_(e.i,[`_M`,`_fZ`]),R(e.k),P(e.k,Nt(e)),k(e.k,[`_dM`,`_bs`,`_bt`,`_f2`]),I(e.k),z(e.k),N(e.k),L(e.k),H(e.k),B(e.k)},cn=(e,t)=>{ln(e,t?.pid),dn(e,t?.cmd),fn(e,t?.args)},U=h(26,e=>{j(e.k,e.z?`Kill ${e.w} (pid ${e.u}) and the ${e.z} it started`:`Kill ${e.w} (pid ${e.u})`),V(e.k,e.z?`Kill ${e.w} (pid ${e.u}) and the ${e.z} it started`:`Kill ${e.w} (pid ${e.u})`)},2),ln=v(20,e=>{l(e.j,e.u),A(e.k,qn(e)),an(e),U(e),Zt(e)}),un=h(24,e=>y(e.a,`title`,`${e.w} ${e.x}`.trim())),dn=v(22,e=>{l(e.c,e.w),un(e),U(e)}),fn=v(23,e=>{l(e.e,e.x),un(e)}),pn=cn,mn=c(6,`<button type=button>+<!></button>`,` Db%`,Qt),hn=v(25,e=>{O(e.k,e.z?`Kill all?`:`Kill?`),mn(e,+!e.z),U(e),en(e)}),gn=s(7,Ue,(e=>`/${e}&`)(Ne),It,Rt),_n=(e,t)=>gn(e,[t,e=>String(e)]),vn=(e,t)=>{pn(e,t[0]?.root),yn(e,t[0]?.children),_n(e,t[0]?.ports),bn(e,t[0]?.local)},yn=v(15,e=>{hn(e,e.p?.length),Jt(e)}),bn=v(18,Ft),xn=h(6,e=>y(e.d,`title`,e._.t===e._.v?void 0:`${e._.t} processes in all`)),Sn=d(0,0,xn),Cn=t=>{Sn._(t),Tn._(t),En._(t),_(t.a,`_dC`),_(t.b,`_dD`),_(t.c,`_dP`),_(t.d,o),_(t.f,e)},wn=s(5,(e=>`<li><span> </span><span> </span><span><!><!><span> </span>${e}</span></li><!><!>`)(F),(e=>` D D l D l D%b%b D l/${e}&m%c`)(M),sn,vn),Tn=d(0,0,e=>wn(e,[e._.u,e=>String(e.root.pid)])),En=d(0,0,e=>{l(e.e,e._.v),xn(e)}),W=p(9),Dn=h(5,e=>W(e,e.d,e.e)),On=v(3,Dn),kn=v(4,Dn),An=v(20,e=>{Gn(e,e.u?.length),Tn(e)}),jn=(e,t)=>{Wn(e,t.length),An(e,wt(t))},Mn=v(17),Nn=h(14,e=>Mn(e,Jn(e))),Pn=f(11,e=>{jn(e,e.l||[]),Nn(e)}),Fn=g(`wb8`,e=>{e.p,e.i&&e.n(ne(e,0))}),G=h(16,e=>{re(e,0),Fn(e)},2),In=v(13,e=>{G(e),Nn(e)}),Ln=v(6,e=>{Pn(e,Et.get(e.g)??null),In(e,Yn(e))}),Rn=f(12,b(on));function zn(e){Rn(e,new Set)}var Bn=v(15,G),Vn=(e,t)=>Bn(e,(()=>{let e=t;if(!e)return``;let n=e.ports.map(e=>`${e.pid}:${e.port}`).join(`,`);return`${e.agents}|${e.working}|${n}`})()),Hn=v(8,G),Un=c(0,`<section><div><h2>Running</h2><span> </span></div><ul></ul></section>`,` D D b D m `,Cn),Wn=v(19,e=>{Un(e,+!e.t),Sn(e)}),Gn=v(21,En),Kn=e=>function(){e._._._._.r([e.M])},qn=e=>function(){e._._.r([e.u,...e.p.map(e=>e.pid)])},Jn=e=>async t=>{W(e,null);try{await Pe(t[0]),await Promise.all(t.slice(1).map(e=>Pe(e).catch(()=>{})))}catch(t){W(e,T(t));return}for(let n=0;n<10&&(await new Promise(e=>setTimeout(e,500)),await e.n(void 0),e.l?.some(e=>e.pid===t[0]));n++);},Yn=e=>async t=>{try{let n=await C(`/api/workspaces/${e.g}/procs`,{signal:t});Pn(e,n),Et.set(e.g,n)}catch{}};u.wb3=Kn,u.wb2=qn,u.wb1=Jn,u.wb0=Yn;var Xn=`<!><!><!>`,Zn=new Map,Qn=x(`xb18`,D,(e=>`/${e}&`)(ye),e=>{be(e.a),ve(e.a,14),E(e.a)}),$n=e=>_(e.a,`_9`),er=S(45,e=>{y(e.a,`title`,`Only for ${e._._.n.map(xe).join(`, `)}`),l(e.b,e._._.n.map(xe).join(`, `))},e=>e._._,`xb10`),tr=e=>{er(e),_(e.a,`_9`)},nr=S(44,e=>y(e.a,`title`,e._._.m===`global`?`A system skill already has this name`:`A skill in this workspace already has this name`),e=>e._._,`xb9`),rr=e=>{nr(e),_(e.a,`_9`)},ir=S(42,e=>y(e.a,`href`,e._._.k),e=>e._._,`xb7`),ar=e=>{ir(e),or(e),_(e.a,[`_hM`,`_6`])},or=S(43,e=>{y(e.a,`title`,`Installed from ${e._._.l}`),l(e.b,e._._.l)},e=>e._._,`xb8`),sr=S(41,e=>y(e.a,`title`,`Points into ${e._._.j||`a repo`} that is no longer here`),e=>e._._,`xb6`),cr=e=>{sr(e),_(e.a,[`_9`,`_ba`,i.danger])},lr=d(0,0,e=>l(e.e,e._.h)),ur=e=>{lr._(e),_(e.a,`_en`),y(e.a,`title`,e._.M?`Skills in ${e._.M}/: switch one on to use it in this workspace`:`Installed into this workspace`),_(e.b,`_M`),l(e.c,e._.M?`${e._.M}/`:`This workspace`),_(e.d,`_eo`)},dr=S(32,e=>l(e.b,e._._.y),e=>e._._,`xb5`),fr=e=>{dr(e),_(e.a,`_bh`)},pr=S(39,e=>y(e.a,`title`,`Use ${e._._.g} in this workspace`),e=>e._._,`xb22`),mr=g(`xb21`,e=>ee(e.a,`click`,function(){e._._._._._.w(e._._.M,e._._.q?{action:`unelevate`,id:e._._.M}:{action:`elevate`,id:e._._.M,worktree:e._._.j||``})})),hr=e=>{pr(e),gr(e),_r(e),_(e.a,`_3`),mr(e)},gr=S(48,e=>y(e.a,`aria-checked`,e._._.q?`true`:`false`),e=>e._._,`xb23`),_r=S(49,e=>{y(e.a,`disabled`,e._._.r),y(e.a,`aria-busy`,e._._.r?`true`:void 0)},e=>e._._,`xb24`),vr=S(39,e=>{j(e.a,`Remove ${e._._.g}`),L(e.a,`Remove ${e._._.g} from this workspace?`)},e=>e._._,`xb19`),yr=e=>{vr(e),br(e),R(e.a),P(e.a,Qn(e)),k(e.a,[`_dM`,`_bs`,`_bt`,`_hN`]),O(e.a,`Remove?`),A(e.a,Yi(e)),I(e.a),z(e.a),N(e.a),V(e.a)},br=S(49,e=>{H(e.a,e._._.r),B(e.a,e._._.r)},e=>e._._,`xb20`),xr=c(0,F,(e=>`/${e}&`)(M),yr,`<button role=switch></button>`,` `,hr),K=h(1,e=>xr(e,e._.q&&!e._.p?0:e._.q||!e._.m?1:2),2),Sr=S(44,K,0,`xb25`),Cr=e=>{Sr(e),wr(e),Tr(e)},wr=S(47,K,0,`xb26`),Tr=S(48,K,0,`xb27`),Er=x(`xb29`,`<!><!><!>`,`b%`,Cr),Dr=c(3,`<span><!> only</span>`,` D%`,tr),q=h(5,e=>Dr(e,e._.q&&e._._._._.k&&e._.o<(e._._._._.k?.agents).length?0:1),2),Or=S(30,q,e=>e._._._._,`xb11`),kr=e=>{Or(e),jr(e),Mr(e),Nr(e),Lr(e),Rr(e),zr(e)},Ar=c(0,`<span>broken link</span>`,` `,cr,`<a target=_blank rel=noopener> </a>`,` D `,ar),J=h(6,e=>Ar(e,e._.i?0:e._.q&&!e._.j&&e._.k?1:2),3),jr=S(40,J,0,`xb12`),Mr=S(41,J,0,`xb13`),Nr=S(42,J,0,`xb14`),Pr=c(1,`<span title="Used instead of the system skill of the same name">overrides system</span>`,` `,$n),Fr=c(2,`<span>name taken</span>`,` `,rr),Ir=h(4,e=>{Pr(e,e._.q&&e._.m===`global`?0:1),Fr(e,!e._.q&&e._.m?0:1)}),Lr=S(44,Ir,0,`xb15`),Rr=S(46,q,0,`xb16`),zr=S(48,e=>{J(e),Ir(e),q(e)},0,`xb17`),Br=x(`xb28`,`<!><!><!><!><!><!>`,`b%b%b%b%`,kr),Vr=v(17,b(br,_r)),Hr=S(31,e=>Vr(e,e._._._.n.has(e.M)),e=>e._._._,`xb30`),Ur=e=>{Hr(e),St(e.a),ht(e.a,w({content:Br(e)})),Ct(e.a,w({content:Er(e)})),yt(e.a)},Wr=b(vr,pr),Gr=v(6,e=>{bt(e.a,e.g),Wr(e)}),Kr=(e,t)=>xt(e.a,t),qr=b(zr,Tr,gr),Jr=v(16,e=>{_t(e.a,!e.q),qr(e)}),Yr=(e,t)=>{Gr(e,(t?.[0]).s?.name),Kr(e,(t?.[0]).s?.description),Xr(e,(t?.[0]).s?.broken),Zr(e,(t?.[0]).s?.worktree),Qr(e,(t?.[0]).s?.sourceUrl),$r(e,(t?.[0]).s?.source),ei(e,(t?.[0]).s?.shadows),ni(e,(t?.[0]).s?.agents),ii(e,(t?.[0]).s?.linked),Jr(e,(t?.[0]).linked)},Xr=v(8,b(jr)),Zr=v(9,b(Mr,sr)),Qr=v(10,b(Nr,ir)),$r=v(11,b(or)),ei=v(12,b(Lr,Sr,nr)),ti=b(er),ni=v(13,e=>{ri(e,e.n?.length),ti(e)}),ri=v(14,b(Rr)),ii=v(15,b(wr)),ai=c(0,`<li><span> </span><span> </span></li>`,` D D l D `,ur),oi=S(35,e=>ai(e,e.M||e._._.a3>1?0:1),e=>e._._,`xb31`),si=oi,ci=s(1,gt,(e=>`/${e}&`)(vt),Ur,Yr),li=(e,t)=>{di(e,t?.length),ci(e,[t,e=>e.s.id])},ui=(e,t)=>li(e,t[0]?.items),di=v(7,lr),fi=c(5,`<span><!> in use</span>`,` D%`,fr),pi=d(0,0,e=>fi(e,+!e._.y)),mi=t=>{pi._(t),hi._(t),_i._(t),_(t.a,`_dC`),_(t.b,`_dD`),_(t.c,`_dP`),_(t.d,o),_(t.g,[e,`_ej`])},hi=d(0,0,e=>l(e.e,e._.a1)),gi=s(6,`<!><!><!><!>`,`b%b%`,si,ui),_i=d(0,0,e=>gi(e,[e._.a2,`repo`])),Y=p(8),vi=h(5,e=>Y(e,e.d,e.e)),yi=v(3,vi),bi=v(4,vi),xi=v(25),Si=e=>{xi(e,(e.m||[]).filter(t=>!e.x.some(e=>e.id===t.id)))},Ci=v(28,e=>{Ji(e,e.a2?.length),_i(e)}),wi=(e,t)=>{qi(e,t.length),Ci(e,(()=>{let e=new Map;for(let n of t){let t=n.s.worktree||``;e.set(t,[...e.get(t)||[],n])}return[...e].sort(([e],[t])=>e?t?e.localeCompare(t):1:-1).map(([e,t])=>({repo:e,items:t.sort((e,t)=>e.s.name.localeCompare(t.s.name))}))})())},Ti=e=>{wi(e,[...e.x.map(e=>({s:e,linked:!0})),...e.z.map(e=>({s:e,linked:!1}))])},Ei=b(Or),Di=f(10,e=>{ki(e,e.k?.workspace),Ai(e,e.k?.repo),Si(e),Ti(e),Ei(e)}),Oi=v(23,e=>Gi(e,e.x.length)),ki=v(11,e=>Oi(e,e.l||[])),Ai=v(12),ji=g(`xb32`,e=>{e.h&&e.s(ne(e,0))}),Mi=h(19,e=>{re(e,0),ji(e)}),Ni=v(18,Mi),X=h(17,e=>Ni(e,Xi(e)),2),Pi=v(22),Z=h(21,e=>Pi(e,Zi(e)),4),Fi=v(16,e=>{X(e),Z(e)}),Ii=h(15,e=>Fi(e,Qi(e))),Li=v(6,e=>{Di(e,Zn.get(e.g)??null),Ii(e),X(e),Z(e)}),Ri=v(20,Z),zi=b(Hr),Bi=f(13,e=>{Ri(e,$i(e)),Z(e),zi(e)}),Vi=v(14,e=>{Ii(e),X(e),Z(e)});function Hi(e){Bi(e,new Set),Vi(e,{issued:0,applied:0})}var Ui=v(7,Mi),Wi=b(dr),Gi=v(24,e=>{pi(e),Wi(e)}),Ki=c(0,`<section><div><h2>Skills</h2><span> </span><!></div><ul></ul></section>`,` D D b D l%l `,mi),qi=v(27,e=>{Ki(e,+!e.a1),hi(e)}),Ji=v(29,b(oi)),Yi=e=>function(){e._._._._._.w(e._._.M,{action:`remove`,id:e._._.M})},Xi=e=>async t=>{let n=ae(e.o);try{e.q(await C(`/api/workspaces/${e.g}/skills`,{signal:t}),n)}catch{}},Zi=e=>async(t,n)=>{if(e.n.has(t))return;Y(e,null),e.u(t,!0);let r=ae(e.o);try{e.q(await oe(`/api/workspaces/${e.g}/skills`,n),r)}catch(t){Y(e,T(t))}finally{e.u(t,!1)}},Qi=e=>(t,n)=>{ie(e.o,n)&&(Di(e,t),Zn.set(e.g,t))},$i=e=>(t,n)=>{let r=new Set(e.n);n?r.add(t):r.delete(t),Bi(e,r)};u.xb4=Yi,u.xb1=Xi,u.xb3=Zi,u.xb0=Qi,u.xb2=$i;var ea=((e,t,n,r)=>`<div role=region>${e}<div><div><!><section><div><h2>Repos</h2><span> </span></div><ul><li>${t}</li><!><!></ul></section>${n}${r}</div></div></div>`)(Ce,ot,Tt,Xn),ta=((e,t,n,r)=>` D/${e}& D D%b D D b D m D D/${t}&l%b%m/${n}&/${r}&n`)(we,$e,`b%c`,`b%c`),na=e=>{_(e.a,[`_ek`,`_el`,`_dG`]),_(e.b,`_2`),_(e.c,`_dL`),l(e.d,e.M)},ra=x(`F16`,Fe,(e=>`/${e}&`)(je),e=>{Ie(e.a),Re(e.a,14),Ve(e.a)}),ia=e=>_(e.a,`_2`),aa=(e,n)=>{_(e.a,[t[Ge(n)],`_f7`]),y(e.a,`title`,`#${n.number} ${n.title} · ${Ge(n)}${n.headRefName?`: ${n.headRefName}`:``}`),oa(e,n?.url)},oa=(e,t)=>y(e.a,`href`,`${t}/files`),sa=s(0,`<a target=_blank rel=noopener>#<!></a>`,` Db%`,e=>l(e.b,e.M),(e,t)=>aa(e,t[0])),ca=d(7,0,e=>sa(e,[e._.s,`number`])),la=e=>{ca._(e),_(e.a,`_f6`)},ua=d(6,0,e=>l(e.c,e._.p)),da=e=>{ua._(e),_(e.a,[`_9`,`_M`]),pt(e.b),ft(e.b,12),mt(e.b)},fa=x(`F10`,ct,(e=>`/${e}&`)(lt),e=>{Xe(e.a),et(e.a,14),tt(e.a)}),pa=d(8,1,e=>{j(e.a,`Remove ${e._.l}/`),L(e.a,`Remove ${e._.l}/? Uncommitted and unpushed work is lost.`)}),ma=e=>{pa._(e),R(e.a),P(e.a,ra(e)),k(e.a,[`_dM`,`_bs`,`_bt`]),O(e.a,`Remove?`),A(e.a,vo(e)),I(e.a),z(e.a),N(e.a),V(e.a),H(e.a),B(e.a)},ha=S(53,e=>Ye(e.a,{class:`_do`,labelClass:`_dp`,text:e._.ac,label:`Copy invite`,title:`Copy invite: joiners get these repos on their own branch`,content:fa(e)}),0,`F11`),ga=x(`F13`,Je,(e=>`/${e}&`)(Ke),e=>{ha(e),qe(e.a)}),_a=h(4,e=>{y(e.a,`title`,e._.a9||e._.aa),l(e.c,e._.a9||e._.aa)}),va=S(51,_a,0,`F8`),ya=e=>{va(e),ba(e),_(e.a,`_f3`),_(e.b,[`_f5`,`_M`,`_by`]),qe(e.d)},ba=S(52,e=>{Ye(e.d,{class:n,text:e._.aa,label:`Copy path`,size:12}),_a(e)},0,`F9`),xa=x(`F12`,(e=>`<span><span><bdi> </bdi></span>${e}</span>`)(Je),(e=>` D E m/${e}&l`)(Ke),ya),Sa=S(50,e=>l(e.a,e._._.a0),e=>e._._,`F14`),Ca=x(`F15`,` `,` `,Sa),wa=e=>{he(e.a),ge(e.a,Ca(e)),ce(e.a,`inline`),le(e.a,yo(e)),me(e.a),fe(e.a),_e(e.a),de(e.a),se(e.a,{})},Ta=v(18,e=>{Ia(e,e.s?.length),ca(e)}),Ea=m(13,e=>Ta(e,(e._.x.find(t=>t.full_name===e.M)?.prs||[]).filter(e=>e.state===`OPEN`||!e.state))),Da=e=>{Ea._(e),ka._(e),_(e.a,`_ek`),_(e.b,[`_M`,r]),_(e.d,`_er`),_(e.e,[`_6`,`_f1`]),y(e.e,`href`,Te(e.M)),y(e.e,`title`,`Open ${e.M} on GitHub`),l(e.f,De(e.M)),_(e.i,`_es`)},Oa=c(8,`<span></span>`,` `,ia,F,(e=>`/${e}&`)(M),ma),ka=m(13,e=>Oa(e,+!e._.z.has(e.M))),Aa=v(11,e=>{l(e.c,e.l),pa(e)}),ja=c(6,(e=>`<span title="Base branch">${e} <!></span>`)(dt),(e=>` D/${e}&b%l`)(ut),da),Ma=h(17,e=>ja(e,+(e.p===e.q))),Na=v(15,e=>{Ma(e),ua(e)}),Pa=v(16,Ma),Fa=c(7,`<span></span>`,` `,la),Ia=(e,t)=>Fa(e,+!t),La=(e,t)=>Ra(e,t[0]),Ra=v(10,e=>{Aa(e,e.k?.worktree),Na(e,e.k?.base_branch),Pa(e,e.k?.default_branch)}),za=v(45,e=>Ze(e.m,bo(e))),Ba=h(43,e=>za(e,xo(e)),2),Va=v(46),Q=h(44,e=>Va(e,So(e)),4),Ha=v(42,e=>{Ba(e),Q(e)}),Ua=h(41,e=>st(e.m,[...e.a7.map(e=>({name:e.full_name,baseBranch:e.base_branch===e.default_branch?void 0:e.base_branch})),...[...e.z].filter(t=>!e.ad.has(t)).map(e=>({name:e,pending:!0}))]),2),Wa=s(14,`<li><span></span><span>Adding <!>…</span></li>`,` D b Db%`,na),Ga=h(40,e=>Wa(e,[[...e.z].filter(t=>!e.ad.has(t)),e=>e])),Ka=f(25,e=>{Ha(e,Co(e)),Ba(e),Q(e),Ua(e),Ga(e),ka(e)}),qa=c(4,pe,(e=>`/${e}&`)(ue),wa),Ja=b(Sa),$=f(26,e=>{On(e.p,e.a0),yi(e.q,e.a0),qa(e,+!e.a0),Ja(e)}),Ya=(e,t)=>{kn(e.p,t),bi(e.q,t)},Xa=(e,t)=>{y(e.a,`aria-labelledby`,t),Ee(e.b,t)};function Za(t){_(t.a,`_dl`),Ae(t.b),ke(t.b,w({content:xa(t)})),Se(t.b,`Manage`),_(t.c,`_dt`),_(t.d,`_du`),_(t.f,`_dC`),_(t.g,`_dD`),_(t.h,`_dP`),_(t.i,o),_(t.k,[e,`_ej`]),_(t.l,`_em`),it(t.m),nt(t.m,To(t)),rt(t.m),zn(t.p),Hi(t.q),Ka(t,new Set),$(t,null),Ya(t,wo(t)),Xa(t,te(t))}var Qa=v(38,b(ha)),$a=e=>{Qa(e,Qe({name:e.a4,branch:e.a5||e.a6,repos:e.a7.map(e=>e.full_name)}))},eo=p(28,e=>{to(e,e.a2?.name),no(e,e.a2?.origin_branch),ro(e,e.a2?.branch),oo(e,e.a2?.repos),co(e,e.a2?.id),lo(e,e.a2?.display_path),uo(e,e.a2?.path),$a(e),Q(e)}),to=v(30),no=v(31),ro=v(32),io=v(39,e=>{at(e.m,e.ad),Ua(e),Ga(e)}),ao=s(13,`<li><span><!>/</span><span><a target=_blank rel=noopener> </a><!><!></span><span></span></li>`,` D D%l D D l%b%l `,Da,La),oo=v(33,e=>{so(e,e.a7?.length),io(e,new Set(e.a7.map(e=>e.full_name))),ao(e,[e.a7,`full_name`]),Q(e),Ua(e)}),so=v(37,e=>{let t;e.ab&&(t=w({content:ga(e)})),Oe(e.b,t),l(e.j,e.ab)}),co=v(34,e=>{Ln(e.p,e.a8),Li(e.q,e.a8),Ba(e),Q(e)}),lo=v(35,b(va)),uo=v(36,b(ba)),fo=h(21,e=>eo(e,e.t,e.u)),po=v(19,fo),mo=v(20,fo),ho=(e,t)=>{Hn(e.p,t),Ui(e.q,t)},go=(e,t)=>{Vn(e.p,t),_o(e,t?.repos)},_o=v(23,Ea),vo=e=>function(){e._._.ak(e._.k)},yo=e=>function(){$(e._,null)},bo=e=>function(t,n,r){e.aj(t,n,r)},xo=e=>async(t,n,r)=>{if(t&&!e.z.has(t)){$(e,null),e.ag(t,!0);try{eo(e,await oe(`/api/workspaces/${e.a8}/repos`,{fullName:t,baseBranch:n,fork:r}))}catch(t){$(e,T(t))}e.ag(t,!1)}},So=e=>async t=>{if(!e.z.has(t.full_name)){$(e,null),e.ag(t.full_name,!0);try{await C(`/api/workspaces/${e.a8}/repos/${encodeURIComponent(t.worktree)}`,{method:`DELETE`}),eo(e,{...e.a2,repos:e.a7.filter(e=>e.full_name!==t.full_name)})}catch(t){$(e,T(t))}e.ag(t.full_name,!1)}},Co=e=>(t,n)=>{let r=new Set(e.z);n?r.add(t):r.delete(t),Ka(e,r)},wo=e=>t=>{$(e,t)},To=e=>function(t){$(e,t)};u.F7=vo,u.F4=yo,u.F5=bo,u.F2=xo,u.F3=So,u.F1=Co,u.F0=wo,u.F6=To;export{ho as $input_active,go as $input_status,po as $input_workspace,mo as $input_workspaceChange,Za as $setup,ea as $template,ta as $walks};