@seanmozeik/markdown-display 0.3.5 → 0.4.1

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 (400) hide show
  1. package/README.md +41 -20
  2. package/dist/abap-9xbv043v.js +2 -0
  3. package/dist/actionscript-3-ffr5ydrs.js +2 -0
  4. package/dist/ada-jk2gn0pn.js +2 -0
  5. package/dist/andromeeda-24gktw4d.js +2 -0
  6. package/dist/angular-html-xg28445y.js +2 -0
  7. package/dist/angular-ts-1xq6mw7g.js +2 -0
  8. package/dist/apache-4b3b0eyy.js +2 -0
  9. package/dist/apex-a3awgdsm.js +2 -0
  10. package/dist/apl-f630k1vx.js +2 -0
  11. package/dist/applescript-qreypzb3.js +2 -0
  12. package/dist/ara-a0ghw0xy.js +2 -0
  13. package/dist/asciidoc-17amrzcg.js +2 -0
  14. package/dist/asm-1ybpdpc6.js +2 -0
  15. package/dist/astro-2vzy1qg5.js +2 -0
  16. package/dist/aurora-x-pb2h8m75.js +2 -0
  17. package/dist/awk-4g14sdfr.js +2 -0
  18. package/dist/ayu-dark-a6e49das.js +2 -0
  19. package/dist/ayu-light-ac787hyf.js +2 -0
  20. package/dist/ayu-mirage-zjtmb0bg.js +2 -0
  21. package/dist/ballerina-fd1yzyy8.js +2 -0
  22. package/dist/banner-ng06wc8g.js +12 -0
  23. package/dist/bat-x024z34k.js +2 -0
  24. package/dist/beancount-4aa1ce0k.js +2 -0
  25. package/dist/berry-1157ed3y.js +2 -0
  26. package/dist/bibtex-s0jadepe.js +2 -0
  27. package/dist/bicep-gx08m1nz.js +2 -0
  28. package/dist/bird2-3g0vanh0.js +2 -0
  29. package/dist/blade-22gzdntq.js +2 -0
  30. package/dist/bsl-r8cmv6pz.js +2 -0
  31. package/dist/c-g33d1744.js +2 -0
  32. package/dist/c3-02s6n09a.js +2 -0
  33. package/dist/cadence-b5x3mzqg.js +2 -0
  34. package/dist/cairo-4v5k49bw.js +2 -0
  35. package/dist/catppuccin-frappe-zze8rp4c.js +2 -0
  36. package/dist/catppuccin-latte-ebmyxk6e.js +2 -0
  37. package/dist/catppuccin-macchiato-8m9avkeq.js +2 -0
  38. package/dist/catppuccin-mocha-caq0gmr7.js +2 -0
  39. package/dist/clarity-x08cc58e.js +2 -0
  40. package/dist/cli-0y1zeg7v.js +3 -0
  41. package/dist/cli-1hj5h9f9.js +3 -0
  42. package/dist/cli-2h1yfjdw.js +3 -0
  43. package/dist/cli-30n24kzz.js +3 -0
  44. package/dist/cli-3fzyv189.js +3 -0
  45. package/dist/cli-3wvgjq8z.js +3 -0
  46. package/dist/cli-3z230jhh.js +3 -0
  47. package/dist/cli-48yac15g.js +3 -0
  48. package/dist/cli-58p99hkc.js +3 -0
  49. package/dist/cli-5jp9npt1.js +3 -0
  50. package/dist/cli-5v8q61ce.js +3 -0
  51. package/dist/cli-6jzqb50s.js +3 -0
  52. package/dist/cli-79y9hz07.js +3 -0
  53. package/dist/cli-81dmk4ts.js +3 -0
  54. package/dist/cli-81w52zkt.js +3 -0
  55. package/dist/cli-8nneg522.js +3 -0
  56. package/dist/cli-8qe0pqv6.js +3 -0
  57. package/dist/cli-a8250sbe.js +3 -0
  58. package/dist/cli-ac5hc1dt.js +3 -0
  59. package/dist/cli-app-kzae9fnq.js +411 -0
  60. package/dist/cli-ayvxq7qa.js +3 -0
  61. package/dist/cli-banpa4vr.js +7 -0
  62. package/dist/cli-bt5bw9b4.js +3 -0
  63. package/dist/cli-c0mb9wq6.js +3 -0
  64. package/dist/cli-dg73jpjs.js +3 -0
  65. package/dist/cli-e21h859y.js +3 -0
  66. package/dist/cli-g0wwxff6.js +3 -0
  67. package/dist/cli-gtjpq1mb.js +3 -0
  68. package/dist/cli-ha8pqpt8.js +3 -0
  69. package/dist/cli-hsvv3jzh.js +3 -0
  70. package/dist/cli-hxsnf2x8.js +3 -0
  71. package/dist/cli-jewjtf3e.js +3 -0
  72. package/dist/cli-jkvh6m6e.js +3 -0
  73. package/dist/cli-jqdxtesj.js +3 -0
  74. package/dist/cli-k2dtsfh9.js +3 -0
  75. package/dist/cli-m8zynty7.js +3 -0
  76. package/dist/cli-n5czz7gz.js +3 -0
  77. package/dist/cli-r2h3ee8w.js +3 -0
  78. package/dist/cli-rkqs0vcv.js +3 -0
  79. package/dist/cli-ss2qwkcc.js +3 -0
  80. package/dist/cli-tse5g5yz.js +3 -0
  81. package/dist/cli-v04mbmxe.js +3 -0
  82. package/dist/cli-v37wd532.js +3 -0
  83. package/dist/cli-vbncttvd.js +3 -0
  84. package/dist/cli-vt93z537.js +3 -0
  85. package/dist/cli-w37ddf7r.js +3 -0
  86. package/dist/cli-yjt0k8jp.js +3 -0
  87. package/dist/cli-yxfvsvk9.js +3 -0
  88. package/dist/clojure-vzmv55wf.js +2 -0
  89. package/dist/cmake-7y22bc67.js +2 -0
  90. package/dist/cobol-kdnhdmjz.js +2 -0
  91. package/dist/codeowners-x6m7bhdc.js +2 -0
  92. package/dist/codeql-6rz9fzqw.js +2 -0
  93. package/dist/coffee-hdfzr8ps.js +2 -0
  94. package/dist/common-lisp-zmr06g7n.js +2 -0
  95. package/dist/coq-r8j5c36h.js +2 -0
  96. package/dist/cpp-cnh8n6p9.js +2 -0
  97. package/dist/crystal-mrgdvpq4.js +2 -0
  98. package/dist/csharp-q48m96qr.js +2 -0
  99. package/dist/css-bd0hqx8d.js +2 -0
  100. package/dist/csv-4m85ky3s.js +2 -0
  101. package/dist/cue-tkch0b5s.js +2 -0
  102. package/dist/cypher-9v66whj2.js +2 -0
  103. package/dist/d-h7frep7v.js +2 -0
  104. package/dist/dark-plus-3mz49csr.js +2 -0
  105. package/dist/dart-0ts3fbr7.js +2 -0
  106. package/dist/dax-epx6f5sr.js +2 -0
  107. package/dist/desktop-ga56hzcd.js +2 -0
  108. package/dist/diff-nj0camxe.js +2 -0
  109. package/dist/docker-ck9z05s1.js +2 -0
  110. package/dist/dotenv-n24rx33c.js +2 -0
  111. package/dist/dracula-rt7zm8kp.js +2 -0
  112. package/dist/dracula-soft-ny1w766n.js +2 -0
  113. package/dist/dream-maker-5bdhk1xw.js +2 -0
  114. package/dist/edge-nes62z5q.js +2 -0
  115. package/dist/elixir-t2dacwg4.js +2 -0
  116. package/dist/elm-efkwc9kb.js +2 -0
  117. package/dist/emacs-lisp-aeyrqndc.js +2 -0
  118. package/dist/erb-1jnjam5w.js +2 -0
  119. package/dist/erlang-q2nxsk7t.js +2 -0
  120. package/dist/everforest-dark-q5afr5gg.js +2 -0
  121. package/dist/everforest-light-gwf12vcx.js +2 -0
  122. package/dist/fennel-qcrnckrq.js +2 -0
  123. package/dist/fish-fybdeyvp.js +2 -0
  124. package/dist/fluent-71z72985.js +2 -0
  125. package/dist/fortran-fixed-form-1gqb01bw.js +2 -0
  126. package/dist/fortran-free-form-kxkmegqs.js +2 -0
  127. package/dist/fsharp-cgvxcgsx.js +2 -0
  128. package/dist/gdresource-46k5gmzt.js +2 -0
  129. package/dist/gdscript-68kq1xvg.js +2 -0
  130. package/dist/gdshader-b3674jka.js +2 -0
  131. package/dist/genie-jyymh6js.js +2 -0
  132. package/dist/gherkin-7e2sjv5d.js +2 -0
  133. package/dist/git-commit-9wk0r5sb.js +2 -0
  134. package/dist/git-rebase-prhzk4j5.js +2 -0
  135. package/dist/github-dark-default-0vxh5df6.js +2 -0
  136. package/dist/github-dark-dimmed-mrkg0dkj.js +2 -0
  137. package/dist/github-dark-high-contrast-dfjvzvs1.js +2 -0
  138. package/dist/github-dark-vmmv282e.js +2 -0
  139. package/dist/github-light-79sz9hnx.js +2 -0
  140. package/dist/github-light-default-1jr038w7.js +2 -0
  141. package/dist/github-light-high-contrast-r2s26c8v.js +2 -0
  142. package/dist/gleam-0915n1m3.js +2 -0
  143. package/dist/glimmer-js-k7czmdfm.js +2 -0
  144. package/dist/glimmer-ts-194ejtg4.js +2 -0
  145. package/dist/glsl-dj78d5j4.js +2 -0
  146. package/dist/gn-1hvwh71v.js +2 -0
  147. package/dist/gnuplot-3hmy4dt7.js +2 -0
  148. package/dist/go-33wfsnyk.js +2 -0
  149. package/dist/graphql-0aac9yec.js +2 -0
  150. package/dist/groovy-ja0xcaxz.js +2 -0
  151. package/dist/gruvbox-dark-hard-5s80mtba.js +2 -0
  152. package/dist/gruvbox-dark-medium-n4khhzte.js +2 -0
  153. package/dist/gruvbox-dark-soft-e71n00ep.js +2 -0
  154. package/dist/gruvbox-light-hard-pbvye0e8.js +2 -0
  155. package/dist/gruvbox-light-medium-ta1n6jez.js +2 -0
  156. package/dist/gruvbox-light-soft-ymh9etvc.js +2 -0
  157. package/dist/hack-wbm9q4mm.js +2 -0
  158. package/dist/haml-gx26k3n5.js +2 -0
  159. package/dist/handlebars-x15bnv4j.js +2 -0
  160. package/dist/haskell-gphr2mx4.js +2 -0
  161. package/dist/haxe-jjqygeb7.js +2 -0
  162. package/dist/hcl-cr0bx0fz.js +2 -0
  163. package/dist/hjson-f1xxjn7x.js +2 -0
  164. package/dist/hlsl-dx0egzxe.js +2 -0
  165. package/dist/horizon-bright-4xdqr7cd.js +2 -0
  166. package/dist/horizon-ztsnzjdn.js +2 -0
  167. package/dist/houston-61g9eh8r.js +2 -0
  168. package/dist/html-derivative-hvxv75a7.js +2 -0
  169. package/dist/html-wqddzypw.js +2 -0
  170. package/dist/http-kh76rh1s.js +2 -0
  171. package/dist/hurl-4c8qps7w.js +2 -0
  172. package/dist/hxml-3bkn4jp8.js +2 -0
  173. package/dist/hy-fxpg7aaw.js +2 -0
  174. package/dist/imba-q8na79n7.js +2 -0
  175. package/dist/index-pdw64t43.js +15 -0
  176. package/dist/ini-s6y2n2r0.js +2 -0
  177. package/dist/java-bcf5924q.js +2 -0
  178. package/dist/javascript-qmy7d5mk.js +2 -0
  179. package/dist/jinja-y1162pxj.js +2 -0
  180. package/dist/jison-444dx63z.js +2 -0
  181. package/dist/json-gwwdj89t.js +2 -0
  182. package/dist/json5-3100ynmc.js +2 -0
  183. package/dist/jsonc-v2rnz0h1.js +2 -0
  184. package/dist/jsonl-axvqz7sn.js +2 -0
  185. package/dist/jsonnet-zfn0ptb5.js +2 -0
  186. package/dist/jssm-gej4xq4j.js +2 -0
  187. package/dist/jsx-zc0j90dq.js +2 -0
  188. package/dist/julia-as91r849.js +2 -0
  189. package/dist/just-zmsqbkqy.js +2 -0
  190. package/dist/kanagawa-dragon-d76szdr9.js +2 -0
  191. package/dist/kanagawa-lotus-wd9eezwr.js +2 -0
  192. package/dist/kanagawa-wave-acc5532t.js +2 -0
  193. package/dist/kdl-0nd9fhgr.js +2 -0
  194. package/dist/kotlin-v71xk1rn.js +2 -0
  195. package/dist/kusto-9mpsj4vk.js +2 -0
  196. package/dist/laserwave-db8954kv.js +2 -0
  197. package/dist/latex-xs0c2nvw.js +2 -0
  198. package/dist/lean-vdhz6cqv.js +2 -0
  199. package/dist/less-312pw0ev.js +2 -0
  200. package/dist/light-plus-aq99ra4y.js +2 -0
  201. package/dist/liquid-dmnzg3ty.js +2 -0
  202. package/dist/llvm-t6bzgxkv.js +2 -0
  203. package/dist/log-ssjyybt8.js +2 -0
  204. package/dist/logo-qb8mz41r.js +2 -0
  205. package/dist/lua-kk3ewrfz.js +2 -0
  206. package/dist/luau-1332gd7k.js +2 -0
  207. package/dist/make-ym3y5he3.js +2 -0
  208. package/dist/markdown-yakp348x.js +2 -0
  209. package/dist/marko-t2xabqrz.js +2 -0
  210. package/dist/material-theme-darker-vyfbvm1v.js +2 -0
  211. package/dist/material-theme-e94sgaj2.js +2 -0
  212. package/dist/material-theme-lighter-12stms50.js +2 -0
  213. package/dist/material-theme-ocean-vbjhpav2.js +2 -0
  214. package/dist/material-theme-palenight-zvsby2j7.js +2 -0
  215. package/dist/matlab-7z9bsz8e.js +2 -0
  216. package/dist/md.js +4 -0
  217. package/dist/mdc-fnzmnxrv.js +2 -0
  218. package/dist/mdx-txks2jee.js +2 -0
  219. package/dist/mermaid-2geg9v5h.js +2 -0
  220. package/dist/min-dark-p6btg8dq.js +2 -0
  221. package/dist/min-light-v3br1wzp.js +2 -0
  222. package/dist/mipsasm-npsfhz7p.js +2 -0
  223. package/dist/mojo-53s8q8kz.js +2 -0
  224. package/dist/monokai-j1kkm1ja.js +2 -0
  225. package/dist/moonbit-gcr903w0.js +2 -0
  226. package/dist/move-4vm43y7r.js +2 -0
  227. package/dist/narrat-4dfafp1n.js +2 -0
  228. package/dist/nextflow-gen0wthn.js +2 -0
  229. package/dist/nextflow-groovy-rntv4ct1.js +2 -0
  230. package/dist/nginx-md97v71f.js +2 -0
  231. package/dist/night-owl-bgdmn1df.js +2 -0
  232. package/dist/night-owl-light-jka34m0q.js +2 -0
  233. package/dist/nim-fngvzh2t.js +2 -0
  234. package/dist/nix-x4emth0n.js +2 -0
  235. package/dist/nord-xscwecj8.js +2 -0
  236. package/dist/nushell-tjxswzet.js +2 -0
  237. package/dist/objective-c-nk9a9yrs.js +2 -0
  238. package/dist/objective-cpp-p6sapemd.js +2 -0
  239. package/dist/ocaml-bcy7sgka.js +2 -0
  240. package/dist/odin-5vrv5d1s.js +2 -0
  241. package/dist/one-dark-pro-r96tb03e.js +2 -0
  242. package/dist/one-light-bfcdemmg.js +2 -0
  243. package/dist/openscad-w36wsg83.js +2 -0
  244. package/dist/pascal-zje13224.js +2 -0
  245. package/dist/perl-jb96y2dw.js +2 -0
  246. package/dist/php-66y7zdam.js +2 -0
  247. package/dist/pkl-j08f73a2.js +2 -0
  248. package/dist/plastic-d95k0yjm.js +2 -0
  249. package/dist/plsql-a5tqv6r5.js +2 -0
  250. package/dist/po-z4zztbvf.js +2 -0
  251. package/dist/poimandres-ft3p00vk.js +2 -0
  252. package/dist/polar-45ka4fdw.js +2 -0
  253. package/dist/postcss-ak75ftnf.js +2 -0
  254. package/dist/powerquery-j6z2e9xw.js +2 -0
  255. package/dist/powershell-ca63wk2e.js +2 -0
  256. package/dist/prisma-b2y4avdt.js +2 -0
  257. package/dist/prolog-wktkj1zv.js +2 -0
  258. package/dist/proto-5pd1z1zv.js +2 -0
  259. package/dist/pug-80k5jz6p.js +2 -0
  260. package/dist/puppet-66683nhq.js +2 -0
  261. package/dist/purescript-cmqqet79.js +2 -0
  262. package/dist/python-jabyzx3d.js +2 -0
  263. package/dist/qml-d92cbtkt.js +2 -0
  264. package/dist/qmldir-za85z5zc.js +2 -0
  265. package/dist/qss-gh7cf1zk.js +2 -0
  266. package/dist/r-s39xqqt9.js +2 -0
  267. package/dist/racket-gbjk3es0.js +2 -0
  268. package/dist/raku-zqwbnxmq.js +2 -0
  269. package/dist/razor-zg3bck80.js +2 -0
  270. package/dist/red-k6970d1d.js +2 -0
  271. package/dist/reg-gserh519.js +2 -0
  272. package/dist/regexp-a95pq17y.js +2 -0
  273. package/dist/rel-gaefrfhc.js +2 -0
  274. package/dist/riscv-cszphkwv.js +2 -0
  275. package/dist/ron-yf5x21c5.js +2 -0
  276. package/dist/rose-pine-1zbcjg1b.js +2 -0
  277. package/dist/rose-pine-dawn-tmsqdesr.js +2 -0
  278. package/dist/rose-pine-moon-cmwgg41b.js +2 -0
  279. package/dist/rosmsg-8j5zf8wv.js +2 -0
  280. package/dist/rst-7trgmfaq.js +2 -0
  281. package/dist/ruby-2svq4615.js +2 -0
  282. package/dist/rust-q5spk848.js +2 -0
  283. package/dist/sas-qhcyyrbt.js +2 -0
  284. package/dist/sass-qwyex0n3.js +2 -0
  285. package/dist/scala-jmhd870s.js +2 -0
  286. package/dist/scheme-5dvkrg0d.js +2 -0
  287. package/dist/scss-7v9m0m7d.js +2 -0
  288. package/dist/sdbl-93kewz9d.js +2 -0
  289. package/dist/shaderlab-97e0480d.js +2 -0
  290. package/dist/shellscript-6mxk36va.js +2 -0
  291. package/dist/shellsession-c7mva2xt.js +2 -0
  292. package/dist/slack-dark-y62znhvd.js +2 -0
  293. package/dist/slack-ochin-esm65n7t.js +2 -0
  294. package/dist/smalltalk-fkw0jz97.js +2 -0
  295. package/dist/snazzy-light-gdz5rv1k.js +2 -0
  296. package/dist/solarized-dark-zgcy8wm4.js +2 -0
  297. package/dist/solarized-light-66pg8xzk.js +2 -0
  298. package/dist/solidity-q5d4ht8n.js +2 -0
  299. package/dist/soy-hhhx5cj0.js +2 -0
  300. package/dist/sparql-hm2pqpge.js +2 -0
  301. package/dist/splunk-w5h843nw.js +2 -0
  302. package/dist/sql-pas3x5ke.js +2 -0
  303. package/dist/ssh-config-n2kt2cym.js +2 -0
  304. package/dist/stata-9j4p5d8c.js +2 -0
  305. package/dist/stylus-9s01c3kp.js +2 -0
  306. package/dist/surrealql-gxntasn8.js +2 -0
  307. package/dist/svelte-nvgnrg0t.js +2 -0
  308. package/dist/swift-j07yna4k.js +2 -0
  309. package/dist/synthwave-84-d7yw2bf0.js +2 -0
  310. package/dist/system-verilog-30bs377q.js +2 -0
  311. package/dist/systemd-4252hbv8.js +2 -0
  312. package/dist/talonscript-qbxwesm0.js +2 -0
  313. package/dist/tasl-m18yj07w.js +2 -0
  314. package/dist/tcl-qfvbg90f.js +2 -0
  315. package/dist/templ-msv3jzfx.js +2 -0
  316. package/dist/terraform-w6q6kyy0.js +2 -0
  317. package/dist/tex-1h8385qh.js +2 -0
  318. package/dist/tokyo-night-11kv01fx.js +2 -0
  319. package/dist/toml-02rkjp4b.js +2 -0
  320. package/dist/ts-tags-zmwja4z5.js +2 -0
  321. package/dist/tsv-t7svepav.js +2 -0
  322. package/dist/tsx-5ck84m8p.js +2 -0
  323. package/dist/turtle-synzazfp.js +2 -0
  324. package/dist/twig-41166c5j.js +2 -0
  325. package/dist/typescript-cqey3bjn.js +2 -0
  326. package/dist/typespec-ddd8ynv9.js +2 -0
  327. package/dist/typst-ex558216.js +2 -0
  328. package/dist/v-1bn5h0en.js +2 -0
  329. package/dist/vala-078a3s0x.js +2 -0
  330. package/dist/vb-5sq26hr3.js +2 -0
  331. package/dist/verilog-ekh48e1e.js +2 -0
  332. package/dist/vesper-j18bqpbg.js +2 -0
  333. package/dist/vhdl-fhjza3xz.js +2 -0
  334. package/dist/viml-9jfzgmge.js +2 -0
  335. package/dist/vitesse-black-3b8qwvte.js +2 -0
  336. package/dist/vitesse-dark-bsvtvg1h.js +2 -0
  337. package/dist/vitesse-light-egp8j39z.js +2 -0
  338. package/dist/vue-6yd2mg34.js +2 -0
  339. package/dist/vue-html-y5mtwexa.js +2 -0
  340. package/dist/vue-vine-732a4732.js +2 -0
  341. package/dist/vyper-h4fr87vt.js +2 -0
  342. package/dist/wasm-c0hbsbpk.js +2 -0
  343. package/dist/wasm-xe5dxyky.js +2 -0
  344. package/dist/wenyan-pf79c6ns.js +2 -0
  345. package/dist/wgsl-20v05k5y.js +2 -0
  346. package/dist/wikitext-6vf691aw.js +2 -0
  347. package/dist/wit-gp0gbqxw.js +2 -0
  348. package/dist/wolfram-y1r4y7zp.js +2 -0
  349. package/dist/xml-9fqvyqnc.js +2 -0
  350. package/dist/xsl-xpzpqrmc.js +2 -0
  351. package/dist/yaml-885sffq4.js +2 -0
  352. package/dist/zenscript-0k3ar154.js +2 -0
  353. package/dist/zig-h5gys7p5.js +2 -0
  354. package/package.json +51 -23
  355. package/src/app/cli-info.ts +90 -0
  356. package/src/app/errors.ts +19 -0
  357. package/src/app/file-not-found-error.ts +6 -0
  358. package/src/app/format-error.ts +35 -0
  359. package/src/app/invalid-theme-error.ts +6 -0
  360. package/src/app/pager-error.ts +5 -0
  361. package/src/app/run-md.ts +197 -0
  362. package/src/app/stdin-read-error.ts +5 -0
  363. package/src/cli/options.ts +20 -0
  364. package/src/cli-app.ts +113 -0
  365. package/src/cli.ts +64 -0
  366. package/src/config/errors.ts +6 -0
  367. package/src/config/index.ts +183 -0
  368. package/src/config/read-error.ts +6 -0
  369. package/src/constants.ts +2 -0
  370. package/src/index.ts +51 -0
  371. package/src/lib/ansi.ts +24 -0
  372. package/src/lib/config.ts +2 -0
  373. package/src/lib/default-config.toml +25 -0
  374. package/src/lib/elements/blockquote.ts +34 -0
  375. package/src/lib/elements/code.ts +326 -0
  376. package/src/lib/elements/heading.ts +39 -0
  377. package/src/lib/elements/link.ts +33 -0
  378. package/src/lib/elements/list.ts +89 -0
  379. package/src/lib/elements/table.ts +65 -0
  380. package/src/lib/elements/text.ts +237 -0
  381. package/src/lib/languages.ts +123 -0
  382. package/src/lib/layout.ts +67 -0
  383. package/src/lib/pager.ts +121 -0
  384. package/src/lib/parser.ts +299 -0
  385. package/src/lib/render-code-blocks.ts +25 -0
  386. package/src/lib/render.ts +37 -0
  387. package/src/lib/shiki.ts +197 -0
  388. package/src/lib/width.ts +21 -0
  389. package/src/paths.ts +14 -0
  390. package/src/types/hyphen.d.ts +3 -0
  391. package/src/ui/banner.ts +23 -0
  392. package/src/ui/picker.ts +120 -0
  393. package/src/ui/themes/ansi.ts +161 -0
  394. package/src/ui/themes/color-support.ts +106 -0
  395. package/src/ui/themes/generated.ts +748 -0
  396. package/src/ui/themes/index.ts +58 -0
  397. package/src/ui/themes/overrides.ts +83 -0
  398. package/src/ui/themes/semantic.ts +125 -0
  399. package/src/ui/themes/types.ts +67 -0
  400. package/dist/index.js +0 -194
