@flotte/cli 0.0.0-stage → 0.2.5

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 (1127) hide show
  1. package/flotte.mjs +380 -0
  2. package/node-run.mjs +11 -0
  3. package/package.json +20 -4
  4. package/pnpm/LICENSE +22 -0
  5. package/pnpm/README.md +239 -0
  6. package/pnpm/bin/pnpm.cjs +28 -0
  7. package/pnpm/bin/pnpx.cjs +5 -0
  8. package/pnpm/dist/node-gyp-bin/node-gyp +6 -0
  9. package/pnpm/dist/node-gyp-bin/node-gyp.cmd +5 -0
  10. package/pnpm/dist/node_modules/.bin/glob +88 -0
  11. package/pnpm/dist/node_modules/.bin/node-gyp +88 -0
  12. package/pnpm/dist/node_modules/.bin/node-which +88 -0
  13. package/pnpm/dist/node_modules/.bin/nopt +88 -0
  14. package/pnpm/dist/node_modules/.bin/semver +88 -0
  15. package/pnpm/dist/node_modules/.modules.yaml +299 -0
  16. package/pnpm/dist/node_modules/.pnpm/lock.yaml +823 -0
  17. package/pnpm/dist/node_modules/.pnpm-workspace-state-v1.json +35 -0
  18. package/pnpm/dist/node_modules/@isaacs/cliui/LICENSE.txt +14 -0
  19. package/pnpm/dist/node_modules/@isaacs/cliui/build/index.cjs +317 -0
  20. package/pnpm/dist/node_modules/@isaacs/cliui/build/index.d.cts +43 -0
  21. package/pnpm/dist/node_modules/@isaacs/cliui/build/lib/index.js +302 -0
  22. package/pnpm/dist/node_modules/@isaacs/cliui/index.mjs +14 -0
  23. package/pnpm/dist/node_modules/@isaacs/cliui/package.json +86 -0
  24. package/pnpm/dist/node_modules/@isaacs/fs-minipass/LICENSE +15 -0
  25. package/pnpm/dist/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts.map +1 -0
  26. package/pnpm/dist/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +430 -0
  27. package/pnpm/dist/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js.map +1 -0
  28. package/pnpm/dist/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +3 -0
  29. package/pnpm/dist/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts.map +1 -0
  30. package/pnpm/dist/node_modules/@isaacs/fs-minipass/dist/esm/index.js +420 -0
  31. package/pnpm/dist/node_modules/@isaacs/fs-minipass/dist/esm/index.js.map +1 -0
  32. package/pnpm/dist/node_modules/@isaacs/fs-minipass/dist/esm/package.json +3 -0
  33. package/pnpm/dist/node_modules/@isaacs/fs-minipass/package.json +72 -0
  34. package/pnpm/dist/node_modules/@npmcli/agent/lib/agents.js +206 -0
  35. package/pnpm/dist/node_modules/@npmcli/agent/lib/dns.js +53 -0
  36. package/pnpm/dist/node_modules/@npmcli/agent/lib/errors.js +61 -0
  37. package/pnpm/dist/node_modules/@npmcli/agent/lib/index.js +56 -0
  38. package/pnpm/dist/node_modules/@npmcli/agent/lib/options.js +86 -0
  39. package/pnpm/dist/node_modules/@npmcli/agent/lib/proxy.js +88 -0
  40. package/pnpm/dist/node_modules/@npmcli/agent/package.json +60 -0
  41. package/pnpm/dist/node_modules/@npmcli/fs/lib/common/get-options.js +20 -0
  42. package/pnpm/dist/node_modules/@npmcli/fs/lib/common/node.js +9 -0
  43. package/pnpm/dist/node_modules/@npmcli/fs/lib/cp/LICENSE +15 -0
  44. package/pnpm/dist/node_modules/@npmcli/fs/lib/cp/errors.js +129 -0
  45. package/pnpm/dist/node_modules/@npmcli/fs/lib/cp/index.js +22 -0
  46. package/pnpm/dist/node_modules/@npmcli/fs/lib/cp/polyfill.js +428 -0
  47. package/pnpm/dist/node_modules/@npmcli/fs/lib/index.js +13 -0
  48. package/pnpm/dist/node_modules/@npmcli/fs/lib/move-file.js +78 -0
  49. package/pnpm/dist/node_modules/@npmcli/fs/lib/readdir-scoped.js +20 -0
  50. package/pnpm/dist/node_modules/@npmcli/fs/lib/with-temp-dir.js +39 -0
  51. package/pnpm/dist/node_modules/@npmcli/fs/package.json +54 -0
  52. package/pnpm/dist/node_modules/@pkgjs/parseargs/LICENSE +201 -0
  53. package/pnpm/dist/node_modules/@pkgjs/parseargs/index.js +396 -0
  54. package/pnpm/dist/node_modules/@pkgjs/parseargs/internal/errors.js +47 -0
  55. package/pnpm/dist/node_modules/@pkgjs/parseargs/internal/primordials.js +393 -0
  56. package/pnpm/dist/node_modules/@pkgjs/parseargs/internal/util.js +14 -0
  57. package/pnpm/dist/node_modules/@pkgjs/parseargs/internal/validators.js +89 -0
  58. package/pnpm/dist/node_modules/@pkgjs/parseargs/package.json +36 -0
  59. package/pnpm/dist/node_modules/@pkgjs/parseargs/utils.js +198 -0
  60. package/pnpm/dist/node_modules/abbrev/LICENSE +46 -0
  61. package/pnpm/dist/node_modules/abbrev/lib/index.js +53 -0
  62. package/pnpm/dist/node_modules/abbrev/package.json +45 -0
  63. package/pnpm/dist/node_modules/agent-base/LICENSE +22 -0
  64. package/pnpm/dist/node_modules/agent-base/dist/helpers.d.ts.map +1 -0
  65. package/pnpm/dist/node_modules/agent-base/dist/helpers.js +66 -0
  66. package/pnpm/dist/node_modules/agent-base/dist/helpers.js.map +1 -0
  67. package/pnpm/dist/node_modules/agent-base/dist/index.d.ts.map +1 -0
  68. package/pnpm/dist/node_modules/agent-base/dist/index.js +178 -0
  69. package/pnpm/dist/node_modules/agent-base/dist/index.js.map +1 -0
  70. package/pnpm/dist/node_modules/agent-base/package.json +46 -0
  71. package/pnpm/dist/node_modules/ansi-regex/index.js +15 -0
  72. package/pnpm/dist/node_modules/ansi-regex/license +9 -0
  73. package/pnpm/dist/node_modules/ansi-regex/package.json +61 -0
  74. package/pnpm/dist/node_modules/ansi-styles/index.js +223 -0
  75. package/pnpm/dist/node_modules/ansi-styles/license +9 -0
  76. package/pnpm/dist/node_modules/ansi-styles/package.json +54 -0
  77. package/pnpm/dist/node_modules/balanced-match/.github/FUNDING.yml +2 -0
  78. package/pnpm/dist/node_modules/balanced-match/index.js +62 -0
  79. package/pnpm/dist/node_modules/balanced-match/package.json +48 -0
  80. package/pnpm/dist/node_modules/brace-expansion/.github/FUNDING.yml +2 -0
  81. package/pnpm/dist/node_modules/brace-expansion/LICENSE +21 -0
  82. package/pnpm/dist/node_modules/brace-expansion/index.js +394 -0
  83. package/pnpm/dist/node_modules/brace-expansion/package.json +49 -0
  84. package/pnpm/dist/node_modules/cacache/lib/content/path.js +29 -0
  85. package/pnpm/dist/node_modules/cacache/lib/content/read.js +165 -0
  86. package/pnpm/dist/node_modules/cacache/lib/content/rm.js +18 -0
  87. package/pnpm/dist/node_modules/cacache/lib/content/write.js +206 -0
  88. package/pnpm/dist/node_modules/cacache/lib/entry-index.js +336 -0
  89. package/pnpm/dist/node_modules/cacache/lib/get.js +170 -0
  90. package/pnpm/dist/node_modules/cacache/lib/index.js +42 -0
  91. package/pnpm/dist/node_modules/cacache/lib/memoization.js +72 -0
  92. package/pnpm/dist/node_modules/cacache/lib/put.js +80 -0
  93. package/pnpm/dist/node_modules/cacache/lib/rm.js +31 -0
  94. package/pnpm/dist/node_modules/cacache/lib/util/glob.js +7 -0
  95. package/pnpm/dist/node_modules/cacache/lib/util/hash-to-segments.js +7 -0
  96. package/pnpm/dist/node_modules/cacache/lib/util/tmp.js +26 -0
  97. package/pnpm/dist/node_modules/cacache/lib/verify.js +258 -0
  98. package/pnpm/dist/node_modules/cacache/package.json +83 -0
  99. package/pnpm/dist/node_modules/chownr/dist/commonjs/index.d.ts.map +1 -0
  100. package/pnpm/dist/node_modules/chownr/dist/commonjs/index.js +93 -0
  101. package/pnpm/dist/node_modules/chownr/dist/commonjs/index.js.map +1 -0
  102. package/pnpm/dist/node_modules/chownr/dist/commonjs/package.json +3 -0
  103. package/pnpm/dist/node_modules/chownr/dist/esm/index.d.ts.map +1 -0
  104. package/pnpm/dist/node_modules/chownr/dist/esm/index.js +85 -0
  105. package/pnpm/dist/node_modules/chownr/dist/esm/index.js.map +1 -0
  106. package/pnpm/dist/node_modules/chownr/dist/esm/package.json +3 -0
  107. package/pnpm/dist/node_modules/chownr/package.json +69 -0
  108. package/pnpm/dist/node_modules/color-convert/LICENSE +21 -0
  109. package/pnpm/dist/node_modules/color-convert/conversions.js +839 -0
  110. package/pnpm/dist/node_modules/color-convert/index.js +81 -0
  111. package/pnpm/dist/node_modules/color-convert/package.json +48 -0
  112. package/pnpm/dist/node_modules/color-convert/route.js +97 -0
  113. package/pnpm/dist/node_modules/color-name/LICENSE +8 -0
  114. package/pnpm/dist/node_modules/color-name/index.js +152 -0
  115. package/pnpm/dist/node_modules/color-name/package.json +28 -0
  116. package/pnpm/dist/node_modules/content-type/LICENSE +22 -0
  117. package/pnpm/dist/node_modules/content-type/dist/index.js +176 -0
  118. package/pnpm/dist/node_modules/content-type/dist/index.js.map +1 -0
  119. package/pnpm/dist/node_modules/content-type/package.json +52 -0
  120. package/pnpm/dist/node_modules/cross-spawn/LICENSE +21 -0
  121. package/pnpm/dist/node_modules/cross-spawn/index.js +39 -0
  122. package/pnpm/dist/node_modules/cross-spawn/lib/enoent.js +59 -0
  123. package/pnpm/dist/node_modules/cross-spawn/lib/parse.js +91 -0
  124. package/pnpm/dist/node_modules/cross-spawn/lib/util/escape.js +47 -0
  125. package/pnpm/dist/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
  126. package/pnpm/dist/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
  127. package/pnpm/dist/node_modules/cross-spawn/package.json +73 -0
  128. package/pnpm/dist/node_modules/debug/LICENSE +20 -0
  129. package/pnpm/dist/node_modules/debug/package.json +64 -0
  130. package/pnpm/dist/node_modules/debug/src/browser.js +272 -0
  131. package/pnpm/dist/node_modules/debug/src/common.js +292 -0
  132. package/pnpm/dist/node_modules/debug/src/index.js +10 -0
  133. package/pnpm/dist/node_modules/debug/src/node.js +263 -0
  134. package/pnpm/dist/node_modules/eastasianwidth/eastasianwidth.js +311 -0
  135. package/pnpm/dist/node_modules/eastasianwidth/package.json +18 -0
  136. package/pnpm/dist/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
  137. package/pnpm/dist/node_modules/emoji-regex/RGI_Emoji.js +6 -0
  138. package/pnpm/dist/node_modules/emoji-regex/es2015/RGI_Emoji.js +6 -0
  139. package/pnpm/dist/node_modules/emoji-regex/es2015/index.js +6 -0
  140. package/pnpm/dist/node_modules/emoji-regex/es2015/text.js +6 -0
  141. package/pnpm/dist/node_modules/emoji-regex/index.js +6 -0
  142. package/pnpm/dist/node_modules/emoji-regex/package.json +52 -0
  143. package/pnpm/dist/node_modules/emoji-regex/text.js +6 -0
  144. package/pnpm/dist/node_modules/encoding/.prettierrc.js +8 -0
  145. package/pnpm/dist/node_modules/encoding/LICENSE +16 -0
  146. package/pnpm/dist/node_modules/encoding/lib/encoding.js +83 -0
  147. package/pnpm/dist/node_modules/encoding/package.json +18 -0
  148. package/pnpm/dist/node_modules/env-paths/index.js +74 -0
  149. package/pnpm/dist/node_modules/env-paths/license +9 -0
  150. package/pnpm/dist/node_modules/env-paths/package.json +45 -0
  151. package/pnpm/dist/node_modules/err-code/.eslintrc.json +7 -0
  152. package/pnpm/dist/node_modules/err-code/bower.json +30 -0
  153. package/pnpm/dist/node_modules/err-code/index.js +47 -0
  154. package/pnpm/dist/node_modules/err-code/index.umd.js +51 -0
  155. package/pnpm/dist/node_modules/err-code/package.json +34 -0
  156. package/pnpm/dist/node_modules/exponential-backoff/LICENSE +202 -0
  157. package/pnpm/dist/node_modules/exponential-backoff/dist/backoff.js +124 -0
  158. package/pnpm/dist/node_modules/exponential-backoff/dist/backoff.js.map +1 -0
  159. package/pnpm/dist/node_modules/exponential-backoff/dist/delay/always/always.delay.js +25 -0
  160. package/pnpm/dist/node_modules/exponential-backoff/dist/delay/always/always.delay.js.map +1 -0
  161. package/pnpm/dist/node_modules/exponential-backoff/dist/delay/delay.base.js +45 -0
  162. package/pnpm/dist/node_modules/exponential-backoff/dist/delay/delay.base.js.map +1 -0
  163. package/pnpm/dist/node_modules/exponential-backoff/dist/delay/delay.factory.js +17 -0
  164. package/pnpm/dist/node_modules/exponential-backoff/dist/delay/delay.factory.js.map +1 -0
  165. package/pnpm/dist/node_modules/exponential-backoff/dist/delay/delay.interface.js +3 -0
  166. package/pnpm/dist/node_modules/exponential-backoff/dist/delay/delay.interface.js.map +1 -0
  167. package/pnpm/dist/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.js +82 -0
  168. package/pnpm/dist/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.js.map +1 -0
  169. package/pnpm/dist/node_modules/exponential-backoff/dist/jitter/full/full.jitter.js +8 -0
  170. package/pnpm/dist/node_modules/exponential-backoff/dist/jitter/full/full.jitter.js.map +1 -0
  171. package/pnpm/dist/node_modules/exponential-backoff/dist/jitter/jitter.factory.js +15 -0
  172. package/pnpm/dist/node_modules/exponential-backoff/dist/jitter/jitter.factory.js.map +1 -0
  173. package/pnpm/dist/node_modules/exponential-backoff/dist/jitter/no/no.jitter.js +7 -0
  174. package/pnpm/dist/node_modules/exponential-backoff/dist/jitter/no/no.jitter.js.map +1 -0
  175. package/pnpm/dist/node_modules/exponential-backoff/dist/options.js +31 -0
  176. package/pnpm/dist/node_modules/exponential-backoff/dist/options.js.map +1 -0
  177. package/pnpm/dist/node_modules/exponential-backoff/package.json +62 -0
  178. package/pnpm/dist/node_modules/fdir/LICENSE +7 -0
  179. package/pnpm/dist/node_modules/fdir/dist/index.cjs +588 -0
  180. package/pnpm/dist/node_modules/fdir/dist/index.d.cts +155 -0
  181. package/pnpm/dist/node_modules/fdir/dist/index.d.mts +155 -0
  182. package/pnpm/dist/node_modules/fdir/dist/index.mjs +570 -0
  183. package/pnpm/dist/node_modules/fdir/package.json +103 -0
  184. package/pnpm/dist/node_modules/foreground-child/LICENSE +15 -0
  185. package/pnpm/dist/node_modules/foreground-child/dist/commonjs/all-signals.d.ts.map +1 -0
  186. package/pnpm/dist/node_modules/foreground-child/dist/commonjs/all-signals.js +58 -0
  187. package/pnpm/dist/node_modules/foreground-child/dist/commonjs/all-signals.js.map +1 -0
  188. package/pnpm/dist/node_modules/foreground-child/dist/commonjs/index.d.ts.map +1 -0
  189. package/pnpm/dist/node_modules/foreground-child/dist/commonjs/index.js +123 -0
  190. package/pnpm/dist/node_modules/foreground-child/dist/commonjs/index.js.map +1 -0
  191. package/pnpm/dist/node_modules/foreground-child/dist/commonjs/package.json +3 -0
  192. package/pnpm/dist/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts.map +1 -0
  193. package/pnpm/dist/node_modules/foreground-child/dist/commonjs/proxy-signals.js +38 -0
  194. package/pnpm/dist/node_modules/foreground-child/dist/commonjs/proxy-signals.js.map +1 -0
  195. package/pnpm/dist/node_modules/foreground-child/dist/commonjs/watchdog.d.ts.map +1 -0
  196. package/pnpm/dist/node_modules/foreground-child/dist/commonjs/watchdog.js +50 -0
  197. package/pnpm/dist/node_modules/foreground-child/dist/commonjs/watchdog.js.map +1 -0
  198. package/pnpm/dist/node_modules/foreground-child/dist/esm/all-signals.d.ts.map +1 -0
  199. package/pnpm/dist/node_modules/foreground-child/dist/esm/all-signals.js +52 -0
  200. package/pnpm/dist/node_modules/foreground-child/dist/esm/all-signals.js.map +1 -0
  201. package/pnpm/dist/node_modules/foreground-child/dist/esm/index.d.ts.map +1 -0
  202. package/pnpm/dist/node_modules/foreground-child/dist/esm/index.js +115 -0
  203. package/pnpm/dist/node_modules/foreground-child/dist/esm/index.js.map +1 -0
  204. package/pnpm/dist/node_modules/foreground-child/dist/esm/package.json +3 -0
  205. package/pnpm/dist/node_modules/foreground-child/dist/esm/proxy-signals.d.ts.map +1 -0
  206. package/pnpm/dist/node_modules/foreground-child/dist/esm/proxy-signals.js +34 -0
  207. package/pnpm/dist/node_modules/foreground-child/dist/esm/proxy-signals.js.map +1 -0
  208. package/pnpm/dist/node_modules/foreground-child/dist/esm/watchdog.d.ts.map +1 -0
  209. package/pnpm/dist/node_modules/foreground-child/dist/esm/watchdog.js +46 -0
  210. package/pnpm/dist/node_modules/foreground-child/dist/esm/watchdog.js.map +1 -0
  211. package/pnpm/dist/node_modules/foreground-child/package.json +106 -0
  212. package/pnpm/dist/node_modules/fs-minipass/LICENSE +15 -0
  213. package/pnpm/dist/node_modules/fs-minipass/lib/index.js +443 -0
  214. package/pnpm/dist/node_modules/fs-minipass/package.json +54 -0
  215. package/pnpm/dist/node_modules/glob/LICENSE +15 -0
  216. package/pnpm/dist/node_modules/glob/dist/commonjs/glob.d.ts.map +1 -0
  217. package/pnpm/dist/node_modules/glob/dist/commonjs/glob.js +247 -0
  218. package/pnpm/dist/node_modules/glob/dist/commonjs/glob.js.map +1 -0
  219. package/pnpm/dist/node_modules/glob/dist/commonjs/has-magic.d.ts.map +1 -0
  220. package/pnpm/dist/node_modules/glob/dist/commonjs/has-magic.js +27 -0
  221. package/pnpm/dist/node_modules/glob/dist/commonjs/has-magic.js.map +1 -0
  222. package/pnpm/dist/node_modules/glob/dist/commonjs/ignore.d.ts.map +1 -0
  223. package/pnpm/dist/node_modules/glob/dist/commonjs/ignore.js +119 -0
  224. package/pnpm/dist/node_modules/glob/dist/commonjs/ignore.js.map +1 -0
  225. package/pnpm/dist/node_modules/glob/dist/commonjs/index.d.ts.map +1 -0
  226. package/pnpm/dist/node_modules/glob/dist/commonjs/index.js +68 -0
  227. package/pnpm/dist/node_modules/glob/dist/commonjs/index.js.map +1 -0
  228. package/pnpm/dist/node_modules/glob/dist/commonjs/package.json +3 -0
  229. package/pnpm/dist/node_modules/glob/dist/commonjs/pattern.d.ts.map +1 -0
  230. package/pnpm/dist/node_modules/glob/dist/commonjs/pattern.js +219 -0
  231. package/pnpm/dist/node_modules/glob/dist/commonjs/pattern.js.map +1 -0
  232. package/pnpm/dist/node_modules/glob/dist/commonjs/processor.d.ts.map +1 -0
  233. package/pnpm/dist/node_modules/glob/dist/commonjs/processor.js +301 -0
  234. package/pnpm/dist/node_modules/glob/dist/commonjs/processor.js.map +1 -0
  235. package/pnpm/dist/node_modules/glob/dist/commonjs/walker.d.ts.map +1 -0
  236. package/pnpm/dist/node_modules/glob/dist/commonjs/walker.js +387 -0
  237. package/pnpm/dist/node_modules/glob/dist/commonjs/walker.js.map +1 -0
  238. package/pnpm/dist/node_modules/glob/dist/esm/bin.d.mts +3 -0
  239. package/pnpm/dist/node_modules/glob/dist/esm/bin.d.mts.map +1 -0
  240. package/pnpm/dist/node_modules/glob/dist/esm/bin.mjs +346 -0
  241. package/pnpm/dist/node_modules/glob/dist/esm/bin.mjs.map +1 -0
  242. package/pnpm/dist/node_modules/glob/dist/esm/glob.d.ts.map +1 -0
  243. package/pnpm/dist/node_modules/glob/dist/esm/glob.js +243 -0
  244. package/pnpm/dist/node_modules/glob/dist/esm/glob.js.map +1 -0
  245. package/pnpm/dist/node_modules/glob/dist/esm/has-magic.d.ts.map +1 -0
  246. package/pnpm/dist/node_modules/glob/dist/esm/has-magic.js +23 -0
  247. package/pnpm/dist/node_modules/glob/dist/esm/has-magic.js.map +1 -0
  248. package/pnpm/dist/node_modules/glob/dist/esm/ignore.d.ts.map +1 -0
  249. package/pnpm/dist/node_modules/glob/dist/esm/ignore.js +115 -0
  250. package/pnpm/dist/node_modules/glob/dist/esm/ignore.js.map +1 -0
  251. package/pnpm/dist/node_modules/glob/dist/esm/index.d.ts.map +1 -0
  252. package/pnpm/dist/node_modules/glob/dist/esm/index.js +55 -0
  253. package/pnpm/dist/node_modules/glob/dist/esm/index.js.map +1 -0
  254. package/pnpm/dist/node_modules/glob/dist/esm/package.json +3 -0
  255. package/pnpm/dist/node_modules/glob/dist/esm/pattern.d.ts.map +1 -0
  256. package/pnpm/dist/node_modules/glob/dist/esm/pattern.js +215 -0
  257. package/pnpm/dist/node_modules/glob/dist/esm/pattern.js.map +1 -0
  258. package/pnpm/dist/node_modules/glob/dist/esm/processor.d.ts.map +1 -0
  259. package/pnpm/dist/node_modules/glob/dist/esm/processor.js +294 -0
  260. package/pnpm/dist/node_modules/glob/dist/esm/processor.js.map +1 -0
  261. package/pnpm/dist/node_modules/glob/dist/esm/walker.d.ts.map +1 -0
  262. package/pnpm/dist/node_modules/glob/dist/esm/walker.js +381 -0
  263. package/pnpm/dist/node_modules/glob/dist/esm/walker.js.map +1 -0
  264. package/pnpm/dist/node_modules/glob/package.json +99 -0
  265. package/pnpm/dist/node_modules/graceful-fs/LICENSE +15 -0
  266. package/pnpm/dist/node_modules/graceful-fs/clone.js +23 -0
  267. package/pnpm/dist/node_modules/graceful-fs/graceful-fs.js +448 -0
  268. package/pnpm/dist/node_modules/graceful-fs/legacy-streams.js +118 -0
  269. package/pnpm/dist/node_modules/graceful-fs/package.json +53 -0
  270. package/pnpm/dist/node_modules/graceful-fs/polyfills.js +355 -0
  271. package/pnpm/dist/node_modules/http-cache-semantics/LICENSE +9 -0
  272. package/pnpm/dist/node_modules/http-cache-semantics/index.js +928 -0
  273. package/pnpm/dist/node_modules/http-cache-semantics/package.json +22 -0
  274. package/pnpm/dist/node_modules/http-proxy-agent/LICENSE +22 -0
  275. package/pnpm/dist/node_modules/http-proxy-agent/dist/index.d.ts.map +1 -0
  276. package/pnpm/dist/node_modules/http-proxy-agent/dist/index.js +148 -0
  277. package/pnpm/dist/node_modules/http-proxy-agent/dist/index.js.map +1 -0
  278. package/pnpm/dist/node_modules/http-proxy-agent/package.json +47 -0
  279. package/pnpm/dist/node_modules/https-proxy-agent/LICENSE +22 -0
  280. package/pnpm/dist/node_modules/https-proxy-agent/dist/index.d.ts.map +1 -0
  281. package/pnpm/dist/node_modules/https-proxy-agent/dist/index.js +180 -0
  282. package/pnpm/dist/node_modules/https-proxy-agent/dist/index.js.map +1 -0
  283. package/pnpm/dist/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts.map +1 -0
  284. package/pnpm/dist/node_modules/https-proxy-agent/dist/parse-proxy-response.js +101 -0
  285. package/pnpm/dist/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
  286. package/pnpm/dist/node_modules/https-proxy-agent/package.json +50 -0
  287. package/pnpm/dist/node_modules/iconv-lite/.github/dependabot.yml +11 -0
  288. package/pnpm/dist/node_modules/iconv-lite/.idea/codeStyles/Project.xml +47 -0
  289. package/pnpm/dist/node_modules/iconv-lite/.idea/codeStyles/codeStyleConfig.xml +5 -0
  290. package/pnpm/dist/node_modules/iconv-lite/.idea/iconv-lite.iml +12 -0
  291. package/pnpm/dist/node_modules/iconv-lite/.idea/inspectionProfiles/Project_Default.xml +6 -0
  292. package/pnpm/dist/node_modules/iconv-lite/.idea/modules.xml +8 -0
  293. package/pnpm/dist/node_modules/iconv-lite/.idea/vcs.xml +6 -0
  294. package/pnpm/dist/node_modules/iconv-lite/LICENSE +21 -0
  295. package/pnpm/dist/node_modules/iconv-lite/encodings/dbcs-codec.js +597 -0
  296. package/pnpm/dist/node_modules/iconv-lite/encodings/dbcs-data.js +188 -0
  297. package/pnpm/dist/node_modules/iconv-lite/encodings/index.js +23 -0
  298. package/pnpm/dist/node_modules/iconv-lite/encodings/internal.js +198 -0
  299. package/pnpm/dist/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -0
  300. package/pnpm/dist/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  301. package/pnpm/dist/node_modules/iconv-lite/encodings/sbcs-data.js +179 -0
  302. package/pnpm/dist/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  303. package/pnpm/dist/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  304. package/pnpm/dist/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  305. package/pnpm/dist/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  306. package/pnpm/dist/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  307. package/pnpm/dist/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  308. package/pnpm/dist/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
  309. package/pnpm/dist/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  310. package/pnpm/dist/node_modules/iconv-lite/encodings/utf16.js +197 -0
  311. package/pnpm/dist/node_modules/iconv-lite/encodings/utf32.js +319 -0
  312. package/pnpm/dist/node_modules/iconv-lite/encodings/utf7.js +290 -0
  313. package/pnpm/dist/node_modules/iconv-lite/lib/bom-handling.js +52 -0
  314. package/pnpm/dist/node_modules/iconv-lite/lib/index.js +180 -0
  315. package/pnpm/dist/node_modules/iconv-lite/lib/streams.js +109 -0
  316. package/pnpm/dist/node_modules/iconv-lite/package.json +44 -0
  317. package/pnpm/dist/node_modules/imurmurhash/imurmurhash.js +138 -0
  318. package/pnpm/dist/node_modules/imurmurhash/imurmurhash.min.js +12 -0
  319. package/pnpm/dist/node_modules/imurmurhash/package.json +40 -0
  320. package/pnpm/dist/node_modules/ip-address/LICENSE +19 -0
  321. package/pnpm/dist/node_modules/ip-address/dist/address-error.js +12 -0
  322. package/pnpm/dist/node_modules/ip-address/dist/address-error.js.map +1 -0
  323. package/pnpm/dist/node_modules/ip-address/dist/common.js +154 -0
  324. package/pnpm/dist/node_modules/ip-address/dist/common.js.map +1 -0
  325. package/pnpm/dist/node_modules/ip-address/dist/ip-address.js +35 -0
  326. package/pnpm/dist/node_modules/ip-address/dist/ip-address.js.map +1 -0
  327. package/pnpm/dist/node_modules/ip-address/dist/ipv4.js +595 -0
  328. package/pnpm/dist/node_modules/ip-address/dist/ipv4.js.map +1 -0
  329. package/pnpm/dist/node_modules/ip-address/dist/ipv6.js +1458 -0
  330. package/pnpm/dist/node_modules/ip-address/dist/ipv6.js.map +1 -0
  331. package/pnpm/dist/node_modules/ip-address/dist/v4/constants.js +51 -0
  332. package/pnpm/dist/node_modules/ip-address/dist/v4/constants.js.map +1 -0
  333. package/pnpm/dist/node_modules/ip-address/dist/v6/constants.js +128 -0
  334. package/pnpm/dist/node_modules/ip-address/dist/v6/constants.js.map +1 -0
  335. package/pnpm/dist/node_modules/ip-address/dist/v6/helpers.js +54 -0
  336. package/pnpm/dist/node_modules/ip-address/dist/v6/helpers.js.map +1 -0
  337. package/pnpm/dist/node_modules/ip-address/dist/v6/regular-expressions.js +95 -0
  338. package/pnpm/dist/node_modules/ip-address/dist/v6/regular-expressions.js.map +1 -0
  339. package/pnpm/dist/node_modules/ip-address/package.json +90 -0
  340. package/pnpm/dist/node_modules/is-fullwidth-code-point/index.js +50 -0
  341. package/pnpm/dist/node_modules/is-fullwidth-code-point/license +9 -0
  342. package/pnpm/dist/node_modules/is-fullwidth-code-point/package.json +42 -0
  343. package/pnpm/dist/node_modules/isexe/LICENSE +15 -0
  344. package/pnpm/dist/node_modules/isexe/index.js +57 -0
  345. package/pnpm/dist/node_modules/isexe/mode.js +41 -0
  346. package/pnpm/dist/node_modules/isexe/package.json +31 -0
  347. package/pnpm/dist/node_modules/isexe/windows.js +42 -0
  348. package/pnpm/dist/node_modules/jackspeak/dist/commonjs/index.d.ts.map +1 -0
  349. package/pnpm/dist/node_modules/jackspeak/dist/commonjs/index.js +1010 -0
  350. package/pnpm/dist/node_modules/jackspeak/dist/commonjs/index.js.map +1 -0
  351. package/pnpm/dist/node_modules/jackspeak/dist/commonjs/package.json +3 -0
  352. package/pnpm/dist/node_modules/jackspeak/dist/commonjs/parse-args-cjs.cjs.map +1 -0
  353. package/pnpm/dist/node_modules/jackspeak/dist/commonjs/parse-args-cjs.d.cts.map +1 -0
  354. package/pnpm/dist/node_modules/jackspeak/dist/commonjs/parse-args.js +50 -0
  355. package/pnpm/dist/node_modules/jackspeak/dist/esm/index.d.ts.map +1 -0
  356. package/pnpm/dist/node_modules/jackspeak/dist/esm/index.js +1000 -0
  357. package/pnpm/dist/node_modules/jackspeak/dist/esm/index.js.map +1 -0
  358. package/pnpm/dist/node_modules/jackspeak/dist/esm/package.json +3 -0
  359. package/pnpm/dist/node_modules/jackspeak/dist/esm/parse-args.d.ts.map +1 -0
  360. package/pnpm/dist/node_modules/jackspeak/dist/esm/parse-args.js +26 -0
  361. package/pnpm/dist/node_modules/jackspeak/dist/esm/parse-args.js.map +1 -0
  362. package/pnpm/dist/node_modules/jackspeak/package.json +95 -0
  363. package/pnpm/dist/node_modules/lru-cache/LICENSE +15 -0
  364. package/pnpm/dist/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -0
  365. package/pnpm/dist/node_modules/lru-cache/dist/commonjs/index.js +1546 -0
  366. package/pnpm/dist/node_modules/lru-cache/dist/commonjs/index.js.map +1 -0
  367. package/pnpm/dist/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
  368. package/pnpm/dist/node_modules/lru-cache/dist/commonjs/index.min.js.map +7 -0
  369. package/pnpm/dist/node_modules/lru-cache/dist/commonjs/package.json +3 -0
  370. package/pnpm/dist/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -0
  371. package/pnpm/dist/node_modules/lru-cache/dist/esm/index.js +1542 -0
  372. package/pnpm/dist/node_modules/lru-cache/dist/esm/index.js.map +1 -0
  373. package/pnpm/dist/node_modules/lru-cache/dist/esm/index.min.js +2 -0
  374. package/pnpm/dist/node_modules/lru-cache/dist/esm/index.min.js.map +7 -0
  375. package/pnpm/dist/node_modules/lru-cache/dist/esm/package.json +3 -0
  376. package/pnpm/dist/node_modules/lru-cache/package.json +116 -0
  377. package/pnpm/dist/node_modules/make-fetch-happen/LICENSE +16 -0
  378. package/pnpm/dist/node_modules/make-fetch-happen/lib/cache/entry.js +471 -0
  379. package/pnpm/dist/node_modules/make-fetch-happen/lib/cache/errors.js +11 -0
  380. package/pnpm/dist/node_modules/make-fetch-happen/lib/cache/index.js +49 -0
  381. package/pnpm/dist/node_modules/make-fetch-happen/lib/cache/key.js +17 -0
  382. package/pnpm/dist/node_modules/make-fetch-happen/lib/cache/policy.js +161 -0
  383. package/pnpm/dist/node_modules/make-fetch-happen/lib/fetch.js +118 -0
  384. package/pnpm/dist/node_modules/make-fetch-happen/lib/index.js +41 -0
  385. package/pnpm/dist/node_modules/make-fetch-happen/lib/options.js +59 -0
  386. package/pnpm/dist/node_modules/make-fetch-happen/lib/pipeline.js +41 -0
  387. package/pnpm/dist/node_modules/make-fetch-happen/lib/remote.js +132 -0
  388. package/pnpm/dist/node_modules/make-fetch-happen/package.json +74 -0
  389. package/pnpm/dist/node_modules/minimatch/LICENSE +15 -0
  390. package/pnpm/dist/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +1 -0
  391. package/pnpm/dist/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
  392. package/pnpm/dist/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
  393. package/pnpm/dist/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -0
  394. package/pnpm/dist/node_modules/minimatch/dist/commonjs/ast.js +747 -0
  395. package/pnpm/dist/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
  396. package/pnpm/dist/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -0
  397. package/pnpm/dist/node_modules/minimatch/dist/commonjs/brace-expressions.js +152 -0
  398. package/pnpm/dist/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
  399. package/pnpm/dist/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
  400. package/pnpm/dist/node_modules/minimatch/dist/commonjs/escape.js +22 -0
  401. package/pnpm/dist/node_modules/minimatch/dist/commonjs/escape.js.map +1 -0
  402. package/pnpm/dist/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
  403. package/pnpm/dist/node_modules/minimatch/dist/commonjs/index.js +1023 -0
  404. package/pnpm/dist/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
  405. package/pnpm/dist/node_modules/minimatch/dist/commonjs/package.json +3 -0
  406. package/pnpm/dist/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -0
  407. package/pnpm/dist/node_modules/minimatch/dist/commonjs/unescape.js +24 -0
  408. package/pnpm/dist/node_modules/minimatch/dist/commonjs/unescape.js.map +1 -0
  409. package/pnpm/dist/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +1 -0
  410. package/pnpm/dist/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
  411. package/pnpm/dist/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
  412. package/pnpm/dist/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -0
  413. package/pnpm/dist/node_modules/minimatch/dist/esm/ast.js +743 -0
  414. package/pnpm/dist/node_modules/minimatch/dist/esm/ast.js.map +1 -0
  415. package/pnpm/dist/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -0
  416. package/pnpm/dist/node_modules/minimatch/dist/esm/brace-expressions.js +148 -0
  417. package/pnpm/dist/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
  418. package/pnpm/dist/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
  419. package/pnpm/dist/node_modules/minimatch/dist/esm/escape.js +18 -0
  420. package/pnpm/dist/node_modules/minimatch/dist/esm/escape.js.map +1 -0
  421. package/pnpm/dist/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
  422. package/pnpm/dist/node_modules/minimatch/dist/esm/index.js +1007 -0
  423. package/pnpm/dist/node_modules/minimatch/dist/esm/index.js.map +1 -0
  424. package/pnpm/dist/node_modules/minimatch/dist/esm/package.json +3 -0
  425. package/pnpm/dist/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -0
  426. package/pnpm/dist/node_modules/minimatch/dist/esm/unescape.js +20 -0
  427. package/pnpm/dist/node_modules/minimatch/dist/esm/unescape.js.map +1 -0
  428. package/pnpm/dist/node_modules/minimatch/package.json +82 -0
  429. package/pnpm/dist/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
  430. package/pnpm/dist/node_modules/minipass/dist/commonjs/index.js +1038 -0
  431. package/pnpm/dist/node_modules/minipass/dist/commonjs/index.js.map +1 -0
  432. package/pnpm/dist/node_modules/minipass/dist/commonjs/package.json +3 -0
  433. package/pnpm/dist/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
  434. package/pnpm/dist/node_modules/minipass/dist/esm/index.js +1020 -0
  435. package/pnpm/dist/node_modules/minipass/dist/esm/index.js.map +1 -0
  436. package/pnpm/dist/node_modules/minipass/dist/esm/package.json +3 -0
  437. package/pnpm/dist/node_modules/minipass/package.json +77 -0
  438. package/pnpm/dist/node_modules/minipass-collect/LICENSE +15 -0
  439. package/pnpm/dist/node_modules/minipass-collect/index.js +71 -0
  440. package/pnpm/dist/node_modules/minipass-collect/package.json +30 -0
  441. package/pnpm/dist/node_modules/minipass-fetch/LICENSE +28 -0
  442. package/pnpm/dist/node_modules/minipass-fetch/lib/abort-error.js +17 -0
  443. package/pnpm/dist/node_modules/minipass-fetch/lib/blob.js +97 -0
  444. package/pnpm/dist/node_modules/minipass-fetch/lib/body.js +350 -0
  445. package/pnpm/dist/node_modules/minipass-fetch/lib/fetch-error.js +32 -0
  446. package/pnpm/dist/node_modules/minipass-fetch/lib/headers.js +267 -0
  447. package/pnpm/dist/node_modules/minipass-fetch/lib/index.js +376 -0
  448. package/pnpm/dist/node_modules/minipass-fetch/lib/request.js +282 -0
  449. package/pnpm/dist/node_modules/minipass-fetch/lib/response.js +90 -0
  450. package/pnpm/dist/node_modules/minipass-fetch/package.json +70 -0
  451. package/pnpm/dist/node_modules/minipass-flush/index.js +39 -0
  452. package/pnpm/dist/node_modules/minipass-flush/node_modules/minipass/LICENSE +15 -0
  453. package/pnpm/dist/node_modules/minipass-flush/node_modules/minipass/index.js +649 -0
  454. package/pnpm/dist/node_modules/minipass-flush/node_modules/minipass/package.json +56 -0
  455. package/pnpm/dist/node_modules/minipass-flush/package.json +42 -0
  456. package/pnpm/dist/node_modules/minipass-pipeline/LICENSE +15 -0
  457. package/pnpm/dist/node_modules/minipass-pipeline/index.js +128 -0
  458. package/pnpm/dist/node_modules/minipass-pipeline/node_modules/minipass/LICENSE +15 -0
  459. package/pnpm/dist/node_modules/minipass-pipeline/node_modules/minipass/index.js +649 -0
  460. package/pnpm/dist/node_modules/minipass-pipeline/node_modules/minipass/package.json +56 -0
  461. package/pnpm/dist/node_modules/minipass-pipeline/package.json +29 -0
  462. package/pnpm/dist/node_modules/minipass-sized/LICENSE +15 -0
  463. package/pnpm/dist/node_modules/minipass-sized/index.js +67 -0
  464. package/pnpm/dist/node_modules/minipass-sized/node_modules/minipass/LICENSE +15 -0
  465. package/pnpm/dist/node_modules/minipass-sized/node_modules/minipass/index.js +649 -0
  466. package/pnpm/dist/node_modules/minipass-sized/node_modules/minipass/package.json +56 -0
  467. package/pnpm/dist/node_modules/minipass-sized/package.json +39 -0
  468. package/pnpm/dist/node_modules/minizlib/LICENSE +26 -0
  469. package/pnpm/dist/node_modules/minizlib/dist/commonjs/constants.d.ts.map +1 -0
  470. package/pnpm/dist/node_modules/minizlib/dist/commonjs/constants.js +123 -0
  471. package/pnpm/dist/node_modules/minizlib/dist/commonjs/constants.js.map +1 -0
  472. package/pnpm/dist/node_modules/minizlib/dist/commonjs/index.d.ts.map +1 -0
  473. package/pnpm/dist/node_modules/minizlib/dist/commonjs/index.js +416 -0
  474. package/pnpm/dist/node_modules/minizlib/dist/commonjs/index.js.map +1 -0
  475. package/pnpm/dist/node_modules/minizlib/dist/commonjs/package.json +3 -0
  476. package/pnpm/dist/node_modules/minizlib/dist/esm/constants.d.ts.map +1 -0
  477. package/pnpm/dist/node_modules/minizlib/dist/esm/constants.js +117 -0
  478. package/pnpm/dist/node_modules/minizlib/dist/esm/constants.js.map +1 -0
  479. package/pnpm/dist/node_modules/minizlib/dist/esm/index.d.ts.map +1 -0
  480. package/pnpm/dist/node_modules/minizlib/dist/esm/index.js +363 -0
  481. package/pnpm/dist/node_modules/minizlib/dist/esm/index.js.map +1 -0
  482. package/pnpm/dist/node_modules/minizlib/dist/esm/package.json +3 -0
  483. package/pnpm/dist/node_modules/minizlib/package.json +80 -0
  484. package/pnpm/dist/node_modules/ms/index.js +162 -0
  485. package/pnpm/dist/node_modules/ms/package.json +38 -0
  486. package/pnpm/dist/node_modules/negotiator/LICENSE +24 -0
  487. package/pnpm/dist/node_modules/negotiator/index.js +83 -0
  488. package/pnpm/dist/node_modules/negotiator/lib/accept.js +54 -0
  489. package/pnpm/dist/node_modules/negotiator/lib/charset.js +145 -0
  490. package/pnpm/dist/node_modules/negotiator/lib/encoding.js +184 -0
  491. package/pnpm/dist/node_modules/negotiator/lib/language.js +158 -0
  492. package/pnpm/dist/node_modules/negotiator/lib/mediaType.js +176 -0
  493. package/pnpm/dist/node_modules/negotiator/package.json +49 -0
  494. package/pnpm/dist/node_modules/node-gyp/.release-please-manifest.json +3 -0
  495. package/pnpm/dist/node_modules/node-gyp/LICENSE +24 -0
  496. package/pnpm/dist/node_modules/node-gyp/addon.gypi +204 -0
  497. package/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js +138 -0
  498. package/pnpm/dist/node_modules/node-gyp/eslint.config.js +3 -0
  499. package/pnpm/dist/node_modules/node-gyp/gyp/.release-please-manifest.json +3 -0
  500. package/pnpm/dist/node_modules/node-gyp/gyp/LICENSE +28 -0
  501. package/pnpm/dist/node_modules/node-gyp/gyp/data/ninja/build.ninja +4 -0
  502. package/pnpm/dist/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +12 -0
  503. package/pnpm/dist/node_modules/node-gyp/gyp/gyp +8 -0
  504. package/pnpm/dist/node_modules/node-gyp/gyp/gyp.bat +5 -0
  505. package/pnpm/dist/node_modules/node-gyp/gyp/gyp_main.py +45 -0
  506. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +365 -0
  507. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +206 -0
  508. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +1283 -0
  509. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +1545 -0
  510. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +59 -0
  511. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +152 -0
  512. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +270 -0
  513. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +574 -0
  514. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +707 -0
  515. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/common.py +725 -0
  516. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +186 -0
  517. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +170 -0
  518. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +113 -0
  519. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +55 -0
  520. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
  521. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +805 -0
  522. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +1169 -0
  523. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +1316 -0
  524. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +128 -0
  525. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +104 -0
  526. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +461 -0
  527. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +88 -0
  528. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +55 -0
  529. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +2755 -0
  530. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +3970 -0
  531. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +44 -0
  532. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +2957 -0
  533. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +67 -0
  534. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +1389 -0
  535. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +26 -0
  536. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/input.py +3097 -0
  537. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +99 -0
  538. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +765 -0
  539. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +1255 -0
  540. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +174 -0
  541. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +61 -0
  542. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +371 -0
  543. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +1936 -0
  544. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +54 -0
  545. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +301 -0
  546. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +3180 -0
  547. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +64 -0
  548. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/LICENSE +3 -0
  549. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.APACHE +177 -0
  550. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.BSD +23 -0
  551. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +15 -0
  552. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +107 -0
  553. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +252 -0
  554. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +83 -0
  555. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +359 -0
  556. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +61 -0
  557. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +192 -0
  558. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/markers.py +251 -0
  559. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +824 -0
  560. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/py.typed +0 -0
  561. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +90 -0
  562. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +1030 -0
  563. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/tags.py +553 -0
  564. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/utils.py +172 -0
  565. package/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/version.py +563 -0
  566. package/pnpm/dist/node_modules/node-gyp/gyp/pyproject.toml +114 -0
  567. package/pnpm/dist/node_modules/node-gyp/gyp/release-please-config.json +11 -0
  568. package/pnpm/dist/node_modules/node-gyp/gyp/test_gyp.py +260 -0
  569. package/pnpm/dist/node_modules/node-gyp/lib/Find-VisualStudio.cs +250 -0
  570. package/pnpm/dist/node_modules/node-gyp/lib/build.js +230 -0
  571. package/pnpm/dist/node_modules/node-gyp/lib/clean.js +15 -0
  572. package/pnpm/dist/node_modules/node-gyp/lib/configure.js +328 -0
  573. package/pnpm/dist/node_modules/node-gyp/lib/create-config-gypi.js +153 -0
  574. package/pnpm/dist/node_modules/node-gyp/lib/download.js +39 -0
  575. package/pnpm/dist/node_modules/node-gyp/lib/find-node-directory.js +63 -0
  576. package/pnpm/dist/node_modules/node-gyp/lib/find-python.js +310 -0
  577. package/pnpm/dist/node_modules/node-gyp/lib/find-visualstudio.js +600 -0
  578. package/pnpm/dist/node_modules/node-gyp/lib/install.js +411 -0
  579. package/pnpm/dist/node_modules/node-gyp/lib/list.js +26 -0
  580. package/pnpm/dist/node_modules/node-gyp/lib/log.js +168 -0
  581. package/pnpm/dist/node_modules/node-gyp/lib/node-gyp.js +199 -0
  582. package/pnpm/dist/node_modules/node-gyp/lib/process-release.js +146 -0
  583. package/pnpm/dist/node_modules/node-gyp/lib/rebuild.js +12 -0
  584. package/pnpm/dist/node_modules/node-gyp/lib/remove.js +43 -0
  585. package/pnpm/dist/node_modules/node-gyp/lib/util.js +81 -0
  586. package/pnpm/dist/node_modules/node-gyp/macOS_Catalina_acid_test.sh +21 -0
  587. package/pnpm/dist/node_modules/node-gyp/node_modules/.bin/node-which +88 -0
  588. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/index.d.ts.map +1 -0
  589. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/index.js +56 -0
  590. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/index.js.map +1 -0
  591. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/index.min.js +2 -0
  592. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/index.min.js.map +7 -0
  593. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/options.d.ts.map +1 -0
  594. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/options.js +3 -0
  595. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/options.js.map +1 -0
  596. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/package.json +3 -0
  597. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/posix.d.ts.map +1 -0
  598. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/posix.js +67 -0
  599. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/posix.js.map +1 -0
  600. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/win32.d.ts.map +1 -0
  601. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/win32.js +63 -0
  602. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/win32.js.map +1 -0
  603. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/index.d.ts.map +1 -0
  604. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/index.js +16 -0
  605. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/index.js.map +1 -0
  606. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/index.min.js +2 -0
  607. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/index.min.js.map +7 -0
  608. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/options.d.ts.map +1 -0
  609. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/options.js +2 -0
  610. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/options.js.map +1 -0
  611. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/package.json +3 -0
  612. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/posix.d.ts.map +1 -0
  613. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/posix.js +62 -0
  614. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/posix.js.map +1 -0
  615. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/win32.d.ts.map +1 -0
  616. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/win32.js +58 -0
  617. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/win32.js.map +1 -0
  618. package/pnpm/dist/node_modules/node-gyp/node_modules/isexe/package.json +78 -0
  619. package/pnpm/dist/node_modules/node-gyp/node_modules/which/LICENSE +15 -0
  620. package/pnpm/dist/node_modules/node-gyp/node_modules/which/bin/which.js +52 -0
  621. package/pnpm/dist/node_modules/node-gyp/node_modules/which/lib/index.js +111 -0
  622. package/pnpm/dist/node_modules/node-gyp/node_modules/which/package.json +52 -0
  623. package/pnpm/dist/node_modules/node-gyp/package.json +52 -0
  624. package/pnpm/dist/node_modules/node-gyp/release-please-config.json +40 -0
  625. package/pnpm/dist/node_modules/node-gyp/src/win_delay_load_hook.cc +41 -0
  626. package/pnpm/dist/node_modules/nopt/LICENSE +15 -0
  627. package/pnpm/dist/node_modules/nopt/bin/nopt.js +29 -0
  628. package/pnpm/dist/node_modules/nopt/lib/debug.js +5 -0
  629. package/pnpm/dist/node_modules/nopt/lib/nopt-lib.js +514 -0
  630. package/pnpm/dist/node_modules/nopt/lib/nopt.js +34 -0
  631. package/pnpm/dist/node_modules/nopt/lib/type-defs.js +91 -0
  632. package/pnpm/dist/node_modules/nopt/package.json +52 -0
  633. package/pnpm/dist/node_modules/p-map/index.js +324 -0
  634. package/pnpm/dist/node_modules/p-map/license +9 -0
  635. package/pnpm/dist/node_modules/p-map/package.json +57 -0
  636. package/pnpm/dist/node_modules/package-json-from-dist/dist/commonjs/index.d.ts.map +1 -0
  637. package/pnpm/dist/node_modules/package-json-from-dist/dist/commonjs/index.js +134 -0
  638. package/pnpm/dist/node_modules/package-json-from-dist/dist/commonjs/index.js.map +1 -0
  639. package/pnpm/dist/node_modules/package-json-from-dist/dist/commonjs/package.json +3 -0
  640. package/pnpm/dist/node_modules/package-json-from-dist/dist/esm/index.d.ts.map +1 -0
  641. package/pnpm/dist/node_modules/package-json-from-dist/dist/esm/index.js +129 -0
  642. package/pnpm/dist/node_modules/package-json-from-dist/dist/esm/index.js.map +1 -0
  643. package/pnpm/dist/node_modules/package-json-from-dist/dist/esm/package.json +3 -0
  644. package/pnpm/dist/node_modules/package-json-from-dist/package.json +68 -0
  645. package/pnpm/dist/node_modules/path-key/index.js +16 -0
  646. package/pnpm/dist/node_modules/path-key/license +9 -0
  647. package/pnpm/dist/node_modules/path-key/package.json +39 -0
  648. package/pnpm/dist/node_modules/path-scurry/dist/commonjs/index.d.ts.map +1 -0
  649. package/pnpm/dist/node_modules/path-scurry/dist/commonjs/index.js +2014 -0
  650. package/pnpm/dist/node_modules/path-scurry/dist/commonjs/index.js.map +1 -0
  651. package/pnpm/dist/node_modules/path-scurry/dist/commonjs/package.json +3 -0
  652. package/pnpm/dist/node_modules/path-scurry/dist/esm/index.d.ts.map +1 -0
  653. package/pnpm/dist/node_modules/path-scurry/dist/esm/index.js +1979 -0
  654. package/pnpm/dist/node_modules/path-scurry/dist/esm/index.js.map +1 -0
  655. package/pnpm/dist/node_modules/path-scurry/dist/esm/package.json +3 -0
  656. package/pnpm/dist/node_modules/path-scurry/package.json +89 -0
  657. package/pnpm/dist/node_modules/picomatch/LICENSE +21 -0
  658. package/pnpm/dist/node_modules/picomatch/index.js +17 -0
  659. package/pnpm/dist/node_modules/picomatch/lib/constants.js +184 -0
  660. package/pnpm/dist/node_modules/picomatch/lib/parse.js +1425 -0
  661. package/pnpm/dist/node_modules/picomatch/lib/picomatch.js +361 -0
  662. package/pnpm/dist/node_modules/picomatch/lib/scan.js +403 -0
  663. package/pnpm/dist/node_modules/picomatch/lib/utils.js +72 -0
  664. package/pnpm/dist/node_modules/picomatch/package.json +83 -0
  665. package/pnpm/dist/node_modules/picomatch/posix.js +3 -0
  666. package/pnpm/dist/node_modules/proc-log/LICENSE +15 -0
  667. package/pnpm/dist/node_modules/proc-log/lib/index.js +153 -0
  668. package/pnpm/dist/node_modules/proc-log/package.json +46 -0
  669. package/pnpm/dist/node_modules/promise-retry/LICENSE +19 -0
  670. package/pnpm/dist/node_modules/promise-retry/index.js +52 -0
  671. package/pnpm/dist/node_modules/promise-retry/package.json +37 -0
  672. package/pnpm/dist/node_modules/retry/License +21 -0
  673. package/pnpm/dist/node_modules/retry/equation.gif +0 -0
  674. package/pnpm/dist/node_modules/retry/index.js +1 -0
  675. package/pnpm/dist/node_modules/retry/lib/retry.js +100 -0
  676. package/pnpm/dist/node_modules/retry/lib/retry_operation.js +158 -0
  677. package/pnpm/dist/node_modules/retry/package.json +32 -0
  678. package/pnpm/dist/node_modules/safer-buffer/LICENSE +21 -0
  679. package/pnpm/dist/node_modules/safer-buffer/dangerous.js +58 -0
  680. package/pnpm/dist/node_modules/safer-buffer/package.json +34 -0
  681. package/pnpm/dist/node_modules/safer-buffer/safer.js +77 -0
  682. package/pnpm/dist/node_modules/safer-buffer/tests.js +406 -0
  683. package/pnpm/dist/node_modules/semver/LICENSE +15 -0
  684. package/pnpm/dist/node_modules/semver/bin/semver.js +195 -0
  685. package/pnpm/dist/node_modules/semver/classes/comparator.js +143 -0
  686. package/pnpm/dist/node_modules/semver/classes/index.js +7 -0
  687. package/pnpm/dist/node_modules/semver/classes/range.js +577 -0
  688. package/pnpm/dist/node_modules/semver/classes/semver.js +350 -0
  689. package/pnpm/dist/node_modules/semver/functions/clean.js +8 -0
  690. package/pnpm/dist/node_modules/semver/functions/cmp.js +54 -0
  691. package/pnpm/dist/node_modules/semver/functions/coerce.js +62 -0
  692. package/pnpm/dist/node_modules/semver/functions/compare-build.js +9 -0
  693. package/pnpm/dist/node_modules/semver/functions/compare-loose.js +5 -0
  694. package/pnpm/dist/node_modules/semver/functions/compare.js +7 -0
  695. package/pnpm/dist/node_modules/semver/functions/diff.js +60 -0
  696. package/pnpm/dist/node_modules/semver/functions/eq.js +5 -0
  697. package/pnpm/dist/node_modules/semver/functions/gt.js +5 -0
  698. package/pnpm/dist/node_modules/semver/functions/gte.js +5 -0
  699. package/pnpm/dist/node_modules/semver/functions/inc.js +21 -0
  700. package/pnpm/dist/node_modules/semver/functions/lt.js +5 -0
  701. package/pnpm/dist/node_modules/semver/functions/lte.js +5 -0
  702. package/pnpm/dist/node_modules/semver/functions/major.js +5 -0
  703. package/pnpm/dist/node_modules/semver/functions/minor.js +5 -0
  704. package/pnpm/dist/node_modules/semver/functions/neq.js +5 -0
  705. package/pnpm/dist/node_modules/semver/functions/parse.js +18 -0
  706. package/pnpm/dist/node_modules/semver/functions/patch.js +5 -0
  707. package/pnpm/dist/node_modules/semver/functions/prerelease.js +8 -0
  708. package/pnpm/dist/node_modules/semver/functions/rcompare.js +5 -0
  709. package/pnpm/dist/node_modules/semver/functions/rsort.js +5 -0
  710. package/pnpm/dist/node_modules/semver/functions/satisfies.js +12 -0
  711. package/pnpm/dist/node_modules/semver/functions/sort.js +5 -0
  712. package/pnpm/dist/node_modules/semver/functions/truncate.js +48 -0
  713. package/pnpm/dist/node_modules/semver/functions/valid.js +8 -0
  714. package/pnpm/dist/node_modules/semver/index.js +93 -0
  715. package/pnpm/dist/node_modules/semver/internal/constants.js +37 -0
  716. package/pnpm/dist/node_modules/semver/internal/debug.js +11 -0
  717. package/pnpm/dist/node_modules/semver/internal/identifiers.js +29 -0
  718. package/pnpm/dist/node_modules/semver/internal/lrucache.js +42 -0
  719. package/pnpm/dist/node_modules/semver/internal/parse-options.js +17 -0
  720. package/pnpm/dist/node_modules/semver/internal/re.js +223 -0
  721. package/pnpm/dist/node_modules/semver/package.json +78 -0
  722. package/pnpm/dist/node_modules/semver/preload.js +4 -0
  723. package/pnpm/dist/node_modules/semver/range.bnf +17 -0
  724. package/pnpm/dist/node_modules/semver/ranges/gtr.js +6 -0
  725. package/pnpm/dist/node_modules/semver/ranges/intersects.js +9 -0
  726. package/pnpm/dist/node_modules/semver/ranges/ltr.js +6 -0
  727. package/pnpm/dist/node_modules/semver/ranges/max-satisfying.js +27 -0
  728. package/pnpm/dist/node_modules/semver/ranges/min-satisfying.js +26 -0
  729. package/pnpm/dist/node_modules/semver/ranges/min-version.js +63 -0
  730. package/pnpm/dist/node_modules/semver/ranges/outside.js +82 -0
  731. package/pnpm/dist/node_modules/semver/ranges/simplify.js +49 -0
  732. package/pnpm/dist/node_modules/semver/ranges/subset.js +249 -0
  733. package/pnpm/dist/node_modules/semver/ranges/to-comparators.js +10 -0
  734. package/pnpm/dist/node_modules/semver/ranges/valid.js +13 -0
  735. package/pnpm/dist/node_modules/shebang-command/index.js +19 -0
  736. package/pnpm/dist/node_modules/shebang-command/license +9 -0
  737. package/pnpm/dist/node_modules/shebang-command/package.json +34 -0
  738. package/pnpm/dist/node_modules/shebang-regex/index.js +2 -0
  739. package/pnpm/dist/node_modules/shebang-regex/license +9 -0
  740. package/pnpm/dist/node_modules/shebang-regex/package.json +35 -0
  741. package/pnpm/dist/node_modules/signal-exit/LICENSE.txt +16 -0
  742. package/pnpm/dist/node_modules/signal-exit/dist/cjs/browser.d.ts.map +1 -0
  743. package/pnpm/dist/node_modules/signal-exit/dist/cjs/browser.js +10 -0
  744. package/pnpm/dist/node_modules/signal-exit/dist/cjs/browser.js.map +1 -0
  745. package/pnpm/dist/node_modules/signal-exit/dist/cjs/index.d.ts.map +1 -0
  746. package/pnpm/dist/node_modules/signal-exit/dist/cjs/index.js +279 -0
  747. package/pnpm/dist/node_modules/signal-exit/dist/cjs/index.js.map +1 -0
  748. package/pnpm/dist/node_modules/signal-exit/dist/cjs/package.json +3 -0
  749. package/pnpm/dist/node_modules/signal-exit/dist/cjs/signals.d.ts.map +1 -0
  750. package/pnpm/dist/node_modules/signal-exit/dist/cjs/signals.js +42 -0
  751. package/pnpm/dist/node_modules/signal-exit/dist/cjs/signals.js.map +1 -0
  752. package/pnpm/dist/node_modules/signal-exit/dist/mjs/browser.d.ts.map +1 -0
  753. package/pnpm/dist/node_modules/signal-exit/dist/mjs/browser.js +4 -0
  754. package/pnpm/dist/node_modules/signal-exit/dist/mjs/browser.js.map +1 -0
  755. package/pnpm/dist/node_modules/signal-exit/dist/mjs/index.d.ts.map +1 -0
  756. package/pnpm/dist/node_modules/signal-exit/dist/mjs/index.js +275 -0
  757. package/pnpm/dist/node_modules/signal-exit/dist/mjs/index.js.map +1 -0
  758. package/pnpm/dist/node_modules/signal-exit/dist/mjs/package.json +3 -0
  759. package/pnpm/dist/node_modules/signal-exit/dist/mjs/signals.d.ts.map +1 -0
  760. package/pnpm/dist/node_modules/signal-exit/dist/mjs/signals.js +39 -0
  761. package/pnpm/dist/node_modules/signal-exit/dist/mjs/signals.js.map +1 -0
  762. package/pnpm/dist/node_modules/signal-exit/package.json +106 -0
  763. package/pnpm/dist/node_modules/smart-buffer/.prettierrc.yaml +5 -0
  764. package/pnpm/dist/node_modules/smart-buffer/LICENSE +20 -0
  765. package/pnpm/dist/node_modules/smart-buffer/build/smartbuffer.js +1233 -0
  766. package/pnpm/dist/node_modules/smart-buffer/build/smartbuffer.js.map +1 -0
  767. package/pnpm/dist/node_modules/smart-buffer/build/utils.js +108 -0
  768. package/pnpm/dist/node_modules/smart-buffer/build/utils.js.map +1 -0
  769. package/pnpm/dist/node_modules/smart-buffer/package.json +79 -0
  770. package/pnpm/dist/node_modules/socks/.prettierrc.yaml +7 -0
  771. package/pnpm/dist/node_modules/socks/LICENSE +20 -0
  772. package/pnpm/dist/node_modules/socks/build/client/socksclient.js +793 -0
  773. package/pnpm/dist/node_modules/socks/build/client/socksclient.js.map +1 -0
  774. package/pnpm/dist/node_modules/socks/build/common/constants.js +108 -0
  775. package/pnpm/dist/node_modules/socks/build/common/constants.js.map +1 -0
  776. package/pnpm/dist/node_modules/socks/build/common/helpers.js +166 -0
  777. package/pnpm/dist/node_modules/socks/build/common/helpers.js.map +1 -0
  778. package/pnpm/dist/node_modules/socks/build/common/receivebuffer.js +43 -0
  779. package/pnpm/dist/node_modules/socks/build/common/receivebuffer.js.map +1 -0
  780. package/pnpm/dist/node_modules/socks/build/common/util.js +25 -0
  781. package/pnpm/dist/node_modules/socks/build/common/util.js.map +1 -0
  782. package/pnpm/dist/node_modules/socks/build/index.js +18 -0
  783. package/pnpm/dist/node_modules/socks/build/index.js.map +1 -0
  784. package/pnpm/dist/node_modules/socks/package.json +58 -0
  785. package/pnpm/dist/node_modules/socks-proxy-agent/LICENSE +22 -0
  786. package/pnpm/dist/node_modules/socks-proxy-agent/dist/index.d.ts.map +1 -0
  787. package/pnpm/dist/node_modules/socks-proxy-agent/dist/index.js +195 -0
  788. package/pnpm/dist/node_modules/socks-proxy-agent/dist/index.js.map +1 -0
  789. package/pnpm/dist/node_modules/socks-proxy-agent/package.json +142 -0
  790. package/pnpm/dist/node_modules/ssri/lib/index.js +580 -0
  791. package/pnpm/dist/node_modules/ssri/package.json +66 -0
  792. package/pnpm/dist/node_modules/string-width/index.js +54 -0
  793. package/pnpm/dist/node_modules/string-width/license +9 -0
  794. package/pnpm/dist/node_modules/string-width/package.json +59 -0
  795. package/pnpm/dist/node_modules/string-width-cjs/index.js +47 -0
  796. package/pnpm/dist/node_modules/string-width-cjs/license +9 -0
  797. package/pnpm/dist/node_modules/string-width-cjs/node_modules/ansi-regex/index.js +10 -0
  798. package/pnpm/dist/node_modules/string-width-cjs/node_modules/ansi-regex/license +9 -0
  799. package/pnpm/dist/node_modules/string-width-cjs/node_modules/ansi-regex/package.json +55 -0
  800. package/pnpm/dist/node_modules/string-width-cjs/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
  801. package/pnpm/dist/node_modules/string-width-cjs/node_modules/emoji-regex/es2015/index.js +6 -0
  802. package/pnpm/dist/node_modules/string-width-cjs/node_modules/emoji-regex/es2015/text.js +6 -0
  803. package/pnpm/dist/node_modules/string-width-cjs/node_modules/emoji-regex/index.js +6 -0
  804. package/pnpm/dist/node_modules/string-width-cjs/node_modules/emoji-regex/package.json +50 -0
  805. package/pnpm/dist/node_modules/string-width-cjs/node_modules/emoji-regex/text.js +6 -0
  806. package/pnpm/dist/node_modules/string-width-cjs/node_modules/strip-ansi/index.js +4 -0
  807. package/pnpm/dist/node_modules/string-width-cjs/node_modules/strip-ansi/license +9 -0
  808. package/pnpm/dist/node_modules/string-width-cjs/node_modules/strip-ansi/package.json +54 -0
  809. package/pnpm/dist/node_modules/string-width-cjs/package.json +56 -0
  810. package/pnpm/dist/node_modules/strip-ansi/index.js +19 -0
  811. package/pnpm/dist/node_modules/strip-ansi/license +9 -0
  812. package/pnpm/dist/node_modules/strip-ansi/package.json +59 -0
  813. package/pnpm/dist/node_modules/strip-ansi-cjs/index.js +4 -0
  814. package/pnpm/dist/node_modules/strip-ansi-cjs/license +9 -0
  815. package/pnpm/dist/node_modules/strip-ansi-cjs/node_modules/ansi-regex/index.js +10 -0
  816. package/pnpm/dist/node_modules/strip-ansi-cjs/node_modules/ansi-regex/license +9 -0
  817. package/pnpm/dist/node_modules/strip-ansi-cjs/node_modules/ansi-regex/package.json +55 -0
  818. package/pnpm/dist/node_modules/strip-ansi-cjs/package.json +54 -0
  819. package/pnpm/dist/node_modules/tar/dist/commonjs/create.d.ts.map +1 -0
  820. package/pnpm/dist/node_modules/tar/dist/commonjs/create.js +82 -0
  821. package/pnpm/dist/node_modules/tar/dist/commonjs/create.js.map +1 -0
  822. package/pnpm/dist/node_modules/tar/dist/commonjs/cwd-error.d.ts.map +1 -0
  823. package/pnpm/dist/node_modules/tar/dist/commonjs/cwd-error.js +18 -0
  824. package/pnpm/dist/node_modules/tar/dist/commonjs/cwd-error.js.map +1 -0
  825. package/pnpm/dist/node_modules/tar/dist/commonjs/extract.d.ts.map +1 -0
  826. package/pnpm/dist/node_modules/tar/dist/commonjs/extract.js +88 -0
  827. package/pnpm/dist/node_modules/tar/dist/commonjs/extract.js.map +1 -0
  828. package/pnpm/dist/node_modules/tar/dist/commonjs/get-write-flag.d.ts.map +1 -0
  829. package/pnpm/dist/node_modules/tar/dist/commonjs/get-write-flag.js +32 -0
  830. package/pnpm/dist/node_modules/tar/dist/commonjs/get-write-flag.js.map +1 -0
  831. package/pnpm/dist/node_modules/tar/dist/commonjs/header.d.ts.map +1 -0
  832. package/pnpm/dist/node_modules/tar/dist/commonjs/header.js +348 -0
  833. package/pnpm/dist/node_modules/tar/dist/commonjs/header.js.map +1 -0
  834. package/pnpm/dist/node_modules/tar/dist/commonjs/index.d.ts.map +1 -0
  835. package/pnpm/dist/node_modules/tar/dist/commonjs/index.js +64 -0
  836. package/pnpm/dist/node_modules/tar/dist/commonjs/index.js.map +1 -0
  837. package/pnpm/dist/node_modules/tar/dist/commonjs/index.min.js +4 -0
  838. package/pnpm/dist/node_modules/tar/dist/commonjs/index.min.js.map +7 -0
  839. package/pnpm/dist/node_modules/tar/dist/commonjs/large-numbers.d.ts.map +1 -0
  840. package/pnpm/dist/node_modules/tar/dist/commonjs/large-numbers.js +99 -0
  841. package/pnpm/dist/node_modules/tar/dist/commonjs/large-numbers.js.map +1 -0
  842. package/pnpm/dist/node_modules/tar/dist/commonjs/list.d.ts.map +1 -0
  843. package/pnpm/dist/node_modules/tar/dist/commonjs/list.js +153 -0
  844. package/pnpm/dist/node_modules/tar/dist/commonjs/list.js.map +1 -0
  845. package/pnpm/dist/node_modules/tar/dist/commonjs/make-command.d.ts.map +1 -0
  846. package/pnpm/dist/node_modules/tar/dist/commonjs/make-command.js +52 -0
  847. package/pnpm/dist/node_modules/tar/dist/commonjs/make-command.js.map +1 -0
  848. package/pnpm/dist/node_modules/tar/dist/commonjs/mkdir.d.ts.map +1 -0
  849. package/pnpm/dist/node_modules/tar/dist/commonjs/mkdir.js +187 -0
  850. package/pnpm/dist/node_modules/tar/dist/commonjs/mkdir.js.map +1 -0
  851. package/pnpm/dist/node_modules/tar/dist/commonjs/mode-fix.d.ts.map +1 -0
  852. package/pnpm/dist/node_modules/tar/dist/commonjs/mode-fix.js +29 -0
  853. package/pnpm/dist/node_modules/tar/dist/commonjs/mode-fix.js.map +1 -0
  854. package/pnpm/dist/node_modules/tar/dist/commonjs/normalize-unicode.d.ts.map +1 -0
  855. package/pnpm/dist/node_modules/tar/dist/commonjs/normalize-unicode.js +38 -0
  856. package/pnpm/dist/node_modules/tar/dist/commonjs/normalize-unicode.js.map +1 -0
  857. package/pnpm/dist/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts.map +1 -0
  858. package/pnpm/dist/node_modules/tar/dist/commonjs/normalize-windows-path.js +12 -0
  859. package/pnpm/dist/node_modules/tar/dist/commonjs/normalize-windows-path.js.map +1 -0
  860. package/pnpm/dist/node_modules/tar/dist/commonjs/options.d.ts.map +1 -0
  861. package/pnpm/dist/node_modules/tar/dist/commonjs/options.js +66 -0
  862. package/pnpm/dist/node_modules/tar/dist/commonjs/options.js.map +1 -0
  863. package/pnpm/dist/node_modules/tar/dist/commonjs/pack.d.ts.map +1 -0
  864. package/pnpm/dist/node_modules/tar/dist/commonjs/pack.js +544 -0
  865. package/pnpm/dist/node_modules/tar/dist/commonjs/pack.js.map +1 -0
  866. package/pnpm/dist/node_modules/tar/dist/commonjs/package.json +3 -0
  867. package/pnpm/dist/node_modules/tar/dist/commonjs/parse.d.ts.map +1 -0
  868. package/pnpm/dist/node_modules/tar/dist/commonjs/parse.js +655 -0
  869. package/pnpm/dist/node_modules/tar/dist/commonjs/parse.js.map +1 -0
  870. package/pnpm/dist/node_modules/tar/dist/commonjs/path-reservations.d.ts.map +1 -0
  871. package/pnpm/dist/node_modules/tar/dist/commonjs/path-reservations.js +170 -0
  872. package/pnpm/dist/node_modules/tar/dist/commonjs/path-reservations.js.map +1 -0
  873. package/pnpm/dist/node_modules/tar/dist/commonjs/pax.d.ts.map +1 -0
  874. package/pnpm/dist/node_modules/tar/dist/commonjs/pax.js +182 -0
  875. package/pnpm/dist/node_modules/tar/dist/commonjs/pax.js.map +1 -0
  876. package/pnpm/dist/node_modules/tar/dist/commonjs/process-umask.d.ts.map +1 -0
  877. package/pnpm/dist/node_modules/tar/dist/commonjs/process-umask.js +7 -0
  878. package/pnpm/dist/node_modules/tar/dist/commonjs/process-umask.js.map +1 -0
  879. package/pnpm/dist/node_modules/tar/dist/commonjs/read-entry.d.ts.map +1 -0
  880. package/pnpm/dist/node_modules/tar/dist/commonjs/read-entry.js +136 -0
  881. package/pnpm/dist/node_modules/tar/dist/commonjs/read-entry.js.map +1 -0
  882. package/pnpm/dist/node_modules/tar/dist/commonjs/replace.d.ts.map +1 -0
  883. package/pnpm/dist/node_modules/tar/dist/commonjs/replace.js +227 -0
  884. package/pnpm/dist/node_modules/tar/dist/commonjs/replace.js.map +1 -0
  885. package/pnpm/dist/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts.map +1 -0
  886. package/pnpm/dist/node_modules/tar/dist/commonjs/strip-absolute-path.js +29 -0
  887. package/pnpm/dist/node_modules/tar/dist/commonjs/strip-absolute-path.js.map +1 -0
  888. package/pnpm/dist/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts.map +1 -0
  889. package/pnpm/dist/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +18 -0
  890. package/pnpm/dist/node_modules/tar/dist/commonjs/strip-trailing-slashes.js.map +1 -0
  891. package/pnpm/dist/node_modules/tar/dist/commonjs/symlink-error.d.ts.map +1 -0
  892. package/pnpm/dist/node_modules/tar/dist/commonjs/symlink-error.js +19 -0
  893. package/pnpm/dist/node_modules/tar/dist/commonjs/symlink-error.js.map +1 -0
  894. package/pnpm/dist/node_modules/tar/dist/commonjs/types.d.ts.map +1 -0
  895. package/pnpm/dist/node_modules/tar/dist/commonjs/types.js +70 -0
  896. package/pnpm/dist/node_modules/tar/dist/commonjs/types.js.map +1 -0
  897. package/pnpm/dist/node_modules/tar/dist/commonjs/unpack.d.ts.map +1 -0
  898. package/pnpm/dist/node_modules/tar/dist/commonjs/unpack.js +932 -0
  899. package/pnpm/dist/node_modules/tar/dist/commonjs/unpack.js.map +1 -0
  900. package/pnpm/dist/node_modules/tar/dist/commonjs/update.d.ts.map +1 -0
  901. package/pnpm/dist/node_modules/tar/dist/commonjs/update.js +33 -0
  902. package/pnpm/dist/node_modules/tar/dist/commonjs/update.js.map +1 -0
  903. package/pnpm/dist/node_modules/tar/dist/commonjs/warn-method.d.ts.map +1 -0
  904. package/pnpm/dist/node_modules/tar/dist/commonjs/warn-method.js +31 -0
  905. package/pnpm/dist/node_modules/tar/dist/commonjs/warn-method.js.map +1 -0
  906. package/pnpm/dist/node_modules/tar/dist/commonjs/winchars.d.ts.map +1 -0
  907. package/pnpm/dist/node_modules/tar/dist/commonjs/winchars.js +14 -0
  908. package/pnpm/dist/node_modules/tar/dist/commonjs/winchars.js.map +1 -0
  909. package/pnpm/dist/node_modules/tar/dist/commonjs/write-entry.d.ts.map +1 -0
  910. package/pnpm/dist/node_modules/tar/dist/commonjs/write-entry.js +698 -0
  911. package/pnpm/dist/node_modules/tar/dist/commonjs/write-entry.js.map +1 -0
  912. package/pnpm/dist/node_modules/tar/dist/esm/create.d.ts.map +1 -0
  913. package/pnpm/dist/node_modules/tar/dist/esm/create.js +76 -0
  914. package/pnpm/dist/node_modules/tar/dist/esm/create.js.map +1 -0
  915. package/pnpm/dist/node_modules/tar/dist/esm/cwd-error.d.ts.map +1 -0
  916. package/pnpm/dist/node_modules/tar/dist/esm/cwd-error.js +14 -0
  917. package/pnpm/dist/node_modules/tar/dist/esm/cwd-error.js.map +1 -0
  918. package/pnpm/dist/node_modules/tar/dist/esm/extract.d.ts.map +1 -0
  919. package/pnpm/dist/node_modules/tar/dist/esm/extract.js +49 -0
  920. package/pnpm/dist/node_modules/tar/dist/esm/extract.js.map +1 -0
  921. package/pnpm/dist/node_modules/tar/dist/esm/get-write-flag.d.ts.map +1 -0
  922. package/pnpm/dist/node_modules/tar/dist/esm/get-write-flag.js +26 -0
  923. package/pnpm/dist/node_modules/tar/dist/esm/get-write-flag.js.map +1 -0
  924. package/pnpm/dist/node_modules/tar/dist/esm/header.d.ts.map +1 -0
  925. package/pnpm/dist/node_modules/tar/dist/esm/header.js +311 -0
  926. package/pnpm/dist/node_modules/tar/dist/esm/header.js.map +1 -0
  927. package/pnpm/dist/node_modules/tar/dist/esm/index.d.ts.map +1 -0
  928. package/pnpm/dist/node_modules/tar/dist/esm/index.js +20 -0
  929. package/pnpm/dist/node_modules/tar/dist/esm/index.js.map +1 -0
  930. package/pnpm/dist/node_modules/tar/dist/esm/index.min.js +4 -0
  931. package/pnpm/dist/node_modules/tar/dist/esm/index.min.js.map +7 -0
  932. package/pnpm/dist/node_modules/tar/dist/esm/large-numbers.d.ts.map +1 -0
  933. package/pnpm/dist/node_modules/tar/dist/esm/large-numbers.js +94 -0
  934. package/pnpm/dist/node_modules/tar/dist/esm/large-numbers.js.map +1 -0
  935. package/pnpm/dist/node_modules/tar/dist/esm/list.d.ts.map +1 -0
  936. package/pnpm/dist/node_modules/tar/dist/esm/list.js +113 -0
  937. package/pnpm/dist/node_modules/tar/dist/esm/list.js.map +1 -0
  938. package/pnpm/dist/node_modules/tar/dist/esm/make-command.d.ts.map +1 -0
  939. package/pnpm/dist/node_modules/tar/dist/esm/make-command.js +48 -0
  940. package/pnpm/dist/node_modules/tar/dist/esm/make-command.js.map +1 -0
  941. package/pnpm/dist/node_modules/tar/dist/esm/mkdir.d.ts.map +1 -0
  942. package/pnpm/dist/node_modules/tar/dist/esm/mkdir.js +179 -0
  943. package/pnpm/dist/node_modules/tar/dist/esm/mkdir.js.map +1 -0
  944. package/pnpm/dist/node_modules/tar/dist/esm/mode-fix.d.ts.map +1 -0
  945. package/pnpm/dist/node_modules/tar/dist/esm/mode-fix.js +25 -0
  946. package/pnpm/dist/node_modules/tar/dist/esm/mode-fix.js.map +1 -0
  947. package/pnpm/dist/node_modules/tar/dist/esm/normalize-unicode.d.ts.map +1 -0
  948. package/pnpm/dist/node_modules/tar/dist/esm/normalize-unicode.js +34 -0
  949. package/pnpm/dist/node_modules/tar/dist/esm/normalize-unicode.js.map +1 -0
  950. package/pnpm/dist/node_modules/tar/dist/esm/normalize-windows-path.d.ts.map +1 -0
  951. package/pnpm/dist/node_modules/tar/dist/esm/normalize-windows-path.js +9 -0
  952. package/pnpm/dist/node_modules/tar/dist/esm/normalize-windows-path.js.map +1 -0
  953. package/pnpm/dist/node_modules/tar/dist/esm/options.d.ts.map +1 -0
  954. package/pnpm/dist/node_modules/tar/dist/esm/options.js +54 -0
  955. package/pnpm/dist/node_modules/tar/dist/esm/options.js.map +1 -0
  956. package/pnpm/dist/node_modules/tar/dist/esm/pack.d.ts.map +1 -0
  957. package/pnpm/dist/node_modules/tar/dist/esm/pack.js +502 -0
  958. package/pnpm/dist/node_modules/tar/dist/esm/pack.js.map +1 -0
  959. package/pnpm/dist/node_modules/tar/dist/esm/package.json +3 -0
  960. package/pnpm/dist/node_modules/tar/dist/esm/parse.d.ts.map +1 -0
  961. package/pnpm/dist/node_modules/tar/dist/esm/parse.js +651 -0
  962. package/pnpm/dist/node_modules/tar/dist/esm/parse.js.map +1 -0
  963. package/pnpm/dist/node_modules/tar/dist/esm/path-reservations.d.ts.map +1 -0
  964. package/pnpm/dist/node_modules/tar/dist/esm/path-reservations.js +166 -0
  965. package/pnpm/dist/node_modules/tar/dist/esm/path-reservations.js.map +1 -0
  966. package/pnpm/dist/node_modules/tar/dist/esm/pax.d.ts.map +1 -0
  967. package/pnpm/dist/node_modules/tar/dist/esm/pax.js +178 -0
  968. package/pnpm/dist/node_modules/tar/dist/esm/pax.js.map +1 -0
  969. package/pnpm/dist/node_modules/tar/dist/esm/process-umask.d.ts.map +1 -0
  970. package/pnpm/dist/node_modules/tar/dist/esm/process-umask.js +3 -0
  971. package/pnpm/dist/node_modules/tar/dist/esm/process-umask.js.map +1 -0
  972. package/pnpm/dist/node_modules/tar/dist/esm/read-entry.d.ts.map +1 -0
  973. package/pnpm/dist/node_modules/tar/dist/esm/read-entry.js +132 -0
  974. package/pnpm/dist/node_modules/tar/dist/esm/read-entry.js.map +1 -0
  975. package/pnpm/dist/node_modules/tar/dist/esm/replace.d.ts.map +1 -0
  976. package/pnpm/dist/node_modules/tar/dist/esm/replace.js +221 -0
  977. package/pnpm/dist/node_modules/tar/dist/esm/replace.js.map +1 -0
  978. package/pnpm/dist/node_modules/tar/dist/esm/strip-absolute-path.d.ts.map +1 -0
  979. package/pnpm/dist/node_modules/tar/dist/esm/strip-absolute-path.js +25 -0
  980. package/pnpm/dist/node_modules/tar/dist/esm/strip-absolute-path.js.map +1 -0
  981. package/pnpm/dist/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts.map +1 -0
  982. package/pnpm/dist/node_modules/tar/dist/esm/strip-trailing-slashes.js +14 -0
  983. package/pnpm/dist/node_modules/tar/dist/esm/strip-trailing-slashes.js.map +1 -0
  984. package/pnpm/dist/node_modules/tar/dist/esm/symlink-error.d.ts.map +1 -0
  985. package/pnpm/dist/node_modules/tar/dist/esm/symlink-error.js +15 -0
  986. package/pnpm/dist/node_modules/tar/dist/esm/symlink-error.js.map +1 -0
  987. package/pnpm/dist/node_modules/tar/dist/esm/types.d.ts.map +1 -0
  988. package/pnpm/dist/node_modules/tar/dist/esm/types.js +65 -0
  989. package/pnpm/dist/node_modules/tar/dist/esm/types.js.map +1 -0
  990. package/pnpm/dist/node_modules/tar/dist/esm/unpack.d.ts.map +1 -0
  991. package/pnpm/dist/node_modules/tar/dist/esm/unpack.js +891 -0
  992. package/pnpm/dist/node_modules/tar/dist/esm/unpack.js.map +1 -0
  993. package/pnpm/dist/node_modules/tar/dist/esm/update.d.ts.map +1 -0
  994. package/pnpm/dist/node_modules/tar/dist/esm/update.js +30 -0
  995. package/pnpm/dist/node_modules/tar/dist/esm/update.js.map +1 -0
  996. package/pnpm/dist/node_modules/tar/dist/esm/warn-method.d.ts.map +1 -0
  997. package/pnpm/dist/node_modules/tar/dist/esm/warn-method.js +27 -0
  998. package/pnpm/dist/node_modules/tar/dist/esm/warn-method.js.map +1 -0
  999. package/pnpm/dist/node_modules/tar/dist/esm/winchars.d.ts.map +1 -0
  1000. package/pnpm/dist/node_modules/tar/dist/esm/winchars.js +9 -0
  1001. package/pnpm/dist/node_modules/tar/dist/esm/winchars.js.map +1 -0
  1002. package/pnpm/dist/node_modules/tar/dist/esm/write-entry.d.ts.map +1 -0
  1003. package/pnpm/dist/node_modules/tar/dist/esm/write-entry.js +656 -0
  1004. package/pnpm/dist/node_modules/tar/dist/esm/write-entry.js.map +1 -0
  1005. package/pnpm/dist/node_modules/tar/node_modules/yallist/dist/commonjs/index.d.ts.map +1 -0
  1006. package/pnpm/dist/node_modules/tar/node_modules/yallist/dist/commonjs/index.js +384 -0
  1007. package/pnpm/dist/node_modules/tar/node_modules/yallist/dist/commonjs/index.js.map +1 -0
  1008. package/pnpm/dist/node_modules/tar/node_modules/yallist/dist/commonjs/package.json +3 -0
  1009. package/pnpm/dist/node_modules/tar/node_modules/yallist/dist/esm/index.d.ts.map +1 -0
  1010. package/pnpm/dist/node_modules/tar/node_modules/yallist/dist/esm/index.js +379 -0
  1011. package/pnpm/dist/node_modules/tar/node_modules/yallist/dist/esm/index.js.map +1 -0
  1012. package/pnpm/dist/node_modules/tar/node_modules/yallist/dist/esm/package.json +3 -0
  1013. package/pnpm/dist/node_modules/tar/node_modules/yallist/package.json +68 -0
  1014. package/pnpm/dist/node_modules/tar/package.json +298 -0
  1015. package/pnpm/dist/node_modules/tinyglobby/LICENSE +21 -0
  1016. package/pnpm/dist/node_modules/tinyglobby/dist/index.cjs +335 -0
  1017. package/pnpm/dist/node_modules/tinyglobby/dist/index.d.cts +148 -0
  1018. package/pnpm/dist/node_modules/tinyglobby/dist/index.d.mts +148 -0
  1019. package/pnpm/dist/node_modules/tinyglobby/dist/index.mjs +307 -0
  1020. package/pnpm/dist/node_modules/tinyglobby/package.json +70 -0
  1021. package/pnpm/dist/node_modules/unique-filename/LICENSE +5 -0
  1022. package/pnpm/dist/node_modules/unique-filename/lib/index.js +7 -0
  1023. package/pnpm/dist/node_modules/unique-filename/package.json +53 -0
  1024. package/pnpm/dist/node_modules/unique-slug/LICENSE +15 -0
  1025. package/pnpm/dist/node_modules/unique-slug/lib/index.js +11 -0
  1026. package/pnpm/dist/node_modules/unique-slug/package.json +49 -0
  1027. package/pnpm/dist/node_modules/v8-compile-cache/LICENSE +21 -0
  1028. package/pnpm/dist/node_modules/v8-compile-cache/package.json +34 -0
  1029. package/pnpm/dist/node_modules/v8-compile-cache/v8-compile-cache.js +373 -0
  1030. package/pnpm/dist/node_modules/which/LICENSE +15 -0
  1031. package/pnpm/dist/node_modules/which/bin/node-which +52 -0
  1032. package/pnpm/dist/node_modules/which/package.json +43 -0
  1033. package/pnpm/dist/node_modules/which/which.js +125 -0
  1034. package/pnpm/dist/node_modules/wrap-ansi/index.js +214 -0
  1035. package/pnpm/dist/node_modules/wrap-ansi/license +9 -0
  1036. package/pnpm/dist/node_modules/wrap-ansi/package.json +69 -0
  1037. package/pnpm/dist/node_modules/wrap-ansi-cjs/index.js +216 -0
  1038. package/pnpm/dist/node_modules/wrap-ansi-cjs/license +9 -0
  1039. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/index.js +10 -0
  1040. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/license +9 -0
  1041. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/package.json +55 -0
  1042. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/index.js +163 -0
  1043. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/license +9 -0
  1044. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/package.json +56 -0
  1045. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
  1046. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/es2015/index.js +6 -0
  1047. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/es2015/text.js +6 -0
  1048. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/index.js +6 -0
  1049. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/package.json +50 -0
  1050. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/text.js +6 -0
  1051. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/string-width/index.js +47 -0
  1052. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/string-width/license +9 -0
  1053. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/string-width/package.json +56 -0
  1054. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/index.js +4 -0
  1055. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/license +9 -0
  1056. package/pnpm/dist/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/package.json +54 -0
  1057. package/pnpm/dist/node_modules/wrap-ansi-cjs/package.json +62 -0
  1058. package/pnpm/dist/node_modules/yallist/LICENSE +15 -0
  1059. package/pnpm/dist/node_modules/yallist/iterator.js +8 -0
  1060. package/pnpm/dist/node_modules/yallist/package.json +29 -0
  1061. package/pnpm/dist/node_modules/yallist/yallist.js +426 -0
  1062. package/pnpm/dist/pnpm.cjs +214359 -0
  1063. package/pnpm/dist/pnpmrc +2 -0
  1064. package/pnpm/dist/reflink.darwin-arm64-2HJ4WGO6.node +0 -0
  1065. package/pnpm/dist/reflink.darwin-x64-3G3H6IW4.node +0 -0
  1066. package/pnpm/dist/reflink.win32-arm64-msvc-Q6BARPPB.node +0 -0
  1067. package/pnpm/dist/reflink.win32-x64-msvc-J2TZHRQI.node +0 -0
  1068. package/pnpm/dist/templates/completion.bash +31 -0
  1069. package/pnpm/dist/templates/completion.fish +22 -0
  1070. package/pnpm/dist/templates/completion.ps1 +193 -0
  1071. package/pnpm/dist/templates/completion.zsh +27 -0
  1072. package/pnpm/dist/vendor/fastlist-0.3.0-x64.exe +0 -0
  1073. package/pnpm/dist/vendor/fastlist-0.3.0-x86.exe +0 -0
  1074. package/pnpm/dist/worker.js +11564 -0
  1075. package/pnpm/package.json +192 -0
  1076. package/skills/.claude/skills/.gitkeep +0 -0
  1077. package/skills/README.md +19 -0
  1078. package/web/assets/core-CIeAU5U4.js +13 -0
  1079. package/web/assets/core-CIeAU5U4.js.map +1 -0
  1080. package/web/assets/css-BsVw1vtW.js +2 -0
  1081. package/web/assets/css-BsVw1vtW.js.map +1 -0
  1082. package/web/assets/diff-woXpYk--.js +2 -0
  1083. package/web/assets/diff-woXpYk--.js.map +1 -0
  1084. package/web/assets/engine-javascript-vHStYFkU.js +142 -0
  1085. package/web/assets/engine-javascript-vHStYFkU.js.map +1 -0
  1086. package/web/assets/github-dark-default-DXG-b-1a.js +2 -0
  1087. package/web/assets/github-dark-default-DXG-b-1a.js.map +1 -0
  1088. package/web/assets/github-light-EUqPIrTm.js +2 -0
  1089. package/web/assets/github-light-EUqPIrTm.js.map +1 -0
  1090. package/web/assets/go-rLFTqkRN.js +2 -0
  1091. package/web/assets/go-rLFTqkRN.js.map +1 -0
  1092. package/web/assets/html-BY76lXLH.js +2 -0
  1093. package/web/assets/html-BY76lXLH.js.map +1 -0
  1094. package/web/assets/icon-app-BHyKF-1l.png +0 -0
  1095. package/web/assets/index-Bnebzkoc.js +122 -0
  1096. package/web/assets/index-Bnebzkoc.js.map +1 -0
  1097. package/web/assets/index-DxgjutLj.css +1 -0
  1098. package/web/assets/java-BXcb2rRD.js +2 -0
  1099. package/web/assets/java-BXcb2rRD.js.map +1 -0
  1100. package/web/assets/javascript-BgS3c2Ky.js +2 -0
  1101. package/web/assets/javascript-BgS3c2Ky.js.map +1 -0
  1102. package/web/assets/jetbrains-mono-latin-400-normal-6-qcROiO.woff +0 -0
  1103. package/web/assets/jetbrains-mono-latin-400-normal-V6pRDFza.woff2 +0 -0
  1104. package/web/assets/jetbrains-mono-latin-500-normal-BWZEU5yA.woff2 +0 -0
  1105. package/web/assets/jetbrains-mono-latin-500-normal-CJOVTJB7.woff +0 -0
  1106. package/web/assets/json-qhed-kSA.js +2 -0
  1107. package/web/assets/json-qhed-kSA.js.map +1 -0
  1108. package/web/assets/jsx-Bz0zcwM4.js +2 -0
  1109. package/web/assets/jsx-Bz0zcwM4.js.map +1 -0
  1110. package/web/assets/markdown-BYOwaDjH.js +2 -0
  1111. package/web/assets/markdown-BYOwaDjH.js.map +1 -0
  1112. package/web/assets/python-gzcpVVnB.js +2 -0
  1113. package/web/assets/python-gzcpVVnB.js.map +1 -0
  1114. package/web/assets/rust-Cfkwpbl8.js +2 -0
  1115. package/web/assets/rust-Cfkwpbl8.js.map +1 -0
  1116. package/web/assets/shellscript-CLZ0U2zV.js +2 -0
  1117. package/web/assets/shellscript-CLZ0U2zV.js.map +1 -0
  1118. package/web/assets/sql-BsFa4tDR.js +2 -0
  1119. package/web/assets/sql-BsFa4tDR.js.map +1 -0
  1120. package/web/assets/tsx-udAQXfEw.js +2 -0
  1121. package/web/assets/tsx-udAQXfEw.js.map +1 -0
  1122. package/web/assets/typescript-bsJCZSQ-.js +2 -0
  1123. package/web/assets/typescript-bsJCZSQ-.js.map +1 -0
  1124. package/web/assets/yaml-rwi0_p6S.js +2 -0
  1125. package/web/assets/yaml-rwi0_p6S.js.map +1 -0
  1126. package/web/index.html +29 -0
  1127. package/README.md +0 -3
