just-bash 3.0.0 → 3.0.2

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 (1140) hide show
  1. package/CHANGELOG.md +73 -0
  2. package/README.md +11 -0
  3. package/dist/AGENTS.md +2 -0
  4. package/dist/bin/chunks/alias-YRVAW27Y.js +3 -0
  5. package/dist/bin/chunks/awk2-UFCNQFCV.js +3 -0
  6. package/dist/bin/chunks/base64-EGKVQIBC.js +3 -0
  7. package/dist/bin/chunks/basename-F3AQ4KAQ.js +3 -0
  8. package/dist/bin/chunks/bash-BEG4JB7K.js +3 -0
  9. package/dist/bin/chunks/cat-NBL6MU5H.js +3 -0
  10. package/dist/bin/chunks/chmod-S564JCJW.js +3 -0
  11. package/dist/bin/chunks/chunk-2AIXTPH2.js +9 -0
  12. package/dist/bin/chunks/chunk-2ETT4ELS.js +4 -0
  13. package/dist/bin/chunks/chunk-2GG3NVC4.js +10 -0
  14. package/dist/bin/chunks/chunk-2ZAK22BG.js +9 -0
  15. package/dist/bin/chunks/chunk-3MRB66F4.js +3 -0
  16. package/dist/bin/chunks/chunk-3WIMLJM7.js +8 -0
  17. package/dist/bin/chunks/chunk-47WZ2U6M.js +9 -0
  18. package/dist/bin/chunks/chunk-4BNS566Q.js +4 -0
  19. package/dist/bin/chunks/chunk-4J4UC7OD.js +17 -0
  20. package/dist/bin/chunks/chunk-52FZYTIX.js +34 -0
  21. package/dist/bin/chunks/chunk-5KX5YUWT.js +37 -0
  22. package/dist/bin/chunks/chunk-5XSZHUEI.js +15 -0
  23. package/dist/bin/chunks/chunk-6FYCU7QB.js +3 -0
  24. package/dist/bin/chunks/chunk-6JKLDBRW.js +18 -0
  25. package/dist/bin/chunks/chunk-6WJQNLR2.js +7 -0
  26. package/dist/bin/chunks/chunk-7HK63L6Y.js +3 -0
  27. package/dist/bin/chunks/chunk-7JZKVC3F.js +2 -0
  28. package/dist/bin/chunks/chunk-7NDRU2ZN.js +5 -0
  29. package/dist/bin/chunks/chunk-7VCQWCSH.js +15 -0
  30. package/dist/bin/chunks/chunk-AFAD5U2A.js +8 -0
  31. package/dist/bin/chunks/chunk-AGKL4LDL.js +4 -0
  32. package/dist/bin/chunks/chunk-AJF3OBTR.js +4 -0
  33. package/dist/bin/chunks/chunk-AZH64XMJ.js +3 -0
  34. package/dist/bin/chunks/chunk-B2DRBHGQ.js +3 -0
  35. package/dist/bin/chunks/chunk-BIJXTWZ4.js +3 -0
  36. package/dist/bin/chunks/chunk-BPZJYOUA.js +33 -0
  37. package/dist/bin/chunks/chunk-BZP56QBM.js +24 -0
  38. package/dist/bin/chunks/chunk-C6JOQKE2.js +22 -0
  39. package/dist/bin/chunks/chunk-CX5CEEGI.js +11 -0
  40. package/dist/bin/chunks/chunk-D7YFPDMV.js +22 -0
  41. package/dist/bin/chunks/chunk-DHIKZU63.js +3 -0
  42. package/dist/bin/chunks/chunk-DJAX3ZRG.js +8 -0
  43. package/dist/bin/chunks/chunk-DWECIBLJ.js +3 -0
  44. package/dist/bin/chunks/chunk-DYIBFLS3.js +17 -0
  45. package/dist/bin/chunks/chunk-FEENTUVZ.js +18 -0
  46. package/dist/bin/chunks/chunk-FJABJBIW.js +141 -0
  47. package/dist/bin/chunks/chunk-FYCT4DWY.js +6 -0
  48. package/dist/bin/chunks/chunk-G4AUMZUY.js +4 -0
  49. package/dist/bin/chunks/chunk-G7ZWT7BT.js +9 -0
  50. package/dist/bin/chunks/chunk-GTO74SFS.js +7 -0
  51. package/dist/bin/chunks/chunk-GXX3QUMM.js +34 -0
  52. package/dist/bin/chunks/chunk-HMCRB24D.js +15 -0
  53. package/dist/bin/chunks/chunk-HWNCK5BB.js +10 -0
  54. package/dist/bin/chunks/chunk-I4IRHQDW.js +3 -0
  55. package/dist/bin/chunks/chunk-IX7LKVVH.js +15 -0
  56. package/dist/bin/chunks/chunk-J7XTZ47D.js +288 -0
  57. package/dist/bin/chunks/chunk-JDFKEXLG.js +12 -0
  58. package/dist/bin/chunks/chunk-JJC4ENJL.js +13 -0
  59. package/dist/bin/chunks/chunk-JSZBZ2XU.js +3 -0
  60. package/dist/bin/chunks/chunk-JXLDT4KX.js +4 -0
  61. package/dist/bin/chunks/chunk-KI54R2QB.js +3 -0
  62. package/dist/bin/chunks/chunk-KMZUSEWI.js +12 -0
  63. package/dist/bin/chunks/chunk-KUMHQGUR.js +3 -0
  64. package/dist/bin/chunks/chunk-KWCO3YXP.js +17 -0
  65. package/dist/bin/chunks/chunk-LMA4D2KK.js +7 -0
  66. package/dist/bin/chunks/chunk-LNVSXNT7.js +3 -0
  67. package/dist/bin/chunks/chunk-LX2H4DPL.js +6 -0
  68. package/dist/bin/chunks/chunk-MLUOPG3W.js +3 -0
  69. package/dist/bin/chunks/chunk-MNWK4UIM.js +22 -0
  70. package/dist/bin/chunks/chunk-MP77TJMM.js +6 -0
  71. package/dist/bin/chunks/chunk-MROECM42.js +3 -0
  72. package/dist/bin/chunks/chunk-MTK7VLZG.js +12 -0
  73. package/dist/bin/chunks/chunk-MUFNRCMY.js +24 -0
  74. package/dist/bin/chunks/chunk-N3FQJLPZ.js +17 -0
  75. package/dist/bin/chunks/chunk-N6YW4W3Z.js +29 -0
  76. package/dist/bin/chunks/chunk-NE4R2FVV.js +5 -0
  77. package/dist/bin/chunks/chunk-NMMVECGD.js +14 -0
  78. package/dist/bin/chunks/chunk-NXYVRP6D.js +11 -0
  79. package/dist/bin/chunks/chunk-NYIPFY36.js +3 -0
  80. package/dist/bin/chunks/chunk-O2BCKSMK.js +3 -0
  81. package/dist/bin/chunks/chunk-OLEQNRKX.js +8 -0
  82. package/dist/bin/chunks/chunk-OVVMB2JI.js +7 -0
  83. package/dist/bin/chunks/chunk-OXZSG3ZZ.js +7 -0
  84. package/dist/bin/chunks/chunk-PBOVSFTJ.js +3 -0
  85. package/dist/bin/chunks/chunk-PDS5TEMS.js +80 -0
  86. package/dist/bin/chunks/chunk-PKE7GKU5.js +3 -0
  87. package/dist/bin/chunks/chunk-PSJORJRS.js +6 -0
  88. package/dist/bin/chunks/chunk-PXP4YYZA.js +13 -0
  89. package/dist/bin/chunks/chunk-PZQVSQX6.js +4 -0
  90. package/dist/bin/chunks/chunk-Q2GOPGDA.js +6 -0
  91. package/dist/bin/chunks/chunk-QL33F2W6.js +8 -0
  92. package/dist/bin/chunks/chunk-R36DS2UF.js +20 -0
  93. package/dist/bin/chunks/chunk-RKBWTGBZ.js +7 -0
  94. package/dist/bin/chunks/chunk-RVGYO2OU.js +3 -0
  95. package/dist/bin/chunks/chunk-RVPTAYDS.js +4 -0
  96. package/dist/bin/chunks/chunk-SF2OLINE.js +12 -0
  97. package/dist/bin/chunks/chunk-TIRU5FOD.js +101 -0
  98. package/dist/bin/chunks/chunk-TKYWUEON.js +13 -0
  99. package/dist/bin/chunks/chunk-TYBXHT6W.js +10 -0
  100. package/dist/bin/chunks/chunk-UI7CV277.js +20 -0
  101. package/dist/bin/chunks/chunk-UNWZQG7U.js +3 -0
  102. package/dist/bin/chunks/chunk-UOMNSQEZ.js +10 -0
  103. package/dist/bin/chunks/chunk-W5OBQVJ2.js +6 -0
  104. package/dist/bin/chunks/chunk-WDWNEHHE.js +9 -0
  105. package/dist/bin/chunks/chunk-WHUKZ3K3.js +85 -0
  106. package/dist/bin/chunks/chunk-XBB73LFB.js +5 -0
  107. package/dist/bin/chunks/chunk-XHCCSVP6.js +9 -0
  108. package/dist/bin/chunks/chunk-XPTYN6UE.js +8 -0
  109. package/dist/bin/chunks/chunk-XRUDFQG5.js +7 -0
  110. package/dist/bin/chunks/chunk-Y2IUEWQD.js +11 -0
  111. package/dist/bin/chunks/chunk-Y5OWCEDV.js +64 -0
  112. package/dist/bin/chunks/chunk-YJ5OCPSK.js +7 -0
  113. package/dist/bin/chunks/chunk-YOIFOOGX.js +9 -0
  114. package/dist/bin/chunks/chunk-YUZRUF5F.js +10 -0
  115. package/dist/bin/chunks/chunk-ZFUVUYWG.js +15 -0
  116. package/dist/bin/chunks/chunk-ZZP3RSWL.js +4 -0
  117. package/dist/bin/chunks/clear-FGNEKYDU.js +3 -0
  118. package/dist/bin/chunks/column-QLGOK3XM.js +3 -0
  119. package/dist/bin/chunks/comm-PLYUTVP3.js +3 -0
  120. package/dist/bin/chunks/cp-HYXTMN3D.js +3 -0
  121. package/dist/bin/chunks/curl-DCSPNPEW.js +27 -0
  122. package/dist/bin/chunks/cut-JNQTCQY7.js +3 -0
  123. package/dist/bin/chunks/date-OFYBOAUE.js +3 -0
  124. package/dist/bin/chunks/diff-LZ4WRLIF.js +3 -0
  125. package/dist/bin/chunks/dirname-VCINTLPD.js +3 -0
  126. package/dist/bin/chunks/du-4LRQIGRG.js +3 -0
  127. package/dist/bin/chunks/echo-KCOHTNDF.js +3 -0
  128. package/dist/bin/chunks/env-FNVYNLGB.js +3 -0
  129. package/dist/bin/chunks/expand-CB7FG7LQ.js +3 -0
  130. package/dist/bin/chunks/expansion-PCODPDNZ.js +3 -0
  131. package/dist/bin/chunks/expr-6A2XZORA.js +3 -0
  132. package/dist/bin/chunks/file-GRZLWDVH.js +3 -0
  133. package/dist/bin/chunks/find-5OZWMYCV.js +3 -0
  134. package/dist/bin/chunks/flag-coverage-H6NG6ZQL.js +3 -0
  135. package/dist/bin/chunks/fold-7YEITA5L.js +3 -0
  136. package/dist/bin/chunks/grep-KKBXRB73.js +3 -0
  137. package/dist/bin/chunks/gzip-ZJP5VIAQ.js +3 -0
  138. package/dist/bin/chunks/head-B6GFQHKF.js +3 -0
  139. package/dist/bin/chunks/help-CGUEOGXQ.js +3 -0
  140. package/dist/bin/chunks/history-AQQWW3QB.js +3 -0
  141. package/dist/bin/chunks/hostname-USNWOQCK.js +3 -0
  142. package/dist/bin/chunks/html-to-markdown-3HJ7L7NL.js +3 -0
  143. package/dist/bin/chunks/join-WRM6S6CO.js +3 -0
  144. package/dist/bin/chunks/jq-33GJJXTL.js +3 -0
  145. package/dist/bin/chunks/js-exec-F7JAZ4ZQ.js +98 -0
  146. package/dist/bin/chunks/js-exec-worker.js +214 -17
  147. package/dist/bin/chunks/ln-LP4HMCSM.js +3 -0
  148. package/dist/bin/chunks/ls-KBNHNZWQ.js +3 -0
  149. package/dist/bin/chunks/md5sum-ZNYCDRQL.js +3 -0
  150. package/dist/bin/chunks/mkdir-P4DKRCDX.js +3 -0
  151. package/dist/bin/chunks/mv-QQK4FQX6.js +3 -0
  152. package/dist/bin/chunks/nl-6TVYE4ZB.js +3 -0
  153. package/dist/bin/chunks/od-Y3E3QXOL.js +3 -0
  154. package/dist/bin/chunks/paste-LYNFXXCM.js +3 -0
  155. package/dist/bin/chunks/printf-MR3FXCDE.js +3 -0
  156. package/dist/bin/chunks/pwd-FCNDA467.js +3 -0
  157. package/dist/bin/chunks/python3-R5OFWJIH.js +13 -0
  158. package/dist/bin/chunks/readlink-25V57VOL.js +3 -0
  159. package/dist/bin/chunks/rev-AJECDD4L.js +3 -0
  160. package/dist/bin/chunks/rg-2YWJS6TE.js +3 -0
  161. package/dist/bin/chunks/rm-ECNUFR66.js +3 -0
  162. package/dist/bin/chunks/rmdir-DLOHIA7Q.js +3 -0
  163. package/dist/bin/chunks/sed-IGRH7EGG.js +3 -0
  164. package/dist/bin/chunks/seq-UXDJE6FB.js +3 -0
  165. package/dist/bin/chunks/sha1sum-5QZSNFY3.js +3 -0
  166. package/dist/bin/chunks/sha256sum-DI7JAVAU.js +3 -0
  167. package/dist/bin/chunks/sleep-RPGCUUGX.js +3 -0
  168. package/dist/bin/chunks/sort-HQPAFL76.js +3 -0
  169. package/dist/bin/chunks/split-F6FSB5KI.js +3 -0
  170. package/dist/bin/chunks/sqlite3-7TRACAE7.js +3 -0
  171. package/dist/bin/chunks/sqlite3-worker.js +3 -2
  172. package/dist/bin/chunks/stat-BD6KT3BP.js +3 -0
  173. package/dist/bin/chunks/strings-6PE3YMPO.js +3 -0
  174. package/dist/bin/chunks/tac-NERJXVOM.js +3 -0
  175. package/dist/bin/chunks/tail-24F643A4.js +3 -0
  176. package/dist/bin/chunks/tar-5HK3VMV2.js +3 -0
  177. package/dist/bin/chunks/tee-5B7P2QRJ.js +3 -0
  178. package/dist/bin/chunks/time-FN6VJGRS.js +3 -0
  179. package/dist/bin/chunks/timeout-ZARIAF3K.js +3 -0
  180. package/dist/bin/chunks/touch-DFGSVIX7.js +3 -0
  181. package/dist/bin/chunks/tr-QQZYZ3CH.js +3 -0
  182. package/dist/bin/chunks/tree-6D7SMPUR.js +3 -0
  183. package/dist/bin/chunks/true-SKL4L7JP.js +3 -0
  184. package/dist/bin/chunks/unexpand-3JWOSSBQ.js +3 -0
  185. package/dist/bin/chunks/uniq-Q5UH5NL3.js +3 -0
  186. package/dist/bin/chunks/wc-4HXNTHY3.js +3 -0
  187. package/dist/bin/chunks/which-LCXKCLFC.js +3 -0
  188. package/dist/bin/chunks/whoami-TZDZDU7T.js +3 -0
  189. package/dist/bin/chunks/worker.js +3 -2
  190. package/dist/bin/chunks/xan-TSDTZVY3.js +3 -0
  191. package/dist/bin/chunks/xan-view-XBMA362V.js +3 -0
  192. package/dist/bin/chunks/xargs-VTFN762K.js +3 -0
  193. package/dist/bin/chunks/yq-KU5YTNAK.js +3 -0
  194. package/dist/bin/just-bash.js +172 -170
  195. package/dist/bin/shell/chunks/alias-YRVAW27Y.js +3 -0
  196. package/dist/bin/shell/chunks/awk2-UFCNQFCV.js +3 -0
  197. package/dist/bin/shell/chunks/base64-EGKVQIBC.js +3 -0
  198. package/dist/bin/shell/chunks/basename-F3AQ4KAQ.js +3 -0
  199. package/dist/bin/shell/chunks/bash-BEG4JB7K.js +3 -0
  200. package/dist/bin/shell/chunks/cat-NBL6MU5H.js +3 -0
  201. package/dist/bin/shell/chunks/chmod-S564JCJW.js +3 -0
  202. package/dist/bin/shell/chunks/chunk-2AIXTPH2.js +9 -0
  203. package/dist/bin/shell/chunks/chunk-2ETT4ELS.js +4 -0
  204. package/dist/bin/shell/chunks/chunk-2GG3NVC4.js +10 -0
  205. package/dist/bin/shell/chunks/chunk-2ZAK22BG.js +9 -0
  206. package/dist/bin/shell/chunks/chunk-3MRB66F4.js +3 -0
  207. package/dist/bin/shell/chunks/chunk-3WIMLJM7.js +8 -0
  208. package/dist/bin/shell/chunks/chunk-47WZ2U6M.js +9 -0
  209. package/dist/bin/shell/chunks/chunk-4BNS566Q.js +4 -0
  210. package/dist/bin/shell/chunks/chunk-4J4UC7OD.js +17 -0
  211. package/dist/bin/shell/chunks/chunk-52FZYTIX.js +34 -0
  212. package/dist/bin/shell/chunks/chunk-5KX5YUWT.js +37 -0
  213. package/dist/bin/shell/chunks/chunk-5XSZHUEI.js +15 -0
  214. package/dist/bin/shell/chunks/chunk-6FYCU7QB.js +3 -0
  215. package/dist/bin/shell/chunks/chunk-6JKLDBRW.js +18 -0
  216. package/dist/bin/shell/chunks/chunk-6WJQNLR2.js +7 -0
  217. package/dist/bin/shell/chunks/chunk-7HK63L6Y.js +3 -0
  218. package/dist/bin/shell/chunks/chunk-7JZKVC3F.js +2 -0
  219. package/dist/bin/shell/chunks/chunk-7NDRU2ZN.js +5 -0
  220. package/dist/bin/shell/chunks/chunk-7VCQWCSH.js +15 -0
  221. package/dist/bin/shell/chunks/chunk-AFAD5U2A.js +8 -0
  222. package/dist/bin/shell/chunks/chunk-AGKL4LDL.js +4 -0
  223. package/dist/bin/shell/chunks/chunk-AJF3OBTR.js +4 -0
  224. package/dist/bin/shell/chunks/chunk-AZH64XMJ.js +3 -0
  225. package/dist/bin/shell/chunks/chunk-B2DRBHGQ.js +3 -0
  226. package/dist/bin/shell/chunks/chunk-BIJXTWZ4.js +3 -0
  227. package/dist/bin/shell/chunks/chunk-BPZJYOUA.js +33 -0
  228. package/dist/bin/shell/chunks/chunk-BZP56QBM.js +24 -0
  229. package/dist/bin/shell/chunks/chunk-C6JOQKE2.js +22 -0
  230. package/dist/bin/shell/chunks/chunk-CX5CEEGI.js +11 -0
  231. package/dist/bin/shell/chunks/chunk-D7YFPDMV.js +22 -0
  232. package/dist/bin/shell/chunks/chunk-DHIKZU63.js +3 -0
  233. package/dist/bin/shell/chunks/chunk-DJAX3ZRG.js +8 -0
  234. package/dist/bin/shell/chunks/chunk-DWECIBLJ.js +3 -0
  235. package/dist/bin/shell/chunks/chunk-DYIBFLS3.js +17 -0
  236. package/dist/bin/shell/chunks/chunk-FEENTUVZ.js +18 -0
  237. package/dist/bin/shell/chunks/chunk-FJABJBIW.js +141 -0
  238. package/dist/bin/shell/chunks/chunk-FYCT4DWY.js +6 -0
  239. package/dist/bin/shell/chunks/chunk-G4AUMZUY.js +4 -0
  240. package/dist/bin/shell/chunks/chunk-G7ZWT7BT.js +9 -0
  241. package/dist/bin/shell/chunks/chunk-GTO74SFS.js +7 -0
  242. package/dist/bin/shell/chunks/chunk-GXX3QUMM.js +34 -0
  243. package/dist/bin/shell/chunks/chunk-HMCRB24D.js +15 -0
  244. package/dist/bin/shell/chunks/chunk-HWNCK5BB.js +10 -0
  245. package/dist/bin/shell/chunks/chunk-I4IRHQDW.js +3 -0
  246. package/dist/bin/shell/chunks/chunk-IX7LKVVH.js +15 -0
  247. package/dist/bin/shell/chunks/chunk-J7XTZ47D.js +288 -0
  248. package/dist/bin/shell/chunks/chunk-JDFKEXLG.js +12 -0
  249. package/dist/bin/shell/chunks/chunk-JJC4ENJL.js +13 -0
  250. package/dist/bin/shell/chunks/chunk-JSZBZ2XU.js +3 -0
  251. package/dist/bin/shell/chunks/chunk-JXLDT4KX.js +4 -0
  252. package/dist/bin/shell/chunks/chunk-KI54R2QB.js +3 -0
  253. package/dist/bin/shell/chunks/chunk-KMZUSEWI.js +12 -0
  254. package/dist/bin/shell/chunks/chunk-KUMHQGUR.js +3 -0
  255. package/dist/bin/shell/chunks/chunk-KWCO3YXP.js +17 -0
  256. package/dist/bin/shell/chunks/chunk-LMA4D2KK.js +7 -0
  257. package/dist/bin/shell/chunks/chunk-LNVSXNT7.js +3 -0
  258. package/dist/bin/shell/chunks/chunk-LX2H4DPL.js +6 -0
  259. package/dist/bin/shell/chunks/chunk-MLUOPG3W.js +3 -0
  260. package/dist/bin/shell/chunks/chunk-MNWK4UIM.js +22 -0
  261. package/dist/bin/shell/chunks/chunk-MP77TJMM.js +6 -0
  262. package/dist/bin/shell/chunks/chunk-MROECM42.js +3 -0
  263. package/dist/bin/shell/chunks/chunk-MTK7VLZG.js +12 -0
  264. package/dist/bin/shell/chunks/chunk-MUFNRCMY.js +24 -0
  265. package/dist/bin/shell/chunks/chunk-N3FQJLPZ.js +17 -0
  266. package/dist/bin/shell/chunks/chunk-N6YW4W3Z.js +29 -0
  267. package/dist/bin/shell/chunks/chunk-NE4R2FVV.js +5 -0
  268. package/dist/bin/shell/chunks/chunk-NMMVECGD.js +14 -0
  269. package/dist/bin/shell/chunks/chunk-NXYVRP6D.js +11 -0
  270. package/dist/bin/shell/chunks/chunk-NYIPFY36.js +3 -0
  271. package/dist/bin/shell/chunks/chunk-O2BCKSMK.js +3 -0
  272. package/dist/bin/shell/chunks/chunk-OLEQNRKX.js +8 -0
  273. package/dist/bin/shell/chunks/chunk-OVVMB2JI.js +7 -0
  274. package/dist/bin/shell/chunks/chunk-OXZSG3ZZ.js +7 -0
  275. package/dist/bin/shell/chunks/chunk-PBOVSFTJ.js +3 -0
  276. package/dist/bin/shell/chunks/chunk-PDS5TEMS.js +80 -0
  277. package/dist/bin/shell/chunks/chunk-PKE7GKU5.js +3 -0
  278. package/dist/bin/shell/chunks/chunk-PSJORJRS.js +6 -0
  279. package/dist/bin/shell/chunks/chunk-PXP4YYZA.js +13 -0
  280. package/dist/bin/shell/chunks/chunk-PZQVSQX6.js +4 -0
  281. package/dist/bin/shell/chunks/chunk-Q2GOPGDA.js +6 -0
  282. package/dist/bin/shell/chunks/chunk-QL33F2W6.js +8 -0
  283. package/dist/bin/shell/chunks/chunk-R36DS2UF.js +20 -0
  284. package/dist/bin/shell/chunks/chunk-RKBWTGBZ.js +7 -0
  285. package/dist/bin/shell/chunks/chunk-RVGYO2OU.js +3 -0
  286. package/dist/bin/shell/chunks/chunk-RVPTAYDS.js +4 -0
  287. package/dist/bin/shell/chunks/chunk-SF2OLINE.js +12 -0
  288. package/dist/bin/shell/chunks/chunk-TIRU5FOD.js +101 -0
  289. package/dist/bin/shell/chunks/chunk-TKYWUEON.js +13 -0
  290. package/dist/bin/shell/chunks/chunk-TYBXHT6W.js +10 -0
  291. package/dist/bin/shell/chunks/chunk-UI7CV277.js +20 -0
  292. package/dist/bin/shell/chunks/chunk-UNWZQG7U.js +3 -0
  293. package/dist/bin/shell/chunks/chunk-UOMNSQEZ.js +10 -0
  294. package/dist/bin/shell/chunks/chunk-W5OBQVJ2.js +6 -0
  295. package/dist/bin/shell/chunks/chunk-WDWNEHHE.js +9 -0
  296. package/dist/bin/shell/chunks/chunk-WHUKZ3K3.js +85 -0
  297. package/dist/bin/shell/chunks/chunk-XBB73LFB.js +5 -0
  298. package/dist/bin/shell/chunks/chunk-XHCCSVP6.js +9 -0
  299. package/dist/bin/shell/chunks/chunk-XPTYN6UE.js +8 -0
  300. package/dist/bin/shell/chunks/chunk-XRUDFQG5.js +7 -0
  301. package/dist/bin/shell/chunks/chunk-Y2IUEWQD.js +11 -0
  302. package/dist/bin/shell/chunks/chunk-Y5OWCEDV.js +64 -0
  303. package/dist/bin/shell/chunks/chunk-YJ5OCPSK.js +7 -0
  304. package/dist/bin/shell/chunks/chunk-YOIFOOGX.js +9 -0
  305. package/dist/bin/shell/chunks/chunk-YUZRUF5F.js +10 -0
  306. package/dist/bin/shell/chunks/chunk-ZFUVUYWG.js +15 -0
  307. package/dist/bin/shell/chunks/chunk-ZZP3RSWL.js +4 -0
  308. package/dist/bin/shell/chunks/clear-FGNEKYDU.js +3 -0
  309. package/dist/bin/shell/chunks/column-QLGOK3XM.js +3 -0
  310. package/dist/bin/shell/chunks/comm-PLYUTVP3.js +3 -0
  311. package/dist/bin/shell/chunks/cp-HYXTMN3D.js +3 -0
  312. package/dist/bin/shell/chunks/curl-DCSPNPEW.js +27 -0
  313. package/dist/bin/shell/chunks/cut-JNQTCQY7.js +3 -0
  314. package/dist/bin/shell/chunks/date-OFYBOAUE.js +3 -0
  315. package/dist/bin/shell/chunks/diff-LZ4WRLIF.js +3 -0
  316. package/dist/bin/shell/chunks/dirname-VCINTLPD.js +3 -0
  317. package/dist/bin/shell/chunks/du-4LRQIGRG.js +3 -0
  318. package/dist/bin/shell/chunks/echo-KCOHTNDF.js +3 -0
  319. package/dist/bin/shell/chunks/env-FNVYNLGB.js +3 -0
  320. package/dist/bin/shell/chunks/expand-CB7FG7LQ.js +3 -0
  321. package/dist/bin/shell/chunks/expansion-PCODPDNZ.js +3 -0
  322. package/dist/bin/shell/chunks/expr-6A2XZORA.js +3 -0
  323. package/dist/bin/shell/chunks/file-GRZLWDVH.js +3 -0
  324. package/dist/bin/shell/chunks/find-5OZWMYCV.js +3 -0
  325. package/dist/bin/shell/chunks/flag-coverage-H6NG6ZQL.js +3 -0
  326. package/dist/bin/shell/chunks/fold-7YEITA5L.js +3 -0
  327. package/dist/bin/shell/chunks/grep-KKBXRB73.js +3 -0
  328. package/dist/bin/shell/chunks/gzip-ZJP5VIAQ.js +3 -0
  329. package/dist/bin/shell/chunks/head-B6GFQHKF.js +3 -0
  330. package/dist/bin/shell/chunks/help-CGUEOGXQ.js +3 -0
  331. package/dist/bin/shell/chunks/history-AQQWW3QB.js +3 -0
  332. package/dist/bin/shell/chunks/hostname-USNWOQCK.js +3 -0
  333. package/dist/bin/shell/chunks/html-to-markdown-3HJ7L7NL.js +3 -0
  334. package/dist/bin/shell/chunks/join-WRM6S6CO.js +3 -0
  335. package/dist/bin/shell/chunks/jq-33GJJXTL.js +3 -0
  336. package/dist/bin/shell/chunks/js-exec-F7JAZ4ZQ.js +98 -0
  337. package/dist/bin/shell/chunks/ln-LP4HMCSM.js +3 -0
  338. package/dist/bin/shell/chunks/ls-KBNHNZWQ.js +3 -0
  339. package/dist/bin/shell/chunks/md5sum-ZNYCDRQL.js +3 -0
  340. package/dist/bin/shell/chunks/mkdir-P4DKRCDX.js +3 -0
  341. package/dist/bin/shell/chunks/mv-QQK4FQX6.js +3 -0
  342. package/dist/bin/shell/chunks/nl-6TVYE4ZB.js +3 -0
  343. package/dist/bin/shell/chunks/od-Y3E3QXOL.js +3 -0
  344. package/dist/bin/shell/chunks/paste-LYNFXXCM.js +3 -0
  345. package/dist/bin/shell/chunks/printf-MR3FXCDE.js +3 -0
  346. package/dist/bin/shell/chunks/pwd-FCNDA467.js +3 -0
  347. package/dist/bin/shell/chunks/python3-R5OFWJIH.js +13 -0
  348. package/dist/bin/shell/chunks/readlink-25V57VOL.js +3 -0
  349. package/dist/bin/shell/chunks/rev-AJECDD4L.js +3 -0
  350. package/dist/bin/shell/chunks/rg-2YWJS6TE.js +3 -0
  351. package/dist/bin/shell/chunks/rm-ECNUFR66.js +3 -0
  352. package/dist/bin/shell/chunks/rmdir-DLOHIA7Q.js +3 -0
  353. package/dist/bin/shell/chunks/sed-IGRH7EGG.js +3 -0
  354. package/dist/bin/shell/chunks/seq-UXDJE6FB.js +3 -0
  355. package/dist/bin/shell/chunks/sha1sum-5QZSNFY3.js +3 -0
  356. package/dist/bin/shell/chunks/sha256sum-DI7JAVAU.js +3 -0
  357. package/dist/bin/shell/chunks/sleep-RPGCUUGX.js +3 -0
  358. package/dist/bin/shell/chunks/sort-HQPAFL76.js +3 -0
  359. package/dist/bin/shell/chunks/split-F6FSB5KI.js +3 -0
  360. package/dist/bin/shell/chunks/sqlite3-7TRACAE7.js +3 -0
  361. package/dist/bin/shell/chunks/stat-BD6KT3BP.js +3 -0
  362. package/dist/bin/shell/chunks/strings-6PE3YMPO.js +3 -0
  363. package/dist/bin/shell/chunks/tac-NERJXVOM.js +3 -0
  364. package/dist/bin/shell/chunks/tail-24F643A4.js +3 -0
  365. package/dist/bin/shell/chunks/tar-5HK3VMV2.js +3 -0
  366. package/dist/bin/shell/chunks/tee-5B7P2QRJ.js +3 -0
  367. package/dist/bin/shell/chunks/time-FN6VJGRS.js +3 -0
  368. package/dist/bin/shell/chunks/timeout-ZARIAF3K.js +3 -0
  369. package/dist/bin/shell/chunks/touch-DFGSVIX7.js +3 -0
  370. package/dist/bin/shell/chunks/tr-QQZYZ3CH.js +3 -0
  371. package/dist/bin/shell/chunks/tree-6D7SMPUR.js +3 -0
  372. package/dist/bin/shell/chunks/true-SKL4L7JP.js +3 -0
  373. package/dist/bin/shell/chunks/unexpand-3JWOSSBQ.js +3 -0
  374. package/dist/bin/shell/chunks/uniq-Q5UH5NL3.js +3 -0
  375. package/dist/bin/shell/chunks/wc-4HXNTHY3.js +3 -0
  376. package/dist/bin/shell/chunks/which-LCXKCLFC.js +3 -0
  377. package/dist/bin/shell/chunks/whoami-TZDZDU7T.js +3 -0
  378. package/dist/bin/shell/chunks/xan-TSDTZVY3.js +3 -0
  379. package/dist/bin/shell/chunks/xan-view-XBMA362V.js +3 -0
  380. package/dist/bin/shell/chunks/xargs-VTFN762K.js +3 -0
  381. package/dist/bin/shell/chunks/yq-KU5YTNAK.js +3 -0
  382. package/dist/bin/shell/shell.js +171 -169
  383. package/dist/bundle/browser.js +646 -637
  384. package/dist/bundle/chunks/alias-RTYYYW3D.js +2 -0
  385. package/dist/bundle/chunks/awk2-SREAOJRG.js +2 -0
  386. package/dist/bundle/chunks/base64-WIGL46P3.js +2 -0
  387. package/dist/bundle/chunks/basename-UB3CIYNI.js +2 -0
  388. package/dist/bundle/chunks/bash-F4KHPMTX.js +2 -0
  389. package/dist/bundle/chunks/cat-LPZ6XNHG.js +2 -0
  390. package/dist/bundle/chunks/chmod-TFEPA42X.js +2 -0
  391. package/dist/bundle/chunks/chunk-27JIFWUR.js +3 -0
  392. package/dist/bundle/chunks/chunk-2SMD2AUA.js +3 -0
  393. package/dist/bundle/chunks/chunk-2VDTE5BV.js +14 -0
  394. package/dist/bundle/chunks/chunk-2VJJEDV2.js +8 -0
  395. package/dist/bundle/chunks/chunk-4I3HOE5Z.js +21 -0
  396. package/dist/bundle/chunks/chunk-4JLVZKHC.js +8 -0
  397. package/dist/bundle/chunks/chunk-4MZPEZTU.js +3 -0
  398. package/dist/bundle/chunks/chunk-4WKZNNJK.js +2 -0
  399. package/dist/bundle/chunks/chunk-55LZFN6S.js +36 -0
  400. package/dist/bundle/chunks/chunk-5MV7Q5QB.js +5 -0
  401. package/dist/bundle/chunks/chunk-6L65G6A7.js +17 -0
  402. package/dist/bundle/chunks/chunk-6NYPZ4NX.js +8 -0
  403. package/dist/bundle/chunks/chunk-6SHYIICL.js +4 -0
  404. package/dist/bundle/chunks/chunk-7AISL3XV.js +12 -0
  405. package/dist/bundle/chunks/chunk-7CSMHFIJ.js +33 -0
  406. package/dist/bundle/chunks/chunk-7EUWTCWK.js +2 -0
  407. package/dist/bundle/chunks/chunk-A4R2GWRF.js +9 -0
  408. package/dist/bundle/chunks/chunk-AAGO7IQ5.js +11 -0
  409. package/dist/bundle/chunks/chunk-AFQAPVZ3.js +16 -0
  410. package/dist/bundle/chunks/chunk-AX2X3SZS.js +11 -0
  411. package/dist/bundle/chunks/chunk-AXMYAPFA.js +9 -0
  412. package/dist/bundle/chunks/chunk-BU36VZYL.js +4 -0
  413. package/dist/bundle/chunks/chunk-BZUGFHVS.js +2 -0
  414. package/dist/bundle/chunks/chunk-CJFAMHFC.js +7 -0
  415. package/dist/bundle/chunks/chunk-CN5XGDNN.js +6 -0
  416. package/dist/bundle/chunks/chunk-CQV3EITV.js +2 -0
  417. package/dist/bundle/chunks/chunk-DJ7QC6LC.js +140 -0
  418. package/dist/bundle/chunks/chunk-DLL7UR66.js +2 -0
  419. package/dist/bundle/chunks/chunk-DVJY2RAX.js +2 -0
  420. package/dist/bundle/chunks/chunk-EUCNMMRD.js +287 -0
  421. package/dist/bundle/chunks/chunk-FHC24QSK.js +7 -0
  422. package/dist/bundle/chunks/chunk-FLMHFDSN.js +5 -0
  423. package/dist/bundle/chunks/chunk-FOCWZZDE.js +2 -0
  424. package/dist/bundle/chunks/chunk-FX4RBUYU.js +5 -0
  425. package/dist/bundle/chunks/chunk-FZRQOL3C.js +7 -0
  426. package/dist/bundle/chunks/chunk-GE6OQDB2.js +10 -0
  427. package/dist/bundle/chunks/chunk-GHB6M7KA.js +2 -0
  428. package/dist/bundle/chunks/chunk-GRQJA2J7.js +21 -0
  429. package/dist/bundle/chunks/chunk-H2TS57O5.js +5 -0
  430. package/dist/bundle/chunks/chunk-H7WISVP3.js +6 -0
  431. package/dist/bundle/chunks/chunk-HAIOEUEV.js +63 -0
  432. package/dist/bundle/chunks/chunk-HBVMHTO5.js +2 -0
  433. package/dist/bundle/chunks/chunk-HDRAUQK2.js +2 -0
  434. package/dist/bundle/chunks/chunk-IZ6KBTV7.js +100 -0
  435. package/dist/bundle/chunks/chunk-JTMQLUCH.js +16 -0
  436. package/dist/bundle/chunks/chunk-K5JMLDHX.js +13 -0
  437. package/dist/bundle/chunks/chunk-KAPG5ONA.js +2 -0
  438. package/dist/bundle/chunks/chunk-KSBHIW2H.js +19 -0
  439. package/dist/bundle/chunks/chunk-KTL5PAHY.js +5 -0
  440. package/dist/bundle/chunks/chunk-KTPCYKBB.js +3 -0
  441. package/dist/bundle/chunks/chunk-KWGBQNTV.js +32 -0
  442. package/dist/bundle/chunks/chunk-L2UW7DWF.js +2 -0
  443. package/dist/bundle/chunks/chunk-LI6PTSPD.js +9 -0
  444. package/dist/bundle/chunks/chunk-LPJEKUCB.js +8 -0
  445. package/dist/bundle/chunks/chunk-LSLPJOYM.js +3 -0
  446. package/dist/bundle/chunks/chunk-LZUPLYFM.js +6 -0
  447. package/dist/bundle/chunks/chunk-MFDPAVC6.js +14 -0
  448. package/dist/bundle/chunks/chunk-MFRETFZB.js +6 -0
  449. package/dist/bundle/chunks/chunk-MIZIUC5M.js +8 -0
  450. package/dist/bundle/chunks/chunk-MJLETYZI.js +14 -0
  451. package/dist/bundle/chunks/chunk-MLIO3BK2.js +7 -0
  452. package/dist/bundle/chunks/chunk-MQKGGNPS.js +16 -0
  453. package/dist/bundle/chunks/chunk-MTHXXA6H.js +6 -0
  454. package/dist/bundle/chunks/chunk-NGPDJCUE.js +5 -0
  455. package/dist/bundle/chunks/chunk-OVH44QKR.js +11 -0
  456. package/dist/bundle/chunks/chunk-PDUL32DM.js +16 -0
  457. package/dist/bundle/chunks/chunk-PYDWFCTN.js +11 -0
  458. package/dist/bundle/chunks/chunk-QAJKDPNS.js +2 -0
  459. package/dist/bundle/chunks/chunk-QAYAQNCG.js +23 -0
  460. package/dist/bundle/chunks/chunk-QIQMJJZ4.js +4 -0
  461. package/dist/bundle/chunks/chunk-R4IFXNY5.js +28 -0
  462. package/dist/bundle/chunks/chunk-R4QNMLOB.js +12 -0
  463. package/dist/bundle/chunks/chunk-RBQG6ZUG.js +3 -0
  464. package/dist/bundle/chunks/chunk-RCXNPPJY.js +17 -0
  465. package/dist/bundle/chunks/chunk-S2BIZAWY.js +7 -0
  466. package/dist/bundle/chunks/chunk-SAI2SPQQ.js +8 -0
  467. package/dist/bundle/chunks/chunk-SBBYKIYU.js +3 -0
  468. package/dist/bundle/chunks/chunk-SETW5JBN.js +9 -0
  469. package/dist/bundle/chunks/chunk-SHKOQWO4.js +3 -0
  470. package/dist/bundle/chunks/chunk-SJYEXC2Z.js +14 -0
  471. package/dist/bundle/chunks/chunk-STFC2ZJT.js +79 -0
  472. package/dist/bundle/chunks/chunk-STHBFACM.js +1 -0
  473. package/dist/bundle/chunks/chunk-SX2HC7SO.js +2 -0
  474. package/dist/bundle/chunks/chunk-SY4HAUHP.js +2 -0
  475. package/dist/bundle/chunks/chunk-TA74ENH7.js +14 -0
  476. package/dist/bundle/chunks/chunk-TC2WHAIS.js +2 -0
  477. package/dist/bundle/chunks/chunk-TDD4NFYE.js +2 -0
  478. package/dist/bundle/chunks/chunk-UIJUTQPH.js +3 -0
  479. package/dist/bundle/chunks/chunk-VACKIICN.js +5 -0
  480. package/dist/bundle/chunks/chunk-VBLMIJON.js +6 -0
  481. package/dist/bundle/chunks/chunk-W5DWRFSU.js +2 -0
  482. package/dist/bundle/chunks/chunk-WKPK7M56.js +10 -0
  483. package/dist/bundle/chunks/chunk-WM5IJFMP.js +8 -0
  484. package/dist/bundle/chunks/chunk-WNH3HOQA.js +2 -0
  485. package/dist/bundle/chunks/chunk-WPGQVBSY.js +6 -0
  486. package/dist/bundle/chunks/chunk-WVRWIZF5.js +23 -0
  487. package/dist/bundle/chunks/chunk-XEKXHOPO.js +2 -0
  488. package/dist/bundle/chunks/chunk-XPK7ZFVA.js +12 -0
  489. package/dist/bundle/chunks/chunk-XZUZRAAC.js +10 -0
  490. package/dist/bundle/chunks/chunk-Y4LIDHSD.js +7 -0
  491. package/dist/bundle/chunks/chunk-YRNR2VHY.js +21 -0
  492. package/dist/bundle/chunks/chunk-YS4NUBYX.js +9 -0
  493. package/dist/bundle/chunks/chunk-YWOZZRSK.js +2 -0
  494. package/dist/bundle/chunks/chunk-Z3KJQD7F.js +33 -0
  495. package/dist/bundle/chunks/chunk-ZDIT6ST5.js +7 -0
  496. package/dist/bundle/chunks/chunk-ZDPFA4L3.js +6 -0
  497. package/dist/bundle/chunks/clear-HKGFEOF6.js +2 -0
  498. package/dist/bundle/chunks/column-PVOEF65J.js +2 -0
  499. package/dist/bundle/chunks/comm-5QMYEAJL.js +2 -0
  500. package/dist/bundle/chunks/cp-BISAAS7A.js +2 -0
  501. package/dist/bundle/chunks/curl-PAWGO3EH.js +26 -0
  502. package/dist/bundle/chunks/cut-NDMV7SPO.js +2 -0
  503. package/dist/bundle/chunks/date-XKUEQ4WF.js +2 -0
  504. package/dist/bundle/chunks/diff-TT4M7WM3.js +2 -0
  505. package/dist/bundle/chunks/dirname-MPHRFUTI.js +2 -0
  506. package/dist/bundle/chunks/du-572XNP42.js +2 -0
  507. package/dist/bundle/chunks/echo-NDWZZHPO.js +2 -0
  508. package/dist/bundle/chunks/env-DLFRY633.js +2 -0
  509. package/dist/bundle/chunks/expand-T2TH4TBQ.js +2 -0
  510. package/dist/bundle/chunks/expansion-CDGKP4VC.js +2 -0
  511. package/dist/bundle/chunks/expr-YLACLCSM.js +2 -0
  512. package/dist/bundle/chunks/file-IPZJC3FQ.js +2 -0
  513. package/dist/bundle/chunks/find-T5TGGXUU.js +2 -0
  514. package/dist/bundle/chunks/flag-coverage-TRYUZMPS.js +2 -0
  515. package/dist/bundle/chunks/fold-XR2JMFCW.js +2 -0
  516. package/dist/bundle/chunks/grep-VUESTEZ7.js +2 -0
  517. package/dist/bundle/chunks/gzip-HF3D26QX.js +2 -0
  518. package/dist/bundle/chunks/head-AEMOMQSZ.js +2 -0
  519. package/dist/bundle/chunks/help-HZ6M2CKN.js +2 -0
  520. package/dist/bundle/chunks/history-WYYKSLSZ.js +2 -0
  521. package/dist/bundle/chunks/hostname-C4HQXXUP.js +2 -0
  522. package/dist/bundle/chunks/html-to-markdown-LXXMVQ3V.js +2 -0
  523. package/dist/bundle/chunks/join-YIABB6WR.js +2 -0
  524. package/dist/bundle/chunks/jq-3FAAQVR6.js +2 -0
  525. package/dist/bundle/chunks/js-exec-SR6IMNWM.js +97 -0
  526. package/dist/bundle/chunks/js-exec-worker.js +214 -17
  527. package/dist/bundle/chunks/ln-4LGSXXGD.js +2 -0
  528. package/dist/bundle/chunks/ls-ZJGQER7M.js +2 -0
  529. package/dist/bundle/chunks/md5sum-LU7RVIB7.js +2 -0
  530. package/dist/bundle/chunks/mkdir-MEPGZOB6.js +2 -0
  531. package/dist/bundle/chunks/mv-W5BIQ646.js +2 -0
  532. package/dist/bundle/chunks/nl-Q2L5XQWZ.js +2 -0
  533. package/dist/bundle/chunks/od-RDSM4TQJ.js +2 -0
  534. package/dist/bundle/chunks/paste-ABCY7E6C.js +2 -0
  535. package/dist/bundle/chunks/printf-JPOOWRJC.js +2 -0
  536. package/dist/bundle/chunks/pwd-WE6EN5AV.js +2 -0
  537. package/dist/bundle/chunks/python3-JPCH6LLN.js +12 -0
  538. package/dist/bundle/chunks/readlink-OPJF4DL5.js +2 -0
  539. package/dist/bundle/chunks/rev-GCV6X22K.js +2 -0
  540. package/dist/bundle/chunks/rg-N5WLPMSA.js +2 -0
  541. package/dist/bundle/chunks/rm-SSGETQVQ.js +2 -0
  542. package/dist/bundle/chunks/rmdir-OC4ZLPYA.js +2 -0
  543. package/dist/bundle/chunks/sed-DX2SGXMF.js +2 -0
  544. package/dist/bundle/chunks/seq-M5EC7Q57.js +2 -0
  545. package/dist/bundle/chunks/sha1sum-O6DM3TPQ.js +2 -0
  546. package/dist/bundle/chunks/sha256sum-WPVZLZPS.js +2 -0
  547. package/dist/bundle/chunks/sleep-HZ4QEFOK.js +2 -0
  548. package/dist/bundle/chunks/sort-VW2NIZHW.js +2 -0
  549. package/dist/bundle/chunks/split-NBMH43M2.js +2 -0
  550. package/dist/bundle/chunks/sqlite3-UE3PJTDQ.js +2 -0
  551. package/dist/bundle/chunks/sqlite3-worker.js +3 -2
  552. package/dist/bundle/chunks/stat-CD34IZ4P.js +2 -0
  553. package/dist/bundle/chunks/strings-MCXFXPDL.js +2 -0
  554. package/dist/bundle/chunks/tac-BQ7EDZW2.js +2 -0
  555. package/dist/bundle/chunks/tail-GJMTLMNE.js +2 -0
  556. package/dist/bundle/chunks/tar-WIZ3PDF4.js +2 -0
  557. package/dist/bundle/chunks/tee-SGANDVNY.js +2 -0
  558. package/dist/bundle/chunks/time-FCZCDIAM.js +2 -0
  559. package/dist/bundle/chunks/timeout-VDIEAB4R.js +2 -0
  560. package/dist/bundle/chunks/touch-UA33VN3N.js +2 -0
  561. package/dist/bundle/chunks/tr-JNNR5JMS.js +2 -0
  562. package/dist/bundle/chunks/tree-YLD52CNT.js +2 -0
  563. package/dist/bundle/chunks/true-FHQXJXBE.js +2 -0
  564. package/dist/bundle/chunks/unexpand-2TKXAENW.js +2 -0
  565. package/dist/bundle/chunks/uniq-DMFKT3AB.js +2 -0
  566. package/dist/bundle/chunks/wc-TZFYWFLA.js +2 -0
  567. package/dist/bundle/chunks/which-XEM24D5D.js +2 -0
  568. package/dist/bundle/chunks/whoami-XMTX52VE.js +2 -0
  569. package/dist/bundle/chunks/worker.js +3 -2
  570. package/dist/bundle/chunks/xan-U6654PZR.js +2 -0
  571. package/dist/bundle/chunks/xan-view-YATJ4KAA.js +2 -0
  572. package/dist/bundle/chunks/xargs-VDP7DLOU.js +2 -0
  573. package/dist/bundle/chunks/yq-ZBXLBSXV.js +2 -0
  574. package/dist/bundle/index.cjs +914 -905
  575. package/dist/bundle/index.js +216 -214
  576. package/dist/commands/curl/types.d.ts +29 -0
  577. package/dist/commands/js-exec/module-shims.d.ts +1 -1
  578. package/dist/commands/sqlite3/worker.js +3 -2
  579. package/dist/commands/tar/tar-options.d.ts +1 -1
  580. package/dist/encoding.d.ts +14 -0
  581. package/dist/parser/parser-substitution.d.ts +14 -0
  582. package/package.json +4 -4
  583. package/dist/bin/chunks/alias-3GODYSFD.js +0 -2
  584. package/dist/bin/chunks/awk2-CKPJ75GN.js +0 -2
  585. package/dist/bin/chunks/base64-I3CXGD2Q.js +0 -2
  586. package/dist/bin/chunks/basename-KBUKWB2E.js +0 -2
  587. package/dist/bin/chunks/bash-UYSJL7VA.js +0 -2
  588. package/dist/bin/chunks/cat-3TMJDECR.js +0 -2
  589. package/dist/bin/chunks/chmod-N5CQATDW.js +0 -2
  590. package/dist/bin/chunks/chunk-24DJ4XAS.js +0 -18
  591. package/dist/bin/chunks/chunk-2ACK45YF.js +0 -12
  592. package/dist/bin/chunks/chunk-2GZSSMV3.js +0 -14
  593. package/dist/bin/chunks/chunk-2TMMAY52.js +0 -14
  594. package/dist/bin/chunks/chunk-3MBAUIBB.js +0 -7
  595. package/dist/bin/chunks/chunk-4CFAYBLV.js +0 -21
  596. package/dist/bin/chunks/chunk-4OALHZXB.js +0 -2
  597. package/dist/bin/chunks/chunk-4PRVMER6.js +0 -2
  598. package/dist/bin/chunks/chunk-4VDEBYW7.js +0 -2
  599. package/dist/bin/chunks/chunk-575DV2PL.js +0 -9
  600. package/dist/bin/chunks/chunk-5DFR7VRU.js +0 -13
  601. package/dist/bin/chunks/chunk-63XSH3IT.js +0 -2
  602. package/dist/bin/chunks/chunk-6CW6ATOU.js +0 -2
  603. package/dist/bin/chunks/chunk-6KZRLMG3.js +0 -8
  604. package/dist/bin/chunks/chunk-6NYAJMTL.js +0 -14
  605. package/dist/bin/chunks/chunk-6ZKYK7PO.js +0 -63
  606. package/dist/bin/chunks/chunk-7ADG3DNO.js +0 -8
  607. package/dist/bin/chunks/chunk-7FOU5QKD.js +0 -11
  608. package/dist/bin/chunks/chunk-7G3MC56B.js +0 -7
  609. package/dist/bin/chunks/chunk-7RSTZI3G.js +0 -9
  610. package/dist/bin/chunks/chunk-A65XLABI.js +0 -17
  611. package/dist/bin/chunks/chunk-A6CAHGYF.js +0 -2
  612. package/dist/bin/chunks/chunk-AM6HJVBI.js +0 -84
  613. package/dist/bin/chunks/chunk-AQBEVPZP.js +0 -6
  614. package/dist/bin/chunks/chunk-AX3QU3MP.js +0 -6
  615. package/dist/bin/chunks/chunk-AXWFPG37.js +0 -10
  616. package/dist/bin/chunks/chunk-AZ3RUDR2.js +0 -9
  617. package/dist/bin/chunks/chunk-B4CUXR3Q.js +0 -33
  618. package/dist/bin/chunks/chunk-B5DAHNDY.js +0 -5
  619. package/dist/bin/chunks/chunk-BEWZWAXH.js +0 -8
  620. package/dist/bin/chunks/chunk-BYDV4VEF.js +0 -3
  621. package/dist/bin/chunks/chunk-C6FRS5UB.js +0 -33
  622. package/dist/bin/chunks/chunk-CUYKY2BK.js +0 -5
  623. package/dist/bin/chunks/chunk-D3JRD3JF.js +0 -36
  624. package/dist/bin/chunks/chunk-D5WP4CKS.js +0 -3
  625. package/dist/bin/chunks/chunk-D6DORGK7.js +0 -16
  626. package/dist/bin/chunks/chunk-DH7TPGPX.js +0 -2
  627. package/dist/bin/chunks/chunk-EJQKHROT.js +0 -14
  628. package/dist/bin/chunks/chunk-EPPBDXOG.js +0 -8
  629. package/dist/bin/chunks/chunk-FU7JHPYW.js +0 -9
  630. package/dist/bin/chunks/chunk-G36D7WFF.js +0 -6
  631. package/dist/bin/chunks/chunk-GQQLQPZG.js +0 -7
  632. package/dist/bin/chunks/chunk-GTNBSMZR.js +0 -23
  633. package/dist/bin/chunks/chunk-HIVPP3AM.js +0 -17
  634. package/dist/bin/chunks/chunk-I3X57RP5.js +0 -21
  635. package/dist/bin/chunks/chunk-IDGH4PGU.js +0 -3
  636. package/dist/bin/chunks/chunk-ITA43A73.js +0 -7
  637. package/dist/bin/chunks/chunk-IZ3AT2KX.js +0 -19
  638. package/dist/bin/chunks/chunk-JBABAK44.js +0 -4
  639. package/dist/bin/chunks/chunk-JLX6YWGA.js +0 -3
  640. package/dist/bin/chunks/chunk-JTF74J6E.js +0 -2
  641. package/dist/bin/chunks/chunk-KGOUQS5A.js +0 -2
  642. package/dist/bin/chunks/chunk-KHOBXZFG.js +0 -12
  643. package/dist/bin/chunks/chunk-KMFPV7SR.js +0 -6
  644. package/dist/bin/chunks/chunk-KX2PR2HV.js +0 -16
  645. package/dist/bin/chunks/chunk-LCDPWJBA.js +0 -15
  646. package/dist/bin/chunks/chunk-LCJRVV55.js +0 -32
  647. package/dist/bin/chunks/chunk-LIYVQA3X.js +0 -2
  648. package/dist/bin/chunks/chunk-LJKIWB5F.js +0 -4
  649. package/dist/bin/chunks/chunk-LOJMXC4F.js +0 -5
  650. package/dist/bin/chunks/chunk-M33SULGQ.js +0 -9
  651. package/dist/bin/chunks/chunk-M3T6XOXC.js +0 -2
  652. package/dist/bin/chunks/chunk-MAVV76T4.js +0 -2
  653. package/dist/bin/chunks/chunk-MO4RPBN2.js +0 -2
  654. package/dist/bin/chunks/chunk-MWKPB24E.js +0 -11
  655. package/dist/bin/chunks/chunk-NN2DBOAZ.js +0 -5
  656. package/dist/bin/chunks/chunk-NOGXKS2G.js +0 -100
  657. package/dist/bin/chunks/chunk-NSUMEERA.js +0 -12
  658. package/dist/bin/chunks/chunk-NTW6IA45.js +0 -2
  659. package/dist/bin/chunks/chunk-NWG67HAQ.js +0 -2
  660. package/dist/bin/chunks/chunk-OBH7XN5N.js +0 -1
  661. package/dist/bin/chunks/chunk-OOJCYVYF.js +0 -2
  662. package/dist/bin/chunks/chunk-ORUYSLP4.js +0 -16
  663. package/dist/bin/chunks/chunk-P43NQKUN.js +0 -74
  664. package/dist/bin/chunks/chunk-PHZPFNDZ.js +0 -287
  665. package/dist/bin/chunks/chunk-PPBQJBC2.js +0 -5
  666. package/dist/bin/chunks/chunk-PQNTKMH3.js +0 -6
  667. package/dist/bin/chunks/chunk-PS4LOXE5.js +0 -8
  668. package/dist/bin/chunks/chunk-RLNOQILG.js +0 -2
  669. package/dist/bin/chunks/chunk-RT7TRQVZ.js +0 -3
  670. package/dist/bin/chunks/chunk-RX22J4AC.js +0 -14
  671. package/dist/bin/chunks/chunk-S7KZBLGH.js +0 -3
  672. package/dist/bin/chunks/chunk-SDOJRQF5.js +0 -6
  673. package/dist/bin/chunks/chunk-TEFXEYX3.js +0 -3
  674. package/dist/bin/chunks/chunk-THALLNXT.js +0 -7
  675. package/dist/bin/chunks/chunk-UFJFAFSS.js +0 -28
  676. package/dist/bin/chunks/chunk-UMYJNWPA.js +0 -140
  677. package/dist/bin/chunks/chunk-UO7ZJYDM.js +0 -11
  678. package/dist/bin/chunks/chunk-V7ZOPVQS.js +0 -2
  679. package/dist/bin/chunks/chunk-VECTAALH.js +0 -11
  680. package/dist/bin/chunks/chunk-VNER2XXL.js +0 -7
  681. package/dist/bin/chunks/chunk-VRU3NTQB.js +0 -3
  682. package/dist/bin/chunks/chunk-WJ3HZK2S.js +0 -5
  683. package/dist/bin/chunks/chunk-WLBA7L7U.js +0 -23
  684. package/dist/bin/chunks/chunk-WRYJHXRE.js +0 -2
  685. package/dist/bin/chunks/chunk-XY5HGZW5.js +0 -8
  686. package/dist/bin/chunks/chunk-XZEAAOBW.js +0 -8
  687. package/dist/bin/chunks/chunk-YMMJLYIX.js +0 -2
  688. package/dist/bin/chunks/chunk-YMQY74O7.js +0 -21
  689. package/dist/bin/chunks/chunk-YTIURC67.js +0 -2
  690. package/dist/bin/chunks/chunk-YU6OGPZR.js +0 -5
  691. package/dist/bin/chunks/chunk-YWZOGBFE.js +0 -9
  692. package/dist/bin/chunks/chunk-ZNMFCOTS.js +0 -10
  693. package/dist/bin/chunks/chunk-ZO3PBKJB.js +0 -6
  694. package/dist/bin/chunks/chunk-ZSVBYEY4.js +0 -6
  695. package/dist/bin/chunks/clear-KRGKPFOI.js +0 -2
  696. package/dist/bin/chunks/column-MTXKQLJH.js +0 -2
  697. package/dist/bin/chunks/comm-YZHVF2XN.js +0 -2
  698. package/dist/bin/chunks/cp-XH2ZB7WT.js +0 -2
  699. package/dist/bin/chunks/curl-2DCNBIKJ.js +0 -26
  700. package/dist/bin/chunks/cut-MWPHE25M.js +0 -2
  701. package/dist/bin/chunks/date-WUPBL2TL.js +0 -2
  702. package/dist/bin/chunks/diff-EINZHDTZ.js +0 -2
  703. package/dist/bin/chunks/dirname-5FAOMLBL.js +0 -2
  704. package/dist/bin/chunks/du-LDAPXSGF.js +0 -2
  705. package/dist/bin/chunks/echo-2MUAOGUE.js +0 -2
  706. package/dist/bin/chunks/env-NK55NKL6.js +0 -2
  707. package/dist/bin/chunks/expand-47QQBMM5.js +0 -2
  708. package/dist/bin/chunks/expansion-H3VFC532.js +0 -2
  709. package/dist/bin/chunks/expr-VPJ77DR7.js +0 -2
  710. package/dist/bin/chunks/file-MMSHRWCJ.js +0 -2
  711. package/dist/bin/chunks/find-O2KKT6KZ.js +0 -2
  712. package/dist/bin/chunks/flag-coverage-FHFMNAV6.js +0 -2
  713. package/dist/bin/chunks/fold-QC27S46O.js +0 -2
  714. package/dist/bin/chunks/grep-3X5B47DW.js +0 -2
  715. package/dist/bin/chunks/gzip-VYBZGPTA.js +0 -2
  716. package/dist/bin/chunks/head-BM7J6BEI.js +0 -2
  717. package/dist/bin/chunks/help-DVG4AAGE.js +0 -2
  718. package/dist/bin/chunks/history-UUKG55YW.js +0 -2
  719. package/dist/bin/chunks/hostname-WY6RKE32.js +0 -2
  720. package/dist/bin/chunks/html-to-markdown-G2FXKDLR.js +0 -2
  721. package/dist/bin/chunks/join-5J5VA3I7.js +0 -2
  722. package/dist/bin/chunks/jq-HYQ3KMGL.js +0 -2
  723. package/dist/bin/chunks/js-exec-LZPKIZ5V.js +0 -97
  724. package/dist/bin/chunks/ln-EGC4HRXZ.js +0 -2
  725. package/dist/bin/chunks/ls-WONXDVOX.js +0 -2
  726. package/dist/bin/chunks/md5sum-GVZ66MRR.js +0 -2
  727. package/dist/bin/chunks/mkdir-Z47OISSR.js +0 -2
  728. package/dist/bin/chunks/mv-OY7X62QC.js +0 -2
  729. package/dist/bin/chunks/nl-XLPXDHHK.js +0 -2
  730. package/dist/bin/chunks/od-CRBL7ZML.js +0 -2
  731. package/dist/bin/chunks/paste-7MEIW3PG.js +0 -2
  732. package/dist/bin/chunks/printf-NA7DYZBO.js +0 -2
  733. package/dist/bin/chunks/pwd-6VBAPL3Y.js +0 -2
  734. package/dist/bin/chunks/python3-BBQ4SVHU.js +0 -12
  735. package/dist/bin/chunks/readlink-BD5VFOC5.js +0 -2
  736. package/dist/bin/chunks/rev-6LTZEDBA.js +0 -2
  737. package/dist/bin/chunks/rg-UPQTBQZR.js +0 -2
  738. package/dist/bin/chunks/rm-L3NZOLLG.js +0 -2
  739. package/dist/bin/chunks/rmdir-5KLM4EA6.js +0 -2
  740. package/dist/bin/chunks/sed-OKEUW2KT.js +0 -2
  741. package/dist/bin/chunks/seq-V7KBLSQ7.js +0 -2
  742. package/dist/bin/chunks/sha1sum-HFI2SRA4.js +0 -2
  743. package/dist/bin/chunks/sha256sum-N44D3OCP.js +0 -2
  744. package/dist/bin/chunks/sleep-ND6FZRZ4.js +0 -2
  745. package/dist/bin/chunks/sort-ES3NRFJA.js +0 -2
  746. package/dist/bin/chunks/split-QFBCCUR5.js +0 -2
  747. package/dist/bin/chunks/sqlite3-V4SEWTIR.js +0 -2
  748. package/dist/bin/chunks/stat-XS2LXYS2.js +0 -2
  749. package/dist/bin/chunks/strings-YGI6HF5M.js +0 -2
  750. package/dist/bin/chunks/tac-HWXFWOGO.js +0 -2
  751. package/dist/bin/chunks/tail-YX6MELZ5.js +0 -2
  752. package/dist/bin/chunks/tar-UO62YC6N.js +0 -2
  753. package/dist/bin/chunks/tee-XKJM7HV7.js +0 -2
  754. package/dist/bin/chunks/time-RPVNTV72.js +0 -2
  755. package/dist/bin/chunks/timeout-4QMASFQG.js +0 -2
  756. package/dist/bin/chunks/touch-DWKSZGOQ.js +0 -2
  757. package/dist/bin/chunks/tr-A6IXSBQX.js +0 -2
  758. package/dist/bin/chunks/tree-HEKABARE.js +0 -2
  759. package/dist/bin/chunks/true-DP5UZP52.js +0 -2
  760. package/dist/bin/chunks/unexpand-UCJETXUX.js +0 -2
  761. package/dist/bin/chunks/uniq-2KXDTNDX.js +0 -2
  762. package/dist/bin/chunks/wc-KTXPMRYY.js +0 -2
  763. package/dist/bin/chunks/which-5PO4LAOG.js +0 -2
  764. package/dist/bin/chunks/whoami-E7PN2UWC.js +0 -2
  765. package/dist/bin/chunks/xan-IHA7IHBM.js +0 -2
  766. package/dist/bin/chunks/xan-view-JFFJAU35.js +0 -2
  767. package/dist/bin/chunks/xargs-EWL5DXR3.js +0 -2
  768. package/dist/bin/chunks/yq-LDGFI4EM.js +0 -2
  769. package/dist/bin/shell/chunks/alias-3GODYSFD.js +0 -2
  770. package/dist/bin/shell/chunks/awk2-CKPJ75GN.js +0 -2
  771. package/dist/bin/shell/chunks/base64-I3CXGD2Q.js +0 -2
  772. package/dist/bin/shell/chunks/basename-KBUKWB2E.js +0 -2
  773. package/dist/bin/shell/chunks/bash-UYSJL7VA.js +0 -2
  774. package/dist/bin/shell/chunks/cat-3TMJDECR.js +0 -2
  775. package/dist/bin/shell/chunks/chmod-N5CQATDW.js +0 -2
  776. package/dist/bin/shell/chunks/chunk-24DJ4XAS.js +0 -18
  777. package/dist/bin/shell/chunks/chunk-2ACK45YF.js +0 -12
  778. package/dist/bin/shell/chunks/chunk-2GZSSMV3.js +0 -14
  779. package/dist/bin/shell/chunks/chunk-2TMMAY52.js +0 -14
  780. package/dist/bin/shell/chunks/chunk-3MBAUIBB.js +0 -7
  781. package/dist/bin/shell/chunks/chunk-4CFAYBLV.js +0 -21
  782. package/dist/bin/shell/chunks/chunk-4OALHZXB.js +0 -2
  783. package/dist/bin/shell/chunks/chunk-4PRVMER6.js +0 -2
  784. package/dist/bin/shell/chunks/chunk-4VDEBYW7.js +0 -2
  785. package/dist/bin/shell/chunks/chunk-575DV2PL.js +0 -9
  786. package/dist/bin/shell/chunks/chunk-5DFR7VRU.js +0 -13
  787. package/dist/bin/shell/chunks/chunk-63XSH3IT.js +0 -2
  788. package/dist/bin/shell/chunks/chunk-6CW6ATOU.js +0 -2
  789. package/dist/bin/shell/chunks/chunk-6KZRLMG3.js +0 -8
  790. package/dist/bin/shell/chunks/chunk-6NYAJMTL.js +0 -14
  791. package/dist/bin/shell/chunks/chunk-6ZKYK7PO.js +0 -63
  792. package/dist/bin/shell/chunks/chunk-7ADG3DNO.js +0 -8
  793. package/dist/bin/shell/chunks/chunk-7FOU5QKD.js +0 -11
  794. package/dist/bin/shell/chunks/chunk-7G3MC56B.js +0 -7
  795. package/dist/bin/shell/chunks/chunk-7RSTZI3G.js +0 -9
  796. package/dist/bin/shell/chunks/chunk-A65XLABI.js +0 -17
  797. package/dist/bin/shell/chunks/chunk-A6CAHGYF.js +0 -2
  798. package/dist/bin/shell/chunks/chunk-AM6HJVBI.js +0 -84
  799. package/dist/bin/shell/chunks/chunk-AQBEVPZP.js +0 -6
  800. package/dist/bin/shell/chunks/chunk-AX3QU3MP.js +0 -6
  801. package/dist/bin/shell/chunks/chunk-AXWFPG37.js +0 -10
  802. package/dist/bin/shell/chunks/chunk-AZ3RUDR2.js +0 -9
  803. package/dist/bin/shell/chunks/chunk-B4CUXR3Q.js +0 -33
  804. package/dist/bin/shell/chunks/chunk-B5DAHNDY.js +0 -5
  805. package/dist/bin/shell/chunks/chunk-BEWZWAXH.js +0 -8
  806. package/dist/bin/shell/chunks/chunk-BYDV4VEF.js +0 -3
  807. package/dist/bin/shell/chunks/chunk-C6FRS5UB.js +0 -33
  808. package/dist/bin/shell/chunks/chunk-CUYKY2BK.js +0 -5
  809. package/dist/bin/shell/chunks/chunk-D3JRD3JF.js +0 -36
  810. package/dist/bin/shell/chunks/chunk-D5WP4CKS.js +0 -3
  811. package/dist/bin/shell/chunks/chunk-D6DORGK7.js +0 -16
  812. package/dist/bin/shell/chunks/chunk-DH7TPGPX.js +0 -2
  813. package/dist/bin/shell/chunks/chunk-EJQKHROT.js +0 -14
  814. package/dist/bin/shell/chunks/chunk-EPPBDXOG.js +0 -8
  815. package/dist/bin/shell/chunks/chunk-FU7JHPYW.js +0 -9
  816. package/dist/bin/shell/chunks/chunk-G36D7WFF.js +0 -6
  817. package/dist/bin/shell/chunks/chunk-GQQLQPZG.js +0 -7
  818. package/dist/bin/shell/chunks/chunk-GTNBSMZR.js +0 -23
  819. package/dist/bin/shell/chunks/chunk-HIVPP3AM.js +0 -17
  820. package/dist/bin/shell/chunks/chunk-I3X57RP5.js +0 -21
  821. package/dist/bin/shell/chunks/chunk-IDGH4PGU.js +0 -3
  822. package/dist/bin/shell/chunks/chunk-ITA43A73.js +0 -7
  823. package/dist/bin/shell/chunks/chunk-IZ3AT2KX.js +0 -19
  824. package/dist/bin/shell/chunks/chunk-JBABAK44.js +0 -4
  825. package/dist/bin/shell/chunks/chunk-JLX6YWGA.js +0 -3
  826. package/dist/bin/shell/chunks/chunk-JTF74J6E.js +0 -2
  827. package/dist/bin/shell/chunks/chunk-KGOUQS5A.js +0 -2
  828. package/dist/bin/shell/chunks/chunk-KHOBXZFG.js +0 -12
  829. package/dist/bin/shell/chunks/chunk-KMFPV7SR.js +0 -6
  830. package/dist/bin/shell/chunks/chunk-KX2PR2HV.js +0 -16
  831. package/dist/bin/shell/chunks/chunk-LCDPWJBA.js +0 -15
  832. package/dist/bin/shell/chunks/chunk-LCJRVV55.js +0 -32
  833. package/dist/bin/shell/chunks/chunk-LIYVQA3X.js +0 -2
  834. package/dist/bin/shell/chunks/chunk-LJKIWB5F.js +0 -4
  835. package/dist/bin/shell/chunks/chunk-LOJMXC4F.js +0 -5
  836. package/dist/bin/shell/chunks/chunk-M33SULGQ.js +0 -9
  837. package/dist/bin/shell/chunks/chunk-M3T6XOXC.js +0 -2
  838. package/dist/bin/shell/chunks/chunk-MAVV76T4.js +0 -2
  839. package/dist/bin/shell/chunks/chunk-MO4RPBN2.js +0 -2
  840. package/dist/bin/shell/chunks/chunk-MWKPB24E.js +0 -11
  841. package/dist/bin/shell/chunks/chunk-NN2DBOAZ.js +0 -5
  842. package/dist/bin/shell/chunks/chunk-NOGXKS2G.js +0 -100
  843. package/dist/bin/shell/chunks/chunk-NSUMEERA.js +0 -12
  844. package/dist/bin/shell/chunks/chunk-NTW6IA45.js +0 -2
  845. package/dist/bin/shell/chunks/chunk-NWG67HAQ.js +0 -2
  846. package/dist/bin/shell/chunks/chunk-OBH7XN5N.js +0 -1
  847. package/dist/bin/shell/chunks/chunk-OOJCYVYF.js +0 -2
  848. package/dist/bin/shell/chunks/chunk-ORUYSLP4.js +0 -16
  849. package/dist/bin/shell/chunks/chunk-P43NQKUN.js +0 -74
  850. package/dist/bin/shell/chunks/chunk-PHZPFNDZ.js +0 -287
  851. package/dist/bin/shell/chunks/chunk-PPBQJBC2.js +0 -5
  852. package/dist/bin/shell/chunks/chunk-PQNTKMH3.js +0 -6
  853. package/dist/bin/shell/chunks/chunk-PS4LOXE5.js +0 -8
  854. package/dist/bin/shell/chunks/chunk-RLNOQILG.js +0 -2
  855. package/dist/bin/shell/chunks/chunk-RT7TRQVZ.js +0 -3
  856. package/dist/bin/shell/chunks/chunk-RX22J4AC.js +0 -14
  857. package/dist/bin/shell/chunks/chunk-S7KZBLGH.js +0 -3
  858. package/dist/bin/shell/chunks/chunk-SDOJRQF5.js +0 -6
  859. package/dist/bin/shell/chunks/chunk-TEFXEYX3.js +0 -3
  860. package/dist/bin/shell/chunks/chunk-THALLNXT.js +0 -7
  861. package/dist/bin/shell/chunks/chunk-UFJFAFSS.js +0 -28
  862. package/dist/bin/shell/chunks/chunk-UMYJNWPA.js +0 -140
  863. package/dist/bin/shell/chunks/chunk-UO7ZJYDM.js +0 -11
  864. package/dist/bin/shell/chunks/chunk-V7ZOPVQS.js +0 -2
  865. package/dist/bin/shell/chunks/chunk-VECTAALH.js +0 -11
  866. package/dist/bin/shell/chunks/chunk-VNER2XXL.js +0 -7
  867. package/dist/bin/shell/chunks/chunk-VRU3NTQB.js +0 -3
  868. package/dist/bin/shell/chunks/chunk-WJ3HZK2S.js +0 -5
  869. package/dist/bin/shell/chunks/chunk-WLBA7L7U.js +0 -23
  870. package/dist/bin/shell/chunks/chunk-WRYJHXRE.js +0 -2
  871. package/dist/bin/shell/chunks/chunk-XY5HGZW5.js +0 -8
  872. package/dist/bin/shell/chunks/chunk-XZEAAOBW.js +0 -8
  873. package/dist/bin/shell/chunks/chunk-YMMJLYIX.js +0 -2
  874. package/dist/bin/shell/chunks/chunk-YMQY74O7.js +0 -21
  875. package/dist/bin/shell/chunks/chunk-YTIURC67.js +0 -2
  876. package/dist/bin/shell/chunks/chunk-YU6OGPZR.js +0 -5
  877. package/dist/bin/shell/chunks/chunk-YWZOGBFE.js +0 -9
  878. package/dist/bin/shell/chunks/chunk-ZNMFCOTS.js +0 -10
  879. package/dist/bin/shell/chunks/chunk-ZO3PBKJB.js +0 -6
  880. package/dist/bin/shell/chunks/chunk-ZSVBYEY4.js +0 -6
  881. package/dist/bin/shell/chunks/clear-KRGKPFOI.js +0 -2
  882. package/dist/bin/shell/chunks/column-MTXKQLJH.js +0 -2
  883. package/dist/bin/shell/chunks/comm-YZHVF2XN.js +0 -2
  884. package/dist/bin/shell/chunks/cp-XH2ZB7WT.js +0 -2
  885. package/dist/bin/shell/chunks/curl-2DCNBIKJ.js +0 -26
  886. package/dist/bin/shell/chunks/cut-MWPHE25M.js +0 -2
  887. package/dist/bin/shell/chunks/date-WUPBL2TL.js +0 -2
  888. package/dist/bin/shell/chunks/diff-EINZHDTZ.js +0 -2
  889. package/dist/bin/shell/chunks/dirname-5FAOMLBL.js +0 -2
  890. package/dist/bin/shell/chunks/du-LDAPXSGF.js +0 -2
  891. package/dist/bin/shell/chunks/echo-2MUAOGUE.js +0 -2
  892. package/dist/bin/shell/chunks/env-NK55NKL6.js +0 -2
  893. package/dist/bin/shell/chunks/expand-47QQBMM5.js +0 -2
  894. package/dist/bin/shell/chunks/expansion-H3VFC532.js +0 -2
  895. package/dist/bin/shell/chunks/expr-VPJ77DR7.js +0 -2
  896. package/dist/bin/shell/chunks/file-MMSHRWCJ.js +0 -2
  897. package/dist/bin/shell/chunks/find-O2KKT6KZ.js +0 -2
  898. package/dist/bin/shell/chunks/flag-coverage-FHFMNAV6.js +0 -2
  899. package/dist/bin/shell/chunks/fold-QC27S46O.js +0 -2
  900. package/dist/bin/shell/chunks/grep-3X5B47DW.js +0 -2
  901. package/dist/bin/shell/chunks/gzip-VYBZGPTA.js +0 -2
  902. package/dist/bin/shell/chunks/head-BM7J6BEI.js +0 -2
  903. package/dist/bin/shell/chunks/help-DVG4AAGE.js +0 -2
  904. package/dist/bin/shell/chunks/history-UUKG55YW.js +0 -2
  905. package/dist/bin/shell/chunks/hostname-WY6RKE32.js +0 -2
  906. package/dist/bin/shell/chunks/html-to-markdown-G2FXKDLR.js +0 -2
  907. package/dist/bin/shell/chunks/join-5J5VA3I7.js +0 -2
  908. package/dist/bin/shell/chunks/jq-HYQ3KMGL.js +0 -2
  909. package/dist/bin/shell/chunks/js-exec-LZPKIZ5V.js +0 -97
  910. package/dist/bin/shell/chunks/ln-EGC4HRXZ.js +0 -2
  911. package/dist/bin/shell/chunks/ls-WONXDVOX.js +0 -2
  912. package/dist/bin/shell/chunks/md5sum-GVZ66MRR.js +0 -2
  913. package/dist/bin/shell/chunks/mkdir-Z47OISSR.js +0 -2
  914. package/dist/bin/shell/chunks/mv-OY7X62QC.js +0 -2
  915. package/dist/bin/shell/chunks/nl-XLPXDHHK.js +0 -2
  916. package/dist/bin/shell/chunks/od-CRBL7ZML.js +0 -2
  917. package/dist/bin/shell/chunks/paste-7MEIW3PG.js +0 -2
  918. package/dist/bin/shell/chunks/printf-NA7DYZBO.js +0 -2
  919. package/dist/bin/shell/chunks/pwd-6VBAPL3Y.js +0 -2
  920. package/dist/bin/shell/chunks/python3-BBQ4SVHU.js +0 -12
  921. package/dist/bin/shell/chunks/readlink-BD5VFOC5.js +0 -2
  922. package/dist/bin/shell/chunks/rev-6LTZEDBA.js +0 -2
  923. package/dist/bin/shell/chunks/rg-UPQTBQZR.js +0 -2
  924. package/dist/bin/shell/chunks/rm-L3NZOLLG.js +0 -2
  925. package/dist/bin/shell/chunks/rmdir-5KLM4EA6.js +0 -2
  926. package/dist/bin/shell/chunks/sed-OKEUW2KT.js +0 -2
  927. package/dist/bin/shell/chunks/seq-V7KBLSQ7.js +0 -2
  928. package/dist/bin/shell/chunks/sha1sum-HFI2SRA4.js +0 -2
  929. package/dist/bin/shell/chunks/sha256sum-N44D3OCP.js +0 -2
  930. package/dist/bin/shell/chunks/sleep-ND6FZRZ4.js +0 -2
  931. package/dist/bin/shell/chunks/sort-ES3NRFJA.js +0 -2
  932. package/dist/bin/shell/chunks/split-QFBCCUR5.js +0 -2
  933. package/dist/bin/shell/chunks/sqlite3-V4SEWTIR.js +0 -2
  934. package/dist/bin/shell/chunks/stat-XS2LXYS2.js +0 -2
  935. package/dist/bin/shell/chunks/strings-YGI6HF5M.js +0 -2
  936. package/dist/bin/shell/chunks/tac-HWXFWOGO.js +0 -2
  937. package/dist/bin/shell/chunks/tail-YX6MELZ5.js +0 -2
  938. package/dist/bin/shell/chunks/tar-UO62YC6N.js +0 -2
  939. package/dist/bin/shell/chunks/tee-XKJM7HV7.js +0 -2
  940. package/dist/bin/shell/chunks/time-RPVNTV72.js +0 -2
  941. package/dist/bin/shell/chunks/timeout-4QMASFQG.js +0 -2
  942. package/dist/bin/shell/chunks/touch-DWKSZGOQ.js +0 -2
  943. package/dist/bin/shell/chunks/tr-A6IXSBQX.js +0 -2
  944. package/dist/bin/shell/chunks/tree-HEKABARE.js +0 -2
  945. package/dist/bin/shell/chunks/true-DP5UZP52.js +0 -2
  946. package/dist/bin/shell/chunks/unexpand-UCJETXUX.js +0 -2
  947. package/dist/bin/shell/chunks/uniq-2KXDTNDX.js +0 -2
  948. package/dist/bin/shell/chunks/wc-KTXPMRYY.js +0 -2
  949. package/dist/bin/shell/chunks/which-5PO4LAOG.js +0 -2
  950. package/dist/bin/shell/chunks/whoami-E7PN2UWC.js +0 -2
  951. package/dist/bin/shell/chunks/xan-IHA7IHBM.js +0 -2
  952. package/dist/bin/shell/chunks/xan-view-JFFJAU35.js +0 -2
  953. package/dist/bin/shell/chunks/xargs-EWL5DXR3.js +0 -2
  954. package/dist/bin/shell/chunks/yq-LDGFI4EM.js +0 -2
  955. package/dist/bundle/chunks/alias-JE7RI5QX.js +0 -1
  956. package/dist/bundle/chunks/awk2-RXRC54TM.js +0 -1
  957. package/dist/bundle/chunks/base64-FJOOBRMC.js +0 -1
  958. package/dist/bundle/chunks/basename-AA2KJYZQ.js +0 -1
  959. package/dist/bundle/chunks/bash-4WLDO24C.js +0 -1
  960. package/dist/bundle/chunks/cat-VQEWZT5O.js +0 -1
  961. package/dist/bundle/chunks/chmod-SYMGL4JA.js +0 -1
  962. package/dist/bundle/chunks/chunk-24IMIIXA.js +0 -1
  963. package/dist/bundle/chunks/chunk-2TRDZQLB.js +0 -17
  964. package/dist/bundle/chunks/chunk-3THT3N7L.js +0 -1
  965. package/dist/bundle/chunks/chunk-3ZUFRYJ4.js +0 -1
  966. package/dist/bundle/chunks/chunk-44UOCSGV.js +0 -1
  967. package/dist/bundle/chunks/chunk-4GTNDTRF.js +0 -7
  968. package/dist/bundle/chunks/chunk-4HHKTUW3.js +0 -2
  969. package/dist/bundle/chunks/chunk-4Q4SM6WR.js +0 -4
  970. package/dist/bundle/chunks/chunk-5DI2YNX7.js +0 -10
  971. package/dist/bundle/chunks/chunk-5QMZ5MUS.js +0 -4
  972. package/dist/bundle/chunks/chunk-5QVNJEHU.js +0 -8
  973. package/dist/bundle/chunks/chunk-6N5CMDSQ.js +0 -9
  974. package/dist/bundle/chunks/chunk-74CEPOFO.js +0 -22
  975. package/dist/bundle/chunks/chunk-7P5JCWX5.js +0 -16
  976. package/dist/bundle/chunks/chunk-7RIQPKJE.js +0 -2
  977. package/dist/bundle/chunks/chunk-7TSDKFEO.js +0 -1
  978. package/dist/bundle/chunks/chunk-7ZUB672J.js +0 -1
  979. package/dist/bundle/chunks/chunk-A4HU7SVR.js +0 -2
  980. package/dist/bundle/chunks/chunk-A4JSPFCI.js +0 -6
  981. package/dist/bundle/chunks/chunk-A5O5YHGN.js +0 -1
  982. package/dist/bundle/chunks/chunk-A65PWWJC.js +0 -2
  983. package/dist/bundle/chunks/chunk-A7A2DBEE.js +0 -6
  984. package/dist/bundle/chunks/chunk-AH77CRWX.js +0 -1
  985. package/dist/bundle/chunks/chunk-ALLTKNUZ.js +0 -5
  986. package/dist/bundle/chunks/chunk-B74TABJS.js +0 -32
  987. package/dist/bundle/chunks/chunk-BAXBSHE5.js +0 -5
  988. package/dist/bundle/chunks/chunk-BGSUD5R5.js +0 -73
  989. package/dist/bundle/chunks/chunk-CHRGJY5U.js +0 -10
  990. package/dist/bundle/chunks/chunk-CWQS3NFK.js +0 -1
  991. package/dist/bundle/chunks/chunk-CYJSRRNG.js +0 -4
  992. package/dist/bundle/chunks/chunk-CZYXTGMR.js +0 -139
  993. package/dist/bundle/chunks/chunk-D7MEQ3VN.js +0 -4
  994. package/dist/bundle/chunks/chunk-DFS4EHCX.js +0 -99
  995. package/dist/bundle/chunks/chunk-DIB23V32.js +0 -8
  996. package/dist/bundle/chunks/chunk-DMJSDIQO.js +0 -6
  997. package/dist/bundle/chunks/chunk-DRGAV7ST.js +0 -11
  998. package/dist/bundle/chunks/chunk-DXB73IDG.js +0 -1
  999. package/dist/bundle/chunks/chunk-DZCB42NK.js +0 -2
  1000. package/dist/bundle/chunks/chunk-EEXR5ZDP.js +0 -2
  1001. package/dist/bundle/chunks/chunk-EIUAYBIC.js +0 -1
  1002. package/dist/bundle/chunks/chunk-G22IYMH5.js +0 -16
  1003. package/dist/bundle/chunks/chunk-GCTKCWKD.js +0 -3
  1004. package/dist/bundle/chunks/chunk-GFPLGF6W.js +0 -5
  1005. package/dist/bundle/chunks/chunk-GFQRA5P5.js +0 -7
  1006. package/dist/bundle/chunks/chunk-GOV5EKKI.js +0 -9
  1007. package/dist/bundle/chunks/chunk-HCKS7PTH.js +0 -10
  1008. package/dist/bundle/chunks/chunk-HJQJAYMS.js +0 -2
  1009. package/dist/bundle/chunks/chunk-HJWBQKYG.js +0 -5
  1010. package/dist/bundle/chunks/chunk-HKY7IG73.js +0 -1
  1011. package/dist/bundle/chunks/chunk-HL6NGDO2.js +0 -22
  1012. package/dist/bundle/chunks/chunk-HWKDQ44K.js +0 -3
  1013. package/dist/bundle/chunks/chunk-IIJDG7QW.js +0 -13
  1014. package/dist/bundle/chunks/chunk-IPJHKYVM.js +0 -1
  1015. package/dist/bundle/chunks/chunk-JKZMQVSS.js +0 -13
  1016. package/dist/bundle/chunks/chunk-JMNW4NXI.js +0 -8
  1017. package/dist/bundle/chunks/chunk-K6LIBGJA.js +0 -10
  1018. package/dist/bundle/chunks/chunk-KBZ5NVXE.js +0 -5
  1019. package/dist/bundle/chunks/chunk-KK2SFKTN.js +0 -13
  1020. package/dist/bundle/chunks/chunk-KRBPSX3W.js +0 -5
  1021. package/dist/bundle/chunks/chunk-LBUR6QMO.js +0 -31
  1022. package/dist/bundle/chunks/chunk-LL3S3NLB.js +0 -1
  1023. package/dist/bundle/chunks/chunk-MBDW4C5R.js +0 -8
  1024. package/dist/bundle/chunks/chunk-MDDMCKUK.js +0 -6
  1025. package/dist/bundle/chunks/chunk-MIV7TH6W.js +0 -32
  1026. package/dist/bundle/chunks/chunk-MIZPJHVH.js +0 -7
  1027. package/dist/bundle/chunks/chunk-MLXIYONF.js +0 -15
  1028. package/dist/bundle/chunks/chunk-MOLNCDQJ.js +0 -5
  1029. package/dist/bundle/chunks/chunk-NCNPKYJZ.js +0 -2
  1030. package/dist/bundle/chunks/chunk-NUFRM6SI.js +0 -0
  1031. package/dist/bundle/chunks/chunk-NUY2ZGZL.js +0 -286
  1032. package/dist/bundle/chunks/chunk-NUYSJFDK.js +0 -7
  1033. package/dist/bundle/chunks/chunk-OCLXQMOG.js +0 -6
  1034. package/dist/bundle/chunks/chunk-OCS6LSEM.js +0 -13
  1035. package/dist/bundle/chunks/chunk-OJDRYQWQ.js +0 -1
  1036. package/dist/bundle/chunks/chunk-OYFKMNOH.js +0 -4
  1037. package/dist/bundle/chunks/chunk-PBXLG62G.js +0 -8
  1038. package/dist/bundle/chunks/chunk-PXTK5WE2.js +0 -20
  1039. package/dist/bundle/chunks/chunk-Q7DN34BC.js +0 -20
  1040. package/dist/bundle/chunks/chunk-R6QSAL5T.js +0 -1
  1041. package/dist/bundle/chunks/chunk-R6VWJ2ZL.js +0 -1
  1042. package/dist/bundle/chunks/chunk-RGAX6VXO.js +0 -6
  1043. package/dist/bundle/chunks/chunk-RHD3NWJY.js +0 -15
  1044. package/dist/bundle/chunks/chunk-RPNGRAAP.js +0 -7
  1045. package/dist/bundle/chunks/chunk-S7CS4O3M.js +0 -5
  1046. package/dist/bundle/chunks/chunk-SFQDTSOG.js +0 -8
  1047. package/dist/bundle/chunks/chunk-SNN4IESC.js +0 -1
  1048. package/dist/bundle/chunks/chunk-T56QNPHK.js +0 -14
  1049. package/dist/bundle/chunks/chunk-T6RP4YO5.js +0 -1
  1050. package/dist/bundle/chunks/chunk-TWHVX65V.js +0 -4
  1051. package/dist/bundle/chunks/chunk-U2ATS66X.js +0 -4
  1052. package/dist/bundle/chunks/chunk-UGMTY5A7.js +0 -15
  1053. package/dist/bundle/chunks/chunk-UKBVVIW7.js +0 -62
  1054. package/dist/bundle/chunks/chunk-USP7VSKV.js +0 -12
  1055. package/dist/bundle/chunks/chunk-UTKQPLMD.js +0 -20
  1056. package/dist/bundle/chunks/chunk-V5MWI2OL.js +0 -4
  1057. package/dist/bundle/chunks/chunk-V7TAPXDL.js +0 -27
  1058. package/dist/bundle/chunks/chunk-VOBGTVA6.js +0 -6
  1059. package/dist/bundle/chunks/chunk-WEZK5ELQ.js +0 -1
  1060. package/dist/bundle/chunks/chunk-WURK7XMI.js +0 -11
  1061. package/dist/bundle/chunks/chunk-WZG5CB4V.js +0 -7
  1062. package/dist/bundle/chunks/chunk-X2AJGDEF.js +0 -1
  1063. package/dist/bundle/chunks/chunk-XUZRLD2X.js +0 -35
  1064. package/dist/bundle/chunks/chunk-XVDPCNWR.js +0 -11
  1065. package/dist/bundle/chunks/chunk-YDILEREV.js +0 -7
  1066. package/dist/bundle/chunks/chunk-YXVMSFJA.js +0 -13
  1067. package/dist/bundle/chunks/clear-5CZ5X4YR.js +0 -1
  1068. package/dist/bundle/chunks/column-DCCLCHUR.js +0 -1
  1069. package/dist/bundle/chunks/comm-AXP77KC4.js +0 -1
  1070. package/dist/bundle/chunks/cp-XOYR4ABJ.js +0 -1
  1071. package/dist/bundle/chunks/curl-47BFPSFW.js +0 -25
  1072. package/dist/bundle/chunks/cut-RBX7IXC7.js +0 -1
  1073. package/dist/bundle/chunks/date-DD7FVA2V.js +0 -1
  1074. package/dist/bundle/chunks/diff-AYXX5MI5.js +0 -1
  1075. package/dist/bundle/chunks/dirname-LEMTZZFS.js +0 -1
  1076. package/dist/bundle/chunks/du-WO2ENHXQ.js +0 -1
  1077. package/dist/bundle/chunks/echo-O45JWWI2.js +0 -1
  1078. package/dist/bundle/chunks/env-GBSZDQLS.js +0 -1
  1079. package/dist/bundle/chunks/expand-UMGRCDTC.js +0 -1
  1080. package/dist/bundle/chunks/expansion-VBDYWVZR.js +0 -1
  1081. package/dist/bundle/chunks/expr-YYCVMXE3.js +0 -1
  1082. package/dist/bundle/chunks/file-IGDTDPLG.js +0 -1
  1083. package/dist/bundle/chunks/find-DH2ALKQS.js +0 -1
  1084. package/dist/bundle/chunks/flag-coverage-WZWBNOJT.js +0 -1
  1085. package/dist/bundle/chunks/fold-V23GDLZD.js +0 -1
  1086. package/dist/bundle/chunks/grep-7CE2SS3X.js +0 -1
  1087. package/dist/bundle/chunks/gzip-EVI6YRMT.js +0 -1
  1088. package/dist/bundle/chunks/head-FG33BE3W.js +0 -1
  1089. package/dist/bundle/chunks/help-VVWX7SA5.js +0 -1
  1090. package/dist/bundle/chunks/history-J4QRNGRO.js +0 -1
  1091. package/dist/bundle/chunks/hostname-BK6HG2DE.js +0 -1
  1092. package/dist/bundle/chunks/html-to-markdown-AQHC3PHD.js +0 -1
  1093. package/dist/bundle/chunks/join-TLHD7S7W.js +0 -1
  1094. package/dist/bundle/chunks/jq-OKCSVTHN.js +0 -1
  1095. package/dist/bundle/chunks/js-exec-2U7NEXAP.js +0 -96
  1096. package/dist/bundle/chunks/ln-4TRFBYAT.js +0 -1
  1097. package/dist/bundle/chunks/ls-KSXFZCWH.js +0 -1
  1098. package/dist/bundle/chunks/md5sum-XMCB7L5Z.js +0 -1
  1099. package/dist/bundle/chunks/mkdir-TDEMSB6C.js +0 -1
  1100. package/dist/bundle/chunks/mv-Z6MORUFL.js +0 -1
  1101. package/dist/bundle/chunks/nl-LBU6FPPF.js +0 -1
  1102. package/dist/bundle/chunks/od-O6TPXWVX.js +0 -1
  1103. package/dist/bundle/chunks/paste-HIF3YKHC.js +0 -1
  1104. package/dist/bundle/chunks/printf-CX64KX2P.js +0 -1
  1105. package/dist/bundle/chunks/pwd-D4OZ7N27.js +0 -1
  1106. package/dist/bundle/chunks/python3-ZR6W2FR3.js +0 -11
  1107. package/dist/bundle/chunks/readlink-MI4GCHJF.js +0 -1
  1108. package/dist/bundle/chunks/rev-SKETTPXH.js +0 -1
  1109. package/dist/bundle/chunks/rg-GMXITNCP.js +0 -1
  1110. package/dist/bundle/chunks/rm-RTZG23RL.js +0 -1
  1111. package/dist/bundle/chunks/rmdir-XTQXT7RK.js +0 -1
  1112. package/dist/bundle/chunks/sed-YRQXQDMQ.js +0 -1
  1113. package/dist/bundle/chunks/seq-RN5ZUASB.js +0 -1
  1114. package/dist/bundle/chunks/sha1sum-ZHNS7PS4.js +0 -1
  1115. package/dist/bundle/chunks/sha256sum-YWE2HB65.js +0 -1
  1116. package/dist/bundle/chunks/sleep-VZFPZFWA.js +0 -1
  1117. package/dist/bundle/chunks/sort-5KALNK6P.js +0 -1
  1118. package/dist/bundle/chunks/split-4CXZNBGE.js +0 -1
  1119. package/dist/bundle/chunks/sqlite3-FXN2MHWU.js +0 -1
  1120. package/dist/bundle/chunks/stat-BT5A227F.js +0 -1
  1121. package/dist/bundle/chunks/strings-7VYWRFIZ.js +0 -1
  1122. package/dist/bundle/chunks/tac-74F3WHUM.js +0 -1
  1123. package/dist/bundle/chunks/tail-EDLAF4WW.js +0 -1
  1124. package/dist/bundle/chunks/tar-RKYTUGDT.js +0 -1
  1125. package/dist/bundle/chunks/tee-DUMXETDQ.js +0 -1
  1126. package/dist/bundle/chunks/time-U22WPHDM.js +0 -1
  1127. package/dist/bundle/chunks/timeout-PWE4AOYD.js +0 -1
  1128. package/dist/bundle/chunks/touch-DX2IJOQ4.js +0 -1
  1129. package/dist/bundle/chunks/tr-2QSZN4JB.js +0 -1
  1130. package/dist/bundle/chunks/tree-LYXBS7DC.js +0 -1
  1131. package/dist/bundle/chunks/true-WHJNXCHG.js +0 -1
  1132. package/dist/bundle/chunks/unexpand-ZTD2RXS2.js +0 -1
  1133. package/dist/bundle/chunks/uniq-DCP6SV3B.js +0 -1
  1134. package/dist/bundle/chunks/wc-J6YO4AFR.js +0 -1
  1135. package/dist/bundle/chunks/which-XZHEH76L.js +0 -1
  1136. package/dist/bundle/chunks/whoami-DGKU3D2X.js +0 -1
  1137. package/dist/bundle/chunks/xan-74G4ZYYZ.js +0 -1
  1138. package/dist/bundle/chunks/xan-view-FLG5O7II.js +0 -1
  1139. package/dist/bundle/chunks/xargs-LB2QOP6N.js +0 -1
  1140. package/dist/bundle/chunks/yq-4NJ2P5VT.js +0 -1
