just-bash 3.2.0 → 3.4.0

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 (288) hide show
  1. package/CHANGELOG.md +71 -0
  2. package/README.md +47 -0
  3. package/dist/ast/types.d.ts +4 -1
  4. package/dist/bin/chunks/{awk2-7UZLEPVX.js → awk2-DZN2ZRSE.js} +1 -1
  5. package/dist/bin/{shell/chunks/base64-W6FVFNXJ.js → chunks/base64-TP4NUOEB.js} +1 -1
  6. package/dist/bin/chunks/{cat-5YECZSFQ.js → cat-A3REFE6L.js} +1 -1
  7. package/dist/bin/{shell/chunks/chmod-45TMYSW2.js → chunks/chmod-PHPDPTZD.js} +1 -1
  8. package/dist/bin/{shell/chunks/chunk-DSZQ22OX.js → chunks/chunk-35BSNGJK.js} +1 -1
  9. package/dist/bin/{shell/chunks/chunk-BWRQ5HYX.js → chunks/chunk-3DCUOX7D.js} +1 -1
  10. package/dist/bin/{shell/chunks/chunk-OKU677H3.js → chunks/chunk-57BWX3A3.js} +1 -1
  11. package/dist/bin/chunks/{chunk-QF7PPON7.js → chunk-5SR55TXB.js} +10 -10
  12. package/dist/bin/{shell/chunks/chunk-XAAXPEOP.js → chunks/chunk-62NF3462.js} +1 -1
  13. package/dist/bin/{shell/chunks/chunk-3OYRDLJJ.js → chunks/chunk-6KTOOQK6.js} +1 -1
  14. package/dist/bin/chunks/chunk-6WNZWDBA.js +12 -0
  15. package/dist/bin/chunks/{chunk-QK6BXSHU.js → chunk-7NMBLWZ5.js} +1 -1
  16. package/dist/bin/chunks/{chunk-W4U4QOZF.js → chunk-BPMGKB5E.js} +1 -1
  17. package/dist/bin/{shell/chunks/chunk-NGD6G5ZG.js → chunks/chunk-BXDEO6VY.js} +1 -1
  18. package/dist/bin/chunks/{chunk-XBB73LFB.js → chunk-CMTQFWZK.js} +2 -2
  19. package/dist/bin/chunks/{chunk-ZXIW4JPL.js → chunk-DX5LO7JF.js} +1 -1
  20. package/dist/bin/chunks/{chunk-SSK3N7FN.js → chunk-EJIZDPMG.js} +1 -1
  21. package/dist/bin/chunks/{chunk-PQPFDJFF.js → chunk-FC5CC5UP.js} +1 -1
  22. package/dist/bin/chunks/chunk-FE6GSISP.js +22 -0
  23. package/dist/bin/chunks/{chunk-VTAIIBJT.js → chunk-GE5ERIO2.js} +1 -1
  24. package/dist/bin/{shell/chunks/chunk-NQQ3X7MZ.js → chunks/chunk-GGPUS2B4.js} +1 -1
  25. package/dist/bin/chunks/{chunk-WWOUFMMY.js → chunk-IHS3YLRI.js} +1 -1
  26. package/dist/bin/chunks/{chunk-3HUI54BW.js → chunk-KHS7PCAP.js} +2 -2
  27. package/dist/bin/chunks/chunk-KP2UH5CJ.js +22 -0
  28. package/dist/bin/chunks/{chunk-B7RRNV3A.js → chunk-MLJZPRDV.js} +1 -1
  29. package/dist/bin/chunks/chunk-MOCKUJD6.js +21 -0
  30. package/dist/bin/{shell/chunks/chunk-TPU3OX2A.js → chunks/chunk-NFYXRUSI.js} +1 -1
  31. package/dist/bin/{shell/chunks/chunk-IAAPXDHN.js → chunks/chunk-NWBQ75GZ.js} +1 -1
  32. package/dist/bin/chunks/{chunk-YMELOXDK.js → chunk-O5R7J45W.js} +8 -8
  33. package/dist/bin/chunks/{chunk-7I6MNC5I.js → chunk-OD2SHTFL.js} +1 -1
  34. package/dist/bin/chunks/{chunk-BNYIXXC2.js → chunk-ODCVIRIN.js} +1 -1
  35. package/dist/bin/{shell/chunks/chunk-NJ67YJRE.js → chunks/chunk-ODPB5AH7.js} +1 -1
  36. package/dist/bin/chunks/chunk-QUWWWM4E.js +276 -0
  37. package/dist/bin/chunks/{chunk-JQER3HUP.js → chunk-ROFYAVPF.js} +2 -2
  38. package/dist/bin/chunks/chunk-SHAOH2UJ.js +5 -0
  39. package/dist/bin/chunks/{chunk-PKWK3LQM.js → chunk-SOKKZSUV.js} +1 -1
  40. package/dist/bin/{shell/chunks/chunk-WSLBBXPJ.js → chunks/chunk-TIYIKCEZ.js} +1 -1
  41. package/dist/bin/chunks/{chunk-4SQKKW2M.js → chunk-TKBTWIXO.js} +1 -1
  42. package/dist/bin/{shell/chunks/chunk-VY2K25J4.js → chunks/chunk-TOTKK2XI.js} +1 -1
  43. package/dist/bin/{shell/chunks/chunk-X63MJBLH.js → chunks/chunk-TY77F4UM.js} +1 -1
  44. package/dist/bin/chunks/{chunk-CB4SODHK.js → chunk-XBX7KFWK.js} +19 -19
  45. package/dist/bin/{shell/chunks/chunk-GEUCQ4AB.js → chunks/chunk-XG7YUZ3R.js} +1 -1
  46. package/dist/bin/chunks/chunk-YABXNPH6.js +65 -0
  47. package/dist/bin/{shell/chunks/chunk-TL4JI2SL.js → chunks/chunk-YB3A42T5.js} +17 -18
  48. package/dist/bin/chunks/{chunk-MZM7RVYU.js → chunk-YBTJPT3R.js} +1 -1
  49. package/dist/bin/chunks/{chunk-X5VUGFUL.js → chunk-Z7QCL4IA.js} +1 -1
  50. package/dist/bin/chunks/{echo-4OUEL7QB.js → echo-NYDCCFWB.js} +1 -1
  51. package/dist/bin/{shell/chunks/expr-56X7LYOS.js → chunks/expr-FAB3XEIB.js} +1 -1
  52. package/dist/bin/{shell/chunks/file-SQSOBJLR.js → chunks/file-ZHL2YACR.js} +1 -1
  53. package/dist/bin/chunks/{find-XY2NTAT5.js → find-6DH6TRDN.js} +1 -1
  54. package/dist/bin/chunks/{flag-coverage-WGSE667D.js → flag-coverage-SPPGTKG3.js} +1 -1
  55. package/dist/bin/{shell/chunks/grep-CMT2H2S7.js → chunks/grep-FBVRTH4M.js} +1 -1
  56. package/dist/bin/chunks/{gzip-DJSFJOY6.js → gzip-AWQGRTSF.js} +1 -1
  57. package/dist/bin/{shell/chunks/head-KPRH4HKC.js → chunks/head-A7CPWX7R.js} +1 -1
  58. package/dist/bin/{shell/chunks/html-to-markdown-WUBAMB4O.js → chunks/html-to-markdown-EMODJ24M.js} +1 -1
  59. package/dist/bin/chunks/{jq-ACCMBTSD.js → jq-DXL4NMI5.js} +1 -1
  60. package/dist/bin/{shell/chunks/js-exec-4KNUPGHA.js → chunks/js-exec-BFLXGNPQ.js} +1 -1
  61. package/dist/bin/chunks/js-exec-worker.js +56 -20
  62. package/dist/bin/chunks/{ls-FTHYNINH.js → ls-R6DAGGBH.js} +1 -1
  63. package/dist/bin/chunks/{od-A7CW5RMS.js → od-ZPR6FUOW.js} +1 -1
  64. package/dist/bin/{shell/chunks/paste-YJLYVJMP.js → chunks/paste-RQKXCKQO.js} +1 -1
  65. package/dist/bin/chunks/{printf-F2KOCULO.js → printf-CNXNRQ3I.js} +1 -1
  66. package/dist/bin/chunks/python3-WKVKCO33.js +14 -0
  67. package/dist/bin/{shell/chunks/rg-JRKJ6I4X.js → chunks/rg-34TWIR7N.js} +1 -1
  68. package/dist/bin/{shell/chunks/sed-QJ2LNV2N.js → chunks/sed-SW74NKGU.js} +1 -1
  69. package/dist/bin/{shell/chunks/sleep-FUDWGDCE.js → chunks/sleep-J2AVORMB.js} +1 -1
  70. package/dist/bin/{shell/chunks/split-7IYQYKOW.js → chunks/split-EDDYGW4A.js} +1 -1
  71. package/dist/bin/chunks/{sqlite3-ZXF6BGDW.js → sqlite3-AZ27WWV7.js} +1 -1
  72. package/dist/bin/{shell/chunks/stat-Y5D3VPLG.js → chunks/stat-XNGV2W6W.js} +1 -1
  73. package/dist/bin/{shell/chunks/tail-QISQLA3I.js → chunks/tail-H2WOZSEI.js} +1 -1
  74. package/dist/bin/chunks/{tar-TB2XWXF6.js → tar-MZP7QXR4.js} +1 -1
  75. package/dist/bin/{shell/chunks/timeout-TDOV6JDA.js → chunks/timeout-GH6S72QX.js} +1 -1
  76. package/dist/bin/chunks/{tr-AR6EK7JH.js → tr-RVCBERJ4.js} +1 -1
  77. package/dist/bin/chunks/undici-CKF2L2IP.js +141 -0
  78. package/dist/bin/chunks/worker.js +17 -1
  79. package/dist/bin/chunks/{xan-D6US4ZGL.js → xan-BSNJF6SH.js} +1 -1
  80. package/dist/bin/chunks/{xan-view-QGKWT354.js → xan-view-H3LNQ72O.js} +1 -1
  81. package/dist/bin/chunks/{yq-EYV7HLKK.js → yq-GNMXK6OP.js} +1 -1
  82. package/dist/bin/just-bash.js +396 -394
  83. package/dist/bin/shell/chunks/{awk2-7UZLEPVX.js → awk2-DZN2ZRSE.js} +1 -1
  84. package/dist/bin/{chunks/base64-W6FVFNXJ.js → shell/chunks/base64-TP4NUOEB.js} +1 -1
  85. package/dist/bin/shell/chunks/{cat-5YECZSFQ.js → cat-A3REFE6L.js} +1 -1
  86. package/dist/bin/{chunks/chmod-45TMYSW2.js → shell/chunks/chmod-PHPDPTZD.js} +1 -1
  87. package/dist/bin/{chunks/chunk-DSZQ22OX.js → shell/chunks/chunk-35BSNGJK.js} +1 -1
  88. package/dist/bin/{chunks/chunk-BWRQ5HYX.js → shell/chunks/chunk-3DCUOX7D.js} +1 -1
  89. package/dist/bin/{chunks/chunk-OKU677H3.js → shell/chunks/chunk-57BWX3A3.js} +1 -1
  90. package/dist/bin/shell/chunks/{chunk-QF7PPON7.js → chunk-5SR55TXB.js} +10 -10
  91. package/dist/bin/{chunks/chunk-XAAXPEOP.js → shell/chunks/chunk-62NF3462.js} +1 -1
  92. package/dist/bin/{chunks/chunk-3OYRDLJJ.js → shell/chunks/chunk-6KTOOQK6.js} +1 -1
  93. package/dist/bin/shell/chunks/chunk-6WNZWDBA.js +12 -0
  94. package/dist/bin/shell/chunks/{chunk-QK6BXSHU.js → chunk-7NMBLWZ5.js} +1 -1
  95. package/dist/bin/shell/chunks/{chunk-W4U4QOZF.js → chunk-BPMGKB5E.js} +1 -1
  96. package/dist/bin/{chunks/chunk-NGD6G5ZG.js → shell/chunks/chunk-BXDEO6VY.js} +1 -1
  97. package/dist/bin/shell/chunks/{chunk-XBB73LFB.js → chunk-CMTQFWZK.js} +2 -2
  98. package/dist/bin/shell/chunks/{chunk-ZXIW4JPL.js → chunk-DX5LO7JF.js} +1 -1
  99. package/dist/bin/shell/chunks/{chunk-SSK3N7FN.js → chunk-EJIZDPMG.js} +1 -1
  100. package/dist/bin/shell/chunks/{chunk-PQPFDJFF.js → chunk-FC5CC5UP.js} +1 -1
  101. package/dist/bin/shell/chunks/chunk-FE6GSISP.js +22 -0
  102. package/dist/bin/shell/chunks/{chunk-VTAIIBJT.js → chunk-GE5ERIO2.js} +1 -1
  103. package/dist/bin/{chunks/chunk-NQQ3X7MZ.js → shell/chunks/chunk-GGPUS2B4.js} +1 -1
  104. package/dist/bin/shell/chunks/{chunk-WWOUFMMY.js → chunk-IHS3YLRI.js} +1 -1
  105. package/dist/bin/shell/chunks/{chunk-3HUI54BW.js → chunk-KHS7PCAP.js} +2 -2
  106. package/dist/bin/shell/chunks/chunk-KP2UH5CJ.js +22 -0
  107. package/dist/bin/shell/chunks/{chunk-B7RRNV3A.js → chunk-MLJZPRDV.js} +1 -1
  108. package/dist/bin/shell/chunks/chunk-MOCKUJD6.js +21 -0
  109. package/dist/bin/{chunks/chunk-TPU3OX2A.js → shell/chunks/chunk-NFYXRUSI.js} +1 -1
  110. package/dist/bin/{chunks/chunk-IAAPXDHN.js → shell/chunks/chunk-NWBQ75GZ.js} +1 -1
  111. package/dist/bin/shell/chunks/{chunk-YMELOXDK.js → chunk-O5R7J45W.js} +8 -8
  112. package/dist/bin/shell/chunks/{chunk-7I6MNC5I.js → chunk-OD2SHTFL.js} +1 -1
  113. package/dist/bin/shell/chunks/{chunk-BNYIXXC2.js → chunk-ODCVIRIN.js} +1 -1
  114. package/dist/bin/{chunks/chunk-NJ67YJRE.js → shell/chunks/chunk-ODPB5AH7.js} +1 -1
  115. package/dist/bin/shell/chunks/chunk-QUWWWM4E.js +276 -0
  116. package/dist/bin/shell/chunks/{chunk-JQER3HUP.js → chunk-ROFYAVPF.js} +2 -2
  117. package/dist/bin/shell/chunks/chunk-SHAOH2UJ.js +5 -0
  118. package/dist/bin/shell/chunks/{chunk-PKWK3LQM.js → chunk-SOKKZSUV.js} +1 -1
  119. package/dist/bin/{chunks/chunk-WSLBBXPJ.js → shell/chunks/chunk-TIYIKCEZ.js} +1 -1
  120. package/dist/bin/shell/chunks/{chunk-4SQKKW2M.js → chunk-TKBTWIXO.js} +1 -1
  121. package/dist/bin/{chunks/chunk-VY2K25J4.js → shell/chunks/chunk-TOTKK2XI.js} +1 -1
  122. package/dist/bin/{chunks/chunk-X63MJBLH.js → shell/chunks/chunk-TY77F4UM.js} +1 -1
  123. package/dist/bin/shell/chunks/{chunk-CB4SODHK.js → chunk-XBX7KFWK.js} +19 -19
  124. package/dist/bin/{chunks/chunk-GEUCQ4AB.js → shell/chunks/chunk-XG7YUZ3R.js} +1 -1
  125. package/dist/bin/shell/chunks/chunk-YABXNPH6.js +65 -0
  126. package/dist/bin/{chunks/chunk-TL4JI2SL.js → shell/chunks/chunk-YB3A42T5.js} +17 -18
  127. package/dist/bin/shell/chunks/{chunk-MZM7RVYU.js → chunk-YBTJPT3R.js} +1 -1
  128. package/dist/bin/shell/chunks/{chunk-X5VUGFUL.js → chunk-Z7QCL4IA.js} +1 -1
  129. package/dist/bin/shell/chunks/{echo-4OUEL7QB.js → echo-NYDCCFWB.js} +1 -1
  130. package/dist/bin/{chunks/expr-56X7LYOS.js → shell/chunks/expr-FAB3XEIB.js} +1 -1
  131. package/dist/bin/{chunks/file-SQSOBJLR.js → shell/chunks/file-ZHL2YACR.js} +1 -1
  132. package/dist/bin/shell/chunks/{find-XY2NTAT5.js → find-6DH6TRDN.js} +1 -1
  133. package/dist/bin/shell/chunks/{flag-coverage-WGSE667D.js → flag-coverage-SPPGTKG3.js} +1 -1
  134. package/dist/bin/{chunks/grep-CMT2H2S7.js → shell/chunks/grep-FBVRTH4M.js} +1 -1
  135. package/dist/bin/shell/chunks/{gzip-DJSFJOY6.js → gzip-AWQGRTSF.js} +1 -1
  136. package/dist/bin/{chunks/head-KPRH4HKC.js → shell/chunks/head-A7CPWX7R.js} +1 -1
  137. package/dist/bin/{chunks/html-to-markdown-WUBAMB4O.js → shell/chunks/html-to-markdown-EMODJ24M.js} +1 -1
  138. package/dist/bin/shell/chunks/{jq-ACCMBTSD.js → jq-DXL4NMI5.js} +1 -1
  139. package/dist/bin/{chunks/js-exec-4KNUPGHA.js → shell/chunks/js-exec-BFLXGNPQ.js} +1 -1
  140. package/dist/bin/shell/chunks/{ls-FTHYNINH.js → ls-R6DAGGBH.js} +1 -1
  141. package/dist/bin/shell/chunks/{od-A7CW5RMS.js → od-ZPR6FUOW.js} +1 -1
  142. package/dist/bin/{chunks/paste-YJLYVJMP.js → shell/chunks/paste-RQKXCKQO.js} +1 -1
  143. package/dist/bin/shell/chunks/{printf-F2KOCULO.js → printf-CNXNRQ3I.js} +1 -1
  144. package/dist/bin/shell/chunks/python3-WKVKCO33.js +14 -0
  145. package/dist/bin/{chunks/rg-JRKJ6I4X.js → shell/chunks/rg-34TWIR7N.js} +1 -1
  146. package/dist/bin/{chunks/sed-QJ2LNV2N.js → shell/chunks/sed-SW74NKGU.js} +1 -1
  147. package/dist/bin/{chunks/sleep-FUDWGDCE.js → shell/chunks/sleep-J2AVORMB.js} +1 -1
  148. package/dist/bin/{chunks/split-7IYQYKOW.js → shell/chunks/split-EDDYGW4A.js} +1 -1
  149. package/dist/bin/shell/chunks/{sqlite3-ZXF6BGDW.js → sqlite3-AZ27WWV7.js} +1 -1
  150. package/dist/bin/{chunks/stat-Y5D3VPLG.js → shell/chunks/stat-XNGV2W6W.js} +1 -1
  151. package/dist/bin/{chunks/tail-QISQLA3I.js → shell/chunks/tail-H2WOZSEI.js} +1 -1
  152. package/dist/bin/shell/chunks/{tar-TB2XWXF6.js → tar-MZP7QXR4.js} +1 -1
  153. package/dist/bin/{chunks/timeout-TDOV6JDA.js → shell/chunks/timeout-GH6S72QX.js} +1 -1
  154. package/dist/bin/shell/chunks/{tr-AR6EK7JH.js → tr-RVCBERJ4.js} +1 -1
  155. package/dist/bin/shell/chunks/undici-CKF2L2IP.js +141 -0
  156. package/dist/bin/shell/chunks/{xan-D6US4ZGL.js → xan-BSNJF6SH.js} +1 -1
  157. package/dist/bin/shell/chunks/{xan-view-QGKWT354.js → xan-view-H3LNQ72O.js} +1 -1
  158. package/dist/bin/shell/chunks/{yq-EYV7HLKK.js → yq-GNMXK6OP.js} +1 -1
  159. package/dist/bin/shell/shell.js +391 -389
  160. package/dist/bundle/browser.js +837 -824
  161. package/dist/bundle/chunks/{awk2-IPNBFNH2.js → awk2-IDCJYLV2.js} +1 -1
  162. package/dist/bundle/chunks/{base64-OXGTKKDA.js → base64-3XQZ3ADB.js} +1 -1
  163. package/dist/bundle/chunks/{cat-636HYSH4.js → cat-XWS72C47.js} +1 -1
  164. package/dist/bundle/chunks/{chmod-4CIOYX5Q.js → chmod-6FVWFWKL.js} +1 -1
  165. package/dist/bundle/chunks/{chunk-6IUGGJ2Y.js → chunk-264HW33U.js} +1 -1
  166. package/dist/bundle/chunks/{chunk-LGLR6TFP.js → chunk-2TLWENMK.js} +1 -1
  167. package/dist/bundle/chunks/{chunk-AMLHAS2N.js → chunk-4AKAIZPW.js} +9 -9
  168. package/dist/bundle/chunks/{chunk-FBXMKFE2.js → chunk-4HMWZAP7.js} +1 -1
  169. package/dist/bundle/chunks/{chunk-EAQUR2NP.js → chunk-4MPKG4PJ.js} +1 -1
  170. package/dist/bundle/chunks/{chunk-LJRVJXUI.js → chunk-4X2R47I5.js} +1 -1
  171. package/dist/bundle/chunks/{chunk-65Z4QURM.js → chunk-5GI2HJYO.js} +8 -8
  172. package/dist/bundle/chunks/{chunk-PJWSSENQ.js → chunk-6D2ZCRTO.js} +1 -1
  173. package/dist/bundle/chunks/chunk-6RK4AAB7.js +21 -0
  174. package/dist/bundle/chunks/chunk-73DVPW3C.js +20 -0
  175. package/dist/bundle/chunks/{chunk-6SHYIICL.js → chunk-AGH5UJJI.js} +2 -2
  176. package/dist/bundle/chunks/{chunk-RAHPENCM.js → chunk-CA7HMEGG.js} +1 -1
  177. package/dist/bundle/chunks/{chunk-SELXJ5KQ.js → chunk-CVMQI27W.js} +1 -1
  178. package/dist/bundle/chunks/{chunk-ORDZCFFT.js → chunk-CYCUGNN7.js} +1 -1
  179. package/dist/bundle/chunks/{chunk-UB6T3UHL.js → chunk-ENMIHC6G.js} +1 -1
  180. package/dist/bundle/chunks/{chunk-5KGKXQF6.js → chunk-EVJMYTCY.js} +2 -2
  181. package/dist/bundle/chunks/{chunk-JYQ6MII2.js → chunk-EZFSCUSP.js} +1 -1
  182. package/dist/bundle/chunks/{chunk-E3D4WVAH.js → chunk-FFNWVPYL.js} +1 -1
  183. package/dist/bundle/chunks/{chunk-MF4F4ZPP.js → chunk-GP3D65AC.js} +1 -1
  184. package/dist/bundle/chunks/{chunk-EWWPEE2G.js → chunk-HZYCWAEC.js} +17 -18
  185. package/dist/bundle/chunks/{chunk-QTLI5LUD.js → chunk-JQL34RLH.js} +1 -1
  186. package/dist/bundle/chunks/{chunk-JCPCQREJ.js → chunk-KBXRZGTY.js} +1 -1
  187. package/dist/bundle/chunks/{chunk-CN3HTJTZ.js → chunk-KESUKNUF.js} +1 -1
  188. package/dist/bundle/chunks/{chunk-XVL654YD.js → chunk-KVG5FR5F.js} +19 -19
  189. package/dist/bundle/chunks/{chunk-KKVPMNSS.js → chunk-LDCENVG4.js} +1 -1
  190. package/dist/bundle/chunks/chunk-M7DIEMEN.js +275 -0
  191. package/dist/bundle/chunks/{chunk-MAWVZWRK.js → chunk-MMSRUX6V.js} +1 -1
  192. package/dist/bundle/chunks/{chunk-INHMNORI.js → chunk-MP3NNO6W.js} +1 -1
  193. package/dist/bundle/chunks/{chunk-AI5LSBJC.js → chunk-QKQP2SCP.js} +1 -1
  194. package/dist/bundle/chunks/{chunk-OTYP7VVT.js → chunk-QNXJ5FEA.js} +1 -1
  195. package/dist/bundle/chunks/{chunk-K3XJ2WT4.js → chunk-QXYDKHGI.js} +1 -1
  196. package/dist/bundle/chunks/chunk-RT7ROXPF.js +4 -0
  197. package/dist/bundle/chunks/{chunk-WENIVVEE.js → chunk-TUNYNC46.js} +2 -2
  198. package/dist/bundle/chunks/chunk-UGU4ZDZA.js +11 -0
  199. package/dist/bundle/chunks/{chunk-D3W7DTI6.js → chunk-VPJHPG6G.js} +1 -1
  200. package/dist/bundle/chunks/{chunk-5HXWWNWH.js → chunk-VQCA62JK.js} +1 -1
  201. package/dist/bundle/chunks/{chunk-NNH4ERNJ.js → chunk-W4IV5QW4.js} +1 -1
  202. package/dist/bundle/chunks/{chunk-3DHFIWMM.js → chunk-XJWBSZIU.js} +1 -1
  203. package/dist/bundle/chunks/{chunk-VOSNSQE2.js → chunk-XOBSBDA5.js} +1 -1
  204. package/dist/bundle/chunks/chunk-XW6UBSKO.js +64 -0
  205. package/dist/bundle/chunks/{chunk-UK4BO5W3.js → chunk-XZZSXYTK.js} +1 -1
  206. package/dist/bundle/chunks/{echo-HZOVZAPR.js → echo-PLLZYM2L.js} +1 -1
  207. package/dist/bundle/chunks/{expr-SHRJJ4PX.js → expr-VKQHAJNO.js} +1 -1
  208. package/dist/bundle/chunks/{file-YC4YEI4P.js → file-WGI2QYXG.js} +1 -1
  209. package/dist/bundle/chunks/{find-DWWMZFO5.js → find-PM3TD7V4.js} +1 -1
  210. package/dist/bundle/chunks/{flag-coverage-THYQHOT3.js → flag-coverage-6LWPOTGE.js} +1 -1
  211. package/dist/bundle/chunks/{grep-S6SNTIHZ.js → grep-SAEHL7UZ.js} +1 -1
  212. package/dist/bundle/chunks/{gzip-BTI6CWY4.js → gzip-2SHFSHNB.js} +1 -1
  213. package/dist/bundle/chunks/{head-UCOA3VQC.js → head-RMKV5HCV.js} +1 -1
  214. package/dist/bundle/chunks/{html-to-markdown-NUF6QEX4.js → html-to-markdown-GEKF6U7Z.js} +1 -1
  215. package/dist/bundle/chunks/{jq-D6N4QCAJ.js → jq-MW2VEOCW.js} +1 -1
  216. package/dist/bundle/chunks/{js-exec-PNUEDFT5.js → js-exec-J4DLDAWY.js} +1 -1
  217. package/dist/bundle/chunks/js-exec-worker.js +56 -20
  218. package/dist/bundle/chunks/{od-YXD2NNIU.js → od-26HTHXXM.js} +1 -1
  219. package/dist/bundle/chunks/{paste-ZU3EODNI.js → paste-WIDT5N6N.js} +1 -1
  220. package/dist/bundle/chunks/{printf-QHD2JRWQ.js → printf-V42QCPHL.js} +1 -1
  221. package/dist/bundle/chunks/python3-4Q7M5CDT.js +13 -0
  222. package/dist/bundle/chunks/{rg-OUJZ5DH6.js → rg-IA4UE2UF.js} +1 -1
  223. package/dist/bundle/chunks/{sed-TZIPJOGL.js → sed-LSWWSQ6J.js} +1 -1
  224. package/dist/bundle/chunks/{sleep-VPYWSKDR.js → sleep-YMKR4HFQ.js} +1 -1
  225. package/dist/bundle/chunks/{split-KNDNAFPT.js → split-EATPU6Q7.js} +1 -1
  226. package/dist/bundle/chunks/{sqlite3-WWZJZW37.js → sqlite3-XXXHFJGP.js} +1 -1
  227. package/dist/bundle/chunks/{stat-MLNSW25G.js → stat-AKB6X3TV.js} +1 -1
  228. package/dist/bundle/chunks/{tail-G3W6PNG3.js → tail-OEM7DTYC.js} +1 -1
  229. package/dist/bundle/chunks/{tar-GLX6QUHW.js → tar-26DH77YN.js} +1 -1
  230. package/dist/bundle/chunks/{timeout-SYQCWBMZ.js → timeout-FOKHN3GQ.js} +1 -1
  231. package/dist/bundle/chunks/{tr-3KPFH3J4.js → tr-VUNRKFC3.js} +1 -1
  232. package/dist/bundle/chunks/undici-PSPBDOYF.js +140 -0
  233. package/dist/bundle/chunks/worker.js +17 -1
  234. package/dist/bundle/chunks/{xan-KKPV2TJ3.js → xan-LUEGYXLV.js} +1 -1
  235. package/dist/bundle/chunks/{xan-view-47P277LZ.js → xan-view-MDMZTFFI.js} +1 -1
  236. package/dist/bundle/chunks/{yq-ZGB3W46S.js → yq-B7E6UX7Y.js} +1 -1
  237. package/dist/bundle/index.cjs +1029 -1032
  238. package/dist/bundle/index.js +391 -389
  239. package/dist/commands/python3/worker.d.ts +1 -0
  240. package/dist/commands/query-engine/evaluator.d.ts +8 -0
  241. package/dist/fs/read-write-fs/read-write-fs.d.ts +42 -1
  242. package/dist/interpreter/builtin-dispatch.d.ts +9 -2
  243. package/dist/interpreter/builtins/eval.d.ts +7 -1
  244. package/dist/interpreter/control-flow.d.ts +1 -1
  245. package/dist/interpreter/fd-table.d.ts +130 -0
  246. package/dist/interpreter/functions.d.ts +3 -1
  247. package/dist/interpreter/helpers/word-matching.d.ts +0 -10
  248. package/dist/interpreter/interpreter.d.ts +7 -0
  249. package/dist/interpreter/numeric-fd-redirects.d.ts +8 -0
  250. package/dist/interpreter/process-substitution.d.ts +62 -0
  251. package/dist/interpreter/redirections.d.ts +33 -37
  252. package/dist/interpreter/subshell-group.d.ts +10 -2
  253. package/dist/interpreter/types.d.ts +38 -1
  254. package/dist/network/dns-pin.d.ts +11 -0
  255. package/dist/parser/expansion-parser.d.ts +3 -1
  256. package/dist/parser/lexer.d.ts +7 -9
  257. package/dist/parser/parser-substitution.d.ts +13 -4
  258. package/dist/parser/parser.d.ts +18 -4
  259. package/dist/parser/types.d.ts +6 -0
  260. package/dist/parser/word-parser.d.ts +2 -0
  261. package/dist/types.d.ts +13 -0
  262. package/package.json +21 -21
  263. package/dist/bin/chunks/chunk-46CDVHZ3.js +0 -5
  264. package/dist/bin/chunks/chunk-D3MUBZ4P.js +0 -65
  265. package/dist/bin/chunks/chunk-LGERQ5TD.js +0 -22
  266. package/dist/bin/chunks/chunk-LNFTLSWJ.js +0 -22
  267. package/dist/bin/chunks/chunk-P6NPCASY.js +0 -11
  268. package/dist/bin/chunks/chunk-PRKSLEHG.js +0 -291
  269. package/dist/bin/chunks/chunk-WYTPLN2M.js +0 -11
  270. package/dist/bin/chunks/python3-AYUQQRCR.js +0 -14
  271. package/dist/bin/chunks/undici-JES22UVU.js +0 -141
  272. package/dist/bin/shell/chunks/chunk-46CDVHZ3.js +0 -5
  273. package/dist/bin/shell/chunks/chunk-D3MUBZ4P.js +0 -65
  274. package/dist/bin/shell/chunks/chunk-LGERQ5TD.js +0 -22
  275. package/dist/bin/shell/chunks/chunk-LNFTLSWJ.js +0 -22
  276. package/dist/bin/shell/chunks/chunk-P6NPCASY.js +0 -11
  277. package/dist/bin/shell/chunks/chunk-PRKSLEHG.js +0 -291
  278. package/dist/bin/shell/chunks/chunk-WYTPLN2M.js +0 -11
  279. package/dist/bin/shell/chunks/python3-AYUQQRCR.js +0 -14
  280. package/dist/bin/shell/chunks/undici-JES22UVU.js +0 -141
  281. package/dist/bundle/chunks/chunk-NOPXHH6G.js +0 -290
  282. package/dist/bundle/chunks/chunk-T2RHALUC.js +0 -64
  283. package/dist/bundle/chunks/chunk-UBTKJ6MG.js +0 -4
  284. package/dist/bundle/chunks/chunk-VECGTAPW.js +0 -10
  285. package/dist/bundle/chunks/chunk-Y3DGIAIG.js +0 -21
  286. package/dist/bundle/chunks/chunk-YOUUMJLJ.js +0 -10
  287. package/dist/bundle/chunks/python3-QDNG2UXX.js +0 -13
  288. package/dist/bundle/chunks/undici-HCLAUJT3.js +0 -140
