@claudiolabs/claudio 0.1.9 → 0.1.11

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 (814) hide show
  1. package/bin/claudio +50 -1
  2. package/dist/chunks/AgentTool-0.1.11-m06x003m.mjs +1 -0
  3. package/dist/chunks/App-0.1.11-z60c27dk.mjs +1 -0
  4. package/dist/chunks/ApproveApiKey-0.1.11-dpm879x7.mjs +1 -0
  5. package/dist/chunks/AssistantSessionChooser-0.1.11-kb5jvw8n.mjs +1 -0
  6. package/dist/chunks/AutoModeOptInDialog-0.1.11-dnqj2p8g.mjs +1 -0
  7. package/dist/chunks/BypassPermissionsModeDialog-0.1.11-h71pmj5p.mjs +1 -0
  8. package/dist/chunks/ClaudeInChromeOnboarding-0.1.11-vjwzqejw.mjs +1 -0
  9. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.11-0wpjjdn9.mjs +1 -0
  10. package/dist/chunks/ConsoleOAuthFlow-0.1.11-xzbcx3cw.mjs +1 -0
  11. package/dist/chunks/DiffDialog-0.1.11-k3zsm9tz.mjs +3 -0
  12. package/dist/chunks/Doctor-0.1.11-958cxvhj.mjs +1 -0
  13. package/dist/chunks/Grove-0.1.11-93bnbcec.mjs +1 -0
  14. package/dist/chunks/ITermBackend-0.1.11-xbxm144g.mjs +1 -0
  15. package/dist/chunks/InProcessTransport-0.1.11-xecmx0sw.mjs +1 -0
  16. package/dist/chunks/InvalidConfigDialog-0.1.11-vbeef1wb.mjs +1 -0
  17. package/dist/chunks/InvalidSettingsDialog-0.1.11-5bct7bny.mjs +1 -0
  18. package/dist/chunks/MigrationDialog-0.1.11-13kfzmtt.mjs +1 -0
  19. package/dist/chunks/Onboarding-0.1.11-kz5hnpx3.mjs +1 -0
  20. package/dist/chunks/ProviderManager-0.1.11-nggswmdv.mjs +1 -0
  21. package/dist/chunks/REPL-0.1.11-ctxx4039.mjs +1 -0
  22. package/dist/chunks/ResumeConversation-0.1.11-gwxzn4yg.mjs +1 -0
  23. package/dist/chunks/SnapshotUpdateDialog-0.1.11-h881m192.mjs +1 -0
  24. package/dist/chunks/TeleportProgress-0.1.11-z1ez7pce.mjs +1 -0
  25. package/dist/chunks/TeleportRepoMismatchDialog-0.1.11-pjt2g9ss.mjs +1 -0
  26. package/dist/chunks/TeleportResumeWrapper-0.1.11-9y29zset.mjs +1 -0
  27. package/dist/chunks/TmuxBackend-0.1.11-5a4ddj92.mjs +9 -0
  28. package/dist/chunks/ToolSearchTool-0.1.11-w3cgae0s.mjs +1 -0
  29. package/dist/chunks/TrustDialog-0.1.11-3dsrj239.mjs +1 -0
  30. package/dist/chunks/activeProvider-0.1.11-qrn947by.mjs +1 -0
  31. package/dist/chunks/add-dir-0.1.11-9j7tq9gk.mjs +1 -0
  32. package/dist/chunks/agents-0.1.11-26pbss9x.mjs +3 -0
  33. package/dist/chunks/agents-0.1.11-m56gfjmy.mjs +111 -0
  34. package/dist/chunks/api-0.1.11-5ygenb1h.mjs +1 -0
  35. package/dist/chunks/asciicast-0.1.11-7mkaazy8.mjs +1 -0
  36. package/dist/chunks/assistant-0.1.11-5xbar4vv.mjs +1 -0
  37. package/dist/chunks/auth-0.1.11-2363mst5.mjs +1 -0
  38. package/dist/chunks/auth-0.1.11-p47wajra.mjs +1 -0
  39. package/dist/chunks/autoMode-0.1.11-nv8vsag0.mjs +48 -0
  40. package/dist/chunks/backgroundHousekeeping-0.1.11-fy6tykxe.mjs +1 -0
  41. package/dist/chunks/branch-0.1.11-aqhrj1x2.mjs +4 -0
  42. package/dist/chunks/bridgePointer-0.1.11-wr8dfs91.mjs +1 -0
  43. package/dist/chunks/btw-0.1.11-2kks7dfd.mjs +1 -0
  44. package/dist/chunks/buddy-0.1.11-gsj76spy.mjs +3 -0
  45. package/dist/chunks/cacache-0.1.11-wtz0ca19.mjs +1 -0
  46. package/dist/chunks/cache-probe-0.1.11-pgsemwpr.mjs +21 -0
  47. package/dist/chunks/cacheStats-0.1.11-1zqq6pm7.mjs +4 -0
  48. package/dist/chunks/caches-0.1.11-vewfnrya.mjs +1 -0
  49. package/dist/chunks/chrome-0.1.11-0g5459b5.mjs +1 -0
  50. package/dist/chunks/chromeNativeHost-0.1.11-m5kskzjw.mjs +2 -0
  51. package/dist/chunks/claude-for-chrome-mcp-0.1.11-h99xhv8j.mjs +1 -0
  52. package/dist/chunks/claudeDesktop-0.1.11-zpdtj6k8.mjs +1 -0
  53. package/dist/chunks/claudemd-0.1.11-qrr22x5b.mjs +1 -0
  54. package/dist/chunks/clear-0.1.11-c93nbam7.mjs +1 -0
  55. package/dist/chunks/clearTerminal-0.1.11-pdrc3735.mjs +1 -0
  56. package/dist/chunks/cli-0.1.11-036me3yr.mjs +2 -0
  57. package/dist/chunks/cli-0.1.11-05g86mrk.mjs +2 -0
  58. package/dist/chunks/cli-0.1.11-05ngjm8p.mjs +2 -0
  59. package/dist/chunks/cli-0.1.11-0fshz0ak.mjs +2 -0
  60. package/dist/chunks/cli-0.1.11-0n77qn68.mjs +2 -0
  61. package/dist/chunks/cli-0.1.11-0qwee9gy.mjs +2 -0
  62. package/dist/chunks/cli-0.1.11-0tge574q.mjs +2 -0
  63. package/dist/chunks/cli-0.1.11-10nmrfsz.mjs +8 -0
  64. package/dist/chunks/cli-0.1.11-16086k9e.mjs +2 -0
  65. package/dist/chunks/cli-0.1.11-1b48xqbe.mjs +2 -0
  66. package/dist/chunks/cli-0.1.11-1bmswdg3.mjs +2 -0
  67. package/dist/chunks/cli-0.1.11-1bryv90w.mjs +2 -0
  68. package/dist/chunks/cli-0.1.11-1bxwxewq.mjs +833 -0
  69. package/dist/chunks/cli-0.1.11-1e6fgnts.mjs +3 -0
  70. package/dist/chunks/cli-0.1.11-1xr9et85.mjs +2 -0
  71. package/dist/chunks/cli-0.1.11-21epc92q.mjs +2 -0
  72. package/dist/chunks/cli-0.1.11-23qqxmk4.mjs +2 -0
  73. package/dist/chunks/cli-0.1.11-2w8d5vqb.mjs +2 -0
  74. package/dist/chunks/cli-0.1.11-2xf0g9qc.mjs +45 -0
  75. package/dist/chunks/cli-0.1.11-3f5dv6mt.mjs +2 -0
  76. package/dist/chunks/cli-0.1.11-3p2f194m.mjs +2 -0
  77. package/dist/chunks/cli-0.1.11-3tqzgd9f.mjs +2 -0
  78. package/dist/chunks/cli-0.1.11-424zgj5k.mjs +4 -0
  79. package/dist/chunks/cli-0.1.11-4bn5ap1n.mjs +2 -0
  80. package/dist/chunks/cli-0.1.11-4cdyzvxv.mjs +3 -0
  81. package/dist/chunks/cli-0.1.11-4ggr81tw.mjs +2 -0
  82. package/dist/chunks/cli-0.1.11-4px8nt5r.mjs +2 -0
  83. package/dist/chunks/cli-0.1.11-4xsg15d1.mjs +2 -0
  84. package/dist/chunks/cli-0.1.11-50naxqgt.mjs +2 -0
  85. package/dist/chunks/cli-0.1.11-56bdg2vw.mjs +3 -0
  86. package/dist/chunks/cli-0.1.11-56p41bk3.mjs +2 -0
  87. package/dist/chunks/cli-0.1.11-5e45zda5.mjs +2 -0
  88. package/dist/chunks/cli-0.1.11-5hrysrcd.mjs +2 -0
  89. package/dist/chunks/cli-0.1.11-5hs4xyjq.mjs +2 -0
  90. package/dist/chunks/cli-0.1.11-5vqj6k7m.mjs +2 -0
  91. package/dist/chunks/cli-0.1.11-5zqfr92n.mjs +2 -0
  92. package/dist/chunks/cli-0.1.11-6r97rwda.mjs +2 -0
  93. package/dist/chunks/cli-0.1.11-6vqzqsdj.mjs +3 -0
  94. package/dist/chunks/cli-0.1.11-6zkfmcxp.mjs +2 -0
  95. package/dist/chunks/cli-0.1.11-70f778wy.mjs +2 -0
  96. package/dist/chunks/cli-0.1.11-71ewwy7m.mjs +50 -0
  97. package/dist/chunks/cli-0.1.11-7238rfy8.mjs +2 -0
  98. package/dist/chunks/cli-0.1.11-7mmhsc3x.mjs +2 -0
  99. package/dist/chunks/cli-0.1.11-7qpnfx56.mjs +2 -0
  100. package/dist/chunks/cli-0.1.11-7t04gqx2.mjs +3 -0
  101. package/dist/chunks/cli-0.1.11-7tybqg56.mjs +2 -0
  102. package/dist/chunks/cli-0.1.11-7vz357wm.mjs +58 -0
  103. package/dist/chunks/cli-0.1.11-7xr2ermy.mjs +2 -0
  104. package/dist/chunks/cli-0.1.11-84j34n0s.mjs +2 -0
  105. package/dist/chunks/cli-0.1.11-852v06g0.mjs +2 -0
  106. package/dist/chunks/cli-0.1.11-8qrhqvh5.mjs +2 -0
  107. package/dist/chunks/cli-0.1.11-91mf8dfr.mjs +2 -0
  108. package/dist/chunks/cli-0.1.11-96y2d09c.mjs +2 -0
  109. package/dist/chunks/cli-0.1.11-98zcwng9.mjs +2 -0
  110. package/dist/chunks/cli-0.1.11-anegs86e.mjs +7 -0
  111. package/dist/chunks/cli-0.1.11-anvzywg4.mjs +5 -0
  112. package/dist/chunks/cli-0.1.11-at3c85af.mjs +2 -0
  113. package/dist/chunks/cli-0.1.11-b0jasw23.mjs +9 -0
  114. package/dist/chunks/cli-0.1.11-bbx2h4x9.mjs +2 -0
  115. package/dist/chunks/cli-0.1.11-be28ty4m.mjs +2 -0
  116. package/dist/chunks/cli-0.1.11-bhqwqe2w.mjs +2 -0
  117. package/dist/chunks/cli-0.1.11-bqpcwywz.mjs +4 -0
  118. package/dist/chunks/cli-0.1.11-btayz9zj.mjs +2 -0
  119. package/dist/chunks/cli-0.1.11-bvd2r7an.mjs +252 -0
  120. package/dist/chunks/cli-0.1.11-bwn9ehxv.mjs +2 -0
  121. package/dist/chunks/cli-0.1.11-bwpemkht.mjs +2 -0
  122. package/dist/chunks/cli-0.1.11-cdpswj0n.mjs +2 -0
  123. package/dist/chunks/cli-0.1.11-cezypfbt.mjs +2 -0
  124. package/dist/chunks/cli-0.1.11-cf049e4w.mjs +134 -0
  125. package/dist/chunks/cli-0.1.11-chnrb9xx.mjs +10 -0
  126. package/dist/chunks/cli-0.1.11-ctjvkg5k.mjs +2 -0
  127. package/dist/chunks/cli-0.1.11-cw0ss3jw.mjs +4 -0
  128. package/dist/chunks/cli-0.1.11-cwptjaf7.mjs +12 -0
  129. package/dist/chunks/cli-0.1.11-d10nfa6g.mjs +11 -0
  130. package/dist/chunks/cli-0.1.11-d3exw047.mjs +2 -0
  131. package/dist/chunks/cli-0.1.11-d4ahh3jz.mjs +2 -0
  132. package/dist/chunks/cli-0.1.11-da6szcvw.mjs +2 -0
  133. package/dist/chunks/cli-0.1.11-dcswnc8x.mjs +24 -0
  134. package/dist/chunks/cli-0.1.11-dpfxvfty.mjs +2 -0
  135. package/dist/chunks/cli-0.1.11-e5ecf583.mjs +2 -0
  136. package/dist/chunks/cli-0.1.11-e66dak4h.mjs +4 -0
  137. package/dist/chunks/cli-0.1.11-e7gjxknm.mjs +16 -0
  138. package/dist/chunks/cli-0.1.11-egck69w4.mjs +2 -0
  139. package/dist/chunks/cli-0.1.11-eh7tjdab.mjs +18 -0
  140. package/dist/chunks/cli-0.1.11-ek6mck0j.mjs +2 -0
  141. package/dist/chunks/cli-0.1.11-emw2wfff.mjs +3 -0
  142. package/dist/chunks/cli-0.1.11-fag2wtke.mjs +2 -0
  143. package/dist/chunks/cli-0.1.11-fptq9w4t.mjs +2 -0
  144. package/dist/chunks/cli-0.1.11-fs3d0ajf.mjs +2 -0
  145. package/dist/chunks/cli-0.1.11-fstfs72j.mjs +2 -0
  146. package/dist/chunks/cli-0.1.11-ft47r1wq.mjs +2 -0
  147. package/dist/chunks/cli-0.1.11-fveg0t77.mjs +22 -0
  148. package/dist/chunks/cli-0.1.11-fx6ztxrs.mjs +5 -0
  149. package/dist/chunks/cli-0.1.11-g2202evh.mjs +2 -0
  150. package/dist/chunks/cli-0.1.11-g33qp0jz.mjs +2 -0
  151. package/dist/chunks/cli-0.1.11-gc069ne7.mjs +2 -0
  152. package/dist/chunks/cli-0.1.11-gdcvfp9f.mjs +2 -0
  153. package/dist/chunks/cli-0.1.11-ggrme14p.mjs +2 -0
  154. package/dist/chunks/cli-0.1.11-h02tyg8p.mjs +2 -0
  155. package/dist/chunks/cli-0.1.11-h2hxx8ma.mjs +12 -0
  156. package/dist/chunks/cli-0.1.11-h3jatwe1.mjs +2 -0
  157. package/dist/chunks/cli-0.1.11-h762f6hr.mjs +2 -0
  158. package/dist/chunks/cli-0.1.11-h7e4rkwk.mjs +31 -0
  159. package/dist/chunks/cli-0.1.11-h7phna9g.mjs +2 -0
  160. package/dist/chunks/cli-0.1.11-hgsa4nnp.mjs +2 -0
  161. package/dist/chunks/cli-0.1.11-hhs8ke9g.mjs +2 -0
  162. package/dist/chunks/cli-0.1.11-hmfevmz1.mjs +4 -0
  163. package/dist/chunks/cli-0.1.11-hrn726gf.mjs +2 -0
  164. package/dist/chunks/cli-0.1.11-hzezqkew.mjs +2 -0
  165. package/dist/chunks/cli-0.1.11-jj3s3dxd.mjs +15 -0
  166. package/dist/chunks/cli-0.1.11-jjgjkqqv.mjs +2 -0
  167. package/dist/chunks/cli-0.1.11-jkrt4znb.mjs +11 -0
  168. package/dist/chunks/cli-0.1.11-jne21ka1.mjs +2 -0
  169. package/dist/chunks/cli-0.1.11-jr50ahcv.mjs +3 -0
  170. package/dist/chunks/cli-0.1.11-jye250b3.mjs +2 -0
  171. package/dist/chunks/cli-0.1.11-kghg51gb.mjs +6 -0
  172. package/dist/chunks/cli-0.1.11-kk0qqs5v.mjs +7 -0
  173. package/dist/chunks/cli-0.1.11-kndj4a86.mjs +2 -0
  174. package/dist/chunks/cli-0.1.11-kthpxpj3.mjs +24 -0
  175. package/dist/chunks/cli-0.1.11-ktwtyqmp.mjs +2 -0
  176. package/dist/chunks/cli-0.1.11-m0aaey0g.mjs +4 -0
  177. package/dist/chunks/cli-0.1.11-m1dpnkp0.mjs +2 -0
  178. package/dist/chunks/cli-0.1.11-mj78w4sp.mjs +2 -0
  179. package/dist/chunks/cli-0.1.11-mr356stf.mjs +2 -0
  180. package/dist/chunks/cli-0.1.11-mstxxz33.mjs +2 -0
  181. package/dist/chunks/cli-0.1.11-n23d2wej.mjs +2 -0
  182. package/dist/chunks/cli-0.1.11-n24p2y0p.mjs +2 -0
  183. package/dist/chunks/cli-0.1.11-na9tsy21.mjs +2 -0
  184. package/dist/chunks/cli-0.1.11-nesh7dep.mjs +2 -0
  185. package/dist/chunks/cli-0.1.11-nhjbgc7t.mjs +2 -0
  186. package/dist/chunks/cli-0.1.11-nhwmv5g6.mjs +4 -0
  187. package/dist/chunks/cli-0.1.11-nx8a99hz.mjs +4 -0
  188. package/dist/chunks/cli-0.1.11-p22bdjhv.mjs +2 -0
  189. package/dist/chunks/cli-0.1.11-p4eeg584.mjs +5 -0
  190. package/dist/chunks/cli-0.1.11-pfgwwtw9.mjs +2 -0
  191. package/dist/chunks/cli-0.1.11-pr9jdfxt.mjs +3 -0
  192. package/dist/chunks/cli-0.1.11-q58q9jqr.mjs +2 -0
  193. package/dist/chunks/cli-0.1.11-q89t0xzx.mjs +2 -0
  194. package/dist/chunks/cli-0.1.11-qbcfg80y.mjs +16 -0
  195. package/dist/chunks/cli-0.1.11-qheffjft.mjs +2 -0
  196. package/dist/chunks/cli-0.1.11-qpzn4q17.mjs +15 -0
  197. package/dist/chunks/cli-0.1.11-qrq0sw0h.mjs +2 -0
  198. package/dist/chunks/cli-0.1.11-r990p54m.mjs +100 -0
  199. package/dist/chunks/cli-0.1.11-rj68n2kw.mjs +2 -0
  200. package/dist/chunks/cli-0.1.11-rj9ea3zn.mjs +2 -0
  201. package/dist/chunks/cli-0.1.11-rmyvg4yw.mjs +2 -0
  202. package/dist/chunks/cli-0.1.11-rrnr3ab1.mjs +2 -0
  203. package/dist/chunks/cli-0.1.11-rvk3t45h.mjs +2 -0
  204. package/dist/chunks/cli-0.1.11-s6yfjcm5.mjs +6 -0
  205. package/dist/chunks/cli-0.1.11-s8ygndzf.mjs +5036 -0
  206. package/dist/chunks/cli-0.1.11-sma2xhvv.mjs +2 -0
  207. package/dist/chunks/cli-0.1.11-sqqzwx4h.mjs +132 -0
  208. package/dist/chunks/cli-0.1.11-t07hba0z.mjs +2 -0
  209. package/dist/chunks/cli-0.1.11-t7dc7fbj.mjs +2 -0
  210. package/dist/chunks/cli-0.1.11-ta77hm2b.mjs +2 -0
  211. package/dist/chunks/cli-0.1.11-trcf78n1.mjs +2 -0
  212. package/dist/chunks/cli-0.1.11-tvfkn5mh.mjs +2 -0
  213. package/dist/chunks/cli-0.1.11-tyh8gms9.mjs +2 -0
  214. package/dist/chunks/cli-0.1.11-v2s8ey1n.mjs +12 -0
  215. package/dist/chunks/cli-0.1.11-v6kwgrqc.mjs +2 -0
  216. package/dist/chunks/cli-0.1.11-v7bwjqf0.mjs +192 -0
  217. package/dist/chunks/cli-0.1.11-v8j5bkfs.mjs +2 -0
  218. package/dist/chunks/cli-0.1.11-vb5f7c3a.mjs +2 -0
  219. package/dist/chunks/cli-0.1.11-vch8cn95.mjs +2 -0
  220. package/dist/chunks/cli-0.1.11-vq5fvf9m.mjs +44 -0
  221. package/dist/chunks/cli-0.1.11-vzet5m4y.mjs +2 -0
  222. package/dist/chunks/cli-0.1.11-w3fp9par.mjs +39 -0
  223. package/dist/chunks/cli-0.1.11-w3trj52p.mjs +21 -0
  224. package/dist/chunks/cli-0.1.11-w3ydpv9v.mjs +2 -0
  225. package/dist/chunks/cli-0.1.11-wc9bay3d.mjs +34 -0
  226. package/dist/chunks/cli-0.1.11-weav8142.mjs +2 -0
  227. package/dist/chunks/cli-0.1.11-wjxhn7j5.mjs +2 -0
  228. package/dist/chunks/cli-0.1.11-x37jysc0.mjs +14 -0
  229. package/dist/chunks/cli-0.1.11-x5nvafch.mjs +2 -0
  230. package/dist/chunks/cli-0.1.11-xhrk5hr0.mjs +2 -0
  231. package/dist/chunks/cli-0.1.11-xp93fxnp.mjs +2 -0
  232. package/dist/chunks/cli-0.1.11-xwj7cmkj.mjs +2 -0
  233. package/dist/chunks/cli-0.1.11-y4c6y87y.mjs +2 -0
  234. package/dist/chunks/cli-0.1.11-y909w8bb.mjs +2 -0
  235. package/dist/chunks/cli-0.1.11-yd6f29v2.mjs +2 -0
  236. package/dist/chunks/cli-0.1.11-yhk2y3c0.mjs +2 -0
  237. package/dist/chunks/cli-0.1.11-yrfxpjhr.mjs +2 -0
  238. package/dist/chunks/cli-0.1.11-yv5pfq6n.mjs +2 -0
  239. package/dist/chunks/cli-0.1.11-yvnhbsfn.mjs +3 -0
  240. package/dist/chunks/cli-0.1.11-z0thk4h0.mjs +2 -0
  241. package/dist/chunks/cli-0.1.11-z4hb2mcd.mjs +2 -0
  242. package/dist/chunks/cli-0.1.11-z62s8qx1.mjs +2 -0
  243. package/dist/chunks/cli-0.1.11-zb2sa3e2.mjs +13 -0
  244. package/dist/chunks/cli-0.1.11-zdyddegg.mjs +2 -0
  245. package/dist/chunks/cli-0.1.11-zfnmx1ny.mjs +2 -0
  246. package/dist/chunks/cli-0.1.11-zwkjaj0d.mjs +2 -0
  247. package/dist/chunks/client-0.1.11-h38k7vkj.mjs +1 -0
  248. package/dist/chunks/color-0.1.11-b7favzc8.mjs +1 -0
  249. package/dist/chunks/compact-0.1.11-damm234b.mjs +3 -0
  250. package/dist/chunks/config-0.1.11-bb6v0pwv.mjs +1 -0
  251. package/dist/chunks/config-0.1.11-cqy7fnab.mjs +1 -0
  252. package/dist/chunks/context-0.1.11-e2s56h3b.mjs +1 -0
  253. package/dist/chunks/context-noninteractive-0.1.11-s6b9q91h.mjs +1 -0
  254. package/dist/chunks/conversation-0.1.11-d8ejy4b9.mjs +1 -0
  255. package/dist/chunks/copy-0.1.11-aq32vn1b.mjs +9 -0
  256. package/dist/chunks/cost-0.1.11-3z9y6a5a.mjs +1 -0
  257. package/dist/chunks/createSession-0.1.11-rgaw7n2v.mjs +1 -0
  258. package/dist/chunks/desktop-0.1.11-k8ac4bfx.mjs +1 -0
  259. package/dist/chunks/detectRepository-0.1.11-m3chgqa1.mjs +1 -0
  260. package/dist/chunks/detection-0.1.11-aa9k5rxv.mjs +1 -0
  261. package/dist/chunks/devtools-0.1.11-fkz4akhx.mjs +1 -0
  262. package/dist/chunks/diff-0.1.11-tcqh42f6.mjs +1 -0
  263. package/dist/chunks/doctor-0.1.11-6fwwz8hp.mjs +1 -0
  264. package/dist/chunks/earlyInput-0.1.11-94asnfvh.mjs +1 -0
  265. package/dist/chunks/effort-0.1.11-zcxskzrb.mjs +8 -0
  266. package/dist/chunks/environmentSelection-0.1.11-6ngvrt1m.mjs +1 -0
  267. package/dist/chunks/environments-0.1.11-pdsv6dgq.mjs +1 -0
  268. package/dist/chunks/exit-0.1.11-2jab9tfm.mjs +1 -0
  269. package/dist/chunks/export-0.1.11-wv5bd05w.mjs +2 -0
  270. package/dist/chunks/extra-usage-0.1.11-f5rm0265.mjs +1 -0
  271. package/dist/chunks/extra-usage-noninteractive-0.1.11-dt7znwbn.mjs +1 -0
  272. package/dist/chunks/fast-0.1.11-a665n9kz.mjs +1 -0
  273. package/dist/chunks/feedback-0.1.11-q77qty87.mjs +14 -0
  274. package/dist/chunks/firstPartyEventLogger-0.1.11-y7qkhdj6.mjs +1 -0
  275. package/dist/chunks/git-0.1.11-g77ppr52.mjs +1 -0
  276. package/dist/chunks/githubModelsCredentials-0.1.11-9vhs3xqj.mjs +1 -0
  277. package/dist/chunks/growthbook-0.1.11-2w2b1mzd.mjs +1 -0
  278. package/dist/chunks/heapdump-0.1.11-b216wzt7.mjs +6 -0
  279. package/dist/chunks/help-0.1.11-byp88gen.mjs +1 -0
  280. package/dist/chunks/hookChains-0.1.11-jp8f82q7.mjs +3 -0
  281. package/dist/chunks/hooks-0.1.11-v9jan2ss.mjs +1 -0
  282. package/dist/chunks/hooks-0.1.11-vf6vcsgg.mjs +79 -0
  283. package/dist/chunks/ide-0.1.11-7nxbd03r.mjs +3 -0
  284. package/dist/chunks/image-processor-napi-0.1.11-dpg3ygnw.mjs +1 -0
  285. package/dist/chunks/index-0.1.11-3dfjfmc6.mjs +1 -0
  286. package/dist/chunks/index-0.1.11-82wnmfq3.mjs +9 -0
  287. package/dist/chunks/index-0.1.11-8gtaa17w.mjs +1 -0
  288. package/dist/chunks/index-0.1.11-ajdpkanw.mjs +1 -0
  289. package/dist/chunks/index-0.1.11-b2q967nq.mjs +30 -0
  290. package/dist/chunks/index-0.1.11-bhrstsgc.mjs +1 -0
  291. package/dist/chunks/index-0.1.11-d6qbzwah.mjs +1 -0
  292. package/dist/chunks/index-0.1.11-d9ft1b0s.mjs +1 -0
  293. package/dist/chunks/index-0.1.11-e52dzxjz.mjs +5 -0
  294. package/dist/chunks/index-0.1.11-gb3saayk.mjs +2 -0
  295. package/dist/chunks/index-0.1.11-kksxmkwe.mjs +1 -0
  296. package/dist/chunks/index-0.1.11-n564rmwy.mjs +1 -0
  297. package/dist/chunks/index-0.1.11-n90nxjqp.mjs +1 -0
  298. package/dist/chunks/index-0.1.11-p0j3w83p.mjs +1 -0
  299. package/dist/chunks/index-0.1.11-pmkgntay.mjs +7 -0
  300. package/dist/chunks/index-0.1.11-qspcw49p.mjs +1 -0
  301. package/dist/chunks/index-0.1.11-r6p77pf7.mjs +1 -0
  302. package/dist/chunks/index-0.1.11-s0w8xy7q.mjs +9 -0
  303. package/dist/chunks/index-0.1.11-wbhj1ny7.mjs +1 -0
  304. package/dist/chunks/index-0.1.11-wze82293.mjs +1 -0
  305. package/dist/chunks/index-0.1.11-xs4mng75.mjs +1 -0
  306. package/dist/chunks/index-0.1.11-yej3awws.mjs +2 -0
  307. package/dist/chunks/initReplBridge-0.1.11-71963wyw.mjs +1 -0
  308. package/dist/chunks/ink-0.1.11-tzp2q9bd.mjs +1 -0
  309. package/dist/chunks/insights-0.1.11-4yjg2bxs.mjs +870 -0
  310. package/dist/chunks/install-0.1.11-4zfvr6pk.mjs +1 -0
  311. package/dist/chunks/install-github-app-0.1.11-frqzdwsz.mjs +149 -0
  312. package/dist/chunks/install-slack-app-0.1.11-0yyjjvrw.mjs +1 -0
  313. package/dist/chunks/instrumentation-0.1.11-zyp2r390.mjs +12 -0
  314. package/dist/chunks/interactiveHelpers-0.1.11-chnsxp26.mjs +1 -0
  315. package/dist/chunks/keybindings-0.1.11-r2jke9h5.mjs +2 -0
  316. package/dist/chunks/knowledge-0.1.11-wpjw8ybd.mjs +2 -0
  317. package/dist/chunks/loadAgentsDir-0.1.11-bwymseqa.mjs +1 -0
  318. package/dist/chunks/loadPluginHooks-0.1.11-npf49gc4.mjs +1 -0
  319. package/dist/chunks/logout-0.1.11-48ynp610.mjs +1 -0
  320. package/dist/chunks/lsp-0.1.11-e4z6m5t5.mjs +1 -0
  321. package/dist/chunks/main-0.1.11-6sh6xycv.mjs +1 -0
  322. package/dist/chunks/managedEnv-0.1.11-6bnnpsm0.mjs +1 -0
  323. package/dist/chunks/mcp-0.1.11-vjjx8eer.mjs +17 -0
  324. package/dist/chunks/mcp-0.1.11-zf74a6am.mjs +4 -0
  325. package/dist/chunks/mcp-0.1.11-zw22jjqc.mjs +1 -0
  326. package/dist/chunks/mcpServer-0.1.11-czg51mvy.mjs +1 -0
  327. package/dist/chunks/mcpb-0.1.11-czkze48a.mjs +1 -0
  328. package/dist/chunks/memory-0.1.11-k7y98zqn.mjs +3 -0
  329. package/dist/chunks/mobile-0.1.11-2w5py2cb.mjs +2 -0
  330. package/dist/chunks/model-0.1.11-4v166f98.mjs +2 -0
  331. package/dist/chunks/model-0.1.11-qekc9c4w.mjs +1 -0
  332. package/dist/chunks/oauth-0.1.11-jkkd9wzq.mjs +1 -0
  333. package/dist/chunks/openaiShim-0.1.11-b9yqnc9c.mjs +14 -0
  334. package/dist/chunks/output-style-0.1.11-zwxn1knb.mjs +1 -0
  335. package/dist/chunks/package-HMBVQOZ4-0.1.11-n77wqhxr.mjs +1 -0
  336. package/dist/chunks/parser-0.1.11-vvhz2p5h.mjs +1 -0
  337. package/dist/chunks/passes-0.1.11-dgshr9c4.mjs +1 -0
  338. package/dist/chunks/permissions-0.1.11-71fn7rsk.mjs +3 -0
  339. package/dist/chunks/plan-0.1.11-1xyzxjgr.mjs +1 -0
  340. package/dist/chunks/plist-0.1.11-0sn6nqv3.mjs +1 -0
  341. package/dist/chunks/plugin-0.1.11-menj210d.mjs +29 -0
  342. package/dist/chunks/pluginStartupCheck-0.1.11-ytjn1kxg.mjs +1 -0
  343. package/dist/chunks/plugins-0.1.11-t3pgcpcj.mjs +9 -0
  344. package/dist/chunks/print-0.1.11-y9vz77h9.mjs +57 -0
  345. package/dist/chunks/privacy-settings-0.1.11-3ah0v02p.mjs +1 -0
  346. package/dist/chunks/process-0.1.11-s6jnx5xw.mjs +1 -0
  347. package/dist/chunks/processBashCommand-0.1.11-txp79ekj.mjs +1 -0
  348. package/dist/chunks/processSlashCommand-0.1.11-fdvs7etd.mjs +9 -0
  349. package/dist/chunks/prompt-0.1.11-4f7rsvd2.mjs +1 -0
  350. package/dist/chunks/prompt-0.1.11-bzkv3rsd.mjs +1 -0
  351. package/dist/chunks/prompts-0.1.11-xczb1nwa.mjs +1 -0
  352. package/dist/chunks/provider-0.1.11-cqeqqqbt.mjs +2 -0
  353. package/dist/chunks/providerProfiles-0.1.11-ewn8w0f1.mjs +1 -0
  354. package/dist/chunks/rate-limit-options-0.1.11-6bca3g5n.mjs +1 -0
  355. package/dist/chunks/registry-0.1.11-wjnpx9yf.mjs +1 -0
  356. package/dist/chunks/release-notes-0.1.11-dhe37z3c.mjs +5 -0
  357. package/dist/chunks/reload-plugins-0.1.11-gzep3pg3.mjs +2 -0
  358. package/dist/chunks/remote-env-0.1.11-yday97nq.mjs +1 -0
  359. package/dist/chunks/remoteBridgeCore-0.1.11-hn821p07.mjs +1 -0
  360. package/dist/chunks/remoteSession-0.1.11-g3h440pv.mjs +1 -0
  361. package/dist/chunks/rename-0.1.11-ke9btph2.mjs +1 -0
  362. package/dist/chunks/replBridgeHandle-0.1.11-t5njc196.mjs +1 -0
  363. package/dist/chunks/resume-0.1.11-d4bbgty9.mjs +2 -0
  364. package/dist/chunks/rewind-0.1.11-t4mfk815.mjs +1 -0
  365. package/dist/chunks/sandbox-adapter-0.1.11-3czn1nws.mjs +1 -0
  366. package/dist/chunks/sandbox-toggle-0.1.11-qxv2w9n1.mjs +1 -0
  367. package/dist/chunks/session-0.1.11-2z972raf.mjs +2 -0
  368. package/dist/chunks/sessionFileAccessHooks-0.1.11-f3exnspr.mjs +1 -0
  369. package/dist/chunks/sessionStorage-0.1.11-aa2ftdjn.mjs +1 -0
  370. package/dist/chunks/setup-0.1.11-epmpszzf.mjs +5 -0
  371. package/dist/chunks/sinks-0.1.11-q3zcj5me.mjs +1 -0
  372. package/dist/chunks/skills-0.1.11-9xbyp1p5.mjs +1 -0
  373. package/dist/chunks/startupProfiler-0.1.11-5s07826j.mjs +1 -0
  374. package/dist/chunks/state-0.1.11-3fjxywyv.mjs +1 -0
  375. package/dist/chunks/stats-0.1.11-hxzms6gg.mjs +6 -0
  376. package/dist/chunks/status-0.1.11-drvp15n8.mjs +1 -0
  377. package/dist/chunks/stickers-0.1.11-44f4tawn.mjs +1 -0
  378. package/dist/chunks/subprocessEnv-0.1.11-5w00fpez.mjs +1 -0
  379. package/dist/chunks/tasks-0.1.11-dn8h18fk.mjs +1 -0
  380. package/dist/chunks/teamHelpers-0.1.11-ca7kref8.mjs +1 -0
  381. package/dist/chunks/teammateModeSnapshot-0.1.11-an88rdgv.mjs +1 -0
  382. package/dist/chunks/teleport-0.1.11-8e3k0ex6.mjs +1 -0
  383. package/dist/chunks/terminalSetup-0.1.11-gtdwp0an.mjs +1 -0
  384. package/dist/chunks/theme-0.1.11-p447kczd.mjs +1 -0
  385. package/dist/chunks/thinkback-0.1.11-3f1xvkt5.mjs +1 -0
  386. package/dist/chunks/thinkback-play-0.1.11-0ax4h089.mjs +1 -0
  387. package/dist/chunks/toolPool-0.1.11-xrywy61j.mjs +1 -0
  388. package/dist/chunks/toolSearch-0.1.11-7yjvjxhp.mjs +1 -0
  389. package/dist/chunks/trustedDevice-0.1.11-070f1wch.mjs +1 -0
  390. package/dist/chunks/turndown.cjs-0.1.11-brwqmyse.mjs +69 -0
  391. package/dist/chunks/ultrareviewCommand-0.1.11-0m9b3kr5.mjs +4 -0
  392. package/dist/chunks/update-0.1.11-p33kxpg4.mjs +94 -0
  393. package/dist/chunks/upgrade-0.1.11-1aj14cqt.mjs +1 -0
  394. package/dist/chunks/upstreamproxy-0.1.11-vk16qw88.mjs +14 -0
  395. package/dist/chunks/usage-0.1.11-hch4v5jb.mjs +1 -0
  396. package/dist/chunks/util-0.1.11-sjkxad5k.mjs +1 -0
  397. package/dist/chunks/utils-0.1.11-2bk8zn4g.mjs +1 -0
  398. package/dist/chunks/vim-0.1.11-v1rz1d56.mjs +1 -0
  399. package/dist/chunks/watcher-0.1.11-v8mkv1xy.mjs +1 -0
  400. package/dist/chunks/wiki-0.1.11-v0twhcnn.mjs +132 -0
  401. package/dist/chunks/worktree-0.1.11-d7chpamf.mjs +1 -0
  402. package/dist/chunks/worktreeModeEnabled-0.1.11-tsxv6h6g.mjs +1 -0
  403. package/dist/chunks/wrapper-0.1.11-rt9xsnjh.mjs +7 -0
  404. package/dist/claudio-vscode.vsix +0 -0
  405. package/dist/cli.mjs +6 -6
  406. package/package.json +1 -1
  407. package/dist/chunks/AgentTool-0.1.9-e26h2f7z.mjs +0 -1
  408. package/dist/chunks/App-0.1.9-7ttp2eny.mjs +0 -1
  409. package/dist/chunks/ApproveApiKey-0.1.9-pz0jzna9.mjs +0 -1
  410. package/dist/chunks/AssistantSessionChooser-0.1.9-r5wg1yfv.mjs +0 -1
  411. package/dist/chunks/AutoModeOptInDialog-0.1.9-nbnjg2tp.mjs +0 -1
  412. package/dist/chunks/BypassPermissionsModeDialog-0.1.9-wjg6qps3.mjs +0 -1
  413. package/dist/chunks/ClaudeInChromeOnboarding-0.1.9-h46b49p8.mjs +0 -1
  414. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.9-b8em430v.mjs +0 -1
  415. package/dist/chunks/ConsoleOAuthFlow-0.1.9-zb1h6dvy.mjs +0 -1
  416. package/dist/chunks/DiffDialog-0.1.9-09s28v8e.mjs +0 -3
  417. package/dist/chunks/Doctor-0.1.9-9ak6wqtr.mjs +0 -1
  418. package/dist/chunks/Grove-0.1.9-rbrf13rd.mjs +0 -1
  419. package/dist/chunks/ITermBackend-0.1.9-8dgw249h.mjs +0 -1
  420. package/dist/chunks/InProcessTransport-0.1.9-5cp1e7x7.mjs +0 -1
  421. package/dist/chunks/InvalidConfigDialog-0.1.9-6mv9wgt8.mjs +0 -1
  422. package/dist/chunks/InvalidSettingsDialog-0.1.9-d5kkd4yd.mjs +0 -1
  423. package/dist/chunks/MigrationDialog-0.1.9-56807wps.mjs +0 -1
  424. package/dist/chunks/Onboarding-0.1.9-g5nqdh1r.mjs +0 -1
  425. package/dist/chunks/ProviderManager-0.1.9-kj6t8003.mjs +0 -1
  426. package/dist/chunks/REPL-0.1.9-3h2fc9z7.mjs +0 -1
  427. package/dist/chunks/ResumeConversation-0.1.9-k4gv6dx4.mjs +0 -1
  428. package/dist/chunks/SnapshotUpdateDialog-0.1.9-v3h7drc0.mjs +0 -1
  429. package/dist/chunks/StartupScreen-0.1.9-jgk08xvj.mjs +0 -1
  430. package/dist/chunks/TeleportProgress-0.1.9-pnqkmgap.mjs +0 -1
  431. package/dist/chunks/TeleportRepoMismatchDialog-0.1.9-ddtmy43v.mjs +0 -1
  432. package/dist/chunks/TeleportResumeWrapper-0.1.9-vhnyx04e.mjs +0 -1
  433. package/dist/chunks/TmuxBackend-0.1.9-nb2ks1np.mjs +0 -9
  434. package/dist/chunks/ToolSearchTool-0.1.9-n40whaty.mjs +0 -1
  435. package/dist/chunks/TrustDialog-0.1.9-dm2wppgy.mjs +0 -1
  436. package/dist/chunks/activeProvider-0.1.9-kbwwatt3.mjs +0 -1
  437. package/dist/chunks/add-dir-0.1.9-ed53zp9j.mjs +0 -1
  438. package/dist/chunks/agents-0.1.9-4gwb1qtc.mjs +0 -111
  439. package/dist/chunks/agents-0.1.9-yr85gwa8.mjs +0 -3
  440. package/dist/chunks/api-0.1.9-kqwfw6wj.mjs +0 -1
  441. package/dist/chunks/asciicast-0.1.9-ekvsjx76.mjs +0 -1
  442. package/dist/chunks/assistant-0.1.9-h4rgf0xq.mjs +0 -1
  443. package/dist/chunks/auth-0.1.9-1c12xrxs.mjs +0 -1
  444. package/dist/chunks/auth-0.1.9-rqfx3vqa.mjs +0 -1
  445. package/dist/chunks/autoMode-0.1.9-s92asycq.mjs +0 -48
  446. package/dist/chunks/backgroundHousekeeping-0.1.9-jjbqckpm.mjs +0 -1
  447. package/dist/chunks/branch-0.1.9-m7j2aerq.mjs +0 -4
  448. package/dist/chunks/bridgePointer-0.1.9-rv3aq23v.mjs +0 -1
  449. package/dist/chunks/btw-0.1.9-g55x31zp.mjs +0 -1
  450. package/dist/chunks/buddy-0.1.9-fqmk7e4y.mjs +0 -3
  451. package/dist/chunks/cacache-0.1.9-dr1vt8s1.mjs +0 -1
  452. package/dist/chunks/cache-probe-0.1.9-ydmjrch4.mjs +0 -21
  453. package/dist/chunks/cacheStats-0.1.9-pkarrnw9.mjs +0 -4
  454. package/dist/chunks/caches-0.1.9-d6cndrra.mjs +0 -1
  455. package/dist/chunks/chrome-0.1.9-bvwzw157.mjs +0 -1
  456. package/dist/chunks/chromeNativeHost-0.1.9-8a20nscz.mjs +0 -2
  457. package/dist/chunks/claude-for-chrome-mcp-0.1.9-ndknjd3g.mjs +0 -1
  458. package/dist/chunks/claudeDesktop-0.1.9-7xprztbk.mjs +0 -1
  459. package/dist/chunks/claudemd-0.1.9-dqyhgy2v.mjs +0 -1
  460. package/dist/chunks/clear-0.1.9-tb8x7676.mjs +0 -1
  461. package/dist/chunks/cli-0.1.9-001s9kxw.mjs +0 -24
  462. package/dist/chunks/cli-0.1.9-03e1d9dw.mjs +0 -39
  463. package/dist/chunks/cli-0.1.9-04ez73f7.mjs +0 -5084
  464. package/dist/chunks/cli-0.1.9-0dtdhejj.mjs +0 -31
  465. package/dist/chunks/cli-0.1.9-0e6nsh68.mjs +0 -3
  466. package/dist/chunks/cli-0.1.9-0j8n671q.mjs +0 -2
  467. package/dist/chunks/cli-0.1.9-15y0qt1z.mjs +0 -2
  468. package/dist/chunks/cli-0.1.9-1c3qpbdh.mjs +0 -2
  469. package/dist/chunks/cli-0.1.9-1f5gmndb.mjs +0 -2
  470. package/dist/chunks/cli-0.1.9-1ghbcafn.mjs +0 -2
  471. package/dist/chunks/cli-0.1.9-1kaj4v6k.mjs +0 -2
  472. package/dist/chunks/cli-0.1.9-1xmdqqzd.mjs +0 -3
  473. package/dist/chunks/cli-0.1.9-263y2rkc.mjs +0 -3
  474. package/dist/chunks/cli-0.1.9-2dd7h0hn.mjs +0 -15
  475. package/dist/chunks/cli-0.1.9-2prq7peb.mjs +0 -2
  476. package/dist/chunks/cli-0.1.9-2tc83tsz.mjs +0 -2
  477. package/dist/chunks/cli-0.1.9-2thp2z73.mjs +0 -2
  478. package/dist/chunks/cli-0.1.9-2v0y90vz.mjs +0 -2
  479. package/dist/chunks/cli-0.1.9-2v4s8yf9.mjs +0 -7
  480. package/dist/chunks/cli-0.1.9-2x18rhq6.mjs +0 -6
  481. package/dist/chunks/cli-0.1.9-38zb09vp.mjs +0 -2
  482. package/dist/chunks/cli-0.1.9-3g3er8j1.mjs +0 -15
  483. package/dist/chunks/cli-0.1.9-3h4serkj.mjs +0 -58
  484. package/dist/chunks/cli-0.1.9-3rhe87kw.mjs +0 -2
  485. package/dist/chunks/cli-0.1.9-3vfq7jja.mjs +0 -34
  486. package/dist/chunks/cli-0.1.9-3wmbdmrp.mjs +0 -2
  487. package/dist/chunks/cli-0.1.9-3y36913h.mjs +0 -10
  488. package/dist/chunks/cli-0.1.9-3yscrq86.mjs +0 -833
  489. package/dist/chunks/cli-0.1.9-45ggwszg.mjs +0 -2
  490. package/dist/chunks/cli-0.1.9-4a9qwf11.mjs +0 -2
  491. package/dist/chunks/cli-0.1.9-4bg6jxs8.mjs +0 -2
  492. package/dist/chunks/cli-0.1.9-4kk9fmg2.mjs +0 -2
  493. package/dist/chunks/cli-0.1.9-4n4dqg6k.mjs +0 -2
  494. package/dist/chunks/cli-0.1.9-4sqfjw8t.mjs +0 -16
  495. package/dist/chunks/cli-0.1.9-4vmbyj20.mjs +0 -2
  496. package/dist/chunks/cli-0.1.9-4vt296k0.mjs +0 -18
  497. package/dist/chunks/cli-0.1.9-5ryrgdzg.mjs +0 -2
  498. package/dist/chunks/cli-0.1.9-5vgk7wf7.mjs +0 -2
  499. package/dist/chunks/cli-0.1.9-5ygmjsje.mjs +0 -2
  500. package/dist/chunks/cli-0.1.9-5ypg3t0t.mjs +0 -2
  501. package/dist/chunks/cli-0.1.9-5zhhyq4q.mjs +0 -2
  502. package/dist/chunks/cli-0.1.9-61ywjha3.mjs +0 -2
  503. package/dist/chunks/cli-0.1.9-68vwvmkw.mjs +0 -2
  504. package/dist/chunks/cli-0.1.9-6c7qrr4p.mjs +0 -16
  505. package/dist/chunks/cli-0.1.9-6gk46nr9.mjs +0 -2
  506. package/dist/chunks/cli-0.1.9-6j5gxw5r.mjs +0 -5
  507. package/dist/chunks/cli-0.1.9-6ne451jc.mjs +0 -2
  508. package/dist/chunks/cli-0.1.9-6p67vwxh.mjs +0 -2
  509. package/dist/chunks/cli-0.1.9-6pcahrj9.mjs +0 -2
  510. package/dist/chunks/cli-0.1.9-7047sjwh.mjs +0 -2
  511. package/dist/chunks/cli-0.1.9-7bakxr5q.mjs +0 -3
  512. package/dist/chunks/cli-0.1.9-7bthhhpf.mjs +0 -2
  513. package/dist/chunks/cli-0.1.9-7fp0smtp.mjs +0 -2
  514. package/dist/chunks/cli-0.1.9-7ftnjyps.mjs +0 -2
  515. package/dist/chunks/cli-0.1.9-7h5my4fb.mjs +0 -2
  516. package/dist/chunks/cli-0.1.9-7kcaaxvq.mjs +0 -12
  517. package/dist/chunks/cli-0.1.9-7q9461ka.mjs +0 -2
  518. package/dist/chunks/cli-0.1.9-7qhatm3v.mjs +0 -2
  519. package/dist/chunks/cli-0.1.9-86kws2c7.mjs +0 -192
  520. package/dist/chunks/cli-0.1.9-8egwvs85.mjs +0 -2
  521. package/dist/chunks/cli-0.1.9-90h21nv5.mjs +0 -2
  522. package/dist/chunks/cli-0.1.9-9d4sp76k.mjs +0 -2
  523. package/dist/chunks/cli-0.1.9-9hc8gyb7.mjs +0 -2
  524. package/dist/chunks/cli-0.1.9-9nhh15bp.mjs +0 -2
  525. package/dist/chunks/cli-0.1.9-9vab0er5.mjs +0 -2
  526. package/dist/chunks/cli-0.1.9-9vn4ys3c.mjs +0 -22
  527. package/dist/chunks/cli-0.1.9-a1gtww1d.mjs +0 -2
  528. package/dist/chunks/cli-0.1.9-a7zy4vqn.mjs +0 -134
  529. package/dist/chunks/cli-0.1.9-a95nqhbd.mjs +0 -4
  530. package/dist/chunks/cli-0.1.9-ag6a8kqj.mjs +0 -2
  531. package/dist/chunks/cli-0.1.9-ak0b9xfs.mjs +0 -100
  532. package/dist/chunks/cli-0.1.9-aqd7czgr.mjs +0 -3
  533. package/dist/chunks/cli-0.1.9-axg1kbe4.mjs +0 -2
  534. package/dist/chunks/cli-0.1.9-aype6q4y.mjs +0 -2
  535. package/dist/chunks/cli-0.1.9-b3031hmy.mjs +0 -2
  536. package/dist/chunks/cli-0.1.9-b6zp931m.mjs +0 -11
  537. package/dist/chunks/cli-0.1.9-b73n8vzm.mjs +0 -2
  538. package/dist/chunks/cli-0.1.9-b9kbpf6n.mjs +0 -2
  539. package/dist/chunks/cli-0.1.9-bg9xvmav.mjs +0 -2
  540. package/dist/chunks/cli-0.1.9-bn43vpc0.mjs +0 -2
  541. package/dist/chunks/cli-0.1.9-br9jzagb.mjs +0 -2
  542. package/dist/chunks/cli-0.1.9-c2fjeq7k.mjs +0 -2
  543. package/dist/chunks/cli-0.1.9-c38eyh49.mjs +0 -2
  544. package/dist/chunks/cli-0.1.9-cfzmq9k6.mjs +0 -2
  545. package/dist/chunks/cli-0.1.9-cvnkghgh.mjs +0 -3
  546. package/dist/chunks/cli-0.1.9-dmcbsmj4.mjs +0 -2
  547. package/dist/chunks/cli-0.1.9-dsx18zt1.mjs +0 -2
  548. package/dist/chunks/cli-0.1.9-dt31fs16.mjs +0 -2
  549. package/dist/chunks/cli-0.1.9-dzz1me99.mjs +0 -2
  550. package/dist/chunks/cli-0.1.9-e7ewtpew.mjs +0 -2
  551. package/dist/chunks/cli-0.1.9-e96x59hw.mjs +0 -2
  552. package/dist/chunks/cli-0.1.9-ehhkqhbv.mjs +0 -2
  553. package/dist/chunks/cli-0.1.9-eqxc9zxm.mjs +0 -12
  554. package/dist/chunks/cli-0.1.9-ewq9k9mr.mjs +0 -2
  555. package/dist/chunks/cli-0.1.9-ewwxqbvt.mjs +0 -2
  556. package/dist/chunks/cli-0.1.9-f4v4pahc.mjs +0 -4
  557. package/dist/chunks/cli-0.1.9-f643fvt4.mjs +0 -2
  558. package/dist/chunks/cli-0.1.9-f8ga1n8r.mjs +0 -6
  559. package/dist/chunks/cli-0.1.9-fcf313e7.mjs +0 -2
  560. package/dist/chunks/cli-0.1.9-fh5enjw8.mjs +0 -5
  561. package/dist/chunks/cli-0.1.9-fm2yycpj.mjs +0 -2
  562. package/dist/chunks/cli-0.1.9-fwqwgjwb.mjs +0 -2
  563. package/dist/chunks/cli-0.1.9-gandxpzf.mjs +0 -2
  564. package/dist/chunks/cli-0.1.9-gasw7sr9.mjs +0 -2
  565. package/dist/chunks/cli-0.1.9-gdymcvby.mjs +0 -2
  566. package/dist/chunks/cli-0.1.9-gpd1bhnf.mjs +0 -2
  567. package/dist/chunks/cli-0.1.9-gsc0t4gy.mjs +0 -2
  568. package/dist/chunks/cli-0.1.9-gvrtqwe3.mjs +0 -2
  569. package/dist/chunks/cli-0.1.9-h8xne7z8.mjs +0 -2
  570. package/dist/chunks/cli-0.1.9-hjcv9wr7.mjs +0 -50
  571. package/dist/chunks/cli-0.1.9-hva25eg3.mjs +0 -4
  572. package/dist/chunks/cli-0.1.9-hy4peemf.mjs +0 -3
  573. package/dist/chunks/cli-0.1.9-hy9s1fnj.mjs +0 -14
  574. package/dist/chunks/cli-0.1.9-hz8rssz0.mjs +0 -2
  575. package/dist/chunks/cli-0.1.9-j5zz6gbq.mjs +0 -4
  576. package/dist/chunks/cli-0.1.9-jb6af8n8.mjs +0 -2
  577. package/dist/chunks/cli-0.1.9-jchn9hyn.mjs +0 -2
  578. package/dist/chunks/cli-0.1.9-jdpz959j.mjs +0 -2
  579. package/dist/chunks/cli-0.1.9-jv2z42gk.mjs +0 -2
  580. package/dist/chunks/cli-0.1.9-kbrf27z8.mjs +0 -2
  581. package/dist/chunks/cli-0.1.9-krv35v3v.mjs +0 -2
  582. package/dist/chunks/cli-0.1.9-ksv4ntar.mjs +0 -2
  583. package/dist/chunks/cli-0.1.9-kt9xw7bn.mjs +0 -2
  584. package/dist/chunks/cli-0.1.9-m7shtst2.mjs +0 -2
  585. package/dist/chunks/cli-0.1.9-mfyd9h50.mjs +0 -2
  586. package/dist/chunks/cli-0.1.9-mj88t3jf.mjs +0 -2
  587. package/dist/chunks/cli-0.1.9-mjkhzp2c.mjs +0 -3
  588. package/dist/chunks/cli-0.1.9-mkfnnvz7.mjs +0 -4
  589. package/dist/chunks/cli-0.1.9-mme2x7fq.mjs +0 -2
  590. package/dist/chunks/cli-0.1.9-mnegaqr7.mjs +0 -2
  591. package/dist/chunks/cli-0.1.9-mx4ekht0.mjs +0 -2
  592. package/dist/chunks/cli-0.1.9-mz3mbxwb.mjs +0 -12
  593. package/dist/chunks/cli-0.1.9-n445yk6z.mjs +0 -2
  594. package/dist/chunks/cli-0.1.9-n54k4qt3.mjs +0 -2
  595. package/dist/chunks/cli-0.1.9-n8tc0gpm.mjs +0 -2
  596. package/dist/chunks/cli-0.1.9-nsgdz4rd.mjs +0 -2
  597. package/dist/chunks/cli-0.1.9-nw3rpxdd.mjs +0 -252
  598. package/dist/chunks/cli-0.1.9-nz8phj17.mjs +0 -2
  599. package/dist/chunks/cli-0.1.9-p1kdk178.mjs +0 -2
  600. package/dist/chunks/cli-0.1.9-p58rgwkr.mjs +0 -4
  601. package/dist/chunks/cli-0.1.9-p5scdysw.mjs +0 -2
  602. package/dist/chunks/cli-0.1.9-pdbfg3vh.mjs +0 -2
  603. package/dist/chunks/cli-0.1.9-pgwsmwz1.mjs +0 -2
  604. package/dist/chunks/cli-0.1.9-ph3w8t78.mjs +0 -2
  605. package/dist/chunks/cli-0.1.9-psx0e36a.mjs +0 -2
  606. package/dist/chunks/cli-0.1.9-q3e2h88a.mjs +0 -2
  607. package/dist/chunks/cli-0.1.9-q7hve442.mjs +0 -2
  608. package/dist/chunks/cli-0.1.9-qqjp7mpj.mjs +0 -2
  609. package/dist/chunks/cli-0.1.9-qydwhycw.mjs +0 -2
  610. package/dist/chunks/cli-0.1.9-r3ha1332.mjs +0 -7
  611. package/dist/chunks/cli-0.1.9-r7rcv2wm.mjs +0 -8
  612. package/dist/chunks/cli-0.1.9-rd0jctgk.mjs +0 -21
  613. package/dist/chunks/cli-0.1.9-rerthk1j.mjs +0 -2
  614. package/dist/chunks/cli-0.1.9-rft22htm.mjs +0 -2
  615. package/dist/chunks/cli-0.1.9-rp31nc37.mjs +0 -2
  616. package/dist/chunks/cli-0.1.9-rw09xkh7.mjs +0 -2
  617. package/dist/chunks/cli-0.1.9-s0w3y07w.mjs +0 -2
  618. package/dist/chunks/cli-0.1.9-s45y2ndk.mjs +0 -2
  619. package/dist/chunks/cli-0.1.9-s6bk4fbn.mjs +0 -2
  620. package/dist/chunks/cli-0.1.9-scpj6tps.mjs +0 -3
  621. package/dist/chunks/cli-0.1.9-sqja68fn.mjs +0 -2
  622. package/dist/chunks/cli-0.1.9-sv3awdsv.mjs +0 -2
  623. package/dist/chunks/cli-0.1.9-t24n24mw.mjs +0 -2
  624. package/dist/chunks/cli-0.1.9-teaymnrz.mjs +0 -2
  625. package/dist/chunks/cli-0.1.9-tq9z3reg.mjs +0 -2
  626. package/dist/chunks/cli-0.1.9-v32f99vc.mjs +0 -11
  627. package/dist/chunks/cli-0.1.9-v6x9pr1t.mjs +0 -2
  628. package/dist/chunks/cli-0.1.9-v7ajk1nz.mjs +0 -2
  629. package/dist/chunks/cli-0.1.9-vdw09f8y.mjs +0 -44
  630. package/dist/chunks/cli-0.1.9-vm7cggd9.mjs +0 -45
  631. package/dist/chunks/cli-0.1.9-vp3dtntc.mjs +0 -2
  632. package/dist/chunks/cli-0.1.9-vwv31syx.mjs +0 -2
  633. package/dist/chunks/cli-0.1.9-w692zn5c.mjs +0 -2
  634. package/dist/chunks/cli-0.1.9-wn39cz20.mjs +0 -2
  635. package/dist/chunks/cli-0.1.9-wpvrabrk.mjs +0 -2
  636. package/dist/chunks/cli-0.1.9-x0xxr5dh.mjs +0 -13
  637. package/dist/chunks/cli-0.1.9-x13p19zq.mjs +0 -2
  638. package/dist/chunks/cli-0.1.9-x257hapj.mjs +0 -9
  639. package/dist/chunks/cli-0.1.9-x7qrvj9f.mjs +0 -2
  640. package/dist/chunks/cli-0.1.9-xvn37fkk.mjs +0 -2
  641. package/dist/chunks/cli-0.1.9-xvvq2rcd.mjs +0 -4
  642. package/dist/chunks/cli-0.1.9-xws3mhz4.mjs +0 -2
  643. package/dist/chunks/cli-0.1.9-y8n4w5nn.mjs +0 -5
  644. package/dist/chunks/cli-0.1.9-ycvkz1gf.mjs +0 -4
  645. package/dist/chunks/cli-0.1.9-yddanjg2.mjs +0 -132
  646. package/dist/chunks/cli-0.1.9-ymsq31jx.mjs +0 -2
  647. package/dist/chunks/cli-0.1.9-ywf6743k.mjs +0 -2
  648. package/dist/chunks/cli-0.1.9-z5mm21jw.mjs +0 -24
  649. package/dist/chunks/cli-0.1.9-zae1me3j.mjs +0 -2
  650. package/dist/chunks/cli-0.1.9-zck4s4sh.mjs +0 -2
  651. package/dist/chunks/cli-0.1.9-zehsa1kq.mjs +0 -2
  652. package/dist/chunks/cli-0.1.9-zqyxbf50.mjs +0 -2
  653. package/dist/chunks/cli-0.1.9-zstpbdrf.mjs +0 -2
  654. package/dist/chunks/cli-0.1.9-zzp8m503.mjs +0 -3
  655. package/dist/chunks/cliArgs-0.1.9-kckasx4h.mjs +0 -1
  656. package/dist/chunks/client-0.1.9-ys52xz2v.mjs +0 -1
  657. package/dist/chunks/color-0.1.9-nmnytefc.mjs +0 -1
  658. package/dist/chunks/compact-0.1.9-qw915ckh.mjs +0 -3
  659. package/dist/chunks/config-0.1.9-1m69edch.mjs +0 -1
  660. package/dist/chunks/config-0.1.9-6knxc8a2.mjs +0 -1
  661. package/dist/chunks/context-0.1.9-47a3xmqq.mjs +0 -1
  662. package/dist/chunks/context-noninteractive-0.1.9-6s9bm74v.mjs +0 -1
  663. package/dist/chunks/conversation-0.1.9-vebter8y.mjs +0 -1
  664. package/dist/chunks/copy-0.1.9-ae06p3e2.mjs +0 -9
  665. package/dist/chunks/cost-0.1.9-x5zee0z9.mjs +0 -1
  666. package/dist/chunks/createSession-0.1.9-djn7xdsv.mjs +0 -1
  667. package/dist/chunks/desktop-0.1.9-xaecrssd.mjs +0 -1
  668. package/dist/chunks/detectRepository-0.1.9-qqzcce45.mjs +0 -1
  669. package/dist/chunks/detection-0.1.9-ry1q2ym2.mjs +0 -1
  670. package/dist/chunks/devtools-0.1.9-kzs9wq2w.mjs +0 -1
  671. package/dist/chunks/diff-0.1.9-af5n5bzh.mjs +0 -1
  672. package/dist/chunks/doctor-0.1.9-9f6fz2h0.mjs +0 -1
  673. package/dist/chunks/earlyInput-0.1.9-h7yskwvf.mjs +0 -1
  674. package/dist/chunks/effort-0.1.9-spz96zzr.mjs +0 -8
  675. package/dist/chunks/environmentSelection-0.1.9-0va5g53h.mjs +0 -1
  676. package/dist/chunks/environments-0.1.9-2hka6k26.mjs +0 -1
  677. package/dist/chunks/exit-0.1.9-rvk04qa2.mjs +0 -1
  678. package/dist/chunks/export-0.1.9-c3pqjktx.mjs +0 -2
  679. package/dist/chunks/extra-usage-0.1.9-92jjke47.mjs +0 -1
  680. package/dist/chunks/extra-usage-noninteractive-0.1.9-27zjp5q7.mjs +0 -1
  681. package/dist/chunks/fast-0.1.9-60sqqvgd.mjs +0 -1
  682. package/dist/chunks/feedback-0.1.9-anraj53n.mjs +0 -14
  683. package/dist/chunks/firstPartyEventLogger-0.1.9-y55fqx1x.mjs +0 -1
  684. package/dist/chunks/fullscreen-0.1.9-xy9bnpe3.mjs +0 -1
  685. package/dist/chunks/git-0.1.9-09pdaxwd.mjs +0 -1
  686. package/dist/chunks/githubModelsCredentials-0.1.9-bzx6c3bd.mjs +0 -1
  687. package/dist/chunks/growthbook-0.1.9-rqhcy76z.mjs +0 -1
  688. package/dist/chunks/heapdump-0.1.9-qrfce4dp.mjs +0 -6
  689. package/dist/chunks/help-0.1.9-sfn2ed9n.mjs +0 -1
  690. package/dist/chunks/hookChains-0.1.9-5t2mrtyc.mjs +0 -3
  691. package/dist/chunks/hooks-0.1.9-4cebdztn.mjs +0 -1
  692. package/dist/chunks/hooks-0.1.9-y0vtx23k.mjs +0 -79
  693. package/dist/chunks/ide-0.1.9-yxzacgd5.mjs +0 -3
  694. package/dist/chunks/image-processor-napi-0.1.9-fwc1ge47.mjs +0 -1
  695. package/dist/chunks/index-0.1.9-2gv7a7tq.mjs +0 -2
  696. package/dist/chunks/index-0.1.9-31vnb803.mjs +0 -1
  697. package/dist/chunks/index-0.1.9-68aa3hmw.mjs +0 -1
  698. package/dist/chunks/index-0.1.9-7ktx5gez.mjs +0 -1
  699. package/dist/chunks/index-0.1.9-8feamw1f.mjs +0 -1
  700. package/dist/chunks/index-0.1.9-8hzceckr.mjs +0 -5
  701. package/dist/chunks/index-0.1.9-96thm65j.mjs +0 -1
  702. package/dist/chunks/index-0.1.9-c7sexk3f.mjs +0 -2
  703. package/dist/chunks/index-0.1.9-fvtq6thw.mjs +0 -1
  704. package/dist/chunks/index-0.1.9-g2ngvhaf.mjs +0 -1
  705. package/dist/chunks/index-0.1.9-gtn0qcv2.mjs +0 -7
  706. package/dist/chunks/index-0.1.9-h548q4km.mjs +0 -1
  707. package/dist/chunks/index-0.1.9-j6ac60hq.mjs +0 -1
  708. package/dist/chunks/index-0.1.9-jxdymwv4.mjs +0 -1
  709. package/dist/chunks/index-0.1.9-kgdkzpmr.mjs +0 -1
  710. package/dist/chunks/index-0.1.9-mt2y3wyw.mjs +0 -9
  711. package/dist/chunks/index-0.1.9-smem7egb.mjs +0 -30
  712. package/dist/chunks/index-0.1.9-snmdvw2f.mjs +0 -1
  713. package/dist/chunks/index-0.1.9-vwevfx80.mjs +0 -1
  714. package/dist/chunks/index-0.1.9-w21jc8bp.mjs +0 -1
  715. package/dist/chunks/index-0.1.9-wpqaqk4y.mjs +0 -1
  716. package/dist/chunks/index-0.1.9-yjp28h60.mjs +0 -9
  717. package/dist/chunks/initReplBridge-0.1.9-dag95hyf.mjs +0 -1
  718. package/dist/chunks/ink-0.1.9-4n2nvw5p.mjs +0 -1
  719. package/dist/chunks/insights-0.1.9-9hr8tshw.mjs +0 -870
  720. package/dist/chunks/install-0.1.9-km91vvgf.mjs +0 -1
  721. package/dist/chunks/install-github-app-0.1.9-874a2dgj.mjs +0 -149
  722. package/dist/chunks/install-slack-app-0.1.9-q5yyb8vs.mjs +0 -1
  723. package/dist/chunks/instrumentation-0.1.9-raz129aj.mjs +0 -12
  724. package/dist/chunks/interactiveHelpers-0.1.9-21a8r4rv.mjs +0 -1
  725. package/dist/chunks/keybindings-0.1.9-nm8s4x8m.mjs +0 -2
  726. package/dist/chunks/knowledge-0.1.9-zhr6zq80.mjs +0 -2
  727. package/dist/chunks/loadAgentsDir-0.1.9-3m0mzw84.mjs +0 -1
  728. package/dist/chunks/loadPluginHooks-0.1.9-y46g5zj0.mjs +0 -1
  729. package/dist/chunks/logout-0.1.9-hb89bxj8.mjs +0 -1
  730. package/dist/chunks/lsp-0.1.9-2j3y8eqc.mjs +0 -1
  731. package/dist/chunks/main-0.1.9-7cnyr288.mjs +0 -1
  732. package/dist/chunks/managedEnv-0.1.9-y8wax2wz.mjs +0 -1
  733. package/dist/chunks/mcp-0.1.9-14beee71.mjs +0 -17
  734. package/dist/chunks/mcp-0.1.9-qw1n3pzx.mjs +0 -4
  735. package/dist/chunks/mcp-0.1.9-zd92e41j.mjs +0 -1
  736. package/dist/chunks/mcpServer-0.1.9-5p48a2y0.mjs +0 -1
  737. package/dist/chunks/mcpb-0.1.9-t8x1bjwv.mjs +0 -1
  738. package/dist/chunks/memory-0.1.9-mxz6vgsy.mjs +0 -3
  739. package/dist/chunks/mobile-0.1.9-144nwr03.mjs +0 -2
  740. package/dist/chunks/model-0.1.9-ghswdzx2.mjs +0 -1
  741. package/dist/chunks/model-0.1.9-j4vhm4vm.mjs +0 -2
  742. package/dist/chunks/oauth-0.1.9-a7p9ezjx.mjs +0 -1
  743. package/dist/chunks/openaiShim-0.1.9-5bn57rv6.mjs +0 -14
  744. package/dist/chunks/output-style-0.1.9-y8t5c5v3.mjs +0 -1
  745. package/dist/chunks/package-HMBVQOZ4-0.1.9-mbvqe0av.mjs +0 -1
  746. package/dist/chunks/parser-0.1.9-d7vc9q1w.mjs +0 -1
  747. package/dist/chunks/passes-0.1.9-84vsp058.mjs +0 -1
  748. package/dist/chunks/permissions-0.1.9-h0a2312z.mjs +0 -3
  749. package/dist/chunks/plan-0.1.9-k9dx9nwc.mjs +0 -1
  750. package/dist/chunks/plist-0.1.9-f3c6hvca.mjs +0 -1
  751. package/dist/chunks/plugin-0.1.9-z3nwra38.mjs +0 -29
  752. package/dist/chunks/pluginStartupCheck-0.1.9-p68xwmv4.mjs +0 -1
  753. package/dist/chunks/plugins-0.1.9-grc1bgmj.mjs +0 -9
  754. package/dist/chunks/print-0.1.9-z151tvas.mjs +0 -57
  755. package/dist/chunks/privacy-settings-0.1.9-m7xpxtd8.mjs +0 -1
  756. package/dist/chunks/process-0.1.9-anx0dq1a.mjs +0 -1
  757. package/dist/chunks/processBashCommand-0.1.9-bchtybqh.mjs +0 -1
  758. package/dist/chunks/processSlashCommand-0.1.9-ebvc859m.mjs +0 -9
  759. package/dist/chunks/prompt-0.1.9-08fnpwfx.mjs +0 -1
  760. package/dist/chunks/prompt-0.1.9-whqkx3td.mjs +0 -1
  761. package/dist/chunks/prompts-0.1.9-psek69yr.mjs +0 -1
  762. package/dist/chunks/provider-0.1.9-xwmdqr38.mjs +0 -2
  763. package/dist/chunks/providerProfiles-0.1.9-myc8zcfy.mjs +0 -1
  764. package/dist/chunks/rate-limit-options-0.1.9-06twart5.mjs +0 -1
  765. package/dist/chunks/registry-0.1.9-xxrsbce3.mjs +0 -1
  766. package/dist/chunks/release-notes-0.1.9-4r396x7z.mjs +0 -5
  767. package/dist/chunks/reload-plugins-0.1.9-hm09ekrf.mjs +0 -2
  768. package/dist/chunks/remote-env-0.1.9-0peng4np.mjs +0 -1
  769. package/dist/chunks/remoteBridgeCore-0.1.9-4eg0bkck.mjs +0 -1
  770. package/dist/chunks/remoteSession-0.1.9-7jagnaes.mjs +0 -1
  771. package/dist/chunks/rename-0.1.9-3r8bqa1y.mjs +0 -1
  772. package/dist/chunks/replBridgeHandle-0.1.9-1y32h5jq.mjs +0 -1
  773. package/dist/chunks/resume-0.1.9-gayv56qp.mjs +0 -2
  774. package/dist/chunks/rewind-0.1.9-krxjbzeg.mjs +0 -1
  775. package/dist/chunks/sandbox-adapter-0.1.9-b4ze2ex2.mjs +0 -1
  776. package/dist/chunks/sandbox-toggle-0.1.9-6vctxbed.mjs +0 -1
  777. package/dist/chunks/session-0.1.9-jtrr3jje.mjs +0 -2
  778. package/dist/chunks/sessionFileAccessHooks-0.1.9-wpgdva8t.mjs +0 -1
  779. package/dist/chunks/sessionStorage-0.1.9-1v6wyqzw.mjs +0 -1
  780. package/dist/chunks/setup-0.1.9-jc5w6v5s.mjs +0 -5
  781. package/dist/chunks/sinks-0.1.9-49ereb4y.mjs +0 -1
  782. package/dist/chunks/skills-0.1.9-d63w5m27.mjs +0 -1
  783. package/dist/chunks/startupProfiler-0.1.9-gmke65dk.mjs +0 -1
  784. package/dist/chunks/state-0.1.9-m8x0v07d.mjs +0 -1
  785. package/dist/chunks/stats-0.1.9-yvya6xg6.mjs +0 -6
  786. package/dist/chunks/status-0.1.9-sapnwz4b.mjs +0 -1
  787. package/dist/chunks/stickers-0.1.9-ewdagtd4.mjs +0 -1
  788. package/dist/chunks/subprocessEnv-0.1.9-2dqzh55d.mjs +0 -1
  789. package/dist/chunks/tasks-0.1.9-qgqwhse9.mjs +0 -1
  790. package/dist/chunks/teamHelpers-0.1.9-r474ar76.mjs +0 -1
  791. package/dist/chunks/teammateModeSnapshot-0.1.9-nwc11b9m.mjs +0 -1
  792. package/dist/chunks/teleport-0.1.9-xaj204my.mjs +0 -1
  793. package/dist/chunks/terminalSetup-0.1.9-xd5rhh32.mjs +0 -1
  794. package/dist/chunks/theme-0.1.9-f6jzdysz.mjs +0 -1
  795. package/dist/chunks/thinkback-0.1.9-8j25tex7.mjs +0 -1
  796. package/dist/chunks/thinkback-play-0.1.9-tzs2w3mj.mjs +0 -1
  797. package/dist/chunks/toolPool-0.1.9-6b4938vh.mjs +0 -1
  798. package/dist/chunks/toolSearch-0.1.9-7ych6nv7.mjs +0 -1
  799. package/dist/chunks/trustedDevice-0.1.9-xqxt3kmz.mjs +0 -1
  800. package/dist/chunks/turndown.cjs-0.1.9-m1wesrr4.mjs +0 -69
  801. package/dist/chunks/ultrareviewCommand-0.1.9-x09n5pvc.mjs +0 -4
  802. package/dist/chunks/update-0.1.9-8dntd8kh.mjs +0 -94
  803. package/dist/chunks/upgrade-0.1.9-eja31dgt.mjs +0 -1
  804. package/dist/chunks/upstreamproxy-0.1.9-pv2yqh11.mjs +0 -14
  805. package/dist/chunks/usage-0.1.9-neje6dea.mjs +0 -1
  806. package/dist/chunks/util-0.1.9-kdhggd68.mjs +0 -1
  807. package/dist/chunks/utils-0.1.9-bqw30f8b.mjs +0 -1
  808. package/dist/chunks/vim-0.1.9-w4d1qz6f.mjs +0 -1
  809. package/dist/chunks/watcher-0.1.9-ty2r0yxd.mjs +0 -1
  810. package/dist/chunks/wiki-0.1.9-ah646x2k.mjs +0 -132
  811. package/dist/chunks/worktree-0.1.9-d3fbxjwd.mjs +0 -1
  812. package/dist/chunks/worktreeModeEnabled-0.1.9-qbn6b5fs.mjs +0 -1
  813. package/dist/chunks/wrapper-0.1.9-eh46qafm.mjs +0 -7
  814. /package/dist/chunks/{cli-0.1.9-zrdz7st3.mjs → cli-0.1.11-x3q39kf7.mjs} +0 -0
