@tangle-network/sandbox-ui 2.0.16 → 2.0.18

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 (470) hide show
  1. package/README.md +2 -0
  2. package/dist/agent-stream-CBZ2fXJ2.d.ts +66 -0
  3. package/dist/code-view-BlhCS1SD.js +177 -0
  4. package/dist/globals.css +189 -150
  5. package/dist/hooks.d.ts +2 -139
  6. package/dist/hooks.js +2 -1
  7. package/dist/{index-BtR5Sc3u.d.ts → index-BnaVprN6.d.ts} +3 -66
  8. package/dist/index-D5Hig-j9.d.ts +155 -0
  9. package/dist/index.d.ts +3 -2
  10. package/dist/index.js +7 -4
  11. package/dist/{record-1OqtuwjP.js → record-Bqt1kE_Q.js} +1 -1
  12. package/dist/run/live.d.ts +10 -0
  13. package/dist/run/live.js +389 -0
  14. package/dist/run/record.js +1 -1
  15. package/dist/run.d.ts +2 -1
  16. package/dist/run.js +3 -2
  17. package/dist/runtime-viewer/AgentGraphCanvas-B74GN1o6-DC3EH_ss.js +8564 -0
  18. package/dist/runtime-viewer/abap-CJVxDCih.js +2 -0
  19. package/dist/runtime-viewer/actionscript-3-DxxSN0a_.js +2 -0
  20. package/dist/runtime-viewer/ada-Cl3FVDZo.js +2 -0
  21. package/dist/runtime-viewer/ahk-wK-qmFta.js +2 -0
  22. package/dist/runtime-viewer/ahk2-H2JA2Yl6.js +2 -0
  23. package/dist/runtime-viewer/andromeeda--b5O3zh8.js +134 -0
  24. package/dist/runtime-viewer/andromeeda-Gms6gP4X.js +3 -0
  25. package/dist/runtime-viewer/angular-html-rj1gmhWN.js +15 -0
  26. package/dist/runtime-viewer/angular-ts-Bqgem-S1.js +17 -0
  27. package/dist/runtime-viewer/apache-BUhlrTDV.js +2 -0
  28. package/dist/runtime-viewer/apex-BB9dj6FH.js +2 -0
  29. package/dist/runtime-viewer/apl-Bbo6_Uyo.js +15 -0
  30. package/dist/runtime-viewer/appendItems-Cd9l6s5M.js +709 -0
  31. package/dist/runtime-viewer/applescript-ADDjRuDN.js +2 -0
  32. package/dist/runtime-viewer/ara-qq1xXFYH.js +2 -0
  33. package/dist/runtime-viewer/asciidoc-DM4EX7__.js +2 -0
  34. package/dist/runtime-viewer/asm-BG-prohY.js +2 -0
  35. package/dist/runtime-viewer/astro-DLFBJCYZ.js +17 -0
  36. package/dist/runtime-viewer/aurora-x-9XZt7weA.js +3 -0
  37. package/dist/runtime-viewer/aurora-x-CUDrP6dl.js +148 -0
  38. package/dist/runtime-viewer/awk-CLViK1AN.js +2 -0
  39. package/dist/runtime-viewer/ayu-dark-Cn6mFqgG.js +3 -0
  40. package/dist/runtime-viewer/ayu-dark-KXkHEKeT.js +124 -0
  41. package/dist/runtime-viewer/ayu-light-CiMsj1GY.js +124 -0
  42. package/dist/runtime-viewer/ayu-light-DT1rcejT.js +3 -0
  43. package/dist/runtime-viewer/ayu-mirage-B9PABb6M.js +3 -0
  44. package/dist/runtime-viewer/ayu-mirage-D866knu2.js +124 -0
  45. package/dist/runtime-viewer/ballerina-CEQUp96R.js +2 -0
  46. package/dist/runtime-viewer/bash-CEf3P1Io.js +1 -0
  47. package/dist/runtime-viewer/bat-CZr3fv67.js +2 -0
  48. package/dist/runtime-viewer/beancount-VKRy3bBi.js +2 -0
  49. package/dist/runtime-viewer/berry-BwT4aLVg.js +2 -0
  50. package/dist/runtime-viewer/bibtex-CqljWi0V.js +2 -0
  51. package/dist/runtime-viewer/bicep-B4J9qq-Z.js +2 -0
  52. package/dist/runtime-viewer/bird2-aEHxasJz.js +2 -0
  53. package/dist/runtime-viewer/blade-CSrWCe1q.js +19 -0
  54. package/dist/runtime-viewer/bsl-BihRw6wC.js +4 -0
  55. package/dist/runtime-viewer/c-DqEbRro5.js +1 -0
  56. package/dist/runtime-viewer/c-nuWrC4_R.js +4 -0
  57. package/dist/runtime-viewer/c3-B1ecFreZ.js +2 -0
  58. package/dist/runtime-viewer/cadence-DRL7VEtm.js +2 -0
  59. package/dist/runtime-viewer/cairo-Mf356MxB.js +4 -0
  60. package/dist/runtime-viewer/catppuccin-frappe-CaZDpwbh.js +3 -0
  61. package/dist/runtime-viewer/catppuccin-frappe-D40A-eC-.js +253 -0
  62. package/dist/runtime-viewer/catppuccin-latte-BY0gIWQk.js +253 -0
  63. package/dist/runtime-viewer/catppuccin-latte-Cto1Jf_t.js +3 -0
  64. package/dist/runtime-viewer/catppuccin-macchiato-BshuwwL_.js +253 -0
  65. package/dist/runtime-viewer/catppuccin-macchiato-Da4JtJzk.js +3 -0
  66. package/dist/runtime-viewer/catppuccin-mocha-DDZ3zh14.js +253 -0
  67. package/dist/runtime-viewer/catppuccin-mocha-VxvWTjH_.js +3 -0
  68. package/dist/runtime-viewer/chapel-OTK-UUIg.js +4 -0
  69. package/dist/runtime-viewer/clarity-VQN67-z4.js +2 -0
  70. package/dist/runtime-viewer/clojure-CO3ptKNj.js +2 -0
  71. package/dist/runtime-viewer/cmake-Daw-aSZt.js +2 -0
  72. package/dist/runtime-viewer/cobol-Cf_qPd6-.js +9 -0
  73. package/dist/runtime-viewer/codeowners-RB6Ky2d_.js +2 -0
  74. package/dist/runtime-viewer/codeql-DWYIUtYc.js +2 -0
  75. package/dist/runtime-viewer/coffee-Ddb4DMEu.js +4 -0
  76. package/dist/runtime-viewer/common-lisp-Z5pdmE3i.js +2 -0
  77. package/dist/runtime-viewer/constants-BJYchxfN.js +3 -0
  78. package/dist/runtime-viewer/coq-JC5iWOqp.js +2 -0
  79. package/dist/runtime-viewer/core-CpUX80b1.js +3279 -0
  80. package/dist/runtime-viewer/cpp-ClbMDAkS.js +1 -0
  81. package/dist/runtime-viewer/cpp-DHh405em.js +15 -0
  82. package/dist/runtime-viewer/crystal-DO6lJkkC.js +17 -0
  83. package/dist/runtime-viewer/csharp-lEK6y4jq.js +2 -0
  84. package/dist/runtime-viewer/csharp-rZvb5Mvv.js +1 -0
  85. package/dist/runtime-viewer/css-CwgM346x.js +1 -0
  86. package/dist/runtime-viewer/css-D0s2ehNl.js +4 -0
  87. package/dist/runtime-viewer/csv-DDLVNpF_.js +2 -0
  88. package/dist/runtime-viewer/cue-D9icO3Iq.js +2 -0
  89. package/dist/runtime-viewer/cypher-CtaxHT1L.js +2 -0
  90. package/dist/runtime-viewer/d-D4yE5Vyh.js +2 -0
  91. package/dist/runtime-viewer/dark-plus-BrGvqa0b.js +132 -0
  92. package/dist/runtime-viewer/dark-plus-Fqa0GMhm.js +3 -0
  93. package/dist/runtime-viewer/dart-BQKGVcgZ.js +2 -0
  94. package/dist/runtime-viewer/dax-B_fglzFE.js +2 -0
  95. package/dist/runtime-viewer/desktop-D1YOnHEY.js +2 -0
  96. package/dist/runtime-viewer/diff-CiTjO3HD.js +1 -0
  97. package/dist/runtime-viewer/diff-Diuv0qGT.js +2 -0
  98. package/dist/runtime-viewer/docker-DbYJRRXH.js +4 -0
  99. package/dist/runtime-viewer/dockerfile-BFrtbjpQ.js +1 -0
  100. package/dist/runtime-viewer/dotenv-FA1qqDb1.js +2 -0
  101. package/dist/runtime-viewer/dracula-Btj3GSO9.js +3 -0
  102. package/dist/runtime-viewer/dracula-D8HPTJym.js +152 -0
  103. package/dist/runtime-viewer/dracula-soft-C8zQlEh_.js +102 -0
  104. package/dist/runtime-viewer/dracula-soft-D6LcM51i.js +3 -0
  105. package/dist/runtime-viewer/dream-maker-hpDz6By6.js +2 -0
  106. package/dist/runtime-viewer/edge-BB4FSmZo.js +11 -0
  107. package/dist/runtime-viewer/elixir-DuATaRNn.js +4 -0
  108. package/dist/runtime-viewer/elk.bundled-CqF3Dyp2.js +45979 -0
  109. package/dist/runtime-viewer/elm-82HhQ2nm.js +4 -0
  110. package/dist/runtime-viewer/emacs-lisp-C5QNYC99.js +2 -0
  111. package/dist/runtime-viewer/engine-javascript-0MH9JO7M.js +2372 -0
  112. package/dist/runtime-viewer/engine-oniguruma-7Bv9BGGj.js +237 -0
  113. package/dist/runtime-viewer/erb-YvvBNDWy.js +9 -0
  114. package/dist/runtime-viewer/erlang-X9awClOJ.js +4 -0
  115. package/dist/runtime-viewer/everforest-dark-CzXjGmbf.js +3 -0
  116. package/dist/runtime-viewer/everforest-dark-DPX_5Sj-.js +86 -0
  117. package/dist/runtime-viewer/everforest-light-BMqXq4Th.js +3 -0
  118. package/dist/runtime-viewer/everforest-light-D1PD4A7K.js +86 -0
  119. package/dist/runtime-viewer/fennel-f1xl4Q05.js +2 -0
  120. package/dist/runtime-viewer/fish-99YblEc7.js +2 -0
  121. package/dist/runtime-viewer/fluent-4LP_8ZRP.js +2 -0
  122. package/dist/runtime-viewer/formatCSSVariablePrefix-Dw8K8---.js +5 -0
  123. package/dist/runtime-viewer/fortran-fixed-form-CXgWKejO.js +4 -0
  124. package/dist/runtime-viewer/fortran-free-form-BJnwWphW.js +2 -0
  125. package/dist/runtime-viewer/fsharp-lb4HOh0M.js +4 -0
  126. package/dist/runtime-viewer/gdresource-B4QpWOUk.js +9 -0
  127. package/dist/runtime-viewer/gdscript-Dc0nUXdB.js +2 -0
  128. package/dist/runtime-viewer/gdshader-D7XodLZw.js +2 -0
  129. package/dist/runtime-viewer/genie-ufotYGgo.js +2 -0
  130. package/dist/runtime-viewer/gherkin-TDn2lJS-.js +2 -0
  131. package/dist/runtime-viewer/git-commit-Cp1Pt-h7.js +4 -0
  132. package/dist/runtime-viewer/git-rebase-CXUuGQB4.js +4 -0
  133. package/dist/runtime-viewer/github-dark-BsaUiyss.js +129 -0
  134. package/dist/runtime-viewer/github-dark-CzJ4LJRs.js +3 -0
  135. package/dist/runtime-viewer/github-dark-default-C6vmm66I.js +3 -0
  136. package/dist/runtime-viewer/github-dark-default-DHpmzBTU.js +75 -0
  137. package/dist/runtime-viewer/github-dark-dimmed-Bg7ahiYc.js +124 -0
  138. package/dist/runtime-viewer/github-dark-dimmed-CntRzgqu.js +3 -0
  139. package/dist/runtime-viewer/github-dark-high-contrast-BP5LnlnO.js +124 -0
  140. package/dist/runtime-viewer/github-dark-high-contrast-gviVHGeU.js +3 -0
  141. package/dist/runtime-viewer/github-light-2Z3gmJhd.js +3 -0
  142. package/dist/runtime-viewer/github-light-BAncjKrl.js +129 -0
  143. package/dist/runtime-viewer/github-light-default-kDVra9RT.js +124 -0
  144. package/dist/runtime-viewer/github-light-default-qgi3RC4t.js +3 -0
  145. package/dist/runtime-viewer/github-light-high-contrast-B2kY0DMu.js +124 -0
  146. package/dist/runtime-viewer/github-light-high-contrast-T0lGRgzi.js +3 -0
  147. package/dist/runtime-viewer/gleam-LV2mKtnv.js +2 -0
  148. package/dist/runtime-viewer/glimmer-js-BX9ckA-I.js +13 -0
  149. package/dist/runtime-viewer/glimmer-ts-DAfjLnWM.js +13 -0
  150. package/dist/runtime-viewer/glsl-BStsalM0.js +5 -0
  151. package/dist/runtime-viewer/gn-ChOGRsKV.js +2 -0
  152. package/dist/runtime-viewer/gnuplot-Di7UZXvs.js +2 -0
  153. package/dist/runtime-viewer/go-BrUQhiM2.js +1 -0
  154. package/dist/runtime-viewer/go-DM5FkVJr.js +2 -0
  155. package/dist/runtime-viewer/graphql-C8jzeQ3m.js +1 -0
  156. package/dist/runtime-viewer/graphql-C_WRV-qo.js +14 -0
  157. package/dist/runtime-viewer/groovy-DNa91fQJ.js +2 -0
  158. package/dist/runtime-viewer/gruvbox-dark-hard-BK-BcNOC.js +127 -0
  159. package/dist/runtime-viewer/gruvbox-dark-hard-fgme3GSG.js +3 -0
  160. package/dist/runtime-viewer/gruvbox-dark-medium-Btvv2ALk.js +127 -0
  161. package/dist/runtime-viewer/gruvbox-dark-medium-GM28AOs3.js +3 -0
  162. package/dist/runtime-viewer/gruvbox-dark-soft-D12Dlf7E.js +3 -0
  163. package/dist/runtime-viewer/gruvbox-dark-soft-ScIRFHp0.js +127 -0
  164. package/dist/runtime-viewer/gruvbox-light-hard-D0LtL2QG.js +3 -0
  165. package/dist/runtime-viewer/gruvbox-light-hard-D3d04bym.js +127 -0
  166. package/dist/runtime-viewer/gruvbox-light-medium-BUM64AiQ.js +127 -0
  167. package/dist/runtime-viewer/gruvbox-light-medium-Dbiuwhcl.js +3 -0
  168. package/dist/runtime-viewer/gruvbox-light-soft-BFyUZF8I.js +3 -0
  169. package/dist/runtime-viewer/gruvbox-light-soft-Deemyp2j.js +127 -0
  170. package/dist/runtime-viewer/hack-DrxrxETA.js +9 -0
  171. package/dist/runtime-viewer/haml-DtaFw5Wt.js +10 -0
  172. package/dist/runtime-viewer/handlebars-DdC6ISBc.js +13 -0
  173. package/dist/runtime-viewer/haskell-D6RgJWqJ.js +2 -0
  174. package/dist/runtime-viewer/haxe-CIYKU3E4.js +2 -0
  175. package/dist/runtime-viewer/hcl-B9zco17t.js +2 -0
  176. package/dist/runtime-viewer/highlights-Dcx2AVJg.js +1342 -0
  177. package/dist/runtime-viewer/hjson-sMCeQDUn.js +2 -0
  178. package/dist/runtime-viewer/hlsl-WeeDt2Wp.js +2 -0
  179. package/dist/runtime-viewer/horizon-B8n8qcHx.js +84 -0
  180. package/dist/runtime-viewer/horizon-aRqT-seq.js +3 -0
  181. package/dist/runtime-viewer/horizon-bright-DACv8zK_.js +84 -0
  182. package/dist/runtime-viewer/horizon-bright-DEevCdc_.js +3 -0
  183. package/dist/runtime-viewer/houston-CsNpjGGD.js +194 -0
  184. package/dist/runtime-viewer/houston-Dg2jxmDJ.js +3 -0
  185. package/dist/runtime-viewer/html-CPjHaxbO.js +1 -0
  186. package/dist/runtime-viewer/html-Di2iyAsX.js +10 -0
  187. package/dist/runtime-viewer/html-derivative-Rauq0RVM.js +4 -0
  188. package/dist/runtime-viewer/http-CkmWBydm.js +13 -0
  189. package/dist/runtime-viewer/hurl-BGjXa70x.js +11 -0
  190. package/dist/runtime-viewer/hxml-Bo5YTIXF.js +4 -0
  191. package/dist/runtime-viewer/hy-C-tRiv34.js +2 -0
  192. package/dist/runtime-viewer/imba-v7ELlTL6.js +2 -0
  193. package/dist/runtime-viewer/ini-DtrnrQj2.js +2 -0
  194. package/dist/runtime-viewer/java-DVlvG-lL.js +1 -0
  195. package/dist/runtime-viewer/java-DzBtATHG.js +4 -0
  196. package/dist/runtime-viewer/javascript--K52AMOb.js +4 -0
  197. package/dist/runtime-viewer/javascript-soGjNmbd.js +1 -0
  198. package/dist/runtime-viewer/jinja-CZBKZHkS.js +4 -0
  199. package/dist/runtime-viewer/jison-Bqt-LhEh.js +4 -0
  200. package/dist/runtime-viewer/json-DN-CB1kQ.js +4 -0
  201. package/dist/runtime-viewer/json-D_yoNICS.js +1 -0
  202. package/dist/runtime-viewer/json5-BdfUTtLp.js +2 -0
  203. package/dist/runtime-viewer/jsonc-ElU8pfhL.js +1 -0
  204. package/dist/runtime-viewer/jsonc-IKox2JSV.js +2 -0
  205. package/dist/runtime-viewer/jsonl-CfuX4G6U.js +2 -0
  206. package/dist/runtime-viewer/jsonnet-Yq9KcR8E.js +2 -0
  207. package/dist/runtime-viewer/jssm-BvR7SnkK.js +2 -0
  208. package/dist/runtime-viewer/jsx-D_XQMdaK.js +4 -0
  209. package/dist/runtime-viewer/jsx-snoZUiUS.js +1 -0
  210. package/dist/runtime-viewer/julia-C8lwf2tT.js +15 -0
  211. package/dist/runtime-viewer/just-CQnb5pIW.js +17 -0
  212. package/dist/runtime-viewer/kanagawa-dragon-Cx4OB0dC.js +3 -0
  213. package/dist/runtime-viewer/kanagawa-dragon-OValCvAZ.js +146 -0
  214. package/dist/runtime-viewer/kanagawa-lotus-C1sYcneT.js +146 -0
  215. package/dist/runtime-viewer/kanagawa-lotus-TwFRI7_8.js +3 -0
  216. package/dist/runtime-viewer/kanagawa-wave-BJYCyv2X.js +146 -0
  217. package/dist/runtime-viewer/kanagawa-wave-BiOn36ux.js +3 -0
  218. package/dist/runtime-viewer/kdl-D97SquIS.js +2 -0
  219. package/dist/runtime-viewer/kotlin-EmJjLeRz.js +2 -0
  220. package/dist/runtime-viewer/kotlin-LwxBtHgj.js +1 -0
  221. package/dist/runtime-viewer/kusto-DHanPw0g.js +2 -0
  222. package/dist/runtime-viewer/langs-D4STZqO4.js +1322 -0
  223. package/dist/runtime-viewer/laserwave-CV_0dg5c.js +71 -0
  224. package/dist/runtime-viewer/laserwave-PpzazpgI.js +3 -0
  225. package/dist/runtime-viewer/latest-events-iiWwpIck-BTK0vSlR.js +3657 -0
  226. package/dist/runtime-viewer/latex-Csew0MLK.js +4 -0
  227. package/dist/runtime-viewer/lean-E61_xvh-.js +2 -0
  228. package/dist/runtime-viewer/less-Bis9Y9oi.js +2 -0
  229. package/dist/runtime-viewer/lib-B7rl8i0A.js +1712 -0
  230. package/dist/runtime-viewer/light-plus-DOInvhGO.js +133 -0
  231. package/dist/runtime-viewer/light-plus-DnhX_5eg.js +3 -0
  232. package/dist/runtime-viewer/liquid-CuxywBoN.js +13 -0
  233. package/dist/runtime-viewer/llvm-DOIFdCJg.js +2 -0
  234. package/dist/runtime-viewer/loader-NcDPTN_h.js +79 -0
  235. package/dist/runtime-viewer/log-Awf6LbyY.js +2 -0
  236. package/dist/runtime-viewer/logo-Cn9nW1nw.js +2 -0
  237. package/dist/runtime-viewer/lua-BtojQCeL.js +5 -0
  238. package/dist/runtime-viewer/luau-DHSqpUrS.js +2 -0
  239. package/dist/runtime-viewer/make-CJ4tc-MS.js +2 -0
  240. package/dist/runtime-viewer/markdown-CNVZ8ok-.js +2 -0
  241. package/dist/runtime-viewer/markdown-Co5Krewy.js +1 -0
  242. package/dist/runtime-viewer/marko-CRIKirQp.js +13 -0
  243. package/dist/runtime-viewer/material-theme-D5uz9rje.js +3 -0
  244. package/dist/runtime-viewer/material-theme-darker-DbzCDLF8.js +92 -0
  245. package/dist/runtime-viewer/material-theme-darker-Dqalv5VE.js +3 -0
  246. package/dist/runtime-viewer/material-theme-lighter-CVJ0oH_V.js +3 -0
  247. package/dist/runtime-viewer/material-theme-lighter-CytgYJOd.js +92 -0
  248. package/dist/runtime-viewer/material-theme-ocean-BgKy5sU3.js +92 -0
  249. package/dist/runtime-viewer/material-theme-ocean-CRXu0cdY.js +3 -0
  250. package/dist/runtime-viewer/material-theme-palenight-C6iiJcUB.js +3 -0
  251. package/dist/runtime-viewer/material-theme-palenight-DZK7nXDy.js +92 -0
  252. package/dist/runtime-viewer/material-theme-yF3uaT0h.js +92 -0
  253. package/dist/runtime-viewer/matlab-Dn3Clolk.js +2 -0
  254. package/dist/runtime-viewer/mdc-D0bRQBcT.js +11 -0
  255. package/dist/runtime-viewer/mdx-C5T-IRbL.js +2 -0
  256. package/dist/runtime-viewer/mdx-DM8tlqVf.js +1 -0
  257. package/dist/runtime-viewer/mermaid-C4AYlmk3.js +2 -0
  258. package/dist/runtime-viewer/min-dark-BGA1sv8W.js +3 -0
  259. package/dist/runtime-viewer/min-dark-C1XOhi4b.js +109 -0
  260. package/dist/runtime-viewer/min-light-Bi5vyNSJ.js +109 -0
  261. package/dist/runtime-viewer/min-light-CYXBjZLR.js +3 -0
  262. package/dist/runtime-viewer/mipsasm-Bwfx99oh.js +2 -0
  263. package/dist/runtime-viewer/mojo-CRl08dek.js +2 -0
  264. package/dist/runtime-viewer/monokai-D9Ylqri2.js +149 -0
  265. package/dist/runtime-viewer/monokai-i6D4lZa3.js +3 -0
  266. package/dist/runtime-viewer/moonbit-CF1zF40g.js +2 -0
  267. package/dist/runtime-viewer/move-BP-e5w2W.js +2 -0
  268. package/dist/runtime-viewer/narrat-CrPIhy6S.js +2 -0
  269. package/dist/runtime-viewer/nextflow-D_hnf_jC.js +4 -0
  270. package/dist/runtime-viewer/nextflow-groovy-BLKP0md9.js +2 -0
  271. package/dist/runtime-viewer/nginx-87WOq-zh.js +4 -0
  272. package/dist/runtime-viewer/night-owl-BIeenDB2.js +175 -0
  273. package/dist/runtime-viewer/night-owl-NpADjULE.js +3 -0
  274. package/dist/runtime-viewer/night-owl-light-CPFD_YWe.js +3 -0
  275. package/dist/runtime-viewer/night-owl-light-cj7zoq2Q.js +176 -0
  276. package/dist/runtime-viewer/nim-CDdExumk.js +19 -0
  277. package/dist/runtime-viewer/nix-D_5rVnnj.js +2 -0
  278. package/dist/runtime-viewer/nord-DtfXNtHW.js +3 -0
  279. package/dist/runtime-viewer/nord-LUKuJt-q.js +115 -0
  280. package/dist/runtime-viewer/nsis-R3iO3ArE.js +2 -0
  281. package/dist/runtime-viewer/nushell-Ctp5mfhf.js +2 -0
  282. package/dist/runtime-viewer/objective-c-DPJeQfV6.js +2 -0
  283. package/dist/runtime-viewer/objective-cpp-1I3jYeMe.js +2 -0
  284. package/dist/runtime-viewer/ocaml-DOrLjeoA.js +2 -0
  285. package/dist/runtime-viewer/odin-CyrMbkLb.js +2 -0
  286. package/dist/runtime-viewer/one-dark-pro-CoHxEOhG.js +3 -0
  287. package/dist/runtime-viewer/one-dark-pro-DJGEbENq.js +111 -0
  288. package/dist/runtime-viewer/one-light-CTMiOsB9.js +137 -0
  289. package/dist/runtime-viewer/one-light-DRcvOwa6.js +3 -0
  290. package/dist/runtime-viewer/openscad-BdifjW6z.js +2 -0
  291. package/dist/runtime-viewer/org-DqaIvCPP.js +99 -0
  292. package/dist/runtime-viewer/pascal-CWF557wL.js +2 -0
  293. package/dist/runtime-viewer/perl-CNf3SVpk.js +15 -0
  294. package/dist/runtime-viewer/php-BPw4EY34.js +17 -0
  295. package/dist/runtime-viewer/php-CftiA0NJ.js +1 -0
  296. package/dist/runtime-viewer/pierre-dark-Bdb1mzqq.js +153 -0
  297. package/dist/runtime-viewer/pierre-dark-C6-jOUHM.js +3 -0
  298. package/dist/runtime-viewer/pierre-dark-protanopia-deuteranopia-DCuPErCj.js +153 -0
  299. package/dist/runtime-viewer/pierre-dark-protanopia-deuteranopia-duePIMEV.js +3 -0
  300. package/dist/runtime-viewer/pierre-dark-soft-BAcQZBxz.js +3 -0
  301. package/dist/runtime-viewer/pierre-dark-soft-BbEG7yMD.js +153 -0
  302. package/dist/runtime-viewer/pierre-dark-tritanopia-DOpkeqXJ.js +153 -0
  303. package/dist/runtime-viewer/pierre-dark-tritanopia-D_B2XvmS.js +3 -0
  304. package/dist/runtime-viewer/pierre-dark-vibrant-Cjjp0Ett.js +3 -0
  305. package/dist/runtime-viewer/pierre-dark-vibrant-wch72KIm.js +153 -0
  306. package/dist/runtime-viewer/pierre-light-BOFVfKvu.js +153 -0
  307. package/dist/runtime-viewer/pierre-light-LcifP5tb.js +3 -0
  308. package/dist/runtime-viewer/pierre-light-protanopia-deuteranopia-BQUu7m7e.js +153 -0
  309. package/dist/runtime-viewer/pierre-light-protanopia-deuteranopia-BwLihlmJ.js +3 -0
  310. package/dist/runtime-viewer/pierre-light-soft-BOBDofkU.js +153 -0
  311. package/dist/runtime-viewer/pierre-light-soft-X5R_lHC5.js +3 -0
  312. package/dist/runtime-viewer/pierre-light-tritanopia-DHKQqobW.js +153 -0
  313. package/dist/runtime-viewer/pierre-light-tritanopia-_xB326N3.js +3 -0
  314. package/dist/runtime-viewer/pierre-light-vibrant-BQ8t4eUq.js +153 -0
  315. package/dist/runtime-viewer/pierre-light-vibrant-CpysSVqa.js +3 -0
  316. package/dist/runtime-viewer/pkl-D57k4LLs.js +2 -0
  317. package/dist/runtime-viewer/plastic-B9GSmjqY.js +3 -0
  318. package/dist/runtime-viewer/plastic-BVwrkRXf.js +124 -0
  319. package/dist/runtime-viewer/plsql-CFYD0AaB.js +2 -0
  320. package/dist/runtime-viewer/po-3OOmP4Qc.js +2 -0
  321. package/dist/runtime-viewer/poimandres-BOYLUaPj.js +3 -0
  322. package/dist/runtime-viewer/poimandres-pq5u2ANt.js +111 -0
  323. package/dist/runtime-viewer/polar-B5m1_AiD.js +2 -0
  324. package/dist/runtime-viewer/postcss-DaNMuZdy.js +2 -0
  325. package/dist/runtime-viewer/powerquery-Ds3ATR9s.js +2 -0
  326. package/dist/runtime-viewer/powershell-C6Oz4_dd.js +2 -0
  327. package/dist/runtime-viewer/prisma-RRr5YdGg.js +2 -0
  328. package/dist/runtime-viewer/prolog-DSStdQTq.js +2 -0
  329. package/dist/runtime-viewer/proto-Chh6Q5CM.js +2 -0
  330. package/dist/runtime-viewer/pug-jgpaAltF.js +11 -0
  331. package/dist/runtime-viewer/puppet-BLsUK3yq.js +2 -0
  332. package/dist/runtime-viewer/purescript-B02W4seQ.js +2 -0
  333. package/dist/runtime-viewer/python-BHaXfePs.js +2 -0
  334. package/dist/runtime-viewer/python-CqjzihlT.js +1 -0
  335. package/dist/runtime-viewer/qml-LuB2sppG.js +4 -0
  336. package/dist/runtime-viewer/qmldir-COlmh4fX.js +2 -0
  337. package/dist/runtime-viewer/qss-DQUGDdeL.js +2 -0
  338. package/dist/runtime-viewer/r-DLQ-WMyZ.js +4 -0
  339. package/dist/runtime-viewer/racket-Dh3q-EfD.js +2 -0
  340. package/dist/runtime-viewer/raku-CdFQrZmh.js +2 -0
  341. package/dist/runtime-viewer/razor-DyYB-qxm.js +9 -0
  342. package/dist/runtime-viewer/rbs-jMgpabM7.js +2 -0
  343. package/dist/runtime-viewer/red-CCCMngeG.js +3 -0
  344. package/dist/runtime-viewer/red-Dab29wid.js +153 -0
  345. package/dist/runtime-viewer/reg-BY6GKaZK.js +2 -0
  346. package/dist/runtime-viewer/regexp-DGXwIvno.js +4 -0
  347. package/dist/runtime-viewer/rel-DjgjjaPM.js +2 -0
  348. package/dist/runtime-viewer/riscv-e0swiQQT.js +2 -0
  349. package/dist/runtime-viewer/rolldown-runtime-CwxnZyOB.js +22 -0
  350. package/dist/runtime-viewer/ron-Ba9vjMyp.js +2 -0
  351. package/dist/runtime-viewer/rose-pine-B-dgSkpN.js +3 -0
  352. package/dist/runtime-viewer/rose-pine-BtbnV2yy.js +123 -0
  353. package/dist/runtime-viewer/rose-pine-dawn-Bdn8gWo3.js +123 -0
  354. package/dist/runtime-viewer/rose-pine-dawn-wnKgbnkN.js +3 -0
  355. package/dist/runtime-viewer/rose-pine-moon-Bo6Tj-LK.js +3 -0
  356. package/dist/runtime-viewer/rose-pine-moon-f0wTyd2e.js +123 -0
  357. package/dist/runtime-viewer/rosmsg-33FkgZa7.js +2 -0
  358. package/dist/runtime-viewer/rst-B4Blahjm.js +21 -0
  359. package/dist/runtime-viewer/ruby-DYURXRgy.js +1 -0
  360. package/dist/runtime-viewer/ruby-ZzNzsyR7.js +29 -0
  361. package/dist/runtime-viewer/rust-CbGaYpW0.js +2 -0
  362. package/dist/runtime-viewer/rust-DesRWqWI.js +1 -0
  363. package/dist/runtime-viewer/sandbox-ui-z5RGk327.css +2 -0
  364. package/dist/runtime-viewer/sas-y9RoKb_L.js +4 -0
  365. package/dist/runtime-viewer/sass-B4OMkGSD.js +2 -0
  366. package/dist/runtime-viewer/scala--rETK160.js +2 -0
  367. package/dist/runtime-viewer/scheme-CvovbBgk.js +2 -0
  368. package/dist/runtime-viewer/scss-DcI9-N4n.js +1 -0
  369. package/dist/runtime-viewer/scss-DopO6P6Z.js +5 -0
  370. package/dist/runtime-viewer/sdbl-BibMD0HR.js +2 -0
  371. package/dist/runtime-viewer/shaderlab-TCf2V7Bu.js +4 -0
  372. package/dist/runtime-viewer/shellscript-CMmvhdtO.js +4 -0
  373. package/dist/runtime-viewer/shellsession-C-hBmRFA.js +4 -0
  374. package/dist/runtime-viewer/shiki-CKiqbkeh.js +472 -0
  375. package/dist/runtime-viewer/slack-dark-Cdsw60PX.js +71 -0
  376. package/dist/runtime-viewer/slack-dark-awEjS_Yb.js +3 -0
  377. package/dist/runtime-viewer/slack-ochin-BKdp7_AN.js +94 -0
  378. package/dist/runtime-viewer/slack-ochin-CabfdAmS.js +3 -0
  379. package/dist/runtime-viewer/smalltalk-DxjZ-YtB.js +2 -0
  380. package/dist/runtime-viewer/smithy-tPvbDXO4.js +2 -0
  381. package/dist/runtime-viewer/snazzy-light-BYOmyMID.js +80 -0
  382. package/dist/runtime-viewer/snazzy-light-DqG5DUoz.js +3 -0
  383. package/dist/runtime-viewer/solarized-dark-DW7IHQvx.js +3 -0
  384. package/dist/runtime-viewer/solarized-dark-DbW2e0tz.js +147 -0
  385. package/dist/runtime-viewer/solarized-light-CAggmb5U.js +147 -0
  386. package/dist/runtime-viewer/solarized-light-DHtUsXC-.js +3 -0
  387. package/dist/runtime-viewer/solidity-CzRNc7l4.js +2 -0
  388. package/dist/runtime-viewer/solidity-DcnQs1tt.js +1 -0
  389. package/dist/runtime-viewer/soy-Di0gqQmR.js +4 -0
  390. package/dist/runtime-viewer/sparql-9pWczk0C.js +4 -0
  391. package/dist/runtime-viewer/splunk-mpquMt_8.js +2 -0
  392. package/dist/runtime-viewer/sql-BKQgqUK-.js +4 -0
  393. package/dist/runtime-viewer/sql-CWnPlVS6.js +1 -0
  394. package/dist/runtime-viewer/ssh-config-DcnVpK-n.js +2 -0
  395. package/dist/runtime-viewer/stata-D1hxcba5.js +4 -0
  396. package/dist/runtime-viewer/stream-tokenizer-BWCJrHj9.js +97 -0
  397. package/dist/runtime-viewer/stylus-Bk8v-7oM.js +2 -0
  398. package/dist/runtime-viewer/surrealql-D20GSlYu.js +4 -0
  399. package/dist/runtime-viewer/svelte-C1MdtiIu.js +13 -0
  400. package/dist/runtime-viewer/swift-1fpvFsbf.js +2 -0
  401. package/dist/runtime-viewer/swift-DdLix5IB.js +1 -0
  402. package/dist/runtime-viewer/synthwave-84-DEoLt5E0.js +3 -0
  403. package/dist/runtime-viewer/synthwave-84-DYyyPr4g.js +397 -0
  404. package/dist/runtime-viewer/system-verilog-9E6eQ6kG.js +2 -0
  405. package/dist/runtime-viewer/systemd-CS6cln6J.js +2 -0
  406. package/dist/runtime-viewer/talonscript-COzgILOx.js +2 -0
  407. package/dist/runtime-viewer/tasl-CrL-TM3j.js +2 -0
  408. package/dist/runtime-viewer/tcl-BK--alTs.js +2 -0
  409. package/dist/runtime-viewer/templ-DKjVFvC3.js +11 -0
  410. package/dist/runtime-viewer/terraform-BKVT4lTN.js +2 -0
  411. package/dist/runtime-viewer/tex-BMGJ-FHF.js +5 -0
  412. package/dist/runtime-viewer/themes-D2drbHm6.js +235 -0
  413. package/dist/runtime-viewer/tokyo-night-BDW-4G1n.js +3 -0
  414. package/dist/runtime-viewer/tokyo-night-CnwkSle4.js +140 -0
  415. package/dist/runtime-viewer/toml-BygInOIB.js +1 -0
  416. package/dist/runtime-viewer/toml-CXAVGmfI.js +2 -0
  417. package/dist/runtime-viewer/ts-tags-BMg-6tE-.js +37 -0
  418. package/dist/runtime-viewer/tsv-r5fpGho9.js +2 -0
  419. package/dist/runtime-viewer/tsx-CdftCu0x.js +1 -0
  420. package/dist/runtime-viewer/tsx-sVSKAISV.js +4 -0
  421. package/dist/runtime-viewer/turtle-BbiQBLu0.js +2 -0
  422. package/dist/runtime-viewer/twig-09z_6B11.js +17 -0
  423. package/dist/runtime-viewer/typescript-COKJUNHB.js +4 -0
  424. package/dist/runtime-viewer/typescript-DCN8T-9u.js +1 -0
  425. package/dist/runtime-viewer/typespec-CtiCKN_c.js +2 -0
  426. package/dist/runtime-viewer/typst-D_sC_VAT.js +119 -0
  427. package/dist/runtime-viewer/unwrapDefault-CNWG9hDr.js +5 -0
  428. package/dist/runtime-viewer/v-BdhLiTpS.js +2 -0
  429. package/dist/runtime-viewer/vala-sKTZx7aP.js +2 -0
  430. package/dist/runtime-viewer/vb-BAyoHiqq.js +2 -0
  431. package/dist/runtime-viewer/verilog-DrDp-nNs.js +2 -0
  432. package/dist/runtime-viewer/vesper-BOAJeYxj.js +3 -0
  433. package/dist/runtime-viewer/vesper-DMgHxe32.js +83 -0
  434. package/dist/runtime-viewer/vhdl-D4xoRBgL.js +2 -0
  435. package/dist/runtime-viewer/viml-C41wSeLL.js +2 -0
  436. package/dist/runtime-viewer/vitesse-black-CxSugKJt.js +3 -0
  437. package/dist/runtime-viewer/vitesse-black-D8_Gc8uG.js +183 -0
  438. package/dist/runtime-viewer/vitesse-dark-Dg-H5YXt.js +183 -0
  439. package/dist/runtime-viewer/vitesse-dark-DvdlNt-O.js +3 -0
  440. package/dist/runtime-viewer/vitesse-light-BU-cJySG.js +183 -0
  441. package/dist/runtime-viewer/vitesse-light-q0_0oW1f.js +3 -0
  442. package/dist/runtime-viewer/vue-BbJX7dLK.js +20 -0
  443. package/dist/runtime-viewer/vue-html-DvOnaPby.js +4 -0
  444. package/dist/runtime-viewer/vue-vine-NYLtCzNK.js +17 -0
  445. package/dist/runtime-viewer/vyper-D4A1KnBn.js +2 -0
  446. package/dist/runtime-viewer/wasm-CVPYyV9Y.js +2 -0
  447. package/dist/runtime-viewer/wasm-DrbRUT8q.js +3 -0
  448. package/dist/runtime-viewer/wenyan-Czq8OMMr.js +2 -0
  449. package/dist/runtime-viewer/wgsl-C_l-ZpBu.js +2 -0
  450. package/dist/runtime-viewer/wikitext-B7epQZx2.js +2 -0
  451. package/dist/runtime-viewer/wit-DswQpcNx.js +2 -0
  452. package/dist/runtime-viewer/wolfram-CSEjVwta.js +2 -0
  453. package/dist/runtime-viewer/xml-CBKvpQFb.js +1 -0
  454. package/dist/runtime-viewer/xml-Ct7jrUZw.js +5 -0
  455. package/dist/runtime-viewer/xsl-DovPFRzJ.js +4 -0
  456. package/dist/runtime-viewer/yaml-BfN4AWuy.js +4 -0
  457. package/dist/runtime-viewer/yaml-DWRq8wls.js +1 -0
  458. package/dist/runtime-viewer/zenscript-YvYHF5y3.js +2 -0
  459. package/dist/runtime-viewer/zig-BgXWauKx.js +2 -0
  460. package/dist/styles.css +192 -150
  461. package/dist/tailwind.css +156 -150
  462. package/dist/{run-C8HeXGk3.js → trace-workspace-C8dHRBDV.js} +2 -3
  463. package/dist/use-document-D6Z9oFLm.js +120 -0
  464. package/dist/{workbench-BozOdGCX.js → workbench-Z9wbei53.js} +4 -172
  465. package/dist/workbench.js +2 -1
  466. package/dist/{workspace-CJnBqCqj.js → workspace-CzikYt_y.js} +5 -364
  467. package/dist/workspace-files-pane-DB9Nvwh4.js +367 -0
  468. package/dist/workspace-viewer.js +44403 -0
  469. package/dist/workspace.js +2 -1
  470. package/package.json +9 -4