@@ -1,2 +1,2 @@
1
1
  import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
- import{a,b}from"./chunk-QTLI5LUD.js";import"./chunk-DLL7UR66.js";import"./chunk-AI5LSBJC.js";import"./chunk-XVL654YD.js";import"./chunk-LJRVJXUI.js";import"./chunk-UBTKJ6MG.js";import"./chunk-6D3WD6YU.js";import"./chunk-AH7VTVWU.js";import"./chunk-EFORKKSH.js";import"./chunk-GN6CQ3J4.js";import"./chunk-QAYAQNCG.js";import"./chunk-NCUTH6QL.js";export{a as awkCommand2,b as flagsForFuzzing};
2
+ import{a,b}from"./chunk-JQL34RLH.js";import"./chunk-DLL7UR66.js";import"./chunk-QKQP2SCP.js";import"./chunk-KVG5FR5F.js";import"./chunk-4X2R47I5.js";import"./chunk-RT7ROXPF.js";import"./chunk-6D3WD6YU.js";import"./chunk-AH7VTVWU.js";import"./chunk-EFORKKSH.js";import"./chunk-GN6CQ3J4.js";import"./chunk-QAYAQNCG.js";import"./chunk-NCUTH6QL.js";export{a as awkCommand2,b as flagsForFuzzing};
@@ -1,2 +1,2 @@
1
1
  import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