@@ -0,0 +1 @@
1
+ import{vna as P}from"./cli-0.1.11-0qwee9gy.mjs";import{Hna as p}from"./cli-0.1.11-10nmrfsz.mjs";import{Lna as w}from"./cli-0.1.11-n23d2wej.mjs";import{Rna as u,Sna as a}from"./cli-0.1.11-yrfxpjhr.mjs";var d,t,f,E,_,v=(r,e,s)=>{if(e.Version!==1)throw Error(`Profile ${r} credential_process did not return Version 1.`);if(e.AccessKeyId===void 0||e.SecretAccessKey===void 0)throw Error(`Profile ${r} credential_process returned invalid credentials.`);if(e.Expiration){let i=new Date;if(new Date(e.Expiration)<i)throw Error(`Profile ${r} credential_process returned expired credentials.`)}let o=e.AccountId;if(!o&&s?.[r]?.aws_account_id)o=s[r].aws_account_id;let n={accessKeyId:e.AccessKeyId,secretAccessKey:e.SecretAccessKey,...e.SessionToken&&{sessionToken:e.SessionToken},...e.Expiration&&{expiration:new Date(e.Expiration)},...e.CredentialScope&&{credentialScope:e.CredentialScope},...o&&{accountId:o}};return _.setCredentialFeature(n,"CREDENTIALS_PROCESS","w"),n},x=async(r,e,s)=>{let o=e[r];if(e[r]){let n=o.credential_process;if(n!==void 0){let i=E.promisify(d.externalDataInterceptor?.getTokenRecord?.().exec??f.exec);try{let{stdout:c}=await i(n),l;try{l=JSON.parse(c.trim())}catch{throw Error(`Profile ${r} credential_process returned invalid JSON.`)}return v(r,l,e)}catch(c){throw new t.CredentialsProviderError(c.message,{logger:s})}}else throw new t.CredentialsProviderError(`Profile ${r} did not contain credential_process.`,{logger:s})}else throw new t.CredentialsProviderError(`Profile ${r} could not be found in shared credentials file.`,{logger:s})},h=(r={})=>async({callerClientConfig:e}={})=>{r.logger?.debug("@aws-sdk/credential-provider-process - fromProcess");let s=await d.parseKnownFiles(r);return x(d.getProfileName({profile:r.profile??e?.profile}),s,r.logger)},y;var S=u(()=>{d=P(),t=w(),f=a("node:child_process"),E=a("node:util"),_=p();y=h});S();export{y as fromProcess};export default {get fromProcess(){return y}};
@@ -0,0 +1 @@
1
+ import{$5 as oo,J5 as M,K5 as So,L5 as Eo,M5 as Io,N5 as Ar,O5 as Gr,P5 as kt,Q5 as Po,R5 as dr,S5 as xo,T5 as yo,U5 as cr,V5 as f,W5 as gt,X5 as _t,Y5 as eo,Z5 as ro,_5 as to,a6 as zt,b6 as Ht,c6 as Do,d6 as bo}from"./cli-0.1.11-fveg0t77.mjs";import{e6 as er}from"./cli-0.1.11-7t04gqx2.mjs";import{una as Zt}from"./cli-0.1.11-bhqwqe2w.mjs";import"./cli-0.1.11-0qwee9gy.mjs";import"./cli-0.1.11-23qqxmk4.mjs";import{Ana as hr,Cna as Ue}from"./cli-0.1.11-e7gjxknm.mjs";import{Hna as Qt}from"./cli-0.1.11-10nmrfsz.mjs";import{Jna as Ct}from"./cli-0.1.11-m0aaey0g.mjs";import{Kna as Gt}from"./cli-0.1.11-4xsg15d1.mjs";import"./cli-0.1.11-n23d2wej.mjs";import{Mna as mt}from"./cli-0.1.11-4bn5ap1n.mjs";import{Pna as E}from"./cli-0.1.11-yrfxpjhr.mjs";var A=E((oe)=>{Object.defineProperty(oe,"__esModule",{value:!0});oe.resolveHttpAuthSchemeConfig=oe.defaultSSOOIDCHttpAuthSchemeProvider=oe.defaultSSOOIDCHttpAuthSchemeParametersProvider=void 0;var Nr=M(),w=hr(),Rr=async(e,r,i)=>{return{operation:(0,w.getSmithyContext)(r).operation,region:await(0,w.normalizeProvider)(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};oe.defaultSSOOIDCHttpAuthSchemeParametersProvider=Rr;function fr(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sso-oauth",region:e.region},propertiesExtractor:(r,i)=>({signingProperties:{config:r,context:i}})}}function Fr(e){return{schemeId:"smithy.api#noAuth"}}var Ur=(e)=>{let r=[];switch(e.operation){case"CreateToken":{r.push(Fr(e));break}default:r.push(fr(e))}return r};oe.defaultSSOOIDCHttpAuthSchemeProvider=Ur;var $r=(e)=>{let r=(0,Nr.resolveAwsSdkSigV4Config)(e);return Object.assign(r,{authSchemePreference:(0,w.normalizeProvider)(e.authSchemePreference??[])})};oe.resolveHttpAuthSchemeConfig=$r});var De=E((xe)=>{Object.defineProperty(xe,"__esModule",{value:!0});xe.ruleSet=void 0;var Se="required",p="fn",d="argv",q="ref",se=!0,ne="isSet",h="booleanEquals",D="error",b="endpoint",I="tree",G="PartitionResult",m="getAttr",pe={[Se]:!1,type:"string"},de={[Se]:!0,default:!1,type:"boolean"},ce={[q]:"Endpoint"},Ee={[p]:h,[d]:[{[q]:"UseFIPS"},!0]},Ie={[p]:h,[d]:[{[q]:"UseDualStack"},!0]},n={},ae={[p]:m,[d]:[{[q]:G},"supportsFIPS"]},Pe={[q]:G},le={[p]:h,[d]:[!0,{[p]:m,[d]:[Pe,"supportsDualStack"]}]},ue=[Ee],Oe=[Ie],ve=[{[q]:"Region"}],Mr={version:"1.0",parameters:{Region:pe,UseDualStack:de,UseFIPS:de,Endpoint:pe},rules:[{conditions:[{[p]:ne,[d]:[ce]}],rules:[{conditions:ue,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:D},{conditions:Oe,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:D},{endpoint:{url:ce,properties:n,headers:n},type:b}],type:I},{conditions:[{[p]:ne,[d]:ve}],rules:[{conditions:[{[p]:"aws.partition",[d]:ve,assign:G}],rules:[{conditions:[Ee,Ie],rules:[{conditions:[{[p]:h,[d]:[se,ae]},le],rules:[{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:b}],type:I},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:D}],type:I},{conditions:ue,rules:[{conditions:[{[p]:h,[d]:[ae,se]}],rules:[{conditions:[{[p]:"stringEquals",[d]:[{[p]:m,[d]:[Pe,"name"]},"aws-us-gov"]}],endpoint:{url:"https://oidc.{Region}.amazonaws.com",properties:n,headers:n},type:b},{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:b}],type:I},{error:"FIPS is enabled but this partition does not support FIPS",type:D}],type:I},{conditions:Oe,rules:[{conditions:[le],rules:[{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:n,headers:n},type:b}],type:I},{error:"DualStack is enabled but this partition does not support DualStack",type:D}],type:I},{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dnsSuffix}",properties:n,headers:n},type:b}],type:I}],type:I},{error:"Invalid Configuration: Missing Region",type:D}]};xe.ruleSet=Mr});var he=E((be)=>{Object.defineProperty(be,"__esModule",{value:!0});be.defaultEndpointResolver=void 0;var mr=Gr(),z=Ar(),zr=De(),Hr=new z.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),Lr=(e,r={})=>{return Hr.get(e,()=>(0,z.resolveEndpoint)(zr.ruleSet,{endpointParams:e,logger:r.logger}))};be.defaultEndpointResolver=Lr;z.customEndpointFunctions.aws=mr.awsEndpointFunctions});var F=E((L)=>{Object.defineProperty(L,"__esModule",{value:!0});L.SSOOIDCServiceException=L.__ServiceException=void 0;var Ne=f();Object.defineProperty(L,"__ServiceException",{enumerable:!0,get:function(){return Ne.ServiceException}});class H extends Ne.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,H.prototype)}}L.SSOOIDCServiceException=H});var k=E((fe)=>{Object.defineProperty(fe,"__esModule",{value:!0});fe.UnsupportedGrantTypeException=fe.UnauthorizedClientException=fe.SlowDownException=fe.InvalidScopeException=fe.InvalidRequestException=fe.InvalidGrantException=fe.InvalidClientException=fe.InternalServerException=fe.ExpiredTokenException=fe.AuthorizationPendingException=fe.AccessDeniedException=void 0;var l=F();class T extends l.SSOOIDCServiceException{name="AccessDeniedException";$fault="client";error;reason;error_description;constructor(e){super({name:"AccessDeniedException",$fault:"client",...e});Object.setPrototypeOf(this,T.prototype),this.error=e.error,this.reason=e.reason,this.error_description=e.error_description}}fe.AccessDeniedException=T;class B extends l.SSOOIDCServiceException{name="AuthorizationPendingException";$fault="client";error;error_description;constructor(e){super({name:"AuthorizationPendingException",$fault:"client",...e});Object.setPrototypeOf(this,B.prototype),this.error=e.error,this.error_description=e.error_description}}fe.AuthorizationPendingException=B;class V extends l.SSOOIDCServiceException{name="ExpiredTokenException";$fault="client";error;error_description;constructor(e){super({name:"ExpiredTokenException",$fault:"client",...e});Object.setPrototypeOf(this,V.prototype),this.error=e.error,this.error_description=e.error_description}}fe.ExpiredTokenException=V;class W extends l.SSOOIDCServiceException{name="InternalServerException";$fault="server";error;error_description;constructor(e){super({name:"InternalServerException",$fault:"server",...e});Object.setPrototypeOf(this,W.prototype),this.error=e.error,this.error_description=e.error_description}}fe.InternalServerException=W;class Y extends l.SSOOIDCServiceException{name="InvalidClientException";$fault="client";error;error_description;constructor(e){super({name:"InvalidClientException",$fault:"client",...e});Object.setPrototypeOf(this,Y.prototype),this.error=e.error,this.error_description=e.error_description}}fe.InvalidClientException=Y;class J extends l.SSOOIDCServiceException{name="InvalidGrantException";$fault="client";error;error_description;constructor(e){super({name:"InvalidGrantException",$fault:"client",...e});Object.setPrototypeOf(this,J.prototype),this.error=e.error,this.error_description=e.error_description}}fe.InvalidGrantException=J;class K extends l.SSOOIDCServiceException{name="InvalidRequestException";$fault="client";error;reason;error_description;constructor(e){super({name:"InvalidRequestException",$fault:"client",...e});Object.setPrototypeOf(this,K.prototype),this.error=e.error,this.reason=e.reason,this.error_description=e.error_description}}fe.InvalidRequestException=K;class X extends l.SSOOIDCServiceException{name="InvalidScopeException";$fault="client";error;error_description;constructor(e){super({name:"InvalidScopeException",$fault:"client",...e});Object.setPrototypeOf(this,X.prototype),this.error=e.error,this.error_description=e.error_description}}fe.InvalidScopeException=X;class C extends l.SSOOIDCServiceException{name="SlowDownException";$fault="client";error;error_description;constructor(e){super({name:"SlowDownException",$fault:"client",...e});Object.setPrototypeOf(this,C.prototype),this.error=e.error,this.error_description=e.error_description}}fe.SlowDownException=C;class Q extends l.SSOOIDCServiceException{name="UnauthorizedClientException";$fault="client";error;error_description;constructor(e){super({name:"UnauthorizedClientException",$fault:"client",...e});Object.setPrototypeOf(this,Q.prototype),this.error=e.error,this.error_description=e.error_description}}fe.UnauthorizedClientException=Q;class Z extends l.SSOOIDCServiceException{name="UnsupportedGrantTypeException";$fault="client";error;error_description;constructor(e){super({name:"UnsupportedGrantTypeException",$fault:"client",...e});Object.setPrototypeOf(this,Z.prototype),this.error=e.error,this.error_description=e.error_description}}fe.UnsupportedGrantTypeException=Z});var g=E((me)=>{Object.defineProperty(me,"__esModule",{value:!0});me.CreateToken$=me.CreateTokenResponse$=me.CreateTokenRequest$=me.errorTypeRegistries=me.UnsupportedGrantTypeException$=me.UnauthorizedClientException$=me.SlowDownException$=me.InvalidScopeException$=me.InvalidRequestException$=me.InvalidGrantException$=me.InvalidClientException$=me.InternalServerException$=me.ExpiredTokenException$=me.AuthorizationPendingException$=me.AccessDeniedException$=me.SSOOIDCServiceException$=void 0;var Zr="AccessDeniedException",kr="AuthorizationPendingException",gr="AccessToken",_r="ClientSecret",et="CreateToken",rt="CreateTokenRequest",tt="CreateTokenResponse",ot="CodeVerifier",it="ExpiredTokenException",st="InvalidClientException",nt="InvalidGrantException",pt="InvalidRequestException",dt="InternalServerException",ct="InvalidScopeException",at="IdToken",lt="RefreshToken",ut="SlowDownException",Ot="UnauthorizedClientException",vt="UnsupportedGrantTypeException",St="accessToken",S="client",Et="clientId",It="clientSecret",Pt="codeVerifier",xt="code",yt="deviceCode",t="error",Dt="expiresIn",u="error_description",bt="grantType",qt="http",O="httpError",ht="idToken",$e="reason",je="refreshToken",Nt="redirectUri",we="smithy.ts.sdk.synthetic.com.amazonaws.ssooidc",Rt="scope",ft="server",Ft="tokenType",o="com.amazonaws.ssooidc",Me=Ue(),v=k(),Ut=F(),Ae=Me.TypeRegistry.for(we);me.SSOOIDCServiceException$=[-3,we,"SSOOIDCServiceException",0,[],[]];Ae.registerError(me.SSOOIDCServiceException$,Ut.SSOOIDCServiceException);var c=Me.TypeRegistry.for(o);me.AccessDeniedException$=[-3,o,Zr,{[t]:S,[O]:400},[t,$e,u],[0,0,0]];c.registerError(me.AccessDeniedException$,v.AccessDeniedException);me.AuthorizationPendingException$=[-3,o,kr,{[t]:S,[O]:400},[t,u],[0,0]];c.registerError(me.AuthorizationPendingException$,v.AuthorizationPendingException);me.ExpiredTokenException$=[-3,o,it,{[t]:S,[O]:400},[t,u],[0,0]];c.registerError(me.ExpiredTokenException$,v.ExpiredTokenException);me.InternalServerException$=[-3,o,dt,{[t]:ft,[O]:500},[t,u],[0,0]];c.registerError(me.InternalServerException$,v.InternalServerException);me.InvalidClientException$=[-3,o,st,{[t]:S,[O]:401},[t,u],[0,0]];c.registerError(me.InvalidClientException$,v.InvalidClientException);me.InvalidGrantException$=[-3,o,nt,{[t]:S,[O]:400},[t,u],[0,0]];c.registerError(me.InvalidGrantException$,v.InvalidGrantException);me.InvalidRequestException$=[-3,o,pt,{[t]:S,[O]:400},[t,$e,u],[0,0,0]];c.registerError(me.InvalidRequestException$,v.InvalidRequestException);me.InvalidScopeException$=[-3,o,ct,{[t]:S,[O]:400},[t,u],[0,0]];c.registerError(me.InvalidScopeException$,v.InvalidScopeException);me.SlowDownException$=[-3,o,ut,{[t]:S,[O]:400},[t,u],[0,0]];c.registerError(me.SlowDownException$,v.SlowDownException);me.UnauthorizedClientException$=[-3,o,Ot,{[t]:S,[O]:400},[t,u],[0,0]];c.registerError(me.UnauthorizedClientException$,v.UnauthorizedClientException);me.UnsupportedGrantTypeException$=[-3,o,vt,{[t]:S,[O]:400},[t,u],[0,0]];c.registerError(me.UnsupportedGrantTypeException$,v.UnsupportedGrantTypeException);me.errorTypeRegistries=[Ae,c];var $t=[0,o,gr,8,0],jt=[0,o,_r,8,0],wt=[0,o,ot,8,0],Mt=[0,o,at,8,0],Ge=[0,o,lt,8,0];me.CreateTokenRequest$=[3,o,rt,0,[Et,It,bt,yt,xt,je,Rt,Nt,Pt],[0,[()=>jt,0],0,0,0,[()=>Ge,0],64,0,[()=>wt,0]],3];me.CreateTokenResponse$=[3,o,tt,0,[St,Ft,Dt,je,ht],[[()=>$t,0],0,1,[()=>Ge,0],[()=>Mt,0]]];me.CreateToken$=[9,o,et,{[qt]:["POST","/token",200]},()=>me.CreateTokenRequest$,()=>me.CreateTokenResponse$]});var or=E((rr)=>{Object.defineProperty(rr,"__esModule",{value:!0});rr.getRuntimeConfig=void 0;var Lt=M(),Tt=zt(),Bt=er(),Vt=f(),Wt=Gt(),ge=Ht(),_e=mt(),Yt=A(),Jt=he(),Kt=g(),Xt=(e)=>{return{apiVersion:"2019-06-10",base64Decoder:e?.base64Decoder??ge.fromBase64,base64Encoder:e?.base64Encoder??ge.toBase64,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??Jt.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??Yt.defaultSSOOIDCHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(r)=>r.getIdentityProvider("aws.auth#sigv4"),signer:new Lt.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(r)=>r.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new Bt.NoAuthSigner}],logger:e?.logger??new Vt.NoOpLogger,protocol:e?.protocol??Tt.AwsRestJsonProtocol,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.ssooidc",errorTypeRegistries:Kt.errorTypeRegistries,version:"2019-06-10",serviceTarget:"AWSSSOOIDCService"},serviceId:e?.serviceId??"SSO OIDC",urlParser:e?.urlParser??Wt.parseUrl,utf8Decoder:e?.utf8Decoder??_e.fromUtf8,utf8Encoder:e?.utf8Encoder??_e.toUtf8}};rr.getRuntimeConfig=Xt});var ur=E((ar)=>{Object.defineProperty(ar,"__esModule",{value:!0});ar.getRuntimeConfig=void 0;var io=gt(),so=io.__importDefault(_t()),no=Qt(),po=M(),ir=eo(),U=dr(),co=ro(),sr=cr(),x=Zt(),nr=Ct(),pr=f(),ao=to(),lo=oo(),uo=kt(),Oo=or(),vo=(e)=>{(0,pr.emitWarningIfUnsupportedVersion)(process.version);let r=(0,lo.resolveDefaultsModeConfig)(e),i=()=>r().then(pr.loadConfigsForDefaultMode),a=(0,Oo.getRuntimeConfig)(e);(0,no.emitWarningIfUnsupportedVersion)(process.version);let s={profile:e?.profile,logger:a.logger};return{...a,...e,runtime:"node",defaultsMode:r,authSchemePreference:e?.authSchemePreference??(0,x.loadConfig)(po.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,s),bodyLengthChecker:e?.bodyLengthChecker??ao.calculateBodyLength,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,ir.createDefaultUserAgentProvider)({serviceId:a.serviceId,clientVersion:so.default.version}),maxAttempts:e?.maxAttempts??(0,x.loadConfig)(sr.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,e),region:e?.region??(0,x.loadConfig)(U.NODE_REGION_CONFIG_OPTIONS,{...U.NODE_REGION_CONFIG_FILE_OPTIONS,...s}),requestHandler:nr.NodeHttpHandler.create(e?.requestHandler??i),retryMode:e?.retryMode??(0,x.loadConfig)({...sr.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await i()).retryMode||uo.DEFAULT_RETRY_MODE},e),sha256:e?.sha256??co.Hash.bind(null,"sha256"),streamCollector:e?.streamCollector??nr.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,x.loadConfig)(U.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,s),useFipsEndpoint:e?.useFipsEndpoint??(0,x.loadConfig)(U.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,s),userAgentAppId:e?.userAgentAppId??(0,x.loadConfig)(ir.NODE_APP_ID_CONFIG_OPTIONS,s)}};ar.getRuntimeConfig=vo});var Ko=E((P)=>{var Or=So(),qo=Eo(),ho=Io(),vr=Po(),No=dr(),_=er(),Ro=Ue(),fo=xo(),xr=yo(),Sr=cr(),y=f(),Er=A(),Fo=ur(),Ir=Do(),Pr=bo(),N=g(),$=k(),Uo=F(),$o=(e)=>{return Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"sso-oauth"})},jo={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},wo=(e)=>{let{httpAuthSchemes:r,httpAuthSchemeProvider:i,credentials:a}=e;return{setHttpAuthScheme(s){let R=r.findIndex((j)=>j.schemeId===s.schemeId);if(R===-1)r.push(s);else r.splice(R,1,s)},httpAuthSchemes(){return r},setHttpAuthSchemeProvider(s){i=s},httpAuthSchemeProvider(){return i},setCredentials(s){a=s},credentials(){return a}}},Mo=(e)=>{return{httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}},Ao=(e,r)=>{let i=Object.assign(Ir.getAwsRegionExtensionConfiguration(e),y.getDefaultExtensionConfiguration(e),Pr.getHttpHandlerExtensionConfiguration(e),wo(e));return r.forEach((a)=>a.configure(i)),Object.assign(e,Ir.resolveAwsRegionExtensionConfiguration(i),y.resolveDefaultRuntimeConfig(i),Pr.resolveHttpHandlerRuntimeConfig(i),Mo(i))};class ee extends y.Client{config;constructor(...[e]){let r=Fo.getRuntimeConfig(e||{});super(r);this.initConfig=r;let i=$o(r),a=vr.resolveUserAgentConfig(i),s=Sr.resolveRetryConfig(a),R=No.resolveRegionConfig(s),j=Or.resolveHostHeaderConfig(R),yr=xr.resolveEndpointConfig(j),Dr=Er.resolveHttpAuthSchemeConfig(yr),br=Ao(Dr,e?.extensions||[]);this.config=br,this.middlewareStack.use(Ro.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(vr.getUserAgentPlugin(this.config)),this.middlewareStack.use(Sr.getRetryPlugin(this.config)),this.middlewareStack.use(fo.getContentLengthPlugin(this.config)),this.middlewareStack.use(Or.getHostHeaderPlugin(this.config)),this.middlewareStack.use(qo.getLoggerPlugin(this.config)),this.middlewareStack.use(ho.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(_.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:Er.defaultSSOOIDCHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async(qr)=>new _.DefaultIdentityProviderConfig({"aws.auth#sigv4":qr.credentials})})),this.middlewareStack.use(_.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class re extends y.Command.classBuilder().ep(jo).m(function(e,r,i,a){return[xr.getEndpointPlugin(i,e.getEndpointParameterInstructions())]}).s("AWSSSOOIDCService","CreateToken",{}).n("SSOOIDCClient","CreateTokenCommand").sc(N.CreateToken$).build(){}var Go={CreateTokenCommand:re};class te extends ee{}y.createAggregatedClient(Go,te);var mo={KMS_ACCESS_DENIED:"KMS_AccessDeniedException"},zo={KMS_DISABLED_KEY:"KMS_DisabledException",KMS_INVALID_KEY_USAGE:"KMS_InvalidKeyUsageException",KMS_INVALID_STATE:"KMS_InvalidStateException",KMS_KEY_NOT_FOUND:"KMS_NotFoundException"};P.$Command=y.Command;P.__Client=y.Client;P.SSOOIDCServiceException=Uo.SSOOIDCServiceException;P.AccessDeniedExceptionReason=mo;P.CreateTokenCommand=re;P.InvalidRequestExceptionReason=zo;P.SSOOIDC=te;P.SSOOIDCClient=ee;Object.prototype.hasOwnProperty.call(N,"__proto__")&&!Object.prototype.hasOwnProperty.call(P,"__proto__")&&Object.defineProperty(P,"__proto__",{enumerable:!0,value:N.__proto__});Object.keys(N).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(P,e))P[e]=N[e]});Object.prototype.hasOwnProperty.call($,"__proto__")&&!Object.prototype.hasOwnProperty.call(P,"__proto__")&&Object.defineProperty(P,"__proto__",{enumerable:!0,value:$.__proto__});Object.keys($).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(P,e))P[e]=$[e]})});export default Ko();
@@ -0,0 +1 @@
1
+ import{e6 as a}from"./cli-0.1.11-7t04gqx2.mjs";import"./cli-0.1.11-e7gjxknm.mjs";import"./cli-0.1.11-m0aaey0g.mjs";import"./cli-0.1.11-4xsg15d1.mjs";import"./cli-0.1.11-4bn5ap1n.mjs";import"./cli-0.1.11-yrfxpjhr.mjs";export default a();
@@ -0,0 +1,5 @@
1
+ import{wna as I1}from"./cli-0.1.11-23qqxmk4.mjs";import{Cna as F1,Ena as j1,Gna as C1,xna as qT}from"./cli-0.1.11-e7gjxknm.mjs";import{Hna as _T}from"./cli-0.1.11-10nmrfsz.mjs";import{Jna as xT}from"./cli-0.1.11-m0aaey0g.mjs";import"./cli-0.1.11-4xsg15d1.mjs";import{Lna as k}from"./cli-0.1.11-n23d2wej.mjs";import"./cli-0.1.11-4bn5ap1n.mjs";import{Pna as K,Sna as kT}from"./cli-0.1.11-yrfxpjhr.mjs";var w0=K((eT,j)=>{var r,t,o,e,T0,H0,M0,h0,E0,R0,U0,Y0,P0,I,f,D0,L0,Q0,B,W0,X0,A0,J0,Z0,G0,S0,$0,O0,F,K0,V0,B0;(function(T){var E=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd)define("tslib",["exports"],function(D){T(U(E,U(D)))});else if(typeof j==="object"&&typeof eT==="object")T(U(E,U(eT)));else T(U(E));function U(D,L){if(D!==E)if(typeof Object.create==="function")Object.defineProperty(D,"__esModule",{value:!0});else D.__esModule=!0;return function(H,M){return D[H]=L?L(H,M):M}}})(function(T){var E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,M){H.__proto__=M}||function(H,M){for(var h in M)if(Object.prototype.hasOwnProperty.call(M,h))H[h]=M[h]};r=function(H,M){if(typeof M!=="function"&&M!==null)throw TypeError("Class extends value "+String(M)+" is not a constructor or null");E(H,M);function h(){this.constructor=H}H.prototype=M===null?Object.create(M):(h.prototype=M.prototype,new h)},t=Object.assign||function(H){for(var M,h=1,R=arguments.length;h<R;h++){M=arguments[h];for(var Y in M)if(Object.prototype.hasOwnProperty.call(M,Y))H[Y]=M[Y]}return H},o=function(H,M){var h={};for(var R in H)if(Object.prototype.hasOwnProperty.call(H,R)&&M.indexOf(R)<0)h[R]=H[R];if(H!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var Y=0,R=Object.getOwnPropertySymbols(H);Y<R.length;Y++)if(M.indexOf(R[Y])<0&&Object.prototype.propertyIsEnumerable.call(H,R[Y]))h[R[Y]]=H[R[Y]]}return h},e=function(H,M,h,R){var Y=arguments.length,P=Y<3?M:R===null?R=Object.getOwnPropertyDescriptor(M,h):R,Q;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")P=Reflect.decorate(H,M,h,R);else for(var X=H.length-1;X>=0;X--)if(Q=H[X])P=(Y<3?Q(P):Y>3?Q(M,h,P):Q(M,h))||P;return Y>3&&P&&Object.defineProperty(M,h,P),P},T0=function(H,M){return function(h,R){M(h,R,H)}},H0=function(H,M,h,R,Y,P){function Q(V){if(V!==void 0&&typeof V!=="function")throw TypeError("Function expected");return V}var X=R.kind,Z=X==="getter"?"get":X==="setter"?"set":"value",W=!M&&H?R.static?H:H.prototype:null,A=M||(W?Object.getOwnPropertyDescriptor(W,R.name):{}),G,z=!1;for(var J=h.length-1;J>=0;J--){var S={};for(var $ in R)S[$]=$==="access"?{}:R[$];for(var $ in R.access)S.access[$]=R.access[$];S.addInitializer=function(V){if(z)throw TypeError("Cannot add initializers after decoration has completed");P.push(Q(V||null))};var O=(0,h[J])(X==="accessor"?{get:A.get,set:A.set}:A[Z],S);if(X==="accessor"){if(O===void 0)continue;if(O===null||typeof O!=="object")throw TypeError("Object expected");if(G=Q(O.get))A.get=G;if(G=Q(O.set))A.set=G;if(G=Q(O.init))Y.unshift(G)}else if(G=Q(O))if(X==="field")Y.unshift(G);else A[Z]=G}if(W)Object.defineProperty(W,R.name,A);z=!0},M0=function(H,M,h){var R=arguments.length>2;for(var Y=0;Y<M.length;Y++)h=R?M[Y].call(H,h):M[Y].call(H);return R?h:void 0},h0=function(H){return typeof H==="symbol"?H:"".concat(H)},E0=function(H,M,h){if(typeof M==="symbol")M=M.description?"[".concat(M.description,"]"):"";return Object.defineProperty(H,"name",{configurable:!0,value:h?"".concat(h," ",M):M})},R0=function(H,M){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(H,M)},U0=function(H,M,h,R){function Y(P){return P instanceof h?P:new h(function(Q){Q(P)})}return new(h||(h=Promise))(function(P,Q){function X(A){try{W(R.next(A))}catch(G){Q(G)}}function Z(A){try{W(R.throw(A))}catch(G){Q(G)}}function W(A){A.done?P(A.value):Y(A.value).then(X,Z)}W((R=R.apply(H,M||[])).next())})},Y0=function(H,M){var h={label:0,sent:function(){if(P[0]&1)throw P[1];return P[1]},trys:[],ops:[]},R,Y,P,Q=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return Q.next=X(0),Q.throw=X(1),Q.return=X(2),typeof Symbol==="function"&&(Q[Symbol.iterator]=function(){return this}),Q;function X(W){return function(A){return Z([W,A])}}function Z(W){if(R)throw TypeError("Generator is already executing.");while(Q&&(Q=0,W[0]&&(h=0)),h)try{if(R=1,Y&&(P=W[0]&2?Y.return:W[0]?Y.throw||((P=Y.return)&&P.call(Y),0):Y.next)&&!(P=P.call(Y,W[1])).done)return P;if(Y=0,P)W=[W[0]&2,P.value];switch(W[0]){case 0:case 1:P=W;break;case 4:return h.label++,{value:W[1],done:!1};case 5:h.label++,Y=W[1],W=[0];continue;case 7:W=h.ops.pop(),h.trys.pop();continue;default:if((P=h.trys,!(P=P.length>0&&P[P.length-1]))&&(W[0]===6||W[0]===2)){h=0;continue}if(W[0]===3&&(!P||W[1]>P[0]&&W[1]<P[3])){h.label=W[1];break}if(W[0]===6&&h.label<P[1]){h.label=P[1],P=W;break}if(P&&h.label<P[2]){h.label=P[2],h.ops.push(W);break}if(P[2])h.ops.pop();h.trys.pop();continue}W=M.call(H,h)}catch(A){W=[6,A],Y=0}finally{R=P=0}if(W[0]&5)throw W[1];return{value:W[0]?W[1]:void 0,done:!0}}},P0=function(H,M){for(var h in H)if(h!=="default"&&!Object.prototype.hasOwnProperty.call(M,h))F(M,H,h)},F=Object.create?function(H,M,h,R){if(R===void 0)R=h;var Y=Object.getOwnPropertyDescriptor(M,h);if(!Y||("get"in Y?!M.__esModule:Y.writable||Y.configurable))Y={enumerable:!0,get:function(){return M[h]}};Object.defineProperty(H,R,Y)}:function(H,M,h,R){if(R===void 0)R=h;H[R]=M[h]},I=function(H){var M=typeof Symbol==="function"&&Symbol.iterator,h=M&&H[M],R=0;if(h)return h.call(H);if(H&&typeof H.length==="number")return{next:function(){if(H&&R>=H.length)H=void 0;return{value:H&&H[R++],done:!H}}};throw TypeError(M?"Object is not iterable.":"Symbol.iterator is not defined.")},f=function(H,M){var h=typeof Symbol==="function"&&H[Symbol.iterator];if(!h)return H;var R=h.call(H),Y,P=[],Q;try{while((M===void 0||M-- >0)&&!(Y=R.next()).done)P.push(Y.value)}catch(X){Q={error:X}}finally{try{if(Y&&!Y.done&&(h=R.return))h.call(R)}finally{if(Q)throw Q.error}}return P},D0=function(){for(var H=[],M=0;M<arguments.length;M++)H=H.concat(f(arguments[M]));return H},L0=function(){for(var H=0,M=0,h=arguments.length;M<h;M++)H+=arguments[M].length;for(var R=Array(H),Y=0,M=0;M<h;M++)for(var P=arguments[M],Q=0,X=P.length;Q<X;Q++,Y++)R[Y]=P[Q];return R},Q0=function(H,M,h){if(h||arguments.length===2){for(var R=0,Y=M.length,P;R<Y;R++)if(P||!(R in M)){if(!P)P=Array.prototype.slice.call(M,0,R);P[R]=M[R]}}return H.concat(P||Array.prototype.slice.call(M))},B=function(H){return this instanceof B?(this.v=H,this):new B(H)},W0=function(H,M,h){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var R=h.apply(H,M||[]),Y,P=[];return Y=Object.create((typeof AsyncIterator==="function"?AsyncIterator:Object).prototype),X("next"),X("throw"),X("return",Q),Y[Symbol.asyncIterator]=function(){return this},Y;function Q(J){return function(S){return Promise.resolve(S).then(J,G)}}function X(J,S){if(R[J]){if(Y[J]=function($){return new Promise(function(O,V){P.push([J,$,O,V])>1||Z(J,$)})},S)Y[J]=S(Y[J])}}function Z(J,S){try{W(R[J](S))}catch($){z(P[0][3],$)}}function W(J){J.value instanceof B?Promise.resolve(J.value.v).then(A,G):z(P[0][2],J)}function A(J){Z("next",J)}function G(J){Z("throw",J)}function z(J,S){if(J(S),P.shift(),P.length)Z(P[0][0],P[0][1])}},X0=function(H){var M,h;return M={},R("next"),R("throw",function(Y){throw Y}),R("return"),M[Symbol.iterator]=function(){return this},M;function R(Y,P){M[Y]=H[Y]?function(Q){return(h=!h)?{value:B(H[Y](Q)),done:!1}:P?P(Q):Q}:P}},A0=function(H){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var M=H[Symbol.asyncIterator],h;return M?M.call(H):(H=typeof I==="function"?I(H):H[Symbol.iterator](),h={},R("next"),R("throw"),R("return"),h[Symbol.asyncIterator]=function(){return this},h);function R(P){h[P]=H[P]&&function(Q){return new Promise(function(X,Z){Q=H[P](Q),Y(X,Z,Q.done,Q.value)})}}function Y(P,Q,X,Z){Promise.resolve(Z).then(function(W){P({value:W,done:X})},Q)}},J0=function(H,M){if(Object.defineProperty)Object.defineProperty(H,"raw",{value:M});else H.raw=M;return H};var U=Object.create?function(H,M){Object.defineProperty(H,"default",{enumerable:!0,value:M})}:function(H,M){H.default=M},D=function(H){return D=Object.getOwnPropertyNames||function(M){var h=[];for(var R in M)if(Object.prototype.hasOwnProperty.call(M,R))h[h.length]=R;return h},D(H)};Z0=function(H){if(H&&H.__esModule)return H;var M={};if(H!=null){for(var h=D(H),R=0;R<h.length;R++)if(h[R]!=="default")F(M,H,h[R])}return U(M,H),M},G0=function(H){return H&&H.__esModule?H:{default:H}},S0=function(H,M,h,R){if(h==="a"&&!R)throw TypeError("Private accessor was defined without a getter");if(typeof M==="function"?H!==M||!R:!M.has(H))throw TypeError("Cannot read private member from an object whose class did not declare it");return h==="m"?R:h==="a"?R.call(H):R?R.value:M.get(H)},$0=function(H,M,h,R,Y){if(R==="m")throw TypeError("Private method is not writable");if(R==="a"&&!Y)throw TypeError("Private accessor was defined without a setter");if(typeof M==="function"?H!==M||!Y:!M.has(H))throw TypeError("Cannot write private member to an object whose class did not declare it");return R==="a"?Y.call(H,h):Y?Y.value=h:M.set(H,h),h},O0=function(H,M){if(M===null||typeof M!=="object"&&typeof M!=="function")throw TypeError("Cannot use 'in' operator on non-object");return typeof H==="function"?M===H:H.has(M)},K0=function(H,M,h){if(M!==null&&M!==void 0){if(typeof M!=="object"&&typeof M!=="function")throw TypeError("Object expected.");var R,Y;if(h){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");R=M[Symbol.asyncDispose]}if(R===void 0){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");if(R=M[Symbol.dispose],h)Y=R}if(typeof R!=="function")throw TypeError("Object not disposable.");if(Y)R=function(){try{Y.call(this)}catch(P){return Promise.reject(P)}};H.stack.push({value:M,dispose:R,async:h})}else if(h)H.stack.push({async:!0});return M};var L=typeof SuppressedError==="function"?SuppressedError:function(H,M,h){var R=Error(h);return R.name="SuppressedError",R.error=H,R.suppressed=M,R};V0=function(H){function M(P){H.error=H.hasError?new L(P,H.error,"An error was suppressed during disposal."):P,H.hasError=!0}var h,R=0;function Y(){while(h=H.stack.pop())try{if(!h.async&&R===1)return R=0,H.stack.push(h),Promise.resolve().then(Y);if(h.dispose){var P=h.dispose.call(h.value);if(h.async)return R|=2,Promise.resolve(P).then(Y,function(Q){return M(Q),Y()})}else R|=1}catch(Q){M(Q)}if(R===1)return H.hasError?Promise.reject(H.error):Promise.resolve();if(H.hasError)throw H.error}return Y()},B0=function(H,M){if(typeof H==="string"&&/^\.\.?\//.test(H))return H.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(h,R,Y,P,Q){return R?M?".jsx":".js":Y&&(!P||!Q)?h:Y+P+"."+Q.toLowerCase()+"js"});return H},T("__extends",r),T("__assign",t),T("__rest",o),T("__decorate",e),T("__param",T0),T("__esDecorate",H0),T("__runInitializers",M0),T("__propKey",h0),T("__setFunctionName",E0),T("__metadata",R0),T("__awaiter",U0),T("__generator",Y0),T("__exportStar",P0),T("__createBinding",F),T("__values",I),T("__read",f),T("__spread",D0),T("__spreadArrays",L0),T("__spreadArray",Q0),T("__await",B),T("__asyncGenerator",W0),T("__asyncDelegator",X0),T("__asyncValues",A0),T("__makeTemplateObject",J0),T("__importStar",Z0),T("__importDefault",G0),T("__classPrivateFieldGet",S0),T("__classPrivateFieldSet",$0),T("__classPrivateFieldIn",O0),T("__addDisposableResource",K0),T("__disposeResources",V0),T("__rewriteRelativeImportExtension",B0)})});var N0=K((z0)=>{Object.defineProperty(z0,"__esModule",{value:!0});z0.checkUrl=void 0;var H1=k(),M1="169.254.170.2",h1="169.254.170.23",E1="[fd00:ec2::23]",R1=(T,E)=>{if(T.protocol==="https:")return;if(T.hostname===M1||T.hostname===h1||T.hostname===E1)return;if(T.hostname.includes("[")){if(T.hostname==="[::1]"||T.hostname==="[0000:0000:0000:0000:0000:0000:0000:0001]")return}else{if(T.hostname==="localhost")return;let U=T.hostname.split("."),D=(L)=>{let H=parseInt(L,10);return 0<=H&&H<=255};if(U[0]==="127"&&D(U[1])&&D(U[2])&&D(U[3])&&U.length===4)return}throw new H1.CredentialsProviderError(`URL not accepted. It must either be HTTPS or match one of the following:
2
+ - loopback CIDR 127.0.0.0/8 or [::1/128]
3
+ - ECS container host 169.254.170.2
4
+ - EKS container host 169.254.170.23 or [fd00:ec2::23]`,{logger:E})};z0.checkUrl=R1});var c=K((Q1)=>{Q1.HttpAuthLocation=void 0;(function(T){T.HEADER="header",T.QUERY="query"})(Q1.HttpAuthLocation||(Q1.HttpAuthLocation={}));Q1.HttpApiKeyAuthLocation=void 0;(function(T){T.HEADER="header",T.QUERY="query"})(Q1.HttpApiKeyAuthLocation||(Q1.HttpApiKeyAuthLocation={}));Q1.EndpointURLScheme=void 0;(function(T){T.HTTP="http",T.HTTPS="https"})(Q1.EndpointURLScheme||(Q1.EndpointURLScheme={}));Q1.AlgorithmId=void 0;(function(T){T.MD5="md5",T.CRC32="crc32",T.CRC32C="crc32c",T.SHA1="sha1",T.SHA256="sha256"})(Q1.AlgorithmId||(Q1.AlgorithmId={}));var U1=(T)=>{let E=[];if(T.sha256!==void 0)E.push({algorithmId:()=>Q1.AlgorithmId.SHA256,checksumConstructor:()=>T.sha256});if(T.md5!=null)E.push({algorithmId:()=>Q1.AlgorithmId.MD5,checksumConstructor:()=>T.md5});return{addChecksumAlgorithm(U){E.push(U)},checksumAlgorithms(){return E}}},Y1=(T)=>{let E={};return T.checksumAlgorithms().forEach((U)=>{E[U.algorithmId()]=U.checksumConstructor()}),E},P1=(T)=>{return U1(T)},D1=(T)=>{return Y1(T)};Q1.FieldPosition=void 0;(function(T){T[T.HEADER=0]="HEADER",T[T.TRAILER=1]="TRAILER"})(Q1.FieldPosition||(Q1.FieldPosition={}));var L1="__smithy_context";Q1.IniSectionType=void 0;(function(T){T.PROFILE="profile",T.SSO_SESSION="sso-session",T.SERVICES="services"})(Q1.IniSectionType||(Q1.IniSectionType={}));Q1.RequestHandlerProtocol=void 0;(function(T){T.HTTP_0_9="http/0.9",T.HTTP_1_0="http/1.0",T.TDS_8_0="tds/8.0"})(Q1.RequestHandlerProtocol||(Q1.RequestHandlerProtocol={}));Q1.SMITHY_CONTEXT_KEY=L1;Q1.getDefaultClientConfiguration=P1;Q1.resolveDefaultRuntimeConfig=D1});var C0=K((O1)=>{var J1=c(),Z1=(T)=>{return{setHttpHandler(E){T.httpHandler=E},httpHandler(){return T.httpHandler},updateHttpClientConfig(E,U){T.httpHandler?.updateHttpClientConfig(E,U)},httpHandlerConfigs(){return T.httpHandler.httpHandlerConfigs()}}},G1=(T)=>{return{httpHandler:T.httpHandler()}};class I0{name;kind;values;constructor({name:T,kind:E=J1.FieldPosition.HEADER,values:U=[]}){this.name=T,this.kind=E,this.values=U}add(T){this.values.push(T)}set(T){this.values=T}remove(T){this.values=this.values.filter((E)=>E!==T)}toString(){return this.values.map((T)=>T.includes(",")||T.includes(" ")?`"${T}"`:T).join(", ")}get(){return this.values}}class F0{entries={};encoding;constructor({fields:T=[],encoding:E="utf-8"}){T.forEach(this.setField.bind(this)),this.encoding=E}setField(T){this.entries[T.name.toLowerCase()]=T}getField(T){return this.entries[T.toLowerCase()]}removeField(T){delete this.entries[T.toLowerCase()]}getByType(T){return Object.values(this.entries).filter((E)=>E.kind===T)}}class C{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor(T){this.method=T.method||"GET",this.hostname=T.hostname||"localhost",this.port=T.port,this.query=T.query||{},this.headers=T.headers||{},this.body=T.body,this.protocol=T.protocol?T.protocol.slice(-1)!==":"?`${T.protocol}:`:T.protocol:"https:",this.path=T.path?T.path.charAt(0)!=="/"?`/${T.path}`:T.path:"/",this.username=T.username,this.password=T.password,this.fragment=T.fragment}static clone(T){let E=new C({...T,headers:{...T.headers}});if(E.query)E.query=S1(E.query);return E}static isInstance(T){if(!T)return!1;let E=T;return"method"in E&&"protocol"in E&&"hostname"in E&&"path"in E&&typeof E.query==="object"&&typeof E.headers==="object"}clone(){return C.clone(this)}}function S1(T){return Object.keys(T).reduce((E,U)=>{let D=T[U];return{...E,[U]:Array.isArray(D)?[...D]:D}},{})}class j0{statusCode;reason;headers;body;constructor(T){this.statusCode=T.statusCode,this.reason=T.reason,this.headers=T.headers||{},this.body=T.body}static isInstance(T){if(!T)return!1;let E=T;return typeof E.statusCode==="number"&&typeof E.headers==="object"}}function $1(T){return/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test(T)}O1.Field=I0;O1.Fields=F0;O1.HttpRequest=C;O1.HttpResponse=j0;O1.getHttpHandlerExtensionConfiguration=Z1;O1.isValidHostname=$1;O1.resolveHttpHandlerRuntimeConfig=G1});var l0=K((N)=>{var b0=I1(),s=C1(),y=c(),y1=F1(),b=j1();class f0{config;middlewareStack=b0.constructStack();initConfig;handlers;constructor(T){this.config=T;let{protocol:E,protocolSettings:U}=T;if(U){if(typeof E==="function")T.protocol=new E(U)}}send(T,E,U){let D=typeof E!=="function"?E:void 0,L=typeof E==="function"?E:U,H=D===void 0&&this.config.cacheMiddleware===!0,M;if(H){if(!this.handlers)this.handlers=new WeakMap;let h=this.handlers;if(h.has(T.constructor))M=h.get(T.constructor);else M=T.resolveMiddleware(this.middlewareStack,this.config,D),h.set(T.constructor,M)}else delete this.handlers,M=T.resolveMiddleware(this.middlewareStack,this.config,D);if(L)M(T).then((h)=>L(null,h.output),(h)=>L(h)).catch(()=>{});else return M(T).then((h)=>h.output)}destroy(){this.config?.requestHandler?.destroy?.(),delete this.handlers}}var u="***SensitiveInformation***";function l(T,E){if(E==null)return E;let U=y1.NormalizedSchema.of(T);if(U.getMergedTraits().sensitive)return u;if(U.isListSchema()){if(!!U.getValueSchema().getMergedTraits().sensitive)return u}else if(U.isMapSchema()){if(!!U.getKeySchema().getMergedTraits().sensitive||!!U.getValueSchema().getMergedTraits().sensitive)return u}else if(U.isStructSchema()&&typeof E==="object"){let D=E,L={};for(let[H,M]of U.structIterator())if(D[H]!=null)L[H]=l(M,D[H]);return L}return E}class a{middlewareStack=b0.constructStack();schema;static classBuilder(){return new k0}resolveMiddlewareWithContext(T,E,U,{middlewareFn:D,clientName:L,commandName:H,inputFilterSensitiveLog:M,outputFilterSensitiveLog:h,smithyContext:R,additionalContext:Y,CommandCtor:P}){for(let A of D.bind(this)(P,T,E,U))this.middlewareStack.use(A);let Q=T.concat(this.middlewareStack),{logger:X}=E,Z={logger:X,clientName:L,commandName:H,inputFilterSensitiveLog:M,outputFilterSensitiveLog:h,[y.SMITHY_CONTEXT_KEY]:{commandInstance:this,...R},...Y},{requestHandler:W}=E;return Q.resolve((A)=>W.handle(A.request,U||{}),Z)}}class k0{_init=()=>{};_ep={};_middlewareFn=()=>[];_commandName="";_clientName="";_additionalContext={};_smithyContext={};_inputFilterSensitiveLog=void 0;_outputFilterSensitiveLog=void 0;_serializer=null;_deserializer=null;_operationSchema;init(T){this._init=T}ep(T){return this._ep=T,this}m(T){return this._middlewareFn=T,this}s(T,E,U={}){return this._smithyContext={service:T,operation:E,...U},this}c(T={}){return this._additionalContext=T,this}n(T,E){return this._clientName=T,this._commandName=E,this}f(T=(U)=>U,E=(U)=>U){return this._inputFilterSensitiveLog=T,this._outputFilterSensitiveLog=E,this}ser(T){return this._serializer=T,this}de(T){return this._deserializer=T,this}sc(T){return this._operationSchema=T,this._smithyContext.operationSchema=T,this}build(){let T=this,E;return E=class extends a{input;static getEndpointParameterInstructions(){return T._ep}constructor(...[U]){super();this.input=U??{},T._init(this),this.schema=T._operationSchema}resolveMiddleware(U,D,L){let H=T._operationSchema,M=H?.[4]??H?.input,h=H?.[5]??H?.output;return this.resolveMiddlewareWithContext(U,D,L,{CommandCtor:E,middlewareFn:T._middlewareFn,clientName:T._clientName,commandName:T._commandName,inputFilterSensitiveLog:T._inputFilterSensitiveLog??(H?l.bind(null,M):(R)=>R),outputFilterSensitiveLog:T._outputFilterSensitiveLog??(H?l.bind(null,h):(R)=>R),smithyContext:T._smithyContext,additionalContext:T._additionalContext})}serialize=T._serializer;deserialize=T._deserializer}}}var b1="***SensitiveInformation***",f1=(T,E,U)=>{for(let[H,M]of Object.entries(T)){let h=async function(Y,P,Q){let X=new M(Y);if(typeof P==="function")this.send(X,P);else if(typeof Q==="function"){if(typeof P!=="object")throw Error(`Expected http options but got ${typeof P}`);this.send(X,P||{},Q)}else return this.send(X,P)},R=(H[0].toLowerCase()+H.slice(1)).replace(/Command$/,"");E.prototype[R]=h}let{paginators:D={},waiters:L={}}=U??{};for(let[H,M]of Object.entries(D))if(E.prototype[H]===void 0)E.prototype[H]=function(h={},R,...Y){return M({...R,client:this},h,...Y)};for(let[H,M]of Object.entries(L))if(E.prototype[H]===void 0)E.prototype[H]=async function(h={},R,...Y){let P=R;if(typeof R==="number")P={maxWaitTime:R};return M({...P,client:this},h,...Y)}};class w extends Error{$fault;$response;$retryable;$metadata;constructor(T){super(T.message);Object.setPrototypeOf(this,Object.getPrototypeOf(this).constructor.prototype),this.name=T.name,this.$fault=T.$fault,this.$metadata=T.$metadata}static isInstance(T){if(!T)return!1;let E=T;return w.prototype.isPrototypeOf(E)||Boolean(E.$fault)&&Boolean(E.$metadata)&&(E.$fault==="client"||E.$fault==="server")}static[Symbol.hasInstance](T){if(!T)return!1;let E=T;if(this===w)return w.isInstance(T);if(w.isInstance(T)){if(E.name&&this.name)return this.prototype.isPrototypeOf(T)||E.name===this.name;return this.prototype.isPrototypeOf(T)}return!1}}var x0=(T,E={})=>{Object.entries(E).filter(([,D])=>D!==void 0).forEach(([D,L])=>{if(T[D]==null||T[D]==="")T[D]=L});let U=T.message||T.Message||"UnknownError";return T.message=U,delete T.Message,T},_0=({output:T,parsedBody:E,exceptionCtor:U,errorCode:D})=>{let L=x1(T),H=L.httpStatusCode?L.httpStatusCode+"":void 0,M=new U({name:E?.code||E?.Code||D||H||"UnknownError",$fault:"client",$metadata:L});throw x0(M,E)},k1=(T)=>{return({output:E,parsedBody:U,errorCode:D})=>{_0({output:E,parsedBody:U,exceptionCtor:T,errorCode:D})}},x1=(T)=>({httpStatusCode:T.statusCode,requestId:T.headers["x-amzn-requestid"]??T.headers["x-amzn-request-id"]??T.headers["x-amz-request-id"],extendedRequestId:T.headers["x-amz-id-2"],cfId:T.headers["x-amz-cf-id"]}),_1=(T)=>{switch(T){case"standard":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"mobile":return{retryMode:"standard",connectionTimeout:30000};default:return{}}},y0=!1,g1=(T)=>{if(T&&!y0&&parseInt(T.substring(1,T.indexOf(".")))<16)y0=!0},g0=Object.values(y.AlgorithmId),v1=(T)=>{let E=[];for(let U in y.AlgorithmId){let D=y.AlgorithmId[U];if(T[D]===void 0)continue;E.push({algorithmId:()=>D,checksumConstructor:()=>T[D]})}for(let[U,D]of Object.entries(T.checksumAlgorithms??{}))E.push({algorithmId:()=>U,checksumConstructor:()=>D});return{addChecksumAlgorithm(U){T.checksumAlgorithms=T.checksumAlgorithms??{};let D=U.algorithmId(),L=U.checksumConstructor();if(g0.includes(D))T.checksumAlgorithms[D.toUpperCase()]=L;else T.checksumAlgorithms[D]=L;E.push(U)},checksumAlgorithms(){return E}}},m1=(T)=>{let E={};return T.checksumAlgorithms().forEach((U)=>{let D=U.algorithmId();if(g0.includes(D))E[D]=U.checksumConstructor()}),E},d1=(T)=>{return{setRetryStrategy(E){T.retryStrategy=E},retryStrategy(){return T.retryStrategy}}},c1=(T)=>{let E={};return E.retryStrategy=T.retryStrategy(),E},v0=(T)=>{return Object.assign(v1(T),d1(T))},u1=v0,l1=(T)=>{return Object.assign(m1(T),c1(T))},p1=(T)=>Array.isArray(T)?T:[T],m0=(T)=>{for(let U in T)if(T.hasOwnProperty(U)&&T[U]["#text"]!==void 0)T[U]=T[U]["#text"];else if(typeof T[U]==="object"&&T[U]!==null)T[U]=m0(T[U]);return T},s1=(T)=>{return T!=null};class d0{trace(){}debug(){}info(){}warn(){}error(){}}function c0(T,E,U){let D,L,H;if(typeof E>"u"&&typeof U>"u")D={},H=T;else if(D=T,typeof E==="function")return L=E,H=U,i1(D,L,H);else H=E;for(let M of Object.keys(H)){if(!Array.isArray(H[M])){D[M]=H[M];continue}u0(D,null,H,M)}return D}var a1=(T)=>{let E={};for(let[U,D]of Object.entries(T||{}))E[U]=[,D];return E},n1=(T,E)=>{let U={};for(let D in E)u0(U,T,E,D);return U},i1=(T,E,U)=>{return c0(T,Object.entries(U).reduce((D,[L,H])=>{if(Array.isArray(H))D[L]=H;else if(typeof H==="function")D[L]=[E,H()];else D[L]=[E,H];return D},{}))},u0=(T,E,U,D)=>{if(E!==null){let M=U[D];if(typeof M==="function")M=[,M];let[h=r1,R=t1,Y=D]=M;if(typeof h==="function"&&h(E[Y])||typeof h!=="function"&&!!h)T[D]=R(E[Y]);return}let[L,H]=U[D];if(typeof H==="function"){let M,h=L===void 0&&(M=H())!=null,R=typeof L==="function"&&!!L(void 0)||typeof L!=="function"&&!!L;if(h)T[D]=M;else if(R)T[D]=H()}else{let M=L===void 0&&H!=null,h=typeof L==="function"&&!!L(H)||typeof L!=="function"&&!!L;if(M||h)T[D]=H}},r1=(T)=>T!=null,t1=(T)=>T,o1=(T)=>{if(T!==T)return"NaN";switch(T){case 1/0:return"Infinity";case-1/0:return"-Infinity";default:return T}},e1=(T)=>T.toISOString().replace(".000Z","Z"),p=(T)=>{if(T==null)return{};if(Array.isArray(T))return T.filter((E)=>E!=null).map(p);if(typeof T==="object"){let E={};for(let U of Object.keys(T)){if(T[U]==null)continue;E[U]=p(T[U])}return E}return T};N.collectBody=s.collectBody;N.extendedEncodeURIComponent=s.extendedEncodeURIComponent;N.resolvedPath=s.resolvedPath;N.Client=f0;N.Command=a;N.NoOpLogger=d0;N.SENSITIVE_STRING=b1;N.ServiceException=w;N._json=p;N.convertMap=a1;N.createAggregatedClient=f1;N.decorateServiceException=x0;N.emitWarningIfUnsupportedVersion=g1;N.getArrayIfSingleItem=p1;N.getDefaultClientConfiguration=u1;N.getDefaultExtensionConfiguration=v0;N.getValueFromTextNode=m0;N.isSerializableHeaderValue=s1;N.loadConfigsForDefaultMode=_1;N.map=c0;N.resolveDefaultRuntimeConfig=l1;N.serializeDateTime=e1;N.serializeFloat=o1;N.take=n1;N.throwDefaultError=_0;N.withBaseException=k1;Object.prototype.hasOwnProperty.call(b,"__proto__")&&!Object.prototype.hasOwnProperty.call(N,"__proto__")&&Object.defineProperty(N,"__proto__",{enumerable:!0,value:b.__proto__});Object.keys(b).forEach(function(T){if(T!=="default"&&!Object.prototype.hasOwnProperty.call(N,T))N[T]=b[T]})});var s0=K((p0)=>{Object.defineProperty(p0,"__esModule",{value:!0});p0.createGetRequest=jT;p0.getCredentials=CT;var n=k(),NT=C0(),IT=l0(),FT=qT();function jT(T){return new NT.HttpRequest({protocol:T.protocol,hostname:T.hostname,port:Number(T.port),path:T.pathname,query:Array.from(T.searchParams.entries()).reduce((E,[U,D])=>{return E[U]=D,E},{}),fragment:T.hash})}async function CT(T,E){let D=await(0,FT.sdkStreamMixin)(T.body).transformToString();if(T.statusCode===200){let L=JSON.parse(D);if(typeof L.AccessKeyId!=="string"||typeof L.SecretAccessKey!=="string"||typeof L.Token!=="string"||typeof L.Expiration!=="string")throw new n.CredentialsProviderError("HTTP credential provider response not of the required format, an object matching: { AccessKeyId: string, SecretAccessKey: string, Token: string, Expiration: string(rfc3339) }",{logger:E});return{accessKeyId:L.AccessKeyId,secretAccessKey:L.SecretAccessKey,sessionToken:L.Token,expiration:(0,IT.parseRfc3339DateTime)(L.Expiration)}}if(T.statusCode>=400&&T.statusCode<500){let L={};try{L=JSON.parse(D)}catch(H){}throw Object.assign(new n.CredentialsProviderError(`Server responded with status: ${T.statusCode}`,{logger:E}),{Code:L.Code,Message:L.Message})}throw new n.CredentialsProviderError(`Server responded with status: ${T.statusCode}`,{logger:E})}});var i0=K((a0)=>{Object.defineProperty(a0,"__esModule",{value:!0});a0.retryWrapper=void 0;var fT=(T,E,U)=>{return async()=>{for(let D=0;D<E;++D)try{return await T()}catch(L){await new Promise((H)=>setTimeout(H,U))}return await T()}};a0.retryWrapper=fT});var T1=K((o0)=>{Object.defineProperty(o0,"__esModule",{value:!0});o0.fromHttp=void 0;var gT=w0(),vT=_T(),mT=xT(),r0=k(),dT=gT.__importDefault(kT("node:fs/promises")),cT=N0(),t0=s0(),uT=i0(),lT="AWS_CONTAINER_CREDENTIALS_RELATIVE_URI",pT="http://169.254.170.2",sT="AWS_CONTAINER_CREDENTIALS_FULL_URI",aT="AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE",nT="AWS_CONTAINER_AUTHORIZATION_TOKEN",iT=(T={})=>{T.logger?.debug("@aws-sdk/credential-provider-http - fromHttp");let E,U=T.awsContainerCredentialsRelativeUri??process.env[lT],D=T.awsContainerCredentialsFullUri??process.env[sT],L=T.awsContainerAuthorizationToken??process.env[nT],H=T.awsContainerAuthorizationTokenFile??process.env[aT],M=T.logger?.constructor?.name==="NoOpLogger"||!T.logger?.warn?console.warn:T.logger.warn.bind(T.logger);if(U&&D)M("@aws-sdk/credential-provider-http: you have set both awsContainerCredentialsRelativeUri and awsContainerCredentialsFullUri."),M("awsContainerCredentialsFullUri will take precedence.");if(L&&H)M("@aws-sdk/credential-provider-http: you have set both awsContainerAuthorizationToken and awsContainerAuthorizationTokenFile."),M("awsContainerAuthorizationToken will take precedence.");if(D)E=D;else if(U)E=`${pT}${U}`;else throw new r0.CredentialsProviderError(`No HTTP credential provider host provided.
5
+ Set AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI.`,{logger:T.logger});let h=new URL(E);(0,cT.checkUrl)(h,T.logger);let R=mT.NodeHttpHandler.create({requestTimeout:T.timeout??1000,connectionTimeout:T.timeout??1000});return(0,uT.retryWrapper)(async()=>{let Y=(0,t0.createGetRequest)(h);if(L)Y.headers.Authorization=L;else if(H)Y.headers.Authorization=(await dT.default.readFile(H)).toString();try{let P=await R.handle(Y);return(0,t0.getCredentials)(P.response).then((Q)=>(0,vT.setCredentialFeature)(Q,"CREDENTIALS_HTTP","z"))}catch(P){throw new r0.CredentialsProviderError(String(P),{logger:T.logger})}},T.maxRetries??3,T.timeout??1000)};o0.fromHttp=iT});var oT=K((i)=>{Object.defineProperty(i,"__esModule",{value:!0});i.fromHttp=void 0;var rT=T1();Object.defineProperty(i,"fromHttp",{enumerable:!0,get:function(){return rT.fromHttp}})});export default oT();
@@ -0,0 +1,2 @@
1
+ import{$5 as Cs,J5 as m,K5 as ms,L5 as js,M5 as Ls,N5 as Ir,O5 as qr,P5 as hs,Q5 as Ts,R5 as Dt,S5 as zs,T5 as Hs,U5 as $t,V5 as j,W5 as Is,X5 as qs,Y5 as fs,Z5 as Ps,_5 as gs,a6 as ls,b6 as us,c6 as Vs,d6 as Bs}from"./cli-0.1.11-fveg0t77.mjs";import{e6 as It}from"./cli-0.1.11-7t04gqx2.mjs";import{una as Os}from"./cli-0.1.11-bhqwqe2w.mjs";import{vna as De}from"./cli-0.1.11-0qwee9gy.mjs";import"./cli-0.1.11-23qqxmk4.mjs";import{Ana as pr,Cna as at}from"./cli-0.1.11-e7gjxknm.mjs";import{Hna as k}from"./cli-0.1.11-10nmrfsz.mjs";import{Jna as ys}from"./cli-0.1.11-m0aaey0g.mjs";import{Kna as as}from"./cli-0.1.11-4xsg15d1.mjs";import{Lna as Ne}from"./cli-0.1.11-n23d2wej.mjs";import{Mna as cs}from"./cli-0.1.11-4bn5ap1n.mjs";import{Nna as we,Pna as x,Rna as So,Sna as K}from"./cli-0.1.11-yrfxpjhr.mjs";var be=x((cr)=>{var Xt=k(),Zt=m(),d=Ne(),b=De(),Kt=K("node:fs"),kt=({logger:e,signingName:t}={})=>async()=>{if(e?.debug?.("@aws-sdk/token-providers - fromEnvSigningName"),!t)throw new d.TokenProviderError("Please pass 'signingName' to compute environment variable key",{logger:e});let r=Zt.getBearerTokenEnvKey(t);if(!(r in process.env))throw new d.TokenProviderError(`Token not present in '${r}' environment variable`,{logger:e});let o={token:process.env[r]};return Xt.setTokenFeature(o,"BEARER_SERVICE_ENV_VARS","3"),o},er=300000,ee="To refresh this SSO session run 'aws sso login' with the corresponding profile.",tr=async(e,t={},r)=>{let{SSOOIDCClient:o}=await import("./index-0.1.11-d6qbzwah.mjs").then((m)=>we(m.default)),s=(c)=>t.clientConfig?.[c]??t.parentClientConfig?.[c]??r?.[c];return new o(Object.assign({},t.clientConfig??{},{region:e??t.clientConfig?.region,logger:s("logger"),userAgentAppId:s("userAgentAppId")}))},rr=async(e,t,r={},o)=>{let{CreateTokenCommand:s}=await import("./index-0.1.11-d6qbzwah.mjs").then((m)=>we(m.default));return(await tr(t,r,o)).send(new s({clientId:e.clientId,clientSecret:e.clientSecret,refreshToken:e.refreshToken,grantType:"refresh_token"}))},ge=(e)=>{if(e.expiration&&e.expiration.getTime()<Date.now())throw new d.TokenProviderError(`Token is expired. ${ee}`,!1)},f=(e,t,r=!1)=>{if(typeof t>"u")throw new d.TokenProviderError(`Value not present for '${e}' in SSO Token${r?". Cannot refresh":""}. ${ee}`,!1)},{writeFile:sr}=Kt.promises,or=(e,t)=>{let r=b.getSSOTokenFilepath(e),o=JSON.stringify(t,null,2);return sr(r,o)},Ce=new Date(0),$e=(e={})=>async({callerClientConfig:t}={})=>{e.logger?.debug("@aws-sdk/token-providers - fromSso");let r=await b.parseKnownFiles(e),o=b.getProfileName({profile:e.profile??t?.profile}),s=r[o];if(!s)throw new d.TokenProviderError(`Profile '${o}' could not be found in shared credentials file.`,!1);else if(!s.sso_session)throw new d.TokenProviderError(`Profile '${o}' is missing required property 'sso_session'.`);let n=s.sso_session,p=(await b.loadSsoSessionData(e))[n];if(!p)throw new d.TokenProviderError(`Sso session '${n}' could not be found in shared credentials file.`,!1);for(let a of["sso_start_url","sso_region"])if(!p[a])throw new d.TokenProviderError(`Sso session '${n}' is missing required property '${a}'.`,!1);p.sso_start_url;let i=p.sso_region,l;try{l=await b.getSSOTokenFromFile(n)}catch(a){throw new d.TokenProviderError(`The SSO session token associated with profile=${o} was not found or is invalid. ${ee}`,!1)}f("accessToken",l.accessToken),f("expiresAt",l.expiresAt);let{accessToken:u,expiresAt:$}=l,y={token:u,expiration:new Date($)};if(y.expiration.getTime()-Date.now()>er)return y;if(Date.now()-Ce.getTime()<30000)return ge(y),y;f("clientId",l.clientId,!0),f("clientSecret",l.clientSecret,!0),f("refreshToken",l.refreshToken,!0);try{Ce.setTime(Date.now());let a=await rr(l,i,e,t);f("accessToken",a.accessToken),f("expiresIn",a.expiresIn);let O=new Date(Date.now()+a.expiresIn*1000);try{await or(n,{...l,accessToken:a.accessToken,expiresAt:O.toISOString(),refreshToken:a.refreshToken})}catch(X){}return{token:a.accessToken,expiration:O}}catch(a){return ge(y),y}},nr=({token:e,logger:t})=>async()=>{if(t?.debug("@aws-sdk/token-providers - fromStatic"),!e||!e.token)throw new d.TokenProviderError("Please pass a valid token to fromStatic",!1);return e},ar=(e={})=>d.memoize(d.chain($e(e),async()=>{throw new d.TokenProviderError("Could not load token from any providers",!1)}),(t)=>t.expiration!==void 0&&t.expiration.getTime()-Date.now()<300000,(t)=>t.expiration!==void 0);cr.fromEnvSigningName=kt;cr.fromSso=$e;cr.fromStatic=nr;cr.nodeProvider=ar});var re=x((Ae)=>{Object.defineProperty(Ae,"__esModule",{value:!0});Ae.resolveHttpAuthSchemeConfig=Ae.defaultSSOHttpAuthSchemeProvider=Ae.defaultSSOHttpAuthSchemeParametersProvider=void 0;var _r=m(),te=pr(),Er=async(e,t,r)=>{return{operation:(0,te.getSmithyContext)(t).operation,region:await(0,te.normalizeProvider)(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};Ae.defaultSSOHttpAuthSchemeParametersProvider=Er;function Sr(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"awsssoportal",region:e.region},propertiesExtractor:(t,r)=>({signingProperties:{config:t,context:r}})}}function Rr(e){return{schemeId:"smithy.api#noAuth"}}var xr=(e)=>{let t=[];switch(e.operation){case"GetRoleCredentials":{t.push(Rr(e));break}default:t.push(Sr(e))}return t};Ae.defaultSSOHttpAuthSchemeProvider=xr;var vr=(e)=>{let t=(0,_r.resolveAwsSdkSigV4Config)(e);return Object.assign(t,{authSchemePreference:(0,te.normalizeProvider)(e.authSchemePreference??[])})};Ae.resolveHttpAuthSchemeConfig=vr});var Ze=x((We)=>{Object.defineProperty(We,"__esModule",{value:!0});We.ruleSet=void 0;var Be="required",E="fn",S="argv",D="ref",Ue=!0,Me="isSet",A="booleanEquals",w="error",N="endpoint",h="tree",se="PartitionResult",oe="getAttr",Ge={[Be]:!1,type:"string"},me={[Be]:!0,default:!1,type:"boolean"},je={[D]:"Endpoint"},Ye={[E]:A,[S]:[{[D]:"UseFIPS"},!0]},Qe={[E]:A,[S]:[{[D]:"UseDualStack"},!0]},_={},Le={[E]:oe,[S]:[{[D]:se},"supportsFIPS"]},Je={[D]:se},Te={[E]:A,[S]:[!0,{[E]:oe,[S]:[Je,"supportsDualStack"]}]},ze=[Ye],He=[Qe],Ve=[{[D]:"Region"}],hr={version:"1.0",parameters:{Region:Ge,UseDualStack:me,UseFIPS:me,Endpoint:Ge},rules:[{conditions:[{[E]:Me,[S]:[je]}],rules:[{conditions:ze,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:w},{conditions:He,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:w},{endpoint:{url:je,properties:_,headers:_},type:N}],type:h},{conditions:[{[E]:Me,[S]:Ve}],rules:[{conditions:[{[E]:"aws.partition",[S]:Ve,assign:se}],rules:[{conditions:[Ye,Qe],rules:[{conditions:[{[E]:A,[S]:[Ue,Le]},Te],rules:[{endpoint:{url:"https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:_,headers:_},type:N}],type:h},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:w}],type:h},{conditions:ze,rules:[{conditions:[{[E]:A,[S]:[Le,Ue]}],rules:[{conditions:[{[E]:"stringEquals",[S]:[{[E]:oe,[S]:[Je,"name"]},"aws-us-gov"]}],endpoint:{url:"https://portal.sso.{Region}.amazonaws.com",properties:_,headers:_},type:N},{endpoint:{url:"https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",properties:_,headers:_},type:N}],type:h},{error:"FIPS is enabled but this partition does not support FIPS",type:w}],type:h},{conditions:He,rules:[{conditions:[Te],rules:[{endpoint:{url:"https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:_,headers:_},type:N}],type:h},{error:"DualStack is enabled but this partition does not support DualStack",type:w}],type:h},{endpoint:{url:"https://portal.sso.{Region}.{PartitionResult#dnsSuffix}",properties:_,headers:_},type:N}],type:h}],type:h},{error:"Invalid Configuration: Missing Region",type:w}]};We.ruleSet=hr});var et=x((Ke)=>{Object.defineProperty(Ke,"__esModule",{value:!0});Ke.defaultEndpointResolver=void 0;var fr=qr(),ne=Ir(),Pr=Ze(),gr=new ne.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),Cr=(e,t={})=>{return gr.get(e,()=>(0,ne.resolveEndpoint)(Pr.ruleSet,{endpointParams:e,logger:t.logger}))};Ke.defaultEndpointResolver=Cr;ne.customEndpointFunctions.aws=fr.awsEndpointFunctions});var L=x((ce)=>{Object.defineProperty(ce,"__esModule",{value:!0});ce.SSOServiceException=ce.__ServiceException=void 0;var tt=j();Object.defineProperty(ce,"__ServiceException",{enumerable:!0,get:function(){return tt.ServiceException}});class ae extends tt.ServiceException{constructor(e){super(e);Object.setPrototypeOf(this,ae.prototype)}}ce.SSOServiceException=ae});var pe=x((st)=>{Object.defineProperty(st,"__esModule",{value:!0});st.UnauthorizedException=st.TooManyRequestsException=st.ResourceNotFoundException=st.InvalidRequestException=void 0;var T=L();class le extends T.SSOServiceException{name="InvalidRequestException";$fault="client";constructor(e){super({name:"InvalidRequestException",$fault:"client",...e});Object.setPrototypeOf(this,le.prototype)}}st.InvalidRequestException=le;class ue extends T.SSOServiceException{name="ResourceNotFoundException";$fault="client";constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e});Object.setPrototypeOf(this,ue.prototype)}}st.ResourceNotFoundException=ue;class ie extends T.SSOServiceException{name="TooManyRequestsException";$fault="client";constructor(e){super({name:"TooManyRequestsException",$fault:"client",...e});Object.setPrototypeOf(this,ie.prototype)}}st.TooManyRequestsException=ie;class de extends T.SSOServiceException{name="UnauthorizedException";$fault="client";constructor(e){super({name:"UnauthorizedException",$fault:"client",...e});Object.setPrototypeOf(this,de.prototype)}}st.UnauthorizedException=de});var _e=x((it)=>{Object.defineProperty(it,"__esModule",{value:!0});it.GetRoleCredentials$=it.RoleCredentials$=it.GetRoleCredentialsResponse$=it.GetRoleCredentialsRequest$=it.errorTypeRegistries=it.UnauthorizedException$=it.TooManyRequestsException$=it.ResourceNotFoundException$=it.InvalidRequestException$=it.SSOServiceException$=void 0;var $r="AccessTokenType",br="GetRoleCredentials",Ar="GetRoleCredentialsRequest",Fr="GetRoleCredentialsResponse",Ur="InvalidRequestException",Mr="RoleCredentials",Gr="ResourceNotFoundException",mr="SecretAccessKeyType",jr="SessionTokenType",Lr="TooManyRequestsException",Tr="UnauthorizedException",zr="accountId",Hr="accessKeyId",Vr="accessToken",Br="account_id",z="client",H="error",Yr="expiration",Qr="http",V="httpError",Jr="httpHeader",nt="httpQuery",B="message",Wr="roleCredentials",Xr="roleName",Zr="role_name",ct="smithy.ts.sdk.synthetic.com.amazonaws.sso",Kr="secretAccessKey",kr="sessionToken",es="x-amz-sso_bearer_token",R="com.amazonaws.sso",lt=at(),Y=pe(),ts=L(),ut=lt.TypeRegistry.for(ct);it.SSOServiceException$=[-3,ct,"SSOServiceException",0,[],[]];ut.registerError(it.SSOServiceException$,ts.SSOServiceException);var F=lt.TypeRegistry.for(R);it.InvalidRequestException$=[-3,R,Ur,{[H]:z,[V]:400},[B],[0]];F.registerError(it.InvalidRequestException$,Y.InvalidRequestException);it.ResourceNotFoundException$=[-3,R,Gr,{[H]:z,[V]:404},[B],[0]];F.registerError(it.ResourceNotFoundException$,Y.ResourceNotFoundException);it.TooManyRequestsException$=[-3,R,Lr,{[H]:z,[V]:429},[B],[0]];F.registerError(it.TooManyRequestsException$,Y.TooManyRequestsException);it.UnauthorizedException$=[-3,R,Tr,{[H]:z,[V]:401},[B],[0]];F.registerError(it.UnauthorizedException$,Y.UnauthorizedException);it.errorTypeRegistries=[ut,F];var rs=[0,R,$r,8,0],ss=[0,R,mr,8,0],os=[0,R,jr,8,0];it.GetRoleCredentialsRequest$=[3,R,Ar,0,[Xr,zr,Vr],[[0,{[nt]:Zr}],[0,{[nt]:Br}],[()=>rs,{[Jr]:es}]],3];it.GetRoleCredentialsResponse$=[3,R,Fr,0,[Wr],[[()=>it.RoleCredentials$,0]]];it.RoleCredentials$=[3,R,Mr,0,[Hr,Kr,kr,Yr],[0,[()=>ss,0],[()=>os,0],1]];it.GetRoleCredentials$=[9,R,br,{[Qr]:["GET","/federation/credentials",200]},()=>it.GetRoleCredentialsRequest$,()=>it.GetRoleCredentialsResponse$]});var Pt=x((qt)=>{Object.defineProperty(qt,"__esModule",{value:!0});qt.getRuntimeConfig=void 0;var is=m(),ds=ls(),ps=It(),_s=j(),Es=as(),Ot=us(),ht=cs(),Ss=re(),Rs=et(),xs=_e(),vs=(e)=>{return{apiVersion:"2019-06-10",base64Decoder:e?.base64Decoder??Ot.fromBase64,base64Encoder:e?.base64Encoder??Ot.toBase64,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??Rs.defaultEndpointResolver,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??Ss.defaultSSOHttpAuthSchemeProvider,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(t)=>t.getIdentityProvider("aws.auth#sigv4"),signer:new is.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(t)=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new ps.NoAuthSigner}],logger:e?.logger??new _s.NoOpLogger,protocol:e?.protocol??ds.AwsRestJsonProtocol,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.sso",errorTypeRegistries:xs.errorTypeRegistries,version:"2019-06-10",serviceTarget:"SWBPortalService"},serviceId:e?.serviceId??"SSO",urlParser:e?.urlParser??Es.parseUrl,utf8Decoder:e?.utf8Decoder??ht.fromUtf8,utf8Encoder:e?.utf8Encoder??ht.toUtf8}};qt.getRuntimeConfig=vs});var Ft=x((bt)=>{Object.defineProperty(bt,"__esModule",{value:!0});bt.getRuntimeConfig=void 0;var ws=Is(),Ns=ws.__importDefault(qs()),Ds=k(),$s=m(),gt=fs(),Q=Dt(),bs=Ps(),Ct=$t(),P=Os(),wt=ys(),Nt=j(),As=gs(),Fs=Cs(),Us=hs(),Ms=Pt(),Gs=(e)=>{(0,Nt.emitWarningIfUnsupportedVersion)(process.version);let t=(0,Fs.resolveDefaultsModeConfig)(e),r=()=>t().then(Nt.loadConfigsForDefaultMode),o=(0,Ms.getRuntimeConfig)(e);(0,Ds.emitWarningIfUnsupportedVersion)(process.version);let s={profile:e?.profile,logger:o.logger};return{...o,...e,runtime:"node",defaultsMode:t,authSchemePreference:e?.authSchemePreference??(0,P.loadConfig)($s.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,s),bodyLengthChecker:e?.bodyLengthChecker??As.calculateBodyLength,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,gt.createDefaultUserAgentProvider)({serviceId:o.serviceId,clientVersion:Ns.default.version}),maxAttempts:e?.maxAttempts??(0,P.loadConfig)(Ct.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,e),region:e?.region??(0,P.loadConfig)(Q.NODE_REGION_CONFIG_OPTIONS,{...Q.NODE_REGION_CONFIG_FILE_OPTIONS,...s}),requestHandler:wt.NodeHttpHandler.create(e?.requestHandler??r),retryMode:e?.retryMode??(0,P.loadConfig)({...Ct.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await r()).retryMode||Us.DEFAULT_RETRY_MODE},e),sha256:e?.sha256??bs.Hash.bind(null,"sha256"),streamCollector:e?.streamCollector??wt.streamCollector,useDualstackEndpoint:e?.useDualstackEndpoint??(0,P.loadConfig)(Q.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,s),useFipsEndpoint:e?.useFipsEndpoint??(0,P.loadConfig)(Q.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,s),userAgentAppId:e?.userAgentAppId??(0,P.loadConfig)(gt.NODE_APP_ID_CONFIG_OPTIONS,s)}};bt.getRuntimeConfig=Gs});var zt=x((I)=>{var Ut=ms(),Ys=js(),Qs=Ls(),Mt=Ts(),Js=Dt(),Ee=It(),Ws=at(),Xs=zs(),Tt=Hs(),Gt=$t(),g=j(),mt=re(),Zs=Ft(),jt=Vs(),Lt=Bs(),U=_e(),J=pe(),Ks=L(),ks=(e)=>{return Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"awsssoportal"})},eo={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},to=(e)=>{let{httpAuthSchemes:t,httpAuthSchemeProvider:r,credentials:o}=e;return{setHttpAuthScheme(s){let n=t.findIndex((c)=>c.schemeId===s.schemeId);if(n===-1)t.push(s);else t.splice(n,1,s)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(s){r=s},httpAuthSchemeProvider(){return r},setCredentials(s){o=s},credentials(){return o}}},ro=(e)=>{return{httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}},so=(e,t)=>{let r=Object.assign(jt.getAwsRegionExtensionConfiguration(e),g.getDefaultExtensionConfiguration(e),Lt.getHttpHandlerExtensionConfiguration(e),to(e));return t.forEach((o)=>o.configure(r)),Object.assign(e,jt.resolveAwsRegionExtensionConfiguration(r),g.resolveDefaultRuntimeConfig(r),Lt.resolveHttpHandlerRuntimeConfig(r),ro(r))};class Se extends g.Client{config;constructor(...[e]){let t=Zs.getRuntimeConfig(e||{});super(t);this.initConfig=t;let r=ks(t),o=Mt.resolveUserAgentConfig(r),s=Gt.resolveRetryConfig(o),n=Js.resolveRegionConfig(s),c=Ut.resolveHostHeaderConfig(n),p=Tt.resolveEndpointConfig(c),i=mt.resolveHttpAuthSchemeConfig(p),l=so(i,e?.extensions||[]);this.config=l,this.middlewareStack.use(Ws.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(Mt.getUserAgentPlugin(this.config)),this.middlewareStack.use(Gt.getRetryPlugin(this.config)),this.middlewareStack.use(Xs.getContentLengthPlugin(this.config)),this.middlewareStack.use(Ut.getHostHeaderPlugin(this.config)),this.middlewareStack.use(Ys.getLoggerPlugin(this.config)),this.middlewareStack.use(Qs.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(Ee.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:mt.defaultSSOHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async(u)=>new Ee.DefaultIdentityProviderConfig({"aws.auth#sigv4":u.credentials})})),this.middlewareStack.use(Ee.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class Re extends g.Command.classBuilder().ep(eo).m(function(e,t,r,o){return[Tt.getEndpointPlugin(r,e.getEndpointParameterInstructions())]}).s("SWBPortalService","GetRoleCredentials",{}).n("SSOClient","GetRoleCredentialsCommand").sc(U.GetRoleCredentials$).build(){}var oo={GetRoleCredentialsCommand:Re};class xe extends Se{}g.createAggregatedClient(oo,xe);I.$Command=g.Command;I.__Client=g.Client;I.SSOServiceException=Ks.SSOServiceException;I.GetRoleCredentialsCommand=Re;I.SSO=xe;I.SSOClient=Se;Object.prototype.hasOwnProperty.call(U,"__proto__")&&!Object.prototype.hasOwnProperty.call(I,"__proto__")&&Object.defineProperty(I,"__proto__",{enumerable:!0,value:U.__proto__});Object.keys(U).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(I,e))I[e]=U[e]});Object.prototype.hasOwnProperty.call(J,"__proto__")&&!Object.prototype.hasOwnProperty.call(I,"__proto__")&&Object.defineProperty(I,"__proto__",{enumerable:!0,value:J.__proto__});Object.keys(J).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(I,e))I[e]=J[e]})});var Vt=x((po)=>{var Ht=zt();po.GetRoleCredentialsCommand=Ht.GetRoleCredentialsCommand;po.SSOClient=Ht.SSOClient});var v,W,Bt,Ro,Qt=(e)=>e&&(typeof e.sso_start_url==="string"||typeof e.sso_account_id==="string"||typeof e.sso_session==="string"||typeof e.sso_region==="string"||typeof e.sso_role_name==="string"),M=!1,Yt=async({ssoStartUrl:e,ssoSession:t,ssoAccountId:r,ssoRegion:o,ssoRoleName:s,ssoClient:n,clientConfig:c,parentClientConfig:p,callerClientConfig:i,profile:l,filepath:u,configFilepath:$,ignoreCache:y,logger:a})=>{let O,X="To refresh this SSO session run aws sso login with the corresponding profile.";if(t)try{let q=await Ro.fromSso({profile:l,filepath:u,configFilepath:$,ignoreCache:y})();O={accessToken:q.token,expiresAt:new Date(q.expiration).toISOString()}}catch(q){throw new v.CredentialsProviderError(q.message,{tryNextLink:M,logger:a})}else try{O=await W.getSSOTokenFromFile(e)}catch(q){throw new v.CredentialsProviderError("The SSO session associated with this profile is invalid. To refresh this SSO session run aws sso login with the corresponding profile.",{tryNextLink:M,logger:a})}if(new Date(O.expiresAt).getTime()-Date.now()<=0)throw new v.CredentialsProviderError("The SSO session associated with this profile has expired. To refresh this SSO session run aws sso login with the corresponding profile.",{tryNextLink:M,logger:a});let{accessToken:ve}=O,{SSOClient:C,GetRoleCredentialsCommand:G}=await Promise.resolve().then(function(){return Vt()}),Wt=n||new C(Object.assign({},c??{},{logger:c?.logger??i?.logger??p?.logger,region:c?.region??o,userAgentAppId:c?.userAgentAppId??i?.userAgentAppId??p?.userAgentAppId})),ye;try{ye=await Wt.send(new G({accountId:r,roleName:s,accessToken:ve}))}catch(q){throw new v.CredentialsProviderError(q,{tryNextLink:M,logger:a})}let{roleCredentials:{accessKeyId:Oe,secretAccessKey:he,sessionToken:Ie,expiration:qe,credentialScope:fe,accountId:Pe}={}}=ye;if(!Oe||!he||!Ie||!qe)throw new v.CredentialsProviderError("SSO returns an invalid temporary credential.",{tryNextLink:M,logger:a});let Z={accessKeyId:Oe,secretAccessKey:he,sessionToken:Ie,expiration:new Date(qe),...fe&&{credentialScope:fe},...Pe&&{accountId:Pe}};if(t)Bt.setCredentialFeature(Z,"CREDENTIALS_SSO","s");else Bt.setCredentialFeature(Z,"CREDENTIALS_SSO_LEGACY","u");return Z},Jt=(e,t)=>{let{sso_start_url:r,sso_account_id:o,sso_region:s,sso_role_name:n}=e;if(!r||!o||!s||!n)throw new v.CredentialsProviderError(`Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", "sso_region", "sso_role_name", "sso_start_url". Got ${Object.keys(e).join(", ")}
2
+ Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,{tryNextLink:!1,logger:t});return e},xo=(e={})=>async({callerClientConfig:t}={})=>{e.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO");let{ssoStartUrl:r,ssoAccountId:o,ssoRegion:s,ssoRoleName:n,ssoSession:c}=e,{ssoClient:p}=e,i=W.getProfileName({profile:e.profile??t?.profile});if(!r&&!o&&!s&&!n&&!c){let u=(await W.parseKnownFiles(e))[i];if(!u)throw new v.CredentialsProviderError(`Profile ${i} was not found.`,{logger:e.logger});if(!Qt(u))throw new v.CredentialsProviderError(`Profile ${i} is not configured with SSO credentials.`,{logger:e.logger});if(u?.sso_session){let C=(await W.loadSsoSessionData(e))[u.sso_session],G=` configurations in profile ${i} and sso-session ${u.sso_session}`;if(s&&s!==C.sso_region)throw new v.CredentialsProviderError("Conflicting SSO region"+G,{tryNextLink:!1,logger:e.logger});if(r&&r!==C.sso_start_url)throw new v.CredentialsProviderError("Conflicting SSO start_url"+G,{tryNextLink:!1,logger:e.logger});u.sso_region=C.sso_region,u.sso_start_url=C.sso_start_url}let{sso_start_url:$,sso_account_id:y,sso_region:a,sso_role_name:O,sso_session:X}=Jt(u,e.logger);return Yt({ssoStartUrl:$,ssoSession:X,ssoAccountId:y,ssoRegion:a,ssoRoleName:O,ssoClient:p,clientConfig:e.clientConfig,parentClientConfig:e.parentClientConfig,callerClientConfig:e.callerClientConfig,profile:i,filepath:e.filepath,configFilepath:e.configFilepath,ignoreCache:e.ignoreCache,logger:e.logger})}else if(!r||!o||!s||!n)throw new v.CredentialsProviderError('Incomplete configuration. The fromSSO() argument hash must include "ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"',{tryNextLink:!1,logger:e.logger});else return Yt({ssoStartUrl:r,ssoSession:c,ssoAccountId:o,ssoRegion:s,ssoRoleName:n,ssoClient:p,clientConfig:e.clientConfig,parentClientConfig:e.parentClientConfig,callerClientConfig:e.callerClientConfig,profile:i,filepath:e.filepath,configFilepath:e.configFilepath,ignoreCache:e.ignoreCache,logger:e.logger})},vo,yo,Oo;var ho=So(()=>{v=Ne(),W=De(),Bt=k(),Ro=be();vo=xo,yo=Qt,Oo=Jt});ho();export{Oo as validateSsoProfile,yo as isSsoProfile,vo as fromSSO};export default {get validateSsoProfile(){return Oo},get isSsoProfile(){return yo},get fromSSO(){return vo}};
@@ -0,0 +1 @@
1
+ import{H5 as a}from"./cli-0.1.11-pfgwwtw9.mjs";import"./cli-0.1.11-10nmrfsz.mjs";import"./cli-0.1.11-n23d2wej.mjs";import"./cli-0.1.11-yrfxpjhr.mjs";export default a();
@@ -0,0 +1 @@
1
+ import{RZ as a}from"./cli-0.1.11-zb2sa3e2.mjs";import"./cli-0.1.11-yrfxpjhr.mjs";export default a();
@@ -0,0 +1 @@
1
+ import{G5 as a}from"./cli-0.1.11-sqqzwx4h.mjs";import"./cli-0.1.11-yrfxpjhr.mjs";export default a();
@@ -0,0 +1 @@
1
+ import{KQ as a,LQ as b,MQ as c,NQ as d,OQ as e}from"./cli-0.1.11-t7dc7fbj.mjs";import"./cli-0.1.11-yrfxpjhr.mjs";e();export{c as watch,d as default,a as WatchHelper,b as FSWatcher};
@@ -0,0 +1,7 @@
1
+ import"./cli-0.1.11-bwn9ehxv.mjs";import{uh as p2,vh as s6}from"./cli-0.1.11-y909w8bb.mjs";import{kX as d2,lX as o6}from"./cli-0.1.11-kghg51gb.mjs";import"./cli-0.1.11-fstfs72j.mjs";import{H6 as c5,I6 as W2,J6 as I6,L6 as F6}from"./cli-0.1.11-h2hxx8ma.mjs";import"./cli-0.1.11-1xr9et85.mjs";import{Nna as K4,Qna as o5,Rna as O,Sna as a6}from"./cli-0.1.11-yrfxpjhr.mjs";function q0($,Y){return function(){return $.apply(Y,arguments)}}var P1=()=>{};function x0($){return $!==null&&!D0($)&&$.constructor!==null&&!D0($.constructor)&&p($.constructor.isBuffer)&&$.constructor.isBuffer($)}function Y5($){let Y;if(typeof ArrayBuffer<"u"&&ArrayBuffer.isView)Y=ArrayBuffer.isView($);else Y=$&&$.buffer&&Z4($.buffer);return Y}function L5(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;return{}}function v0($,Y,{allOwnKeys:G=!1}={}){if($===null||typeof $>"u")return;let Q,X;if(typeof $!=="object")$=[$];if(S0($))for(Q=0,X=$.length;Q<X;Q++)Y.call(null,$[Q],Q,$);else{if(x0($))return;let W=G?Object.getOwnPropertyNames($):Object.keys($),N=W.length,Z;for(Q=0;Q<N;Q++)Z=W[Q],Y.call(null,$[Z],Z,$)}}function J4($,Y){if(x0($))return null;Y=Y.toLowerCase();let G=Object.keys($),Q=G.length,X;while(Q-- >0)if(X=G[Q],Y===X.toLowerCase())return X;return null}function U1(){let{caseless:$,skipUndefined:Y}=V4(this)&&this||{},G={},Q=(X,W)=>{if(W==="__proto__"||W==="constructor"||W==="prototype")return;let N=$&&J4(G,W)||W;if(a0(G[N])&&a0(X))G[N]=U1(G[N],X);else if(a0(X))G[N]=U1({},X);else if(S0(X))G[N]=X.slice();else if(!Y||!D0(X))G[N]=X};for(let X=0,W=arguments.length;X<W;X++)arguments[X]&&v0(arguments[X],Q);return G}function b5($){return!!($&&p($.append)&&$[W4]==="FormData"&&$[o0])}var $5,O1,o0,W4,s0,e=($)=>{return $=$.toLowerCase(),(Y)=>s0(Y)===$},e0=($)=>(Y)=>typeof Y===$,S0,D0,Z4,G5,p,M4,j0=($)=>$!==null&&typeof $==="object",Q5=($)=>$===!0||$===!1,a0=($)=>{if(s0($)!=="object")return!1;let Y=O1($);return(Y===null||Y===Object.prototype||Object.getPrototypeOf(Y)===null)&&!(W4 in $)&&!(o0 in $)},X5=($)=>{if(!j0($)||x0($))return!1;try{return Object.keys($).length===0&&Object.getPrototypeOf($)===Object.prototype}catch(Y){return!1}},N5,W5,Z5=($)=>{return!!($&&typeof $.uri<"u")},M5=($)=>$&&typeof $.getParts<"u",J5,V5,z5=($)=>j0($)&&p($.pipe),Q4,X4,K5=($)=>{let Y;return $&&(X4&&$ instanceof X4||p($.append)&&((Y=s0($))==="formdata"||Y==="object"&&p($.toString)&&$.toString()==="[object FormData]"))},B5,H5,_5,P5,U5,O5=($)=>{return $.trim?$.trim():$.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},P0,V4=($)=>!D0($)&&$!==P0,C5=($,Y,G,{allOwnKeys:Q}={})=>{return v0(Y,(X,W)=>{if(G&&p(X))Object.defineProperty($,W,{value:q0(X,G),writable:!0,enumerable:!0,configurable:!0});else Object.defineProperty($,W,{value:X,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:Q}),$},T5=($)=>{if($.charCodeAt(0)===65279)$=$.slice(1);return $},I5=($,Y,G,Q)=>{$.prototype=Object.create(Y.prototype,Q),Object.defineProperty($.prototype,"constructor",{value:$,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty($,"super",{value:Y.prototype}),G&&Object.assign($.prototype,G)},F5=($,Y,G,Q)=>{let X,W,N,Z={};if(Y=Y||{},$==null)return Y;do{X=Object.getOwnPropertyNames($),W=X.length;while(W-- >0)if(N=X[W],(!Q||Q(N,$,Y))&&!Z[N])Y[N]=$[N],Z[N]=!0;$=G!==!1&&O1($)}while($&&(!G||G($,Y))&&$!==Object.prototype);return Y},R5=($,Y,G)=>{if($=String($),G===void 0||G>$.length)G=$.length;G-=Y.length;let Q=$.indexOf(Y,G);return Q!==-1&&Q===G},D5=($)=>{if(!$)return null;if(S0($))return $;let Y=$.length;if(!M4(Y))return null;let G=Array(Y);while(Y-- >0)G[Y]=$[Y];return G},S5,w5=($,Y)=>{let Q=($&&$[o0]).call($),X;while((X=Q.next())&&!X.done){let W=X.value;Y.call($,W[0],W[1])}},A5=($,Y)=>{let G,Q=[];while((G=$.exec(Y))!==null)Q.push(G);return Q},k5,E5=($)=>{return $.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(G,Q,X){return Q.toUpperCase()+X})},N4,q5,z4=($,Y)=>{let G=Object.getOwnPropertyDescriptors($),Q={};v0(G,(X,W)=>{let N;if((N=Y(X,W,$))!==!1)Q[W]=N||X}),Object.defineProperties($,Q)},x5=($)=>{z4($,(Y,G)=>{if(p($)&&["arguments","caller","callee"].indexOf(G)!==-1)return!1;let Q=$[G];if(!p(Q))return;if(Y.enumerable=!1,"writable"in Y){Y.writable=!1;return}if(!Y.set)Y.set=()=>{throw Error("Can not rewrite read-only method '"+G+"'")}})},j5=($,Y)=>{let G={},Q=(X)=>{X.forEach((W)=>{G[W]=!0})};return S0($)?Q($):Q(String($).split(Y)),G},v5=()=>{},y5=($,Y)=>{return $!=null&&Number.isFinite($=+$)?$:Y},f5=($)=>{let Y=[,,,,,,,,,,],G=(Q,X)=>{if(j0(Q)){if(Y.indexOf(Q)>=0)return;if(x0(Q))return Q;if(!("toJSON"in Q)){Y[X]=Q;let W=S0(Q)?[]:{};return v0(Q,(N,Z)=>{let V=G(N,X+1);!D0(V)&&(W[Z]=V)}),Y[X]=void 0,W}}return Q};return G($,0)},h5,m5=($)=>$&&(j0($)||p($))&&p($.then)&&p($.catch),L4,g5,u5=($)=>$!=null&&p($[o0]),M;var k=O(()=>{P1();({toString:$5}=Object.prototype),{getPrototypeOf:O1}=Object,{iterator:o0,toStringTag:W4}=Symbol,s0=(($)=>(Y)=>{let G=$5.call(Y);return $[G]||($[G]=G.slice(8,-1).toLowerCase())})(Object.create(null)),{isArray:S0}=Array,D0=e0("undefined");Z4=e("ArrayBuffer");G5=e0("string"),p=e0("function"),M4=e0("number"),N5=e("Date"),W5=e("File"),J5=e("Blob"),V5=e("FileList");Q4=L5(),X4=typeof Q4.FormData<"u"?Q4.FormData:void 0,B5=e("URLSearchParams"),[H5,_5,P5,U5]=["ReadableStream","Request","Response","Headers"].map(e);P0=(()=>{if(typeof globalThis<"u")return globalThis;return typeof self<"u"?self:typeof window<"u"?window:global})();S5=(($)=>{return(Y)=>{return $&&Y instanceof $}})(typeof Uint8Array<"u"&&O1(Uint8Array)),k5=e("HTMLFormElement"),N4=(({hasOwnProperty:$})=>(Y,G)=>$.call(Y,G))(Object.prototype),q5=e("RegExp");h5=e("AsyncFunction"),L4=(($,Y)=>{if($)return setImmediate;return Y?((G,Q)=>{return P0.addEventListener("message",({source:X,data:W})=>{if(X===P0&&W===G)Q.length&&Q.shift()()},!1),(X)=>{Q.push(X),P0.postMessage(G,"*")}})(`axios@${Math.random()}`,[]):(G)=>setTimeout(G)})(typeof setImmediate==="function",p(P0.postMessage)),g5=typeof queueMicrotask<"u"?queueMicrotask.bind(P0):typeof process<"u"&&process.nextTick||L4,M={isArray:S0,isArrayBuffer:Z4,isBuffer:x0,isFormData:K5,isArrayBufferView:Y5,isString:G5,isNumber:M4,isBoolean:Q5,isObject:j0,isPlainObject:a0,isEmptyObject:X5,isReadableStream:H5,isRequest:_5,isResponse:P5,isHeaders:U5,isUndefined:D0,isDate:N5,isFile:W5,isReactNativeBlob:Z5,isReactNative:M5,isBlob:J5,isRegExp:q5,isFunction:p,isStream:z5,isURLSearchParams:B5,isTypedArray:S5,isFileList:V5,forEach:v0,merge:U1,extend:C5,trim:O5,stripBOM:T5,inherits:I5,toFlatObject:F5,kindOf:s0,kindOfTest:e,endsWith:R5,toArray:D5,forEachEntry:w5,matchAll:A5,isHTMLForm:k5,hasOwnProperty:N4,hasOwnProp:N4,reduceDescriptors:z4,freezeMethods:x5,toObjectSet:j5,toCamelCase:E5,noop:v5,toFiniteNumber:y5,findKey:J4,global:P0,isContextDefined:V4,isSpecCompliantForm:b5,toJSONObject:f5,isAsyncFn:h5,isThenable:m5,setImmediate:L4,asap:g5,isIterable:u5}});var u,H;var i=O(()=>{k();u=class u extends Error{static from($,Y,G,Q,X,W){let N=new u($.message,Y||$.code,G,Q,X);if(N.cause=$,N.name=$.name,$.status!=null&&N.status==null)N.status=$.status;return W&&Object.assign(N,W),N}constructor($,Y,G,Q,X){super($);if(Object.defineProperty(this,"message",{value:$,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,Y&&(this.code=Y),G&&(this.config=G),Q&&(this.request=Q),X)this.response=X,this.status=X.status}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:M.toJSONObject(this.config),code:this.code,status:this.status}}};u.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";u.ERR_BAD_OPTION="ERR_BAD_OPTION";u.ECONNABORTED="ECONNABORTED";u.ETIMEDOUT="ETIMEDOUT";u.ERR_NETWORK="ERR_NETWORK";u.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";u.ERR_DEPRECATED="ERR_DEPRECATED";u.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";u.ERR_BAD_REQUEST="ERR_BAD_REQUEST";u.ERR_CANCELED="ERR_CANCELED";u.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";u.ERR_INVALID_URL="ERR_INVALID_URL";H=u});var B4,r0;var C1=O(()=>{B4=K4(c5(),1),r0=B4.default});function I1($){return M.isPlainObject($)||M.isArray($)}function H4($){return M.endsWith($,"[]")?$.slice(0,-2):$}function T1($,Y,G){if(!$)return Y;return $.concat(Y).map(function(X,W){return X=H4(X),!G&&W?"["+X+"]":X}).join(G?".":"")}function l5($){return M.isArray($)&&!$.some(I1)}function p5($,Y,G){if(!M.isObject($))throw TypeError("target must be an object");Y=Y||new(r0||FormData),G=M.toFlatObject(G,{metaTokens:!0,dots:!1,indexes:!1},!1,function(T,B){return!M.isUndefined(B[T])});let Q=G.metaTokens,X=G.visitor||z,W=G.dots,N=G.indexes,V=(G.Blob||typeof Blob<"u"&&Blob)&&M.isSpecCompliantForm(Y);if(!M.isFunction(X))throw TypeError("visitor must be a function");function J(L){if(L===null)return"";if(M.isDate(L))return L.toISOString();if(M.isBoolean(L))return L.toString();if(!V&&M.isBlob(L))throw new H("Blob is not supported. Use a Buffer instead.");if(M.isArrayBuffer(L)||M.isTypedArray(L))return V&&typeof Blob==="function"?new Blob([L]):Buffer.from(L);return L}function z(L,T,B){let w=L;if(M.isReactNative(Y)&&M.isReactNativeBlob(L))return Y.append(T1(B,T,W),J(L)),!1;if(L&&!B&&typeof L==="object"){if(M.endsWith(T,"{}"))T=Q?T:T.slice(0,-2),L=JSON.stringify(L);else if(M.isArray(L)&&l5(L)||(M.isFileList(L)||M.endsWith(T,"[]"))&&(w=M.toArray(L)))return T=H4(T),w.forEach(function(R,y){!(M.isUndefined(R)||R===null)&&Y.append(N===!0?T1([T],y,W):N===null?T:T+"[]",J(R))}),!1}if(I1(L))return!0;return Y.append(T1(B,T,W),J(L)),!1}let K=[],_=Object.assign(d5,{defaultVisitor:z,convertValue:J,isVisitable:I1});function U(L,T){if(M.isUndefined(L))return;if(K.indexOf(L)!==-1)throw Error("Circular reference detected in "+T.join("."));K.push(L),M.forEach(L,function(w,q){if((!(M.isUndefined(w)||w===null)&&X.call(Y,w,M.isString(q)?q.trim():q,T,_))===!0)U(w,T?T.concat(q):[q])}),K.pop()}if(!M.isObject($))throw TypeError("data must be an object");return U($),Y}var d5,z0;var y0=O(()=>{k();i();C1();d5=M.toFlatObject(M,{},null,function(Y){return/^is[A-Z]/.test(Y)});z0=p5});function _4($){let Y={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\x00"};return encodeURIComponent($).replace(/[!'()~]|%20|%00/g,function(Q){return Y[Q]})}function P4($,Y){this._pairs=[],$&&z0($,this,Y)}var U4,O4;var C4=O(()=>{y0();U4=P4.prototype;U4.append=function(Y,G){this._pairs.push([Y,G])};U4.toString=function(Y){let G=Y?function(Q){return Y.call(this,Q,_4)}:_4;return this._pairs.map(function(X){return G(X[0])+"="+G(X[1])},"").join("&")};O4=P4});function n5($){return encodeURIComponent($).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function U0($,Y,G){if(!Y)return $;let Q=G&&G.encode||n5,X=M.isFunction(G)?{serialize:G}:G,W=X&&X.serialize,N;if(W)N=W(Y,X);else N=M.isURLSearchParams(Y)?Y.toString():new O4(Y,X).toString(Q);if(N){let Z=$.indexOf("#");if(Z!==-1)$=$.slice(0,Z);$+=($.indexOf("?")===-1?"?":"&")+N}return $}var $1=O(()=>{k();C4()});class T4{constructor(){this.handlers=[]}use($,Y,G){return this.handlers.push({fulfilled:$,rejected:Y,synchronous:G?G.synchronous:!1,runWhen:G?G.runWhen:null}),this.handlers.length-1}eject($){if(this.handlers[$])this.handlers[$]=null}clear(){if(this.handlers)this.handlers=[]}forEach($){M.forEach(this.handlers,function(G){if(G!==null)$(G)})}}var F1;var I4=O(()=>{k();F1=T4});var L0;var b0=O(()=>{L0={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0}});import i5 from"url";var F4;var R4=O(()=>{F4=i5.URLSearchParams});import t5 from"crypto";var R1="abcdefghijklmnopqrstuvwxyz",D4="0123456789",S4,a5=($=16,Y=S4.ALPHA_DIGIT)=>{let G="",{length:Q}=Y,X=new Uint32Array($);t5.randomFillSync(X);for(let W=0;W<$;W++)G+=Y[X[W]%Q];return G},w4;var A4=O(()=>{R4();C1();S4={DIGIT:D4,ALPHA:R1,ALPHA_DIGIT:R1+R1.toUpperCase()+D4},w4={isNode:!0,classes:{URLSearchParams:F4,FormData:r0,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:S4,generateString:a5,protocols:["http","https","file","data"]}});var w1={};o5(w1,{origin:()=>r5,navigator:()=>D1,hasStandardBrowserWebWorkerEnv:()=>e5,hasStandardBrowserEnv:()=>s5,hasBrowserEnv:()=>S1});var S1,D1,s5,e5,r5;var k4=O(()=>{S1=typeof window<"u"&&typeof document<"u",D1=typeof navigator==="object"&&navigator||void 0,s5=S1&&(!D1||["ReactNative","NativeScript","NS"].indexOf(D1.product)<0),e5=(()=>{return typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function"})(),r5=S1&&window.location.href||"http://localhost"});var F;var r=O(()=>{A4();k4();F={...w1,...w4}});function A1($,Y){return z0($,new F.classes.URLSearchParams,{visitor:function(G,Q,X,W){if(F.isNode&&M.isBuffer(G))return this.append(Q,G.toString("base64")),!1;return W.defaultVisitor.apply(this,arguments)},...Y})}var E4=O(()=>{k();y0();r()});function $6($){return M.matchAll(/\w+|\[(\w*)]/g,$).map((Y)=>{return Y[0]==="[]"?"":Y[1]||Y[0]})}function Y6($){let Y={},G=Object.keys($),Q,X=G.length,W;for(Q=0;Q<X;Q++)W=G[Q],Y[W]=$[W];return Y}function G6($){function Y(G,Q,X,W){let N=G[W++];if(N==="__proto__")return!0;let Z=Number.isFinite(+N),V=W>=G.length;if(N=!N&&M.isArray(X)?X.length:N,V){if(M.hasOwnProp(X,N))X[N]=[X[N],Q];else X[N]=Q;return!Z}if(!X[N]||!M.isObject(X[N]))X[N]=[];if(Y(G,Q,X[N],W)&&M.isArray(X[N]))X[N]=Y6(X[N]);return!Z}if(M.isFormData($)&&M.isFunction($.entries)){let G={};return M.forEachEntry($,(Q,X)=>{Y($6(Q),X,G,0)}),G}return null}var Y1;var k1=O(()=>{k();Y1=G6});function Q6($,Y,G){if(M.isString($))try{return(Y||JSON.parse)($),M.trim($)}catch(Q){if(Q.name!=="SyntaxError")throw Q}return(G||JSON.stringify)($)}var E1,w0;var G1=O(()=>{k();i();b0();y0();E4();r();k1();E1={transitional:L0,adapter:["xhr","http","fetch"],transformRequest:[function(Y,G){let Q=G.getContentType()||"",X=Q.indexOf("application/json")>-1,W=M.isObject(Y);if(W&&M.isHTMLForm(Y))Y=new FormData(Y);if(M.isFormData(Y))return X?JSON.stringify(Y1(Y)):Y;if(M.isArrayBuffer(Y)||M.isBuffer(Y)||M.isStream(Y)||M.isFile(Y)||M.isBlob(Y)||M.isReadableStream(Y))return Y;if(M.isArrayBufferView(Y))return Y.buffer;if(M.isURLSearchParams(Y))return G.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),Y.toString();let Z;if(W){if(Q.indexOf("application/x-www-form-urlencoded")>-1)return A1(Y,this.formSerializer).toString();if((Z=M.isFileList(Y))||Q.indexOf("multipart/form-data")>-1){let V=this.env&&this.env.FormData;return z0(Z?{"files[]":Y}:Y,V&&new V,this.formSerializer)}}if(W||X)return G.setContentType("application/json",!1),Q6(Y);return Y}],transformResponse:[function(Y){let G=this.transitional||E1.transitional,Q=G&&G.forcedJSONParsing,X=this.responseType==="json";if(M.isResponse(Y)||M.isReadableStream(Y))return Y;if(Y&&M.isString(Y)&&(Q&&!this.responseType||X)){let N=!(G&&G.silentJSONParsing)&&X;try{return JSON.parse(Y,this.parseReviver)}catch(Z){if(N){if(Z.name==="SyntaxError")throw H.from(Z,H.ERR_BAD_RESPONSE,this,null,this.response);throw Z}}}return Y}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:F.classes.FormData,Blob:F.classes.Blob},validateStatus:function(Y){return Y>=200&&Y<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};M.forEach(["delete","get","head","post","put","patch"],($)=>{E1.headers[$]={}});w0=E1});var X6,q4=($)=>{let Y={},G,Q,X;return $&&$.split(`
2
+ `).forEach(function(N){if(X=N.indexOf(":"),G=N.substring(0,X).trim().toLowerCase(),Q=N.substring(X+1).trim(),!G||Y[G]&&X6[G])return;if(G==="set-cookie")if(Y[G])Y[G].push(Q);else Y[G]=[Q];else Y[G]=Y[G]?Y[G]+", "+Q:Q}),Y};var x4=O(()=>{k();X6=M.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"])});function f0($){return $&&String($).trim().toLowerCase()}function Q1($){if($===!1||$==null)return $;return M.isArray($)?$.map(Q1):String($).replace(/[\r\n]+$/,"")}function N6($){let Y=Object.create(null),G=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,Q;while(Q=G.exec($))Y[Q[1]]=Q[2];return Y}function q1($,Y,G,Q,X){if(M.isFunction(Q))return Q.call(this,Y,G);if(X)Y=G;if(!M.isString(Y))return;if(M.isString(Q))return Y.indexOf(Q)!==-1;if(M.isRegExp(Q))return Q.test(Y)}function Z6($){return $.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(Y,G,Q)=>{return G.toUpperCase()+Q})}function M6($,Y){let G=M.toCamelCase(" "+Y);["get","set","has"].forEach((Q)=>{Object.defineProperty($,Q+G,{value:function(X,W,N){return this[Q].call(this,Y,X,W,N)},configurable:!0})})}var j4,W6=($)=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test($.trim()),h0,E;var G0=O(()=>{k();x4();j4=Symbol("internals");h0=class h0{constructor($){$&&this.set($)}set($,Y,G){let Q=this;function X(N,Z,V){let J=f0(Z);if(!J)throw Error("header name must be a non-empty string");let z=M.findKey(Q,J);if(!z||Q[z]===void 0||V===!0||V===void 0&&Q[z]!==!1)Q[z||Z]=Q1(N)}let W=(N,Z)=>M.forEach(N,(V,J)=>X(V,J,Z));if(M.isPlainObject($)||$ instanceof this.constructor)W($,Y);else if(M.isString($)&&($=$.trim())&&!W6($))W(q4($),Y);else if(M.isObject($)&&M.isIterable($)){let N={},Z,V;for(let J of $){if(!M.isArray(J))throw TypeError("Object iterator must return a key-value pair");N[V=J[0]]=(Z=N[V])?M.isArray(Z)?[...Z,J[1]]:[Z,J[1]]:J[1]}W(N,Y)}else $!=null&&X(Y,$,G);return this}get($,Y){if($=f0($),$){let G=M.findKey(this,$);if(G){let Q=this[G];if(!Y)return Q;if(Y===!0)return N6(Q);if(M.isFunction(Y))return Y.call(this,Q,G);if(M.isRegExp(Y))return Y.exec(Q);throw TypeError("parser must be boolean|regexp|function")}}}has($,Y){if($=f0($),$){let G=M.findKey(this,$);return!!(G&&this[G]!==void 0&&(!Y||q1(this,this[G],G,Y)))}return!1}delete($,Y){let G=this,Q=!1;function X(W){if(W=f0(W),W){let N=M.findKey(G,W);if(N&&(!Y||q1(G,G[N],N,Y)))delete G[N],Q=!0}}if(M.isArray($))$.forEach(X);else X($);return Q}clear($){let Y=Object.keys(this),G=Y.length,Q=!1;while(G--){let X=Y[G];if(!$||q1(this,this[X],X,$,!0))delete this[X],Q=!0}return Q}normalize($){let Y=this,G={};return M.forEach(this,(Q,X)=>{let W=M.findKey(G,X);if(W){Y[W]=Q1(Q),delete Y[X];return}let N=$?Z6(X):String(X).trim();if(N!==X)delete Y[X];Y[N]=Q1(Q),G[N]=!0}),this}concat(...$){return this.constructor.concat(this,...$)}toJSON($){let Y=Object.create(null);return M.forEach(this,(G,Q)=>{G!=null&&G!==!1&&(Y[Q]=$&&M.isArray(G)?G.join(", "):G)}),Y}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([$,Y])=>$+": "+Y).join(`
3
+ `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from($){return $ instanceof this?$:new this($)}static concat($,...Y){let G=new this($);return Y.forEach((Q)=>G.set(Q)),G}static accessor($){let G=(this[j4]=this[j4]={accessors:{}}).accessors,Q=this.prototype;function X(W){let N=f0(W);if(!G[N])M6(Q,W),G[N]=!0}return M.isArray($)?$.forEach(X):X($),this}};h0.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);M.reduceDescriptors(h0.prototype,({value:$},Y)=>{let G=Y[0].toUpperCase()+Y.slice(1);return{get:()=>$,set(Q){this[G]=Q}}});M.freezeMethods(h0);E=h0});function m0($,Y){let G=this||w0,Q=Y||G,X=E.from(Q.headers),W=Q.data;return M.forEach($,function(Z){W=Z.call(G,W,X.normalize(),Y?Y.status:void 0)}),X.normalize(),W}var v4=O(()=>{k();G1();G0()});function g0($){return!!($&&$.__CANCEL__)}var x1=()=>{};var y4,t;var O0=O(()=>{i();y4=class y4 extends H{constructor($,Y,G){super($==null?"canceled":$,H.ERR_CANCELED,Y,G);this.name="CanceledError",this.__CANCEL__=!0}};t=y4});function Q0($,Y,G){let Q=G.config.validateStatus;if(!G.status||!Q||Q(G.status))$(G);else Y(new H("Request failed with status code "+G.status,[H.ERR_BAD_REQUEST,H.ERR_BAD_RESPONSE][Math.floor(G.status/100)-4],G.config,G.request,G))}var X1=O(()=>{i()});function j1($){if(typeof $!=="string")return!1;return/^([a-z][a-z\d+\-.]*:)?\/\//i.test($)}var b4=()=>{};function v1($,Y){return Y?$.replace(/\/?\/$/,"")+"/"+Y.replace(/^\/+/,""):$}var f4=()=>{};function C0($,Y,G){let Q=!j1(Y);if($&&(Q||G==!1))return v1($,Y);return Y}var N1=O(()=>{b4();f4()});var T0="1.14.0";var W1=()=>{};function u0($){let Y=/^([-+\w]{1,25})(:?\/\/|:)/.exec($);return Y&&Y[1]||""}var y1=()=>{};function b1($,Y,G){let Q=G&&G.Blob||F.classes.Blob,X=u0($);if(Y===void 0&&Q)Y=!0;if(X==="data"){$=X.length?$.slice(X.length+1):$;let W=J6.exec($);if(!W)throw new H("Invalid URL",H.ERR_INVALID_URL);let N=W[1],Z=W[2],V=W[3],J=Buffer.from(decodeURIComponent(V),Z?"base64":"utf8");if(Y){if(!Q)throw new H("Blob is not supported",H.ERR_NOT_SUPPORT);return new Q([J],{type:N})}return J}throw new H("Unsupported protocol "+X,H.ERR_NOT_SUPPORT)}var J6;var h4=O(()=>{i();y1();r();J6=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/});import V6 from"stream";var f1,m4,h1;var g4=O(()=>{k();f1=Symbol("internals");m4=class m4 extends V6.Transform{constructor($){$=M.toFlatObject($,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(G,Q)=>{return!M.isUndefined(Q[G])});super({readableHighWaterMark:$.chunkSize});let Y=this[f1]={timeWindow:$.timeWindow,chunkSize:$.chunkSize,maxRate:$.maxRate,minChunkSize:$.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(G)=>{if(G==="progress"){if(!Y.isCaptured)Y.isCaptured=!0}})}_read($){let Y=this[f1];if(Y.onReadCallback)Y.onReadCallback();return super._read($)}_transform($,Y,G){let Q=this[f1],X=Q.maxRate,W=this.readableHighWaterMark,N=Q.timeWindow,Z=1000/N,V=X/Z,J=Q.minChunkSize!==!1?Math.max(Q.minChunkSize,V*0.01):0,z=(_,U)=>{let L=Buffer.byteLength(_);if(Q.bytesSeen+=L,Q.bytes+=L,Q.isCaptured&&this.emit("progress",Q.bytesSeen),this.push(_))process.nextTick(U);else Q.onReadCallback=()=>{Q.onReadCallback=null,process.nextTick(U)}},K=(_,U)=>{let L=Buffer.byteLength(_),T=null,B=W,w,q=0;if(X){let R=Date.now();if(!Q.ts||(q=R-Q.ts)>=N)Q.ts=R,w=V-Q.bytes,Q.bytes=w<0?-w:0,q=0;w=V-Q.bytes}if(X){if(w<=0)return setTimeout(()=>{U(null,_)},N-q);if(w<B)B=w}if(B&&L>B&&L-B>J)T=_.subarray(B),_=_.subarray(0,B);z(_,T?()=>{process.nextTick(U,null,T)}:U)};K($,function _(U,L){if(U)return G(U);if(L)K(L,_);else G(null)})}};h1=m4});var u4,z6=async function*($){if($.stream)yield*$.stream();else if($.arrayBuffer)yield await $.arrayBuffer();else if($[u4])yield*$[u4]();else yield $},Z1;var m1=O(()=>{({asyncIterator:u4}=Symbol),Z1=z6});import L6 from"util";import{Readable as K6}from"stream";class c4{constructor($,Y){let{escapeName:G}=this.constructor,Q=M.isString(Y),X=`Content-Disposition: form-data; name="${G($)}"${!Q&&Y.name?`; filename="${G(Y.name)}"`:""}${I0}`;if(Q)Y=c0.encode(String(Y).replace(/\r?\n|\r\n?/g,I0));else X+=`Content-Type: ${Y.type||"application/octet-stream"}${I0}`;this.headers=c0.encode(X+I0),this.contentLength=Q?Y.byteLength:Y.size,this.size=this.headers.byteLength+this.contentLength+_6,this.name=$,this.value=Y}async*encode(){yield this.headers;let{value:$}=this;if(M.isTypedArray($))yield $;else yield*Z1($);yield H6}static escapeName($){return String($).replace(/[\r\n"]/g,(Y)=>({"\r":"%0D","\n":"%0A",'"':"%22"})[Y])}}var B6,c0,I0=`\r
4
+ `,H6,_6=2,P6=($,Y,G)=>{let{tag:Q="form-data-boundary",size:X=25,boundary:W=Q+"-"+F.generateString(X,B6)}=G||{};if(!M.isFormData($))throw TypeError("FormData instance required");if(W.length<1||W.length>70)throw Error("boundary must be 10-70 characters long");let N=c0.encode("--"+W+I0),Z=c0.encode("--"+W+"--"+I0),V=Z.byteLength,J=Array.from($.entries()).map(([K,_])=>{let U=new c4(K,_);return V+=U.size,U});V+=N.byteLength*J.length,V=M.toFiniteNumber(V);let z={"Content-Type":`multipart/form-data; boundary=${W}`};if(Number.isFinite(V))z["Content-Length"]=V;return Y&&Y(z),K6.from(async function*(){for(let K of J)yield N,yield*K.encode();yield Z}())},l4;var d4=O(()=>{k();m1();r();B6=F.ALPHABET.ALPHA_DIGIT+"-_",c0=typeof TextEncoder==="function"?new TextEncoder:new L6.TextEncoder,H6=c0.encode(I0);l4=P6});import U6 from"stream";var p4,n4;var i4=O(()=>{p4=class p4 extends U6.Transform{__transform($,Y,G){this.push($),G()}_transform($,Y,G){if($.length!==0){if(this._transform=this.__transform,$[0]!==120){let Q=Buffer.alloc(2);Q[0]=120,Q[1]=156,this.push(Q,Y)}}this.__transform($,Y,G)}};n4=p4});var O6=($,Y)=>{return M.isAsyncFn($)?function(...G){let Q=G.pop();$.apply(this,G).then((X)=>{try{Y?Q(null,...Y(X)):Q(null,X)}catch(W){Q(W)}},Q)}:$},t4;var a4=O(()=>{k();t4=O6});function C6($,Y){$=$||10;let G=Array($),Q=Array($),X=0,W=0,N;return Y=Y!==void 0?Y:1000,function(V){let J=Date.now(),z=Q[W];if(!N)N=J;G[X]=V,Q[X]=J;let K=W,_=0;while(K!==X)_+=G[K++],K=K%$;if(X=(X+1)%$,X===W)W=(W+1)%$;if(J-N<Y)return;let U=z&&J-z;return U?Math.round(_*1000/U):void 0}}var o4;var s4=O(()=>{o4=C6});function T6($,Y){let G=0,Q=1000/Y,X,W,N=(J,z=Date.now())=>{if(G=z,X=null,W)clearTimeout(W),W=null;$(...J)};return[(...J)=>{let z=Date.now(),K=z-G;if(K>=Q)N(J,z);else if(X=J,!W)W=setTimeout(()=>{W=null,N(X)},Q-K)},()=>X&&N(X)]}var e4;var r4=O(()=>{e4=T6});var W0=($,Y,G=3)=>{let Q=0,X=o4(50,250);return e4((W)=>{let N=W.loaded,Z=W.lengthComputable?W.total:void 0,V=N-Q,J=X(V),z=N<=Z;Q=N;let K={loaded:N,total:Z,progress:Z?N/Z:void 0,bytes:V,rate:J?J:void 0,estimated:J&&Z&&z?(Z-N)/J:void 0,event:W,lengthComputable:Z!=null,[Y?"download":"upload"]:!0};$(K)},G)},A0=($,Y)=>{let G=$!=null;return[(Q)=>Y[0]({lengthComputable:G,total:$,loaded:Q}),Y[1]]},k0=($)=>(...Y)=>M.asap(()=>$(...Y));var M1=O(()=>{s4();r4();k()});function g1($){if(!$||typeof $!=="string")return 0;if(!$.startsWith("data:"))return 0;let Y=$.indexOf(",");if(Y<0)return 0;let G=$.slice(5,Y),Q=$.slice(Y+1);if(/;base64/i.test(G)){let{length:W,length:N}=Q;for(let _=0;_<N;_++)if(Q.charCodeAt(_)===37&&_+2<N){let U=Q.charCodeAt(_+1),L=Q.charCodeAt(_+2);if((U>=48&&U<=57||U>=65&&U<=70||U>=97&&U<=102)&&(L>=48&&L<=57||L>=65&&L<=70||L>=97&&L<=102))W-=2,_+=2}let Z=0,V=N-1,J=(_)=>_>=2&&Q.charCodeAt(_-2)===37&&Q.charCodeAt(_-1)===51&&(Q.charCodeAt(_)===68||Q.charCodeAt(_)===100);if(V>=0){if(Q.charCodeAt(V)===61)Z++,V--;else if(J(V))Z++,V-=3}if(Z===1&&V>=0){if(Q.charCodeAt(V)===61)Z++;else if(J(V))Z++}let K=Math.floor(W/4)*3-(Z||0);return K>0?K:0}return Buffer.byteLength(Q,"utf8")}var $2=()=>{};import R6 from"http";import D6 from"https";import Z2 from"http2";import M2 from"util";import B0 from"zlib";import K0 from"stream";import{EventEmitter as S6}from"events";class V2{constructor(){this.sessions=Object.create(null)}getSession($,Y){Y=Object.assign({sessionTimeout:1000},Y);let G=this.sessions[$];if(G){let J=G.length;for(let z=0;z<J;z++){let[K,_]=G[z];if(!K.destroyed&&!K.closed&&M2.isDeepStrictEqual(_,Y))return K}}let Q=Z2.connect($,Y),X,W=()=>{if(X)return;X=!0;let J=G,z=J.length,K=z;while(K--)if(J[K][0]===Q){if(z===1)delete this.sessions[$];else J.splice(K,1);if(!Q.closed)Q.close();return}},N=Q.request,{sessionTimeout:Z}=Y;if(Z!=null){let J,z=0;Q.request=function(){let K=N.apply(this,arguments);if(z++,J)clearTimeout(J),J=null;return K.once("close",()=>{if(!--z)J=setTimeout(()=>{J=null,W()},Z)}),K}}Q.once("close",W);let V=[Q,Y];return G?G.push(V):G=this.sessions[$]=[V],Q}}function x6($,Y){if($.beforeRedirects.proxy)$.beforeRedirects.proxy($);if($.beforeRedirects.config)$.beforeRedirects.config($,Y)}function z2($,Y,G){let Q=Y;if(!Q&&Q!==!1){let X=W2(G);if(X)Q=new URL(X)}if(Q){if(Q.username)Q.auth=(Q.username||"")+":"+(Q.password||"");if(Q.auth){if(Boolean(Q.auth.username||Q.auth.password))Q.auth=(Q.auth.username||"")+":"+(Q.auth.password||"");else if(typeof Q.auth==="object")throw new H("Invalid proxy authorization",H.ERR_BAD_OPTION,{proxy:Q});let N=Buffer.from(Q.auth,"utf8").toString("base64");$.headers["Proxy-Authorization"]="Basic "+N}$.headers.host=$.hostname+($.port?":"+$.port:"");let X=Q.hostname||Q.host;if($.hostname=X,$.host=X,$.port=Q.port,$.path=G,Q.protocol)$.protocol=Q.protocol.includes(":")?Q.protocol:`${Q.protocol}:`}$.beforeRedirects.proxy=function(W){z2(W,Y,W.href)}}var J2,Y2,w6,G2,A6,k6,E6,Q2,X2=($,[Y,G])=>{return $.on("end",G).on("error",G),Y},q6,j6,v6=($)=>{return new Promise((Y,G)=>{let Q,X,W=(V,J)=>{if(X)return;X=!0,Q&&Q(V,J)},N=(V)=>{W(V),Y(V)},Z=(V)=>{W(V,!0),G(V)};$(N,Z,(V)=>Q=V).catch(Z)})},y6=({address:$,family:Y})=>{if(!M.isString($))throw TypeError("address must be a string");return{address:$,family:Y||($.indexOf(".")<0?6:4)}},N2=($,Y)=>y6(M.isObject($)?$:{address:$,family:Y}),b6,L2;var K2=O(()=>{k();X1();N1();$1();I6();W1();b0();i();O0();r();h4();G0();g4();d4();m1();i4();a4();M1();$2();J2=K4(F6(),1),Y2={flush:B0.constants.Z_SYNC_FLUSH,finishFlush:B0.constants.Z_SYNC_FLUSH},w6={flush:B0.constants.BROTLI_OPERATION_FLUSH,finishFlush:B0.constants.BROTLI_OPERATION_FLUSH},G2=M.isFunction(B0.createBrotliDecompress),{http:A6,https:k6}=J2.default,E6=/https:?/,Q2=F.protocols.map(($)=>{return $+":"});q6=new V2;j6=typeof process<"u"&&M.kindOf(process)==="process",b6={request($,Y){let G=$.protocol+"//"+$.hostname+":"+($.port||($.protocol==="https:"?443:80)),{http2Options:Q,headers:X}=$,W=q6.getSession(G,Q),{HTTP2_HEADER_SCHEME:N,HTTP2_HEADER_METHOD:Z,HTTP2_HEADER_PATH:V,HTTP2_HEADER_STATUS:J}=Z2.constants,z={[N]:$.protocol.replace(":",""),[Z]:$.method,[V]:$.path};M.forEach(X,(_,U)=>{U.charAt(0)!==":"&&(z[U]=_)});let K=W.request(z);return K.once("response",(_)=>{let U=K;_=Object.assign({},_);let L=_[J];delete _[J],U.headers=_,U.statusCode=+L,Y(U)}),K}},L2=j6&&function(Y){return v6(async function(Q,X,W){let{data:N,lookup:Z,family:V,httpVersion:J=1,http2Options:z}=Y,{responseType:K,responseEncoding:_}=Y,U=Y.method.toUpperCase(),L,T=!1,B;if(J=+J,Number.isNaN(J))throw TypeError(`Invalid protocol version: '${Y.httpVersion}' is not a number`);if(J!==1&&J!==2)throw TypeError(`Unsupported protocol version '${J}'`);let w=J===2;if(Z){let I=t4(Z,(C)=>M.isArray(C)?C:[C]);Z=(C,A,n)=>{I(C,A,(j,s,V0)=>{if(j)return n(j);let d=M.isArray(s)?s.map((t0)=>N2(t0)):[N2(s,V0)];A.all?n(j,d):n(j,d[0].address,d[0].family)})}}let q=new S6;function R(I){try{q.emit("abort",!I||I.type?new t(null,Y,B):I)}catch(C){console.warn("emit error",C)}}q.once("abort",X);let y=()=>{if(Y.cancelToken)Y.cancelToken.unsubscribe(R);if(Y.signal)Y.signal.removeEventListener("abort",R);q.removeAllListeners()};if(Y.cancelToken||Y.signal){if(Y.cancelToken&&Y.cancelToken.subscribe(R),Y.signal)Y.signal.aborted?R():Y.signal.addEventListener("abort",R)}W((I,C)=>{if(L=!0,C){T=!0,y();return}let{data:A}=I;if(A instanceof K0.Readable||A instanceof K0.Duplex){let n=K0.finished(A,()=>{n(),y()})}else y()});let c=C0(Y.baseURL,Y.url,Y.allowAbsoluteUrls),x=new URL(c,F.hasBrowserEnv?F.origin:void 0),b=x.protocol||Q2[0];if(b==="data:"){if(Y.maxContentLength>-1){let C=String(Y.url||c||"");if(g1(C)>Y.maxContentLength)return X(new H("maxContentLength size of "+Y.maxContentLength+" exceeded",H.ERR_BAD_RESPONSE,Y))}let I;if(U!=="GET")return Q0(Q,X,{status:405,statusText:"method not allowed",headers:{},config:Y});try{I=b1(Y.url,K==="blob",{Blob:Y.env&&Y.env.Blob})}catch(C){throw H.from(C,H.ERR_BAD_REQUEST,Y)}if(K==="text"){if(I=I.toString(_),!_||_==="utf8")I=M.stripBOM(I)}else if(K==="stream")I=K0.Readable.from(I);return Q0(Q,X,{data:I,status:200,statusText:"OK",headers:new E,config:Y})}if(Q2.indexOf(b)===-1)return X(new H("Unsupported protocol "+b,H.ERR_BAD_REQUEST,Y));let f=E.from(Y.headers).normalize();f.set("User-Agent","axios/"+T0,!1);let{onUploadProgress:M0,onDownloadProgress:F0}=Y,_0=Y.maxRate,X0=void 0,Y0=void 0;if(M.isSpecCompliantForm(N)){let I=f.getContentType(/boundary=([-_\w\d]{10,70})/i);N=l4(N,(C)=>{f.set(C)},{tag:`axios-${T0}-boundary`,boundary:I&&I[1]||void 0})}else if(M.isFormData(N)&&M.isFunction(N.getHeaders)){if(f.set(N.getHeaders()),!f.hasContentLength())try{let I=await M2.promisify(N.getLength).call(N);Number.isFinite(I)&&I>=0&&f.setContentLength(I)}catch(I){}}else if(M.isBlob(N)||M.isFile(N))N.size&&f.setContentType(N.type||"application/octet-stream"),f.setContentLength(N.size||0),N=K0.Readable.from(Z1(N));else if(N&&!M.isStream(N)){if(Buffer.isBuffer(N));else if(M.isArrayBuffer(N))N=Buffer.from(new Uint8Array(N));else if(M.isString(N))N=Buffer.from(N,"utf-8");else return X(new H("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",H.ERR_BAD_REQUEST,Y));if(f.setContentLength(N.length,!1),Y.maxBodyLength>-1&&N.length>Y.maxBodyLength)return X(new H("Request body larger than maxBodyLength limit",H.ERR_BAD_REQUEST,Y))}let N0=M.toFiniteNumber(f.getContentLength());if(M.isArray(_0))X0=_0[0],Y0=_0[1];else X0=Y0=_0;if(N&&(M0||X0)){if(!M.isStream(N))N=K0.Readable.from(N,{objectMode:!1});N=K0.pipeline([N,new h1({maxRate:M.toFiniteNumber(X0)})],M.noop),M0&&N.on("progress",X2(N,A0(N0,W0(k0(M0),!1,3))))}let J0=void 0;if(Y.auth){let I=Y.auth.username||"",C=Y.auth.password||"";J0=I+":"+C}if(!J0&&x.username){let{username:I,password:C}=x;J0=I+":"+C}J0&&f.delete("authorization");let h;try{h=U0(x.pathname+x.search,Y.params,Y.paramsSerializer).replace(/^\?/,"")}catch(I){let C=Error(I.message);return C.config=Y,C.url=Y.url,C.exists=!0,X(C)}f.set("Accept-Encoding","gzip, compress, deflate"+(G2?", br":""),!1);let m={path:h,method:U,headers:f.toJSON(),agents:{http:Y.httpAgent,https:Y.httpsAgent},auth:J0,protocol:b,family:V,beforeRedirect:x6,beforeRedirects:{},http2Options:z};if(!M.isUndefined(Z)&&(m.lookup=Z),Y.socketPath)m.socketPath=Y.socketPath;else m.hostname=x.hostname.startsWith("[")?x.hostname.slice(1,-1):x.hostname,m.port=x.port,z2(m,Y.proxy,b+"//"+x.hostname+(x.port?":"+x.port:"")+m.path);let l,R0=E6.test(m.protocol);if(m.agent=R0?Y.httpsAgent:Y.httpAgent,w)l=b6;else if(Y.transport)l=Y.transport;else if(Y.maxRedirects===0)l=R0?D6:R6;else{if(Y.maxRedirects)m.maxRedirects=Y.maxRedirects;if(Y.beforeRedirect)m.beforeRedirects.config=Y.beforeRedirect;l=R0?k6:A6}if(Y.maxBodyLength>-1)m.maxBodyLength=Y.maxBodyLength;else m.maxBodyLength=1/0;if(Y.insecureHTTPParser)m.insecureHTTPParser=Y.insecureHTTPParser;if(B=l.request(m,function(C){if(B.destroyed)return;let A=[C],n=M.toFiniteNumber(C.headers["content-length"]);if(F0||Y0){let d=new h1({maxRate:M.toFiniteNumber(Y0)});F0&&d.on("progress",X2(d,A0(n,W0(k0(F0),!0,3)))),A.push(d)}let j=C,s=C.req||B;if(Y.decompress!==!1&&C.headers["content-encoding"]){if(U==="HEAD"||C.statusCode===204)delete C.headers["content-encoding"];switch((C.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":A.push(B0.createUnzip(Y2)),delete C.headers["content-encoding"];break;case"deflate":A.push(new n4),A.push(B0.createUnzip(Y2)),delete C.headers["content-encoding"];break;case"br":if(G2)A.push(B0.createBrotliDecompress(w6)),delete C.headers["content-encoding"]}}j=A.length>1?K0.pipeline(A,M.noop):A[0];let V0={status:C.statusCode,statusText:C.statusMessage,headers:new E(C.headers),config:Y,request:s};if(K==="stream")V0.data=j,Q0(Q,X,V0);else{let d=[],t0=0;j.on("data",function(g){if(d.push(g),t0+=g.length,Y.maxContentLength>-1&&t0>Y.maxContentLength)T=!0,j.destroy(),R(new H("maxContentLength size of "+Y.maxContentLength+" exceeded",H.ERR_BAD_RESPONSE,Y,s))}),j.on("aborted",function(){if(T)return;let g=new H("stream has been aborted",H.ERR_BAD_RESPONSE,Y,s);j.destroy(g),X(g)}),j.on("error",function(g){if(B.destroyed)return;X(H.from(g,null,Y,s))}),j.on("end",function(){try{let g=d.length===1?d[0]:Buffer.concat(d);if(K!=="arraybuffer"){if(g=g.toString(_),!_||_==="utf8")g=M.stripBOM(g)}V0.data=g}catch(g){return X(H.from(g,null,Y,V0.request,V0))}Q0(Q,X,V0)})}q.once("abort",(d)=>{if(!j.destroyed)j.emit("error",d),j.destroy()})}),q.once("abort",(I)=>{if(B.close)B.close();else B.destroy(I)}),B.on("error",function(C){X(H.from(C,null,Y,B))}),B.on("socket",function(C){C.setKeepAlive(!0,60000)}),Y.timeout){let I=parseInt(Y.timeout,10);if(Number.isNaN(I)){R(new H("error trying to parse `config.timeout` to int",H.ERR_BAD_OPTION_VALUE,Y,B));return}B.setTimeout(I,function(){if(L)return;let A=Y.timeout?"timeout of "+Y.timeout+"ms exceeded":"timeout exceeded",n=Y.transitional||L0;if(Y.timeoutErrorMessage)A=Y.timeoutErrorMessage;R(new H(A,n.clarifyTimeoutError?H.ETIMEDOUT:H.ECONNABORTED,Y,B))})}else B.setTimeout(0);if(M.isStream(N)){let I=!1,C=!1;N.on("end",()=>{I=!0}),N.once("error",(A)=>{C=!0,B.destroy(A)}),N.on("close",()=>{if(!I&&!C)R(new t("Request stream has been aborted",Y,B))}),N.pipe(B)}else N&&B.write(N),B.end()})}});var B2;var H2=O(()=>{r();B2=F.hasStandardBrowserEnv?(($,Y)=>(G)=>{return G=new URL(G,F.origin),$.protocol===G.protocol&&$.host===G.host&&(Y||$.port===G.port)})(new URL(F.origin),F.navigator&&/(msie|trident)/i.test(F.navigator.userAgent)):()=>!0});var _2;var P2=O(()=>{k();r();_2=F.hasStandardBrowserEnv?{write($,Y,G,Q,X,W,N){if(typeof document>"u")return;let Z=[`${$}=${encodeURIComponent(Y)}`];if(M.isNumber(G))Z.push(`expires=${new Date(G).toUTCString()}`);if(M.isString(Q))Z.push(`path=${Q}`);if(M.isString(X))Z.push(`domain=${X}`);if(W===!0)Z.push("secure");if(M.isString(N))Z.push(`SameSite=${N}`);document.cookie=Z.join("; ")},read($){if(typeof document>"u")return null;let Y=document.cookie.match(new RegExp("(?:^|; )"+$+"=([^;]*)"));return Y?decodeURIComponent(Y[1]):null},remove($){this.write($,"",Date.now()-86400000,"/")}}:{write(){},read(){return null},remove(){}}});function $0($,Y){Y=Y||{};let G={};function Q(J,z,K,_){if(M.isPlainObject(J)&&M.isPlainObject(z))return M.merge.call({caseless:_},J,z);else if(M.isPlainObject(z))return M.merge({},z);else if(M.isArray(z))return z.slice();return z}function X(J,z,K,_){if(!M.isUndefined(z))return Q(J,z,K,_);else if(!M.isUndefined(J))return Q(void 0,J,K,_)}function W(J,z){if(!M.isUndefined(z))return Q(void 0,z)}function N(J,z){if(!M.isUndefined(z))return Q(void 0,z);else if(!M.isUndefined(J))return Q(void 0,J)}function Z(J,z,K){if(K in Y)return Q(J,z);else if(K in $)return Q(void 0,J)}let V={url:W,method:W,data:W,baseURL:N,transformRequest:N,transformResponse:N,paramsSerializer:N,timeout:N,timeoutMessage:N,withCredentials:N,withXSRFToken:N,adapter:N,responseType:N,xsrfCookieName:N,xsrfHeaderName:N,onUploadProgress:N,onDownloadProgress:N,decompress:N,maxContentLength:N,maxBodyLength:N,beforeRedirect:N,transport:N,httpAgent:N,httpsAgent:N,cancelToken:N,socketPath:N,responseEncoding:N,validateStatus:Z,headers:(J,z,K)=>X(U2(J),U2(z),K,!0)};return M.forEach(Object.keys({...$,...Y}),function(z){if(z==="__proto__"||z==="constructor"||z==="prototype")return;let K=M.hasOwnProp(V,z)?V[z]:X,_=K($[z],Y[z],z);M.isUndefined(_)&&K!==Z||(G[z]=_)}),G}var U2=($)=>$ instanceof E?{...$}:$;var J1=O(()=>{k();G0()});var V1=($)=>{let Y=$0({},$),{data:G,withXSRFToken:Q,xsrfHeaderName:X,xsrfCookieName:W,headers:N,auth:Z}=Y;if(Y.headers=N=E.from(N),Y.url=U0(C0(Y.baseURL,Y.url,Y.allowAbsoluteUrls),$.params,$.paramsSerializer),Z)N.set("Authorization","Basic "+btoa((Z.username||"")+":"+(Z.password?unescape(encodeURIComponent(Z.password)):"")));if(M.isFormData(G)){if(F.hasStandardBrowserEnv||F.hasStandardBrowserWebWorkerEnv)N.setContentType(void 0);else if(M.isFunction(G.getHeaders)){let V=G.getHeaders(),J=["content-type","content-length"];Object.entries(V).forEach(([z,K])=>{if(J.includes(z.toLowerCase()))N.set(z,K)})}}if(F.hasStandardBrowserEnv){if(Q&&M.isFunction(Q)&&(Q=Q(Y)),Q||Q!==!1&&B2(Y.url)){let V=X&&W&&_2.read(W);if(V)N.set(X,V)}}return Y};var u1=O(()=>{r();k();H2();P2();N1();J1();G0();$1()});var f6,O2;var C2=O(()=>{k();X1();b0();i();O0();y1();r();G0();M1();u1();f6=typeof XMLHttpRequest<"u",O2=f6&&function($){return new Promise(function(G,Q){let X=V1($),W=X.data,N=E.from(X.headers).normalize(),{responseType:Z,onUploadProgress:V,onDownloadProgress:J}=X,z,K,_,U,L;function T(){U&&U(),L&&L(),X.cancelToken&&X.cancelToken.unsubscribe(z),X.signal&&X.signal.removeEventListener("abort",z)}let B=new XMLHttpRequest;B.open(X.method.toUpperCase(),X.url,!0),B.timeout=X.timeout;function w(){if(!B)return;let R=E.from("getAllResponseHeaders"in B&&B.getAllResponseHeaders()),c={data:!Z||Z==="text"||Z==="json"?B.responseText:B.response,status:B.status,statusText:B.statusText,headers:R,config:$,request:B};Q0(function(b){G(b),T()},function(b){Q(b),T()},c),B=null}if("onloadend"in B)B.onloadend=w;else B.onreadystatechange=function(){if(!B||B.readyState!==4)return;if(B.status===0&&!(B.responseURL&&B.responseURL.indexOf("file:")===0))return;setTimeout(w)};if(B.onabort=function(){if(!B)return;Q(new H("Request aborted",H.ECONNABORTED,$,B)),B=null},B.onerror=function(y){let c=y&&y.message?y.message:"Network Error",x=new H(c,H.ERR_NETWORK,$,B);x.event=y||null,Q(x),B=null},B.ontimeout=function(){let y=X.timeout?"timeout of "+X.timeout+"ms exceeded":"timeout exceeded",c=X.transitional||L0;if(X.timeoutErrorMessage)y=X.timeoutErrorMessage;Q(new H(y,c.clarifyTimeoutError?H.ETIMEDOUT:H.ECONNABORTED,$,B)),B=null},W===void 0&&N.setContentType(null),"setRequestHeader"in B)M.forEach(N.toJSON(),function(y,c){B.setRequestHeader(c,y)});if(!M.isUndefined(X.withCredentials))B.withCredentials=!!X.withCredentials;if(Z&&Z!=="json")B.responseType=X.responseType;if(J)[_,L]=W0(J,!0),B.addEventListener("progress",_);if(V&&B.upload)[K,U]=W0(V),B.upload.addEventListener("progress",K),B.upload.addEventListener("loadend",U);if(X.cancelToken||X.signal){if(z=(R)=>{if(!B)return;Q(!R||R.type?new t(null,$,B):R),B.abort(),B=null},X.cancelToken&&X.cancelToken.subscribe(z),X.signal)X.signal.aborted?z():X.signal.addEventListener("abort",z)}let q=u0(X.url);if(q&&F.protocols.indexOf(q)===-1){Q(new H("Unsupported protocol "+q+":",H.ERR_BAD_REQUEST,$));return}B.send(W||null)})}});var h6=($,Y)=>{let{length:G}=$=$?$.filter(Boolean):[];if(Y||G){let Q=new AbortController,X,W=function(J){if(!X){X=!0,Z();let z=J instanceof Error?J:this.reason;Q.abort(z instanceof H?z:new t(z instanceof Error?z.message:z))}},N=Y&&setTimeout(()=>{N=null,W(new H(`timeout of ${Y}ms exceeded`,H.ETIMEDOUT))},Y),Z=()=>{if($)N&&clearTimeout(N),N=null,$.forEach((J)=>{J.unsubscribe?J.unsubscribe(W):J.removeEventListener("abort",W)}),$=null};$.forEach((J)=>J.addEventListener("abort",W));let{signal:V}=Q;return V.unsubscribe=()=>M.asap(Z),V}},T2;var I2=O(()=>{O0();i();k();T2=h6});var m6=function*($,Y){let G=$.byteLength;if(!Y||G<Y){yield $;return}let Q=0,X;while(Q<G)X=Q+Y,yield $.slice(Q,X),Q=X},g6=async function*($,Y){for await(let G of u6($))yield*m6(G,Y)},u6=async function*($){if($[Symbol.asyncIterator]){yield*$;return}let Y=$.getReader();try{for(;;){let{done:G,value:Q}=await Y.read();if(G)break;yield Q}}finally{await Y.cancel()}},c1=($,Y,G,Q)=>{let X=g6($,Y),W=0,N,Z=(V)=>{if(!N)N=!0,Q&&Q(V)};return new ReadableStream({async pull(V){try{let{done:J,value:z}=await X.next();if(J){Z(),V.close();return}let K=z.byteLength;if(G){let _=W+=K;G(_)}V.enqueue(new Uint8Array(z))}catch(J){throw Z(J),J}},cancel(V){return Z(V),X.return()}},{highWaterMark:2})};var F2=()=>{};var R2=65536,z1,c6,D2,S2,w2=($,...Y)=>{try{return!!$(...Y)}catch(G){return!1}},l6=($)=>{$=M.merge.call({skipUndefined:!0},c6,$);let{fetch:Y,Request:G,Response:Q}=$,X=Y?z1(Y):typeof fetch==="function",W=z1(G),N=z1(Q);if(!X)return!1;let Z=X&&z1(D2),V=X&&(typeof S2==="function"?((L)=>(T)=>L.encode(T))(new S2):async(L)=>new Uint8Array(await new G(L).arrayBuffer())),J=W&&Z&&w2(()=>{let L=!1,T=new D2,B=new G(F.origin,{body:T,method:"POST",get duplex(){return L=!0,"half"}}).headers.has("Content-Type");return T.cancel(),L&&!B}),z=N&&Z&&w2(()=>M.isReadableStream(new Q("").body)),K={stream:z&&((L)=>L.body)};X&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((L)=>{!K[L]&&(K[L]=(T,B)=>{let w=T&&T[L];if(w)return w.call(T);throw new H(`Response type '${L}' is not supported`,H.ERR_NOT_SUPPORT,B)})})})();let _=async(L)=>{if(L==null)return 0;if(M.isBlob(L))return L.size;if(M.isSpecCompliantForm(L))return(await new G(F.origin,{method:"POST",body:L}).arrayBuffer()).byteLength;if(M.isArrayBufferView(L)||M.isArrayBuffer(L))return L.byteLength;if(M.isURLSearchParams(L))L=L+"";if(M.isString(L))return(await V(L)).byteLength},U=async(L,T)=>{let B=M.toFiniteNumber(L.getContentLength());return B==null?_(T):B};return async(L)=>{let{url:T,method:B,data:w,signal:q,cancelToken:R,timeout:y,onDownloadProgress:c,onUploadProgress:x,responseType:b,headers:f,withCredentials:M0="same-origin",fetchOptions:F0}=V1(L),_0=Y||fetch;b=b?(b+"").toLowerCase():"text";let X0=T2([q,R&&R.toAbortSignal()],y),Y0=null,N0=X0&&X0.unsubscribe&&(()=>{X0.unsubscribe()}),J0;try{if(x&&J&&B!=="get"&&B!=="head"&&(J0=await U(f,w))!==0){let C=new G(T,{method:"POST",body:w,duplex:"half"}),A;if(M.isFormData(w)&&(A=C.headers.get("content-type")))f.setContentType(A);if(C.body){let[n,j]=A0(J0,W0(k0(x)));w=c1(C.body,R2,n,j)}}if(!M.isString(M0))M0=M0?"include":"omit";let h=W&&"credentials"in G.prototype,m={...F0,signal:X0,method:B.toUpperCase(),headers:f.normalize().toJSON(),body:w,duplex:"half",credentials:h?M0:void 0};Y0=W&&new G(T,m);let l=await(W?_0(Y0,F0):_0(T,m)),R0=z&&(b==="stream"||b==="response");if(z&&(c||R0&&N0)){let C={};["status","statusText","headers"].forEach((s)=>{C[s]=l[s]});let A=M.toFiniteNumber(l.headers.get("content-length")),[n,j]=c&&A0(A,W0(k0(c),!0))||[];l=new Q(c1(l.body,R2,n,()=>{j&&j(),N0&&N0()}),C)}b=b||"text";let I=await K[M.findKey(K,b)||"text"](l,L);return!R0&&N0&&N0(),await new Promise((C,A)=>{Q0(C,A,{data:I,headers:E.from(l.headers),status:l.status,statusText:l.statusText,config:L,request:Y0})})}catch(h){if(N0&&N0(),h&&h.name==="TypeError"&&/Load failed|fetch/i.test(h.message))throw Object.assign(new H("Network Error",H.ERR_NETWORK,L,Y0,h&&h.response),{cause:h.cause||h});throw H.from(h,h&&h.code,L,Y0,h&&h.response)}}},d6,l1=($)=>{let Y=$&&$.env||{},{fetch:G,Request:Q,Response:X}=Y,W=[Q,X,G],N=W.length,Z=N,V,J,z=d6;while(Z--)V=W[Z],J=z.get(V),J===void 0&&z.set(V,J=Z?new Map:l6(Y)),z=J;return J},dY;var A2=O(()=>{r();k();i();I2();F2();G0();M1();u1();X1();({isFunction:z1}=M),c6=(({Request:$,Response:Y})=>({Request:$,Response:Y}))(M.global),{ReadableStream:D2,TextEncoder:S2}=M.global,d6=new Map,dY=l1()});function i6($,Y){$=M.isArray($)?$:[$];let{length:G}=$,Q,X,W={};for(let N=0;N<G;N++){Q=$[N];let Z;if(X=Q,!n6(Q)){if(X=d1[(Z=String(Q)).toLowerCase()],X===void 0)throw new H(`Unknown adapter '${Z}'`)}if(X&&(M.isFunction(X)||(X=X.get(Y))))break;W[Z||"#"+N]=X}if(!X){let N=Object.entries(W).map(([V,J])=>`adapter ${V} `+(J===!1?"is not supported by the environment":"is not available in the build")),Z=G?N.length>1?`since :
5
+ `+N.map(k2).join(`
6
+ `):" "+k2(N[0]):"as no adapter specified";throw new H("There is no suitable adapter to dispatch the request "+Z,"ERR_NOT_SUPPORT")}return X}var d1,k2=($)=>`- ${$}`,n6=($)=>M.isFunction($)||$===null||$===!1,L1;var p1=O(()=>{k();K2();C2();A2();i();d1={http:L2,xhr:O2,fetch:{get:l1}};M.forEach(d1,($,Y)=>{if($){try{Object.defineProperty($,"name",{value:Y})}catch(G){}Object.defineProperty($,"adapterName",{value:Y})}});L1={getAdapter:i6,adapters:d1}});function n1($){if($.cancelToken)$.cancelToken.throwIfRequested();if($.signal&&$.signal.aborted)throw new t(null,$)}function K1($){if(n1($),$.headers=E.from($.headers),$.data=m0.call($,$.transformRequest),["post","put","patch"].indexOf($.method)!==-1)$.headers.setContentType("application/x-www-form-urlencoded",!1);return L1.getAdapter($.adapter||w0.adapter,$)($).then(function(Q){return n1($),Q.data=m0.call($,$.transformResponse,Q),Q.headers=E.from(Q.headers),Q},function(Q){if(!g0(Q)){if(n1($),Q&&Q.response)Q.response.data=m0.call($,$.transformResponse,Q.response),Q.response.headers=E.from(Q.response.headers)}return Promise.reject(Q)})}var E2=O(()=>{v4();x1();G1();O0();G0();p1()});function t6($,Y,G){if(typeof $!=="object")throw new H("options must be an object",H.ERR_BAD_OPTION_VALUE);let Q=Object.keys($),X=Q.length;while(X-- >0){let W=Q[X],N=Y[W];if(N){let Z=$[W],V=Z===void 0||N(Z,W,$);if(V!==!0)throw new H("option "+W+" must be "+V,H.ERR_BAD_OPTION_VALUE);continue}if(G!==!0)throw new H("Unknown option "+W,H.ERR_BAD_OPTION)}}var B1,q2,l0;var x2=O(()=>{W1();i();B1={};["object","boolean","number","function","string","symbol"].forEach(($,Y)=>{B1[$]=function(Q){return typeof Q===$||"a"+(Y<1?"n ":" ")+$}});q2={};B1.transitional=function(Y,G,Q){function X(W,N){return"[Axios v"+T0+"] Transitional option '"+W+"'"+N+(Q?". "+Q:"")}return(W,N,Z)=>{if(Y===!1)throw new H(X(N," has been removed"+(G?" in "+G:"")),H.ERR_DEPRECATED);if(G&&!q2[N])q2[N]=!0,console.warn(X(N," has been deprecated since v"+G+" and will be removed in the near future"));return Y?Y(W,N,Z):!0}};B1.spelling=function(Y){return(G,Q)=>{return console.warn(`${Q} is likely a misspelling of ${Y}`),!0}};l0={assertOptions:t6,validators:B1}});class d0{constructor($){this.defaults=$||{},this.interceptors={request:new F1,response:new F1}}async request($,Y){try{return await this._request($,Y)}catch(G){if(G instanceof Error){let Q={};Error.captureStackTrace?Error.captureStackTrace(Q):Q=Error();let X=Q.stack?Q.stack.replace(/^.+\n/,""):"";try{if(!G.stack)G.stack=X;else if(X&&!String(G.stack).endsWith(X.replace(/^.+\n.+\n/,"")))G.stack+=`
7
+ `+X}catch(W){}}throw G}}_request($,Y){if(typeof $==="string")Y=Y||{},Y.url=$;else Y=$||{};Y=$0(this.defaults,Y);let{transitional:G,paramsSerializer:Q,headers:X}=Y;if(G!==void 0)l0.assertOptions(G,{silentJSONParsing:a.transitional(a.boolean),forcedJSONParsing:a.transitional(a.boolean),clarifyTimeoutError:a.transitional(a.boolean),legacyInterceptorReqResOrdering:a.transitional(a.boolean)},!1);if(Q!=null)if(M.isFunction(Q))Y.paramsSerializer={serialize:Q};else l0.assertOptions(Q,{encode:a.function,serialize:a.function},!0);if(Y.allowAbsoluteUrls!==void 0);else if(this.defaults.allowAbsoluteUrls!==void 0)Y.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls;else Y.allowAbsoluteUrls=!0;l0.assertOptions(Y,{baseUrl:a.spelling("baseURL"),withXsrfToken:a.spelling("withXSRFToken")},!0),Y.method=(Y.method||this.defaults.method||"get").toLowerCase();let W=X&&M.merge(X.common,X[Y.method]);X&&M.forEach(["delete","get","head","post","put","patch","common"],(U)=>{delete X[U]}),Y.headers=E.concat(W,X);let N=[],Z=!0;this.interceptors.request.forEach(function(L){if(typeof L.runWhen==="function"&&L.runWhen(Y)===!1)return;Z=Z&&L.synchronous;let T=Y.transitional||L0;if(T&&T.legacyInterceptorReqResOrdering)N.unshift(L.fulfilled,L.rejected);else N.push(L.fulfilled,L.rejected)});let V=[];this.interceptors.response.forEach(function(L){V.push(L.fulfilled,L.rejected)});let J,z=0,K;if(!Z){let U=[K1.bind(this),void 0];U.unshift(...N),U.push(...V),K=U.length,J=Promise.resolve(Y);while(z<K)J=J.then(U[z++],U[z++]);return J}K=N.length;let _=Y;while(z<K){let U=N[z++],L=N[z++];try{_=U(_)}catch(T){L.call(this,T);break}}try{J=K1.call(this,_)}catch(U){return Promise.reject(U)}z=0,K=V.length;while(z<K)J=J.then(V[z++],V[z++]);return J}getUri($){$=$0(this.defaults,$);let Y=C0($.baseURL,$.url,$.allowAbsoluteUrls);return U0(Y,$.params,$.paramsSerializer)}}var a,p0;var j2=O(()=>{k();$1();I4();E2();J1();N1();x2();G0();b0();a=l0.validators;M.forEach(["delete","get","head","options"],function(Y){d0.prototype[Y]=function(G,Q){return this.request($0(Q||{},{method:Y,url:G,data:(Q||{}).data}))}});M.forEach(["post","put","patch"],function(Y){function G(Q){return function(W,N,Z){return this.request($0(Z||{},{method:Y,headers:Q?{"Content-Type":"multipart/form-data"}:{},url:W,data:N}))}}d0.prototype[Y]=G(),d0.prototype[Y+"Form"]=G(!0)});p0=d0});class i1{constructor($){if(typeof $!=="function")throw TypeError("executor must be a function.");let Y;this.promise=new Promise(function(X){Y=X});let G=this;this.promise.then((Q)=>{if(!G._listeners)return;let X=G._listeners.length;while(X-- >0)G._listeners[X](Q);G._listeners=null}),this.promise.then=(Q)=>{let X,W=new Promise((N)=>{G.subscribe(N),X=N}).then(Q);return W.cancel=function(){G.unsubscribe(X)},W},$(function(X,W,N){if(G.reason)return;G.reason=new t(X,W,N),Y(G.reason)})}throwIfRequested(){if(this.reason)throw this.reason}subscribe($){if(this.reason){$(this.reason);return}if(this._listeners)this._listeners.push($);else this._listeners=[$]}unsubscribe($){if(!this._listeners)return;let Y=this._listeners.indexOf($);if(Y!==-1)this._listeners.splice(Y,1)}toAbortSignal(){let $=new AbortController,Y=(G)=>{$.abort(G)};return this.subscribe(Y),$.signal.unsubscribe=()=>this.unsubscribe(Y),$.signal}static source(){let $;return{token:new i1(function(Q){$=Q}),cancel:$}}}var v2;var y2=O(()=>{O0();v2=i1});function t1($){return function(G){return $.apply(null,G)}}var b2=()=>{};function a1($){return M.isObject($)&&$.isAxiosError===!0}var f2=O(()=>{k()});var o1,h2;var m2=O(()=>{o1={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(o1).forEach(([$,Y])=>{o1[Y]=$});h2=o1});function g2($){let Y=new p0($),G=q0(p0.prototype.request,Y);return M.extend(G,p0.prototype,Y,{allOwnKeys:!0}),M.extend(G,Y,null,{allOwnKeys:!0}),G.create=function(X){return g2($0($,X))},G}var v,Z0;var u2=O(()=>{k();P1();j2();J1();G1();k1();O0();y2();x1();W1();y0();i();b2();f2();G0();p1();m2();v=g2(w0);v.Axios=p0;v.CanceledError=t;v.CancelToken=v2;v.isCancel=g0;v.VERSION=T0;v.toFormData=z0;v.AxiosError=H;v.Cancel=v.CanceledError;v.all=function(Y){return Promise.all(Y)};v.spread=t1;v.isAxiosError=a1;v.mergeConfig=$0;v.AxiosHeaders=E;v.formToJSON=($)=>Y1(M.isHTMLForm($)?new FormData($):$);v.getAdapter=L1.getAdapter;v.HttpStatusCode=h2;v.default=v;Z0=v});var u9,H1,c9,l9,d9,p9,n9,i9,t9,a9,o9,s9,e9,r9,$G,YG;var s1=O(()=>{u2();({Axios:u9,AxiosError:H1,CanceledError:c9,isCancel:l9,CancelToken:d9,VERSION:p9,all:n9,Cancel:i9,isAxiosError:t9,spread:a9,toFormData:o9,AxiosHeaders:s9,HttpStatusCode:e9,formToJSON:r9,getAdapter:$G,mergeConfig:YG}=Z0)});import{EventEmitter as h7}from"events";function e6(){try{if(typeof process<"u"&&process.env&&process.env.npm_package_version)return process.env.npm_package_version;return p2()?.version||"3.x.x"}catch{return"3.x.x"}}function n0($){if(!$||typeof $!=="object")return!1;let Y=$,G="_def"in Y&&(typeof Y.safeParse==="function"||typeof Y.parse==="function"),Q="_zod"in Y&&typeof Y._zod==="object";return G||Q}function $7($){if(!$||typeof $!=="object")return!1;return"_zod"in $&&typeof $._zod==="object"}function Y7($){if(!$7($))return null;try{let Y=$.constructor?.prototype?.constructor;if(Y&&typeof Y.toJSONSchema==="function")return Y.toJSONSchema($)}catch{}return null}function o($){if(!n0($))return $;let Y=Y7($);if(Y)return Y;try{return d2($)}catch{return $}}function c2($){if(!$||typeof $!=="object"||Array.isArray($))return!1;let Y=Object.values($);if(Y.length===0)return!1;return Y.some((G)=>G&&typeof G==="object"&&G._def&&typeof G.safeParse==="function")}function G7($){if(!$)return;for(let Y of $){if(typeof Y==="string"){if(Y==="json")throw Error("json format must be an object with { type: 'json', prompt, schema }");continue}if(Y.type==="json"){let G=Y;if(!G.prompt&&!G.schema)throw Error("json format requires either 'prompt' or 'schema' (or both)");let Q=G.schema;if(n0(Q))G.schema=o(Q);else if(c2(Q))throw Error("json format schema appears to be a Zod schema's .shape property. Pass the Zod schema directly (e.g., `schema: MySchema`) instead of `schema: MySchema.shape`. The SDK will automatically convert Zod schemas to JSON Schema format.");continue}if(Y.type==="changeTracking"){let G=Y,Q=G.schema;if(n0(Q))G.schema=o(Q);else if(c2(Q))throw Error("changeTracking format schema appears to be a Zod schema's .shape property. Pass the Zod schema directly (e.g., `schema: MySchema`) instead of `schema: MySchema.shape`. The SDK will automatically convert Zod schemas to JSON Schema format.");continue}if(Y.type==="screenshot"){let G=Y;if(G.quality!=null&&(typeof G.quality!=="number"||G.quality<0))throw Error("screenshot.quality must be a non-negative number")}}}function i0($){if(!$)return;if($.timeout!=null&&$.timeout<=0)throw Error("timeout must be positive");if($.waitFor!=null&&$.waitFor<0)throw Error("waitFor must be non-negative");G7($.formats)}function D($,Y){let G=$.status,Q=$.data||{},X=Q?.error||Q?.message||`Request failed (${G}) while trying to ${Y}`;throw new H0(X,G,void 0,Q?.details)}function S($,Y){let G=$.response?.status,Q=$.response?.data,X=Q?.error||$.message||`Request failed${G?` (${G})`:""} while trying to ${Y}`,W=Q?.code||$.code;throw new H0(X,G,W,Q?.details??Q)}function n2($){if($ instanceof $4)return!1;if($ instanceof H0||$&&typeof $==="object"&&"status"in $){let Y=$.status;if(Y&&Y>=400&&Y<500)return!1;if(Y&&Y>=500)return!0}if($?.isAxiosError&&!$.response)return!0;if($?.code==="ECONNABORTED"||$?.message?.includes("timeout"))return!0;return!0}async function Q7($,Y,G){if(!Y||!Y.trim())throw Error("URL cannot be empty");if(G)i0(G);let Q={url:Y.trim()};if(G)Object.assign(Q,G);try{let X=await $.post("/v2/scrape",Q);if(X.status!==200||!X.data?.success)D(X,"scrape");return X.data.data||{}}catch(X){if(X?.isAxiosError)return S(X,"scrape");throw X}}async function X7($,Y,G){if(!Y||!Y.trim())throw Error("Job ID cannot be empty");let Q=G?.code&&G.code.trim(),X=G?.prompt&&G.prompt.trim();if(!Q&&!X)throw Error("Either 'code' or 'prompt' must be provided");let W={};if(Q)W.code=G.code;if(X)W.prompt=G.prompt;if(W.language=G.language??"node",G.timeout!=null)W.timeout=G.timeout;if(G.origin)W.origin=G.origin;try{let N=await $.post(`/v2/scrape/${Y}/interact`,W);if(N.status!==200)D(N,"interact with scrape browser");return N.data}catch(N){if(N?.isAxiosError)return S(N,"interact with scrape browser");throw N}}async function N7($,Y){if(!Y||!Y.trim())throw Error("Job ID cannot be empty");try{let G=await $.delete(`/v2/scrape/${Y}/interact`);if(G.status!==200)D(G,"stop interaction");return G.data}catch(G){if(G?.isAxiosError)return S(G,"stop interaction");throw G}}function W7($){if(!$.query||!$.query.trim())throw Error("Query cannot be empty");if($.limit!=null&&$.limit<=0)throw Error("limit must be positive");if($.timeout!=null&&$.timeout<=0)throw Error("timeout must be positive");let Y={query:$.query};if($.sources)Y.sources=$.sources;if($.categories)Y.categories=$.categories;if($.limit!=null)Y.limit=$.limit;if($.tbs!=null)Y.tbs=$.tbs;if($.location!=null)Y.location=$.location;if($.ignoreInvalidURLs!=null)Y.ignoreInvalidURLs=$.ignoreInvalidURLs;if($.timeout!=null)Y.timeout=$.timeout;if($.integration&&$.integration.trim())Y.integration=$.integration.trim();if($.origin)Y.origin=$.origin;if($.scrapeOptions)i0($.scrapeOptions),Y.scrapeOptions=$.scrapeOptions;return Y}function e1($){let Y=[];for(let G of $)if(G&&typeof G==="object")if("markdown"in G||"html"in G||"rawHtml"in G||"links"in G||"screenshot"in G||"changeTracking"in G||"summary"in G||"json"in G)Y.push(G);else Y.push(G);else Y.push({url:G});return Y}async function Z7($,Y){let G=W7(Y);try{let Q=await $.post("/v2/search",G);if(Q.status!==200||!Q.data?.success)D(Q,"search");let X=Q.data.data||{},W={};if(X.web)W.web=e1(X.web);if(X.news)W.news=e1(X.news);if(X.images)W.images=e1(X.images);return W}catch(Q){if(Q?.isAxiosError)return S(Q,"search");throw Q}}function M7($,Y){if(!$||!$.trim())throw Error("URL cannot be empty");let G={url:$.trim()};if(Y){if(Y.sitemap!=null)G.sitemap=Y.sitemap;if(Y.search!=null)G.search=Y.search;if(Y.includeSubdomains!=null)G.includeSubdomains=Y.includeSubdomains;if(Y.ignoreQueryParameters!=null)G.ignoreQueryParameters=Y.ignoreQueryParameters;if(Y.limit!=null)G.limit=Y.limit;if(Y.timeout!=null)G.timeout=Y.timeout;if(Y.integration!=null&&Y.integration.trim())G.integration=Y.integration.trim();if(Y.origin)G.origin=Y.origin;if(Y.location!=null)G.location=Y.location}return G}async function J7($,Y,G){let Q=M7(Y,G);try{let X=await $.post("/v2/map",Q);if(X.status!==200||!X.data?.success)D(X,"map");let W=X.data.links||[],N=[];for(let Z of W)if(typeof Z==="string")N.push({url:Z});else if(Z&&typeof Z==="object")N.push({url:Z.url,title:Z.title,description:Z.description});return{links:N}}catch(X){if(X?.isAxiosError)return S(X,"map");throw X}}async function i2($,Y,G,Q){let X=G.slice(),W=Y,N=0,Z=Q?.maxPages??void 0,V=Q?.maxResults??void 0,J=Q?.maxWaitTime??void 0,z=Date.now();while(W){if(Z!=null&&N>=Z)break;if(J!=null&&(Date.now()-z)/1000>J)break;let K=null;try{K=(await $.get(W)).data}catch{break}if(!K?.success)break;for(let _ of K.data||[]){if(V!=null&&X.length>=V)break;X.push(_)}if(V!=null&&X.length>=V)break;W=K.next??null,N+=1}return X}function V7($){if(!$.url||!$.url.trim())throw Error("URL cannot be empty");let Y={url:$.url.trim()};if($.prompt)Y.prompt=$.prompt;if($.excludePaths)Y.excludePaths=$.excludePaths;if($.includePaths)Y.includePaths=$.includePaths;if($.maxDiscoveryDepth!=null)Y.maxDiscoveryDepth=$.maxDiscoveryDepth;if($.sitemap!=null)Y.sitemap=$.sitemap;if($.ignoreQueryParameters!=null)Y.ignoreQueryParameters=$.ignoreQueryParameters;if($.deduplicateSimilarURLs!=null)Y.deduplicateSimilarURLs=$.deduplicateSimilarURLs;if($.limit!=null)Y.limit=$.limit;if($.crawlEntireDomain!=null)Y.crawlEntireDomain=$.crawlEntireDomain;if($.allowExternalLinks!=null)Y.allowExternalLinks=$.allowExternalLinks;if($.allowSubdomains!=null)Y.allowSubdomains=$.allowSubdomains;if($.delay!=null)Y.delay=$.delay;if($.maxConcurrency!=null)Y.maxConcurrency=$.maxConcurrency;if($.regexOnFullURL!=null)Y.regexOnFullURL=$.regexOnFullURL;if($.webhook!=null)Y.webhook=$.webhook;if($.integration!=null&&$.integration.trim())Y.integration=$.integration.trim();if($.origin)Y.origin=$.origin;if($.scrapeOptions)i0($.scrapeOptions),Y.scrapeOptions=$.scrapeOptions;if($.zeroDataRetention!=null)Y.zeroDataRetention=$.zeroDataRetention;return Y}async function t2($,Y){let G=V7(Y);try{let Q=await $.post("/v2/crawl",G);if(Q.status!==200||!Q.data?.success)D(Q,"start crawl");return{id:Q.data.id,url:Q.data.url}}catch(Q){if(Q?.isAxiosError)return S(Q,"start crawl");throw Q}}async function Y4($,Y,G){try{let Q=await $.get(`/v2/crawl/${Y}`);if(Q.status!==200||!Q.data?.success)D(Q,"get crawl status");let X=Q.data,W=X.data||[];if(!(G?.autoPaginate??!0)||!X.next)return{id:Y,status:X.status,completed:X.completed??0,total:X.total??0,creditsUsed:X.creditsUsed,expiresAt:X.expiresAt,next:X.next??null,data:W};let Z=await i2($,X.next,W,G);return{id:Y,status:X.status,completed:X.completed??0,total:X.total??0,creditsUsed:X.creditsUsed,expiresAt:X.expiresAt,next:null,data:Z}}catch(Q){if(Q?.isAxiosError)return S(Q,"get crawl status");throw Q}}async function z7($,Y){try{let G=await $.delete(`/v2/crawl/${Y}`);if(G.status!==200)D(G,"cancel crawl");return G.data?.status==="cancelled"}catch(G){if(G?.isAxiosError)return S(G,"cancel crawl");throw G}}async function L7($,Y,G=2,Q){let X=Date.now();while(!0){try{let W=await Y4($,Y);if(["completed","failed","cancelled"].includes(W.status))return W}catch(W){if(!n2(W)){if(W instanceof H0)throw new H0(W.message,W.status,W.code,W.details,Y);throw W}}if(Q!=null&&Date.now()-X>Q*1000)throw new $4(Y,Q,"crawl");await new Promise((W)=>setTimeout(W,Math.max(1000,G*1000)))}}async function K7($,Y,G=2,Q){let X=await t2($,Y);return L7($,X.id,G,Q)}async function B7($,Y){try{let G=await $.get(`/v2/crawl/${Y}/errors`);if(G.status!==200)D(G,"get crawl errors");let Q=G.data?.data??G.data;return{errors:Q.errors||[],robotsBlocked:Q.robotsBlocked||[]}}catch(G){if(G?.isAxiosError)return S(G,"get crawl errors");throw G}}async function H7($){try{let Y=await $.get("/v2/crawl/active");if(Y.status!==200||!Y.data?.success)D(Y,"get active crawls");return{success:!0,crawls:(Y.data?.crawls||[]).map((X)=>({id:X.id,teamId:X.teamId??X.team_id,url:X.url,options:X.options??null}))}}catch(Y){if(Y?.isAxiosError)return S(Y,"get active crawls");throw Y}}async function _7($,Y,G){if(!Y||!Y.trim())throw Error("URL cannot be empty");if(!G||!G.trim())throw Error("Prompt cannot be empty");try{let Q=await $.post("/v2/crawl/params-preview",{url:Y.trim(),prompt:G});if(Q.status!==200||!Q.data?.success)D(Q,"crawl params preview");let X=Q.data.data||{};if(Q.data.warning)X.warning=Q.data.warning;return X}catch(Q){if(Q?.isAxiosError)return S(Q,"crawl params preview");throw Q}}async function a2($,Y,{options:G,webhook:Q,appendToId:X,ignoreInvalidURLs:W,maxConcurrency:N,zeroDataRetention:Z,idempotencyKey:V,integration:J,origin:z}={}){if(!Array.isArray(Y)||Y.length===0)throw Error("URLs list cannot be empty");let K={urls:Y};if(G)i0(G),Object.assign(K,G);if(Q!=null)K.webhook=Q;if(X!=null)K.appendToId=X;if(W!=null)K.ignoreInvalidURLs=W;if(N!=null)K.maxConcurrency=N;if(Z!=null)K.zeroDataRetention=Z;if(J!=null&&J.trim())K.integration=J.trim();if(z)K.origin=z;try{let _=$.prepareHeaders(V),U=await $.post("/v2/batch/scrape",K,_);if(U.status!==200||!U.data?.success)D(U,"start batch scrape");return{id:U.data.id,url:U.data.url,invalidURLs:U.data.invalidURLs||void 0}}catch(_){if(_?.isAxiosError)return S(_,"start batch scrape");throw _}}async function G4($,Y,G){try{let Q=await $.get(`/v2/batch/scrape/${Y}`);if(Q.status!==200||!Q.data?.success)D(Q,"get batch scrape status");let X=Q.data,W=X.data||[];if(!(G?.autoPaginate??!0)||!X.next)return{id:Y,status:X.status,completed:X.completed??0,total:X.total??0,creditsUsed:X.creditsUsed,expiresAt:X.expiresAt,next:X.next??null,data:W};let Z=await i2($,X.next,W,G);return{id:Y,status:X.status,completed:X.completed??0,total:X.total??0,creditsUsed:X.creditsUsed,expiresAt:X.expiresAt,next:null,data:Z}}catch(Q){if(Q?.isAxiosError)return S(Q,"get batch scrape status");throw Q}}async function P7($,Y){try{let G=await $.delete(`/v2/batch/scrape/${Y}`);if(G.status!==200)D(G,"cancel batch scrape");return G.data?.status==="cancelled"}catch(G){if(G?.isAxiosError)return S(G,"cancel batch scrape");throw G}}async function U7($,Y){try{let G=await $.get(`/v2/batch/scrape/${Y}/errors`);if(G.status!==200)D(G,"get batch scrape errors");let Q=G.data?.data??G.data;return{errors:Q.errors||[],robotsBlocked:Q.robotsBlocked||[]}}catch(G){if(G?.isAxiosError)return S(G,"get batch scrape errors");throw G}}async function O7($,Y,G=2,Q){let X=Date.now();while(!0){try{let W=await G4($,Y);if(["completed","failed","cancelled"].includes(W.status))return W}catch(W){if(!n2(W)){if(W instanceof H0)throw new H0(W.message,W.status,W.code,W.details,Y);throw W}}if(Q!=null&&Date.now()-X>Q*1000)throw new $4(Y,Q,"batch");await new Promise((W)=>setTimeout(W,Math.max(1000,G*1000)))}}async function C7($,Y,G={}){let Q=await a2($,Y,G);return O7($,Q.id,G.pollInterval??2,G.timeout)}function T7($){let Y={};if($.urls)Y.urls=$.urls;if($.prompt!=null)Y.prompt=$.prompt;if($.schema!=null)Y.schema=n0($.schema)?o($.schema):$.schema;if($.systemPrompt!=null)Y.systemPrompt=$.systemPrompt;if($.allowExternalLinks!=null)Y.allowExternalLinks=$.allowExternalLinks;if($.enableWebSearch!=null)Y.enableWebSearch=$.enableWebSearch;if($.showSources!=null)Y.showSources=$.showSources;if($.ignoreInvalidURLs!=null)Y.ignoreInvalidURLs=$.ignoreInvalidURLs;if($.integration&&$.integration.trim())Y.integration=$.integration.trim();if($.origin)Y.origin=$.origin;if($.agent)Y.agent=$.agent;if($.scrapeOptions)i0($.scrapeOptions),Y.scrapeOptions=$.scrapeOptions;return Y}async function o2($,Y){let G=T7(Y);try{let Q=await $.post("/v2/extract",G);if(Q.status!==200)D(Q,"extract");return Q.data}catch(Q){if(Q?.isAxiosError)return S(Q,"extract");throw Q}}async function s2($,Y){try{let G=await $.get(`/v2/extract/${Y}`);if(G.status!==200)D(G,"extract status");return G.data}catch(G){if(G?.isAxiosError)return S(G,"extract status");throw G}}async function I7($,Y,G=2,Q){let X=Date.now();while(!0){let W=await s2($,Y);if(["completed","failed","cancelled"].includes(W.status||""))return W;if(Q!=null&&Date.now()-X>Q*1000)return W;await new Promise((N)=>setTimeout(N,Math.max(1000,G*1000)))}}async function F7($,Y){let G=await o2($,Y),Q=G.id;if(!Q)return G;return I7($,Q,Y.pollInterval??2,Y.timeout)}function R7($){let Y={};if($.urls)Y.urls=$.urls;if(Y.prompt=$.prompt,$.schema!=null)Y.schema=n0($.schema)?o($.schema):$.schema;if($.integration&&$.integration.trim())Y.integration=$.integration.trim();if($.origin)Y.origin=$.origin;if($.maxCredits!==null&&$.maxCredits!==void 0)Y.maxCredits=$.maxCredits;if($.strictConstrainToURLs!==null&&$.strictConstrainToURLs!==void 0)Y.strictConstrainToURLs=$.strictConstrainToURLs;if($.model!==null&&$.model!==void 0)Y.model=$.model;if($.webhook!=null)Y.webhook=$.webhook;return Y}async function e2($,Y){let G=R7(Y);try{let Q=await $.post("/v2/agent",G);if(Q.status!==200)D(Q,"agent");return Q.data}catch(Q){if(Q?.isAxiosError)return S(Q,"agent");throw Q}}async function r2($,Y){try{let G=await $.get(`/v2/agent/${Y}`);if(G.status!==200)D(G,"agent status");return G.data}catch(G){if(G?.isAxiosError)return S(G,"agent status");throw G}}async function D7($,Y,G=2,Q){let X=Date.now();while(!0){let W=await r2($,Y);if(["completed","failed","cancelled"].includes(W.status||""))return W;if(Q!=null&&Date.now()-X>Q*1000)return W;await new Promise((N)=>setTimeout(N,Math.max(1000,G*1000)))}}async function S7($,Y){let G=await e2($,Y),Q=G.id;if(!Q)return G;return D7($,Q,Y.pollInterval??2,Y.timeout)}async function w7($,Y){try{let G=await $.delete(`/v2/agent/${Y}`);if(G.status!==200)D(G,"cancel agent");return G.data?.success===!0}catch(G){if(G?.isAxiosError)return S(G,"cancel agent");throw G}}async function A7($,Y={}){let G={};if(Y.ttl!=null)G.ttl=Y.ttl;if(Y.activityTtl!=null)G.activityTtl=Y.activityTtl;if(Y.streamWebView!=null)G.streamWebView=Y.streamWebView;if(Y.profile!=null)G.profile=Y.profile;if(Y.integration!=null)G.integration=Y.integration;if(Y.origin)G.origin=Y.origin;try{let Q=await $.post("/v2/browser",G);if(Q.status!==200)D(Q,"create browser session");return Q.data}catch(Q){if(Q?.isAxiosError)return S(Q,"create browser session");throw Q}}async function k7($,Y,G){let Q={code:G.code,language:G.language??"bash"};if(G.timeout!=null)Q.timeout=G.timeout;try{let X=await $.post(`/v2/browser/${Y}/execute`,Q);if(X.status!==200)D(X,"execute browser code");return X.data}catch(X){if(X?.isAxiosError)return S(X,"execute browser code");throw X}}async function E7($,Y){try{let G=await $.delete(`/v2/browser/${Y}`);if(G.status!==200)D(G,"delete browser session");return G.data}catch(G){if(G?.isAxiosError)return S(G,"delete browser session");throw G}}async function q7($,Y={}){let G="/v2/browser";if(Y.status)G+=`?status=${Y.status}`;try{let Q=await $.get(G);if(Q.status!==200)D(Q,"list browser sessions");return Q.data}catch(Q){if(Q?.isAxiosError)return S(Q,"list browser sessions");throw Q}}async function x7($){try{let Y=await $.get("/v2/concurrency-check");if(Y.status!==200||!Y.data?.success)D(Y,"get concurrency");let G=Y.data.data||Y.data;return{concurrency:G.concurrency,maxConcurrency:G.maxConcurrency??G.max_concurrency}}catch(Y){if(Y?.isAxiosError)return S(Y,"get concurrency");throw Y}}async function j7($){try{let Y=await $.get("/v2/team/credit-usage");if(Y.status!==200||!Y.data?.success)D(Y,"get credit usage");let G=Y.data.data||Y.data;return{remainingCredits:G.remainingCredits??G.remaining_credits??0,planCredits:G.planCredits??G.plan_credits,billingPeriodStart:G.billingPeriodStart??G.billing_period_start??null,billingPeriodEnd:G.billingPeriodEnd??G.billing_period_end??null}}catch(Y){if(Y?.isAxiosError)return S(Y,"get credit usage");throw Y}}async function v7($){try{let Y=await $.get("/v2/team/token-usage");if(Y.status!==200||!Y.data?.success)D(Y,"get token usage");let G=Y.data.data||Y.data;return{remainingTokens:G.remainingTokens??G.remaining_tokens??0,planTokens:G.planTokens??G.plan_tokens,billingPeriodStart:G.billingPeriodStart??G.billing_period_start??null,billingPeriodEnd:G.billingPeriodEnd??G.billing_period_end??null}}catch(Y){if(Y?.isAxiosError)return S(Y,"get token usage");throw Y}}async function y7($){try{let Y=await $.get("/v2/team/queue-status");if(Y.status!==200||!Y.data?.success)D(Y,"get queue status");return Y.data}catch(Y){if(Y?.isAxiosError)return S(Y,"get queue status");throw Y}}async function b7($,Y){try{let G=Y?"?byApiKey=true":"",Q=await $.get(`/v2/team/credit-usage/historical${G}`);if(Q.status!==200||!Q.data?.success)D(Q,"get credit usage historical");return Q.data}catch(G){if(G?.isAxiosError)return S(G,"get credit usage historical");throw G}}async function f7($,Y){try{let G=Y?"?byApiKey=true":"",Q=await $.get(`/v2/team/token-usage/historical${G}`);if(Q.status!==200||!Q.data?.success)D(Q,"get token usage historical");return Q.data}catch(G){if(G?.isAxiosError)return S(G,"get token usage historical");throw G}}var r6=class{instance;apiKey;apiUrl;maxRetries;backoffFactor;constructor($){this.apiKey=$.apiKey,this.apiUrl=$.apiUrl.replace(/\/$/,""),this.maxRetries=$.maxRetries??3,this.backoffFactor=$.backoffFactor??0.5,this.instance=Z0.create({baseURL:this.apiUrl,timeout:$.timeoutMs??300000,headers:{"Content-Type":"application/json",Authorization:`Bearer ${this.apiKey}`},transitional:{clarifyTimeoutError:!0}})}getApiUrl(){return this.apiUrl}getApiKey(){return this.apiKey}async request($){let Y=e6();$.headers={...$.headers||{}};let G;for(let Q=0;Q<this.maxRetries;Q++)try{let X={...$};if(X.method&&["post","put","patch"].includes(X.method.toLowerCase())){let N=X.data??{};if(X.data={...N,origin:typeof N.origin==="string"&&N.origin.includes("mcp")?N.origin:`js-sdk@${Y}`},typeof N.timeout==="number")X.timeout=N.timeout+5000}let W=await this.instance.request(X);if(W.status===502&&Q<this.maxRetries-1){await this.sleep(this.backoffFactor*Math.pow(2,Q));continue}return W}catch(X){if(G=X,X?.response?.status===502&&Q<this.maxRetries-1){await this.sleep(this.backoffFactor*Math.pow(2,Q));continue}throw X}throw G??Error("Unexpected HTTP client error")}sleep($){return new Promise((Y)=>setTimeout(Y,$*1000))}post($,Y,G){return this.request({method:"post",url:$,data:Y,headers:G})}get($,Y){return this.request({method:"get",url:$,headers:Y})}delete($,Y){return this.request({method:"delete",url:$,headers:Y})}prepareHeaders($){let Y={};if($)Y["x-idempotency-key"]=$;return Y}},H0,$4,m7=()=>{if(typeof globalThis>"u")return;let $=globalThis.WebSocket;return typeof $==="function"?$:void 0},g7=()=>typeof process<"u"&&!!process.versions?.node,E0,r1,u7=async()=>{if(!g7())return;try{let $=await import("./index-0.1.11-n90nxjqp.mjs"),Y=$.WebSocket??$.default?.WebSocket;return typeof Y==="function"?Y:void 0}catch{return}},c7=async()=>{if(E0)return E0;let $=m7();if($)return E0=$,E0;if(!r1)r1=u7();return E0=await r1,E0},l7,d7=($)=>{if(typeof $==="string")return $;if(typeof Buffer<"u"&&Buffer.isBuffer($))return $.toString("utf8");let Y=(G)=>{if(typeof Buffer<"u")return Buffer.from(G.buffer,G.byteOffset,G.byteLength).toString("utf8");return l7?.decode(G)};if(ArrayBuffer.isView($))return Y($);if($ instanceof ArrayBuffer)return Y(new Uint8Array($));return},p7,n7=class{http;isCloudService($){return $.includes("api.firecrawl.dev")}constructor($={}){let Y=$.apiKey??process.env.FIRECRAWL_API_KEY??"",G=($.apiUrl??process.env.FIRECRAWL_API_URL??"https://api.firecrawl.dev").replace(/\/$/,"");if(this.isCloudService(G)&&!Y)throw Error("API key is required for the cloud API. Set FIRECRAWL_API_KEY env or pass apiKey.");this.http=new r6({apiKey:Y,apiUrl:G,timeoutMs:$.timeoutMs,maxRetries:$.maxRetries,backoffFactor:$.backoffFactor})}async scrape($,Y){return Q7(this.http,$,Y)}async interact($,Y){return X7(this.http,$,Y)}async stopInteraction($){return N7(this.http,$)}async scrapeExecute($,Y){return this.interact($,Y)}async stopInteractiveBrowser($){return this.stopInteraction($)}async deleteScrapeBrowser($){return this.stopInteraction($)}async search($,Y={}){return Z7(this.http,{query:$,...Y})}async map($,Y){return J7(this.http,$,Y)}async startCrawl($,Y={}){return t2(this.http,{url:$,...Y})}async getCrawlStatus($,Y){return Y4(this.http,$,Y)}async cancelCrawl($){return z7(this.http,$)}async crawl($,Y={}){return K7(this.http,{url:$,...Y},Y.pollInterval,Y.timeout)}async getCrawlErrors($){return B7(this.http,$)}async getActiveCrawls(){return H7(this.http)}async crawlParamsPreview($,Y){return _7(this.http,$,Y)}async startBatchScrape($,Y){return a2(this.http,$,Y)}async getBatchScrapeStatus($,Y){return G4(this.http,$,Y)}async getBatchScrapeErrors($){return U7(this.http,$)}async cancelBatchScrape($){return P7(this.http,$)}async batchScrape($,Y){return C7(this.http,$,Y)}async startExtract($){return o2(this.http,$)}async getExtractStatus($){return s2(this.http,$)}async extract($){return F7(this.http,$)}async startAgent($){return e2(this.http,$)}async getAgentStatus($){return r2(this.http,$)}async agent($){return S7(this.http,$)}async cancelAgent($){return w7(this.http,$)}async browser($={}){return A7(this.http,$)}async browserExecute($,Y){return k7(this.http,$,Y)}async deleteBrowser($){return E7(this.http,$)}async listBrowsers($={}){return q7(this.http,$)}async getConcurrency(){return x7(this.http)}async getCreditUsage(){return j7(this.http)}async getTokenUsage(){return v7(this.http)}async getCreditUsageHistorical($){return b7(this.http,$)}async getTokenUsageHistorical($){return f7(this.http,$)}async getQueueStatus(){return y7(this.http)}watcher($,Y={}){return new p7(this.http,$,Y)}},i7,P,t7=class{apiKey;apiUrl;version="1.25.1";isCloudService($){return $.includes("api.firecrawl.dev")}async getVersion(){try{if(typeof process<"u"&&process.env&&process.env.npm_package_version)return process.env.npm_package_version;return(await import("./package-HMBVQOZ4-0.1.11-n77wqhxr.mjs")).default.version}catch($){if(!(typeof process<"u"&&(process.env.JEST_WORKER_ID!=null||!1)))console.error("Error getting version:",$);return"1.25.1"}}async init(){this.version=await this.getVersion()}constructor({apiKey:$=null,apiUrl:Y=null}){let G=Y||"https://api.firecrawl.dev";if(this.isCloudService(G)&&typeof $!=="string")throw new P("No API key provided",401);this.apiKey=$||"",this.apiUrl=G,this.init()}async scrapeUrl($,Y){let G={"Content-Type":"application/json",Authorization:`Bearer ${this.apiKey}`},Q={url:$,...Y,origin:typeof Y.origin==="string"&&Y.origin.includes("mcp")?Y.origin:`js-sdk@${this.version}`};if(Q?.extract?.schema)Q={...Q,extract:{...Q.extract,schema:o(Q.extract.schema)}};if(Q?.jsonOptions?.schema)Q={...Q,jsonOptions:{...Q.jsonOptions,schema:o(Q.jsonOptions.schema)}};try{let X=await Z0.post(this.apiUrl+"/v1/scrape",Q,{headers:G,timeout:Y?.timeout!==void 0?Y.timeout+5000:void 0});if(X.status===200){let W=X.data;if(W.success)return{success:!0,warning:W.warning,error:W.error,...W.data};else throw new P(`Failed to scrape URL. Error: ${W.error}`,X.status)}else this.handleError(X,"scrape URL")}catch(X){this.handleError(X.response,"scrape URL")}return{success:!1,error:"Internal server error."}}async search($,Y){let G={"Content-Type":"application/json",Authorization:`Bearer ${this.apiKey}`},Q={query:$,limit:Y?.limit??5,tbs:Y?.tbs,filter:Y?.filter,lang:Y?.lang??"en",country:Y?.country??"us",location:Y?.location,origin:typeof Y.origin==="string"&&Y.origin.includes("mcp")?Y.origin:`js-sdk@${this.version}`,timeout:Y?.timeout??60000,scrapeOptions:Y?.scrapeOptions??{formats:[]}};if(Q?.scrapeOptions?.extract?.schema)Q={...Q,scrapeOptions:{...Q.scrapeOptions,extract:{...Q.scrapeOptions.extract,schema:o(Q.scrapeOptions.extract.schema)}}};try{let X=await this.postRequest(this.apiUrl+"/v1/search",Q,G);if(X.status===200){let W=X.data;if(W.success)return{success:!0,data:W.data,warning:W.warning};else throw new P(`Failed to search. Error: ${W.error}`,X.status)}else this.handleError(X,"search")}catch(X){if(X.response?.data?.error)throw new P(`Request failed with status code ${X.response.status}. Error: ${X.response.data.error} ${X.response.data.details?` - ${JSON.stringify(X.response.data.details)}`:""}`,X.response.status);else throw new P(X.message,500)}return{success:!1,error:"Internal server error.",data:[]}}async crawlUrl($,Y,G=2,Q){let X=this.prepareHeaders(Q),W={url:$,...Y,origin:typeof Y.origin==="string"&&Y.origin.includes("mcp")?Y.origin:`js-sdk@${this.version}`};try{let N=await this.postRequest(this.apiUrl+"/v1/crawl",W,X);if(N.status===200){let Z=N.data.id;return this.monitorJobStatus(Z,X,G)}else this.handleError(N,"start crawl job")}catch(N){if(N.response?.data?.error)throw new P(`Request failed with status code ${N.response.status}. Error: ${N.response.data.error} ${N.response.data.details?` - ${JSON.stringify(N.response.data.details)}`:""}`,N.response.status);else throw new P(N.message,500)}return{success:!1,error:"Internal server error."}}async asyncCrawlUrl($,Y,G){let Q=this.prepareHeaders(G),X={url:$,...Y,origin:typeof Y.origin==="string"&&Y.origin.includes("mcp")?Y.origin:`js-sdk@${this.version}`};try{let W=await this.postRequest(this.apiUrl+"/v1/crawl",X,Q);if(W.status===200)return W.data;else this.handleError(W,"start crawl job")}catch(W){if(W.response?.data?.error)throw new P(`Request failed with status code ${W.response.status}. Error: ${W.response.data.error} ${W.response.data.details?` - ${JSON.stringify(W.response.data.details)}`:""}`,W.response.status);else throw new P(W.message,500)}return{success:!1,error:"Internal server error."}}async checkCrawlStatus($,Y=!1,G,Q,X){if(!$)throw new P("No crawl ID provided",400);let W=this.prepareHeaders(),N=new URL(G??`${this.apiUrl}/v1/crawl/${$}`);if(Q!==void 0)N.searchParams.set("skip",Q.toString());if(X!==void 0)N.searchParams.set("limit",X.toString());try{let Z=await this.getRequest(N.href,W);if(Z.status===200){let V=Z.data.data;if(Y&&Z.data.status==="completed"){let z=Z.data;if("data"in z){let K=z.data;while(typeof z==="object"&&"next"in z){if(K.length===0)break;z=(await this.getRequest(z.next,W)).data,K=K.concat(z.data)}V=K}}let J={success:Z.data.success,status:Z.data.status,total:Z.data.total,completed:Z.data.completed,creditsUsed:Z.data.creditsUsed,next:Y?void 0:Z.data.next,expiresAt:new Date(Z.data.expiresAt),data:V};if(!Z.data.success&&Z.data.error)J={...J,success:!1,error:Z.data.error};if(Z.data.next)J.next=Z.data.next;return J}else this.handleError(Z,"check crawl status")}catch(Z){throw new P(Z.message,500)}return{success:!1,error:"Internal server error."}}async checkCrawlErrors($){let Y=this.prepareHeaders();try{let G=await this.deleteRequest(`${this.apiUrl}/v1/crawl/${$}/errors`,Y);if(G.status===200)return G.data;else this.handleError(G,"check crawl errors")}catch(G){throw new P(G.message,500)}return{success:!1,error:"Internal server error."}}async cancelCrawl($){let Y=this.prepareHeaders();try{let G=await this.deleteRequest(`${this.apiUrl}/v1/crawl/${$}`,Y);if(G.status===200)return G.data;else this.handleError(G,"cancel crawl job")}catch(G){throw new P(G.message,500)}return{success:!1,error:"Internal server error."}}async crawlUrlAndWatch($,Y,G){let Q=await this.asyncCrawlUrl($,Y,G);if(Q.success&&Q.id){let X=Q.id;return new l2(X,this)}throw new P("Crawl job failed to start",400)}async mapUrl($,Y){let G=this.prepareHeaders(),Q={url:$,...Y,origin:typeof Y.origin==="string"&&Y.origin.includes("mcp")?Y.origin:`js-sdk@${this.version}`};try{let X=await this.postRequest(this.apiUrl+"/v1/map",Q,G);if(X.status===200)return X.data;else this.handleError(X,"map")}catch(X){throw new P(X.message,500)}return{success:!1,error:"Internal server error."}}async batchScrapeUrls($,Y,G=2,Q,X,W,N){let Z=this.prepareHeaders(Q),V={urls:$,webhook:X,ignoreInvalidURLs:W,maxConcurrency:N,...Y,origin:typeof Y.origin==="string"&&Y.origin.includes("mcp")?Y.origin:`js-sdk@${this.version}`};if(V?.extract?.schema)V={...V,extract:{...V.extract,schema:o(V.extract.schema)}};if(V?.jsonOptions?.schema)V={...V,jsonOptions:{...V.jsonOptions,schema:o(V.jsonOptions.schema)}};try{let J=await this.postRequest(this.apiUrl+"/v1/batch/scrape",V,Z);if(J.status===200){let z=J.data.id;return this.monitorJobStatus(z,Z,G)}else this.handleError(J,"start batch scrape job")}catch(J){if(J.response?.data?.error)throw new P(`Request failed with status code ${J.response.status}. Error: ${J.response.data.error} ${J.response.data.details?` - ${JSON.stringify(J.response.data.details)}`:""}`,J.response.status);else throw new P(J.message,500)}return{success:!1,error:"Internal server error."}}async asyncBatchScrapeUrls($,Y,G,Q,X){let W=this.prepareHeaders(G),N={urls:$,webhook:Q,ignoreInvalidURLs:X,...Y,origin:typeof Y.origin==="string"&&Y.origin.includes("mcp")?Y.origin:`js-sdk@${this.version}`};try{let Z=await this.postRequest(this.apiUrl+"/v1/batch/scrape",N,W);if(Z.status===200)return Z.data;else this.handleError(Z,"start batch scrape job")}catch(Z){if(Z.response?.data?.error)throw new P(`Request failed with status code ${Z.response.status}. Error: ${Z.response.data.error} ${Z.response.data.details?` - ${JSON.stringify(Z.response.data.details)}`:""}`,Z.response.status);else throw new P(Z.message,500)}return{success:!1,error:"Internal server error."}}async batchScrapeUrlsAndWatch($,Y,G,Q,X){let W=await this.asyncBatchScrapeUrls($,Y,G,Q,X);if(W.success&&W.id){let N=W.id;return new l2(N,this)}throw new P("Batch scrape job failed to start",400)}async checkBatchScrapeStatus($,Y=!1,G,Q,X){if(!$)throw new P("No batch scrape ID provided",400);let W=this.prepareHeaders(),N=new URL(G??`${this.apiUrl}/v1/batch/scrape/${$}`);if(Q!==void 0)N.searchParams.set("skip",Q.toString());if(X!==void 0)N.searchParams.set("limit",X.toString());try{let Z=await this.getRequest(N.href,W);if(Z.status===200){let V=Z.data.data;if(Y&&Z.data.status==="completed"){let z=Z.data;if("data"in z){let K=z.data;while(typeof z==="object"&&"next"in z){if(K.length===0)break;z=(await this.getRequest(z.next,W)).data,K=K.concat(z.data)}V=K}}let J={success:Z.data.success,status:Z.data.status,total:Z.data.total,completed:Z.data.completed,creditsUsed:Z.data.creditsUsed,next:Y?void 0:Z.data.next,expiresAt:new Date(Z.data.expiresAt),data:V};if(!Z.data.success&&Z.data.error)J={...J,success:!1,error:Z.data.error};if(Z.data.next)J.next=Z.data.next;return J}else this.handleError(Z,"check batch scrape status")}catch(Z){throw new P(Z.message,500)}return{success:!1,error:"Internal server error."}}async checkBatchScrapeErrors($){let Y=this.prepareHeaders();try{let G=await this.deleteRequest(`${this.apiUrl}/v1/batch/scrape/${$}/errors`,Y);if(G.status===200)return G.data;else this.handleError(G,"check batch scrape errors")}catch(G){throw new P(G.message,500)}return{success:!1,error:"Internal server error."}}async extract($,Y){let G=this.prepareHeaders(),Q={urls:$,...Y},X=Y?.schema?o(Y.schema):void 0;try{let W=await this.postRequest(this.apiUrl+"/v1/extract",{...Q,schema:X,origin:typeof Y.origin==="string"&&Y.origin.includes("mcp")?Y.origin:`js-sdk@${this.version}`},G);if(W.status===200){let N=W.data.id,Z;do{let V=await this.getRequest(`${this.apiUrl}/v1/extract/${N}`,G);if(Z=V.data,Z.status==="completed")if(Z.success)return{success:!0,data:Z.data,warning:Z.warning,error:Z.error,sources:Z?.sources||void 0};else throw new P(`Failed to extract data. Error: ${Z.error}`,V.status);else if(Z.status==="failed"||Z.status==="cancelled")throw new P(`Extract job ${Z.status}. Error: ${Z.error}`,V.status);await new Promise((J)=>setTimeout(J,1000))}while(Z.status!=="completed")}else this.handleError(W,"extract")}catch(W){throw new P(W.message,500,W.response?.data?.details)}return{success:!1,error:"Internal server error."}}async asyncExtract($,Y,G){let Q=this.prepareHeaders(G),X={urls:$,...Y},W=Y?.schema?o(Y.schema):void 0;try{let N=await this.postRequest(this.apiUrl+"/v1/extract",{...X,schema:W,origin:typeof Y.origin==="string"&&Y.origin.includes("mcp")?Y.origin:`js-sdk@${this.version}`},Q);if(N.status===200)return N.data;else this.handleError(N,"start extract job")}catch(N){throw new P(N.message,500,N.response?.data?.details)}return{success:!1,error:"Internal server error."}}async getExtractStatus($){try{let Y=await this.getRequest(`${this.apiUrl}/v1/extract/${$}`,this.prepareHeaders());if(Y.status===200)return Y.data;else this.handleError(Y,"get extract status")}catch(Y){throw new P(Y.message,500)}}prepareHeaders($){return{"Content-Type":"application/json",Authorization:`Bearer ${this.apiKey}`,...$?{"x-idempotency-key":$}:{}}}postRequest($,Y,G){return Z0.post($,Y,{headers:G,timeout:Y?.timeout?Y.timeout+5000:void 0})}async getRequest($,Y){try{return await Z0.get($,{headers:Y})}catch(G){if(G instanceof H1&&G.response)return G.response;else throw G}}async deleteRequest($,Y){try{return await Z0.delete($,{headers:Y})}catch(G){if(G instanceof H1&&G.response)return G.response;else throw G}}async monitorJobStatus($,Y,G){let Q=0,X=0,W=3;while(!0)try{let N=await this.getRequest(`${this.apiUrl}/v1/crawl/${$}`,Y);if(N.status===200){Q=0,X=0;let Z=N.data;if(Z.status==="completed")if("data"in Z){let V=Z.data;while(typeof Z==="object"&&"next"in Z){if(V.length===0)break;N=await this.getRequest(Z.next,Y),Z=N.data,V=V.concat(Z.data)}return Z.data=V,Z}else throw new P("Crawl job completed but no data was returned",500);else if(["active","paused","pending","queued","waiting","scraping"].includes(Z.status))G=Math.max(G,2),await new Promise((V)=>setTimeout(V,G*1000));else throw new P(`Crawl job failed or was stopped. Status: ${Z.status}`,500)}else if(Q++,Q>=3)this.handleError(N,"check crawl status")}catch(N){if(this.isRetryableError(N)&&X<W){X++;let Z=Math.min(1000*Math.pow(2,X-1),1e4);await new Promise((V)=>setTimeout(V,Z));continue}throw new P(N,500)}}isRetryableError($){if($ instanceof H1){if(!$.response){let Y=$.code,G=$.message?.toLowerCase()||"";return Y==="ECONNRESET"||Y==="ETIMEDOUT"||Y==="ENOTFOUND"||Y==="ECONNREFUSED"||G.includes("socket hang up")||G.includes("network error")||G.includes("timeout")}if($.response?.status===408||$.response?.status===504)return!0}if($&&typeof $==="object"){let Y=$.code,G=$.message?.toLowerCase()||"";if(Y==="ECONNRESET"||Y==="ETIMEDOUT"||Y==="ENOTFOUND"||Y==="ECONNREFUSED"||G.includes("socket hang up")||G.includes("network error")||G.includes("timeout"))return!0;if($.response?.status===408||$.response?.status===504)return!0}return!1}handleError($,Y){if(!$)throw new P(`No response received while trying to ${Y}. This may be a network error or the server is unreachable.`,0);if([400,402,403,408,409,500].includes($.status)){let G=$.data.error||"Unknown error occurred",Q=$.data.details?` - ${JSON.stringify($.data.details)}`:"";throw new P(`Failed to ${Y}. Status code: ${$.status}. Error: ${G}${Q}`,$.status,$?.data?.details)}else throw new P(`Unexpected error occurred while trying to ${Y}. Status code: ${$.status}`,$.status)}async deepResearch($,Y,G,Q){try{let X=await this.asyncDeepResearch($,Y);if(!X.success||"error"in X)return{success:!1,error:"error"in X?X.error:"Unknown error"};if(!X.id)throw new P("Failed to start research. No job ID returned.",500);let W=X.id,N,Z=0,V=0;while(!0){if(N=await this.checkDeepResearchStatus(W),"error"in N&&!N.success)return N;if(G&&N.activities){let J=N.activities.slice(Z);for(let z of J)G(z);Z=N.activities.length}if(Q&&N.sources){let J=N.sources.slice(V);for(let z of J)Q(z);V=N.sources.length}if(N.status==="completed")return N;if(N.status==="failed")throw new P(`Research job ${N.status}. Error: ${N.error}`,500);if(N.status!=="processing")break;await new Promise((J)=>setTimeout(J,2000))}return{success:!1,error:"Research job terminated unexpectedly"}}catch(X){throw new P(X.message,500,X.response?.data?.details)}}async asyncDeepResearch($,Y){let G=this.prepareHeaders(),Q={query:$,...Y,origin:typeof Y.origin==="string"&&Y.origin.includes("mcp")?Y.origin:`js-sdk@${this.version}`};if(Q?.jsonOptions?.schema)Q={...Q,jsonOptions:{...Q.jsonOptions,schema:o(Q.jsonOptions.schema)}};try{let X=await this.postRequest(`${this.apiUrl}/v1/deep-research`,Q,G);if(X.status===200)return X.data;else this.handleError(X,"start deep research")}catch(X){if(X.response?.data?.error)throw new P(`Request failed with status code ${X.response.status}. Error: ${X.response.data.error} ${X.response.data.details?` - ${JSON.stringify(X.response.data.details)}`:""}`,X.response.status);else throw new P(X.message,500)}return{success:!1,error:"Internal server error."}}async checkDeepResearchStatus($){let Y=this.prepareHeaders();try{let G=await this.getRequest(`${this.apiUrl}/v1/deep-research/${$}`,Y);if(G.status===200)return G.data;else if(G.status===404)throw new P("Deep research job not found",404);else this.handleError(G,"check deep research status")}catch(G){if(G.response?.data?.error)throw new P(`Request failed with status code ${G.response.status}. Error: ${G.response.data.error} ${G.response.data.details?` - ${JSON.stringify(G.response.data.details)}`:""}`,G.response.status);else throw new P(G.message,500)}return{success:!1,error:"Internal server error."}}async __deepResearch($,Y,G){try{let Q=await this.__asyncDeepResearch($,Y);if(!Q.success||"error"in Q)return{success:!1,error:"error"in Q?Q.error:"Unknown error"};if(!Q.id)throw new P("Failed to start research. No job ID returned.",500);let X=Q.id,W,N=0;while(!0){if(W=await this.__checkDeepResearchStatus(X),"error"in W&&!W.success)return W;if(G&&W.activities){let Z=W.activities.slice(N);for(let V of Z)G(V);N=W.activities.length}if(W.status==="completed")return W;if(W.status==="failed")throw new P(`Research job ${W.status}. Error: ${W.error}`,500);if(W.status!=="processing")break;await new Promise((Z)=>setTimeout(Z,2000))}return{success:!1,error:"Research job terminated unexpectedly"}}catch(Q){throw new P(Q.message,500,Q.response?.data?.details)}}async __asyncDeepResearch($,Y){let G=this.prepareHeaders();try{let Q={topic:$,...Y,origin:typeof Y.origin==="string"&&Y.origin.includes("mcp")?Y.origin:`js-sdk@${this.version}`},X=await this.postRequest(`${this.apiUrl}/v1/deep-research`,Q,G);if(X.status===200)return X.data;else this.handleError(X,"start deep research")}catch(Q){if(Q.response?.data?.error)throw new P(`Request failed with status code ${Q.response.status}. Error: ${Q.response.data.error} ${Q.response.data.details?` - ${JSON.stringify(Q.response.data.details)}`:""}`,Q.response.status);else throw new P(Q.message,500)}return{success:!1,error:"Internal server error."}}async __checkDeepResearchStatus($){let Y=this.prepareHeaders();try{let G=await this.getRequest(`${this.apiUrl}/v1/deep-research/${$}`,Y);if(G.status===200)return G.data;else if(G.status===404)throw new P("Deep research job not found",404);else this.handleError(G,"check deep research status")}catch(G){if(G.response?.data?.error)throw new P(`Request failed with status code ${G.response.status}. Error: ${G.response.data.error} ${G.response.data.details?` - ${JSON.stringify(G.response.data.details)}`:""}`,G.response.status);else throw new P(G.message,500)}return{success:!1,error:"Internal server error."}}async generateLLMsText($,Y){try{let G=await this.asyncGenerateLLMsText($,Y);if(!G.success||"error"in G)return{success:!1,error:"error"in G?G.error:"Unknown error"};if(!G.id)throw new P("Failed to start LLMs.txt generation. No job ID returned.",500);let Q=G.id,X;while(!0){if(X=await this.checkGenerateLLMsTextStatus(Q),"error"in X&&!X.success)return X;if(X.status==="completed")return X;if(X.status==="failed")throw new P(`LLMs.txt generation job ${X.status}. Error: ${X.error}`,500);if(X.status!=="processing")break;await new Promise((W)=>setTimeout(W,2000))}return{success:!1,error:"LLMs.txt generation job terminated unexpectedly"}}catch(G){throw new P(G.message,500,G.response?.data?.details)}}async asyncGenerateLLMsText($,Y){let G=this.prepareHeaders(),Q={url:$,...Y,origin:typeof Y.origin==="string"&&Y.origin.includes("mcp")?Y.origin:`js-sdk@${this.version}`};try{let X=await this.postRequest(`${this.apiUrl}/v1/llmstxt`,Q,G);if(X.status===200)return X.data;else this.handleError(X,"start LLMs.txt generation")}catch(X){if(X.response?.data?.error)throw new P(`Request failed with status code ${X.response.status}. Error: ${X.response.data.error} ${X.response.data.details?` - ${JSON.stringify(X.response.data.details)}`:""}`,X.response.status);else throw new P(X.message,500)}return{success:!1,error:"Internal server error."}}async checkGenerateLLMsTextStatus($){let Y=this.prepareHeaders();try{let G=await this.getRequest(`${this.apiUrl}/v1/llmstxt/${$}`,Y);if(G.status===200)return G.data;else if(G.status===404)throw new P("LLMs.txt generation job not found",404);else this.handleError(G,"check LLMs.txt generation status")}catch(G){if(G.response?.data?.error)throw new P(`Request failed with status code ${G.response.status}. Error: ${G.response.data.error} ${G.response.data.details?` - ${JSON.stringify(G.response.data.details)}`:""}`,G.response.status);else throw new P(G.message,500)}return{success:!1,error:"Internal server error."}}async getQueueStatus(){let $=this.prepareHeaders();try{let Y=await this.getRequest(`${this.apiUrl}/v1/team/queue-status`,$);if(Y.status===200)return Y.data;else this.handleError(Y,"get queue status")}catch(Y){if(Y.response?.data?.error)throw new P(`Request failed with status code ${Y.response.status}. Error: ${Y.response.data.error} ${Y.response.data.details?` - ${JSON.stringify(Y.response.data.details)}`:""}`,Y.response.status);else throw new P(Y.message,500)}return{success:!1,error:"Internal server error."}}async getCreditUsage(){let $=this.prepareHeaders();try{let Y=await this.getRequest(`${this.apiUrl}/v1/team/credit-usage`,$);if(Y.status===200)return Y.data;else this.handleError(Y,"get credit usage")}catch(Y){if(Y.response?.data?.error)throw new P(`Request failed with status code ${Y.response.status}. Error: ${Y.response.data.error} ${Y.response.data.details?` - ${JSON.stringify(Y.response.data.details)}`:""}`,Y.response.status);else throw new P(Y.message,500)}return{success:!1,error:"Internal server error."}}async getTokenUsage(){let $=this.prepareHeaders();try{let Y=await this.getRequest(`${this.apiUrl}/v1/team/token-usage`,$);if(Y.status===200)return Y.data;else this.handleError(Y,"get token usage")}catch(Y){if(Y.response?.data?.error)throw new P(`Request failed with status code ${Y.response.status}. Error: ${Y.response.data.error} ${Y.response.data.details?` - ${JSON.stringify(Y.response.data.details)}`:""}`,Y.response.status);else throw new P(Y.message,500)}return{success:!1,error:"Internal server error."}}async getCreditUsageHistorical($){let Y=this.prepareHeaders();try{let G=`${this.apiUrl}/v1/team/credit-usage/historical${$?"?byApiKey=true":""}`,Q=await this.getRequest(G,Y);if(Q.status===200)return Q.data;else this.handleError(Q,"get credit usage historical")}catch(G){if(G.response?.data?.error)throw new P(`Request failed with status code ${G.response.status}. Error: ${G.response.data.error} ${G.response.data.details?` - ${JSON.stringify(G.response.data.details)}`:""}`,G.response.status);else throw new P(G.message,500)}return{success:!1,error:"Internal server error."}}async getTokenUsageHistorical($){let Y=this.prepareHeaders();try{let G=`${this.apiUrl}/v1/team/token-usage/historical${$?"?byApiKey=true":""}`,Q=await this.getRequest(G,Y);if(Q.status===200)return Q.data;else this.handleError(Q,"get token usage historical")}catch(G){if(G.response?.data?.error)throw new P(`Request failed with status code ${G.response.status}. Error: ${G.response.data.error} ${G.response.data.details?` - ${JSON.stringify(G.response.data.details)}`:""}`,G.response.status);else throw new P(G.message,500)}return{success:!1,error:"Internal server error."}}},l2,a7,MG;var o7=O(()=>{s6();s1();o6();s1();H0=class extends Error{status;code;details;jobId;constructor($,Y,G,Q,X){super($);this.name="FirecrawlSdkError",this.status=Y,this.code=G,this.details=Q,this.jobId=X}},$4=class extends H0{timeoutSeconds;constructor($,Y,G="batch"){let Q=G==="batch"?"batch scrape":"crawl";super(`${Q.charAt(0).toUpperCase()+Q.slice(1)} job ${$} did not complete within ${Y} seconds`,void 0,"JOB_TIMEOUT",void 0,$);this.name="JobTimeoutError",this.timeoutSeconds=Y}};l7=typeof TextDecoder<"u"?new TextDecoder:void 0,p7=class extends h7{http;jobId;kind;pollInterval;timeout;ws;closed=!1;emittedDocumentKeys=new Set;constructor($,Y,G={}){super();this.http=$,this.jobId=Y,this.kind=G.kind??"crawl",this.pollInterval=G.pollInterval??2,this.timeout=G.timeout}buildWsUrl(){let Y=this.http.getApiUrl().replace(/^http/,"ws"),G=this.kind==="crawl"?`/v2/crawl/${this.jobId}`:`/v2/batch/scrape/${this.jobId}`;return`${Y}${G}`}async start(){try{let $=this.buildWsUrl(),Y=await c7();if(!Y){this.pollLoop();return}if(this.ws=new Y($,this.http.getApiKey()),this.ws&&"binaryType"in this.ws)this.ws.binaryType="arraybuffer";if(this.ws)this.attachWsHandlers(this.ws)}catch($){this.pollLoop()}}attachWsHandlers($){let Y=Date.now(),G=this.timeout?this.timeout*1000:void 0;$.onmessage=(Q)=>{try{let X=d7(Q.data);if(!X)return;let W=JSON.parse(X),N=W.type;if(N==="error"){this.emit("error",{status:"failed",data:[],error:W.error,id:this.jobId});return}if(N==="catchup"){let V=W.data||{};this.emitDocuments(V.data||[]),this.emitSnapshot(V);return}if(N==="document"){let V=W.data;if(V)this.emit("document",V);return}if(N==="done"){let J=(W.data||W).data||[];if(J.length)this.emitDocuments(J);this.emit("done",{status:"completed",data:J,id:this.jobId}),this.close();return}let Z=W.data||W;if(Z&&Z.status)this.emitSnapshot(Z)}catch{}if(G&&Date.now()-Y>G)this.close()},$.onerror=()=>{this.emit("error",{status:"failed",data:[],error:"WebSocket error",id:this.jobId}),this.close()},$.onclose=()=>{if(!this.closed)this.pollLoop()}}documentKey($){if($&&typeof $==="object"){let Y=$.id??$.docId??$.url;if(typeof Y==="string"&&Y.length)return Y}try{return JSON.stringify($)}catch{return`${Date.now()}-${Math.random()}`}}emitDocuments($){for(let Y of $){if(!Y)continue;let G=this.documentKey(Y);if(this.emittedDocumentKeys.has(G))continue;this.emittedDocumentKeys.add(G),this.emit("document",{...Y,id:this.jobId})}}emitSnapshot($){let Y=$.status,G=$.data||[],Q=this.kind==="crawl"?{id:this.jobId,status:Y,completed:$.completed??0,total:$.total??0,creditsUsed:$.creditsUsed,expiresAt:$.expiresAt,next:$.next??null,data:G}:{id:this.jobId,status:Y,completed:$.completed??0,total:$.total??0,creditsUsed:$.creditsUsed,expiresAt:$.expiresAt,next:$.next??null,data:G};if(this.emit("snapshot",Q),["completed","failed","cancelled"].includes(Y))this.emit("done",{status:Y,data:G,id:this.jobId}),this.close()}async pollLoop(){let $=Date.now(),Y=this.timeout?this.timeout*1000:void 0;while(!this.closed){try{let G=this.kind==="crawl"?await Y4(this.http,this.jobId):await G4(this.http,this.jobId);if(this.emitDocuments(G.data||[]),this.emit("snapshot",G),["completed","failed","cancelled"].includes(G.status)){this.emit("done",{status:G.status,data:G.data,id:this.jobId}),this.close();break}}catch{}if(Y&&Date.now()-$>Y)break;await new Promise((G)=>setTimeout(G,Math.max(1000,this.pollInterval*1000)))}}close(){if(this.closed=!0,this.ws&&this.ws.close)this.ws.close()}},i7=class extends EventTarget{dispatchTypedEvent($,Y){return super.dispatchEvent(Y)}},P=class extends Error{statusCode;details;constructor($,Y,G){super($);this.statusCode=Y,this.details=G}},l2=class extends i7{ws;data;status;id;constructor($,Y){super();this.id=$;let G=Y.apiUrl.replace(/^http/,"ws");this.ws=new WebSocket(`${G}/v1/crawl/${$}`,Y.apiKey),this.status="scraping",this.data=[];let Q=(X)=>{if(X.type==="done")this.status="completed",this.dispatchTypedEvent("done",new CustomEvent("done",{detail:{status:this.status,data:this.data,id:this.id}}));else if(X.type==="error")this.status="failed",this.dispatchTypedEvent("error",new CustomEvent("error",{detail:{status:this.status,data:this.data,error:X.error,id:this.id}}));else if(X.type==="catchup"){this.status=X.data.status,this.data.push(...X.data.data??[]);for(let W of this.data)this.dispatchTypedEvent("document",new CustomEvent("document",{detail:{...W,id:this.id}}))}else if(X.type==="document")this.dispatchTypedEvent("document",new CustomEvent("document",{detail:{...X.data,id:this.id}}))};this.ws.onmessage=((X)=>{if(typeof X.data!=="string"){this.ws.close();return}try{let W=JSON.parse(X.data);Q(W)}catch(W){console.error("Error on message",W)}}).bind(this),this.ws.onclose=((X)=>{try{let W=JSON.parse(X.reason);Q(W)}catch(W){console.error("Error on close",W)}}).bind(this),this.ws.onerror=((X)=>{this.status="failed",this.dispatchTypedEvent("error",new CustomEvent("error",{detail:{status:this.status,data:this.data,error:"WebSocket error",id:this.id}}))}).bind(this)}close(){this.ws.close()}},a7=class extends n7{_v1;_v1Opts;constructor($={}){super($);this._v1Opts={apiKey:$.apiKey,apiUrl:$.apiUrl}}get v1(){if(!this._v1)this._v1=new t7(this._v1Opts);return this._v1}},MG=a7});o7();export{MG as default,p7 as Watcher,H0 as SdkError,$4 as JobTimeoutError,n7 as FirecrawlClient,t7 as FirecrawlAppV1,a7 as Firecrawl};
@@ -0,0 +1 @@
1
+ import{I5 as a}from"./cli-0.1.11-z0thk4h0.mjs";import"./cli-0.1.11-fveg0t77.mjs";import"./cli-0.1.11-7t04gqx2.mjs";import"./cli-0.1.11-bhqwqe2w.mjs";import"./cli-0.1.11-0qwee9gy.mjs";import"./cli-0.1.11-23qqxmk4.mjs";import"./cli-0.1.11-e7gjxknm.mjs";import"./cli-0.1.11-10nmrfsz.mjs";import"./cli-0.1.11-m0aaey0g.mjs";import"./cli-0.1.11-4xsg15d1.mjs";import"./cli-0.1.11-n23d2wej.mjs";import"./cli-0.1.11-4bn5ap1n.mjs";import"./cli-0.1.11-yrfxpjhr.mjs";export default a();
@@ -0,0 +1 @@
1
+ import{Jna as a}from"./cli-0.1.11-m0aaey0g.mjs";import"./cli-0.1.11-yrfxpjhr.mjs";export default a();
@@ -0,0 +1,9 @@
1
+ import{H5 as V}from"./cli-0.1.11-pfgwwtw9.mjs";import{vna as W}from"./cli-0.1.11-0qwee9gy.mjs";import"./cli-0.1.11-10nmrfsz.mjs";import{Lna as g}from"./cli-0.1.11-n23d2wej.mjs";import{Nna as H,Rna as F,Sna as O}from"./cli-0.1.11-yrfxpjhr.mjs";function M(b,q){let j=N(b),B,G,z,Q=async(J)=>{if(J?.forceRefresh)return await j(J);if(z?.expiration){if(z?.expiration?.getTime()<Date.now())z=void 0}if(B)await B;else if(!z||q?.(z))if(z){if(!G)G=j(J).then((X)=>{z=X}).finally(()=>{G=void 0})}else return B=j(J).then((X)=>{z=X}).finally(()=>{B=void 0}),Q(J);return z};return Q}var Y,K,h,Z="AWS_EC2_METADATA_DISABLED",x=async(b)=>{let{ENV_CMDS_FULL_URI:q,ENV_CMDS_RELATIVE_URI:j,fromContainerMetadata:B,fromInstanceMetadata:G}=await import("./index-0.1.11-yej3awws.mjs");if(process.env[j]||process.env[q]){b.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");let{fromHttp:z}=await import("./index-0.1.11-e52dzxjz.mjs").then((m)=>H(m.default,1));return K.chain(z(b),B(b))}if(process.env[Z]&&process.env[Z]!=="false")return async()=>{throw new K.CredentialsProviderError("EC2 Instance Metadata Service access disabled",{logger:b.logger})};return b.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata"),G(b)},N=(b)=>async(q)=>{let j;for(let B of b)try{return await B(q)}catch(G){if(j=G,G?.tryNextLink)continue;throw G}throw j},$=!1,T=(b={})=>M([async()=>{if(b.profile??process.env[h.ENV_PROFILE]){if(process.env[Y.ENV_KEY]&&process.env[Y.ENV_SECRET]){if(!$)(b.logger?.warn&&b.logger?.constructor?.name!=="NoOpLogger"?b.logger.warn.bind(b.logger):console.warn)(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:
2
+ Multiple credential sources detected:
3
+ Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.
4
+ This SDK will proceed with the AWS_PROFILE value.
5
+
6
+ However, a future version may change this behavior to prefer the ENV static credentials.
7
+ Please ensure that your environment only sets either the AWS_PROFILE or the
8
+ AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.
9
+ `),$=!0}throw new K.CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.",{logger:b.logger,tryNextLink:!0})}return b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv"),Y.fromEnv(b)()},async(q)=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");let{ssoStartUrl:j,ssoAccountId:B,ssoRegion:G,ssoRoleName:z,ssoSession:Q}=b;if(!j&&!B&&!G&&!z&&!Q)throw new K.CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).",{logger:b.logger});let{fromSSO:J}=await import("./index-0.1.11-gb3saayk.mjs");return J(b)(q)},async(q)=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");let{fromIni:j}=await import("./index-0.1.11-ajdpkanw.mjs");return j(b)(q)},async(q)=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");let{fromProcess:j}=await import("./index-0.1.11-bhrstsgc.mjs");return j(b)(q)},async(q)=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");let{fromTokenFile:j}=await import("./index-0.1.11-wze82293.mjs").then((m)=>H(m.default,1));return j(b)(q)},async()=>{return b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider"),(await x(b))()},async()=>{throw new K.CredentialsProviderError("Could not load credentials from any providers",{tryNextLink:!1,logger:b.logger})}],D),U=(b)=>b?.expiration!==void 0,D=(b)=>b?.expiration!==void 0&&b.expiration.getTime()-Date.now()<300000,C,u,A;var R=F(()=>{Y=V(),K=g(),h=W();C=D,u=U,A=T});R();export{A as defaultProvider,u as credentialsWillNeedRefresh,C as credentialsTreatedAsExpired};export default {get defaultProvider(){return A},get credentialsWillNeedRefresh(){return u},get credentialsTreatedAsExpired(){return C}};
@@ -0,0 +1 @@
1
+ import{$Y as c,AZ as D,BZ as E,CZ as F,DZ as G,EZ as H,FZ as I,GZ as J,HZ as K,IZ as L,JZ as M,KZ as N,LZ as O,MZ as P,NZ as Q,OZ as R,PZ as S,QZ as T,ZY as a,_Y as b,aZ as d,bZ as e,cZ as f,dZ as g,eZ as h,fZ as i,gZ as j,hZ as k,iZ as l,jZ as m,kZ as n,lZ as o,mZ as p,nZ as q,oZ as r,pZ as s,qZ as t,rZ as u,sZ as v,tZ as w,uZ as x,vZ as y,wZ as z,xZ as A,yZ as B,zZ as C}from"./cli-0.1.11-q58q9jqr.mjs";import"./cli-0.1.11-yrfxpjhr.mjs";T();export{u as zlibSync,t as zlib,M as zipSync,L as zip,y as unzlibSync,x as unzlib,S as unzipSync,R as unzip,F as strToU8,G as strFromU8,i as inflateSync,h as inflate,m as gzipSync,l as gzip,q as gunzipSync,p as gunzip,e as deflateSync,d as deflate,C as decompressSync,B as decompress,m as compressSync,l as compress,r as Zlib,H as ZipPassThrough,I as ZipDeflate,K as Zip,v as Unzlib,N as UnzipPassThrough,O as UnzipInflate,Q as Unzip,f as Inflate,j as Gzip,n as Gunzip,a as FlateErrorCode,E as EncodeUTF8,b as Deflate,z as Decompress,D as DecodeUTF8,j as Compress,s as AsyncZlib,J as AsyncZipDeflate,w as AsyncUnzlib,P as AsyncUnzipInflate,g as AsyncInflate,k as AsyncGzip,o as AsyncGunzip,c as AsyncDeflate,A as AsyncDecompress,k as AsyncCompress};
@@ -0,0 +1 @@
1
+ import{I5 as S}from"./cli-0.1.11-z0thk4h0.mjs";import"./cli-0.1.11-fveg0t77.mjs";import"./cli-0.1.11-7t04gqx2.mjs";import"./cli-0.1.11-bhqwqe2w.mjs";import{vna as A}from"./cli-0.1.11-0qwee9gy.mjs";import"./cli-0.1.11-23qqxmk4.mjs";import"./cli-0.1.11-e7gjxknm.mjs";import{Hna as I}from"./cli-0.1.11-10nmrfsz.mjs";import"./cli-0.1.11-m0aaey0g.mjs";import"./cli-0.1.11-4xsg15d1.mjs";import{Lna as h}from"./cli-0.1.11-n23d2wej.mjs";import"./cli-0.1.11-4bn5ap1n.mjs";import{Pna as p,Sna as F}from"./cli-0.1.11-yrfxpjhr.mjs";var d=p((n)=>{var w=n&&n.__createBinding||(Object.create?function(e,r,o,t){if(t===void 0)t=o;var _=Object.getOwnPropertyDescriptor(r,o);if(!_||("get"in _?!r.__esModule:_.writable||_.configurable))_={enumerable:!0,get:function(){return r[o]}};Object.defineProperty(e,t,_)}:function(e,r,o,t){if(t===void 0)t=o;e[t]=r[o]}),v=n&&n.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r}),j=n&&n.__importStar||function(){var e=function(r){return e=Object.getOwnPropertyNames||function(o){var t=[];for(var _ in o)if(Object.prototype.hasOwnProperty.call(o,_))t[t.length]=_;return t},e(r)};return function(r){if(r&&r.__esModule)return r;var o={};if(r!=null){for(var t=e(r),_=0;_<t.length;_++)if(t[_]!=="default")w(o,r,t[_])}return v(o,r),o}}();Object.defineProperty(n,"__esModule",{value:!0});n.fromWebToken=void 0;var m=(e)=>async(r)=>{e.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken");let{roleArn:o,roleSessionName:t,webIdentityToken:_,providerId:s,policyArns:y,policy:b,durationSeconds:T}=e,{roleAssumerWithWebIdentity:l}=e;if(!l){let{getDefaultRoleAssumerWithWebIdentity:N}=await Promise.resolve().then(()=>j(S()));l=N({...e.clientConfig,credentialProviderLogger:e.logger,parentClientConfig:{...r?.callerClientConfig,...e.parentClientConfig}},e.clientPlugins)}return l({RoleArn:o,RoleSessionName:t??`aws-sdk-js-session-${Date.now()}`,WebIdentityToken:_,ProviderId:s,PolicyArns:y,Policy:b,DurationSeconds:T})};n.fromWebToken=m});var u=p((E)=>{Object.defineProperty(E,"__esModule",{value:!0});E.fromTokenFile=void 0;var P=I(),g=h(),k=A(),R=F("node:fs"),q=d(),O="AWS_WEB_IDENTITY_TOKEN_FILE",L="AWS_ROLE_ARN",W="AWS_ROLE_SESSION_NAME",V=(e={})=>async(r)=>{e.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");let o=e?.webIdentityTokenFile??process.env[O],t=e?.roleArn??process.env[L],_=e?.roleSessionName??process.env[W];if(!o||!t)throw new g.CredentialsProviderError("Web identity configuration not specified",{logger:e.logger});let s=await(0,q.fromWebToken)({...e,webIdentityToken:k.externalDataInterceptor?.getTokenRecord?.()[o]??(0,R.readFileSync)(o,{encoding:"ascii"}),roleArn:t,roleSessionName:_})(r);if(o===process.env[O])(0,P.setCredentialFeature)(s,"CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN","h");return s};E.fromTokenFile=V});var x=p((c)=>{var i=u(),a=d();Object.prototype.hasOwnProperty.call(i,"__proto__")&&!Object.prototype.hasOwnProperty.call(c,"__proto__")&&Object.defineProperty(c,"__proto__",{enumerable:!0,value:i.__proto__});Object.keys(i).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(c,e))c[e]=i[e]});Object.prototype.hasOwnProperty.call(a,"__proto__")&&!Object.prototype.hasOwnProperty.call(c,"__proto__")&&Object.defineProperty(c,"__proto__",{enumerable:!0,value:a.__proto__});Object.keys(a).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(c,e))c[e]=a[e]})});export default x();