@@ -0,0 +1,14 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{c as j,d as y}from"./chunk-XEKXHOPO.js";import{a as g,b as v,c as F}from"./chunk-QAYAQNCG.js";var N={name:"join",summary:"join lines of two files on a common field",usage:"join [OPTION]... FILE1 FILE2",description:"For each pair of input lines with identical join fields, write a line to standard output. The default join field is the first, delimited by blanks.",options:["-1 FIELD Join on this FIELD of file 1 (default: 1)","-2 FIELD Join on this FIELD of file 2 (default: 1)","-t CHAR Use CHAR as input and output field separator","-a FILENUM Also print unpairable lines from file FILENUM (1 or 2)","-v FILENUM Like -a but only output unpairable lines","-e STRING Replace missing fields with STRING","-o FORMAT Output format (comma-separated list of FILENUM.FIELD)","-i Ignore case when comparing fields"],examples:["join file1 file2 # Join on first field","join -1 2 -2 1 file1 file2 # Join file1 col 2 with file2 col 1","join -t ',' file1.csv file2.csv # Join CSV files","join -a 1 file1 file2 # Left outer join"]};function I(i,s){return s?i.split(s):i.split(/[ \t]+/).filter(n=>n.length>0)}function L(i,s,n,f){let e=I(i,s),r=e[n-1]??"";return f&&(r=r.toLowerCase()),{fields:e,joinKey:r,original:i}}function m(i,s,n){let f=n.separator??" ";if(n.outputFormat){let l=[];for(let{file:c,field:p}of n.outputFormat){let a=c===1?i:s;a&&p===0?l.push(a.joinKey):a&&a.fields[p-1]!==void 0?l.push(a.fields[p-1]):l.push(n.emptyString)}return l.join(f)}let e=[],r=i?.joinKey??s?.joinKey??"";if(e.push(r),i)for(let l=0;l<i.fields.length;l++)l!==n.field1-1&&e.push(i.fields[l]);if(s)for(let l=0;l<s.fields.length;l++)l!==n.field2-1&&e.push(s.fields[l]);return e.join(f)}function U(i){let s=i.split(","),n=[];for(let f of s){let e=f.trim().match(/^(\d+)\.(\d+)$/);if(!e)return null;let r=Number.parseInt(e[1],10),l=Number.parseInt(e[2],10);if(r!==1&&r!==2)return null;n.push({file:r,field:l})}return n}var E={name:"join",execute:async(i,s)=>{if(v(i))return g(N);let n={field1:1,field2:1,separator:null,printUnpairable:new Set,onlyUnpairable:new Set,emptyString:"",outputFormat:null,ignoreCase:!1},f=[],e=0;for(;e<i.length;){let t=i[e];if(t==="-1"&&e+1<i.length){let o=Number.parseInt(i[e+1],10);if(Number.isNaN(o)||o<1)return{exitCode:1,stdout:"",stderr:`join: invalid field number: '${i[e+1]}'
3
+ `};n.field1=o,e+=2}else if(t==="-2"&&e+1<i.length){let o=Number.parseInt(i[e+1],10);if(Number.isNaN(o)||o<1)return{exitCode:1,stdout:"",stderr:`join: invalid field number: '${i[e+1]}'
4
+ `};n.field2=o,e+=2}else if((t==="-t"||t==="--field-separator")&&e+1<i.length)n.separator=i[e+1],e+=2;else if(t.startsWith("-t")&&t.length>2)n.separator=t.slice(2),e++;else if(t==="-a"&&e+1<i.length){let o=Number.parseInt(i[e+1],10);if(o!==1&&o!==2)return{exitCode:1,stdout:"",stderr:`join: invalid file number: '${i[e+1]}'
5
+ `};n.printUnpairable.add(o),e+=2}else if(t.match(/^-a[12]$/))n.printUnpairable.add(Number.parseInt(t[2],10)),e++;else if(t==="-v"&&e+1<i.length){let o=Number.parseInt(i[e+1],10);if(o!==1&&o!==2)return{exitCode:1,stdout:"",stderr:`join: invalid file number: '${i[e+1]}'
6
+ `};n.onlyUnpairable.add(o),e+=2}else if(t.match(/^-v[12]$/))n.onlyUnpairable.add(Number.parseInt(t[2],10)),e++;else if(t==="-e"&&e+1<i.length)n.emptyString=i[e+1],e+=2;else if(t==="-o"&&e+1<i.length){let o=U(i[e+1]);if(!o)return{exitCode:1,stdout:"",stderr:`join: invalid field spec: '${i[e+1]}'
7
+ `};n.outputFormat=o,e+=2}else if(t==="-i"||t==="--ignore-case")n.ignoreCase=!0,e++;else if(t==="--"){f.push(...i.slice(e+1));break}else{if(t.startsWith("-")&&t!=="-")return F("join",t);f.push(t),e++}}if(f.length!==2)return{exitCode:1,stdout:"",stderr:f.length<2?`join: missing file operand
8
+ `:`join: extra operand
9
+ `};let r=[];for(let t of f)if(t==="-")r.push(j(s.stdin)??"");else{let o=s.fs.resolvePath(s.cwd,t),u=await s.fs.readFile(o);if(u===null)return{exitCode:1,stdout:"",stderr:`join: ${t}: No such file or directory
10
+ `};r.push(u)}let l=(t,o)=>{let u=t.split(`
11
+ `);return t.endsWith(`
12
+ `)&&u[u.length-1]===""&&u.pop(),u.filter(h=>h.length>0).map(h=>L(h,n.separator,o,n.ignoreCase))},c=l(r[0],n.field1),p=l(r[1],n.field2),a=new Map;for(let t of p){let o=a.get(t.joinKey);o?o.push(t):a.set(t.joinKey,[t])}let d=[],b=new Set;for(let t of c){let o=a.get(t.joinKey);if(o&&o.length>0){if(b.add(t.joinKey),n.onlyUnpairable.size===0)for(let u of o)d.push(m(t,u,n))}else(n.printUnpairable.has(1)||n.onlyUnpairable.has(1))&&d.push(m(t,null,n))}if(n.printUnpairable.has(2)||n.onlyUnpairable.has(2))for(let t of p)b.has(t.joinKey)||d.push(m(null,t,n));return{exitCode:0,stdout:y(d.length>0?`${d.join(`
13
+ `)}
14
+ `:""),stderr:"",stdoutEncoding:"binary"}}},H={name:"join",flags:[{flag:"-1",type:"value",valueHint:"number"},{flag:"-2",type:"value",valueHint:"number"},{flag:"-t",type:"value",valueHint:"delimiter"},{flag:"-a",type:"value",valueHint:"number"},{flag:"-v",type:"value",valueHint:"number"},{flag:"-e",type:"value",valueHint:"string"},{flag:"-o",type:"value",valueHint:"format"},{flag:"-i",type:"boolean"}],needsArgs:!0,minArgs:2};export{E as a,H as b};
@@ -0,0 +1,2 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{a as n,b as i,c as r}from"./chunk-PDUL32DM.js";import{a,b as s}from"./chunk-QAYAQNCG.js";var f={name:"head",summary:"output the first part of files",usage:"head [OPTION]... [FILE]...",options:["-c, --bytes=NUM print the first NUM bytes","-n, --lines=NUM print the first NUM lines (default 10)","-q, --quiet never print headers giving file names","-v, --verbose always print headers giving file names"," --help display this help and exit"]},m={name:"head",async execute(t,l){if(s(t))return a(f);let e=n(t,"head");if(!e.ok)return e.error;let{lines:o,bytes:p}=e.options;return i(l,e.options,"head",d=>r(d,o,p))}},g={name:"head",flags:[{flag:"-n",type:"value",valueHint:"number"},{flag:"-c",type:"value",valueHint:"number"},{flag:"-q",type:"boolean"},{flag:"-v",type:"boolean"}],stdinType:"text",needsFiles:!0};export{m as a,g as b};
@@ -0,0 +1,2 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ function x(r,o){let t=o?"d":"-",n=[r&256?"r":"-",r&128?"w":"-",r&64?"x":"-",r&32?"r":"-",r&16?"w":"-",r&8?"x":"-",r&4?"r":"-",r&2?"w":"-",r&1?"x":"-"];return t+n.join("")}export{x as a};
@@ -0,0 +1,3 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{a as i,b as l}from"./chunk-QAYAQNCG.js";var p={name:"history",summary:"display command history",usage:"history [n]",options:["-c clear the history list"," --help display this help and exit"]},h="BASH_HISTORY",m={name:"history",async execute(e,s){if(l(e))return i(p);let a=s.env.get(h)||"[]",t;try{t=JSON.parse(a)}catch{t=[]}if(e[0]==="-c")return s.env.set(h,"[]"),{stdout:"",stderr:"",exitCode:0};let n=t.length;e[0]&&/^\d+$/.test(e[0])&&(n=Math.min(parseInt(e[0],10),t.length));let c=t.length-n,r="";for(let o=c;o<t.length;o++){let y=(o+1).toString().padStart(5," ");r+=`${y} ${t[o]}
3
+ `}return{stdout:r,stderr:"",exitCode:0}}},u={name:"history",flags:[{flag:"-c",type:"boolean"}]};export{m as a,u as b};
@@ -0,0 +1,5 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{a as f}from"./chunk-BZUGFHVS.js";function v(){let a=[{prop:"Function",target:globalThis,violationType:"function_constructor",strategy:"throw",reason:"Function constructor allows arbitrary code execution"},{prop:"eval",target:globalThis,violationType:"eval",strategy:"throw",reason:"eval() allows arbitrary code execution"},{prop:"setTimeout",target:globalThis,violationType:"setTimeout",strategy:"throw",reason:"setTimeout with string argument allows code execution"},{prop:"setInterval",target:globalThis,violationType:"setInterval",strategy:"throw",reason:"setInterval with string argument allows code execution"},{prop:"setImmediate",target:globalThis,violationType:"setImmediate",strategy:"throw",reason:"setImmediate could be used to escape sandbox context"},{prop:"env",target:process,violationType:"process_env",strategy:"throw",reason:"process.env could leak sensitive environment variables",allowedKeys:new Set(["NODE_V8_COVERAGE","NODE_DEBUG","NODE_DEBUG_NATIVE","NODE_COMPILE_CACHE","WATCH_REPORT_DEPENDENCIES","FORCE_COLOR","DEBUG","UNDICI_NO_FG","JEST_WORKER_ID","__MINIMATCH_TESTING_PLATFORM__","LOG_TOKENS","LOG_STREAM"])},{prop:"binding",target:process,violationType:"process_binding",strategy:"throw",reason:"process.binding provides access to native Node.js modules"},{prop:"_linkedBinding",target:process,violationType:"process_binding",strategy:"throw",reason:"process._linkedBinding provides access to native Node.js modules"},{prop:"dlopen",target:process,violationType:"process_dlopen",strategy:"throw",reason:"process.dlopen allows loading native addons"},{prop:"getBuiltinModule",target:process,violationType:"process_get_builtin_module",strategy:"throw",reason:"process.getBuiltinModule allows loading native Node.js modules (fs, child_process, vm)"},{prop:"exit",target:process,violationType:"process_exit",strategy:"throw",reason:"process.exit could terminate the interpreter"},{prop:"abort",target:process,violationType:"process_exit",strategy:"throw",reason:"process.abort could crash the interpreter"},{prop:"kill",target:process,violationType:"process_kill",strategy:"throw",reason:"process.kill could signal other processes"},{prop:"setuid",target:process,violationType:"process_setuid",strategy:"throw",reason:"process.setuid could escalate privileges"},{prop:"setgid",target:process,violationType:"process_setuid",strategy:"throw",reason:"process.setgid could escalate privileges"},{prop:"seteuid",target:process,violationType:"process_setuid",strategy:"throw",reason:"process.seteuid could escalate effective user privileges"},{prop:"setegid",target:process,violationType:"process_setuid",strategy:"throw",reason:"process.setegid could escalate effective group privileges"},{prop:"initgroups",target:process,violationType:"process_setuid",strategy:"throw",reason:"process.initgroups could modify supplementary group IDs"},{prop:"setgroups",target:process,violationType:"process_setuid",strategy:"throw",reason:"process.setgroups could modify supplementary group IDs"},{prop:"umask",target:process,violationType:"process_umask",strategy:"throw",reason:"process.umask could modify file creation permissions"},{prop:"argv",target:process,violationType:"process_argv",strategy:"throw",reason:"process.argv may contain secrets in CLI arguments"},{prop:"cwd",target:process,violationType:"process_chdir",strategy:"throw",reason:"process.cwd could disclose real host working directory path"},{prop:"chdir",target:process,violationType:"process_chdir",strategy:"throw",reason:"process.chdir could confuse the interpreter's CWD tracking"},{prop:"report",target:process,violationType:"process_report",strategy:"throw",reason:"process.report could disclose full environment, host paths, and system info"},{prop:"loadEnvFile",target:process,violationType:"process_env",strategy:"throw",reason:"process.loadEnvFile could load env files bypassing env proxy"},{prop:"setUncaughtExceptionCaptureCallback",target:process,violationType:"process_exception_handler",strategy:"throw",reason:"setUncaughtExceptionCaptureCallback could intercept security errors"},{prop:"send",target:process,violationType:"process_send",strategy:"throw",reason:"process.send could communicate with parent process in IPC contexts"},{prop:"channel",target:process,violationType:"process_channel",strategy:"throw",reason:"process.channel could access IPC channel to parent process"},{prop:"cpuUsage",target:process,violationType:"process_timing",strategy:"throw",reason:"process.cpuUsage could enable timing side-channel attacks"},{prop:"memoryUsage",target:process,violationType:"process_timing",strategy:"throw",reason:"process.memoryUsage could enable timing side-channel attacks"},{prop:"hrtime",target:process,violationType:"process_timing",strategy:"throw",reason:"process.hrtime could enable timing side-channel attacks"},{prop:"WeakRef",target:globalThis,violationType:"weak_ref",strategy:"throw",reason:"WeakRef could be used to leak references outside sandbox"},{prop:"FinalizationRegistry",target:globalThis,violationType:"finalization_registry",strategy:"throw",reason:"FinalizationRegistry could be used to leak references outside sandbox"},{prop:"Reflect",target:globalThis,violationType:"reflect",strategy:"freeze",reason:"Reflect provides introspection capabilities"},{prop:"Proxy",target:globalThis,violationType:"proxy",strategy:"throw",reason:"Proxy allows intercepting and modifying object behavior"},{prop:"WebAssembly",target:globalThis,violationType:"webassembly",strategy:"throw",reason:"WebAssembly allows executing arbitrary compiled code"},{prop:"SharedArrayBuffer",target:globalThis,violationType:"shared_array_buffer",strategy:"throw",reason:"SharedArrayBuffer could enable side-channel communication or timing attacks"},{prop:"Atomics",target:globalThis,violationType:"atomics",strategy:"throw",reason:"Atomics could enable side-channel communication or timing attacks"},{prop:"performance",target:globalThis,violationType:"performance_timing",strategy:"throw",reason:"performance.now() provides sub-millisecond timing for side-channel attacks"},{prop:"stdout",target:process,violationType:"process_stdout",strategy:"throw",reason:"process.stdout could bypass interpreter output to write to host stdout"},{prop:"stderr",target:process,violationType:"process_stderr",strategy:"throw",reason:"process.stderr could bypass interpreter output to write to host stderr"},{prop:"__defineGetter__",target:Object.prototype,violationType:"prototype_mutation",strategy:"throw",reason:"__defineGetter__ allows prototype pollution via getter injection"},{prop:"__defineSetter__",target:Object.prototype,violationType:"prototype_mutation",strategy:"throw",reason:"__defineSetter__ allows prototype pollution via setter injection"},{prop:"__lookupGetter__",target:Object.prototype,violationType:"prototype_mutation",strategy:"throw",reason:"__lookupGetter__ enables introspection for prototype pollution attacks"},{prop:"__lookupSetter__",target:Object.prototype,violationType:"prototype_mutation",strategy:"throw",reason:"__lookupSetter__ enables introspection for prototype pollution attacks"},{prop:"JSON",target:globalThis,violationType:"json_mutation",strategy:"freeze",reason:"Freeze JSON to prevent mutation of parsing/serialization"},{prop:"Math",target:globalThis,violationType:"math_mutation",strategy:"freeze",reason:"Freeze Math to prevent mutation of math utilities"}];try{let e=Object.getPrototypeOf(async()=>{}).constructor;e&&e!==Function&&a.push({prop:"constructor",target:Object.getPrototypeOf(async()=>{}),violationType:"async_function_constructor",strategy:"throw",reason:"AsyncFunction constructor allows arbitrary async code execution"})}catch{}try{let e=Object.getPrototypeOf(function*(){}).constructor;e&&e!==Function&&a.push({prop:"constructor",target:Object.getPrototypeOf(function*(){}),violationType:"generator_function_constructor",strategy:"throw",reason:"GeneratorFunction constructor allows arbitrary generator code execution"})}catch{}try{let e=Object.getPrototypeOf(async function*(){}).constructor;e&&e!==Function&&e!==Object.getPrototypeOf(async()=>{}).constructor&&a.push({prop:"constructor",target:Object.getPrototypeOf(async function*(){}),violationType:"async_generator_function_constructor",strategy:"throw",reason:"AsyncGeneratorFunction constructor allows arbitrary async generator code execution"})}catch{}return a.filter(e=>{try{return e.target[e.prop]!==void 0}catch{return!1}})}var g=typeof __BROWSER__<"u"&&__BROWSER__;function w(){return typeof crypto<"u"&&crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,a=>{let e=Math.random()*16|0;return(a==="x"?e:e&3|8).toString(16)})}var x=null;if(!g)try{let{AsyncLocalStorage:a}=f("node:async_hooks");x=a}catch{}var k=`
3
+
4
+ This is a defense-in-depth measure and indicates a bug in just-bash. Please report this at security@vercel.com`,d=class extends Error{violation;constructor(e,t){super(e+k),this.violation=t,this.name="SecurityViolationError"}},u=!g&&x?new x:null,T=1e3;function D(a,e,...t){return u.run(a,()=>e(...t))}var m={enabled:!0,auditMode:!1};function E(a){return a===void 0?{...m,enabled:!1}:typeof a=="boolean"?{...m,enabled:a}:{...m,...a}}var _=class a{static instance=null;static importHooksRegistered=!1;static trustedExecutionDepth=new Map;config;refCount=0;patchFailures=[];activeExecutionIds=new Set;contextCache=new Map;originalDescriptors=[];violations=[];activationTime=0;totalActiveTimeMs=0;constructor(e){this.config=e}static getInstance(e){let t=E(e);if(!a.instance)a.instance=new a(t);else{let r=a.instance.config;if(t.enabled!==r.enabled||t.auditMode!==r.auditMode)throw new Error(`DefenseInDepthBox config conflict: requested {enabled: ${t.enabled}, auditMode: ${t.auditMode}} but singleton already has {enabled: ${r.enabled}, auditMode: ${r.auditMode}}. All Bash instances must use the same defense-in-depth security settings, or call DefenseInDepthBox.resetInstance() between incompatible configurations.`)}return a.instance}static resetInstance(){a.instance&&(a.instance.forceDeactivate(),a.instance=null),a.trustedExecutionDepth.clear()}static isInSandboxedContext(){return u?u?.getStore()?.sandboxActive===!0:!1}static getCurrentExecutionId(){if(u)return u?.getStore()?.executionId}static enterTrustedScope(e){let t=a.trustedExecutionDepth.get(e)??0;a.trustedExecutionDepth.set(e,t+1)}static leaveTrustedScope(e){let t=a.trustedExecutionDepth.get(e);if(t){if(t===1){a.trustedExecutionDepth.delete(e);return}a.trustedExecutionDepth.set(e,t-1)}}static isTrustedScopeActive(e){return e?(a.trustedExecutionDepth.get(e)??0)>0:!1}isExecutionIdActive(e){return this.activeExecutionIds.has(e)}getCachedContext(e){let t=this.contextCache.get(e);return t||(t={sandboxActive:!0,executionId:e},this.contextCache.set(e,t)),t}getPreferredActiveExecutionId(){if(this.activeExecutionIds.size!==0)for(let e of this.activeExecutionIds)return e}static bindCurrentContext(e){if(!u)return e;let t=a.instance,r=u.getStore(),s=r?.sandboxActive===!0?r.executionId:t?.getPreferredActiveExecutionId();if(!s)return e;let n=t?.getCachedContext(s)??{sandboxActive:!0,executionId:s};return((...o)=>{let i=a.instance;if(!(i&&!i.isExecutionIdActive(s)&&(i.recordViolation("bound_callback_after_deactivate","bound callback","Bound callback blocked after originating execution was deactivated"),!i.config.auditMode)))return D(n,e,...o)})}isEnabled(){return this.config.enabled===!0&&u!==null&&!g}updateConfig(e){this.config={...this.config,...e}}activate(){if(g||!this.config.enabled||!u){let r=w(),s=!1;return{run:n=>s?Promise.reject(new Error("DefenseInDepthBox handle is deactivated and cannot run new work")):n(),deactivate:()=>{s=!0},executionId:r}}this.refCount++,this.refCount===1&&(this.applyPatches(),this.activationTime=Date.now());let e=w(),t=!1;return{run:r=>t?Promise.reject(new Error("DefenseInDepthBox handle is deactivated and cannot run new work")):(this.activeExecutionIds.add(e),u.run({sandboxActive:!0,executionId:e},r)),deactivate:()=>{t||(t=!0,this.activeExecutionIds.delete(e),this.contextCache.delete(e),this.refCount--,this.refCount===0&&(this.restorePatches(),this.totalActiveTimeMs+=Date.now()-this.activationTime),this.refCount<0&&(this.refCount=0))},executionId:e}}forceDeactivate(){this.refCount>0&&(this.restorePatches(),this.totalActiveTimeMs+=Date.now()-this.activationTime),this.activeExecutionIds.clear(),this.contextCache.clear(),this.refCount=0}isActive(){return this.refCount>0}getStats(){return{violationsBlocked:this.violations.length,violations:[...this.violations],activeTimeMs:this.totalActiveTimeMs+(this.refCount>0?Date.now()-this.activationTime:0),refCount:this.refCount}}getPatchFailures(){return[...this.patchFailures]}clearViolations(){this.violations=[]}getPathForTarget(e,t){return e===globalThis?`globalThis.${t}`:e===process?`process.${t}`:e===Error?`Error.${t}`:e===Function.prototype?`Function.prototype.${t}`:e===Object.prototype?`Object.prototype.${t}`:`<object>.${t}`}static runTrusted(e){if(!u)return e();let t=u.getStore();if(!t)return e();let{executionId:r}=t;return u.run({...t,trusted:!0},()=>{a.enterTrustedScope(r);try{let s=e();return typeof s=="object"&&s!==null&&"finally"in s&&typeof s.finally=="function"?s.finally(()=>{a.leaveTrustedScope(r)}):(a.leaveTrustedScope(r),s)}catch(s){throw a.leaveTrustedScope(r),s}})}static async runTrustedAsync(e){if(!u)return e();let t=u.getStore();if(!t)return e();let{executionId:r}=t;return u.run({...t,trusted:!0},async()=>{a.enterTrustedScope(r);try{return await e()}finally{a.leaveTrustedScope(r)}})}shouldBlock(){if(g||this.config.auditMode||!u)return!1;let e=u?.getStore();return!(e?.sandboxActive!==!0||e.trusted||a.isTrustedScopeActive(e.executionId))}recordViolation(e,t,r){let s={timestamp:Date.now(),type:e,message:r,path:t,stack:new Error().stack,executionId:u?.getStore()?.executionId};if(this.violations.length<T&&this.violations.push(s),this.config.onViolation)try{this.config.onViolation(s)}catch(n){console.debug("[DefenseInDepthBox] onViolation callback threw:",n instanceof Error?n.message:n)}return s}createBlockingProxy(e,t,r){let s=this;return new Proxy(e,{apply(n,o,i){if(s.shouldBlock()){let c=`${t} is blocked during script execution`,l=s.recordViolation(r,t,c);throw new d(c,l)}return s.config.auditMode&&u?.getStore()?.sandboxActive===!0&&s.recordViolation(r,t,`${t} called (audit mode)`),Reflect.apply(n,o,i)},construct(n,o,i){if(s.shouldBlock()){let c=`${t} constructor is blocked during script execution`,l=s.recordViolation(r,t,c);throw new d(c,l)}return s.config.auditMode&&u?.getStore()?.sandboxActive===!0&&s.recordViolation(r,t,`${t} constructor called (audit mode)`),Reflect.construct(n,o,i)}})}createBlockingObjectProxy(e,t,r,s){let n=this;return new Proxy(e,{get(o,i,c){if(n.shouldBlock()){if(s&&typeof i=="string"&&s.has(i))return Reflect.get(o,i,c);let l=`${t}.${String(i)}`,p=`${l} is blocked during script execution`,h=n.recordViolation(r,l,p);throw new d(p,h)}if(n.config.auditMode&&u?.getStore()?.sandboxActive===!0){let l=`${t}.${String(i)}`;n.recordViolation(r,l,`${l} accessed (audit mode)`)}return Reflect.get(o,i,c)},set(o,i,c,l){if(n.shouldBlock()){let p=`${t}.${String(i)}`,h=`${p} modification is blocked during script execution`,y=n.recordViolation(r,p,h);throw new d(h,y)}return t==="process.env"&&i==="DEBUG"?Reflect.set(o,i,c):Reflect.set(o,i,c,l)},ownKeys(o){if(n.shouldBlock()){let i=`${t} enumeration is blocked during script execution`,c=n.recordViolation(r,t,i);throw new d(i,c)}return Reflect.ownKeys(o)},getOwnPropertyDescriptor(o,i){if(n.shouldBlock()){let c=`${t}.${String(i)}`,l=`${c} descriptor access is blocked during script execution`,p=n.recordViolation(r,c,l);throw new d(l,p)}return Reflect.getOwnPropertyDescriptor(o,i)},has(o,i){if(n.shouldBlock()){let c=`${t}.${String(i)}`,l=`${c} existence check is blocked during script execution`,p=n.recordViolation(r,c,l);throw new d(l,p)}return Reflect.has(o,i)},deleteProperty(o,i){if(n.shouldBlock()){let c=`${t}.${String(i)}`,l=`${c} deletion is blocked during script execution`,p=n.recordViolation(r,c,l);throw new d(l,p)}return Reflect.deleteProperty(o,i)},setPrototypeOf(o,i){if(n.shouldBlock()){let c=`${t} setPrototypeOf is blocked during script execution`,l=n.recordViolation(r,t,c);throw new d(c,l)}return Reflect.setPrototypeOf(o,i)},defineProperty(o,i,c){if(n.shouldBlock()){let l=`${t}.${String(i)}`,p=`${l} defineProperty is blocked during script execution`,h=n.recordViolation(r,l,p);throw new d(p,h)}return Reflect.defineProperty(o,i,c)}})}applyPatches(){this.patchFailures=[];let e=v(),t=new Set(["process_send","process_channel","process_stdout","process_stderr"]);for(let n of e)t.has(n.violationType)||this.applyPatch(n);this.protectConstructorChain(),this.protectErrorPrepareStackTrace(),this.protectPromiseThen(),this.protectDynamicImport(),this.protectModuleLoad(),this.protectModuleResolveFilename(),this.protectProcessMainModule(),this.protectProcessExecPath(),this.lockWellKnownSymbols(),this.protectProxyRevocable();let r=["Function.prototype.constructor","Module._load"],s=this.patchFailures.filter(n=>r.includes(n));if(s.length>0)throw this.restorePatches(),new Error(`DefenseInDepthBox: critical patches failed: ${s.join(", ")}`)}protectConstructorChain(){this.patchPrototypeConstructor(Function.prototype,"Function.prototype.constructor","function_constructor");try{let e=Object.getPrototypeOf(async()=>{}).constructor;e&&e!==Function&&this.patchPrototypeConstructor(e.prototype,"AsyncFunction.prototype.constructor","async_function_constructor")}catch(e){this.patchFailures.push("AsyncFunction.prototype.constructor"),console.debug("[DefenseInDepthBox] Could not patch AsyncFunction.prototype.constructor:",e instanceof Error?e.message:e)}try{let e=Object.getPrototypeOf(function*(){}).constructor;e&&e!==Function&&this.patchPrototypeConstructor(e.prototype,"GeneratorFunction.prototype.constructor","generator_function_constructor")}catch(e){this.patchFailures.push("GeneratorFunction.prototype.constructor"),console.debug("[DefenseInDepthBox] Could not patch GeneratorFunction.prototype.constructor:",e instanceof Error?e.message:e)}try{let e=Object.getPrototypeOf(async function*(){}).constructor,t=Object.getPrototypeOf(async()=>{}).constructor;e&&e!==Function&&e!==t&&this.patchPrototypeConstructor(e.prototype,"AsyncGeneratorFunction.prototype.constructor","async_generator_function_constructor")}catch(e){this.patchFailures.push("AsyncGeneratorFunction.prototype.constructor"),console.debug("[DefenseInDepthBox] Could not patch AsyncGeneratorFunction.prototype.constructor:",e instanceof Error?e.message:e)}}protectErrorPrepareStackTrace(){let e=this;try{let t=Object.getOwnPropertyDescriptor(Error,"prepareStackTrace");this.originalDescriptors.push({target:Error,prop:"prepareStackTrace",descriptor:t});let r=t?.value;Object.defineProperty(Error,"prepareStackTrace",{get(){return r},set(s){if(e.shouldBlock()){let n="Error.prepareStackTrace modification is blocked during script execution",o=e.recordViolation("error_prepare_stack_trace","Error.prepareStackTrace",n);throw new d(n,o)}e.config.auditMode&&u?.getStore()?.sandboxActive===!0&&e.recordViolation("error_prepare_stack_trace","Error.prepareStackTrace","Error.prepareStackTrace set (audit mode)"),r=s},configurable:!0})}catch(t){this.patchFailures.push("Error.prepareStackTrace"),console.debug("[DefenseInDepthBox] Could not protect Error.prepareStackTrace:",t instanceof Error?t.message:t)}}protectPromiseThen(){let e=this;try{let n=function(...o){return u.run(this.captured,()=>{if(!this.box.isExecutionIdActive(this.executionId)){if(this.box.recordViolation("promise_then_after_deactivate","Promise.then","Promise.then callback is blocked after defense deactivation"),this.box.config.auditMode)return Reflect.apply(this.cb,void 0,o);if(this.kind==="fulfilled")return o[0];throw o[0]}return Reflect.apply(this.cb,void 0,o)})};var t=n;let r=Object.getOwnPropertyDescriptor(Promise.prototype,"then");this.originalDescriptors.push({target:Promise.prototype,prop:"then",descriptor:r});let s=r?.value;if(typeof s!="function")return;Object.defineProperty(Promise.prototype,"then",{value:function(i,c){if(!u)return Reflect.apply(s,this,[i,c]);let l=u.getStore(),p=l?.sandboxActive===!0&&l.trusted!==!0?l.executionId:void 0;if(!p)return Reflect.apply(s,this,[i,c]);let h=e.getCachedContext(p),y=(b,P)=>typeof b!="function"?b:n.bind({box:e,executionId:p,captured:h,cb:b,kind:P});return Reflect.apply(s,this,[y(i,"fulfilled"),y(c,"rejected")])},writable:!0,configurable:!0})}catch(r){this.patchFailures.push("Promise.prototype.then"),console.debug("[DefenseInDepthBox] Could not protect Promise.prototype.then:",r instanceof Error?r.message:r)}}patchPrototypeConstructor(e,t,r){let s=this;try{let n=Object.getOwnPropertyDescriptor(e,"constructor");this.originalDescriptors.push({target:e,prop:"constructor",descriptor:n});let o=n?.value;Object.defineProperty(e,"constructor",{get(){if(s.shouldBlock()){let i=`${t} access is blocked during script execution`,c=s.recordViolation(r,t,i);throw new d(i,c)}return s.config.auditMode&&u?.getStore()?.sandboxActive===!0&&s.recordViolation(r,t,`${t} accessed (audit mode)`),o},set(i){if(s.shouldBlock()){let c=`${t} modification is blocked during script execution`,l=s.recordViolation(r,t,c);throw new d(c,l)}Object.defineProperty(this,"constructor",{value:i,writable:!0,configurable:!0})},configurable:!0})}catch(n){this.patchFailures.push(t),console.debug(`[DefenseInDepthBox] Could not patch ${t}:`,n instanceof Error?n.message:n)}}protectProcessMainModule(){if(typeof process>"u")return;let e=this;try{let t=Object.getOwnPropertyDescriptor(process,"mainModule");this.originalDescriptors.push({target:process,prop:"mainModule",descriptor:t});let r=t?.value;r!==void 0&&Object.defineProperty(process,"mainModule",{get(){if(e.shouldBlock()){let s="process.mainModule access is blocked during script execution",n=e.recordViolation("process_main_module","process.mainModule",s);throw new d(s,n)}return e.config.auditMode&&u?.getStore()?.sandboxActive===!0&&e.recordViolation("process_main_module","process.mainModule","process.mainModule accessed (audit mode)"),r},set(s){if(e.shouldBlock()){let n="process.mainModule modification is blocked during script execution",o=e.recordViolation("process_main_module","process.mainModule",n);throw new d(n,o)}Object.defineProperty(process,"mainModule",{value:s,writable:!0,configurable:!0})},configurable:!0})}catch(t){this.patchFailures.push("process.mainModule"),console.debug("[DefenseInDepthBox] Could not protect process.mainModule:",t instanceof Error?t.message:t)}}protectProcessExecPath(){if(typeof process>"u")return;let e=this;try{let t=Object.getOwnPropertyDescriptor(process,"execPath");this.originalDescriptors.push({target:process,prop:"execPath",descriptor:t});let r=t?.value??process.execPath;Object.defineProperty(process,"execPath",{get(){if(e.shouldBlock()){let s="process.execPath access is blocked during script execution",n=e.recordViolation("process_exec_path","process.execPath",s);throw new d(s,n)}return e.config.auditMode&&u?.getStore()?.sandboxActive===!0&&e.recordViolation("process_exec_path","process.execPath","process.execPath accessed (audit mode)"),r},set(s){if(e.shouldBlock()){let n="process.execPath modification is blocked during script execution",o=e.recordViolation("process_exec_path","process.execPath",n);throw new d(n,o)}Object.defineProperty(process,"execPath",{value:s,writable:!0,configurable:!0})},configurable:!0})}catch(t){this.patchFailures.push("process.execPath"),console.debug("[DefenseInDepthBox] Could not protect process.execPath:",t instanceof Error?t.message:t)}}lockWellKnownSymbols(){let e=(t,r)=>{try{let s=Object.getOwnPropertyDescriptor(t,r);if(s?.configurable){if("value"in s){Object.defineProperty(t,r,{...s,configurable:!1,writable:!1});return}Object.defineProperty(t,r,{...s,configurable:!1})}}catch{}};for(let t of[Array,Map,Set,RegExp,Promise])e(t,Symbol.species);for(let t of[Array.prototype,String.prototype,Map.prototype,Set.prototype])e(t,Symbol.iterator);e(Symbol.prototype,Symbol.toPrimitive),e(Date.prototype,Symbol.toPrimitive);for(let t of[Symbol.match,Symbol.matchAll,Symbol.replace,Symbol.search,Symbol.split])e(RegExp.prototype,t);e(Function.prototype,Symbol.hasInstance),e(Array.prototype,Symbol.unscopables);for(let t of[Map.prototype,Set.prototype,Promise.prototype,ArrayBuffer.prototype])e(t,Symbol.toStringTag);try{let t=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");this.originalDescriptors.push({target:Error,prop:"stackTraceLimit",descriptor:t}),Object.defineProperty(Error,"stackTraceLimit",{value:Error.stackTraceLimit,writable:!1,configurable:!0})}catch{}}protectProxyRevocable(){let e=this;try{let t=Proxy.revocable;if(typeof t!="function")return;let r=Object.getOwnPropertyDescriptor(Proxy,"revocable");this.originalDescriptors.push({target:Proxy,prop:"revocable",descriptor:r}),Object.defineProperty(Proxy,"revocable",{value:function(n,o){if(e.shouldBlock()){let i="Proxy.revocable is blocked during script execution",c=e.recordViolation("proxy","Proxy.revocable",i);throw new d(i,c)}return e.config.auditMode&&u?.getStore()?.sandboxActive===!0&&e.recordViolation("proxy","Proxy.revocable","Proxy.revocable called (audit mode)"),t(n,o)},writable:!1,configurable:!0})}catch(t){this.patchFailures.push("Proxy.revocable"),console.debug("[DefenseInDepthBox] Could not protect Proxy.revocable:",t instanceof Error?t.message:t)}}protectDynamicImport(){if(!(g||a.importHooksRegistered))try{let e=this,t=f("node:module"),r=new Set;for(let o of t.builtinModules??[]){let i=o.startsWith("node:")?o.slice(5):o;r.add(i);let c=i.indexOf("/");c>0&&r.add(i.slice(0,c))}let s=o=>{if(o.startsWith("./")||o.startsWith("../")||o.startsWith("/")||o.startsWith("file:")||o.startsWith("data:")||o.startsWith("blob:")||o.startsWith("http:")||o.startsWith("https:"))return!1;let i=o.startsWith("node:")?o.slice(5):o;if(!i)return!1;if(typeof t.isBuiltin=="function"&&t.isBuiltin(i)||r.has(i))return!0;let c=i.indexOf("/");return c>0&&r.has(i.slice(0,c))},n=()=>{let o=u?.getStore();return e.config.auditMode===!0&&o?.sandboxActive===!0&&o.trusted!==!0&&!a.isTrustedScopeActive(o.executionId)};if(typeof t.registerHooks=="function"){t.registerHooks({resolve(o,i,c){if(o.startsWith("data:")||o.startsWith("blob:"))throw new Error(`dynamic import of ${o.startsWith("data:")?"data:":"blob:"} URLs is blocked by defense-in-depth`);if(s(o)){let l=`import(${o})`,p=`dynamic import of Node.js builtin '${o}' is blocked during script execution`;if(e.shouldBlock()){let h=e.recordViolation("dynamic_import_builtin",l,p);throw new d(p,h)}n()&&e.recordViolation("dynamic_import_builtin",l,`dynamic import of Node.js builtin '${o}' called (audit mode)`)}return c(o,i)}}),a.importHooksRegistered=!0;return}if(typeof t.register=="function"){let o=["export async function resolve(specifier, context, nextResolve) {",' if (specifier.startsWith("data:") || specifier.startsWith("blob:")) {',' throw new Error("dynamic import of " + (specifier.startsWith("data:") ? "data:" : "blob:") + " URLs is blocked by defense-in-depth");'," }"," return nextResolve(specifier, context);","}"].join(`
5
+ `);t.register(`data:text/javascript,${encodeURIComponent(o)}`),a.importHooksRegistered=!0}}catch(e){console.debug("[DefenseInDepthBox] Could not register import() hooks:",e instanceof Error?e.message:e)}}protectModuleLoad(){if(!g)try{let e=null;if(typeof process<"u"){let o=process.mainModule;o&&typeof o=="object"&&(e=o.constructor)}if(!e&&typeof f<"u"&&typeof f.main<"u"&&(e=f.main.constructor),!e||typeof e._load!="function")return;let t=e._load,r=Object.getOwnPropertyDescriptor(e,"_load");this.originalDescriptors.push({target:e,prop:"_load",descriptor:r});let n=this.createBlockingProxy(t,"Module._load","module_load");Object.defineProperty(e,"_load",{value:n,writable:!0,configurable:!0})}catch(e){this.patchFailures.push("Module._load"),console.debug("[DefenseInDepthBox] Could not protect Module._load:",e instanceof Error?e.message:e)}}protectModuleResolveFilename(){if(!g)try{let e=null;if(typeof process<"u"){let o=process.mainModule;o&&typeof o=="object"&&(e=o.constructor)}if(!e&&typeof f<"u"&&typeof f.main<"u"&&(e=f.main.constructor),!e||typeof e._resolveFilename!="function")return;let t=e._resolveFilename,r=Object.getOwnPropertyDescriptor(e,"_resolveFilename");this.originalDescriptors.push({target:e,prop:"_resolveFilename",descriptor:r});let n=this.createBlockingProxy(t,"Module._resolveFilename","module_resolve_filename");Object.defineProperty(e,"_resolveFilename",{value:n,writable:!0,configurable:!0})}catch(e){this.patchFailures.push("Module._resolveFilename"),console.debug("[DefenseInDepthBox] Could not protect Module._resolveFilename:",e instanceof Error?e.message:e)}}applyPatch(e){let{target:t,prop:r,violationType:s,strategy:n}=e;try{let o=t[r];if(o===void 0)return;let i=Object.getOwnPropertyDescriptor(t,r);if(this.originalDescriptors.push({target:t,prop:r,descriptor:i}),n==="freeze")typeof o=="object"&&o!==null&&Object.freeze(o);else{let c=this.getPathForTarget(t,r),l=typeof o=="function"?this.createBlockingProxy(o,c,s):this.createBlockingObjectProxy(o,c,s,e.allowedKeys);Object.defineProperty(t,r,{value:l,writable:!0,configurable:!0})}}catch(o){let i=this.getPathForTarget(t,r);this.patchFailures.push(i),console.debug(`[DefenseInDepthBox] Could not patch ${i}:`,o instanceof Error?o.message:o)}}restorePatches(){for(let e=this.originalDescriptors.length-1;e>=0;e--){let{target:t,prop:r,descriptor:s}=this.originalDescriptors[e];try{s?Object.defineProperty(t,r,s):delete t[r]}catch(n){let o=this.getPathForTarget(t,r);console.debug(`[DefenseInDepthBox] Could not restore ${o}:`,n instanceof Error?n.message:n)}}this.originalDescriptors=[]}};export{d as a,_ as b};
@@ -0,0 +1,6 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{c as u}from"./chunk-DLL7UR66.js";import{c as l}from"./chunk-XEKXHOPO.js";import{a as d,b as h}from"./chunk-QAYAQNCG.js";var m={name:"bash",summary:"execute shell commands or scripts",usage:"bash [OPTIONS] [SCRIPT_FILE] [ARGUMENTS...]",options:["-c COMMAND execute COMMAND string"," --help display this help and exit"],notes:["Without -c, reads and executes commands from SCRIPT_FILE.","Arguments are passed as $1, $2, etc. to the script.",'$0 is set to the script name (or "bash" with -c).']},F={name:"bash",async execute(t,e){if(h(t))return d(m);if(t[0]==="-c"&&t.length>=2){let s=t[1],n=t[2]||"bash",c=t.slice(3);return r(s,n,c,e)}if(t.length===0){let s=l(e.stdin);return s.trim()?r(s,"bash",[],e):{stdout:"",stderr:"",exitCode:0}}let o=t[0],i=t.slice(1);try{let s=e.fs.resolvePath(e.cwd,o),n=await e.fs.readFile(s);return r(n,o,i,e)}catch{return{stdout:"",stderr:`bash: ${o}: No such file or directory
3
+ `,exitCode:127}}}},P={name:"sh",async execute(t,e){if(h(t))return d({...m,name:"sh",summary:"execute shell commands or scripts (POSIX shell)"});if(t[0]==="-c"&&t.length>=2){let s=t[1],n=t[2]||"sh",c=t.slice(3);return r(s,n,c,e)}if(t.length===0){let s=l(e.stdin);return s.trim()?r(s,"sh",[],e):{stdout:"",stderr:"",exitCode:0}}let o=t[0],i=t.slice(1);try{let s=e.fs.resolvePath(e.cwd,o),n=await e.fs.readFile(s);return r(n,o,i,e)}catch{return{stdout:"",stderr:`sh: ${o}: No such file or directory
4
+ `,exitCode:127}}}};async function r(t,e,o,i){if(!i.exec)return{stdout:"",stderr:`bash: internal error: exec function not available
5
+ `,exitCode:1};let s=u(i.exportedEnv||{},{0:e,"#":String(o.length),"@":o.join(" "),"*":o.join(" ")});o.forEach((a,p)=>{s[String(p+1)]=a});let n=t;if(n.startsWith("#!")){let a=n.indexOf(`
6
+ `);a!==-1&&(n=n.slice(a+1))}return await i.exec(n,{env:s,cwd:i.cwd,stdin:i.stdin,stdinKind:"bytes",signal:i.signal})}var T={name:"bash",flags:[{flag:"-c",type:"value",valueHint:"string"}],stdinType:"text"},v={name:"sh",flags:[{flag:"-c",type:"value",valueHint:"string"}],stdinType:"text"};export{F as a,P as b,T as c,v as d};
@@ -0,0 +1,2 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ function n(e){return e instanceof Error?e.message:String(e)}export{n as a};
@@ -0,0 +1,10 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{a as j}from"./chunk-4I3HOE5Z.js";import{c as y}from"./chunk-XEKXHOPO.js";import{e as v}from"./chunk-BZUGFHVS.js";var w=v(j(),1);function C(){return Object.create(null)}function E(e,r,o){e[r]=o}function b(e){let r=C();for(let o of Object.keys(e)){let s=e[o];(typeof s=="string"||typeof s=="number"||typeof s=="boolean"||s===null)&&(r[o]=s)}return r}function S(e){let r=w.default.parse(e.trim(),{header:!0,dynamicTyping:!0,skipEmptyLines:!0}),o=r.data.map(s=>b(s));return{headers:r.meta.fields||[],data:o}}function I(e,r){return r.length===0?`${e.join(",")}
3
+ `:`${w.default.unparse(r,{columns:e}).replace(/\r\n/g,`
4
+ `)}
5
+ `}async function g(e,r){let o=e.find(p=>!p.startsWith("-")),s;if(!o||o==="-")s=y(r.stdin);else try{let p=r.fs.resolvePath(r.cwd,o);s=await r.fs.readFile(p)}catch{return{headers:[],data:[],error:{stdout:"",stderr:`xan: ${o}: No such file or directory
6
+ `,exitCode:1}}}let{headers:i,data:f}=S(s);return{headers:i,data:f}}async function N(e,r){let o=0,s=[],i=[];for(let t=0;t<e.length;t++){let n=e[t];(n==="-l"||n==="--limit")&&t+1<e.length?o=Number.parseInt(e[++t],10):(n==="-s"||n==="--select")&&t+1<e.length?s=e[++t].split(","):n.startsWith("-")||i.push(n)}let{headers:f,data:p,error:d}=await g(i,r);if(d)return d;let c=s.length>0?s.filter(t=>f.includes(t)):f,l=o>0?p.slice(0,o):p,h=Math.max(...c.map(t=>t.length)),a=[],$="\u2500".repeat(80);for(let t=0;t<l.length;t++){let n=l[t];a.push(`Row n\xB0${t}`),a.push($);for(let u of c){let m=n[u],x=m==null?"":String(m);a.push(`${u.padEnd(h)} ${x}`)}t<l.length-1&&a.push("")}return{stdout:`${a.join(`
7
+ `)}
8
+ `,stderr:"",exitCode:0}}async function A(e,r){let o=0,s=[];for(let t=0;t<e.length;t++){let n=e[t];n==="-n"&&t+1<e.length?o=Number.parseInt(e[++t],10):n.startsWith("-")||s.push(n)}let{headers:i,data:f,error:p}=await g(s,r);if(p)return p;let d=o>0?f.slice(0,o):f,c=i.map(t=>t.length);for(let t of d)for(let n=0;n<i.length;n++){let u=String(t[i[n]]??"");c[n]=Math.max(c[n],u.length)}let l=[],h="\u2500",a="\u2502";l.push(`\u250C${c.map(t=>h.repeat(t+2)).join("\u252C")}\u2510`);let $=i.map((t,n)=>` ${t.padEnd(c[n])} `).join(a);l.push(`${a}${$}${a}`),l.push(`\u251C${c.map(t=>h.repeat(t+2)).join("\u253C")}\u2524`);for(let t of d){let n=i.map((u,m)=>` ${String(t[u]??"").padEnd(c[m])} `).join(a);l.push(`${a}${n}${a}`)}return l.push(`\u2514${c.map(t=>h.repeat(t+2)).join("\u2534")}\u2518`),{stdout:`${l.join(`
9
+ `)}
10
+ `,stderr:"",exitCode:0}}export{C as a,E as b,b as c,S as d,I as e,g as f,N as g,A as h};
@@ -0,0 +1,8 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{a as w,b as v,c as $}from"./chunk-QAYAQNCG.js";var R={name:"chmod",summary:"change file mode bits",usage:"chmod [OPTIONS] MODE FILE...",options:["-R change files recursively","-v output a diagnostic for every file processed"," --help display this help and exit"]},C={name:"chmod",async execute(s,a){if(v(s))return w(R);if(s.length<2)return{stdout:"",stderr:`chmod: missing operand
3
+ `,exitCode:1};let e=!1,c=!1,i=0;for(;i<s.length&&s[i].startsWith("-");){let t=s[i];if(t==="-R"||t==="--recursive")e=!0,i++;else if(t==="-v"||t==="--verbose")c=!0,i++;else if(t==="--"){i++;break}else{if(/^[+-]?[rwxugo]+/.test(t)||/^\d+$/.test(t))break;if(/^-[Rv]+$/.test(t)){t.includes("R")&&(e=!0),t.includes("v")&&(c=!0),i++;continue}return $("chmod",t)}}if(s.length-i<2)return{stdout:"",stderr:`chmod: missing operand
4
+ `,exitCode:1};let n=s[i],l=s.slice(i+1),r=/^[0-7]+$/.test(n),o;if(r)o=parseInt(n,8);else try{p(n,420)}catch{return{stdout:"",stderr:`chmod: invalid mode: '${n}'
5
+ `,exitCode:1}}let f="",d="",u=!1;for(let t of l){let h=a.fs.resolvePath(a.cwd,t);try{let m;if(r&&o!==void 0)m=o;else{let g=await a.fs.stat(h);m=p(n,g.mode)}if(await a.fs.chmod(h,m),c&&(f+=`mode of '${t}' changed to ${m.toString(8).padStart(4,"0")}
6
+ `),e&&(await a.fs.stat(h)).isDirectory){let I=await y(a,h,r?o:void 0,r?void 0:n,c);f+=I}}catch{d+=`chmod: cannot access '${t}': No such file or directory
7
+ `,u=!0}}return{stdout:f,stderr:d,exitCode:u?1:0}}};async function y(s,a,e,c,i){let n="",l=await s.fs.readdir(a);for(let r of l){let o=a==="/"?`/${r}`:`${a}/${r}`,f;if(e!==void 0)f=e;else if(c!==void 0){let u=await s.fs.stat(o);f=p(c,u.mode)}else f=420;await s.fs.chmod(o,f),i&&(n+=`mode of '${o}' changed to ${f.toString(8).padStart(4,"0")}
8
+ `),(await s.fs.stat(o)).isDirectory&&(n+=await y(s,o,e,c,i))}return n}function p(s,a=420){if(/^[0-7]+$/.test(s))return parseInt(s,8);let e=a&4095,c=s.split(",");for(let i of c){let n=i.match(/^([ugoa]*)([+\-=])([rwxXst]*)$/);if(!n)throw new Error(`Invalid mode: ${s}`);let l=n[1]||"a",r=n[2],o=n[3];(l==="a"||l==="")&&(l="ugo");let f=0;o.includes("r")&&(f|=4),o.includes("w")&&(f|=2),(o.includes("x")||o.includes("X"))&&(f|=1);let d=0;o.includes("s")&&(l.includes("u")&&(d|=2048),l.includes("g")&&(d|=1024)),o.includes("t")&&(d|=512);for(let u of l){let t=0;u==="u"?t=6:u==="g"?t=3:u==="o"&&(t=0);let h=f<<t;r==="+"?e|=h:r==="-"?e&=~h:r==="="&&(e&=~(7<<t),e|=h)}r==="+"?e|=d:r==="-"?e&=~d:r==="="&&(o.includes("s")&&(l.includes("u")&&(e&=-2049,e|=d&2048),l.includes("g")&&(e&=-1025,e|=d&1024)),o.includes("t")&&(e&=-513,e|=d&512))}return e}var O={name:"chmod",flags:[{flag:"-R",type:"boolean"},{flag:"-v",type:"boolean"}],needsArgs:!0,minArgs:2};export{C as a,O as b};
@@ -0,0 +1,2 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ var u=new TextEncoder,a=new TextDecoder;function o(r,i){if(r instanceof Uint8Array)return r;if(i==="base64")return Uint8Array.from(atob(r),t=>t.charCodeAt(0));if(i==="hex"){let t=new Uint8Array(r.length/2);for(let n=0;n<r.length;n+=2)t[n/2]=parseInt(r.slice(n,n+2),16);return t}if(i==="binary"||i==="latin1"){if(r.length<=65536)return Uint8Array.from(r,e=>e.charCodeAt(0));let n=new Uint8Array(r.length);for(let e=0;e<r.length;e++)n[e]=r.charCodeAt(e);return n}return u.encode(r)}function h(r,i){if(i==="base64"){if(typeof Buffer<"u")return Buffer.from(r).toString("base64");let t=65536,n="";for(let e=0;e<r.length;e+=t){let f=r.subarray(e,e+t);n+=String.fromCharCode(...f)}return btoa(n)}if(i==="hex")return Array.from(r).map(t=>t.toString(16).padStart(2,"0")).join("");if(i==="binary"||i==="latin1"){if(typeof Buffer<"u")return Buffer.from(r).toString(i);let t=65536;if(r.length<=t)return String.fromCharCode(...r);let n="";for(let e=0;e<r.length;e+=t){let f=r.subarray(e,e+t);n+=String.fromCharCode(...f)}return n}return a.decode(r)}function l(r){if(r!=null)return typeof r=="string"?r:r.encoding??void 0}export{o as a,h as b,l as c};
@@ -0,0 +1,6 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{a as h,b as u,c as k}from"./chunk-QAYAQNCG.js";var m={name:"readlink",summary:"print resolved symbolic links or canonical file names",usage:"readlink [OPTIONS] FILE...",options:["-f canonicalize by following every symlink in every component of the given name recursively"," --help display this help and exit"]},y={name:"readlink",async execute(a,l){if(u(a))return h(m);let i=!1,n=0;for(;n<a.length&&a[n].startsWith("-");){let t=a[n];if(t==="-f"||t==="--canonicalize")i=!0,n++;else if(t==="--"){n++;break}else return k("readlink",t)}let f=a.slice(n);if(f.length===0)return{stdout:"",stderr:`readlink: missing operand
3
+ `,exitCode:1};let r="",d=!1;for(let t of f){let s=l.fs.resolvePath(l.cwd,t);try{if(i){let e=s,c=new Set;for(;!c.has(e);){c.add(e);try{let o=await l.fs.readlink(e);if(o.startsWith("/"))e=o;else{let p=e.substring(0,e.lastIndexOf("/"))||"/";e=l.fs.resolvePath(p,o)}}catch{break}}r+=`${e}
4
+ `}else{let e=await l.fs.readlink(s);r+=`${e}
5
+ `}}catch{i?r+=`${s}
6
+ `:d=!0}}return{stdout:r,stderr:"",exitCode:d?1:0}}},w={name:"readlink",flags:[{flag:"-f",type:"boolean"},{flag:"-e",type:"boolean"}],needsArgs:!0};export{y as a,w as b};
@@ -0,0 +1,23 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{a as Ue,b as Re,c as ge}from"./chunk-QAYAQNCG.js";import{a as re,c as L,e as Le}from"./chunk-BZUGFHVS.js";var _e=L(ye=>{ye.read=function(i,e,t,r,n){var o,s,a=n*8-r-1,m=(1<<a)-1,f=m>>1,c=-7,p=t?n-1:0,u=t?-1:1,d=i[e+p];for(p+=u,o=d&(1<<-c)-1,d>>=-c,c+=a;c>0;o=o*256+i[e+p],p+=u,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=r;c>0;s=s*256+i[e+p],p+=u,c-=8);if(o===0)o=1-f;else{if(o===m)return s?NaN:(d?-1:1)*(1/0);s=s+Math.pow(2,r),o=o-f}return(d?-1:1)*s*Math.pow(2,o-r)};ye.write=function(i,e,t,r,n,o){var s,a,m,f=o*8-n-1,c=(1<<f)-1,p=c>>1,u=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,B=r?1:-1,k=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=c):(s=Math.floor(Math.log(e)/Math.LN2),e*(m=Math.pow(2,-s))<1&&(s--,m*=2),s+p>=1?e+=u/m:e+=u*Math.pow(2,1-p),e*m>=2&&(s++,m/=2),s+p>=c?(a=0,s=c):s+p>=1?(a=(e*m-1)*Math.pow(2,n),s=s+p):(a=e*Math.pow(2,p-1)*Math.pow(2,n),s=0));n>=8;i[t+d]=a&255,d+=B,a/=256,n-=8);for(s=s<<n|a,f+=n;f>0;i[t+d]=s&255,d+=B,s/=256,f-=8);i[t+d-B]|=k*128}});var Je=L((cn,He)=>{var H=1e3,J=H*60,X=J*60,$=X*24,qt=$*7,Ht=$*365.25;He.exports=function(i,e){e=e||{};var t=typeof i;if(t==="string"&&i.length>0)return Jt(i);if(t==="number"&&isFinite(i))return e.long?Qt(i):Xt(i);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(i))};function Jt(i){if(i=String(i),!(i.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(i);if(e){var t=parseFloat(e[1]),r=(e[2]||"ms").toLowerCase();switch(r){case"years":case"year":case"yrs":case"yr":case"y":return t*Ht;case"weeks":case"week":case"w":return t*qt;case"days":case"day":case"d":return t*$;case"hours":case"hour":case"hrs":case"hr":case"h":return t*X;case"minutes":case"minute":case"mins":case"min":case"m":return t*J;case"seconds":case"second":case"secs":case"sec":case"s":return t*H;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}}}function Xt(i){var e=Math.abs(i);return e>=$?Math.round(i/$)+"d":e>=X?Math.round(i/X)+"h":e>=J?Math.round(i/J)+"m":e>=H?Math.round(i/H)+"s":i+"ms"}function Qt(i){var e=Math.abs(i);return e>=$?fe(i,e,$,"day"):e>=X?fe(i,e,X,"hour"):e>=J?fe(i,e,J,"minute"):e>=H?fe(i,e,H,"second"):i+" ms"}function fe(i,e,t,r){var n=e>=t*1.5;return Math.round(i/t)+" "+r+(n?"s":"")}});var Ce=L((fn,Xe)=>{function Yt(i){t.debug=t,t.default=t,t.coerce=m,t.disable=s,t.enable=n,t.enabled=a,t.humanize=Je(),t.destroy=f,Object.keys(i).forEach(c=>{t[c]=i[c]}),t.names=[],t.skips=[],t.formatters={};function e(c){let p=0;for(let u=0;u<c.length;u++)p=(p<<5)-p+c.charCodeAt(u),p|=0;return t.colors[Math.abs(p)%t.colors.length]}t.selectColor=e;function t(c){let p,u=null,d,B;function k(...E){if(!k.enabled)return;let P=k,te=Number(new Date),It=te-(p||te);P.diff=It,P.prev=p,P.curr=te,p=te,E[0]=t.coerce(E[0]),typeof E[0]!="string"&&E.unshift("%O");let ie=0;E[0]=E[0].replace(/%([a-zA-Z%])/g,(he,Bt)=>{if(he==="%%")return"%";ie++;let Me=t.formatters[Bt];if(typeof Me=="function"){let Dt=E[ie];he=Me.call(P,Dt),E.splice(ie,1),ie--}return he}),t.formatArgs.call(P,E),(P.log||t.log).apply(P,E)}return k.namespace=c,k.useColors=t.useColors(),k.color=t.selectColor(c),k.extend=r,k.destroy=t.destroy,Object.defineProperty(k,"enabled",{enumerable:!0,configurable:!1,get:()=>u!==null?u:(d!==t.namespaces&&(d=t.namespaces,B=t.enabled(c)),B),set:E=>{u=E}}),typeof t.init=="function"&&t.init(k),k}function r(c,p){let u=t(this.namespace+(typeof p>"u"?":":p)+c);return u.log=this.log,u}function n(c){t.save(c),t.namespaces=c,t.names=[],t.skips=[];let p=(typeof c=="string"?c:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let u of p)u[0]==="-"?t.skips.push(u.slice(1)):t.names.push(u)}function o(c,p){let u=0,d=0,B=-1,k=0;for(;u<c.length;)if(d<p.length&&(p[d]===c[u]||p[d]==="*"))p[d]==="*"?(B=d,k=u,d++):(u++,d++);else if(B!==-1)d=B+1,k++,u=k;else return!1;for(;d<p.length&&p[d]==="*";)d++;return d===p.length}function s(){let c=[...t.names,...t.skips.map(p=>"-"+p)].join(",");return t.enable(""),c}function a(c){for(let p of t.skips)if(o(c,p))return!1;for(let p of t.names)if(o(c,p))return!0;return!1}function m(c){return c instanceof Error?c.stack||c.message:c}function f(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return t.enable(t.load()),t}Xe.exports=Yt});var Qe=L((F,pe)=>{F.formatArgs=ei;F.save=ti;F.load=ii;F.useColors=Kt;F.storage=ri();F.destroy=(()=>{let i=!1;return()=>{i||(i=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();F.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function Kt(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let i;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(i=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(i[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function ei(i){if(i[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+i[0]+(this.useColors?"%c ":" ")+"+"+pe.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;i.splice(1,0,e,"color: inherit");let t=0,r=0;i[0].replace(/%[a-zA-Z%]/g,n=>{n!=="%%"&&(t++,n==="%c"&&(r=t))}),i.splice(r,0,e)}F.log=console.debug||console.log||(()=>{});function ti(i){try{i?F.storage.setItem("debug",i):F.storage.removeItem("debug")}catch{}}function ii(){let i;try{i=F.storage.getItem("debug")||F.storage.getItem("DEBUG")}catch{}return!i&&typeof process<"u"&&"env"in process&&(i=process.env.DEBUG),i}function ri(){try{return localStorage}catch{}}pe.exports=Ce()(F);var{formatters:ni}=pe.exports;ni.j=function(i){try{return JSON.stringify(i)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var Ke=L((pn,Ye)=>{"use strict";Ye.exports=(i,e=process.argv)=>{let t=i.startsWith("-")?"":i.length===1?"-":"--",r=e.indexOf(t+i),n=e.indexOf("--");return r!==-1&&(n===-1||r<n)}});var it=L((mn,tt)=>{"use strict";var oi=re("os"),et=re("tty"),T=Ke(),{env:w}=process,U;T("no-color")||T("no-colors")||T("color=false")||T("color=never")?U=0:(T("color")||T("colors")||T("color=true")||T("color=always"))&&(U=1);"FORCE_COLOR"in w&&(w.FORCE_COLOR==="true"?U=1:w.FORCE_COLOR==="false"?U=0:U=w.FORCE_COLOR.length===0?1:Math.min(parseInt(w.FORCE_COLOR,10),3));function Se(i){return i===0?!1:{level:i,hasBasic:!0,has256:i>=2,has16m:i>=3}}function Fe(i,e){if(U===0)return 0;if(T("color=16m")||T("color=full")||T("color=truecolor"))return 3;if(T("color=256"))return 2;if(i&&!e&&U===void 0)return 0;let t=U||0;if(w.TERM==="dumb")return t;if(process.platform==="win32"){let r=oi.release().split(".");return Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in w)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(r=>r in w)||w.CI_NAME==="codeship"?1:t;if("TEAMCITY_VERSION"in w)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(w.TEAMCITY_VERSION)?1:0;if(w.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in w){let r=parseInt((w.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(w.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(w.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(w.TERM)||"COLORTERM"in w?1:t}function si(i){let e=Fe(i,i&&i.isTTY);return Se(e)}tt.exports={supportsColor:si,stdout:Se(Fe(!0,et.isatty(1))),stderr:Se(Fe(!0,et.isatty(2)))}});var nt=L((y,ue)=>{var ai=re("tty"),me=re("util");y.init=di;y.log=mi;y.formatArgs=fi;y.save=ui;y.load=li;y.useColors=ci;y.destroy=me.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");y.colors=[6,2,3,4,5,1];try{let i=it();i&&(i.stderr||i).level>=2&&(y.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}y.inspectOpts=Object.keys(process.env).filter(i=>/^debug_/i.test(i)).reduce((i,e)=>{let t=e.substring(6).toLowerCase().replace(/_([a-z])/g,(n,o)=>o.toUpperCase()),r=process.env[e];return/^(yes|on|true|enabled)$/i.test(r)?r=!0:/^(no|off|false|disabled)$/i.test(r)?r=!1:r==="null"?r=null:r=Number(r),i[t]=r,i},{});function ci(){return"colors"in y.inspectOpts?!!y.inspectOpts.colors:ai.isatty(process.stderr.fd)}function fi(i){let{namespace:e,useColors:t}=this;if(t){let r=this.color,n="\x1B[3"+(r<8?r:"8;5;"+r),o=` ${n};1m${e} \x1B[0m`;i[0]=o+i[0].split(`
3
+ `).join(`
4
+ `+o),i.push(n+"m+"+ue.exports.humanize(this.diff)+"\x1B[0m")}else i[0]=pi()+e+" "+i[0]}function pi(){return y.inspectOpts.hideDate?"":new Date().toISOString()+" "}function mi(...i){return process.stderr.write(me.formatWithOptions(y.inspectOpts,...i)+`
5
+ `)}function ui(i){i?process.env.DEBUG=i:delete process.env.DEBUG}function li(){return process.env.DEBUG}function di(i){i.inspectOpts={};let e=Object.keys(y.inspectOpts);for(let t=0;t<e.length;t++)i.inspectOpts[e[t]]=y.inspectOpts[e[t]]}ue.exports=Ce()(y);var{formatters:rt}=ue.exports;rt.o=function(i){return this.inspectOpts.colors=this.useColors,me.inspect(i,this.inspectOpts).split(`
6
+ `).map(e=>e.trim()).join(" ")};rt.O=function(i){return this.inspectOpts.colors=this.useColors,me.inspect(i,this.inspectOpts)}});var ot=L((un,Ee)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?Ee.exports=Qe():Ee.exports=nt()});var Ot="End-Of-Stream",l=class extends Error{constructor(){super(Ot),this.name="EndOfStreamError"}},N=class extends Error{constructor(e="The operation was aborted"){super(e),this.name="AbortError"}};var j=class{constructor(){this.endOfStream=!1,this.interrupted=!1,this.peekQueue=[]}async peek(e,t=!1){let r=await this.read(e,t);return this.peekQueue.push(e.subarray(0,r)),r}async read(e,t=!1){if(e.length===0)return 0;let r=this.readFromPeekBuffer(e);if(this.endOfStream||(r+=await this.readRemainderFromStream(e.subarray(r),t)),r===0&&!t)throw new l;return r}readFromPeekBuffer(e){let t=e.length,r=0;for(;this.peekQueue.length>0&&t>0;){let n=this.peekQueue.pop();if(!n)throw new Error("peekData should be defined");let o=Math.min(n.length,t);e.set(n.subarray(0,o),r),r+=o,t-=o,o<n.length&&this.peekQueue.push(n.subarray(o))}return r}async readRemainderFromStream(e,t){let r=0;for(;r<e.length&&!this.endOfStream;){if(this.interrupted)throw new N;let n=await this.readFromStream(e.subarray(r),t);if(n===0)break;r+=n}if(!t&&r<e.length)throw new l;return r}};var ne=class extends j{constructor(e){super(),this.reader=e}async abort(){return this.close()}async close(){this.reader.releaseLock()}};var Q=class extends ne{async readFromStream(e,t){if(e.length===0)return 0;let r=await this.reader.read(new Uint8Array(e.length),{min:t?void 0:e.length});return r.done&&(this.endOfStream=r.done),r.value?(e.set(r.value),r.value.length):0}};var Z=class extends j{constructor(e){super(),this.reader=e,this.buffer=null}writeChunk(e,t){let r=Math.min(t.length,e.length);return e.set(t.subarray(0,r)),r<t.length?this.buffer=t.subarray(r):this.buffer=null,r}async readFromStream(e,t){if(e.length===0)return 0;let r=0;for(this.buffer&&(r+=this.writeChunk(e,this.buffer));r<e.length&&!this.endOfStream;){let n=await this.reader.read();if(n.done){this.endOfStream=!0;break}n.value&&(r+=this.writeChunk(e.subarray(r),n.value))}if(!t&&r===0&&this.endOfStream)throw new l;return r}abort(){return this.interrupted=!0,this.reader.cancel()}async close(){await this.abort(),this.reader.releaseLock()}};function we(i){try{let e=i.getReader({mode:"byob"});return e instanceof ReadableStreamDefaultReader?new Z(e):new Q(e)}catch(e){if(e instanceof TypeError)return new Z(i.getReader());throw e}}var A=class{constructor(e){this.numBuffer=new Uint8Array(8),this.position=0,this.onClose=e?.onClose,e?.abortSignal&&e.abortSignal.addEventListener("abort",()=>{this.abort()})}async readToken(e,t=this.position){let r=new Uint8Array(e.len);if(await this.readBuffer(r,{position:t})<e.len)throw new l;return e.get(r,0)}async peekToken(e,t=this.position){let r=new Uint8Array(e.len);if(await this.peekBuffer(r,{position:t})<e.len)throw new l;return e.get(r,0)}async readNumber(e){if(await this.readBuffer(this.numBuffer,{length:e.len})<e.len)throw new l;return e.get(this.numBuffer,0)}async peekNumber(e){if(await this.peekBuffer(this.numBuffer,{length:e.len})<e.len)throw new l;return e.get(this.numBuffer,0)}async ignore(e){if(e<0)throw new RangeError("ignore length must be \u2265 0 bytes");if(this.fileInfo.size!==void 0){let t=this.fileInfo.size-this.position;if(e>t)return this.position+=t,t}return this.position+=e,e}async close(){await this.abort(),await this.onClose?.()}normalizeOptions(e,t){if(!this.supportsRandomAccess()&&t&&t.position!==void 0&&t.position<this.position)throw new Error("`options.position` must be equal or greater than `tokenizer.position`");return{mayBeLess:!1,offset:0,length:e.length,position:this.position,...t}}abort(){return Promise.resolve()}};var Mt=256e3,oe=class extends A{constructor(e,t){super(t),this.streamReader=e,this.fileInfo=t?.fileInfo??{}}async readBuffer(e,t){let r=this.normalizeOptions(e,t),n=r.position-this.position;if(n>0)return await this.ignore(n),this.readBuffer(e,t);if(n<0)throw new Error("`options.position` must be equal or greater than `tokenizer.position`");if(r.length===0)return 0;let o=await this.streamReader.read(e.subarray(0,r.length),r.mayBeLess);if(this.position+=o,(!t||!t.mayBeLess)&&o<r.length)throw new l;return o}async peekBuffer(e,t){let r=this.normalizeOptions(e,t),n=0;if(r.position){let o=r.position-this.position;if(o>0){let s=new Uint8Array(r.length+o);return n=await this.peekBuffer(s,{mayBeLess:r.mayBeLess}),e.set(s.subarray(o)),n-o}if(o<0)throw new Error("Cannot peek from a negative offset in a stream")}if(r.length>0){try{n=await this.streamReader.peek(e.subarray(0,r.length),r.mayBeLess)}catch(o){if(t?.mayBeLess&&o instanceof l)return 0;throw o}if(!r.mayBeLess&&n<r.length)throw new l}return n}async ignore(e){if(e<0)throw new RangeError("ignore length must be \u2265 0 bytes");let t=Math.min(Mt,e),r=new Uint8Array(t),n=0;for(;n<e;){let o=e-n,s=await this.readBuffer(r,{length:Math.min(t,o)});if(s<0)return s;n+=s}return n}abort(){return this.streamReader.abort()}async close(){return this.streamReader.close()}supportsRandomAccess(){return!1}};var se=class extends A{constructor(e,t){super(t),this.uint8Array=e,this.fileInfo={...t?.fileInfo??{},size:e.length}}async readBuffer(e,t){t?.position&&(this.position=t.position);let r=await this.peekBuffer(e,t);return this.position+=r,r}async peekBuffer(e,t){let r=this.normalizeOptions(e,t),n=Math.min(this.uint8Array.length-r.position,r.length);if(!r.mayBeLess&&n<r.length)throw new l;return e.set(this.uint8Array.subarray(r.position,r.position+n)),n}close(){return super.close()}supportsRandomAccess(){return!0}setPosition(e){this.position=e}};var ae=class extends A{constructor(e,t){super(t),this.blob=e,this.fileInfo={...t?.fileInfo??{},size:e.size,mimeType:e.type}}async readBuffer(e,t){t?.position&&(this.position=t.position);let r=await this.peekBuffer(e,t);return this.position+=r,r}async peekBuffer(e,t){let r=this.normalizeOptions(e,t),n=Math.min(this.blob.size-r.position,r.length);if(!r.mayBeLess&&n<r.length)throw new l;let o=await this.blob.slice(r.position,r.position+n).arrayBuffer();return e.set(new Uint8Array(o)),n}close(){return super.close()}supportsRandomAccess(){return!0}setPosition(e){this.position=e}};function Pe(i,e){let t=we(i),r=e??{},n=r.onClose;return r.onClose=async()=>{if(await t.close(),n)return n()},new oe(t,r)}function Ne(i,e){return new se(i,e)}function je(i,e){return new ae(i,e)}import{open as Ut}from"node:fs/promises";var V=class i extends A{static async fromFile(e){let t=await Ut(e,"r"),r=await t.stat();return new i(t,{fileInfo:{path:e,size:r.size}})}constructor(e,t){super(t),this.fileHandle=e,this.fileInfo=t.fileInfo}async readBuffer(e,t){let r=this.normalizeOptions(e,t);if(this.position=r.position,r.length===0)return 0;let n=await this.fileHandle.read(e,0,r.length,r.position);if(this.position+=n.bytesRead,n.bytesRead<r.length&&(!t||!t.mayBeLess))throw new l;return n.bytesRead}async peekBuffer(e,t){let r=this.normalizeOptions(e,t),n=await this.fileHandle.read(e,0,r.length,r.position);if(!r.mayBeLess&&n.bytesRead<r.length)throw new l;return n.bytesRead}async close(){return await this.fileHandle.close(),super.close()}setPosition(e){this.position=e}supportsRandomAccess(){return!0}};var tn=V.fromFile;var Ge=Le(_e(),1);var $e={128:"\u20AC",130:"\u201A",131:"\u0192",132:"\u201E",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02C6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017D",145:"\u2018",146:"\u2019",147:"\u201C",148:"\u201D",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02DC",153:"\u2122",154:"\u0161",155:"\u203A",156:"\u0153",158:"\u017E",159:"\u0178"},Pt={};for(let[i,e]of Object.entries($e))Pt[e]=Number.parseInt(i,10);var ce;function Nt(){if(!(typeof globalThis.TextDecoder>"u"))return ce??(ce=new globalThis.TextDecoder("utf-8"))}var q=32*1024,I=65533;function We(i,e="utf-8"){switch(e.toLowerCase()){case"utf-8":case"utf8":{let t=Nt();return t?t.decode(i):_t(i)}case"utf-16le":return $t(i);case"us-ascii":case"ascii":return Wt(i);case"latin1":case"iso-8859-1":return Gt(i);case"windows-1252":return Zt(i);default:throw new RangeError(`Encoding '${e}' not supported`)}}function ke(i,e){e.length!==0&&(i.push(String.fromCharCode.apply(null,e)),e.length=0)}function g(i,e,t){e.push(t),e.length>=q&&ke(i,e)}function jt(i,e,t){if(t<=65535){g(i,e,t);return}t-=65536,g(i,e,55296+(t>>10)),g(i,e,56320+(t&1023))}function _t(i){let e=[],t=[],r=0;for(i.length>=3&&i[0]===239&&i[1]===187&&i[2]===191&&(r=3);r<i.length;){let n=i[r];if(n<=127){g(e,t,n),r++;continue}if(n<194||n>244){g(e,t,I),r++;continue}if(n<=223){if(r+1>=i.length){g(e,t,I),r++;continue}let c=i[r+1];if((c&192)!==128){g(e,t,I),r++;continue}let p=(n&31)<<6|c&63;g(e,t,p),r+=2;continue}if(n<=239){if(r+2>=i.length){g(e,t,I),r++;continue}let c=i[r+1],p=i[r+2];if(!((c&192)===128&&(p&192)===128&&!(n===224&&c<160)&&!(n===237&&c>=160))){g(e,t,I),r++;continue}let d=(n&15)<<12|(c&63)<<6|p&63;g(e,t,d),r+=3;continue}if(r+3>=i.length){g(e,t,I),r++;continue}let o=i[r+1],s=i[r+2],a=i[r+3];if(!((o&192)===128&&(s&192)===128&&(a&192)===128&&!(n===240&&o<144)&&!(n===244&&o>143))){g(e,t,I),r++;continue}let f=(n&7)<<18|(o&63)<<12|(s&63)<<6|a&63;jt(e,t,f),r+=4}return ke(e,t),e.join("")}function $t(i){let e=[],t=[],r=i.length,n=0;for(;n+1<r;){let o=i[n]|i[n+1]<<8;if(n+=2,o>=55296&&o<=56319){if(n+1<r){let s=i[n]|i[n+1]<<8;s>=56320&&s<=57343?(g(e,t,o),g(e,t,s),n+=2):g(e,t,I)}else g(e,t,I);continue}if(o>=56320&&o<=57343){g(e,t,I);continue}g(e,t,o)}return n<r&&g(e,t,I),ke(e,t),e.join("")}function Wt(i){let e=[];for(let t=0;t<i.length;t+=q){let r=Math.min(i.length,t+q),n=new Array(r-t);for(let o=t,s=0;o<r;o++,s++)n[s]=i[o]&127;e.push(String.fromCharCode.apply(null,n))}return e.join("")}function Gt(i){let e=[];for(let t=0;t<i.length;t+=q){let r=Math.min(i.length,t+q),n=new Array(r-t);for(let o=t,s=0;o<r;o++,s++)n[s]=i[o];e.push(String.fromCharCode.apply(null,n))}return e.join("")}function Zt(i){let e=[],t="";for(let r=0;r<i.length;r++){let n=i[r],o=n>=128&&n<=159?$e[n]:void 0;t+=o??String.fromCharCode(n),t.length>=q&&(e.push(t),t="")}return t&&e.push(t),e.join("")}function C(i){return new DataView(i.buffer,i.byteOffset)}var Ze={len:1,get(i,e){return C(i).getUint8(e)},put(i,e,t){return C(i).setUint8(e,t),e+1}},h={len:2,get(i,e){return C(i).getUint16(e,!0)},put(i,e,t){return C(i).setUint16(e,t,!0),e+2}},_={len:2,get(i,e){return C(i).getUint16(e)},put(i,e,t){return C(i).setUint16(e,t),e+2}};var x={len:4,get(i,e){return C(i).getUint32(e,!0)},put(i,e,t){return C(i).setUint32(e,t,!0),e+4}},be={len:4,get(i,e){return C(i).getUint32(e)},put(i,e,t){return C(i).setUint32(e,t),e+4}};var Ve={len:4,get(i,e){return C(i).getInt32(e)},put(i,e,t){return C(i).setInt32(e,t),e+4}};var qe={len:8,get(i,e){return C(i).getBigUint64(e,!0)},put(i,e,t){return C(i).setBigUint64(e,t,!0),e+8}};var S=class{constructor(e,t){this.len=e,this.encoding=t}get(e,t=0){let r=e.subarray(t,t+this.len);return We(r,this.encoding)}};var ft=Le(ot(),1);var W={LocalFileHeader:67324752,DataDescriptor:134695760,CentralFileHeader:33639248,EndOfCentralDirectory:101010256},Te={get(i){return{signature:x.get(i,0),compressedSize:x.get(i,8),uncompressedSize:x.get(i,12)}},len:16},st={get(i){let e=h.get(i,6);return{signature:x.get(i,0),minVersion:h.get(i,4),dataDescriptor:!!(e&8),compressedMethod:h.get(i,8),compressedSize:x.get(i,18),uncompressedSize:x.get(i,22),filenameLength:h.get(i,26),extraFieldLength:h.get(i,28),filename:null}},len:30},at={get(i){return{signature:x.get(i,0),nrOfThisDisk:h.get(i,4),nrOfThisDiskWithTheStart:h.get(i,6),nrOfEntriesOnThisDisk:h.get(i,8),nrOfEntriesOfSize:h.get(i,10),sizeOfCd:x.get(i,12),offsetOfStartOfCd:x.get(i,16),zipFileCommentLength:h.get(i,20)}},len:22},ct={get(i){let e=h.get(i,8);return{signature:x.get(i,0),minVersion:h.get(i,6),dataDescriptor:!!(e&8),compressedMethod:h.get(i,10),compressedSize:x.get(i,20),uncompressedSize:x.get(i,24),filenameLength:h.get(i,28),extraFieldLength:h.get(i,30),fileCommentLength:h.get(i,32),relativeOffsetOfLocalHeader:x.get(i,42),filename:null}},len:46};function pt(i){let e=new Uint8Array(x.len);return x.put(e,0,i),e}var D=(0,ft.default)("tokenizer:inflate"),ve=256*1024,xi=pt(W.DataDescriptor),le=pt(W.EndOfCentralDirectory),G=class i{constructor(e){this.tokenizer=e,this.syncBuffer=new Uint8Array(ve)}async isZip(){return await this.peekSignature()===W.LocalFileHeader}peekSignature(){return this.tokenizer.peekToken(x)}async findEndOfCentralDirectoryLocator(){let e=this.tokenizer,t=Math.min(16*1024,e.fileInfo.size),r=this.syncBuffer.subarray(0,t);await this.tokenizer.readBuffer(r,{position:e.fileInfo.size-t});for(let n=r.length-4;n>=0;n--)if(r[n]===le[0]&&r[n+1]===le[1]&&r[n+2]===le[2]&&r[n+3]===le[3])return e.fileInfo.size-t+n;return-1}async readCentralDirectory(){if(!this.tokenizer.supportsRandomAccess()){D("Cannot reading central-directory without random-read support");return}D("Reading central-directory...");let e=this.tokenizer.position,t=await this.findEndOfCentralDirectoryLocator();if(t>0){D("Central-directory 32-bit signature found");let r=await this.tokenizer.readToken(at,t),n=[];this.tokenizer.setPosition(r.offsetOfStartOfCd);for(let o=0;o<r.nrOfEntriesOfSize;++o){let s=await this.tokenizer.readToken(ct);if(s.signature!==W.CentralFileHeader)throw new Error("Expected Central-File-Header signature");s.filename=await this.tokenizer.readToken(new S(s.filenameLength,"utf-8")),await this.tokenizer.ignore(s.extraFieldLength),await this.tokenizer.ignore(s.fileCommentLength),n.push(s),D(`Add central-directory file-entry: n=${o+1}/${n.length}: filename=${n[o].filename}`)}return this.tokenizer.setPosition(e),n}this.tokenizer.setPosition(e)}async unzip(e){let t=await this.readCentralDirectory();if(t)return this.iterateOverCentralDirectory(t,e);let r=!1;do{let n=await this.readLocalFileHeader();if(!n)break;let o=e(n);r=!!o.stop;let s;if(await this.tokenizer.ignore(n.extraFieldLength),n.dataDescriptor&&n.compressedSize===0){let a=[],m=ve;D("Compressed-file-size unknown, scanning for next data-descriptor-signature....");let f=-1;for(;f<0&&m===ve;){m=await this.tokenizer.peekBuffer(this.syncBuffer,{mayBeLess:!0}),f=hi(this.syncBuffer.subarray(0,m),xi);let c=f>=0?f:m;if(o.handler){let p=new Uint8Array(c);await this.tokenizer.readBuffer(p),a.push(p)}else await this.tokenizer.ignore(c)}D(`Found data-descriptor-signature at pos=${this.tokenizer.position}`),o.handler&&await this.inflate(n,gi(a),o.handler)}else o.handler?(D(`Reading compressed-file-data: ${n.compressedSize} bytes`),s=new Uint8Array(n.compressedSize),await this.tokenizer.readBuffer(s),await this.inflate(n,s,o.handler)):(D(`Ignoring compressed-file-data: ${n.compressedSize} bytes`),await this.tokenizer.ignore(n.compressedSize));if(D(`Reading data-descriptor at pos=${this.tokenizer.position}`),n.dataDescriptor&&(await this.tokenizer.readToken(Te)).signature!==134695760)throw new Error(`Expected data-descriptor-signature at position ${this.tokenizer.position-Te.len}`)}while(!r)}async iterateOverCentralDirectory(e,t){for(let r of e){let n=t(r);if(n.handler){this.tokenizer.setPosition(r.relativeOffsetOfLocalHeader);let o=await this.readLocalFileHeader();if(o){await this.tokenizer.ignore(o.extraFieldLength);let s=new Uint8Array(r.compressedSize);await this.tokenizer.readBuffer(s),await this.inflate(o,s,n.handler)}}if(n.stop)break}}async inflate(e,t,r){if(e.compressedMethod===0)return r(t);if(e.compressedMethod!==8)throw new Error(`Unsupported ZIP compression method: ${e.compressedMethod}`);D(`Decompress filename=${e.filename}, compressed-size=${t.length}`);let n=await i.decompressDeflateRaw(t);return r(n)}static async decompressDeflateRaw(e){let t=new ReadableStream({start(o){o.enqueue(e),o.close()}}),r=new DecompressionStream("deflate-raw"),n=t.pipeThrough(r);try{let s=await new Response(n).arrayBuffer();return new Uint8Array(s)}catch(o){let s=o instanceof Error?`Failed to deflate ZIP entry: ${o.message}`:"Unknown decompression error in ZIP entry";throw new TypeError(s)}}async readLocalFileHeader(){let e=await this.tokenizer.peekToken(x);if(e===W.LocalFileHeader){let t=await this.tokenizer.readToken(st);return t.filename=await this.tokenizer.readToken(new S(t.filenameLength,"utf-8")),t}if(e===W.CentralFileHeader)return!1;throw e===3759263696?new Error("Encrypted ZIP"):new Error("Unexpected signature")}};function hi(i,e){let t=i.length,r=e.length;if(r>t)return-1;for(let n=0;n<=t-r;n++){let o=!0;for(let s=0;s<r;s++)if(i[n+s]!==e[s]){o=!1;break}if(o)return n}return-1}function gi(i){let e=i.reduce((n,o)=>n+o.length,0),t=new Uint8Array(e),r=0;for(let n of i)t.set(n,r),r+=n.length;return t}var Y=class{constructor(e){this.tokenizer=e}inflate(){let e=this.tokenizer;return new ReadableStream({async pull(t){let r=new Uint8Array(1024),n=await e.readBuffer(r,{mayBeLess:!0});if(n===0){t.close();return}t.enqueue(r.subarray(0,n))}}).pipeThrough(new DecompressionStream("gzip"))}};var Cn={utf8:new globalThis.TextDecoder("utf8")};var Sn=new globalThis.TextEncoder;var Fn=Array.from({length:256},(i,e)=>e.toString(16).padStart(2,"0"));function Ae(i){let{byteLength:e}=i;if(e===6)return i.getUint16(0)*2**32+i.getUint32(2);if(e===5)return i.getUint8(0)*2**32+i.getUint32(1);if(e===4)return i.getUint32(0);if(e===3)return i.getUint8(0)*2**16+i.getUint16(1);if(e===2)return i.getUint16(0);if(e===1)return i.getUint8(0)}function mt(i,e){if(e==="utf-16le"){let t=[];for(let r=0;r<i.length;r++){let n=i.charCodeAt(r);t.push(n&255,n>>8&255)}return t}if(e==="utf-16be"){let t=[];for(let r=0;r<i.length;r++){let n=i.charCodeAt(r);t.push(n>>8&255,n&255)}return t}return[...i].map(t=>t.charCodeAt(0))}function ut(i,e=0){let t=Number.parseInt(new S(6).get(i,148).replace(/\0.*$/,"").trim(),8);if(Number.isNaN(t))return!1;let r=256;for(let n=e;n<e+148;n++)r+=i[n];for(let n=e+156;n<e+512;n++)r+=i[n];return t===r}var lt={get:(i,e)=>i[e+3]&127|i[e+2]<<7|i[e+1]<<14|i[e]<<21,len:4};var dt=["jpg","png","apng","gif","webp","flif","xcf","cr2","cr3","orf","arw","dng","nef","rw2","raf","tif","bmp","icns","jxr","psd","indd","zip","tar","rar","gz","bz2","7z","dmg","mp4","mid","mkv","webm","mov","avi","mpg","mp2","mp3","m4a","oga","ogg","ogv","opus","flac","wav","spx","amr","pdf","epub","elf","macho","exe","swf","rtf","wasm","woff","woff2","eot","ttf","otf","ttc","ico","flv","ps","xz","sqlite","nes","crx","xpi","cab","deb","ar","rpm","Z","lz","cfb","mxf","mts","blend","bpg","docx","pptx","xlsx","3gp","3g2","j2c","jp2","jpm","jpx","mj2","aif","qcp","odt","ods","odp","xml","mobi","heic","cur","ktx","ape","wv","dcm","ics","glb","pcap","dsf","lnk","alias","voc","ac3","m4v","m4p","m4b","f4v","f4p","f4b","f4a","mie","asf","ogm","ogx","mpc","arrow","shp","aac","mp1","it","s3m","xm","skp","avif","eps","lzh","pgp","asar","stl","chm","3mf","zst","jxl","vcf","jls","pst","dwg","parquet","class","arj","cpio","ace","avro","icc","fbx","vsdx","vtt","apk","drc","lz4","potx","xltx","dotx","xltm","ott","ots","otp","odg","otg","xlsm","docm","dotm","potm","pptm","jar","jmp","rm","sav","ppsm","ppsx","tar.gz","reg","dat"],xt=["image/jpeg","image/png","image/gif","image/webp","image/flif","image/x-xcf","image/x-canon-cr2","image/x-canon-cr3","image/tiff","image/bmp","image/vnd.ms-photo","image/vnd.adobe.photoshop","application/x-indesign","application/epub+zip","application/x-xpinstall","application/vnd.ms-powerpoint.slideshow.macroenabled.12","application/vnd.oasis.opendocument.text","application/vnd.oasis.opendocument.spreadsheet","application/vnd.oasis.opendocument.presentation","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/zip","application/x-tar","application/x-rar-compressed","application/gzip","application/x-bzip2","application/x-7z-compressed","application/x-apple-diskimage","application/vnd.apache.arrow.file","video/mp4","audio/midi","video/matroska","video/webm","video/quicktime","video/vnd.avi","audio/wav","audio/qcelp","audio/x-ms-asf","video/x-ms-asf","application/vnd.ms-asf","video/mpeg","video/3gpp","audio/mpeg","audio/mp4","video/ogg","audio/ogg","audio/ogg; codecs=opus","application/ogg","audio/flac","audio/ape","audio/wavpack","audio/amr","application/pdf","application/x-elf","application/x-mach-binary","application/x-msdownload","application/x-shockwave-flash","application/rtf","application/wasm","font/woff","font/woff2","application/vnd.ms-fontobject","font/ttf","font/otf","font/collection","image/x-icon","video/x-flv","application/postscript","application/eps","application/x-xz","application/x-sqlite3","application/x-nintendo-nes-rom","application/x-google-chrome-extension","application/vnd.ms-cab-compressed","application/x-deb","application/x-unix-archive","application/x-rpm","application/x-compress","application/x-lzip","application/x-cfb","application/x-mie","application/mxf","video/mp2t","application/x-blender","image/bpg","image/j2c","image/jp2","image/jpx","image/jpm","image/mj2","audio/aiff","application/xml","application/x-mobipocket-ebook","image/heif","image/heif-sequence","image/heic","image/heic-sequence","image/icns","image/ktx","application/dicom","audio/x-musepack","text/calendar","text/vcard","text/vtt","model/gltf-binary","application/vnd.tcpdump.pcap","audio/x-dsf","application/x.ms.shortcut","application/x.apple.alias","audio/x-voc","audio/vnd.dolby.dd-raw","audio/x-m4a","image/apng","image/x-olympus-orf","image/x-sony-arw","image/x-adobe-dng","image/x-nikon-nef","image/x-panasonic-rw2","image/x-fujifilm-raf","video/x-m4v","video/3gpp2","application/x-esri-shape","audio/aac","audio/x-it","audio/x-s3m","audio/x-xm","video/MP1S","video/MP2P","application/vnd.sketchup.skp","image/avif","application/x-lzh-compressed","application/pgp-encrypted","application/x-asar","model/stl","application/vnd.ms-htmlhelp","model/3mf","image/jxl","application/zstd","image/jls","application/vnd.ms-outlook","image/vnd.dwg","application/vnd.apache.parquet","application/java-vm","application/x-arj","application/x-cpio","application/x-ace-compressed","application/avro","application/vnd.iccprofile","application/x.autodesk.fbx","application/vnd.visio","application/vnd.android.package-archive","application/vnd.google.draco","application/x-lz4","application/vnd.openxmlformats-officedocument.presentationml.template","application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/vnd.ms-excel.template.macroenabled.12","application/vnd.oasis.opendocument.text-template","application/vnd.oasis.opendocument.spreadsheet-template","application/vnd.oasis.opendocument.presentation-template","application/vnd.oasis.opendocument.graphics","application/vnd.oasis.opendocument.graphics-template","application/vnd.ms-excel.sheet.macroenabled.12","application/vnd.ms-word.document.macroenabled.12","application/vnd.ms-word.template.macroenabled.12","application/vnd.ms-powerpoint.template.macroenabled.12","application/vnd.ms-powerpoint.presentation.macroenabled.12","application/java-archive","application/vnd.rn-realmedia","application/x-spss-sav","application/x-ms-regedit","application/x-ft-windows-registry-hive","application/x-jmp-data"];var K=4100,wi=K-2,z=1024*1024,ht=1024,yi=2**31-1,v=16*1024*1024,xe=z,gt=z,ki=v,bi=1,wt=100,Ie=v,yt=64,kt=xe,Ci=256,Si=512,Fi=v,Ei=512,Ti=512,bt=256,Ct=xe,St=xe,vi=xe,Ft=v,Ai=new Set(["Unexpected signature","Encrypted ZIP","Expected Central-File-Header signature"]),Ii=["ZIP entry count exceeds ","Unsupported ZIP compression method:","ZIP entry compressed data exceeds ","ZIP entry decompressed data exceeds ","Expected data-descriptor-signature at position "],Bi=new Set(["Z_BUF_ERROR","Z_DATA_ERROR","ERR_INVALID_STATE"]),M=class extends Error{};function Di(i){let e=i?.streamReader;if(e?.constructor?.name!=="WebStreamByobReader")return i;let{reader:t}=e,r=async()=>{await t.cancel(),t.releaseLock()};return e.close=r,e.abort=async()=>{e.interrupted=!0,await r()},i}function Oe(i,e,t){if(!Number.isFinite(i)||i<0||i>e)throw new M(`${t} has invalid size ${i} (maximum ${e} bytes)`);return i}async function R(i,e,{maximumLength:t=v,reason:r="skip"}={}){let n=Oe(e,t,r);await i.ignore(n)}async function Be(i,e,t,{maximumLength:r=e.length,reason:n="read"}={}){let o=t?.length??e.length,s=Oe(o,r,n);return i.readBuffer(e,{...t,length:s})}async function Oi(i,{maximumLength:e=z}={}){let n=new ReadableStream({start(f){f.enqueue(i),f.close()}}).pipeThrough(new DecompressionStream("deflate-raw")).getReader(),o=[],s=0;try{for(;;){let{done:f,value:c}=await n.read();if(f)break;if(s+=c.length,s>e)throw await n.cancel(),new Error(`ZIP entry decompressed data exceeds ${e} bytes`);o.push(c)}}finally{n.releaseLock()}let a=new Uint8Array(s),m=0;for(let f of o)a.set(f,m),m+=f.length;return a}var At=134695760,de=16,zi=de-1;function Mi(i,e){if(i.length<de)return-1;let t=i.length-de;for(let r=0;r<=t;r++)if(x.get(i,r)===At&&x.get(i,r+8)===e+r)return r;return-1}function Li(i){return(i.codePointAt(0)&32)!==0}function Ui(i,e){let t=new Uint8Array(e),r=0;for(let n of i)t.set(n,r),r+=n.length;return t}async function Ri(i,{shouldBuffer:e,maximumLength:t=z}={}){let{syncBuffer:r}=i,{length:n}=r,o=[],s=0;for(;;){let a=await i.tokenizer.peekBuffer(r,{mayBeLess:!0}),m=Mi(r.subarray(0,a),s),f=m>=0?0:a===n?Math.min(zi,a-1):0,c=m>=0?m:a-f;if(c===0)break;if(s+=c,s>t)throw new Error(`ZIP entry compressed data exceeds ${t} bytes`);if(e){let p=new Uint8Array(c);await i.tokenizer.readBuffer(p),o.push(p)}else await i.tokenizer.ignore(c);if(m>=0)break}if(b(i.tokenizer)||(i.knownSizeDescriptorScannedBytes+=s),!!e)return Ui(o,s)}function Pi(i,e){return b(i.tokenizer)?Math.max(0,v-(i.tokenizer.position-e)):Math.max(0,z-i.knownSizeDescriptorScannedBytes)}async function Ni(i,e,{shouldBuffer:t,maximumDescriptorLength:r=z}={}){if(e.dataDescriptor&&e.compressedSize===0)return Ri(i,{shouldBuffer:t,maximumLength:r});if(!t){await R(i.tokenizer,e.compressedSize,{maximumLength:b(i.tokenizer)?z:i.tokenizer.fileInfo.size,reason:"ZIP entry compressed data"});return}let n=Zi(i.tokenizer);if(!Number.isFinite(e.compressedSize)||e.compressedSize<0||e.compressedSize>n)throw new Error(`ZIP entry compressed data exceeds ${n} bytes`);let o=new Uint8Array(e.compressedSize);return await i.tokenizer.readBuffer(o),o}G.prototype.inflate=async function(i,e,t){if(i.compressedMethod===0)return t(e);if(i.compressedMethod!==8)throw new Error(`Unsupported ZIP compression method: ${i.compressedMethod}`);let r=await Oi(e,{maximumLength:z});return t(r)};G.prototype.unzip=async function(i){let e=!1,t=0,r=this.tokenizer.position;this.knownSizeDescriptorScannedBytes=0;do{if(ee(this.tokenizer,r,v))throw new M(`ZIP stream probing exceeds ${v} bytes`);let n=await this.readLocalFileHeader();if(!n)break;if(t++,t>ht)throw new Error(`ZIP entry count exceeds ${ht}`);let o=i(n);e=!!o.stop,await this.tokenizer.ignore(n.extraFieldLength);let s=await Ni(this,n,{shouldBuffer:!!o.handler,maximumDescriptorLength:Math.min(z,Pi(this,r))});if(o.handler&&await this.inflate(n,s,o.handler),n.dataDescriptor){let a=new Uint8Array(de);if(await this.tokenizer.readBuffer(a),x.get(a,0)!==At)throw new Error(`Expected data-descriptor-signature at position ${this.tokenizer.position-a.length}`)}if(ee(this.tokenizer,r,v))throw new M(`ZIP stream probing exceeds ${v} bytes`)}while(!e)};function ji(i,e){let t=i.getReader(),r=0,n=!1,o=!1,s=async a=>{n||o||(o=!0,await t.cancel(a))};return new ReadableStream({async pull(a){if(r>=e){a.close(),await s();return}let{done:m,value:f}=await t.read();if(m||!f){n=!0,a.close();return}let c=e-r;if(f.length>c){a.enqueue(f.subarray(0,c)),r+=c,a.close(),await s();return}a.enqueue(f),r+=f.length},async cancel(a){await s(a)}})}async function ze(i,e){return new De(e).fromBuffer(i)}function Et(i){switch(i=i.toLowerCase(),i){case"application/epub+zip":return{ext:"epub",mime:i};case"application/vnd.oasis.opendocument.text":return{ext:"odt",mime:i};case"application/vnd.oasis.opendocument.text-template":return{ext:"ott",mime:i};case"application/vnd.oasis.opendocument.spreadsheet":return{ext:"ods",mime:i};case"application/vnd.oasis.opendocument.spreadsheet-template":return{ext:"ots",mime:i};case"application/vnd.oasis.opendocument.presentation":return{ext:"odp",mime:i};case"application/vnd.oasis.opendocument.presentation-template":return{ext:"otp",mime:i};case"application/vnd.oasis.opendocument.graphics":return{ext:"odg",mime:i};case"application/vnd.oasis.opendocument.graphics-template":return{ext:"otg",mime:i};case"application/vnd.openxmlformats-officedocument.presentationml.slideshow":return{ext:"ppsx",mime:i};case"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":return{ext:"xlsx",mime:i};case"application/vnd.ms-excel.sheet.macroenabled":return{ext:"xlsm",mime:"application/vnd.ms-excel.sheet.macroenabled.12"};case"application/vnd.openxmlformats-officedocument.spreadsheetml.template":return{ext:"xltx",mime:i};case"application/vnd.ms-excel.template.macroenabled":return{ext:"xltm",mime:"application/vnd.ms-excel.template.macroenabled.12"};case"application/vnd.ms-powerpoint.slideshow.macroenabled":return{ext:"ppsm",mime:"application/vnd.ms-powerpoint.slideshow.macroenabled.12"};case"application/vnd.openxmlformats-officedocument.wordprocessingml.document":return{ext:"docx",mime:i};case"application/vnd.ms-word.document.macroenabled":return{ext:"docm",mime:"application/vnd.ms-word.document.macroenabled.12"};case"application/vnd.openxmlformats-officedocument.wordprocessingml.template":return{ext:"dotx",mime:i};case"application/vnd.ms-word.template.macroenabledtemplate":return{ext:"dotm",mime:"application/vnd.ms-word.template.macroenabled.12"};case"application/vnd.openxmlformats-officedocument.presentationml.template":return{ext:"potx",mime:i};case"application/vnd.ms-powerpoint.template.macroenabled":return{ext:"potm",mime:"application/vnd.ms-powerpoint.template.macroenabled.12"};case"application/vnd.openxmlformats-officedocument.presentationml.presentation":return{ext:"pptx",mime:i};case"application/vnd.ms-powerpoint.presentation.macroenabled":return{ext:"pptm",mime:"application/vnd.ms-powerpoint.presentation.macroenabled.12"};case"application/vnd.ms-visio.drawing":return{ext:"vsdx",mime:"application/vnd.visio"};case"application/vnd.ms-package.3dmanufacturing-3dmodel+xml":return{ext:"3mf",mime:"model/3mf"};default:}}function O(i,e,t){t={offset:0,...t};for(let[r,n]of e.entries())if(t.mask){if(n!==(t.mask[r]&i[r+t.offset]))return!1}else if(n!==i[r+t.offset])return!1;return!0}function _i(i){return Number.isFinite(i)?Math.max(1,Math.trunc(i)):K}function $i(i,e,t){return t===void 0?i.read(e):(t.throwIfAborted(),new Promise((r,n)=>{let o=()=>{t.removeEventListener("abort",s)},s=()=>{let a=t.reason;o(),(async()=>{try{await i.cancel(a)}catch{}})(),n(a)};t.addEventListener("abort",s,{once:!0}),(async()=>{try{let a=await i.read(e);o(),r(a)}catch(a){o(),n(a)}})()}))}function Wi(i){return Number.isFinite(i)?Math.max(0,Math.min(wi,Math.trunc(i))):0}function Gi(i){return Number.isFinite(i)?Math.max(0,i):Number.MAX_SAFE_INTEGER}function b(i){let e=i.fileInfo.size;return!Number.isFinite(e)||e===Number.MAX_SAFE_INTEGER}function ee(i,e,t){return b(i)&&i.position-e>t}function Zi(i){let e=i.fileInfo.size,t=Number.isFinite(e)?Math.max(0,e-i.position):Number.MAX_SAFE_INTEGER;return Math.min(t,yi)}function Vi(i){if(i instanceof l||i instanceof M)return!0;if(!(i instanceof Error))return!1;if(Ai.has(i.message)||Bi.has(i.code))return!0;for(let e of Ii)if(i.message.startsWith(e))return!0;return!1}function Tt(i,e=z){let t=[i.compressedSize,i.uncompressedSize];for(let r of t)if(!Number.isFinite(r)||r<0||r>e)return!1;return!0}function qi(){return{hasContentTypesEntry:!1,hasParsedContentTypesEntry:!1,isParsingContentTypes:!1,hasUnparseableContentTypes:!1,hasWordDirectory:!1,hasPresentationDirectory:!1,hasSpreadsheetDirectory:!1,hasThreeDimensionalModelEntry:!1}}function Hi(i,e){e.startsWith("word/")&&(i.hasWordDirectory=!0),e.startsWith("ppt/")&&(i.hasPresentationDirectory=!0),e.startsWith("xl/")&&(i.hasSpreadsheetDirectory=!0),e.startsWith("3D/")&&e.endsWith(".model")&&(i.hasThreeDimensionalModelEntry=!0)}function vt(i){if(!(!i.hasContentTypesEntry||i.hasUnparseableContentTypes||i.isParsingContentTypes||i.hasParsedContentTypesEntry)){if(i.hasWordDirectory)return{ext:"docx",mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"};if(i.hasPresentationDirectory)return{ext:"pptx",mime:"application/vnd.openxmlformats-officedocument.presentationml.presentation"};if(i.hasSpreadsheetDirectory)return{ext:"xlsx",mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"};if(i.hasThreeDimensionalModelEntry)return{ext:"3mf",mime:"model/3mf"}}}function Ji(i){let e=i.indexOf('.main+xml"');if(e===-1){let n="application/vnd.ms-package.3dmanufacturing-3dmodel+xml";return i.includes(`ContentType="${n}"`)?n:void 0}let t=i.slice(0,e),r=t.lastIndexOf('"');return t.slice(r+1)}var De=class i{constructor(e){let t=Wi(e?.mpegOffsetTolerance);this.options={...e,mpegOffsetTolerance:t},this.detectors=[...this.options.customDetectors??[],{id:"core",detect:this.detectConfident},{id:"core.imprecise",detect:this.detectImprecise}],this.tokenizerOptions={abortSignal:this.options.signal},this.gzipProbeDepth=0}getTokenizerOptions(){return{...this.tokenizerOptions}}createTokenizerFromWebStream(e){return Di(Pe(e,this.getTokenizerOptions()))}async parseTokenizer(e,t=0){this.detectionReentryCount=t;let r=e.position;for(let n of this.detectors){let o;try{o=await n.detect(e)}catch(s){if(s instanceof l||s instanceof M)return;throw s}if(o)return o;if(r!==e.position)return}}async fromTokenizer(e){try{return await this.parseTokenizer(e)}finally{await e.close()}}async fromBuffer(e){if(!(e instanceof Uint8Array||e instanceof ArrayBuffer))throw new TypeError(`Expected the \`input\` argument to be of type \`Uint8Array\` or \`ArrayBuffer\`, got \`${typeof e}\``);let t=e instanceof Uint8Array?e:new Uint8Array(e);if(t?.length>1)return this.fromTokenizer(Ne(t,this.getTokenizerOptions()))}async fromBlob(e){this.options.signal?.throwIfAborted();let t=je(e,this.getTokenizerOptions());return this.fromTokenizer(t)}async fromStream(e){this.options.signal?.throwIfAborted();let t=this.createTokenizerFromWebStream(e);return this.fromTokenizer(t)}async toDetectionStream(e,t){let r=_i(t?.sampleSize??K),n,o,s=e.getReader({mode:"byob"});try{let{value:f,done:c}=await $i(s,new Uint8Array(r),this.options.signal);if(o=f,!c&&f)try{n=await this.fromBuffer(f.subarray(0,r))}catch(p){if(!(p instanceof l))throw p;n=void 0}o=f}finally{s.releaseLock()}let a=new TransformStream({async start(f){f.enqueue(o)},transform(f,c){c.enqueue(f)}}),m=e.pipeThrough(a);return m.fileType=n,m}async detectGzip(e){if(this.gzipProbeDepth>=bi)return{ext:"gz",mime:"application/gzip"};let t=new Y(e),r=ji(t.inflate(),ki),n=b(e),o,s,a,m;if(n){let f=new AbortController;o=setTimeout(()=>{f.abort(new DOMException(`Operation timed out after ${wt} ms`,"TimeoutError"))},wt),s=this.options.signal===void 0?f.signal:AbortSignal.any([this.options.signal,f.signal]),a=new i({...this.options,signal:s}),a.gzipProbeDepth=this.gzipProbeDepth+1}else this.gzipProbeDepth++;try{m=await(a??this).fromStream(r)}catch(f){if(f?.name==="AbortError"&&s?.reason?.name!=="TimeoutError")throw f}finally{clearTimeout(o),n||this.gzipProbeDepth--}return m?.ext==="tar"?{ext:"tar.gz",mime:"application/gzip"}:{ext:"gz",mime:"application/gzip"}}check(e,t){return O(this.buffer,e,t)}checkString(e,t){return this.check(mt(e,t?.encoding),t)}detectConfident=async e=>{if(this.buffer=new Uint8Array(K),e.fileInfo.size===void 0&&(e.fileInfo.size=Number.MAX_SAFE_INTEGER),this.tokenizer=e,b(e)&&(await e.peekBuffer(this.buffer,{length:3,mayBeLess:!0}),this.check([31,139,8])))return this.detectGzip(e);if(await e.peekBuffer(this.buffer,{length:32,mayBeLess:!0}),this.check([66,77]))return{ext:"bmp",mime:"image/bmp"};if(this.check([11,119]))return{ext:"ac3",mime:"audio/vnd.dolby.dd-raw"};if(this.check([120,1]))return{ext:"dmg",mime:"application/x-apple-diskimage"};if(this.check([77,90]))return{ext:"exe",mime:"application/x-msdownload"};if(this.check([37,33]))return await e.peekBuffer(this.buffer,{length:24,mayBeLess:!0}),this.checkString("PS-Adobe-",{offset:2})&&this.checkString(" EPSF-",{offset:14})?{ext:"eps",mime:"application/eps"}:{ext:"ps",mime:"application/postscript"};if(this.check([31,160])||this.check([31,157]))return{ext:"Z",mime:"application/x-compress"};if(this.check([199,113]))return{ext:"cpio",mime:"application/x-cpio"};if(this.check([96,234]))return{ext:"arj",mime:"application/x-arj"};if(this.check([239,187,191]))return this.detectionReentryCount>=bt?void 0:(this.detectionReentryCount++,await this.tokenizer.ignore(3),this.detectConfident(e));if(this.check([71,73,70]))return{ext:"gif",mime:"image/gif"};if(this.check([73,73,188]))return{ext:"jxr",mime:"image/vnd.ms-photo"};if(this.check([31,139,8]))return this.detectGzip(e);if(this.check([66,90,104]))return{ext:"bz2",mime:"application/x-bzip2"};if(this.checkString("ID3")){await R(e,6,{maximumLength:6,reason:"ID3 header prefix"});let t=await e.readToken(lt),r=b(e);if(!Number.isFinite(t)||t<0||r&&(t>Ie||e.position+t>Ie))return;if(e.position+t>e.fileInfo.size)return r?void 0:{ext:"mp3",mime:"audio/mpeg"};try{await R(e,t,{maximumLength:r?Ie:e.fileInfo.size,reason:"ID3 payload"})}catch(n){if(n instanceof l)return;throw n}return this.detectionReentryCount>=bt?void 0:(this.detectionReentryCount++,this.parseTokenizer(e,this.detectionReentryCount))}if(this.checkString("MP+"))return{ext:"mpc",mime:"audio/x-musepack"};if((this.buffer[0]===67||this.buffer[0]===70)&&this.check([87,83],{offset:1}))return{ext:"swf",mime:"application/x-shockwave-flash"};if(this.check([255,216,255]))return this.check([247],{offset:3})?{ext:"jls",mime:"image/jls"}:{ext:"jpg",mime:"image/jpeg"};if(this.check([79,98,106,1]))return{ext:"avro",mime:"application/avro"};if(this.checkString("FLIF"))return{ext:"flif",mime:"image/flif"};if(this.checkString("8BPS"))return{ext:"psd",mime:"image/vnd.adobe.photoshop"};if(this.checkString("MPCK"))return{ext:"mpc",mime:"audio/x-musepack"};if(this.checkString("FORM"))return{ext:"aif",mime:"audio/aiff"};if(this.checkString("icns",{offset:0}))return{ext:"icns",mime:"image/icns"};if(this.check([80,75,3,4])){let t,r=qi();try{await new G(e).unzip(n=>{Hi(r,n.filename);let o=n.filename==="[Content_Types].xml",s=vt(r);if(!o&&s)return t=s,{stop:!0};switch(n.filename){case"META-INF/mozilla.rsa":return t={ext:"xpi",mime:"application/x-xpinstall"},{stop:!0};case"META-INF/MANIFEST.MF":return t={ext:"jar",mime:"application/java-archive"},{stop:!0};case"mimetype":return Tt(n,gt)?{async handler(a){let m=new TextDecoder("utf-8").decode(a).trim();t=Et(m)},stop:!0}:{};case"[Content_Types].xml":return r.hasContentTypesEntry=!0,Tt(n,gt)?(r.isParsingContentTypes=!0,{async handler(a){let m=new TextDecoder("utf-8").decode(a),f=Ji(m);f&&(t=Et(f)),r.hasParsedContentTypesEntry=!0,r.isParsingContentTypes=!1},stop:!0}):(r.hasUnparseableContentTypes=!0,{});default:return/classes\d*\.dex/.test(n.filename)?(t={ext:"apk",mime:"application/vnd.android.package-archive"},{stop:!0}):{}}})}catch(n){if(!Vi(n))throw n;r.isParsingContentTypes&&(r.isParsingContentTypes=!1,r.hasUnparseableContentTypes=!0)}return t??vt(r)??{ext:"zip",mime:"application/zip"}}if(this.checkString("OggS")){await e.ignore(28);let t=new Uint8Array(8);return await e.readBuffer(t),O(t,[79,112,117,115,72,101,97,100])?{ext:"opus",mime:"audio/ogg; codecs=opus"}:O(t,[128,116,104,101,111,114,97])?{ext:"ogv",mime:"video/ogg"}:O(t,[1,118,105,100,101,111,0])?{ext:"ogm",mime:"video/ogg"}:O(t,[127,70,76,65,67])?{ext:"oga",mime:"audio/ogg"}:O(t,[83,112,101,101,120,32,32])?{ext:"spx",mime:"audio/ogg"}:O(t,[1,118,111,114,98,105,115])?{ext:"ogg",mime:"audio/ogg"}:{ext:"ogx",mime:"application/ogg"}}if(this.check([80,75])&&(this.buffer[2]===3||this.buffer[2]===5||this.buffer[2]===7)&&(this.buffer[3]===4||this.buffer[3]===6||this.buffer[3]===8))return{ext:"zip",mime:"application/zip"};if(this.checkString("MThd"))return{ext:"mid",mime:"audio/midi"};if(this.checkString("wOFF")&&(this.check([0,1,0,0],{offset:4})||this.checkString("OTTO",{offset:4})))return{ext:"woff",mime:"font/woff"};if(this.checkString("wOF2")&&(this.check([0,1,0,0],{offset:4})||this.checkString("OTTO",{offset:4})))return{ext:"woff2",mime:"font/woff2"};if(this.check([212,195,178,161])||this.check([161,178,195,212]))return{ext:"pcap",mime:"application/vnd.tcpdump.pcap"};if(this.checkString("DSD "))return{ext:"dsf",mime:"audio/x-dsf"};if(this.checkString("LZIP"))return{ext:"lz",mime:"application/x-lzip"};if(this.checkString("fLaC"))return{ext:"flac",mime:"audio/flac"};if(this.check([66,80,71,251]))return{ext:"bpg",mime:"image/bpg"};if(this.checkString("wvpk"))return{ext:"wv",mime:"audio/wavpack"};if(this.checkString("%PDF"))return{ext:"pdf",mime:"application/pdf"};if(this.check([0,97,115,109]))return{ext:"wasm",mime:"application/wasm"};if(this.check([73,73])){let t=await this.readTiffHeader(!1);if(t)return t}if(this.check([77,77])){let t=await this.readTiffHeader(!0);if(t)return t}if(this.checkString("MAC "))return{ext:"ape",mime:"audio/ape"};if(this.check([26,69,223,163])){async function t(){let m=await e.peekNumber(Ze),f=128,c=0;for(;(m&f)===0&&f!==0;)++c,f>>=1;let p=new Uint8Array(c+1);return await Be(e,p,void 0,{maximumLength:p.length,reason:"EBML field"}),p}async function r(){let m=await t(),f=await t();f[0]^=128>>f.length-1;let c=Math.min(6,f.length),p=new DataView(m.buffer),u=new DataView(f.buffer,f.length-c,c);return{id:Ae(p),len:Ae(u)}}async function n(m){let f=0;for(;m>0;){if(f++,f>Ci||ee(e,s,v))return;let c=e.position,p=await r();if(p.id===17026){if(p.len>yt)return;let u=Oe(p.len,yt,"EBML DocType");return(await e.readToken(new S(u))).replaceAll(/\00.*$/g,"")}if(b(e)&&(!Number.isFinite(p.len)||p.len<0||p.len>kt)||(await R(e,p.len,{maximumLength:b(e)?kt:e.fileInfo.size,reason:"EBML payload"}),--m,e.position<=c))return}}let o=await r(),s=e.position;switch(await n(o.len)){case"webm":return{ext:"webm",mime:"video/webm"};case"matroska":return{ext:"mkv",mime:"video/matroska"};default:return}}if(this.checkString("SQLi"))return{ext:"sqlite",mime:"application/x-sqlite3"};if(this.check([78,69,83,26]))return{ext:"nes",mime:"application/x-nintendo-nes-rom"};if(this.checkString("Cr24"))return{ext:"crx",mime:"application/x-google-chrome-extension"};if(this.checkString("MSCF")||this.checkString("ISc("))return{ext:"cab",mime:"application/vnd.ms-cab-compressed"};if(this.check([237,171,238,219]))return{ext:"rpm",mime:"application/x-rpm"};if(this.check([197,208,211,198]))return{ext:"eps",mime:"application/eps"};if(this.check([40,181,47,253]))return{ext:"zst",mime:"application/zstd"};if(this.check([127,69,76,70]))return{ext:"elf",mime:"application/x-elf"};if(this.check([33,66,68,78]))return{ext:"pst",mime:"application/vnd.ms-outlook"};if(this.checkString("PAR1")||this.checkString("PARE"))return{ext:"parquet",mime:"application/vnd.apache.parquet"};if(this.checkString("ttcf"))return{ext:"ttc",mime:"font/collection"};if(this.check([254,237,250,206])||this.check([254,237,250,207])||this.check([206,250,237,254])||this.check([207,250,237,254]))return{ext:"macho",mime:"application/x-mach-binary"};if(this.check([4,34,77,24]))return{ext:"lz4",mime:"application/x-lz4"};if(this.checkString("regf"))return{ext:"dat",mime:"application/x-ft-windows-registry-hive"};if(this.checkString("$FL2")||this.checkString("$FL3"))return{ext:"sav",mime:"application/x-spss-sav"};if(this.check([79,84,84,79,0]))return{ext:"otf",mime:"font/otf"};if(this.checkString("#!AMR"))return{ext:"amr",mime:"audio/amr"};if(this.checkString("{\\rtf"))return{ext:"rtf",mime:"application/rtf"};if(this.check([70,76,86,1]))return{ext:"flv",mime:"video/x-flv"};if(this.checkString("IMPM"))return{ext:"it",mime:"audio/x-it"};if(this.checkString("-lh0-",{offset:2})||this.checkString("-lh1-",{offset:2})||this.checkString("-lh2-",{offset:2})||this.checkString("-lh3-",{offset:2})||this.checkString("-lh4-",{offset:2})||this.checkString("-lh5-",{offset:2})||this.checkString("-lh6-",{offset:2})||this.checkString("-lh7-",{offset:2})||this.checkString("-lzs-",{offset:2})||this.checkString("-lz4-",{offset:2})||this.checkString("-lz5-",{offset:2})||this.checkString("-lhd-",{offset:2}))return{ext:"lzh",mime:"application/x-lzh-compressed"};if(this.check([0,0,1,186])){if(this.check([33],{offset:4,mask:[241]}))return{ext:"mpg",mime:"video/MP1S"};if(this.check([68],{offset:4,mask:[196]}))return{ext:"mpg",mime:"video/MP2P"}}if(this.checkString("ITSF"))return{ext:"chm",mime:"application/vnd.ms-htmlhelp"};if(this.check([202,254,186,190])){let t=be.get(this.buffer,4),r=_.get(this.buffer,6);if(t>0&&t<=30)return{ext:"macho",mime:"application/x-mach-binary"};if(r>30)return{ext:"class",mime:"application/java-vm"}}if(this.checkString(".RMF"))return{ext:"rm",mime:"application/vnd.rn-realmedia"};if(this.checkString("DRACO"))return{ext:"drc",mime:"application/vnd.google.draco"};if(this.check([253,55,122,88,90,0]))return{ext:"xz",mime:"application/x-xz"};if(this.checkString("<?xml "))return{ext:"xml",mime:"application/xml"};if(this.check([55,122,188,175,39,28]))return{ext:"7z",mime:"application/x-7z-compressed"};if(this.check([82,97,114,33,26,7])&&(this.buffer[6]===0||this.buffer[6]===1))return{ext:"rar",mime:"application/x-rar-compressed"};if(this.checkString("solid "))return{ext:"stl",mime:"model/stl"};if(this.checkString("AC")){let t=new S(4,"latin1").get(this.buffer,2);if(t.match("^d*")&&t>=1e3&&t<=1050)return{ext:"dwg",mime:"image/vnd.dwg"}}if(this.checkString("070707"))return{ext:"cpio",mime:"application/x-cpio"};if(this.checkString("BLENDER"))return{ext:"blend",mime:"application/x-blender"};if(this.checkString("!<arch>"))return await e.ignore(8),await e.readToken(new S(13,"ascii"))==="debian-binary"?{ext:"deb",mime:"application/x-deb"}:{ext:"ar",mime:"application/x-unix-archive"};if(this.checkString("WEBVTT")&&[`
7
+ `,"\r"," "," ","\0"].some(t=>this.checkString(t,{offset:6})))return{ext:"vtt",mime:"text/vtt"};if(this.check([137,80,78,71,13,10,26,10])){let t={ext:"png",mime:"image/png"},r={ext:"apng",mime:"image/apng"};await e.ignore(8);async function n(){return{length:await e.readToken(Ve),type:await e.readToken(new S(4,"latin1"))}}let o=b(e),s=e.position,a=0,m=!1;do{if(a++,a>Si||ee(e,s,Fi))break;let f=e.position,c=await n();if(c.length<0)return;if(c.type==="IHDR"){if(c.length!==13)return;m=!0}switch(c.type){case"IDAT":return t;case"acTL":return r;default:if(!m&&c.type!=="CgBI")return;if(o&&c.length>Ct)return m&&Li(c.type)?t:void 0;try{await R(e,c.length+4,{maximumLength:o?Ct+4:e.fileInfo.size,reason:"PNG chunk payload"})}catch(p){if(!o&&(p instanceof M||p instanceof l))return t;throw p}}if(e.position<=f)break}while(e.position+8<e.fileInfo.size);return t}if(this.check([65,82,82,79,87,49,0,0]))return{ext:"arrow",mime:"application/vnd.apache.arrow.file"};if(this.check([103,108,84,70,2,0,0,0]))return{ext:"glb",mime:"model/gltf-binary"};if(this.check([102,114,101,101],{offset:4})||this.check([109,100,97,116],{offset:4})||this.check([109,111,111,118],{offset:4})||this.check([119,105,100,101],{offset:4}))return{ext:"mov",mime:"video/quicktime"};if(this.check([73,73,82,79,8,0,0,0,24]))return{ext:"orf",mime:"image/x-olympus-orf"};if(this.checkString("gimp xcf "))return{ext:"xcf",mime:"image/x-xcf"};if(this.checkString("ftyp",{offset:4})&&(this.buffer[8]&96)!==0){let t=new S(4,"latin1").get(this.buffer,8).replace("\0"," ").trim();switch(t){case"avif":case"avis":return{ext:"avif",mime:"image/avif"};case"mif1":return{ext:"heic",mime:"image/heif"};case"msf1":return{ext:"heic",mime:"image/heif-sequence"};case"heic":case"heix":return{ext:"heic",mime:"image/heic"};case"hevc":case"hevx":return{ext:"heic",mime:"image/heic-sequence"};case"qt":return{ext:"mov",mime:"video/quicktime"};case"M4V":case"M4VH":case"M4VP":return{ext:"m4v",mime:"video/x-m4v"};case"M4P":return{ext:"m4p",mime:"video/mp4"};case"M4B":return{ext:"m4b",mime:"audio/mp4"};case"M4A":return{ext:"m4a",mime:"audio/x-m4a"};case"F4V":return{ext:"f4v",mime:"video/mp4"};case"F4P":return{ext:"f4p",mime:"video/mp4"};case"F4A":return{ext:"f4a",mime:"audio/mp4"};case"F4B":return{ext:"f4b",mime:"audio/mp4"};case"crx":return{ext:"cr3",mime:"image/x-canon-cr3"};default:return t.startsWith("3g")?t.startsWith("3g2")?{ext:"3g2",mime:"video/3gpp2"}:{ext:"3gp",mime:"video/3gpp"}:{ext:"mp4",mime:"video/mp4"}}}if(this.checkString(`REGEDIT4\r
8
+ `))return{ext:"reg",mime:"application/x-ms-regedit"};if(this.check([82,73,70,70])){if(this.checkString("WEBP",{offset:8}))return{ext:"webp",mime:"image/webp"};if(this.check([65,86,73],{offset:8}))return{ext:"avi",mime:"video/vnd.avi"};if(this.check([87,65,86,69],{offset:8}))return{ext:"wav",mime:"audio/wav"};if(this.check([81,76,67,77],{offset:8}))return{ext:"qcp",mime:"audio/qcelp"}}if(this.check([73,73,85,0,24,0,0,0,136,231,116,216]))return{ext:"rw2",mime:"image/x-panasonic-rw2"};if(this.check([48,38,178,117,142,102,207,17,166,217])){let t=!1;try{async function r(){let a=new Uint8Array(16);return await Be(e,a,void 0,{maximumLength:a.length,reason:"ASF header GUID"}),{id:a,size:Number(await e.readToken(qe))}}await R(e,30,{maximumLength:30,reason:"ASF header prelude"});let n=b(e),o=e.position,s=0;for(;e.position+24<e.fileInfo.size&&(s++,!(s>Ei||ee(e,o,v)));){let a=e.position,m=await r(),f=m.size-24;if(!Number.isFinite(f)||f<0){t=!0;break}if(O(m.id,[145,7,220,183,183,169,207,17,142,230,0,192,12,32,83,101])){let c=new Uint8Array(16);if(f-=await Be(e,c,void 0,{maximumLength:c.length,reason:"ASF stream type GUID"}),O(c,[64,158,105,248,77,91,207,17,168,253,0,128,95,92,68,43]))return{ext:"asf",mime:"audio/x-ms-asf"};if(O(c,[192,239,25,188,77,91,207,17,168,253,0,128,95,92,68,43]))return{ext:"asf",mime:"video/x-ms-asf"};break}if(n&&f>St){t=!0;break}if(await R(e,f,{maximumLength:n?St:e.fileInfo.size,reason:"ASF header payload"}),e.position<=a){t=!0;break}}}catch(r){if(r instanceof l||r instanceof M)b(e)&&(t=!0);else throw r}return t?void 0:{ext:"asf",mime:"application/vnd.ms-asf"}}if(this.check([171,75,84,88,32,49,49,187,13,10,26,10]))return{ext:"ktx",mime:"image/ktx"};if((this.check([126,16,4])||this.check([126,24,4]))&&this.check([48,77,73,69],{offset:4}))return{ext:"mie",mime:"application/x-mie"};if(this.check([39,10,0,0,0,0,0,0,0,0,0,0],{offset:2}))return{ext:"shp",mime:"application/x-esri-shape"};if(this.check([255,79,255,81]))return{ext:"j2c",mime:"image/j2c"};if(this.check([0,0,0,12,106,80,32,32,13,10,135,10]))switch(await e.ignore(20),await e.readToken(new S(4,"ascii"))){case"jp2 ":return{ext:"jp2",mime:"image/jp2"};case"jpx ":return{ext:"jpx",mime:"image/jpx"};case"jpm ":return{ext:"jpm",mime:"image/jpm"};case"mjp2":return{ext:"mj2",mime:"image/mj2"};default:return}if(this.check([255,10])||this.check([0,0,0,12,74,88,76,32,13,10,135,10]))return{ext:"jxl",mime:"image/jxl"};if(this.check([254,255]))return this.checkString("<?xml ",{offset:2,encoding:"utf-16be"})?{ext:"xml",mime:"application/xml"}:void 0;if(this.check([208,207,17,224,161,177,26,225]))return{ext:"cfb",mime:"application/x-cfb"};if(await e.peekBuffer(this.buffer,{length:Math.min(256,e.fileInfo.size),mayBeLess:!0}),this.check([97,99,115,112],{offset:36}))return{ext:"icc",mime:"application/vnd.iccprofile"};if(this.checkString("**ACE",{offset:7})&&this.checkString("**",{offset:12}))return{ext:"ace",mime:"application/x-ace-compressed"};if(this.checkString("BEGIN:")){if(this.checkString("VCARD",{offset:6}))return{ext:"vcf",mime:"text/vcard"};if(this.checkString("VCALENDAR",{offset:6}))return{ext:"ics",mime:"text/calendar"}}if(this.checkString("FUJIFILMCCD-RAW"))return{ext:"raf",mime:"image/x-fujifilm-raf"};if(this.checkString("Extended Module:"))return{ext:"xm",mime:"audio/x-xm"};if(this.checkString("Creative Voice File"))return{ext:"voc",mime:"audio/x-voc"};if(this.check([4,0,0,0])&&this.buffer.length>=16){let t=new DataView(this.buffer.buffer).getUint32(12,!0);if(t>12&&this.buffer.length>=t+16)try{let r=new TextDecoder().decode(this.buffer.subarray(16,t+16));if(JSON.parse(r).files)return{ext:"asar",mime:"application/x-asar"}}catch{}}if(this.check([6,14,43,52,2,5,1,1,13,1,2,1,1,2]))return{ext:"mxf",mime:"application/mxf"};if(this.checkString("SCRM",{offset:44}))return{ext:"s3m",mime:"audio/x-s3m"};if(this.check([71])&&this.check([71],{offset:188}))return{ext:"mts",mime:"video/mp2t"};if(this.check([71],{offset:4})&&this.check([71],{offset:196}))return{ext:"mts",mime:"video/mp2t"};if(this.check([66,79,79,75,77,79,66,73],{offset:60}))return{ext:"mobi",mime:"application/x-mobipocket-ebook"};if(this.check([68,73,67,77],{offset:128}))return{ext:"dcm",mime:"application/dicom"};if(this.check([76,0,0,0,1,20,2,0,0,0,0,0,192,0,0,0,0,0,0,70]))return{ext:"lnk",mime:"application/x.ms.shortcut"};if(this.check([98,111,111,107,0,0,0,0,109,97,114,107,0,0,0,0]))return{ext:"alias",mime:"application/x.apple.alias"};if(this.checkString("Kaydara FBX Binary \0"))return{ext:"fbx",mime:"application/x.autodesk.fbx"};if(this.check([76,80],{offset:34})&&(this.check([0,0,1],{offset:8})||this.check([1,0,2],{offset:8})||this.check([2,0,2],{offset:8})))return{ext:"eot",mime:"application/vnd.ms-fontobject"};if(this.check([6,6,237,245,216,29,70,229,189,49,239,231,254,116,183,29]))return{ext:"indd",mime:"application/x-indesign"};if(this.check([255,255,0,0,7,0,0,0,4,0,0,0,1,0,1,0])||this.check([0,0,255,255,0,0,0,7,0,0,0,4,0,1,0,1]))return{ext:"jmp",mime:"application/x-jmp-data"};if(await e.peekBuffer(this.buffer,{length:Math.min(512,e.fileInfo.size),mayBeLess:!0}),this.checkString("ustar",{offset:257})&&(this.checkString("\0",{offset:262})||this.checkString(" ",{offset:262}))||this.check([0,0,0,0,0,0],{offset:257})&&ut(this.buffer))return{ext:"tar",mime:"application/x-tar"};if(this.check([255,254])){let t="utf-16le";return this.checkString("<?xml ",{offset:2,encoding:t})?{ext:"xml",mime:"application/xml"}:this.check([255,14],{offset:2})&&this.checkString("SketchUp Model",{offset:4,encoding:t})?{ext:"skp",mime:"application/vnd.sketchup.skp"}:this.checkString(`Windows Registry Editor Version 5.00\r
9
+ `,{offset:2,encoding:t})?{ext:"reg",mime:"application/x-ms-regedit"}:void 0}if(this.checkString("-----BEGIN PGP MESSAGE-----"))return{ext:"pgp",mime:"application/pgp-encrypted"}};detectImprecise=async e=>{this.buffer=new Uint8Array(K);let t=Gi(e.fileInfo.size);if(await e.peekBuffer(this.buffer,{length:Math.min(8,t),mayBeLess:!0}),this.check([0,0,1,186])||this.check([0,0,1,179]))return{ext:"mpg",mime:"video/mpeg"};if(this.check([0,1,0,0,0]))return{ext:"ttf",mime:"font/ttf"};if(this.check([0,0,1,0]))return{ext:"ico",mime:"image/x-icon"};if(this.check([0,0,2,0]))return{ext:"cur",mime:"image/x-icon"};if(await e.peekBuffer(this.buffer,{length:Math.min(2+this.options.mpegOffsetTolerance,t),mayBeLess:!0}),this.buffer.length>=2+this.options.mpegOffsetTolerance)for(let r=0;r<=this.options.mpegOffsetTolerance;++r){let n=this.scanMpeg(r);if(n)return n}};async readTiffTag(e){let t=await this.tokenizer.readToken(e?_:h);switch(await this.tokenizer.ignore(10),t){case 50341:return{ext:"arw",mime:"image/x-sony-arw"};case 50706:return{ext:"dng",mime:"image/x-adobe-dng"};default:}}async readTiffIFD(e){let t=await this.tokenizer.readToken(e?_:h);if(!(t>Ti)&&!(b(this.tokenizer)&&2+t*12>Ft))for(let r=0;r<t;++r){let n=await this.readTiffTag(e);if(n)return n}}async readTiffHeader(e){let t={ext:"tif",mime:"image/tiff"},r=(e?_:h).get(this.buffer,2),n=(e?be:x).get(this.buffer,4);if(r===42){if(n>=6){if(this.checkString("CR",{offset:8}))return{ext:"cr2",mime:"image/x-canon-cr2"};if(n>=8){let a=(e?_:h).get(this.buffer,8),m=(e?_:h).get(this.buffer,10);if(a===28&&m===254||a===31&&m===11)return{ext:"nef",mime:"image/x-nikon-nef"}}}if(b(this.tokenizer)&&n>vi)return t;let o=b(this.tokenizer)?Ft:this.tokenizer.fileInfo.size;try{await R(this.tokenizer,n,{maximumLength:o,reason:"TIFF IFD offset"})}catch(a){if(a instanceof l)return;throw a}let s;try{s=await this.readTiffIFD(e)}catch(a){if(a instanceof l)return;throw a}return s??t}if(r===43)return t}scanMpeg(e){if(this.check([255,224],{offset:e,mask:[255,224]})){if(this.check([16],{offset:e+1,mask:[22]}))return this.check([8],{offset:e+1,mask:[8]})?{ext:"aac",mime:"audio/aac"}:{ext:"aac",mime:"audio/aac"};if(this.check([2],{offset:e+1,mask:[6]}))return{ext:"mp3",mime:"audio/mpeg"};if(this.check([4],{offset:e+1,mask:[6]}))return{ext:"mp2",mime:"audio/mpeg"};if(this.check([6],{offset:e+1,mask:[6]}))return{ext:"mp1",mime:"audio/mpeg"}}}},Xi=new Set(dt),Qi=new Set(xt);var Yi={name:"file",summary:"determine file type",usage:"file [OPTION]... FILE...",options:["-b, --brief do not prepend filenames to output","-i, --mime output MIME type strings","-L, --dereference follow symlinks"," --help display this help and exit"]},Ki=new Map([[".js",{description:"JavaScript source",mime:"text/javascript"}],[".mjs",{description:"JavaScript module",mime:"text/javascript"}],[".cjs",{description:"CommonJS module",mime:"text/javascript"}],[".ts",{description:"TypeScript source",mime:"text/typescript"}],[".tsx",{description:"TypeScript JSX source",mime:"text/typescript"}],[".jsx",{description:"JavaScript JSX source",mime:"text/javascript"}],[".py",{description:"Python script",mime:"text/x-python"}],[".rb",{description:"Ruby script",mime:"text/x-ruby"}],[".go",{description:"Go source",mime:"text/x-go"}],[".rs",{description:"Rust source",mime:"text/x-rust"}],[".c",{description:"C source",mime:"text/x-c"}],[".h",{description:"C header",mime:"text/x-c"}],[".cpp",{description:"C++ source",mime:"text/x-c++"}],[".hpp",{description:"C++ header",mime:"text/x-c++"}],[".java",{description:"Java source",mime:"text/x-java"}],[".sh",{description:"Bourne-Again shell script",mime:"text/x-shellscript"}],[".bash",{description:"Bourne-Again shell script",mime:"text/x-shellscript"}],[".zsh",{description:"Zsh shell script",mime:"text/x-shellscript"}],[".json",{description:"JSON data",mime:"application/json"}],[".yaml",{description:"YAML data",mime:"text/yaml"}],[".yml",{description:"YAML data",mime:"text/yaml"}],[".xml",{description:"XML document",mime:"application/xml"}],[".csv",{description:"CSV text",mime:"text/csv"}],[".toml",{description:"TOML data",mime:"text/toml"}],[".html",{description:"HTML document",mime:"text/html"}],[".htm",{description:"HTML document",mime:"text/html"}],[".css",{description:"CSS stylesheet",mime:"text/css"}],[".svg",{description:"SVG image",mime:"image/svg+xml"}],[".md",{description:"Markdown document",mime:"text/markdown"}],[".markdown",{description:"Markdown document",mime:"text/markdown"}],[".txt",{description:"ASCII text",mime:"text/plain"}],[".rst",{description:"reStructuredText",mime:"text/x-rst"}],[".env",{description:"ASCII text",mime:"text/plain"}],[".gitignore",{description:"ASCII text",mime:"text/plain"}],[".dockerignore",{description:"ASCII text",mime:"text/plain"}]]),er=new Map([["jpg","JPEG image data"],["jpeg","JPEG image data"],["png","PNG image data"],["gif","GIF image data"],["webp","WebP image data"],["bmp","PC bitmap"],["ico","MS Windows icon resource"],["tif","TIFF image data"],["tiff","TIFF image data"],["psd","Adobe Photoshop Document"],["avif","AVIF image"],["heic","HEIC image"],["heif","HEIF image"],["jxl","JPEG XL image"],["icns","Mac OS X icon"],["svg","SVG Scalable Vector Graphics image"],["pdf","PDF document"],["epub","EPUB document"],["mobi","Mobipocket E-book"],["djvu","DjVu document"],["zip","Zip archive data"],["gz","gzip compressed data"],["gzip","gzip compressed data"],["bz2","bzip2 compressed data"],["xz","XZ compressed data"],["tar","POSIX tar archive"],["rar","RAR archive data"],["7z","7-zip archive data"],["lz","lzip compressed data"],["lzma","LZMA compressed data"],["zst","Zstandard compressed data"],["cab","Microsoft Cabinet archive"],["ar","Unix ar archive"],["rpm","RPM package"],["deb","Debian binary package"],["apk","Android Package"],["dmg","Apple disk image"],["iso","ISO 9660 CD-ROM filesystem data"],["vhd","Microsoft Virtual Hard Disk"],["vhdx","Microsoft Virtual Hard Disk (new format)"],["qcow2","QEMU QCOW Image"],["mp3","Audio file with ID3"],["m4a","MPEG-4 audio"],["aac","AAC audio"],["wav","RIFF (little-endian) data, WAVE audio"],["flac","FLAC audio bitstream data"],["ogg","Ogg data"],["oga","Ogg audio"],["opus","Ogg Opus audio"],["aiff","AIFF audio"],["wma","Windows Media Audio"],["amr","AMR audio"],["mid","MIDI audio"],["midi","MIDI audio"],["ape","Monkey's Audio"],["mp4","ISO Media, MPEG-4"],["m4v","MPEG-4 video"],["webm","WebM"],["avi","RIFF (little-endian) data, AVI"],["mov","ISO Media, Apple QuickTime movie"],["mkv","Matroska data"],["wmv","Windows Media Video"],["flv","Flash Video"],["3gp","3GPP multimedia"],["3g2","3GPP2 multimedia"],["ogv","Ogg video"],["mts","MPEG transport stream"],["m2ts","MPEG transport stream"],["ts","MPEG transport stream"],["mpg","MPEG video"],["mpeg","MPEG video"],["exe","PE32 executable"],["dll","PE32 DLL"],["elf","ELF executable"],["mach","Mach-O executable"],["wasm","WebAssembly (wasm) binary module"],["dex","Android Dalvik executable"],["class","Java class file"],["swf","Adobe Flash"],["doc","Microsoft Word Document"],["docx","Microsoft Word 2007+ Document"],["xls","Microsoft Excel Spreadsheet"],["xlsx","Microsoft Excel 2007+ Spreadsheet"],["ppt","Microsoft PowerPoint Presentation"],["pptx","Microsoft PowerPoint 2007+ Presentation"],["odt","OpenDocument Text"],["ods","OpenDocument Spreadsheet"],["odp","OpenDocument Presentation"],["ttf","TrueType Font"],["otf","OpenType Font"],["woff","Web Open Font Format"],["woff2","Web Open Font Format 2"],["eot","Embedded OpenType font"],["stl","Stereolithography CAD"],["obj","Wavefront 3D Object"],["gltf","GL Transmission Format"],["glb","GL Transmission Format (binary)"],["sqlite","SQLite 3.x database"],["mdb","Microsoft Access Database"],["xml","XML document"],["json","JSON data"],["macho","Mach-O binary"],["ics","iCalendar data"],["vcf","vCard data"],["msi","Microsoft Installer"],["ps","PostScript"],["ai","Adobe Illustrator"],["indd","Adobe InDesign"],["sketch","Sketch design file"],["fig","Figma design file"],["xd","Adobe XD"],["blend","Blender"],["fbx","Autodesk FBX"],["lnk","MS Windows shortcut"],["alias","Mac OS alias"],["torrent","BitTorrent file"],["pcap","pcap capture file"],["arrow","Apache Arrow"],["parquet","Apache Parquet"]]);function tr(i,e){let t=er.get(i);if(t)return t;let[r,n]=e.split("/"),o=n?.split("+")[0]?.replace(/-/g," ")||i;switch(r){case"image":return`${o.toUpperCase()} image data`;case"audio":return`${o.toUpperCase()} audio`;case"video":return`${o.toUpperCase()} video`;case"font":return`${o} font`;case"model":return`${o} 3D model`;case"application":return n?.includes("zip")||n?.includes("compressed")?`${o} archive data`:n?.includes("executable")?`${o} executable`:`${i.toUpperCase()} data`;default:return`${i.toUpperCase()} data`}}function ir(i){let e=i.split("/").pop()||i;if(e.startsWith(".")&&!e.includes(".",1))return e;let t=e.lastIndexOf(".");return t===-1||t===0?"":e.slice(t).toLowerCase()}function rr(i,e){if(i.startsWith("#!")){let f=i.split(`
10
+ `)[0];return f.includes("python")?{description:"Python script, ASCII text executable",mime:"text/x-python"}:f.includes("node")||f.includes("bun")||f.includes("deno")?{description:"JavaScript script, ASCII text executable",mime:"text/javascript"}:f.includes("bash")?{description:"Bourne-Again shell script, ASCII text executable",mime:"text/x-shellscript"}:f.includes("sh")?{description:"POSIX shell script, ASCII text executable",mime:"text/x-shellscript"}:f.includes("ruby")?{description:"Ruby script, ASCII text executable",mime:"text/x-ruby"}:f.includes("perl")?{description:"Perl script, ASCII text executable",mime:"text/x-perl"}:{description:"script, ASCII text executable",mime:"text/plain"}}let t=i.trimStart();if(t.startsWith("<?xml"))return{description:"XML document",mime:"application/xml"};if(t.startsWith("<!DOCTYPE html")||t.toLowerCase().startsWith("<html"))return{description:"HTML document",mime:"text/html"};let r=i.includes(`\r
11
+ `),n=i.includes("\r")&&!r,o="";r?o=", with CRLF line terminators":n&&(o=", with CR line terminators");let s=ir(e),a=s?Ki.get(s):void 0;if(a)return a.mime.startsWith("text/")&&o?{description:`${a.description}${o}`,mime:a.mime}:a;let m=!1;for(let f=0;f<Math.min(i.length,8192);f++)if(i.charCodeAt(f)>127){m=!0;break}return m?{description:`UTF-8 Unicode text${o}`,mime:"text/plain; charset=utf-8"}:{description:`ASCII text${o}`,mime:"text/plain"}}async function nr(i,e){if(e.length===0)return{description:"empty",mime:"inode/x-empty"};let t=await ze(e);if(t)return{description:tr(t.ext,t.mime),mime:t.mime};let r=new TextDecoder("utf-8",{fatal:!1}).decode(e);return rr(r,i)}var _n={name:"file",async execute(i,e){if(Re(i))return Ue(Yi);let t=!1,r=!1,n=[];for(let a of i)if(a.startsWith("--")){if(a==="--brief")t=!0;else if(a==="--mime"||a==="--mime-type")r=!0;else if(a!=="--dereference")return ge("file",a)}else if(a.startsWith("-")&&a!=="-"){for(let m of a.slice(1))if(m==="b")t=!0;else if(m==="i")r=!0;else if(m!=="L")return ge("file",`-${m}`)}else n.push(a);if(n.length===0)return{stdout:"",stderr:`Usage: file [-bLi] FILE...
12
+ `,exitCode:1};let o="",s=0;for(let a of n)try{let m=e.fs.resolvePath(e.cwd,a);if((await e.fs.stat(m)).isDirectory){let d=r?"inode/directory":"directory";o+=t?`${d}
13
+ `:`${a}: ${d}
14
+ `;continue}let c=await e.fs.readFileBuffer(m),p=await nr(a,c),u=r?p.mime:p.description;o+=t?`${u}
15
+ `:`${a}: ${u}
16
+ `}catch{o+=t?`cannot open
17
+ `:`${a}: cannot open (No such file or directory)
18
+ `,s=1}return{stdout:o,stderr:"",exitCode:s}}},$n={name:"file",flags:[{flag:"-b",type:"boolean"},{flag:"-i",type:"boolean"},{flag:"-L",type:"boolean"}],needsArgs:!0};export{_n as a,$n as b};
19
+ /*! Bundled license information:
20
+
21
+ ieee754/index.js:
22
+ (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
23
+ */
@@ -0,0 +1,2 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ var d=new TextDecoder("utf-8",{fatal:!0}),c=new TextEncoder;function a(t){return t}function x(t){return t}function f(t){let e=t;if(!e)return e;let n=!1;for(let r=0;r<e.length;r++){let u=e.charCodeAt(r);if(u>255)return e;u>127&&(n=!0)}if(!n)return e;let o=new Uint8Array(e.length);for(let r=0;r<e.length;r++)o[r]=e.charCodeAt(r);try{return d.decode(o)}catch{return e}}function s(t){if(!t)return t;let e=c.encode(t),n="";for(let o=0;o<e.length;o++)n+=String.fromCharCode(e[o]);return n}var p="";function y(t){let e="";for(let n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return e}async function l(t,e){return typeof t.readFileBytes=="function"?t.readFileBytes(e):y(await t.readFileBuffer(e))}function i(t){return t.stdoutKind?t.stdoutKind:t.stdoutEncoding==="binary"?"bytes":"text"}function h(t){return i(t)==="bytes"?t.stdout:s(t.stdout)}function B(t){return i(t)==="bytes"?f(t.stdout):t.stdout}function g(t){return{stdout:t,stdoutKind:"text"}}function b(t){return{stdout:t,stdoutKind:"bytes",stdoutEncoding:"binary"}}export{a,x as b,f as c,s as d,p as e,l as f,i as g,h,B as i,g as j,b as k};
@@ -0,0 +1,12 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{a as y}from"./chunk-SX2HC7SO.js";import{a as c,b as p}from"./chunk-SY4HAUHP.js";import{a as O}from"./chunk-L2UW7DWF.js";import{a as h,b as A,c as u}from"./chunk-QAYAQNCG.js";var x={name:"timeout",summary:"run a command with a time limit",usage:"timeout [OPTION] DURATION COMMAND [ARG]...",description:`Start COMMAND, and kill it if still running after DURATION.
3
+
4
+ DURATION is a number with optional suffix:
5
+ s - seconds (default)
6
+ m - minutes
7
+ h - hours
8
+ d - days`,options:["-k, --kill-after=DURATION send KILL signal after DURATION if still running","-s, --signal=SIGNAL specify signal to send (default: TERM)"," --preserve-status exit with same status as COMMAND, even on timeout"," --foreground run command in foreground"," --help display this help and exit"]},I={name:"timeout",async execute(s,r){if(A(s))return h(x);let i=0;for(let e=0;e<s.length;e++){let t=s[e];if(t==="--preserve-status")i=e+1;else if(t==="--foreground")i=e+1;else if(t==="-k"||t==="--kill-after")e++,i=e+1;else if(t.startsWith("--kill-after="))i=e+1;else if(t==="-s"||t==="--signal")e++,i=e+1;else if(t.startsWith("--signal="))i=e+1;else{if(t.startsWith("--")&&t!=="--")return u("timeout",t);if(t.startsWith("-")&&t.length>1&&t!=="--")if(t.startsWith("-k"))i=e+1;else if(t.startsWith("-s"))i=e+1;else return u("timeout",t);else{i=e;break}}}let n=s.slice(i);if(n.length===0)return{stdout:"",stderr:`timeout: missing operand
9
+ `,exitCode:1};let m=n[0],d=y(m);if(d===null)return{stdout:"",stderr:`timeout: invalid time interval '${m}'
10
+ `,exitCode:1};let o=n.slice(1);if(o.length===0)return{stdout:"",stderr:`timeout: missing operand
11
+ `,exitCode:1};if(!r.exec)return{stdout:"",stderr:`timeout: exec not available
12
+ `,exitCode:1};let f=new AbortController,a;try{let e=new Promise(l=>{a=c(()=>{f.abort(),l({timedOut:!0})},d)}),t=r.exec(O([o[0]]),{cwd:r.cwd,signal:f.signal,stdin:r.stdin,stdinKind:"bytes",args:o.slice(1)}).then(l=>({timedOut:!1,result:l})),g=await Promise.race([e,t]);return g.timedOut?{stdout:"",stderr:"",exitCode:124}:g.result}finally{a!==void 0&&p(a)}}},T={name:"timeout",flags:[{flag:"-k",type:"value",valueHint:"string"},{flag:"-s",type:"value",valueHint:"string"},{flag:"--preserve-status",type:"boolean"},{flag:"--foreground",type:"boolean"}],needsArgs:!0,minArgs:2};export{I as a,T as b};
@@ -0,0 +1,10 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{a as d}from"./chunk-SX2HC7SO.js";import{a as n,b as i}from"./chunk-SY4HAUHP.js";import{a,b as l}from"./chunk-QAYAQNCG.js";var u={name:"sleep",summary:"delay for a specified amount of time",usage:"sleep NUMBER[SUFFIX]",description:`Pause for NUMBER seconds. SUFFIX may be:
3
+ s - seconds (default)
4
+ m - minutes
5
+ h - hours
6
+ d - days
7
+
8
+ NUMBER may be a decimal number.`,options:[" --help display this help and exit"]},m=36e5,h={name:"sleep",async execute(r,s){if(l(r))return a(u);if(r.length===0)return{stdout:"",stderr:`sleep: missing operand
9
+ `,exitCode:1};let t=0;for(let e of r){let o=d(e);if(o===null)return{stdout:"",stderr:`sleep: invalid time interval '${e}'
10
+ `,exitCode:1};t+=o}return t>m&&(t=m),s.signal?.aborted?{stdout:"",stderr:"",exitCode:0}:(s.sleep?await s.sleep(t):s.signal?await new Promise(e=>{let o=()=>{i(p),e()},p=n(()=>{s.signal?.removeEventListener("abort",o),e()},t);s.signal?.addEventListener("abort",o,{once:!0})}):await new Promise(e=>n(e,t)),{stdout:"",stderr:"",exitCode:0})}},b={name:"sleep",flags:[],needsArgs:!0};export{h as a,b};
@@ -0,0 +1,7 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ var F={name:"seq",async execute(r){let d=`
3
+ `,f=!1,s=[],t=0;for(;t<r.length;){let e=r[t];if(e==="-s"&&t+1<r.length){d=r[t+1],t+=2;continue}if(e==="-w"){f=!0,t++;continue}if(e==="--"){t++;break}if(e.startsWith("-")&&e!=="-"){if(e.startsWith("-s")&&e.length>2){d=e.slice(2),t++;continue}if((e==="-ws"||e==="-sw")&&(f=!0,t+1<r.length)){d=r[t+1],t+=2;continue}}s.push(e),t++}for(;t<r.length;)s.push(r[t]),t++;if(s.length===0)return{stdout:"",stderr:`seq: missing operand
4
+ `,exitCode:1};let l=1,o=1,a;if(s.length===1?a=parseFloat(s[0]):s.length===2?(l=parseFloat(s[0]),a=parseFloat(s[1])):(l=parseFloat(s[0]),o=parseFloat(s[1]),a=parseFloat(s[2])),Number.isNaN(l)||Number.isNaN(o)||Number.isNaN(a))return{stdout:"",stderr:`seq: invalid floating point argument: '${s.find(n=>Number.isNaN(parseFloat(n)))}'
5
+ `,exitCode:1};if(o===0)return{stdout:"",stderr:`seq: invalid Zero increment value: '0'
6
+ `,exitCode:1};let i=[],h=e=>{let n=String(e),u=n.indexOf(".");return u===-1?0:n.length-u-1},c=Math.max(h(l),h(o),h(a)),p=1e5,g=0;if(o>0)for(let e=l;e<=a+1e-10&&!(g++>p);e+=o)i.push(c>0?e.toFixed(c):String(Math.round(e)));else for(let e=l;e>=a-1e-10&&!(g++>p);e+=o)i.push(c>0?e.toFixed(c):String(Math.round(e)));if(f&&i.length>0){let e=Math.max(...i.map(n=>n.replace("-","").length));for(let n=0;n<i.length;n++){let u=i[n].startsWith("-"),x=(u?i[n].slice(1):i[n]).padStart(e,"0");i[n]=u?`-${x}`:x}}let m=i.join(d);return{stdout:m?`${m}
7
+ `:"",stderr:"",exitCode:0}}},b={name:"seq",flags:[{flag:"-s",type:"value",valueHint:"string"},{flag:"-w",type:"boolean"}],needsArgs:!0};export{F as a,b};
@@ -0,0 +1,21 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{c as u}from"./chunk-XEKXHOPO.js";import{a as S}from"./chunk-FOCWZZDE.js";import{a as y}from"./chunk-QIQMJJZ4.js";import{a as m,b as C}from"./chunk-QAYAQNCG.js";var b={name:"tr",summary:"translate or delete characters",usage:"tr [OPTION]... SET1 [SET2]",options:["-c, -C, --complement use the complement of SET1","-d, --delete delete characters in SET1","-s, --squeeze-repeats squeeze repeated characters"," --help display this help and exit"],description:`SET syntax:
3
+ a-z character range
4
+ [:alnum:] all letters and digits
5
+ [:alpha:] all letters
6
+ [:digit:] all digits
7
+ [:lower:] all lowercase letters
8
+ [:upper:] all uppercase letters
9
+ [:space:] all whitespace
10
+ [:blank:] horizontal whitespace
11
+ [:punct:] all punctuation
12
+ [:print:] all printable characters
13
+ [:graph:] all printable characters except space
14
+ [:cntrl:] all control characters
15
+ [:xdigit:] all hexadecimal digits
16
+ \\n, \\t, \\r escape sequences`},w=new Map([["[:alnum:]","ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"],["[:alpha:]","ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"],["[:blank:]"," "],["[:cntrl:]",Array.from({length:32},(r,o)=>String.fromCharCode(o)).join("").concat("\x7F")],["[:digit:]","0123456789"],["[:graph:]",Array.from({length:94},(r,o)=>String.fromCharCode(33+o)).join("")],["[:lower:]","abcdefghijklmnopqrstuvwxyz"],["[:print:]",Array.from({length:95},(r,o)=>String.fromCharCode(32+o)).join("")],["[:punct:]","!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~"],["[:space:]",`
17
+ \r\f\v`],["[:upper:]","ABCDEFGHIJKLMNOPQRSTUVWXYZ"],["[:xdigit:]","0123456789ABCDEFabcdef"]]);function x(r){let o="",e=0;for(;e<r.length;){if(r[e]==="["&&r[e+1]===":"){let a=!1;for(let[c,l]of w)if(r.slice(e).startsWith(c)){o+=l,e+=c.length,a=!0;break}if(a)continue}if(r[e]==="\\"&&e+1<r.length){let a=r[e+1];a==="n"?o+=`
18
+ `:a==="t"?o+=" ":a==="r"?o+="\r":o+=a,e+=2;continue}if(e+2<r.length&&r[e+1]==="-"){let a=r.charCodeAt(e),c=r.charCodeAt(e+2);if(c-a>65536)throw new Error(`tr: character range too large: '${r[e]}-${r[e+2]}'`);for(let l=a;l<=c;l++)o+=String.fromCharCode(l);e+=3;continue}o+=r[e],e++}return o}var z={complement:{short:"c",long:"complement",type:"boolean"},complementUpper:{short:"C",type:"boolean"},delete:{short:"d",long:"delete",type:"boolean"},squeeze:{short:"s",long:"squeeze-repeats",type:"boolean"}},M={name:"tr",async execute(r,o){if(C(r))return m(b);let e=y("tr",r,z);if(!e.ok)return e.error;let a=e.result.flags.complement||e.result.flags.complementUpper,c=e.result.flags.delete,l=e.result.flags.squeeze,p=e.result.positional;if(p.length<1)return{stdout:"",stderr:`tr: missing operand
19
+ `,exitCode:1};if(!c&&!l&&p.length<2)return{stdout:"",stderr:`tr: missing operand after SET1
20
+ `,exitCode:1};let d,s;try{d=x(p[0]),s=p.length>1?x(p[1]):""}catch(n){return{stdout:"",stderr:`${S(n.message)}
21
+ `,exitCode:1}}let g=u(o.stdin),h=n=>{let t=d.includes(n);return a?!t:t},i="";if(c)for(let n of g)h(n)||(i+=n);else if(l&&p.length===1){let n="";for(let t of g)h(t)&&t===n||(i+=t,n=t)}else{if(a){let n=s.length>0?s[s.length-1]:"";for(let t of g)d.includes(t)?i+=t:i+=n}else{let n=new Map;for(let t=0;t<d.length;t++){let f=t<s.length?s[t]:s[s.length-1];n.set(d[t],f)}for(let t of g)i+=n.get(t)??t}if(l){let n="",t="";for(let f of i)s.includes(f)&&f===t||(n+=f,t=f);i=n}}return{stdout:i,stderr:"",exitCode:0}}},k={name:"tr",flags:[{flag:"-c",type:"boolean"},{flag:"-C",type:"boolean"},{flag:"-d",type:"boolean"},{flag:"-s",type:"boolean"}],stdinType:"text",needsArgs:!0};export{M as a,k as b};
@@ -0,0 +1,9 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{a as p}from"./chunk-FOCWZZDE.js";import{a as m,b as g,c as h}from"./chunk-QAYAQNCG.js";var y={name:"ln",summary:"make links between files",usage:"ln [OPTIONS] TARGET LINK_NAME",options:["-s create a symbolic link instead of a hard link","-f remove existing destination files","-n treat LINK_NAME as a normal file if it is a symbolic link to a directory","-v print name of each linked file"," --help display this help and exit"]},v={name:"ln",async execute(n,s){if(g(n))return m(y);let r=!1,a=!1,f=!1,t=0;for(;t<n.length&&n[t].startsWith("-");){let e=n[t];if(e==="-s"||e==="--symbolic")r=!0,t++;else if(e==="-f"||e==="--force")a=!0,t++;else if(e==="-v"||e==="--verbose")f=!0,t++;else if(e==="-n"||e==="--no-dereference")t++;else if(/^-[sfvn]+$/.test(e))e.includes("s")&&(r=!0),e.includes("f")&&(a=!0),e.includes("v")&&(f=!0),t++;else if(e==="--"){t++;break}else return h("ln",e)}let d=n.slice(t);if(d.length<2)return{stdout:"",stderr:`ln: missing file operand
3
+ `,exitCode:1};let i=d[0],l=d[1],o=s.fs.resolvePath(s.cwd,l);if(await s.fs.exists(o))if(a)try{await s.fs.rm(o,{force:!0})}catch{return{stdout:"",stderr:`ln: cannot remove '${l}': Permission denied
4
+ `,exitCode:1}}else return{stdout:"",stderr:`ln: failed to create ${r?"symbolic ":""}link '${l}': File exists
5
+ `,exitCode:1};try{if(r)await s.fs.symlink(i,o);else{let e=s.fs.resolvePath(s.cwd,i);if(!await s.fs.exists(e))return{stdout:"",stderr:`ln: failed to access '${i}': No such file or directory
6
+ `,exitCode:1};await s.fs.link(e,o)}}catch(e){let u=e;return u.message.includes("EPERM")?{stdout:"",stderr:`ln: '${i}': hard link not allowed for directory
7
+ `,exitCode:1}:{stdout:"",stderr:`ln: ${p(u.message)}
8
+ `,exitCode:1}}let c="";return f&&(c=`'${l}' -> '${i}'
9
+ `),{stdout:c,stderr:"",exitCode:0}}},$={name:"ln",flags:[{flag:"-s",type:"boolean"},{flag:"-f",type:"boolean"},{flag:"-n",type:"boolean"},{flag:"-v",type:"boolean"}],needsArgs:!0,minArgs:2};export{v as a,$ as b};
@@ -0,0 +1,2 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{a as l,b as n,d as s}from"./chunk-PDUL32DM.js";import{a,b as i}from"./chunk-QAYAQNCG.js";var m={name:"tail",summary:"output the last part of files",usage:"tail [OPTION]... [FILE]...",options:["-c, --bytes=NUM print the last NUM bytes","-n, --lines=NUM print the last NUM lines (default 10)","-n +NUM print starting from line NUM","-q, --quiet never print headers giving file names","-v, --verbose always print headers giving file names"," --help display this help and exit"]},d={name:"tail",async execute(t,r){if(i(t))return a(m);let e=l(t,"tail");if(!e.ok)return e.error;let{lines:o,bytes:p,fromLine:f}=e.options;return n(r,e.options,"tail",u=>s(u,o,p,f??!1))}},c={name:"tail",flags:[{flag:"-n",type:"value",valueHint:"number"},{flag:"-c",type:"value",valueHint:"number"},{flag:"-q",type:"boolean"},{flag:"-v",type:"boolean"}],stdinType:"text",needsFiles:!0};export{d as a,c as b};