- import{a,b}from"./chunk-MF4F4ZPP.js";import"./chunk-CHHWTPDH.js";import"./chunk-LJRVJXUI.js";import"./chunk-UBTKJ6MG.js";import"./chunk-STHBFACM.js";import"./chunk-EFORKKSH.js";import"./chunk-GN6CQ3J4.js";import"./chunk-QIQMJJZ4.js";import"./chunk-QAYAQNCG.js";import"./chunk-NCUTH6QL.js";export{a as base64Command,b as flagsForFuzzing};
2
+ import{a,b}from"./chunk-GP3D65AC.js";import"./chunk-CHHWTPDH.js";import"./chunk-4X2R47I5.js";import"./chunk-RT7ROXPF.js";import"./chunk-STHBFACM.js";import"./chunk-EFORKKSH.js";import"./chunk-GN6CQ3J4.js";import"./chunk-QIQMJJZ4.js";import"./chunk-QAYAQNCG.js";import"./chunk-NCUTH6QL.js";export{a as base64Command,b as flagsForFuzzing};
@@ -1,2 +1,2 @@
1
1
  import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
- import{a,b}from"./chunk-INHMNORI.js";import"./chunk-CHHWTPDH.js";import"./chunk-LJRVJXUI.js";import"./chunk-UBTKJ6MG.js";import"./chunk-STHBFACM.js";import"./chunk-EFORKKSH.js";import"./chunk-GN6CQ3J4.js";import"./chunk-QIQMJJZ4.js";import"./chunk-QAYAQNCG.js";import"./chunk-NCUTH6QL.js";export{a as catCommand,b as flagsForFuzzing};
2
+ import{a,b}from"./chunk-MP3NNO6W.js";import"./chunk-CHHWTPDH.js";import"./chunk-4X2R47I5.js";import"./chunk-RT7ROXPF.js";import"./chunk-STHBFACM.js";import"./chunk-EFORKKSH.js";import"./chunk-GN6CQ3J4.js";import"./chunk-QIQMJJZ4.js";import"./chunk-QAYAQNCG.js";import"./chunk-NCUTH6QL.js";export{a as catCommand,b as flagsForFuzzing};
@@ -1,2 +1,2 @@
1
1
  import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