@@ -0,0 +1,3 @@
1
+ // @bun
2
+ import{D as e}from"./cli-81w52zkt.js";var a=Object.freeze(JSON.parse(`{"displayName":"Lua","name":"lua","patterns":[{"begin":"\\\\b(?:(local)\\\\s+)?(function)\\\\b(?![,:])","beginCaptures":{"1":{"name":"keyword.local.lua"},"2":{"name":"keyword.control.lua"}},"end":"(?<=[-\\\\]\\"')\\\\[{}])","name":"meta.function.lua","patterns":[{"include":"#comment"},{"begin":"(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.parameters.begin.lua"}},"end":"(\\\\))|(?=[-\\\\]\\"'\\\\[{}])|(?<!\\\\.)\\\\.(?!\\\\.)","endCaptures":{"1":{"name":"punctuation.definition.parameters.finish.lua"}},"name":"meta.parameter.lua","patterns":[{"include":"#comment"},{"captures":{"1":{"name":"constant.language.lua"},"2":{"name":"variable.parameter.function.lua"}},"match":"(\\\\.{3})\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)"},{"match":"[A-Z_a-z][0-9A-Z_a-z]*","name":"variable.parameter.function.lua"},{"match":",","name":"punctuation.separator.arguments.lua"},{"begin":":","beginCaptures":{"0":{"name":"punctuation.separator.arguments.lua"}},"end":"(?=[),])","patterns":[{"include":"#emmydoc.type"}]}]},{"match":"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b\\\\s*(?=:)","name":"entity.name.class.lua"},{"match":"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b","name":"entity.name.function.lua"}]},{"match":"(?<![.\\\\w\\\\d])0[Xx]\\\\h+(\\\\.\\\\h*)?([Ee]-?\\\\d*)?([Pp][-+]\\\\d+)?","name":"constant.numeric.float.hexadecimal.lua"},{"match":"(?<![.\\\\w\\\\d])0[Xx]\\\\.\\\\h+([Ee]-?\\\\d*)?([Pp][-+]\\\\d+)?","name":"constant.numeric.float.hexadecimal.lua"},{"match":"(?<![.\\\\w\\\\d])0[Xx]\\\\h+(?![.0-9EPep])","name":"constant.numeric.integer.hexadecimal.lua"},{"match":"(?<![.\\\\w\\\\d])\\\\d+(\\\\.\\\\d*)?([Ee]-?\\\\d*)?","name":"constant.numeric.float.lua"},{"match":"(?<![.\\\\w\\\\d])\\\\.\\\\d+([Ee]-?\\\\d*)?","name":"constant.numeric.float.lua"},{"match":"(?<![.\\\\w\\\\d])\\\\d+(?![.0-9EPep])","name":"constant.numeric.integer.lua"},{"include":"#string"},{"captures":{"1":{"name":"punctuation.definition.comment.lua"}},"match":"\\\\A(#!).*$\\\\n?","name":"comment.line.shebang.lua"},{"include":"#comment"},{"captures":{"1":{"name":"keyword.control.goto.lua"},"2":{"name":"string.tag.lua"}},"match":"\\\\b(goto)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)"},{"captures":{"1":{"name":"punctuation.section.embedded.begin.lua"},"2":{"name":"punctuation.section.embedded.end.lua"}},"match":"(::)\\\\s*[A-Z_a-z][0-9A-Z_a-z]*\\\\s*(::)","name":"string.tag.lua"},{"captures":{"0":{"name":"storage.type.attribute.lua"}},"match":"<\\\\s*(c(?:onst|lose))\\\\s*>"},{"match":"<[*A-Z_a-z][-*.0-9A-Z_a-z]*>","name":"storage.type.generic.lua"},{"match":"\\\\b(break|do|else|for|if|elseif|goto|return|then|repeat|while|until|end|in)\\\\b","name":"keyword.control.lua"},{"match":"\\\\b(local)\\\\b","name":"keyword.local.lua"},{"captures":{"1":{"name":"keyword.global.lua"}},"match":"^\\\\s*(global)\\\\b(?!\\\\s*=)"},{"match":"\\\\b(function)\\\\b(?![,:])","name":"keyword.control.lua"},{"match":"(?<![^.]\\\\.|:)\\\\b(false|nil(?!:)|true|_ENV|_G|_VERSION|math\\\\.(pi|huge|maxinteger|mininteger)|utf8\\\\.charpattern|io\\\\.(std(?:in|out|err))|package\\\\.(config|cpath|loaded|loaders|path|preload|searchers))\\\\b|(?<!\\\\.)\\\\.{3}(?!\\\\.)","name":"constant.language.lua"},{"match":"(?<![^.]\\\\.|:)\\\\b(self)\\\\b","name":"variable.language.self.lua"},{"match":"(?<![^.]\\\\.|:)\\\\b(assert|collectgarbage|dofile|error|getfenv|getmetatable|ipairs|load|loadfile|loadstring|module|next|pairs|pcall|print|rawequal|rawget|rawlen|rawset|require|select|setfenv|setmetatable|tonumber|tostring|type|unpack|xpcall)\\\\b(?!\\\\s*=(?!=))","name":"support.function.lua"},{"match":"(?<![^.]\\\\.|:)\\\\b(async)\\\\b(?!\\\\s*=(?!=))","name":"entity.name.tag.lua"},{"match":"(?<![^.]\\\\.|:)\\\\b(coroutine\\\\.(create|isyieldable|close|resume|running|status|wrap|yield)|string\\\\.(byte|char|dump|find|format|gmatch|gsub|len|lower|match|pack|packsize|rep|reverse|sub|unpack|upper)|table\\\\.(concat|create|insert|maxn|move|pack|remove|sort|unpack)|math\\\\.(abs|acos|asin|atan2?|ceil|cosh?|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pow|rad|random|randomseed|sinh?|sqrt|tanh?|tointeger|type)|io\\\\.(close|flush|input|lines|open|output|popen|read|tmpfile|type|write)|os\\\\.(clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\\\\.(loadlib|seeall|searchpath)|debug\\\\.(debug|[gs]etfenv|[gs]ethook|getinfo|[gs]etlocal|[gs]etmetatable|getregistry|[gs]etupvalue|[gs]etuservalue|set[Cc]stacklimit|traceback|upvalueid|upvaluejoin)|bit32\\\\.(arshift|band|bnot|bor|btest|bxor|extract|replace|lrotate|lshift|rrotate|rshift)|utf8\\\\.(char|codes|codepoint|len|offset))\\\\b(?!\\\\s*=(?!=))","name":"support.function.library.lua"},{"match":"\\\\b(\\\\|\\\\||&&|!)\\\\b","name":"keyword.operator.lua"},{"match":"\\\\b(and|or|not)\\\\b","name":"keyword.operator.logical.lua"},{"match":"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(?=\\\\s*(?:[\\"'({]|\\\\[\\\\[))","name":"support.function.any-method.lua"},{"match":"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(?=\\\\s*\\\\??:)","name":"entity.name.class.lua"},{"match":"(?<=[^.]\\\\.|:)\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(?!\\\\s*=\\\\s*\\\\b(function)\\\\b)","name":"entity.other.attribute.lua"},{"match":"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(?!\\\\s*=\\\\s*\\\\b(function)\\\\b)","name":"variable.other.lua"},{"match":"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(?=\\\\s*=\\\\s*\\\\b(function)\\\\b)","name":"entity.name.function.lua"},{"match":"[-#%*+/^]|==?|~=|!=|<=?|>=?|(?<!\\\\.)\\\\.{2}(?!\\\\.)","name":"keyword.operator.lua"}],"repository":{"comment":{"patterns":[{"begin":"(^[\\\\t ]+)?(?=--)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.lua"}},"end":"(?!\\\\G)((?!^)[\\\\t ]+\\\\n)?","endCaptures":{"1":{"name":"punctuation.whitespace.comment.trailing.lua"}},"patterns":[{"begin":"--\\\\[(=*)\\\\[@@@","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.lua"}},"end":"(--)?]\\\\1]","endCaptures":{"0":{"name":"punctuation.definition.comment.end.lua"}},"name":"","patterns":[{"include":"source.lua"}]},{"begin":"--\\\\[(=*)\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.lua"}},"end":"(--)?]\\\\1]","endCaptures":{"0":{"name":"punctuation.definition.comment.end.lua"}},"name":"comment.block.lua","patterns":[{"include":"#emmydoc"},{"include":"#ldoc_tag"}]},{"begin":"----","beginCaptures":{"0":{"name":"punctuation.definition.comment.lua"}},"end":"\\\\n","name":"comment.line.double-dash.lua"},{"begin":"---","beginCaptures":{"0":{"name":"punctuation.definition.comment.lua"}},"end":"\\\\n","name":"comment.line.double-dash.documentation.lua","patterns":[{"include":"#emmydoc"},{"include":"#ldoc_tag"}]},{"begin":"--","beginCaptures":{"0":{"name":"punctuation.definition.comment.lua"}},"end":"\\\\n","name":"comment.line.double-dash.lua","patterns":[{"include":"#ldoc_tag"}]}]},{"begin":"/\\\\*","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.lua"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.lua"}},"name":"comment.block.lua","patterns":[{"include":"#emmydoc"},{"include":"#ldoc_tag"}]}]},"emmydoc":{"patterns":[{"begin":"(?<=---)[\\\\t ]*@class","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"match":"\\\\b([*A-Z_a-z][-*.0-9A-Z_a-z]*)","name":"support.class.lua"},{"match":"[,:]","name":"keyword.operator.lua"}]},{"begin":"(?<=---)[\\\\t ]*@enum","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"begin":"\\\\b([*A-Z_a-z][-*.0-9A-Z_a-z]*)","beginCaptures":{"0":{"name":"variable.lua"}},"end":"(?=\\\\n)"}]},{"begin":"(?<=---)[\\\\t ]*@type","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"include":"#emmydoc.type"}]},{"begin":"(?<=---)[\\\\t ]*@alias","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"begin":"\\\\b([*A-Z_a-z][-*.0-9A-Z_a-z]*)","beginCaptures":{"0":{"name":"variable.lua"}},"end":"(?=[\\\\n#])","patterns":[{"include":"#emmydoc.type"}]}]},{"begin":"(?<=---)[\\\\t ]*(@operator)\\\\s*(\\\\b[a-z]+)?","beginCaptures":{"1":{"name":"storage.type.annotation.lua"},"2":{"name":"support.function.library.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"include":"#emmydoc.type"}]},{"begin":"(?<=---)[\\\\t ]*@cast","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"begin":"\\\\b([*A-Z_a-z][-*.0-9A-Z_a-z]*)","beginCaptures":{"0":{"name":"variable.other.lua"}},"end":"(?=\\\\n)","patterns":[{"include":"#emmydoc.type"},{"match":"([+-|])","name":"keyword.operator.lua"}]}]},{"begin":"(?<=---)[\\\\t ]*@param","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"begin":"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(\\\\??)","beginCaptures":{"1":{"name":"entity.name.variable.lua"},"2":{"name":"keyword.operator.lua"}},"end":"(?=[\\\\n#])","patterns":[{"include":"#emmydoc.type"}]}]},{"begin":"(?<=---)[\\\\t ]*@return","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"match":"\\\\?","name":"keyword.operator.lua"},{"include":"#emmydoc.type"}]},{"begin":"(?<=---)[\\\\t ]*@field","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"begin":"(\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b|(\\\\[))(\\\\??)","beginCaptures":{"2":{"name":"entity.name.variable.lua"},"3":{"name":"keyword.operator.lua"}},"end":"(?=[\\\\n#])","patterns":[{"include":"#string"},{"include":"#emmydoc.type"},{"match":"]","name":"keyword.operator.lua"}]}]},{"begin":"(?<=---)[\\\\t ]*@generic","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"begin":"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b","beginCaptures":{"0":{"name":"storage.type.generic.lua"}},"end":"(?=\\\\n)|(,)","endCaptures":{"0":{"name":"keyword.operator.lua"}},"patterns":[{"match":":","name":"keyword.operator.lua"},{"include":"#emmydoc.type"}]}]},{"begin":"(?<=---)[\\\\t ]*@vararg","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"include":"#emmydoc.type"}]},{"begin":"(?<=---)[\\\\t ]*@overload","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"include":"#emmydoc.type"}]},{"begin":"(?<=---)[\\\\t ]*@deprecated","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])"},{"begin":"(?<=---)[\\\\t ]*@meta","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])"},{"begin":"(?<=---)[\\\\t ]*@private","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])"},{"begin":"(?<=---)[\\\\t ]*@protected","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])"},{"begin":"(?<=---)[\\\\t ]*@package","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])"},{"begin":"(?<=---)[\\\\t ]*@version","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"match":"\\\\b(5\\\\.1|5\\\\.2|5\\\\.3|5\\\\.4|JIT)\\\\b","name":"support.class.lua"},{"match":"[,<>]","name":"keyword.operator.lua"}]},{"begin":"(?<=---)[\\\\t ]*@see","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"match":"\\\\b([*A-Z_a-z][-*.0-9A-Z_a-z]*)","name":"support.class.lua"},{"match":"#","name":"keyword.operator.lua"}]},{"begin":"(?<=---)[\\\\t ]*@diagnostic","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"begin":"([-0-9A-Z_a-z]+)[\\\\t ]*(:)?","beginCaptures":{"1":{"name":"keyword.other.unit"},"2":{"name":"keyword.operator.unit"}},"end":"(?=\\\\n)","patterns":[{"match":"\\\\b([*A-Z_a-z][-0-9A-Z_a-z]*)","name":"support.class.lua"},{"match":",","name":"keyword.operator.lua"}]}]},{"begin":"(?<=---)[\\\\t ]*@module","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"include":"#string"}]},{"match":"(?<=---)[\\\\t ]*@(async|nodiscard)","name":"storage.type.annotation.lua"},{"begin":"(?<=---)\\\\|\\\\s*[+>]?","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"include":"#string"}]}]},"emmydoc.type":{"patterns":[{"begin":"\\\\bfun\\\\b","beginCaptures":{"0":{"name":"keyword.control.lua"}},"end":"(?=[#\\\\s])","patterns":[{"match":"[](),:<>?\\\\[][\\\\t ]*","name":"keyword.operator.lua"},{"match":"([A-Z_a-z][-*.0-9A-Z_a-z]*)(?<!,)[\\\\t ]*(?=\\\\??:)","name":"entity.name.variable.lua"},{"include":"#emmydoc.type"},{"include":"#string"}]},{"match":"<[*A-Z_a-z][-*.0-9A-Z_a-z]*>","name":"storage.type.generic.lua"},{"match":"\\\\basync\\\\b","name":"entity.name.tag.lua"},{"match":"[,:?\`{|}][\\\\t ]*","name":"keyword.operator.lua"},{"begin":"(?=[\\"'*.A-\\\\[_a-z])","end":"(?=[#),:?|}\\\\s])","patterns":[{"match":"([-\\\\]*,.0-9<>A-\\\\[_a-z]+)(?<!,)[\\\\t ]*","name":"support.type.lua"},{"match":"(\\\\.\\\\.\\\\.)[\\\\t ]*","name":"constant.language.lua"},{"include":"#string"}]}]},"escaped_char":{"patterns":[{"match":"\\\\\\\\[\\\\n\\"'\\\\\\\\abfnrtv]","name":"constant.character.escape.lua"},{"match":"\\\\\\\\z[\\\\t\\\\n ]*","name":"constant.character.escape.lua"},{"match":"\\\\\\\\\\\\d{1,3}","name":"constant.character.escape.byte.lua"},{"match":"\\\\\\\\x\\\\h\\\\h","name":"constant.character.escape.byte.lua"},{"match":"\\\\\\\\u\\\\{\\\\h+}","name":"constant.character.escape.unicode.lua"},{"match":"\\\\\\\\.","name":"invalid.illegal.character.escape.lua"}]},"ldoc_tag":{"captures":{"1":{"name":"punctuation.definition.block.tag.ldoc"},"2":{"name":"storage.type.class.ldoc"}},"match":"\\\\G[\\\\t ]*(@)(alias|annotation|author|charset|class|classmod|comment|constructor|copyright|description|example|export|factory|field|file|fixme|function|include|lfunction|license|local|module|name|param|pragma|private|raise|release|return|script|section|see|set|static|submodule|summary|tfield|thread|tparam|treturn|todo|topic|type|usage|warning|within)\\\\b"},"string":{"patterns":[{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.lua"}},"end":"'[\\\\t ]*|(?=\\\\n)","endCaptures":{"0":{"name":"punctuation.definition.string.end.lua"}},"name":"string.quoted.single.lua","patterns":[{"include":"#escaped_char"}]},{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.lua"}},"end":"\\"[\\\\t ]*|(?=\\\\n)","endCaptures":{"0":{"name":"punctuation.definition.string.end.lua"}},"name":"string.quoted.double.lua","patterns":[{"include":"#escaped_char"}]},{"begin":"\`","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.lua"}},"end":"\`[\\\\t ]*|(?=\\\\n)","endCaptures":{"0":{"name":"punctuation.definition.string.end.lua"}},"name":"string.quoted.double.lua"},{"begin":"(?<=\\\\.cdef)\\\\s*(\\\\[(=*)\\\\[)","beginCaptures":{"0":{"name":"string.quoted.other.multiline.lua"},"1":{"name":"punctuation.definition.string.begin.lua"}},"contentName":"meta.embedded.lua","end":"(]\\\\2])[\\\\t ]*","endCaptures":{"0":{"name":"string.quoted.other.multiline.lua"},"1":{"name":"punctuation.definition.string.end.lua"}},"patterns":[{"include":"source.c"}]},{"begin":"(?<!--)\\\\[(=*)\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.lua"}},"end":"]\\\\1][\\\\t ]*","endCaptures":{"0":{"name":"punctuation.definition.string.end.lua"}},"name":"string.quoted.other.multiline.lua"}]}},"scopeName":"source.lua","embeddedLangs":["c"]}`)),t=[...e,a];
3
+ export{t as o};
@@ -0,0 +1,7 @@
1
+ // @bun
2
+ import G from"process";import x8 from"os";import _ from"tty";function z(a,c=globalThis.Deno?globalThis.Deno.args:G.argv){let i=a.startsWith("-")?"":a.length===1?"-":"--",f=c.indexOf(i+a),b=c.indexOf("--");return f!==-1&&(b===-1||f<b)}var{env:h}=G,P;if(z("no-color")||z("no-colors")||z("color=false")||z("color=never"))P=0;else if(z("color")||z("colors")||z("color=true")||z("color=always"))P=1;function J8(){if(!("FORCE_COLOR"in h))return;if(h.FORCE_COLOR==="true")return 1;if(h.FORCE_COLOR==="false")return 0;if(h.FORCE_COLOR.length===0)return 1;let a=Math.min(Number.parseInt(h.FORCE_COLOR,10),3);if(![0,1,2,3].includes(a))return;return a}function K8(a){if(a===0)return!1;return{level:a,hasBasic:!0,has256:a>=2,has16m:a>=3}}function Q8(a,{streamIsTTY:c,sniffFlags:i=!0}={}){let f=J8();if(f!==void 0)P=f;let b=i?P:f;if(b===0)return 0;if(i){if(z("color=16m")||z("color=full")||z("color=truecolor"))return 3;if(z("color=256"))return 2}if("TF_BUILD"in h&&"AGENT_NAME"in h)return 1;if(a&&!c&&b===void 0)return 0;let u=b||0;if(h.TERM==="dumb")return u;if(G.platform==="win32"){let d=x8.release().split(".");if(Number(d[0])>=10&&Number(d[2])>=10586)return Number(d[2])>=14931?3:2;return 1}if("CI"in h){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((d)=>(d in h)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((d)=>(d in h))||h.CI_NAME==="codeship")return 1;return u}if("TEAMCITY_VERSION"in h)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(h.TEAMCITY_VERSION)?1:0;if(h.COLORTERM==="truecolor")return 3;if(h.TERM==="xterm-kitty")return 3;if(h.TERM==="xterm-ghostty")return 3;if(h.TERM==="wezterm")return 3;if("TERM_PROGRAM"in h){let d=Number.parseInt((h.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(h.TERM_PROGRAM){case"iTerm.app":return d>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(h.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(h.TERM))return 1;if("COLORTERM"in h)return 1;return u}function s(a,c={}){let i=Q8(a,{streamIsTTY:a&&a.isTTY,...c});return K8(i)}var $8={stdout:s({isTTY:_.isatty(1)}),stderr:s({isTTY:_.isatty(2)})},v=$8;var X=null,M="auto",W8=()=>{let a=Bun.env.NO_COLOR!==void 0&&Bun.env.NO_COLOR!=="",c=process.argv.includes("--no-color");if(a||c)Bun.env.FORCE_COLOR="0"};W8();var aa=(a)=>{if(M=a,X=null,a===!0)Bun.env.FORCE_COLOR="3";else if(a===!1)Bun.env.FORCE_COLOR="2"};var V8=()=>{let a=Bun.env.FORCE_COLOR;if(a==="0")return 0;if(a==="1")return 1;if(a==="2")return 2;if(a==="3")return 3;if(!process.stdout.isTTY)return 0;let c=Bun.env.COLORTERM;if(c==="truecolor"||c==="24bit")return 3;if((Bun.env.TERM??"").includes("256color"))return 2;let f=v.stdout;if(f===!1)return 0;return f.level},q=()=>{if(X!==null)return X;let a;if(Bun.env.NO_COLOR!==void 0&&Bun.env.NO_COLOR!=="")a=0;else if(M===!0)a=3;else if(M===!1)a=2;else a=V8();return X=a,a};var p="\x1B",Q=`${p}[0m`,q8=16,g=16,o=36,l=232,Z8=256,D=255,x=128,A=192,a8=6,j8=55,t8=40,F8=8,O8=10,P8=[[0,0,0],[x,0,0],[0,x,0],[x,x,0],[0,0,x],[x,0,x],[0,x,x],[A,A,A],[x,x,x],[D,0,0],[0,D,0],[D,D,0],[0,0,D],[D,0,D],[0,D,D],[D,D,D]],I=(a)=>a===0?0:j8+a*t8,X8=(a)=>{if(a<q8)return P8[a]??[0,0,0];if(a<l){let i=a-g,f=Math.floor(i/o),b=Math.floor(i%o/a8),u=i%a8;return[I(f),I(b),I(u)]}let c=F8+(a-l)*O8;return[c,c,c]},$=(a)=>{let c=a.replace("#","").toLowerCase();return[Number.parseInt(c.slice(0,2),16),Number.parseInt(c.slice(2,4),16),Number.parseInt(c.slice(4,6),16)]},H8=([a,c,i],[f,b,u])=>(a-f)**2+(c-b)**2+(i-u)**2,W=(a)=>{let c=$(a),i=g,f=1/0;for(let b=g;b<Z8;b+=1){let u=H8(c,X8(b));if(u<f)f=u,i=b}return i},w=(a)=>{if(q()>=3){let[i,f,b]=$(a);return(u)=>`${p}[38;2;${i};${f};${b}m${u}${Q}`}let c=W(a);return(i)=>`${p}[38;5;${c}m${i}${Q}`};var H=(a,c)=>{if(q()>=3){let[b,u,d]=$(a),[V,y,B]=$(c);return(L)=>`${p}[38;2;${b};${u};${d};48;2;${V};${y};${B}m${L}${Q}`}let i=W(a),f=W(c);return(b)=>`${p}[38;5;${i};48;5;${f}m${b}${Q}`},T=(a)=>{if(q()>=3){let[i,f,b]=$(a);return(u)=>`${p}[1;38;2;${i};${f};${b}m${u}${Q}`}let c=W(a);return(i)=>`${p}[1;38;5;${c}m${i}${Q}`},n=(a)=>{if(q()>=3){let[i,f,b]=$(a);return(u)=>`${p}[3;38;2;${i};${f};${b}m${u}${Q}`}let c=W(a);return(i)=>`${p}[3;38;5;${c}m${i}${Q}`},c8=(a,c)=>{if(q()>=3){let[b,u,d]=$(a),[V,y,B]=$(c);return(L)=>`${p}[38;2;${b};${u};${d}m${L}${p}[38;2;${V};${y};${B}m`}let i=W(a),f=W(c);return(b)=>`${p}[38;5;${i}m${b}${p}[38;5;${f}m`};var U={"catppuccin-frappe":{colors:{accent:"#8caaee",auxiliary:"#232634",bg:"#303446",emphasis:"#c6d0f5",error:"#e78284",info:"#8caaee",muted:"#838ba7",subtle:"#51576d",success:"#a6d189",surface:"#292c3c",text:"#c6d0f5",warning:"#ef9f76"},id:"catppuccin-frappe",name:"Catppuccin Frappe",overrides:{bold:"#f4b8e4",h1:"#ca9ee6",h2:"#babbf1",h3:"#8caaee",h4:"#81c8be",inlineCode:{bg:"#292c3c",fg:"#f2d5cf"},italic:"#99d1db"},shikiTheme:"catppuccin-frappe",type:"dark"},"catppuccin-latte":{colors:{accent:"#1e66f5",auxiliary:"#dce0e8",bg:"#eff1f5",emphasis:"#4c4f69",error:"#d20f39",info:"#1e66f5",muted:"#8c8fa1",subtle:"#bcc0cc",success:"#40a02b",surface:"#e6e9ef",text:"#4c4f69",warning:"#fe640b"},id:"catppuccin-latte",name:"Catppuccin Latte",overrides:{bold:"#ea76cb",h1:"#8839ef",h2:"#7287fd",h3:"#1e66f5",h4:"#179299",inlineCode:{bg:"#e6e9ef",fg:"#dc8a78"},italic:"#04a5e5"},shikiTheme:"catppuccin-latte",type:"light"},"catppuccin-macchiato":{colors:{accent:"#8aadf4",auxiliary:"#181926",bg:"#24273a",emphasis:"#cad3f5",error:"#ed8796",info:"#8aadf4",muted:"#8087a2",subtle:"#494d64",success:"#a6da95",surface:"#1e2030",text:"#cad3f5",warning:"#f5a97f"},id:"catppuccin-macchiato",name:"Catppuccin Macchiato",overrides:{bold:"#f5bde6",h1:"#c6a0f6",h2:"#b7bdf8",h3:"#8aadf4",h4:"#8bd5ca",inlineCode:{bg:"#1e2030",fg:"#f4dbd6"},italic:"#91d7e3"},shikiTheme:"catppuccin-macchiato",type:"dark"},"catppuccin-mocha":{colors:{accent:"#89b4fa",auxiliary:"#11111b",bg:"#1e1e2e",emphasis:"#cdd6f4",error:"#f38ba8",info:"#89b4fa",muted:"#7f849c",subtle:"#45475a",success:"#a6e3a1",surface:"#181825",text:"#cdd6f4",warning:"#fab387"},id:"catppuccin-mocha",name:"Catppuccin Mocha",overrides:{bold:"#f5c2e7",h1:"#cba6f7",h2:"#b4befe",h3:"#89b4fa",h4:"#94e2d5",inlineCode:{bg:"#181825",fg:"#f5e0dc"},italic:"#89dceb"},shikiTheme:"catppuccin-mocha",type:"dark"},dracula:{colors:{accent:"#8BE9FD",auxiliary:"#888888",bg:"#282A36",emphasis:"#F8F8F2",error:"#FF5555",info:"#888888",muted:"#6272A4",subtle:"#FFFFFF",success:"#50FA7B",surface:"#21222C",text:"#F8F8F2",warning:"#8BE9FD"},id:"dracula",name:"Dracula",overrides:{bold:"#ff79c6",h1:"#bd93f9",h2:"#ff79c6",h3:"#8be9fd",italic:"#8be9fd"},shikiTheme:"dracula",type:"dark"},"dracula-soft":{colors:{accent:"#97e1f1",auxiliary:"#888888",bg:"#282A36",emphasis:"#f6f6f4",error:"#ee6666",info:"#888888",muted:"#7b7f8b",subtle:"#FFFFFF",success:"#62e884",surface:"#262626",text:"#f6f6f4",warning:"#97e1f1"},id:"dracula-soft",name:"Dracula Soft",overrides:{bold:"#ff79c6",h1:"#bd93f9",h2:"#ff79c6",h3:"#8be9fd",italic:"#8be9fd"},shikiTheme:"dracula-soft",type:"dark"},"github-dark":{colors:{accent:"#79b8ff",auxiliary:"#444d56",bg:"#24292e",emphasis:"#d1d5da",error:"#f97583",info:"#79b8ff",muted:"#444d56",subtle:"#2f363d",success:"#34d058",surface:"#1f2428",text:"#e1e4e8",warning:"#ffea7f"},id:"github-dark",name:"GitHub Dark",shikiTheme:"github-dark",type:"dark"},"github-dark-default":{colors:{accent:"#2f81f7",auxiliary:"#30363d",bg:"#0d1117",emphasis:"#7d8590",error:"#f85149",info:"#2f81f7",muted:"#6e7681",subtle:"#e6edf3",success:"#3fb950",surface:"#161b22",text:"#e6edf3",warning:"#888888"},id:"github-dark-default",name:"GitHub Dark Default",shikiTheme:"github-dark-default",type:"dark"},"github-dark-dimmed":{colors:{accent:"#539bf5",auxiliary:"#444c56",bg:"#22272e",emphasis:"#768390",error:"#e5534b",info:"#539bf5",muted:"#636e7b",subtle:"#adbac7",success:"#57ab5a",surface:"#2d333b",text:"#adbac7",warning:"#888888"},id:"github-dark-dimmed",name:"GitHub Dark Dimmed",shikiTheme:"github-dark-dimmed",type:"dark"},"github-dark-high-contrast":{colors:{accent:"#71b7ff",auxiliary:"#7a828e",bg:"#0a0c10",emphasis:"#f0f3f6",error:"#ff6a69",info:"#71b7ff",muted:"#9ea7b3",subtle:"#f0f3f6",success:"#26cd4d",surface:"#272b33",text:"#f0f3f6",warning:"#888888"},id:"github-dark-high-contrast",name:"GitHub Dark High Contrast",shikiTheme:"github-dark-high-contrast",type:"dark"},"github-light":{colors:{accent:"#0366d6",auxiliary:"#e1e4e8",bg:"#fff",emphasis:"#586069",error:"#cb2431",info:"#0366d6",muted:"#1b1f23",subtle:"#eff2f6",success:"#28a745",surface:"#f6f8fa",text:"#24292e",warning:"#f9c513"},id:"github-light",name:"GitHub Light",shikiTheme:"github-light",type:"light"},"github-light-default":{colors:{accent:"#0969da",auxiliary:"#d0d7de",bg:"#ffffff",emphasis:"#656d76",error:"#cf222e",info:"#0969da",muted:"#8c959f",subtle:"#1f2328",success:"#1a7f37",surface:"#ffffff",text:"#1f2328",warning:"#888888"},id:"github-light-default",name:"GitHub Light Default",shikiTheme:"github-light-default",type:"light"},"github-light-high-contrast":{colors:{accent:"#0349b4",auxiliary:"#20252c",bg:"#ffffff",emphasis:"#0e1116",error:"#a0111f",info:"#0349b4",muted:"#88929d",subtle:"#0e1116",success:"#055d20",surface:"#ffffff",text:"#0e1116",warning:"#888888"},id:"github-light-high-contrast",name:"GitHub Light High Contrast",shikiTheme:"github-light-high-contrast",type:"light"},"gruvbox-dark-hard":{colors:{accent:"#83a598",auxiliary:"#83a598",bg:"#1d2021",emphasis:"#ebdbb2",error:"#fb4934",info:"#458588",muted:"#665c54",subtle:"#a89984",success:"#ebdbb2",surface:"#1d2021",text:"#ebdbb2",warning:"#d79921"},id:"gruvbox-dark-hard",name:"Gruvbox Dark Hard",shikiTheme:"gruvbox-dark-hard",type:"dark"},"gruvbox-dark-medium":{colors:{accent:"#83a598",auxiliary:"#83a598",bg:"#282828",emphasis:"#ebdbb2",error:"#fb4934",info:"#458588",muted:"#665c54",subtle:"#a89984",success:"#ebdbb2",surface:"#282828",text:"#ebdbb2",warning:"#d79921"},id:"gruvbox-dark-medium",name:"Gruvbox Dark Medium",shikiTheme:"gruvbox-dark-medium",type:"dark"},"gruvbox-dark-soft":{colors:{accent:"#83a598",auxiliary:"#83a598",bg:"#32302f",emphasis:"#ebdbb2",error:"#fb4934",info:"#458588",muted:"#665c54",subtle:"#a89984",success:"#ebdbb2",surface:"#32302f",text:"#ebdbb2",warning:"#d79921"},id:"gruvbox-dark-soft",name:"Gruvbox Dark Soft",shikiTheme:"gruvbox-dark-soft",type:"dark"},"gruvbox-light-hard":{colors:{accent:"#076678",auxiliary:"#076678",bg:"#f9f5d7",emphasis:"#3c3836",error:"#9d0006",info:"#458588",muted:"#bdae93",subtle:"#7c6f64",success:"#3c3836",surface:"#f9f5d7",text:"#3c3836",warning:"#d79921"},id:"gruvbox-light-hard",name:"Gruvbox Light Hard",shikiTheme:"gruvbox-light-hard",type:"light"},"gruvbox-light-medium":{colors:{accent:"#076678",auxiliary:"#076678",bg:"#fbf1c7",emphasis:"#3c3836",error:"#9d0006",info:"#458588",muted:"#bdae93",subtle:"#7c6f64",success:"#3c3836",surface:"#fbf1c7",text:"#3c3836",warning:"#d79921"},id:"gruvbox-light-medium",name:"Gruvbox Light Medium",shikiTheme:"gruvbox-light-medium",type:"light"},"gruvbox-light-soft":{colors:{accent:"#076678",auxiliary:"#076678",bg:"#f2e5bc",emphasis:"#3c3836",error:"#9d0006",info:"#458588",muted:"#bdae93",subtle:"#7c6f64",success:"#3c3836",surface:"#f2e5bc",text:"#3c3836",warning:"#d79921"},id:"gruvbox-light-soft",name:"Gruvbox Light Soft",shikiTheme:"gruvbox-light-soft",type:"light"},"material-theme":{colors:{accent:"#80CBC4",auxiliary:"#80CBC4",bg:"#263238",emphasis:"#EEFFFF",error:"#f07178",info:"#82AAFF",muted:"#465A64",subtle:"#37474F",success:"#C3E88D",surface:"#263238",text:"#EEFFFF",warning:"#FFCB6B"},id:"material-theme",name:"Material Theme",shikiTheme:"material-theme",type:"dark"},"material-theme-darker":{colors:{accent:"#80CBC4",auxiliary:"#80CBC4",bg:"#212121",emphasis:"#EEFFFF",error:"#f07178",info:"#82AAFF",muted:"#424242",subtle:"#424242",success:"#C3E88D",surface:"#212121",text:"#EEFFFF",warning:"#FFCB6B"},id:"material-theme-darker",name:"Material Theme Darker",shikiTheme:"material-theme-darker",type:"dark"},"material-theme-lighter":{colors:{accent:"#80CBC4",auxiliary:"#80CBC4",bg:"#FAFAFA",emphasis:"#90A4AE",error:"#E53935",info:"#6182B8",muted:"#CFD8DC",subtle:"#B0BEC5",success:"#91B859",surface:"#FAFAFA",text:"#90A4AE",warning:"#E2931D"},id:"material-theme-lighter",name:"Material Theme Lighter",shikiTheme:"material-theme-lighter",type:"light"},"material-theme-ocean":{colors:{accent:"#80CBC4",auxiliary:"#80CBC4",bg:"#0F111A",emphasis:"#babed8",error:"#f07178",info:"#82AAFF",muted:"#3B3F51",subtle:"#3B3F51",success:"#C3E88D",surface:"#0F111A",text:"#babed8",warning:"#FFCB6B"},id:"material-theme-ocean",name:"Material Theme Ocean",shikiTheme:"material-theme-ocean",type:"dark"},"material-theme-palenight":{colors:{accent:"#80CBC4",auxiliary:"#80CBC4",bg:"#292D3E",emphasis:"#babed8",error:"#f07178",info:"#82AAFF",muted:"#3A3F58",subtle:"#4E5579",success:"#C3E88D",surface:"#292D3E",text:"#babed8",warning:"#FFCB6B"},id:"material-theme-palenight",name:"Material Theme Palenight",shikiTheme:"material-theme-palenight",type:"dark"},nord:{colors:{accent:"#88c0d0",auxiliary:"#81a1c1",bg:"#2e3440",emphasis:"#8fbcbb",error:"#bf616a",info:"#88c0d0",muted:"#4c566a",subtle:"#434c5e",success:"#a3be8c",surface:"#2e3440",text:"#d8dee9",warning:"#ebcb8b"},id:"nord",name:"Nord",overrides:{bold:"#88c0d0",h1:"#88c0d0",h2:"#81a1c1",h3:"#5e81ac",italic:"#81a1c1"},shikiTheme:"nord",type:"dark"},"one-dark-pro":{colors:{accent:"#61afef",auxiliary:"#4b5362",bg:"#282c34",emphasis:"#d19a66",error:"#c24038",info:"#61afef",muted:"#495162",subtle:"#abb2bf",success:"#8cc265",surface:"#21252b",text:"#abb2bf",warning:"#d19a66"},id:"one-dark-pro",name:"One Dark Pro",shikiTheme:"one-dark-pro",type:"dark"},"one-light":{colors:{accent:"#526FFF",auxiliary:"#888888",bg:"#FAFAFA",emphasis:"#383A42",error:"#888888",info:"#888888",muted:"#9D9D9F",subtle:"#383A42",success:"#888888",surface:"#EAEAEB",text:"#383A42",warning:"#888888"},id:"one-light",name:"One Light",shikiTheme:"one-light",type:"light"},"rose-pine":{colors:{accent:"#c4a7e7",auxiliary:"#6e6a86",bg:"#191724",emphasis:"#f6c177",error:"#eb6f92",info:"#9ccfd8",muted:"#908caa",subtle:"#6e6a86",success:"#9ccfd8",surface:"#1f1d2e",text:"#e0def4",warning:"#f6c177"},id:"rose-pine",name:"Rose Pine",overrides:{bold:"#ebbcba",h1:"#c4a7e7",h2:"#ebbcba",h3:"#9ccfd8",italic:"#9ccfd8"},shikiTheme:"rose-pine",type:"dark"},"rose-pine-dawn":{colors:{accent:"#907aa9",auxiliary:"#6e6a86",bg:"#faf4ed",emphasis:"#ea9d34",error:"#b4637a",info:"#56949f",muted:"#797593",subtle:"#6e6a86",success:"#56949f",surface:"#fffaf3",text:"#575279",warning:"#ea9d34"},id:"rose-pine-dawn",name:"Rose Pine Dawn",overrides:{bold:"#d7827e",h1:"#907aa9",h2:"#d7827e",h3:"#56949f",italic:"#56949f"},shikiTheme:"rose-pine-dawn",type:"light"},"rose-pine-moon":{colors:{accent:"#c4a7e7",auxiliary:"#817c9c",bg:"#232136",emphasis:"#f6c177",error:"#eb6f92",info:"#9ccfd8",muted:"#908caa",subtle:"#817c9c",success:"#9ccfd8",surface:"#2a273f",text:"#e0def4",warning:"#f6c177"},id:"rose-pine-moon",name:"Rose Pine Moon",overrides:{bold:"#ebbcba",h1:"#c4a7e7",h2:"#ebbcba",h3:"#9ccfd8",italic:"#9ccfd8"},shikiTheme:"rose-pine-moon",type:"dark"},"solarized-dark":{colors:{accent:"#2AA198",auxiliary:"#888888",bg:"#002B36",emphasis:"#839496",error:"#ffeaea",info:"#888888",muted:"#888888",subtle:"#93A1A1",success:"#859900",surface:"#00212B",text:"#839496",warning:"#888888"},id:"solarized-dark",name:"Solarized Dark",shikiTheme:"solarized-dark",type:"dark"},"solarized-light":{colors:{accent:"#b49471",auxiliary:"#888888",bg:"#FDF6E3",emphasis:"#657B83",error:"#888888",info:"#888888",muted:"#888888",subtle:"#586E75",success:"#859900",surface:"#EEE8D5",text:"#657B83",warning:"#888888"},id:"solarized-light",name:"Solarized Light",shikiTheme:"solarized-light",type:"light"},"tokyo-night":{colors:{accent:"#6183bb",auxiliary:"#6183bb",bg:"#1a1b26",emphasis:"#9699a8",error:"#515670",info:"#0da0ba",muted:"#363b54",subtle:"#101014",success:"#449dab",surface:"#16161e",text:"#a9b1d6",warning:"#e0af68"},id:"tokyo-night",name:"Tokyo Night",overrides:{bold:"#bb9af7",h1:"#bb9af7",h2:"#7aa2f7",h3:"#7dcfff",italic:"#7dcfff"},shikiTheme:"tokyo-night",type:"dark"}},i8=["catppuccin-frappe","catppuccin-latte","catppuccin-macchiato","catppuccin-mocha","nord","dracula","dracula-soft","gruvbox-dark-hard","gruvbox-dark-medium","gruvbox-dark-soft","gruvbox-light-hard","gruvbox-light-medium","gruvbox-light-soft","solarized-dark","solarized-light","tokyo-night","one-dark-pro","one-light","github-dark","github-dark-default","github-dark-dimmed","github-dark-high-contrast","github-light","github-light-default","github-light-high-contrast","rose-pine","rose-pine-dawn","rose-pine-moon","material-theme","material-theme-darker","material-theme-lighter","material-theme-ocean","material-theme-palenight"];var t="catppuccin-frappe",U8={colors:{accent:"#8caaee",auxiliary:"#232634",bg:"#303446",emphasis:"#c6d0f5",error:"#e78284",info:"#8caaee",muted:"#838ba7",subtle:"#51576d",success:"#a6d189",surface:"#292c3c",text:"#c6d0f5",warning:"#ef9f76"},id:t,name:"Catppuccin Frappe",shikiTheme:t,type:"dark"},C=(a)=>{return U[a]??U[t]??U8},f8=C(t),Y8=(a)=>(a in U),N8=(a)=>{if(Y8(a))return C(a);return C(t)},ha=(a)=>{f8=N8(a)},r=()=>f8,ma=()=>i8;var za=()=>{let a=r(),c=a.overrides?.bold??a.colors.emphasis;return T(c)},Da=()=>{let a=r(),c=a.overrides?.italic??a.colors.auxiliary;return n(c)},xa=()=>{let a=r();if(a.overrides?.inlineCode)return H(a.overrides.inlineCode.fg,a.overrides.inlineCode.bg);return H(a.colors.accent,a.colors.surface)},Ja=(a)=>{let c=r(),i=c.overrides,f=i?.heading;switch(a){case 1:return w(i?.h1??f??c.colors.accent);case 2:return w(i?.h2??f??c.colors.accent);case 3:return w(i?.h3??f??c.colors.info);case 4:return w(i?.h4??f??c.colors.auxiliary);default:return w(c.colors.muted)}},Ka=()=>{let a=r();return w(a.overrides?.link??a.colors.accent)},Qa=()=>w(r().colors.text),$a=()=>w(r().colors.muted),Wa=()=>w(r().colors.subtle),Va=()=>w(r().colors.error),qa=()=>w(r().colors.success),Za=()=>w(r().colors.accent),ja=()=>{let a=r();return{accent:a.colors.accent,h1:a.overrides?.h1??a.overrides?.heading??a.colors.accent,subtle:a.colors.subtle}},ta=()=>{let a=r(),c=a.overrides?.link??a.colors.accent,i=a.colors.subtle;return c8(c,i)},Fa=()=>{let a=r(),c=a.overrides,i=[c?.h1??c?.heading??a.colors.accent,c?.bold??c?.h2??a.colors.emphasis,c?.h2??a.colors.info],f=[a.colors.success,a.colors.info],b=[a.colors.error,a.colors.warning];return{banner:i,error:b,success:f}};var b8=(a=0)=>(c)=>`\x1B[${c+a}m`,u8=(a=0)=>(c)=>`\x1B[${38+a};5;${c}m`,d8=(a=0)=>(c,i,f)=>`\x1B[${38+a};2;${c};${i};${f}m`,m={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},Pa=Object.keys(m.modifier),y8=Object.keys(m.color),B8=Object.keys(m.bgColor),Xa=[...y8,...B8];function L8(){let a=new Map;for(let[c,i]of Object.entries(m)){for(let[f,b]of Object.entries(i))m[f]={open:`\x1B[${b[0]}m`,close:`\x1B[${b[1]}m`},i[f]=m[f],a.set(b[0],b[1]);Object.defineProperty(m,c,{value:i,enumerable:!1})}return Object.defineProperty(m,"codes",{value:a,enumerable:!1}),m.color.close="\x1B[39m",m.bgColor.close="\x1B[49m",m.color.ansi=b8(),m.color.ansi256=u8(),m.color.ansi16m=d8(),m.bgColor.ansi=b8(10),m.bgColor.ansi256=u8(10),m.bgColor.ansi16m=d8(10),Object.defineProperties(m,{rgbToAnsi256:{value(c,i,f){if(c===i&&i===f){if(c<8)return 16;if(c>248)return 231;return Math.round((c-8)/247*24)+232}return 16+36*Math.round(c/255*5)+6*Math.round(i/255*5)+Math.round(f/255*5)},enumerable:!1},hexToRgb:{value(c){let i=/[a-f\d]{6}|[a-f\d]{3}/i.exec(c.toString(16));if(!i)return[0,0,0];let[f]=i;if(f.length===3)f=[...f].map((u)=>u+u).join("");let b=Number.parseInt(f,16);return[b>>16&255,b>>8&255,b&255]},enumerable:!1},hexToAnsi256:{value:(c)=>m.rgbToAnsi256(...m.hexToRgb(c)),enumerable:!1},ansi256ToAnsi:{value(c){if(c<8)return 30+c;if(c<16)return 90+(c-8);let i,f,b;if(c>=232)i=((c-232)*10+8)/255,f=i,b=i;else{c-=16;let V=c%36;i=Math.floor(c/36)/5,f=Math.floor(V/6)/5,b=V%6/5}let u=Math.max(i,f,b)*2;if(u===0)return 30;let d=30+(Math.round(b)<<2|Math.round(f)<<1|Math.round(i));if(u===2)d+=60;return d},enumerable:!1},rgbToAnsi:{value:(c,i,f)=>m.ansi256ToAnsi(m.rgbToAnsi256(c,i,f)),enumerable:!1},hexToAnsi:{value:(c)=>m.ansi256ToAnsi(m.hexToAnsi256(c)),enumerable:!1}}),m}var G8=L8(),K=G8;import E from"process";import M8 from"os";import h8 from"tty";function J(a,c=globalThis.Deno?globalThis.Deno.args:E.argv){let i=a.startsWith("-")?"":a.length===1?"-":"--",f=c.indexOf(i+a),b=c.indexOf("--");return f!==-1&&(b===-1||f<b)}var{env:k}=E,Y;if(J("no-color")||J("no-colors")||J("color=false")||J("color=never"))Y=0;else if(J("color")||J("colors")||J("color=true")||J("color=always"))Y=1;function A8(){if("FORCE_COLOR"in k){if(k.FORCE_COLOR==="true")return 1;if(k.FORCE_COLOR==="false")return 0;return k.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(k.FORCE_COLOR,10),3)}}function I8(a){if(a===0)return!1;return{level:a,hasBasic:!0,has256:a>=2,has16m:a>=3}}function g8(a,{streamIsTTY:c,sniffFlags:i=!0}={}){let f=A8();if(f!==void 0)Y=f;let b=i?Y:f;if(b===0)return 0;if(i){if(J("color=16m")||J("color=full")||J("color=truecolor"))return 3;if(J("color=256"))return 2}if("TF_BUILD"in k&&"AGENT_NAME"in k)return 1;if(a&&!c&&b===void 0)return 0;let u=b||0;if(k.TERM==="dumb")return u;if(E.platform==="win32"){let d=M8.release().split(".");if(Number(d[0])>=10&&Number(d[2])>=10586)return Number(d[2])>=14931?3:2;return 1}if("CI"in k){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((d)=>(d in k)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((d)=>(d in k))||k.CI_NAME==="codeship")return 1;return u}if("TEAMCITY_VERSION"in k)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(k.TEAMCITY_VERSION)?1:0;if(k.COLORTERM==="truecolor")return 3;if(k.TERM==="xterm-kitty")return 3;if(k.TERM==="xterm-ghostty")return 3;if(k.TERM==="wezterm")return 3;if("TERM_PROGRAM"in k){let d=Number.parseInt((k.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(k.TERM_PROGRAM){case"iTerm.app":return d>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(k.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(k.TERM))return 1;if("COLORTERM"in k)return 1;return u}function m8(a,c={}){let i=g8(a,{streamIsTTY:a&&a.isTTY,...c});return I8(i)}var T8={stdout:m8({isTTY:h8.isatty(1)}),stderr:m8({isTTY:h8.isatty(2)})},k8=T8;function r8(a,c,i){let f=a.indexOf(c);if(f===-1)return a;let b=c.length,u=0,d="";do d+=a.slice(u,f)+c+i,u=f+b,f=a.indexOf(c,u);while(f!==-1);return d+=a.slice(u),d}function w8(a,c,i,f){let b=0,u="";do{let d=a[f-1]==="\r";u+=a.slice(b,d?f-1:f)+c+(d?`\r
3
+ `:`
4
+ `)+i,b=f+1,f=a.indexOf(`
5
+ `,b)}while(f!==-1);return u+=a.slice(b),u}var{stdout:p8,stderr:z8}=k8,R=Symbol("GENERATOR"),Z=Symbol("STYLER"),F=Symbol("IS_EMPTY"),D8=["ansi","ansi","ansi256","ansi16m"],j=Object.create(null),n8=(a,c={})=>{if(c.level&&!(Number.isInteger(c.level)&&c.level>=0&&c.level<=3))throw Error("The `level` option should be an integer from 0 to 3");let i=p8?p8.level:0;a.level=c.level===void 0?i:c.level};var C8=(a)=>{let c=(...i)=>i.join(" ");return n8(c,a),Object.setPrototypeOf(c,O.prototype),c};function O(a){return C8(a)}Object.setPrototypeOf(O.prototype,Function.prototype);for(let[a,c]of Object.entries(K))j[a]={get(){let i=N(this,e(c.open,c.close,this[Z]),this[F]);return Object.defineProperty(this,a,{value:i}),i}};j.visible={get(){let a=N(this,this[Z],!0);return Object.defineProperty(this,"visible",{value:a}),a}};var S=(a,c,i,...f)=>{if(a==="rgb"){if(c==="ansi16m")return K[i].ansi16m(...f);if(c==="ansi256")return K[i].ansi256(K.rgbToAnsi256(...f));return K[i].ansi(K.rgbToAnsi(...f))}if(a==="hex")return S("rgb",c,i,...K.hexToRgb(...f));return K[i][a](...f)},E8=["rgb","hex","ansi256"];for(let a of E8){j[a]={get(){let{level:i}=this;return function(...f){let b=e(S(a,D8[i],"color",...f),K.color.close,this[Z]);return N(this,b,this[F])}}};let c="bg"+a[0].toUpperCase()+a.slice(1);j[c]={get(){let{level:i}=this;return function(...f){let b=e(S(a,D8[i],"bgColor",...f),K.bgColor.close,this[Z]);return N(this,b,this[F])}}}}var R8=Object.defineProperties(()=>{},{...j,level:{enumerable:!0,get(){return this[R].level},set(a){this[R].level=a}}}),e=(a,c,i)=>{let f,b;if(i===void 0)f=a,b=c;else f=i.openAll+a,b=c+i.closeAll;return{open:a,close:c,openAll:f,closeAll:b,parent:i}},N=(a,c,i)=>{let f=(...b)=>S8(f,b.length===1?""+b[0]:b.join(" "));return Object.setPrototypeOf(f,R8),f[R]=a,f[Z]=c,f[F]=i,f},S8=(a,c)=>{if(a.level<=0||!c)return a[F]?"":c;let i=a[Z];if(i===void 0)return c;let{openAll:f,closeAll:b}=i;if(c.includes("\x1B"))while(i!==void 0)c=r8(c,i.close,i.open),i=i.parent;let u=c.indexOf(`
6
+ `);if(u!==-1)c=w8(c,b,f,u);return f+c+b};Object.defineProperties(O.prototype,j);var e8=O(),Aa=O({level:z8?z8.level:0});var ga=e8;
7
+ export{ga as O,U as P,aa as Q,Y8 as R,ha as S,r as T,ma as U,za as V,Da as W,xa as X,Ja as Y,Ka as Z,Qa as _,$a as $,Wa as aa,Va as ba,qa as ca,Za as da,ja as ea,ta as fa,Fa as ga};
@@ -0,0 +1,3 @@
1
+ // @bun
2
+ var e=Object.freeze(JSON.parse('{"displayName":"Haxe","fileTypes":["hx","dump"],"name":"haxe","patterns":[{"include":"#all"}],"repository":{"abstract":{"begin":"(?=abstract\\\\s+[A-Z])","end":"(?<=})|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"name":"meta.abstract.hx","patterns":[{"include":"#abstract-name"},{"include":"#abstract-name-post"},{"include":"#abstract-block"}]},"abstract-block":{"begin":"(?<=\\\\{)","end":"(})","endCaptures":{"1":{"name":"punctuation.definition.block.end.hx"}},"name":"meta.block.hx","patterns":[{"include":"#method"},{"include":"#modifiers"},{"include":"#variable"},{"include":"#block"},{"include":"#block-contents"}]},"abstract-name":{"begin":"\\\\b(abstract)\\\\b","beginCaptures":{"1":{"name":"storage.type.class.hx"}},"end":"([A-Z_a-z]\\\\w*)","endCaptures":{"1":{"name":"entity.name.type.class.hx"}},"patterns":[{"include":"#global"}]},"abstract-name-post":{"begin":"(?<=\\\\w)","end":"([;{])","endCaptures":{"1":{"name":"punctuation.definition.block.begin.hx"}},"patterns":[{"include":"#global"},{"match":"\\\\b(from|to)\\\\b","name":"keyword.other.hx"},{"include":"#type"},{"match":"[()]","name":"punctuation.definition.other.hx"}]},"accessor-method":{"patterns":[{"match":"\\\\b([gs]et)_[A-Z_a-z]\\\\w*\\\\b","name":"entity.name.function.hx"}]},"all":{"patterns":[{"include":"#global"},{"include":"#package"},{"include":"#import"},{"include":"#using"},{"match":"\\\\b(final)\\\\b(?=\\\\s+(class|interface|extern|private)\\\\b)","name":"storage.modifier.hx"},{"include":"#abstract"},{"include":"#class"},{"include":"#enum"},{"include":"#interface"},{"include":"#typedef"},{"include":"#block"},{"include":"#block-contents"}]},"array":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.array.begin.hx"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.array.end.hx"}},"name":"meta.array.literal.hx","patterns":[{"include":"#block"},{"include":"#block-contents"}]},"arrow-function":{"begin":"(\\\\()(?=[^(]*?\\\\)\\\\s*->)","beginCaptures":{"1":{"name":"punctuation.definition.parameters.begin.hx"}},"end":"(\\\\))\\\\s*(->)","endCaptures":{"1":{"name":"punctuation.definition.parameters.end.hx"},"2":{"name":"storage.type.function.arrow.hx"}},"name":"meta.method.arrow.hx","patterns":[{"include":"#arrow-function-parameter"}]},"arrow-function-parameter":{"begin":"(?<=[(,])","end":"(?=[),])","patterns":[{"include":"#parameter-name"},{"include":"#arrow-function-parameter-type-hint"},{"include":"#parameter-assign"},{"include":"#punctuation-comma"},{"include":"#global"}]},"arrow-function-parameter-type-hint":{"begin":":","beginCaptures":{"0":{"name":"keyword.operator.type.annotation.hx"}},"end":"(?=[),=])","patterns":[{"include":"#type"}]},"block":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.begin.hx"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.end.hx"}},"patterns":[{"include":"#block"},{"include":"#block-contents"}]},"block-contents":{"patterns":[{"include":"#global"},{"include":"#regex"},{"include":"#array"},{"include":"#constants"},{"include":"#strings"},{"include":"#metadata"},{"include":"#method"},{"include":"#variable"},{"include":"#modifiers"},{"include":"#new-expr"},{"include":"#for-loop"},{"include":"#keywords"},{"include":"#arrow-function"},{"include":"#method-call"},{"include":"#enum-constructor-call"},{"include":"#punctuation-braces"},{"include":"#macro-reification"},{"include":"#operators"},{"include":"#operator-assignment"},{"include":"#punctuation-terminator"},{"include":"#punctuation-comma"},{"include":"#punctuation-accessor"},{"include":"#identifiers"}]},"class":{"begin":"(?=class)","end":"(?<=})|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"name":"meta.class.hx","patterns":[{"include":"#class-name"},{"include":"#class-name-post"},{"include":"#class-block"}]},"class-block":{"begin":"(?<=\\\\{)","end":"(})","endCaptures":{"1":{"name":"punctuation.definition.block.end.hx"}},"name":"meta.block.hx","patterns":[{"include":"#method"},{"include":"#modifiers"},{"include":"#variable"},{"include":"#block"},{"include":"#block-contents"}]},"class-name":{"begin":"\\\\b(class)\\\\b","beginCaptures":{"1":{"name":"storage.type.class.hx"}},"end":"([A-Z_a-z]\\\\w*)","endCaptures":{"1":{"name":"entity.name.type.class.hx"}},"name":"meta.class.identifier.hx","patterns":[{"include":"#global"}]},"class-name-post":{"begin":"(?<=\\\\w)","end":"([;{])","endCaptures":{"1":{"name":"punctuation.definition.block.begin.hx"}},"patterns":[{"include":"#modifiers-inheritance"},{"include":"#type"}]},"comments":{"patterns":[{"begin":"/\\\\*\\\\*(?!/)","beginCaptures":{"0":{"name":"punctuation.definition.comment.hx"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.hx"}},"name":"comment.block.documentation.hx","patterns":[{"include":"#javadoc-tags"}]},{"begin":"/\\\\*","beginCaptures":{"0":{"name":"punctuation.definition.comment.hx"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.hx"}},"name":"comment.block.hx","patterns":[{"include":"#javadoc-tags"}]},{"captures":{"1":{"name":"punctuation.definition.comment.hx"}},"match":"(//).*$\\\\n?","name":"comment.line.double-slash.hx"}]},"conditional-compilation":{"patterns":[{"captures":{"0":{"name":"punctuation.definition.tag"}},"match":"((#(if|elseif))[!\\\\s]+([A-Z_a-z][0-9A-Z_a-z]*(\\\\.[A-Z_a-z][0-9A-Z_a-z]*)*)(?=\\\\s|/\\\\*|//))"},{"begin":"((#(if|elseif))[!\\\\s]*)(?=\\\\()","beginCaptures":{"0":{"name":"punctuation.definition.tag"}},"end":"(?<=[\\\\n)])","endCaptures":{"0":{"name":"punctuation.definition.tag"}},"name":"punctuation.definition.tag","patterns":[{"include":"#conditional-compilation-parens"}]},{"match":"(#(end|else|error|line))","name":"punctuation.definition.tag"},{"match":"(#([0-9A-Z_a-z]*))\\\\s","name":"punctuation.definition.tag"}]},"conditional-compilation-parens":{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"#conditional-compilation-parens"}]},"constant-name":{"match":"\\\\b([A-Z_][0-9A-Z_]*)\\\\b","name":"variable.other.hx"},"constants":{"patterns":[{"match":"\\\\b(true|false|null)\\\\b","name":"constant.language.hx"},{"captures":{"0":{"name":"constant.numeric.hex.hx"},"1":{"name":"constant.numeric.suffix.hx"}},"match":"\\\\b0[Xx]\\\\h[_\\\\h]*([iu][0-9][0-9_]*)?\\\\b"},{"captures":{"0":{"name":"constant.numeric.bin.hx"},"1":{"name":"constant.numeric.suffix.hx"}},"match":"\\\\b0[Bb][01][01_]*([iu][0-9][0-9_]*)?\\\\b"},{"captures":{"0":{"name":"constant.numeric.decimal.hx"},"1":{"name":"meta.delimiter.decimal.period.hx"},"2":{"name":"constant.numeric.suffix.hx"},"3":{"name":"meta.delimiter.decimal.period.hx"},"4":{"name":"constant.numeric.suffix.hx"},"5":{"name":"meta.delimiter.decimal.period.hx"},"6":{"name":"constant.numeric.suffix.hx"},"7":{"name":"constant.numeric.suffix.hx"},"8":{"name":"meta.delimiter.decimal.period.hx"},"9":{"name":"constant.numeric.suffix.hx"},"10":{"name":"meta.delimiter.decimal.period.hx"},"11":{"name":"constant.numeric.suffix.hx"},"12":{"name":"meta.delimiter.decimal.period.hx"},"13":{"name":"constant.numeric.suffix.hx"},"14":{"name":"constant.numeric.suffix.hx"}},"match":"(?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9_]+[Ee][-+]?[0-9_]+([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9_]+([fiu][0-9][0-9_]*)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9_]+([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9_]+([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(?!\\\\.)(?:\\\\B|([fiu][0-9][0-9_]*)\\\\b)|\\\\B(\\\\.)[0-9][0-9_]*([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*([fiu][0-9][0-9_]*)?\\\\b)(?!\\\\$)"}]},"enum":{"begin":"(?=enum\\\\s+[A-Z])","end":"(?<=})|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"name":"meta.enum.hx","patterns":[{"include":"#enum-name"},{"include":"#enum-name-post"},{"include":"#enum-block"}]},"enum-block":{"begin":"(?<=\\\\{)","end":"(})","endCaptures":{"1":{"name":"punctuation.definition.block.end.hx"}},"name":"meta.block.hx","patterns":[{"include":"#global"},{"include":"#metadata"},{"include":"#parameters"},{"include":"#identifiers"}]},"enum-constructor-call":{"begin":"\\\\b(?<!\\\\.)((_*[a-z]\\\\w*\\\\.)*)(_*[A-Z]\\\\w*)(?:(\\\\.)(_*[A-Z]\\\\w*[a-z]\\\\w*))*\\\\s*(\\\\()","beginCaptures":{"1":{"name":"support.package.hx"},"3":{"name":"entity.name.type.hx"},"4":{"name":"support.package.hx"},"5":{"name":"entity.name.type.hx"},"6":{"name":"meta.brace.round.hx"}},"end":"(\\\\))","endCaptures":{"1":{"name":"meta.brace.round.hx"}},"patterns":[{"include":"#block"},{"include":"#block-contents"}]},"enum-name":{"begin":"\\\\b(enum)\\\\b","beginCaptures":{"1":{"name":"storage.type.class.hx"}},"end":"([A-Z_a-z]\\\\w*)","endCaptures":{"1":{"name":"entity.name.type.class.hx"}},"patterns":[{"include":"#global"}]},"enum-name-post":{"begin":"(?<=\\\\w)","end":"([;{])","endCaptures":{"1":{"name":"punctuation.definition.block.begin.hx"}},"patterns":[{"include":"#type"}]},"for-loop":{"begin":"\\\\b(for)\\\\b\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.control.flow-control.hx"},"2":{"name":"meta.brace.round.hx"}},"end":"(\\\\))","endCaptures":{"1":{"name":"meta.brace.round.hx"}},"patterns":[{"match":"\\\\b(in)\\\\b","name":"keyword.other.in.hx"},{"include":"#block"},{"include":"#block-contents"}]},"function-type":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.hx"}},"patterns":[{"include":"#function-type-parameter"}]},"function-type-parameter":{"begin":"(?<=[(,])","end":"(?=[),])","patterns":[{"include":"#global"},{"include":"#metadata"},{"include":"#operator-optional"},{"include":"#punctuation-comma"},{"include":"#function-type-parameter-name"},{"include":"#function-type-parameter-type-hint"},{"include":"#parameter-assign"},{"include":"#type"},{"include":"#global"}]},"function-type-parameter-name":{"captures":{"1":{"name":"variable.parameter.hx"}},"match":"([A-Z_a-z]\\\\w*)(?=\\\\s*:)"},"function-type-parameter-type-hint":{"begin":":","beginCaptures":{"0":{"name":"keyword.operator.type.annotation.hx"}},"end":"(?=[),=])","patterns":[{"include":"#type"}]},"global":{"patterns":[{"include":"#comments"},{"include":"#conditional-compilation"}]},"identifier-name":{"match":"\\\\b([A-Z_a-z]\\\\w*)\\\\b","name":"variable.other.hx"},"identifiers":{"patterns":[{"include":"#constant-name"},{"include":"#type-name"},{"include":"#identifier-name"}]},"import":{"begin":"import\\\\b","beginCaptures":{"0":{"name":"keyword.control.import.hx"}},"end":"$|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"patterns":[{"include":"#type-path"},{"match":"\\\\b(as)\\\\b","name":"keyword.control.as.hx"},{"match":"\\\\b(in)\\\\b","name":"keyword.control.in.hx"},{"match":"\\\\*","name":"constant.language.import-all.hx"},{"match":"\\\\b([A-Z_a-z]\\\\w*)\\\\b(?=\\\\s*(as|in|$|(;)))","name":"variable.other.hxt"},{"include":"#type-path-package-name"}]},"interface":{"begin":"(?=interface)","end":"(?<=})|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"name":"meta.interface.hx","patterns":[{"include":"#interface-name"},{"include":"#interface-name-post"},{"include":"#interface-block"}]},"interface-block":{"begin":"(?<=\\\\{)","end":"(})","endCaptures":{"1":{"name":"punctuation.definition.block.end.hx"}},"name":"meta.block.hx","patterns":[{"include":"#method"},{"include":"#variable"},{"include":"#block"},{"include":"#block-contents"}]},"interface-name":{"begin":"\\\\b(interface)\\\\b","beginCaptures":{"1":{"name":"storage.type.class.hx"}},"end":"([A-Z_a-z]\\\\w*)","endCaptures":{"1":{"name":"entity.name.type.class.hx"}},"patterns":[{"include":"#global"}]},"interface-name-post":{"begin":"(?<=\\\\w)","end":"([;{])","endCaptures":{"1":{"name":"punctuation.definition.block.begin.hx"}},"patterns":[{"include":"#global"},{"include":"#modifiers-inheritance"},{"include":"#type"}]},"javadoc-tags":{"patterns":[{"captures":{"1":{"name":"storage.type.class.javadoc"},"2":{"name":"variable.other.javadoc"}},"match":"(@(?:param|exception|throws|event))\\\\s+([A-Z_a-z]\\\\w*)\\\\s+"},{"captures":{"1":{"name":"storage.type.class.javadoc"},"2":{"name":"constant.numeric.javadoc"}},"match":"(@since)\\\\s+([-.\\\\w]+)\\\\s+"},{"captures":{"0":{"name":"storage.type.class.javadoc"}},"match":"@(param|exception|throws|deprecated|returns?|since|default|see|event)"}]},"keywords":{"patterns":[{"begin":"(?<=trace|$type|if|while|for|super)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"meta.brace.round.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.hx"}},"patterns":[{"include":"#block-contents"}]},{"begin":"(?<=catch)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"meta.brace.round.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.hx"}},"patterns":[{"include":"#block-contents"},{"include":"#type-check"}]},{"begin":"(?<=cast)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"meta.brace.round.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.hx"}},"patterns":[{"begin":"(?=,)","end":"(?=\\\\))","patterns":[{"include":"#type"}]},{"include":"#block-contents"}]},{"match":"\\\\b(try|catch|throw)\\\\b","name":"keyword.control.catch-exception.hx"},{"begin":"\\\\b(case|default)\\\\b","beginCaptures":{"1":{"name":"keyword.control.flow-control.hx"}},"end":":|(?=if)|$","patterns":[{"include":"#global"},{"include":"#metadata"},{"captures":{"1":{"name":"storage.type.variable.hx"},"2":{"name":"variable.other.hx"}},"match":"\\\\b(var|final)\\\\b\\\\s*([A-Z_a-z]\\\\w*)\\\\b"},{"include":"#array"},{"include":"#constants"},{"include":"#strings"},{"match":"\\\\(","name":"meta.brace.round.hx"},{"match":"\\\\)","name":"meta.brace.round.hx"},{"include":"#macro-reification"},{"match":"=>","name":"keyword.operator.extractor.hx"},{"include":"#operator-assignment"},{"include":"#punctuation-comma"},{"include":"#keywords"},{"include":"#method-call"},{"include":"#identifiers"}]},{"match":"\\\\b(if|else|return|do|while|for|break|continue|switch|case|default)\\\\b","name":"keyword.control.flow-control.hx"},{"match":"\\\\b(cast|untyped)\\\\b","name":"keyword.other.untyped.hx"},{"match":"\\\\btrace\\\\b","name":"keyword.other.trace.hx"},{"match":"\\\\$type\\\\b","name":"keyword.other.type.hx"},{"match":"__(global|this)__\\\\b","name":"keyword.other.untyped-property.hx"},{"match":"\\\\b(this|super)\\\\b","name":"variable.language.hx"},{"match":"\\\\bnew\\\\b","name":"keyword.operator.new.hx"},{"match":"\\\\b(abstract|class|enum|interface|typedef)\\\\b","name":"storage.type.hx"},{"match":"->","name":"storage.type.function.arrow.hx"},{"include":"#modifiers"},{"include":"#modifiers-inheritance"}]},"keywords-accessor":{"match":"\\\\b(private|default|get|set|dynamic|never|null)\\\\b","name":"storage.type.property.hx"},"macro-reification":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.reification.hx"},"2":{"name":"keyword.reification.hx"}},"match":"(\\\\$)([abeipv])\\\\{"},{"captures":{"2":{"name":"punctuation.definition.reification.hx"},"3":{"name":"variable.reification.hx"}},"match":"((\\\\$)([A-Za-z]*))"}]},"metadata":{"patterns":[{"begin":"(@)(:(abi|abstract|access|allow|analyzer|annotation|arrayAccess|astSource|autoBuild|bind|bitmap|bridgeProperties|build|buildXml|bypassAccessor|callable|classCode|commutative|compilerGenerated|const|coreApi|coreType|cppFileCode|cppInclude|cppNamespaceCode|cs.assemblyMeta|cs.assemblyStrict|cs.using|dce|debug|decl|delegate|depend|deprecated|eager|enum|event|expose|extern|file|fileXml|final|fixed|flash.property|font|forward.new|forward.variance|forward|forwardStatics|from|functionCode|functionTailCode|generic|genericBuild|genericClassPerMethod|getter|hack|headerClassCode|headerCode|headerInclude|headerNamespaceCode|hlNative|hxGen|ifFeature|include|inheritDoc|inline|internal|isVar|java.native|javaCanonical|jsRequire|jvm.synthetic|keep|keepInit|keepSub|luaDotMethod|luaRequire|macro|markup|mergeBlock|multiReturn|multiType|native|nativeChildren|nativeGen|nativeProperty|nativeStaticExtension|noClosure|noCompletion|noDebug|noDoc|noImportGlobal|noPrivateAccess|noStack|noUsing|nonVirtual|notNull|nullSafety|objc|objcProtocol|op|optional|overload|persistent|phpClassConst|phpGlobal|phpMagic|phpNoConstructor|pos|private|privateAccess|property|protected|publicFields|pure|pythonImport|readOnly|remove|require|resolve|rtti|runtimeValue|scalar|selfCall|semantics|setter|sound|sourceFile|stackOnly|strict|struct|structAccess|structInit|suppressWarnings|templatedCall|throws|to|transient|transitive|unifyMinDynamic|unreflective|unsafe|using|void|volatile))\\\\b\\\\s*(\\\\()","beginCaptures":{"1":{"name":"punctuation.metadata.hx"},"2":{"name":"storage.modifier.metadata.hx"},"3":{"name":"meta.brace.round.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.hx"}},"patterns":[{"include":"#block-contents"}]},{"captures":{"2":{"name":"punctuation.metadata.hx"},"3":{"name":"storage.modifier.metadata.hx"}},"match":"((@)(:(abi|abstract|access|allow|analyzer|annotation|arrayAccess|astSource|autoBuild|bind|bitmap|bridgeProperties|build|buildXml|bypassAccessor|callable|classCode|commutative|compilerGenerated|const|coreApi|coreType|cppFileCode|cppInclude|cppNamespaceCode|cs.assemblyMeta|cs.assemblyStrict|cs.using|dce|debug|decl|delegate|depend|deprecated|eager|enum|event|expose|extern|file|fileXml|final|fixed|flash.property|font|forward.new|forward.variance|forward|forwardStatics|from|functionCode|functionTailCode|generic|genericBuild|genericClassPerMethod|getter|hack|headerClassCode|headerCode|headerInclude|headerNamespaceCode|hlNative|hxGen|ifFeature|include|inheritDoc|inline|internal|isVar|java.native|javaCanonical|jsRequire|jvm.synthetic|keep|keepInit|keepSub|luaDotMethod|luaRequire|macro|markup|mergeBlock|multiReturn|multiType|native|nativeChildren|nativeGen|nativeProperty|nativeStaticExtension|noClosure|noCompletion|noDebug|noDoc|noImportGlobal|noPrivateAccess|noStack|noUsing|nonVirtual|notNull|nullSafety|objc|objcProtocol|op|optional|overload|persistent|phpClassConst|phpGlobal|phpMagic|phpNoConstructor|pos|private|privateAccess|property|protected|publicFields|pure|pythonImport|readOnly|remove|require|resolve|rtti|runtimeValue|scalar|selfCall|semantics|setter|sound|sourceFile|stackOnly|strict|struct|structAccess|structInit|suppressWarnings|templatedCall|throws|to|transient|transitive|unifyMinDynamic|unreflective|unsafe|using|void|volatile)))\\\\b"},{"begin":"(@)(:?[A-Z_a-z]*)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"punctuation.metadata.hx"},"2":{"name":"variable.metadata.hx"},"3":{"name":"meta.brace.round.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.hx"}},"patterns":[{"include":"#block-contents"}]},{"captures":{"1":{"name":"punctuation.metadata.hx"},"2":{"name":"variable.metadata.hx"},"3":{"name":"variable.metadata.hx"},"4":{"name":"punctuation.accessor.hx"},"5":{"name":"variable.metadata.hx"}},"match":"(@)(:?)([A-Z_a-z]*(\\\\.))*([A-Z_a-z]*)?"}]},"method":{"begin":"(?=\\\\bfunction\\\\b)","end":"(?<=[;}])","name":"meta.method.hx","patterns":[{"include":"#macro-reification"},{"include":"#method-name"},{"include":"#method-name-post"},{"include":"#method-block"}]},"method-block":{"begin":"(?<=\\\\{)","beginCaptures":{"1":{"name":"punctuation.definition.block.begin.hx"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.definition.block.end.hx"}},"name":"meta.method.block.hx","patterns":[{"include":"#block"},{"include":"#block-contents"}]},"method-call":{"begin":"\\\\b(?:(__(?:addressOf|as|call|checked|cpp|cs|define_feature|delete|feature|field|fixed|foreach|forin|has_next|hkeys|int??|is|java|js|keys|lock|lua|lua_table|new|php|physeq|prefix|ptr|resources|rethrow|set|setfield|sizeof|type|typeof|unprotect|unsafe|valueOf|var|vector|vmem_get|vmem_set|vmem_sign|instanceof|strict_eq|strict_neq)__)|([_a-z]\\\\w*))\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.other.untyped-function.hx"},"2":{"name":"entity.name.function.hx"},"3":{"name":"meta.brace.round.hx"}},"end":"(\\\\))","endCaptures":{"1":{"name":"meta.brace.round.hx"}},"patterns":[{"include":"#block"},{"include":"#block-contents"}]},"method-name":{"begin":"\\\\b(function)\\\\b\\\\s*\\\\b(?:(new)|([A-Z_a-z]\\\\w*))?\\\\b","beginCaptures":{"1":{"name":"storage.type.function.hx"},"2":{"name":"storage.type.hx"},"3":{"name":"entity.name.function.hx"}},"end":"(?=$|\\\\()","patterns":[{"include":"#macro-reification"},{"include":"#type-parameters"}]},"method-name-post":{"begin":"(?<=[>\\\\w\\\\s])","end":"(\\\\{)|(;)","endCaptures":{"1":{"name":"punctuation.definition.block.begin.hx"},"2":{"name":"punctuation.terminator.hx"}},"patterns":[{"include":"#parameters"},{"include":"#method-return-type-hint"},{"include":"#block"},{"include":"#block-contents"}]},"method-return-type-hint":{"begin":"(?<=\\\\))\\\\s*(:)","beginCaptures":{"1":{"name":"keyword.operator.type.annotation.hx"}},"end":"(?=[0-9;a-{])","patterns":[{"include":"#type"}]},"modifiers":{"patterns":[{"match":"\\\\b(enum)\\\\b","name":"storage.type.class"},{"match":"\\\\b(public|private|static|dynamic|inline|macro|extern|override|overload|abstract)\\\\b","name":"storage.modifier.hx"},{"match":"\\\\b(final)\\\\b(?=\\\\s+(public|private|static|dynamic|inline|macro|extern|override|overload|abstract|function))","name":"storage.modifier.hx"}]},"modifiers-inheritance":{"match":"\\\\b(implements|extends)\\\\b","name":"storage.modifier.hx"},"new-expr":{"begin":"(?<!\\\\.)\\\\b(new)\\\\b","beginCaptures":{"1":{"name":"keyword.operator.new.hx"}},"end":"(?=$|\\\\()","name":"new.expr.hx","patterns":[{"include":"#type"}]},"operator-assignment":{"match":"(=)","name":"keyword.operator.assignment.hx"},"operator-optional":{"match":"(\\\\?)(?!\\\\s)","name":"keyword.operator.optional.hx"},"operator-rest":{"match":"\\\\.\\\\.\\\\.","name":"keyword.operator.rest.hx"},"operator-type-hint":{"match":"(:)","name":"keyword.operator.type.annotation.hx"},"operators":{"patterns":[{"match":"(&&|\\\\|\\\\|)","name":"keyword.operator.logical.hx"},{"match":"([\\\\&^|~]|>>>|<<|>>)","name":"keyword.operator.bitwise.hx"},{"match":"(==|!=|<=|>=|[<>])","name":"keyword.operator.comparison.hx"},{"match":"(!)","name":"keyword.operator.logical.hx"},{"match":"(--|\\\\+\\\\+)","name":"keyword.operator.increment-decrement.hx"},{"match":"([-%*+/])","name":"keyword.operator.arithmetic.hx"},{"match":"\\\\.\\\\.\\\\.","name":"keyword.operator.intiterator.hx"},{"match":"=>","name":"keyword.operator.arrow.hx"},{"match":"\\\\?\\\\?","name":"keyword.operator.nullcoalescing.hx"},{"match":"\\\\?\\\\.","name":"keyword.operator.safenavigation.hx"},{"match":"\\\\bis\\\\b(?!\\\\()","name":"keyword.other.hx"},{"begin":"\\\\?","beginCaptures":{"0":{"name":"keyword.operator.ternary.hx"}},"end":":","endCaptures":{"0":{"name":"keyword.operator.ternary.hx"}},"patterns":[{"include":"#block"},{"include":"#block-contents"}]}]},"package":{"begin":"package\\\\b","beginCaptures":{"0":{"name":"keyword.other.package.hx"}},"end":"$|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"patterns":[{"include":"#type-path"},{"include":"#type-path-package-name"}]},"parameter":{"begin":"(?<=[(,])","end":"(?=\\\\)(?!\\\\s*->)|,)","patterns":[{"include":"#parameter-name"},{"include":"#parameter-type-hint"},{"include":"#parameter-assign"},{"include":"#global"}]},"parameter-assign":{"begin":"=","beginCaptures":{"0":{"name":"keyword.operator.assignment.hx"}},"end":"(?=[),])","patterns":[{"include":"#block"},{"include":"#block-contents"}]},"parameter-name":{"patterns":[{"captures":{"1":{"name":"variable.parameter.hx"}},"match":"\\\\s*([A-Z_a-z]\\\\w*)"},{"include":"#global"},{"include":"#metadata"},{"include":"#operator-optional"},{"include":"#operator-rest"}]},"parameter-type-hint":{"begin":":","beginCaptures":{"0":{"name":"keyword.operator.type.annotation.hx"}},"end":"(?=\\\\)(?!\\\\s*->)|[,=])","patterns":[{"include":"#type"}]},"parameters":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.hx"}},"end":"\\\\s*(\\\\)(?!\\\\s*->))","endCaptures":{"1":{"name":"punctuation.definition.parameters.end.hx"}},"name":"meta.parameters.hx","patterns":[{"include":"#parameter"},{"include":"#punctuation-comma"}]},"punctuation-accessor":{"match":"\\\\.","name":"punctuation.accessor.hx"},"punctuation-braces":{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.brace.round.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.hx"}},"patterns":[{"include":"#keywords"},{"include":"#block"},{"include":"#block-contents"},{"include":"#type-check"}]},"punctuation-comma":{"match":",","name":"punctuation.separator.comma.hx"},"punctuation-terminator":{"match":";","name":"punctuation.terminator.hx"},"regex":{"begin":"(~/)","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.hx"}},"end":"(/)([gimsu]*)","endCaptures":{"1":{"name":"punctuation.definition.string.end.hx"},"2":{"name":"keyword.other.hx"}},"name":"string.regexp.hx","patterns":[{"include":"#regexp"}]},"regex-character-class":{"patterns":[{"match":"\\\\\\\\[DSWdfnrstvw]|\\\\.","name":"constant.other.character-class.regexp"},{"match":"\\\\\\\\([0-7]{3}|x\\\\h\\\\h|u\\\\h\\\\h\\\\h\\\\h)","name":"constant.character.numeric.regexp"},{"match":"\\\\\\\\c[A-Z]","name":"constant.character.control.regexp"},{"match":"\\\\\\\\.","name":"constant.character.escape.backslash.regexp"}]},"regexp":{"patterns":[{"match":"\\\\\\\\[Bb]|[$^]","name":"keyword.control.anchor.regexp"},{"match":"\\\\\\\\[1-9]\\\\d*","name":"keyword.other.back-reference.regexp"},{"match":"[*+?]|\\\\{(\\\\d+,\\\\d+|\\\\d+,|,\\\\d+|\\\\d+)}\\\\??","name":"keyword.operator.quantifier.regexp"},{"match":"\\\\|","name":"keyword.operator.or.regexp"},{"begin":"(\\\\()((\\\\?=)|(\\\\?!))","beginCaptures":{"1":{"name":"punctuation.definition.group.regexp"},"2":{"name":"punctuation.definition.group.assertion.regexp"},"3":{"name":"meta.assertion.look-ahead.regexp"},"4":{"name":"meta.assertion.negative-look-ahead.regexp"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.group.regexp"}},"name":"meta.group.assertion.regexp","patterns":[{"include":"#regexp"}]},{"begin":"\\\\((\\\\?:)?","beginCaptures":{"0":{"name":"punctuation.definition.group.regexp"},"1":{"name":"punctuation.definition.group.capture.regexp"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.group.regexp"}},"name":"meta.group.regexp","patterns":[{"include":"#regexp"}]},{"begin":"(\\\\[)(\\\\^)?","beginCaptures":{"1":{"name":"punctuation.definition.character-class.regexp"},"2":{"name":"keyword.operator.negation.regexp"}},"end":"(])","endCaptures":{"1":{"name":"punctuation.definition.character-class.regexp"}},"name":"constant.other.character-class.set.regexp","patterns":[{"captures":{"1":{"name":"constant.character.numeric.regexp"},"2":{"name":"constant.character.control.regexp"},"3":{"name":"constant.character.escape.backslash.regexp"},"4":{"name":"constant.character.numeric.regexp"},"5":{"name":"constant.character.control.regexp"},"6":{"name":"constant.character.escape.backslash.regexp"}},"match":"(?:.|(\\\\\\\\(?:[0-7]{3}|x\\\\h\\\\h|u\\\\h\\\\h\\\\h\\\\h))|(\\\\\\\\c[A-Z])|(\\\\\\\\.))-(?:[^]\\\\\\\\]|(\\\\\\\\(?:[0-7]{3}|x\\\\h\\\\h|u\\\\h\\\\h\\\\h\\\\h))|(\\\\\\\\c[A-Z])|(\\\\\\\\.))","name":"constant.other.character-class.range.regexp"},{"include":"#regex-character-class"}]},{"include":"#regex-character-class"}]},"string-escape-sequences":{"patterns":[{"match":"\\\\\\\\[0-3][0-9]{2}","name":"constant.character.escape.hx"},{"match":"\\\\\\\\x\\\\h{2}","name":"constant.character.escape.hx"},{"match":"\\\\\\\\u[0-9]{4}","name":"constant.character.escape.hx"},{"match":"\\\\\\\\u\\\\{\\\\h+}","name":"constant.character.escape.hx"},{"match":"\\\\\\\\[\\"\'\\\\\\\\nrt]","name":"constant.character.escape.hx"},{"match":"\\\\\\\\.","name":"invalid.escape.sequence.hx"}]},"strings":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.hx"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.hx"}},"name":"string.quoted.double.hx","patterns":[{"include":"#string-escape-sequences"}]},{"begin":"(\')","beginCaptures":{"0":{"name":"string.quoted.single.hx"},"1":{"name":"punctuation.definition.string.begin.hx"}},"end":"(\')","endCaptures":{"0":{"name":"string.quoted.single.hx"},"1":{"name":"punctuation.definition.string.end.hx"}},"patterns":[{"begin":"\\\\$(?=\\\\$)","beginCaptures":{"0":{"name":"constant.character.escape.hx"}},"end":"\\\\$","endCaptures":{"0":{"name":"constant.character.escape.hx"}},"name":"string.quoted.single.hx"},{"include":"#string-escape-sequences"},{"begin":"(\\\\$\\\\{)","beginCaptures":{"0":{"name":"punctuation.definition.block.begin.hx"}},"end":"(})","endCaptures":{"0":{"name":"punctuation.definition.block.end.hx"}},"patterns":[{"include":"#block-contents"}]},{"captures":{"1":{"name":"punctuation.definition.block.begin.hx"},"2":{"name":"variable.other.hx"}},"match":"(\\\\$)([A-Z_a-z]\\\\w*)"},{"match":"","name":"constant.character.escape.hx"},{"match":".","name":"string.quoted.single.hx"}]}]},"type":{"patterns":[{"include":"#global"},{"include":"#macro-reification"},{"include":"#type-name"},{"include":"#type-parameters"},{"match":"->","name":"keyword.operator.type.function.hx"},{"match":"&","name":"keyword.operator.type.intersection.hx"},{"match":"\\\\?(?=\\\\s*[A-Z_])","name":"keyword.operator.optional"},{"match":"\\\\?(?!\\\\s*[A-Z_])","name":"punctuation.definition.tag"},{"begin":"(\\\\{)","beginCaptures":{"0":{"name":"punctuation.definition.block.begin.hx"}},"end":"(?<=})","patterns":[{"include":"#typedef-block"}]},{"include":"#function-type"}]},"type-check":{"begin":"(?<!macro)(?=:)","end":"(?=\\\\))","patterns":[{"include":"#operator-type-hint"},{"include":"#type"}]},"type-name":{"patterns":[{"captures":{"1":{"name":"support.class.builtin.hx"},"2":{"name":"support.package.hx"},"3":{"name":"entity.name.type.hx"}},"match":"\\\\b(Any|Array|ArrayAccess|Bool|Class|Date|DateTools|Dynamic|Enum|EnumValue|EReg|Float|IMap|Int|IntIterator|Iterable|Iterator|KeyValueIterator|KeyValueIterable|Lambda|List|ListIterator|ListNode|Map|Math|Null|Reflect|Single|Std|String|StringBuf|StringTools|Sys|Type|UInt|UnicodeString|ValueType|Void|Xml|XmlType)(?:(\\\\.)(_*[A-Z]\\\\w*[a-z]\\\\w*))*\\\\b"},{"captures":{"1":{"name":"support.package.hx"},"3":{"name":"entity.name.type.hx"},"4":{"name":"support.package.hx"},"5":{"name":"entity.name.type.hx"}},"match":"\\\\b(?<![^.]\\\\.)((_*[a-z]\\\\w*\\\\.)*)(_*[A-Z]\\\\w*)(?:(\\\\.)(_*[A-Z]\\\\w*[a-z]\\\\w*))*\\\\b"}]},"type-parameter-constraint-new":{"match":":","name":"keyword.operator.type.annotation.hxt"},"type-parameter-constraint-old":{"begin":"(:)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.operator.type.annotation.hx"},"2":{"name":"punctuation.definition.constraint.begin.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.constraint.end.hx"}},"patterns":[{"include":"#type"},{"include":"#punctuation-comma"}]},"type-parameters":{"begin":"(<)","beginCaptures":{"1":{"name":"punctuation.definition.typeparameters.begin.hx"}},"end":"(?=$)|(>)","endCaptures":{"1":{"name":"punctuation.definition.typeparameters.end.hx"}},"name":"meta.type-parameters.hx","patterns":[{"include":"#type"},{"include":"#type-parameter-constraint-old"},{"include":"#type-parameter-constraint-new"},{"include":"#global"},{"include":"#regex"},{"include":"#array"},{"include":"#constants"},{"include":"#strings"},{"include":"#metadata"},{"include":"#punctuation-comma"}]},"type-path":{"patterns":[{"include":"#global"},{"include":"#punctuation-accessor"},{"include":"#type-path-type-name"}]},"type-path-package-name":{"match":"\\\\b([A-Z_a-z]\\\\w*)\\\\b","name":"support.package.hx"},"type-path-type-name":{"match":"\\\\b(_*[A-Z]\\\\w*)\\\\b","name":"entity.name.type.hx"},"typedef":{"begin":"(?=typedef)","end":"(?<=})|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"name":"meta.typedef.hx","patterns":[{"include":"#typedef-name"},{"include":"#typedef-name-post"},{"include":"#typedef-block"}]},"typedef-block":{"begin":"(?<=\\\\{)","end":"(})","endCaptures":{"1":{"name":"punctuation.definition.block.end.hx"}},"name":"meta.block.hx","patterns":[{"include":"#global"},{"include":"#metadata"},{"include":"#method"},{"include":"#variable"},{"include":"#modifiers"},{"include":"#punctuation-comma"},{"include":"#operator-optional"},{"include":"#typedef-extension"},{"include":"#typedef-simple-field-type-hint"},{"include":"#identifier-name"},{"include":"#strings"}]},"typedef-extension":{"begin":">","end":",|$","patterns":[{"include":"#type"}]},"typedef-name":{"begin":"\\\\b(typedef)\\\\b","beginCaptures":{"1":{"name":"storage.type.class.hx"}},"end":"([A-Z_a-z]\\\\w*)","endCaptures":{"1":{"name":"entity.name.type.class.hx"}},"patterns":[{"include":"#global"}]},"typedef-name-post":{"begin":"(?<=\\\\w)","end":"(\\\\{)|(?=;)","endCaptures":{"1":{"name":"punctuation.definition.block.begin.hx"}},"patterns":[{"include":"#global"},{"include":"#punctuation-brackets"},{"include":"#punctuation-separator"},{"include":"#operator-assignment"},{"include":"#type"}]},"typedef-simple-field-type-hint":{"begin":":","beginCaptures":{"0":{"name":"keyword.operator.type.annotation.hx"}},"end":"(?=[,;}])","patterns":[{"include":"#type"}]},"using":{"begin":"using\\\\b","beginCaptures":{"0":{"name":"keyword.other.using.hx"}},"end":"$|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"patterns":[{"include":"#type-path"},{"include":"#type-path-package-name"}]},"variable":{"begin":"(?=\\\\b(var|final)\\\\b)","end":"(?=$)|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"patterns":[{"include":"#variable-name"},{"include":"#variable-name-next"},{"include":"#variable-assign"},{"include":"#variable-name-post"}]},"variable-accessors":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.hx"}},"name":"meta.parameters.hx","patterns":[{"include":"#global"},{"include":"#keywords-accessor"},{"include":"#accessor-method"},{"include":"#punctuation-comma"}]},"variable-assign":{"begin":"=","beginCaptures":{"0":{"name":"keyword.operator.assignment.hx"}},"end":"(?=[,;])","patterns":[{"include":"#block"},{"include":"#block-contents"}]},"variable-name":{"begin":"\\\\b(var|final)\\\\b","beginCaptures":{"1":{"name":"storage.type.variable.hx"}},"end":"(?=$)|([A-Z_a-z]\\\\w*)","endCaptures":{"1":{"name":"variable.other.hx"}},"patterns":[{"include":"#operator-optional"}]},"variable-name-next":{"begin":",","beginCaptures":{"0":{"name":"punctuation.separator.comma.hx"}},"end":"([A-Z_a-z]\\\\w*)","endCaptures":{"1":{"name":"variable.other.hx"}},"patterns":[{"include":"#global"}]},"variable-name-post":{"begin":"(?<=\\\\w)","end":"(?=;)|(?==)","patterns":[{"include":"#variable-accessors"},{"include":"#variable-type-hint"},{"include":"#block-contents"}]},"variable-type-hint":{"begin":":","beginCaptures":{"0":{"name":"keyword.operator.type.annotation.hx"}},"end":"(?=$|[,;=])","patterns":[{"include":"#type"}]}},"scopeName":"source.hx"}')),n=[e];
3
+ export{n as j};