@@ -0,0 +1,4 @@
1
+ import { n as e } from "./rolldown-runtime-CwxnZyOB.js";
2
+ // node_modules/.pnpm/@shikijs+langs@4.5.0/node_modules/@shikijs/langs/dist/shellscript.mjs
3
+ var t = /* @__PURE__ */ 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\"]}"))];
4
+ export { t as n, n as t };
@@ -0,0 +1,4 @@
1
+ import { t as e } from "./shellscript-CMmvhdtO.js";
2
+ // node_modules/.pnpm/@shikijs+langs@4.5.0/node_modules/@shikijs/langs/dist/shellsession.mjs
3
+ var t = Object.freeze(JSON.parse("{\"displayName\":\"Shell Session\",\"fileTypes\":[\"sh-session\"],\"name\":\"shellsession\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"entity.other.prompt-prefix.shell-session\"},\"2\":{\"name\":\"punctuation.separator.prompt.shell-session\"},\"3\":{\"name\":\"source.shell\",\"patterns\":[{\"include\":\"source.shell\"}]}},\"match\":\"^(?:((?:\\\\(\\\\S+\\\\)\\\\s*)?(?:sh\\\\S*?|\\\\w+\\\\S+[:@]\\\\S+(?:\\\\s+\\\\S+)?|\\\\[\\\\S+?[:@]\\\\N+?].*?))\\\\s*)?([#$%>❯➜\\\\p{Greek}])\\\\s+(.*)$\"},{\"match\":\"^.+$\",\"name\":\"meta.output.shell-session\"}],\"scopeName\":\"text.shell-session\",\"embeddedLangs\":[\"shellscript\"],\"aliases\":[\"console\"]}")), n = [...e, t];
4
+ export { n as default };
@@ -0,0 +1,472 @@
1
+ import { d as e, f as t, t as n } from "./appendItems-Cd9l6s5M.js";
2
+ import { i as r, n as i, r as a, t as o } from "./constants-BJYchxfN.js";
3
+ import { n as s, t as c } from "./stream-tokenizer-BWCJrHj9.js";
4
+ import { createCssVariablesTheme as l, createHighlighterCore as u, n as d, t as f } from "./core-CpUX80b1.js";
5
+ // node_modules/.pnpm/@pierre+diffs@1.6.1_@shikijs+themes@4.5.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@pierre/diffs/dist/highlighter/languages/attachResolvedLanguages.js
6
+ function p(e, t) {
7
+ for (let n of Array.isArray(e) ? e : [e]) {
8
+ let e = a.get(n.name);
9
+ e ?? (e = n, a.set(n.name, e)), t.attachLanguages([e]), o.add(e.name);
10
+ }
11
+ }
12
+ // node_modules/.pnpm/@pierre+diffs@1.6.1_@shikijs+themes@4.5.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@pierre/diffs/dist/highlighter/languages/resolveLanguage.js
13
+ async function m(e) {
14
+ if (typeof __DIFFS_WORKER__ < "u" ? __DIFFS_WORKER__ : t()) throw Error(`resolveLanguage("${e}") cannot be called from a worker context. Languages must be pre-resolved on the main thread and passed to the worker via the resolvedLanguages parameter.`);
15
+ let n = r.get(e);
16
+ if (n != null) return n;
17
+ let o = (async () => {
18
+ let t = i.get(e);
19
+ if (t == null) {
20
+ let { bundledLanguages: n } = await import("./langs-D4STZqO4.js");
21
+ Object.prototype.hasOwnProperty.call(n, e) && (t = n[e]);
22
+ }
23
+ if (t == null) throw Error(`resolveLanguage: "${e}" not found in bundled or custom languages`);
24
+ let { default: n } = await t(), r = {
25
+ name: e,
26
+ data: n
27
+ };
28
+ return a.has(e) || a.set(e, r), r;
29
+ })();
30
+ r.set(e, o);
31
+ try {
32
+ return await o;
33
+ } finally {
34
+ r.get(e) === o && r.delete(e);
35
+ }
36
+ }
37
+ // node_modules/.pnpm/@pierre+diffs@1.6.1_@shikijs+themes@4.5.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@pierre/diffs/dist/highlighter/languages/getResolvedOrResolveLanguage.js
38
+ function h(e) {
39
+ return a.get(e) ?? m(e);
40
+ }
41
+ // node_modules/.pnpm/@pierre+diffs@1.6.1_@shikijs+themes@4.5.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@pierre/diffs/dist/highlighter/languages/resolveLanguages.js
42
+ async function g(e) {
43
+ let t = [], n = [];
44
+ for (let r of e) {
45
+ if (r === "text" || r === "ansi") continue;
46
+ let e = h(r) ?? m(r);
47
+ "then" in e ? n.push(e) : t.push(e);
48
+ }
49
+ return n.length > 0 && await Promise.all(n).then((e) => {
50
+ for (let n of e) {
51
+ if (n == null) throw Error("resolvedLanguages: unable to resolve language");
52
+ t.push(n);
53
+ }
54
+ }), t;
55
+ }
56
+ // node_modules/.pnpm/@pierre+diffs@1.6.1_@shikijs+themes@4.5.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@pierre/diffs/dist/editor/utils.js
57
+ function _(e, t) {
58
+ let n;
59
+ return function(...r) {
60
+ clearTimeout(n), n = setTimeout(() => e.apply(this, r), t);
61
+ };
62
+ }
63
+ // node_modules/.pnpm/@pierre+diffs@1.6.1_@shikijs+themes@4.5.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@pierre/diffs/dist/highlighter/shiki-editor.js
64
+ var v = 0, y = 0, b = class {
65
+ backend;
66
+ #e;
67
+ #t;
68
+ #n;
69
+ #r;
70
+ #i;
71
+ #a;
72
+ #o;
73
+ #s;
74
+ #c;
75
+ #l = !1;
76
+ #u = [d];
77
+ #d = [];
78
+ #f = 0;
79
+ #p = [];
80
+ #m = -1;
81
+ #h = !0;
82
+ #g = !1;
83
+ #_ = 0;
84
+ #v = ++y;
85
+ #y = -1;
86
+ #b = -1;
87
+ #x;
88
+ #S = 0;
89
+ #C = [];
90
+ #w = !1;
91
+ #T = _(async (e) => {
92
+ if (this.#l) return;
93
+ let { startingLine: t = 0, totalLines: n = Infinity } = e ?? {}, r = Math.min(n === Infinity ? Infinity : t + n, this.#i.lineCount);
94
+ if (this.#t == null && !S(this.#i.languageId)) {
95
+ if (await this.backend?.loadLanguages([this.#i.languageId]), this.#l) return;
96
+ this.#t = this.#e.getLanguage(this.#i.languageId);
97
+ }
98
+ this.#D(), this.#N(r);
99
+ }, 500);
100
+ #E = ({ data: e }) => {
101
+ if (typeof e != "object" || !e) return;
102
+ let { type: t, tokenizerId: n, jobId: r } = e;
103
+ t === "tokenize" && n === this.#v && typeof r == "number" && r === this.#_ && (this.#y >= 0 ? this.#z(r) : this.#B(r));
104
+ };
105
+ getStringCommentRegexpRangesInLine(e) {
106
+ if (!this.#s || e < 0 || e >= this.#i.lineCount || (this.#O(), this.#t == null)) return null;
107
+ if (this.#C[e] === void 0) {
108
+ this.#R(e);
109
+ let t = this.#u[e] ?? d, n = this.#P(e, t);
110
+ this.#u[e + 1] = n.state;
111
+ }
112
+ return this.#C[e] ?? null;
113
+ }
114
+ constructor(e, t, n) {
115
+ this.backend = n, this.#e = e, this.#i = t.textDocument, this.#n = t.theme, this.#r = [], this.#a = t.tokenizeMaxLineLength ?? 1e3, this.#o = t.onDeferTokenize, this.#s = t.matchBrackets !== !1, this.#c = t.__debug ?? !1, this.#O(), this.#D();
116
+ }
117
+ setTheme(e) {
118
+ this.#n !== e && (this.#n = e, this.#D(), this.stopBackgroundTokenize(), this.#u = [d], this.#d = [], this.#f = 0, this.#p = [], this.#t != null && this.#i.lineCount > 0 && this.#M(0));
119
+ }
120
+ #D() {
121
+ if (this.#n === "") return;
122
+ this.backend?.getTheme(this.#n);
123
+ let { colorMap: e } = this.#e.setTheme(this.#n);
124
+ this.#r = e;
125
+ }
126
+ dispose() {
127
+ this.#l = !0, this.stopBackgroundTokenize(), this.#A();
128
+ }
129
+ tokenize(e, t, n = !1) {
130
+ if (this.#O(), this.#D(), this.#t == null && !S(this.#i.languageId)) throw Error(`Grammar for language "${this.#i.languageId}" not loaded`);
131
+ let { lineCount: r } = this.#i, { startingLine: i = 0, totalLines: a = Infinity } = t ?? {}, o = a === Infinity ? r : Math.min(i + a, r), s = e.startLine, c = Math.max(i, s), l = t != null && a !== Infinity && e.lineDelta > 0 && s < o && e.endLine >= o, u = e.lineDelta === 0 && (e.changedLineChanges?.every(([, , e]) => e === 0) ?? !0);
132
+ this.#s && !u && (this.#C.length = Math.min(this.#C.length, e.startLine));
133
+ let f = n && e.lineDelta !== 0 && s >= i, p = u || t == null || s >= c, m = e.changedLineRanges ?? [[s, e.endLine]];
134
+ this.#d = [], this.#f = 0, this.#p = [];
135
+ let h = -1;
136
+ if (s < c) for (let [e, t] of m) e < c && (h = Math.max(h, Math.min(t, c - 1)));
137
+ let g = h >= s && (u || e.lineDelta < 0);
138
+ u ? this.#R(s) : (this.#I(e), (t == null || s >= c) && this.#R(c));
139
+ let _ = 0, v = m[_][1], y, b = 0, x = u ? m[_][0] : c, C = !1, w = /* @__PURE__ */ new Map(), T = g ? /* @__PURE__ */ new Map() : void 0;
140
+ if (T != null && !u) {
141
+ let e = Math.min(h + 1, c, o);
142
+ if (e > s) {
143
+ this.#R(e);
144
+ let t = s, n = this.#u[t] ?? d;
145
+ for (; t < e; t++) {
146
+ let e = this.#P(t, n);
147
+ n = e.state, T.set(t, e.resolvedTokens);
148
+ }
149
+ this.#u[e] = n;
150
+ }
151
+ }
152
+ let E = this.#u[x] ?? d;
153
+ for (; x < o;) {
154
+ let e = u ? this.#u[x + 1] : f ? this.#L(x + 1) : void 0;
155
+ p && (this.#u[x] = E);
156
+ let { resolvedTokens: t, state: n } = this.#P(x, E);
157
+ if (E = n, x >= c ? w.set(x, t) : T?.set(x, t), p && (this.#u[x + 1] = E), C = x >= v && (u || f) && e != null && E.equals(e), C) {
158
+ _++;
159
+ let e = m[_];
160
+ if (e == null) break;
161
+ if (e[0] >= o) {
162
+ y = e[0], b = _;
163
+ break;
164
+ }
165
+ let t = this.#u[e[0]];
166
+ if (f) for (let n = x + 2; n <= e[0] && (t = this.#L(n), t != null); n++) this.#u[n] = t;
167
+ t == null ? (v = e[1], x++) : (x = e[0], E = t, v = e[1]), C = !1;
168
+ } else x++;
169
+ }
170
+ if (p && (x < o ? this.#u[x + 1] = E : this.#u[x] = E), C && f && y == null) {
171
+ for (let e = x + 2; e <= r; e++) {
172
+ let t = this.#L(e);
173
+ if (t == null) break;
174
+ this.#u[e] = t;
175
+ }
176
+ this.#d = [], this.#f = 0, this.#p = [];
177
+ }
178
+ if (T != null && T.size > 0 && this.#o(T), y != null) this.#s && u && (this.#C.length = Math.min(this.#C.length, y)), this.#M(y, m, b);
179
+ else if (!C && x < r) {
180
+ let e = l && s >= c ? o : s < c && !u ? s : x;
181
+ this.#s && u && (this.#C.length = Math.min(this.#C.length, e)), this.#M(e, m, _);
182
+ }
183
+ return w;
184
+ }
185
+ prebuildStateStack(e) {
186
+ this.#O(), this.#T(e);
187
+ }
188
+ stopBackgroundTokenize() {
189
+ this.#b = -1, !this.#h && (this.#h = !0, this.#g = !1, this.#m = -1, this.#y = -1, this.#x = void 0, this.#S = 0, this.#d = [], this.#f = 0, this.#p = [], this.#A());
190
+ }
191
+ pauseBackgroundTokenize() {
192
+ this.#h || this.#g || (this.#c && console.log("[diffs/editor] background tokenization paused", { jobId: this.#_ }), this.#g = !0);
193
+ }
194
+ resumeBackgroundTokenize() {
195
+ this.#h || !this.#g || this.#t == null || this.#m < 0 || (this.#c && console.log("[diffs/editor] background tokenization resumed", { jobId: this.#_ }), this.#g = !1, this.#j(this.#_));
196
+ }
197
+ #O() {
198
+ this.#t == null && !S(this.#i.languageId) && this.#e.getLoadedLanguages().includes(this.#i.languageId) && (this.#t = this.#e.getLanguage(this.#i.languageId));
199
+ }
200
+ #k() {
201
+ this.#w ||= (globalThis.addEventListener("message", this.#E), !0);
202
+ }
203
+ #A() {
204
+ this.#w &&= (globalThis.removeEventListener("message", this.#E), !1);
205
+ }
206
+ #j(e) {
207
+ globalThis.postMessage({
208
+ type: "tokenize",
209
+ tokenizerId: this.#v,
210
+ jobId: e
211
+ });
212
+ }
213
+ #M(e, t, n = 0) {
214
+ if (S(this.#i.languageId)) return;
215
+ let r = ++this.#_;
216
+ this.#c && console.log("[diffs/editor] background tokenization scheduled", {
217
+ jobId: r,
218
+ startLine: e,
219
+ changedLineRanges: t,
220
+ changedRangeIndex: n
221
+ }), this.#h = !1, this.#g = !1, this.#m = e, this.#y >= 0 && (this.#b = Math.max(this.#b, this.#y)), this.#y = -1, this.#x = t, this.#S = n, this.#k(), this.#j(r);
222
+ }
223
+ #N(e) {
224
+ if (this.#t == null || this.#u.length > e) return;
225
+ if (!this.#h) {
226
+ this.#y >= 0 ? this.#y = Math.max(this.#y, e) : this.#b = Math.max(this.#b, e);
227
+ return;
228
+ }
229
+ let t = ++this.#_;
230
+ this.#h = !1, this.#g = !1, this.#m = this.#u.length - 1, this.#y = e, this.#b = -1, this.#x = void 0, this.#S = 0, this.#k(), this.#j(t);
231
+ }
232
+ #P(e, t) {
233
+ let n = this.#i.getLineText(e);
234
+ if (n.length >= this.#a) return console.warn(`[diffs] Line(${e}) too long to tokenize: ${n.length}`), this.#F(e, null), {
235
+ resolvedTokens: [[
236
+ 0,
237
+ "",
238
+ n
239
+ ]],
240
+ state: t
241
+ };
242
+ if (this.#t == null || n === "" || n.trim() === "") return this.#F(e, null), {
243
+ resolvedTokens: [[
244
+ 0,
245
+ "",
246
+ n
247
+ ]],
248
+ state: t
249
+ };
250
+ let r = x(this.#t, this.#r, n, t, v, this.#s);
251
+ return this.#F(e, r.bracketIgnoredRanges), {
252
+ resolvedTokens: r.resolvedTokens,
253
+ state: r.ruleStack
254
+ };
255
+ }
256
+ #F(e, t) {
257
+ this.#s && (this.#C[e] = t);
258
+ }
259
+ #I(e) {
260
+ let t = e.changedLineChanges ?? [[
261
+ e.startLine,
262
+ e.endLine,
263
+ e.lineDelta
264
+ ]], n = e.startLine + 1;
265
+ n <= this.#u.length - n ? (this.#d = this.#u, this.#f = 0, this.#u = this.#u.slice(0, n)) : (this.#f = n, this.#d = this.#u.slice(n), this.#u.length = Math.min(this.#u.length, n)), this.#p = t;
266
+ }
267
+ #L(e) {
268
+ let t = e;
269
+ for (let n = this.#p.length - 1; n >= 0; n--) {
270
+ let [r, i, a] = this.#p[n];
271
+ if (a !== 0) {
272
+ if (t > i) t -= a;
273
+ else if (t > r) return this.#u[e];
274
+ }
275
+ }
276
+ return this.#d[t - this.#f] ?? this.#u[e];
277
+ }
278
+ #R(e, t) {
279
+ let n = Math.min(Math.max(0, e), this.#i.lineCount);
280
+ if (this.#u.length > n || this.#t == null) return !0;
281
+ let r = t == null ? 0 : performance.now(), i = this.#u.length - 1, a = this.#u[i] ?? d;
282
+ for (; i < n;) {
283
+ this.#u[i] = a;
284
+ let e = this.#i.getLineText(i);
285
+ if (e.length < this.#a && e !== "" && e.trim() !== "") {
286
+ let t = x(this.#t, this.#r, e, a, v, this.#s, !1);
287
+ this.#F(i, t.bracketIgnoredRanges), a = t.ruleStack;
288
+ } else this.#F(i, null);
289
+ if (i++, this.#u[i] = a, t != null && performance.now() - r > t) break;
290
+ }
291
+ return i >= n;
292
+ }
293
+ #z(e) {
294
+ if (this.#h || this.#g || this.#t == null || e !== this.#_) return;
295
+ this.#D();
296
+ let t = this.#R(this.#y, 1);
297
+ this.#h || this.#g || e !== this.#_ || (t ? this.stopBackgroundTokenize() : (this.#m = this.#u.length - 1, this.#j(e)));
298
+ }
299
+ #B(e) {
300
+ if (this.#h || this.#g || this.#t == null || e !== this.#_) return;
301
+ this.#D();
302
+ let t = performance.now(), n = /* @__PURE__ */ new Map(), r = this.#i.lineCount, i = this.#x, a = this.#m, o = this.#u[a] ?? d, s = !1, c = this.#S, l = i?.[c]?.[1];
303
+ for (; a < r;) {
304
+ this.#u[a] = o;
305
+ let e = l == null ? void 0 : this.#L(a + 1), r = this.#P(a, o);
306
+ if (n.set(a, r.resolvedTokens), o = r.state, this.#u[a + 1] = o, s = l != null && a >= l && e != null && o.equals(e), a++, s) {
307
+ c++;
308
+ let e = i?.[c];
309
+ if (e == null) break;
310
+ if (l = e[1], this.#u[e[0]] == null) s = !1;
311
+ else {
312
+ a = e[0], o = this.#u[a] ?? o, s = !1;
313
+ continue;
314
+ }
315
+ }
316
+ if (performance.now() - t > 1) break;
317
+ }
318
+ if (this.#o(n), !(this.#h || this.#g || e !== this.#_)) {
319
+ if (s || a >= r) {
320
+ let e = this.#b;
321
+ this.stopBackgroundTokenize(), e >= 0 && this.#N(e);
322
+ } else this.#m = a, this.#S = c, this.#j(e);
323
+ }
324
+ }
325
+ };
326
+ function x(e, t, n, r, i, a = !0, o = !0) {
327
+ let s = e.tokenizeLine2(n, r, i);
328
+ s.stoppedEarly && console.warn(`[diffs] Time limit reached when tokenizing line: ${n.substring(0, 100)}`);
329
+ let c = s.tokens, l = c.length / 2, u = [], d = [];
330
+ if (!o && !a) return {
331
+ ruleStack: s.ruleStack,
332
+ resolvedTokens: u,
333
+ bracketIgnoredRanges: d
334
+ };
335
+ for (let e = 0; e < l; e++) {
336
+ let r = c[2 * e], i = e + 1 < l ? c[2 * e + 2] : n.length;
337
+ if (r === i) continue;
338
+ let s = c[2 * e + 1];
339
+ if (o) {
340
+ let e = f.getForeground(s);
341
+ u.push([
342
+ r,
343
+ t[e],
344
+ n.slice(r, i)
345
+ ]);
346
+ }
347
+ a && f.getTokenType(s) > 0 && d.push([r, i]);
348
+ }
349
+ return {
350
+ ruleStack: s.ruleStack,
351
+ resolvedTokens: u,
352
+ bracketIgnoredRanges: d
353
+ };
354
+ }
355
+ function S(e) {
356
+ return e === "text" || e === "ansi";
357
+ }
358
+ // node_modules/.pnpm/@pierre+diffs@1.6.1_@shikijs+themes@4.5.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@pierre/diffs/dist/highlighter/shiki-stream.js
359
+ var C = class e extends c {
360
+ highlighter;
361
+ options;
362
+ #e = "";
363
+ #t;
364
+ constructor(e, t) {
365
+ super(), this.highlighter = e, this.options = t;
366
+ }
367
+ tokenizeChunk(e, t) {
368
+ let r = (this.#e + e).split(/(\r\n|\r|\n)/), i = [];
369
+ for (let e = 0; e < r.length; e += 2) {
370
+ let a = r[e], o = this.highlighter.codeToTokens(a, {
371
+ ...this.options,
372
+ grammarState: this.#t
373
+ }), s = o.tokens[0].map((e) => ({
374
+ ...e,
375
+ offset: e.offset + this.stableOffset
376
+ }));
377
+ e + 1 < r.length ? (n(t, s), this.pushLineBreak(t, a.length, r[e + 1]), this.#t = o.grammarState) : (i = s, this.#e = a);
378
+ }
379
+ return {
380
+ unstable: i,
381
+ tailLength: this.#e.length
382
+ };
383
+ }
384
+ clone() {
385
+ this.assertActive();
386
+ let t = new e(this.highlighter, this.options);
387
+ return this.copyStateTo(t), t.#e = this.#e, t.#t = this.#t, t;
388
+ }
389
+ resetSource() {
390
+ this.#e = "", this.#t = void 0;
391
+ }
392
+ releaseSource() {
393
+ this.resetSource();
394
+ }
395
+ }, w = class t extends s {
396
+ raw;
397
+ loadedThemes = /* @__PURE__ */ new Map();
398
+ attachedLanguages = /* @__PURE__ */ new Set(["text", "ansi"]);
399
+ static async create(e) {
400
+ let n = e === "shiki-wasm" ? (await import("./engine-oniguruma-7Bv9BGGj.js")).createOnigurumaEngine(import("./wasm-DrbRUT8q.js")) : (await import("./engine-javascript-0MH9JO7M.js")).createJavaScriptRegexEngine(), r = await u({
401
+ themes: [],
402
+ langs: [],
403
+ engine: n
404
+ });
405
+ return new t(e, r);
406
+ }
407
+ constructor(t, n) {
408
+ super(t, e(t)), this.raw = n;
409
+ }
410
+ getTheme(e) {
411
+ this.assertNotDisposed();
412
+ let t = this.loadedThemes.get(e), n = this.themeResolver.getResolvedTheme(e) ?? t;
413
+ if (n == null) throw Error(`Theme "${e}" has not been resolved`);
414
+ if (t !== n) {
415
+ let t = n.textmate ?? (n.cssVariables == null ? void 0 : l(n.cssVariables));
416
+ if (t == null) throw Error(`Theme "${e}" does not support Shiki`);
417
+ this.raw.setTheme({
418
+ ...t,
419
+ name: e
420
+ }), this.loadedThemes.set(e, n);
421
+ }
422
+ return n;
423
+ }
424
+ codeToTokens(e, t) {
425
+ return this.raw.codeToTokens(e, this.resolveOptions(t));
426
+ }
427
+ createEditorTokenizer(e) {
428
+ return new b(this.raw, e, this);
429
+ }
430
+ createStreamTokenizer(e) {
431
+ return new C(this.raw, this.resolveOptions(e));
432
+ }
433
+ async loadLanguages(e) {
434
+ this.assertNotDisposed(), p(await g(e.filter((e) => !this.attachedLanguages.has(e))), this);
435
+ }
436
+ hasLoadedLanguages(e) {
437
+ if (this.disposed) return !1;
438
+ let t;
439
+ return e.every((e) => this.attachedLanguages.has(e) ? !0 : !i.has(e) && (t ??= this.raw.getLoadedLanguages(), t.includes(e)));
440
+ }
441
+ attachLanguages(e) {
442
+ this.assertNotDisposed();
443
+ for (let t of e) {
444
+ if (this.attachedLanguages.has(t.name)) continue;
445
+ let e = t.data.find((e) => e.name === t.name || e.aliases?.includes(t.name) === !0);
446
+ if (e == null) throw Error(`attachResolvedLanguages: No returned grammar declares "${t.name}" as its name or an alias.`);
447
+ this.raw.loadLanguageSync(t.data);
448
+ try {
449
+ this.raw.getLanguage(t.name);
450
+ } catch {
451
+ throw Error(`attachResolvedLanguages: "${e.name}" is already loaded without alias "${t.name}". Load the alias first or give the grammar a unique name.`);
452
+ }
453
+ this.attachedLanguages.add(t.name);
454
+ }
455
+ }
456
+ releaseResources() {
457
+ this.loadedThemes.clear(), this.attachedLanguages.clear(), this.raw.dispose();
458
+ }
459
+ resolveOptions({ theme: e, themes: t, ...n }) {
460
+ if (this.assertNotDisposed(), e != null) return this.getTheme(e), {
461
+ ...n,
462
+ theme: e
463
+ };
464
+ if (t == null) throw Error("A theme or themes option is required");
465
+ for (let e of Object.values(t)) this.getTheme(e);
466
+ return {
467
+ ...n,
468
+ themes: t
469
+ };
470
+ }
471
+ };
472
+ export { w as ShikiHighlighter };