@@ -0,0 +1,192 @@
1
+ {
2
+ "name": "pnpm",
3
+ "version": "10.34.6",
4
+ "description": "Fast, disk space efficient package manager",
5
+ "keywords": [
6
+ "pnpm",
7
+ "pnpm10",
8
+ "dependencies",
9
+ "dependency manager",
10
+ "efficient",
11
+ "fast",
12
+ "hardlinks",
13
+ "install",
14
+ "installer",
15
+ "link",
16
+ "lockfile",
17
+ "modules",
18
+ "monorepo",
19
+ "multi-package",
20
+ "npm",
21
+ "package manager",
22
+ "package.json",
23
+ "packages",
24
+ "prune",
25
+ "rapid",
26
+ "remove",
27
+ "shrinkwrap",
28
+ "symlinks",
29
+ "uninstall",
30
+ "workspace"
31
+ ],
32
+ "license": "MIT",
33
+ "funding": "https://opencollective.com/pnpm",
34
+ "repository": {
35
+ "type": "git",
36
+ "url": "git+https://github.com/pnpm/pnpm.git",
37
+ "directory": "pnpm"
38
+ },
39
+ "homepage": "https://pnpm.io",
40
+ "bugs": {
41
+ "url": "https://github.com/pnpm/pnpm/issues"
42
+ },
43
+ "type": "commonjs",
44
+ "main": "bin/pnpm.cjs",
45
+ "exports": {
46
+ ".": "./package.json"
47
+ },
48
+ "files": [
49
+ "dist",
50
+ "bin"
51
+ ],
52
+ "bin": {
53
+ "pnpm": "bin/pnpm.cjs",
54
+ "pnpx": "bin/pnpx.cjs"
55
+ },
56
+ "directories": {
57
+ "test": "test"
58
+ },
59
+ "unpkg": "dist/pnpm.cjs",
60
+ "__dependencies": {
61
+ "v8-compile-cache": "2.4.0"
62
+ },
63
+ "__optionalDependencies": {
64
+ "node-gyp": "^11.5.0"
65
+ },
66
+ "__devDependencies": {
67
+ "@jest/globals": "catalog:",
68
+ "@pnpm/assert-project": "workspace:*",
69
+ "@pnpm/byline": "catalog:",
70
+ "@pnpm/cache.commands": "workspace:*",
71
+ "@pnpm/cli-meta": "workspace:*",
72
+ "@pnpm/cli-utils": "workspace:*",
73
+ "@pnpm/client": "workspace:*",
74
+ "@pnpm/command": "workspace:*",
75
+ "@pnpm/common-cli-options-help": "workspace:*",
76
+ "@pnpm/config": "workspace:*",
77
+ "@pnpm/config.version-policy": "workspace:*",
78
+ "@pnpm/constants": "workspace:*",
79
+ "@pnpm/core-loggers": "workspace:*",
80
+ "@pnpm/crypto.hash": "workspace:*",
81
+ "@pnpm/default-reporter": "workspace:*",
82
+ "@pnpm/dependency-path": "workspace:*",
83
+ "@pnpm/env.path": "workspace:*",
84
+ "@pnpm/error": "workspace:*",
85
+ "@pnpm/exec.build-commands": "workspace:*",
86
+ "@pnpm/filter-workspace-packages": "workspace:*",
87
+ "@pnpm/find-workspace-dir": "workspace:*",
88
+ "@pnpm/lockfile.types": "workspace:*",
89
+ "@pnpm/logger": "workspace:*",
90
+ "@pnpm/modules-yaml": "workspace:*",
91
+ "@pnpm/nopt": "catalog:",
92
+ "@pnpm/parse-cli-args": "workspace:*",
93
+ "@pnpm/plugin-commands-audit": "workspace:*",
94
+ "@pnpm/plugin-commands-completion": "workspace:*",
95
+ "@pnpm/plugin-commands-config": "workspace:*",
96
+ "@pnpm/plugin-commands-deploy": "workspace:*",
97
+ "@pnpm/plugin-commands-doctor": "workspace:*",
98
+ "@pnpm/plugin-commands-env": "workspace:*",
99
+ "@pnpm/plugin-commands-init": "workspace:*",
100
+ "@pnpm/plugin-commands-installation": "workspace:*",
101
+ "@pnpm/plugin-commands-licenses": "workspace:*",
102
+ "@pnpm/plugin-commands-listing": "workspace:*",
103
+ "@pnpm/plugin-commands-outdated": "workspace:*",
104
+ "@pnpm/plugin-commands-patching": "workspace:*",
105
+ "@pnpm/plugin-commands-publishing": "workspace:*",
106
+ "@pnpm/plugin-commands-rebuild": "workspace:*",
107
+ "@pnpm/plugin-commands-script-runners": "workspace:*",
108
+ "@pnpm/plugin-commands-server": "workspace:*",
109
+ "@pnpm/plugin-commands-setup": "workspace:*",
110
+ "@pnpm/plugin-commands-store": "workspace:*",
111
+ "@pnpm/plugin-commands-store-inspecting": "workspace:*",
112
+ "@pnpm/prepare": "workspace:*",
113
+ "@pnpm/read-package-json": "workspace:*",
114
+ "@pnpm/read-project-manifest": "workspace:*",
115
+ "@pnpm/registry-mock": "catalog:",
116
+ "@pnpm/run-npm": "workspace:*",
117
+ "@pnpm/store.cafs": "workspace:*",
118
+ "@pnpm/tabtab": "catalog:",
119
+ "@pnpm/test-fixtures": "workspace:*",
120
+ "@pnpm/test-ipc-server": "workspace:*",
121
+ "@pnpm/tools.path": "workspace:*",
122
+ "@pnpm/tools.plugin-commands-self-updater": "workspace:*",
123
+ "@pnpm/types": "workspace:*",
124
+ "@pnpm/worker": "workspace:*",
125
+ "@pnpm/workspace.find-packages": "workspace:*",
126
+ "@pnpm/workspace.pkgs-graph": "workspace:*",
127
+ "@pnpm/workspace.read-manifest": "workspace:*",
128
+ "@pnpm/workspace.state": "workspace:*",
129
+ "@pnpm/write-project-manifest": "workspace:*",
130
+ "@types/cross-spawn": "catalog:",
131
+ "@types/is-windows": "catalog:",
132
+ "@types/pnpm__byline": "catalog:",
133
+ "@types/ramda": "catalog:",
134
+ "@types/semver": "catalog:",
135
+ "@zkochan/retry": "catalog:",
136
+ "@zkochan/rimraf": "catalog:",
137
+ "chalk": "catalog:",
138
+ "ci-info": "catalog:",
139
+ "cross-spawn": "catalog:",
140
+ "deep-require-cwd": "catalog:",
141
+ "delay": "catalog:",
142
+ "dir-is-case-sensitive": "catalog:",
143
+ "esbuild": "catalog:",
144
+ "execa": "catalog:",
145
+ "exists-link": "catalog:",
146
+ "get-port": "catalog:",
147
+ "is-windows": "catalog:",
148
+ "load-json-file": "catalog:",
149
+ "loud-rejection": "catalog:",
150
+ "normalize-newline": "catalog:",
151
+ "p-defer": "catalog:",
152
+ "path-name": "catalog:",
153
+ "pidtree": "catalog:",
154
+ "ps-list": "catalog:",
155
+ "ramda": "catalog:",
156
+ "read-yaml-file": "catalog:",
157
+ "render-help": "catalog:",
158
+ "semver": "catalog:",
159
+ "split-cmd": "catalog:",
160
+ "symlink-dir": "catalog:",
161
+ "tempy": "catalog:",
162
+ "tree-kill": "catalog:",
163
+ "write-json-file": "catalog:",
164
+ "write-pkg": "catalog:",
165
+ "write-yaml-file": "catalog:"
166
+ },
167
+ "engines": {
168
+ "node": ">=18.12"
169
+ },
170
+ "jest": {
171
+ "preset": "@pnpm/jest-config/with-registry"
172
+ },
173
+ "preferGlobal": true,
174
+ "publishConfig": {
175
+ "tag": "next-10",
176
+ "executableFiles": [
177
+ "./dist/node-gyp-bin/node-gyp",
178
+ "./dist/node-gyp-bin/node-gyp.cmd",
179
+ "./dist/node_modules/node-gyp/bin/node-gyp.js"
180
+ ]
181
+ },
182
+ "scripts": {
183
+ "bundle": "ts-node bundle.ts",
184
+ "start": "tsc --watch",
185
+ "lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
186
+ "pretest:e2e": "rimraf node_modules/.bin/pnpm",
187
+ "_test": "jest",
188
+ "test": "pnpm run compile && pnpm run _test",
189
+ "_compile": "tsc --build",
190
+ "compile": "tsc --build && pnpm run lint --fix && rimraf dist bin/nodes && pnpm run bundle && shx cp -r node-gyp-bin dist/node-gyp-bin && shx cp -r node_modules/@pnpm/tabtab/lib/templates dist/templates && shx cp -r node_modules/ps-list/vendor dist/vendor && shx cp pnpmrc dist/pnpmrc"
191
+ }
192
+ }
File without changes
@@ -0,0 +1,19 @@
1
+ # fleet 内置 skills
2
+
3
+ 随应用发布的 skills,只读。起会话时 host 把它作为**额外的 skill 根目录**交给 agent,与用户自己装在 agent 里的 skills 合并(ADR 0041):
4
+
5
+ | agent | 怎么传 | 用的路径 |
6
+ |---|---|---|
7
+ | Claude | SDK 的 `additionalDirectories`(即 `--add-dir`) | 本目录(Claude 扫 `<目录>/.claude/skills`) |
8
+ | Codex | app-server 的 `skills/extraRoots/set` | `.claude/skills` |
9
+
10
+ ## 加一个 skill
11
+
12
+ 放在 `.claude/skills/<name>/SKILL.md`,frontmatter 写 `name`(与目录同名)和 `description`。
13
+
14
+ - 本文件放在 `.claude/skills` 外面,不进 skill 根目录。
15
+ - 同名时以谁为准按各家原生规则:Claude 用户的优先,Codex 两个都列出。起名避开常见的 skill 名。
16
+
17
+ ## 打包
18
+
19
+ 桌面应用由 `clients/desktop/electron-builder.yml` 的 extraResources 带到 `resources/skills`,主进程经 `FLEET_BUILTIN_SKILLS` 交给 host;`pnpm host` 直接用仓库里的这个目录。
@@ -0,0 +1,13 @@
1
+ import{a as e,i as t,n,o as r,r as i,s as a,t as o}from"./index-Bnebzkoc.js";var s={}.hasOwnProperty;function c(e,t){let n=t||{};function r(t,...n){let i=r.invalid,a=r.handlers;if(t&&s.call(t,e)){let n=String(t[e]);i=s.call(a,n)?a[n]:r.unknown}if(i)return i.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}var l=class extends Error{constructor(e){super(e),this.name=`ShikiError`}};function u(e){return d(e)}function d(e){return Array.isArray(e)?f(e):e instanceof RegExp?e:typeof e==`object`?p(e):e}function f(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=d(e[n]);return t}function p(e){let t={};for(let n in e)t[n]=d(e[n]);return t}function m(e,...t){return t.forEach(t=>{for(let n in t)e[n]=t[n]}),e}function h(e){let t=~e.lastIndexOf(`/`)||~e.lastIndexOf(`\\`);return t===0?e:~t===e.length-1?h(e.substring(0,e.length-1)):e.substr(~t+1)}var g=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,_=class{static hasCaptures(e){return e!==null&&(g.lastIndex=0,g.test(e))}static replaceCaptures(e,t,n){return e.replace(g,(e,r,i,a)=>{let o=n[parseInt(r||i,10)];if(o){let e=t.substring(o.start,o.end);for(;e[0]===`.`;)e=e.substring(1);switch(a){case`downcase`:return e.toLowerCase();case`upcase`:return e.toUpperCase();default:return e}}else return e})}};function v(e,t){return e<t?-1:+(e>t)}function ee(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let r=0;r<n;r++){let n=v(e[r],t[r]);if(n!==0)return n}return 0}return n-r}function te(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function ne(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,`\\$&`)}var re=class{constructor(e){this.fn=e}cache=new Map;get(e){if(this.cache.has(e))return this.cache.get(e);let t=this.fn(e);return this.cache.set(e,t),t}},y=class{constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(ce(e),t)}static createFromParsedTheme(e,t){return ue(e,t)}_cachedMatchRoot=new re(e=>this._root.match(e));getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;let t=e.scopeName,n=this._cachedMatchRoot.get(t).find(t=>ae(e.parent,t.parentScopes));return n?new se(n.fontStyle,n.foreground,n.background):null}},ie=class e{constructor(e,t){this.parent=e,this.scopeName=t}static push(t,n){for(let r of n)t=new e(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new e(n,t[r]);return n}push(t){return new e(this,t)}getSegments(){let e=this,t=[];for(;e;)t.push(e.scopeName),e=e.parent;return t.reverse(),t}toString(){return this.getSegments().join(` `)}extends(e){return this===e||this.parent!==null&&this.parent.extends(e)}getExtensionIfDefined(e){let t=[],n=this;for(;n&&n!==e;)t.push(n.scopeName),n=n.parent;return n===e?t.reverse():void 0}};function ae(e,t){if(t.length===0)return!0;for(let n=0;n<t.length;n++){let r=t[n],i=!1;if(r===`>`){if(n===t.length-1)return!1;r=t[++n],i=!0}for(;e&&!oe(e.scopeName,r);){if(i)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function oe(e,t){return t===e||e.startsWith(t)&&e[t.length]===`.`}var se=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function ce(e){if(!e||!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let e=0,i=t.length;e<i;e++){let i=t[e];if(!i.settings)continue;let a;if(typeof i.scope==`string`){let e=i.scope;e=e.replace(/^[,]+/,``),e=e.replace(/[,]+$/,``),a=e.split(`,`)}else a=Array.isArray(i.scope)?i.scope:[``];let o=-1;if(typeof i.settings.fontStyle==`string`){o=0;let e=i.settings.fontStyle.split(` `);for(let t=0,n=e.length;t<n;t++)switch(e[t]){case`italic`:o|=1;break;case`bold`:o|=2;break;case`underline`:o|=4;break;case`strikethrough`:o|=8}}let s=null;typeof i.settings.foreground==`string`&&te(i.settings.foreground)&&(s=i.settings.foreground);let c=null;typeof i.settings.background==`string`&&te(i.settings.background)&&(c=i.settings.background);for(let t=0,i=a.length;t<i;t++){let i=a[t].trim().split(` `),l=i[i.length-1],u=null;i.length>1&&(u=i.slice(0,i.length-1),u.reverse()),n[r++]=new le(l,u,e,o,s,c)}}return n}var le=class{constructor(e,t,n,r,i,a){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=i,this.background=a}},b=(e=>(e[e.NotSet=-1]=`NotSet`,e[e.None=0]=`None`,e[e.Italic=1]=`Italic`,e[e.Bold=2]=`Bold`,e[e.Underline=4]=`Underline`,e[e.Strikethrough=8]=`Strikethrough`,e))(b||{});function ue(e,t){e.sort((e,t)=>{let n=v(e.scope,t.scope);return n!==0||(n=ee(e.parentScopes,t.parentScopes),n!==0)?n:e.index-t.index});let n=0,r=`#000000`,i=`#ffffff`;for(;e.length>=1&&e[0].scope===``;){let t=e.shift();t.fontStyle!==-1&&(n=t.fontStyle),t.foreground!==null&&(r=t.foreground),t.background!==null&&(i=t.background)}let a=new de(t),o=new se(n,a.getId(r),a.getId(i)),s=new me(new pe(0,null,-1,0,0),[]);for(let t=0,n=e.length;t<n;t++){let n=e[t];s.insert(0,n.scope,n.parentScopes,n.fontStyle,a.getId(n.foreground),a.getId(n.background))}return new y(a,o,s)}var de=class{_isFrozen;_lastColorId;_id2color;_color2id;constructor(e){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,n=e.length;t<n;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},fe=Object.freeze([]),pe=class e{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(e,t,n,r,i){this.scopeDepth=e,this.parentScopes=t||fe,this.fontStyle=n,this.foreground=r,this.background=i}clone(){return new e(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=e[n].clone();return t}acceptOverwrite(e,t,n,r){this.scopeDepth>e?console.log(`how did this happen?`):this.scopeDepth=e,t!==-1&&(this.fontStyle=t),n!==0&&(this.foreground=n),r!==0&&(this.background=r)}},me=class e{constructor(e,t=[],n={}){this._mainRule=e,this._children=n,this._rulesWithParentScopes=t}_rulesWithParentScopes;static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let n=0,r=0;for(;e.parentScopes[n]===`>`&&n++,t.parentScopes[r]===`>`&&r++,!(n>=e.parentScopes.length||r>=t.parentScopes.length);){let i=t.parentScopes[r].length-e.parentScopes[n].length;if(i!==0)return i;n++,r++}return t.parentScopes.length-e.parentScopes.length}match(t){if(t!==``){let e=t.indexOf(`.`),n,r;if(e===-1?(n=t,r=``):(n=t.substring(0,e),r=t.substring(e+1)),this._children.hasOwnProperty(n))return this._children[n].match(r)}let n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(e._cmpBySpecificity),n}insert(t,n,r,i,a,o){if(n===``){this._doInsertHere(t,r,i,a,o);return}let s=n.indexOf(`.`),c,l;s===-1?(c=n,l=``):(c=n.substring(0,s),l=n.substring(s+1));let u;this._children.hasOwnProperty(c)?u=this._children[c]:(u=new e(this._mainRule.clone(),pe.cloneArr(this._rulesWithParentScopes)),this._children[c]=u),u.insert(t+1,l,r,i,a,o)}_doInsertHere(e,t,n,r,i){if(t===null){this._mainRule.acceptOverwrite(e,n,r,i);return}for(let a=0,o=this._rulesWithParentScopes.length;a<o;a++){let o=this._rulesWithParentScopes[a];if(ee(o.parentScopes,t)===0){o.acceptOverwrite(e,n,r,i);return}}n===-1&&(n=this._mainRule.fontStyle),r===0&&(r=this._mainRule.foreground),i===0&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new pe(e,t,n,r,i))}},x=class e{static toBinaryStr(e){return e.toString(2).padStart(32,`0`)}static print(t){let n=e.getLanguageId(t),r=e.getTokenType(t),i=e.getFontStyle(t),a=e.getForeground(t),o=e.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:i,foreground:a,background:o})}static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return!!(e&1024)}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static set(t,n,r,i,a,o,s){let c=e.getLanguageId(t),l=e.getTokenType(t),u=+!!e.containsBalancedBrackets(t),d=e.getFontStyle(t),f=e.getForeground(t),p=e.getBackground(t);return n!==0&&(c=n),r!==8&&(l=ge(r)),i!==null&&(u=+!!i),a!==-1&&(d=a),o!==0&&(f=o),s!==0&&(p=s),(c<<0|l<<8|u<<10|d<<11|f<<15|p<<24)>>>0}};function he(e){return e}function ge(e){return e}function S(e,t){let n=[],r=ve(e),i=r.next();for(;i!==null;){let e=0;if(i.length===2&&i.charAt(1)===`:`){switch(i.charAt(0)){case`R`:e=1;break;case`L`:e=-1;break;default:console.log(`Unknown priority ${i} in scope selector`)}i=r.next()}let t=o();if(n.push({matcher:t,priority:e}),i!==`,`)break;i=r.next()}return n;function a(){if(i===`-`){i=r.next();let e=a();return t=>!!e&&!e(t)}if(i===`(`){i=r.next();let e=s();return i===`)`&&(i=r.next()),e}if(_e(i)){let e=[];do e.push(i),i=r.next();while(_e(i));return n=>t(e,n)}return null}function o(){let e=[],t=a();for(;t;)e.push(t),t=a();return t=>e.every(e=>e(t))}function s(){let e=[],t=o();for(;t&&(e.push(t),i===`|`||i===`,`);){do i=r.next();while(i===`|`||i===`,`);t=o()}return t=>e.some(e=>e(t))}}function _e(e){return!!e&&!!e.match(/[\w\.:]+/)}function ve(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;let r=n[0];return n=t.exec(e),r}}}function ye(e){typeof e.dispose==`function`&&e.dispose()}var C=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},be=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},xe=class{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(e){let t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},Se=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new C(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){let e=this.Q;this.Q=[];let t=new xe;for(let n of e)Ce(n,this.initialScopeName,this.repo,t);for(let e of t.references)if(e instanceof C){if(this.seenFullScopeRequests.has(e.scopeName))continue;this.seenFullScopeRequests.add(e.scopeName),this.Q.push(e)}else{if(this.seenFullScopeRequests.has(e.scopeName)||this.seenPartialScopeRequests.has(e.toKey()))continue;this.seenPartialScopeRequests.add(e.toKey()),this.Q.push(e)}}};function Ce(e,t,n,r){let i=n.lookup(e.scopeName);if(!i){if(e.scopeName===t)throw Error(`No grammar provided for <${t}>`);return}let a=n.lookup(t);e instanceof C?w({baseGrammar:a,selfGrammar:i},r):we(e.ruleName,{baseGrammar:a,selfGrammar:i,repository:i.repository},r);let o=n.injections(e.scopeName);if(o)for(let e of o)r.add(new C(e))}function we(e,t,n){if(t.repository&&t.repository[e]){let r=t.repository[e];T([r],t,n)}}function w(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&T(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&T(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function T(e,t,n){for(let r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);let e=r.repository?m({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&T(r.patterns,{...t,repository:e},n);let i=r.include;if(!i)continue;let a=Ae(i);switch(a.kind){case 0:w({...t,selfGrammar:t.baseGrammar},n);break;case 1:w(t,n);break;case 2:we(a.ruleName,{...t,repository:e},n);break;case 3:case 4:let r=a.scopeName===t.selfGrammar.scopeName?t.selfGrammar:a.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(r){let i={baseGrammar:t.baseGrammar,selfGrammar:r,repository:e};a.kind===4?we(a.ruleName,i,n):w(i,n)}else a.kind===4?n.add(new be(a.scopeName,a.ruleName)):n.add(new C(a.scopeName))}}}var Te=class{kind=0},Ee=class{kind=1},De=class{constructor(e){this.ruleName=e}kind=2},Oe=class{constructor(e){this.scopeName=e}kind=3},ke=class{constructor(e,t){this.scopeName=e,this.ruleName=t}kind=4};function Ae(e){if(e===`$base`)return new Te;if(e===`$self`)return new Ee;let t=e.indexOf(`#`);return t===-1?new Oe(e):t===0?new De(e.substring(1)):new ke(e.substring(0,t),e.substring(t+1))}var je=/\\(\d+)/,Me=/\\(\d+)/g,Ne=-1,Pe=-2;function Fe(e){return e}function Ie(e){return e}var E=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,n,r){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=_.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=_.hasCaptures(this._contentName)}get debugName(){let e=this.$location?`${h(this.$location.filename)}:${this.$location.line}`:`unknown`;return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:_.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:_.replaceCaptures(this._contentName,e,t)}},Le=class extends E{retokenizeCapturedWithRuleId;constructor(e,t,n,r,i){super(e,t,n,r),this.retokenizeCapturedWithRuleId=i}dispose(){}collectPatterns(e,t){throw Error(`Not supported!`)}compile(e,t){throw Error(`Not supported!`)}compileAG(e,t,n,r){throw Error(`Not supported!`)}},Re=class extends E{_match;captures;_cachedCompiledPatterns;constructor(e,t,n,r,i){super(e,t,n,null),this._match=new D(r,this.id),this.captures=i,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&=(this._cachedCompiledPatterns.dispose(),null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new O,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},ze=class extends E{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,i){super(e,t,n,r),this.patterns=i.patterns,this.hasMissingPatterns=i.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&=(this._cachedCompiledPatterns.dispose(),null)}collectPatterns(e,t){for(let n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new O,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Be=class extends E{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,i,a,o,s,c,l){super(e,t,n,r),this._begin=new D(i,this.id),this.beginCaptures=a,this._end=new D(o||`￿`,-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=s,this.applyEndPatternLast=c||!1,this.patterns=l.patterns,this.hasMissingPatterns=l.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&=(this._cachedCompiledPatterns.dispose(),null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,r)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new O;for(let t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},Ve=class extends E{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(e,t,n,r,i,a,o,s,c){super(e,t,n,r),this._begin=new D(i,this.id),this.beginCaptures=a,this.whileCaptures=s,this._while=new D(o,Pe),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&=(this._cachedCompiledPatterns.dispose(),null),this._cachedCompiledWhilePatterns&&=(this._cachedCompiledWhilePatterns.dispose(),null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new O;for(let t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,r){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,r)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new O,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||`￿`),this._cachedCompiledWhilePatterns}},He=class e{static createCaptureRule(e,t,n,r,i){return e.registerRule(e=>new Le(t,e,n,r,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(i=>{if(t.id=i,t.match)return new Re(t.$vscodeTextmateLocation,t.id,t.name,t.match,e._compileCaptures(t.captures,n,r));if(t.begin===void 0){t.repository&&(r=m({},r,t.repository));let i=t.patterns;return i===void 0&&t.include&&(i=[{include:t.include}]),new ze(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,e._compilePatterns(i,n,r))}return t.while?new Ve(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,e._compileCaptures(t.whileCaptures||t.captures,n,r),e._compilePatterns(t.patterns,n,r)):new Be(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,e._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,e._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let i=[];if(t){let a=0;for(let e in t){if(e===`$vscodeTextmateLocation`)continue;let t=parseInt(e,10);t>a&&(a=t)}for(let e=0;e<=a;e++)i[e]=null;for(let a in t){if(a===`$vscodeTextmateLocation`)continue;let o=parseInt(a,10),s=0;t[a].patterns&&(s=e.getCompiledRuleId(t[a],n,r)),i[o]=e.createCaptureRule(n,t[a].$vscodeTextmateLocation,t[a].name,t[a].contentName,s)}}return i}static _compilePatterns(t,n,r){let i=[];if(t)for(let a=0,o=t.length;a<o;a++){let o=t[a],s=-1;if(o.include){let t=Ae(o.include);switch(t.kind){case 0:case 1:s=e.getCompiledRuleId(r[o.include],n,r);break;case 2:let i=r[t.ruleName];i&&(s=e.getCompiledRuleId(i,n,r));break;case 3:case 4:let a=t.scopeName,c=t.kind===4?t.ruleName:null,l=n.getExternalGrammar(a,r);if(l){if(c){let t=l.repository[c];t&&(s=e.getCompiledRuleId(t,n,l.repository))}else s=e.getCompiledRuleId(l.repository.$self,n,l.repository)}}}else s=e.getCompiledRuleId(o,n,r);if(s!==-1){let e=n.getRule(s),t=!1;if((e instanceof ze||e instanceof Be||e instanceof Ve)&&e.hasMissingPatterns&&e.patterns.length===0&&(t=!0),t)continue;i.push(s)}}return{patterns:i,hasMissingPatterns:(t?t.length:0)!==i.length}}},D=class e{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(e,t){if(e&&typeof e==`string`){let t=e.length,n=0,r=[],i=!1;for(let a=0;a<t;a++)if(e.charAt(a)===`\\`&&a+1<t){let t=e.charAt(a+1);t===`z`?(r.push(e.substring(n,a)),r.push(`$(?!\\n)(?<!\\n)`),n=a+2):(t===`A`||t===`G`)&&(i=!0),a++}this.hasAnchor=i,n===0?this.source=e:(r.push(e.substring(n,t)),this.source=r.join(``))}else this.hasAnchor=!1,this.source=e;this._anchorCache=this.hasAnchor?this._buildAnchorCache():null,this.ruleId=t,this.hasBackReferences=typeof this.source==`string`&&je.test(this.source)}clone(){return new e(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,t){if(typeof this.source!=`string`)throw Error(`This method should only be called if the source is a string`);let n=t.map(t=>e.substring(t.start,t.end));return Me.lastIndex=0,this.source.replace(Me,(e,t)=>ne(n[parseInt(t,10)]||``))}_buildAnchorCache(){if(typeof this.source!=`string`)throw Error(`This method should only be called if the source is a string`);let e=[],t=[],n=[],r=[],i,a,o,s;for(i=0,a=this.source.length;i<a;i++)o=this.source.charAt(i),e[i]=o,t[i]=o,n[i]=o,r[i]=o,o===`\\`&&i+1<a&&(s=this.source.charAt(i+1),s===`A`?(e[i+1]=`￿`,t[i+1]=`￿`,n[i+1]=`A`,r[i+1]=`A`):s===`G`?(e[i+1]=`￿`,t[i+1]=`G`,n[i+1]=`￿`,r[i+1]=`G`):(e[i+1]=s,t[i+1]=s,n[i+1]=s,r[i+1]=s),i++);return{A0_G0:e.join(``),A0_G1:t.join(``),A1_G0:n.join(``),A1_G1:r.join(``)}}resolveAnchors(e,t){return!this.hasAnchor||!this._anchorCache||typeof this.source!=`string`?this.source:e?t?this._anchorCache.A1_G1:this._anchorCache.A1_G0:t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},O=class{_items;_hasAnchors;_cached;_anchorCache;constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&=(this._cached.dispose(),null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(e=>e.source);this._cached=new Ue(e,t,this._items.map(e=>e.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){return new Ue(e,this._items.map(e=>e.resolveAnchors(t,n)),this._items.map(e=>e.ruleId))}},Ue=class{constructor(e,t,n){this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}scanner;dispose(){typeof this.scanner.dispose==`function`&&this.scanner.dispose()}toString(){let e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push(` - `+this.rules[t]+`: `+this.regExps[t]);return e.join(`
2
+ `)}findNextMatchSync(e,t,n){let r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},We=class{constructor(e,t){this.languageId=e,this.tokenType=t}},Ge=class e{_defaultAttributes;_embeddedLanguagesMatcher;constructor(e,t){this._defaultAttributes=new We(e,8),this._embeddedLanguagesMatcher=new Ke(Object.entries(t||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?e._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new We(0,0);_getBasicScopeAttributes=new re(e=>new We(this._scopeToLanguage(e),this._toStandardTokenType(e)));_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(t){let n=t.match(e.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case`comment`:return 1;case`string`:return 2;case`regex`:return 3;case`meta.embedded`:return 0}throw Error(`Unexpected match for standard token type!`)}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/},Ke=class{values;scopesRegExp;constructor(e){if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);let t=e.map(([e,t])=>ne(e));t.sort(),t.reverse(),this.scopesRegExp=RegExp(`^((${t.join(`)|(`)}))($|\\.)`,``)}}match(e){if(!this.scopesRegExp)return;let t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}};typeof process<`u`&&{}.VSCODE_TEXTMATE_DEBUG;var qe=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function Je(e,t,n,r,i,a,o,s){let c=t.content.length,l=!1,u=-1;if(o){let o=Ye(e,t,n,r,i,a);i=o.stack,r=o.linePos,n=o.isFirstLine,u=o.anchorPosition}let d=Date.now();for(;!l;){if(s!==0&&Date.now()-d>s)return new qe(i,!0);f()}return new qe(i,!1);function f(){let o=Xe(e,t,n,r,i,u);if(!o){a.produce(i,c),l=!0;return}let s=o.captureIndices,d=o.matchedRuleId,f=s&&s.length>0?s[0].end>r:!1;if(d===Ne){let o=i.getRule(e);a.produce(i,s[0].start),i=i.withContentNameScopesList(i.nameScopesList),k(e,t,n,i,a,o.endCaptures,s),a.produce(i,s[0].end);let d=i;if(i=i.parent,u=d.getAnchorPos(),!f&&d.getEnterPos()===r){i=d,a.produce(i,c),l=!0;return}}else{let o=e.getRule(d);a.produce(i,s[0].start);let p=i,m=o.getName(t.content,s),h=i.contentNameScopesList.pushAttributed(m,e);if(i=i.push(d,r,u,s[0].end===c,null,h,h),o instanceof Be){let r=o;k(e,t,n,i,a,r.beginCaptures,s),a.produce(i,s[0].end),u=s[0].end;let d=r.getContentName(t.content,s),m=h.pushAttributed(d,e);if(i=i.withContentNameScopesList(m),r.endHasBackReferences&&(i=i.withEndRule(r.getEndWithResolvedBackReferences(t.content,s))),!f&&p.hasSameRuleAs(i)){i=i.pop(),a.produce(i,c),l=!0;return}}else if(o instanceof Ve){let r=o;k(e,t,n,i,a,r.beginCaptures,s),a.produce(i,s[0].end),u=s[0].end;let d=r.getContentName(t.content,s),m=h.pushAttributed(d,e);if(i=i.withContentNameScopesList(m),r.whileHasBackReferences&&(i=i.withEndRule(r.getWhileWithResolvedBackReferences(t.content,s))),!f&&p.hasSameRuleAs(i)){i=i.pop(),a.produce(i,c),l=!0;return}}else if(k(e,t,n,i,a,o.captures,s),a.produce(i,s[0].end),i=i.pop(),!f){i=i.safePop(),a.produce(i,c),l=!0;return}}s[0].end>r&&(r=s[0].end,n=!1)}}function Ye(e,t,n,r,i,a){let o=i.beginRuleCapturedEOL?0:-1,s=[];for(let t=i;t;t=t.pop()){let n=t.getRule(e);n instanceof Ve&&s.push({rule:n,stack:t})}for(let c=s.pop();c;c=s.pop()){let{ruleScanner:s,findOptions:l}=et(c.rule,e,c.stack.endRule,n,r===o),u=s.findNextMatchSync(t,r,l);if(u){if(u.ruleId!==Pe){i=c.stack.pop();break}u.captureIndices&&u.captureIndices.length&&(a.produce(c.stack,u.captureIndices[0].start),k(e,t,n,c.stack,a,c.rule.whileCaptures,u.captureIndices),a.produce(c.stack,u.captureIndices[0].end),o=u.captureIndices[0].end,u.captureIndices[0].end>r&&(r=u.captureIndices[0].end,n=!1))}else{i=c.stack.pop();break}}return{stack:i,linePos:r,anchorPosition:o,isFirstLine:n}}function Xe(e,t,n,r,i,a){let o=Ze(e,t,n,r,i,a),s=e.getInjections();if(s.length===0)return o;let c=Qe(s,e,t,n,r,i,a);if(!c)return o;if(!o)return c;let l=o.captureIndices[0].start,u=c.captureIndices[0].start;return u<l||c.priorityMatch&&u===l?c:o}function Ze(e,t,n,r,i,a){let{ruleScanner:o,findOptions:s}=$e(i.getRule(e),e,i.endRule,n,r===a),c=o.findNextMatchSync(t,r,s);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function Qe(e,t,n,r,i,a,o){let s=Number.MAX_VALUE,c=null,l,u=0,d=a.contentNameScopesList.getScopeNames();for(let a=0,f=e.length;a<f;a++){let f=e[a];if(!f.matcher(d))continue;let{ruleScanner:p,findOptions:m}=$e(t.getRule(f.ruleId),t,null,r,i===o),h=p.findNextMatchSync(n,i,m);if(!h)continue;let g=h.captureIndices[0].start;if(!(g>=s)&&(s=g,c=h.captureIndices,l=h.ruleId,u=f.priority,s===i))break}return c?{priorityMatch:u===-1,captureIndices:c,matchedRuleId:l}:null}function $e(e,t,n,r,i){return{ruleScanner:e.compileAG(t,n,r,i),findOptions:0}}function et(e,t,n,r,i){return{ruleScanner:e.compileWhileAG(t,n,r,i),findOptions:0}}function k(e,t,n,r,i,a,o){if(a.length===0)return;let s=t.content,c=Math.min(a.length,o.length),l=[],u=o[0].end;for(let t=0;t<c;t++){let c=a[t];if(c===null)continue;let d=o[t];if(d.length===0)continue;if(d.start>u)break;for(;l.length>0&&l[l.length-1].endPos<=d.start;)i.produceFromScopes(l[l.length-1].scopes,l[l.length-1].endPos),l.pop();if(l.length>0?i.produceFromScopes(l[l.length-1].scopes,d.start):i.produce(r,d.start),c.retokenizeCapturedWithRuleId){let t=c.getName(s,o),a=r.contentNameScopesList.pushAttributed(t,e),l=c.getContentName(s,o),u=a.pushAttributed(l,e),f=r.push(c.retokenizeCapturedWithRuleId,d.start,-1,!1,null,a,u),p=e.createOnigString(s.substring(0,d.end));Je(e,p,n&&d.start===0,d.start,f,i,!1,0),ye(p);continue}let f=c.getName(s,o);if(f!==null){let t=(l.length>0?l[l.length-1].scopes:r.contentNameScopesList).pushAttributed(f,e);l.push(new tt(t,d.end))}}for(;l.length>0;)i.produceFromScopes(l[l.length-1].scopes,l[l.length-1].endPos),l.pop()}var tt=class{scopes;endPos;constructor(e,t){this.scopes=e,this.endPos=t}};function nt(e,t,n,r,i,a,o,s){return new at(e,t,n,r,i,a,o,s)}function rt(e,t,n,r,i){let a=S(t,A),o=He.getCompiledRuleId(n,r,i.repository);for(let n of a)e.push({debugSelector:t,matcher:n.matcher,ruleId:o,grammar:i,priority:n.priority})}function A(e,t){if(t.length<e.length)return!1;let n=0;return e.every(e=>{for(let r=n;r<t.length;r++)if(it(t[r],e))return n=r+1,!0;return!1})}function it(e,t){if(!e)return!1;if(e===t)return!0;let n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]===`.`}var at=class{constructor(e,t,n,r,i,a,o,s){if(this._rootScopeName=e,this.balancedBracketSelectors=a,this._onigLib=s,this._basicScopeAttributesProvider=new Ge(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=o,this._grammar=ot(t,null),this._injections=null,this._tokenTypeMatchers=[],i)for(let e of Object.keys(i)){let t=S(e,A);for(let n of t)this._tokenTypeMatchers.push({matcher:n.matcher,type:i[e]})}}_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}dispose(){for(let e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){let e={lookup:e=>e===this._rootScopeName?this._grammar:this.getExternalGrammar(e),injections:e=>this._grammarRepository.injections(e)},t=[],n=this._rootScopeName,r=e.lookup(n);if(r){let e=r.injections;if(e)for(let n in e)rt(t,n,e[n],this,r);let i=this._grammarRepository.injections(n);i&&i.forEach(e=>{let n=this.getExternalGrammar(e);if(n){let e=n.injectionSelector;e&&rt(t,e,n,this,n)}})}return t.sort((e,t)=>e.priority-t.priority),t}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){let t=++this._lastRuleId,n=e(Fe(t));return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[Ie(e)]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){let n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=ot(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){let r=this._tokenize(e,t,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(e,t,n=0){let r=this._tokenize(e,t,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(e,t,n,r){this._rootId===-1&&(this._rootId=He.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let i;if(!t||t===st.NULL){i=!0;let e=this._basicScopeAttributesProvider.getDefaultAttributes(),n=this.themeProvider.getDefaults(),r=x.set(0,e.languageId,e.tokenType,null,n.fontStyle,n.foregroundId,n.backgroundId),a=this.getRule(this._rootId).getName(null,null),o;o=a?j.createRootAndLookUpScopeName(a,r,this):j.createRoot(`unknown`,r),t=new st(null,this._rootId,-1,-1,!1,null,o,o)}else i=!1,t.reset();e+=`
3
+ `;let a=this.createOnigString(e),o=a.content.length,s=new lt(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),c=Je(this,a,i,0,t,s,!0,r);return ye(a),{lineLength:o,lineTokens:s,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}};function ot(e,t){return e=u(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}var j=class e{constructor(e,t,n){this.parent=e,this.scopePath=t,this.tokenAttributes=n}static fromExtension(t,n){let r=t,i=t?.scopePath??null;for(let t of n)i=ie.push(i,t.scopeNames),r=new e(r,i,t.encodedTokenAttributes);return r}static createRoot(t,n){return new e(null,new ie(null,t),n)}static createRootAndLookUpScopeName(t,n,r){let i=r.getMetadataForScope(t),a=new ie(null,t),o=r.themeProvider.themeMatch(a),s=e.mergeAttributes(n,i,o);return new e(null,a,s)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(` `)}equals(t){return e.equals(this,t)}static equals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.scopeName!==t.scopeName||e.tokenAttributes!==t.tokenAttributes)return!1;e=e.parent,t=t.parent}while(!0)}static mergeAttributes(e,t,n){let r=-1,i=0,a=0;return n!==null&&(r=n.fontStyle,i=n.foregroundId,a=n.backgroundId),x.set(e,t.languageId,t.tokenType,null,r,i,a)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(` `)===-1)return e._pushAttributed(this,t,n);let r=t.split(/ /g),i=this;for(let t of r)i=e._pushAttributed(i,t,n);return i}static _pushAttributed(t,n,r){let i=r.getMetadataForScope(n),a=t.scopePath.push(n),o=r.themeProvider.themeMatch(a),s=e.mergeAttributes(t.tokenAttributes,i,o);return new e(t,a,s)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){let t=[],n=this;for(;n&&n!==e;)t.push({encodedTokenAttributes:n.tokenAttributes,scopeNames:n.scopePath.getExtensionIfDefined(n.parent?.scopePath??null)}),n=n.parent;return n===e?t.reverse():void 0}},st=class e{constructor(e,t,n,r,i,a,o,s){this.parent=e,this.ruleId=t,this.beginRuleCapturedEOL=i,this.endRule=a,this.nameScopesList=o,this.contentNameScopesList=s,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=n,this._anchorPos=r}_stackElementBrand=void 0;static NULL=new e(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(t){return t!==null&&e._equals(this,t)}static _equals(e,t){return e===t?!0:this._structuralEquals(e,t)?j.equals(e.contentNameScopesList,t.contentNameScopesList):!1}static _structuralEquals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.depth!==t.depth||e.ruleId!==t.ruleId||e.endRule!==t.endRule)return!1;e=e.parent,t=t.parent}while(!0)}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){e._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,i,a,o,s){return new e(this,t,n,r,i,a,o,s)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){let e=[];return this._writeString(e,0),`[`+e.join(`,`)+`]`}_writeString(e,t){return this.parent&&(t=this.parent._writeString(e,t)),e[t++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,t}withContentNameScopesList(e){return this.contentNameScopesList===e?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,e)}withEndRule(t){return this.endRule===t?this:new e(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let t=this;for(;t&&t._enterPos===e._enterPos;){if(t.ruleId===e.ruleId)return!0;t=t.parent}return!1}toStateStackFrame(){return{ruleId:Ie(this.ruleId),beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(t,n){let r=j.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new e(t,Fe(n.ruleId),n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,j.fromExtension(r,n.contentNameScopesList))}},ct=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(e,t){this.balancedBracketScopes=e.flatMap(e=>e===`*`?(this.allowAny=!0,[]):S(e,A).map(e=>e.matcher)),this.unbalancedBracketScopes=t.flatMap(e=>S(e,A).map(e=>e.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(let t of this.unbalancedBracketScopes)if(t(e))return!1;for(let t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},lt=class{constructor(e,t,n,r){this.balancedBracketSelectors=r,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let n=e?.tokenAttributes??0,r=!1;if(this.balancedBracketSelectors?.matchesAlways&&(r=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){let t=e?.getScopeNames()??[];for(let e of this._tokenTypeOverrides)e.matcher(t)&&(n=x.set(n,0,he(e.type),null,-1,0,0));this.balancedBracketSelectors&&(r=this.balancedBracketSelectors.match(t))}if(r&&(n=x.set(n,0,8,r,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===n){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(n),this._lastTokenEndIndex=t;return}let n=e?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:n}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);let n=new Uint32Array(this._binaryTokens.length);for(let e=0,t=this._binaryTokens.length;e<t;e++)n[e]=this._binaryTokens[e];return n}},ut=class{constructor(e,t){this._onigLib=t,this._theme=e}_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;dispose(){for(let e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,n,r,i){if(!this._grammars.has(e)){let a=this._rawGrammars.get(e);if(!a)return null;this._grammars.set(e,nt(e,a,t,n,r,i,this,this._onigLib))}return this._grammars.get(e)}},dt=class{_options;_syncRegistry;_ensureGrammarCache;constructor(e){this._options=e,this._syncRegistry=new ut(y.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,t){this._syncRegistry.setTheme(y.createFromRawTheme(e,t))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(e,t,n){return this.loadGrammarWithConfiguration(e,t,{embeddedLanguages:n})}loadGrammarWithConfiguration(e,t,n){return this._loadGrammar(e,t,n.embeddedLanguages,n.tokenTypes,new ct(n.balancedBracketSelectors||[],n.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,t,n,r,i){let a=new Se(this._syncRegistry,e);for(;a.Q.length>0;)a.Q.map(e=>this._loadSingleGrammar(e.scopeName)),a.processQueue();return this._grammarForScopeName(e,t,n,r,i)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){let t=this._options.loadGrammar(e);if(t){let n=typeof this._options.getInjections==`function`?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,n)}}addGrammar(e,t=[],n=0,r=null){return this._syncRegistry.addGrammar(e,t),this._grammarForScopeName(e.scopeName,n,r)}_grammarForScopeName(e,t=0,n=null,r=null,i=null){return this._syncRegistry.grammarForScopeName(e,t,n,r,i)}},ft=st.NULL;function M(e,t){let n=typeof e==`string`?{}:{...e.colorReplacements},r=typeof e==`string`?e:e.name;for(let[e,i]of Object.entries(t?.colorReplacements||{}))typeof i==`string`?n[e]=i:e===r&&Object.assign(n,i);return n}function N(e,t){return e&&(t?.[e?.toLowerCase()]||e)}function pt(e){return Array.isArray(e)?e:[e]}async function mt(e){return Promise.resolve(typeof e==`function`?e():e).then(e=>e.default||e)}function P(e){return!e||[`plaintext`,`txt`,`text`,`plain`].includes(e)}function ht(e){return e===`ansi`||P(e)}function F(e){return e===`none`}function gt(e){return F(e)}var _t=/(\r?\n)/g;function I(e,t=!1){if(e.length===0)return[[``,0]];let n=e.split(_t),r=0,i=[];for(let e=0;e<n.length;e+=2){let a=t?n[e]+(n[e+1]||``):n[e];i.push([a,r]),r+=n[e].length,r+=n[e+1]?.length||0}return i}var vt={light:`#333333`,dark:`#bbbbbb`},yt={light:`#fffffe`,dark:`#1e1e1e`},bt=`__shiki_resolved`;function L(e){if(e?.[bt])return e;let t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||=`dark`,t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:r}=t;if(!n||!r){let e=t.settings?t.settings.find(e=>!e.name&&!e.scope):void 0;e?.settings?.foreground&&(r=e.settings.foreground),e?.settings?.background&&(n=e.settings.background),!r&&t?.colors?.[`editor.foreground`]&&(r=t.colors[`editor.foreground`]),!n&&t?.colors?.[`editor.background`]&&(n=t.colors[`editor.background`]),r||=t.type===`light`?vt.light:vt.dark,n||=t.type===`light`?yt.light:yt.dark,t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let i=0,a=new Map;function o(e){if(a.has(e))return a.get(e);i+=1;let n=`#${i.toString(16).padStart(8,`0`).toLowerCase()}`;return t.colorReplacements?.[`#${n}`]?o(e):(a.set(e,n),n)}t.settings=t.settings.map(e=>{let n=e.settings?.foreground&&!e.settings.foreground.startsWith(`#`),r=e.settings?.background&&!e.settings.background.startsWith(`#`);if(!n&&!r)return e;let i={...e,settings:{...e.settings}};if(n){let n=o(e.settings.foreground);t.colorReplacements[n]=e.settings.foreground,i.settings.foreground=n}if(r){let n=o(e.settings.background);t.colorReplacements[n]=e.settings.background,i.settings.background=n}return i});for(let e of Object.keys(t.colors||{}))if((e===`editor.foreground`||e===`editor.background`||e.startsWith(`terminal.ansi`))&&!t.colors[e]?.startsWith(`#`)){let n=o(t.colors[e]);t.colorReplacements[n]=t.colors[e],t.colors[e]=n}return Object.defineProperty(t,bt,{enumerable:!1,writable:!1,value:!0}),t}async function xt(e){return[...new Set((await Promise.all(e.filter(e=>!ht(e)).map(async e=>await mt(e).then(e=>Array.isArray(e)?e:[e])))).flat())]}async function St(e){return(await Promise.all(e.map(async e=>gt(e)?null:L(await mt(e))))).filter(e=>!!e)}function Ct(e,t){if(!t)return e;if(t[e]){let n=new Set([e]);for(;t[e];){if(e=t[e],n.has(e))throw new l(`Circular alias \`${[...n].join(` -> `)} -> ${e}\``);n.add(e)}}return e}var wt=class extends dt{_resolver;_themes;_langs;_alias;_resolvedThemes=new Map;_resolvedGrammars=new Map;_langMap=new Map;_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;constructor(e,t,n,r={}){super(e),this._resolver=e,this._themes=t,this._langs=n,this._alias=r,this._themes.map(e=>this.loadTheme(e)),this.loadLanguages(this._langs)}getTheme(e){return typeof e==`string`?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){let t=L(e);return t.name&&(this._resolvedThemes.set(t.name,t),this._loadedThemesCache=null),t}getLoadedThemes(){return this._loadedThemesCache||=[...this._resolvedThemes.keys()],this._loadedThemesCache}setTheme(e){let t=this._textmateThemeCache.get(e);t||(t=y.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){return e=Ct(e,this._alias),this._resolvedGrammars.get(e)}loadLanguage(e){if(this.getGrammar(e.name))return;let t=new Set([...this._langMap.values()].filter(t=>t.embeddedLangsLazy?.includes(e.name)));this._resolver.addLanguage(e);let n={balancedBracketSelectors:e.balancedBracketSelectors||[`*`],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);let r=this.loadGrammarWithConfiguration(e.scopeName,1,n);if(r.name=e.name,this._resolvedGrammars.set(e.name,r),e.aliases&&e.aliases.forEach(t=>{this._alias[t]=e.name}),this._loadedLanguagesCache=null,t.size)for(let e of t)this._resolvedGrammars.delete(e.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(e.scopeName),this._syncRegistry?._grammars?.delete(e.scopeName),this.loadLanguage(this._langMap.get(e.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(e){for(let t of e)this.resolveEmbeddedLanguages(t);let t=[...this._langGraph.entries()],n=t.filter(([e,t])=>!t);if(n.length){let e=t.filter(([e,t])=>t?(t.embeddedLanguages||t.embeddedLangs)?.some(e=>n.map(([e])=>e).includes(e)):!1).filter(e=>!n.includes(e));throw new l(`Missing languages ${n.map(([e])=>`\`${e}\``).join(`, `)}, required by ${e.map(([e])=>`\`${e}\``).join(`, `)}`)}for(let[e,n]of t)this._resolver.addLanguage(n);for(let[e,n]of t)this.loadLanguage(n)}getLoadedLanguages(){return this._loadedLanguagesCache||=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])],this._loadedLanguagesCache}resolveEmbeddedLanguages(e){this._langMap.set(e.name,e),this._langGraph.set(e.name,e);let t=e.embeddedLanguages??e.embeddedLangs;if(t)for(let e of t)this._langGraph.set(e,this._langMap.get(e))}},Tt=class{_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLib;constructor(e,t){this._onigLib={createOnigScanner:t=>e.createScanner(t),createOnigString:t=>e.createString(t)},t.forEach(e=>this.addLanguage(e))}get onigLib(){return this._onigLib}getLangRegistration(e){return this._langs.get(e)}loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(t=>{this._langs.set(t,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(t=>{this._injections.get(t)||this._injections.set(t,[]),this._injections.get(t).push(e.scopeName)})}getInjections(e){let t=e.split(`.`),n=[];for(let e=1;e<=t.length;e++){let r=t.slice(0,e).join(`.`);n=[...n,...this._injections.get(r)||[]]}return n}},R=0;function z(e){R+=1,e.warnings!==!1&&R>=10&&R%10==0&&console.warn(`[Shiki] ${R} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new l("`engine` option is required for synchronous mode");let n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(L),i=new wt(new Tt(e.engine,n),r,n,e.langAlias),a;function o(t){return Ct(t,e.langAlias)}function s(e){_();let t=i.getGrammar(typeof e==`string`?e:e.name);if(!t)throw new l(`Language \`${e}\` not found, you may need to load it first`);return t}function c(e){if(e===`none`)return{bg:``,fg:``,name:`none`,settings:[],type:`dark`};_();let t=i.getTheme(e);if(!t)throw new l(`Theme \`${e}\` not found, you may need to load it first`);return t}function u(e){_();let t=c(e);return a!==e&&(i.setTheme(t),a=e),{theme:t,colorMap:i.getColorMap()}}function d(){return _(),i.getLoadedThemes()}function f(){return _(),i.getLoadedLanguages()}function p(...e){_(),i.loadLanguages(e.flat(1))}async function m(...e){return p(await xt(e))}function h(...e){_();for(let t of e.flat(1))i.loadTheme(t)}async function g(...e){return _(),h(await St(e))}function _(){if(t)throw new l(`Shiki instance has been disposed`)}function v(){t||(t=!0,i.dispose(),--R)}return{setTheme:u,getTheme:c,getLanguage:s,getLoadedThemes:d,getLoadedLanguages:f,resolveLangAlias:o,loadLanguage:m,loadLanguageSync:p,loadTheme:g,loadThemeSync:h,dispose:v,[Symbol.dispose]:v}}var Et=z;async function Dt(e){e.engine||console.warn("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");let[t,n,r]=await Promise.all([St(e.themes||[]),xt(e.langs||[]),e.engine]);return z({...e,themes:t,langs:n,engine:r})}var Ot=Dt,kt=new WeakMap;function B(e,t){kt.set(e,t)}function V(e){return kt.get(e)}var H=class e{_stacks={};lang;get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,n){return new e(Object.fromEntries(pt(n).map(e=>[e,ft])),t)}constructor(...e){if(e.length===2){let[t,n]=e;this.lang=n,this._stacks=t}else{let[t,n,r]=e;this.lang=n,this._stacks={[r]:t}}}getInternalStack(e=this.theme){return this._stacks[e]}getScopes(e=this.theme){return At(this._stacks[e])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}};function At(e){let t=[],n=new Set;function r(e){if(n.has(e))return;n.add(e);let i=e?.nameScopesList?.scopeName;i&&t.push(i),e.parent&&r(e.parent)}return r(e),t}function jt(e,t){if(!(e instanceof H))throw new l(`Invalid grammar state`);return e.getInternalStack(t)}var Mt=/,/,Nt=/ /;function Pt(e,t,n={}){let{theme:r=e.getLoadedThemes()[0]}=n;if(P(e.resolveLangAlias(n.lang||`text`))||F(r))return I(t).map(e=>[{content:e[0],offset:e[1]}]);let{theme:i,colorMap:a}=e.setTheme(r),o=e.getLanguage(n.lang||`text`);if(n.grammarState){if(n.grammarState.lang!==o.name)throw new l(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${o.name}"`);if(!n.grammarState.themes.includes(i.name))throw new l(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${i.name}"`)}return It(t,o,i,a,n)}function Ft(...e){if(e.length===2)return V(e[1]);let[t,n,r={}]=e,{lang:i=`text`,theme:a=t.getLoadedThemes()[0]}=r;if(P(i)||F(a))throw new l(`Plain language does not have grammar state`);if(i===`ansi`)throw new l(`ANSI language does not have grammar state`);let{theme:o,colorMap:s}=t.setTheme(a),c=t.getLanguage(i);return new H(Lt(n,c,o,s,r).stateStack,c.name,o.name)}function It(e,t,n,r,i){let a=Lt(e,t,n,r,i),o=new H(a.stateStack,t.name,n.name);return B(a.tokens,o),a.tokens}function Lt(e,t,n,r,i){let a=M(n,i),{tokenizeMaxLineLength:o=0,tokenizeTimeLimit:s=500,includeExplanation:c=!1}=i,l=I(e),u=i.grammarState?jt(i.grammarState,n.name)??ft:i.grammarContextCode==null?ft:Lt(i.grammarContextCode,t,n,r,{...i,grammarState:void 0,grammarContextCode:void 0}).stateStack,d=[],f=[];for(let e=0,i=l.length;e<i;e++){let[i,p]=l[e];if(i===``){d=[],f.push([]);continue}if(o>0&&i.length>=o){d=[],f.push([{content:i,offset:p,color:``,fontStyle:0}]);continue}let m,h,g;c&&c!==`tokenType`&&(m=t.tokenizeLine(i,u,s),h=m.tokens,g=0);let _=t.tokenizeLine2(i,u,s),v=_.tokens.length/2;for(let e=0;e<v;e++){let t=_.tokens[2*e],o=e+1<v?_.tokens[2*e+2]:i.length;if(t===o)continue;let s=_.tokens[2*e+1],l=N(r[x.getForeground(s)],a),u=x.getFontStyle(s),f={content:i.substring(t,o),offset:p+t,color:l,fontStyle:u};if(c===`tokenType`)f.type=x.getTokenType(s);else if(c){let e=[];if(c!==`scopeName`)for(let t of n.settings){let n;switch(typeof t.scope){case`string`:n=t.scope.split(Mt).map(e=>e.trim());break;case`object`:n=t.scope;break;default:continue}e.push({settings:t,selectors:n.map(e=>e.split(Nt))})}f.explanation=[];let r=0;for(;t+r<o;){let t=h[g],n=i.substring(t.startIndex,t.endIndex);r+=n.length,f.explanation.push({content:n,scopes:c===`scopeName`?Rt(t.scopes):zt(e,t.scopes)}),g+=1}}d.push(f)}f.push(d),d=[],u=_.ruleStack}return{tokens:f,stateStack:u}}function Rt(e){return e.map(e=>({scopeName:e}))}function zt(e,t){let n=[];for(let r=0,i=t.length;r<i;r++){let i=t[r];n[r]={scopeName:i,themeMatches:Ht(e,i,t.slice(0,r))}}return n}function Bt(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]===`.`}function Vt(e,t,n){if(!Bt(e.at(-1),t))return!1;let r=e.length-2,i=n.length-1;for(;r>=0&&i>=0;)Bt(e[r],n[i])&&--r,--i;return r===-1}function Ht(e,t,n){let r=[];for(let{selectors:i,settings:a}of e)for(let e of i)if(Vt(e,t,n)){r.push(a);break}return r}function U(e,t,n,r=Pt){let i=Object.entries(n.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})),a=i.map(i=>{let a=r(e,t,{...n,theme:i.theme});return{tokens:a,state:V(a),theme:typeof i.theme==`string`?i.theme:i.theme.name}}),o=Ut(...a.map(e=>e.tokens)),s=o[0].map((e,t)=>e.map((e,r)=>{let a={content:e.content,variants:{},offset:e.offset};return`includeExplanation`in n&&n.includeExplanation&&(a.explanation=e.explanation),o.forEach((e,n)=>{let{content:o,explanation:s,offset:c,...l}=e[t][r];a.variants[i[n].color]=l}),a})),c=a[0].state?new H(Object.fromEntries(a.map(e=>[e.theme,e.state?.getInternalStack(e.theme)])),a[0].state.lang):void 0;return c&&B(s,c),s}function Ut(...e){let t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){let i=e.map(e=>e[r]),a=t.map(()=>[]);t.forEach((e,t)=>e.push(a[t]));let o=i.map(()=>0),s=i.map(e=>e[0]);for(;s.every(e=>e);){let e=Math.min(...s.map(e=>e.content.length));for(let t=0;t<n;t++){let n=s[t];n.content.length===e?(a[t].push(n),o[t]+=1,s[t]=i[t][o[t]]):(a[t].push({...n,content:n.content.slice(0,e)}),s[t]={...n,content:n.content.slice(e),offset:n.offset+e})}}}return t}var Wt=[`area`,`base`,`basefont`,`bgsound`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`image`,`img`,`input`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`],Gt=/["&'<>`]/g,Kt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qt=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Jt=/[|\\{}()[\]^$+*?.]/g,Yt=new WeakMap;function Xt(e,t){if(e=e.replace(t.subset?Zt(t.subset):Gt,r),t.subset||t.escapeOnly)return e;return e.replace(Kt,n).replace(qt,r);function n(e,n,r){return t.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)}function r(e,n,r){return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}function Zt(e){let t=Yt.get(e);return t||(t=Qt(e),Yt.set(e,t)),t}function Qt(e){let t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(Jt,`\\$&`));return RegExp(`(?:`+t.join(`|`)+`)`,`g`)}var $t=/[\dA-Fa-f]/;function en(e,t,n){let r=`&#x`+e.toString(16).toUpperCase();return n&&t&&!$t.test(String.fromCharCode(t))?r:r+`;`}var tn=/\d/;function nn(e,t,n){let r=`&#`+String(e);return n&&t&&!tn.test(String.fromCharCode(t))?r:r+`;`}var rn=`AElig.AMP.Aacute.Acirc.Agrave.Aring.Atilde.Auml.COPY.Ccedil.ETH.Eacute.Ecirc.Egrave.Euml.GT.Iacute.Icirc.Igrave.Iuml.LT.Ntilde.Oacute.Ocirc.Ograve.Oslash.Otilde.Ouml.QUOT.REG.THORN.Uacute.Ucirc.Ugrave.Uuml.Yacute.aacute.acirc.acute.aelig.agrave.amp.aring.atilde.auml.brvbar.ccedil.cedil.cent.copy.curren.deg.divide.eacute.ecirc.egrave.eth.euml.frac12.frac14.frac34.gt.iacute.icirc.iexcl.igrave.iquest.iuml.laquo.lt.macr.micro.middot.nbsp.not.ntilde.oacute.ocirc.ograve.ordf.ordm.oslash.otilde.ouml.para.plusmn.pound.quot.raquo.reg.sect.shy.sup1.sup2.sup3.szlig.thorn.times.uacute.ucirc.ugrave.uml.uuml.yacute.yen.yuml`.split(`.`),an={nbsp:`\xA0`,iexcl:`¡`,cent:`¢`,pound:`£`,curren:`¤`,yen:`¥`,brvbar:`¦`,sect:`§`,uml:`¨`,copy:`©`,ordf:`ª`,laquo:`«`,not:`¬`,shy:`­`,reg:`®`,macr:`¯`,deg:`°`,plusmn:`±`,sup2:`²`,sup3:`³`,acute:`´`,micro:`µ`,para:`¶`,middot:`·`,cedil:`¸`,sup1:`¹`,ordm:`º`,raquo:`»`,frac14:`¼`,frac12:`½`,frac34:`¾`,iquest:`¿`,Agrave:`À`,Aacute:`Á`,Acirc:`Â`,Atilde:`Ã`,Auml:`Ä`,Aring:`Å`,AElig:`Æ`,Ccedil:`Ç`,Egrave:`È`,Eacute:`É`,Ecirc:`Ê`,Euml:`Ë`,Igrave:`Ì`,Iacute:`Í`,Icirc:`Î`,Iuml:`Ï`,ETH:`Ð`,Ntilde:`Ñ`,Ograve:`Ò`,Oacute:`Ó`,Ocirc:`Ô`,Otilde:`Õ`,Ouml:`Ö`,times:`×`,Oslash:`Ø`,Ugrave:`Ù`,Uacute:`Ú`,Ucirc:`Û`,Uuml:`Ü`,Yacute:`Ý`,THORN:`Þ`,szlig:`ß`,agrave:`à`,aacute:`á`,acirc:`â`,atilde:`ã`,auml:`ä`,aring:`å`,aelig:`æ`,ccedil:`ç`,egrave:`è`,eacute:`é`,ecirc:`ê`,euml:`ë`,igrave:`ì`,iacute:`í`,icirc:`î`,iuml:`ï`,eth:`ð`,ntilde:`ñ`,ograve:`ò`,oacute:`ó`,ocirc:`ô`,otilde:`õ`,ouml:`ö`,divide:`÷`,oslash:`ø`,ugrave:`ù`,uacute:`ú`,ucirc:`û`,uuml:`ü`,yacute:`ý`,thorn:`þ`,yuml:`ÿ`,fnof:`ƒ`,Alpha:`Α`,Beta:`Β`,Gamma:`Γ`,Delta:`Δ`,Epsilon:`Ε`,Zeta:`Ζ`,Eta:`Η`,Theta:`Θ`,Iota:`Ι`,Kappa:`Κ`,Lambda:`Λ`,Mu:`Μ`,Nu:`Ν`,Xi:`Ξ`,Omicron:`Ο`,Pi:`Π`,Rho:`Ρ`,Sigma:`Σ`,Tau:`Τ`,Upsilon:`Υ`,Phi:`Φ`,Chi:`Χ`,Psi:`Ψ`,Omega:`Ω`,alpha:`α`,beta:`β`,gamma:`γ`,delta:`δ`,epsilon:`ε`,zeta:`ζ`,eta:`η`,theta:`θ`,iota:`ι`,kappa:`κ`,lambda:`λ`,mu:`μ`,nu:`ν`,xi:`ξ`,omicron:`ο`,pi:`π`,rho:`ρ`,sigmaf:`ς`,sigma:`σ`,tau:`τ`,upsilon:`υ`,phi:`φ`,chi:`χ`,psi:`ψ`,omega:`ω`,thetasym:`ϑ`,upsih:`ϒ`,piv:`ϖ`,bull:`•`,hellip:`…`,prime:`′`,Prime:`″`,oline:`‾`,frasl:`⁄`,weierp:`℘`,image:`ℑ`,real:`ℜ`,trade:`™`,alefsym:`ℵ`,larr:`←`,uarr:`↑`,rarr:`→`,darr:`↓`,harr:`↔`,crarr:`↵`,lArr:`⇐`,uArr:`⇑`,rArr:`⇒`,dArr:`⇓`,hArr:`⇔`,forall:`∀`,part:`∂`,exist:`∃`,empty:`∅`,nabla:`∇`,isin:`∈`,notin:`∉`,ni:`∋`,prod:`∏`,sum:`∑`,minus:`−`,lowast:`∗`,radic:`√`,prop:`∝`,infin:`∞`,ang:`∠`,and:`∧`,or:`∨`,cap:`∩`,cup:`∪`,int:`∫`,there4:`∴`,sim:`∼`,cong:`≅`,asymp:`≈`,ne:`≠`,equiv:`≡`,le:`≤`,ge:`≥`,sub:`⊂`,sup:`⊃`,nsub:`⊄`,sube:`⊆`,supe:`⊇`,oplus:`⊕`,otimes:`⊗`,perp:`⊥`,sdot:`⋅`,lceil:`⌈`,rceil:`⌉`,lfloor:`⌊`,rfloor:`⌋`,lang:`〈`,rang:`〉`,loz:`◊`,spades:`♠`,clubs:`♣`,hearts:`♥`,diams:`♦`,quot:`"`,amp:`&`,lt:`<`,gt:`>`,OElig:`Œ`,oelig:`œ`,Scaron:`Š`,scaron:`š`,Yuml:`Ÿ`,circ:`ˆ`,tilde:`˜`,ensp:` `,emsp:` `,thinsp:` `,zwnj:`‌`,zwj:`‍`,lrm:`‎`,rlm:`‏`,ndash:`–`,mdash:`—`,lsquo:`‘`,rsquo:`’`,sbquo:`‚`,ldquo:`“`,rdquo:`”`,bdquo:`„`,dagger:`†`,Dagger:`‡`,permil:`‰`,lsaquo:`‹`,rsaquo:`›`,euro:`€`},on=[`cent`,`copy`,`divide`,`gt`,`lt`,`not`,`para`,`times`],sn={}.hasOwnProperty,cn={},W;for(W in an)sn.call(an,W)&&(cn[an[W]]=W);var ln=/[^\dA-Za-z]/;function un(e,t,n,r){let i=String.fromCharCode(e);if(sn.call(cn,i)){let e=cn[i],a=`&`+e;return n&&rn.includes(e)&&!on.includes(e)&&(!r||t&&t!==61&&ln.test(String.fromCharCode(t)))?a:a+`;`}return``}function dn(e,t,n){let r=en(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=un(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){let i=nn(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}function G(e,t){return Xt(e,Object.assign({format:dn},t))}var fn=/^>|^->|<!--|-->|--!>|<!-$/g,pn=[`>`],mn=[`<`,`>`];function hn(e,t,n,r){return r.settings.bogusComments?`<?`+G(e.value,Object.assign({},r.settings.characterReferences,{subset:pn}))+`>`:`<!--`+e.value.replace(fn,i)+`-->`;function i(e){return G(e,Object.assign({},r.settings.characterReferences,{subset:mn}))}}function gn(e,t,n,r){return`<!`+(r.settings.upperDoctype?`DOCTYPE`:`doctype`)+(r.settings.tightDoctype?``:` `)+`html>`}var K=yn(1),_n=yn(-1),vn=[];function yn(t){return n;function n(n,r,i){let a=n?n.children:vn,o=(r||0)+t,s=a[o];if(!i)for(;s&&e(s);)o+=t,s=a[o];return s}}var bn={}.hasOwnProperty;function xn(e){return t;function t(t,n,r){return bn.call(e,t.tagName)&&e[t.tagName](t,n,r)}}var Sn=xn({body:Tn,caption:Cn,colgroup:Cn,dd:kn,dt:On,head:Cn,html:wn,li:Dn,optgroup:jn,option:Mn,p:En,rp:An,rt:An,tbody:Pn,td:Ln,tfoot:Fn,th:Ln,thead:Nn,tr:In});function Cn(t,n,r){let i=K(r,n,!0);return!i||i.type!==`comment`&&!(i.type===`text`&&e(i.value.charAt(0)))}function wn(e,t,n){let r=K(n,t);return!r||r.type!==`comment`}function Tn(e,t,n){let r=K(n,t);return!r||r.type!==`comment`}function En(e,t,n){let r=K(n,t);return r?r.type===`element`&&(r.tagName===`address`||r.tagName===`article`||r.tagName===`aside`||r.tagName===`blockquote`||r.tagName===`details`||r.tagName===`div`||r.tagName===`dl`||r.tagName===`fieldset`||r.tagName===`figcaption`||r.tagName===`figure`||r.tagName===`footer`||r.tagName===`form`||r.tagName===`h1`||r.tagName===`h2`||r.tagName===`h3`||r.tagName===`h4`||r.tagName===`h5`||r.tagName===`h6`||r.tagName===`header`||r.tagName===`hgroup`||r.tagName===`hr`||r.tagName===`main`||r.tagName===`menu`||r.tagName===`nav`||r.tagName===`ol`||r.tagName===`p`||r.tagName===`pre`||r.tagName===`section`||r.tagName===`table`||r.tagName===`ul`):!n||n.type!==`element`||n.tagName!==`a`&&n.tagName!==`audio`&&n.tagName!==`del`&&n.tagName!==`ins`&&n.tagName!==`map`&&n.tagName!==`noscript`&&n.tagName!==`video`}function Dn(e,t,n){let r=K(n,t);return!r||r.type===`element`&&r.tagName===`li`}function On(e,t,n){let r=K(n,t);return!!(r&&r.type===`element`&&(r.tagName===`dt`||r.tagName===`dd`))}function kn(e,t,n){let r=K(n,t);return!r||r.type===`element`&&(r.tagName===`dt`||r.tagName===`dd`)}function An(e,t,n){let r=K(n,t);return!r||r.type===`element`&&(r.tagName===`rp`||r.tagName===`rt`)}function jn(e,t,n){let r=K(n,t);return!r||r.type===`element`&&r.tagName===`optgroup`}function Mn(e,t,n){let r=K(n,t);return!r||r.type===`element`&&(r.tagName===`option`||r.tagName===`optgroup`)}function Nn(e,t,n){let r=K(n,t);return!!(r&&r.type===`element`&&(r.tagName===`tbody`||r.tagName===`tfoot`))}function Pn(e,t,n){let r=K(n,t);return!r||r.type===`element`&&(r.tagName===`tbody`||r.tagName===`tfoot`)}function Fn(e,t,n){return!K(n,t)}function In(e,t,n){let r=K(n,t);return!r||r.type===`element`&&r.tagName===`tr`}function Ln(e,t,n){let r=K(n,t);return!r||r.type===`element`&&(r.tagName===`td`||r.tagName===`th`)}var Rn=xn({body:Vn,colgroup:Hn,head:Bn,html:zn,tbody:Un});function zn(e){let t=K(e,-1);return!t||t.type!==`comment`}function Bn(e){let t=new Set;for(let n of e.children)if(n.type===`element`&&(n.tagName===`base`||n.tagName===`title`)){if(t.has(n.tagName))return!1;t.add(n.tagName)}let n=e.children[0];return!n||n.type===`element`}function Vn(t){let n=K(t,-1,!0);return!n||n.type!==`comment`&&!(n.type===`text`&&e(n.value.charAt(0)))&&(n.type!==`element`||n.tagName!==`meta`&&n.tagName!==`link`&&n.tagName!==`script`&&n.tagName!==`style`&&n.tagName!==`template`)}function Hn(e,t,n){let r=_n(n,t),i=K(e,-1,!0);return n&&r&&r.type===`element`&&r.tagName===`colgroup`&&Sn(r,n.children.indexOf(r),n)?!1:!!(i&&i.type===`element`&&i.tagName===`col`)}function Un(e,t,n){let r=_n(n,t),i=K(e,-1);return n&&r&&r.type===`element`&&(r.tagName===`thead`||r.tagName===`tbody`)&&Sn(r,n.children.indexOf(r),n)?!1:!!(i&&i.type===`element`&&i.tagName===`tr`)}var q={name:[[`
4
+ \f\r &/=>`.split(``),`
5
+ \f\r "&'/=>\``.split(``)],[`\0
6
+ \f\r "&'/<=>`.split(``),`\0
7
+ \f\r "&'/<=>\``.split(``)]],unquoted:[[`
8
+ \f\r &>`.split(``),`\0
9
+ \f\r "&'<=>\``.split(``)],[`\0
10
+ \f\r "&'<=>\``.split(``),`\0
11
+ \f\r "&'<=>\``.split(``)]],single:[[`&'`.split(``),`"&'\``.split(``)],[`\0&'`.split(``),`\0"&'\``.split(``)]],double:[[`"&`.split(``),`"&'\``.split(``)],[`\0"&`.split(``),`\0"&'\``.split(``)]]};function Wn(e,t,n,r){let a=r.schema,o=a.space!==`svg`&&r.settings.omitOptionalTags,s=a.space===`svg`?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase()),c=[],l;a.space===`html`&&e.tagName===`svg`&&(r.schema=i);let u=Gn(r,e.properties),d=r.all(a.space===`html`&&e.tagName===`template`?e.content:e);return r.schema=a,d&&(s=!1),(u||!o||!Rn(e,t,n))&&(c.push(`<`,e.tagName,u?` `+u:``),s&&(a.space===`svg`||r.settings.closeSelfClosing)&&(l=u.charAt(u.length-1),(!r.settings.tightSelfClosing||l===`/`||l&&l!==`"`&&l!==`'`)&&c.push(` `),c.push(`/`)),c.push(`>`)),c.push(d),!s&&(!o||!Sn(e,t,n))&&c.push(`</`+e.tagName+`>`),c.join(``)}function Gn(e,t){let n=[],r=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){let r=Kn(e,i,t[i]);r&&n.push(r)}}for(;++r<n.length;){let t=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&t!==`"`&&t!==`'`&&(n[r]+=` `)}return n.join(``)}function Kn(e,n,i){let s=t(e.schema,n),c=e.settings.allowParseErrors&&e.schema.space===`html`?0:1,l=+!e.settings.allowDangerousCharacters,u=e.quote,d;if(s.overloadedBoolean&&(i===s.attribute||i===``)?i=!0:(s.boolean||s.overloadedBoolean)&&(typeof i!=`string`||i===s.attribute||i===``)&&(i=!!i),i==null||i===!1||typeof i==`number`&&Number.isNaN(i))return``;let f=G(s.attribute,Object.assign({},e.settings.characterReferences,{subset:q.name[c][l]}));return i===!0||(i=Array.isArray(i)?(s.commaSeparated?r:o)(i,{padLeft:!e.settings.tightCommaSeparatedLists}):String(i),e.settings.collapseEmptyAttributes&&!i)?f:(e.settings.preferUnquoted&&(d=G(i,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:q.unquoted[c][l]}))),d!==i&&(e.settings.quoteSmart&&a(i,u)>a(i,e.alternative)&&(u=e.alternative),d=u+G(i,Object.assign({},e.settings.characterReferences,{subset:(u===`'`?q.single:q.double)[c][l],attribute:!0}))+u),f+(d&&`=`+d))}var qn=[`<`,`&`];function Jn(e,t,n,r){return n&&n.type===`element`&&(n.tagName===`script`||n.tagName===`style`)?e.value:G(e.value,Object.assign({},r.settings.characterReferences,{subset:qn}))}function Yn(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Jn(e,t,n,r)}function Xn(e,t,n,r){return r.all(e)}var Zn=c(`type`,{invalid:Qn,unknown:$n,handlers:{comment:hn,doctype:gn,element:Wn,raw:Yn,root:Xn,text:Jn}});function Qn(e){throw Error("Expected node, not `"+e+"`")}function $n(e){throw Error("Cannot compile unknown node `"+e.type+"`")}var er={},tr={},nr=[];function rr(e,t){let r=t||er,a=r.quote||`"`,o=a===`"`?`'`:`"`;if(a!==`"`&&a!==`'`)throw Error("Invalid quote `"+a+"`, expected `'` or `\"`");return{one:ir,all:ar,settings:{omitOptionalTags:r.omitOptionalTags||!1,allowParseErrors:r.allowParseErrors||!1,allowDangerousCharacters:r.allowDangerousCharacters||!1,quoteSmart:r.quoteSmart||!1,preferUnquoted:r.preferUnquoted||!1,tightAttributes:r.tightAttributes||!1,upperDoctype:r.upperDoctype||!1,tightDoctype:r.tightDoctype||!1,bogusComments:r.bogusComments||!1,tightCommaSeparatedLists:r.tightCommaSeparatedLists||!1,tightSelfClosing:r.tightSelfClosing||!1,collapseEmptyAttributes:r.collapseEmptyAttributes||!1,allowDangerousHtml:r.allowDangerousHtml||!1,voids:r.voids||Wt,characterReferences:r.characterReferences||tr,closeSelfClosing:r.closeSelfClosing||!1,closeEmptyElements:r.closeEmptyElements||!1},schema:r.space===`svg`?i:n,quote:a,alternative:o}.one(Array.isArray(e)?{type:`root`,children:e}:e,void 0,void 0)}function ir(e,t,n){return Zn(e,t,n,this)}function ar(e){let t=[],n=e&&e.children||nr,r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join(``)}var or=/\s+/g;function sr(e,t){if(!t)return e;e.properties||={},e.properties.class||=[],typeof e.properties.class==`string`&&(e.properties.class=e.properties.class.split(or)),Array.isArray(e.properties.class)||(e.properties.class=[]);let n=Array.isArray(t)?t:t.split(or);for(let t of n)t&&!e.properties.class.includes(t)&&e.properties.class.push(t);return e}var cr=/:?lang=["']([^"']+)["']/g,lr=/(?:```|~~~)([\w-]+)/g,ur=/\\begin\{([\w-]+)\}/g,dr=/<script\s+(?:type|lang)=["']([^"']+)["']/gi,fr=/^\s*---\r?\n[\s\S]*?\r?\n---(?:\r?\n|\s*$)/;function pr(e){let t=I(e,!0).map(([e])=>e);function n(n){if(n===e.length)return{line:t.length-1,character:t.at(-1).length};let r=n,i=0;for(let e of t){if(r<e.length)break;r-=e.length,i++}return{line:i,character:r}}function r(e,n){let r=0;for(let n=0;n<e;n++)r+=t[n].length;return r+=n,r}return{lines:t,indexToPos:n,posToIndex:r}}function mr(e,t,n){let r=new Set;for(let t of e.matchAll(cr)){let e=t[1].toLowerCase().trim();e&&r.add(e)}for(let t of e.matchAll(lr)){let e=t[1].toLowerCase().trim();e&&r.add(e)}for(let t of e.matchAll(ur)){let e=t[1].toLowerCase().trim();e&&r.add(e)}for(let t of e.matchAll(dr)){let e=t[1].toLowerCase().trim(),n=e.includes(`/`)?e.split(`/`).pop():e;n&&r.add(n)}if(fr.test(e)&&r.add(`yaml`),!n)return[...r];let i=n.getBundledLanguages();return[...r].filter(e=>e&&i[e])}var hr=[`color`,`background-color`];function gr(e,t){let n=0,r=[];for(let i of t)i>n&&r.push({...e,content:e.content.slice(n,i),offset:e.offset+n}),n=i;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}function _r(e,t){let n=0,r=e.length;for(;n<r;){let i=n+(r-n>>1);e[i]<=t?n=i+1:r=i}return n}function vr(e,t){let n=[...t instanceof Set?t:new Set(t)].sort((e,t)=>e-t);return n.length?e.map(e=>e.flatMap(e=>{let t=e.offset+e.content.length,r=_r(n,e.offset),i=r;for(;i<n.length&&n[i]<t;)i++;if(r===i)return e;let a=n.slice(r,i);for(let t=0;t<a.length;t++)a[t]-=e.offset;return gr(e,a)})):e}function yr(e,t,n,r,i=`css-vars`){let a={content:e.content,explanation:e.explanation,offset:e.offset},o=t.map(t=>J(e.variants[t])),s=new Set(o.flatMap(e=>Object.keys(e))),c={},u=(e,r)=>{let i=r===`color`?``:r===`background-color`?`-bg`:`-${r}`;return n+t[e]+(r===`color`?``:i)};return o.forEach((e,n)=>{for(let a of s){let s=e[a]||`inherit`;if(n===0&&r&&hr.includes(a)){if(r===`light-dark()`&&o.length>1){let e=t.findIndex(e=>e===`light`),r=t.findIndex(e=>e===`dark`);if(e===-1||r===-1)throw new l('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');let d=o[e][a]||`inherit`,f=o[r][a]||`inherit`;c[a]=`light-dark(${d}, ${f})`,i===`css-vars`&&(c[u(n,a)]=s)}else c[a]=s}else i===`css-vars`&&(c[u(n,a)]=s)}}),a.htmlStyle=c,a}function J(e){let t={};if(e.color&&(t.color=e.color),e.bgColor&&(t[`background-color`]=e.bgColor),e.fontStyle){e.fontStyle&b.Italic&&(t[`font-style`]=`italic`),e.fontStyle&b.Bold&&(t[`font-weight`]=`bold`);let n=[];e.fontStyle&b.Underline&&n.push(`underline`),e.fontStyle&b.Strikethrough&&n.push(`line-through`),n.length&&(t[`text-decoration`]=n.join(` `))}return t}function Y(e){return typeof e==`string`?e:Object.entries(e).map(([e,t])=>`${e}:${t}`).join(`;`)}function br(){let e=new WeakMap;function t(t){if(!e.has(t.meta)){let n=pr(t.source);function r(e){if(typeof e==`number`){if(e<0||e>t.source.length)throw new l(`Invalid decoration offset: ${e}. Code length: ${t.source.length}`);return{...n.indexToPos(e),offset:e}}{let t=n.lines[e.line];if(t===void 0)throw new l(`Invalid decoration position ${JSON.stringify(e)}. Lines length: ${n.lines.length}`);let r=e.character;if(r<0&&(r=t.length+r),r<0||r>t.length)throw new l(`Invalid decoration position ${JSON.stringify(e)}. Line ${e.line} length: ${t.length}`);return{...e,character:r,offset:n.posToIndex(e.line,r)}}}let i=(t.options.decorations||[]).map(e=>({...e,start:r(e.start),end:r(e.end)}));xr(i),e.set(t.meta,{decorations:i,converter:n,source:t.source})}return e.get(t.meta)}return{name:`shiki:decorations`,tokens(e){if(this.options.decorations?.length)return vr(e,t(this).decorations.flatMap(e=>[e.start.offset,e.end.offset]))},code(e){if(!this.options.decorations?.length)return;let n=t(this),r=[...e.children].filter(e=>e.type===`element`&&e.tagName===`span`);if(r.length!==n.converter.lines.length)throw new l(`Number of lines in code element (${r.length}) does not match the number of lines in the source (${n.converter.lines.length}). Failed to apply decorations.`);function i(e,t,n,i){let a=r[e],s=``,c=-1,u=-1;if(t===0&&(c=0),n===0&&(u=0),n===1/0&&(u=a.children.length),c===-1||u===-1)for(let e=0;e<a.children.length;e++)s+=Sr(a.children[e]),c===-1&&s.length===t&&(c=e+1),u===-1&&s.length===n&&(u=e+1);if(c===-1)throw new l(`Failed to find start index for decoration ${JSON.stringify(i.start)}`);if(u===-1)throw new l(`Failed to find end index for decoration ${JSON.stringify(i.end)}`);let d=a.children.slice(c,u);if(!i.alwaysWrap&&d.length===a.children.length)o(a,i,`line`);else if(!i.alwaysWrap&&d.length===1&&d[0].type===`element`)o(d[0],i,`token`);else{let e={type:`element`,tagName:`span`,properties:{},children:d};o(e,i,`wrapper`),a.children.splice(c,d.length,e)}}function a(e,t){r[e]=o(r[e],t,`line`)}function o(e,t,n){let r=t.properties||{},i=t.transform||(e=>e);return e.tagName=t.tagName||`span`,e.properties={...e.properties,...r,class:e.properties.class},t.properties?.class&&sr(e,t.properties.class),e=i(e,n)||e,e}let s=[],c=n.decorations.sort((e,t)=>t.start.offset-e.start.offset||e.end.offset-t.end.offset);for(let e of c){let{start:t,end:n}=e;if(t.line===n.line)i(t.line,t.character,n.character,e);else if(t.line<n.line){i(t.line,t.character,1/0,e);for(let r=t.line+1;r<n.line;r++)s.unshift(()=>a(r,e));i(n.line,0,n.character,e)}}s.forEach(e=>e())}}}function xr(e){for(let t=0;t<e.length;t++){let n=e[t];if(n.start.offset>n.end.offset)throw new l(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;r<e.length;r++){let t=e[r],i=n.start.offset<=t.start.offset&&t.start.offset<n.end.offset,a=n.start.offset<t.end.offset&&t.end.offset<=n.end.offset,o=t.start.offset<=n.start.offset&&n.start.offset<t.end.offset,s=t.start.offset<n.end.offset&&n.end.offset<=t.end.offset;if(i||a||o||s){if(i&&a||o&&s||o&&n.start.offset===n.end.offset||a&&t.start.offset===t.end.offset)continue;throw new l(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(t.start)} intersect.`)}}}}function Sr(e){return e.type===`text`?e.value:e.type===`element`?e.children.map(Sr).join(``):``}var Cr=[br()];function wr(e){let t=Tr(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...Cr]}function Tr(e){let t=[],n=[],r=[];for(let i of e)switch(i.enforce){case`pre`:t.push(i);break;case`post`:n.push(i);break;default:r.push(i)}return{pre:t,post:n,normal:r}}var X=[`black`,`red`,`green`,`yellow`,`blue`,`magenta`,`cyan`,`white`,`brightBlack`,`brightRed`,`brightGreen`,`brightYellow`,`brightBlue`,`brightMagenta`,`brightCyan`,`brightWhite`],Er={1:`bold`,2:`dim`,3:`italic`,4:`underline`,7:`reverse`,8:`hidden`,9:`strikethrough`};function Dr(e,t){let n=e.indexOf(`\x1B`,t);if(n!==-1&&e[n+1]===`[`){let t=e.indexOf(`m`,n);if(t!==-1)return{sequence:e.substring(n+2,t).split(`;`),startPosition:n,position:t+1}}return{position:e.length}}function Or(e){let t=e.shift();if(t===`2`){let t=e.splice(0,3).map(e=>Number.parseInt(e));return t.length!==3||t.some(e=>Number.isNaN(e))?void 0:{type:`rgb`,rgb:t}}if(t===`5`){let t=e.shift();if(t)return{type:`table`,index:Number(t)}}}function kr(e){let t=[];for(;e.length>0;){let n=e.shift();if(!n)continue;let r=Number.parseInt(n);if(!Number.isNaN(r)){if(r===0)t.push({type:`resetAll`});else if(r<=9)Er[r]&&t.push({type:`setDecoration`,value:Er[r]});else if(r<=29){let e=Er[r-20];e&&(t.push({type:`resetDecoration`,value:e}),e===`dim`&&t.push({type:`resetDecoration`,value:`bold`}))}else if(r<=37)t.push({type:`setForegroundColor`,value:{type:`named`,name:X[r-30]}});else if(r===38){let n=Or(e);n&&t.push({type:`setForegroundColor`,value:n})}else if(r===39)t.push({type:`resetForegroundColor`});else if(r<=47)t.push({type:`setBackgroundColor`,value:{type:`named`,name:X[r-40]}});else if(r===48){let n=Or(e);n&&t.push({type:`setBackgroundColor`,value:n})}else r===49?t.push({type:`resetBackgroundColor`}):r===53?t.push({type:`setDecoration`,value:`overline`}):r===55?t.push({type:`resetDecoration`,value:`overline`}):r>=90&&r<=97?t.push({type:`setForegroundColor`,value:{type:`named`,name:X[r-90+8]}}):r>=100&&r<=107&&t.push({type:`setBackgroundColor`,value:{type:`named`,name:X[r-100+8]}})}}return t}function Ar(){let e=null,t=null,n=new Set;return{parse(r){let i=[],a=0;do{let o=Dr(r,a),s=o.sequence?r.substring(a,o.startPosition):r.substring(a);if(s.length>0&&i.push({value:s,foreground:e,background:t,decorations:new Set(n)}),o.sequence){let r=kr(o.sequence);for(let i of r)i.type===`resetAll`?(e=null,t=null,n.clear()):i.type===`resetForegroundColor`?e=null:i.type===`resetBackgroundColor`?t=null:i.type===`resetDecoration`&&n.delete(i.value);for(let i of r)i.type===`setForegroundColor`?e=i.value:i.type===`setBackgroundColor`?t=i.value:i.type===`setDecoration`&&n.add(i.value)}a=o.position}while(a<r.length);return i}}}var jr={black:`#000000`,red:`#bb0000`,green:`#00bb00`,yellow:`#bbbb00`,blue:`#0000bb`,magenta:`#ff00ff`,cyan:`#00bbbb`,white:`#eeeeee`,brightBlack:`#555555`,brightRed:`#ff5555`,brightGreen:`#00ff00`,brightYellow:`#ffff55`,brightBlue:`#5555ff`,brightMagenta:`#ff55ff`,brightCyan:`#55ffff`,brightWhite:`#ffffff`};function Mr(e=jr){function t(t){return e[t]}function n(e){return`#${e.map(e=>Math.max(0,Math.min(e,255)).toString(16).padStart(2,`0`)).join(``)}`}let r;function i(){if(r)return r;r=[];for(let e=0;e<X.length;e++)r.push(t(X[e]));let e=[0,95,135,175,215,255];for(let t=0;t<6;t++)for(let i=0;i<6;i++)for(let a=0;a<6;a++)r.push(n([e[t],e[i],e[a]]));let i=8;for(let e=0;e<24;e++,i+=10)r.push(n([i,i,i]));return r}function a(e){return i()[e]}function o(e){switch(e.type){case`named`:return t(e.name);case`rgb`:return n(e.rgb);case`table`:return a(e.index)}}return{value:o}}var Nr=/#([0-9a-f]{3,8})/i,Pr=/var\((--[\w-]+-ansi-[\w-]+)\)/,Fr={black:`#000000`,red:`#cd3131`,green:`#0DBC79`,yellow:`#E5E510`,blue:`#2472C8`,magenta:`#BC3FBC`,cyan:`#11A8CD`,white:`#E5E5E5`,brightBlack:`#666666`,brightRed:`#F14C4C`,brightGreen:`#23D18B`,brightYellow:`#F5F543`,brightBlue:`#3B8EEA`,brightMagenta:`#D670D6`,brightCyan:`#29B8DB`,brightWhite:`#FFFFFF`};function Ir(e,t,n){let r=M(e,n),i=I(t),a=Mr(Object.fromEntries(X.map(t=>{let n=`terminal.ansi${t[0].toUpperCase()}${t.substring(1)}`;return[t,e.colors?.[n]||Fr[t]]}))),o=Ar();return i.map(t=>o.parse(t[0]).map(n=>{let i,o;n.decorations.has(`reverse`)?(i=n.background?a.value(n.background):e.bg,o=n.foreground?a.value(n.foreground):e.fg):(i=n.foreground?a.value(n.foreground):e.fg,o=n.background?a.value(n.background):void 0),i=N(i,r),o=N(o,r),n.decorations.has(`dim`)&&(i=Lr(i));let s=b.None;return n.decorations.has(`bold`)&&(s|=b.Bold),n.decorations.has(`italic`)&&(s|=b.Italic),n.decorations.has(`underline`)&&(s|=b.Underline),n.decorations.has(`strikethrough`)&&(s|=b.Strikethrough),{content:n.value,offset:t[1],color:i,bgColor:o,fontStyle:s}}))}function Lr(e){let t=e.match(Nr);if(t){let e=t[1];if(e.length===8){let t=Math.round(Number.parseInt(e.slice(6,8),16)/2).toString(16).padStart(2,`0`);return`#${e.slice(0,6)}${t}`}if(e.length===6)return`#${e}80`;if(e.length===4){let t=e[0],n=e[1],r=e[2],i=e[3];return`#${t}${t}${n}${n}${r}${r}${Math.round(Number.parseInt(`${i}${i}`,16)/2).toString(16).padStart(2,`0`)}`}if(e.length===3){let t=e[0],n=e[1],r=e[2];return`#${t}${t}${n}${n}${r}${r}80`}}let n=e.match(Pr);return n?`var(${n[1]}-dim)`:e}function Z(e,t,n={}){let r=e.resolveLangAlias(n.lang||`text`),{theme:i=e.getLoadedThemes()[0]}=n;if(!P(r)&&!F(i)&&r===`ansi`){let{theme:r}=e.setTheme(i);return Ir(r,t,n)}return Pt(e,t,n)}function Q(e,t,n){let r,i,a,o,s,c;if(`themes`in n){let{defaultColor:u=`light`,cssVariablePrefix:d=`--shiki-`,colorsRendering:f=`css-vars`}=n,p=Object.entries(n.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})).sort((e,t)=>e.color===u?-1:+(t.color===u));if(p.length===0)throw new l("`themes` option must not be empty");let m=U(e,t,n,Z);if(c=V(m),u&&u!==`light-dark()`&&!p.some(e=>e.color===u))throw new l(`\`themes\` option must contain the defaultColor key \`${u}\``);let h=p.map(t=>e.getTheme(t.theme)),g=p.map(e=>e.color);a=m.map(e=>e.map(e=>yr(e,g,d,u,f))),c&&B(a,c);let _=p.map(e=>M(e.theme,n));i=Rr(p,h,_,d,u,`fg`,f),r=Rr(p,h,_,d,u,`bg`,f),o=`shiki-themes ${h.map(e=>e.name).join(` `)}`,s=u?void 0:[i,r].join(`;`)}else if(`theme`in n){let s=M(n.theme,n);a=Z(e,t,n);let l=e.getTheme(n.theme);r=N(l.bg,s),i=N(l.fg,s),o=l.name,c=V(a)}else throw new l("Invalid options, either `theme` or `themes` must be provided");return{tokens:a,fg:i,bg:r,themeName:o,rootStyle:s,grammarState:c}}function Rr(e,t,n,r,i,a,o){return e.map((s,c)=>{let u=N(t[c][a],n[c])||`inherit`,d=`${r+s.color}${a===`bg`?`-bg`:``}:${u}`;if(c===0&&i){if(i===`light-dark()`&&e.length>1){let r=e.findIndex(e=>e.color===`light`),i=e.findIndex(e=>e.color===`dark`);if(r===-1||i===-1)throw new l('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');return`light-dark(${N(t[r][a],n[r])||`inherit`}, ${N(t[i][a],n[i])||`inherit`});${d}`}return u}return o===`css-vars`?d:null}).filter(e=>!!e).join(`;`)}var zr=/^\s+$/,Br=/^(\s*)(.*?)(\s*)$/;function $(e,t,n,r={meta:{},options:n,codeToHast:(t,n)=>$(e,t,n),codeToTokens:(t,n)=>Q(e,t,n)}){let i=t;for(let e of wr(n))i=e.preprocess?.call(r,i,n)||i;let{tokens:a,fg:o,bg:s,themeName:c,rootStyle:l,grammarState:u}=Q(e,i,n),{mergeWhitespaces:d=!0,mergeSameStyleTokens:f=!1}=n;d===!0?a=Hr(a):d===`never`&&(a=Ur(a)),f&&(a=Wr(a));let p={...r,get source(){return i}};for(let e of wr(n))a=e.tokens?.call(p,a)||a;return Vr(a,{...n,fg:o,bg:s,themeName:c,rootStyle:n.rootStyle===!1?!1:n.rootStyle??l},p,u)}function Vr(e,t,n,r=V(e)){let i=wr(t),a=[],o={type:`root`,children:[]},{structure:s=`classic`,tabindex:c=`0`}=t,l={class:`shiki ${t.themeName||``}`};t.rootStyle!==!1&&(l.style=t.rootStyle==null?`background-color:${t.bg};color:${t.fg}`:t.rootStyle),c!==!1&&c!=null&&(l.tabindex=c.toString());for(let[e,n]of Object.entries(t.meta||{}))e.startsWith(`_`)||(l[e]=n);let u={type:`element`,tagName:`pre`,properties:l,children:[],data:t.data},d={type:`element`,tagName:`code`,properties:{},children:a},f=[],p={...n,structure:s,addClassToHast:sr,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return o},get pre(){return u},get code(){return d},get lines(){return f}};if(e.forEach((e,t)=>{t&&(s===`inline`?o.children.push({type:`element`,tagName:`br`,properties:{},children:[]}):s===`classic`&&a.push({type:`text`,value:`
12
+ `}));let n={type:`element`,tagName:`span`,properties:{class:`line`},children:[]},r=0;for(let a of e){let e={type:`element`,tagName:`span`,properties:{...a.htmlAttrs},children:[{type:`text`,value:a.content}]},c=Y(a.htmlStyle||J(a));c&&(e.properties.style=c);for(let o of i)e=o?.span?.call(p,e,t+1,r,n,a)||e;s===`inline`?o.children.push(e):s===`classic`&&n.children.push(e),r+=a.content.length}if(s===`classic`){for(let e of i)n=e?.line?.call(p,n,t+1)||n;f.push(n),a.push(n)}else s===`inline`&&f.push(n)}),s===`classic`){for(let e of i)d=e?.code?.call(p,d)||d;u.children.push(d);for(let e of i)u=e?.pre?.call(p,u)||u;o.children.push(u)}else if(s===`inline`){let e=[],t={type:`element`,tagName:`span`,properties:{class:`line`},children:[]};for(let n of o.children)n.type===`element`&&n.tagName===`br`?(e.push(t),t={type:`element`,tagName:`span`,properties:{class:`line`},children:[]}):(n.type===`element`||n.type===`text`)&&t.children.push(n);e.push(t);let n={type:`element`,tagName:`code`,properties:{},children:e};for(let e of i)n=e?.code?.call(p,n)||n;o.children=[];for(let e=0;e<n.children.length;e++){e>0&&o.children.push({type:`element`,tagName:`br`,properties:{},children:[]});let t=n.children[e];t.type===`element`&&o.children.push(...t.children)}}let m=o;for(let e of i)m=e?.root?.call(p,m)||m;return r&&B(m,r),m}function Hr(e){return e.map(e=>{let t=[],n=``,r;return e.forEach((i,a)=>{let o=!(i.fontStyle&&(i.fontStyle&b.Underline||i.fontStyle&b.Strikethrough));o&&zr.test(i.content)&&e[a+1]?(r===void 0&&(r=i.offset),n+=i.content):n?(o?t.push({...i,offset:r,content:n+i.content}):t.push({content:n,offset:r},i),r=void 0,n=``):t.push(i)}),t})}function Ur(e){return e.map(e=>e.flatMap(e=>{if(zr.test(e.content))return e;let t=e.content.match(Br);if(!t)return e;let[,n,r,i]=t;if(!n&&!i)return e;let a=[{...e,offset:e.offset+n.length,content:r}];return n&&a.unshift({content:n,offset:e.offset}),i&&a.push({content:i,offset:e.offset+n.length+r.length}),a}))}function Wr(e){return e.map(e=>{let t=[];for(let n of e){if(t.length===0){t.push({...n});continue}let e=t.at(-1),r=Y(e.htmlStyle||J(e)),i=Y(n.htmlStyle||J(n)),a=e.fontStyle&&(e.fontStyle&b.Underline||e.fontStyle&b.Strikethrough),o=n.fontStyle&&(n.fontStyle&b.Underline||n.fontStyle&b.Strikethrough);!a&&!o&&r===i?e.content+=n.content:t.push({...n})}return t})}var Gr=rr;function Kr(e,t,n){let r={meta:{},options:n,codeToHast:(t,n)=>$(e,t,n),codeToTokens:(t,n)=>Q(e,t,n)},i=Gr($(e,t,n,r));for(let e of wr(n))i=e.postprocess?.call(r,i,n)||i;return i}async function qr(e){let t=await Dt(e);return{getLastGrammarState:(...e)=>Ft(t,...e),codeToTokensBase:(e,n)=>Z(t,e,n),codeToTokensWithThemes:(e,n)=>U(t,e,n),codeToTokens:(e,n)=>Q(t,e,n),codeToHast:(e,n)=>$(t,e,n),codeToHtml:(e,n)=>Kr(t,e,n),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}function Jr(e){let t=z(e);return{getLastGrammarState:(...e)=>Ft(t,...e),codeToTokensBase:(e,n)=>Z(t,e,n),codeToTokensWithThemes:(e,n)=>U(t,e,n),codeToTokens:(e,n)=>Q(t,e,n),codeToHast:(e,n)=>$(t,e,n),codeToHtml:(e,n)=>Kr(t,e,n),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}function Yr(e){let t;async function n(n){if(t){let e=await t;return await Promise.all([e.loadTheme(...n.themes||[]),e.loadLanguage(...n.langs||[])]),e}return t=e({...n,themes:n.themes||[],langs:n.langs||[]}),t}return n}var Xr=Yr(qr);function Zr(e){let t=e.langs,n=e.themes,r=e.engine;async function i(e){function i(n){if(typeof n==`string`){if(n=e.langAlias?.[n]||n,ht(n))return[];let r=t[n];if(!r)throw new l(`Language \`${n}\` is not included in this bundle. You may want to load it from external source.`);return r}return n}function a(e){if(gt(e))return`none`;if(typeof e==`string`){let t=n[e];if(!t)throw new l(`Theme \`${e}\` is not included in this bundle. You may want to load it from external source.`);return t}return e}let o=(e.themes??[]).map(e=>a(e)),s=(e.langs??[]).map(e=>i(e)),c=await qr({engine:e.engine??r(),...e,themes:o,langs:s});return{...c,loadLanguage(...e){return c.loadLanguage(...e.map(i))},loadTheme(...e){return c.loadTheme(...e.map(a))},getBundledLanguages(){return t},getBundledThemes(){return n}}}return i}function Qr(e){let t;async function n(n={}){if(t){let e=await t;return await Promise.all([e.loadTheme(...n.themes||[]),e.loadLanguage(...n.langs||[])]),e}{t=e({...n,themes:[],langs:[]});let r=await t;return await Promise.all([r.loadTheme(...n.themes||[]),r.loadLanguage(...n.langs||[])]),r}}return n}function $r(e,t){let n=Qr(e);async function r(e,r){let i=await n({langs:[r.lang],themes:`theme`in r?[r.theme]:Object.values(r.themes)}),a=await t?.guessEmbeddedLanguages?.(e,r.lang,i);return a&&await i.loadLanguage(...a),i}return{getSingletonHighlighter(e){return n(e)},async codeToHtml(e,t){return(await r(e,t)).codeToHtml(e,t)},async codeToHast(e,t){return(await r(e,t)).codeToHast(e,t)},async codeToTokens(e,t){return(await r(e,t)).codeToTokens(e,t)},async codeToTokensBase(e,t){return(await r(e,t)).codeToTokensBase(e,t)},async codeToTokensWithThemes(e,t){return(await r(e,t)).codeToTokensWithThemes(e,t)},async getLastGrammarState(e,t){return(await n({langs:[t.lang],themes:[t.theme]})).getLastGrammarState(e,t)}}}function ei(e={}){let{name:t=`css-variables`,variablePrefix:n=`--shiki-`,fontStyle:r=!0}=e,i=t=>e.variableDefaults?.[t]?`var(${n}${t}, ${e.variableDefaults[t]})`:`var(${n}${t})`,a={name:t,type:`dark`,colors:{"editor.foreground":i(`foreground`),"editor.background":i(`background`),"terminal.ansiBlack":i(`ansi-black`),"terminal.ansiRed":i(`ansi-red`),"terminal.ansiGreen":i(`ansi-green`),"terminal.ansiYellow":i(`ansi-yellow`),"terminal.ansiBlue":i(`ansi-blue`),"terminal.ansiMagenta":i(`ansi-magenta`),"terminal.ansiCyan":i(`ansi-cyan`),"terminal.ansiWhite":i(`ansi-white`),"terminal.ansiBrightBlack":i(`ansi-bright-black`),"terminal.ansiBrightRed":i(`ansi-bright-red`),"terminal.ansiBrightGreen":i(`ansi-bright-green`),"terminal.ansiBrightYellow":i(`ansi-bright-yellow`),"terminal.ansiBrightBlue":i(`ansi-bright-blue`),"terminal.ansiBrightMagenta":i(`ansi-bright-magenta`),"terminal.ansiBrightCyan":i(`ansi-bright-cyan`),"terminal.ansiBrightWhite":i(`ansi-bright-white`)},tokenColors:[{scope:[`keyword.operator.accessor`,`meta.group.braces.round.function.arguments`,`meta.template.expression`,`markup.fenced_code meta.embedded.block`],settings:{foreground:i(`foreground`)}},{scope:`emphasis`,settings:{fontStyle:`italic`}},{scope:[`strong`,`markup.heading.markdown`,`markup.bold.markdown`],settings:{fontStyle:`bold`}},{scope:[`markup.italic.markdown`],settings:{fontStyle:`italic`}},{scope:`meta.link.inline.markdown`,settings:{fontStyle:`underline`,foreground:i(`token-link`)}},{scope:[`string`,`markup.fenced_code`,`markup.inline`],settings:{foreground:i(`token-string`)}},{scope:[`comment`,`string.quoted.docstring.multi`],settings:{foreground:i(`token-comment`)}},{scope:[`constant.numeric`,`constant.language`,`constant.other.placeholder`,`constant.character.format.placeholder`,`variable.language.this`,`variable.other.object`,`variable.other.class`,`variable.other.constant`,`meta.property-name`,`meta.property-value`,`support`],settings:{foreground:i(`token-constant`)}},{scope:[`keyword`,`storage.modifier`,`storage.type`,`storage.control.clojure`,`entity.name.function.clojure`,`entity.name.tag.yaml`,`support.function.node`,`support.type.property-name.json`,`punctuation.separator.key-value`,`punctuation.definition.template-expression`],settings:{foreground:i(`token-keyword`)}},{scope:`variable.parameter.function`,settings:{foreground:i(`token-parameter`)}},{scope:[`support.function`,`entity.name.type`,`entity.other.inherited-class`,`meta.function-call`,`meta.instance.constructor`,`entity.other.attribute-name`,`entity.name.function`,`constant.keyword.clojure`],settings:{foreground:i(`token-function`)}},{scope:[`entity.name.tag`,`string.quoted`,`string.regexp`,`string.interpolated`,`string.template`,`string.unquoted.plain.out.yaml`,`keyword.other.template`],settings:{foreground:i(`token-string-expression`)}},{scope:[`punctuation.definition.arguments`,`punctuation.definition.dict`,`punctuation.separator`,`meta.function-call.arguments`],settings:{foreground:i(`token-punctuation`)}},{scope:[`markup.underline.link`,`punctuation.definition.metadata.markdown`],settings:{foreground:i(`token-link`)}},{scope:[`beginning.punctuation.definition.list.markdown`],settings:{foreground:i(`token-string`)}},{scope:[`punctuation.definition.string.begin.markdown`,`punctuation.definition.string.end.markdown`,`string.other.link.title.markdown`,`string.other.link.description.markdown`],settings:{foreground:i(`token-keyword`)}},{scope:[`markup.inserted`,`meta.diff.header.to-file`,`punctuation.definition.inserted`],settings:{foreground:i(`token-inserted`)}},{scope:[`markup.deleted`,`meta.diff.header.from-file`,`punctuation.definition.deleted`],settings:{foreground:i(`token-deleted`)}},{scope:[`markup.changed`,`punctuation.definition.changed`],settings:{foreground:i(`token-changed`)}}]};return r||(a.tokenColors=a.tokenColors?.map(e=>(e.settings?.fontStyle&&delete e.settings.fontStyle,e))),a}export{l as ShikiError,sr as addClassToHast,N as applyColorReplacements,$ as codeToHast,Kr as codeToHtml,Q as codeToTokens,Z as codeToTokensBase,U as codeToTokensWithThemes,Zr as createBundledHighlighter,ei as createCssVariablesTheme,qr as createHighlighterCore,Jr as createHighlighterCoreSync,pr as createPositionConverter,Ot as createShikiInternal,Et as createShikiInternalSync,z as createShikiPrimitive,Dt as createShikiPrimitiveAsync,$r as createSingletonShorthands,yr as flatTokenVariants,Ft as getLastGrammarState,Xr as getSingletonHighlighterCore,J as getTokenStyleObject,mr as guessEmbeddedLanguages,Gr as hastToHtml,F as isNoneTheme,P as isPlainLang,ht as isSpecialLang,gt as isSpecialTheme,Qr as makeSingletonHighlighter,Yr as makeSingletonHighlighterCore,mt as normalizeGetter,L as normalizeTheme,M as resolveColorReplacements,I as splitLines,gr as splitToken,vr as splitTokens,Y as stringifyTokenStyle,pt as toArray,Ir as tokenizeAnsiWithTheme,It as tokenizeWithTheme,Vr as tokensToHast,br as transformerDecorations};
13
+ //# sourceMappingURL=core-CIeAU5U4.js.map