- import{a,b}from"./chunk-6IUGGJ2Y.js";import"./chunk-LJRVJXUI.js";import"./chunk-UBTKJ6MG.js";import"./chunk-AH7VTVWU.js";import"./chunk-IBRT3OJS.js";import"./chunk-YUSFCOM7.js";import"./chunk-EFORKKSH.js";import"./chunk-GN6CQ3J4.js";import"./chunk-FOCWZZDE.js";import"./chunk-QAYAQNCG.js";import"./chunk-NCUTH6QL.js";export{a as chmodCommand,b as flagsForFuzzing};
2
+ import{a,b}from"./chunk-264HW33U.js";import"./chunk-4X2R47I5.js";import"./chunk-RT7ROXPF.js";import"./chunk-AH7VTVWU.js";import"./chunk-IBRT3OJS.js";import"./chunk-YUSFCOM7.js";import"./chunk-EFORKKSH.js";import"./chunk-GN6CQ3J4.js";import"./chunk-FOCWZZDE.js";import"./chunk-QAYAQNCG.js";import"./chunk-NCUTH6QL.js";export{a as chmodCommand,b as flagsForFuzzing};
@@ -1,5 +1,5 @@
1
1
  import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
- import{a as w}from"./chunk-LJRVJXUI.js";import{d as b}from"./chunk-AH7VTVWU.js";import{d as S,e as F}from"./chunk-IBRT3OJS.js";import{a as v,b as $,c as y}from"./chunk-QAYAQNCG.js";var E={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"]},O={name:"chmod",async execute(e,a){if($(e))return v(E);if(e.length<2)return{stdout:"",stderr:`chmod: missing operand
2
+ import{a as w}from"./chunk-4X2R47I5.js";import{d as b}from"./chunk-AH7VTVWU.js";import{d as S,e as F}from"./chunk-IBRT3OJS.js";import{a as v,b as $,c as y}from"./chunk-QAYAQNCG.js";var E={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"]},O={name:"chmod",async execute(e,a){if($(e))return v(E);if(e.length<2)return{stdout:"",stderr:`chmod: missing operand
3
3
  `,exitCode:1};let i=!1,f=!1,n=0;for(;n<e.length&&e[n].startsWith("-");){let t=e[n];if(t==="-R"||t==="--recursive")i=!0,n++;else if(t==="-v"||t==="--verbose")f=!0,n++;else if(t==="--"){n++;break}else{if(/^[+-]?[rwxugo]+/.test(t)||/^\d+$/.test(t))break;if(/^-[Rv]+$/.test(t)){t.includes("R")&&(i=!0),t.includes("v")&&(f=!0),n++;continue}return y("chmod",t)}}if(e.length-n<2)return{stdout:"",stderr:`chmod: missing operand
4
4
  `,exitCode:1};let r=e[n],d=e.slice(n+1),o=/^[0-7]+$/.test(r),s;if(o)s=parseInt(r,8);else try{p(r,420)}catch{return{stdout:"",stderr:`chmod: invalid mode: '${r}'
5
5
  `,exitCode:1}}let u=new b(Math.min(a.limits.maxOutputSize,a.limits.maxStringLength),"chmod"),l="",c=!1;for(let t of d){let m=a.fs.resolvePath(a.cwd,t);try{let h;if(o&&s!==void 0)h=s;else{let g=await a.fs.stat(m);h=p(r,g.mode)}await a.fs.chmod(m,h),f&&u.append(`mode of '${t}' changed to ${h.toString(8).padStart(4,"0")}
@@ -1,5 +1,5 @@
1
1
  import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
- import{a as f}from"./chunk-LJRVJXUI.js";import{l as s}from"./chunk-EFORKKSH.js";import{a as u,d as b}from"./chunk-GN6CQ3J4.js";import{a as v,b as L,c as w}from"./chunk-QAYAQNCG.js";import C from"turndown";var M={name:"html-to-markdown",summary:"convert HTML to Markdown (BashEnv extension)",usage:"html-to-markdown [OPTION]... [FILE]",description:["Convert HTML content to Markdown format using the turndown library.","This is a non-standard BashEnv extension command, not available in regular bash.","","Read HTML from FILE or standard input and output Markdown to standard output.","Commonly used with curl to convert web pages:"," curl -s https://example.com | html-to-markdown","","Supported HTML elements:"," - Headings (h1-h6) \u2192 # Markdown headings"," - Paragraphs (p) \u2192 Plain text with blank lines"," - Links (a) \u2192 [text](url)"," - Images (img) \u2192 ![alt](src)"," - Bold/Strong \u2192 **text**"," - Italic/Em \u2192 _text_"," - Code (code, pre) \u2192 `inline` or fenced blocks"," - Lists (ul, ol, li) \u2192 - or 1. items"," - Blockquotes \u2192 > quoted text"," - Horizontal rules (hr) \u2192 ---"],options:["-b, --bullet=CHAR bullet character for unordered lists (-, +, or *)","-c, --code=FENCE fence style for code blocks (``` or ~~~)","-r, --hr=STRING string for horizontal rules (default: ---)"," --heading-style=STYLE"," heading style: 'atx' for # headings (default),"," 'setext' for underlined headings (h1/h2 only)"," --help display this help and exit"],examples:["echo '<h1>Hello</h1><p>World</p>' | html-to-markdown","html-to-markdown page.html","curl -s https://example.com | html-to-markdown > page.md"]},O={name:"html-to-markdown",async execute(i,o){if(L(i))return v(M);let d="-",a="```",c="---",k="atx",n=[];for(let e=0;e<i.length;e++){let t=i[e];if(t==="-b"||t==="--bullet")d=i[++e]??"-";else if(t.startsWith("--bullet="))d=t.slice(9);else if(t==="-c"||t==="--code")a=i[++e]??"```";else if(t.startsWith("--code="))a=t.slice(7);else if(t==="-r"||t==="--hr")c=i[++e]??"---";else if(t.startsWith("--hr="))c=t.slice(5);else if(t.startsWith("--heading-style=")){let h=t.slice(16);(h==="setext"||h==="atx")&&(k=h)}else if(t==="-")n.push("-");else{if(t.startsWith("--"))return w("html-to-markdown",t);if(t.startsWith("-"))return w("html-to-markdown",t);n.push(t)}}let r,l=Math.min(o.limits.maxInputBytes,o.limits.maxStringLength);if(n.length===0||n.length===1&&n[0]==="-"){if(o.stdin.length>l)throw new s(`html-to-markdown: input size limit exceeded (${l} bytes)`,"string_length");r=b(o.stdin)}else try{let e=o.fs.resolvePath(o.cwd,n[0]);if((await o.fs.stat(e)).size>l)throw new s(`html-to-markdown: input size limit exceeded (${l} bytes)`,"string_length");if(r=await o.fs.readFile(e),u(r)>l)throw new s(`html-to-markdown: input size limit exceeded (${l} bytes)`,"string_length")}catch(e){return f(e),{stdout:"",stderr:`html-to-markdown: ${n[0]}: No such file or directory
2
+ import{a as f}from"./chunk-4X2R47I5.js";import{l as s}from"./chunk-EFORKKSH.js";import{a as u,d as b}from"./chunk-GN6CQ3J4.js";import{a as v,b as L,c as w}from"./chunk-QAYAQNCG.js";import C from"turndown";var M={name:"html-to-markdown",summary:"convert HTML to Markdown (BashEnv extension)",usage:"html-to-markdown [OPTION]... [FILE]",description:["Convert HTML content to Markdown format using the turndown library.","This is a non-standard BashEnv extension command, not available in regular bash.","","Read HTML from FILE or standard input and output Markdown to standard output.","Commonly used with curl to convert web pages:"," curl -s https://example.com | html-to-markdown","","Supported HTML elements:"," - Headings (h1-h6) \u2192 # Markdown headings"," - Paragraphs (p) \u2192 Plain text with blank lines"," - Links (a) \u2192 [text](url)"," - Images (img) \u2192 ![alt](src)"," - Bold/Strong \u2192 **text**"," - Italic/Em \u2192 _text_"," - Code (code, pre) \u2192 `inline` or fenced blocks"," - Lists (ul, ol, li) \u2192 - or 1. items"," - Blockquotes \u2192 > quoted text"," - Horizontal rules (hr) \u2192 ---"],options:["-b, --bullet=CHAR bullet character for unordered lists (-, +, or *)","-c, --code=FENCE fence style for code blocks (``` or ~~~)","-r, --hr=STRING string for horizontal rules (default: ---)"," --heading-style=STYLE"," heading style: 'atx' for # headings (default),"," 'setext' for underlined headings (h1/h2 only)"," --help display this help and exit"],examples:["echo '<h1>Hello</h1><p>World</p>' | html-to-markdown","html-to-markdown page.html","curl -s https://example.com | html-to-markdown > page.md"]},O={name:"html-to-markdown",async execute(i,o){if(L(i))return v(M);let d="-",a="```",c="---",k="atx",n=[];for(let e=0;e<i.length;e++){let t=i[e];if(t==="-b"||t==="--bullet")d=i[++e]??"-";else if(t.startsWith("--bullet="))d=t.slice(9);else if(t==="-c"||t==="--code")a=i[++e]??"```";else if(t.startsWith("--code="))a=t.slice(7);else if(t==="-r"||t==="--hr")c=i[++e]??"---";else if(t.startsWith("--hr="))c=t.slice(5);else if(t.startsWith("--heading-style=")){let h=t.slice(16);(h==="setext"||h==="atx")&&(k=h)}else if(t==="-")n.push("-");else{if(t.startsWith("--"))return w("html-to-markdown",t);if(t.startsWith("-"))return w("html-to-markdown",t);n.push(t)}}let r,l=Math.min(o.limits.maxInputBytes,o.limits.maxStringLength);if(n.length===0||n.length===1&&n[0]==="-"){if(o.stdin.length>l)throw new s(`html-to-markdown: input size limit exceeded (${l} bytes)`,"string_length");r=b(o.stdin)}else try{let e=o.fs.resolvePath(o.cwd,n[0]);if((await o.fs.stat(e)).size>l)throw new s(`html-to-markdown: input size limit exceeded (${l} bytes)`,"string_length");if(r=await o.fs.readFile(e),u(r)>l)throw new s(`html-to-markdown: input size limit exceeded (${l} bytes)`,"string_length")}catch(e){return f(e),{stdout:"",stderr:`html-to-markdown: ${n[0]}: No such file or directory
3
3
  `,exitCode:1}}if(!r.trim())return{stdout:"",stderr:"",exitCode:0};if(!["-","+","*"].includes(d))return{stdout:"",stderr:`html-to-markdown: invalid bullet marker
4
4
  `,exitCode:1};if(a!=="```"&&a!=="~~~")return{stdout:"",stderr:`html-to-markdown: invalid code fence
5
5
  `,exitCode:1};let g=0,y=o.limits.maxLoopIterations;for(let e=0;e<r.length;e++)if(r.charCodeAt(e)===60&&++g>y)throw new s(`html-to-markdown: complexity limit exceeded (${y} tags)`,"iterations");o.executionScope?.consumeWork(g,"html-to-markdown tags");let p=u(r),m=Math.min(o.limits.maxStringLength,o.limits.maxOutputSize),x=4;if(p>Math.floor((m-1)/x))throw new s(`html-to-markdown: prospective output size limit exceeded (${m} bytes)`,"output_size");let B=p*x+1,S=o.executionScope?.reserveBytes("html input",p,"html-to-markdown"),z=o.executionScope?.reserveBytes("html prospective output",B,"html-to-markdown");try{let e=new C({bulletListMarker:d,codeBlockStyle:"fenced",fence:a,hr:c,headingStyle:k});e.remove(["script","style","footer"]);let t=e.turndown(r).trim();if(u(t)+1>m)throw new s(`html-to-markdown: output size limit exceeded (${m} bytes)`,"output_size");return{stdout:`${t}
@@ -1,15 +1,15 @@
1
1
  import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
- import{a as j}from"./chunk-UHHCL65P.js";import{a as S,b as k,d as N}from"./chunk-6D3WD6YU.js";import{l as w}from"./chunk-EFORKKSH.js";import{a as E}from"./chunk-GN6CQ3J4.js";import{a as V}from"./chunk-W5DWRFSU.js";import{a as Z,b as T}from"./chunk-QAYAQNCG.js";import{sprintf as $}from"sprintf-js";function X(e){let l="",n=0;for(;n<e.length;){let r=e[n];if(r<128){l+=String.fromCharCode(r),n++;continue}if((r&224)===192){if(n+1<e.length&&(e[n+1]&192)===128&&r>=194){let o=(r&31)<<6|e[n+1]&63;l+=String.fromCharCode(o),n+=2;continue}l+=String.fromCharCode(r),n++;continue}if((r&240)===224){if(n+2<e.length&&(e[n+1]&192)===128&&(e[n+2]&192)===128){if(r===224&&e[n+1]<160){l+=String.fromCharCode(r),n++;continue}let o=(r&15)<<12|(e[n+1]&63)<<6|e[n+2]&63;if(o>=55296&&o<=57343){l+=String.fromCharCode(r),n++;continue}l+=String.fromCharCode(o),n+=3;continue}l+=String.fromCharCode(r),n++;continue}if((r&248)===240&&r<=244){if(n+3<e.length&&(e[n+1]&192)===128&&(e[n+2]&192)===128&&(e[n+3]&192)===128){if(r===240&&e[n+1]<144){l+=String.fromCharCode(r),n++;continue}let o=(r&7)<<18|(e[n+1]&63)<<12|(e[n+2]&63)<<6|e[n+3]&63;if(o>1114111){l+=String.fromCharCode(r),n++;continue}l+=String.fromCodePoint(o),n+=4;continue}l+=String.fromCharCode(r),n++;continue}l+=String.fromCharCode(r),n++}return l}var G={name:"printf",summary:"format and print data",usage:"printf [-v var] FORMAT [ARGUMENT...]",options:[" -v var assign the output to shell variable VAR rather than display it"," --help display this help and exit"],notes:["FORMAT controls the output like in C printf.","Escape sequences: \\n (newline), \\t (tab), \\\\ (backslash)","Format specifiers: %s (string), %d (integer), %f (float), %x (hex), %o (octal), %% (literal %)","Width and precision: %10s (width 10), %.2f (2 decimal places), %010d (zero-padded)","Flags: %- (left-justify), %+ (show sign), %0 (zero-pad)"]},ae={name:"printf",async execute(e,l){if(T(e))return Z(G);if(e.length===0)return{stdout:"",stderr:`printf: usage: printf format [arguments]
3
- `,exitCode:2};let n=null,r=0;for(;r<e.length;){let t=e[r];if(t==="--"){r++;break}if(t==="-v"){if(r+1>=e.length)return{stdout:"",stderr:`printf: -v: option requires an argument
4
- `,exitCode:1};if(n=e[r+1],!/^[a-zA-Z_][a-zA-Z0-9_]*(?:\[[^\]\n]+\])?$/.test(n)||/[;\r\\]/.test(n)||n.includes(".."))return{stdout:"",stderr:`printf: \`${n}': not a valid identifier
5
- `,exitCode:2};r+=2}else{if(t.startsWith("-")&&t!=="-")break;break}}if(r>=e.length)return{stdout:"",stderr:`printf: usage: printf format [arguments]
6
- `,exitCode:1};let o=e[r],i=e.slice(r+1);try{let t=Math.min(l.limits.maxStringLength,l.limits.maxOutputSize),s=N(o,t),a="",f=0,c=0,x=!1,p="",d=l.env.get("TZ");do{let{result:m,argsConsumed:v,error:C,errMsg:b,stopped:g}=D(s,i,c,d,t-f),I=E(m);if(I>t-f)throw new w(`printf: output size limit exceeded (${t} bytes)`,"string_length");if(a+=m,f+=I,c+=v,C&&(x=!0,b&&(p=b)),g)break}while(c<i.length&&c>0);if(c===0&&i.length>0,n){let m=n.match(/^([a-zA-Z_][a-zA-Z0-9_]*)\[(['"]?)(.+?)\2\]$/);if(m){let v=m[1],C=m[3];if(C=C.replace(/\$([a-zA-Z_][a-zA-Z0-9_]*)/g,(b,g)=>l.env.get(g)??""),l.assignShellVariable)await l.assignShellVariable(v,a,C);else throw new Error("printf -v array assignment requires an interpreter assignment gateway")}else if(l.assignShellVariable)await l.assignShellVariable(n,a);else{if(!/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(n))throw new Error(`${n}: not a valid identifier`);l.env.set(n,a)}return{stdout:"",stderr:p,exitCode:x?1:0}}return{stdout:a,stderr:p,exitCode:x?1:0}}catch(t){if(t instanceof w||typeof t=="object"&&t!==null&&"name"in t&&t.name==="ExitError")throw t;return{stdout:"",stderr:`printf: ${V(t)}
7
- `,exitCode:1}}}};function D(e,l,n,r,o=10*1024*1024){let i="",t=0,s=0,a=!1,f="",c=0,x=p=>{let d=E(p);if(d>o-c)throw new w(`printf: output size limit exceeded (${o} bytes)`,"string_length");i+=p,c+=d};for(;t<e.length;)if(e[t]==="%"&&t+1<e.length){let p=t;if(t++,e[t]==="%"){x("%"),t++;continue}let d=e.slice(p).match(/^%(-?\d*)(?:\.(\d+))?\(([^)]*)\)T/);if(d){let u=d[1]?parseInt(d[1],10):0,F=d[2]?parseInt(d[2],10):-1;S(u,o,"width"),F!==-1&&S(F,o,"precision");let H=d[3],L=d[0],A=l[n+s]||"";s++;let M;A===""||A==="-1"||A==="-2"?M=Math.floor(Date.now()/1e3):M=parseInt(A,10)||0;let _=j(H,M,r,{maxOperations:o-c,maxOutputBytes:o-c});_=k(_,u,F,o-c),x(_),t=p+L.length;continue}for(;t<e.length&&"+-0 #'".includes(e[t]);)t++;let m=!1;if(e[t]==="*")m=!0,t++;else for(;t<e.length&&/\d/.test(e[t]);)t++;let v=!1;if(e[t]===".")if(t++,e[t]==="*")v=!0,t++;else for(;t<e.length&&/\d/.test(e[t]);)t++;t<e.length&&"hlL".includes(e[t])&&t++;let C=e[t]||"";t++;let g=e.slice(p,t);if(m){let u=parseInt(l[n+s]||"0",10);S(u,o-c,"width"),s++,g=g.replace("*",String(u))}if(v){let u=parseInt(l[n+s]||"0",10);u>=0?S(u,o-c,"precision"):Number.isSafeInteger(u)||S(u,o-c,"precision"),s++,g=g.replace(".*",`.${u}`)}J(g,o-c);let I=l[n+s]||"";s++;let{value:q,parseError:R,parseErrMsg:W,stopped:U}=Q(g,C,I,o-c);if(x(q),R&&(a=!0,W&&(f=W)),U)return{result:i,argsConsumed:s,error:a,errMsg:f,stopped:!0}}else x(e[t]),t++;return{result:i,argsConsumed:s,error:a,errMsg:f,stopped:!1}}function Q(e,l,n,r){let o=!1,i="";switch(l){case"d":case"i":{let t=z(n);return o=h,o&&(i=`printf: ${n}: invalid number
2
+ import{a as j}from"./chunk-UHHCL65P.js";import{a as w,b as k,d as N}from"./chunk-6D3WD6YU.js";import{l as S}from"./chunk-EFORKKSH.js";import{a as E}from"./chunk-GN6CQ3J4.js";import{a as V}from"./chunk-W5DWRFSU.js";import{a as Z,b as T}from"./chunk-QAYAQNCG.js";import{sprintf as $}from"sprintf-js";function X(e){let l="",n=0;for(;n<e.length;){let r=e[n];if(r<128){l+=String.fromCharCode(r),n++;continue}if((r&224)===192){if(n+1<e.length&&(e[n+1]&192)===128&&r>=194){let o=(r&31)<<6|e[n+1]&63;l+=String.fromCharCode(o),n+=2;continue}l+=String.fromCharCode(r),n++;continue}if((r&240)===224){if(n+2<e.length&&(e[n+1]&192)===128&&(e[n+2]&192)===128){if(r===224&&e[n+1]<160){l+=String.fromCharCode(r),n++;continue}let o=(r&15)<<12|(e[n+1]&63)<<6|e[n+2]&63;if(o>=55296&&o<=57343){l+=String.fromCharCode(r),n++;continue}l+=String.fromCharCode(o),n+=3;continue}l+=String.fromCharCode(r),n++;continue}if((r&248)===240&&r<=244){if(n+3<e.length&&(e[n+1]&192)===128&&(e[n+2]&192)===128&&(e[n+3]&192)===128){if(r===240&&e[n+1]<144){l+=String.fromCharCode(r),n++;continue}let o=(r&7)<<18|(e[n+1]&63)<<12|(e[n+2]&63)<<6|e[n+3]&63;if(o>1114111){l+=String.fromCharCode(r),n++;continue}l+=String.fromCodePoint(o),n+=4;continue}l+=String.fromCharCode(r),n++;continue}l+=String.fromCharCode(r),n++}return l}var G={name:"printf",summary:"format and print data",usage:"printf [-v var] FORMAT [ARGUMENT...]",options:[" -v var assign the output to shell variable VAR rather than display it"," --help display this help and exit"],notes:["FORMAT controls the output like in C printf.","Escape sequences: \\n (newline), \\t (tab), \\\\ (backslash)","Format specifiers: %s (string), %d (integer), %f (float), %x (hex), %o (octal), %% (literal %)","Width and precision: %10s (width 10), %.2f (2 decimal places), %010d (zero-padded)","Flags: %- (left-justify), %+ (show sign), %0 (zero-pad)"]},ae={name:"printf",async execute(e,l){if(T(e))return Z(G);if(e.length===0)return{stdout:"",stderr:`printf: usage: printf format [arguments]
3
+ `,exitCode:2,internalStdinConsumed:0};let n=null,r=0;for(;r<e.length;){let t=e[r];if(t==="--"){r++;break}if(t==="-v"){if(r+1>=e.length)return{stdout:"",stderr:`printf: -v: option requires an argument
4
+ `,exitCode:1,internalStdinConsumed:0};if(n=e[r+1],!/^[a-zA-Z_][a-zA-Z0-9_]*(?:\[[^\]\n]+\])?$/.test(n)||/[;\r\\]/.test(n)||n.includes(".."))return{stdout:"",stderr:`printf: \`${n}': not a valid identifier
5
+ `,exitCode:2,internalStdinConsumed:0};r+=2}else{if(t.startsWith("-")&&t!=="-")break;break}}if(r>=e.length)return{stdout:"",stderr:`printf: usage: printf format [arguments]
6
+ `,exitCode:1,internalStdinConsumed:0};let o=e[r],i=e.slice(r+1);try{let t=Math.min(l.limits.maxStringLength,l.limits.maxOutputSize),s=N(o,t),a="",f=0,c=0,x=!1,p="",d=l.env.get("TZ");do{let{result:g,argsConsumed:v,error:C,errMsg:b,stopped:m}=D(s,i,c,d,t-f),I=E(g);if(I>t-f)throw new S(`printf: output size limit exceeded (${t} bytes)`,"string_length");if(a+=g,f+=I,c+=v,C&&(x=!0,b&&(p=b)),m)break}while(c<i.length&&c>0);if(c===0&&i.length>0,n){let g=n.match(/^([a-zA-Z_][a-zA-Z0-9_]*)\[(['"]?)(.+?)\2\]$/);if(g){let v=g[1],C=g[3];if(C=C.replace(/\$([a-zA-Z_][a-zA-Z0-9_]*)/g,(b,m)=>l.env.get(m)??""),l.assignShellVariable)await l.assignShellVariable(v,a,C);else throw new Error("printf -v array assignment requires an interpreter assignment gateway")}else if(l.assignShellVariable)await l.assignShellVariable(n,a);else{if(!/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(n))throw new Error(`${n}: not a valid identifier`);l.env.set(n,a)}return{stdout:"",stderr:p,exitCode:x?1:0,internalStdinConsumed:0}}return{stdout:a,stderr:p,exitCode:x?1:0,internalStdinConsumed:0}}catch(t){if(t instanceof S||typeof t=="object"&&t!==null&&"name"in t&&t.name==="ExitError")throw t;return{stdout:"",stderr:`printf: ${V(t)}
7
+ `,exitCode:1,internalStdinConsumed:0}}}};function D(e,l,n,r,o=10*1024*1024){let i="",t=0,s=0,a=!1,f="",c=0,x=p=>{let d=E(p);if(d>o-c)throw new S(`printf: output size limit exceeded (${o} bytes)`,"string_length");i+=p,c+=d};for(;t<e.length;)if(e[t]==="%"&&t+1<e.length){let p=t;if(t++,e[t]==="%"){x("%"),t++;continue}let d=e.slice(p).match(/^%(-?\d*)(?:\.(\d+))?\(([^)]*)\)T/);if(d){let u=d[1]?parseInt(d[1],10):0,F=d[2]?parseInt(d[2],10):-1;w(u,o,"width"),F!==-1&&w(F,o,"precision");let H=d[3],L=d[0],A=l[n+s]||"";s++;let M;A===""||A==="-1"||A==="-2"?M=Math.floor(Date.now()/1e3):M=parseInt(A,10)||0;let _=j(H,M,r,{maxOperations:o-c,maxOutputBytes:o-c});_=k(_,u,F,o-c),x(_),t=p+L.length;continue}for(;t<e.length&&"+-0 #'".includes(e[t]);)t++;let g=!1;if(e[t]==="*")g=!0,t++;else for(;t<e.length&&/\d/.test(e[t]);)t++;let v=!1;if(e[t]===".")if(t++,e[t]==="*")v=!0,t++;else for(;t<e.length&&/\d/.test(e[t]);)t++;t<e.length&&"hlL".includes(e[t])&&t++;let C=e[t]||"";t++;let m=e.slice(p,t);if(g){let u=parseInt(l[n+s]||"0",10);w(u,o-c,"width"),s++,m=m.replace("*",String(u))}if(v){let u=parseInt(l[n+s]||"0",10);u>=0?w(u,o-c,"precision"):Number.isSafeInteger(u)||w(u,o-c,"precision"),s++,m=m.replace(".*",`.${u}`)}J(m,o-c);let I=l[n+s]||"";s++;let{value:q,parseError:R,parseErrMsg:W,stopped:U}=Q(m,C,I,o-c);if(x(q),R&&(a=!0,W&&(f=W)),U)return{result:i,argsConsumed:s,error:a,errMsg:f,stopped:!0}}else x(e[t]),t++;return{result:i,argsConsumed:s,error:a,errMsg:f,stopped:!1}}function Q(e,l,n,r){let o=!1,i="";switch(l){case"d":case"i":{let t=z(n);return o=h,o&&(i=`printf: ${n}: invalid number
8
8
  `),{value:P(e,t),parseError:o,parseErrMsg:i}}case"o":{let t=z(n);return o=h,o&&(i=`printf: ${n}: invalid number
9
9
  `),{value:K(e,t),parseError:o,parseErrMsg:i}}case"u":{let t=z(n);o=h,o&&(i=`printf: ${n}: invalid number
10
10
  `);let s=t<0?t>>>0:t;return{value:P(e.replace("u","d"),s),parseError:o,parseErrMsg:i}}case"x":case"X":{let t=z(n);return o=h,o&&(i=`printf: ${n}: invalid number
11
11
  `),{value:Y(e,t),parseError:o,parseErrMsg:i}}case"e":case"E":case"f":case"F":case"g":case"G":{let t=parseFloat(n)||0;return{value:ee(e,l,t),parseError:!1,parseErrMsg:""}}case"c":{if(n==="")return{value:"",parseError:!1,parseErrMsg:""};let a=new TextEncoder().encode(n)[0];return{value:String.fromCharCode(a),parseError:!1,parseErrMsg:""}}case"s":return{value:B(e,n,r),parseError:!1,parseErrMsg:""};case"q":return{value:O(e,n,r),parseError:!1,parseErrMsg:""};case"b":{let t=te(n,r);return{value:t.value,parseError:!1,parseErrMsg:"",stopped:t.stopped}}default:try{return{value:$(e,n),parseError:!1,parseErrMsg:""}}catch{return{value:"",parseError:!0,parseErrMsg:`printf: [sprintf] unexpected placeholder
12
- `}}}}function J(e,l){let n=e.match(/^%[-+0 #' ]*(\d*)(?:\.(\d*))?/);if(!n)return;let r=n[1]?Number(n[1]):0,o=n[2]!==void 0?Number(n[2]):-1;S(r,l,"width"),o!==-1&&S(o,l,"precision")}var h=!1;function z(e){h=!1;let l=e.trimStart(),n=l!==l.trimEnd();if(e=l.trimEnd(),e.startsWith("'")&&e.length>=2||e.startsWith('"')&&e.length>=2)return e.charCodeAt(1);if(e.startsWith("\\'")&&e.length>=3||e.startsWith('\\"')&&e.length>=3)return e.charCodeAt(2);if(e.startsWith("+")&&(e=e.slice(1)),e.startsWith("0x")||e.startsWith("0X")){let r=parseInt(e,16);return Number.isNaN(r)?(h=!0,0):(n&&(h=!0),r)}if(e.startsWith("0")&&e.length>1&&/^-?0[0-7]+$/.test(e))return n&&(h=!0),parseInt(e,8)||0;if(/^\d+#/.test(e)){h=!0;let r=e.match(/^(\d+)#/);return r?parseInt(r[1],10):0}if(e!==""&&!/^-?\d+$/.test(e)){h=!0;let r=parseInt(e,10);return Number.isNaN(r)?0:r}return n&&(h=!0),parseInt(e,10)||0}function P(e,l){let n=e.match(/^%([- +#0']*)(\d*)(\.(\d*))?[diu]$/);if(!n)return $(e.replace(/\.\d*/,""),l);let r=n[1]||"",o=n[2]?parseInt(n[2],10):0,i=n[3]!==void 0?n[4]?parseInt(n[4],10):0:-1,t=l<0,s=Math.abs(l),a=String(s);i>=0&&(a=a.padStart(i,"0"));let f="";t?f="-":r.includes("+")?f="+":r.includes(" ")&&(f=" ");let c=f+a;return o>c.length&&(r.includes("-")?c=c.padEnd(o," "):r.includes("0")&&i<0?c=f+a.padStart(o-f.length,"0"):c=c.padStart(o," ")),c}function K(e,l){let n=e.match(/^%([- +#0']*)(\d*)(\.(\d*))?o$/);if(!n)return $(e,l);let r=n[1]||"",o=n[2]?parseInt(n[2],10):0,i=n[3]!==void 0?n[4]?parseInt(n[4],10):0:-1,t=Math.abs(l).toString(8);i>=0&&(t=t.padStart(i,"0")),r.includes("#")&&!t.startsWith("0")&&(t=`0${t}`);let s=t;return o>s.length&&(r.includes("-")?s=s.padEnd(o," "):r.includes("0")&&i<0?s=s.padStart(o,"0"):s=s.padStart(o," ")),s}function Y(e,l){let n=e.includes("X"),r=e.match(/^%([- +#0']*)(\d*)(\.(\d*))?[xX]$/);if(!r)return $(e,l);let o=r[1]||"",i=r[2]?parseInt(r[2],10):0,t=r[3]!==void 0?r[4]?parseInt(r[4],10):0:-1,s=Math.abs(l).toString(16);n&&(s=s.toUpperCase()),t>=0&&(s=s.padStart(t,"0"));let a="";o.includes("#")&&l!==0&&(a=n?"0X":"0x");let f=a+s;return i>f.length&&(o.includes("-")?f=f.padEnd(i," "):o.includes("0")&&t<0?f=a+s.padStart(i-a.length,"0"):f=f.padStart(i," ")),f}function y(e,l){if(e===""){if(l<2)throw new w(`printf: output size limit exceeded (${l} bytes)`,"string_length");return"''"}if(/^[a-zA-Z0-9_./-]+$/.test(e)){if(E(e)>l)throw new w(`printf: output size limit exceeded (${l} bytes)`,"string_length");return e}let n=/[\x00-\x1f\x7f-\xff]/.test(e),r=n?3:0;for(let i of e){let t=i.charCodeAt(0);if(n?i==="'"||i==="\\"||i===`
13
- `||i===" "||i==="\r"||i==="\x07"||i==="\b"||i==="\f"||i==="\v"||i==="\x1B"||i==='"'?r+=2:t<32||t>=127&&t<=255?r+=4:r+=E(i):r+=E(i)+(" |&;<>()$`\\\"'*?[#~=%!{}".includes(i)?1:0),r>l)throw new w(`printf: output size limit exceeded (${l} bytes)`,"string_length")}if(n){let i="$'";for(let t of e){let s=t.charCodeAt(0);t==="'"?i+="\\'":t==="\\"?i+="\\\\":t===`
14
- `?i+="\\n":t===" "?i+="\\t":t==="\r"?i+="\\r":t==="\x07"?i+="\\a":t==="\b"?i+="\\b":t==="\f"?i+="\\f":t==="\v"?i+="\\v":t==="\x1B"?i+="\\E":s<32||s>=127&&s<=255?i+=`\\${s.toString(8).padStart(3,"0")}`:t==='"'?i+='\\"':i+=t}return i+="'",i}let o="";for(let i of e)" |&;<>()$`\\\"'*?[#~=%!{}".includes(i)?o+=`\\${i}`:o+=i;return o}function B(e,l,n){let r=e.match(/^%(-?)(\d*)(\.(\d*))?s$/);if(!r)return $(e.replace(/0+(?=\d)/,""),l);let o=r[1]==="-",i=r[2]?parseInt(r[2],10):0,t=r[3]!==void 0?r[4]?parseInt(r[4],10):0:-1,s=o?-i:i;return k(l,s,t,n)}function O(e,l,n){let r=y(l,n),o=e.match(/^%(-?)(\d*)q$/);if(!o)return r;let i=o[1]==="-",t=o[2]?parseInt(o[2],10):0;return k(r,i?-t:t,-1,n)}function ee(e,l,n){let r=e.match(/^%([- +#0']*)(\d*)(\.(\d*))?[eEfFgG]$/);if(!r)return $(e,n);let o=r[1]||"",i=r[2]?parseInt(r[2],10):0,t=r[3]!==void 0?r[4]?parseInt(r[4],10):0:6,s,a=l.toLowerCase();if(a==="e"?(s=n.toExponential(t),s=s.replace(/e([+-])(\d)$/,"e$10$2"),l==="E"&&(s=s.toUpperCase())):a==="f"?(s=n.toFixed(t),o.includes("#")&&t===0&&!s.includes(".")&&(s+=".")):a==="g"?(s=n.toPrecision(t||1),o.includes("#")||(s=s.replace(/\.?0+$/,""),s=s.replace(/\.?0+e/,"e")),s=s.replace(/e([+-])(\d)$/,"e$10$2"),l==="G"&&(s=s.toUpperCase())):s=n.toString(),n>=0&&(o.includes("+")?s=`+${s}`:o.includes(" ")&&(s=` ${s}`)),i>s.length)if(o.includes("-"))s=s.padEnd(i," ");else if(o.includes("0")){let f=s.match(/^[+ -]/)?.[0]||"",c=f?s.slice(1):s;s=f+c.padStart(i-f.length,"0")}else s=s.padStart(i," ");return s}function te(e,l){if(E(e)>l)throw new w(`printf: output size limit exceeded (${l} bytes)`,"string_length");let n="",r=0;for(;r<e.length;)if(e[r]==="\\"&&r+1<e.length)switch(e[r+1]){case"n":n+=`
12
+ `}}}}function J(e,l){let n=e.match(/^%[-+0 #' ]*(\d*)(?:\.(\d*))?/);if(!n)return;let r=n[1]?Number(n[1]):0,o=n[2]!==void 0?Number(n[2]):-1;w(r,l,"width"),o!==-1&&w(o,l,"precision")}var h=!1;function z(e){h=!1;let l=e.trimStart(),n=l!==l.trimEnd();if(e=l.trimEnd(),e.startsWith("'")&&e.length>=2||e.startsWith('"')&&e.length>=2)return e.charCodeAt(1);if(e.startsWith("\\'")&&e.length>=3||e.startsWith('\\"')&&e.length>=3)return e.charCodeAt(2);if(e.startsWith("+")&&(e=e.slice(1)),e.startsWith("0x")||e.startsWith("0X")){let r=parseInt(e,16);return Number.isNaN(r)?(h=!0,0):(n&&(h=!0),r)}if(e.startsWith("0")&&e.length>1&&/^-?0[0-7]+$/.test(e))return n&&(h=!0),parseInt(e,8)||0;if(/^\d+#/.test(e)){h=!0;let r=e.match(/^(\d+)#/);return r?parseInt(r[1],10):0}if(e!==""&&!/^-?\d+$/.test(e)){h=!0;let r=parseInt(e,10);return Number.isNaN(r)?0:r}return n&&(h=!0),parseInt(e,10)||0}function P(e,l){let n=e.match(/^%([- +#0']*)(\d*)(\.(\d*))?[diu]$/);if(!n)return $(e.replace(/\.\d*/,""),l);let r=n[1]||"",o=n[2]?parseInt(n[2],10):0,i=n[3]!==void 0?n[4]?parseInt(n[4],10):0:-1,t=l<0,s=Math.abs(l),a=String(s);i>=0&&(a=a.padStart(i,"0"));let f="";t?f="-":r.includes("+")?f="+":r.includes(" ")&&(f=" ");let c=f+a;return o>c.length&&(r.includes("-")?c=c.padEnd(o," "):r.includes("0")&&i<0?c=f+a.padStart(o-f.length,"0"):c=c.padStart(o," ")),c}function K(e,l){let n=e.match(/^%([- +#0']*)(\d*)(\.(\d*))?o$/);if(!n)return $(e,l);let r=n[1]||"",o=n[2]?parseInt(n[2],10):0,i=n[3]!==void 0?n[4]?parseInt(n[4],10):0:-1,t=Math.abs(l).toString(8);i>=0&&(t=t.padStart(i,"0")),r.includes("#")&&!t.startsWith("0")&&(t=`0${t}`);let s=t;return o>s.length&&(r.includes("-")?s=s.padEnd(o," "):r.includes("0")&&i<0?s=s.padStart(o,"0"):s=s.padStart(o," ")),s}function Y(e,l){let n=e.includes("X"),r=e.match(/^%([- +#0']*)(\d*)(\.(\d*))?[xX]$/);if(!r)return $(e,l);let o=r[1]||"",i=r[2]?parseInt(r[2],10):0,t=r[3]!==void 0?r[4]?parseInt(r[4],10):0:-1,s=Math.abs(l).toString(16);n&&(s=s.toUpperCase()),t>=0&&(s=s.padStart(t,"0"));let a="";o.includes("#")&&l!==0&&(a=n?"0X":"0x");let f=a+s;return i>f.length&&(o.includes("-")?f=f.padEnd(i," "):o.includes("0")&&t<0?f=a+s.padStart(i-a.length,"0"):f=f.padStart(i," ")),f}function y(e,l){if(e===""){if(l<2)throw new S(`printf: output size limit exceeded (${l} bytes)`,"string_length");return"''"}if(/^[a-zA-Z0-9_./-]+$/.test(e)){if(E(e)>l)throw new S(`printf: output size limit exceeded (${l} bytes)`,"string_length");return e}let n=/[\x00-\x1f\x7f-\xff]/.test(e),r=n?3:0;for(let i of e){let t=i.charCodeAt(0);if(n?i==="'"||i==="\\"||i===`
13
+ `||i===" "||i==="\r"||i==="\x07"||i==="\b"||i==="\f"||i==="\v"||i==="\x1B"||i==='"'?r+=2:t<32||t>=127&&t<=255?r+=4:r+=E(i):r+=E(i)+(" |&;<>()$`\\\"'*?[#~=%!{}".includes(i)?1:0),r>l)throw new S(`printf: output size limit exceeded (${l} bytes)`,"string_length")}if(n){let i="$'";for(let t of e){let s=t.charCodeAt(0);t==="'"?i+="\\'":t==="\\"?i+="\\\\":t===`
14
+ `?i+="\\n":t===" "?i+="\\t":t==="\r"?i+="\\r":t==="\x07"?i+="\\a":t==="\b"?i+="\\b":t==="\f"?i+="\\f":t==="\v"?i+="\\v":t==="\x1B"?i+="\\E":s<32||s>=127&&s<=255?i+=`\\${s.toString(8).padStart(3,"0")}`:t==='"'?i+='\\"':i+=t}return i+="'",i}let o="";for(let i of e)" |&;<>()$`\\\"'*?[#~=%!{}".includes(i)?o+=`\\${i}`:o+=i;return o}function B(e,l,n){let r=e.match(/^%(-?)(\d*)(\.(\d*))?s$/);if(!r)return $(e.replace(/0+(?=\d)/,""),l);let o=r[1]==="-",i=r[2]?parseInt(r[2],10):0,t=r[3]!==void 0?r[4]?parseInt(r[4],10):0:-1,s=o?-i:i;return k(l,s,t,n)}function O(e,l,n){let r=y(l,n),o=e.match(/^%(-?)(\d*)q$/);if(!o)return r;let i=o[1]==="-",t=o[2]?parseInt(o[2],10):0;return k(r,i?-t:t,-1,n)}function ee(e,l,n){let r=e.match(/^%([- +#0']*)(\d*)(\.(\d*))?[eEfFgG]$/);if(!r)return $(e,n);let o=r[1]||"",i=r[2]?parseInt(r[2],10):0,t=r[3]!==void 0?r[4]?parseInt(r[4],10):0:6,s,a=l.toLowerCase();if(a==="e"?(s=n.toExponential(t),s=s.replace(/e([+-])(\d)$/,"e$10$2"),l==="E"&&(s=s.toUpperCase())):a==="f"?(s=n.toFixed(t),o.includes("#")&&t===0&&!s.includes(".")&&(s+=".")):a==="g"?(s=n.toPrecision(t||1),o.includes("#")||(s=s.replace(/\.?0+$/,""),s=s.replace(/\.?0+e/,"e")),s=s.replace(/e([+-])(\d)$/,"e$10$2"),l==="G"&&(s=s.toUpperCase())):s=n.toString(),n>=0&&(o.includes("+")?s=`+${s}`:o.includes(" ")&&(s=` ${s}`)),i>s.length)if(o.includes("-"))s=s.padEnd(i," ");else if(o.includes("0")){let f=s.match(/^[+ -]/)?.[0]||"",c=f?s.slice(1):s;s=f+c.padStart(i-f.length,"0")}else s=s.padStart(i," ");return s}function te(e,l){if(E(e)>l)throw new S(`printf: output size limit exceeded (${l} bytes)`,"string_length");let n="",r=0;for(;r<e.length;)if(e[r]==="\\"&&r+1<e.length)switch(e[r+1]){case"n":n+=`
15
15
  `,r+=2;break;case"t":n+=" ",r+=2;break;case"r":n+="\r",r+=2;break;case"\\":n+="\\",r+=2;break;case"a":n+="\x07",r+=2;break;case"b":n+="\b",r+=2;break;case"f":n+="\f",r+=2;break;case"v":n+="\v",r+=2;break;case"c":return{value:n,stopped:!0};case"x":{let i=[],t=r;for(;t+1<e.length&&e[t]==="\\"&&e[t+1]==="x";){let s="",a=t+2;for(;a<e.length&&a<t+4&&/[0-9a-fA-F]/.test(e[a]);)s+=e[a],a++;if(s)i.push(parseInt(s,16)),t=a;else break}i.length>0?(n+=X(i),r=t):(n+="\\x",r+=2);break}case"u":{let i="",t=r+2;for(;t<e.length&&t<r+6&&/[0-9a-fA-F]/.test(e[t]);)i+=e[t],t++;i?(n+=String.fromCodePoint(parseInt(i,16)),r=t):(n+="\\u",r+=2);break}case"0":{let i="",t=r+2;for(;t<e.length&&t<r+5&&/[0-7]/.test(e[t]);)i+=e[t],t++;i?n+=String.fromCharCode(parseInt(i,8)):n+="\0",r=t;break}case"1":case"2":case"3":case"4":case"5":case"6":case"7":{let i="",t=r+1;for(;t<e.length&&t<r+4&&/[0-7]/.test(e[t]);)i+=e[t],t++;n+=String.fromCharCode(parseInt(i,8)),r=t;break}default:n+=e[r],r++}else n+=e[r],r++;return{value:n,stopped:!1}}var fe={name:"printf",flags:[{flag:"-v",type:"value",valueHint:"string"}],stdinType:"none",needsArgs:!0};export{ae as a,fe as b};
@@ -1,2 +1,2 @@
1
1
  import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
- import{a as r}from"./chunk-XVL654YD.js";var g=2048,o=new Map;function u(l,c,t){let s=typeof t=="boolean"?{ignoreCase:t}:t??{},e=c;s.stripQuotes&&(e.startsWith('"')&&e.endsWith('"')||e.startsWith("'")&&e.endsWith("'"))&&(e=e.slice(1,-1));let i=s.ignoreCase?`i:${e}`:e,n=o.get(i);if(!n){if(n=a(e,s.ignoreCase),o.size>=g){let f=o.keys().next().value;f!==void 0&&o.delete(f)}o.set(i,n)}return n.test(l)}function a(l,c){let t="^";for(let s=0;s<l.length;s++){let e=l[s];if(e==="*")t+=".*";else if(e==="?")t+=".";else if(e==="["){let i=s+1;for(;i<l.length&&l[i]!=="]";)i++;t+=l.slice(s,i+1),s=i}else e==="."||e==="+"||e==="^"||e==="$"||e==="{"||e==="}"||e==="("||e===")"||e==="|"||e==="\\"?t+=`\\${e}`:t+=e}return t+="$",r(t,c?"i":"")}export{u as a};
2
+ import{a as r}from"./chunk-KVG5FR5F.js";var g=2048,o=new Map;function u(l,c,t){let s=typeof t=="boolean"?{ignoreCase:t}:t??{},e=c;s.stripQuotes&&(e.startsWith('"')&&e.endsWith('"')||e.startsWith("'")&&e.endsWith("'"))&&(e=e.slice(1,-1));let i=s.ignoreCase?`i:${e}`:e,n=o.get(i);if(!n){if(n=a(e,s.ignoreCase),o.size>=g){let f=o.keys().next().value;f!==void 0&&o.delete(f)}o.set(i,n)}return n.test(l)}function a(l,c){let t="^";for(let s=0;s<l.length;s++){let e=l[s];if(e==="*")t+=".*";else if(e==="?")t+=".";else if(e==="["){let i=s+1;for(;i<l.length&&l[i]!=="]";)i++;t+=l.slice(s,i+1),s=i}else e==="."||e==="+"||e==="^"||e==="$"||e==="{"||e==="}"||e==="("||e===")"||e==="|"||e==="\\"?t+=`\\${e}`:t+=e}return t+="$",r(t,c?"i":"")}export{u as a};
@@ -1,5 +1,5 @@
1
1
  import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
- import{a as Ue}from"./chunk-LJRVJXUI.js";import{d as Ne}from"./chunk-AH7VTVWU.js";import{a as Re,b as Pe,c as ge}from"./chunk-QAYAQNCG.js";import{a as re,b as L,c as Le}from"./chunk-NCUTH6QL.js";var We=L(ye=>{ye.read=function(i,e,t,r,n){var o,s,f=n*8-r-1,m=(1<<f)-1,a=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+=f;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-a;else{if(o===m)return s?NaN:(d?-1:1)*(1/0);s=s+Math.pow(2,r),o=o-a}return(d?-1:1)*s*Math.pow(2,o-r)};ye.write=function(i,e,t,r,n,o){var s,f,m,a=o*8-n-1,c=(1<<a)-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,w=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(f=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?(f=0,s=c):s+p>=1?(f=(e*m-1)*Math.pow(2,n),s=s+p):(f=e*Math.pow(2,p-1)*Math.pow(2,n),s=0));n>=8;i[t+d]=f&255,d+=b,f/=256,n-=8);for(s=s<<n|f,a+=n;a>0;i[t+d]=s&255,d+=b,s/=256,a-=8);i[t+d-b]|=w*128}});var Qe=L((pn,Xe)=>{var H=1e3,J=H*60,X=J*60,$=X*24,Jt=$*7,Xt=$*365.25;Xe.exports=function(i,e){e=e||{};var t=typeof i;if(t==="string"&&i.length>0)return Qt(i);if(t==="number"&&isFinite(i))return e.long?Kt(i):Yt(i);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(i))};function Qt(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*Xt;case"weeks":case"week":case"w":return t*Jt;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 Yt(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 Kt(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((mn,Ye)=>{function ei(i){t.debug=t,t.default=t,t.coerce=m,t.disable=s,t.enable=n,t.enabled=f,t.humanize=Qe(),t.destroy=a,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 w(...T){if(!w.enabled)return;let P=w,te=Number(new Date),Dt=te-(p||te);P.diff=Dt,P.prev=p,P.curr=te,p=te,T[0]=t.coerce(T[0]),typeof T[0]!="string"&&T.unshift("%O");let ie=0;T[0]=T[0].replace(/%([a-zA-Z%])/g,(he,Ot)=>{if(he==="%%")return"%";ie++;let Me=t.formatters[Ot];if(typeof Me=="function"){let zt=T[ie];he=Me.call(P,zt),T.splice(ie,1),ie--}return he}),t.formatArgs.call(P,T),(P.log||t.log).apply(P,T)}return w.namespace=c,w.useColors=t.useColors(),w.color=t.selectColor(c),w.extend=r,w.destroy=t.destroy,Object.defineProperty(w,"enabled",{enumerable:!0,configurable:!1,get:()=>u!==null?u:(d!==t.namespaces&&(d=t.namespaces,b=t.enabled(c)),b),set:T=>{u=T}}),typeof t.init=="function"&&t.init(w),w}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,w=0;for(;u<c.length;)if(d<p.length&&(p[d]===c[u]||p[d]==="*"))p[d]==="*"?(b=d,w=u,d++):(u++,d++);else if(b!==-1)d=b+1,w++,u=w;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 f(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 a(){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}Ye.exports=ei});var Ke=L((E,pe)=>{E.formatArgs=ii;E.save=ri;E.load=ni;E.useColors=ti;E.storage=oi();E.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`."))}})();E.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 ti(){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 ii(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)}E.log=console.debug||console.log||(()=>{});function ri(i){try{i?E.storage.setItem("debug",i):E.storage.removeItem("debug")}catch{}}function ni(){let i;try{i=E.storage.getItem("debug")||E.storage.getItem("DEBUG")}catch{}return!i&&typeof process<"u"&&"env"in process&&(i=process.env.DEBUG),i}function oi(){try{return localStorage}catch{}}pe.exports=Ce()(E);var{formatters:si}=pe.exports;si.j=function(i){try{return JSON.stringify(i)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var tt=L((un,et)=>{"use strict";et.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 nt=L((ln,rt)=>{"use strict";var ai=re("os"),it=re("tty"),v=tt(),{env:y}=process,U;v("no-color")||v("no-colors")||v("color=false")||v("color=never")?U=0:(v("color")||v("colors")||v("color=true")||v("color=always"))&&(U=1);"FORCE_COLOR"in y&&(y.FORCE_COLOR==="true"?U=1:y.FORCE_COLOR==="false"?U=0:U=y.FORCE_COLOR.length===0?1:Math.min(parseInt(y.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(v("color=16m")||v("color=full")||v("color=truecolor"))return 3;if(v("color=256"))return 2;if(i&&!e&&U===void 0)return 0;let t=U||0;if(y.TERM==="dumb")return t;if(process.platform==="win32"){let r=ai.release().split(".");return Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in y)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(r=>r in y)||y.CI_NAME==="codeship"?1:t;if("TEAMCITY_VERSION"in y)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(y.TEAMCITY_VERSION)?1:0;if(y.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in y){let r=parseInt((y.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(y.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(y.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(y.TERM)||"COLORTERM"in y?1:t}function ci(i){let e=Fe(i,i&&i.isTTY);return Se(e)}rt.exports={supportsColor:ci,stdout:Se(Fe(!0,it.isatty(1))),stderr:Se(Fe(!0,it.isatty(2)))}});var st=L((k,ue)=>{var fi=re("tty"),me=re("util");k.init=hi;k.log=li;k.formatArgs=mi;k.save=di;k.load=xi;k.useColors=pi;k.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`.");k.colors=[6,2,3,4,5,1];try{let i=nt();i&&(i.stderr||i).level>=2&&(k.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{}k.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 pi(){return"colors"in k.inspectOpts?!!k.inspectOpts.colors:fi.isatty(process.stderr.fd)}function mi(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(`
2
+ import{a as Ue}from"./chunk-4X2R47I5.js";import{d as Ne}from"./chunk-AH7VTVWU.js";import{a as Re,b as Pe,c as ge}from"./chunk-QAYAQNCG.js";import{a as re,b as L,c as Le}from"./chunk-NCUTH6QL.js";var We=L(ye=>{ye.read=function(i,e,t,r,n){var o,s,f=n*8-r-1,m=(1<<f)-1,a=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+=f;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-a;else{if(o===m)return s?NaN:(d?-1:1)*(1/0);s=s+Math.pow(2,r),o=o-a}return(d?-1:1)*s*Math.pow(2,o-r)};ye.write=function(i,e,t,r,n,o){var s,f,m,a=o*8-n-1,c=(1<<a)-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,w=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(f=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?(f=0,s=c):s+p>=1?(f=(e*m-1)*Math.pow(2,n),s=s+p):(f=e*Math.pow(2,p-1)*Math.pow(2,n),s=0));n>=8;i[t+d]=f&255,d+=b,f/=256,n-=8);for(s=s<<n|f,a+=n;a>0;i[t+d]=s&255,d+=b,s/=256,a-=8);i[t+d-b]|=w*128}});var Qe=L((pn,Xe)=>{var H=1e3,J=H*60,X=J*60,$=X*24,Jt=$*7,Xt=$*365.25;Xe.exports=function(i,e){e=e||{};var t=typeof i;if(t==="string"&&i.length>0)return Qt(i);if(t==="number"&&isFinite(i))return e.long?Kt(i):Yt(i);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(i))};function Qt(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*Xt;case"weeks":case"week":case"w":return t*Jt;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 Yt(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 Kt(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((mn,Ye)=>{function ei(i){t.debug=t,t.default=t,t.coerce=m,t.disable=s,t.enable=n,t.enabled=f,t.humanize=Qe(),t.destroy=a,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 w(...T){if(!w.enabled)return;let P=w,te=Number(new Date),Dt=te-(p||te);P.diff=Dt,P.prev=p,P.curr=te,p=te,T[0]=t.coerce(T[0]),typeof T[0]!="string"&&T.unshift("%O");let ie=0;T[0]=T[0].replace(/%([a-zA-Z%])/g,(he,Ot)=>{if(he==="%%")return"%";ie++;let Me=t.formatters[Ot];if(typeof Me=="function"){let zt=T[ie];he=Me.call(P,zt),T.splice(ie,1),ie--}return he}),t.formatArgs.call(P,T),(P.log||t.log).apply(P,T)}return w.namespace=c,w.useColors=t.useColors(),w.color=t.selectColor(c),w.extend=r,w.destroy=t.destroy,Object.defineProperty(w,"enabled",{enumerable:!0,configurable:!1,get:()=>u!==null?u:(d!==t.namespaces&&(d=t.namespaces,b=t.enabled(c)),b),set:T=>{u=T}}),typeof t.init=="function"&&t.init(w),w}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,w=0;for(;u<c.length;)if(d<p.length&&(p[d]===c[u]||p[d]==="*"))p[d]==="*"?(b=d,w=u,d++):(u++,d++);else if(b!==-1)d=b+1,w++,u=w;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 f(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 a(){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}Ye.exports=ei});var Ke=L((E,pe)=>{E.formatArgs=ii;E.save=ri;E.load=ni;E.useColors=ti;E.storage=oi();E.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`."))}})();E.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 ti(){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 ii(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)}E.log=console.debug||console.log||(()=>{});function ri(i){try{i?E.storage.setItem("debug",i):E.storage.removeItem("debug")}catch{}}function ni(){let i;try{i=E.storage.getItem("debug")||E.storage.getItem("DEBUG")}catch{}return!i&&typeof process<"u"&&"env"in process&&(i=process.env.DEBUG),i}function oi(){try{return localStorage}catch{}}pe.exports=Ce()(E);var{formatters:si}=pe.exports;si.j=function(i){try{return JSON.stringify(i)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var tt=L((un,et)=>{"use strict";et.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 nt=L((ln,rt)=>{"use strict";var ai=re("os"),it=re("tty"),v=tt(),{env:y}=process,U;v("no-color")||v("no-colors")||v("color=false")||v("color=never")?U=0:(v("color")||v("colors")||v("color=true")||v("color=always"))&&(U=1);"FORCE_COLOR"in y&&(y.FORCE_COLOR==="true"?U=1:y.FORCE_COLOR==="false"?U=0:U=y.FORCE_COLOR.length===0?1:Math.min(parseInt(y.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(v("color=16m")||v("color=full")||v("color=truecolor"))return 3;if(v("color=256"))return 2;if(i&&!e&&U===void 0)return 0;let t=U||0;if(y.TERM==="dumb")return t;if(process.platform==="win32"){let r=ai.release().split(".");return Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in y)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(r=>r in y)||y.CI_NAME==="codeship"?1:t;if("TEAMCITY_VERSION"in y)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(y.TEAMCITY_VERSION)?1:0;if(y.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in y){let r=parseInt((y.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(y.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(y.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(y.TERM)||"COLORTERM"in y?1:t}function ci(i){let e=Fe(i,i&&i.isTTY);return Se(e)}rt.exports={supportsColor:ci,stdout:Se(Fe(!0,it.isatty(1))),stderr:Se(Fe(!0,it.isatty(2)))}});var st=L((k,ue)=>{var fi=re("tty"),me=re("util");k.init=hi;k.log=li;k.formatArgs=mi;k.save=di;k.load=xi;k.useColors=pi;k.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`.");k.colors=[6,2,3,4,5,1];try{let i=nt();i&&(i.stderr||i).level>=2&&(k.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{}k.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 pi(){return"colors"in k.inspectOpts?!!k.inspectOpts.colors:fi.isatty(process.stderr.fd)}function mi(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
3
  `).join(`
4
4
  `+o),i.push(n+"m+"+ue.exports.humanize(this.diff)+"\x1B[0m")}else i[0]=ui()+e+" "+i[0]}function ui(){return k.inspectOpts.hideDate?"":new Date().toISOString()+" "}function li(...i){return process.stderr.write(me.formatWithOptions(k.inspectOpts,...i)+`
5
5
  `)}function di(i){i?process.env.DEBUG=i:delete process.env.DEBUG}function xi(){return process.env.DEBUG}function hi(i){i.inspectOpts={};let e=Object.keys(k.inspectOpts);for(let t=0;t<e.length;t++)i.inspectOpts[e[t]]=k.inspectOpts[e[t]]}ue.exports=Ce()(k);var{formatters:ot}=ue.exports;ot.o=function(i){return this.inspectOpts.colors=this.useColors,me.inspect(i,this.inspectOpts).split(`
@@ -1,2 +1,2 @@
1
1
  import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
- import{a as t}from"./chunk-UBTKJ6MG.js";import{l as i,m as r}from"./chunk-EFORKKSH.js";function e(o){if(o instanceof i||o instanceof r||o instanceof t)throw o}export{e as a};
2
+ import{a as t}from"./chunk-RT7ROXPF.js";import{l as i,m as r}from"./chunk-EFORKKSH.js";function e(o){if(o instanceof i||o instanceof r||o instanceof t)throw o}export{e as a};